253 lines
132 KiB
JavaScript
253 lines
132 KiB
JavaScript
'use strict';function aa(){return function(a){return a}}function n(){return function(){}}function p(a){return function(){return this[a]}}function ba(a){return function(){return a}}var q,ca=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},da=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};
|
|||
|
|
function ea(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 fa=ea(this);function v(a,b){if(b)a:{var c=fa;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&&b!=null&&da(c,a,{configurable:!0,writable:!0,value:b})}}var ha;
|
||
|
|
if(typeof Object.setPrototypeOf=="function")ha=Object.setPrototypeOf;else{var ia;a:{var ja={a:!0},la={};try{la.__proto__=ja;ia=la.a;break a}catch(a){}ia=!1}ha=ia?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ma=ha;
|
||
|
|
function x(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ma)ma(a,b);else for(var c in b)if(c!="prototype")if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.W=b.prototype}function na(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
|
||
|
|
function y(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:na(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function oa(a){if(!(a instanceof Array)){a=y(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}function pa(a,b){return Object.prototype.hasOwnProperty.call(a,b)}
|
||
|
|
var qa=typeof Object.assign=="function"?Object.assign:function(a,b){if(a==null)throw new TypeError("No nullish arg");a=Object(a);for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var e in d)pa(d,e)&&(a[e]=d[e])}return a};v("Object.assign",function(a){return a||qa});function ra(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");}function z(){this.G=!1;this.o=null;this.J=void 0;this.j=1;this.v=this.A=0;this.H=this.l=null}
|
||
|
|
function sa(a){if(a.G)throw new TypeError("Generator is already running");a.G=!0}z.prototype.B=function(a){this.J=a};function ta(a,b){a.l={Ja:b,Na:!0};a.j=a.A||a.v}z.prototype.getNextAddressJsc=p("j");z.prototype.getYieldResultJsc=p("J");z.prototype.return=function(a){this.l={return:a};this.j=this.v};z.prototype["return"]=z.prototype.return;z.prototype.S=function(a){this.l={ga:a};this.v<a?(this.j=a,this.l=null):this.j=this.v};z.prototype.jumpThroughFinallyBlocks=z.prototype.S;
|
||
|
|
z.prototype.F=function(a,b){this.j=b;return{value:a}};z.prototype.yield=z.prototype.F;z.prototype.aa=function(a,b){a=y(a);var c=a.next();ra(c);if(c.done)this.J=c.value,this.j=b;else return this.o=a,this.F(c.value,b)};z.prototype.yieldAll=z.prototype.aa;z.prototype.ga=function(a){this.j=a};z.prototype.jumpTo=z.prototype.ga;z.prototype.U=function(){this.j=0};z.prototype.jumpToEnd=z.prototype.U;z.prototype.T=function(a,b){this.A=a;b!=void 0&&(this.v=b)};z.prototype.setCatchFinallyBlocks=z.prototype.T;
|
||
|
|
z.prototype.X=function(a){this.A=0;this.v=a||0};z.prototype.setFinallyBlock=z.prototype.X;z.prototype.V=function(a,b){this.j=a;this.A=b||0};z.prototype.leaveTryBlock=z.prototype.V;z.prototype.K=function(a){this.A=a||0;a=this.l.Ja;this.l=null;return a};z.prototype.enterCatchBlock=z.prototype.K;z.prototype.M=function(a,b,c){c?this.H[c]=this.l:this.H=[this.l];this.A=a||0;this.v=b||0;this.l=null};z.prototype.enterFinallyBlock=z.prototype.M;
|
||
|
|
z.prototype.N=function(a,b){b=this.H.splice(b||0)[0];(b=this.l=this.l||b)?b.Na?this.j=this.A||this.v:b.ga!=void 0&&this.v<b.ga?(this.j=b.ga,this.l=null):this.j=this.v:this.j=a};z.prototype.leaveFinallyBlock=z.prototype.N;z.prototype.P=function(a){return new ua(a)};z.prototype.forIn=z.prototype.P;function ua(a){this.o=a;this.j=[];for(var b in a)this.j.push(b);this.j.reverse()}ua.prototype.l=function(){for(;this.j.length>0;){var a=this.j.pop();if(a in this.o)return a}return null};
|
||
|
|
ua.prototype.getNext=ua.prototype.l;function va(a){this.j=new z;this.l=a}function wa(a,b){sa(a.j);var c=a.j.o;if(c)return xa(a,"return"in c?c["return"]:function(d){return{value:d,done:!0}},b,a.j.return);a.j.return(b);return ya(a)}function xa(a,b,c,d){try{var e=b.call(a.j.o,c);ra(e);if(!e.done)return a.j.G=!1,e;var f=e.value}catch(g){return a.j.o=null,ta(a.j,g),ya(a)}a.j.o=null;d.call(a.j,f);return ya(a)}
|
||
|
|
function ya(a){for(;a.j.j;)try{var b=a.l(a.j);if(b)return a.j.G=!1,{value:b.value,done:!1}}catch(c){a.j.J=void 0,ta(a.j,c)}a.j.G=!1;if(a.j.l){b=a.j.l;a.j.l=null;if(b.Na)throw b.Ja;return{value:b.return,done:!0}}return{value:void 0,done:!0}}
|
||
|
|
function za(a){this.next=function(b){sa(a.j);a.j.o?b=xa(a,a.j.o.next,b,a.j.B):(a.j.B(b),b=ya(a));return b};this.throw=function(b){sa(a.j);if(a.j.o){var c=a.j.o["throw"];if(c)var d=xa(a,c,b,a.j.B);else{b=a.j.o;a.j.o=null;try{b["return"]&&(d=b["return"](),ra(d)),ta(a.j,new TypeError("The iterator does not provide a 'throw' method."))}catch(e){ta(a.j,e)}d=ya(a)}}else ta(a.j,b),d=ya(a);return d};this.return=function(b){return wa(a,b)};this[Symbol.iterator]=function(){return this}}
|
||
|
|
function Aa(a){function b(d){return a.next(d)}function c(d){return a.throw(d)}return new Promise(function(d,e){function f(g){g.done?d(g.value):Promise.resolve(g.value).then(b,c).then(f,e)}f(a.next())})}v("globalThis",function(a){return a||fa});
|
||
|
|
v("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,g){this.j=f;da(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=p("j");var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
|
||
|
|
v("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");da(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Ba(na(this))}});return a});function Ba(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
||
|
|
v("Promise",function(a){function b(g){this.j=0;this.o=void 0;this.l=[];this.J=!1;var h=this.v();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.j=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.l=function(g){if(this.j==null){this.j=[];var h=this;this.o(function(){h.A()})}this.j.push(g)};var e=fa.setTimeout;c.prototype.o=function(g){e(g,0)};c.prototype.A=function(){for(;this.j&&this.j.length;){var g=this.j;this.j=[];for(var h=0;h<g.length;++h){var k=
|
||
|
|
g[h];g[h]=null;try{k()}catch(l){this.v(l)}}}this.j=null};c.prototype.v=function(g){this.o(function(){throw g;})};b.prototype.v=function(){function g(l){return function(m){k||(k=!0,l.call(h,m))}}var h=this,k=!1;return{resolve:g(this.M),reject:g(this.A)}};b.prototype.M=function(g){if(g===this)this.A(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.T(g);else{a:switch(typeof g){case "object":var h=g!=null;break a;case "function":h=!0;break a;default:h=!1}h?this.K(g):this.G(g)}};
|
||
|
|
b.prototype.K=function(g){var h=void 0;try{h=g.then}catch(k){this.A(k);return}typeof h=="function"?this.P(h,g):this.G(g)};b.prototype.A=function(g){this.B(2,g)};b.prototype.G=function(g){this.B(1,g)};b.prototype.B=function(g,h){if(this.j!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.j);this.j=g;this.o=h;this.j===2&&this.N();this.F()};b.prototype.N=function(){var g=this;e(function(){if(g.H()){var h=fa.console;typeof h!=="undefined"&&h.error(g.o)}},1)};b.prototype.H=
|
||
|
|
function(){if(this.J)return!1;var g=fa.CustomEvent,h=fa.Event,k=fa.dispatchEvent;if(typeof k==="undefined")return!0;typeof g==="function"?g=new g("unhandledrejection",{cancelable:!0}):typeof h==="function"?g=new h("unhandledrejection",{cancelable:!0}):(g=fa.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.o;return k(g)};b.prototype.F=function(){if(this.l!=null){for(var g=0;g<this.l.length;++g)f.l(this.l[g]);this.l=null}};var f=new c;
|
||
|
|
b.prototype.T=function(g){var h=this.v();g.ja(h.resolve,h.reject)};b.prototype.P=function(g,h){var k=this.v();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(t,w){return typeof t=="function"?function(u){try{l(t(u))}catch(K){m(K)}}:w}var l,m,r=new b(function(t,w){l=t;m=w});this.ja(k(g,l),k(h,m));return r};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.ja=function(g,h){function k(){switch(l.j){case 1:g(l.o);break;case 2:h(l.o);
|
||
|
|
break;default:throw Error("Unexpected state: "+l.j);}}var l=this;this.l==null?f.l(k):this.l.push(k);this.J=!0};b.resolve=d;b.reject=function(g){return new b(function(h,k){k(g)})};b.race=function(g){return new b(function(h,k){for(var l=y(g),m=l.next();!m.done;m=l.next())d(m.value).ja(h,k)})};b.all=function(g){var h=y(g),k=h.next();return k.done?d([]):new b(function(l,m){function r(u){return function(K){t[u]=K;w--;w==0&&l(t)}}var t=[],w=0;do t.push(void 0),w++,d(k.value).ja(r(t.length-1),m),k=h.next();
|
||
|
|
while(!k.done)})};return b});v("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});v("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 g=d[f];if(b.call(c,g,f,d)){b=g;break a}}b=void 0}return b}});
|
||
|
|
v("WeakMap",function(a){function b(k){this.j=(h+=Math.random()+1).toString();if(k){k=y(k);for(var l;!(l=k.next()).done;)l=l.value,this.set(l[0],l[1])}}function c(){}function d(k){var l=typeof k;return l==="object"&&k!==null||l==="function"}function e(k){if(!pa(k,g)){var l=new c;da(k,g,{value:l})}}function f(k){var l=Object[k];l&&(Object[k]=function(m){if(m instanceof c)return m;Object.isExtensible(m)&&e(m);return l(m)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),l=Object.seal({}),
|
||
|
|
m=new a([[k,2],[l,3]]);if(m.get(k)!=2||m.get(l)!=3)return!1;m.delete(k);m.set(l,4);return!m.has(k)&&m.get(l)==4}catch(r){return!1}}())return a;var g="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var h=0;b.prototype.set=function(k,l){if(!d(k))throw Error("Invalid WeakMap key");e(k);if(!pa(k,g))throw Error("WeakMap key fail: "+k);k[g][this.j]=l;return this};b.prototype.get=function(k){return d(k)&&pa(k,g)?k[g][this.j]:void 0};b.prototype.has=function(k){return d(k)&&pa(k,
|
||
|
|
g)&&pa(k[g],this.j)};b.prototype.delete=function(k){return d(k)&&pa(k,g)&&pa(k[g],this.j)?delete k[g][this.j]:!1};return b});
|
||
|
|
v("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}function c(h,k){var l=h[1];return Ba(function(){if(l){for(;l.head!=h[1];)l=l.previous;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(h,k){var l=k&&typeof k;l=="object"||l=="function"?f.has(k)?l=f.get(k):(l=""+ ++g,f.set(k,l)):l="p_"+k;var m=h[0][l];if(m&&pa(h[0],l))for(h=0;h<m.length;h++){var r=m[h];if(k!==k&&r.key!==r.key||k===r.key)return{id:l,list:m,index:h,entry:r}}return{id:l,
|
||
|
|
list:m,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=y(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var h=Object.seal({x:4}),k=new a(y([[h,"s"]]));if(k.get(h)!="s"||k.size!=1||k.get({x:4})||k.set({x:4},"t")!=k||k.size!=2)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=h||m.value[1]!="s")return!1;m=l.next();return m.done||m.value[0].x!=
|
||
|
|
4||m.value[1]!="t"||!l.next().done?!1:!0}catch(r){return!1}}())return a;var f=new WeakMap;e.prototype.set=function(h,k){h=h===0?0:h;var l=d(this,h);l.list||(l.list=this[0][l.id]=[]);l.entry?l.entry.value=k:(l.entry={next:this[1],previous:this[1].previous,head:this[1],key:h,value:k},l.list.push(l.entry),this[1].previous.next=l.entry,this[1].previous=l.entry,this.size++);return this};e.prototype.delete=function(h){h=d(this,h);return h.entry&&h.list?(h.list.splice(h.index,1),h.list.length||delete this[0][h.id],
|
||
|
|
h.entry.previous.next=h.entry.next,h.entry.next.previous=h.entry.previous,h.entry.head=null,this.size--,!0):!1};e.prototype.clear=function(){this[0]={};this[1]=this[1].previous=b();this.size=0};e.prototype.has=function(h){return!!d(this,h).entry};e.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};e.prototype.entries=function(){return c(this,function(h){return[h.key,h.value]})};e.prototype.keys=function(){return c(this,function(h){return h.key})};e.prototype.values=function(){return c(this,
|
||
|
|
function(h){return h.value})};e.prototype.forEach=function(h,k){for(var l=this.entries(),m;!(m=l.next()).done;)m=m.value,h.call(k,m[1],m[0],this)};e.prototype[Symbol.iterator]=e.prototype.entries;var g=0;return e});
|
||
|
|
v("Set",function(a){function b(c){this.j=new Map;if(c){c=y(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.size}if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(y([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)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||f.value[0].x!=4||
|
||
|
|
f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;b.prototype.add=function(c){c=c===0?0:c;this.j.set(c,c);this.size=this.j.size;return this};b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c};b.prototype.clear=function(){this.j.clear();this.size=0};b.prototype.has=function(c){return this.j.has(c)};b.prototype.entries=function(){return this.j.entries()};b.prototype.values=function(){return this.j.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
|
||
|
|
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})};return b});v("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push(b[d]);return c}});v("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
|
||
|
|
v("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c<e;c++){var f=d[c];if(f===b||Object.is(f,b))return!0}return!1}});function Ca(a,b,c){if(a==null)throw new TypeError("The 'this' value for String.prototype."+c+" must not be null or undefined");if(b instanceof RegExp)throw new TypeError("First argument to String.prototype."+c+" must not be a regular expression");return a+""}
|
||
|
|
v("String.prototype.includes",function(a){return a?a:function(b,c){return Ca(this,b,"includes").indexOf(b,c||0)!==-1}});v("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:aa();var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g<f;g++)e.push(c.call(d,b[g],g));return e}});
|
||
|
|
v("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)pa(b,d)&&c.push([d,b[d]]);return c}});v("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});v("Number.MAX_SAFE_INTEGER",ba(9007199254740991));v("Number.MIN_SAFE_INTEGER",ba(-9007199254740991));v("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
|
||
|
|
v("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});v("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ca(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g<f&&c<e;)if(d[c++]!=b[g++])return!1;return g>=f}});
|
||
|
|
function Da(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}v("Array.prototype.entries",function(a){return a?a:function(){return Da(this,function(b,c){return[b,c]})}});v("Math.trunc",function(a){return a?a:function(b){b=Number(b);if(isNaN(b)||b===Infinity||b===-Infinity||b===0)return b;var c=Math.floor(Math.abs(b));return b<0?-c:c}});
|
||
|
|
v("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});v("Array.prototype.keys",function(a){return a?a:function(){return Da(this,aa())}});v("Array.prototype.values",function(a){return a?a:function(){return Da(this,function(b,c){return c})}});v("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});
|
||
|
|
v("String.prototype.repeat",function(a){return a?a:function(b){var c=Ca(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});
|
||
|
|
v("String.prototype.matchAll",function(a){return a?a:function(b){if(b instanceof RegExp&&!b.global)throw new TypeError("RegExp passed into String.prototype.matchAll() must have global tag.");var c=new RegExp(b,b instanceof RegExp?void 0:"g");b instanceof RegExp&&(c.lastIndex=b.lastIndex);var d=this,e=!1,f={next:function(){if(e)return{value:void 0,done:!0};var g=c.exec(d);if(!g)return e=!0,{value:void 0,done:!0};g[0]===""&&(c.lastIndex+=1);return{value:g,done:!1}}};f[Symbol.iterator]=function(){return f};
|
||
|
|
return f}});v("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});/*
|
||
|
|
|
||
|
|
Copyright The Closure Library Authors.
|
||
|
|
SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
var Ea=Ea||{},A=this||self;function Fa(a,b){var c=Ga("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}function Ga(a){a=a.split(".");for(var b=A,c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function Ha(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function Ia(a){var b=Ha(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Ja(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}var La="closure_uid_"+(Math.random()*1E9>>>0),Ma=0;
|
||
|
|
function Na(a,b,c){return a.call.apply(a.bind,arguments)}function Oa(a,b,c){if(!a)throw Error();if(arguments.length>2){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)}}function B(a,b,c){B=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Na:Oa;return B.apply(null,arguments)}
|
||
|
|
function Pa(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}}function Qa(a){(0,eval)(a)}function Ra(a){return a}function C(a,b){function c(){}c.prototype=b.prototype;a.W=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.kc=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)}};function D(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,D);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.j=!0}C(D,Error);D.prototype.name="CustomError";function Sa(a){A.setTimeout(function(){throw a;},0)};var Ta=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var Ua=Fa(610401301,!1),Va=Fa(748402147,!0);var Wa,Xa=A.navigator;Wa=Xa?Xa.userAgentData||null:null;function Ya(a){if(!Ua||!Wa)return!1;for(var b=0;b<Wa.brands.length;b++){var c=Wa.brands[b].brand;if(c&&c.indexOf(a)!=-1)return!0}return!1}function F(a){var b;a:{if(b=A.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};function Za(){return Ua?!!Wa&&Wa.brands.length>0:!1};function $a(a,b){return Array.prototype.some.call(a,b,void 0)}function ab(a,b){b=Array.prototype.indexOf.call(a,b,void 0);var c;(c=b>=0)&&Array.prototype.splice.call(a,b,1);return c}function bb(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(Ia(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)}};var cb=F("Firefox")||F("FxiOS"),db=F("Safari")&&!((Za()?Ya("Chromium"):(F("Chrome")||F("CriOS"))&&(Za()||!F("Edge"))||F("Silk"))||(Za()?0:F("Coast"))||(Za()?0:F("Opera"))||(Za()?0:F("Edge"))||(Za()?Ya("Microsoft Edge"):F("Edg/"))||(Za()?Ya("Opera"):F("OPR"))||F("Firefox")||F("FxiOS")||F("Silk")||F("Android"))&&!(F("iPhone")&&!F("iPod")&&!F("iPad")||F("iPad")||F("iPod"));var eb={},fb=null;var gb=typeof Uint8Array!=="undefined",hb=typeof btoa==="function",ib={},jb=typeof structuredClone!="undefined";function kb(a,b){if(b!==ib)throw Error("illegal external caller");this.j=a;if(a!=null&&a.length===0)throw Error("ByteString should be constructed with non-empty values");}function lb(){return mb||(mb=new kb(null,ib))}var mb;function nb(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c}function ob(a){return a.__closure__error__context__984382||{}};var pb=void 0;function qb(a,b){if(a!=null){var c;var d=(c=pb)!=null?c:pb={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),nb(a,"severity","incident"),Sa(a))}};function rb(){return typeof BigInt==="function"};var sb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function tb(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var ub=tb("jas",void 0,!0),vb=tb(void 0,"0di"),wb=tb(void 0,"1oa"),xb=tb(void 0,Symbol()),yb=tb(void 0,"0ubs"),zb=tb(void 0,"0actk"),Ab=tb("m_m","nc",!0);var Bb={rb:{value:0,configurable:!0,writable:!0,enumerable:!1}},Cb=Object.defineProperties,G=sb?ub:"rb",Db,Eb=[];H(Eb,7);Db=Object.freeze(Eb);function Fb(a,b){sb||G in a||Cb(a,Bb);a[G]|=b}function H(a,b){sb||G in a||Cb(a,Bb);a[G]=b}function Gb(a){Fb(a,34);return a};var Hb={};function Ib(a,b){return b===void 0?a.j!==Jb&&!!(2&(a.C[G]|0)):!!(2&b)&&a.j!==Jb}var Jb={},Kb=Object.freeze({}),Lb=Object.freeze({});function Mb(a){a.mc=!0;return a};var Nb=Mb(function(a){return typeof a==="number"}),Ob=Mb(function(a){return typeof a==="string"}),Pb=Mb(function(a){return typeof a==="boolean"}),Qb=Mb(function(a){return typeof a==="bigint"});var Rb=typeof A.BigInt==="function"&&typeof A.BigInt(0)==="bigint";function Sb(a){var b=a;if(Ob(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Nb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Rb?BigInt(a):a=Pb(a)?a?"1":"0":Ob(a)?a.trim()||"0":String(a)}
|
||
|
|
var Tb=Mb(function(a){return Rb?Qb(a):Ob(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Zb=Mb(function(a){return Rb?a>=Ub&&a<=Vb:a[0]==="-"?Wb(a,Xb):Wb(a,Yb)}),Xb=Number.MIN_SAFE_INTEGER.toString(),Ub=Rb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Yb=Number.MAX_SAFE_INTEGER.toString(),Vb=Rb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Wb(a,b){if(a.length>b.length)return!1;if(a.length<b.length||a===b)return!0;for(var c=0;c<a.length;c++){var d=a[c],e=b[c];if(d>e)return!1;if(d<e)return!0}};var I=0,$b=0;function ac(a){var b=a>>>0;I=b;$b=(a-b)/4294967296>>>0}function bc(a){if(a<0){ac(0-a);var b=y(cc(I,$b));a=b.next().value;b=b.next().value;I=a>>>0;$b=b>>>0}else ac(a)}function dc(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else rb()?c=""+(BigInt(b)<<BigInt(32)|BigInt(a)):(c=(a>>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+ec(c)+ec(a));return c}
|
||
|
|
function ec(a){a=String(a);return"0000000".slice(a.length)+a}function fc(){var a=I,b=$b;b&2147483648?rb()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=y(cc(a,b)),a=b.next().value,b=b.next().value,a="-"+dc(a,b)):a=dc(a,b);return a}function cc(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var hc=typeof BigInt==="function"?BigInt.asIntN:void 0,ic=Number.isSafeInteger,jc=Number.isFinite,kc=Math.trunc;function lc(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function mc(a){return a.displayName||a.name||"unknown type name"}var nc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function oc(a){switch(typeof a){case "bigint":return!0;case "number":return jc(a);case "string":return nc.test(a);default:return!1}}
|
||
|
|
function pc(a){return a==null?a:jc(a)?a|0:void 0}function qc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return jc(a)?a|0:void 0}
|
||
|
|
function rc(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;if(a.length<16)bc(Number(a));else if(rb())a=BigInt(a),I=Number(a&BigInt(4294967295))>>>0,$b=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");$b=I=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),$b*=1E6,I=I*1E6+d,I>=4294967296&&($b+=Math.trunc(I/4294967296),$b>>>=0,I>>>=0);b&&(b=y(cc(I,$b)),a=b.next().value,b=b.next().value,I=a,
|
||
|
|
$b=b)}return fc()}function sc(a){oc(a);a=kc(a);if(!ic(a)){bc(a);var b=I,c=$b;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:dc(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function tc(a){oc(a);a=kc(a);ic(a)?a=String(a):(bc(a),a=fc());return a}
|
||
|
|
function uc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return Sb(hc(64,a));if(oc(a))return b==="string"?(b=kc(Number(a)),ic(b)?a=Sb(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=rb()?Sb(hc(64,BigInt(a))):Sb(rc(a)))):a=ic(a)?Sb(sc(a)):Sb(tc(a)),a}function vc(a){return a==null||typeof a==="string"?a:void 0}function wc(a,b,c,d){if(a!=null&&a[Ab]===Hb)return a;if(!Array.isArray(a))return c?d&2?b[vb]||(b[vb]=xc(b)):new b:void 0;c=a[G]|0;d=c|d&32|d&2;d!==c&&H(a,d);return new b(a)}
|
||
|
|
function xc(a){a=new a;Gb(a.C);return a};function yc(a){return a};function zc(){}function Ac(a,b){for(var c in a)!isNaN(c)&&b(a,+c,a[c])}function Bc(a){var b=new zc;Ac(a,function(c,d,e){b[d]=Array.prototype.slice.call(e)});b.j=a.j;return b}function Cc(a,b){b<100||qb(yb,1)};function Dc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Ra(xb),g;!e&&sb&&f&&(g=a[f])&&Ac(g,Cc);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),m=l?b&128?0:-1:void 0;if(!(b&1)){var r=h&&a[h-1];r!=null&&typeof r==="object"&&r.constructor===Object?(h--,g=h):r=void 0;if(l&&!(b&128)&&!e){k=!0;var t;g=((t=Ec)!=null?t:yc)(g-m,m,a,r,void 0)+m}}b=void 0;for(t=0;t<h;t++){var w=a[t];if(w!=null&&(w=c(w,d))!=null)if(l&&t>=g){var u=t-m,K=void 0;((K=b)!=null?K:b={})[u]=w}else f[t]=w}if(r)for(var E in r)h=r[E],h!=
|
||
|
|
null&&(h=c(h,d))!=null&&(t=+E,w=void 0,l&&!Number.isNaN(t)&&(w=t+m)<g?f[w]=h:(t=void 0,((t=b)!=null?t:b={})[E]=h));b&&(k?f.push(b):f[g]=b);e&&Ra(xb)&&(a=(c=Ra(xb))?a[c]:void 0)&&a instanceof zc&&(f[xb]=Bc(a));return f}
|
||
|
|
function Fc(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Zb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[G]|0;return a.length===0&&b&1?void 0:Dc(a,b,Fc)}if(a!=null&&a[Ab]===Hb)return Gc(a);if(a instanceof kb){b=a.j;if(b==null)a="";else if(typeof b==="string")a=b;else{if(hb){for(var c="",d=0,e=b.length-10240;d<e;)c+=String.fromCharCode.apply(null,b.subarray(d,d+=10240));c+=String.fromCharCode.apply(null,d?b.subarray(d):
|
||
|
|
b);b=btoa(c)}else{c===void 0&&(c=0);if(!fb){fb={};d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");e=["+/=","+/","-_=","-_.","-_"];for(var f=0;f<5;f++){var g=d.concat(e[f].split(""));eb[f]=g;for(var h=0;h<g.length;h++){var k=g[h];fb[k]===void 0&&(fb[k]=h)}}}c=eb[c];d=Array(Math.floor(b.length/3));e=c[64]||"";for(f=g=0;g<b.length-2;g+=3){var l=b[g],m=b[g+1];k=b[g+2];h=c[l>>2];l=c[(l&3)<<4|m>>4];m=c[(m&15)<<2|k>>6];k=c[k&63];d[f++]=""+h+l+m+k}h=0;k=e;switch(b.length-g){case 2:h=
|
||
|
|
b[g+1],k=c[(h&15)<<2]||e;case 1:b=b[g],d[f]=""+c[b>>2]+c[(b&3)<<4|h>>4]+k+e}b=d.join("")}a=a.j=b}return a}return}return a}var Hc=jb?structuredClone:function(a){return Dc(a,0,Fc)},Ec;function Gc(a){a=a.C;return Dc(a,a[G]|0,Fc)};function J(a,b,c){return Ic(a,b,c,2048)}
|
||
|
|
function Ic(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[G]|0;if(Va&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&Jc();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&H(a,e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f=
|
||
|
|
+k,f<g&&(c[f+b]=h[k],delete h[k]);e=e&-16760833|(g&1023)<<14;break a}}if(b){k=Math.max(b,f-(e&128?0:-1));if(k>1024)throw Error("spvt");e=e&-16760833|(k&1023)<<14}}}H(a,e|64|d);return a}function Jc(){if(Va)throw Error("carr");qb(zb,5)};function Kc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[G]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Lc(a,c,!1,b&&!(c&16)):(Fb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[Ab]===Hb)return b=a.C,c=b[G]|0,Ib(a,c)?a:Mc(a,b,c)?Nc(a,b):Lc(b,c);if(a instanceof kb)return a}function Nc(a,b,c){a=new a.constructor(b);c&&(a.j=Jb);a.l=Jb;return a}function Lc(a,b,c,d){d!=null||(d=!!(34&b));a=Dc(a,b,Kc,d);d=32;c&&(d|=2);b=b&16769217|d;H(a,b);return a}
|
||
|
|
function Oc(a){var b=a.C,c=b[G]|0;return Ib(a,c)?Mc(a,b,c)?Nc(a,b,!0):new a.constructor(Lc(b,c,!1)):a}function Pc(a){if(a.j!==Jb)return!1;var b=a.C;b=Lc(b,b[G]|0);Fb(b,2048);a.C=b;a.j=void 0;a.l=void 0;return!0}function Qc(a){if(!Pc(a)&&Ib(a,a.C[G]|0))throw Error();}function Rc(a,b){b===void 0&&(b=a[G]|0);b&32&&!(b&4096)&&H(a,b|4096)}function Mc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(H(b,c|2),a.j=Jb,!0):!1};var Sc=Sb(0),Tc={};function L(a,b,c,d,e){Object.isExtensible(a);b=Uc(a.C,b,c,e);if(b!==null||d&&a.l!==Jb)return b}function Uc(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}}function Vc(a,b,c){Qc(a);var d=a.C;Wc(d,d[G]|0,b,c);return a}
|
||
|
|
function Wc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[G]|0)>>14&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b}
|
||
|
|
function Xc(a,b,c,d,e,f,g,h){var k=b;f===1||(f!==4?0:2&b||!(16&b)&&32&d)?Yc(b)||(b|=!a.length||g&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==k&&H(a,b),Object.freeze(a)):(f===2&&Yc(b)&&(a=Array.prototype.slice.call(a),k=0,b=Zc(b,d),d=Wc(c,d,e,a)),Yc(b)||(h||(b|=16),b!==k&&H(a,b)));2&b||!(4096&b||16&b)||Rc(c,d);return a}function $c(a,b){a=Uc(a,b);return Array.isArray(a)?a:Db}function ad(a,b){2&b&&(a|=2);return a|1}function Yc(a){return!!(2&a)&&!!(4&a)||!!(256&a)}
|
||
|
|
function bd(a){return a==null?a:typeof a==="string"?a?new kb(a,ib):lb():a.constructor===kb?a:gb&&a!=null&&a instanceof Uint8Array?a.length?new kb(new Uint8Array(a),ib):lb():void 0}function cd(a,b){Qc(a);var c=a.C;dd(c,c[G]|0,b,0);return a}function ed(a,b,c){return fd(a,b)===c?c:-1}function fd(a,b){a=a.C;return gd(hd(a),a,void 0,b)}function hd(a){if(sb){var b;return(b=a[wb])!=null?b:a[wb]=new Map}if(wb in a)return a[wb];b=new Map;Object.defineProperty(a,wb,{value:b});return b}
|
||
|
|
function dd(a,b,c,d){d===0||c.includes(d);var e=hd(a),f=gd(e,a,b,c);f!==d&&(f&&Wc(a,b,f),e.set(c,d))}function gd(a,b,c,d){var e=a.get(d);if(e!=null)return e;for(var f=e=0;f<d.length;f++){var g=d[f];Uc(b,g)!=null&&(e!==0&&(c=Wc(b,c,e)),e=g)}a.set(d,e);return e}function id(a,b,c){Qc(a);a=a.C;var d=a[G]|0,e=Uc(a,c),f=void 0===Lb;b=wc(e,b,!f,d);if(!f||b)return b=Oc(b),e!==b&&(d=Wc(a,d,c,b),Rc(a,d)),b}
|
||
|
|
function jd(a,b,c,d){var e=!1;d=Uc(a,d,void 0,function(f){var g=wc(f,c,!1,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!Ib(d)&&Rc(a,b),d}function kd(a,b,c){a=a.C;return jd(a,a[G]|0,b,c)||b[vb]||(b[vb]=xc(b))}function ld(a,b,c){var d=a.C,e=d[G]|0;b=jd(d,e,b,c);if(b==null)return b;e=d[G]|0;if(!Ib(a,e)){var f=Oc(b);f!==b&&(Pc(a)&&(d=a.C,e=d[G]|0),b=f,e=Wc(d,e,c,b),Rc(d,e))}return b}
|
||
|
|
function md(a,b,c){var d=void 0===Kb?2:4,e=a.C,f=e;e=e[G]|0;var g=Ib(a,e),h=g?1:d;d=h===3;var k=!g;(h===2||k)&&Pc(a)&&(f=a.C,e=f[G]|0);a=$c(f,c);var l=a===Db?7:a[G]|0,m=ad(l,e);if(g=!(4&m)){var r=a,t=e,w=!!(2&m);w&&(t|=2);for(var u=!w,K=!0,E=0,ka=0;E<r.length;E++){var R=wc(r[E],b,!1,t);if(R instanceof b){if(!w){var Ka=Ib(R);u&&(u=!Ka);K&&(K=Ka)}r[ka++]=R}}ka<E&&(r.length=ka);m|=4;m=K?m&-4097:m|4096;m=u?m|8:m&-9}m!==l&&(H(a,m),2&m&&Object.freeze(a));if(k&&!(8&m||!a.length&&(h===1||(h!==4?0:2&m||!(16&
|
||
|
|
m)&&32&e)))){Yc(m)&&(a=Array.prototype.slice.call(a),m=Zc(m,e),e=Wc(f,e,c,a));b=a;k=m;for(l=0;l<b.length;l++)r=b[l],m=Oc(r),r!==m&&(b[l]=m);k|=8;m=k=b.length?k|4096:k&-4097;H(a,m)}return a=Xc(a,m,f,e,c,h,g,d)}function nd(a,b,c,d){if(d!=null){if(!(d instanceof b))throw Error("Expected instanceof "+mc(b)+" but got "+(d&&mc(d.constructor)));}else d=void 0;Vc(a,c,d);d&&!Ib(d)&&Rc(a.C);return a}function Zc(a,b){return a=(2&b?a|2:a&-3)&-273}
|
||
|
|
function od(a,b){var c=c===void 0?!1:c;a=L(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}function pd(a,b,c){c=c===void 0?0:c;var d;return(d=qc(L(a,b)))!=null?d:c}function qd(a,b){var c=c===void 0?Sc:c;a=L(a,b,void 0,void 0,uc);return a!=null?a:c}function rd(a,b){var c=c===void 0?"":c;var d;return(d=vc(L(a,b)))!=null?d:c}function sd(a,b){var c=c===void 0?0:c;var d;return(d=pc(L(a,b)))!=null?d:c}function td(a,b){return vc(L(a,b,void 0,Tc))}
|
||
|
|
function ud(a,b,c){if(c!=null&&typeof c!=="string")throw Error();return Vc(a,b,c)}function vd(a,b,c){if(c!=null){if(!jc(c))throw a=Error("enum"),nb(a,"severity","warning"),a;c|=0}return Vc(a,b,c)};function M(a,b,c){this.C=J(a,b,c)}M.prototype.toJSON=function(){return Gc(this)};function wd(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");Fb(b,32);return new a(b)}M.prototype.clone=function(){var a=this.C,b=a[G]|0;return Mc(this,a,b)?Nc(this,a,!0):new this.constructor(Lc(a,b,!1))};
|
||
|
|
function xd(){var a=A;a=a===void 0?window:a;var b=new yd(zd("K1cgmc",a));a=Ad;var c=new Ad;b=Bd(b);a=b===null?c:wd(a,"["+b.substring(4));c=a.C;b=c[G]|0;return Ib(a,b)?a:Mc(a,c,b)?Nc(a,c):new a.constructor(Lc(c,b,!0))}M.prototype[Ab]=Hb;M.prototype.toString=function(){return this.C.toString()};
|
||
|
|
function Cd(a,b){if(b==null)b=a.constructor,b=b[vb]||(b[vb]=xc(b));else{a=a.constructor;if(!Array.isArray(b))throw Error();if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error();b=new a(Gb(b))}return b};function Dd(a){return function(b){return wd(a,b)}};function Ed(a){this.C=J(a)}x(Ed,M);Ed.prototype.getTypeName=function(){return rd(this,1).split("/").pop()};var Fd=function(a){return Mb(function(b){return b instanceof a&&!Ib(b)})}(Ed);function Gd(a){var b=2;b=b===void 0?2:b;this.key=a;this.defaultValue=!1;this.phase=b;this.flagNameForDebugging=void 0}Gd.prototype.ctor=function(a){return typeof a==="boolean"?a:this.defaultValue};function Hd(){var a=Id('[["feature named `pageObserver` was not found","feature named `hover` was not found"]]'),b=Jd,c=2;c=c===void 0?2:c;this.key="45696263";this.defaultValue=a;this.j=b;this.phase=c;this.flagNameForDebugging=void 0}
|
||
|
|
Hd.prototype.ctor=function(a){if(typeof a==="string"&&a)return wd(this.j,a);if(!Fd(a))return this.defaultValue.clone();var b;try{var c,d=this.j,e=(c=a.getTypeName())!=null?c:"";if(rd(a,1).split("/").pop()!=e)var f=null;else{var g=typeof d==="function"?d:d.constructor,h=a.C,k=h[G]|0,l=Uc(h,2);Pc(a)&&(h=a.C,k=h[G]|0);a=h;if(l!=null&&!(Array.isArray(l)||l!=null&&l[Ab]===Hb))throw Error("saw an invalid value of type '"+Ha(l)+"' in the Any.value field");var m=wc(l,g,!0,k);if(!(m instanceof g))throw Error("incorrect type in any value: got "+
|
||
|
|
m.constructor.displayName+", expected "+g.displayName);(g=!!(2&k))||(m=Oc(m));l!==m&&(Wc(a,k,2,m),g||Rc(a));f=m}}catch(r){f=null}return(b=f)!=null?b:this.defaultValue.clone()};function Kd(a){this.C=J(a)}x(Kd,M);Kd.prototype.clearValue=function(){return cd(this,Ld)};var Ld=[1,2];function Md(a){this.C=J(a)}x(Md,M);Md.prototype.clearValue=function(){return cd(this,Nd)};var Nd=[2,3,4,5,6,8];function Od(a){this.C=J(a)}x(Od,M);Od.prototype.La=function(){var a=L(this,3,void 0,void 0,bd);return a==null?lb():a};function Pd(a){this.C=J(a)}x(Pd,M);var Qd=Dd(Pd);function Jd(a){this.C=J(a)}x(Jd,M);var Id=Dd(Jd);function Rd(a,b){this.L=a|0;this.I=b|0}function Sd(a){return a.I*4294967296+(a.L>>>0)}q=Rd.prototype;q.isSafeInteger=function(){var a=this.I>>21;return a==0||a==-1&&!(this.L==0&&this.I==-2097152)};
|
||
|
|
q.toString=function(a){a=a||10;if(a<2||36<a)throw Error("radix out of range: "+a);if(this.isSafeInteger()){var b=Sd(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=N(c,c/4294967296);c=this.div(d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(Td(d));e=f.call(e,Sd(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=Sd(c);return(a==10?e:e.toString(a))+f};function Ud(a){return a.L==0&&a.I==0}q.Ba=function(){return this.L^this.I};
|
||
|
|
q.equals=function(a){return a==null?!1:this.L==a.L&&this.I==a.I};q.compare=function(a){return this.I==a.I?this.L==a.L?0:this.L>>>0>a.L>>>0?1:-1:this.I>a.I?1:-1};function Td(a){var b=~a.L+1|0;return N(b,~a.I+!b|0)}q.add=function(a){var b=this.I>>>16,c=this.I&65535,d=this.L>>>16,e=a.I>>>16,f=a.I&65535,g=a.L>>>16;a=(this.L&65535)+(a.L&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return N((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
|
||
|
|
q.multiply=function(a){if(Ud(this))return this;if(Ud(a))return a;var b=this.I>>>16,c=this.I&65535,d=this.L>>>16,e=this.L&65535,f=a.I>>>16,g=a.I&65535,h=a.L>>>16;a=a.L&65535;var k=e*a;var l=(k>>>16)+d*a;var m=l>>>16;l=(l&65535)+e*h;m+=l>>>16;m+=c*a;var r=m>>>16;m=(m&65535)+d*h;r+=m>>>16;m=(m&65535)+e*g;r=r+(m>>>16)+(b*a+c*h+d*g+e*f)&65535;return N((l&65535)<<16|k&65535,r<<16|m&65535)};
|
||
|
|
q.div=function(a){if(Ud(a))throw Error("division by zero");if(this.I<0){if(this.equals(Vd)){if(a.equals(Wd)||a.equals(Xd))return Vd;if(a.equals(Vd))return Wd;var b=this.I;b=N(this.L>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(Yd))return a.I<0?Wd:Xd;var c=a.multiply(b);c=this.add(Td(c));return b.add(c.div(a))}return a.I<0?Td(this).div(Td(a)):Td(Td(this).div(a))}if(Ud(this))return Yd;if(a.I<0)return a.equals(Vd)?Yd:Td(this.div(Td(a)));b=Yd;for(c=this;c.compare(a)>=0;){var d=Math.max(1,Math.floor(Sd(c)/
|
||
|
|
Sd(a))),e=Math.ceil(Math.log(d)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=Zd(d),g=f.multiply(a);g.I<0||g.compare(c)>0;)d-=e,f=Zd(d),g=f.multiply(a);Ud(f)&&(f=Wd);b=b.add(f);c=c.add(Td(g))}return b};q.and=function(a){return N(this.L&a.L,this.I&a.I)};q.or=function(a){return N(this.L|a.L,this.I|a.I)};q.xor=function(a){return N(this.L^a.L,this.I^a.I)};q.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.L;return a<32?N(b<<a,this.I<<a|b>>>32-a):N(0,b<<a-32)};
|
||
|
|
function Zd(a){return a>0?a>=0x7fffffffffffffff?$d:new Rd(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?Vd:Td(new Rd(-a,-a/4294967296)):Yd}function N(a,b){return new Rd(a,b)}var Yd=N(0,0),Wd=N(1,0),Xd=N(-1,-1),$d=N(4294967295,2147483647),Vd=N(0,2147483648);function zd(a,b){b=b===void 0?window:b;b=b===void 0?window:b;return(b=b.WIZ_global_data)&&a in b?b[a]:null};var ae;function be(){return ae=ae||new ce}
|
||
|
|
function ce(){var a=null,b=zd("TSDtV",window);if(b=typeof b!=="string"?null:b)try{var c=Qd("["+b.substring(4));a=md(c,Od,1)[0]}catch(K){a=JSON.parse(b);var d;this.j=(d=a==null?void 0:a.flags)!=null?d:{};(a==null?0:a.token)?a=(a=a.token)?new kb(a,ib):lb():a=null;this.token=a;return}if(a){d=y(md(a,Md,2));c=d.next();var e;try{for(;!c.done;c=d.next()){var f=c.value,g=f.C;if(jd(g,g[G]|0,Ed,ed(f,Nd,6))!==void 0)throw Error();}}finally{c&&!c.done&&(e=d.return)&&e.call(d)}}var h;if(a){e={};f=y(md(a,Md,2));
|
||
|
|
g=f.next();try{for(;!g.done;g=f.next()){var k=g.value,l=qd(k,1).toString();switch(fd(k,Nd)){case 3:e[l]=od(k,ed(k,Nd,3));break;case 2:var m=qd(k,ed(k,Nd,2));Tb(m);Zb(m);var r=Zb(m)?Number(m):String(m);e[l]=r;break;case 4:d=void 0;c=k;var t=ed(k,Nd,4);b=void 0;b=b===void 0?0:b;var w=(d=L(c,t,void 0,void 0,lc))!=null?d:b;e[l]=w;break;case 5:e[l]=rd(k,ed(k,Nd,5));break;case 6:e[l]=ld(k,Ed,ed(k,Nd,6));break;case 8:var u=kd(k,Kd,ed(k,Nd,8));switch(fd(u,Ld)){case 1:e[l]=rd(u,ed(u,Ld,1));break;default:throw Error("case "+
|
||
|
|
fd(u,Ld));}break;default:throw Error("case "+fd(k,Nd));}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}h=e}else h={};this.j=h;this.token=a?a.La():null}function de(a,b){return b.phase!==1&&b.key in a.j?b.ctor(a.j[b.key]):b.defaultValue}ce.prototype.La=p("token");function ee(a){this.C=J(a)}x(ee,M);var fe=new Hd;var ge=new Gd("45723104");var he=new Gd("45765314");function ie(a){this.C=J(a)}x(ie,M);var je=function(a){return function(){return a[vb]||(a[vb]=xc(a))}}(ie);Object.create(null);function O(){}O.prototype.equals=function(a){return ke(this,a)};O.prototype.Ba=function(){return this.A||(Object.defineProperties(this,{A:{value:le=le+1|0,enumerable:!1}}),this.A)};O.prototype.toString=function(){return P(me(Q(ne(this))))+"@"+P((this.Ba()>>>0).toString(16))};O.prototype.D=["java.lang.Object",0];function oe(){}x(oe,O);function S(a,b){a.j=b;pe(b,a)}function T(a){qe(a.j)&&(Error.captureStackTrace?Error.captureStackTrace(U(a.j,qe,re)):U(a.j,qe,re).stack=Error().stack)}oe.prototype.toString=function(){var a=me(Q(ne(this))),b=this.l;return b==null?a:P(a)+": "+P(b)};function se(a){if(a!=null){var b=a.ab;if(b!=null)return b}a instanceof TypeError?b=te():(b=new ue,T(b),S(b,Error(b)));b.l=a==null?"null":a.toString();S(b,a);return b}function ve(a){return a instanceof oe}
|
||
|
|
oe.prototype.D=["java.lang.Throwable",0];function we(){}x(we,oe);we.prototype.D=["java.lang.Exception",0];function xe(){}x(xe,we);xe.prototype.D=["java.lang.RuntimeException",0];function ye(){}x(ye,xe);ye.prototype.D=["java.lang.IndexOutOfBoundsException",0];var ze;function Ae(){Ae=n();for(var a=Be(),b=0;b<256;b=b+1|0)Ce(a,b,De(b-128|0));ze=a};function Ee(){}x(Ee,xe);Ee.prototype.D=["java.lang.ArithmeticException",0];function Fe(){}x(Fe,xe);Fe.prototype.D=["java.lang.ArrayStoreException",0];function Ge(){}x(Ge,xe);Ge.prototype.D=["java.lang.ClassCastException",0];function He(){}x(He,xe);He.prototype.D=["java.lang.IllegalArgumentException",0];function Ie(){}x(Ie,xe);function Je(a){var b=new Ie;b.l=a;T(b);S(b,Error(b));return b}Ie.prototype.D=["java.lang.IllegalStateException",0];function ue(){}x(ue,xe);ue.prototype.D=["java.lang.JsException",0];function Ke(){}x(Ke,ue);function te(){var a=new Ke;T(a);S(a,new TypeError(a));return a}Ke.prototype.D=["java.lang.NullPointerException",0];function Le(){}x(Le,ye);Le.prototype.D=["java.lang.StringIndexOutOfBoundsException",0];function Me(){}var Ne;x(Me,O);Me.prototype.D=["java.lang.Number",0];function Oe(){}x(Oe,Me);Oe.prototype.D=["java.lang.Double",0];function Pe(a){return Zd(a)}function Qe(a){if(!isFinite(a))throw a=new Ee,T(a),S(a,Error(a)),a.j;return a|0};function Re(){}x(Re,O);Re.prototype.D=["java.lang.Boolean",0];function U(a,b,c){if(a!=null&&!b(a))throw a=P(me(Se(a)))+" cannot be cast to "+P(me(Q(c))),b=new Ge,b.l=a,T(b),S(b,Error(b)),b.j;return a};function ne(a){return a.constructor}function Te(a,b,c){if(Object.prototype.hasOwnProperty.call(a.prototype,b))return a.prototype[b];c=c();return a.prototype[b]=c};function ke(a,b){return Object.is(a,b)||a==null&&b==null};var le=0;function Se(a){switch(V(typeof a)){case "number":return Q(Oe);case "boolean":return Q(Re);case "string":return Q(Ue);case "function":return Q(Ve)}if(a instanceof Rd)a=Q(We);else if(a instanceof O)a=Q(ne(a));else if(Array.isArray(a))a=(a=a.ta)?Q(a.da,a.ca):Q(O,1);else if(a!=null)a=Q(Xe);else throw new TypeError("null.getClass()");return a};function Ve(){}Ve.prototype.D=["<native function>",1];function Xe(){}x(Xe,O);Xe.prototype.D=["<native object>",0];function Ye(){this.Y=0}x(Ye,Me);function Ze(a){a>-129&&a<128?(Ae(),a=ze[a+128|0]):a=De(a);return a}function De(a){var b=new Ye;b.Y=a;return b}Ye.prototype.equals=function(a){return $e(a)&&U(a,$e,Ye).Y==this.Y};Ye.prototype.Ba=p("Y");Ye.prototype.toString=function(){return""+this.Y};function $e(a){return a instanceof Ye}Ye.prototype.D=["java.lang.Integer",0];function We(){}x(We,Me);We.prototype.D=["java.lang.Long",0];function af(){}x(af,He);af.prototype.D=["java.lang.NumberFormatException",0];function V(a){if(a==null)throw te().j;return a};function Be(){var a=[256];return bf(a,{da:Ye,pa:$e,ca:a.length})}function bf(a,b){var c=a[0];if(c==null)return null;var d=new globalThis.Array(c);b&&(d.ta=b);if(a.length>1){a=a.slice(1);b=b&&{da:b.da,pa:b.pa,ca:b.ca-1};for(var e=0;e<c;e++)d[e]=bf(a,b)}else if(b&&(a=b.da.Cb,a!==void 0))for(b=0;b<c;b++)d[b]=a;return d}
|
||
|
|
function Ce(a,b,c){var d;if(!(d=c==null))a:{var e=a.ta;if(e)if(e.ca>1){d=e.da;var f=e.pa;e=e.ca-1;if(c!=null&&Array.isArray(c)){var g=c.ta||{da:O,ca:1},h=g.ca;h==e?(e=g.da,d=e===d?!0:d&&d.prototype.Ra||e&&e.prototype.Ra?!1:f(e.prototype)):d=h>e?O==d:!1}else d=!1;if(!d){d=!1;break a}}else if(c!=null&&!e.pa(c)){d=!1;break a}d=!0}if(!d)throw a=new Fe,T(a),S(a,Error(a)),a.j;a[b]=c};function Ue(){}x(Ue,O);function P(a){return a==null?"null":a.toString()}function cf(a){if(!(a>=0))throw a=new He,T(a),S(a,Error(a)),a.j;return"0".repeat(a)}Ue.prototype.D=["java.lang.String",0];function df(a,b){this.j=a;this.l=b}x(df,O);function Q(a,b){var c=b||0;return Te(a,"$$class/"+c,function(){return new df(a,c)})}function me(a){return a.l!=0?P(ef("[",a.l))+P(a.j.prototype.D[1]==3?a.j.prototype.D[2]:"L"+P(a.j.prototype.D[0])+";"):a.j.prototype.D[0]}function ff(a,b){b=a.lastIndexOf(b)+1|0;var c=a.length+1|0;if(b<0||b>=c)throw a=new Le,a.l="Index: "+b+", Size: "+c,T(a),S(a,Error(a)),a.j;return a.substr(b)}
|
||
|
|
df.prototype.toString=function(){return String(this.l==0&&this.j.prototype.D[1]==1?"interface ":this.l==0&&this.j.prototype.D[1]==3?"":"class ")+P(me(this))};function ef(a,b){for(var c="",d=0;d<b;d=d+1|0)c=P(c)+P(a);return c}df.prototype.D=["java.lang.Class",0];function re(){}function qe(a){return a instanceof Error}re.prototype.D=["Error",0];function pe(a,b){if(a instanceof Object)try{a.ab=b,Object.defineProperties(a,{cause:{get:function(){return b.o&&b.o.j}}})}catch(c){}};function gf(a,b){this.o=b;this.l=a;T(this);S(this,Error(this))}x(gf,xe);fa.Object.defineProperties(gf.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.j;a.fileName=b.fileName;a.lineNumber=b.lineNumber;a.columnNumber=b.columnNumber;a.message=b.message;a.name=b.name;a.stack=b.stack;a.toSource=b.toSource;a.cause=b.cause;for(var c in b)c.indexOf("__java$")!=0&&(a[c]=b[c]);return a}}});gf.prototype.getMessage=p("l");
|
||
|
|
gf.prototype.D=["com.google.apps.docs.xplat.base.XplatException",0];function hf(){}function jf(a){return a instanceof Error}hf.prototype.D=["Error",0];function kf(){var a=a==null?function(c){return Math.max(Math.min(Math.floor(Math.random()*c),2147483647),-2147483648)|0}:a;var b=(a(2147483647)>>>0).toString(16);b=P(cf(Math.max(0,8-b.length|0)))+P(b);a=(a(2147483647)>>>0).toString(16);return P(a)+P(b)};function lf(){}function mf(a){return a instanceof Array}lf.prototype.D=["Array",0];function nf(){}function of(a){return a instanceof Object}nf.prototype.D=["Object",0];function pf(){}function qf(a){return a instanceof Object}pf.prototype.D=["Object",0];var rf={Sb:"build-label",Db:"buildLabel",Eb:"clientLog",Hb:"docId",Ub:"mobile-app-version",cc:"severity",ac:"reportSeverity",fc:"severity-unprefixed",Ob:"isArrayPrototypeIntact",Pb:"isEditorElementAttached",Mb:"documentCharacterSet",Qb:"isModuleLoadFailure",Zb:"reportName",Tb:"locale",Fb:"createdOnServer",Wb:"numUnsavedCommands",Gb:"cspViolationContext",Yb:"relatedToBrowserExtension",jc:"workerError",Ib:"docosPostLimitExceeded",Jb:"docosPostLimitType",Kb:"docosReactionLimitExceeded",Lb:"docosReactionLimitType",
|
||
|
|
Xb:"origin",bc:"saveTakingTooLongOnClient",dc:"truncatedCommentNotificationsCount",ec:"truncatedCommentNotificationsFromPayload",Vb:"nonfatalReason",hc:"usesModuleSetsServing",Rb:"isNestedDrawingsEnabled",Nb:"embeddedDrawingState"};function sf(){this.j=!1}var tf;x(sf,O);q=sf.prototype;q.dispose=function(){if(this.j)var a=null;else this.j=!0,a=this.v==null?tf:this.v,this.v=null;if(a!=null){this.ua();if(a.length!=0)for(var b=0;b<a.length;b++)a[b].dispose();a=Q(ne(this));ff(ff(P(a.j.prototype.D[0])+P(ef("[]",a.l)),"."),"$")}};q.oa=p("j");q.ua=n();q.toString=function(){return O.prototype.toString.call(this)||""};function uf(){uf=n();tf=U([],mf,lf)}q.D=["com.google.apps.xplat.disposable.Disposable",0];function vf(a){if(a==null)return a=new oe,T(a),S(a,Error(a)),a;if(ve(a))return U(a,ve,oe);if(jf(a))return a=U(a,jf,hf),se(a);a=new He;a.l="Unsupported type cannot be used to create a Throwable.";T(a);S(a,Error(a));throw a.j;};/*
|
||
|
|
|
||
|
|
Copyright Google LLC
|
||
|
|
SPDX-License-Identifier: Apache-2.0
|
||
|
|
*/
|
||
|
|
var wf=globalThis.trustedTypes,xf;function zf(){var a=null;if(!wf)return a;try{var b=aa();a=wf.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function Af(a){this.j=a}Af.prototype.toString=function(){return this.j+""};function Bf(a,b){if(b instanceof Af)b=b.j;else throw Error("");a.src=b.toString()};function Cf(a){var b=A.onerror;A.onerror=function(c,d,e,f,g){b&&b(c,d,e,f,g);a({message:c,fileName:d,line:e,lineNumber:e,lc:f,error:g});return!0}}
|
||
|
|
function Df(a){var b=Ga("window.location.href");a==null&&(a='Unknown Error of type "null/undefined"');if(typeof a==="string")return{message:a,name:"Unknown error",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||A.$googDebugFname||b}catch(f){e="Not available",c=!0}b=Ef(a);return!c&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?{message:a.message,
|
||
|
|
name:a.name,lineNumber:a.lineNumber,fileName:a.fileName,stack:b}:(c=a.message,c==null&&(c=a.constructor&&a.constructor instanceof Function?'Unknown Error of type "'+(a.constructor.name?a.constructor.name:Ff(a.constructor))+'"':"Unknown Error of unknown type",typeof a.toString==="function"&&Object.prototype.toString!==a.toString&&(c+=": "+a.toString())),{message:c,name:a.name||"UnknownError",lineNumber:d,fileName:e,stack:b||"Not available"})}
|
||
|
|
function Ef(a,b){b||(b={});b[Gf(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[Gf(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=Ef(d,b));a=a.errors;if(Array.isArray(a)){d=1;var e;for(e=0;e<a.length&&!(d>4);e++)b[Gf(a[e])]||(c+="\nInner error "+d++ +": ",a[e].stack&&a[e].stack.indexOf(a[e].toString())==0||(c+=typeof a[e]==="string"?a[e]:a[e].message+"\n"),c+=Ef(a[e],b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c}
|
||
|
|
function Gf(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack}function Hf(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,Hf));a.stack||(a.stack=If(Hf));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a}function Jf(a,b){a=Hf(a);if(b)for(var c in b)nb(a,c,b[c]);return a}
|
||
|
|
function If(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||If),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=Kf(a||arguments.callee.caller,[]));return b}
|
||
|
|
function Kf(a,b){var c=[];if(Array.prototype.indexOf.call(b,a,void 0)>=0)c.push("[...circular reference...]");else if(a&&b.length<50){c.push(Ff(a)+"(");for(var d=a.arguments,e=0;d&&e<d.length;e++){e>0&&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=Ff(f))?f:"[fn]";break;default:f=typeof f}f.length>40&&(f=f.slice(0,40)+"...");c.push(f)}b.push(a);c.push(")\n");
|
||
|
|
try{c.push(Kf(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("")}function Ff(a){if(Lf[a])return Lf[a];a=String(a);if(!Lf[a]){var b=/function\s+([^\(]+)/m.exec(a);Lf[a]=b?b[1]:"[Anonymous]"}return Lf[a]}var Lf={};function Mf(a,b){this.name=a;this.value=b}Mf.prototype.toString=p("name");var Nf=new Mf("SEVERE",1E3),Of=new Mf("WARNING",900),Pf=new Mf("CONFIG",700);function Qf(){this.clear()}var Rf;function Sf(a){var b=Tf(),c=b.j;if(c[0]){var d=b.l;b=b.o?d:-1;do b=(b+1)%0,a(c[b]);while(b!==d)}}Qf.prototype.clear=function(){this.j=[];this.l=-1;this.o=!1};function Tf(){Rf||(Rf=new Qf);return Rf};function Uf(a,b,c,d,e,f,g){var h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="?"+f);g&&(h+="#"+g);return h}var Vf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
|
||
|
|
function Wf(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(d>=0){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 Xf(a,b){if(!b)return a;var c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}
|
||
|
|
function Yf(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)Yf(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))}function Zf(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Yf(a[b],a[b+1],c);return c.join("&")}function $f(a){var b=[],c;for(c in a)Yf(c,a[c],b);return b.join("&")}function W(a,b){var c=arguments.length==2?Zf(arguments[1],0):Zf(arguments,1);return Xf(a,c)};var ag;ag=function(a){if(!a)return a;a=(typeof a==="object"?a.href:a).match(Vf);var b=a[1];return b!=="http"&&b!=="https"?b||"":Uf(a[1],"",a[3],a[4],a[5],a[6],"")};function bg(a){a&&typeof a.dispose=="function"&&a.dispose()};function cg(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];Ia(d)?cg.apply(null,d):bg(d)}};function X(){this.J=this.J;this.G=this.G}X.prototype.J=!1;X.prototype.oa=p("J");X.prototype.dispose=function(){this.J||(this.J=!0,this.O())};X.prototype[Symbol.dispose]=function(){this.dispose()};function dg(a,b){b=Pa(bg,b);a.J?b():(a.G||(a.G=[]),a.G.push(b))}X.prototype.O=function(){if(this.G)for(;this.G.length;)this.G.shift()()};var eg=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:aa();function fg(a,b){this.o=a;this.v=b;this.l=0;this.j=null}fg.prototype.get=function(){if(this.l>0){this.l--;var a=this.j;this.j=a.next;a.next=null}else a=this.o();return a};function gg(a,b){a.v(b);a.l<100&&(a.l++,b.next=a.j,a.j=b)};var hg=[],ig=[],jg=!1;function kg(a){hg[hg.length]=a;if(jg)for(var b=0;b<ig.length;b++)a(B(ig[b].j,ig[b]))};kg(n());function lg(){this.l=this.j=null}lg.prototype.add=function(a,b){var c=mg.get();c.set(a,b);this.l?this.l.next=c:this.j=c;this.l=c};lg.prototype.remove=function(){var a=null;this.j&&(a=this.j,this.j=this.j.next,this.j||(this.l=null),a.next=null);return a};var mg=new fg(function(){return new ng},function(a){return a.reset()});function ng(){this.next=this.scope=this.j=null}ng.prototype.set=function(a,b){this.j=a;this.scope=b;this.next=null};ng.prototype.reset=function(){this.next=this.scope=this.j=null};var og,pg=!1,qg=new lg;function rg(a,b){og||sg();pg||(og(),pg=!0);qg.add(a,b)}function sg(){var a=Promise.resolve(void 0);og=function(){a.then(tg)}}function tg(){for(var a;a=qg.remove();){try{a.j.call(a.scope)}catch(b){Sa(b)}gg(mg,a)}pg=!1};function ug(){};function vg(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function wg(a){this.j=0;this.J=void 0;this.v=this.l=this.o=null;this.A=this.G=!1;if(a!=ug)try{var b=this;a.call(void 0,function(c){xg(b,2,c)},function(c){xg(b,3,c)})}catch(c){xg(this,3,c)}}function yg(){this.next=this.o=this.l=this.v=this.j=null;this.A=!1}yg.prototype.reset=function(){this.o=this.l=this.v=this.j=null;this.A=!1};var zg=new fg(function(){return new yg},function(a){a.reset()});function Ag(a,b,c){var d=zg.get();d.v=a;d.l=b;d.o=c;return d}
|
||
|
|
function Bg(){var a=new wg(ug);xg(a,2);return a}function Cg(a,b,c){Dg(a,b,c,null)||rg(Pa(b,a))}function Eg(a){return new wg(function(b,c){a.length||b(void 0);for(var d,e=0;e<a.length;e++)d=a[e],Cg(d,b,c)})}function Fg(a){return new wg(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{lb:!0,value:l}:{lb:!1,reason:l};c==0&&b(d)},f,g=0;g<a.length;g++)f=a[g],Cg(f,Pa(e,g,!0),Pa(e,g,!1));else b(d)})}function Gg(){var a,b,c=new wg(function(d,e){a=d;b=e});return new Hg(c,a,b)}
|
||
|
|
wg.prototype.then=function(a,b,c){return Ig(this,eg(typeof a==="function"?a:null),eg(typeof b==="function"?b:null),c)};wg.prototype.$goog_Thenable=!0;q=wg.prototype;q.va=function(a,b){return Ig(this,null,eg(a),b)};q.Sa=wg.prototype.va;q.cancel=function(a){if(this.j==0){var b=new Jg(a);rg(function(){Kg(this,b)},this)}};
|
||
|
|
function Kg(a,b){if(a.j==0)if(a.o){var c=a.o;if(c.l){for(var d=0,e=null,f=null,g=c.l;g&&(g.A||(d++,g.j==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.j==0&&d==1?Kg(c,b):(f?(d=f,d.next==c.v&&(c.v=d),d.next=d.next.next):Lg(c),Mg(c,e,3,b)))}a.o=null}else xg(a,3,b)}function Ng(a,b){a.l||a.j!=2&&a.j!=3||Og(a);a.v?a.v.next=b:a.l=b;a.v=b}
|
||
|
|
function Ig(a,b,c,d){var e=Ag(null,null,null);e.j=new wg(function(f,g){e.v=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.l=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof Jg?g(h):f(k)}catch(l){g(l)}}:g});e.j.o=a;Ng(a,e);return e.j}q.zb=function(a){this.j=0;xg(this,2,a)};q.Ab=function(a){this.j=0;xg(this,3,a)};
|
||
|
|
function xg(a,b,c){a.j==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.j=1,Dg(c,a.zb,a.Ab,a)||(a.J=c,a.j=b,a.o=null,Og(a),b!=3||c instanceof Jg||Pg(a,c)))}function Dg(a,b,c,d){if(a instanceof wg)return Ng(a,Ag(b||ug,c||null,d)),!0;if(vg(a))return a.then(b,c,d),!0;if(Ja(a))try{var e=a.then;if(typeof e==="function")return Qg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}
|
||
|
|
function Qg(a,b,c,d,e){function f(k){h||(h=!0,d.call(e,k))}function g(k){h||(h=!0,c.call(e,k))}var h=!1;try{b.call(a,g,f)}catch(k){f(k)}}function Og(a){a.G||(a.G=!0,rg(a.kb,a))}function Lg(a){var b=null;a.l&&(b=a.l,a.l=b.next,b.next=null);a.l||(a.v=null);return b}q.kb=function(){for(var a;a=Lg(this);)Mg(this,a,this.j,this.J);this.G=!1};
|
||
|
|
function Mg(a,b,c,d){if(c==3&&b.l&&!b.A)for(;a&&a.A;a=a.o)a.A=!1;if(b.j)b.j.o=null,Rg(b,c,d);else try{b.A?b.v.call(b.o):Rg(b,c,d)}catch(e){Sg.call(null,e)}gg(zg,b)}function Rg(a,b,c){b==2?a.v.call(a.o,c):a.l&&a.l.call(a.o,c)}function Pg(a,b){a.A=!0;rg(function(){a.A&&Sg.call(null,b)})}var Sg=Sa;function Jg(a){D.call(this,a);this.j=!1}C(Jg,D);Jg.prototype.name="cancel";function Hg(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/*
|
||
|
|
|
||
|
|
Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
|
||
|
|
Copyright The Closure Library Authors.
|
||
|
|
SPDX-License-Identifier: MIT
|
||
|
|
*/
|
||
|
|
function Tg(){this.A=[];this.v=this.o=!1;this.l=void 0;this.F=this.K=this.J=!1;this.G=0;this.j=null;this.B=0}Tg.prototype.cancel=function(a){if(this.o)this.l instanceof Tg&&this.l.cancel();else{if(this.j){var b=this.j;delete this.j;a?b.cancel(a):(b.B--,b.B<=0&&b.cancel())}this.F=!0;this.o||(a=new Ug(this),Vg(this),Wg(this,!1,a))}};Tg.prototype.H=function(a,b){this.J=!1;Wg(this,a,b)};function Wg(a,b,c){a.o=!0;a.l=c;a.v=!b;Xg(a)}function Vg(a){if(a.o){if(!a.F)throw new Yg(a);a.F=!1}}
|
||
|
|
function Zg(a){throw a;}function $g(a,b,c){return ah(a,b,null,c)}function bh(a,b,c){ah(a,b,function(d){var e=b.call(this,d);if(e===void 0)throw d;return e},c)}function ah(a,b,c,d){var e=a.o;e||(b===c?b=c=eg(b):(b=eg(b),c=eg(c)));a.A.push([b,c,d]);e&&Xg(a);return a}Tg.prototype.then=function(a,b,c){var d,e,f=new wg(function(g,h){e=g;d=h});ah(this,e,function(g){g instanceof Ug?f.cancel():d(g);return ch},this);return f.then(a,b,c)};Tg.prototype.$goog_Thenable=!0;
|
||
|
|
function dh(a){return $a(a.A,function(b){return typeof b[1]==="function"})}var ch={};
|
||
|
|
function Xg(a){if(a.G&&a.o&&dh(a)){var b=a.G,c=eh[b];c&&(A.clearTimeout(c.j),delete eh[b]);a.G=0}a.j&&(a.j.B--,delete a.j);b=a.l;for(var d=c=!1;a.A.length&&!a.J;){var e=a.A.shift(),f=e[0],g=e[1];e=e[2];if(f=a.v?g:f)try{var h=f.call(e||null,b);h===ch&&(h=void 0);h!==void 0&&(a.v=a.v&&(h==b||h instanceof Error),a.l=b=h);if(vg(b)||typeof A.Promise==="function"&&b instanceof A.Promise)d=!0,a.J=!0}catch(k){b=k,a.v=!0,dh(a)||(c=!0)}}a.l=b;d&&(h=B(a.H,a,!0),d=B(a.H,a,!1),b instanceof Tg?(ah(b,h,d),b.K=!0):
|
||
|
|
b.then(h,d));c&&(b=new fh(b),eh[b.j]=b,a.G=b.j)}function gh(a){var b=new Tg;Vg(b);Wg(b,!0,a);return b}function Yg(){D.call(this)}C(Yg,D);Yg.prototype.message="Deferred has already fired";Yg.prototype.name="AlreadyCalledError";function Ug(){D.call(this)}C(Ug,D);Ug.prototype.message="Deferred was canceled";Ug.prototype.name="CanceledError";function fh(a){this.j=A.setTimeout(B(this.o,this),0);this.l=a}fh.prototype.o=function(){delete eh[this.j];Zg(this.l)};var eh={};function hh(){}function ih(a){return a!=null&&!!a.Ga}hh.prototype.Ga=!0;hh.prototype.D=["javax.inject.Provider",1];function jh(){}function kh(a){return a!=null&&!!a.Fa}jh.prototype.Fa=!0;jh.prototype.D=["com.google.apps.docs.xplat.flag.FlagService",1];var lh;function mh(){if(lh==null){var a=new nh(null);lh=function(){return a}}var b;return U((b=lh,b()),kh,jh)};function oh(){}x(oh,O);oh.prototype.get=function(){if(this.l==null){var a=U(A._docs_flag_initialData,of,nf);this.l=a!=null?a:U({},of,nf)}return this.l};oh.prototype.j=function(){return this.get()};oh.prototype.Ga=!0;oh.prototype.D=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];function ph(a){return typeof a=="string"?a=="true"||a=="1":!!a};function nh(a){this.j=new oh;this.l=null;if(a!=null)for(var b in a){var c=b,d=a[b];if(this.l!=null)throw Je("Cannot use setClientFlag when comparison is enabled.").j;var e=U(this.j.j(),of,nf);$e(d)?(d=U(d,$e,Ye).Y,e[c]=d):e[c]=d!=null?d:null}}x(nh,O);nh.prototype.clear=function(){this.j=new oh;this.l=null};nh.prototype.get=function(a){qh(this,a);return U(this.j.j(),of,nf)[a]};function rh(a,b){a=U(a.j.j(),of,nf);return b in a}
|
||
|
|
function sh(a,b){qh(a,b);if(!rh(a,b)||a.get(b)==null)return NaN;try{var c=P(a.get(b));Ne==null&&(Ne=RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$"));if(!Ne.test(c)){var d=new af;d.l='For input string: "'+P(c)+'"';T(d);S(d,Error(d));throw d.j;}return parseFloat(c)}catch(f){var e=se(f);if(e instanceof af)return NaN;throw e.j;}}
|
||
|
|
function th(a,b){qh(a,b);if(!rh(a,b))return"";a=a.get(b);if(a==null)return"";var c;if(b="number"===typeof a&&(c=a,!0)){b=Pe(V(c));var d=Pe(V(c));b=b.equals(d)}return b?""+Pe(V(c)):P(a)}
|
||
|
|
function qh(a,b){if(a.l!=null){try{var c=U(a.j.j(),of,nf)[b]}catch(h){var d=se(h);if(d instanceof xe)c="injection-failed";else throw d.j;}try{var e=a.l;if(e==null)throw te().j;var f=U(U(e,ih,hh).j(),of,nf)[b]}catch(h){var g=se(h);if(g instanceof xe)f="injection-failed";else throw g.j;}a=c;!(b=ke(a,f))&&(b=a!=null)&&(b=a.equals?a.equals(f):Object.is(a,f));if(!b)throw Je("Logging is not supported.").j;}}nh.prototype.Fa=!0;nh.prototype.D=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];function uh(a){gf.call(this,a,null);S(this,Error(this))}x(uh,gf);uh.prototype.D=["com.google.apps.docs.xplat.net.LimitException",0];function vh(a,b,c,d){uf();this.j=!1;this.G=a;this.o=b;this.l=new wh(Math.imul(c,1E3),d)}x(vh,sf);function xh(a){if(!((a.l.get(null)+1|0)/V(a.l.o/1E3)<=a.o))throw(new uh("Query would cause "+P(a.G)+" to exceed "+a.o+" qps.")).j;a=a.l;var b=Sd(Zd(Date.now()));yh(a,b);var c=U(zh(a.j),Ah,Bh);if(c==null||V(b)>=V(c.l))b=Ch(a,V(b)),c=new Bh,c.l=b,c.j=0,c.v=2147483647,c.o=-2147483648,a.j.add(c);c.j=c.j+1|0;c.v=Math.min(1,c.v);c.o=Math.max(1,c.o)}
|
||
|
|
vh.prototype.D=["com.google.apps.docs.xplat.net.QpsLimiter",0];function Bh(){this.o=this.v=this.j=0}x(Bh,O);function Ah(a){return a instanceof Bh}Bh.prototype.D=["com.google.apps.docs.xplat.util.BasicStat$Slot",0];function wh(a){this.l=0;this.o=a;this.l=Qe(a/50);this.j=new Dh(Ze(50))}x(wh,O);wh.prototype.get=function(a){return Eh(this,a,function(b,c){b=U(b,$e,Ye);c=U(c,Ah,Bh);return Ze(b.Y+c.j|0)})};function Eh(a,b,c){b=b!=null?V(b):Sd(Zd(Date.now()));yh(a,b);var d=0;b=Ch(a,V(b));b=V(b)-a.o;for(var e=a.j.j.length-1|0;e>=0;e=e-1|0){var f=U(a.j.get(e),Ah,Bh);if(V(f.l)<=b)break;d=U(c(Ze(d),f),$e,Ye).Y}return d}function Ch(a,b){return a.l*Math.floor(b/a.l+1)}
|
||
|
|
function yh(a,b){var c=U(zh(a.j),Ah,Bh);c!=null&&(c=V(c.l)-a.l,V(b)<V(c)&&a.j.clear())}wh.prototype.D=["com.google.apps.docs.xplat.util.BasicStat",0];function Dh(a){this.l=this.o=0;a!=null?"number"===typeof a?(a=V(a),a=Math.max(Math.min(a,2147483647),-2147483648)|0):a=a instanceof Rd?V(a).L:a.Y:a=100;this.o=a;this.j=U([],mf,lf)}x(Dh,O);q=Dh.prototype;q.add=function(a){var b=this.j[this.l];this.j[this.l]=a;this.l=Qe((this.l+1|0)%this.o);return b};q.get=function(a){a=Fh(this,a);return this.j[a]};q.set=function(a,b){a=Fh(this,a);this.j[a]=b};q.clear=function(){this.l=this.j.length=0};
|
||
|
|
q.ma=function(){for(var a=this.j.length,b=this.j.length-this.j.length|0,c=U([],mf,lf);b<a;b=b+1|0){var d=c,e=this.get(b);d.push(e)}return c};function zh(a){return a.j.length==0?null:a.get(a.j.length-1|0)}function Fh(a,b){if(b>=a.j.length)throw a=new ye,T(a),S(a,Error(a)),a.j;return a.j.length<a.o?b:Qe((a.l+b|0)%a.o)}q.D=["com.google.apps.docs.xplat.util.CircularBuffer",0];function Gh(){this.j=0}var Hh,Ih;x(Gh,O);function Y(a,b){var c=new Gh;c.l=a;c.j=b;Hh[a]=c!==void 0?c:null;return c}Gh.prototype.toString=p("l");
|
||
|
|
function Jh(){Jh=n();Hh=U({},qf,pf);Y("IDLE",1);Y("BUSY",1);Y("RECOVERING",2);Ih=Y("OFFLINE",3);Y("SERVER_DOWN",3);Y("FORBIDDEN",4);Y("AUTH_REQUIRED",4);Y("DELTA_STALE_CLIENT",4);Y("SESSION_LIMIT_EXCEEDED",5);Y("LOCKED",5);Y("INCOMPATIBLE_SERVER",5);Y("CLIENT_ERROR",5);Y("CLIENT_FATAL_ERROR",5);Y("CLIENT_FATAL_ERROR_PENDING_CHANGES",5);Y("BATCH_CLIENT_ERROR",3);Y("SAVE_ERROR",5);Y("DOCUMENT_TOO_LARGE",5);Y("CSE_BLOCKED_REQUEST",5);Y("CSE_UPGRADE_LOCKED",5);Y("BATCH_SAVE_ERROR",3);Y("DOCS_EVERYWHERE_IMPORT_ERROR",
|
||
|
|
5);Y("POST_LIMIT_EXCEEDED_ERROR",5);Y("DOCS_QUOTA_EXCEEDED_ERROR",5)}Gh.prototype.D=["com.google.apps.docs.xplat.net.Status$State",0];function Kh(){}x(Kh,O);function Lh(a){return a instanceof Kh}Kh.prototype.D=["com.google.apps.docsshared.xplat.observable.EventObserverTracker$ObservableObserverPair",0];function Mh(){uf();this.j=!1;this.l=U([],mf,lf)}x(Mh,sf);function Nh(a,b,c){var d;a:{for(d=0;d<a.l.length;d=d+1|0){var e=U(a.l[d],Lh,Kh);if(ke(e.l,c)&&ke(e.j,b)){d=!0;break a}}d=!1}d||(a=a.l,c=b.j(c),d=new Kh,d.j=b,d.l=c,a.push(d))}Mh.prototype.ua=function(){this.removeAll();sf.prototype.ua.call(this)};Mh.prototype.removeAll=function(){for(var a=U(this.l.pop(),Lh,Kh);a!=null;)a.j.l(a.l),a=U(this.l.pop(),Lh,Kh)};Mh.prototype.D=["com.google.apps.docsshared.xplat.observable.EventObserverTracker",0];function Oh(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ph(a){var b={},c;for(c in a)b[c]=a[c];return b}var Qh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Rh(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<Qh.length;f++)c=Qh[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function Sh(a){this.j=this.J=this.v="";this.B=null;this.G=this.l="";this.A=!1;var b;a instanceof Sh?(this.A=a.A,Th(this,a.v),this.J=a.J,this.j=a.j,Uh(this,a.B),Vh(this,a.l),Wh(this,a.o.clone()),this.G=a.G):a&&(b=String(a).match(Vf))?(this.A=!1,Th(this,b[1]||"",!0),this.J=Xh(b[2]||""),this.j=Xh(b[3]||"",!0),Uh(this,b[4]),Vh(this,b[5]||"",!0),Wh(this,b[6]||"",!0),this.G=Xh(b[7]||"")):(this.A=!1,this.o=new Yh(null,this.A))}
|
||
|
|
Sh.prototype.toString=function(){var a=[],b=this.v;b&&a.push(Zh(b,$h,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.J)&&a.push(Zh(b,$h,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.B,c!=null&&a.push(":",String(c));if(c=this.l)this.j&&c.charAt(0)!="/"&&a.push("/"),a.push(Zh(c,c.charAt(0)=="/"?ai:bi,!0));(c=this.o.toString())&&a.push("?",c);(c=this.G)&&a.push("#",Zh(c,ci));return a.join("")};
|
||
|
|
Sh.prototype.resolve=function(a){var b=this.clone(),c=!!a.v;c?Th(b,a.v):c=!!a.J;c?b.J=a.J:c=!!a.j;c?b.j=a.j:c=a.B!=null;var d=a.l;if(c)Uh(b,a.B);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.j&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(e.indexOf("./")!=-1||e.indexOf("/.")!=-1){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g<e.length;){var h=e[g++];h=="."?d&&g==e.length&&f.push(""):h==".."?((f.length>1||f.length==1&&
|
||
|
|
f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?Vh(b,d):c=a.o.toString()!=="";c?Wh(b,a.o.clone()):c=!!a.G;c&&(b.G=a.G);return b};Sh.prototype.clone=function(){return new Sh(this)};function Th(a,b,c){a.v=c?Xh(b,!0):b;a.v&&(a.v=a.v.replace(/:$/,""))}function Uh(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.B=b}else a.B=null}function Vh(a,b,c){a.l=c?Xh(b,!0):b;return a}
|
||
|
|
function Wh(a,b,c){b instanceof Yh?(a.o=b,di(a.o,a.A)):(c||(b=Zh(b,ei)),a.o=new Yh(b,a.A))}function Xh(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Zh(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,fi),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function fi(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var $h=/[#\/\?@]/g,bi=/[#\?:]/g,ai=/[#\?]/g,ei=/[#\?@]/g,ci=/#/g;
|
||
|
|
function Yh(a,b){this.l=this.j=null;this.o=a||null;this.v=!!b}function gi(a){a.j||(a.j=new Map,a.l=0,a.o&&Wf(a.o,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}q=Yh.prototype;q.add=function(a,b){gi(this);this.o=null;a=hi(this,a);var c=this.j.get(a);c||this.j.set(a,c=[]);c.push(b);this.l=this.l+1;return this};q.remove=function(a){gi(this);a=hi(this,a);return this.j.has(a)?(this.o=null,this.l=this.l-this.j.get(a).length,this.j.delete(a)):!1};
|
||
|
|
q.clear=function(){this.j=this.o=null;this.l=0};function ii(a,b){gi(a);b=hi(a,b);return a.j.has(b)}q.forEach=function(a,b){gi(this);this.j.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};q.ma=function(a){gi(this);var b=[];if(typeof a==="string")ii(this,a)&&(b=b.concat(this.j.get(hi(this,a))));else{a=Array.from(this.j.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
|
||
|
|
q.set=function(a,b){gi(this);this.o=null;a=hi(this,a);ii(this,a)&&(this.l=this.l-this.j.get(a).length);this.j.set(a,[b]);this.l=this.l+1;return this};q.get=function(a,b){if(!a)return b;a=this.ma(a);return a.length>0?String(a[0]):b};
|
||
|
|
q.toString=function(){if(this.o)return this.o;if(!this.j)return"";for(var a=[],b=Array.from(this.j.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ma(d);for(var f=0;f<d.length;f++){var g=e;d[f]!==""&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.o=a.join("&")};q.clone=function(){var a=new Yh;a.o=this.o;this.j&&(a.j=new Map(this.j),a.l=this.l);return a};function hi(a,b){b=String(b);a.v&&(b=b.toLowerCase());return b}
|
||
|
|
function di(a,b){b&&!a.v&&(gi(a),a.o=null,a.j.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),c.length>0)){this.o=null;d=this.j;var f=d.set;e=hi(this,e);var g=c.length;if(g>0){for(var h=Array(g),k=0;k<g;k++)h[k]=c[k];g=h}else g=[];f.call(d,e,g);this.l=this.l+c.length}},a));a.v=b};function ji(){var a=A.window;a.onbeforeunload=n();a.location.reload()};function ki(){this.j=function(){ji()}}ki.prototype.notify=function(){window.confirm("This error has been reported to Google and we'll look into it as soon as possible. Please reload this page to continue.")&&this.j()};function li(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.l=!1}li.prototype.stopPropagation=function(){this.l=!0};li.prototype.preventDefault=function(){this.defaultPrevented=!0};var mi=function(){if(!A.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=n();A.addEventListener("test",c,b);A.removeEventListener("test",c,b)}catch(d){}return a}();function ni(a,b){li.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.j=null;a&&this.init(a,b)}C(ni,li);
|
||
|
|
ni.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=a.offsetX,this.offsetY=a.offsetY,this.clientX=
|
||
|
|
a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp=a.timeStamp;this.j=a;a.defaultPrevented&&ni.W.preventDefault.call(this)};
|
||
|
|
ni.prototype.stopPropagation=function(){ni.W.stopPropagation.call(this);this.j.stopPropagation?this.j.stopPropagation():this.j.cancelBubble=!0};ni.prototype.preventDefault=function(){ni.W.preventDefault.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var oi="closure_listenable_"+(Math.random()*1E6|0);var pi=0;function qi(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++pi;this.removed=this.ia=!1}function ri(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function si(a){this.src=a;this.j={};this.l=0}si.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.j[f];a||(a=this.j[f]=[],this.l++);var g=ti(a,b,d,e);g>-1?(b=a[g],c||(b.ia=!1)):(b=new qi(b,this.src,f,!!d,e),b.ia=c,a.push(b));return b};si.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.j))return!1;var e=this.j[a];b=ti(e,b,c,d);return b>-1?(ri(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.j[a],this.l--),!0):!1};
|
||
|
|
function ui(a,b){var c=b.type;c in a.j&&ab(a.j[c],b)&&(ri(b),a.j[c].length==0&&(delete a.j[c],a.l--))}si.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.j)if(!a||c==a){for(var d=this.j[c],e=0;e<d.length;e++)++b,ri(d[e]);delete this.j[c];this.l--}return b};function ti(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.removed&&f.listener==b&&f.capture==!!c&&f.handler==d)return e}return-1};var vi="closure_lm_"+(Math.random()*1E6|0),wi={},xi=0;function yi(a,b,c,d,e){if(d&&d.once)return zi(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)yi(a,b[f],c,d,e);return null}c=Ai(c);return a&&a[oi]?a.listen(b,c,Ja(d)?!!d.capture:!!d,e):Bi(a,b,c,!1,d,e)}
|
||
|
|
function Bi(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Ja(e)?!!e.capture:!!e,h=Di(a);h||(a[vi]=h=new si(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=Ei();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)mi||(e=g),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Fi(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");xi++;return c}
|
||
|
|
function Ei(){function a(c){return b.call(a.src,a.listener,c)}var b=Gi;return a}function zi(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)zi(a,b[f],c,d,e);return null}c=Ai(c);return a&&a[oi]?a.l.add(String(b),c,!0,Ja(d)?!!d.capture:!!d,e):Bi(a,b,c,!0,d,e)}
|
||
|
|
function Hi(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)Hi(a,b[f],c,d,e);else(d=Ja(d)?!!d.capture:!!d,c=Ai(c),a&&a[oi])?a.l.remove(String(b),c,d,e):a&&(a=Di(a))&&(b=a.j[b.toString()],a=-1,b&&(a=ti(b,c,d,e)),(c=a>-1?b[a]:null)&&Ii(c))}
|
||
|
|
function Ii(a){if(typeof a!=="number"&&a&&!a.removed){var b=a.src;if(b&&b[oi])ui(b.l,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Fi(c),d):b.addListener&&b.removeListener&&b.removeListener(d);xi--;(c=Di(b))?(ui(c,a),c.l==0&&(c.src=null,b[vi]=null)):ri(a)}}}function Fi(a){return a in wi?wi[a]:wi[a]="on"+a}
|
||
|
|
function Gi(a,b){if(a.removed)a=!0;else{b=new ni(b,this);var c=a.listener,d=a.handler||a.src;a.ia&&Ii(a);a=c.call(d,b)}return a}function Di(a){a=a[vi];return a instanceof si?a:null}var Ji="__closure_events_fn_"+(Math.random()*1E9>>>0);function Ai(a){if(typeof a==="function")return a;a[Ji]||(a[Ji]=function(b){return a.handleEvent(b)});return a[Ji]}kg(function(a){Gi=a(Gi)});function Ki(a,b){li.call(this,a);this.error=b}x(Ki,li);var Li=/\/d\/([^\/]+)/,Mi=/\/r\/([^\/]+)/;function Ni(a){a=a.match(Vf)[5]||null;return Li.test(a)}function Oi(a,b){if(Ni(a)){Ni(a);a=a.match(Vf);var c=a[5];c=c.replace(b,"");b=Uf(a[1],a[2],a[3],a[4],c,a[6],a[7])}else b=a;return b};function Z(){X.call(this);this.l=new si(this);this.Ta=this;this.T=null}C(Z,X);Z.prototype[oi]=!0;q=Z.prototype;q.addEventListener=function(a,b,c,d){yi(this,a,b,c,d)};q.removeEventListener=function(a,b,c,d){Hi(this,a,b,c,d)};
|
||
|
|
q.dispatchEvent=function(a){var b=this.T;if(b){var c=[];for(var d=1;b;b=b.T)c.push(b),++d}b=this.Ta;d=a.type||a;if(typeof a==="string")a=new li(a,b);else if(a instanceof li)a.target=a.target||b;else{var e=a;a=new li(d,b);Rh(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.l&&f>=0;f--){var g=a.currentTarget=c[f];e=Pi(g,d,!0,a)&&e}a.l||(g=a.currentTarget=b,e=Pi(g,d,!0,a)&&e,a.l||(e=Pi(g,d,!1,a)&&e));if(c)for(f=0;!a.l&&f<c.length;f++)g=a.currentTarget=c[f],e=Pi(g,d,!1,a)&&e;return e};
|
||
|
|
q.O=function(){Z.W.O.call(this);this.l&&this.l.removeAll(void 0);this.T=null};q.listen=function(a,b,c,d){return this.l.add(String(a),b,!1,c,d)};function Pi(a,b,c,d){b=a.l.j[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.removed&&g.capture==c){var h=g.listener,k=g.handler||g.src;g.ia&&ui(a.l,g);e=h.call(k,d)!==!1&&e}}return e&&!d.defaultPrevented};function Qi(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=B(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:A.setTimeout(a,b||0)}function Ri(){var a=null;return(new wg(function(b,c){a=Qi(function(){b(void 0)},14E3);a==-1&&c(Error("Failed to schedule timer."))})).va(function(b){A.clearTimeout(a);throw b;})};function Si(a,b,c){X.call(this);this.j=a;this.o=b||0;this.l=c;this.v=B(this.ib,this)}C(Si,X);q=Si.prototype;q.ha=0;q.O=function(){Si.W.O.call(this);this.stop();delete this.j;delete this.l};q.start=function(a){this.stop();this.ha=Qi(this.v,a!==void 0?a:this.o)};q.stop=function(){this.isActive()&&A.clearTimeout(this.ha);this.ha=0};q.isActive=function(){return this.ha!=0};q.ib=function(){this.ha=0;this.j&&this.j.call(this.l)};function Ti(a,b,c,d){X.call(this);this.o=d!=null?d:.15;this.A=a;this.v=b;this.F=c;this.j=new Si(this.ub,void 0,this);this.B=Number.NEGATIVE_INFINITY;this.l=0}x(Ti,X);q=Ti.prototype;q.isActive=function(){return this.j.isActive()};q.start=function(){Ui(this,!1,!1)};function Ui(a,b,c){b&&(a.j.stop(),Vi(a,a.v));a.isActive()||(b=Math.max(0,a.B+a.l-Date.now()),b==0&&(c?b=Vi(a,a.v):a.l=0),a.j.start(b))}q.stop=function(){this.j.stop()};
|
||
|
|
function Vi(a,b){b>0&&a.o!=0&&(b=Math.floor(b*(1-a.o+Math.random()*a.o*2)));return a.l=b}q.ub=function(){this.B=Date.now();Vi(this,Math.min(Math.max(this.l*2,this.v),this.F));this.A()};q.O=function(){this.j.dispose();delete this.j;delete this.A;X.prototype.O.call(this)};function Wi(a){X.call(this);this.l=a;this.j={}}C(Wi,X);var Xi=[];Wi.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(Xi[0]=b.toString()),b=Xi);for(var e=0;e<b.length;e++){var f=yi(a,b[e],c||this.handleEvent,d||!1,this.l||this);if(!f)break;this.j[f.key]=f}return this};Wi.prototype.removeAll=function(){Oh(this.j,function(a,b){this.j.hasOwnProperty(b)&&Ii(a)},this);this.j={}};Wi.prototype.O=function(){Wi.W.O.call(this);this.removeAll()};
|
||
|
|
Wi.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Yi(a,b,c,d,e,f,g){g=g===void 0?!0:g;X.call(this);var h=this;this.j=a;this.j.N=1E4;this.X=b;this.o=f;this.l=new Ti(function(){return h.Ca()},3E4,36E5);this.A=0;this.F=null;this.S=new vh("errorsender",1,8,d);dg(this,this.S);this.N=!1;this.K=null;this.B=new Set;this.H=new Wi(this);this.aa=c||10;this.U=e||null;this.H.listen(this.j,"complete",this.qb);this.H.listen(this.j,"ready",this.Ca);this.P=null;this.M=new Mh;dg(this,this.M);this.o&&Nh(this.M,this.o.l(),function(){h.o.getState().j>=3&&(h.P=
|
||
|
|
(Jh(),Ih));h.o.getState().j>=3||h.P!==(Jh(),Ih)||Zi(h)});this.T=g;this.V={}}x(Yi,X);q=Yi.prototype;q.send=function(a,b,c,d){ph(this.X.get("docs-dafjera"))&&(a=Oi(Oi(a,Mi),Li));var e=$g($g(gh(this.v.length),function(f){if(!(f>=this.aa))return this.T&&(a=W(a,"errorSender_enqueueTimeMs",Date.now().toString())),f={},f.u=a,f.m=b,f.c=c,f.h=d,this.enqueue(f)},this),this.Ca,this);bh(e,function(){this.B.delete(e)},this);this.B.add(e)};function $i(a){return Fg(Array.from(a.B.values())).then(n())}
|
||
|
|
q.Ca=function(){var a=this.o&&this.o.getState().j>=3,b=this.oa()||this.j.isActive()||this.l.isActive()||this.N;return a||b?gh():aj(this)};function aj(a){return function(){return $g(gh(a.v[0]!==void 0?a.v[0]:null),function(b){return bj(a,b)})}()}
|
||
|
|
function bj(a,b){if(a.l.isActive()||a.j.isActive()||a.N)return gh();if(!b)return a.l.stop(),gh();if(b.u.length>4E3)return cj(a);try{xh(a.S);a.K=new Tg;var c=b.u;a.U!=null&&(c=W(c,"reportingSessionId",a.U));a.A>0&&(c=W(c,"retryCount",a.A));a.F!=null&&(c=W(c,"previousErrorSendStatus",a.F));a.T&&(c=W(c,"errorSender_sendTimeMs",Date.now().toString()),c=W(c,"errorSenderType",a.Ka()),b.errorSender_frontIndex&&(c=W(c,"errorSender_frontIndex",b.errorSender_frontIndex)),b.errorSender_nextIndex&&(c=W(c,"errorSender_nextIndex",
|
||
|
|
b.errorSender_nextIndex)),b.errorSender_queueSize&&(c=W(c,"errorSender_queueSize",b.errorSender_queueSize)));a.V=b;var d=b.m,e=b.c,f=b.h;return $g($g(cj(a),function(){a.j.send(c,d,e,f)}),function(){return a.K})}catch(g){if(vf(g)instanceof uh)a.N=!0;else throw Jf(g,{"docs-origin-class":"docs.debug.ErrorSender"});}return gh()}
|
||
|
|
q.qb=function(){var a=dj(this.j),b=this.K,c=ej(this.j)||a>=400&&a<=500,d=this.A>3;c||d?(this.A=0,this.F=null,this.l.stop(),$g(gh(),function(){Vg(b);Wg(b,!0)})):(this.A++,this.F=a===-1?this.j.B:a,Zi(this),this.enqueue(this.V),Vg(b),Wg(b,!0))};function Zi(a){a.A!=1||a.l.isActive()?a.l.start():Ui(a.l,!0,!0)}q.O=function(){cg(this.H,this.l,this.j,this.M);this.B.clear();X.prototype.O.call(this)};q.Ka=ba("BaseErrorSender");function fj(a,b,c,d,e){Yi.call(this,a,b,c,void 0,d,e,void 0);this.v=[]}x(fj,Yi);fj.prototype.enqueue=function(a){this.v.push(a);return gh()};function cj(a){a.v.shift();return gh()}fj.prototype.Ka=ba("MemoryErrorSender");fj.prototype.O=function(){delete this.v;Yi.prototype.O.call(this)};function gj(){var a=a===void 0?!1:a;if(a===void 0?0:a)throw Error("A module ID must be set on the Fava ServiceId a in order to modify extra edges.");}gj.prototype.toString=ba("a");new gj;function hj(a){this.j=Cd(je(),Hc(a));a=pd(this.j,1);this.l=Math.floor(Math.random()*100)<a}hj.prototype.toString=function(){var a="{bool="+!(this.l?!od(this.j,5):!od(this.j,2))+', string="',b=this.l?td(this.j,6):rd(this.j,3);a=a+(b!=null?String(b):"")+'", int=';b=this.l?qc(L(this.j,7,void 0,Tc)):pd(this.j,4,-1);return a+(b!=null?Number(b):-1)+"}"};function ij(a){this.j=new Map;this.l=[];if(a=a.get("docs-cei")){var b=a.i;b&&bb(this.l,b);a=a.cf||{};for(var c in a)this.j.set(c,new hj(a[c]))}}ij.prototype.get=function(a){return this.j.get(a)||null};function jj(){for(var a in Array.prototype)return!1;return!0};var kj=['window[("_callback_" + expid)] is not a function',"Cannot read properties of null (reading 'readyState')","request failed on client side"],lj=[/(undefined|constructor).*YT|YT.*(undefined|constructor)/];function yd(a){this.j=a}function Bd(a){var b=a.j;if(b==null)return null;if(typeof b==="string")return b;throw new TypeError("Invalid string data <K1cgmc>: "+a.j+" (typeof "+typeof a.j+")");}yd.prototype.toString=function(){var a=Bd(this);if(a===null)throw Error("Data K1cgmc not defined.");return a};function mj(a){this.C=J(a)}x(mj,M);mj.prototype.sa=function(a){ud(this,7,a)};function nj(a){this.C=J(a)}x(nj,M);function oj(a){return kd(a,mj,ed(a,pj,4))}var pj=[4,5];function qj(a){this.C=J(a)}x(qj,M);function rj(a){this.C=J(a)}x(rj,M);function Ad(a){this.C=J(a)}x(Ad,M);function sj(a){return kd(a,nj,1)};function tj(){this.j=xd()}
|
||
|
|
tj.prototype.fa=function(){var a=new Map,b,c=(b=this.j)==null?void 0:oj(sj(b));if(c==null?0:pc(L(c,2))!=null){var d;(b=(d=sd(c,2))==null?void 0:d.toString())&&a.set("canaryanalysisservertestgroup",b);if(c==null)var e=void 0;else if((c=ld(c,ee,3))==null)e=void 0;else{d=Number;e=e===void 0?"0":e;b=L(c,1,void 0,void 0,uc);var f=f===void 0?!1:f;var g=typeof b;b==null?f=b:g==="bigint"?f=String(hc(64,b)):oc(b)?g==="string"?(f=b,oc(f),b=kc(Number(f)),ic(b)?f=String(b):(b=f.indexOf("."),b!==-1&&(f=f.substring(0,
|
||
|
|
b)),f=rc(f))):f=f?tc(b):sc(b):f=void 0;e=d(f!=null?f:e);c=pd(c,2);e=(new Date(e*1E3+c/1E6)).valueOf().toString()}e&&a.set("serverstarttimemillis",e)}var h,k;(e=(h=this.j)==null?void 0:(k=ld(h,nj,1))==null?void 0:sd(k,6))&&a.set("clientApp",String(e));return a};function uj(a,b){this.width=a;this.height=b}q=uj.prototype;q.clone=function(){return new uj(this.width,this.height)};q.aspectRatio=function(){return this.width/this.height};q.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};q.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};q.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function vj(a){var b=document;a=String(a);b.contentType==="application/xhtml+xml"&&(a=a.toLowerCase());return b.createElement(a)};function wj(){function a(){}this.j=a.call.bind(a.toString)}
|
||
|
|
wj.prototype.fa=function(){var a=new Map;xj()&&a.set("apps_telemetry.screen_tampered","true");a:{var b=y(Array.prototype),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=!0;break a}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}e=!1}e&&a.set("apps_telemetry.array_prototype_tampered","true");yj()||a.set("apps_telemetry.canvas_creation_broken","true");!zj()&&A.navigator&&A.navigator.webdriver&&a.set("apps_telemetry.webdriver","true");e=!1;b=y(Aj);c=b.next();var f;try{for(;!c.done;c=b.next()){var g=c.value,
|
||
|
|
h=Bj(g.key);h===0?(a.set("apps_telemetry.automation_property_present."+g.R,"true"),e=!0):h===2&&a.set("apps_telemetry.automation_property_check_failed."+g.R,"true")}}finally{c&&!c.done&&(f=b.return)&&f.call(b)}e&&a.set("apps_telemetry.automation_detected","true");f=!1;g=y(Cj);h=g.next();var k;try{for(;!h.done;h=g.next()){var l=h.value,m=l.R,r=Dj(this,l.name,l.la);if(!r.ea){var t=r.reason;a.set("apps_telemetry.native_function_tampering."+m+".reason",t);t==="non_function_type"&&a.set("apps_telemetry.native_function_tampering."+
|
||
|
|
m+".type",r.type);f=!0}}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}f&&a.set("apps_telemetry.native_function_tampering_detected","true");return a};function xj(){if(zj())return!1;var a=A.screen,b=!(a instanceof Screen);if(db||cb)return b;try{var c=n();a.addEventListener("change",c);a.removeEventListener("change",c)}catch(d){b=!0}return b}
|
||
|
|
function yj(){function a(b){try{var c=new uj(1,500);return(b?vj("CANVAS"):new OffscreenCanvas(c.width,c.height)).getContext("2d")!=null}catch(d){return!1}}return a(!1)&&(zj()||a(!0))}function zj(){return"WorkerGlobalScope"in A&&typeof A.WorkerGlobalScope==="function"&&self instanceof A.WorkerGlobalScope}function Bj(a){if(zj()||!A)return 1;try{if(a in A||A.document&&a in A.document)return 0}catch(b){return 2}return 1}
|
||
|
|
function Dj(a,b,c){try{var d=c()}catch(f){return{ea:!1,reason:"not_reachable"}}c=Ej(d);if(c!=="function")return{ea:!1,reason:"non_function_type",type:c};try{var e=a.j(d)}catch(f){return{ea:!1,reason:"to_string_failed"}}a=Fj.exec(e);return a?(a=a[1])?a!==b?{ea:!1,reason:"likely_wrong_native_function"}:{ea:!0}:{ea:!1,reason:"likely_bound_function"}:{ea:!1,reason:"likely_non_native_source"}}
|
||
|
|
function Ej(a){switch(typeof a){case "function":return"function";case "undefined":return"undefined";case "boolean":return"boolean";case "number":return"number";case "string":return"string";case "object":return a===null?"null":"object";case "symbol":return"symbol";case "bigint":return"bigint";default:return"unknown"}}
|
||
|
|
var Aj=[{key:"Cypress",R:"cypress"},{key:"$cdc_asdjflasutopfhvcZLmcfl_",R:"selenium"},{key:"$wdc_",R:"chrome_driver"},{key:"domAutomationController",R:"chromium_automation"},{key:"callPhantom",R:"phantomjs"},{key:"windmill",R:"windmill"},{key:"____LocationIntercept",R:"awesomium"},{key:"awesomium",R:"awesomium"},{key:"ubot",R:"ubot"},{key:"cefsharp_CreatePromise",R:"cefsharp"},{key:"__nightmare",R:"nightmare"}],Cj=[{R:"Object.getOwnPropertyDescriptor",name:"getOwnPropertyDescriptor",la:function(){return Object.getOwnPropertyDescriptor}},
|
||
|
|
{R:"global.addEventListener",name:"addEventListener",la:function(){return A.addEventListener}},{R:"global.fetch",name:"fetch",la:function(){return A.fetch}},{R:"global.Math.random",name:"random",la:function(){return A.Math.random}}],Fj=/^function\s*(?:\s([a-zA-Z_$][\w$]+))?\(\) \{\s+\[native code\]\s+\}$/;var Gj=[],Hj=[],Ij=[RegExp("_0x[a-f0-9]{4,6} is not defined$"),RegExp("[Zz]otero"),RegExp('^Not found$|^Unknown Error of type "string": Not found$')],Jj="egfdjlfmgnehecnclamagfafdccgfndp mndnfokpggljbaajbnioimlmbfngpief mlkejohendkgipaomdopolhpbihbhfnf kgonammgkackdilhodbgbmodpepjocdp klbcgckkldhdhonijdbnhhaiedfkllef pmehocpgjmkenlokgjfkaichfjdhpeol cjlaeehoipngghikfjogbdkpbdgebppb ghbmnnjooekpmoecnnnilnnbdlolhkhi lmjegmlicamnimmfhcmpkclmigmmcbeh gmbmikajjgmnabiglmofipeabaddhgne lpcaedmchfhocbbapmcbpinfpgnhiddi gbkeegbaiigmenfmjfclcdgdpimamgkj adokjfanaflbkibffcbhihgihpgijcei iklnnbgdcppplombffihcijanngoeifm".split(" "),
|
||
|
|
Kj=[RegExp("chrome-extension://([^/]+)","g"),RegExp("moz-extension://([^/]+)","g"),RegExp("ms-browser-extension://([^/]+)","g"),RegExp("webkit-masked-url://([^/]+)","g"),RegExp("safari-web-extension://([^/]+)","g"),RegExp("webpack://(jam-extension)/","g")],Lj=[RegExp("^Permission denied$"),RegExp("index out of range: \\d+ \\+ \\d+ > \\d+"),RegExp("getReadMode(Config|Render|Extract)"),RegExp("Request timeout (?:[a-zA-Z0-9_-]*Distributor|DefineExpirationForLanguagePacks)\\.getValue"),RegExp("Request timeout is(?:Dictate|MathOcr|Prediction)Available"),
|
||
|
|
RegExp("Request timeout get(?:DictionariesByLanguageId|WordMisspellings|WordCompletions|SelectedText)"),RegExp("Request timeout (?:sendAnalyticsEvent|addToPlaylist|playLetters|stopPlay)")],Mj=[RegExp("at file:///|@file:///|phantomjs|node:electron|py-scrap|eval code|Program Files"),RegExp("_0x[a-f0-9]+.*anonymous")],Nj=[RegExp("Script https://meet\\.google\\.com/.*meetsw.*load failed"),RegExp("A bad HTTP response code \\(\\d+\\) was received when fetching the script")],Oj=[RegExp("Error loading.*Consecutive load failures"),
|
||
|
|
RegExp("Failed to load module.*Consecutive load failures")];function Pj(a,b){this.wa=a;this.ka=b}function Qj(a,b){return(b=a.j(b))?{wa:a.wa,ka:a.ka,Ea:b.toUpperCase()}:null};function Rj(){Pj.call(this,1,1)}x(Rj,Pj);Rj.prototype.j=function(a){a:{a=Sj(a);var b=!1,c=y(Kj),d=c.next(),e;try{for(;!d.done;d=c.next()){var f=a.matchAll(d.value),g=y(f),h=g.next(),k;try{for(;!h.done;h=g.next()){var l=h.value[1];if(l){if(Jj.includes(l)){var m=!1;break a}b=!0}}}finally{h&&!h.done&&(k=g.return)&&k.call(g)}}}finally{d&&!d.done&&(e=c.return)&&e.call(c)}m=b}return m?"warning":null};function Tj(a,b,c){c=c===void 0?Uj:c;Pj.call(this,a,b);this.l=c}x(Tj,Pj);
|
||
|
|
Tj.prototype.j=function(a){var b=typeof a.l.get("apps_telemetry.cross_origin_scripts")==="string"?a.l.get("apps_telemetry.cross_origin_scripts"):"",c=a.l.get("apps_telemetry.native_function_tampering_detected")==="true",d=Sj(a),e=d.includes("blob:"),f=y(this.l),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value,l=k.errorMessage,m=k.ra,r=m===void 0?[]:m,t=k.Z,w=t===void 0?[]:t,u=k.qa,K=u===void 0?!1:u,E=k.za,ka=k.Oa,R=ka===void 0?!1:ka;if((E===void 0?0:E)?a.message===l:d.includes(l)){var Ka=r.some(function(yf){return b.includes(yf)}),
|
||
|
|
Ci=w.some(function(yf){return a.j.includes(yf)});r=K&&e;R=R&&c;if(Ka||Ci||r||R)return"warning"}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}return null};
|
||
|
|
var Uj=[{errorMessage:"Cannot read properties of undefined (reading 'addListener')",qa:!0,ra:["infird.com"]},{errorMessage:"browser_polyfill_default(...).runtime.getManifest is not a function",qa:!0,ra:["infird.com"]},{errorMessage:'fileName":',ra:["walkme.com"]},{errorMessage:"] is not a function",qa:!0},{errorMessage:"(reading 'toLowerCase')",qa:!0,Z:["__aiNetCmd__"]},{errorMessage:"Cannot read properties of undefined",Z:["recaptcha"]},{errorMessage:"a is not defined",za:!0,Z:["<anonymous>"]},{errorMessage:"i is not defined",
|
||
|
|
za:!0,Z:["<anonymous>"]},{errorMessage:"Failed to fetch",Z:["__DLD__","frontend.min.js"]},{errorMessage:"Maximum call stack size exceeded",Oa:!0},{errorMessage:"Unexpected end of JSON input",Z:["facebook.net"]},{errorMessage:"Unexpected token ':'",ra:["bpdocajohhnfgbohbmfjeienbcihjlcg"]},{errorMessage:"Cannot read properties of null (reading 'offsetTop')",za:!0,Z:["<anonymous>"]},{errorMessage:"Math.random is not a function",Oa:!0}];function Vj(a,b,c,d,e){e=e===void 0?new Map:e;this.message=a;this.j=b;this.cause=c;this.o=d;this.l=e}function Wj(a){return(a=a.cause)?a.message+"\n"+a.j+"\n"+Wj(a):""}function Sj(a){return a.message+"\n"+a.j+"\n"+Wj(a)}function Xj(){this.o=this.j=this.message="";this.l=new Map}function Yj(a,b){a.message=b;return a}function Zj(a){return new Vj(a.message,a.j,a.cause,a.o,a.l)};function ak(a){return a instanceof Error||a&&a.message!==void 0?a.message:bk(a)}function ck(a){return a instanceof Error||a&&a.stack!==void 0?a.stack||"":""}function dk(a,b){var c=a&&a.cause!==void 0;if(b>=3||!c)return null;c=new Xj;a=a.cause;if(ek(a)){if(Yj(c,ak(a)),c.j=ck(a),b=dk(a,b+1))c.cause=b}else Yj(c,bk(a));return Zj(c)}function ek(a){return a instanceof Error||!!a&&a.message!==void 0&&a.stack!==void 0}
|
||
|
|
function bk(a){try{return ek(a)?a.message+"\n"+a.stack:a&&a instanceof Object?JSON.stringify(a):String(a)}catch(b){return String(a)}}function fk(a,b,c){c=c===void 0?new Map:c;var d=Yj(new Xj,ak(a));d.j=ck(a);d.l=c;if(a=dk(a,0))d.cause=a;b&&(d.o=b);return Zj(d)};function gk(a,b,c,d){Pj.call(this,c,d);this.l=a;this.o=b}x(gk,Pj);gk.prototype.j=function(a){var b=Wj(a);return hk(a.message,this.l)||hk(a.j,this.o)||hk(b,this.l)||hk(b,this.o)?"warning":null};function hk(a,b){b=y(b);var c=b.next(),d;try{for(;!c.done;c=b.next())if(c.value.test(a))return!0}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return!1};function ik(a,b,c,d,e){Pj.call(this,c,d);this.l=a;this.Z=b;this.matchType=e}x(ik,Pj);
|
||
|
|
ik.prototype.j=function(a){switch(this.matchType){case 0:a:{var b=a.message,c=y(this.l);a=c.next();var d;try{for(;!a.done;a=c.next())if(b===a.value){var e=!0;break a}}finally{a&&!a.done&&(d=c.return)&&d.call(c)}e=!1}return e?"warning":null;case 1:a:{e=a.message;d=y(this.l);a=d.next();try{for(;!a.done;a=d.next())if(e.startsWith(a.value)){b=!0;break a}}finally{a&&!a.done&&(c=d.return)&&c.call(d)}b=!1}return b?"warning":null;case 2:return e=Sj(a),jk(e,this.l)||jk(e,this.Z)?"warning":null;default:return null}};
|
||
|
|
function jk(a,b){b=y(b);var c=b.next(),d;try{for(;!c.done;c=b.next())if(a.includes(c.value))return!0}finally{c&&!c.done&&(d=b.return)&&d.call(b)}return!1}function kk(a,b,c){return new ik(a,b,c,0,2)};function lk(a,b,c){Pj.call(this,a,b);this.l=c()}x(lk,Pj);lk.prototype.j=function(){return this.l?null:"unsupported_severe"};var mk=[new Rj,kk("Trusted Type;TrustedHTML;TrustedScript;cannot communicate with background;zaloJSV2;kaspersky-labs;@user-script;Object Not Found Matching Id;contextChanged;Not implemented on this platform;Extension context invalidated;neurosurgeonundergo;realTimeClData;Failed to execute 'querySelectorAll' on 'Document';Promise.all(...).then(...).catch(...).finally is not a function;Error executing Chrome API, chrome.tabs;Identifier 'originalPrompt' has already been declared;User rejected the request;Could not inject ethereum provider because it's not your default extension;Cannot redefine property: googletag;Can't find variable: HTMLDialogElement;Identifier 'listenerName' has already been declared;Cannot read properties of undefined (reading 'info');Permission denied to access property \"type\";Error: Promise timed out;Request timeout ToolbarStatus;Can't find variable: nc;imtgo;ton is not a function;__renderMessageNode is not defined;Cannot redefine property: ethereum;unknown action:;Receiving end does not exist;get-frame-manager-configuration;Key not found;'isAWS';Identifier 'contentScriptListenerRegistered' has already been declared;window.ethereum.selectedAddress;extDomain is not defined;No Listener: tabs:outgoing.message.ready;This script should only be loaded in a browser extension;Identifier 'initCoreHelpers' has already been declared;undefined is not an object (evaluating 't.tab.customFillData');No tab with id:;The browser is shutting down.;User mapping loading timeout;Internal JSON-RPC error;TOKEN_EXPIRED;A listener indicated an asynchronous response by returning true;You must authenticate your request with an API key;Could not inject tron provider;DAB is not enabled.".split(";"),
|
||
|
|
"puppeteer;kaspersky-labs;@user-script;jsQuilting;linkbolic;neurosurgeonundergo;tlscdn;https://cdnjs.cloudflare.com/ajax/libs/mathjax/;secured-pixel.com;Can't find variable: nc;imtgo;_simulateEvent;goguardian;SnapTube.value".split(";"),1),new gk(Ij,Hj,1,0),kk("status is 0, navigator.onLine =;Network sync is disabled. Aborting a network request of int type;The service is currently unavailable.;Internal error encountered.;data does not exist in AF cache;There was an error during the transport or processing of this request;Failed to load gapi;Rpc failed due to xhr error. error code: 6, error: [0];An interceptor has requested that the request be retried;8,\"generic\";A network error occurred;NetworkError: Connection failure due to HTTP 401;NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope';Load failed".split(";"),
|
||
|
|
Gj,2),new gk([],Hj,2,0),new gk(Lj,Mj,3,0),kk("Kg is not defined;uncaught error;The play method is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.;Illegal invocation;Script error;zCommon;can't access dead object;Java exception was raised during method invocation;pauseVideo is not a function;ResizeObserver loop;wallet must has at least one account;xbrowser is not defined;jQuery is not defined;Cannot read properties of null (reading 'requestAnimationFrame');Class extends value undefined is not a constructor or null;GM3TooltipService: No tooltip with id;Mole was disposed;getInitialTopicListResponse is missing for stream rendering;getPeopleById call preempted;The operation is insecure;class heritage;The play() request was interrupted;args.site.enabledFeatures is undefined;frappe is not defined;Cannot set properties of undefined (setting 'hidden');Identifier 'checkOngoingMeeting' has already been declared;AutofillCallbackHandler;invalid wire type;zp_token;isReCreate;HTMLOUT is not defined;Shopify root is null;CanvasMaskingStrategy_Redact;_chromeNamespace;feature named `performanceMetrics`;feature named `webCompat`;Cannot redefine property: webdriver;reCAPTCHA Timeout;feature named `pageObserver` was not found;feature named `hover` was not found;TimeoutError: operation timed out;Sink type mismatch violation blocked by CSP;__firefox__;: Java object is gone;Cannot read properties of undefined (reading 'domInteractive');: t is not defined;sendMessage(). Tab not found.;Can't find variable: __gCrWeb;WKWebView API client did not respond to this postMessage;The provider is disconnected from all chains;The user aborted a request.;Task was cancelled.;lettersVoicesDistributor".split(";"),
|
||
|
|
["postUserData","inline.cdn.mcas.ms","evaluating 'n.standardSelectors'"],3),new gk(Nj,Hj,5,0),kk("Service worker registration is disabled by MDA;An unknown error occurred when fetching the script;Operation has been aborted;Timed out while trying to start the Service Worker;The Service Worker system has shutdown;The user denied permission to use Service Worker;The script resource is behind a redirect, which is disallowed;The document is in an invalid state;ServiceWorker script evaluation failed;ServiceWorker cannot be started;Failed to access storage;Worker disallowed;encountered an error during installation".split(";"),
|
||
|
|
Gj,5),new gk(Oj,Oj,4,0),kk(["Timeout reached for loading script https://www.gstatic.com/_/apps-fileview/_/js/","Error while loading script https://www.gstatic.com/_/apps-fileview/_/js/"],Gj,4)],nk=new Set(["SEVERE","SEVERE_AFTER_INITIAL","UNKNOWN","FATAL",""]);function ok(a){this.l=a;this.j=!1}
|
||
|
|
function pk(a,b,c,d){var e=[Error("uncaught error").message];c=c===void 0?!1:c;d=d===void 0?ba(!0):d;var f=[];b.length>0&&f.push(qk(b));f.push.apply(f,oa(mk));a=y(a);b=a.next();var g;try{for(;!b.done;b=a.next())f.push(b.value)}finally{b&&!b.done&&(g=a.return)&&g.call(a)}e.length>0&&f.push(new ik(e,[],3,5,0));f.push(new Tj(3,0));c&&f.push(new lk(8,0,d));return new ok(f)}
|
||
|
|
function rk(a,b){var c="missing",d=new Map,e=!0;try{c=b.o;a.j&&d.set("apps_telemetry.after_downgraded_severe","true");var f=y(a.l),g=f.next(),h;try{for(;!g.done;g=f.next()){var k=g.value;try{var l=Qj(k,b);if(l){var m=c,r=sk(a,c)?l.Ea:c;tk(l,m,r).forEach(function(w,u){d.set(u,w)});c=r;break}}catch(w){e=!1;var t=fk(w,c);d.set("apps_telemetry.handling_error",Sj(t)+"\n\nclassifier: "+k.constructor.name)}}}finally{g&&!g.done&&(h=f.return)&&h.call(f)}}catch(w){e=!1,a=fk(w,c),d.set("apps_telemetry.handling_error",
|
||
|
|
Sj(a))}d.set("apps_telemetry.processed",String(e));return{Ea:c,ya:d}}function tk(a,b,c){var d=new Map;d.set("apps_telemetry.classification",a.wa.toString());d.set("apps_telemetry.classification_code",a.ka?a.ka.toString():"");d.set("apps_telemetry.incoming_severity",b);d.set("apps_telemetry.outgoing_severity",c);return d}function sk(a,b){return nk.has(b.toUpperCase())?a.j=!0:!1}
|
||
|
|
function qk(a){var b=[];a=y(a);var c=a.next(),d;try{for(;!c.done;c=a.next())b.push(new RegExp(c.value))}finally{c&&!c.done&&(d=a.return)&&d.call(a)}return new gk(b,b,7,0)};function uk(){}uk.prototype.fa=function(){if("WorkerGlobalScope"in A&&typeof A.WorkerGlobalScope==="function"&&self instanceof A.WorkerGlobalScope)return new Map;try{var a=Array.from(document.querySelectorAll("script")).filter(this.l).slice(0,30).map(this.j).join("\n")}catch(b){a="Error getting cross-origin scripts"}return(new Map).set("apps_telemetry.cross_origin_scripts",a)};
|
||
|
|
uk.prototype.l=function(a){var b=new RegExp(/^(?:https?:\/\/)?(?:[a-zA-Z0-9-]+\.)*google\.com(?:$|[\/#?])/);return(a=a.getAttribute("src"))?!(a.startsWith("/")||b.test(a)):!1};uk.prototype.j=function(a){return a.innerHTML?a.outerHTML.slice(0,a.outerHTML.indexOf(a.innerHTML)):a.outerHTML};function vk(){}vk.prototype.fa=function(){try{var a=performance.getEntriesByType("resource").slice(-5).map(function(b){return ag(b.name)}).join("\n")}catch(b){a="Error getting last 5 resources"}return(new Map).set("apps_telemetry.resources",a)};/*
|
||
|
|
|
||
|
|
Math.uuid.js (v1.4)
|
||
|
|
http://www.broofa.com
|
||
|
|
mailto:robert@broofa.com
|
||
|
|
Copyright (c) 2010 Robert Kieffer
|
||
|
|
Dual licensed under the MIT and GPL licenses.
|
||
|
|
*/
|
||
|
|
var wk="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function xk(){var a=[],b;a[8]=a[13]=a[18]=a[23]="-";a[14]="4";for(b=0;b<36;b++)if(!a[b]){var c=0|Math.random()*16;a[b]=wk[b==19?c&3|8:c]}return a.join("")};function yk(a,b){var c=b===void 0?{}:b;b=c.xa;b=b===void 0?[]:b;var d=c.sb;d=d===void 0?[]:d;var e=c.Ia;e=e===void 0?[]:e;var f=c.Bb;var g=c.sessionId;g=g===void 0?xk():g;c=c.xb;this.o=pk(b,d,f===void 0?!1:f,c===void 0?ba(!0):c);this.j=[new wj,new uk,new vk];this.j.push.apply(this.j,oa(e));this.sessionId=g;var h;this.v=(h=A.performance)==null?void 0:h.timeOrigin;this.l=a;this.l.sa(g)}
|
||
|
|
function zk(a,b,c,d){d["apps_telemetry.session_id"]=a.sessionId;d["apps_telemetry.session_start_time_ms"]=String(a.v);"apps_telemetry.processed"in d&&(d["apps_telemetry.multi_processed"]="true");var e=a.fa();(a=Ak(a,b,c,e))&&Bk(e,a.ya);e.forEach(function(g,h){d[h]=g});var f;return(f=a==null?void 0:a.Ea)!=null?f:c}function Ak(a,b,c,d){var e=null,f=null;try{e=fk(b,c,d),f=rk(a.o,e)}catch(g){return Ck(d,g,"apps_telemetry.processed"),null}a.l.Pa(e,f);return f}
|
||
|
|
yk.prototype.fa=function(){var a=new Map;try{var b=y(this.j),c=b.next(),d;try{for(;!c.done;c=b.next())c.value.fa().forEach(function(e,f){a.set(f,e)})}finally{c&&!c.done&&(d=b.return)&&d.call(b)}}catch(e){Ck(a,e,"apps_telemetry.annotated")}return a};function Bk(a,b){b.forEach(function(c,d){a.set(d,c)})}function Ck(a,b,c){a.set(c,"false");a.set("apps_telemetry.handling_error",bk(b))};var Dk=new Set([1,6,7,2,0]);function Ek(){var a=oj(sj(xd())),b=sd(a,1),c=sd(a,5);return[b,c].every(function(d){return Dk.has(d)})};function Fk(a){try{return de(be(),a)}catch(b){return!1}};function Gk(a,b){var c=a=a===void 0?{}:a;a=c.Ia;a=a===void 0?[]:a;var d=c.xa;d=d===void 0?[]:d;var e=c.wb;e=e===void 0?[]:e;var f=c.tb;f=f===void 0?[]:f;var g=c.oc;g=g===void 0?[]:g;var h=c.qc;h=h===void 0?[]:h;c=c.sessionId;c=c===void 0?void 0:c;try{var k=de(be(),fe),l=void 0===Kb?2:4,m=void 0,r=k.C,t=r[G]|0,w=Ib(k,t)?1:l;m=!!m||w===3;w===2&&Pc(k)&&(r=k.C,t=r[G]|0);var u=$c(r,1),K=u===Db?7:u[G]|0,E=ad(K,t);if(k=4&E?!1:!0){4&E&&(u=Array.prototype.slice.call(u),K=0,E=Zc(E,t),t=Wc(r,t,1,u));for(var ka=
|
||
|
|
l=0;l<u.length;l++){var R=vc(u[l]);R!=null&&(u[ka++]=R)}ka<l&&(u.length=ka);R=E|=4;R&=-513;E=R&-1025;E&=-4097}E!==K&&(H(u,E),2&E&&Object.freeze(u));var Ka=u=Xc(u,E,r,t,1,w,k,m)}catch(Ci){Ka=[]}r=Fk(he);t=[];w=t.concat;u=[];e.length>0&&u.push(kk(e,[],6));f.length>0&&u.push(new gk(f,[],6,0));g.length>0&&u.push(new ik(g,[],6,5,0));h.length>0&&u.push(new ik(h,[],6,5,1));return new yk(b,{xa:w.call(t,oa(u),oa(d)),sb:Ka,Ia:[new tj].concat(oa(a)),Bb:r,sessionId:c,xb:Ek})};function Hk(){}Hk.prototype.Pa=n();Hk.prototype.sa=n();function Ik(a){a=a===void 0?{}:a;return Gk(a,new Hk)};function Jk(a){return a?a.split("\n").filter(function(b){return b.trim()&&!b.includes("signal is aborted without reason")}).length:0}function Kk(){Pj.call(this,3,0)}x(Kk,Pj);Kk.prototype.j=function(a){a:{for(;a;){var b=a.message.includes("signal is aborted without reason"),c=Jk(a.j);c=c===1||c===2;if(!b||!c){a=!1;break a}a=a.cause}a=!0}return a?"warning":null};try{var Lk,Mk,Nk=(Mk=(Lk=window)==null?void 0:Lk.top)!=null?Mk:A;Nk.U3bHHf!=null||(Nk.U3bHHf=0);Nk.U3bHHf++}catch(a){A.U3bHHf!=null||(A.U3bHHf=0),A.U3bHHf++};var Ok;if(A==null?0:(Ok=A.Symbol)==null?0:Ok.for){var Pk=Symbol.for("google.goem");A[Pk]||(A[Pk]=new WeakMap)};"#".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");function Qk(a,b){var c=a.__wiz;c||(c=a.__wiz={});return c[b.toString()]};/*
|
||
|
|
|
||
|
|
Copyright 2024 Google, Inc
|
||
|
|
SPDX-License-Identifier: MIT
|
||
|
|
*/
|
||
|
|
var Rk=Object.create(null);var Sk={};
|
||
|
|
function Tk(a){var b=document.body,c=Ta(b.getAttribute("jsaction")||"");var d=["u0pjoe"];var e=y(d),f=e.next(),g;try{for(;!f.done;f=e.next()){var h=f.value;var k=c;if(k){var l=Rk[k];if(l)var m=!!l[h.toString()];else{var r=Sk[h.toString()];r||(r=new RegExp("(^\\s*"+h+"\\s*:|[\\s;]"+h+"\\s*:)"),Sk[h.toString()]=r);m=r.test(k)}}else m=!1;m||(c&&!/;$/.test(c)&&(c+=";"),c+=h+":.CLIENT",Uk(b,c));var t=Qk(b,h);t?t.push(a):b.__wiz[h.toString()]=[a]}}finally{f&&!f.done&&(g=e.return)&&g.call(e)}return{et:d,fb:a,
|
||
|
|
el:b}}function Uk(a,b){a.setAttribute("jsaction",b);"__jsaction"in a&&delete a.__jsaction};function Vk(a){X.call(this);this.l=a}C(Vk,X);Vk.prototype.j=function(a){return Wk(this,a)};function Xk(a,b){a=Object.prototype.hasOwnProperty.call(a,La)&&a[La]||(a[La]=++Ma);return(b?"__wrapper_":"__protected_")+a+"__"}function Wk(a,b){var c=Xk(a,!0);b[c]||((b[c]=Yk(a,b))[Xk(a,!1)]=b);return b[c]}function Yk(a,b){function c(){if(a.oa())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){Zk(a,d)}}c[Xk(a,!1)]=b;return c}
|
||
|
|
function Zk(a,b){if(!(b&&typeof b==="object"&&typeof b.message==="string"&&b.message.indexOf("Error in protected function: ")==0||typeof b==="string"&&b.indexOf("Error in protected function: ")==0))throw a.l(b),new $k(b);}function al(a){var b=b||A.window||A.globalThis;"onunhandledrejection"in b&&(b.onunhandledrejection=function(c){Zk(a,c&&c.reason?c.reason:Error("uncaught error"))})}
|
||
|
|
function bl(a,b){var c=A.window||A.globalThis,d=c[b];if(!d)throw Error(b+" not on global?");c[b]=function(e,f){typeof e==="string"&&(e=Pa(Qa,e));e&&(arguments[0]=e=Wk(a,e));if(d.apply)return d.apply(this,arguments);var g=e;if(arguments.length>2){var h=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,h)}}return d(g,f)};c[b][Xk(a,!1)]=d}
|
||
|
|
Vk.prototype.O=function(){var a=A.window||A.globalThis;var b=a.setTimeout;b=b[Xk(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Xk(this,!1)]||b;a.setInterval=b;Vk.W.O.call(this)};function $k(a){D.call(this,"Error in protected function: "+(a&&a.message?String(a.message):String(a)),a);(a=a&&a.stack)&&typeof a==="string"&&(this.stack=a)}C($k,D);function cl(){Z.call(this);this.headers=new Map;this.o=!1;this.j=null;this.M="";this.B=0;this.A=this.K=this.F=this.H=!1;this.N=0;this.v=null;this.P="";this.S=!1}C(cl,Z);var dl=/^https?$/i,el=["POST","PUT"],fl=[];q=cl.prototype;q.gb=function(){this.dispose();ab(fl,this)};
|
||
|
|
q.send=function(a,b,c,d){if(this.j)throw Error("[goog.net.XhrIo] Object is active with another request="+this.M+"; newUri="+a);if(typeof b==="string")var e=b;else b&&(e=b.method,c!=null||(c=b.body),d!=null||(d=b.headers));e=e?e.toUpperCase():"GET";this.M=a;this.B=0;this.H=!1;this.o=!0;this.j=new XMLHttpRequest;this.j.onreadystatechange=eg(B(this.Qa,this));try{this.K=!0,this.j.open(e,String(a),!0),this.K=!1}catch(t){gl(this);return}a=c||"";b=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===
|
||
|
|
Object.prototype)for(var f in d)b.set(f,d[f]);else if(typeof d.keys==="function"&&typeof d.get==="function"){f=y(d.keys());c=f.next();var g;try{for(;!c.done;c=f.next()){var h=c.value;b.set(h,d.get(h))}}finally{c&&!c.done&&(g=f.return)&&g.call(f)}}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(b.keys()).find(function(t){return"content-type"==t.toLowerCase()});g=A.FormData&&a instanceof A.FormData;!(Array.prototype.indexOf.call(el,e,void 0)>=0)||d||g||b.set("Content-Type",
|
||
|
|
"application/x-www-form-urlencoded;charset=utf-8");e=y(b);d=e.next();var k;try{for(;!d.done;d=e.next()){var l=y(d.value),m=l.next().value,r=l.next().value;this.j.setRequestHeader(m,r)}}finally{d&&!d.done&&(k=e.return)&&k.call(e)}this.P&&(this.j.responseType=this.P);"withCredentials"in this.j&&this.j.withCredentials!==this.S&&(this.j.withCredentials=this.S);try{this.v&&(clearTimeout(this.v),this.v=null),this.N>0&&(this.v=setTimeout(this.yb.bind(this),this.N)),this.F=!0,this.j.send(a),this.F=!1}catch(t){gl(this)}};
|
||
|
|
q.yb=function(){typeof Ea!="undefined"&&this.j&&(this.B=8,this.dispatchEvent("timeout"),this.abort(8))};function gl(a){a.o=!1;a.j&&(a.A=!0,a.j.abort(),a.A=!1);a.B=5;hl(a);il(a)}function hl(a){a.H||(a.H=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}q.abort=function(a){this.j&&this.o&&(this.o=!1,this.A=!0,this.j.abort(),this.A=!1,this.B=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),il(this))};
|
||
|
|
q.O=function(){this.j&&(this.o&&(this.o=!1,this.A=!0,this.j.abort(),this.A=!1),il(this,!0));cl.W.O.call(this)};q.Qa=function(){this.oa()||(this.K||this.F||this.A?jl(this):this.Da())};q.Da=function(){jl(this)};function jl(a){if(a.o&&typeof Ea!="undefined")if(a.F&&(a.j?a.j.readyState:0)==4)setTimeout(a.Qa.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.j?a.j.readyState:0)==4){a.o=!1;try{ej(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.B=6,hl(a))}finally{il(a)}}}
|
||
|
|
function il(a,b){if(a.j){a.v&&(clearTimeout(a.v),a.v=null);var c=a.j;a.j=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}q.isActive=function(){return!!this.j};function ej(a){var b=dj(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}if(!c){if(b=b===0)a=String(a.M).match(Vf)[1]||null,!a&&A.self&&A.self.location&&(a=A.self.location.protocol.slice(0,-1)),b=!dl.test(a?a.toLowerCase():"");c=b}return c}
|
||
|
|
function dj(a){try{return(a.j?a.j.readyState:0)>2?a.j.status:-1}catch(b){return-1}}kg(function(a){cl.prototype.Da=a(cl.prototype.Da)});function kl(a,b,c){Z.call(this);this.A=b||null;this.v={};this.B=ll;this.H=a;if(!c){this.j=null;this.j=new Vk(B(this.o,this));bl(this.j,"setTimeout");bl(this.j,"setInterval");a=this.j;b=A.window||A.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&bl(a,e)}a=this.j;jg=!0;b=B(a.j,a);for(c=0;c<hg.length;c++)hg[c](b);ig.push(a)}}C(kl,Z);
|
||
|
|
function ml(a,b){li.call(this,"c");this.error=a;this.ba=b}C(ml,li);function nl(a,b){return new kl(a,b,void 0)}function ll(a,b,c,d){if(d instanceof Map){var e={};d=y(d);var f=d.next(),g;try{for(;!f.done;f=d.next()){var h=y(f.value),k=h.next().value,l=h.next().value;e[k]=l}}finally{f&&!f.done&&(g=d.return)&&g.call(d)}}else e=d;g=new cl;fl.push(g);g.l.add("ready",g.gb,!0,void 0,void 0);g.send(a,b,c,e)}function ol(a,b){a.B=b}
|
||
|
|
kl.prototype.o=function(a,b){a=a.error||a;b=b?Ph(b):{};a instanceof Error&&Rh(b,ob(a));var c=Df(a);if(this.A)try{this.A(c,b,a)}catch(t){}var d=c.message.substring(0,1900);if(!(a instanceof D)||a.j){var e=c.fileName,f=c.lineNumber;a=c.stack;try{var g=W(this.H,"script",e,"error",d,"line",f);a:{for(var h in this.v){var k=!1;break a}k=!0}if(!k){k=g;var l=$f(this.v);g=Xf(k,l)}l={};l.trace=a;if(b)for(var m in b)l["context."+m]=b[m];var r=$f(l);this.B(g,"POST",r,this.F)}catch(t){}}try{this.dispatchEvent(new ml(c,
|
||
|
|
b))}catch(t){}};kl.prototype.O=function(){bg(this.j);kl.W.O.call(this)};function pl(){this.j=Date.now()}var ql=null;pl.prototype.set=function(a){this.j=a};pl.prototype.reset=function(){this.set(Date.now())};pl.prototype.get=p("j");function rl(a){this.v=a||"";ql||(ql=new pl);this.A=ql}rl.prototype.j=!0;rl.prototype.l=!0;rl.prototype.o=!1;function sl(a){return a<10?"0"+a:String(a)}function tl(a){rl.call(this,a)}C(tl,rl);
|
||
|
|
function ul(a,b){var c=[];c.push(a.v," ");if(a.l){var d=c.push,e=new Date(b.o());d.call(c,"[",sl(e.getFullYear()-2E3)+sl(e.getMonth()+1)+sl(e.getDate())+" "+sl(e.getHours())+":"+sl(e.getMinutes())+":"+sl(e.getSeconds())+"."+sl(Math.floor(e.getMilliseconds()/10)),"] ")}d=c.push;e=a.A.get();e=(b.o()-e)/1E3;var f=e.toFixed(3),g=0;if(e<1)g=2;else for(;e<100;)g++,e*=10;for(;g-- >0;)f=" "+f;d.call(c,"[",f,"s] ");c.push("[",b.l(),"] ");c.push(b.getMessage());a.o&&(b=b.j(),b!==void 0&&c.push("\n",b instanceof
|
||
|
|
Error?b.message:String(b)));a.j&&c.push("\n");return c.join("")};function vl(a){a=a===void 0?new wl:a;Z.call(this);var b=this;this.P={};this.j=null;this.o={};this.M=new Wi(this);this.jb=a.J;this.S=a.K;this.Xa=a.H;this.hb=a.G;this.Ya=a.M;var c=a.l;this.Va=(a.v||Ik)({wb:kj,tb:lj,xa:[new Kk]});this.eb=a.N;this.U=new ki;var d=new cl;xl(this,c);this.B=new fj(d,c,void 0,void 0,void 0);dg(this,this.B);this.v=a.j?a.j:th(c,"docs-sup")+th(c,"docs-jepp")+"/jserror";if(d=th(c,"jobset"))this.v=W(this.v,"jobset",d);if(d=th(c,"docs-ci"))this.v=W(this.v,"id",d);d=th(c,"docs-pid");
|
||
|
|
ph(c.get("docs-eaotx"))&&d&&(this.v=W(this.v,"ouid",d));this.aa=sh(c,"docs-srmoe")||0;this.bb=ph(c.get("docs-oesf"));this.Ha=sh(c,"docs-srmour")||0;this.cb=ph(c.get("docs-oursf"));d=a.A||this.Ha>0&&Math.random()<this.Ha;this.Za=ph(c.get("docs-wesf"));yl(this);Sg=function(g){return zl(b,g,"promise rejection")};var e=sh(c,"docs-srmdue")||0;if(e>0&&Math.random()<e){var f=ph(c.get("docs-duesf"));Zg=function(g){zl(b,g,"deferred error",f,"isDeferredUnhandledErrback")}}else Zg=n();e=sh(c,"docs-srmxue")||
|
||
|
|
0;e=e>0&&Math.random()<e;c.get("docs-xduesf");e&&uf();d&&(d=new Vk(function(g){g=Al(g,"native promise rejection");var h={};h=(h.isUnhandledRejection="true",h);b.cb?Bl(b,g,h):b.info(g,h)}),al(d),dg(this,d));this.K=null;typeof document!=="undefined"&&document.body&&(this.K=Tk(function(g){var h={};h=(h.isWizError="true",h);g=y(g.data.errors);var k=g.next(),l;try{for(;!k.done;k=g.next()){var m=k.value.error;b.Za?Bl(b,m,h):b.info(m,h)}}finally{k&&!k.done&&(l=g.return)&&l.call(g)}}));this.N=a.o;this.F=
|
||
|
|
!1;this.H=!0;this.A=!1;this.X=th(c,"docs-jern");this.Wa=a.F;this.Ua=a.B.concat(Object.values(rf))}x(vl,Z);
|
||
|
|
function yl(a){var b=b===void 0?!1:b;if(Cl){if(Dl!=null)throw Error('ErrorReporter already installed. at "'+Dl.stack+'"');throw Error("ErrorReporter already installed.");}Cl=!0;Dl=Error();a.j=nl(a.v,function(e,f,g){return El(a,e,f,g)});var c={};a.Xa&&(c["X-No-Abort"]="1");a.j.F=c;ol(a.j,function(e,f,g,h){a.H&&a.B.send(e,f,g,h)});if(a.aa>0&&Math.random()<a.aa){c={};var d=(c.isWindowOnError="true",c);a.bb?Cf(function(e){Bl(a,e.error instanceof Error?e.error:Error(e.message),d)}):Cf(function(e){a.log(e.error instanceof
|
||
|
|
Error?e.error:Error(e.message),d)})}a.M.listen(a.j,"c",function(e){var f=b;f=f===void 0?!1:f;e.ba.severity=e.ba["severity-unprefixed"]||e.ba.severity;var g=e.ba.severity;(g=g=="fatal"||g=="postmortem")&&!a.hb&&(a.jb&&!f?a.U.notify(e,e.ba):a.U.notify(void 0,e.ba));a.dispatchEvent(new Ki(g?"a":"b",e.error,e.ba))})}function xl(a,b){b=new ij(b);var c=b.j,d;for(d in c){var e=c[d];e&&(a.o["expflag-"+d]=e.toString())}a.o.experimentIds=b.l.join(",")}
|
||
|
|
function Bl(a,b,c){a.A=!1;Fl(b,"fatal");if(!a.j){if(b instanceof gf)throw b.j;throw Jf(b);}a.j.o(b,Gl(a,b,c));if(a.Ya){c=Gl(a,b,c);c.is_forceFatal=1;var d=b instanceof gf?b.j:b;El(a,d,c);b=Jf(d);a=", context:"+JSON.stringify(Gl(a,d,c));b.message+=a;throw b;}}function Hl(a,b,c){a.A=!1;Fl(b,"warning");a.j&&a.j.o(b,Gl(a,b,c))}vl.prototype.info=function(a,b,c){this.A=c||!1;Fl(a,"incident");this.j&&this.j.o(a,Gl(this,a,b))};
|
||
|
|
vl.prototype.log=function(a,b,c){this.A=!!c;Fl(a,"incident");this.j&&this.j.o(a,Gl(this,a,b))};
|
||
|
|
function Al(a,b){if(a&&typeof a==="object"&&a.type==="error"){var c=a.error;a=JSON.stringify({error:c&&c.message?c.message:"Missing error cause.",stack:c&&c.stack?c.stack:"Missing error cause.",message:a.message,filename:a.filename,lineno:a.lineno,colno:a.colno,type:a.type});b=Error("Unhandled "+b+" with ErrorEvent: "+a)}else b=typeof a==="string"?Error("Unhandled "+b+" with: "+a):typeof a==="number"?Error("Unhandled "+b+" with number: "+a):a==null?Error("Unhandled "+b+' with "null/undefined"'):a;
|
||
|
|
return b}function zl(a,b,c,d,e){d=d===void 0?!0:d;b=Al(b,c);c={};e&&(c[e]="true");d?Sa(b):a.info(b,c)}function Gl(a,b,c){b instanceof gf&&(b=b.j);c=c?Ph(c):{};c.severity=ob(b).severity;(b=b&&b.reportSeverity)&&(c.reportSeverity=b);a.S&&(c.errorGroupId=a.S);return c}
|
||
|
|
function Il(a,b){if(a&&typeof a==="object"&&!a.message&&a.constructor&&a.constructor instanceof Function&&(a.constructor.name?a.constructor.name:Ff(a.constructor))==="Object"){b.unknownErrorToStringResult=Object.prototype.toString.call(a);for(var c=JSON,d=c.stringify,e={},f=Object.keys(a),g=0,h=0;h<f.length&&g<10;h++){var k=f[h];try{typeof a[k]!=="function"&&(e[k]=String(a[k]).substring(0,100),g++)}catch(l){}}b.unknownErrorContent=d.call(c,e)}}
|
||
|
|
function El(a,b,c,d){var e=a.F;try{a.V(b,c,d)}catch(g){throw e&&!a.N&&(a.H=!1),a.F=!0,c.provideLogDataError=g.message,c.severity||(c.severity="fatal"),Jf(g);}finally{if(c["severity-unprefixed"]=c.severity||"fatal",c.severity=""+c["severity-unprefixed"],!a.Wa)for(var f in c)typeof c[f]==="number"||c[f]instanceof Number||typeof c[f]==="boolean"||c[f]instanceof Boolean||a.Ua.includes(f)||f in c&&delete c[f]}}
|
||
|
|
vl.prototype.V=function(a,b,c){Il(c||a,b);for(var d in this.P)try{b[d]=this.P[d](a)}catch(h){}b.errorReportTimeMs||(b.errorReportTimeMs=Date.now().toString());Object.assign(b,this.o);if((Tf(),0)>0){var e=new tl,f="";Sf(function(h){f+=ul(e,h)});b.clientLog=f}c=b.severity||"fatal";(d=b.reportSeverity||a&&a.reportSeverity)&&(d=Jl(d.toLowerCase()))&&(c=d);this.eb||(c=zk(this.Va,a,c,b));this.X&&(b.reportName=this.X+"_"+c);b.isArrayPrototypeIntact=jj().toString();if(!("WorkerGlobalScope"in A&&self instanceof
|
||
|
|
A.WorkerGlobalScope)){try{var g=!!document.getElementById("docs-editor")}catch(h){g=!1}b.isEditorElementAttached=g.toString()}b.documentCharacterSet=document.characterSet;b.origin=String(A.origin);g=a.stack||"";if(g.trim().length==0||g=="Not available")b["stacklessError-reportingStack"]=If(vl.prototype.V),[a.message].concat(oa(Object.keys(b)),oa(Object.values(b))).some(function(h){return h&&h.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+a.name+"'/>");this.F&&!this.N?
|
||
|
|
(this.H=this.A,c=="fatal"?c="postmortem":c=="incident"&&(c="warningafterdeath")):c=="fatal"&&(this.F=!0);this.A=!1;b.severity=c};vl.prototype.O=function(){Cl=!1;if(this.K){var a=this.K,b=y(a.et),c=b.next(),d;try{for(;!c.done;c=b.next()){var e=c.value,f=Qk(a.el,e);if(f&&(ab(f,a.fb),!f.length)){var g=a.el,h=Ta(g.getAttribute("jsaction")||""),k=e+":.CLIENT";h=h.replace(k+";","");h=h.replace(k,"");Uk(g,h)}}}finally{c&&!c.done&&(d=b.return)&&d.call(b)}}cg(this.M,this.j,this.B);Z.prototype.O.call(this)};
|
||
|
|
var Cl=!1,Dl=null;function wl(){this.K=this.l=void 0;this.G=this.M=this.J=!1;this.j=void 0;this.H=this.o=!1;this.F=!0;this.B=[];this.N=this.A=!1;this.v=void 0}function Fl(a,b){a instanceof gf&&(a=a.j);nb(a,"severity",b)}
|
||
|
|
function Jl(a){if(!a)return null;switch(a){case "severe":case "fatal":return"fatal";case "warning":return"warning";case "info":case "unknown":case "incident":return"incident";case "postmortem":return"postmortem";case "warningafterdeath":return"warningafterdeath";default:return null}};function Kl(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function Ll(){this.o=window.crashReport;this.v=new Kl;this.j=0;this.l=new Map}
|
||
|
|
Ll.prototype.initialize=function(a){a=a===void 0?10240:a;var b=this,c,d,e,f,g,h,k,l,m,r,t,w;return Aa(new za(new va(function(u){switch(u.j){case 1:if(b.j!==0)return u.return(b.v.promise);b.j=1;u.T(2,3);return u.F(b.o.initialize(a),5);case 5:b.v.resolve();b.j=2;c=y(b.l);d=c.next();try{for(;!d.done;d=c.next())f=d.value,g=y(f),h=g.next().value,k=g.next().value,l=h,m=k,r=void 0,b.set(l,(r=m)!=null?r:"")}finally{d&&!d.done&&(e=c.return)&&e.call(c)}case 3:u.M();b.l.clear();u.N(4);break;case 2:t=u.K();b.j=
|
||
|
|
3;w=Error("Failed to initialize crash storage",{cause:t});w.reportSeverity="warning";b.v.reject(w);u.ga(3);break;case 4:return u.return(b.v.promise)}})))};Ll.prototype.Ma=function(){return this.j!==0};Ll.prototype.set=function(a,b){if(this.j!==3)if(this.j!==2)this.l.size<100||this.l.has(a)?this.l.set(a,b):this.l.set("cache_full","true");else try{this.o.set(a,b)}catch(c){}};
|
||
|
|
Ll.prototype.delete=function(a){if(this.j!==3)if(this.j!==2)this.l.delete(a);else try{typeof this.o.delete==="function"?this.o.delete(a):this.o.remove(a)}catch(b){}};function Ml(){this.j=!1}Ml.prototype.initialize=function(){this.j=!0;return Promise.resolve()};Ml.prototype.Ma=p("j");Ml.prototype.set=n();Ml.prototype.delete=n();var Nl=new Ml;var Ol=["SEVERE","FATAL"];function Pl(){this.l=this.o=1;this.j=new Ad}Pl.prototype.Pa=function(a,b){var c=b==null?void 0:b.ya.get("apps_telemetry.outgoing_severity");a=c!=null?c:a.o;if(a=this.o===1&&!!a&&Ol.includes(a.toUpperCase()))this.o=2;b=b==null?void 0:b.ya.get("apps_telemetry.incoming_severity");if(c=this.l===1&&!!b&&!!c&&b.toUpperCase()!==c.toUpperCase())this.l=2;if(a||c)c=id(this.j,rj,3),b=new qj,b=vd(b,1,this.o),b=vd(b,2,this.l),nd(c,qj,5,b),Ql(this)};
|
||
|
|
Pl.prototype.sa=function(a){a:{var b=id(this.j,nj,1);var c=pj;Qc(b);if(void 0===Lb){if(ed(b,c,4)!==4){b=void 0;break a}}else dd(b.C,void 0,c,4);b=id(b,mj,4)}b.sa(a);Ql(this)};function Ql(a){var b=Nl,c=b.set;a=JSON.stringify(Gc(a.j));c.call(b,"appsTelemetryCrashReportData",a)};function Rl(a){a=a===void 0?{}:a;if(!Nl.Ma()){try{var b=Fk(ge)}catch(c){b=!1}Nl=b&&window.crashReport?new Ll:new Ml;Nl.initialize()}return Gk(a,new Pl)};function Sl(a,b,c){Z.call(this);this.aa=a;this.K=b;this.S=c||!1;this.N=void 0;this.status=this.readyState=0;this.responseType=this.v=this.o=this.statusText="";this.onreadystatechange=null;this.P=new Headers;this.A=null;this.V="GET";this.X="";this.j=!1;this.U=this.B=this.H=null;this.M=new AbortController;this.F=void 0}C(Sl,Z);q=Sl.prototype;q.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.V=a;this.X=b;this.readyState=1;Tl(this)};
|
||
|
|
q.send=function(a){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");var b,c=((b=this.F)==null?0:b.signal)?AbortSignal.any([this.F.signal,this.M.signal]):this.M.signal;if(c.aborted)throw this.abort(),Error("Request was aborted.");this.j=!0;var d,e,f,g;b=Object.assign({},this.F,{headers:this.P,method:this.V,credentials:(f=(d=this.F)==null?void 0:d.credentials)!=null?f:this.N,cache:(g=(e=this.F)==null?void 0:e.cache)!=null?g:void 0,signal:c});a&&(b.body=a);(this.aa||A).fetch(new Request(this.X,
|
||
|
|
b)).then(this.pb.bind(this),this.na.bind(this))};q.abort=function(){this.o=this.K||this.S?[]:"";this.v="";this.P=new Headers;this.status=0;this.M.abort("Request was aborted.");this.B&&this.B.cancel("Request was aborted.").catch(n());this.readyState>=1&&this.j&&this.readyState!=4&&(this.j=!1,Ul(this));this.readyState=0};
|
||
|
|
q.pb=function(a){if(this.j&&(this.H=a,this.A||(this.status=this.H.status,this.statusText=this.H.statusText,this.A=a.headers,this.readyState=2,Tl(this)),this.j&&(this.readyState=3,Tl(this),this.j)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.nb.bind(this),this.na.bind(this));else if(a.body&&A.ReadableStream){this.B=a.body.getReader();if(this.K||this.S){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" or "streamTextChunks" mode responses.');this.o=
|
||
|
|
[]}else this.o=this.v="";this.K||(this.U=new TextDecoder);Vl(this)}else a.text().then(this.ob.bind(this),this.na.bind(this))};function Vl(a){a.B.read().then(a.mb.bind(a)).catch(a.na.bind(a))}q.mb=function(a){if(this.j){var b=a.value;if(this.K)a.value&&this.o.push(b||new Uint8Array(0));else if(b=b?this.U.decode(b,{stream:!a.done}):"")this.S?this.o.push(b):this.o=this.v+=b;a.done?Ul(this):Tl(this);this.readyState==3&&Vl(this)}};q.ob=function(a){this.j&&(this.o=this.v=a,Ul(this))};
|
||
|
|
q.nb=function(a){this.j&&(this.o=a,Ul(this))};q.na=function(){this.j&&Ul(this)};function Ul(a){a.readyState=4;a.H=null;a.B=null;a.U=null;Tl(a)}q.setRequestHeader=function(a,b){this.P.append(a,b)};q.getResponseHeader=function(a){return this.A?this.A.get(a.toLowerCase())||"":""};q.getAllResponseHeaders=function(){if(!this.A)return"";for(var a=[],b=this.A.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
|
||
|
|
function Tl(a){a.onreadystatechange&&a.onreadystatechange.call(a)}Object.defineProperty(Sl.prototype,"withCredentials",{get:function(){return this.N==="include"},set:function(a){this.N=a?"include":"same-origin"}});function Wl(a){this.j=null;this.l=a<1;this.o=a<.01}function Xl(a,b){var c=c===void 0?{}:c;a.o&&(c.sampling_samplePercentage=(.01).toString(),a.j.info(b,c))}function Yl(a,b,c){c=c===void 0?{}:c;a.l&&(c.sampling_samplePercentage=(1).toString(),Hl(a.j,b,c))};function Zl(a){this.C=J(a)}x(Zl,M);Zl.prototype.getMessage=function(){return rd(this,1)};function $l(a){this.C=J(a)}x($l,M);function am(){var a=new $l;return ud(a,2,Date.now().toString())};function bm(a){this.C=J(a)}x(bm,M);function cm(a){this.C=J(a)}x(cm,M);function dm(a){this.C=J(a)}x(dm,M);var em=Dd(dm);function fm(a){this.C=J(a)}x(fm,M);function gm(a){this.C=J(a)}x(gm,M);function hm(a,b){return vd(a,1,b)}gm.prototype.Aa=function(){return ld(this,Zl,5)};function im(a,b){this.l=b;this.j=a}function jm(a,b){var c=b.j;c&&c.data&&c.ports&&c.ports.length?(b=c.data?em(JSON.stringify(c.data)):new dm,km(a,b,c.ports.length>1?c.ports[1]:void 0).then(function(d){c.ports[0].postMessage(Gc(d))})):Yl(a.j,Error("Dropped invalid event."),{event:String(b)})}function km(a,b,c){return Bg().then(function(){return a.l(b,c)}).va(function(d){d=d instanceof Error?d:Error(d);var e=new gm,f=new Zl;nd(e,Zl,5,f);ud(f,1,d.message);return e})};function lm(a){this.C=J(a)}x(lm,M);function mm(a,b){return vd(a,1,b)}lm.prototype.Aa=function(){return ld(this,Zl,3)};function nm(a){var b=Gg();chrome.runtime.sendMessage(Gc(a),void 0,function(c){return om(b,function(d){return new lm(d)},c)});return b.promise.Sa(function(c){c=Hf(c);nb(c,"offscreenDocumentRequestType",sd(a,1).toString());throw c;})}
|
||
|
|
function om(a,b,c){var d=chrome.runtime;c!==void 0?(d=b(c),d.Aa()?(b=a.reject,c=Error,d=d.Aa(),d=td(d,1),b.call(a,c("Error from Offscreen page:"+d))):a.resolve(d)):a.reject(Error("No response from Offscreen page:"+(d.lastError?d.lastError.message:"without lastError")))};function pm(a){a=a===null?"null":a===void 0?"undefined":a;var b;xf===void 0&&(xf=zf());a=(b=xf)?b.createScriptURL(a):a;return new Af(a)};function qm(a){X.call(this);this.j=this.B=null;this.A=Gg();this.v=!1;this.o=0;this.F=null;this.l=new Wl(a)}x(qm,X);function rm(a){A.clearTimeout(a.o);a.j&&(a.v&&(a.A=Gg(),a.v=!1),a.j.parentNode&&a.j.parentNode.removeChild(a.j),a.j=null);return Promise.resolve()}function sm(a,b){return a.j?Promise.resolve():tm(a,b)}
|
||
|
|
function tm(a,b){b||Xl(a.l,Error("Creating extension frame without an OUID."));var c=um(a,b);return rm(a).then(function(){a.j=vj("IFRAME");a.j.id="extensionFrame";Bf(a.j,pm(c));document.body.appendChild(a.j);a.o=Qi(function(){Yl(a.l,Error("Timed out waiting for frame connection."));return Eg([Ri(),$i(a.B.B)]).then(function(){A.close()})},14E3);return Promise.resolve()})}function um(a,b){return Vh(a.F,"/offline/extension/frame").toString()+"?ouid="+(b?encodeURIComponent(String(b)):"")}
|
||
|
|
function vm(a,b){return Promise.resolve(a.A.promise).then(function(c){var d=new MessageChannel;return(new Promise(function(e){d.port1.onmessage=function(f){e(new fm(f.data))};c.postMessage(Gc(b),[d.port2])})).finally(function(){d.port1.close()})})}qm.prototype.O=function(){rm(this);X.prototype.O.call(this)};function wm(a){this.C=J(a)}x(wm,M);function xm(a){this.C=J(a)}x(xm,M);function ym(a){var b=new xm;return vd(b,1,a)}function zm(a){var b=ym(3);return nd(b,$l,4,a)}function Am(a,b){return nd(a,cm,6,b)};function Bm(){X.call(this);var a=this;this.o=null;this.l=this.j=0;chrome.runtime.onConnectExternal.addListener(function(b){return Cm(a,b)});Dm(this)}x(Bm,X);function Cm(a,b){a.j++;A.clearTimeout(a.l);b.onDisconnect.addListener(function(){a.j--;a.j==0&&Em(a)})}function Em(a){a.j==0&&(A.clearTimeout(a.l),a.l=Qi(function(){a.j==0&&A.close()},6E4))}function Dm(a){Qi(function(){a.o&&Hl(a.o,Hf("Force closed the offscreen document after one hour."));A.close()},36E5)};function Fm(){B(this.o,this);this.j=new tl;this.j.l=!1;this.j.o=!1;this.l=this.j.j=!1;this.v={}}function Gm(a){1!=a.l&&(a.l=!0)}Fm.prototype.o=function(a){function b(f){if(f){if(f.value>=Nf.value)return"error";if(f.value>=Of.value)return"warn";if(f.value>=Pf.value)return"log"}return"debug"}if(!this.v[a.l()]){var c=ul(this.j,a),d=Hm;if(d){var e=b(a.v());Im(d,e,c,a.j())}}};var Hm=A.console;function Im(a,b,c,d){if(a[b])a[b](c,d===void 0?"":d);else a.log(c,d===void 0?"":d)};function Jm(){X.call(this);var a=this,b=new Sh(self.location);this.V=Km(b,"sessionId",function(c){return String(c)},kf());this.j=this.l=this.M=null;this.o=new Bm;Em(this.o);this.T=new Fm;Gm(this.T);this.K=new Wi(this);dg(this,this.K);this.K.listen(A,"message",this.S);this.H=Km(b,"randomPercentageForSampling",function(c){return Number(c)},Math.random()*100);this.N=this.H<1;this.v=new Wl(this.H);this.B="unknown";this.F=null;this.A="unknown";this.P=new im(this.v,function(c,d){return Lm(a,c,d)});chrome.runtime.onMessage.addListener(this.U.bind(this))}
|
||
|
|
x(Jm,X);Jm.prototype.S=function(a){jm(this.P,a)};function Lm(a,b,c){var d=hm(new gm,pc(L(b,1)));switch(pc(L(b,1,void 0,Tc))){case 1:b=(b=ld(b,$l,7))?td(b,1):null;var e=am();b?ud(e,1,b):Xl(a.v,Error("Scheduler frame connect request sent without an ouid."));b=zm(e);return nm(b).then(function(){var f=a.j;f.A.resolve(c);f.v=!0;A.clearTimeout(f.o)}).then(function(){return d});case 3:return b=Am(ym(7),ld(b,cm,3)),nm(b).then(function(){return d})}throw Error("Dropped unknown message "+b);}
|
||
|
|
Jm.prototype.U=function(a,b,c){var d=this;A.clearTimeout(this.o.l);var e=new xm(a);Mm(this,e).then(function(f){c(Gc(f))}).catch(function(f){var g=f instanceof Error?f:Error(f);f=new Zl;ud(f,1,g.message);g=mm(new lm,pc(L(e,1)));nd(g,Zl,3,f);c(Gc(g))}).finally(function(){Em(d.o)});return!0};
|
||
|
|
function Mm(a,b){var c=mm(new lm,pc(L(b,1)));try{switch(pc(L(b,1,void 0,Tc))){case 1:return Nm(a,b),tm(a.j,a.F).then(function(){return c});case 4:return vm(a.j,ld(b,bm,5)).then(function(d){nd(c,fm,4,d);return c});case 5:return rm(a.j).then(function(){return c});case 6:return Nm(a,b),sm(a.j,a.F).then(function(){return c});default:throw Error("Dropped unknown message");}}catch(d){return Promise.reject(d)}}
|
||
|
|
function Nm(a,b){if(!a.j){b=ld(b,wm,2);a.F=td(b,1);a.M=td(b,2);var c;a.B=(c=vc(L(b,4)))!=null?c:a.B;var d;a.A=(d=vc(L(b,3)))!=null?d:a.A;c=new Sh(a.M);var e=Vh(c,"/offline/jserror").toString();d=a.N;b=a.V;var f=f===void 0?!1:f;var g=g===void 0?mh():g;var h=h===void 0?!1:h;var k=new wl;k.J=!1;k.G=!0;k.j=e;k.o=f;k.l=g;k.A=h;k.v=Rl;f=new vl(k);f.o.sessionTypeName="offline-off-screen-document";f.o.reportsNonFatalErrors=String(d);f.o.sid=b;f.o.extensionVersion=a.A;f.o.optInStatus=a.B;a.l=f;dg(a,a.l);a.v.j=
|
||
|
|
a.l;a.o.o=a.l;a.j=new qm(a.H,"OffscreenDocument");f=a.j;g=a.l;f.B=g;f.l.j=g;a.j.F=c;dg(a,a.j)}}function Km(a,b,c,d){a=a.o.ma(b);return a.length!=0?c(a[0]):d};new Jm;
|