219 lines
114 KiB
JavaScript
219 lines
114 KiB
JavaScript
'use strict';function aa(){return function(a){return a}}function n(){return function(){}}function ba(a){return function(){return this[a]}}function ca(a){return function(){return a}}var p,da=typeof Object.create=="function"?Object.create:function(a){function b(){}b.prototype=a;return new b},ea=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 fa(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 ha=fa(this);function q(a,b){if(b)a:{var c=ha;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&&ea(c,a,{configurable:!0,writable:!0,value:b})}}var ia;
|
|
if(typeof Object.setPrototypeOf=="function")ia=Object.setPrototypeOf;else{var ka;a:{var la={a:!0},ma={};try{ma.__proto__=la;ka=ma.a;break a}catch(a){}ka=!1}ia=ka?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var na=ia;
|
|
function u(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(na)na(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.T=b.prototype}function oa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}
|
|
function v(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:oa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function pa(a){if(!(a instanceof Array)){a=v(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}q("globalThis",function(a){return a||ha});
|
|
q("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.g=f;ea(this,"description",{configurable:!0,writable:!0,value:g})}if(a)return a;c.prototype.toString=ba("g");var d="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",e=0;return b});
|
|
q("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ea(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return qa(oa(this))}});return a});function qa(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}
|
|
q("Promise",function(a){function b(g){this.g=0;this.l=void 0;this.j=[];this.J=!1;var h=this.o();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}}function c(){this.g=null}function d(g){return g instanceof b?g:new b(function(h){h(g)})}if(a)return a;c.prototype.j=function(g){if(this.g==null){this.g=[];var h=this;this.l(function(){h.v()})}this.g.push(g)};var e=ha.setTimeout;c.prototype.l=function(g){e(g,0)};c.prototype.v=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h<g.length;++h){var k=
|
|
g[h];g[h]=null;try{k()}catch(l){this.o(l)}}}this.g=null};c.prototype.o=function(g){this.l(function(){throw g;})};b.prototype.o=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.v)}};b.prototype.M=function(g){if(g===this)this.v(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.N(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.v(k);return}typeof h=="function"?this.O(h,g):this.G(g)};b.prototype.v=function(g){this.A(2,g)};b.prototype.G=function(g){this.A(1,g)};b.prototype.A=function(g,h){if(this.g!=0)throw Error("Cannot settle("+g+", "+h+"): Promise already settled in state"+this.g);this.g=g;this.l=h;this.g===2&&this.P();this.D()};b.prototype.P=function(){var g=this;e(function(){if(g.H()){var h=ha.console;typeof h!=="undefined"&&h.error(g.l)}},1)};b.prototype.H=
|
|
function(){if(this.J)return!1;var g=ha.CustomEvent,h=ha.Event,k=ha.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=ha.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.l;return k(g)};b.prototype.D=function(){if(this.j!=null){for(var g=0;g<this.j.length;++g)f.j(this.j[g]);this.j=null}};var f=new c;
|
|
b.prototype.N=function(g){var h=this.o();g.fa(h.resolve,h.reject)};b.prototype.O=function(g,h){var k=this.o();try{g.call(h,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,h){function k(r,y){return typeof r=="function"?function(I){try{l(r(I))}catch(N){m(N)}}:y}var l,m,t=new b(function(r,y){l=r;m=y});this.fa(k(g,l),k(h,m));return t};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.fa=function(g,h){function k(){switch(l.g){case 1:g(l.l);break;case 2:h(l.l);
|
|
break;default:throw Error("Unexpected state: "+l.g);}}var l=this;this.j==null?f.j(k):this.j.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=v(g),m=l.next();!m.done;m=l.next())d(m.value).fa(h,k)})};b.all=function(g){var h=v(g),k=h.next();return k.done?d([]):new b(function(l,m){function t(I){return function(N){r[I]=N;y--;y==0&&l(r)}}var r=[],y=0;do r.push(void 0),y++,d(k.value).fa(t(r.length-1),m),k=h.next();
|
|
while(!k.done)})};return b});function ra(a,b){return Object.prototype.hasOwnProperty.call(a,b)}var sa=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)ra(d,e)&&(a[e]=d[e])}return a};q("Object.assign",function(a){return a||sa});q("Symbol.dispose",function(a){return a?a:Symbol("Symbol.dispose")});
|
|
q("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}});
|
|
q("WeakMap",function(a){function b(k){this.g=(h+=Math.random()+1).toString();if(k){k=v(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(!ra(k,g)){var l=new c;ea(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(t){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(!ra(k,g))throw Error("WeakMap key fail: "+k);k[g][this.g]=l;return this};b.prototype.get=function(k){return d(k)&&ra(k,g)?k[g][this.g]:void 0};b.prototype.has=function(k){return d(k)&&ra(k,
|
|
g)&&ra(k[g],this.g)};b.prototype.delete=function(k){return d(k)&&ra(k,g)&&ra(k[g],this.g)?delete k[g][this.g]:!1};return b});
|
|
q("Map",function(a){function b(){var h={};return h.previous=h.next=h.head=h}function c(h,k){var l=h[1];return qa(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&&ra(h[0],l))for(h=0;h<m.length;h++){var t=m[h];if(k!==k&&t.key!==t.key||k===t.key)return{id:l,list:m,index:h,entry:t}}return{id:l,
|
|
list:m,index:-1,entry:void 0}}function e(h){this[0]={};this[1]=b();this.size=0;if(h){h=v(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(v([[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(t){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});
|
|
q("Set",function(a){function b(c){this.g=new Map;if(c){c=v(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.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(v([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.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=
|
|
b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});q("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)ra(b,d)&&c.push(b[d]);return c}});q("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
|
|
q("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 ta(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+""}
|
|
q("String.prototype.includes",function(a){return a?a:function(b,c){return ta(this,b,"includes").indexOf(b,c||0)!==-1}});q("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}});
|
|
q("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)ra(b,d)&&c.push([d,b[d]]);return c}});q("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});q("Number.MAX_SAFE_INTEGER",ca(9007199254740991));q("Number.MIN_SAFE_INTEGER",ca(-9007199254740991));q("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});
|
|
q("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});q("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ta(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 ua(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}q("Array.prototype.entries",function(a){return a?a:function(){return ua(this,function(b,c){return[b,c]})}});q("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}});
|
|
q("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});q("Array.prototype.keys",function(a){return a?a:function(){return ua(this,aa())}});q("Array.prototype.values",function(a){return a?a:function(){return ua(this,function(b,c){return c})}});q("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}});
|
|
q("String.prototype.repeat",function(a){return a?a:function(b){var c=ta(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}});
|
|
q("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"),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}});
|
|
q("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 va=va||{},w=this||self;function wa(a,b){var c=xa("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b}function xa(a){a=a.split(".");for(var b=w,c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b}function ya(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"}function za(a){var b=ya(a);return b=="array"||b=="object"&&typeof a.length=="number"}function Aa(a){var b=typeof a;return b=="object"&&a!=null||b=="function"}var Ba="closure_uid_"+(Math.random()*1E9>>>0),Ca=0;
|
|
function Da(a,b,c){return a.call.apply(a.bind,arguments)}function Ea(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 x(a,b,c){x=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Da:Ea;return x.apply(null,arguments)}
|
|
function Fa(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 Ga(a){(0,eval)(a)}function Ha(a){return a}function z(a,b){function c(){}c.prototype=b.prototype;a.T=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.cc=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 A(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.g=!0}z(A,Error);A.prototype.name="CustomError";function Ia(a){w.setTimeout(function(){throw a;},0)};var Ja=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};var Ka=wa(610401301,!1),La=wa(748402147,!0),Ma=wa(824656860,!0);var Na,Oa=w.navigator;Na=Oa?Oa.userAgentData||null:null;function Pa(a){if(!Ka||!Na)return!1;for(var b=0;b<Na.brands.length;b++){var c=Na.brands[b].brand;if(c&&c.indexOf(a)!=-1)return!0}return!1}function B(a){var b;a:{if(b=w.navigator)if(b=b.userAgent)break a;b=""}return b.indexOf(a)!=-1};function Qa(){return Ka?!!Na&&Na.brands.length>0:!1};function Ra(a,b){return Array.prototype.some.call(a,b,void 0)}function Sa(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 Ta(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(za(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 Ua=B("Firefox")||B("FxiOS"),Va=B("Safari")&&!((Qa()?Pa("Chromium"):(B("Chrome")||B("CriOS"))&&(Qa()||!B("Edge"))||B("Silk"))||(Qa()?0:B("Coast"))||(Qa()?0:B("Opera"))||(Qa()?0:B("Edge"))||(Qa()?Pa("Microsoft Edge"):B("Edg/"))||(Qa()?Pa("Opera"):B("OPR"))||B("Firefox")||B("FxiOS")||B("Silk")||B("Android"))&&!(B("iPhone")&&!B("iPod")&&!B("iPad")||B("iPad")||B("iPod"));var Wa={},Xa=null;var Ya=typeof Uint8Array!=="undefined",Za=typeof btoa==="function",$a={},ab=typeof structuredClone!="undefined";function bb(a,b){if(b!==$a)throw Error("illegal external caller");this.g=a;if(a!=null&&a.length===0)throw Error("ByteString should be constructed with non-empty values");}function cb(){return db||(db=new bb(null,$a))}var db;function eb(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c}function fb(a){return a.__closure__error__context__984382||{}};var gb=void 0;function hb(a,b){if(a!=null){var c;var d=(c=gb)!=null?c:gb={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),eb(a,"severity","incident"),Ia(a))}};function ib(){return typeof BigInt==="function"};var jb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function kb(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 lb=kb("jas",void 0,!0),mb=kb(void 0,"0di"),nb=kb(void 0,"1oa"),ob=kb(void 0,Symbol()),pb=kb(void 0,"0ubs"),qb=kb(void 0,"0actk"),rb=kb("m_m","fc",!0);Math.max.apply(Math,pa(Object.values({Gb:1,Eb:2,Bb:4,Pb:8,Yb:16,Lb:32,nb:64,zb:128,xb:256,Vb:512,yb:1024,Ab:2048,Mb:4096,Hb:8192})));var sb={bb:{value:0,configurable:!0,writable:!0,enumerable:!1}},tb=Object.defineProperties,C=jb?lb:"bb",ub,vb=[];D(vb,7);ub=Object.freeze(vb);function wb(a,b){jb||C in a||tb(a,sb);a[C]|=b}function D(a,b){jb||C in a||tb(a,sb);a[C]=b}function xb(a){wb(a,34);return a};var yb={};function zb(a,b){return b===void 0?a.g!==Ab&&!!(2&(a.C[C]|0)):!!(2&b)&&a.g!==Ab}var Ab={},Bb=Object.freeze({});function Cb(a){a.ec=!0;return a};var Db=Cb(function(a){return typeof a==="number"}),Eb=Cb(function(a){return typeof a==="string"}),Fb=Cb(function(a){return typeof a==="boolean"}),Gb=Cb(function(a){return typeof a==="bigint"});var Hb=typeof w.BigInt==="function"&&typeof w.BigInt(0)==="bigint";function Ib(a){var b=a;if(Eb(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Db(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Hb?BigInt(a):a=Fb(a)?a?"1":"0":Eb(a)?a.trim()||"0":String(a)}
|
|
var Jb=Cb(function(a){return Hb?Gb(a):Eb(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Pb=Cb(function(a){return Hb?a>=Kb&&a<=Lb:a[0]==="-"?Mb(a,Nb):Mb(a,Ob)}),Nb=Number.MIN_SAFE_INTEGER.toString(),Kb=Hb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Ob=Number.MAX_SAFE_INTEGER.toString(),Lb=Hb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Mb(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 E=0,F=0;function Qb(a){var b=a>>>0;E=b;F=(a-b)/4294967296>>>0}function Rb(a){if(a<0){Qb(0-a);var b=v(Sb(E,F));a=b.next().value;b=b.next().value;E=a>>>0;F=b>>>0}else Qb(a)}function Tb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else ib()?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+Ub(c)+Ub(a));return c}
|
|
function Ub(a){a=String(a);return"0000000".slice(a.length)+a}function Vb(){var a=E,b=F;b&2147483648?ib()?a=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):(b=v(Sb(a,b)),a=b.next().value,b=b.next().value,a="-"+Tb(a,b)):a=Tb(a,b);return a}function Sb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};var Wb=typeof BigInt==="function"?BigInt.asIntN:void 0,Xb=Number.isSafeInteger,Yb=Number.isFinite,Zb=Math.trunc;function $b(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function ac(a){return a.displayName||a.name||"unknown type name"}var bc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function cc(a){switch(typeof a){case "bigint":return!0;case "number":return Yb(a);case "string":return bc.test(a);default:return!1}}
|
|
function dc(a){if(!Yb(a))throw a=Error("enum"),eb(a,"severity","warning"),a;return a|0}function ec(a){return a==null?a:Yb(a)?a|0:void 0}function fc(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Yb(a)?a|0:void 0}
|
|
function hc(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)Rb(Number(a));else if(ib())a=BigInt(a),E=Number(a&BigInt(4294967295))>>>0,F=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");F=E=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)),F*=1E6,E=E*1E6+d,E>=4294967296&&(F+=Math.trunc(E/4294967296),F>>>=0,E>>>=0);b&&(b=v(Sb(E,F)),a=b.next().value,b=b.next().value,E=a,F=b)}return Vb()}
|
|
function ic(a){cc(a);a=Zb(a);if(!Xb(a)){Rb(a);var b=E,c=F;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:Tb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function jc(a){cc(a);a=Zb(a);Xb(a)?a=String(a):(Rb(a),a=Vb());return a}
|
|
function kc(a,b){b=b===void 0?!1:b;var c=typeof a;if(a==null)return a;if(c==="bigint")return String(Wb(64,a));if(cc(a))return c==="string"?(cc(a),b=Zb(Number(a)),Xb(b)?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=hc(a))):a=b?jc(a):ic(a),a}
|
|
function lc(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return Ib(Wb(64,a));if(cc(a))return b==="string"?(b=Zb(Number(a)),Xb(b)?a=Ib(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a=ib()?Ib(Wb(64,BigInt(a))):Ib(hc(a)))):a=Xb(a)?Ib(ic(a)):Ib(jc(a)),a}function mc(a){return a==null||typeof a==="string"?a:void 0}function nc(a,b,c,d){if(a!=null&&a[rb]===yb)return a;if(!Array.isArray(a))return c?d&2?b[mb]||(b[mb]=oc(b)):new b:void 0;c=a[C]|0;d=c|d&32|d&2;d!==c&&D(a,d);return new b(a)}
|
|
function oc(a){a=new a;xb(a.C);return a};function pc(a){return a};function qc(){}function rc(a,b){for(var c in a)!isNaN(c)&&b(a,+c,a[c])}function sc(a){var b=new qc;rc(a,function(c,d,e){b[d]=Array.prototype.slice.call(e)});b.g=a.g;return b}function tc(a,b){b<100||hb(pb,1)};function uc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Ha(ob),g;!e&&jb&&f&&(g=a[f])&&rc(g,tc);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 t=h&&a[h-1];t!=null&&typeof t==="object"&&t.constructor===Object?(h--,g=h):t=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=vc)!=null?r:pc)(g-m,m,a,t,void 0)+m}}b=void 0;for(r=0;r<h;r++){var y=a[r];if(y!=null&&(y=c(y,d))!=null)if(l&&r>=g){var I=r-m,N=void 0;((N=b)!=null?N:b={})[I]=y}else f[r]=y}if(t)for(var ja in t)h=t[ja],
|
|
h!=null&&(h=c(h,d))!=null&&(r=+ja,y=void 0,l&&!Number.isNaN(r)&&(y=r+m)<g?f[y]=h:(r=void 0,((r=b)!=null?r:b={})[ja]=h));b&&(k?f.push(b):f[g]=b);e&&Ha(ob)&&(a=(c=Ha(ob))?a[c]:void 0)&&a instanceof qc&&(f[ob]=sc(a));return f}
|
|
function wc(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Pb(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){var b=a[C]|0;return a.length===0&&b&1?void 0:uc(a,b,wc)}if(a!=null&&a[rb]===yb)return xc(a);if(a instanceof bb){b=a.g;if(b==null)a="";else if(typeof b==="string")a=b;else{if(Za){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(!Xa){Xa={};d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split("");e=["+/=","+/","-_=","-_.","-_"];for(var f=0;f<5;f++){var g=d.concat(e[f].split(""));Wa[f]=g;for(var h=0;h<g.length;h++){var k=g[h];Xa[k]===void 0&&(Xa[k]=h)}}}c=Wa[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.g=b}return a}return}return a}var yc=ab?structuredClone:function(a){return uc(a,0,wc)},vc;function xc(a){a=a.C;return uc(a,a[C]|0,wc)};function G(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[C]|0;if(La&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&zc();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&D(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}}}D(a,e|64|d);return a}function zc(){if(La)throw Error("carr");hb(qb,5)};function Ac(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[C]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Bc(a,c,!1,b&&!(c&16)):(wb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[rb]===yb)return b=a.C,c=b[C]|0,zb(a,c)?a:Cc(a,b,c)?Dc(a,b):Bc(b,c);if(a instanceof bb)return a}function Dc(a,b,c){a=new a.constructor(b);c&&(a.g=Ab);a.j=Ab;return a}function Bc(a,b,c,d){d!=null||(d=!!(34&b));a=uc(a,b,Ac,d);d=32;c&&(d|=2);b=b&16769217|d;D(a,b);return a}
|
|
function Ec(a){var b=a.C,c=b[C]|0;return zb(a,c)?Cc(a,b,c)?Dc(a,b,!0):new a.constructor(Bc(b,c,!1)):a}function Fc(a){if(a.g!==Ab)return!1;var b=a.C;b=Bc(b,b[C]|0);wb(b,2048);a.C=b;a.g=void 0;a.j=void 0;return!0}function Gc(a,b){b===void 0&&(b=a[C]|0);b&32&&!(b&4096)&&D(a,b|4096)}function Cc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(D(b,c|2),a.g=Ab,!0):!1};var Hc=Ib(0),Ic={};function H(a,b,c,d,e){Object.isExtensible(a);b=Jc(a.C,b,c,e);if(b!==null||d&&a.j!==Ab)return b}function Jc(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 Kc(a,b,c){if(!Fc(a)&&zb(a,a.C[C]|0))throw Error();var d=a.C;Lc(d,d[C]|0,b,c);return a}function Lc(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[C]|0)>>14&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b}
|
|
function Mc(a,b,c,d,e,f,g,h){var k=b;f===1||(f!==4?0:2&b||!(16&b)&&32&d)?Nc(b)||(b|=!a.length||g&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==k&&D(a,b),Object.freeze(a)):(f===2&&Nc(b)&&(a=Array.prototype.slice.call(a),k=0,b=Oc(b,d),d=Lc(c,d,e,a)),Nc(b)||(h||(b|=16),b!==k&&D(a,b)));2&b||!(4096&b||16&b)||Gc(c,d);return a}function Pc(a,b){a=Jc(a,b);return Array.isArray(a)?a:ub}function Qc(a,b){2&b&&(a|=2);return a|1}function Nc(a){return!!(2&a)&&!!(4&a)||!!(256&a)}
|
|
function Rc(a){return a==null?a:typeof a==="string"?a?new bb(a,$a):cb():a.constructor===bb?a:Ya&&a!=null&&a instanceof Uint8Array?a.length?new bb(new Uint8Array(a),$a):cb():void 0}function Sc(a,b,c){return Tc(a,b)===c?c:-1}
|
|
function Tc(a,b){a=a.C;if(jb){var c;var d=(c=a[nb])!=null?c:a[nb]=new Map}else nb in a?d=a[nb]:(c=new Map,Object.defineProperty(a,nb,{value:c}),d=c);c=d;d=void 0;var e=c.get(b);if(e==null){for(var f=e=0;f<b.length;f++){var g=b[f];Jc(a,g)!=null&&(e!==0&&(d=Lc(a,d,e)),e=g)}c.set(b,e)}return e}function Uc(a,b,c,d){var e=!1;d=Jc(a,d,void 0,function(f){var g=nc(f,c,!1,b);e=g!==f&&g!=null;return g});if(d!=null)return e&&!zb(d)&&Gc(a,b),d}
|
|
function Vc(a,b,c){a=a.C;return Uc(a,a[C]|0,b,c)||b[mb]||(b[mb]=oc(b))}function Wc(a,b,c){var d=a.C,e=d[C]|0;b=Uc(d,e,b,c);if(b==null)return b;e=d[C]|0;if(!zb(a,e)){var f=Ec(b);f!==b&&(Fc(a)&&(d=a.C,e=d[C]|0),b=f,e=Lc(d,e,c,b),Gc(d,e))}return b}
|
|
function Xc(a,b,c){var d=void 0===Bb?2:4,e=a.C,f=e;e=e[C]|0;var g=zb(a,e),h=g?1:d;d=h===3;var k=!g;(h===2||k)&&Fc(a)&&(f=a.C,e=f[C]|0);a=Pc(f,c);var l=a===ub?7:a[C]|0,m=Qc(l,e);if(g=!(4&m)){var t=a,r=e,y=!!(2&m);y&&(r|=2);for(var I=!y,N=!0,ja=0,Hd=0;ja<t.length;ja++){var Id=nc(t[ja],b,!1,r);if(Id instanceof b){if(!y){var mg=zb(Id);I&&(I=!mg);N&&(N=mg)}t[Hd++]=Id}}Hd<ja&&(t.length=Hd);m|=4;m=N?m&-4097:m|4096;m=I?m|8:m&-9}m!==l&&(D(a,m),2&m&&Object.freeze(a));if(k&&!(8&m||!a.length&&(h===1||(h!==4?
|
|
0:2&m||!(16&m)&&32&e)))){Nc(m)&&(a=Array.prototype.slice.call(a),m=Oc(m,e),e=Lc(f,e,c,a));b=a;k=m;for(l=0;l<b.length;l++)t=b[l],m=Ec(t),t!==m&&(b[l]=m);k|=8;m=k=b.length?k|4096:k&-4097;D(a,m)}return a=Mc(a,m,f,e,c,h,g,d)}function Yc(a,b,c,d){if(d!=null){if(!(d instanceof b))throw Error("Expected instanceof "+ac(b)+" but got "+(d&&ac(d.constructor)));}else d=void 0;Kc(a,c,d);d&&!zb(d)&&Gc(a.C);return a}function Oc(a,b){return a=(2&b?a|2:a&-3)&-273}
|
|
function Zc(a,b){var c=c===void 0?!1:c;a=H(a,b);a=a==null||typeof a==="boolean"?a:typeof a==="number"?!!a:void 0;return a!=null?a:c}function $c(a,b,c){c=c===void 0?0:c;var d;return(d=fc(H(a,b)))!=null?d:c}function ad(a,b){var c=c===void 0?Hc:c;a=Ma?H(a,b,void 0,void 0,lc):lc(H(a,b));return a!=null?a:c}function bd(a,b){var c=c===void 0?"":c;var d;return(d=mc(H(a,b)))!=null?d:c}function cd(a,b){var c=c===void 0?0:c;var d;return(d=ec(H(a,b)))!=null?d:c}function dd(a,b){return mc(H(a,b,void 0,Ic))}
|
|
function ed(a,b,c){if(c!=null&&typeof c!=="string")throw Error();return Kc(a,b,c)};function J(a,b,c){this.C=G(a,b,c,2048)}J.prototype.toJSON=function(){return xc(this)};function fd(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");wb(b,32);return new a(b)}J.prototype.clone=function(){var a=this.C,b=a[C]|0;return Cc(this,a,b)?Dc(this,a,!0):new this.constructor(Bc(a,b,!1))};J.prototype[rb]=yb;J.prototype.toString=function(){return this.C.toString()};
|
|
function gd(a,b){if(b==null)b=a.constructor,b=b[mb]||(b[mb]=oc(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(xb(b))}return b};function hd(a){return function(b){return fd(a,b)}};function id(a){this.C=G(a,void 0,void 0,2048)}u(id,J);id.prototype.getTypeName=function(){return bd(this,1).split("/").pop()};var jd=function(a){return Cb(function(b){return b instanceof a&&!zb(b)})}(id);function kd(){var a=ld("[]"),b=md;this.key="45696263";this.defaultValue=a;this.g=b;this.flagNameForDebugging=void 0}
|
|
kd.prototype.ctor=function(a){if(typeof a==="string"&&a)return fd(this.g,a);if(!jd(a))return this.defaultValue.clone();var b;try{var c,d=this.g,e=(c=a.getTypeName())!=null?c:"";if(bd(a,1).split("/").pop()!=e)var f=null;else{var g=typeof d==="function"?d:d.constructor,h=a.C,k=h[C]|0,l=Jc(h,2);Fc(a)&&(h=a.C,k=h[C]|0);a=h;if(l!=null&&!(Array.isArray(l)||l!=null&&l[rb]===yb))throw Error("saw an invalid value of type '"+ya(l)+"' in the Any.value field");var m=nc(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=Ec(m));l!==m&&(Lc(a,k,2,m),g||Gc(a));f=m}}catch(t){f=null}return(b=f)!=null?b:this.defaultValue.clone()};function nd(a){this.C=G(a,void 0,void 0,2048)}u(nd,J);var od=[1,2];function pd(a){this.C=G(a,void 0,void 0,2048)}u(pd,J);var qd=[2,3,4,5,6,8];function rd(a){this.C=G(a,void 0,void 0,2048)}u(rd,J);rd.prototype.za=function(){var a=H(this,3,void 0,void 0,Rc);return a==null?cb():a};function sd(a){this.C=G(a,void 0,void 0,2048)}u(sd,J);var td=hd(sd);function md(a){this.C=G(a,void 0,void 0,2048)}u(md,J);var ld=hd(md);function ud(a,b){this.I=a|0;this.F=b|0}function vd(a){return a.F*4294967296+(a.I>>>0)}p=ud.prototype;p.isSafeInteger=function(){var a=this.F>>21;return a==0||a==-1&&!(this.I==0&&this.F==-2097152)};
|
|
p.toString=function(a){a=a||10;if(a<2||36<a)throw Error("radix out of range: "+a);if(this.isSafeInteger()){var b=vd(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=K(c,c/4294967296);c=this.div(d);var e=Math,f=e.abs;d=c.multiply(d);d=this.add(wd(d));e=f.call(e,vd(d));f=a==10?""+e:e.toString(a);f.length<b&&(f="0000000000000".slice(f.length-b)+f);e=vd(c);return(a==10?e:e.toString(a))+f};function xd(a){return a.I==0&&a.F==0}p.ra=function(){return this.I^this.F};
|
|
p.equals=function(a){return a==null?!1:this.I==a.I&&this.F==a.F};p.compare=function(a){return this.F==a.F?this.I==a.I?0:this.I>>>0>a.I>>>0?1:-1:this.F>a.F?1:-1};function wd(a){var b=~a.I+1|0;return K(b,~a.F+!b|0)}p.add=function(a){var b=this.F>>>16,c=this.F&65535,d=this.I>>>16,e=a.F>>>16,f=a.F&65535,g=a.I>>>16;a=(this.I&65535)+(a.I&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return K((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};
|
|
p.multiply=function(a){if(xd(this))return this;if(xd(a))return a;var b=this.F>>>16,c=this.F&65535,d=this.I>>>16,e=this.I&65535,f=a.F>>>16,g=a.F&65535,h=a.I>>>16;a=a.I&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 t=m>>>16;m=(m&65535)+d*h;t+=m>>>16;m=(m&65535)+e*g;t=t+(m>>>16)+(b*a+c*h+d*g+e*f)&65535;return K((l&65535)<<16|k&65535,t<<16|m&65535)};
|
|
p.div=function(a){if(xd(a))throw Error("division by zero");if(this.F<0){if(this.equals(yd)){if(a.equals(zd)||a.equals(Ad))return yd;if(a.equals(yd))return zd;var b=this.F;b=K(this.I>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(Bd))return a.F<0?zd:Ad;var c=a.multiply(b);c=this.add(wd(c));return b.add(c.div(a))}return a.F<0?wd(this).div(wd(a)):wd(wd(this).div(a))}if(xd(this))return Bd;if(a.F<0)return a.equals(yd)?Bd:wd(this.div(wd(a)));b=Bd;for(c=this;c.compare(a)>=0;){var d=Math.max(1,Math.floor(vd(c)/
|
|
vd(a))),e=Math.ceil(Math.log(d)/Math.LN2);e=e<=48?1:Math.pow(2,e-48);for(var f=Cd(d),g=f.multiply(a);g.F<0||g.compare(c)>0;)d-=e,f=Cd(d),g=f.multiply(a);xd(f)&&(f=zd);b=b.add(f);c=c.add(wd(g))}return b};p.and=function(a){return K(this.I&a.I,this.F&a.F)};p.or=function(a){return K(this.I|a.I,this.F|a.F)};p.xor=function(a){return K(this.I^a.I,this.F^a.F)};p.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.I;return a<32?K(b<<a,this.F<<a|b>>>32-a):K(0,b<<a-32)};
|
|
function Cd(a){return a>0?a>=0x7fffffffffffffff?Dd:new ud(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?yd:wd(new ud(-a,-a/4294967296)):Bd}function K(a,b){return new ud(a,b)}var Bd=K(0,0),zd=K(1,0),Ad=K(-1,-1),Dd=K(4294967295,2147483647),yd=K(0,2147483648);function Ed(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 Fd;
|
|
function Gd(){var a=null;var b=Ed("TSDtV",window);if(b=typeof b!=="string"?null:b)a=td("["+b.substring(4)),a=Xc(a,rd,1)[0];if(a){b=v(Xc(a,pd,2));for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.C;if(Uc(d,d[C]|0,id,Sc(c,qd,6))!==void 0)throw Error();}}if(a)for(b={},c=v(Xc(a,pd,2)),d=c.next();!d.done;d=c.next()){var e=d.value;d=ad(e,1).toString();switch(Tc(e,qd)){case 3:b[d]=Zc(e,Sc(e,qd,3));break;case 2:var f=ad(e,Sc(e,qd,2));Jb(f);Pb(f);f=Pb(f)?Number(f):String(f);b[d]=f;break;case 4:f=void 0;
|
|
var g=e;var h=Sc(e,qd,4);e=void 0;e=e===void 0?0:e;g=(f=H(g,h,void 0,void 0,$b))!=null?f:e;b[d]=g;break;case 5:b[d]=bd(e,Sc(e,qd,5));break;case 6:b[d]=Wc(e,id,Sc(e,qd,6));break;case 8:f=Vc(e,nd,Sc(e,qd,8));switch(Tc(f,od)){case 1:b[d]=bd(f,Sc(f,od,1));break;default:throw Error("case "+Tc(f,od));}break;default:throw Error("case "+Tc(e,qd));}}else b={};this.g=b;this.j=a?a.za():null}Gd.prototype.za=ba("j");function Jd(a){this.C=G(a,void 0,void 0,2048)}u(Jd,J);var Kd=new kd;function Ld(a){this.C=G(a,void 0,void 0,2048)}u(Ld,J);var Md=function(a){return function(){return a[mb]||(a[mb]=oc(a))}}(Ld);Object.create(null);function L(){}L.prototype.equals=function(a){return Nd(this,a)};L.prototype.ra=function(){return this.v||(Object.defineProperties(this,{v:{value:Od=Od+1|0,enumerable:!1}}),this.v)};L.prototype.toString=function(){return M(Pd(O(Qd(this))))+"@"+M((this.ra()>>>0).toString(16))};L.prototype.B=["java.lang.Object",0];function Rd(){}u(Rd,L);function P(a,b){a.g=b;Sd(b,a)}function Q(a){Td(a.g)&&(Error.captureStackTrace?Error.captureStackTrace(R(a.g,Td,Ud)):R(a.g,Td,Ud).stack=Error().stack)}Rd.prototype.toString=function(){var a=Pd(O(Qd(this))),b=this.j;return b==null?a:M(a)+": "+M(b)};function Vd(a){if(a!=null){var b=a.La;if(b!=null)return b}a instanceof TypeError?b=Wd():(b=new Xd,Q(b),P(b,Error(b)));b.j=a==null?"null":a.toString();P(b,a);return b}function Yd(a){return a instanceof Rd}
|
|
Rd.prototype.B=["java.lang.Throwable",0];function Zd(){}u(Zd,Rd);Zd.prototype.B=["java.lang.Exception",0];function S(){}u(S,Zd);S.prototype.B=["java.lang.RuntimeException",0];function $d(){}u($d,S);$d.prototype.B=["java.lang.IndexOutOfBoundsException",0];var ae;function be(){be=n();for(var a=ce(),b=0;b<256;b=b+1|0)de(a,b,ee(b-128|0));ae=a};function fe(){}u(fe,S);fe.prototype.B=["java.lang.ArithmeticException",0];function ge(){}u(ge,S);ge.prototype.B=["java.lang.ArrayStoreException",0];function he(){}u(he,S);he.prototype.B=["java.lang.ClassCastException",0];function ie(){}u(ie,S);ie.prototype.B=["java.lang.IllegalArgumentException",0];function je(){}u(je,S);function ke(a){var b=new je;b.j=a;Q(b);P(b,Error(b));return b}je.prototype.B=["java.lang.IllegalStateException",0];function Xd(){}u(Xd,S);Xd.prototype.B=["java.lang.JsException",0];function le(){}u(le,Xd);function Wd(){var a=new le;Q(a);P(a,new TypeError(a));return a}le.prototype.B=["java.lang.NullPointerException",0];function me(){}u(me,$d);me.prototype.B=["java.lang.StringIndexOutOfBoundsException",0];function ne(){}var oe;u(ne,L);ne.prototype.B=["java.lang.Number",0];function pe(){}u(pe,ne);pe.prototype.B=["java.lang.Double",0];function qe(a){return Cd(a)}function re(a){if(!isFinite(a))throw a=new fe,Q(a),P(a,Error(a)),a.g;return a|0};function se(){}u(se,L);se.prototype.B=["java.lang.Boolean",0];function R(a,b,c){if(a!=null&&!b(a))throw a=M(Pd(te(a)))+" cannot be cast to "+M(Pd(O(c))),b=new he,b.j=a,Q(b),P(b,Error(b)),b.g;return a};function Qd(a){return a.constructor}function ue(a,b,c){if(Object.prototype.hasOwnProperty.call(a.prototype,b))return a.prototype[b];c=c();return a.prototype[b]=c};function Nd(a,b){return Object.is(a,b)||a==null&&b==null};var Od=0;function te(a){switch(T(typeof a)){case "number":return O(pe);case "boolean":return O(se);case "string":return O(ve);case "function":return O(we)}if(a instanceof ud)a=O(xe);else if(a instanceof L)a=O(Qd(a));else if(Array.isArray(a))a=(a=a.ma)?O(a.Y,a.X):O(L,1);else if(a!=null)a=O(ye);else throw new TypeError("null.getClass()");return a};function we(){}we.prototype.B=["<native function>",1];function ye(){}u(ye,L);ye.prototype.B=["<native object>",0];function U(){this.V=0}u(U,ne);function ze(a){a>-129&&a<128?(be(),a=ae[a+128|0]):a=ee(a);return a}function ee(a){var b=new U;b.V=a;return b}U.prototype.equals=function(a){return Ae(a)&&R(a,Ae,U).V==this.V};U.prototype.ra=ba("V");U.prototype.toString=function(){return""+this.V};function Ae(a){return a instanceof U}U.prototype.B=["java.lang.Integer",0];function xe(){}u(xe,ne);xe.prototype.B=["java.lang.Long",0];function Be(){}u(Be,ie);Be.prototype.B=["java.lang.NumberFormatException",0];function T(a){if(a==null)throw Wd().g;return a};function ce(){var a=[256];return Ce(a,{Y:U,la:Ae,X:a.length})}function Ce(a,b){var c=a[0];if(c==null)return null;var d=new globalThis.Array(c);b&&(d.ma=b);if(a.length>1){a=a.slice(1);b=b&&{Y:b.Y,la:b.la,X:b.X-1};for(var e=0;e<c;e++)d[e]=Ce(a,b)}else if(b&&(a=b.Y.kb,a!==void 0))for(b=0;b<c;b++)d[b]=a;return d}
|
|
function de(a,b,c){var d;if(!(d=c==null))a:{var e=a.ma;if(e)if(e.X>1){d=e.Y;var f=e.la;e=e.X-1;if(c!=null&&Array.isArray(c)){var g=c.ma||{Y:L,X:1},h=g.X;h==e?(e=g.Y,d=e===d?!0:d&&d.prototype.Ba||e&&e.prototype.Ba?!1:f(e.prototype)):d=h>e?L==d:!1}else d=!1;if(!d){d=!1;break a}}else if(c!=null&&!e.la(c)){d=!1;break a}d=!0}if(!d)throw a=new ge,Q(a),P(a,Error(a)),a.g;a[b]=c};function ve(){}u(ve,L);function M(a){return a==null?"null":a.toString()}function De(a){if(!(a>=0))throw a=new ie,Q(a),P(a,Error(a)),a.g;return"0".repeat(a)}ve.prototype.B=["java.lang.String",0];function Ee(a,b){this.g=a;this.j=b}u(Ee,L);function O(a,b){var c=b||0;return ue(a,"$$class/"+c,function(){return new Ee(a,c)})}function Pd(a){return a.j!=0?M(Fe("[",a.j))+M(a.g.prototype.B[1]==3?a.g.prototype.B[2]:"L"+M(a.g.prototype.B[0])+";"):a.g.prototype.B[0]}function Ge(a,b){b=a.lastIndexOf(b)+1|0;var c=a.length+1|0;if(b<0||b>=c)throw a=new me,a.j="Index: "+b+", Size: "+c,Q(a),P(a,Error(a)),a.g;return a.substr(b)}
|
|
Ee.prototype.toString=function(){return String(this.j==0&&this.g.prototype.B[1]==1?"interface ":this.j==0&&this.g.prototype.B[1]==3?"":"class ")+M(Pd(this))};function Fe(a,b){for(var c="",d=0;d<b;d=d+1|0)c=M(c)+M(a);return c}Ee.prototype.B=["java.lang.Class",0];function Ud(){}function Td(a){return a instanceof Error}Ud.prototype.B=["Error",0];function Sd(a,b){if(a instanceof Object)try{a.La=b,Object.defineProperties(a,{cause:{get:function(){return b.l&&b.l.g}}})}catch(c){}};function He(a,b){this.l=b;this.j=a;Q(this);P(this,Error(this))}u(He,S);He.prototype.getMessage=ba("j");ha.Object.defineProperties(He.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.g;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}}});
|
|
He.prototype.B=["com.google.apps.docs.xplat.base.XplatException",0];function Ie(){}function Je(a){return a instanceof Error}Ie.prototype.B=["Error",0];function Ke(){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=M(De(Math.max(0,8-b.length|0)))+M(b);a=(a(2147483647)>>>0).toString(16);return M(a)+M(b)};function Le(){}function Me(a){return a instanceof Array}Le.prototype.B=["Array",0];function Ne(){}function Oe(a){return a instanceof Object}Ne.prototype.B=["Object",0];function Pe(){}function Qe(a){return a instanceof Object}Pe.prototype.B=["Object",0];var Re={Ib:"build-label",lb:"buildLabel",mb:"clientLog",qb:"docId",Kb:"mobile-app-version",Ub:"severity",Zb:"severity-unprefixed",Cb:"isArrayPrototypeIntact",Db:"isEditorElementAttached",wb:"documentCharacterSet",Fb:"isModuleLoadFailure",Sb:"reportName",Jb:"locale",ob:"createdOnServer",Ob:"numUnsavedCommands",pb:"cspViolationContext",Rb:"relatedToBrowserExtension",bc:"workerError",rb:"docosPostLimitExceeded",sb:"docosPostLimitType",tb:"docosReactionLimitExceeded",ub:"docosReactionLimitType",Qb:"origin",
|
|
Tb:"saveTakingTooLongOnClient",Wb:"truncatedCommentNotificationsCount",Xb:"truncatedCommentNotificationsFromPayload",Nb:"nonfatalReason",ac:"usesModuleSetsServing"};function Se(){this.g=!1}var Te;u(Se,L);p=Se.prototype;p.dispose=function(){if(this.g)var a=null;else this.g=!0,a=this.o==null?Te:this.o,this.o=null;if(a!=null){this.na();if(a.length!=0)for(var b=0;b<a.length;b++)a[b].dispose();a=O(Qd(this));Ge(Ge(M(a.g.prototype.B[0])+M(Fe("[]",a.j)),"."),"$")}};p.ka=ba("g");p.na=n();p.toString=function(){return L.prototype.toString.call(this)||""};function Ue(){Ue=n();Te=R([],Me,Le)}p.B=["com.google.apps.xplat.disposable.Disposable",0];function Ve(a){if(a==null)return a=new Rd,Q(a),P(a,Error(a)),a;if(Yd(a))return R(a,Yd,Rd);if(Je(a))return a=R(a,Je,Ie),Vd(a);a=new ie;a.j="Unsupported type cannot be used to create a Throwable.";Q(a);P(a,Error(a));throw a.g;};/*
|
|
|
|
Copyright Google LLC
|
|
SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
var We=globalThis.trustedTypes,Xe;function Ye(){var a=null;if(!We)return a;try{var b=aa();a=We.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a};function Ze(a){this.g=a}Ze.prototype.toString=function(){return this.g+""};function $e(a,b){if(b instanceof Ze)b=b.g;else throw Error("");a.src=b.toString()};function af(a){var b=w.onerror;w.onerror=function(c,d,e,f,g){b&&b(c,d,e,f,g);a({message:c,fileName:d,line:e,lineNumber:e,dc:f,error:g});return!0}}
|
|
function bf(a){var b=xa("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||w.$googDebugFname||b}catch(f){e="Not available",c=!0}b=cf(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:df(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 cf(a,b){b||(b={});b[ef(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[ef(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=cf(d,b));a=a.errors;if(Array.isArray(a)){d=1;var e;for(e=0;e<a.length&&!(d>4);e++)b[ef(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+=cf(a[e],b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c}
|
|
function ef(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack}function ff(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,ff));a.stack||(a.stack=gf(ff));if(b){for(var c=0;a["message"+c];)++c;a["message"+c]=String(b)}return a}function hf(a,b){a=ff(a);if(b)for(var c in b)eb(a,c,b[c]);return a}
|
|
function gf(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||gf),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=jf(a||arguments.callee.caller,[]));return b}
|
|
function jf(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(df(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=df(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(jf(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 df(a){if(kf[a])return kf[a];a=String(a);if(!kf[a]){var b=/function\s+([^\(]+)/m.exec(a);kf[a]=b?b[1]:"[Anonymous]"}return kf[a]}var kf={};function lf(a,b){this.name=a;this.value=b}lf.prototype.toString=ba("name");var mf=new lf("SEVERE",1E3),nf=new lf("WARNING",900),of=new lf("CONFIG",700);function pf(){this.clear()}var qf;function rf(a){var b=sf(),c=b.g;if(c[0]){var d=b.j;b=b.l?d:-1;do b=(b+1)%0,a(c[b]);while(b!==d)}}pf.prototype.clear=function(){this.g=[];this.j=-1;this.l=!1};function sf(){qf||(qf=new pf);return qf};function tf(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 uf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$");
|
|
function vf(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 wf(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 xf(a,b,c){if(Array.isArray(b))for(var d=0;d<b.length;d++)xf(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+encodeURIComponent(String(b))))}function yf(a,b){var c=[];for(b=b||0;b<a.length;b+=2)xf(a[b],a[b+1],c);return c.join("&")}function zf(a){var b=[],c;for(c in a)xf(c,a[c],b);return b.join("&")}function V(a,b){var c=arguments.length==2?yf(arguments[1],0):yf(arguments,1);return wf(a,c)};var Af;Af=function(a){if(!a)return a;a=(typeof a==="object"?a.href:a).match(uf);var b=a[1];return b!=="http"&&b!=="https"?b||"":tf(a[1],"",a[3],a[4],a[5],a[6],"")};function Bf(a){a&&typeof a.dispose=="function"&&a.dispose()};function Cf(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];za(d)?Cf.apply(null,d):Bf(d)}};function W(){this.J=this.J;this.G=this.G}W.prototype.J=!1;W.prototype.ka=ba("J");W.prototype.dispose=function(){this.J||(this.J=!0,this.L())};W.prototype[Symbol.dispose]=function(){this.dispose()};function Df(a,b){b=Fa(Bf,b);a.J?b():(a.G||(a.G=[]),a.G.push(b))}W.prototype.L=function(){if(this.G)for(;this.G.length;)this.G.shift()()};var Ef=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:aa();function Ff(a,b){this.l=a;this.o=b;this.j=0;this.g=null}Ff.prototype.get=function(){if(this.j>0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};function Gf(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var Hf=[],If=[],Jf=!1;function Kf(a){Hf[Hf.length]=a;if(Jf)for(var b=0;b<If.length;b++)a(x(If[b].g,If[b]))};Kf(n());function Lf(){this.j=this.g=null}Lf.prototype.add=function(a,b){var c=Mf.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Lf.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var Mf=new Ff(function(){return new Nf},function(a){return a.reset()});function Nf(){this.next=this.scope=this.g=null}Nf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};Nf.prototype.reset=function(){this.next=this.scope=this.g=null};var Of,Pf=!1,Qf=new Lf;function Rf(a,b){Of||Sf();Pf||(Of(),Pf=!0);Qf.add(a,b)}function Sf(){var a=Promise.resolve(void 0);Of=function(){a.then(Tf)}}function Tf(){for(var a;a=Qf.remove();){try{a.g.call(a.scope)}catch(b){Ia(b)}Gf(Mf,a)}Pf=!1};function Uf(){};function Vf(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};function X(a){this.g=0;this.J=void 0;this.o=this.j=this.l=null;this.v=this.G=!1;if(a!=Uf)try{var b=this;a.call(void 0,function(c){Wf(b,2,c)},function(c){Wf(b,3,c)})}catch(c){Wf(this,3,c)}}function Xf(){this.next=this.l=this.j=this.o=this.g=null;this.v=!1}Xf.prototype.reset=function(){this.l=this.j=this.o=this.g=null;this.v=!1};var Yf=new Ff(function(){return new Xf},function(a){a.reset()});function Zf(a,b,c){var d=Yf.get();d.o=a;d.j=b;d.l=c;return d}
|
|
function $f(){var a=new X(Uf);Wf(a,2);return a}function ag(a,b,c){bg(a,b,c,null)||Rf(Fa(b,a))}function cg(a){return new X(function(b,c){a.length||b(void 0);for(var d,e=0;e<a.length;e++)d=a[e],ag(d,b,c)})}function dg(a){return new X(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{Va:!0,value:l}:{Va:!1,reason:l};c==0&&b(d)},f,g=0;g<a.length;g++)f=a[g],ag(f,Fa(e,g,!0),Fa(e,g,!1));else b(d)})}function eg(){var a,b,c=new X(function(d,e){a=d;b=e});return new fg(c,a,b)}
|
|
X.prototype.then=function(a,b,c){return gg(this,Ef(typeof a==="function"?a:null),Ef(typeof b==="function"?b:null),c)};X.prototype.$goog_Thenable=!0;p=X.prototype;p.oa=function(a,b){return gg(this,null,Ef(a),b)};p.Ca=X.prototype.oa;p.cancel=function(a){if(this.g==0){var b=new hg(a);Rf(function(){ig(this,b)},this)}};
|
|
function ig(a,b){if(a.g==0)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,g=c.j;g&&(g.v||(d++,g.g==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?ig(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):jg(c),kg(c,e,3,b)))}a.l=null}else Wf(a,3,b)}function lg(a,b){a.j||a.g!=2&&a.g!=3||ng(a);a.o?a.o.next=b:a.j=b;a.o=b}
|
|
function gg(a,b,c,d){var e=Zf(null,null,null);e.g=new X(function(f,g){e.o=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.j=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof hg?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;lg(a,e);return e.g}p.ib=function(a){this.g=0;Wf(this,2,a)};p.jb=function(a){this.g=0;Wf(this,3,a)};
|
|
function Wf(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,bg(c,a.ib,a.jb,a)||(a.J=c,a.g=b,a.l=null,ng(a),b!=3||c instanceof hg||og(a,c)))}function bg(a,b,c,d){if(a instanceof X)return lg(a,Zf(b||Uf,c||null,d)),!0;if(Vf(a))return a.then(b,c,d),!0;if(Aa(a))try{var e=a.then;if(typeof e==="function")return pg(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1}
|
|
function pg(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 ng(a){a.G||(a.G=!0,Rf(a.Ua,a))}function jg(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b}p.Ua=function(){for(var a;a=jg(this);)kg(this,a,this.g,this.J);this.G=!1};
|
|
function kg(a,b,c,d){if(c==3&&b.j&&!b.v)for(;a&&a.v;a=a.l)a.v=!1;if(b.g)b.g.l=null,qg(b,c,d);else try{b.v?b.o.call(b.l):qg(b,c,d)}catch(e){rg.call(null,e)}Gf(Yf,b)}function qg(a,b,c){b==2?a.o.call(a.l,c):a.j&&a.j.call(a.l,c)}function og(a,b){a.v=!0;Rf(function(){a.v&&rg.call(null,b)})}var rg=Ia;function hg(a){A.call(this,a);this.g=!1}z(hg,A);hg.prototype.name="cancel";function fg(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 sg(){this.v=[];this.o=this.l=!1;this.j=void 0;this.D=this.K=this.J=!1;this.G=0;this.g=null;this.A=0}sg.prototype.cancel=function(a){if(this.l)this.j instanceof sg&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.A--,b.A<=0&&b.cancel())}this.D=!0;this.l||(a=new tg(this),ug(this),vg(this,!1,a))}};sg.prototype.H=function(a,b){this.J=!1;vg(this,a,b)};function vg(a,b,c){a.l=!0;a.j=c;a.o=!b;wg(a)}function ug(a){if(a.l){if(!a.D)throw new xg(a);a.D=!1}}
|
|
function yg(a){throw a;}function zg(a,b,c){return Ag(a,b,null,c)}function Bg(a,b,c){Ag(a,b,function(d){var e=b.call(this,d);if(e===void 0)throw d;return e},c)}function Ag(a,b,c,d){var e=a.l;e||(b===c?b=c=Ef(b):(b=Ef(b),c=Ef(c)));a.v.push([b,c,d]);e&&wg(a);return a}sg.prototype.then=function(a,b,c){var d,e,f=new X(function(g,h){e=g;d=h});Ag(this,e,function(g){g instanceof tg?f.cancel():d(g);return Cg},this);return f.then(a,b,c)};sg.prototype.$goog_Thenable=!0;
|
|
function Dg(a){return Ra(a.v,function(b){return typeof b[1]==="function"})}var Cg={};
|
|
function wg(a){if(a.G&&a.l&&Dg(a)){var b=a.G,c=Eg[b];c&&(w.clearTimeout(c.g),delete Eg[b]);a.G=0}a.g&&(a.g.A--,delete a.g);b=a.j;for(var d=c=!1;a.v.length&&!a.J;){var e=a.v.shift(),f=e[0],g=e[1];e=e[2];if(f=a.o?g:f)try{var h=f.call(e||null,b);h===Cg&&(h=void 0);h!==void 0&&(a.o=a.o&&(h==b||h instanceof Error),a.j=b=h);if(Vf(b)||typeof w.Promise==="function"&&b instanceof w.Promise)d=!0,a.J=!0}catch(k){b=k,a.o=!0,Dg(a)||(c=!0)}}a.j=b;d&&(h=x(a.H,a,!0),d=x(a.H,a,!1),b instanceof sg?(Ag(b,h,d),b.K=!0):
|
|
b.then(h,d));c&&(b=new Fg(b),Eg[b.g]=b,a.G=b.g)}function Gg(a){var b=new sg;ug(b);vg(b,!0,a);return b}function xg(){A.call(this)}z(xg,A);xg.prototype.message="Deferred has already fired";xg.prototype.name="AlreadyCalledError";function tg(){A.call(this)}z(tg,A);tg.prototype.message="Deferred was canceled";tg.prototype.name="CanceledError";function Fg(a){this.g=w.setTimeout(x(this.l,this),0);this.j=a}Fg.prototype.l=function(){delete Eg[this.g];yg(this.j)};var Eg={};function Hg(){}function Ig(a){return a!=null&&!!a.wa}Hg.prototype.wa=!0;Hg.prototype.B=["javax.inject.Provider",1];function Jg(){}function Kg(a){return a!=null&&!!a.va}Jg.prototype.va=!0;Jg.prototype.B=["com.google.apps.docs.xplat.flag.FlagService",1];var Lg;function Mg(){if(Lg==null){var a=new Ng(null);Lg=function(){return a}}var b;return R((b=Lg,b()),Kg,Jg)};function Og(){}u(Og,L);Og.prototype.get=function(){if(this.j==null){var a=R(w._docs_flag_initialData,Oe,Ne);this.j=a!=null?a:R({},Oe,Ne)}return this.j};Og.prototype.g=function(){return this.get()};Og.prototype.wa=!0;Og.prototype.B=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];function Pg(a){return typeof a=="string"?a=="true"||a=="1":!!a};function Ng(a){this.g=new Og;this.j=null;if(a!=null)for(var b in a){var c=b,d=a[b];if(this.j!=null)throw ke("Cannot use setClientFlag when comparison is enabled.").g;var e=R(this.g.g(),Oe,Ne);Ae(d)?(d=R(d,Ae,U).V,e[c]=d):e[c]=d!=null?d:null}}u(Ng,L);Ng.prototype.clear=function(){this.g=new Og;this.j=null};Ng.prototype.get=function(a){Qg(this,a);return R(this.g.g(),Oe,Ne)[a]};function Rg(a,b){a=R(a.g.g(),Oe,Ne);return b in a}
|
|
function Sg(a,b){Qg(a,b);if(!Rg(a,b)||a.get(b)==null)return NaN;try{var c=M(a.get(b));oe==null&&(oe=RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$"));if(!oe.test(c)){var d=new Be;d.j='For input string: "'+M(c)+'"';Q(d);P(d,Error(d));throw d.g;}return parseFloat(c)}catch(f){var e=Vd(f);if(e instanceof Be)return NaN;throw e.g;}}
|
|
function Tg(a,b){Qg(a,b);if(!Rg(a,b))return"";a=a.get(b);if(a==null)a="";else{if(b="number"===typeof a){b=qe(T(a));var c=qe(T(a));b=b.equals(c)}a=b?""+qe(T(a)):M(a)}return a}
|
|
function Qg(a,b){if(a.j!=null){try{var c=R(a.g.g(),Oe,Ne)[b]}catch(h){var d=Vd(h);if(d instanceof S)c="injection-failed";else throw d.g;}try{var e=a.j;if(e==null)throw Wd().g;var f=R(R(e,Ig,Hg).g(),Oe,Ne)[b]}catch(h){var g=Vd(h);if(g instanceof S)f="injection-failed";else throw g.g;}a=c;!(b=Nd(a,f))&&(b=a!=null)&&(b=a.equals?a.equals(f):Object.is(a,f));if(!b)throw ke("Logging is not supported.").g;}}Ng.prototype.va=!0;Ng.prototype.B=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];function Ug(a){He.call(this,a,null);P(this,Error(this))}u(Ug,He);Ug.prototype.B=["com.google.apps.docs.xplat.net.LimitException",0];function Vg(a,b,c,d){Ue();this.g=!1;this.G=a;this.l=b;this.j=new Wg(Math.imul(c,1E3),d)}u(Vg,Se);function Xg(a){if(!((a.j.get(null)+1|0)/T(a.j.l/1E3)<=a.l))throw(new Ug("Query would cause "+M(a.G)+" to exceed "+a.l+" qps.")).g;a=a.j;var b=vd(Cd(Date.now()));Yg(a,b);var c=R(Zg(a.g),$g,ah);if(c==null||T(b)>=T(c.j))b=bh(a,T(b)),c=new ah,c.j=b,c.g=0,c.o=2147483647,c.l=-2147483648,a.g.add(c);c.g=c.g+1|0;c.o=Math.min(1,c.o);c.l=Math.max(1,c.l)}
|
|
Vg.prototype.B=["com.google.apps.docs.xplat.net.QpsLimiter",0];function ah(){this.l=this.o=this.g=0}u(ah,L);function $g(a){return a instanceof ah}ah.prototype.B=["com.google.apps.docs.xplat.util.BasicStat$Slot",0];function Wg(a){this.j=0;this.l=a;this.j=re(a/50);this.g=new ch(ze(50))}u(Wg,L);Wg.prototype.get=function(a){return dh(this,a,function(b,c){b=R(b,Ae,U);c=R(c,$g,ah);return ze(b.V+c.g|0)})};function dh(a,b,c){b=b!=null?T(b):vd(Cd(Date.now()));Yg(a,b);var d=0;b=bh(a,T(b));b=T(b)-a.l;for(var e=a.g.g.length-1|0;e>=0;e=e-1|0){var f=R(a.g.get(e),$g,ah);if(T(f.j)<=b)break;d=R(c(ze(d),f),Ae,U).V}return d}function bh(a,b){return a.j*Math.floor(b/a.j+1)}
|
|
function Yg(a,b){var c=R(Zg(a.g),$g,ah);c!=null&&(c=T(c.j)-a.j,T(b)<T(c)&&a.g.clear())}Wg.prototype.B=["com.google.apps.docs.xplat.util.BasicStat",0];function ch(a){this.j=this.l=0;a!=null?"number"===typeof a?(a=T(a),a=Math.max(Math.min(a,2147483647),-2147483648)|0):a=a instanceof ud?T(a).I:a.V:a=100;this.l=a;this.g=R([],Me,Le)}u(ch,L);p=ch.prototype;p.add=function(a){var b=this.g[this.j];this.g[this.j]=a;this.j=re((this.j+1|0)%this.l);return b};p.get=function(a){a=eh(this,a);return this.g[a]};p.set=function(a,b){a=eh(this,a);this.g[a]=b};p.clear=function(){this.j=this.g.length=0};
|
|
p.ha=function(){for(var a=this.g.length,b=this.g.length-this.g.length|0,c=R([],Me,Le);b<a;b=b+1|0){var d=c,e=this.get(b);d.push(e)}return c};function Zg(a){return a.g.length==0?null:a.get(a.g.length-1|0)}function eh(a,b){if(b>=a.g.length)throw a=new $d,Q(a),P(a,Error(a)),a.g;return a.g.length<a.l?b:re((a.j+b|0)%a.l)}p.B=["com.google.apps.docs.xplat.util.CircularBuffer",0];function fh(){this.g=0}var gh,hh;u(fh,L);function Y(a,b){var c=new fh;c.j=a;c.g=b;gh[a]=c!==void 0?c:null;return c}fh.prototype.toString=ba("j");
|
|
function ih(){ih=n();gh=R({},Qe,Pe);Y("IDLE",1);Y("BUSY",1);Y("RECOVERING",2);hh=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("BATCH_SAVE_ERROR",3);Y("DOCS_EVERYWHERE_IMPORT_ERROR",5);Y("POST_LIMIT_EXCEEDED_ERROR",5);
|
|
Y("DOCS_QUOTA_EXCEEDED_ERROR",5)}fh.prototype.B=["com.google.apps.docs.xplat.net.Status$State",0];function jh(){}u(jh,L);function kh(a){return a instanceof jh}jh.prototype.B=["com.google.apps.docsshared.xplat.observable.EventObserverTracker$ObservableObserverPair",0];function lh(){Ue();this.g=!1;this.j=R([],Me,Le)}u(lh,Se);function mh(a,b,c){var d;a:{for(d=0;d<a.j.length;d=d+1|0){var e=R(a.j[d],kh,jh);if(Nd(e.j,c)&&Nd(e.g,b)){d=!0;break a}}d=!1}d||(a=a.j,c=b.g(c),d=new jh,d.g=b,d.j=c,a.push(d))}lh.prototype.na=function(){this.removeAll();Se.prototype.na.call(this)};lh.prototype.removeAll=function(){for(var a=R(this.j.pop(),kh,jh);a!=null;)a.g.j(a.j),a=R(this.j.pop(),kh,jh)};lh.prototype.B=["com.google.apps.docsshared.xplat.observable.EventObserverTracker",0];function nh(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function oh(a){var b={},c;for(c in a)b[c]=a[c];return b}var ph="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function qh(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<ph.length;f++)c=ph[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function rh(a){this.g=this.J=this.o="";this.A=null;this.G=this.j="";this.v=!1;var b;a instanceof rh?(this.v=a.v,sh(this,a.o),this.J=a.J,this.g=a.g,th(this,a.A),uh(this,a.j),vh(this,a.l.clone()),this.G=a.G):a&&(b=String(a).match(uf))?(this.v=!1,sh(this,b[1]||"",!0),this.J=wh(b[2]||""),this.g=wh(b[3]||"",!0),th(this,b[4]),uh(this,b[5]||"",!0),vh(this,b[6]||"",!0),this.G=wh(b[7]||"")):(this.v=!1,this.l=new xh(null,this.v))}
|
|
rh.prototype.toString=function(){var a=[],b=this.o;b&&a.push(yh(b,zh,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.J)&&a.push(yh(b,zh,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,c!=null&&a.push(":",String(c));if(c=this.j)this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(yh(c,c.charAt(0)=="/"?Ah:Bh,!0));(c=this.l.toString())&&a.push("?",c);(c=this.G)&&a.push("#",yh(c,Ch));return a.join("")};
|
|
rh.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?sh(b,a.o):c=!!a.J;c?b.J=a.J:c=!!a.g;c?b.g=a.g:c=a.A!=null;var d=a.j;if(c)th(b,a.A);else if(c=!!a.j){if(d.charAt(0)!="/")if(this.g&&!this.j)d="/"+d;else{var e=b.j.lastIndexOf("/");e!=-1&&(d=b.j.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?uh(b,d):c=a.l.toString()!=="";c?vh(b,a.l.clone()):c=!!a.G;c&&(b.G=a.G);return b};rh.prototype.clone=function(){return new rh(this)};function sh(a,b,c){a.o=c?wh(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))}function th(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.A=b}else a.A=null}function uh(a,b,c){a.j=c?wh(b,!0):b;return a}
|
|
function vh(a,b,c){b instanceof xh?(a.l=b,Dh(a.l,a.v)):(c||(b=yh(b,Eh)),a.l=new xh(b,a.v))}function wh(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function yh(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Fh),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Fh(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var zh=/[#\/\?@]/g,Bh=/[#\?:]/g,Ah=/[#\?]/g,Eh=/[#\?@]/g,Ch=/#/g;
|
|
function xh(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b}function Gh(a){a.g||(a.g=new Map,a.j=0,a.l&&vf(a.l,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))}p=xh.prototype;p.add=function(a,b){Gh(this);this.l=null;a=Hh(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j=this.j+1;return this};p.remove=function(a){Gh(this);a=Hh(this,a);return this.g.has(a)?(this.l=null,this.j=this.j-this.g.get(a).length,this.g.delete(a)):!1};
|
|
p.clear=function(){this.g=this.l=null;this.j=0};function Ih(a,b){Gh(a);b=Hh(a,b);return a.g.has(b)}p.forEach=function(a,b){Gh(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};p.ha=function(a){Gh(this);var b=[];if(typeof a==="string")Ih(this,a)&&(b=b.concat(this.g.get(Hh(this,a))));else{a=Array.from(this.g.values());for(var c=0;c<a.length;c++)b=b.concat(a[c])}return b};
|
|
p.set=function(a,b){Gh(this);this.l=null;a=Hh(this,a);Ih(this,a)&&(this.j=this.j-this.g.get(a).length);this.g.set(a,[b]);this.j=this.j+1;return this};p.get=function(a,b){if(!a)return b;a=this.ha(a);return a.length>0?String(a[0]):b};
|
|
p.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.ha(d);for(var f=0;f<d.length;f++){var g=e;d[f]!==""&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.l=a.join("&")};p.clone=function(){var a=new xh;a.l=this.l;this.g&&(a.g=new Map(this.g),a.j=this.j);return a};function Hh(a,b){b=String(b);a.o&&(b=b.toLowerCase());return b}
|
|
function Dh(a,b){b&&!a.o&&(Gh(a),a.l=null,a.g.forEach(function(c,d){var e=d.toLowerCase();if(d!=e&&(this.remove(d),this.remove(e),c.length>0)){this.l=null;d=this.g;var f=d.set;e=Hh(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.j=this.j+c.length}},a));a.o=b};function Jh(){var a=w.window;a.onbeforeunload=n();a.location.reload()};function Kh(){this.g=function(){Jh()}}Kh.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.g()};function Lh(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1}Lh.prototype.stopPropagation=function(){this.j=!0};Lh.prototype.preventDefault=function(){this.defaultPrevented=!0};var Mh=function(){if(!w.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=n();w.addEventListener("test",c,b);w.removeEventListener("test",c,b)}catch(d){}return a}();function Nh(a,b){Lh.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.g=null;a&&this.init(a,b)}z(Nh,Lh);
|
|
Nh.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.g=a;a.defaultPrevented&&Nh.T.preventDefault.call(this)};
|
|
Nh.prototype.stopPropagation=function(){Nh.T.stopPropagation.call(this);this.g.stopPropagation?this.g.stopPropagation():this.g.cancelBubble=!0};Nh.prototype.preventDefault=function(){Nh.T.preventDefault.call(this);var a=this.g;a.preventDefault?a.preventDefault():a.returnValue=!1};var Oh="closure_listenable_"+(Math.random()*1E6|0);var Ph=0;function Qh(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ja=e;this.key=++Ph;this.removed=this.ea=!1}function Rh(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.ja=null};function Sh(a){this.src=a;this.g={};this.j=0}Sh.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=Th(a,b,d,e);g>-1?(b=a[g],c||(b.ea=!1)):(b=new Qh(b,this.src,f,!!d,e),b.ea=c,a.push(b));return b};Sh.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=Th(e,b,c,d);return b>-1?(Rh(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.g[a],this.j--),!0):!1};
|
|
function Uh(a,b){var c=b.type;c in a.g&&Sa(a.g[c],b)&&(Rh(b),a.g[c].length==0&&(delete a.g[c],a.j--))}Sh.prototype.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.g)if(!a||c==a){for(var d=this.g[c],e=0;e<d.length;e++)++b,Rh(d[e]);delete this.g[c];this.j--}return b};function Th(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.ja==d)return e}return-1};var Vh="closure_lm_"+(Math.random()*1E6|0),Wh={},Xh=0;function Yh(a,b,c,d,e){if(d&&d.once)return Zh(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)Yh(a,b[f],c,d,e);return null}c=$h(c);return a&&a[Oh]?a.listen(b,c,Aa(d)?!!d.capture:!!d,e):ai(a,b,c,!1,d,e)}
|
|
function ai(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=Aa(e)?!!e.capture:!!e,h=bi(a);h||(a[Vh]=h=new Sh(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=ci();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Mh||(e=g),e===void 0&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(di(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Xh++;return c}
|
|
function ci(){function a(c){return b.call(a.src,a.listener,c)}var b=ei;return a}function Zh(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Zh(a,b[f],c,d,e);return null}c=$h(c);return a&&a[Oh]?a.j.add(String(b),c,!0,Aa(d)?!!d.capture:!!d,e):ai(a,b,c,!0,d,e)}
|
|
function fi(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)fi(a,b[f],c,d,e);else(d=Aa(d)?!!d.capture:!!d,c=$h(c),a&&a[Oh])?a.j.remove(String(b),c,d,e):a&&(a=bi(a))&&(b=a.g[b.toString()],a=-1,b&&(a=Th(b,c,d,e)),(c=a>-1?b[a]:null)&&gi(c))}
|
|
function gi(a){if(typeof a!=="number"&&a&&!a.removed){var b=a.src;if(b&&b[Oh])Uh(b.j,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(di(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Xh--;(c=bi(b))?(Uh(c,a),c.j==0&&(c.src=null,b[Vh]=null)):Rh(a)}}}function di(a){return a in Wh?Wh[a]:Wh[a]="on"+a}
|
|
function ei(a,b){if(a.removed)a=!0;else{b=new Nh(b,this);var c=a.listener,d=a.ja||a.src;a.ea&&gi(a);a=c.call(d,b)}return a}function bi(a){a=a[Vh];return a instanceof Sh?a:null}var hi="__closure_events_fn_"+(Math.random()*1E9>>>0);function $h(a){if(typeof a==="function")return a;a[hi]||(a[hi]=function(b){return a.handleEvent(b)});return a[hi]}Kf(function(a){ei=a(ei)});function ii(a,b){Lh.call(this,a);this.error=b}u(ii,Lh);var ji=/\/d\/([^\/]+)/,ki=/\/r\/([^\/]+)/;function li(a){a=a.match(uf)[5]||null;return ji.test(a)}function mi(a,b){if(li(a)){li(a);a=a.match(uf);var c=a[5];c=c.replace(b,"");b=tf(a[1],a[2],a[3],a[4],c,a[6],a[7])}else b=a;return b};function Z(){W.call(this);this.j=new Sh(this);this.Da=this;this.P=null}z(Z,W);Z.prototype[Oh]=!0;p=Z.prototype;p.addEventListener=function(a,b,c,d){Yh(this,a,b,c,d)};p.removeEventListener=function(a,b,c,d){fi(this,a,b,c,d)};
|
|
p.dispatchEvent=function(a){var b=this.P;if(b){var c=[];for(var d=1;b;b=b.P)c.push(b),++d}b=this.Da;d=a.type||a;if(typeof a==="string")a=new Lh(a,b);else if(a instanceof Lh)a.target=a.target||b;else{var e=a;a=new Lh(d,b);qh(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=c[f];e=ni(g,d,!0,a)&&e}a.j||(g=a.currentTarget=b,e=ni(g,d,!0,a)&&e,a.j||(e=ni(g,d,!1,a)&&e));if(c)for(f=0;!a.j&&f<c.length;f++)g=a.currentTarget=c[f],e=ni(g,d,!1,a)&&e;return e};
|
|
p.L=function(){Z.T.L.call(this);this.j&&this.j.removeAll(void 0);this.P=null};p.listen=function(a,b,c,d){return this.j.add(String(a),b,!1,c,d)};function ni(a,b,c,d){b=a.j.g[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.removed&&g.capture==c){var h=g.listener,k=g.ja||g.src;g.ea&&Uh(a.j,g);e=h.call(k,d)!==!1&&e}}return e&&!d.defaultPrevented};function oi(a,b){if(typeof a!=="function")if(a&&typeof a.handleEvent=="function")a=x(a.handleEvent,a);else throw Error("Invalid listener argument");return Number(b)>2147483647?-1:w.setTimeout(a,b||0)}function pi(){var a=null;return(new X(function(b,c){a=oi(function(){b(void 0)},14E3);a==-1&&c(Error("Failed to schedule timer."))})).oa(function(b){w.clearTimeout(a);throw b;})};function qi(a,b,c){W.call(this);this.g=a;this.l=b||0;this.j=c;this.o=x(this.Sa,this)}z(qi,W);p=qi.prototype;p.aa=0;p.L=function(){qi.T.L.call(this);this.stop();delete this.g;delete this.j};p.start=function(a){this.stop();this.aa=oi(this.o,a!==void 0?a:this.l)};p.stop=function(){this.isActive()&&w.clearTimeout(this.aa);this.aa=0};p.isActive=function(){return this.aa!=0};p.Sa=function(){this.aa=0;this.g&&this.g.call(this.j)};function ri(a,b,c,d){W.call(this);this.l=d!=null?d:.15;this.v=a;this.o=b;this.D=c;this.g=new qi(this.fb,void 0,this);this.A=Number.NEGATIVE_INFINITY;this.j=0}u(ri,W);p=ri.prototype;p.isActive=function(){return this.g.isActive()};p.start=function(){si(this,!1,!1)};function si(a,b,c){b&&(a.g.stop(),ti(a,a.o));a.isActive()||(b=Math.max(0,a.A+a.j-Date.now()),b==0&&(c?b=ti(a,a.o):a.j=0),a.g.start(b))}p.stop=function(){this.g.stop()};
|
|
function ti(a,b){b>0&&a.l!=0&&(b=Math.floor(b*(1-a.l+Math.random()*a.l*2)));return a.j=b}p.fb=function(){this.A=Date.now();ti(this,Math.min(Math.max(this.j*2,this.o),this.D));this.v()};p.L=function(){this.g.dispose();delete this.g;delete this.v;W.prototype.L.call(this)};function ui(a){W.call(this);this.j=a;this.g={}}z(ui,W);var vi=[];ui.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(vi[0]=b.toString()),b=vi);for(var e=0;e<b.length;e++){var f=Yh(a,b[e],c||this.handleEvent,d||!1,this.j||this);if(!f)break;this.g[f.key]=f}return this};ui.prototype.removeAll=function(){nh(this.g,function(a,b){this.g.hasOwnProperty(b)&&gi(a)},this);this.g={}};ui.prototype.L=function(){ui.T.L.call(this);this.removeAll()};
|
|
ui.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function wi(a,b,c,d,e,f,g){g=g===void 0?!0:g;W.call(this);var h=this;this.g=a;this.g.N=1E4;this.O=b;this.l=f;this.j=new ri(function(){return h.sa()},3E4,36E5);this.v=0;this.D=null;this.U=new Vg("errorsender",1,8,d);Df(this,this.U);this.N=!1;this.K=null;this.A=new Set;this.H=new ui(this);this.da=c||10;this.ba=e||null;this.H.listen(this.g,"complete",this.ab);this.H.listen(this.g,"ready",this.sa);this.S=null;this.P=new lh;Df(this,this.P);this.l&&mh(this.P,this.l.j(),function(){h.l.getState().g>=3&&(h.S=
|
|
(ih(),hh));h.l.getState().g>=3||h.S!==(ih(),hh)||xi(h)});this.R=g;this.M=Pg(this.O.get("docs-epfdfjes"));this.ca={}}u(wi,W);p=wi.prototype;p.send=function(a,b,c,d){Pg(this.O.get("docs-dafjera"))&&(a=mi(mi(a,ki),ji));var e=zg(zg(Gg(this.o.length),function(f){if(!(f>=this.da))return this.R&&(a=V(a,"errorSender_enqueueTimeMs",Date.now().toString())),f={},f.u=a,f.m=b,f.c=c,f.h=d,this.enqueue(f)},this),this.sa,this);Bg(e,function(){this.A.delete(e)},this);this.A.add(e)};
|
|
function yi(a){return dg(Array.from(a.A.values())).then(n())}p.sa=function(){var a=this.l&&this.l.getState().g>=3,b=this.ka()||this.g.isActive()||this.j.isActive()||this.N;return a||b?Gg():zi(this)};function zi(a){return function(){return zg(Gg(a.o[0]!==void 0?a.o[0]:null),function(b){return Ai(a,b)})}()}
|
|
function Ai(a,b){if(a.j.isActive()||a.g.isActive()||a.N)return Gg();if(!b)return a.j.stop(),Gg();if(b.u.length>4E3)return Bi(a);try{Xg(a.U);a.K=new sg;var c=b.u;a.ba!=null&&(c=V(c,"reportingSessionId",a.ba));a.v>0&&(c=V(c,"retryCount",a.v));a.D!=null&&(c=V(c,"previousErrorSendStatus",a.D));a.R&&(c=V(c,"errorSenderType",a.ya()),b.errorSender_frontIndex&&(c=V(c,"errorSender_frontIndex",b.errorSender_frontIndex)),b.errorSender_nextIndex&&(c=V(c,"errorSender_nextIndex",b.errorSender_nextIndex)),b.errorSender_queueSize&&
|
|
(c=V(c,"errorSender_queueSize",b.errorSender_queueSize)));var d=Gg();a.M&&(a.ca=b,d=Bi(a));var e=b.m,f=b.c,g=b.h;return zg(zg(d,function(){a.g.send(c,e,f,g)}),function(){return a.K})}catch(h){if(Ve(h)instanceof Ug)a.N=!0;else throw hf(h,{"docs-origin-class":"docs.debug.ErrorSender"});}return Gg()}
|
|
p.ab=function(){var a=Ci(this.g),b=this.K,c=Di(this.g)||a>=400&&a<=500,d=this.v>3;c||d?(this.v=0,this.D=null,this.j.stop(),zg(this.M?Gg():Bi(this),function(){ug(b);vg(b,!0)})):(this.v++,this.D=a===-1?this.g.A:a,xi(this),this.M&&this.enqueue(this.ca),ug(b),vg(b,!0))};function xi(a){a.v!=1||a.j.isActive()?a.j.start():si(a.j,!0,!0)}p.L=function(){Cf(this.H,this.j,this.g,this.P);this.A.clear();W.prototype.L.call(this)};p.ya=ca("BaseErrorSender");function Ei(a,b,c,d,e){wi.call(this,a,b,c,void 0,d,e,void 0);this.o=[]}u(Ei,wi);Ei.prototype.enqueue=function(a){this.o.push(a);return Gg()};function Bi(a){a.o.shift();return Gg()}Ei.prototype.ya=ca("MemoryErrorSender");Ei.prototype.L=function(){delete this.o;wi.prototype.L.call(this)};function Fi(a){this.g=gd(Md(),yc(a));a=$c(this.g,1);this.j=Math.floor(Math.random()*100)<a}Fi.prototype.toString=function(){var a="{bool="+!(this.j?!Zc(this.g,5):!Zc(this.g,2))+', string="',b=this.j?dd(this.g,6):bd(this.g,3);a=a+(b!=null?String(b):"")+'", int=';b=this.j?fc(H(this.g,7,void 0,Ic)):$c(this.g,4,-1);return a+(b!=null?Number(b):-1)+"}"};function Gi(a){this.g=new Map;this.j=[];if(a=a.get("docs-cei")){var b=a.i;b&&Ta(this.j,b);a=a.cf||{};for(var c in a)this.g.set(c,new Fi(a[c]))}}Gi.prototype.get=function(a){return this.g.get(a)||null};function Hi(){for(var a in Array.prototype)return!1;return!0};function Ii(a){this.g=a}function Ji(a){var b=a.g;if(b==null)return null;if(typeof b==="string")return b;throw new TypeError("Invalid string data <K1cgmc>: "+a.g+" (typeof "+typeof a.g+")");}Ii.prototype.toString=function(){var a=Ji(this);if(a===null)throw Error("Data K1cgmc not defined.");return a};function Ki(a){this.C=G(a,void 0,void 0,2048)}u(Ki,J);function Li(a){this.C=G(a,void 0,void 0,2048)}u(Li,J);var Mi=[4,5];function Ni(a){this.C=G(a,void 0,void 0,2048)}u(Ni,J);function Oi(){var a=w;a=a===void 0?window:a;var b=new Ii(Ed("K1cgmc",a));a=new Ni;b=Ji(b);a=b===null?a:fd(Ni,"["+b.substring(4));b=a.C;var c=b[C]|0;this.g=zb(a,c)?a:Cc(a,b,c)?Dc(a,b):new a.constructor(Bc(b,c,!0))}
|
|
Oi.prototype.Z=function(){var a=new Map,b;(b=this.g)==null?b=void 0:(b=Vc(b,Li,1),b=Vc(b,Ki,Sc(b,Mi,4)));if(b==null?0:ec(H(b,2))!=null){var c,d=(c=cd(b,2))==null?void 0:c.toString();d&&a.set("canaryanalysisservertestgroup",d);if(b==null)var e=void 0;else if((c=Wc(b,Jd,3))==null)e=void 0;else{b=Number;e=e===void 0?"0":e;var f;d=(f=Ma?kc(H(c,1,void 0,void 0,lc)):kc(H(c,1),!0))!=null?f:e;e=b(d);f=$c(c,2);e=(new Date(e*1E3+f/1E6)).valueOf().toString()}e&&a.set("serverstarttimemillis",e)}var g,h;(e=(g=
|
|
this.g)==null?void 0:(h=Wc(g,Li,1))==null?void 0:cd(h,6))&&a.set("clientApp",String(e));return a};function Pi(a,b){this.width=a;this.height=b}p=Pi.prototype;p.clone=function(){return new Pi(this.width,this.height)};p.aspectRatio=function(){return this.width/this.height};p.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};p.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};p.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};function Qi(a){var b=document;a=String(a);b.contentType==="application/xhtml+xml"&&(a=a.toLowerCase());return b.createElement(a)};function Ri(){}Ri.prototype.Z=function(){var a=new Map;Si()&&a.set("apps_telemetry.screen_tampered","true");a:{var b=v(Array.prototype);for(b=b.next();!b.done;b=b.next()){b=!0;break a}b=!1}b&&a.set("apps_telemetry.array_prototype_tampered","true");Ti()||a.set("apps_telemetry.canvas_creation_broken","true");!Ui()&&w.navigator&&w.navigator.webdriver&&a.set("apps_telemetry.webdriver","true");return a};
|
|
function Si(){if(Ui())return!1;var a=w.screen,b=!(a instanceof Screen);if(Va||Ua)return b;try{var c=n();a.addEventListener("change",c);a.removeEventListener("change",c)}catch(d){b=!0}return b}function Ti(){function a(b){try{var c=new Pi(1,500);return(b?Qi("CANVAS"):new OffscreenCanvas(c.width,c.height)).getContext("2d")!=null}catch(d){return!1}}return a(!1)&&(Ui()||a(!0))}function Ui(){return"WorkerGlobalScope"in w&&self instanceof w.WorkerGlobalScope};var Vi=[],Wi=[],Xi=[RegExp("^_0x[a-f0-9]{6} is not defined$"),RegExp("[Zz]otero"),RegExp('^Not found$|^Unknown Error of type "string": Not found$')],Yi="egfdjlfmgnehecnclamagfafdccgfndp mndnfokpggljbaajbnioimlmbfngpief mlkejohendkgipaomdopolhpbihbhfnf kgonammgkackdilhodbgbmodpepjocdp klbcgckkldhdhonijdbnhhaiedfkllef pmehocpgjmkenlokgjfkaichfjdhpeol cjlaeehoipngghikfjogbdkpbdgebppb ghbmnnjooekpmoecnnnilnnbdlolhkhi lmjegmlicamnimmfhcmpkclmigmmcbeh gmbmikajjgmnabiglmofipeabaddhgne lpcaedmchfhocbbapmcbpinfpgnhiddi gbkeegbaiigmenfmjfclcdgdpimamgkj adokjfanaflbkibffcbhihgihpgijcei".split(" "),
|
|
Zi=[RegExp("chrome-extension://([^/]+)","g"),RegExp("moz-extension://([^/]+)","g"),RegExp("ms-browser-extension://([^/]+)","g"),RegExp("webkit-masked-url://([^/]+)","g"),RegExp("safari-web-extension://([^/]+)","g")],$i=[RegExp("^Permission denied$"),RegExp("index out of range: \\d+ \\+ \\d+ > \\d+"),RegExp("getReadMode(Config|Render|Extract)")],aj=[RegExp("@file:///|phantomjs|node:electron|py-scrap|eval code|Program Files")],bj=[RegExp("Script https://meet\\.google\\.com/.*meetsw.*load failed"),RegExp("A bad HTTP response code \\(\\d+\\) was received when fetching the script")],
|
|
cj=[RegExp("Error loading.*Consecutive load failures"),RegExp("Failed to load module.*Consecutive load failures")];function dj(a,b){this.pa=a;this.ga=b}function ej(a,b){return(b=a.g(b))?{pa:a.pa,ga:a.ga,ua:b.toUpperCase()}:null};function fj(){dj.call(this,1,1)}u(fj,dj);fj.prototype.g=function(a){a:{a=gj(a);for(var b=!1,c=v(Zi),d=c.next();!d.done;d=c.next()){d=a.matchAll(d.value);d=v(d);for(var e=d.next();!e.done;e=d.next())if(e=e.value[1]){if(Yi.includes(e)){a=!1;break a}b=!0}}a=b}return a?"warning":null};function hj(a,b,c,d){this.message=a;this.g=b;this.cause=c;this.j=d}function ij(a){return(a=a.cause)?a.message+"\n"+a.g+"\n"+ij(a):""}function gj(a){return a.message+"\n"+a.g+"\n"+ij(a)}function jj(){this.j=this.g=this.message=""}function kj(a,b){a.message=b;return a};function lj(a){return a instanceof Error||a&&a.message!==void 0?a.message:mj(a)}function nj(a){return a instanceof Error||a&&a.stack!==void 0?a.stack||"":""}function oj(a,b){var c=a&&a.cause!==void 0;if(b>=3||!c)return null;c=new jj;a=a.cause;if(a instanceof Error||a.message!==void 0&&a.stack!==void 0){if(kj(c,lj(a)),c.g=nj(a),b=oj(a,b+1))c.cause=b}else kj(c,mj(a));return new hj(c.message,c.g,c.cause,c.j)}
|
|
function mj(a){try{return a&&a instanceof Object?JSON.stringify(a):String(a)}catch(b){return String(a)}}function pj(a,b){var c=kj(new jj,lj(a));c.g=nj(a);if(a=oj(a,0))c.cause=a;b&&(c.j=b);return new hj(c.message,c.g,c.cause,c.j)};function qj(a,b,c,d){dj.call(this,c,d);this.j=a;this.l=b}u(qj,dj);qj.prototype.g=function(a){var b=ij(a);return rj(a.message,this.j)||rj(a.g,this.l)||rj(b,this.j)||rj(b,this.l)?"warning":null};function rj(a,b){b=v(b);for(var c=b.next();!c.done;c=b.next())if(c.value.test(a))return!0;return!1};function sj(a,b,c,d,e){dj.call(this,c,d);this.j=a;this.o=b;this.l=e}u(sj,dj);sj.prototype.g=function(a){if(this.l)a:{a=a.message;for(var b=v(this.j),c=b.next();!c.done;c=b.next())if(a===c.value){a=!0;break a}a=!1}else a=gj(a),a=tj(a,this.j)||tj(a,this.o);return a?"warning":null};function tj(a,b){b=v(b);for(var c=b.next();!c.done;c=b.next())if(a.includes(c.value))return!0;return!1}function uj(a,b,c,d){return new sj(a,b,c,d,!1)};var vj=[new fj,uj("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'".split(";"),
|
|
"puppeteer-core;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".split(";"),1,0),new qj(Xi,Wi,1,0),uj('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'.split(";"),
|
|
Vi,2,0),new qj($i,aj,3,0),uj("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`;enableDidUserTypeOnKeyboardLogging;Cannot redefine property: webdriver".split(";"),
|
|
["postUserData"],3,0),new qj(bj,Wi,5,0),uj("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(";"),
|
|
Vi,5,0),new qj(cj,cj,4,0),uj(["Timeout reached for loading script https://www.gstatic.com/_/apps-fileview/_/js/","Error while loading script https://www.gstatic.com/_/apps-fileview/_/js/"],Vi,4,0)],wj=new Set(["SEVERE","SEVERE_AFTER_INITIAL","UNKNOWN","FATAL",""]);function xj(a){this.j=a;this.g=!1}
|
|
function yj(a,b){var c="missing",d=new Map,e=!0;try{c=b.j;a.g&&d.set("apps_telemetry.after_downgraded_severe","true");for(var f=v(a.j),g=f.next();!g.done;g=f.next()){var h=g.value;try{var k=ej(h,b);if(k){var l=c,m=zj(a,c)?k.ua:c;Aj(k,l,m).forEach(function(r,y){d.set(y,r)});c=m;break}}catch(r){e=!1;var t=pj(r,c);d.set("apps_telemetry.handling_error",gj(t)+"\n\nclassifier: "+h.constructor.name)}}}catch(r){e=!1,a=pj(r,c),d.set("apps_telemetry.handling_error",gj(a))}d.set("apps_telemetry.processed",String(e));
|
|
return{ua:c,Ta:d}}function Aj(a,b,c){var d=new Map;d.set("apps_telemetry.classification",a.pa.toString());d.set("apps_telemetry.classification_code",a.ga?a.ga.toString():"");d.set("apps_telemetry.incoming_severity",b);d.set("apps_telemetry.outgoing_severity",c);return d}function zj(a,b){return wj.has(b.toUpperCase())?a.g=!0:!1};function Bj(){}Bj.prototype.Z=function(){if("WorkerGlobalScope"in w&&self instanceof w.WorkerGlobalScope)return new Map;try{var a=Array.from(document.querySelectorAll("script")).filter(this.j).slice(0,30).map(this.g).join("\n")}catch(b){a="Error getting cross-origin scripts"}return(new Map).set("apps_telemetry.cross_origin_scripts",a)};
|
|
Bj.prototype.j=function(a){var b=new RegExp(/^(?:https?:\/\/)?(?:[a-zA-Z0-9-]+\.)*google\.com(?:$|[\/#?])/);return(a=a.getAttribute("src"))?!(a.startsWith("/")||b.test(a)):!1};Bj.prototype.g=function(a){return a.innerHTML?a.outerHTML.slice(0,a.outerHTML.indexOf(a.innerHTML)):a.outerHTML};function Cj(){}Cj.prototype.Z=function(){try{var a=performance.getEntriesByType("resource").slice(-5).map(function(b){return Af(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 Dj="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function Ej(a,b,c){a=a===void 0?[]:a;b=b===void 0?[]:b;c=c===void 0?[]:c;var d=a;a=[Error("uncaught error").message];var e=[];if(b.length>0){var f=e.push,g=[];b=v(b);for(var h=b.next();!h.done;h=b.next())g.push(new RegExp(h.value));f.call(e,new qj(g,g,7,0))}e.push.apply(e,pa(vj));d=v(d);for(f=d.next();!f.done;f=d.next())e.push(f.value);a.length>0&&e.push(new sj(a,[],3,5,!0));this.l=new xj(e);this.g=[new Ri,new Bj,new Cj];this.g.push.apply(this.g,pa(c));c=[];c[8]=c[13]=c[18]=c[23]="-";c[14]="4";for(a=
|
|
0;a<36;a++)c[a]||(e=0|Math.random()*16,c[a]=Dj[a==19?e&3|8:e]);this.j=c.join("")}function Fj(a,b,c,d){d["apps_telemetry.session_id"]=a.j;"apps_telemetry.processed"in d&&(d["apps_telemetry.multi_processed"]="true");var e=a.Z();(a=Gj(a,b,c,e))&&Hj(e,a.Ta);e.forEach(function(g,h){d[h]=g});var f;return(f=a==null?void 0:a.ua)!=null?f:c}function Gj(a,b,c,d){try{var e=pj(b,c);return yj(a.l,e)}catch(f){Ij(d,f,"apps_telemetry.processed")}return null}
|
|
Ej.prototype.Z=function(){var a=new Map;try{for(var b=v(this.g),c=b.next();!c.done;c=b.next())c.value.Z().forEach(function(d,e){a.set(e,d)})}catch(d){Ij(a,d,"apps_telemetry.annotated")}return a};function Hj(a,b){b.forEach(function(c,d){a.set(d,c)})}function Ij(a,b,c){a.set(c,"false");a.set("apps_telemetry.handling_error",mj(b))};function Jj(a){var b=a=a===void 0?{}:a;a=b.xa===void 0?[]:b.xa;var c=b.gb===void 0?[]:b.gb,d=b.eb===void 0?[]:b.eb;b=b.cb===void 0?[]:b.cb;try{var e=Fd=Fd||new Gd;var f=Kd.key in e.g?Kd.ctor(e.g[Kd.key]):Kd.defaultValue,g=void 0===Bb?2:4;e=void 0;var h=f.C,k=h[C]|0,l=zb(f,k)?1:g;e=!!e||l===3;l===2&&Fc(f)&&(h=f.C,k=h[C]|0);var m=Pc(h,1),t=m===ub?7:m[C]|0,r=Qc(t,k);if(f=4&r?!1:!0){4&r&&(m=Array.prototype.slice.call(m),t=0,r=Oc(r,k),k=Lc(h,k,1,m));for(var y=g=0;g<m.length;g++){var I=mc(m[g]);I!=null&&
|
|
(m[y++]=I)}y<g&&(m.length=y);I=r|=4;I&=-513;r=I&-1025;r&=-4097}r!==t&&(D(m,r),2&r&&Object.freeze(m));var N=m=Mc(m,r,h,k,1,l,f,e)}catch(ja){N=[]}h=[];c.length>0&&h.push(uj(c,[],6,0));d.length>0&&h.push(new qj(d,[],6,0));b.length>0&&h.push(uj(b,[],6,5));return new Ej(h,N,[new Oi].concat(pa(a)))};try{var Kj,Lj,Mj=(Lj=(Kj=window)==null?void 0:Kj.top)!=null?Lj:w;Mj.U3bHHf!=null||(Mj.U3bHHf=0);Mj.U3bHHf++}catch(a){w.U3bHHf!=null||(w.U3bHHf=0),w.U3bHHf++};"#".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");function Nj(a,b){var c=a.__wiz;c||(c=a.__wiz={});return c[b.toString()]};/*
|
|
|
|
Copyright 2024 Google, Inc
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
var Oj={};var Pj={};function Qj(a){var b=document.body,c=Ja(b.getAttribute("jsaction")||"");var d=["u0pjoe"];for(var e=v(d),f=e.next();!f.done;f=e.next()){f=f.value;var g;if(g=c){var h=Oj[g];h?g=!!h[f.toString()]:(h=Pj[f.toString()],h||(h=new RegExp("(^\\s*"+f+"\\s*:|[\\s;]"+f+"\\s*:)"),Pj[f.toString()]=h),g=h.test(g))}else g=!1;g||(c&&!/;$/.test(c)&&(c+=";"),c+=f+":.CLIENT",Rj(b,c));(g=Nj(b,f))?g.push(a):b.__wiz[f.toString()]=[a]}return{et:d,Pa:a,el:b}}
|
|
function Rj(a,b){a.setAttribute("jsaction",b);"__jsaction"in a&&delete a.__jsaction};function Sj(a){W.call(this);this.j=a}z(Sj,W);Sj.prototype.g=function(a){return Tj(this,a)};function Uj(a,b){a=Object.prototype.hasOwnProperty.call(a,Ba)&&a[Ba]||(a[Ba]=++Ca);return(b?"__wrapper_":"__protected_")+a+"__"}function Tj(a,b){var c=Uj(a,!0);b[c]||((b[c]=Vj(a,b))[Uj(a,!1)]=b);return b[c]}function Vj(a,b){function c(){if(a.ka())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(d){Wj(a,d)}}c[Uj(a,!1)]=b;return c}
|
|
function Wj(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.j(b),new Xj(b);}function Yj(a){var b=b||w.window||w.globalThis;"onunhandledrejection"in b&&(b.onunhandledrejection=function(c){Wj(a,c&&c.reason?c.reason:Error("uncaught error"))})}
|
|
function Zj(a,b){var c=w.window||w.globalThis,d=c[b];if(!d)throw Error(b+" not on global?");c[b]=function(e,f){typeof e==="string"&&(e=Fa(Ga,e));e&&(arguments[0]=e=Tj(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][Uj(a,!1)]=d}
|
|
Sj.prototype.L=function(){var a=w.window||w.globalThis;var b=a.setTimeout;b=b[Uj(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[Uj(this,!1)]||b;a.setInterval=b;Sj.T.L.call(this)};function Xj(a){A.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)}z(Xj,A);function ak(){Z.call(this);this.headers=new Map;this.l=!1;this.g=null;this.M="";this.A=0;this.v=this.K=this.D=this.H=!1;this.N=0;this.o=null;this.O="";this.R=!1}z(ak,Z);var bk=/^https?$/i,ck=["POST","PUT"],dk=[];p=ak.prototype;p.Qa=function(){this.dispose();Sa(dk,this)};
|
|
p.send=function(a,b,c,d){if(this.g)throw Error("[goog.net.XhrIo] Object is active with another request="+this.M+"; newUri="+a);b=b?b.toUpperCase():"GET";this.M=a;this.A=0;this.H=!1;this.l=!0;this.g=new XMLHttpRequest;this.g.onreadystatechange=Ef(x(this.Aa,this));try{this.K=!0,this.g.open(b,String(a),!0),this.K=!1}catch(g){ek(this);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get===
|
|
"function"){e=v(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=w.FormData&&a instanceof w.FormData;!(Array.prototype.indexOf.call(ck,b,void 0)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=v(c);for(d=b.next();!d.done;d=b.next())c=v(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,
|
|
c);this.O&&(this.g.responseType=this.O);"withCredentials"in this.g&&this.g.withCredentials!==this.R&&(this.g.withCredentials=this.R);try{this.o&&(clearTimeout(this.o),this.o=null),this.N>0&&(this.o=setTimeout(this.hb.bind(this),this.N)),this.D=!0,this.g.send(a),this.D=!1}catch(g){ek(this)}};p.hb=function(){typeof va!="undefined"&&this.g&&(this.A=8,this.dispatchEvent("timeout"),this.abort(8))};function ek(a){a.l=!1;a.g&&(a.v=!0,a.g.abort(),a.v=!1);a.A=5;fk(a);gk(a)}
|
|
function fk(a){a.H||(a.H=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}p.abort=function(a){this.g&&this.l&&(this.l=!1,this.v=!0,this.g.abort(),this.v=!1,this.A=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),gk(this))};p.L=function(){this.g&&(this.l&&(this.l=!1,this.v=!0,this.g.abort(),this.v=!1),gk(this,!0));ak.T.L.call(this)};p.Aa=function(){this.ka()||(this.K||this.D||this.v?hk(this):this.ta())};p.ta=function(){hk(this)};
|
|
function hk(a){if(a.l&&typeof va!="undefined")if(a.D&&(a.g?a.g.readyState:0)==4)setTimeout(a.Aa.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.l=!1;try{Di(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.A=6,fk(a))}finally{gk(a)}}}function gk(a,b){if(a.g){a.o&&(clearTimeout(a.o),a.o=null);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}}p.isActive=function(){return!!this.g};
|
|
function Di(a){var b=Ci(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(uf)[1]||null,!a&&w.self&&w.self.location&&(a=w.self.location.protocol.slice(0,-1)),b=!bk.test(a?a.toLowerCase():"");c=b}return c}function Ci(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}}Kf(function(a){ak.prototype.ta=a(ak.prototype.ta)});function ik(a,b,c){Z.call(this);this.v=b||null;this.o={};this.A=jk;this.H=a;if(!c){this.g=null;this.g=new Sj(x(this.l,this));Zj(this.g,"setTimeout");Zj(this.g,"setInterval");a=this.g;b=w.window||w.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(var d=0;d<c.length;d++){var e=c[d];c[d]in b&&Zj(a,e)}a=this.g;Jf=!0;b=x(a.g,a);for(c=0;c<Hf.length;c++)Hf[c](b);If.push(a)}}z(ik,Z);
|
|
function kk(a,b){Lh.call(this,"c");this.error=a;this.W=b}z(kk,Lh);function lk(a,b){return new ik(a,b,void 0)}function jk(a,b,c,d){if(d instanceof Map){var e={};d=v(d);for(var f=d.next();!f.done;f=d.next()){var g=v(f.value);f=g.next().value;g=g.next().value;e[f]=g}}else e=d;d=new ak;dk.push(d);d.j.add("ready",d.Qa,!0,void 0,void 0);d.send(a,b,c,e)}function mk(a,b){a.A=b}
|
|
ik.prototype.l=function(a,b){a=a.error||a;b=b?oh(b):{};a instanceof Error&&qh(b,fb(a));var c=bf(a);if(this.v)try{this.v(c,b)}catch(r){}var d=c.message.substring(0,1900);if(!(a instanceof A)||a.g){var e=c.fileName,f=c.lineNumber;a=c.stack;try{var g=V(this.H,"script",e,"error",d,"line",f);a:{for(var h in this.o){var k=!1;break a}k=!0}if(!k){k=g;var l=zf(this.o);g=wf(k,l)}l={};l.trace=a;if(b)for(var m in b)l["context."+m]=b[m];var t=zf(l);this.A(g,"POST",t,this.D)}catch(r){}}try{this.dispatchEvent(new kk(c,
|
|
b))}catch(r){}};ik.prototype.L=function(){Bf(this.g);ik.T.L.call(this)};function nk(){this.g=Date.now()}var ok=null;nk.prototype.set=function(a){this.g=a};nk.prototype.reset=function(){this.set(Date.now())};nk.prototype.get=ba("g");function pk(a){this.o=a||"";ok||(ok=new nk);this.v=ok}pk.prototype.g=!0;pk.prototype.j=!0;pk.prototype.l=!1;function qk(a){return a<10?"0"+a:String(a)}function rk(a){pk.call(this,a)}z(rk,pk);
|
|
function sk(a,b){var c=[];c.push(a.o," ");if(a.j){var d=c.push,e=new Date(b.l());d.call(c,"[",qk(e.getFullYear()-2E3)+qk(e.getMonth()+1)+qk(e.getDate())+" "+qk(e.getHours())+":"+qk(e.getMinutes())+":"+qk(e.getSeconds())+"."+qk(Math.floor(e.getMilliseconds()/10)),"] ")}d=c.push;e=a.v.get();e=(b.l()-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.j(),"] ");c.push(b.getMessage());a.l&&(b=b.g(),b!==void 0&&c.push("\n",b instanceof
|
|
Error?b.message:String(b)));a.g&&c.push("\n");return c.join("")};function tk(a){a=a===void 0?new uk:a;Z.call(this);var b=this;this.O={};this.g=null;this.l={};this.M=new ui(this);this.Ra=a.G;this.R=a.K;this.Ha=a.D;this.Oa=a.v;this.Ia=a.M;var c=a.j;this.Fa=Jj({xa:a.H});this.Na=a.P;this.S=new Kh;var d=new ak;vk(this,c);this.A=new Ei(d,c,void 0,void 0,void 0);Df(this,this.A);this.o=a.g?a.g:Tg(c,"docs-sup")+Tg(c,"docs-jepp")+"/jserror";if(d=Tg(c,"jobset"))this.o=V(this.o,"jobset",d);if(d=Tg(c,"docs-ci"))this.o=V(this.o,"id",d);d=Tg(c,"docs-pid");Pg(c.get("docs-eaotx"))&&
|
|
d&&(this.o=V(this.o,"ouid",d));this.ca=Sg(c,"docs-srmoe")||0;this.Ka=Pg(c.get("docs-oesf"));this.da=Sg(c,"docs-srmour")||0;this.Ma=Pg(c.get("docs-oursf"));d=a.o||this.da>0&&Math.random()<this.da;this.Ja=Pg(c.get("docs-wesf"));wk(this);rg=function(g){return xk(b,g,"promise rejection")};var e=Sg(c,"docs-srmdue")||0;if(e>0&&Math.random()<e){var f=Pg(c.get("docs-duesf"));yg=function(g){xk(b,g,"deferred error",f,"isDeferredUnhandledErrback")}}else yg=n();e=Sg(c,"docs-srmxue")||0;e=e>0&&Math.random()<e;
|
|
c.get("docs-xduesf");e&&Ue();d&&(d=new Sj(function(g){var h={};h=(h.isUnhandledRejection="true",h);b.Ma?yk(b,g,h):b.info(g,h)}),Yj(d),Df(this,d));this.K=null;typeof document!=="undefined"&&document.body&&(this.K=Qj(function(g){var h={};h=(h.isWizError="true",h);g=v(g.data.errors);for(var k=g.next();!k.done;k=g.next())k=k.value.error,b.Ja?yk(b,k,h):b.info(k,h)}));this.N=a.l;this.D=!1;this.H=!0;this.v=!1;this.ba=Tg(c,"docs-jern");this.Ga=a.A;this.Ea=a.J.concat(Object.values(Re))}u(tk,Z);
|
|
function wk(a){var b=b===void 0?!1:b;if(zk){if(Ak!=null)throw Error('ErrorReporter already installed. at "'+Ak.stack+'"');throw Error("ErrorReporter already installed.");}zk=!0;Ak=Error();a.g=lk(a.o,function(e,f){return Bk(a,e,f)});var c={};a.Ha&&(c["X-No-Abort"]="1");a.g.D=c;mk(a.g,function(e,f,g,h){a.H&&a.A.send(e,f,g,h)});if(a.ca>0&&Math.random()<a.ca){c={};var d=(c.isWindowOnError="true",c);a.Ka?af(function(e){yk(a,e.error instanceof Error?e.error:Error(e.message),d)}):af(function(e){a.log(e.error instanceof
|
|
Error?e.error:Error(e.message),d)})}a.M.listen(a.g,"c",function(e){e.W.severity=e.W["severity-unprefixed"]||e.W.severity;var f=e.W.severity;(f=f=="fatal"||f=="postmortem")&&!a.Oa&&(!a.Ra||(b===void 0?0:b)?a.S.notify(void 0,e.W):a.S.notify(e,e.W));a.dispatchEvent(new ii(f?"a":"b",e.error,e.W))})}function vk(a,b){b=new Gi(b);var c=b.g,d;for(d in c){var e=c[d];e&&(a.l["expflag-"+d]=e.toString())}a.l.experimentIds=b.j.join(",")}
|
|
function yk(a,b,c){a.v=!1;Ck(b,"fatal");if(!a.g){if(b instanceof He)throw b.g;throw hf(b);}a.g.l(b,Dk(a,b,c));if(a.Ia){c=Dk(a,b,c);c.is_forceFatal=1;var d=b instanceof He?b.g:b;Bk(a,d,c);b=hf(d);a=", context:"+JSON.stringify(Dk(a,d,c));b.message+=a;throw b;}}function Ek(a,b,c){a.v=!1;Ck(b,"warning");a.g&&a.g.l(b,Dk(a,b,c))}tk.prototype.info=function(a,b,c){this.v=c||!1;Ck(a,"incident");this.g&&this.g.l(a,Dk(this,a,b))};
|
|
tk.prototype.log=function(a,b,c){this.v=!!c;Ck(a,"incident");this.g&&this.g.l(a,Dk(this,a,b))};
|
|
function xk(a,b,c,d,e){d=d===void 0?!0:d;if(b&&typeof b==="object"&&b.type==="error"){var f=b.error;b=JSON.stringify({error:f&&f.message?f.message:"Missing error cause.",stack:f&&f.stack?f.stack:"Missing error cause.",message:b.message,filename:b.filename,lineno:b.lineno,colno:b.colno,type:b.type});c=Error("Unhandled "+c+" with ErrorEvent: "+b)}else c=typeof b==="string"?Error("Unhandled "+c+" with: "+b):typeof b==="number"?Error("Unhandled "+c+" with number: "+b):b==null?Error("Unhandled "+c+' with "null/undefined"'):
|
|
b;b={};e&&(b[e]="true");d?Ia(c):a.info(c,b)}function Dk(a,b,c){b instanceof He&&(b=b.g);c=c?oh(c):{};c.severity=fb(b).severity;a.R&&(c.errorGroupId=a.R);return c}
|
|
function Bk(a,b,c){var d=a.D;try{a.U(b,c)}catch(f){throw d&&!a.N&&(a.H=!1),a.D=!0,c.provideLogDataError=f.message,c.severity||(c.severity="fatal"),hf(f);}finally{if(c["severity-unprefixed"]=c.severity||"fatal",c.severity=""+c["severity-unprefixed"],!a.Ga)for(var e in c)typeof c[e]==="number"||c[e]instanceof Number||typeof c[e]==="boolean"||c[e]instanceof Boolean||a.Ea.includes(e)||e in c&&delete c[e]}}
|
|
tk.prototype.U=function(a,b){for(var c in this.O)try{b[c]=this.O[c](a)}catch(g){}Object.assign(b,this.l);if((sf(),0)>0){var d=new rk,e="";rf(function(g){e+=sk(d,g)});b.clientLog=e}c=b.severity||"fatal";this.Na||(c=Fj(this.Fa,a,c,b));this.ba&&(b.reportName=this.ba+"_"+c);b.isArrayPrototypeIntact=Hi().toString();if(!("WorkerGlobalScope"in w&&self instanceof w.WorkerGlobalScope)){try{var f=!!document.getElementById("docs-editor")}catch(g){f=!1}b.isEditorElementAttached=f.toString()}b.documentCharacterSet=
|
|
document.characterSet;b.origin=String(w.origin);f=a.stack||"";if(f.trim().length==0||f=="Not available")b["stacklessError-reportingStack"]=gf(tk.prototype.U),[a.message].concat(pa(Object.keys(b)),pa(Object.values(b))).some(function(g){return g&&g.includes("<eye3")})||(b.eye3Hint="<eye3-stackless title='Stackless JS Error - "+a.name+"'/>");this.D&&!this.N?(this.H=this.v,c=="fatal"?c="postmortem":c=="incident"&&(c="warningafterdeath")):c=="fatal"&&(this.D=!0);this.v=!1;b.severity=c};
|
|
tk.prototype.L=function(){zk=!1;if(this.K)for(var a=this.K,b=v(a.et),c=b.next();!c.done;c=b.next()){c=c.value;var d=Nj(a.el,c);if(d&&(Sa(d,a.Pa),!d.length)){d=a.el;var e=Ja(d.getAttribute("jsaction")||"");c+=":.CLIENT";e=e.replace(c+";","");e=e.replace(c,"");Rj(d,e)}}Cf(this.M,this.g,this.A);Z.prototype.L.call(this)};var zk=!1,Ak=null;function uk(){this.K=this.j=void 0;this.v=this.M=this.G=!1;this.g=void 0;this.D=this.l=!1;this.A=!0;this.J=[];this.P=this.o=!1;this.H=[]}
|
|
function Ck(a,b){a instanceof He&&(a=a.g);eb(a,"severity",b)};function Fk(a,b){Z.call(this);this.U=a;this.N=b;this.K=void 0;this.status=this.readyState=0;this.responseType=this.o=this.l=this.statusText="";this.onreadystatechange=null;this.M=new Headers;this.v=null;this.R="GET";this.S="";this.g=!1;this.O=this.A=this.D=null;this.H=new AbortController}z(Fk,Z);p=Fk.prototype;p.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("Error reopening a connection");this.R=a;this.S=b;this.readyState=1;Gk(this)};
|
|
p.send=function(a){if(this.readyState!=1)throw this.abort(),Error("need to call open() first. ");if(this.H.signal.aborted)throw this.abort(),Error("Request was aborted.");this.g=!0;var b={headers:this.M,method:this.R,credentials:this.K,cache:void 0,signal:this.H.signal};a&&(b.body=a);(this.U||w).fetch(new Request(this.S,b)).then(this.Za.bind(this),this.ia.bind(this))};
|
|
p.abort=function(){this.l=this.o="";this.M=new Headers;this.status=0;this.H.abort("Request was aborted.");this.A&&this.A.cancel("Request was aborted.").catch(n());this.readyState>=1&&this.g&&this.readyState!=4&&(this.g=!1,Hk(this));this.readyState=0};
|
|
p.Za=function(a){if(this.g&&(this.D=a,this.v||(this.status=this.D.status,this.statusText=this.D.statusText,this.v=a.headers,this.readyState=2,Gk(this)),this.g&&(this.readyState=3,Gk(this),this.g)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.Xa.bind(this),this.ia.bind(this));else if(typeof w.ReadableStream!=="undefined"&&"body"in a){this.A=a.body.getReader();if(this.N){if(this.responseType)throw Error('responseType must be empty for "streamBinaryChunks" mode responses.');this.l=
|
|
[]}else this.l=this.o="",this.O=new TextDecoder;Ik(this)}else a.text().then(this.Ya.bind(this),this.ia.bind(this))};function Ik(a){a.A.read().then(a.Wa.bind(a)).catch(a.ia.bind(a))}p.Wa=function(a){if(this.g){if(this.N&&a.value)this.l.push(a.value);else if(!this.N){var b=a.value?a.value:new Uint8Array(0);if(b=this.O.decode(b,{stream:!a.done}))this.l=this.o+=b}a.done?Hk(this):Gk(this);this.readyState==3&&Ik(this)}};p.Ya=function(a){this.g&&(this.l=this.o=a,Hk(this))};
|
|
p.Xa=function(a){this.g&&(this.l=a,Hk(this))};p.ia=function(){this.g&&Hk(this)};function Hk(a){a.readyState=4;a.D=null;a.A=null;a.O=null;Gk(a)}p.setRequestHeader=function(a,b){this.M.append(a,b)};p.getResponseHeader=function(a){return this.v?this.v.get(a.toLowerCase())||"":""};p.getAllResponseHeaders=function(){if(!this.v)return"";for(var a=[],b=this.v.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
|
|
function Gk(a){a.onreadystatechange&&a.onreadystatechange.call(a)}Object.defineProperty(Fk.prototype,"withCredentials",{get:function(){return this.K==="include"},set:function(a){this.K=a?"include":"same-origin"}});function Jk(a){this.g=null;this.j=a<1;this.l=a<.01}function Kk(a,b){var c=c===void 0?{}:c;a.l&&(c.sampling_samplePercentage=(.01).toString(),a.g.info(b,c))}function Lk(a,b,c){c=c===void 0?{}:c;a.j&&(c.sampling_samplePercentage=(1).toString(),Ek(a.g,b,c))};function Mk(a){this.C=G(a,void 0,void 0,2048)}u(Mk,J);Mk.prototype.getMessage=function(){return bd(this,1)};function Nk(a){this.C=G(a,void 0,void 0,2048)}u(Nk,J);function Ok(){var a=new Nk;return ed(a,2,Date.now().toString())};function Pk(a){this.C=G(a,void 0,void 0,2048)}u(Pk,J);function Qk(a){this.C=G(a,void 0,void 0,2048)}u(Qk,J);function Rk(a){this.C=G(a,void 0,void 0,2048)}u(Rk,J);var Sk=hd(Rk);function Tk(a){this.C=G(a,void 0,void 0,2048)}u(Tk,J);function Uk(a){this.C=G(a,void 0,void 0,2048)}u(Uk,J);function Vk(a,b){return Kc(a,1,b==null?b:dc(b))}Uk.prototype.qa=function(){return Wc(this,Mk,5)};function Wk(a,b){this.j=b;this.g=a}function Xk(a,b){var c=b.g;c&&c.data&&c.ports&&c.ports.length?(b=c.data?Sk(JSON.stringify(c.data)):new Rk,Yk(a,b,c.ports.length>1?c.ports[1]:void 0).then(function(d){c.ports[0].postMessage(xc(d))})):Lk(a.g,Error("Dropped invalid event."),{event:String(b)})}function Yk(a,b,c){return $f().then(function(){return a.j(b,c)}).oa(function(d){d=d instanceof Error?d:Error(d);var e=new Uk,f=new Mk;Yc(e,Mk,5,f);ed(f,1,d.message);return e})};function Zk(a){this.C=G(a,void 0,void 0,2048)}u(Zk,J);function $k(a,b){return Kc(a,1,b==null?b:dc(b))}Zk.prototype.qa=function(){return Wc(this,Mk,3)};function al(a){var b=eg();chrome.runtime.sendMessage(xc(a),void 0,function(c){return bl(b,function(d){return new Zk(d)},c)});return b.promise.Ca(function(c){c=ff(c);eb(c,"offscreenDocumentRequestType",cd(a,1).toString());throw c;})}
|
|
function bl(a,b,c){var d=chrome.runtime;c!==void 0?(d=b(c),d.qa()?(b=a.reject,c=Error,d=d.qa(),d=dd(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 cl(a){a=a===null?"null":a===void 0?"undefined":a;var b;Xe===void 0&&(Xe=Ye());a=(b=Xe)?b.createScriptURL(a):a;return new Ze(a)};function dl(a){W.call(this);this.g=this.A=null;this.v=eg();this.o=!1;this.l=0;this.D=null;this.j=new Jk(a)}u(dl,W);function el(a){w.clearTimeout(a.l);a.g&&(a.o&&(a.v=eg(),a.o=!1),a.g.parentNode&&a.g.parentNode.removeChild(a.g),a.g=null);return Promise.resolve()}function fl(a,b){return a.g?Promise.resolve():gl(a,b)}
|
|
function gl(a,b){b||Kk(a.j,Error("Creating extension frame without an OUID."));var c=hl(a,b);return el(a).then(function(){a.g=Qi("IFRAME");a.g.id="extensionFrame";$e(a.g,cl(c));document.body.appendChild(a.g);a.l=oi(function(){Lk(a.j,Error("Timed out waiting for frame connection."));return cg([pi(),yi(a.A.A)]).then(function(){w.close()})},14E3);return Promise.resolve()})}function hl(a,b){return uh(a.D,"/offline/extension/frame").toString()+"?ouid="+(b?encodeURIComponent(String(b)):"")}
|
|
function il(a,b){return Promise.resolve(a.v.promise).then(function(c){var d=new MessageChannel;return(new Promise(function(e){d.port1.onmessage=function(f){e(new Tk(f.data))};c.postMessage(xc(b),[d.port2])})).finally(function(){d.port1.close()})})}dl.prototype.L=function(){el(this);W.prototype.L.call(this)};function jl(a){this.C=G(a,void 0,void 0,2048)}u(jl,J);function kl(a){this.C=G(a,void 0,void 0,2048)}u(kl,J);function ll(a){var b=new kl;return Kc(b,1,a==null?a:dc(a))}function ml(a){var b=ll(3);return Yc(b,Nk,4,a)}function nl(a,b){return Yc(a,Qk,6,b)};function ol(){W.call(this);var a=this;this.l=null;this.j=this.g=0;chrome.runtime.onConnectExternal.addListener(function(b){return pl(a,b)});ql(this)}u(ol,W);function pl(a,b){a.g++;w.clearTimeout(a.j);b.onDisconnect.addListener(function(){a.g--;a.g==0&&rl(a)})}function rl(a){a.g==0&&(w.clearTimeout(a.j),a.j=oi(function(){a.g==0&&w.close()},6E4))}function ql(a){oi(function(){a.l&&Ek(a.l,ff("Force closed the offscreen document after one hour."));w.close()},36E5)};function sl(){x(this.l,this);this.g=new rk;this.g.j=!1;this.g.l=!1;this.j=this.g.g=!1;this.o={}}function tl(a){1!=a.j&&(a.j=!0)}sl.prototype.l=function(a){function b(f){if(f){if(f.value>=mf.value)return"error";if(f.value>=nf.value)return"warn";if(f.value>=of.value)return"log"}return"debug"}if(!this.o[a.j()]){var c=sk(this.g,a),d=ul;if(d){var e=b(a.o());vl(d,e,c,a.g())}}};var ul=w.console;function vl(a,b,c,d){if(a[b])a[b](c,d===void 0?"":d);else a.log(c,d===void 0?"":d)};function wl(){W.call(this);var a=this,b=new rh(self.location);this.U=xl(b,"sessionId",function(c){return String(c)},Ke());this.g=this.j=this.M=null;this.l=new ol;rl(this.l);this.N=new sl;tl(this.N);this.K=new ui(this);Df(this,this.K);this.K.listen(w,"message",this.R);this.H=xl(b,"randomPercentageForSampling",function(c){return Number(c)},Math.random()*100);this.P=this.H<1;this.o=new Jk(this.H);this.A="unknown";this.D=null;this.v="unknown";this.O=new Wk(this.o,function(c,d){return yl(a,c,d)});chrome.runtime.onMessage.addListener(this.S.bind(this))}
|
|
u(wl,W);wl.prototype.R=function(a){Xk(this.O,a)};function yl(a,b,c){var d=Vk(new Uk,ec(H(b,1)));switch(ec(H(b,1,void 0,Ic))){case 1:b=(b=Wc(b,Nk,7))?dd(b,1):null;var e=Ok();b?ed(e,1,b):Kk(a.o,Error("Scheduler frame connect request sent without an ouid."));b=ml(e);return al(b).then(function(){var f=a.g;f.v.resolve(c);f.o=!0;w.clearTimeout(f.l)}).then(function(){return d});case 3:return b=nl(ll(7),Wc(b,Qk,3)),al(b).then(function(){return d})}throw Error("Dropped unknown message "+b);}
|
|
wl.prototype.S=function(a,b,c){var d=this;w.clearTimeout(this.l.j);var e=new kl(a);zl(this,e).then(function(f){c(xc(f))}).catch(function(f){var g=f instanceof Error?f:Error(f);f=new Mk;ed(f,1,g.message);g=$k(new Zk,ec(H(e,1)));Yc(g,Mk,3,f);c(xc(g))}).finally(function(){rl(d.l)});return!0};
|
|
function zl(a,b){var c=$k(new Zk,ec(H(b,1)));try{switch(ec(H(b,1,void 0,Ic))){case 1:return Al(a,b),gl(a.g,a.D).then(function(){return c});case 4:return il(a.g,Wc(b,Pk,5)).then(function(d){Yc(c,Tk,4,d);return c});case 5:return el(a.g).then(function(){return c});case 6:return Al(a,b),fl(a.g,a.D).then(function(){return c});default:throw Error("Dropped unknown message");}}catch(d){return Promise.reject(d)}}
|
|
function Al(a,b){if(!a.g){b=Wc(b,jl,2);a.D=dd(b,1);a.M=dd(b,2);var c;a.A=(c=mc(H(b,4)))!=null?c:a.A;var d;a.v=(d=mc(H(b,3)))!=null?d:a.v;c=new rh(a.M);var e=uh(c,"/offline/jserror").toString();d=a.P;b=a.U;var f=f===void 0?!1:f;var g=g===void 0?Mg():g;var h=new uk;h.G=!1;h.v=!0;h.g=e;h.l=f;h.j=g;h.o=!1;f=new tk(h);f.l.sessionTypeName="offline-off-screen-document";f.l.reportsNonFatalErrors=String(d);f.l.sid=b;f.l.extensionVersion=a.v;f.l.optInStatus=a.A;a.j=f;Df(a,a.j);a.o.g=a.j;a.l.l=a.j;a.g=new dl(a.H,
|
|
"OffscreenDocument");f=a.g;g=a.j;f.A=g;f.j.g=g;a.g.D=c;Df(a,a.g)}}function xl(a,b,c,d){a=a.l.ha(b);return a.length!=0?c(a[0]):d};new wl;
|