try{
var _F_toggles_initialize=function(a){(typeof globalThis!=="undefined"?globalThis:typeof self!=="undefined"?self:this)._F_toggles=a||[]};_F_toggles_initialize([0x7008004, 0x0, ]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
/*

 Copyright Google LLC
 SPDX-License-Identifier: Apache-2.0
*/
/*


 Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/
/*

 Copyright 2005, 2007 Bob Ippolito. All Rights Reserved.
 Copyright The Closure Library Authors.
 SPDX-License-Identifier: MIT
*/
/*

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 l,aa=function(a,b){if(Error.captureStackTrace)Error.captureStackTrace(this,aa);else{let c=Error().stack;c&&(this.stack=c)}a&&(this.message=String(a));b!==void 0&&(this.cause=b);this.g=!0},ca=function(a){return(ba||(ba=new TextEncoder)).encode(a)},da=function(a){n.setTimeout(function(){throw a;},0)},ea=function(a){var b=[],c=0;for(let d=0;d<a.length;d++){let e=a.charCodeAt(d);e>255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},fa=function(a){if(a.length<=8192)return String.fromCharCode.apply(null,a);
var b="";for(let c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},ia=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")},ja=function(a){var b=[],c=0;for(let d=0;d<a.length;d++){let e=a.charCodeAt(d);e<128?b[c++]=e:(e<2048?b[c++]=e>>6|192:((e&64512)==55296&&d+1<a.length&&(a.charCodeAt(d+1)&64512)==56320?(e=65536+((e&1023)<<10)+(a.charCodeAt(++d)&1023),b[c++]=e>>18|240,b[c++]=e>>12&
63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b},ka=function(a){return/^[\s\xa0]*$/.test(a)},ma=function(a,b){return a.indexOf(b)!=-1},na=function(a,b){return a<b?-1:a>b?1:0},oa=function(){var a=n.navigator;return a&&(a=a.userAgent)?a:""},sa=function(a){if(!pa||!qa)return!1;for(let b=0;b<qa.brands.length;b++){let c=qa.brands[b].brand;if(c&&ma(c,a))return!0}return!1},ta=function(a){return ma(oa(),a)},ua=function(){return pa?!!qa&&qa.brands.length>0:!1},va=function(){return ua()?
!1:ta("Opera")},wa=function(){return ta("Firefox")||ta("FxiOS")},xa=function(){return ua()?sa("Chromium"):(ta("Chrome")||ta("CriOS"))&&!(ua()?0:ta("Edge"))||ta("Silk")},ya=function(){return pa?!!qa&&!!qa.platform:!1},za=function(){return ta("iPhone")&&!ta("iPod")&&!ta("iPad")},Aa=function(){za()||ta("iPad")||ta("iPod")},Ca=function(a){return a[a.length-1]},Ea=function(a,b){var c=a.length,d=typeof a==="string"?a.split(""):a;for(--c;c>=0;--c)c in d&&b.call(void 0,d[c],c,a)},Ga=function(a,b){b=Fa(a,
b);return b<0?null:typeof a==="string"?a.charAt(b):a[b]},Fa=function(a,b){var c=a.length,d=typeof a==="string"?a.split(""):a;for(let e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return e;return-1},Ja=function(a,b){return Ia(a,b)>=0},aaa=function(a){if(!Array.isArray(a))for(let b=a.length-1;b>=0;b--)delete a[b];a.length=0},La=function(a,b){Ja(a,b)||a.push(b)},Na=function(a,b){b=Ia(a,b);var c;(c=b>=0)&&Ma(a,b);return c},Ma=function(a,b){Array.prototype.splice.call(a,b,1)},Oa=function(a,b){b=Fa(a,
b);return b>=0?(Ma(a,b),!0):!1},baa=function(a){return Array.prototype.concat.apply([],arguments)},Pa=function(a){var b=a.length;if(b>0){let c=Array(b);for(let d=0;d<b;d++)c[d]=a[d];return c}return[]},Ra=function(a,b){for(let c=1;c<arguments.length;c++){let d=arguments[c];if(Qa(d)){let e=a.length||0,f=d.length||0;a.length=e+f;for(let g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},Ta=function(a,b,c,d){return Array.prototype.splice.apply(a,Sa(arguments,1))},Sa=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,
b):Array.prototype.slice.call(a,b,c)},Ua=function(a,b,c){b=b||a;var d=function(g){return g};c=c||d;for(var e=d=0,f=new Set;e<a.length;){let g=a[e++],h=c(g);f.has(h)||(f.add(h),b[d++]=g)}b.length=d},Va=function(a,b,c){for(var d=0,e=a.length,f;d<e;){let g=d+(e-d>>>1),h;h=b(c,a[g]);h>0?d=g+1:(e=g,f=!h)}return f?d:-d-1},Wa=function(a,b){return a>b?1:a<b?-1:0},Xa=function(a,b,c){c=Va(a,c||Wa,b);return c<0?(Ta(a,-(c+1),0,b),!0):!1},Za=function(a,b,c){b=Va(a,c||Wa,b);b>=0&&Ma(a,b)},caa=function(a,b){var c=
{};$a(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c},daa=function(a){var b=4;b===void 0&&(b=0);ab();b=bb[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e<a.length-2;e+=3){var g=a[e],h=a[e+1],k=a[e+2],m=b[g>>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=m+g+h+k}m=0;k=d;switch(a.length-e){case 2:m=a[e+1],k=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=b[a>>2]+b[(a&3)<<4|m>>4]+k+d}return c.join("")},cb=function(a){return n.btoa(a)},db=function(a){return n.btoa(unescape(encodeURIComponent(a)))},
fb=function(a,b){if(!b)return n.atob(a);var c="";eb(a,function(d){c+=String.fromCharCode(d)});return c},eaa=function(a){var b=[];eb(a,function(c){b.push(c)});return b},faa=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):ma("=.",a[b-1])&&(c=ma("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;eb(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},eb=function(a,b){function c(e){for(;d<a.length;){let f=a.charAt(d++),g=gb[f];if(g!=null)return g;if(!ka(f))throw Error("u`"+f);}return e}ab();
for(var d=0;;){let e=c(-1),f=c(0),g=c(64),h=c(64);if(h===64&&e===-1)break;b(e<<2|f>>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},ab=function(){if(!gb){gb={};var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"];for(let c=0;c<5;c++){let d=a.concat(b[c].split(""));bb[c]=d;for(let e=0;e<d.length;e++){let f=d[e];gb[f]===void 0&&(gb[f]=e)}}}},haa=function(a){return gaa[a]||""},ib=function(a){a=hb.test(a)?a.replace(hb,haa):a;a=atob(a);var b=
new Uint8Array(a.length);for(let c=0;c<a.length;c++)b[c]=a.charCodeAt(c);return b},jb=function(a){return a!=null&&a instanceof Uint8Array},kb=function(a,b){var c=a.length;if(c!==b.length)return!1;for(let d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0},lb=function(a,b,c){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382[b]=c},mb=function(){var a=Error();lb(a,"severity","incident");da(a)},nb=function(a){a=Error(a);lb(a,"severity","warning");
return a},pb=function(a,b){if(a!=null){var c;var d=(c=ob)!=null?c:ob={};c=d[a]||0;c>=b||(d[a]=c+1,mb())}},qb=function(a,b){return(b===void 0?0:b)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol()},sb=function(a,b){a[rb]|=b},tb=function(a){if(4&a)return 512&a?512:1024&a?1024:0},ub=function(a){sb(a,34);return a},vb=function(a){sb(a,8192);return a},wb=function(a){sb(a,32);return a},Ab=function(a){return a.length==0?xb():new yb(a,zb)},Fb=function(a){return a!=null&&a[Bb]===Eb},Hb=function(a,b){return b===
void 0?a.j!==Gb&&!!(2&(a.o[rb]|0)):!!(2&b)&&a.j!==Gb},Ib=function(a,b,c){if(a==null){if(!c)throw Error();}else if(typeof a==="string")a=a?new yb(a,zb):xb();else if(a.constructor!==yb)if(jb(a))a=a.length?new yb(new Uint8Array(a),zb):xb();else{if(!b)throw Error();a=void 0}return a},Jb=function(a,b){return!!a&&(Array.isArray(a)?a.includes(b):a.has(b))},Kb=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=a[rb]|0;if(d&1)return!0;if(!Jb(b,c))return!1;a[rb]=d|1;return!0},Mb=function(a,b){if(typeof b!==
"number"||b<0||b>=a.length)throw Error();},Nb=function(a,b){if(typeof b!=="number"||b<0||b>a.length)throw Error();},Ob=function(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b<g;b++)c(b-d,a[b]);if(f){a=a[e-1];for(let h in a)!isNaN(h)&&c(+h,a[h])}},Qb=function(a){return a&128?Pb:void 0},Rb=function(a,b){var c=iaa;if(!b(a)){var d,e;b=(e=(d=typeof c==="function"?c():c)==null?void 0:d.concat("\n"))!=null?
e:"";throw Error("x`"+b+"`"+String(a));}},Sb=function(a){a.Ds=!0;return a},Tb=function(a){return Sb(function(b){return b instanceof a})},Xb=function(a){return Sb(function(b){if(!jaa(b))return!1;for(var c=q(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.Qp===!0)continue;return!1}if(!e(b[d]))return!1}return!0})},Yb=function(a){return kaa(Sb(function(b,c){return b===void 0?!0:a(b,c)}))},kaa=function(a){a.Qp=!0;return a},Zb=function(){return Sb(function(a){return Array.isArray(a)})},
$b=function(a){return Sb(function(b){return laa(b)?b.every(function(c){return a(c)}):!1})},naa=function(){return maa(ac.apply(0,arguments))},maa=function(a){return Sb(function(b){if(!bc(b)||b.length!==a.length)return!1;for(let c=0;c<b.length;++c)if(!(0,a[c])(b[c]))return!1;return!0})},cc=function(){var a=ac.apply(0,arguments);return Sb(function(b){return a.some(function(c){return c(b)})})},ec=function(a){return Sb(function(b){return!a(b)})},jc=function(a){if(hc(a)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(a))throw Error(String(a));
}else if(ic(a)&&!Number.isSafeInteger(a))throw Error(String(a));return BigInt(a)},mc=function(a){var b=a>>>0;kc=b;lc=(a-b)/4294967296>>>0},nc=function(a){if(a<0){mc(-a);a=kc;var b=lc;b=~b;a?a=~a+1:b+=1;b=q([a,b]);a=b.next().value;b=b.next().value;kc=a>>>0;lc=b>>>0}else mc(a)},pc=function(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:oc(a,b)},oc=function(a,b){b>>>=0;a>>>=0;var c;b<=2097151?c=""+(4294967296*b+a):c=""+(BigInt(b)<<BigInt(32)|BigInt(a));return c},qc=function(){var a=
kc,b=lc,c;b&2147483648?c=""+(BigInt(b|0)<<BigInt(32)|BigInt(a>>>0)):c=oc(a,b);return c},sc=function(a){a.length<16?nc(Number(a)):(a=BigInt(a),kc=Number(a&BigInt(4294967295))>>>0,lc=Number(a>>BigInt(32)&BigInt(4294967295)))},tc=function(a){return[].concat(r(a))},uc=function(a,b){throw Error(b===void 0?"unexpected value "+a+"!":b);},vc=function(a){if(typeof a!=="number")throw Error("z`"+typeof a+"`"+a);return a},wc=function(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a===
"-Infinity")return Number(a)},oaa=function(a){return Ib(a,!1,!1)},yc=function(a){if(typeof a!=="boolean")throw Error("A`"+xc(a)+"`"+a);return a},zc=function(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a},Bc=function(a){switch(typeof a){case "bigint":return!0;case "number":return Ac(a);case "string":return paa.test(a);default:return!1}},Cc=function(a){if(!Ac(a))throw nb("enum");return a|0},Dc=function(a){return a==null?a:Ac(a)?a|0:void 0},Ec=function(a){if(typeof a!==
"number")throw nb("int32");if(!Ac(a))throw nb("int32");return a|0},Fc=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Ac(a)?a|0:void 0},qaa=function(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Ac(a)?a>>>0:void 0},Nc=function(a,b){b!=null||(b=1024);if(!Bc(a))throw nb("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Gc(a);case "bigint":return String(Hc(64,a));default:return Ic(a)}case 1024:switch(c){case "string":return Jc(a);
case "bigint":return jc(Hc(64,a));default:return Kc(a)}case 0:switch(c){case "string":return Gc(a);case "bigint":return jc(Hc(64,a));default:return Lc(a)}default:return uc(b,"Unknown format requested type for int64")}},Oc=function(a){return a==null?a:Nc(a,void 0)},Lc=function(a){a=Pc(a);if(!Qc(a)){nc(a);var b=kc,c=lc;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);b=pc(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a},Rc=function(a){a=Pc(a);a>=0&&Qc(a)||(nc(a),a=pc(kc,lc));return a},Ic=
function(a){a=Pc(a);Qc(a)?a=String(a):(nc(a),a=qc());return a},Sc=function(a){a=Pc(a);a>=0&&Qc(a)?a=String(a):(nc(a),a=oc(kc,lc));return a},Gc=function(a){var b=Pc(Number(a));if(Qc(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));b=a.length;(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")||(sc(a),a=qc());return a},Jc=function(a){var b=Pc(Number(a));if(Qc(b))return jc(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return jc(Hc(64,BigInt(a)))},
Kc=function(a){return Qc(a)?jc(Lc(a)):jc(Ic(a))},Tc=function(a){return Qc(a)?jc(Rc(a)):jc(Sc(a))},Uc=function(a){var b=Pc(Number(a));if(Qc(b)&&b>=0)return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615");b||(sc(a),a=oc(kc,lc));return a},Xc=function(a){var b=Pc(Number(a));if(Qc(b)&&b>=0)return jc(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return jc(Wc(64,BigInt(a)))},Yc=function(a,b){b=b===void 0?!1:b;var c=typeof a;
if(a==null)return a;if(c==="bigint")return String(Hc(64,a));if(Bc(a))return c==="string"?Gc(a):b?Ic(a):Lc(a)},Zc=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return jc(Hc(64,a));if(Bc(a))return b==="string"?Jc(a):Kc(a)},raa=function(a){var b=void 0;b!=null||(b=1024);if(!Bc(a))throw nb("uint64");var c=typeof a;switch(b){case 512:switch(c){case "string":return Uc(a);case "bigint":return String(Wc(64,a));default:return Sc(a)}case 1024:switch(c){case "string":return Xc(a);case "bigint":return jc(Wc(64,
a));default:return Tc(a)}case 0:switch(c){case "string":return Uc(a);case "bigint":return jc(Wc(64,a));default:return Rc(a)}default:return uc(b,"Unknown format requested type for int64")}},$c=function(a){return a==null?a:raa(a)},saa=function(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return jc(Wc(64,a));if(Bc(a))return b==="string"?Xc(a):Tc(a)},ad=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Hc(64,a));if(Bc(a)){if(b==="string")return Gc(a);if(b==="number")return Lc(a)}},
taa=function(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Wc(64,a));if(Bc(a)){if(b==="string")return Uc(a);if(b==="number")return Rc(a)}},bd=function(a){if(typeof a!=="string")throw Error();return a},cd=function(a){if(a!=null&&typeof a!=="string")throw Error();return a},dd=function(a){return a==null||typeof a==="string"?a:void 0},hd=function(a,b,c,d){if(Fb(a))return a;if(!Array.isArray(a))return c?d&2?b[fd]||(b[fd]=gd(b)):new b:void 0;c=a[rb]|0;d=c|d&32|d&2;d!==c&&(a[rb]=d);
return new b(a)},gd=function(a){a=new a;ub(a.o);return a},uaa=function(a,b,c){a=b?Ec(a):Fc(a);return a==null?c?0:void 0:a|0},vaa=function(a,b,c){if(b)return bd(a);var d;return(d=dd(a))!=null?d:c?"":void 0},id=function(a){return a},jd=function(a,b){if(typeof b==="string")try{b=ib(b)}catch(c){return!1}return jb(b)&&kb(a,b)},kd=function(a){switch(a){case "bigint":case "string":case "number":return!0;default:return!1}},pd=function(a,b){var c;if(a[Bb]===Eb)a=a.o,ld&&(c!=null||(c=a[ld]));else if(!Array.isArray(a))return!1;
if(b[Bb]===Eb)b=b.o,ld&&(c!=null||(c=b[ld]));else if(!Array.isArray(b))return!1;return md(a,b,c,2)},rd=function(a,b,c){return md(a,b,c,0)},md=function(a,b,c,d){if(a===b||a==null&&b==null)return!0;if(a instanceof Map)return sd(a,b,c);if(b instanceof Map)return sd(b,a,c);if(a==null||b==null)return!1;if(a instanceof yb)return td(a,b);if(b instanceof yb)return td(b,a);if(jb(a))return jd(a,b);if(jb(b))return jd(b,a);var e=typeof a,f=typeof b;if(e!=="object"||f!=="object")return Number.isNaN(a)||Number.isNaN(b)?
String(a)===String(b):kd(e)&&kd(f)?""+a===""+b:e==="boolean"&&f==="number"||e==="number"&&f==="boolean"?!a===!b:!1;if(a[Bb]===Eb||b[Bb]===Eb)return pd(a,b);if(a.constructor!=b.constructor)return!1;if(a.constructor===Array){f=a[rb]|0;var g=b[rb]|0,h=a.length,k=b.length,m=Math.max(h,k);e=(f|g|64)&128?0:-1;var p=d===1||!!((f|g)&1);if(p)d=1;else if((f|g)&8192)return ud(a,b);let Db,Lb;if(!p&&ld){var t;c!=null||(c=(t=a[ld])!=null?t:b[ld]);c!=null&&(Db=vd(c),Lb=wd(c))}t=h&&a[h-1];f=k&&b[k-1];t!=null&&typeof t===
"object"&&t.constructor===Object||(t=null);f!=null&&typeof f==="object"&&f.constructor===Object||(f=null);h=h-e-+!!t;k=k-e-+!!f;for(g=0;g<m;g++)if(!xd(g-e,a,t,h,b,f,k,e,Db,Lb,c,d))return!1;if(t)for(var w in t){{d=a;m=t;g=h;p=b;var A=f,J=k,Z=e,ha=Db,Da=Lb,Ha=c;let Wb=+w;d=!Number.isFinite(Wb)||Wb<g||Wb<J?!0:xd(Wb,d,m,g,p,A,J,Z,ha,Da,Ha,2)}if(!d)return!1}if(f)for(let Wb in f)if((w=t&&Wb in t)||(w=a,d=t,m=h,g=b,p=f,A=k,J=e,Z=Db,ha=Lb,Da=c,Ha=+Wb,w=!Number.isFinite(Ha)||Ha<m||Ha<A?!0:xd(Ha,w,d,m,g,p,
A,J,Z,ha,Da,2)),!w)return!1;return!0}if(a.constructor===Object)return rd([a],[b]);throw Error();},xd=function(a,b,c,d,e,f,g,h,k,m,p,t){b=yd(a,b,c,d,h);e=yd(a,e,f,g,h);t=t===1;if(e==null&&Kb(b,k,a)||b==null&&Kb(e,k,a))return!0;p=t?p:p==null?void 0:zd(p,a);if(m=m==null?void 0:m.has(a)){if(b==null&&Array.isArray(e))return e.length===0;if(e==null&&Array.isArray(b))return b.length===0;if(Array.isArray(b)&&Array.isArray(e))return ud(b,e)}return md(b,e,p,m||Jb(k,a)?1:0)},yd=function(a,b,c,d,e){var f;return(f=
a<d?b[a+e]:void 0)!=null?f:c==null?void 0:c[a]},Ad=function(a){return a},waa=function(a,b,c,d,e,f){a=hd(a,d,c,f);e&&(a=Bd(a));return a},xaa=function(a,b,c){if(a.size!=b.size)return!1;var d=!0;a.forEach(function(e,f){rd(e,b.get(f),c==null?void 0:zd(c,2))||(d=!1)});return d},Cd=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return 0;a=""+a[0];b=""+b[0];return a===b?0:a<b?-1:1},yaa=function(a,b,c){if(b==null)return a.size===0;if(!Array.isArray(b)||a.size>b.length)return!1;b=tc(b);Array.prototype.sort.call(b,
Cd);var d=0,e=void 0;for(let f=b.length-1;f>=0;f--){let g=b[f];if(!g||!Array.isArray(g)||g.length!==2)return!1;let h=g[0];if(h!==e){if(!rd(a.get(h),g[1],c==null?void 0:zd(c,2)))return!1;e=h;d++}}return d===a.size},ud=function(a,b){if(!Array.isArray(a)||!Array.isArray(b))return!1;a=tc(a);b=tc(b);Array.prototype.sort.call(a,Cd);Array.prototype.sort.call(b,Cd);var c=a.length,d=b.length;if(c===0&&d===0)return!0;for(var e=0,f=0;e<c&&f<d;){let g,h=a[e];if(!Array.isArray(h))return!1;let k=h[0];for(;e<c-
1&&rd((g=a[e+1])[0],k);)e++,h=g;let m,p=b[f];if(!Array.isArray(p))return!1;let t=p[0];for(;f<d-1&&rd((m=b[f+1])[0],t);)f++,p=m;if(!rd(k,t)||!rd(h[1],p[1]))return!1;e++;f++}return e>=c&&f>=d},zaa=function(a){return[a,this.get(a)]},Id=function(){return Dd||(Dd=new Hd(ub([]),void 0,void 0,void 0,Aaa))},Ld=function(a){var b=Jd(Kd);return b?a[b]:void 0},Caa=function(a,b){b<100||pb(Baa,1)},Pd=function(a,b,c,d){var e=d!==void 0;d=!!d;var f=Jd(Kd),g;!e&&f&&(g=a[f])&&Md(g,Caa);f=[];var h=a.length;g=4294967295;
var k=!1,m=!!(b&64),p=m?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(m&&!(b&128)&&!e){k=!0;var w;g=((w=Nd)!=null?w:id)(g-p,p,a,t,void 0)+p}}b=void 0;for(w=0;w<h;w++){let J=a[w];if(J!=null&&(J=c(J,d))!=null)if(m&&w>=g){let Z=w-p;var A=void 0;((A=b)!=null?A:b={})[Z]=J}else f[w]=J}if(t)for(let J in t){A=t[J];if(A==null||(A=c(A,d))==null)continue;h=+J;let Z;if(m&&!Number.isNaN(h)&&(Z=h+p)<g)f[Z]=A;else{let ha;((ha=b)!=null?ha:
b={})[J]=A}}b&&(k?f.push(b):f[g]=b);e&&Jd(Kd)&&(a=Ld(a))&&a instanceof Od&&(f[Kd]=Daa(a));return f},Eaa=function(a){a[0]=Qd(a[0]);a[1]=Qd(a[1]);return a},Qd=function(a){switch(typeof a){case "number":return Number.isFinite(a)?a:""+a;case "bigint":return Rd(a)?Number(a):""+a;case "boolean":return a?1:0;case "object":if(Array.isArray(a)){let b=a[rb]|0;return a.length===0&&b&1?void 0:Pd(a,b,Qd)}if(Fb(a))return Sd(a);if(a instanceof yb)return Ud(a);if(a instanceof Hd)return a=a.size!==0?Vd(a,Eaa):void 0,
a;return}return a},Xd=function(a,b){if(b){Nd=b==null||b===id||b[Faa]!==Gaa?id:b;try{return Sd(a)}finally{Nd=void 0}}return Sd(a)},Sd=function(a){a=a.o;return Pd(a,a[rb]|0,Qd)},$d=function(a){switch(typeof a){case "boolean":return Yd||(Yd=[0,void 0,!0]);case "number":return a>0?void 0:a===0?Zd||(Zd=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}},be=function(a,b){return ae(a,b[0],b[1])},u=function(a,b,c){return ae(a,b,c,2048)},ae=function(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("C");e=a[rb]|0;if(ce&&1&e)throw Error("D");2048&e&&!(2&e)&&Haa();if(e&256)throw Error("E");if(e&64)return(e|d)!==e&&(a[rb]=e|d),a;if(c&&(e|=128,c!==a[0]))throw Error("F");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1;let k=c[g];if(k!=null&&typeof k==="object"&&k.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("H");for(var h in k)if(f=+h,f<g)c[f+b]=k[h],delete k[h];else break;e=e&-16760833|(g&
1023)<<14;break a}}if(b){h=Math.max(b,f-(e&128?0:-1));if(h>1024)throw Error("I");e=e&-16760833|(h&1023)<<14}}}a[rb]=e|64|d;return a},Haa=function(){if(ce)throw Error("G");pb(Iaa,5)},Jaa=function(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[rb]|0;return a.length===0&&c&1?void 0:de(a,c,b)}if(Fb(a))return ee(a);if(a instanceof Hd){b=a.Ld;if(b&2)return a;if(!a.size)return;c=ub(Vd(a));if(a.Ee)for(a=0;a<c.length;a++){let d=c[a],e=d[1];e==null||typeof e!=="object"?e=void 0:Fb(e)?e=ee(e):
Array.isArray(e)?e=de(e,e[rb]|0,!!(b&32)):e=void 0;d[1]=e}return c}if(a instanceof yb)return a},de=function(a,b,c){if(b&2)return a;!c||4096&b||16&b?a=fe(a,b,!1,c&&!(b&16)):(sb(a,34),b&4&&Object.freeze(a));return a},ge=function(a,b,c){a=new a.constructor(b);c&&(a.j=Gb);a.H=Gb;return a},ee=function(a){var b=a.o,c=b[rb]|0;return Hb(a,c)?a:ke(a,b,c)?ge(a,b):fe(b,c)},fe=function(a,b,c,d){d!=null||(d=!!(34&b));a=Pd(a,b,Jaa,d);d=32;c&&(d|=2);b=b&16769217|d;a[rb]=b;return a},Bd=function(a){var b=a.o,c=b[rb]|
0;return Hb(a,c)?ke(a,b,c)?ge(a,b,!0):new a.constructor(fe(b,c,!1)):a},le=function(a){var b=a.o,c=b[rb]|0;return Hb(a,c)?a:ke(a,b,c)?ge(a,b):new a.constructor(fe(b,c,!0))},me=function(a){if(a.j!==Gb)return!1;var b=a.o;b=fe(b,b[rb]|0);sb(b,2048);a.o=b;a.j=void 0;a.H=void 0;return!0},ne=function(a){if(!me(a)&&Hb(a,a.o[rb]|0))throw Error();},oe=function(a,b){b===void 0&&(b=a[rb]|0);b&32&&!(b&4096)&&(a[rb]=b|4096)},ke=function(a,b,c){return c&2?!0:c&32&&!(c&4096)?(b[rb]=c|2,a.j=Gb,!0):!1},pe=function(a,
b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){let h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;if(d!==void 0){let h;g=((h=b)!=null?h:b=a[rb]|0)>>14&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b},we=function(a,b,c,d,e,f,g){var h=a.o,k=h[rb]|0;d=Hb(a,k)?1:d;e=!!e||d===3;d===2&&me(a)&&(h=a.o,k=h[rb]|0);var m=qe(h,b,g),p=m===re?7:m[rb]|0,t=se(p,k);var w=t;4&w?f==null?a=!1:(!e&&f===0&&(512&w||1024&
w)&&(a.constructor[te]=(a.constructor[te]|0)+1)<5&&mb(),a=f===0?!1:!(f&w)):a=!0;if(a){4&t&&(m=tc(m),p=0,t=ue(t,k),k=pe(h,k,b,m,g));let A=w=0;for(;w<m.length;w++){let J=c(m[w]);J!=null&&(m[A++]=J)}A<w&&(m.length=A);c=(t|4)&-513;t=c&=-1025;f&&(t|=f);t&=-4097}t!==p&&(m[rb]=t,2&t&&Object.freeze(m));return m=ve(m,t,h,k,b,g,d,a,e)},ve=function(a,b,c,d,e,f,g,h,k){var m=b;g===1||(g!==4?0:2&b||!(16&b)&&32&d)?xe(b)||(b|=!a.length||h&&!(4096&b)||32&d&&!(4096&b||16&b)?2:256,b!==m&&(a[rb]=b),Object.freeze(a)):
(g===2&&xe(b)&&(a=tc(a),m=0,b=ue(b,d),d=pe(c,d,e,a,f)),xe(b)||(k||(b|=16),b!==m&&(a[rb]=b)));2&b||!(4096&b||16&b)||oe(c,d);return a},qe=function(a,b,c){a=ye(a,b,c);return Array.isArray(a)?a:re},se=function(a,b){2&b&&(a|=2);return a|1},xe=function(a){return!!(2&a)&&!!(4&a)||!!(256&a)},ze=function(a){return Ib(a,!0,!0)},Ae=function(a){a=tc(a);for(let b=0;b<a.length;b++){let c=a[b]=tc(a[b]);Array.isArray(c[1])&&(c[1]=ub(c[1]))}return vb(a)},Be=function(a,b,c,d,e,f,g){!d&&me(a)&&(b=a.o,c=b[rb]|0);var h=
ye(b,e);a=!1;if(h==null){if(d)return Id();h=[]}else if(h.constructor===Hd)if(h.Ld&2&&!d)h=Vd(h);else return h;else Array.isArray(h)?a=!!((h[rb]|0)&2):h=[];if(d){if(!h.length)return Id();a||(a=!0,ub(h))}else a&&(a=!1,vb(h),h=Ae(h));!a&&c&32&&wb(h);d=new Hd(h,f,g,void 0);c=pe(b,c,e,d);a||oe(b,c);return d},Ce=function(a,b,c){var d=a.o,e=d[rb]|0;var f=Hb(a,e);a=Be(a,d,e,f,b,c,vaa);!f&&c&&(a.No=!0);return a},Kaa=function(a,b){this.set(b,a)},Ee=function(a,b,c,d){ne(a);var e=a.o,f=e[rb]|0;if(c==null)return pe(e,
f,b),a;var g=c===re?7:c[rb]|0,h=g,k=xe(g),m=k||Object.isFrozen(c);k||(g=0);m||(c=tc(c),h=0,g=ue(g,f),m=!1);g|=5;var p;k=(p=tb(g))!=null?p:1024;g|=k;for(p=0;p<c.length;p++){let t=c[p],w=d(t,k);Object.is(t,w)||(m&&(c=tc(c),h=0,g=ue(g,f),m=!1),c[p]=w)}g!==h&&(m&&(c=tc(c),g=ue(g,f)),c[rb]=g);pe(e,f,b,c);return a},Ge=function(a,b,c,d){ne(a);var e=a.o;pe(e,e[rb]|0,b,(d==="0"?Number(c)===0:c===d)?void 0:c);return a},Ie=function(a,b,c,d,e){return He(a,b,c,d,void 0,e,void 0,void 0,!0)},Je=function(a,b,c){if(b&
2)throw Error();var d=Qb(b),e=qe(a,c,d),f=e===re?7:e[rb]|0,g=se(f,b);if(2&g||xe(g)||16&g)g===f||xe(g)||(e[rb]=g),e=tc(e),f=0,g=ue(g,b),pe(a,b,c,e,d);g&=-13;g!==f&&(e[rb]=g);return e},Le=function(a){var b;return(b=a[Ke])!=null?b:a[Ke]=new Map},Ne=function(a,b,c,d,e){var f=Le(a),g=Me(f,a,b,c,e);g!==d&&(g&&(b=pe(a,b,g,void 0,e)),f.set(c,d));return b},Me=function(a,b,c,d,e){var f=a.get(d);if(f!=null)return f;f=0;for(let g=0;g<d.length;g++){let h=d[g];ye(b,h,e)!=null&&(f!==0&&(c=pe(b,c,f,void 0,e)),f=
h)}a.set(d,f);return f},Oe=function(a,b,c,d,e){var f=!1;d=ye(a,d,e,function(g){var h=hd(g,c,!1,b);f=h!==g&&h!=null;return h});if(d!=null)return f&&!Hb(d)&&oe(a,b),d},Pe=function(a,b,c,d,e,f,g,h,k){var m=Hb(a,c);f=m?1:f;h=!!h||f===3;m=k&&!m;(f===2||m)&&me(a)&&(b=a.o,c=b[rb]|0);a=qe(b,e,g);var p=a===re?7:a[rb]|0,t=se(p,c);if(k=!(4&t)){var w=a,A=c;let J=!!(2&t);J&&(A|=2);let Z=!J,ha=!0,Da=0,Ha=0;for(;Da<w.length;Da++){let Db=hd(w[Da],d,!1,A);if(Db instanceof d){if(!J){let Lb=Hb(Db);Z&&(Z=!Lb);ha&&(ha=
Lb)}w[Ha++]=Db}}Ha<Da&&(w.length=Ha);t|=4;t=ha?t&-4097:t|4096;t=Z?t|8:t&-9}t!==p&&(a[rb]=t,2&t&&Object.freeze(a));if(m&&!(8&t||!a.length&&(f===1||(f!==4?0:2&t||!(16&t)&&32&c)))){xe(t)&&(a=tc(a),t=ue(t,c),c=pe(b,c,e,a,g));d=a;m=t;for(p=0;p<d.length;p++)w=d[p],t=Bd(w),w!==t&&(d[p]=t);m|=8;t=m=d.length?m|4096:m&-4097;a[rb]=t}return a=ve(a,t,b,c,e,g,f,k,h)},Qe=function(a){a==null&&(a=void 0);return a},ue=function(a,b){return a=(2&b?a|2:a&-3)&-273},He=function(a,b,c,d,e,f,g,h,k,m){ne(a);b=we(a,b,f,2,!0,
void 0,g);var p;f=(p=tb(b===re?7:b[rb]|0))!=null?p:1024;if(k)if(Array.isArray(d))for(e=d.length,h=0;h<e;h++)b.push(c(d[h],f));else for(d=q(d),e=d.next();!e.done;e=d.next())b.push(c(e.value,f));else h&&m?(e!=null||(e=b.length-1),Mb(b,e),b.splice(e,h)):(h&&Nb(b,e),e!=void 0?b.splice(e,h,c(d,f)):b.push(c(d,f)));return a},Re=function(a,b,c,d,e,f,g){ne(a);var h=a.o;a=Pe(a,h,h[rb]|0,c,b,2,void 0,!0);if(f&&g)e!=null||(e=a.length-1),Mb(a,e),a.splice(e,f),a.length||(a[rb]&=-4097);else return f?Nb(a,e):d=d!=
null?d:new c,e!=void 0?a.splice(e,f,d):a.push(d),e=c=a===re?7:a[rb]|0,(f=Hb(d))?(c&=-9,a.length===1&&(c&=-4097)):c|=4096,c!==e&&(a[rb]=c),f||oe(h),d},Laa=function(a){return Yc(a,!0)},Ue=function(a,b){if(typeof a==="string")return new Se(ib(a),b);if(Array.isArray(a))return new Se(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new Se(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new Se(a,!1);if(a.constructor===yb)return b=Te(a)||new Uint8Array(0),new Se(b,!0,a);if(a instanceof
Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new Se(a,!1);throw Error();},bf=function(a,b,c){if(typeof BigInt64Array!=="undefined")return Ve||(Ve=new BigInt64Array(1),We=new Uint32Array(Ve.buffer),Ve[0]=BigInt(1),Xe=We[0]===1),Ve[0]=a,a=Xe?0:1,new b(We[a],We[1-a]);Ye||(Ze=BigInt(Number.MIN_SAFE_INTEGER),$e=BigInt(Number.MAX_SAFE_INTEGER),af=BigInt(4294967295),Ye=BigInt(32));if(a>=Ze&&a<=$e)return c(Number(a));a=BigInt.asUintN(64,a);return new b(Number(a&
af),Number(a>>Ye))},cf=function(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);return a},ef=function(){var a;return(a=df)!=null?a:df=1},gf=function(a,b){var c;return(c=a[ff])!=null?c:a[ff]=b(a)},hf=function(a){var b=1,c=a.length;for(var d=a[c-1];d==="="||d===".";d=a[--c-1]);d=c-4;for(var e=0;e<d;)b=a.charCodeAt(e)+31*b|0,b=a.charCodeAt(e+1)+31*b|0,b=a.charCodeAt(e+2)+31*b|0,b=a.charCodeAt(e+3)+31*b|0,e+=4;for(;e<c;)b=a.charCodeAt(e++)+31*b|0;return b},kf=function(a){var b=
0,c=a.length;for(let d=0;d<c;d++){let e=a[d];if(d===c-1&&e!=null&&typeof e==="object"&&e.constructor===Object)for(let f in e)!Number.isNaN(+f)&&(b=b+jf(e[f])|0);else b=b+jf(e)|0}return b*17|0},Maa=function(a){return hf(Ud(a))},lf=function(a){return kf(a.o)},mf=function(a){return kf([].concat(r(a.entries())))},jf=function(a){if(a==null)return 0;switch(typeof a){case "boolean":return a?Naa:Oaa;case "string":return hf(a);case "object":if(Array.isArray(a))return kf(a);if(a[Bb]===Eb)return Hb(a)?gf(a,
lf):lf(a);if(a&&typeof a==="object"&&a.Zp===nf)return a.Ld&2?gf(a,mf):mf(a);if(a instanceof yb)return gf(a,Maa)}return hf(String(a))},of=function(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error();if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error();return new a(wb(b))},rf=function(a,b){var c=c===void 0?pf:c;return new qf(a,b,!1,c)},uf=function(a,b,c,d,e){sf(a,c,tf(b,d),e)},xf=function(a,b,c,d,e){var f=e[a];if(f)return f;b=b?b():{};b.pl=e;b.Td=$d(e[0]);var g=
e[1];f=1;g&&g.constructor===Object&&(b.extensions=g,g=e[++f],typeof g==="function"&&(b.Xl=!0,vf!=null||(vf=g),wf!=null||(wf=e[f+1]),g=e[f+=2]));for(var h={};g&&Array.isArray(g)&&g.length&&typeof g[0]==="number"&&g[0]>0;){for(var k=0;k<g.length;k++)h[g[k]]=g;g=e[++f]}for(k=1;g!==void 0;){typeof g==="number"&&(k+=g,g=e[++f]);let t;var m=void 0;g instanceof qf?t=g:(t=Paa,f--);let w;if((w=t)==null?0:w.j){g=e[++f];m=e;var p=f;typeof g==="function"&&(g=g(),m[p]=g);m=g}g=e[++f];p=k+1;typeof g==="number"&&
g<0&&(p-=g,g=e[++f]);for(;k<p;k++){let A=h[k];m?d(b,k,t,m,A):c(b,k,t,A)}}return e[a]=b},zf=function(a){return Array.isArray(a)?a[0]instanceof qf?a:[Qaa,a]:[a,void 0]},tf=function(a,b){if(a instanceof v)return a.o;if(Array.isArray(a))return be(a,b)},Raa=function(){return new Af($d(0))},Saa=function(a,b,c){Bf(a,b,!!c.Di)},Taa=function(a,b,c,d){Bf(a,b,!!c.Di,d)},Bf=function(a,b,c,d){if(d){let f=d[Cf];var e=f?f.Td:$d(d[0]);a[b]=f!=null?f:d}if(e&&e===Yd){let f;((f=a.Rj)!=null?f:a.Rj=new Set).add(b)}else if(c){let f;
((f=a.Wf)!=null?f:a.Wf=new Set).add(b)}},Ff=function(a){var b=a[Cf];if(b)return b;b=xf(Cf,Raa,Saa,Taa,a);var c,d;if(!(b.extensions||((c=b.Wf)==null?0:c.size)||((d=b.Rj)==null?0:d.size))){c=!0;for(var e in b)isNaN(e)||(c=!1);if(c){if($d(a[0])===Yd)if(Df)e=Df;else{var f=new Af($d(!0));f.Td=$d(!0);e=Df=f}else e=(f=Ef)!=null?f:Ef=new Af($d(0));return a[Cf]=e}b.Kq=!0}return b},Hf=function(){var a;return(a=Gf)!=null?a:Gf=new Set},Jf=function(a){return xf(If,void 0,Uaa,Vaa,a)},Uaa=function(a,b,c,d){var e=
c.g;a[b]=d?function(f,g,h){return e(f,g,h,d)}:e},Vaa=function(a,b,c,d,e){var f=c.g,g,h;a[b]=function(k,m,p){return f(k,m,p,h||(h=Jf(d).Td),g||(g=Kf(d)),e)}},Kf=function(a){var b=a[Lf];if(b!=null)return b;var c=Jf(a);b=c.Xl?function(d,e){return vf(d,e,c)}:function(d,e){a:{Mf();try{for(;Nf(e)&&e.h!=4;){let J=e.j,Z=c[J];if(Z==null){let ha=c.extensions;if(ha){let Da=ha[J];if(Da){let Ha=Waa(Da);Ha!=null&&(Z=c[J]=Ha)}}}if(Z==null||!Z(e,d,J)){var f=e;let ha=f.A;Of(f);if(f.kj)var g=void 0;else{let Da=f.g.g-
ha;f.g.g=ha;g=Pf(f.g,Da)}var h=f=void 0,k=void 0,m=d,p=J,t=g;t&&((f=(h=(k=m[Kd])!=null?k:m[Kd]=new Od)[p])!=null?f:h[p]=[]).push(t)}}let A=Ld(d);A&&(A.pk=c.pl[Qf]);var w=!0;break a}catch(A){if(A instanceof RangeError)throw new SyntaxError;throw A;}finally{Rf>0&&Rf--}w=void 0}return w};a[Lf]=b;a[Qf]=Xaa.bind(a);return b},Xaa=function(a,b,c,d){var e=this[If],f=this[Lf],g=be(void 0,e.Td),h=Ld(a);if(h){var k=!1,m=e.extensions;if(m){e=function(p,t,w){if(w.length!==0)if(m[t])for(p=q(w),t=p.next();!t.done;t=
p.next()){t=Sf(t.value);try{k=!0,f(g,t)}finally{Tf(t)}}else d==null||d(a,t,w)};if(b==null)Md(h,e);else if(h!=null){let p=h[b];p&&e(h,b,p)}if(k){let p=a[rb]|0;if(p&2&&p&2048&&(c==null||!c.Xq))throw Error();let t=Qb(p),w=function(A,J){if(ye(a,A,t)!=null)switch(c==null?void 0:c.Ms){case 1:return;default:throw Error();}J!=null&&(p=pe(a,p,A,J,t));delete h[A]};b==null?Ob(g,g[rb]|0,function(A,J){w(A,J)}):w(b,ye(g,b,t))}}}},Waa=function(a){a=zf(a);var b=a[0].g;if(a=a[1]){let c=Kf(a),d=Jf(a).Td;return function(e,
f,g){return b(e,f,g,d,c)}}return b},Uf=function(a){return xf(Yaa,void 0,Zaa,$aa,a)},Zaa=function(a,b,c){a[b]=c.h},$aa=function(a,b,c,d){var e,f,g=c.h;a[b]=function(h,k,m){return g(h,k,m,f||(f=Uf(d).Td),e||(e=Vf(d)))}},Vf=function(a){var b=a[Wf];if(!b){let c=Uf(a);b=function(d,e){return Xf(d,e,c)};a[Wf]=b}return b},Xf=function(a,b,c){Ob(a,a[rb]|0,function(d,e){if(e!=null){var f=aba(c,d);f?f(b,e,d):d<500||pb(Yf,3)}});(a=Ld(a))&&Md(a,function(d,e,f){Zf(b,b.g.end());for(d=0;d<f.length;d++)Zf(b,Te(f[d])||
new Uint8Array(0))})},aba=function(a,b){var c=a[b];if(c)return c;if(c=a.extensions)if(c=c[b]){c=zf(c);var d=c[0].h;if(c=c[1]){let e=Vf(c),f=Uf(c).Td;c=a.Xl?wf(f,e):function(g,h,k){return d(g,h,k,f,e)}}else c=d;return a[b]=c}},$f=function(a,b,c){if(Array.isArray(b)){var d=b[rb]|0;if(d&4)return b;for(var e=0,f=0;e<b.length;e++){let g=a(b[e]);g!=null&&(b[f++]=g)}f<e&&(b.length=f);a=d|1;c&&(a=(a|4)&-1537);a!==d&&(b[rb]=a);c&&a&2&&Object.freeze(b);return b}},ag=function(a,b){var c=b[a];if(c){var d=c;if(Array.isArray(d)&&
d.length){var e=d[0],f=$d(e);f!=null&&f!==e&&(d[0]=f);d=f!=null}else d=!1;d&&(b[a]=c=Ff(c));return c}},eg=function(a,b,c){var d=ag(a,b);if(d){if(c instanceof Hd){let g=ag(2,d);if(!g)return;for(var e=q(c),f=e.next();!f.done;f=e.next())f=q(f.value),f.next(),f=f.next().value,bg(f.o,g)}if(vd(b).has(a)||wd(b).has(a)){if(Array.isArray(c))for(a=0;a<c.length;a++){b=c[a];if(b instanceof v)b=b.o;else if(!Array.isArray(b))throw Error();bg(b,d)}}else{if(c instanceof v)c=c.o;else if(!Array.isArray(c))throw Error();
bg(c,d)}}},bg=function(a,b){if(b!==Ef&&b!==Df){b.Kq||(a[fg]=b);var c=a.length,d=b.Td[1]?0:-1;for(let e=0;e<a.length;e++){let f=a[e];if(f&&typeof f==="object")if(e===c-1&&f!=null&&typeof f==="object"&&f.constructor===Object)for(let g in f){let h=+g;if(Number.isNaN(h))continue;let k=f[g];k&&typeof k==="object"&&eg(h,b,k)}else eg(e-d,b,f)}}},bba=function(a){var b=a[gg];if(!b){let c=Ff(a);b=function(d){return bg(d,c)};a[gg]=b}return b},hg=function(a,b,c){return new qf(a,b,!1,c)},jg=function(a,b,c){return new qf(a,
b,ig,c)},kg=function(a,b,c){pe(a,a[rb]|0,b,c,Qb(a[rb]|0))},ng=function(a,b,c){b=ad(b);if(b!=null){switch(typeof b){case "string":lg(b)}mg(a,c,b)}},og=function(a,b,c){b=$f(ad,b,!1);if(b!=null)for(let d=0;d<b.length;d++)mg(a,c,b[d])},rg=function(a,b,c){b=Fc(b);b!=null&&b!=null&&(pg(a,c,0),qg(a.g,b))},sg=function(a,b,c){b=zc(b);b!=null&&(pg(a,c,0),a.g.g.push(b?1:0))},ug=function(a,b,c){b=dd(b);b!=null&&tg(a,c,ca(b))},vg=function(a,b,c,d,e){sf(a,c,tf(b,d),e)},wg=function(a,b,c){b=b==null||typeof b=="string"||
b instanceof yb?b:void 0;b!=null&&tg(a,c,Ue(b,!0).buffer)},yg=function(a,b,c){if(a.h!==0)return!1;kg(b,c,xg(a.g));return!0},Ag=function(a,b,c){if(a.h!==0&&a.h!==2)return!1;b=Je(b,b[rb]|0,c);a.h==2?zg(a,cba,b):b.push(xg(a.g));return!0},dba=function(a,b,c){if(a.h!==2)return!1;a=Bg(a);kg(b,c,a===xb()?void 0:a);return!0},Dg=function(a,b,c){if(a.h!==0&&a.h!==2)return!1;b=Je(b,b[rb]|0,c);a.h==2?zg(a,eba,b):b.push(Cg(a.g));return!0},Eg=function(a,b,c){if(x(a,1).split("/").pop()!=c)return null;c=typeof b===
"function"?b:b.constructor;var d=a.o,e=d[rb]|0;b=ye(d,2);me(a)&&(d=a.o,e=d[rb]|0);a=d;if(b!=null&&!Array.isArray(b)&&!Fb(b))throw Error("N`"+xc(b));d=hd(b,c,!0,e);if(!(d instanceof c))throw Error("O`"+d.constructor.displayName+"`"+c.displayName);(c=!!(2&e))||(d=Bd(d));b!==d&&(pe(a,e,2,d),c||oe(a));return d},Fg=function(a){return function(){return a[fd]||(a[fd]=gd(a))}},Hg=function(a){return function(b){return Gg(b,a)}},Lg=function(a){return function(b){bba(a)(b.o)}},Mg=function(a){return Sb(function(b){return b instanceof
a&&!Hb(b)})},Ng=function(a){return function(b){b=JSON.parse(b);if(!Array.isArray(b))throw Error("J`"+xc(b)+"`"+b);ub(b);return new a(b)}},Pg=function(a){return function(b){return Og(a,b)}},fba=function(a){return Qg[a]||(Qg[a]=new Rg(a,a<0?-1:0))},Tg=function(a){if(a!=null)return Sg(a)},Ug=function(a){return a==null?null:Sg(a)},Sg=function(a){return Rd(a)?Number(a):String(a)},Vg=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;
case 412:return 9;case 429:return 8;case 499:return 1;case 500:return 2;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},gba=function(a){switch(a){case 0:return"OK";case 1:return"CANCELLED";case 2:return"UNKNOWN";case 3:return"INVALID_ARGUMENT";case 4:return"DEADLINE_EXCEEDED";case 5:return"NOT_FOUND";case 6:return"ALREADY_EXISTS";case 7:return"PERMISSION_DENIED";case 16:return"UNAUTHENTICATED";case 8:return"RESOURCE_EXHAUSTED";case 9:return"FAILED_PRECONDITION";case 10:return"ABORTED";
case 11:return"OUT_OF_RANGE";case 12:return"UNIMPLEMENTED";case 13:return"INTERNAL";case 14:return"UNAVAILABLE";case 15:return"DATA_LOSS";default:return""}},Wg=function(a){a&&typeof a.dispose=="function"&&a.dispose()},Xg=function(a){for(let b=0,c=arguments.length;b<c;++b){let d=arguments[b];Qa(d)?Xg.apply(null,d):Wg(d)}},Yg=function(){this.da=this.da;this.O=this.O},Zg=function(a){this.id=a},ah=function(a,b){$g.call(this,a?a.type:"");this.relatedTarget=this.g=this.target=null;this.button=this.screenY=
this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.fg=null;a&&this.init(a,b)},iba=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.ma=e;this.key=++hba;this.Ng=this.th=!1},bh=function(a,b,c){for(let d in a)b.call(c,a[d],d,a)},ch=function(a,b,c){var d={};for(let e in a)d[e]=b.call(c,a[e],e,a);return d},dh=function(a,b){for(let c in a)if(b.call(void 0,
a[c],c,a))return!0;return!1},eh=function(a){var b=0;for(let c in a)b++;return b},fh=function(a){var b=[],c=0;for(let d in a)b[c++]=a[d];return b},jba=function(a){var b=gh;for(let c in b)if(a.call(void 0,b[c],c,b))return c},hh=function(a){for(let b in a)return!1;return!0},kba=function(a){for(let b in a)delete a[b]},ih=function(a,b){var c;(c=b in a)&&delete a[b];return c},jh=function(a){var b={};for(let c in a)b[c]=a[c];return b},kh=function(a){var b={};for(let c in a)b[a[c]]=c;return b},mh=function(a,
b){for(let e=1;e<arguments.length;e++){var c=arguments[e];for(d in c)a[d]=c[d];for(let f=0;f<lh.length;f++){var d=lh[f];Object.prototype.hasOwnProperty.call(c,d)&&(a[d]=c[d])}}},nh=function(a){this.src=a;this.g={};this.h=0},oh=function(){Yg.call(this);this.A=new nh(this);this.ud=this;this.qb=null},ph=function(){},qh=function(){},lba=function(){var a=null;if(!rh)return a;try{let b=function(c){return c};a=rh.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(b){}return a},
th=function(){sh===void 0&&(sh=lba());return sh},vh=function(a){var b=th();a=b?b.createScriptURL(a):a;return new uh(a)},wh=function(a){if(a instanceof uh)return a.g;throw Error("Z");},xh=function(a){return a.toString().indexOf("`")===-1},mba=async function(a){var b=await fetch(wh(a).toString(),void 0),c,d,e,f=(c=b.headers.get("Content-Type"))==null?void 0:(d=c.split(";",2))==null?void 0:(e=d[0])==null?void 0:e.toLowerCase();return{xs:async function(){if(f!=="text/html")throw new yh(b.url,"SafeHtml",
"text/html");var g=await b.text(),h=th();g=h?h.createHTML(g):g;return new zh(g)},script:async function(){if(f!=="text/javascript"&&f!=="application/javascript")throw new yh(b.url,"SafeScript","text/javascript");var g=await b.text(),h=th();g=h?h.createScript(g):g;return new Ah(g)},styleSheet:async function(){if(f!=="text/css")throw new yh(b.url,"SafeStyleSheet","text/css");var g=await b.text();return new Bh(g)}}},Dh=function(a,b){a=a.match(Ch);b=b.match(Ch);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]},
nba=function(a,b){if(a){a=a.split("&");for(let c=0;c<a.length;c++){let d=a[c].indexOf("="),e,f=null;d>=0?(e=a[c].substring(0,d),f=a[c].substring(d+1)):e=a[c];b(e,f?decodeURIComponent(f.replace(/\+/g," ")):"")}}},Kh=function(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]},Lh=function(a,b,c){if(Array.isArray(b))for(let d=0;d<
b.length;d++)Lh(a,String(b[d]),c);else b!=null&&c.push(a+(b===""?"":"="+Mh(b)))},Nh=function(a,b){var c=[];for(b=b||0;b<a.length;b+=2)Lh(a[b],a[b+1],c);return c.join("&")},Oh=function(a){var b=[];for(let c in a)Lh(c,a[c],b);return b.join("&")},oba=function(a,b){var c=arguments.length==2?Nh(arguments[1],0):Nh(arguments,1);return Kh(a,c)},Ph=function(a,b,c){c=c!=null?"="+Mh(c):"";return Kh(a,b+c)},Qh=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b<d;){var f=a.charCodeAt(b-1);if(f==38||
f==63)if(f=a.charCodeAt(b+e),!f||f==61||f==38||f==35)return b;b+=e+1}return-1},pba=function(){var a=window.location.href,b=a.search(Rh),c=Qh(a,0,"co",b);if(c<0)return null;var d=a.indexOf("&",c);if(d<0||d>b)d=b;return decodeURIComponent(a.slice(c+3,d!==-1?d:0).replace(/\+/g," "))},rba=function(a){for(var b=Sh(),c=a.search(Rh),d=0,e,f=[];(e=Qh(a,d,"zx",c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));a=f.join("").replace(qba,"$1");return Ph(a,"zx",b)},Th=function(a,
b){b.stack&&(a.stack+="\n"+b.stack);return a},Uh=function(a){this.g=this.F=this.h="";this.A=null;this.D=this.H="";this.B=!1;var b;a instanceof Uh?(this.B=a.B,Vh(this,a.h),this.F=a.F,Wh(this,a.g),Xh(this,a.A),Yh(this,a.getPath()),Zh(this,a.j.clone()),this.D=a.D):a&&(b=String(a).match(Ch))?(this.B=!1,Vh(this,b[1]||"",!0),this.F=$h(b[2]||""),Wh(this,b[3]||"",!0),Xh(this,b[4]),Yh(this,b[5]||"",!0),Zh(this,b[6]||"",!0),this.D=$h(b[7]||"")):(this.B=!1,this.j=new ai(null,this.B))},bi=function(a){Yg.call(this);
this.h=a;this.g={}},ci=function(){this.O=null;this.D=[];this.A=this.g=this.j=this.h=this.da=0;this.B=null;this.F=0},di=function(a){this.da=null;this.B=[];this.A="";this.V=[];this.j=this.h=0;this.D=!1;this.O=0;this.ha=/[\\"]/g;this.g=this.F=0;this.K=!(!a||!a.ep)},sba=function(a){var b=ei(a,"Content-Type");if(!b)return null;b=b.toLowerCase();if(b.startsWith("application/json"))return b.startsWith("application/json+protobuf")?new fi:new di;if(b.startsWith("application/x-protobuf")){a=ei(a,"Content-Transfer-Encoding");
if(!a)return new ci;if(a.toLowerCase()=="base64")return new gi}return null},hi=function(a,b){a&&(b=a.indexOf(b),0<=b&&a.splice(b,1))},ii=function(a){return typeof a==="function"},ki=function(a){return a instanceof ji||a&&"closed"in a&&ii(a.remove)&&ii(a.add)&&ii(a.unsubscribe)},li=function(){},mi=function(a){tba(function(){throw a;})},ni=function(a){return a},uba=function(a){return a.length===0?ni:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},vba=function(a){var b;
return(b=a!=null?a:void 0)!=null?b:Promise},wba=function(a,b){return new oi(function(c){var d=0;return b.ri(function(){d===a.length?c.complete():(c.next(a[d++]),c.closed||this.ri())})})},si=function(a){if(a instanceof oi)return a;if(a!=null){if(ii(a[pi]))return xba(a);if(a&&typeof a.length==="number"&&typeof a!=="function")return qi(a);if(ii(a==null?void 0:a.then))return yba(a);if(Symbol.asyncIterator&&ii(a==null?void 0:a[Symbol.asyncIterator]))return zba(a);if(ii(a==null?void 0:a[ri]))return Aba(a)}throw new TypeError("ma`"+
(a!==null&&typeof a==="object"?"an invalid object":"'"+a+"'"));},xba=function(a){return new oi(function(b){var c=a[pi]();if(ii(c.subscribe))return c.subscribe(b);throw new TypeError("na");})},qi=function(a){return new oi(function(b){for(let c=0;c<a.length&&!b.closed;c++)b.next(a[c]);b.complete()})},yba=function(a){return new oi(function(b){a.then(function(c){b.closed||(b.next(c),b.complete())},function(c){return b.error(c)}).then(null,mi)})},Aba=function(a){return new oi(function(b){for(var c=a[ri]();!b.closed;){var d=
c.next();let e=d.value;d.done?b.complete():b.next(e)}return function(){return ii(c==null?void 0:c.return)&&c.return()}})},zba=function(a){return new oi(function(b){Bba(a,b).catch(function(c){return b.error(c)})})},Bba=async function(a,b){var c;try{for(var d=a[Symbol.asyncIterator],e=d!==void 0?d.call(a):new Cba(q(a));;){var f=await e.next();if(f.done)break;b.next(f.value)}}catch(h){var g={error:h}}finally{try{f&&!f.done&&(c=e.return)&&await c.call(e)}finally{if(g)throw g.error;}}b.complete()},Dba=
function(a){return a&&ii(a.ri)},vi=function(a){return new Promise(function(b,c){var d=new ti({next:function(e){b(e);d.unsubscribe()},error:c,complete:function(){c(new ui)}});a.subscribe(d)})},wi=function(a){return function(b){if(ii(b==null?void 0:b.Oj))return b.Oj(function(c){try{return a(c,this)}catch(d){this.error(d)}});throw new TypeError("oa");}},yi=function(a){return wi(function(b,c){var d=0;b.subscribe(new xi(c,function(e){c.next(a.call(void 0,e,d++))}))})},Eba=function(a,b,c,d){var e=[],f=
0,g=0,h=!1,k=function(m){f++;si(c(m,g++)).subscribe(new xi(b,function(p){b.next(p)},void 0,function(){for(f--;e.length&&f<d;){let p=e.shift();k(p)}!h||e.length||f||b.complete()}))};a.subscribe(new xi(b,function(m){return f<d?k(m):e.push(m)},void 0,function(){h=!0;!h||e.length||f||b.complete()}));return function(){e=null}},zi=function(a,b){var c=c===void 0?Infinity:c;if(ii(b))return zi(function(d,e){return yi(function(f,g){return b(d,f,e,g)})(si(a(d,e)))},c);typeof b==="number"&&(c=b);return wi(function(d,
e){return Eba(d,e,a,c)})},Ai=function(a){return wi(function(b,c){var d=0;b.subscribe(new xi(c,function(e){return a.call(void 0,e,d++)&&c.next(e)}))})},Fba=function(a){return function(b){var c=[];for(let d=0;c&&!b.closed&&d<a.length;d++)c.push(si(a[d]).subscribe(new xi(b,function(e){if(c){for(let f=0;f<c.length;f++)f!==d&&c[f].unsubscribe();c=null}b.next(e)})))}},Bi=function(){var a=Math.random;this.A=500;this.h=512E3;this.B=a;this.reset()},Gba=function(){function a(){e[0]=1732584193;e[1]=4023233417;
e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=m=0}function b(t){for(var w=g,A=0;A<64;A+=4)w[A/4]=t[A]<<24|t[A+1]<<16|t[A+2]<<8|t[A+3];for(A=16;A<80;A++)t=w[A-3]^w[A-8]^w[A-14]^w[A-16],w[A]=(t<<1|t>>>31)&4294967295;t=e[0];var J=e[1],Z=e[2],ha=e[3],Da=e[4];for(A=0;A<80;A++){if(A<40)if(A<20){var Ha=ha^J&(Z^ha);var Db=1518500249}else Ha=J^Z^ha,Db=1859775393;else A<60?(Ha=J&Z|ha&(J|Z),Db=2400959708):(Ha=J^Z^ha,Db=3395469782);Ha=((t<<5|t>>>27)&4294967295)+Ha+Da+Db+w[A]&4294967295;Da=ha;ha=Z;Z=(J<<30|
J>>>2)&4294967295;J=t;t=Ha}e[0]=e[0]+t&4294967295;e[1]=e[1]+J&4294967295;e[2]=e[2]+Z&4294967295;e[3]=e[3]+ha&4294967295;e[4]=e[4]+Da&4294967295}function c(t,w){if(typeof t==="string"){t=unescape(encodeURIComponent(t));for(var A=[],J=0,Z=t.length;J<Z;++J)A.push(t.charCodeAt(J));t=A}w||(w=t.length);A=0;if(m==0)for(;A+64<w;)b(t.slice(A,A+64)),A+=64,p+=64;for(;A<w;)if(f[m++]=t[A++],p++,m==64)for(m=0,b(f);A+64<w;)b(t.slice(A,A+64)),A+=64,p+=64}function d(){var t=[],w=p*8;m<56?c(h,56-m):c(h,64-(m-56));
for(var A=63;A>=56;A--)f[A]=w&255,w>>>=8;b(f);for(A=w=0;A<5;A++)for(var J=24;J>=0;J-=8)t[w++]=e[A]>>J&255;return t}for(var e=[],f=[],g=[],h=[128],k=1;k<64;++k)h[k]=0;var m,p;a();return{reset:a,update:c,digest:d,digestString:function(){for(var t=d(),w="",A=0;A<t.length;A++)w+="0123456789ABCDEF".charAt(Math.floor(t[A]/16))+"0123456789ABCDEF".charAt(t[A]%16);return w}}},Ci=function(){this.g=document||{cookie:""}},Ei=function(a){return new Di(a)},Gi=function(a){a=a instanceof Di?a:new Di(a);return a.value===
null||a.value instanceof Fi?a:new Di(a.value,!0)},Hi=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c instanceof Di?b.push(c):b.push(new Di(c));return b},Ii=function(a){return{Lg:a.yg(),kp:a.vg(),withCredentials:a.Xg()}},Hba=function(a){if(a.h){let b=a.h;return vi(b).then(function(c){c=new Ji(c);b.subscribe(c);return new Ki(c)})}return a.apiKey?a.j?Promise.resolve(new Li(a.apiKey,a.j)):a.A?Promise.resolve(new Mi(a.apiKey)):Promise.resolve(new Ni(a.apiKey,a.g)):Promise.reject(Error("za"))},
Oi=function(a){switch(a){case 200:return 0;case 400:return 3;case 401:return 16;case 403:return 7;case 404:return 5;case 409:return 10;case 412:return 9;case 429:return 8;case 501:return 12;case 503:return 14;case 504:return 4;default:return 2}},Qi=function(a){return{send:function(b,c,d,e,f,g,h){var k=new Pi(a);k.listen("complete",c);k.bf("ready",function(){k.dispose()});g&&(k.pa=Math.max(0,g));h&&(k.V=h);k.send(b,d,e,f);return k}}},Si=function(){return Ri=Ri||new oh},Ti=function(a){$g.call(this,
"serverreachability",a)},Ui=function(a){var b=Si();b.dispatchEvent(new Ti(b,a))},Vi=function(a,b){$g.call(this,"statevent",a);this.stat=b},Wi=function(a){var b=Si();b.dispatchEvent(new Vi(b,a))},Xi=function(a,b,c,d){$g.call(this,"timingevent",a);this.size=b;this.rtt=c;this.Tb=d},Yi=function(a,b){if(typeof a!=="function")throw Error("Aa");return n.setTimeout(function(){a()},b)},Jba=function(a){a=Zi(a);a=hj(a);ij||(ij=Iba());ij(a)},Kba=function(){for(var a;a=jj.remove();){try{a.g.call(a.scope)}catch(b){da(b)}kj(lj,
a)}mj=!1},pj=function(a,b){oh.call(this);this.h=a||1;this.g=b||n;this.j=nj(this.lr,this);this.B=oj()},qj=function(){this.g=!0},sj=function(a,b,c,d){this.B=a;this.h=b;this.A=c;this.Ec=d||1;this.Kd=new bi(this);this.mb=45E3;this.Ea=null;this.D=!1;this.O=this.V=this.K=this.qb=this.wa=this.ud=this.ha=null;this.pa=[];this.g=null;this.da=0;this.F=this.H=null;this.rc=-1;this.Pa=!1;this.Db=0;this.ab=null;this.Me=this.Ua=this.Ke=this.Ob=!1;this.j=new rj},Lba=function(){},Mba=function(a,b){var c=new qj;if(n.Image){let d=
new Image;d.onload=tj(uj,c,"TestLoadImage: loaded",!0,b,d);d.onerror=tj(uj,c,"TestLoadImage: error",!1,b,d);d.onabort=tj(uj,c,"TestLoadImage: abort",!1,b,d);d.ontimeout=tj(uj,c,"TestLoadImage: timeout",!1,b,d);n.setTimeout(function(){if(d.ontimeout)d.ontimeout()},1E4);d.src=a}else b(!1)},Nba=function(a,b){var c=new qj,d=new AbortController,e=setTimeout(function(){d.abort();uj(c,"TestPingServer: timeout",!1,b)},1E4);fetch(a,{signal:d.signal}).then(function(f){clearTimeout(e);f.ok?uj(c,"TestPingServer: ok",
!0,b):uj(c,"TestPingServer: server error",!1,b)}).catch(function(){clearTimeout(e);uj(c,"TestPingServer: error",!1,b)})},uj=function(a,b,c,d,e){try{e&&(e.onload=null,e.onerror=null,e.onabort=null,e.ontimeout=null),d(c)}catch(f){}},Oba=function(){this.g=new vj},wj=function(a,b,c){return c&&c.Pp?c.Pp[a]||b:b},yj=function(a){this.Om=0;this.j=[];this.g=new qj;this.Cr=new Lba;this.Cj=this.om=this.qb=this.ng=this.h=this.vm=this.Ea=this.Ua=this.O=this.Me=this.da=null;this.hn=this.Pe=0;this.Dr=wj("failFast",
!1,a);this.Pa=this.V=this.K=this.F=this.D=null;this.sg=!0;this.Aj=this.ym=this.H=-1;this.mj=this.ha=this.wa=0;this.yr=wj("baseRetryDelayMs",5E3,a);this.qn=wj("retryDelaySeedMs",1E4,a);this.Er=wj("forwardChannelMaxRetries",2,a);this.tm=wj("forwardChannelRequestTimeoutMs",2E4,a);this.am=a&&a.Ci||void 0;this.gn=a&&a.Hs||void 0;this.Wm=a&&a.wr||!1;this.rc=void 0;this.Db=a&&a.Vm||!1;this.Ob="";this.B=new xj(a&&a.ss);this.mb=Math.min(a&&a.Gs||1E3,1E3);this.Zm=new Oba;this.Kd=a&&a.ws||!1;this.ud=a&&a.us||
!1;this.Kd&&this.ud&&(this.g.Ba("Ignore encodeInitMessageHeaders because fastHandshake is set."),this.ud=!1);this.Ar=a&&a.ns||!1;a&&a.Dl&&this.g.Dl();a&&a.Jf&&(this.sg=!1);this.tj=!this.Kd&&this.sg&&a&&a.hp||!1;this.Ij=void 0;a&&a.km&&a.km>0&&(this.Ij=a.km);this.Ke=void 0;this.ab=0;this.Ec=!1;this.Kj=this.pa=null},zj=function(a){return wi(function(b,c){var d=null,e=!1,f;d=b.subscribe(new xi(c,void 0,function(g){f=si(a(g,zj(a)(b)));d?(d.unsubscribe(),d=null,f.subscribe(c)):e=!0}));e&&(d.unsubscribe(),
d=null,f.subscribe(c))})},Qba=function(){return Pba.apply(null,r(ac.apply(0,arguments)))},Pba=function(){var a=ac.apply(0,arguments),b=Dba(a[a.length-1])?a.pop():void 0;return wi(function(c,d){var e=1;e=e===void 0?Infinity:e;e=zi(ni,e);c=[c].concat(r(a));e(b?wba(c,b):qi(c)).subscribe(d)})},Rba=function(a){return wi(function(b,c){var d=!1,e=null,f=null,g=function(){var h;(h=f)==null||h.unsubscribe();f=null;d&&(d=!1,h=e,e=null,c.next(h))};b.subscribe(new xi(c,function(h){var k;(k=f)==null||k.unsubscribe();
d=!0;e=h;f=new xi(c,g,void 0,li);si(a(h)).subscribe(f)},void 0,function(){g();c.complete()},function(){e=f=null}))})},Sba=function(a){a=a===void 0?null:a;return wi(function(b,c){var d=!1;b.subscribe(new xi(c,function(e){d=!0;c.next(e)},void 0,function(){d||c.next(a);c.complete()}))})},Tba=function(){return wi(function(a,b){var c=0;a.subscribe(new xi(b,function(d){++c<=1&&(b.next(d),1<=c&&b.complete())}))})},Vba=function(a){a=a===void 0?Uba:a;return wi(function(b,c){var d=!1;b.subscribe(new xi(c,function(e){d=
!0;c.next(e)},void 0,function(){return d?c.complete():c.error(a())}))})},Uba=function(){return new ui},Aj=function(a,b){var c=arguments.length>=2;return function(d){return d.h(a?Ai(function(e,f){return a(e,f,d)}):ni,Tba(),c?Sba(b):Vba(function(){return new ui}))}},Wba=function(){var a=ac.apply(0,arguments);return a.length?wi(function(b,c){Fba([b].concat(r(a)))(c)}):ni},Yba=function(){var a=a===void 0?Infinity:a;return a<=0?function(){return Xba}:wi(function(b,c){var d=0,e,f=function(){var g=!1;e=
b.subscribe(new xi(c,void 0,void 0,function(){++d<a?e?(e.unsubscribe(),e=null,f()):g=!0:c.complete()}));g&&(e.unsubscribe(),e=null,f())};f()})},Zba=function(a){return new oi(function(b){var c=Bj(function(){b.next({});b.complete()},a);return function(){n.clearTimeout(c)}})},Fj=function(a){var b=new Cj;return Dj(b,1,Ej,cd(a))},Pj=function(a){var b=new Gj;a=q(a.parts);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new Hj;if(d.value===null){d=c;var e=new Ij;y(d,13,Jj,e)}else d.value instanceof
Rg?d.g?Dj(c,4,Jj,Oc(d.value.toString())):Dj(c,2,Jj,Oc(d.value.toString())):d.value instanceof Kj?d.g?(e=c,d=Lj(d.value.value),Dj(e,6,Jj,$c(d))):(e=c,d=Lj(d.value.value),Dj(e,8,Jj,$c(d))):typeof d.value==="string"?d.g?Dj(c,3,Jj,cd(d.value)):Dj(c,1,Jj,cd(d.value)):d.value instanceof Uint8Array?d.g?Dj(c,5,Jj,Ib(d.value,!1,!0)):Dj(c,7,Jj,Ib(d.value,!1,!0)):d.value instanceof Mj?d.g?(e=c,d=Nj(d.value),y(e,11,Jj,d)):(e=c,d=Nj(d.value),y(e,12,Jj,d)):c=d.value.g;Oj(b,1,Hj,c)}return b},$ba=function(a,b){if(a instanceof
Qj)return z(b,Hj,1,B()).length>0?null:a.g()?Rj.apply(Qj,r(a.parts)):Sj.apply(Qj,r(a.parts));var c=Array.of.apply(Array,r(a.root.parts));b=q(z(b,Hj,1,B()));for(var d=b.next();!d.done;d=b.next())switch(d=d.value,Tj(d,Jj)){case 4:var e=c,f=e.push,g=Uj,h=d;d=Vj(d,Jj,4);d=Wj(h,d);f.call(e,Gi(g(d)));break;case 2:e=c;f=e.push;g=Uj;h=d;d=Vj(d,Jj,2);d=Wj(h,d);f.call(e,Ei(g(d)));break;case 6:c.push(Gi(new Kj(Xj(Yj(d,Vj(d,Jj,6))))));break;case 8:c.push(Ei(new Kj(Xj(Yj(d,Vj(d,Jj,8))))));break;case 10:case 9:c.push(new Di(new Fi(d)));
break;case 3:c.push(Gi(Zj(d,Vj(d,Jj,3))));break;case 1:c.push(Ei(Zj(d,Vj(d,Jj,1))));break;case 7:let k;e=c;f=e.push;g=d;d=Vj(d,Jj,7);d=ak(g,d,void 0,void 0,ze);f.call(e,Ei((k=d)==null?void 0:new Uint8Array(Te(k)||0)));break;case 5:let m;e=c;f=e.push;g=d;d=Vj(d,Jj,5);d=ak(g,d,void 0,void 0,ze);f.call(e,Gi((m=d)==null?void 0:new Uint8Array(Te(m)||0)));break;case 12:d=bk(ck(d,dk,12,Jj));if(d===null)return null;c.push(new Di(d));break;case 11:d=bk(ck(d,dk,11,Jj));if(d===null)return null;c.push(Gi(d));
break;case 13:c.push(new Di(null));break;case 0:c.push(new Di(new Fi(d)));break;default:return null}return a.root.g()?Rj.apply(Qj,r(c)):Sj.apply(Qj,r(c))},ek=function(a){return{ie:new Uh("https://"+a+"-signaler-pa.clients6.google.com/punctual"),De:new Uh("https://"+a+"-signaler-pa.googleapis.com/punctual"),vd:!1}},fk=function(a,b){return{ie:new Uh("https://"+a+"-dynamite-"+b+"-signaler-pa.clients6.google.com/punctual"),De:new Uh("https://"+a+"-dynamite-"+b+"-signaler-pa.googleapis.com/punctual"),
vd:!0}},gk=function(a){return{ie:new Uh("https://chat.google.com/punctual/"+a),De:new Uh("https://chat.google.com/punctual/"+a),vd:!1}},ik=function(a){if(a instanceof Object&&!Object.isFrozen(a)){let b=hk(a.fileName||a.filename||a.sourceURL||n.$googDebugFname||location.href);try{a.fileName=b}catch(c){}}},jk=function(){this.F=[];this.V=void 0;this.B=this.g=!1;this.j=void 0;this.da=this.ha=this.H=!1;this.O=0;this.h=null;this.D=0},ok=function(a,b,c){c=c===void 0?"unknown":c;ik(b);if(kk.j>=3)throw Error("Ma`"+
a);kk.j++;try{kk.isDisposed()||b instanceof lk||b instanceof mk||(b==null?void 0:b.name)==="CanceledError"||(kk.h?nk(kk.h,b,a,c):kk.g&&kk.g.length<10&&kk.g.push(new aca(a,b,c)))}finally{kk.j--}},bca=function(a){function b(h){c&&!g&&(g=!0,a.apply(null,r(e)));f=!0;setTimeout(function(){var k=d+10-Date.now();if(k>0)f=!1,b(k);else try{c||a.apply(null,r(e))}finally{f=!1,e=d=null,g=!1}},h)}var c=c===void 0?!1:c;var d=null,e=null,f=!1,g=!1;return function(){var h=ac.apply(0,arguments);d=Date.now();e=h;f||
b(10)}},pk=function(a,b,c){Yg.call(this);this.g=a;this.A=b||0;this.h=c;this.j=nj(this.Dn,this)},qk=function(){oh.call(this);this.g=new bi(this);this.g.listen(n,["online","offline"],this.j)},cca=function(a){return function(b){(b=b.fg)&&typeof b==="object"&&"persisted"in b&&typeof b.persisted==="boolean"&&!b.persisted&&a()}},rk=function(a){return a.startsWith("application/vnd.google-apps.drive-sdk")},Bk=function(a){rk(a)?a=!1:a.startsWith("application/vnd.google-apps")?a=!0:a.startsWith("application/vnd.google-gsuite")?
a.startsWith("application/vnd.google-gsuite.encrypted")?(a=a.slice(a.indexOf("content=")+8),a=a.slice(0,a.indexOf(";")).replace(/"/g,"").trim().startsWith("application/vnd.google-apps")):a=!0:a=!1;return a},dca=function(a){if(Ck)a(Ck);else{let b;((b=Dk)!=null?b:Dk=[]).push(a)}},Gk=function(){!Ck&&Ek&&Fk();return Ck},Fk=function(){Ck=Ek();var a;(a=Dk)==null||a.forEach(dca);Dk=void 0},Hk=function(a){if(Array.isArray(a))return a.map(Hk).join("");if(C(a,2)){if(!a.getId())throw Error("Pa");return C(a,
1)+"/"+C(a,2)+","}return""},Ik=function(){return eca(ac.apply(0,arguments))},eca=function(a){return a.length===0?fca:a.length===1?a[0]:function(b){return a.reduce(function(c,d){return d(c)},b)}},hca=function(a){return Sb(function(b){return gca(b)?Object.entries(b).every(function(c){c=q(c);c.next();c=c.next().value;return a(c)}):!1})},Jk=async function(a){var b={};await 0;return Promise.race([a,Promise.resolve(b)]).then(function(c){return c!==b},function(){return!0})},Kk=function(a,b,c){c=c===void 0?
function(){return Error("Qa")}:c;var d,e=new Promise(function(f,g){d=n.setTimeout(function(){var h=c();g(h)},b)});a.catch(function(){}).finally(function(){n.clearTimeout(d)});return Promise.race([a,e])},ica=function(a){var b=[],c=[],d=!1,e=function(){if(c.length===0)d=!1;else{d=!0;for(var f=Date.now();b.length>0&&f-b[0]>=1E3;)b.shift();if(b.length<16){let g=c.shift();b.push(f);g&&g();e()}else setTimeout(e,b[0]+1E3-f)}};return function(){var f=ac.apply(0,arguments),g=this;return new Promise(function(h,
k){c.push(function(){try{Promise.resolve(a.apply(g,f)).then(function(m){return void h(m)}).catch(k)}catch(m){k(m)}});d||e()})}},Mk=function(a){return new Lk(a)},Nk=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},jca=function(a){return a.length===0?!1:/^[A-Z0-9]+(_[A-Z0-9]+)*$/.test(a)},Pk=function(a){return Sb(function(b){return Tb(Ok)(b)?$b(a)(b.requests):!1})},Qk=function(a){return cc(a,Pk(a))},Rk=function(a){return a instanceof Ok?a.requests:[a]},
Sk=function(a,b){return Rk(a).map(b)},Tk=function(a,b){a.name!==void 0?(this.name=a.name,this.code=gh[a.name]):(this.code=a=a.code,this.name=kca(a));aa.call(this,lca("%s %s",this.name,b))},Uk=function(a,b){$g.call(this,a.type,b)},Wk=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if(typeof d=="undefined")throw Error("Ua");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,g,h,k,m,p,t){if(m=="%")return"%";var w=c.shift();if(typeof w=="undefined")throw Error("Va");
arguments[0]=w;return Vk[m].apply(null,arguments)})},Yk=function(a,b){a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;if(Array.isArray(d)||typeof d!=="object")Xk(b,c,d);else{d=q(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;Xk(b,[c,e].join("."),f)}}}},Zk=function(a){return(new n.Intl.Collator([a||"en"],{numeric:!0})).compare},nca=function(a,b){if(b){var c=[];$k(b,3)&&c.push("folder");
var d=b.getType()===4?"title_natural":al[b.getType()];b=mca[bl(b,2,1)];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}},cl=function(a){if(typeof a==="function")var b=a;else if(typeof a==="object")b=a.constructor;else throw Error(void 0);return Sb(function(c){return c instanceof b})},fl=function(a){if(a){var b=a.td();b&&dl(a,b.toLowerCase());oca(a,z(a,el,58,B()).map(function(c){var d=D(c,1);d&&E(c,1,d.toLowerCase());return c}))}},jl=function(a,b){return a?(b===void 0?0:b)&&cl(gl)(a)&&
hl(a)?(a=il(a),!!a&&D(a,3)==="application/vnd.google-apps.folder"):a.td()==="application/vnd.google-apps.folder":!1},hl=function(a){return a?a.td()==="application/vnd.google-apps.shortcut":!1},kl=function(a){var b=a&&a.J()||null;a&&hl(a)&&(a=(a=il(a))&&D(a,1))&&(b=a);return b},ll=function(a){return!!F(a,31)&&!F(a,94)},ml=function(a){return pca(a.filter(function(b){return b}).map(function(b){return b.getItem()}))},pca=function(a){return a.filter(function(b){return!!b}).some(function(b){return[4,5,
2,6].includes(nl(b))})},ol=function(a,b,c,d,e,f,g){this.date=new Date(typeof a==="number"?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,g||0):a?a.getTime():oj())},pl=function(a,b){a!=null&&this.Yd.apply(this,arguments)},ql=function(a){return a<10?"0"+a:""+a},mm=function(a){if(rl(a))return"request access";if(sl(a))return"account and user settings";if(tl(a))return"admin migrate to TD";if(ul(a))return"authorize app";if(vl(a))return"copy item";if(wl(a))return"change category links";if(xl(a))return"create item";
if(yl(a))return"create ws";if(zl(a))return"delete app";if(Al(a))return"delete item";if(Bl(a))return"delete permission";if(Cl(a))return"delete revision";if(Dl(a))return"delete TD";if(cl(El)(a))return"get category metadata";Fl instanceof Object||Gl("DeleteUserPrefRequest",Fl);if(Fl instanceof Object&&Hl(a))return"delete pref";if(Il(a))return"delete ws";if(Jl(a)||Kl(a))return"empty trash";if(Ll(a))return"find by ID";if(Ml(a))return"find by IDs";if(Nl(a))return"item export start";if(Ol(a))return"get app";
if(Pl(a))return"homepage activity";if(Ql(a))return Rl(a,11)&&Rl(a,10)?"homepage suggested files and folders":!Rl(a,11)&&Rl(a,10)?"homepage suggested files":Rl(a,11)&&!Rl(a,10)?"homepage suggested folders":"homepage suggestions";if(Sl(a))return"insert app";if(Tl(a))return"insert permission";if(Ul(a)&&Vl(a))return"quick access item query";if(Wl(a)){var b;return((b=a.X())==null?0:Vl(b))?"quick access item query":"item query"}if(Xl(a)||Yl(a))return"label taxonomy";if(Zl(a))return"list label taxonomies";
if($l(a)){b="unknown";switch(am(a,1)){case 1:b="installed";break;case 2:b="installed w/ app data";break;case 3:b="all installable";break;case 4:b="installed w/ quota"}return"list apps ["+b+"]"}if(bm(a))return"list changes";if(cm(a))return"list permissions";if(dm(a))return"list revisions";if(em(a))return"migrate to shared drive";if(fm(a))return"partial download item";if(gm(a))return"people api";if(hm(a))return"get published category";if(im(a))return"publish activity event";if(jm(a))return"get remaining changes";
if(km(a))return"remove item";if(lm(a))return"reparent item";if(a instanceof Ok)return(a=a.requests[0])?"batch("+mm(a)+")":"batch";if(nm(a))return"restore item";if(om(a))return"start page token";if(pm(a))return"list suggested workspace items";if(qm(a))return"list suggested workspaces";if(Fm(a))return"update app";if(Gm(a))return"update category metadata";if(Hm(a))return"update item";if(Im(a))return"update revision";if(Jm(a))return"update TD";Km instanceof Object||Gl("UpdateUserPrefRequest",Km);return Km instanceof
Object&&Mm(a)?"update pref":Nm(a)?"update ws":Om(a)?"get workspace":a instanceof Pm?"list activity":a instanceof Qm?"list category metadata":a instanceof Rm?"create TD":a instanceof Sm?"item export cancel":a instanceof Tm?"item export status":Um(a)?"generate cse token":a instanceof Vm?"multipart upload":a instanceof Wm?"list published categories":a instanceof Xm?"init resumable upload":a instanceof Ym?"resumable upload chunk":a instanceof Zm?"resumable upload":$m(a)?"get TD":a instanceof an?"move TD preflight":
bn(a)?"list TDs":cn(a)?"get TD stats":a instanceof dn?"test connection":a instanceof en?"list workspaces":"unknown"},Gl=function(a,b){ok("Module "+a+" is not defined",new fn("Module "+a+" is "+b),"warning")},gn=function(a){a:{if(typeof(a==null?void 0:a.G)==="function"){let d,e=(d=a.G)==null?void 0:d.call(a);if(qca(e)){a=e;break a}}a=null}if(!a)return"";var b,c;return"reason:"+((b=a.g)==null?void 0:b.call(a))+(" retryCount:"+((c=a.h)==null?void 0:c.call(a)))},hn=function(a,b,c){c!=null&&(Array.isArray(c)?
c.length>0&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))},kn=function(a){if(xl(a)||a instanceof Vm||a instanceof Zm||a instanceof Xm||a instanceof Ym)return(new jn).setStatus(8);throw Error("Za`"+mm(a));},mn=function(a){var b=ln(rca);return Qk(b)(a)},nn=function(a){return mn(a)?!Qk(cc(sca,tca))(a):!1},ln=function(a){return cc.apply(null,r(a.map(function(b){return Tb(b)})))},vn=function(a){var b=a.direction,c=a.driveId,d=a.mc;a=a.ba;var e=new on;e=G(e,1,12);b=G(e,2,b);e=new pn;e=H(e,9,!0);e=H(e,17,
!0);b=I(e,2,b);a&&qn(b,a);c?(c=rn(sn(b,[c]),2),H(c,66,!0)):H(b,66,!1);c=new tn;d&&K(c,1,d);d=un(b);return I(d,1,c)},uca=function(a){if(wn(a,xn,1,yn))return"CREATE";if(wn(a,zn,2,yn))return"EDIT";if(wn(a,An,3,yn))return"MOVE";if(wn(a,Bn,4,yn))return"RENAME";if(wn(a,Cn,5,yn))return"DELETE";if(wn(a,Dn,6,yn))return"RESTORE";if(wn(a,En,7,yn))return"PERMISSION_CHANGE";if(wn(a,Fn,8,yn))return"HAS_COMMENT";if(wn(a,Gn,9,yn))return"DLP_CHANGE";if(wn(a,Hn,10,yn))return"VIEW";if(wn(a,In,11,yn))return"DOWNLOAD";
if(wn(a,Jn,12,yn))return"REFERENCE";if(wn(a,Kn,13,yn))return"SETTINGS_CHANGE";if(wn(a,Ln,18,yn))return"APPROVAL_CHANGE";if(wn(a,Mn,15,yn))return"LOCK";if(wn(a,Nn,16,yn))return"UNLOCK";if(wn(a,On,19,yn))return"APPLIED_LABEL_CHANGE";if(wn(a,Pn,20,yn))return"PUBLISH_CHANGE";if(wn(a,Qn,21,yn))return"LINK_SHARE_METADATA_CHANGE";throw Error("$a`"+a);},Tn=function(a,b,c){var d=new Rn;var e=Sn(Tn);d=E(d,20,e);a=Un(Vn(d,a),b?b:2);c&&Wn(a,c);return a},Zn=function(a){var b;Xn(a)?b=new fn(null,a):Yn(a)?b=a:b=
n.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):typeof a==="string"?Error(a):Error("ab`"+a);b.stack||(b.stack=Sn(Zn));return b},bo=function(a,b){if(Xn(a))return b&&Vn(a,b),a;if(Yn(a)){if(a=$n(a))return b&&Vn(a,b),a}else a=typeof a==="string"?ao(a):ao("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);Un(a,2);b&&Vn(a,b);return a},$n=function(a){return a instanceof Error?co(a).na:a instanceof fn?
a.na:a},co=function(a,b){if(Xn(a))return new fn(b,a);a instanceof fn||(a=Zn(a),a=new fn(a.message,void 0,a));b&&(a.message=b+". "+a.message);return a},Yn=function(a){return a instanceof Error},eo=function(a){var b=a.je();a=a.Id();return b===15||b===32||b===33||a===401},fo=function(a){return a.je()===7||a.g()===24&&(a=a.Id(),a===503||a===429)?!0:!1},go=function(a){return a.g()===24&&(a=a.Id(),a===503||a===500||a===504)?!0:!1},jo=function(a,b){if(b&&ho(b)){var c=42;var d="Response contains HTML payload."}else if(b==
null?0:b.text){if(c=11,d="Response JSON is invalid.",b==null?0:b.Jj)d+=" JSON parse error details: "+b.Jj}else c=43,d="Response is missing JSON.";c=Wn(new Rn,c);a=mm(a)+": "+d;d=vca(b==null?void 0:b.headers);b="Response.text: "+((b==null?void 0:b.text)||"response text was empty.");a=io(a,d);a=io(a,b);b=new fn(a,c);return Mk(b)},ho=function(a){var b,c=(b=a.headers)==null?void 0:b["content-type"],d;a=(d=a.text)==null?void 0:d.trim().toLowerCase();return(c==null?void 0:c.includes("html"))||(a==null?
void 0:a.includes("<html>"))||(a==null?void 0:a.includes("<!doctype html>"))},lo=function(a){return ko(a)},mo=function(a){return a.key},wca=function(a){return new no(a,null)},xca=function(a){return Object.entries(a).map(function(b){var c=q(b);b=c.next().value;c=c.next().value;return ko([b,c])})},oo=function(a){return Sb(function(b){return a(b)})},qo=function(a,b){return b===void 0?po(a,hc):po(a,b)},po=function(a,b){return Sb(function(c){return Tb(no)(c)?a(c.value)&&b(c.key):!1})},yca=function(a,b){return b===
void 0?qo(cc(a,ro),oo(hc)):qo(cc(a,ro),oo(b))},zca=function(a,b){var c=Date.now();return function(d){return{value:d,la:a,kb:b,Yh:c}}},so=function(a){return function(b){return ko([b.key,a(b.value)])}},Aca=function(a,b){return b>=0?!a||a<=b:!0},Bca=function(){return!0},Cca=function(a,b){return a.value!==b.value},to=function(a){return a===3||a===7},uo=function(a,b,c,d){this.A=a;this.B=b;this.g=this.j=a;this.D=c||0;this.F=d||2},vo=function(a,b){return b&&b.length>0?{payload:a,transfer:b}:{payload:a}},
Dca=function(a){return Sb(function(b){return Tb(wo)(b)&&a(b.response)})},xo=function(a){return function*(){for(var b=q(a.entries()),c=b.next();!c.done;c=b.next())yield ko(c.value)}()},yo=function(a){var b=a.value;a=a.status;return{value:a===1?b:null,status:a,la:1,kb:1,Ya:!1}},Ao=function(a,b){if(b===0||b===1)throw Error("cb");var c,d;a=(d=(c=zo(a))==null?void 0:bl(c,81,1))!=null?d:1;return a===1||a===0?!1:b===2?!0:a===b},Bo=function(a,b,c){if(typeof a==="number")var d={name:Eca(a)};else d=a,a=Fca(a.name);
this.code=a;this.h=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);aa.call(this,b)},Gca=function(a,b){var c=c===void 0?!0:c;var d=Math.max(a.length,b.length);for(let h=0;h<d;h++){var e=a[h];var f=b[h];e=e===f||c&&h<a.length&&h<b.length&&(e===void 0||f===void 0)?void 0:{first:e,second:f,index:h};if(e){var g=g||[];g.push(e)}}return g},Co=function(a,b){a=a.concat(b);Ua(a);return a},Hca=function(a){var b=a.totalTimeMs;return(b>1E3?(b/1E3).toFixed(1)+"s":b+"ms")+"\t|\t"+a.level+"\t|\t"+a.logName+"\t|\t"+
a.msg},Do=function(a){this.h=0;this.j=a||100;this.g=[]},Io=function(){var a=new Eo;a.g=!0;var b=new Fo(a),c=new Go;Ho(a,c.j.bind(c));return{S:b,re:c,log:a}},Jo=function(a,b,c){c=c.ca;if(c){var d=Ica(b,a.params);b=d.payload;d=d.transfer}return d&&d.length>0?{payload:{m:a.aa,a:b,s:c},transfer:d}:{payload:{m:a.aa,a:b,s:c}}},Lo=function(a,b){var c=a.a,d=a.s;return{call:{aa:a.m,args:d?Ko(c,b.params):c},dr:d}},Ica=function(a,b){var c=new Mo([]);for(let d=0;d<a.length;d++)c.Ib(function(e,f){e.push(f)},b[Math.min(d,
b.length-1)].jb(a[d]));return c.build()},Ko=function(a,b){return a.map(function(c,d){return b[Math.min(d,b.length-1)].fb(c)})},No=function(a,b,c){c=c.ca;if(c){var d=b.response.jb(a);a=d.payload;d=d.transfer}return d&&d.length>0?{payload:{sc:!0,s:c,r:a},transfer:d}:{payload:{sc:!0,s:c,r:a}}},Oo=function(a,b){b=b.jb(a);a=b.payload;return(b=b.transfer)&&b.length>0?{payload:{sc:!1,s:!0,e:a},transfer:b}:{payload:{sc:!1,s:!0,e:a}}},Po=function(a,b,c){var d=b.response;b=b.aa;if(a.sc)return{response:a.s?
d.fb(a.r):a.r,hf:!0};if(a.e)return{error:a.s?c.fb(a.e):a.e,hf:!1};throw Error("kb`"+b);},Jca=function(a){return new Proxy({},{get:function(b,c,d){return a.Th(c)?a.Ab.bind(a,c):Reflect.get(b,c,d)}})},Qo=function(a){a="Failed to register service "+a+" within 20s";var b=Error(a);ok(a,b,"warning");return b},Ro=function(a){return{aa:a.aa,params:a.params,response:a.response}},So=function(a){return function(b){b.data!=="ueR9ye"&&a&&a(b)}},To=function(a){return{sb:a,jb:function(b){return vo(b)},fb:function(b){return b}}},
L=function(a){return{sb:Tb(a),jb:function(b){return vo(b.ca())},fb:function(b){return Og(a,b)}}},Uo=function(a){return{sb:$b(a.sb),jb:function(b){var c=new Mo([]);c.Ib.apply(c,[function(d){d.push.apply(d,r(ac.apply(1,arguments)))}].concat(r(b.map(function(d){return a.jb(d)}))));return c.build()},fb:function(b){return b.map(function(c){return a.fb(c)})}}},Vo=function(a){return{sb:hca(a.sb),jb:function(b){var c=new Mo({});b=q(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){d=q(d.value);let e=
d.next().value;d=d.next().value;c.Ib(function(f,g){f[e]=g},a.jb(d))}return c.build()},fb:function(b){return Object.fromEntries(Object.entries(b).map(function(c){var d=q(c);c=d.next().value;d=d.next().value;return[c,a.fb(d)]}))}}},Wo=function(){var a=ac.apply(0,arguments);return{sb:naa.apply(null,r(a.map(function(b){return b.sb}))),jb:function(b){var c=new Mo([]);c.Ib.apply(c,[function(d){d.push.apply(d,r(ac.apply(1,arguments)))}].concat(r(a.map(function(d,e){return d.jb(b[e])}))));return c.build()},
fb:function(b){return b.map(function(c,d){return a[d].fb(c)})}}},Xo=function(){var a=ac.apply(0,arguments);return{sb:cc.apply(null,r(a.map(function(b){return b.sb}))),jb:function(b){for(let c=0;c<a.length;c++)if(a[c].sb(b))return b=a[c].jb(b),vo([c,b.payload],b.transfer);throw Error("nb");},fb:function(b){var c=q(b);b=c.next().value;c=c.next().value;return a[b].fb(c)}}},cp=function(){var a={aa:"cb",params:ac.apply(0,arguments),response:Yo};return{sb:Zo,jb:function(b){var c=new MessageChannel,d=c.port2;
c.port1.onmessage=function(e){var f=e.data;e=new $o(e.ports[0],So());f=Lo((new ap(f,e)).data,a).call;b.apply(null,r(f.args))};return vo(d,[d])},fb:function(b){var c=bp(b);b.start();return function(){var d=Jo(a,ac.apply(0,arguments),{ca:!0});c.send(d.payload,void 0,d.transfer)}}}},dp=function(a){return Xo(a,Kca)},gp=function(){return Ro({aa:"kPqlWb",params:[ep,fp].concat(r(ac.apply(0,arguments))),response:Yo})},Lca=function(a,b){return function(c){c=Lo(c,a);var d=c.dr;return Promise.resolve(b.apply(null,
r(c.call.args))).then(function(e){return No(e,a,{ca:d}).payload})}},Mca=function(a,b){return new Promise(function(c){var d=[];for(let e=0;e<a.length;e+=b)Bj(function(){d.push(fb(a.slice(e,e+b)))});Bj(function(){var e=0;for(var f=0;f<d.length;f++)e+=d[f].length;e=new Uint8Array(e);f=0;for(let g=0;g<d.length;g++)for(let h=0;h<d[g].length;h++)e[f]=d[g].charCodeAt(h),f++;c(e)})})},Oca=function(a,b){if(hp(b,wp,103)){var c=zo(b);a.info("CJSE:  Source = "+bl(c,1,1));Nca.forEach(function(d){a.info("** CJSE: "+
d.ua.key+" ==> Value: '"+d.getValue(c)+"'")})}else a.info("CJSE: UNSET")},xp=function(a,b){return a?1:b?2:0},yp=function(a,b){return a&&!b?1:a&&b?3:0},zp=function(a){return a.map(function(b){return b.getItem()})},Pca=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b},Ap=function(a,b){return function(c){if(c!=null)return a(c)?c:c[b]}},Bp=function(a){return function(b){return typeof b==="function"?b(a):b}},Ep=function(a){return function(b){var c=!b.anonymous,d=b.Pb||!b.anonymous;
b=!b.Pb;var e=new Cp(a,["kind","permissionId"]);b&&e.g("displayName","picture");c&&Dp(e,b?"emailAddress":"emailAddressFromAccount");d&&Dp(e,"id");return e}},M=function(a,b,c){return Fp(a,new Gp(b),c)},Fp=function(a,b,c){return{key:a,operations:b,config:c}},Hp=function(){return ac.apply(0,arguments).join("/")},Ip=function(a){return Hp("capabilities",a)},Jp=function(a){return Hp("creator",a)},Kp=function(){return Hp.apply(null,["team_drive_root_data"].concat(r(ac.apply(0,arguments))))},Qca=function(){return new Cp("permission_summary",
[new Cp("top_permission","audience_id customer_id deleted domain email focus_user_id id name pending_owner role type unlisted is_me".split(" ")),new Cp("visibility","domain id organization_display_name role type unlisted".split(" ")),"entry_count","group_entry_count","member_count","user_entry_count"])},Rca=function(a){if(Lp(a.C)||N(a.C,80)){let b=new Cp(Nk("permissions_summary"),["entry_count","user_entry_count","group_entry_count","member_count"].map(Nk)),c=new Cp(Nk("select_permissions"),"kind id user_id email_address domain role type additional_roles view audience_id customer_id".split(" ").map(Nk));
N(a.C,80)&&c.g(Nk("name"),Nk("photo_link"));Dp(b,c);return b}return new Cp(Nk("permissions_summary"))},Tca=function(a){if(!Mp.has(a)){for(var b=q(Mp.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;if(Np(c,a))return d}b=Mp.set;c=Op(new Pp(a),Qp);d=Sca(a);d=q(d);for(var e=d.next();!e.done;e=d.next())c.g.add(e.value);c=c.build();b.call(Mp,a,c)}return Mp.get(a)},Sca=function(a){var b=[].concat(r(Qp.keys())).filter(function(c){return c!==73&&c!==118&&c!==218&&
c!==235&&c!==331&&c!==298&&c!==299&&c!==157&&c!==156});Rp(Sp(a,Tp,4))&&b.push(218,235);Up(Sp(a,Tp,4))&&b.push(298,299);N(a,77)&&b.push(156);return b},Vp=function(a){switch(a){case 2:return 2;case 1:return 1;case 3:return 3;default:return 0}},Wp=function(){return n.location.origin?n.location.origin:n.location.protocol+"//"+n.location.host},Xp=function(a){var b={};a=q(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=q(c.value);c=d.next().value;d=d.next().value;b[c.toLowerCase()]=d}return b},
Yp=function(a){if(hh(a))return"\r\n";var b="";bh(a,function(c,d){b+=d+": "+c+"\r\n"});return b},Zp=function(a){return(a=a&&Xp(a))&&a["x-guploader-uploadid"]},$p=function(a){return(a=a&&Xp(a))&&a["x-google-trace"]},Uca=function(a,b){var c=Xp(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d},aq=function(){for(var a=Array(36),b=0,c,d=0;d<36;d++)d==8||d==13||d==18||d==23?a[d]="-":d==14?a[d]="4":(b<=2&&(b=33554432+Math.random()*16777216|0),c=b&15,b>>=4,a[d]=Vca[d==19?c&3|8:c]);return a.join("")},
Wca=function(){},cq=function(a){return new bq(a.qm-1,a.Kp,a.Go,a.aq,Object.fromEntries(a.Lm.map(function(b){return[b,!0]})),a.ks)},Xca=function(a,b,c){return function(){var d=dq(a,106046);if(!d)return null;var e=eq(fq(d));b>0?K(e,2,b):K(e,4,c);return d}},Yca=function(a,b){if(b instanceof Vm){a=eq(fq(a));try{let c,d=Number((c=gq(a,1))!=null?c:0);O(a,1,jc(d+Number(b.file.size)))}catch(c){}}},Zca=function(a,b){var c=eq(fq(a));return b.then(function(d){if(hq(d)){var e;d=(e=d.ka())!=null?e:1;e=iq(d);jq(c,
3,e);d===8&&jq(c,5,2)}},function(d){var e=iq(3);jq(c,3,e);d=co(d);(d=kq(d))&&jq(c,5,d)})},lq=function(){oh.call(this);this.Yc=new FileReader;this.Yc.onloadstart=nj(this.g,this);this.Yc.onprogress=nj(this.g,this);this.Yc.onload=nj(this.g,this);this.Yc.onabort=nj(this.g,this);this.Yc.onerror=nj(this.g,this);this.Yc.onloadend=nj(this.g,this)},ada=function(a,b,c,d,e,f,g,h,k,m){b=new $ca(a,b,c,d,e,f,h,m,g);a={};c=mq(nq(oq(pq(b.h,"immediate"),b.A),new qq),new rq);c.D=!0;a[1]=c.build();a[2]=mq(oq(pq(b.h,
"connected"),b.A).g(new sq(b.j,b.S),new tq),new rq).yf(uq(b)).build();a[3]=vq(b,"batch");c=Rl(b.g,10,50);c=oq(pq(b.h,"batched_mutation"),b.A).g(new wq(c,Rl(b.g,11,100)),new xq(c),new sq(b.j,b.S)).Wi(new yq(b.g,b.B)).Eo(uq(b)).build();a[4]=c;c=zq(b.C,wp,103);c=Aq(c,79);d=c!=null?c:0;c=Rl(b.g,10,50);d=d>0?d:c;d=oq(pq(b.h,"dfe_mutation"),b.H).g(new wq(d,Rl(b.g,11,100)));e=zq(b.C,wp,103);N(e,78)||nq(d,new xq(Math.min(c*3,50)));nq(d,new sq(b.j,b.S)).Wi(new yq(b.g,b.B)).yf(uq(b));c=d.build();a[9]=c;k=new Bq(k,
b.O,b.S,b.F,Sg(Cq(b.g,32,jc(1073741824))),Sg(Cq(b.g,21,jc(1E3))));k=new Dq(k);c=Rl(b.g,46,1);c=new Eq(c);d=new Fq(c);k=mq(nq(oq(pq(b.h,"resumable_upload"),k),c),d).build();a[5]=k;a[6]=vq(b,"find_by_ids_batch");a[8]=vq(b,"xd4_batch_one",1);k=Gq(b.C);k=Aq(k,72);k=k!=null?k:16;c=Rl(b.g,10,50);d=b.da;e=Rl(b.g,11,100);b=oq(pq(b.h,"multipart_upload"),d).g(new sq(b.j,b.S),new Hq(Xca(b.F,k,c),e,Yca,Zca),new xq(k)).Wi(new Iq,new rq).yf(uq(b)).build();return a[10]=b,a},Kq=function(a,b,c){return new fn(a,Wn(Jq(new Rn,
c),b))},Lq=function(a){return a.status==="fulfilled"},Mq=function(a,b){return{id:a,result:{status:"rejected",reason:b}}},Nq=function(a,b){return{id:a,result:{status:"fulfilled",value:b}}},bda=function(a,b,c){var d=c.G(a.oa.L),e=c.G(b.oa.L);if(c.ek&&!c.ek(a.oa.L,b.oa.L))a=!1;else{if(d=Np(d,e))d=a.oa.config,e=b.oa.config,d=d.Dg===e.Dg&&d.Nc===e.Nc&&d.isAnonymous===e.isAnonymous&&d.te===e.te&&d.xi===e.xi&&d.yi===e.yi&&d.Xa===e.Xa&&d.ve===e.ve&&d.hk===e.hk&&d.lf===e.lf&&d.ui===e.ui&&d.kk===e.kk;a=d&&
a.responses.length===b.responses.length&&c.Ga(a.oa.L)&&c.Ga(b.oa.L)}return a},Sq=function(a,b){var c={};if(!(b!==void 0&&b||Oq(a))){let d;((d=x(a,7))==null?void 0:d.length)>0?c.authorization="Bearer "+x(a,7):(b=[{key:"u",value:Pq(a)}],c.authorization=Qq(b)||"");a=Rq(a);a>=0&&(c["x-goog-authuser"]=String(a))}return c},Tq=function(a){return a===3?1:a},dda=function(a){return cda.map(function(b){return b(a)})},eda=function(a){var b,c,d,e;return xp((d=(b=zo(a))==null?void 0:N(b,65))!=null?d:!1,(e=(c=zo(a))==
null?void 0:N(c,64))!=null?e:!1)},fda=function(a){var b,c,d,e;return xp((d=(b=zo(a))==null?void 0:N(b,83))!=null?d:!1,(e=(c=zo(a))==null?void 0:N(c,82))!=null?e:!1)},Wq=function(a,b){b=b===void 0?[]:b;return new Uq(new Cp("responses",["status",new Cp("shared_drive",Vq(a,b,14))]))},Xq=function(a,b,c){b=b===void 0?[]:b;return new (Function.prototype.bind.apply(Uq,[null].concat(r(Vq(a,b,0,{pd:c===void 0?!1:c})))))},Zq=function(a,b){return Yq(a,b.fields,14,b)},ar=function(a,b){return $q(a,b,!0).toString()},
gda=function(a,b){a=new Uq("kind","nextPageToken",new Cp("items",br($q(a,b,!0))),"incompleteSearch");b.additionalFields&&a.g.apply(a,r(b.additionalFields));return a.toString()},hda=function(a,b){a=new Cp("items",["deleted","fileId","id","kind",new Cp("file",br($q(a,b,!0)))]);b.additionalFields&&a.g("teamDriveId",new Cp("teamDrive",b.additionalFields));return(new Uq("kind","largestChangeId","nextPageToken",a)).toString()},ida=function(a,b,c){a=Yq(a,c.fields,14,c);a=new cr("change",[new cr("deleted"),
new cr("item_id"),new cr("id"),new cr("item_type"),new cr("item",dr(a))]);b&&er(a,er(new cr("shared_drive"),new cr("TD_PLACEHOLDER")));c=new fr("largest_change_id","next_change_id");gr(c,a);return c.toString().replace("TD_PLACEHOLDER",b)},hr=function(a,b){return $q(a,b).toString()},ir=function(a,b){a=Zq(a,b);return dr(a).toString()},$q=function(a,b,c){var d=new Uq;c&&Dp(d,"kind");b.Jp&&Dp(d,"searchResultSource");c=d.g;var e=c.apply,f=Yq(a,b.fields,0,b),g=new Uq;f=q(f);for(var h=f.next();!h.done;h=
f.next()){var k=h.value;if(a.configs[k]==null)continue;var m=h=void 0;k=a.configs[k];if(((m=k.config)==null?void 0:m.qa)!=null)if(m=(h=k.config)==null?void 0:h.qa,m=Ik(Ap(jda,0),Bp(b))(m),m===void 0||m instanceof Cp)h=m;else{h=new Uq;m=q(m.split(","));for(k=m.next();!k.done;k=m.next())jr(h,k.value.split("/"),0);h=br(h)}else h=void 0;h!==void 0&&(Array.isArray(h)?g.g.apply(g,r(h)):Dp(g,h))}a=br(g);e.call(c,d,r(a));return d},kr=function(a){switch(a){case 3:case 12:case 204:case 273:return"GOOGLE_DOCS";
case 4:case 13:case 207:return"GOOGLE_SHEETS";case 5:case 14:case 205:case 208:return"GOOGLE_SLIDES";case 6:case 203:return"GOOGLE_FORMS";case 232:return"GOOGLE_MEET";case 8:case 201:return"GOOGLE_SITES";case 229:case 216:return"GOOGLE_CLASSROOM";case 202:case 1:case 9:case 266:case 255:case 277:case 271:return"GOOGLE_DRIVE";case 272:case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},lr=function(a){return a>=200&&a<300},kda=function(a){var b,c,d,e;
return xp((d=(b=zo(a))==null?void 0:N(b,72))!=null?d:!1,(e=(c=zo(a))==null?void 0:N(c,71))!=null?e:!1)},mr=function(a){var b,c,d,e;return xp((d=(b=zo(a))==null?void 0:N(b,27))!=null?d:!1,(e=(c=zo(a))==null?void 0:N(c,26))!=null?e:!1)},nr=function(a){var b,c;a=(c=(b=zo(a))==null?void 0:N(b,33))!=null?c:!1;return xp(a,a)},or=function(a,b){ok("Preflight action failed for "+mm(a),b,"warning")},pr=function(a){return Sb(function(b){return b.kind===a})},rr=function(a,b){if(!qr(a)||a===null)throw new fn("Expected an object, but got a "+
xc(a)+".",Tn(11,void 0,8));if(b!==void 0){if(!lda(a))throw new fn("Expected 'kind' parameter in response: "+JSON.stringify(a),Tn(11,void 0,21));if(!b(a))throw new fn("Unexpected response type: "+a.kind+".",Tn(11,void 0,9));}},tr=function(a,b,c){var d=b.text;if(!d)throw sr(mm(a)+": response was empty",void 0,41,b);try{return Og(c,d.trim())}catch(e){throw c=40,ho(b)&&(c=42),sr(mm(a),e,c,b);}},sr=function(a,b,c,d){c===42&&(a+=": Response contains HTML payload.");d&&(a+="\nresponse headers: "+JSON.stringify(d.headers),
a+="\nresponse text: "+d.text);b?(b=bo(b),d=D(b,21)||"",ur(b,d+"\n"+a)):b=bo(a);Wn(b,c);return Mk(new fn(void 0,b))},yr=function(a){var b=vr(a);if(b)return b;b=new wr;xr(a,b);return b},zr=function(a){if(a!=null&&a.length){var b=(new Date(a)).getTime();if(!Number.isNaN(b))return b;b="+";var c=a;if(a[0]==="+"||a[0]==="-")b=a[0],c=a.substring(1);b=(new Date(""+b+c.padStart(26,"0"))).getTime();return Number.isNaN(b)?void 0:b}},Ar=function(a){var b=null;a&&a.length===7&&a[0]==="#"&&(a=a.substring(1),/^[a-fA-F0-9]+$/.test(a)&&
(b=parseInt(a,16)));return b},Br=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},Kr=function(a){var b=a.canDelete!=null?a.canDelete:a.canDeleteTeamDrive;var c=Cr(new wr,a.canAddChildren);c=H(c,18,a.canChangeTeamDriveBackground);c=H(c,2,a.canComment);b=Dr(Er(H(c,3,a.canCopy),b),a.canDownload);b=H(b,6,a.canEdit);b=H(b,10,a.canManageMembers);b=H(b,15,a.canListChildren);b=H(b,20,a.canMoveItemIntoTeamDrive);b=Fr(H(b,17,a.canMoveTeamDriveItem),a.canReadTeamDrive);
b=H(b,7,a.canRemoveChildren);b=H(b,12,a.canRename);b=H(b,13,a.canRenameTeamDrive);b=Gr(Hr(Ir(b,a.canShare),a.canTrash),a.canUntrash);b=H(b,27,a.canModifyContentRestriction);b=H(b,26,a.canShareOutsideDomain);b=H(b,30,a.canMoveItemWithinTeamDrive);b=H(b,31,a.canMoveItemOutOfTeamDrive);b=H(b,33,a.canMoveChildrenOutOfTeamDrive);b=H(b,34,a.canDeleteChildren);b=H(b,35,a.canTrashChildren);b=H(b,36,a.canRequestApproval);b=H(b,37,a.canReadCategoryMetadata);b=H(b,38,a.canEditCategoryMetadata);b=H(b,39,a.canChangeCategoryReferences);
b=H(b,49,a.canSetMissingRequiredFields);b=H(b,40,a.canAddMyDriveParent);b=H(b,41,a.canRemoveMyDriveParent);b=Jr(H(b,42,a.canShareChildFiles),a.canShareChildFolders);b=H(b,44,a.canRead);b=H(b,45,a.canMoveItemWithinDrive);b=H(b,46,a.canMoveItemOutOfDrive);b=H(b,47,a.canMoveChildrenWithinDrive);b=H(b,48,a.canAddFolderFromAnotherDrive);b=H(b,50,a.canChangeSecurityUpdateEnabled);b=H(b,62,a.canCopyEncryptedFile);b=H(b,52,a.canCreateDecryptedCopy);b=H(b,53,a.canCreateEncryptedCopy);b=H(b,54,a.canAddEncryptedChildren);
b=H(b,55,a.canBlockOwner);b=H(b,59,a.canReportSpamOrAbuse);b=H(b,64,a.canCopyNonAuthoritative);b=H(b,65,a.canDownloadNonAuthoritative);b=H(b,66,a.canReportNotSpam);return H(b,67,a.canInitiateEsignature)},mda=function(a){return z(a,Lr,3,B()).some(function(b){return hp(b,Mr,10)})},oda=function(a){return Nr(a,27,B()).some(function(b){return nda.has(b)})},Wr=function(a,b){oda(b)||rr(a);var c=Or(Pr(Qr(Rr(Sr(1),a.permissionId),a.id),a.displayName),a.emailAddress);c=E(c,15,a.organizationDisplayName);a.picture&&
Tr(c,a.picture.url);Lp(b)&&Or(c,a.emailAddressFromAccount||a.emailAddress);Ur(c,Vr(a.id,b));return c},Vr=function(a,b){if(a)return Pq(Xr(b))===a},Zr=function(a){if(a){var b=new Yr;b=E(b,1,a.agentId);b=E(b,2,a.name);b=E(b,3,a.photoUrl);a=pda.get(a.state)||0;return G(b,4,a)}},bs=function(a){if(a&&Object.keys(a).length!==0){var b=qda(rda(sda(tda(new $r,a.name),a.discoveryUri),uda.get(a.grantType)||0),a.clientId);a.nativeClientIds&&vda(b,new Map(Object.entries(a.nativeClientIds).map(function(c){c=q(c);
var d=c.next().value;c=c.next().value;d=Number(d);var e=new as;c=E(e,1,c);return[d,c]})));return b}},es=function(a){var b=a.wrappedKey;b=cs(new ds,b?fb(b):void 0);b=O(b,2,Number(a.kaclsId));b=E(b,5,a.kaclsName);var c=wda.get(a.aes256GcmChunkSize);b=G(b,3,c);c=xda.get(a.keyFormat);b=G(b,6,c);b=E(b,4,a.jwt);a=bs(a.guestIdp);return I(b,8,a)},zda=function(a){var b=new fs;var c=yda.get(a.encryptionState);b=G(b,1,c);a.decryptionMetadata&&(a=es(a.decryptionMetadata),I(b,2,a));return b},Ada=function(a){var b=
[];a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,c=gs(hs(new is,c.readOnly),c.reason),b.push(c);return b},Bda=function(a){var b=js(new ks,zr(a.markedAsSpamDate));b=H(b,4,a.inSpamView);b=H(b,5,a.isSpam);return H(b,6,a.isInheritedSpam)},Dda=function(a){var b=[];for(let e=0;e<a.length;e++){var c=a[e];if(c.id&&c.type){var d=new ls;d=E(d,1,c.id);c=Cda.get(c.type);d=G(d,2,c);b.push(d)}}return b},Gda=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new ms;c=E(c,
1,d.approvalId).setStatus(Eda.get(d.status));d=Fda.get(d.type);c=G(c,5,d);b.push(c)}return b},Hda=function(a){var b=[];a&&a.parents&&b.push.apply(b,r(a.parents.map(function(c){return c.id})));return b},Jda=function(a){var b=new ns;b=K(b,2,a.width);b=K(b,3,a.height);b=K(b,4,a.rotation);if(a.date){a=a.date;let c=new ol;c.setMilliseconds(0);Ida.parse(a,c);O(b,1,c.getTime())}return b},Kda=function(a){var b=new os;a.durationMillis&&K(b,1,Number(a.durationMillis));return b},Mda=function(a){var b=new ps;
b=K(b,1,a.width);b=K(b,2,a.height);if(a.transcodeStatus){let c=Lda.get(a.transcodeStatus);G(b,4,c||0)}a.durationMillis&&K(b,3,Number(a.durationMillis));return b},Oda=function(a){var b=(new qs).setDescription(a.description);var c=Nda.get(a.galleryState);b=G(b,3,c);return rs(b,2,a.category)},Pda=function(a){var b=new ss;b=H(b,2,a.securityUpdateEligible);b=H(b,3,a.securityUpdateEnabled);return H(b,5,a.securityUpdateExplicitlySet)},Rda=function(a){var b=new ts;a.canImport!==void 0&&H(b,1,a.canImport);
if(a.incompatibilityDetails){a=q(a.incompatibilityDetails);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=new us;if(c.reason!==void 0){let e=Qda.get(c.reason);G(d,1,e||0)}c.localizedMessage!==void 0&&E(d,2,c.localizedMessage);Oj(b,2,us,d)}}return b},Sda=function(a,b,c,d,e,f,g){if(b){var h,k=(h=b.getItem())==null?void 0:h.J();if(a&&k&&a!==k){c=z(g,vs,1,B());d=f.ta();b=Gca(d,c.map(function(t){var w;return(w=t.getItem())==null?void 0:w.J()}));f=zq(f,P,3);let m,p;throw Mk(Error("Pb`"+a+"`"+k+
"`"+d.length+"`"+c.length+"`"+((m=b==null?void 0:b.map(function(t){return"  ["+t.index+']: request: "'+t.first+'" | response: "'+t.second+'"'}).join("\n"))!=null?m:"")+"`"+f.g()+"`"+ws(f,3)+"`"+f.h()+"`"+((p=Object.entries(e.headers).map(function(t){var w=q(t);t=w.next().value;w=w.next().value;return"  "+t+": "+w}).join("\n"))!=null?p:"")+"`"+e.Gp));}e=b.R();if(e!=null&&xs(e)!==0){if(c.setStatus(6),a=k||a)k=ys(zs((new As).setStatus(6),xs(e)),x(e,2)),Ce(c,19,As).set(a,k)}else a=b.getItem(),fl(a),Bs(a),
Lp(d)&&a.Zb(5),Oj(c,2,gl,a)}else c.setStatus(6),Ce(c,19,As).set(a,Cs)},Bs=function(a){var b,c,d=(b=Q(a,fs,138))==null?void 0:(c=Q(b,ds,2))==null?void 0:D(c,1);d&&(a=Q(a,fs,138),a=Q(a,ds,2),cs(a,fb(d)))},Uda=function(a,b){return Tda(tr(a,b,Ds)).map(function(c){var d=c.getId();c=c.R();return xs(c)!==0?Mq(d,Es(c,"[Items.Delete] Failed to delete Item "+d+": "+x(c,2))):Nq(d,Fs(new jn,d).setStatus(1))})},Gs=function(a){return a.getId?a.getId():a.Aa?a.Aa():null},Hs=function(a,b){try{rr(b,cc.apply(null,r(a.map(pr))))}catch(c){throw Mk(c);
}},Ps=function(a,b,c,d,e,f){var g=a.W===void 0?0:a.W,h=a.ja===void 0?{}:a.ja,k=a.Y===void 0?{}:a.Y,m=a.method===void 0?"GET":a.method,p=a.ba,t=a.json,w=a.body,A=b.Be,J=b.Ra;b=b.hr;a=new Uh(a.T);J&&(d&&d.length?(J=d.length,d=Ca(d).nr,h.retryCount=J,h.msSinceLastAttempt=Math.min(Date.now()-d,2147483647),p!=null&&K(p,5,J),p!=null&&O(p,7,d)):(h.retryCount=0,p!=null&&K(p,5,0)));if([0,1,2,3,4].includes(g)&&A||g===14&&p!=null)p&&am(p,1)||f==null||Is(f,74438989);![0,1,2,3,4].includes(g)||k["x-goog-ext-525001598-jspb"]||
b||(A=Js(p),k["x-goog-ext-525001598-jspb"]=db(A.ca()));g===14&&p&&(Ks(k,p),Ls(k,c),k["accept-language"]=Ms(Ns(e)),Os(k,p));h.alt==="protojson"&&(c.kk=!0);![10,12,13,14].includes(g)&&p&&(Yk({openDrive:!!N(p,2),reason:am(p,1)||0,syncType:am(p,3)||0,errorRecovery:!!N(p,4)},a),D(p,8)&&Yk({OriginatorHint:D(p,8)},a));(c=D(e,62))&&(k["X-Goog-Drive-Client-Version"]=c);Yk(h,a);if(a.toString().length>=16384)throw f&&Is(f,220919404),new fn("BuildXhrRequest: URI was longer than 16384 bytes (b/220919404)");return{W:g,
headers:k,method:m,uri:a,body:t?JSON.stringify(t):w}},Ks=function(a,b){b=Js(b);a["x-goog-ext-472780938-jspb"]=db(b.ca())},Ls=function(a,b){b.criticality!=null&&(a["x-goog-ext-174067345-bin"]=b.criticality)},Os=function(a,b){var c=Qs(b);if(c){var d;b=(d=D(c,1))!=null?d:"";let e;d=(e=D(c,2))!=null?e:"";ka(d)||ka(b)||(a[Rs]=db(Ss(Ts(b),d).ca().trim()))}},Js=function(a){a=a?a.clone():new P;Us(Vs(a));a=Ws(Xs(Vda()),a);return le(a)},Zs=function(a){var b={};Ys(a,1)&&(b.namespace=Wda[bl(a,1)]);R(a,2)?b.userId=
x(a,2):b.email=x(a,3);return b},ct=function(a){var b={};hp(a,dk,1)&&(b.creationTime=$s(Q(a,dk,1)));hp(a,dk,2)&&(b.updatedTime=$s(Q(a,dk,2)));R(a,3)&&(b.postId=x(a,3));hp(a,at,4)&&(b.author=Zs(Q(a,at,4)));if(z(a,at,5,B()).length>0){b.mentionedUsers=[];for(var c=q(z(a,at,5,B())),d=c.next();!d.done;d=c.next())b.mentionedUsers.push(Zs(d.value))}hp(a,bt,6)&&(c=Q(a,bt,6),d={},Ys(c,1)&&(d.signatureVersion=Xda[bl(c,1)]),R(c,2)&&(d.signatureWithDocId=x(c,2)),R(c,3)&&(d.signatureWithoutDocId=x(c,3)),R(c,4)&&
(d.mutableContentHash=x(c,4)),R(c,5)&&(d.immutableContentHash=x(c,5)),b.notificationsCommentSignature=d);hp(a,at,7)&&(b.assignee=Zs(Q(a,at,7)));return b},dt=function(a){var b=a.A(),c=a.h(),d={encryptionState:"encrypted"},e,f;d.decryptionMetadata={wrappedKey:cb(a.F()),kaclsId:(f=Tg(a.g()))!=null?f:void 0,aes256GcmChunkSize:Yda[b?b.h():0],keyFormat:Zda[c?c.h():0],encryptionResourceKeyHash:cb((e=a.B())==null?void 0:Ud(e))};return d},gt=function(a,b){var c={};ka(et(C(a,2)))||(c.title=C(a,2));ft(c,a.Cc());
$k(a,8)&&(c.description="",c.labels={starred:!1});b&&(c.clientEncryptionDetails=dt(b));R(a,14)&&(c.mimeType=C(a,14));if(a=C(a,10))c.id=a;return c},At=function(a,b){var c={};ka(et(C(a,2)))||(C(a,12)?c.originalFilename=C(a,2):c.title=C(a,2));if(R(a,1)&&(c.mimeType=a.Bc(),D(a,23)&&c.mimeType&&c.mimeType.startsWith("application/vnd.google-gsuite.encrypted")&&b&&(c.clientEncryptionDetails=dt(b),hp(a,ht,35)))){b=c.clientEncryptionDetails;var d=Q(a,ht,35);let m={};R(d,1)&&(m.fileId=x(d,1));m.notification=
[];d=q(z(d,it,2,B()));for(var e=d.next();!e.done;e=d.next()){var f=m.notification,g=f.push;e=e.value;let p={};Ys(e,1)&&(p.eventType=$da[bl(e,1)]);R(e,2)&&(p.headPostId=x(e,2));R(e,3)&&(p.suggestionId=x(e,3));R(e,4)&&(p.notifyingReplyId=x(e,4));hp(e,jt,5)&&(p.headPost=ct(Q(e,jt,5)));p.replies=[];for(var h=q(z(e,jt,6,B())),k=h.next();!k.done;k=h.next())p.replies.push(ct(k.value));z(e,at,7,B()).length>0&&(p.newMentionedUsers=z(e,at,7,B()).map(Zs));g.call(f,p)}b.notificationPayload=m}Ys(a,36)&&(c.editSource=
aea[am(a,36)]);ft(c,a.Cc());if(b=a.Aa())c.id=b;C(a,16)&&(c.embeddingParent=C(a,16));C(a,21)&&(c.shortcutDetails={targetId:C(a,21)});typeof Ug(gq(a,26))==="number"&&(c.modifiedDate=yt(zt(Ug(gq(a,26))||0)));return c},ft=function(a,b){b.length&&(a.parents=b.map(function(c){return{id:c}}))},$s=function(a){var b=(Rl(a,2)%1E6).toString().padStart(6,"0"),c=Number(Bt(a,1));a=Rl(a,2);return(new Date(c*1E3+a/1E6)).toISOString().replace(/Z$/,b+"Z")},Dt=function(a){a=Ct(Wn(Un(new Rn,2),39),"Multiple resource key definitions found for itemId "+
a);throw co(a);},Et=function(a,b,c,d){if(b&&b.length&&c){c=a.concat(bea(c,b));var e=e===void 0?!1:e;a=new Map;b=[];c=q(c);for(var f=c.next();!f.done;f=c.next()){f=f.value;let g=f.getId();a.has(g)?e&&a.get(g)!==C(f,2)&&Dt(g):(a.set(g,C(f,2)),b.push(f))}e=b}else e=a;e.length&&(e=Hk(e),e.length&&(d["X-Goog-Drive-Resource-Keys"]=e))},Jt=function(a,b,c,d){if(a.length!==0){for(var e=new Set([].concat(r(a),r(cea),r([].concat(r(d.Zd.h.g))))),f=[].concat(r(Ft.keys()),r(dea)).filter(function(p){return!e.has(p)}),
g=q(a),h=g.next();!h.done;h=g.next()){let p=eea.get(h.value);p&&(f=f.filter(function(t){return!p.has(t)}))}f=f.filter(function(p){return!(fea.has(p)&&a.some(function(t){return gea.has(t)}))});var k=a.some(function(p){return hea.has(p)});f=f.filter(function(p){return!(iea.has(p)&&k)});for(g=0;g<c.length;g++)Gt(c[g],f,d);var m=new Set([].concat(r(b),r(d.fd())));if(m.size>0)for(b=q(c),c=b.next();!c.done;c=b.next())c=c.value,Ht(c).length>0&&It(c,Ht(c).filter(function(p){return m.has(bl(p,6))}))}},Gt=
function(a,b,c){for(let f=0;f<b.length;f++){var d=a,e=b[f];Kt(c,e)&&c.clear(e).from(d)}},jea=function(a,b,c){return b.every(function(d){return Kt(c,d)?c.has(d).wb(a):!1})},Lt=function(a,b,c,d){b=b.clone();c=q(c);for(var e=c.next();!e.done;e=c.next()){let f=e.value;e=b;Kt(d,f)&&d.has(f).wb(e)&&Kt(d,f)&&d.Ib([f]).from(b).Wl(a)}},lea=function(a,b,c,d){if(R(a,12))throw Error("Qb");var e=Mt(a);Nt(e,x(e,2)||Ot());e=Pt([e]);var f={};f["x-goog-fieldmask"]=kea(Zq(c,{fields:c.nb(),anonymous:Oq(Xr(d)),Pb:Lp(d)}));
f["content-type"]="application/json+protobuf";Et(z(a,Qt,28,B()),a.Cc().concat([D(a,16),D(a,21),D(a,23)].filter(function(g){return!Rt(g)})),b,f);b=St(a);Ys(b,1)||(a=Tt(a)?1415:Ut(a)?204:202,Vt(b,a));return{parts:{W:14,T:"/v1/items:create",method:"POST",ba:b,Y:f,body:e.ca()}}},St=function(a){var b;a=(b=a.G())!=null?b:new P;Us(Vs(a));return a},Mt=function(a){var b;var c=Nt(new Wt,(b=a.Je())!=null?b:D(a,23));b=a.Bc();c=E(c,7,b);b=a.Cc().length>0?a.Cc()[0]:void 0;c=E(c,9,b);b=D(a,23);c=E(c,1,b);b=D(a,
16);c=E(c,24,b);b=D(a,21);c=E(c,20,b);b=Xt(a,Yt,39);c=I(c,26,b);b=gq(a,26);c=O(c,8,b);ka(et(C(a,2)))||c.setTitle(C(a,2));return c},mea=function(a,b,c,d,e,f){var g={},h={},k=Zt(a,1);a=Q(a,$t,2);var m=a.ta()[k];k=au(f,a.za());g.fields=ar(f,{fields:k,anonymous:Oq(Xr(c)),Pb:Lp(c)});g.supportsTeamDrives=!0;N(c,14)&&(g.useLegacyDomainPermissionBehavior=!1);e(m,g);$k(a,7)&&(d.Dg=!0);f.ne(241)&&(g.includeBadgedLabels=!0);Et(z(a,Qt,11,B()).filter(function(p){return C(p,1)===m}),[m],b,h);return{parts:{T:"files/"+
m,ba:a.G(),Y:h,ja:g},options:{Ra:!0}}},rea=function(a,b,c,d,e){var f={},g=au(e,a.za()),h=bu(e,a.Fe()),k=a.ta();k=nea(k);d.length>0&&oea(Sp(k,cu,2),d);h.length>0&&pea(Sp(k,cu,2),h);f["x-goog-fieldmask"]=qea(Zq(e,{fields:g,anonymous:Oq(Xr(c))}));f["content-type"]="application/json+protobuf";f["accept-language"]=Ms(Xr(c));du(zq(c,wp,103))&&(f["cache-control"]="no-store");var m;d=(m=a.G())!=null?m:new P;c=eu(Sp(c,Tp,4));d.yb(Vp(c));c=a.ta();var p=new Set(c);a=z(a,Qt,11,B()).filter(function(t){t=t.getId();
return t!==null?p.has(t):!1});Et(a,c,b,f);return{parts:{method:"POST",W:14,T:"/v1/items:get",ba:d,body:k.ca(),Y:f}}},vea=async function(a,b,c,d,e){if(b.Xa===14)return sea(a,c,d,e);try{var f=await fu(a);var g=await gu(f)}catch(ha){throw hu(ha);}b=tea(a.request,c);var h=a.request,k=a.metadata;var m=xl(h)?At(h,k):gt(h,k);k=Sh();h={};h=(h["content-type"]=Wk('multipart/related; boundary="%s"',k),h);h["x-goog-upload-protocol"]="multipart";h["x-goog-upload-header-content-length"]=""+f.size;(f=a.request.Bc())&&
(h["x-goog-upload-header-content-type"]=f);f=g.indexOf(",");g=f>=0?g.substring(f+1):"";f=JSON.stringify(m);m={};m=(m["content-type"]="application/json; charset=UTF-8",m);var p=iu(a.request,g.length);ju(a.request,h,e);e="--"+k;e=e+"\r\n"+Yp(m)+"\r\n"+f+"\r\n"+e+"\r\n"+Yp(p)+"\r\n"+g+"\r\n"+e+"--";k=a.request;k=xl(k)&&R(k,12)?"PUT":"POST";g=a.request;f="";g=f=xl(g)?"files"+(C(g,12)?"/"+C(g,12):""):"files/"+C(g,1)+"/copy";f=a.request.G();var t;if((t=zo(d))==null?0:F(t,47))if(t=a.request,a=a.metadata,
!vl(t)){var w;m=(w=t.G())!=null?w:new P;Us(Vs(m));w=Ws(new ku,m);a=lu(t,a);if(uea(a)){var A;var J=(A=Q(a,Wt,2))==null?void 0:D(A,2)}var Z;A=new mu;m=new nu;p=ou(t);m=E(m,1,p);c=pu(t,c,d);c=E(m,2,c);a=(Z=a==null?void 0:a.ca())!=null?Z:"";Z=E(c,3,a);J=E(Z,4,J);J=I(A,5,J);J=qu(w,J);Z=db(J.ca());c=Z.length;let ha,Da;d=(Da=(ha=Q(d,ru,33))==null?void 0:Aq(ha,71))!=null?Da:1E4;c>d&&(S(J,2),Z=db(J.ca()));h["x-goog-ext-525001598-jspb"]=Z}return{parts:{W:2,method:k,T:g,ja:b,Y:h,body:e,ba:f}}},sea=async function(a,
b,c,d){try{var e=await fu(a);var f=await gu(e)}catch(t){throw hu(t);}var g=f.indexOf(",");f=g>=0?f.substring(g+1):"";g=iu(a.request,f.length);var h,k,m=(k=(h=lu(a.request,a.metadata))==null?void 0:h.ca())!=null?k:"";h={};k=(h["content-type"]="application/json+protobuf",h);h=Sh();var p="--"+h;f=p+"\r\n"+Yp(k)+"\r\n"+m+"\r\n"+p+"\r\n"+Yp(g)+"\r\n"+f+"\r\n"+p+"--";g={};b=(g["content-type"]=Wk('multipart/related; boundary="%s"',h),g["x-goog-fieldmask"]=pu(a.request,b,c),g["x-goog-upload-protocol"]="multipart",
g["x-goog-upload-header-content-length"]=""+e.size,g);(c=a.request.Bc())&&(b["x-goog-upload-header-content-type"]=c);ju(a.request,b,d);d=ou(a.request);a=a.request.G();return{parts:{W:14,method:"POST",T:d,Y:b,body:f,ba:a}}},fu=async function(a){return a.wd?await a.wd(0,a.file.size):a.file},gu=async function(a){return await su(a)},tea=function(a,b){var c={uploadType:"multipart",supportsTeamDrives:!0};c.fields=ar(b,{fields:b.nb().filter(function(d){return d!==194}),anonymous:!1});xl(a)?(c.pinned=!!N(a,
13),T(a,8)&&(c.convert=a.Ge()),R(a,34)&&(c.precondition=C(a,34))):vl(a)&&(c.useProvidedMedia=!0);return c},iu=function(a,b){var c={};c=(c["content-transfer-encoding"]="base64",c);b&&b>0&&(c["content-length"]=""+b);(a=a.Bc())&&(c["content-type"]=a);return c},ju=function(a,b,c){xl(a)?Et(z(a,Qt,28,B(tu)),[],null,b):(a=a.Cc().concat([C(a,1)]),Et([],a,c,b))},hu=function(a){if(a instanceof Tk){let c=Ct(new Rn,"fs.Error: "+a.message);var b=c;a=(a=a.name)?uu.get(a)||25:38;Wn(b,a);b=co(c)}else b=Zn(a);return b},
vu=function(a){if(a){var b=a.O(),c,d=(c=a.D())==null?void 0:Ud(c);c=d?cb(cb(d)):void 0;var e,f;d=new fs;d=G(d,1,2);var g=new ds;var h=a.g();g=O(g,2,h);b=cs(g,b?cb(b):void 0);g=(e=a.A())==null?void 0:e.g();e=G(b,3,g);a=(f=a.h())==null?void 0:f.g();f=G(e,6,a);f=S(f,7,Ib(c,!1,!0));return I(d,2,f)}},ou=function(a){return xl(a)?wu(a)?"/upload/v1/items:uploadRevision":"/upload/v1/items:upload":"/upload/v1/items:uploadCopy"},pu=function(a,b,c){b=Zq(b,{fields:b.nb(),anonymous:Oq(Xr(c)),Pb:Lp(c)});return wu(a)?
gr(new fr,xu("response").j(new cr("item",dr(b)),xu("revision_id"))).toString():gr(new fr,er(xu("response"),new cr("item",dr(b)))).toString()},lu=function(a,b){if(xl(a)){var c=Mt(a);var d=F(a,13);c=H(c,25,d);if(wu(a)){d=new yu;a=zu(new Au,D(a,12)).setDescription(D(c,4));var e=F(c,5);a=H(a,4,e);e=F(c,6);a=H(a,5,e);e=gq(c,8);a=O(a,7,e);e=D(c,9);a=E(a,8,e);e=F(c,10);a=H(a,11,e);e=gq(c,11);a=O(a,12,e);e=D(c,12);a=E(a,13,e);e=F(c,13);a=H(a,14,e);e=F(c,14);a=H(a,15,e);e=gq(c,16);a=O(a,17,e);e=Xt(c,Bu,19);
a=I(a,21,e);e=z(c,is,21,B());a=Cu(a,23,is,e);e=gq(c,22);a=O(a,24,e);e=F(c,23);a=H(a,25,e);e=F(c,25);a=H(a,34,e);d=I(d,2,a);b=vu(b);b=I(d,4,b);d=c.Fa();b=E(b,5,d);c=D(c,7);c=E(b,6,c)}else d=new Du,d=I(d,2,c),a=F(a,8),d=H(d,3,a),b=vu(b),b=I(d,4,b),c=c.Fa(),c=E(b,5,c)}else throw hu(Error("Rb"));return c},wu=function(a){return xl(a)&&!!D(a,12)},xea=function(a,b,c,d,e){if(e.Xa===14)return wea(a,b,c,d);e={};var f={},g=c.nb().filter(function(k){return k!==194});e.fields=ar(c,{fields:g,anonymous:Oq(Xr(d)),
Pb:Lp(d)});e.uploadType="resumable";e.supportsTeamDrives=!0;f["content-type"]="application/json";(c=a.g.Oc.Bc())&&(f["x-upload-content-type"]=c);a.g.g==null&&a.g.fileSize!=null&&(f["X-Upload-Content-Length"]=""+a.g.fileSize);c=a.g.Oc;var h=g=d=void 0;xl(c)?(d=(g=!!C(c,12))?"PUT":"POST",g="files"+(g?"/"+C(c,12):""),e.pinned=!!N(c,13),T(c,8)&&(e.convert=c.Ge()),R(c,34)&&(e.precondition=C(c,34)||void 0),h=At(c,a.h),Et([],c.Cc(),b,f)):vl(c)&&(d="POST",g="files/"+C(c,1)+"/copy",e.useProvidedMedia=!0,h=
gt(c,a.h),a=c.Cc().concat([C(c,1)]),Et([],a,b,f));Rb(g,Eu);return{parts:{W:2,method:d,T:g,json:h,ba:c.G()||null,Y:f,ja:e},options:{Ra:!0}}},wea=function(a,b,c,d){var e=a.g.Oc,f={};c=(f["x-goog-upload-protocol"]="resumable",f["content-type"]="application/json+protobuf",f["x-goog-upload-command"]="start",f["x-goog-fieldmask"]=pu(e,c,d),f);(d=a.g.Oc.Bc())&&(c["x-goog-upload-header-content-type"]=d);a.g.g==null&&a.g.fileSize!=null&&(c["x-goog-upload-header-content-length"]=""+a.g.fileSize);var g,h;a=
(h=(g=lu(e,a.h))==null?void 0:g.ca())!=null?h:"";c["content-length"]=""+a.length;g=ou(e);h=e.G();ju(e,c,b);return{parts:{W:14,method:"POST",T:g,Y:c,body:a,ba:h}}},Fu=function(a){a=co(a);var b=a.na;b.A()||Vn(b,56);b.B()||Un(b,2);return a},yea=function(a){return(a.items||[]).map(function(b){return Gu(b)})},Iu=function(a,b){var c=new Hu;b=E(c,4,b);a&&(a=Gu(a),I(b,2,a));return b},Gu=function(a){var b=new Ju;b=E(b,1,a.id);b=H(b,3,a.useByDefault);b=E(b,2,a.name);b=E(b,7,a.openUrlTemplate);b=Ku(Lu(b,a.primaryMimeTypes),
a.secondaryMimeTypes);b=E(b,8,a.createUrl);b=E(b,9,a.createInFolderTemplate);b=E(b,10,a.objectType);b=H(b,11,a.supportsCreate);b=H(b,12,a.supportsImport);b=H(b,13,a.supportsMultiOpen);b=H(b,27,a.supportsOfflineCreate);b=H(b,14,a.installed);b=H(b,15,a.authorized);b=E(b,16,a.productUrl);b=rs(b,17,a.primaryFileExtensions);b=rs(b,18,a.secondaryFileExtensions);b=E(b,19,a.shortDescription);b=E(b,20,a.longDescription);b=E(b,21,a.productId);b=H(b,22,a.removable);var c=zea.get(a.type);b=G(b,23,c);b=H(b,25,
a.hasAppData);b=H(b,28,a.requiresAuthorizationBeforeOpenWith);b=H(b,30,a.hasDriveWideScope);b=H(b,31,a.driveSource);b=H(b,32,a.driveBranded);b=H(b,33,a.hidden);b=H(b,34,a.supportsMobileBrowser);b=H(b,35,a.supportsTeamDrives);b=H(b,36,a.hasGsmListing);c=Number(a.appDataQuotaBytesUsed);Number.isNaN(c)||O(b,26,c);c=a.icons||[];var d=[];for(let k=0;k<c.length;k++){var e=d,f=e.push,g=c[k];var h=new Mu;h=E(h,3,g.iconUrl);let m=K(h,2,g.size);g.category&&(h=m,g=Aea.get(g.category),G(h,1,g));f.call(e,m)}Nu(b,
6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);rs(b,24,d);c=a.rankingInfo||{};a=new Ou;d=c.absoluteScore;d!=null&&K(a,1,Number(d));d=Pu(c.mimeTypeScores||[]);Nu(a,2,d);c=Pu(c.fileExtensionScores||[]);Nu(a,3,c);I(b,29,a);return b},Pu=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new Qu;c=E(d,1,c);return K(c,2,Number(b))})},Dea=function(a){var b=a.exportJob,c=b.status;c=c?Bea.get(c)||0:0;var d=Number(a.percentDone),e=b.items?b.items.length:0;a=a.numFetchedFiles||
0;var f=0,g=0,h=(b.archives||[]).map(function(k){f+=Number(k.sizeOfContents)||0;g+=Number(k.compressedSize)||0;return k.storagePath});b=(b.failedItemInfos||[]).map(function(k){var m=dl(Ru(new gl,k.docId).setTitle(k.title),k.mediaType),p=new Su;m=I(p,1,m);m=E(m,3,k.relativePath);return E(m,4,k.cause)});return new Cea(c,d,h,f,g,e,a,b)},fv=function(a,b,c){var d=c.itemId;c=c.driveItem;d=Ru(new gl,d);if(c){dl(d.setTitle(c.title),c.mimeType);c.userCapabilities&&xr(d,Kr(c.userCapabilities));b=b.zg();c.parentId&&
b.has(1)&&Tu(d,[c.parentId]);if(c.owner){if(c.owner.user&&b.has(14)){var e=Qr(Rr(Sr(1),c.owner.user.userId),c.owner.user.focusUserId);c.owner.user.userDetails&&Pr(Or(Ur(Tr(e,c.owner.user.userDetails.photoUrl),c.owner.user.userDetails.isMe),c.owner.user.userDetails.email),c.owner.user.userDetails.displayName);Uu(d,[e])}if(c.owner.drive&&b.has(90)){var f;e=(f=vr(d))!=null?f:new wr;xr(d,Fr(e,!0))}c.owner.customer&&b.has(95)&&Vu(d,c.owner.customer.displayName)}if(c.actionItem&&b.has(74))for(f=q(c.actionItem),
e=f.next();!e.done;e=f.next()){var g=e.value;e=new ls;let h=E(e,1,g.id);g.type&&(e=h,g=Eea.get(g.type),G(e,2,g));Oj(d,83,ls,h)}c.abuseIsAppealable!==void 0&&b.has(227)&&Wu(d,c.abuseIsAppealable);c.contentLockReadOnly!==void 0&&b.has(136)&&Xu(d,[hs(new is,c.contentLockReadOnly)]);c.hasVisitorPermissions!==void 0&&b.has(100)&&H(d,98,c.hasVisitorPermissions);c.inSpamView!==void 0&&b.has(234)&&(f=new ks,f=H(f,4,c.inSpamView),Yu(d,f));c.starred!==void 0&&b.has(4)&&Zu(d,c.starred);c.teamDriveId&&b.has(83)&&
$u(d,c.teamDriveId);c.visibility&&c.visibility.shared!==void 0&&b.has(24)&&av(d,c.visibility.shared);c.lastModified&&b.has(10)&&bv(d,zr(c.lastModified));c.sharedWithMe&&b.has(25)&&cv(d,zr(c.sharedWithMe));c.thumbnailData&&b.has(19)&&dv(d,!0);ev(a,d,b)}d.Zb(4);return d},mv=function(a,b,c){for(var d=[],e=q(c.item||[]),f=e.next();!f.done;f=e.next())if(f=f.value,f.driveItem){var g=new gv,h=((f.justification||{}).unstructuredJustificationDescription||{}).textSegment||[];h=E(g,2,h.length>0?(h[0]||{}).text||
"":"");H(h,3,!0);g=fv(a,b,f);g=I(g,100,h);f=hv(g,Fea(f));d.push(f)}a=iv(new jv,d);c=E(a,17,c.suggestionSessionId).setStatus(d.length?6:1);c=H(c,5,!1);c=kv(new lv,c);return O(c,4,Date.now())},ov=function(a){return Tr(Or(Pr(Qr(Rr(new nv,a.id),a.id),a.displayName),a.emailAddress),a.photoUrl)},Fea=function(a){var b=a.action;return b?b.map(function(c){var d=new tv,e=Gea(c);e&&y(d,2,uv,e);(e=Hea(c))&&sv(d,e);(e=Iea(c))&&y(d,4,uv,e);(e=Jea(c))&&y(d,5,uv,e);(e=Kea(c))&&y(d,6,uv,e);(e=Lea(c))&&y(d,7,uv,e);
(e=Mea(c))&&y(d,8,uv,e);(e=Nea(c))&&y(d,9,uv,e);(e=Oea(c))&&y(d,10,uv,e);(c=Pea(c))&&y(d,11,uv,c);return d}):(b=new pv,(a=qv(a))&&rv(b,[a]),[sv(new tv,b)])},wv=function(a){return(a.justification||[]).map(function(b){return vv(b)})},qv=function(a){return(a=a.justification)?vv(a):null},vv=function(a){var b=new xv;a.displayText&&Qea(b,yv(a.displayText));var c=a.primaryPerson,d=a.allPeople;c?(c=ov(c),y(b,3,zv,c),Av(b,[c])):d?(c=(d.person||[]).map(function(e){return ov(e)}),d=Bv(c),y(b,4,zv,d),Av(b,c)):
(c=(a.person||[]).map(function(e){return ov(e)}),c.length&&(d=Bv(c),y(b,4,zv,d),Av(b,c)));Rea(b,zr(a.eventTime));a.justificationDescription&&Sea(b,yv(a.justificationDescription));a.unstructuredJustificationDescription&&Tea(b,yv(a.unstructuredJustificationDescription));return b},yv=function(a){if(!a)return null;a=a.textSegment||[];return Uea(new Cv,a.map(function(b){var c=new Dv;c=E(c,1,b.text);var d=b.link;if(d){var e=new Ev;d=E(e,1,d.url)}else d=null;c=I(c,2,d);c=H(c,3,b.bold);return H(c,4,b.italic)}))},
Gea=function(a){a=a.documentDocosAction;if(!a)return null;var b=Vea(new Fv,qv(a));Wea(b,(a.subAction||[]).map(function(c){var d=new Gv;c.reply?(c=new Hv,y(d,1,Iv,c)):c.resolve?(c=new Jv,y(d,2,Iv,c)):c.reassign?(c=new Kv,y(d,3,Iv,c)):c.acceptSuggestion?(c=new Lv,y(d,4,Iv,c)):c.rejectSuggestion?(c=new Mv,y(d,5,Iv,c)):c.openThread&&(c=new Nv,y(d,6,Iv,c));return d}));E(b,2,a.discussionId);E(b,3,a.postId);a.anchorText&&Xea(b,yv(a.anchorText));return b},Iea=function(a){var b=a.documentShareAction;if(!b)return null;
a=Yea(new Ov,qv(b));Zea(a,(b.subAction||[]).map(function(c){var d=new Pv;c.suggestedShare?(c=new Qv,y(d,1,Rv,c)):c.responseToRequest&&(c=new Sv,y(d,2,Rv,c));return d}));$ea(a,(b.sharee||[]).map(function(c){return ov(c)}));b.shareeRole&&(b=afa.get(b.shareeRole))&&G(a,3,b);return a},Hea=function(a){a=a.documentViewAction;if(!a)return null;var b=rv(new pv,wv(a));bfa(b,(a.subAction||[]).map(function(c){var d=new Tv;c.open?(c=new Uv,y(d,1,Vv,c)):c.reviewEdits&&(c=new Wv,y(d,2,Vv,c));return d}));return b},
Jea=function(a){a=a.emailViewAction;if(!a)return null;var b=cfa(new Xv,qv(a));dfa(b,(a.subAction||[]).map(function(c){var d=new Yv;c.open&&(c=new Zv,y(d,1,$v,c));return d}));return b},Kea=function(a){a=a.calendarEventAction;if(!a)return null;var b=efa(ffa(gfa(new aw,a.eventId),qv(a)),a.guestCount);hfa(b,(a.subAction||[]).map(function(c){var d=new bw;if(c.viewCalendarEvent){var e=new cw;y(d,1,dw,e)}c.shareWithAttendees&&(e=new ew,y(d,2,dw,e));c.present&&(e=new fw,y(d,3,dw,e));c.openDocument&&(c=new Uv,
y(d,4,dw,c));return d}));return b},Lea=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=ifa(jfa(new gw,a.workspaceId),qv(a));kfa(b,(a.subAction||[]).map(function(c){var d=new hw;c.addToWorkspace&&(c=new iw,y(d,1,jw,c));return d}));return b},Mea=function(a){a=a.documentTopicAction;if(!a)return null;var b=lfa(new kw,qv(a));mfa(b,(a.subAction||[]).map(function(c){var d=new lw;c.openDocument&&(c=new Uv,y(d,1,mw,c));return d}));return b},Nea=function(a){a=a.popularDocumentAction;if(!a)return null;
var b=nfa(new nw,qv(a));ofa(b,(a.subAction||[]).map(function(c){var d=new ow;c.openDocument&&(c=new Uv,y(d,1,pw,c));return d}));return b},Oea=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=pfa(new qw,qv(a));qfa(b,(a.subAction||[]).map(function(c){var d=new rw;c.openDocument&&(c=new Uv,y(d,1,sw,c));return d}));return b},Pea=function(a){a=a.formResponseAction;if(!a)return null;var b=rfa(new tw,wv(a));sfa(b,(a.subAction||[]).map(function(c){var d=new uw;c.openDocument?(c=new Uv,y(d,
1,vw,c)):c.viewResponses&&(c=new ww,y(d,2,vw,c));return d}));return b},yw=function(a){var b=new xw;b=K(b,1,a.year);b=K(b,2,a.month);return K(b,3,a.day)},vfa=function(a){var b=new zw;a.listOptions&&tfa(b,Aw(a.listOptions));var c;return ufa(b,((c=a.choices)!=null?c:[]).map(function(d){var e=new Bw;e=E(e,1,d.id);if(d.properties){var f=d.properties,g=new Cw;g=E(g,1,f.displayName).setDescription(f.description);if(f.badgeConfig){f=f.badgeConfig;let h=new Dw;f.priorityOverride&&O(h,1,Number(f.priorityOverride));
I(g,3,h)}I(e,2,g)}d.displayHints&&(d=d.displayHints,g=new Ew,g=H(g,1,d.disabled),g=H(g,2,d.hiddenInSearch),g=H(g,3,d.shownInApply),d.badgeColors&&(f=Fw(d.badgeColors),I(g,4,f)),d.darkBadgeColors&&(f=Fw(d.darkBadgeColors),I(g,5,f)),d.badgePriority&&O(g,6,Number(d.badgePriority)),I(e,3,g));return e}))},Aw=function(a){var b=new Gw;return K(b,1,a.maxEntries)},Fw=function(a){var b=new Hw;if(a.backgroundColor){var c=Iw(a.backgroundColor);I(b,1,c)}a.foregroundColor&&(c=Iw(a.foregroundColor),I(b,2,c));a.soloColor&&
(a=Iw(a.soloColor),I(b,3,a));return b},Iw=function(a){var b=new Jw;a.red&&Kw(b,1,Number(a.red));a.green&&Kw(b,2,Number(a.green));a.blue&&Kw(b,3,Number(a.blue));a.alpha&&(a=(new Lw).setValue(a.alpha),I(b,4,a));return b},yfa=function(a){var b=Mw(new Nw,Br(a)),c=a.result;a=a.processedFileCount;if(c){var d=c.status;(d=d&&wfa[d])&&b.setStatus(d);c.sourceResults&&Ow(b,c.sourceResults.map(function(e){return xfa(e)}));c.validationToken&&E(b,4,c.validationToken)}a!==void 0&&K(b,2,a);return b},xfa=function(a){var b=
zfa(Afa(new Pw,a.sourceId),a.fileCount);a.unmovableFileReasons&&Bfa(b,a.unmovableFileReasons.map(function(c){var d=c.unmovableReason;d=d&&Cfa[d];var e=new Qw;return G(e,1,d?d:0).g(c.count)}));return b},Efa=function(a){a=a.personResponse||[];return Rw(new Sw,a.map(function(b){var c=b.person;b=Tw(new Uw,b.personId);var d=c;d=d===void 0?{}:d;var e,f,g;d=(g=(e=d.metadata)==null?void 0:(f=e.bestDisplayName)==null?void 0:f.displayName)!=null?g:"";e=Vw(Ww(b,d),Dfa(c));f=c;f=f===void 0?{}:f;f=f.photo?f.photo[0]:
null;f=Xw(new Yw,f&&!f.isDefault?f.url:null);e=I(e,4,f);var h,k,m,p,t;((t=(k=c==null?void 0:(h=c.agentInfo)==null?void 0:h[0])==null?void 0:(m=k.workspaceStudioAgent)==null?void 0:(p=m.profileInfo)==null?void 0:p.agentProfile)==null?void 0:t.agentState)==="AGENT_STATE_DELETED"&&H(e,7,!0);return e}))},Dfa=function(a){a=a===void 0?{}:a;var b,c;return(c=(b=(a.email||[]).find(function(d){var e;return d.classification==="SIGNUP_EMAIL"&&((e=d.metadata)==null?void 0:e.primary)===!0}))==null?void 0:b.value)!=
null?c:""},Ffa=function(a){var b=a.items||[];return Zw($w(new ax,b.map(function(c){return bx(c)})),Br(a))},bx=function(a){var b=new cx;b=E(b,1,a.id).setTitle(a.title);var c=zr(a.createdDate);b=O(b,3,c);c=zr(a.modifiedDate);b=O(b,4,c);return G(b,5,a.state?Gfa[a.state]:void 0)},Jfa=function(a,b,c){var d=c.item||[];return Hfa(Ifa(new dx,d.map(function(e){return fv(a,b,e)})),c.suggestionSessionId)},Nfa=function(a,b,c){var d=c.item||[];return Kfa(Lfa(new ex,d.map(function(e){return Mfa(a,b,e)})),c.suggestionSessionId)},
Mfa=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return Ofa(Pfa(Qfa(Rfa(new fx,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return fv(a,b,f)})),qv(c))},hx=function(a){var b=new gx;a.kind&&(a=bx(a),I(b,2,a));b.setStatus(1);return b},Sfa=function(a,b,c){b.ia("sync.api.Dump").info("Requesting dump stats.");b=ix(jx(Vt(new P,305),!1),2);var d,e,f=((e=(d=zo(c))==null?void 0:Rl(d,76))!=null?e:0)>0,g=kx(lx(new mx,b),[f?"account.storage_settings.linked_changelog_size":
"account.storage_settings.corpus_size"]);return a.then(function(h){return h.route(g).then(function(k){var m;a:{if(f){var p,t=(m=k.Nd())==null?void 0:(p=Q(m,nx,10))==null?void 0:Aq(p,3);if(t!==void 0){m=new ox;m=K(m,5,t);break a}}else{let w;m=Tg((t=k.Nd())==null?void 0:(w=Q(t,nx,10))==null?void 0:gq(w,2));if(m!==void 0){p=new ox;m=K(p,3,m);break a}}m=null}return m},function(){return null})})},px=function(){this.h=[];this.g=[]},rx=function(a,b,c,d,e,f){return qx(a,b,7,void 0,e,f).then(function(g){var h=
!1;g[0]&&(g=g[0],h=c.get().h.set(g.X(),g.Sa(),d));return h},function(){return!1})},Xfa=function(a,b,c,d,e,f,g,h,k){var m=new sx,p=void 0;b&&(p=new tx(c));c=new ux(e,m,p);c.j||(c.j="t");f.listen(c,"t",function(w){Tfa(w,g,h,k)});f=new Ufa(Sg(Vfa(Gq(a))),m,Wfa(c));var t=new vx(d,c,f);if(p){a=wx(xx(a));let w=a[0]&&C(a[0],2)||"";yx(p,function(){return rx(b,w,new zx(function(){return t}),3)})}return t},Bx=function(a,b,c,d,e){c=Yfa(c,a);return Ax(b,c)&&(a.includes(329)?Zfa(d,e):!0)},Zfa=function(a,b){var c=
new Set(b);return a.every(function(d){return c.has(d)})},$fa=function(a,b){var c=new Set(b.concat(Cx));return a.filter(function(d){return!c.has(d)})},Ax=function(a,b){var c=Cx;c=c===void 0?[]:c;var d=new Set(a.concat(c));return b.every(function(e){return d.has(e)})},Yfa=function(a,b){var c=Dx[a];return b.filter(function(d){return!c||!c.has(d)})},Ex=function(a){return a+Math.max(100,a*.2)},Ix=function(a){if(jl(a))Fx(Gx(a,!0),!0);else if(jl(a,!0)){var b=il(a);if(b=b&&Hx(b))Fx(Gx(b,!0),!0),Fx(Gx(a,!0),
!0)}},Gx=function(a,b){var c=Q(a,Jx,81);c||(c=new Jx,b&&I(a,81,c));return c},Kx=function(a){return!!Q(a,Jx,81)&&!jl(a)},aga=function(a){var b=[];$a(a,function(c){nl(c)!==3&&(hp(c,Jx,81)&&(c=c.clone(),S(c,81)),b.push(c))});return b},Lx=function(){this.blockSize=-1},Mx=function(a,b,c){this.blockSize=-1;this.g=a;this.blockSize=c||a.blockSize||16;this.j=Array(this.blockSize);this.h=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.g.update(a),a=this.g.digest(),this.g.reset());for(c=0;c<this.blockSize;c++)b=
c<a.length?a[c]:0,this.j[c]=b^92,this.h[c]=b^54;this.g.update(this.h)},bga=function(a){var b=a.command;a=a.payload;if(b==="encrypt"){b=a.dumps;var c=[];a=new Nx(a.key);for(var d=0;d<b.length;d++)c.push(a.encrypt(b[d]));a=c}else if(b==="decrypt"){b=a.dumps;c=[];a=new Nx(a.key);for(d=0;d<b.length;d++)c.push(a.decrypt(b[d]));a=c}else throw Error("cc`"+b);return a},Px=function(a,b){Yg.call(this);this.A=a||0;this.j=b||10;if(this.A>this.j)throw Error("dc");this.g=new px;this.h=new Set;this.delay=0;this.lastAccess=
null;Ox(this)},Qx=function(a){var b=ac.apply(1,arguments);if(b.length===0)return vh(a[0]);var c=a[0];for(let d=0;d<b.length;d++)c+=encodeURIComponent(b[d])+a[d+1];return vh(c)},Rx=function(a){if(!a)return null;a=C(a,4);return a===null||a===void 0?null:vh(a)},Sx=function(a){var b=new Set;a=q(a.xd());for(var c=a.next();!c.done;c=a.next())c=c.value,c.Qb()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(r(b))},Ux=function(a,b,c,d,e,f,g,h){return qx(a,b,8,void 0,g,h).then(function(k){var m=
!1;if(k[0]&&(k=k[0],(m=c.get().set(k.X(),k.Sa(),f))&&k.Ma().length)){let t=k.Ma(tu);k=q(t);for(var p=k.next();!p.done;p=k.next())Tx(p.value,e);d.Ka(t,1)}return m},function(){return!1})},Wx=function(a){var b=(new Vx).setStatus(6);b=O(b,3,Date.now());if(T(a,1)){var c=N(a,1);H(b,4,c)}if(a.Hh()===0)b.setStatus(1);else if(a.Hh()>0)for(b.si(a.xd()),a=q(b.xd()),c=a.next();!c.done;c=a.next())(c=c.value.getItem())&&c.Zb(4);return b},Zx=function(a,b){if(b=Q(b,Xx,7))a=Yx(a),a=cga.has(a),b=G(b,1,a?4:3),G(b,4,
5)},$x=function(a){var b=new Set;a=q([].concat(r(a.Pd()),r(a.Qd())));for(var c=a.next();!c.done;c=a.next())c=c.value,c.Qb()&&c.getItem().getId()&&b.add(c.getItem().getId());return[].concat(r(b))},ay=function(a,b,c,d,e,f,g,h){return qx(a,b,12,void 0,g,h).then(function(k){var m=!1;if(k[0]&&(k=k[0],(m=c.get().set(k.X(),k.Sa(),f))&&k.Ma().length)){let t=k.Ma(tu);k=q(t);for(var p=k.next();!p.done;p=k.next())Tx(p.value,e);d.Ka(t,1)}return m},function(){return!1})},dy=function(a,b,c){for(var d=Date.now(),
e=dga(d).Sg(b.Pd()).Tg(b.Qd()),f=q([].concat(r(e.Pd().map(function(h){return h.getItem()})),r(e.Qd().map(function(h){return h.getItem()})))),g=f.next();!g.done;g=f.next())if(g=g.value)ev(c,g,new Set(Nr(a,5,B()))),g.Zb(4);hp(b,by,7)&&(a=cy(d,Q(b,by,7)))&&I(e,14,a);hp(b,by,8)&&(b=cy(d,Q(b,by,8)))&&I(e,15,b);return e},cy=function(a,b){var c;(b=(c=Sg(Cq(b,1)))!=null?c:0)?(c=new Date(a+b*1E3),a=new dk,c=c.getTime(),Number.isFinite(c)||(c=0),a=Ge(a,1,Oc(Math.floor(c/1E3)),"0"),a=ey(a,2,(c%1E3+1E3)%1E3*
1E6)):a=null;return a},fy=function(a){this.g=a},gy=function(){this.blockSize=-1;this.blockSize=64;this.g=Array(4);this.A=Array(this.blockSize);this.j=this.h=0;this.reset()},hy=function(a){this.g=a},iy=function(a){oh.call(this);this.g=a;this.h=new bi(this);this.h.listen(this.g,"abort",nj(this.dispatchEvent,this,"abort"));this.h.listen(this.g,"error",this.Fn);this.h.listen(this.g,"versionchange",this.ip);this.h.listen(this.g,"close",nj(this.dispatchEvent,this,"close"))},ky=function(){jy==void 0&&(jy=
n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.moz_indexedDB);return jy},oy=function(a,b,c,d){var e=new jk;b=b?ky().open(a,b):ky().open(a);b.onsuccess=function(f){f=new iy(f.target.result);e.callback(f)};b.onerror=function(f){e.La(ly(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var g=new iy(f.target.result);c(new my(f.oldVersion,f.newVersion),g,new ny(f.target.transaction,g))}};b.onblocked=function(f){d&&d(new my(f.oldVersion,f.newVersion))};return e},ega=function(){var a=
new jk,b=ky().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.La(ly(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a},Jy=function(a,b,c){var d=new py;qy(ry(a,[sy.vf],Hy.READ_ONLY).objectStore(sy.vf).getAll(),function(e){e=Object.values(e).map(function(f){return Iy(f)}).filter(function(f){return f!=null});d.resolve(e.filter(function(f){return(!b||f.userId===b)&&(!c||f.clientId===c)}))},d.reject);return d.promise},fga=function(a,
b,c){if(!a.length)return b.resolve([]),null;var d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())(e=Ky(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("Uc")),0;a=d[0].timestamp;if(!a)return b.reject(Error("Vc")),0;e=d[0].size;if(!e)return b.reject(Error("Wc")),0;if(e>d.length)return b.reject(Error("Xc`"+e+"`"+d.length)),0;for(let f=0;f<e;f++)if(!d[f]||d[f].size!==e||d[f].timestamp!==a)return b.reject(Error("Yc`"+e)),0;if(c&&a<c)return b.reject(Error("Zc`"+a+"`"+c)),d.length>e?e:null;if(d.length>
e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},My=function(a,b,c,d){if(a.length){var e=sy.dg,f=a.shift(),g=Ly(f,3,0,1);try{ry(c,[e],Hy.READ_ONLY).objectStore(e).get(g).then(function(h){(h=Ky(h))&&(!h.encrypted||h.encrypted&&d.has(f.j))?b.resolve(f):My(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},Py=function(a){a=ea(a);var b=0,c=a.length,d={a:-1640531527,b:-1640531527,c:314159265},e;for(e=c;e>=12;e-=12,b+=12)d.a+=Ny(a,b),d.b+=Ny(a,b+4),
d.c+=Ny(a,b+8),Oy(d);d.c+=c;switch(e){case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.b+=Ny(a,b+4);d.a+=Ny(a,b);break;case 7:d.b+=(a[b+6]&255)<<16;case 6:d.b+=(a[b+5]&255)<<8;case 5:d.b+=a[b+4]&255;case 4:d.a+=Ny(a,b);break;case 3:d.a+=(a[b+2]&255)<<16;case 2:d.a+=(a[b+1]&255)<<8;case 1:d.a+=a[b]&255}return Oy(d)},Oy=function(a){var b=a.a,c=a.b,d=a.c;b=b-c-d^d>>>13;c=c-d-b^b<<8;d-=b;d=d-c^c>>>13;b-=c;b-=d;b^=d>>>12;c=c-d-b^b<<16;d-=b;d=d-c^c>>>5;b-=c;b-=
d;b^=d>>>3;c=c-d-b^b<<10;d-=b;d=d-c^c>>>15;a.a=b;a.b=c;return a.c=d},Ny=function(a,b){return Qy(a[b])+(Qy(a[b+1])<<8)+(Qy(a[b+2])<<16)+(Qy(a[b+3])<<24)},Qy=function(a){return a>127?a-256:a},Sy=function(a){var b;((b=Q(a,Ry,34))==null?0:Ys(b,15))?(a=xx(a),a=ws(a,15)):a=Yx(a);return a},hga=function(a,b,c,d){if(!Ty()||!Uy(xx(a))||Oq(Xr(a)))return null;var e=Pq(Xr(a)),f=Sy(a),g=function(){},h=wx(xx(a));h=h[0]&&D(h[0],1);var k=new Vy(e,f,Wy(xx(a))||0,h||"",b.nb(),b.fd());e=Xy(a)?Yy(e,f).then(function(p){return p?
p:k}):N(a,10)?(b=gga(a))?Yy(e,f,b).then(function(p){return p&&(g=function(t){t.zc(k).then(null,function(){})},!p.A)?p:k}):Promise.resolve(k):Promise.resolve(k);var m=new Zy(e,c,d,$y(xx(a)));m.initialize().then(function(){g(m)},function(){return null});return m},kga=function(a,b,c){Ty()&&Uy(xx(a))&&!Oq(Xr(a))&&iga(b).then(function(d){(!d||d<Date.now()-864E5)&&jga(Pq(Xr(a)),Sy(a),c).then(function(e){e&&b.set(az,Date.now())},function(){})})},bz=function(a){var b,c;return(c=(b=il(a))==null?void 0:Hx(b))!=
null?c:null},cz=function(a,b,c){Yg.call(this);this.H=c!=null?nj(a,c):a;this.F=b;this.D=nj(this.Hn,this);this.h=!1;this.j=0;this.A=this.g=null;this.B=[]},xz=function(a){var b=new dz;var c=ez(a);b=Nu(b,1,c);c=F(a,10);b=H(b,2,c);c=z(a,fz,5,B());b=Nu(b,3,c);c=F(a,11);b=H(b,4,c);c=F(a,9);b=H(b,5,c);c=F(a,65);b=H(b,6,c);c=gz(lga,ws(a,42));b=G(b,7,c);c=F(a,69);b=H(b,8,c);c=hz(a);b=Nu(b,9,c);c=F(a,17);b=H(b,10,c);c=F(a,72);b=H(b,11,c);c=D(a,54);b=E(b,12,c);c=z(a,iz,67,B());b=Nu(b,13,c);c=z(a,iz,68,B());b=
Nu(b,14,c);c=z(a,jz,78,B());b=Nu(b,15,c);c=z(a,kz,44,B());b=Nu(b,16,c);c=F(a,16)?!0:void 0;b=H(b,17,c);c=F(a,50);b=H(b,19,c);c=D(a,43);b=E(b,20,c);c=Q(a,lz,59);b=I(b,21,c);c=F(a,66);b=H(b,22,c);c=z(a,mz,57,B());b=Nu(b,23,c);c=nz(a);b=I(b,25,c);c=z(a,oz,100,B());b=Nu(b,26,c);c=U(a,39,B());b=rs(b,27,c);c=U(a,40,B());b=rs(b,28,c);c=gz(mga,ws(a,41));b=G(b,29,c);c=F(a,73);b=H(b,30,c);c=z(a,pz,7,B());b=Nu(b,31,c);c=z(a,pz,8,B());b=Nu(b,32,c);c=Q(a,iz,58);b=I(b,34,c);c=qz(a);b=Nu(b,35,c);c=rz(a);b=Nu(b,
36,c);c=z(a,pz,79,B());b=Nu(b,37,c);c=gz(nga,ws(a,45));b=G(b,38,c);c=z(a,iz,15,B());b=Nu(b,39,c);c=sz(a);b=rs(b,40,c);c=z(a,tz,37,B());b=Nu(b,41,c);c=z(a,iz,13,B());b=Nu(b,42,c);c=F(a,34);b=H(b,43,c);c=uz(a);b=Nu(b,44,c);c=z(a,iz,14,B());b=Nu(b,45,c);c=F(a,18);b=H(b,46,c);c=Q(a,vz,86);b=I(b,47,c);c=Q(a,wz,64);b=I(b,48,c);c=F(a,88);b=H(b,50,c);a=oga(Nr(a,91,B()));return Ee(b,51,a,Cc)},tga=function(a,b,c,d){var e=Wl(a)?a.X():a,f=e.G(),g={};g.q=yz(e);var h=au(c,e.za());Ua(h);var k=void 0,m=!1;z(e,fz,
5,B()).length>0&&(k=pga(Gq(b)),m=!0);var p;g.fields=gda(c,{fields:h,anonymous:Oq(Xr(b)),additionalFields:((p=k)==null?void 0:p.split(",").map(function(A){return new Cp(A)}))||void 0,Pb:Lp(b),Jp:m});g.appDataFilter="NO_APP_DATA";z(e,zz,25,B()).length>0&&(g.sources=Az(e));rz(e).length>0&&(g.spaces=Bz(e));a.hc()&&(g.pageToken=a.rb());(a=Q(a,tn,1))&&Rl(a,1,1E3)&&(g.maxResults=Rl(a,1,1E3));T(e,36)&&(g.includeUnsubscribed=F(e,36));R(e,43)&&(g.rawUserQuery=D(e,43));c.ne(241)&&(g.includeBadgedLabels=!0);
g.supportsTeamDrives=!0;g.includeItemsFromAllDrives=N(e,66,!0);sz(e).length>0&&Cz(e)===2&&(c=sz(e)[0],g.teamDriveId=c);g.corpora=Dz[Cz(e)];F(e,18)&&(delete g.corpora,g.corpus="DOMAIN");c={};var t;if(a=(t=e.G())==null?void 0:Qs(t))t=D(a,1),a=D(a,2),t&&t.length>0&&a&&a.length>0&&(c[Rs]=Ss(Ts(t),a).ca().trim());t=Ez(e);Et(z(e,Qt,63,B(tu)),t,d,c);var w;d=(w=e.G())!=null?w:new P;Us(Vs(d));w=qu(Ws(new ku,d),qga(new mu,Fz(e.clone())));d=db(w.ca());d.length>=5120&&(rga(Q(w,mu,2)),d=db(w.ca()));c["x-goog-ext-525001598-jspb"]=
d;nca(g,nz(e));N(b,14)&&(g.useLegacyDomainPermissionBehavior=!1);Q(e,wz,64)&&(b=sga(Q(e,wz,64)),b=daa(b),g.searchSessionData=b);return{parts:{W:0,T:"files",ja:g,Y:c,method:"GET",ba:f},options:{Ra:!0,hr:!0}}},Ez=function(a){var b=[],c=uz(a),d=qz(a),e=z(a,Gz,38,B());a=sz(a);b.push.apply(b,r(c.filter(function(f){return!f.Qa()&&R(f,1)}).map(function(f){return f.Ca()}).concat(d.filter(function(f){return R(f,1)}).map(function(f){return f.Ca()})).concat(e.filter(function(f){return R(f,1)}).map(function(f){return f.Ca()})).concat(a)));
return b},gz=function(a,b){return b==null?void 0:a[b]},oga=function(a){var b=uga;return a?Hz(a,function(c){return b[c]}):[]},vga=function(a){var b=new pn;a=[(new Iz).setValue(a)];b=Nu(b,12,a);return qn(b,Vt(new P,1490))},xga=function(a,b,c,d,e,f,g,h){var k=void 0;b&&(k=new tx(c));var m=new Jz(e,f.Ha,k);m.j||(m.j="y");g.listen(m,"y",function(p){wga(p,h,f)});if(k){c=wx(xx(a));let p=c[0]&&C(c[0],2)||"";yx(k,function(){return Ux(b,p,new zx(function(){return m}),f,4,3)})}return new Kz(d,m,f.sf,a)},yga=
function(a,b){b=b.clone();for(var c=q([].concat(r(b.Pd()),r(b.Qd()))),d=c.next();!d.done;d=c.next()){var e=d.value;if(d=e.getItem())if(hv(d,e.Gh()),yr(d),e=Q(e,Lz,8)){var f=new Set(Nr(a,5,B()));if(wn(e,Mz,1,Nz))f.has(14)&&!Oz(d).length&&(e=ck(e,Mz,1,Nz),f=Qr(Rr(Sr(1),x(e,1)),x(e,2)),f=G(f,16,2),Q(e,Pz,3)&&(e=Q(e,Pz,3),Pr(Or(Ur(Tr(f,x(e,1)),N(e,2)),x(e,3)),x(e,4))),Uu(d,[f]));else if(wn(e,Qz,2,Nz)){if(e=f.has(90))e=vr(d),e=!T(e,16);e&&Fr(vr(d),!0)}else wn(e,Rz,3,Nz)&&f.has(95)&&!R(d,93)&&(e=ck(e,Rz,
3,Nz),e=x(e,1),Vu(d,e))}}return b},Aga=function(a,b,c,d,e,f,g,h,k,m){var p=void 0;b&&(p=new tx(c));var t=new Sz(e,f.Ha,p);t.j||(t.j="z");g.listen(t,"z",function(w){zga(w,h,f,m)});if(p){a=wx(xx(a));let w=a[0]&&D(a[0],2)||"";yx(p,function(){return ay(b,w,new zx(function(){return t}),f,4,3)})}return new Tz(d,t,k,m)},Uz=function(a){return a},Dga=function(a,b){if(a.getId()===b.getId()&&x(b,2)!==x(a,2)){Vz(a.setDescription(x(b,7)).setTitle(x(b,5)),x(b,4));b=new Map(z(b,Lr,3,B()).map(function(f){return[f.getId(),
f]}));a=q(z(a,Lr,3,B()));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(c=b.get(d.getId()))switch(d.setTitle(x(c,11)),Tj(d,Wz)){case 13:Xz(ck(d,Yz,13,Wz),ck(c,Yz,13,Wz));break;case 14:c=new Map(Zz(ck(c,$z,14,Wz)).map(function(f){return[x(f,2),f]}));d=q(Zz(ck(d,$z,14,Wz)));for(var e=d.next();!e.done;e=d.next()){e=e.value;let f=c.get(x(e,2));f&&Xz(e,f)}break;case 15:Bga(ck(d,aA,15,Wz),Cga(ck(c,aA,15,Wz)))}}}},Xz=function(a,b){x(a,2)===x(b,2)&&(a=a.setTitle(x(b,1)).setDescription(x(b,3)),b=
Q(b,Mr,4),I(a,4,b))},Ega=function(a){var b=Pq(Xr(a));a=xx(a);a=Cq(a,17,jc(72E5));a=Sg(a);if(a>0)return Math.abs(Py(b))%a},cA=function(a){a=co(a).na;a.A()||Vn(a,56);a.B()||Un(a,2);return Oo(a,bA).payload},dA=function(){Yg.call(this);this.h={}},eA=function(a){Yg.call(this);this.g=a},gA=function(a){dA.call(this);this.g=a;this.A=fA(this.g,"message",this.fp,!1,this)},jA=function(a){Yg.call(this);this.g=new hA(a);this.j={};this.h=iA(this.g,"private");this.A=iA(this.g,"public");this.h.tf("mics",nj(this.D,
this),!0)},Fga=function(a){var b=[],c="";if(kA(a)){b=[].concat(r(a.Sa().Ma()));var d=D(a,2);c=a.rb()}else if(hq(a))a.getItem()&&b.push(a.getItem()),d=D(a,16);else throw new fn(void 0,bo(Error("Cd"),52));return[d,c,b]},Gga=function(a){a={t:a.title,d:a.description,c:a.component,fi:a.sj,dti:a.jj,a:a.attachments?a.attachments.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.Gl})}):void 0};return JSON.stringify(a)},Hga=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,
component:a.c,sj:a.fi,jj:a.dti,attachments:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Gl:b.ec}}):void 0}},mA=async function(a,b,c,d,e,f){var g=eh(e),h=eh(f);g=Wk("Drive Upload Report: %d/%d failed",h,g);a=Gq(a);d=[].concat(r(d));d.push("Batch query interval: "+Rl(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+Sg(Cq(a,32,jc(1073741824)))/1024/1024+" MiB");d.push("Max batch upload file size: "+Sg(Cq(a,33,jc(1048576)))/1024/1024+" MiB");d.push("Max files in an upload batch: "+
Rl(a,35,10)+" files");d.push("Max files in a non-upload batch: "+Rl(a,10,50)+" files");d=d.join("\n");a=[];h=[];for(var k=q(Object.values(e)),m=k.next();!m.done;m=k.next())h.push(await Iga(m.value));a.push({name:"AllUploadRequests.txt",content:h.join("\n---------\n")});a.push({name:"DataserviceLogs.txt",content:lA(b)});b=q(Object.entries(f));for(f=b.next();!f.done;f=b.next()){f=q(f.value);m=f.next().value;k=f.next().value;f=a;h=f.push;m=e[m].request;m=Wk('ErrorResponseFor"%s"(ID:%s).txt',m.Ji()||
"",m.Ii()||"");var p=k.na;p=p?C(p,4):"No detail.";h.call(f,{name:m,content:k.toString()+"\n"+p})}return{title:g,description:d,attachments:a,component:152391,sj:c,jj:361003}},Iga=async function(a){var b=[];b.push(Jga(a.request));if(a.file){var c=b.push,d=a.file;let e=[];e.push("Size: "+d.size);d.type&&e.push("Type: "+d.type);d.lastModified&&e.push("Last modified: "+d.lastModified);c.call(b,"File: "+e.join("; "))}a.Tb&&b.push("# of retries by client: "+a.Tb);b.push("State: "+await Kga(a));return b.join("\n")},
Jga=function(a){a=Lga(a);return Object.entries(a).filter(function(b){b=q(b);b.next();return b.next().value}).map(function(b){var c=q(b);b=c.next().value;c=c.next().value;return b+": "+c}).join("; ")},Lga=function(a){return{Title:a.Ji(),Type:a.Bc(),Parents:a.Cc(),Convert:a.Ge(),ID:a.Ii()}},Kga=async function(a){if(!a.Sc)return"Not yet executed.";if(!await Jk(a.Z.promise))return"In progress.";try{return await a.Z.promise,"Completed successfully."}catch(b){return b instanceof lk?"Canceled.":"Completed with failure. See attachment."}},
Mga=function(a,b,c,d){var e=e===void 0?!1:e;var f=new nA(a);(new oA(a,b,c,f,void 0,d,e)).run();return f},qA=function(a,b,c,d){return Kk(a(),c,function(){return new pA}).catch(function(e){if(e instanceof pA&&d>0)return b(e),qA(a,b,c,d-1);throw e;})},sA=function(a){return a!=null&&!rA(a)},Nga=function(a){tA("drive.DebugUtil.clearCache",function(){a.fj()});tA("drive.DebugUtil.printFindById",function(c){a.qj(c).then(function(d){window.console.log(d?"http://go/drivedsitem?protojspb="+encodeURIComponent(d.ca()):
"Item not found")})});tA("drive.DebugUtil.printDsConfig",function(){var c=a.getContext().C.clone();c=S(c,91);c=S(c,44);c=S(c,98);window.console.log("http://go/drivedsconfig?protojspb="+encodeURIComponent(c.ca()))});tA("drive.DebugUtil.getLogs",function(){return lA(a.xg())});tA("drive.DebugUtil.printLogs",function(){window.console.log(lA(a.xg()))});tA("drive.DebugUtil.printRequestHistory",function(){a.Of().then(function(c){c.forEach(function(d){window.console.log(C(d,1));window.console.log(C(d,2))})})});
tA("drive.DebugUtil.getState",function(){return a.getState()});var b=Q(a.context.C,uA,58);b&&N(b,1)&&(tA("drive.DebugUtil.getContext",function(){return a.getContext()}),tA("drive.DebugUtil.setOffline",function(c){return void a.zc(c)}))},AA=function(a,b){if(F(b,105)||Xy(b))return Promise.resolve();var c=[a.He.promise];N(b,10)||c.push(a.we.promise);return Promise.all(c).then(function(){for(var d=[],e=q(z(b,pn,44,B())),f=e.next();!f.done;f=e.next())f=f.value,d.push(a.fa().xf(f));if(e=Q(b,vA,98))for(e=
z(e,wA,1,B()).filter(function(g){return N(b,10)?!0:!$k(g,1)}),e=q(e),f=e.next();!f.done;f=e.next())f=f.value,wn(f,mx,3,xA)?d.push(a.sd.get().sync(ck(f,mx,3,xA),Tg(gq(f,2)))):wn(f,pn,4,xA)?d.push(a.fa().xf(ck(f,pn,4,xA))):wn(f,yA,5,xA)?d.push(a.Bd.get().sync(ck(f,yA,5,xA),Tg(gq(f,2)))):wn(f,zA,6,xA)?d.push(a.be.get().sync(ck(f,zA,6,xA),Tg(gq(f,2)))):d.push(Promise.reject(new fn("Unsupported cached query",new Rn)));return Promise.all(d).then(function(){})})},Oga=function(a,b,c){b.length>1024&&(b=b.substring(0,
1024));a=a.toLowerCase();b=b.toLowerCase();if(c===2)return b===a;c=[];if(b.indexOf("-")>=0){for(var d=q(b.match(BA)||[]),e=d.next();!e.done;e=d.next())c.push(e.value);b=b.replace(BA,"")}c.push.apply(c,r(b.split(/\b/)));b=Math.min(c.length,32);for(d=0;d<b;d++){var f=c[d];e=!0;if(f.trim().length===0)continue;f.length>256&&(f=f.substring(0,256));f.replace(/\./g,"").length===0&&(e=!1);f=String(f).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08");e=e?new RegExp("(^|[^\\w]|_)"+f+
"($|[^\\w]|_)|(^|[ ])"+f):new RegExp(f);try{if(!a.match(e))return!1}catch(g){return!1}}return!0},CA=function(a,b){var c=RegExp("[\\\\\u05be\uff0d ./,_+\\-&#><^()]"),d=RegExp("(\\p{Ll})(?=\\p{Lu})|(\\p{Ll}|\\p{Lu})(?=\\p{Nd})|(\\p{Nd})(?=\\p{Ll}|\\p{Lu})","u");if(a.length>b){var e=[].concat(r(a));e.length>b&&(a=e.slice(0,b).join(""))}b=new Set;a=q(a.split(c)||[]);for(c=a.next();!c.done;c=a.next()){c=c.value;e=[];for(var f=c.match(d);f;){f=f.index;if(f===void 0||f===null)break;e.push(c.substring(0,
f+1));c=c.substring(f+1);f=c.match(d)}e.push(c);e=q(e);for(f=e.next();!f.done;f=e.next())b.add(f.value.toLowerCase());b.add(c.toLowerCase())}return b},Pga=function(a,b){b=[].concat(r(CA(b,1024))).filter(function(d){return d.trim().length>0});if(!b.length)return!1;b=q(b);for(var c=b.next();!c.done;c=b.next())if(!a.has(c.value))return!1;return!0},GA=function(a,b){var c=new Uh(x(b,16)+"/open"),d=DA(a);hl(a)&&(d=kl(a));EA(c,"id",d);FA(Ns(b))||EA(c,"authuser",Rq(Ns(b)));R(a,140)&&EA(c,"resourcekey",C(a,
140));return c.toString()},Qga=function(a,b){b=Object.entries(b);return b.length===0?a:a+"?"+b.map(function(c){var d=q(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")},Rga=function(a,b){var c=HA(a.Ha,b.Aa());if(c){let e=c.getItem(),f=Q(e,IA,85);if(f){var d=z(f,nv,2,B()).slice();let g=Oa(d,function(h){return h.getId()===C(b,2)});JA(f,d);g||(d=z(f,nv,3,B()).slice(),Oa(d,function(h){return h.getId()===C(b,2)}),KA(f,d));LA(f,(Zt(f,1)||1)-1);a.Ka([e],c.kb)}}},Sga=function(a,b,c){if(b=HA(a.Ha,
b.Aa())){let e=b.getItem(),f=Q(e,IA,85);if(f){if(c.getType()===1||c.getType()===2){var d=z(f,nv,3,B(tu));d.push(c);d.sort(MA||Wa);KA(f,d)}else d=z(f,nv,2,B(tu)),d.push(c),d.sort(MA||Wa),JA(f,d);LA(f,(Zt(f,1)||0)+1);a.Ka([e],b.kb)}}},Uga=function(a,b){if(Qk(NA)(a)){var c=new OA;var d="/v1/sharedDrives:hide"}else if(Qk(PA)(a))c=new QA,d="/v1/sharedDrives:unhide";else throw Error("Kd");c.g(Sk(a,function(f){return f.J()}));var e={};e["x-goog-fieldmask"]=Wq(b).toString();e["content-type"]="application/json+protobuf";
return{parts:{W:14,T:d,method:"POST",ba:Tga(a),Y:e,body:c.ca()}}},Tga=function(a){if(Jm(a)){let c;return(c=a.G())!=null?c:new P}var b;return(b=a.requests.map(function(c){return c.G()})[0])!=null?b:new P},SA=function(a){fl(a);return RA((new jn).setStatus(1),a)},TA=function(a){return a.map(function(b){var c=b.R();return c&&(c==null?void 0:xs(c))!==0?Es(c,"Driveway response returned failure: "+x(c,2)):SA(Q(b,gl,2))})},Vga=function(a,b){return b.map(function(c,d){var e;d=(e=a.requests[d].J())!=null?e:
"";return c instanceof fn?Mq(d,c):Nq(d,c)})},UA=function(a,b){if(!b.json)throw jo(a,b);Hs(["drive#app"],b.json);return Iu(b.json,a.g())},Xga=function(a,b){var c=new VA;if(U(a,6,B()).length){let d=[];Uca(U(a,6,B()),b.headers).forEach(function(e,f){var g=new WA;e=E(g,1,f).setValue(e);d.push(e)});Nu(c,1,d)}Wga(c,b.json?JSON.stringify(b.json):b.text);c.setStatus(1);return c},cB=function(a,b){if(XA(b)){Nm(a)?(a=tr(a,b,YA),a=z(a,ZA,1,B())):yl(a)?(a=tr(a,b,$A),a=z(a,ZA,1,B())):Il(a)?(a=tr(a,b,aB),a=z(a,
ZA,1,B())):a=[];b=a;a=(new gx).setStatus(1);b=q(b);for(b=b.next();!b.done;b=b.next()){var c=b.value;b=c.R();if(xs(b)!==0)throw Es(b);hp(c,cx,3)&&(b=a,c=c.Qh(),I(b,2,c));break}return a}if(!b.json){if(a instanceof bB)return hx({});throw jo(a,b);}Hs(["drive#workspace"],b.json);return hx(b.json)},dB=function(a){return"kind,defaultAppIds,items("+a+")"},eB=function(a){return"default_app_ids,apps("+a+")"},Zga=function(a,b,c){var d;(d=zo(b))==null||N(d,89);b=new fB;d=Sk(a,function(g){return g.J()});rs(b,
1,d);var e=Sk(a,function(g){return D(g,2)});E(b,2,e[0]);var f=Sk(a,function(g){return D(g,4)||""});f[0]&&E(b,3,f[0]);f={};Et([],d.concat(e),c,f);f["content-type"]="application/json+protobuf";f["x-goog-fieldmask"]="migrate_item_response(id,item_result_status(status(code,message,details),item(id)))";a=Yga(a);return{parts:{W:14,method:"POST",T:"/v1/items:migratetoshareddrive",Y:f,body:b.ca(),ba:a}}},Yga=function(a){if(tl(a))return a.G();var b;return(b=Sk(a,function(c){return c.G()})[0])!=null?b:new P},
$ga=function(a){var b={people:z(a,gB,1,B()).map(function(d){return{profileId:d.getId(),fallbackName:C(d,2)||void 0}})},c={};return{parts:{W:13,method:"POST",T:"/v2/people/"+(a.Qa()?"un":"")+"block",Y:(c["content-type"]="application/json",c),json:b}}},aha=function(a,b){var c={},d=C(a.request,1);a.pageToken&&(c.pageToken=a.pageToken);a.request.Ia()&&(c.maxResults=a.request.Ia());c.fields="kind,nextPageToken,categoryMetadata";Nr(a.request,6,B()).length>0&&(c.labelPackages=Nr(a.request,6,B()).map(function(h){return hB(h)}).join(","));
var e={};Et([],[d],b,e);var f;a=(f=a.request.G())!=null?f:new P;var g;Vt(a,(g=a.g())!=null?g:112);return{parts:{ba:a,T:"files/"+d+"/listCategoryMetadata",Y:e,ja:c}}},bha=function(a,b){var c=C(a,1),d={},e=z(a,iB,2,B());e.length&&(d.addCategoryReferences=e.map(function(f){return{category:C(f,1)}}));e=z(a,iB,3,B());e.length&&(d.removeCategoryReferences=e.map(function(f){return C(f,1)}));e={};return{parts:{ba:a.G(),method:"POST",json:d,T:"drives/"+c+"/changeCategoryReferences",Y:(e["content-type"]="application/json",
e),ja:{fields:Xq(b,[157],!0).toString()}},options:{Ra:!0}}},eha=function(a,b){return{parts:{W:10,T:"/v1/userfeedback",ja:{},Y:{"content-type":"application/json"},method:"POST",ba:null,json:{userFeedback:z(a,jB,1,B()).map(function(c){var d=Q(c,kB,2),e={},f={};f.feedbackType=[cha[ws(d,1)]];e.item=f;e.clientInfo=dha(b);c=ws(c,1);switch(c){case 1:e.clientInfo.scenarioType="DRIVE_PRIORITY";f.itemId=D(d,2);break;case 3:e.clientInfo.scenarioType="QUICK_ACCESS";f.itemId=D(d,2);break;case 4:e.clientInfo.scenarioType=
"QUICK_ACCESS_FOR_SHARED_FILES";f.itemId=D(d,2);break;case 2:e.clientInfo.scenarioType="DRIVE_WORKSPACES";f.itemId=D(d,2);f.childItem=z(d,kB,3,B()).map(function(g){return{itemId:D(g,2)}});break;case 5:e.clientInfo.scenarioType="MINPICK";f.itemId=D(d,2);break;case 8:e.clientInfo.scenarioType="HOMEPAGE_SUGGESTED_ITEMS";f.itemId=D(d,2);break;case 9:e.clientInfo.scenarioType="DRIVE_ORGANIZE_WITHIN_FOLDER";f.itemId=D(d,2);break;default:uc(c)}return e})}},options:{Be:!0}}},dha=function(a){var b={},c=Yx(a)===
9?"WEB_MOBILE":"WEB_DESKTOP";b.applicationType=kr(Yx(a));b.platformType=c;b.languageCode=Ms(Xr(a));b.timeZone=lB(new mB);b.requestType="LIVE_REQUEST";return b},hha=function(a,b){var c=Sk(a,function(f){return f.J()}),d=fha(c),e={};Et([],c,b,e);e["content-type"]="application/json+protobuf";return{parts:{W:14,T:"/v1/items:delete",ba:gha(a),method:"POST",Y:e,body:d.ca()}}},gha=function(a){if(Al(a)){let c;return(c=a.G())!=null?c:new P}var b;return(b=a.requests.map(function(c){return c.G()})[0])!=null?
b:new P},iha=function(a,b){var c=U(a,1,B()).map(function(d){var e=nB(b,d);return e!==null?{id:d,resource_key:{resource_key:e}}:{id:d}});return{parts:{W:8,method:"POST",T:"/v1/exports",json:{archiveFormat:D(a,3),archivePrefix:D(a,2),conversions:void 0,items:c,locale:void 0},Y:{"content-type":"application/json"}}}},MB=function(a,b,c){var d={};if(Vl(a)){lr(Yx(b))&&oB(c,106026);c=[];Cz(a)===2&&(sz(a),c.push({type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:sz(a)[0]}));var e,f,g=(f=(e=Q(a,pB,75))==null?void 0:
z(e,qB,2,B()))!=null?f:[];if(g.length>0)for(d.contextFeature=[],e=q(g),f=e.next();!f.done;f=e.next())f=f.value,(g=f.J())&&c.push({type:"DOCUMENT_CONTEXT",documentContextValue:{id:g,title:f.Fa()||"",mimeType:D(f,3)||"",parentId:D(f,4)||"",rootId:D(f,5)||""}});var h,k;e=(k=(h=Q(a,pB,75))==null?void 0:z(h,qB,3,B()))!=null?k:[];if(e.length>0)for(d.contextFeature=[],h=q(e),k=h.next();!k.done;k=h.next())(k=k.value.J())&&c.push({type:"DRIVE_FOLDER_ID",stringValue:k});c.length&&(d.contextFeature=c);if(hz(a).length){h=
new Set;c=q(hz(a));for(k=c.next();!k.done;k=c.next()){k=C(k.value,1);rB();sB();if(!tB){e=uB();for(let t=vB,w=0;w<t.length;w++){f=t[w];a:if(g=f,!(wB(g)>=0)){if(xB.contains(g)){g=yB(zB(yB(xB.get(g),AB,BB)),AB,BB);break a}throw CB("TypeName "+DB(g)+" is not a valid type.").sa;}if(!(wB(g)>=0))throw CB("TypeName "+DB(g)+" is not a valid type.").sa;g=yB(zB(yB(EB.get(g),FB,GB)),FB,GB);for(let A=g,J=0;J<A.length;J++)e.g.se(A[J],f)}tB=HB(e)}k=yB(tB.get(k),AB,BB);switch(k!=null&&IB.contains(k)?yB(zB(yB(IB.get(k),
JB,KB)),JB,KB):0){case 7:h.add("IMAGE_ALL");break;case 2:h.add("AUDIO_ALL");break;case 14:h.add("VIDEO_ALL");break;case 4:h.add("DRAWING_ALL");break;case 10:h.add("PRESENTATION_ALL");break;case 12:h.add("SPREADSHEET_ALL");break;case 3:h.add("DOCUMENT_ALL");break;case 6:h.add("DRIVE_FORM")}}c=[].concat(r(h));d.itemType=c}}d.maxSuggestions=a.Ia();c={};h=Yx(b)===9?"WEB_MOBILE":"WEB_DESKTOP";c.applicationType=kr(Yx(b));c.platformType=h;c.languageCode=Ms(Xr(b));c.timeZone=lB(new mB);var m;h=((m=a.G())==
null?void 0:ws(m,3))===2?"BACKGROUND_REQUEST":"LIVE_REQUEST";c.requestType=h;m=lr(Yx(b))||Cz(a)!==2?lr(Yx(b))?[266,277,271,272,273].includes(Yx(b))?"MINPICK":"ONE_PICK":"QUICK_ACCESS":"QUICK_ACCESS_FOR_SHARED_DRIVE";c.scenarioType=m;var p;a:{if(Vl(a)&&lr(Yx(b))){let t;if(b=(p=Q(a,pB,75))==null?void 0:(t=Q(p,LB,1))==null?void 0:D(t,1)){p=[{name:b}];break a}}p=void 0}p&&(c.clientTags=(c.clientTags||[]).concat(p));a:{if((a=Q(a,pB,75))&&Ys(a,4))switch(ws(a,4)){case 0:break;case 1:a="GRID_VIEW";break a;
case 2:a="LIST_VIEW";break a;default:throw Error("Pd");}a=void 0}a&&(c.viewType=a);d.clientInfo=c;return{parts:{W:10,T:"/v1/items",ja:{},Y:{"content-type":"application/json"},method:"POST",ba:null,json:d}}},OB=function(a){var b=Xl(a)?x(a,1):U(a,1,B())[0],c=NB.get(a.g());a={};c&&(a.view=c);c={};return{parts:{W:15,T:"/v2/labels/"+b,Y:(c["content-type"]="application/json",c),ja:a}}},sha=function(a,b,c,d){var e={"content-type":"application/json+protobuf"};c=(new (Function.prototype.bind.apply(Uq,[null].concat(r(Vq(c,
c.ed(Nr(a,5,B())).filter(function(f){return f!==218&&f!==235}),14,{ed:!1})))))).toString();e["x-goog-fieldmask"]=ida(b,c,{fields:b.nb(),additionalFields:[],anonymous:Oq(Xr(d)),Pb:Lp(d)});b=jha(kha(lha(),b.fd()),F(a,12)?2:1);d=PB(Gq(d));d.length&&mha(b,Hz(d,function(f){return QB(new RB,f)}));R(a,8)&&nha(b,D(a,8));d=oha(pha(new SB,qha(rha(new TB,Rl(a,2,100)),Wj(a,1))),b);return{parts:{W:14,T:"/v1/changes:list",ba:a.G(),method:"POST",body:d.ca(),ja:{},Y:e},options:{}}},tha=function(a,b,c,d){var e={includeDeleted:!0,
includeSubscribed:!0};e.maxResults=Rl(a,2,100);e.startChangeId=Ug(gq(a,1));c=new (Function.prototype.bind.apply(Uq,[null].concat(r(Vq(c,c.ed(Nr(a,5,B())).filter(function(f){return f!==218&&f!==235}),0,{ed:!1})))));e.fields=hda(b,{fields:b.nb(),additionalFields:br(c),anonymous:Oq(Xr(d)),Pb:Lp(d)});e.appDataFilter="NO_APP_DATA";b=PB(Gq(d));b.length&&(e.spaces=Hz(b,function(f){return UB[f]}).join(","));e.supportsTeamDrives=!0;e.includeCorpusRemovals=!0;e.includeItemsFromAllDrives=!0;C(a,8)&&(e.teamDriveId=
C(a,8));return{parts:{T:"changes",ja:e,ba:a.G()},options:{Ra:!0}}},vha=function(a,b,c,d){var e;(e=zo(b))==null||N(e,88);e=new fB;var f=Sk(a,function(k){return D(k,1)||""});rs(e,1,f);var g=Sk(a,function(k){return D(k,2)||""});g[0]&&E(e,2,g[0]);var h=Sk(a,function(k){return D(k,4)||""});h[0]&&E(e,3,h[0]);b={fields:d.nb(),anonymous:Oq(Xr(b)),Pb:Lp(b)};b="migrate_item_response(id,item_result_status(status(code,message,details),item("+ir(d,b)+")))";d={};Et([],f.concat(g),c,d);d["content-type"]="application/json+protobuf";
d["x-goog-fieldmask"]=b;a=uha(a);return{parts:{W:14,method:"POST",T:"/v1/items:migratetoshareddrive",Y:d,body:e.ca(),ba:a}}},uha=function(a){if(em(a))return a.G();var b;return(b=Sk(a,function(c){return c.G()})[0])!=null?b:new P},wha=function(a,b){var c={"content-type":"application/json"},d=a.Aa(),e="files/"+d+"/updateCategoryMetadata",f,g=(f=a.G())!=null?f:new P;a={categoryMetadata:VB(a).map(function(h){var k=z(h,WB,2,B()).map(function(t){var w,A,J,Z,ha,Da,Ha;return{id:(w=t.J())!=null?w:void 0,userId:C(t,
2),setBooleanValue:(A=F(t,3))!=null?A:void 0,setTextValue:(J=D(t,4))!=null?J:void 0,setTextValues:U(t,6,B(tu)),addTextValues:U(t,5,B(tu)),setLongTextValue:(Z=D(t,7))!=null?Z:void 0,setSelectionValue:(ha=D(t,8))!=null?ha:void 0,setSelectionValues:U(t,10,B(tu)),addSelectionValues:U(t,9,B(tu)),setIntegerValue:Wj(t,11)?Wj(t,11):void 0,setIntegerValues:Array.from(XB(t,13)),addIntegerValues:Array.from(XB(t,12)),setUserValue:(Da=D(t,14))!=null?Da:void 0,setUserValues:U(t,16,B(tu)),addUserValues:U(t,15,B(tu)),
setDateStringValue:(Ha=D(t,17))!=null?Ha:void 0}}),m,p={categoryName:(m=D(h,1))!=null?m:void 0};if(k.length)p.categoryAttributeValueDeltas=k;else if(U(h,4,B()).length)p.revertAttributeIds=U(h,4,B(tu));else if($k(h,3)){let t;p.removeCategory=(t=$k(h,3))!=null?t:void 0}return p})};Et([],[d],b,c);return{parts:{T:e,json:a,method:"POST",ba:g,Y:c,ja:{}}}},yha=function(a){var b=new YB,c=zu(new Au,a.Aa()),d,e=(d=a.G())!=null?d:new P;Us(Vs(e));a=VB(a).map(function(f){return xha(f)});Cu(c,33,ZB,a);Oj(b,1,Au,
c);return{parts:{W:14,T:"/v1/items:update",method:"POST",ba:e,Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"update_item_response(id,item_result_status(item(id),status,metamodels))"},body:b.ca()}}},xha=function(a){var b=z(a,WB,2,B()),c=U(a,4,B()),d=F(a,3);a=zha(new ZB,D(a,1));var e=new $B;b.length>0?Aha(e,Bha(new aC,b.map(function(f){var g=new bC;var h=f.J();g=E(g,1,h);R(f,4)?g.setTextValue(D(f,4)):R(f,8)?g.setSelectionValue(D(f,8)):cC(f,10)!==0?(f=dC(U(f,10,B())),y(g,7,eC,f)):
cC(f,9)!==0?(f=dC(U(f,9,B())),y(g,8,eC,f)):Yc(ak(f,11))!=null?g.setIntegerValue(gq(f,11)):R(f,14)?(f=D(f,14),Dj(g,10,eC,cd(f))):cC(f,16)!==0?(f=dC(U(f,16,B())),y(g,12,eC,f)):cC(f,15)!==0?(f=dC(U(f,15,B())),y(g,13,eC,f)):R(f,17)&&(f=zr(D(f,17)),Dj(g,11,eC,Oc(f)));return g}))):c.length>0?Cha(e,dC(c)):d&&Dj(e,3,fC,d==null?d:yc(d));return I(a,2,e)},Iha=function(a,b,c,d,e){var f=Dha(gC(new YB,Sk(a,function(h){var k=e(hC(h.J()));return iC(h,k)})),Eha(c)),g={};g["x-goog-fieldmask"]=Fha(Zq(c,{fields:c.nb(),
anonymous:Oq(Xr(d)),Pb:Lp(d)}));Gha(Xr(d))&&(g["accept-language"]=Ms(Xr(d)));g["content-type"]="application/json+protobuf";Et(Rk(a).flatMap(function(h){return z(h,Qt,38,B())}),Rk(a).flatMap(function(h){return[h.J()].concat(r(jC(h)),r(kC(h)))}),b,g);b=!!lC(mC(d));d=!!nC(mC(d));d=yp(b,!d);a=Hha(a).yb(Vp(d));Ys(a,1)||Vt(a,912);return{parts:{W:14,T:"/v1/items:update",method:"POST",ba:a,Y:g,body:f.ca()}}},Eha=function(a){var b=new oC;a=a.fd();a.length>0&&Ee(b,1,a,Cc);return b},Hha=function(a){return a instanceof
Ok?(a=a.requests[0])?pC(a):new P:pC(a)},pC=function(a){var b;a=(b=a.G())!=null?b:new P;Us(Vs(a));return a},iC=function(a,b){var c=zu(new Au,a.J()),d=c.setTitle,e=a.Fa();c=d.call(c,ka(et(e))?void 0:e).setDescription(D(a,3));d=F(a,4);c=H(c,4,d);d=F(a,5);c=H(c,5,d);d=gq(a,7);c=O(c,7,d);d=F(a,11);c=H(c,11,d);d=gq(a,12);c=O(c,12,d);d=F(a,16);c=H(c,14,d);d=F(a,40);c=H(c,25,d);d=F(a,45);c=H(c,32,d);d=hC(Q(a,is,25));c=Nu(c,23,d);c=G(c,27,2);d=!!F(a,15);c=H(c,15,d);d=U(a,31,B());c=rs(c,19,d);d=U(a,32,B());
c=rs(c,20,d);d=qC(jC(a));c=E(c,8,d);d=qC(kC(a));c=E(c,9,d);b=rs(c,29,b);c=F(a,24);b=H(b,18,c);c=Xt(a,Yt,43);b=I(b,30,c);a=U(a,44,B());return rs(b,31,a)},hC=function(a){return a?[a]:[]},qC=function(a){return a.length>0?a[0]:void 0},sC=function(a){var b=Array(18);b[0]="0";b[1]="x";for(let c=0;c<8;c++){let d=a.charCodeAt(7-c);b[c*2+2]=rC(d>>4);b[c*2+3]=rC(d&15)}return b.join("")},rC=function(a){return String.fromCharCode(a<10?48+a:87+a)},Kha=function(a,b){b=b===void 0?tC:b;if(!uC){let d;a=(d=a.navigator)==
null?void 0:d.userAgentData;if(!a||typeof a.getHighEntropyValues!=="function"||a.brands&&typeof a.brands.map!=="function")return Promise.reject(Error("de"));Jha((a.brands||[]).map(function(e){var f=new vC;f=E(f,1,e.brand);return E(f,2,e.version)}));typeof a.mobile==="boolean"&&H(wC,2,a.mobile);uC=a.getHighEntropyValues(b)}var c=new Set(b);return uC.then(function(d){var e=wC.clone();c.has("platform")&&E(e,3,d.platform);c.has("platformVersion")&&E(e,4,d.platformVersion);c.has("architecture")&&E(e,5,
d.architecture);c.has("model")&&E(e,6,d.model);c.has("uaFullVersion")&&E(e,7,d.uaFullVersion);return e.ca()}).catch(function(){return wC.ca()})},xC=function(a,b,c){a=new pj(a);c.Da(a);var d=new bi(c);c.Da(d);d.listen(a,"tick",b);a.start()},AC=function(a,b){if(b&&a in b)return a;var c=yC?"Webkit":zC?"Moz":null;return c?(c=c.toLowerCase(),a=c+Lha(a),b===void 0||a in b?a:null):null},EC=function(a){var b=b===void 0?Mha:b;var c=BC(a),d=function(e){e=q(e);e.next();e=CC(e);return b(c,e)};return function(){var e=
ac.apply(0,arguments),f=this||n,g=DC.get(f);g||(g={},DC.set(f,g));f=g;g=[this].concat(r(e));e=d?d(g):g;if(Object.prototype.hasOwnProperty.call(f,e))f=f[e];else{var h=q(g);g=h.next().value;h=CC(h);g=a.apply(g,h);f=f[e]=g}return f}},HC=function(a){oh.call(this);a||(a=FC||(FC=new GC));this.g=a;if(this.h=this.qp())this.j=fA(this.g.g,this.h,nj(this.Jn,this))},JC=function(a,b){IC[a]=b},KC=function(a){Yg.call(this);this.h=a},Nha=function(a){JC("dataserviceworker",function(){return"true"});JC("buildLabel",
function(){return a})},Pha=function(a){Oha(function(b){var c="No error info available.",d;(b=(d=b&&b.error)!=null?d:void 0)&&(c=b.message+"\n"+(b.Os||b.stack||b.name));a.ia("sync.cacheproxy.WorkerMain").Ba(c,b)})},Qha=function(){var a=LC();MC(a);NC(a);n.addEventListener("connect",function(b){b=b.ports[0];b.start();b=new gA(b);OC(a,new PC(b,!0))},!1)},LC=function(){var a=Io(),b=new Rha;Ho(a.log,function(c){var d=QC(b);d=q(d);for(var e=d.next();!e.done;e=d.next())RC(e.value,"2.9",c,function(){})});
return new SC(null,b,4,a)},MC=async function(a){a=await a.K.promise;Nha(a)},NC=async function(a){try{var b=await a.h.promise}catch(e){ok("Could not get worker context",Zn(e),"warning");return}var c=zq(b.C,TC,66),d=D(c,2);d&&(kk.init(),d=new UC(d,void 0,!0),kk.h=new Sha(d),Tha());(d=Q(b.C,uA,58))&&N(d,1)&&Pha(b.S);a.sk(new VC(!!F(c,7)))},Uha=function(a){var b={},c={},d=[],e=[],f=function(k){if(!c[k]){var m=k instanceof WC?k.g:[];c[k]=[].concat(r(m));m.forEach(function(p){b[p]=b[p]||[];b[p].push(k)});
m.length||d.push(k);m.forEach(f)}};for(a.forEach(f);d.length;){let k=d.shift();e.push(k);b[k]&&b[k].forEach(function(m){Na(c[m],k);c[m].length||d.push(m)})}var g={},h=[];e.forEach(function(k){k instanceof WC&&(k=k.h,k==null||g[k]||(g[k]=!0,h.push(k)))});return{xb:e,Gq:h}},ZC=function(){if(!XC){for(let a=0;a<64;a++)YC["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charCodeAt(a)]=a;XC=!0}},$C=function(a){a=a.bj.charCodeAt(a.df++);return YC[a]},aD=function(a){var b=0,c=0;do{var d=
$C(a);b|=(d&31)<<c;c+=5}while(d&32);return b<0?b+4294967296:b},bD=function(a,b){this.g=a;this.h=b},dD=function(a,b){Yg.call(this);this.B=a;this.F=b;this.h=cD?null:[];this.g=cD?null:[];this.A=cD?null:[]},eD=function(){this.F=null},fD=Object.create,gD=Object.defineProperty,hD=globalThis,iD=function(a,b){if(b)a:{var c=hD;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&&gD(c,a,{configurable:!0,writable:!0,value:b})}},jD=function(){function a(){function c(){}
new c;Reflect.construct(c,[],function(){});return new c instanceof c}if(typeof Reflect!="undefined"&&Reflect.construct){if(a())return Reflect.construct;var b=Reflect.construct;return function(c,d,e){c=b(c,d);e&&Reflect.setPrototypeOf(c,e.prototype);return c}}return function(c,d,e){e===void 0&&(e=c);e=fD(e.prototype||Object.prototype);return Function.prototype.apply.call(c,e,d)||e}}(),kD=Object.setPrototypeOf,V=function(a,b){a.prototype=fD(b.prototype);a.prototype.constructor=a;kD(a,b);a.Fb=b.prototype},
lD=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},q=function(a){var b=typeof Symbol!="undefined"&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if(typeof a.length=="number")return{next:lD(a)};throw Error("a`"+String(a));},CC=function(a){for(var b,c=[];!(b=a.next()).done;)c.push(b.value);return c},r=function(a){return a instanceof Array?a:CC(q(a))},nD=function(a){return mD(a,a)},mD=function(a,b){a.raw=b;Object.freeze&&(Object.freeze(a),Object.freeze(b));
return a},oD=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},Vha=Object.assign;iD("Object.assign",function(a){return a||Vha});iD("Symbol",function(a){if(a)return a;var b=function(f,g){this.g=f;gD(this,"description",{configurable:!0,writable:!0,value:g})};b.prototype.toString=function(){return this.g};var c="jscomp_symbol_"+(Math.random()*1E9>>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("b");return new b(c+(f||"")+"_"+d++,f)};return e});
iD("Symbol.iterator",function(a){if(a)return a;a=Symbol("c");gD(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return pD(lD(this))}});return a});iD("Symbol.asyncIterator",function(a){return a?a:Symbol("d")});
var pD=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a},Cba=function(a){this[Symbol.asyncIterator]=function(){return this};this[Symbol.iterator]=function(){return a};this.next=function(b){return Promise.resolve(a.next(b))};this["throw"]=function(b){return new Promise(function(c,d){var e=a["throw"];e!==void 0?c(e.call(a,b)):(c=a["return"],c!==void 0&&c.call(a),d(new TypeError("e")))})};a["return"]!==void 0&&(this["return"]=function(b){return Promise.resolve(a["return"](b))})},
ac=function(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};iD("globalThis",function(a){return a||hD});iD("Reflect",function(a){return a?a:{}});iD("Reflect.construct",function(){return jD});iD("Reflect.setPrototypeOf",function(a){return a?a:kD?function(b,c){try{return kD(b,c),!0}catch(d){return!1}}:null});
iD("Promise",function(a){function b(){this.g=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.h=function(g){if(this.g==null){this.g=[];var h=this;this.j(function(){h.B()})}this.g.push(g)};var d=hD.setTimeout;b.prototype.j=function(g){d(g,0)};b.prototype.B=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(m){this.A(m)}}}this.g=null};b.prototype.A=function(g){this.j(function(){throw g;
})};var e=function(g){this.g=0;this.j=void 0;this.h=[];this.F=!1;var h=this.A();try{g(h.resolve,h.reject)}catch(k){h.reject(k)}};e.prototype.A=function(){function g(m){return function(p){k||(k=!0,m.call(h,p))}}var h=this,k=!1;return{resolve:g(this.V),reject:g(this.B)}};e.prototype.V=function(g){if(g===this)this.B(new TypeError("f"));else if(g instanceof e)this.pa(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.D(g)}};e.prototype.K=
function(g){var h=void 0;try{h=g.then}catch(k){this.B(k);return}typeof h=="function"?this.wa(h,g):this.D(g)};e.prototype.B=function(g){this.O(2,g)};e.prototype.D=function(g){this.O(1,g)};e.prototype.O=function(g,h){if(this.g!=0)throw Error("g`"+g+"`"+h+"`"+this.g);this.g=g;this.j=h;this.g===2&&this.ha();this.H()};e.prototype.ha=function(){var g=this;d(function(){if(g.da()){var h=hD.console;typeof h!=="undefined"&&h.error(g.j)}},1)};e.prototype.da=function(){if(this.F)return!1;var g=hD.CustomEvent,
h=hD.Event,k=hD.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=hD.document.createEvent("CustomEvent"),g.initCustomEvent("unhandledrejection",!1,!0,g));g.promise=this;g.reason=this.j;return k(g)};e.prototype.H=function(){if(this.h!=null){for(var g=0;g<this.h.length;++g)f.h(this.h[g]);this.h=null}};var f=new b;e.prototype.pa=function(g){var h=this.A();g.uh(h.resolve,
h.reject)};e.prototype.wa=function(g,h){var k=this.A();try{g.call(h,k.resolve,k.reject)}catch(m){k.reject(m)}};e.prototype.then=function(g,h){function k(w,A){return typeof w=="function"?function(J){try{m(w(J))}catch(Z){p(Z)}}:A}var m,p,t=new e(function(w,A){m=w;p=A});this.uh(k(g,m),k(h,p));return t};e.prototype.catch=function(g){return this.then(void 0,g)};e.prototype.uh=function(g,h){function k(){switch(m.g){case 1:g(m.j);break;case 2:h(m.j);break;default:throw Error("h`"+m.g);}}var m=this;this.h==
null?f.h(k):this.h.push(k);this.F=!0};e.resolve=c;e.reject=function(g){return new e(function(h,k){k(g)})};e.race=function(g){return new e(function(h,k){for(var m=q(g),p=m.next();!p.done;p=m.next())c(p.value).uh(h,k)})};e.all=function(g){var h=q(g),k=h.next();return k.done?c([]):new e(function(m,p){function t(J){return function(Z){w[J]=Z;A--;A==0&&m(w)}}var w=[],A=0;do w.push(void 0),A++,c(k.value).uh(t(w.length-1),p),k=h.next();while(!k.done)})};return e});
var qD=function(a,b,c){if(a==null)throw new TypeError("i`"+c);if(b instanceof RegExp)throw new TypeError("j`"+c);return a+""};iD("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=qD(this,b,"startsWith"),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}});iD("Object.setPrototypeOf",function(a){return a||kD});iD("Symbol.dispose",function(a){return a?a:Symbol("k")});
var rD=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{Tl:e,v:f}}return{Tl:-1,v:void 0}};iD("Array.prototype.find",function(a){return a?a:function(b,c){return rD(this,b,c).v}});
iD("WeakMap",function(a){function b(){}function c(k){var m=typeof k;return m==="object"&&k!==null||m==="function"}function d(k){if(!oD(k,f)){var m=new b;gD(k,f,{value:m})}}function e(k){var m=Object[k];m&&(Object[k]=function(p){if(p instanceof b)return p;Object.isExtensible(p)&&d(p);return m(p)})}if(function(){if(!a||!Object.seal)return!1;try{var k=Object.seal({}),m=Object.seal({}),p=new a([[k,2],[m,3]]);if(p.get(k)!=2||p.get(m)!=3)return!1;p.delete(k);p.set(m,4);return!p.has(k)&&p.get(m)==4}catch(t){return!1}}())return a;
var f="$jscomp_hidden_"+Math.random();e("freeze");e("preventExtensions");e("seal");var g=0,h=function(k){this.g=(g+=Math.random()+1).toString();if(k){k=q(k);for(var m;!(m=k.next()).done;)m=m.value,this.set(m[0],m[1])}};h.prototype.set=function(k,m){if(!c(k))throw Error("l");d(k);if(!oD(k,f))throw Error("m`"+k);k[f][this.g]=m;return this};h.prototype.get=function(k){return c(k)&&oD(k,f)?k[f][this.g]:void 0};h.prototype.has=function(k){return c(k)&&oD(k,f)&&oD(k[f],this.g)};h.prototype.delete=function(k){return c(k)&&
oD(k,f)&&oD(k[f],this.g)?delete k[f][this.g]:!1};return h});
iD("Map",function(a){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(q([[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 m=k.entries(),p=m.next();if(p.done||p.value[0]!=h||p.value[1]!="s")return!1;p=m.next();return p.done||p.value[0].x!=4||p.value[1]!="t"||!m.next().done?!1:!0}catch(t){return!1}}())return a;var b=new WeakMap,c=function(h){this[0]={};this[1]=
f();this.size=0;if(h){h=q(h);for(var k;!(k=h.next()).done;)k=k.value,this.set(k[0],k[1])}};c.prototype.set=function(h,k){h=h===0?0:h;var m=d(this,h);m.list||(m.list=this[0][m.id]=[]);m.entry?m.entry.value=k:(m.entry={next:this[1],Vd:this[1].Vd,head:this[1],key:h,value:k},m.list.push(m.entry),this[1].Vd.next=m.entry,this[1].Vd=m.entry,this.size++);return this};c.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.Vd.next=
h.entry.next,h.entry.next.Vd=h.entry.Vd,h.entry.head=null,this.size--,!0):!1};c.prototype.clear=function(){this[0]={};this[1]=this[1].Vd=f();this.size=0};c.prototype.has=function(h){return!!d(this,h).entry};c.prototype.get=function(h){return(h=d(this,h).entry)&&h.value};c.prototype.entries=function(){return e(this,function(h){return[h.key,h.value]})};c.prototype.keys=function(){return e(this,function(h){return h.key})};c.prototype.values=function(){return e(this,function(h){return h.value})};c.prototype.forEach=
function(h,k){for(var m=this.entries(),p;!(p=m.next()).done;)p=p.value,h.call(k,p[1],p[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(h,k){var m=k&&typeof k;m=="object"||m=="function"?b.has(k)?m=b.get(k):(m=""+ ++g,b.set(k,m)):m="p_"+k;var p=h[0][m];if(p&&oD(h[0],m))for(h=0;h<p.length;h++){var t=p[h];if(k!==k&&t.key!==t.key||k===t.key)return{id:m,list:p,index:h,entry:t}}return{id:m,list:p,index:-1,entry:void 0}},e=function(h,k){var m=h[1];return pD(function(){if(m){for(;m.head!=
h[1];)m=m.Vd;for(;m.next!=m.head;)return m=m.next,{done:!1,value:k(m)};m=null}return{done:!0,value:void 0}})},f=function(){var h={};return h.Vd=h.next=h.head=h},g=0;return c});
iD("Set",function(a){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(q([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;var b=function(c){this.g=new Map;if(c){c=
q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};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});iD("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)oD(b,d)&&c.push(b[d]);return c}});iD("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});
iD("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}});iD("String.prototype.includes",function(a){return a?a:function(b,c){return qD(this,b,"includes").indexOf(b,c||0)!==-1}});
iD("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};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}});iD("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)oD(b,d)&&c.push([d,b[d]]);return c}});
iD("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}});iD("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});iD("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991});iD("Number.isInteger",function(a){return a?a:function(b){return Number.isFinite(b)?b===Math.floor(b):!1}});iD("Number.isSafeInteger",function(a){return a?a:function(b){return Number.isInteger(b)&&Math.abs(b)<=Number.MAX_SAFE_INTEGER}});
iD("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=qD(this,b,"endsWith");c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});iD("Array.prototype.entries",function(a){return a?a:function(){return this[Symbol.iterator]()}});iD("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}});
iD("Number.isNaN",function(a){return a?a:function(b){return typeof b==="number"&&isNaN(b)}});iD("Array.prototype.keys",function(a){return a?a:function(){return this[Symbol.iterator]()}});iD("Array.prototype.values",function(a){return a?a:function(){return this[Symbol.iterator]()}});
iD("Object.fromEntries",function(a){return a?a:function(b){var c={};if(!(Symbol.iterator in b))throw new TypeError("n`"+b);b=b[Symbol.iterator].call(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;if(Object(d)!==d)throw new TypeError("o");c[d[0]]=d[1]}return c}});iD("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}});
iD("String.fromCodePoint",function(a){return a?a:function(b){for(var c="",d=0;d<arguments.length;d++){var e=Number(arguments[d]);if(e<0||e>1114111||e!==Math.floor(e))throw new RangeError("p`"+e);e<=65535?c+=String.fromCharCode(e):(e-=65536,c+=String.fromCharCode(e>>>10&1023|55296),c+=String.fromCharCode(e&1023|56320))}return c}});
iD("String.prototype.repeat",function(a){return a?a:function(b){var c=qD(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("q");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});iD("Array.prototype.findIndex",function(a){return a?a:function(b,c){return rD(this,b,c).Tl}});iD("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});
iD("Array.of",function(a){return a?a:function(b){return Array.from(arguments)}});iD("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;})})}});
iD("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});iD("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}});
iD("Reflect.getOwnPropertyDescriptor",function(a){return a||Object.getOwnPropertyDescriptor});iD("Reflect.getPrototypeOf",function(a){return a||Object.getPrototypeOf});iD("Reflect.get",function(a){return a?a:function(b,c,d){if(arguments.length<=2)return b[c];var e;a:{for(e=b;e;){var f=Reflect.getOwnPropertyDescriptor(e,c);if(f){e=f;break a}e=Reflect.getPrototypeOf(e)}e=void 0}if(e)return e.get?e.get.call(d):e.value}});
iD("String.prototype.padStart",function(a){return a?a:function(b,c){var d=qD(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});var sD=sD||{},n=this||self,uD=function(a,b){var c=tD("WIZ_global_data.oxN3nb");a=c&&c[a];return a!=null?a:b},vD=n._F_toggles||[],wD=function(){};wD.get=function(){return null};
var tD=function(a,b){a=a.split(".");b=b||n;for(var c=0;c<a.length;c++)if(b=b[a[c]],b==null)return null;return b},xc=function(a){var b=typeof a;return b!="object"?b:a?Array.isArray(a)?"array":b:"null"},Qa=function(a){var b=xc(a);return b=="array"||b=="object"&&typeof a.length=="number"},qr=function(a){var b=typeof a;return b=="object"&&a!=null||b=="function"},BC=function(a){return Object.prototype.hasOwnProperty.call(a,xD)&&a[xD]||(a[xD]=++Wha)},Xha=function(a){a!==null&&"removeAttribute"in a&&a.removeAttribute(xD);
try{delete a[xD]}catch(b){}},xD="closure_uid_"+(Math.random()*1E9>>>0),Wha=0,Yha=function(a,b,c){return a.call.apply(a.bind,arguments)},nj=function(a,b,c){nj=Yha;return nj.apply(null,arguments)},tj=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},oj=function(){return Date.now()},Zha=function(a){(0,eval)(a)},tA=function(a,b){a=a.split(".");for(var c=n,d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&
c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Jd=function(a){return a},yD=function(a,b){function c(){}c.prototype=b.prototype;a.Fb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.ls=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)}};yD(aa,Error);aa.prototype.name="CustomError";var FC;var zD=!0,AD,ba;var BD=!!(vD[0]>>25&1),$ha=!!(vD[0]>>20&1),aia=!!(vD[0]>>27&1),bia=!!(vD[0]&8192),cia=!!(vD[0]>>19&1),dia=!!(vD[0]&256),eia=!!(vD[0]>>18&1);var pa=BD?aia:uD(610401301,!1),ce=BD?$ha||!bia:uD(748402147,!0),cD=BD?cia:uD(919444824,!1),fia=BD?dia:uD(931468047,!1),CD=BD?eia:uD(683749201,!1);var qa,DD=n.navigator;qa=DD?DD.userAgentData||null:null;var Ia=function(a,b){return Array.prototype.indexOf.call(a,b,void 0)},$a=function(a,b,c){Array.prototype.forEach.call(a,b,c)},Hz=function(a,b){return Array.prototype.map.call(a,b,void 0)},ED=function(a,b){return Array.prototype.some.call(a,b,void 0)};var FD=function(a){FD[" "](a);return a};FD[" "]=function(){};var gia=va(),GD=ua()?!1:ta("Trident")||ta("MSIE"),hia=ta("Edge"),zC=ta("Gecko")&&!(ma(oa().toLowerCase(),"webkit")&&!ta("Edge"))&&!(ta("Trident")||ta("MSIE"))&&!ta("Edge"),yC=ma(oa().toLowerCase(),"webkit")&&!ta("Edge");yC&&ta("Mobile");ya()||ta("Macintosh");ya()||ta("Windows");(ya()?qa.platform==="Linux":ta("Linux"))||ya()||ta("CrOS");ya()||ta("Android");za();ta("iPad");ta("iPod");Aa();ma(oa().toLowerCase(),"kaios");var HD;
a:{let a="",b=function(){var c=oa();if(zC)return/rv:([^\);]+)(\)|;)/.exec(c);if(hia)return/Edge\/([\d\.]+)/.exec(c);if(GD)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(c);if(yC)return/WebKit\/(\S+)/.exec(c);if(gia)return/(?:Version)[ \/]?(\S+)/.exec(c)}();b&&(a=b?b[1]:"");if(GD){var ID;let c=n.document;ID=c?c.documentMode:void 0;if(ID!=null&&ID>parseFloat(a)){HD=String(ID);break a}}HD=a}var iia=HD;var jia=wa();za()||ta("iPod");ta("iPad");!ta("Android")||xa()||wa()||va()||ta("Silk");xa();!ta("Safari")||xa()||(ua()?0:ta("Coast"))||va()||(ua()?0:ta("Edge"))||(ua()?sa("Microsoft Edge"):ta("Edg/"))||(ua()?sa("Opera"):ta("OPR"))||wa()||ta("Silk")||ta("Android")||Aa();var bb={},gb=null;var hb=/[-_.]/g,gaa={"-":"+",_:"/",".":"="},zb={};var yb=function(a,b){if(b!==zb)throw Error("w");this.g=a;if(a!=null&&a.length===0)throw Error("v");},xb=function(){return JD||(JD=new yb(null,zb))},Ud=function(a){var b=a.g;if(b==null)a="";else if(typeof b==="string")a=b;else{let c="",d=0,e=b.length-10240;for(;d<e;)c+=String.fromCharCode.apply(null,b.subarray(d,d+=10240));c+=String.fromCharCode.apply(null,d?b.subarray(d):b);a=a.g=btoa(c)}return a};yb.prototype.ib=function(){return this.g==null};
var KD=function(a,b){if(!a.g||!b.g||a.g===b.g)return a.g===b.g;if(typeof a.g==="string"&&typeof b.g==="string"){var c=a.g;let d=b.g;b.g.length>a.g.length&&(d=a.g,c=b.g);if(c.lastIndexOf(d,0)!==0)return!1;for(b=d.length;b<c.length;b++)if(c[b]!=="=")return!1;return!0}c=Te(a);b=Te(b);return kb(c,b)},Te=function(a){if(zb!==zb)throw Error("w");var b=a.g;b=b==null||jb(b)?b:typeof b==="string"?ib(b):null;return b==null?b:a.g=b},td=function(a,b){if(typeof b==="string")b=b?new yb(b,zb):xb();else if(b instanceof
Uint8Array)b=new yb(b,zb);else if(!(b instanceof yb))return!1;return KD(a,b)},JD;var ob=void 0;var fd=qb(),Ke=qb(),te=qb(),ff=qb(),fg=qb(),Kd=qb(),kia=qb(),Baa=qb(),Yf=qb(),Iaa=qb(),Bb=qb("m_m",!0),Faa=qb(),LD=qb();var rb=qb("jas",!0),re,MD=[];MD[rb]=7;re=Object.freeze(MD);var Eb={},nf={},Gb={},ND=function(a,b,c){this.g=a;this.h=b;this.j=c};ND.prototype.next=function(){var a=this.g.next();a.done||(a.value=this.h.call(this.j,a.value));return a};ND.prototype[Symbol.iterator]=function(){return this};var tu=Object.freeze({}),OD=Object.freeze({}),Pb={};var iaa=void 0,Eu=Sb(function(a){return a!==null&&a!==void 0});var ic=Sb(function(a){return typeof a==="number"}),hc=Sb(function(a){return typeof a==="string"}),PD=Sb(function(a){return a.trim()!==""}),QD=Sb(function(a){return typeof a==="boolean"}),ro=Sb(function(a){return a===null}),Rt=Sb(function(a){return a===void 0}),lia=Sb(function(a){return a==null}),Zo=Sb(function(a){return typeof a==="function"}),mia=Tb(Date),jaa=Sb(function(a){return!!a&&(typeof a==="object"||typeof a==="function")}),bc=Zb(),laa=Zb();var Rd=Sb(function(a){return a>=nia&&a<=oia}),nia=BigInt(Number.MIN_SAFE_INTEGER),oia=BigInt(Number.MAX_SAFE_INTEGER);var kc=0,lc=0,RD;var Hc=typeof BigInt==="function"?BigInt.asIntN:void 0,Wc=typeof BigInt==="function"?BigInt.asUintN:void 0,Qc=Number.isSafeInteger,Ac=Number.isFinite,Pc=Math.trunc,paa=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Gaa={};var ld=Jd(fg);var Aaa={},SD=function(){var a=function(){return jD(Map,[],this.constructor)};V(a,Map);return a}(),Hd=function(a,b,c,d){c=c===void 0?Ad:c;d=d===void 0?Ad:d;var e=SD.call(this)||this;e.Ld=a[rb]|0;e.Ee=b;e.Gg=c;e.Ak=e.Ee?waa:d;for(let f=0;f<a.length;f++){let g=a[f],h=c(g[0],!1,!0),k=g[1];b?k===void 0&&(k=null):k=d(g[1],!1,!0,void 0,void 0,e.Ld);SD.prototype.set.call(e,h,k)}return e};V(Hd,SD);
var TD=function(a){if(a.Ld&2)throw Error("B");},Vd=function(a,b){return vb(Array.from(SD.prototype.entries.call(a),b))};l=Hd.prototype;l.clear=function(){TD(this);SD.prototype.clear.call(this)};l.delete=function(a){TD(this);return SD.prototype.delete.call(this,this.Gg(a,!0,!1))};l.entries=function(){if(this.Ee){var a=SD.prototype.keys.call(this);a=new ND(a,zaa,this)}else a=SD.prototype.entries.call(this);return a};
l.values=function(){if(this.Ee){var a=SD.prototype.keys.call(this);a=new ND(a,Hd.prototype.get,this)}else a=SD.prototype.values.call(this);return a};l.forEach=function(a,b){this.Ee?SD.prototype.forEach.call(this,function(c,d,e){a.call(b,e.get(d),d,e)}):SD.prototype.forEach.call(this,a,b)};l.set=function(a,b){TD(this);a=this.Gg(a,!0,!1);return a==null?this:b==null?(SD.prototype.delete.call(this,a),this):SD.prototype.set.call(this,a,this.Ak(b,!0,!0,this.Ee,!1,this.Ld))};
l.has=function(a){return SD.prototype.has.call(this,this.Gg(a,!1,!1))};l.get=function(a){a=this.Gg(a,!1,!1);var b=SD.prototype.get.call(this,a);if(b!==void 0){var c=this.Ee;return c?(c=this.Ak(b,!1,!0,c,this.No,this.Ld),c!==b&&SD.prototype.set.call(this,a,c),c):b}};var sd=function(a,b,c){return b instanceof Hd?xaa(a,b,c):yaa(a,b,c)};Hd.prototype[Symbol.iterator]=function(){return this.entries()};Hd.prototype.toJSON=void 0;Hd.prototype.Zp=nf;var Dd;var Od=function(){},Md=function(a,b){for(let c in a)!isNaN(c)&&b(a,+c,a[c])},Daa=function(a){var b=new Od;Md(a,function(c,d,e){b[d]=tc(e)});b.pk=a.pk;return b},pia={Xq:!0};var Nd;var Yd,Zd;var UD=jc(0),VD={},ak=function(a,b,c,d,e){b=ye(a.o,b,c,e);if(b!==null||d&&a.H!==Gb)return b},ye=function(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}},S=function(a,b,c){ne(a);var d=a.o;pe(d,d[rb]|0,b,c);return a},hp=function(a,b,c){a=
a.o;return Oe(a,a[rb]|0,b,c)!==void 0},wn=function(a,b,c,d){var e=a.o;return Oe(e,e[rb]|0,b,Vj(a,d,c))!==void 0},WD=function(a,b,c){var d=a.o;return Pe(a,d,d[rb]|0,b,c,3).length},XD=function(a,b,c,d,e){Re(a,b,c,e,d,1);return a},B=function(a){return a===tu?2:4},Dj=function(a,b,c,d){ne(a);var e=a.o,f=e[rb]|0;if(d==null){let g=Le(e);if(Me(g,e,f,c)===b)g.set(c,0);else return a}else f=Ne(e,f,c,b);pe(e,f,b,d);return a},YD=function(a,b,c,d){var e=a[rb]|0,f=Qb(e);e=Ne(a,e,c,b,f);pe(a,e,b,d,f)},Vj=function(a,
b,c){return Tj(a,b)===c?c:-1},Tj=function(a,b,c){a=a.o;return Me(Le(a),a,void 0,b,c)},Sp=function(a,b,c){ne(a);a=a.o;var d=a[rb]|0,e=ye(a,c),f=void 0===OD;b=hd(e,b,!f,d);if(!f||b)return b=Bd(b),e!==b&&(d=pe(a,d,c,b),oe(a,d)),b},ZD=function(a,b,c){var d=a[rb]|0,e=Qb(d),f=ye(a,c,e);if(Fb(f)){if(!Hb(f))return me(f),f.o;var g=f.o}else Array.isArray(f)&&(g=f);if(g){let h=g[rb]|0;h&2&&(g=fe(g,h))}g=be(g,b);g!==f&&pe(a,d,c,g,e);return g},zq=function(a,b,c){a=a.o;return Oe(a,a[rb]|0,b,c)||b[fd]||(b[fd]=gd(b))},
Xt=function(a,b,c){a=a.o;return Oe(a,a[rb]|0,b,c)},Q=function(a,b,c,d){var e=a.o,f=e[rb]|0;b=Oe(e,f,b,c,d);if(b==null)return b;f=e[rb]|0;if(!Hb(a,f)){let g=Bd(b);g!==b&&(me(a)&&(e=a.o,f=e[rb]|0),b=g,f=pe(e,f,c,b,d),oe(e,f))}return b},$D=function(a,b,c){var d=a.o;return Pe(a,d,d[rb]|0,b,c,1)},bE=function(a,b,c){return zq(a,b,Vj(a,aE,c))},z=function(a,b,c,d){var e=a.o;return Pe(a,e,e[rb]|0,b,c,d,void 0,!1,!0)},I=function(a,b,c){c=Qe(c);S(a,b,c);c&&!Hb(c)&&oe(a.o);return a},y=function(a,b,c,d){d=Qe(d);
Dj(a,b,c,d);d&&!Hb(d)&&oe(a.o);return a},Nu=function(a,b,c){ne(a);var d=a.o,e=d[rb]|0;if(c==null)return pe(d,e,b),a;var f=c===re?7:c[rb]|0,g=f,h=xe(f),k=h||Object.isFrozen(c),m=!0,p=!0;for(let w=0;w<c.length;w++){var t=c[w];h||(t=Hb(t),m&&(m=!t),p&&(p=t))}h||(f=m?13:5,f=p?f&-4097:f|4096);k&&f===g||(c=tc(c),g=0,f=ue(f,e));f!==g&&(c[rb]=f);e=pe(d,e,b,c);2&f||!(4096&f||16&f)||oe(d,e);return a},Oj=function(a,b,c,d,e){Re(a,b,c,d,e);return a},Cu=function(a,b,c,d){ne(a);var e=a.o;b=Pe(a,e,e[rb]|0,c,b,2,
void 0,!0);var f=c=0;if(Array.isArray(d)){var g=d.length;for(let k=0;k<g;k++){var h=d[k];b.push(h);(h=Hb(h))&&!c++&&(b[rb]&=-9);h||f++||sb(b,4096)}}else for(d=q(d),g=d.next();!g.done;g=d.next())g=g.value,b.push(g),(g=Hb(g))&&!c++&&(b[rb]&=-9),g||f++||sb(b,4096);f&&oe(e);return a},Wj=function(a,b){return Yc(ak(a,b,void 0,void 0,Zc))},gq=function(a,b,c){return ak(a,b,void 0,c,Zc)},XB=function(a,b){return we(a,b,Laa,1,void 0,512)},F=function(a,b,c,d){return zc(ak(a,b,c,d))},Aq=function(a,b,c,d){return Fc(ak(a,
b,c,d))},D=function(a,b,c,d){return dd(ak(a,b,c,d))},ws=function(a,b,c,d){return Dc(ak(a,b,c,d))},N=function(a,b,c){c=c===void 0?!1:c;var d;return(d=F(a,b))!=null?d:c},Rl=function(a,b,c){c=c===void 0?0:c;var d;return(d=Aq(a,b))!=null?d:c},Cq=function(a,b,c){c=c===void 0?UD:c;var d;return(d=gq(a,b))!=null?d:c},Yj=function(a,b){var c=c===void 0?UD:c;a=ak(a,b,void 0,void 0,saa);return a!=null?a:c},x=function(a,b,c){c=c===void 0?"":c;var d;return(d=D(a,b))!=null?d:c},bl=function(a,b,c){c=c===void 0?0:
c;var d;return(d=ws(a,b))!=null?d:c},Bt=function(a,b){var c=c===void 0?"0":c;var d;return(d=Wj(a,b))!=null?d:c},cE=function(a,b){a=we(a,3,Zc,3,!0,1024);Mb(a,b);return a[b]},U=function(a,b,c,d,e){return we(a,b,dd,c,e,void 0,d)},dE=function(a,b,c){a=U(a,b,3,void 0,!0);Mb(a,c);return a[c]},cC=function(a,b){return U(a,b,3,void 0,!0).length},Nr=function(a,b,c,d,e){return we(a,b,Dc,c,e,void 0,d)},eE=function(a,b,c){a=Nr(a,b,3,void 0,!0);Mb(a,c);return a[c]},ck=function(a,b,c,d){return Q(a,b,Vj(a,d,c),void 0)},
fE=function(a){var b=Vj(a,qia,3);return F(a,b)},$k=function(a,b){return F(a,b,void 0,VD)},Zt=function(a,b){return Aq(a,b,void 0,VD)},Zj=function(a,b){return D(a,b)},C=function(a,b){return D(a,b,void 0,VD)},am=function(a,b){return ws(a,b,void 0,VD)},H=function(a,b,c){return S(a,b,c==null?c:yc(c))},gE=function(a,b,c){Ge(a,b,c==null?c:yc(c),!1)},K=function(a,b,c){return S(a,b,c==null?c:Ec(c))},ey=function(a,b,c){return Ge(a,b,c==null?c:Ec(c),0)},O=function(a,b,c){return S(a,b,Oc(c))},hE=function(a,b,
c){return S(a,b,Oc(c))},Kw=function(a,b,c){return Ge(a,b,c==null?c:vc(c),0)},E=function(a,b,c){return S(a,b,cd(c))},iE=function(a,b,c){return Ge(a,b,cd(c),"")},G=function(a,b,c){return S(a,b,c==null?c:Cc(c))},jE=function(a,b,c){return Ge(a,b,c==null?c:Cc(c),0)},kE=function(a,b,c){return He(a,b,Ec,c,void 0,Fc)},rs=function(a,b,c){return Ee(a,b,c,bd)},lE=function(a,b,c){return He(a,b,bd,void 0,c,dd,void 0,1,!1,!0)},jq=function(a,b,c){He(a,b,Cc,c,void 0,Dc)},T=function(a,b){return F(a,b)!=null},mE=function(a,
b){return Aq(a,b)!=null},nE=function(a,b){a=ak(a,b,void 0,void 0,Zc);a!=null&&(typeof a==="bigint"?Rd(a)?a=Number(a):(a=Hc(64,a),a=Rd(a)?Number(a):String(a)):a=Bc(a)?typeof a==="number"?Lc(a):Gc(a):void 0);return a!=null},R=function(a,b){return D(a,b)!=null},Ys=function(a,b){return ws(a,b)!=null};var Se=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.g=b};var oE=function(a,b,c,d){this.h=null;this.D=!1;this.B=null;this.g=this.j=this.A=0;this.init(a,b,c,d)};l=oE.prototype;l.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.qh===void 0?!1:e.qh;e=e.zi===void 0?!1:e.zi;this.qh=d;this.zi=e;a&&(a=Ue(a,this.zi),this.h=a.buffer,this.D=a.g,this.B=null,this.A=b||0,this.j=c!==void 0?this.A+c:this.h.length,this.g=this.A)};l.clear=function(){this.h=null;this.D=!1;this.B=null;this.g=this.j=this.A=0;this.qh=!1};l.setEnd=function(a){this.j=a};
l.reset=function(){this.g=this.A};l.advance=function(a){pE(this,this.g+a)};
var xg=function(a){var b=0,c=0,d=0,e=a.h,f=a.g;do{var g=e[f++];b|=(g&127)<<d;d+=7}while(d<32&&g&128);if(d>32)for(c|=(g&127)>>4,d=3;d<32&&g&128;d+=7)g=e[f++],c|=(g&127)<<d;pE(a,f);if(!(g&128))return jc(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(c>>>0))<<BigInt(32))+BigInt.asUintN(32,BigInt(b>>>0))));throw Error();},pE=function(a,b){a.g=b;if(b>a.j)throw Error();},Cg=function(a){var b=a.h,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&
127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Error();pE(a,c);return e},cba=function(a){return xg(a)},qE=function(a){var b=a.h,c=a.g,d=b[c],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0},rE=function(a){for(var b=0,c=a.g,d=c+10,e=a.h;c<d;){let f=e[c++];b|=f;if((f&128)===0)return pE(a,c),!!(b&127)}throw Error();},eba=function(a){return Cg(a)},sE=function(a,b){if(b<0)throw Error();var c=a.g;b=c+b;if(b>a.j)throw Error();
a.g=b;return c},Pf=function(a,b){if(b==0)return xb();var c=sE(a,b);a.qh&&a.D?c=a.h.subarray(c,c+b):(a=a.h,b=c+b,c=c===b?new Uint8Array(0):a.slice(c,b));return Ab(c)},tE=[];var Rf=0,vE=function(a,b,c,d){if(tE.length){let e=tE.pop();e.init(a,b,c,d);a=e}else a=new oE(a,b,c,d);this.g=a;this.A=this.g.g;this.h=this.j=-1;uE(this,d)},uE=function(a,b){b=b===void 0?{}:b;a.kj=b.kj===void 0?!1:b.kj},Sf=function(a,b,c,d){if(wE.length){let e=wE.pop();uE(e,d);e.g.init(a,b,c,d);return e}return new vE(a,b,c,d)},Tf=function(a){a.g.clear();a.j=-1;a.h=-1;wE.length<100&&wE.push(a)};vE.prototype.reset=function(){this.g.reset();this.A=this.g.g;this.h=this.j=-1};vE.prototype.advance=function(a){this.g.advance(a)};
var Nf=function(a){var b=a.g;if(b.g==b.j)return!1;a.A=a.g.g;var c=Cg(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error();if(b<1)throw Error();a.j=b;a.h=c;return!0},Mf=function(){if(Rf>=100)throw new SyntaxError;Rf++},Of=function(a){try{switch(a.h){case 0:a.h!=0?Of(a):rE(a.g);break;case 1:a.g.advance(8);break;case 2:if(a.h!=2)Of(a);else{var b=Cg(a.g)>>>0;a.g.advance(b)}break;case 5:a.g.advance(4);break;case 3:Mf();let c=a.j;try{do{if(!Nf(a))throw Error();if(a.h==4){if(a.j!=c)throw Error();break}Of(a)}while(1)}catch(d){if(d instanceof
RangeError)throw new SyntaxError;throw d;}finally{Rf>0&&Rf--}break;default:throw Error();}}catch(c){if(c instanceof RangeError)throw new SyntaxError;throw c;}},xE=function(a,b,c){var d=a.g.j,e=Cg(a.g)>>>0;e=a.g.g+e;var f=e-d;f<=0&&(a.g.setEnd(e),c(b,a,void 0,void 0,void 0),f=e-a.g.g);if(f)throw Error();a.g.g=e;a.g.setEnd(d);return b},yE=function(a){var b=Cg(a.g)>>>0,c=a.g;a=sE(c,b);var d=c.h;(c=AD)||(c=AD=new TextDecoder("utf-8",{fatal:!0}));b=a+b;d=a===0&&b===d.length?d:d.subarray(a,b);try{var e=
c.decode(d)}catch(f){if(zD===void 0){try{c.decode(new Uint8Array([128]))}catch(g){}try{c.decode(new Uint8Array([97])),zD=!0}catch(g){zD=!1}}!zD&&(AD=void 0);throw f;}return e},Bg=function(a){var b=Cg(a.g)>>>0;return Pf(a.g,b)},zg=function(a,b,c){var d=Cg(a.g)>>>0;for(d=a.g.g+d;a.g.g<d;)c.push(b(a.g))},wE=[];var zE=function(a,b){this.lo=a>>>0;this.hi=b>>>0},BE=function(a){if(!a)return AE||(AE=new zE(0,0));if(!/^\d+$/.test(a))return null;sc(a);return new zE(kc,lc)},ria=function(a){return new zE(a&4294967295,Math.floor(a/4294967296))},AE,CE=function(a,b){this.lo=a>>>0;this.hi=b>>>0},lg=function(a){if(!a)return DE||(DE=new CE(0,0));if(!/^-?\d+$/.test(a))return null;sc(a);return new CE(kc,lc)},sia=function(a){return new CE(a&4294967295,Math.floor(a/4294967296))},DE,Ze,$e,af,Ye,Xe,Ve,We;var EE=function(){this.g=[]};EE.prototype.length=function(){return this.g.length};EE.prototype.end=function(){var a=this.g;this.g=[];return a};
var FE=function(a,b,c){for(;c>0||b>127;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},GE=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},qg=function(a,b){if(b>=0)GE(a,b);else{for(let c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},HE=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};var IE=function(){this.j=[];this.h=0;this.g=new EE},Zf=function(a,b){b.length!==0&&(a.j.push(b),a.h+=b.length)},JE=function(a,b){pg(a,b,2);b=a.g.end();Zf(a,b);b.push(a.h);return b},KE=function(a,b){var c=b.pop();for(c=a.h+a.g.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.h++;b.push(c);a.h++},LE=function(a){Zf(a,a.g.end());var b=new Uint8Array(a.h),c=a.j,d=c.length,e=0;for(let f=0;f<d;f++){let g=c[f];b.set(g,e);e+=g.length}a.j=[b];return b},pg=function(a,b,c){GE(a.g,b*8+c)},mg=function(a,b,c){if(c!=
null)switch(pg(a,b,0),typeof c){case "number":a=a.g;nc(c);FE(a,kc,lc);break;case "bigint":c=bf(c,CE,sia);FE(a.g,c.lo,c.hi);break;default:c=lg(c),FE(a.g,c.lo,c.hi)}},ME=function(a,b,c){c!=null&&(c=parseInt(c,10),pg(a,b,0),qg(a.g,c))},tg=function(a,b,c){pg(a,b,2);GE(a.g,c.length);Zf(a,a.g.end());Zf(a,c)},sf=function(a,b,c,d){c!=null&&(b=JE(a,b),d(c,a),KE(a,b))};var ig=cf(),pf=cf(),NE=cf(),OE=cf(),PE=cf(),tia=cf(),QE=cf(),uia=cf(),via=cf(),wia=cf(),RE=cf(),SE=cf();var df,Naa=hf("1"),Oaa=hf("0");var v=function(a,b,c){this.o=u(a,b,c)};v.prototype.toJSON=function(){return Xd(this)};v.prototype.ca=function(a){return JSON.stringify(Xd(this,a))};var Og=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("L");return new a(wb(b))},Np=function(a,b){return a===b||a==null&&b==null||!(!a||!b)&&a instanceof b.constructor&&pd(a,b)};v.prototype.clone=function(){var a=this.o,b=a[rb]|0;return ke(this,a,b)?ge(this,a,!0):new this.constructor(fe(a,b,!1))};var Xs=function(a){return Bd(a)};
v.prototype[Bb]=Eb;v.prototype.toString=function(){return this.o.toString()};var qf=function(a,b,c,d){this.g=a;this.h=b;this.Di=c;a=Jd(pf);this.j=!!a&&d===a||!1},Paa=rf(function(a,b,c,d,e){if(a.h!==2)return!1;xE(a,ZD(b,d,c),e);return!0},uf),Qaa=rf(function(a,b,c,d,e){if(a.h!==2)return!1;xE(a,ZD(b,d,c),e);return!0},uf),Yaa=Symbol(),If=Symbol(),Lf=Symbol(),Wf=Symbol(),Cf=Symbol(),Qf=Symbol(),vf,wf;var Af=function(a){this.pl=void 0;this.Td=a},vd=function(a){return(a=a.Wf)?a:Hf()},wd=function(a){return(a=a.Rj)?a:Hf()},zd=function(a,b){var c=a[b];if(c!=null)return Array.isArray(c)?a[b]=Ff(c):c;c=a.extensions;if(c!=null&&(c=c[b],c!=null)){c=zf(c);var d;!c[0].Di||(d=a.Wf)!=null&&d.has(b)||(a.Wf||(a.Wf=new Set)).add(b);d=c[1];if(d!=null)return a[b]=Ff(d)}},Ef,Df,Gf;var gg=Symbol(),Gg=function(a,b){var c=new IE;Xf(a.o,c,Uf(b));return LE(c)},xia=hg(dba,function(a,b,c){if(b!=null){if(b instanceof v){let d=b.Ns;d?(b=d(b),b!=null&&tg(a,c,Ue(b,!0).buffer)):pb(Yf,3);return}if(Array.isArray(b)){pb(Yf,3);return}}wg(a,b,c)},RE),yia=rf(function(a,b,c,d,e){if(a.h!==2)return!1;a=xE(a,be([void 0,void 0],d),e);a=tc(a);d=b[rb]|0;e=Qb(d);if(d&2)throw Error();var f=ye(b,c,e);if(f instanceof Hd)(f.Ld&2)!=0?(f=Vd(f),f.push(a),pe(b,d,c,f,e)):(b=f,c=b.Gg(a[0],!1,!0),a=a[1],a=b.Ee?
a===void 0?null:a:b.Ak(a,!1,!0,void 0,!1,b.Ld),SD.prototype.set.call(b,c,a));else if(Array.isArray(f)){var g=f[rb]|0;if(!(g&8192)){var h=g|=8192;f[rb]=h}g&2&&(f=Ae(f),pe(b,d,c,f,e));f.push(a)}else pe(b,d,c,vb([a]),e);return!0},function(a,b,c,d,e){if(b instanceof Hd)b.forEach(function(f,g){sf(a,c,be([g,f],d),e)});else if(Array.isArray(b)){for(let f=0;f<b.length;f++){let g=b[f];Array.isArray(g)&&sf(a,c,be(g,d),e)}vb(b)}}),TE=hg(function(a,b,c){if(a.h!==1)return!1;a=a.g;var d=a.B;d||(d=a.h,d=a.B=new DataView(d.buffer,
d.byteOffset,d.byteLength));d=d.getFloat64(a.g,!0);a.advance(8);kg(b,c,d);return!0},function(a,b,c){b=wc(b);b!=null&&(pg(a,c,1),a=a.g,c=RD||(RD=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),kc=c.getUint32(0,!0),lc=c.getUint32(4,!0),HE(a,kc),HE(a,lc))},wia),zia=hg(function(a,b,c){if(a.h!==5)return!1;var d=qE(a.g);a=(d>>31)*2+1;var e=d>>>23&255;d&=8388607;kg(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){b=wc(b);b!=null&&
(pg(a,c,5),a=a.g,c=RD||(RD=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),lc=0,kc=c.getUint32(0,!0),HE(a,kc))},via),UE=hg(function(a,b,c){return yg(a,b,c)},ng,QE),VE=jg(function(a,b,c){return Ag(a,b,c)},og,QE),WE=hg(function(a,b,c){return yg(a,b,c)},ng,QE),XE=jg(function(a,b,c){return Ag(a,b,c)},og,QE),YE=hg(function(a,b,c){if(a.h!==0)return!1;kg(b,c,Cg(a.g));return!0},rg,PE),Aia=hg(function(a,b,c){if(a.h!==0)return!1;a=Cg(a.g);kg(b,c,a===0?void 0:a);return!0},rg,PE),ZE=hg(function(a,b,c){if(a.h!==
1)b=!1;else{var d=a.g;a=qE(d);d=qE(d);kg(b,c,jc(BigInt.asUintN(64,(BigInt(d>>>0)<<BigInt(32))+BigInt(a>>>0))));b=!0}return b},function(a,b,c){b=taa(b);if(b!=null){switch(typeof b){case "string":BE(b)}pg(a,c,1);switch(typeof b){case "number":a=a.g;mc(b);HE(a,kc);HE(a,lc);break;case "bigint":c=bf(b,zE,ria);a=a.g;b=c.hi;HE(a,c.lo);HE(a,b);break;default:c=BE(b),a=a.g,b=c.hi,HE(a,c.lo),HE(a,b)}}},uia),Bia=hg(function(a,b,c){if(a.h!==5)return!1;kg(b,c,qE(a.g));return!0},function(a,b,c){b=qaa(b);b!=null&&
(pg(a,c,5),HE(a.g,b))},tia),$E=hg(function(a,b,c){if(a.h!==0)return!1;kg(b,c,rE(a.g));return!0},sg,NE),Cia=jg(function(a,b,c){if(a.h!==0&&a.h!==2)return!1;b=Je(b,b[rb]|0,c);a.h==2?zg(a,rE,b):b.push(rE(a.g));return!0},function(a,b,c){b=$f(zc,b,!0);if(b!=null)for(let g=0;g<b.length;g++){var d=a,e=c,f=b[g];f!=null&&(pg(d,e,0),d.g.g.push(f?1:0))}},NE),Dia=hg(function(a,b,c,d){if(a.h!==0)return!1;YD(b,c,d,rE(a.g));return!0},sg,NE),aF=hg(function(a,b,c){if(a.h!==2)return!1;kg(b,c,yE(a));return!0},ug,OE),
bF=hg(function(a,b,c){if(a.h!==2)return!1;a=yE(a);kg(b,c,a===""?void 0:a);return!0},ug,OE),cF=hg(function(a,b,c,d){if(a.h!==2)return!1;YD(b,c,d,yE(a));return!0},ug,OE),dF=jg(function(a,b,c){if(a.h!==2)return!1;a=yE(a);Je(b,b[rb]|0,c).push(a);return!0},function(a,b,c){b=$f(dd,b,!0);if(b!=null)for(let g=0;g<b.length;g++){var d=a,e=c,f=b[g];f!=null&&tg(d,e,ca(f))}},OE),eF,fF=void 0;fF=fF===void 0?pf:fF;
eF=new qf(function(a,b,c,d,e){if(a.h!==2)return!1;d=be(void 0,d);Je(b,b[rb]|0,c).push(d);xE(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f++)vg(a,b[f],c,d,e);a=b[rb]|0;a&1||(b[rb]=a|1)}},ig,fF);
var gF=rf(function(a,b,c,d,e,f){if(a.h!==2)return!1;var g=b[rb]|0;Ne(b,g,f,c,Qb(g));b=ZD(b,d,c);xE(a,b,e);return!0},vg),hF=hg(function(a,b,c){if(a.h!==2)return!1;kg(b,c,Bg(a));return!0},wg,RE),iF=hg(function(a,b,c){if(a.h!==0)return!1;kg(b,c,Cg(a.g));return!0},function(a,b,c){ME(a,c,Fc(b))},SE),jF=jg(Dg,function(a,b,c){b=$f(Fc,b,!0);if(b!=null)for(let d=0;d<b.length;d++)ME(a,c,b[d])},SE),kF=jg(Dg,function(a,b,c){b=$f(Fc,b,!0);if(b!=null&&b.length){c=JE(a,c);for(let d=0;d<b.length;d++)qg(a.g,b[d]);
KE(a,c)}},SE);var lF=function(a,b,c){this.fieldIndex=a;this.ctor=c;this.h=Q;this.defaultValue=void 0;this.g=b.messageId!=null?Pb:void 0};lF.prototype.register=function(){FD(this)};var at=function(a){this.o=u(a)};V(at,v);var bt=function(a){this.o=u(a)};V(bt,v);var dk=function(a){this.o=u(a)};V(dk,v);var jt=function(a){this.o=u(a)};V(jt,v);var it=function(a){this.o=u(a)};V(it,v);var ht=function(a){this.o=u(a)};V(ht,v);var mF=function(a){this.o=u(a)};V(mF,v);mF.prototype.getType=function(){return bl(this,1,1)};var Us=function(a){G(a,1,2)};var nF=function(a){this.o=u(a)};V(nF,v);var P=function(a){this.o=u(a)};V(P,v);var Vt=function(a,b){return G(a,1,b)};P.prototype.g=function(){return ws(this,1)};var jx=function(a,b){return H(a,2,b)},ix=function(a,b){return G(a,3,b)};P.prototype.Ag=function(){return Zt(this,5)};P.prototype.h=function(){return Aq(this,5)};P.prototype.yb=function(a){return G(this,9,a)};var Qs=function(a){return Q(a,nF,10)},Vs=function(a){return Sp(a,mF,12)},qca=Mg(P);var mx=function(a){this.o=u(a)};V(mx,v);mx.prototype.G=function(){return Q(this,P,1)};var lx=function(a,b){return I(a,1,b)},oF=function(a){return U(a,2,B())},kx=function(a,b){return rs(a,2,b)},pF=function(a){return H(a,4,!0)},sl=Mg(mx);var qF=[0,iF,$E,iF,$E,YE,1,WE,aF,iF,[0,aF,-1],$E,[0,iF],iF,$E,-1];var as=function(a){this.o=u(a)};V(as,v);var $r=function(a){this.o=u(a)};V($r,v);var sda=function(a,b){return E(a,1,b)};$r.prototype.getName=function(){return x(this,2)};var tda=function(a,b){return E(a,2,b)},qda=function(a,b){return E(a,3,b)},rda=function(a,b){return G(a,5,b)},vda=function(a,b){ne(a);var c=b.forEach,d=a.o,e=d[rb]|0;a=Be(a,d,e,Hb(a,e),7,as,uaa);c.call(b,Kaa,a)};var Eia=[0,aF,-2,1,iF,1,yia,[!0,YE,[0,aF]]];var nx=function(a){this.o=u(a)};V(nx,v);var rF=function(a){this.o=u(a)};V(rF,v);var nv=function(a){this.o=u(a)};V(nv,v);nv.prototype.getType=function(){return am(this,1)};var Sr=function(a){var b=new nv;return G(b,1,a)};nv.prototype.getId=function(){return C(this,2)};var Rr=function(a,b){return E(a,2,b)};nv.prototype.J=function(){return D(this,2)};nv.prototype.getName=function(){return C(this,3)};var Pr=function(a,b){return E(a,3,b)},Tr=function(a,b){return E(a,5,b)},Ur=function(a,b){return H(a,7,b)},Or=function(a,b){return E(a,8,b)},Qr=function(a,b){return E(a,11,b)};var sF=function(a){this.o=u(a)};V(sF,v);var tF=function(a){this.o=u(a)};V(tF,v);tF.prototype.getValue=function(){return C(this,2)};tF.prototype.setValue=function(a){return E(this,2,a)};tF.prototype.Ca=function(){return D(this,2)};var uF=function(a){this.o=u(a)};V(uF,v);uF.prototype.getMetadata=function(){return Q(this,rF,3)};var vF=[0,iF,aF,-1,$E,aF,iF,$E,aF,-1,$E,aF,-4,iF,$E,WE,aF,-1];var wF=function(a){this.o=u(a)};V(wF,v);wF.prototype.R=function(){return am(this,1)};wF.prototype.setStatus=function(a){return G(this,1,a)};wF.prototype.ka=function(){return ws(this,1)};wF.prototype.Nd=function(){return Q(this,uF,2)};var xF=function(a){var b=(new wF).setStatus(1);b=O(b,4,Date.now());return I(b,2,a)};var yF=function(a){this.o=u(a)};V(yF,v);yF.prototype.X=function(){return Q(this,mx,1)};yF.prototype.Sa=function(){return Q(this,wF,2)};var Fia=Mg(yF);var ls=function(a){this.o=u(a)};V(ls,v);ls.prototype.getId=function(){return C(this,1)};ls.prototype.J=function(){return D(this,1)};ls.prototype.getType=function(){return am(this,2)};var Gia=[0,aF,iF];var Lv=function(a){this.o=u(a)};V(Lv,v);var iw=function(a){this.o=u(a)};V(iw,v);var Uv=function(a){this.o=u(a)};V(Uv,v);var zF=[0];var Zv=function(a){this.o=u(a)};V(Zv,v);var Nv=function(a){this.o=u(a)};V(Nv,v);var fw=function(a){this.o=u(a)};V(fw,v);var Kv=function(a){this.o=u(a)};V(Kv,v);var Mv=function(a){this.o=u(a)};V(Mv,v);var Hv=function(a){this.o=u(a)};V(Hv,v);var Jv=function(a){this.o=u(a)};V(Jv,v);var Sv=function(a){this.o=u(a)};V(Sv,v);var Wv=function(a){this.o=u(a)};V(Wv,v);var ew=function(a){this.o=u(a)};V(ew,v);var Qv=function(a){this.o=u(a)};V(Qv,v);var cw=function(a){this.o=u(a)};V(cw,v);var ww=function(a){this.o=u(a)};V(ww,v);var bw=function(a){this.o=u(a)};V(bw,v);var dw=[1,2,3,4];var Hia=[0,dw,gF,[0],gF,[0],gF,[0],gF,zF];var Yr=function(a){this.o=u(a)};V(Yr,v);Yr.prototype.getName=function(){return x(this,2)};Yr.prototype.getState=function(){return bl(this,4)};var Ev=function(a){this.o=u(a)};V(Ev,v);Ev.prototype.getUrl=function(){return C(this,1)};var Dv=function(a){this.o=u(a)};V(Dv,v);var Cv=function(a){this.o=u(a)};V(Cv,v);var Uea=function(a,b){return Nu(a,1,b)};var AF=function(a){this.o=u(a)};V(AF,v);var Bv=function(a){var b=new AF;return Nu(b,1,a)};var xv=function(a){this.o=u(a)};V(xv,v);var Qea=function(a,b){I(a,1,b)},Av=function(a,b){Nu(a,2,b)},Rea=function(a,b){O(a,5,b)},Sea=function(a,b){I(a,6,b)},Tea=function(a,b){I(a,7,b)},zv=[3,4];var SF=[0,aF,-2,iF];var TF=[0,eF,[0,aF,[0,aF],$E,-1]];var UF=[0,zv,TF,eF,vF,gF,vF,gF,[0,eF,vF],WE,TF,-1,iF,[0,eF,[0,[1,2],gF,TF,gF,[0,aF]]],SF];var aw=function(a){this.o=u(a)};V(aw,v);var hfa=function(a,b){Nu(a,1,b)},gfa=function(a,b){return E(a,2,b)},ffa=function(a,b){return I(a,3,b)},efa=function(a,b){return K(a,4,b)};var Iia=[0,eF,Hia,aF,UF,YE];var rw=function(a){this.o=u(a)};V(rw,v);var sw=[1];var Jia=[0,sw,gF,zF];var qw=function(a){this.o=u(a)};V(qw,v);var qfa=function(a,b){Nu(a,1,b)},pfa=function(a,b){return I(a,2,b)};var Kia=[0,eF,Jia,UF];var Gv=function(a){this.o=u(a)};V(Gv,v);var Iv=[1,2,3,4,5,6];var Lia=[0,Iv,gF,[0],gF,[0],gF,[0],gF,[0],gF,[0],gF,[0]];var Fv=function(a){this.o=u(a)};V(Fv,v);var Wea=function(a,b){Nu(a,1,b)},Vea=function(a,b){return I(a,4,b)},Xea=function(a,b){I(a,5,b)};var Mia=[0,eF,Lia,aF,-1,UF,TF];var Pv=function(a){this.o=u(a)};V(Pv,v);var Rv=[1,2];var Nia=[0,Rv,gF,[0],gF,[0]];var Ov=function(a){this.o=u(a)};V(Ov,v);var $ea=function(a,b){Nu(a,2,b)},Zea=function(a,b){Nu(a,4,b)},Yea=function(a,b){return I(a,5,b)};var Oia=[0,1,eF,vF,iF,eF,Nia,UF];var lw=function(a){this.o=u(a)};V(lw,v);var mw=[1];var Pia=[0,mw,gF,zF];var kw=function(a){this.o=u(a)};V(kw,v);var mfa=function(a,b){Nu(a,1,b)},lfa=function(a,b){return I(a,2,b)};var Qia=[0,eF,Pia,UF];var Tv=function(a){this.o=u(a)};V(Tv,v);var Vv=[1,2];var Ria=[0,Vv,gF,zF,gF,[0]];var pv=function(a){this.o=u(a)};V(pv,v);var bfa=function(a,b){Nu(a,2,b)},rv=function(a,b){return Nu(a,3,b)};var Sia=[0,1,eF,Ria,eF,UF];var hw=function(a){this.o=u(a)};V(hw,v);var jw=[1];var Tia=[0,jw,gF,[0]];var gw=function(a){this.o=u(a)};V(gw,v);var kfa=function(a,b){Nu(a,1,b)},jfa=function(a,b){return E(a,2,b)},ifa=function(a,b){return I(a,3,b)};var Uia=[0,eF,Tia,aF,UF];var Yv=function(a){this.o=u(a)};V(Yv,v);var $v=[1];var Via=[0,$v,gF,[0]];var Xv=function(a){this.o=u(a)};V(Xv,v);var dfa=function(a,b){Nu(a,2,b)},cfa=function(a,b){return I(a,3,b)};var Wia=[0,1,eF,Via,UF];var uw=function(a){this.o=u(a)};V(uw,v);var vw=[1,2];var Xia=[0,vw,gF,zF,gF,[0]];var tw=function(a){this.o=u(a)};V(tw,v);var sfa=function(a,b){Nu(a,1,b)},rfa=function(a,b){return Nu(a,2,b)};var Yia=[0,eF,Xia,eF,UF];var ow=function(a){this.o=u(a)};V(ow,v);var pw=[1];var Zia=[0,pw,gF,zF];var nw=function(a){this.o=u(a)};V(nw,v);var ofa=function(a,b){Nu(a,1,b)},nfa=function(a,b){return I(a,2,b)};var $ia=[0,eF,Zia,UF];var tv=function(a){this.o=u(a)};V(tv,v);var sv=function(a,b){return y(a,3,uv,b)},uv=[2,3,4,5,6,7,8,9,10,11];var aja=[0,uv,1,gF,Mia,gF,Sia,gF,Oia,gF,Wia,gF,Iia,gF,Uia,gF,Qia,gF,$ia,gF,Kia,gF,Yia];var VF=function(a){this.o=u(a)};V(VF,v);VF.prototype.setDescription=function(a){return iE(this,1,a)};VF.prototype.getUrl=function(){return x(this,2)};var Jn=function(a){this.o=u(a)};V(Jn,v);Jn.prototype.getType=function(){return bl(this,1)};Jn.prototype.getContext=function(){return Q(this,VF,2)};var WF=function(a){this.o=u(a)};V(WF,v);WF.prototype.setTitle=function(a){return iE(this,3,a)};var On=function(a){this.o=u(a)};V(On,v);var XF=function(a){this.o=u(a)};V(XF,v);var YF=function(a){this.o=u(a)};V(YF,v);var ZF=function(a){this.o=u(a)};V(ZF,v);var $F=function(a){this.o=u(a)};V($F,v);var aG=function(a){this.o=u(a)};V(aG,v);var bG=function(a){this.o=u(a)};V(bG,v);var cG=function(a){this.o=u(a)};V(cG,v);var dG=[2,3,4];var eG=function(a){this.o=u(a)};V(eG,v);var fG=function(a){this.o=u(a)};V(fG,v);var gG=function(a){this.o=u(a)};V(gG,v);var hG=function(a){this.o=u(a)};V(hG,v);var Ln=function(a){this.o=u(a)};V(Ln,v);Ln.prototype.R=function(){return bl(this,6)};Ln.prototype.setStatus=function(a){return jE(this,6,a)};var iG=[8,9,10,11,12,13,14,15,17];var jG=function(a){this.o=u(a)};V(jG,v);var kG=function(a){this.o=u(a)};V(kG,v);var lG=function(a){this.o=u(a)};V(lG,v);var Fn=function(a){this.o=u(a)};V(Fn,v);var mG=[1,2,3];var nG=function(a){this.o=u(a)};V(nG,v);var oG=function(a){this.o=u(a)};V(oG,v);oG.prototype.getType=function(){return bl(this,6)};var pG=function(a){this.o=u(a)};V(pG,v);var qG=function(a){this.o=u(a)};V(qG,v);qG.prototype.getName=function(){return x(this,1)};qG.prototype.setTitle=function(a){return iE(this,2,a)};var rG=[8,9,10];var sG=function(a){this.o=u(a)};V(sG,v);sG.prototype.getName=function(){return x(this,1)};sG.prototype.setTitle=function(a){return iE(this,2,a)};var tG=function(a){this.o=u(a)};V(tG,v);var uG=[1,3];var vG=function(a){this.o=u(a)};V(vG,v);var wG=function(a){this.o=u(a)};V(wG,v);var xG=function(a){this.o=u(a)};V(xG,v);var xn=function(a){this.o=u(a)};V(xn,v);var yG=[1,2,3];var Gn=function(a){this.o=u(a)};V(Gn,v);Gn.prototype.getType=function(){return bl(this,1)};var Cn=function(a){this.o=u(a)};V(Cn,v);Cn.prototype.getType=function(){return bl(this,1)};var In=function(a){this.o=u(a)};V(In,v);In.prototype.getType=function(){return bl(this,1)};var zn=function(a){this.o=u(a)};V(zn,v);var zG=function(a){this.o=u(a)};V(zG,v);var AG=function(a){this.o=u(a)};V(AG,v);var Qn=function(a){this.o=u(a)};V(Qn,v);var Mn=function(a){this.o=u(a)};V(Mn,v);var BG=function(a){this.o=u(a)};V(BG,v);var CG=function(a){this.o=u(a)};V(CG,v);var DG=function(a){this.o=u(a)};V(DG,v);var An=function(a){this.o=u(a)};V(An,v);var EG=function(a){this.o=u(a)};V(EG,v);var FG=function(a){this.o=u(a)};V(FG,v);FG.prototype.getName=function(){return x(this,1)};var GG=function(a){this.o=u(a)};V(GG,v);GG.prototype.setTitle=function(a){return iE(this,2,a)};var HG=function(a){this.o=u(a)};V(HG,v);var IG=[2,3,4,5];var En=function(a){this.o=u(a)};V(En,v);var JG=function(a){this.o=u(a)};V(JG,v);var Pn=function(a){this.o=u(a)};V(Pn,v);var Bn=function(a){this.o=u(a)};V(Bn,v);var Dn=function(a){this.o=u(a)};V(Dn,v);Dn.prototype.getType=function(){return bl(this,1)};var KG=function(a){this.o=u(a)};V(KG,v);var Kn=function(a){this.o=u(a)};V(Kn,v);var Nn=function(a){this.o=u(a)};V(Nn,v);var LG=function(a){this.o=u(a)};V(LG,v);var Hn=function(a){this.o=u(a)};V(Hn,v);Hn.prototype.getType=function(){return bl(this,1)};var MG=function(a){this.o=u(a)};V(MG,v);var yn=[1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,18,19,20,21,22,23,24];var NG=function(a){this.o=u(a)};V(NG,v);NG.prototype.getId=function(){return C(this,1)};NG.prototype.J=function(){return D(this,1)};NG.prototype.G=function(){return Q(this,P,4)};var Mu=function(a){this.o=u(a)};V(Mu,v);Mu.prototype.getSize=function(){return Zt(this,2)};Mu.prototype.getUrl=function(){return C(this,3)};var Qu=function(a){this.o=u(a)};V(Qu,v);Qu.prototype.getType=function(){return C(this,1)};var Ou=function(a){this.o=u(a)};V(Ou,v);var Ju=function(a){this.o=u(a)};V(Ju,v);Ju.prototype.getId=function(){return C(this,1)};Ju.prototype.J=function(){return D(this,1)};Ju.prototype.getName=function(){return C(this,2)};var Lu=function(a,b){return rs(a,4,b)},Ku=function(a,b){return rs(a,5,b)};Ju.prototype.getType=function(){return am(this,23)};var OG=function(a){this.o=u(a)};V(OG,v);OG.prototype.R=function(){return am(this,1)};OG.prototype.setStatus=function(a){return G(this,1,a)};OG.prototype.ka=function(){return ws(this,1)};var bja=Mg(OG);var PG=function(a){this.o=u(a)};V(PG,v);PG.prototype.Aa=function(){return C(this,2)};PG.prototype.G=function(){return Q(this,P,4)};var ul=Mg(PG);var QG=function(a){this.o=u(a)};V(QG,v);QG.prototype.Jd=function(){return D(this,1)};QG.prototype.G=function(){return Q(this,P,3)};var zl=Mg(QG);var RG=function(a){this.o=u(a)};V(RG,v);RG.prototype.G=function(){return Q(this,P,2)};var Ol=Mg(RG);var SG=function(a){this.o=u(a)};V(SG,v);SG.prototype.R=function(){return am(this,1)};SG.prototype.setStatus=function(a){return G(this,1,a)};SG.prototype.ka=function(){return ws(this,1)};SG.prototype.Ih=function(){return Q(this,Ju,2)};var TG=function(a){this.o=u(a)};V(TG,v);TG.prototype.g=function(){return C(this,1)};TG.prototype.Jd=function(){return D(this,1)};TG.prototype.G=function(){return Q(this,P,2)};var Sl=Mg(TG);var UG=function(a){this.o=u(a)};V(UG,v);UG.prototype.getType=function(){return am(this,1)};var VG=function(a,b){return G(a,1,b)};UG.prototype.G=function(){return Q(this,P,2)};var WG=function(a,b){return I(a,2,b)},$l=Mg(UG);var Hu=function(a){this.o=u(a)};V(Hu,v);Hu.prototype.R=function(){return am(this,1)};Hu.prototype.setStatus=function(a){return G(this,1,a)};Hu.prototype.ka=function(){return ws(this,1)};Hu.prototype.Ih=function(){return Q(this,Ju,2)};var XG=function(a){this.o=u(a)};V(XG,v);XG.prototype.g=function(){return C(this,1)};XG.prototype.Jd=function(){return D(this,1)};XG.prototype.G=function(){return Q(this,P,4)};var Fm=Mg(XG);var wp=function(a){this.o=u(a)};V(wp,v);var YG=function(a){return N(a,11)},ZG=function(a){return N(a,12)},cja=function(a){return F(a,36)},dja=function(a){return F(a,37)},eja=function(a){return F(a,38)},lC=function(a){return F(a,39)},$G=function(a){return F(a,40)},nC=function(a){return F(a,41)},aH=function(a){return N(a,57)},bH=function(a){return F(a,61)},cH=function(a){return F(a,62)},du=function(a){return N(a,84)};var ms=function(a){this.o=u(a)};V(ms,v);l=ms.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.R=function(){return am(this,2)};l.setStatus=function(a){return G(this,2,a)};l.ka=function(){return ws(this,2)};l.getType=function(){return am(this,5)};var os=function(a){this.o=u(a)};V(os,v);var wr=function(a){this.o=u(a)};V(wr,v);var Cr=function(a,b){return H(a,1,b)},dH=function(a){return F(a,1)},Er=function(a,b){return H(a,4,b)},Dr=function(a,b){return H(a,5,b)},eH=function(a){return F(a,7)},Ir=function(a,b){return H(a,8,b)},Hr=function(a,b){return H(a,9,b)},fH=function(a){return $k(a,16)},Fr=function(a,b){return H(a,16,b)},Gr=function(a,b){return H(a,21,b)},Jr=function(a,b){return H(a,43,b)};var ds=function(a){this.o=u(a)};V(ds,v);var cs=function(a,b){return E(a,1,b)};var fs=function(a){this.o=u(a)};V(fs,v);var is=function(a){this.o=u(a)};V(is,v);var hs=function(a,b){return H(a,1,b)},gs=function(a,b){return E(a,2,b)};var el=function(a){this.o=u(a)};V(el,v);el.prototype.getUrl=function(){return C(this,2)};var gH=function(a){this.o=u(a)};V(gH,v);gH.prototype.getValue=function(){var a=ak(this,2);if(Array.isArray(a)||a instanceof v)throw Error("M");a=ak(this,2,void 0,void 0,ze);return a==null?xb():a};gH.prototype.setValue=function(a){if(a==null)a=this;else if(Array.isArray(a))a=S(this,2,Pd(a,0,Qd));else if(typeof a==="string"||a instanceof yb||jb(a))a=Ge(this,2,Ib(a,!1,!0),xb());else throw Error("K`"+a);return a};var hH=function(a){this.o=u(a)};V(hH,v);var xs=function(a){return Rl(a,1)},iH=function(a,b){return ey(a,1,b)},jH=Pg(hH);var kH=function(a){this.o=u(a)};V(kH,v);kH.prototype.R=function(){return Q(this,hH,4)};kH.prototype.setStatus=function(a){return I(this,4,a)};kH.prototype.ka=function(){return Xt(this,hH,4)};var lH=function(a){this.o=u(a)};V(lH,v);var mH=function(a){this.o=u(a)};V(mH,v);var ns=function(a){this.o=u(a)};V(ns,v);var ss=function(a){this.o=u(a)};V(ss,v);var Jx=function(a){this.o=u(a)};V(Jx,v);var Fx=function(a,b){H(a,1,b)},fja=function(a){return F(a,1)};var gv=function(a){this.o=u(a)};V(gv,v);var nH=function(a){this.o=u(a)};V(nH,v);var RB=function(a){this.o=u(a)};V(RB,v);var QB=function(a,b){return G(a,1,b)};var ks=function(a){this.o=u(a)};V(ks,v);var js=function(a,b){return O(a,3,b)},oH=function(a){return S(a,3)};var iB=function(a){this.o=u(a)};V(iB,v);var pH=function(a){this.o=u(a)};V(pH,v);var qH=function(a,b){return S(a,1,b==null?b:vc(b))},rH=function(a,b){return S(a,2,b==null?b:vc(b))};var sH=function(a){this.o=u(a)};V(sH,v);var gja=function(a,b){E(a,1,b)},hja=function(a,b){E(a,5,b)},ija=function(a,b){E(a,6,b)},tH=function(a,b){return Nu(a,8,b)};var qs=function(a){this.o=u(a)};V(qs,v);qs.prototype.setDescription=function(a){return E(this,1,a)};qs.prototype.vc=function(){return R(this,1)};qs.prototype.removeCategory=function(a){return lE(this,2,a)};var ps=function(a){this.o=u(a)};V(ps,v);var us=function(a){this.o=u(a)};V(us,v);var ts=function(a){this.o=u(a)};V(ts,v);var Yt=function(a){this.o=u(a)};V(Yt,v);var Bu=function(a){this.o=u(a)};V(Bu,v);var uH=function(a){this.o=u(a)};V(uH,v);l=uH.prototype;l.getId=function(){return x(this,1)};l.J=function(){return D(this,1)};l.Ve=function(){return nE(this,2)};l.setTitle=function(a){return E(this,3,a)};l.Wa=function(){return R(this,3)};l.Fa=function(){return D(this,3)};l.Wk=function(){return Cq(this,4)};l.jh=function(){return gq(this,4)};l.mh=function(){return F(this,7)};l.kh=function(){return x(this,10)};l.td=function(){return D(this,10)};var vH=function(a){this.o=u(a)};V(vH,v);var wH=function(a){this.o=u(a)};V(wH,v);var Mr=function(a){this.o=u(a)};V(Mr,v);l=Mr.prototype;l.setTitle=function(a){return E(this,1,a)};l.Wa=function(){return R(this,1)};l.Fa=function(){return D(this,1)};l.setColor=function(a){return I(this,3,a)};l.setDescription=function(a){return E(this,11,a)};l.vc=function(){return R(this,11)};var aA=function(a){this.o=u(a)};V(aA,v);var Cga=function(a){return bl(a,2)},Bga=function(a,b){G(a,2,b)};var Yz=function(a){this.o=u(a)};V(Yz,v);l=Yz.prototype;l.setTitle=function(a){return E(this,1,a)};l.Wa=function(){return R(this,1)};l.Fa=function(){return D(this,1)};l.setDescription=function(a){return E(this,3,a)};l.vc=function(){return R(this,3)};var $z=function(a){this.o=u(a)};V($z,v);var Zz=function(a){return z(a,Yz,1,B())};var Lr=function(a){this.o=u(a)};V(Lr,v);Lr.prototype.getId=function(){return x(this,1)};Lr.prototype.J=function(){return D(this,1)};var jja=function(a,b){I(a,8,b)},kja=function(a,b){Nu(a,9,b)};Lr.prototype.setTitle=function(a){return E(this,11,a)};Lr.prototype.Wa=function(){return R(this,11)};Lr.prototype.Fa=function(){return D(this,11)};var Wz=[13,14,15,16,17,18,19];var xH=function(a){this.o=u(a)};V(xH,v);xH.prototype.getId=function(){return x(this,1)};var yH=function(a,b){return E(a,1,b)};xH.prototype.J=function(){return D(this,1)};var zH=function(a,b){return E(a,2,b)},lja=function(a,b){return Nu(a,3,b)},Vz=function(a,b){return E(a,4,b)};l=xH.prototype;l.setTitle=function(a){return E(this,5,a)};l.Wa=function(){return R(this,5)};l.Fa=function(){return D(this,5)};l.setDescription=function(a){return E(this,7,a)};l.vc=function(){return R(this,7)};var IA=function(a){this.o=u(a)};V(IA,v);var LA=function(a,b){return K(a,1,b)},JA=function(a,b){return Nu(a,2,b)},KA=function(a,b){return Nu(a,3,b)},mja=function(a,b){return K(a,4,b)},nja=function(a,b){return K(a,5,b)},oja=function(a,b){return K(a,6,b)};var AH=function(a){this.o=u(a)};V(AH,v);var BH=function(a){this.o=u(a)};V(BH,v);var Hx=function(a){return Q(a,gl,5)},gl=function(a){this.o=u(a)};V(gl,v);gl.prototype.getId=function(){return C(this,1)};var DA=function(a){return C(a,1)},Ru=function(a,b){return E(a,1,b)};gl.prototype.J=function(){return D(this,1)};var CH=function(a){return U(a,2,B())},Tu=function(a,b){return rs(a,2,b)};l=gl.prototype;l.zf=function(a){He(this,2,bd,a,void 0,dd)};l.setTitle=function(a){return E(this,3,a)};l.Wa=function(){return R(this,3)};
l.Fa=function(){return D(this,3)};l.kh=function(){return C(this,4)};var dl=function(a,b){return E(a,4,b)};gl.prototype.td=function(){return D(this,4)};
var Zu=function(a,b){return H(a,5,b)},DH=function(a,b){return H(a,6,b)},EH=function(a,b){return H(a,7,b)},FH=function(a,b){return H(a,8,b)},GH=function(a,b){return H(a,9,b)},HH=function(a,b){return O(a,10,b)},bv=function(a,b){return O(a,11,b)},IH=function(a,b){return O(a,12,b)},JH=function(a,b){return O(a,13,b)},Oz=function(a){return z(a,nv,15,B())},Uu=function(a,b){return Nu(a,15,b)},KH=function(a,b){return I(a,17,b)},av=function(a,b){return H(a,22,b)};gl.prototype.mh=function(){return F(this,22)};
var cv=function(a,b){return O(a,23,b)};gl.prototype.setDescription=function(a){return E(this,24,a)};gl.prototype.vc=function(){return R(this,24)};var LH=function(a,b){return G(a,25,b)},MH=function(a,b){return H(a,26,b)},NH=function(a,b){return H(a,31,b)};gl.prototype.Wk=function(){return gq(this,34,VD)};var OH=function(a,b){return O(a,34,b)};gl.prototype.jh=function(){return gq(this,34)};
var PH=function(a,b){return H(a,35,b)},QH=function(a,b){return H(a,36,b)},RH=function(a,b){E(a,43,b)},dv=function(a,b){return H(a,44,b)},SH=function(a,b){return E(a,45,b)},TH=function(a,b){return E(a,46,b)},UH=function(a,b){return I(a,47,b)},VH=function(a,b){return rs(a,50,b)},nl=function(a){return bl(a,52,1)};gl.prototype.Zb=function(a){return G(this,52,a)};
var oca=function(a,b){Nu(a,58,b)},WH=function(a,b){return O(a,69,b)},XH=function(a,b){return O(a,70,b)},YH=function(a,b){return G(a,71,b)},ZH=function(a){return C(a,72)},$u=function(a,b){return E(a,72,b)},$H=function(a){return D(a,72)},aI=function(a){return Q(a,sH,73)},bI=function(a,b){return I(a,73,b)};gl.prototype.Ve=function(){return nE(this,75)};
var cI=function(a){return $k(a,76)},dI=function(a,b){return H(a,76,b)},eI=function(a,b){return H(a,137,b)},Tx=function(a,b){return G(a,82,b)},fI=function(a,b){return Nu(a,83,b)},vr=function(a){return Q(a,wr,84)},xr=function(a,b){return I(a,84,b)},gI=function(a,b){return I(a,85,b)},hI=function(a,b){return I(a,86,b)},iI=function(a,b){return I(a,91,b)},jI=function(a,b){return E(a,92,b)},Vu=function(a,b){return E(a,93,b)},kI=function(a,b){return H(a,94,b)},lI=function(a,b){return I(a,95,b)},mI=function(a,
b){return O(a,96,b)},nI=function(a,b){return G(a,101,b)},oI=function(a,b){return H(a,102,b)};gl.prototype.hasAudio=function(){return hp(this,os,158)};var pI=function(a,b){return H(a,108,b)},qI=function(a,b){return I(a,109,b)};gl.prototype.Gh=function(){return z(this,tv,117,B())};
var hv=function(a,b){return Nu(a,117,b)},rI=function(a,b){return E(a,119,b)},Xu=function(a,b){return Nu(a,125,b)},sI=function(a,b){return Nu(a,127,b)},il=function(a){return Q(a,BH,132)},tI=function(a,b){return I(a,132,b)},vI=function(a,b){return rs(a,135,b)},wI=function(a,b){return E(a,136,b)},xI=function(a,b){return I(a,138,b)},yI=function(a,b){return I(a,139,b)},Wu=function(a,b){return H(a,144,b)},zI=function(a,b){return G(a,145,b)},Yu=function(a,b){return I(a,148,b)},AI=function(a,b){return O(a,
149,b)},BI=function(a,b){return I(a,156,b)},CI=function(a,b){return Nu(a,151,b)},DI=function(a,b){return G(a,161,b)},Ht=function(a){return z(a,xH,165,B())},It=function(a,b){return Nu(a,165,b)},EI=function(a,b){return I(a,168,b)},FI=function(a,b){return I(a,172,b)},GI=function(a,b){return I(a,173,b)},HI=function(a,b){return I(a,174,b)},II=function(a,b){return I(a,175,b)},JI=Mg(gl);var KI=function(a){this.o=u(a)};V(KI,v);KI.prototype.Aa=function(){return C(this,2)};var LI=function(a,b){return E(a,2,b)},MI=function(a){return H(a,3,!0)};KI.prototype.getItem=function(){return Q(this,gl,4)};var NI=function(a,b){return I(a,4,b)};KI.prototype.Qb=function(){return hp(this,gl,4)};var OI=function(a,b){return E(a,7,b)};KI.prototype.setLocation=function(a){return E(this,13,a)};var PI=[0,aF,$E,WE,aF,hF];var QI=[0,$E,aF];var RI=[0,iF];var SI=[0,aF,WE,[0,WE,-2],-1,6,aF];var TI=[0,aF,-2,SI];var UI=[0,vF];var VI=[0,aF,-1,eF,[0,Wz,aF,iF,aF,UE,aF,dF,aF,vF,eF,vF,SI,aF,WE,gF,TI,gF,[0,eF,TI],gF,[0,WE,iF],gF,[0,UE],gF,[0,aF],gF,UI,gF,[0,eF,UI]],aF,-1,iF,aF];var pja=[0,aF,WE,aF,iF,function(){return WI},$E,aF,$E],WI=[0,aF,dF,aF,-1,$E,-4,WE,-4,eF,vF,1,vF,1,aF,-2,$E,WE,aF,iF,$E,[0,WE,YE,-2],WE,$E,-2,2,WE,$E,-1,eF,vF,-1,1,$E,aF,-2,$E,aF,-1,vF,aF,1,dF,1,iF,1,WE,eF,PI,dF,aF,eF,[0,aF,-1],$E,eF,RI,aF,1,$E,3,WE,1,WE,-1,iF,aF,[0,aF,WE,$E,aF,-2,$E,eF,[0,aF],$E,[0,zia,-1,$E],$E],$E,WE,$E,1,aF,WE,1,[0,$E,-3,WE,-1,$E,-1],iF,eF,Gia,[0,$E,-17,1,$E,-42,1,$E,-5],[0,YE,eF,vF,-1,YE,-2],[0,aF,dF,iF],WE,-1,XE,WE,vF,aF,-1,$E,vF,WE,-1,$E,1,[0,TE,aF,$E,-1],iF,$E,[0,YE,-2,iF],
dF,-2,1,$E,[0,$E,-4],1,QI,$E,WE,aF,-1,$E,eF,aja,$E,aF,dF,XE,[0,aF],eF,[0,aF,-2],WE,eF,QI,WE,eF,[0,aF,iF,eF,[0,UE,iF],UE,iF],dF,3,function(){return pja},aF,-1,dF,aF,$E,[0,iF,[0,aF,WE,iF,aF,-1,iF,hF,Eia],iF],[0,1,$E,-1,iF,$E],aF,-1,WE,-1,$E,iF,2,[0,2,WE,$E,-2],WE,eF,[0,aF,-1],eF,VI,YE,$E,2,[0,[0,aF,WE,aF,WE,[0,$E,-5],$E,-2,aF,-3,$E,WE]],eF,VI,[0,YE],eF,[0,iF,-2],$E,iF,aF,-1,iF,eF,VI,$E,aF,[0,$E,eF,[0,iF,aF]],[0,[0,jF,[0,$E,iF]]],[0,[0,[2,3],iF,gF,[0],gF,[0,kF],[0,Aia,bF,eF,[0,bF,xia]]],-1],[0,eF,[0,
[3,4,5],aF,-1,gF,[0,aF,-2],gF,[0,aF],gF,[0,aF,1,UE,1,aF,-1]]],SF,-3,[0,1,aF]];var XI=function(a){this.o=u(a)};V(XI,v);var qja=function(a,b){return O(a,1,b)},YI=function(a,b){return K(a,2,b)};XI.prototype.G=function(){return Q(this,P,6)};var rja=function(a,b){return I(a,6,b)},sja=function(a,b){return E(a,8,b)},tja=function(a){H(a,12,!0)},bm=Mg(XI);var ZI=function(a){this.o=u(a)};V(ZI,v);ZI.prototype.R=function(){return am(this,1)};ZI.prototype.setStatus=function(a){return G(this,1,a)};ZI.prototype.ka=function(){return ws(this,1)};var $I=function(a,b){Nu(a,4,b)};var aJ=function(a){this.o=u(a)};V(aJ,v);aJ.prototype.G=function(){return Q(this,P,1)};var uja=function(){var a=new aJ,b=Vt(new P,301);return I(a,1,b)},vja=function(a,b){return hE(a,2,b)},jm=Mg(aJ);var bJ=function(a){this.o=u(a)};V(bJ,v);var cJ=function(a,b){return K(a,1,b)},dJ=function(a,b){return hE(a,2,b)};var eJ=function(a){this.o=u(a)};V(eJ,v);eJ.prototype.G=function(){return Q(this,P,1)};var wja=function(a){var b=new eJ;return I(b,1,a)},om=Mg(eJ);var fJ=function(a){this.o=u(a)};V(fJ,v);var gJ=function(a,b){return hE(a,1,b)},hJ=function(a,b){return O(a,2,b)};var iJ=function(a){this.o=u(a)};V(iJ,v);iJ.prototype.setApiKey=function(a){return E(this,3,a)};var jJ=[1,2];var xja=[0,jJ,cF,-1,aF,-1];var kJ=function(a){this.o=u(a)};V(kJ,v);var yja=[0,aF,-2,3,iF];var lJ=function(a){this.o=u(a)};V(lJ,v);var zja=Hg([0,yja,xja,$E,aF]);var ru=function(a){this.o=u(a)};V(ru,v);ru.prototype.Ag=function(){return Rl(this,1,1)};var Aja=function(a){return Cq(a,2,jc(18E5))},Vfa=function(a){return Cq(a,68,jc(72E5))},mJ=function(a){return bl(a,9,2)},Bja=function(a){return bl(a,18,1)},PB=function(a){return Nr(a,31,B())},nJ=function(a){return x(a,37)},pga=function(a){return D(a,50)};var Xx=function(a){this.o=u(a)};V(Xx,v);var oJ=function(a){return Nr(a,3,B())};Xx.prototype.yb=function(a){return G(this,5,a)};var yA=function(a){this.o=u(a)};V(yA,v);yA.prototype.G=function(){return Q(this,P,1)};var pJ=function(a,b){return G(a,3,b)},Pl=Mg(yA);var zA=function(a){this.o=u(a)};V(zA,v);zA.prototype.G=function(){return Q(this,P,1)};var qJ=function(a,b){return G(a,3,b)},Ql=Mg(zA);var rJ=function(a){this.o=u(a)};V(rJ,v);rJ.prototype.uc=function(a){var b=we(this,3,zc,3,!0);Mb(b,a);return b[a]};rJ.prototype.zd=function(){return we(this,3,zc,3,!0).length};var xw=function(a){this.o=u(a)};V(xw,v);var sJ=function(a){this.o=u(a)};V(sJ,v);sJ.prototype.zd=function(){return WD(this,xw,3)};var tJ=function(a){this.o=u(a)};V(tJ,v);tJ.prototype.uc=function(a){return dE(this,3,a)};tJ.prototype.zd=function(){return cC(this,3)};var uJ=function(a){this.o=u(a)};V(uJ,v);uJ.prototype.uc=function(a){return dE(this,3,a)};uJ.prototype.zd=function(){return cC(this,3)};var vJ=function(a){this.o=u(a)};V(vJ,v);vJ.prototype.uc=function(a){return cE(this,a)};vJ.prototype.zd=function(){return we(this,3,Yc,3,!0,0).length};var wJ=function(a){this.o=u(a)};V(wJ,v);wJ.prototype.uc=function(a){return cE(this,a)};wJ.prototype.zd=function(){return we(this,3,Yc,3,!0,0).length};var xJ=function(a){this.o=u(a)};V(xJ,v);xJ.prototype.uc=function(a){return dE(this,3,a)};xJ.prototype.zd=function(){return cC(this,3)};var yJ=function(a){this.o=u(a)};V(yJ,v);yJ.prototype.uc=function(a){return dE(this,3,a)};yJ.prototype.zd=function(){return cC(this,3)};var zJ=function(a){this.o=u(a)};V(zJ,v);zJ.prototype.uc=function(a){return dE(this,3,a)};zJ.prototype.zd=function(){return cC(this,3)};var AJ=function(a){this.o=u(a)};V(AJ,v);AJ.prototype.uc=function(a){return dE(this,3,a)};AJ.prototype.zd=function(){return cC(this,3)};var BJ=function(a){this.o=u(a)};V(BJ,v);BJ.prototype.Qa=function(){return $k(this,15)};var aE=[3,4,5,6,7,8,9,10,11,12,14];var CJ=function(a){this.o=u(a)};V(CJ,v);var lz=function(a){this.o=u(a)};V(lz,v);var kz=function(a){this.o=u(a)};V(kz,v);kz.prototype.getValue=function(){return am(this,1)};kz.prototype.setValue=function(a){return G(this,1,a)};kz.prototype.Ca=function(){return ws(this,1)};kz.prototype.Qa=function(){return N(this,3)};var Gz=function(a){this.o=u(a)};V(Gz,v);Gz.prototype.getValue=function(){return C(this,1)};Gz.prototype.setValue=function(a){return E(this,1,a)};Gz.prototype.Ca=function(){return D(this,1)};var mz=function(a){this.o=u(a)};V(mz,v);mz.prototype.getValue=function(){return C(this,1)};mz.prototype.setValue=function(a){return E(this,1,a)};mz.prototype.Ca=function(){return D(this,1)};var pz=function(a){this.o=u(a)};V(pz,v);var tz=function(a){this.o=u(a)};V(tz,v);tz.prototype.getValue=function(){return C(this,1)};tz.prototype.setValue=function(a){return E(this,1,a)};tz.prototype.Ca=function(){return D(this,1)};var fz=function(a){this.o=u(a)};V(fz,v);fz.prototype.getValue=function(){return C(this,1)};fz.prototype.setValue=function(a){return E(this,1,a)};fz.prototype.Ca=function(){return D(this,1)};fz.prototype.Qa=function(){return N(this,2)};var qB=function(a){this.o=u(a)};V(qB,v);l=qB.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.Uc=function(){return C(this,5)};l.Jb=function(a){return E(this,5,a)};var LB=function(a){this.o=u(a)};V(LB,v);var pB=function(a){this.o=u(a)};V(pB,v);var DJ=function(a){this.o=u(a)};V(DJ,v);DJ.prototype.getValue=function(){return C(this,1)};DJ.prototype.setValue=function(a){return E(this,1,a)};DJ.prototype.Ca=function(){return D(this,1)};DJ.prototype.Qa=function(){return N(this,2)};var Iz=function(a){this.o=u(a)};V(Iz,v);Iz.prototype.getValue=function(){return C(this,1)};Iz.prototype.setValue=function(a){return E(this,1,a)};Iz.prototype.Ca=function(){return D(this,1)};Iz.prototype.Qa=function(){return N(this,2)};var oz=function(a){this.o=u(a)};V(oz,v);oz.prototype.Qa=function(){return N(this,7)};var EJ=[1,2,3,4];var on=function(a){this.o=u(a)};V(on,v);on.prototype.getType=function(){return bl(this,1,4)};var jz=function(a){this.o=u(a)};V(jz,v);jz.prototype.getValue=function(){return C(this,1)};jz.prototype.setValue=function(a){return E(this,1,a)};jz.prototype.Ca=function(){return D(this,1)};jz.prototype.Qa=function(){return N(this,2)};var zz=function(a){this.o=u(a)};V(zz,v);zz.prototype.getValue=function(){return C(this,1)};zz.prototype.setValue=function(a){return E(this,1,a)};zz.prototype.Ca=function(){return D(this,1)};var vz=function(a){this.o=u(a)};V(vz,v);var FJ=function(a){this.o=u(a)};V(FJ,v);FJ.prototype.getValue=function(){return C(this,2)};FJ.prototype.setValue=function(a){return E(this,2,a)};FJ.prototype.Ca=function(){return D(this,2)};FJ.prototype.Qa=function(){return N(this,3)};var iz=function(a){this.o=u(a)};V(iz,v);iz.prototype.getValue=function(){return C(this,1)};iz.prototype.setValue=function(a){return E(this,1,a)};iz.prototype.Ca=function(){return D(this,1)};iz.prototype.Qa=function(){return N(this,2)};var Qt=function(a){this.o=u(a)};V(Qt,v);Qt.prototype.getId=function(){return C(this,1)};var GJ=function(a,b){return E(a,1,b)};Qt.prototype.J=function(){return D(this,1)};var HJ=function(a,b){return E(a,2,b)};var wz=function(a){this.o=u(a)};V(wz,v);var pn=function(a){this.o=u(a)};V(pn,v);pn.prototype.za=function(a){return Nr(this,1,B(a))};var Cja=function(a,b){return Ie(a,1,Cc,b,Dc)};pn.prototype.Fe=function(){return Nr(this,89,B())};var nz=function(a){return Q(a,on,2)};pn.prototype.getId=function(){return C(this,3)};pn.prototype.J=function(){return D(this,3)};var ez=function(a){return z(a,FJ,4,B())};pn.prototype.setTitle=function(a,b){return XD(this,4,FJ,a,b)};
var hz=function(a){return z(a,DJ,6,B())},Dja=function(a,b){Nu(a,6,b)},uz=function(a){return z(a,Iz,12,B())};pn.prototype.zf=function(a){Oj(this,12,Iz,a)};pn.prototype.zc=function(a){return H(this,19,a)};var rz=function(a){return z(a,RB,26,B())};pn.prototype.G=function(){return Q(this,P,30)};var qn=function(a,b){return I(a,30,b)},Fz=function(a){return S(a,30)};pn.prototype.Ia=function(){return Rl(this,32,50)};
var IJ=function(a,b){return K(a,32,b)},sz=function(a){return U(a,33,B())},sn=function(a,b){return rs(a,33,b)},qz=function(a){return z(a,Gz,35,B())},JJ=function(a){var b=new pn;return G(b,42,a)},Cz=function(a){return bl(a,45,1)},rn=function(a,b){return G(a,45,b)},Vl=function(a){return N(a,47)},Ul=Mg(pn);var wA=function(a){this.o=u(a)};V(wA,v);var xA=[3,4,5,6];var KJ=[0,aF,WE];var LJ=[0,iF,WE];var MJ=[0,PI,$E,function(){return MJ}];var NJ=[0,aF,$E];var OJ=[0,aF,-1];var Eja=[0,jF,[0,iF,-1,$E,PI],aF,eF,[0,iF,aF,$E],eF,[0,aF,$E],eF,[0,aF,$E,iF,$E],eF,LJ,-1,$E,-2,eF,[0,aF,$E,WE],eF,NJ,-2,$E,-3,4,eF,LJ,eF,[0,aF],eF,RI,3,qF,1,YE,dF,$E,eF,KJ,$E,eF,[0,aF],eF,KJ,dF,-1,iF,-1,aF,eF,[0,iF,$E,-1],iF,$E,-2,1,$E,WE,1,XE,aF,WE,eF,MJ,eF,[0,aF],NJ,[0,eF,[0,aF,eF,[0,aE,aF,vF,gF,[0,1,iF,Cia],gF,[0,1,iF,dF],gF,[0,1,iF,dF],gF,[0,1,iF,dF],gF,[0,1,iF,dF],gF,[0,1,iF,VE],gF,[0,1,iF,VE],gF,[0],gF,[0,1,iF,dF],gF,[0,1,iF,dF],1,gF,[0,1,iF,eF,[0,YE,-2]],$E]]],2,WE,eF,[0,aF,-1],OJ,$E,-1,eF,
NJ,-1,$E,-4,1,[0,[0,aF],eF,[0,aF,-4],-1,iF],2,eF,[0,aF,$E],eF,LJ,3,iF,1,$E,[0,$E,-2],$E,-1,kF,$E,kF,8,eF,[0,EJ,cF,-1,Dia,-1,1,iF,$E]];var vA=function(a){this.o=u(a)};V(vA,v);var PJ=function(a){this.o=u(a)};V(PJ,v);var QJ=function(a){this.o=u(a)};V(QJ,v);var by=function(a){this.o=u(a)};V(by,v);var uA=function(a){this.o=u(a)};V(uA,v);var Tp=function(a){this.o=u(a)};V(Tp,v);var Rp=function(a){return N(a,27)},eu=function(a){return bl(a,43)},Up=function(a){return N(a,64)},RJ=function(a){return F(a,93)};var SJ=function(a){this.o=u(a)};V(SJ,v);var TC=function(a){this.o=u(a)};V(TC,v);var TJ=function(a){this.o=u(a)};V(TJ,v);var UJ=function(a){return C(a,2)};var Ry=function(a){this.o=u(a)};V(Ry,v);var Fja=function(a){return Rl(a,1,500)},Gja=function(a){return Cq(a,7,jc(432E6))},Uy=function(a){return N(a,9)},Wy=function(a){return Rl(a,10)},wx=function(a){return z(a,TJ,11,B())},Hja=function(a){return Rl(a,13,5)},$y=function(a){return N(a,14)},Ija=function(a){return Rl(a,18,1E4)};var VJ=function(a){this.o=u(a)};V(VJ,v);var Rq=function(a){return Rl(a,1)},Pq=function(a){return x(a,2)},Ms=function(a){return x(a,4,"en")},Gha=function(a){return R(a,4)},Oq=function(a){return N(a,5)},FA=function(a){return R(a,7)};var WJ=function(a){this.o=u(a)};V(WJ,v);var XJ=function(a){return Q(a,Tp,4)};WJ.prototype.A=function(a){I(this,12,a)};var Gq=function(a){return Sp(a,ru,33)},xx=function(a){return Sp(a,Ry,34)},Ns=function(a){return zq(a,VJ,36)},Xr=function(a){return Sp(a,VJ,36)},Yx=function(a){return bl(a,39)},Xy=function(a){return N(a,40)};WJ.prototype.xf=function(a,b){return Oj(this,44,pn,a,b)};var Lp=function(a){return N(a,84)},zo=function(a){return Q(a,wp,103)},mC=function(a){return Sp(a,wp,103)};
WJ.prototype.fd=function(){return eE(this,106)};var Jja=Pg(WJ);var YJ=function(a){this.o=u(a)};V(YJ,v);var ZJ=function(a){this.o=u(a)};V(ZJ,v);var Kja=Pg(ZJ);var $J=function(a){this.o=u(a)};V($J,v);$J.prototype.gb=function(){return am(this,1)};var aK=function(a,b){return G(a,1,b)};var bK=function(a){this.o=u(a)};V(bK,v);bK.prototype.Aa=function(){return C(this,1)};bK.prototype.G=function(){return Q(this,P,4)};var Um=Mg(bK);var cK=function(a){this.o=u(a)};V(cK,v);cK.prototype.Aa=function(){return C(this,1)};cK.prototype.R=function(){return am(this,6)};cK.prototype.setStatus=function(a){return G(this,6,a)};cK.prototype.ka=function(){return ws(this,6)};var Lja=Fg(P);var dK=function(a){this.o=u(a)};V(dK,v);dK.prototype.getId=function(){return C(this,1)};dK.prototype.J=function(){return D(this,1)};dK.prototype.Th=function(){return R(this,3)};dK.prototype.getPath=function(){return C(this,4)};var eK=function(a){this.o=u(a)};V(eK,v);l=eK.prototype;l.getValue=function(){return C(this,2)};l.setValue=function(a){return E(this,2,a)};l.Ca=function(){return D(this,2)};l.setDescription=function(a){return E(this,3,a)};l.vc=function(){return R(this,3)};l.getType=function(){return am(this,4)};var fK=function(a){this.o=u(a)};V(fK,v);var gK=function(a){this.o=u(a)};V(gK,v);var hK=function(a){this.o=u(a)};V(hK,v);l=hK.prototype;l.Bc=function(){return D(this,1)};l.Ji=function(){return C(this,2)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.Cc=function(a){return U(this,3,B(a))};l.zf=function(a){He(this,3,bd,a,void 0,dd)};l.G=function(){return Q(this,P,7)};l.pf=function(){return Sp(this,P,7)};l.Ge=function(){return $k(this,8)};l.Ii=function(){return C(this,9)};l.Gi=function(a){E(this,9,a)};
l.Je=function(){return D(this,9)};l.Tc=function(){return Q(this,gK,15)};l.Aa=function(){return C(this,23)};var xl=Mg(hK);var iK=function(a){this.o=u(a)};V(iK,v);iK.prototype.setTitle=function(a){return E(this,1,a)};iK.prototype.Wa=function(){return R(this,1)};iK.prototype.Fa=function(){return D(this,1)};iK.prototype.G=function(){return Q(this,P,2)};var Mja=Mg(iK);var jK=function(a){this.o=u(a)};V(jK,v);jK.prototype.getId=function(){return C(this,1)};jK.prototype.J=function(){return D(this,1)};jK.prototype.G=function(){return Q(this,P,3)};var Al=Mg(jK);var kK=function(a){this.o=u(a)};V(kK,v);kK.prototype.getId=function(){return C(this,1)};kK.prototype.J=function(){return D(this,1)};kK.prototype.G=function(){return Q(this,P,2)};var Dl=Mg(kK);var lK=function(a){this.o=u(a)};V(lK,v);lK.prototype.getId=function(){return C(this,1)};var mK=function(a,b){return E(a,1,b)};l=lK.prototype;l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.setDescription=function(a){return E(this,3,a)};l.vc=function(){return R(this,3)};l.zf=function(a){He(this,8,bd,a,void 0,dd)};
var jC=function(a,b){return U(a,9,B(b))},nK=function(a,b){return rs(a,9,b)},kC=function(a,b){return U(a,10,B(b))},oK=function(a,b){return rs(a,10,b)},pK=function(a,b){return H(a,16,b)};lK.prototype.G=function(){return Q(this,P,17)};var Nja=function(a,b){return I(a,17,b)};lK.prototype.Ve=function(){return nE(this,20)};var Oja=function(a,b){return H(a,36,b)},Pja=function(a,b){return Nu(a,38,b)},Hm=Mg(lK);var qK=function(a){this.o=u(a)};V(qK,v);qK.prototype.getId=function(){return C(this,1)};qK.prototype.J=function(){return D(this,1)};var rK=function(a){this.o=u(a)};V(rK,v);l=rK.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.G=function(){return Q(this,P,4)};var Jm=Mg(rK);var tn=function(a){this.o=u(a)};V(tn,v);var sK=function(a){this.o=u(a)};V(sK,v);sK.prototype.hc=function(){return R(this,2)};sK.prototype.rb=function(){return D(this,2)};sK.prototype.X=function(){return Q(this,pn,3)};var un=function(a){var b=new sK;return I(b,3,a)},Wl=Mg(sK);var tK=function(a){this.o=u(a)};V(tK,v);tK.prototype.za=function(a){return Nr(this,1,B(a))};tK.prototype.G=function(){return Q(this,P,2)};tK.prototype.Ia=function(){return Rl(this,3,20)};var uK=Mg(tK);var vK=function(a){this.o=u(a)};V(vK,v);var Qja=function(a,b){return E(a,2,b)};vK.prototype.hc=function(){return R(this,2)};vK.prototype.rb=function(){return D(this,2)};vK.prototype.X=function(){return Q(this,tK,3)};var Rja=function(a,b){return I(a,3,b)},bn=Mg(vK);var wK=function(a){this.o=u(a)};V(wK,v);var xK=[3,4,5,6,7,8,9,10];var yK=function(a){this.o=u(a)};V(yK,v);yK.prototype.getId=function(){return C(this,1)};yK.prototype.J=function(){return D(this,1)};var Sja={Gr:0,Fr:1,Nr:2,Zr:3,bs:4,Qr:5};var zK=function(a){this.o=u(a)};V(zK,v);var AK=function(a){return Sp(a,pn,1)},BK=function(a,b){return I(a,1,b)};zK.prototype.O=function(){return hp(this,pn,1)};zK.prototype.hc=function(){return R(this,4)};zK.prototype.rb=function(){return D(this,4)};var Tja=function(a,b){return I(a,5,b)};var ox=function(a){this.o=u(a)};V(ox,v);var CK=function(a){this.o=u(a)};V(CK,v);CK.prototype.Ma=function(a){return z(this,gl,1,B(a))};var DK=function(a,b){return Nu(a,1,b)},EK=function(a,b){return O(a,3,b)};CK.prototype.Uc=function(){return C(this,4)};CK.prototype.Jb=function(a){return E(this,4,a)};var FK=function(a,b){return Nu(a,5,b)};CK.prototype.Zb=function(a){return H(this,6,a)};var Uja=function(a,b){return Ee(a,12,b,Cc)};CK.prototype.Hb=function(){return bl(this,13)};CK.prototype.yc=function(a){return G(this,13,a)};
var Vja=function(a,b){return Ee(a,16,b,Cc)},Wja=Pg(CK),GK=Mg(CK);var HK=function(a){this.o=u(a)};V(HK,v);var IK=function(a){this.o=u(a)};V(IK,v);var JK=function(a){this.o=u(a)};V(JK,v);var KK=function(a){this.o=u(a)};V(KK,v);var Lw=function(a){this.o=u(a)};V(Lw,v);Lw.prototype.getValue=function(){var a=a===void 0?0:a;var b;return(b=ak(this,1,void 0,void 0,wc))!=null?b:a};Lw.prototype.setValue=function(a){return Kw(this,1,a)};var Jw=function(a){this.o=u(a)};V(Jw,v);var Hw=function(a){this.o=u(a)};V(Hw,v);var LK=function(a){this.o=u(a)};V(LK,v);var MK=function(a){this.o=u(a)};V(MK,v);l=MK.prototype;l.hasLabel=function(){return R(this,1)};l.getValue=function(){return C(this,2)};l.setValue=function(a){return E(this,2,a)};l.Ca=function(){return D(this,2)};l.setDescription=function(a){return E(this,5,a)};l.vc=function(){return R(this,5)};var NK=function(a){this.o=u(a)};V(NK,v);var Xja=function(a,b){Nu(a,1,b)};var OK=function(a){this.o=u(a)};V(OK,v);var PK=function(a){this.o=u(a)};V(PK,v);var QK=function(a){this.o=u(a)};V(QK,v);var RK=function(a){this.o=u(a)};V(RK,v);var SK=function(a){this.o=u(a)};V(SK,v);var TK=function(a){this.o=u(a)};V(TK,v);TK.prototype.getId=function(){return C(this,1)};TK.prototype.J=function(){return D(this,1)};var UK=[8,9,10,11,12,13,14,15,17,18,19];var VK=[0,iF,$E,aF,dF,aF,-1,dF,UE,VE];var Yja=[0,vF,VK];var WK=function(a){this.o=u(a)};V(WK,v);WK.prototype.setBooleanValue=function(a){return H(this,5,a)};WK.prototype.setTextValue=function(a){return E(this,6,a)};var XK=function(a,b){rs(a,7,b)};WK.prototype.addTextValues=function(a,b){return He(this,7,bd,a,b,dd)};WK.prototype.setTextValues=function(a,b){return He(this,7,bd,b,a,dd,void 0,1)};WK.prototype.setLongTextValue=function(a){return E(this,8,a)};WK.prototype.setSelectionValue=function(a){return E(this,9,a)};
var YK=function(a,b){return rs(a,10,b)};WK.prototype.addSelectionValues=function(a,b){return He(this,10,bd,a,b,dd)};WK.prototype.setSelectionValues=function(a,b){return He(this,10,bd,b,a,dd,void 0,1)};WK.prototype.setIntegerValue=function(a){return hE(this,11,a)};var ZK=function(a,b){Ee(a,12,b,Nc)};WK.prototype.addIntegerValues=function(a,b){return He(this,12,Nc,a,b,Yc)};WK.prototype.setIntegerValues=function(a,b){return He(this,12,Nc,b,a,Yc,void 0,1)};
WK.prototype.setUserValue=function(a){return I(this,15,a)};var $K=function(a,b){Nu(a,16,b)};WK.prototype.addUserValues=function(a,b){return Oj(this,16,nv,a,b)};WK.prototype.setUserValues=function(a,b){return XD(this,16,nv,a,b)};WK.prototype.setDateStringValue=function(a){return E(this,17,a)};WK.prototype.getId=function(){return C(this,14)};var aL=function(a,b){return E(a,14,b)};WK.prototype.J=function(){return D(this,14)};WK.prototype.getName=function(){return C(this,1)};var Zja=[0,aF,VK,eF,Yja,iF,$E,aF,dF,aF,-1,dF,UE,VE,1,aF,vF,eF,vF,aF];var bL=function(a){this.o=u(a)};V(bL,v);bL.prototype.getName=function(){return C(this,1)};var cL=function(a,b){return E(a,1,b)},dL=function(a,b){Nu(a,2,b)};bL.prototype.Aa=function(){return C(this,3)};var eL=function(a,b){return E(a,3,b)};var fL=Lg([0,aF,eF,Zja,aF]);var El=function(a){this.o=u(a)};V(El,v);El.prototype.Aa=function(){return C(this,1)};var gL=function(a,b){return E(a,1,b)};El.prototype.Ia=function(){return Zt(this,2)};El.prototype.G=function(){return Q(this,P,3)};var hL=Mg(El);var iL=function(a){this.o=u(a)};V(iL,v);iL.prototype.R=function(){return am(this,1)};iL.prototype.setStatus=function(a){return G(this,1,a)};iL.prototype.ka=function(){return ws(this,1)};var jL=function(a,b){return Nu(a,2,b)};var kL=function(a){this.o=u(a)};V(kL,v);kL.prototype.G=function(){return Q(this,P,4)};var wl=Mg(kL);var lL=function(a){this.o=u(a)};V(lL,v);lL.prototype.R=function(){return am(this,1)};lL.prototype.setStatus=function(a){return G(this,1,a)};lL.prototype.ka=function(){return ws(this,1)};var mL=function(a,b){return I(a,2,b)};var nL=function(a){this.o=u(a)};V(nL,v);nL.prototype.Ia=function(){return Zt(this,3)};nL.prototype.G=function(){return Q(this,P,5)};var oL=function(a){this.o=u(a)};V(oL,v);var pL=function(a){this.o=u(a)};V(pL,v);pL.prototype.getName=function(){return C(this,1)};var $ja=function(a,b){return E(a,1,b)},aka=function(a,b){return E(a,2,b)},bka=function(a,b){return E(a,14,b)};l=pL.prototype;l.setTitle=function(a){return E(this,3,a)};l.Wa=function(){return R(this,3)};l.Fa=function(){return D(this,3)};l.setDescription=function(a){return E(this,4,a)};l.vc=function(){return R(this,4)};
var cka=function(a,b){return Nu(a,5,b)},dka=function(a,b){I(a,6,b)},eka=function(a,b){I(a,7,b)},fka=function(a,b){I(a,8,b)},gka=function(a,b){return O(a,9,b)},hka=function(a,b){return O(a,10,b)},ika=function(a,b){return O(a,11,b)},jka=function(a,b){I(a,12,b)},kka=function(a,b){I(a,13,b)},lka=function(a,b){return E(a,16,b)};var qL=function(a){this.o=u(a)};V(qL,v);qL.prototype.R=function(){return am(this,1)};qL.prototype.setStatus=function(a){return G(this,1,a)};qL.prototype.ka=function(){return ws(this,1)};var mka=function(a,b){Nu(a,2,b)};var rL=function(a){this.o=u(a)};V(rL,v);rL.prototype.getName=function(){return C(this,1)};rL.prototype.G=function(){return Q(this,P,2)};var hm=Mg(rL);var sL=function(a){this.o=u(a)};V(sL,v);sL.prototype.R=function(){return am(this,1)};sL.prototype.setStatus=function(a){return G(this,1,a)};sL.prototype.ka=function(){return ws(this,1)};var Rn=function(a){this.o=u(a)};V(Rn,v);Rn.prototype.getType=function(){return am(this,1)};var Un=function(a,b){return G(a,1,b)};Rn.prototype.B=function(){return Ys(this,1)};Rn.prototype.F=function(){return ws(this,1)};var Vn=function(a,b){return G(a,2,b)};Rn.prototype.A=function(){return Ys(this,2)};Rn.prototype.h=function(){return ws(this,2)};var Ct=function(a,b){return E(a,3,b)};Rn.prototype.V=function(){return R(this,3)};Rn.prototype.da=function(){return D(this,3)};
var Jq=function(a,b){return E(a,4,b)};Rn.prototype.K=function(){return Ys(this,5)};Rn.prototype.O=function(){return ws(this,5)};var tL=function(a){return H(a,6,!0)};l=Rn.prototype;l.Cp=function(){return T(this,6)};l.sp=function(){return F(this,6)};l.Ph=function(){return C(this,7)};l.Ae=function(a){return E(this,7,a)};l.Vn=function(){return R(this,7)};l.Pn=function(){return D(this,7)};var uL=function(a){return H(a,8,!0)};l=Rn.prototype;l.Tn=function(){return T(this,8)};
l.On=function(){return F(this,8)};l.hh=function(a){K(this,9,a)};l.Un=function(){return mE(this,9)};l.Qc=function(){return Aq(this,9)};var vL=function(a,b){return G(a,10,b)};l=Rn.prototype;l.Sh=function(){return Ys(this,10)};l.je=function(){return ws(this,10)};l.Tk=function(a){G(this,11,a)};l.Wn=function(){return Ys(this,11)};l.Qn=function(){return ws(this,11)};l.Dp=function(){return R(this,12)};l.up=function(){return D(this,12)};var Wn=function(a,b){return G(a,14,b)};
Rn.prototype.D=function(){return Ys(this,14)};Rn.prototype.g=function(){return ws(this,14)};var wL=function(a,b){K(a,15,b)};l=Rn.prototype;l.Sn=function(){return mE(this,15)};l.Id=function(){return Aq(this,15)};l.Lh=function(){return C(this,16)};l.ze=function(a){return E(this,16,a)};l.Rn=function(){return R(this,16)};l.Nn=function(){return D(this,16)};l.Bp=function(){return T(this,17)};l.rp=function(){return F(this,17)};l.Ep=function(){return R(this,19)};l.Nl=function(){return D(this,19)};
var ur=function(a,b){return E(a,21,b)},nka=function(a){H(a,28,!0)},xL=Pg(Rn),Xn=Mg(Rn);var yL=function(a){this.o=u(a)};V(yL,v);l=yL.prototype;l.Aa=function(){return C(this,1)};l.R=function(){return am(this,2)};l.setStatus=function(a){return G(this,2,a)};l.ka=function(){return ws(this,2)};l.getError=function(){return Q(this,Rn,3)};l.Ue=function(){return hp(this,Rn,3)};var WB=function(a){this.o=u(a)};V(WB,v);WB.prototype.getId=function(){return C(this,1)};WB.prototype.J=function(){return D(this,1)};var zL=function(a){this.o=u(a)};V(zL,v);var AL=function(a){this.o=u(a)};V(AL,v);AL.prototype.Aa=function(a){return dE(this,1,a)};AL.prototype.G=function(){return Q(this,P,3)};var BL=Mg(AL);var Su=function(a){this.o=u(a)};V(Su,v);Su.prototype.getItem=function(){return Q(this,gl,1)};Su.prototype.Qb=function(){return hp(this,gl,1)};Su.prototype.getError=function(){return Q(this,Rn,2)};Su.prototype.Ue=function(){return hp(this,Rn,2)};var CL=function(a){this.o=u(a)};V(CL,v);CL.prototype.pi=function(a){return lE(this,1,a)};var Nl=Mg(CL);var DL=function(a){this.o=u(a)};V(DL,v);Object.create(null);var EL=function(){};EL.prototype.equals=function(a){return FL(this,a)};EL.prototype.Rb=function(){return GL(this)};EL.prototype.toString=function(){var a=DB(HL(IL(JL(this))))+"@",b=this.Rb();return a+DB((b>>>0).toString(16))};EL.prototype.P=["java.lang.Object",0];var KL,LL=function(){LL=function(){};var a=ML([256],NL,OL);for(let b=0;b<256;b=b+1|0)PL(a,b,QL(b-128|0));KL=a};var RL=function(){};V(RL,EL);var TL=function(a,b){a.h=b;SL(a)},UL=function(a,b){a.sa=b;oka(b,a)},SL=function(a){VL(a.sa)&&(Error.captureStackTrace?Error.captureStackTrace(yB(a.sa,VL,WL)):yB(a.sa,VL,WL).stack=Error().stack)};RL.prototype.toString=function(){var a=HL(IL(JL(this))),b=this.h;return b==null?a:DB(a)+": "+DB(b)};
var ZL=function(a){if(a!=null){var b=a.xo;if(b)return b}a instanceof TypeError?b=XL():(b=new YL,SL(b),UL(b,Error(b)));b.h=a==null?"null":a.toString();UL(b,a);return b},$L=function(a){return a instanceof RL};RL.prototype.P=["java.lang.Throwable",0];var aM=function(){};V(aM,RL);aM.prototype.P=["java.lang.Exception",0];var bM=function(){};V(bM,aM);bM.prototype.P=["java.lang.RuntimeException",0];var cM=function(){};V(cM,bM);var dM=function(a){var b=new cM;TL(b,a);UL(b,Error(b));return b};cM.prototype.P=["java.lang.IndexOutOfBoundsException",0];var eM=function(a){var b;a.ub()?b={value:a.Bb(),done:!1}:b={value:null,done:!0};return b};var fM=function(){};V(fM,bM);var gM=function(){var a=new fM;SL(a);UL(a,Error(a));return a};fM.prototype.P=["java.lang.UnsupportedOperationException",0];var FL=function(a,b){return Object.is(a,b)||a==null&&b==null};var hM=function(){};V(hM,bM);var iM=function(a){var b=new hM;TL(b,a);UL(b,Error(b));return b},jM=function(a,b){var c=new hM;c.g=b;c.h=a;SL(c);UL(c,Error(c));return c};hM.prototype.P=["java.lang.IllegalStateException",0];var kM=function(){};V(kM,EL);kM.prototype.P=["java.lang.Number",0];var lM=function(){};V(lM,kM);lM.prototype.P=["java.lang.Double",0];var Rg=function(a,b){this.Za=a|0;this.Na=b|0},mM=function(a){return a.Na*4294967296+(a.Za>>>0)};Rg.prototype.isSafeInteger=function(){var a=this.Na>>21;return a==0||a==-1&&!(this.Za==0&&this.Na==-2097152)};
Rg.prototype.toString=function(a){a=a||10;if(a<2||36<a)throw Error("P`"+a);if(this.isSafeInteger()){var b=mM(this);return a==10?""+b:b.toString(a)}b=14-(a>>2);var c=Math.pow(a,b),d=nM(c,c/4294967296);c=this.div(d);d=Math.abs(mM(oM(this,c.multiply(d))));var e=a==10?""+d:d.toString(a);e.length<b&&(e="0000000000000".slice(e.length-b)+e);d=mM(c);return(a==10?d:d.toString(a))+e};
var Lj=function(a){if(a.Na>=0)return a.toString(void 0);var b=fba(10);var c=a.Na;c=nM(a.Za>>>1|c<<31,c>>>1);c=c.div(b).shiftLeft(1);var d=oM(a,c.multiply(b));d.compare(b)>=0&&(c=c.add(pM),d=oM(a,c.multiply(b)));return c.toString(10)+d.toString(10)};Rg.prototype.Qf=function(){return this.Za==0&&this.Na==0};Rg.prototype.Rb=function(){return this.Za^this.Na};Rg.prototype.equals=function(a){return a==null?!1:this.Za==a.Za&&this.Na==a.Na};
Rg.prototype.compare=function(a){return this.Na==a.Na?this.Za==a.Za?0:this.Za>>>0>a.Za>>>0?1:-1:this.Na>a.Na?1:-1};var qM=function(a){var b=~a.Za+1|0;return nM(b,~a.Na+!b|0)};Rg.prototype.add=function(a){var b=this.Na>>>16,c=this.Na&65535,d=this.Za>>>16,e=a.Na>>>16,f=a.Na&65535,g=a.Za>>>16;a=(this.Za&65535)+(a.Za&65535);g=(a>>>16)+(d+g);d=g>>>16;d+=c+f;return nM((g&65535)<<16|a&65535,((d>>>16)+(b+e)&65535)<<16|d&65535)};var oM=function(a,b){return a.add(qM(b))};l=Rg.prototype;
l.multiply=function(a){if(this.Qf())return this;if(a.Qf())return a;var b=this.Na>>>16,c=this.Na&65535,d=this.Za>>>16,e=this.Za&65535,f=a.Na>>>16,g=a.Na&65535,h=a.Za>>>16;a=a.Za&65535;var k=e*a;var m=(k>>>16)+d*a;var p=m>>>16;m=(m&65535)+e*h;p+=m>>>16;p+=c*a;var t=p>>>16;p=(p&65535)+d*h;t+=p>>>16;p=(p&65535)+e*g;t=t+(p>>>16)+(b*a+c*h+d*g+e*f)&65535;return nM((m&65535)<<16|k&65535,t<<16|p&65535)};
l.div=function(a){if(a.Qf())throw Error("Q");if(this.Na<0){if(this.equals(rM)){if(a.equals(pM)||a.equals(sM))return rM;if(a.equals(rM))return pM;var b=this.Na;b=nM(this.Za>>>1|b<<31,b>>1);b=b.div(a).shiftLeft(1);if(b.equals(tM))return a.Na<0?pM:sM;var c=oM(this,a.multiply(b));return b.add(c.div(a))}return a.Na<0?qM(this).div(qM(a)):qM(qM(this).div(a))}if(this.Qf())return tM;if(a.Na<0)return a.equals(rM)?tM:qM(this.div(qM(a)));b=tM;for(c=this;c.compare(a)>=0;){let e=Math.max(1,Math.floor(mM(c)/mM(a)));
var d=Math.ceil(Math.log(e)/Math.LN2);d=d<=48?1:Math.pow(2,d-48);let f=uM(e),g=f.multiply(a);for(;g.Na<0||g.compare(c)>0;)e-=d,f=uM(e),g=f.multiply(a);f.Qf()&&(f=pM);b=b.add(f);c=oM(c,g)}return b};l.not=function(){return nM(~this.Za,~this.Na)};l.and=function(a){return nM(this.Za&a.Za,this.Na&a.Na)};l.or=function(a){return nM(this.Za|a.Za,this.Na|a.Na)};l.xor=function(a){return nM(this.Za^a.Za,this.Na^a.Na)};
l.shiftLeft=function(a){a&=63;if(a==0)return this;var b=this.Za;return a<32?nM(b<<a,this.Na<<a|b>>>32-a):nM(0,b<<a-32)};
var uM=function(a){return a>0?a>=0x7fffffffffffffff?pka:new Rg(a,a/4294967296):a<0?a<=-0x7fffffffffffffff?rM:qM(new Rg(-a,-a/4294967296)):tM},Xj=function(a){a=BigInt(a);return nM(Number(BigInt.asIntN(32,a)),Number(BigInt.asIntN(32,a>>BigInt(32))))},nM=function(a,b){return new Rg(a,b)},Uj=function(a,b){if(a.charAt(0)=="-")return qM(Uj(a.substring(1),b));var c=parseInt(a,b||10);if(c<=9007199254740991)return new Rg(c%4294967296|0,c/4294967296|0);if(a.length==0)throw Error("R");if(a.indexOf("-")>=0)throw Error("S`"+
a);b=b||10;if(b<2||36<b)throw Error("P`"+b);c=uM(Math.pow(b,8));var d=tM;for(let e=0;e<a.length;e+=8){let f=Math.min(8,a.length-e),g=parseInt(a.substring(e,e+f),b);f<8?d=d.multiply(uM(Math.pow(b,f))).add(uM(g)):(d=d.multiply(c),d=d.add(uM(g)))}return d},Qg={},tM=nM(0,0),pM=nM(1,0),sM=nM(-1,-1),pka=nM(4294967295,2147483647),rM=nM(0,2147483648);var vM=function(){};V(vM,EL);vM.prototype.P=["java.lang.Boolean",0];var wM=function(){},xM=function(){return!0};wM.en=!1;wM.prototype.P=["boolean",3,"Z"];wM.prototype.Ck=!0;var yM=function(){};V(yM,EL);l=yM.prototype;l.add=function(){throw gM().sa;};l.clear=function(){for(let a=this.Eb();a.ub();)a.Bb(),a.kd()};l.contains=function(a){return zM(this,a,!1)};l.ib=function(){return this.size()==0};l.remove=function(a){return zM(this,a,!0)};l.Qj=function(a){var b=this.size();if(a.length<b){var c=Array(b);c.Xd=a.Xd;a=c}c=a;var d=this.Eb();for(let e=0;e<b;e=e+1|0)PL(c,e,d.Bb());a.length>b&&PL(a,b,null);return a};
l.toString=function(){var a=AM("[","]");for(let b=this.Eb();b.ub();){let c=b.Bb();BM(a,FL(c,this)?"(this Collection)":DB(c))}return a.toString()};var zM=function(a,b,c){for(a=a.Eb();a.ub();){let d=a.Bb();if(CM(b,d))return c&&a.kd(),!0}return!1};yM.prototype.P=["java.util.AbstractCollection",0];var YL=function(){};V(YL,bM);YL.prototype.P=["java.lang.JsException",0];var DM=function(){};V(DM,YL);var XL=function(){var a=new DM;SL(a);UL(a,new TypeError(a));return a},EM=function(a){var b=new DM;TL(b,a);UL(b,new TypeError(b));return b};DM.prototype.P=["java.lang.NullPointerException",0];var CM=function(a,b){return FL(a,b)||a!=null&&FM(a,b)},HM=function(a){return a!=null?GM(a):0},zB=function(a){if(a==null)throw XL().sa;return a};var KM=function(a){switch(IM(typeof a)){case "string":return JM(a);case "number":return a=IM(a),Math.max(Math.min(a,2147483647),-2147483648)|0;case "boolean":return IM(a)?1231:1237;default:return a==null?0:GL(a)}},LM=0,GL=function(a){return a.Hk||(Object.defineProperties(a,{Hk:{value:LM=LM+1|0,enumerable:!1}}),a.Hk)};var FM=function(a,b){return a.equals?a.equals(b):Object.is(a,b)},GM=function(a){return a.Rb?a.Rb():KM(a)},PM=function(a){switch(IM(typeof a)){case "number":return IL(lM);case "boolean":return IL(vM);case "string":return IL(BB);case "function":return IL(MM)}if(a instanceof Rg)a=IL(NM);else if(a instanceof EL)a=IL(JL(a));else if(Array.isArray(a))a=(a=a.Xd)?IL(a.Rf,a.Ef):IL(EL,1);else if(a!=null)a=IL(OM);else throw new TypeError("T");return a};var MM=function(){},QM=function(a){return typeof a=="function"||a!=null&&!!a.dn};MM.prototype.P=["<native function>",1];MM.prototype.dn=!0;var OM=function(){};V(OM,EL);OM.prototype.P=["<native object>",0];var NL=function(){this.g=0};V(NL,kM);var W=function(a){a>-129&&a<128?(LL(),a=KL[a+128|0]):a=QL(a);return a},QL=function(a){var b=new NL;b.g=a;return b};NL.prototype.equals=function(a){return OL(a)&&yB(a,OL,NL).g==this.g};NL.prototype.Rb=function(){return this.g};NL.prototype.intValue=function(){return this.g};NL.prototype.toString=function(){return""+this.g};var OL=function(a){return a instanceof NL};NL.prototype.P=["java.lang.Integer",0];var NM=function(){};V(NM,kM);NM.prototype.P=["java.lang.Long",0];var RM=function(){},SM=function(a){return a!=null&&!!a.Fi};RM.prototype.Fi=!0;RM.prototype.P=["java.util.List",1];var TM=function(){};V(TM,yM);l=TM.prototype;l.add=function(a){this.gl(this.size(),a);return!0};l.gl=function(){throw gM().sa;};l.clear=function(){this.lm(0,this.size())};l.equals=function(a){if(FL(a,this))return!0;if(!SM(a))return!1;a=yB(a,SM,RM);if(this.size()!=a.size())return!1;a=a.Eb();for(let b=this.Eb();b.ub();){let c=b.Bb(),d=a.Bb();if(!CM(c,d))return!1}return!0};l.Rb=function(){var a=1;for(let b=this.Eb();b.ub();){let c=b.Bb();a=Math.imul(31,a)+HM(c)|0}return a};
l.indexOf=function(a){for(let b=0,c=this.size();b<c;b=b+1|0)if(CM(a,this.Jh(b)))return b;return-1};l.Eb=function(){var a=new UM;a.j=this;a.g=0;a.h=-1;return a};l.lastIndexOf=function(a){for(let b=this.size()-1|0;b>-1;b=b-1|0)if(CM(a,this.Jh(b)))return b;return-1};l.Km=function(){throw gM().sa;};l.lm=function(a,b){var c=new VM;c.j=this;c.g=0;c.h=-1;WM(a,this.size());for(c.g=a;a<b;a=a+1|0)c.Bb(),c.kd()};l.Fi=!0;l.P=["java.util.AbstractList",0];var XM=function(){};V(XM,TM);l=XM.prototype;l.contains=function(a){return this.indexOf(a)!=-1};l.Jh=function(a){var b=this.g.length;if(a<0||a>=b)throw dM("Index: "+a+", Size: "+b).sa;return this.g[a]};l.indexOf=function(a){a:{var b=0;for(let c=this.g.length;b<c;b=b+1|0)if(CM(a,this.g[b])){a=b;break a}a=-1}return a};l.Eb=function(){var a=new YM;a.j=this;a.g=0;a.h=-1;return a};l.lastIndexOf=function(a){a:{for(var b=this.g.length-1|0;b>=0;b=b-1|0)if(CM(a,this.g[b])){a=b;break a}a=-1}return a};
l.Km=function(a){this.Jh(a);this.g.splice(a,1)};l.remove=function(a){a=this.indexOf(a);if(a==-1)return!1;this.g.splice(a,1);return!0};l.size=function(){return this.g.length};l.Qj=function(a){var b=this.g.length;if(a.length<b){var c=Array(b);c.Xd=a.Xd;a=c}for(c=0;c<b;c=c+1|0)PL(a,c,this.g[c]);a.length>b&&PL(a,b,null);return a};l.Fi=!0;l.P=["java.util.ArrayListBase",0];var ZM=function(){};V(ZM,XM);ZM.prototype.add=function(a){this.g.push(a);return!0};ZM.prototype.gl=function(a,b){WM(a,this.g.length);this.g.splice(a,0,b)};ZM.prototype.lm=function(a,b){var c=this.g.length;if(a<0||b>c)throw dM("fromIndex: "+a+", toIndex: "+b+", size: "+c).sa;if(a>b)throw CB("fromIndex: "+a+" > toIndex: "+b).sa;this.g.splice(a,b-a|0)};ZM.prototype.P=["java.util.ArrayList",0];var YM=function(){this.h=this.g=0};V(YM,EL);l=YM.prototype;l.ub=function(){return this.g<this.j.g.length};l.Bb=function(){$M(this.ub());var a;this.h=(a=this.g,this.g=this.g+1|0,a);return this.j.g[this.h]};l.kd=function(){aN(this.h!=-1);var a=this.j,b=this.g=this.h;a.g.splice(b,1);this.h=-1};l.next=function(){return eM(this)};l.P=["java.util.ArrayListBase$1",0];var bN=function(a){this.g=a};V(bN,EL);bN.prototype.P=["java.util.function.Function$$LambdaAdaptor",0];var cN=function(){};V(cN,bM);cN.prototype.P=["java.util.NoSuchElementException",0];var dN=function(){},eN=function(a){return a!=null&&!!a.ah};dN.prototype.ah=!0;dN.prototype.P=["java.util.Map$Entry",1];var fN=function(){},gN=function(a){return a!=null&&!!a.Fk};fN.prototype.Fk=!0;fN.prototype.P=["java.util.Set",1];var hN=function(){};V(hN,yM);hN.prototype.equals=function(a){if(FL(a,this))return!0;if(!gN(a))return!1;a=yB(a,gN,fN);if(a.size()!=this.size())a=!1;else a:{IM(a);for(a=a.Eb();a.ub();){let b=a.Bb();if(!this.contains(b)){a=!1;break a}}a=!0}return a};hN.prototype.Rb=function(){return iN(this)};hN.prototype.Fk=!0;hN.prototype.P=["java.util.AbstractSet",0];var jN=function(){};V(jN,EL);l=jN.prototype;l.ub=function(){return this.g.ub()};l.Bb=function(){return yB(this.g.Bb(),eN,dN).getValue()};l.kd=function(){this.g.kd()};l.next=function(){return eM(this)};l.P=["java.util.AbstractMap$2$1",0];var kN=function(){};V(kN,yM);l=kN.prototype;l.clear=function(){this.g.clear()};l.contains=function(a){return this.g.B(a)};l.Eb=function(){var a=this.g.ge().Eb(),b=new jN;b.g=a;return b};l.size=function(){return this.g.size()};l.P=["java.util.AbstractMap$2",0];var lN=function(){};V(lN,EL);l=lN.prototype;l.Vb=function(){return this.h};l.getValue=function(){return this.g};l.setValue=function(a){var b=this.g;this.g=a;return b};l.equals=function(a){if(!eN(a))return!1;a=yB(a,eN,dN);return CM(this.h,a.Vb())&&CM(this.g,a.getValue())};l.Rb=function(){return HM(this.h)^HM(this.g)};l.toString=function(){return DB(this.h)+"="+DB(this.g)};l.ah=!0;l.P=["java.util.AbstractMap$AbstractEntry",0];var mN=function(){};V(mN,lN);var nN=function(a,b){var c=new mN;c.h=a;c.g=b;return c};mN.prototype.P=["java.util.AbstractMap$SimpleEntry",0];var oN=function(){},pN=function(a){return a!=null&&!!a.Ek};oN.prototype.Ek=!0;oN.prototype.P=["java.util.Map",1];var qN=function(){};V(qN,EL);qN.prototype.clear=function(){this.ge().clear()};qN.prototype.A=function(a){return!!rN(this,a,!1)};qN.prototype.B=function(a){for(let b=this.ge().Eb();b.ub();){let c=yB(b.Bb(),eN,dN).getValue();if(CM(a,c))return!0}return!1};var sN=function(a,b){var c=b.Vb();b=b.getValue();var d=a.get(c);return!CM(b,d)||d==null&&!a.A(c)?!1:!0};l=qN.prototype;
l.equals=function(a){if(FL(a,this))return!0;if(!pN(a))return!1;a=yB(a,pN,oN);if(this.size()!=a.size())return!1;for(a=a.ge().Eb();a.ub();){let b=yB(a.Bb(),eN,dN);if(!sN(this,b))return!1}return!0};l.get=function(a){return tN(rN(this,a,!1))};l.Rb=function(){return iN(this.ge())};l.ib=function(){return this.size()==0};l.Pi=function(){throw gM().sa;};l.remove=function(a){return tN(rN(this,a,!0))};l.size=function(){return this.ge().size()};
l.toString=function(){var a=AM("{","}");for(let c=this.ge().Eb();c.ub();){var b=yB(c.Bb(),eN,dN);b=DB(uN(this,b.Vb()))+"="+DB(uN(this,b.getValue()));BM(a,b)}return a.toString()};var uN=function(a,b){return FL(b,a)?"(this Map)":DB(b)};qN.prototype.values=function(){var a=new kN;a.g=this;return a};var tN=function(a){return a?a.getValue():null},rN=function(a,b,c){for(a=a.ge().Eb();a.ub();){let d=yB(a.Bb(),eN,dN);if(CM(b,d.Vb()))return c&&(d=nN(d.Vb(),d.getValue()),a.kd()),d}return null};
qN.prototype.replace=function(a,b){return this.A(a)?this.Pi(a,b):null};qN.prototype.Ek=!0;qN.prototype.P=["java.util.AbstractMap",0];var vN=function(){};V(vN,EL);vN.prototype.toString=function(){return this.g};vN.prototype.P=["java.lang.AbstractStringBuilder",0];var wN=function(){};V(wN,vN);var xN=function(){var a=new wN;a.g="";return a},yN=function(a){var b=new wN;a=yB(IM(a),AB,BB);b.g=a;return b},zN=function(a,b){a.g=DB(a.g)+DB(b);return a},AN=function(a,b){a.g=DB(a.g)+DB(b);return a};wN.prototype.P=["java.lang.StringBuilder",0];var BN=function(){};V(BN,EL);var AM=function(a,b){var c=new BN;c.A=", ".toString();c.j=a.toString();c.h=b.toString();c.B=DB(c.j)+DB(c.h);return c},BM=function(a,b){a.g?AN(a.g,a.A):a.g=yN(a.j);a=a.g;a.g=DB(a.g)+DB(b)};BN.prototype.toString=function(){return this.g?this.h.length==0?this.g.toString():DB(this.g.toString())+DB(this.h):this.B};BN.prototype.P=["java.util.StringJoiner",0];var iN=function(a){var b=0;for(a=a.Eb();a.ub();){let c=a.Bb();b=b+HM(c)|0}return b};var CN=function(){};V(CN,hN);l=CN.prototype;l.clear=function(){this.g.clear()};l.contains=function(a){return eN(a)?sN(this.g,yB(a,eN,dN)):!1};l.Eb=function(){var a=new DN;a.g=this.g;a.D=a.g.j.Eb();a.h=a.D;a.j=EN(a);a.A=a.g.h;return a};l.remove=function(a){return this.contains(a)?(a=yB(a,eN,dN).Vb(),this.g.remove(a),!0):!1};l.size=function(){return this.g.size()};l.P=["java.util.AbstractHashMap$EntrySet",0];var DN=function(){this.j=!1;this.A=0};V(DN,EL);DN.prototype.ub=function(){return this.j};var EN=function(a){if(a.h.ub())return!0;if(!FL(a.h,a.D))return!1;a.h=a.g.g.Eb();return a.h.ub()};DN.prototype.kd=function(){aN(!!this.B);if(this.g.h!=this.A)throw FN().sa;this.B.kd();this.B=null;this.j=EN(this);this.A=this.g.h};DN.prototype.next=function(){return eM(this)};DN.prototype.Bb=function(){if(this.g.h!=this.A)throw FN().sa;$M(this.ub());this.B=this.h;var a=yB(this.h.Bb(),eN,dN);this.j=EN(this);return a};
DN.prototype.P=["java.util.AbstractHashMap$EntrySetIterator",0];var GN=function(){this.h=0};V(GN,qN);GN.prototype.clear=function(){HN(this)};var HN=function(a){var b=new IN;b.h=new Map;b.j=a;a.g=b;b=new JN;b.g=new Map;b.A=a;a.j=b;KN(a)},KN=function(a){a.h=a.h+1|0};GN.prototype.A=function(a){return AB(a)?this.j.g.has(a):!!LN(a,MN(this.g,a==null?0:GM(a)))};GN.prototype.B=function(a){return NN(a,this.j)||NN(a,this.g)};var NN=function(a,b){for(let d=b.Eb();d.ub();){var c=yB(d.Bb(),eN,dN);b=a;c=c.getValue();if(CM(b,c))return!0}return!1};l=GN.prototype;
l.ge=function(){var a=new CN;a.g=this;return a};l.get=function(a){return AB(a)?this.j.g.get(a):tN(LN(a,MN(this.g,a==null?0:GM(a))))};l.Pi=function(a,b){if(AB(a))a=ON(this.j,a,b);else a:{var c=this.g,d=a==null?0:GM(a);let e=MN(c,d);if(e.length==0)c.h.set(d,e);else if(d=LN(a,e)){a=d.setValue(b);break a}PL(e,e.length,nN(a,b));c.g=c.g+1|0;KN(c.j);a=null}return a};l.remove=function(a){return AB(a)?PN(this.j,a):QN(this.g,a)};l.size=function(){return this.g.g+this.j.j|0};
l.P=["java.util.AbstractHashMap",0];var RN=function(){this.g=0};V(RN,EL);l=RN.prototype;l.ub=function(){if(this.g<this.h.length)return!0;var a=this.B.next();return a.done?!1:(this.h=a.value[1],this.g=0,!0)};l.kd=function(){QN(this.A,this.j.Vb());this.g!=0&&(this.g=this.g-1|0)};l.next=function(){return eM(this)};l.Bb=function(){var a;return this.j=this.h[a=this.g,this.g=this.g+1|0,a]};l.P=["java.util.InternalHashCodeMap$1",0];var IN=function(){this.g=0};V(IN,EL);var QN=function(a,b){var c=b==null?0:GM(b),d=MN(a,c);for(let e=0;e<d.length;e=e+1|0){let f=d[e];if(CM(b,f.Vb()))return d.length==1?(d.length=0,a.h.delete(c)):d.splice(e,1),a.g=a.g-1|0,KN(a.j),f.getValue()}return null},LN=function(a,b){for(let c=b,d=0;d<c.length;d++)if(b=c[d],CM(a,b.Vb()))return b;return null};IN.prototype.Eb=function(){var a=new RN;a.A=this;a.B=a.A.h.entries();a.g=0;a.h=[];a.j=null;return a};var MN=function(a,b){return(a=a.h.get(b))?a:[]};
IN.prototype.P=["java.util.InternalHashCodeMap",0];var SN=function(){};V(SN,EL);l=SN.prototype;l.ub=function(){return!this.h.done};l.kd=function(){PN(this.g,this.A.value[0])};l.next=function(){return eM(this)};l.Bb=function(){this.A=this.h;this.h=this.j.next();var a=new TN,b=this.A,c=this.g.h;a.h=this.g;a.g=b;a.j=c;return a};l.P=["java.util.InternalStringMap$1",0];var UN=function(){};V(UN,EL);l=UN.prototype;l.equals=function(a){if(!eN(a))return!1;a=yB(a,eN,dN);return CM(this.Vb(),a.Vb())&&CM(this.getValue(),a.getValue())};l.Rb=function(){return HM(this.Vb())^HM(this.getValue())};l.toString=function(){return DB(this.Vb())+"="+DB(this.getValue())};l.ah=!0;l.P=["java.util.AbstractMapEntry",0];var TN=function(){this.j=0};V(TN,UN);TN.prototype.Vb=function(){return this.g.value[0]};TN.prototype.getValue=function(){return this.h.h!=this.j?this.h.g.get(this.g.value[0]):this.g.value[1]};TN.prototype.setValue=function(a){return ON(this.h,this.g.value[0],a)};TN.prototype.P=["java.util.InternalStringMap$2",0];var JN=function(){this.h=this.j=0};V(JN,EL);var ON=function(a,b,c){var d=a.g.get(b);a.g.set(b,c===void 0?null:c);d===void 0?(a.j=a.j+1|0,KN(a.A)):a.h=a.h+1|0;return d},PN=function(a,b){var c=a.g.get(b);c===void 0?a.h=a.h+1|0:(a.g.delete(b),a.j=a.j-1|0,KN(a.A));return c};JN.prototype.Eb=function(){var a=new SN;a.g=this;a.j=a.g.g.entries();a.h=a.j.next();return a};JN.prototype.P=["java.util.InternalStringMap",0];var VN=function(){this.h=0};V(VN,GN);VN.prototype.P=["java.util.HashMap",0];var WN=function(){this.g=0};V(WN,EL);l=WN.prototype;l.name=function(){return this.h!=null?this.h:""+this.g};l.equals=function(a){return FL(this,a)};l.Rb=function(){return EL.prototype.Rb.call(this)};l.toString=function(){return this.name()};l.P=["java.lang.Enum",0];var XN=function(){};V(XN,bM);var YN=function(a){var b=new XN;TL(b,a);UL(b,Error(b));return b};XN.prototype.P=["java.lang.ClassCastException",0];var ZN=function(){};V(ZN,bM);var CB=function(a){var b=new ZN;TL(b,a);UL(b,Error(b));return b};ZN.prototype.P=["java.lang.IllegalArgumentException",0];var JL=function(a){return a.constructor},rka=function(a,b,c){if(Object.prototype.hasOwnProperty.call(a.prototype,b))return a.prototype[b];c=c();return a.prototype[b]=c};var UM=function(){this.h=this.g=0};V(UM,EL);l=UM.prototype;l.ub=function(){return this.g<this.j.size()};l.Bb=function(){$M(this.ub());var a;return this.j.Jh(this.h=(a=this.g,this.g=this.g+1|0,a))};l.kd=function(){aN(this.h!=-1);this.j.Km(this.h);this.g=this.h;this.h=-1};l.next=function(){return eM(this)};l.P=["java.util.AbstractList$IteratorImpl",0];var VM=function(){UM.call(this)};V(VM,UM);VM.prototype.P=["java.util.AbstractList$ListIteratorImpl",0];var BB=function(){};V(BB,EL);var DB=function(a){return a==null?"null":a.toString()},$N=function(a,b){return FL(IM(a),b)},JM=function(a){var b=0;for(let e=0;e<a.length;e=e+1|0){b=(b<<5)-b;var c=a,d=e;aO(d,c.length);b=b+c.charCodeAt(d)|0}return b},wka=function(a){var b=String.fromCodePoint(47);return a.indexOf(b)},cO=function(a,b,c){var d=a.length;if(b<0||c>d||c<b)throw bO("fromIndex: "+b+", toIndex: "+c+", length: "+d).sa;return a.substr(b,c-b|0)},AB=function(a){return"string"===typeof a};
BB.prototype.P=["java.lang.String",0];var WL=function(){},VL=function(a){return a instanceof Error};WL.prototype.P=["Error",0];var oka=function(a,b){if(a instanceof Object)try{a.xo=b,Object.defineProperties(a,{cause:{get:function(){return b.g&&b.g.sa}}})}catch(c){}};var dO=function(){};V(dO,bM);dO.prototype.P=["java.lang.ArrayStoreException",0];var eO=function(){};V(eO,cM);var bO=function(a){var b=new eO;TL(b,a);UL(b,Error(b));return b};eO.prototype.P=["java.lang.StringIndexOutOfBoundsException",0];var fO=function(){};V(fO,bM);var FN=function(){var a=new fO;SL(a);UL(a,Error(a));return a};fO.prototype.P=["java.util.ConcurrentModificationException",0];var $M=function(a){if(!a)throw a=new cN,SL(a),UL(a,Error(a)),a.sa;},aN=function(a){if(!a)throw a=new hM,SL(a),UL(a,Error(a)),a.sa;},IM=function(a){if(a==null)throw XL().sa;return a},aO=function(a,b){if(a<0||a>=b)throw bO("Index: "+a+", Size: "+b).sa;},WM=function(a,b){if(a<0||a>b)throw dM("Index: "+a+", Size: "+b).sa;};var ML=function(a,b,c){return gO(a,hO(b,c,a.length))},gO=function(a,b){var c=a[0];if(c==null)return null;var d=new globalThis.Array(c);b&&(d.Xd=b);if(a.length>1){a=a.slice(1);b=b&&hO(b.Rf,b.Nj,b.Ef-1);for(let e=0;e<c;e++)d[e]=gO(a,b)}else if(b&&(a=b.Rf.en,a!==void 0))for(b=0;b<c;b++)d[b]=a;return d},iO=function(a,b,c){a.Xd=hO(b,c,1);return a},PL=function(a,b,c){var d;if(!(d=c==null))a:{if(d=a.Xd)if(d.Ef>1){if(!jO(c,d.Rf,d.Nj,d.Ef-1)){d=!1;break a}}else if(c!=null&&!d.Nj(c)){d=!1;break a}d=!0}if(!d)throw a=
new dO,SL(a),UL(a,Error(a)),a.sa;a[b]=c},jO=function(a,b,c,d){if(a==null||!Array.isArray(a))return!1;a=a.Xd||{Rf:EL,Ef:1};var e=a.Ef;return e==d?(d=a.Rf,d===b?!0:b&&b.prototype.Ck||d&&d.prototype.Ck?!1:c(d.prototype)):e>d?EL==b:!1},kO=function(a,b,c){if(a!=null&&!jO(a,b,c,1))throw b=IL(b,1),a=HL(PM(a))+" cannot be cast to "+HL(b),YN(a).sa;return a},hO=function(a,b,c){return{Rf:a,Nj:b,Ef:c}};var lO=function(a,b){this.h=0;this.g=a;this.h=b};V(lO,EL);var IL=function(a,b){var c=b||0;return rka(a,"$$class/"+c,function(){return new lO(a,c)})},HL=function(a){return a.h!=0?DB(mO("[",a.h))+DB(a.g.prototype.P[1]==3?a.g.prototype.P[2]:"L"+DB(a.g.prototype.P[0])+";"):a.g.prototype.P[0]},nO=function(a){return DB(a.g.prototype.P[0])+DB(mO("[]",a.h))},oO=function(a,b){b=a.lastIndexOf(b)+1|0;aO(b,a.length+1|0);return a.substr(b)};
lO.prototype.toString=function(){return String(this.h==0&&this.g.prototype.P[1]==1?"interface ":this.h==0&&this.g.prototype.P[1]==3?"":"class ")+DB(HL(this))};var mO=function(a,b){var c="";for(let d=0;d<b;d=d+1|0)c=DB(c)+DB(a);return c};lO.prototype.P=["java.lang.Class",0];var yB=function(a,b,c){if(a!=null&&!b(a))throw a=DB(HL(PM(a)))+" cannot be cast to "+DB(HL(IL(c))),YN(a).sa;return a};yb.prototype.equals=function(a){return KD(this,a)};yb.prototype.Rb=function(){return jf(this)+ef()|0};var pO=function(a){this.o=u(a)};V(pO,v);var xka=function(a,b){O(a,2,b)};var qO=function(a){this.o=u(a)};V(qO,v);var rO=function(a){this.o=u(a)};V(rO,v);var sO=function(a){this.o=u(a)};V(sO,v);var tO=function(a){this.o=u(a)};V(tO,v);var yka=function(a){var b=uO;ne(a);a=a.o;Ne(a,a[rb]|0,b,0)};tO.prototype.getItem=function(){return Q(this,gl,1)};tO.prototype.Qb=function(){return hp(this,gl,1)};var uO=[2,3,4,5];var Vx=function(a){this.o=u(a)};V(Vx,v);l=Vx.prototype;l.R=function(){return bl(this,1,1)};l.setStatus=function(a){return G(this,1,a)};l.ka=function(){return ws(this,1)};l.xd=function(){return z(this,tO,5,B())};l.si=function(a){Nu(this,5,a)};l.xl=function(){S(this,5)};l.Hh=function(){return WD(this,tO,5)};var vO=function(a){this.o=u(a)};V(vO,v);vO.prototype.X=function(){return Q(this,yA,1)};var zka=function(a,b){return I(a,1,b)};vO.prototype.Sa=function(){return Q(this,Vx,2)};var Aka=function(a,b){return I(a,2,b)};vO.prototype.Ma=function(a){return z(this,gl,3,B(a))};var Bka=function(a,b){return Nu(a,3,b)},Cka=Mg(vO);var wO=function(a){this.o=u(a)};V(wO,v);var xO=function(a){this.o=u(a)};V(xO,v);var yO=function(a){this.o=u(a)};V(yO,v);var zO=function(a){this.o=u(a)};V(zO,v);var Gw=function(a){this.o=u(a)};V(Gw,v);var Ew=function(a){this.o=u(a)};V(Ew,v);var Dw=function(a){this.o=u(a)};V(Dw,v);var Cw=function(a){this.o=u(a)};V(Cw,v);Cw.prototype.setDescription=function(a){return E(this,2,a)};Cw.prototype.vc=function(){return R(this,2)};var Bw=function(a){this.o=u(a)};V(Bw,v);Bw.prototype.getId=function(){return x(this,1)};Bw.prototype.J=function(){return D(this,1)};var zw=function(a){this.o=u(a)};V(zw,v);var tfa=function(a,b){I(a,1,b)},ufa=function(a,b){return Nu(a,2,b)};var AO=function(a){this.o=u(a)};V(AO,v);var BO=function(a){this.o=u(a)};V(BO,v);var CO=function(a){this.o=u(a)};V(CO,v);CO.prototype.getId=function(){return x(this,1)};CO.prototype.J=function(){return D(this,1)};var DO=[2,3,4,5,6,7];var EO=function(a){this.o=u(a)};V(EO,v);EO.prototype.getId=function(){return x(this,1)};var FO=function(a,b){return E(a,1,b)};EO.prototype.J=function(){return D(this,1)};var GO=function(a,b){return E(a,2,b)},Dka=function(a,b){Nu(a,3,b)},Eka=function(a,b){return E(a,4,b)};l=EO.prototype;l.setTitle=function(a){return E(this,6,a)};l.Wa=function(){return R(this,6)};l.Fa=function(){return D(this,6)};l.setDescription=function(a){return E(this,9,a)};l.vc=function(){return R(this,9)};var HO=[7,8];var Rz=function(a){this.o=u(a)};V(Rz,v);var Qz=function(a){this.o=u(a)};V(Qz,v);var Pz=function(a){this.o=u(a)};V(Pz,v);var Mz=function(a){this.o=u(a)};V(Mz,v);var Lz=function(a){this.o=u(a)};V(Lz,v);var Nz=[1,2,3];var IO=function(a){this.o=u(a)};V(IO,v);IO.prototype.getItem=function(){return Q(this,gl,1)};IO.prototype.Qb=function(){return hp(this,gl,1)};IO.prototype.Gh=function(){return z(this,tv,2,B())};var JO=function(a){this.o=u(a)};V(JO,v);JO.prototype.R=function(){return bl(this,1,1)};JO.prototype.setStatus=function(a){return G(this,1,a)};JO.prototype.ka=function(){return ws(this,1)};var dga=function(a){var b=(new JO).setStatus(6);return O(b,3,a)};JO.prototype.Pd=function(){return z(this,IO,9,B())};JO.prototype.Sg=function(a){return Nu(this,9,a)};JO.prototype.Qd=function(){return z(this,IO,10,B())};JO.prototype.Tg=function(a){return Nu(this,10,a)};var KO=function(a){this.o=u(a)};V(KO,v);KO.prototype.X=function(){return Q(this,zA,1)};var Fka=function(a,b){return I(a,1,b)};KO.prototype.Sa=function(){return Q(this,JO,2)};var Gka=function(a,b){return I(a,2,b)};KO.prototype.Ma=function(a){return z(this,gl,3,B(a))};var Hka=function(a,b){return Nu(a,3,b)},Ika=Mg(KO);var LO=function(a){this.o=u(a)};V(LO,v);LO.prototype.X=function(){return Q(this,yK,1)};var fm=Mg(LO);var MO=function(a){this.o=u(a)};V(MO,v);MO.prototype.Aa=function(){return x(this,1)};var VB=function(a){return z(a,zL,2,B())};MO.prototype.G=function(){return Q(this,P,3)};var Gm=Mg(MO);var NO=function(a){this.o=u(a)};V(NO,v);NO.prototype.G=function(){return Q(this,P,1)};var Jka=function(a){return C(a,4)},OO=function(a){return D(a,4)},Jl=Mg(NO);var PO=function(a){this.o=u(a)};V(PO,v);PO.prototype.X=function(){return Q(this,NO,1)};var Kka=function(a,b){return I(a,1,b)},QO=function(a,b){return O(a,2,b)},Kl=Mg(PO);var As=function(a){this.o=u(a)};V(As,v);As.prototype.R=function(){return bl(this,1,3)};As.prototype.setStatus=function(a){return G(this,1,a)};As.prototype.ka=function(){return ws(this,1)};var ys=function(a,b){return E(a,4,b)};As.prototype.setLocation=function(a){return E(this,7,a)};var zs=function(a,b){return K(a,8,b)};var RO=function(a){this.o=u(a)};V(RO,v);var SO=function(a){this.o=u(a)};V(SO,v);SO.prototype.R=function(){return am(this,2)};SO.prototype.setStatus=function(a){return G(this,2,a)};SO.prototype.ka=function(){return ws(this,2)};var TO=function(a){this.o=u(a)};V(TO,v);var UO=function(a){this.o=u(a)};V(UO,v);var VO=function(a){this.o=u(a)};V(VO,v);var jv=function(a){this.o=u(a)};V(jv,v);jv.prototype.R=function(){return am(this,1)};jv.prototype.setStatus=function(a){return G(this,1,a)};jv.prototype.ka=function(){return ws(this,1)};jv.prototype.Ma=function(a){return z(this,gl,2,B(a))};var iv=function(a,b){return Nu(a,2,b)};jv.prototype.ra=function(){return am(this,12)};jv.prototype.ob=function(a){return G(this,12,a)};jv.prototype.hc=function(){return R(this,15)};jv.prototype.rb=function(){return D(this,15)};var Lka=Mg(jv);var lv=function(a){this.o=u(a)};V(lv,v);lv.prototype.Sa=function(){return Q(this,jv,1)};var kv=function(a,b){return I(a,1,b)},WO=function(a,b){return E(a,3,b)};lv.prototype.hc=function(){return R(this,3)};lv.prototype.rb=function(){return D(this,3)};var kA=Mg(lv);var Mka=Lg(WI);var kB=function(a){this.o=u(a)};V(kB,v);kB.prototype.getType=function(){return bl(this,1)};kB.prototype.Aa=function(){return x(this,2)};var jB=function(a){this.o=u(a)};V(jB,v);var XO=function(a){this.o=u(a)};V(XO,v);var Nka=Mg(XO);var YO=function(a){this.o=u(a)};V(YO,v);YO.prototype.R=function(){return bl(this,1,1)};YO.prototype.setStatus=function(a){return G(this,1,a)};YO.prototype.ka=function(){return ws(this,1)};var ZO=function(a){this.o=u(a)};V(ZO,v);ZO.prototype.g=function(){return bl(this,2,2)};ZO.prototype.G=function(){return Q(this,P,3)};var Yl=Mg(ZO);var $O=function(a){this.o=u(a)};V($O,v);$O.prototype.g=function(){return bl(this,2,2)};$O.prototype.G=function(){return Q(this,P,3)};var Xl=Mg($O);var aP=function(a){this.o=u(a)};V(aP,v);aP.prototype.R=function(){return bl(this,2,1)};aP.prototype.setStatus=function(a){return G(this,2,a)};aP.prototype.ka=function(){return ws(this,2)};var bP=function(a,b){return Nu(a,5,b)},Oka=function(a,b){return E(a,6,b)};var cP=function(a){this.o=u(a)};V(cP,v);var dP=function(a){var b=new cP;return I(b,1,a)};var eP=function(a){this.o=u(a)};V(eP,v);var Pka=function(a,b){return Nu(a,1,b)},Qka=Mg(eP);var fP=function(a){this.o=u(a)};V(fP,v);fP.prototype.G=function(){return Q(this,P,10)};var Zl=Mg(fP),qia=[3,4];var gP=function(a){this.o=u(a)};V(gP,v);gP.prototype.Aa=function(){return C(this,1)};gP.prototype.G=function(){return Q(this,P,2)};var rl=Mg(gP);var hP=function(a){this.o=u(a)};V(hP,v);hP.prototype.getId=function(){return C(this,1)};hP.prototype.J=function(){return D(this,1)};hP.prototype.G=function(){return Q(this,P,5)};var tl=Mg(hP);var iP=function(a){this.o=u(a)};V(iP,v);iP.prototype.getId=function(){return C(this,1)};iP.prototype.J=function(){return D(this,1)};iP.prototype.G=function(){return Q(this,P,3)};var Rka=Mg(iP);var jP=function(a){this.o=u(a)};V(jP,v);l=jP.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.Ji=function(){return C(this,2)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.Cc=function(a){return U(this,3,B(a))};l.zf=function(a){He(this,3,bd,a,void 0,dd)};l.Ge=function(){return N(this,4)};l.G=function(){return Q(this,P,5)};l.pf=function(){return Sp(this,P,5)};l.Ii=function(){return C(this,12)};
l.Gi=function(a){E(this,12,a)};l.Je=function(){return D(this,12)};l.Tc=function(){return Q(this,gK,13)};l.Bc=function(){return D(this,14)};var vl=Mg(jP);var kP=function(a){this.o=u(a)};V(kP,v);kP.prototype.Aa=function(){return C(this,1)};kP.prototype.Ie=function(){return D(this,1)};kP.prototype.G=function(){return Q(this,P,3)};var Cl=Mg(kP);var lP=function(a){this.o=u(a)};V(lP,v);lP.prototype.G=function(){return Q(this,P,5)};var em=Mg(lP);var mP=function(a){this.o=u(a)};V(mP,v);mP.prototype.getId=function(){return C(this,1)};var nP=function(a){var b=new mP;return E(b,1,a)};mP.prototype.J=function(){return D(this,1)};var jn=function(a){this.o=u(a)};V(jn,v);jn.prototype.R=function(){return am(this,1)};jn.prototype.setStatus=function(a){return G(this,1,a)};jn.prototype.ka=function(){return ws(this,1)};jn.prototype.getItem=function(){return Q(this,gl,2)};var RA=function(a,b){return I(a,2,b)};jn.prototype.Qb=function(){return hp(this,gl,2)};jn.prototype.Aa=function(){return C(this,5)};var Fs=function(a,b){return E(a,5,b)};l=jn.prototype;l.Ph=function(){return C(this,7)};l.Ae=function(a){return E(this,7,a)};
l.hh=function(a){K(this,9,a)};l.Tk=function(a){G(this,10,a)};l.Lh=function(){return C(this,16)};l.ze=function(a){return E(this,16,a)};var hq=Mg(jn);var oP=function(a){this.o=u(a)};V(oP,v);oP.prototype.Aa=function(){return C(this,1)};var im=Mg(oP);var pP=function(a){this.o=u(a)};V(pP,v);pP.prototype.getId=function(){return C(this,1)};pP.prototype.J=function(){return D(this,1)};pP.prototype.G=function(){return Q(this,P,3)};var km=Mg(pP);var qP=function(a){this.o=u(a)};V(qP,v);qP.prototype.getId=function(){return C(this,1)};qP.prototype.J=function(){return D(this,1)};qP.prototype.G=function(){return Q(this,P,4)};var lm=Mg(qP);var rP=function(a){this.o=u(a)};V(rP,v);rP.prototype.getId=function(){return C(this,1)};rP.prototype.J=function(){return D(this,1)};rP.prototype.G=function(){return Q(this,P,2)};var sP=Mg(rP);var tP=function(a){this.o=u(a)};V(tP,v);tP.prototype.getId=function(){return C(this,1)};tP.prototype.J=function(){return D(this,1)};tP.prototype.G=function(){return Q(this,P,3)};var nm=Mg(tP);var uP=function(a){this.o=u(a)};V(uP,v);uP.prototype.Aa=function(){return C(this,1)};uP.prototype.Ie=function(){return D(this,1)};uP.prototype.G=function(){return Q(this,P,4)};var Im=Mg(uP);var WA=function(a){this.o=u(a)};V(WA,v);WA.prototype.getValue=function(){return C(this,2)};WA.prototype.setValue=function(a){return E(this,2,a)};WA.prototype.Ca=function(){return D(this,2)};var vP=function(a){this.o=u(a)};V(vP,v);vP.prototype.Th=function(){return R(this,1)};vP.prototype.getUrl=function(){return C(this,3)};var wP=Mg(vP);var VA=function(a){this.o=u(a)};V(VA,v);var Wga=function(a,b){E(a,2,b)};VA.prototype.R=function(){return am(this,3)};VA.prototype.setStatus=function(a){return G(this,3,a)};VA.prototype.ka=function(){return ws(this,3)};var gB=function(a){this.o=u(a)};V(gB,v);gB.prototype.getId=function(){return C(this,1)};gB.prototype.J=function(){return D(this,1)};var xP=function(a){this.o=u(a)};V(xP,v);xP.prototype.Qa=function(){return N(this,2)};var Ska=Mg(xP);var yP=function(a){this.o=u(a)};V(yP,v);yP.prototype.R=function(){return am(this,1)};yP.prototype.setStatus=function(a){return G(this,1,a)};yP.prototype.ka=function(){return ws(this,1)};var Tka={fs:0,Rr:1,Tr:2,Sr:4,Lr:5,Jr:6,Mr:7,Ur:8};var zP=function(a){this.o=u(a)};V(zP,v);zP.prototype.ta=function(a){return U(this,1,B(a))};zP.prototype.getId=function(a){return dE(this,1,a)};var gm=Mg(zP);var Yw=function(a){this.o=u(a)};V(Yw,v);Yw.prototype.getUrl=function(){return C(this,1)};var Xw=function(a,b){return E(a,1,b)};var Uw=function(a){this.o=u(a)};V(Uw,v);var Tw=function(a,b){return E(a,1,b)};Uw.prototype.getName=function(){return C(this,2)};var Ww=function(a,b){return E(a,2,b)},Vw=function(a,b){return E(a,3,b)};var Sw=function(a){this.o=u(a)};V(Sw,v);var Rw=function(a,b){return Nu(a,1,b)},AP=Mg(Sw);var BP=function(a){this.o=u(a)};V(BP,v);BP.prototype.Aa=function(){return C(this,1)};BP.prototype.lg=function(){return D(this,1)};BP.prototype.G=function(){return Q(this,P,3)};var Bl=Mg(BP);var CP=function(a){this.o=u(a)};V(CP,v);l=CP.prototype;l.Aa=function(){return C(this,1)};l.lg=function(){return D(this,1)};l.getType=function(){return am(this,3)};l.getValue=function(){return C(this,4)};l.setValue=function(a){return E(this,4,a)};l.Ca=function(){return D(this,4)};l.G=function(){return Q(this,P,7)};l.getId=function(){return C(this,9)};l.J=function(){return D(this,9)};var Tl=Mg(CP);var DP=function(a){this.o=u(a)};V(DP,v);DP.prototype.R=function(){return am(this,1)};DP.prototype.setStatus=function(a){return G(this,1,a)};DP.prototype.ka=function(){return ws(this,1)};var Uka=function(a){return z(a,nv,2,B())},Vka=function(a,b){return Nu(a,2,b)};var EP=function(a){this.o=u(a)};V(EP,v);EP.prototype.Sa=function(){return Q(this,DP,1)};EP.prototype.hc=function(){return R(this,2)};EP.prototype.rb=function(){return D(this,2)};var FP=function(a){this.o=u(a)};V(FP,v);FP.prototype.getId=function(){return C(this,1)};FP.prototype.J=function(){return D(this,1)};FP.prototype.G=function(){return Q(this,P,2)};var GP=function(a){this.o=u(a)};V(GP,v);GP.prototype.hc=function(){return R(this,2)};GP.prototype.rb=function(){return D(this,2)};GP.prototype.X=function(){return Q(this,FP,3)};var cm=Mg(GP);var HP=function(a){this.o=u(a)};V(HP,v);HP.prototype.R=function(){return am(this,1)};HP.prototype.setStatus=function(a){return G(this,1,a)};HP.prototype.ka=function(){return ws(this,1)};HP.prototype.Nf=function(){return Q(this,nv,2)};var IP=function(a){this.o=u(a)};V(IP,v);IP.prototype.Ia=function(){return Zt(this,1)};IP.prototype.G=function(){return Q(this,P,2)};var qm=Mg(IP);var JP=function(a){this.o=u(a)};V(JP,v);JP.prototype.getType=function(){return am(this,1)};var KP=function(a){this.o=u(a)};V(KP,v);l=KP.prototype;l.getState=function(){return am(this,1)};l.Ia=function(){return Zt(this,2)};l.G=function(){return Q(this,P,3)};l.hc=function(){return R(this,8)};l.rb=function(){return D(this,8)};var LP=Mg(KP);var cx=function(a){this.o=u(a)};V(cx,v);l=cx.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.getState=function(){return am(this,5)};var ax=function(a){this.o=u(a)};V(ax,v);ax.prototype.R=function(){return am(this,1)};ax.prototype.setStatus=function(a){return G(this,1,a)};ax.prototype.ka=function(){return ws(this,1)};var MP=function(a){return z(a,cx,2,B())},$w=function(a,b){return Nu(a,2,b)},Zw=function(a,b){return E(a,4,b)};ax.prototype.hc=function(){return R(this,4)};ax.prototype.rb=function(){return D(this,4)};var NP=function(a){this.o=u(a)};V(NP,v);NP.prototype.xd=function(){return z(this,tO,2,B())};NP.prototype.si=function(a){Nu(this,2,a)};NP.prototype.xl=function(){S(this,2)};NP.prototype.Hh=function(){return WD(this,tO,2)};var OP=function(a){this.o=u(a)};V(OP,v);OP.prototype.Pd=function(){return z(this,IO,5,B())};OP.prototype.Sg=function(a){return Nu(this,5,a)};OP.prototype.Qd=function(){return z(this,IO,6,B())};OP.prototype.Tg=function(a){return Nu(this,6,a)};var PP=function(a){this.o=u(a)};V(PP,v);var Wka=function(a){return z(a,QP,1,B())},QP=function(a){this.o=u(a)};V(QP,v);var Xka=Pg(QP),RP=[2,6,10,11,13,17],SP=[3,7,8,9,12,14,15];var Yka=[0,iF,YE,qF,iF,[0,iF,-1],YE,-1,aF];var Zka=[0,iF,eF,[0,aF,-1,WE,-1,iF,WE],aF,-1];var TP=function(a){this.o=u(a)};V(TP,v);var $t=function(a){this.o=u(a)};V($t,v);$t.prototype.za=function(a){return Nr(this,1,B(a))};$t.prototype.fh=function(a){return Ee(this,1,a,Cc)};var UP=function(a,b){return Ie(a,1,Cc,b,Dc)};l=$t.prototype;l.Fe=function(){return Nr(this,19,B())};l.ta=function(a){return U(this,2,B(a))};l.Wb=function(a){return rs(this,2,a)};l.getId=function(a){return dE(this,2,a)};l.G=function(){return Q(this,P,3)};var VP=function(a,b){return I(a,3,b)},$ka=function(a){return H(a,7,!0)},Ml=Mg($t);var WP=function(a){this.o=u(a)};V(WP,v);var ala=function(a){var b=new WP;return K(b,1,a)},bla=function(a,b){return I(a,2,b)},Ll=Mg(WP);var XP=function(a){this.o=u(a)};V(XP,v);XP.prototype.G=function(){return Q(this,P,2)};var YP=Mg(XP);var ZP=function(a){this.o=u(a)};V(ZP,v);var $P=function(a){return function(b){var c=new IE;Xf(b.o,c,Uf(a));return Ab(LE(c))}}(Eja);var aQ=function(a){this.o=u(a)};V(aQ,v);l=aQ.prototype;l.za=function(a){return Nr(this,1,B(a))};l.fh=function(a){return Ee(this,1,a,Cc)};l.ta=function(a){return U(this,2,B(a))};l.Wb=function(a){return rs(this,2,a)};l.getId=function(a){return dE(this,2,a)};l.G=function(){return Q(this,P,3)};l.ih=function(){return Sp(this,P,3)};var cla=function(a,b){return I(a,3,b)},$m=Mg(aQ);var bQ=function(a){this.o=u(a)};V(bQ,v);var cQ=function(a){this.o=u(a)};V(cQ,v);cQ.prototype.R=function(){return am(this,1)};cQ.prototype.setStatus=function(a){return G(this,1,a)};cQ.prototype.ka=function(){return ws(this,1)};var Qw=function(a){this.o=u(a)};V(Qw,v);Qw.prototype.Va=function(){return Zt(this,2)};Qw.prototype.g=function(a){return K(this,2,a)};var Pw=function(a){this.o=u(a)};V(Pw,v);var Afa=function(a,b){return E(a,1,b)},zfa=function(a,b){return K(a,2,b)},Bfa=function(a,b){Nu(a,3,b)};var Nw=function(a){this.o=u(a)};V(Nw,v);var Mw=function(a,b){return E(a,1,b)};l=Nw.prototype;l.hc=function(){return R(this,1)};l.rb=function(){return D(this,1)};l.R=function(){return am(this,3)};l.setStatus=function(a){return G(this,3,a)};l.ka=function(){return ws(this,3)};var Ow=function(a,b){return Nu(a,5,b)};var dQ=function(a){this.o=u(a)};V(dQ,v);dQ.prototype.G=function(){return Q(this,P,2)};dQ.prototype.ih=function(){return Sp(this,P,2)};var cn=Mg(dQ);var eQ=function(a){this.o=u(a)};V(eQ,v);eQ.prototype.Aa=function(){return C(this,1)};eQ.prototype.G=function(){return Q(this,P,2)};eQ.prototype.Ia=function(){return Rl(this,3,1E3)};var dm=Mg(eQ);var fQ=function(a){this.o=u(a)};V(fQ,v);fQ.prototype.R=function(){return am(this,1)};fQ.prototype.setStatus=function(a){return G(this,1,a)};fQ.prototype.ka=function(){return ws(this,1)};var gQ=function(a){this.o=u(a)};V(gQ,v);gQ.prototype.G=function(){return Q(this,P,1)};var hQ=Mg(gQ);var iQ=function(a){this.o=u(a)};V(iQ,v);iQ.prototype.setTitle=function(a){return E(this,4,a)};iQ.prototype.Wa=function(){return R(this,4)};iQ.prototype.Fa=function(){return D(this,4)};var jQ=function(a){this.o=u(a)};V(jQ,v);jQ.prototype.R=function(){return bl(this,1,1)};jQ.prototype.setStatus=function(a){return G(this,1,a)};jQ.prototype.ka=function(){return ws(this,1)};var kQ=function(a){this.o=u(a)};V(kQ,v);kQ.prototype.getId=function(){return x(this,1)};var lQ=function(a){this.o=u(a)};V(lQ,v);lQ.prototype.G=function(){return Q(this,P,1)};var mQ=Mg(lQ);var nQ=function(a){this.o=u(a)};V(nQ,v);var oQ=function(a){this.o=u(a)};V(oQ,v);var pQ=function(a){this.o=u(a)};V(pQ,v);pQ.prototype.R=function(){return bl(this,1,1)};pQ.prototype.setStatus=function(a){return G(this,1,a)};pQ.prototype.ka=function(){return ws(this,1)};var qQ=[3,4];var rQ=function(a){this.o=u(a)};V(rQ,v);var sQ=Mg(rQ);var tQ=function(a){this.o=u(a)};V(tQ,v);var uQ=function(a){this.o=u(a)};V(uQ,v);var vQ=function(a){this.o=u(a)};V(vQ,v);var wQ=function(a){this.o=u(a)};V(wQ,v);wQ.prototype.R=function(){return bl(this,4,1)};wQ.prototype.setStatus=function(a){return G(this,4,a)};wQ.prototype.ka=function(){return ws(this,4)};var xQ=[1,2,3];var yQ=function(a){this.o=u(a)};V(yQ,v);yQ.prototype.G=function(){return Q(this,P,1)};var zQ=Mg(yQ);var AQ=function(a){this.o=u(a)};V(AQ,v);AQ.prototype.R=function(){return bl(this,1,1)};AQ.prototype.setStatus=function(a){return G(this,1,a)};AQ.prototype.ka=function(){return ws(this,1)};var BQ=function(a){this.o=u(a,1)};V(BQ,v);var CQ=function(a){this.o=u(a)};V(CQ,v);CQ.prototype.g=function(a){return function(){return Gg(this,a)}}([0,ZE,-1,Bia,ZE,TE]);var Fl=function(a){this.o=u(a)};V(Fl,v);Fl.prototype.G=function(){return Q(this,P,2)};var Hl=Mg(Fl);var DQ=function(a){this.o=u(a)};V(DQ,v);DQ.prototype.R=function(){return am(this,1)};DQ.prototype.setStatus=function(a){return G(this,1,a)};DQ.prototype.ka=function(){return ws(this,1)};var EQ=function(a,b){return I(a,4,b)};var Km=function(a){this.o=u(a)};V(Km,v);Km.prototype.G=function(){return Q(this,P,2)};var Mm=Mg(Km);var FQ=function(a){this.o=u(a)};V(FQ,v);FQ.prototype.setTitle=function(a){return E(this,1,a)};FQ.prototype.Wa=function(){return R(this,1)};FQ.prototype.Fa=function(){return D(this,1)};FQ.prototype.G=function(){return Q(this,P,2)};var yl=Mg(FQ);var bB=function(a){this.o=u(a)};V(bB,v);bB.prototype.getId=function(){return C(this,1)};bB.prototype.J=function(){return D(this,1)};bB.prototype.G=function(){return Q(this,P,3)};var Il=Mg(bB);var gx=function(a){this.o=u(a)};V(gx,v);gx.prototype.R=function(){return am(this,1)};gx.prototype.setStatus=function(a){return G(this,1,a)};gx.prototype.ka=function(){return ws(this,1)};gx.prototype.Qh=function(){return Q(this,cx,2)};var fx=function(a){this.o=u(a)};V(fx,v);var Rfa=function(a,b){return E(a,1,b)};fx.prototype.setTitle=function(a){return E(this,2,a)};fx.prototype.Wa=function(){return R(this,2)};fx.prototype.Fa=function(){return D(this,2)};fx.prototype.Ma=function(a){return z(this,gl,3,B(a))};var Pfa=function(a,b){return Nu(a,3,b)},Qfa=function(a,b){return E(a,4,b)},Ofa=function(a,b){return I(a,5,b)};var GQ=function(a){this.o=u(a)};V(GQ,v);l=GQ.prototype;l.Ia=function(){return Zt(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.G=function(){return Q(this,P,3)};var pm=Mg(GQ);var dx=function(a){this.o=u(a)};V(dx,v);dx.prototype.R=function(){return am(this,1)};dx.prototype.setStatus=function(a){return G(this,1,a)};dx.prototype.ka=function(){return ws(this,1)};var Ifa=function(a,b){return Nu(a,2,b)},Hfa=function(a,b){return E(a,4,b)};var ex=function(a){this.o=u(a)};V(ex,v);ex.prototype.R=function(){return am(this,1)};ex.prototype.setStatus=function(a){return G(this,1,a)};ex.prototype.ka=function(){return ws(this,1)};var Lfa=function(a,b){return Nu(a,2,b)},Kfa=function(a,b){return E(a,4,b)};var HQ=function(a){this.o=u(a)};V(HQ,v);l=HQ.prototype;l.getId=function(){return C(this,1)};l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.getState=function(){return am(this,3)};l.G=function(){return Q(this,P,5)};var Nm=Mg(HQ);var IQ=function(a){this.o=u(a)};V(IQ,v);IQ.prototype.ta=function(a){return U(this,1,B(a))};IQ.prototype.getId=function(a){return dE(this,1,a)};IQ.prototype.G=function(){return Q(this,P,2)};var Om=Mg(IQ);var JQ=function(a){this.o=u(a)};V(JQ,v);l=JQ.prototype;l.R=function(){return am(this,1)};l.setStatus=function(a){return G(this,1,a)};l.ka=function(){return ws(this,1)};l.ra=function(){return am(this,5)};l.ob=function(a){return G(this,5,a)};var dla=Hg(Yka);var ela=function(){return function(a,b){a:{let d={zi:!0};b&&Object.assign(d,b);a=Sf(a,void 0,void 0,d);try{let e=new ax,f=e.o;Kf(Zka)(f,a);var c=e;break a}catch(e){if(e instanceof RangeError)throw new SyntaxError;throw e;}finally{Tf(a)}c=void 0}return c}}();var KQ=function(a){this.o=u(a)};V(KQ,v);KQ.prototype.getState=function(){return am(this,1)};var LQ=function(){this.g=0};V(LQ,WN);var MQ=function(a,b){var c=new LQ;c.h=a;c.g=b;return c},fla=MQ("PSYNCHO_ROOT",0),gla=MQ("PSYNCHO_FOLDER",1),hla=MQ("MACHINE_ROOT",2),ila=MQ("ARBITRARY_SYNC_FOLDER",3),jla=MQ("PHOTOS_AND_VIDEOS_ONLY",4),kla=MQ("EXTERNAL_MEDIA",5);LQ.prototype.P=["com.google.apps.drive.server.api.proto2api.FolderFeature",2];Hd.prototype.equals=function(a){return a instanceof Hd?sd(this,a):!1};Hd.prototype.Rb=function(){return jf(this)+ef()|0};v.prototype.equals=function(a){return Np(this,a)};v.prototype.Rb=function(){return jf(this)+ef()|0};v.prototype.build=function(){return le(this)};var sga=Hg(OJ);var NQ=function(a){this.o=u(a)};V(NQ,v);var OQ=function(a){this.key=a;this.defaultValue=!1;this.flagNameForDebugging=void 0;this.phase=2};OQ.prototype.ctor=function(a){return typeof a==="boolean"?a:this.defaultValue};var PQ=function(a,b){this.key=a;this.defaultValue=b;this.flagNameForDebugging=void 0;this.phase=2};PQ.prototype.ctor=function(a){return typeof a==="number"?a:this.defaultValue};var QQ=function(a){this.o=u(a)};V(QQ,v);QQ.prototype.getType=function(){return bl(this,2)};var RQ=function(a){this.o=u(a)};V(RQ,v);var SQ=function(a){this.o=u(a)};V(SQ,v);var TQ=function(a){this.o=u(a)};V(TQ,v);var UQ=function(a){this.o=u(a)};V(UQ,v);var VQ=[1,2];var WQ=function(a){this.o=u(a)};V(WQ,v);var XQ=function(a){this.o=u(a)};V(XQ,v);var YQ=function(a){this.o=u(a)};V(YQ,v);YQ.prototype.getType=function(){return bl(this,1)};var ZQ=function(a){this.o=u(a)};V(ZQ,v);var $Q=[1,2,3,4,5];var aR=function(a){this.o=u(a)};V(aR,v);var bR=function(a){this.o=u(a)};V(bR,v);var cR=[1,4];var dR=function(a){this.o=u(a)};V(dR,v);dR.prototype.getName=function(){return x(this,1)};dR.prototype.setTitle=function(a){return iE(this,2,a)};var eR=[8,9,10];var fR=function(a){this.o=u(a)};V(fR,v);fR.prototype.getName=function(){return x(this,1)};fR.prototype.setTitle=function(a){return iE(this,2,a)};var gR=function(a){this.o=u(a)};V(gR,v);var hR=function(a){this.o=u(a)};V(hR,v);var iR=[1,3,5];var jR=function(a){this.o=u(a)};V(jR,v);var kR=[5,6];var lR=function(a){this.o=u(a)};V(lR,v);var mR=[6,7];var nR=function(a){this.o=u(a)};V(nR,v);var nu=function(a){this.o=u(a)};V(nu,v);var Wt=function(a){this.o=u(a)};V(Wt,v);Wt.prototype.getId=function(){return x(this,1)};Wt.prototype.J=function(){return D(this,1)};var Nt=function(a,b){return E(a,2,b)};l=Wt.prototype;l.setTitle=function(a){return E(this,3,a)};l.Wa=function(){return R(this,3)};l.Fa=function(){return D(this,3)};l.setDescription=function(a){return E(this,4,a)};l.vc=function(){return R(this,4)};var oR=function(a){this.o=u(a)};V(oR,v);var Pt=function(a){var b=new oR;return Nu(b,1,a)};var pR=function(a){this.o=u(a)};V(pR,v);var dC=function(a){var b=new pR;return rs(b,1,a)};pR.prototype.getValue=function(a){return dE(this,1,a)};pR.prototype.setValue=function(a,b){return He(this,1,bd,b,a,dd,void 0,1)};var bC=function(a){this.o=u(a)};V(bC,v);l=bC.prototype;l.getId=function(){return x(this,1)};l.J=function(){return D(this,1)};l.setIntegerValue=function(a){return Dj(this,3,eC,Oc(a))};l.setSelectionValue=function(a){return Dj(this,6,eC,cd(a))};l.setTextValue=function(a){return Dj(this,9,eC,cd(a))};var eC=[3,6,7,8,9,10,11,12,13];var aC=function(a){this.o=u(a)};V(aC,v);var Bha=function(a,b){return Cu(a,1,bC,b)};var $B=function(a){this.o=u(a)};V($B,v);var Aha=function(a,b){y(a,1,fC,b)},Cha=function(a,b){y(a,2,fC,b)},fC=[1,2,3];var ZB=function(a){this.o=u(a)};V(ZB,v);var zha=function(a,b){return iE(a,1,b)};var Au=function(a){this.o=u(a)};V(Au,v);Au.prototype.getId=function(){return x(this,1)};var zu=function(a,b){return E(a,1,b)};l=Au.prototype;l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};l.setDescription=function(a){return E(this,3,a)};l.vc=function(){return R(this,3)};var oC=function(a){this.o=u(a)};V(oC,v);var YB=function(a){this.o=u(a)};V(YB,v);var gC=function(a,b){return Nu(a,1,b)},Dha=function(a,b){return I(a,2,b)};var mu=function(a){this.o=u(a)};V(mu,v);var qga=function(a,b){return I(a,1,b)},rga=function(a){S(a,1)};var ku=function(a){this.o=u(a)};V(ku,v);ku.prototype.G=function(){return Q(this,P,1)};var Ws=function(a,b){return I(a,1,b)},qu=function(a,b){return I(a,2,b)};var lla=Ng(ku),Vda=Fg(ku);var qR=function(a){this.o=u(a)};V(qR,v);l=qR.prototype;l.getId=function(){return Cq(this,1)};l.J=function(){return gq(this,1)};l.Aa=function(){return x(this,3)};l.getItem=function(){return Q(this,gl,6)};l.Qb=function(){return hp(this,gl,6)};var rR=function(a){this.o=u(a)};V(rR,v);var nha=function(a,b){E(a,1,b)},lha=function(){var a=new rR;return H(a,2,!0)},kha=function(a,b){return Ee(a,3,b,Cc)},mha=function(a,b){Nu(a,4,b)},jha=function(a,b){return G(a,5,b)};var TB=function(a){this.o=u(a)};V(TB,v);var qha=function(a,b){return O(a,1,b)},rha=function(a,b){return K(a,2,b)};var sR=function(a){this.o=u(a)};V(sR,v);l=sR.prototype;l.getItem=function(){return Q(this,gl,1)};l.Qb=function(){return hp(this,gl,1)};l.R=function(){return Q(this,hH,2)};l.setStatus=function(a){return I(this,2,a)};l.ka=function(){return Xt(this,hH,2)};var tR=function(a){this.o=u(a)};V(tR,v);var uR=function(a){this.o=u(a)};V(uR,v);var vR=function(a,b,c){this.requestMessage=a;this.sm=b;this.metadata=c};vR.prototype.getMetadata=function(){return this.metadata};var wR=function(a,b){b=b===void 0?{}:b;this.Vq=a;this.metadata=b;this.status=null};wR.prototype.getMetadata=function(){return this.metadata};wR.prototype.R=function(){return this.status};var xR=function(a,b,c,d,e){this.name=a;this.requestType=b;this.responseType=c;this.g=d;this.h=e};xR.prototype.createRequest=function(a,b){b=b===void 0?{}:b;return new vR(a,this,b)};xR.prototype.getName=function(){return this.name};var yR=function(a){this.o=u(a)};V(yR,v);yR.prototype.setTitle=function(a){return E(this,3,a)};yR.prototype.Wa=function(){return R(this,3)};yR.prototype.Fa=function(){return D(this,3)};var zR=function(a){this.o=u(a)};V(zR,v);var AR=function(a){this.o=u(a)};V(AR,v);var BR=function(){var a=new AR;return iE(a,1,"1")};l=AR.prototype;l.getId=function(){return x(this,2)};l.setTitle=function(a){return E(this,3,a)};l.Wa=function(){return R(this,3)};l.Fa=function(){return D(this,3)};l.getState=function(){return Q(this,KQ,4)};var CR=function(a){this.o=u(a)};V(CR,v);var ZA=function(a){this.o=u(a)};V(ZA,v);l=ZA.prototype;l.R=function(){return Q(this,hH,1)};l.setStatus=function(a){return I(this,1,a)};l.ka=function(){return Xt(this,hH,1)};l.getId=function(){return x(this,2)};l.Qh=function(){return Q(this,cx,3)};var $A=function(a){this.o=u(a)};V($A,v);var DR=function(a){this.o=u(a)};V(DR,v);var ER=function(a){this.o=u(a)};V(ER,v);var mla=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/DeleteApp",DR,ER,function(a){return a.ca()},Ng(ER));var FR=function(a){this.o=u(a)};V(FR,v);var fha=function(a){var b=new FR;return Ie(b,1,bd,a,dd)};var GR=function(a){this.o=u(a)};V(GR,v);l=GR.prototype;l.getId=function(){return x(this,1)};l.J=function(){return D(this,1)};l.R=function(){return Q(this,hH,2)};l.setStatus=function(a){return I(this,2,a)};l.ka=function(){return Xt(this,hH,2)};var Ds=function(a){this.o=u(a)};V(Ds,v);var Tda=function(a){return z(a,GR,1,B())};var HR=function(a){this.o=u(a)};V(HR,v);HR.prototype.Aa=function(){return x(this,1)};var IR=function(a){this.o=u(a)};V(IR,v);var JR=function(a){this.o=u(a)};V(JR,v);var KR=function(a){this.o=u(a)};V(KR,v);var LR=function(a){this.o=u(a)};V(LR,v);var MR=function(a){this.o=u(a)};V(MR,v);MR.prototype.ta=function(a){return U(this,1,B(a))};MR.prototype.getId=function(a){return dE(this,1,a)};var aB=function(a){this.o=u(a)};V(aB,v);var NR=function(a){this.o=u(a)};V(NR,v);var OR=function(a){this.o=u(a)};V(OR,v);OR.prototype.Aa=function(){return x(this,1)};var PR=function(a){this.o=u(a)};V(PR,v);PR.prototype.Aa=function(){return x(this,1)};var QR=function(a){this.o=u(a)};V(QR,v);var RR=function(a){this.o=u(a)};V(RR,v);RR.prototype.Nd=function(){return Q(this,uF,1)};var nla=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/GetAccount",QR,RR,function(a){return a.ca()},Ng(RR));var SR=function(a){this.o=u(a)};V(SR,v);var cu=function(a){this.o=u(a)};V(cu,v);var oea=function(a,b){rs(a,2,b)},pea=function(a,b){Ee(a,6,b,Cc)};var TR=function(a){this.o=u(a)};V(TR,v);var nea=function(a){var b=new TR;return rs(b,1,a)};var vs=function(a){this.o=u(a)};V(vs,v);l=vs.prototype;l.R=function(){return Q(this,hH,1)};l.setStatus=function(a){return I(this,1,a)};l.ka=function(){return Xt(this,hH,1)};l.getItem=function(){return Q(this,gl,2)};l.Qb=function(){return hp(this,gl,2)};var UR=function(a){this.o=u(a)};V(UR,v);var VR=function(a){this.o=u(a)};V(VR,v);var WR=function(a){this.o=u(a)};V(WR,v);WR.prototype.Aa=function(){return x(this,1)};var YR=function(a){this.o=u(a)};V(YR,v);var ZR=function(a){this.o=u(a)};V(ZR,v);var $R=[1,2];var aS=function(a){this.o=u(a)};V(aS,v);aS.prototype.R=function(){return Q(this,hH,1)};aS.prototype.setStatus=function(a){return I(this,1,a)};aS.prototype.ka=function(){return Xt(this,hH,1)};var bS=function(a){this.o=u(a)};V(bS,v);var cS=function(a){this.o=u(a)};V(cS,v);var dS=function(a){this.o=u(a)};V(dS,v);var OA=function(a){this.o=u(a)};V(OA,v);OA.prototype.g=function(a){rs(this,1,a)};var eS=function(a){this.o=u(a)};V(eS,v);var fS=function(a){this.o=u(a)};V(fS,v);var gS=function(a){this.o=u(a)};V(gS,v);var hS=function(a){this.o=u(a)};V(hS,v);var iS=function(a){this.o=u(a)};V(iS,v);var SB=function(a){this.o=u(a)};V(SB,v);var oha=function(a,b){return I(a,1,b)};SB.prototype.O=function(){return hp(this,rR,1)};var pha=function(a,b){return I(a,2,b)};var jS=function(a){this.o=u(a)};V(jS,v);jS.prototype.R=function(){return Q(this,hH,4)};jS.prototype.setStatus=function(a){return I(this,4,a)};jS.prototype.ka=function(){return Xt(this,hH,4)};var kS=function(a){this.o=u(a)};V(kS,v);var lS=function(a){var b=new kS;return G(b,1,a)};var mS=function(a){this.o=u(a)};V(mS,v);var nS=function(a){this.o=u(a)};V(nS,v);var oS=function(a){this.o=u(a)};V(oS,v);var pS=function(a,b){return K(a,1,b)},qS=function(a,b){return E(a,2,b)};oS.prototype.hc=function(){return R(this,2)};oS.prototype.rb=function(){return D(this,2)};var dz=function(a){this.o=u(a)};V(dz,v);dz.prototype.setTitle=function(a,b){return XD(this,1,FJ,a,b)};dz.prototype.zf=function(a){Oj(this,44,Iz,a)};var rS=function(a){this.o=u(a)};V(rS,v);rS.prototype.O=function(){return hp(this,dz,1)};var sS=function(a){this.o=u(a)};V(sS,v);var tS=function(a){this.o=u(a)};V(tS,v);tS.prototype.hc=function(){return R(this,2)};tS.prototype.rb=function(){return D(this,2)};var ola=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListItems",rS,tS,function(a){return a.ca()},Ng(tS));var uS=function(a){this.o=u(a)};V(uS,v);uS.prototype.Aa=function(){return x(this,1)};var IS=function(a){this.o=u(a)};V(IS,v);var JS=function(a){this.o=u(a)};V(JS,v);var KS=function(a){this.o=u(a)};V(KS,v);var LS=function(a){this.o=u(a)};V(LS,v);var MS=function(a){this.o=u(a)};V(MS,v);var NS=function(a){this.o=u(a)};V(NS,v);NS.prototype.O=function(){return hp(this,MS,1)};var OS=function(a){this.o=u(a)};V(OS,v);OS.prototype.hc=function(){return R(this,2)};OS.prototype.rb=function(){return D(this,2)};var PS=function(a){this.o=u(a)};V(PS,v);var QS=function(a){this.o=u(a)};V(QS,v);QS.prototype.addWorkspaces=function(a,b){return Oj(this,1,cx,a,b)};QS.prototype.removeWorkspaces=function(a){Re(this,1,cx,void 0,a,1,!0);return this};var pla=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListWorkspaces",PS,QS,function(a){return a.ca()},Ng(QS));var fB=function(a){this.o=u(a)};V(fB,v);fB.prototype.pi=function(a){return lE(this,1,a)};var RS=function(a){this.o=u(a)};V(RS,v);RS.prototype.getId=function(){return x(this,1)};RS.prototype.J=function(){return D(this,1)};var SS=function(a){this.o=u(a)};V(SS,v);var qla=function(a){return z(a,RS,1,B())};var TS=function(a){this.o=u(a)};V(TS,v);TS.prototype.pi=function(a){return lE(this,1,a)};TS.prototype.hc=function(){return R(this,4)};TS.prototype.rb=function(){return D(this,4)};var US=function(a){this.o=u(a)};V(US,v);US.prototype.hc=function(){return R(this,5)};US.prototype.rb=function(){return D(this,5)};var VS=function(a){this.o=u(a)};V(VS,v);VS.prototype.getId=function(){return x(this,1)};VS.prototype.J=function(){return D(this,1)};var WS=function(a){this.o=u(a)};V(WS,v);WS.prototype.getId=function(){return x(this,1)};WS.prototype.J=function(){return D(this,1)};var XS=function(a){this.o=u(a)};V(XS,v);var YS=function(a){this.o=u(a)};V(YS,v);var ZS=[1,2,3];var rla=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/RewindPreflight",XS,YS,function(a){return a.ca()},Ng(YS));var $S=function(a){this.o=u(a)};V($S,v);$S.prototype.O=function(){return hp(this,dz,1)};var sla=Fg($S);var aT=function(a){this.o=u(a)};V(aT,v);aT.prototype.hc=function(){return R(this,4)};aT.prototype.rb=function(){return D(this,4)};var tla=Fg(aT);var bT=new xR("/google.internal.apps.drive.driveway.v1.DriveFrontendService/SearchItems",$S,aT,function(a){return a.ca()},Ng(aT));var QA=function(a){this.o=u(a)};V(QA,v);QA.prototype.g=function(a){rs(this,1,a)};var cT=function(a){this.o=u(a)};V(cT,v);var dT=function(a){this.o=u(a)};V(dT,v);dT.prototype.getId=function(){return x(this,1)};dT.prototype.J=function(){return D(this,1)};var eT=function(a){this.o=u(a)};V(eT,v);var fT=function(a){return z(a,dT,1,B())};var gT=function(a){this.o=u(a)};V(gT,v);gT.prototype.Aa=function(){return x(this,1)};var hT=function(a){this.o=u(a)};V(hT,v);var iT=function(a){this.o=u(a)};V(iT,v);l=iT.prototype;l.getId=function(){return x(this,1)};l.J=function(){return D(this,1)};l.setTitle=function(a){return E(this,2,a)};l.Wa=function(){return R(this,2)};l.Fa=function(){return D(this,2)};var jT=function(a){this.o=u(a)};V(jT,v);var kT=function(a){this.o=u(a)};V(kT,v);var lT=function(a){this.o=u(a)};V(lT,v);var mT=function(a){this.o=u(a)};V(mT,v);var YA=function(a){this.o=u(a)};V(YA,v);var Du=function(a){this.o=u(a)};V(Du,v);var uea=Mg(Du);var nT=function(a){this.o=u(a)};V(nT,v);nT.prototype.getItem=function(){return Q(this,gl,2)};nT.prototype.Qb=function(){return hp(this,gl,2)};var yu=function(a){this.o=u(a)};V(yu,v);var oT=function(a){this.o=u(a)};V(oT,v);oT.prototype.getItem=function(){return Q(this,gl,2)};oT.prototype.Qb=function(){return hp(this,gl,2)};var ula=new Set(["SAPISIDHASH","APISIDHASH"]);var pT=function(a,b,c){c=c===void 0?{}:c;b=Error.call(this,b);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.code=a;this.metadata=c;this.name="RpcError";Object.setPrototypeOf(this,this.constructor.prototype)};V(pT,Error);pT.prototype.toString=function(){var a="RpcError("+(gba(this.code)||String(this.code))+")";this.message&&(a+=": "+this.message);return a};var qT=[],rT=[],sT=!1,tT=function(a){qT[qT.length]=a;if(sT)for(let b=0;b<rT.length;b++)a(nj(rT[b].g,rT[b]))};Yg.prototype.da=!1;Yg.prototype.isDisposed=function(){return this.da};Yg.prototype.dispose=function(){this.da||(this.da=!0,this.ya())};Yg.prototype[Symbol.dispose]=function(){this.dispose()};Yg.prototype.Da=function(a){uT(this,tj(Wg,a))};var uT=function(a,b){a.da?b():(a.O||(a.O=[]),a.O.push(b))};Yg.prototype.ya=function(){if(this.O)for(;this.O.length;)this.O.shift()()};Zg.prototype.toString=function(){return this.id};var $g=function(a,b){this.type=a instanceof Zg?String(a):a;this.g=this.target=b;this.defaultPrevented=!1};$g.prototype.j=function(){this.defaultPrevented=!0};yD(ah,$g);
ah.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.g=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.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.key=a.key||"";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.fg=a;a.defaultPrevented&&ah.Fb.j.call(this)};ah.prototype.j=function(){ah.Fb.j.call(this);var a=this.fg;a.preventDefault?a.preventDefault():a.returnValue=!1};var vT="closure_listenable_"+(Math.random()*1E6|0),wT=function(a){return!(!a||!a[vT])};var hba=0;var xT=function(a){a.Ng=!0;a.listener=null;a.proxy=null;a.src=null;a.ma=null};var lh="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");nh.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.h++);var g=yT(a,b,d,e);g>-1?(b=a[g],c||(b.th=!1)):(b=new iba(b,this.src,f,!!d,e),b.th=c,a.push(b));return b};nh.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=yT(e,b,c,d);return b>-1?(xT(e[b]),Ma(e,b),e.length==0&&(delete this.g[a],this.h--),!0):!1};var zT=function(a,b){var c=b.type;c in a.g&&Na(a.g[c],b)&&(xT(b),a.g[c].length==0&&(delete a.g[c],a.h--))};
nh.prototype.wg=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=yT(a,b,c,d));return e>-1?a[e]:null};nh.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return dh(this.g,function(f){for(let g=0;g<f.length;++g)if(!(c&&f[g].type!=d||e&&f[g].capture!=b))return!0;return!1})};var yT=function(a,b,c,d){for(let e=0;e<a.length;++e){let f=a[e];if(!f.Ng&&f.listener==b&&f.capture==!!c&&f.ma==d)return e}return-1};var AT="closure_lm_"+(Math.random()*1E6|0),BT={},CT=0,fA=function(a,b,c,d,e){if(d&&d.once)return DT(a,b,c,d,e);if(Array.isArray(b)){for(let f=0;f<b.length;f++)fA(a,b[f],c,d,e);return null}c=ET(c);return wT(a)?a.listen(b,c,qr(d)?!!d.capture:!!d,e):FT(a,b,c,!1,d,e)},FT=function(a,b,c,d,e,f){if(!b)throw Error("V");var g=qr(e)?!!e.capture:!!e,h=GT(a);h||(a[AT]=h=new nh(a));c=h.add(b,c,d,g,f);if(c.proxy)return c;d=vla();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)e===void 0&&(e=!1),a.addEventListener(b.toString(),
d,e);else if(a.attachEvent)a.attachEvent(HT(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("W");CT++;return c},vla=function(){var a=IT,b=function(c){return a.call(b.src,b.listener,c)};return b},DT=function(a,b,c,d,e){if(Array.isArray(b)){for(let f=0;f<b.length;f++)DT(a,b[f],c,d,e);return null}c=ET(c);return wT(a)?a.bf(b,c,qr(d)?!!d.capture:!!d,e):FT(a,b,c,!0,d,e)},JT=function(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f++)JT(a,b[f],c,d,e);else d=
qr(d)?!!d.capture:!!d,c=ET(c),wT(a)?a.bg(b,c,d,e):a&&(a=GT(a))&&(b=a.wg(b,c,d,e))&&KT(b)},KT=function(a){if(typeof a!=="number"&&a&&!a.Ng){var b=a.src;if(wT(b))zT(b.A,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(HT(c),d):b.addListener&&b.removeListener&&b.removeListener(d);CT--;(c=GT(b))?(zT(c,a),c.h==0&&(c.src=null,b[AT]=null)):xT(a)}}},HT=function(a){return a in BT?BT[a]:BT[a]="on"+a},IT=function(a,b){if(a.Ng)a=!0;else{b=new ah(b,
this);let c=a.listener,d=a.ma||a.src;a.th&&KT(a);a=c.call(d,b)}return a},GT=function(a){a=a[AT];return a instanceof nh?a:null},LT="__closure_events_fn_"+(Math.random()*1E9>>>0),ET=function(a){if(typeof a==="function")return a;a[LT]||(a[LT]=function(b){return a.handleEvent(b)});return a[LT]};tT(function(a){IT=a(IT)});var wla=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var hj=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};yD(oh,Yg);oh.prototype[vT]=!0;l=oh.prototype;l.addEventListener=function(a,b,c,d){fA(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){JT(this,a,b,c,d)};
l.dispatchEvent=function(a){var b,c=this.qb;if(c)for(b=[];c;c=c.qb)b.push(c);c=this.ud;var d=a.type||a;if(typeof a==="string")a=new $g(a,c);else if(a instanceof $g)a.target=a.target||c;else{var e=a;a=new $g(d,c);mh(a,e)}e=!0;var f;if(b)for(f=b.length-1;f>=0;f--){var g=a.g=b[f];e=MT(g,d,!0,a)&&e}g=a.g=c;e=MT(g,d,!0,a)&&e;e=MT(g,d,!1,a)&&e;if(b)for(f=0;f<b.length;f++)g=a.g=b[f],e=MT(g,d,!1,a)&&e;return e};l.ya=function(){oh.Fb.ya.call(this);NT(this);this.qb=null};
l.listen=function(a,b,c,d){return this.A.add(String(a),b,!1,c,d)};l.bf=function(a,b,c,d){return this.A.add(String(a),b,!0,c,d)};l.bg=function(a,b,c,d){this.A.remove(String(a),b,c,d)};
var NT=function(a){if(a.A){a=a.A;let b=0;for(let c in a.g){let d=a.g[c];for(let e=0;e<d.length;e++)++b,xT(d[e]);delete a.g[c];a.h--}}},MT=function(a,b,c,d){b=a.A.g[String(b)];if(!b)return!0;b=b.concat();var e=!0;for(let f=0;f<b.length;++f){let g=b[f];if(g&&!g.Ng&&g.capture==c){let h=g.listener,k=g.ma||g.src;g.th&&zT(a.A,g);e=h.call(k,d)!==!1&&e}}return e&&!d.defaultPrevented};oh.prototype.wg=function(a,b,c,d){return this.A.wg(String(a),b,c,d)};
oh.prototype.hasListener=function(a,b){return this.A.hasListener(a!==void 0?String(a):void 0,b)};var xla=function(a){try{return n.JSON.parse(a)}catch(b){}a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("X`"+a);},OT=function(a){return(new ph).ca(a)};ph.prototype.ca=function(a){var b=[];PT(this,a,b);return b.join("")};
var PT=function(a,b,c){if(b==null)c.push("null");else{if(typeof b=="object"){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");var e="";for(var f=0;f<b;f++)c.push(e),PT(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],typeof f!="function"&&(c.push(e),QT(d,c),c.push(":"),PT(a,f,c),e=","));c.push("}");return}}switch(typeof b){case "string":QT(b,c);break;
case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Y`"+typeof b);}}},RT={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},yla=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,QT=function(a,b){b.push('"',a.replace(yla,function(c){var d=RT[c];d||(d="\\u"+(c.charCodeAt(0)|65536).toString(16).slice(1),RT[c]=
d);return d}),'"')};var Oha=function(a){var b=n||n,c=b.onerror;b.onerror=function(d,e,f,g,h){c&&c(d,e,f,g,h);a({message:d,fileName:e,line:f,lineNumber:f,rs:g,error:h});return!1}},ST=function(a){var b=[],c=[],d={},e=function(f,g){var h=g+"  ";try{if(f===void 0)b.push("undefined");else if(f===null)b.push("NULL");else if(typeof f==="string")b.push('"'+f.replace(/\n/g,"\n"+g)+'"');else if(typeof f==="function")b.push(String(f).replace(/\n/g,"\n"+g));else if(qr(f)){f[xD]||c.push(f);let k=BC(f);if(d[k])b.push("*** reference loop detected (id="+
k+") ***");else{d[k]=!0;b.push("{");for(let m in f)typeof f[m]!=="function"&&(b.push("\n"),b.push(h),b.push(m+" = "),e(f[m],h));b.push("\n"+g+"}");delete d[k]}}else b.push(f)}catch(k){b.push("*** "+k+" ***")}};e(a,"");for(a=0;a<c.length;a++)Xha(c[a]);return b.join("")},zla=function(a){var b=tD("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||n.$googDebugFname||b}catch(f){e="Not available",c=!0}b=TT(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:UT(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"})},TT=function(a,b){b||(b={});b[VT(a)]=!0;var c=a.stack||"",d=a.cause;d&&!b[VT(d)]&&(c+="\nCaused by: ",d.stack&&d.stack.indexOf(d.toString())==0||(c+=typeof d==="string"?d:d.message+"\n"),c+=TT(d,b));a=a.errors;if(Array.isArray(a)){d=1;let e;for(e=0;e<a.length&&!(d>4);e++)b[VT(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+=TT(a[e],b));e<a.length&&(c+="\n... "+(a.length-e)+" more inner errors")}return c},VT=function(a){var b="";typeof a.toString==="function"&&(b=""+a);return b+a.stack},WT=function(a,b){a instanceof Error||(a=Error(a),Error.captureStackTrace&&Error.captureStackTrace(a,WT));a.stack||(a.stack=Sn(WT));if(b){let c=0;for(;a["message"+c];)++c;a["message"+c]=String(b)}return a},Sn=function(a){var b=Error();
if(Error.captureStackTrace)Error.captureStackTrace(b,a||Sn),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=XT(a||arguments.callee.caller,[]));return b},XT=function(a,b){var c=[];if(Ja(b,a))c.push("[...circular reference...]");else if(a&&b.length<50){c.push(UT(a)+"(");let e=a.arguments;for(let f=0;e&&f<e.length;f++){f>0&&c.push(", ");var d=void 0;d=e[f];switch(typeof d){case "object":d=d?"object":"null";break;case "string":break;case "number":d=String(d);break;
case "boolean":d=d?"true":"false";break;case "function":d=(d=UT(d))?d:"[fn]";break;default:d=typeof d}d.length>40&&(d=d.slice(0,40)+"...");c.push(d)}b.push(a);c.push(")\n");try{c.push(XT(a.caller,b))}catch(f){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},UT=function(a){if(YT[a])return YT[a];a=String(a);if(!YT[a]){let b=/function\s+([^\(]+)/m.exec(a);YT[a]=b?b[1]:"[Anonymous]"}return YT[a]},YT={};var ZT,$T=function(){};yD($T,qh);$T.prototype.g=function(){return new XMLHttpRequest};ZT=new $T;var rh=globalThis.trustedTypes,sh;var uh=function(a){this.g=a};uh.prototype.toString=function(){return this.g+""};var Ala=nD([""]),Bla=mD(["\x00"],["\\0"]),Cla=mD(["\n"],["\\n"]),Dla=mD(["\x00"],["\\u0000"]);xh(function(a){return a(Ala)})||xh(function(a){return a(Bla)})||xh(function(a){return a(Cla)})||xh(function(a){return a(Dla)});var zh=function(a){this.g=a};zh.prototype.toString=function(){return this.g+""};var Ah=function(a){this.g=a};Ah.prototype.toString=function(){return this.g+""};var Bh=function(a){this.g=a};Bh.prototype.toString=function(){return this.g};var yh=function(a,b,c){b=Error.call(this,a+" was requested as a "+b+', but the response Content-Type, "'+c+" is not appropriate for this type of content.");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.url=a;this.contentType=c};V(yh,Error);var lca=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&c.length>1;)d+=c.shift()+e.shift();return d+c.join("%s")},Mh=function(a){return encodeURIComponent(String(a))},aU=function(a,b){if(!Number.isFinite(a))return String(a);a=String(a);var c=a.indexOf(".");c===-1&&(c=a.length);var d=a[0]==="-"?"-":"";d&&(a=a.substring(1));return d+"0".repeat(Math.max(0,b-c))+a},et=function(a){return a==null?"":String(a)},Sh=function(){return Math.floor(Math.random()*
2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^oj()).toString(36)},Ela=Math.random()*2147483648|0,Ot=function(){return"goog_"+Ela++},bU=function(a){var b=Number(a);return b==0&&ka(a)?NaN:b},Lha=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},cU=function(a){var b=1;a=a.split(":");for(var c=[];b>0&&a.length;)c.push(a.shift()),b--;a.length&&c.push(a.join(":"));return c};var Ch=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Rh=/#|$/,qba=/[?&]($|#)/;var Pi=function(a){oh.call(this);this.headers=new Map;this.mb=a||null;this.B=!1;this.g=null;this.K="";this.j=0;this.D="";this.F=this.Pa=this.ha=this.Ea=!1;this.pa=0;this.H=null;this.ab="";this.rc=this.V=!1};yD(Pi,oh);var Fla=/^https?$/i,Gla=["POST","PUT"],dU=[];Pi.prototype.Kd=function(){this.dispose();Na(dU,this)};
Pi.prototype.send=function(a,b,c,d){if(this.g)throw Error("$`"+this.K+"`"+a);b=b?b.toUpperCase():"GET";this.K=a;this.D="";this.j=0;this.Ea=!1;this.B=!0;this.g=this.mb?this.mb.g():ZT.g();this.g.onreadystatechange=hj(nj(this.Ob,this));this.rc&&"onprogress"in this.g&&(this.g.onprogress=hj(nj(function(g){this.Db(g,!0)},this)),this.g.upload&&(this.g.upload.onprogress=hj(nj(this.Db,this))));try{this.Pa=!0,this.g.open(b,String(a),!0),this.Pa=!1}catch(g){eU(this,g);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=q(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("aa`"+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()});e=n.FormData&&a instanceof n.FormData;!Ja(Gla,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=q(c);for(d=b.next();!d.done;d=b.next())c=
q(d.value),d=c.next().value,c=c.next().value,this.g.setRequestHeader(d,c);this.ab&&(this.g.responseType=this.ab);"withCredentials"in this.g&&this.g.withCredentials!==this.V&&(this.g.withCredentials=this.V);try{this.H&&(clearTimeout(this.H),this.H=null),this.pa>0&&(this.H=setTimeout(this.Ec.bind(this),this.pa)),this.ha=!0,this.g.send(a),this.ha=!1}catch(g){eU(this,g)}};
Pi.prototype.Ec=function(){typeof sD!="undefined"&&this.g&&(this.D="Timed out after "+this.pa+"ms, aborting",this.j=8,this.dispatchEvent("timeout"),this.abort(8))};var eU=function(a,b){a.B=!1;a.g&&(a.F=!0,a.g.abort(),a.F=!1);a.D=b;a.j=5;fU(a);gU(a)},fU=function(a){a.Ea||(a.Ea=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Pi.prototype.abort=function(a){this.g&&this.B&&(this.B=!1,this.F=!0,this.g.abort(),this.F=!1,this.j=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),gU(this))};
Pi.prototype.ya=function(){this.g&&(this.B&&(this.B=!1,this.F=!0,this.g.abort(),this.F=!1),gU(this,!0));Pi.Fb.ya.call(this)};Pi.prototype.Ob=function(){this.isDisposed()||(this.Pa||this.ha||this.F?hU(this):this.Ua())};Pi.prototype.Ua=function(){hU(this)};
var hU=function(a){if(a.B&&typeof sD!="undefined")if(a.ha&&iU(a)==4)setTimeout(a.Ob.bind(a),0);else if(a.dispatchEvent("readystatechange"),a.h()){a.B=!1;try{jU(a)?(a.dispatchEvent("complete"),a.dispatchEvent("success")):(a.j=6,a.D=kU(a)+" ["+a.R()+"]",fU(a))}finally{gU(a)}}};Pi.prototype.Db=function(a,b){this.dispatchEvent(lU(a,"progress"));this.dispatchEvent(lU(a,b?"downloadprogress":"uploadprogress"))};
var lU=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},gU=function(a,b){if(a.g){a.H&&(clearTimeout(a.H),a.H=null);let c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};Pi.prototype.isActive=function(){return!!this.g};Pi.prototype.h=function(){return iU(this)==4};
var jU=function(a){var b=a.R();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.K).match(Ch)[1]||null,!a&&n.self&&n.self.location&&(a=n.self.location.protocol.slice(0,-1)),b=!Fla.test(a?a.toLowerCase():"");c=b}return c},iU=function(a){return a.g?a.g.readyState:0};Pi.prototype.R=function(){try{return iU(this)>2?this.g.status:-1}catch(a){return-1}};
var kU=function(a){try{return iU(a)>2?a.g.statusText:""}catch(b){return""}},mU=function(a){try{return a.g?a.g.responseText:""}catch(b){return""}};Pi.prototype.Sa=function(){try{if(!this.g)return null;if("response"in this.g)return this.g.response;switch(this.ab){case "":case "text":return this.g.responseText;case "arraybuffer":if("mozResponseArrayBuffer"in this.g)return this.g.mozResponseArrayBuffer}return null}catch(a){return null}};
Pi.prototype.wa=function(){return this.g&&iU(this)>=2?this.g.getAllResponseHeaders()||"":""};var nU=function(a){var b={};a=a.wa().split("\r\n");for(let d=0;d<a.length;d++){if(ka(a[d]))continue;var c=cU(a[d]);let e=c[0];c=c[1];if(typeof c!=="string")continue;c=c.trim();let f=b[e]||[];b[e]=f;f.push(c)}return ch(b,function(d){return d.join(", ")})},ei=function(a,b){return a.g?a.g.getResponseHeader(b):null},oU=function(a){return typeof a.D==="string"?a.D:String(a.D)};tT(function(a){Pi.prototype.Ua=a(Pi.prototype.Ua)});var pU=function(a,b){this.h=[];this.A=[];this.B=[];this.j=[];this.g=[];this.D=a.Hq;this.F=b;this.Kb=a.Kb;this.D&&Hla(this)},Ila=function(a,b){var c=new qU;fA(a.Kb,"complete",function(){if(jU(a.Kb)){var d=mU(a.Kb);var e;if(e=b)e=a.Kb,e.g&&e.h()?(e=e.g.getResponseHeader("Content-Type"),e=e===null?void 0:e):e=void 0,e=e==="text/plain";if(e){if(!atob)throw Error("ba");d=atob(d)}try{var f=a.F(d)}catch(h){rU(a,Th(new pT(13,"Error when deserializing response data; error: "+h+(", response: "+d)),c));return}d=
Vg(a.Kb.R());sU(a,tU(a));d===0?uU(a,f):rU(a,Th(new pT(d,"Xhr succeeded but the status code is not 200"),c))}else{d=mU(a.Kb);f=tU(a);if(d){var g=vU(a,d);d=g.code;e=g.details;g=g.metadata}else d=2,e="Rpc failed due to xhr error. uri: "+String(a.Kb.K)+", error code: "+(a.Kb.j+", error: ")+oU(a.Kb),g=f;sU(a,f);rU(a,Th(new pT(d,e,g),c))}})},Hla=function(a){a.D.wb("data",function(b){if("1"in b){var c=b["1"];let d;try{d=a.F(c)}catch(e){rU(a,new pT(13,"Error when deserializing response data; error: "+e+(", response: "+
c)))}d&&uU(a,d)}if("2"in b)for(b=vU(a,b["2"]),c=0;c<a.B.length;c++)a.B[c](b)});a.D.wb("end",function(){sU(a,tU(a));for(let b=0;b<a.j.length;b++)a.j[b]()});a.D.wb("error",function(){if(a.g.length!==0){var b=a.Kb.j;b!==0||jU(a.Kb)||(b=6);var c=-1;switch(b){case 0:var d=2;break;case 7:d=10;break;case 8:d=4;break;case 6:c=a.Kb.R();d=Vg(c);break;default:d=14}sU(a,tU(a));b=wla(b)+", error: "+oU(a.Kb);c!==-1&&(b+=", http status code: "+c);rU(a,new pT(d,b))}})},tU=function(a){var b={},c=nU(a.Kb);Object.keys(c).forEach(function(d){b[d]=
c[d]});return b},vU=function(a,b){var c=2,d={};try{let f;f=jH(b);c=xs(f);var e=x(f,2);z(f,gH,3,B()).length&&(d["grpc-web-status-details-bin"]=b)}catch(f){a.Kb&&a.Kb.R()===404?(c=5,e="Not Found: "+String(a.Kb.K)):(c=14,e="Unable to parse RpcStatus: "+f)}return{code:c,details:e,metadata:d}};pU.prototype.wb=function(a,b){a==="data"?this.h.push(b):a==="metadata"?this.A.push(b):a==="status"?this.B.push(b):a==="end"?this.j.push(b):a==="error"&&this.g.push(b);return this};
var wU=function(a,b){b=a.indexOf(b);b>-1&&a.splice(b,1)};pU.prototype.removeListener=function(a,b){a==="data"?wU(this.h,b):a==="metadata"?wU(this.A,b):a==="status"?wU(this.B,b):a==="end"?wU(this.j,b):a==="error"&&wU(this.g,b);return this};pU.prototype.cancel=function(){this.Kb.abort()};
var uU=function(a,b){for(let c=0;c<a.h.length;c++)a.h[c](b)},sU=function(a,b){for(let c=0;c<a.A.length;c++)a.A[c](b)},rU=function(a,b){for(let c=0;c<a.g.length;c++)a.g[c](b)},qU=function(){var a=Error.call(this);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.name="AsyncStack";Object.setPrototypeOf(this,this.constructor.prototype)};V(qU,Error);var xU=function(){},fca=function(a){return a},Jla=function(a){var b=a;return function(){if(b){let c=b;b=null;c()}}};var yU=function(a){this.j=a.cg||null;this.h=a.Um||!1};yD(yU,qh);yU.prototype.g=function(){return new zU(this.j,this.h)};var zU=function(a,b){oh.call(this);this.Ea=a;this.H=b;this.F=void 0;this.status=this.readyState=0;this.responseType=this.responseText=this.response=this.statusText="";this.onreadystatechange=null;this.ha=new Headers;this.h=null;this.wa="GET";this.pa="";this.g=!1;this.K=this.j=this.B=null;this.V=new AbortController};yD(zU,oh);
zU.prototype.open=function(a,b){if(this.readyState!=0)throw this.abort(),Error("ca");this.wa=a;this.pa=b;this.readyState=1;AU(this)};zU.prototype.send=function(a){if(this.readyState!=1)throw this.abort(),Error("da");if(this.V.signal.aborted)throw this.abort(),Error("ea");this.g=!0;var b={headers:this.ha,method:this.wa,credentials:this.F,cache:void 0,signal:this.V.signal};a&&(b.body=a);(this.Ea||n).fetch(new Request(this.pa,b)).then(this.mb.bind(this),this.D.bind(this))};
zU.prototype.abort=function(){this.response=this.responseText="";this.ha=new Headers;this.status=0;this.V.abort("Request was aborted.");this.j&&this.j.cancel("Request was aborted.").catch(function(){return null});this.readyState>=1&&this.g&&this.readyState!=4&&(this.g=!1,BU(this));this.readyState=0};
zU.prototype.mb=function(a){if(this.g&&(this.B=a,this.h||(this.status=this.B.status,this.statusText=this.B.statusText,this.h=a.headers,this.readyState=2,AU(this)),this.g&&(this.readyState=3,AU(this),this.g)))if(this.responseType==="arraybuffer")a.arrayBuffer().then(this.Ua.bind(this),this.D.bind(this));else if(typeof n.ReadableStream!=="undefined"&&"body"in a){this.j=a.body.getReader();if(this.H){if(this.responseType)throw Error("fa");this.response=[]}else this.response=this.responseText="",this.K=
new TextDecoder;CU(this)}else a.text().then(this.ab.bind(this),this.D.bind(this))};var CU=function(a){a.j.read().then(a.Pa.bind(a)).catch(a.D.bind(a))};zU.prototype.Pa=function(a){if(this.g){if(this.H&&a.value)this.response.push(a.value);else if(!this.H){var b=a.value?a.value:new Uint8Array(0);if(b=this.K.decode(b,{stream:!a.done}))this.response=this.responseText+=b}a.done?BU(this):AU(this);this.readyState==3&&CU(this)}};zU.prototype.ab=function(a){this.g&&(this.response=this.responseText=a,BU(this))};
zU.prototype.Ua=function(a){this.g&&(this.response=a,BU(this))};zU.prototype.D=function(){this.g&&BU(this)};var BU=function(a){a.readyState=4;a.B=null;a.j=null;a.K=null;AU(a)};zU.prototype.setRequestHeader=function(a,b){this.ha.append(a,b)};zU.prototype.getResponseHeader=function(a){return this.h?this.h.get(a.toLowerCase())||"":""};zU.prototype.getAllResponseHeaders=function(){if(!this.h)return"";for(var a=[],b=this.h.entries(),c=b.next();!c.done;)c=c.value,a.push(c[0]+": "+c[1]),c=b.next();return a.join("\r\n")};
var AU=function(a){a.onreadystatechange&&a.onreadystatechange.call(a)};Object.defineProperty(zU.prototype,"withCredentials",{get:function(){return this.F==="include"},set:function(a){this.F=a?"include":"same-origin"}});Uh.prototype.toString=function(){var a=[],b=this.h;b&&a.push(DU(b,EU,!0),":");var c=this.g;if(c||b=="file")a.push("//"),(b=this.F)&&a.push(DU(b,EU,!0),"@"),a.push(Mh(c).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,c!=null&&a.push(":",String(c));if(c=this.getPath())this.g&&c.charAt(0)!="/"&&a.push("/"),a.push(DU(c,c.charAt(0)=="/"?Kla:Lla,!0));(c=this.j.toString())&&a.push("?",c);(c=this.D)&&a.push("#",DU(c,Mla));return a.join("")};
Uh.prototype.resolve=function(a){var b=this.clone(),c=!!a.h;c?Vh(b,a.h):c=!!a.F;c?b.F=a.F:c=!!a.g;c?Wh(b,a.g):c=a.A!=null;var d=a.getPath();if(c)Xh(b,a.A);else if(c=!!a.H){if(d.charAt(0)!="/")if(this.g&&!this.H)d="/"+d;else{var e=b.getPath().lastIndexOf("/");e!=-1&&(d=b.getPath().slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(ma(e,"./")||ma(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");let f=[];for(let g=0;g<e.length;){let 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?Yh(b,d):c=a.O();c?Zh(b,a.j.clone()):c=!!a.D;c&&(b.D=a.D);return b};Uh.prototype.clone=function(){return new Uh(this)};var Vh=function(a,b,c){a.h=c?$h(b,!0):b;a.h&&(a.h=a.h.replace(/:$/,""));return a},Wh=function(a,b,c){a.g=c?$h(b,!0):b;return a},Xh=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("ga`"+b);a.A=b}else a.A=null;return a};Uh.prototype.getPath=function(){return this.H};
var Yh=function(a,b,c){a.H=c?$h(b,!0):b;return a};Uh.prototype.O=function(){return this.j.toString()!==""};
var Zh=function(a,b,c){b instanceof ai?(a.j=b,Nla(a.j,a.B)):(c||(b=DU(b,Ola)),a.j=new ai(b,a.B));return a},EA=function(a,b,c){a.j.set(b,c)},Xk=function(a,b,c){Array.isArray(c)||(c=[String(c)]);FU(a.j,b,c)},GU=function(a){EA(a,"zx",Sh());return a},HU=function(a){return a instanceof Uh?a.clone():new Uh(a)},$h=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},DU=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,Pla),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,
"%$1")),a):null},Pla=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},EU=/[#\/\?@]/g,Lla=/[#\?:]/g,Kla=/[#\?]/g,Ola=/[#\?@]/g,Mla=/#/g,ai=function(a,b){this.h=this.g=null;this.j=a||null;this.A=!!b},IU=function(a){a.g||(a.g=new Map,a.h=0,a.j&&nba(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};l=ai.prototype;l.Va=function(){IU(this);return this.h};
l.add=function(a,b){IU(this);this.j=null;a=JU(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h+=1;return this};l.remove=function(a){IU(this);a=JU(this,a);return this.g.has(a)?(this.j=null,this.h-=this.g.get(a).length,this.g.delete(a)):!1};l.clear=function(){this.g=this.j=null;this.h=0};l.ib=function(){IU(this);return this.h==0};var KU=function(a,b){IU(a);b=JU(a,b);return a.g.has(b)};
ai.prototype.forEach=function(a,b){IU(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};ai.prototype.uc=function(a){IU(this);var b=[];if(typeof a==="string")KU(this,a)&&(b=b.concat(this.g.get(JU(this,a))));else{a=Array.from(this.g.values());for(let c=0;c<a.length;c++)b=b.concat(a[c])}return b};ai.prototype.set=function(a,b){IU(this);this.j=null;a=JU(this,a);KU(this,a)&&(this.h-=this.g.get(a).length);this.g.set(a,[b]);this.h+=1;return this};
ai.prototype.get=function(a,b){if(!a)return b;a=this.uc(a);return a.length>0?String(a[0]):b};var FU=function(a,b,c){a.remove(b);c.length>0&&(a.j=null,a.g.set(JU(a,b),Pa(c)),a.h+=c.length)};ai.prototype.toString=function(){if(this.j)return this.j;if(!this.g)return"";var a=[],b=Array.from(this.g.keys());for(let d=0;d<b.length;d++){var c=b[d];let e=Mh(c);c=this.uc(c);for(let f=0;f<c.length;f++){let g=e;c[f]!==""&&(g+="="+Mh(c[f]));a.push(g)}}return this.j=a.join("&")};
ai.prototype.clone=function(){var a=new ai;a.j=this.j;this.g&&(a.g=new Map(this.g),a.h=this.h);return a};var JU=function(a,b){b=String(b);a.A&&(b=b.toLowerCase());return b},Nla=function(a,b){b&&!a.A&&(IU(a),a.j=null,a.g.forEach(function(c,d){var e=d.toLowerCase();d!=e&&(this.remove(d),FU(this,e,c))},a));a.A=b};var LU=function(a){var b="";bh(a,function(c,d){b+=d;b+=":";b+=c;b+="\r\n"});return b},MU=function(a,b,c){if(hh(c))return a;c=LU(c);if(typeof a==="string")return Ph(a,Mh(b),c);EA(a,b,c);return a};yD(bi,Yg);var NU=[];bi.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(NU[0]=b.toString()),b=NU);for(let e=0;e<b.length;e++){let f=fA(a,b[e],c||this.handleEvent,d||!1,this.h||this);if(!f)break;this.g[f.key]=f}return this};bi.prototype.bf=function(a,b,c,d){return OU(this,a,b,c,d)};var OU=function(a,b,c,d,e,f){if(Array.isArray(c))for(let g=0;g<c.length;g++)OU(a,b,c[g],d,e,f);else{b=DT(b,c,d||a.handleEvent,e,f||a.h||a);if(!b)return a;a.g[b.key]=b}return a};
bi.prototype.bg=function(a,b,c,d,e){if(Array.isArray(b))for(let f=0;f<b.length;f++)this.bg(a,b[f],c,d,e);else c=c||this.handleEvent,d=qr(d)?!!d.capture:!!d,e=e||this.h||this,c=ET(c),d=!!d,b=wT(a)?a.wg(b,c,d,e):a?(a=GT(a))?a.wg(b,c,d,e):null:null,b&&(KT(b),delete this.g[b.key])};var PU=function(a){bh(a.g,function(b,c){this.g.hasOwnProperty(c)&&KT(b)},a);a.g={}};bi.prototype.ya=function(){bi.Fb.ya.call(this);PU(this)};bi.prototype.handleEvent=function(){throw Error("ia");};var Qla=function(){this.j=!0;this.h=0;this.g=""};var QU=function(a,b,c,d){a.h=3;a.O="The stream is broken @"+a.da+"/"+c+". Error: "+d+". With input:\n"+b;throw Error(a.O);};ci.prototype.H=function(){return!0};
ci.prototype.parse=function(a){function b(k){k&128&&QU(f,g,h,"invalid tag");(k&7)!=2&&QU(f,g,h,"invalid wire type");f.j=k>>>3;f.j!=1&&f.j!=2&&f.j!=15&&QU(f,g,h,"unexpected tag");f.h=1;f.g=0;f.A=0}function c(k){f.A++;f.A==5&&k&240&&QU(f,g,h,"message length too long");f.g|=(k&127)<<(f.A-1)*7;k&128||(f.h=2,f.F=0,typeof Uint8Array!=="undefined"?f.B=new Uint8Array(f.g):f.B=Array(f.g),f.g==0&&e())}function d(k){f.B[f.F++]=k;f.F==f.g&&e()}function e(){if(f.j<15){let k={};k[f.j]=f.B;f.D.push(k)}f.h=0}for(var f=
this,g=a instanceof Array?a:new Uint8Array(a),h=0;h<g.length;){switch(f.h){case 3:QU(f,g,h,"stream already broken");break;case 0:b(g[h]);break;case 1:c(g[h]);break;case 2:d(g[h]);break;default:throw Error("ka`"+f.h);}f.da++;h++}a=f.D;f.D=[];return a.length>0?a:null};var gi=function(){this.g=null;this.h=0;this.j=new Qla;this.A=new ci},RU=function(a,b,c){a.g="The stream is broken @"+a.h+". Error: "+c+". With input:\n"+b;throw Error(a.g);};gi.prototype.H=function(){return!1};
gi.prototype.parse=function(a){this.g!==null&&RU(this,a,"stream already broken");var b=null;try{{var c=this.j;if(!c.j)throw c.j=!1,Error("ja`"+c.h+"`stream already broken`"+a);c.g+=a;let h=Math.floor(c.g.length/4);if(h==0)var d=null;else{try{var e=eaa(c.g.slice(0,h*4))}catch(k){var f=c.g,g=k.message;c.j=!1;throw Error("ja`"+c.h+"`"+g+"`"+f);}c.h+=h*4;c.g=c.g.slice(h*4);d=e}}b=d===null?null:this.A.parse(d)}catch(h){RU(this,a,h.message)}this.h+=a.length;return b};var SU=function(a){return a=="\r"||a=="\n"||a==" "||a=="\t"};di.prototype.done=function(){return this.F===2};var TU=function(a,b,c){a.F=3;a.da="The stream is broken @"+a.j+"/"+c+". With input:\n"+b;throw Error(a.da);};di.prototype.H=function(){return!1};
di.prototype.parse=function(a){function b(){for(;t<a.length;)if(SU(a[t]))t++,f.j++;else break;return t<k}function c(){for(var A;;){A=a[t++];if(!A)break;f.j++;switch(f.g){case 0:A==="{"?f.g=2:A==="["?f.g=4:SU(A)||TU(f,a,t);continue;case 7:case 2:if(SU(A))continue;if(f.g===7)g.push(8);else if(A==="}"){e("{}");f.g=d();continue}else g.push(3);A==='"'?f.g=6:TU(f,a,t);continue;case 8:case 3:if(SU(A))continue;A===":"?(f.g===3&&(g.push(3),f.h++),f.g=1):A==="}"?(f.h--,e(),f.g=d()):A===","?(f.g===3&&g.push(3),
f.g=7):TU(f,a,t);continue;case 4:case 1:if(SU(A))continue;if(f.g===4)if(f.h++,f.g=1,A==="]"){f.h--;if(f.h===0){f.g=5;return}e("[]");f.g=d();continue}else g.push(5);A==='"'?f.g=6:A==="{"?f.g=2:A==="["?f.g=4:A==="t"?f.g=9:A==="f"?f.g=12:A==="n"?f.g=16:A!=="-"&&("0123456789".indexOf(A)!==-1?f.g=20:TU(f,a,t));continue;case 5:if(A===",")g.push(5),f.g=1,f.h===1&&(p=t);else if(A==="]"){f.h--;if(f.h===0)return;e();f.g=d()}else if(SU(A))continue;else TU(f,a,t);continue;case 6:let J=t;a:for(;;){for(;f.O>0;)if(A=
a[t++],f.O===4?f.O=0:f.O++,!A)break a;if(A==='"'&&!f.D){f.g=d();break}if(A==="\\"&&!f.D&&(f.D=!0,A=a[t++],!A))break;if(f.D)if(f.D=!1,A==="u"&&(f.O=1),A=a[t++])continue;else break;h.lastIndex=t;A=h.exec(a);if(!A){t=a.length+1;break}t=A.index+1;A=a[A.index];if(!A)break}f.j+=t-J;continue;case 9:if(!A)continue;A==="r"?f.g=10:TU(f,a,t);continue;case 10:if(!A)continue;A==="u"?f.g=11:TU(f,a,t);continue;case 11:if(!A)continue;A==="e"?f.g=d():TU(f,a,t);continue;case 12:if(!A)continue;A==="a"?f.g=13:TU(f,a,
t);continue;case 13:if(!A)continue;A==="l"?f.g=14:TU(f,a,t);continue;case 14:if(!A)continue;A==="s"?f.g=15:TU(f,a,t);continue;case 15:if(!A)continue;A==="e"?f.g=d():TU(f,a,t);continue;case 16:if(!A)continue;A==="u"?f.g=17:TU(f,a,t);continue;case 17:if(!A)continue;A==="l"?f.g=18:TU(f,a,t);continue;case 18:if(!A)continue;A==="l"?f.g=d():TU(f,a,t);continue;case 19:A==="."?f.g=20:TU(f,a,t);continue;case 20:if("0123456789.eE+-".indexOf(A)!==-1)continue;else t--,f.j--,f.g=d();continue;default:TU(f,a,t)}}}
function d(){var A=g.pop();return A!=null?A:1}function e(A){f.h>1||(A||(A=p===-1?f.A+a.substring(m,t):a.substring(p,t)),f.K?f.B.push(A):f.B.push(JSON.parse(A)),p=t)}for(var f=this,g=f.V,h=f.ha,k=a.length,m=0,p=-1,t=0;t<k;)switch(f.F){case 3:return TU(f,a,t),null;case 2:return b()&&TU(f,a,t),null;case 0:if(b()){var w=a[t++];f.j++;if(w==="["){f.F=1;m=t;f.g=4;continue}else TU(f,a,t)}return null;case 1:return c(),f.h===0&&f.g==5?(f.F=2,f.A=a.substring(t)):f.A=p===-1?f.A+a.substring(m):a.substring(p),
f.B.length>0?(w=f.B,f.B=[],w):null}return null};var fi=function(){this.B=this.j=null;this.h=this.g=0;this.A=[];this.D=!1};fi.prototype.H=function(){return!1};
fi.prototype.parse=function(a){function b(k){f.h=6;f.B="The stream is broken @"+f.g+"/"+g+". Error: "+k+". With input:\n";throw Error(f.B);}function c(){f.j=new di({js:!0,ep:!0})}function d(k){if(k)for(let m=0;m<k.length;m++){let p={};p[1]=k[m];f.A.push(p)}}function e(k){if(k){(f.D||k.length>1)&&b("extra status: "+k);f.D=!0;let m={};m[2]=k[0];f.A.push(m)}}for(var f=this,g=0;g<a.length;){var h;if(h=f.h!==2){a:{for(;g<a.length;){if(!SU(a[g])){h=!0;break a}g++;f.g++}h=!1}h=!h}if(h)return null;switch(f.h){case 6:b("stream already broken");
break;case 0:a[g]==="["?(f.h=1,g++,f.g++):b("unexpected input token");break;case 1:a[g]==="["?(f.h=2,c()):a[g]===","||a.slice(g,g+5)=="null,"?f.h=3:a[g]==="]"?(f.h=5,g++,f.g++):b("unexpected input token");break;case 2:h=f.j.parse(a.substring(g));d(h);f.j.done()?(f.h=3,h=f.j.A,f.g+=a.length-g-h.length,a=h,g=0):(f.g+=a.length-g,g=a.length);break;case 3:a[g]===","||a.slice(g,g+5)=="null,"?(f.h=4,c(),f.j.parse("["),g+=a[g]===","?1:5,f.g++):a[g]==="]"&&(f.h=5,g++,f.g++);break;case 4:h=f.j.parse(a.substring(g));
e(h);f.j.done()?(f.h=5,h=f.j.A,f.g+=a.length-g-h.length,a=h,g=0):(f.g+=a.length-g,g=a.length);break;case 5:b("extra input after stream end")}}return f.A.length>0?(a=f.A,f.A=[],a):null};var UU=function(a){this.g=a;this.h=null;this.B=this.j=0;this.H=!1;this.A=this.F=this.D=null;this.O=new bi(this);this.O.listen(this.g,"readystatechange",this.da)},VU=function(a,b){a.B!=b&&(a.B=b,a.F&&a.F())},WU=function(a){PU(a.O);if(a.g){let b=a.g;a.g=null;b.abort();b.dispose()}};UU.prototype.R=function(){return this.B};
UU.prototype.da=function(a){a=a.target;try{if(a==this.g)a:{let f=iU(this.g);var b=this.g.j,c=this.g.R();let g=mU(this.g);a=[];if(this.g.Sa()instanceof Array){let h=this.g.Sa();h.length>0&&h[0]instanceof Uint8Array&&(this.H=!0,a=h)}if(!(f<3||f==3&&!g&&a.length==0))if(c=c==200||c==206,f==4&&(b==8?VU(this,7):b==7?VU(this,8):c||VU(this,3)),this.h||(this.h=sba(this.g),this.h==null&&VU(this,5)),this.B>2)WU(this);else{if(a.length>this.j){let h=a.length;b=[];try{if(this.h.H())for(var d=0;d<h;d++){var e=this.h.parse(Array.from(a[d]));
e&&(b=b.concat(e))}else{e="";if(!this.D){if(typeof TextDecoder==="undefined")throw Error("la");this.D=new TextDecoder}for(d=0;d<h;d++)e+=this.D.decode(a[d],{stream:f==4&&d==h-1});b=this.h.parse(e)}a.splice(0,h);b&&this.A(b)}catch(k){VU(this,5);WU(this);break a}}else if(g.length>this.j){d=g.slice(this.j);this.j=g.length;try{let h=this.h.parse(d);h!=null&&this.A&&this.A(h)}catch(h){VU(this,5);WU(this);break a}}f==4?(g.length!=0||this.H?VU(this,2):VU(this,4),WU(this)):VU(this,1)}}}catch(f){VU(this,6),
WU(this)}};var XU=function(a){a=this.j=a;var b=nj(this.Iq,this);a.A=b;a=this.j;b=nj(this.A,this);a.F=b;this.h={};this.g={}};l=XU.prototype;l.wb=function(a,b){var c=this.h[a];c||(c=[],this.h[a]=c);c.push(b);return this};l.addListener=function(a,b){this.wb(a,b);return this};l.removeListener=function(a,b){var c=this.h[a];c&&Na(c,b);(a=this.g[a])&&Na(a,b);return this};l.once=function(a,b){var c=this.g[a];c||(c=[],this.g[a]=c);c.push(b);return this};
l.Iq=function(a){var b=this.h.data;b&&YU(a,b);(b=this.g.data)&&YU(a,b);this.g.data=[]};var YU=function(a,b){for(let c=0;c<a.length;c++){let d=a[c];b.forEach(function(e){try{e(d)}catch(f){}})}};XU.prototype.A=function(){switch(this.j.R()){case 1:ZU(this,"readable");break;case 5:case 6:case 4:case 7:case 3:ZU(this,"error");break;case 8:ZU(this,"close");break;case 2:ZU(this,"end")}};
var ZU=function(a,b){var c=a.h[b];c&&c.forEach(function(d){try{d()}catch(e){}});(c=a.g[b])&&c.forEach(function(d){d()});a.g[b]=[]};var Rla=function(a){a=a===void 0?{}:a;this.xk=a.xk||tD("suppressCorsPreflight",a)||!1;this.withCredentials=a.withCredentials||tD("withCredentials",a)||!1;this.wk=a.wk||[];this.an=a.an||[];this.Bk=a.Bk;this.g=a.Qs||!1},Ula=function(a,b,c,d,e,f){f=f===void 0?{}:f;var g=b.substring(0,b.length-e.name.length),h,k=(h=f)==null?void 0:h.signal;return Sla(function(m){return new Promise(function(p,t){if(k==null?0:k.aborted){let J=new pT(1,"Aborted");J.cause=k.reason;t(J)}else{var w={},A=Tla(a,m,g);A.wb("error",
function(J){return void t(J)});A.wb("metadata",function(J){w=J});A.wb("data",function(J){var Z=w;Z=Z===void 0?{}:Z;p(new wR(J,Z))});k&&k.addEventListener("abort",function(){A.cancel();var J=new pT(1,"Aborted");J.cause=k.reason;t(J)})}})},a.an).call(a,e.createRequest(c,d)).then(function(m){return m.Vq})},$U=function(a,b,c,d,e,f){f=f===void 0?{}:f;return Ula(a,b,c,d,e,f)},Wla=function(a,b,c,d){var e=b.substring(0,b.length-bT.name.length);return Vla(function(f){var g=f.sm,h=f.getMetadata(),k=aV(a,!1);
h=bV(a,h,k,e+g.getName());var m=cV(k,g.h,!0);f=g.g(f.requestMessage);k.send(h,"POST",f);return m},a.wk).call(a,bT.createRequest(c,d))},Tla=function(a,b,c){var d=b.sm,e=b.getMetadata(),f=aV(a,!0);a=bV(a,e,f,c+d.getName());c=cV(f,d.h,!1);Ila(c,e["X-Goog-Encode-Response-If-Executable"]==="base64");b=d.g(b.requestMessage);f.send(a,"POST",b);return c},aV=function(a,b){b=a.g&&!b;return a.Bk||b?new Pi(new yU({cg:a.Bk,Um:b})):new Pi},bV=function(a,b,c,d){b["Content-Type"]="application/json+protobuf";b["X-User-Agent"]=
"grpc-web-javascript/0.1";var e=b.Authorization;if(e&&ula.has(e.split(" ")[0])||a.withCredentials)c.V=!0;if(a.xk)d=MU(d,"$httpHeaders",b);else for(a=q(Object.keys(b)),e=a.next();!e.done;e=a.next())e=e.value,c.headers.set(e,b[e]);return d},cV=function(a,b,c){if(c){c=new UU(a);var d=new XU(c)}return new pU({Kb:a,Hq:d},b)},Vla=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,c)}},a)},Sla=function(a,b){return b.reduce(function(c,d){return function(e){return d.intercept(e,
c)}},a)};var dV=function(a){var b=Error.call(this,a?a.length+" errors occurred during unsubscription:\n"+a.map(function(c,d){return d+1+") "+c.toString()}).join("\n  "):"");this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errors=a;Object.setPrototypeOf(this,this.constructor.prototype);this.name="UnsubscriptionError"};V(dV,Error);var ji=function(a){this.A=a;this.closed=!1;this.j=this.h=null};l=ji.prototype;
l.unsubscribe=function(){if(!this.closed){this.closed=!0;let d=this.h;if(Array.isArray(d))for(var a=q(d),b=a.next();!b.done;b=a.next())b.value.remove(this);else d==null||d.remove(this);a=this.A;if(ii(a))try{a()}catch(f){var c=f instanceof dV?f.errors:[f]}let e=this.j;if(e)for(this.j=null,a=q(e),b=a.next();!b.done;b=a.next()){b=b.value;try{ii(b)?b():b.unsubscribe()}catch(f){let g;c=(g=c)!=null?g:[];f instanceof dV?c=[].concat(r(c),r(f.errors)):c.push(f)}}if(c)throw new dV(c);}};
l.add=function(a){if(a&&a!==this)if(this.closed)ii(a)?a():a.unsubscribe();else{if(a instanceof ji){if(a.closed||a.Ao(this))return;a.yo(this)}let b;(this.j=(b=this.j)!=null?b:[]).push(a)}};l.Ao=function(a){var b=this.h;return b===a||Array.isArray(b)&&b.includes(a)};l.yo=function(a){var b=this.h;this.h=Array.isArray(b)?(b.push(a),b):b?[b,a]:a};l.Co=function(a){var b=this.h;b===a?this.h=null:Array.isArray(b)&&hi(b,a)};l.remove=function(a){var b=this.j;b&&hi(b,a);a instanceof ji&&a.Co(this)};var eV=new ji;
eV.closed=!0;ji.g=eV;var tba=function(){setTimeout.apply(null,r(ac.apply(0,arguments)))};var fV=function(a){ji.call(this);this.g=!1;this.destination=a instanceof fV?a:new gV(!a||ii(a)?{next:a!=null?a:void 0}:a);ki(a)&&a.add(this)};V(fV,ji);fV.g=ji.g;fV.create=function(a,b,c){return new ti(a,b,c)};l=fV.prototype;l.next=function(a){this.g||this.fl(a)};l.error=function(a){this.g||(this.g=!0,this.dl(a))};l.complete=function(){this.g||(this.g=!0,this.cl())};l.unsubscribe=function(){this.closed||(this.g=!0,ji.prototype.unsubscribe.call(this))};l.fl=function(a){this.destination.next(a)};
l.dl=function(a){this.destination.error(a);this.unsubscribe()};l.cl=function(){this.destination.complete();this.unsubscribe()};var gV=function(a){this.g=a};gV.prototype.next=function(a){var b=this.g;if(b.next)try{b.next(a)}catch(c){mi(c)}};gV.prototype.error=function(a){var b=this.g;if(b.error)try{b.error(a)}catch(c){mi(c)}else mi(a)};gV.prototype.complete=function(){var a=this.g;if(a.complete)try{a.complete()}catch(b){mi(b)}};
var ti=function(a,b,c){fV.call(this);var d;ii(a)||!a?d={next:a!=null?a:void 0,error:b!=null?b:void 0,complete:c!=null?c:void 0}:d=a;this.destination=new gV(d)};V(ti,fV);ti.g=fV.g;ti.create=fV.create;var pi=typeof Symbol==="function"&&Symbol.observable||"@@observable";var oi=function(a){a&&(this.Le=a)};l=oi.prototype;l.Oj=function(a){var b=new oi;b.source=this;b.operator=a;return b};l.subscribe=function(a,b,c){a=a&&a instanceof fV||a&&ii(a.next)&&ii(a.error)&&ii(a.complete)&&ki(a)?a:new ti(a,b,c);b=this.operator;c=this.source;a.add(b?b.call(a,c):c?this.Le(a):this.Vi(a));return a};l.Vi=function(a){try{return this.Le(a)}catch(b){a.error(b)}};
l.forEach=function(a,b){var c=this;b=vba(b);return new b(function(d,e){var f=c.subscribe(function(g){try{a(g)}catch(h){e(h),f==null||f.unsubscribe()}},e,d)})};l.Le=function(a){var b;return(b=this.source)==null?void 0:b.subscribe(a)};oi.prototype[pi]=function(){return this};oi.prototype.h=function(){var a=ac.apply(0,arguments);return a.length?uba(a)(this):this};oi.create=function(a){return new oi(a)};var hV=function(){var a=Error.call(this,"object unsubscribed");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="ObjectUnsubscribedError"};V(hV,Error);var iV=function(){this.j=[];this.Ue=this.g=this.closed=!1;this.B=null};V(iV,oi);l=iV.prototype;l.Oj=function(a){var b=new jV(this,this);b.operator=a;return b};l.wf=function(){if(this.closed)throw new hV;};l.next=function(a){this.wf();if(!this.g)for(var b=q(this.j.slice()),c=b.next();!c.done;c=b.next())c.value.next(a)};l.error=function(a){this.wf();if(!this.g){this.Ue=this.g=!0;this.B=a;let b=this.j;for(;b.length;)b.shift().error(a)}};
l.complete=function(){this.wf();if(!this.g){this.g=!0;let a=this.j;for(;a.length;)a.shift().complete()}};l.unsubscribe=function(){this.g=this.closed=!0;this.j=null};l.Vi=function(a){this.wf();return oi.prototype.Vi.call(this,a)};l.Le=function(a){this.wf();this.zo(a);return this.Bo(a)};l.Bo=function(a){var b=this,c=this.g,d=this.j;return this.Ue||c?ji.g:(d.push(a),new ji(function(){return hi(b.j,a)}))};l.zo=function(a){var b=this.B,c=this.g;this.Ue?a.error(b):c&&a.complete()};
var kV=function(a){var b=new oi;b.source=a;return b};hD.Object.defineProperties(iV.prototype,{D:{configurable:!0,enumerable:!0,get:function(){var a;return((a=this.j)==null?void 0:a.length)>0}}});iV.create=function(a,b){return new jV(a,b)};var jV=function(a,b){iV.call(this);this.destination=a;this.source=b};V(jV,iV);jV.create=iV.create;jV.prototype.next=function(a){var b,c;(b=this.destination)==null||(c=b.next)==null||c.call(b,a)};
jV.prototype.error=function(a){var b,c;(b=this.destination)==null||(c=b.error)==null||c.call(b,a)};jV.prototype.complete=function(){var a,b;(a=this.destination)==null||(b=a.complete)==null||b.call(a)};jV.prototype.Le=function(a){var b,c;return(c=(b=this.source)==null?void 0:b.subscribe(a))!=null?c:ji.g};var Ji=function(a){iV.call(this);this.A=a};V(Ji,iV);Ji.create=iV.create;Ji.prototype.Le=function(a){var b=iV.prototype.Le.call(this,a);!b.closed&&a.next(this.A);return b};Ji.prototype.getValue=function(){var a=this.B,b=this.A;if(this.Ue)throw a;this.wf();return b};Ji.prototype.next=function(a){iV.prototype.next.call(this,this.A=a)};hD.Object.defineProperties(Ji.prototype,{value:{configurable:!0,enumerable:!0,get:function(){return this.getValue()}}});var Xba=new oi(function(a){return a.complete()});var ri=typeof Symbol==="function"&&Symbol.iterator?Symbol.iterator:"@@iterator";var ui=function(){var a=Error.call(this,"no elements in sequence");this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,this.constructor.prototype);this.name="EmptyError"};V(ui,Error);var xi=function(a,b,c,d,e){fV.call(this,a);this.B=e;b&&(this.fl=function(f){try{b(f)}catch(g){this.destination.error(g)}});c&&(this.dl=function(f){try{c(f)}catch(g){this.destination.error(g)}this.unsubscribe()});d&&(this.cl=function(){try{d()}catch(f){this.destination.error(f)}this.unsubscribe()})};V(xi,fV);xi.g=fV.g;xi.create=fV.create;xi.prototype.unsubscribe=function(){var a;this.closed||(a=this.B)!=null&&a.call(this);fV.prototype.unsubscribe.call(this)};var lV=new oi(li);var mV=function(a,b){b=b||{};b.format="jspb";this.g=new Rla(b);this.h=a==void 0?a:a.replace(/\/+$/,"")};mV.prototype.Nd=function(){var a=this;return new oi(function(b){var c=new AbortController;$U(a.g,a.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/GetAccount",void 0,{},nla,{signal:c.signal}).then(function(d){b.next(d);b.complete()},function(d){b.error(d)});return function(){c.abort()}})};
mV.prototype.listItems=function(a,b){var c=this;return new oi(function(d){var e=new AbortController;$U(c.g,c.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListItems",a,b||{},ola,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
var Xla=function(a,b,c){return new oi(function(d){var e=Wla(a.g,a.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/SearchItems",b,c||{});e.wb("data",function(f){d.next(f)});e.wb("error",function(f){d.error(f)});e.wb("status",function(f){f.code!==0&&d.error(new pT(f.code,f.details,f.metadata))});e.wb("end",function(){d.complete()});return function(){e.cancel()}})};
mV.prototype.listWorkspaces=function(a,b){var c=this;return new oi(function(d){var e=new AbortController;$U(c.g,c.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/ListWorkspaces",a,b||{},pla,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
mV.prototype.Mm=function(a,b){var c=this;return new oi(function(d){var e=new AbortController;$U(c.g,c.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/RewindPreflight",a,b||{},rla,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};
mV.prototype.Cl=function(a,b){var c=this;return new oi(function(d){var e=new AbortController;$U(c.g,c.h+"/$rpc/google.internal.apps.drive.driveway.v1.DriveFrontendService/DeleteApp",a,b||{},mla,{signal:e.signal}).then(function(f){d.next(f);d.complete()},function(f){d.error(f)});return function(){e.abort()}})};var Yla=Fg(oS);var nV=function(a){this.o=u(a)};V(nV,v);var oV=function(a){this.o=u(a)};V(oV,v);var Zla=new PQ("45783852",1),$la=new PQ("45775584",0),ama=new OQ("45798772"),bma=new OQ("45788753"),cma=new OQ("45798771"),dma=new OQ("45775398"),ema=new OQ("45798443"),fma=new OQ("45772706"),gma=new PQ("45767159",0),hma=new OQ("45685754"),ima=new OQ("45724259"),jma=new OQ("45681910"),kma=new OQ("45747769"),lma=new OQ("45729467"),mma=new OQ("45712870"),nma=new OQ("45708298"),oma=new OQ("45746380");var pma=new OQ("45668197");var qma=new OQ("45796590"),rma=new OQ("45736727"),sma=new OQ("45686666"),tma=new OQ("45686667"),uma=new OQ("45699702"),vma=new OQ("45730498"),wma=new OQ("45730506"),xma=new OQ("45658291"),yma=new OQ("45658644"),zma=new OQ("45658679"),Ama=new OQ("45658949"),Bma=new OQ("45672205"),Cma=new OQ("45672206"),Dma=new OQ("45672213"),Ema=new OQ("45672211"),Fma=new OQ("45661086"),Gma=new OQ("45760024"),Hma=new OQ("45760386"),Ima=new OQ("45658716"),Jma=new OQ("45658731"),Kma=new OQ("45736482"),Lma=new OQ("45686662"),
Mma=new OQ("45686664"),Nma=new OQ("45686663"),Oma=new OQ("45672066"),Pma=new OQ("45672085"),Qma=new OQ("45672203"),Rma=new OQ("45672202"),Sma=new OQ("45686665"),Tma=new OQ("45677009"),Uma=new OQ("45676996"),Vma=new OQ("45731897"),Wma=new OQ("45745030"),Xma=new OQ("45673686"),Yma=new OQ("45673687"),Zma=new OQ("45678187");var pV=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("pa`"+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&&c!=="moz-extension"&&
c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("qa`"+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};Bi.prototype.reset=function(){this.g=this.A;this.j=!1};var $ma=function(a){var b=0;a.j&&(b=a.B()*.2,b=Math.ceil((1-b)*a.g),a.g<a.h&&(a.g*=2,a.g>a.h&&(a.g=a.h)));a.j=!0;return b};var qV=function(a,b,c){var d=String(n.location.href);return d&&a&&b?[b,ana(pV(d),a,c||null)].join(" "):null},ana=function(a,b,c){var d=[],e=[];if((Array.isArray(c)?2:1)==1)return e=[b,a],$a(d,function(h){e.push(h)}),rV(e.join(" "));var f=[],g=[];$a(c,function(h){g.push(h.key);f.push(h.value)});c=Math.floor((new Date).getTime()/1E3);e=f.length==0?[c,b,a]:[f.join(":"),c,b,a];$a(d,function(h){e.push(h)});a=rV(e.join(" "));a=[c,a];g.length==0||a.push(g.join(""));return a.join("_")},rV=function(a){var b=
Gba();b.update(a);return b.digestString().toLowerCase()};l=Ci.prototype;l.isEnabled=function(){if(!n.navigator.cookieEnabled)return!1;if(!this.ib())return!0;this.set("TESTCOOKIESENABLED","1",{pm:60});if(this.get("TESTCOOKIESENABLED")!=="1")return!1;this.remove("TESTCOOKIESENABLED");return!0};
l.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.sameSite;d=c.secure||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.pm}if(/[;=\s]/.test(a))throw Error("ra`"+a);if(/[;\r\n]/.test(b))throw Error("sa`"+b);h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")};
l.get=function(a,b){var c=a+"=",d=(this.g.cookie||"").split(";");for(let e=0,f;e<d.length;e++){f=d[e].trim();if(f.lastIndexOf(c,0)==0)return f.slice(c.length);if(f==a)return""}return b};l.remove=function(a,b,c){var d=this.get(a)!==void 0;this.set(a,"",{pm:0,path:b,domain:c});return d};l.uc=function(){return sV(this).values};l.ib=function(){return!this.g.cookie};l.Va=function(){return this.g.cookie?(this.g.cookie||"").split(";").length:0};
l.clear=function(){var a=sV(this).keys;for(let b=a.length-1;b>=0;b--)this.remove(a[b])};var sV=function(a){a=(a.g.cookie||"").split(";");var b=[],c=[];for(let f=0;f<a.length;f++){var d=a[f].trim();var e=d.indexOf("=");e==-1?(b.push(""),c.push(d)):(b.push(d.substring(0,e)),c.push(d.substring(e+1)))}return{keys:b,values:c}};var tV=function(a,b,c,d){(a=n[a])||typeof document==="undefined"||(a=(new Ci).get(b));return a?qV(a,c,d):null},Qq=function(a){var b=pV(n==null?void 0:n.location.href),c=[],d;(d=n.__SAPISID||n.__APISID||n.__3PSAPISID||n.__1PSAPISID||n.__OVERRIDE_SID)?d=!0:(typeof document!=="undefined"&&(d=new Ci,d=d.get("SAPISID")||d.get("APISID")||d.get("__Secure-3PAPISID")||d.get("__Secure-1PAPISID")),d=!!d);if(d){var e=(d=b=b.indexOf("https:")==0||b.indexOf("chrome-extension:")==0||b.indexOf("chrome-untrusted://new-tab-page")==
0||b.indexOf("moz-extension:")==0)?n.__SAPISID:n.__APISID;e||typeof document==="undefined"||(e=new Ci,e=e.get(d?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(d=e?qV(e,d?"SAPISIDHASH":"APISIDHASH",a):null)&&c.push(d);b&&((b=tV("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&c.push(b),(a=tV("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",a))&&c.push(a))}return c.length==0?null:c.join(" ")};var uV=function(a){this.o=u(a)};V(uV,v);uV.prototype.Ve=function(){return mE(this,1)};var vV=function(a){this.o=u(a)};V(vV,v);var xV=function(){var a=new vV;return Dj(a,1,wV,yc(!0))},yV=function(){var a=new vV;return Dj(a,2,wV,yc(!0))},wV=[1,2,3,15];var Ij=function(a){this.o=u(a)};V(Ij,v);var Hj=function(a){this.o=u(a)};V(Hj,v);var Jj=[1,2,3,4,5,6,7,8,9,10,11,12,13];var Gj=function(a){this.o=u(a)};V(Gj,v);var Cj=function(a){this.o=u(a)};V(Cj,v);Cj.prototype.getName=function(){return x(this,Vj(this,Ej,1))};var Ej=[1,2];var zV=function(a){this.o=u(a)};V(zV,v);zV.prototype.getPath=function(){return Q(this,Gj,3)};var AV=function(a){this.o=u(a)};V(AV,v);var BV=function(a){this.o=u(a)};V(BV,v);BV.prototype.Ve=function(){return Yc(ak(this,3))!=null};var CV=function(a){this.o=u(a)};V(CV,v);var DV=[2,3,6];var EV=function(a){this.o=u(a)};V(EV,v);var FV=function(a){this.o=u(a)};V(FV,v);var GV=function(a){this.o=u(a)};V(GV,v);var HV=function(a){this.o=u(a)};V(HV,v);var IV=[2,3];var JV=function(a){this.o=u(a)};V(JV,v);var KV=function(a){this.o=u(a)};V(KV,v);var LV=function(a){this.o=u(a)};V(LV,v);var MV=function(a){this.o=u(a)};V(MV,v);MV.prototype.R=function(){return Q(this,LV,1)};MV.prototype.setStatus=function(a){return I(this,1,a)};MV.prototype.ka=function(){return Xt(this,LV,1)};var NV=function(a){this.o=u(a)};V(NV,v);var OV=function(a){this.o=u(a)};V(OV,v);var PV=function(a){this.o=u(a)};V(PV,v);var QV=function(a){this.o=u(a)};V(QV,v);QV.prototype.setStart=function(a){return y(this,1,RV,a)};var RV=[1,2,3,5];var SV=function(a){this.o=u(a)};V(SV,v);var TV=[2,3,4];var UV=function(a){this.o=u(a)};V(UV,v);var VV=function(a){this.o=u(a)};V(VV,v);VV.prototype.R=function(){return Q(this,UV,2)};VV.prototype.setStatus=function(a){return I(this,2,a)};VV.prototype.ka=function(){return Xt(this,UV,2)};var WV=function(a){this.o=u(a)};V(WV,v);var XV=function(a){this.o=u(a)};V(XV,v);var YV=function(){$g.call(this,"d")};yD(YV,$g);var ZV=function(){$g.call(this,"c")};yD(ZV,$g);var bna=function(a,b,c,d,e){this.uri=a;this.authMethod=b;this.g=c;this.vd=d;this.Jf=e},cna=function(a){var b=a.uri.clone();a.vd&&Wh(b,Math.floor(Math.random()*10).toString()+"-"+b.g);return b},$V=function(a,b,c,d,e){this.j=a;this.h=b;this.config=c;this.ej=d;this.state=0;this.g=new bi;this.channel=dna(this,e)},dna=function(a,b){b={ar:!0,Sj:"application/json+protobuf",Fp:void 0,Fq:Object.assign({},{gsessionid:b},a.config.authMethod.yg()),hp:!a.config.Jf,Jf:a.config.Jf,wr:a.config.g,Eq:a.config.authMethod.vg(),
Vm:a.config.authMethod.Xg()};b=a.ej(cna(a.config).toString(),b);a.g.listen(b,"a",function(){var c=a.h;c.h(new ena);var d=iH(new hH,0);try{c.A.next(d)}catch(e){}});a.g.listen(b,"b",function(){a.h.onClose((new aW(a.channel.g)).g.Aj);a.state=2;NT(a.channel);PU(a.g)});a.g.listen(b,"d",function(c){if(c.data&&Array.isArray(c.data)&&c.data.length===1)if(c.h&&c.h==="status"){let d=of(hH,c.data[0][0]);c=a.h;xs(d)!==0&&(c.h(new fna(le(d))),c.handleError(d))}else c=of(VV,c.data[0]),a.j(c)});a.g.listen(b,"c",
function(c){a.h.dk(c,(new aW(a.channel.g)).g.Aj);c.status!==0&&(a.state=2)});return b};$V.prototype.open=function(){this.state===0&&(this.state=1,this.channel.open())};$V.prototype.close=function(){this.state!==2&&this.channel.close()};$V.prototype.send=function(a){a=a.ca();this.channel.send(a)};var bW,cW,gna=new uV;cW=K(gna,1,9);bW=G(cW,2,5);var Fi=function(a){this.g=a};Fi.prototype.equals=function(a){return this.g===a.g};var dW=function(){this.max=8;this.h=Date.now();this.g=8};dW.prototype.update=function(){var a=Date.now(),b=this.g+(a-this.h)/3E5;this.g>=b||(this.g=Math.min(b,this.max),this.h=a)};var hna=function(){},ina=function(){},jna=function(){},kna=function(a){this.count=a},lna=function(){},ena=function(){},mna=function(){},nna=function(a){this.error=a},fna=function(a){this.status=a},ona=function(){this.Jf=!1};var eW=function(a){var b=Error.call(this,"["+Rl(a,1)+"] "+x(a,3));this.message=b.message;"stack"in b&&(this.stack=b.stack);this.status=a};V(eW,Error);var fW=function(a,b,c,d,e){this.objectId=a;this.version=b;this.payload=c;this.h=d===void 0?!1:d;this.g=e===void 0?!1:e},pna=function(){},gW=function(a){this.g=a};var hW={pn:["BC","AD"],Kr:["Before Christ","Anno Domini"],Or:"JFMAMJJASOND".split(""),Vr:"JFMAMJJASOND".split(""),Xn:"January February March April May June July August September October November December".split(" "),no:"January February March April May June July August September October November December".split(" "),jo:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),oo:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),vo:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Yr:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),mo:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Xr:"Sun Mon Tue Wed Thu Fri Sat".split(" "),Pr:"SMTWTFS".split(""),Wr:"SMTWTFS".split(""),ko:["Q1","Q2","Q3","Q4"],fo:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Ik:["AM","PM"],Hr:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],ds:["h:mm:ss\u202fa zzzz","h:mm:ss\u202fa z","h:mm:ss\u202fa","h:mm\u202fa"],Ir:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],rn:6,
hs:[5,6],tn:5},iW=hW;iW=hW;var jW=function(a,b){switch(b){case 1:return a%4!=0||a%100==0&&a%400!=0?28:29;case 5:case 8:case 10:case 3:return 30}return 31},kW=function(a,b,c,d,e,f){typeof a==="string"?(this.g=a=="y"?b:0,this.months=a=="m"?b:0,this.h=a=="d"?b:0,this.hours=a=="h"?b:0,this.minutes=a=="n"?b:0,this.seconds=a=="s"?b:0):(this.g=a||0,this.months=b||0,this.h=c||0,this.hours=d||0,this.minutes=e||0,this.seconds=f||0)};
kW.prototype.equals=function(a){return a.g==this.g&&a.months==this.months&&a.h==this.h&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};kW.prototype.clone=function(){return new kW(this.g,this.months,this.h,this.hours,this.minutes,this.seconds)};kW.prototype.Qf=function(){return this.g==0&&this.months==0&&this.h==0&&this.hours==0&&this.minutes==0&&this.seconds==0};
kW.prototype.add=function(a){this.g+=a.g;this.months+=a.months;this.h+=a.h;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
var mB=function(a,b,c){typeof a==="number"?(this.date=lW(a,b||0,c||1),mW(this,c||1)):qr(a)?(this.date=lW(a.getFullYear(),a.getMonth(),a.getDate()),mW(this,a.getDate())):(this.date=new Date(oj()),a=this.date.getDate(),this.date.setHours(0),this.date.setMinutes(0),this.date.setSeconds(0),this.date.setMilliseconds(0),mW(this,a))},lW=function(a,b,c){b=new Date(a,b,c);a>=0&&a<100&&b.setFullYear(b.getFullYear()-1900);return b};l=mB.prototype;l.Hf=iW.rn;l.If=iW.tn;
l.clone=function(){var a=new mB(this.date);a.Hf=this.Hf;a.If=this.If;return a};l.getFullYear=function(){return this.date.getFullYear()};l.getMonth=function(){return this.date.getMonth()};l.getDate=function(){return this.date.getDate()};l.getTime=function(){return this.date.getTime()};l.getDay=function(){return this.date.getDay()};l.wn=function(){return this.date.getUTCFullYear()};l.xn=function(){return this.date.getUTCMonth()};l.vn=function(){return this.date.getUTCDate()};l.Kk=function(){return this.date.getDay()};
l.Lk=function(){return this.date.getUTCHours()};l.Mk=function(){return this.date.getUTCMinutes()};l.getTimezoneOffset=function(){return this.date.getTimezoneOffset()};var lB=function(a){a=a.getTimezoneOffset();if(a==0)a="Z";else{var b=Math.abs(a)/60;let c=Math.floor(b);b=(b-c)*60;a=(a>0?"-":"+")+aU(c,2)+":"+aU(b,2)}return a};l=mB.prototype;l.set=function(a){this.date=new Date(a.getFullYear(),a.getMonth(),a.getDate())};l.setFullYear=function(a){this.date.setFullYear(a)};l.setMonth=function(a){this.date.setMonth(a)};
l.setDate=function(a){this.date.setDate(a)};l.setTime=function(a){this.date.setTime(a)};l.zn=function(a){this.date.setUTCFullYear(a)};l.An=function(a){this.date.setUTCMonth(a)};l.yn=function(a){this.date.setUTCDate(a)};
l.add=function(a){if(a.g||a.months){var b=this.getMonth()+a.months+a.g*12,c=this.getFullYear()+Math.floor(b/12);b%=12;b<0&&(b+=12);let d=Math.min(jW(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.h&&(c=this.getFullYear(),b=c>=0&&c<=99?-1900:0,a=new Date((new Date(c,this.getMonth(),this.getDate(),12)).getTime()+a.h*864E5),this.setDate(1),this.setFullYear(a.getFullYear()+b),this.setMonth(a.getMonth()),this.setDate(a.getDate()),mW(this,a.getDate()))};
l.gg=function(a){var b=this.getFullYear(),c=b<0?"-":b>=1E4?"+":"";return[c+aU(Math.abs(b),c?6:4),aU(this.getMonth()+1,2),aU(this.getDate(),2)].join(a?"-":"")};l.equals=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};l.toString=function(){return this.gg()};var mW=function(a,b){a.getDate()!=b&&a.date.setUTCHours(a.date.getUTCHours()+(a.getDate()<b?1:-1))};mB.prototype.valueOf=function(){return this.date.valueOf()};
var nW=function(a,b,c,d,e,f,g){this.date=typeof a==="number"?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a&&a.getTime?a.getTime():oj())};yD(nW,mB);l=nW.prototype;l.getHours=function(){return this.date.getHours()};l.dh=function(){return this.date.getMinutes()};l.eh=function(){return this.date.getSeconds()};l.Kk=function(){return this.date.getUTCDay()};l.Lk=function(){return this.date.getUTCHours()};l.Mk=function(){return this.date.getUTCMinutes()};l.Bn=function(){return this.date.getUTCSeconds()};
l.setHours=function(a){this.date.setHours(a)};l.setMinutes=function(a){this.date.setMinutes(a)};l.setSeconds=function(a){this.date.setSeconds(a)};l.setMilliseconds=function(a){this.date.setMilliseconds(a)};l.Nk=function(a){this.date.setUTCHours(a)};l.Ok=function(a){this.date.setUTCMinutes(a)};l.Pk=function(a){this.date.setUTCSeconds(a)};l.Cn=function(a){this.date.setUTCMilliseconds(a)};
l.add=function(a){mB.prototype.add.call(this,a);a.hours&&this.Nk(this.date.getUTCHours()+a.hours);a.minutes&&this.Ok(this.date.getUTCMinutes()+a.minutes);a.seconds&&this.Pk(this.date.getUTCSeconds()+a.seconds)};l.gg=function(a){var b=mB.prototype.gg.call(this,a);return a?b+"T"+aU(this.getHours(),2)+":"+aU(this.dh(),2)+":"+aU(this.eh(),2):b+"T"+aU(this.getHours(),2)+aU(this.dh(),2)+aU(this.eh(),2)};
var yt=function(a){return mB.prototype.gg.call(a,!0)+"T"+aU(a.getHours(),2)+":"+aU(a.dh(),2)+":"+aU(a.eh(),2)+lB(a)};nW.prototype.equals=function(a){return this.getTime()==a.getTime()};nW.prototype.toString=function(){return this.gg()};nW.prototype.clone=function(){var a=new nW(this.date);a.Hf=this.Hf;a.If=this.If;return a};var Mj=function(a,b){this.seconds=a;this.nanos=b},Nj=function(a){var b=new dk;Ge(b,1,Oc(a.seconds),"0");ey(b,2,a.nanos);return b},bk=function(a){try{var b=Number(Cq(a,1)),c=Rl(a,2);if(b<-62135596800)throw Error("ta`"+b);if(253402300800<=b)throw Error("ua`"+b);if(c<0)throw Error("va`"+c);if(1E9<=c)throw Error("wa`"+c);if(!Number.isInteger(b))throw Error("xa`"+b);if(!Number.isInteger(c))throw Error("ya`"+c);return new Mj(b,c)}catch(d){return null}};
Mj.prototype.equals=function(a){return this.seconds===a.seconds&&this.nanos===a.nanos};var Kj=function(a){this.value=a};Kj.prototype.equals=function(a){return this.value.equals(a.value)};var Di=function(a,b){this.value=a;this.g=!!b};
Di.prototype.equals=function(a){if(this.value===null)var b=a.value===null;else if(this.value instanceof Fi)b=a.value instanceof Fi?this.value.equals(a.value):!1;else if(this.g!==a.g)b=!1;else if(typeof this.value==="string"||typeof this.value==="number")b=this.value===a.value;else if(this.value instanceof Rg)b=a.value instanceof Rg?this.value.equals(a.value):!1;else if(this.value instanceof Uint8Array)if(a.value instanceof Uint8Array)a:if(b=this.value,a=a.value,b.length!==a.length)b=!1;else{for(let c=
0;c<b.length;++c)if(b[c]!==a[c]){b=!1;break a}b=!0}else b=!1;else b=this.value instanceof Mj?a.value instanceof Mj?this.value.equals(a.value):!1:this.value instanceof Kj?a.value instanceof Kj?this.value.equals(a.value):!1:!1;return b};var Qj=function(a,b){this.parts=a;this.h=b},Sj=function(){return new Qj(Hi(ac.apply(0,arguments)),!1)},Rj=function(){return new Qj(Hi(ac.apply(0,arguments)),!0)};Qj.prototype.g=function(){return this.h};
Qj.prototype.equals=function(a){var b;if(b=this.parts.length===a.parts.length)a:if(this.h!==a.h||this.parts.length>a.parts.length)b=!1;else{for(b=0;b<this.parts.length;++b)if(!this.parts[b].equals(a.parts[b])){b=!1;break a}b=!0}return b};var oW=function(a){this.root=a};oW.prototype.equals=function(a){return this.root.equals(a.root)};var qna=function(){},Ni=function(a,b){this.apiKey=a;this.g=b};Ni.prototype.vg=function(){var a={},b;(b=Qq([]))?(b=b.split(" "),b={scheme:b[0],hash:b[1]}):b=null;b!=null&&(a.Authorization=b.scheme+" "+b.hash,a["X-Goog-AuthUser"]=String(this.g||0));return a};Ni.prototype.yg=function(){return{key:this.apiKey}};Ni.prototype.Bh=function(){return 0};Ni.prototype.Xg=function(){return!0};var Ki=function(a){this.g=a};Ki.prototype.vg=function(){var a={};a.Authorization="OAuth "+this.g.getValue();return a};
Ki.prototype.yg=function(){return{}};Ki.prototype.Bh=function(){return 1};Ki.prototype.Xg=function(){return!0};var Mi=function(a){this.apiKey=a};Mi.prototype.vg=function(){return{}};Mi.prototype.yg=function(){return{key:this.apiKey}};Mi.prototype.Bh=function(){return 1};Mi.prototype.Xg=function(){return!1};var Li=function(a,b){this.apiKey=a;this.g=b};Li.prototype.vg=function(){return{Authorization:"Bearer "+this.g.getValue()}};Li.prototype.yg=function(){return{key:this.apiKey}};Li.prototype.Bh=function(){return 0};
Li.prototype.Xg=function(){return!0};var pW=function(a,b,c){var d=Error.call(this,b);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.code=a;this.message=b;this.status=c;Object.setPrototypeOf(this,pW.prototype);this.name="XhrError"};V(pW,Error);var qW=function(a,b){b=b===void 0?Qi():b;this.g=a;this.h=b};qW.prototype.post=function(a,b,c,d){d=d===void 0?{}:d;return this.request("POST",a,b,c,d)};var rW=function(a,b){a.endsWith("/")&&(a=a.substring(0,a.length-1));b.startsWith("/")&&(b=b.substring(1));return a+"/"+b};
qW.prototype.request=function(a,b,c,d,e){var f=this,g=new Uh(this.g);Yh(g,rW(g.getPath(),b));if(e.Lg){b=q(Object.entries(e.Lg));for(var h=b.next();!h.done;h=b.next()){var k=q(h.value);h=k.next().value;k=k.next().value;EA(g,h,k)}}var m={"Content-type":"application/json+protobuf"};Object.assign(m,e.kp);var p=c.ca();return new Promise(function(t,w){var A;f.h.send(g,function(){var J=this.R()===-1?void 0:this.R();if(jU(this))try{t(Og(d,mU(this)))}catch(Z){w(new pW(4,"Failed to deserialize response from "+
g+": "+mU(this),J))}else w(new pW(this.j,oU(this),J))},a,p,m,(A=e.pr)!=null?A:2E4,e.withCredentials)})};var Ri=null;yD(Ti,$g);yD(Vi,$g);yD(Xi,$g);var sW=function(a,b){this.j=a;this.A=b;this.h=0;this.g=null};sW.prototype.get=function(){if(this.h>0){this.h--;var a=this.g;this.g=a.next;a.next=null}else a=this.j();return a};var kj=function(a,b){a.A(b);a.h<100&&(a.h++,b.next=a.g,a.g=b)};var ij,Iba=function(){if(typeof MessageChannel!=="undefined"){let a=new MessageChannel,b={},c=b;a.port1.onmessage=function(){if(b.next!==void 0){b=b.next;let d=b.rl;b.rl=null;d()}};return function(d){c.next={rl:d};c=c.next;a.port2.postMessage(0)}}return function(a){n.setTimeout(a,0)}},Zi=function(a){return a};tT(function(a){Zi=a});var tW=function(){this.h=this.g=null};tW.prototype.add=function(a,b){var c=lj.get();c.set(a,b);this.h?this.h.next=c:this.g=c;this.h=c};tW.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.h=null),a.next=null);return a};var lj=new sW(function(){return new uW},function(a){return a.reset()}),uW=function(){this.next=this.scope=this.g=null};uW.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};
uW.prototype.reset=function(){this.next=this.scope=this.g=null};var vW,mj=!1,jj=new tW,wW=function(a,b){vW||rna();mj||(vW(),mj=!0);jj.add(a,b)},rna=function(){var a=Promise.resolve(void 0);vW=function(){a.then(Kba)}};var xW=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var zW=function(a){this.g=0;this.F=void 0;this.A=this.h=this.j=null;this.B=this.D=!1;if(a!=xU)try{let b=this;a.call(void 0,function(c){yW(b,2,c)},function(c){yW(b,3,c)})}catch(b){yW(this,3,b)}},AW=function(){this.next=this.context=this.g=this.j=this.child=null;this.h=!1};AW.prototype.reset=function(){this.context=this.g=this.j=this.child=null;this.h=!1};
var BW=new sW(function(){return new AW},function(a){a.reset()}),CW=function(a,b,c){var d=BW.get();d.j=a;d.g=b;d.context=c;return d},DW=function(a){if(a instanceof zW)return a;var b=new zW(xU);yW(b,2,a);return b},EW=function(a){return new zW(function(b,c){c(a)})},GW=function(a,b,c){FW(a,b,c,null)||wW(tj(b,a))},sna=function(a){return new zW(function(b,c){a.length||b(void 0);for(let e=0;e<a.length;e++){var d=a[e];GW(d,b,c)}})},tna=function(a){return new zW(function(b,c){var d=a.length,e=[];if(d){var f=
function(k,m){d--;e[k]=m;d==0&&b(e)},g=function(k){c(k)};for(let k=0;k<a.length;k++){var h=a[k];GW(h,tj(f,k),g)}}else b(e)})},una=function(a){return new zW(function(b){var c=a.length,d=[];if(c){var e=function(g,h,k){c--;d[g]=h?{np:!0,value:k}:{np:!1,reason:k};c==0&&b(d)};for(let g=0;g<a.length;g++){var f=a[g];GW(f,tj(e,g,!0),tj(e,g,!1))}}else b(d)})},HW=function(){var a,b,c=new zW(function(d,e){a=d;b=e});return new vna(c,a,b)};
zW.prototype.then=function(a,b,c){return wna(this,hj(typeof a==="function"?a:null),hj(typeof b==="function"?b:null),c)};zW.prototype.$goog_Thenable=!0;var xna=function(a,b,c,d){IW(a,CW(b||xU,c||null,d))},yna=function(a,b){b=hj(b);b=CW(b,b);b.h=!0;IW(a,b)};zW.prototype.finally=function(a){var b=this;a=hj(a);return new zW(function(c,d){xna(b,function(e){a();c(e)},function(e){a();d(e)})})};zW.prototype.O=function(a,b){return wna(this,null,hj(a),b)};zW.prototype.catch=zW.prototype.O;
zW.prototype.cancel=function(a){if(this.g==0){let b=new mk(a);wW(function(){zna(this,b)},this)}};
var zna=function(a,b){if(a.g==0)if(a.j){var c=a.j;if(c.h){var d=0,e=null,f=null;for(let g=c.h;g&&(g.h||(d++,g.child==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?zna(c,b):(f?(d=f,d.next==c.A&&(c.A=d),d.next=d.next.next):Ana(c),Bna(c,e,3,b)))}a.j=null}else yW(a,3,b)},IW=function(a,b){a.h||a.g!=2&&a.g!=3||Cna(a);a.A?a.A.next=b:a.h=b;a.A=b},wna=function(a,b,c,d){var e=CW(null,null,null);e.child=new zW(function(f,g){e.j=b?function(h){try{let k=b.call(d,h);f(k)}catch(k){g(k)}}:f;e.g=c?function(h){try{let k=
c.call(d,h);k===void 0&&h instanceof mk?g(h):f(k)}catch(k){g(k)}}:g});e.child.j=a;IW(a,e);return e.child};zW.prototype.da=function(a){this.g=0;yW(this,2,a)};zW.prototype.K=function(a){this.g=0;yW(this,3,a)};
var yW=function(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Ba")),a.g=1,FW(c,a.da,a.K,a)||(a.F=c,a.g=b,a.j=null,Cna(a),b!=3||c instanceof mk||Dna(a,c)))},FW=function(a,b,c,d){if(a instanceof zW)return xna(a,b,c,d),!0;if(xW(a))return a.then(b,c,d),!0;if(qr(a))try{let e=a.then;if(typeof e==="function")return Ena(a,e,b,c,d),!0}catch(e){return c.call(d,e),!0}return!1},Ena=function(a,b,c,d,e){var f=!1,g=function(k){f||(f=!0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},
Cna=function(a){a.D||(a.D=!0,wW(a.H,a))},Ana=function(a){var b=null;a.h&&(b=a.h,a.h=b.next,b.next=null);a.h||(a.A=null);return b};zW.prototype.H=function(){for(var a;a=Ana(this);)Bna(this,a,this.g,this.F);this.D=!1};
var Bna=function(a,b,c,d){if(c==3&&b.g&&!b.h)for(;a&&a.B;a=a.j)a.B=!1;if(b.child)b.child.j=null,Fna(b,c,d);else try{b.h?b.j.call(b.context):Fna(b,c,d)}catch(e){Gna.call(null,e)}kj(BW,b)},Fna=function(a,b,c){b==2?a.j.call(a.context,c):a.g&&a.g.call(a.context,c)},Dna=function(a,b){a.B=!0;wW(function(){a.B&&Gna.call(null,b)})},Gna=da,mk=function(a){aa.call(this,a);this.g=!1};yD(mk,aa);mk.prototype.name="cancel";var vna=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};yD(pj,oh);l=pj.prototype;l.enabled=!1;l.ad=null;l.setInterval=function(a){this.h=a;this.ad&&this.enabled?(this.stop(),this.start()):this.ad&&this.stop()};l.lr=function(){if(this.enabled){let a=oj()-this.B;a>0&&a<this.h*.8?this.ad=this.g.setTimeout(this.j,this.h-a):(this.ad&&(this.g.clearTimeout(this.ad),this.ad=null),this.dispatchEvent("tick"),this.enabled&&(this.stop(),this.start()))}};l.start=function(){this.enabled=!0;this.ad||(this.ad=this.g.setTimeout(this.j,this.h),this.B=oj())};
l.stop=function(){this.enabled=!1;this.ad&&(this.g.clearTimeout(this.ad),this.ad=null)};l.ya=function(){pj.Fb.ya.call(this);this.stop();delete this.g};
var Bj=function(a,b,c){if(typeof a==="function")c&&(a=nj(a,c));else if(a&&typeof a.handleEvent=="function")a=nj(a.handleEvent,a);else throw Error("Ca");return Number(b)>2147483647?-1:n.setTimeout(a,b||0)},Hna=function(a){var b=null;return(new zW(function(c,d){b=Bj(function(){c(void 0)},a);b==-1&&d(Error("Da"))})).O(function(c){n.clearTimeout(b);throw c;})};var JW=function(a,b,c){Yg.call(this);this.D=c!=null?a.bind(c):a;this.B=b;this.A=null;this.h=!1;this.j=0;this.g=null};V(JW,Yg);l=JW.prototype;l.nf=function(a){this.A=arguments;this.g||this.j?this.h=!0:KW(this)};l.stop=function(){this.g&&(n.clearTimeout(this.g),this.g=null,this.h=!1,this.A=null)};l.pause=function(){this.j++};l.resume=function(){this.j--;this.j||!this.h||this.g||(this.h=!1,KW(this))};l.ya=function(){Yg.prototype.ya.call(this);this.stop()};
var KW=function(a){a.g=Bj(function(){a.g=null;a.h&&!a.j&&(a.h=!1,KW(a))},a.B);var b=a.A;a.A=null;a.D.apply(null,b)};qj.prototype.Dl=function(){this.g=!1};
var Ina=function(a,b,c,d,e,f){a.info(function(){if(a.g)if(f){var g="";var h=f.split("&");for(let m=0;m<h.length;m++){var k=h[m].split("=");if(k.length>1){let p=k[0];k=k[1];let t=p.split("_");g=t.length>=2&&t[1]=="type"?g+(p+"="+k+"&"):g+(p+"=redacted&")}}}else g=null;else g=f;return"XMLHTTP REQ ("+d+") [attempt "+e+"]: "+b+"\n"+c+"\n"+g})},Jna=function(a,b,c,d,e,f,g){a.info(function(){return"XMLHTTP RESP ("+d+") [ attempt "+e+"]: "+b+"\n"+c+"\n"+f+" "+g})},LW=function(a,b,c,d){a.info(function(){return"XMLHTTP TEXT ("+
b+"): "+Kna(a,c)+(d?" "+d:"")})},Lna=function(a,b){a.info(function(){return"TIMEOUT: "+b})};qj.prototype.info=function(){};qj.prototype.Ba=function(){};qj.prototype.Zc=function(){};var Kna=function(a,b){if(!a.g)return b;if(!b)return null;try{let f=JSON.parse(b);if(f)for(a=0;a<f.length;a++)if(Array.isArray(f[a])){var c=f[a];if(!(c.length<2)){var d=c[1];if(Array.isArray(d)&&!(d.length<1)){var e=d[0];if(e!="noop"&&e!="stop"&&e!="close")for(let g=1;g<d.length;g++)d[g]=""}}}return OT(f)}catch(f){return b}};var rj=function(){this.j=null;this.g="";this.h=!1},Mna={},MW={};sj.prototype.setTimeout=function(a){this.mb=a};
var NW=function(a,b,c){a.qb=1;a.K=GU(b.clone());a.O=c;a.Ob=!0;Nna(a,null)},Nna=function(a,b){a.wa=Date.now();OW(a);a.V=a.K.clone();Xk(a.V,"t",a.Ec);a.da=0;var c=a.B.Db;a.j=new rj;a.g=Ona(a.B,c?b:null,!a.O);a.Db>0&&(a.ab=new JW(nj(a.Pe,a,a.g),a.Db));a.Kd.listen(a.g,"readystatechange",a.ng);b=a.Ea?jh(a.Ea):{};a.O?(a.H||(a.H="POST"),b["Content-Type"]="application/x-www-form-urlencoded",a.g.send(a.V,a.H,a.O,b)):(a.H="GET",a.g.send(a.V,a.H,null,b));Ui(1);Ina(a.h,a.H,a.V,a.A,a.Ec,a.O)};
sj.prototype.ng=function(a){a=a.target;var b=this.ab;b&&iU(a)==3?b.nf():this.Pe(a)};
sj.prototype.Pe=function(a){try{if(a==this.g)a:{let f=iU(this.g),g=this.g.j,h=this.g.R();if(!(f<3||f==3&&!PW(this))){this.Pa||f!=4||g==7||(g==8||h<=0?Ui(3):Ui(2));QW(this);var b=this.g.R();this.rc=b;var c=Pna(this);PW(this);this.D=b==200;Jna(this.h,this.H,this.V,this.A,this.Ec,f,b);if(this.D){if(this.Ke&&!this.Ua){b:{if(this.g){let k=ei(this.g,"X-HTTP-Initial-Response");if(k&&!ka(k)){var d=k;break b}}d=null}if(a=d)LW(this.h,this.A,a,"Initial handshake response via X-HTTP-Initial-Response"),this.Ua=
!0,RW(this,a);else{this.D=!1;this.F=3;Wi(12);this.h.Ba("XMLHTTP Missing X_HTTP_INITIAL_RESPONSE ("+this.A+")");SW(this);TW(this);break a}}if(this.Ob){a=!0;let k;for(;!this.Pa&&this.da<c.length;)if(k=Qna(this,c),k==MW){f==4&&(this.F=4,Wi(14),a=!1);LW(this.h,this.A,null,"[Incomplete Response]");break}else if(k==Mna){this.F=4;Wi(15);LW(this.h,this.A,c,"[Invalid Chunk]");a=!1;break}else LW(this.h,this.A,k,null),RW(this,k);Rna(this)&&this.da!=0&&(this.j.g=this.j.g.slice(this.da),this.da=0);f!=4||c.length!=
0||this.j.h||(this.F=1,Wi(16),a=!1);this.D=this.D&&a;if(!a)LW(this.h,this.A,c,"[Invalid Chunked Response]"),SW(this),TW(this);else if(c.length>0&&!this.Me){this.Me=!0;var e=this.B;e.h==this&&e.tj&&!e.Ec&&(e.g.info("Great, no buffering proxy detected. Bytes received: "+c.length),UW(e),e.Ec=!0,Wi(11))}}else LW(this.h,this.A,c,null),RW(this,c);f==4&&SW(this);this.D&&!this.Pa&&(f==4?Sna(this.B,this):(this.D=!1,OW(this)))}else nU(this.g),b==400&&c.indexOf("Unknown SID")>0?(this.F=3,Wi(12),this.h.Ba("XMLHTTP Unknown SID ("+
this.A+")")):(this.F=0,Wi(13),this.h.Ba("XMLHTTP Bad status "+b+" ("+this.A+")")),SW(this),TW(this)}}else this.h.Ba("Called back with an unexpected xmlhttp")}catch(f){PW(this)}finally{}};
var Pna=function(a){if(!Rna(a))return mU(a.g);var b=a.g.Sa();if(b==="")return"";var c="",d=b.length,e=iU(a.g)==4;if(!a.j.j){if(typeof TextDecoder==="undefined")return a.h.Zc("TextDecoder is not supported by this browser."),SW(a),TW(a),"";a.j.j=new n.TextDecoder}for(let f=0;f<d;f++)a.j.h=!0,c+=a.j.j.decode(b[f],{stream:!(e&&f==d-1)});b.length=0;a.j.g+=c;a.da=0;return a.j.g},PW=function(a){return a.g?a.j.h?!0:!(!mU(a.g)&&!a.g.Sa()):!1},Rna=function(a){return a.g?a.H=="GET"&&a.qb!=2&&a.B.Wm:!1},Qna=
function(a,b){var c=a.da,d=b.indexOf("\n",c);if(d==-1)return MW;c=Number(b.substring(c,d));if(isNaN(c))return Mna;d+=1;if(d+c>b.length)return MW;b=b.slice(d,d+c);a.da=d+c;return b};sj.prototype.cancel=function(){this.Pa=!0;SW(this)};var OW=function(a){a.ud=Date.now()+a.mb;Tna(a,a.mb)},Tna=function(a,b){if(a.ha!=null)throw Error("Ea");a.ha=Yi(nj(a.sg,a),b)},QW=function(a){a.ha&&(n.clearTimeout(a.ha),a.ha=null)};
sj.prototype.sg=function(){this.ha=null;var a=Date.now();a-this.ud>=0?(this.D&&this.h.Zc("Received watchdog timeout even though request loaded successfully"),Lna(this.h,this.V),this.qb!=2&&(Ui(3),Wi(17)),SW(this),this.F=2,TW(this)):(this.h.Ba("WatchDog timer called too early"),Tna(this,this.ud-a))};
var TW=function(a){a.B.A==0||a.Pa||Sna(a.B,a)},SW=function(a){QW(a);Wg(a.ab);a.ab=null;PU(a.Kd);if(a.g){let b=a.g;a.g=null;b.abort();b.dispose()}},RW=function(a,b){try{var c=a.B;if(c.A!=0&&(c.h==a||VW(c.B,a)))if(!a.Ua&&VW(c.B,a)&&c.A==3){try{var d=c.Zm.g.parse(b)}catch(m){d=null}if(Array.isArray(d)&&d.length==3){var e=d;if(e[0]==0)a:{if(!c.K){if(c.h)if(c.h.wa+3E3<a.wa)WW(c),XW(c);else break a;else c.g.Ba("We do not have a BackChannel established");YW(c);Wi(18)}}else c.ym=e[1],0<c.ym-c.H&&e[2]<37500&&
c.Pa&&c.ha==0&&!c.V&&(c.V=Yi(nj(c.ln,c),6E3));if(Una(c.B)<=1&&c.Ke){try{c.Ke()}catch(m){}c.Ke=void 0}}else ZW(c,11)}else if((a.Ua||c.h==a)&&WW(c),!ka(b))for(e=c.Zm.g.parse(b),b=0;b<e.length;b++){let m=e[b],p=m[0];if(p<=c.H)c.g.Ba("Ignoring out-of-order or duplicate message with arrayId: "+p+", lastArrayId: "+c.H);else if(p>c.H+1&&c.H>-1&&c.g.Ba("Received non-consecutive message with arrayId: "+p+", lastArrayId: "+c.H),c.H=p,m=m[1],c.A==2)if(m[0]=="c"){c.Ob=m[1];c.Cj=m[2];let t=m[3];t!=null&&(c.pj=
t,c.g.info("VER="+c.pj));let w=m[4];w!=null&&(c.Om=w,c.g.info("SVER="+c.Om));let A=m[5];A!=null&&typeof A==="number"&&A>0&&(d=1.5*A,c.rc=d,c.g.info("backChannelRequestTimeoutMs_="+d));d=c;let J=a.g;if(J){let Z=ei(J,"X-Client-Wire-Protocol");if(Z){var f=d.B,g=Z;!f.g&&(ma(g,"spdy")||ma(g,"quic")||ma(g,"h2"))&&(f.A=f.B,f.g=new Set,f.h&&($W(f,f.h),f.h=null))}if(d.Ea){let ha=ei(J,"X-HTTP-Session-Id");ha?(d.vm=ha,EA(d.qb,d.Ea,ha)):d.g.Ba("Missing X_HTTP_SESSION_ID in the handshake response")}}c.A=3;c.D&&
c.D.vl();c.tj&&(c.ab=Date.now()-a.wa,c.g.info("Handshake RTT: "+c.ab+"ms"));d=c;g=a;d.om=Vna(d,d.Db?d.Cj:null,d.ng);if(g.Ua){Wna(d.B,g);var h=g,k=d.rc;k&&h.setTimeout(k);h.ha&&(QW(h),OW(h));d.h=g}else Xna(d);c.j.length>0&&aX(c)}else m[0]!="stop"&&m[0]!="close"||ZW(c,7);else c.A==3&&(m[0]=="stop"||m[0]=="close"?m[0]=="stop"?ZW(c,7):bX(c):m[0]!="noop"&&c.D&&c.D.ul(m),c.ha=0)}Ui(4)}catch(m){}};var Yna=function(a,b){this.g=a;this.map=b;this.context=null};var xj=function(a){this.B=a||10;n.PerformanceNavigationTiming?(a=n.performance.getEntriesByType("navigation"),a=a.length>0&&(a[0].nextHopProtocol=="hq"||a[0].nextHopProtocol=="h2")):a=!!(n.chrome&&n.chrome.loadTimes&&n.chrome.loadTimes()&&n.chrome.loadTimes().wasFetchedViaSpdy);this.A=a?this.B:1;this.g=null;this.A>1&&(this.g=new Set);this.h=null;this.j=[]},Zna=function(a){return a.h?!0:a.g?a.g.size>=a.A:!1},Una=function(a){return a.h?1:a.g?a.g.size:0},VW=function(a,b){return a.h?a.h==b:a.g?a.g.has(b):
!1},$W=function(a,b){a.g?a.g.add(b):a.h=b},Wna=function(a,b){a.h&&a.h==b?a.h=null:a.g&&a.g.has(b)&&a.g.delete(b)};xj.prototype.cancel=function(){this.j=$na(this);if(this.h)this.h.cancel(),this.h=null;else if(this.g&&this.g.size!==0){for(var a=q(this.g.values()),b=a.next();!b.done;b=a.next())b.value.cancel();this.g.clear()}};
var $na=function(a){if(a.h!=null)return a.j.concat(a.h.pa);if(a.g!=null&&a.g.size!==0){let c=a.j;a=q(a.g.values());for(var b=a.next();!b.done;b=a.next())c=c.concat(b.value.pa);return c}return Pa(a.j)};var vj=function(){};vj.prototype.stringify=function(a){return n.JSON.stringify(a,void 0)};vj.prototype.parse=function(a){return n.JSON.parse(a,void 0)};yj.prototype.pj=8;yj.prototype.A=1;yj.prototype.connect=function(a,b,c,d){Wi(0);this.ng=a;this.Ua=b||{};c&&d!==void 0&&(this.Ua.OSID=c,this.Ua.OAID=d);this.Pa=this.sg;this.qb=Vna(this,null,this.ng);aX(this)};
var bX=function(a){aoa(a);if(a.A==3){var b=a.Pe++,c=a.qb.clone();EA(c,"SID",a.Ob);EA(c,"RID",b);EA(c,"TYPE","terminate");cX(a,c);b=new sj(a,a.g,b);b.qb=2;b.K=GU(c.clone());c=!1;if(n.navigator&&n.navigator.sendBeacon)try{c=n.navigator.sendBeacon(b.K.toString(),"")}catch(d){}!c&&n.Image&&((new Image).src=b.K,c=!0);c||(b.g=Ona(b.B,null),b.g.send(b.K));b.wa=Date.now();OW(b)}boa(a)},XW=function(a){a.h&&(UW(a),a.h.cancel(),a.h=null)},aoa=function(a){XW(a);a.K&&(n.clearTimeout(a.K),a.K=null);WW(a);a.B.cancel();
a.F&&(typeof a.F==="number"&&n.clearTimeout(a.F),a.F=null)},coa=function(a,b){a.j.length==a.mb&&a.g.Zc(function(){return"Already have "+a.mb+" queued maps upon queueing "+OT(b)});a.j.push(new Yna(a.hn++,b));a.A==3&&aX(a)};yj.prototype.getState=function(){return this.A};
var aX=function(a){Zna(a.B)||a.F||(a.F=!0,wW(a.Em,a),a.wa=0)},eoa=function(a,b){if(Una(a.B)>=a.B.A-(a.F?1:0))return a.g.Zc("Unexpected retry request is scheduled."),!1;if(a.F)return a.j=b.pa.concat(a.j),!0;if(a.A==1||a.A==2||a.wa>=(a.Dr?0:a.Er))return!1;a.F=Yi(nj(a.Em,a,b),doa(a,a.wa));a.wa++;return!0};
yj.prototype.Em=function(a){if(this.F)if(this.F=null,this.A==1)if(a)this.g.Zc("Not supposed to retry the open");else{this.Pe=Math.floor(Math.random()*1E5);a=this.Pe++;let e=new sj(this,this.g,a),f=this.da;this.Me&&(f?(f=jh(f),mh(f,this.Me)):f=this.Me);this.O!==null||this.ud||(e.Ea=f,f=null);if(this.Kd)a:{var b=0;for(var c=0;c<this.j.length;c++){b:{var d=this.j[c];if("__data__"in d.map&&(d=d.map.__data__,typeof d==="string")){d=d.length;break b}d=void 0}if(d===void 0)break;b+=d;if(b>4096){b=c;break a}if(b===
4096||c===this.j.length-1){b=c+1;break a}}b=this.mb}else b=this.mb;b=foa(this,e,b);c=this.qb.clone();EA(c,"RID",a);EA(c,"CVER",22);this.Ea&&EA(c,"X-HTTP-Session-Id",this.Ea);cX(this,c);f&&(this.ud?b="headers="+Mh(LU(f))+"&"+b:this.O&&MU(c,this.O,f));$W(this.B,e);this.Ar&&EA(c,"TYPE","init");this.Kd?(EA(c,"$req",b),EA(c,"SID","null"),e.Ke=!0,NW(e,c,null)):NW(e,c,b);this.A=2}else this.A==3&&(a?goa(this,a):this.j.length!=0&&(Zna(this.B)?this.g.Zc("startForwardChannel_ returned: connection already in progress"):
goa(this)))};
var goa=function(a,b){var c;b?c=b.A:c=a.Pe++;var d=a.qb.clone();EA(d,"SID",a.Ob);EA(d,"RID",c);EA(d,"AID",a.H);cX(a,d);a.O&&a.da&&MU(d,a.O,a.da);c=new sj(a,a.g,c,a.wa+1);a.O===null&&(c.Ea=a.da);b&&(a.j=b.pa.concat(a.j));b=foa(a,c,a.mb);c.setTimeout(Math.round(a.tm*.5)+Math.round(a.tm*.5*Math.random()));$W(a.B,c);NW(c,d,b)},cX=function(a,b){a.Ua&&bh(a.Ua,function(c,d){EA(b,d,c)});a.D&&bh({},function(c,d){EA(b,d,c)})},foa=function(a,b,c){c=Math.min(a.j.length,c);var d=a.D?nj(a.D.Io,a.D,a):null;a:{var e=
a.j;let m=-1;for(;;){let p=["count="+c];m==-1?c>0?(m=e[0].g,p.push("ofs="+m)):m=0:p.push("ofs="+m);let t=!0;for(let w=0;w<c;w++){var f=e[w].g;let A=e[w].map;f-=m;if(f<0)m=Math.max(0,e[w].g-100),t=!1;else try{f="req"+f+"_"||"";try{let J=A instanceof Map?A:Object.entries(A);var g=q(J);for(var h=g.next();!h.done;h=g.next()){var k=q(h.value);let Z=k.next().value,ha=k.next().value,Da=ha;qr(ha)&&(Da=OT(ha));p.push(f+Z+"="+encodeURIComponent(Da))}}catch(J){throw p.push(f+"type="+encodeURIComponent("_badmap")),
J;}}catch(J){d&&d(A)}}if(t){g=p.join("&");break a}}g=void 0}a=a.j.splice(0,c);b.pa=a;return g},Xna=function(a){a.h||a.K||(a.mj=1,wW(a.Dm,a),a.ha=0)},YW=function(a){if(a.h||a.K)return a.g.Zc("Request already in progress"),!1;if(a.ha>=3)return!1;a.mj++;a.K=Yi(nj(a.Dm,a),doa(a,a.ha));a.ha++;return!0};
yj.prototype.Dm=function(){this.K=null;hoa(this);if(this.tj&&!this.Ec)if(this.h==null||this.ab<=0)this.g.Ba("Skip bpDetectionTimerId_ "+this.h+" "+this.ab);else{var a=4*this.ab;this.g.info("BP detection timer enabled: "+a);this.pa=Yi(nj(this.nn,this),a)}};
yj.prototype.nn=function(){if(this.pa){this.pa=null;this.g.info("BP detection timeout reached.");if(this.h.g!=null){let a=mU(this.h.g);a&&this.g.Ba("Timer should have been cancelled : "+a)}this.g.info("Buffering proxy detected and switch to long-polling!");this.Pa=!1;this.Ec=!0;Wi(10);XW(this);hoa(this)}else this.g.Ba("Invalid operation.")};
var UW=function(a){a.pa!=null&&(n.clearTimeout(a.pa),a.pa=null)},hoa=function(a){a.h=new sj(a,a.g,"rpc",a.mj);a.O===null&&(a.h.Ea=a.da);a.h.Db=0;var b=a.om.clone();EA(b,"RID","rpc");EA(b,"SID",a.Ob);EA(b,"AID",a.H);EA(b,"CI",a.Pa?"0":"1");!a.Pa&&a.Ij&&EA(b,"TO",a.Ij);EA(b,"TYPE","xmlhttp");cX(a,b);a.O&&a.da&&MU(b,a.O,a.da);a.rc&&a.h.setTimeout(a.rc);var c=a.h;a=a.Cj;c.qb=1;c.K=GU(b.clone());c.O=null;c.Ob=!0;Nna(c,a)};yj.prototype.ln=function(){this.V!=null&&(this.V=null,XW(this),YW(this),Wi(19))};
var WW=function(a){a.V!=null&&(n.clearTimeout(a.V),a.V=null)},Sna=function(a,b){var c=null;if(a.h==b){WW(a);UW(a);a.h=null;var d=2}else if(VW(a.B,b))c=b.pa,Wna(a.B,b),d=1;else return;if(a.A!=0)if(b.D)if(d==1){c=b.O?b.O.length:0;b=Date.now()-b.wa;var e=a.wa;d=Si();d.dispatchEvent(new Xi(d,c,b,e));aX(a)}else Xna(a);else{var f=b.rc;e=b.F;if(e==3||e==0&&f>0)f>200&&(a.Aj=b.rc);else if(d==1&&eoa(a,b)||d==2&&YW(a))return;c&&c.length>0&&(b=a.B,b.j=b.j.concat(c));switch(e){case 1:ZW(a,5);break;case 4:ZW(a,
10);break;case 3:ZW(a,6);break;default:ZW(a,2)}}},doa=function(a,b){var c=a.yr+Math.floor(Math.random()*a.qn);a.isActive()||(c*=2);return c*b},ZW=function(a,b){a.g.info("Error code "+b);if(b==2){var c=nj(a.un,a),d=a.gn;let e=!d;d=new Uh(d||"//www.google.com/images/cleardot.gif");n.location&&n.location.protocol=="http"||Vh(d,"https");GU(d);e?Mba(d.toString(),c):Nba(d.toString(),c)}else Wi(2);a.A=0;a.D&&a.D.tl(b);boa(a);aoa(a)};
yj.prototype.un=function(a){a?(this.g.info("Successfully pinged google.com"),Wi(2)):(this.g.info("Failed to ping google.com"),Wi(1))};var boa=function(a){a.A=0;a.Kj=[];if(a.D){let b=$na(a.B);if(b.length!=0||a.j.length!=0)Ra(a.Kj,b),Ra(a.Kj,a.j),a.B.j.length=0,Pa(a.j),a.j.length=0;a.D.sl()}};yj.prototype.gb=function(){return this.Cr};
var Vna=function(a,b,c){var d=HU(c);if(d.g!="")b&&Wh(d,b+"."+d.g),Xh(d,d.A);else{var e=n.location;d=e.protocol;b=b?b+"."+e.hostname:e.hostname;e=+e.port;let f=new Uh(null);d&&Vh(f,d);b&&Wh(f,b);e&&Xh(f,e);c&&Yh(f,c);d=f}c=a.Ea;b=a.vm;c&&b&&EA(d,c,b);EA(d,"VER",a.pj);cX(a,d);return d},Ona=function(a,b,c){if(b&&!a.Db)throw Error("Fa");b=a.Wm&&!a.am?new Pi(new yU({Um:c})):new Pi(a.am);b.V=a.Db;return b};yj.prototype.isActive=function(){return!!this.D&&this.D.isActive(this)};var ioa=function(){};l=ioa.prototype;
l.vl=function(){};l.ul=function(){};l.tl=function(){};l.sl=function(){};l.isActive=function(){return!0};l.Io=function(){};var eX=function(a,b){oh.call(this);this.g=new yj(b);this.B=a;this.h=b&&b.Fq||null;a=b&&b.Eq||null;b&&b.qs&&(a?a["X-Client-Protocol"]="webchannel":a={"X-Client-Protocol":"webchannel"});this.g.da=a;a=b&&b.As||null;b&&b.Sj&&(a?a["X-WebChannel-Content-Type"]=b.Sj:a={"X-WebChannel-Content-Type":b.Sj});b&&b.zl&&(a?a["X-WebChannel-Client-Profile"]=b.zl:a={"X-WebChannel-Client-Profile":b.zl});this.g.Me=a;(a=b&&b.ys)&&!ka(a)&&(this.g.O=a);this.F=b&&b.Vm||!1;this.D=b&&b.ar||!1;(b=b&&b.Fp)&&!ka(b)&&(this.g.Ea=
b,a=this.h,a!==null&&b in a&&ih(this.h,b));this.j=new dX(this)};yD(eX,oh);eX.prototype.open=function(){this.g.D=this.j;this.F&&(this.g.Db=!0);this.g.connect(this.B,this.h||void 0)};eX.prototype.close=function(){bX(this.g)};eX.prototype.send=function(a){var b=this.g;if(typeof a==="string"){var c={};c.__data__=a;a=c}else this.D&&(c={},c.__data__=OT(a),a=c);coa(b,a)};eX.prototype.ya=function(){this.g.D=null;delete this.j;bX(this.g);delete this.g;eX.Fb.ya.call(this)};
var joa=function(a){YV.call(this);a.__headers__&&(this.headers=a.__headers__,this.statusCode=a.__status__,delete a.__headers__,delete a.__status__);var b=a.__sm__;if(b){a:{for(let c in b){a=c;break a}a=void 0}if(this.h=a)a=this.h,b=b!==null&&a in b?b[a]:void 0;this.data=b}else this.data=a};yD(joa,YV);var koa=function(a){ZV.call(this);this.status=1;this.errorCode=a};yD(koa,ZV);var dX=function(a){this.g=a};yD(dX,ioa);dX.prototype.vl=function(){this.g.dispatchEvent("a")};dX.prototype.ul=function(a){this.g.dispatchEvent(new joa(a))};
dX.prototype.tl=function(a){this.g.dispatchEvent(new koa(a))};dX.prototype.sl=function(){this.g.dispatchEvent("b")};var aW=function(a){this.g=a};aW.prototype.commit=function(a){this.g.Ke=a};var loa=function(){this.g=[]};loa.prototype.add=function(a){this.g.push(a)};
var moa=function(){var a=a===void 0?Date:a;var b=b===void 0?uM(a.now()*1E3):b;this.h=a;this.g=b},noa=function(a,b,c){this.authMethod=b;this.g=new qW(a,c)},ooa=async function(a,b,c,d,e){var f=new moa,g=new EV;b=I(g,1,b);d=K(b,4,d);c=K(d,5,c);e&&(d=e.A!=null?mM(e.A)/1E6:void 0,d=S(c,2,d==null?d:vc(d)),e=e.j!=null?uM(e.h.now()*1E3).add(e.j):void 0,O(d,3,e==null?void 0:e.toString()));a=await a.g.post("/v1/chooseServer",c,FV,Ii(a.authMethod));e=Uj(Bt(a,4));c=Uj(Bt(a,5));d=uM(f.h.now()*1E3);b=oM(c,e);f.A=
oM(oM(d,f.g),b);f.j=oM(oM(e,f.g).add(c),d).div(uM(2));e=D(a,1);if(e==null)throw Error("Ha");var h,k;return{Rh:e,Yi:(h=ws(a,2))!=null?h:0,Mp:(k=Aq(a,3))!=null?k:0,mr:f}},poa=function(a,b,c){this.authMethod=b;this.g=new qW(a,c)},qoa=async function(a,b,c){if(a.authMethod instanceof Mi)return Promise.resolve();var d=new WV;c=E(d,1,c);d=Ii(a.authMethod);d.Lg==null&&(d.Lg={});d.Lg.gsessionid=b;d.pr=1E4;try{await a.g.post("/v1/refreshCreds",c,XV,d)}catch(e){}},roa=function(a,b,c){this.project=a;this.h=b;
this.j=c;this.A=!1;this.g=Date.now()},gX=function(a,b){var c=this;this.O=a;this.options=b;this.F=!1;this.streams=new Map;this.K=new iV;this.wa=0;this.A=new iV;this.status=new Ji(new hH);this.pa=new dW;this.B=[];this.da=!1;this.D=0;this.j=[];this.V=new bi;this.h=function(g){Promise.resolve().then(function(){var h,k;(h=c.options.og)==null||(k=h.g)==null||k.call(h,g)}).catch(function(){})};var d;((d=this.options.og)==null?0:d.g)&&this.V.listen(Si(),"statevent",function(g){c.h(g)});this.A.h(Rba(function(g){return xs(g)===
0?Promise.resolve():new Promise(function(h){Bj(h,500)})})).subscribe(this.status);this.H=new Bi;var e,f;this.mi=(f=(e=b.mi)==null?void 0:e.h(zj(function(){return lV}),Qba(lV)))!=null?f:lV;fX(this)},soa=function(a,b,c){b=b.then(function(d){var e=!1;switch(d.Bh()){case 2:case 0:var f=a.ie;e=a.vd;break;case 1:f=a.De;break;default:f=new Uh}var g=Yh(f.clone(),rW(f.getPath(),"/multi-watch/channel"));return{er:new noa(f,d,Qi(c.Ci)),Xo:new poa(f,d,Qi(c.Ci)),ej:function(h,k,m){var p,t,w=new bna(g,d,c.Ci!==
void 0,e,(t=(p=c.og)==null?void 0:p.Jf)!=null?t:!1);h=new $V(h,k,w,function(A,J){return new eX(A,J)},m);h.open();return h}}});return new gX(b,c)},toa=function(a,b){return Math.max(Math.min(a,b!=null?b:a)+(24E4+4E4*Math.random())-a,0)},uoa=function(a){var b;Bj(function(){a.O.then(function(c){var d,e;((d=a.g)==null?void 0:d.channelId)!=null&&((e=a.g)==null?void 0:e.Xh)!=null&&Date.now()>=a.g.Xh+24E4?(qoa(c.Xo,a.g.Rh,a.g.channelId).catch(function(){}),a.g.Xh=Date.now(),uoa(a)):a.F=!1})},toa(Date.now(),
(b=a.g)==null?void 0:b.Xh))};gX.prototype.hb=function(a,b){b=q(b.g);for(var c=b.next();!c.done;c=b.next()){c=c.value;c=new fW(c.objectId,c.version,c.payload,c.h,c.g);try{a.h.next(c)}catch(d){}}};var voa=function(a,b){return a.B.find(function(c){var d;if(d=c.project===b.project)c=c.h,d=b.g,d=c instanceof Qj&&d instanceof Qj?c.equals(d):c instanceof oW&&d instanceof oW?c.equals(d):!1;return d})};gX.prototype.onClose=function(){this.h(new mna);this.g=void 0;fX(this)};
gX.prototype.dk=function(a,b){this.h(new nna(a));a=iH(new hH,Oi(b));this.handleError(a)};gX.prototype.handleError=function(a){this.g==null||this.g.Sl||xs(a)!==14||this.D++;try{this.A.next(a)}catch(c){}a=q(this.streams.values());for(var b=a.next();!b.done;b=a.next())b.value.A=2};
var xoa=function(a,b,c){if(a.g){var d=woa(c.project,c.g);if(c instanceof hX){var e=hE(d,1,c.j.toString());H(e,8,c.B)}G(d,9,c.A);c.A=0;c=new JV;e=Re(c,1,HV);b=hE(e,1,b.toString());d=y(b,2,IV,d);G(d,4,a.g.Yi);a.g.channel.send(c)}},woa=function(a,b){var c=new CV;c=I(c,4,bW);if(b instanceof Qj){var d=new zV;if(a!=null){var e=d;a=Fj(a);I(e,1,a)}a=d;e=b.g()?yV():xV();a=I(a,2,e);b=Pj(b);I(a,3,b);y(c,2,DV,d)}else d=new AV,a!=null&&(e=d,a=Fj(a),I(e,1,a)),a=d,e=b.root.g()?yV():xV(),a=I(a,2,e),b=Pj(b.root),
I(a,3,b),y(c,6,DV,d);return c},fX=function(a){var b=$ma(a.H);Zba(b).h(Wba(a.mi.h(Aj(function(){var c=a.pa;c.update();c.g<1?c=!1:(c.g--,c=!0);return c})))).subscribe(function(){a.O.then(function(c){a.h(new hna);yoa(a,c.er).then(function(d){a.h(new ina);a.ha=d.mr;Bj(function(){a.da=!0;zoa(a,c.ej,d)},a.da?0:d.Mp)},function(d){var e=iH(new hH,2);d instanceof pW?(iE(e,2,d.message),d.status&&iH(e,Oi(d.status)),d.status===503&&a.D++):iE(e,2,d.toString());a.h(new jna);try{a.A.next(e)}catch(f){}fX(a)})},function(c){var d=
iH(new hH,13);c=iE(d,2,c.toString());a.A.next(c)})})},yoa=async function(a,b){var c=await Aoa(a),d=q(c);c=d.next().value;d=d.next().value;for(var e=Date.now();a.j.length>0&&a.j[a.j.length-1]<=e-12E4;)a.j.pop();e=a.j.length;e>1&&a.h(new kna(e));return ooa(b,woa(c,d),e,a.D,a.ha)},Aoa=async function(a){for(;;){if(a.options.vk)for(var b=q(a.streams.values()),c=b.next();!c.done;c=b.next()){c=c.value;let d=c.g;d instanceof oW&&(d=d.root);if(d.g())return[c.project,c.g]}b=q(a.streams.values());for(b=b.next();!b.done;b=
b.next())return a=b.value,[a.project,a.g];await vi(kV(a.K).h(Aj()))}},zoa=function(a,b,c){a.h(new lna);a.j.unshift(Date.now());a.g={channel:b(function(f){var g=z(f,SV,1,B());g=q(g);for(var h=g.next();!h.done;h=g.next()){var k=a,m=h.value;k.g!=null&&(k.g.Sl=!0);k.D=0;h=Wj(m,1);if(h!=null)if(h=Number(h),wn(m,MV,3,TV)){a:{if(m=ck(m,MV,3,TV))if(m=m.R())break a;m=void 0}if(m){var p=k.streams.get(h);p&&(Aq(m,1)===0?p.h.complete():p.h.error(k.options.Bi?new eW(m):m),k.streams.delete(h))}}else if(p=ck(m,
QV,2,TV))switch(Tj(p,RV)){case 1:m=ck(p,PV,1,RV);m=Cq(m,1);m=Xj(m);p=k.streams.get(h);if(p instanceof iX){try{p.h.next(new pna)}catch(ha){}k.streams.set(h,p.start(m))}break;case 3:a:{if(m=ck(p,NV,3,RV))if(m=Wj(m,1),m!=null){m=new gW(Uj(m));break a}m=void 0}if(m&&(p=k.streams.get(h),p instanceof hX)){k=p;h=m.g;h>k.j&&(k.j=h,k.B=!0);try{p.h.next(m)}catch(ha){}}break;case 2:h=k.streams.get(h);if(!(h instanceof hX))break;m=h.g;var t=ck(p,OV,2,RV);if(t){p=new loa;t=q(z(t,BV,1,B()));for(var w=t.next();!w.done;w=
t.next()){w=w.value;var A=Q(w,Gj,6);let ha=Wj(w,3);if(!A||ha==null)continue;var J=void 0,Z=(J=ak(w,2,void 0,void 0,ze))==null?void 0:new Uint8Array(Te(J)||0);Z=Z==null?void 0:Z;(A=$ba(m,A))&&p.add(new fW(A,Uj(ha),Z,!!F(w,7),!!F(w,8)))}m=p}else m=void 0;m&&k.hb(h,m);break;case 5:if(h=k.streams.get(h)){if(h instanceof hX){m=k;p=0;for(t=Date.now();p<m.B.length;)t>=m.B[p].g+6E4?m.B.splice(p):++p;(m=voa(k,h))?(m.A=!0,m.j=h.j,m.g=Date.now()):k.B.push(new roa(h.project,h.g,h.j))}try{h.h.complete()}catch(ha){}}}}if(hp(f,
UV,2))switch(J=f.R(),ws(J,1)){case 1:J=q(a.streams.values());for(g=J.next();!g.done;g=J.next())g.value.A=3;a.g&&a.g.channel.close()}hp(f,KV,3)&&a.g&&(J=a.g,f=Q(f,KV,3),f=x(f,1),J.channelId=f,a.g.Xh=Date.now(),a.F||(uoa(a),a.F=!0))},a,c.Rh),Yi:c.Yi,Rh:c.Rh,Sl:!1};b=Array.from(a.streams.entries());b.sort(function(f,g){return f[0]-g[0]});b=q(b);for(c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;xoa(a,c,d)}var e=a.g;Bj(function(){a.g===e&&a.H.reset()},45E3)};
gX.prototype.watch=function(a,b){var c=this;b=b===void 0?{}:b;return new oi(function(d){var e=++c.wa,f,g=(f=b.Ks)!=null?f:c.options.ap;d=new iX(d,g,a);c.streams.set(e,d);c.K.next({});xoa(c,e,d);return function(){var h=new JV;var k=Re(h,1,HV);k=hE(k,1,e.toString());var m=new GV;y(k,3,IV,m);c.g&&c.g.channel.send(h);c.streams.delete(e)}})};var iX=function(a,b,c){this.h=a;this.project=b;this.g=c;this.A=1};iX.prototype.start=function(a){return new hX(this.h,this.project,this.g,a)};
var hX=function(a,b,c,d){this.h=a;this.project=b;this.g=c;this.j=d;this.B=!0;this.A=1};var Boa={ie:new Uh("https://signaler-pa.clients6.google.com/punctual"),De:new Uh("https://signaler-pa.googleapis.com/punctual"),vd:!1},Coa={ie:new Uh("https://punctual.corp.google.com/punctual"),De:new Uh,vd:!1},Doa={ie:new Uh("https://punctual-dev.corp.google.com/punctual"),De:new Uh("https://signaler-staging.sandbox.google.com/punctual"),vd:!1},Eoa=new Map([["corp",Coa],["prod",Boa],["prod-up",Coa],["preprod-dynamite-alpha-us",gk("alpha-us")],["preprod-dynamite-alpha-eu",gk("alpha-eu")],["preprod-dynamite-beta-us",
gk("beta-us")],["preprod-dynamite-beta-eu",gk("beta-eu")],["preprod-dynamite-gamma-us",gk("gamma-us")],["preprod-dynamite-gamma-eu",gk("gamma-eu")],["preprod-qual-dynamite-perftest",ek("preprod-qual-dynamite-perftest")],["prod-dynamite-prod-00-eu",gk("prod-00-eu")],["prod-dynamite-prod-01-eu",gk("prod-01-eu")],["prod-dynamite-prod-00-us",gk("prod-00-us")],["prod-dynamite-prod-01-us",gk("prod-01-us")],["prod-dynamite-prod-02-us",gk("prod-02-us")],["prod-dynamite-prod-03-us",gk("prod-03-us")],["prod-dynamite-prod-04-us",
gk("prod-04-us")],["prod-dynamite-prod-05-us",gk("prod-05-us")],["prod-dynamite-prod-06-us",gk("prod-06-us")],["prod-dynamite-prod-07-us",gk("prod-07-us")],["prod-dynamite-prod-08-us",gk("prod-08-us")],["prod-dynamite-prod-09-us",gk("prod-09-us")],["dynamite-alpha-us",fk("preprod","alpha-us")],["dynamite-alpha-eu",fk("preprod","alpha-eu")],["dynamite-beta-us",fk("preprod","beta-us")],["dynamite-beta-eu",fk("preprod","beta-eu")],["dynamite-gamma-us",fk("preprod","gamma-us")],["dynamite-gamma-eu",fk("preprod",
"gamma-eu")],["dynamite-prod-00-us",fk("prod","prod-00-us")],["dynamite-prod-00-eu",fk("prod","prod-00-eu")],["dynamite-prod-01-us",fk("prod","prod-01-us")],["dynamite-prod-01-eu",fk("prod","prod-01-eu")],["dynamite-prod-02-us",fk("prod","prod-02-us")],["dynamite-prod-03-us",fk("prod","prod-03-us")],["dynamite-prod-04-us",fk("prod","prod-04-us")],["dynamite-prod-05-us",fk("prod","prod-05-us")],["dynamite-prod-06-us",fk("prod","prod-06-us")],["dynamite-prod-07-us",fk("prod","prod-07-us")],["dynamite-prod-08-us",
fk("prod","prod-08-us")],["dynamite-prod-09-us",fk("prod","prod-09-us")],["prod-asia-east1",ek("asia-east1")],["prod-asia-southeast1",ek("asia-southeast1")],["prod-europe-north1",ek("europe-north1")],["prod-europe-west1",ek("europe-west1")],["prod-europe-west4",ek("europe-west4")],["prod-southamerica-west1",ek("southamerica-west1")],["prod-us-central1",ek("us-central1")],["prod-us-central2",ek("us-central2")],["prod-us-east1",ek("us-east1")],["prod-us-west1",ek("us-west1")],["ytprod",{ie:new Uh("https://signaler-pa.youtube.com/punctual"),
De:new Uh("https://signaler-pa.googleapis.com/punctual"),vd:!1}],["dev",Doa]]);var jX=function(a){this.j=a;this.g=new qna;this.vk=this.Bi=this.h=!1;this.og=new ona};jX.prototype.setApiKey=function(a){this.g.apiKey=a;return this};
jX.prototype.build=function(){var a=Hba(this.g),b=this.j;if(!b.startsWith("/punctual/"))throw Error("Ia`"+b);var c=b.substring(10).split("/");if(c.length!==2)throw Error("Ja`"+b);b=q(c);c=b.next().value;b=b.next().value;if(c.startsWith("custom:"))c=new Uh(decodeURIComponent(c.substring(7))),Yh(c,"/punctual"),c={ie:c,De:c,vd:!1};else{var d=Eoa.get(c);if(!d)throw Error("Ka`"+c);c=d}return soa(c,a,{mi:this.mi,ap:this.h?void 0:b,Ci:void 0,vk:this.vk,og:this.og,Bi:this.Bi})};var Foa=function(a,b){this.name=a;this.g=b};var Goa=function(a){this.client=a},Hoa=function(a){var b=b===void 0?{}:b;this.g=a;this.h=b;this.status=a.status};Hoa.prototype.start=function(){return{stop:function(){return Promise.resolve()}}};
var Ioa=function(a,b){b=b.g?Rj(b.name):Sj(b.name);return a.g.watch(new oW(b),a.h).h(Ai(function(c){return!(c instanceof gW)}),yi(function(c){if(c instanceof fW){var d;if(d=c.payload){d=c.payload;let h=[],k=0,m=0;for(;k<d.length;){var e=d[k++];if(e<128)h[m++]=String.fromCharCode(e);else if(e>191&&e<224){var f=d[k++];h[m++]=String.fromCharCode((e&31)<<6|f&63)}else if(e>239&&e<365){f=d[k++];var g=d[k++];let p=d[k++];e=((e&7)<<18|(f&63)<<12|(g&63)<<6|p&63)-65536;h[m++]=String.fromCharCode(55296+(e>>10));
h[m++]=String.fromCharCode(56320+(e&1023))}else f=d[k++],g=d[k++],h[m++]=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63)}d=h.join("")}c={version:c.version,payload:d,Is:c.payload,isSynthetic:!1,Sp:c.objectId.parts.length===1}}else c={isSynthetic:!0,Sp:!0};return c}),Yba())};var Joa=function(a){this.g=a};Joa.prototype.build=function(){return new Goa(this.g.build())};var kX=function(a,b){if(!a)throw iM(DB(b)).sa;},Koa=function(a){if(a==null)throw XL().sa;return a};var Moa=function(a,b){a=DB(a);b||(b=["(Object[])null"]);var c=new wN;c.g="";for(var d=0,e=0;e<b.length;){let f=a.indexOf("%s",d);if(f==-1)break;c.g=DB(c.g)+DB(cO(DB(a),d,f));let g;AN(c,Loa(b[g=e,e=e+1|0,g]));d=f+2|0}c.g=DB(c.g)+DB(cO(DB(a),d,a.length));if(e<b.length){for(a=" [";e<b.length;e=e+1|0)AN(c,a),AN(c,Loa(b[e])),a=", ";c.g=DB(c.g)+String.fromCharCode(93)}return c.toString()},Loa=function(a){if(a==null)return"null";try{return a.toString()}catch(h){let k=ZL(h);if(k instanceof aM){var b=DB(HL(PM(a)))+
String.fromCharCode(64);a=KM(a);b+=DB((a>>>0).toString(16));a=Noa;if(!lX){var c=new mX,d=new VN;HN(d);c.g=d;lX=c;var e=Ooa("");c=e;d=(nX(),oX);c.B=d;Poa(lX,e)}a=a(lX,"com.google.common.base.Strings");d=(nX(),pX);e="Exception during lenientFormat for "+DB(b);c=k;var f;Qoa?f=d.Pc()>=qX.Pc():f=!1;if(f)for(f=new rX,f.g=null,f.h=d,f.j=e,f.g=c,c=a;c;){for(let m=kO(c.g.Qj(ML([c.g.size()],sX,Roa)),sX,Roa),p=0;p<m.length;p++){e=m[p];a=f;d=typeof console==="undefined"?null:new tX;var g;if(g=d)g=(e.g?e.g:Soa).Pc()<=
a.h.Pc();g&&(e=a.h.Pc(),e=e>=qX.Pc()?"error":e>=pX.Pc()?"warn":e>=oX.Pc()?"info":"log",console[e].call(console,a.j),a.g&&uX(d,e,a.g,"Exception: ",!0))}c=c.j?c.A:null}return"<"+DB(b)+" threw "+DB(HL(PM(k)))+">"}throw k.sa;}};var vX=function(){},Soa,oX,qX,pX;V(vX,EL);vX.prototype.g=function(){return"DUMMY"};vX.prototype.Pc=function(){return-1};vX.prototype.toString=function(){return this.g()};var nX=function(){nX=function(){};Soa=new wX;oX=new xX;qX=new yX;pX=new zX};vX.prototype.P=["java.util.logging.Level",0];var wX=function(){};V(wX,vX);wX.prototype.g=function(){return"ALL"};wX.prototype.Pc=function(){return-2147483648};wX.prototype.P=["java.util.logging.Level$LevelAll",0];var xX=function(){};V(xX,vX);xX.prototype.g=function(){return"INFO"};xX.prototype.Pc=function(){return 800};xX.prototype.P=["java.util.logging.Level$LevelInfo",0];var yX=function(){};V(yX,vX);yX.prototype.g=function(){return"SEVERE"};yX.prototype.Pc=function(){return 1E3};yX.prototype.P=["java.util.logging.Level$LevelSevere",0];var zX=function(){};V(zX,vX);zX.prototype.g=function(){return"WARNING"};zX.prototype.Pc=function(){return 900};zX.prototype.P=["java.util.logging.Level$LevelWarning",0];var rX=function(){};V(rX,EL);rX.prototype.P=["java.util.logging.LogRecord",0];var sX=function(){};V(sX,EL);var Roa=function(a){return a instanceof sX};sX.prototype.P=["java.util.logging.Handler",0];var mX=function(){},lX;V(mX,EL);var Poa=function(a,b){if(b.h.length==0){var c=new AX;Qoa=!0;b.g.add(c)}a.g.Pi(b.h,b)},Noa=function(a,b){var c=yB(a.g.get(b),Toa,BX);if(!c){b=c=Ooa(b);let h=b.h;var d=Math,e=d.max;var f=h;var g=String.fromCodePoint(46);f=f.lastIndexOf(g);d=cO(h,0,e.call(d,0,f));if(d=Noa(a,d))b.A=d;Poa(a,b);return c}return c};mX.prototype.P=["java.util.logging.LogManager",0];var AX=function(){};V(AX,sX);AX.prototype.P=["java.util.logging.SimpleConsoleLogHandler",0];var tX=function(){};V(tX,EL);var uX=function(a,b,c,d,e){(!e&&console.groupCollapsed?console.groupCollapsed:console.group?console.group:console.log).call(console,DB(d)+DB(c.toString()));d=c.sa;console[b].call(console,d&&d.stack||"");(d=c.g)&&uX(a,b,d,"Caused by: ",!1);for(let f=c.j?kO(c.j.Qj(ML([0],RL,$L)),RL,$L):ML([0],RL,$L),g=0;g<f.length;g++)uX(a,b,f[g],"Suppressed: ",!1);console.groupEnd&&console.groupEnd.call(console)};tX.prototype.P=["javaemul.internal.ConsoleLogger",0];var BX=function(){this.j=!1};V(BX,EL);var Ooa=function(a){var b=new BX;b.h=a;b.j=!0;a=new ZM;a.g=[];b.g=a;return b},Toa=function(a){return a instanceof BX},Qoa=!1;BX.prototype.P=["java.util.logging.Logger",0];var Uoa=function(){Uoa=function(){};Voa=Math.max(Math.min(Error.stackTraceLimit,2147483647),-2147483648)|0},Voa=0;var CX=function(a,b){this.g=b;this.h=a;SL(this);UL(this,Error(this))};V(CX,bM);CX.prototype.getError=function(){return this.sa};hD.Object.defineProperties(CX.prototype,{error:{configurable:!0,enumerable:!0,get:function(){var a=Error(),b=this.sa;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(let c in b)c.indexOf("__java$")!=0&&(a[c]=b[c]);return a}}});
CX.prototype.P=["com.google.apps.docs.xplat.base.XplatException",0];var Woa=function(){},Xoa=function(a){return a instanceof Error};Woa.prototype.P=["Error",0];var wB=function(a){var b=vB;if(a==null)for(a=0;a<b.length;a=a+1|0){if(b[a]==null)return a}else for(let c=0;c<b.length;c=c+1|0)if(FM(a,b[c]))return c;return-1};var GB=function(){},FB=function(a){return a instanceof Array};GB.prototype.P=["Array",0];var DX=function(){},EX;V(DX,EL);var IX=function(){FX();var a=new DX;a.g=yB([],GX,HX);return a},JX=function(a,b){a.g.push(b);return a},MX=function(a,b){b=yB(b,KX,LX);Yoa(a.g,b);return a},NX=function(a){var b=a.g.length==0?EX:yB(a.g,FB,GB);a.g=null;return b},FX=function(){FX=function(){};EX=yB(yB([],GX,HX),FB,GB)};DX.prototype.P=["com.google.gwt.corp.collections.ImmutableJsArray$Builder",0];var LX=function(){},KX=function(a){return a instanceof Array};LX.prototype.P=["Array",0];var Zoa=function(a,b){return CM(a,b)},PX=function(){OX();return Zoa},$oa=function(a){OX();return function(b,c){var d=$oa(a);if(GX(b)&&GX(c))return apa(yB(b,GX,HX),yB(c,GX,HX),d);if(FB(b)&&FB(c))return b=yB(b,FB,GB),c=yB(c,FB,GB),bpa(b,c,d);if(KX(b)&&KX(c)){b=yB(b,KX,LX);var e=yB(c,KX,LX);a:if(c=b,b=e,FL(c,b))d=!0;else if(e=c?c.length:0,e!=(b?b.length:0))d=!1;else{for(let f=0;f<e;f=f+1|0)if(!d(c[f],b[f])){d=!1;break a}d=!0}return d}return QX(b)&&QX(c)?(b=yB(b,QX,RX),c=yB(c,QX,RX),cpa(b,c,d)):a(b,c)?
!0:!1}},OX=function(){OX=function(){};PX();PX();$oa(Zoa)};var apa=function(a,b,c){if(FL(a,b))return!0;if(!a)return!b||b.length==0;if(!b)return a.length==0;var d=a.length;if(d!=b.length)return!1;for(let e=0;e<d;e=e+1|0)if(!c(a[e],b[e]))return!1;return!0};var dpa=function(a,b){var c=iO([!1],wM,xM);a.Eh(function(d,e){var f;return(f=b.g,f(d,e))?(PL(c,0,!0),1):0});return c[0]},epa=function(a,b){var c=iO([!0],wM,xM);a.Eh(function(d,e){var f;return(f=b.g,f(d,e))?0:(PL(c,0,!1),1)});return c[0]};var RX=function(){},fpa=function(a,b,c){var d=a.get(b);if(d!=null)return d;var e;c=(e=c.g,e(b));c!=null&&a.se(b,c);return c},QX=function(a){return a!=null&&!!a.mf};RX.prototype.mf=!0;RX.prototype.P=["com.google.gwt.corp.collections.JsMap",1];var SX=function(a){this.g=a};V(SX,EL);SX.prototype.P=["java.util.function.BiPredicate$$LambdaAdaptor",0];var gpa=function(a){if(a==null)throw EM("can't identity hash null").sa;return":"+KM(a)},hpa=function(a){return yB(a,OL,NL).toString()};var TX=function(){};V(TX,EL);l=TX.prototype;l.Vb=function(){return this.g};l.getValue=function(){return this.h};l.setValue=function(){var a=new fM;TL(a,"setValue not supported");UL(a,Error(a));throw a.sa;};l.equals=function(a){return FL(this,a)||UX(a)&&CM(this.g,yB(a,UX,TX).g)&&CM(this.h,yB(a,UX,TX).h)};l.Rb=function(){return(this.g==null?0:GM(this.g))^(this.h==null?0:GM(this.h))};
l.toString=function(){return AN(zN(AN(AN(zN(AN(AN(yN(oO(oO(nO(IL(JL(this))),"."),"$")),"{"),"key="),this.g),", "),"value="),this.h),"}").toString()};var UX=function(a){return a instanceof TX};TX.prototype.ah=!0;TX.prototype.P=["com.google.gwt.corp.collections.MapEntry",0];var VX=function(){};V(VX,EL);l=VX.prototype;l.get=function(a){return(a=yB(this.g.get(WX(this,a)),eN,dN))?a.getValue():null};l.se=function(a,b){var c=this.g,d=c.se,e=WX(this,a),f=new TX;f.g=a;f.h=b;d.call(c,e,f)};l.contains=function(a){return this.g.contains(WX(this,a))};l.forEach=function(a){this.g.forEach(function(b,c){yB(b,AB,BB);b=yB(c,eN,dN);a(b.Vb(),b.getValue())})};l.Eh=function(a){this.g.Eh(function(b,c){yB(b,AB,BB);b=yB(c,eN,dN);return a(b.Vb(),b.getValue())})};l.ib=function(){return this.g.ib()};
l.zh=function(){return this.g.zh()};l.yh=function(){return this.g.yh()};var WX=function(a,b){var c;return c=a.j,c(b)};l=VX.prototype;l.equals=function(a){return ipa(a)?CM(this.g,yB(a,ipa,VX).g):!1};l.Rb=function(){return GM(this.g)};l.some=function(a){return dpa(this,a)};l.every=function(a){return epa(this,a)};l.Qk=function(a,b){return fpa(this,a,b)};var ipa=function(a){return a instanceof VX};VX.prototype.mf=!0;VX.prototype.P=["com.google.gwt.corp.collections.JavascriptJsMapWithHashFunction",0];var XX=function(){};V(XX,EL);var YX=function(){var a=new XX;a.g=Object.create(null);return a};l=XX.prototype;l.Pj=function(a,b){this.g[a]=b};l.forEach=function(a){var b=this.g,c;for(c in b)a(c,b[c])};l.Eh=function(a){var b=this.g,c;for(c in b)if(a(c,b[c])==1)break};l.ib=function(){a:{for(a in this.g){var a=!1;break a}a=!0}return a};l.zh=function(){return ZX(this.g)};l.yh=function(){var a=this.g,b=[],c;for(c in a)b.push(c);return b};
l.toString=function(){var a=xN();a.g=DB(a.g)+String.fromCharCode(123);this.forEach(function(b,c){b=yB(b,AB,BB);AN(zN(AN(AN(a,b),"="),c),",")});return AN(a,"}").toString()};l.Rb=function(){var a=this.g,b=0,c;for(c in a){var d=a[c];let e=yB(c,AB,BB);d=(e==null?0:JM(e))^(d==null?0:GM(d));b+=d;b=~~b}return b};l.equals=function(a){if(FL(a,this))return!0;if(!jpa(a))return!1;var b=yB(a,jpa,XX);a:{a=this.g;b=b.g;var c=PX();if(ZX(a)!=ZX(b))var d=!1;else{for(d in a)if(!c(a[d],b[d])){d=!1;break a}d=!0}}return d};
l.get=function(a){a=yB(a,AB,BB);return this.g[a]};l.contains=function(a){a=yB(a,AB,BB);return typeof this.g[a]!="undefined"};l.some=function(a){return dpa(this,a)};l.every=function(a){return epa(this,a)};l.se=function(a,b){this.Pj(yB(a,AB,BB),b)};l.Qk=function(a,b){return fpa(this,yB(a,AB,BB),b)};var jpa=function(a){return a instanceof XX};XX.prototype.mf=!0;XX.prototype.P=["com.google.gwt.corp.collections.JavascriptStringJsMap",0];var cpa=function(a,b,c){return FL(a,b)?!0:a&&b&&a.zh()==b.zh()?a.every(new SX(function(d,e){return b.contains(d)&&c(e,b.get(d))})):!1};var $X=function(a){if(a.length==0)a=(FX(),EX);else{var b=IX();Yoa(b.g,a);a=NX(b)}return a},bpa=function(a,b,c){if(FL(a,b))return!0;if(!a||!b)return!1;var d=a?a.length:0;if(d!=(b?b.length:0))return!1;for(let e=0;e<d;e=e+1|0)if(!c(a[e],b[e]))return!1;return!0};var ZX=function(a){var b=0,c;for(c in a)b++;return b};var HX=function(){},Yoa=function(a,b){for(let c=0,d=b.length;c<d;c=c+1|0)a.push(b[c])},kpa=function(a,b){a.sort(function(c,d){return b(c,d)})},GX=function(a){return a instanceof Array};HX.prototype.P=["Array",0];var aY=function(){},bY=function(a){return a instanceof Object};aY.prototype.P=["Object",0];var lpa=function(){},mpa=function(a){return a instanceof Object};lpa.prototype.P=["Object",0];var opa=function(a){Jba(function(){a.D&&!a.da&&npa&&new CX("XDeferred swallowed an error that was never read.",a.D)})};var cY=function(){};V(cY,EL);cY.prototype.P=["com.google.apps.docs.xplat.deferred.XDeferred$Present",0];var dY=function(){this.h=!1},ppa=[];V(dY,EL);l=dY.prototype;l.dispose=function(){if(this.h)var a=null;else this.h=!0,a=this.O?this.O:ppa,this.O=null;if(a){this.hg();if(a.length!=0)for(let b=a,c=0;c<b.length;c++)b[c].dispose();oO(oO(nO(IL(JL(this))),"."),"$")}};l.isDisposed=function(){return this.h};l.Da=function(a){!a||a.isDisposed()?a=null:this.h||(this.O||(this.O=[]),this.O.push(a),a=null);a&&a.dispose()};l.hg=function(){};l.toString=function(){return EL.prototype.toString.call(this)||""};
l.P=["com.google.apps.xplat.disposable.Disposable",0];var eY=function(){this.h=!1;this.g=0;this.h=this.da=this.A=this.j=!1;this.g=1;this.A=this.j=!1;this.H=[];this.F=[]},npa=function(){};V(eY,dY);l=eY.prototype;l.getValue=function(){kX(this.g==2,"XDeferred does not have a value");return this.K.g};l.getError=function(){kX(this.g==3,"XDeferred does not have an error");this.da=!0;return this.D};l.Ue=function(){return this.g==3};
l.callback=function(a){Uoa();100>Error.stackTraceLimit&&(Error.stackTraceLimit=100);kX(this.g!=4,"Cannot fire a disposed XDeferred");kX(this.g==1,"Cannot fire a XDeferred more than once");Error.stackTraceLimit=Voa;var b=new cY;b.g=a;this.K=b;this.g=2;qpa(this,!0)};l.La=function(a){kX(this.g!=4,"Cannot fire a disposed XDeferred");kX(this.g==1,"Cannot fire a XDeferred more than once");this.D=a;this.g=3;opa(this);qpa(this,!1)};
var spa=function(a,b,c){kX(a.g!=4,"Cannot add callback to disposed XDeferred");if(a.g!=1&&a.g!=2&&a.g!=3)throw iM("XDeferred addCallbacks called with invalid status "+DB(fY(a))).sa;if(a.g==1)b&&a.H.push(b),c&&a.F.push(c);else{if(a.g!=2&&a.g!=3)throw iM("XDeferred maybeFire called with invalid state "+DB(fY(a))).sa;if(a.j){if(a.A)throw jM("Cannot add callback to XDeferred that is firing its callback/errback queue ["+DB(fY(a))+"] (recursive)",a.B).sa;throw jM("Cannot add callback to XDeferred that is firing its callback/errback queue ["+
DB(fY(a))+"]",a.B).sa;}a.j=!0;a.A=!0;try{a.g==2&&b?b(a.K.g):a.g==3&&c&&(a.da=!0,c(a.D))}catch(d){let e=ZL(d);rpa(e);a.B||(a.B=e);throw e.sa;}finally{a.A=!1}a.j=!1}},fY=function(a){var b;if(a.B){var c=a.B;for(b=xN();c;c=c.g)c.sa&&(b.g.length>0&&AN(b,"\nCaused by: "),AN(b,c.sa.stack));b=b.toString()}else b="<none>";return"["+a.g+", "+a.A+", "+a.j+", "+DB(b)+"]"};
eY.prototype.transform=function(a){var b=new eY;spa(this,function(c){try{var d=a(c)}catch(e){c=ZL(e);b.La(c);return}b.callback(d)},function(c){c=yB(c,$L,RL);b.La(c)});return b};eY.prototype.hg=function(){this.D=this.K=null;this.g=4;this.H.length=0;this.F.length=0;dY.prototype.hg.call(this)};
var qpa=function(a,b){a.j=!0;a.A=!0;try{if(b)for(let c=a.H,d=0;d<c.length;d++)(0,c[d])(a.K.g);else{a.F.length!=0&&(a.da=!0);for(let c=a.F,d=0;d<c.length;d++)(0,c[d])(a.D)}}catch(c){let d=ZL(c);rpa(d);a.B||(a.B=d);throw d.sa;}finally{a.A=!1}a.j=!1;a.H.length=0;a.F.length=0};eY.prototype.P=["com.google.apps.docs.xplat.deferred.XDeferred",0];var tpa=function(){},upa=function(a){return a instanceof Object};tpa.prototype.P=["Object",0];var hk;hk=function(a){if(!a)return a;try{a=new URL(typeof a==="object"?a.href:a)}catch(b){return typeof a==="object"?a.href:a}if(a.protocol!=="http:"&&a.protocol!=="https:")return a.protocol.slice(0,-1);a.username="";a.password="";a.hash="";return a.href};jk.prototype.cancel=function(a){if(this.g)this.j instanceof jk&&this.j.cancel();else{if(this.h){let b=this.h;delete this.h;a?b.cancel(a):(b.D--,b.D<=0&&b.cancel())}this.V?this.V.call(null,this):this.da=!0;this.g||this.La(new lk(this))}};jk.prototype.K=function(a,b){this.H=!1;gY(this,a,b)};var gY=function(a,b,c){a.g=!0;a.j=c;a.B=!b;vpa(a)},wpa=function(a){if(a.g){if(!a.da)throw new hY(a);a.da=!1}};jk.prototype.callback=function(a){wpa(this);gY(this,!0,a)};
jk.prototype.La=function(a){wpa(this);gY(this,!1,a)};var iY=function(a,b,c){return qy(a,b,null,c)},xpa=function(a,b){qy(a,null,b)},jY=function(a,b){qy(a,b,b)};jk.prototype.finally=function(a){var b=this;return ypa(new Promise(function(c,d){qy(b,function(e){a();c(e)},function(e){a();d(e)})}))};var qy=function(a,b,c,d){var e=a.g;e||(b===c?b=c=hj(b):(b=hj(b),c=hj(c)));a.F.push([b,c,d]);e&&vpa(a);return a};
jk.prototype.then=function(a,b,c){var d,e,f=new zW(function(g,h){e=g;d=h});qy(this,e,function(g){g instanceof lk?f.cancel():d(g);return zpa},this);return f.then(a,b,c)};jk.prototype.$goog_Thenable=!0;var kY=function(a,b){qy(a,b.callback,b.La,b)},Apa=function(a,b){b instanceof jk?iY(a,nj(b.A,b)):iY(a,function(){return b})};jk.prototype.A=function(a){var b=new jk;kY(this,b);a&&(b.h=this,this.D++);return b};
var Bpa=function(a){return ED(a.F,function(b){return typeof b[1]==="function"})},zpa={},vpa=function(a){if(a.O&&a.g&&Bpa(a)){var b=a.O,c=lY[b];c&&(n.clearTimeout(c.g),delete lY[b]);a.O=0}a.h&&(a.h.D--,delete a.h);b=a.j;for(var d=c=!1;a.F.length&&!a.H;){var e=a.F.shift(),f=e[0];let h=e[1];e=e[2];if(f=a.B?h:f)try{var g=f.call(e||null,b);g===zpa&&(g=void 0);g!==void 0&&(a.B=a.B&&(g==b||g instanceof Error),a.j=b=g);if(xW(b)||typeof n.Promise==="function"&&b instanceof n.Promise)d=!0,a.H=!0}catch(k){b=
k,a.B=!0,Bpa(a)||(c=!0)}}a.j=b;d&&(g=nj(a.K,a,!0),d=nj(a.K,a,!1),b instanceof jk?(qy(b,g,d),b.ha=!0):b.then(g,d));c&&(b=new Cpa(b),lY[b.g]=b,a.O=b.g)},mY=function(a){var b=new jk;b.callback(a);return b},ypa=function(a){var b=new jk;a.then(function(c){b.callback(c)},function(c){b.La(c)});return b},Dpa=function(){var a=new jk;a.La(Error("xd"));return a},hY=function(a){aa.call(this);this.ee=a};yD(hY,aa);hY.prototype.message="Deferred has already fired";hY.prototype.name="AlreadyCalledError";
var lk=function(a){aa.call(this);this.ee=a};yD(lk,aa);lk.prototype.message="Deferred was canceled";lk.prototype.name="CanceledError";var Cpa=function(a){this.g=n.setTimeout(nj(this.j,this),0);this.h=a};Cpa.prototype.j=function(){delete lY[this.g];throw this.h;};var lY={};var nY=function(){Yg.call(this);this.j=0;this.h=this.g=null};V(nY,Yg);nY.prototype.init=function(){this.g=[]};var Tha=function(){var a=kk;a.g&&($a(a.g,function(b){nk(this.h,b.e,b.msg,b.severity)},a),a.g=null)},kk=new nY,aca=function(a,b,c){this.msg=a;this.e=b;this.severity=c};var oY=function(){},Epa=function(a){return a!=null&&!!a.Gk};oY.prototype.Gk=!0;oY.prototype.P=["javax.inject.Provider",1];var rpa=function(a){a&&ok(a.h,yB(a,upa,tpa).sa,"warning")};var pY=function(){},Fpa=function(a){return a!=null&&!!a.Dk};pY.prototype.Dk=!0;pY.prototype.P=["com.google.apps.docs.xplat.flag.FlagService",1];var qY,Gpa=function(){if(!qY){let b=new rY(null);qY=function(){return b}}var a;return yB((a=qY,a()),Fpa,pY)};var sY=function(){};V(sY,EL);sY.prototype.get=function(){if(this.h==null){let a=yB(n._docs_flag_initialData,bY,aY);this.h=a!=null?a:{}}return this.h};sY.prototype.g=function(){return this.get()};sY.prototype.Gk=!0;sY.prototype.P=["com.google.apps.docs.xplat.flag.FlagServiceHelper",0];var rY=function(a){this.h=new sY;this.g=null;if(a!=null)for(let e in a){var b=e,c=a[e];if(this.g)throw iM("Cannot use setClientFlag when comparison is enabled.").sa;var d=yB(this.h.g(),bY,aY);OL(c)?(c=yB(c,OL,NL).g,d[b]=c):d[b]=c!=null?c:null}};V(rY,EL);rY.prototype.clear=function(){this.h=new sY;this.g=null};
rY.prototype.get=function(a){if(this.g){try{var b=yB(this.h.g(),bY,aY)[a]}catch(d){if(b=ZL(d),b instanceof bM)b="injection-failed";else throw b.sa;}try{var c=yB(yB(Koa(this.g),Epa,oY).g(),bY,aY)[a]}catch(d){if(c=ZL(d),c instanceof bM)c="injection-failed";else throw c.sa;}if(!CM(b,c))throw iM("Logging is not supported.").sa;}return yB(this.h.g(),bY,aY)[a]};var Hpa=function(){var a=Gpa().get("icso");return typeof a=="string"?a=="true"||a=="1":!!a};rY.prototype.Dk=!0;
rY.prototype.P=["com.google.apps.docs.xplat.flag.FlagServiceImpl",0];var tY=function(){this.h=this.h=!1};V(tY,dY);tY.prototype.P=["com.google.apps.docsshared.xplat.observable.DisposableObservable",0];var uY=function(){tY.call(this);this.j=yB({},mpa,lpa);this.g=null};V(uY,tY);uY.prototype.hg=function(){tY.prototype.hg.call(this);var a=this.j,b;for(b in a)delete a[b];this.g=null};uY.prototype.dispatchEvent=function(a){if(!this.g){var b=this.j;var c=[],d;for(d in b)c.push(b[d]);this.g=c}b=this.g;for(c=0;c<b.length;c=c+1|0)yB(b[c],QM,MM)(a)};
var Ipa=function(a,b){b=yB(b,QM,MM);Koa(b);var c=a.j;if(gpa(b)in c)throw a=Moa("Observer %s previously registered.",[b]),iM(a).sa;c=a.j;var d=gpa(b);c[d]=b!==void 0?b:null;a.g=null};uY.prototype.P=["com.google.apps.docsshared.xplat.observable.EventObservable",0];var vY=function(){};V(vY,bM);var Jpa=function(a){var b=new vY;TL(b,a);UL(b,Error(b));return b};vY.prototype.P=["com.google.apps.drive.xplat.dataservice.conversions.singular.FolderFeaturesConversions$UnmappableException",0];var Kpa=function(a){switch(IM(a)){case "plusMediaFolderRoot":return fla;case "plusMediaFolder":return gla;case "machineRoot":return hla;case "arbitrarySyncFolder":return ila;case "photosAndVideosOnly":return jla;case "externalMedia":return kla;default:throw Jpa('Unable to map "'+DB(a)+'" to FolderFeature').sa;}},Lpa=function(a,b){switch(b.g){case 0:H(a,1,!0);return;case 1:H(a,2,!0);return;case 2:H(a,3,!0);return;case 3:H(a,4,!0);return;case 4:H(a,6,!0);return;case 5:H(a,5,!0);return}throw Jpa('Unable to map FolderFeature "'+
DB(b)+'" to FolderProperties field').sa;};var wY=function(){var a=new fr("customer_id","id","email","email_from_account","focus_user_id","name","organization_display_name","photo_url");return $X(yB(a.g,KX,LX))},Mpa=function(a,b){if(a==null)throw XL().sa;switch(a){case 1:return[xu("file_suggestions_cache_duration"),new cr("file_suggestions",xY(b))];case 2:return[xu("folder_suggestions_cache_duration"),new cr("folder_suggestions",xY(b))];case 4:return[xu("file_suggestions_cache_duration"),new cr("file_suggestions",xY(b)),xu("folder_suggestions_cache_duration"),
new cr("folder_suggestions",xY(b))];default:return FX(),EX}},xY=function(a){var b=new fr("action","quick_access","owner_metadata","suggestion_session_id","suggested_rank");a=dr(a);a.length==0||gr(b,new cr("item",a));return $X(yB(b.g,KX,LX))};var yY=function(){};V(yY,EL);
var Opa=function(a,b,c){if(!(c>=b.length)){var d=yB(b[c],AB,BB);a:{for(let g=a.g,h=0;h<g.length;h++)if($N(g[h].getName(),d)){var e=!0;break a}e=!1}if(!e){e=a.g;var f=xu(d);e.push(f)}a=Npa(a,d);if(a==null)throw b=Moa("Child node not found for %s",[d]),EM(b).sa;Opa(a,b,c+1|0)}},zY=function(a,b){var c=b.getName();if(c=Npa(a,c)){if(!$N(b.getName(),c.getName()))throw CB("Cannot merge field nodes with different names").sa;for(let d=b.g,e=0;e<d.length;e++)er(c,d[e])}else a.g.push(b)},Npa=function(a,b){for(let c=
a.g,d=0;d<c.length;d++)if(a=c[d],$N(a.getName(),b))return a;return null},Qpa=function(a){return a.g.map(function(b){return yB(b,Ppa,cr).toString()}).join(",")};yY.prototype.P=["com.google.apps.drive.xplat.driveway.fieldmask.FieldNodeBase",0];var fr=function(){var a=ac.apply(0,arguments);iO(a,BB,AB);this.g=[];for(let b=a,c=0;c<b.length;c++)gr(this,xu(b[c]))};V(fr,yY);var gr=function(a,b){zY(a,b);return a};fr.prototype.toString=function(){return Qpa(this)};fr.prototype.P=["com.google.apps.drive.xplat.driveway.fieldmask.FieldMask",0];var cr=function(a,b){this.g=[];this.h=a;if(b)for(let c=b,d=0;d<c.length;d++)er(this,c[d])};V(cr,yY);var xu=function(a){return new cr(a,null)};cr.prototype.getName=function(){return this.h};var er=function(a,b){zY(a,b);return a};cr.prototype.j=function(){var a=ac.apply(0,arguments);iO(a,cr,Ppa);for(let b=a,c=0;c<b.length;c++)zY(this,b[c]);return this};cr.prototype.toString=function(){var a=Qpa(this);return a.length>0?DB(this.h)+"("+DB(a)+")":this.h};var Ppa=function(a){return a instanceof cr};
cr.prototype.P=["com.google.apps.drive.xplat.driveway.fieldmask.FieldNode",0];var AY,Rpa=function(){Rpa=function(){};AY=HB(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(Spa(hpa),W(227),
["abuse_is_appealable"]),W(228),["abuse_notice_reason"]),W(242),["access_requests_count"]),W(74),["action_item"]),W(120),["alternate_link"]),W(188),["ancestor_has_own_permissions"]),W(329),["applied_labels"]),W(184),["authorized_app_ids"]),W(241),["badged_label"]),W(1004),["contains_unsubscribed_children"]),W(9),["create_date_millis"]),W(43),["creator_app_id"]),W(187),["customer_id"]),W(26),["description"]),W(108),["detectors"]),W(302),["edit_source"]),W(318),["embed_link"]),W(28),["explicitly_trashed"]),
W(328),["externality_state"]),W(44),["file_extension"]),W(13),["file_size"]),W(48),["flagged_for_abuse"]),W(38),["folder_color"]),W(86),["folder_color_rgb"]),W(49),["folder_features"]),W(335),["gen_ai_capability_verdicts","folder_shelf_proactive_summary"]),W(336),["gen_ai_capability_verdicts","ai_mode_sources"]),W(334),["gen_ai_metadata"]),W(322),["gmail_message_storage_id"]),W(104),["has_apps_script_addon"]),W(330),["has_catch_me_up_content"]),W(39),["has_child_folder"]),W(87),["has_own_permissions"]),
W(62),["has_thumbnail"]),W(100),["has_visitor_permissions"]),W(72),["head_revision_id"]),W(21),["id"]),W(279),["inheritance_broken"]),W(12),["last_viewed_by_me_date_millis"]),W(3),["mime_type"]),W(11),["modified_by_me_date_millis"]),W(10),["modified_date_millis"]),W(95),["organization_display_name"]),W(58),["owned_by_me"]),W(103),["paired_doc_type"]),W(1),["parent"]),W(96),["passively_subscribed"]),W(75),["permission_summary"]),W(94),["primary_domain_name"]),W(45),["primary_sync_parent"]),W(32),["quota_bytes_used"]),
W(67),["recency_date_millis"]),W(68),["recency_date_reason"]),W(210),["resource_key"]),W(278),["restriction_callouts"]),W(355),["safe_html_description"]),W(24),["shared"]),W(25),["shared_with_me_date_millis"]),W(272),["smart_categories"]),W(56),["source_app_id"]),W(55),["spaces"]),W(35),["subscribed"]),W(83),["team_drive_id"]),W(150),["thumbnail_version"]),W(2),["title"]),W(98),["trashed_date_millis"]),W(27),["user_role"]),W(70),["version"]),W(333),["vids_import_compatibility_info"]),W(337),["workbook_details"]),
W(332),["workflow_creation_id"]),W(126),["workspace_id"]),W(5),["hidden"]),W(7),["restricted"]),W(4),["starred"]),W(6),["trashed"]),W(8),["viewed"]),W(124),["published"]),W(148),["approval_summaries"]),W(138),["approval_version"]),W(243),["has_incoming_approval"]),W(180),["creator","id"]),W(198),["creator","email_from_account"]),W(183),["creator","email"]),W(252),["creator","focus_user_id"]),W(282),["creator","is_me"]),W(285),["creator","type"]),W(338),["creator_agent","agent_id"]),W(339),["creator_agent",
"name"]),W(340),["creator_agent","photo_url"]),W(350),["creator_agent","state"]),W(168),["last_modifying_user","id"]),W(196),["last_modifying_user","email_from_account"]),W(179),["last_modifying_user","email"]),W(248),["last_modifying_user","focus_user_id"]),W(280),["last_modifying_user","is_me"]),W(287),["last_modifying_user","type"]),W(341),["last_modifying_agent","agent_id"]),W(342),["last_modifying_agent","name"]),W(343),["last_modifying_agent","photo_url"]),W(351),["last_modifying_agent","state"]),
W(164),["owner","id"]),W(195),["owner","email_from_account"]),W(167),["owner","email"]),W(244),["owner","focus_user_id"]),W(284),["owner","is_me"]),W(286),["owner","type"]),W(175),["trashing_user","id"]),W(199),["trashing_user","email_from_account"]),W(178),["trashing_user","email"]),W(254),["trashing_user","focus_user_id"]),W(283),["trashing_user","is_me"]),W(289),["trashing_user","type"]),W(171),["sharing_user","id"]),W(197),["sharing_user","email_from_account"]),W(174),["sharing_user","email"]),
W(250),["sharing_user","focus_user_id"]),W(281),["sharing_user","is_me"]),W(288),["sharing_user","type"]),W(344),["sharing_agent","agent_id"]),W(345),["sharing_agent","name"]),W(346),["sharing_agent","photo_url"]),W(352),["sharing_agent","state"]),W(347),["modified_by_me_agent","agent_id"]),W(348),["modified_by_me_agent","name"]),W(349),["modified_by_me_agent","photo_url"]),W(353),["modified_by_me_agent","state"]),W(76),["capabilities","can_add_children"]),W(223),["capabilities","can_add_encrypted_children"]),
W(208),["capabilities","can_add_folder_from_another_drive"]),W(185),["capabilities","can_add_my_drive_parent"]),W(224),["capabilities","can_block_owner"]),W(213),["capabilities","can_change_security_update_enabled"]),W(61),["capabilities","can_comment"]),W(240),["capabilities","can_copy_encrypted_file"]),W(258),["capabilities","can_copy_non_authoritative"]),W(216),["capabilities","can_create_decrypted_copy"]),W(217),["capabilities","can_create_encrypted_copy"]),W(77),["capabilities","can_delete"]),
W(134),["capabilities","can_delete_children"]),W(327),["capabilities","can_discover_by_search"]),W(259),["capabilities","can_download_non_authoritative"]),W(147),["capabilities","can_edit_category_metadata"]),W(300),["capabilities","can_initiate_esignature"]),W(89),["capabilities","can_list_children"]),W(81),["capabilities","can_manage_members"]),W(82),["capabilities","can_manage_visitors"]),W(114),["capabilities","can_modify_content_restriction"]),W(133),["capabilities","can_move_children_out_of_team_drive"]),
W(202),["capabilities","can_move_children_within_drive"]),W(101),["capabilities","can_move_item_into_team_drive"]),W(201),["capabilities","can_move_item_out_of_drive"]),W(131),["capabilities","can_move_item_out_of_team_drive"]),W(200),["capabilities","can_move_item_within_drive"]),W(130),["capabilities","can_move_item_within_team_drive"]),W(93),["capabilities","can_move_team_drive_item"]),W(191),["capabilities","can_read"]),W(146),["capabilities","can_read_category_metadata"]),W(90),["capabilities",
"can_read_team_drive"]),W(78),["capabilities","can_remove_children"]),W(186),["capabilities","can_remove_my_drive_parent"]),W(85),["capabilities","can_rename"]),W(276),["capabilities","can_report_not_spam"]),W(236),["capabilities","can_report_spam_or_abuse"]),W(137),["capabilities","can_request_approval"]),W(209),["capabilities","can_set_missing_required_fields"]),W(79),["capabilities","can_share"]),W(189),["capabilities","can_share_child_files"]),W(190),["capabilities","can_share_child_folders"]),
W(80),["capabilities","can_trash"]),W(135),["capabilities","can_trash_children"]),W(102),["capabilities","can_untrash"]),W(34),["capabilities","can_copy"]),W(41),["capabilities","can_download"]),W(59),["capabilities","can_edit"]),W(323),["capabilities","can_view_restriction_visualization"]),W(256),["content_restrictions","read_only"]),W(257),["content_restrictions","reason"]),W(193),["client_encryption_details","encryption_state"]),W(291),["client_encryption_details","decryption_metadata","aes_256_gcm_chunk_size"]),
W(292),["client_encryption_details","decryption_metadata","resource_key_hash"]),W(293),["client_encryption_details","decryption_metadata","jwt"]),W(294),["client_encryption_details","decryption_metadata","kacls_id"]),W(295),["client_encryption_details","decryption_metadata","kacls_name"]),W(296),["client_encryption_details","decryption_metadata","key_format"]),W(297),["client_encryption_details","decryption_metadata","wrapped_key"]),W(301),["client_encryption_details","decryption_metadata","guest_idp"]),
W(29),["image","date_millis"]),W(31),["image","height"]),W(92),["image","rotation"]),W(30),["image","width"]),W(192),["shortcut_details","can_request_access_to_target"]),W(159),["shortcut_details","target_item"]),W(154),["shortcut_details","target_id"]),W(158),["shortcut_details","target_lookup_status"]),W(155),["shortcut_details","target_mime_type"]),W(234),["spam_metadata","in_spam_view"]),W(233),["spam_metadata","marked_as_spam_date_millis"]),W(274),["spam_metadata","is_spam"]),W(275),["spam_metadata",
"is_inherited_spam"]),W(277),["audio","duration_millis"]),W(107),["video","duration_millis"]),W(106),["video","height"]),W(105),["video","width"]),W(303),["video","transcode_status"]),W(260),["item_location","parent","folder_color"]),W(270),["item_location","parent","drive_id"]),W(261),["item_location","parent","has_augmented_permissions"]),W(269),["item_location","parent","icon_url"]),W(264),["item_location","parent","id"]),W(268),["item_location","parent","mime_type"]),W(267),["item_location","parent",
"resource_key"]),W(262),["item_location","parent","shared"]),W(265),["item_location","parent","title"]),W(263),["item_location","parent","trashed"]),W(271),["item_location","parent","trusted_drive"]),W(266),["item_location","parent","version"]),W(324),["template_data","description"]),W(325),["template_data","category"]),W(326),["template_data","gallery_state"]))};var BY=function(){};V(BY,EL);BY.prototype.P=["com.google.gwt.corp.collections.ImmutableJsMap$Builder",0];var CY=function(){},Tpa=function(a){return a!=null&&!!a.Ei};CY.prototype.mf=!0;CY.prototype.Ei=!0;CY.prototype.P=["com.google.gwt.corp.collections.ImmutableJsMapBuilder$InternalMutableJsMap",1];var DY=function(){this.h=!1};V(DY,VX);l=DY.prototype;l.nm=function(){this.h=!0};l.se=function(a,b){if(this.h)throw gM().sa;VX.prototype.se.call(this,a,b)};l.mf=!0;l.Ei=!0;l.P=["com.google.gwt.corp.collections.ImmutableJsMapBuilder$ImmutableJsMapWithHashFunction",0];var EY=function(){this.h=!1};V(EY,XX);l=EY.prototype;l.nm=function(){this.h=!0};l.Pj=function(a,b){if(this.h)throw gM().sa;XX.prototype.Pj.call(this,a,b)};l.mf=!0;l.Ei=!0;l.P=["com.google.gwt.corp.collections.ImmutableJsMapBuilder$ImmutableStringJsMap",0];var FY=function(){};V(FY,BY);var Upa=function(a){var b=new FY;b.g=a;return b},HB=function(a){var b=a.g;if(b==null)throw EM("instance").sa;b=yB(b,Tpa,CY);b.nm();a.g=null;return b},X=function(a,b,c){a.g.se(b,c);return a};FY.prototype.P=["com.google.gwt.corp.collections.ImmutableJsMapBuilder",0];var uB=function(){GY();var a=new EY;a.g=Object.create(null);return Upa(a)},Spa=function(a){GY();var b=new DY;b.g=YX();b.j=a;return Upa(b)},GY=function(){GY=function(){};HB(Spa(function(){return""}))};var Wpa=function(a,b){var c=new fr;a=dr(a);b=dr(b);a.length>0&&gr(c,new cr("partial_items",a));b.length>0&&gr(c,new cr("full_items",b));gr(c,xu("remove_item_ids"));gr(c,xu("continuation_token"));gr(c,new cr("search_response_metadata",[xu("moonshine_item_ids"),Vpa()]));return c.toString()},qea=function(a){var b=new fr,c=xu("responses");er(c,new cr("status",[xu("code"),xu("message"),xu("details")]));a=dr(a);a.length>0&&er(c,new cr("item",a));gr(b,c);return b.toString()},kea=function(a){return gr(new fr,
new cr("create_item_response",[xu("request_id"),Xpa(a)])).toString()},Fha=function(a){return gr(new fr,new cr("update_item_response",[xu("id"),Xpa(a)])).toString()},Xpa=function(a){return new cr("item_result_status",[xu("status"),xu("additional_status_info"),new cr("item",dr(a))])},dr=function(a){var b=new fr;for(let c=a,d=0;d<c.length;d++)a=c[d],Rpa(),a=AY.contains(W(a))?yB(zB(yB(AY.get(W(a)),FB,GB)),FB,GB):(FX(),EX),Opa(b,a,0);return $X(yB(b.g,KX,LX))},Vpa=function(){return new cr("query_suggestions",
[xu("spell_response"),xu("nlp_response")])};var IB,rB=function(){rB=function(){};IB=HB(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(uB(),"archive",1),"audio",2),"document",3),"drawing",4),"earth",19),"folder",5),"form",6),"conversation",25),"gem",22),"image",7),"jam",17),"mail-layout",20),"map",15),"markdown",26),"pdf",9),"pic",24),"presentation",10),"script",11),"shortcut",18),"site",16),"spreadsheet",12),"table",13),"video",14),"vids",21),"project",23))};var vB,EB,tB,Ypa="application/msword application/vnd.ms-word application/vnd.ms-word.document.macroenabled.12 application/vnd.ms-word.template.macroenabled.12 application/vnd.openxmlformats-officedocument.wordprocessingml.document application/vnd.openxmlformats-officedocument.wordprocessingml.template".split(" "),Zpa=["application/vnd.google-apps.document","application/vnd.google-apps.kix","application/vnd.google-gsuite.document-blob"],$pa=["application/vnd.google-apps.drive-sdk.770102487694","application/vnd.google-apps.earth"],
aqa=["application/vnd.google-apps.jam"],bqa=["application/vnd.google-apps.drive-sdk.796396377186","application/vnd.google-apps.map"],cqa=["application/vnd.google-apps.fusiontable","application/vnd.google-apps.table"],dqa=["application/vnd.google-apps.script"],eqa="application/mspowerpoint application/vnd.ms-powerpoint application/vnd.ms-powerpoint.addin.macroenabled.12 application/vnd.ms-powerpoint.template.macroenabled.12 application/vnd.ms-powerpoint.slideshow.macroenabled.12 application/vnd.ms-powerpoint.presentation.macroenabled.12 application/vnd.openxmlformats-officedocument.presentationml.presentation application/vnd.openxmlformats-officedocument.presentationml.template application/vnd.openxmlformats-officedocument.presentationml.slide application/vnd.openxmlformats-officedocument.presentationml.slideshow".split(" "),
fqa=["application/vnd.google-apps.presentation","application/vnd.google-apps.punch","application/vnd.google-gsuite.presentation-blob"],gqa=["application/vnd.google-apps.pix","application/vnd.google-apps.pic"],hqa=["application/vnd.google-apps.flix","application/vnd.google-apps.scenes","application/vnd.google-apps.vid"],iqa=["application/vnd.google-apps.form","application/vnd.google-apps.freebird"],jqa=["application/vnd.google-apps.drawing"],kqa="application/photoshop application/psd image/photoshop image/vnd.adobe.photoshop image/x-photoshop image/psd".split(" "),
lqa=["application/illustrator"],mqa="application/msexcel application/vnd.ms-excel application/vnd.ms-excel.addin.macroenabled.12 application/vnd.ms-excel.template.macroenabled.12 application/vnd.ms-excel.sheet.macroenabled.12 application/vnd.ms-excel.sheet.macroEnabled.12 application/vnd.ms-excel.sheet.binary.macroenabled.12 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet application/vnd.openxmlformats-officedocument.spreadsheetml.template".split(" "),nqa=["application/vnd.google-apps.spreadsheet",
"application/vnd.google-apps.ritz","application/vnd.google-gsuite.spreadsheet-blob"],oqa=["application/google-sites-page","application/vnd.google-apps.site","application/vnd.google-apps.drive-sdk.897606708560","application/vnd.google-apps.drive-sdk.803534686002","application/vnd.google-apps.drive-sdk.107985930432"],xB,pqa=["text/markdown","text/x-markdown","text/x-web-markdown"],qqa=function(){var a=YX();EB.forEach(function(f,g){yB(f,AB,BB);f=yB(g,FB,GB);for(let h=f,k=0;k<h.length;k++)f=h[k],g=wka(f),
g>0&&(g=cO(f,0,g),yB(a.Qk(g,new bN(function(m){yB(m,AB,BB);return YX()})),QX,RX).se(f,!0))});var b=function(f,g){f=yB(f,AB,BB);g=yB(g,AB,BB);f=IM(f);g=IM(g);return f==g?0:f<g?-1:1},c=a.yh();kpa(c,b);var d=uB();for(let f=c,g=0;g<f.length;g++){c=f[g];var e=yB(a.get(c),QX,RX);if(!e)continue;e=e.yh();kpa(e,b);X(d,c,$X(yB(e,KX,LX)))}HB(d)},sB=function(){sB=function(){};tB=null;vB=NX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(IX(),"archive"),"audio"),"document"),"drawing"),
"earth"),"folder"),"form"),"conversation"),"gem"),"image"),"jam"),"mail-layout"),"map"),"markdown"),"pdf"),"pic"),"presentation"),"script"),"shortcut"),"site"),"spreadsheet"),"table"),"video"),"vids"),"project"));xB=HB(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(uB(),"doc","document"),"docs","document"),"documents","document"),"email-layout","mail-layout"),"email-layouts","mail-layout"),"folders","folder"),"forms","form"),"gemini-artifact","conversation"),"gemini-conversation",
"conversation"),"gemini-gem","gem"),"gemini-gems","gem"),"gems","gem"),"images","image"),"mail-layouts","mail-layout"),"map","map"),"maps","map"),"markdown","markdown"),"md","markdown"),"pdfs","pdf"),"photo","image"),"photos","image"),"picture","image"),"presentations","presentation"),"project","project"),"projects","project"),"sheet","spreadsheet"),"sheets","spreadsheet"),"slide","presentation"),"slides","presentation"),"spreadsheets","spreadsheet"),"textdoc","document"),"vid","vids"),"workbook",
"project"),"workbooks","project"));EB=HB(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(X(uB(),"archive","application/bzip2 application/gzip application/gzip-compressed application/gzipped application/rar application/tar application/x-bzip application/x-bzip-compressed-tar application/x-bzip2 application/x-compress application/x-compressed application/x-gtar application/x-gtar-compressed application/x-gunzip application/x-gzip application/x-gzip-compressed application/x-rar application/x-tar application/x-tgz application/x-zip application/x-zip-compressed application/x-7z-compressed application/zip gzip/document multipart/x-gzip multipart/x-rar multipart/x-tar multipart/x-zip multipart/zip".split(" ")),
"audio","application/ogg audio/3gp audio/flac audio/midi audio/mp4a-latm audio/mpeg audio/mpeg3 audio/ogg audio/wav audio/x-matroska audio/x-ms-wma audio/x-wav".split(" ")),"document",NX(JX(JX(MX(MX(MX(IX(),Ypa),Zpa),pqa),"text/plain"),"application/vnd.oasis.opendocument.text"))),"drawing",NX(MX(MX(MX(JX(IX(),"application/vnd.oasis.opendocument.graphics"),lqa),kqa),jqa))),"earth",$pa),"folder",["application/vnd.google-apps.folder"]),"form",iqa),"gem",["application/vnd.google-gemini.gem"]),"conversation",
["application/vnd.google-gemini.conversation"]),"image",NX(MX(MX(MX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(JX(IX(),"image/bmp"),"image/jpeg"),"image/png"),"image/gif"),"image/tiff"),"image/x-ms-bmp"),"image/svg+xml"),"image/vnd.microsoft.icon"),"image/heif"),"image/heic"),"image/webp"),kqa),lqa),gqa))),"jam",aqa),"mail-layout",["application/vnd.google-apps.mail-layout"]),"map",bqa),"markdown",pqa),"pdf",["application/pdf"]),"pic",gqa),"presentation",NX(JX(MX(MX(IX(),eqa),fqa),"application/vnd.oasis.opendocument.presentation"))),
"script",dqa),"shortcut",["application/vnd.google-apps.shortcut"]),"site",oqa),"spreadsheet",NX(JX(JX(MX(MX(IX(),mqa),nqa),"application/vnd.oasis.opendocument.spreadsheet"),"text/csv"))),"table",cqa),"video","application/vnd.google-apps.flix application/vnd.google-apps.scenes application/vnd.google-apps.vid application/x-shockwave-flash video/3gpp video/avi video/dv video/flv video/mkv video/matroska video/mp2p video/mp2t video/mp4 video/mpeg video/mpv video/ogg video/quicktime video/webm video/x-dv video/x-flv video/x-m4v video/x-matroska video/x-ms-asf video/x-ms-wmv video/x-msvideo".split(" ")),
"vids",hqa),"project",["application/vnd.google-apps.project"]));qqa()};var KB=function(){},JB=function(a){return"number"===typeof a};KB.prototype.P=["jspb$e.docs$diagnostics$impressions$impressiondetails$drive$DriveDocumentType",0];var rqa=function(){};rqa.prototype.h=function(a,b){if(!n.fetch)throw Error("Na");n.fetch(a,{mode:"no-cors"}).then(function(){b&&b(!0)},function(){b&&b(!1)})};var HY=function(){Yg.call(this);this.g=null};V(HY,Yg);HY.prototype.h=function(a,b){var c=this;this.isDisposed()||(IY(this),this.g=new Image,this.g.onload=function(){b&&b(!0);IY(c)},this.g.onerror=function(){b&&b(!1);IY(c)},this.g.src=a)};var IY=function(a){if(a.g)try{a.g.onload=null,a.g.onerror=null,a.g=null}catch(b){}};HY.prototype.ya=function(){IY(this)};yD(pk,Yg);l=pk.prototype;l.ig=0;l.ya=function(){pk.Fb.ya.call(this);this.stop();delete this.g;delete this.h};l.start=function(a){this.stop();this.ig=Bj(this.j,a!==void 0?a:this.A)};l.stop=function(){this.isActive()&&n.clearTimeout(this.ig);this.ig=0};l.isActive=function(){return this.ig!=0};l.Dn=function(){this.ig=0;this.g&&this.g.call(this.h)};var JY=function(){Yg.call(this);this.delay=null};V(JY,Yg);JY.prototype.ri=function(a,b){Wg(this.delay);this.delay=new pk(a,b);this.delay.start()};JY.prototype.ya=function(){Wg(this.delay)};yD(qk,oh);qk.prototype.h=function(){return navigator.onLine};qk.prototype.j=function(){this.dispatchEvent(this.h()?"online":"offline")};qk.prototype.ya=function(){qk.Fb.ya.call(this);this.g.dispose();this.g=null};var MY=function(a,b,c,d,e,f){oh.call(this);var g=this;this.D=new bi(this);this.Ea=a;this.g=new pk(function(){g.g.stop();KY(g,!1)},1E4);this.pa=c||12E4;this.B=f||new qk;this.j=b;this.ha=Date.now();this.H=d||new JY;this.V=e||new HY;this.D.listen(this.B,"online",this.K).listen(this.B,"offline",this.K);this.F=HW();LY(this,!0,!0)};V(MY,oh);var KY=function(a,b){a.F.resolve();b!=a.j?(a.j=b,a.dispatchEvent(b?"e":"f"),b=!0):b=!1;LY(a,b)};MY.prototype.h=function(){return this.j};
var LY=function(a,b,c){var d=Date.now(),e=a.j?25E3:1E4;if(b||!a.j)b=c?0:e,a.ha=d-b;else{b=e;c=a.ha+e;let f=1;for(;c<d&&b<a.pa;)b=Math.min(a.pa,e*Math.pow(1.2,f++)),c+=b}a.H.ri(nj(a.wa,a),b)};MY.prototype.wa=function(){LY(this);sqa(this)};MY.prototype.K=function(){LY(this,!0,!0)};var sqa=function(a){a.g.stop();a.g.start();a.V.h(rba(a.Ea),function(b){a.g.stop();KY(a,b)})};MY.prototype.ya=function(){this.g.stop();Xg(this.H,this.g,this.B,this.D,this.V);oh.prototype.ya.call(this)};var Ck,Ek,Dk;var WC=function(a,b){var c=c||[];this.j=a;this.h=b||null;this.g=[];this.g=this.g.concat(c)};WC.prototype.toString=function(){return this.j};var NY=function(a,b,c,d,e,f){Yg.call(this);var g=this;this.B=new uY;this.A=new uY;this.j=new eY;this.D=new bi(this);c=c!==void 0?c:Hpa();this.g=f||new MY(a,!c,b,d,e);this.g.F.promise.then(function(){g.j.callback(null)},function(h){var k=g.j,m=k.La;if(h==null)h=new RL,SL(h),UL(h,Error(h));else if($L(h))h=yB(h,$L,RL);else if(Xoa(h))h=yB(h,Xoa,Woa),h=ZL(h);else throw CB("Unsupported type cannot be used to create a Throwable.").sa;m.call(k,h)});this.D.listen(this.g,"e",function(){return g.B.dispatchEvent(null)}).listen(this.g,
"f",function(){return g.A.dispatchEvent(null)})};V(NY,Yg);NY.prototype.h=function(){return this.g.h()};var uqa=function(a){$g.call(this,a);this.connectionState=tqa.get(a)};V(uqa,$g);var OY={Gd:"g",Ui:"h",ce:"i",qc:"j"},tqa=new Map([[OY.Gd,1],[OY.Ui,2],[OY.ce,2],[OY.qc,3]]);var PY=function(a){this.rg=a};PY.prototype.Ol=function(){return this.rg};PY.prototype.ti=function(a){this.rg=a};PY.prototype.cn=function(a){return a};var vqa=function(a){var b=new PY(a);return Object.assign(function(){return b.rg.apply(b,r(ac.apply(0,arguments)))},{Ol:b.Ol.bind(b),ti:b.ti.bind(b),cn:b.cn.bind(b),execute:b.rg.execute.bind(b),instance:b.rg.instance})};var QY=function(){},RY=function(a){return Object.assign(function(){return a.execute.apply(a,r(ac.apply(0,arguments)))},{execute:a.execute.bind(a),instance:a})};var gca=Sb(function(a){if(a==null||typeof a!=="object")return!1;a=Object.getPrototypeOf(a);return a===Object.prototype||a===null});var py=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var SY=function(a){this.Z=new py;this.promise=Kk(this.Z.promise,2E4,a)};SY.prototype.resolve=function(a){this.Z.resolve(a)};SY.prototype.reject=function(a){this.Z.reject(a)};var wqa=function(){this.h=[];this.g=!1},yqa=function(a,b){return new Promise(function(c,d){a.h.push(function(){return b.then(c).catch(d)});a.g||(a.g=!0,xqa(a))})},xqa=function(a){var b=a.h.shift();b==null?a.g=!1:b().then(function(){return new Promise(function(c){setTimeout(function(){c()},0)})}).then(function(){return void xqa(a)})};var TY=function(a,b,c,d){this.request=a;this.response=b;this.la=c===void 0?0:c;this.Ya=d===void 0?!1:d};var UY=function(a,b){$g.call(this,a);this.data=b};V(UY,$g);UY.prototype.X=function(){return this.data.request};UY.prototype.Sa=function(){return this.data.response};UY.prototype.ra=function(){return this.data.la};var zqa=Symbol("Ra"),Lk=function(a){var b=Error.call(this,a.message);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.g=a;this[zqa]=!0};V(Lk,Error);var fn=function(a,b,c){var d=aa.call;var e=ao(a,b,c);var f=D(e,21)||"",g=[];F(e,28)&&g.push("(mapped from RPC code)");for(var h=q(Object.entries(Aqa)),k=h.next();!k.done;k=h.next()){var m=q(k.value);k=m.next().value;var p=m.next().value;let t=p.dc;m=p.Ff;p=p.jc.call(e)?t.call(e):void 0;p!==void 0&&(m&&(m=m[p],p=m===void 0?"<unknown value: "+String(p)+">":m),g.push(k+": "+String(p)))}(h=D(e,4))&&g.push("\n"+h);f=io(f,g.join("\n"));e=f.length===0?"DsError type:"+e.F()+(" cause:"+e.h()+" with empty message"):
f;d.call(aa,this,e);this.name="ReportableError";this.na=ao(a,b,c);this.j=c||null;this.h=a||"";(a=D(this.na,20))?this.stack=a:E(this.na,20,this.stack);N(this.na,17)&&(this.g=!1);this.na.D()&&(lb(this,"driveClientErrorReason",Bqa[am(this.na,14)]||String(am(this.na,14))),a=am(this.na,14),a>=200&&a<=229&&lb(this,"driveIsIdpError","true"),a>=230&&a<=259&&lb(this,"driveIsKaclsError","true"));this.na.Sh()&&lb(this,"driveServerErrorReason",Cqa[am(this.na,10)]||String(am(this.na,10)))};V(fn,aa);
var Es=function(a,b,c){var d=new Rn,e=xs(a);wL(uL(K(d,26,e)),Dqa[e]);x(a,2).length>0&&Ct(d,x(a,2));for(var f=q(z(a,gH,3,B())),g=f.next();!g.done;g=f.next()){var h=g.value;if(x(h,1)==="type.googleapis.com/google.rpc.DebugInfo"){g=[];if(h=Eg(h,nV,"google.rpc.DebugInfo"))if(x(h,2)&&g.push(x(h,2)),h=U(h,1,B()).join("\n"))g.push(h),E(d,20,h);Jq(d,g.join("\n"))}else x(h,1)==="type.googleapis.com/google.rpc.ErrorInfo"&&(g=Eg(h,oV,"google.rpc.ErrorInfo"))&&(g=Eqa[jca(x(g,1))?Nk(x(g,1)):x(g,1)])&&vL(d,g)}if(!d.Sh()){let k;
nka(vL(d,(k=Fqa[e])!=null?k:2))}c&&Vn(d,Gqa[c]);b=new fn(b!=null?b:"",d);lb(b,"dfsDetails",z(a,gH,3,B()).map(function(k){return k.ca()}).join(","));return b},ao=function(a,b,c){var d=b?b.clone():new Rn;a&&!R(d,21)&&ur(d,a);b||(tL(d),c&&(c.message&&Ct(d,c.message),c.stack&&E(d,20,c.stack),Jq(d,"Original error: "+c+(c.stack?"\nOriginal error stack: "+c.stack.replace(/\n/g,"\n>"):""))));if(a=D(d,4))a=a.replace(/\\n\\tat/g,"\n  at"),a=a.replace(/\\n/g,"\n"),Jq(d,a);return d},io=function(a,b){b&&(a.length&&
(a+="\n"),a+=b);return a},vca=function(a){return a&&Object.keys(a).length?"Response.headers: "+Object.entries(a).map(function(b){var c=q(b);b=c.next().value;c=c.next().value;return b+": "+c}).join("\n"):"Response.headers: No headers for response."},VY={},Hqa=(VY[1]="LOAD",VY[3]="LOAD_FATAL",VY[2]="RUNTIME",VY[0]="UNKNOWN_TYPE",VY),WY={},Fqa=(WY[0]=0,WY[2]=1,WY[3]=11,WY[4]=31,WY[5]=4,WY[6]=8,WY[7]=69,WY[16]=15,WY[9]=71,WY[13]=3,WY[14]=9,WY),XY={},Gqa=(XY[0]=0,XY[1]=99,XY),YY={},Iqa=(YY[31]="ACCOUNT_MANAGER_INITIAL_REFRESH_FAILURE",
YY[32]="ACCOUNT_MANAGER_REFRESH_FAILURE",YY[2]="AUTHORIZATION",YY[7]="BAD_REQUEST",YY[33]="CHANGE_MANAGER_LARGEST_CHANGE_ID_REQUEST_FAILURE",YY[9]="CONFLICT",YY[21]="CORPUS_CACHE_COLD_START_LOAD_FAILURE",YY[22]="CORPUS_CACHE_RUN_FAILURE",YY[23]="CORPUS_CACHE_SDK_RUN_FAILURE",YY[24]="CORPUS_CACHE_UPDATE_FAILURE",YY[34]="FILE_DOWNLOADER_CACHE_FETCH_FAILURE",YY[35]="FILE_DOWNLOADER_FETCH_FAILURE",YY[93]="INITIAL_VIEW_POPULATOR_FAILURE",YY[17]="INITIAL_VIEW_POPULATOR_INVALID_LAST_ITEM",YY[18]="INITIAL_VIEW_POPULATOR_MISSING_DUMPELLO",
YY[19]="INITIAL_VIEW_POPULATOR_MISSING_FIELDS",YY[20]="INITIAL_VIEW_POPULATOR_NATURAL_SORT_UNSUPPORTED",YY[16]="ITEM_CACHE_UPDATE_ERROR",YY[5]="NONEXISTENT",YY[36]="OPTIMISTIC_APPLIER_APPLY_CATEGORY_LINKS_UPDATE_FAILURE",YY[37]="OPTIMISTIC_APPLIER_DELETE_FAILURE",YY[38]="OPTIMISTIC_APPLIER_EMPTY_TRASH_FAILURE",YY[39]="OPTIMISTIC_APPLIER_METADATA_UPDATE_FAILURE",YY[40]="OPTIMISTIC_APPLIER_PROPAGATE_ITEM_UPDATE_FAILURE",YY[4]="PERMISSION",YY[41]="PERMISSION_QUERY_RUNNER_FETCH_FAILURE",YY[26]="PREFETCH_ACCOUNT_AND_USER_SETTINGS_DISABLED",
YY[27]="PREFETCH_HOMEPAGE_ACTIVITY_DISABLED",YY[91]="PREFETCH_HOMEPAGE_SUGGESTED_FILES_DISABLED",YY[28]="PREFETCH_RUN_FAILURE",YY[29]="PREFETCH_UNSUPPORTED_REQUEST",YY[30]="PROXY_SERVICE_SEND_FAILURE",YY[42]="PROXY_SERVICE_SERIALIZE_FAILURE",YY[12]="REQUEST_BUILD_ERROR",YY[11]="RESPONSE_PARSE_ERROR",YY[10]="RESPONSE_TOO_LARGE",YY[43]="RESUMABLE_UPLOAD_CHUNK_FAILURE",YY[92]="ROOT_ITEM_LOAD_FAILURE",YY[8]="SERVER_ERROR",YY[44]="SIMPLE_QUERY_RUNNER_FETCH_FAILURE",YY[45]="TEAM_DRIVE_QUERY_RUNNER_FETCH_FAILURE",
YY[46]="TEAM_DRIVE_STATS_FAILURE",YY[1]="UNAVAILABLE_OFFLINE",YY[0]="UNKNOWN_CAUSE",YY[3]="UNSUPPORTED",YY[99]="USER_LOST_ACCESS",YY[13]="USER_QUOTA_EXCEEDED",YY[14]="USER_RATE_LIMIT_EXCEEDED",YY[47]="VALIDATOR_VALIDATE_FAILURE",YY[48]="VIEW_CACHE_CREATION_FAILURE",YY[49]="WORKER_CHANNEL_REGISTRATION_FAILURE",YY[50]="WORKER_DEBUG_UTIL_REQUEST_ROUTER_FAILURE",YY[51]="WORKER_DEBUG_UTIL_TRACE_REQUEST_FAILURE",YY[52]="WORKER_DEBUG_UTIL_UNSUPPORTED_TRACE_RESPONSE",YY[53]="WORKER_FILE_UPLOADER_NOT_FOUND",
YY[54]="WORKER_FILE_UPLOADER_RETRY_FAILURE",YY[55]="WORKER_ITEM_EXPORTER_EXPORT_FAILURE",YY[56]="WORKER_SERVICE_RUN_FAILURE",YY[94]="WORKER_SERVICE_UPDATE_FAILURE",YY[57]="WORKER_SYNCED_ITEM_SERVICE_BLOCK_PEOPLE_FAILURE",YY[58]="WORKER_SYNCED_ITEM_SERVICE_CHANGE_CATEGORY_LINKS_FAILURE",YY[59]="WORKER_SYNCED_ITEM_SERVICE_CHECK_CONNECTION_FAILURE",YY[60]="WORKER_SYNCED_ITEM_SERVICE_CREATE_USER_FEEDBACK_FAILURE",YY[61]="WORKER_SYNCED_ITEM_SERVICE_DELETE_APP_FAILURE",YY[63]="WORKER_SYNCED_ITEM_SERVICE_DELETE_PERMISSION_FAILURE",
YY[64]="WORKER_SYNCED_ITEM_SERVICE_GENERATE_PREFLIGHT_REPORT_FAILURE",YY[65]="WORKER_SYNCED_ITEM_SERVICE_GET_APPS_FAILURE",YY[66]="WORKER_SYNCED_ITEM_SERVICE_GET_APP_FAILURE",YY[67]="WORKER_SYNCED_ITEM_SERVICE_GET_PUBLISHED_CATEGORY_FAILURE",YY[68]="WORKER_SYNCED_ITEM_SERVICE_GET_REVISIONS_FAILURE",YY[95]="WORKER_SYNCED_ITEM_SERVICE_GET_REWIND_ACTIVITY_DETAILS",YY[96]="WORKER_SYNCED_ITEM_SERVICE_GET_REWIND_SUMMARY",YY[69]="WORKER_SYNCED_ITEM_SERVICE_GET_USER_ACCOUNT_FAILURE",YY[70]="WORKER_SYNCED_ITEM_SERVICE_GET_USER_PREFS_FAILURE",
YY[71]="WORKER_SYNCED_ITEM_SERVICE_INSERT_PERMISSION_FAILURE",YY[72]="WORKER_SYNCED_ITEM_SERVICE_INSTALL_APP_FAILURE",YY[73]="WORKER_SYNCED_ITEM_SERVICE_LIST_ACTIVITIES_FAILURE",YY[76]="WORKER_SYNCED_ITEM_SERVICE_LIST_PERMISSIONS_FAILURE",YY[77]="WORKER_SYNCED_ITEM_SERVICE_LIST_PUBLISHED_CATEGORIES_FAILURE",YY[78]="WORKER_SYNCED_ITEM_SERVICE_LIST_SUGGESTED_WORKSPACE_ITEMS_FAILURE",YY[79]="WORKER_SYNCED_ITEM_SERVICE_LIST_SUGGESTED_WORKSPACS_FAILURE",YY[80]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_FAILURE",
YY[81]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_PREFS_FAILURE",YY[82]="WORKER_SYNCED_ITEM_SERVICE_MUTATE_WORKSPACE_FAILURE",YY[83]="WORKER_SYNCED_ITEM_SERVICE_NOTIFY_USER_ACTIVITY_FAILURE",YY[84]="WORKER_SYNCED_ITEM_SERVICE_PASSTHROUGH_REQUEST_FAILURE",YY[97]="WORKER_SYNCED_ITEM_SERVICE_REWIND",YY[98]="WORKER_SYNCED_ITEM_SERVICE_REWIND_PREFLIGHT",YY[85]="WORKER_SYNCED_ITEM_SERVICE_SET_OFFLINE_OPT_IN_FAILURE",YY[86]="WORKER_SYNCED_ITEM_SERVICE_SYNC_FAILURE",YY[87]="WORKER_SYNCED_ITEM_SERVICE_UPDATE_APP_FAILURE",
YY[88]="WORKER_SYNCED_ITEM_SERVICE_UPDATE_CATEGORY_METADATA_FAILURE",YY[89]="WORKER_TEAM_DRIVE_MOVE_PRE_FLIGHT_RUNNER_CREATE_SERVICE_MAP_FAILURE",YY[15]="XHR_ERROR",YY),ZY={},Cqa=(ZY[72]="ACTIVE_ITEM_CREATION_LIMIT_EXCEEDED",ZY[15]="SERVER_AUTH_ERROR",ZY[69]="PERMISSION_DENIED",ZY[64]="APPLIED_CATEGORY_LIMIT_EXCEEDED",ZY[9]="BACKEND_ERROR",ZY[14]="BAD_CONTENT",ZY[11]="BAD_REQUEST",ZY[63]="CANNOT_ADD_PARENT",ZY[45]="CANNOT_MOVE_TRASHED_ITEM_INTO_TEAM_DRIVE",ZY[8]="CONFLICT",ZY[75]="CONTEXT_RESTRICTION",
ZY[16]="CONVERSION_INPUT_CORRUPT",ZY[18]="CONVERSION_INPUT_TOO_LARGE",ZY[30]="CONVERSION_INPUT_TYPE_UNSUPPORTED",ZY[76]="CONVERSION_INVALID",ZY[20]="CONVERSION_INVALID_LANGUAGE",ZY[19]="CONVERSION_INVALID_REQUEST",ZY[29]="CONVERSION_LANGUAGE_UNSUPPORTED",ZY[17]="CONVERSION_MIMETYPE_MISMATCH",ZY[22]="CONVERSION_OUTPUT_TOO_LARGE",ZY[28]="CONVERSION_OUTPUT_TYPE_UNSUPPORTED",ZY[21]="CONVERSION_PASSWORD_PROTECTED",ZY[24]="CONVERSION_TIMEOUT",ZY[25]="CONVERSION_TOO_MANY_CHARTS",ZY[26]="CONVERSION_TOO_MANY_DRAWINGS",
ZY[27]="CONVERSION_TOO_MANY_IMAGES",ZY[23]="CONVERSION_USER_RATE_QUOTA_EXCEEDED",ZY[31]="DEADLINE_EXCEEDED",ZY[0]="DEFAULT_REASON",ZY[66]="EXPIRED_MOVE_VALIDATION_TOKEN",ZY[71]="FAILED_PRECONDITION",ZY[42]="FILE_OWNER_NOT_MEMBER_OF_TEAM_DRIVE",ZY[43]="FILE_OWNER_NOT_MEMBER_OF_TEAM_DRIVE_DOMAIN",ZY[47]="FILE_OWNER_NOT_MEMBER_OF_WRITER_DOMAIN",ZY[46]="FILE_WRITER_TEAM_DRIVE_MOVE_IN_DISABLED",ZY[10]="FORBIDDEN",ZY[3]="INTERNAL_SERVER_ERROR",ZY[12]="INVALID",ZY[32]="LOGIN_REQUIRED",ZY[60]="MIME_TYPE_LENGTH_LIMIT_EXCEEDED",
ZY[33]="MISSING_AUTH_COOKIE",ZY[1]="MISSING_REASON",ZY[73]="MY_DRIVE_FOLDER_DEPTH_LIMIT_EXCEEDED",ZY[56]="NUM_CHILDREN_LIMIT_EXCEEDED",ZY[61]="ONLY_CRITICAL_WRITES_ALLOWED",ZY[74]="QUERY_TOO_EXPENSIVE",ZY[4]="RESOURCE_NOT_FOUND",ZY[34]="RESPONSE_PREPARATION_FAILURE",ZY[5]="RESPONSE_TOO_LARGE",ZY[55]="RICH_CONTENT_LIMIT_EXCEEDED",ZY[68]="SHARED_DRIVE_INITIALIZATION_IN_PROGRESS",ZY[50]="SHARING_DLP_NO_SHARE_OUTSIDE_DOMAIN",ZY[57]="SHORTCUT_LIMIT_EXCEEDED",ZY[58]="SHORTCUT_PER_CREATOR_LIMIT_EXCEEDED",
ZY[67]="SIMULTANEOUS_PREFLIGHT_LIMIT_EXCEEDED",ZY[39]="TEAM_DRIVES_FILE_TYPE_NOT_SUPPORTED",ZY[36]="TEAM_DRIVES_FOLDER_MOVE_IN_NOT_SUPPORTED",ZY[37]="TEAM_DRIVES_FOLDER_MOVE_OUT_NOT_SUPPORTED",ZY[41]="TEAM_DRIVES_PARENT_LIMIT",ZY[38]="TEAM_DRIVES_SHORTCUT_FILE_NOT_SUPPORTED",ZY[52]="TEAM_DRIVE_CROSS_DOMAIN_MOVE_RESTRICTED",ZY[40]="TEAM_DRIVE_FILE_LIMIT_EXCEEDED",ZY[49]="TEAM_DRIVE_HIERARCHY_TOO_DEEP",ZY[48]="TEAM_DRIVE_MEMBERSHIP_REQUIRED",ZY[59]="TEAM_DRIVE_NAME_REQUIRED",ZY[44]="TEAM_DRIVE_NAME_TOO_LONG",
ZY[53]="TOO_MANY_FILES",ZY[65]="TOO_MANY_SOURCE_IDS_FOR_MOVE",ZY[54]="TOO_MANY_UNMOVABLE_FILES",ZY[13]="TRANSIENT",ZY[2]="UNRECOGNIZED_REASON",ZY[35]="UPLOAD_BROKEN_CONNECTION",ZY[51]="USER_CANNOT_CREATE_FILE_FOR_MIME_TYPE",ZY[70]="USER_CANNOT_CREATE_SHARED_DRIVE_UNDER_ORG_POLICY",ZY[6]="USER_QUOTA_EXCEEDED",ZY[7]="USER_RATE_LIMIT_EXCEEDED",ZY[62]="WRAPPED_KEY_EXCEEDED_LIMIT",ZY),$Y={},Jqa=($Y[1]="ACCOUNT",$Y[2]="APPS",$Y[6]="APPS_HAS_APP_DATA",$Y[3]="APPS_HAS_APP_DATA_AND_QUOTA",$Y[5]="ITEMS",$Y[4]=
"USER_PREFS",$Y),aZ={},Kqa=(aZ[0]="DEFAULT_UPLOAD_TYPE",aZ[2]="MULTIPART_BATCH",aZ[1]="NO_CONTENT_BATCH",aZ[3]="RESUMABLE",aZ),bZ={},Bqa=(bZ[213]="AUTHENTICATION_TOKEN_MISSING_CLAIMS",bZ[210]="AUTH_CODE_EXCHANGE_ERROR",bZ[14]="BATCH_NO_BOUNDARY_SPECIFIED",bZ[15]="BATCH_NO_BOUNDARY_USED",bZ[16]="BATCH_NO_STATUS",bZ[17]="BATCH_TOO_FEW_PARTS",bZ[4]="BUILDING_REQUEST",bZ[260]="CRYPTO_INPUT_ERROR",bZ[261]="CRYPTO_INTERNAL_ERROR",bZ[262]="CRYPTO_INVALID_OPERATION_ERROR",bZ[0]="DEFAULT_CLIENT_REASON",bZ[212]=
"DISCOVERY_CONTENT_ERROR_RESPONSE",bZ[23]="DUMPSTORAGE_LENGTH_ERROR",bZ[200]="EMAIL_MISMATCH",bZ[22]="FORBIDDEN_REQUEST",bZ[26]="FS_ABORT",bZ[27]="FS_ENCODING",bZ[28]="FS_INVALID_MODIFICATION",bZ[29]="FS_INVALID_STATE",bZ[30]="FS_NOT_FOUND",bZ[31]="FS_NOT_READABLE",bZ[38]="FS_NO_ERROR_ON_READ_TEST",bZ[32]="FS_NO_MODIFICATION_ALLOWED",bZ[33]="FS_PATH_EXISTS",bZ[34]="FS_QUOTA_EXCEEDED",bZ[35]="FS_SECURITY",bZ[36]="FS_SYNTAX",bZ[37]="FS_TYPE_MISMATCH",bZ[25]="FS_UNKNOWN",bZ[24]="HTTP_ERROR",bZ[291]=
"INTERNAL",bZ[233]="INVALID_AUTHORIZATION_TOKEN_ERROR",bZ[290]="INVALID_CONFIG_ERROR",bZ[206]="INVALID_CSE_CONFIGURATION_CONTENT",bZ[204]="INVALID_DISCOVERY_CONTENT",bZ[207]="INVALID_ID_TOKEN",bZ[208]="INVALID_OIDC_SETUP",bZ[234]="KACLS_REQUEST_FETCH_ERROR",bZ[236]="KACLS_RESPONSE_HTTP_NON_OK_STATUS",bZ[235]="KACLS_RESPONSE_HTTP_UNAUTHORIZED_ERROR",bZ[201]="MANUAL_LOGIN_REQUIRED",bZ[2]="NETWORK",bZ[18]="NO_QUEUE_FOR_REQUEST",bZ[43]="PARSING_RESPONSE_EMPTY_JSON",bZ[41]="PARSING_RESPONSE_EMPTY_PROTO",
bZ[8]="PARSING_RESPONSE_NOT_OBJECT",bZ[11]="PARSING_RESPONSE_NOT_VALID_JSON",bZ[40]="PARSING_RESPONSE_NOT_VALID_PROTO",bZ[21]="PARSING_RESPONSE_NO_KIND",bZ[10]="PARSING_RESPONSE_NO_UPLOAD_URI",bZ[42]="PARSING_RESPONSE_UNEXPECTED_HTML",bZ[9]="PARSING_RESPONSE_WRONG_KIND",bZ[211]="POPUP_BLOCKED",bZ[202]="POPUP_CLOSED",bZ[5]="READING_FILE",bZ[39]="RESOURCE_KEY_MULTIPLE_RESOURCE_KEYS_DEFINED",bZ[205]="UNAVAILABLE_CSE_CONFIGURATION_CONTENT",bZ[203]="UNAVAILABLE_DISCOVERY_CONTENT",bZ[209]="UNAVAILABLE_IDP",
bZ[1]="UNKNOWN_CLIENT_REASON",bZ[231]="UNWRAP_ERROR",bZ[232]="UNWRAP_TAKEOUT_ERROR",bZ[230]="WRAP_ERROR",bZ[7]="XHR_EXCEPTION",bZ),Eqa={activeItemCreationLimitExceeded:72,appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalid:76,conversionInvalidRequest:19,conversionInvalidLanguage:20,
conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,expiredMoveValidationToken:66,conditionNotMet:71,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,
forbidden:10,internalError:3,invalid:12,missingCookie:33,myDriveHierarchyDepthLimitExceeded:73,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,contextRestriction:75,teamDriveFileLimitExceeded:40,teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,
teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69,
userCannotCreateSharedDriveUnderOrgPolicy:70,queryTooComplex:74},cZ={},Dqa=(cZ[10]=409,cZ[6]=409,cZ[1]=499,cZ[15]=500,cZ[4]=504,cZ[9]=400,cZ[13]=500,cZ[3]=400,cZ[5]=404,cZ[0]=200,cZ[11]=400,cZ[7]=403,cZ[8]=429,cZ[16]=401,cZ[14]=503,cZ[12]=501,cZ[2]=500,cZ),dZ=Rn.prototype,Aqa={Type:{jc:dZ.B,dc:dZ.F,Ff:Hqa},Cause:{jc:dZ.A,dc:dZ.h,Ff:Iqa},Message:{jc:dZ.V,dc:dZ.da},DataType:{jc:dZ.K,dc:dZ.O,Ff:Jqa},HideFromUser:{jc:dZ.Cp,dc:dZ.sp},UploadId:{jc:dZ.Vn,dc:dZ.Pn},IsExternal:{jc:dZ.Tn,dc:dZ.On},NumRetries:{jc:dZ.Un,
dc:dZ.Qc},ServerErrorReason:{jc:dZ.Sh,dc:dZ.je,Ff:Cqa},UploadType:{jc:dZ.Wn,dc:dZ.Qn,Ff:Kqa},PrefetchedItemId:{jc:dZ.Dp,dc:dZ.up},ClientErrorReason:{jc:dZ.D,dc:dZ.g,Ff:Bqa},HttpResponseCode:{jc:dZ.Sn,dc:dZ.Id},DapperTraceUrl:{jc:dZ.Rn,dc:dZ.Nn},HideFromServer:{jc:dZ.Bp,dc:dZ.rp},ResourceUrl:{jc:dZ.Ep,dc:dZ.Nl}};var Ok=function(a){this.requests=a;if(a.length===0)throw Error("Sa");};var Pm=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};var Qm=function(a,b){this.request=a;this.pageToken=b===void 0?"":b},Wm=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var dn=function(){this.g=Vt(new P,312)};var Sm=function(a){this.g=a;this.type=1},Tm=function(a){this.g=a;this.type=0};var Rm=function(a){this.request=a;this.requestId=Sh()},an=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var eZ=function(a,b){this.start=a;this.end=b};hD.Object.defineProperties(eZ.prototype,{size:{configurable:!0,enumerable:!0,get:function(){return this.end-this.start}}});yD(Tk,aa);var kca=function(a){var b=jba(function(c){return a==c});if(b===void 0)throw Error("Ta`"+a);return b},fZ={},gh=(fZ.AbortError=3,fZ.EncodingError=5,fZ.InvalidModificationError=9,fZ.InvalidStateError=7,fZ.NotFoundError=1,fZ.NotReadableError=4,fZ.NoModificationAllowedError=6,fZ.PathExistsError=12,fZ.QuotaExceededError=10,fZ.SecurityError=2,fZ.SyntaxError=8,fZ.TypeMismatchError=11,fZ);yD(Uk,$g);var Lqa=function(a,b,c){c===void 0&&(c=a.size);return a.slice?a.slice(b,c):null};var Vk={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1?a+" ".repeat(Number(c)-a.length):" ".repeat(Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;b.indexOf("-",0)>=0?d=
f+d+" ".repeat(a):(b=b.indexOf("0",0)>=0?"0":" ",d=f+b.repeat(a)+d);return d},d:function(a,b,c,d,e,f,g,h){return Vk.f(parseInt(a,10),b,c,d,0,f,g,h)}};Vk.i=Vk.d;Vk.u=Vk.d;var gZ=function(a,b){this.blob=b;a instanceof eZ||(b=q(a),a=b.next().value,b=b.next().value,a=new eZ(a,b));this.range=a};hD.Object.defineProperties(gZ.prototype,{size:{configurable:!0,enumerable:!0,get:function(){var a,b;return(b=(a=this.blob)==null?void 0:a.size)!=null?b:0}},Lq:{configurable:!0,enumerable:!0,get:function(){return this.range.size}}});var Zm=function(a,b,c,d,e){this.Oc=a;this.file=b;this.wd=c===void 0?null:c;this.g=d;this.impression=e;this.h=null;this.fileSize=b.size};
Zm.prototype.Tc=function(){return this.Oc.Tc()};
var hZ=function(a,b,c,d){d=d===void 0?0:d;return Mqa(a,new eZ(b,b+c)).then(function(e){if(e.blob==null)return e;if(a.g!=null&&a.fileSize>0&&e.blob.size===0){var f=e.range,g=q([f.start,f.end]);f=g.next().value;g=g.next().value;return a.fileSize>g?hZ(a,f,e.range.size*2):d<3?hZ(a,f,e.range.size,d+1):new gZ(e.range,void 0)}return e})},Mqa=function(a,b){b=q([b.start,b.end]);var c=b.next().value;b=b.next().value;var d=Math.min(a.fileSize,b),e;a.wd!=null?e=a.wd(c,d-c):e=Promise.resolve(Lqa(a.file,c,d));
return Promise.resolve(e).then(function(f){return new gZ(new eZ(c,d),f!=null?f:void 0)})};Zm.prototype.clone=function(){var a;return new Zm(this.Oc.clone(),this.file,this.wd,(a=this.g)==null?void 0:a.clone(),this.impression)};var Xm=function(a){this.g=a};hD.Object.defineProperties(Xm.prototype,{h:{configurable:!0,enumerable:!0,get:function(){return this.g.g}}});var Ym=function(a,b,c){this.g=a;this.h=b;this.j=new eZ(c,c+b.size)},Nqa=function(a){a=a.g.Oc;if(xl(a))return C(a,12)||void 0};
hD.Object.defineProperties(Ym.prototype,{Gj:{configurable:!0,enumerable:!0,get:function(){return this.h.range.end===this.g.fileSize}},A:{configurable:!0,enumerable:!0,get:function(){return this.g.h}}});var Vm=function(a,b,c,d){this.request=a;this.file=b;this.wd=c===void 0?null:c;this.metadata=d};var en=function(a,b){this.request=a;this.pageToken=b===void 0?"":b};var iZ={drive:1,appDataFolder:2,photos:3,androidBackup:4},UB=kh(iZ),jZ={},cha=(jZ[0]="UNSPECIFIED_FEEDBACK",jZ[1]="IMPLICIT_REJECT",jZ[2]="NOT_HELPFUL_RIGHT_NOW",jZ),Dz={1:"default",2:"teamDrive",3:"default,allTeamDrives"},kZ={},Oqa=(kZ[3]=2,kZ[18]=3,kZ[9]=1,kZ[20]=0,kZ[13]=4,kZ[16]=0,kZ),NB=new Map([[1,"LABEL_VIEW_BASIC"],[2,"LABEL_VIEW_FULL"]]),lZ={},Pqa=(lZ[0]="UNKNOWN",lZ[1]="NOT_USER_INITIATED",lZ[2]="FOR_DISPLAY",lZ[3]="PREFETCH",lZ[4]="FILE_ACTION",lZ[5]="SYNC",lZ[6]="DOWNLOAD",lZ[7]="PRINT",
lZ[8]="COPY",lZ[9]="THUMBNAIL",lZ);var mZ={},al=(mZ[10]="createdDate",mZ[1]="modifiedDate",mZ[2]="modifiedByMeDate",mZ[6]="lastViewedByMeDate",mZ[13]="lastViewedByMeDate",mZ[14]="markedAsSpamDate",mZ[11]="recency",mZ[5]="relevance",mZ[7]="sharedWithMeDate",mZ[9]="starred",mZ[4]="title",mZ[12]="trashedDate",mZ[3]="quotaBytesUsed",mZ),nZ={},mca=(nZ[1]="asc",nZ[2]="desc",nZ);var qZ=function(a,b,c,d){if(c){let e=[];(d===void 0?0:d)&&e.push("not");e.push(oZ(c));e.push("in");e.push(b);pZ(a,e.join(" "))}},oZ=function(a){return hc(a)?"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'":"''"},pZ=function(a,b,c){b.length!==0&&(a.bd.length&&a.Yd(" "+(c||"and")+" "),a.Yd(b))},rZ=function(a,b,c,d){d=d===void 0?"and":d;if(!lia(c)){let e=[];e.push(b);e.push("=");e.push((!!c).toString());pZ(a,e.join(" "),d)}},sZ=function(a,b,c){if(b.length!==0){var d=[];d.push((c===void 0?0:c)?"not ":
"");b.length>1&&d.push("(");d.push(b.join(" or "));b.length>1&&d.push(")");pZ(a,d.join(""))}};var Qqa=new Set("application/vnd.google-apps.document application/vnd.google-apps.drawing application/vnd.google-apps.form application/vnd.google-apps.fusiontable application/vnd.google-apps.presentation application/vnd.google-apps.script application/vnd.google-apps.spreadsheet".split(" ")),Rqa=function(a){this.S=a},tZ=function(a,b,c,d){if(b.g===c)return b;a.S.ia(d).info("Backfill status "+b.g+"->"+c+" "+b.getId());b.g=c;return b};yD(ol,nW);var zt=function(a){var b=new ol;b.setTime(a);return b};l=ol.prototype;l.clone=function(){var a=new ol(this.date);a.Hf=this.Hf;a.If=this.If;return a};l.add=function(a){(a.g||a.months)&&mB.prototype.add.call(this,new kW(a.g,a.months));this.date=new Date(this.date.getTime()+1E3*(a.seconds+60*(a.minutes+60*(a.hours+24*a.h))))};l.getTimezoneOffset=function(){return 0};l.getFullYear=nW.prototype.wn;l.getMonth=nW.prototype.xn;l.getDate=nW.prototype.vn;l.getHours=nW.prototype.Lk;l.dh=nW.prototype.Mk;
l.eh=nW.prototype.Bn;l.getDay=nW.prototype.Kk;l.setFullYear=nW.prototype.zn;l.setMonth=nW.prototype.An;l.setDate=nW.prototype.yn;l.setHours=nW.prototype.Nk;l.setMinutes=nW.prototype.Ok;l.setSeconds=nW.prototype.Pk;l.setMilliseconds=nW.prototype.Cn;l=pl.prototype;l.bd="";l.set=function(a){this.bd=""+a};l.Yd=function(a,b,c){this.bd+=String(a);if(b!=null)for(let d=1;d<arguments.length;d++)this.bd+=arguments[d];return this};l.clear=function(){this.bd=""};l.toString=function(){return this.bd};var yz=function(a){var b=new pl,c=ez(a);for(let ra=0;ra<c.length;ra++){let Ka=c[ra],Ub=Ka.Ca();if(Ub){let ed=ws(Ka,1),nd=Ka.Qa(),fc=[];nd&&ed==1&&fc.push("not");fc.push("title");fc.push(ed==1?"contains":nd?"!=":"=");fc.push(oZ(Ub));pZ(b,fc.join(" "))}}var d=z(a,fz,5,B());for(let ra=0;ra<d.length;ra++){let Ka=d[ra],Ub=Ka.Ca();if(Ub){let ed=[];Ka.Qa()&&ed.push("not");ed.push("fullText");ed.push("contains");ed.push(oZ(Ub));pZ(b,ed.join(" "))}}var e=hz(a);if(e&&e.length!=0){var f=[],g=[],h=[],k=[],m=
[],p=[];for(let ra=0;ra<e.length;ra++){let Ka=e[ra];Ka.Ca()&&(bl(Ka,3)===1?F(Ka,4)?g.push(Ka):f.push(Ka):F(Ka,4)?Ka.Qa()?p.push(Ka):m.push(Ka):Ka.Qa()?k.push(Ka):h.push(Ka))}var t=Sqa(f,!1),w=Sqa(g,!0),A=uZ(h,!1,!1),J=uZ(k,!0,!1),Z=uZ(m,!1,!0),ha=uZ(p,!0,!0),Da=new pl;if(A||Z||t||w)pZ(Da,A,"or"),pZ(Da,Z,"or"),pZ(Da,t,"or"),pZ(Da,w,"or");Da.bd.length&&pZ(b,"("+Da.toString()+")","and");var Ha=new pl;if(J||ha)pZ(Ha,J,"and"),pZ(Ha,ha,"and");Ha.bd.length&&pZ(b,"("+Ha.toString()+")","and")}var Db=z(a,pz,
7,B());for(let ra=0;ra<Db.length;ra++)vZ(b,"modifiedDate",Db[ra]);var Lb=z(a,pz,8,B());for(let ra=0;ra<Lb.length;ra++)vZ(b,"lastViewedByMeDate",Lb[ra]);rZ(b,"trashed",F(a,9));rZ(b,"explicitlyTrashed",F(a,17));var Wb=F(a,88);if(QD(Wb)){let ra=[];ra.push("inheritedPermissionsDisabled");ra.push("=");ra.push((!!Wb).toString());pZ(b,ra.join(" "))}rZ(b,"starred",F(a,10));rZ(b,"hidden",F(a,11));var De=uz(a);for(let ra=0;ra<De.length;ra++){let Ka=De[ra];qZ(b,"parents",Ka.Ca(),Ka.Qa())}Tqa(b,a);var Eh=z(a,
iz,14,B());for(let ra=0;ra<Eh.length;ra++){let Ka=Eh[ra];qZ(b,"writers",Ka.Ca(),Ka.Qa())}var od=z(a,iz,15,B());for(let ra=0;ra<od.length;ra++){let Ka=od[ra];qZ(b,"readers",Ka.Ca(),Ka.Qa())}F(a,16)&&pZ(b,"sharedWithMe");rZ(b,"unparented",F(a,34));for(var Fh=qz(a)||[],Ig=q(Fh),Fd=Ig.next();!Fd.done;Fd=Ig.next())qZ(b,"ancestors",Fd.value.Ca(),!1);for(var $i=z(a,Gz,38,B())||[],yf=q($i),aj=yf.next();!aj.done;aj=yf.next())qZ(b,"descendants",aj.value.Ca(),!1);for(var sk=z(a,tz,37,B())||[],cg=q(sk),tk=cg.next();!tk.done;tk=
cg.next())qZ(b,"folderFeatures",tk.value.Ca(),!1);for(var rm=U(a,39,B()),uk=q(rm),he=uk.next();!he.done;he=uk.next()){let ra=he.value,Ka=[];Ka.push("templateData.description");Ka.push("contains");Ka.push(oZ(ra));pZ(b,Ka.join(" "))}for(var bj=U(a,40,B()),vk=q(bj.entries()),Jg=vk.next();!Jg.done;Jg=vk.next()){var Kg=q(Jg.value);let ra=Kg.next().value,Ka=Kg.next().value,Ub=[];ra==0&&Ub.push("(");Ub.push(oZ(Ka));Ub.push("in");Ub.push("templateData.categories");ra==bj.length-1&&Ub.push(")");pZ(b,Ub.join(" "),
ra==0?"and":"or")}var sm=ws(a,41);if(sm){let ra=[];ra.push("templateData.galleryState");ra.push("=");ra.push(oZ(Uqa[sm]||""));pZ(b,ra.join(" "))}wZ(b,a);for(var Gh=q(z(a,kz,44,B())),cj=Gh.next();!cj.done;cj=Gh.next()){let ra=cj.value;qZ(b,"actionItems",Vqa(ra),ra.Qa())}if(T(a,50)){let ra=[];ra.push("pairedDocType");let Ka=N(a,50)?"!=":"=";ra.push(Ka);ra.push(oZ("NONE"));pZ(b,ra.join(" "))}qZ(b,"workspaceIds",D(a,54),!1);var wk=z(a,mz,57,B());for(let ra=0;ra<wk.length;ra++){let Ka=[];ra==0&&Ka.push("(");
Ka.push(oZ(wk[ra].Ca()));Ka.push("in");Ka.push("approvals");ra==wk.length-1&&Ka.push(")");pZ(b,Ka.join(" "),ra==0?"and":"or")}if(hp(a,iz,58)){var tm=zq(a,iz,58),dj=tm.Ca(),um=tm.Qa();if(dj){let ra=[];um&&ra.push("not");ra.push("creator");ra.push("=");ra.push(oZ(dj));pZ(b,ra.join(" "))}}var Hh=Q(a,lz,59);if(Hh)for(var ej=q(z(Hh,CJ,1,B())),Ih=ej.next();!Ih.done;Ih=ej.next()){let ra=Ih.value;qZ(b,"categoryMetadata",D(ra,1));for(var ie=q(z(ra,BJ,2,B())),rc=ie.next();!rc.done;rc=ie.next()){let Ka=rc.value,
Ub=D(Ka,1),ed=Tj(Ka,aE);if(ed==10){var Td=b,Vc=Ub,dg=F(Ka,15);(dg===void 0?0:dg)?pZ(Td,Vc+" is null"):pZ(Td,"not ("+Vc+" is null)")}else{let nd=new pl,fc;switch(ed){case 3:fc=bE(Ka,rJ,3);var vm=void 0;vm=we(fc,3,zc,B());for(var kt=q(vm),dc=kt.next();!dc.done;dc=kt.next())rZ(nd,Ub,dc.value,"or");break;case 14:fc=bE(Ka,sJ,14);var ip=void 0,xk=void 0,ty=nd,uy=Ub,wm=fc;a:{var lt=ws(wm,2);switch(lt){case 1:xk="=";break a;case 2:xk=">";break a;case 3:xk="<";break a;default:uc(lt)}xk=void 0}let BF=xk;ip=
z(wm,xw,3,B());for(var yk=q(ip),xm=yk.next();!xm.done;xm=yk.next()){let je=xm.value,vS=[uy,BF,oZ(Aq(je,1)+"-"+ql(Aq(je,2))+"-"+ql(Aq(je,3)))];pZ(ty,vS.join(" "),"or")}break;case 8:fc=bE(Ka,wJ,8);var Gd=void 0,vy=nd,wy=Ub,jp=fc;a:{var mt=ws(jp,2);switch(mt){case 1:Gd="=";break a;case 2:Gd=">";break a;case 3:Gd="<";break a;default:uc(mt)}Gd=void 0}let CF=Gd;for(var ym=q(XB(jp,3)),kp=ym.next();!kp.done;kp=ym.next())pZ(vy,[wy,CF,kp.value].join(" "),"or");break;case 9:fc=bE(Ka,vJ,9);var lp=void 0,nt=nd,
ot=Ub,mp=fc;a:{var zm=ws(mp,2);switch(zm){case 1:lp="in";break a;default:uc(zm)}lp=void 0}let wS=lp;for(var np=q(XB(mp,3)),op=np.next();!op.done;op=np.next())pZ(nt,[op.value,wS,ot].join(" "),"or");break;case 6:fc=bE(Ka,yJ,6);var zk=void 0,pp=void 0,xy=nd,pt=Ub,Am=fc;a:{var Bm=ws(Am,2);switch(Bm){case 1:pp="=";break a;default:uc(Bm)}pp=void 0}let xS=pp;zk=U(Am,3,B());for(var Cm=q(zk),qp=Cm.next();!qp.done;qp=Cm.next()){let je=[pt,xS,oZ(qp.value)];pZ(xy,je.join(" "),"or")}break;case 7:fc=bE(Ka,xJ,7);
var Ba=void 0,Cb=void 0,Dm=nd,Em=Ub,fj=fc;a:{var gj=ws(fj,2);switch(gj){case 1:Cb="in";break a;default:uc(gj)}Cb=void 0}let yS=Cb;Ba=U(fj,3,B());for(var rp=q(Ba),Jh=rp.next();!Jh.done;Jh=rp.next()){let je=[oZ(Jh.value),yS,Em];pZ(Dm,je.join(" "),"or")}break;case 4:fc=bE(Ka,AJ,4);var qt=void 0,sp=void 0,zS=nd,AS=Ub,DF=fc;a:{var rt=ws(DF,2);switch(rt){case 1:sp="=";break a;case 2:sp="contains";break a;case 3:sp="starts with";break a;default:uc(rt)}sp=void 0}let BS=sp;qt=U(DF,3,B());for(var yy=q(qt),
tp=yy.next();!tp.done;tp=yy.next()){let je=[AS,BS,oZ(tp.value)];pZ(zS,je.join(" "),"or")}break;case 5:fc=bE(Ka,zJ,5);var st=void 0,zy=void 0,CS=nd,DS=Ub,EF=fc;a:{var FF=ws(EF,2);switch(FF){case 1:zy="in";break a;default:uc(FF)}zy=void 0}let GF=zy;st=U(EF,3,B());for(var HF=q(st),up=HF.next();!up.done;up=HF.next()){let je=[oZ(up.value),GF,DS];pZ(CS,je.join(" "),"or")}break;case 12:fc=bE(Ka,uJ,12);var IF=void 0,Ay=void 0,JF=nd,By=Ub,tt=fc;a:{var Cy=ws(tt,2);switch(Cy){case 1:Ay="=";break a;default:uc(Cy)}Ay=
void 0}let ES=Ay;IF=U(tt,3,B());for(var KF=q(IF),Dy=KF.next();!Dy.done;Dy=KF.next()){let je=[By,ES,oZ(Dy.value)];pZ(JF,je.join(" "),"or")}break;case 11:fc=bE(Ka,tJ,11);var Ey=void 0,ut=void 0,LF=nd,GS=Ub,MF=fc;a:{var vt=ws(MF,2);switch(vt){case 1:ut="in";break a;default:uc(vt)}ut=void 0}let HS=ut;Ey=U(MF,3,B());for(var vp=q(Ey),Fy=vp.next();!Fy.done;Fy=vp.next()){let je=[oZ(Fy.value),HS,GS];pZ(LF,je.join(" "),"or")}break;default:uc(ed)}F(Ka,15)?pZ(b,"not ("+nd+")"):pZ(b,fc.zd()>1?"("+nd+")":""+nd)}}}var NF=
F(a,65);if(QD(NF)){let ra=[];ra.push("clientEncryptionDetails.encryptionState");ra.push("=");ra.push(oZ(NF?"encrypted":"unencrypted"));pZ(b,ra.join(" "))}var OF=z(a,iz,68,B());if(OF.length){let ra=[],Ka=[];for(var PF=q(OF),wt=PF.next();!wt.done;wt=PF.next()){let Ub=wt.value,ed="sharedFrom = "+oZ(Ub.Ca());Ub.Qa()?Ka.push(ed):ra.push(ed)}sZ(b,ra,!1);sZ(b,Ka,!0)}var QF=z(a,iz,67,B());if(QF.length){let ra=[],Ka=[];for(var RF=q(QF),xt=RF.next();!xt.done;xt=RF.next()){let Ub=xt.value,ed="sharedTo = "+oZ(Ub.Ca());
Ub.Qa()?Ka.push(ed):ra.push(ed)}sZ(b,ra,!1);sZ(b,Ka,!0)}T(a,69)&&rZ(b,"linkShareMetadata.securityUpdateEnabled",F(a,69));T(a,72)&&rZ(b,"canAcceptOwnership",F(a,72));if(F(a,73)){let ra=(new DJ).setValue("application/vnd.google-apps.shortcut");rZ(b,"impactedByMultiparentingMigration",!0);pZ(b,uZ([ra],!1,!1))}Wqa(b,a);var Gy=z(a,pz,79,B());for(let ra=0;ra<Gy.length;ra++)vZ(b,"creationDate",Gy[ra]);if(hp(a,vz,86)){var Ak=zq(a,vz,86);T(Ak,3)&&rZ(b,"inSpamView",F(Ak,3));T(Ak,1)&&rZ(b,"isSpam",F(Ak,1));
T(Ak,2)&&rZ(b,"isInheritedSpam",F(Ak,2))}Xqa(b,a);Cz(a)==1&&Yqa(b,a);return b.toString()},ara=function(a){var b=new pl(yz(a));Vl(a)&&pZ(b,"isQuickAccessRequest");var c=nz(a);if(c){var d=[];d.push("sortBy");d.push(al[c.getType()]);d.push(Zqa[bl(c,2,1)]);F(c,3)&&d.push("foldersFirst");pZ(b,d.join(" "))}rZ(b,"domainSearch",F(a,18));rZ(b,"offline",F(a,19));z(a,zz,25,B()).length&&(c=[],c.push("sources"),c.push("contains"),c.push(Az(a)),pZ(b,c.join(" ")));rz(a).length&&(c=[],c.push("spaces"),c.push("contains"),
c.push(Bz(a)),pZ(b,c.join(" ")));if(c=Cz(a))d=[],d.push("corpora"),d.push("="),d.push(oZ(Dz[c])),pZ(b,d.join(" "));N(a,66,!0)||rZ(b,"includeItemsFromAllDrives",F(a,66));Cz(a)!=1&&Yqa(b,a);N(a,48)&&pZ(b,"cachedOnly");$qa(b,a);return b.toString()},Az=function(a){var b=[];a=q($D(a,zz,25));for(var c=a.next();!c.done;c=a.next())(c=c.value.Ca())&&b.push(c);return b.join(",")},Bz=function(a){return $D(a,RB,26).map(function(b){b=ws(b,1);if(b===0||Rt(b))throw Error("Wa`"+b);return UB[b]}).join(",")},Wqa=function(a,
b){if(WD(b,jz,78)!==0){var c=z(b,jz,78,B()).filter(function(f){return R(f,1)}),d=[];b=[];c=q(c);for(var e=c.next();!e.done;e=c.next())e=e.value,e.Qa()?b.push(e):d.push(e);(d=bra(d,!1))&&pZ(a,d,"and");(b=bra(b,!0))&&pZ(a,b,"and")}},bra=function(a,b){if(a.length){let c=[];b&&c.push("not");c.push("sourceActorAppId");c.push("in");a=a.map(function(d){return oZ(d.Ca())});c.push(a.join(", "));return c.join(" ")}return""},Sqa=function(a,b){if(a.length){let d=new pl;a=q(a);for(var c=a.next();!c.done;c=a.next()){c=
c.value;c.Qa();let e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(oZ(c.Ca()));pZ(d,e.join(" "),"or")}return d.toString()}return""},uZ=function(a,b,c){if(a.length){let d=[];b&&d.push("not");d.push(c?"shortcutDetails.targetMimeType":"mimeType");d.push("in");a=a.map(function(e){return oZ(e.Ca())});d.push(a.join(", "));return d.join(" ")}return""},Tqa=function(a,b){var c=z(b,iz,13,B());b=[];var d=[];c=q(c.filter(function(f){return R(f,1)}));for(var e=c.next();!e.done;e=
c.next()){e=e.value;let f=oZ(e.Ca())+" in owners";e.Qa()?d.push(f):b.push(f)}sZ(a,b);sZ(a,d,!0)},Vqa=function(a){if(F(a,2))return"any";switch(a.Ca()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}},Xqa=function(a,b){var c=new Map([[3,"writer"],[2,"commenter"],[1,"reader"],[0,"reader"],[4,"all"]]),d=[];b=q(z(b,oz,100,B()).filter(function(g){return Tj(g,EJ)!==0}));for(var e=b.next();!e.done;e=b.next()){e=e.value;let g,h=c.get((g=ws(e,6))!=null?g:0);if(!h)throw Error("Xa`"+
ws(e,6));let k=new pl;var f="";f=Tj(e,EJ);switch(f){case 1:f=Zj(e,Vj(e,EJ,1));k.Yd(cra(f,h,d));break;case 2:f="targetAudience("+Zj(e,Vj(e,EJ,2))+")";k.Yd(cra(f,h));break;case 4:wZ(k,JJ(1));wZ(k,JJ(2),"or");break;case 3:k.Yd("sharedWith has {access='external'}");break;case 0:throw Error("Ya`"+Tj(e,EJ));default:uc(f)}k.bd.length>0&&d.push("("+k.toString()+")")}sZ(a,d,!1)},cra=function(a,b,c){c=c===void 0?[]:c;return b==="all"&&a&&a.length>0?(c.push("creator = '"+a+"'"),c.push("sharedFrom = '"+a+"'"),
"'"+a+"' in readers"):"sharedWith has {id='"+a+"' and access='"+b+"'}"},$qa=function(a,b){var c=Nr(b,91,B());c.length&&(b=[],b.push("QueryProcessingOptions:"),c=c.map(function(d){return d.toString()}).sort().join(","),b.push(oZ(c)),pZ(a,b.join(" ")))},Yqa=function(a,b){if(cC(b,33)>0){b=sz(b)[0];let c=[];c.push("teamDriveId");c.push("=");c.push(oZ(b));pZ(a,c.join(" "))}},vZ=function(a,b,c){if(nE(c,2)){let d=dra(ws(c,1));c=oZ(yt(zt(Tg(gq(c,2))||0)));pZ(a,[b,d,c].join(" "))}},wZ=function(a,b,c){if(b=
ws(b,42)){let d=[];d.push("visibility");d.push("=");d.push(oZ(era(b)));pZ(a,d.join(" "),c)}},dra=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}},era=function(a){switch(a){case 1:return"anyoneCanFind";case 2:return"anyoneWithLink";case 3:return"domainCanFind";case 4:return"domainWithLink";case 5:return"limited";default:return""}},xZ={},Uqa=(xZ[1]="0",xZ[2]="1",xZ[3]="2",xZ),yZ={},Zqa=(yZ[1]="asc",yZ[2]="desc",yZ);var fra,gra=new lK;fra=H(gra,15,!0);var hra=pK(new lK,!0),ira=pK(new lK,!1),jra=Sb(function(a){return Hm(a)?hp(a,Yt,43)||U(a,44,B()).length>0:!1}),sca=Sb(function(a){Hm(a)?(a=a.clone(),a=S(a,1),a=S(a,17),a=Np(a,fra)):a=!1;return a}),tca=Sb(function(a){if(!Hm(a))return!1;a=a.clone();a=S(a,1);a=S(a,17);return Np(a,hra)||Np(a,ira)}),kra=[$O,ZO,zP,rL,Wm],rca=[gP,PG,hP,kL,jP,hK,FQ,jK,kP,kK,bB,NO,PO,lP,pP,tP,MO,lK,uP,rK,HQ,Rm,Vm,rP],lra=[XI];var uu=new Map([["AbortError",26],["EncodingError",27],["InvalidModificationError",28],["InvalidStateError",29],["NotFoundError",30],["NotReadableError",31],["NoModificationAllowedError",32],["PathExistsError",33],["QuotaExceededError",34],["SecurityError",35],["SyntaxError",36],["TypeMismatchError",37]]);var zZ=function(a,b){oh.call(this);this.V=a;this.g=b;this.H=Sh();this.cache=new Map;this.h=[];this.F=!1;this.j=null};V(zZ,oh);zZ.prototype.vj=function(){return this.H};
var EZ=function(a,b,c){c=c===void 0?null:c;var d=a.qf(b);if(d!==2){a.g&&mra(a.g);let g=null,h;var e=AZ(a,b);e.request&&e.response&&a.Xc(e.request,b,!1)&&(g=e.response,h=e.la);if(g)return Promise.resolve(new TY(e.request,g,h,!0));if(d===1)return!g&&a.g?(BZ(a.g),e=CZ(a).then(function(){var k=AZ(a,b);k.request&&k.response&&a.Xc(k.request,b,!1)&&(g=k.response,h=k.la)})):e=Promise.resolve(),e.then(function(){return new TY(b,g,h,!!g)})}e=q(a.h);for(var f=e.next();!f.done;f=e.next())if(f=f.value,a.Xc(f.X(),
b,!0))return f.Z.promise;return Promise.all([b].map(function(g){var h=new DZ(a.pg(g));a.h.push(h);if(g=d!==2?c:null)h.ee=!0;(g!=null?g:Promise.resolve()).then(function(){h.ee=!1;nra(a)});return h.Z.promise})).then(function(g){return g[0]})},AZ=function(a,b){a=a.cache.get(a.vj(b));var c,d;return new TY((c=a==null?void 0:a.request)!=null?c:null,(d=a==null?void 0:a.response)!=null?d:null,a==null?void 0:a.la,!(a==null||!a.response))};zZ.prototype.qf=function(){return 0};
var nra=function(a){if(a.h.length!==0&&!a.h[0].g&&!a.h[0].ee){var b=a.h[0];if(a.F)ora(b);else{b.g=!0;var c=a.Ml(b.X());c.g.requestId=b.requestId;(b.resolved&&a.Xc(b.X(),c.request,!0)?Promise.resolve():pra(a,c).then(function(d){qra(a,c.request,d,1);b.resolve(c.request,d,1,!1)},function(d){a.g&&a.qf(b.X())!==2&&BZ(a.g);b.reject(d)})).then(function(){Na(a.h,b);nra(a)})}}};zZ.prototype.Ml=function(a){return new rra(a)};var pra=function(a,b){return a.V.then(function(c){return c.route(b.request,b.g)})};
zZ.prototype.set=function(a,b,c){var d=qra(this,this.pg(a),b,c);if(d)for(var e=q(this.h),f=e.next();!f.done;f=e.next())f=f.value,this.Xc(a,f.X(),!1)&&f.resolve(a,b,c,!0);return d};var qra=function(a,b,c,d){var e=AZ(a,b);if(e.request&&!a.Xc(b,e.request,!1)||!a.Uh(b,c))return!1;e=a.vj(b);a.cache.set(e,new TY(b,c,d));b=AZ(a,b);a.Rl(b);a.j&&a.dispatchEvent(new UY(a.j,b));a.g&&(a=a.g,a.enabled&&sra(a));return!0};zZ.prototype.Rl=function(){};
var ora=function(a){a.reject(co("Data unavailable in coldstart"))},CZ=function(a){return a.g?a.g.h.promise:Promise.resolve(!1)},DZ=function(a){this.request=a;this.resolved=this.ee=this.g=!1;this.requestId=Sh();this.Z=new py};DZ.prototype.X=function(){return this.request};DZ.prototype.resolve=function(a,b,c,d){this.resolved||(this.resolved=!0,this.Z.resolve(new TY(a,b,c,d)))};DZ.prototype.reject=function(a){this.resolved||(this.resolved=!0,this.Z.reject(a))};
var rra=function(a){var b=b===void 0?{}:b;this.request=a;this.g=b};var tx=function(a){var b=this;this.connectionState=a;this.A=new py;this.h=new py;this.enabled=!0;this.g=this.B=!1;this.D=function(){b.enabled&&b.B&&BZ(b)};this.j=new bi;this.j.listen(this.connectionState,OY.qc,this.D)},BZ=function(a){a.enabled&&!a.g&&(a.g=!0,sra(a),a.A.promise.then(function(b){b().then(function(c){a.h.resolve(c)})}))},sra=function(a){a.enabled&&(a.enabled=!1,a.j.bg(a.connectionState,OY.qc,a.D),a.g||(a.g=!0,a.h.resolve(!1)))},yx=function(a,b){a.A.resolve(b)},mra=function(a){a.enabled&&
(a.B=!0,a.connectionState.g()&&BZ(a))};var tra=function(a,b){this.g=a;this.h=b};var no=function(a,b){this.g=new tra(a,b)},FZ=function(a){return[a.key,a.value]},ko=function(a){return new (Function.prototype.bind.apply(no,[null].concat(r(a))))};hD.Object.defineProperties(no.prototype,{key:{configurable:!0,enumerable:!0,get:function(){return this.g.g}},value:{configurable:!0,enumerable:!0,get:function(){return this.g.h}}});var ura=function(a){$g.call(this,"k");this.bn=a};V(ura,$g);var GZ=function(a,b){if(b>=0)return!a||a<b?b:a;if(b===-1)return!a||a<=1?2:a+1;if(b===-2)return!a||a<=2?1:a-1;throw Error("bb");},HZ=function(a,b){return a>1?b===2:a===b};var IZ=function(a,b){a=a===void 0?Bca:a;b=b===void 0?Cca:b;oh.call(this);this.j=a;this.h=b;this.entries=new Map};V(IZ,oh);var wra=function(){function a(c,d){return c.value===null||d.value===null?!1:b.compare(c.value,d.value)===-1}var b=vra;return new IZ(function(c,d){return to(d.la)?a(c,d):c.value===null||d.value===null?!0:b.compare(c.value,d.value)!==1},function(c,d){return to(d.la)?a(c,d):c.value===null||d.value===null?!(c.value===null&&d.value===null):b.compare(c.value,d.value)===-1})};
IZ.prototype.g=function(a){return this.entries.get(a)};IZ.prototype.Lc=function(a){var b=this;return new Map(a.map(function(c){return[c,b.entries.get(c)]}))};IZ.prototype.getAll=function(){return new Map(this.entries)};IZ.prototype.has=function(a){return this.entries.has(a)};var JZ=function(a,b){return a.entries.has(b)&&a.entries.get(b).value!==null};l=IZ.prototype;l.isDeleted=function(a){return this.entries.has(a)&&this.entries.get(a).value===null};
l.delete=function(a,b,c){c=c===void 0?1:c;var d=JZ(this,a);this.Ta([new no(a,null)],b,c);return d};l.clear=function(){this.entries.clear()};l.Ta=function(a,b,c){var d=[],e=[];a=q(a.map(so(zca(b,c===void 0?1:c))));for(b=a.next();!b.done;b=a.next()){b=b.value;var f=q(FZ(b));c=f.next().value;f=f.next().value;if((c=this.entries.get(c))?this.j(c,f):1)this.update(b),d.push(b),(c?this.h(c,f):f.value!==null)&&e.push(b)}e.length>0&&this.notify(e);return d};l.notify=function(a){this.dispatchEvent(new ura(a))};
l.update=function(a){var b=q(FZ(a));a=b.next().value;b=b.next().value;var c=this.entries.get(a);this.entries.set(a,{value:b.value,la:b.la,kb:GZ((c==null?void 0:c.kb)||null,b.kb),Yh:b.Yh})};var KZ=function(a,b){this.j=a;this.B=b;this.g=new Map};l=KZ.prototype;l.Kh=function(a){return this.g.get(this.j(a))};l.size=function(){return this.g.size};l.cb=function(a,b){var c=this.j(b),d=this.g.get(c),e=!d;d||(d=this.B(b),this.g.set(c,d));d.cb(a).catch(function(f){ok("registerLiveRequest failed for liveRequestId:"+a,Zn(f),"warning")});return e};l.Gb=function(a,b){var c=this.g.get(this.j(b));c&&(c.Gb(a),c.isDisposed()&&this.g.delete(this.j(b)))};
l.Ta=function(a,b,c,d){var e=this;c=c===void 0?1:c;d=d===void 0?null:d;var f=a.filter(function(g){return e.isValid(g)});this.g.forEach(function(g){g.Ta(f,b,c,d)})};l.isValid=function(){return!0};l.Bg=function(a,b){(a=this.g.get(this.j(a)))&&a.md(b)};l.rf=function(a,b,c,d){var e=this.j(b),f=this.g.get(e);f||(f=this.B(b),f.ob(c),this.g.set(e,f),this.Ta(a,d))};var LZ=function(a,b,c){b=a.j(b);return a.g.get(b).refresh(c)};var MZ=function(a,b){KZ.call(this,a,b)};V(MZ,KZ);MZ.prototype.Kh=function(a){return KZ.prototype.Kh.call(this,a)};var xra=function(a){$g.call(this,"l");this.h=a};V(xra,$g);var sx=function(){oh.call(this);this.Am=null};V(sx,oh);sx.prototype.notify=function(a){this.Am=a;this.dispatchEvent(new xra(a))};uo.prototype.h=0;uo.prototype.reset=function(){this.g=this.j=this.A;this.h=0};uo.prototype.getValue=function(){return this.j};var NZ=function(a){a.g=Math.min(a.B,a.g*a.F);a.j=Math.min(a.B,a.g+(a.D?Math.round(a.D*(Math.random()-.5)*2*a.g):0));a.h++};var OZ=function(a,b){uo.call(this,a?a:500,b?b:6E5)};V(OZ,uo);var Ufa=function(a,b,c){var d=this;this.j=a;this.A=b;this.B=c;this.g=void 0;this.D=new bi;this.h=new OZ;this.D.listen(this.A,"l",function(e){PZ(d,e.h)});(a=this.A.Am)&&PZ(this,a)},yra=function(a){a.h.reset();clearTimeout(a.g);a.g=void 0},zra=async function(a,b){var c=!0;await a.B(b).catch(function(){return c=!1});if(!c)return yra(a),!1;PZ(a,Date.now());return!0},PZ=function(a,b){yra(a);a.g=setTimeout(function(){Ara(a)},Math.max(b+a.j-Date.now(),6E4))},Ara=async function(a){await a.B(1507).catch(function(){return a.g=
void 0});a.g?PZ(a,Date.now()):(a.g=setTimeout(function(){Ara(a)},a.h.getValue()),NZ(a.h))};var QZ=function(a,b){Yg.call(this);this.request=b;this.nc=new Set;this.status=6;this.D=new Map;this.la=0;this.ha=!1;this.A=Promise.resolve(a)};V(QZ,Yg);l=QZ.prototype;l.R=function(){return this.status};l.cb=function(a){this.nc.add(a);this.Ud();return this.xe(a)};l.Gb=function(a){this.nc.has(a);this.nc.delete(a);this.nc.size===0&&this.dispose()};l.ra=function(){return this.la};l.ob=function(a){this.la=a};
l.Ta=function(a,b,c,d){c=c===void 0?1:c;d=d===void 0?null:d;var e=!1;a=q(a);for(var f=a.next();!f.done;f=a.next())e=this.Ac(f.value,c)||e;if(!b)if(d){if(Np(d,this.request)||e)e=!0,this.status=1}else e=this.status!==1||e,this.status=1;return e?(this.ha=!0,this.Vf().then(function(){return e},function(){return e})):Promise.resolve(!1)};l.Vf=function(){var a=this;return Promise.all([].concat(r(this.nc)).map(function(b){return a.xe(b)})).then(function(){})};
l.md=function(a){this.status=3;for(var b=[],c=q(this.nc.values()),d=c.next();!d.done;d=c.next()){let e=d.value;b.push(this.A.then(function(f){return void f.md(e,a)}))}return tna(b)};l.Dd=function(a,b){var c=a?this.D.get(a)||null:null;b=GZ(c,b);this.D.set(a,b)};l.xe=function(a){var b=this;return this.A.then(function(c){b.ha&&c.xe(a,b.fc())})};var RZ=function(a,b){QZ.call(this,a,b)};V(RZ,QZ);RZ.prototype.Ud=function(){this.resize()};RZ.prototype.resize=async function(){for(var a=await this.A,b=0,c=q(this.nc),d=c.next();!d.done;d=c.next())d=SZ(a,d.value),b=Math.max(b,d.Ia!==void 0?d.Ia()||0:0);this.Rk(b)};var TZ=function(a,b){QZ.call(this,a,b)};V(TZ,QZ);TZ.prototype.Ud=function(){};var Mo=function(a){this.payload=a;this.transfer=void 0};Mo.prototype.build=function(){return this.transfer?vo(this.payload,[].concat(r(new Set(this.transfer)))):vo(this.payload)};Mo.prototype.Ib=function(a){var b=ac.apply(1,arguments);a.apply(null,[this.payload].concat(r(b.map(function(c){return c.payload}))));this.g.apply(this,r(b.map(function(c){return c.transfer})))};
Mo.prototype.g=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())if(b=b.value)this.transfer||(this.transfer=[]),this.transfer.push.apply(this.transfer,r(b))};var wo=function(a,b){this.response=a;this.la=b===void 0?0:b;this.h=!1;this.g=void 0};wo.prototype.R=function(){return this.status};wo.prototype.setStatus=function(a){this.status=a;return this};var UZ=function(a,b){a.j=b;return a},VZ=function(a,b){a.Ya=b;return a},WZ=function(a,b){a.h=b;return a},XZ=function(a,b){a.g=b;return a};var YZ=function(a,b){this.eg=a;this.connectionState=b;this.B=new bi(this);a=this.connectionState.g()?this.eg.qc:this.eg.al;this.F=vqa(a)};YZ.prototype.A=function(){Bra(this)};var Bra=function(a){a.B.listen(a.connectionState,[OY.Gd,OY.ce,OY.qc],function(){a.g()})};YZ.prototype.g=function(){this.Lc.ti(this.connectionState.g()?this.eg.qc:this.eg.al)};hD.Object.defineProperties(YZ.prototype,{Lc:{configurable:!0,enumerable:!0,get:function(){return this.F}}});var ZZ=function(a){this.g=a};V(ZZ,QY);ZZ.prototype.execute=async function(a){return(await $Z(this.g,a)).map(so(yo))};var a_=function(a,b){this.g=a;this.h=b};V(a_,QY);a_.prototype.execute=function(a){var b=this.g.Lc(a);a=[];b=q(xo(b));for(var c=b.next();!c.done;c=b.next()){c=c.value;let d=c.value;d===void 0?(this.h.g.add(c.key),a.push(ko([c.key,{value:null,status:2,la:0,kb:0,Ya:!1}]))):a.push(lo([c.key,Object.assign({},d,{status:1,Ya:!0})]))}return Promise.resolve(a)};var b_=function(a,b){this.g=a;this.h=b};V(b_,QY);b_.prototype.execute=async function(a){var b=this.g.Lc(a);a=[];var c=[];b=q(xo(b));for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=q(FZ(d));let f=e.next().value;e=e.next().value;e===void 0?c.push(d.key):a.push(lo([f,Object.assign({},e,{status:1,Ya:!0})]))}c=(await $Z(this.h,c)).map(so(yo));return a.concat(c)};var Nca=[{ua:pma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,2)},setValue:function(a,b){H(a,2,!!b)}},{ua:jma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,43)},setValue:function(a,b){H(a,43,!!b)}},{ua:uma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,46)},setValue:function(a,b){H(a,46,!!b)}},{ua:Fma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,13)},setValue:function(a,b){H(a,13,!!b)}},{ua:xma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,6)},setValue:function(a,
b){H(a,6,!!b)}},{ua:yma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,7)},setValue:function(a,b){H(a,7,!!b)}},{ua:zma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,9)},setValue:function(a,b){H(a,9,!!b)}},{ua:Ama,defaultValue:!1,xa:!0,getValue:function(a){return N(a,10)},setValue:function(a,b){H(a,10,!!b)}},{ua:Ima,defaultValue:!1,xa:!0,getValue:function(a){return YG(a)},setValue:function(a,b){H(a,11,!!b)}},{ua:Jma,defaultValue:!1,xa:!0,getValue:function(a){return ZG(a)},setValue:function(a,
b){H(a,12,!!b)}},{ua:Kma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,61)},setValue:function(a,b){H(a,61,!!b)}},{ua:rma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,62)},setValue:function(a,b){H(a,62,!!b)}},{ua:Lma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,36)},setValue:function(a,b){H(a,36,!!b)}},{ua:Mma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,38)},setValue:function(a,b){H(a,38,!!b)}},{ua:Nma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,37)},setValue:function(a,
b){H(a,37,!!b)}},{ua:sma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,40)},setValue:function(a,b){H(a,40,!!b)}},{ua:Sma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,39)},setValue:function(a,b){H(a,39,!!b)}},{ua:tma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,41)},setValue:function(a,b){H(a,41,!!b)}},{ua:Oma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,20)},setValue:function(a,b){H(a,20,!!b)}},{ua:Pma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,21)},setValue:function(a,
b){H(a,21,!!b)}},{ua:Qma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,18)},setValue:function(a,b){H(a,18,!!b)}},{ua:Rma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,19)},setValue:function(a,b){H(a,19,!!b)}},{ua:Bma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,24)},setValue:function(a,b){H(a,24,!!b)}},{ua:Cma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,25)},setValue:function(a,b){H(a,25,!!b)}},{ua:Dma,defaultValue:!1,xa:!0,getValue:function(a){return N(a,22)},setValue:function(a,
b){H(a,22,!!b)}},{ua:Ema,defaultValue:!1,xa:!0,getValue:function(a){return N(a,23)},setValue:function(a,b){H(a,23,!!b)}},{ua:Xma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,26)},setValue:function(a,b){H(a,26,!!b)}},{ua:Yma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,27)},setValue:function(a,b){H(a,27,!!b)}},{ua:Zma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,33)},setValue:function(a,b){H(a,33,!!b)}},{ua:Uma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,28)},setValue:function(a,
b){H(a,28,!!b)}},{ua:Tma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,29)},setValue:function(a,b){H(a,29,!!b)}},{ua:hma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,34)},setValue:function(a,b){H(a,34,!!b)}},{ua:nma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,47)},setValue:function(a,b){H(a,47,!!b)}},{ua:oma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,51)},setValue:function(a,b){H(a,51,!!b)}},{ua:mma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,52)},setValue:function(a,
b){H(a,52,!!b)}},{ua:ima,defaultValue:!1,xa:!1,getValue:function(a){return aH(a)},setValue:function(a,b){H(a,57,!!b)}},{ua:lma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,59)},setValue:function(a,b){H(a,59,!!b)}},{ua:vma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,64)},setValue:function(a,b){return H(a,64,!!b)}},{ua:wma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,65)},setValue:function(a,b){return H(a,65,!!b)}},{ua:kma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,
70)},setValue:function(a,b){H(a,70,!!b)}},{ua:Vma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,71)},setValue:function(a,b){H(a,71,!!b)}},{ua:Wma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,72)},setValue:function(a,b){H(a,72,!!b)}},{ua:ama,defaultValue:!1,xa:!1,getValue:function(a){return N(a,89)},setValue:function(a,b){H(a,89,!!b)}},{ua:cma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,88)},setValue:function(a,b){H(a,88,!!b)}},{ua:Gma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,
82)},setValue:function(a,b){H(a,82,!!b)}},{ua:Hma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,83)},setValue:function(a,b){H(a,83,!!b)}},{ua:gma,defaultValue:0,xa:!1,getValue:function(a){return Rl(a,76)},setValue:function(a,b){K(a,76,Number(b))}},{ua:dma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,78)},setValue:function(a,b){H(a,78,!!b)}},{ua:$la,defaultValue:0,xa:!1,getValue:function(a){return Rl(a,79)},setValue:function(a,b){K(a,79,Number(b))}},{ua:Zla,defaultValue:1,xa:!1,getValue:function(a){return bl(a,
81,1)},setValue:function(a,b){G(a,81,Number(b))}},{ua:bma,defaultValue:!1,xa:!1,getValue:function(a){return du(a)},setValue:function(a,b){H(a,84,!!b)}},{ua:qma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,85)},setValue:function(a,b){H(a,85,!!b)}},{ua:fma,defaultValue:!1,xa:!1,getValue:function(a){return N(a,86)},setValue:function(a,b){H(a,86,!!b)}},{ua:ema,defaultValue:!1,xa:!1,getValue:function(a){return N(a,87)},setValue:function(a,b){H(a,87,!!b)}}];var c_=function(a,b,c){this.response=a;this.la=b===void 0?0:b;this.Ya=c===void 0?null:c};var Cra=function(a){this.o=u(a)};V(Cra,v);yD(Bo,aa);Bo.prototype.getName=function(){return this.h.name||""};
var d_={ro:1,Zn:2,NOT_FOUND_ERR:3,kn:4,mn:5,ao:6,po:7,ABORT_ERR:8,io:9,es:10,TIMEOUT_ERR:11,ho:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14},e_=(n.qd||n.Ed||d_).ro,f_=(n.qd||n.Ed||d_).NOT_FOUND_ERR,g_=(n.qd||n.Ed||d_).kn,h_=(n.qd||n.Ed||d_).mn,i_=(n.qd||n.Ed||d_).po,j_=(n.qd||n.Ed||d_).ABORT_ERR,k_=(n.qd||n.Ed||d_).io,l_=(n.qd||n.Ed||d_).TIMEOUT_ERR,m_=(n.qd||n.Ed||d_).ho,n_=(n.DOMException||d_).INVALID_ACCESS_ERR,o_=(n.DOMException||d_).INVALID_STATE_ERR,Fca=function(a){switch(a){case "UnknownError":return e_;
case "NotFoundError":return f_;case "ConstraintError":return g_;case "DataError":return h_;case "TransactionInactiveError":return i_;case "AbortError":return j_;case "ReadOnlyError":return k_;case "TimeoutError":return l_;case "QuotaExceededError":return m_;case "InvalidAccessError":return n_;case "InvalidStateError":return o_;default:return e_}},Eca=function(a){switch(a){case e_:return"UnknownError";case f_:return"NotFoundError";case g_:return"ConstraintError";case h_:return"DataError";case i_:return"TransactionInactiveError";
case j_:return"AbortError";case k_:return"ReadOnlyError";case l_:return"TimeoutError";case m_:return"QuotaExceededError";case n_:return"InvalidAccessError";case o_:return"InvalidStateError";default:return"UnknownError"}},ly=function(a,b){return"error"in a?new Bo(a.error,b):new Bo({name:"UnknownError"},b)},p_=function(a,b){return"name"in a?new Bo(a,b+": "+a.message):new Bo({name:"UnknownError"},b)};var Jra=function(a,b,c){this.connectionState=b;this.environment=c;this.h=this.g=this.j=null;this.client=q_(Dra,0,Yx(a));this.clientSessionId=C(a,94);b=Gq(a);b=bl(b,8);this.O=q_(Era,0,b);this.F=q_(Fra,0,mJ(Gq(a)));this.H=N(a,10);this.isAnonymous=Oq(Xr(a));this.da=Xy(a);this.A=Gra(a);this.buildLabel=C(a,62);this.B=ak(a,104,void 0,void 0,ze);hp(a,wp,103)?(a=zo(a),b=N(a,8)?3:q_(Hra,0,bl(a,1,1)),a=N(a,46)?q_(Ira,b,b):b):a=0;this.D=a},Gra=function(a){var b=[].concat(r(Kra.keys())),c=[].concat(r(Lra.keys())),
d=XJ(a);return b.filter(function(e){return Kra.get(e)(a)}).concat(c.filter(function(e){return d&&Lra.get(e)(d)}))},q_=function(a,b,c){a=q(a);for(var d=a.next();!d.done;d=a.next()){var e=q(d.value);d=e.next().value;e=e.next().value;if(d.includes(c))return e}return b},Mra=function(a){if(a.h)return a.h.g("aU7Ts")},Nra=function(a){if(uK(a))return 2;if($m(a))return 10;if(Ul(a))return Vl(a)?3:1;if(Ml(a))return 9;if(hL(a))return 11;if(BL(a))return 58;if(gm(a))return 15;if($l(a)){a=ws(a,1);if(a==1)return 5;
if(a==2)return 16;if(a==4)return 17;if(a==3)return 18}else{if(LP(a))return 12;if(Om(a))return 13;if(sl(a))return 19;if(Pl(a))return 20;if(Ql(a))return 24;if(Xl(a)||Yl(a))return 21}return 0},iq=function(a){return q_(Ora,0,a||22)},Pra=function(a){return[mx,El,$t,yA,zA,pn,UG,zP,IP,aQ,tK,AL,IQ,KP].some(function(b){return a instanceof b})},kq=function(a){var b=a.na;a=b.je();b=b.g();if(a)return Qra.get(a)||13;if(b)return Rra.get(b)||0},Sra=function(a,b,c){c=c===void 0?!1:c;var d=r_(fq(a)).yb(Nra(b)),e=
null;Pra(b)&&!gm(b)&&(e=b.G());e=e&&N(e,2);d=H(d,7,typeof e=="boolean"?e:void 0);e=Ul(b)?uz(b).length>0:void 0;d=H(d,8,e);if(gm(b))e=void 0;else{var f;e=(f=b.G())==null?void 0:F(f,11)}f=H(d,14,e);if(gm(b))d=311;else{var g;d=((g=b.G())==null?void 0:am(g,1))||0}G(f,12,d);c&&(c=r_(fq(a)),H(c,13,!0));if(b instanceof $t||b instanceof aQ)a=r_(fq(a)),b=b.ta().length,K(a,11,b)},s_=function(a){var b;return(b=Tra.get(a))!=null?b:0},Ora=new Map([[[1],1],[[6],7],[[2],2],[[8],4],[[3],3],[[77],8]]),Tra=new Map([[0,
0],[2,1],[1,2],[3,3]]),Ura=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]),Kra=new Map([[12,function(a){return $k(a,69)}],[24,function(a){return N(a,3)}],[9,function(a){return N(a,17)}],[21,function(a){return Lp(a)}],[2,function(a){return N(a,8,!0)}],[14,function(){return!0}],[23,function(){return!0}],[28,function(){return!0}],[125,function(a){return Ao(a,2)}],[129,function(a){return Ao(a,3)}]]),Lra=new Map([[92,function(a){return Up(a)}],[40,function(a){return N(a,
15)}],[44,function(a){return N(a,19)}],[42,function(a){return N(a,17)}],[49,function(a){return N(a,18)}],[54,function(a){return Rp(a)}],[50,function(a){return N(a,21)}],[58,function(a){return N(a,31)}],[66,function(a){return N(a,39)}],[65,function(a){return N(a,38)}],[121,function(a){return N(a,88)}],[105,function(a){return N(a,75)}],[89,function(a){return bl(a,61)===1}],[88,function(a){return bl(a,61)===2}],[98,function(a){return bl(a,68)===1}],[97,function(a){return bl(a,68)===2}],[70,function(a){return eu(a)===
1}],[71,function(a){return eu(a)===2}],[86,function(a){return bl(a,60)===1}],[87,function(a){return bl(a,60)===2}],[72,function(a){return N(a,45)}],[74,function(a){return N(a,47)}],[82,function(a){return N(a,55)}],[85,function(a){return N(a,59)}],[96,function(a){return N(a,67)}],[99,function(a){return N(a,69)}],[104,function(a){return N(a,74)}],[114,function(a){return N(a,84)}],[123,function(a){return N(a,90)}],[122,function(a){return N(a,89)}],[124,function(a){return N(a,91)}],[126,function(a){return N(a,
93)}],[127,function(a){return N(a,94)}],[128,function(a){return N(a,95)}]]),t_=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]),Dra=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[12],8],[[13],9],[[14],10],[[17],17],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[274],274],[[330],330],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],
219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[253],253],[[254],254],[[255],255],[[277],277],[[256],256],[[257],257],[[258],258],[[259],259],[[261],261],[[262],262],[[278],
278],[[263],263],[[264],264],[[265],265],[[273],273],[[272],272],[[271],271],[[266],266],[[267],267],[[268],268],[[269],269],[[270],270],[[275],275],[[276],276],[[279],279],[[280],280],[[281],281],[[282],282],[[283],283],[[284],284],[[285],285],[[286],286],[[287],287],[[288],288],[[289],289],[[290],290],[[291],291],[[292],292],[[293],293],[[294],294],[[295],295],[[296],296],[[297],297],[[298],298],[[299],299],[[300],300],[[301],301],[[302],302],[[303],303],[[304],304],[[305],305],[[306],306],[[307],
307],[[308],308],[[309],309],[[310],310],[[311],311],[[312],312],[[313],313],[[314],314],[[315],315],[[316],316],[[317],317],[[318],318],[[319],319],[[320],320],[[321],321],[[322],322],[[323],323],[[324],324],[[325],325],[[326],326],[[327],327],[[328],328],[[329],329],[[331],331],[[332],332],[[333],333],[[334],334],[[335],335],[[336],336],[[337],337],[[338],338],[[339],339],[[340],340],[[341],341],[[342],342],[[343],343],[[344],344],[[345],345],[[346],346],[[347],347],[[348],348],[[349],349],[[350],
350],[[351],351]]),Fra=new Map([[[2],3],[[1],2],[[0],1]]),u_=new Map([[[1],2],[[3],3],[[6],5],[[7],6],[[8],7],[[9],8],[[12],11]]),Vra=new Map([[[(n.qd||n.Ed||d_).Zn],1],[[f_],2],[[g_],3],[[h_],4],[[(n.qd||n.Ed||d_).ao],5],[[i_],6],[[j_],7],[[k_],8],[[l_],10],[[m_],11],[[n_],12],[[o_],13]]),Era=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]),Hra=new Map([[[0],0],[[1],1],[[2],2]]),Ira=new Map([[[3],8],[[1],6],[[2],7]]),Rra=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],
[36,8],[37,9],[38,10],[25,11],[26,15],[28,16],[32,17],[33,18],[34,19],[10,20]]),Qra=new Map([[3,14],[4,21],[6,22],[7,23],[8,24],[9,25],[10,26],[11,27],[12,28],[13,29],[14,30],[15,31],[31,32],[32,33],[33,34],[34,35],[35,36],[62,37]]);var Wra=function(a,b){this.dataType=9;this.g=a;this.N=b},Xra=function(a,b,c){return function(){var d=ac.apply(0,arguments),e=dq(a.N,106040);return Promise.resolve(b.apply(null,r(d))).then(function(f){e&&(c&&c(e,f),v_(e));return f})}};Wra.prototype.Mo=function(a,b){a=fq(a);a=Sp(a,Yra,28);a=G(a,2,1);var c=q_(u_,0,this.dataType);c=G(a,1,c);var d=0;a=0;b=q(b);for(var e=b.next();!e.done;e=b.next())e.value.value.Ya?d++:a++;b=K(c,3,d);b=K(b,4,a);a=this.g.g("mrK8ic")?3:this.g.g("zaOY7")?2:1;G(b,5,a)};var Zra=function(a){this.g=a};var $ra=function(){},asa=function(a,b,c){for(var d=q(b),e=d.next();!e.done;e=d.next())a.g.set(e.value,c);c.catch(function(){}).finally(function(){for(var f=q(b),g=f.next();!g.done;g=f.next())a.g.delete(g.value)})},csa=function(a,b){if(a.size()===0)return{zk:b};for(var c=[],d=new Map,e=q(b),f=e.next();!f.done;f=e.next()){f=f.value;let g=a.g.get(f);g?(d.has(g)||d.set(g,new Set),d.get(g).add(f)):c.push(f)}if(d.size===0)return{zk:b};a=[].concat(r(d.entries())).map(function(g){var h=q(g);g=h.next().value;
h=h.next().value;return bsa(h,g)});a=Promise.all(a).then(function(g){return g.flat()});return{zk:c,Qq:a}};var w_=function(){this.g=new Map};V(w_,$ra);w_.prototype.size=function(){return this.g.size};var bsa=async function(a,b){var c=await b;b=[];c=q(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;let e=d.key;a.has(e)&&b.push({request:e,response:d})}return b};var dsa=function(a,b){this.j=a;this.h=b;this.g=new w_},$Z=async function(a,b){if(b.length===0)return[];var c=csa(a.g,b),d=c.zk;c=c.Qq;if(d.length===b.length)return esa(a,d);a=esa(a,d);return(await Promise.all([a,c.then(function(e){return e.map(function(f){return f.response})})])).flat()},esa=async function(a,b){if(b.length===0)return[];var c=fsa(a.j,b);asa(a.g,b,c);b=await c;a.Ta(b);return b};
dsa.prototype.Ta=function(a){this.h.Ta(a.filter(function(b){return b.value.status===1}).map(so(function(b){return b.value})),1)};var gsa=function(){this.g=new Set};var x_=function(a,b,c){oh.call(this);this.j=a;this.g=b;this.h=c};V(x_,oh);var hsa=function(a){a.g.listen("k",function(b){return a.dispatchEvent(b)})};x_.prototype.Lc=function(a){return Xra(this.h,this.j.Lc,this.h.Mo.bind(this.h))(a)};x_.prototype.refresh=function(a){return this.j.eg.Yn.execute(a).then()};x_.prototype.Ta=function(a,b,c){this.g.Ta(a,b,c===void 0?1:c)};var isa=function(){},Y=function(a){return new y_(a)},A_=function(a,b){return new z_(a,b)},y_=function(a){this.g=a};V(y_,isa);y_.prototype.clear=function(a){this.g.clear(a)};y_.prototype.has=function(a){return this.g.has(a)};y_.prototype.get=function(a){return this.g.get(a)};y_.prototype.set=function(a,b){return this.g.set(a,b)};var z_=function(a,b){this.first=a;this.second=b};V(z_,isa);z_.prototype.clear=function(a){this.first.has(a)&&this.second.clear(this.first.get(a))};
z_.prototype.has=function(a){return this.first.has(a)&&this.second.has(this.first.get(a))};z_.prototype.get=function(a){return this.second.get(this.first.get(a))};z_.prototype.set=function(a,b){this.second.set(this.first.get(a),b);return a};var B_=function(a){this.h=a;this.g=[].concat(r(this.h)).sort()};B_.prototype.has=function(a){return this.h.has(a)};B_.prototype.add=function(a){this.h.add(a);this.g.push(a);this.g.sort()};B_.prototype.remove=function(a){this.h.delete(a);Na(this.g,a)};var C_=function(a,b){b=b===void 0?null:b;this.g=new Set;this.Cb=new B_(a);this.h=new B_(b?b:new Set)};C_.prototype.Re=function(){return this.Cb.g.concat([].concat(r(this.g)))};C_.prototype.mg=function(a){var b=new Set;a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.Cb.has(c)||this.g.has(c)||(this.g.add(c),b.add(c));return[].concat(r(b))};var D_=function(a){this.g=Object.assign({},a!=null?a:{},{Cb:Co})};D_.prototype.validate=function(){};D_.prototype.Ib=function(a,b){this.validate(a);if(!b)return a;this.validate(b);for(var c=new Set,d={},e=q(Object.keys(a)),f=e.next();!f.done;f=e.next())f=f.value,c.add(f),d[f]=jsa(this,f,a,b);e=q(Object.keys(b));for(f=e.next();!f.done;f=e.next())f=f.value,c.has(f)||(d[f]=jsa(this,f,a,b));return d};
var jsa=function(a,b,c,d){if(c[b]===void 0)return d[b];if(d[b]===void 0)return c[b];if(a.g[b])return a.g[b](c[b],d[b]);if(d[b]===c[b])return d[b];throw Error("db`"+String(b)+"`"+c[b]+"`"+d[b]);};var E_=function(a,b,c){this.key=a;this.operations=c;this.Cb=b==null?void 0:b.Cb};E_.prototype.accept=function(a){a.Yg(this)};var Gp=function(a){this.g=a};Gp.prototype.clear=function(a){this.g.clear(a)};Gp.prototype.has=function(a){return this.g.has(a)};Gp.prototype.Ib=function(a,b){this.has(b)&&this.g.set(a,this.g.get(b))};var F_=function(a,b,c,d,e){this.h=a;this.A=b;this.g=d;this.j=e};F_.prototype.clear=function(a){a=q(this.h.get(a));for(var b=a.next();!b.done;b=a.next())this.j.clear(b.value)};F_.prototype.has=function(a){a=q(this.h.get(a));for(var b=a.next();!b.done;b=a.next())if(this.j.has(b.value))return!0;return!1};
F_.prototype.Ib=function(a,b){var c=this,d=this.h.get(a),e=this.h.get(b);b=[];var f=new Set(e.map(function(h){return c.g.get(h)}));d=q(d);for(var g=d.next();!g.done;g=d.next()){g=g.value;let h=this.g.get(g);f.has(h)&&b.push(g)}e=q(e);for(f=e.next();!f.done;f=e.next())f=f.value,d=this.find(f,b),d||(d=new this.A,this.g.set(d,this.g.get(f)),b.push(d)),this.j.has(f)&&this.j.set(d,this.j.get(f));this.h.set(a,b)};
F_.prototype.find=function(a,b){var c=this,d=this.g.get(a);return b.find(function(e){return c.g.get(e)===d})};var G_=function(a){this.configs={};a=q(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.configs[b.key]=b;Object.freeze(this.configs)};G_.prototype.Jg=function(){var a=this;return"Configured fields: "+Object.values(this.configs).filter(function(b){return a.configs[b.key]!=null}).map(function(b){return String(b.key)}).join(",")+"\nConfigured operations: "+Object.values(this.configs).filter(function(b){return Kt(a,b.key)}).map(function(b){return String(b.key)}).join(",")};
var Kt=function(a,b){var c;return((c=a.configs[b])==null?void 0:c.operations)!=null},H_=function(a,b){var c;return(c=a.configs[b])==null?void 0:c.operations};G_.prototype.filter=function(a){var b=this;return{Br:function(c){return a.filter(function(d){return b.configs[d]!=null}).filter(function(d){return c(b.configs[d])})}}};G_.prototype.clear=function(a){var b=this;return{from:function(c){H_(b,a).clear(c)}}};
G_.prototype.Ib=function(a){var b=this;return{from:function(c){return{Wl:function(d){for(var e=q(a),f=e.next();!f.done;f=e.next())H_(b,f.value).Ib(d,c)}}}}};G_.prototype.has=function(a){var b=this;return{wb:function(c){return H_(b,a).has(c)}}};var ksa=function(a,b,c){for(var d=q(c),e=d.next();!e.done;e=d.next()){e=e.value;if(a.configs[e]==null)continue;e=a.configs[e];if(e.Cb){e=q(e.Cb);for(var f=e.next();!f.done;f=e.next())f=f.value,b.has(f)||(b.add(f),c.push(f))}}return[b,c]};var I_=function(a){this.j=a;this.fields=new Map},nsa=function(a){for(var b=q(lsa),c=b.next();!c.done;c=b.next()){var d=a;c=c.value;let e=c.key;if(d.fields.has(e)){let f=d.fields.get(e);if(f.operations&&f.operations!==c.operations)throw Error("eb`"+String(e));f.operations=c.operations}else d.fields.set(c.key,{operations:c.operations});c.config&&(msa(d,c.key,c.config),delete c.config)}},msa=function(a,b,c){a.j.validate(c);a.fields.has(b)?a.fields.get(b).config=a.j.Ib(c,a.fields.get(b).config):a.fields.set(b,
{config:c})},Op=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;msa(a,c,d)}return a};I_.prototype.build=function(){this.validate();return this.A()};I_.prototype.validate=function(){osa(this)};
var osa=function(a){for(var b=new Set,c=new Set,d=function(g){if(!c.has(g)){if(b.has(g))throw Error("fb`"+String(g));b.add(g);var h=a.fields.get(g),k;if(h==null?0:(k=h.config)==null?0:k.Cb)for(h=q(h.config.Cb),k=h.next();!k.done;k=h.next())d(k.value);c.add(g)}},e=q(a.fields.keys()),f=e.next();!f.done;f=e.next())d(f.value)};var psa=function(){this.children={}},jr=function(a,b,c){if(!(c>=b.length)){var d=b[c];a.children[d]!=null||(a.children[d]=new Cp(d));jr(a.children[d],b,c+1)}},Dp=function(a,b){b=b instanceof Cp?b:new Cp(b);a.children[b.name]!=null?a.children[b.name].Ib(b):a.children[b.name]=b},qsa=function(a){return Object.values(a.children).map(function(b){return b.toString()}).join(",")},rsa=function(a,b){if(a.children===b.children)return!0;if(Object.keys(a.children).length!==Object.keys(b.children).length)return!1;
a=q(Object.values(a.children));for(var c=a.next();!c.done;c=a.next())if(c=c.value,b.children[c.name]==null||!c.equals(b.children[c.name]))return!1;return!0},Cp=function(a,b){this.children={};this.name=a;if(this.name.match(ssa))throw Error("gb`"+this.name);b&&this.g.apply(this,r(b))};V(Cp,psa);Cp.prototype.g=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())Dp(this,b.value);return this};
Cp.prototype.Ib=function(a){a=q(Object.values(a.children));for(var b=a.next();!b.done;b=a.next())Dp(this,b.value)};Cp.prototype.toString=function(){var a=qsa(this);return a.length>0?this.name+"("+a+")":this.name};Cp.prototype.equals=function(a){return this.name===a.name&&rsa(this,a)};var ssa=new RegExp(/[\(,\)]/),Uq=function(){var a=ac.apply(0,arguments);this.children={};this.g.apply(this,r(a))};V(Uq,psa);
Uq.prototype.g=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())Dp(this,b.value);return this};var br=function(a){return Object.values(a.children)};Uq.prototype.toString=function(){return qsa(this)};Uq.prototype.equals=function(a){return rsa(this,a)};var tsa=function(a){this.M=a};var Fo=function(a){this.root="drive.ds";this.log=a;this.g=new Map};Fo.prototype.ia=function(a){var b=this.g.get(a);b||(b=new usa(this.root+"."+a,this.log),this.g.set(a,b));return b};var usa=function(a,b){this.name=a;this.g=b};l=usa.prototype;l.Zc=function(a,b){this.log(a,"severe",b)};l.Ba=function(a,b){this.log(a,"warning",b)};l.info=function(a,b){this.log(a,"info",b)};l.config=function(a,b){this.log(a,"config",b)};l.log=function(a,b,c){this.g.Uf(this.name,a,b,c)};var Eo=function(){this.h=[];this.g=!1;this.startTime=Date.now()};Eo.prototype.Uf=function(a,b,c,d){c==="severe"&&(d||(d=Error("hb`"+c)));if(this.g)for(b={logName:a,msg:b,level:c,totalTimeMs:Date.now()-this.startTime,exception:d},a=q(this.h),c=a.next();!c.done;c=a.next())c=c.value,c(b)};var Ho=function(a,b){a.h.push(b)};l=Do.prototype;l.add=function(a){var b=this.g[this.h];this.g[this.h]=a;this.h=(this.h+1)%this.j;return b};l.get=function(a){a=vsa(this,a);return this.g[a]};l.set=function(a,b){a=vsa(this,a);this.g[a]=b};l.Va=function(){return this.g.length};l.ib=function(){return this.g.length==0};l.clear=function(){this.h=this.g.length=0};l.uc=function(){var a=this.Va(),b=this.Va(),c=this.Va()-a;for(a=[];c<b;c++)a.push(this.get(c));return a};
var vsa=function(a,b){if(b>=a.g.length)throw Error("ib");return a.g.length<a.j?b:(a.h+Number(b))%a.j};var Go=function(){this.g=[];this.h=new Do(2500)},lA=function(a){var b=a.g.map(Hca);a.h.Va()>0&&b.push("...\t|\t...\t|\t...\t|\t...");return b.join("\n")};Go.prototype.j=function(a){this.g.length<2500?this.g.push(a):this.h.add(a)};var J_=function(a,b){$g.call(this,wsa);this.error=a;this.retryCount=b};V(J_,$g);var wsa=new Zg("u0pjoe");var K_=new Zg("WPi0i"),L_=function(a,b,c){$g.call(this,a);this.changes=b;this.la=c};V(L_,$g);var M_=function(a,b){L_.call(this,xsa,a,b)};V(M_,L_);var xsa=new Zg("IvY88d");var N_=function(a){$g.call(this,ysa);this.Wj=a};V(N_,$g);var ysa=new Zg("I8AUpe");var Asa=function(a){$g.call(this,zsa);this.id=a};V(Asa,$g);var zsa=new Zg("xW2Yod");var Bsa=xsa,O_=zsa,Csa=ysa,P_=new Zg("SDqDXe"),Dsa=wsa;var Q_=function(a,b,c){oh.call(this);this.request=a;this.K=b;this.H=0;this.g=!1;this.Z=null;this.I=c.ia("sync.query.SimpleFindByIdsRunner");this.de=new Set};V(Q_,oh);
Q_.prototype.run=function(){var a=this;if(this.Z)return this.Z.promise;this.Z=new py;this.g=!0;for(var b=q(this.B(this.request)),c=b.next();!c.done;c=b.next()){c=q(c.value);let d=c.next().value,e=c.next().value;this.H++;this.K.then(function(f){return f.route(e)}).then(function(f){a.j(f);Esa(a,d)},function(f){return void a.handleError(d,f)})}return this.Z.promise};var Esa=function(a,b){a.de.add(b);a.isCompleted()?(a.g=!1,a.D(a.request),a.dispatchEvent(P_),a.Z.resolve()):a.dispatchEvent(K_)};
Q_.prototype.isCompleted=function(){return this.de.size===this.H};Q_.prototype.handleError=function(a,b){b=co(b);var c=b.na;am(c,2)===5||am(c,10)===4?(this.I.info("Deleting "+a+" due to: "+b.message),this.F(a),Esa(this,a)):(this.g=!1,a=new J_(c,c.Qc()),this.dispatchEvent(a),this.Z.reject(b))};Q_.prototype.Wc=function(){return this.g};var R_=function(a,b){oh.call(this);this.request=a;this.pageToken="";this.g=this.h=!1;this.data=[];this.mc=0;this.B=b};V(R_,oh);var S_=function(a){return!a.h||a.pageToken!==""};R_.prototype.run=function(a){this.mc=a===void 0?1E5:a;return!this.g&&this.data.length<=this.mc&&S_(this)?Fsa(this):Promise.resolve([])};
var Fsa=function(a){a.h=!0;a.g=!0;var b=a.Ah(a.request,a.mc-a.data.length,a.pageToken);return Promise.resolve(a.B(b)).then(function(c){return Gsa(a,c)},function(c){return a.handleError(c)})},Gsa=function(a,b){a.g=!1;a.pageToken=a.Oh(b);b=a.Mh(b);b.forEach(function(c){return a.data.push(c)});a.gh(b);return a.data.length<a.mc&&S_(a)?Promise.all([Promise.resolve(b),Fsa(a)]).then(function(c){return c[0].concat(c[1])}):Promise.resolve(b)};
R_.prototype.handleError=function(a){this.g=!1;a=co(a);var b=new J_(a.na,a.na.Qc());this.Sk(b);this.dispatchEvent(b);throw a;};R_.prototype.gh=function(){};R_.prototype.Sk=function(){};var T_=function(){oh.apply(this,arguments)};V(T_,oh);var U_=function(a,b){b.oa.config=Object.assign({},b.oa.config,{Rp:!0});a.dispatchEvent(new Hsa(b))};T_.prototype.h=function(){};var Hsa=function(a){$g.call(this,"m");this.request=a};V(Hsa,$g);var V_=function(a){oh.call(this);this.name=a};V(V_,oh);l=V_.prototype;l.ue=function(){};l.Ig=function(){};l.gi=function(){};l.Hi=function(){};l.Zj=function(){};l.Yj=function(){};l.Ab=function(){this.dispatchEvent(new $g("n"))};l.toString=function(){return this.name+": "+this.max(Infinity)};var W_=function(a,b,c,d,e,f){oh.call(this);var g=this;this.S=a;this.j=b;this.g=c;this.h=d;this.D=e;this.name=f;this.V=0;this.B=new Map;this.F=!1;this.ma=new bi(this);this.Da(this.ma);a=q(this.g);for(b=a.next();!b.done;b=a.next())this.ma.listen(b.value,"n",function(){Isa(g)});a=q(this.D);for(b=a.next();!b.done;b=a.next())this.ma.listen(b.value,"m",function(h){Jsa(g,!0,h.request)});this.I=this.S.ia(Wk("network.routing.queue.Queue [%s]",f))};V(W_,oh);
var Isa=function(a){a.F||(a.F=!0,n.setTimeout(function(){a.F=!1;a.H()},0))};W_.prototype.getName=function(){return this.name};W_.prototype.add=function(a){var b=this,c=new py;Jsa(this,!1,{oa:a,Z:c,responses:[]});return c.promise.catch(function(d){throw co(d,"addExisting request:"+mm(a.L)+(" size:"+X_(b)));})};
W_.prototype.cancel=function(a){for(var b=this.j.cancel(a),c=null,d=q(this.h),e=d.next();!e.done&&!(c=e.value.cancel(a));e=d.next());if(b)this.log("Canceled ID "+a+" during execution.");else if(c)for(this.log("Canceled ID "+a+" inside bucket."),a=0;a<this.g.length;a++)this.g[a].Yj(c);return!(!b&&!c)};W_.prototype.Mc=function(){return this.j.Mc()?!0:this.h.some(function(a){return a.Mc()})};
var Jsa=function(a,b,c){if(a.h.some(function(e){return e.add(c,b)})){var d=X_(a);for(let e=0;e<a.g.length;e++)a.g[e].ue(c,d)}else d=Ct(new Rn,"No queue bucket accepted request."),a=co(d,"No queue bucket accepted request "+mm(c.oa.L)+(" placeAtHead:"+b+" size:"+X_(a))),c.Z.reject(a)};
W_.prototype.H=function(){var a=X_(this);if(a){var b=this.g.reduce(function(d,e){return Math.min(d,e.max(a))},Infinity);if(b!==0){var c=[];for(let d=0;d<this.h.length&&c.length===0;d++)c=this.h[d].Dh(b);c.length>0&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.g.join(", ")+"}"),this.execute(c))}}};
W_.prototype.execute=function(a){var b=this,c=String(this.V++);this.B.set(c,a);var d=this.j.execute(a);for(let f=0;f<a.length;f++){let g=a[f].oa.config;this.log(mm(a[f].oa.L)+" request sent. xd4: "+!(!g||!g.Nc));d[f].then(function(h){Ksa(b,a[f],h)},function(h){Lsa(b,a[f],h)}).catch(function(){ok("executePromise[:"+f+"] failed for "+mm(a[f].oa.L)+(" xd4: "+!(!g||!g.Nc)),Error("jb"),"warning")})}var e=X_(this);for(let f=0;f<this.g.length;f++)this.g[f].Ig(a,e);Promise.allSettled(d).then(this.K.bind(this,
a)).finally(function(){b.B.delete(c)});n.setTimeout(this.H.bind(this),0)};
var Ksa=function(a,b,c){var d=b.oa.config;a.log(mm(b.oa.L)+" request completed successfully. xd4: "+!(!d||!d.Nc));a.g.forEach(function(e){e.Hi(b)});a.D.forEach(function(e){e.h(b)});b.Z.resolve(c)},Lsa=function(a,b,c){var d=b.responses.length+1;c=co(c);c.na.hh(d);a.log(mm(b.oa.L)+(" request failed with error: "+c.h+"."));b.responses.push({response:c,nr:Date.now()});for(d=0;d<a.g.length;d++)a.g[d].Zj(b);b.oa.config.te||!a.D.some(function(e){return e.intercept(b)})?b.Z.reject(c):a.log(mm(b.oa.L)+" encountered an error, but was intercepted to be retried.")};
W_.prototype.K=function(a){X_(this);for(let b=0;b<this.g.length;b++)this.g[b].gi(a)};var X_=function(a){var b=0;for(let c=0;c<a.h.length;c++)if(a.h[c].getSize()){b=a.h[c].getSize();break}return b};W_.prototype.log=function(a){this.I.info(a)};
W_.prototype.wj=function(){for(var a=[],b=q(this.B),c=b.next();!c.done;c=b.next()){c=q(c.value);c.next();c=c.next().value;c=q(c);for(var d=c.next();!d.done;d=c.next())(d=d.value.oa.config.timestamp)&&a.push(d)}b=q(this.h);for(c=b.next();!c.done;c=b.next())Ra(a,c.value.wj());return a};var Y_=function(){this.g=new iV};Y_.prototype.observe=function(a){return kV(this.g).h(Ai(function(b){return b.type===a}))};Y_.prototype.Uf=function(a){this.g.next(a)};var Z_=null;var $_=function(a,b){this.g=a;this.config=b};$_.prototype.Th=function(a){return Object.prototype.hasOwnProperty.call(this.config.methods,a)};$_.prototype.hl=function(){return Object.keys(this.config.methods)};$_.prototype.Ab=async function(a){var b=ac.apply(1,arguments),c=await this.g;return c[a].bind(c).apply(null,r(b))};var a0=function(a,b){this.channel=a;this.g=b};a0.prototype.Ab=async function(a){var b=Jo(a,ac.apply(1,arguments),{ca:!0});b=await this.channel.Rg(b.payload,b.transfer);b=Po(b.data,a,this.g.Il);if(b.hf)return b.response;throw b.error;};var b0=function(a,b){this.config=a;this.g=b};b0.prototype.Th=function(a){return this.config.methods.hasOwnProperty(a)};b0.prototype.hl=function(){return Object.keys(this.config.methods)};b0.prototype.Ab=async function(a){return this.g.Ab.apply(this.g,[this.config.methods[a]].concat(r(ac.apply(1,arguments))))};var c0=function(a){this.options=a};c0.prototype.proxy=function(a){if(this.options.xr)a=Jca(a);else{let d={};for(var b=q(a.hl()),c=b.next();!c.done;c=b.next())c=c.value,d[c]=a.Ab.bind(a,c);a=d}return a};var d0=function(a){Yg.call(this);this.h=a};V(d0,Yg);var Msa=function(a,b){a=a.h;if(a.h.has(e0.serviceId))throw Error("lb`"+e0.serviceId);b={config:e0,service:b};a.h.add(e0.serviceId);f0(a,e0.serviceId).resolve(b)},Nsa=async function(a,b){return(await f0(a.h,b.serviceId).promise).service};var g0={xr:!1};var h0=function(){this.xb={};this.g={};this.h=new Set},f0=function(a,b){a.xb[b]||(a.xb[b]=new SY(function(){return Qo(b)}));return a.xb[b]},Osa=function(a,b){a.g[b]||(a.g[b]=new SY(function(){return Qo(b)}));return a.g[b]};var Psa=function(a,b){d0.call(this,a);this.j=b;this.g=null};V(Psa,d0);var Qsa=function(){var a=new h0,b=new c0(Object.assign({},g0,void 0));return new Psa(a,b)},Rsa=function(){var a=Qsa(),b=Qsa();a.g=b;b.g=a;return{To:a,Uo:b}},Ssa=function(a){var b=e0,c=Nsa(a.g,b);return{proxy:a.j.proxy(new $_(c,b)),dispose:function(){}}};var i0=function(a){this.g=a},Tsa=async function(a,b,c,d){try{var e=Lo(d,c);let f=await b.apply(null,r(e.call.args));return No(f,c,{ca:!0})}catch(f){return Oo(a.g.Zq(f,c.aa),a.g.Il)}};var ap=function(a,b){this.data=a;this.channel=b};ap.prototype.reply=function(a,b,c){this.channel.send(a,b,c)};var Usa=Promise;var j0=function(a){this.g=a};j0.prototype.send=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;Vsa(d.port1,b);this.g.postMessage(a,[d.port2].concat(c))};j0.prototype.Rg=function(a,b){var c=this;return new Usa(function(d){c.send(a,d,b)})};var Wsa=function(a,b){Vsa(a,b);return new j0(a)},Vsa=function(a,b){b&&(a.onmessage=function(c){var d=c.data;c=Wsa(c.ports[0]);b(new ap(d,c))})};var $o=function(a,b){Yg.call(this);var c=this;this.port=a;uT(this,function(){c.close()});this.gj=function(d){d.data==="ueR9ye"&&c.dispose()};this.port.addEventListener("message",this.gj);this.Tj=Wsa(a,b)};V($o,Yg);var bp=function(a,b){return new $o(a,So(b))};$o.prototype.send=function(a,b,c){Xsa(this,a);this.Tj.send(a,b,c)};$o.prototype.Rg=async function(a,b){Xsa(this,a);return await this.Tj.Rg(a,b)};
var Xsa=function(a,b){if(a.isDisposed()){let c;try{c=JSON.stringify(b)}catch(d){c=String(b)}throw Error("mb`"+c);}};$o.prototype.close=function(){try{this.Tj.send("ueR9ye")}catch(a){}this.gj&&this.port.removeEventListener("message",this.gj);this.port.onmessage=null;this.port.close()};var k0=To(QD),ep=To(hc),l0=To(ic),Ysa=To(mia),Kca=To(Rt),m0=To(ro),Yo=To(Sb(function(a){return a===void 0})),Zsa=To(Tb(n.File)),$sa=To(Tb(n.Blob)),fp=function(a){return{sb:a,jb:function(b){return vo(b,[b])},fb:function(b){return b}}}(Tb(MessagePort)),bA=L(Rn);var n0=function(a,b){this.g=a;this.h=b};n0.prototype.Jo=async function(a,b){a=await f0(this.g,a).promise;o0(this.h,a.service,a.config,b)};n0.prototype.Vo=async function(a,b){var c=ac.apply(2,arguments),d=await Osa(this.g,a).promise,e=d.vs;d=d.config;c=Ko(c,d.yl);var f=e.apply(null,r(c));uT(o0(this.h,f,d,b),function(){Wg(f)})};
var ata={serviceId:"ServiceBinder",methods:{Jo:Ro({aa:"SK2AO",params:[ep,fp],response:Yo}),Vo:gp.apply(null,r(function(a){return function*(){yield a}()}({sb:Sb(function(){return!0}),jb:function(a){return vo(a)},fb:function(a){return a}})))}};var bta=function(a){this.g=a},o0=function(a,b,c,d){for(var e={},f=q(Object.entries(c.methods)),g=f.next();!g.done;g=f.next()){var h=q(g.value);g=h.next().value;h=h.next().value;if(typeof b[g]!=="function")throw Error("ob`"+g+"`"+c.serviceId);e[h.aa]=g}return bp(d,async function(k){var m=e[k.data.m];m=await Tsa(a.g,b[m].bind(b),c.methods[m],k.data);k.reply(m.payload,void 0,m.transfer)})};var p0=function(a){Yg.call(this);var b=this;this.g=a;uT(this,function(){b.g.then(function(c){c.dispose()})})};V(p0,Yg);p0.prototype.send=function(a,b,c){this.g.then(function(d){d.send(a,b,c)})};p0.prototype.Rg=async function(a,b){return(await this.g).Rg(a,b)};var q0=function(a,b,c,d){d0.call(this,a);this.g=b;this.A=c;this.B=d};V(q0,d0);
var cta=function(a,b){var c=Object.assign({},g0,void 0);c=new c0(c);var d=new h0,e=new bta(new i0(b));a=o0(e,new n0(d,e),ata,a);return new q0(d,new a0(a,b),c,b)},dta=function(a,b){var c=Object.assign({},g0,void 0);c=new c0(c);var d=new h0,e=new bta(new i0(b)),f=new n0(d,e);a=new p0(a.then(function(g){return o0(e,f,ata,g)}));return new q0(d,new a0(a,b),c,b)},fta=async function(a){var b=r0,c=await eta(a);b=cta(c,b);uT(b,function(){a.terminate()});return b},gta=function(a){var b=r0,c=eta(a);b=dta(c,
b);uT(b,function(){a.terminate()})},eta=function(a){var b=new MessageChannel,c=b.port1,d=b.port2;b=Object.assign({},{Ap:2E4,Ip:!1},void 0);var e=b.Ap,f=b.Ip,g,h;b=new Promise(function(k,m){g=function(p){var t;((t=p.data)==null?void 0:t.type)==="ack"&&k(c)};h=function(p){p=p.error instanceof Error?p.error:p.error?Error("pb`"+p.error):typeof p.message==="string"&&p.message?Error("pb`"+p.message):Error("pb`"+p);f||m(p)};a.addEventListener("message",g);a.addEventListener("error",h);try{a.postMessage({type:"syn",
port:d},[d])}catch(p){m(p instanceof Error?p:Error(String(p)))}});b=Kk(b,e,function(){return Error("qb`"+e/1E3)});b.catch(function(){}).finally(function(){a.removeEventListener("message",g);a.removeEventListener("error",h)});return b};q0.prototype.j=function(a){var b=ac.apply(1,arguments),c=new MessageChannel,d=c.port1;c=c.port2;var e=gp.apply(null,r(a.yl));b=this.g.Ab.apply(this.g,[e,a.serviceId,c].concat(r(b))).then(function(){return bp(d)});b=new p0(b);return hta(this,a,b)};
var hta=function(a,b,c){return{proxy:a.A.proxy(new b0(b,new a0(c,a.B))),dispose:function(){c.dispose()}}};var ita=function(a){$g.call(this,"o");this.dataType=a};V(ita,$g);var t0=function(a){$g.call(this,s0);this.error=a};V(t0,$g);var s0=new Zg("VCTNbb");var jta=function(a,b,c){$g.call(this,"p");this.requestId=a;this.progress=b;this.h=c};V(jta,$g);var u0=function(a,b){$g.call(this,"q");this.percentDone=a;this.Fo=b};V(u0,$g);var v0=function(a,b,c,d,e){this.item=a;this.count=b===void 0?0:b;this.kb=c===void 0?1:c;this.h=d;this.g=e===void 0?0:e;this.j=!1};l=v0.prototype;l.clone=function(){return new v0(this.item.clone(),this.count,this.kb,this.h,this.g)};l.getId=function(){return DA(this.item)};l.Va=function(){return this.count};l.getItem=function(){return this.item};l.equals=function(a){return this.count===a.Va()&&this.kb===a.kb&&this.h===a.h&&this.g===a.g&&Np(this.item,a.getItem())};var w0=function(a,b,c){this.id=a;this.h=b;this.g=c},x0=function(a,b){return new w0((a?a:b).getId(),a,b)},y0=function(a){return new w0(a.getId(),null,a)};var z0=function(a){this.S=a;this.h=new Map;this.A=new Set;this.enabled=!0;this.error=null;this.j=!1},A0=function(a,b,c){if(a.j)throw Error("rb");c={Uj:new Set(b),callback:c};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.h.get(d)||[];e.push(c);a.h.set(d,e)}},mta=function(a,b,c){a.enabled||kta(a);b=b.filter(function(e){return!a.A.has(e)});if(b.length>0){c={Uj:new Set(b),callback:c};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.h.get(d)||[];e.push(c);a.h.set(d,e)}}else lta(a,
c)},B0=function(a,b){if(!a.j)throw Error("sb");a.enabled||kta(a);a.log("Passing Milestone: "+b);a.A.add(b);var c=a.h.get(b);if(c){a.h.delete(b);for(let d=0;d<c.length;++d){let e=c[d];e.Uj.delete(b);e.Uj.size===0&&lta(a,e.callback)}}};z0.prototype.g=function(a){return this.A.has(a)};z0.prototype.start=function(){this.j=!0};
var lta=function(a,b){try{b()}catch(c){throw a.enabled=!1,a.error=c?Zn(c):null,c;}},kta=function(a){throw Error("tb`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));};z0.prototype.log=function(a){this.S.ia("MilestoneManager").info(a)};var C0=Y({clear:function(a){return S(a,1)},has:function(a){return R(a,1)},get:function(a){return D(a,1)},set:function(a,b){return E(a,1,b)}});var D0=Y({clear:function(a){return S(a,2)},has:function(a){return R(a,2)},get:function(a){return D(a,2)},set:function(a,b){return E(a,2,b)}});var E0=Y({clear:function(a){return S(a,3)},has:function(a){return R(a,3)},get:function(a){return D(a,3)},set:function(a,b){return E(a,3,b)}});var F0=Y({clear:function(a){return S(a,4)},has:function(a){return Ys(a,4)},get:function(a){return ws(a,4)},set:function(a,b){return G(a,4,b)}});var nta=Y({clear:function(a){return S(a,158)},has:function(a){return a.hasAudio()},get:function(a){return Sp(a,os,158)},set:function(a,b){return I(a,158,b)}});var G0=Y({clear:function(a){return S(a,84)},set:function(a,b){return xr(a,b)},has:function(a){return hp(a,wr,84)},get:function(a){return Sp(a,wr,84)}});var ota=Y({clear:function(a){return S(a,138)},has:function(a){return hp(a,fs,138)},get:function(a){return Sp(a,fs,138)},set:function(a,b){return xI(a,b)}});var pta=Y({clear:function(a){return S(a,111)},has:function(a){return hp(a,is,111)},get:function(a){return Sp(a,is,111)},set:function(a,b){return I(a,111,b)}});var H0=Y({clear:function(a){return S(a,73)},has:function(a){return hp(a,sH,73)},get:function(a){return Sp(a,sH,73)},set:function(a,b){return bI(a,b)}});var I0=A_(H0,{clear:function(a){return S(a,10)},has:function(a){return hp(a,pH,10)},get:function(a){return Sp(a,pH,10)},set:function(a,b){return I(a,10,b)}});var J0=Y({clear:function(a){return S(a,91)},has:function(a){return hp(a,nv,91)},get:function(a){return Sp(a,nv,91)},set:function(a,b){return iI(a,b)}});var K0=Y({clear:function(a){return S(a,172)},has:function(a){return hp(a,Yr,172)},get:function(a){return Sp(a,Yr,172)},set:function(a,b){return FI(a,b)}});var qta=Y({clear:function(a){return S(a,170)},has:function(a){return hp(a,lH,170)},get:function(a){return Sp(a,lH,170)},set:function(a,b){return I(a,170,b)}});var L0=Y({clear:function(a){return S(a,27)},has:function(a){return hp(a,ns,27)},get:function(a){return Sp(a,ns,27)},set:function(a,b){return I(a,27,b)}});var M0=Y({clear:function(a){return S(a,173)},has:function(a){return hp(a,Yr,173)},get:function(a){return Sp(a,Yr,173)},set:function(a,b){return GI(a,b)}});var N0=Y({clear:function(a){return S(a,17)},has:function(a){return hp(a,nv,17)},get:function(a){return Sp(a,nv,17)},set:function(a,b){return KH(a,b)}});var O0=Y({clear:function(a){return S(a,139)},has:function(a){return hp(a,ss,139)},get:function(a){return Sp(a,ss,139)},set:function(a,b){return yI(a,b)}});var rta=Y({clear:function(a){return S(a,156)},has:function(a){return hp(a,vH,156)},get:function(a){return Sp(a,vH,156)},set:function(a,b){return BI(a,b)}});var P0=Y({clear:function(a){return S(a,175)},has:function(a){return hp(a,Yr,175)},get:function(a){return Sp(a,Yr,175)},set:function(a,b){return II(a,b)}});var sta=Y({clear:function(a){return S(a,14)},has:function(a){return R(a,14)},get:function(a){return D(a,14)},set:function(a,b){return E(a,14,b)}});var Q0=Y({clear:function(a){return S(a,11)},has:function(a){return R(a,11)},get:function(a){return D(a,11)},set:function(a,b){return Qr(a,b)}});var R0=Y({clear:function(a){return S(a,2)},has:function(a){return R(a,2)},get:function(a){return a.J()},set:function(a,b){return Rr(a,b)}});var S0=Y({clear:function(a){return S(a,15)},has:function(a){return R(a,15)},get:function(a){return D(a,15)},set:function(a,b){return E(a,15,b)}});var T0=Y({clear:function(a){return S(a,174)},has:function(a){return hp(a,Yr,174)},get:function(a){return Sp(a,Yr,174)},set:function(a,b){return HI(a,b)}});var U0=Y({clear:function(a){return S(a,47)},has:function(a){return hp(a,nv,47)},get:function(a){return Sp(a,nv,47)},set:function(a,b){return UH(a,b)}});var V0=Y({clear:function(a){return S(a,132)},has:function(a){return hp(a,BH,132)},get:function(a){return Sp(a,BH,132)},set:function(a,b){return tI(a,b)}});var W0=Y({clear:function(a){return S(a,148)},has:function(a){return hp(a,ks,148)},get:function(a){return Sp(a,ks,148)},set:function(a,b){return Yu(a,b)}});var X0=Y({clear:function(a){return S(a,95)},has:function(a){return hp(a,nv,95)},get:function(a){return Sp(a,nv,95)},set:function(a,b){return lI(a,b)}});var Y0=Y({clear:function(a){return S(a,103)},has:function(a){return hp(a,ps,103)},get:function(a){return Sp(a,ps,103)},set:function(a,b){return I(a,103,b)}});var Ft=new Map([[227,"abuseIsAppealable"],[228,"abuseNoticeReason"],[242,"accessRequestsCount"],[74,"actionItems"],[120,"alternateLink"],[188,"ancestorHasAugmentedPermissions"],[149,"appliedCategories"],[148,"approvalMetadata/approvalSummaries"],[138,"approvalMetadata/approvalVersion"],[277,"audioMediaMetadata/durationMillis"],[184,"authorizedAppIds"],[241,"labelInfo"],[76,"capabilities/canAddChildren"],[223,"capabilities/canAddEncryptedChildren"],[208,"capabilities/canAddFolderFromAnotherDrive"],
[185,"capabilities/canAddMyDriveParent"],[224,"capabilities/canBlockOwner"],[156,"canChangeCategoryReferences"],[213,"capabilities/canChangeSecurityUpdateEnabled"],[61,"capabilities/canComment"],[240,"capabilities/canCopyEncryptedFile"],[258,"capabilities/canCopyNonAuthoritative"],[216,"capabilities/canCreateDecryptedCopy"],[217,"capabilities/canCreateEncryptedCopy"],[259,"capabilities/canDownloadNonAuthoritative"],[77,"capabilities/canDelete"],[134,"capabilities/canDeleteChildren"],[147,"capabilities/canEditCategoryMetadata"],
[300,"capabilities/canInitiateEsignature"],[89,"capabilities/canListChildren"],[81,"capabilities/canManageMembers"],[114,"capabilities/canModifyContentRestriction"],[133,"capabilities/canMoveChildrenOutOfTeamDrive"],[202,"capabilities/canMoveChildrenWithinDrive"],[101,"capabilities/canMoveItemIntoTeamDrive"],[201,"capabilities/canMoveItemOutOfDrive"],[131,"capabilities/canMoveItemOutOfTeamDrive"],[200,"capabilities/canMoveItemWithinDrive"],[130,"capabilities/canMoveItemWithinTeamDrive"],[93,"capabilities/canMoveTeamDriveItem"],
[191,"capabilities/canRead"],[146,"capabilities/canReadCategoryMetadata"],[90,"capabilities/canReadTeamDrive"],[78,"capabilities/canRemoveChildren"],[186,"capabilities/canRemoveMyDriveParent"],[85,"capabilities/canRename"],[276,"capabilities/canReportNotSpam"],[236,"capabilities/canReportSpamOrAbuse"],[137,"capabilities/canRequestApproval"],[209,"capabilities/canSetMissingRequiredFields"],[79,"capabilities/canShare"],[189,"capabilities/canShareChildFiles"],[190,"capabilities/canShareChildFolders"],
[80,"capabilities/canTrash"],[135,"capabilities/canTrashChildren"],[102,"capabilities/canUntrash"],[69,"changed"],[194,"clientEncryptionDetails/decryptionMetadata/wrappedKey,clientEncryptionDetails/decryptionMetadata/kaclsId,clientEncryptionDetails/decryptionMetadata/kaclsName,clientEncryptionDetails/decryptionMetadata/aes256GcmChunkSize,clientEncryptionDetails/decryptionMetadata/jwt,clientEncryptionDetails/decryptionMetadata/keyFormat,clientEncryptionDetails/decryptionMetadata/guestIdp"],[193,"clientEncryptionDetails/encryptionState"],
[1004,"containsUnsubscribedChildren"],[136,"contentRestrictions/readOnly"],[115,"contentRestriction/readOnly"],[116,"contentRestriction/reason"],[34,"capabilities/canCopy"],[9,"createdDate"],[91,Ep("creator")],[180,"creator/permissionId"],[252,"creator/id"],[206,"creator/organizationDisplayName"],[338,"creatorAgent/agentId"],[339,"creatorAgent/name"],[340,"creatorAgent/photoUrl"],[350,"creatorAgent/state"],[43,"source/client_service_id,source/value"],[187,"customerId"],[26,"description"],[108,"detectors"],
[41,"capabilities/canDownload"],[42,""],[302,"editSource"],[59,"capabilities/canEdit"],[318,"embedLink"],[28,"explicitlyTrashed"],[44,"fileExtension"],[13,"fileSize"],[48,"flaggedForAbuse"],[38,"folderColor"],[86,"folderColorRgb"],[49,"folderFeatures"],[322,"gmailMessageStorageId"],[104,"hasAppsScriptAddOn"],[39,"hasChildFolders"],[243,"approvalMetadata/hasIncomingApproval"],[87,"hasAugmentedPermissions"],[62,"hasThumbnail"],[100,"hasVisitorPermissions"],[72,"headRevisionId"],[5,"labels/hidden"],
[20,""],[21,"id"],[29,"imageMediaMetadata/date"],[31,"imageMediaMetadata/height"],[92,"imageMediaMetadata/rotation"],[30,"imageMediaMetadata/width"],[279,"inheritedPermissionsDisabled"],[235,"quotaInfo/individualQuotaBytesTotal"],[16,Ep("lastModifyingUser")],[168,"lastModifyingUser/permissionId"],[248,"lastModifyingUser/id"],[204,"lastModifyingUser/organizationDisplayName"],[341,"lastModifyingAgent/agentId"],[342,"lastModifyingAgent/name"],[343,"lastModifyingAgent/photoUrl"],[351,"lastModifyingAgent/state"],
[12,"lastViewedByMeDate"],[210,"resourceKey"],[211,"linkShareMetadata/securityUpdateEligible"],[212,"linkShareMetadata/securityUpdateEnabled"],[220,"linkShareMetadata/securityUpdateExplicitlySet"],[157,"categoryReferences"],[273,"itemLocation"],[3,"mimeType"],[11,"modifiedByMeDate"],[347,"modifiedByMeAgent/agentId"],[348,"modifiedByMeAgent/name"],[349,"modifiedByMeAgent/photoUrl"],[353,"modifiedByMeAgent/state"],[10,"modifiedDate"],[50,""],[18,""],[95,"organizationDisplayName"],[58,"ownedByMe"],[14,
Ep("owners")],[164,"owners/permissionId"],[195,"owners/emailAddressFromAccount"],[244,"owners/id"],[203,"owners/organizationDisplayName"],[103,"pairedDocType"],[1,"parents/id"],[96,"passivelySubscribed"],[75,function(a){a=a.Pb;var b=new Cp("selectPermissions",["kind","id"]);a||Dp(b,"name");Dp(b,"userId");a&&Dp(b,"nameIfNotUser");b.g("emailAddress","domain","role","type");a||Dp(b,"photoLink");b.g("additionalRoles","view","audienceId","customerId");return new Cp("permissionsSummary",["entryCount",new Cp("visibility",
["type","domain","withLink"]),b])}],[94,"primaryDomainName"],[45,"primarySyncParentId"],[124,"publishingInfo/published"],[125,"publishingInfo/publishedUrl"],[32,"quotaBytesUsed"],[218,"quotaInfo/quotaBytesUsed"],[67,"recency"],[68,"recencyReason"],[221,"removeSecureLinkUpdateForAllFiles"],[7,"labels/restricted"],[122,"restrictions"],[66,"serverCreatedDate"],[24,"shared"],[25,"sharedWithMeDate"],[46,Ep("sharingUser")],[171,"sharingUser/permissionId"],[250,"sharingUser/id"],[205,"sharingUser/organizationDisplayName"],
[344,"sharingAgent/agentId"],[345,"sharingAgent/name"],[346,"sharingAgent/photoUrl"],[352,"sharingAgent/state"],[192,"shortcutDetails/canRequestAccessToTarget"],[159,"shortcutDetails/targetFile"],[154,"shortcutDetails/targetId"],[158,"shortcutDetails/targetLookupStatus"],[155,"shortcutDetails/targetMimeType"],[52,"sources"],[56,"sourceAppId"],[55,"spaces"],[234,"spamMetadata/inSpamView"],[275,"spamMetadata/isInheritedSpam"],[274,"spamMetadata/isSpam"],[233,"spamMetadata/markedAsSpamDate"],[111,"spellResponse"],
[4,"labels/starred"],[35,"subscribed"],[112,"suggestedNlpQueries"],[83,"teamDriveId"],[298,"corpusLimits/itemsCountCapacityUsedPercentage"],[299,"corpusLimits/itemsCountCapacityUsedPercentageNotificationThreshold"],[84,"templateData/description,templateData/category,templateData/galleryState"],[19,"hasThumbnail,thumbnailVersion"],[2,"title"],[6,"labels/trashed"],[98,"trashedDate"],[97,Ep("trashingUser")],[175,"trashingUser/permissionId"],[254,"trashingUser/id"],[207,"trashingUser/organizationDisplayName"],
[27,"userPermission/role"],[70,"version"],[107,"videoMediaMetadata/durationMillis"],[106,"videoMediaMetadata/height"],[105,"videoMediaMetadata/width"],[303,"videoMediaMetadata/transcodeStatus"],[333,"vidsImportCompatibilityInfo"],[8,"labels/viewed"],[332,"workflowCreationId"],[126,"workspaceIds"]]),Dx={};Dx[1]=new Set([5,33]);Dx[3]=new Set([33]);Dx[4]=new Set([33]);Dx[5]=new Set([33]);Dx[6]=new Set([33]);Dx[8]=new Set([33]);Dx[10]=new Set([33]);
var fea=new Set([91,16,14,46,97]),gea=new Set([180,252,206,168,248,204,164,195,244,203,171,250,205,175,254,207]),iea=new Set([338,339,340,350,341,342,343,351,347,348,349,353,344,345,346,352]),hea=new Set([338,341,347,344]),eea=new Map([[91,new Set([180,252,206])],[16,new Set([168,248,204])],[14,new Set([164,195,244,203])],[46,new Set([171,250,205])],[97,new Set([175,254,207])]]),Z0=new Set([273,260,261,262,263,264,265,266,267,268,269,270,271]),tta=new Map([[260,38],[261,87],[262,24],[263,6],[264,
21],[265,2],[266,70],[267,210],[268,3],[269,20],[270,83]]),uta=[42,20,50,18],dea=[329,328,327,331,330,334,335,336,355,337],Cx=[].concat(r(uta),r(Z0)),cea=[1004,62];for(var $0=new Map,a1={},vta=q(Object.entries(Dx)),b1=vta.next();!b1.done;b1=vta.next()){var wta=q(b1.value);let a=wta.next().value,b=wta.next().value;for(var xta=q(b),c1=xta.next();!c1.done;c1=xta.next()){let c=c1.value,d;a1[c]=(d=a1[c])!=null?d:[];a1[c].push(Number(a))}}for(var yta=q(Ft),d1=yta.next();!d1.done;d1=yta.next()){var zta=q(d1.value);let a=zta.next().value,b=zta.next().value,c={};var Ata={};c.qa=(Ata[0]=b,Ata);uta.includes(a)&&(c.So=!0);a1[a]&&(c.gp=a1[a]);$0.set(a,c)}
var Bta=$0.get(91)||{},Cta={};Bta.Ic=(Cta[14]=function(a){var b=[180,252,282,285];a.anonymous||b.push(183);return b},Cta);$0.set(91,Bta);var Dta=$0.get(16)||{},Eta={};Dta.Ic=(Eta[14]=function(a){var b=[168,248,280,287];a.anonymous||b.push(179);return b},Eta);$0.set(16,Dta);var Fta=$0.get(14)||{},Gta={};Fta.Ic=(Gta[14]=function(a){var b=[164,244,284,286];a.anonymous||b.push(167);return b},Gta);$0.set(14,Fta);var Hta=$0.get(46)||{},Ita={};
Hta.Ic=(Ita[14]=function(a){var b=[171,250,281,288];a.anonymous||b.push(174);return b},Ita);$0.set(46,Hta);var Jta=$0.get(97)||{},Kta={};Jta.Ic=(Kta[14]=function(a){var b=[175,254,283,289];a.anonymous||b.push(178);return b},Kta);$0.set(97,Jta);var Lta=$0.get(136)||{},Mta={};Lta.Ic=(Mta[14]=[256],Mta);$0.set(136,Lta);var Nta=$0.get(19)||{},Ota={};Nta.Ic=(Ota[14]=[62,150],Ota);$0.set(19,Nta);var Pta=$0.get(20)||{},Qta={};Pta.Ic=(Qta[14]=[3],Qta);$0.set(20,Pta);var Rta=$0.get(42)||{},Sta={};
Rta.Ic=(Sta[14]=[3],Sta);$0.set(42,Rta);var Tta=$0.get(194)||{},Uta={};Tta.Ic=(Uta[14]=[291,292,294,296,297,293,295,301],Uta);$0.set(194,Tta);var Vta=$0.get(290)||{},Wta={};Vta.Ic=(Wta[14]=[291,292,294,296,297],Wta);$0.set(290,Vta);var Xta=$0.get(273)||{},Yta={};Xta.Ic=(Yta[14]=[260,270,261,269,264,268,267,262,265,263,271,266],Yta);$0.set(273,Xta);var Zta=$0.get(84)||{},$ta={};Zta.Ic=($ta[14]=[324,325,326],$ta);$0.set(84,Zta);
for(var aua=q([21,2,3,210,10,150,83,244,155,154,214]),e1=aua.next();!e1.done;e1=aua.next()){let a=e1.value,b=$0.get(a)||{},c,d=Array.from((c=b.zm)!=null?c:[]);d.push(6);b.zm=d;$0.set(a,b)};var bua=cc(bc,Zo);var jda=cc(cc(Tb(Cp),hc),Zo);var cua=function(a,b,c){E_.call(this,a,b,c);this.config=b};V(cua,E_);var dua=function(a,b){var c,d,e;return(e=(c=a.config)==null?void 0:(d=c.zm)==null?void 0:d.includes(b))!=null?e:!1};var f1=function(a,b,c){this.M=a;this.W=b;this.options=c;this.g=new Set;this.h=[]};V(f1,tsa);var g1=function(a,b){a.g.has(b)||(a.M.configs[b]!=null?a.M.configs[b].accept(a):(a.h.push(b),a.g.add(b)))};
f1.prototype.Yg=function(a){if(!this.g.has(a.key)){this.g.add(a.key);if(a.Cb)for(var b=q(a.Cb),c=b.next();!c.done;c=b.next())g1(this,c.value);var d;{let f;(f=a.config)!=null&&f.Ic?(b=(d=a.config)==null?void 0:d.Ic,d=Ik(Ap(bua,this.W),Bp(this.options))(b)):d=void 0}if(d)for(b=q(d),c=b.next();!c.done;c=b.next())g1(this,c.value);if(!(d=d!=null)){var e;let f;d=(f=(e=a.config)==null?void 0:e.So)!=null?f:!1}if(!(e=d)){let f,g;e=(g=(f=a.config)==null?void 0:f.Cs)!=null?g:!1}e||this.h.push(a.key)}};var eua=[87,21,83,70],fua=[189,190,1004,28,96,45,25,35],h1=function(a){I_.call(this,new D_({gp:Co}));this.Cb=new Set;this.g=new Set;this.h=new Set;var b=[].concat(r(eua));Oq(a)||b.push.apply(b,r(fua));gua(this,b,!1)};V(h1,I_);var gua=function(a,b,c){b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Cb.add(d),c&&a.g.add(d)},hua=function(a,b){gua(a,b,!0)},iua=function(a,b){b.forEach(function(c){a.h.add(c)})};
h1.prototype.validate=function(){I_.prototype.validate.call(this);for(var a=q(this.g),b=a.next();!b.done;b=a.next()){b=b.value;let c=this.fields.get(b);if(c&&c.config){let d;if((d=c.config.os)!=null&&!d)throw Error("ub`"+b);}}};h1.prototype.A=function(){for(var a=[],b=q(this.fields.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;a.push(new cua(c,d.config,d.operations))}return new i1(this.Cb,this.g,a,this.h)};
var i1=function(a,b,c,d){G_.call(this,c);this.Zd=new C_(q(ksa(this,a,[].concat(r(a)))).next().value,b);this.g=[].concat(r(d))};V(i1,G_);l=i1.prototype;l.Jg=function(){return"Tracked fields: ["+this.Zd.Cb.g.join(", ")+"]\nPrimary label packages: ["+(this.g.join(", ")+"]\n")+G_.prototype.Jg.call(this)};l.nb=function(){return[].concat(r(this.Zd.Cb.g))};l.zg=function(){return this.Zd.Cb.h};l.ne=function(a){return this.Zd.Cb.has(a)};l.fd=function(){return[].concat(r(this.g))};l.xj=function(){return[].concat(r(this.Zd.g))};
l.Re=function(){return this.Zd.Re()};l.mg=function(a){return this.Zd.mg(a)};
var j1=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(!a.ne(c.value))return!1;return!0},au=function(a,b){var c=a.nb();a=a.zg();b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.has(d)||c.push(d);return c},k1=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.ne(d)&&c.push(d);return c},l1=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.ne(d)||c.push(d);return c},bu=function(a,b){a=new Set([].concat(r(a.fd()),r(b)));
return[].concat(r(a))},Yq=function(a,b,c,d){a=new f1(a,c,d);b=q(b);for(c=b.next();!c.done;c=b.next())g1(a,c.value);return a.h};var jua=M(227,Y({clear:function(a){return S(a,144)},has:function(a){return T(a,144)},get:function(a){return F(a,144)},set:function(a,b){return Wu(a,b)}}));var kua=M(228,Y({clear:function(a){return S(a,145)},has:function(a){return Ys(a,145)},get:function(a){return ws(a,145)},set:function(a,b){return zI(a,b)}}));var lua=M(242,Y({clear:function(a){return S(a,152)},has:function(a){return mE(a,152)},get:function(a){return Aq(a,152)},set:function(a,b){return K(a,152,b)}}));var mua=M(74,Y({clear:function(a){return S(a,83)},has:function(a){return z(a,ls,83,B()).length>0},get:function(a){return z(a,ls,83,B())},set:function(a,b){return fI(a,b)}}));var nua=M(120,Y({clear:function(a){return S(a,115)},has:function(a){return R(a,115)},get:function(a){return D(a,115)},set:function(a,b){return E(a,115,b)}}));var oua=M(188,Y({clear:function(a){return S(a,137)},has:function(a){return T(a,137)},get:function(a){return F(a,137)},set:function(a,b){return eI(a,b)}}));var pua=M(149,Y({clear:function(a){return S(a,128)},has:function(a){return U(a,128,B()).length>0},get:function(a){return U(a,128,B())},set:function(a,b){return rs(a,128,b)}}));var qua=M(329,Y({clear:function(a){return S(a,165)},has:function(a){return WD(a,xH,165)>0},get:function(a){return Ht(a)},set:function(a,b){return It(a,b)}}),{Cb:[187]});var rua=M(148,Y({clear:function(a){return S(a,127)},has:function(a){return z(a,ms,127,B()).length>0},get:function(a){return z(a,ms,127,B())},set:function(a,b){return sI(a,b)}}));var sua=M(138,Y({clear:function(a){return S(a,126)},has:function(a){return nE(a,126)},get:function(a){return Tg(gq(a,126))},set:function(a,b){return O(a,126,b)}}));var tua=M(277,A_(nta,Y({clear:function(a){return S(a,1)},has:function(a){return mE(a,1)},get:function(a){return Aq(a,1)},set:function(a,b){return K(a,1,b)}})));var uua=M(184,Y({clear:function(a){return S(a,135)},has:function(a){return U(a,135,B()).length>0},get:function(a){return U(a,135,B())},set:function(a,b){return vI(a,b)}}));var vua=M(241,Y({clear:function(a){return S(a,151)},has:function(a){return z(a,xH,151,B()).length>0},get:function(a){return z(a,xH,151,B())},set:function(a,b){return CI(a,b)}}));var wua=M(76,A_(G0,Y({clear:function(a){return S(a,1)},has:function(a){return T(a,1)},get:function(a){return dH(a)},set:function(a,b){return Cr(a,b)}})));var xua=M(223,A_(G0,Y({clear:function(a){return S(a,54)},has:function(a){return T(a,54)},get:function(a){return F(a,54)},set:function(a,b){return H(a,54,b)}})));var yua=M(208,A_(G0,Y({clear:function(a){return S(a,48)},has:function(a){return T(a,48)},get:function(a){return F(a,48)},set:function(a,b){return H(a,48,b)}})));var zua=M(185,A_(G0,Y({clear:function(a){return S(a,40)},has:function(a){return T(a,40)},get:function(a){return F(a,40)},set:function(a,b){return H(a,40,b)}})));var Aua=M(224,A_(G0,Y({clear:function(a){return S(a,55)},has:function(a){return T(a,55)},get:function(a){return F(a,55)},set:function(a,b){return H(a,55,b)}})));var Bua=M(156,A_(G0,Y({clear:function(a){return S(a,39)},has:function(a){return T(a,39)},get:function(a){return F(a,39)},set:function(a,b){return H(a,39,b)}})));var Cua=M(213,A_(G0,Y({clear:function(a){return S(a,50)},has:function(a){return T(a,50)},get:function(a){return F(a,50)},set:function(a,b){return H(a,50,b)}})));var Dua=M(61,A_(G0,Y({clear:function(a){return S(a,2)},has:function(a){return T(a,2)},get:function(a){return F(a,2)},set:function(a,b){return H(a,2,b)}})));var Eua=M(240,A_(G0,Y({clear:function(a){return S(a,62)},has:function(a){return T(a,62)},get:function(a){return F(a,62)},set:function(a,b){return H(a,62,b)}})));var Fua=M(258,A_(G0,Y({clear:function(a){return S(a,64)},has:function(a){return T(a,64)},get:function(a){return F(a,64)},set:function(a,b){return H(a,64,b)}})));var Gua=M(216,A_(G0,Y({clear:function(a){return S(a,52)},has:function(a){return T(a,52)},get:function(a){return F(a,52)},set:function(a,b){return H(a,52,b)}})));var Hua=M(217,A_(G0,Y({clear:function(a){return S(a,53)},has:function(a){return T(a,53)},get:function(a){return F(a,53)},set:function(a,b){return H(a,53,b)}})));var Iua=M(134,A_(G0,Y({clear:function(a){return S(a,34)},has:function(a){return T(a,34)},get:function(a){return F(a,34)},set:function(a,b){return H(a,34,b)}})));var Jua=M(77,A_(G0,Y({clear:function(a){return S(a,4)},has:function(a){return T(a,4)},get:function(a){return F(a,4)},set:function(a,b){return Er(a,b)}})));var Kua=M(327,A_(G0,Y({clear:function(a){return S(a,69)},has:function(a){return T(a,69)},get:function(a){return F(a,69)},set:function(a,b){return H(a,69,b)}})));var Lua=M(259,A_(G0,Y({clear:function(a){return S(a,65)},has:function(a){return T(a,65)},get:function(a){return F(a,65)},set:function(a,b){return H(a,65,b)}})));var Mua=M(147,A_(G0,Y({clear:function(a){return S(a,38)},has:function(a){return T(a,38)},get:function(a){return F(a,38)},set:function(a,b){return H(a,38,b)}})));var Nua=M(300,A_(G0,Y({clear:function(a){return S(a,67)},has:function(a){return T(a,67)},get:function(a){return F(a,67)},set:function(a,b){return H(a,67,b)}})));var Oua=M(89,A_(G0,Y({clear:function(a){return S(a,15)},has:function(a){return T(a,15)},get:function(a){return F(a,15)},set:function(a,b){return H(a,15,b)}})));var Pua=M(81,A_(G0,Y({clear:function(a){return S(a,10)},has:function(a){return T(a,10)},get:function(a){return F(a,10)},set:function(a,b){return H(a,10,b)}})));var Qua=M(114,A_(G0,Y({clear:function(a){return S(a,27)},has:function(a){return T(a,27)},get:function(a){return F(a,27)},set:function(a,b){return H(a,27,b)}})));var Rua=M(133,A_(G0,Y({clear:function(a){return S(a,33)},has:function(a){return T(a,33)},get:function(a){return F(a,33)},set:function(a,b){return H(a,33,b)}})));var Sua=M(202,A_(G0,Y({clear:function(a){return S(a,47)},has:function(a){return T(a,47)},get:function(a){return F(a,47)},set:function(a,b){return H(a,47,b)}})));var Tua=M(101,A_(G0,Y({clear:function(a){return S(a,20)},has:function(a){return T(a,20)},get:function(a){return F(a,20)},set:function(a,b){return H(a,20,b)}})));var Uua=M(201,A_(G0,Y({clear:function(a){return S(a,46)},has:function(a){return T(a,46)},get:function(a){return F(a,46)},set:function(a,b){return H(a,46,b)}})));var Vua=M(131,A_(G0,Y({clear:function(a){return S(a,31)},has:function(a){return T(a,31)},get:function(a){return F(a,31)},set:function(a,b){return H(a,31,b)}})));var Wua=M(200,A_(G0,Y({clear:function(a){return S(a,45)},has:function(a){return T(a,45)},get:function(a){return F(a,45)},set:function(a,b){return H(a,45,b)}})));var Xua=M(130,A_(G0,Y({clear:function(a){return S(a,30)},has:function(a){return T(a,30)},get:function(a){return F(a,30)},set:function(a,b){return H(a,30,b)}})));var Yua=M(93,A_(G0,Y({clear:function(a){return S(a,17)},has:function(a){return T(a,17)},get:function(a){return F(a,17)},set:function(a,b){return H(a,17,b)}})));var Zua=M(146,A_(G0,Y({clear:function(a){return S(a,37)},has:function(a){return T(a,37)},get:function(a){return F(a,37)},set:function(a,b){return H(a,37,b)}})));var $ua=M(191,A_(G0,Y({clear:function(a){return S(a,44)},has:function(a){return T(a,44)},get:function(a){return F(a,44)},set:function(a,b){return H(a,44,b)}})));var ava=M(90,A_(G0,Y({clear:function(a){return S(a,16)},has:function(a){return T(a,16)},get:function(a){return F(a,16)},set:function(a,b){return Fr(a,b)}})));var bva=M(78,A_(G0,Y({clear:function(a){return S(a,7)},has:function(a){return T(a,7)},get:function(a){return eH(a)},set:function(a,b){return H(a,7,b)}})));var cva=M(186,A_(G0,Y({clear:function(a){return S(a,41)},has:function(a){return T(a,41)},get:function(a){return F(a,41)},set:function(a,b){return H(a,41,b)}})));var dva=M(85,A_(G0,Y({clear:function(a){return S(a,12)},has:function(a){return T(a,12)},get:function(a){return F(a,12)},set:function(a,b){return H(a,12,b)}})));var eva=M(276,A_(G0,Y({clear:function(a){return S(a,66)},has:function(a){return T(a,66)},get:function(a){return F(a,66)},set:function(a,b){return H(a,66,b)}})));var fva=M(236,A_(G0,Y({clear:function(a){return S(a,59)},has:function(a){return T(a,59)},get:function(a){return F(a,59)},set:function(a,b){return H(a,59,b)}})));var gva=M(137,A_(G0,Y({clear:function(a){return S(a,36)},has:function(a){return T(a,36)},get:function(a){return F(a,36)},set:function(a,b){return H(a,36,b)}})));var hva=M(209,A_(G0,Y({clear:function(a){return S(a,49)},has:function(a){return T(a,49)},get:function(a){return F(a,49)},set:function(a,b){return H(a,49,b)}})));var iva=M(189,A_(G0,Y({clear:function(a){return S(a,42)},has:function(a){return T(a,42)},get:function(a){return F(a,42)},set:function(a,b){return H(a,42,b)}})));var jva=M(190,A_(G0,Y({clear:function(a){return S(a,43)},has:function(a){return T(a,43)},get:function(a){return F(a,43)},set:function(a,b){return Jr(a,b)}})));var kva=M(79,A_(G0,Y({clear:function(a){return S(a,8)},has:function(a){return T(a,8)},get:function(a){return F(a,8)},set:function(a,b){return Ir(a,b)}})));var lva=M(135,A_(G0,Y({clear:function(a){return S(a,35)},has:function(a){return T(a,35)},get:function(a){return F(a,35)},set:function(a,b){return H(a,35,b)}})));var mva=M(80,A_(G0,Y({clear:function(a){return S(a,9)},has:function(a){return T(a,9)},get:function(a){return F(a,9)},set:function(a,b){return Hr(a,b)}})));var nva=M(102,A_(G0,Y({clear:function(a){return S(a,21)},has:function(a){return T(a,21)},get:function(a){return F(a,21)},set:function(a,b){return Gr(a,b)}})));var ova=M(69,Y({clear:function(a){return S(a,74)},has:function(a){return T(a,74)},get:function(a){return F(a,74)},set:function(a,b){return H(a,74,b)}}));var pva=M(194,A_(ota,Y({clear:function(a){return S(a,2)},has:function(a){return hp(a,ds,2)},get:function(a){return Sp(a,ds,2)},set:function(a,b){return I(a,2,b)}})));var qva=M(193,A_(ota,Y({clear:function(a){return S(a,1)},has:function(a){return Ys(a,1)},get:function(a){return ws(a,1)},set:function(a,b){return G(a,1,b)}})));var rva=M(1004,Y({clear:function(a){return S(a,108)},has:function(a){return T(a,108)},get:function(a){return F(a,108)},set:function(a,b){return pI(a,b)}}));var sva=M(115,A_(pta,Y({clear:function(a){return S(a,1)},has:function(a){return T(a,1)},get:function(a){return F(a,1)},set:function(a,b){return hs(a,b)}})));var tva=M(116,A_(pta,Y({clear:function(a){return S(a,2)},has:function(a){return R(a,2)},get:function(a){return D(a,2)},set:function(a,b){return gs(a,b)}})));var uva=M(136,Y({clear:function(a){return S(a,125)},has:function(a){return z(a,is,125,B()).length>0},get:function(a){return z(a,is,125,B())},set:function(a,b){return Xu(a,b)}}));var vva=M(34,A_(G0,Y({clear:function(a){return S(a,3)},has:function(a){return T(a,3)},get:function(a){return F(a,3)},set:function(a,b){return H(a,3,b)}})));var wva=M(9,Y({clear:function(a){return S(a,10)},has:function(a){return nE(a,10)},get:function(a){return Tg(gq(a,10))},set:function(a,b){return HH(a,b)}}));var xva=M(252,A_(J0,Q0));var yva=M(180,A_(J0,R0));var zva=M(206,A_(J0,S0));var Ava=M(338,A_(K0,C0));var Bva=M(339,A_(K0,D0));var Cva=M(340,A_(K0,E0));var Dva=M(350,A_(K0,F0));var m1=function(){};m1.prototype.clear=function(a){a=S(a,42);S(a,43)};m1.prototype.has=function(a){return R(a,42)||R(a,43)};m1.prototype.Ib=function(a,b){if(this.has(b)){var c=D(b,42);a=E(a,42,c);RH(a,D(b,43))}};var Eva=Fp(43,new m1);var Fva=M(91,J0);var Gva=M(187,Y({clear:function(a){return S(a,136)},has:function(a){return R(a,136)},get:function(a){return D(a,136)},set:function(a,b){return wI(a,b)}}));var Hva=M(26,Y({clear:function(a){return S(a,24)},has:function(a){return a.vc()},get:function(a){return D(a,24)},set:function(a,b){return a.setDescription(b)}}));var Iva=M(108,Y({clear:function(a){return S(a,104)},has:function(a){return U(a,104,B()).length>0},get:function(a){return U(a,104,B())},set:function(a,b){return rs(a,104,b)}}));var n1=function(){};n1.prototype.clear=function(a){S(a,40);var b;(b=vr(a))!=null&&S(b,5)};n1.prototype.has=function(a){var b,c;return(c=(b=vr(a))==null?void 0:T(b,5))!=null?c:!1};n1.prototype.Ib=function(a,b){if(hp(b,wr,84)){b=b.clone();var c=Sp(b,wr,84);Dr(Sp(a,wr,84),F(c,5));b=F(b,40);H(a,40,b)}};var Jva=Fp(41,new n1);var Kva=M(42,Y({clear:function(a){return S(a,41)},has:function(a){return R(a,41)},get:function(a){return D(a,41)},set:function(a,b){return E(a,41,b)}}));var Lva=M(59,A_(G0,Y({clear:function(a){return S(a,6)},has:function(a){return T(a,6)},get:function(a){return F(a,6)},set:function(a,b){return H(a,6,b)}})));var Mva=M(302,Y({clear:function(a){return S(a,161)},has:function(a){return Ys(a,161)},get:function(a){return ws(a,161)},set:function(a,b){return DI(a,b)}}));var Nva=M(318,Y({clear:function(a){return S(a,162)},has:function(a){return R(a,162)},get:function(a){return D(a,162)},set:function(a,b){return E(a,162,b)}}));var Ova=M(28,Y({clear:function(a){return S(a,26)},has:function(a){return T(a,26)},get:function(a){return F(a,26)},set:function(a,b){return MH(a,b)}}));var Pva=M(328,Y({clear:function(a){return S(a,164)},has:function(a){return Ys(a,164)},get:function(a){return am(a,164)},set:function(a,b){return G(a,164,b)}}));var Qva=M(44,Y({clear:function(a){return S(a,45)},has:function(a){return R(a,45)},get:function(a){return D(a,45)},set:function(a,b){return SH(a,b)}}));var Rva=M(13,Y({clear:function(a){return S(a,14)},has:function(a){return nE(a,14)},get:function(a){return Tg(gq(a,14))},set:function(a,b){return O(a,14,b)}}));var Sva=M(48,Y({clear:function(a){return S(a,36)},has:function(a){return T(a,36)},get:function(a){return F(a,36)},set:function(a,b){return QH(a,b)}}));var Tva=M(38,Y({clear:function(a){return S(a,34)},has:function(a){return nE(a,34)},get:function(a){return Tg(a.jh())},set:function(a,b){return OH(a,b)}}));var Uva=M(86,Y({clear:function(a){return S(a,87)},has:function(a){return nE(a,87)},get:function(a){return Tg(gq(a,87))},set:function(a,b){return O(a,87,b)}}));var Vva=M(49,Y({clear:function(a){return S(a,50)},has:function(a){return U(a,50,B()).length>0},get:function(a){return U(a,50,B())},set:function(a,b){return VH(a,b)}}));var Wva=M(336,A_(qta,Y({clear:function(a){return S(a,2)},has:function(a){return hp(a,kH,2)},get:function(a){return Sp(a,kH,2)},set:function(a,b){return I(a,2,b)}})));var Xva=M(335,A_(qta,Y({clear:function(a){return S(a,1)},has:function(a){return hp(a,kH,1)},get:function(a){return Sp(a,kH,1)},set:function(a,b){return I(a,1,b)}})));var Yva=M(334,Y({clear:function(a){return S(a,169)},has:function(a){return hp(a,mH,169)},get:function(a){return Sp(a,mH,169)},set:function(a,b){return I(a,169,b)}}));var Zva=M(322,Y({clear:function(a){return S(a,163)},has:function(a){return R(a,163)},get:function(a){return D(a,163)},set:function(a,b){return E(a,163,b)}}));var $va=M(104,Y({clear:function(a){return S(a,102)},has:function(a){return T(a,102)},get:function(a){return F(a,102)},set:function(a,b){return oI(a,b)}}));var awa=M(330,Y({clear:function(a){return S(a,166)},has:function(a){return T(a,166)},get:function(a){var b;return(b=F(a,166))!=null?b:!1},set:function(a,b){return H(a,166,b)}}));var bwa=M(39,Y({clear:function(a){return S(a,35)},has:function(a){return T(a,35)},get:function(a){return F(a,35)},set:function(a,b){return PH(a,b)}}));var cwa=M(243,Y({clear:function(a){return S(a,153)},has:function(a){return T(a,153)},get:function(a){return F(a,153)},set:function(a,b){return H(a,153,b)}}));var dwa=M(87,Y({clear:function(a){return S(a,76)},has:function(a){return T(a,76)},get:function(a){return F(a,76)},set:function(a,b){return dI(a,b)}}));var ewa=M(62,Y({clear:function(a){return S(a,44)},has:function(a){return T(a,44)},get:function(a){return F(a,44)},set:function(a,b){return dv(a,b)}}));var fwa=M(100,Y({clear:function(a){return S(a,98)},has:function(a){return T(a,98)},get:function(a){return F(a,98)},set:function(a,b){return H(a,98,b)}}));var gwa=M(72,Y({clear:function(a){return S(a,78)},has:function(a){return R(a,78)},get:function(a){return D(a,78)},set:function(a,b){return E(a,78,b)}}));var hwa=M(5,Y({clear:function(a){return S(a,6)},has:function(a){return T(a,6)},get:function(a){return F(a,6)},set:function(a,b){return DH(a,b)}}));var iwa=M(20,Y({clear:function(a){return S(a,21)},has:function(a){return R(a,21)},get:function(a){return D(a,21)},set:function(a,b){return E(a,21,b)}}));var jwa=M(21,Y({clear:function(){},has:function(a){return R(a,1)},get:function(a){return a.J()},set:function(a,b){return Ru(a,b)}}));var kwa=M(29,A_(L0,Y({clear:function(a){return S(a,1)},has:function(a){return nE(a,1)},get:function(a){return Tg(gq(a,1))},set:function(a,b){return O(a,1,b)}})));var lwa=M(31,A_(L0,Y({clear:function(a){return S(a,3)},has:function(a){return mE(a,3)},get:function(a){return Aq(a,3)},set:function(a,b){return K(a,3,b)}})));var mwa=M(92,A_(L0,Y({clear:function(a){return S(a,4)},has:function(a){return mE(a,4)},get:function(a){return Aq(a,4)},set:function(a,b){return K(a,4,b)}})));var nwa=M(30,A_(L0,Y({clear:function(a){return S(a,2)},has:function(a){return mE(a,2)},get:function(a){return Aq(a,2)},set:function(a,b){return K(a,2,b)}})));var owa=M(235,Y({clear:function(a){return S(a,149)},has:function(a){return nE(a,149)},get:function(a){return Tg(gq(a,149))},set:function(a,b){return AI(a,b)}}));var pwa=M(279,Y({clear:function(a){return S(a,160)},has:function(a){return T(a,160)},get:function(a){return F(a,160)},set:function(a,b){return H(a,160,b)}}));var qwa=M(341,A_(M0,C0));var rwa=M(342,A_(M0,D0));var swa=M(343,A_(M0,E0));var twa=M(351,A_(M0,F0));var uwa=M(248,A_(N0,Q0));var vwa=M(168,A_(N0,R0));var wwa=M(204,A_(N0,S0));var xwa=M(16,N0);var ywa=M(12,Y({clear:function(a){return S(a,13)},has:function(a){return nE(a,13)},get:function(a){return Tg(gq(a,13))},set:function(a,b){return JH(a,b)}}));var zwa=M(211,A_(O0,Y({clear:function(a){return S(a,2)},has:function(a){return T(a,2)},get:function(a){return F(a,2)},set:function(a,b){return H(a,2,b)}})));var Awa=M(212,A_(O0,Y({clear:function(a){return S(a,3)},has:function(a){return T(a,3)},get:function(a){return F(a,3)},set:function(a,b){return H(a,3,b)}})));var Bwa=M(220,A_(O0,Y({clear:function(a){return S(a,5)},has:function(a){return T(a,5)},get:function(a){return F(a,5)},set:function(a,b){return H(a,5,b)}})));var Cwa=M(273,rta);var Dwa=M(3,Y({clear:function(a){return S(a,4)},has:function(a){return R(a,4)},get:function(a){return a.td()},set:function(a,b){return dl(a,b)}}));var Ewa=M(347,A_(P0,C0));var Fwa=M(348,A_(P0,D0));var Gwa=M(349,A_(P0,E0));var Hwa=M(353,A_(P0,F0));var Iwa=M(11,Y({clear:function(a){return S(a,12)},has:function(a){return nE(a,12)},get:function(a){return Tg(gq(a,12))},set:function(a,b){return IH(a,b)}}));var Jwa=M(10,Y({clear:function(a){return S(a,11)},has:function(a){return nE(a,11)},get:function(a){return Tg(gq(a,11))},set:function(a,b){return bv(a,b)}}));var Kwa=M(50,Y({clear:function(a){return S(a,81)},has:function(a){return hp(a,Jx,81)},get:function(a){return Sp(a,Jx,81)},set:function(a,b){return I(a,81,b)}}));var Lwa=M(18,Y({clear:function(a){return S(a,19)},has:function(a){return R(a,19)},get:function(a){return D(a,19)},set:function(a,b){return E(a,19,b)}}));var Mwa=M(95,Y({clear:function(a){return S(a,93)},has:function(a){return R(a,93)},get:function(a){return D(a,93)},set:function(a,b){return Vu(a,b)}}));var Nwa=M(58,Y({clear:function(a){return S(a,63)},has:function(a){return T(a,63)},get:function(a){return F(a,63)},set:function(a,b){return H(a,63,b)}}));var Owa=Y({clear:function(a){return S(a,15)},has:function(a){return WD(a,nv,15)>0},get:function(a){return Oz(a)},set:function(a,b){return Uu(a,b.slice())}}),Pwa=M(14,Owa);var o1=function(a){F_.call(this,Owa,nv,164,R0,a)};V(o1,F_);var Qwa=Fp(164,new o1(R0)),Rwa=Fp(244,new o1(Q0)),Swa=Fp(203,new o1(S0)),Twa=Fp(195,new o1(sta));var Uwa=M(103,Y({clear:function(a){return S(a,101)},has:function(a){return Ys(a,101)},get:function(a){return ws(a,101)},set:function(a,b){return nI(a,b)}}));var Vwa=M(1,Y({clear:function(a){return S(a,2)},has:function(a){return CH(a).length>0},get:function(a){return CH(a)},set:function(a,b){return Tu(a,b==null?void 0:b.slice())}}));var Wwa=M(96,Y({clear:function(a){return S(a,94)},has:function(a){return T(a,94)},get:function(a){return F(a,94)},set:function(a,b){return kI(a,b)}}));var Xwa=M(75,Y({clear:function(a){return S(a,85)},has:function(a){return hp(a,IA,85)},get:function(a){return Sp(a,IA,85)},set:function(a,b){return gI(a,b)}}));var Ywa=M(94,Y({clear:function(a){return S(a,92)},has:function(a){return R(a,92)},get:function(a){return D(a,92)},set:function(a,b){return jI(a,b)}}));var Zwa=M(45,Y({clear:function(a){return S(a,46)},has:function(a){return R(a,46)},get:function(a){return D(a,46)},set:function(a,b){return TH(a,b)}}));var $wa=M(124,Y({clear:function(a){return S(a,118)},has:function(a){return T(a,118)},get:function(a){return F(a,118)},set:function(a,b){return H(a,118,b)}}));var axa=M(125,Y({clear:function(a){return S(a,119)},has:function(a){return R(a,119)},get:function(a){return D(a,119)},set:function(a,b){return rI(a,b)}}));var bxa=M(32,Y({clear:function(a){return S(a,28)},has:function(a){return nE(a,28)},get:function(a){return Tg(gq(a,28))},set:function(a,b){return O(a,28,b)}}));var cxa=M(218,Y({clear:function(a){return S(a,143)},has:function(a){return nE(a,143)},get:function(a){return Tg(gq(a,143))},set:function(a,b){return O(a,143,b)}}));var dxa=M(67,Y({clear:function(a){return S(a,70)},has:function(a){return nE(a,70)},get:function(a){return Tg(gq(a,70))},set:function(a,b){return XH(a,b)}}));var exa=M(68,Y({clear:function(a){return S(a,71)},has:function(a){return Ys(a,71)},get:function(a){return ws(a,71)},set:function(a,b){return YH(a,b)}}));var fxa=M(210,Y({clear:function(a){return S(a,140)},has:function(a){return R(a,140)},get:function(a){return D(a,140)},set:function(a,b){return E(a,140,b)}}));var gxa=M(7,Y({clear:function(a){return S(a,8)},has:function(a){return T(a,8)},get:function(a){return F(a,8)},set:function(a,b){return FH(a,b)}}));var hxa=M(122,Y({clear:function(a){return S(a,109)},has:function(a){return hp(a,nH,109)},get:function(a){return Sp(a,nH,109)},set:function(a,b){return qI(a,b)}}));var ixa=M(355,Y({clear:function(a){return S(a,176)},has:function(a){return hp(a,AH,176)},get:function(a){return Xt(a,AH,176)},set:function(a,b){return I(a,176,b)}}));var jxa=M(66,Y({clear:function(a){return S(a,69)},has:function(a){return nE(a,69)},get:function(a){return Tg(gq(a,69))},set:function(a,b){return WH(a,b)}}));var kxa=M(24,Y({clear:function(a){return S(a,22)},has:function(a){return T(a,22)},get:function(a){return a.mh()},set:function(a,b){return av(a,b)}}));var lxa=M(25,Y({clear:function(a){return S(a,23)},has:function(a){return nE(a,23)},get:function(a){return Tg(gq(a,23))},set:function(a,b){return cv(a,b)}}));var mxa=M(344,A_(T0,C0));var nxa=M(345,A_(T0,D0));var oxa=M(346,A_(T0,E0));var pxa=M(352,A_(T0,F0));var qxa=M(250,A_(U0,Q0));var rxa=M(171,A_(U0,R0));var sxa=M(205,A_(U0,S0));var txa=M(46,Y({clear:function(a){return S(a,47)},has:function(a){return hp(a,nv,47)},get:function(a){return Sp(a,nv,47)},set:function(a,b){return UH(a,b)}}));var uxa=M(192,A_(V0,Y({clear:function(a){return S(a,6)},has:function(a){return T(a,6)},get:function(a){return F(a,6)},set:function(a,b){return H(a,6,b)}})));var vxa=M(154,A_(V0,Y({clear:function(a){return S(a,1)},has:function(a){return R(a,1)},get:function(a){return D(a,1)},set:function(a,b){return E(a,1,b)}})));var wxa=M(159,A_(V0,Y({clear:function(a){return S(a,5)},has:function(a){return hp(a,gl,5)},get:function(a){return Hx(a)},set:function(a,b){return I(a,5,b)}})));var xxa=M(158,A_(V0,Y({clear:function(a){return S(a,4)},has:function(a){return Ys(a,4)},get:function(a){return ws(a,4)},set:function(a,b){return G(a,4,b)}})));var yxa=M(155,A_(V0,Y({clear:function(a){return S(a,3)},has:function(a){return R(a,3)},get:function(a){return D(a,3)},set:function(a,b){return E(a,3,b)}})));var zxa=M(56,Y({clear:function(a){return S(a,61)},has:function(a){return R(a,61)},get:function(a){return D(a,61)},set:function(a,b){return E(a,61,b)}}));var Axa=M(52,Y({clear:function(a){return S(a,56)},has:function(a){return U(a,56,B()).length>0},get:function(a){return U(a,56,B())},set:function(a,b){return rs(a,56,b)}}));var Bxa=M(55,Y({clear:function(a){return S(a,60)},has:function(a){return z(a,RB,60,B()).length>0},get:function(a){return z(a,RB,60,B())},set:function(a,b){return Nu(a,60,b==null?void 0:b.slice())}}));var Cxa=M(234,A_(W0,Y({clear:function(a){return S(a,4)},has:function(a){return T(a,4)},get:function(a){return F(a,4)},set:function(a,b){return H(a,4,b)}})));var Dxa=M(275,A_(W0,Y({clear:function(a){return S(a,6)},has:function(a){return T(a,6)},get:function(a){return F(a,6)},set:function(a,b){return H(a,6,b)}})));var Exa=M(274,A_(W0,Y({clear:function(a){return S(a,5)},has:function(a){return T(a,5)},get:function(a){return F(a,5)},set:function(a,b){return H(a,5,b)}})));var Fxa=M(233,A_(W0,Y({clear:function(a){return oH(a)},has:function(a){return nE(a,3)},get:function(a){return Tg(gq(a,3))},set:function(a,b){return js(a,b)}})));var Gxa=M(111,Y({clear:function(){},has:function(){return!1},get:function(){},set:function(a){return a}}));var Hxa=M(4,Y({clear:function(a){return S(a,5)},has:function(a){return T(a,5)},get:function(a){return F(a,5)},set:function(a,b){return Zu(a,b)}}));var Ixa=M(35,Y({clear:function(a){return S(a,31)},has:function(a){return T(a,31)},get:function(a){return F(a,31)},set:function(a,b){return NH(a,b)}}));var Jxa=M(112,Y({clear:function(){},has:function(){return!1},get:function(){},set:function(a){return a}}));var Kxa=M(83,Y({clear:function(a){return S(a,72)},has:function(a){return R(a,72)},get:function(a){return $H(a)},set:function(a,b){return $u(a,b)}}));var Lxa=M(331,A_(I0,Y({clear:function(a){return S(a,3)},has:function(a){return T(a,3)},get:function(a){return F(a,3)},set:function(a,b){return H(a,3,b)}})));var Mxa=M(298,A_(I0,Y({clear:function(a){return S(a,1)},has:function(a){return ak(a,1,void 0,void 0,wc)!=null},get:function(a){return ak(a,1,void 0,void 0,wc)},set:function(a,b){return qH(a,b)}})));var Nxa=M(299,A_(I0,Y({clear:function(a){return S(a,2)},has:function(a){return ak(a,2,void 0,void 0,wc)!=null},get:function(a){return ak(a,2,void 0,void 0,wc)},set:function(a,b){return rH(a,b)}})));var Oxa=M(157,A_(H0,Y({clear:function(a){return S(a,8)},has:function(){return!0},get:function(a){return z(a,iB,8,B())},set:function(a,b){return tH(a,b)}})));var Pxa=M(221,A_(H0,Y({clear:function(a){return S(a,9)},has:function(a){return T(a,9)},get:function(a){return F(a,9)},set:function(a,b){return H(a,9,b)}})));var Qxa=M(84,Y({clear:function(a){return S(a,86)},has:function(a){return hp(a,qs,86)},get:function(a){return Q(a,qs,86)},set:function(a,b){return hI(a,b)}}));var p1=function(){};p1.prototype.clear=function(a){a=S(a,20);S(a,90)};p1.prototype.has=function(a){return R(a,20)||nE(a,90)};p1.prototype.Ib=function(a,b){if(this.has(b)){var c=D(b,20);a=E(a,20,c);a=dv(a,F(b,44));b=Tg(gq(b,90));O(a,90,b)}};var lsa=[jua,kua,lua,mua,nua,oua,pua,qua,rua,sua,tua,uua,vua,wua,xua,yua,zua,Aua,Bua,Cua,Dua,Eua,Fua,Gua,Hua,Iua,Jua,Kua,Lua,Mua,Nua,Oua,Pua,Qua,Rua,Sua,Tua,Uua,Vua,Wua,Xua,Yua,Zua,$ua,ava,bva,cva,dva,eva,fva,gva,hva,iva,jva,kva,lva,mva,nva,ova,pva,qva,rva,sva,tva,uva,vva,wva,Ava,Bva,Cva,Dva,Eva,Fva,xva,yva,zva,Gva,Hva,Iva,Kva,Jva,Mva,Lva,Nva,Ova,Pva,Qva,Rva,Sva,Tva,Uva,Vva,Yva,Wva,Xva,Zva,$va,awa,bwa,cwa,dwa,ewa,fwa,gwa,hwa,iwa,jwa,kwa,lwa,mwa,nwa,owa,pwa,qwa,rwa,swa,twa,xwa,uwa,vwa,wwa,ywa,zwa,
Awa,Bwa,Cwa,Dwa,Ewa,Fwa,Gwa,Hwa,Iwa,Jwa,Kwa,Lwa,Mwa,Nwa,Pwa,Twa,Rwa,Qwa,Swa,Uwa,Vwa,Wwa,Xwa,Ywa,Zwa,$wa,axa,bxa,cxa,dxa,exa,fxa,gxa,hxa,ixa,jxa,kxa,lxa,mxa,nxa,oxa,pxa,txa,qxa,rxa,sxa,uxa,vxa,wxa,xxa,yxa,zxa,Axa,Bxa,Cxa,Dxa,Exa,Fxa,Gxa,Hxa,Ixa,Jxa,Kxa,Lxa,Mxa,Nxa,Oxa,Pxa,Qxa,Fp(19,new p1),M(2,Y({clear:function(a){return S(a,3)},has:function(a){return a.Wa()},get:function(a){return a.Fa()},set:function(a,b){return a.setTitle(b)}})),M(98,Y({clear:function(a){return S(a,96)},has:function(a){return nE(a,
96)},get:function(a){return Tg(gq(a,96))},set:function(a,b){return mI(a,b)}})),M(6,Y({clear:function(a){return S(a,7)},has:function(a){return T(a,7)},get:function(a){return F(a,7)},set:function(a,b){return EH(a,b)}})),M(97,Y({clear:function(a){return S(a,95)},has:function(a){return hp(a,nv,95)},get:function(a){return Sp(a,nv,95)},set:function(a,b){return lI(a,b)}})),M(254,A_(X0,Q0)),M(175,A_(X0,R0)),M(207,A_(X0,S0)),M(27,Y({clear:function(a){return S(a,25)},has:function(a){return Ys(a,25)},get:function(a){return ws(a,
25)},set:function(a,b){return LH(a,b)}})),M(70,Y({clear:function(a){return S(a,75)},has:function(a){return a.Ve()},get:function(a){return Tg(gq(a,75))},set:function(a,b){return O(a,75,b)}})),M(107,A_(Y0,Y({clear:function(a){return S(a,3)},has:function(a){return mE(a,3)},get:function(a){return Aq(a,3)},set:function(a,b){return K(a,3,b)}}))),M(106,A_(Y0,Y({clear:function(a){return S(a,2)},has:function(a){return mE(a,2)},get:function(a){return Aq(a,2)},set:function(a,b){return K(a,2,b)}}))),M(303,A_(Y0,
Y({clear:function(a){return S(a,4)},has:function(a){return Ys(a,4)},get:function(a){return ws(a,4)},set:function(a,b){return G(a,4,b)}}))),M(105,A_(Y0,Y({clear:function(a){return S(a,1)},has:function(a){return mE(a,1)},get:function(a){return Aq(a,1)},set:function(a,b){return K(a,1,b)}}))),M(333,Y({clear:function(a){return S(a,168)},has:function(a){return hp(a,ts,168)},get:function(a){return Q(a,ts,168)},set:function(a,b){return EI(a,b)}})),M(8,Y({clear:function(a){return S(a,9)},has:function(a){return T(a,
9)},get:function(a){return F(a,9)},set:function(a,b){return GH(a,b)}})),M(337,Y({clear:function(a){return S(a,171)},has:function(a){return hp(a,Yt,171)},get:function(a){return Sp(a,Yt,171)},set:function(a,b){return I(a,171,b)}})),M(332,Y({clear:function(a){return S(a,167)},has:function(a){return R(a,167)},get:function(a){return D(a,167)},set:function(a,b){return E(a,167,b)}})),M(126,Y({clear:function(a){return S(a,120)},has:function(a){return U(a,120,B()).length>0},get:function(a){return U(a,120,
B())},set:function(a,b){return rs(a,120,b)}}))];var Qp=new Map,Rxa=Ip("can_add_children"),Sxa=Ip("can_add_folder_from_another_drive"),Txa=Ip("can_change_category_links"),Uxa=Ip("can_change_category_references"),Vxa=Ip("can_change_drive_background"),Wxa=Ip("can_change_team_drive_background"),Xxa=Ip("can_comment"),Yxa=Ip("can_copy"),Zxa=Ip("can_copy_non_authoritative"),$xa=Ip("can_delete"),aya=Ip("can_delete_children"),bya=Ip("can_delete_drive"),cya=Ip("can_delete_team_drive"),dya=Ip("can_download"),eya=Ip("can_download_non_authoritative"),fya=Ip("can_edit"),
gya=Ip("can_manage_members"),hya=Ip("can_read_team_drive"),iya=Ip("can_remove_children"),jya=Ip("can_rename"),kya=Ip("can_rename_drive"),lya=Ip("can_rename_team_drive"),mya=Ip("can_share"),nya=Ip("can_share_outside_domain"),oya=Ip("can_trash_children");Qp.set(21,{qa:"id"});var pya={};Qp.set(120,{qa:(pya[14]="alternate_link",pya)});var q1={};Qp.set(141,{qa:(q1[14]=Kp("theme_image_url"),q1[0]="background_image_link",q1)});Qp.set(76,{qa:Rxa});var r1={};
Qp.set(208,{qa:(r1[14]=Sxa,r1[0]=function(a){if(!a.pd)return Sxa},r1)});var s1={};Qp.set(156,{qa:(s1[14]=function(a){return N(a.C,77)?Txa:void 0},s1[0]=function(a){return N(a.C,77)?Uxa:void 0},s1)});var t1={};Qp.set(304,{qa:(t1[14]=Wxa,t1[0]=function(a){return a.pd?Vxa:Wxa},t1)});Qp.set(61,{qa:Xxa});Qp.set(258,{qa:Zxa});var qya={};Qp.set(77,{qa:(qya[14]=$xa,qya)});Qp.set(134,{qa:aya});var rya={};Qp.set(311,{qa:(rya[0]=function(a){return a.pd?bya:cya},rya)});Qp.set(81,{qa:gya});Qp.set(79,{qa:function(a){if(a.pd)return mya}});
var sya={};Qp.set(90,{qa:(sya[14]=hya,sya)});var u1={};Qp.set(78,{qa:(u1[14]=iya,u1[0]=function(a){if(!a.pd)return iya},u1)});Qp.set(85,{qa:jya});var v1={};Qp.set(308,{qa:(v1[14]=lya,v1[0]=function(a){return a.pd?kya:lya},v1)});var w1={};Qp.set(307,{qa:(w1[14]=nya,w1[0]=function(a){if(!a.pd)return nya},w1)});Qp.set(135,{qa:oya});var x1={};Qp.set(140,{qa:(x1[14]=Kp("theme_color"),x1[0]="color_rgb",x1)});Qp.set(34,{qa:Yxa});var tya={};Qp.set(9,{qa:(tya[14]="create_date_millis",tya)});var y1={};
Qp.set(180,{qa:(y1[14]=Jp("id"),y1[0]=function(a){return Lp(a.C)?Jp("permission_id")+","+Jp("kind"):"creator"},y1)});var z1={};Qp.set(252,{qa:(z1[14]=Jp("focus_user_id"),z1[0]=function(a){return Lp(a.C)?Jp("id")+","+Jp("kind"):"creator"},z1)});var A1={};Qp.set(198,{qa:(A1[14]=Jp("email_from_account"),A1[0]=function(a){return Lp(a.C)?Jp("email_address_from_account")+","+Jp("kind"):"creator"},A1)});var uya={};Qp.set(282,{qa:(uya[14]=Jp("is_me"),uya)});var vya={};Qp.set(285,{qa:(vya[14]=Jp("type"),vya)});
Qp.set(187,{qa:"customer_id"});Qp.set(41,{qa:dya});Qp.set(259,{qa:eya});Qp.set(59,{qa:fya});var B1={};Qp.set(5,{qa:(B1[14]=Kp("hidden"),B1[0]="hidden",B1)});var C1={};Qp.set(235,{qa:(C1[14]="individual_quota_bytes_total",C1[0]=Hp("quota_info","individual_quota_bytes_total"),C1)});var D1={};Qp.set(157,{qa:(D1[14]=Kp("linked_categories"),D1[0]="category_references",D1)});var wya={};Qp.set(3,{qa:(wya[14]="mime_type",wya)});var xya={};Qp.set(139,{qa:(xya[0]="name",xya)});Qp.set(95,{qa:"organization_display_name"});
var yya={};Qp.set(319,{qa:(yya[14]="partial",yya)});var E1={};Qp.set(75,{qa:(E1[14]=Qca,E1[0]=Rca,E1)});Qp.set(94,{qa:"primary_domain_name"});var F1={};Qp.set(218,{qa:(F1[14]="quota_bytes_used_in_drive",F1[0]=Hp("quota_info","quota_bytes_used"),F1)});var zya={};Qp.set(73,{qa:(zya[0]="recursive_file_count",zya)});var Aya={};Qp.set(118,{qa:(Aya[0]="recursive_folder_count",Aya)});var G1={};
Qp.set(122,{qa:(G1[14]=new Cp("restrictions",["copy_requires_writer_permission","domain_users_only","team_members_only"]),G1[0]="restrictions",G1)});var Bya={};Qp.set(83,{qa:(Bya[14]="team_drive_id",Bya)});var H1={};Qp.set(320,{qa:(H1[14]=Kp("theme_image_grid_view_url"),H1[0]="background_image_grid_view_link",H1)});var I1={};Qp.set(321,{qa:(I1[14]=Kp("theme_image_list_view_url"),I1[0]="background_image_list_view_link",I1)});var Cya={};Qp.set(331,{qa:(Cya[14]=Kp("corpus_limits","can_sync"),Cya)});
var J1={};Qp.set(298,{qa:(J1[14]=Kp("corpus_limits","items_count_capacity_used_percentage"),J1[0]=Hp("corpus_limits","items_count_capacity_used_percentage"),J1)});var K1={};Qp.set(299,{qa:(K1[14]=Kp("corpus_limits","items_count_capacity_used_percentage_notification_threshold"),K1[0]=Hp("corpus_limits","items_count_capacity_used_percentage_notification_threshold"),K1)});var Dya={};Qp.set(2,{qa:(Dya[14]="title",Dya)});var L1={};Qp.set(144,{qa:(L1[14]=Kp("trusted"),L1[0]="trusted",L1)});var Eya=cc(cc(Tb(Cp),hc),Zo);var Fya=function(a,b,c){E_.call(this,a,b,c);this.config=b};V(Fya,E_);var Pp=function(a){I_.call(this,new D_);this.C=a;this.g=new Set};V(Pp,I_);Pp.prototype.A=function(){for(var a=[],b=q(this.fields.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;a.push(new Fya(c,d.config,d.operations))}return new M1(this.C,this.g,a)};var M1=function(a,b,c){G_.call(this,c);this.C=a;this.g=new C_(q(ksa(this,b,[].concat(r(b)))).next().value)};V(M1,G_);l=M1.prototype;l.Jg=function(){return"Primary fields: "+this.g.Cb.g.join(", ")+"\n"+G_.prototype.Jg.call(this)};
l.nb=function(){return[].concat(r(this.g.Cb.g))};l.zg=function(){return this.g.Cb.h};l.ne=function(a){return this.g.Cb.has(a)};l.xj=function(){return[].concat(r(this.g.g))};l.Re=function(){return this.g.Re()};l.mg=function(a){return this.g.mg(a)};l.ed=function(a){var b=this.nb(),c=this.zg();a=q(a);for(var d=a.next();!d.done;d=a.next())d=d.value,c.has(d)||b.push(d);return b};
var Vq=function(a,b,c,d){a=Gya(a,b,c,d);return c===0?[new Cp("kind")].concat(r(a)):a},Gya=function(a,b,c,d){var e=d=d===void 0?{pd:!1,ed:!0}:d;d=e.pd===void 0?!1:e.pd;var f=e.ed===void 0?!0:e.ed;e=new Uq;f&&(b=a.ed(b));b=q(b);for(f=b.next();!f.done;f=b.next()){f=f.value;if(a.configs[f]==null)continue;var g=void 0,h=a.configs[f];f=c;if(((g=h.config)==null?void 0:g.qa)!=null)if(h=Ik(Ap(Eya,f),Bp({C:a.C,pd:d}))(h.config.qa),h===void 0||h instanceof Cp)f=h;else{g=new Uq;h=q(h.split(","));for(var k=h.next();!k.done;k=
h.next()){var m=k.value;k=g;m=f===0?m.split("/").map(Nk):m.split("/");jr(k,m,0)}f=br(g)}else f=void 0;f!==void 0&&(Array.isArray(f)?e.g.apply(e,r(f)):Dp(e,f))}return br(e)};var Mp=new Map;var N1=function(a){V_.call(this,"Connected");var b=this;this.connectionState=a;this.ma=new bi(this);this.Da(this.ma);this.ma.listen(this.connectionState,[OY.Gd,OY.Ui,OY.ce],function(){return void b.Ab()})};V(N1,V_);N1.prototype.max=function(){return O1(this.connectionState)?Infinity:0};N1.prototype.ue=function(){this.Ab()};var P1=function(a){V_.call(this,"Online");var b=this;this.connectionState=a;this.ma=new bi(this);this.Da(this.ma);this.ma.listen(this.connectionState,[OY.Gd,OY.ce],function(){return void b.Ab()})};V(P1,V_);P1.prototype.max=function(){return this.connectionState.h()?Infinity:0};P1.prototype.ue=function(){this.Ab()};var Hya=function(a,b){this.g=a;this.anonymous=b};Hya.prototype.D=function(){return this.g.getState()};var Q1={},Iya=(Q1[0]="/drive/v2internal",Q1[1]="/drive/v2internal.corp",Q1[2]="/drive/v2internal.scary",Q1[4]="/drive/v2internal.scary",Q1[5]="/drive/v2beta",Q1[6]="/drive/v2.1beta",Q1);var R1=function(a){this.o=u(a)};V(R1,v);var Ts=function(a){var b=new R1;return E(b,1,a)},Ss=function(a,b){return E(a,2,b)};var Rs="x-goog-ext-"+(new lF(477772811,BQ,R1)).fieldIndex+"-jspb";var Jya=function(a,b){this.token=a;this.I=b};Jya.prototype.intercept=function(a,b){var c={};c=(c.authorization="Bearer "+this.token,c);c=q(Object.entries(c));for(var d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;a.getMetadata()[d]?this.I.Ba("Could not set request header 'authorization'"):a.metadata[d]=e}return b(a)};var Vca="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");var Kya=function(a){this.g=a};Kya.prototype.intercept=function(a,b){if(!this.g.g.D)return b(a);{let d=a.getMetadata()["x-goog-ext-472780938-jspb"];if(d)try{let e=decodeURIComponent(escape(fb(d))),f,g,h;var c=(h=(f=lla(e).G())==null?void 0:(g=Qs(f))==null?void 0:D(g,2))!=null?h:aq()}catch(e){c=aq()}else c=aq()}return(new Lya(a,this.g,c)).execute(b)};var Lya=function(a,b,c){this.request=a;this.h=b;this.g=c;this.j=0};
Lya.prototype.execute=function(a){var b=this;this.h.Uf({id:this.g,type:"NETWORK_EVENT",Vj:0,nj:Date.now(),yk:performance.now(),metadata:{request:this.request.requestMessage}});a=a(this.request);a.wb("data",function(c){b.j++;b.h.Uf({id:b.g,type:"NETWORK_EVENT",Vj:1,ps:b.j,nj:Date.now(),yk:performance.now(),metadata:{request:b.request.requestMessage,response:c}})});a.wb("end",function(){b.h.Uf({id:b.g,type:"NETWORK_EVENT",Vj:2,nj:Date.now(),yk:performance.now(),metadata:{request:b.request.requestMessage}})});
a.wb("error",function(c){c=c instanceof pT?c:new pT(2,"Unknown gRPC error: "+c,void 0);b.h.Uf({id:b.g,type:"NETWORK_EVENT",Vj:3,nj:Date.now(),yk:performance.now(),metadata:{request:b.request.requestMessage,response:c}})});return a};var bq=function(a,b,c,d,e,f){this.rm=a;this.Lp=b;this.Ho=c;this.bq=d;this.Wq=e;this.kl=f||null;this.jr=Date.now();this.Og=0;this.ll=Mya(this)},Mya=function(a){return a.kl?a.kl(a.Og+1,Date.now()-a.jr):Math.random()*Math.min(a.Lp*Math.pow(a.Ho,a.Og),a.bq)};bq.prototype.Ag=function(){return this.Og};bq.prototype.Eg=function(a){return this.Og>=this.rm?!1:a!=null?!!this.Wq[a]:!0};var Nya=function(){var a=ac.apply(0,arguments);a.forEach(Wca);for(var b=new Set,c=q(a),d=c.next();!d.done;d=c.next()){d=q(d.value.Lm);for(var e=d.next();!e.done;e=d.next())b.add(e.value)}this.g=a},S1=new Set(["status","error","data"]),T1=function(a,b,c){var d=this;this.request=a;this.K=b;this.H=c;this.da=function(e){a:{if(e.code===0)d.Tb=d.H.flatMap(cq);else{for(var f=q(d.Tb),g=f.next();!g.done;g=f.next())if(!d.A&&!d.D&&g.value.Eg(e.code)){d.j=e;break a}d.A=!0}d.h("status",e)}};this.O=function(e){Oya(d,
e)};this.F=function(e){d.D=!0;d.h("data",e)};this.j=null;this.A=!1;this.B=null;this.stream=Pya(this);this.g=new Map;this.Tb=this.H.flatMap(cq)},Pya=function(a){var b=a.K(a.request);b.wb("status",a.da);b.wb("error",a.O);b.wb("data",a.F);return b},Qya=function(a){a.j=null;a.stream.removeListener("status",a.da);a.stream.removeListener("error",a.O);a.stream.removeListener("data",a.F);a.stream.cancel()},Oya=function(a,b){for(var c=q(a.Tb),d=c.next();!d.done;d=c.next()){let e=d.value;if(!a.A&&!a.D&&e.Eg(b.code)){Qya(a);
a.B=setTimeout(function(){if(!e.Eg())throw Error("vb`"+e.rm);++e.Og;e.ll=Mya(e);a.stream=Pya(a);for(var f=q(a.g),g=f.next();!g.done;g=f.next()){var h=q(g.value);g=h.next().value;h=h.next().value;if(!S1.has(g)){h=q(h);for(var k=h.next();!k.done;k=h.next())a.stream.wb(g,k.value)}}},e.ll);return}}a.A=!0;a.j!=null&&a.h("status",a.j);a.h("error",b)};T1.prototype.wb=function(a,b){var c,d=(c=this.g.get(a))!=null?c:[];d.length===0&&this.g.set(a,d);d.push(b);S1.has(a)||this.stream.wb(a,b);return this};
T1.prototype.removeListener=function(a,b){!S1.has(a)&&this.stream.removeListener(a,b);a=this.g.get(a);a!=null&&(b=a.indexOf(b),b>=0&&a.splice(b,1));return this};T1.prototype.cancel=function(){this.B&&(clearTimeout(this.B),this.B=null);this.stream.cancel()};T1.prototype.h=function(a){var b=ac.apply(1,arguments),c=this.g.get(a);if(c!=null){c=q(c);for(var d=c.next();!d.done;d=c.next())d.value.apply(null,r(b))}};var U1=function(){Nya.apply(this,[].concat(r(ac.apply(0,arguments))))};V(U1,Nya);U1.prototype.intercept=function(a,b){return new Rya(a,b,this.g)};var Rya=function(a,b,c){T1.call(this,a,b,c);this.D=!1};V(Rya,T1);var V1=function(){var a=ac.apply(0,arguments).filter(function(b){return b.qm>1});U1.apply(this,[].concat(r(a)))};V(V1,U1);V1.prototype.intercept=function(a,b){var c=a.getMetadata(),d=c["x-goog-no-intercept"];delete c["x-goog-no-intercept"];return d==="true"?b(a):U1.prototype.intercept.call(this,a,b)};var Sya=function(a,b){this.apiKey=a;this.Cd=b===void 0?0:b};Sya.prototype.intercept=function(a,b){var c=this.Cd,d={};c=(d["X-Goog-Api-Key"]=this.apiKey,d["X-Goog-AuthUser"]=""+(c===void 0?0:c),d.Authorization=Qq([])||"",d);c=q(Object.entries(c));for(d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;a.getMetadata()[d]||(a.metadata[d]=e)}return b(a)};var Tya=function(a,b){this.h=a;this.j=b;this.g=null},Uya=function(a){return a.g?a.g.promise:a.h()?(a.g=new py,a.g.promise):null};var W1=function(){};W1.prototype.execute=function(){return null};var Vya=function(){this.g={}},X1=function(a,b,c){if(a.g[b])throw Error("wb");a.g[b]=c};Vya.prototype.notify=function(a,b){for(let c=0;c<a.length;c++)if(this.g[a[c]])try{this.g[a[c]](b)}catch(d){n.setTimeout(function(){throw d;},0)}};var Y1=function(a,b){for(let c=0;c<b.length;c++)delete a.g[b[c]]};var Dq=function(a){this.h=a;this.g={}};Dq.prototype.execute=function(a){var b=[];for(let c=0;c<a.length;c++)if(a[c].oa.L instanceof Zm)b.push(Wya(this,a[c].oa));else{let d=Ct(new Rn,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(co(d)))}return b};Dq.prototype.cancel=function(a){return!!this.g[a]&&this.g[a].cancel()};Dq.prototype.Mc=function(){return!hh(this.g)};
var Wya=function(a,b){var c=a.h.create(b.L,b.config),d=c.start(),e=b.config.requestId;a.g[e]=c;d.then(function(){delete a.g[e]},function(){delete a.g[e]});return d};var Xya=function(a,b,c){this.A=c;this.h=!0;this.j=0;this.g=new uo(a,b,.5)},Z1=function(a){return a.g.h+a.j};var rq=function(){this.requests=[]};l=rq.prototype;l.add=function(a,b){b?this.requests.unshift(a):this.requests.push(a);return!0};l.Dh=function(a){return Ta(this.requests,0,a)};l.getSize=function(){return this.requests.length};l.cancel=function(a){var b=this.requests.find(function(c){return c.oa.config.requestId===a});return b&&Na(this.requests,b)?(b.Z.resolve(kn(b.oa.L)),b):null};l.Mc=function(){return ED(this.requests,function(a){return nn(a.oa.L)})};
l.wj=function(){for(var a=[],b=q(this.requests),c=b.next();!c.done;c=b.next())(c=c.value.oa.config.timestamp)&&a.push(c);return a};var Iq=function(){this.requests=[]};V(Iq,rq);Iq.prototype.add=function(a,b){var c=a.oa.L;return c instanceof Vm&&xl(c.request)&&C(c.request,12)?rq.prototype.add.call(this,a,b):!1};Iq.prototype.Dh=function(a){return this.requests.splice(0,Math.min(a,1))};var yq=function(a,b){this.requests=[];this.g=b};V(yq,rq);
yq.prototype.Dh=function(a){var b=[],c=[],d={},e=0;for(let h=0;h<this.requests.length&&b.length<a;h++){let k=this.requests[h];var f=k.oa.L;zl(f)||Sl(f)||Fm(f)?f="app|"+f.Jd():ul(f)||vl(f)||Al(f)||Hm(f)?f="item|"+(ul(f)?D(f,2):f.J()):Bl(f)||Tl(f)?f="item|"+f.lg():Cl(f)||Im(f)?f="item|"+f.Ie():Mm(f)||Hl(f)?(Mm(f)?(f=Q(f,tF,1),f=Q(f,sF,1)):f=Q(f,sF,1),f="pref|"+D(f,2)+"|"+ws(f,1)):f=Dl(f)||Jm(f)?"td|"+f.J():null;var g=k.oa.L;if(g instanceof hK)g=!!g.Ge();else if(g instanceof jP&&this.g){let m=this.g.g(C(g,
1));if(g=!!m)b:{if(!m){g=!1;break b}g=m.td();g=!(!g||!Qqa.has(g))}}else g=!1;if(f&&d[f]||g&&e===5)break;b.push(k);c.unshift(h);f&&(d[f]=!0);g&&e++}for(a=0;a<c.length;a++)Ma(this.requests,c[a]);return b};var Fq=function(a){this.requests=[];this.g=a};V(Fq,rq);Fq.prototype.Dh=function(a){var b=[];a=new Set(Yya(this.g,a).map(function(c){return c.kf+":"+c.requestId}));for(let c=0;c<this.requests.length;c++)a.has(this.requests[c].oa.config.Gf+":"+this.requests[c].oa.config.requestId)&&b.push.apply(b,r(this.requests.splice(c--,1)));return b};var $1=function(a,b,c,d){T_.call(this);this.B=b;this.connectionState=c;this.S=d;this.g=new Map;this.j=new Set;this.D=function(){return new Xya(Sg(Cq(a,63,jc(1E3))),Sg(Cq(a,64,jc(3E5))),Sg(Cq(a,65,jc(10))))};this.H=a.Ag();this.F=Sg(Cq(a,21,jc(1E3)))};V($1,T_);
$1.prototype.intercept=function(a){var b=a.responses.length,c=b>0&&Ca(a.responses).response||null;if(c){c=$n(c);if(c.g()===2)return Zya(this,a,c);if(eo(c))return b<=2?(U_(this,a),a=!0):a=!1,a;let d=c.je();if(d===3||d===31||d===13||d===9)return $ya(this,a,b);if(fo(c))return c=Z1(this.B),b=this.B,Z1(b)<b.A?(this.log("Backoff number "+c+" for a User Rate Limit error."),U_(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+c+" backoffs."),a=!1),a}return!1};
var Zya=function(a,b,c){var d=aza(a,b),e=Z1(d);if(Z1(d)<d.A)return a.log("Retry "+(e+1)+" for a failed request due to an offline error."),a.connectionState.h()&&e===0?(bza(a,c).catch(function(){}).then(function(){return void U_(a,b)}),d.j++):(c=d.g.getValue(),n.setTimeout(function(){return void U_(a,b)},c),NZ(d.g)),!0;a.g.delete(b);return!1},bza=function(a,b){if(b=b.Nl())if(b=new URL(b),b.protocol&&b.hostname&&!a.j.has(b.hostname))return a.j.add(b.hostname),fetch(b.protocol+"//"+b.hostname+"/empty.js",
{mode:"no-cors"});return Promise.resolve()},aza=function(a,b){a.g.has(b)||a.g.set(b,a.D());return a.g.get(b)},$ya=function(a,b,c){var d=a.H;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),n.setTimeout(function(){return void U_(a,b)},a.F*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};$1.prototype.h=function(a){this.g.delete(a)};$1.prototype.log=function(a){this.S.ia("network.queue.RetryInterceptor").info(a)};var cza=function(a,b){this.g=a;this.S=b},pq=function(a,b){return new a2(b,a.S,a.g)},a2=function(a,b,c){this.name=a;this.S=b;this.F=c;this.A=[];this.h=[];this.B=[];this.j=null;this.D=!1},oq=function(a,b){a.j=b;return a},nq=function(a,b){a.A.push(b);return a};a2.prototype.g=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())nq(this,b.value);return this};var mq=function(a,b){a.h.push(b);return a};l=a2.prototype;
l.Wi=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())mq(this,b.value);return this};l.yf=function(a){this.B.push(a);return this};l.Eo=function(){for(var a=q(ac.apply(0,arguments)),b=a.next();!b.done;b=a.next())this.yf(b.value);return this};l.build=function(){this.validate();if(!this.D){var a=this.A,b=a.push;var c=this.F;c=c.anonymous?new P1(c.g.getState()):new N1(c.g.getState());b.call(a,c)}return new W_(this.S,this.j,this.A,this.h,this.B,this.name)};
l.validate=function(){if(this.j===null)throw Error("xb");if(this.h.length===0)throw Error("yb");};var sq=function(a,b){V_.call(this,"Backoff");this.g=a;this.S=b};V(sq,V_);sq.prototype.max=function(){return this.g.h?Infinity:0};sq.prototype.Hi=function(){var a=this.g;a.j=0;a.g.reset()};sq.prototype.Zj=function(a){var b=this;dza(a)&&this.g.h&&(this.g.h=!1,a=this.g.g.getValue(),this.log("Stopping new requests for "+a+" ms."),n.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.g.h=!0;b.Ab()},a),NZ(this.g.g))};
var dza=function(a){var b;return(a=(b=Ca(a.responses))==null?void 0:b.response)?fo($n(a)):!1};sq.prototype.log=function(a){this.S.ia("network.queue.BackoffState").info(a)};var wq=function(a,b){V_.call(this,"Batch");this.g=a;this.B=b;this.j=this.h=null};V(wq,V_);wq.prototype.max=function(a){return a>=this.g?this.g:this.h!=null?this.B<=Date.now()-this.h?this.g:0:0};wq.prototype.ue=function(a,b){b>=this.g?this.Ab():eza(this)};wq.prototype.Ig=function(a,b){b>0?eza(this):this.h=null};var eza=function(a){a.j!=null&&clearTimeout(a.j);a.h=Date.now()-1;a.j=n.setTimeout(function(){a.j=null;a.Ab()},a.B)};var qq=function(){V_.call(this,"Immediate")};V(qq,V_);qq.prototype.max=function(){return Infinity};qq.prototype.ue=function(){this.Ab()};var Hq=function(a,b,c,d){V_.call(this,"Throughput Logging");this.H=a;this.F=b;this.B=c;this.D=d;this.g=[];this.h=new Map;this.j=0};V(Hq,V_);l=Hq.prototype;l.max=function(){return Infinity};l.ue=function(a){fza(this).add(a);gza(this)};l.Ig=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=hza(this,b);(c=iza(this,c))&&this.B(c,b.oa.L)}};l.Hi=function(a){b2(this,a)};l.Zj=function(a){b2(this,a)};l.Yj=function(a){b2(this,a)};
var b2=function(a,b){var c=hza(a,b),d=iza(a,c);(d?a.D(d,b.Z.promise):Promise.resolve()).catch(function(e){ok("Failed to add response details to upload batch impression",Zn(e),"warning")}).finally(function(){c.remove(b);c.ib()&&(d==null||v_(d),Na(a.g,c),a.h.delete(c))})},fza=function(a){a.g.length===0&&a.g.push(new c2);var b=a.g[a.g.length-1];b.closed&&(b=new c2,a.g.push(b));return b},hza=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.has(b))return c;throw Error("zb");
},iza=function(a,b){a.h.has(b)||a.h.set(b,a.H());var c;return(c=a.h.get(b))!=null?c:null},gza=function(a){clearTimeout(a.j);a.j=setTimeout(function(){fza(a).close()},a.F)},c2=function(){this.closed=!1;this.requests=new Set};l=c2.prototype;l.close=function(){this.closed=!0};l.add=function(a){if(this.closed)throw Error("Ab");this.requests.add(a)};l.remove=function(a){return this.requests.delete(a)};l.has=function(a){return this.requests.has(a)};l.ib=function(){return this.requests.size===0};var tq=function(){V_.call(this,"One Request")};V(tq,V_);tq.prototype.max=function(){return 1};var xq=function(a){V_.call(this,"Parallel");this.mc=a;this.g=0};V(xq,V_);xq.prototype.max=function(){return Math.max(0,this.mc-this.g)};xq.prototype.ue=function(){this.g<this.mc&&this.Ab()};xq.prototype.Ig=function(a){this.g+=a.length};xq.prototype.gi=function(a){this.g-=a.length;this.g<this.mc&&this.Ab()};var Eq=function(a){V_.call(this,"Resumable Upload");this.h=a;this.g=new Map};V(Eq,V_);l=Eq.prototype;l.max=function(){for(var a=0,b=q(this.g),c=b.next();!c.done;c=b.next())c=q(c.value),c.next(),c=c.next().value,a+=d2(c);return a};l.ue=function(a){var b=a.oa.config.Gf,c=this.g.get(b);c||(c=new jza(b,this.h),this.g.set(b,c));{b=c;let d=a.oa.config.Gf;a=a.oa.config.requestId;b.h.has(a)?a=!1:(b.h.add(a),b.g.push({kf:d,requestId:a,index:kza++}),a=!0)}a&&d2(c)>0&&this.Ab()};
l.Ig=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){b=b.value;let c=this.g.get(b.oa.config.Gf);c&&lza(c,b)}};l.gi=function(a){var b=!1;a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=c.oa.config.Gf,e=this.g.get(d);e&&(mza(e,c),e.ib()?this.g.delete(d):d2(e)>0&&(b=!0))}b&&this.Ab()};l.Yj=function(a){this.gi([a])};
var Yya=function(a,b){var c=[];a=q(a.g.values());for(var d=a.next();!d.done;d=a.next()){d=q(nza(d.value));for(var e=d.next();!e.done;e=d.next())Xa(c,e.value,function(f,g){return f.index-g.index})}return c.slice(0,b).map(function(f){return{kf:f.kf,requestId:f.requestId}})},kza=0,jza=function(a,b){this.kf=a;this.mc=b;this.g=[];this.h=new Set;this.Sc=new Set},lza=function(a,b){var c=b.oa.config.requestId;oza(a,b)&&!a.Sc.has(c)&&Oa(a.g,function(d){return d.requestId===c})&&a.Sc.add(c)},mza=function(a,
b){var c=b.oa.config.requestId;Oa(a.g,function(d){return d.requestId===c});a.h.delete(c);a.Sc.delete(c)};jza.prototype.ib=function(){return this.h.size===0&&this.Sc.size===0};var d2=function(a){return Math.min(Math.max(0,a.mc-a.Sc.size),a.g.length)},nza=function(a){return a.g.slice(0,d2(a))},oza=function(a,b){var c=b.oa.config.requestId;return a.kf===b.oa.config.Gf&&a.h.has(c)};var pza=Sb(function(a){return!!n.DedicatedWorkerGlobalScope&&a instanceof n.DedicatedWorkerGlobalScope}),qza=Sb(function(a){return!!n.SharedWorkerGlobalScope&&a instanceof n.SharedWorkerGlobalScope}),e2=Sb(function(a){return!!n.WorkerGlobalScope&&a instanceof n.WorkerGlobalScope});yD(lq,oh);lq.prototype.abort=function(){try{this.Yc.abort()}catch(a){throw new Tk(a,"aborting read");}};lq.prototype.getError=function(){return this.Yc.error&&new Tk(this.Yc.error,"reading file")};lq.prototype.g=function(a){this.dispatchEvent(new Uk(a,this))};lq.prototype.ya=function(){lq.Fb.ya.call(this);delete this.Yc};var rza=function(a){var b=new jk;a.listen("loadend",tj(function(c,d){var e=d.Yc.result,f=d.getError();e==null||f?c.La(f):c.callback(e);d.dispose()},b,a));return b};var su=function(a){try{if(typeof FileReaderSync!=="undefined"&&e2(n)){let d=new FileReaderSync;return Promise.resolve(d.readAsDataURL(a))}let b=new lq,c=rza(b);b.Yc.readAsDataURL(a);return c.then()}catch(b){return Promise.reject(new Tk(Zn(b),"reading data"))}},sza=function(a){return su(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};var f2=function(a,b,c,d,e,f,g,h){var k=this;this.V=a;this.h=b;this.S=c;this.ha=d;this.j=e;this.H=f;this.g=g;this.config=h;this.da=this.A=0;this.O=this.D=null;this.Z=new py;this.K=!1;this.chunks=this.Tb=0;this.B=this.F=null;a=g.Tc();a=e2(n)&&a?Ug(gq(a,1)):null;typeof a==="number"&&(this.g.fileSize=a);this.requestId=h.requestId;this.Wd="progress_"+this.requestId;h.Wd=this.Wd;this.Z.promise.catch(function(){}).finally(function(){return k.K=!0})};f2.prototype.log=function(a){this.S.ia("sync.request.ResumableUpload").info(a)};
f2.prototype.start=function(){var a=this,b=new Xm(this.g),c=jh(this.config);X1(this.h,this.Wd,Jla(function(){return void a.h.notify([a.requestId],0)}));this.V.then(function(e){return e.route(b,c)}).then(function(e){a.g.h=e.g;a.D=e.D;a.O=e.h;tza(a)},function(e){a.Z.reject(co(e,"Unable to initialize upload."))});var d=this.Z.promise.then(function(e){uza(a,e);return e},function(e){e=co(e);uza(a,e.na);return Promise.reject(e)});d.catch(function(){}).finally(function(){return void Y1(a.h,[a.Wd])});return d};
f2.prototype.cancel=function(){return this.K?!1:(this.Z.resolve(kn(this.g)),!0)};
var tza=function(a){a.K||(a.log("Uploading chunk "+a.chunks+" for "+a.g.h+"."),vza(a,4))},vza=function(a,b){wza(a).then(function(c){var d=xza(a);if(c){var e=yza(a);zza(a,c.h.size);Aza(d,c);a.V.then(function(f){return f.route(c,e)}).then(function(f){a.B=null;a.A+=c.h.Lq;a.da+=c.h.size;a.chunks++;f.Ph()&&(a.D=f.Ph());f.Lh()&&(a.O=f.Lh());a.A<a.g.fileSize?tza(a):a.Z.resolve(f);d&&(f=g2(d),H(f,1,!0),v_(d))},function(f){Bza(d,4-b);if(e.te)a.cancel();else{let g=bo(f,43);g.Sh()||g.D()||a.g.g!=null?Cza(a,
b,g,!1):sza(c.h.blob).then(function(h){h=h?uu.get(h)||25:38;Wn(g,h);h=am(g,14)===38;var k=am(g,14)!==38&&am(g,14)!==25;Cza(a,b,g,h,k)},function(){})}})}else Dza(a,d)})},xza=function(a){var b=dq(a.ha,106033);b&&(a=a.g.impression)&&h2(b,a);return b},Aza=function(a,b){if(a){var c=b.j;b=c.start;c=c.end;a=g2(a);a=K(a,2,b);K(a,3,c-1)}},Bza=function(a,b){if(a){var c=g2(a);c=H(c,1,!1);b!=null&&K(c,4,b);v_(a)}},Dza=function(a,b){var c=co(Wn(Ct(new Rn,"Could not read more of the file. Read "+(a.A+"/"+a.g.fileSize+
" bytes.")),5));if(b){var d=g2(b);d=K(d,2,0);K(d,3,0);Bza(b)}a.Z.reject(c)},Cza=function(a,b,c,d,e){e=e===void 0?!1:e;var f=4-b;c.hh(f);!e&&b>0?(a.Tb++,d&&(a.j=Math.max(Math.floor(a.j/262144/2)*262144,8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.chunks+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.j+" bytes "):"")+"for ")+(a.g.h+"."));vza(a,b)},a.H*Math.pow(1.5,f))):a.Z.reject(co(c,"maybeRetry failure. retries:"+a.Tb))},wza=function(a){return a.g.g!=null&&
a.B?Promise.resolve(a.B):hZ(a.g,a.A,a.j).then(function(b){var c=b.blob;b=b.range;if(!c)return null;a.F&&(c=new Blob([a.F,c]),a.F=null);var d=c.size%262144,e=b.end===a.g.fileSize;d>0&&!e&&(a.F=c.slice(-1*d),c=c.slice(0,-1*d));d=a.g;c=new gZ(b,c);a.B=new Ym(d,c,a.da);return a.B})},yza=function(a){a=jh(a.config);a.ol=!0;return a},zza=function(a,b){Y1(a.h,[a.Wd]);X1(a.h,a.Wd,function(c){a.h.notify([a.requestId],Math.min((a.A+b*c)/a.g.fileSize,1))})},uza=function(a,b){b.Tk(3);b.hh(a.Tb);b.Ph()||b.Ae(a.D);
b.Lh()||b.ze(a.O)};var Bq=function(a,b,c,d,e,f){this.A=a;this.h=b;this.S=c;this.g=d;this.j=e;this.H=f};Bq.prototype.create=function(a,b){return new f2(this.A,this.h,this.S,this.g,this.j,this.H,a,b)};var $ca=function(a,b,c,d,e,f,g,h,k){this.C=a;this.A=b;this.da=c;this.H=d;this.S=e;this.F=f;this.O=g;this.B=k;this.g=Gq(a);this.D=new Hya(h,Oq(Xr(a)));this.j=new Xya(Sg(Cq(this.g,59,jc(2E3))),Sg(Cq(this.g,60,jc(2E4))),Sg(Cq(this.g,61,jc(6))));this.h=new cza(this.D,e)},uq=function(a){return new $1(Gq(a.C),a.j,a.D.D(),a.S)},vq=function(a,b,c){c=c===void 0?Rl(a.g,10,50):c;return mq(oq(pq(a.h,b),a.A).g(new wq(c,Rl(a.g,12,10)),new xq(c*3),new sq(a.j,a.S)),new rq).yf(uq(a)).build()};var Eza=function(a){this.g=a};Eza.prototype.build=function(a,b){var c="====="+Sh()+"=====",d=a[0].W,e=b.every(function(k){return k.Nc});if(e){var f=d;var g={"content-type":"text/plain; charset=UTF-8"};d="POST";var h=Fza(this.g,a[0].W);EA(h,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=i2[d],g=Gza[d]||{},g["content-type"]=Wk('multipart/mixed; boundary="%s"',c),d=Hza[d],h=new Uh("");a=Iza(this,a,b,c,e);return{W:f,body:a,headers:g,method:d,uri:h}};
var Iza=function(a,b,c,d,e){var f=Yp(Jza[b[0].W]||{}),g="";for(let w=0;w<b.length;w++){e&&j2(a.g,b[w],c[w]);var h=b[w],k=a.g,m=h,p=c[w];m.uri=k2(k,m.W,m.uri);switch(m.W){case 0:case 5:l2(k,m,p);m2(k,m,p);break;case 2:j2(k,m,p);l2(k,m,p);var t=Gq(k.C);t=C(t,57);m.headers.host=HU(t).g;m.headers.origin=Wp();m2(k,m,p);break;case 12:case 10:case 13:case 15:break;case 8:case 7:throw Error("Db`"+m.W);default:throw Error("Cb`"+m.W);}k=h;m=k.uri.clone();Vh(m,"");Wh(m,"");Xh(m,null);h=f+"\r\n"+(k.method+" "+
m+" HTTP/1.1\r\n")+Yp(h.headers)+"\r\n"+(h.body?h.body+"\r\n":"");g+="--"+d+"\r\n";g+=h}return g+("--"+d+"--\r\n")},n2={},i2=(n2[0]=1,n2[2]=3,n2),o2={},Hza=(o2[0]="POST",o2[2]="PUT",o2[12]="POST",o2),Kza={},Lza={},Gza=(Lza[2]=(Kza["x-goog-upload-protocol"]="batch",Kza),Lza),p2={},q2={},r2={},Mza={},s2={},t2={},Jza=(t2[0]=(p2["content-type"]="application/http",p2["content-transfer-encoding"]="binary",p2),t2[13]=(q2["content-type"]="application/http",q2["content-transfer-encoding"]="binary",q2),t2[12]=
(r2["content-type"]="application/http",r2["content-transfer-encoding"]="binary",r2),t2[2]=(Mza["content-type"]="application/http",Mza),t2[15]=(s2["content-type"]="application/http",s2["content-transfer-encoding"]="binary",s2),t2);var Nza=!1;typeof window!=="undefined"&&["beforeunload","pagehide","unload"].forEach(function(a){window.addEventListener(a,function(){Nza=!0})});
var u2=function(a,b,c,d,e,f,g,h,k,m){k=k===void 0?!1:k;if(!Oza(a))return null;if((m===void 0?0:m)&&Array.isArray(e)){var p=jH(JSON.stringify(e));p=Es(p).na}else{let t;if((t=c["content-type"])==null?0:t.includes("application/json+protobuf"))try{let w=Og(hH,d);p=Es(w).na}catch(w){p=new Rn}else p=Pza(e)||new Rn}uL(p);h&&(e=p,h=Zh(new Uh(h)).toString(),E(e,19,h));Zt(p,15)||wL(p,a||f);C(p,3)||Ct(p,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+g,"isUnloading: "+
Nza,"text length: "+(d?d.length:0)].join(", "));C(p,4)||Jq(p,d);am(p,10)||(f===5?Wn(p,7):a!==0||d?a===403?Wn(p,22):a===503||a===429?Wn(p,24):(S(p,14),vL(p,1),uL(p)):k||Wn(p,2));p.Ae(Zp(c));p.ze($p(c));return p},v2=function(){return u2(0,"",{},"",void 0,-99)},Pza=function(a){if(!qr(a))return null;var b=new Rn,c=a.error;if(!c)return Jq(b,JSON.stringify(a)),null;wL(b,c.code);Ct(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=Eqa[c];d?vL(b,d):c&&!d&&vL(b,2);(a=a.debugInfo)&&Jq(b,
a);return b},Oza=function(a){return a===200||a===204||a===308||a===206?!1:!0};var Qza=/^HTTP\/1\.1 (\d+) ([\w ]+)/,Rza=/^multipart\/mixed; boundary="?([^"]+)"?$/,Sza=function(a,b){this.N=b;this.I=a.ia("sync.BatchParser")};
Sza.prototype.parse=function(a,b){var c;this.I.info("Parsing batch response for API "+((c=b[0])==null?void 0:c.W)+" for "+(b.length+" requests"));a.headers=Xp(a.headers);if((c=Rza.exec(a.headers["content-type"]))&&c[1])c="--"+c[1];else{oB(this.N,106045);c="Headers: "+JSON.stringify(a.headers)+"\nResponse body head: "+a.text.substring(0,1024);var d;if(d=(d=/^--batch_([\w\d_\-]+)/.exec(a.text))?d[0]:null)c=Kq("Could not extract batch boundary from header, but successfully continued with boundary found in response body.",
14,c),ok(c.message,c,"warning"),c=d;else throw Kq("Could not extract batch boundary from header or response body.",14,c);}c=(new Tza(a.text,this.I,this.N)).split(c);d=b.length===c.length;var e=[];for(let ha=0;ha<c.length;ha++){var f=e,g=f.push;a:{let Da=void 0;var h=void 0;let Ha=void 0;var k=a.headers;var m=c[ha];var p=d?b[ha]:void 0,t=void 0,w=void 0;let Db=m.split("\r\n\r\n");if(Db.length<2){m=new fn("Individual batch response contained too few parts.",Wn(Jq(new Rn,m),17));break a}var A=Db[1].split("\r\n");
if(w=Qza.exec(A[0]))t=w[1],isFinite(t)&&(t=String(t)),t=typeof t==="string"?/^\s*-?0x/i.test(t)?parseInt(t,16):parseInt(t,10):NaN,w=w[2];else{m=new fn("Could not extract HTTP status code and text.",Wn(Jq(new Rn,m),16));break a}A.shift();k=jh(k);var J=Object,Z=J.assign;let Lb={};for(let Wb=0;Wb<A.length;Wb++){let De=cU(A[Wb]);De&&De.length===2&&(Lb[De[0].trim()]=De[1].trim())}A=Xp(Lb);Z.call(J,k,A);try{Ha=ka(et(Db[2]))?void 0:JSON.parse(Db[2])}catch(Wb){h=Wb instanceof Error?Wb.message:String(Wb),
h="JSON parsing failed. U:"+((p==null?0:p.uri)?Zh(p.uri.clone()).toString():"unknown")+" M:"+(p==null?void 0:p.method)+" E:"+h}if(p=u2(t,w,k,m,Ha,void 0,void 0,p==null?void 0:(Da=p.uri)==null?void 0:Da.toString())){m=co(p);break a}m={headers:k,text:m,json:Ha||void 0};h&&(m.Jj=h)}g.call(f,m)}return e};var Tza=function(a,b,c){this.g=a;this.I=b;this.N=c};
Tza.prototype.split=function(a){var b=a+"\r\n",c=0;try{c=Uza(this,b)}catch(f){if(b=(b=(new RegExp(a,"i")).exec(this.g))?b[0]:null)c=Kq("Found batch boundary in different case than header. Continuing with ad-hoc boundary.",15,"Expected boundary: "+a+"\nActual boundary: "+b),this.I.Zc("Found batch boundary in different case than header. Continuing with ad-hoc boundary.",c),ok(c.message,c,"warning"),oB(this.N,106044),a=b,b=a+"\r\n",c=Uza(this,b);else throw co(f,"findBatchStart exception with boundary: "+
a);}if(c>0&&!ka(this.g.substring(0,c)))throw Kq("Response did not begin with batch boundary",15,"Boundary start index: "+c+"\n"+this.g.substring(0,c+1024));c+=b.length;var d=a+"--",e=this.g.lastIndexOf(d);if(e<0)throw b="Response length: "+this.g.length+"\ntotal batches: "+((this.g.match(new RegExp(a,"g"))||[]).length+"\nfinal boundary: ")+(d+"\nresponse tail:\n...")+this.g.slice(-1024),Kq("Could not locate final batch boundary in response",15,b);if(e<this.g.length-d.length&&!ka(this.g.substring(e+
d.length)))throw b="Response length: "+this.g.length+"\ntotal batches: "+((this.g.match(new RegExp(a,"g"))||[]).length-1)+("boundary: "+d+"\nresponse tail:\n...")+this.g.substring(Math.min(e,this.g.length-1024)),Kq("Response did not terminate with batch end",15,b);return this.g.substring(c,e).split(b)};var Uza=function(a,b){var c=a.g.indexOf(b);if(c<0)throw Kq("Could not locate batch boundary in response",15,"boundary: "+b+("Response length: "+a.g.length+"\n"+a.g));return c};var Vza=[0,2,4,7,8,14];var w2=function(a,b,c,d,e){this.h=a;this.j=b;this.A=c;this.g=d;this.B=e;this.requests=new Map};w2.prototype.add=function(a,b){var c=b.config,d="DEFAULT";c.Nc&&(d=Fza(this.h,a.W).toString());this.requests.has(d)||this.requests.set(d,[]);d=this.requests.get(d);if(d.length>=1&&!c.Nc&&!i2[a.W])return a=Ct(new Rn,"Unsupported batch API: "+a.W),Promise.reject(co(a));c=new py;d.push({request:a,oa:b,Z:c});return c.promise};
w2.prototype.send=function(){for(var a=this,b=q(this.requests.entries()),c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;let e=d.next().value;try{Wza(this,e)}catch(f){d=Zn(f);d=Jq(Ct(new Rn,"Error executing XHR: "+d.message),d.stack);let g=co(d),h=g.message;e.forEach(function(k){var m=k.oa.L;g.message="send exception #entries:"+a.requests.size+(" #requests:"+e.length+" "+mm(m))+(" "+gn(m))+(" : "+h);k.Z.reject(g)});this.requests.delete(c)}}};
var Wza=function(a,b){if(b.length!==1)x2(a,b);else{var c=b[0],d=c.oa.config;if(d.Dg||d.Nc)x2(a,b);else if(i2[c.request.W]){var e={W:c.request.W,headers:{},method:c.request.method,uri:c.request.uri.clone()};Xza(a.h,e,d);e.uri.toString().length>2E3?x2(a,b):Yza(a,c)}else Yza(a,c)}},Yza=function(a,b){var c;(c=a.g)==null||Zza(c);var d=b.Z;a.j.run(b.request,b.oa.config).then(function(e){$za(a,b);d.resolve(e)},function(e){e=co(e);var f=b.oa.L;e.message="sendOne "+mm(f)+(" "+gn(f))+(" : "+e.message);a.handleError(e);
d.reject(e)})},x2=function(a,b){var c;(c=a.g)==null||Zza(c);var d=[],e=[];b.forEach(function(f){d.push(f.request);e.push(f.oa.config)});a.j.run(a.A.build(d,e),{Dg:!0,Nc:e.every(function(f){return f.Nc})}).then(function(f){return a.B.parse(f,d)}).catch(function(f){f=co(f);var g=b.length,h=[];for(let k=0;k<g;k++)h[k]=f;return h}).then(function(f){var g=!1;for(let h=0;h<b.length;h++){let k=b[h].Z,m=f[h];if(m instanceof fn){g||(g=a.handleError(m));let p=b[h].oa.L;m.message="sendBatch #"+(h+1)+"/"+b.length+
(" "+mm(p))+(" "+gn(p))+(" : "+m.message);k.reject(m)}else k.resolve(m)}g||$za(a,b[0])}).catch(function(f){ok("sendBatch failed sending :"+b.length+" requests",Error("Bb",{cause:f}),"warning")})},$za=function(a,b){var c=b.request.W;b=!b.oa.config.isAnonymous&&Ja(Vza,c);y2(a.g,!0);b&&z2(a.g,!0)};w2.prototype.handleError=function(a){a=$n(a);if(a.g()===2){if(this.g)return y2(this.g,!1),!0}else{if(eo(a))return y2(this.g,!0),z2(this.g,!1),!0;if(this.g)return y2(this.g,!0),!0}return!1};var A2=function(a,b,c,d,e,f,g){this.j=a;this.O=b;this.F=c;this.A=d;this.h=e;this.g=[];this.D=new Sza(f,g);this.B=new Eza(this.j)};A2.prototype.execute=function(a){if(this.h.h){let b=Promise.reject(co(v2()));return a.map(function(){return b})}return aAa(this,a)};A2.prototype.cancel=function(a){return this.A.cancel(a)};A2.prototype.Mc=function(){return this.g.some(function(a){return nn(a.L)})};
var aAa=function(a,b){var c=new w2(a.j,a.A,a.B,a.h,a.D),d=[],e=[];b=q(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=a.O.convert(f.oa,f.responses);d.push(g);e.push(bAa(a,f,g,c))}Promise.allSettled(d).then(function(){c.send()});return e},bAa=async function(a,b,c,d){var e=b.oa;try{a.g.push(e);let f=await c,g=await d.add(f,b.oa);return a.F.convert(e.L,g,b.responses)}catch(f){return Promise.reject(co(f))}finally{a.hd(e)}};A2.prototype.hd=function(a){Na(this.g,a)};var B2=function(a,b,c,d,e,f){var g=this;this.D=a;this.B=b;this.h=c;this.A=d;this.j=e;this.g=[];e.every(function(h){return h.Fc});this.F=ica(function(h,k,m){return cAa(g,h,k,m)});this.I=f.ia("DfeBatchExecutor")};B2.prototype.execute=function(a){var b=this;if(this.A.h){let c=Promise.reject(co(v2()));return a.map(function(){return c})}return dAa(this,a).flatMap(function(c){return eAa(b,c)})};B2.prototype.cancel=function(a){return this.h.cancel(a)};B2.prototype.Mc=function(){return this.g.some(function(a){return nn(a.L)})};
var dAa=function(a,b){var c=[],d=a.j.find(function(f){return f.Ga(b[0].oa.L)}),e=[b[0]];for(let f=1;f<b.length;f++){let g=b[f];d&&bda(e[0],g,d)?e.push(g):(c.push(e),e=[g],d=a.j.find(function(h){return h.Ga(g.oa.L)}))}e.length>0&&c.push(e);return c},eAa=function(a,b){if(b.length===1){var c=b[0];return[fAa(a,c.oa,c.responses)]}a.I.info("Batching "+b.length+" "+mm(b[0].oa.L)+" requests.");c={L:new Ok(b.map(function(e){return e.oa.L})),config:b[0].oa.config};var d=b.map(function(){return new py});fAa(a,
c,b[0].responses).then(function(e){for(let f=0;f<e.length;f++){let g=e[f].result;Lq(g)?d[f].resolve(g.value):d[f].reject(g.reason)}}).catch(function(e){e=co(e,"Driveway executeBatch rejecting all "+b.length+" requests first:"+mm(b[0].oa.L));for(var f=q(d),g=f.next();!g.done;g=f.next())g.value.reject(e)});return d.map(function(e){return e.promise})},fAa=async function(a,b,c){a.g.push(b);var d=a.D.convert(b,c);return a.F(b,c,await d)},cAa=async function(a,b,c,d){try{let e=await a.h.run(d,b.config);
return a.B.convert(b.L,e,c)}catch(e){return Promise.reject(co(e,"Driveway request:"+mm(b.L)))}finally{a.hd(b)}};B2.prototype.hd=function(a){Na(this.g,a)};var C2=function(a,b,c,d){this.B=a;this.A=b;this.j=c;this.g=d;this.h=[]};C2.prototype.execute=function(a){if(this.g.h){let b=Promise.reject(co(v2()));return a.map(function(){return b})}return gAa(this,a)};C2.prototype.cancel=function(a){return this.j.cancel(a)};C2.prototype.Mc=function(){return this.h.some(function(a){return nn(a.L)})};
var gAa=function(a,b){return b.map(function(c){return hAa(a,c)})},hAa=async function(a,b){var c=b.oa;b=b.responses;a.h.push(c);try{let d=await a.B.convert(c,b),e=await a.j.run(d,c.config),f=await a.A.convert(c.L,e,b),g=d.W,h=!c.config.isAnonymous&&Ja(Vza,g);y2(a.g,!0);h&&z2(a.g,!0);return f}catch(d){let e=co(d);a.handleError(e);return Promise.reject(e)}finally{a.hd(c)}};C2.prototype.handleError=function(a){a=$n(a);a.g()===2?y2(this.g,!1):eo(a)?(y2(this.g,!0),z2(this.g,!1)):y2(this.g,!0)};
C2.prototype.hd=function(a){Na(this.h,a)};var iAa=new WC("rR9Zm","rR9Zm");var jAa=function(a,b,c){this.C=a;this.h=c;this.I=b.ia("network.xhr.Decorator");b=Gq(a);b=bl(b,8);this.g=Iya[b];a=Gq(a);a=bl(a,51,5);this.j=Iya[a]},Xza=function(a,b,c){if(c.Nc)m2(a,b,c),l2(a,b,c);else{var d={};if(b.W===11){if(c.hk){let e=c.ve||nJ(Gq(a.C));d.key=e;Yk(d,b.uri)}m2(a,b,c);j2(a,b,c)}else switch(b.uri=k2(a,b.W,b.uri),b.W){case 1:j2(a,b,c);D2(a,b);m2(a,b,c);break;case 0:c.isAnonymous||Oq(Xr(a.C))||N(a.C,83)&&Yk({dsNonce:Sh()},b.uri);j2(a,b,c);D2(a,b);l2(a,b,c);m2(a,b,c);break;case 2:case 3:case 4:case 5:j2(a,
b,c);D2(a,b);l2(a,b,c);m2(a,b,c);break;case 8:case 10:case 13:case 12:case 7:case 15:j2(a,b,c);l2(a,b,c);break;case 14:j2(a,b,c);l2(a,b,c);c.ui=!0;break;default:throw Error("Cb`"+b.W);}}},Fza=function(a,b){var c=k2(a,b,new Uh);if(!c.g)throw Error("Eb");return Yh(Xh(Wh(Vh(new Uh,c.h),c.g),c.A),kAa.has(b)?"/batch"+a.g:"/batch")},k2=function(a,b,c){var d=Gq(a.C);d=C(d,57);switch(b){case 0:a=d+a.g;break;case 1:a=d+"/batch"+a.g;break;case 2:a=d+"/upload"+a.g;break;case 3:a=d+"/upload"+a.g+"/batch";break;
case 4:return c;case 5:a=d+a.j;break;case 7:a=Gq(a.C);a=x(a,62);break;case 8:a=Gq(a.C);a=C(a,53);break;case 10:a=Gq(a.C);a=C(a,22);break;case 13:a=Gq(a.C);a=C(a,55);break;case 12:a=Gq(a.C);a=C(a,43);break;case 14:if(c.h)return c;a=Gq(a.C);a=x(a,66);break;case 15:a=Gq(a.C);a=x(a,69);break;default:throw Error("Cb`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new Uh(a);c.startsWith("/")&&(c=c.slice(1));return new Uh(a+"/"+c)},j2=function(a,b,c){a=Xr(a.C);c=Sq(a,c.isAnonymous);
c=q(Object.entries(c));for(a=c.next();!a.done;a=c.next()){var d=q(a.value);a=d.next().value;d=d.next().value;b.headers[a]=d}},D2=function(a,b){if("origin"in b.headers)a.I.info("origin header already present");else if("x-origin"in b.headers)a.I.info("x-origin header already present");else{var c=Wp();Dh(b.uri.toString(),c)&&(a.I.info("Adding x-origin header"),b.headers["x-origin"]=c)}},m2=function(a,b,c){var d=Xr(a.C),e=Gq(a.C),f=c.xi||!!C(e,13);c=c.yi||N(e,14);var g=b.W===11;if(f){f=C(e,13);var h=
{};f&&f.startsWith("email:")?h.trace=f:f&&f==="trace:true"?h.$trace="true":h.trace=f?"token:"+f:"email:"+x(d,3).replace(/(@|\+).*$/,"");g||(h["trace.deb"]="genoa:3:all,driveService:3:all"+(mJ(e)===2?"":",cospel:3:all,DriveService:3:all"));Yk(h,b.uri)}if(c&&!g&&a.h&&(d=a.h,a=b.headers,e=b.method,c=b.uri.toString(),d.g&&(g=d.g,!a["X-Google-DapperTraceInfo"]))){b=new CQ;S(b,1,$c(jc(globalThis.BigInt.asUintN(64,globalThis.BigInt(g.h)))));h=Sh().substring(0,8);g=sC(h);f=new dK;f=E(f,1,h);f=E(f,2,g);e=
E(f,3,e);e=E(e,4,c);d.h.push(e);S(b,2,$c(globalThis.BigInt.asUintN(64,globalThis.BigInt(g)).toString()));S(b,4,$c("3472328296227680304"));if(!Ac(41))throw nb("uint32");S(b,3,41);d=String.fromCharCode.apply(String,r(b.g()));a["X-Google-DapperTraceInfo"]=n.btoa(d)}},l2=function(a,b,c){c.isAnonymous||Oq(Xr(a.C))?(a=Gq(a.C),a=x(a,36)):a=c.ve||nJ(Gq(a.C));Yk({key:a},b.uri)},kAa=new Set([0,1,2,3]);var E2=function(a){this.o=u(a)};V(E2,v);E2.prototype.R=function(){return eE(this,3)};E2.prototype.setStatus=function(a,b){return He(this,3,Cc,b,a,Dc,void 0,1)};var F2=function(a){this.o=u(a)};V(F2,v);var lAa=function(a,b){H(a,2,b)},mAa=function(a,b){jq(a,5,b)};F2.prototype.ra=function(a){return eE(this,5,a)};F2.prototype.ob=function(a){return He(this,5,Cc,void 0,a,Dc,void 0,1)};var nAa=function(a,b){K(a,6,b)};F2.prototype.Hb=function(){return bl(this,7)};F2.prototype.yc=function(a){return G(this,7,a)};var oAa=function(a,b){H(a,8,b)},pAa=function(a,b){K(a,9,b)};var G2=function(a){this.o=u(a)};V(G2,v);var H2=function(a,b){return H(a,1,b)},I2=function(a,b){return G(a,3,b)},J2=function(a,b){return G(a,4,b)};G2.prototype.Hb=function(){return bl(this,5)};G2.prototype.yc=function(a){return G(this,5,a)};var K2=function(a,b){K(a,6,b)};var qAa=function(a){this.o=u(a)};V(qAa,v);var rAa=function(a){this.o=u(a)};V(rAa,v);var sAa=function(a){this.o=u(a)};V(sAa,v);var tAa=function(a){return Rl(a,4)},uAa=function(a,b){K(a,4,b)};var vAa=function(a){this.o=u(a)};V(vAa,v);var L2=function(a){this.o=u(a)};V(L2,v);L2.prototype.R=function(){return bl(this,1)};L2.prototype.setStatus=function(a){return G(this,1,a)};L2.prototype.ka=function(){return ws(this,1)};var wAa=function(a,b){G(a,2,b)},xAa=function(a,b){return H(a,3,b)};L2.prototype.Va=function(){return Rl(this,4)};L2.prototype.g=function(a){return K(this,4,a)};var yAa=function(a){this.o=u(a)};V(yAa,v);var zAa=function(a,b){return K(a,1,b)},AAa=function(a,b){return K(a,2,b)},BAa=function(a,b){return K(a,4,b)},CAa=function(a,b){O(a,9,b)},DAa=function(a,b){return H(a,8,b)};var M2=function(a){this.o=u(a)};V(M2,v);M2.prototype.Mf=function(){return Rl(this,3)};var N2=function(a){this.o=u(a)};V(N2,v);var EAa=function(a,b){K(a,1,b)};N2.prototype.Mf=function(){return Rl(this,2)};var FAa=function(a,b){return K(a,2,b)};var GAa=function(a){this.o=u(a)};V(GAa,v);var HAa=function(a,b){G(a,1,b)};var O2=function(a){this.o=u(a)};V(O2,v);var IAa=function(a,b){return O(a,1,b)},JAa=function(a,b){return O(a,2,b)},KAa=function(a,b){return O(a,3,b)},LAa=function(a,b){O(a,4,b)},MAa=function(a,b){return O(a,5,b)};var NAa=function(a){this.o=u(a)};V(NAa,v);var P2=function(a){this.o=u(a)};V(P2,v);P2.prototype.yb=function(a){return G(this,1,a)};var Q2=function(a,b){return G(a,2,b)},R2=function(a,b){return G(a,3,b)};P2.prototype.Mf=function(){return Rl(this,7)};var OAa=function(a){this.o=u(a)};V(OAa,v);var PAa=function(a){this.o=u(a)};V(PAa,v);var Yra=function(a){this.o=u(a)};V(Yra,v);var S2=function(a){this.o=u(a)};V(S2,v);l=S2.prototype;l.ra=function(){return bl(this,1)};l.ob=function(a){return G(this,1,a)};l.yb=function(a){return G(this,2,a)};l.R=function(){return bl(this,4)};l.setStatus=function(a){return G(this,4,a)};l.ka=function(){return ws(this,4)};var T2=function(a){this.o=u(a)};V(T2,v);var QAa=function(a){var b=new T2;return K(b,1,a)};var RAa=function(a){this.o=u(a)};V(RAa,v);var SAa=function(a){this.o=u(a)};V(SAa,v);var U2=function(a){this.o=u(a)};V(U2,v);U2.prototype.Hb=function(){return bl(this,5)};U2.prototype.yc=function(a){return G(this,5,a)};var TAa=function(a,b){H(a,6,b)};var UAa=function(a){this.o=u(a)};V(UAa,v);var VAa=function(a){this.o=u(a)};V(VAa,v);var WAa=function(a){this.o=u(a)};V(WAa,v);var V2=function(a,b){return H(a,2,b)},XAa=function(a,b){G(a,3,b)},W2=function(a,b){return K(a,8,b)};var X2=function(a){this.o=u(a)};V(X2,v);X2.prototype.R=function(){return bl(this,1)};X2.prototype.setStatus=function(a){return G(this,1,a)};X2.prototype.ka=function(){return ws(this,1)};var YAa=function(a,b){O(a,2,b)};X2.prototype.getMemoryInfo=function(){return Q(this,O2,3)};var ZAa=function(a){return Sp(a,O2,3)};var Y2=function(a){this.o=u(a)};V(Y2,v);Y2.prototype.yb=function(a){return G(this,1,a)};Y2.prototype.R=function(){return bl(this,2)};Y2.prototype.setStatus=function(a){return G(this,2,a)};Y2.prototype.ka=function(){return ws(this,2)};var Z2=function(a){this.o=u(a)};V(Z2,v);Z2.prototype.X=function(){return Q(this,S2,1)};var r_=function(a){return Sp(a,S2,1)};Z2.prototype.getState=function(){return Q(this,U2,2)};
var $Aa=function(a){return Sp(a,PAa,7)},aBa=function(a){return Sp(a,SAa,12)},$2=function(a){return Sp(a,GAa,17)},a3=function(a){return Sp(a,sAa,19)},eq=function(a){return Sp(a,E2,32)},b3=function(a){return Sp(a,yAa,33)},bBa=function(a){return Sp(a,N2,35)},cBa=function(a){return Sp(a,NAa,36)},c3=function(a){return Sp(a,Y2,37)},d3=function(a){return Sp(a,X2,38)};var dBa=!1,e3=function(a,b,c){b=Error.call(this,b,c);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.status=a;this.cause=c==null?void 0:c.cause;Object.setPrototypeOf(this,e3.prototype)};V(e3,Error);var f3=function(a,b,c,d,e){this.Oe=a;this.C=b;this.g=c;this.N=d;this.isFirstRequest=!0;this.I=e.ia("network.routing.executor.wasm.WasmCloudStoreExecutor");this.h=eBa(this,this.C);this.h.catch(function(){})};
f3.prototype.execute=function(a){if(!Ao(this.C,2))return this.g.execute(a);var b=Array(a.length),c=[];a=q(a.entries());for(var d=a.next();!d.done;d=a.next()){var e=q(d.value);d=e.next().value;e=e.next().value;let f=e.oa.L;Ao(this.C,3)&&f instanceof en?b[d]=fBa(this,e,f):c.push({Tq:d,transaction:e})}c.length>0&&this.g.execute(c.map(function(f){return f.transaction})).forEach(function(f,g){b[c[g].Tq]=f});return b};
var fBa=function(a,b,c){c=gBa(a,c).catch(function(d){a.I.Ba("Wasm ListWorkspaces failed (threw). Falling back.",d instanceof Error?d:void 0);return null});b=hBa(a,b).catch(function(d){a.I.Ba("Fallback failed in dark launch.",d instanceof Error?d:void 0);return null});return Promise.all([c,b]).then(function(d){var e=q(d);d=e.next().value;e=e.next().value;if(!d){if(e)return e;throw Error("Fb");}if(!e)throw Error("Gb");var f=d.ka();if(f&&f!==1)return a.I.Ba("Wasm ListWorkspaces returned non-success status: "+
f+". Falling back."),e;f=new Set(MP(d).map(function(h){return h.J()}));if(!cl(ax)(e))throw Error("Hb");var g=new Set(MP(e).map(function(h){return h.J()}));return iBa(f,g)?d:(a.I.Ba("Wasm and fallback returned different workspace IDs. Falling back."),e)})},gBa=async function(a,b){b.pageToken&&E(b.request,8,b.pageToken);return await jBa(a,function(){return dla(b.request)},function(c){return ela(c)},function(c,d){return new Promise(function(e){c.listWorkspaces(d,e)})})},hBa=async function(a,b){var c=
dq(a.N,106051);try{let f=await a.g.execute([b])[0];let g,h,k,m,p;var d=(p=(m=(g=f.ka)==null?void 0:g.call(f))!=null?m:(h=f.response)==null?void 0:(k=h.ka)==null?void 0:k.call(h))!=null?p:null;let t=c==null?void 0:c3(fq(c));if(t!=null){var e=t.yb(12).setStatus(iq(d));G(e,7,2)}d==null||t!=null&&G(t,8,d);c==null||v_(c);return f}catch(f){throw c!=null&&(a=c3(fq(c)).yb(12).setStatus(iq(3)),a=G(a,8,3),G(a,7,2)),c==null||v_(c),f;}},jBa=async function(a,b,c,d){var e=Date.now(),f=await a.h,g=Date.now()-e;
e=dq(a.N,106051);try{let w=Date.now(),A=b(),J=Date.now()-w,Z=await d(f,A),ha=Date.now(),Da;try{Da=c(new Uint8Array(Z))}catch(Wb){throw new e3(77,"Deserialization failed",{cause:Wb});}let Ha=Date.now()-ha,Db=Da.ka(),Lb=e==null?void 0:c3(fq(e));if(Lb!=null){var h=Lb.yb(12).setStatus(iq(Db!=null?Db:null));var k=O(h,3,g);var m=O(k,4,J);var p=O(m,5,Ha);var t=H(p,6,a.isFirstRequest);G(t,7,1)}Db==null||Lb!=null&&G(Lb,8,Db);a.isFirstRequest=!1;e==null||v_(e);return Da}catch(w){throw b=w instanceof e3?w.status:
3,e!=null&&(a=c3(fq(e)).yb(12).setStatus(iq(b)),a=G(a,8,b),G(a,7,1)),e==null||v_(e),e=co(w instanceof e3&&w.cause?w.cause:w),ok("WASM module execution failure",e,"warning"),w;}};f3.prototype.cancel=function(a){return this.g.cancel(a)};f3.prototype.Mc=function(){return this.g.Mc()};
var eBa=async function(a,b){var c=null;dBa||(dBa=!0,c=dq(a.N,106052));try{let d=await Promise.resolve(kBa(a.Oe)[iAa]),e=d.Rs,f;(f=c)==null||YAa(d3(fq(f)).setStatus(iq(1)),d.Es);let g=new e.WasmCloudStore(function(){var p=new lJ;var t;var w=new kJ;var A=((t=Q(b,ru,33))==null?void 0:x(t,66))+"/v1";w=E(w,1,A);var J;t=(new iJ).setApiKey((J=Q(b,ru,33))==null?void 0:nJ(J));J=Sq(Xr(b));var Z;if((Z=Q(b,VJ,36))==null?0:FA(Z)){var ha;Z=(ha=Q(b,VJ,36))==null?void 0:x(ha,7);Dj(t,1,jJ,cd(Z))}else Dj(t,2,jJ,cd(J.authorization));
J["x-goog-authuser"]&&E(t,4,J["x-goog-authuser"]);D(b,62)&&(ha=D(b,62),E(p,4,ha));p=I(p,1,w);p=I(p,2,t);return zja(p)}),h,k=(h=e.getMemoryInfo)==null?void 0:h.call(e);if(k){let p;(p=c)==null||LAa(KAa(JAa(IAa(MAa(ZAa(d3(fq(p))),k.totalMemory),k.arena),k.hblkhd),k.fordblks),k.uordblks)}let m;(m=c)==null||v_(m);return g}catch(d){let e;(e=c)==null||d3(fq(e)).setStatus(iq(3));let f;(f=c)==null||v_(f);a=co(d);ok("WASM module load failure",a,"warning");throw d;}},iBa=function(a,b){if(a.size!==b.size)return!1;
a=q(a);for(var c=a.next();!c.done;c=a.next())if(!b.has(c.value))return!1;return!0};var lBa=function(a){this.bb=a},h3=function(a,b){b.then(function(){if(a.bb){var c=g3(a.bb);kE(c,5,0)}var d;(d=a.bb)==null||v_(d)},function(c){if(a.bb){var d=co(c).na;c=d.Id();d=Aq(d,26);let f=g3(a.bb);c&&kE(f,4,c);d&&kE(f,5,d);c||d||kE(f,5,2)}var e;(e=a.bb)==null||v_(e)})};var mBa=function(a){this.N=a},i3=function(a,b,c,d){var e=c.va,f=c.requestType;c=c.Mf;var g;if(a=(g=dq(a.N,106041))!=null?g:void 0)d=R2(Q2(g3(a).yb(f),d),s_(e)),c&&(b=c(b),K(d,7,b));return new lBa(a)};var j3=function(a){this.g=a};j3.prototype.uk=function(a){return this.g.uk(a)};j3.prototype.intercept=function(a,b,c){return this.g.intercept(a,b,c)};j3.prototype.getName=function(){return this.g.getName()};var k3=function(a,b,c){this.g=a;this.I=b.ia(Wk("network.routing.interceptor.MigrationInterceptor [%s]",c))};V(k3,j3);k3.prototype.intercept=function(a,b,c){var d=this.I,e=d.info,f=this.g.va,g="";switch(f){case 1:g="FULL";break;case 2:g="DARK";break;case 3:g="FBCK";break;case 0:g="UNKN";break;default:uc(f)}e.call(d,"DRIVE -> DFE "+g+")");return j3.prototype.intercept.call(this,a,b,c)};var l3=function(a,b){this.g=a;this.N=b};l3.prototype.uk=function(a){return this.g.Ga(a)};l3.prototype.getName=function(){return this.g.Ja};var m3=function(a,b,c){a.g.G(b).yb(Vp(a.va));c=Object.assign({},c,{Xa:14});a.va===2&&(c.criticality="CgIIAA==");return[b,c]},n3=function(a,b,c,d){a=i3(a.N,c,a.g,d.Xa===14?2:1);b=b.route(c,d);h3(a,b);return b};var o3=function(a,b){l3.call(this,a,b);this.va=1};V(o3,l3);o3.prototype.intercept=function(a,b,c){c=q(m3(this,b,c));b=c.next().value;c=c.next().value;return n3(this,a,b,c)};var p3=function(a,b){l3.call(this,a,b);this.va=3};V(p3,l3);p3.prototype.intercept=function(a,b,c){var d=this,e=this.g.clone(b),f=q(m3(this,b,c));b=f.next().value;f=f.next().value;f.te=!0;var g=i3(this.N,b,this.g,f.Xa===14?2:1);b=a.route(b,f);h3(g,b);return b.then(function(h){return d.g.ag(h)?(Is(d.N.N,424848106),nBa(d,a,g,e,c)):h},function(){return nBa(d,a,g,e,c)})};
var nBa=function(a,b,c,d,e){var f=q([d,e||{}]);e=f.next().value;f=f.next().value;d=a.g.G(d);H(d,14,!0);a=i3(a.N,e,a.g,f.Xa===14?2:1);a.bb&&c.bb&&h2(a.bb,c.bb);b=b.route(e,f);h3(a,b);return b};var q3=function(a,b){l3.call(this,a,b);this.va=2};V(q3,l3);q3.prototype.intercept=function(a,b,c){var d=this.g.clone(b),e=q([b,c||{}]);b=e.next().value;e=e.next().value;d=q(m3(this,d,c));c=d.next().value;d=d.next().value;b=n3(this,a,b,e);n3(this,a,c,d).then(null,function(){});return b};var r3=function(a,b){l3.call(this,a,b);this.va=2;this.h=new Map};V(r3,l3);
r3.prototype.intercept=function(a,b,c){var d=this,e=this.g.clone(b),f=q([b,c||{}]);b=f.next().value;f=f.next().value;var g=oBa(this,e,c).then(function(h){var k=q(h);h=k.next().value;k=k.next().value;return h?n3(d,a,h,k).catch(function(){}):Promise.resolve(void 0)});c=n3(this,a,b,f);c.then(function(h){(h=h.rb())&&d.h.set(h,g)});return c};
var oBa=function(a,b,c){b=q(m3(a,b,c));var d=b.next().value,e=b.next().value;b=d.rb();if(!b)return Promise.resolve([d,e]);if(!a.h.has(b))return Promise.resolve([void 0,e]);c=a.h.get(b);a.h.delete(b);return c.then(function(f){f=f==null?void 0:f.rb();if(!f)return[void 0,e];E(d,2,f);return[d,e]})};var s3=function(a,b){l3.call(this,a,b);this.va=0};V(s3,l3);s3.prototype.intercept=function(a,b,c){c=q([b,c||{}]);b=c.next().value;c=c.next().value;return n3(this,a,b,c)};var pBa=function(a,b){this.S=a;this.N=new mBa(b);this.I=a.ia("network.routing.interceptor.v2.driveway.factory.InterceptorFactory")},qBa=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next()){var e=c,f=e.push;let h=void 0;var g=a;d=d.value;let k=d.va;switch(k){case 0:h=new s3(d,g.N);break;case 2:d.requestType===1?h=new r3(d,g.N):h=new q3(d,g.N);break;case 1:h=new o3(d,g.N);break;case 3:h=new p3(d,g.N);break;default:uc(k)}g=new k3(h,g.S,d.Ja);f.call(e,g)}return c};var rBa=cc($m,cn);var sBa=Sb(function(a){return F(a,15)===!0}),NA=Sb(function(a){return Jm(a)&&sBa(a)});var tBa=Sb(function(a){return F(a,15)===!1}),PA=Sb(function(a){return Jm(a)&&tBa(a)});var uBa=Sb(function(a){return T(a,15)}),vBa=Sb(function(a){return Jm(a)&&ec(uBa)(a)});var t3=Sb(function(a){return!!D(a,12)}),Tt=Sb(function(a){return a.Bc()==="application/vnd.google-apps.shortcut"}),Ut=Sb(function(a){return a.Bc()==="application/vnd.google-apps.folder"}),wBa=Sb(function(a){return!Tt(a)&&!Ut(a)}),xBa=Sb(function(a){return xl(a)&&!t3(a)&&wBa(a)}),yBa=Sb(function(a){return xl(a)&&!t3(a)&&Tt(a)}),zBa=Sb(function(a){return xl(a)&&!t3(a)&&Ut(a)}),ABa=Sb(function(a){return!hq(a)||a.ka()!==1});var BBa=Sb(function(a){return!hq(a)||a.ka()!==1});var CBa=Sb(function(a){return a instanceof Vm&&!vl(a.request)}),DBa=Sb(function(a){return a instanceof Zm&&!vl(a.Oc)}),EBa=Sb(function(a){return!hq(a)||a.ka()!==1});var FBa=function(a){var b=new pl;rZ(b,"hidden",F(a,4));a=z(a,FJ,7,B());var c=[];for(let e=0;e<a.length;e++){var d=a[e];let f=d.Ca();if(f){let g=ws(d,1);d=d.Qa();let h=[];d&&g===1&&h.push("not");h.push("name");h.push(g===1?"contains":d?"!=":"=");h.push(oZ(f));c.push(h.join(" "))}}sZ(b,c);return b.toString()};var u3=function(a,b,c){this.M=a;this.Jc=b;this.C=c;this.rootId="";this.fields=this.M.nb().sort();this.g=this.M.fd().sort();this.anonymous=Oq(Xr(c))};u3.prototype.Jb=function(a){this.rootId=a};
var v3=function(a){return cl(pn)(a)?!!uz(a).find(function(b){return b.Ca()==="root"}):a.ta().includes("root")},w3=function(a,b,c){b=b.clone();var d=uz(b).filter(function(f){return f.Ca()==="root"});d=q(d);for(var e=d.next();!e.done;e=d.next())e.value.setValue(a.rootId);Dja(b,hz(b).map(function(f){f.setValue(f.getValue().toLowerCase());return f}));a=c?a.fields.slice():b.za().slice();a.sort();Ee(b,1,a,Cc);return b},GBa=function(a,b){a=w3(a,b.clone());b=a.za().filter(function(c){return!Z0.has(c)});return Ee(a,
1,b,Cc)},y3=function(a,b,c){if(cl(pn)(b)){var d=c!=null?c:1;b=GBa(a,b);var e=ara(b);e+=HBa(b);var f,g,h=((f=a.C)==null?0:(g=zo(f))==null?0:F(g,19))?14:0;return e+(RJ(zq(a.C,Tp,4))===!0&&zq(b,P,30).g()===1535?"|prefetch":"")+IBa(a,b,d)+JBa(a,b,d,h)}if(cl($t)(b))return f=c!=null?c:1,g=b.ta().slice().sort().join(","),F(b,5)&&(g+="|cachedOnly"),h=((d=a.C)==null?0:(e=zo(d))==null?0:F(e,21))?14:0,g+IBa(a,b,f)+JBa(a,b,f,h);if(cl(tK)(b))return FBa(b)+"|tdList";if($m(b)){f=b.ta().slice().sort();b.Wb(f);g=
"";if(b.za().length){let k;g=((h=a.C)==null?0:(k=zo(h))==null?0:F(k,25))?14:0;d=a.Jc;b=b.za();a=x3(a,g)?14:0;g="|"+(new (Function.prototype.bind.apply(Uq,[null].concat(r(Gya(d,b,a===void 0?0:a,{ed:!1})))))).toString()}return f.join(",")+g+"|tdMap"}throw Error("Ib");},JBa=function(a,b,c,d){return c===3?"":"|"+z3(a,b.za(),c===2,d)},IBa=function(a,b,c){return c===3?"":KBa(a,b.Fe(),c===2)},HBa=function(a){var b="";a=Q(a,pB,75);if(a==null?0:z(a,qB,2,B()).length)b+="|suggestDocContext,"+z(a,qB,2,B()).map(function(c){return c.getId()}).join(",");
if(a==null?0:am(a,4))b+="|viewType,"+am(a,4);return b},z3=function(a,b,c,d){d=d===void 0?0:d;var e="default";b=new Set(b);var f=new Set(a.fields);if(c){c=q(f);for(var g=c.next();!g.done;g=c.next())b.delete(g.value);f.clear()}else for(c=[].concat(r(b)).filter(function(h){return f.has(h)}),c=q(c),g=c.next();!g.done;g=c.next())g=g.value,b.delete(g),f.delete(g);f.size&&(e=e+" - "+(x3(a,d)?ir(a.M,{fields:[].concat(r(f)),anonymous:a.anonymous}):hr(a.M,{fields:[].concat(r(f)),anonymous:a.anonymous})));b.size&&
(e=e+" + "+(x3(a,d)?ir(a.M,{fields:[].concat(r(b)),anonymous:a.anonymous}):hr(a.M,{fields:[].concat(r(b)),anonymous:a.anonymous})));return e},KBa=function(a,b,c){if(!(new Set(a.fields)).has(329))return"";var d="|packageDefault";b=new Set(b);var e=new Set(a.g);if(c){a=q(e);for(c=a.next();!c.done;c=a.next())b.delete(c.value);e.clear()}else for(a=[].concat(r(b)).filter(function(f){return e.has(f)}),a=q(a),c=a.next();!c.done;c=a.next())c=c.value,b.delete(c),e.delete(c);d+=LBa([].concat(r(e)),!0);return d+=
LBa([].concat(r(b)),!1)},LBa=function(a,b){return a.length===0?"":(b?"-":"+")+a.sort().map(function(c){return hB(c)}).join(",")},x3=function(a,b){var c,d;return b===14&&((d=(c=zo(a.C))==null?void 0:N(c,34))!=null?d:!1)};u3.prototype.equals=function(a,b,c){var d;c&&(d=3);return y3(this,a,d)===y3(this,b,d)};
var hB=function(a){switch(a){case 1:return"STACK_SMART_CATEGORY";case 2:return"CUSTOMER";case 4:return"MEET_ARTIFACT";case 5:return"THIRD_PARTY";default:return""}},A3=function(a){if(a instanceof sK)a=a.X();else if(!a)return!1;return a instanceof IP||a instanceof GQ||a instanceof XO||cl(pn)(a)&&Vl(a)},NBa=function(a,b){var c=MBa(b);if(c){b=b.clone();b=S(b,2);b=S(b,45);b=S(b,26);var d=new pn;c=[(new Iz).setValue(c)];c=Nu(d,12,c);c=H(c,9,!1);return a.equals(c,b,!0)}return!1},MBa=function(a){a=uz(a);
return a.length===1?C(a[0],1):null},cga=new Set([9]);var OBa=Sb(function(a){a=a.X();return A3(a)}),PBa=Sb(function(a){return Wl(a)&&ec(OBa)(a)});var cda=[function(a){var b;return{va:((b=zo(a))==null?0:N(b,89))?1:0,Ga:tl,clone:function(c){return c.clone()},Ja:"[ITEMS.ADMIN_MIGRATE_TO_TEAM_DRIVE]",G:function(c){return Sp(c,P,5)},requestType:62,Fc:!0,ek:function(c,d){return D(c,2)===D(d,2)&&D(c,4)===D(d,4)}}},function(a){return{va:eda(a),Ga:$l,clone:function(b){return b.clone()},Ja:"[APPS.LIST]",G:function(b){return Sp(b,P,2)},requestType:45}},function(a){return{va:xp(ZG(mC(a)),YG(mC(a))),Ga:om,clone:function(b){return b.clone()},Ja:"[CHANGES.STARTPAGETOKEN]",
G:function(b){return Sp(b,P,1)},requestType:30}},function(a){var b,c,d,e;return{va:xp((d=(b=zo(a))==null?void 0:N(b,10))!=null?d:!1,(e=(c=zo(a))==null?void 0:N(c,9))!=null?e:!1),Ga:jm,clone:function(f){return f.clone()},Ja:"[CHANGES.REMAININGCHANGES]",G:function(f){return Sp(f,P,1)},requestType:29}},function(a){var b,c,d,e;return{va:xp((d=(b=zo(a))==null?void 0:N(b,7))!=null?d:!1,(e=(c=zo(a))==null?void 0:N(c,6))!=null?e:!1),Ga:bm,clone:function(f){return f.clone()},Ja:"[CHANGES.LIST]",G:function(f){return Sp(f,
P,6)},requestType:28}},function(a){var b;return{va:((b=zo(a))==null?0:N(b,85))?1:0,Ga:zl,clone:function(c){return c.clone()},Ja:"[APP.DELETE]",G:function(c){return Sp(c,P,3)},requestType:60}},function(){return{va:1,Ga:Hl,clone:function(a){return a.clone()},Ja:"[USER_SETTINGS.DELETE]",G:function(a){return Sp(a,P,2)},requestType:38}},function(){return{va:1,Ga:Tb(Rm),clone:function(a){return new Rm(a.request.clone())},Ja:"[DRIVES.CREATE]",G:function(a){return Sp(a.request,P,2)},requestType:25}},function(){return{va:1,
Ga:Dl,clone:function(a){return a.clone()},Ja:"[DRIVES.DELETE]",G:function(a){return Sp(a,P,2)},requestType:26}},function(a){var b,c;return{va:Tq((c=(b=XJ(a))==null?void 0:bl(b,61))!=null?c:0),clone:function(d){return d.clone()},Ga:rBa,Ja:"[DRIVES.GET]",G:function(d){return d.ih()},requestType:10,Mf:function(d){return $m(d)?d.ta().length:1}}},function(){return{va:1,Ga:NA,clone:function(a){return a.clone()},Ja:"[DRIVES.HIDE]",G:function(a){return Sp(a,P,4)},requestType:32,Fc:!0}},function(a){var b,
c;return{va:Tq((c=(b=XJ(a))==null?void 0:bl(b,68))!=null?c:0),clone:function(d){return d.clone()},Ga:bn,Ja:"[DRIVES.LIST]",G:function(d){hp(d,tK,3);d=d.X();return Sp(d,P,2)},requestType:2,Mf:function(d){var e,f;return(f=(e=d.X())==null?void 0:e.Ia())!=null?f:0}}},function(){return{va:1,Ga:PA,clone:function(a){return a.clone()},Ja:"[DRIVES.UNHIDE]",G:function(a){return Sp(a,P,4)},requestType:33,Fc:!0}},function(a){var b;return{va:((b=zo(a))==null?0:N(b,13))?1:0,Ga:vBa,clone:function(c){return c.clone()},
Ja:"[DRIVES.UPDATE]",G:function(c){return Sp(c,P,4)},requestType:31}},function(){return{va:1,Ga:Kl,clone:function(a){return a.clone()},Ja:"[EMPTYTRASH]",G:function(a){a=Sp(a,NO,1);return Sp(a,P,1)},requestType:27}},function(a){return{va:fda(a),Ga:Um,clone:function(b){return b.clone()},Ja:"[ITEMS.GENERATE_CSE_TOKEN]",G:function(b){return Sp(b,P,4)},requestType:59,Fc:!1}},function(a){var b=!!cja(mC(a));a=!!$G(mC(a));return{va:yp(b,!a),Ga:xBa,clone:function(c){return c.clone()},Ja:"[ITEMS.CREATE_FILES]",
requestType:35,G:function(c){return c.pf()},ag:ABa}},function(a){var b=!!eja(mC(a));a=!!$G(mC(a));return{va:yp(b,!a),Ga:zBa,clone:function(c){return c.clone()},Ja:"[ITEMS.CREATE_FOLDERS]",requestType:35,G:function(c){return c.pf()},ag:function(){return!1}}},function(a){var b=!!dja(mC(a));a=!!$G(mC(a));return{va:yp(b,!a),Ga:yBa,clone:function(c){return c.clone()},Ja:"[ITEMS.CREATE_SHORTCUTS]",requestType:35,G:function(c){return c.pf()},ag:ABa}},function(){return{va:1,Ga:Al,clone:function(a){return a.clone()},
Ja:"[ITEMS.DELETE]",G:function(a){return Sp(a,P,3)},requestType:34,Fc:!0}},function(a){var b,c;return{va:Tq((c=(b=XJ(a))==null?void 0:bl(b,60))!=null?c:0),clone:function(d){return d.clone()},Ga:PBa,Ja:"[ITEMS.LIST]",G:function(d){d=d.X();return Sp(d,P,30)},requestType:1,Mf:function(d){return d.X().Ia()}}},function(a){var b=!!bH(mC(a));a=!!cH(mC(a));return{va:yp(b,!a),Ga:CBa,clone:function(c){var d;return new Vm(c.request.clone(),c.file,c.wd,(d=c.metadata)==null?void 0:d.clone())},Ja:"[ITEMS.UPLOAD_MULTIPART]",
requestType:47,G:function(c){return c.request.pf()},ag:EBa}},function(a){var b=!!bH(mC(a));a=!!cH(mC(a));return{va:yp(b,!a),Ga:DBa,clone:function(c){return c.clone()},Ja:"[ITEMS.UPLOAD_RESUMABLE]",requestType:49,G:function(c){return c.Oc.pf()},ag:EBa}},function(a){var b=!!lC(mC(a));a=!!nC(mC(a));return{va:yp(b,!a),Ga:Hm,clone:function(c){return c.clone()},Ja:"ITEMS.UPDATE",requestType:39,G:function(c){return Sp(c,P,17)},ag:BBa,Fc:!0}},function(a){var b;return{va:((b=zo(a))==null?0:N(b,88))?1:0,Ga:em,
clone:function(c){return c.clone()},Ja:"[ITEMS.MIGRATE_TO_DRIVE]",G:function(c){return Sp(c,P,5)},requestType:61,Fc:!0,ek:function(c,d){return D(c,2)===D(d,2)&&D(c,4)===D(d,4)}}},function(a){return{va:kda(a),Ga:Tb(an),clone:function(b){return new an(b.request.clone(),b.pageToken)},Ja:"[MIGRATE_TO_DRIVE_PREFLIGHT]",G:function(){return new P},requestType:54}},function(){return{va:1,Ga:im,clone:function(a){return a.clone()},Ja:"[ITEMS.PUBLISH_ACTIVITY_EVENT]",G:function(){return new P},requestType:46,
Fc:!1}},function(){return{va:1,Ga:sP,clone:function(a){return a.clone()},Ja:"[ITEMS.REPORT_SPAM_OR_ABUSE]",G:function(a){return Sp(a,P,2)},requestType:43,Fc:!1}},function(){return{va:1,Ga:Cl,clone:function(a){return a.clone()},Ja:"[ITEMS.REVISION_DELETE]",G:function(a){return Sp(a,P,3)},requestType:48,Fc:!1}},function(){return{va:1,Ga:Im,clone:function(a){return a.clone()},Ja:"[ITEMS.REVISION_UPDATE]",G:function(a){return Sp(a,P,4)},requestType:53,Fc:!1}},function(){return{va:1,Ga:dm,clone:function(a){return a.clone()},
Ja:"[ITEMS.REVISIONS_LIST]",G:function(a){return Sp(a,P,2)},requestType:55,Fc:!1}},function(a){var b;a=!!(a==null?0:(b=zo(a))==null?0:F(b,52));return{va:Tq(yp(a,!0)),Ga:Gm,clone:function(c){return c.clone()},Ja:"FILES.UPDATE_CATEGORY_METADATA",requestType:58,G:function(c){return Sp(c,P,3)},Fc:!1}},function(){return{va:1,Ga:Mm,clone:function(a){return a.clone()},Ja:"[USER_SETTINGS.UPDATE]",G:function(a){return Sp(a,P,2)},requestType:37}},function(a){return{va:nr(a),Ga:yl,clone:function(b){return b.clone()},
Ja:"[WORKSPACES.CREATE]",G:function(b){return Sp(b,P,2)},requestType:36}},function(a){return{va:nr(a),Ga:Il,clone:function(b){return b.clone()},Ja:"[WORKSPACES.DELETE]",G:function(b){return Sp(b,P,3)},requestType:41}},function(a){return{va:mr(a),Ga:Om,clone:function(b){return b.clone()},Ja:"[WORKSPACES.GET]",G:function(b){return Sp(b,P,2)},requestType:13}},function(a){return{va:mr(a),Ga:Tb(en),clone:function(b){return new en(b.request.clone(),b.pageToken)},Ja:"[WORKSPACES.LIST]",G:function(b){return Sp(b.request,
P,3)},requestType:12}},function(a){return{va:nr(a),Ga:Nm,clone:function(b){return b.clone()},Ja:"[WORKSPACES.UPDATE]",G:function(b){return Sp(b,P,5)},requestType:40}}];var B3=function(a){this.g=a};B3.prototype.route=function(a,b){return this.g.route(a,b)};B3.prototype.cancel=function(a){return this.g.cancel(a)};var C3=function(a){this.g=a};V(C3,B3);C3.prototype.h=async function(a,b){var c=[],d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())e=e.value,c.push(e.requestId),d.push(this.g.route(e.request,b));return(await Promise.allSettled(d)).map(function(f,g){return{id:c[g],result:f}})};var D3=function(a,b,c){this.C=a;this.h=b;this.M=c;this.g={};this.requests=new Do(40);this.setValue("SdkBackfillEnabled","true (Include corpus cache: "+(!!N(a,46)+")"))},QBa=function(a){return ck(a,sK,3,xK)||ck(a,vK,4,xK)||ck(a,iK,5,xK)||ck(a,rK,6,xK)||ck(a,kK,7,xK)||ck(a,hK,8,xK)||ck(a,jK,9,xK)||ck(a,lK,10,xK)};D3.prototype.setValue=function(a,b){this.g[a]=E3(a,b)};var F3=function(a,b){var c=a.g[b];c||(c=E3(b,0,2),a.g[b]=c);c.setValue(String(Number(C(c,2))+1))};
D3.prototype.Tc=function(a){var b=fh(this.g);this.h&&b.push(E3("CacheSize",this.h.getSize()));this.M&&b.push(E3("SecondaryFields",hr(this.M,{fields:this.M.xj(),anonymous:Oq(Xr(this.C))})));b.push(E3("InitialViewDataLoaded",a));a=new fK;Nu(a,1,b);return mY(a)};
var E3=function(a,b,c){var d=new eK;E(d,1,a);G(d,4,c||1);d.setValue(String(b));d.setDescription(RBa.get(a));return d},G3=function(a,b,c){var d=new wK;E(d,2,"Pending...");b instanceof sK?y(d,3,xK,b):b instanceof vK?y(d,4,xK,b):b instanceof iK?y(d,5,xK,b):b instanceof rK?y(d,6,xK,b):b instanceof kK?y(d,7,xK,b):b instanceof hK?y(d,8,xK,b):b instanceof jK?y(d,9,xK,b):b instanceof lK&&y(d,10,xK,b);var e=mm(b),f=[];if(tl(b))hn(f,"ID",C(b,1)),hn(f,"Parent ID",C(b,2));else if(Dl(b))hn(f,"TD ID",C(b,1));else if(Wl(b))(b=
b.X())?(b=ara(b),hn(f,"Query",b)):hn(f,"Query","no-request");else if(bn(b))hn(f,"Query","All");else if(Jm(b))hn(f,"TD ID",C(b,1)),hn(f,"Title",C(b,2)),hn(f,"Theme Image ID",C(b,3));else if(xl(b))hn(f,"MimeType",C(b,1)),hn(f,"Title",C(b,2)),hn(f,"Parents",b.Cc(tu)),hn(f,"Convert",$k(b,8)),hn(f,"Request ID",C(b,9)),hn(f,"Parent Request IDs",U(b,10,B(tu))),hn(f,"Revision Item ID",C(b,12)),hn(f,"Pinned",$k(b,8));else if(yl(b))hn(f,"Title",C(b,1));else if(Al(b))hn(f,"ID",C(b,1));else if(Il(b))hn(f,"WS ID",
C(b,1));else if(em(b))hn(f,"Source ID",C(b,1)),hn(f,"Destination Parent ID",C(b,2)),hn(f,"validation token",C(b,4));else if(Hm(b)){if(hn(f,"ID",C(b,1)),hn(f,"Title",C(b,2)),hn(f,"Description",C(b,3)),hn(f,"Starred",$k(b,4)),hn(f,"Trashed",$k(b,5)),hn(f,"MimeType",C(b,6)),hn(f,"Parents",U(b,8,B(tu))),hn(f,"Parents to add",jC(b,tu)),hn(f,"Parents to remove",kC(b,tu)),hn(f,"Restricted",$k(b,11)),hn(f,"Folder Color",Ug(gq(b,12))),hn(f,"Update Last Viewed",$k(b,15)),hn(f,"Subscribed",$k(b,16)),hn(f,"Available Offline",
$k(b,18)),hn(f,"Wksp to add",U(b,31,B(tu))),hn(f,"Wksp to remove",U(b,32,B(tu))),b=Q(b,is,25))hn(f,"Read Only",$k(b,1)),hn(f,"Reason",C(b,2))}else Nm(b)?(hn(f,"WS ID",C(b,1)),hn(f,"Title",C(b,2)),hn(f,"State",am(b,3))):b instanceof Rm&&hn(f,"Title",C(b.request,1));E(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.requests.add(d);return d};
D3.prototype.Af=function(a,b){var c=new pl;for(let h=0;h<b.length&&h<20;h++){var d=b[h],e=c,f=e.Yd,g=DA(d)+":";d=C(d,3)||"";d.length>20&&(d=d.substring(0,17)+"...");f.call(e,g+d+"\n")}b.length>20&&c.Yd(b.length-20+" more item(s)");E(a,2,c.toString()||"Done.")};D3.prototype.Of=function(){return this.requests.uc()};
var RBa=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (full, partial)."],["InitialChanges","Status of initial catchup changelog requests."],["SdkBackfillEnabled","Whether backfill via Drive SDK is enabled."],["UploadFailureCount","Number of failed uploads."],["UploadSuccessCount","Number of successful uploads."],["UploadTotalCount","Number of initiated uploads."],["InitialViewDataLoaded",
"Whether initial view data was loaded before the initial query."]]);var H3=function(a,b){this.g=a;this.h=b};V(H3,B3);H3.prototype.route=function(a,b){var c=this,d=a instanceof sK||a instanceof vK||a instanceof iK||a instanceof rK||a instanceof kK||a instanceof hK||a instanceof jK||a instanceof lK&&nn(a)?G3(this.h,a):void 0;a=B3.prototype.route.call(this,a,b);a.then(function(e){if(d){let f=c.Ma(e);c.h.Af(d,f)}return e}).catch(function(){});return a};H3.prototype.Ma=function(a){var b;kA(a)?b=Sp(a,jv,1).Ma():b=a.Ma?a.Ma():[];return b};var I3=function(a,b){this.g=a;this.j=b};V(I3,C3);I3.prototype.route=async function(a,b){try{await this.j.execute(this,a,b!=null?b:{})}catch(c){return b=co(c),or(a,b),Promise.reject(b)}return C3.prototype.route.call(this,a,b)};I3.prototype.h=async function(a,b){var c=this;try{await Promise.all(a.map(function(d){return c.j.execute(c,d.request,b!=null?b:{})}))}catch(d){let e=co(d);or(a[0].request,e);return Promise.reject(e)}return C3.prototype.h.call(this,a,b)};var J3=function(a,b,c,d){this.g=a;this.h=b;this.j=c;this.A=d};V(J3,B3);J3.prototype.route=function(a,b){var c=this;b=B3.prototype.route.call(this,a,b);nn(a)&&b.catch(function(){}).finally(function(){var e=c.h;e.h()||(e.g&&(e.g.resolve(),e.g=null),e.j())});var d=this.j.apply(a,b);b.then(function(e){c.A.apply(a,e)}).catch(function(){});return d};var K3=function(a,b){b=b===void 0?[]:b;this.g=a;this.h=b};V(K3,B3);K3.prototype.route=function(a,b){if(this.h.length>0)for(var c=q(this.h),d=c.next();!d.done;d=c.next()){d=d.value;try{var e=d.uk(a)}catch(f){e=co(f),ok(d.getName()+": "+e.message,e,"warning"),e=!1}if(e)return d.intercept(this.g,a,b)}return B3.prototype.route.call(this,a,b)};K3.prototype.yf=function(a){this.h.push(a);return this};var L3=function(a,b,c){this.g=a;this.ye=b;this.N=c};V(L3,B3);L3.prototype.route=function(a,b){if(!this.ye.g){if(b=M3(this.N,106018)){var c=SBa(b);c=G(c,1,1);O(c,2,231455246);c=a;c instanceof sK&&(c=c.X()||c);(c=Pra(c)?c:null)&&Sra(b,c);v_(b)}return Promise.reject(new fn("Cannot route "+mm(a)+": Sync Client is not running."))}return B3.prototype.route.call(this,a,b)};var N3=function(a,b){this.g=this.g=a;this.h=b};V(N3,B3);N3.prototype.route=function(a,b){a=this.h.translate(a);var c;Xn(a)?c=Promise.reject(co(a)):c=Array.isArray(a)?this.g.h(a,b):B3.prototype.route.call(this,a,b);return c};var O3=function(a,b){this.g=a;this.h=b};V(O3,B3);O3.prototype.route=function(a,b){var c=this.h.validate(a);return c?Promise.reject(co(c)):B3.prototype.route.call(this,a,b)};var P3=function(a){this.g=a};
P3.prototype.route=function(a,b){b=b===void 0?{}:b;var c=b;var d=!1;if(Ll(a)){let e;d=!((e=Q(a,$t,2))==null||!F(e,7))}else Wl(a)&&(d=a.X(),d=!(d==null||!F(d,46)));(a instanceof dn||wP(a)&&F(a,9))&&this.g[1]?c=this.g[1]:a instanceof Zm&&this.g[5]?c=this.g[5]:a instanceof Vm&&this.g[10]?c=this.g[10]:ln(kra)(a)&&this.g[8]?c=this.g[8]:d&&Ll(a)&&this.g[6]?c=this.g[6]:(!d&&(d=c.Xa===14?!1:!0)&&(d=ln(lra)(a)),c=d&&this.g[3]?this.g[3]:c.Xa!==14&&mn(a)&&this.g[4]?this.g[4]:mn(a)&&this.g[9]?this.g[9]:this.g[2]||
this.g[1]);if(!c)return a=Wn(Ct(new Rn,"Failed to choose a queue for server request."),18),Promise.reject(co(a));c===this.g[8]&&(b.Nc=!0);return c.add({L:a,config:b})};P3.prototype.cancel=function(a){return dh(this.g,function(b){return b.cancel(a)})};var TBa=function(a){this.g=new P3(a)},UBa=function(a,b){a.g=new I3(a.g,b);return a},VBa=function(a,b,c,d){a.g=new J3(a.g,b,c,d);return a},WBa=function(a,b){a.g=new K3(a.g,b);return a},XBa=function(a,b){a.g=new N3(a.g,b);return a},YBa=function(a,b){a.g=new O3(a.g,b);return a},ZBa=function(a,b){a.g=new H3(a.g,b);return a};TBa.prototype.build=function(){return this.g};var lda=Sb(function(a){return a!==null&&a!==void 0&&a.kind!==void 0});var XA=Sb(function(a){var b,c;return!!((b=a.headers)==null?0:(c=b["content-type"])==null?0:c.includes("application/json+protobuf"))});var $Ba=function(){};var Q3=function(a,b){this.bytes=a;this.retryCount=b};var nda=new Set([164,171,175,180,168]),pda=new Map([["active",1],["ACTIVE",1],["deleted",2],["DELETED",2]]);var aCa=function(a,b){this.C=a;this.I=b.ia("response.metadata.LabelParser")},cCa=function(a,b){var c;return lja(zH(yH(new xH,b.id),b.revisionId),Object.values((c=b.fields)!=null?c:{}).map(function(d){return bCa(a,d)}).filter(function(d){return d!==null}))},bCa=function(a,b){var c=new Lr;c=E(c,1,b.id);if(b.valueType==null)return a.I.Ba("Field must have valueType",Error("Jb")),null;var d=b.valueType;if(!dCa.has(d))return eCa(a,d),null;var e=dCa.get(d);G(c,2,e);if(!fCa(a,b,d,c))return eCa(a,d),null;
b.badgeInfo&&(a=b.badgeInfo,b=(new Mr).setTitle(a.title),b=O(b,2,Number(a.priority)),a.color&&b.setColor(gCa(a.color)),a.darkModeColor&&(a=gCa(a.darkModeColor),I(b,4,a)),I(c,10,b));return c},gCa=function(a){var b=new wH;b=O(b,2,Ar(a.foregroundColor));return O(b,1,Ar(a.backgroundColor))},fCa=function(a,b,c,d){if(b[c]==null)return!1;switch(c){case "text":E(d,7,b.text);break;case "selection":E(d,5,b.selection);break;case "selectionList":rs(d,6,b.selectionList);break;case "integer":b=Number(b.integer);
if(isNaN(b))return!1;hE(d,4,b);break;case "user":jja(d,Wr(b.user,a.C));break;case "userList":kja(d,b.userList.map(function(e){return Wr(e,a.C)}));break;case "dateString":E(d,3,b.dateString);break;default:return!1}return!0},eCa=function(a,b){a.I.Zc("Unknown value type "+b,Error("Kb"))},dCa=new Map([["dateString",1],["integer",2],["selection",3],["selectionList",4],["text",5],["user",6],["userList",7]]);var hCa=/^[ \t\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]/,iCa=/^[\s\xA0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]+/,jCa=function(){this.g=[];this.h=iW;var a=!1,b="";for(let e=0;e<19;e++){let f="yyyy:MM:dd HH:mm:ss".charAt(e);if(hCa.test(f))for(b.length>0&&(this.g.push({text:b,count:0,Ne:!1,numeric:!1}),b=""),this.g.push({text:" ",count:0,Ne:!1,numeric:!1});e<18&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)==" ";)e++;else if(a)f=="'"?e+1<19&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)=="'"?(b+="'",e++):a=!1:b+=
f;else if("GyMdkHmsSEDabBhKzZvQL".indexOf(f)>=0){b.length>0&&(this.g.push({text:b,count:0,Ne:!1,numeric:!1}),b="");for(var c="yyyy:MM:dd HH:mm:ss".charAt(e),d=e+1;d<19&&"yyyy:MM:dd HH:mm:ss".charAt(d)==c;)d++;c=d-e;a:{if(c<=0){d=!1;break a}d="MydhHmsSDkK".indexOf(f);d=d>0||d==0&&c<3}this.g.push({text:f,count:c,Ne:!1,numeric:d});e+=c-1}else f=="'"?e+1<19&&"yyyy:MM:dd HH:mm:ss".charAt(e+1)=="'"?(b+="'",e++):a=!0:b+=f}b.length>0&&this.g.push({text:b,count:0,Ne:!1,numeric:!1});a=!1;for(b=0;b<this.g.length;b++)this.g[b].numeric?
!a&&b+1<this.g.length&&this.g[b+1].numeric&&(a=!0,this.g[b].Ne=!0):a=!1};
jCa.prototype.parse=function(a,b,c){var d=!1,e=!1;c&&(d=c.Js||!1,e=c.validate||!1);if(d)for(c=0;c<this.g.length;c++){var f=this.g[c];if(f.count>0&&("abBhHkKm".indexOf(f.text.charAt(0))<0||f.count>2||f.Ne))throw Error("Lb`"+f.text.charAt(0));}f=new kCa;c=[0];f.D=-1;for(let p=0;p<this.g.length&&!(d&&c[0]>=a.length);p++){if(this.g[p].count==0){a:{var g=a;var h=c,k=this.g[p],m=d;if(k.text.match(hCa)!=null){if(k=h[0],lCa(g,h),h[0]>k){g=!0;break a}}else{if(g.indexOf(k.text,h[0])==h[0]){h[0]+=k.text.length;
g=!0;break a}if(m&&k.text.indexOf(g.substring(h[0]))==0){h[0]+=g.length-h[0];g=!0;break a}}g=!1}if(g)continue;return 0}if(this.g[p].Ne){a:{g=a;h=c;k=p;let t=h[0],w=0;for(m=k;m<this.g.length;m++){let A=this.g[m],J=A.count;if(J===0)break;if(m==k&&(J-=w,w++,J==0)){g=0;break a}let Z=m>k&&A.numeric,ha=h[0];if(!mCa(this,g,h,A,J,f,!1)||Z&&h[0]-ha<J)m=k-1,h[0]=t}g=m-k}if(g<=0)return 0;p+=g-1}else if(!mCa(this,a,c,this.g[p],0,f,d))return 0}a:{a=e;if(b==null)throw Error("Mb");f.era!=void 0&&f.year!=void 0&&
f.era==0&&f.year>0&&(f.year=-(f.year-1));f.year!=void 0&&b.setFullYear(f.year);d=b.getDate();b.setDate(1);f.month!=void 0&&b.setMonth(f.month);f.day!=void 0?b.setDate(f.day):(e=jW(b.getFullYear(),b.getMonth()),b.setDate(d>e?e:d));typeof b.setHours==="function"&&(f.hours==void 0&&(f.hours=b.getHours()),f.hours<12&&(f.B!=void 0&&f.B>0?f.hours+=12:f.h!==void 0&&("isPm noon afternoon1 afternoon2 evening1 evening2".split(" ").includes(f.h)||["night1","night2"].includes(f.h)&&f.hours>=6)&&(f.hours+=12)),
b.setHours(f.hours));typeof b.setMinutes==="function"&&f.minutes!=void 0&&b.setMinutes(f.minutes);typeof b.setSeconds==="function"&&f.seconds!=void 0&&b.setSeconds(f.seconds);typeof b.setMilliseconds==="function"&&f.g!=void 0&&b.setMilliseconds(f.g);if(a&&(f.year&&f.year!=b.getFullYear()||f.month&&f.month!=b.getMonth()||f.day&&f.day!=b.getDate()||f.hours&&f.hours>=24||f.minutes&&f.minutes>=60||f.seconds&&f.seconds>=60||f.g&&f.g>=1E3))b=!1;else{f.j!=void 0&&b.setTime(b.getTime()+(f.j-b.getTimezoneOffset())*
60*1E3);f.A&&(a=new Date,a.setFullYear(a.getFullYear()-80),b.getTime()<a.getTime()&&b.setFullYear(a.getFullYear()+100));if(f.dayOfWeek!=void 0)if(f.day==void 0)f=(7+f.dayOfWeek-b.getDay())%7,f>3&&(f-=7),a=b.getMonth(),b.setDate(b.getDate()+f),b.getMonth()!=a&&b.setDate(b.getDate()+(f>0?-7:7));else if(f.dayOfWeek!=b.getDay()){b=!1;break a}b=!0}}return b?c[0]:0};
var mCa=function(a,b,c,d,e,f,g){lCa(b,c);if(d.numeric&&e>0&&c[0]+e>b.length)return!1;switch(d.text.charAt(0)){case "G":return R3(b,c,[a.h.pn],function(h){return f.era=h}),!0;case "M":case "L":return nCa(a,b,c,e,d,f);case "E":return R3(b,c,[a.h.vo,a.h.mo],function(h){return f.dayOfWeek=h});case "B":case "b":return e=[],a=[[].concat(a.h.Ik)],e.push("isAm"),e.push("isPm"),b=R3(b,c,a,function(h){return f.D=h},g),f.h=e[f.D],g?b:!0;case "a":return b=R3(b,c,[a.h.Ik],function(h){return f.B=h},g),g?b:!0;case "y":return oCa(a,
b,c,d,e,f);case "Q":return R3(b,c,[a.h.fo,a.h.ko],function(h){f.month=h*3;f.day=1});case "d":return S3(a,b,c,d,e,function(h){f.day=h}),!0;case "S":return pCa(a,b,c,e,f);case "h":case "K":case "H":case "k":return b=S3(a,b,c,d,e,function(h){f.hours=d.text.charAt(0)==="h"&&h===12?0:h},g),g?b:!0;case "m":return b=S3(a,b,c,d,e,function(h){f.minutes=h},g),g?b:!0;case "s":return S3(a,b,c,d,e,function(h){f.seconds=h}),!0;case "z":case "Z":case "v":return qCa(a,b,c,f);default:return!1}},oCa=function(a,b,c,
d,e,f){var g=c[0];e=T3(a,b,c,e);e===null&&(e=T3(a,b,c,0,!0));if(e===null)return!1;e>=0&&c[0]-g==2&&d.count==2?(a=e,b=(new Date).getFullYear()-80,c=b%100,f.A=a==c,a+=Math.floor(b/100)*100+(a<c?100:0),f.year=a):f.year=e;return!0},nCa=function(a,b,c,d,e,f){return e.numeric&&S3(a,b,c,e,d,function(g){f.month=g-1})?!0:R3(b,c,[a.h.Xn,a.h.no,a.h.jo,a.h.oo],function(g){f.month=g})},pCa=function(a,b,c,d,e){var f=c[0];a=T3(a,b,c,d);if(a===null)return!1;c=c[0]-f;e.g=c<3?a*Math.pow(10,3-c):Math.round(a/Math.pow(10,
c-3));return!0},qCa=function(a,b,c,d){b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);if(c[0]>=b.length)return d.j=0,!0;var e=c[0],f=T3(a,b,c,0,!0);if(f===null)return!1;if(c[0]<b.length&&b.charAt(c[0])==":"){var g=f*60;c[0]++;f=T3(a,b,c,0);if(f===null)return!1;g+=f}else g=f,g=g<24&&c[0]-e<=3?g*60:g%100+g/100*60;d.j=-g;return!0},S3=function(a,b,c,d,e,f,g){g=g||!1;var h=c[0];a=T3(a,b,c,e);if(a===null)return!1;if(g&&c[0]-h<d.count){if(c[0]<b.length)return!1;a*=Math.pow(10,d.count-(c[0]-h))}f(a);return!0},R3=
function(a,b,c,d,e){e=e||!1;for(let k=0;k<c.length;k++){var f=b;var g=c[k],h=e;let m=0,p=null,t=a.substring(f[0]).toLowerCase();for(let w=0;w<g.length;w++){let A=g[w].toLowerCase();if(h&&A.indexOf(t)==0){m=t.length;p=w;break}g[w].length>m&&t.indexOf(A)==0&&(m=g[w].length,p=w)}p!==null&&(f[0]+=m);f=p;if(f!==null)return d(f),!0}return!1},lCa=function(a,b){(a=a.substring(b[0]).match(iCa))&&(b[0]+=a[0].length)},T3=function(a,b,c,d,e){b=d>0?b.substring(0,c[0]+d):b;e=e||!1;if(a.h.wo){d=[];for(let f=c[0];f<
b.length;f++){let g=b.charCodeAt(f)-a.h.wo;d.push(0<=g&&g<=9?String.fromCharCode(g+48):b.charAt(f))}b=d.join("")}else b=b.substring(c[0]);a=b.match(new RegExp("^"+(e?"[+-]?":"")+"\\d+"));if(!a)return null;c[0]+=a[0].length;return parseInt(a[0],10)},kCa=function(){};kCa.prototype.A=!1;var rCa=function(a,b){this.C=a;this.g=new aCa(this.C,b)},tCa=function(a,b,c){var d=new lv;var e=e===void 0?!1:e;var f=new jv,g=[];if(pr("drive#file")(b))(a=U3(a,b))&&g.push(a);else if(pr("drive#fileList")(b)){var h=b.items||[];for(var k=0;k<h.length;k++){var m=U3(a,h[k]);g.push(m)}}f=iv(f,g);if(pr("drive#fileList")(b)){g=H(f,8,b.incompleteSearch);if(a=b.spellResponse){var p=[];a=q(a.spellCorrections);for(k=a.next();!k.done;k=a.next()){h=[];k=q(k.value.spellFragments);for(m=k.next();!m.done;m=k.next()){m=
m.value;var t=(new SO).setStatus(sCa.get(m.status));t=E(t,1,m.original);m=E(t,3,m.correction);h.push(m)}k=new TO;h=Nu(k,1,h);p.push(h)}a=new UO;p=Nu(a,1,p)}if((a=b.suggestedNlpQueries)&&a.length>0){var w=new RO;w=rs(w,1,a)}p||w?(a=new VO,p&&I(a,1,p),w&&I(a,2,w),w=a):w=null;w=I(g,7,w);p=[];g=q(b.items||[]);for(a=g.next();!a.done;a=g.next())a=a.value,h=a.id,!h||a.searchResultSource!="1"&&a.searchResultSource!="3"||p.push(h);rs(w,18,p);e&&E(f,15,b.nextPageToken)}d=kv(d,f);c=$p(c);c=E(d,2,c);pr("drive#fileList")(b)&&
b.nextPageToken&&WO(c,b.nextPageToken);return c},vCa=function(a,b,c,d,e){var f=Fs(new jn,c);if(pr("drive#adminFile")(b))a=Ru(new gl,b.id),b.parentId&&Tu(a,[b.parentId]),b=$u(a,b.teamDriveId),Fs(RA(f,b),b.J());else if(pr("drive#file")(b))b=U3(a,b),RA(f,b),c||Fs(f,b.J());else if(pr("drive#revision")(b)){c=nP(b.id);c=E(c,2,b.mimeType);var g=zr(b.modifiedDate);c=O(c,3,g);c=H(c,4,b.pinned);c=E(c,7,b.originalFilename);b.editSource&&(g=uCa.get(b.editSource),G(c,11,g));b.fileSize!=null&&O(c,8,Number(b.fileSize));
b.lastModifyingUser&&(a=Wr(b.lastModifyingUser,a.C),I(c,9,a));b.lastModifyingAgent&&(a=Zr(b.lastModifyingAgent),I(c,12,a));b.decryptionMetadata&&(b=es(b.decryptionMetadata),I(c,10,b));I(f,4,c)}f.Ae(Zp(d)).ze($p(d));(d=(d=d&&Xp(d))&&d["x-server-object-version"])&&e&&(e=nP(d),I(f,4,e));f.setStatus(1);return f},wCa=function(a,b){return Fs(new jn,a).setStatus(1).Ae(Zp(b)).ze($p(b))},xCa=function(a,b){return Vka(new DP,(b.items||[]).map(function(c){return V3(a,c)}))},V3=function(a,b){var c=Ur(Qr(Rr(Sr(yCa.get(b.type)),
b.id),b.userId),Vr(b.userId,a.C));c=H(c,4,b.withLink);c=Or(Tr(Pr(c,b.name),b.photoLink),b.emailAddress);c=H(c,10,b.deleted);c=E(c,12,b.audienceId);c=E(c,13,b.customerId);c=E(c,20,b.view);Lp(a.C)&&Pr(c,b.nameIfNotUser);b.role&&(a=W3.get(b.role),a==2&&b.additionalRoles&&b.additionalRoles[0]=="commenter"?a=4:a==2&&b.view=="published"&&(a=6),G(c,6,a));return c},U3=function(a,b){var c=dv(dl(Tu(Ru(new gl,b.id),Hda(b)).setTitle(b.title),b.mimeType),b.hasThumbnail);b.thumbnailVersion!=null&&O(c,90,Number(b.thumbnailVersion));
av(MH(c.setDescription(b.description),b.explicitlyTrashed),b.shared);b.quotaBytesUsed!=null&&O(c,28,Number(b.quotaBytesUsed));b.fileSize!=null&&O(c,14,Number(b.fileSize));b.alternateLink!=null&&E(c,115,b.alternateLink);if(b.labels){var d=b.labels;GH(FH(EH(DH(Zu(c,d.starred),d.hidden),d.trashed),d.restricted),d.viewed)}XH(cv(JH(IH(bv(WH(HH(c,zr(b.createdDate)),zr(b.serverCreatedDate)),zr(b.modifiedDate)),zr(b.modifiedByMeDate)),zr(b.lastViewedByMeDate)),zr(b.sharedWithMeDate)),zr(b.recency));b.recencyReason&&
YH(c,zCa.get(b.recencyReason)||0);Uu(c,ACa(a,b));b.lastModifyingUser&&(d=Wr(b.lastModifyingUser,a.C),KH(c,d));b.userPermission&&(d=W3.get(b.userPermission.role),LH(c,d));b.imageMediaMetadata&&(d=Jda(b.imageMediaMetadata),I(c,27,d));b.folderColor!=null&&OH(c,Number(b.folderColor));PH(TH(QH(VH(SH(NH(c,b.subscribed),b.fileExtension),b.folderFeatures),b.flaggedForAbuse),b.primarySyncParentId||void 0),b.hasChildFolders);b.gmailMessageStorageId&&E(c,163,b.gmailMessageStorageId);b.source&&RH(E(c,42,b.source.client_service_id),
b.source.value);b.sharingUser&&(d=Wr(b.sharingUser,a.C),UH(c,d));b.sources&&rs(c,56,b.sources);if(b.spaces){d=b.spaces;let k=[];for(let m=0;m<d.length;m++){var e=d[m];iZ[e]&&(e=QB(new RB,iZ[e]),k.push(e))}Nu(c,60,k)}H(c,63,b.ownedByMe);b.sourceAppId&&E(c,61,b.sourceAppId);H(c,74,b.changed);b.actionItems&&fI(c,Dda(b.actionItems));b.capabilities&&xr(c,Kr(b.capabilities));b.permissionsSummary&&gI(c,BCa(a,b.permissionsSummary));b.itemLocation&&BI(c,CCa(b.itemLocation));b.headRevisionId&&E(c,78,b.headRevisionId);
b.templateData&&hI(c,Oda(b.templateData));eI(dI($u(c,b.teamDriveId),b.hasAugmentedPermissions),b.ancestorHasAugmentedPermissions);b.creator&&(d=Wr(b.creator,a.C),iI(c,d));b.creatorAgent&&FI(c,Zr(b.creatorAgent));b.lastModifyingAgent&&GI(c,Zr(b.lastModifyingAgent));b.sharingAgent&&HI(c,Zr(b.sharingAgent));b.modifiedByMeAgent&&II(c,Zr(b.modifiedByMeAgent));kI(Vu(jI(c,b.primaryDomainName),b.organizationDisplayName),b.passivelySubscribed);b.trashingUser&&lI(c,Wr(b.trashingUser,a.C));mI(c,zr(b.trashedDate));
b.version&&O(c,75,Number(b.version));oI(H(c,98,b.hasVisitorPermissions),b.hasAppsScriptAddOn);(d=b.pairedDocType)&&nI(c,DCa.get(d));b.audioMediaMetadata&&(d=Kda(b.audioMediaMetadata),I(c,158,d));b.videoMediaMetadata&&(d=Mda(b.videoMediaMetadata),I(c,103,d));pI(rs(c,104,b.detectors),b.containsUnsubscribedChildren);b.contentRestrictions&&Xu(c,Ada(b.contentRestrictions));(d=b.publishingInfo)&&rI(H(c,118,d.published),d.publishedUrl);rs(c,120,b.workspaceIds);var f;((f=b.approvalMetadata)==null?0:f.approvalVersion)&&
O(c,126,Number(b.approvalMetadata.approvalVersion));var g;((g=b.approvalMetadata)==null?0:g.approvalSummaries)&&sI(c,Gda(b.approvalMetadata.approvalSummaries));var h;typeof((h=b.approvalMetadata)==null?void 0:h.hasIncomingApproval)==="boolean"&&H(c,153,!!b.approvalMetadata.hasIncomingApproval);b.shortcutDetails&&tI(c,ECa(a,b.shortcutDetails));b.clientEncryptionDetails&&xI(c,zda(b.clientEncryptionDetails));b.linkShareMetadata&&yI(c,Pda(b.linkShareMetadata));typeof b.inheritedPermissionsDisabled===
"boolean"&&H(c,160,b.inheritedPermissionsDisabled);b.editSource&&DI(c,uCa.get(b.editSource));b.labelInfo&&(f=(b.labelInfo.labels||[]).map(function(k){return cCa(a.g,k)}),CI(c,f.filter(function(k){return mda(k)})));b.spamMetadata&&Yu(c,Bda(b.spamMetadata));Wu(wI(vI(E(c,140,b.resourceKey),b.authorizedAppIds),b.customerId),b.abuseIsAppealable);b.abuseNoticeReason&&zI(c,FCa.get(b.abuseNoticeReason)||0);b.vidsImportCompatibilityInfo&&EI(c,Rda(b.vidsImportCompatibilityInfo));b.accessRequestsCount&&K(c,
152,Number(b.accessRequestsCount));fl(c);Lp(a.C)&&c.Zb(5);return c},ACa=function(a,b){var c=[];if(b&&b.owners){b=b.owners;for(let d=0;d<b.length;d++){let e=Wr(b[d],a.C);e&&c.push(e)}}return c},BCa=function(a,b){var c=c===void 0?!1:c;return KA(JA(LA(new IA,b.entryCount),(b.visibility||[]).map(function(d){var e=c;e=e===void 0?!1:e;var f=Sr(yCa.get(d.type));f=H(f,4,d.withLink);e=Rr(f,e?d.permissionId:d.type+"|"+(d.domain||"")+"|"+d.withLink);d.role&&(f=W3.get(d.role),f==2&&d.additionalRoles&&d.additionalRoles[0]==
"commenter"&&(f=4),G(e,6,f));return e})),(b.selectPermissions||[]).map(function(d){return V3(a,d)}))},CCa=function(a){var b=new vH;if(a.parent){a=a.parent;var c;var d=new uH;d=E(d,1,a.id);d=O(d,2,Number(a.version)).setTitle(a.title);var e=Number((c=a.folderColor)!=null?c:0);c=O(d,4,e);c=H(c,6,a.hasAugmentedPermissions);c=H(c,7,a.shared);c=H(c,8,a.trashed);c=E(c,9,a.resourceKey);c=E(c,10,a.mimeType);c=E(c,12,a.driveId);a.id===a.driveId&&H(c,13,a.trustedDrive);a.folderProperties&&(a=a.folderProperties,
d=new Bu,d=H(d,1,a.psynchoRoot),d=H(d,2,a.psynchoFolder),d=H(d,3,a.machineRoot),d=H(d,4,a.arbitrarySyncFolder),d=H(d,5,a.externalMedia),a=H(d,6,a.photosAndVideosOnly),I(c,5,a));I(b,1,c)}return b},GCa=function(a,b){return oja(nja(mja(KA(LA(new IA,b.entryCount),(b.selectPermissions||[]).map(function(c){return V3(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},ECa=function(a,b){var c=new BH;c=E(c,1,b.targetId);c=E(c,7,b.targetResourceKey);c=E(c,3,b.targetMimeType);c=H(c,6,b.canRequestAccessToTarget);
if(b.targetLookupStatus){var d=HCa.get(b.targetLookupStatus)||0;G(c,4,d)}b.targetFile&&(a=U3(a,b.targetFile),I(c,5,a));return c},W3=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]),yCa=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]),zCa=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]),uCa=new Map([["unspecifiedEditSource",0],["blobComments",1],["pairedDoc",2],["officeEditingMode",3],["esignature",4],["formFilling",
5]]),Cda=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]),Nda=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]),sCa=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]),Eda=new Map([["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]),Fda=new Map([["CONTENT_REVIEW",1],["E_SIGNATURE",2],["ALIGNMENT",3]]),DCa=new Map([["docs",1],["sheets",2],["slides",3]]),HCa=new Map([["ok",1],["notFound",2],["permissionDenied",3]]),yda=new Map([["unencrypted",1],["encrypted",2]]),wda=new Map([["unset",
0],["default",1],["small",2],["size16kb",3]]),xda=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]),FCa=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",8],["markedAsSpam",9],["markedAsConfirmedSpam",10],["markedAsGlobalSpam",11]]),uda=new Map([["grant_type_unspecified",
0],["grantTypeUnspecified",0],["implicit",1],["authorization_code",2],["authorizationCode",2]]),Lda=new Map([["transcodeStatusUnknown",0],["notRequested",1],["pending",2],["failedTemporary",3],["failed",4],["available",5],["removed",6],["notRequestedByPolicy",7],["pendingPhotoService",8],["basicProcessing",9],["dropped",10],["resetBackfill",11],["resetReverted",12],["droppedTosViolation",13],["archived",14],["migratingFromPicasa",15],["restored",16]]),Qda=new Map([["unspecified",0],["durationTooLong",
1],["fileSizeTooSmall",2],["fileSizeTooLarge",3],["incorrectTranscodeStatus",4]]),Ida=new jCa;var ICa=function(){};var JCa=function(a,b,c){this.g=a;this.D=b;this.h=c};var X3=function(a,b){this.C=a;this.S=b;this.g=new rCa(a,b);this.C=a};
X3.prototype.convert=async function(a,b,c){c=c===void 0?[]:c;try{let ie=this.B(a,b);if(ie)var d=Promise.resolve(ie);else{if(a instanceof hK){var e=Promise,f=e.resolve;if(XA(b)){var g=tr(a,b,uR);var h=z(g,tR,1,B());if(h.length!==1)throw new fn("Expected exactly one CreateItemResponse, got "+h.length);let rc=Q(h[0],sR,2),Td=rc.R();if(xs(Td)!==0)throw Es(Td);let Vc=rc.getItem();fl(Vc);Bs(Vc);var k=Fs(RA(new jn,Vc),Vc.J()).setStatus(1).Ae(Zp(b.headers)).ze($p(b.headers))}else k=Y3(this,a,b);var m=f.call(e,
k)}else{if(a instanceof jP)e=Promise.resolve(Y3(this,a,b));else{if(a instanceof WP){var p=Promise,t=p.resolve;if(!b.json)throw jo(a,b);Hs(["drive#fileList","drive#file"],b.json);var w=tCa(this.g,b.json,b.headers);var A=t.call(p,w)}else{if(a instanceof Vm){var J=Promise,Z=J.resolve;var ha=XA(b)?xl(a.request)&&D(a.request,12)?KCa(a,b):LCa(a,b):Y3(this,a,b);p=Z.call(J,ha)}else{if(a instanceof bK){var Da=Promise,Ha=Da.resolve;if(XA(b)){let rc=tr(a,b,PR);var Db=new cK,Lb=rc.Aa();var Wb=E(Db,1,Lb);var De=
x(rc,5);var Eh=E(Wb,3,De);var od=Cq(rc,2);var Fh=O(Eh,2,od);var Ig=x(rc,3);var Fd=E(Fh,5,Ig);var $i=x(rc,4);var yf=E(Fd,8,$i);var aj=Xt(rc,$r,6);var sk=I(yf,9,aj)}else{if(!b.json)throw jo(a,b);Hs(["drive#generateCseTokenResponse"],b.json);var cg=b.json,tk=new cK;var rm=E(tk,1,cg.fileId);var uk=E(rm,3,cg.jwt);var he=O(uk,2,Number(cg.currentKaclsId));var bj=E(he,5,cg.currentKaclsName);var vk=E(bj,8,cg.customerId);var Jg=bs(cg.guestIdp);sk=I(vk,9,Jg)}J=Ha.call(Da,sk)}else{if(a instanceof LO)Da=MCa(this,
b,c);else{if(a instanceof Ym){var Kg=Promise,sm=Kg.resolve;if(a.Gj)if(XA(b))var Gh=Nqa(a)?KCa(a,b):LCa(a,b);else{if(!b.json)throw jo(a,b);Hs(["drive#file","drive#adminFile","drive#revision"],b.json);Gh=vCa(this.g,b.json,null,b.headers,!!Nqa(a))}else Gh=wCa(null,b.headers);var cj=sm.call(Kg,Gh)}else{if(a instanceof Xm){a=Promise;var wk=a.resolve;let rc=Xp(b.headers),Td=rc["x-goog-upload-url"];if(!Td&&(Td=rc.location,!Td)){let Vc=Wn(new Rn,10);throw Mk(new fn("No upload session URI included.",Vc));
}var tm=new JCa(Td,Zp(rc),$p(rc));Kg=wk.call(a,tm)}else{if(a instanceof dn)var dj=Promise.resolve(new $Ba);else{if(a instanceof oP)var um=Promise.resolve(new ICa);else{if(Ml(a)){f=Promise;var Hh=f.resolve;let rc=tr(a,b,UR),Td=(new jv).setStatus(1),Vc=z(rc,vs,1,B()),dg=a.ta();Vc.length!==dg.length&&this.S.ia("network.xhr.FromXhrConverter").Ba("Expected "+dg.length+" items in response but got "+Vc.length,Error("Ob"));let vm=Math.max(dg.length,Vc.length);for(k=0;k<vm;k++)Sda(k<dg.length?dg[k]:void 0,
k<Vc.length?Vc[k]:void 0,Td,this.C,b,a,rc);var ej=kv(new lv,Td);var Ih=Hh.call(f,ej)}else Ih=Promise.reject(new fn("FromXhrConverter: Unsupported request type.",new Rn));um=Ih}dj=um}Kg=dj}cj=Kg}Da=cj}J=Da}p=J}A=p}e=A}m=e}d=m}return await d}catch(ie){if(ie&&ie[zqa])throw co(ie.g);b=co(ie);ok(b.message,b,"warning");throw b;}};X3.prototype.B=function(){return null};
var MCa=function(a,b,c){var d=b.headers["x-goog-safety-encoding"];return d==="base64"?Sg(Cq(a.C,95))>0?Mca(b.text,Sg(Cq(a.C,95))).then(function(e){return new Q3(e,c.length)}):Promise.resolve(new Q3(faa(b.text),c.length)):d?Promise.reject(Error("Nb")):Promise.resolve(new Q3(new Uint8Array(ea(b.text)),c.length))},LCa=function(a,b){a=tr(a,b,nT).getItem();return NCa(a,b)},KCa=function(a,b){a=tr(a,b,oT);var c=a.getItem();b=NCa(c,b);a=nP(D(a,3));return I(b,4,a)},NCa=function(a,b){fl(a);Bs(a);return Fs(RA(new jn,
a),a.J()).setStatus(1).Ae(Zp(b.headers)).ze($p(b.headers))},Y3=function(a,b,c){if(!c.json)throw jo(b,c);var d=!1;b instanceof Vm&&(d=xl(b.request)&&!!C(b.request,12));Hs(["drive#file","drive#adminFile","drive#revision"],c.json);return vCa(a.g,c.json,Gs(b),c.headers,d)},Z3=function(a,b){if(XA(b)){if(Dl(a)){a=tr(a,b,JR);a=z(a,GR,1,B())[0];b=a.R();if(xs(b)!==0)throw Mk(Es(b,"[Drives.Delete] Failed to delete SharedDrive "+a.getId()+": "+x(b,2)));return Fs(new jn,a.getId()).setStatus(1)}if(Qk(Al)(a)){b=
Uda(a,b);if(a instanceof Ok)a=b;else if(Lq(b[0].result))a=b[0].result.value;else throw b[0].result.reason;return a}}return wCa(Gs(a))},Cs=ys(zs((new As).setStatus(6),5),"item response does not exist");var $3={},$da=($3[0]="newComment",$3[1]="newReply",$3[2]="updatedSuggestionQuote",$3[3]="deletedComment",$3[4]="deletedReply",$3[5]="newMentions",$3[6]="newSuggestion",$3[7]="acceptedSuggestion",$3[8]="rejectedSuggestion",$3[9]="resolvedComment",$3[10]="reopenedComment",$3[11]="newTodo",$3[12]="reassignedTodo",$3),a4={},Wda=(a4[0]="unknown",a4[1]="nonGoogleAccount",a4[2]="googleAccount",a4[3]="unverifiedMention",a4),b4={},Xda=(b4[0]="unknownSignatureVersion",b4[1]="initialSignatureVersion",b4),c4=
{},aea=(c4[0]="unspecifiedEditSource",c4[1]="blobComments",c4[2]="pairedDoc",c4[3]="officeEditingMode",c4[4]="esignature",c4[5]="formFilling",c4),d4={},OCa=(d4[1]="active",d4[2]="archived",d4),e4={},Yda=(e4[0]="unset",e4[1]="default",e4[2]="small",e4[3]="size16kb",e4),f4={},Zda=(f4[0]="unsetKeyFormat",f4[1]="tinkKeyset",f4[2]="tinkAesGcmKey",f4);var QCa=function(a,b,c,d){d=d===void 0?[]:d;if(!b||!rA(a)&&!rA(b))return a;if(nl(a)===2){d=ws(a,82);let e=b.clone();PCa(e,a,c);e.Zb(nl(b));Tx(e,d);return e}a=a.clone();PCa(a,b,c,d);return a},PCa=function(a,b,c,d){d=d===void 0?[]:d;var e=a.clone(),f=aI(b);f!=null&&bI(a,f.clone());if((f=vr(b))&&T(f,13)){var g=yr(a),h=$k(f,13);H(g,13,h)}f&&T(f,18)&&(g=yr(a),f=$k(f,18),H(g,18,f));Lt(a,b,[76,208,156,61,77,134,81,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,235,95,75,94,218,221,122,298,299,2],c);aI(e)&&
Lt(a,e,d,c)},rA=function(a){return a instanceof gl?R(a,1)&&a.getId()===C(a,72):R(a,2)&&a.Aa()===C(a,7)},RCa=function(a){return(a=a?aI(a):null)&&$k(a,7)||!1};var SCa=[{matches:function(a){return vl(a)||!1},convert:function(a,b){a=a.L;var c=b.eb,d=b.M;b=b.C;var e={},f={};e.fields=ar(d,{fields:d.nb(),anonymous:Oq(Xr(b)),Pb:Lp(b)});if(d=C(a,9))e.revisionId=d;e.convert=a.Ge();f["content-type"]="application/json";d=a.Cc().concat([a.J()]);Et([],d,c,f);e.supportsTeamDrives=!0;N(b,3)&&(e.enforceSingleParent=!0);return{parts:{method:"POST",T:"files/"+a.J()+"/copy",json:gt(a),ba:a.G(),Y:f,ja:e},options:{Ra:!0}}},ga:1},{matches:xl,convert:function(a,b){var c=a.L,
d=b.eb,e=b.M;b=b.C;if(a.config.Xa===14)c=lea(c,d,e,b);else{a={};let h={},k=!!C(c,12),m="files";k&&(m+="/"+C(c,12),a.pinned=!!N(c,13));T(c,8)&&(a.convert=c.Ge());R(c,34)&&(a.precondition=C(c,34)||void 0);a.fields=ar(e,{fields:e.nb(),anonymous:Oq(Xr(b)),Pb:Lp(b)});e=At(c);h["content-type"]="application/json";a.supportsTeamDrives=!0;N(b,3)&&(a.enforceSingleParent=!0);Et(z(c,Qt,28,B()),c.Cc().concat([C(c,16),C(c,21),C(c,23)]),d,h);var f;if((f=zo(b))!=null&&F(f,29)&&(R(c,9)||R(c,23))){d=Ws(new ku,St(c));
f=new mu;var g=Pt([Mt(c)]);f=I(f,3,g);d=qu(d,f);f=db(d.ca());g=f.length;let p,t;b=(t=(p=Q(b,ru,33))==null?void 0:Aq(p,71))!=null?t:1E4;g>b&&(S(d,2),f=db(d.ca()));h["x-goog-ext-525001598-jspb"]=f}c={parts:{method:k?"PUT":"POST",T:m,json:e,ba:c.G(),Y:h,ja:a},options:{Ra:!0}}}return c},ga:2},{matches:fm,convert:function(a,b){var c=a.L;b=b.eb;a=a.config;var d={},e={},f=c.X(),g=mE(c,2)?Rl(c,2):-1;if(a.Rp&&a.Nq){let h=a.Nq();h.end&&(!g||h.end>g)&&(g=h.end)}g>-1&&(g="bytes="+g+"-",mE(c,3)&&(g+=Rl(c,3)),
e.range=g);a.ui=!0;C(f,2)&&(d.revisionId=C(f,2));d.alt="media";e["X-Goog-Encode-Response-If-Executable"]="base64";$k(f,6)&&(d.cseFetchOnly=!0);ws(f,8)&&Ys(f,8)&&(d.auditContext=Pqa[am(f,8)]);Et([HJ(GJ(new Qt,f.J()),D(f,3))],[f.J()],b,e);return{parts:{T:"files/"+f.J(),Y:e,ja:d},options:{Be:!0,Ra:!0}}},ga:3},{matches:Ll,convert:function(a,b){return mea(a.L,b.eb,b.C,a.config,b.rh,b.M)},ga:4},{matches:Um,convert:function(a,b){var c=a.L;b=b.eb;if(a.config.Xa===14){a=new OR;var d={"content-type":"application/json+protobuf",
"x-goog-fieldmask":"item_id,customer_id,current_kacls_id,current_kacls_name,jwt,guest_idp"},e=D(c,1),f=D(c,5);e&&(E(a,1,e),hp(c,Qt,3)&&Et([Q(c,Qt,3)],[e],b,d));f&&E(a,2,f);c={parts:{W:14,T:"/v1/items:generateCseToken",ba:c.G(),method:"POST",Y:d,body:a.ca()}}}else a={},d={},e=D(c,1),f=D(c,5),e?(d.fileId=e,Q(c,Qt,3)&&Et([Q(c,Qt,3)],[e],b,a)):f&&(d.parentId=f),d.role=D(c,2)||"writer",c={parts:{T:"files/generateCseToken",ba:c.G(),Y:a,ja:d}};return c},ga:5},{matches:function(){return!1},convert:function(a){a=
a.L;var b=new WR;b=E(b,1,a.id);a=E(b,2,a.revisionId);return{parts:{W:14,T:"/v1/revision:get",ba:(new P).yb(1),method:"POST",Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"revision(id,mime_type,modified_date_millis,original_item_name,file_size,edit_source,last_modifying_user(type),decryption_metadata(wrapped_key,kacls_id,aes_256_gcm_chunk_size,jwt,key_format,guest_idp))"},body:a.ca()}}},ga:6},{matches:function(a){return a instanceof Ym},convert:function(a){var b=a.L;if(a.config.Xa===
14)a={},a=(a["x-goog-upload-protocol"]="resumable",a["x-goog-upload-offset"]=""+b.j.start,a["x-goog-upload-header-content-length"]=""+b.h.size,a["x-goog-upload-command"]=b.Gj?"upload, finalize":"upload",a),b={parts:{W:14,method:"PUT",T:b.A,body:b.h.blob,Y:a}};else{a={};var c=b.g.Oc.Bc();c&&(a["content-type"]=c);if(b.h.size<=0)c=void 0;else{var d=b.j;c=d.start;d=d.end;var e=d-1;c=b.Gj?Wk("bytes %d-%d/%d",c,e,d):b.g.g!=null?Wk("bytes %d-%d/*",c,e):Wk("bytes %d-%d/%d",c,e,b.g.fileSize)}c&&(a["content-range"]=
c);b={parts:{W:4,method:"PUT",T:b.A,body:b.h.blob,Y:a},options:{Ra:!0,Be:!0}}}return b},ga:7},{matches:function(a){return a instanceof Xm},convert:function(a,b){return xea(a.L,b.eb,b.M,b.C,a.config)},ga:8},{matches:function(a){return a instanceof dn},convert:function(a){return{parts:{T:"about",ba:a.L.g,ja:{fields:"kind"}},options:{Ra:!0}}},ga:9},{matches:im,convert:function(a){a=a.L;var b=new VS;var c=D(a,1);b=E(b,1,c);c=D(a,2);b=E(b,2,c);c=D(a,3);b=E(b,3,c);nE(a,4)&&(a=Ug(gq(a,4)),O(b,4,a));a=new P;
a.yb(1);return{parts:{W:14,T:"/v1/publishActivityEvent",ba:a,method:"POST",Y:{"content-type":"application/json+protobuf"},body:b.ca()}}},ga:10},{matches:Ml,convert:function(a,b){return rea(a.L,b.eb,b.C,b.sh(a.L.ta()),b.M)},ga:11}],g4=function(a){this.g=a;this.j=[];a=q(SCa);for(var b=a.next();!b.done;b=a.next())this.j.push(b.value)};
g4.prototype.convert=function(a,b){var c=this;try{return a.L instanceof Vm?vea(a.L,a.config,this.g.M,this.g.C,this.g.eb).then(function(d){var e;return Ps(d.parts,(e=d.options)!=null?e:{},{},b,c.g.C,c.g.N)}):Promise.resolve(this.h(a.L,a.config,b))}catch(d){if(d instanceof fn)return Promise.reject(d);a=Zn(d);a=new fn(void 0,Wn(Jq(Ct(new Rn,"Error converting XHR: "+a.message),a.stack),4));return Promise.reject(a)}};
g4.prototype.h=function(a,b,c){a:{for(var d={L:a,config:b},e=q(this.j),f=e.next();!f.done;f=e.next()){f=f.value;var g=!1;try{g=f.matches(d.L)}catch(J){var h=a,k=f.ga,m=Zn(J);h=new fn(void 0,Jq(Wn(Ct(new Rn,"Converting "+mm(h)+":\nMatcherId "+(k+": "+m.message)),4),m.stack));ok(h.message,h,"warning")}if(g){a=f.convert(d,this.g);break a}}b=Wn(new Rn,4);throw new fn("Unsupported request type: "+mm(a),b);}var p=a.parts;a=a.options;e=p.W===void 0?0:p.W;d=p.body;f=p.ba;g=p.json;h=p.method===void 0?"GET":
p.method;k=p.Y===void 0?{}:p.Y;m=p.ja===void 0?{}:p.ja;var t=p.T;if(p.config){p=q(Object.entries(p.config));for(var w=p.next();!w.done;w=p.next()){var A=q(w.value);w=A.next().value;A=A.next().value;b[w]=A}}return Ps({W:e,T:t,ja:m,Y:k,method:h,ba:f,json:g,body:d},a!=null?a:{},b,c,this.g.C,this.g.N)};var h4=function(){Pi.apply(this,arguments)};V(h4,Pi);h4.prototype.wa=function(){return Pi.prototype.wa.call(this).replace(/^[\s\xa0]+/,"")};var i4=function(a,b){this.B=a;this.A=b;this.j={};this.h={};this.g={}};
i4.prototype.run=function(a,b){var c=this;try{Xza(this.B,a,b);let d=new h4;d.V=!0;let e=b.requestId||"",f=new py;d.listen("complete",function(){c.hd(d,f,e,b,a,b.Dg,a.W===4)});b.gk&&(this.g[e]=0,d.listen("readystatechange",function(){if(iU(d)===3&&jU(d)&&d.R()===200){let g=mU(d),h=c.g[e];if(g.length>h){let k=g.substring(h);c.g[e]=g.length;b.gk(k,h,g.length,!1)}}}));e&&b.Wd&&!b.Nc&&(this.j[e]=d,this.h[e]=b,d.rc=!0,d.listen("uploadprogress",function(g){g.lengthComputable&&c.A.notify([b.Wd],b.ol?g.loaded/
g.total:g.loaded/g.total/2)}),b.ol||d.listen("downloadprogress",function(g){g.lengthComputable&&c.A.notify([b.Wd],g.loaded/g.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(d){return Promise.reject(co(d))}};i4.prototype.cancel=function(a){var b=this.j[a];a=this.h[a];return b&&b.isActive()?(a.te=!0,b.abort(),!0):!1};
i4.prototype.hd=function(a,b,c,d,e,f,g){f=f===void 0?!1:f;g=g===void 0?!1:g;var h={headers:nU(a),Gp:a.R(),text:mU(a)};if((!d.ui||Oza(a.R()))&&!f)try{if(a.g)b:{var k=a.g.responseText;if(n.JSON)try{var m=n.JSON.parse(k);break b}catch(t){}m=xla(k)}else m=void 0;var p=m;h.json=p}catch(t){f=t instanceof Error?t.message:String(t),p=e.uri?Zh(e.uri.clone()).toString():"unknown",h.Jj="JSON parsing failed. U:"+p+" M:"+e.method+" E:"+f}e=u2(a.R(),kU(a),h.headers,h.text,h.json,a.j,oU(a),String(a.K),g,d.kk);a.dispose();
e?b.reject(co(e)):d.gk?(a=h.text,h=this.g[c],d.gk(a.substring(h),h,a.length,!0),b.resolve({headers:{},text:""})):b.resolve(h);c&&(delete this.j[c],delete this.h[c],delete this.g[c])};var r0={Il:{sb:Tb(fn),jb:function(a){return vo(a.na.ca())},fb:function(a){a=Og(Rn,a);return new fn(void 0,a)}},Zq:Fu,Ps:function(a,b,c){a=Fu(a,c);ok("Unhandled: Method "+c+" on service "+b,a,"warning")}};var j4=function(a,b,c){c=c===void 0?!1:c;wo.call(this,a,b===void 0?0:b);VZ(this,c)};V(j4,wo);var k4=function(a,b,c,d){this.response=a;this.pageToken=b===void 0?"":b;this.la=d===void 0?0:d},TCa=function(a){k4.call(this,a,void 0,void 0,void 0);this.Pm=new py};V(TCa,k4);var UCa=function(a,b){this.response=a;this.pageToken=b===void 0?"":b};var VCa=function(){},WCa=function(a){this.g=a},Cea=function(a,b,c,d,e,f,g,h){this.status=a;this.percentDone=b;this.g=c;this.B=d;this.j=e;this.A=f;this.numFetchedFiles=g;this.h=h};var XCa=new Map([["TYPE_UNSPECIFIED",0],["MOBILE",1],["SYNC_CLIENT",2],["APP",3]]),YCa=new Map([["TYPE_UNSPECIFIED",0],["MY_DRIVE_ROOT",1],["SHARED_DRIVE_ROOT",2],["STANDARD_FOLDER",3]]),ZCa=new Map([["TYPE_UNSPECIFIED",0],["USER_DELETION",1],["TRASH_AUTO_PURGE",2],["MULTIPARENTING_MIGRATION",4],["HIERARCHY_RECONCILIATION",3],["JAMBOARD_DEPRECATION",5],["GOOGLE_WORKSPACE_MIGRATE_IMPORT",6],["EXPANSIVE_ACCESS_MIGRATION",8],["INHERITED_UPDATE",9],["LIMITED_ACCESS_MIGRATION",10]]),$Ca=new Map([["TYPE_UNSPECIFIED",
0],["TRASH",1],["PERMANENT_DELETE",2]]),aDa=new Map([["TYPE_UNSPECIFIED",0],["UNTRASH",1],["REVIVE",2]]),bDa=new Map([["ROLE_UNSPECIFIED",0],["OWNER",1],["ORGANIZER",2],["FILE_ORGANIZER",3],["EDITOR",4],["COMMENTER",5],["VIEWER",6],["PUBLISHED_VIEWER",7]]),cDa=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6]]),dDa=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",
5],["REOPENED",6],["REASSIGNED",7]]),eDa=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["ACCEPTED",7],["REJECTED",8],["ACCEPT_DELETED",9],["REJECT_DELETED",10]]),fDa=new Map([["TYPE_UNSPECIFIED",0],["FLAGGED",1],["CLEARED",2]]),gDa=new Map([["TYPE_UNSPECIFIED",0],["LOADED_FOR_VIEW",1],["VIEWED_MORE_CONTENT",2],["OPEN_WITH_APP_INITIATED",3]]),hDa=new Map([["DOMAIN_VISIBILITY_UNKNOWN",0],["DOMAIN_VISIBILITY_CONSUMER",1],["DOMAIN_VISIBILITY_SAME_DOMAIN",
2],["DOMAIN_VISIBILITY_ALL_DOMAINS",3],["DOMAIN_VISIBILITY_RESTRICTED",4]]),iDa=new Map([["NAMED_PARTY_UNKNOWN",0],["NAMED_PARTY_UNNAMED",1],["NAMED_PARTY_NAMED",2]]),jDa=new Map([["TYPE_UNSPECIFIED",0],["DOWNLOADED",1],["DOWNLOAD_INITIATED",2],["PRINT_INITIATED",3]]),kDa=new Map([["UNSPECIFIED_REFERENCE_TYPE",0],["LINK",1],["DISCUSS",2]]),lDa=new Map([["FEATURE_UNSPECIFIED",0],["SHARING_OUTSIDE_DOMAIN",1],["DIRECT_SHARING",2],["ITEM_DUPLICATION",3],["DRIVE_FILE_STREAM",4],["READERS_CAN_DOWNLOAD",
6],["WRITERS_CAN_DOWNLOAD",7]]),mDa=new Map([["RESTRICTION_UNSPECIFIED",0],["UNRESTRICTED",1],["FULLY_RESTRICTED",2]]),nDa=new Map([["STATUS_UNSPECIFIED",0],["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]),oDa=new Map([["APPROVAL_PROCESS_UNSPECIFIED",0],["ESIGNATURE_APPROVAL",2],["AD_HOC_APPROVAL",1],["ALIGNMENT_APPROVAL",3]]),pDa=new Map([["DECISION_UNSPECIFIED",0],["APPROVED",1],["DECLINED",2]]),qDa=new Map([["TYPE_UNSPECIFIED",0],["LABEL_ADDED",1],["LABEL_REMOVED",2],["LABEL_FIELD_VALUE_CHANGED",
3]]),rDa=new Map([["PUBLISH_MODE_UNSPECIFIED",0],["NONE",1],["FIXED",2],["AUTO",3]]),sDa=new Map([["REASON_UNSPECIFIED",0],["ORPHAN_REPARENTED",1],["OWNERSHIP_TRANSFER_REPARENTED",2],["UNMOVABLE_ITEM_REPARENTED",3]]),yDa=function(a){return a.map(function(b){var c=new lR;if(b.primaryActionDetail){var d=tDa(b.primaryActionDetail);I(c,2,d)}b.actors&&(d=uDa(b.actors),Nu(c,3,d));b.actions&&(d=vDa(b.actions),Nu(c,4,d));b.targets&&(d=wDa(b.targets),Nu(c,5,d));b.timestamp&&(d=l4(b.timestamp),y(c,6,mR,d));
b.timeRange&&(b=xDa(b.timeRange),y(c,7,mR,b));return c})},vDa=function(a){return a.map(function(b){var c=new jR;if(b.detail){var d=tDa(b.detail);I(c,1,d)}if(b.source){d=b.source;let f=new QQ;if(d.type){var e=XCa.get(d.type);jE(f,2,e)}d.appId&&iE(f,1,d.appId);I(c,2,f)}b.actor&&(d=zDa(b.actor),I(c,3,d));b.target&&(d=ADa(b.target),I(c,4,d));b.timestamp&&(d=l4(b.timestamp),y(c,5,kR,d));b.timeRange&&(b=xDa(b.timeRange),y(c,6,kR,b));return c})},wDa=function(a){return a.map(function(b){return ADa(b)})},
n4=function(a){return a.map(function(b){return m4(b)})},BDa=function(a){return a.map(function(b){var c=new BG;if(b.parent){var d=m4(b.parent);I(c,1,d)}b.shortcut&&(b=m4(b.shortcut),I(c,2,b));return c})},ADa=function(a){var b=new hR;if(a.driveItem){var c=o4(a.driveItem);y(b,1,iR,c)}if(a.drive){var d=a.drive,e=new fR;d.name&&iE(e,1,d.name);d.title&&e.setTitle(d.title);d.root&&(c=e,d=o4(d.root),I(c,3,d));y(b,5,iR,e)}a.fileComment&&(e=a.fileComment,c=new gR,e.legacyCommentId&&iE(c,1,e.legacyCommentId),
e.legacyDiscussionId&&iE(c,2,e.legacyDiscussionId),e.linkToDiscussion&&iE(c,3,e.linkToDiscussion),e.parent&&(a=c,e=o4(e.parent),I(a,4,e)),y(b,3,iR,c));return b},m4=function(a){var b=new tG;if(a.driveItem){var c=a.driveItem;let f=new qG;c.name&&iE(f,1,c.name);c.title&&f.setTitle(c.title);c.mimeType&&iE(f,6,c.mimeType);if(c.driveFile){var d=new nG;y(f,8,rG,d)}if(c.driveFolder){d=f;var e=CDa(c.driveFolder);y(d,9,rG,e)}c.driveShortcut&&(d=f,c=DDa(c.driveShortcut),y(d,10,rG,c));y(b,1,uG,f)}a.drive&&(a=
EDa(a.drive),y(b,3,uG,a));return b},o4=function(a){var b=new dR;a.name&&iE(b,1,a.name);a.title&&b.setTitle(a.title);a.mimeType&&iE(b,6,a.mimeType);var c=Number(a.version);isFinite(c)&&Ge(b,5,$c(c),"0");if(a.owner){var d=a.owner;c=new bR;if(d.domain){var e=c,f=FDa(d.domain);I(e,3,f)}d.user&&(e=c,f=p4(d.user),y(e,1,cR,f));d.drive&&(e=c,d=EDa(d.drive),y(e,4,cR,d));I(b,7,c)}a.driveFile&&(c=new nG,y(b,8,eR,c));a.driveFolder&&(c=CDa(a.driveFolder),y(b,9,eR,c));a.driveShortcut&&(a=DDa(a.driveShortcut),y(b,
10,eR,a));return b},EDa=function(a){var b=new sG;a.name&&iE(b,1,a.name);a.title&&b.setTitle(a.title);return b},CDa=function(a){var b=new oG;a.type&&(a=YCa.get(a.type),jE(b,6,a));return b},DDa=function(a){var b=new pG;a.targetName&&iE(b,1,a.targetName);a.targetMimeType&&iE(b,2,a.targetMimeType);return b},uDa=function(a){return a.map(function(b){return zDa(b)})},zDa=function(a){var b=new ZQ;if(a.user){var c=p4(a.user);y(b,1,$Q,c)}a.anonymous&&(c=new WQ,y(b,2,$Q,c));if(a.impersonation){var d=a.impersonation,
e=new XQ;d.impersonatedUser&&(c=e,d=p4(d.impersonatedUser),I(c,1,d));y(b,3,$Q,e)}a.system&&(d=a.system,e=new YQ,d.type&&(c=e,d=ZCa.get(d.type),jE(c,1,d)),y(b,4,$Q,e));a.administrator&&(c=new RQ,y(b,5,$Q,c));a.agent&&(c=a.agent,a=new UQ,c.knownAgent&&(e=c.knownAgent,d=new TQ,e.personName&&iE(d,1,e.personName),e.displayName&&iE(d,2,e.displayName),e.photoUrl&&iE(d,3,e.photoUrl),y(a,1,VQ,d)),c.deletedAgent&&(c=c.deletedAgent,e=new SQ,c.personName&&iE(e,1,c.personName),y(a,2,VQ,e)),I(b,7,a));return b},
GDa=function(a){return a.map(function(b){return p4(b)})},p4=function(a){var b=new cG;if(a.knownUser){var c=a.knownUser;let d=new aG;c.personName&&iE(d,1,c.personName);c.isCurrentUser&&gE(d,2,c.isCurrentUser);c.displayName&&iE(d,3,c.displayName);c.photoUrl&&iE(d,4,c.photoUrl);y(b,2,dG,d)}a.unknownUser&&(c=new bG,y(b,4,dG,c));a.deletedUser&&(a=new $F,y(b,3,dG,a));return b},l4=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;var c=new dk;a=Ge(c,1,Oc(a),"0");return ey(a,2,b)},
xDa=function(a){var b=new aR;if(a.startTime){var c=l4(a.startTime);I(b,1,c)}a.endTime&&(a=l4(a.endTime),I(b,2,a));return b},FDa=function(a){var b=new FG;a.name&&iE(b,1,a.name);a.legacyId&&iE(b,3,a.legacyId);a.audienceDisplayName&&iE(b,4,a.audienceDisplayName);return b},tDa=function(a){var b=new MG;if(a.create){var c=a.create;let Ba=new xn;if(c.new){var d=new wG;y(Ba,1,yG,d)}if(c.upload){var e=new xG;y(Ba,2,yG,e)}if(c.copy){var f=c.copy;let Cb=new vG;if(f.originalObject){var g=m4(f.originalObject);
I(Cb,1,g)}y(Ba,3,yG,Cb)}y(b,1,yn,Ba)}if(a.edit){var h=new zn;y(b,2,yn,h)}if(a.move){var k=a.move;let Ba=new An;if(k.addedParents){var m=Ba,p=n4(k.addedParents);Nu(m,1,p)}if(k.removedParents){var t=Ba,w=n4(k.removedParents);Nu(t,2,w)}k.fromOwnershipTransfer&&gE(Ba,3,k.fromOwnershipTransfer);if(k.reparents){var A=Ba,J=k.reparents.map(HDa);Nu(A,4,J)}if(k.multiparentingMigration){var Z=k.multiparentingMigration;let Cb=new CG;if(Z.removedParents){var ha=Cb,Da=n4(Z.removedParents);Nu(ha,2,Da)}if(Z.migratedParents){var Ha=
Cb,Db=BDa(Z.migratedParents);Nu(Ha,1,Db)}I(Ba,5,Cb)}y(b,3,yn,Ba)}if(a.rename){var Lb=a.rename;let Ba=new Bn;Lb.oldTitle&&iE(Ba,1,Lb.oldTitle);Lb.newTitle&&iE(Ba,2,Lb.newTitle);y(b,4,yn,Ba)}if(a.delete){var Wb=a.delete;let Ba=new Cn;if(Wb.type){var De=Ba,Eh=$Ca.get(Wb.type);jE(De,1,Eh)}y(b,5,yn,Ba)}if(a.restore){var od=a.restore;let Ba=new Dn;if(od.type){var Fh=Ba,Ig=aDa.get(od.type);jE(Fh,1,Ig)}y(b,6,yn,Ba)}if(a.permissionChange){var Fd=a.permissionChange;let Ba=new En;if(Fd.addedPermissions){var $i=
Ba,yf=q4(Fd.addedPermissions);Nu($i,1,yf)}if(Fd.removedPermissions){var aj=Ba,sk=q4(Fd.removedPermissions);Nu(aj,2,sk)}if(Fd.resharedPermissions){var cg=Ba,tk=q4(Fd.resharedPermissions);Nu(cg,3,tk)}if(Fd.otherActivePermissions){var rm=Ba,uk=q4(Fd.otherActivePermissions);Nu(rm,4,uk)}y(b,7,yn,Ba)}if(a.comment){var he=a.comment;let Ba=new Fn;if(he.post){var bj=he.post;let Cb=new kG;if(bj.subtype){var vk=cDa.get(bj.subtype);jE(Cb,1,vk)}y(Ba,1,mG,Cb)}if(he.assignment){var Jg=he.assignment;let Cb=new jG;
if(Jg.subtype){var Kg=dDa.get(Jg.subtype);jE(Cb,1,Kg)}if(Jg.assignedUser){var sm=p4(Jg.assignedUser);I(Cb,7,sm)}y(Ba,2,mG,Cb)}if(he.suggestion){var Gh=he.suggestion;let Cb=new lG;if(Gh.subtype){var cj=eDa.get(Gh.subtype);jE(Cb,1,cj)}y(Ba,3,mG,Cb)}if(he.mentionedUsers){var wk=Ba,tm=GDa(he.mentionedUsers);Nu(wk,7,tm)}y(b,8,yn,Ba)}if(a.dlpChange){var dj=a.dlpChange;let Ba=new Gn;if(dj.type){var um=Ba,Hh=fDa.get(dj.type);jE(um,1,Hh)}y(b,9,yn,Ba)}var ej=a.view;if(ej){let Ba=new Hn,Cb=gDa.get(ej.type);
Cb&&jE(Ba,1,Cb);let Dm=ej.viewHistoryVisibility;if(Dm){let Em=new LG,fj=hDa.get(Dm.domainPolicyVisibilityState);fj&&jE(Em,1,fj);let gj=iDa.get(Dm.namedPartyState);gj&&jE(Em,2,gj);I(Ba,2,Em)}y(b,10,yn,Ba)}var Ih=a.download;if(Ih){let Ba=new In,Cb=jDa.get(Ih.type);Cb&&jE(Ba,1,Cb);y(b,11,yn,Ba)}if(a.reference){var ie=a.reference;let Ba=new Jn;if(ie.type){var rc=Ba,Td=kDa.get(ie.type);jE(rc,1,Td)}if(ie.context){var Vc=ie.context;let Cb=new VF;Vc.description&&Cb.setDescription(Vc.description);Vc.url&&
iE(Cb,2,Vc.url);I(Ba,2,Cb)}y(b,12,yn,Ba)}if(a.settingsChange){var dg=a.settingsChange;let Ba=new Kn;if(dg.restrictionChanges){var vm=Ba,kt=IDa(dg.restrictionChanges);Nu(vm,1,kt)}y(b,13,yn,Ba)}if(a.approvalChange){var dc=a.approvalChange;let Ba=new Ln;dc.approvalName&&iE(Ba,2,dc.approvalName);dc.approvalEventNames&&rs(Ba,3,dc.approvalEventNames);if(dc.initiator){var ip=Ba,xk=p4(dc.initiator);I(ip,4,xk)}if(dc.reviewers){var ty=Ba,uy=GDa(dc.reviewers);Nu(ty,5,uy)}dc.status&&Ba.setStatus(nDa.get(dc.status));
if(dc.dueTime){var wm=Ba,lt=l4(dc.dueTime);I(wm,7,lt)}if(dc.approvalRequested){var yk=new YF;y(Ba,8,iG,yk)}if(dc.approvalCancelled){var xm=new XF;y(Ba,9,iG,xm)}if(dc.reviewerResponded){var Gd=dc.reviewerResponded;let Cb=new fG;if(Gd.reviewerDecision){var vy=pDa.get(Gd.reviewerDecision);jE(Cb,1,vy)}y(Ba,10,iG,Cb)}if(dc.commentAdded){var wy=new ZF;y(Ba,11,iG,wy)}if(dc.reviewersChanged){var jp=dc.reviewersChanged;let Cb=new hG;if(jp.reviewerChanges){var mt=JDa(jp.reviewerChanges);Nu(Cb,1,mt)}y(Ba,12,
iG,Cb)}if(dc.dueTimeChanged){var ym=dc.dueTimeChanged;let Cb=new eG;if(ym.oldDueTime){var kp=l4(ym.oldDueTime);I(Cb,1,kp)}y(Ba,13,iG,Cb)}if(dc.approvalProcess){var lp=Ba,nt=oDa.get(dc.approvalProcess);jE(lp,16,nt)}y(b,18,yn,Ba)}if(a.lock){var ot=new Mn;y(b,15,yn,ot)}if(a.unlock){var mp=new Nn;y(b,16,yn,mp)}if(a.appliedLabelChange){var zm=a.appliedLabelChange;let Ba=new On;if(zm.changes){var np=Ba,op=KDa(zm.changes);Nu(np,1,op)}y(b,19,yn,Ba)}if(a.publishChange){var zk=a.publishChange;let Ba=new Pn;
if(zk.oldPublishState){var pp=Ba,xy=LDa(zk.oldPublishState);I(pp,1,xy)}if(zk.newPublishState){var pt=Ba,Am=LDa(zk.newPublishState);I(pt,2,Am)}y(b,20,yn,Ba)}if(a.linkShareMetadataChange){var Bm=a.linkShareMetadataChange;let Ba=new Qn;Bm.securityUpdateEnabled&&gE(Ba,1,Bm.securityUpdateEnabled);y(b,21,yn,Ba)}if(a.inheritanceBreakAdded){var Cm=new zG;y(b,22,yn,Cm)}if(a.inheritanceBreakRemoved){var qp=new AG;y(b,23,yn,qp)}return b},HDa=function(a){var b=new DG;a.reason&&(a=sDa.get(a.reason),jE(b,1,a));
return b},q4=function(a){return a.map(function(b){var c=new HG;if(b.role){var d=bDa.get(b.role);jE(c,1,d)}b.user&&(d=p4(b.user),y(c,2,IG,d));if(b.group){d=b.group;let e=new GG;d.email&&iE(e,1,d.email);d.title&&e.setTitle(d.title);y(c,3,IG,e)}b.domain&&(d=FDa(b.domain),y(c,4,IG,d));b.anyone&&(d=new EG,y(c,5,IG,d));b.allowDiscovery&&gE(c,6,b.allowDiscovery);return c})},IDa=function(a){return a.map(function(b){var c=new KG;if(b.feature){var d=lDa.get(b.feature);jE(c,1,d)}b.newRestriction&&(b=mDa.get(b.newRestriction),
jE(c,2,b));return c})},JDa=function(a){return a.map(function(b){var c=new gG;if(b.removedReviewer){var d=p4(b.removedReviewer);I(c,3,d)}b.addedReviewer&&(b=p4(b.addedReviewer),I(c,4,b));return c})},KDa=function(a){return a.map(function(b){var c=new WF;b.label&&iE(c,1,b.label);b.types&&(b=MDa(b.types),Ee(c,2,b,Cc));return c})},MDa=function(a){return a.map(function(b){return qDa.get(b)})},LDa=function(a){var b=new JG;if(a.publishMode){var c=rDa.get(a.publishMode);jE(b,1,c)}a.signinRequired&&gE(b,2,
a.signinRequired);a.publishedTime&&(a=l4(a.publishedTime),I(b,3,a));return b};var zea=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),Aea=new Map([["application",1],["document",2],["documentShared",3]]);var NDa=function(a,b){this.g=a;this.h=b},ODa=function(a){var b=new ZI,c=Bt(a,2);c!=null&&O(b,3,Number(c));c=Bt(a,1);nE(a,1)&&c!=null&&O(b,2,Number(c));$I(b,z(a,qR,3,B()).map(function(d){var e=new KI;var f=Number(Bt(d,1));e=O(e,1,f);Ys(d,4)&&R(d,3)&&(bl(d,4)===2&&OI(e,d.Aa()),LI(e,d.Aa()));d.Qb()?NI(e,d.getItem()):hp(d,gl,7)&&NI(e,Q(d,gl,7));T(d,2)&&N(d,2)&&!e.getItem()&&MI(e);return e}));return b};var Bea=new Map([["QUEUED",1],["COUNTING",3],["BUILDING",2],["SUCCEEDED",4],["FAILED",5]]);var afa=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),Eea=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);var PDa=function(a){this.I=a},QDa=function(a,b,c){try{b()}catch(d){if(d instanceof TypeError)return a.I.Ba("Response Parser: Error parsing type "+c+".",d),!1;throw d;}return!0};var r4=function(a,b){this.I=b.ia("response.metadata.DriveMetadataParser");this.C=a};V(r4,PDa);
var RDa=function(a,b){a=fT(b)[0];b=Q(a,sR,2);var c=a.getId();a=jL(new iL,z(b,bL,4,B()).map(function(d){return eL(d,c)})).setStatus(1);return new k4(a)},TDa=function(a,b,c){var d=new iL,e=Object.values(c.categoryMetadata||{});jL(d,e.map(function(f){return SDa(a,f,b.Aa())})).setStatus(1);return new k4(d,Br(c))},SDa=function(a,b,c){c=eL(cL(new bL,b.categoryName),c);b=Object.values(b.attributeValues||[]);dL(c,b.map(function(d){var e=aL(new WK,d.id);return a.setValue(e,d)?e:null}).filter(function(d){return d!==
null}));return c};r4.prototype.setValue=function(a,b){var c=b.valueType,d=UDa.get(c);G(a,4,d);return VDa(this,a,c,b[c])};
var VDa=function(a,b,c,d){return QDa(a,function(){WDa(a,c,b)(d)},c)},WDa=function(a,b,c){switch(b){case "text":return function(d){return c.setTextValue(d)};case "selection":return function(d){return c.setSelectionValue(d)};case "selectionList":return function(d){return YK(c,d)};case "integer":return function(d){return c.setIntegerValue(d)};case "user":return function(d){return c.setUserValue(Wr(d,a.C))};case "userList":return function(d){$K(c,d.map(function(e){return Wr(e,a.C)}))};case "dateString":return function(d){return c.setDateStringValue(d)};
default:throw new TypeError("Sb`"+b);}},UDa=new Map([["text",2],["selection",5],["selectionList",6],["integer",7],["user",10],["userList",11],["dateString",12]]);var XDa=function(a){this.S=a},ZDa=function(a,b){try{let c;return Oka(bP(new aP,(c=b.labels)==null?void 0:c.map(function(d){return YDa(a,d)})).setStatus(1),b.nextPageToken)}catch(c){throw a.S.ia("response.metadata.LabelTaxonomyParser").Ba("Response Parser: Error parsing label taxonomy "+c),new fn("Response Parser: Error parsing label taxonomy",null,c);}},YDa=function(a,b){try{let c,d,e=Eka(GO(FO(new EO,b.id),b.revisionId),b.learnMoreUri).setTitle((c=b.properties)==null?void 0:c.title).setDescription((d=
b.properties)==null?void 0:d.description);b.fields&&Dka(e,b.fields.map(function(f){var g=new CO;g=E(g,1,f.id);if(f.properties){var h=f.properties;var k=new zO;k=E(k,1,h.displayName);k=H(k,2,h.required);h=E(k,3,h.insertBeforeField);I(g,8,h)}switch(!0){case !!f.textOptions:var m=f.textOptions;f=new AO;f=K(f,1,m.minLength);m=K(f,2,m.maxLength);y(g,2,DO,m);break;case !!f.integerOptions:m=f.integerOptions;f=new yO;m.minValue===void 0||Number.isNaN(Number(m.minValue))||O(f,1,Number(m.minValue));m.maxValue===
void 0||Number.isNaN(Number(m.maxValue))||O(f,2,Number(m.maxValue));y(g,4,DO,f);break;case !!f.dateOptions:f=f.dateOptions;h=new xO;k=(m=$Da.get(f.dateFormatType))!=null?m:0;m=G(h,1,k);m=E(m,2,f.dateFormat);f.minValue&&(h=yw(f.minValue),I(m,3,h));f.maxValue&&(f=yw(f.maxValue),I(m,4,f));y(g,5,DO,m);break;case !!f.selectionOptions:m=vfa(f.selectionOptions);y(g,6,DO,m);break;case !!f.userOptions:h=f.userOptions;f=new BO;h.listOptions&&(m=f,h=Aw(h.listOptions),I(m,1,h));y(g,7,DO,f);break;default:throw new TypeError("Tb");
}return g}));return e}catch(c){throw a.S.ia("response.metadata.LabelTaxonomyParser").Ba("Response Parser: Error parsing label taxonomy "+c),new fn("Response Parser: Error parsing label taxonomy",null,c);}},$Da=new Map([["DATE_FORMAT_UNSPECIFIED",0],["LONG_DATE",1],["SHORT_DATE",2]]);var aEa=function(a){this.I=a.ia("response.metadata.MetadataParser")};V(aEa,PDa);
var cEa=function(a,b){var c=new qL;mka(c,(b.categories||[]).map(function(d){return bEa(a,d)}));c.setStatus(1);return new UCa(c,Br(b))},bEa=function(a,b){var c,d=lka(cka(ika(hka(gka(bka(aka($ja(new pL,b.name),b.categoryName),b.latestName).setTitle(b.title).setDescription(b.description),zr(b.createTime)),zr(b.updateTime)),zr(b.publishTime)),((c=b.attributes)!=null?c:[]).map(function(e){a:{var f=e.type;var g=new TK;g=E(g,1,e.id);g=E(g,2,e.queryGuid);g=E(g,3,e.helpText);g=E(g,4,e.displayName);if(e.attributeDisplayHints){var h=
dEa(e.attributeDisplayHints);I(g,5,h)}if(e.capabilities){h=e.capabilities;var k=new HK;k=H(k,1,h.canSearch);h=H(k,2,h.canWrite);I(g,6,h)}if(f&&(h=eEa.get(f),G(g,7,h),e=e[Nk(f)+"Options"],!fEa(a,g,f,e))){f=null;break a}f=g}return f}).filter(function(e){return e!==null})),b.customer);b.createdBy&&dka(d,s4(b.createdBy));b.ur&&eka(d,s4(b.ur));b.publishedBy&&fka(d,s4(b.publishedBy));b.displayHints&&jka(d,dEa(b.displayHints));b.capabilities&&kka(d,gEa(b.capabilities));b.learnMoreUri&&E(d,15,b.learnMoreUri);
return d},dEa=function(a){var b=new SK;b=H(b,1,a.disabled);b=H(b,2,a.hidden);b=H(b,3,"activatedInAllDrives"in a?a.activatedInAllDrives:void 0);return H(b,4,"required"in a?!!a.required:!1)},gEa=function(a){var b=new oL;b=H(b,1,a.canSearch);b=H(b,2,a.canApply);b=H(b,4,a.canRemove);return H(b,3,a.canManageSharedDriveActivation)},fEa=function(a,b,c,d){return QDa(a,function(){hEa(c,b)(d)},c)},jEa=function(a){var b=new NK;Xja(b,(a.choices||[]).map(function(c){var d=new MK;d=E(d,1,c.label).setValue(c.value);
c.description&&d.setDescription(c.description);if(c.capabilities){var e=c.capabilities;var f=new KK;f=H(f,1,e.canSearch);e=H(f,2,e.canSelect);I(d,3,e)}c.displayHints&&(c=c.displayHints,e=new LK,e=H(e,1,c.disabled),e=H(e,2,c.hidden),c.badgePriority&&O(e,5,c.badgePriority),c.badgeColors&&(f=iEa(c.badgeColors),I(e,3,f)),c.darkBadgeColors&&(c=iEa(c.darkBadgeColors),I(e,4,c)),I(d,4,e));return d}));return b},iEa=function(a){var b=new Hw;var c=t4(a.backgroundColor);b=I(b,1,c);c=t4(a.foregroundColor);b=I(b,
2,c);a=t4(a.soloColor);return I(b,3,a)},t4=function(a){var b=new Jw;b=Kw(b,1,a.red);b=Kw(b,2,a.green);b=Kw(b,3,a.blue);a.alpha&&(a=(new Lw).setValue(a.alpha),I(b,4,a));return b},kEa=function(a){var b=new xw;b=K(b,1,a.year);b=K(b,2,a.month);return K(b,3,a.day)},s4=function(a){return Rr(Sr(1),a.personName.split("/")[1])},hEa=function(a,b){switch(a){case "TEXT":return function(c){c=c===void 0?{}:c;var d=new PK;d=K(d,1,c.minSize);c=K(d,2,c.maxSize);return y(b,8,UK,c)};case "SELECTION":return function(c){c=
jEa(c);return y(b,14,UK,c)};case "SELECTION_LIST":return function(c){var d=new OK;d=K(d,1,c.maxEntries);c=jEa(c.options);c=I(d,2,c);return y(b,15,UK,c)};case "INTEGER":return function(c){var d=new JK;d=H(d,1,c.showThousandsSeparator);d=hE(d,2,c.minValue);c=hE(d,3,c.maxValue);return y(b,11,UK,c)};case "USER":return function(){var c=new QK;return y(b,17,UK,c)};case "USER_LIST":return function(c){var d=new RK;c=K(d,1,c.maxEntries);d=new QK;c=I(c,2,d);return y(b,18,UK,c)};case "DATE":return function(c){var d=
new IK;d=E(d,4,c.dateFormat);var e=kEa(c.minValue);d=I(d,2,e);c=kEa(c.maxValue);c=I(d,3,c);return y(b,19,UK,c)};default:throw new TypeError("Ub`"+a);}},eEa=new Map([["TEXT",2],["SELECTION",5],["SELECTION_LIST",6],["INTEGER",7],["USER",10],["USER_LIST",11],["DATE",12]]);var wfa={movable:1,deadlineExceeded:2,exceedsMoveSizeLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7,exceedsMultipleAppearanceLimit:14,quotaExceeded:15,unmovableSourceItems:16,destinationNotFound:17,sourceAlreadyInSharedDrive:18},Cfa={insufficientPermission:1,differentCustomer:2,abuse:3,blockedType:4,sharedDriveNotFound:5,alreadyInSharedDrive:6,editorMoveInDisabled:8,ownerMustBeMemberOfDestinationSharedDrive:9,cannotMoveAsAdmin:10,
other:7};var lEa=RegExp("^((http(s)?):)?\\/\\/((((lh[3-6](-tt|-d[a-g,y,z]|-testonly)?\\.((ggpht)|(googleusercontent)|(google)|(sandbox\\.google)))|(lh7\\-(eu|us|qw|rt|xx)\\.((googleusercontent)|(google)))|((photos|testonly|work)\\.fife\\.usercontent\\.google)|([\\w\\-]+\\.fife\\.usercontent\\.google)|(([1-4]\\.bp\\.blogspot)|(bp[0-3]\\.blogger))|(ccp-lh\\.googleusercontent)|((((cp|ci|gp)[3-6])|(ap[1-2]))\\.(ggpht|googleusercontent))|(gm[1-4]\\.ggpht)|(play-(ti-)?lh\\.googleusercontent)|(gz[0-1]\\.googleusercontent)|(lh3\\-gm\\.google)|(((yt[3-4])|(sp[1-3]))\\.(ggpht|googleusercontent)))\\.com)|(drive\\.google\\.com\\/drive\\-(usercontent|viewer))|(dp[3-6]\\.googleusercontent\\.cn)|(lh[3-6]\\.(googleadsserving\\.cn|xn--9kr7l\\.com))|((photos|drive|contribution)\\-image\\-(dev|qa)(-us|-eu)?(-auth|-cookie)?\\.corp\\.google\\.com)|(photos\\-image\\-dev\\-dl\\-(auth|eu|us)\\.corp\\.google\\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\\.sandbox\\.google\\.com\\/image)|(image\\-(dev|qa)\\-lighthouse(-auth)?\\.sandbox\\.google\\.com(\\/image)?)|(drive\\-qa\\.corp\\.google\\.com\\/drive\\-(usercontent|viewer))|(docs(\\-(dev|qa)\\.corp)?\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images\\-(rt|qw))|(docs\\.sandbox\\.google\\.com\\/(u\\/[0-9]+\\/)?(docs|sheets|slides|drawings|forms|videos|pictures)\\-images)|(sites\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images\\-(rt|qw))|(atari-green-test\\.corp\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images\\-(rt|qw))|(sites\\.sandbox\\.google\\.com\\/(u\\/[0-9]+\\/)?sites(v)?\\-images))\\/",
"i"),mEa=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,nEa=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,oEa=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i;var pEa=function(a,b,c){this.h=a;this.C=b;this.g=c},qEa=function(a,b){return(b.items||[]).map(function(c){return u4(a,c)})},u4=function(a,b){var c=new sH,d=Ar(b.colorRgb);d&&O(c,2,d);gja(c,v4(a,b.backgroundImageLink));H(c,3,b.trusted);hja(c,v4(a,b.backgroundImageGridViewLink));ija(c,v4(a,b.backgroundImageListViewLink));H(c,7,b.hidden);H(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&tH(c,d.map(function(e){var f=new iB;return E(f,1,e.category)}));b.corpusLimits&&(d=Number(b.corpusLimits.itemsCountCapacityUsedPercentage),
isNaN(d)||qH(Sp(c,pH,10),d),d=Number(b.corpusLimits.itemsCountCapacityUsedPercentageNotificationThreshold),isNaN(d)||rH(Sp(c,pH,10),d));c=wI(Vu(jI($u(bI(dl(Ru(new gl,b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id).Zb(2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=Fr(Kr(b.capabilities),!0),xr(c,d));b.creator&&(d=Wr(b.creator,a.C),iI(c,d));b.permissionsSummary&&gI(c,GCa(a.h,b.permissionsSummary));b.restrictions&&qI(c,rEa(b.restrictions));if(b.quotaInfo){let e;
if(!isNaN(Number(b==null?void 0:(e=b.quotaInfo)==null?void 0:e.individualQuotaBytesTotal))){let f;AI(c,Number(b==null?void 0:(f=b.quotaInfo)==null?void 0:f.individualQuotaBytesTotal))}isNaN(Number(b.quotaInfo.quotaBytesUsed))||O(c,143,Number(b.quotaInfo.quotaBytesUsed))}return c},rEa=function(a){var b=new nH;b=H(b,1,a.copyRequiresWriterPermission);b=H(b,3,a.domainUsersOnly);"teamMembersOnly"in a&&H(b,4,a.teamMembersOnly);return b},v4=function(a,b){var c;if(c=a.g&&b)c=lEa.test(b)||mEa.test(b)||nEa.test(b)||
oEa.test(b);return c?b.replace("/d/","/"+a.g+"/"):b};var sEa={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,DRIVE_BE_EX:7,DRIVE_SHARING:9,DRIVE_CSPP:13};kh(sEa);var Gfa={active:1,archived:2};var w4=function(){oh.call(this)};V(w4,oh);w4.prototype.ak=function(){this.dispatchEvent("r")};var x4=function(a){oh.call(this);this.H=a;this.la=0};V(x4,oh);var tEa=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};Lu(a,U(a,4,B()).map(b));Ku(a,U(a,5,B()).map(b));return a};x4.prototype.F=function(){};x4.prototype.ra=function(){return this.la};var uEa=function(a){a.h.length===0&&(a.h=a.g,a.h.reverse(),a.g=[])},y4=function(a){uEa(a);return a.h.pop()};l=px.prototype;l.Va=function(){return this.h.length+this.g.length};l.ib=function(){return this.h.length===0&&this.g.length===0};l.clear=function(){this.h=[];this.g=[]};l.contains=function(a){return Ja(this.h,a)||Ja(this.g,a)};l.remove=function(a){{var b=this.h;let c=Array.prototype.lastIndexOf.call(b,a,b.length-1);c>=0?(Ma(b,c),b=!0):b=!1}return b||Na(this.g,a)};
l.uc=function(){var a=[];for(var b=this.h.length-1;b>=0;--b)a.push(this.h[b]);b=this.g.length;for(let c=0;c<b;++c)a.push(this.g[c]);return a};var z4=function(){oh.apply(this,arguments);this.B=new px;this.F=this.active=this.g=!1};V(z4,oh);z4.prototype.initialize=function(){this.g||(this.g=!0,A4(this))};var A4=function(a){a.active=!0;B4(a)},B4=function(a){if(a.active&&!a.F){let b=y4(a.B);if(b)if(a.V())for(;b=y4(a.B););else{a.F=!0;let c=function(){a.F=!1;B4(a)};a.ha(b).then(c,c)}}};z4.prototype.ha=function(){return Promise.resolve(void 0)};z4.prototype.V=function(){return!0};var vEa=function(a,b){this.command=a;this.Z=b};var C4=function(a){z4.call(this);this.context=a;this.K=this.D=!1;this.j=null;this.h=1;this.H=0;this.error=null;this.ma=new bi(this);this.Da(this.ma);this.ma.listen(this.context.uf,"s",tj(this.dispatchEvent,new $g("s",this)));wEa(this)};V(C4,z4);
var wEa=function(a){var b=a.context.Oa;A0(b,["nVUlO"],function(){a.K=!0;A4(a)});if(!Xy(a.context.C)){let c=Bja(Gq(a.context.C));A0(b,["NSockf"],function(){c===1?xEa(a):A4(a)});c===2&&A0(b,["mrK8ic"],function(){a.D||xEa(a)})}},xEa=function(a){var b=Vt(jx(new P,!0),301);b=VG(WG(new UG,b),1);a.refresh(b).catch(function(){})};
C4.prototype.refresh=function(a,b){var c=this;n.clearTimeout(this.H);this.H=0;var d=new py;this.j=d.promise;this.j.then(function(){yEa(c)},function(){yEa(c)});var e=this.h;this.h=ws(a,1)||e;var f=!this.D;this.D=!0;var g=new UG;VG(g,this.h);WG(g,a.G());D4(this.context).then(function(h){return h.route(g,b)}).then(function(h){c.error=null;var k=c.context.uf;k.F(h,k.la!==0?6:1);d.resolve()},function(h){c.h=e;h=co(h,f?"Initial app settings refresh failed: ":"Error occurred while loading the latest set of apps.");
var k=h.na;G(k,5,2);f?(Un(k,1),c.context.Qe(k),A4(c)):Un(k,2);c.error=h;d.reject(h)});return this.j};C4.prototype.V=function(){return!1};
C4.prototype.ha=function(a){var b=this,c=a.command,d=c.request,e=c.mp,f=c.ve?{ve:c.ve}:void 0;if(!zEa(d))return D4(this.context).then(function(k){return k.route(d,f)}).then(function(k){a.Z.resolve(new c_(k,1,!1))},function(k){a.Z.reject(Zn(k))}),Promise.resolve(void 0);c=Promise.resolve();var g=!1;this.j?AEa(this,am(d,1))?e=this.j:c=e=new Promise(function(k,m){b.j.then(function(){b.refresh(d,f).then(function(){return k()},m)})}):!e&&this.K&&AEa(this,am(d,1))&&!this.error?(g=!0,e=Promise.resolve()):
e=this.refresh(d,f);var h=a.Z;e.then(function(){var k=b.context.uf;h.resolve(new c_(k.B(),k.ra(),g))},function(k){h.reject(k)});return c.then()};
var zEa=function(a){var b=am(a,1);return b===1||b===2||b===4?(b=U(a,4,B()),a=U(a,3,B()),!(b&&b.length)&&!(a&&a.length)):!1},AEa=function(a,b){return a.h===b||a.h===4||a.h===2&&b===1},yEa=function(a){a.j=null;var b=BEa(a);a.H=n.setTimeout(function(){if(a.context.ye.g){var c=Vt(new P,306);c=WG(VG(new UG,1),c);a.refresh(c).catch(function(d){ok("Could not schedule "+b+"ms refresh in AppSettingsManager",Zn(d),"warning")})}},b)},BEa=function(a){var b=Gq(a.context.C);a=Sg(Cq(b,7,jc(9E5)));b=Sg(Cq(b,4,jc(72E5)));
return Math.ceil(a*Math.random())+b};var CEa=new Set([1,2,4,5,6]),E4=function(a,b,c){x4.call(this,b);this.D=c;this.h={};this.j=[];this.status=6;this.g=!1;this.I=a.ia("sync.appsettings.InMemoryAppSettingsCache")};V(E4,x4);E4.prototype.B=function(){var a=new OG;if(!hh(this.h)){rs(a,4,this.j);let b=[];bh(this.h,function(c){b.push(c.clone())});Nu(a,2,b)}a.setStatus(this.status);return a};var DEa=function(a,b){a.h[C(b,1)]=tEa(b);a.D.update(1).catch(function(c){ok("Failed to update via put",Zn(c),"warning")});a.dispatchEvent(new $g("s",a))};
E4.prototype.remove=function(a){ih(this.h,a)&&this.D.update(1).catch(function(b){ok("Failed to update via remove",Zn(b),"warning")})};E4.prototype.F=function(a,b,c){c=c===void 0?!1:c;var d=!CEa.has(b);this.status===1&&d||(this.la=b,EEa(this,a,!d||c),d||this.D.update(1).catch(function(e){ok("Failed to update via bulkImport",Zn(e),"warning")}),this.g||(this.g=!0,this.I.info("Apps initialized."),B0(this.H,"nVUlO")))};
var EEa=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=U(b,4,B(tu));if(!d)if(e.length!==a.j.length)d=!0;else{let g=e.concat(a.j);Ua(g);d=g.length!==a.j.length}a.j=e;var f=jh(a.h);kba(a.h);b=z(b,Ju,2,B());d||(d=b.length!==eh(f));b.forEach(function(g){var h=tEa(g);a.h[C(g,1)]=h;d||(g=f[C(g,1)],d=!g||!Np(h,g))});a.I.info((c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new $g("s",a))};var FEa=function(){this.g=new Map},G4=function(){F4===void 0&&(F4=new FEa);return F4},GEa=function(a,b){a.g.has(b)||a.g.set(b,new Map)},HEa=function(a,b,c){(a=a.g.get(b))&&!a.has(c)&&a.set(c,new py)},IEa=function(a,b,c){(a=a.g.get(b))&&(c=a.get(c))&&c.resolve()},JEa=function(a,b,c){var d,e;return(e=(d=a.g.get(b))==null?void 0:d.has(c))!=null?e:!1},KEa=function(a,b){return a.g.has(b)},LEa=function(){var a=G4(),b=[];a=q(a.g.values());for(var c=a.next();!c.done;c=a.next())c=c.value,c.has(8)&&b.push(c.get(8).promise);
return b.length?Promise.race(b).then(function(){}):null},F4=void 0;var ux=function(a,b,c){zZ.call(this,a,c);this.K=b;this.B=new Set;this.D=!1};V(ux,zZ);l=ux.prototype;
l.get=function(a){var b=null;if(!this.D&&F4!==void 0){this.D=!0;let c=LEa();c&&(b=Promise.race([c,new Promise(function(d){setTimeout(d,100)})]))}return EZ(this,a,b).then(function(c){var d,e,f=(e=(d=c.response)==null?void 0:d.ka())!=null?e:1;c=(new j4(c.response||(new wF).setStatus(f),c.la,c.Ya)).setStatus(f);oF(a);var g,h;d=(h=(g=c.response)==null?void 0:g.clone())!=null?h:null;return new j4(d,c.la,c.Ya)})};l.pg=function(a){return a.clone()};
l.qf=function(a){if(T(a,3)||T(a,4)){if(N(a,3)&&!N(a,4))return 1;if(!N(a,3)&&N(a,4))return 2}return 0};l.Xc=function(a,b,c){var d=new Set(oF(a));a=oF(b);return(c?d.size===a.length:!0)&&a.every(function(e){return d.has(e)})};l.Ml=function(a){var b=[].concat(r(new Set([].concat(r(oF(a)),r(this.B)))));b.sort();return new rra(kx(a.clone(),b))};
l.Uh=function(a,b){var c=AZ(this);a=oF(a);var d=new Set(a),e,f;return((e=c.response)==null?0:e.Nd())&&(Ug(gq(c.response,4))>((f=Ug(gq(b,4)))!=null?f:0)||[].concat(r(this.B.values())).some(function(g){return!d.has(g)}))?!1:!0};l.Rl=function(a){var b=this;oF(a.request).forEach(function(c){b.B.add(c)});(a=AZ(this).response)&&nE(a,4)&&this.K.notify(Ug(gq(a,4)))};
l.refresh=function(a){var b=AZ(this),c;if((c=b.response)==null||!c.Nd())return Promise.resolve();var d;b=ix(jx(Vt(((d=b.request)==null?void 0:d.G())||new P,a),!1),2);a=lx(pF(new mx),b);return this.get(a).then(function(){})};var Wfa=function(a){return function(b){return a.refresh(b)}};ux.prototype.yd=function(){var a=AZ(this).response;if(a){var b=new yF;var c=kx(new mx,[].concat(r(this.B)));b=I(b,1,c);a=I(b,2,a)}else a=null;return a};var H4=function(a,b,c){QZ.call(this,b,c);this.g=a;this.data=null;this.Ya=!1};V(H4,QZ);H4.prototype.Ud=function(){MEa(this)};H4.prototype.refresh=function(a){var b=pF(this.request.clone());a&&lx(b,a);return NEa(this,b)};var MEa=function(a){a.data===null&&NEa(a,a.request).then(function(){},function(b){b=b.na;a.md(new J_(b,b.Qc()))})},NEa=function(a,b){return a.g.get(b).then(function(c){a.ob(c.la);var d;a.Ya=(d=c.Ya)!=null?d:!1;a.Ta([c.response],!1)})};
H4.prototype.fc=function(){var a=this.data||new wF,b;return VZ(new j4(a,this.ra()),this.Ya).setStatus((b=a.ka())!=null?b:6)};H4.prototype.Ac=function(a){this.data=a;return!0};var vx=function(a,b,c){KZ.call(this,function(e){var f=oF(e).join(",");N(e,3)&&(f.length&&(f+="|"),f+="cachedOnly");N(e,4)&&(f.length&&(f+="|"),f+="networkOnly");return f},function(e){return new H4(d.h,d.A,e)});var d=this;this.A=a;this.h=b;this.D=c;this.ma=new bi;this.ma.listen(this.h,"t",function(e){d.Ta([e.Sa()],!1)})};V(vx,KZ);var OEa=function(a,b){return zra(a.D,b)};
vx.prototype.sync=async function(a,b){b=b===void 0?0:b;a=a.clone();a=S(a,4);a=S(a,3);b=b?Date.now()-b:0;var c=this.h,d=c.get;var e=a.clone();e=H(e,3,!0);c=(await d.call(c,e)).response;(!b||!nE(c,4)||Ug(gq(c,4))<b)&&await this.h.get(pF(a.clone()))};var zx=function(a){this.g=a;this.value=void 0};zx.prototype.get=function(){var a;return(a=this.value)!=null?a:this.value=this.g()};var Tfa=function(a,b,c,d){a.ra()!==1&&a.ra()!==6&&a.ra()!==2||b.update(7).catch(function(g){ok("Failed to update from AccountAndUserSettingsUpdateEvent",Zn(g),"warning")});a=a.Sa().Nd();var e;(b=a==null?void 0:(e=a.getMetadata())==null?void 0:C(e,2))&&c(b);var f;d&&(a==null?0:(f=Q(a,nv,1))==null?0:C(f,11))&&PEa(d,a)};var I4=function(a,b){this.tb=a;this.lc=b;this.wc=!0;this.qg=!1;this.la=0;this.ql=1},J4=function(a,b){(a.wc=b)||a.tc()};l=I4.prototype;l.yc=function(a){this.ql=a};l.Hb=function(){return this.ql};l.zj=function(a,b){if(this.Rc(a)===5)throw Error("Xb");for(var c=[],d=q(this.Xb()),e=d.next();!e.done;e=d.next())e=e.value,K4(this.tb,a,e.getItem())&&c.push(e);this.lc.sort(a,c,b);return c};l.getSize=function(){return this.Xb().length};
l.update=function(a){var b=this.kc(a.h),c=this.kc(a.g);if(!b&&!c)return!1;b&&this.Hc(a.h);c&&this.oe(a.g);return!0};l.Rc=function(a){return this.wc&&this.qg?QEa(this.tb,a)?1:5:5};l.cf=function(){this.qg=!0};l.kc=function(a){return!!a&&this.wc};l.ob=function(a){this.la=a};l.ra=function(){return this.la};var L4=function(a,b,c,d,e,f){f=f===void 0?"":f;I4.call(this,a,b);var g=this;this.A=c;this.nextPageToken=f;this.U=[];this.g={};this.request=w3(c,d,!0);this.cacheKey=y3(c,d);this.h=!e;REa(this,e);this.j=function(h,k){return g.lc.compare(g.request,h,k)}};V(L4,I4);l=L4.prototype;l.X=function(){return this.request};l.ke=function(){return this.cacheKey};
l.oe=function(a){var b=this.g[a.getId()];b&&this.Hc(b);Xa(this.U,a,this.j);this.g[a.getId()]=a;a.count++;this.U.length>this.request.Ia()&&(this.Hc(Ca(this.U)),this.h=!1)};l.Hc=function(a){Za(this.U,a,this.j);ih(this.g,a.getId());a.count--};l.tc=function(){this.U.forEach(function(a){a.count--});this.U=[];this.g={}};l.Xb=function(){return this.U};l.Rc=function(a){var b;if(b=this.A.equals(this.request,a,!0))a=a.za(),b=this.request.za(),b=Ax(b,a);return b?this.h?1:6:5};
l.zj=function(a,b){if(this.Rc(a)===5)throw Error("Xb");b=b?Math.min(b,this.U.length):this.U.length;return Sa(this.U,0,b)};l.kc=function(a){if(!I4.prototype.kc.call(this,a)||!K4(this.tb,this.request,a.getItem()))return!1;if(this.h||N(this.request,48))return!0;var b=Ca(this.U);return!!b&&this.j(a,b)<=0};l.Ye=function(){return this.h?!1:!0};l.getType=function(){return"CacheHintCorpusCache"};
l.Ka=function(a,b){var c=this,d=Ca(this.U);!this.h&&d&&Ga(a,function(e){return e.getId()===d.getId()})&&(b?(this.Hc(d),REa(this,Ca(a))):this.h=!0);$a(a,function(e){c.update(y0(e))})};var REa=function(a,b){b&&K4(a.tb,a.request,b.getItem())&&a.oe(b)};var M4=function(a,b,c,d){this.M=a;this.A=b;this.h=c;this.j=d},HA=function(a,b){return(b=a.h.get(b))?(b=b.clone(),SEa(a.j,[b.getItem()],a.M.Re()),b):null};M4.prototype.g=function(a){return(a=HA(this,a))?a.getItem():null};var N4=function(a,b){var c={};b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=HA(a,d);e&&(c[d]=e)}return c};M4.prototype.Lc=function(a){return ch(N4(this,a),function(b){return b.getItem()})};var O4=function(a,b){b=w3(a.A,b);return a.h.query(b).map(function(c){return c.clone()})};
M4.prototype.query=function(a){return O4(this,a).map(function(b){return b.getItem()})};M4.prototype.getSize=function(){return this.h.Xb().size};
var TEa=function(a){var b=new Set;a=q(a.h.Xb().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=q(Oz(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||C(e,11));(d=Q(c,nv,17))&&b.add(d.getId()||C(d,11));(d=Q(c,nv,47))&&b.add(d.getId()||C(d,11));(d=Q(c,nv,91))&&b.add(d.getId()||C(d,11));(c=Q(c,nv,95))&&b.add(c.getId()||C(c,11))}return b.size};var P4=function(a){Yg.call(this);this.A=a;this.id=Ot();this.j=this.data=this.request=null;this.g=new Set};V(P4,Yg);P4.prototype.getId=function(){return this.id};P4.prototype.X=function(){return this.request};var UEa=function(a,b){a.j||(a.j=b)};P4.prototype.jf=function(a){VEa(this,a,!0)};
var VEa=function(a,b,c){var d=[].concat(r(b.za()));d.sort();b.fh(d);if(a.request)a:{d=a.request.za();var e=b.za();if(Qa(d)&&Qa(e)&&d.length==e.length){var f=d.length;for(let g=0;g<f;g++)if(d[g]!==e[g])break a}}WEa(a,b,c);Np(a.request,b)?a.data&&a.A(a.data):(c=a.request,a.request=b,a.j(c,b))},WEa=function(a,b,c){var d=new Set,e=b.ta().filter(function(g){var h=a.g.has(g);h&&d.add(g);return!h});if(c&&d.size!==a.g.size){c=q(a.g.values());for(var f=c.next();!f.done;f=c.next())if(f=f.value,!d.has(f)){a.g.delete(f);
let g;(g=a.data)==null||delete g.response[f]}}e.sort();b.Wb(e)},XEa=function(a,b){if(a.request&&a.g.size)for(var c=q(a.g.values()),d=c.next();!d.done;d=c.next())b.response[d.value]=null;c=!1;if(a.data)if(a.data.R()!==b.R()||Object.values(a.data.response).length!==Object.values(b.response).length)c=!0;else{d=q(Object.entries(b.response));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;if(a.data.response[e]&&f){if(!Np(a.data.response[e],f)){c=!0;break}}else if(!!a.data.response[e]!==
!!f){c=!0;break}}}else c=!0;c&&(a.data=b,a.A(a.data))};P4.prototype.h=function(a){var b;!this.g.has(a)&&((b=this.request)==null?0:b.ta().includes(a))&&(this.g.add(a),VEa(this,this.request.clone(),!1))};var Q4=function(a){Yg.call(this);var b=this;this.H=a;this.D=new Set;this.B=this.j=this.g=this.F=this.A=null;this.K=!1;this.he=new P4(function(c){b.A=c;var d;b.F=(d=c.R())!=null?d:null;YEa(b)});uT(this,function(){b.he.dispose();b.g&&b.g.dispose()});uT(this.he,function(){b.dispose()})};V(Q4,Yg);var ZEa=function(a,b){a.B=b;a.g&&b.Jm(a.g)};Q4.prototype.jf=function(a){var b=this;this.B.bp.then(function(){$Ea(b,a,!0)})};
var $Ea=function(a,b,c){if(!a.isDisposed()){b.ta(tu).sort();var d=a.B.isTeamDrive,e=b.ta().filter(function(g){return d(g)}),f=null;e.length>0&&(f=cla((new aQ).Wb(e).fh(b.za()),b.G()));aFa(a,f);Np(b,a.he.X())?c&&a.A&&a.H(a.A):a.he.jf(b)}};Q4.prototype.h=function(a){if(!this.isDisposed()){var b;if(!this.D.has(a)&&((b=this.he.X())==null?0:b.ta().includes(a))){this.D.add(a);this.he.h(a);let c,d;b=(c=this.g)==null?void 0:(d=c.X())==null?void 0:d.ta();this.g&&(b==null?0:b.includes(a))&&this.g.h(a)}}};
var YEa=function(a){var b=a.A,c=a.he.X();c&&$Ea(a,c,!1);b&&(a.K&&(a.F===1&&a.j?b.setStatus(a.j):b.setStatus(a.F)),a.H(b))},aFa=function(a,b){if(b===null)a.g&&(a.g.dispose(),a.g=null,a.j=null);else{var c=!1;if(!a.g){c=!0;a.g=new P4(function(e){var f;a.j=(f=e.R())!=null?f:null;YEa(a)});let d=a.B.Jm;d(a.g)}Np(b,a.g.X())||(a.j=6,a.g.jf(b));if(c)for(b=q(a.D),c=b.next();!c.done;c=b.next())a.g.h(c.value)}};var bFa=function(a,b){Yg.call(this);var c=this;this.B=b;this.h=new Map;this.g=new Map;this.A=null;this.j=new Q4(function(d){if(!c.isDisposed()){c.h.clear();d=q(Object.entries(d.response));for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;var g=f.next().value;f=c.h;var h=f.set,k;if(g){var m=k=void 0,p=new uH,t=g.J();p=E(p,1,t);t=gq(g,75);p=O(p,2,t).setTitle(g.Fa());t=(m=g.jh())!=null?m:0;m=O(p,4,t);p=F(g,76);m=H(m,6,p);p=g.mh();m=H(m,7,p);p=F(g,7);m=H(m,8,p);p=D(g,140);m=E(m,
9,p);p=g.td();m=E(m,10,p);p=D(g,21);m=E(m,11,p);p=$H(g);m=E(m,12,p);p=U(g,50,B(tu));if((p==null?void 0:p.length)>0){t=p;p=new Bu;for(let w=t,A=0;A<w.length;A++)t=Kpa(w[A]),Lpa(p,t);p=le(p);I(m,5,p)}R(g,72)&&(p=m,t=ZH(g),E(p,12,t));if(p=hp(g,sH,73))p=aI(g),p=T(p,3);p&&(p=m,g=(k=aI(g))==null?void 0:F(k,3),H(p,13,g));k=new vH;k=I(k,1,m)}else k=null;h.call(f,e,k)}c.B()}});this.Da(this.j);R4(a,this.j);this.fields=[].concat(r(Z0.values())).map(function(d){return tta.get(d)}).filter(function(d){return!!d}).sort()};
V(bFa,Yg);
var cFa=function(a,b){return Promise.resolve(a).then(function(c){return new bFa(c,b)})},dFa=function(a,b){var c=b.wl;b=b.parentId;for(var d=0,e=!1,f=!1,g=q(a.g.entries()),h=g.next();!h.done;h=g.next()){var k=q(h.value);h=k.next().value;k=k.next().value;h===b?(e=!0,f=k.has(c)):(k.delete(c),k.size===0&&(a.g.delete(h),a.h.delete(h),d++))}return f||b===null?d>0:(e||a.g.set(b,new Set),a.g.get(b).add(c),!0)},S4=function(a,b){var c;dFa(a,{wl:b.getId(),parentId:(c=CH(b)[0])!=null?c:null})&&eFa(a)},eFa=function(a){a.A||
(a.A=Promise.resolve().then(function(){var b=UP((new $t).Wb([].concat(r(a.g.keys()))),a.fields);a.j.jf(b);a.A=null}))},fFa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=CH(c)[0];d?a.h.has(d)&&(d=a.h.get(d),d===null?S(c,156):BI(c,d)):S(c,156)}};var U4=function(a,b,c){c=c===void 0?!1:c;Yg.call(this);var d=this;this.context=a;this.il=c;this.Ub=new Map;this.nc=new Set;this.bc=6;this.Wh=!0;this.la=0;this.qe=null;this.jm=!1;this.I=a.ia(b);this.ma=new bi(this);this.Da(this.ma);uT(this,function(){T4(d,6);d.ob(0);d.ii();for(var e=q(d.Ub.values()),f=e.next();!f.done;f=e.next()){let g;(g=f.value)!=null&&g.count--}d.Ub.clear()})};V(U4,Yg);l=U4.prototype;l.cb=function(a){this.nl(a);this.nc.add(a);this.resize(!0);this.xe(a)};l.nl=function(){};
l.Gb=function(a){this.nc.delete(a);this.nc.size!==0||this.Hj()?this.resize(!1):this.dispose()};l.ra=function(){return this.la};l.ob=function(a){this.la=a};
var T4=function(a,b){b===6&&a.Wh||(a.Wh=!1,a.bc=b)},W4=function(a,b,c){var d;if(Array.isArray(c)){for(d=0;d<c.length;d++)c[d]=c[d].clone();d=c}else{d=[];for(var e=q(Object.entries(c)),f=e.next();!f.done;f=e.next()){var g=q(f.value);f=g.next().value;if(g=g.next().value)g=g.clone(),c[f]=g,d.push(g)}}c=b.filter(function(h){return Z0.has(h)});V4(a.context.fa(),d,b);c.length&&(a.qe?fFa(a.qe,d):gFa(a));d.forEach(function(h){ev(a.context.Oi,h,new Set(b));if(ZH(h)){var k=vr(h);if(rA(h)){if(k){var m=k;k=F(k,
13);m=H(m,12,k);Gr(Hr(m,!1),!1)}}else jl(h)?k&&(m=H(k,3,!1),H(m,64,!1)):k&&Jr(H(k,42,!1),!1)}yr(h)})};U4.prototype.getSize=function(){return this.Ub.size};var gFa=function(a){a.jm||(a.jm=!0,cFa(a.context.jd.promise,function(){a.Vf()}).then(function(b){if(a.isDisposed())b.dispose();else{a.qe=b;a.Da(a.qe);b=q(a.Ub.values());for(var c=b.next();!c.done;c=b.next())(c=c.value)&&S4(a.qe,c.getItem())}}).catch(function(b){ok("Could not get LocationTracker",Zn(b),"warning")}))};
U4.prototype.Ka=function(a,b,c){hFa(this,a,b,c,!0)};var hFa=function(a,b,c,d,e){e=e===void 0?!0:e;if(!a.isDisposed()&&a.Fm()){var f=!1;b=q(b);for(var g=b.next();!g.done;g=b.next())g=y0(g.value),f=a.Ac(g,!0)||f;c?c=!1:(c=a.bc,T4(a,1),c=c!==1);f=c||f;d&&(e?a.ob(a.cj(d)):a.ob(d));a.Vl();f&&a.Vf()}};U4.prototype.cj=function(a){a===1&&this.ra()!==0&&(a=6);return a};U4.prototype.Fm=function(){return!0};U4.prototype.Vl=function(){};
var X4=function(a,b){var c=!1;b.forEach(function(d){c=a.Ac(d)||c});c&&a.Vf();return c};
U4.prototype.Ac=function(a,b){b=b===void 0?!1:b;if(this.isDisposed())return!1;var c=a.g,d=a.id,e=(a=a.h)&&this.kc(a,b),f=c&&this.kc(c,b);(d=this.Ub.get(d))?(b||d.j||(e?a&&a!==d&&Is(this.context.N,179174018):iFa(this,"Updating existing item but old wrapper did not match")),a=d,e=!0):(a=null,e=!1);if(!e&&!f)return!1;if(e)if(f){if(c===d)return!1;if(b=this.Ai(a,c)){a.count--;this.Ub.set(c.getId(),c);c.count++;var g;(g=this.qe)==null||S4(g,c.getItem())}}else{if(g=a,b=this.Hc(g))this.il?jFa(this,g.getId()):
(g.count--,this.Ub.delete(g.getId())),(c=this.qe)!=null&&(g=g.getItem(),dFa(c,{wl:g.getId(),parentId:null})&&eFa(c))}else if(b=this.oe(c)){this.Ub.set(c.getId(),c);c.count++;let h;(h=this.qe)==null||S4(h,c.getItem())}return b};var kFa=function(a,b){var c=a.Ub.get(b);c&&(a.Ub.delete(b),c.count--)},jFa=function(a,b){if(a.il){let c=a.Ub.get(b);c&&c.count--;a.Ub.set(b,null)}};l=U4.prototype;l.Vf=function(){var a=this;this.ml();this.nc.forEach(function(b){a.xe(b)})};l.ml=function(){};
l.xe=function(a){var b=SZ(Y4(this.context),a);this.Ul(b)||(b=this.fc(b),Y4(this.context).xe(a,b))};l.Ul=function(){return!1};l.md=function(a){var b=this;T4(this,3);this.nc.forEach(function(c){Y4(b.context).md(c,a)})};l.Hj=function(){return N(this.context.C,97)?!0:!1};var iFa=function(a,b){var c=tL(Vn(Un(new Rn,2),16));a.context.dispatchEvent(new t0(new fn(b,c)))};var oA=function(a,b,c,d,e,f,g){this.request=a;this.C=b;this.h=c;this.g=d;this.N=f;this.lf=g===void 0?!1:g;this.j=!1;this.I=e==null?void 0:e.ia("sync.query.BatchFindByIdsRunner");this.va=eu(Sp(this.C,Tp,4))};oA.prototype.run=function(){if(!this.j)if(this.j=!0,this.request.ta().length===0)this.g.Kg([]);else if(this.va=eu(Sp(this.C,Tp,4)),this.va===1)lFa(this);else{let a=mFa(this);this.va===2&&lFa(this,a)}};
var nFa=function(a,b){var c,d,e=(d=(c=a.N)==null?void 0:dq(c,106041))!=null?d:void 0;(c=e==null?void 0:g3(e))!=null&&(b=Q2(R2(c.yb(9),s_(a.va)),b),a=a.request.ta().length,K(b,7,a));return e},mFa=function(a){for(var b=nFa(a,1),c=[],d=q(a.request.ta().entries()),e=d.next();!e.done;e=d.next()){e=q(e.value);let f=e.next().value,g=e.next().value,h=bla(ala(f),a.request),k={lf:a.lf};e=a.h.then(function(m){return m.route(h,k)}).then(function(m){return void oFa(a,m,[g])}).catch(function(m){var p=co(m);if(p.na.h()===
5||p.na.je()===4){let A;(A=a.I)==null||A.info("Deleting "+g+" due to: "+p.message);a.g.Bj(g)}else a.g.handleError(p);a.g.Kg([g]);var t;m=(t=co(m).na.Id())!=null?t:500;var w;b==null||(w=g3(b))==null||kE(w,4,m)});c.push(e)}Promise.all(c).then(function(){return void(b==null?void 0:v_(b))}).catch(function(){ok("executeGenoaRequests: one of "+c.length+" Promises failed",Error("Yb"),"warning")});return b},lFa=function(a,b){var c=nFa(a,2);b&&(c==null||h2(c,b));b=a.request.ta();var d=function(f,g){if(a.va===
1)oFa(a,f,g,c);else{let h;(f=f==null?void 0:(h=f.Sa())==null?void 0:Ce(h,19,As))&&f.forEach(function(k){var m;k=(m=Rl(k,8))!=null?m:2;var p;c!=null&&(p=g3(c))!=null&&kE(p,6,k)})}},e=[];for(let f=0;f<b.length;f+=50){let g=b.slice(f,f+50),h=a.request.clone().Wb(g),k={lf:a.lf},m=a.h.then(function(p){return p.route(h,k)}).then(function(p){return void d(p,g)}).catch(function(p){p=co(p);if(a.va===1)a.g.handleError(p),a.g.Kg(g);else{var t;(t=a.I)==null||t.info("Driveway Darklaunch error: "+p.message)}var w;
t=(w=Aq(p.na,26))!=null?w:2;var A;c!=null&&(A=g3(c))!=null&&kE(A,5,t)});e.push(m)}Promise.all(e).then(function(){return void(c==null?void 0:v_(c))}).catch(function(){ok("executeDrivewayRequests: one of "+e.length+" Promises failed",Error("Zb"),"warning")})},oFa=function(a,b,c,d){d=d===void 0?null:d;var e,f=(e=b.Sa())==null?void 0:e.Ma(),g;if(b=(g=b.Sa())==null?void 0:Ce(g,19,As)){let h,k=(h=d)==null?void 0:g3(h);b.forEach(function(m,p){var t=Rl(m,8),w=x(m,4);if(t===5){let J;(J=a.I)==null||J.info("Deleting "+
p+" due to: "+w);a.g.Bj(p)}else p=new Rn,t=K(p,26,t),a.g.handleError(co(t,w));var A;m=(A=Rl(m,8))!=null?A:2;k!=null&&kE(k,6,m)})}f&&(f.forEach(function(h){Tx(h,1)}),a.g.Ql(f));a.g.Kg(c)};var $4=function(a,b,c,d,e){oh.call(this);var f=this;this.request=a;this.C=b;this.ea=c;this.zb=d;this.ik=[];this.ki=[];this.items={};this.Oc=e||a;this.Z=new py;this.de=new Set;this.Zo=bca(function(){try{let w=f.ki;f.ki=[];let A=f.ik;f.ik=[];let J=[];for(var g=q(w),h=g.next();!h.done;h=g.next()){let Z=h.value,ha=Z4(f.zb,Z)?null:Z;ha&&J.push(Z);f.items[Z.getId()]=ha}if(Oq(Xr(f.C))){let Z=f.ea.Ha;for(var k=q(J),m=k.next();!m.done;m=k.next()){let ha=m.value,Da=Z.g(DA(ha));Da&&Tu(ha,CH(Da).slice())}}f.ea.Ka(J,
1,f.Oc,!0,void 0,1);g=[];for(var p=q(A),t=p.next();!t.done;t=p.next()){let Z=t.value;g.push(MI(LI(new KI,Z)));f.items[Z]=null;f.dispatchEvent(new Asa(Z))}f.ea.hb(g);f.hd()}catch(w){ok("b/377634900 handleQueue exception",w instanceof Error?w:Error("$b",{cause:w}),"severe")}})};V($4,oh);l=$4.prototype;l.getPromise=function(){return this.Z.promise};l.handleError=function(a){var b=new J_(a.na,a.na.Qc());this.ea.Bg(this.request,b);this.dispatchEvent(b);this.Z.reject(a)};
l.Ql=function(a){this.ki.push.apply(this.ki,r(a))};l.Bj=function(a){this.ik.push(a)};l.Kg=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())this.de.add(b.value);this.Zo()};l.hd=function(){this.isCompleted()?(this.ea.Ka([],1,this.Oc,!1,void 0,1),this.dispatchEvent(P_),this.Z.resolve(this.items)):this.dispatchEvent(K_)};l.isCompleted=function(){return this.de.size>=this.request.ta().length};var a5=function(a,b,c,d,e,f,g,h,k){k=k===void 0?!1:k;oh.call(this);this.request=a;this.I=c.ia("sync.query.ViewCacheFindByIdsRunner");this.g=new $4(a,b,d,g,h);pFa(this);this.h=new oA(a,b,f,this.g,c,e,k)};V(a5,oh);a5.prototype.run=function(){this.h.run();return this.g.getPromise()};
var pFa=function(a){fA(a.g,K_,function(b){a.dispatchEvent(b);a.I.info("ViewCacheFindByIdsRunner change "+a.request.ta())});fA(a.g,P_,function(b){a.dispatchEvent(b);a.I.info("ViewCacheFindByIdsRunner complete "+a.request.ta())});fA(a.g,O_,function(b){a.dispatchEvent(b);a.I.info("ViewCacheFindByIdsRunner not found "+a.request.ta())});fA(a.g,Dsa,function(b){a.dispatchEvent(b);a.I.Ba("ViewCacheFindByIdsRunner error "+a.request.ta(),co(b.error))})};var b5=function(a,b){U4.call(this,a,"drive.ds.sync.cache.IdViewCache",!0);this.request=b;this.g=null;this.h=0;this.j=v3(this.request);this.M=a.M};V(b5,U4);
b5.prototype.refresh=function(){var a=this;if(this.g)return this.g;T4(this,6);if(N(this.request,5))return this.h=this.request.ta().length,T4(this,1),Promise.resolve();var b=this.Wh?!j1(this.M,this.request.za()):!1,c=[];this.request.ta().forEach(function(e){if(e!=="root"&&e!==a.context.Uc()){var f=a.Ub.get(e),g=(f==null?void 0:f.getItem())||null;if(f=!f||g&&nl(g)!==1||b)g=g&&Q(g,Jx,81),f=!(g&&$k(g,2));f&&c.push(e)}});this.h=this.request.ta().length-c.length;if(c.length===0)return this.Ka([],!1),Promise.resolve();
var d=this.request.clone();d.Wb(c);d=new a5(d,this.context.C,this.context.S,this.context.fa(),this.context.N,Promise.resolve(D4(this.context)),this.context.zb,this.request);if(this.context.gb().g()){let e=this.getSize()>0;T4(this,e?1:2)}return this.g=qFa(this,d).finally(function(){a.g=null})};var qFa=function(a,b){var c=function(d){jFa(a,d.id)};a.ma.listen(b,O_,c);return b.run().then(function(){}).finally(function(){a.ma.bg(b,O_,c)})};l=b5.prototype;
l.wh=function(a){var b;if((b=this.context.pb.equals(a,this.request,!0))&&!(b=j1(this.M,a.za()))){a:{b=this.M;var c=this.request.za(),d=a.za();a=new Set;c=q(c);for(var e=c.next();!e.done;e=c.next())e=e.value,b.ne(e)||a.add(e);d=q(d);for(c=d.next();!c.done;c=d.next())if(c=c.value,!b.ne(c)){if(!a.has(c)){b=!1;break a}a.delete(c)}b=a.size===0}b=b&&this.Wh}return b?!0:!1};
l.fc=function(a){for(var b={},c=q(this.Ub.entries()),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;d=this.j&&d===this.context.Uc()?"root":d;b[d]=(e==null?void 0:e.getItem())||null}c=XZ(new wo(b,this.ra()),this.h).setStatus(Lp(this.context.C)&&ml([].concat(r(this.Ub.values())))?6:this.bc);W4(this,a.za(),b);return c};l.resize=function(){};l.X=function(){return this.request};
l.kc=function(a){a=this.j&&a.getId()===this.context.Uc()?"root":a.getId();return Ja(this.request.ta(),a)};l.oe=function(){return!0};l.Hc=function(){return!0};l.Ai=function(){return!0};l.ii=function(){};var c5=function(){this.j=void 0;this.incompleteSearch=!1;this.h=[];this.g=!0},rFa=function(a){var b=new c5;if(Q(a,VO,7)||F(a,8)||cC(a,18)>0){var c=Q(a,VO,7);b.g=!1;b.j=c;let d;c=(d=F(a,8))!=null?d:!1;b.g=!1;b.incompleteSearch=c;a=U(a,18,B());b.g=!1;b.h=a}return b};c5.prototype.ib=function(){return this.g};var d5=function(a,b,c,d,e,f,g){oh.call(this);this.S=a;this.ha=b;this.C=c;this.F=d;this.request=e;this.maxItems=0;this.D=!1;this.nextPageToken="";this.g=new Set;this.h=0;this.B=null;this.la=1;this.j=void 0;this.H=f||!1;this.K=g||!1;this.V=this.jk(e)};V(d5,oh);l=d5.prototype;l.hm=function(a,b){if(!this.D&&b){this.D=!0;this.nextPageToken=b;b=0;a=q(a);for(var c=a.next();!c.done;c=a.next())c=c.value,this.g.has(c)&&b++,this.g.add(c);this.h=b}};
l.gm=async function(a,b,c,d){if(!this.D)return this.D=!0,this.nextPageToken=c,this.la=d,b.ib()||this.dispatchEvent(new N_(b)),sFa(this,a.map(function(e){return e.clone()}))};l.Vc=function(){return!this.D||this.nextPageToken!==""};l.Pf=function(){return!1};l.Vg=async function(a){this.maxItems=a;this.g.size<this.maxItems&&!this.Wc()&&this.Vc()?await tFa(this):await uFa(this)};var uFa=async function(a){if(a.Wc()){var b;a.j=(b=a.j)!=null?b:new py;await a.j.promise}};
d5.prototype.cancel=function(){this.B&&(this.log("Canceling query runner request "+this.B+". Results will not be processed."),this.B=null)};d5.prototype.Va=function(){return this.g.size};
var tFa=async function(a){var b=Math.min(a.maxItems-a.g.size+a.h,Ex(a.maxItems)-a.g.size,1E3);a.log("Get more items called with limit of "+b);var c=new tn;b=K(c,1,b);b=await vFa(a,b);return sFa(a,b)},vFa=async function(a,b){var c=a.V.clone();if(a.K){var d=ix(c.G()||new P,2);qn(c,d)}c=un(c);c=E(c,2,a.nextPageToken);c=I(c,1,b);a.D=!0;d=Sh();a.B=d;var e=await a.ha;try{let k=await e.route(c,{requestId:d});if(a.Wc()){a.B=null;var f=k.Sa();var g;a.nextPageToken=(g=k.rb())!=null?g:"";let m=rFa(f);m.ib()||
a.dispatchEvent(new N_(m));var h=f.Ma()}else h=[];return h}catch(k){return a.handleError(b,k)}};d5.prototype.handleError=async function(a,b){if(!this.Wc())return[];b=co(b);this.B=null;if(b.na.h()===5)return[];if(b.na.h()===10){var c=Rl(a,1,1E3)/2;c=Math.ceil(c-2E-15);if(c>1)return b=vFa,a=a.clone(),a=K(a,1,c),b(this,a)}a=new J_(b.na,b.na.Qc());this.Uk(a);e5(this,b);this.dispatchEvent(a);throw b;};
var sFa=async function(a,b){if(a.isDisposed())e5(a);else{var c=b.filter(function(e){var f=R(e,1)?!a.g.has(e.J()):!1;f&&a.g.add(e.J());return f});a.h+=b.length-c.length;b=q(c);for(var d=b.next();!d.done;d=b.next())d=d.value,Ys(d,82)||Tx(d,a.H?2:1);b=[];c=q(a.Bm(c));for(d=c.next();!d.done;d=c.next())d=d.value,d=NI(LI(new KI,d.J()),d),b.push(d);b.length&&a.dispatchEvent(new L_(K_,b));if(a.g.size<a.maxItems&&a.nextPageToken)return tFa(a);e5(a);a.dispatchEvent(P_)}};l=d5.prototype;l.Bm=function(a){return a};
l.Uk=function(){};l.Wc=function(){return!this.isDisposed()&&this.B!==null};l.X=function(){return this.request};l.jk=function(a){a=a.clone();var b;if(b=this.H)b=zq(this.C,Tp,4),b=bl(b,60)===0;b&&H(a,46,!0);return a};var e5=function(a,b){a.j&&(b?a.j.reject(b):a.j.resolve(),a.j=void 0)};d5.prototype.log=function(a){this.S.ia("sync.query.QueryRunner").info(a)};var f5=function(a,b,c){d5.call(this,a.S,D4(a),a.C,a.fa().Ha,b,void 0,c);this.context=a};V(f5,d5);f5.prototype.Bm=function(a){a=wFa(this.context.zb,a);var b=this.context.fa(),c=b.Ka,d=this.request,e=this.Vc(),f=this.la;this.la=void 0;c.call(b,a,1,d,e,void 0,f);return a};f5.prototype.Uk=function(a){this.context.fa().Bg(this.request,a)};
f5.prototype.jk=function(a){a=d5.prototype.jk.call(this,a);var b,c,d,e=(d=(b=this.C)==null?void 0:(c=XJ(b))==null?void 0:N(c,47))!=null?d:!1;b=a;var f=[].concat(r(uz(b)),r(qz(b)));if(sz(b).length===0&&f.length>0){c=new Set;d=!0;f=q(f);for(var g=f.next();!g.done;g=f.next()){g=this.F.g(g.value.getValue());if(!g){d=!1;break}c.add(ZH(g)||null);if(c.size>1){d=!1;break}}if(d&&c.size===1&&(c=q(c.values()).next().value,c!=null&&!ka(c))){f=this.F.g(c);if(d=f!=null)d=vr(f),d=$k(d,44);d&&rn(sn(b,[c]),2)}}if(e&&
(e=a,c=[].concat(r(uz(e)),r(qz(e))),sz(e).length===0&&c.length>0)){b=!0;c=q(c);for(d=c.next();!d.done;d=c.next()){d=this.F.g(d.value.getValue());if(!d){b=!1;break}if(ZH(d)){b=!1;break}}b&&H(e,66,!1)}xFa(this,a);return a};var xFa=function(a,b){if(uz(b).some(function(c){return(c=a.F.g(C(c,1)))&&$k(c,108)})){let c=b.G();c||(c=new P,qn(b,c));Vt(c,937)}};var yFa=function(a,b,c,d){this.context=a;this.M=b;this.h=c;this.g=d},CFa=function(a,b){b&&(a.log("Processing potential rejoin for TD: "+b),zFa(a,b),AFa(a),BFa(a,b))},zFa=function(a,b){var c=rn(Cja(sn(new pn,[b]),a.M.nb()),1),d=Vt(new P,306);qn(c,d);a.context.lb.pause();var e=new f5(a.context,c);e.Vg(5E3).then(function(){e.dispose();a.context.lb.resume()}).catch(function(f){ok("refreshSubscribedTdItems tdId:"+b+" failed",Zn(f),"warning")})},AFa=function(a){var b=fh(a.h).filter(function(d){return d instanceof
b5}),c=new Set;b.forEach(function(d){d.X().ta().forEach(function(e){a.g.get(e)||c.add(e)})});b=Vt(new P,310);a.log("Re-querying missing find-by-ids:"+c.size);g5(a,[].concat(r(c)),b).catch(function(d){ok("Could not refresh "+c.size+" missing IDs",Zn(d),"warning")})},BFa=function(a,b){var c=[];DFa(a.context.fa().sf,b).forEach(function(d){bh(a.h,function(e){Np(e.X(),d)&&c.push(e)})});Ua(c);c.length>0&&(a.context.lb.pause(),c.forEach(function(d){d=y3(a.context.pb,d.X(),3);a.log("Refreshing "+b+" cache: "+
d)}),Promise.all(c.map(function(d){return d.refresh().then(null,function(){})})).catch(function(){}).finally(function(){return void a.context.lb.resume()}))},g5=function(a,b,c,d,e,f,g){d=d===void 0?!1:d;g=g===void 0?!1:g;b=b.filter(function(k){if(typeof k!=="string"||ka(k))return!1;if(g){let m;k=(m=a.g.get(k))==null?void 0:m.getItem();return!k||nl(k)!==1}return!0});if(b.length===0)return Promise.resolve({});b=VP($ka(UP((new $t).Wb(b),e||a.M.nb())),c);f&&f.length&&Nu(b,11,f);a.context.lb.pause();var h=
EFa(a,b,d);d=h.run();d.then(function(){h.dispose();a.context.lb.resume()},function(){h.dispose();a.context.lb.resume()});return d},EFa=function(a,b,c){return new a5(b,a.context.C,a.context.S,a.context.fa(),a.context.N,Promise.resolve(D4(a.context)),a.context.zb,void 0,c)};yFa.prototype.log=function(a){this.context.S.ia("sync.cache.CacheRefresher").info(a)};var h5=function(a,b){I4.call(this,a,b);this.U=new Map};V(h5,I4);h5.prototype.oe=function(a){this.U.set(a.getId(),a);a.count++};h5.prototype.Hc=function(a){this.U.delete(a.getId());a.count--};h5.prototype.tc=function(){for(var a=q(this.U.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.U=new Map};h5.prototype.Xb=function(){return Array.from(this.U.values())};
var FFa=function(a){var b=[],c=[];a=q(a.U);for(var d=a.next();!d.done;d=a.next()){d=q(d.value);d.next();d=d.next().value;let e=d.g;e===1?b.push(d.getId()):e===2&&c.push(d.getId())}return{Kl:b,Jl:c}};var i5=function(a,b,c,d,e){e=e===void 0?5E3:e;h5.call(this,b,c);this.C=a;this.teamDriveId=d;this.mc=e};V(i5,h5);l=i5.prototype;
l.Rc=function(a){var b=this,c=h5.prototype.Rc.call(this,a);if(c===5)return c;c=uz(a);var d=c.every(function(f){var g=C(f,1),h=b.U.get(g);g=h!=null||b.teamDriveId===g;var k,m=((k=XJ(b.C))==null?0:N(k,18))?h&&(h.g===1||b.Hb()===0):!0;return g&&!f.Qa()&&m});if(c.length>0&&d)return 1;var e;if((e=XJ(this.C))==null?0:N(e,18))return sz(a)[0]===this.teamDriveId&&this.Hb()===0?1:5;a=sz(a);return a.length!==0&&a.includes(this.teamDriveId)?1:5};
l.kc=function(a){var b,c;if(c=h5.prototype.kc.call(this,a)&&!!a)c=a.getItem(),c=C(c,72)===this.teamDriveId;return c&&(((b=XJ(this.C))==null?void 0:N(b,18))||!rA(a.getItem()))};l.Ye=function(){var a;return((a=XJ(this.C))==null?0:N(a,18))?this.Hb()===1:!1};l.X=function(){return rn(sn(new pn,[this.teamDriveId]),2)};l.ke=function(){return null};l.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var j5=function(a,b,c){Yg.call(this);this.context=a;this.g=b;this.Z=null;a=Vt(jx(new P,!1),305);this.request=qn(c.clone(),a);this.ma=new bi(this);this.Da(this.ma)};V(j5,Yg);
j5.prototype.run=function(){var a=this;if(!this.Z){let b=new py;this.Z=b;if(N(this.request,48))return this.g.ob(9),b.resolve(this.g),b.promise;let c=new d5(this.context.S,D4(this.context),this.context.C,this.context.fa().Ha,this.request,!0);this.ma.listen(c,K_,function(d){d=q(d.changes);for(var e=d.next();!e.done;e=d.next())e=e.value.getItem(),a.g.update(y0(new v0(e)))});this.ma.listen(c,P_,function(){if(a.g instanceof L4){var d=a.g,e=!c.Vc();d.h=e}else((d=a.context.C)==null?0:(e=XJ(d))==null?0:N(e,
18))&&a.g instanceof i5?a.g.yc(c.Vc()?1:0):c.Vc()&&J4(a.g,!1);a.g.ob(5);b.resolve(a.g)});this.ma.listen(c,Dsa,function(d){b.reject(Zn(d.error))});c.Vg(this.request.Ia()).catch(function(){})}return this.Z.promise};var k5=function(a,b){h5.call(this,a,b);this.cf()};V(k5,h5);l=k5.prototype;l.Rc=function(a){var b=this,c=h5.prototype.Rc.call(this,a);if(c===5)return c;if(sz(a).length>0)return 5;a=uz(a);return a.length>0?a.every(function(d){return(d=b.U.get(C(d,1)))&&!ZH(d.getItem())&&d.g===1})?1:5:5};l.kc=function(a){return h5.prototype.kc.call(this,a)&&!(a==null?0:ZH(a.getItem()))};
l.zj=function(a,b){for(var c=[],d=q(this.Xb()),e=d.next();!e.done;e=d.next())e=e.value,K4(this.tb,a,e.getItem())&&c.push(e);this.lc.sort(a,c,b);return c};l.X=function(){return new pn};l.ke=function(){return null};l.getType=function(){return"MyDriveCorpusCache"};l.Ye=function(){return!1};var l5=function(a,b,c,d,e){h5.call(this,a,b);var f=this;this.h=d;this.C=e;var g,h;this.g=((h=(g=zo(e))==null?void 0:Rl(g,76))!=null?h:0)>0;A0(c,["aU7Ts","BNEDtc"],function(){return void f.cf()})};V(l5,h5);l5.prototype.Rc=function(a){var b=h5.prototype.Rc.call(this,a);if(b==5)return b;(b=sz(a).length>0)||(hp(a,vz,86)?(b=Q(a,vz,86),b=!!($k(b,3)||$k(b,1)||$k(b,2))):b=!1);return b?5:this.g?(a=uz(a),a.length===0?1:(a=a[0].Ca())&&this.U.get(a)?1:5):(a=GFa(this,a))?a:1};
var GFa=function(a,b){b=uz(b);if(b.length===0)return null;var c=!1;b=b.every(function(g){g=(g=g.Ca())&&a.U.get(g);if(!g||$H(g.getItem())||!ll(g.getItem()))return!1;var h=g.getItem();D(h,46)||g.getItem().J()===a.h()||(c=!0);g=g.getItem();return!F(g,108)});var d,e,f=(e=(d=mC(a.C))==null?void 0:N(d,59))!=null?e:!1;c&&f&&(b=!1);return b?1:5};l5.prototype.kc=function(a){h5.prototype.kc.call(this,a)?this.g?(a=a.getItem(),a=R(a,46)):a=HFa(this,a.getItem()):a=!1;return a};
var HFa=function(a,b){if($k(b,31)||!a.qg)return!0;var c=a.h();return CH(b).some(function(d){var e=a.U.get(d);return d==c||e!=null&&ll(e.getItem())})};l=l5.prototype;l.cf=function(){h5.prototype.cf.call(this);if(!this.g)for(var a=q(this.U),b=a.next();!b.done;b=a.next()){var c=q(b.value);b=c.next().value;c=c.next().value;HFa(this,c.getItem())||(c.count--,this.U.delete(b))}};l.X=function(){return new pn};l.ke=function(){return null};l.getType=function(){return this.g?"LinkedCorpusCache":"SubscribedCorpusCache"};
l.Ye=function(){return!1};var m5=function(a,b){this.A=a;this.S=b;this.B=[];this.h=this.g=null;this.j=[];a=new pn;H(a,48,!0);b=new on;G(b,1,11);G(b,2,2);I(a,2,b);this.D=w3(this.A,a,!0)};m5.prototype.add=function(a){a instanceof l5?this.g=a:a instanceof k5?this.h=a:a instanceof L4?(this.S.ia("sync.cache.CorpusCacheList").info("Adding new cache hint for "+y3(this.A,a.X(),2)),this.B.push(a)):a instanceof i5&&this.j.push(a)};
m5.prototype.remove=function(a){var b=this;if(a instanceof l5)this.g&&(J4(this.g,!1),this.g=null);else if(a instanceof k5)this.h&&(J4(this.h,!1),this.h=null);else if(a instanceof L4){var c=Fa(this.B,function(d){return b.A.equals(d.X(),a.X())});c>=0&&(J4(this.B[c],!1),Ma(this.B,c))}else a instanceof i5&&(c=Fa(this.j,function(d){return b.A.equals(d.X(),a.X())}),c>=0&&(J4(this.j[c],!1),Ma(this.j,c)))};
var IFa=function(a){var b=[];a.g&&b.push(a.g);a.h&&b.push(a.h);Ra(b,Pa(a.B));Ra(b,Pa(a.j));return b},n5=function(a,b){b=b===void 0?!1:b;return a.B.filter(function(c){return a.g&&b?(c=c.X().clone(),S(c,32),S(c,26),!Np(a.D,c)):!0})};m5.prototype.Te=function(){return Pa(this.j)};var JFa=function(a,b){return ED(a.j,function(c){return c.teamDriveId===b})},KFa=function(a,b){b=w3(a.A,b,!0);return n5(a).find(function(c){return a.A.equals(c.X(),b)})};var p5=function(a,b){$g.call(this,o5);this.cache=a;this.changes=b};V(p5,$g);var o5="u";var q5=function(a,b,c){return b.then(function(d){for(var e=new Map,f=q(a.Xb()),g=f.next();!g.done;g=f.next()){g=g.value;var h=g.getId();Ix(g.getItem());e.set(h,tZ(c,new v0(g.getItem()),g.g,"sync.cache.CorpusCachePopulator"))}f=q(d.items);for(g=f.next();!g.done;g=f.next()){g=g.value;h=D(g,2);h=e.get(h)||null;let k=g.getItem();N(g,3)||!k?h&&a.update(new w0(h.getId(),h,null)):(Ix(k),a.update(x0(h,tZ(c,new v0(k),(h==null?void 0:h.g)||0,"sync.cache.CorpusCachePopulator"))))}a.cf();return d.Pq})};var LFa=function(){this.j=[];this.h=this.g=0},MFa=function(a,b){if(!c)var c=b.length;var d=a.g,e=a.h,f=a.j;for(let g=0;g<c;++g){d=d+1&255;e=e+f[d]&255;let h=f[d];f[d]=f[e];f[e]=h;b[g]^=f[f[d]+f[e]&255]}a.g=d;a.h=e};yD(Mx,Lx);Mx.prototype.reset=function(){this.g.reset();this.g.update(this.h)};Mx.prototype.update=function(a,b){this.g.update(a,b)};Mx.prototype.digest=function(){var a=this.g.digest();this.g.reset();this.g.update(this.j);this.g.update(a);return this.g.digest()};var r5=function(){this.blockSize=-1;this.blockSize=64;this.g=[];this.B=[];this.D=[];this.j=[];this.j[0]=128;for(let a=1;a<this.blockSize;++a)this.j[a]=0;this.A=this.h=0;this.reset()};V(r5,Lx);r5.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.g[4]=3285377520;this.A=this.h=0};
var s5=function(a,b,c){c||(c=0);var d=a.D;if(typeof b==="string")for(var e=0;e<16;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;e<16;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(b=16;b<80;b++)c=d[b-3]^d[b-8]^d[b-14]^d[b-16],d[b]=(c<<1|c>>>31)&4294967295;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3],g=a.g[4];for(let m=0;m<80;m++){if(m<40)if(m<20){var h=f^c&(e^f);var k=1518500249}else h=c^e^f,k=1859775393;else m<60?(h=c&e|f&(c|e),k=2400959708):
(h=c^e^f,k=3395469782);h=(b<<5|b>>>27)+h+g+k+d[m]&4294967295;g=f;f=e;e=(c<<30|c>>>2)&4294967295;c=b;b=h}a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+c&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295;a.g[4]=a.g[4]+g&4294967295};
r5.prototype.update=function(a,b){if(a!=null){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.B,f=this.h;d<b;){if(f==0)for(;d<=c;)s5(this,a,d),d+=this.blockSize;if(typeof a==="string")for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){s5(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){s5(this,e);f=0;break}}this.h=f;this.A+=b}};
r5.prototype.digest=function(){var a=[],b=this.A*8;this.h<56?this.update(this.j,56-this.h):this.update(this.j,this.blockSize-(this.h-56));for(var c=this.blockSize-1;c>=56;c--)this.B[c]=b&255,b/=256;s5(this,this.B);b=0;for(c=0;c<5;c++)for(let d=24;d>=0;d-=8)a[b]=this.g[c]>>d&255,++b;return a};var Nx=function(a){this.key=a;this.g=new r5;this.h=new Mx(new r5,ea(a))};Nx.prototype.encrypt=function(a){var b=[];for(var c=0;c<16;c++)b[c]=Math.floor(Math.random()*256);b=fa(b);c=NFa(this,a);return b.concat(c,OFa(this,b,a,!0))};Nx.prototype.decrypt=function(a){var b=OFa(this,a.substring(0,16),a.substring(36),!1);a=a.substring(16,36);var c=NFa(this,b);if(a!==c)throw Error("ac");return b};
var NFa=function(a,b){a=a.h;b=ja(b);a.reset();a.update(b);b=a.digest();return fa(b)},OFa=function(a,b,c,d){a.g.reset();a.g.update(b);a.g.update(a.key);b=new LFa;a=a.g.digest();if(!e)var e=a.length;var f=b.j;for(var g=0;g<256;++g)f[g]=g;g=0;for(var h=0;h<256;++h){g=g+f[h]+a[h%e]&255;var k=f[h];f[h]=f[g];f[g]=k}b.g=0;b.h=0;e=b.g;a=b.h;f=b.j;for(g=0;g<1536;++g)e=e+1&255,a=a+f[e]&255,h=f[e],f[e]=f[a],f[a]=h;b.g=e;b.h=a;if(d){d="";for(e=0;e<c.length/8192;e++)a=ja(c.substring(e*8192,(e+1)*8192)),MFa(b,
a),d+=fa(a);return d}d=[];for(a=0;a<c.length/8192;a++){e=c.substring(a*8192,(a+1)*8192);f=n.Uint8Array?new Uint8Array(e.length):Array(e.length);for(g=0;g<e.length;g++)f[g]=e.charCodeAt(g)&255;MFa(b,f);d.push(f)}if(d.length){for(c=0;c<d.length-1;c++)if(d[c].length!==8192)throw Error("bc");c=(d.length-1)*8192+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=t5(d,e++),f<128?b[a++]=String.fromCharCode(f):f>191&&f<224?(g=t5(d,e++),b[a++]=String.fromCharCode((f&31)<<6|g&63)):f>239&&f<365?(g=t5(d,e++),h=
t5(d,e++),k=t5(d,e++),f=((f&7)<<18|(g&63)<<12|(h&63)<<6|k&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(g=t5(d,e++),h=t5(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(g&63)<<6|h&63));b.length=a;c=b.join("")}else c="";return c},t5=function(a,b){return a[Math.floor(b/8192)][b%8192]};var PFa=function(a,b,c){this.data=a;this.g=b;this.j=c;this.h=!1};var u5=function(a){this.g=new Nx(a)};u5.prototype.encrypt=function(a){return this.g.encrypt(a)};u5.prototype.decrypt=function(a){return this.g.decrypt(a)};u5.prototype.Hl=function(a){var b=this;return a.map(function(c){return b.g.encrypt(c)})};u5.prototype.Bl=function(a){var b=this;return a.map(function(c){return b.g.decrypt(c)})};
var e0={serviceId:"bo5Npd",yl:[ep],methods:{encrypt:Ro({aa:"obYoie",params:[ep],response:ep}),decrypt:Ro({aa:"zVpoTe",params:[ep],response:ep}),Hl:Ro({aa:"NvQmZb",params:[Uo(ep)],response:Uo(ep)}),Bl:Ro({aa:"ZcyxQd",params:[Uo(ep)],response:Uo(ep)})}};var v5=function(a,b){Yg.call(this);this.g=a;this.S=b};V(v5,Yg);v5.prototype.Zg=function(){};v5.prototype.ef=function(){var a=ac.apply(0,arguments),b=this;return new Promise(function(c,d){try{let e=b.g.apply(b,r(a));c(e)}catch(e){c=WT(e);let f;(f=b.S)==null||f.ia("worker.InlineSimpleWorkerClient").Ba("postMessageAsync: "+e,c);ok("Exception in postMessageAsync",c,"warning");d(e)}})};yD(Px,Yg);var w5=function(a){var b=Date.now();if(!(a.lastAccess!=null&&b-a.lastAccess<a.delay)){for(var c;a.g.Va()>0&&(c=y4(a.g),!a.bk(c));)Ox(a);!c&&a.Va()<a.j&&(c=a.ij());c&&(a.lastAccess=b,a.h.add(c));return c}},QFa=function(a,b){a.h.delete(b);a.bk(b)&&a.Va()<a.j?a.g.g.push(b):a.ug(b)},Ox=function(a){for(var b=a.g;a.Va()<a.A;){var c=b,d=a.ij();c.g.push(d)}for(;a.Va()>a.j&&a.g.Va()>0;)a.ug(y4(b))};l=Px.prototype;l.ij=function(){return{}};
l.ug=function(a){if(typeof a.dispose=="function")a.dispose();else for(let b in a)a[b]=null};l.bk=function(a){return typeof a.Oo=="function"?a.Oo():!0};l.contains=function(a){return this.g.contains(a)||this.h.has(a)};l.Va=function(){return this.g.Va()+this.h.size};l.ib=function(){return this.g.Va()===0&&this.h.size===0};l.ya=function(){Px.Fb.ya.call(this);if(this.h.size>0)throw Error("ec");delete this.h;for(var a=this.g;!a.ib();)this.ug(y4(a));delete this.g};var RFa={ci:4,ei:1,Hp:1E4},x5=function(a,b){Px.call(this,0,b.ci);this.B=a;this.options=b;a=b.ei;if(a>this.j)throw Error("dc");this.A=a;Ox(this)};V(x5,Px);x5.prototype.ij=function(){return this.B()};x5.prototype.ug=function(a){a.dispose()};x5.prototype.bk=function(a){return!a.isDisposed()};
var y5=function(a,b){Yg.call(this);var c=this;this.B=a;this.g=new Map;this.j=new px;this.options=Object.assign({},RFa,b);if(this.options.ci<1)throw Error("gc");if(this.options.ei<0)throw Error("hc");if(this.options.ci<this.options.ei)throw Error("ic");this.h=new x5(this.B,this.options);uT(this,function(){c.h.dispose()})};V(y5,Yg);y5.prototype.ef=function(){var a=ac.apply(0,arguments),b=w5(this.h);b?a=this.execute(b,a):(b=new py,this.j.g.push({args:a,Z:b}),a=b.promise);return a};
y5.prototype.Zg=function(a){this.A=a};y5.prototype.execute=function(a,b,c){var d=this;SFa(this,a);this.A&&a.Zg(this.A);b=a.ef.apply(a,r(b));b.catch(function(){}).finally(function(){TFa(d,a);var e=d.h;e.h.delete(a)?(QFa(e,a),e=!0):e=!1;if(e&&(e=d.j,uEa(e),Ca(e.h))){let f=w5(d.h);f&&(e=y4(d.j),d.execute(f,e.args,e.Z))}});c&&c.resolve(b);return b};
var TFa=function(a,b){var c=setTimeout(function(){var d=a.h;if(d.Va()>d.options.ei){if(d.g.Va()===0)throw Error("fc");let e=w5(d);e&&(d.ug(e),QFa(d,e))}a.g.delete(b)},a.options.Hp);a.g.set(b,c)},SFa=function(a,b){a.g.has(b)&&(clearTimeout(a.g.get(b)),a.g.delete(b))};var z5=function(a){fn.call(this,a)};V(z5,fn);var A5=function(a,b,c){c=c===void 0?null:c;Yg.call(this);var d=this;this.cg=a;this.S=b;this.g=c;this.h=new Map;this.j=new Map;this.A=new Set;this.requestId=0;UFa(this);uT(this,function(){d.cg.terminate()})};V(A5,Yg);var UFa=function(a){a.cg.onmessage=function(b){var c=b.data;b=c.result;c=c.id;if(a.A.has(c))a.A.delete(c);else{let d=a.h.get(c)||null;if(!d)throw new fn("Can't locate resolver for id "+c);VFa(d,b)}WFa(a,c)};a.cg.onerror=function(b){a.handleError(b)}};
A5.prototype.timeout=function(a){var b=this.h.get(a)||null;if(b){this.A.add(a);let c="Timed out waiting for worker response for id "+a,d;(d=this.S)==null||d.ia("worker.SimpleWorkerClient").Ba(c);VFa(b,new z5(c))}WFa(this,a)};A5.prototype.handleError=function(a){var b=Error("jc",{cause:a}),c;(c=this.S)==null||c.ia("worker.SimpleWorkerClient").Ba("Error occurred in worker: "+a,b);ok("simpleworkerclient.ts worker.onerror",b,"warning")};
var XFa=function(a,b){if(a.g){let c=setTimeout(function(){a.j.has(b)&&a.timeout(b)},a.g);a.j.set(b,c)}},WFa=function(a,b){a.h.delete(b);var c=a.j.get(b);c&&(clearTimeout(c),a.j.delete(b))};A5.prototype.Zg=function(a){a===0?this.g=null:this.g=a};A5.prototype.ef=function(){var a=ac.apply(0,arguments);this.requestId===Number.MAX_SAFE_INTEGER&&(this.requestId=0);var b=new YFa(this.requestId++);var c=b.getId();this.h.set(c,b);this.cg.postMessage({args:a,id:c});XFa(this,c);return b.Z.promise};
var YFa=function(a){var b=new py;this.id=a;this.Z=b};YFa.prototype.getId=function(){return this.id};var VFa=function(a,b){b instanceof Error?a.Z.reject(b):a.Z.resolve(b)};var ZFa=nD([""]),$Fa=function(a){this.B=bga;this.h=new Map;this.A=this.j=null;if(!e2(n)){let b=Q(a,PJ,96);this.D=b&&(Rx(b)||Qx(ZFa))}a=zq(a,Tp,4);a=N(a,31);this.g=a!=null?a:!1};$Fa.prototype.get=function(){var a=this;if(this.j)return this.j;var b=aGa(this).then(function(c){return c?a.g?bGa(c):new A5(B5(c)):new v5(a.B)});this.g&&(this.j=b);return b};
var cGa=async function(a,b){var c=null,d=null;try{let g=await aGa(a);if(g){c=B5(g,!0);d=await fta(c);let h=d.j(e0,b);return{proxy:h.proxy,dispose:function(){h.dispose();var k;(k=d)==null||k.dispose()}}}}catch(g){a=Zn(g),a.message="Failed to create remote codec client: "+a.message,ok("Could not initialize encrypt/decrypt in worker, falling back to inline codec.",a,"warning"),d&&d.dispose(),c&&c.terminate()}c=Rsa();var e=c.To;Msa(c.Uo,new u5(b));var f=Ssa(e);return{proxy:f.proxy,dispose:function(){f.dispose();
e.dispose()}}},aGa=function(a){a.A||(a.A=dGa(a.D));return a.A},bGa=function(a){return new y5(function(){return new A5(B5(a))},{ci:30})},B5=function(a,b){b=b===void 0?!1:b;a=new Worker(wh(a),void 0);var c={},d={};a.postMessage((d.type="init",d.payload=(c.enableRpc=b,c),d));return a},dGa=function(a){return new Promise(function(b){a?mba(a).then(function(c){return c.script()}).then(function(c){if(c instanceof Ah)c=c.g;else throw Error("Z");c=vh(URL.createObjectURL(new Blob([c.toString()],{type:"text/javascript"})));
b(c)}).catch(function(){b(null)}):b(null)})};var eGa=nD([""]),C5=function(a,b,c,d){this.j=a;this.N=d;this.A=new py;this.g=!1;this.F=null;this.B=(a=Q(b,PJ,96))&&(Rx(a)||Qx(eGa));a=xx(b);this.da=Rl(a,6,2E7);this.Pb=Lp(b);a=xx(b);a=Cq(a,12);this.K=Sg(a);var e;this.h=(e=XJ(b))==null?void 0:N(e,31);e=zq(b,wp,103);e=F(e,87);this.O=e!=null?e:!1;if(this.h||this.O)this.F=new $Fa(b);var f;this.D=(f=zo(b))==null?void 0:N(f,70);this.H=c};
C5.prototype.initialize=function(){var a=this;this.g||(this.g=!0,this.j.initialize().then(function(){a.A.resolve()},function(b){a.A.reject(b)}));return this.A.promise};
var fGa=function(a){if(bja(a))return 1;if(GK(a))return 3;if(AP(a))return 6;if(Fia(a))return 7;if(Cka(a))return 8;if(Qka(a))return 9;if(Ika(a))return 12;throw new fn("Unsupported dataShard in getDataType");},gGa=function(a){if(a===1)return OG;if(a===3)return CK;if(a===6)return Sw;if(a===7)return yF;if(a===8)return vO;if(a===9)return eP;if(a===12)return KO;throw new fn("Unsupported dataType:"+a+" in getDataTypeCtor");};C5.prototype.Hb=function(a){if(GK(a))return a.Hb()};
var hGa=function(a){if(GK(a))return a.Ma().length},kGa=async function(a,b,c,d){if(c.length!==0){var e=!!b;var f=fGa(c[0]);for(var g=1;g<c.length;g++)if(fGa(c[g])!==f)throw Error("kc");g=a.Hb(c[0]);try{switch(f){case 3:a.Hb(c[0]);for(var h=q(c),k=h.next();!k.done;k=h.next())a.Hb(k.value);a.Pb||iGa(c);if(a.K){var m=a.K;for(var p=c.length-1;p>=0;p--){if(!c[p].Hb())continue;h=[];let Ha=c[p].Ma().slice();for(;Ha.length>m;){let Db=Ta(Ha,m-1,m),Lb=DK(new CK,Db);h.push(Lb)}DK(c[p],Ha);h.length&&tj(Ta,c,p+
1,0).apply(null,h)}}}}catch(Ha){throw new fn("datatype "+f+": Error optimizing shards",null,Zn(Ha));}try{m=!1;p=[];for(var t=q(c),w=t.next();!w.done;w=t.next()){let Ha=w.value,Db=Ha.ca();if(Db.length>a.da){m=!0;break}else{c=p;var A=c.push,J=hGa(Ha);if(GK(Ha)){let Lb=$k(Ha,6);var Z=Lb!=null?Lb:void 0}else Z=void 0;A.call(c,new PFa(Db,J,Z))}}if(m){let Ha=tL(ur(Wn(Un(new Rn,2),23),"At least one of the shards exceeded maximum allowed length."));a.H(Ha);throw co(Ha);}var ha=p}catch(Ha){throw new fn("dataType "+
f+": Error getting shard metadata",null,Zn(Ha));}try{var Da=e?await a.encrypt(b,ha,f,g,d):ha}catch(Ha){throw new fn("dataType "+f+": Error encrypting shards",null,Zn(Ha));}try{await a.A.promise,await jGa(a.j,Da,f,g,e,d)}catch(Ha){throw new fn("dataType "+f+": Error writing shards",null,Zn(Ha));}}},iGa=function(a){function b(g){if(!g.getId())return g;var h=g.getId();if(d.has(h))return h=d.get(h),Np(h.Fh,g)?h.aj:g;var k=Rr(new nv,h);d.set(h,{Fh:g.clone(),aj:k});return k}if(a.length){for(var c=0;c<a.length;c++)if(z(a[c],
nv,2,B()).length)return;var d=new Map;c=q(a);for(var e=c.next();!e.done;e=c.next()){e=e.value.Ma()||[];e=q(e);for(var f=e.next();!f.done;f=e.next())f=f.value,Uu(f,Oz(f).map(b)),hp(f,nv,17)&&KH(f,b(Q(f,nv,17))),hp(f,nv,47)&&UH(f,b(Q(f,nv,47))),hp(f,nv,91)&&iI(f,b(Q(f,nv,91))),hp(f,nv,95)&&lI(f,b(Q(f,nv,95))),hp(f,IA,85)&&(f=Q(f,IA,85),JA(f,z(f,nv,2,B()).map(b)),KA(f,z(f,nv,3,B()).map(b)))}c=[].concat(r(d.values())).map(function(g){return g.Fh});Nu(a[0],2,c)}};
C5.prototype.encrypt=function(a,b,c,d,e){var f=b.reduce(function(k,m){var p;return k+((p=m.g)!=null?p:0)},0),g=lGa(this,c,d,e),h=!0;return mGa(this,a,b.map(function(k){return k.data})).then(function(k){if(k.length!==b.length)throw Error("lc`"+k.length+"`"+b.length);k=q(k.entries());for(var m=k.next();!m.done;m=k.next()){var p=q(m.value);m=p.next().value;p=p.next().value;m=b[m];m.data=p;m.h=!0}return b},function(k){h=!1;throw k;}).finally(function(){if(g){var k=h;K2(H2(D5(g),k),f);v_(g)}})};
var lGa=function(a,b,c,d){if(a=dq(a.N,106023,d))return b=J2(I2(D5(a),q_(u_,0,b)),q_(t_,0,c)),H(b,7,!0),a},qx=async function(a,b,c,d,e,f){var g=[];try{g=await nGa(a,c,d,e)}catch(m){throw new fn("Could not read shards for dataType "+c,null,Zn(m));}var h=g.map(function(m){return m.data}),k=[];e=void 0;if(g[0]&&g[0].encrypted){e=oGa(a,c,d,f);try{k=await pGa(a,b,h)}catch(m){throw e&&E5(e,!1),new fn("dataType "+c+": Error decrypting shards",null,Zn(m));}}else k=h;b=[];try{b=qGa(k,c)}catch(m){throw e&&E5(e,
!1),new fn("dataType "+c+": Error deserializing shards",null,Zn(m));}try{switch(c){case 3:rGa(a,b)}}catch(m){throw e&&E5(e,!1),new fn("dataType "+c+": Error decompressing shards",null,Zn(m));}e&&(a=b.reduce(function(m,p){var t;return m+((t=hGa(p))!=null?t:0)},0),K2(D5(e),a),E5(e,!0));return b},nGa=function(a,b,c,d){return a.A.promise.then(function(){return sGa(a.j,b,c,d)})},oGa=function(a,b,c,d){if(a=dq(a.N,106022,d))return b=J2(I2(D5(a),q_(u_,0,b)),q_(t_,0,c)),H(b,7,!0),a},E5=function(a,b){H2(D5(a),
b);v_(a)},qGa=function(a,b){var c=gGa(b);return a.map(function(d){return Og(c,d)})},rGa=function(a,b){a.Pb||tGa(b);uGa(b)},tGa=function(a){function b(g){var h=g.getId();return c.has(h)&&(h=c.get(h),Np(h.aj,g))?h.Fh.clone():g}if(a[0]&&z(a[0],nv,2,B()).length!==0){var c=new Map(z(a[0],nv,2,B()).map(function(g){var h=g.getId(),k=Rr(new nv,h);return[h,{Fh:g,aj:k}]}));a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.Ma()||[];e=q(e);for(var f=e.next();!f.done;f=e.next())f=f.value,Uu(f,Oz(f).map(b)),
hp(f,nv,17)&&KH(f,b(Q(f,nv,17))),hp(f,nv,47)&&UH(f,b(Q(f,nv,47))),hp(f,nv,91)&&iI(f,b(Q(f,nv,91))),hp(f,nv,95)&&lI(f,b(Q(f,nv,95))),hp(f,IA,85)&&(f=Q(f,IA,85),JA(f,z(f,nv,2,B()).map(b)),KA(f,z(f,nv,3,B()).map(b)));S(d,2)}}},uGa=function(a){for(let d=1;d<a.length;d++)if(!a[d].Hb()){var b=0;for(var c=d;c<a.length&&!a[c].Hb();c++)b++;c=a[d-1];b=Ta(a,d,b);let e=c.Ma(tu);b.forEach(function(f){Ra(e,f.Ma(tu))});DK(c,e)}},vGa=function(a,b){return a.F?a.F.get():dGa(b).then(function(c){if(c){let d=B5(c);URL.revokeObjectURL(c.toString());
return new A5(d)}return null})},wGa=async function(a,b){a=a.F;if(a.h.has(b))b=a.h.get(b);else{var c=cGa(a,b);a.g&&a.h.set(b,c);b=c}return b},mGa=async function(a,b,c){if(a.O)return Kk(xGa(a,b,c),12E5,function(){var e=Error("mc");ok("dumpstorage.ts encryptAsync timed out",e,"warning");return e});if(!e2(n)&&a.B){let e=await vGa(a,a.B);if(e){a.h&&e.Zg(12E5);try{return a.D?await Promise.all(c.map(function(f){return e.ef({command:"encrypt",payload:{key:b,dumps:[f]}}).then(function(g){return g[0]})})):
await e.ef({command:"encrypt",payload:{key:b,dumps:c}})}catch(f){throw f instanceof z5&&oB(a.N,106036),f;}finally{a.h||e.dispose()}}}var d=new Nx(b);return c.map(function(e){return d.encrypt(e)})},xGa=async function(a,b,c){var d=await wGa(a,b);try{return a.D?await Promise.all(c.map(function(e){return d.proxy.encrypt(e)})):await d.proxy.Hl(c)}finally{a.h||d.dispose()}},pGa=async function(a,b,c){for(let e=0;e<c.length;e++)if(c[e].length>a.da)throw c=tL(ur(Wn(Un(new Rn,2),23),"At least one of the shards exceeded maximum allowed length.")),
a.H(c),co(c);if(a.O)return Kk(yGa(a,b,c),12E5,function(){var e=Error("nc");ok("dumpstorage.ts decryptAsync timed out",e,"warning");return e});if(!e2(n)&&a.B){let e=await vGa(a,a.B);if(e){a.h&&e.Zg(12E5);try{return a.D?await Promise.all(c.map(function(f){return e.ef({command:"decrypt",payload:{key:b,dumps:[f]}}).then(function(g){return g[0]})})):await e.ef({command:"decrypt",payload:{key:b,dumps:c}})}catch(f){throw f instanceof z5&&oB(a.N,106035),f;}finally{a.h||e.dispose()}}}var d=new Nx(b);return c.map(function(e){return d.decrypt(e)})},
yGa=async function(a,b,c){var d=await wGa(a,b);try{return a.D?await Promise.all(c.map(function(e){return d.proxy.decrypt(e)})):await d.proxy.Bl(c)}finally{a.h||d.dispose()}};var F5=function(a,b){oh.call(this);this.context=a;this.I=b;this.j=this.failureReason=0;this.g=new l5(a.tb,a.lc,a.Oa,function(){return a.Uc()},a.C);this.C=this.context.C;this.K=new k5(a.tb,a.lc)};V(F5,oh);
var zGa=function(a,b){var c,d,e=(d=(c=zo(a.C))==null?void 0:Rl(c,76))!=null?d:0;if(e>0){let g;var f=(g=Aq(b,5))!=null?g:-1;f!==-1?f>e?(a.I.info("Too many linked items at "+f+"; skipping linked corpus cache."),J4(a.g,!1)):(a.I.info("Caching all linked items at "+f+"."),a.j=f):(a.I.Ba("Linked corpus cache is disabled in dump stats."),J4(a.g,!1))}else e=Rl(a.C,31,2E4),b=typeof Zt(b,3)==="number"?Zt(b,3):e+1,b>e||((f=XJ(a.C))==null?0:N(f,84))?(J4(a.g,!1),a.I.info("Too many subscribed items at "+b+"; skipping subscribed cache.")):
(a.I.info("Caching all subscribed items."),a.j=b);a.context.oc.setValue("CachedCorpusType",a.g.wc?"fullCorpus":"partialCorpus")},G5=function(a,b){a.failureReason===0&&(a.failureReason=b)};var AGa=function(){return!0},BGa=function(a,b){var c=!1;a=z(a,FJ,7,B());if(a.length===0)return!0;b=C(b,3)||"";b=b.toLowerCase();for(let e=0;e<a.length;e++){var d=a[e];let f=d.Qa();if(d.getValue()&&d.getValue().length>0){let g=d.getValue().toLowerCase();if(am(d,1)===1){if((d=b.indexOf(g)>=0)&&!f||!d&&f)return!0}else if(am(d,1)===2&&((d=b===g)&&!f||!d&&f))return!0}else c=!f}return c};var H5=function(a,b){oh.call(this);this.context=a;this.request=b;this.j=[];this.nextPageToken="";this.g=this.h=!1;this.la=1};V(H5,oh);H5.prototype.run=function(){return this.g||this.h&&this.nextPageToken===""?Promise.resolve():CGa(this)};H5.prototype.Va=function(){return this.j.length};
var CGa=function(a){a.h=!0;a.g=!0;var b=Qja(Rja(new vK,a.request),a.nextPageToken),c=G3(a.context.oc,b);return Promise.resolve(D4(a.context)).then(function(d){return d.route(b)}).then(function(d){var e=d.Sa().Ma();a.nextPageToken=d.rb()||"";return DGa(a,c,e)}).catch(function(d){a.handleError(d)})},DGa=function(a,b,c){a.context.oc.Af(b,c);for(b=0;b<c.length;b++)Tx(c[b],1);a.context.fa().Ka(c,1,a.request,!a.h||a.nextPageToken!=="",void 0,EGa(a));var d=[];$a(c,function(e){this.j.push(e.J());e=NI(LI(new KI,
e.J()),e);d.push(e)},a);d.length&&a.dispatchEvent(new L_(K_,d));if(a.nextPageToken)return CGa(a);a.g=!1;a.dispatchEvent(P_);return Promise.resolve()};H5.prototype.handleError=function(a){this.g=!1;a=bo(a,45);a=new J_(a,a.Qc());this.dispatchEvent(a)};H5.prototype.Wc=function(){return this.g};H5.prototype.X=function(){return this.request};var EGa=function(a){var b=a.la;a.la=void 0;return b};var I5=function(a){this.g=Zk(a)};I5.prototype.sort=function(a){a.sort(this.compare.bind(this)||Wa)};I5.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.g(C(a,3),C(b,3));return c===0?Wa(DA(a),DA(b)):c};var J5=function(a,b,c){c=c===void 0?!1:c;U4.call(this,a,"sync.cache.TeamDriveViewCache");this.U=[];this.Z=null;this.request=b.clone();this.Yb=new H5(a,this.request);this.ir=new I5(Ms(Xr(a.C)));this.Yl=!1;c&&(this.Z=new py,this.Z.resolve())};V(J5,U4);l=J5.prototype;l.refresh=function(){this.bc===3&&(T4(this,6),this.Z=null);return this.Qg()};l.Xe=function(){return!!this.Z};
l.Qg=function(){var a=this;if(this.Xe())return this.Z.promise;this.Z=new py;this.context.gb().g()?this.ma.bf(this.context.gb(),[OY.Gd,OY.ce],function(){a.Yb.run().then(function(){a.Z.resolve()}).catch(function(b){a.Z.reject(b)})}):this.Yb.run().then(function(){a.Z.resolve()}).catch(function(b){a.Z.reject(b)});return this.Z.promise};l.resize=function(){};l.X=function(){return this.request};l.Xb=function(){return this.U};l.wh=function(a){return this.context.pb.equals(a,this.request)};
l.fc=function(a){a=a.Ia();this.ir.sort(this.U);var b=zp(Sa(this.U,0,Math.min(a,this.U.length)));W4(this,this.context.M.Re(),b);return UZ((new wo(b,this.ra())).setStatus(this.hj(a)),a<this.U.length||!this.context.gb().g()&&this.bc!==1)};l.hj=function(a){return this.bc===1||a<=this.U.length?1:this.context.gb().g()?this.U.length>0?1:2:6};l.Fm=function(){return this.Xe()};l.update=function(a){return X4(this,[a])};
l.kc=function(a){var b;if(b=rA(a.getItem())){b=this.request;a=a.getItem();var c;if(c=!!a&&!!aI(a)){c=F(b,4);var d;(d=c==null)||(d=aI(a),d=!!$k(d,7)==c);c=d}b=c&&BGa(b,a)}return b};l.oe=function(a){if(!this.Xe())return!1;this.U.push(a);return!0};l.Hc=function(a){if(!this.Xe())return!1;Na(this.U,a);return!0};l.rj=function(a){return Ia(this.U,a)};l.Ai=function(a,b){if(!this.Xe())return!1;this.U[this.rj(a)]=b;return!0};l.Hj=function(){return!0};l.getType=function(){return"TeamDriveViewCache"};
l.cf=function(){T4(this,1)};l.ii=function(){};var K5=n.IDBKeyRange||n.webkitIDBKeyRange,L5=function(a,b){return new fy(K5.bound(a,b,void 0,void 0))};fy.prototype.range=function(){return this.g};var M5=function(a,b,c){this.global=c===void 0?!1:c;a.match(FGa);this.key=a;this.value=b};M5.prototype.getValue=function(){return this.value};var GGa=function(a,b){return{k:N5(b,a.global,a.key),v:a.value}},N5=function(a,b,c){return[a.userId,a.clientId,b?"#":O5(a)].join(":")+":"+(c||"")},P5=function(a,b){a=N5(a,b);return L5(a+"A",a+"z")},FGa=/^[\w]+$/;var Q5=function(a){this.g=new zW(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})};Q5.prototype.get=function(a){return this.g.then(function(b){if(b&&!b.g)return b.getMetadata([a]).then(function(c){return(c=c[0])?c.getValue():void 0},function(){})})};Q5.prototype.set=function(a,b){return this.g.then(function(c){return c&&!c.g?HGa(c,[new M5(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};
Q5.prototype.Uc=function(){return this.get(IGa).then(function(a){return a?a:null})};Q5.prototype.Jb=function(a){return this.set(IGa,a)};var R5=function(a){return a.get(JGa).then(function(b){return typeof b==="boolean"?b:null})};Q5.prototype.h=function(a){return this.set(JGa,a)};
var KGa=function(a){return a.get(S5).then(function(b){return typeof b==="boolean"?b:null})},LGa=function(a){return a.get(T5).then(function(b){return Array.isArray(b)?b:null})},iga=function(a){return a.get(az).then(function(b){return typeof b==="number"?b:null})},NGa=function(a){return a.get(MGa).then(function(b){return b?b:null})},OGa={key:"pc",global:!1},IGa={key:"rid",global:!0},JGa={key:"ooi",global:!0},MGa={key:"et",global:!0},S5=OGa,T5={key:"rtds",global:!1},az={key:"dct",global:!1};yD(gy,Lx);gy.prototype.reset=function(){this.g[0]=1732584193;this.g[1]=4023233417;this.g[2]=2562383102;this.g[3]=271733878;this.j=this.h=0};
var U5=function(a,b,c){c||(c=0);var d=Array(16);if(typeof b==="string")for(var e=0;e<16;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;e<16;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.g[0];c=a.g[1];e=a.g[2];var f=a.g[3];var g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>
15);g=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|
g>>>20);g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<
5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|
g>>>21);g=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.g[0]=a.g[0]+b&4294967295;a.g[1]=a.g[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.g[2]=a.g[2]+e&4294967295;a.g[3]=a.g[3]+f&4294967295};
gy.prototype.update=function(a,b){b===void 0&&(b=a.length);for(var c=b-this.blockSize,d=this.A,e=this.h,f=0;f<b;){if(e==0)for(;f<=c;)U5(this,a,f),f+=this.blockSize;if(typeof a==="string")for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){U5(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){U5(this,d);e=0;break}}this.h=e;this.j+=b};
gy.prototype.digest=function(){var a=Array((this.h<56?this.blockSize:this.blockSize*2)-this.h);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;b=this.j*8;for(var c=a.length-8;c<a.length;++c)a[c]=b&255,b/=256;this.update(a);a=Array(16);b=0;for(c=0;c<4;++c)for(let d=0;d<32;d+=8)a[b++]=this.g[c]>>>d&255;return a};var Vy=function(a,b,c,d,e,f,g){g=g===void 0?Date.now():g;this.userId=a;this.clientId=b;this.li=c;this.j=d;this.h=null;this.A=this.xm=!1;this.Rm=void 0;this.labelPackages=[];this.fields=Pa(e);this.fields.sort(Wa);Ua(this.fields);this.labelPackages=Pa(f);this.labelPackages.sort(Wa);Ua(this.labelPackages);this.g=g},O5=function(a){if(!a.h){let b=new gy;b.update([a.userId,a.clientId,a.li,a.j].join(":"));b.update(a.fields);a.labelPackages.length>0&&b.update(a.labelPackages);a.h=ia(b.digest())}return a.h},
PGa=function(a){return{versionKey:O5(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.li,phk:a.j,f:a.fields,lp:a.labelPackages},lastAccessedTimestamp:a.g}},Iy=function(a){var b=!0;b=b===void 0?!1:b;if(!a)return null;var c=a.versionInfo,d=a.versionKey;if(!c||!d)return null;var e;c=new Vy(c.u,c.c,c.pv,c.phk,c.f,(e=c.Fs)!=null?e:[],a.lastAccessedTimestamp);b?c.h=d:O5(c)!==d&&(c=null);return c};var QGa=function(a,b){this.g=a;this.h=b},RGa=function(a){return a?new QGa(a.versionKey,a.versionChangeTimestamp):null};var SGa=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.encrypted=e===void 0?null:e},TGa=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.encrypted}},Ly=function(a,b,c,d){a=O5(a)+"_"+b;b===3&&(a+="_"+d);return a+=Wk(":%02d",c)},UGa=function(a,b,c,d){c=Ly(a,b,c===void 0?0:c,d);a=O5(a)+"_"+b;b===3&&(a+="_"+d);return L5(c,a+":a")},VGa=function(a){var b=O5(a)+"_";a=O5(a)+"_A";return L5(b,a)},Ky=function(a){return a?new SGa(a.data,a.index,
a.size,a.timestamp,a.e):null};hy.prototype.getName=function(){return this.g.name};var WGa=function(a,b,c){var d=new jk;try{var e=a.g.get(c)}catch(f){return b+=" with key "+ST(c),d.La(p_(f,b)),d}e.onsuccess=function(f){d.callback(f.target.result)};e.onerror=function(f){b+=" with key "+ST(c);d.La(ly(f.target,b))};return d};hy.prototype.get=function(a){return WGa(this,"getting from index "+this.getName(),a)};hy.prototype.getAll=function(a,b){return XGa(this,"getAll","getting all from index "+this.getName(),a,b)};
var YGa=function(a,b){return XGa(a,"getAllKeys","getting all keys index "+a.getName(),b)},XGa=function(a,b,c,d,e){var f;d===void 0?f=void 0:f=d instanceof fy?d.range():(new fy(K5.only(d))).range();var g=new jk;try{var h=a.g[b](f,e)}catch(k){return c+=" for range "+(f?ST(f):"<all>"),g.La(p_(k,c)),g}h.onsuccess=function(){g.callback(h.result)};h.onerror=function(k){c+=" for range "+(f?ST(f):"<all>");g.La(ly(k.target,c))};return g};var V5=function(a){this.g=a};V5.prototype.getName=function(){return this.g.name};var ZGa=function(a,b,c,d,e){var f=new jk;try{var g=e?a.g[b](d,e):a.g[b](d)}catch(h){return c+=ST(d),e&&(c+=", with key "+ST(e)),f.La(p_(h,c)),f}g.onsuccess=function(h){f.callback(h.target.result)};g.onerror=function(h){c+=ST(d);e&&(c+=", with key "+ST(e));f.La(ly(h.target,c))};return f},W5=function(a,b,c){return ZGa(a,"put","putting into "+a.getName()+" with value",b,c)};
V5.prototype.add=function(a,b){return ZGa(this,"add","adding into "+this.getName()+" with value ",a,b)};V5.prototype.remove=function(a){var b=new jk;try{var c=this.g["delete"](a instanceof fy?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+ST(a),b.La(p_(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+ST(a);b.La(ly(e.target,f))};return b};
V5.prototype.get=function(a){var b=new jk;try{var c=this.g.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+ST(a),b.La(p_(e,c)),b}c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){var f="getting from "+d.getName()+" with key "+ST(a);b.La(ly(e.target,f))};return b};V5.prototype.getAll=function(a,b){return $Ga(this,"getting all from index "+this.getName(),a,b)};
var $Ga=function(a,b,c,d){var e;c===void 0?e=void 0:e=c instanceof fy?c.range():(new fy(K5.only(c))).range();var f=new jk;try{var g=a.g.getAll(e,d)}catch(h){return b+=" for range "+(e?ST(e):"<all>"),f.La(p_(h,b)),f}g.onsuccess=function(){f.callback(g.result)};g.onerror=function(h){b+=" for range "+(e?ST(e):"<all>");f.La(ly(h.target,b))};return f};
V5.prototype.clear=function(){var a="clearing store "+this.getName(),b=new jk;try{var c=this.g.clear()}catch(d){return b.La(p_(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.La(ly(d.target,a))};return b};V5.prototype.count=function(a){var b=new jk;try{let c=a?a.range():null,d=this.g.count(c);d.onsuccess=function(f){b.callback(f.target.result)};let e=this;d.onerror=function(f){b.La(ly(f.target,e.getName()))}}catch(c){b.La(p_(c,this.getName()))}return b};var ny=function(a,b){oh.call(this);this.g=a;this.j=b;this.h=new bi(this);this.h.listen(this.g,"complete",nj(this.dispatchEvent,this,"complete"));this.h.listen(this.g,"abort",nj(this.dispatchEvent,this,"abort"));this.h.listen(this.g,"error",this.En)};V(ny,oh);l=ny.prototype;l.En=function(a){a.target instanceof Bo?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:ly(a.target,"in transaction")})};
l.objectStore=function(a){try{return new V5(this.g.objectStore(a))}catch(b){throw p_(b,"getting object store "+a);}};l.commit=function(a){if(this.g.commit||!a)try{this.g.commit()}catch(b){throw p_(b,"cannot commit the transaction");}};l.wait=function(){var a=new jk;DT(this,"complete",nj(a.callback,a));var b=DT(this,"abort",function(){KT(c);a.La(new Bo(j_,"waiting for transaction to complete"))});var c=DT(this,"error",function(e){KT(b);a.La(e.target)});var d=this.j;return iY(a,function(){return d})};
l.abort=function(){this.g.abort()};l.ya=function(){oh.prototype.ya.call(this);this.h.dispose()};var Hy={READ_ONLY:"readonly",READ_WRITE:"readwrite",gs:"versionchange"};yD(iy,oh);l=iy.prototype;l.Vk=!0;l.Fn=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};l.ip=function(a){this.dispatchEvent(new my(a.oldVersion,a.newVersion))};l.close=function(){this.Vk&&(this.g.close(),this.Vk=!1)};l.getName=function(){return this.g.name};
var aHa=function(a,b,c){try{return new V5(a.g.createObjectStore(b,c))}catch(d){throw p_(d,"creating object store "+b);}},bHa=function(a,b){try{a.g.deleteObjectStore(b)}catch(c){throw p_(c,"deleting object store "+b);}},ry=function(a,b,c){try{let d=c?a.g.transaction(b,c):a.g.transaction(b);return new ny(d,a)}catch(d){throw p_(d,"creating transaction");}};iy.prototype.ya=function(){iy.Fb.ya.call(this);this.h.dispose()};
var my=function(a,b){$g.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};yD(my,$g);var jy=void 0;var sy={vf:"Versions",oh:"Metadata",dg:"Data",qc:"Offline"},cHa=new Map([[sy.vf,"versionKey"],[sy.oh,"k"]]),dHa=new Set([1004]),Zy=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?!1:d;Yg.call(this);var e=this;this.N=c;this.readOnly=d;this.H=!0;this.j="";this.h=null;this.K=!1;this.A=null;this.g=!1;this.version=this.D=null;this.I=b.ia("sync.storage.VersionedDb");this.V=a.then(function(f){e.version=f});this.F=new bi(this);this.Da(this.F)};V(Zy,Yg);
var Yy=function(a,b,c){var d=new py;X5().then(function(e){if(e){var f=sy.qc;ry(e,[f],Hy.READ_ONLY).objectStore(f).get(a+":"+b).then(function(g){return RGa(g)}).then(function(g){if(g){var h=0;typeof c==="number"&&typeof g.h==="number"&&(h=c+g.h-Date.now());var k=sy.vf,m=ry(e,[k],Hy.READ_ONLY);m.objectStore(k).get(g.g).then(function(p){(p=Iy(p))?(p.xm=!0,h<0?p.A=!0:h>0&&(p.Rm=h),d.resolve(p)):d.resolve(null)});jY(m.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(g){d.reject(g);
e.close()})}else d.resolve(null)},d.reject);return d.promise},jga=function(a,b,c){var d=Date.now()-12096E5,e=new py;X5().then(function(f){f?(e.promise.finally(function(){f.close()}),Jy(f,a,b).then(function(g){return g.filter(function(h){return h.g<d})},function(){return[]}).then(function(g){eHa(g,c,f,e)})):e.resolve([])});return e.promise},fHa=function(a,b,c){var d=new py;X5().then(function(e){e?(d.promise.then(function(){return void e.close()},function(){return void e.close()}),Jy(e,a,b).then(function(f){eHa(f,
c,e,d,!0)})):d.resolve([])});return d.promise},gHa=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;var k=new py;X5().then(function(m){m?(k.promise.then(function(){return void m.close()},function(){return void m.close()}),Jy(m,a,b).then(function(p){return p.filter(function(t){return(!g||g!==O5(t))&&t.li===c&&t.g>=e&&Bx(d.filter(function(w){return!dHa.has(w)}),Pa(t.fields),b,h,t.labelPackages)})},function(){return[]}).then(function(p){p.length?(p.sort(function(t,w){return w.g-t.g}),My(p,k,m,new Set(f))):
k.resolve(null)})):k.resolve(null)});return k.promise};Zy.prototype.initialize=function(){return hHa(this)};
var iHa=function(a){return a.g?a.j:null},jHa=function(a){var b=sy.vf,c=Y5(a,b,Hy.READ_WRITE);if(!c)return Promise.reject(Error("oc"));W5(c.objectStore(b),PGa(a.version));return Promise.resolve(c.wait()).then(function(){})},sGa=function(a,b,c,d){if(!a.h||b===3&&c===void 0)return Promise.reject(Error("pc"));if(a.g)return Promise.reject(Error(a.j));var e=UGa(a.version,b,0,c),f=sy.dg,g=Y5(a,f);if(!g)return Promise.reject(Error("qc"));e=g.objectStore(f).getAll(e);var h=new py;qy(e,function(k){k=fga(k,
h,d);a.readOnly||k==null||kHa(a,b,c,k).then(null,function(){})},h.reject);return h.promise},jGa=function(a,b,c,d,e,f){if(a.h){if(a.g)return Promise.reject(Error(a.j));if(b.length>100||c===3&&d===void 0)return Promise.reject(Error("rc"))}else return Promise.reject(Error("sc"));var g=Date.now(),h=b.length,k=b.map(function(t,w){return{key:Ly(a.version,c,w,d),data:new SGa(t.data,w,h,g,e),metadata:t}}),m=sy.dg;b=Y5(a,m,Hy.READ_WRITE);if(!b)return Promise.reject(Error("tc"));m=b.objectStore(m);k=q(k);for(var p=
k.next();!p.done;p=k.next()){p=p.value;let t=lHa(a,c,d,p.metadata,f);W5(m,TGa(p.data),p.key).then(function(){t&&(H2(D5(t),!0),v_(t))},function(w){var A=w instanceof Bo?w.code:e_;t&&a.N&&(w=H2(D5(t),!1),A=q_(Vra,0,A),G(w,2,A),v_(t))})}return Promise.resolve(b.wait()).then(function(){})},kHa=function(a,b,c,d){d=d===void 0?0:d;if(a.h){if(a.g)return Promise.reject(Error(a.j));if(b===3&&c===void 0)return Promise.reject(Error("uc"))}else return Promise.reject(Error("vc"));b=UGa(a.version,b,d,c);c=sy.dg;
a=Y5(a,c,Hy.READ_WRITE);if(!a)return Promise.reject(Error("wc"));a.objectStore(c).remove(b);return Promise.resolve(a.wait()).then(function(){})};
Zy.prototype.getMetadata=function(a){if(this.h){if(this.g)return Promise.reject(Error(this.j));if(a&&a.length===0)return Promise.reject(Error("xc"))}else return Promise.reject(Error("yc"));var b=this.version,c=sy.oh,d=Y5(this,c);if(!d)return Promise.reject(Error("zc"));c=d.objectStore(c);if(a){d=[];a=q(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(Promise.resolve(c.get(N5(b,e.global,e.key))));c=Promise.all(d)}else c=Promise.all([c.getAll(P5(b,!1)).then(),c.getAll(P5(b,!0)).then()]).then(function(f){var g=
q(f);f=g.next().value;g=g.next().value;return baa(f,g)});return c.then(function(f){return f.map(function(g){a:{if(g){var h=g.k.split(":"),k=h[2]==="#";if(h.length===4&&(k||h[2]===O5(b))){g=h[0]!==b.userId||h[1]!==String(b.clientId)?void 0:new M5(h[3],g.v,k);break a}}g=void 0}return g})})};
var HGa=function(a,b){if(a.h){if(a.g)return Promise.reject(Error(a.j));if(b.length===0)return Promise.reject(Error("Ac"))}else return Promise.reject(Error("Bc"));var c=sy.oh,d=Y5(a,c,Hy.READ_WRITE);if(!d)return Promise.reject(Error("Cc"));c=d.objectStore(c);d=[];b=q(b);for(var e=b.next();!e.done;e=b.next())d.push(W5(c,GGa(e.value,a.version)).then());return Promise.all(d).then(function(){})};
Zy.prototype.zc=function(a){var b=this;return this.h?this.g?Promise.reject(Error(this.j)):Z5(this).then(function(c){var d=O5(b.version);if(c)if(a){if(!c.h&&d===c.g&&d!==O5(a))return $5(b,!0);if(c.h&&d===O5(a))return $5(b)}else{if(d!==c.g)return $5(b)}else if(!a)return $5(b)}):Promise.reject(Error("Dc"))};
var mHa=function(a){if(!a.h)return Promise.reject(Error("Ec"));if(a.g)return Promise.reject(Error(a.j));var b=a.version,c=b.userId+":"+b.clientId;return Z5(a).then(function(d){if(d){d=sy.qc;var e=Y5(a,d,Hy.READ_WRITE);if(e)return e.objectStore(d).remove(c).then()}})};Zy.prototype.close=function(){this.B("Closing database")};
var hHa=function(a,b){a.A||(a.A=HW(),a.V.then(function(){nHa(a,b)},function(c){a.A.reject(new fn("Database version error",void 0,Yn(c)?c:void 0))}));return a.A.promise},nHa=function(a,b){b?(a.H=!1,oHa(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.A.resolve()):(a.N&&(a.D=dq(a.N,106004)),a.log("Opening database GoogleDriveDs (version 2)"),qy(oy("GoogleDriveDs",2,function(c,d){pHa(a,c,d)},function(c){a6(a,c)}),function(c){qHa(a,c)},function(c){a6(a,c)}),rHa().then(function(){a.h||
a.g||(a.B("Opening database GoogleDriveDs timed out."),a6(a,Error("Hc")))}))},oHa=function(a,b){a.h=b;a.F.listen(a.h,"close",function(){a.B("Browser closing database")});a.F.listen(a.h,"versionchange",a.B.bind(a,"Database version change detected, closing"))},pHa=function(a,b,c){a.log("Upgrading GoogleDriveDs to version "+b.newVersion);a.K=!0;$a(c.g.objectStoreNames,function(d){bHa(c,d)});bh(sy,function(d){var e=cHa.get(d);aHa(c,d,e?{keyPath:e}:void 0)})},a6=function(a,b){var c;b&&b instanceof Bo&&
b.getName()==="InvalidStateError"&&jia?c=Error("Fc"):c=new fn("Unable to open database GoogleDriveDs (version 2)",null,Yn(b)?b:Error("Gc",{cause:b}));a.B("Unable to open database GoogleDriveDs (version 2)");a.A.reject(c);sHa(a,!1)},qHa=function(a,b){a.g?b.dispose():(oHa(a,b),a.Da(a.h),a.readOnly||jHa(a).then(null,function(){}),a.log("Initialized database GoogleDriveDs"),a.A.resolve(),sHa(a,!0))},sHa=function(a,b){if(a.D){var c=fq(a.D);c=Sp(c,UAa,5);c=K(c,1,2);c=K(c,2,a.version.li);c=H(c,5,a.version.xm);
b=H(c,3,b);b=H(b,4,a.K);K(b,6,a.version.Rm);v_(a.D);a.D=null}};Zy.prototype.B=function(a){this.log(a);this.g||(this.g=!0,this.j="Database disabled: "+a,this.h&&this.H&&this.h.close())};
var Y5=function(a,b,c){c=c===void 0?Hy.READ_ONLY:c;if(a.readOnly&&c!==Hy.READ_ONLY)return null;a=a.h;try{return ry(a,[b],c)}catch(d){return null}},tHa=function(a){if(!a.h)return Promise.reject(Error("Ic"));if(a.g)return Promise.reject(Error(a.j));var b=sy.vf,c=Y5(a,b,Hy.READ_WRITE);if(!c)return Promise.reject(Error("Jc"));b=c.objectStore(b);return Promise.resolve(b.remove(O5(a.version)))},lHa=function(a,b,c,d,e){if(a.N){if(a=dq(a.N,106019,e))b=J2(I2(D5(a),q_(u_,0,b)),q_(t_,0,c)),c=d.j,b=b.yc.call(b,
c==null?0:c?2:1),H(b,7,d.h),d.g!==void 0&&K2(D5(a),d.g);return a}return null},uHa=function(a){if(!a.h)return Promise.reject(Error("Kc"));if(a.g)return Promise.reject(Error(a.j));var b=VGa(a.version),c=sy.dg;a=Y5(a,c,Hy.READ_WRITE);if(!a)return Promise.reject(Error("Lc"));a.objectStore(c).remove(b);return Promise.resolve(a.wait()).then(function(){})},vHa=function(a,b){b=b===void 0?!1:b;if(a.h){if(a.g)return Promise.reject(Error(a.j))}else return Promise.reject(Error("Nc"));var c=a.version,d=sy.oh;
a=Y5(a,d,Hy.READ_WRITE);if(!a)return Promise.reject(Error("Oc"));d=a.objectStore(d);a=[];a.push(d.remove(P5(c,!1)).then());b&&a.push(d.remove(P5(c,!0)).then());return Promise.all(a).then(function(){})},Z5=function(a){if(!a.h)return Promise.reject(Error("Pc"));if(a.g)return Promise.reject(Error(a.j));var b=a.version.userId+":"+a.version.clientId,c=sy.qc;a=Y5(a,c);if(!a)return Promise.reject(Error("Qc"));c=a.objectStore(c);return Promise.resolve(c.get(b)).then(function(d){return RGa(d)})},$5=function(a,
b){b=b===void 0?!1:b;if(!a.h)return Promise.reject(Error("Rc"));if(a.g)return Promise.reject(Error(a.j));var c=a.version,d=c.userId+":"+c.clientId;b=new QGa(O5(c),b?Date.now():void 0);c=sy.qc;a=Y5(a,c,Hy.READ_WRITE);if(!a)return Promise.reject(Error("Sc"));W5(a.objectStore(c),{versionKey:b.g,versionChangeTimestamp:b.h},d);return Promise.resolve(a.wait())};
Zy.prototype.clear=function(a){var b=this;a=a===void 0?!1:a;return this.h?this.g?Promise.reject(Error(this.j)):Z5(this).then(function(c){var d=c&&c.g===O5(b.version);return d&&!a?!1:(c&&d?mHa(b):Promise.resolve()).then(function(){return tna([vHa(b,a),uHa(b),tHa(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):Promise.reject(Error("Tc"))};Zy.prototype.log=function(a){this.I.info(a)};
var X5=function(){var a=new py;Promise.resolve(oy("GoogleDriveDs")).then(function(b){wHa(b)?a.resolve(b):(b.close(),Promise.resolve(ega()).finally(function(){a.resolve(null)}))}).catch(function(){a.resolve(null)});return a.promise},wHa=function(a){if(Number(a.g.version)<=1)return!1;var b=a.g.objectStoreNames;return Object.values(sy).every(function(c){return b&&b.contains(c)})},xHa=function(a,b,c){var d=new py,e=new Zy(Promise.resolve(a),b);hHa(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},
eHa=function(a,b,c,d,e){e=e===void 0?!1:e;var f=[];a.forEach(function(g){var h=xHa(g,b,c);f.push(h.then(function(k){return k.clear(e)}).then(function(k){return k?g:void 0}))});Promise.all(f).then(function(g){var h=[];g.forEach(function(k){k&&(h.push(k),b.ia("sync.storage.VersionedDb").info("Cleared version: "+O5(k)))});d.resolve(h)})},rHa=function(){return new Promise(function(a){setTimeout(a,2E4)})};var Ty=function(){var a=!(!n.IDBObjectStore||!n.IDBObjectStore.prototype.getAll);return!!(n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.moz_indexedDB)&&a},gga=function(a){var b=Pq(Xr(a));var c=xx(a);c=Cq(c,8,jc(432E6));c=Sg(c);if(N(a,10)&&c>0)return Math.abs(Py(b))%c};var b6=function(a,b){F5.call(this,a,a.ia("sync.cache.LocalDumpPopulator"));this.M=b;this.B=void 0;this.D=null;this.F=this.H=!1;this.h=void 0};V(b6,F5);b6.prototype.handleError=function(){this.I.info("Local dump population failed.");B0(this.context.Oa,"mrK8ic")};b6.prototype.run=function(){this.D||(this.D=yHa(this));return this.D};
var yHa=async function(a){if(a.context.cd){try{await a.initialize();let b=wx(xx(a.C)),c=b[0]&&C(b[0],2)||"";await zHa(a,a.context.cd,c,4)}catch(b){try{if(!N(a.C,8,!0))throw b;await AHa(a,b)}catch(c){throw G5(a,8),a.handleError(),c;}}Lp(a.C)||a.context.fa().Sb.g.clear();B0(a.context.Oa,"zaOY7")}else throw a.handleError(),Error("$c");};
b6.prototype.initialize=function(){var a=this;return DW(this.context.cd.initialize()).then(function(){if(!Xy(a.C)){var b=Sg(Gja(xx(a.C)));b&&(a.B=Date.now()-b);return KGa(a.context.Dc).then(function(c){if(!c)throw Error("ad");})}})};
var zHa=async function(a,b,c,d){var e=a.B;BHa(a,b,c,e);var f,g=((f=a.context.C)==null?void 0:XJ(f))||new Tp;CHa(a,b,c,e);DHa(a,b,c,d,e);N(g,89)?await EHa(a,b,c,e,N(g,90))===2&&N(g,90)&&(e=Date.now(),a.F=!0):N(g,38)&&N(g,39)&&EHa(a,b,c,e);FHa(a,b,c,d,e);await GHa(a,b,c,e);await HHa(a,b,c,d,e);await Promise.all([IHa(a,b,c,d,e),JHa(a,b,c,d,e),KHa(a,b,c,d,e)])},BHa=function(a,b,c,d){var e=function(){return a.I.info("Failed to load apps from storage.")};qx(b,c,1,void 0,d,a.h).then(function(f){f[0]?a.context.uf.F(f[0],
a.ra(),Xy(a.C)):e()},function(){return e()})},CHa=function(a,b,c,d){rx(b,c,a.context.sd,a.ra(),d,a.h).then(function(e){a.I.info(c6("account and user settings",e));if(!e&&Xy(a.context.C))for(e=a.context.sd.get().h,e.F=!0;e.h.length>0;){let f=e.h.shift();ora(f)}})},DHa=function(a,b,c,d,e){Xy(a.context.C)&&Ux(b,c,new zx(function(){return a.context.Bd.get().h}),a.context.fa(),d,a.ra(),e,a.h).then(function(f){a.I.info(c6("homepage activity",f))})},EHa=async function(a,b,c,d,e){var f=void 0,g=1;try{let A=
await qx(b,c,9,void 0,d,a.h);if((f=A[0]?A[0]:void 0)&&e){{b=f;var h=a.context.C;let J=gq(b,3),Z;if(J&&(Z=XJ(h))!=null&&F(Z,90)){var k=Sg(J);{let ha=Pq(Xr(h));var m=xx(h);var p=Cq(m,16,jc(432E6));let Da=Sg(p);var t=Sp(h,Tp,4);var w=N(t,90)&&Da>0?Math.abs(Py(ha))%Da:void 0}(h=w?k+w:void 0)&&h<Date.now()?(S(b,3),g=2):g=1}else g=1}}}catch(A){a.I.info("Failed to load labels from storage.")}LHa(a.context,f);return g},FHa=function(a,b,c,d,e){Xy(a.context.C)&&ay(b,c,new zx(function(){return a.context.be.get().A}),
a.context.fa(),d,a.ra(),e,a.h).then(function(f){a.I.info(c6("homepage suggestions",f))})},c6=function(a,b){return(b?"Loaded":"Failed to load")+" "+a+" from storage"},HHa=function(a,b,c,d,e){return yqa(MHa,qx(b,c,3,1,e,a.h)).then(function(f){return NHa(a,f[0])}).then(function(f){b!==a.context.cd||Bx(Nr(f,12,B(tu)),a.M.nb(),Yx(a.C),Nr(f,16,B()),a.M.fd())||(a.I.Ba("Disabling dump updater due to inconsistent fields."),a.context.lb.ld());var g=Ug(gq(f,3));if(!g||g<0)throw Error("gd");D(f,4)&&a.context.Jb(D(f,
4),"local dump");g=Ug(gq(f,3));typeof g==="number"&&d6(a.context,Number(g));if(Xy(a.C)||N(a.C,10))a.I.info((Xy(a.C)?"Coldstart":"Background")+": Firing INITIAL_CHANGES_PROCESSED."),e6(a.context);a.Ka(f,d);B0(a.context.Oa,"ZA9qG")}).catch(function(f){return Promise.reject(Zn(f))})},IHa=function(a,b,c,d,e){return f6(a,2,b,c,d,e).then(function(){var f,g;return(f=XJ(a.C))==null||!N(f,17)||(g=a.g)!=null&&g.wc?Promise.resolve():f6(a,5,b,c,d,e)},function(f){var g;return a.failureReason!==10&&((g=XJ(a.C))==
null?0:N(g,17))?f6(a,5,b,c,d,e):Promise.reject(Zn(f))})},f6=function(a,b,c,d,e,f){return qx(c,d,3,b,f,a.h).then(function(g){if(g[0])a.Ka(g[0],e);else throw Error("bd");}).catch(function(g){return Promise.reject(Zn(g))})},JHa=function(a,b,c,d,e){return qx(b,c,3,4,e,a.h).then(function(f){f.forEach(function(g){a.Ka(g,d)})}).catch(function(f){return Promise.reject(Zn(f))})},KHa=function(a,b,c,d,e){return qx(b,c,3,3,e,a.h).then(function(f){f.length?f.forEach(function(g){a.Ka(g,d)}):B0(a.context.Oa,"rVezo")}).catch(function(f){return Promise.reject(Zn(f))})},
GHa=function(a,b,c,d){return qx(b,c,6,void 0,d,a.h).then(function(e){e=q(e);for(var f=e.next();!f.done;f=e.next()){var g=f.value;AP(g)&&z(g,Uw,1,B()).length&&(a.I.info("Importing "+z(g,Uw,1,B()).length+" people into the PeopleCache."),f=a.context.fa().Sb,g=z(g,Uw,1,B(tu)),OHa(f.g,g,2))}}).catch(function(e){return Promise.reject(Zn(e))})},NHa=function(a,b){var c=Wj(b,3);if(c&&!Xy(a.C)){let d=a.context.Zh.get(),e=Hja(xx(a.C));return PHa(d,c,null,0,e).then(function(f){if(Yc(ak(f,2))!=null)throw a.I.Ba("Encrypted dump too stale."),
oB(a.context.N,106007),G5(a,9),Error("fd");return b},function(){return b})}return DW(b)},AHa=async function(a,b){var c=O5(a.context.Hd.version),d=wx(xx(a.C)).filter(function(f){return R(f,2)}),e=await gHa(Pq(Xr(a.C)),Yx(a.C),Wy(xx(a.C))||0,a.M.nb(),a.B||0,d.map(function(f){return C(f,1)}),c,a.M.fd());if(e){c=d.find(function(g){return e.j===C(g,1)});let f=new Zy(DW(e),a.context.S,null,!0);d=new C5(f,a.C,function(g){a.context.Qe(g)},a.context.N);try{await d.initialize()}catch(g){return Promise.reject(new fn("Could not read forklift dump",
null,b))}a.H=!0;return zHa(a,d,c?UJ(c):null,8).then(function(){return f.getMetadata([OGa])}).then(function(g){if(g[0]){var h=a.context.Dc;g=g[0].getValue();h=h.set(S5,g)}else h=Promise.resolve();return h}).then(function(){f.close()})}return Promise.reject(new fn("No compatible dumps to forklift were found.",null,b))},UHa=function(a,b,c){switch(b.Hb()){case 1:return QHa(a,b,c);case 2:return RHa(a,b,a.g);case 5:let d;return((d=XJ(a.C))==null?0:N(d,17))?RHa(a,b,a.K):null;case 3:return SHa(a,b);case 4:return THa(a,
b);default:return null}},QHa=function(a,b,c){var d=[];z(b,zK,5,B()).forEach(function(e){var f=void 0,g=Q(e,gl,3);g&&(fl(g),Tx(g,c),f=new v0(g));var h=AK(e);if(N(h,48)&&(Fz(h),!z(a.C,pn,44,B()).some(function(k){if(!N(k,48))return!1;k=w3(a.context.pb,k,!0);return Np(k,h)})))return;e=new L4(a.context.tb,a.context.lc,a.context.pb,h,f);e.ob(a.ra());d.push({cache:e,changes:g6(a.context.Nb,null)})});return d},RHa=function(a,b,c){var d=Q(b,ox,11);if(!d)throw Error("hd");b=b.Hb();if(b===2){let e,f;if(((e=
a.g)==null?0:e.g)&&((f=d==null?void 0:Aq(d,3))!=null?f:0)>0)throw a.I.Ba("Corpus cache switched from SUBSCRIBED to LINKED."),oB(a.context.N,106056),G5(a,10),Error("cd");let g,h;if(((g=a.g)==null||!g.g)&&((h=d==null?void 0:Aq(d,5))!=null?h:0)>0)throw a.I.Ba("Corpus cache switched from LINKED to SUBSCRIBED."),oB(a.context.N,106057),G5(a,10),Error("dd");}else if(b===5){let e,f;if(((e=a.g)==null?0:e.g)&&((f=d==null?void 0:Aq(d,5))!=null?f:0)!==-1)throw a.I.Ba("Corpus cache switched from PARTIAL_MY_DRIVE to LINKED."),
oB(a.context.N,106058),G5(a,10),Error("ed");}zGa(a,d);return c.wc?(c.ob(a.ra()),[{cache:c,changes:g6(a.context.Nb,null)}]):[]},THa=function(a,b){return z(b,zK,5,B()).map(function(c){c=new J5(a.context,Q(c,tK,5),!0);c.ob(a.ra());return{cache:c,changes:g6(a.context.Nb,null)}})},SHa=function(a,b){var c;if(((c=XJ(a.C))==null||!N(c,18))&&$k(b,6))return[];var d=sz(AK(z(b,zK,5,B())[0]))[0],e=Ug(gq(b,3))||void 0;c=g6(a.context.Nb,d);a.context.Gc.promise.then(function(h){h6(h,d,e)});var f=new i5(a.context.C,
a.context.tb,a.context.lc,d),g;((g=XJ(a.C))==null?0:N(g,18))&&f.yc($k(b,6)===!0?1:0);f.ob(a.ra());return[{cache:f,changes:c}]};
b6.prototype.Ka=function(a,b){var c=this,d=UHa(this,a,b);if(d&&d.length!==0){for(var e=q(a.Ma()),f=e.next();!f.done;f=e.next()){var g=f.value;fl(g);Tx(g,b);Lp(this.C)||this.context.fa().Sb.g.ib()||VHa(this.context.fa().Sb,[g]);f=new v0(g);U(a,14,B()).includes(DA(g))?tZ(this.context.ae,f,1,"sync.cache.LocalDumpPopulator"):U(a,15,B()).includes(DA(g))&&tZ(this.context.ae,f,2,"sync.cache.LocalDumpPopulator");for(g=0;g<d.length;g++)d[g].cache.update(y0(f))}var h,k;if((k=(h=XJ(this.C))==null?void 0:F(h,
89))!=null&&k){a=a.Ma();let m;(m=this.context.Bf)==null||i6(m,a)}d.forEach(function(m){var p=m.cache;c.dispatchEvent(new p5(p,m.changes));c.I.info("Imported "+p.getSize()+" items into the "+p.getType());var t=null;p instanceof i5&&(t=p.teamDriveId);c.context.Vh.promise.then(function(){j6(c.context.Nb,t)})})}else this.I.info("Ignoring corpus cache for "+a.Hb()+".")};b6.prototype.ra=function(){return this.H?7:3};var MHa=new wqa;var l6=function(a,b){Yg.call(this);var c=this;this.context=a;this.teamDriveId=b;this.reason=0;this.logName="sync.change.ChangeProcessor";this.h=-1;this.H=this.g=0;this.pa=this.j=this.A=null;this.Ob=this.Ea=this.ha=0;this.mb=this.Db=null;this.D=0;this.active=!1;this.K=null;this.B=!0;this.C=a.C;this.ye=a.ye;uT(this,function(){c.stop();k6(c,!1,!0)})};V(l6,Yg);l6.prototype.getStats=function(){return[this.h,this.H,this.g,this.Ob,this.active,!!this.A,this.Db,this.mb]};l6.prototype.gd=function(){return this.g};
var WHa=function(a,b){b>a.g&&(a.log("Changes processed up to "+b.toString()),a.g=b,m6(a)&&a.B&&a.context.oc.setValue("InitialChanges",b+"/"+(a.H||"?")))},XHa=function(a,b){b>a.H&&(a.log("Changes scheduled up to "+b.toString()),a.H=b)};l6.prototype.nk=function(){this.h>=0&&!this.active&&this.start(this.g)};
var n6=function(a){if(!a.active)return Promise.reject(Error("id"));if(a.A)return a.A;a.j=m6(a)?dq(a.context.N,106003):null;a.pa=a.gd();a.Db=a.context.gb().g();a.mb=O1(a.context.gb());var b=YHa(a).then(function(){k6(a,!0,!1)},function(c){k6(a,!1,!1);if(a.reason===305)throw c;});return a.A=b},k6=function(a,b,c){a.A=null;if(a.j){var d=fq(a.j);d=Sp(d,rAa,4);d=H(d,3,b);d=H(d,2,a.ab());d=H(d,4,a.B);d=K(d,1,a.ha);c=H(d,5,c);c=K(c,6,a.gd()-a.pa);K(c,7,a.gd()-a.h);v_(a.j)}a.j=null;a.pa=null;a.ha=0;(c=a.B)&&
b&&(a.B=!1);m6(a)&&c&&(b&&e6(a.context),a.context.oc.setValue("InitialChanges",b?"finished":"failed"))},YHa=function(a){var b=rja(sja(YI(qja(new XI,a.g+1),1E3),a.teamDriveId),Vt(new P,a.reason));a.reason===305&&tja(YI(b,4E3));var c=new py;D4(a.context).then(function(d){return d.route(b,{timestamp:Date.now()})}).then(function(d){c.resolve(ZHa(a,d))},function(d){var e=c.reject;if(d instanceof fn){d=co(d,"Change log processing failed with ReportableError");var f=d.na;if(am(f,10)===48&&a.teamDriveId){a.log("Permanently disabling and propagating a TD deletion for "+
(a.teamDriveId+" due to TEAM_DRIVE_MEMBERSHIP_REQUIRED"));var g=MI(OI(LI(new KI,a.teamDriveId),a.teamDriveId));a.context.fa().hb([g]);a.stop()}else am(f,10)===4?(a.log("Permanently disabling change processor due to a RESOURCE_NOT_FOUND error."),a.stop()):am(f,14)===22?(a.log("Permanently disabling change processor due to a FORBIDDEN_REQUEST error."),a.stop()):($Ha(a),am(f,14)===2||am(f,10)===7||eo(f)||(g="Error restarting change processor for a DsError. Inactive time:"+((a.D?(Date.now()-a.D)/1E3:
null)+"s ResponseCode:")+Zt(f,15)+(" ErrorReason:"+am(f,10))+(" Subscribed: "+m6(a)),f=new fn("b/74491949: Error restarting change processor",f),ok(g,f,"warning")))}else d=co(d,"Change log processing failed with non-ReportableError"),g="Error restarting change processor for non-DsError. Inactive time:"+((a.D?(Date.now()-a.D)/1E3:null)+"s"),f=new fn("b/74491949: Error restarting change processor for non-DsError",void 0,d),ok(g,f,"warning"),$Ha(a);e.call(c,d)});return c.promise},ZHa=function(a,b){a.D=
Date.now();for(var c=z(b,KI,4,B(tu)),d=q(c),e=d.next();!e.done;e=d.next())(e=e.value.getItem())&&Tx(e,3);d=a.context.fa();if(m6(a)){var f=[];e=[];c=q(c);for(var g=c.next();!g.done;g=c.next()){g=g.value;let k=D(g,2),m=g.getItem();if(N(g,3)||!m)f.push(g);else{var h=d.Ha.g(k);h=h?CH(h):[];let p=CH(m);h.filter(function(t){return!p.includes(t)}).length?e.push(k):f.push(g);aIa(d,k)}}c=f;e.length&&(a.log("Refreshing ids to check for missing parents: "+e.join(",")),f=Vt(new P,1498),g5(d.Kc,e,f))}a.qb(c);
a.ha++;a.Ob++;return bIa(a,b)};l6.prototype.qb=function(a){this.context.fa().hb(a);this.context.Nb.hb(a,this.teamDriveId);this.context.Od().hb(a)};var bIa=function(a,b){var c=Ug(gq(b,3))||0;b=Ug(gq(b,2))?Ug(gq(b,2))-1:c;b<=a.gd()&&a.Ea++;a.reason===305||XHa(a,c);WHa(a,b);if(a.g<a.H&&a.Ea<2)return YHa(a);a.Ea=0;return Promise.resolve()};
l6.prototype.start=function(a){if(!this.active){var b;if((b=XJ(this.C))==null||!N(b,21)||this.ye.g)this.active=!0,this.h<0?(this.h=a,WHa(this,this.h),this.log("Starting at "+this.gd())):this.log("Restarting at "+this.gd()),this.Pa()}};l6.prototype.stop=function(){this.K&&(clearTimeout(this.K),this.K=null);this.active&&(this.log("Stopping change processor at: "+this.g),this.active=!1,this.Ua())};
var $Ha=function(a){if(a.reason===305)a.stop();else{a.log("Temporarily disabling change processor.");a.stop();var b=Gq(a.C);b=Sg(Cq(b,24,jc(36E5)))+Math.random()*Sg(Cq(b,7,jc(9E5)));a.K=setTimeout(function(){a.start(a.g)},b)}};l6.prototype.log=function(a){this.context.ia(this.logName).info((m6(this)?"Subscribed":this.reason===305?"Backfill":this.teamDriveId)+": "+a)};var m6=function(a){return a.reason!==305&&a.teamDriveId===null};l6.prototype.ab=function(){return!1};var o6=function(a,b){l6.call(this,a,null);this.F=b;this.reason=305;this.logName="sync.change.BackfillChangeProcessor";b.getSize()};V(o6,l6);o6.prototype.run=function(a,b){XHa(this,b);this.start(a);return n6(this)};o6.prototype.qb=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&this.F.update(y0(new v0(b)))};o6.prototype.Pa=function(){};o6.prototype.Ua=function(){};var p6=function(a){F5.call(this,a,a.ia("sync.cache.SdkCachePopulator"));this.B=0;this.F=Math.ceil(Rl(a.C,31,2E4)*1.1)};V(p6,F5);p6.prototype.run=async function(){if(!N(this.C,46))throw G5(this,5),this.handleError(),Error("jd");this.I.info("Drive SDK cache population initiated.");await q6(this.context.fa());this.B=await this.context.Dj.promise;await cIa(this);try{await dIa(this)}catch(a){throw this.handleError(),a;}};
var cIa=async function(a){B0(a.context.Oa,"L6uQWd");a.context.Gc.promise.then(function(b){r6(b)});if(N(a.C,46)){let b=await Sfa(D4(a.context),a.context.S,a.context.C);if(!b)throw G5(a,4),Error("kd");zGa(a,b)}else a.I.info("Subscribed corpus cache population disabled."),J4(a.g,!1)},dIa=async function(a){e6(a.context);if(a.g.wc){var b=g6(a.context.Nb,null);a.g.ob(5);try{if(a.g.g)a.I.info("Starting linked corpus cache population."),await (new o6(a.context,a.g)).run(0,a.B);else{a.I.info("Starting subscribed corpus cache population.");
let d=IJ(a.g.X(),a.F),e=new j5(a.context,a.g,d);a.h=e;await e.run();a.h=void 0;e.dispose()}var c=a.g;c.wc?(c.yc(0),a.j>0&&(a.D=Math.round(100*c.getSize()/a.j),a.I.info("Corpus cache backfill rate: "+a.D+"%")),a.dispatchEvent(new p5(c,b))):(a.I.info("Subscribed corpus cache disabled, too many backfill items."),a.context.oc.setValue("CachedCorpusType","errorUncachedCorpus"))}catch(d){throw c=d,a.h&&(a.h.dispose(),a.h=void 0),G5(a,7),Yn(c)?c:c instanceof J_?Zn(c.error):Error("ld`"+c);}finally{eIa(a)}}},
eIa=function(a){a.context.Vh.promise.then(function(){j6(a.context.Nb,null)})};p6.prototype.handleError=function(){this.I.info("Drive SDK cache population failed.");B0(this.context.Oa,"Gv4zef")};p6.prototype.ra=function(){return 5};var s6=function(a,b){Yg.call(this);this.context=a;this.ea=b;this.j=[];this.ma=new bi(this);this.impression=null;this.I=a.ia("sync.cache.CorpusCachePopulatorManager");this.Da(this.ma);this.g=new b6(this.context,this.context.M);this.Da(this.g);this.h=new p6(this.context);this.Da(this.h)};V(s6,Yg);
s6.prototype.run=function(){var a=this;this.I.info("Corpus cache population initiated.");this.impression=dq(this.context.N,106002);g6(this.context.Nb,null);var b=this.context.cd;b?(this.ma.listen(this.g,o5,this.A.bind(this)),this.ma.listen(this.h,o5,this.A.bind(this)),(N(this.context.C,10)||Xy(this.context.C)||!$k(this.context.C,69)?Promise.resolve():this.context.we.promise).then(function(){return b.initialize().then(function(){a.I.info("Dump storage initialized.");a.impression&&(a.g.h=a.impression);
a.context.Zf(1);return a.g.run().then(function(){a.context.Zf(2);return fIa(a,a.g.ra(),a.g.F)},function(c){a.context.Zf(3);gIa(a,a.g.ra(),a.g.failureReason,a.g.F);if(Xy(a.context.C))c=Zn(c),c.message="Failed to load persistence cache on coldstart: "+c.message+" <eye3 title='coldstart persistence cache load failure'/>",a.handleError(c,21);else return a.context.Zf(4),a.h.run().then(function(){a.context.Zf(5);return fIa(a,a.h.ra())},function(d){a.context.Zf(6);gIa(a,a.h.ra(),a.h.failureReason);a.handleError(d,
N(a.h.C,46)?23:void 0)})})},function(c){a.handleError(Yn(c)?c:void 0,22)})})):this.handleError(void 0,void 0)};s6.prototype.A=function(a){var b=a.cache;this.I.info("Cache populated: "+b.getType());this.j.push(hIa(this,b,a.changes))};
var fIa=function(a,b,c){j6(a.context.Nb,null);B0(a.context.Oa,"L6uQWd");a.context.Gc.promise.then(function(d){r6(d)}).catch(function(){});return Promise.all(a.j).then(function(){iIa(a,b,c)})},iIa=function(a,b,c){if(!a.isDisposed()){a.I.info("Corpus cache population complete.");var d=a.context.Oa;d.g("mrK8ic")?d.g("Gv4zef")||a.context.lb.bi():KGa(a.context.Dc).then(function(e){e&&a.context.lb.bi()},function(){});B0(d,"rVezo");B0(d,"BNEDtc");a.impression&&(b=q_(Ura,0,b),mAa(t6(a.impression),b),lAa(t6(a.impression),
!0),nAa(t6(a.impression),TEa(a.ea.Ha)),t6(a.impression).yc(a.context.fa().Hb()),c!==void 0&&oAa(t6(a.impression),c),c=a.h.D,c!==void 0&&pAa(t6(a.impression),c),v_(a.impression));a.dispose()}},gIa=function(a,b,c,d){a.impression&&(b=q_(Ura,0,b),mAa(t6(a.impression),b),b=t6(a.impression),jq(b,3,c),d!==void 0&&oAa(t6(a.impression),d))};
s6.prototype.handleError=function(a,b){j6(this.context.Nb,null);var c=this.context.Oa;B0(c,"L6uQWd");this.context.Gc.promise.then(function(e){r6(e)}).catch(function(){});B0(c,"mrK8ic");B0(c,"Gv4zef");B0(c,"rVezo");B0(c,"BNEDtc");this.context.oc.setValue("CachedCorpusType","partialCorpus");var d;((d=Q(this.context.C,Ry,34))==null?0:Uy(d))&&!N(this.context.C,46)&&this.context.lb.bi();c=!!this.g.context.cd||N(this.h.C,46);b&&c?(d=void 0,c="Corpus population failed",a&&(Yn(a)?(d=a,c+=": "+d.message):
c+=": "+String(a)),this.I.info(c),a=new fn(c,void 0,d),tL(Ct(Vn(Un(a.na,Xy(this.context.C)?3:1),b),c)),this.context.dispatchEvent(new t0(a))):this.I.info("Corpus population skipped");this.impression&&(lAa(t6(this.impression),!1),v_(this.impression));this.dispose()};var hIa=function(a,b,c){c=q5(b,c,a.context.ae);return yqa(jIa,c).then(function(d){d.some(function(e){return b instanceof i5&&N(e,3)&&C(e,2)===b.teamDriveId})||u6(a.ea,b,d)},function(){a.handleError(Error("md"),24)})},jIa=new wqa;var w6=function(a,b){this.M=b;a=a.ia("sync.cache.FieldsCache");this.g=new v6(this.M,a);this.h=new v6(this.M,a)},x6=function(a,b){b=a.M.mg(b);kIa(a.g,b)},SEa=function(a,b,c){var d=[],e=[];b=q(b);for(var f=b.next();!f.done;f=b.next())f=f.value,rA(f)?d.push(f):e.push(f);d.length&&y6(a.h,d,c);e.length&&y6(a.g,e,c)};w6.prototype.update=function(a,b,c){b&&rA(b)?this.h.update(a,b,c):this.g.update(a,b,c)};w6.prototype.tc=function(a){this.g.tc(a);this.h.tc(a)};
w6.prototype.clear=function(){this.g.clear();this.h.clear()};var v6=function(a,b){this.M=a;this.I=b;this.g=new Map};v6.prototype.get=function(a){return this.g.get(a)};v6.prototype.Re=function(){return[].concat(r(this.g.keys()))};v6.prototype.has=function(a){return this.g.has(a)};
var lIa=function(a,b){var c=[];a=q(a.g.entries());for(var d=a.next();!d.done;d=a.next()){d=q(d.value);let e=d.next().value;d.next().value.Qb(b)&&c.push(e)}return c},kIa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.g.has(c)||(a.I.info("Creating field cache for field: "+c),a.g.set(c,new mIa(c,a.M)))},y6=function(a,b,c){b=q(b);for(var d=b.next();!d.done;d=b.next()){let f=d.value;d=q(c);for(var e=d.next();!e.done;e=d.next())e=e.value,a.g.has(e)&&a.g.get(e).Ib(f);(d=bz(f))&&y6(a,
[d],c)}};v6.prototype.update=function(a,b,c){for(var d=new Set(c),e=q(this.g.entries()),f=e.next();!f.done;f=e.next()){var g=q(f.value);f=g.next().value;g=g.next().value;if(d.has(f))if(g.Qb(a)&&!b)g.delete(a);else if(b&&jea(b,[f],this.M)){f=g;g=b;let h=g.J(),k=Ru(new gl,h);f.M.Ib([f.field]).from(g).Wl(k);f.g.set(h,k)}}b&&(a=bz(b))&&this.update(a.J(),a,c);b&&Gt(b,[].concat(r(this.g.keys())),this.M)};v6.prototype.tc=function(a){for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.tc(a)};
v6.prototype.clear=function(){for(var a=q(this.g.values()),b=a.next();!b.done;b=a.next())b.value.clear()};v6.prototype.size=function(){return this.g.size};var mIa=function(a,b){this.field=a;this.M=b;this.g=new Map};l=mIa.prototype;l.Qb=function(a){return this.g.has(a)};l.getItem=function(a){return this.g.get(a)};l.size=function(){return this.g.size};l.Ib=function(a){var b=a.J();(b=this.g.get(b))&&Lt(a,b,[this.field],this.M)};l.delete=function(a){this.g.delete(a)};l.tc=function(a){this.g.delete(a)};
l.clear=function(){this.g.clear()};var z6=function(a,b,c){this.tb=a;this.lc=b;this.S=c;this.U=new Map;this.rootId=""};l=z6.prototype;l.Jb=function(a){!this.rootId&&a&&(this.rootId=a)};l.Xb=function(){return this.U};l.query=function(a,b){var c=[];if(QEa(this.tb,a)){for(var d=q(this.U.values()),e=d.next();!e.done;e=d.next())e=e.value,K4(this.tb,a,e.getItem())&&(b===void 0||HZ(e.kb,b))&&c.push(e);this.lc.sort(a,c)}return c};l.get=function(a){return this.U.get(a==="root"?this.rootId:a)||null};
l.getAll=function(a){var b=[];a=q(a);for(var c=a.next();!c.done;c=a.next())(c=this.get(c.value))&&b.push(c);return b};l.update=function(a){a.g?(a.g.count++,a.h&&a.h.count--,nIa(this,a.g)?this.Hc(a.g):this.U.set(a.id,a.g)):this.Hc(a.h)};var nIa=function(a,b){var c;(c=b.Va()>1||HZ(b.kb,2))||(c=b.getItem(),(c=F(c,26))||(c=b.getItem(),c=F(c,31)===!1));return c||Kx(b.getItem())?!1:b.getId()!==a.rootId};
z6.prototype.tc=function(){for(var a=q(this.U.values()),b=a.next();!b.done;b=a.next())b=b.value,nIa(this,b)&&this.Hc(b)};z6.prototype.Hc=function(a){this.U.delete(a.getId());var b=ZH(a.getItem()),c=a.getItem(),d=this.get(CH(c)[0]);this.log("Deleting "+(b?b+" ":"")+a.getId()+" from "+(c==null?void 0:am(c,82))+((c==null?0:$k(c,7))?" trashed":"")+((c==null?0:$k(c,59))?" tombstoned":"")+(" parent: "+(d==null?void 0:d.getId()))+(" backfill: "+(d==null?void 0:d.g)+"."));a.count--};z6.prototype.log=function(a){this.S.ia("sync.cache.FindByIdCache").info(a)};var oIa=function(a){$g.call(this,A6);this.people=a};V(oIa,$g);var A6="v";var B6=function(a,b,c){c=c===void 0?0:c;this.person=a;this.la=c;this.g=!1;this.references=new Set(b?[b]:[]);c===6&&(this.g=!0)};B6.prototype.ra=function(){return this.la};
var C6=function(a){return a.la===0?1:a.la===2||(a.la===1||a.la===4)&&(R(a.person,3)||a.g)?3:2},qIa=function(a,b,c){var d=C(b,1);var e=a.person.clone();e=C(e,1);if(d!==e)return!1;c===6&&(a.g=!0);d=C6(a);e=b;e=!(a.person.getName()||!e.getName());var f=b;f=!(C(a.person,3)||!C(f,3));var g=a.ra();return(c===4?0:g===1?c===1:g===5||g===6||g===2||g===4?c!==0&&g!==c:1)?(b=Vw(Ww(b.clone(),a.getName(b)),pIa(a,b)),e=!Np(a.person,b),a.person=b,a.la=c,e||d!==C6(a)):c===4?(a.la=c,c=a.person,b=Ug(gq(b,6)),O(c,6,
b),d!==C6(a)):e||f?(e&&Ww(a.person,a.getName(b)),f&&Vw(a.person,pIa(a,b)),!0):!1};B6.prototype.getName=function(a){var b=C(this.person,2);a=C(a,2);return!a&&b&&b.length!==0?b:a};var pIa=function(a,b){a=C(a.person,3);b=C(b,3);return!b&&a&&a.length!==0?a:b};var D6=function(a,b){$g.call(this,rIa);this.ids=a;this.error=b};V(D6,$g);D6.prototype.getError=function(){return this.error};var rIa="w";var tIa=function(a){$g.call(this,sIa);this.people=a};V(tIa,$g);var sIa="x";var E6=function(a,b,c,d){oh.call(this);var e=this;this.C=a;this.S=b;this.j=c;this.h=d;this.g=[];this.B=new JW(function(){uIa(e)},100,this)};V(E6,oh);E6.prototype.run=function(a){a&&Lp(this.C)&&(this.g.includes(a)||this.g.push(a),this.B.nf())};
var uIa=function(a){a.h.then(function(){for(;a.g.length;){let b=a.g.splice(0,240);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.g.length+" "+b));vIa(a,b).catch(function(c){ok("Failure querying for people. Size:"+b.length+". Pending:"+(a.g.length+" id:"+b),Zn(c),"warning")})}})},vIa=function(a,b){return a.j.then(function(c){var d=c.route;var e=new zP;e=rs(e,1,b);return d.call(c,e)}).then(function(c){c=z(c,Uw,1,B());a.dispatchEvent(new tIa(c))}).catch(function(c){c=co(c);a.dispatchEvent(new D6(b,
c))})};E6.prototype.log=function(a){this.S.ia("sync.query.PeopleQueryRunner").info(a)};yD(cz,Yg);l=cz.prototype;l.Gn=function(a){this.B=arguments;this.h=!1;this.g?this.A=oj()+this.F:this.g=Bj(this.D,this.F)};l.stop=function(){this.g&&(n.clearTimeout(this.g),this.g=null);this.A=null;this.h=!1;this.B=[]};l.pause=function(){++this.j};l.resume=function(){this.j&&(--this.j,!this.j&&this.h&&(this.h=!1,this.H.apply(null,this.B)))};l.ya=function(){this.stop();cz.Fb.ya.call(this)};
l.Hn=function(){this.g&&(n.clearTimeout(this.g),this.g=null);this.A?(this.g=Bj(this.D,this.A-oj()),this.A=null):this.j?this.h=!0:(this.h=!1,this.H.apply(null,this.B))};var F6=function(a,b,c,d,e){oh.call(this);var f=this;this.h=new Set;this.g=new Map;this.j=new Map;this.ma=new bi(this);this.Da(this.ma);this.N=d;this.I=b.ia("sync.cache.PeopleCache");d=Q(a,SJ,85)||new SJ;this.F=Sg(Cq(d,1,jc(864E5)));this.B=new E6(a,b,c,e);this.D=new cz(function(){var g,h=(g=f.N)==null?void 0:M3(g,106015);h&&(g=fq(h),g=Sp(g,OAa,11),g=K(g,1,f.g.size),K(g,2,f.h.size),v_(h))},500,this);this.ma.listen(this.B,sIa,function(g){OHa(f,g.people,1);f.D.Gn()});this.ma.listen(this.B,rIa,function(g){wIa(f,
g)})};V(F6,oh);F6.prototype.get=function(a){var b=this.g.get(a);return b?(xIa(this,b)&&G6(this,a).catch(function(){}),b):null};var H6=function(a,b){return yIa(a,b)?Promise.resolve(a.g.get(b)):G6(a,b).then(function(){return a.g.get(b)})};F6.prototype.ib=function(){return this.g.size===0};F6.prototype.clear=function(){this.I.info("Clearing the PeopleCache.");this.g.clear();this.h.clear()};
var zIa=function(a){return[].concat(r(a.g.values())).filter(function(b){return C6(b)===3&&b.ra()!==4}).map(function(b){return b.person.clone()})},AIa=function(a,b){return(a=a.g.get(b))?[].concat(r(a.references)):[]},BIa=function(a,b,c){c=q(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;let e=a.g.get(d);e&&(e.references.delete(b),[].concat(r(e.references)).length===0&&(a.g.delete(d),a.h.delete(d)))}},OHa=function(a,b,c){if(![1,2].includes(c))throw Error("nd");b.length!==0&&(a.I.info("Importing "+
b.length+" from "+(Object.keys(Tka)[c]+".")),CIa(a,b,c))},I6=function(a,b,c,d){b.length!==0&&DIa(a,b,c,d===void 0?0:d)},yIa=function(a,b){b=a.g.get(b);return!(!b||C6(b)!==3||xIa(a,b))},G6=function(a,b){if(!b)return Promise.resolve();if(a.j.has(b))return a.j.get(b).promise;a.B.run(b);var c=new py;a.j.set(b,c);return c.promise},DIa=function(a,b,c,d){d=d===void 0?0:d;var e=!1;b=q(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=D(f,1),h=a.g.get(g);h?(qIa(h,f,d)&&(e=!0),c&&h.references.add(c)):
d!==4&&(e=!0,EIa(a,f,d,c));e&&d===1&&(f.getName()?a.h.delete(g):a.h.add(g))}return e},xIa=function(a,b){switch(b.ra()){case 1:case 2:var c=b.person.clone();if(!(c=!nE(c,5))){c=Date.now();var d=Number;b=b.person.clone();b=gq(b,5);c=c-d(b)>a.F}return c;case 4:return a=Date.now(),c=Number,b=b.person.clone(),b=gq(b,6),a-c(b)>1E3;default:return!0}},EIa=function(a,b,c,d){c!==1&&c!==2&&G6(a,D(b,1)).catch(function(){});c=new B6(b,d,c);a.g.set(D(b,1),c)},wIa=function(a,b){b=b.ids.map(function(c){var d=a.g.get(c);
return d?d.person.clone():Tw(new Uw,c)});CIa(a,b,4)},CIa=function(a,b,c){for(var d=Date.now(),e=q(b),f=e.next();!f.done;f=e.next()){var g=f.value;f=D(g,1);c===1?O(g,5,d):c===4&&O(g,6,d);if(g=a.j.get(f))g.resolve(),a.j.delete(f)}DIa(a,b,void 0,c)&&a.dispatchEvent(new oIa(b))};var J6=function(a,b,c,d,e){oh.call(this);var f=this;this.ma=new bi(this);this.Da(this.ma);this.C=a;this.g=new F6(a,b,c,d,e);this.ma.listen(this.g,A6,function(g){return f.dispatchEvent(g)})};V(J6,oh);var O6=function(a,b){if(b.g){let c=b.g.getItem(),d=K6(a,[c]).map(function(f){return L6(f)}),e=M6(a)?N6(a,[c]).map(function(f){var g=x(f,1);g=Ww(Tw(new Uw,g),D(f,2));f=Xw(new Yw,D(f,3));return I(g,4,f)}):[];I6(a.g,[].concat(r(d),r(e)),b.g.getId(),a.ra(am(c,82)))}b.h&&BIa(a.g,b.id,FIa(a,b))};
J6.prototype.ra=function(a){return GIa.get(a)||0};
var FIa=function(a,b){var c=HIa(a,b.h),d=HIa(a,b.g);return c.filter(function(e){return!d.includes(e)})},HIa=function(a,b){return b?IIa(a,[b.getItem()]):[]},PEa=function(a,b){b=Q(b,nv,1);I6(a.g,[L6(b)],"ACCOUNT");JIa(a,b)},LIa=function(a,b){var c=z(b,mP,2,B()).map(function(d){var e=Sp(d,nv,9),f=H6(a.g,D(e,11)).then(function(){P6(a,[e])}),g=Q(d,Yr,12);d=M6(a)&&g&&x(g,1)?H6(a.g,x(g,1)).then(function(){KIa(a,[g])}):Promise.resolve();return Promise.all([f,d])});return Promise.all(c).then(function(){return b})},
VHa=function(a,b){P6(a,K6(a,b));M6(a)&&KIa(a,N6(a,b))},P6=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,C(c,11)&&JIa(a,c)},KIa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())if(c=c.value,x(c,1)){var d=a.g.get(x(c,1));if(d){d=d.person.clone();F(d,7)?G(c,4,2):G(c,4,1);if(D(d,2)){var e=c,f=D(d,2);E(e,2,f)}if(d=Q(d,Yw,4))d=D(d,1),E(c,3,d)}}};
J6.prototype.sync=function(a){var b=this;return Promise.all([].concat(r(a)).map(function(c){return H6(b.g,c)})).then(function(){},function(){})};
var MIa=function(a,b,c){for(var d=new Set,e=q(b),f=e.next();!f.done;f=e.next())f=f.value,C(f,11)&&(d.add(C(f,11)),I6(a.g,[L6(f)],c));return Promise.all([].concat(r(d)).map(function(g){return H6(a.g,g)})).then(function(){return P6(a,b)})},NIa=function(a,b){return IIa(a,[b]).some(function(c){return!yIa(a.g,c)})},IIa=function(a,b){var c=new Set,d=K6(a,b);d=q(d);for(var e=d.next();!e.done;e=d.next())(e=C(e.value,11))&&c.add(e);a=M6(a)?N6(a,b):[];a=q(a);for(b=a.next();!b.done;b=a.next())(b=x(b.value,1))&&
c.add(b);return[].concat(r(c))},K6=function(a,b){return b.map(function(c){var d=Q(c,IA,85);d=d?[].concat(r(z(d,nv,2,B())),r(z(d,nv,3,B()))):[];var e=il(c);e=(e=e&&Hx(e))?K6(a,[e]):[];return[].concat(r(Oz(c)),[Q(c,nv,17),Q(c,nv,47),Q(c,nv,91),Q(c,nv,95)],r(d),r(e))}).flat().filter(function(c){return c&&!!C(c,11)})},N6=function(a,b){return M6(a)?b.flatMap(function(c){var d=il(c);d=(d=d&&Hx(d))?N6(a,[d]):[];return[Q(c,Yr,172),Q(c,Yr,173),Q(c,Yr,174),Q(c,Yr,175)].concat(r(d))}).filter(function(c){return!(c==
null||!x(c,1))}):[]},OIa=function(a,b){return AIa(a.g,b).filter(function(c){return c!=="ACCOUNT"})},PIa=function(a,b){a=a.g.get(b);return!(!a||a.ra()!==1&&a.ra()!==4||C6(a)===3)},QIa=function(a){return Rw(new Sw,zIa(a.g))},RIa=function(a,b){return b.map(function(c){c=c.clone();var d=K6(a,[c]);d=q(d);for(var e=d.next();!e.done;e=d.next())e=S(e.value,3),e=S(e,8),S(e,5);if(M6(a))for(d=q(N6(a,[c])),e=d.next();!e.done;e=d.next())e=S(e.value,2),S(e,3);return c})},JIa=function(a,b){var c=a.g.get(C(b,11));
c&&(a=c.person.clone(),D(a,2)&&Pr(b,D(a,2)),D(a,3)&&Or(b,D(a,3)),c=C6(c),G(b,16,c),(a=Q(a,Yw,4))&&Tr(b,D(a,1)))},L6=function(a){var b=C(a,11);b=Vw(Ww(Tw(new Uw,b),D(a,3)),D(a,8));a=Xw(new Yw,D(a,5));return I(b,4,a)},M6=function(a){var b,c;return(c=(b=XJ(a.C))==null?void 0:N(b,95))!=null?c:!1},GIa=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);var SIa=function(a,b){this.context=a;this.h=b;this.g={}},R6=function(a,b){if(b instanceof aQ)b.ta().forEach(function(d){Q6(a,d,b)});else if(!Vl(b)){var c=sz(b);if(c.length===1)Q6(a,c[0],b);else{c=uz(b);if(c.length===1&&!c[0].Qa()){let d=C(c[0],1);c=a.h.get(d);if(!c){c=a.context.fa().Kc;let e=Vt(new P,310);g5(c,[d],e).then(function(f){if((f=f[d])&&ZH(f)){let g=vr(f);g&&fH(g)&&(f=ZH(f),Q6(a,f,b))}else Q6(a,null,b)}).catch(function(f){ok("CacheRefresher failed to refresh parent:"+d,Zn(f),"warning")});
return}if(ZH(c.getItem())&&fH(vr(c.getItem()))){c=ZH(c.getItem());Q6(a,c,b);return}}Q6(a,null,b)}}},Q6=function(a,b,c){if(b){var d=a.h.get(b);if(d&&!rA(d.getItem()))return}d=b||"subscribed";a.g[d]||(a.g[d]=[]);a.g[d].push(c);b&&(a.context.Gc.promise.then(function(e){h6(e,b)}).catch(function(e){ok("Failed getting change manager for tracking shared drive:"+b,Zn(e),"warning")}),TIa(a.context.ai.get(),b))},T6=function(a,b){if(!(b instanceof pn&&Vl(b)))for(var c=q(Object.entries(a.g)),d=c.next();!d.done;d=
c.next()){d=q(d.value);let e=d.next().value;d=d.next().value;for(let f=0;f<d.length;f++)Np(b,d[f])&&(Ma(a.g[e],f),e!=="subscribed"&&a.context.Gc.promise.then(function(g){S6(g,e,!1)}).catch(function(g){ok("Failed getting change manager to stop tracking shared drive:"+e,Zn(g),"warning")}))}},DFa=function(a,b){return a.g[b||"subscribed"]||[]};var UIa=function(a,b){this.g=new Map;this.h=b;this.Cg(z(a,Qt,91,B()))};UIa.prototype.Cg=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=C(c,1);c=C(c,2);if(!b||!c)break;let d=nB(this,b);if(d){d!==c&&Dt(b);break}this.g.set(b,c)}};
var bea=function(a,b){return[].concat(r(new Set(b))).map(function(c){var d=GJ(new Qt,c);a.g.has(c)?HJ(d,a.g.get(c)):a.h&&(c=a.h.g(c))&&HJ(d,D(c,140));return d}).filter(function(c){return R(c,2)})},nB=function(a,b){return a.g.has(b)?String(a.g.get(b)):a.h&&(a=a.h.g(b))&&R(a,140)?C(a,140):null};var VIa=function(a){this.eb=a;this.g=new Map;this.h=[];this.j=[]};
VIa.prototype.update=function(a){var b=(a.h||a.g).getItem();if(hl(b)){var c=a.id,d=a.h,e=a.g;if(e){if(d=il(e.getItem())){e=C(d,1);var f=am(d,4);e&&[1,3].includes(f)&&(this.g.has(e)||this.g.set(e,new Set),this.g.get(e).add(c),c=C(d,1),e=Hx(d),(d=(e==null?0:R(e,140))?C(e,140):C(d,7))&&this.eb.Cg([HJ(GJ(new Qt,c),d)]))}}else if(!e&&d)for(d=q(this.g.entries()),e=d.next();!e.done;e=d.next())f=q(e.value),e=f.next().value,f=f.next().value,f.delete(c)&&f.size===0&&this.g.delete(e)}this.g.has(b.getId())&&
(c=b=a.id,d=a.h,a.g===null&&d!==null&&this.g.has(c)?(this.h.push.apply(this.h,r(this.g.get(b))),this.g.delete(b)):(c=a.h,d=a.g,this.g.has(a.id)&&d&&(c?!Np(d.getItem(),c.getItem()):1)&&this.j.push.apply(this.j,r(this.g.get(b)))))};var WIa=function(a){return a.j.filter(function(b){return!a.h.includes(b)})},XIa=function(a){a.h=[];a.j=[]};var U6=function(a,b){Q_.call(this,a.clone(),D4(b),b.S);this.context=b};V(U6,Q_);U6.prototype.B=function(a){for(var b=new Map,c=q(a.ta()),d=c.next();!d.done;d=c.next()){d=d.value;let e=a.clone().Wb([d]);b.set(d,e)}return b};U6.prototype.j=function(a){a=a.Ma()[0];this.context.fa().Ka([a],1,void 0,!0,this.request.za())};U6.prototype.D=function(a){this.context.fa().Ka([],1,a,!1,this.request.za(),1)};U6.prototype.F=function(a){a=MI(LI(new KI,a));this.context.fa().hb([a])};var V6=function(a,b){U4.call(this,a,"sync.cache.TeamDriveIdViewCache",!0);this.request=b;this.g=0;b=a.M;this.h=new Set([].concat(r(a.Jc.nb()),r(b.nb())))};V(V6,U4);l=V6.prototype;
l.refresh=function(){var a=this;T4(this,6);var b=this.request.za().some(function(e){return!a.h.has(e)}),c=[];this.request.ta().forEach(function(e){var f=a.Ub.get(e);f&&aI(f.getItem())&&!b||c.push(e)});this.g=this.request.ta().length-c.length;if(c.length===0)return this.Ka([],!1),DW();var d=this.request.clone();d.Wb(c);d=new U6(d,this.context);if(this.context.gb().g()){let e=this.getSize()>0;T4(this,e?1:2)}return d.run()};l.wh=function(a){var b=this;return this.context.pb.equals(a,this.request)&&a.za().every(function(c){return b.h.has(c)})};
l.fc=function(a){for(var b={},c=q(this.Ub.entries()),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;b[d]=(e==null?void 0:e.getItem())||null}c=XZ(new wo(b,this.ra()),this.g).setStatus(this.bc);W4(this,a.za(),b);return c};l.resize=function(){};l.X=function(){return this.request};l.kc=function(a){return this.request.ta().includes(a.getId())};l.oe=function(){return!0};l.Hc=function(){return!0};l.Ai=function(){return!0};l.ii=function(){};var YIa=function(a,b,c,d){this.h=b;this.results=c;this.g=[];this.I=d.ia("sync.query.runner.internal.QueryRunnerHealthMonitor");this.Ri=a.Ri;this.Qi=a.Qi},$Ia=function(a){ZIa(a);return a.g.length===0?0:Math.max.apply(Math,r(a.g.map(function(b){return b.status})))},ZIa=function(a){var b=a.h.B+1;if(!(b<a.Ri)){var c=a.h.pageCount+1,d=a.results.ids.size,e=[W6(a,"MAX_NUMBER_OF_REQUESTS",function(f){return b>f}),W6(a,"MAX_NUMBER_OF_PAGES",function(f){return c>f})];c>0&&e.push(W6(a,"MAX_REQUESTS_TO_PAGES_RATIO",
function(f){return b/c>f}));b>0&&e.push(W6(a,"MIN_RESULTS_PER_REQUEST_RATIO",function(f){return d/b<f}));a.g=e}},W6=function(a,b,c){var d=a.Qi[b];if(!c(d.ph))return{status:0,type:b};if(!c(d.bh))return a.I.Ba("Query runner exceeded warning threshold "+b),{status:1,type:b};a.I.Ba("Query runner exceeded error threshold "+b);return{status:2,type:b}};var aJa=function(){this.ids=new Set;this.h=0;this.g=new Set},bJa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())c=c.value,a.ids.has(c)?a.h++:a.ids.add(c)};var X6=function(){this.state=1;this.token=void 0};X6.prototype.set=function(a){a===void 0||a===""?(this.token=void 0,this.state=2):(this.token=a,this.state=3)};X6.prototype.ib=function(){return this.state===2};X6.prototype.value=function(){return this.token};var Y6=function(a,b){this.results=a;this.I=b;this.continuationToken=new X6;this.j=this.h=!1;this.g=null;this.A=!1;this.maxResults=0;this.pageCount=this.B=-1;this.Pf=!1},Z6=function(a,b){a.g&&(b?a.g.reject(b):a.g.resolve());a.j=!1;a.g=null},cJa=function(a){a.B++;a.A=!0};Y6.prototype.Wc=function(){return this.j};var dJa=async function(a){a.j&&(a.g||(a.g=new py),await a.g.promise)};Y6.prototype.Vc=function(){return!this.h||!this.continuationToken.ib()||this.A};var eJa=function(a,b,c,d){this.h=a;this.sessionId=b;this.N=d;this.g=null;this.I=c.ia("sync.query.item.runner.internal.SearchItemsEventLogger")},hJa=function(a,b,c){var d=c.pageNumber,e=c.Uq;a.g!==null&&(a.I.Ba("startImpression called before previous impression was finalized."),$6(a));var f;if(c=(f=dq(a.N,106041))!=null?f:void 0){var g;let h;f=(h=(g=Q(b,oS,2))==null?void 0:Rl(g,1))!=null?h:0;b=fJa[bl(b,3)];g=R2(Q2(g3(c).yb(56),2),s_(1));K(g,7,f);g=a7(c);g=E(g,1,a.h);g=K(g,16,a.sessionId);f=K(g,4,f);
d=K(f,2,d);d=K(d,3,e);d=G(d,17,b);O(d,7,Date.now())}a.g=new gJa(c)},$6=function(a){var b;if(a.g){var c=a.g,d=c.responses;var e=new Set;var f=new Set;var g=0;for(var h=q(d),k=h.next();!k.done;k=h.next()){var m=k.value;k=q(z(m,gl,2,B()));for(var p=k.next();!p.done;p=k.next())(p=p.value.J())&&e.has(p)?g++:p&&e.add(p);k=q(z(m,gl,1,B()));for(m=k.next();!m.done;m=k.next())(m=m.value.J())&&f.add(m)}d=!((b=d[d.length-1])==null||!x(b,4));f=f.size;e=e.size;b=d;(d=c.bb)!=null&&(d=a7(d),f=K(d,5,f),e=K(f,6,e),
g=K(e,12,g),H(g,14,b));if(c.bb&&(f=a7(c.bb),g=z(f,T2,15,B()),g.length!==0))if(g.length===1)Rl(g[0],2)===0&&(e=f,g=g[0],Rl(g,3)>0?(g=Cq(g,6),O(e,8,g)):(g=Cq(g,6),O(e,9,g)));else{e=q(g);for(b=e.next();!b.done;b=e.next())d=b.value,Rl(d,3)>0?(b=f,d=Cq(d,6),O(b,8,d)):Rl(d,4)>0&&(b=f,d=Cq(d,6),O(b,9,d));if(!nE(f,8)||!nE(f,9))if(e=f,nE(e,8)||(f=Cq(g[0],6),O(e,8,f)),!nE(e,9))for(b=g.length-1;b>=1;b--)if(f=g[b],Rl(f,2)===0){g=e;e=Cq(f,6);O(g,9,e);break}}let t;(t=c.bb)==null||v_(t);a.g=null}else a.I.Ba("finalize called before impression was started.")},
iJa=function(a,b){if(b=M3(a.N,b)){var c=a7(b);E(c,1,a.h);v_(b)}},gJa=function(a){this.bb=a;this.responses=[]},b7={},fJa=(b7[0]=0,b7[1]=1,b7[2]=2,b7);var c7={},lga=(c7[1]=1,c7[2]=2,c7[3]=3,c7[4]=4,c7[5]=5,c7),d7={},mga=(d7[1]=1,d7[2]=2,d7[3]=3,d7),e7={},nga=(e7[0]=1,e7[1]=2,e7[2]=3,e7[3]=4,e7),f7={},uga=(f7[0]=0,f7[1]=1,f7);var g7=function(a,b){this.state=a;this.C=b.C;this.M=b.M},kJa=function(a,b){var c={};jJa(a,b,c);b=a.G(b);var d=a.h();a=a.C;Ks(c,b);Ls(c,d);c["accept-language"]=Ms(Ns(a));Os(c,b);d.te&&(c["x-goog-no-intercept"]="true");return c},lJa=function(a,b){var c=a.state;c=Math.min(c.maxResults-c.results.ids.size+c.results.h+c.results.g.size,Ex(c.maxResults)-c.results.ids.size,1E3);var d=a.state.continuationToken.value();c=qS(pS(Xs(Yla()),c),d);c=le(c);a=a.g();d=Xs(sla());b=xz(b);b=I(d,1,b);b=I(b,2,c);b=G(b,3,
a);return le(b)},jJa=function(a,b,c){b=au(a.M,b.za());var d;b=Zq(a.M,{fields:b,anonymous:(d=Ns(a.C))==null?void 0:Oq(d)});a=a.M.filter(b).Br(function(e){return dua(e,6)});c["x-goog-fieldmask"]=Wpa(a,b)};var h7=function(a,b){g7.call(this,a,b)};V(h7,g7);h7.prototype.g=function(){return 1};h7.prototype.h=function(){return{}};h7.prototype.G=function(a){var b;a=(b=zq(a,P,30))!=null?b:Lja();return a.g()!==1535?a:Vt(a.clone(),111)};var i7=function(a,b){g7.call(this,a,b)};V(i7,g7);i7.prototype.g=function(){return 2};i7.prototype.h=function(){return{te:!0,criticality:"CgIIAQ=="}};i7.prototype.G=function(a){return zq(a,P,30)};var j7=function(a,b,c,d){Yg.call(this);this.tb=a;this.A=b;this.I=c;this.g=d;this.j=new Set;this.h=new Set;this.Kf=[];this.D=new Set;this.B=new Set;this.F=0};V(j7,Yg);
j7.prototype.Af=function(a){var b=$D(a,gl,1),c=U(a,3,B()),d=$D(a,gl,2),e=x(a,4),f="Search Items StreamResponse ["+(mJa++ +"]["+this.F++ +"]"),g=[];b.length>0&&g.push(" partialItemsList: "+b.length);c.length>0&&g.push("removeItemIdsList: "+c.length);d.length>0&&g.push(" fullItemsList: "+d.length);e!=null&&g.push(" continuationToken: "+e);this.I.info(f+g.join(", "));d=$D(a,gl,1);b=U(a,3,B());e=$D(a,gl,2);c=x(a,4);a=zq(a,sS,5);f=q(b);for(g=f.next();!g.done;g=f.next())this.j.delete(g.value);d=nJa(this,
d);e=nJa(this,e);f=q(d);for(g=f.next();!g.done;g=f.next())g=g.value.J(),this.j.add(g);f=q(e);for(g=f.next();!g.done;g=f.next())g=g.value.J(),this.h.add(g);d=oJa(this,d);e=oJa(this,e);this.Kf.push.apply(this.Kf,r(e));f=new c5;if(hp(a,VO,1)||T(a,2)||cC(a,3)>0){g=Q(a,VO,1);f.g=!1;f.j=g;var h;g=(h=N(a,2))!=null?h:!1;f.g=!1;f.incompleteSearch=g;h=U(a,3,B());f.g=!1;f.h=h}return{Mq:d,Kf:e,pi:b,continuationToken:c,Wj:f}};
var oJa=function(a,b){return b.filter(function(c){var d=a.A;c=c.J();return!d.ids.has(c)})},nJa=function(a,b){return b.filter(function(c){var d=c.J();(c=a.tb(c)||a.D.has(d))&&a.B.add(d);return!c})};
j7.prototype.commit=function(){try{for(var a=q(this.j),b=a.next();!b.done;b=a.next())this.h.has(b.value)}catch(h){throw this.Yf(),co(h);}bJa(this.A,this.h);a=this.A;b=q(this.B);for(var c=b.next();!c.done;c=b.next())a.g.add(c.value);var d,e;(e=(d=this.g).ck)==null||e.call(d,this.Kf);var f,g;(g=(f=this.g).ji)==null||g.call(f);this.dispose()};j7.prototype.Yf=function(){var a,b;(b=(a=this.g).Jq)==null||b.call(a,this.Kf);var c,d;(d=(c=this.g).ji)==null||d.call(c);this.dispose()};var mJa=0;var l7=function(a,b,c,d,e){oh.call(this);var f=this;this.request=a;this.B=b;this.context=c;this.N=d;this.results=new aJa;this.la=1;this.h=void 0;this.j=!1;this.tb=function(m){return Z4(f.context.zb,m)};var g,h;a=(h=(g=Qs(zq(a,P,30)))==null?void 0:D(g,2))!=null?h:aq();k7[a]?k7[a]++:k7[a]=1;g=k7[a];this.I=this.context.ia("sync.query.streaming.StreamingItemQueryRunner");this.g=new eJa(a,g,this.context.S,this.N);this.state=new Y6(this.results,this.I);this.F=new YIa(e,this.state,this.results,this.context.S);
var k;this.D=(k=RJ(zq(this.context.C,Tp,4)))!=null?k:!1;e="Created new streaming query runner, request: "+y3(this.context.pb,this.request,2);this.I.info(e)};V(l7,oh);l=l7.prototype;l.hm=function(a,b){if(!this.state.h){var c=this.state;c.h=!0;bJa(c.results,a);c.continuationToken.set(b)}};
l.gm=async function(a,b,c,d){if(!this.state.h){b.ib()||this.dispatchEvent(new N_(b));b=this.state;b.h=!0;b.j=!0;this.la=d;b=d=pJa(this);var e=b.Af,f=Xs(tla());a=Nu(f,2,a);c=E(a,4,c);c=e.call(b,le(c));qJa(this,c);d.commit();Z6(this.state);this.dispatchEvent(P_)}};l.Wc=function(){return this.state.Wc()};l.Va=function(){return this.results.ids.size};l.X=function(){return this.request};
l.Vg=async function(a){var b=this.state;b.pageCount++;b.maxResults=a;if(this.Wc())await dJa(this.state);else{a=this.state;a.h=!0;a.j=!0;this.D?this.h===void 0?this.h=zq(this.request,P,30).g()===1535?new i7(this.state,this.context):new h7(this.state,this.context):this.h instanceof i7&&(this.h=new h7(this.state,this.context)):this.h||(this.h=new h7(this.state,this.context));a=this.h;try{await rJa(this,a),Z6(this.state)}catch(c){throw a=co(c),Z6(this.state,a),a;}}};
var rJa=async function(a,b){var c=a.state,d=c.results.ids.size<c.maxResults,e=!c.continuationToken.ib();c=!c.A;d&&e&&c&&!a.isDisposed()?await sJa(a,b):a.dispatchEvent(P_)};l7.prototype.Vc=function(){return this.state.Vc()};l7.prototype.Pf=function(){return this.state.Pf};
var sJa=function(a,b){var c=tJa(a);return c?(a.handleError(c),Promise.reject(c)):new Promise(function(d,e){var f=lJa(b,a.request),g=kJa(b,a.request),h=pJa(a);hJa(a.g,f,{pageNumber:a.state.pageCount,Uq:a.state.B});var k=a.results.h;Xla(a.B,f,g).subscribe({next:function(m){var p;if((p=a.g.g)!=null&&p.bb){var t=g3(p.bb);t=kE(t,4,200);kE(t,5,0);t=QAa(200);t=K(t,2,0);var w=z(m,gl,1,B()).length;t=K(t,3,w);w=z(m,gl,2,B()).length;t=K(t,4,w);w=U(m,3,B()).length;t=K(t,5,w);w=!!x(m,4);t=H(t,7,w);w=O(t,6,Date.now());
t=a7(p.bb);Oj(t,15,T2,w);p.responses.push(m)}m=h.Af(m);qJa(a,m)},error:function(m){h.Yf();if(m instanceof pT){var p=iH(new hH,m.code);m=iE(p,2,m.message);m=Es(m)}else m=co(m,"SearchItems: Unknown RPC error");e(m);a.handleError(m)},complete:function(){a:{try{h.commit();let t;if((t=a.g.g)!=null){var m=a.results.h-k;let w;if((w=t.bb)!=null){var p=a7(w);K(p,13,m)}}$6(a.g)}catch(t){m=co(t);a.handleError(m);e(m);break a}d(rJa(a,b))}}})})},pJa=function(a){cJa(a.state);return new j7(a.tb,a.results,a.I,{ck:function(b){a.state.A=
!1;uJa(a,b.map(function(c){return Bd(c)}))},Jq:function(){a.state.A=!1},ji:function(){a.state.Pf=!1}})},qJa=function(a,b){if(!a.isDisposed()){var c=b.Mq,d=b.pi,e=b.Kf,f=b.continuationToken;b=b.Wj;c.length>0&&vJa(a,c);a.state.continuationToken.set(f);b.ib()||a.dispatchEvent(new N_(b));d.length>0&&wJa(a,d);e.length>0&&xJa(a,e)}},vJa=function(a,b){a.state.Pf=!0;b=b.map(function(c){return Bd(c).Zb(6)}).map(function(c){return LI(NI(new KI,c),c.J())});a.dispatchEvent(new M_(b,m7(a)))},wJa=function(a,b){b=
b.map(function(c){return MI(LI(new KI,c))});a.dispatchEvent(new M_(b,m7(a)))},xJa=function(a,b){b=b.map(function(c){return LI(NI(new KI,c),c.J())});a.dispatchEvent(new L_(K_,b,m7(a)))};
l7.prototype.handleError=function(a){this.I.Ba("Error fetching more items: "+a.message,a);var b;if((b=this.g.g)!=null&&b.bb){var c=co(a).na,d=c.Id();c=Aq(c,26);let e=g3(b.bb);d&&kE(e,4,d);c&&kE(e,5,c);d||c||kE(e,5,2);d=QAa(d);d=K(d,2,c!=null?c:2);d=O(d,6,Date.now());b=a7(b.bb);Oj(b,15,T2,d)}$6(this.g);a=a.na;a=new J_(a,a.Qc());this.context.fa().Bg(this.request,a);this.dispatchEvent(a);this.dispose()};
var tJa=function(a){var b=$Ia(a.F);switch(b){case 0:break;case 1:a.j||(iJa(a.g,106054),a.j=!0);break;case 2:return iJa(a.g,106055),new fn("Query runner has entered an infinite loop with high degree of confidence.",Un(new Rn,2));default:uc(b)}},uJa=function(a,b){a.context.fa().Ka(b,1,a.request,a.Vc(),void 0,m7(a))},m7=function(a){var b=a.la;a.la=1;return b},k7={};var n7=function(a){this.g=Zk(a)},o7=function(a){switch(a?a.getType():-1){case 1:return[10];case 2:return[11];case 3:return[32];case 4:return[2];case 6:return[12];case 7:return[25];case 9:return[4];case 10:return[9];case 11:return[67];case 12:return[98];case 14:return[233];default:return null}};n7.prototype.compare=function(a,b,c){Vl(a);b=p7(b);c=p7(c);a=nz(a);var d=o7(a);if(a&&d){d=yJa(d);let e=zJa(this,a.getType());return AJa(a,d,e,b,c)}return Wa(DA(b),DA(c))};
n7.prototype.sort=function(a,b,c){Vl(a);a=nz(a);var d=o7(a);if(a&&d){d=yJa(d);let g={};for(var e=q(b),f=e.next();!f.done;f=e.next()){f=p7(f.value);let h=DA(f);g[h]=d(f)}b.sort(BJa(this,a,g)||Wa)}c&&c>0&&Ta(b,c,b.length-c)};
var p7=function(a){return JI(a)?a:a.getItem()},yJa=function(a){return function(b){var c=CJa(a[0],b);for(let d=1;d<a.length;d++){let e=CJa(a[d],b);c=Wa(e,c)===1?e:c}return c}},zJa=function(a,b){return b===4?a.g:function(c,d){return Wa(c,d)}},BJa=function(a,b,c){return function(d,e){var f=zJa(a,b.getType());d=p7(d);e=p7(e);return AJa(b,function(g){return c[DA(g)]},f,d,e)}},AJa=function(a,b,c,d,e){var f=1===bl(a,2,1)?1:-1;if($k(a,3)){a=jl(d,!0);var g=jl(e,!0);a=a===g?0:a?-1:1}else a=0;return a||f*(c(b(d),
b(e))||Wa(DA(d),DA(e)))},CJa=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.kh()||"";case 4:return $k(b,5)||!1;case 12:let c,d;return hl(b)?Tg((c=il(b))==null?void 0:(d=Hx(c))==null?void 0:gq(d,13,VD))||0:Tg(gq(b,13))||0;case 11:return Tg(gq(b,12))||0;case 10:return Tg(gq(b,11))||0;case 2:return(C(b,3)||"").toLowerCase();case 25:return Tg(gq(b,23))||0;case 32:return Tg(gq(b,28))||0;case 9:return Tg(gq(b,10))||0;case 67:return Tg(gq(b,70))||0;case 98:return Tg(gq(b,96))||0;case 233:let e;
return Tg((e=Q(b,ks,148))==null?void 0:gq(e,3,VD))||0;default:return""}};var q7=function(a,b){U4.call(this,a,"sync.cache.ViewCache");var c=this;this.Yb=null;this.A=0;this.U=[];this.j=void 0;this.incompleteSearch=!1;this.D=[];this.count=0;this.h=null;this.B=!1;this.request=b.clone();this.cacheKey=y3(this.context.pb,b);this.H=this.context.Tp.get();b=nz(this.request)&&o7(nz(this.request));var d=this.context.lc;this.g=b?function(e,f){return d.compare(c.request,e,f)}:null;this.F=DJa(this.request);this.Yl=!b||!this.F||Oq(Xr(a.C))};V(q7,U4);
q7.prototype.refresh=function(){this.I.info(this.ke()+" | Refresh called, currently "+this.getSize()+" items cached");return EJa(this)};
var EJa=async function(a){if(!a.isDisposed())if(N(a.request,48))T4(a,1);else return T4(a,6),FJa(a)},GJa=function(a,b,c,d,e,f){d=d===void 0?"":d;f=f===void 0?[]:f;if(a.h)return a.h;b.length&&(r7(a),a.Yb.hm(b.map(function(g){return g.getId()}),d));a.Ka(b,c,e);f.length&&a.Ka(f,c);a.count>=a.request.Ia()||a.bc===1?a.h=Promise.resolve():a.h=a.refresh();return a.h},r7=function(a){if(HJa(a)){var b;(b=a.request.G())==null||jx(b,!1)}b=a.H.create(a.request,!1);a.ma.listen(b,Csa,function(c){IJa(a,c.Wj)});a.ma.listen(b,
P_,function(c){JJa(a,c)});b instanceof l7&&(a.ma.listen(b,Bsa,function(c){KJa(a,c)}),a.ma.listen(b,K_,function(c){KJa(a,c)}));a.Yb=b},KJa=function(a,b){a.I.info(a.ke()+" | handleQueryRunnerChange called with "+b.changes.length+" changes");for(var c=[],d=[],e=q(b.changes),f=e.next();!f.done;f=e.next()){var g=f.value;if(N(g,3))f=D(g,2),(f=a.Ub.get(f))&&d.push(new w0(f.getId(),f,null));else if(g.Qb()){f=c;var h=f.push;g=new v0(g.getItem());g.j=!0;h.call(f,g)}}hFa(a,c,!0,b.la,!1);X4(a,d)},HJa=function(a){return a.Yb?
(PU(a.ma),a.Yb.dispose(),a.Yb=null,a.A=0,!0):!1},FJa=function(a){r7(a);return a.Qg(a.Yb)};q7.prototype.Qg=function(a){var b=this,c=new py;this.context.gb().g()?this.ma.bf(this.context.gb(),[OY.Gd,OY.ce],function(){LJa(b,a).then(c.resolve,c.reject)}):LJa(this,a).then(c.resolve,c.reject);return c.promise};var LJa=function(a,b){a=a.request.Ia()+a.A;return b.Vg(a)};
q7.prototype.resize=function(){var a=this;this.I.info(this.ke()+" | Resize called");var b=MJa(this);if(this.request.Ia()!==b)if(IJ(this.request,b),b<=this.count)this.tc();else{var c=void 0;this.B||this.Yb==null?(this.B=!1,c=this.refresh()):c=this.Qg(this.Yb);var d;(d=c)==null||d.catch(function(e){ok("resize refresh itemLimit:"+b+" > count:"+a.count+" failed",Zn(e),"warning")})}};
var MJa=function(a){var b=new Set(a.nc);if(!b.size&&a.Hj())return a.request.Ia();var c=0;b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;d=SZ(Y4(a.context),d);let e;c=Math.max(c,d.Ia?(e=d.Ia())!=null?e:0:0)}return c};l=q7.prototype;l.X=function(){return this.request};l.ke=function(){return this.cacheKey};l.wh=function(a){return this.context.pb.equals(a,this.request,!0)?j1(this.context.M,a.za()):!1};
l.fc=function(a){var b=a.Ia(),c=this.U.slice(0,b),d=ml(c);c=zp(c);W4(this,a.za(),c);a=iv(new jv,c);a=I(a,7,this.j);a=H(a,8,this.incompleteSearch);a=rs(a,18,this.D);return UZ((new wo(a,this.ra())).setStatus(d?6:this.hj(b)),b<this.U.length||!this.context.gb().g()&&this.bc!==1)};l.hj=function(a){return this.bc===1||a<=this.count?1:this.context.gb().g()?this.U.length>0?1:2:6};
var IJa=function(a,b){var c;a.j=(c=b.j)!=null?c:a.j;a.incompleteSearch=b.incompleteSearch;a.D=b.h.length?b.h:a.D},JJa=function(a,b){b=b.g;var c=a.request.Ia()-a.count;c>0&&b.Vc()&&(a.A+=c,a.Qg(b).catch(function(d){ok("handleQueryRunnerComplete runQueryRunner failed with missingCount:"+(c+" and extraItems:"+a.A),Zn(d),"warning")}))};l=q7.prototype;
l.Vl=function(){var a;if(a=this.g){a:{a=this.U;let b=this.g||Wa;for(let c=1;c<a.length;c++)if(b(a[c-1],a[c])>0){a=!1;break a}a=!0}a=!a}a&&(iFa(this,"ViewCache unsorted after import"),this.context.lc.sort(this.request,this.U));this.B&&T4(this,6)};
l.kc=function(a,b){if(this.Yl){if(b)return!0;if(!this.F){let d=a.getId();b=!!this.U.find(function(e){return d===e.getId()},this);a=K4(this.context.tb,this.request,a.getItem());return b&&a}}if(!K4(this.context.tb,this.request,a.getItem()))return!1;var c=Ex(this.request.Ia());if(this.bc===1||!this.g||HZ(a.kb,2)||this.count<c||b||Kx(a.getItem()))return!0;b=this.U.length===0?null:this.U[this.U.length-1];return!!b&&this.g(a,b)<=0};
l.oe=function(a){this.g?Xa(this.U,a,this.g):this.U.push(a);s7(a)&&this.count++;return!0};l.Hc=function(a){this.g?Za(this.U,a,this.g):Na(this.U,a);s7(a)&&this.count--;return!0};l.rj=function(a){return this.g?Va(this.U,this.g||Wa,a):Ia(this.U,a)};l.Ai=function(a,b){s7(b)&&this.count++;s7(a)&&this.count--;this.g&&this.g(a,b)!==0?(Za(this.U,a,this.g),Xa(this.U,b,this.g)):this.U[this.rj(a)]=b;return!0};
l.tc=function(){if(this.bc!==1&&!this.context.gb().g()){var a=Ex(this.request.Ia());if(!(this.count<=a||this.Yb&&a>=this.Yb.Va())){this.I.info(this.ke()+" | Evicting...");a=this.count-this.request.Ia();for(let b=this.U.length-1;b>=0&&a>0;b--){let c=this.U[b];HZ(c.kb,2)||Kx(c.getItem())||(s7(c)&&this.count--,Ma(this.U,b),kFa(this,c.getId()),a--)}FJa(this).catch(function(b){ok("refreshQueryRunner failed",Zn(b),"warning")})}}};var s7=function(a){return!HZ(a.kb,2)&&nl(a.getItem())!==3};
q7.prototype.nl=function(a){var b=this,c=uz(this.request);c.length&&(c=c.some(function(d){return(d=(d=d.Ca())&&b.context.fa().Ha.g(d))&&F(d,108)}),NJa(this.context.Sq,a,c))};q7.prototype.ml=function(){this.tc()};q7.prototype.Ul=function(a){var b,c;if(((b=this.Yb)==null?0:b.Wc())&&((c=this.Yb)==null?0:c.Pf()))return!1;var d;return!!(this.bc!==1&&a.Ia()>this.count&&((d=this.Yb)==null?0:d.Wc()))};q7.prototype.ii=function(){HJa(this);this.count=0;this.U=[]};var OJa=function(a,b,c,d,e,f,g,h,k){Yg.call(this);this.S=a;this.A=b;this.N=c;this.D=d;this.B=e;this.C=f;this.h=g;this.j=h;this.g=k;this.ma=new bi(this);this.Da(this.ma);this.I=this.S.ia("sync.ProgressiveSyncer")};V(OJa,Yg);
var SJa=async function(a,b,c){var d;if((d=XJ(a.C))==null||!N(d,15))return[];var e;d=(e=a.g.get(b))==null?void 0:e.g;if(d===1)return[];if(c&&PJa(a)){if(d===2)return a.I.info("Skipping "+b+" backfill. It is too large (1000+)."),[];await a.B;return QJa(a,b)}c!==void 0&&RJa(a,b,c?3:1).catch(function(f){ok("backfill setBackfillStatus failed folderId:"+b,Zn(f),"warning")});return[]},PJa=function(a){var b,c,d,e,f;return!(!(((b=a.C)==null?0:(c=XJ(b))==null?0:N(c,19))&&((d=a.C)==null?0:(e=xx(d))==null?0:Uy(e)))||
((f=a.C)==null?0:N(f,10)))},QJa=async function(a,b){var c=dq(a.N,106034),d=vga(b);d=new d5(a.S,a.D,a.C,a.h,d,!1,!0);a.I.info("Paginating to cache 1000 items for "+b);var e=[];a.ma.listen(d,K_,function(f){e.push.apply(e,r(f.changes))});try{await d.Vg(1E3)}catch(f){throw c&&(wAa(t7(c).setStatus(3),1),v_(c)),new fn("Error trying to backfill "+b,null,Zn(f));}try{let f=d.Vc()?2:1;f===2&&a.I.info(b+" is too large (1000+) to backfill.");await RJa(a,b,f);c&&(xAa(t7(c).setStatus(1),d.Vc()).g(d.Va()),v_(c));
return e}catch(f){throw c&&(wAa(t7(c).setStatus(3),2),v_(c)),new fn("Error updating "+b+" after backfill.",null,Zn(f));}},RJa=async function(a,b,c){var d,e;((d=a.C)==null?0:(e=XJ(d))==null?0:N(e,19))?(await TJa(a,b),(d=a.g.get(b))?tZ(a.A,d,c,"sync.ProgressiveSyncer"):a.I.Ba("Failed setting backfillStatus for "+b+" to "+(c+". Folder is unexpectedly null"))):(a.I.info("Setting backfillStatus for "+b+" to "+c+"."),(a=a.g.get(b))!=null&&(a.g=c))},TJa=async function(a,b){if(!a.g.get(b)){a.I.info("Refreshing "+
b+" before setting backfill status.");var c=Vt(new P,1497);await g5(a.j,[b],c)}};var UJa=new Set([273,335]),VJa=[50],u7=function(a,b){Yg.call(this);var c=this;this.context=a;this.M=b;this.K=!1;this.rootId=null;this.F=!1;this.g={};this.I=a.S.ia("sync.cache.CacheManager");this.C=this.context.C;this.D=new py;this.V=new py;this.Lb=new m5(a.pb,a.S);this.context.N.h.g=this.Lb;var d;if((d=XJ(this.C))==null?0:N(d,15))b=new k5(a.tb,a.lc),this.Lb.add(b),a.He.promise.then(function(){var e,f,g,h;(g=c.Lb)==null||(h=g.h)==null||J4(h,!((e=c.Lb)==null?0:(f=e.g)==null?0:f.wc))});this.Mb=new z6(a.tb,
a.lc,a.S);this.h=new w6(a.S,this.M);this.Ha=new M4(this.M,this.context.pb,this.Mb,this.h);this.context.N.h.j=this.Ha;this.Kc=new yFa(this.context,this.M,this.g,this.Mb);this.sf=new SIa(this.context,this.Mb);this.B=new s6(this.context,this);uT(this.B,function(){c.B=null});this.ha=k1(this.M,VJa);A0(this.context.Oa,["NSockf"],function(){c.initialize()});this.H=HW();A0(this.context.Oa,["BNEDtc"],function(){c.H.resolve()});this.Sb=new J6(this.C,this.context.S,Promise.resolve(D4(a)),this.context.N,this.context.we.promise);
Lp(this.C)&&(b=new bi(this),this.Da(b),b.listen(this.Sb,A6,this.pa.bind(this)));this.eb=new UIa(this.C,this.Ha);this.j=new VIa(this.eb);this.wa=new OJa(a.S,this.context.ae,a.N,D4(a),a.we.promise,a.C,this.Ha,this.Kc,this.Mb)};V(u7,Yg);
u7.prototype.pa=function(a){var b=a.people;this.I.info("Handling PeopleCache updated with "+b.length+".");a=new Set;var c=new Set;b=q(b);for(var d=b.next();!d.done;d=b.next()){d=C(d.value,1);let g=OIa(this.Sb,d);for(var e=q(g),f=e.next();!f.done;f=e.next())a.add(f.value);(e=g[g.length-1])&&PIa(this.Sb,d)&&c.add(e)}b=[];a=q(a);for(d=a.next();!d.done;d=a.next()){e=d.value;d=this.Mb.get(e);if(!d){this.I.Ba("b/154479164 Unexpected missing wrapper for "+e+".");continue}e=d.getItem().clone();v7(this,e);
b.push(x0(d,new v0(e,void 0,1)))}w7(this,b,[]);this.context.lb.update(6).catch(function(g){ok("handlePeopleCacheUpdated update failed #itemsToRefresh:"+c.size,Zn(g),"warning")});c.size&&g5(this.Kc,[].concat(r(c)),Vt(new P,311)).catch(function(g){ok("handlePeopleCacheUpdated refreshByIds failed #itemsToRefresh:"+c.size,Zn(g),"warning")})};u7.prototype.initialize=function(){this.B.run()};
var z7=function(a,b,c,d,e,f,g){f=f===void 0?"":f;g=g===void 0?!1:g;b=w3(a.context.pb,b);var h=x7(a,b);a.I.info("Initializing cache with "+c.length+" items for key '"+h+"'");var k=a.g[h];k?(d.ib()||IJa(k,d),a.Ka(c,1,b,!!f,void 0,e)):(k=new q7(a.context,b),y7(a,h,k),x6(a.h,b.za()),a=k,a.h||(a.B=g,r7(a),a.h=a.Yb.gm(c,d,f,e)))};
u7.prototype.cb=function(a,b){if(Ul(b))b=w3(this.context.pb,b),Vl(b)?a=this.context.nh.get().cb(a,b):(x6(this.h,b.za()),R6(this.sf,b),b=WJa(this,b,a),b.cache.cb(a),a=b.Rd);else if(b instanceof $t)b=XJa(b),x6(this.h,b.za()),b=YJa(this,b,a),b.cache.cb(a),a=b.Rd;else if(b instanceof tK)b=ZJa(this,b,a),b.cache.cb(a),a=b.Rd;else if($m(b)){N(this.context.C,1)&&R6(this.sf,b);var c=this.h,d=b.za();d=l1(c.M,d);kIa(c.h,d);b=YJa(this,b,a);b.cache.cb(a);a=b.Rd}else throw Error("od");return a};
u7.prototype.Xi=function(a,b){b.za().includes(273)||(jq(b,1,273),a=w3(this.context.pb,b),a=x7(this,a),a=this.g[a],a==null||a.isDisposed()||a.fc(b))};u7.prototype.Gb=function(a,b){if(Ul(b)){if(Vl(b)){this.context.nh.get().Gb(a,b);return}b=w3(this.context.pb,b);T6(this.sf,b)}else if(b instanceof $t)b=XJa(b);else if(b instanceof tK||b instanceof aQ)$m(b)&&N(this.context.C,1)&&T6(this.sf,b);else throw Error("od");b=x7(this,b);var c=this.g[b];c&&(c.Gb(a),c.isDisposed()&&delete this.g[b])};
var x7=function(a,b){Ml(b)&&b.Wb(b.ta().slice().sort());return y3(a.context.pb,b,2)},WJa=function(a,b,c){var d=x7(a,b),e=a.g[d];if(e)return e.bc===3?(a.I.info("ItemQueryRequest for LiveObject "+c+" backed by refreshing existing view cache: "+d),e.refresh()):a.I.info("ItemQueryRequest for LiveObject "+c+" backed by existing view cache: "+d),{cache:e,Rd:!1};var f=[],g=5;e="";var h=IFa(a.Lb),k=!1;for(let p=0;p<h.length;p++){let t=h[p];g=t.Rc(b);if(g!==5){var m=g===1?void 0:b.Ia();f=t.zj(b,m);m=t.ra();
t instanceof L4&&(e=t.nextPageToken);a.I.info("ItemQueryRequest for LiveObject "+c+" backed by new view cache from corpus cache: "+(t.getType()+", size: ")+(t.getSize()+", initial items: ")+(f.length+": "+d));k=!0;break}}g!==5||k||a.I.info("ItemQueryRequest for LiveObject "+c+" backed by empty new view cache: "+d);a.context.gb().g()&&(f=f.concat(a.Mb.query(b,1)),Ua(f,void 0,function(p){return p.getId()}),g=(c=a.Lb.g)&&c.qg&&c.Rc(b)!==5?c.Rc(b):6,a.I.info("Offline: Populate with "+f.length+" initial items(s)"));
c=new q7(a.context,b);GJa(c,f,g!==1,e,m,a.Mb.query(b,2)).catch(function(p){var t;if(t=p instanceof fn){let w;t=((w=p.na)==null?void 0:w.Id())||0;t=t>=400&&t<500}t||(p=tL(bo(p,48)),a.context.dispatchEvent(new t0(new fn("Error during view cache init",p))))});y7(a,d,c);return{cache:c,Rd:!0}},ZJa=function(a,b,c){var d=x7(a,b),e=a.g[d];if(e)return e.bc===3?(a.I.info("TeamDriveQueryRequest for LiveObject "+c+" backed by refreshing existing view cache: "+d),e.refresh()):a.I.info("TeamDriveQueryRequest for LiveObject "+
c+" backed by existing view cache: "+d),{cache:e,Rd:!1};a.I.info("TeamDriveQueryRequest for LiveObject "+c+" backed by new view cache: "+d);e=new J5(a.context,b);e.refresh().then(null,function(){});y7(a,d,e);return{cache:e,Rd:!0}},YJa=function(a,b,c){var d=Ml(b)?"FindByIdsRequest":"TeamDriveFindByIdsRequest",e=x7(a,b),f=!1,g=a.g[e];if(g&&g.wh(b))a.I.info(d+" for LiveObject "+c+" backed by existing view cache: "+e);else{let h=a.Mb.getAll(b.ta());b=$Ja(a,b,h);f=!0;y7(a,e,b);g?(aKa(g,b),g.isDisposed(),
g=b,a.I.info(d+" for LiveObject "+c+" backed by recreated view cache: "+e)):(g=b,a.I.info(d+" for LiveObject "+c+" with "+(h.length+" initial items backed by new view cache: ")+e))}return{cache:g,Rd:f}},$Ja=function(a,b,c){var d;b instanceof $t?d=new b5(a.context,b):d=new V6(a.context,b);c.length&&d.Ka(c,!0,8);d.refresh().then(null,function(){});return d};u7.prototype.Te=function(){return Object.values(this.g).filter(function(a){return a.X()instanceof tK})};
var aIa=function(a,b){var c=Vt(new P,309),d=lIa(a.h.g,b).filter(function(e){return!UJa.has(e)});if(d.length){let e=z3(a.context.pb,d,!0);a.I.info("Refreshing "+b+" for secondary fields: "+e+".");g5(a.Kc,[b],c,!1,d).catch(function(f){ok("refreshSecondaryFieldCaches refreshByIds failed itemId:"+b,Zn(f),"warning")})}},V4=function(a,b,c){c&&c.length&&SEa(a.h,b,c);Lp(a.C)&&VHa(a.Sb,b)},u6=function(a,b,c){if(b instanceof J5){var d=x7(a,b.X());if(a.g[d]){a.I.info(d+" | Cache already exists, ignoring persisted data");
return}}b instanceof I4&&a.Lb.remove(b);d=new Map;var e=a.Mb.Xb(),f=new Map(e);e=[];for(var g=q(b.Xb()),h=g.next();!h.done;h=g.next()){h=h.value;var k=h.getId();let w=a.Mb.get(k);if(w){let A=nl(w.getItem());var m=void 0;((m=XJ(a.C))==null?0:N(m,15))&&h.g===1&&tZ(a.context.ae,w,h.g,"sync.cache.CacheManager");A===3?d.set(h.getId(),h.getItem()):w!==h&&e.push(new w0(h.getId(),h,w));f.delete(k)}else{k=y0(h);var p=void 0;if((p=XJ(a.C))==null?0:N(p,15)){var t=void 0;(t=a.Lb.h)==null||t.update(k)}a.Mb.update(k);
a.j.update(k);Lp(a.C)&&O6(a.Sb,k)}Lp(a.C)&&v7(a,h.getItem())}m=q(f.values());for(p=m.next();!p.done;p=m.next())e.push(y0(p.value));a.I.info("Applying "+e.length+" updates to newly added CorpusCache");e=q(e);for(m=e.next();!m.done;m=e.next())b.update(m.value);e=b instanceof U4||b instanceof I4?x7(a,b.X()):null;b instanceof J5?y7(a,e,b):a.Lb.add(b);m=[];d=q(d.values());for(p=d.next();!p.done;p=d.next())p=p.value,t=new KI,LI(t,p.J()),NI(t,p),m.push(t);a.hb(m);a.I.info("Merged cache: "+b.getType()+" | size "+
(b.getSize()+" key: "+e));if(b instanceof i5)for(c=q(c),d=c.next();!d.done;d=c.next())a.context.Ni.propagate(d.value,void 0);b instanceof L4&&bKa(a,b.X(),!b.h);a.context.lb.update(3).catch(function(w){ok("addCorpusCache update failed",Zn(w),"warning")})},bKa=function(a,b,c){var d;if(((d=XJ(a.C))==null?0:N(d,15))&&NBa(a.context.pb,b)){let e=MBa(b);e&&SJa(a.wa,e,c).then(function(f){f.length&&(a.I.info("Handling "+f.length+" changes for the "+(e+" backfill.")),a.hb(f))}).catch(function(f){ok("backfill failed folderId:"+
e,Zn(f),"warning")})}},aKa=function(a,b){(new Set(a.nc)).forEach(function(c){b.cb(c);a.Gb(c)})};
u7.prototype.Ka=function(a,b,c,d,e,f){var g=this;f=f===void 0?0:f;this.I.info("Importing "+a.length+" items | dataSource: "+f);if(!e){var h;e=l1(this.M,(h=c==null?void 0:c.za())!=null?h:[])}h=[];var k=[];for(let m=0;m<a.length;m++){let p=a[m],t=new v0(p,void 0,b),w=this.Mb.get(DA(p)),A=w?w.getItem():null,J=cKa(this,w,t);if(J!=null)t.kb=J,A7(this,A,p),Ix(p),p=QCa(p,A,this.M,e),t.item=p;else if(w!=null)t=w,p=A;else continue;Lp(this.C)&&v7(this,p);!w||dKa(this,A,p,e)?(k.push(x0(w,t)),h.push(t)):h.push(w)}a=
null;c&&(c instanceof pn&&(bKa(this,c,d),(a=KFa(this.Lb,c))&&a.Ka(h,!!d)),c=x7(this,c),(a=this.g[c])&&a.Ka(h,!!d,f));if(k.length>0){Lp(this.C)&&k.forEach(function(t){return O6(g.Sb,t)});let m,p;if((p=(m=XJ(this.C))==null?void 0:F(m,89))!=null&&p){let t=k.map(function(w){return w.g}).filter(function(w){return w!==null}).map(function(w){return w.getItem()});t.length>0&&this.context.He.promise.finally(function(){var w;(w=g.context.Bf)==null||i6(w,t)})}w7(this,k,e,a?[a]:[])}};
var v7=function(a,b){NIa(a.Sb,b)||nl(b)!==5||b.Zb(1)},dKa=function(a,b,c,d){b?(b=b.clone(),b=S(b,82)):b=null;b&&(V4(a,[b],d),Mka(b));c=c.clone();c=S(c,82);V4(a,[c],[]);return!Np(b,c)},B7=function(a,b){var c=new Map;b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.kb)||c.set(d.kb,[]),c.get(d.kb).push(d);c=q(c);for(b=c.next();!b.done;b=c.next())d=q(b.value),b=d.next().value,d=d.next().value,a.Ka(zp(d),b)};u7.prototype.Cg=function(a){this.eb.Cg(a)};
u7.prototype.hb=function(a){var b=this,c=[];for(let g=0;g<a.length;g++){let h=a[g],k=N(h,3)?null:h.getItem();var d=h.Aa();let m=(d=this.Mb.get(d))?d.getItem():null,p=null;if(k){p=new v0(k,void 0,void 0,Ug(gq(h,1))||void 0);let t=cKa(this,d,p);if(t==null)continue;p.kb=t;A7(this,m,k);Ix(k);k=QCa(k,m,this.M);p.item=k;Lp(this.C)&&v7(this,k)}if(m&&!k||k&&dKa(this,m,k,[])){if(!m||!k||!eKa(this,m,k)){let t;fKa(this.context.ai.get(),h,(t=k)!=null?t:void 0)}c.push(x0(d,p))}}Lp(this.C)&&c.forEach(function(g){O6(b.Sb,
g)});var e,f;if((f=(e=XJ(this.C))==null?void 0:F(e,89))!=null&&f){let g=c.map(function(h){return h.g}).filter(function(h){return h!==null}).map(function(h){return h.getItem()});g.length>0&&this.context.He.promise.finally(function(){var h;(h=b.context.Bf)==null||i6(h,g)})}w7(this,c,[])};
var eKa=function(a,b,c){if(!rA(b)||!rA(c))return!1;var d=[235,218];b=b.clone();Gt(b,d,a.M);c=c.clone();Gt(c,d,a.M);return Np(b,c)},A7=function(a,b,c){if(b){let h=new Set;if(!Q(c,Jx,81))for(var d=q(a.ha),e=d.next();!e.done;e=d.next())h.add(e.value);Lt(c,b,h,a.M)}var f;b=b==null?void 0:(f=il(b))==null?void 0:Hx(f);var g;c=(g=il(c))==null?void 0:Hx(g);b&&c&&A7(a,b,c)};
u7.prototype.Bg=function(a,b){if(a instanceof pn||a instanceof $t||a instanceof tK)a=x7(this,a),(a=this.g[a])&&a.md(b);else throw Error("od");};
var cKa=function(a,b,c){var d=c.getItem();if(Z4(a.context.zb,d))return null;if(b){a=b.kb;var e=c.kb;if(!(e>=0?!a||a<=e:1))return null;a=b.getItem();if(nl(a)!==3&&!rA(a)&&!rA(d)&&$H(a)===$H(d))if(Ug(gq(a,75))&&Ug(gq(d,75))){if(Ug(gq(a,75))>Ug(gq(d,75)))return null}else if(b.h&&c.h){if(b.h>c.h)return null}else if(Ug(gq(a,11))>Ug(gq(d,11)))return null}return GZ(b&&b.kb,c.kb)};u7.prototype.Dd=function(a,b){if(a=this.Mb.get(a))b=GZ(a.kb,b),a.kb=b};
var gKa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())a.Dd(c.value,-2)},w7=function(a,b,c,d){d=d===void 0?[]:d;var e;if((e=XJ(a.C))==null?0:N(e,15)){e=q(b);for(var f=e.next();!f.done;f=e.next())f=f.value,f.h&&f.g&&tZ(a.context.ae,f.g,f.h.g,"sync.cache.CacheManager")}e=q(b);for(f=e.next();!f.done;f=e.next())f=f.value,a.h.update(f.id,f.g?f.g.getItem():null,c);c=Object.values(a.g);d=q(d);for(e=d.next();!e.done;e=d.next())Na(c,e.value);d=q(c);for(c=d.next();!c.done;c=d.next())X4(c.value,
b);d=new Set;c=IFa(a.Lb);c=q(c);for(e=c.next();!e.done;e=c.next()){f=e.value;e=q(b);for(var g=e.next();!g.done;g=e.next())g=g.value,f.update(g)&&d.add(g.id);f instanceof i5&&f.getSize()>=f.mc*1.2&&C7(a.context.ai.get(),f.teamDriveId,!1)}b=q(b);for(c=b.next();!c.done;c=b.next())c=c.value,a.Mb.update(c),a.Mb.get(c.id)||a.h.tc(c.id),a.j.update(c);d.size&&a.context.lb.um(d.size);hKa(a)},hKa=function(a){var b=a.j.h.slice(0),c=WIa(a.j);XIa(a.j);if(b.length){a.I.info("Refreshing shortcuts with unknown targets: "+
b.join(", "));var d=new P;Vt(d,308);g5(a.Kc,b,d,!0).catch(function(g){ok("handleShortcutUpdates refreshByIds failed #unknownTargetShortcutIds:"+b.length,Zn(g),"warning")})}if(c.length){a.I.info("Updating locally stale shortcuts: "+c.join(", "));d=N4(a.Ha,c);c=[];d=q(Object.values(d));for(var e=d.next();!e.done;e=d.next()){e=e.value;let g=il(e.getItem());var f=C(g,1);if(f=a.Ha.g(f))I(g,5,f),G(g,4,1),c.push(e)}B7(a,c)}},XJa=function(a){a.fh([].concat(r(a.za())).sort());return a},kKa=function(a){var b=
b===void 0?0:b;if(!a.F)if(a.rootId!==null)a.A(iKa(a,a.rootId));else{let c=!1;Kk(a.D.promise,b).then(function(){c=!0},function(){jKa(a,"root id timeout fetch")});a.context.di.promise.then(function(){n.setTimeout(function(){c||jKa(a,"root id missing fetch")},0)});a.D.promise.then(function(d){a.A(iKa(a,d))})}};u7.prototype.Jb=function(a){this.rootId===null&&(this.rootId=a,this.D.resolve(a),this.Mb.Jb(a))};
u7.prototype.A=function(a){if(!this.F&&this.rootId===a.J()){var b=Ru(new gl,a.J());Np(a,b)||(this.F=!0,D(a,136)===""&&S(a,136),this.Ka([a],1),this.V.resolve())}};
var q6=function(a){kKa(a);return a.V.promise},jKa=function(a,b){a.K||(a.K=!0,D4(a.context).then(function(c){c.route(kx(lx(new mx,ix(jx(Vt(new P,301),!0),1)),["account.metadata.root_folder_id"])).then(function(d){var e,f;(d=(e=d.Nd())==null?void 0:(f=e.getMetadata())==null?void 0:C(f,2))&&a.context.Jb(d,b)},function(){})}))},iKa=function(a,b){var c=Ur(Qr(new nv,Pq(Xr(a.C))),!0);c=G(c,6,1);var d=Xr(a.C);(d=x(d,6))&&Rr(c,d);a=LH(Uu(KH(EH(dl(Ru(new gl,b).setTitle(x(a.C,38,"My Drive")),"application/vnd.google-apps.folder"),
!1),c),[c]),1);a=H(a,63,!0);a=NH(a,!0);b=Cr(new wr,!0);b=H(b,2,!1);b=Dr(Er(H(b,3,!1),!1),!1);b=H(b,6,!0);b=H(b,7,!0);b=H(b,10,!1);b=Fr(b,!1);b=H(b,12,!1);return xr(a,Gr(Hr(Ir(b,!1),!1),!1))};
u7.prototype.xf=function(a){var b=this;return this.H.promise.then(function(){return v3(a)?q6(b):void 0}).then(function(){var c=w3(b.context.pb,a,!0),d=y3(b.context.pb,c);if(KFa(b.Lb,c))b.I.info("Cache hint exists, skipping backfill for "+d);else{var e=new L4(b.context.tb,b.context.lc,b.context.pb,c);c=new j5(b.context,e,c);var f=g6(b.context.Nb,null);return c.run().then(function(){q5(e,f,b.context.ae).then(function(g){u6(b,e,g)})}).then(function(){j6(b.context.Nb,null);b.I.info("Cache hint backfill succeeded for "+
d)},function(g){j6(b.context.Nb,null);b.I.info("Cache hint backfill failed for "+d,Zn(g))})}})};u7.prototype.Hb=function(){var a=this.Lb.g;return a&&a.wc?1:2};var y7=function(a,b,c){a.g[b]=c;a.I.info(b+" | Set cache with "+c.getSize()+" items")};var E7=function(a){return new no(D7(a.getName()),a)},lKa=function(a){var b=q(FZ(a));a=b.next().value;b=b.next().value;return b!==null?E7(b.clone()):new no(a,null)},D7=function(a){var b=a.split("/");if(b.length<2)throw Error("pd`"+a);return b[1]},F7=function(a){return a.value.Aa()+"_"+a.key},mKa=function(a,b){var c=U(a,1,B()).map(function(d,e){return b[e].value.Pm.promise});return Promise.allSettled(c).then(function(d){return U(a,1,B()).map(function(e,f){e=e.toString();var g=new yL;e=E(g,1,e);f=d[Number(f)];
f.status==="fulfilled"?e.setStatus(1):(e.setStatus(3),I(e,3,f.reason.na));return e})})};var G7=function(a,b){this.g=this.h=null;this.h=a;this.g=null;this.j=b};G7.prototype.get=function(a){return nKa(this)[a]||null};G7.prototype.set=function(a){nKa(this)[this.j(a)]=a;this.h=null};var nKa=function(a){a.g||(a.g=caa(a.h,a.j));return a.g};var H7=function(a,b){this.type=a;this.h=b};H7.prototype.getType=function(){return this.type};var I7=function(a,b,c,d){H7.call(this,a,b);this.position=c;this.g=d};V(I7,H7);var oKa=function(a,b){this.g=a;this.h=b},qKa=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!J7(a,b[e],c[e])){d=e;break b}d=-1}if(d===-1){if(b.length===c.length){d=[];break a}if(b.length>c.length){d=[];e=c.length;for(var f=e;f<b.length;f++)d.push(new I7(2,b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(new I7(1,c[e],e));break a}}e=b.length-1;for(f=c.length-1;e>=0&&f>=0&&J7(a,b[e],c[f]);e--,f--);f=b.length-1-e;var g=b.length-f;e=b.slice(d,
g);g=c.length-f;f=c.slice(d,g);var h,k=[];for(g=0;g<e.length+1;g++)k[g]=[],k[g][0]=0;for(h=0;h<f.length+1;h++)k[0][h]=0;for(g=1;g<=e.length;g++)for(h=1;h<=f.length;h++)J7(a,e[g-1],f[h-1])?k[g][h]=k[g-1][h-1]+1:k[g][h]=Math.max(k[g-1][h],k[g][h-1]);var m=[];g=e.length;for(h=f.length;g>0||h>0;)g>0&&h>0&&J7(a,e[g-1],f[h-1])?(h--,g--):h>0&&(g===0||k[g][h-1]>k[g-1][h])?(m.unshift(new I7(1,f[h-1],g)),h--):g>0&&(h===0||k[g][h-1]<=k[g-1][h])&&(m.unshift(new I7(2,e[g-1],g-1)),g--);e=m;f={};for(g=0;g<e.length;g++)if(h=
a.g(e[g].h),f[h]!==void 0){h=f[h];m=e[h];var p=e[g];k=m.getType()===1?m:p;m=m.getType()===2?m:p;p=k.position;p>m.position&&--p;e[h]=new I7(3,k.h,p,m.position);e.splice(g,1);g--}else f[h]=g;h=[];if(e!=null)for(k=0;k<e.length;k++){m=e[k];p=m.position;let t=m.g||0;m.position+=pKa(h,m.position);e[k].position+=d;e[k].getType()===3&&(m.g=(m.g||0)+pKa(h,m.g||0),e[k].g=(e[k].g||0)+d);f=h;g=f.push;b:switch(m.getType()){case 1:m={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:m={offset:-1,start:p,end:Number.MAX_VALUE};
break b;case 3:m=p>t?{offset:-1,start:t,end:p}:{offset:1,start:p,end:t};break b;default:m={offset:0,start:-1,end:-1}}g.call(f,m)}d=e}e=[];b=new G7(b,a.g);for(f=0;f<c.length;f++)g=c[f],(h=b.get(a.g(g)))&&!a.h(h||void 0,g||void 0)&&e.push(new I7(4,g,f));return d.concat(e)},pKa=function(a,b){var c=0;for(let d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c},J7=function(a,b,c){return a.g(b)===a.g(c)};var rKa=function(){oKa.call(this,mo,function(a,b){var c=null,d=null;a&&(c=a.value)&&fL(c);b&&(d=b.value)&&fL(d);return Np(c,d)})};V(rKa,oKa);var K7=function(a,b,c){R_.call(this,c,function(d){return a.then(function(e){return e.route(d)}).then(null,function(e){throw co(e);})});this.ea=b};V(K7,R_);l=K7.prototype;l.Ah=function(a,b,c){a=a.clone();a=K(a,2,b);return new Qm(a,c)};l.Oh=function(a){return a.pageToken||""};l.Mh=function(a){return z(a.response,bL,2,B())};l.gh=function(a){this.ea.Ta(a.map(E7),!1,1,this.request)};l.Sk=function(a){this.ea.Bg(this.request,a)};var L7=function(a,b,c,d,e){d=d.clone();QZ.call(this,a,d);this.j=b;this.ea=c;this.h=e;this.entries=[];this.g=null};V(L7,RZ);l=L7.prototype;l.refresh=function(){this.ob(this.ra()===0?1:6);this.g=new K7(this.j,this.ea,this.request);return this.g.run(this.request.Ia()||100).then(function(){})};l.le=function(a){return this.entries.find(function(b){return b.key===a})};l.Rk=function(a){this.g&&a===Zt(this.request,2)||(K(this.request,2,a),this.g?this.g.run(a):this.refresh())};
l.fc=function(){var a=this,b=jL(new iL,this.entries.filter(function(c){return a.ea.isValid(c)}).map(function(c){return c.value.clone()}));return(new wo(b,this.ra())).setStatus(this.R())};l.Ta=function(a,b,c){var d=this;a=a.filter(function(e){return(e=e.value)?D(e,3)===C(d.request,1):!0});return RZ.prototype.Ta.call(this,a,b,c)};
var sKa=function(a,b){b=qKa(a.h,a.entries,b).map(function(c){return c.getType()===2?new no(c.h.key,null):c.h});a.Ta(b,!1,1)},tKa=function(a,b){a.Ta(b.map(function(c){return new no(c,null)}),!0,1)};
L7.prototype.Ac=function(a,b){b=b===void 0?1:b;var c=q(FZ(a)),d=c.next().value;c=c.next().value;if(!Aca(d?this.D.get(d)||null:null,b))return!1;var e=b===-1?0:this.entries.length,f=this.entries.findIndex(function(h){return h.key===d}),g=!1;f>-1&&(this.entries.splice(f,1),e=f,g=!0);c&&(this.entries.splice(e,0,a),g=!0);g&&uKa(this,d,b);return g};
var uKa=function(a,b,c){a.le(b)?RZ.prototype.Dd.call(a,b,c):a.D.delete(b)},vKa=function(a,b){return Gm(b)&&b.Aa()===C(a.request,1)?VB(b).map(function(c){return D7(C(c,1))}).map(function(c){return a.le(c)}).filter(function(c){return!!c}).map(lKa):[]};var wKa=function(a){this.h=a;this.g=new Set},xKa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next())a.g.add(c.value)};var M7=function(a,b,c){c=c===void 0?new wKa(F7):c;KZ.call(this,function(e){return e.Aa()},function(e){return new L7(d.A,d.D,d,e,d.h)});var d=this;this.A=a;this.D=b;this.zb=c;this.h=new rKa};V(M7,KZ);var yKa=function(a,b){var c=a.zb,d=F7(b);c.g.add(d);b=b.value;(a=N7(a,b==null?void 0:b.Aa()))&&a.Vf()},N7=function(a,b){if(b)return a.Kh(gL(new El,b))},zKa=function(a,b){var c=[];a=q(a.g.values());for(var d=a.next();!d.done;d=a.next())c.push.apply(c,r(vKa(d.value,b)));return c};
M7.prototype.Dd=function(a,b){for(var c=q(this.g.values()),d=c.next();!d.done;d=c.next())d.value.Dd(a,b)};M7.prototype.hb=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=N7(this,DA(b)))&&b.refresh()};M7.prototype.Ta=function(a,b,c,d){var e=this;c=c===void 0?1:c;if(!d)return void KZ.prototype.Ta.call(this,a,b,c);if(b=this.Kh(d))a=a.filter(function(f){return e.isValid(f)}),sKa(b,a)};M7.prototype.isValid=function(a){var b=this.zb;return!b.g.has(b.h(a))};var AKa=function(a,b){this.h=a;this.g=b},BKa=function(a,b){b=gL(new El,b);var c=new K7(a.h,a.g.get(),b);new Promise(function(d,e){return c.run(100).then(d,e)})};var CKa=function(){this.U={}},g6=function(a,b){DKa(a,"subscribed");b&&DKa(a,b);return a.U[b||"subscribed"].Z.promise},DKa=function(a,b){a.U[b]||(a.U[b]={count:0,pe:[],Cm:[],Z:new py});a.U[b].count++},j6=function(a,b){b&&!EKa(a,b)||EKa(a,"subscribed")},EKa=function(a,b){if(!a.U[b])return!1;a.U[b].count--;a.U[b].count===0&&(a.U[b].Z.resolve({items:a.U[b].pe,Pq:a.U[b].Cm}),ih(a.U,b));return!0};
CKa.prototype.hb=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=C(e,7);f&&f===C(e,2)&&c.U[f]&&c.U[f].Cm.push(e);c.U[d]&&c.U[d].pe.push(e)})};var Jz=function(a,b,c){zZ.call(this,a,c);this.B=b};V(Jz,zZ);l=Jz.prototype;l.get=async function(a){var b=await EZ(this,a);if(b.request&&b.response){var c=b.response.clone();if(!this.Xc(b.request,a,!0)&&Rl(b.request,4))if(Rl(a,4)===0)c.xl();else{let d=Rl(a,4),e=0,f=0,g=0,h=0;a=c.xd().filter(function(k){return wn(k,pO,2,uO)&&e++<d||wn(k,rO,3,uO)&&f++<d||wn(k,qO,4,uO)&&g++<d||wn(k,sO,5,uO)&&h++<d});c.si(a)}c.Hh()===0&&c.setStatus(1)}else c=new Vx;return VZ(new wo(c,b.la),b.Ya)};l.pg=function(a){return a.clone()};
l.qf=function(a){return bl(a,3)||0};l.Xc=function(a,b,c){if(c)return Np(a,b);var d,e;return((d=Rl(a,4))!=null?d:0)>=((e=Rl(b,4))!=null?e:0)};l.Uh=function(a,b){a=AZ(this).response;return nE(b,3)&&(!a||Tg(gq(a,3))<Sg(Cq(b,3)))};l.yd=function(){var a=AZ(this);if(a&&a.request&&Rl(a.request,4)&&a.response){var b=Sx(a.response);b=b.length?Object.values(this.B.Lc(b)).filter(function(c){return!!c}):[];return Bka(Aka(zka(new vO,a.request),a.response),b)}return null};var O7=function(a){Yg.call(this);var b=this;this.h=a;this.g=null;uT(this,function(){b.unsubscribe()})};V(O7,Yg);O7.prototype.update=function(a){if(!this.isDisposed()){if(this.g&&this.g.ta().length===a.length){let c=new Set(this.g.ta());if(a.every(function(d){return c.has(d)}))return}var b=null;a.length&&(a.sort(),b=(new aQ).Wb(a),R6(this.h,b));this.unsubscribe();this.g=b}};O7.prototype.unsubscribe=function(){this.g&&(T6(this.h,this.g),this.g=null)};var P7=function(a,b,c,d){QZ.call(this,a,c);var e=this;this.H=d;this.F=new Set;this.B=!1;this.data=this.g=null;this.Ya=!1;this.h=null;this.j=Rl(c,6)||0;var f=new py;this.V=f.promise;a.then(function(g){var h=new Q4(function(k){FKa(e,k)});e.Da(h);R4(g,h);f.resolve(h)}).catch(function(g){ok("Could not update HomePage Activity ViewCache",Zn(g),"warning")});this.K=new O7(b);this.Da(this.K)};V(P7,QZ);P7.prototype.Ud=function(){GKa(this)};
P7.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=pJ(this.request.clone(),2);a&&I(b,1,a);return Q7(this,b,!1)};
var HKa=function(a,b){b=Sg(Cq(b,3));if(!(a.j<=0)&&b){a.h&&(clearTimeout(a.h),a.h=null);var c=Math.max(6E4,b+a.j-Date.now());a.h=setTimeout(function(){a.refresh(ix(jx(Vt(new P,306),!1),2)).catch(function(d){ok(c+"ms refresh HomePage Activity ViewCache failed",Zn(d),"warning")})},c)}},GKa=function(a){a.g===null&&Q7(a,a.request).then(function(){},function(b){b=b.na;a.md(new J_(b,b.Qc()))})},Q7=function(a,b,c){c=c===void 0?!0:c;return a.H.get(b).then(function(d){a.ob(d.la);var e;a.Ya=(e=d.Ya)!=null?e:
!1;IKa(a,d);a.V.then(function(f){var g=new Set,h,k,m=q((k=(h=d.response)==null?void 0:h.xd())!=null?k:[]);for(h=m.next();!h.done;h=m.next()){var p=void 0;(h=(p=h.value.getItem())==null?void 0:p.getId())&&g.add(h)}g.size&&(m=f.jf,g=UP((new $t).Wb([].concat(r(g.values()))),Nr(b,5,B())),p=Nr(b,9,B()),g=Ie(g,19,Cc,p,Dc),m.call(f,g))})},function(d){return(c&&go(d.na)?CZ(a.H):Promise.resolve(!1)).then(function(e){if(e)return Q7(a,b,!1);throw d;})})};
P7.prototype.fc=function(){var a,b,c=(b=(a=this.data)==null?void 0:a.R())!=null?b:6;a=this.data||(new Vx).setStatus(c);return VZ(new wo(a,this.ra()),this.Ya).setStatus(c)};var IKa=function(a,b){a.B=!0;try{a.Ta([b.response],b.response.R()!==1)}finally{a.B=!1}};P7.prototype.Ac=function(a){if(this.B){this.g=a.clone();this.F.clear();a=q(this.g.xd());for(var b=a.next();!b.done;b=a.next())b=b.value,b.Qb()&&yr(b.getItem());this.data=this.g.clone();HKa(this,this.g)}else this.data=a;return!0};
var FKa=function(a,b){if(a.g){var c=a.g.clone().setStatus(b.R());b=new Map(Object.entries(b.response));for(var d=q(c.xd()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.getItem();f&&f.getId()&&b.has(f.getId())&&((f=b.get(f.getId()))&&nE(f,23)&&a.F.add(DA(f)),f&&wn(e,pO,2,uO)&&mE(f,152)&&xka(ck(e,pO,2,uO),Zt(f,152)),JKa(a,f,e)?yka(S(e,1)):I(e,1,f))}c.si(c.xd().filter(function(g){return g.Qb()&&Tj(g,uO)!==0}));a.Ta([c],c.R()!==1);b=new Set;c=q(c.xd());for(d=c.next();!d.done;d=c.next())d=d.value,
(e=d.getItem())&&wn(d,pO,2,uO)&&ZH(e)&&!$k(e,31)&&b.add(ZH(e));a.K.update([].concat(r(b.values())))}},JKa=function(a,b,c){return!b||$k(b,7)||a.F.has(DA(b))&&!$k(b,31)?!0:wn(c,pO,2,uO)&&mE(b,152)?Zt(b,152)<=0:wn(c,qO,4,uO)&&T(b,153)?!$k(b,153):!1};var Kz=function(a,b,c,d){KZ.call(this,function(f){var g=e;Zx(g.C,f);var h=bl(f,3)||0,k=""+h;h===2&&(k+="-"+g.A++);return k+=":"+(Rl(f,4)||0)},function(f){return new P7(e.D,e.F,f,e.h)});var e=this;this.D=a;this.h=b;this.F=c;this.C=d;this.A=0};V(Kz,KZ);Kz.prototype.sync=function(a,b){var c=this;b=b===void 0?0:b;var d=a.clone();Zx(this.C,d);var e=b?Date.now()-b:0;return this.h.get(pJ(d.clone(),1)).then(function(f){if(!e||!nE(f.response,3)||Sg(Cq(f.response,3))<e)return c.h.get(pJ(d.clone(),2)).then(function(){})})};var wga=function(a,b,c){if(a.ra()===1||a.ra()===6||a.ra()===2){let d=Vt(new P,311);g5(c.Kc,Sx(a.Sa()),d,void 0,void 0,void 0,!0).finally(function(){return b.update(8)}).catch(function(e){ok("Failed to update from HomepageActivityUpdateEvent",Zn(e),"warning")})}};var Sz=function(a,b,c){zZ.call(this,a,c);this.B=b};V(Sz,zZ);l=Sz.prototype;l.get=function(a){var b=this;return EZ(this,a).then(function(c){if(c.request&&c.response){var d=c.response.clone();if(!b.Xc(c.request,a,!0)&&b.Xc(c.request,a,!1)){var e=d.Pd().slice(0,Rl(a,10));d.Sg(e);e=d.Qd().slice(0,Rl(a,11));d.Tg(e)}}else d=new JO;return VZ(new wo(d,c.la),c.Ya)})};l.pg=function(a){return a.clone()};l.qf=function(a){return bl(a,3)};
l.Xc=function(a,b,c){return c?Np(a,b):Rl(a,10)>=Rl(b,10)&&Rl(a,11)>=Rl(b,11)};l.Uh=function(a,b){a=AZ(this).response;var c;return nE(b,3)&&((c=Tg(a==null?void 0:gq(a,3)))!=null?c:0)<Sg(Cq(b,3))};l.yd=function(){var a=AZ(this);if(a&&a.request&&a.response){var b=$x(a.response);b=b.length?Object.values(this.B.Lc(b)).filter(function(c){return!!c}):[];return Hka(Gka(Fka(new KO,a.request),a.response),b)}return null};var R7=function(a,b,c,d,e,f){QZ.call(this,a,b);var g=this;this.H=c;this.pa=d;this.j=e;this.wa=f;this.V=new Set;this.B=!1;this.data=this.g=null;this.Ya=!1;this.F=Infinity;this.K=a.then(function(h){var k=new Q4(function(m){if(g.g){var p=g.g.clone().setStatus(m.R()),t=new Map(Object.entries(m.response));m=KKa(g,[].concat(r(p.Pd())),t);t=KKa(g,[].concat(r(p.Qd())),t);p.Sg(m).Tg(t);g.Ta([p],p.R()!==1)}});g.Da(k);R4(h,k,g.wa);return k});this.ma=new bi(this);this.Da(this.ma);this.ma.listen(this.pa,"r",function(){g.F<=
Date.now()&&(g.refresh(LKa).catch(function(h){ok("Could not refresh HomePage Suggesions ViewCache",Zn(h),"warning")}),g.F=Infinity)})};V(R7,QZ);R7.prototype.Ud=function(){MKa(this)};R7.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=qJ(this.request.clone(),2);if(a){var c=a.clone();I(b,1,c);a===LKa&&(hp(b,Xx,7)||(a=new Xx,I(b,7,a)),Q(b,Xx,7).yb(2))}return S7(this,b,!1)};
var MKa=function(a){a.g===null&&S7(a,a.request).then(function(){},function(b){b=b.na;a.md(new J_(b,b.Qc()))})},S7=function(a,b,c){c=c===void 0?!0:c;return a.H.get(b).then(function(d){a.ob(d.la);var e;a.Ya=(e=d.Ya)!=null?e:!1;var f=NKa(a,d.response);OKa(a,f);return a.K.then(function(g){for(var h=new Set,k=q([].concat(r(f.Pd()),r(f.Qd()))),m=k.next();!m.done;m=k.next()){var p=void 0;(m=(p=m.value.getItem())==null?void 0:p.J())&&h.add(m)}h.size&&(k=g.jf,h=UP((new $t).Wb([].concat(r(h))),Nr(b,5,B())),
p=Nr(b,12,B()),h=Ie(h,19,Cc,p,Dc),k.call(g,h))})},function(d){return(c&&go(d.na)?CZ(a.H):Promise.resolve(!1)).then(function(e){if(e)return S7(a,b,!1);throw d;})})},NKa=function(a,b){if(!a.j.size)return b;b=b.clone();b.Sg(b.Pd().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.J();return!(c&&a.j.has(c))}));b.Tg(b.Qd().filter(function(c){var d;c=(d=c.getItem())==null?void 0:d.J();return!(c&&a.j.has(c))}));return b};
R7.prototype.fc=function(){var a,b,c=(b=(a=this.data)==null?void 0:a.R())!=null?b:6;a=this.data||(new JO).setStatus(c);return VZ(new wo(a,this.ra()),this.Ya).setStatus(c)};var OKa=function(a,b){a.B=!0;try{a.Ta([yga(a.request,b)],b.R()!==1).then(function(c){if(c){let d,e,f,g;a.F=Math.max(Date.now()+6E4,Math.min(((f=Tg((d=Q(b,dk,14))==null?void 0:Cq(d,1)))!=null?f:Infinity)*1E3,((g=Tg((e=Q(b,dk,15))==null?void 0:Cq(e,1)))!=null?g:Infinity)*1E3))}})}finally{a.B=!1}};
R7.prototype.Ac=function(a){this.B?(this.g=a.clone(),this.data=this.g.clone()):this.data=a;return!0};
var KKa=function(a,b,c){var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=e.getItem(),g=f==null?void 0:f.J();if(f&&g&&c.has(g)){let m,p=(m=c.get(g))==null?void 0:hv(m.clone(),f.Gh()),t;!p||((t=Q(p,vH,156))==null?0:hp(t,uH,1))||BI(p,Q(f,vH,156));if(p&&Oz(p).length&&Oz(f).length&&Oz(p)[0].J()===Oz(f)[0].J()){var h=Oz(f)[0];if(h=R(h,3))h=Oz(p)[0],h=!R(h,3);if(h){h=Oz(p)[0];var k=Oz(f)[0];k=D(k,3);Pr(h,k)}h=Oz(f)[0];if(h=R(h,5))h=Oz(p)[0],h=!R(h,5);h&&(h=Oz(p)[0],f=Oz(f)[0],f=D(f,
5),Tr(h,f))}p&&nE(p,23)&&a.V.add(g);g=a;!p||F(p,7)||g.V.has(p.J())&&!F(p,31)||(I(e,1,p),d.push(e))}else d.push(e)}return d};R7.prototype.h=function(a){this.K.then(function(b){b.h(a)}).catch(function(){})};var LKa=ix(jx(Vt(new P,306),!1),2);var Tz=function(a,b,c,d){KZ.call(this,function(f){f=bl(f,3)||0;var g=""+f;f===2&&(g+=":"+e.O++);return g},function(f){return new R7(e.da,f,e.A,e.F,e.D,e.H)});var e=this;this.da=a;this.A=b;this.F=c;this.H=d;this.D=new Set;this.O=0};V(Tz,KZ);Tz.prototype.h=function(a){this.D.add(a);for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.h(a)};
Tz.prototype.sync=function(a,b){var c=this,d=(b=b===void 0?0:b)?Date.now()-b:0;return this.A.get(qJ(a.clone(),1)).then(function(e){if(!d||!nE(e.response,3)||Sg(Cq(e.response,3))<d)return c.A.get(PKa(a)).then(function(){})})};var PKa=function(a){a=qJ(a.clone(),2);if(!hp(a,Xx,7)){var b=new Xx;I(a,7,b)}Q(a,Xx,7).yb(2);return a};var zga=function(a,b,c,d){d=d===void 0?Promise.resolve():d;a.ra()!==1&&a.ra()!==6&&a.ra()!==2||d.then(function(){var e=Vt(new P,311);return g5(c.Kc,$x(a.Sa()),e,void 0,void 0,void 0,!0).finally(function(){return b.update(12)})}).catch(function(e){ok("Failed to update from HomepageSuggestionsUpdateEvent",Zn(e),"warning")})};var T7=function(a,b){Yg.call(this);this.context=a;this.M=b;this.I=a.ia("sync.cache.InitialViewPopulator")};V(T7,Yg);
T7.prototype.run=function(a){var b=this;this.I.info("Running initial view populator (IVDP).");try{var c=Wja(a)}catch(m){return this.handleError("Error parsing initial view dump.",Zn(m)),Promise.resolve()}Oq(Xr(this.context.C))||(a=c.Uc())&&this.context.Jb(a,"IVDP");(a=Ug(gq(c,3))||void 0)&&QKa(this.context.Zh.get(),a);var d=c.Ma().slice();a=q(d);for(var e=a.next();!e.done;e=a.next())e=e.value,fl(e),Tx(e,6);var f=z(c,zK,5,B())[0];if(!f)return U7(this,"No initial query found",18),Promise.resolve();
var g=this.context.pb;if(!Bx(this.M.nb(),AK(f).za(),Yx(this.context.C),this.M.fd(),AK(f).Fe()))return U7(this,"Invalid initial view data, fields: "+z3(g,AK(f).za()),19),Promise.resolve();(c=nz(AK(f)))&&c.getType();if(d.length===0)return Promise.resolve();var h=AK(f),k=v3(h);return(k?q6(this.context.fa()):Promise.resolve()).then(function(){var m=qn(w3(g,h),ix(jx(Vt(new P,301),!0),1)),p=Sg(Cq(f,2))||void 0;IJ(m,p);p=x(f,4)||"";var t=!p&&!!Q(f,gl,3)||!!p&&k;z7(b.context.fa(),m,d,new c5,4,p,t);var w=
l1(b.M,m.za());if(w.length){let A=w3(g,m,!0),J=d.map(function(Z){Z=Z.clone();Gt(Z,w,b.M);return Z});z7(b.context.fa(),A,J,new c5,4,p,t)}m=un(m);m=G3(b.context.oc,m,"IVDP");b.context.oc.Af(m,d);B0(b.context.Oa,"W6J7De")},function(){U7(b,"Failed to load root item",92)}).catch(function(){U7(b,"Unable to load initial view data",93)})};T7.prototype.handleError=function(a,b){RKa(this,new fn(a,void 0,b))};
var U7=function(a,b,c){RKa(a,new fn(b,tL(Vn(Un(new Rn,2),c)),void 0))},RKa=function(a,b){var c=b.na;a.context.Qe(c);a.I.info("Initial view dump population failed. Message: "+b.h+"; Proto: "+c);B0(a.context.Oa,"DEJoH")};var V7=function(a,b){zZ.call(this,a,b)};V(V7,zZ);l=V7.prototype;l.get=function(a){return EZ(this,a).then(function(b){var c=b.request&&b.response?b.response.Sa().clone().ob(b.la):new jv;return VZ(new wo(c,b.la),b.Ya)})};l.vj=function(a){return Ud($P(Fz(a.clone())))};l.pg=function(a){return a.clone()};l.qf=function(a){if(N(a,48))return 1;var b;return((b=a.G())==null?void 0:b.g())===306?2:0};l.Xc=function(a,b,c){if(c)return Np(a,b);a=Fz(a.clone());b=Fz(b.clone());return Np(a,b)};
l.Uh=function(a,b){a=AZ(this,a).response;var c,d;return nE(b,4)&&((c=Tg(a==null?void 0:gq(a,4)))!=null?c:0)<((d=Tg(gq(b,4)))!=null?d:0)};var W7=function(a,b,c,d,e){e=e===void 0?0:e;QZ.call(this,a,b);var f=this;this.V=c;this.pa=d;this.j=e;this.F=!1;this.data=this.g=null;this.K=new Set;this.B=null;this.H=a.then(function(g){var h=new Q4(function(k){if(f.g){for(var m=f.g.clone().setStatus(k.R()),p=new Map(Object.entries(k.response)),t=[],w=q(m.Ma()),A=w.next();!A.done;A=w.next()){A=A.value;var J=A==null?void 0:A.J();if(J&&p.has(J)){let Z=p.get(J);if(Z&&Z.J()===$H(Z)&&!hp(Z,sH,73)&&k.R()!==1){t.push(A);continue}(J=p.get(J))==null?A=void 0:
(J=hv(J.clone(),A.Gh()),A=Q(A,gv,100),A=I(J,100,A));A&&nE(A,23)&&f.K.add(A.J());!A||F(A,7)||f.K.has(A.J())&&F(A,31)===!1||t.push(A)}else t.push(A)}iv(m,t);f.Ta([m],!1)}});h.K=!0;f.Da(h);R4(g,h,f.pa);return h})};V(W7,QZ);W7.prototype.Ud=function(){SKa(this)};W7.prototype.refresh=function(a){if(this.isDisposed())return Promise.resolve();var b=this.request.clone();a&&qn(b,a);return TKa(this,b)};
var UKa=function(a){a.j&&(a.B&&(clearTimeout(a.B),a.B=null),a.B=setTimeout(function(){a.refresh(ix(jx(Vt(new P,306),!1),2))},a.j))},SKa=function(a){a.g===null&&TKa(a,a.request).then(function(){},function(b){b=b.na;a.md(new J_(b,b.Qc()))})},TKa=function(a,b){return a.V.get(b).then(function(c){a.ob(c.la);VKa(a,c);a.H.then(function(d){var e=new Set;if(c.response)for(var f=q([].concat(r(c.response.Ma()))),g=f.next();!g.done;g=f.next())(g=g.value.J())&&e.add(g);e.size&&d.jf(UP((new $t).Wb([].concat(r(e))),
b.za()))})},function(c){throw c;})};W7.prototype.fc=function(){var a;(a=this.data)==null&&(a=(new jv).setStatus(6),a=H(a,5,!0));return UZ((new wo(a,this.ra())).setStatus(a.ka()),N(a,5,!0))};var VKa=function(a,b){if(b.response){a.F=!0;try{a.Ta([b.response],!1).then(function(c){c&&UKa(a)})}finally{a.F=!1}}};W7.prototype.Ac=function(a){this.F?(this.g=a.clone(),this.data=this.g.clone()):this.data=a;return!0};W7.prototype.h=function(a){this.H.then(function(b){b.h(a)})};var X7=function(a,b,c,d){KZ.call(this,function(f){var g=e,h;var k=g.D&&((h=f.G())==null?0:N(h,2))?N(f,48)?1:2:N(f,48)?1:0;g.D=!0;h=[Ud($P(Fz(f.clone()))),k];k===2&&(Vt(f.G(),306),h.push(g.F++));return h.join(":")},function(f){var g=e.H,h=e.A,k=e.O;var m=Q(e.da,ru,33);m=gq(m,16);return new W7(g,f,h,k,Tg(m))});var e=this;this.da=a;this.H=b;this.A=c;this.O=d;this.F=0;this.D=!1};V(X7,KZ);X7.prototype.h=function(a){for(var b=q(this.g.values()),c=b.next();!c.done;c=b.next())c.value.h(a)};var Y7=function(a,b){R_.call(this,b,function(c){return a.then(function(d){return d.route(c)})})};V(Y7,R_);Y7.prototype.Ah=function(a,b,c){a=a.clone();return E(a,7,c)};Y7.prototype.Oh=function(a){var b;return(b=D(a,6))!=null?b:""};Y7.prototype.Mh=function(a){return z(a,EO,5,B())};var WKa=function(a,b,c){this.g=a;this.N=b;this.cache=c};
WKa.prototype.Df=function(a,b,c,d){var e=this,f=dq(this.N,106047),g=[],h=[];f==null||CAa(DAa(AAa(zAa(BAa(b3(fq(f)),Date.now()-b),a.size),this.cache.size()),d!=null?d:!1),b);return XKa(this,a,c).then(function(k){var m=new Set;k=q(k);for(var p=k.next();!p.done;p=k.next()){var t=p.value;p=q(t.bm);for(var w=p.next();!w.done;w=p.next()){w=w.value;let J=w.J(),Z=D(w,2);var A=t.customerId;m.add(J);if(e.cache.le(J)){A=e.cache;let ha=w.getId(),Da=x(w,2),Ha=A.le(ha),Db=Ha.Lj!==Da;Z7(A,ha,Da,Ha.items,Ha.customerId);
Db&&h.push(Vz(zH(yH(new xH,J),Z).setDescription(D(w,9)).setTitle(w.Fa()),D(w,4)))}else t.Nm&&g.push(J),Z7(e.cache,J,Z,new Set,A)}}k=new Map;p=q(e.cache.getEntries());for(t=p.next();!t.done;t=p.next())w=q(t.value),t=w.next().value,w=w.next().value,!m.has(t)&&a.has(w.customerId)&&(k.set(t,w.items),e.cache.We.delete(t));f!=null&&(m=b3(fq(f)),m=K(m,5,g.length),m=K(m,6,h.length),H(m,7,!0));f==null||v_(f);return{lk:k,Ze:h,Mj:g}}).catch(function(){if(f!=null){var k=b3(fq(f));H(k,7,!1)}f==null||v_(f);return{lk:new Map,
Ze:[],Mj:[]}})};var XKa=async function(a,b,c){var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next()){let f=e.value;d.push(YKa(a,f).run().then(function(g){return{bm:g,Nm:!(c==null?0:c.has(f)),customerId:f}}).catch(function(g){if(co(g).na.Id()===403)return{bm:[],Nm:!1,customerId:f};throw g;}))}return await Promise.all(d).then(function(f){return f.flat()})},YKa=function(a,b){var c=new fP;b=E(c,2,b);b=H(b,1,!0);b=E(b,7,"");return new Y7(a.g,b)};var a8=function(a){this.We=new Map;if(a){for(var b=q(z(a,cP,1,B())),c=b.next();!c.done;c=b.next()){var d=Q(c.value,EO,1);c=d.getId();let e=x(d,2),f;(d=(f=ck(d,wO,8,HO))==null?void 0:D(f,1))&&Z7(this,c,e,new Set,d)}nE(a,3)&&$7(this,Cq(a,3))}};a8.prototype.le=function(a){return this.We.get(a)};a8.prototype.getEntries=function(){return this.We.entries()};
var Z7=function(a,b,c,d,e){a.We.set(b,{Lj:c,items:d,customerId:e})},b8=function(a,b,c){var d;(d=a.We.get(b))==null||d.items.add(c)},ZKa=function(a,b,c){if(a=a.le(b))a.items=new Set([].concat(r(a.items)).filter(function(d){return!c.has(d)}))};a8.prototype.size=function(){return this.We.size};
a8.prototype.yd=function(){var a=new eP;a=O(a,3,this.g);for(var b=q(this.getEntries()),c=b.next();!c.done;c=b.next()){c=q(c.value);var d=c.next().value;c=c.next().value;d=GO(FO(new EO,d),c.Lj);a:{var e=wO;var f=HO;ne(d);if(void 0===OD){if(Vj(d,f,8)!==8){e=void 0;break a}}else Ne(d.o,void 0,f,8);e=Sp(d,e,8)}E(e,1,c.customerId);c=a;d=dP(d);Oj(c,1,cP,d)}return a};var $7=function(a,b){Rt(a.g)&&(a.g=b)};var aLa=function(a,b,c,d,e,f){this.cache=a;this.D=b;this.F=c;this.A=d;this.h=new Set;this.g=Date.now();f&&(a=Number(Cq(f,2)),isFinite(a)&&(this.g=a));this.B=e!=null?e:!1;$Ka(this)},i6=async function(a,b){bLa(a,b)},bLa=function(a,b){var c=new Map,d=new Set,e=new Map,f=[],g=[];b=q(b);for(var h=b.next();!h.done;h=b.next()){var k=h.value;h=cLa(a,k);e=new Map([].concat(r(e),r(h.Ze)));h.Df&&d.add(D(k,136));var m=D(k,136);m&&!a.h.has(m)&&g.push(D(k,136));k=q(h.dm);for(m=k.next();!m.done;m=k.next())m=m.value,
c.has(m)?c.get(m).add(h.itemId):c.set(m,new Set([h.itemId]))}b=new Set(g);g=q(g);for(h=g.next();!h.done;h=g.next())a.h.add(h.value);(d.size>0&&a.B?a.A.Df(d,a.g,b).then(function(p){for(var t=q(p.lk.entries()),w=t.next();!w.done;w=t.next()){var A=q(w.value);w=A.next().value;A=A.next().value;c.set(w,A)}t=q(p.Ze);for(w=t.next();!w.done;w=t.next())w=w.value,A=w.getId(),e.has(A)||e.set(A,w);f=[].concat(r(p.Mj));dLa(a)}):Promise.resolve()).then(function(){eLa(a,e,f,c)})},cLa=function(a,b){var c=b.J(),d=
D(b,136),e={itemId:c,Df:!1,dm:[],Ze:new Map},f=new Set,g=!a.h.has(D(b,136));b=q(Ht(b));for(var h=b.next();!h.done;h=b.next()){h=h.value;let t=h.getId();f.add(t);a:{var k=c;var m=h,p=a.cache.le(t);if(!p){k=1;break a}m=D(m,2)!==p.Lj;k=!p.items.has(k);k=m&&k?4:m?2:k?3:5}switch(k){case 1:g&&Z7(a.cache,t,x(h,2),new Set([c]),d);e.Df=!0;b8(a.cache,t,c);break;case 2:e.Ze.set(t,h);break;case 3:b8(a.cache,t,c);break;case 4:b8(a.cache,t,c),e.Ze.set(t,h)}}d=q(a.cache.getEntries());for(g=d.next();!g.done;g=d.next())b=
q(g.value),g=b.next().value,b=b.next().value,!f.has(g)&&b.items.has(c)&&(b=void 0,(b=a.cache.We.get(g))==null||b.items.delete(c),e.dm.push(g),e.Df=!0);return e},eLa=function(a,b,c,d){if(c.length>0){var e=a.F;if(c.length!==0){var f=c.length>0,g,h=(g=M3(e.N,106049))!=null?g:void 0;h!=null&&(g=fq(h),g=Sp(g,M2,34),c=K(g,2,c.length),c=H(c,5,e.g),H(c,4,f));h==null||v_(h);f&&e.g&&$7(e.cache,jc(Date.now()))}}(b.size>0||d.size>0)&&fLa(a.D,b,d)},$Ka=function(a){!a.j&&a.B&&(a.j=setTimeout(async function(){await a.A.Df(a.h,
a.g,void 0,!0).then(function(b){for(var c=new Map,d=q(b.Ze),e=d.next();!e.done;e=d.next()){e=e.value;let f=e.getId();c.set(f,e)}eLa(a,c,b.Mj,b.lk)});dLa(a)},864E5-(Date.now()-a.g)))},dLa=function(a){a.j&&(clearTimeout(a.j),a.j=void 0);a.g=Date.now();$Ka(a)};aLa.prototype.yd=function(){return this.cache.yd()};var vra={compare:function(a,b){a=Number(D(a,2));b=Number(D(b,2));if(isNaN(a)||isNaN(b))throw Error("qd");switch(!0){case a<b:return-1;case a>b:return 1;default:return 0}}};var gLa=[329,21],hLa=function(a,b,c,d,e,f){this.B=a;this.N=b;this.cache=c;this.ea=d;this.A=e;this.C=f;this.h=new Set;this.g=this.j=void 0},fLa=function(a,b,c){if(b.size!==0||c.size!==0){var d=dq(a.N,106048),e=iLa(a,b);e.forEach(function(f){a.h.add(f.getId())});c=jLa(a,c);e=new Set([].concat(r(e),r(c)));e.size>0&&B7(a.ea,[].concat(r(e)));d==null||EAa(FAa(bBa(fq(d)),e.size),b.size);d==null||v_(d);a.h.size>Ija(xx(a.C))?(kLa(a),$7(a.cache,jc(Date.now()))):a.h.size>0&&!a.g&&!a.j&&lLa(a)}},mLa=function(a,
b,c){if(c.size===0)return[];a=N4(a.A,[].concat(r(c)));return Object.entries(a).reduce(function(d,e){e=q(e);e.next();e=e.next().value;var f=Ht(e.getItem()).find(function(g){return g.getId()===b.getId()&&x(g,2)!==x(b,2)});f&&(Dga(f,b),d.push(e));return d},[])},nLa=function(a,b,c){if(c.size===0)return[];a=N4(a.A,[].concat(r(c)));return Object.entries(a).reduce(function(d,e){e=q(e);e.next();e=e.next().value;var f=Ht(e.getItem()),g=f.filter(function(h){return h.getId()!==b});g.length!==f.length&&(It(e.getItem(),
g),d.push(e));return d},[])},jLa=function(a,b){return[].concat(r(b.entries())).reduce(function(c,d){var e=q(d);d=e.next().value;e=e.next().value;ZKa(a.cache,d,e);return c.concat(nLa(a,d,e))},[])},iLa=function(a,b){return[].concat(r(b.entries())).reduce(function(c,d){var e=q(d);d=e.next().value;e=e.next().value;var f,g;d=(g=(f=a.cache.le(d))==null?void 0:f.items)!=null?g:new Set;return c.concat(mLa(a,e,d))},[])},oLa=function(a,b){var c=Vt(new P,1508);Promise.resolve(g5(a.B,b,c,!1,gLa)).then(function(d){for(var e=
[],f=q(b),g=f.next();!g.done;g=f.next())g=g.value,d[g]||e.push(g);d=q(a.cache.getEntries());for(f=d.next();!f.done;f=d.next()){f=q(f.value);f.next();let h=f.next().value;f=q(e);for(g=f.next();!g.done;g=f.next())h.items.delete(g.value)}})},kLa=function(a){a.j&&(clearTimeout(a.j),a.j=void 0);a.g&&(clearInterval(a.g),a.g=void 0)},lLa=function(a){var b=Ega(a.C);Rt(b)||(a.j=setTimeout(function(){a.g||pLa(a)},b))},pLa=function(a){a.g=setInterval(function(){if(a.h.size===0)kLa(a);else{let d=[];for(var b=
q(a.h),c=b.next();!c.done;c=b.next()){c=c.value;if(d.length>=1E3)break;a.h.delete(c);d.push(c)}oLa(a,d)}},1E3)};var qLa=function(a,b,c){this.N=a;this.g=b;this.cache=c};var c8=function(a,b,c){QZ.call(this,a,b);this.h=c;this.data={};this.g=this.Ya=!1;this.ids=new Set(U(b,1,B()).map(Uz))};V(c8,TZ);c8.prototype.Ud=function(){this.g||this.refresh()};c8.prototype.refresh=function(a){var b=this;this.g=!0;if(this.isDisposed())return Promise.resolve();var c=this.request.clone();a&&I(c,3,a);return rLa(this,c).catch(function(d){d=d instanceof fn?d.na:bo(d);b.md(new J_(d,d.Qc()))})};
c8.prototype.fc=function(){return VZ((new wo(xca(this.data),this.ra())).setStatus(this.R()),this.Ya)};c8.prototype.Ac=function(a){var b=q(FZ(a));a=b.next().value;b=b.next().value;return this.ids.has(a)&&!Np(this.data[a],b)?(this.data[a]=b,!0):!1};
var rLa=async function(a,b){b=U(b,1,B()).map(Uz);var c=await a.h.Lc(b);if(c.length!==0){a.ob(a.cj(c));b=[];var d=!0;c=q(c);for(var e=c.next();!e.done;e=c.next()){var f=q(FZ(e.value));e=f.next().value;f=f.next().value;d=d&&f.Ya;b.push(ko([e,f.value]))}a.Ya=d;await a.Ta(b,!1)}};c8.prototype.cj=function(a){if(a.length===1)return a[0].value.la;a=new Set(a.map(function(b){return b.value.la}));return a.size===1?a.values().next().value:a.has(1)?1:a.has(3)?3:a.has(7)?7:0};var sLa=function(a,b){KZ.call(this,function(d){return U(d,1,B(tu)).sort().join(",")},function(d){return new c8(c.A,d,c.h)});var c=this;this.A=a;this.h=b};V(sLa,KZ);var tLa=function(a){a.h.listen("k",function(b){a.Ta(b.bn.map(function(c){var d=q(FZ(c));c=d.next().value;d=d.next().value;return ko([c,d.value])}),!1)})};var uLa=function(a){this.g=a};V(uLa,Zra);var fsa=async function(a,b){var c=await a.g;return(await Promise.all(b.map(async function(d){var e=new ZO;e=He(e,1,bd,d,void 0,dd);e=await c.route(e);return{id:d,response:e}}))).map(function(d){var e=d.id;d=d.response;var f=z(d,EO,5,B()),g=null;f.length===1&&(g=f[0]);return lo([e,{value:g,status:d.R(),errorMessage:x(d,3)}])})};var vLa=function(){};var d8=function(a,b,c){this.h=a;this.g=b;this.j=c===void 0?function(){}:c};V(d8,QY);d8.prototype.execute=async function(a){var b=a.ts,c=a.Bs,d=a.bn;a=a.refresh;var e=[];d&&e.push(wLa(this,d));a&&e.push(xLa(this,a));c&&e.push(yLa(this,c));b&&e.push(zLa(this,b));await Promise.all(e)};
var wLa=async function(a,b){var c=[];b=q(b.entries());for(var d=b.next();!d.done;d=b.next()){var e=q(d.value);d=e.next().value;e=e.next().value;let f,g=(f=a.g.g(d))==null?void 0:f.value;(!g||Number(x(g,2))<e)&&c.push(d)}c.length&&await a.refresh(c)},xLa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=b.next();!d.done;d=b.next()){d=d.value;let e=a.g.g(d);(!e||Date.now()-e.Yh>864E5)&&c.push(d)}c.length&&await a.refresh(c)},yLa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=
b.next();!d.done;d=b.next())d=d.value,JZ(a.g,d)||c.push(d);c.length&&(await a.refresh(c),a.j())},zLa=async function(a,b){var c=[];b=q([].concat(r(b)));for(var d=b.next();!d.done;d=b.next())d=d.value,JZ(a.g,d)&&c.push(d);c.length&&(await $Z(a.h,c)).some(function(e){return e.value.value===null})&&a.j()};d8.prototype.refresh=async function(a){await $Z(this.h,[].concat(r(a)))};var e8=function(){};V(e8,QY);e8.prototype.execute=function(){return Promise.resolve()};var ALa=function(){this.g=[]};var f8=function(a){this.g=a};V(f8,QY);f8.prototype.execute=function(a){this.g.g.push(a)};var g8=function(a,b,c,d){x_.call(this,a,b,d)};V(g8,x_);g8.prototype.yd=function(){var a=[].concat(r(this.g.getAll().values())).filter(function(b){return b.value!==null});return a.length===0?null:Pka(new eP,a.map(function(b){var c=dP(b.value);return O(c,2,b.Yh)}))};var h8=function(a,b,c,d,e){YZ.call(this,a,d);this.h=b;this.D=c;this.j=e;a=BLa(this);this.hb=vqa(a)};V(h8,YZ);h8.prototype.A=function(){YZ.prototype.A.call(this);CLa(this)};var CLa=function(a){mta(a.j,["zaOY7"],function(){a.g();var b=a.D,c=b.g;b.g=[];b=q(c);for(c=b.next();!c.done;c=b.next())a.hb(c.value)});mta(a.j,["mrK8ic"],function(){a.g()})};h8.prototype.g=function(){YZ.prototype.g.call(this);var a=BLa(this);this.hb.ti(a)};
var BLa=function(a){return a.connectionState.g()?a.h.qc:a.j.g("mrK8ic")?a.h.bo:a.j.g("zaOY7")?a.h.on:a.h.eo};var DLa=function(a,b,c,d,e){var f=this;this.O=a;this.F=b;this.connectionState=c;this.j=d;this.N=e;this.D=new zx(function(){var g=new sLa(f.F,f.ha.get());tLa(g);return g});this.ha=new zx(function(){var g=new g8(f.pa.get(),f.g.get(),f.mb.get(),f.V.get());hsa(g);return g});this.pa=new zx(function(){var g=new h8(f.da.get(),f.K.get(),f.A.get(),f.connectionState,f.j);g.A();return g});this.g=new zx(function(){return wra()});this.V=new zx(function(){return new Wra(f.j,f.N)});this.h=new zx(function(){return new dsa(f.wa.get(),
f.g.get())});this.wa=new zx(function(){return new uLa(f.O)});this.qb=new zx(function(){return new gsa});this.mb=new zx(function(){return new vLa});this.A=new zx(function(){return new ALa});this.Ua=new zx(function(){return RY(new a_(f.g.get(),f.qb.get()))});this.Ea=new zx(function(){return RY(new ZZ(f.h.get()))});this.ab=new zx(function(){return RY(new b_(f.g.get(),f.h.get()))});this.da=new zx(function(){return{qc:f.Ua.get(),Yn:f.Ea.get(),al:f.ab.get()}});this.B=new zx(function(){return RY(new f8(f.A.get()))});
this.H=new zx(function(){return RY(new d8(f.h.get(),f.g.get()))});this.Pa=new zx(function(){return RY(new e8)});this.K=new zx(function(){return{qc:f.B.get(),eo:f.B.get(),on:f.H.get(),bo:f.Pa.get()}})};DLa.prototype.fa=function(){return this.D.get()};var i8=function(a,b,c){var d=d===void 0?new OZ(1E4,3E5):d;var e=e===void 0?Date.now()+72E5:e;this.j=b;this.zb=c;this.g=d;this.A=e;this.h=5;var f;a=(f=a.X())==null?void 0:OO(f);this.B=vn({direction:2,mc:1,ba:Vt(new P,1425),driveId:a})};i8.prototype.start=async function(){await ELa(this).catch(function(){})};
var ELa=async function(a){if(!(Date.now()>a.A||a.h<=0)){await a.delay();try{if(await FLa(a))return}catch(b){a.h--}await ELa(a)}},FLa=async function(a){var b=(await (await a.j).route(a.B)).Sa().Ma()[0];return b&&Z4(a.zb,b)?!1:!0};i8.prototype.delay=function(){var a=this.g.getValue();NZ(this.g);return new Promise(function(b){setTimeout(b,a)})};var HLa=function(a){this.h=new Map;this.g={};this.j=a;this.A=GLa(this,a)},KLa=function(a,b){var c=Sg(Cq(b,2));if(c){var d,e;b=(e=(d=b.X())==null?void 0:OO(d))!=null?e:"root";a.h.has(b)||a.h.set(b,new j8(ILa(a,b)));a=JLa(a,b);c=new k8(c,a);a.h.add(c);return c}},LLa=function(a,b){b&&Object.entries(b).forEach(function(c){var d=q(c);c=d.next().value;d.next();d=new j8(ILa(a,c));d.g=new k8(a.g[c],d);a.h.set(c,d)})},GLa=async function(a,b){try{let c=await NGa(b);a.g=Object.assign({},c||{},a.g);LLa(a,c)}catch(c){ok("Error getting empty trash operation timestamps",
co(c),"warning")}},JLa=function(a,b){a.h.has(b);return a.h.get(b)},ILa=function(a,b){return async function(c){if(a.g)a.g[b]=c.timestampMillis;else{var d={};a.g=(d[b]=c.timestampMillis,d)}try{await a.A;try{await a.j.set(MGa,a.g)}catch(e){ok("Error setting empty trash operation timestamps",co(e),"warning")}}catch(e){}}},j8=function(a){this.ck=a;this.h=new Set;this.g=null};
j8.prototype.commit=function(a){this.h.delete(a);if(this.g&&this.g.timestampMillis>a.timestampMillis)return!1;this.ck(a);this.g=a;return!0};j8.prototype.Yf=function(a){return this.h.delete(a)};var k8=function(a,b){this.timestampMillis=a;this.context=b};k8.prototype.commit=function(){return this.context.commit(this)};k8.prototype.Yf=function(){return this.context.Yf(this)};var MLa=function(a,b){nE(b,96);return Sg(gq(b,96))<=a.timestampMillis};var NLa=function(a){this.g=a;this.zb=new wKa(function(b){return b.J()})},Z4=function(a,b){var c,d=a.g,e;var f=(e=$H(b))!=null?e:"root";if(d.h.has(f))a:if(d=JLa(d,f),nE(b,96)){f=q(d.h);for(e=f.next();!e.done;e=f.next())if(MLa(e.value,b)){d=!0;break a}var g;d=(g=(c=d.g)==null?void 0:MLa(c,b))!=null?g:!1}else d=!1;else d=!1;(c=d)||(a=a.zb,c=a.g.has(a.h(b)));return c},wFa=function(a,b){return b.filter(function(c){return!Z4(a,c)})};var l8=function(a){return new no(a.getId(),a)};var m8=function(a){Yg.call(this);this.context=a};V(m8,Yg);m8.prototype.run=function(a){try{return OLa(this,Xka(a))}catch(b){return this.handleError("Error parsing prefetched request.",28,b),Promise.resolve()}};
var OLa=function(a,b){Ys(b,1);a.log("Running prefetched request populator for "+bl(b,1)+".");switch(bl(b,1)){case 1:b=PLa(a,b);break;case 4:b=QLa(a,b);break;case 6:b=RLa(a,b);break;case 7:b=SLa(a,b);break;case 8:b=TLa(a,b);break;case 5:b=Promise.all(Wka(ck(b,PP,7,SP)).map(function(c){OLa(a,c)}));break;case 9:b=ULa(a,b);break;case 12:b=VLa(a,b);break;default:return a.handleError("Unsupported prefetched request.",29),Promise.resolve()}return b},PLa=function(a,b){var c=w3(a.context.pb,ck(b,pn,2,RP));
b=JSON.parse(x(b,Vj(b,SP,3))||"{}");return a.context.Xf.jg.convert(c,{headers:{},text:"",json:b}).then(function(d){d.Sa().Ma().forEach(function(e){Tx(e,7)});a.context.nh.get().A.set(c,d,2)})},RLa=function(a,b){var c=ck(b,pn,2,RP),d=ck(b,jv,9,SP);b=d.Ma(tu);for(var e=q(b),f=e.next();!f.done;f=e.next())Tx(f.value,7);d=rFa(d);z7(a.context.fa(),c,b,d,2);return Promise.resolve()},QLa=function(a,b){var c=MP(ck(b,ax,8,SP));a.context.Fd.rf(c.map(l8),ck(b,KP,6,RP),2,!1);return Promise.resolve()},SLa=function(a,
b){var c=ck(b,IP,10,RP);b=JSON.parse(x(b,Vj(b,SP,3))||"{}");return a.context.Xf.jg.convert(c,{headers:{},text:"",json:b}).then(function(d){WLa(a.context).rf([d],c,2,!1)})},TLa=function(a,b){var c=ck(b,mx,11,RP);b=ck(b,uF,12,SP);b=xF(b);a.context.sd.get().h.set(c,b,2);return Promise.resolve()},ULa=function(a,b){var c=ck(b,yA,13,RP);b=Wx(ck(b,NP,14,SP));a.context.Bd.get().h.set(c,b,2);return Promise.resolve()},VLa=function(a,b){var c=ck(b,zA,17,RP);b=dy(c,ck(b,OP,15,SP),a.context.Oi);a.context.be.get().A.set(c,
b,2);return Promise.resolve()};m8.prototype.handleError=function(a,b,c){var d=void 0;if(c)if(Yn(c))d=c,a+=": "+d.message;else try{a+=": "+JSON.stringify(c)}catch(e){a+=": "+c}this.log(a);c=new fn(a,void 0,d);tL(Ct(Vn(Un(c.na,2),b),a));this.context.dispatchEvent(new t0(c))};m8.prototype.log=function(a){this.context.S.ia("sync.cache.PrefetchedRequestPopulator").info(a)};var n8=function(a,b,c){R_.call(this,a,c);this.j=b};V(n8,R_);n8.prototype.Ah=function(a,b){a=a.clone();return K(a,1,b)};n8.prototype.Oh=function(){return""};n8.prototype.Mh=function(a){return[a]};n8.prototype.gh=function(a){this.j(a)};var o8=function(a,b,c,d){QZ.call(this,a,d.clone());this.B=b;this.g=this.h=null;this.j=c};V(o8,QZ);l=o8.prototype;l.Ud=function(){this.resize()};l.refresh=function(){var a=this;this.ob(this.ra()===0?1:6);this.g=new n8(this.request,this.j,function(b){return a.B.then(function(c){return c.route(b)})});return this.g.run(this.request.Ia()||0).then(function(){})};
l.resize=async function(){for(var a=await this.A,b=0,c=q(this.nc),d=c.next();!d.done;d=c.next())d=SZ(a,d.value),b=Math.max(b,d.Ia()||0);a=b;this.R()===1||this.g&&a===Zt(this.request,1)||(K(this.request,1,a),this.g?this.g.run(a):this.refresh())};l.fc=function(){if(this.h){let a;return(new wo(this.h)).setStatus((a=this.h.ka())!=null?a:6)}return(new wo(new ex)).setStatus(this.R())};l.Ac=function(a){this.h=a;return!0};var p8=function(a,b,c){KZ.call(this,function(e){return e.toString()},function(e){return XLa(d,e)});var d=this;this.h=a;this.A=b;this.S=c};V(p8,KZ);var XLa=function(a,b){return new o8(a.h,a.A,function(c){a.Ta(c,!1)},b)};p8.prototype.log=function(a){this.S.ia("sync.cache.SuggestedWorkspaceCacheManager").info(a)};
p8.prototype.rf=function(a,b,c,d){var e=z(a[0],fx,2,B());this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return C(f,1)}).join(", "));KZ.prototype.rf.call(this,a,b,c,d)};var r8=function(a){Yg.call(this);var b=this;this.context=a;this.g=[];this.j=new px;this.h=new Map;this.B=-1;this.A=0;var c=HW();this.D=c.promise;LGa(this.context.Dc).then(function(d){b.g=d||[];c.resolve();q8(b)},function(){return c.resolve()})};V(r8,Yg);
var TIa=function(a,b){N(a.context.C,46)&&a.D.then(function(){if(a.g[0]!==b){Na(a.g,b);var c=a.context.fa().Ha;for(RCa(c.g(b))?a.log(b,"Hidden TD, not tracking in recency list"):Ta(a.g,0,0,b);a.g.length>Rl(a.context.C,47,5)*2;)a.g.pop();a.context.Dc.set(T5,a.g)}a.context.fa().Lb.Te().length+a.h.size<Rl(a.context.C,47,5)&&(q8(a),s8(a))})},YLa=function(a,b){Na(a.g,b)&&a.context.Dc.set(T5,a.g)},fKa=function(a,b,c){a.context.Ni.propagate(b,c);rA(b)&&(c=C(b,7),N(b,3)?C7(a,c,!0):(b=b.getItem(),RCa(b)&&YLa(a,
c)))},C7=function(a,b,c){YLa(a,b);a.j.contains(b)&&a.j.remove(b);var d=a.h.get(b);d&&d.dispose();a.h.delete(b);d=a.context.fa().Lb;var e=d.Te();for(let f=0;f<e.length;f++){let g=e[f];if(g.teamDriveId===b){a.log(b,"Cache removed");d.remove(g);a.context.lb.update(3).catch(function(h){ok("Failed to update dump #"+f+"/"+e.length,Zn(h),"warning")});break}}a.context.Gc.promise.then(function(f){S6(f,b,c)});s8(a)},s8=function(a){if(a.context.Oa.g("rVezo")){var b=a.context.fa().Lb;for(ZLa(a);a.j.Va()&&!(a.A>=
Rl(a.context.C,47,5));){let c=y4(a.j);a.A++;if(JFa(b,c))continue;if(a.h.has(c))continue;a.h.set(c,null);let d=new dQ;E(d,1,c);D4(a.context).then(function(e){return e.route(d)}).then(function(e){if(F(e,3))a.log(c,"Small enough to backfill"),$La(a,t8(a,c));else{a.log(c,"Too large to backfill");let f,g;((f=a.context.C)==null?0:(g=XJ(f))==null?0:N(g,18))?(aMa(a,t8(a,c),g6(a.context.Nb,c)),j6(a.context.Nb,c)):u8(a,c,!1)}},function(e){e=bo(e,46);(e=am(e,10))&&e===4?(a.log(c,"Non-existent or inaccessible, removing from cache"),
e=MI(OI(LI(new KI,c),c)),a.context.fa().hb([e])):$La(a,t8(a,c))})}}},q8=function(a){a.g.length&&(a.A=0,a.j.clear(),a.g.forEach(function(b){a.j.g.push(b)}))},ZLa=function(a){n.clearTimeout(a.B);a.B=n.setTimeout(function(){q8(a);s8(a)},36E5)},t8=function(a,b){a.context.Gc.promise.then(function(c){h6(c,b)});return new i5(a.context.C,a.context.tb,a.context.lc,b)},$La=function(a,b){var c=IJ(b.X().clone(),Rl(a.context.C,48,1E3));c=new j5(a.context,b,c);var d=b.teamDriveId;a.h.set(d,c);a.log(d,"Backfill started");
var e=g6(a.context.Nb,d);c.run().then(function(){aMa(a,b,e);var f,g;((f=a.context.C)==null?0:(g=XJ(f))==null?0:N(g,18))&&b.yc(0)},function(){a.log(d,"Backfill failed");a.A--;u8(a,d,!0)}).then(function(){j6(a.context.Nb,d)},function(){j6(a.context.Nb,d)})},aMa=function(a,b,c){var d=b.teamDriveId;b.wc?(b.cf(),q5(b,c,a.context.ae).then(function(e){a.log(d,"CorpusCacheUpdater complete, size: "+b.getSize());u6(a.context.fa(),b,e);u8(a,d,!1)},function(){a.log(d,"CorpusCacheUpdater failed");u8(a,d,!0)})):
(a.log(d,"Backfill exceeded size limit"),u8(a,d,!0))},u8=function(a,b,c){var d=a.h.get(b);d&&d.dispose();a.h.delete(b);c&&a.context.Gc.promise.then(function(e){S6(e,b,!1)});s8(a);a.h.size>0||a.context.fa().Lb.Te().map(function(e){return e.teamDriveId}).filter(function(e){return!a.g.includes(e)}).forEach(function(e){C7(a,e,!0)})};r8.prototype.log=function(a,b){this.context.S.ia("sync.cache.TeamDriveCacheManager").info(a+" | "+b)};var v8=function(a,b,c,d){Q_.call(this,a.clone(),c,d);this.h=b};V(v8,Q_);v8.prototype.B=function(a){for(var b=new Map,c=q(a.ta()),d=c.next();!d.done;d=c.next()){d=d.value;var e=a.clone();e=rs(e,1,[d]);b.set(d,e)}return b};v8.prototype.j=function(a){this.h([].concat(r(Ce(a,2,cx).values())).map(l8),!0)};v8.prototype.D=function(){this.h([],!1)};v8.prototype.F=function(a){this.h([new no(a,null)],!0)};var w8=function(a,b,c,d,e){e=e.clone();QZ.call(this,a,e);this.B=b;this.S=c;this.j=d;this.g={};this.h=null};V(w8,TZ);w8.prototype.refresh=function(){this.h=new v8(this.request,this.j,this.B,this.S);return this.h.run()};w8.prototype.fc=function(){var a=new JQ,b=(new wo(a,this.ra())).setStatus(this.R());bh(this.g,function(c,d){Ce(a,2,cx).set(d,c||new cx)});return b};
w8.prototype.Ac=function(a){var b=q(FZ(a));a=b.next().value;b=b.next().value;if(!b){if(this.g[a])return delete this.g[a],!0}else if(this.request.ta().indexOf(a)>=0)return this.g[a]=b,!0;return!1};w8.prototype.Ud=function(){this.h||this.refresh()};var bMa=function(a,b){a=ws(a,1);return a==null||ws(b,5)==a};var x8=function(a,b,c){R_.call(this,a,c);this.j=b};V(x8,R_);x8.prototype.Ah=function(a,b,c){a=a.clone();a=K(a,2,b);return new en(a,c)};x8.prototype.Oh=function(a){return a.rb()||""};x8.prototype.Mh=function(a){return MP(a)};x8.prototype.gh=function(a){this.j(this.request,a.map(l8))};var y8=function(a){this.g=Zk(a)};y8.prototype.h=function(a,b,c){var d=C(b,2)||"",e=C(c,2)||"",f;d!==e?f=this.g(d,e)*(a?1:-1):f=Wa(C(b,1),C(c,1))*(a?1:-1);return f};y8.prototype.j=function(a,b,c){var d=Ug(gq(b,4)),e=Ug(gq(c,4)),f;d!==e?f=Wa(d,e)*(a?1:-1):f=Wa(C(b,1),C(c,1))*(a?1:-1);return f};var z8=function(a,b,c,d,e){e=e.clone();QZ.call(this,a,e);this.B=b;this.j=d;this.h=[];this.g=null;a=new y8(c);b=(c=Q(this.request,JP,5))?am(c,1):0;c=c?am(c,2):0;this.F=b===1?a.h.bind(a,c!==2):a.j.bind(a,c===1)};V(z8,RZ);z8.prototype.refresh=function(){var a=this;this.ob(this.ra()===0?1:6);this.g=new x8(this.request,this.j,function(b){return a.B.then(function(c){return c.route(b)})});return this.g.run(Aq(this.request,2)||0).then(function(){})};
z8.prototype.Rk=function(a){this.R()===1||this.g&&a===Aq(this.request,2)||(K(this.request,2,a),this.g?this.g.run(a):Promise.resolve(this.refresh()).catch(function(b){ok("Refresh failed in continue with no runner. limit:"+a,Error("rd",{cause:b}),"warning")}))};z8.prototype.fc=function(){var a=$w((new ax).setStatus(this.R()),this.h.map(function(c){return c.clone()})),b=this.R()!==1&&S_(this.g);return UZ(new wo(a,this.ra()),b).setStatus(this.R())};
z8.prototype.Ac=function(a){a=q(FZ(a));var b=a.next().value;a=a.next().value;var c=Oa(this.h,function(d){return C(d,1)===b});return a&&a&&bMa(this.request,a)?Xa(this.h,a,this.F):c};var A8=function(a,b,c,d){MZ.call(this,function(f){return f.toString()},function(f){return cMa(e,f)});var e=this;this.h=a;this.A=b;this.S=c;this.C=d};V(A8,MZ);A8.prototype.log=function(a){this.S.ia("sync.cache.WorkspaceCacheManager").info(a)};var cMa=function(a,b){if(LP(b))return new z8(a.h,a.A,Ms(Xr(a.C)),function(c,d){a.Ta(d,!1,void 0,c)},b);if(Om(b))return new w8(a.h,a.A,a.S,function(c,d){a.Ta(c,d)},b);throw Error("sd`"+b);};
A8.prototype.rf=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(mo).join(", "));MZ.prototype.rf.call(this,a,b,c,d)};var B8=function(a,b){Yg.call(this);this.serviceId=a;this.H=b;this.V={}};V(B8,Yg);
var dMa=function(a,b){C8(b,a.serviceId,function(c){{let e=a.V[c.m];if(e)try{var d=e(c).catch(cA)}catch(f){d=Promise.resolve(cA(f))}else c=c.m,d=a.serviceId,c=Ct(Vn(Un(new Rn,2),3),d+":"+c+": unsupported method"),c=Oo(c,bA).payload,d=Promise.resolve(c)}return d})},D8=function(a,b,c){a.V[b.aa]=Lca(b,c)},E8=function(a,b,c){var d=function(){return eMa(a,b,c,ac.apply(0,arguments))};return{call:d,dj:function(){d.apply(null,r(ac.apply(0,arguments))).catch(function(e){var f=a.serviceId,g=c.aa;e=co(e);ok("Proxy "+
g+" on service "+f+" failed",e,"warning")})}}},eMa=function(a,b,c,d){var e=fMa(a,b);if(e.isDisposed())throw new gMa(a.serviceId,c.aa,b);b=e.D;var f=new py;d=Jo(c,d,{ca:b}).payload;RC(e,a.serviceId,d,function(g){g=Po(g,c,bA);g.hf?f.resolve(g.response):f.reject(new fn(void 0,g.error))});return f.promise},fMa=function(a,b){a=a.H.channels[b]||null;if(!a)throw co(Error("td`"+b));return a};B8.prototype.od=function(){return Promise.resolve()};
var gMa=function(a,b,c){fn.call(this,"Method:"+b+" Service:"+a+". Channel:"+c+" is closed")};V(gMa,fn);var hA=function(a){Yg.call(this);this.h=a;this.g={};this.h.Mg(nj(this.j,this))};V(hA,Yg);var iA=function(a,b){if(b.indexOf(":")!=-1)throw Error("ud`"+b);if(b in a.g)throw Error("vd`"+b);var c=new F8(a,b);return a.g[b]=c};hA.prototype.j=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.g&&(c=this.g[c])&&c.j&&c.j(a,b)}};hA.prototype.ya=function(){bh(this.g,function(a){Wg(a)});Wg(this.h);delete this.g;delete this.h};var F8=function(a,b){Yg.call(this);this.g=a;this.h=b};V(F8,Yg);
l=F8.prototype;l.connect=function(a){a&&a()};l.tf=function(a,b,c){this.g.h.tf(this.h+":"+a,nj(this.Fl,this,b),c)};l.Mg=function(a){this.j=nj(this.Fl,this,a)};l.send=function(a,b){if(this.isDisposed())throw Error("wd");this.g.h.send(this.h+":"+a,b)};l.Fl=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};l.ya=function(){this.g=this.g.g[this.h]=null};yD(dA,Yg);l=dA.prototype;l.I=null;l.connect=function(a){a&&a()};l.tf=function(a,b,c){this.h[a]={callback:b,wm:!!c}};l.Mg=function(a){this.j=a};l.ya=function(){dA.Fb.ya.call(this);delete this.h;delete this.j};yD(eA,Yg);l=eA.prototype;l.cancel=function(){this.g.cancel()};l.connect=function(a){a&&a()};l.tf=function(a,b,c){iY(this.g,function(d){d.tf(a,b,c)})};l.Mg=function(a){iY(this.g,function(b){b.Mg(a)})};l.send=function(a,b){iY(this.g,function(c){c.send(a,b)})};l.ya=function(){this.cancel();eA.Fb.ya.call(this)};yD(gA,dA);var hMa=function(a){if(a=="*")return new eA(Dpa());var b=new jk,c=fA(window,"message",function(d){d=d.fg;var e=d.data;qr(e)&&e["--goog.messaging.PortChannel"]&&window.parent==d.source&&a==d.origin&&(d=d.ports[0],d.postMessage({}),d.start(),b.callback(new gA(d)),KT(c))});return new eA(b)},G8;
if(G8=yC){let a=0,b=String(iia).trim().split("."),c=["533"],d=Math.max(b.length,c.length);for(let e=0;a==0&&e<d;e++){let f=b[e]||"",g=c[e]||"";do{let h=/(\d*)(\D*)(.*)/.exec(f)||["","","",""],k=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(h[0].length==0&&k[0].length==0)break;a=na(h[1].length==0?0:parseInt(h[1],10),k[1].length==0?0:parseInt(k[1],10))||na(h[2].length==0,k[2].length==0)||na(h[2],k[2]);f=h[3];g=k[3]}while(a==0)}G8=a<0}var iMa=G8;l=gA.prototype;l.I=null;
l.send=function(a,b){var c=[];b=this.oj(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};iMa&&(a=OT(a));this.g.postMessage(a,c)};
l.fp=function(a){var b=a.fg;a=b.data;if(iMa)try{a=JSON.parse(a)}catch(e){return}if(qr(a)&&a["--goog.messaging.PortChannel"]&&"serviceName"in a&&"payload"in a){var c=a.serviceName;a=a.payload;var d=this.h[c];if(c=d?d:this.j?{callback:tj(this.j,c),wm:qr(a)}:null){a:{b=this.Fj(b.ports||[],a);if((d=c.wm)&&typeof b==="string")try{a=JSON.parse(b);break a}catch(e){a=null;break a}else if(!d&&typeof b!=="string"){a=OT(b);break a}a=b}a!=null&&c.callback(a)}}};
l.oj=function(a,b){return b&&Object.prototype.toString.call(b)=="[object MessagePort]"?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?b.map(nj(this.oj,this,a)):b&&b.constructor==Object?ch(b,function(c,d){c=this.oj(a,c);return d=="_port"?{type:"escaped",val:c}:c},this):b};l.Fj=function(a,b){return Array.isArray(b)?b.map(nj(this.Fj,this,a)):b&&b.constructor==Object?b._port&&b._port.type=="real"?a[b._port.index]:ch(b,function(c,d){return this.Fj(a,d=="_port"?c.val:c)},this):b};
l.ya=function(){KT(this.A);Object.prototype.toString.call(this.g)=="[object MessagePort]"?this.g.close():Object.prototype.toString.call(this.g)=="[object Worker]"&&this.g.terminate();delete this.g;gA.Fb.ya.call(this)};yD(jA,Yg);jA.prototype.F=0;jA.prototype.ya=function(){Wg(this.g);delete this.g;delete this.A;delete this.h};jA.prototype.send=function(a,b,c){var d=this.F++;this.j[d]=c;c={signature:d};c.data=b;this.A.send(a,c)};jA.prototype.D=function(a){var b=a.signature;a=a.data;b in this.j&&((0,this.j[b])(a),delete this.j[b])};var jMa=function(a,b,c){a.A.tf(b,nj(a.B,a,c),!0)};
jA.prototype.B=function(a,b){a=a(b.data);var c=b.signature;DW(a).then(nj(function(d){var e={};e.data=d;e.signature=c;this.h&&this.h.send("mics",e)},this))};var H8=function(a,b){Yg.call(this);this.D=b;this.g=!1;this.h=new hA(a);this.Da(this.h);this.j=new jA(iA(this.h,"direct"));this.Da(this.j)};V(H8,Yg);var I8=function(a,b,c){jMa(a.j,b,function(d){return c(d)})};H8.prototype.send=function(a,b,c){this.j.send(a,b||{},function(d){return(c||function(){})(d)})};var J8=function(a,b){H8.call(this,a,b);this.B=!1;this.A=iA(this.h,"passthrough");this.Da(this.A)};V(J8,H8);var kMa=function(a,b){a.B||b===a||(b.A.Mg(function(c,d){return void a.A.send(c,d)}),a.B=!0)};
J8.prototype.start=function(){this.g||(this.g=!0);if(!this.B)throw Error("yd");};var PC=function(a,b){H8.call(this,a,b);this.A=new jA(iA(this.h,"passthrough"));this.Da(this.A)};V(PC,H8);var C8=function(a,b,c){jMa(a.A,b,function(d){return c(d)})},RC=function(a,b,c,d){a.A.send(b,c,function(e){d(e)})};PC.prototype.start=function(){this.g||(this.g=!0)};var lMa={sb:Tb(Error),jb:function(a){return vo(bo(a,42).ca())},fb:function(a){return Zn(xL(a))}};var K8=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},GC=function(){this.g=n.document||document};
GC.prototype.createTable=function(a,b,c){var d=this.g;c=!!c;var e=K8(d,"TABLE"),f=e.appendChild(K8(d,"TBODY"));for(let g=0;g<a;g++){let h=K8(d,"TR");for(let k=0;k<b;k++){let m=K8(d,"TD");if(c){let p;if("textContent"in m)m.textContent="\u00a0";else if(m.nodeType==3)m.data="\u00a0";else if(m.firstChild&&m.firstChild.nodeType==3){for(;m.lastChild!=m.firstChild;)m.removeChild(m.lastChild);m.firstChild.data="\u00a0"}else{for(;p=m.firstChild;)m.removeChild(p);m.appendChild((m.nodeType==9?m:m.ownerDocument||
m.document).createTextNode("\u00a0"))}}h.appendChild(m)}f.appendChild(h)}return e};GC.prototype.contains=function(a,b){return a&&b?a==b||a.contains(b):!1};var mMa=nD([""]),L8=function(a,b){Yg.call(this);this.h=a;this.Da(this.h);this.g=b;this.Da(this.g);this.ma=new bi(this);this.Da(this.ma);this.initialize()};V(L8,Yg);L8.prototype.initialize=function(){this.ma.bf(n,"beforeunload",function(){this.g.send("8.1")});kMa(this.h,this.g);this.h.start();nMa(this)};
var nMa=function(a){I8(a.g,"1.1",function(){var b=new Ci,c={},d=b.get("SAPISID")||b.get("__Secure-3PAPISID");d&&(c.__SAPISID=d);(b=b.get("APISID"))&&(c.__APISID=b);return{ac:c,bl:n._DRIVE_buildLabel}});kMa(a.g,a.h);a.g.start()},oMa=function(a){var b=C(a,2);if(a=Q(a,YJ,4)){let c=pba()||"",d=fb(c,!0);if(!Dh(b,d)&&(a=Ga(U(a,1,B()),function(e){return Dh(e,d)})))return a}return b},pMa=function(){if(window!=window.top){if(!("SharedWorker"in n||"Worker"in n))throw Error("zd");if(!n._DRIVE_cswic)throw Error("Ad");
var a=Kja(n._DRIVE_cswic),b=oMa(a),c=new J8(hMa(b),!0);c.send("2.0",{},function(d){var e=d.fds.sort(),f=Rx(Q(a,PJ,5))||Qx(mMa),g=d.uid;d=D(a,3);g="#"+g+"_";var h=new gy;h.update(e.join(","));g+=ia(h.digest());d&&(g+="&jobset="+d);e=vh(f+"?"+g);"SharedWorker"in n?(f=new SharedWorker(wh(e),void 0),e=new gA(f.port),cta(f.port,r0),f.port.start()):(f=new Worker(wh(e),void 0),e=new gA(f),gta(f));e=new J8(e,!0);new L8(c,e)})}};var Rha=function(){this.channels={};this.g=this.h=this.j=0},qMa=function(a,b){var c=a.j++;a.channels[c]=b;a.h++;a.g=Math.max(a.g,eh(a.channels));return c},rMa=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null},QC=function(a){return Object.values(a.channels)};var sMa=Ro({aa:"5.4",params:[dp(k0)],response:L(fK)}),tMa=Ro({aa:"5.2",params:[ep],response:Xo(L(gl),m0)}),uMa=Ro({aa:"5.5",params:[],response:Uo(L(wK))}),vMa=Ro({aa:"5.8",params:[L(wK),dp(k0),dp(k0)],response:Wo(dp(ep),dp(ep),Uo(L(gl)))}),wMa=Ro({aa:"5.9",params:[],response:Yo}),xMa=Ro({aa:"5.1",params:[],response:Yo}),yMa=Ro({aa:"5.6",params:[],response:Yo}),zMa=Ro({aa:"5.7",params:[],response:dp(Wo(ep,Ysa,Uo(L(dK))))}),AMa=Ro({aa:"5.10",params:[],response:dp(Wo(ep,Ysa))}),BMa=Ro({aa:"5.12",params:[],
response:ep}),CMa=Ro({aa:"5.11",params:[],response:Yo}),DMa=Ro({aa:"5.13",params:[k0],response:Yo});var M8=function(a){this.context=a};l=M8.prototype;l.getContext=function(){return this.context};l.Tc=function(){return this.context.oc.Tc(null)};l.xg=function(){return this.context.xg()};l.qj=function(a){return mY(this.context.fa().Ha.g(a))};l.Of=function(){return mY(this.context.oc.Of())};
l.Ym=function(a,b,c){var d=new jk;if(ck(a,sK,3,xK)||ck(a,vK,4,xK)||ck(a,iK,5,xK)||ck(a,rK,6,xK)||ck(a,kK,7,xK)||ck(a,hK,8,xK)||ck(a,jK,9,xK)||ck(a,lK,10,xK)){let e=QBa(a);D4(this.context).then(function(f){return f.route(e,{xi:b,yi:c})}).then(function(f){var g=[],h="";if(f instanceof lv){g=f.Sa().Ma(tu);var k=C(f,2);h=C(f,3)}else if(f instanceof jn)f.getItem()&&g.push(f.getItem()),k=C(f,16);else throw Error("Cd");d.callback({items:g,Yo:k,pageToken:h})},function(f){return void d.La(f)});return d}throw Error("Bd");
};l.Xm=function(){var a=this.context.C,b=Gq(a);a=Xr(a);a=x(a,3);E(b,13,"email:"+a.replace(/@.*$/,""))};l.fj=function(){this.context.lb.ld();var a=this.context.C;fHa(Pq(Xr(a)),Yx(a),this.context.S).then(null,function(){})};l.Sm=function(){this.context.dd.g=new N8(Sh().substring(0,8))};l.Tm=function(){var a=this.context.dd.Se(),b=null;a&&(b=EMa(this.context.dd),b={traceId:a,spanRecs:b});a=this.context.dd;a.g=null;a.h=[];return mY(b)};l.Se=function(){return mY(this.context.dd.Se())};
l.getState=function(a){var b=this.context.Oa,c=b.g.bind(b);b={};b.b=C(this.context.C,62);b.m_ril=c("jroI5d");b.m_cil=c("T8oKm");b.m_icp=c("aU7Ts");b.m_idl=c("ZA9qG");b.m_il=c("W6J7De");b.m_if=c("DEJoH");b.m_pl=c("zaOY7");b.m_ps=c("mrK8ic");b.m_sls=c("Gv4zef");b.m_cp=c("BNEDtc");b.cs_cs=this.context.fa().Ha.getSize();c=this.context.fa().Lb;var d=c.g;d&&(b.cs_sutd=d.qg,b.cs_ss=d.getSize());b.cs_ch=n5(c).length;b.cs_td=c.Te().length;if(c=this.context.kg)b.t_cps=c.U.subscribed.ff.getStats().join(",");
b.t_id=FMa(this.context);var e=[];GMa(this.context.Xf).forEach(function(f,g){e.push(g+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=O1(this.context.gb());b.n_o=this.context.gb().g();a&&(b.csw_cc=eh(a.channels),b.csw_ac=a.h,b.csw_mcc=a.g);b.wcs=Ao(this.context.C,2);return mY(JSON.stringify(b))};l.Qm=function(){};l.zc=function(a){var b=this.context.rd;b&&a!==b.h&&(b.h=a,b.zc(a,!0))};var O8=function(a,b,c){B8.call(this,"DU",b);this.context=a;this.h=c;this.g=new M8(a);D8(this,xMa,this.fj.bind(this));D8(this,tMa,this.qj.bind(this));D8(this,sMa,this.Tc.bind(this));D8(this,uMa,this.Of.bind(this));D8(this,AMa,this.Se.bind(this));D8(this,yMa,this.Sm.bind(this));D8(this,zMa,this.Tm.bind(this));D8(this,wMa,this.Xm.bind(this));D8(this,vMa,this.Ym.bind(this));D8(this,CMa,this.Qm.bind(this));D8(this,BMa,this.getState.bind(this));D8(this,DMa,this.zc.bind(this))};V(O8,B8);l=O8.prototype;
l.fj=function(){this.context.lb.ld();var a=this.context.C;return Promise.resolve(fHa(Pq(Xr(a)),Yx(a),this.context.S)).then(function(){},function(){})};l.qj=function(a){return this.context.fa().Ha.g(a)};l.Tc=function(a){return Promise.resolve(this.context.oc.Tc(a!=null?a:null))};l.Of=function(){return this.context.oc.Of()};
l.Ym=function(a,b,c){if(ck(a,sK,3,xK)||ck(a,vK,4,xK)||ck(a,iK,5,xK)||ck(a,rK,6,xK)||ck(a,kK,7,xK)||ck(a,hK,8,xK)||ck(a,jK,9,xK)||ck(a,lK,10,xK)){let d=QBa(a);return Promise.resolve(D4(this.context).then(function(e){return e.route(d,{xi:b,yi:c})})).then(Fga,function(e){throw new fn(void 0,bo(e,50));})}throw new fn(void 0,bo(Error("Bd"),51));};l.Xm=function(){var a=this.context.C,b=Gq(a);a=Xr(a);a=x(a,3);E(b,13,"email:"+a.replace(/@.*$/,""))};
l.Sm=function(){this.context.dd.g=new N8(Sh().substring(0,8))};l.Tm=function(){var a=this.context.dd.Se(),b=void 0;a&&(b=EMa(this.context.dd),b=[a.g,a.startTime,b]);a=this.context.dd;a.g=null;a.h=[];return b};l.Se=function(){var a=this.context.dd.Se(),b=void 0;a&&(b=[a.g,a.startTime]);return b};l.getState=function(){return Promise.resolve(this.g.getState(this.H))};l.Qm=function(){var a=[this.h.od(),Hna(3E4)];sna(a).then(function(){n.setTimeout(function(){self.close()})},function(){n.setTimeout(function(){self.close()})})};
l.zc=function(a){this.g.zc(a)};var HMa=L(hK),IMa=cp(l0,l0),JMa;JMa=function(a){var b=r0,c=Object.assign({},{aa:"cb"},a);return{sb:Zo,jb:function(d){var e=new MessageChannel,f=e.port2,g=new i0(b);bp(e.port1,async function(h){var k=await Tsa(g,d,c,h.data);h.reply(k.payload,void 0,k.transfer)});return vo(f,[f])},fb:function(d){d=bp(d);var e=new a0(d,b);return function(){return e.Ab.apply(e,[c].concat(r(ac.apply(0,arguments))))}}}}({params:[l0,l0],response:Xo($sa,m0)});
var KMa=Ro({aa:"7.1",params:[l0,ep,HMa,IMa,JMa,dp(Zsa)],response:L(jn)}),LMa=Ro({aa:"7.2",params:[l0,ep,ep],response:Yo}),MMa=Ro({aa:"7.3",params:[l0,ep],response:Yo}),NMa=Ro({aa:"7.4",params:[l0,ep,Uo(ep),cp(ep,L(jn)),cp(ep,bA)],response:Yo}),OMa=Ro({aa:"7.5",params:[l0,ep,ep,Uo(ep)],response:{sb:Xb({title:hc,description:hc,component:Yb(ic),sj:Yb(hc),jj:Yb(ic),attachments:Yb($b(Xb({name:hc,content:Yb(hc),contentType:Yb(hc),Gl:Yb(hc)})))}),jb:function(a){return vo(Gga(a))},fb:function(a){return Hga(a)}}}),
PMa=Ro({aa:"7.6",params:[l0,ep],response:Yo});var nA=function(a){oh.call(this);this.request=a;this.items={};this.Z=new py;this.de=new Set};V(nA,oh);l=nA.prototype;l.getPromise=function(){return this.Z.promise};l.handleError=function(a){this.Z.reject(a)};l.Ql=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())b=b.value,this.items[b.J()]=b};l.Bj=function(a){this.items[a]=null};l.Kg=function(a){a=q(a);for(var b=a.next();!b.done;b=a.next())this.de.add(b.value);this.hd()};l.hd=function(){this.isCompleted()&&this.Z.resolve(this.items)};
l.isCompleted=function(){return this.de.size===this.request.ta().length};var QMa=/^uploadTestFailMe(\.[1-9])?$/,P8=function(a,b,c,d,e,f,g){oh.call(this);var h=this;this.C=a;this.g=b;this.H=c;this.j=d;this.re=e;this.F=f;this.h=g;this.D={};this.requests={};this.kf=Ot();this.I=null;uT(this,function(){h.xh()})};V(P8,oh);P8.prototype.B=function(){return Ot()};
P8.prototype.upload=function(a,b,c,d,e){if(vl(a)&&!c)return Promise.reject(new fn("Invalid Operation: Encrypted copy of folders not supported."));F3(this.g,"UploadTotalCount");var f=a.Je();if(f&&this.requests[f])throw new fn("Upload requested with a duplicate request ID.");var g=a;if(vl(g))var h=void 0;else if(h=void 0,(g=U(g,10,B()))&&g.length){if(g.length!==1)throw new fn("Multi-parented uploads are not supported.");h=this.requests[g[0]];if(!h)throw new fn("The parent upload request must precede this request.");
}g=a;vl(g)||!Tg(gq(g,26))&&c&&c.lastModified&&O(g,26,c.lastModified);f||(f=this.B(),a.Gi(f));a=a.clone();g=RMa(this,f);this.requests[f]={request:a,file:c,Z:g,mk:b+"-upload",Sc:!1,Tb:0,hf:!1,Md:!1,children:[],metadata:d,bb:void 0,wd:e};h?SMa(this,f,h):Q8(this,f);return g.promise};
var RMa=function(a,b){var c=new py;c.promise.then(function(d){F3(a.g,"UploadSuccessCount");var e=a.requests[b];e&&(e.hf=d.ka()===1,(d=D(d,5))&&TMa(a,b)&&a.F.set(b,d),(d=e.bb)&&!e.Md&&(V2(W2(R8(d),e.Tb),!0),v_(d)))},function(d){d=co(d);var e=Q(a.C,uA,58);e&&N(e,1)&&(a.D[b]=d);b&&TMa(a,b)&&(e=a.F,UMa(e,b).reject(d),e.h.add(b));F3(a.g,"UploadFailureCount");var f=a.requests[b];f&&(e=f.bb)&&!f.Md&&(V2(W2(R8(e),f.Tb),!1),(d=kq(d))&&XAa(R8(e),d),v_(e))});return c},SMa=function(a,b,c,d){var e=a.requests[b],
f=e.request;c.children.push(b);Ua(c.children);c.Z.promise.then(function(g){if(g.ka()===1){let h=D(g,5);f.zf(h);S(f,10);if(!c.Md||d){Q8(a,b);return}}g.ka();a.log('[Cancel] Upload of "'+f.Fa()+'" was canceled due to parent upload cancellation.');a.cancel(b)}).catch(function(g){e.Z.reject(Zn(g))})},Q8=function(a,b){var c=a.requests[b];if(c&&!c.Sc){c.Sc=!0;b=a.requests[b];var d=b.request,e=Q(a.C,uA,58);e&&N(e,4)&&(e=d.Fa().match(QMa))&&(!e[1]||b.Tb<Number(e[1].substr(1)))&&(d=d.clone(),La(d.Cc(tu),"$#@! Invalid parent ID."));
b=d;d=(d=c.request.Tc())?Tg(gq(d,1))||0:0;var f=c.file&&c.file.size||d;e=Gq(a.C);d=Sg(Cq(e,33,jc(1048576)));d=c.file&&c.file&&f>d?2:c.file?1:3;var g=xl(b)?D(b,12):void 0;if(a.h&&d!==3){var h=dq(a.h,106012);h&&(c.bb=h,h=R8(h),h=G(h,1,d===2?2:1),h=H(h,4,!!c.metadata),g=H(h,5,!!g),f=K(g,6,f),e=Sg(Cq(e,32,jc(1073741824))),K(f,7,e))}e=c.Tb>0?"-#"+c.Tb:"";switch(d){case 2:c.file&&S8(a,new Zm(b,c.file,c.wd,c.metadata,c.bb),c.mk+"-resumable"+e,c.Z,b.Je());break;case 1:c.file&&(d=c.mk+"-multipart"+e,e=c.Z,
f=c.file,g=c.metadata,c=c.wd,h=Q(a.C,QJ,2),S8(a,new Vm(b,f,c,h&&g),d,e,b.Je()));break;case 3:S8(a,b,c.mk+"-folder"+e,c.Z,b.Je());break;default:throw new fn("Upload type ${uploadType} not supported.");}}},S8=function(a,b,c,d,e){X1(a.H,e,function(f){var g=a.X(e);if(g){let h=0;if(g.file){let k=g.request&&g.request.Tc();k&&(h=Tg(gq(k,1)));h===0&&(h=g.file.size)}a.dispatchEvent(new jta(e,f,h))}});VMa(a,c,b,d,e).catch(function(f){ok("Failed to get a response for upload request "+(mm(b)+" id:"+e),Zn(f),
"warning")}).finally(function(){Y1(a.H,[e])})},VMa=async function(a,b,c,d,e){var f=await a.j;try{let g=await f.route(c,{requestId:e,Gf:a.kf});d.resolve(g)}catch(g){e=co(g,"Uploader.executeInternal id:"+e);try{let h=await WMa(a,c,e);d.resolve(h)}catch(h){a=co(h,"Failed handle conflict from "+b+" after failure to get a response: "+g),d.reject(a)}}},WMa=async function(a,b,c){if(!(b instanceof Vm&&xl(b.request))||c.na.je()!==8)throw c;var d=D(b.request,23)||"";if(!d)throw c;a.log("Create failed with 409 Conflict, re-querying: "+
d);var e=VP(new $t,Vt(new P,310)).Wb([d]);e=await Mga(e,a.C,a.j,a.h).getPromise().then(function(f){return f[d]});b=b.request;if(e&&!F(e,7)&&(e.td()||"").replace(/\s/g,"")===(b.Bc()||"").replace(/\s/g,"")&&e.Fa()===b.Fa())return a.log("Matching item found for: "+d),Fs(RA(new jn,e),d).setStatus(1);a.log("No matching item found for: "+d);throw c;};l=P8.prototype;
l.cancel=async function(a){var b=this,c=this.requests[a];if(c&&(!c.Md||c.children.length!==0))if(c.Md=!0,await Jk(c.Z.promise))this.log('[Cancel] Response for "'+c.request.Fa()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),$a(c.children,this.cancel,this);else{var d=c.bb;d&&(XAa(V2(W2(R8(d),c.Tb),!1),2),v_(d));d=HW();if(c.Sc){let e=await this.j;d.resolve(e.cancel(a))}else c.Sc=!0,c.Z.resolve(kn(c.request)),d.resolve(!0);d.promise.then(function(e){b.log('[Cancel] Upload of "'+
c.request.Fa()+'" was '+(e?"cancelled.":"in-flight. Cannot cancel."))})}};l.xh=function(){var a=this;bh(this.requests,function(b,c){a.cancel(c)})};
l.retry=async function(a){for(var b=new Set(a),c=[],d={},e=q(a),f=e.next();!f.done;f=e.next()){var g=f.value;if(d[g])continue;else if(!this.requests[g]){d[g]=new fn("Retry request with unknown ID.");continue}f=[];do{f.push(g);var h=XMa(this.requests[g])[0];if(h){var k=this.requests[h];if(k.hf||!await Jk(k.Z.promise)||d[h])break;else if(!b.has(h)){d[g]=new fn("Unable to retry request due to failed parent upload.");break}}g=h}while(g);for(g=f.length-1;g>=0;g--)if(h=f[g],k=this.requests[h],k.Tb++,!d[h])if(!await Jk(k.Z.promise)||
k.hf)d[h]=new fn("Unable to retry request.");else{var m=XMa(k)[0];if(d[m]instanceof fn){d[h]=d[m];continue}k.Z=RMa(this,h);k.Sc=!1;k.Md=!1;(m=m?this.requests[m]:null)?SMa(this,h,m,!0):c.push(h);d[h]=k.Z.promise}}a=a.map(function(p){p=d[p];return p instanceof Promise?p:Promise.reject(p)});c=q(c);for(b=c.next();!b.done;b=c.next())Q8(this,b.value);return a};l.log=function(){this.isDisposed()};l.X=function(a){return this.requests[a]};
var TMa=function(a,b){a=a.X(b);return xl(a.request)?a.request.Bc()==="application/vnd.google-apps.folder":!1},XMa=function(a){return xl(a.request)?U(a.request,10,B(tu))||[]:[]};var YMa=function(){this.g=new Map;this.h=new Set};YMa.prototype.set=function(a,b){this.h.has(a)||(UMa(this,a).resolve(b),this.h.add(a))};var UMa=function(a,b){if(!a.g.has(b)){let c=new py;c.promise.catch(function(d){d=co(d);ok("Parent item creation failed.",d,"warning")});a.g.set(b,c)}return a.g.get(b)};var T8=function(a,b,c,d,e,f,g){P8.call(this,a,b,c,d,f,new YMa,g);this.K=e;this.I=null};V(T8,P8);T8.prototype.Al=async function(a,b){return(await this.K).Ls(await mA(this.C,this.re,a,b,this.requests,this.D))};var U8=function(a,b,c,d,e,f,g,h,k){B8.call(this,"FU",k);this.C=a;this.j=b;this.A=c;this.B=d;this.h=e;this.S=f;this.re=g;this.N=h;this.g={};this.ma=new bi(this);this.Da(this.ma);D8(this,KMa,this.upload.bind(this));D8(this,LMa,this.cancel.bind(this));D8(this,MMa,this.xh.bind(this));D8(this,NMa,this.retry.bind(this));D8(this,OMa,this.Al.bind(this));D8(this,PMa,this.Ro.bind(this))};V(U8,B8);l=U8.prototype;
l.upload=function(a,b,c,d,e,f){a=a+":"+b;this.g[a]||(b=new T8(this.C,this.j,this.A,this.B,this.h,this.re,this.N),this.Da(b),this.g[a]=b);a=this.g[a];this.ma.listen(a,"p",function(g){d(g.progress,g.h)});b=c.Je();return a.upload(c,"WorkerFileUploader",f,void 0,ZMa(this,e,b)).catch(function(g){throw g;})};l.cancel=function(a,b,c){a=a+":"+b;this.g[a]&&this.g[a].cancel(c)};l.xh=function(a,b){a=a+":"+b;this.g[a]&&this.g[a].xh()};
l.retry=async function(a,b,c,d,e){a=a+":"+b;if(this.g[a]){a=await this.g[a].retry(c);b={};let g=0;c=q(c);for(var f=c.next();!f.done;f=c.next())b[f.value]=a[g++];c=q(Object.entries(b));for(a=c.next();!a.done;a=c.next()){a=q(a.value);let h=a.next().value;a.next().value.then(function(k){d(h,k)},function(k){e(h,k.na)})}}else throw co(bo("Could not retry upload.",54));};
l.Al=async function(a,b,c,d){a=a+":"+b;if(this.g[a])return a=this.g[a],d=[].concat(r(d)),await mA(a.C,a.re,c,d,a.requests,a.D);throw co(bo("FileUploader not found.",53));};l.Ro=function(a,b){a=a+":"+b;this.g[a]&&(this.g[a].dispose(),delete this.g[a])};
var ZMa=function(a,b,c){return function(d,e){var f=0;return qA(function(){return b(d,e)},function(){f++;var g=f;Is(a.N,205335948);a.S.ia("sync.cacheproxy.WorkerFileUploader").info("Retry attempt "+(g+" for chunk request for ")+(c+" @"+d))},5E3,3).catch(function(g){g=co(g);ok("Could not get next chunk for "+c,g,"warning");return null})}},pA=function(){var a=Error.apply(this,arguments);this.message=a.message;"stack"in a&&(this.stack=a.stack)};V(pA,Error);var $Ma=Ro({aa:"9.1",params:[ep,l0,L(CL),cp(l0,ep)],response:L(DL)}),aNa=Ro({aa:"9.2",params:[ep,l0],response:Yo});var V8=function(a,b,c){oh.call(this);this.h=a;this.request=b;this.C=c;this.Z=HW();this.complete=!1;this.g=""};V(V8,oh);V8.prototype.start=function(){var a=this;this.h.then(function(b){return b.route(a.request)}).then(this.B.bind(this)).then(null,this.handleError.bind(this));return this.Z.promise};V8.prototype.B=function(a){this.g=a.g;this.dispatchEvent(new u0(0,this.g));bNa(this)};
var bNa=function(a){n.setTimeout(function(){a.h.then(function(b){return b.route(new Tm(a.g))}).then(function(b){if(a.complete||b.status!==1&&b.status!==3&&b.status!==2){a.complete=!0;var c;(((c=XJ(a.C))==null?0:N(c,69))?b.status===4||b.status===5:b.status===4)?(c=new DL,c=rs(c,2,b.g),c=E(c,3,a.g),c=O(c,5,b.B),c=O(c,6,b.j),c=O(c,7,b.A),c=O(c,8,b.numFetchedFiles),b=Nu(c,4,b.h),a.Z.resolve(b)):(b=Vn(Jq(Ct(new Rn,"Export failed for request "+a.g+": "+b.status),JSON.stringify(b)),8),a.handleError(b));
a.dispose()}else a.dispatchEvent(new u0(b.percentDone,a.g)),bNa(a)}).then(null,function(b){a.handleError(b)})},5E3)};V8.prototype.cancel=function(){var a=this;this.h.then(function(b){return b.route(new Sm(a.g))}).then(this.j.bind(this)).then(null,this.handleError.bind(this))};V8.prototype.j=function(){if(!this.complete){var a=new DL;a=E(a,3,this.g);a=H(a,1,!0);this.Z.resolve(a);this.complete=!0;this.dispose()}};V8.prototype.handleError=function(a){this.complete=!0;this.Z.reject(Zn(a));this.dispose()};var W8=function(a,b,c){B8.call(this,"IE",b);var d=this;this.h=a;this.C=c;this.g=new Map;D8(this,$Ma,function(){return d.j.apply(d,r(ac.apply(0,arguments)))});D8(this,aNa,function(){return d.cancel.apply(d,r(ac.apply(0,arguments)))})};V(W8,B8);
W8.prototype.j=function(a,b,c,d){var e=this,f=b+":"+a;a=new V8(this.h,c,this.C);var g=fA(a,"q",function(h){return d(h.percentDone,h.Fo)});uT(a,function(){KT(g);e.g.delete(f)});this.g.set(f,a);return Promise.resolve(a.start()).catch(function(h){throw new fn(void 0,bo(h,55));})};W8.prototype.cancel=function(a,b){(a=this.g.get(b+":"+a))&&a.cancel()};var cNa=Xo(L(mx),L(El),L($t),L(yA),L(zA),L(pn),L(ZO),L(IP),L(aQ),L(tK),L(IQ),L(KP)),dNa=Ro({aa:"4.34",params:[l0,ep,cNa],response:Yo}),eNa=Ro({aa:"4.35",params:[l0,ep,cNa],response:Yo}),fNa=Ro({aa:"4.5",params:[l0,ep,Xo(L($t),L(aQ)),Xo(L($t),L(aQ))],response:Yo}),gNa=Ro({aa:"4.28",params:[l0,ep,l0],response:Yo}),hNa=Ro({aa:"4.21",params:[l0,ep,dp(L(P))],response:Yo}),iNa=Ro({aa:"4.31",params:[l0,ep,L(pn)],response:Yo}),jNa=Ro({aa:"4.36",params:[ep,function(a){return{sb:Dca(a.sb),jb:function(b){var c=
a.jb(b.response),d=c.transfer;return vo([c.payload,b.la,b.Ya,b.h,b.R(),b.j,b.g],d)},fb:function(b){var c=q(b),d=c.next().value,e=c.next().value;b=c.next().value;var f=c.next().value,g=c.next().value,h=c.next().value;c=c.next().value;d=WZ(new wo(a.fb(d),e),f);b!=null&&VZ(d,b);g!=null&&d.setStatus(g);h!=null&&UZ(d,h);c!=null&&XZ(d,c);return d}}}(Xo(L(jv),Vo(Xo(L(gl),m0)),function(a){return{sb:$b(a.sb),jb:function(b){var c=new Mo([]);c.Ib.apply(c,[function(d){d.push.apply(d,r(ac.apply(1,arguments)))}].concat(r(b.map(function(d){return a.jb(d)}))));
return c.build()},fb:function(b){return b.map(function(c){return a.fb(c)})}}}(L(gl)),L(ax),L(JQ),L(ex),L(iL),L(wF),L(JO),L(Vx),Uo(function(a,b){return{sb:yca(a.sb,b.sb),jb:function(c){var d=new Mo([]);d.Ib(function(e,f,g){e.push(f,g)},Xo(a,m0).jb(c.value),b.jb(c.key));return d.build()},fb:function(c){var d=Xo(a,m0).fb(c[0]);c=b.fb(c[1]);return ko([c,d])}}}(L(EO),ep))))],response:Yo}),kNa=Ro({aa:"4.37",params:[ep,{sb:Tb(J_),jb:function(a){return vo([a.error.ca(),a.retryCount])},fb:function(a){return new J_(xL(a[0]),
a[1])}}],response:Yo});var X8=function(a,b){B8.call(this,"LRM",b);var c=this;this.context=a;this.nd={};this.Cf=new Set;this.ni={};this.oi={};lNa(this.context,this);this.M=this.context.M;this.ea=this.context.fa();this.Fd=this.context.Fd;this.Ce=WLa(this.context);this.af=new zx(function(){return c.context.Od()});this.fm=new zx(function(){return c.context.Up.get().fa()});D8(this,dNa,this.cb.bind(this));D8(this,eNa,this.Gb.bind(this));D8(this,fNa,this.sr.bind(this));D8(this,gNa,this.tr.bind(this));D8(this,hNa,this.Rq.bind(this));
D8(this,iNa,this.Xi.bind(this))};V(X8,B8);l=X8.prototype;
l.cb=function(a,b,c){var d=this,e=a+":"+b,f=new py,g=c;if(Pl(g)||Ql(g))g=g.clone();this.nd[e]={query:g,zr:f.promise};LP(g)||Om(g)?f.resolve(this.Fd.cb(e,g)):qm(g)?f.resolve(this.Ce.cb(e,g)):hL(g)?f.resolve(this.Od().cb(e,g)):sl(g)?f.resolve(this.context.sd.get().cb(e,g)):Pl(g)?f.resolve(this.context.Bd.get().cb(e,g)):Ql(g)?f.resolve(this.context.be.get().cb(e,g)):Yl(g)?f.resolve(this.fm.get().cb(e,g)):(a=(Ml(g)||Ul(g))&&v3(g)?q6(this.ea):Promise.resolve(),this.Cf.add(e),a.then(function(){d.Cf.has(e)?
(f.resolve(d.ea.cb(e,g)),d.Cf.delete(e)):f.resolve(!1)}).catch(function(h){ok("registerLiveRequest failed for liveRequestId:"+e,Zn(h),"warning");f.resolve(!1);d.Cf.delete(e)}));return f.promise.then(function(){})};
l.Gb=function(a,b,c){a=a+":"+b;delete this.nd[a];this.Cf.has(a)?this.Cf.delete(a):LP(c)||Om(c)?this.Fd.Gb(a,c):qm(c)?this.Ce.Gb(a,c):hL(c)?this.Od().Gb(a,c):sl(c)?this.context.sd.get().Gb(a,c):Pl(c)?this.context.Bd.get().Gb(a,c):Ql(c)?this.context.be.get().Gb(a,c):Yl(c)?this.fm.get().Gb(a,c):this.ea.Gb(a,c)};l.Rq=function(a,b,c){a=this.nd[a+":"+b].query;return qm(a)?LZ(this.Ce,a,c):Pl(a)?LZ(this.context.Bd.get(),a,c):sl(a)?LZ(this.context.sd.get(),a,c):Promise.resolve()};
l.sr=function(a,b,c,d){this.Gb(a,b,c);return this.cb(a,b,d)};l.tr=function(a,b,c){a=a+":"+b;this.nd[a]!==void 0&&(b=this.nd[a].query,Ul(b)?(IJ(b,c),this.ea.cb(a,b)):uK(b)?(K(b,3,c),this.ea.cb(a,b)):LP(b)?(K(b,2,c),this.Fd.cb(a,b)):qm(b)?(K(b,1,c),this.Ce.cb(a,b)):hL(b)?(K(b,2,c),this.Od().cb(a,b)):Pl(b)&&(this.context.Bd.get().Gb(a,b),K(b,4,c),this.context.Bd.get().cb(a,b)))};l.Xi=function(a,b,c){this.ea.Xi(a+":"+b,c)};
l.xe=function(a,b){var c=this,d,e=(d=this.ni[a])!=null?d:this.oi[a];if(e){let k,m;a=(m=Ml(e.X())?(k=e.X())==null?void 0:k.Fe():[])!=null?m:[];Jt(e.X().za(),a,Object.values(b.response).filter(sA),this.M);XEa(e,b)}else{var f=this.nd[a];if(f){e=a.split(":");var g=bU(e[0]),h=e[1];f.zr.then(function(k){if(cc(Ml,Ul)(f.query)){let m=(Lka(b.response)?b.response.Ma():Object.values(b.response)).filter(sA);Jt(f.query.za(),f.query.Fe(),m,c.M);WZ(b,k);E8(c,g,jNa).dj(h,b)}else if(cc($m,uK,LP,Om,qm,hL,sl,Pl,Ql,
Yl)(f.query))WZ(b,k),E8(c,g,jNa).dj(h,b);else throw Error("Dd`"+mm(f.query));})}}};l.md=function(a,b){this.nd[a]!==void 0&&(a=a.split(":"),E8(this,bU(a[0]),kNa).dj(a[1],b))};
var SZ=function(a,b){if(a.ni[b])return a.ni[b].X();if(a.oi[b])return a.oi[b].X();if(a.nd[b]===void 0)throw Error("Ed`"+b+"`"+Object.keys(a.nd).length);return a.nd[b].query},mNa=function(a,b){for(var c=q(Object.entries(a.nd)),d=c.next();!d.done;d=c.next()){d=q(d.value);var e=d.next().value;d=d.next().value;e=e.split(":");let f=bU(e[0]);f===b&&a.Gb(f,e[1],d.query)}},R4=function(a,b,c){c=c===void 0?Promise.resolve():c;nNa(a,b.he,a.ni);ZEa(b,{Jm:function(d){nNa(a,d,a.oi)},isTeamDrive:function(d){d=a.context.fa().Ha.g(d);
return!!d&&rA(d)},bp:c})},nNa=function(a,b,c){var d=b.getId();c[d]||(c[d]=b,uT(b,function(){var e=b.X();e&&a.ea.Gb(d,e);delete c[d]}),UEa(b,function(e,f){e&&a.ea.Gb(d,e);a.ea.cb(d,f)}))};X8.prototype.Od=function(){return this.af.get()};var oNa=Ro({aa:"6.1",params:[Uo(L(gl))],response:Yo}),pNa=Ro({aa:"6.2",params:[Uo(L(KI))],response:Yo}),qNa=Ro({aa:"6.3",params:[],response:Yo});var rNa=[12,11,10,67,68],sNa=[50],tNa=function(a){this.context=a;this.M=a.M;this.g=k1(this.M,sNa);this.h=k1(this.M,rNa)};
tNa.prototype.Ka=async function(a){var b=this,c,d,e=(d=(c=Q(this.context.C,VJ,36))==null?void 0:x(c,6))!=null?d:null,f={};a.forEach(function(k){fl(k);var m=k.J(),p=b.context.Uc();k.Zb(3);Tx(k,5);var t=Gx(k,!0);vr(k)||xr(k,new wr);$k(t,2)&&((t=CH(k))&&t.length?TH(k,t[0]):p&&(Tu(k,[p]),TH(k,p)),IH(k,gq(k,11)),p=new nv,Rr(p,e),G(p,6,1),Ur(p,!0),KH(k,p),Uu(k,[p]),LH(k,1));f[m]=k});c=Object.keys(f);a=this.context.fa();c=N4(a.Ha,c);d=q(Object.entries(c));for(var g=d.next();!g.done;g=d.next()){var h=q(g.value);
g=h.next().value;h=h.next().value;Lt(h.getItem(),f[g],this.g,this.M);(this.context.gb().g()||nl(h.getItem())===3)&&Lt(h.getItem(),f[g],this.h,this.M);delete f[g]}d=q(Object.values(f));for(g=d.next();!g.done;g=d.next())g=g.value,fja(Q(g,Jx,81))&&(h=g.J(),c[h]=new v0(g));B7(a,Object.values(c))};var uNa=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});return a.Ka(c)};var wNa=function(a,b){B8.call(this,"ODS",b);var c=this;this.context=a;this.g=!1;this.h=new py;this.j=new tNa(a);D8(this,oNa,function(d){c.g||(c.g=!0,c.j.Ka(d),B0(c.context.Oa,"GZTDpc"),c.h.resolve())});D8(this,pNa,function(d){return vNa(c,d)});D8(this,qNa,function(){if(c.g){let f=c.j.context.fa();var d=new pn;d.zc(!0);d=O4(f.Ha,d);let g=[],h=[];for(let k=0;k<d.length;k++){let m=d[k].getItem();if(nl(m)===3){var e=new KI;LI(e,m.J());MI(e);h.push(e)}else e=new Jx,Fx(e,!1),H(e,2,!1),I(m,81,e),g.push(d[k])}B7(f,
g);f.hb(h);c.g=!1;c.h=new py}})};V(wNa,B8);var vNa=function(a,b){return a.h.promise.then(function(){return uNa(a.j,b)})};var xNa=function(){var a=this;this.xb=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.xb.has(b))throw Error("Fd`"+b);a.xb.set(b,new jk)})},Y8=function(a,b){if((a=a.xb.get(b.serviceId))&&!a.g)a.callback(b);else throw Error("Gd`"+b.serviceId);},yNa=function(a,b){a=q(a.xb);for(var c=a.next();!c.done;c=a.next())c=q(c.value),c.next(),iY(c.next().value,function(d){dMa(d,b)})};var zNa=Ro({aa:"3.3",params:[l0,Xo(L(gP),L(hP),L(PG),L(hK),L(iK),L(jP),L(jK),L(kP),L(kK),L(NO),L(lP),L(pP),L(qP),L(tP),L(lK),L(uP),L(rK),L(iP),L(rP))],response:L(jn)}),ANa=Ro({aa:"3.4",params:[l0,Xo(Uo(L(gP)),Uo(L(hP)),Uo(L(jK)),Uo(L(lP)),Uo(L(pP)),Uo(L(qP)),Uo(L(lK)),Uo(L(rK)),Uo(L(iP)),Uo(L(rP)))],response:Vo(Xo(L(jn),lMa))}),BNa=Ro({aa:"3.5",params:[l0,L(UG),k0],response:Wo(L(OG),l0,Xo(k0,m0))}),CNa=Ro({aa:"3.6",params:[l0,Xo(L(Fl),L(Km))],response:L(DQ)}),DNa=Ro({aa:"3.8",params:[k0],response:Yo}),
ENa=Ro({aa:"3.9",params:[],response:Yo}),FNa=Ro({aa:"3.10",params:[l0,L(RG)],response:L(SG)}),GNa=Ro({aa:"3.11",params:[l0,L(TG)],response:L(Hu)}),HNa=Ro({aa:"3.12",params:[l0,L(QG)],response:L(Hu)}),INa=Ro({aa:"3.13",params:[l0,L(XG)],response:L(Hu)}),JNa=Ro({aa:"3.14",params:[l0,L(CP)],response:L(HP)}),KNa=Ro({aa:"3.15",params:[l0,L(BP)],response:L(HP)}),LNa=Ro({aa:"3.16",params:[l0,L(eQ)],response:L(fQ)}),MNa=Ro({aa:"3.17",params:[l0,L(NG),l0,dp(ep)],response:L(nR)}),NNa=Ro({aa:"3.18",params:[l0,
L(GP)],response:L(EP)}),ONa=Ro({aa:"3.28",params:[L(WJ)],response:Yo}),PNa=Ro({aa:"3.29",params:[],response:k0}),QNa=Ro({aa:"3.30",params:[l0,L(vP)],response:L(VA)}),RNa=Ro({aa:"3.40",params:[l0,L(GQ)],response:L(dx)}),SNa=Ro({aa:"3.35",params:[l0,Xo(L(FQ),L(bB),L(HQ))],response:L(gx)}),TNa=Ro({aa:"3.36",params:[k0],response:k0}),UNa=Ro({aa:"3.37",params:[l0,L(nL),ep],response:Wo(L(qL),ep)}),VNa=Ro({aa:"3.38",params:[l0,L(rL)],response:L(sL)}),WNa=Ro({aa:"3.39",params:[l0,L(AL)],response:Uo(L(yL))}),
XNa=Ro({aa:"3.41",params:[],response:Yo}),YNa=Ro({aa:"3.42",params:[l0,L(kL)],response:L(lL)}),ZNa=Ro({aa:"3.43",params:[L(pn)],response:Yo}),$Na=Ro({aa:"3.44",params:[l0,L(XO)],response:L(YO)}),aOa=Ro({aa:"3.45",params:[Uo(L(KI))],response:Yo}),bOa=Ro({aa:"3.46",params:[],response:L($J)}),cOa=Ro({aa:"3.47",params:[l0,L(xP)],response:L(yP)}),dOa=Ro({aa:"3.48",params:[l0,L(XP)],response:L(ZP)}),eOa=Ro({aa:"3.50",params:[],response:Yo}),fOa=Ro({aa:"3.51",params:[l0,L(lQ)],response:L(pQ)}),gOa=Ro({aa:"3.52",
params:[l0,L(gQ)],response:L(jQ)}),hOa=Ro({aa:"3.53",params:[l0,L(yQ)],response:L(AQ)}),iOa=Ro({aa:"3.54",params:[l0,L(rQ)],response:L(wQ)});var Z8=function(a,b,c,d){B8.call(this,"IS",b);var e=this;this.context=a;this.j=null;this.D=!1;this.A=null;this.ma=new bi(this);this.K=new py;this.pa=new M8(a);Nga(this.pa);this.Da(this.ma);this.F=new C4(a);this.Da(this.F);this.ma.listen(this.F,"s",function(){return void c(new ita(2))});this.Ua=d;this.g=Promise.resolve(D4(this.context));D8(this,MNa,function(){return e.Vp.apply(e,r(ac.apply(0,arguments)))});D8(this,NNa,function(){return e.Wp.apply(e,r(ac.apply(0,arguments)))});D8(this,ONa,function(){return e.sync.apply(e,
r(ac.apply(0,arguments)))});D8(this,PNa,function(){return e.zp.apply(e,r(ac.apply(0,arguments)))});D8(this,QNa,function(){return e.Oq.apply(e,r(ac.apply(0,arguments)))});D8(this,RNa,function(){return e.Yp.apply(e,r(ac.apply(0,arguments)))});D8(this,SNa,function(){return e.Pa.apply(e,r(ac.apply(0,arguments)))});D8(this,TNa,function(){return e.h.apply(e,r(ac.apply(0,arguments)))});D8(this,UNa,function(){return e.Xp.apply(e,r(ac.apply(0,arguments)))});D8(this,VNa,function(){return e.In.apply(e,r(ac.apply(0,
arguments)))});D8(this,WNa,function(){return e.rr.apply(e,r(ac.apply(0,arguments)))});D8(this,XNa,function(){return void e.Xj.apply(e,r(ac.apply(0,arguments)))});D8(this,YNa,function(){return e.Po.apply(e,r(ac.apply(0,arguments)))});D8(this,ZNa,function(){return void e.xf.apply(e,r(ac.apply(0,arguments)))});D8(this,$Na,function(){return e.Wo.apply(e,r(ac.apply(0,arguments)))});D8(this,aOa,function(){return void e.hb.apply(e,r(ac.apply(0,arguments)))});D8(this,bOa,function(){return e.Qo.apply(e,r(ac.apply(0,
arguments)))});D8(this,cOa,function(){return e.Ko.apply(e,r(ac.apply(0,arguments)))});D8(this,dOa,function(){return e.pp.apply(e,r(ac.apply(0,arguments)))});D8(this,eOa,function(){return void e.Ej.apply(e,r(ac.apply(0,arguments)))});D8(this,LNa,function(){return e.vp.apply(e,r(ac.apply(0,arguments)))});D8(this,KNa,function(){return e.cp.apply(e,r(ac.apply(0,arguments)))});D8(this,JNa,function(){return e.Np.apply(e,r(ac.apply(0,arguments)))});D8(this,HNa,function(){return e.Cl.apply(e,r(ac.apply(0,
arguments)))});D8(this,INa,function(){return e.qr.apply(e,r(ac.apply(0,arguments)))});D8(this,FNa,function(){return e.Ih.apply(e,r(ac.apply(0,arguments)))});D8(this,GNa,function(){return e.Op.apply(e,r(ac.apply(0,arguments)))});D8(this,ENa,function(){return void e.ak.apply(e,r(ac.apply(0,arguments)))});D8(this,DNa,function(){return void e.zc.apply(e,r(ac.apply(0,arguments)))});D8(this,CNa,function(){return e.Ea.apply(e,r(ac.apply(0,arguments)))});D8(this,BNa,function(){return e.B.apply(e,r(ac.apply(0,
arguments)))});D8(this,ANa,function(){return e.ha.apply(e,r(ac.apply(0,arguments)))});D8(this,zNa,function(){return e.wa.apply(e,r(ac.apply(0,arguments)))});D8(this,fOa,function(){return e.xp.apply(e,r(ac.apply(0,arguments)))});D8(this,gOa,function(){return e.wp.apply(e,r(ac.apply(0,arguments)))});D8(this,hOa,function(){return e.Yq.apply(e,r(ac.apply(0,arguments)))});D8(this,iOa,function(){return e.Mm.apply(e,r(ac.apply(0,arguments)))})};V(Z8,B8);
Z8.prototype.wa=function(a,b){var c=$8(this,a);xl(b)&&(R(b,9)||b.Gi(Ot()));return this.g.then(function(d){return d.route(b,c)}).catch(function(d){d=co(d);Vn(d.na,80);throw d;})};Z8.prototype.Pa=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,82));})};
Z8.prototype.ha=async function(a,b){var c=$8(this,a);a=[];var d=[];b=q(b);for(var e=b.next();!e.done;e=b.next())e=e.value,rl(e)?a.push(String(D(e,1))):em(e)?a.push(String(D(e,1))):a.push(String(e.J())),d.push((await this.g).route(e,c));try{let f=await Promise.allSettled(d);c={};for(d=0;d<f.length;d++){let g=f[d];c[a[d]]=Lq(g)?g.value:g.reason}return c}catch(f){throw co(f);}finally{this.context.fa().Mb.tc()}};
Z8.prototype.B=function(a,b,c){c={Ll:c};return(ws(b,1)===3?jOa(this,a,b,c):kOa(this,a,b,c)).then(function(d){return[d.response,d.la,d.Ya]},function(d){throw new fn(void 0,bo(d,65));})};
var jOa=function(a,b,c,d){return!d.Ll&&a.j?a.j:lOa(a,b,c).then(function(e){setTimeout(function(){a.j=null},9E5);a.j=Promise.resolve(new c_(e.response,e.la,!0));return e}).catch(function(e){a.j=null;throw co(e);})},lOa=async function(a,b,c){b=$8(a,b);a=await (await a.g).route(c,b);return new c_(a,1,!1)},kOa=function(a,b,c,d){b={request:c,mp:d.Ll,ve:a.context.K[b]};B0(a.context.Oa,"Qubz4b");a=a.F;try{let f=new py;a.B.g.push(new vEa(b,f));B4(a);var e=f.promise}catch(f){e=Promise.reject(Zn(f))}return e};
Z8.prototype.Ea=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,81));})};Z8.prototype.zc=function(a){if(a!==this.context.gb().g()){var b=this.context.rd;b.j?LY(b.j.g,!0,!0):b.zc(a);a||mOa(this.context.rd)}};
Z8.prototype.h=function(a){var b=this;return Promise.resolve(this.context.h(a)).then(function(c){c&&(b.context.D().h(a),b.Ua(a));return c}).then(function(c){return nOa(b,c,a)}).catch(function(c){throw new fn(void 0,bo(c,85));})};var nOa=function(a,b,c){return b||N(a.context.C,10)?a.context.lb.Wg().catch(function(){return!c}):Promise.resolve(!c)};
Z8.prototype.sync=function(a){var b=this;return Promise.all([this.context.Vh.promise,this.context.He.promise]).then(function(){return oOa(b)}).then(function(){return AA(b.context,a)}).then(function(){var c;if((c=XJ(a))==null?0:N(c,74)){c=b.context.fa().Sb;var d=c.sync,e=b.context.fa().Ha;let k=new Set;e=q(e.h.Xb().values());for(var f=e.next();!f.done;f=e.next()){f=f.value.getItem();for(var g=q(Oz(f)),h=g.next();!h.done;h=g.next())h=h.value,R(h,11)&&k.add(D(h,11));(g=Q(f,nv,17))&&R(g,11)&&k.add(D(g,
11));(g=Q(f,nv,47))&&R(g,11)&&k.add(D(g,11));(g=Q(f,nv,91))&&R(g,11)&&k.add(D(g,11));(f=Q(f,nv,95))&&R(f,11)&&k.add(D(f,11))}c=d.call(c,k)}else c=Promise.resolve();return c}).then(function(){return b.context.lb.Wg()}).then(function(){}).catch(function(c){throw new fn(void 0,bo(c,86));})};var oOa=function(a){return a.context.Gc.promise.then(function(b){return b.sync()})};l=Z8.prototype;l.ak=function(){try{let a=this.context.kg;a&&a.nk();this.context.pa.ak()}catch(a){throw new fn(void 0,bo(a,83));}};
l.Ej=function(){this.context.Ej()};l.Xj=function(){this.context.Xj()};l.Ih=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,66));})};l.Op=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,72));})};l.Cl=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,61));})};
l.qr=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,87));})};l.Np=function(a,b){var c=this,d=$8(this,a),e=b.lg();return this.g.then(function(f){return f.route(b,d)}).then(function(f){return pOa(c,e,[f.Nf()]).then(function(){return f})}).catch(function(f){throw new fn(void 0,bo(f,71));})};
l.cp=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,63));})};l.vp=function(a,b){var c=this,d=$8(this,a);return this.g.then(function(e){return e.route(b,d)}).then(function(e){return Lp(c.context.C)?Promise.resolve(LIa(c.context.fa().Sb,e)):Promise.resolve(e)}).catch(function(e){throw new fn(void 0,bo(e,68));})};
l.Vp=function(a,b,c,d){var e=new Pm(b,c,d),f=$8(this,a);return this.g.then(function(g){return g.route(e,f)}).catch(function(g){throw new fn(void 0,bo(g,73));})};l.Wp=function(a,b){var c=this,d=$8(this,a),e=Sp(b,FP,3).J();return this.g.then(function(f){return f.route(b,d).then(function(g){return pOa(c,e,Uka(Sp(g,DP,1))).then(function(){return g})})}).catch(function(f){throw new fn(void 0,bo(f,76));})};var pOa=function(a,b,c){return Lp(a.context.C)?Promise.resolve(MIa(a.context.fa().Sb,c,b)):Promise.resolve()};
l=Z8.prototype;l.Oq=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(null,bo(d,84));})};l.zp=function(){return!0};l.Yp=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,78));})};l.xf=function(a){this.context.fa().xf(a)};l.Po=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,58));})};
l.rr=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).then(function(d){return mKa(b,d.map(function(e){return e.result}))}).catch(function(d){throw new fn(void 0,bo(d,88));})};l.Xp=function(a,b,c){var d=new Wm(b,c),e=$8(this,a);return this.g.then(function(f){return f.route(d,e)}).then(function(f){return[f.response,f.pageToken]},function(f){throw new fn(void 0,bo(f,77));})};
l.In=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,67));})};l.Wo=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,60));})};l.hb=function(a){this.context.fa().hb(a);this.context.fa().Mb.tc()};l.Qo=function(){return Promise.resolve(qOa(this.context.rd)).catch(function(a){throw new fn(void 0,bo(a,59));})};
l.Ko=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,57));})};l.pp=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,64));})};l.xp=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,96));})};
l.wp=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,95));})};l.Yq=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,97));})};l.Mm=function(a,b){var c=$8(this,a);return this.g.then(function(d){return d.route(b,c)}).catch(function(d){throw new fn(void 0,bo(d,98));})};
l.initialize=function(){var a=this;if(!this.A){let b=new py;this.A=b;this.context.ia("sync.cacheproxy.WorkerSyncedItemService").info("Initializing with client build: "+C(this.context.C,62));this.ma.listen(this.context,s0,function(f){f=f.error;var g=f.na;g&&g.getType()===3&&!a.D?(a.D=!0,b.reject(f)):a.context.ia("sync.cacheproxy.WorkerSyncedItemService").Ba("An error occurred in the Shared Worker",f)});let c=this.context.Oa,d=["NSockf"];Xy(this.context.C)&&d.push("BNEDtc");A0(c,d,function(){a.D||(a.D=
!0,a.A.resolve())});A0(c,["GZTDpc"],function(){return void a.K.resolve()});let e=function(){a.context.Gc.promise.then(function(f){return void f.start()})};A0(c,["T8oKm",N(this.context.C,10)?"BNEDtc":"ZA9qG"],function(){return void e()});A0(c,["T8oKm","mrK8ic"],function(){return void e()});c.start();B0(c,"NSockf")}return this.A.promise};l.od=function(){var a=this.context.kg;a&&a.dispose();return this.context.od()};var $8=function(a,b){return(a=a.context.K[b])?{ve:a}:{}};var rOa=Ro({aa:"10.1",params:[l0,ep,L(bQ),cp(L(Nw))],response:L(Nw)}),sOa=Ro({aa:"10.2",params:[l0,ep],response:Yo});var a9=function(){},tOa={0:2E3,1:3E3,2:5E3},b9=function(a,b){this.request=a;this.B=b;this.g=HW();this.continuationToken="";this.j=0;this.Md=this.A=!1;this.h=a9};b9.prototype.run=function(a){var b=this;this.A||(this.A=!0,uOa(this));a&&(this.h=a);return this.g.promise.then(function(c){b.h=a9;b.j=0;return c},function(c){b.h=a9;b.j=0;return Promise.reject(c)})};
var uOa=function(a){if(a.Md)a.g.resolve((new Nw).setStatus(8));else{var b=new an(a.request,a.continuationToken);a.B.then(function(c){return c.route(b)}).then(function(c){vOa(a,c)},function(c){a.handleError(c)})}},vOa=function(a,b){var c;a.continuationToken=(c=C(b,1))!=null?c:"";a.h(b);a.continuationToken?setTimeout(function(){uOa(a)},wOa(a.j++,a.D)):a.g.resolve(b)};b9.prototype.handleError=function(a){a=co(a);var b=am(a.na,10);(b=b&&xOa[b])?this.g.resolve((new Nw).setStatus(b)):this.g.reject(a)};
b9.prototype.cancel=function(){this.Md=!0};var c9={},xOa=(c9[53]=3,c9[54]=6,c9[40]=9,c9[65]=10,c9[49]=11,c9[67]=12,c9),wOa=function(a,b){return b?b:(a=tOa[a])?a:1E4};var d9=function(a,b){B8.call(this,"TM",b);this.h=a;this.g=new Map;D8(this,rOa,this.run.bind(this));D8(this,sOa,this.cancel.bind(this))};V(d9,B8);d9.prototype.run=function(a,b,c,d){var e=this,f=a+":"+b;a=new b9(c,this.h);this.g.set(f,a);return Promise.resolve(a.run(d)).catch(function(g){throw new fn(void 0,bo(g,89));}).finally(function(){e.g.delete(f)})};d9.prototype.cancel=function(a,b){this.g.get(a+":"+b).cancel()};var yOa=function(a){$g.call(this,"celloinitializationstate");this.state=a};V(yOa,$g);var zOa=function(a){this.h=a;this.g=new e9;this.j=!1},BOa=function(a){a.j||(AOa(a,a.g),a.j=!0);return a.g.Sa()},COa=function(a,b){var c=new e9;AOa(a,c,b);return c.Sa()},AOa=function(a,b,c){c=c===void 0?null:c;a.h.then(function(d){if(!b.B())return Promise.resolve();var e=Vt(jx(new P,!1),1423);e=wja(e);c&&E(e,2,c);return d.route(e,{requestId:b.requestId}).then(function(f){DOa(b,f)},function(f){c&&b.reject(f)})}).catch(function(){})},QKa=function(a,b){if(DOa(a.g,hJ(gJ(new fJ,b+1),b))){let c=a.g.requestId;
c&&a.h.then(function(d){d.cancel(c)})}},PHa=function(a,b,c,d,e){if(e===0||b==null)return b=cJ(dJ(new bJ,b),d),DW(b);var f=vja(uja(),b);c&&E(f,3,c);return a.h.then(function(g){return g.route(f)}).then(function(g){var h=Wj(g,2),k;g=d+((k=Aq(g,1))!=null?k:0);return PHa(a,h,c,g,e-1)})},e9=function(){this.requestId=null;this.resolved=!1;this.response=new py},DOa=function(a,b){return a.resolved?!1:(a.response.resolve(b),a.resolved=!0,!!a.requestId)};e9.prototype.reject=function(a){this.response.reject(a)};
e9.prototype.B=function(){if(this.resolved||this.requestId)return!1;this.requestId=Sh();return!0};e9.prototype.Sa=function(){return this.response.promise};var EOa=["application/vnd.google-apps.form","application/vnd.google-apps.site","application/vnd.google-apps.script","application/vnd.google-apps.drive-sdk"],FOa=function(){Yg.apply(this,arguments)};V(FOa,Yg);
var GOa=function(a,b,c){if(b===null||!c)return!1;var d,e;c=(a=nl(a)===nl(b)?(d=vr(a))==null?void 0:d.clone():(e=vr(c))==null?void 0:e.clone())&&f9(a);var f=(b=(f=vr(b))==null?void 0:f.clone())&&f9(b);return!!c&&!!f&&Np(c,f)},IOa=function(a,b){var c=a.getItem(),d=f9(vr(c));a=F(d,3)===!1||F(d,5)===!1||F(d,64)===!1||F(d,65)===!1||F(d,62)===!1||F(d,53)===!1||F(d,52)===!1;b=HOa(b,a);b.Tf.forEach(function(e){LH(e.getItem(),ws(c,25));xr(e.getItem(),d.clone())});return b},LOa=function(a,b,c){var d=JOa(c);
c=c.find(function(e){return e.getId()===DA(b)});c={Ad:c?c:new v0(b),children:[]};KOa(a,d,c);return c},JOa=function(a){var b={};a=q(a);for(var c=a.next();!c.done;c=a.next()){let e=c.value;c=q(CH(e.getItem()));for(var d=c.next();!d.done;d=c.next())d=d.value,b[d]||(b[d]=[]),b[d].push(e)}return b},KOa=function(a,b,c){var d=c.Ad.getItem();(b[DA(d)]||[]).forEach(function(e){c.children.push(KOa(a,b,{Ad:e,parent:c,children:[]}))});return c},NOa=function(a,b){b=b.children.filter(function(g){return!cI(g.Ad.getItem())});
for(var c=new Map,d=[];b.length;){let g=b.pop(),h=g.Ad.getItem();if(!c.has(DA(h))){LH(h,ws(a,25));MOa(a,h,g.parent?g.parent.Ad.getItem():void 0);for(var e=q(g.children),f=e.next();!f.done;f=e.next())f=f.value,cI(f.Ad.getItem())||b.push(f);c.set(DA(h),!0);d.push(g.Ad)}}return d},OOa=function(a){a=a.children.filter(function(f){return!cI(f.Ad.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop();let f=d.Ad.getItem();if(!b.has(DA(f))){c.push(MI(LI(new KI,f.J())));d=q(d.children);for(var e=d.next();!e.done;e=
d.next())e=e.value,cI(e.Ad.getItem())||a.push(e);b.set(DA(f),!0)}}return c},HOa=function(a,b){var c=[],d=[];a=q(a);for(var e=a.next();!e.done;e=a.next()){e=e.value;let h=e.getItem();a:{var f=h;var g=b;if(F(f,76)||F(f,137)){g=!0;break a}f=f.td();g=g&&f!=null&&EOa.includes(f)}g?d.push(h):c.push(e)}return{fe:d,Tf:c}},f9=function(a){a=a.clone();var b=T(a,34)?$k(a,34):eH(a),c=T(a,35)?$k(a,35):eH(a);H(a,45,c);H(a,46,b);H(a,30,c);H(a,31,b);H(a,47,c);H(a,33,b);Er(a,b);Hr(a,c);H(a,20,b);b=eH(a);H(a,17,b);
Ir(a,F(a,10));Gr(a,dH(a));S(a,18);S(a,13);S(a,10);b=F(a,42);H(a,42,b);Jr(a,F(a,43));b=F(a,48);H(a,48,b);return a},MOa=function(a,b,c){var d=vr(a),e=vr(b),f=F(d,30);H(e,30,f);f=F(d,31);H(e,31,f);f=F(d,47);H(e,47,f);f=F(d,33);H(e,33,f);Er(e,F(d,4));Hr(e,F(d,9));Gr(e,F(d,21));f=F(d,20);H(e,20,f);f=F(d,17);H(e,17,f);Cr(e,dH(d));f=eH(d);H(e,7,f);f=F(d,10);H(e,10,f);f=F(d,45);H(e,45,f);f=F(d,46);H(e,46,f);d=F(d,48);H(e,48,d);eI(b,F(a,76));c&&(a=vr(c),jl(b)?(Ir(e,F(a,43)),Jr(e,F(a,43)),b=F(a,42),H(e,42,
b)):Ir(e,F(a,42)))};var g9=function(a){this.context=a;this.g=new FOa;this.ea=a.fa()};g9.prototype.G=function(){return Vt(new P,1514)};
g9.prototype.propagate=function(a,b){if(rA(a))N(a,3)?POa(this,a):QOa(this,a,b);else{b=a.Aa();var c=this.ea.Ha.g(b);if(c&&ROa(a,c))if(N(a,3)){c=h9(this,ZH(c));a=this.g;var d=Ru(new gl,b);a=(a=LOa(a,d,c))?OOa(a):[];this.context.fa().hb(a);this.log(b,"SD shared folder delete | Removed "+a.length+" item(s)");if(c=M3(this.context.N,106009))b=$Aa(fq(c)),K(b,2,a.length),v_(c)}else if(b=a.getItem(),d=h9(this,ZH(b)),c=this.g,b=a.getItem(),b=(c=LOa(c,b,d))?NOa(b,c):[],B7(this.context.fa(),b),this.log(a.Aa(),
"SD shared folder update | Updated "+b.length+" item(s)"),c=M3(this.context.N,106010))a=$Aa(fq(c)),K(a,1,b.length),v_(c)}};
var POa=function(a,b){var c=b.Aa();b=h9(a,c);b=HOa(b,!0);var d=Hz(b.Tf,function(e){return MI(LI(new KI,e.getId()))});a.context.fa().hb(d);g5(a.ea.Kc,b.fe.map(function(e){return e.getId()}),a.G(),void 0,void 0,b.fe.map(function(e){return HJ(GJ(new Qt,e.J()),D(e,140))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.fe.length+" divergent items"));if(a=M3(a.context.N,106016))c=aBa(fq(a)),K(c,1,b.fe.length),K(c,2,b.Tf.length),v_(a)},QOa=function(a,b,c){var d=b.Aa(),e=h9(a,d),f=a.ea.Ha.g(d);if(!GOa(b.getItem(),
f,c)){b=IOa(b,e);B7(a.context.fa(),b.Tf);g5(a.ea.Kc,b.fe.map(function(g){return g.getId()}),a.G(),void 0,void 0,b.fe.map(function(g){return HJ(GJ(new Qt,g.J()),D(g,140))}));a.log(d,"SD update | Update "+b.Tf.length+" item(s), "+(b.fe.length+" divergent items"));if(c=M3(a.context.N,106017))e=aBa(fq(c)),K(e,1,b.fe.length),K(e,2,b.Tf.length),v_(c);f||CFa(a.ea.Kc,d)}},h9=function(a,b){var c=new pn;sn(c,[b]);rn(c,2);return O4(a.ea.Ha,c)},ROa=function(a,b){var c=ZH(b);if(c==null||ka(c))return!1;var d=a.getItem();
if(!jl(d!=null?d:b))return!1;var e=d==null?void 0:ZH(d);if(d&&ka(et(e))||e&&e!==c)return!1;c=!!cI(b);if(N(a,3))return c;d=a.getItem();a=$k(b,76)!==$k(d,76);b=am(d,25)!==am(b,25);return a||c&&b};g9.prototype.log=function(a,b){this.context.ia("sync.change.TdChangeProcessor").info(a+": "+b)};var k9=function(a,b,c,d,e,f){var g=this;this.state=a;this.j=b;this.H=c;this.S=d;this.N=e;this.anonymous=f===void 0?!1:f;this.O=this.A=this.timeout=this.B=null;this.h=!1;this.g=null;this.F=[];this.D=!1;this.j&&(this.D=a.g(),Ipa(this.j.A,function(){g.D=!0;i9(g,3)}),Ipa(this.j.B,function(){for(;g.F.length;)g.F.shift().resolve();g.D&&(g.D=!1,g.state.j?(i9(g,2),j9(g)):i9(g,1))}))};k9.prototype.getState=function(){return this.state};
var qOa=function(a){if(a.B)return a.B;if(a.anonymous)return DW(aK(new $J,a.state.g()?3:2));var b=HW();a.B=b.promise.then(function(){return aK(new $J,1)},function(c){c=co(c).na;var d=0;c.g()===2?d=3:eo(c)&&(d=2);return aK(new $J,d)});if(a.g){let c=tAa(a3(fq(a.g)))||0;uAa(a3(fq(a.g)),c+1)}setTimeout(function(){a.B=null},5E3);SOa(a,b);return a.B},mOa=function(a){if(a.j&&a.state.g()){let b=HW();a.F.push(b);b.promise.then(function(){},function(){Is(a.N,186469046)});setTimeout(function(){Na(a.F,b)&&b.reject(Error())},
5E3)}},Zza=function(a){var b;(b=a.j)!=null&&LY(b.g)},y2=function(a,b){(a=a.j)!=null&&(a=a.g,!b&&a.j?LY(a,!0,!0):KY(a,b))},z2=function(a,b){if(b)(b=i9(a,1))&&a.reset(),a.g&&b&&(v_(a.g),a.g=null);else{if(b=!a.h)b=a.state,b=O1(b)?b.j=!0:!1;b&&j9(a)}};k9.prototype.reset=function(){this.A=null;TOa(this)};
var TOa=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)},UOa=function(a,b){a.O=b},j9=function(a){if(!(a.A||a.D||a.anonymous||a.h)){a.g=dq(a.N,106025);if(a.g){var b=a3(fq(a.g));b=H(b,1,!(!O1(a.state)&&a.state.h()));b=H(b,2,a.state.B);H(b,5,!1)}a.A=new OZ(5E3,6E4);VOa(a)}},VOa=function(a){TOa(a);SOa(a);a.A&&(a.timeout=setTimeout(function(){return void VOa(a)},a.A.getValue()),NZ(a.A))},SOa=function(a,b){var c=function(){if(a.g){var d=a3(fq(a.g));let e=Rl(d,3)||0;d=a3(fq(a.g));K(d,3,e+
1)}WOa(a,b)};(a.O?Promise.resolve(a.O()):Promise.resolve()).then(null,function(){return null}).then(c,c)},WOa=function(a,b){a.log("Checking connection state.");var c=a.H.then(function(d){return d.route(new dn)}).then(null,function(d){d=co(d);eo(d.na)&&i9(a,2);d=EW(d);d.then(null,function(){return null});return d});b?b.resolve(c):c.then(null,function(){return null})};k9.prototype.log=function(a){this.S.ia("sync.connection.StateManager").info(a)};
var i9=function(a,b){return!a.h&&a.state.update(b)?(a.log("Connection status: "+XOa.get(b)),!0):!1};k9.prototype.zc=function(a,b){b=b===void 0?!1:b;this.reset();a?this.state.update(3):this.anonymous?this.state.update(2):b?j9(this):this.state.j?(i9(this,2),j9(this)):i9(this,1)};var XOa=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);var BA=/\w*-[\w-]*/g,l9=n.WeakMap?new WeakMap:null;var m9=function(a,b){this.j=a===void 0?!1:a;this.g=b;this.h=[this.mq,this.kq,this.lq,this.Cq,this.eq,this.qq,this.Bq,this.jq,this.wq,this.iq,this.pq,this.oq,this.sq,this.gq,this.nq,this.tq,this.uq,this.xq,this.hq,this.zq,this.yq,this.cq,this.rq,this.Dq,this.fq,this.vq,this.Aq];this.rootId=""};m9.prototype.Jb=function(a){this.rootId=a||""};
var QEa=function(a,b){return a.j&&ez(b).length>0&&!a.g()?!1:DJa(b)},DJa=function(a){var b;if(b=z(a,fz,5,B()).length==0&&z(a,iz,14,B()).length==0&&z(a,iz,15,B()).length==0&&!hp(a,iz,58)&&!$k(a,18)&&!$k(a,34)&&qz(a).length==0&&z(a,Gz,38,B()).length==0&&U(a,39,B()).length==0&&U(a,40,B()).length==0&&!Ys(a,41)&&!ws(a,42)&&z(a,kz,44,B()).length==0&&!Vl(a)&&z(a,mz,57,B()).length==0&&!Q(a,lz,59)&&z(a,iz,68,B()).length==0&&z(a,iz,67,B()).length==0&&z(a,oz,100,B()).length==0&&!T(a,69)&&!$k(a,73)&&z(a,jz,78,
B()).length==0)b=nz(a),b=!b||b.getType()!=5;return b&&YOa(a)&&ZOa(a)&&Nr(a,91,B()).length===0},YOa=function(a){var b=z(a,iz,13,B()),c;a=(c=b[0])==null?void 0:c.Qa();c=q(b);for(b=c.next();!b.done;b=c.next())if(b=b.value,b.getValue()!=="me"||b.Qa()!==a)return!1;return!0},ZOa=function(a){return ez(a).every(function(b){b=C(b,2);return!b||!b.includes("*")&&$Oa.test(b)})},K4=function(a,b,c){return!!c&&a.h.every(function(d){return d.call(a,b,c)})};l=m9.prototype;
l.mq=function(a,b){return b.J()!=this.rootId&&!rA(b)};l.Aq=function(a,b){var c=!0,d=ez(a);if(!ZOa(a))return!0;a=C(b,3)||"";for(let g=0;g<d.length&&c;g++){var e=d[g];if(e.getValue()){let h=e.Qa(),k=Oga(a,e.getValue(),am(e,1));if(am(e,1)===1){if(!h&&k)continue;a:{var f=b;if(l9&&l9.has(f)){f=l9.get(f);break a}let m=CA(C(f,3)||"",512);l9&&l9.set(f,m);f=m}e=Pga(f,e.getValue());c=c&&(h?!k&&!e:k||e)}else c=c&&(h?!k:k)}}return c};
l.kq=function(a,b){var c=hz(a),d=a=0,e=!1,f=!1;c=q(c);for(var g=c.next();!g.done;g=c.next())if(g=g.value,g.getValue()){let k=b.kh()||"";if($k(g,4)){var h=il(b);k=h&&C(h,3)||""}h=g.Qa();let m=g.getValue();g=bl(g,3)===0?m===k:k.includes(m);h?(d++,f=f||g):(a++,e=e||g)}return a&&!e||d&&f?!1:!0};l.lq=function(a,b){var c=!0;a=z(a,pz,7,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(gq(b,11));c=c&&n9(e,d)}return c};
l.Cq=function(a,b){var c=!0;a=z(a,pz,8,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(gq(b,13));c=c&&n9(e,d)}return c};l.eq=function(a,b){var c=!0;a=z(a,pz,79,B());a=q(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;let e=Ug(gq(b,10));c=c&&n9(e,d)}return c};var n9=function(a,b){if(nE(b,2))switch(ws(b,1)){case 1:return a<=Ug(gq(b,2));case 2:return a<Ug(gq(b,2));case 3:return a==Tg(gq(b,2));case 4:return a>Ug(gq(b,2));case 5:return a>=Ug(gq(b,2));default:return!1}return!0};
l=m9.prototype;l.Bq=function(a,b){var c=F(a,9);a=(a=Cz(a))&&(a==2||a==3);return c==null||c==!!$k(b,7)&&(!c||ws(b,25)==1||!!a)};l.jq=function(a,b){a=F(a,88);return a==null||a==!!F(b,160)};l.qq=function(a,b){var c;return!N(a,90)||((c=vr(b))==null?void 0:F(c,69))===!0};l.wq=function(a,b){return!T(a,10)||F(a,10)==!!$k(b,5)};l.iq=function(a,b){return!T(a,11)||F(a,11)==!!$k(b,6)};
l.pq=function(a,b){a=uz(a);a=q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.getValue()){var d=c.getValue()=="root"&&this.rootId||c.getValue();d=CH(b).includes(d);if(c.Qa()?d:!d)return!1}return!0};l.oq=function(a,b){if(!YOa(a))return!0;a=z(a,iz,13,B());a=q(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.getValue()=="me"&&ws(b,25)==1===c.Qa())return!1;return!0};l.sq=function(a,b){return!T(a,16)||($k(a,16)?nE(b,23):!0)};
l.gq=function(a,b){var c=F(a,17);a=(a=Cz(a))&&(a==2||a==3);return c==null||c==!!$k(b,26)&&(!c||ws(b,25)==1||!!a)};l.nq=function(a,b){b=Gx(b);return!T(a,19)||F(a,19)==!!$k(b,1)};l.tq=function(a,b){a=z(a,zz,25,B());if(a.length==0)return!0;var c=new Set(U(b,56,B()));return a.every(function(d){return c.has(C(d,1))})};
l.uq=function(a,b){if(rz(a).length==0)return!0;if(z(b,RB,60,B()).length==0)return!1;var c=new Set(z(b,RB,60,B()).map(function(d){return am(d,1)}));return rz(a).some(function(d){return c.has(am(d,1))})};l.xq=function(a,b){a=sz(a);return!a.length||a.includes(ZH(b)||"")};l.hq=function(a,b){a=z(a,tz,37,B());if(a.length==0)return!0;var c=new Set(U(b,50,B()));return a.every(function(d){return c.has(C(d,1))})};l.zq=function(a,b){return ws(a,41)?(b=Q(b,qs,86),b!=null&&am(a,41)==ws(b,3)):!0};
l.yq=function(a,b){if(U(a,40,B()).length){if(b=Q(b,qs,86)){let c=new Set(U(b,2,B()));return U(a,40,B()).some(function(d){return c.has(d)})}return!1}return!0};l.cq=function(a,b){var c=Cz(a);return c==1?(b=$k(b,31),!!uz(a).length||!!qz(a).length||$k(a,18)==1||!!C(a,54)||b==null||b):c==2?!!ZH(b):!0};l.rq=function(a,b){return T(a,50)?N(a,50)?Ys(b,101)&&am(b,101)!==0:!Ys(b,101):!0};l.Dq=function(a,b){a=C(a,54);return!a||U(b,120,B()).includes(a)};
l.fq=function(a,b){b=Q(b,fs,138);if(!T(a,65)||b==null)return!0;b=ws(b,1)==2;return F(a,65)==b};l.vq=function(a,b){if(hp(a,vz,86)){a=Q(a,vz,86);let d=!1;if(T(a,3)){let e;if($k(a,3)!==((e=Q(b,ks,148))==null?void 0:$k(e,4)))return!1;d=!0}if(T(a,1)){let e;if($k(a,1)!==((e=Q(b,ks,148))==null?void 0:$k(e,5)))return!1;d=!0}if(T(a,2)){let e;if($k(a,2)!==((e=Q(b,ks,148))==null?void 0:$k(e,6)))return!1;d=!0}if(d)return!0}var c;return!Tg((c=Q(b,ks,148))==null?void 0:gq(c,3))};var $Oa=/^[\x00-\x7F]*$/;var aPa=function(a,b){b=b===void 0?!1:b;var c=JI(a),d=a.kh();c&&hl(a)&&(d=(d=il(a))?C(d,3):"");jl(a)&&(Ug(a.jh())&&(d+="+"+String(a.Wk())),c&&F(a,160)?d+="+limited-access":a.mh()&&(d+="+shared"));return"https://drive-thirdparty.googleusercontent.com/"+(b?"32":"16")+"/type/"+(d||"application/unknown")};var bPa=function(a,b){this.M=b;this.j=x(a,65,"https://lh3.google.com");var c;this.g=(c=D(a,100))!=null?c:"d";this.h=Ns(a)};bPa.prototype.get=function(a){if(!cPa(this,a))return null;var b={},c=DA(a);hl(a)&&(c=kl(a));FA(this.h)?(c=[this.j,this.g,c].join("/"),b.accessToken=x(this.h,7)):c=[this.j,"u",Rq(this.h),this.g,c].join("/");c+="={size}";R(a,140)&&(b.resourcekey=C(a,140));b.auditContext="thumbnail";return c=Qga(c,b)};
var cPa=function(a,b){var c=ws(b,52);if(c&&dPa.has(c)&&(a.M.configs[62]==null||!dua(a.M.configs[62],c)))return!0;if(hp(b,BH,132))return a=zq(b,BH,132),ws(a,4)!==1?!1:hp(a,gl,5)?(a=zq(a,gl,5),a=F(a,44),a!=null?a:!1):!0;var d;return(d=F(b,44))!=null?d:!1},dPa=new Set([6]);var ePa=function(a,b){this.C=a;this.g=new bPa(a,b)},ev=function(a,b,c){fPa(a,b,c);if(c.has(18)){var d=GA(b,a.C);E(b,19,d)}gPa(a,b,c);hPa(a,b,c);if(hl(b)){let f=(d=il(b))&&Hx(d);if(f){fPa(a,f,c);if(c.has(18)){d=f;var e=GA(f,a.C);E(d,19,e)}gPa(a,f,c);hPa(a,f,c)}dv(b,!!D(b,20))}},fPa=function(a,b,c){if(c.has(20)&&c.has(3)){c=aPa(b,N(a.C,75));E(b,21,c);if(c=hp(b,vH,156))c=Q(b,vH,156),c=hp(c,uH,1);c&&(b=Sp(b,vH,156),b=Sp(b,uH,1),a=aPa(b,N(a.C,75)),E(b,11,a))}},gPa=function(a,b,c){if(b&&c){var d=b.J();
d?c.has(19)&&(a=a.g.get(b),E(b,20,a)):ok("No Item ID for addThumbnailUrl: id:"+d,Error("Hd"),"warning")}else ok("Invalid parameters to addThumbnailUrl: item:"+b+" fields:"+c,Error("Id"),"warning")},hPa=function(a,b,c){var d=c.has(41);c=c.has(42);if(d||c){var e=b.td();if(e){var f,g=(f=vr(b))==null?void 0:F(f,65);f=!jl(b)&&!hl(b)&&!(rk(e)||Bk(e)&&e!=="application/vnd.google-apps.folder")&&(!F(b,8)||ws(b,25)!==2);var h;e=((h=XJ(a.C))==null?0:N(h,59))?g:f;d&&H(b,40,e);e&&c&&(a=a.C,d=DA(b),hl(b)&&(d=kl(b)),
h=x(a,101)?x(a,101):x(a,16),h=new Uh(h+"/uc"),EA(h,"id",d),FA(Ns(a))||EA(h,"authuser",Rq(Ns(a))),a=R(b,4)?C(b,4):"",Bk(a)&&a!=="application/vnd.google-apps.shortcut"?EA(h,"export","native_doc_export"):EA(h,"export","download"),R(b,140)&&EA(h,"resourcekey",C(b,140)),E(b,41,h.toString()))}}};var o9={},iPa={Ri:100,Qi:(o9.MAX_NUMBER_OF_REQUESTS={ph:1E3,bh:5E3},o9.MAX_NUMBER_OF_PAGES={ph:500,bh:4E3},o9.MAX_REQUESTS_TO_PAGES_RATIO={ph:3,bh:20},o9.MIN_RESULTS_PER_REQUEST_RATIO={ph:1,bh:.05},o9)};var jPa=new Set([9]),kPa=function(a){var b=this;this.context=a;this.C=this.context.C;this.g=new zx(function(){var c=b.C,d=b.context.S,e=b.context.Mn.get();var f=Gq(c);f=D(f,66);Rb(f,Eu);Rb(f,PD);var g=d.ia("drive.ds.network.grpc.client");d=[];{var h=Gq(c),k=Xr(c);let p=D(k,7);p&&p.length>0?(g.info("Using OAuth"),g=new Jya(p,g)):(h=D(h,37),k=Aq(k,1),Rb(h,Eu),Rb(h,PD),g.info("Using first party auth"),g=new Sya(h,k))}var m;k=Gq(c);c=Math.max((m=k.Ag())!=null?m:0,0)+1;c<=1?m=new V1:(m=Sg(Cq(k,21,jc(1E3))),
m=new V1({qm:c,Kp:m,aq:Math.pow(2,c)*m,Go:2,Lm:[4,13,14]}));e=new Kya(e);d.push(g);d.push(m);d.push(e);return new mV(f,{withCredentials:!0,xk:!1,wk:d})})};
kPa.prototype.create=function(a,b){var c,d=this.C,e,f=(e=ws(d,39))!=null?e:0,g;if(d=!((g=XJ(d))==null||!N(g,94))&&!jPa.has(f)){var h;f=(h=a.G())==null?void 0:h.g();if(h=f===111||f===1535)h=Xt(a,on,2),h=h===void 0||h.getType()===5||h.getType()===1;d=h&&!F(a,48)}d?c=new l7(a,this.g.get(),this.context,this.context.N,iPa):c=new f5(this.context,a,b);return c};var p9=function(a,b,c){this.h=a;this.g=b;this.Qe=c},oPa=function(a,b,c){if(VB(b).length){let h=N7(a.fa(),b.Aa());if(h){let k=h?zKa(a.fa(),b):[];var d=q(VB(b));for(var e=d.next();!e.done;e=d.next()){let m=e.value,p=lPa(k,C(m,1),b.Aa());if($k(m,3))yKa(a.fa(),p),c.catch(function(){}).finally(function(){var t=a.fa().zb,w=F7(p);t.g.delete(w)});else{e=q(z(m,WB,2,B()));for(var f=e.next();!f.done;f=e.next())mPa(a,p,f.value);e=q(U(m,4,B()));for(f=e.next();!f.done;f=e.next())nPa(p,f.value);a.fa().Ta([p],!1,
-1);c.catch(function(){}).finally(function(){a.fa().Dd(p.key,-2)})}}d=a.Sa(h.fc().response)}}d=d?d:a.Sa();var g=d.Pm;c.then(function(h){g.resolve(h)},function(h){g.reject(co(h));a.handleError(b.Aa(),h)});return d};p9.prototype.Sa=function(a){a=a===void 0?new iL:a;return new TCa(a.setStatus(1))};var lPa=function(a,b,c){var d=D7(b),e=a.find(function(f){return f.key===d});e||(e=E7(eL(cL(new bL,b),c)),a.push(e));return e};
p9.prototype.handleError=function(a,b){BKa(this.g,a);a=ur(bo(b,39),"Server error updating metadata after optimistic application.");this.Qe(a)};
var mPa=function(a,b,c){var d=b.value;b=z(d,WK,2,B()).find(function(e){return e.J()===c.J()});b||(b=new WK,aL(b,c.J()),dL(d,z(d,WK,2,B()).concat([b])),pPa(b,c));switch(ws(b,4)){case 1:b.setBooleanValue(F(c,3));break;case 12:b.setDateStringValue(D(c,17));break;case 2:b.setTextValue(D(c,4));break;case 3:U(c,6,B()).length?XK(b,U(c,6,B())):U(c,5,B()).length&&(a=U(b,7,B()).concat(U(c,5,B())),XK(b,a));break;case 4:b.setLongTextValue(D(c,7));break;case 5:b.setSelectionValue(D(c,8));break;case 6:U(c,10,B()).length?
YK(b,U(c,10,B())):U(c,9,B()).length&&(a=U(b,10,B()).concat(U(c,9,B())),YK(b,a));break;case 7:b.setIntegerValue(Wj(c,11));break;case 8:XB(c,13).length?ZK(b,XB(c,13)):XB(c,12).length&&(a=XB(b,12).concat(XB(c,12)),ZK(b,a));break;case 10:b.setUserValue(a.Nf(D(c,14)));break;case 11:U(c,16,B()).length?$K(b,U(c,16,B()).map(a.Nf)):U(c,15,B()).length&&$K(b,z(b,nv,16,B()).concat(U(c,15,B()).map(a.Nf)));break;default:throw b="Optimistic Applier: Unsupported value type "+(ws(b,4)+"."),new fn(b,new Rn);}},nPa=
function(a,b){if(a=z(a.value,WK,2,B()).find(function(c){return c.J()===b}))switch(ws(a,4)){case 1:S(a,5);break;case 12:S(a,17);break;case 2:S(a,6);break;case 3:S(a,7);break;case 4:S(a,8);break;case 5:S(a,9);break;case 6:S(a,10);break;case 7:S(a,11);break;case 8:S(a,12);break;case 10:S(a,15);break;case 11:S(a,16);break;default:throw a="Optimistic Applier: Unsupported value type "+(ws(a,4)+"."),new fn(a,new Rn);}},pPa=function(a,b){T(b,3)?G(a,4,1):R(b,17)?G(a,4,12):R(b,4)?G(a,4,2):U(b,6,B()).length||
U(b,5,B()).length?G(a,4,3):R(b,7)?G(a,4,4):R(b,8)?G(a,4,5):U(b,10,B()).length||U(b,9,B()).length?G(a,4,6):Yc(ak(b,11))!=null?G(a,4,7):XB(b,13).length||XB(b,12).length?G(a,4,8):R(b,14)?G(a,4,10):(U(b,16,B()).length||U(b,15,B()).length)&&G(a,4,11)};p9.prototype.Nf=function(a){return Or(Sr(1),a)};p9.prototype.fa=function(){return this.h.get()};var qPa=cc(Qk(Al),Kl,Qk(Hm),wl,Gm,sP),sPa=function(a,b,c,d,e,f,g,h,k,m,p){this.ea=a;this.j=b;this.D=c;this.zb=d;this.B=e;this.M=f;this.A=g;this.g=h;this.C=k;this.S=m;this.N=p;this.I=this.S.ia("sync.request.OptimisticApplier");this.h=new rPa(this.ea,this.S)};sPa.prototype.apply=function(a,b){var c=this;return qPa(a)&&nn(a)&&!jra(a)?(a=tPa(this,a,b))?(this.j.pause(),b.catch(function(){}).finally(function(){return void c.j.resume()}),Promise.resolve(a)):b:b};
var tPa=function(a,b,c){if(Pk(Al)(b))return uPa(a,b,c);if(Al(b))return vPa(a,b,c);if(b instanceof PO)return wPa(a,b,c);if(Hm(b))return xPa(a,b,c);if(Pk(Hm)(b))return c=Promise.resolve(c),yPa(a,b.requests,c);if(b instanceof kL)return zPa(a,b,c);if(b instanceof MO)return oPa(a.D,b,c);if(b instanceof rP)return APa(a,b,c);a="OptimisticApplier: Unknown request type "+mm(b);throw Error(a);},vPa=function(a,b,c){var d=b.J();b=c.then(function(e){return[Nq(d,e)]});b.catch(function(){});return BPa(a,[d],b)[0].result.value},
uPa=function(a,b,c){b=b.requests.map(function(d){return d.J()});return BPa(a,b,c)},BPa=function(a,b,c){xKa(a.zb.zb,b);c.then(function(d){CPa(a);d=d.filter(function(e){return e.result.status==="rejected"}).map(function(e){return e.id});d.length>0&&q9(a.h,d)},function(d){a.g(ur(bo(d,37),"Server error deleting item after optimistic application."));q9(a.h,b)}).finally(function(){for(var d=a.zb.zb,e=q(b),f=e.next();!f.done;f=e.next())d.g.delete(f.value)});return b.map(function(d){return Nq(d,(new jn).setStatus(1))})},
CPa=function(a){a.A&&OEa(a.A.get(),1503).catch(function(b){ok("Could not forceRefresh OptimisticApplier",Zn(b),"warning")})},wPa=function(a,b,c){var d=KLa(a.zb.g,b);c.then(function(){(d==null?0:d.commit())&&(new i8(b,a.B,a.zb)).start().then(function(){return void CPa(a)})},function(){d==null||d.Yf()});c.catch(function(e){e=ur(bo(e,38),"Server error emptying trash after optimistic application.");a.g(e)});return(new jn).setStatus(1)},zPa=function(a,b,c){var d=D(b,1),e=a.ea.Ha.g(d);if(!e)return null;
e=e.clone();V4(a.ea,[e],[157]);var f=aI(e);DPa(f,z(b,iB,2,B()));EPa(f,z(b,iB,3,B()));a.ea.Ka([e],-1,void 0,void 0,[157]);c.then(function(g){a.ea.Dd(d,-2);a.ea.Ka([Q(g,gl,2)],1,void 0,void 0,[157])},function(g){a.ea.Dd(d,-2);g=ur(bo(g,36),"Server error updating item after optimistic application.");a.g(g)});return mL(new lL,e).setStatus(1)},DPa=function(a,b){b=q(b);for(var c=b.next();!c.done;c=b.next()){let d=c.value;z(a,iB,8,B()).some(function(e){return C(e,1)===C(d,1)})||Oj(a,8,iB,d)}},EPa=function(a,
b){var c=b.map(function(d){return C(d,1)});b=z(a,iB,8,B()).filter(function(d){return!c.includes(C(d,1))});tH(a,b)},APa=function(a,b,c){var d=am(b,3);if(![3,9,13].includes(d))return null;var e=b.getId(),f=a.ea.Ha.g(e);if(!f)return null;var g=f.clone(),h,k=((h=Q(g,ks,148))==null?void 0:h.clone())||new ks;if(d===9)oH(H(k,4,!1));else if(d===13)js(H(k,4,!0),Date.now());else if(d===3){let m;js(H(k,4,!1),(m=Tg(gq(k,3)))!=null?m:Date.now())}Yu(g,k);FPa(a,[g]);GPa(a,{itemId:e,request:b,fk:f},c,function(m){m=
ur(bo(m.error,40),"Server error updating item after optimistic application.");a.g(m)});return HPa(g)},GPa=function(a,b,c,d){var e=b.itemId,f=b.request,g=b.fk;c.then(function(){a.ea.Dd(e,-2)},function(h){a.ea.Dd(e,-2);IPa(a,e,g);d({request:f,itemId:e,error:h})})},xPa=function(a,b,c){var d=b.J();c=c.then(function(e){return[Nq(d,e)]});c.catch(function(){});a=yPa(a,[b],c);return a===null?null:a[0].result.value},yPa=function(a,b,c){if(!JPa(a,b))return null;b=b.map(function(e){var f=e.J(),g=a.ea.Ha.g(f);
return{itemId:f,request:e,fk:g}});var d=b.map(function(e){return KPa(a,e)});FPa(a,d);LPa(a,b,c,function(e){var f=e.itemId,g=e.request;e=bo(e.error,40);if(e.je()===63){E(e,22,f);let h;if(g==null?0:(h=jC(g))==null?0:h.length)f=jC(g)[0],E(e,23,f)}ur(e,"Server error updating item after optimistic application.");a.g(e)});return MPa(d)},MPa=function(a){return a.map(function(b){var c=b.J();return Nq(c,HPa(b))})},HPa=function(a){return Fs(RA(new jn,a),a.J()).setStatus(1)},JPa=function(a,b){var c=a.ea.Ha;
b=q(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=d.J();if(!e||c.h.get(e)==null||$H(c.g(e))&&F(d,5)===!1||T(d,40))return!1;e=kC(d);d=jC(d);if(e.length>0&&d.length>0&&(d=Object.values(a.ea.Ha.Lc(e.concat(d))).map(function(f){return $H(f)||"root"}),Ua(d),d.length>1))return!1}return!0},FPa=function(a,b){a.ea.Ka(b,-1,void 0,void 0,a.M.xj())},LPa=function(a,b,c,d){var e=[];c.then(function(f){f=q(f);for(var g=f.next();!g.done;g=f.next()){let h=g.value;h.result.status==="rejected"&&(g=b.find(function(k){return k.itemId===
h.id}),e.push({request:g==null?void 0:g.request,itemId:h.id,error:h.result.reason}))}},function(f){e.push.apply(e,r(b.map(function(g){return{request:g.request,itemId:g.itemId,error:f}})))}).finally(function(){gKa(a.ea,b.map(function(m){return m.itemId}));if(e.length){var f=[],g=[],h;if((h=zo(a.C))==null?0:N(h,39)){h=q(e);for(var k=h.next();!k.done;k=h.next()){k=k.value;let m;((m=co(k.error).na)==null?void 0:m.h())===99?g.push(k):f.push(k)}}else f=e;g.length>0&&NPa(a,g);if(f.length>0)for(q9(a.h,f.map(function(m){return m.itemId})),
f=q(f),g=f.next();!g.done;g=f.next())d(g.value)}})},NPa=function(a,b){b=b.map(function(c){c=c.itemId;return MI(LI(new KI,c))});a.ea.hb(b)},KPa=function(a,b){var c=b.request;b=b.fk.clone();c.vc()&&b.setDescription(C(c,3));nE(c,12)&&OH(b,gq(c,12));R(c,6)&&dl(b,C(c,6));nE(c,7)&&bv(b,gq(c,7));T(c,11)&&FH(b,$k(c,11));T(c,4)&&Zu(b,$k(c,4));T(c,16)&&NH(b,$k(c,16));c.Wa()&&b.setTitle(C(c,2));T(c,5)&&(EH(b,$k(c,5)),MH(b,$k(c,5)));T(c,18)&&Fx(Gx(b,!0),$k(c,18));U(c,8,B()).length&&Tu(b,U(c,8,B()).slice());if(jC(c).length){let h=
new Set(CH(b));jC(c).forEach(function(k){return void h.add(k)});Tu(b,[].concat(r(h)))}if(kC(c).length){let h=new Set(CH(b));kC(c).forEach(function(k){return void h.delete(k)});Tu(b,[].concat(r(h)));var d=D(b,46);if(d&&kC(c).includes(d)){var e=d;S(b,46)}}if(!D(b,46)){d=q(CH(b));for(var f=d.next();!f.done;f=d.next()){f=f.value;let h=a.ea.Ha.g(f);if(h&&D(h,46)){TH(b,D(h,46));break}else if(f===e){TH(b,e);break}}}CH(b).length&&(a=a.ea.Ha.g(CH(b)[0]))&&$u(b,$H(a));if(a=Q(c,is,25))e=Q(b,is,111)||new is,
T(a,1)&&hs(e,$k(a,1)),R(a,2)&&gs(e,C(a,2)),I(b,111,e);var g=U(b,120,B(tu));U(c,31,B()).forEach(function(h){g.includes(h)||g.push(h)});U(c,32,B()).forEach(function(h){Na(g,h)});rs(b,120,g);return b},IPa=function(a,b,c){b=VP((new $t).Wb([b]),Vt(new P,314));(new a5(b,a.C,a.S,a.ea,a.N,a.B,a.zb,void 0,!1)).run().then(function(){},function(d){c&&a.ea.Ka([c.clone()],1);d=co(d);a.I.Ba("Error refetching Item",d)})},rPa=function(a,b){this.ea=a;this.I=b.ia("sync.request.OptimisticApplier")},q9=function(a,b){Promise.resolve(g5(a.ea.Kc,
b,Vt(new P,314))).catch(function(c){var d=Object.values(a.ea.Ha.Lc(b)).filter(function(e){return e!=null});c=co(c);a.I.Ba("Error refetching Items",c);d.length&&a.ea.Ka(d.map(function(e){return e.clone()}),1)})};var r9=function(a){this.g=a};V(r9,W1);r9.prototype.execute=function(a,b,c){var d=W1.prototype.execute.call(this,a,b,c);if(d)return d;if(c.lf||Wl(b)&&A3(b.X()))if(c=Uya(this.g))return c;return Kl(b)&&b.X()&&!Jka(b.X())?(c=Vt(new P,1424),a.route(vn({direction:2,mc:1,ba:c})).then(function(e){(e=e.Sa())&&(e=e.Ma()[0])&&nE(e,96)&&QO(b,gq(e,96))},function(){})):null};var MA=function(a,b){return[OPa,PPa,QPa,RPa].reduce(function(c,d){var e;c!==0?e=c:e=Wa(d(a),d(b));return e},0)},OPa=function(a){return SPa[am(a,6)]},PPa=function(a){return TPa[am(a,1)]},QPa=function(a){return a.getName()||""},RPa=function(a){return a.getId()||""},s9={},SPa=(s9[5]=0,s9[7]=1,s9[1]=2,s9[3]=3,s9[4]=4,s9[2]=5,s9[6]=6,s9),t9={},TPa=(t9[1]=0,t9[2]=1,t9[3]=2,t9[4]=3,t9);var u9=function(a,b,c,d,e,f,g,h,k,m){this.ea=a;this.B=b;this.g=c;this.Fd=d;this.af=e;this.h=f;this.A=g;this.j=h;this.D=k;this.M=m};u9.prototype.apply=function(a,b){if(a instanceof Ok)for(let c=0;c<a.requests.length;c++){let d=b[c].result;Lq(d)&&UPa(this,a.requests[c],d.value)}else UPa(this,a,b)};
var UPa=function(a,b,c){if(!(c instanceof jn&&am(c,1)===8))if(b instanceof jP||b instanceof hK||b instanceof Rm||b instanceof lP||b instanceof lK||b instanceof rK||b instanceof Zm||b instanceof Vm||b instanceof iP){if(b=c.getItem()){var d=Tx(b.clone(),9);a.ea.Ka([d],1);ev(a.D,b,a.M.zg())}}else if(b instanceof jK)b=MI(LI(new KI,b.J())),a.ea.hb([b]);else if(b instanceof kK)b=MI(OI(LI(new KI,b.J()),b.J())),a.ea.hb([b]),a.B.propagate(b);else if(b instanceof PO){d=OO(b.X());let e=Sg(Cq(b,2));b=vn({direction:1,
driveId:d}).X();b=a.ea.Ha.query(b);d=b.findIndex(function(f){var g;return((g=Ug(gq(f,96)))!=null?g:0)>e});d>=0&&b.splice(d);b=b.map(function(f){return MI(LI(new KI,f.J()))});a.ea.hb(b)}else if(b instanceof QG)a.g.remove(C(b,1));else if(b instanceof TG||b instanceof XG)DEa(a.g,c.Ih());else if(b instanceof BP)Rga(a.ea,b);else if(Fl instanceof Object&&b instanceof Fl||Km instanceof Object&&b instanceof Km)a.h&&OEa(a.h.get(),306).catch(function(e){ok("Could not forceRefresh ResponseApplier",Zn(e),"warning")});
else if(b instanceof CP)Sga(a.ea,b,c.Nf());else if(b instanceof FQ||b instanceof HQ)a.Fd.Ta([l8(c.Qh())],!1);else if(b instanceof bB)a.Fd.Ta([wca(C(b,1))],!1);else if(b instanceof Qm)a.Od().Ta(z(c.response,bL,2,B()).map(E7),!1,1,b.request);else if(b instanceof MO)c=VB(b).filter(function(e){return $k(e,3)}),(d=N7(a.Od(),b.Aa()))==null||tKa(d,c.map(function(e){return D7(C(e,1))})),aIa(a.ea,b.Aa());else if(b instanceof XO)for(b=q(z(b,jB,1,B())),d=b.next();!d.done;d=b.next())switch(c=d.value,d=bl(c,1),
d){case 3:case 4:case 1:case 5:case 8:c=Q(c,kB,2);let e=c.getType();switch(e){case 1:case 2:d===8&&e===2?(d=D(c,2),a.A.get().h(d)):a.j.value&&(d=D(c,2),a.j.get().h(d))}}};u9.prototype.Od=function(){return this.af.get()};var VPa=function(a,b,c){this.g=a;this.N=b;this.C=c};VPa.prototype.translate=function(a){if(a instanceof Ok)a:{var b=[];a=q(a.requests);for(var c=a.next();!c.done;c=a.next()){c=c.value;let d=WPa(this,c);if(Xn(d)){b=d;break a}if(Array.isArray(d)){b=Ct(new Rn,"Translated request "+mm(c)+" is not a single request.");break a}b.push(d)}b=new Ok(b)}else b=WPa(this,a);return b};
var WPa=function(a,b){if(km(b)){R(b,1);var c=a.g.g(b.J());if(!c)return new Rn;var d=mK(new lK,b.J());if($H(c))a=vr(c),F(a,16)||F(a,9)?H(d,5,!0):pK(d,!1);else{var e=D(b,2);ws(c,25)===1?H(d,5,!0):e?(a=a.g.g(e),!a||eH(vr(a))?oK(d,[e]):pK(d,!1)):pK(d,!1)}return d}if(lm(b)){d=U(b,2,B());e=U(b,3,B());if(d.length>1||e.length>1){ok("Cannot add or remove multiple parents in a single request.",Error("Jd`"+d+"`"+e),"warning");c=M3(a.N,106050);let g=c==null?void 0:cBa(fq(c));var f;let h,k;g!=null&&(f=K(g,1,d.length))!=
null&&(h=K(f,2,e.length))!=null&&(k=H(h,3,!1))!=null&&H(k,4,!1);e.length>1&&d.length<=1&&(f=b.J(),f=a.g.g(f))&&(f=CH(f),f.length===1&&e.includes(f[0])&&(g==null||H(g,3,!0)));c==null||v_(c)}return aH(mC(a.C))&&(d.length>1||d.length===0&&e.length>1)?Ct(new Rn,"Cannot add or remove multiple parents (unless adding a single parent) in a single request."):Nja(Pja(Oja(oK(nK(mK(new lK,b.J()),d),e),F(b,6)),z(b,Qt,8,B())),b.G())}if(nm(b)){R(b,1);c=a.g.g(b.J());if(!c)return new Rn;d=mK(new lK,b.J());$H(c)?(hp(c,
wr,84),a=vr(c),F(a,16)||F(a,9)?H(d,5,!1):pK(d,!0)):(e=D(b,2),ws(c,25)===1?H(d,5,!1):e?(a=a.g.g(e),!a||dH(vr(a))?nK(d,[e]):pK(d,!0)):pK(d,!0));return d}if(Mja(b))return new Rm(b);if(BL(b))return U(b,1,B()).map(function(g){var h=new MO;h=E(h,1,g);var k=z(b,zL,2,B());h=Nu(h,2,k);k=b.G();h=I(h,3,k);return{requestId:g,request:h}});if(Jl(b)){d=vn({direction:2,driveId:OO(b),mc:1}).X();let g=0;a.g.query(d).forEach(function(h){(h=Ug(gq(h,96)))&&(g=Math.max(g,h))});return QO(Kka(new PO,b),g)}return b};var XPa=function(a,b){this.S=a;this.g=b;this.I=this.S.ia("sync.request.Validator")};XPa.prototype.validate=function(a){var b;if(b=Wl(a)){let c,d;b=!((c=a.X())==null?0:(d=c.G())==null?0:Ys(d,1))}b&&(a=a.X())&&this.I.Ba("Request is missing a reason. go/cellojs-missing-reason\n "+(y3(this.g,a,2)+".\n"));return null};var v9=Sb(function(a){return Jm(a)&&uBa(a)});var w9=function(a,b,c,d){X3.call(this,b,c);var e=this;this.M=a;this.j=d;this.F=new zx(function(){return new aEa(e.S)});this.A=new zx(function(){return new r4(e.C,e.S)});this.D=new zx(function(){return new XDa(e.S)});this.h=new pEa(this.g,b,D(b,100));this.O=new NDa(this.g,this.h)};V(w9,X3);
w9.prototype.B=function(a,b){if(a instanceof gP)var c=Z3(a,b);else{if(Pm instanceof Object&&a instanceof Pm){if(!b.json)throw jo(a,b);var d=b.json;let la=new nR;d.nextPageToken&&iE(la,2,d.nextPageToken);if(d.activities){var e=la,f=yDa(d.activities);Nu(e,1,f)}var g=la}else{if(Qk(tl)(a))var h=YPa(this,a,b);else{if(a instanceof PG)var k=Y3(this,a,b);else{if(a instanceof xP)var m=(new yP).setStatus(1);else{if(a instanceof iP)var p=x9(this,a,b);else{if(a instanceof Qm){var t=a.request;if(!b.json)throw jo(t,
b);Hs(["drive#categoryMetadataList"],b.json);var w=TDa(this.A.get(),t,b.json)}else{if(a instanceof kL){if(!b.json)throw jo(a,b);Hs(["drive#teamDrive","drive#drive"],b.json);var A=mL((new lL).setStatus(1),u4(this.h,b.json))}else{if(a instanceof Rm)var J=x9(this,a,b);else{if(a instanceof XO)var Z=new YO;else{if(a instanceof FQ)var ha=cB(a,b);else{if(a instanceof QG)var Da=Iu(void 0,C(a,1));else{if(YP(a)){var Ha=Promise,Db=Ha.resolve,Lb=new ZP;var Wb=S(Lb,1,Ib(b.text,!1,!0));var De=Db.call(Ha,Wb)}else{if(Qk(Al)(a))var Eh=
Z3(a,b);else{if(a instanceof BP)var od=new HP;else{if(a instanceof kP)var Fh=Z3(a,b);else{if(a instanceof kK)var Ig=Z3(a,b);else{if(Fl instanceof Object&&Hl(a)){if(XA(b)){let la=tr(a,b,LR);if(WD(la,sF,1)>1)throw Error("Wb");var Fd=EQ((new DQ).setStatus(1),z(la,sF,1,B())[0])}else Fd=EQ(new DQ,Q(a,sF,1));var $i=Fd}else{if(a instanceof bB)var yf=cB(a,b);else{if(a instanceof PO)var aj=Z3(a,b);else{if(a instanceof TG)var sk=UA(a,b);else{if(a instanceof CP){if(!b.json)throw jo(a,b);Hs(["drive#permission"],
b.json);var cg=(new HP).setStatus(1),tk=V3(this.g,b.json);var rm=I(cg,2,tk)}else{if(a instanceof Sm){if(!b.json)throw jo(a,b);var uk=new VCa}else{if(a instanceof CL){if(!b.json)throw jo(a,b);var he=new WCa(b.json.exportJob.id)}else{if(a instanceof Tm){if(!b.json)throw jo(a,b);var bj=Dea(b.json)}else{if(Ul(a)&&Vl(a))var vk=mv(this.j,this.M,b.json);else{if(a instanceof sK)a:if(XA(b)){let la=tr(a,b,tS),Ya=Q(la,sS,3);var Jg=(new jv).setStatus(1);var Kg=z(la,gl,1,B());var sm=iv(Jg,Kg),Gh=Ya==null?void 0:
N(Ya,2);var cj=H(sm,8,Gh);var wk=Ya==null?void 0:Q(Ya,VO,1);var tm=I(cj,7,wk);var dj=Ya==null?void 0:U(Ya,3,B());var um=rs(tm,18,dj);var Hh=WO(kv(new lv,um),x(la,2))}else{if(!b.json)throw jo(a,b);if(a instanceof sK){let la=a.X();if(la&&Vl(la)){Hh=mv(this.j,this.M,b.json);break a}}Hs(["drive#fileList"],b.json);Hh=tCa(this.g,b.json,b.headers)}else{if(a instanceof RG){if(!b.json)throw jo(a,b);Hs(["drive#app"],b.json);var ej=b.json,Ih=new SG,ie=Gu(ej);var rc=I(Ih,2,ie).setStatus(1)}else{if(Xl(a)||Yl(a)){let la=
b.json;if(!la)throw jo(a,b);var Td=bP(new aP,[YDa(this.D.get(),la)])}else{if(a instanceof UG)if(XA(b)){let la=tr(a,b,iS);var Vc=new OG,dg=z(la,Ju,1,B());var vm=Nu(Vc,2,dg);var kt=U(la,2,B());var dc=rs(vm,4,kt).setStatus(1)}else{if(!b.json)throw jo(a,b);Hs(["drive#appList"],b.json);var ip=b.json,xk=new OG,ty=yea(ip);var uy=Nu(xk,2,ty);dc=rs(uy,4,ip.defaultAppIds).setStatus(1)}else{if(a instanceof XI)if(XA(b)){let la=tr(a,b,jS);var wm=ODa(la)}else{if(!b.json)throw jo(a,b);Hs(["drive#about","drive#changeList"],
b.json);var lt=this.O,yk=b.json;let la=new ZI,Ya=yk.largestChangeId;Ya!=null&&O(la,3,Number(Ya));if(pr("drive#changeList")(yk)){let Vb=yk.nextPageToken;Vb!=null&&O(la,2,Number(Vb));let Mc=[],Lm=yk.items||[];for(let Fe=0;Fe<Lm.length;Fe++){var xm=lt,Gd=Lm[Fe],vy=new KI;let Wd=O(vy,1,Number(Gd.id));Gd.teamDriveId?(OI(Wd,Gd.teamDriveId),LI(Wd,Gd.teamDriveId)):LI(Wd,Gd.fileId);Gd.file?NI(Wd,U3(xm.g,Gd.file)):Gd.teamDrive&&NI(Wd,u4(xm.h,Gd.teamDrive));Gd.deleted&&!Wd.getItem()&&MI(Wd);Mc.push(Wd)}$I(la,
Mc)}wm=la}else{if(a instanceof GP){let la=b.json;if(!la)throw jo(a,b);Hs(["drive#permissionList"],la);var wy=new EP,jp=xCa(this.g,la);var mt=I(wy,1,jp);var ym=E(mt,2,Br(la))}else{if(a instanceof eQ){let la=tr(a,b,IS);var kp=new fQ,lp=z(la,mP,1,B());var nt=Nu(kp,2,lp).setStatus(1)}else{if(Qk(em)(a))var ot=YPa(this,a,b);else{if(a instanceof vP)var mp=Xga(a,b);else{if(a instanceof zP){if(!b.json)throw jo(a,b);var zm=Efa(b.json)}else{if(a instanceof Wm){if(!b.json)throw jo(a,b);var np=cEa(this.F.get(),
b.json)}else{if(a instanceof rL){if(!b.json)throw jo(a,b);var op=this.F.get(),zk=b.json,pp=new sL,xy=bEa(op,zk);var pt=I(pp,2,xy).setStatus(1)}else{if(a instanceof aJ)if(XA(b)){let la=tr(a,b,SR),Ya=new bJ,Vb=Rl(la,1);if(nE(la,3)){let Mc=Number(Bt(la,3));dJ(Ya,Mc)}cJ(Ya,Vb);var Am=Ya}else{if(!b.json)throw jo(a,b);Hs(["drive#remainingCount"],b.json);var Bm=b.json;let la=new bJ,Ya=Bm.nextPageToken;Ya!=null&&dJ(la,Number(Ya));cJ(la,Number(Bm.remainingCount));Am=la}else{if(a instanceof eJ)if(XA(b)){let la=
tr(a,b,VR),Ya=new fJ,Vb=Bt(la,1);if(Vb!==null){let Mc=Number(Vb);hJ(gJ(Ya,Mc),Mc-1)}var Cm=Ya}else{if(!b.json)throw jo(a,b);Hs(["drive#startPageToken"],b.json);var qp=b.json;let la=new fJ,Ya=qp.startPageToken;if(Ya!==null){let Vb=Number(Ya);hJ(gJ(la,Vb),Vb-1)}Cm=la}else{if(a instanceof rP)var Ba=Z3(a,b);else{if(a instanceof IP){if(!b.json)throw jo(a,b);var Cb=Nfa(this.j,this.M,b.json).setStatus(1)}else{if(a instanceof GQ){if(!b.json)throw jo(a,b);var Dm=Jfa(this.j,this.M,b.json)}else{if(a instanceof
aQ)if(XA(b)){let la=tr(a,b,bS),Ya=(new jv).setStatus(1),Vb=z(la,aS,1,B()),Mc=a.ta();if(Vb.length!==Mc.length){let Fe=Error("Ld");this.S.ia("sync.request.FromXhrConverter").Zc("Expected "+Mc.length+" items in response but got "+Vb.length,Fe);ok("mergeDrivewayTeamDriveGetResponses expected "+Mc.length+" items in response but got "+(Vb.length+" items"),Fe,"severe")}let Lm=Math.max(Mc.length,Vb.length);for(let Fe=0;Fe<Lm;Fe++){var Em=void 0,fj=Fe<Mc.length?Mc[Fe]:void 0,gj=Fe<Vb.length?Vb[Fe]:void 0;
if(gj){var rp=(Em=Q(gj,gl,2))==null?void 0:Em.J();if(fj&&rp&&fj!==rp)throw Mk(Error("Od"));var Jh=gj.R();if(Jh&&(Jh==null?void 0:xs(Jh))!==0){Ya.setStatus(6);let Wd=rp!=null?rp:fj;if(Wd){let uI=ys(zs((new As).setStatus(6),xs(Jh)),x(Jh,2));Ce(Ya,19,As).set(Wd,uI);throw Mk(Es(Jh,"[Drives.Get] Failed to get item "+Wd+": "+x(Jh,2)));}}else{let Wd=Q(gj,gl,2);fl(Wd);Oj(Ya,2,gl,Wd)}}else Ya.setStatus(6),Ce(Ya,19,As).set(fj,Cs)}var qt=Ya}else{if(!b.json)throw jo(a,b);Hs(["drive#teamDrive","drive#drive"],
b.json);qt=iv(new jv,[u4(this.h,b.json)])}else{if(a instanceof an)if(XA(b)){let la=tr(a,b,US),Ya,Vb=Ow(Mw(new Nw,(Ya=x(la,5))!=null?Ya:""),z(la,Pw,3,B()));if(mE(la,2)){var sp=Vb,zS=Rl(la,2);K(sp,2,zS)}if(hp(la,cQ,1)){let Mc;Vb.setStatus((Mc=Q(la,cQ,1).ka())!=null?Mc:0)}if(R(la,4)){var AS=Vb,DF=x(la,4);E(AS,4,DF)}var rt=Vb}else{if(!b.json)throw jo(a,b);Hs(["drive#migrateToDrivePreFlightResponse","drive#migrateToTeamDrivePreFlightResponse"],b.json);rt=yfa(b.json)}else{if(a instanceof vK)if(XA(b)){let la=
tr(a,b,OS),Ya=z(la,gl,1,B());for(var yy=q(Ya),tp=yy.next();!tp.done;tp=yy.next())fl(tp.value);let Vb=iv(new jv,z(la,gl,1,B()));var st=kv(WO(new lv,x(la,2)),Vb)}else{if(!b.json)throw jo(a,b);Hs(["drive#teamDriveList","drive#driveList"],b.json);var zy=iv(new jv,qEa(this.h,b.json));st=WO(kv(new lv,zy),Br(b.json))}else{if(a instanceof dQ)if(XA(b)){var CS=Rl(this.C,48,1E3);let la=tr(a,b,bS),Ya=z(la,aS,1,B())[0],Vb=Ya.R();if(Vb&&xs(Vb)!==0)throw Mk(Es(Vb,"[Drives.GET] Failed to get shared drive "+D(a,1)+
": "+x(Vb,2)));let Mc=Q(Ya,gl,2);fl(Mc);let Lm=new TP,Fe,Wd;if((Fe=aI(Mc))==null?0:(Wd=Q(Fe,pH,10))==null?0:T(Wd,3)){let uI,qka;var DS=Lm,EF=(uI=aI(Mc))==null?void 0:(qka=Q(uI,pH,10))==null?void 0:F(qka,3);H(DS,3,EF)}else if(nE(Mc,79)){var FF=Lm,HF=Number(gq(Mc,79))<=CS;H(FF,3,HF)}var up=Lm}else{if(!b.json)throw jo(a,b);Hs(["drive#teamDrive"],b.json);var IF=b.json,Ay=Rl(this.C,48,1E3);let la=new TP,Ya=IF.recursiveFileCount;Ya&&H(la,3,Number(Ya)<=Ay);up=la}else{if(a instanceof XG)var JF=UA(a,b);else{if(a instanceof
MO)if(XA(b)){let la=tr(a,b,eT);var By=RDa(this.A.get(),la)}else{if(!b.json)throw jo(a,b);Hs(["drive#categoryMetadataList"],b.json);By=TDa(this.A.get(),a,b.json)}else{if(a instanceof lK)a:{if(XA(b)){let la=q(ZPa(new Ok([a]),b)).next().value;if(Lq(la.result)){var tt=la.result.value;break a}throw la.result.reason;}tt=b.json?Y3(this,a,b):Z3(a,b)}else{if(Pk(Hm)(a))var Cy=ZPa(a,b);else{if(a instanceof uP){if(XA(b)){let la=tr(a,b,hT);var KF=Fs(new jn,a.Ie()).setStatus(1),Dy=Q(la,mP,1);var Ey=I(KF,4,Dy)}else Ey=
Y3(this,a,b);var ut=Ey}else{if(a instanceof rK)var LF=x9(this,a,b);else{if(a instanceof Km)if(XA(b)){let la=tr(a,b,lT);if(WD(la,tF,1)>1)throw Error("Vb");let Ya=z(la,tF,1,B())[0];var GS=(new DQ).setStatus(1);var MF=I(GS,3,Ya);var vt=EQ(MF,Q(Ya,sF,1))}else{if(!b.json)throw jo(a,b);Hs(["drive#setting"],b.json);var vp=b.json,Fy=new sF;var NF=E(Fy,2,vp.key);var OF=G(NF,1,vp.namespace?sEa[vp.namespace]:void 0);var PF=new tF;var wt=I(PF,1,OF).setValue(vp.value);var QF=new DQ;var RF=I(QF,3,wt);vt=EQ(RF,
Q(wt,sF,1))}else{if(a instanceof HQ)var xt=cB(a,b);else{if(a instanceof mx){let la=tr(a,b,RR);var Gy=xF(la.Nd())}else{if(a instanceof IQ)if(XA(b)){let la=tr(a,b,dS),Ya=(new JQ).setStatus(1);for(var Ak=q(z(la,ZA,1,B())),ra=Ak.next();!ra.done;ra=Ak.next()){let Vb=ra.value;hp(Vb,cx,3)&&Ce(Ya,2,cx).set(Vb.getId(),Vb.Qh())}var Ka=Ya}else{if(!b.json)throw jo(a,b);Hs(["drive#workspace"],b.json);var Ub=bx(b.json),ed=new JQ;Ce(ed,2,cx).set(Ub.J(),Ub);Ka=ed}else{if(a instanceof en)if(XA(b)){let la=tr(a,b,QS);
var nd=Zw($w((new ax).setStatus(1),z(la,cx,1,B())),x(la,2))}else{if(!b.json)throw jo(a,b);Hs(["drive#workspaceList"],b.json);nd=Ffa(b.json)}else{if(Pl(a)){let la=tr(a,b,NP);var fc=Wx(la)}else{if(Ql(a)){let la=tr(a,b,OP);var BF=dy(a,la,this.j)}else{if(Qk(v9)(a))var CF=x9(this,a,b);else{if(hQ(a)){let la=tr(a,b,LS);var wS=(new jQ).setStatus(1),xS=z(la,iQ,1,B());var yS=Nu(wS,2,xS);var BS=x(la,2);var GF=E(yS,3,BS)}else{if(mQ(a)){let la=tr(a,b,ZR),Ya=(new pQ).setStatus(1);if(wn(la,oQ,1,$R)){var ES=Ya,HS=
ck(la,oQ,1,$R);y(ES,3,qQ,HS)}else if(wn(la,nQ,2,$R)){var je=Ya,vS=ck(la,nQ,2,$R);y(je,4,qQ,vS)}var ska=Ya}else{if(zQ(a)){tr(a,b,gS);var tka=(new AQ).setStatus(1)}else{if(sQ(a)){let la=tr(a,b,YS),Ya=(new wQ).setStatus(1);if(wn(la,vQ,1,ZS)){var tRa=Ya,uRa=ck(la,vQ,1,ZS);y(tRa,1,xQ,uRa)}else if(wn(la,tQ,2,ZS)){var vRa=Ya,wRa=ck(la,tQ,2,ZS);y(vRa,2,xQ,wRa)}else if(wn(la,uQ,3,ZS)){var xRa=Ya,yRa=ck(la,uQ,3,ZS);y(xRa,3,xQ,yRa)}var uka=Ya}else{if(Zl(a)){let la=b.json;if(!la)throw jo(a,b);var vka=ZDa(this.D.get(),
la)}else vka=null;uka=vka}tka=uka}ska=tka}GF=ska}CF=GF}BF=CF}fc=BF}nd=fc}Ka=nd}Gy=Ka}xt=Gy}vt=xt}LF=vt}ut=LF}Cy=ut}tt=Cy}By=tt}JF=By}up=JF}st=up}rt=st}qt=rt}Dm=qt}Cb=Dm}Ba=Cb}Cm=Ba}Am=Cm}pt=Am}np=pt}zm=np}mp=zm}ot=mp}nt=ot}ym=nt}wm=ym}dc=wm}Td=dc}rc=Td}Hh=rc}vk=Hh}bj=vk}he=bj}uk=he}rm=uk}sk=rm}aj=sk}yf=aj}$i=yf}Ig=$i}Fh=Ig}od=Fh}Eh=od}De=Eh}Da=De}ha=Da}Z=ha}J=Z}A=J}w=A}p=w}m=p}k=m}h=k}g=h}c=g}return c};
var ZPa=function(a,b){return fT(tr(a,b,eT)).map(function(c){var d=c.getId();try{var e=b.headers;let g=c.getId();if(!hp(c,sR,2))throw new fn("UpdateItems: no result for "+g);let h=Q(c,sR,2),k=h.R();if(xs(k)!==0||ws(h,3)===1)throw Es(k,void 0,ws(h,3));let m=h.getItem();var f=Fs(RA(new jn,m),g).setStatus(1).Ae(Zp(e)).ze($p(e));return Nq(d,f)}catch(g){return c=g instanceof Error?g:co(g),Mq(d,c)}})},x9=function(a,b,c){if(XA(c)){if(b instanceof Rm)return b=tr(b,c,zR),SA(Q(b,gl,1));if(Qk(v9)(b)){Qk(NA)(b)?
(a=tr(b,c,eS),a=TA(z(a,aS,1,B()))):(a=tr(b,c,cT),a=TA(z(a,aS,1,B())));if(b instanceof Ok)return Vga(b,a);if(a[0]instanceof fn)throw a[0];return a[0]}if(Jm(b))return b=tr(b,c,jT),SA(Q(b,gl,1));throw Error("Md");}if(!c.json)throw jo(b,c);Hs(["drive#teamDrive","drive#drive"],c.json);b=u4(a.h,c.json);return RA((new jn).setStatus(1),b)},YPa=function(a,b,c){if(XA(c))return $Pa(b,c);if(b instanceof Ok)throw Error("Nd");return Y3(a,b,c)},$Pa=function(a,b){b=qla(tr(a,b,SS)).map(function(c){var d=c.getId();
c=Q(c,sR,2);var e=c.R();if(e&&xs(e)!==0)return c=Es(e,"Driveway response returned failure: "+x(e,2)),Mq(d,c);c=c.getItem();fl(c);c=Fs(RA((new jn).setStatus(1),c),c.J());return Nq(d,c)});if(a instanceof Ok)return b;if(Lq(b[0].result))return b[0].result.value;throw b[0].result.reason;};var aQa=dB("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing"),
bQa=dB("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData"),
cQa=dB("kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing,hasAppData,appDataQuotaBytesUsed"),
dQa=eB("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default"),
eQa=eB("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default,has_app_data"),
fQa=eB("app_icon(url,size,category),authorized,chrome_extension_id,create_in_folder_template,create_url,has_drive_wide_scope,has_gsm_listing,id,installed,is_drive_branded_app,is_source,long_description,name,object_type,open_url_template,primary_file_extension,primary_mime_type,product_id,product_url,removable,requires_authorization_before_open_with,secondary_file_extension,secondary_mime_type,short_description,supports_create,supports_import,supports_mobile_browser,supports_multi_open,supports_offline_create,supports_team_drives,type,use_by_default,has_app_data,app_data_quota_bytes_used");var gQa=[1,4],hQa=[2,4];var y9={},iQa=(y9[1]="active",y9[2]="archived",y9);var jQa=[{ga:12,matches:rl,convert:function(a){a=a.L;var b={};return{parts:{Y:(b["content-type"]="application/json",b),method:"POST",T:"files/"+D(a,1)+"/sendAccessRequest",json:{}},options:{Be:!0}}}},{ga:13,matches:function(a){return a instanceof Pm},convert:function(a){var b=a.L;a={};a.pageSize=b.pageSize;b.pageToken&&(a.pageToken=b.pageToken);var c="items/"+C(b.request,1);N(b.request,2)?a.ancestorName=c:a.itemName=c;a.consolidationStrategy={legacy:{}};b=z(b.request,MG,5,B());b=b.length===0?null:
"detail.action_detail_case:("+b.map(uca).join(" ")+")";a.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:(EXPANSIVE_ACCESS_MIGRATION GOOGLE_WORKSPACE_MIGRATE_IMPORT HIERARCHY_RECONCILIATION JAMBOARD_DEPRECATION MULTIPARENTING_MIGRATION)";b!==null&&(a.filter+=" "+b);b={};return{parts:{W:7,method:"POST",T:"/v2/activity:query",Y:(b["content-type"]="application/json",b),json:a}}}},{ga:14,matches:Qk(tl),convert:function(a,b){var c=a.L,d=b.eb;a.config.Xa===14?c=Zga(c,
b.C,d):(a={},$k(c,3)&&(a.useDomainAdminAccess=!0),a.fields="kind,id,parentId,teamDriveId",a.fileId=c.J(),R(c,4)&&(a.preFlightValidationToken=C(c,4)),b={},b=(b["content-type"]="application/json",b),Et([],[c.J(),D(c,2)],d,b),c={parts:{method:"POST",T:"admin/files/"+c.J()+"/migrateToTeamDrive",ja:a,json:{parentId:C(c,2)},Y:b},options:{Ra:!0,Be:!0}});return c}},{ga:15,matches:ul,convert:function(a,b){a=a.L;b=b.eb;var c={appId:D(a,1)};$k(a,3)&&(c.propagate=!0);c.supportsTeamDrives=!0;var d={};Et([],[D(a,
2)],b,d);return{parts:{method:"POST",T:"files/"+D(a,2)+"/authorize",ba:a.G(),Y:d,ja:c},options:{Ra:!0}}}},{ga:16,matches:Ska,convert:function(a){return $ga(a.L)}},{ga:17,matches:Rka,convert:function(a,b){a=a.L;b=b.Jc;var c={removeSecureLinkUpdateForAllFiles:N(a,2)},d={};return{parts:{T:"drives/"+a.J(),method:"PUT",json:c,Y:(d["content-type"]="application/json",d),ja:{fields:Xq(b,[],!0).toString()},ba:a.G()},options:{Ra:!0}}}},{ga:18,matches:function(a){return a instanceof Qm},convert:function(a,b){return aha(a.L,
b.eb)}},{ga:19,matches:wl,convert:function(a,b){return bha(a.L,b.Jc)}},{ga:20,matches:function(a){return a instanceof Rm},convert:function(a,b){a=a.L;var c=b.Jc;b=(new yR).setTitle(a.request.Fa());b=E(b,1,a.requestId);var d={};var e=e===void 0?[]:e;e=new Uq(new Cp("shared_drive",Vq(c,e,14)));d["x-goog-fieldmask"]=e.toString();d["content-type"]="application/json+protobuf";a=Sp(a.request,P,2);var f;Vt(a,(f=a.g())!=null?f:503);return{parts:{W:14,T:"/v1/sharedDrives:create",ba:a,method:"POST",Y:d,body:b.ca()}}}},
{ga:21,matches:Nka,convert:function(a,b){return eha(a.L,b.C)}},{ga:22,matches:yl,convert:function(a){var b=a.L;if(a.config.Xa===14){var c=BR();b.Wa()&&c.setTitle(b.Fa());a=new CR;a=Oj(a,1,AR,c);b={parts:{W:14,method:"POST",T:"/v1/workspaces:create",ba:b.G(),Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"},ja:{},body:a.ca()},options:{}}}else a={},c={},b.Wa()&&(c.title=C(b,1)),R(b,3)&&(c.workspaceToken=
C(b,3)),b={parts:{method:"POST",T:"workspaces",json:c,Y:(a["content-type"]="application/json",a),ja:{fields:"kind,id,title,createdDate,modifiedDate,state"},ba:b.G()},options:{Ra:!0}};return b}},{ga:23,matches:zl,convert:function(a,b){var c=a.L;if(a.config.Xa===14){let d;(d=zo(b.C))==null||N(d,85);a=new DR;b=c.Jd();a=E(a,1,b);b=F(c,2);a=H(a,2,b);let e;c={parts:{W:14,T:"/v1/app:delete",ba:(e=c.G())!=null?e:new P,method:"POST",Y:{"content-type":"application/json+protobuf"},body:a.ca()}}}else c={parts:{method:"DELETE",
T:"apps/"+c.Jd(),ja:{appId:c.Jd(),deleteAppData:!!F(c,2)},ba:c.G()},options:{Ra:!0}};return c}},{ga:25,matches:Qk(Al),convert:function(a,b){return hha(a.L,b.eb)}},{ga:26,matches:Bl,convert:function(a){a=a.L;return{parts:{method:"DELETE",T:"files/"+a.lg()+"/permissions/"+D(a,2),ja:{supportsTeamDrives:!0},ba:a.G()},options:{Ra:!0}}}},{ga:27,matches:Cl,convert:function(a,b){a=a.L;b=b.eb;var c=new HR;var d=a.Ie();c=E(c,1,d);d=D(a,2);c=E(c,2,d);var e;d=(e=a.G())!=null?e:new P;d.yb(1);e={};Et([],[a.Ie()],
b,e);e["content-type"]="application/json+protobuf";return{parts:{W:14,T:"/v1/revision:delete",ba:d,method:"POST",Y:e,body:c.ca()}}}},{ga:28,matches:Dl,convert:function(a){a=a.L;var b=new IR;var c=a.J();b=He(b,1,bd,c,void 0,dd);a=Sp(a,P,2);var d;Vt(a,(d=a.g())!=null?d:506);d={};return{parts:{W:14,T:"/v1/sharedDrives:delete",ba:a,method:"POST",Y:(d["content-type"]="application/json+protobuf",d),body:b.ca()}}}},{ga:29,matches:function(a){return Fl instanceof Object&&Hl(a)},convert:function(a){var b=
a.L;a=new KR;if(hp(b,sF,1)){var c=zq(b,sF,1);Oj(a,1,sF,c)}var d;b=(d=Sp(b,P,2))!=null?d:new P;var e;Vt(b.yb(1),(e=b.g())!=null?e:914);Us(Vs(b));d={};return{parts:{W:14,T:"/v1/userSettings:delete",ba:b,method:"POST",Y:(d["content-type"]="application/json+protobuf",d),body:a.ca()}}}},{ga:30,matches:Il,convert:function(a){var b=a.L;if(a.config.Xa===14){a=new MR;var c=b.J();a=He(a,1,bd,c,void 0,dd);b={parts:{W:14,method:"POST",T:"/v1/workspaces:delete",ba:b.G(),Y:{"content-type":"application/json+protobuf"},
ja:{},body:a.ca()},options:{}}}else b={parts:{method:"DELETE",T:"workspaces/"+b.J(),ba:b.G()},options:{Ra:!0}};return b}},{ga:31,matches:Kl,convert:function(a){a=a.L.X();var b=new NR;if(R(a,4)){var c=OO(a);E(b,1,c)}c={};return{parts:{W:14,T:"/v1/emptyTrash",ba:a.G(),method:"POST",Y:(c["content-type"]="application/json+protobuf",c),body:b.ca()}}}},{ga:33,matches:Ol,convert:function(a){a=a.L;return{parts:{T:"apps/"+D(a,1),ba:a.G(),ja:{fields:"kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing"}},
options:{Ra:!0}}}},{ga:32,matches:YP,convert:function(a,b){a=a.L;b=b.C;var c={};return{parts:{T:"files/generatePreflightReport/"+D(a,1),Y:(c["X-Goog-Encode-Response-If-Executable"]="base64",c),ja:{alt:"media",languageCode:Ms(Xr(b))},ba:a.G()},options:{Ra:!0}}}},{ga:38,matches:Sl,convert:function(a){a=a.L;return{parts:{method:"POST",T:"apps",ja:{appId:a.Jd()},ba:a.G()},options:{Ra:!0}}}},{ga:39,matches:Tl,convert:function(a,b){a=a.L;var c={};c.fields=Lp(b.C)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":
"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId";c.emailMessage=C(a,5)||"";c.sendNotificationEmail=!N(a,6);b={};var d=ws(a,2);d===1?b.role="owner":d===3?b.role="writer":d===4?(b.role="reader",b.additionalRoles=["commenter"]):d===2&&(b.role="reader");d=ws(a,3);d===1?b.type="user":d===2?b.type="group":d===3?b.type="domain":d===4?b.type="anyone":d===5&&(b.type="audience");a.getValue()&&(b.value=a.getValue());b.withLink=!N(a,8);c.supportsTeamDrives=
!0;d={};return{parts:{ba:a.G(),method:"POST",T:"files/"+a.lg()+"/permissions",json:b,Y:(d["content-type"]="application/json",d),ja:c},options:{Ra:!0}}}},{ga:40,matches:function(a){return a instanceof Sm},convert:function(a){return{parts:{W:8,method:"POST",T:"/v1/exports/"+a.L.g+":cancel"}}}},{ga:41,matches:Nl,convert:function(a,b){return iha(a.L,b.eb)}},{ga:42,matches:function(a){return a instanceof Tm},convert:function(a){return{parts:{W:8,T:"/v1/exports/"+a.L.g}}}},{ga:44,matches:function(a){return Wl(a)&&
hp(a,pn,3)?Vl(a.X()):!1},convert:function(a,b){return MB(a.L.X(),b.C,b.N)}},{ga:43,matches:function(a){return Wl(a)&&!A3(a.X())},convert:function(a,b){var c=a.L,d=b.C,e=b.M,f=b.eb;if(a.config.Xa===14){a=c.X();b={};var g=au(e,a.za());g=Zq(e,{fields:g,anonymous:Oq(Xr(d))});d=new fr;g=dr(g);g.length>0&&(gr(d,new cr("items",g)),gr(d,xu("continuation_token")),gr(d,new cr("search_response_metadata",[xu("incomplete_search"),xu("moonshine_item_ids"),Vpa()])));b["x-goog-fieldmask"]=d.toString();b["content-type"]=
"application/json+protobuf";d=Ez(a);Et(z(a,Qt,63,B()),d,f,b);e=bu(e,a.Fe());f=new rS;d=xz(a);f=I(f,1,d);let h;d=qS(pS(new oS,(h=Q(c,tn,1))==null?void 0:Aq(h,1)),c.rb());c=Ee(d,3,e,Cc);c=I(f,2,c);c={parts:{W:14,T:"/v1/items:list",ja:{},Y:b,method:"POST",ba:a.G(),json:void 0,body:c.ca()},options:{}}}else c=tga(c,d,e,f);return c}},{ga:45,matches:function(a){return Ul(a)?Vl(a):!1},convert:function(a,b){return MB(a.L,b.C,b.N)}},{ga:46,matches:Xl,convert:function(a){return OB(a.L)}},{ga:47,matches:Yl,convert:function(a){return OB(a.L)}},
{ga:81,matches:Zl,convert:function(a){var b=a.L;a={};R(b,2)&&(a.customer="customers/C"+D(b,2));mE(b,6)&&(a.pageSize=Aq(b,6));R(b,7)&&(a.pageToken=D(b,7));R(b,9)&&(a.orderBy=D(b,9));R(b,5)&&(a.languageCode=D(b,5));T(b,1)&&(a.publishedOnly=F(b,1));fE(b)!=null&&(a.useAdminAccess=fE(b));Ys(b,8)&&(a.view=NB.get(ws(b,8)));b={};return{parts:{W:15,T:"/v2/labels",Y:(b["content-type"]="application/json",b),ja:a}}}},{ga:50,matches:$l,convert:function(a,b){var c=a.L;b=b.C;if(a.config.Xa===14){b={"content-type":"application/json+protobuf"};
switch(ws(c,1)){case 1:b["x-goog-fieldmask"]=dQa;break;case 2:b["x-goog-fieldmask"]=eQa;break;case 4:b["x-goog-fieldmask"]=fQa}a=new hS;a=H(a,3,!1);if(U(c,3,B()).length>0){var d=U(c,3,B());rs(a,1,d)}U(c,4,B()).length>0&&(d=U(c,4,B()),rs(a,2,d));c={parts:{W:14,T:"/v1/apps:list",ba:c.G(),ja:{},method:"POST",body:a.ca(),Y:b}}}else{a={};d={};var e="apps",f=void 0;switch(am(c,1)){case 1:a.fields=aQa;break;case 2:a.fields=bQa;break;case 4:a.fields=cQa;break;case 3:f=5,e="apps",a.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",
a.appQueryScope="all_webstore",d.isAnonymous=!0}a.languageCode=Ms(Xr(b));U(c,3,B()).length>0&&(a.appFilterExtensions=U(c,3,B()).join(","));U(c,4,B()).length>0&&(a.appFilterMimeTypes=U(c,4,B()).join(","));c={parts:{W:f,T:e,config:d,ba:c.G(),ja:a},options:{Ra:!0}}}return c}},{ga:52,matches:bm,convert:function(a,b){var c=a.L,d=b.M,e=b.Jc;b=b.C;return a.config.Xa===14?sha(c,d,e,b):tha(c,d,e,b)}},{ga:53,matches:cm,convert:function(a,b){var c=a.L;a=b.eb;var d=b.C;b=c.X();var e={};e.fields=Lp(d)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":
"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken";C(c,2)&&(e.pageToken=C(c,2));Zt(c,1)&&(e.maxResults=Zt(c,1));e.supportsTeamDrives=!0;N(d,14)&&(e.useLegacyDomainPermissionBehavior=!1);c={};Et([],[b.J()],a,c);return{parts:{ba:b.G(),T:"files/"+b.J()+"/permissions",Y:c,ja:e},options:{Ra:!0}}}},{ga:54,matches:dm,convert:function(a,b){a=a.L;var c=b.eb;b=b.C;var d=new uS;var e=D(a,1);d=E(d,1,e);e={};var f=zq(b,Tp,
4);f=N(f,95);b=Lp(b)?f?"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,email_from_account,domain),last_modifying_agent(agent_id))":"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,email_from_account,domain))":f?"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,name,email,photo_url,email_from_account,domain),last_modifying_agent(agent_id,name,photo_url))":
"revisions(id,mime_type,modified_date_millis,pinned,original_item_name,file_size,last_modifying_user(type,id,focus_user_id,is_me,name,email,photo_url,email_from_account,domain))";e["content-type"]="application/json+protobuf";e["x-goog-fieldmask"]=b;Et([],[D(a,1)],c,e);return{parts:{W:14,T:"/v1/revisions:list",ba:a.G(),method:"POST",Y:e,body:d.ca()}}}},{ga:55,matches:Qk(em),convert:function(a,b){var c=a.L,d=b.eb,e=b.M;b=b.C;if(a.config.Xa===14)c=vha(c,b,d,e);else{a={};$k(c,3)&&(a.useDomainAdminAccess=
!0);a.fields=ar(e,{fields:e.nb(),anonymous:Oq(Xr(b)),Pb:Lp(b)});var f;a.fileId=(f=D(c,1))!=null?f:void 0;R(c,4)&&(a.preFlightValidationToken=C(c,4));e={"content-type":"application/json"};Et([],[D(c,1)||"",D(c,2)||""],d,e);d="files/"+(D(c,1)||"")+"/migrateToDrive";f={};ft(f,[C(c,2)||""]);c={parts:{method:"POST",T:d,json:f,Y:e,ja:a},options:{Ra:!0,Be:!0}}}return c}},{ga:56,matches:wP,convert:function(a){var b=a.L;a=a.config;for(var c={},d={},e=q(z(b,WA,2,B())),f=e.next();!f.done;f=e.next())f=f.value,
d[D(f,1)]=f.Ca();e=q(z(b,WA,4,B()));for(f=e.next();!f.done;f=e.next())f=f.value,c[D(f,1)]=f.Ca();$k(b,7)&&(a.hk=!0);$k(b,8)&&(a.isAnonymous=!0);$k(b,9)&&(a.te=!0);return{parts:{W:11,method:D(b,1),T:D(b,3),body:D(b,5)||"",Y:d,ja:c}}}},{ga:57,matches:gm,convert:function(a,b){b=b.C;var c={};c.person_id=a.L.ta(tu);c["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"];c["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"];var d;if((d=XJ(b))==
null?0:N(d,95))c["request_mask.include_container"].push("AGENT_PROFILE"),c["request_mask.include_field.paths"].push("person.agent_info");c["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"];return{parts:{W:13,T:Oq(Xr(b))?"/v2/people/public":"/v2/people",Y:{"content-type":"application/json"},ja:c}}}},{ga:58,matches:function(a){return a instanceof Wm},convert:function(a,b){a=a.L;b=b.C;var c={};a.pageToken&&(c.pageToken=a.pageToken);a.request.Ia()&&(c.pageSize=a.request.Ia());
C(a.request,6)&&(c.customer=C(a.request,6));c.$outputDefaults=!0;c.languageCode=Ms(Xr(b));return{parts:{W:12,T:"/v1/categories/-/published",Y:{"content-type":"application/json"},ja:c}}}},{ga:59,matches:hm,convert:function(a,b){a=a.L;var c={$outputDefaults:!0};c.languageCode=Ms(Xr(b.C));T(a,3)&&(c.includeExtensionCategories=F(a,3));return{parts:{W:12,T:"/v1/"+D(a,1),Y:{"content-type":"application/json"},ja:c}}}},{ga:60,matches:jm,convert:function(a){var b=a.L;if(a.config.Xa===14){a={"content-type":"application/json+protobuf"};
a["x-goog-fieldmask"]=(new Uq("remaining_count","next_change_id")).toString();var c={};let d=Wj(b,2);c.largestChangeId=Number(d);R(b,3)&&(c.sharedDriveId=D(b,3));b={parts:{W:14,T:"/v1/changes:getRemainingCount",ba:b.G(),ja:c,Y:a}}}else a={},c=gq(b,2),a.pageToken=c==null?null:String(c),R(b,3)&&(a.supportsTeamDrives=!0,a.includeItemsFromAllDrives=!0,a.teamDriveId=C(b,3)),b={parts:{T:"changes/getRemainingCount",ba:b.G(),ja:a}};return b}},{ga:63,matches:om,convert:function(a){var b=a.L;if(a.config.Xa===
14){a={"content-type":"application/json+protobuf"};a["x-goog-fieldmask"]=(new Uq("largest_change_id")).toString();let c={};R(b,2)&&(c.sharedDriveId=D(b,2));b={parts:{W:14,T:"/v1/changes:getLargestChangeId",ba:b.G(),ja:c,Y:a}}}else a={},R(b,2)&&(a.supportsAllDrives=!0,a.driveId=C(b,2)),b={parts:{T:"changes/startPageToken",ba:b.G(),ja:a}};return b}},{ga:61,matches:sP,convert:function(a){a=a.L;var b=new WS;var c=a.getId();b=E(b,1,c);c=C(a,8);b=E(b,4,c);c=Oqa[am(a,3)];b=G(b,2,c);c=C(a,7);b=E(b,3,c);var d;
c=(d=a.G())!=null?d:new P;c.yb(1);I(a,2,c);return{parts:{W:14,T:"/v1/reportSpamOrAbuse",ba:c,method:"POST",Y:{"content-type":"application/json+protobuf"},body:b.ca()}}}},{ga:64,matches:pm,convert:function(a,b){var c=a.L;b=b.C;var d,e;a={contextFeature:[{type:"GENERIC_TITLE",stringValue:(d=c.Fa())!=null?d:""},{type:"DRIVE_WORKSPACE_ID",stringValue:(e=D(c,4))!=null?e:""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:F(c,5)}]};a.maxSuggestions=Aq(c,1);d={};e=Yx(b)===9?"WEB_MOBILE":"WEB_DESKTOP";d.applicationType=
kr(Yx(b));d.platformType=e;d.languageCode=Ms(Xr(b));d.timeZone=lB(new mB);d.requestType="LIVE_REQUEST";d.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE";a.clientInfo=d;return{parts:{W:10,T:"/v1/items",ja:{},Y:{"content-type":"application/json"},method:"POST",ba:null,json:a}}}},{ga:65,matches:qm,convert:function(a,b){var c=a.L;b=b.C;a={};a.maxSuggestions=Aq(c,1);c={};var d=Yx(b)===9?"WEB_MOBILE":"WEB_DESKTOP";c.applicationType=kr(Yx(b));c.platformType=d;c.languageCode=Ms(Xr(b));c.timeZone=lB(new mB);c.requestType=
"LIVE_REQUEST";c.scenarioType="DRIVE_WORKSPACES";a.clientInfo=c;return{parts:{W:10,T:"/v1/items",ja:{},Y:{"content-type":"application/json"},method:"POST",ba:null,json:a}}}},{ga:66,matches:$m,convert:function(a,b){var c=a.L;b=b.Jc;if(a.config.Xa===14){a={};let d={};c.ta();a.ids=c.ta(tu);let e=c.za(tu);d["x-goog-fieldmask"]=Wq(b,e).toString();d["content-type"]="application/json+protobuf";c={parts:{W:14,T:"/v1/sharedDrives:get",ba:Vt(c.ih(),502),ja:a,Y:d}}}else c.ta(),a={},a.fields=Xq(b,c.za(tu)).toString(),
c={parts:{T:"teamdrives/"+c.ta()[0],ba:c.G(),ja:a},options:{Ra:!0}};return c}},{ga:67,matches:function(a){return a instanceof an},convert:function(a,b){var c=a.L;b=b.eb;if(a.config.Xa===14){var d={"content-type":"application/json+protobuf"};Et([],U(c.request,1,B()),b,d);b=new TS;a=U(c.request,1,B());b=rs(b,1,a);a=D(c.request,2);b=E(b,2,a);a=F(c.request,3);b=H(b,3,a);c={parts:{W:14,method:"POST",T:"/v1/items:migratetoshareddrivepreflight",body:E(b,4,c.pageToken).ca(),ja:{},Y:d},options:{Be:!0,Ra:!1}}}else{a=
{};$k(c.request,3)&&(a.useDomainAdminAccess=!0);var e={"content-type":"application/json"};Et([],U(c.request,1,B(tu)),b,e);b={};b.sourceIds=U(c.request,1,B());b.destinationFolderId=(d=D(c.request,2))!=null?d:void 0;c.pageToken&&(b.continuationToken=c.pageToken);T(c.request,4)&&(b.darkLaunch=$k(c.request,4));c={parts:{method:"POST",T:"admin/files/migrateToTeamDrivePreFlight",json:b,Y:e,ja:a},options:{Be:!0,Ra:!0}}}return c}},{ga:68,matches:bn,convert:function(a,b){var c=a.L,d=b.Jc;if(a.config.Xa===
14){a={};b=c.X();var e=b.za();e=e===void 0?[]:e;d=new Uq("continuation_token",new Cp("shared_drives",Vq(d,e,14)));a["x-goog-fieldmask"]=d.toString();d=new MS;e=F(b,4);d=H(d,1,e);e=z(b,FJ,7,B());d=Nu(d,2,e);var f;e=new NS;d=I(e,1,d);e=qS(pS(new oS,(f=Q(c,tn,1))==null?void 0:Rl(f,1,1E3)),c.rb());c=I(d,2,e);a["content-type"]="application/json+protobuf";f=Sp(b,P,2);var g;Vt(f,(g=f.g())!=null?g:501);c={parts:{W:14,method:"POST",T:"/v1/sharedDrives:list",ba:f,body:c.ca(),Y:a}}}else{g={};a=c.X();f=a.za();
f=f===void 0?[]:f;f=new Uq(Nk("kind"),Nk("next_page_token"),new Cp("items",Vq(d,f,0)));g.fields=f.toString();g.q=FBa(a);C(c,2)&&(g.pageToken=C(c,2));if(a=(a=Q(c,tn,1))&&Rl(a,1,1E3))g.maxResults=a;c={parts:{T:"teamdrives",ba:c.X().G(),ja:g},options:{Ra:!0}}}return c}},{ga:69,matches:cn,convert:function(a,b){var c=a.L;b=b.Jc;if(a.config.Xa===14){var d={},e={};d.ids=[D(c,1)];e["x-goog-fieldmask"]=(new Uq(new Cp("responses",["status",new Cp("shared_drive",Vq(b,[21,331],14,{ed:!1}))]))).toString();e["content-type"]=
"application/json+protobuf";c=c.ih();var f;Vt(c,(f=c.g())!=null?f:1516);c={parts:{W:14,T:"/v1/sharedDrives:get",ba:c,ja:d,Y:e}}}else f=(d=c.G())!=null?d:new P,Vt(f,(e=f.g())!=null?e:1516),c={parts:{T:"teamdrives/"+D(c,1),ja:{fields:(new (Function.prototype.bind.apply(Uq,[null].concat(r(Vq(b,[21,73,118],0,{ed:!1})))))).toString()},ba:f},options:{Ra:!0}};return c}},{ga:70,matches:Fm,convert:function(a){a=a.L;var b={},c;b.useByDefault=(c=F(a,2))!=null?c:void 0;$k(a,3)&&(b.hasAppData=!1);c={};return{parts:{method:"PUT",
T:"apps/"+a.Jd(),ba:a.G(),json:b,Y:(c["content-type"]="application/json",c),ja:{appId:a.Jd()}},options:{Ra:!0}}}},{ga:71,matches:Gm,convert:function(a,b){var c=a.L;b=b.eb;return a.config.Xa===14?yha(c):wha(c,b)}},{ga:72,matches:Qk(Hm),convert:function(a,b){var c=a.L,d=b.eb,e=b.M,f=b.C,g=b.rh,h=b.sh;if(a.config.Xa===14)var k=Iha(c,d,e,f,h);else{a={};b={};let t="files/"+C(c,1);a.fields=ar(e,{fields:e.nb(),anonymous:Oq(Xr(f)),Pb:Lp(f)});a.modifiedDateBehavior="DRIVE_UI";a.updateViewedDate=!!$k(c,15);
a.fileId=C(c,1);jC(c).length&&(a.addParents=jC(c).join(","));kC(c).length&&(a.removeParents=kC(c).join(","));U(c,31,B()).length&&(a.addWorkspaces=U(c,31,B()).join(","));U(c,32,B()).length&&(a.removeWorkspaces=U(c,32,B()).join(","));T(c,24)&&(a.confirmed=$k(c,24));a.languageCode=Ms(Xr(f));e={};var m={};ka(et(C(c,2)))||(e.title=C(c,2));c.vc()&&(e.description=C(c,3));T(c,4)&&(m.starred=$k(c,4));T(c,5)&&(m.trashed=$k(c,5));ka(et(C(c,6)))||(e.mimeType=C(c,6));typeof Ug(gq(c,7))==="number"&&(e.modifiedDate=
yt(zt(Ug(gq(c,7))||0)));T(c,11)&&(m.restricted=$k(c,11));eh(m)&&(e.labels=m);nE(c,12)&&(e.folderColor=Ug(gq(c,12)));T(c,16)&&(e.subscribed=$k(c,16));T(c,40)&&(e.linkShareMetadata={securityUpdateEnabled:$k(c,40)});if(m=Q(c,is,25)){e.contentRestrictions=[];let w={};T(m,1)&&(w.readOnly=$k(m,1));R(m,2)&&(w.reason=C(m,2));e.contentRestrictions.push(w)}ft(e,U(c,8,B()));b["content-type"]="application/json";m=c.G();a.supportsTeamDrives=!0;g(C(c,1),a);$k(c,36)?a.bypassMultiparentingCheck=!0:N(f,3)&&(a.enforceSingleParent=
!0);g=jC(c).concat(kC(c));g.push(C(c,1));Et(z(c,Qt,38,B(tu)),g,d,b);var p;if((p=zo(f))!=null&&N(p,28)){g=h(hC(c.J()));d=Ws(new ku,pC(c));p=new mu;c=gC(new YB,[iC(c,g)]);c=I(p,2,c);c=qu(d,c);d=db(c.ca());p=d.length;let w;f=(w=(k=Q(f,ru,33))==null?void 0:Aq(k,70))!=null?w:1E4;p>f&&(S(c,2),d=db(c.ca()));b["x-goog-ext-525001598-jspb"]=d}k={parts:{T:t,method:"PUT",json:e,ba:m,Y:b,ja:a},options:{Ra:!0}}}return k}},{ga:73,matches:Im,convert:function(a,b){a=a.L;b=b.eb;var c=new gT;var d=a.Ie();c=E(c,1,d);
d=D(a,2);c=E(c,2,d);T(a,3)&&(d=F(a,3),H(c,3,d));var e;d=(e=a.G())!=null?e:new P;d.yb(1);e={};Et([],[a.Ie()],b,e);e["content-type"]="application/json+protobuf";e["x-goog-fieldmask"]="revision(file_size,id,mime_type,modified_date_millis,original_item_name,pinned,last_modifying_user(name,email,id,focus_user_id,is_me,organization_display_name,photo_url,type))";return{parts:{W:14,T:"/v1/revision:update",ba:d,method:"POST",Y:e,body:c.ca()}}}},{ga:74,matches:Qk(Jm),convert:function(a,b){var c=a.L;b=b.Jc;
a=a.config;if(Qk(v9)(c))c=Uga(c,b);else if(a.Xa===14){a=new iT;var d=c.J();a=E(a,1,d);c.Wa()&&a.setTitle(c.Fa());R(c,3)&&(d=D(c,3),E(a,3,d));hp(c,qK,9)&&(d=Q(c,qK,9),I(a,4,d));T(c,16)&&(d=F(c,16),H(a,8,d));T(c,10)&&(d=F(c,10),H(a,5,d));T(c,12)&&(d=F(c,12),H(a,6,d));T(c,13)&&(d=F(c,13),H(a,7,d));d={};var e=e===void 0?[]:e;b=new Uq(new Cp("shared_drive",Vq(b,e,14)));d["x-goog-fieldmask"]=b.toString();d["content-type"]="application/json+protobuf";c=Sp(c,P,4);var f;Vt(c,(f=c.g())!=null?f:504);c={parts:{W:14,
T:"/v1/sharedDrives:update",method:"POST",ba:c,Y:d,body:a.ca()}}}else{f={};e={};a="teamdrives/"+C(c,1);var g=void 0;if(T(c,15))d="POST",a+="/"+($k(c,15)?"hide":"unhide");else{d="PUT";g={};c.Wa()&&(g.name=C(c,2));if(R(c,3))g.backgroundImageId=C(c,3);else{var h=Tg(gq(c,6));h!=null&&(h=h.toString(16),g.colorRgb="#"+"0".repeat(6-h.length)+h);var k=Q(c,qK,9);if(k!=null){h={};var m=k.getId();m&&(h.id=m);m=ak(k,2,void 0,VD,wc);typeof m==="number"&&(h.xCoordinate=m);m=ak(k,3,void 0,VD,wc);typeof m==="number"&&
(h.yCoordinate=m);if(k=ak(k,4,void 0,VD,wc))h.width=k;g.backgroundImageFile=h}}e["content-type"]="application/json"}f.fields=Xq(b).toString();c=c.G();c={parts:{T:a,method:d,json:g,ba:c,Y:e,ja:f},options:{Ra:!0}}}return c}},{ga:75,matches:Km instanceof Object&&Mm,convert:function(a){var b=a.L;a=new kT;if(hp(b,tF,1)){var c=zq(b,tF,1);Oj(a,1,tF,c)}var d;b=(d=Sp(b,P,2))!=null?d:new P;var e;Vt(b.yb(1),(e=b.g())!=null?e:914);Us(Vs(b));d={};return{parts:{W:14,T:"/v1/userSettings:update",ba:b,method:"POST",
Y:(d["content-type"]="application/json+protobuf",d),body:a.ca()}}}},{ga:76,matches:Nm,convert:function(a){var b=a.L;if(a.config.Xa===14){a=BR();var c=b.J();a=iE(a,2,c);b.Wa()&&a.setTitle(b.Fa());if(Ys(b,3)){c=new KQ;var d=ws(b,3);c=G(c,1,d);I(a,4,c)}c=new mT;a=Oj(c,1,AR,a);b={parts:{W:14,method:"POST",T:"/v1/workspaces:update",ba:b.G(),Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"},ja:{},body:a.ca()},
options:{}}}else{a={};c={};d="workspaces/"+C(b,1);a.fields="kind,id,title,createdDate,modifiedDate,state";var e={};b.Wa()&&(e.title=C(b,2));if(Ys(b,3)){let f=OCa[b.getState()];f&&(e.state=f)}c["content-type"]="application/json";b=b.G();b={parts:{method:"PUT",T:d,json:e,ba:b,Y:c,ja:a},options:{Ra:!0}}}return b}},{ga:77,matches:sl,convert:function(a){a=a.L;var b={},c={};b.alt="protojson";b.fields=oF(a).join(",");c["content-type"]="application/json+protobuf";return{parts:{W:14,T:"/v1/account",ba:a.G(),
Y:c,ja:b}}}},{ga:78,matches:Om,convert:function(a){var b=a.L;if(a.config.Xa===14){a=new cS;var c=b.ta();a=rs(a,1,c);b={parts:{W:14,T:"/v1/workspaces:get",ba:b.G(),method:"POST",body:a.ca(),ja:{},Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"responses(status,workspace(id,title,create_time_millis,update_time_millis,state))"}},options:{}}}else a={},b.ta(),a.fields="kind,id,title,createdDate,modifiedDate,state",b={parts:{T:"workspaces/"+b.ta()[0],ba:b.G(),ja:a},options:{Ra:!0}};return b}},
{ga:79,matches:function(a){return a instanceof en},convert:function(a){var b=a.L;if(a.config.Xa===14){a=new PS;b.pageToken&&iE(a,3,b.pageToken);if(mE(b.request,2)){var c=Aq(b.request,2);ey(a,2,c)}if(Ys(b.request,1)){c=new KQ;var d=ws(b.request,1);c=G(c,1,d);I(a,1,c)}hp(b.request,JP,5)&&(c=Q(b.request,JP,5),I(a,4,c));b={parts:{W:14,T:"/v1/workspaces:list",ba:b.request.G(),method:"POST",body:a.ca(),ja:{},Y:{"content-type":"application/json+protobuf","x-goog-fieldmask":"continuation_token,workspaces(id,title,create_time_millis,update_time_millis,state)"}},
options:{}}}else{a={fields:"kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)"};b.pageToken&&(a.pageToken=b.pageToken);b.request.Ia()&&(a.maxResults=b.request.Ia());c=new pl;if(d=b.request.getState()){let e=[];e.push("state");e.push("=");e.push(iQa[d]);pZ(c,e.join(" "))}a.q=c.toString();(c=Q(b.request,JP,5))&&am(c,1)===1&&(a.orderBy="title");b={parts:{T:"workspaces",ba:b.request.G(),ja:a},options:{Ra:!0}}}return b}},{ga:36,matches:Pl,convert:function(a,b){a=a.L;var c=b.M;b={};
var d={};b.alt="protojson";var e="activity_items_present";if(Rl(a,4)>0){var f=Zq(c,{fields:Nr(a,5,B()).slice(0)}),g=new cr("activity_item",[new cr("access_request_activity",[xu("item_access_request_count"),new cr("access_request",[new cr("requester",wY()),new cr("recipient",wY()),xu("message"),xu("created_date_millis"),xu("role"),xu("justification_message")])]),new cr("awaiting_approval_activity",[new cr("awaiting_approval",[new cr("initiator",wY()),xu("message"),xu("created_date_millis"),xu("justification_message")])]),
new cr("recent_comment_activity",[new cr("recent_comment",[new cr("commenter",wY()),xu("post_id"),xu("type"),xu("comment_link"),xu("discussion_id"),xu("created_date_millis"),xu("justification_message")])]),new cr("recent_share_activity",[new cr("recent_share",[new cr("sharer",wY()),xu("share_date_millis"),xu("justification_message")])])]);f=dr(f);f.length==0||er(g,new cr("item",f));e+=","+g.toString();c=bu(c,Nr(a,9,B()));b.accessRequestOptions={pageSize:Rl(a,4),labelPackages:c};b.awaitingApprovalOptions=
{pageSize:Rl(a,4),labelPackages:c};b.openCommentOptions={pageSize:Rl(a,4),labelPackages:c};hp(a,Xx,7)&&(g=Q(a,Xx,7),b.recentShareOptions={pageSize:Rl(a,4),platformType:bl(g,1),screenDensity:bl(g,4),viewType:bl(g,2),labelPackages:c})}b.fields=e;d["content-type"]="application/json+protobuf";return{parts:{W:14,T:"/v1/listHomeActivity",ba:a.G(),Y:d,ja:b}}}},{ga:37,matches:Ql,convert:function(a,b){a=a.L;var c=b.M;b={};var d={};b.alt="protojson";var e=Zq(c,{fields:Nr(a,5,B()).slice(0)}),f=[].concat(r(oJ(Q(a,
Xx,7)))),g=new fr;for(let k=f,m=0;m<k.length;m++){f=k[m];for(let p=Mpa(f,e),t=0;t<p.length;t++)gr(g,p[t])}b.fields=g.toString();d["content-type"]="application/json+protobuf, kind=fava";e=new mS;c=bu(c,Nr(a,12,B()));c=Ee(e,3,c,Cc);e=q(oJ(Q(a,Xx,7)));for(g=e.next();!g.done;g=e.next()){g=g.value;if(gQa.includes(g)){f=lS(1);var h=Aq(a,10);f=K(f,2,h);Oj(c,2,kS,f)}hQa.includes(g)&&(g=lS(2),f=Aq(a,11),g=K(g,2,f),Oj(c,2,kS,g))}e=new nS;g=Q(a,Xx,7);e=I(e,1,g);c=I(e,3,c);return{parts:{method:"POST",W:14,T:"/v1/listHomeSuggestions",
ba:a.G(),body:c.ca(),Y:d,ja:b}}}},{ga:35,matches:mQ,convert:function(a){a=a.L;var b=new YR;var c=Q(a,kQ,2);b=I(b,1,c);a=Sp(a,P,1);var d;Vt(a,(d=a.g())!=null?d:1518);return{parts:{W:14,body:b.ca(),ba:a,method:"POST",Y:{"x-goog-fieldmask":"activity_summary(day_summaries(date,event_count,event_count_truncated)),pending_rewind(requested_time)","content-type":"application/json+protobuf"},T:"/v1/getRewindStatus"}}}},{ga:34,matches:hQ,convert:function(a){a=a.L;var b=new KS;var c=new JS;var d=Q(a,dk,3);c=
I(c,1,d);d=Q(a,dk,6);c=I(c,2,d);b=I(b,1,c);c=new kQ;d=x(a,2);c=iE(c,1,d);b=I(b,4,c);mE(a,4)&&(c=Rl(a,4),ey(b,3,c));x(a,5)&&(c=x(a,5),iE(b,2,c));a=Sp(a,P,1);var e;Vt(a,(e=a.g())!=null?e:1529);return{parts:{W:14,body:b.ca(),ba:a,method:"POST",Y:{"x-goog-fieldmask":"continuation_token,events(event_id,event_time,mime_type,title,open_url,edit,rename(previous_file_name))","content-type":"application/json+protobuf"},T:"/v1/listRewindActivityDetails"}}}},{ga:62,matches:zQ,convert:function(a){a=a.L;var b=
new fS;var c=Q(a,dk,2);b=I(b,1,c);a=x(a,3);return{parts:{W:14,body:iE(b,2,a).ca(),method:"POST",Y:{"content-type":"application/json+protobuf"},T:"/v1/initiateRewind"}}}},{ga:80,matches:sQ,convert:function(a){a=a.L;var b=new XS;var c=Q(a,dk,2);b=I(b,2,c);R(a,1)&&(a=x(a,1),iE(b,1,a));return{parts:{W:14,body:b.ca(),method:"POST",Y:{"content-type":"application/json+protobuf"},T:"/v1/rewindPreflight"}}}}],z9=function(a,b,c,d,e){g4.call(this,{C:b,M:c,eb:a.eb,N:e,ea:a,Jc:d,rh:function(g,h){f.rh(g,h)},sh:function(g){return f.sh([].concat(r(g)))}});
var f=this;a=q(jQa);for(b=a.next();!b.done;b=a.next())this.j.push(b.value)};V(z9,g4);z9.prototype.h=function(a,b,c){return g4.prototype.h.call(this,a,b,c)};z9.prototype.rh=function(a,b){a=this.g.ea.Ha.g(a);b.expectedParentIds=a?CH(a).join(","):[]};z9.prototype.sh=function(a){if(a.length===0)return[];var b=[];a=this.g.ea.Ha.Lc(a);Object.values(a).forEach(function(c){b.push.apply(b,r(CH(c)))});Ua(b);return b};var kQa=function(a,b,c,d,e,f,g,h,k,m,p,t,w,A,J,Z,ha,Da,Ha,Db,Lb,Wb,De,Eh,od,Fh){this.Pg=HW();this.Ki=new Vya;this.g={};var Ig=new Tya(this.Mc.bind(this),function(){return Eh("w8KrJc")}),Fd=new VPa(c.Ha,od,b),$i=new r9(Ig);d=new sPa(c,g,new p9(e,f,d),h,Promise.resolve(this.Pg.promise),k,A,d,b,Da,od);e=new u9(c,p,t,w,e,A,J,Z,Ha,k);this.h=new jAa(b,Da,ha);m=new z9(c,b,k,m,od);this.jg=new w9(k,b,Da,Ha);ha=new i4(this.h,this.Ki);p=new A2(this.h,m,this.jg,ha,Wb,Da,od);k=new C2(m,this.jg,ha,Wb);Ha=p;Ao(b,
2)&&(a?Ha=new f3(a,b,p,od,Da):Is(od,461518216));a=dda(b);m=new B2(m,this.jg,ha,Wb,a.filter(function(yf){return yf.Fc}),Da);this.g=ada(b,Ha,k,m,Da,od,c.Ha,this.Ki,this.Pg.promise,Wb);c=new XPa(Da,Db);Da=qBa(new pBa(Da,od),a);if(Fh)this.Pg.resolve(Fh);else{Lb=YBa(XBa(UBa(VBa(ZBa(WBa(new TBa(this.g),Da),Lb),Ig,d,e),$i),Fd),c);let yf;if((yf=XJ(b))==null?0:N(yf,21))Lb.g=new L3(Lb.g,De,od);this.Pg.resolve(Lb.build())}};kQa.prototype.Mc=function(){return dh(this.g,function(a){return a.Mc()})};
var GMa=function(a){var b=new Map,c=Date.now();bh(a.g,function(d,e){d=d.wj();d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};var N8=function(a,b){this.Yo="";this.startTime=b||new Date;this.g=a;this.h=sC(a)};N8.prototype.clone=function(){return new N8(this.g,this.startTime)};var lQa=function(){this.g=null;this.h=[]},EMa=function(a){return Hz(a.h,function(b){return b.clone()})};lQa.prototype.Se=function(){return this.g};var A9=function(a,b){var c=this;this.context=a;this.M=b;this.B=null;this.pe=0;this.active=!1;this.H=0;this.D=!1;this.g=this.O=null;this.da={};this.ha=this.V=!1;this.N=a.N;this.A=new py;this.C=a.C;this.F=XJ(this.C)||new Tp;b=xx(this.C);this.K=new OZ(Rl(b,2,37500),Rl(b,3,6E5));this.j=a.cd;this.h=a.fa().Lb;A0(a.Oa,["T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});A0(a.Oa,["T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");c.initialize()});
A0(a.Oa,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.Wg().catch(function(d){ok("LiveDumpUpdater updateAll failed",Zn(d),"warning")})})};A9.prototype.initialize=function(){var a=this;this.V||(this.V=!0,$y(xx(this.context.C))?this.ld():this.context.Gc.promise.then(function(b){a.j.initialize().then(function(){a.B=b;a.Hg(!0)},function(c){c&&a.context.ia("sync.storage.LiveDumpUpdater").Ba("Error initializing dump storage",Zn(c));a.log("Error initializing dump storage");a.ld()})}))};
A9.prototype.Xe=function(){return!!this.B||this.D};var B9=function(a,b){a.da[b]||(a.da[b]=[]);return a.da[b]};l=A9.prototype;l.um=function(a){this.active&&(this.pe+=a,this.pe>Fja(xx(this.C))&&this.update(3).catch(function(b){ok("Failed to update dump on item changes",Zn(b),"warning")}))};l.Hg=function(a){if(this.Xe()&&this.active!==a){var b=this.context;a&&(this.H>0||b.Xf.Mc()||b.gb().g())||((this.active=a)?(this.A.resolve(),this.g||this.Wg().catch(function(){})):(this.A=new py,n.clearTimeout(this.O)))}};
l.pause=function(){this.H++;this.Hg(!1)};l.resume=function(){this.H--;this.Hg(!0)};l.ld=function(){this.D=!0};l.Pl=function(){return this.g?this.g.promise:Promise.resolve()};
l.Wg=function(){var a=this;if(this.g)return this.g.promise;this.g=new py;this.g.promise.then(function(){a.g=null},function(){a.g=null});var b=dq(this.N,106021)||void 0;this.A.promise.then(function(){return R5(a.context.Dc)}).then(function(c){a.j.j.g&&a.ld();var d=!c;return a.D?d:Promise.all([C9(a,3,d,void 0,void 0,b),C9(a,1,d,void 0,!0,b),C9(a,6,d,void 0,!0,b),C9(a,7,d,void 0,!0,b),C9(a,8,d,void 0,!0,b),C9(a,9,d,void 0,!0,b),C9(a,12,d,void 0,!0,b)]).then(function(){return d},function(e){e=new fn("Failed to update dump",
void 0,Zn(e));return Promise.reject(e)})},function(){return Promise.reject(Error("Yd"))}).then(function(c){a.g.resolve(c);b&&(c=$2(fq(b)),H(c,2,!0),v_(b))},function(c){a.g.reject(co(c));b&&(c=$2(fq(b)),H(c,2,!1),v_(b))});return Promise.resolve(this.g.promise)};l.update=function(a,b){return Promise.resolve(mQa(this,a,b))};
var mQa=function(a,b,c){var d=new jk,e=dq(a.N,106021)||void 0;e&&(HAa($2(fq(e)),q_(u_,0,b)),d.then(function(){var f=$2(fq(e));H(f,2,!0);v_(e)},function(){var f=$2(fq(e));H(f,2,!1);v_(e)}));a.A.promise.then(function(){return R5(a.context.Dc)}).then(function(f){a.j.j.g&&a.ld();f=!f;a.D?d.callback():kY(C9(a,b,f,c,void 0,e),d)});return d},C9=function(a,b,c,d,e,f){var g=Ca(B9(a,b));if(g){if(g.encrypt===c&&B9(a,b).length>1)return g.ee.A();var h=new jk;jY(g.ee,function(){kY(a.Ac(b,c,d,e,f),h)})}else h=a.Ac(b,
c,d,e,f);var k={encrypt:c,ee:h};B9(a,b).push(k);jY(h,function(){Oa(B9(a,b),function(m){return k===m})});xpa(h,function(m){a.j.j.g?a.ld():m instanceof fn&&(m=m.j||null,m instanceof Bo&&m.getName()==="InvalidStateError"&&m.message&&m.message.indexOf("The database connection is closing.")>-1&&a.ld());return null});return h};
A9.prototype.Ac=function(a,b,c,d,e){var f=this,g=new jk;this.A.promise.then(function(){if(a===3)kY(nQa(f,c||!1,b,e),g);else{switch(a){case 1:var h=f.context.uf.B();break;case 6:h=QIa(f.context.fa().Sb);break;case 7:f.context.sd.value&&(h=f.context.sd.get().h.yd());break;case 8:f.context.Bd.value&&(h=f.context.Bd.get().h.yd())&&D9(f,h.Ma(tu));break;case 9:var k;let m;if((m=(k=XJ(f.C))==null?void 0:F(k,89))!=null&&m){let p;h=(p=f.context.Bf)==null?void 0:p.yd()}break;case 12:f.context.be.value&&(h=
f.context.be.get().A.yd());break;default:g.La(Error("Zd`"+a));return}h?(k=UJ(wx(xx(f.C))[0]),!k&&b?(f.log("Skipping dump update, encrypted and no key"),g.callback()):kGa(f.j,b?k:null,[h],e).then(function(){return void g.callback()},function(m){g.La(Zn(m))})):d?(f.log("Skipping dump update: "+a),g.callback()):g.La(Error("$d`"+a))}});return g};
var nQa=function(a,b,c,d){N(a.C,10)||(n.clearTimeout(a.O),a.O=n.setTimeout(function(){oQa(a)},a.K.getValue()));if(b&&a.pe===0)return mY();a.pe=0;b=UJ(wx(xx(a.C))[0]);if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),mY();for(var e=[],f=q(pQa(a)),g=f.next();!g.done;g=f.next())g=qQa(a,g.value),g.length&&e.push(kGa(a.j,c?b:null,g,d));var h=new jk;Promise.all(e).then(function(){a.ha&&a.context.Dc.set(S5,!0);h.callback()},function(k){return void h.La(k)});return h},pQa=function(a){var b=
Object.values(Sja).filter(function(c){return typeof c==="number"&&c>0&&!rQa.includes(c)});if(N(a.F,17)){let c,d;((c=a.h.g)==null?0:c.wc)||(d=a.h.h)==null||!d.wc?b.push(2):b.push(5)}else b.push(2);return b},oQa=function(a){NZ(a.K);a.update(3,!0).catch(function(b){ok("Failed to update via timer",Zn(b),"warning")})},qQa=function(a,b){switch(b){case 1:return[sQa(a)];case 2:return b=a.h.g,a=tQa(a,b).yc(2),b&&a.Zb(b.Ye()),[a];case 5:b=a.h.h;a=tQa(a,b).yc(5);if(b){a.Zb(b.Ye());let c=FFa(b);b=rs(a,14,c.Kl);
rs(b,15,c.Jl)}return[a];case 3:return uQa(a);case 4:return vQa(a);default:throw new fn("Unsupported CacheType");}},sQa=function(a){var b={},c=[],d=n5(a.h,!0),e=!0;for(let k=0;k<d.length;k++){let m=d[k];var f=m.Xb(),g=D9(a,zp(f));f=g.length;let p=f>0?g[f-1]:null;$a(g,function(t){b[DA(t)]=t});if(f>0||m.h)g=BK(new zK,m.X()),m.h||(O(g,2,f),I(g,3,p),e=!1),c.push(g)}d=fh(b);a.log("Exporting "+d.length+" initial dump items.");var h;return Vja(FK(DK(EK(Uja((new CK).Jb((h=a.context.Uc())!=null?h:void 0),a.M.nb()),
a.B.gd(null)),E9(d)),c).yc(1).Zb(!e),a.M.fd())},tQa=function(a,b){var c=b?b.Xb():[];c=D9(a,fh(Pca(c)));a.log("Exporting "+c.length+" secondary dump items.");var d=c.length;var e=xx(a.C);e=Rl(e,5,2E4);d>e&&(b&&J4(b,!1),c=[]);c=DK(new CK,E9(c));d=new ox;if((e=a.h.g)&&e.wc)a=e.Xb(),e.g?K(d,5,a.length):K(d,3,a.length);else if((e=a.h.h)&&e.wc){let f,g;((g=(f=zo(a.C))==null?void 0:Rl(f,76))!=null?g:0)>0&&K(d,5,-1)}a=I(c,11,d);b&&a.Zb(b.Ye());return a},uQa=function(a){var b=[],c=a.B;a.h.Te().forEach(function(d){var e=
c.gd(d.teamDriveId);if(e){var f=D9(a,zp(d.Xb())),g="Exporting "+f.length+" TD dump items for: "+d.teamDriveId;N(a.F,18)&&(g+=", type: "+d.Hb());a.log(g);e=EK(DK(new CK,E9(f)),e).yc(3).Zb(d.Ye());N(a.F,18)&&(g=FFa(d),f=rs(e,14,g.Kl),rs(f,15,g.Jl));d=BK(new zK,d.X());FK(e,[d]);b.push(e)}});return b},vQa=function(a){var b={},c=[];a.context.fa().Te().forEach(function(d){d.bc===1&&AGa(d.X())&&(zp(d.Xb()).forEach(function(e){b[DA(e)]=e}),d=Tja(BK(new zK,new pn),d.X()),c.push(d))});return[FK(DK(new CK,E9(Object.values(b))),
c).yc(4).Zb(!1)]},D9=function(a,b){b=aga(b);Lp(a.C)&&(b=RIa(a.context.fa().Sb,b));return b.filter(function(c){return nl(c)!==4})},E9=function(a){return a.map(function(b){return b.clone()})};A9.prototype.log=function(a,b){b=b===void 0?"info":b;this.context.ia("sync.storage.LiveDumpUpdater").log(a,b)};A9.prototype.bi=function(){this.ha=!0};var rQa=[2,5];var wQa=function(){};l=wQa.prototype;l.Hg=function(){};l.pause=function(){};l.resume=function(){};l.ld=function(){};l.update=function(){return Promise.resolve()};l.Pl=function(){return Promise.resolve()};l.Wg=function(){return Promise.resolve(!0)};l.um=function(){};l.bi=function(){};var F9=function(a){a=a===void 0?1:a;oh.call(this);this.connectionState=a;this.j=!1;this.B=this.connectionState===1};V(F9,oh);var O1=function(a){return a.connectionState===1&&!a.j};F9.prototype.h=function(){return this.connectionState===1||this.connectionState===2};F9.prototype.g=function(){return this.connectionState===3};
F9.prototype.update=function(a){if(this.connectionState!==a||this.j&&this.connectionState===1){let c=!0;if(a===2)var b=this.g()?OY.ce:OY.Ui;else a===1?(b=OY.Gd,this.B=!0):a===3&&(this.connectionState===2&&(this.j=!0),c=!1,b=OY.qc);if(b)return b=new uqa(b),this.connectionState=a,c&&(this.j=!1),this.dispatchEvent(b),!0}return!1};
F9.prototype.print=function(){return"ConnectionState:\n  isConnected: "+(O1(this)+"\n  isOnline: ")+(this.h()+"\n  isOffline: ")+(this.g()+"\n  isUnauthenticated: ")+((this.connectionState===2)+"\n  isMaybeUnauthenticated: ")+(this.j+"\n  hasEverBeenConnected: ")+this.B};var G9=function(a,b,c,d,e,f){oh.call(this);var g=this;this.h=a;this.B=b;this.connectionState=c;this.g=d;this.D=new bi(this);this.D.listen(c,[OY.Gd,OY.ce],function(){return void xQa(g)});this.I=e.ia("sync.logging.ClearcutOfflineTransport");f.then(function(){return xQa(g)})};V(G9,oh);G9.prototype.j=function(a){return(a=this.connectionState.g()&&this.B.g?yQa(this.g,a):this.h.j(a))?a:void 0};
var xQa=function(a){return a.B.g?zQa(a.g).then(function(b){b.forEach(function(c,d){a.h.j(c).then(function(){return AQa(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},AQa=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("A");return BQa(a.g,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};G9.prototype.log=function(a){this.I.info(a)};var H9=function(a){this.g=a};H9.prototype.getId=function(){return this.g};var I9=function(a){this.o=u(a)};V(I9,v);var J9=function(a){this.o=u(a)};V(J9,v);var K9=function(a){this.o=u(a)};V(K9,v);var CQa=function(a){this.o=u(a)};V(CQa,v);var L9=function(a){this.o=u(a)};V(L9,v);var M9=function(a){this.o=u(a)};V(M9,v);var DQa=function(a){this.o=u(a)};V(DQa,v);var EQa=function(a){this.o=u(a)};V(EQa,v);var N9=function(a){this.o=u(a)};V(N9,v);var O9=function(a){this.o=u(a)};V(O9,v);var P9=function(){this.A=this.g=null};P9.prototype.initialize=function(a,b){this.g=a;this.A=b;return this};var Q9=function(a,b){b=a.A.h[b.getId()].uj();b.initialize(a.g,a.A);return b},R9=function(a){var b=Q(a.g,N9,5);b==null&&(b=new N9,I(a.g,5,b));return b},h2=function(a,b){var c=Q(a.g,O9,9);c==null&&(c=new O9);var d=c;var e=gq(b.g,10);d=O(d,5,e);b=gq(b.g,12);O(d,2,b);I(a.g,9,c)};
P9.prototype.build=function(){var a=Q(this.g,K9,8);am(a,3);var b=Q(this.g,N9,5);b!=null&&(a=this.g,b=b.clone(),I(a,5,b));return this.g};P9.prototype.isValid=function(){return!0};var S9=function(){P9.call(this);this.j=this.h=null;this.D=!1;this.B=null};V(S9,P9);var FQa=function(a,b){a.j||(a.j=b)},v_=function(a){!a.D&&a.j&&(a.j(),a.D=!0);(0,a.B)()};S9.prototype.ji=function(a){this.B||(this.B=a)};var fq=function(a){if(!a.h){a.h=new Z2;var b=R9(a);I(b,56,a.h)}return a.h};S9.prototype.getState=function(){var a=fq(this);return Sp(a,U2,2)};
var GQa=function(a,b){var c=new Cra;b=G(c,1,b);a=R9(a);I(a,12,b)},t6=function(a){a=fq(a);return Sp(a,F2,3)},D5=function(a){a=fq(a);return Sp(a,G2,16)},R8=function(a){a=fq(a);return Sp(a,WAa,8)},g2=function(a){a=fq(a);return Sp(a,VAa,9)},SBa=function(a){a=fq(a);return Sp(a,vAa,15)},t7=function(a){a=fq(a);return Sp(a,L2,24)},g3=function(a){a=fq(a);return Sp(a,P2,29)},a7=function(a){a=fq(a);return Sp(a,RAa,39)},HQa=new H9("drive_dataservice_builder");var IQa=function(){};IQa.prototype.uj=function(){return new S9};var JQa=function(){};JQa.prototype.getId=function(){return"drive_dataservice_invariants"};var KQa=function(a){this.o=u(a)};V(KQa,v);var LQa=function(){this.g=new KQa},MQa=new JQa;var NQa=function(a){this.o=u(a)};V(NQa,v);var T9=function(a){this.o=u(a)};V(T9,v);T9.prototype.zc=function(a){return I(this,5,a)};var OQa=function(a){this.o=u(a)};V(OQa,v);var PQa=function(a){this.o=u(a)};V(PQa,v);var U9=function(a){this.o=u(a)};V(U9,v);U9.prototype.Ve=function(){return Ys(this,1)};var QQa=function(a){this.o=u(a)};V(QQa,v);var V9=function(a){this.o=u(a)};V(V9,v);var RQa=function(a){this.o=u(a)};V(RQa,v);var SQa=function(a){this.o=u(a)};V(SQa,v);var W9=function(a){this.o=u(a,500)};V(W9,v);var X9=function(a,b){this.userId=a;this.db=null;this.I=b.ia("sync.logging.ImpressionPersister")},yQa=function(a,b){a.I.info("Persisting offline impressions.");return Y9(a,function(c){return c.count().then(function(d){return d<1E3?a.add(c,b):a.handleError(Error("ae"))},function(d){return a.handleError(d)})},Hy.READ_WRITE)};X9.prototype.add=function(a,b){var c=this;return a.add({userId:this.userId,impressionBatch:Xd(b)}).then(null,function(d){c.handleError(d)})};
var zQa=function(a){return new zW(function(b){var c=new Map;Y9(a,function(d){try{var e=new hy(d.g.index("userId"))}catch(f){throw p_(f,"getting index userId");}return YGa(e,a.userId).then(function(f){f=new Map(f.map(function(k){return[k,d.get(k)]}));for(var g=q(f),h=g.next();!h.done;h=g.next()){h=q(h.value);let k=h.next().value;h.next().value.then(function(m){m&&c.set(k,new W9(m.impressionBatch))})}return una([].concat(r(f.values()))).then(function(){return b(c)})})})})},BQa=function(a,b){return Y9(a,
function(c){return c.remove(b)},Hy.READ_WRITE)},Y9=function(a,b,c){c=c===void 0?Hy.READ_ONLY:c;return TQa(a).then(function(d){try{let e=ry(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(e){return a.handleError(e?Zn(e):void 0)}},function(d){return a.handleError(d)})},TQa=function(a){return a.db?DW(a.db):oy("GoogleDriveDsImpressions",2,function(b,c){c.g.objectStoreNames.contains("OfflineImpressions")&&bHa(c,"OfflineImpressions");b=aHa(c,"OfflineImpressions",{autoIncrement:!0});
try{b.g.createIndex("userId","userId",void 0)}catch(d){throw p_(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("be"))}).then(function(b){return a.db=b},function(b){return EW(Zn(b))})};X9.prototype.handleError=function(a){a||(a=Error("ce"));this.I.Zc(a.message,a);return DW()};var Z9=function(a,b){this.h=a;this.callback=b;this.enabled=!1;this.j=function(){return oj()};this.A=this.j()};Z9.prototype.setInterval=function(a){this.h=a;this.g&&this.enabled?(this.stop(),this.start()):this.g&&this.stop()};Z9.prototype.start=function(){var a=this;this.enabled=!0;this.g||(this.g=setTimeout(function(){UQa(a)},this.h),this.A=this.j())};Z9.prototype.stop=function(){this.enabled=!1;this.g&&(clearTimeout(this.g),this.g=void 0)};
var UQa=function(a){if(a.enabled){let b=Math.max(a.j()-a.A,0);b<a.h*.8?a.g=setTimeout(function(){UQa(a)},a.h-b):(a.g&&(clearTimeout(a.g),a.g=void 0),a.callback(),a.enabled&&(a.stop(),a.start()))}else a.g=void 0};var VQa=function(a){this.o=u(a)};V(VQa,v);var WQa=function(a){this.o=u(a)};V(WQa,v);var $9=function(a){this.o=u(a)};V($9,v);$9.prototype.yj=function(){return bl(this,1)};$9.prototype.Ag=function(){return Rl(this,3)};var vC=function(a){this.o=u(a)};V(vC,v);vC.prototype.Ve=function(){return R(this,2)};var a$=function(a){this.o=u(a)};V(a$,v);var Jha=function(a){Nu(wC,1,a)},XQa=Pg(a$);var b$=function(a){this.o=u(a)};V(b$,v);var tC=["platform","platformVersion","architecture","model","uaFullVersion"],wC=new a$,uC=null;var c$=function(a){this.o=u(a)};V(c$,v);var YQa=function(a){return G(a,1,1)};var d$=function(a){this.o=u(a)};V(d$,v);d$.prototype.getValue=function(){return x(this,2)};d$.prototype.setValue=function(a){return E(this,2,a)};d$.prototype.Ca=function(){return D(this,2)};var ZQa=function(a){this.o=u(a,4)};V(ZQa,v);var e$=function(a){this.o=u(a,37)};V(e$,v);e$.prototype.setValue=function(a,b){return XD(this,3,d$,a,b)};var f$=function(a,b){return E(a,8,b)};var g$=function(a){this.o=u(a,19)};V(g$,v);g$.prototype.Ug=function(a){return G(this,2,a)};var i$=function(a,b){this.Sd=b=b===void 0?!1:b;this.j=this.locale=null;this.h=0;this.isFinal=!1;this.g=new g$;Number.isInteger(a)&&this.g.Ug(a);b||(this.locale=document.documentElement.getAttribute("lang"));h$(this,new c$)};i$.prototype.Ug=function(a){this.g.Ug(a);return this};
var h$=function(a,b){I(a.g,1,b);bl(b,1)||YQa(b);a.Sd||(b=j$(a),x(b,5)||E(b,5,a.locale));a.j&&(b=j$(a),Q(b,a$,9)||I(b,9,a.j))},$Qa=function(a,b){a.h=b},aRa=function(a){var b=b===void 0?tC:b;var c=a.Sd?void 0:window;c?Kha(c,b).then(function(d){a.j=XQa(d!=null?d:"[]");d=j$(a);I(d,9,a.j);return!0}).catch(function(){return!1}):Promise.resolve(!1)},j$=function(a){var b=Q(a.g,c$,1);b||(b=new c$,h$(a,b));a=b;b=Q(a,b$,11);b||(b=new b$,I(a,11,b));return b};
i$.prototype.build=function(a,b,c,d,e,f){b=b===void 0?0:b;c=c===void 0?0:c;d=d===void 0?null:d;e=e===void 0?0:e;f=f===void 0?0:f;if(!this.Sd){var g=j$(this);var h=new $9;h=G(h,1,this.h);h=H(h,2,this.isFinal);c=K(h,3,c>0?c:void 0);c=K(c,4,e>0?e:void 0);c=K(c,5,f>0?f:void 0);c=le(c);I(g,10,c)}g=this.g.clone();g=hE(g,4,Date.now().toString());a=Nu(g,3,a.slice());d&&(g=new VQa,d=K(g,13,d),g=new WQa,d=I(g,2,d),g=new ZQa,d=I(g,1,d),d=G(d,2,9),I(a,18,d));b&&O(a,14,b);return a};var k$=function(a){this.o=u(a,8)};V(k$,v);var bRa=Pg(k$);var cRa=function(a){this.o=u(a)};V(cRa,v);var l$=new lF(175237375,k$,cRa);var o$=function(a){Yg.call(this);var b=this;this.D="";this.g=[];this.mb="";this.pageId=null;this.Pa=this.ha=!1;this.Db=this.Ea=-1;this.V=this.experimentIds=null;this.F=this.A=0;this.K=null;this.pa=this.wa=0;this.Ob=1;this.wi=0;this.Sf=a.Sf;this.Lf=a.Lf||function(){};this.j=new i$(a.Sf,a.Sd);this.xc=a.xc||null;this.gf=a.gf||null;this.H=a.vr||null;this.Cd=a.Cd||null;this.tg=a.tg||!1;this.I=null;this.withCredentials=!a.El;this.Sd=a.Sd||!1;this.ab=!this.Sd&&!!window&&!!window.navigator&&window.navigator.sendBeacon!==
void 0;this.qb=typeof URLSearchParams!=="undefined"&&!!(new URL(m$())).searchParams&&!!(new URL(m$())).searchParams.set;var c=YQa(new c$);h$(this.j,c);this.B=new uo(1E4,3E5,.1);a=dRa(this,a.jl);this.h=new Z9(this.B.getValue(),a);this.Ua=new Z9(6E5,a);this.tg||this.Ua.start();this.Sd||(document.addEventListener("visibilitychange",function(){if(document.visibilityState==="hidden"){n$(b);let d;(d=b.K)==null||d.flush()}}),document.addEventListener("pagehide",function(){n$(b);var d;(d=b.K)==null||d.flush()}))};
V(o$,Yg);var dRa=function(a,b){if(!a.qb)return function(){};var c=function(){a.flush()};return b?function(){b().then(c)}:c};o$.prototype.ya=function(){n$(this);this.h.stop();this.Ua.stop();Yg.prototype.ya.call(this)};var eRa=function(a){a.H||(a.H=m$());try{return(new URL(a.H)).toString()}catch(b){return(new URL(a.H,window.location.origin)).toString()}};o$.prototype.Ab=function(a){if(a instanceof e$)this.log(a);else try{var b=f$(new e$,a.ca());this.log(b)}catch(c){p$(this,4,1)}};
var p$=function(a,b,c){a.K&&a.K.zs(b,c)};o$.prototype.log=function(a){p$(this,2,1);if(this.qb){a=a.clone();var b=this.Ob++;a=O(a,21,b);this.D&&E(a,26,this.D);b=a;if(Yc(ak(b,1))==null){var c=Date.now();c=Number.isFinite(c)?c.toString():"0";hE(b,1,c)}nE(b,15)||O(b,15,(new Date).getTimezoneOffset()*60);this.experimentIds&&(c=this.experimentIds.clone(),I(b,16,c));p$(this,1,1);b=this.g.length-1E3+1;b>0&&(this.g.splice(0,b),this.A+=b,p$(this,3,b));this.g.push(a);this.tg||this.h.enabled||this.h.start()}};
o$.prototype.flush=function(a,b){var c=this;if(this.g.length===0)a&&a();else{var d=Date.now();if(this.Db>d&&this.Ea<d)b&&b("throttled");else{this.xc&&(typeof this.xc.yj==="function"?$Qa(this.j,this.xc.yj()):this.j.h=0);var e=this.g.length,f=this.j.build(this.g,this.A,this.F,this.gf,this.wa,this.pa),g=this.Lf();if(g&&this.mb===g)b&&b("stale-auth-token");else if(this.g=[],this.h.enabled&&this.h.stop(),this.A=0,this.ha)a&&a();else{d=f.ca();let h;this.V&&this.V.Fg(d.length)&&(h=fRa(d));let k=gRa(this,
d,g),m=function(w){c.B.reset();c.h.setInterval(c.B.getValue());if(w){var A=null;try{var J=JSON.stringify(JSON.parse(w.replace(")]}'\n","")));A=bRa(J)}catch(Da){}if(A){w=Number(Cq(A,1,jc("-1")));w>0&&(c.Ea=Date.now(),c.Db=c.Ea+w);w=l$.fieldIndex;J=Jd(Kd);var Z;J&&((Z=A.o[J])==null?void 0:Z[w])!=null&&pb(kia,3);a:{Z=l$.fieldIndex;var ha=ha===void 0?!1:ha;if(Jd(LD)&&Jd(Kd)&&void 0===LD){w=A.o;J=w[Kd];if(!J)break a;if(J=J.pk)try{J(w,Z,pia);break a}catch(Da){da(Da)}}ha&&(ha=A.o,(w=Jd(Kd))&&w in ha&&(ha=
ha[w])&&delete ha[Z])}ha=l$.ctor?l$.h(A,l$.ctor,l$.fieldIndex,l$.g):l$.h(A,l$.fieldIndex,null,l$.g);if(ha=ha===null?void 0:ha)ha=Rl(ha,1,-1),ha!==-1&&(c.B=new uo(ha<1?1:ha,3E5,.1),c.h.setInterval(c.B.getValue()))}}a&&a();c.F=0},p=function(w,A){var J=z(f,e$,3,B());var Z=Number(Cq(f,14));NZ(c.B);c.h.setInterval(c.B.getValue());w===401&&g&&(c.mb=g);Z&&(c.A+=Z);A===void 0&&(A=c.Eg(w));A&&(c.g=J.concat(c.g),c.tg||c.h.enabled||c.h.start());p$(c,7,1);b&&b("net-send-failed",w);++c.F},t=function(){c.xc&&c.xc.send(k,
m,p)};h?h.then(function(w){p$(c,5,e);k.Y["Content-Encoding"]="gzip";k.Y["Content-Type"]="application/binary";k.body=w;k.Lo=2;t()},function(){p$(c,6,e);t()}):t()}}}};
var gRa=function(a,b,c){c=c===void 0?null:c;var d=d===void 0?a.withCredentials:d;var e={},f=new URL(eRa(a));c&&(e.Authorization=c);a.Cd&&(e["X-Goog-AuthUser"]=a.Cd,f.searchParams.set("authuser",a.Cd));a.pageId&&(Object.defineProperty(e,"X-Goog-PageId",{value:a.pageId}),f.searchParams.set("pageId",a.pageId));return{url:f.toString(),body:b,Lo:1,Y:e,requestType:"POST",withCredentials:d,wi:a.wi}},n$=function(a){a.ha||(a.j.isFinal=!0,a.Pa&&(a.j.h=3,hRa(a)),a.flush(),a.j.isFinal=!1)},hRa=function(a){iRa(a,
function(b,c){b=new URL(b);b.searchParams.set("format","json");var d=!1;try{d=window.navigator.sendBeacon(b.toString(),c.ca())}catch(e){}d||(a.ab=!1);return d})},iRa=function(a,b){if(a.g.length!==0){var c=new URL(eRa(a));c.searchParams.delete("format");var d=a.Lf();d&&c.searchParams.set("auth",d);c.searchParams.set("authuser",a.Cd||"0");for(d=0;d<10&&a.g.length;++d){let e=a.g.slice(0,32),f=a.j.build(e,a.A,a.F,a.gf,a.wa,a.pa);if(!b(c.toString(),f)){++a.F;break}a.A=0;a.F=0;a.wa=0;a.pa=0;a.g=a.g.slice(e.length)}a.h.enabled&&
a.h.stop()}};o$.prototype.Eg=function(a){return 500<=a&&a<600||a===401||a===0};var m$=function(){return"https://play.google.com/log?format=json&hasfast=true"};var jRa=function(a){var b;this.h=(b=b===void 0?!1:b)?null:a;this.g=b?a:null;this.h&&(a=this.h,a.Pa=a.ab)};jRa.prototype.j=function(a){var b=this.g?this.g.Ab.bind(this.g):this.h.log.bind(this.h),c=this.g?this.g.flush.bind(this.g):this.h.flush.bind(this.h);a=f$(new e$,a.ca());b(a);c()};var kRa=function(a){var b;this.h=(b=b===void 0?!1:b)?null:a;this.g=b?a:null};kRa.prototype.j=function(a){var b=this.g?this.g.Ab.bind(this.g):this.h.log.bind(this.h),c=this.g?this.g.flush.bind(this.g):this.h.flush.bind(this.h);a=f$(new e$,a.ca());b(a);return new zW(function(d){c(d,function(){d()})}.bind(this))};var q$=function(){P9.call(this)};V(q$,P9);q$.prototype.Rd=function(){var a=Q(this.g,OQa,7);a=Yj(a,1);return Sg(a)==1};var lRa=new H9("high_frequency_builder");var mRa=function(){P9.call(this)};V(mRa,P9);var nRa=function(a,b,c){var d=Date.now()*1E3;if(0==b){b=new K9;var e=new J9;e=O(e,1,d);I(b,1,e);G(b,3,1);I(a.g,8,b);O(a.g,12,c);O(a.g,13,c);O(a.g,4,d);O(a.g,3,c)}else 1==b&&(b=new K9,e=new I9,d=O(e,1,d),I(b,2,d),G(b,3,2),I(a.g,8,b),O(a.g,12,c),O(a.g,3,c));return a},r$=new H9("system_builder");var oRa=function(a){$g.call(this,"visibilitychange");this.hidden=a};V(oRa,$g);var DC=new WeakMap,Mha=function(a,b){a=[a];for(let c=b.length-1;c>=0;--c)a.push(typeof b[c],b[c]);return a.join("\v")};yD(HC,oh);l=HC.prototype;l.qp=EC(function(){var a=this.Fg(),b=this.Nh()!="hidden";if(a){var c;b?c=(((yC?"Webkit":zC?"Moz":null)||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});l.Nh=EC(function(){return AC("hidden",this.g.g)});l.yp=EC(function(){return AC("visibilityState",this.g.g)});l.Fg=function(){return!!this.Nh()};l.Jn=function(){var a=this.Fg()?this.g.g[this.yp()]:null;a=new oRa(!!this.g.g[this.Nh()],a);this.dispatchEvent(a)};
l.ya=function(){KT(this.j);HC.Fb.ya.call(this)};var s$=function(a,b){Yg.call(this);this.h=a;this.g=new HC(b);this.Da(this.g);this.j=new bi(this);this.Da(this.j);this.g.Fg()&&this.j.listen(this.g,"visibilitychange",this.A)};V(s$,Yg);s$.prototype.A=function(){if(this.h.Mi()){var a=this.g;a=!!a.g.g[a.Nh()];a=this.h.Xk(a?102001:102E3,0);this.h.Gm(a)}};var t$=function(a,b,c){c=c===void 0?!1:c;Yg.call(this);this.g=a;this.h=b;this.Da(this.h);this.A=c;this.j=null};V(t$,Yg);l=t$.prototype;l.Gm=function(a){var b=this.g;a=pRa(b,a);b.g.add(a);b=this.h;b.g.g.Va()>=3&&b.h.nf()};l.Xk=function(a,b){a=nRa(qRa(this.g,a),b,this.g.B++);b==1&&this.g.D.add(a);return a};l.Li=function(){return this.g.h};l.jp=function(a){var b=this.g,c=Q9(a,r$),d=b.B++;var e=Q(c.g,K9,8);e=Q(e,I9,2);O(e,2,Date.now()*1E3);O(c.g,13,d);b.D.remove(Sg(Cq(a.g,12)))};
l.Kn=function(){for(var a=this.h,b=[],c=q(a.K),d=c.next();!d.done;d=c.next())if(d=d.value,d=d())d=pRa(a.g,d),b.push(d);if(!a.j||a.g.j)b.push(u$(a.g,691).build()),b=rRa(a.g,b),a.D.j(b);a.B();this.g.F=!1;this.j&&(Wg(this.j),this.j=null)};l.Ln=function(){var a=this.g,b=u$(a,716);sRa(a,b);b=b.build();a.g.add(b);a.H=!0;a.F=!0;this.h.initialize();this.h.h.nf();this.A&&(this.j=new s$(this))};l.Mi=function(){var a=this.g;return a.H&&a.F&&!0};var v$=function(a,b,c,d,e){Yg.call(this);this.g=a;this.H=b;this.D=c;this.h=new JW(this.B,3E3,this);this.A=new Set;this.j=d;this.F=e||6E4;this.K=[]};V(v$,Yg);v$.prototype.initialize=function(){xC(this.F,this.h.nf,this.h);xC(36E5,this.V,this)};v$.prototype.B=function(){var a=this;if(this.g.g.Va()!=0&&(!this.j||this.g.j)){var b=zRa(this.g),c=this.H.j(b);c&&(yna(c,function(){return void a.A.delete(c)}),this.A.add(c))}};v$.prototype.V=function(){var a=this.g,b=u$(a,1153).build();a.g.add(b);this.h.nf()};var ARa=function(){};ARa.prototype.uj=function(){return new q$};var BRa=function(){this.h={};this.j={};this.g=null};var w$=function(){this.g=[]};w$.prototype.add=function(a){this.g.push(a)};w$.prototype.Va=function(){return this.g.length};var x$=function(){this.g={}};x$.prototype.add=function(a){var b=Sg(Cq(a.g,12));this.g[b]=a};x$.prototype.remove=function(a){delete this.g[a]};var CRa=function(a,b){this.h=a;this.da=b;this.B=1;this.O=this.A=null;this.D=new x$;this.g=new w$;this.F=this.H=this.j=!1},qRa=function(a,b){a=Q9((new P9).initialize(new PQa,a.da),r$);O(a.g,10,b);return a},pRa=function(a,b){O(b.g,6,a.A);a.j=!0;return b.build()},zRa=function(a){var b=a.g,c=b.g;b.g=[];return rRa(a,c)},rRa=function(a,b){var c=new W9;var d=a.h.h.clone();c=I(c,2,d);d=a.h;(d=d.j?d.j.clone():null)&&I(c,5,d);var e;d=a.h;for(let h=b.length-1;h>=0;h--){var f=Q(b[h],N9,5);if(f&&Q(f,L9,1)){f=
Q(f,L9,1);T(f,12)&&e===void 0&&(e=N(f,12));f=Q(f,CQa,20);if(f!==void 0&&g===void 0){var g=new NQa;let k=$k(f,2);k!==void 0&&H(g,2,k);f=$k(f,1);f!==void 0&&H(g,1,f)}if(e!==void 0&&g!==void 0)break}}d=d.g?d.g.clone():null;if(e!==void 0||g!==void 0)d||(d=new T9),e!==void 0&&H(d,6,e),g!==void 0&&I(d,13,g);(e=d)&&I(c,3,e);a=a.h.B.clone();I(c,4,a);Nu(c,1,b);return c},u$=function(a,b){var c=nRa(qRa(a,b),0,a.B++);{var d=a.D;let h=Object.keys(d.g);if(h.length==0)d=null;else{var e=[];for(let k=0;k<h.length;k++){let m=
Number(h[k]);var f=d.g[m],g=new M9;g=O(g,1,m);f=gq(f.g,10);f=O(g,2,f);e.push(f)}d=e}}b!=716&&(b=a.O,O(c.g,6,a.A),e=new DQa,b=O(e,1,b),d&&Cu(b,2,M9,d),d=R9(c),I(d,3,b));sRa(a,c);return c},sRa=function(a,b){a.A=Ug(gq(b.g,12));b=Q(b.g,K9,8);b=Q(b,J9,1);b=gq(b,1);a.O=Ug(b)};var DRa=function(){};DRa.prototype.uj=function(){return new mRa};var ERa=function(){this.g=this.h=null};ERa.prototype.build=function(){this.g==null&&(this.g=new BRa);var a=new DRa;this.g.h[r$.getId()]=a;a=new ARa;this.g.h[lRa.getId()]=a;a=this.g;var b=this.h;var c=y$(b);if(!hp(c,V9,1)){c=y$(b);var d=new V9;I(c,1,d)}b=y$(b);b=Q(b,V9,1);a.g=b;b=fh(a.j);for(c=0;c<b.length;c++)I(a.g,13,b[c].g);return new CRa(this.h,this.g)};var FRa=function(){this.h=new QQa;this.j=null;this.B=new U9;G(this.B,1,6);this.g=this.A=null},y$=function(a){a.j==null&&(a.j=new SQa);return a.j};var GRa=function(){this.B=this.j=null;this.h=new FRa;this.g=null;this.A=!1;this.D=null},HRa=function(a,b){a.B=b;return a},IRa=function(a,b){a.g=b;return a},JRa=function(a,b){E(a.h.h,1,b);return a},KRa=function(a){G(a.h.h,6,109);return a},LRa=function(){var a=new GRa;a.D=12E4;a.A=!0;return a};GRa.prototype.build=function(){var a=new ERa;a.h=this.h;this.g!=null&&(a.g=this.g);a=a.build();return new t$(a,new v$(a,this.j,this.B,this.A,this.D),!1)};var MRa=function(){this.minSize=1024},fRa=async function(a){var b=new CompressionStream("gzip"),c=(new Response(b.readable)).arrayBuffer();b=b.writable.getWriter();await b.write((new TextEncoder).encode(a));await b.close();return new Uint8Array(await c)};MRa.prototype.Fg=function(a){return a<this.minSize?!1:typeof CompressionStream!=="undefined"};var z$=function(){this.Do=typeof AbortController!=="undefined"};
z$.prototype.send=async function(a,b,c){var d=this.Do?new AbortController:void 0,e=d?setTimeout(function(){d.abort()},a.wi):void 0;try{let f=Object.assign({},{method:a.requestType,headers:Object.assign({},a.Y)},a.body&&{body:a.body},a.withCredentials&&{credentials:"include"},{signal:a.wi&&d?d.signal:null}),g=await fetch(a.url,f);g.status===200?b==null||b(await g.text()):c==null||c(g.status)}catch(f){switch(f==null?void 0:f.name){case "AbortError":c==null||c(408);break;default:c==null||c(400)}}finally{clearTimeout(e)}};
z$.prototype.yj=function(){return 4};var A$=function(a,b){b=b===void 0?"0":b;Yg.call(this);this.Sf=a;this.Cd=b;this.j=!0;this.buildLabel=null;this.h=!1;this.xc=null;this.D="";this.I=this.pageId=this.g=this.gf=null};V(A$,Yg);var NRa=function(a){a.j=!0;return a},ORa=function(a,b){a.g=b};A$.prototype.El=function(){this.A=!0;return this};
A$.prototype.build=function(){this.xc||(this.xc=new z$);var a=new o$({Sf:this.Sf,Lf:this.Lf?this.Lf:Qq,Cd:this.Cd,vr:"https://play.google.com/log?format=json&hasfast=true",Sd:this.h,tg:!1,El:this.A,jl:this.jl,xc:this.xc});this.Da(a);this.j||(a.ha=!0);if(this.buildLabel){var b=this.buildLabel,c=j$(a.j);E(c,7,b)}a.V=new MRa;this.D&&(a.D=this.D);this.gf&&(a.gf=this.gf);this.pageId&&(a.pageId=this.pageId);this.g&&(c=this.g,a.experimentIds||(a.experimentIds=new NQ),b=a.experimentIds,c=[].concat(r(c)),
Ee(b,2,c,oaa));aRa(a.j);this.xc.Ug&&this.xc.Ug(this.Sf);this.xc.gr&&this.xc.gr(a);return a};var PRa=function(a,b){this.g=a;var c=new EQa;Ie(c,1,Ec,b.A,Fc);a=this.g.Li();a.g==null&&(a.g=new T9);I(a.g,10,c);if(c=b.buildLabel){if(a.A==null){a.A=new RQa;var d=y$(a);I(d,2,a.A)}E(a.A,1,c)}this.g.Ln();this.h=b},RRa=function(a,b,c,d,e,f,g,h){h=h===void 0?!1:h;b=NRa(new A$(906,b));c.B&&ORa(b,[Ud(c.B)]);e2(n)&&(b.h=!0);var k=b.build(),m=new kRa(k);b=new Date;k=JRa(KRa(IRa(HRa(LRa(),new jRa(k)),QRa(c))),b.getTime()+"_"+Sh());if(h){a=new G9(m,d,e,new X9(a,f),f,g);k.j=a;d=k.build();O(d.Li().h,2,b.getTime()*
1E3);let p=new PRa(d,c);(new bi).listen(a,"A",function(){v_(B$(p,106008,0))});return p}k.j=m;a=k.build();O(a.Li().h,2,b.getTime()*1E3);return new PRa(a,c)},QRa=function(a){var b=new BRa,c=new LQa;G(c.g,1,a.client);E(c.g,8,a.clientSessionId);G(c.g,3,a.O);G(c.g,4,a.F);H(c.g,5,a.H);H(c.g,6,a.isAnonymous);H(c.g,7,a.da);G(c.g,2,a.environment);b.j[MQa.getId()]=c;b.g&&I(b.g,13,c.g);a=new IQa;b.h[HQa.getId()]=a;return b},B$=function(a,b,c){var d=Q9(a.g.Xk(b,c),HQa);GQa(d,a.h.connectionState.g()?2:1);b=Mra(a.h);
typeof b==="boolean"&&TAa(d.getState(),b);c===1&&FQa(d,function(){return void a.g.jp(d)});d.ji(function(){var e;var f=(e=a.h.j)==null?void 0:e.getSize();e=d.getState();K(e,1,f);var g,h;f=(g=a.h.g)==null?void 0:(h=g.g)==null?void 0:h.getSize();g=d.getState();K(g,2,f);var k,m;g=(k=a.h.g)==null?void 0:(m=k.h)==null?void 0:m.getSize();k=d.getState();K(k,7,g);a.g.Gm(d)});return d};var SRa=function(a,b){this.g=a;this.h=b},TRa=function(a,b,c,d,e,f){var g=F(a,59)!==!1,h=Rq(Xr(a)).toString(),k=Pq(Xr(a));f=new Jra(a,c,f);b=g?RRa(k,h,f,b,c,d,e,N(a,17)):null;b=new SRa(b,f);T(a,59)||Is(b,399124281);return b},oB=function(a,b){a.g&&C$(a)&&(a=B$(a.g,b,0),v_(a))},M3=function(a,b){return a.g&&C$(a)?B$(a.g,b,0):null},Is=function(a,b){if(a.g&&C$(a)){a=B$(a.g,106018,0);var c=SBa(a);c=G(c,1,1);O(c,2,b);v_(a)}},dq=function(a,b,c){return a.g&&C$(a)?(a=B$(a.g,b,1),c&&h2(a,c),a):null},URa=function(a){a.g&&
C$(a)&&(a=a.g,a.g.Mi()&&a.g.Kn())},C$=function(a){return!(!a.g||!a.g.g.Mi())};var VRa=function(a){this.N=a;this.g=new Map};VRa.prototype.create=function(a,b,c){if(c=c===void 0?!1:c){var d=4;d=d===void 0?3:d;let e=this.g.get(a);e&&(r_(fq(e)).setStatus(d),v_(e),this.g.delete(a))}if(d=dq(this.N,106001))Sra(d,b,c),this.g.set(a,d)};var NJa=function(a,b,c){if(b=a=a.g.get(b))b=r_(fq(a)),b=N(b,8);b&&(a=r_(fq(a)),H(a,9,c))};var WRa=function(){this.g=null};WRa.prototype.h=function(a){this.g=a};var XRa=function(a,b){this.M=a;this.C=b;this.fields=this.M.nb().sort();this.anonymous=Oq(Xr(b))},ZRa=function(a,b){var c=!0;c=c===void 0?!1:c;if(b.getId())throw new fn("Use findByIds() for find by id queries.",Tn(3));if(z(b,pz,24,B()).length)throw new fn("Shared with me date is unsupported.",Tn(3));if(!b.Ia()||b.Ia()<=0)throw new fn("A positive limit is required on an ItemQueryRequest.",Tn(3));sz(b);var d=nz(b);if(d=d&&o7(d)){var e=b.za().length?b.za():a.fields;YRa(a,e,d)}if(Vl(b)){if(a.anonymous)throw new fn("User must be authenticated for a Quick Access request.");
if(!lr(Yx(a.C))&&b.Ia()>20)throw new fn("Limit must be in the range [1, 20].");d=Cz(b)===2;e=sz(b).length;if(d&&e!==1||e&&!d)throw new fn("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");d=b.clone();d=S(d,1);d=Fz(d);d=S(d,32);d=S(d,33);d=S(d,45);d=S(d,47);d=S(d,75);d=S(d,48);d=S(d,6);e=new pn;if(!Np(d,e))throw new fn("Some fields specified are not valid for a Quick Access request. Valid: field, request_descriptor, limit, team_drive, corpora, is_quick_access_request and mime_type.");
}if(!c&&!b.za().length)throw new fn("Missing request fields");YRa(a,a.fields.slice(),b.za())},YRa=function(a,b,c){if(!Ax(b,c)){let d=hr(a.M,{fields:c,anonymous:a.anonymous}),e=hr(a.M,{fields:b,anonymous:a.anonymous});a=hr(a.M,{fields:$fa(c,b),anonymous:a.anonymous});throw new fn("Requested field was not previously specified. Needed "+d+", but had "+(e+". Missing: "+a+"."),Tn(3));}};var $Ra=function(){this.g=!0};$Ra.prototype.od=function(){this.g=!1};var aSa=new WC("fJuxOc");var bSa=function(){var a=window;if(!a.location)try{JSON.stringify(a)}catch(c){var b=0;for(let d in a)b++}b=a.location&&a.location.ancestorOrigins;if(b!==void 0)return b&&b.length?b[b.length-1]==a.location.origin:!0;try{return a.top.location.href!==void 0}catch(c){return!1}};var D$=function(a,b,c,d,e){e=e===void 0?"sync.ThinContext":e;oh.call(this);var f=this;this.Oe=a;this.environment=c;this.Mn=new zx(function(){Z_||(Z_=new Y_);return Z_});this.H=[];this.ye=new $Ra;a=d!=null?d:Io();c=a.re;this.S=a.S;this.re=c;this.I=this.S.ia(e);this.ae=new Rqa(this.S);this.C=b.clone();e=new h1(Ns(this.C));nsa(e);Op(e,$0);hua(e,Nr(b,27,B()));iua(e,Nr(b,106,B()));this.M=e.build();this.Jc=Tca(b);this.Ec=new XRa(this.M,this.C);cSa(this);this.we=new py;this.rc=n.setTimeout(function(){f.I.info("Page stable timed out.");
f.we.resolve();oB(f.N,106020)},Sg(Cq(this.C,93,jc(1E4))));this.V=new py;this.Ob=n.setTimeout(function(){f.I.info("Initialize background services timed out.");f.V.resolve();oB(f.N,106043)},Sg(Cq(this.C,102,jc(2E4))));this.B=new WRa;this.connectionState=new F9(Xy(this.C)?3:1);this.N=TRa(this.C,this.B,this.connectionState,this.S,this.we.promise,this.environment);this.Sq=new VRa(this.N);this.mb=new py;this.Ea();dSa(this)};V(D$,oh);
D$.prototype.Xj=function(){this.I.info("Notified of page stable.");n.clearTimeout(this.rc);this.we.resolve()};D$.prototype.Ej=function(){this.I.info("Initialize background processes requested.");n.clearTimeout(this.Ob);this.V.resolve()};var dSa=function(a){var b,c=(b=a.Oe)==null?void 0:E$(b,aSa);c?DT(c,"K",function(){eSa(a)}):e2(n)||fA(n,"pagehide",cca(function(){eSa(a)}))},eSa=function(a){a.od().then(null,function(){});var b,c;((b=a.C)==null?0:(c=XJ(b))==null?0:N(c,21))&&URa(a.N)};
D$.prototype.od=function(){var a=a===void 0?!1:a;oB(this.N,106005);var b,c;((b=this.C)==null?0:(c=XJ(b))==null?0:N(c,21))||URa(this.N);this.ye.od();b=this.H.map(function(d){return d(a)});aaa(this.H);return Promise.all(b).then()};var fSa=function(a,b){a.H.push(b)};D$.prototype.xg=function(){return this.re};D$.prototype.ia=function(a){return this.S.ia(a)};D$.prototype.D=function(){return this.B};D$.prototype.gb=function(){return this.connectionState};
var cSa=function(a){var b=Gq(a.C);if(!nJ(b))throw Error("ee");C(b,57)||(a.log("No root URI provided; using prod default."),E(b,57,"https://clients6.google.com"));if(Uy(xx(a.C))){var c=wx(xx(a.C));if(c.length>0){if(!C(c[0],1)||!C(c[0],2)&&!Xy(a.C)&&!N(a.C,10))throw Error("fe");}else c=xx(a.C),H(c,9,!1),a.log("Disabling IndexedDB support, missing configuration.")}if(!Uy(xx(a.C))&&(Xy(a.C)||N(a.C,10)))throw Error("ge");c=Xr(a.C);var d;if((d=c==null?void 0:Oq(c))!=null&&d)G(b,18,3),b=S(a.C,44),S(b,98);
else if(c==null||!Pq(c))throw Error("he");b=a.C;a=a.Ec;d=q(z(b,pn,44,B()));for(c=d.next();!c.done;c=d.next())ZRa(a,c.value);var e,f;b=q((f=(e=Q(b,vA,98))==null?void 0:z(e,wA,1,B()))!=null?f:[]);for(e=b.next();!e.done;e=b.next())if(e=e.value,wn(e,pn,4,xA))ZRa(a,ck(e,pn,4,xA));else if(wn(e,yA,5,xA)){e=ck(e,yA,5,xA);f=!0;f=f===void 0?!1:f;if(!f){d=e.G();if(!d)throw new fn("Missing request descriptor.",Tn(3));if(!Ys(d,1))throw new fn("Missing request descriptor reason.",Tn(3));}d=f?1:0;if(Rl(e,4)<d)throw new fn("An activity items page size greater than "+
d+" is required.",Tn(3));if(f&&!hp(e,Xx,7))throw new fn("Suggestion client info is required for homepage activity cached query requests.",Tn(3));(e=Q(e,Xx,7))==null?e=void 0:(e=e.clone(),e=S(e,2));if(e&&!Np(e,new Xx))throw new fn("Only view type is allowed to be set in the suggestion client info.",Tn(3));}};D$.prototype.Qe=function(a){this.dispatchEvent(new t0(new fn(void 0,a)))};D$.prototype.Zf=function(a){this.dispatchEvent(new yOa(a))};D$.prototype.log=function(a){this.I.info(a)};
D$.prototype.Ea=function(){Oca(this.I,this.C);this.log("Enabled experiments: "+this.N.h.A);this.log("Item field state:\n"+this.M.Jg())};var F$=function(a,b,c,d,e,f){D$.call(this,a,b,c,d,"sync.Context");var g=this;this.F=this.kg=null;this.wa=!1;this.Ce=this.j=this.rootId=this.ha=null;this.pa=new w4;this.He=new py;this.Gc=new py;this.Nb=new CKa;this.K={};this.Dj=new py;this.Vh=new py;this.Tp=new zx(function(){return new kPa(g)});this.Up=new zx(function(){return new DLa(Promise.resolve(D4(g)),Promise.resolve(g.jd.promise),g.rd.getState(),g.Oa,g.N)});this.Bf=void 0;this.jd=new py;this.di=new py;this.Pa=new py;this.dd=new lQa;this.Ua=
new py;this.g=new bi;this.Da(this.g);this.pb=new u3(this.M,this.Jc,this.C);this.Oa=e?e:new z0(this.S);this.N.h.h=this.Oa;this.lc=new n7(Ms(Xr(b)));var h;this.tb=new m9(!((h=zo(this.C))==null||!N(h,86)),function(){return g.gb().g()});this.Hd=hga(b,this.M,this.S,this.N);this.Dc=gSa(this,this.Hd);this.zb=new NLa(new HLa(this.Dc));this.cd=hSa(this,this.Hd,b);this.ea=new u7(this,this.M);this.lb=iSa(this);this.uf=new E4(this.S,this.Oa,this.lb);this.rd=jSa(this);this.Oi=new ePa(this.C,this.M);this.oc=new D3(this.C,
this.ea.Ha,this.M);this.Ni=new g9(this);this.af=new zx(function(){return new M7(g.jd.promise,D4(g))});this.Db=new AKa(D4(this),this.af);this.sd=new zx(function(){return Xfa(g.C,g.cd,g.rd.getState(),g.jd.promise,D4(g),g.g,g.lb,function(k){g.Jb(k,"account and user settings")},Lp(g.C)?g.ea.Sb:null)});this.Bd=new zx(function(){return xga(g.C,g.cd,g.rd.getState(),g.jd.promise,D4(g),g.ea,g.g,g.lb)});this.be=new zx(function(){return Aga(g.C,g.cd,g.rd.getState(),g.jd.promise,D4(g),g.fa(),g.g,g.lb,g.pa,g.V.promise)});
this.nh=new zx(function(){var k=g.C,m=g.jd.promise,p=D4(g);return new X7(k,m,new V7(p))});this.Fd=new A8(this.jd.promise,D4(this),this.S,this.C);this.Xf=new kQa(a,this.C,this.fa(),this.Qe.bind(this),this.af,this.Db,this.lb,this.zb,this.M,this.Jc,this.Ni,this.uf,this.Fd,this.sd,this.be,this.nh,this.dd,this.S,this.Oi,this.pb,this.oc,this.rd,this.ye,this.ab.bind(this),this.N,f);this.Pa.resolve(this.Xf);this.ai=new zx(function(){return new r8(g)});this.Zh=new zx(function(){return new zOa(Promise.resolve(D4(g)))});
A0(this.Oa,["rVezo"],function(){var k=g.ai.get();s8(k)});!Oq(Q(this.C,VJ,36))&&(a=Q(this.C,gl,12),b=a==null?void 0:a.J())&&(this.Jb(b,"config"),this.ea.A(a));A0(this.Oa,["mrK8ic"],function(){g.Ua.promise.then(function(){d6(g,g.j)})});A0(this.Oa,["BNEDtc"],function(){g.He.resolve()});this.He.promise.finally(function(){LHa(g)});fSa(this,function(){g.lb.ld();return Promise.resolve()})};V(F$,D$);
F$.prototype.Jb=function(a,b){var c=this;b=b===void 0?"":b;this.rootId===null&&(this.log("Setting Root ID"+(b?" from "+b:"")+": "+a),this.rootId=a,this.ea.Jb(a),a.length&&(this.pb.Jb(a),this.tb.Jb(a),this.di.promise.then(function(){c.Dc.Jb(a)}),kSa(this,"jroI5d")))};F$.prototype.Uc=function(){return this.rootId||""};
var jSa=function(a){var b=Gq(a.C);b=N(b,67)?null:new NY("https://ssl.gstatic.com/docs/common/cleardot.gif",void 0,Xy(a.C),void 0,e2(self)?new rqa:void 0);return new k9(a.gb(),b,D4(a),a.S,a.N,Oq(Xr(a.C)))};
F$.prototype.h=function(a){var b=this;return this.Hd?this.Hd.g?Promise.reject(Error("ie`"+iHa(this.Hd))):Promise.resolve(R5(this.Dc)).then(function(c){var d=b.Hd,e=[];e.push(b.lb.Pl());e.push(a?d.zc():mHa(d));if(a===c)return Promise.all(e).then(function(){return!1});a===!1&&(e.push(jHa(d)),(c=b.Uc())&&e.push(b.Dc.Jb(c)));return Promise.all(e).then(function(){return b.Dc.h(a)},function(f){f=co(f);ok(f.message,f,"warning");return!1})}):Promise.reject(Error("je"))};
var hSa=function(a,b,c){var d=null;b&&(d=new C5(b,c,function(e){a.Qe(e)},a.N),d.initialize().then(function(){},function(){}));return d},gSa=function(a,b){var c=new Q5(b||void 0);b?(c.Uc().then(function(d){d?a.Jb(d,"metadata store"):a.di.resolve()},function(){}),R5(c).then(function(d){a.D().h(d)}),Promise.all([b.initialize(),a.we.promise]).then(function(){kga(a.C,c,a.S)},function(){})):a.di.resolve();return c},iSa=function(a){if(!a.cd)return new wQa;var b=new A9(a,a.M);a.g.listen(a.gb(),[].concat(r(Object.values(OY))),
function(){return void b.Hg(O1(a.gb()))});return b};F$.prototype.od=function(){var a=this,b,c;return((b=this.C)==null?0:(c=XJ(b))==null?0:N(c,21))?Promise.resolve(this.jd.promise).then(function(d){mNa(d)}).then(function(){return D$.prototype.od.call(a)}):D$.prototype.od.call(this)};F$.prototype.sk=function(a){this.kg=a;this.Gc.resolve(a)};
var FMa=function(a){return a.Hd?a.Hd.g:null},kSa=function(a,b){a.Oa.g("NSockf")?B0(a.Oa,b):A0(a.Oa,["NSockf"],function(){B0(a.Oa,b)})},d6=function(a,b,c){b<0||((c===void 0?0:c)?a.j?a.j=Math.max(a.j,b):(a.j=b,a.Ua.resolve()):a.F||(a.F=b,a.Dj.resolve(a.F),kSa(a,"T8oKm")))};F$.prototype.fa=function(){return this.ea};
var lNa=function(a,b){a.ha=b;a.jd.resolve(b)},Y4=function(a){if(!a.ha)throw Error("ke");return a.ha},D4=function(a){return a.Pa.promise.then(function(b){return b.Pg.promise})},e6=function(a){a.wa||(a.wa=!0,a.Vh.resolve(),B0(a.Oa,"aU7Ts"))};F$.prototype.ab=function(a){this.dispatchEvent(a)};var WLa=function(a){a.Ce||(a.Ce=new p8(a.jd.promise,D4(a),a.S));return a.Ce};F$.prototype.Od=function(){return this.af.get()};
var LHa=function(a,b){if(!a.Bf){let d=new a8(b),e=new hLa(a.ea.Kc,a.N,d,a.ea,a.ea.Ha,a.C);var c;let f,g=new qLa(a.N,(f=(c=XJ(a.C))==null?void 0:F(c,90))!=null?f:!1,d);c=new WKa(Promise.resolve(D4(a)),a.N,d);let h,k;a.Bf=new aLa(d,e,g,c,(k=(h=XJ(a.C))==null?void 0:F(h,91))!=null?k:!1,b)}};F$.prototype.Ea=function(){};var SC=function(a,b,c,d){Yg.call(this);this.Oe=a;this.g=b;this.environment=c;this.qb=d;this.pa=this.A=this.H=!1;this.F=null;this.Ea=!1;this.K=new py;this.V=new py;this.ha=new Set;this.h=new py;this.B=new Set;this.wa=new py;this.D=new Set;this.Db=Date.now();this.xb=new xNa;this.j=new bi(this);this.Da(this.j)};V(SC,Yg);SC.prototype.sk=function(a){this.h.promise.then(function(b){b.kg||lSa(a,b)}).catch(function(b){ok("Could not setChangeManager in worker",Zn(b),"warning")})};
var OC=function(a,b){if(b.isDisposed())throw Error("le");var c=qMa(a.g,b),d=a.Ua.bind(a,c);C8(b,"8.1",d);I8(b,"8.1",d);C8(b,"8.4",function(f){mSa(a,c,f)});I8(b,"8.5",function(f){nSa(a,c,f)});C8(b,"8.2",function(f){oSa(a,c,f)});C8(b,"8.3",function(f){pSa(a,c,f)});yNa(a.xb,b);b.start();qSa(a,c,b);rSa(a,c,b);var e=[];a.F||(a.F=Promise.all([a.wa.promise,a.V.promise]).then(function(f){return a.initialize(f)}));e.push(a.F);Promise.all(e).then(function(){sSa(a,c,b)},function(f){a.Ea=!0;G$(a,b,"2.2",{err:bo(f,
49).ca()},d)})},tSa=function(a,b,c){var d=c.gb(),e=[].concat(r(Object.values(OY))),f=function(g){G$(a,b,"2.19",{cs:g.connectionState},function(){})};a.j.listen(d,e,f);uT(b,function(){a.j.bg(d,e,f)})};
SC.prototype.Ua=function(a){var b=rMa(this.g,a);if(b&&(iY(this.xb.xb.get("LRM")||null,function(c){mNa(c,a)}),b.dispose(),this.log(Wk("Client %d disconnected (num clients remaining: %d)",a,eh(this.g.channels))),eh(this.g.channels)===0)){let c=function(){e2(n)&&n.setTimeout(function(){n.close()})};this.Ea?c():iY(this.xb.xb.get("IS")||null,function(d){d.od().then(c,c)})}};
var mSa=function(a,b,c){if(!a.B.has(b)){var d=typeof c.dsc==="string"?Jja(c.dsc):c.dsc;a.pa||(a.pa=!0,a.wa.resolve(d.clone()));a.B.add(b);a.h.promise.then(function(e){var f=nJ(Gq(d));e.K[b]=f;e.fa().Cg(z(d,Qt,91,B()));N(d,10)||AA(e,d)})}},oSa=function(a,b,c){if(!a.D.has(b)){a.D.add(b);var d=c.ivd;d&&a.h.promise.then(function(e){e=new T7(e,e.M);e.run(d);e.dispose();(e=a.g.channels[b]||null)&&G$(a,e,"2.16",{},function(){})})}},pSa=function(a,b,c){var d=G4();GEa(d,b);if(c=c.dsp){let e=new Map;for(let f=
0;f<c.length;f++){let g=f,h=c[f];h===void 0||JEa(d,b,g)||(HEa(d,b,g),h?e.set(g,h):h===null&&IEa(d,b,g))}e.size>0&&a.h.promise.then(function(f){uSa(f,b,e);(f=a.g.channels[b]||null)&&G$(a,f,"2.17",{t:[].concat(r(e.keys()))},function(){})})}},uSa=function(a,b,c){var d=new m8(a),e=G4(),f=[];c.forEach(function(g,h){f.push(d.run(g).then(function(){}).finally(function(){IEa(e,b,h)}))});Promise.all(f).then(function(){d.dispose()})};
SC.prototype.Pa=function(){for(var a=[],b=q(QC(this.g)),c=b.next();!c.done;c=b.next()){let d=c.value,e=new py;G$(this,d,"2.12",{},function(){d.dispose();e.resolve()});a.push(e.promise)}return Promise.all(a).then()};
SC.prototype.initialize=function(a){var b=this;a=a[0];var c=this.environment===6,d,e=(d=Q(a,uA,58))==null?void 0:N(d,1);d=c||e?this.qb:void 0;try{G4();let f=new F$(this.Oe,a,this.environment,d,void 0,void 0),g=vSa(f);fSa(f,this.Pa.bind(this));this.j.listen(f,s0,this.ab.bind(this));this.j.listen(f,"celloinitializationstate",function(k){var m=QC(b.g);m=q(m);for(var p=m.next();!p.done;p=m.next())G$(b,p.value,"2.20",{state:k.state},function(){})});this.j.listen(f,"w8KrJc",this.mb.bind(this));UOa(f.rd,
function(){return rSa(b)});this.h.resolve(f);let h=wSa(this,f,new Z8(f,this.g,function(k){return void xSa(b,k)},function(k){return void ySa(b,k)}));g&&h.then(function(){return void(g==null?void 0:v_(g))});return h}catch(f){return Promise.reject(f)}};
var vSa=function(a){a=a.N;var b=dq(a,106E3);if(b){var c=fq(b);c=Sp(c,qAa,31);G(c,1,a.h.D)}return b},wSa=function(a,b,c){Y8(a.xb,c);Y8(a.xb,new X8(b,a.g));Y8(a.xb,new O8(b,a.g,c));Y8(a.xb,new wNa(b,a.g));Y8(a.xb,new U8(b.C,b.oc,b.Xf.Ki,Promise.resolve(D4(b)),b.mb.promise,b.S,b.xg(),b.N,a.g));Y8(a.xb,new W8(D4(b),a.g,b.C));Y8(a.xb,new d9(D4(b),a.g));return Promise.resolve(c.initialize())},sSa=function(a,b,c){var d=eh(a.g.channels);a.log(Wk("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",
b,d,a.g.h,a.g.g));G$(a,c,"2.2",{id:b,clients:d,uptimeSec:Math.floor((Date.now()-a.Db)/1E3),dsp:!KEa(G4(),b),ivd:!a.D.has(b)},function(){});a.h.promise.then(function(e){d>1&&e.Gc.promise.then(function(f){return void zSa(f)});iY(a.xb.xb.get("IS")||null,function(f){f.K.promise.then(function(){G$(a,c,"2.14",{},function(){})})});tSa(a,c,e)})},xSa=function(a,b){b={dt:b.dataType};var c=QC(a.g);c=q(c);for(var d=c.next();!d.done;d=c.next())G$(a,d.value,"2.15",b,function(){})},ySa=function(a,b){var c={oois:b};
QC(a.g).forEach(function(d){G$(a,d,"2.18",c,function(){})})};SC.prototype.ab=function(a){a={p:a.error.na.ca()};var b=QC(this.g);b=q(b);for(var c=b.next();!c.done;c=b.next())G$(this,c.value,"2.10",a,function(){})};SC.prototype.mb=function(){var a=QC(this.g);a=q(a);for(var b=a.next();!b.done;b=a.next())G$(this,b.value,"2.7",{},function(){})};
var qSa=function(a,b,c){a.B.has(b)||G$(a,c,"2.1",{},function(d){mSa(a,b,d)})},rSa=function(a,b,c){if(ic(b)){if(!c)return Promise.reject(Error("me"));if(a.A&&a.ha.has(b))return Promise.resolve()}var d=c||QC(a.g)[0];if(!d)return Promise.reject(Error("ne"));var e=new py;d.send("1.1",void 0,function(f){nSa(a,c?b:void 0,f);e.resolve()});return e.promise},G$=function(a,b,c,d,e){b.isDisposed()?a.log("Channel is already disposed, cannot call service "+c+" with payload "+JSON.stringify(d),"severe"):RC(b,c,
d,e)},nSa=function(a,b,c){bh(c.ac,function(d,e){n[e]=d});ic(b)&&a.ha.add(b);a.A||(c.bl&&!a.H&&(a.H=!0,a.K.resolve(c.bl)),a.A=!0,a.V.resolve())};SC.prototype.log=function(a,b){b=b===void 0?"info":b;this.h.promise.then(function(c){c.ia("sync.cacheproxy.Worker").log(a,b)})};var IC={};yD(KC,Yg);KC.prototype.g=function(a){return ASa(this,a)};
var H$=function(a,b){return(b?"__wrapper_":"__protected_")+BC(a)+"__"},ASa=function(a,b){var c=H$(a,!0);b[c]||((b[c]=BSa(a,b))[H$(a,!1)]=b);return b[c]},BSa=function(a,b){var c=function(){if(a.isDisposed())return b.apply(this,arguments);try{return b.apply(this,arguments)}catch(e){var d=e;if(!(d&&typeof d==="object"&&typeof d.message==="string"&&d.message.indexOf("Error in protected function: ")==0||typeof d==="string"&&d.indexOf("Error in protected function: ")==0))throw a.h(d),new CSa(d);}};c[H$(a,
!1)]=b;return c},I$=function(a,b){var c=n.window||n.globalThis,d=c[b];if(!d)throw Error("oe`"+b);c[b]=function(e,f){typeof e==="string"&&(e=tj(Zha,e));e&&(arguments[0]=e=ASa(a,e));if(d.apply)return d.apply(this,arguments);var g=e;if(arguments.length>2){let h=Array.prototype.slice.call(arguments,2);g=function(){e.apply(this,h)}}return d(g,f)};c[b][H$(a,!1)]=d};
KC.prototype.ya=function(){var a=n.window||n.globalThis;var b=a.setTimeout;b=b[H$(this,!1)]||b;a.setTimeout=b;b=a.setInterval;b=b[H$(this,!1)]||b;a.setInterval=b;KC.Fb.ya.call(this)};var CSa=function(a){aa.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)};yD(CSa,aa);var UC=function(a,b,c){oh.call(this);this.j=b||null;this.h={};this.F=DSa;this.D=a;if(!c){this.g=null;this.g=new KC(nj(this.B,this));I$(this.g,"setTimeout");I$(this.g,"setInterval");a=this.g;b=n.window||n.globalThis;c=["requestAnimationFrame","mozRequestAnimationFrame","webkitAnimationFrame","msRequestAnimationFrame"];for(let d=0;d<c.length;d++){let e=c[d];c[d]in b&&I$(a,e)}a=this.g;sT=!0;b=nj(a.g,a);for(c=0;c<qT.length;c++)qT[c](b);rT.push(a)}};yD(UC,oh);
var ESa=function(a,b){$g.call(this,"N");this.error=a;this.context=b};yD(ESa,$g);var DSa=function(a,b,c,d){if(d instanceof Map){var e={};d=q(d);for(var f=d.next();!f.done;f=d.next()){var g=q(f.value);f=g.next().value;g=g.next().value;e[f]=g}}else e=d;d=new Pi;dU.push(d);d.bf("ready",d.Kd);d.send(a,b,c,e)};
UC.prototype.B=function(a,b){a=a.error||a;b=b?jh(b):{};a instanceof Error&&mh(b,a.__closure__error__context__984382||{});var c=zla(a);if(this.j)try{this.j(c,b)}catch(h){}var d=c.message.substring(0,1900);if(!(a instanceof aa)||a.g){var e=c.fileName,f=c.lineNumber;a=c.stack;try{let h=oba(this.D,"script",e,"error",d,"line",f);if(!hh(this.h)){d=h;var g=Oh(this.h);h=Kh(d,g)}g={};g.trace=a;if(b)for(let m in b)g["context."+m]=b[m];let k=Oh(g);this.F(h,"POST",k,this.H)}catch(h){}}try{this.dispatchEvent(new ESa(c,
b))}catch(h){}};UC.prototype.ya=function(){Wg(this.g);UC.Fb.ya.call(this)};var Sha=function(a){var b={};var c=b.cr===void 0?!0:b.cr;var d=b.br===void 0?!0:b.br;b=b.kr===void 0?1E4:b.kr;this.B=a;this.g=new Map;this.h=[];this.j=!1;this.F=c;this.D=d;this.A=b},nk=function(a,b,c,d){d=d===void 0?"unknown":d;var e={};e.location=hk(location);if(bSa())try{e["top.location"]=hk(top.location)}catch(f){e["top.location"]="[external]"}else e["top.location"]="[external]";for(let f in IC)try{e[f]=IC[f].call()}catch(g){e[f]="[error] "+g.message}c&&(e.message=c);FSa(a,b,e,d)},FSa=function(a,
b,c,d){var e,f=Sn();c["call-stack"]=f;b instanceof Error?e=b:e=b||"";(b=e&&e.reportSeverity||b&&b.reportSeverity)&&(d=b);c.severity||(c.severity=d);for(d=0;d<a.h.length;d++)if(a.h[d](e,c)===!1)return;GSa(a,c);if(a.A>=0){var g;let h=(g=c.message)!=null?g:"",k=HSa(e,c);if(g=a.g.get(k)){g.Ch++;a.F&&g.Ch===1&&ISa(a,e,"Throttling: "+h,c,1);return}let m={Ch:0};a.g.set(k,m);setTimeout(function(){a.g.delete(k);a.D&&m.Ch>0&&ISa(a,e,"Throttled: "+h,c,m.Ch)},a.A)}JSa(a,e,c)},ISa=function(a,b,c,d,e){d.message=
c;d["dropped-instances"]=String(e);JSa(a,b,d)},JSa=function(a,b,c){ik(b);a.B.B(b,c)},HSa=function(a,b){var c=[];if(a){var d=a.message;a=a.stack;d&&c.push("error|:"+J$(d));a&&c.push("trace|:"+J$(a))}d=[];for(let e in b)d.push(J$(e)+"|:"+J$(b[e]));return c.join("|;")+"|."+d.join("|;")},GSa=function(a,b){b.severity==="severe"&&(a.j&&(b.severity="severe_after_initial"),a.j=!0)},J$=function(a){return String(a).replace(/\|/g,function(){return"||"})};var KSa=function(){var a=this;Bj(function(){if(typeof a.onload==="function")a.onload()},100,this)};KSa.prototype.onload=function(){};var K$=function(a,b){l6.call(this,a,b);this.reason=302;this.logName="sync.change.PullChangeProcessor";this.F=null};V(K$,l6);K$.prototype.Pa=function(){LSa(this)};K$.prototype.Ua=function(){MSa(this)};var LSa=function(a){var b=Sg(Aja(Gq(a.context.C)));if(a.B)b=0;else if(b<=0)return;a.F=setTimeout(function(){n6(a).catch(function(){}).finally(function(){MSa(a)&&LSa(a)})},b)},MSa=function(a){return a.F?(clearTimeout(a.F),a.F=null,!0):!1};var L$=function(a,b,c){l6.call(this,a,c);this.rc=b;this.reason=303;this.logName="sync.change.PushChangeProcessor";this.wa=null;this.F=!1;this.V=null;a=Gq(a.C);a=Cq(a,27,jc(3E3));this.Ec=Sg(a)};V(L$,l6);L$.prototype.Pa=function(){var a=this;this.V=this.rc.register(function(){return void M$(a)},function(b){a.log(b)},this.teamDriveId);M$(this)};L$.prototype.Ua=function(){this.F=!1;this.V&&(this.V.unsubscribe(),this.V=null)};
var M$=function(a){a.active&&(a.wa?a.F||(a.F=!0):a.wa=n6(a).then(function(){var b=new py;setTimeout(function(){return void b.resolve()},a.active?a.Ec:0);return b.promise}).then(function(){a.wa=null;var b=a.F;a.F=!1;a.active&&b&&M$(a)}).catch(function(){}))};L$.prototype.ab=function(){return!0};var N$=function(a,b){Yg.call(this);this.config=a;this.client=b};V(N$,Yg);N$.prototype.start=function(){var a=this.client.start();uT(this,function(){return a.stop()})};N$.prototype.register=function(a,b,c){return Ioa(this.client,c?new Foa("team-drive-"+c,!1):new Foa("Drive",!0)).subscribe(function(d){a(d.version&&mM(d.version))},function(d){b(String(d))})};var NSa=function(a,b,c,d){this.apiKey=a;this.g=b;this.mode=c;this.h=d===void 0?1:d};var VC=function(a){Yg.call(this);this.context=null;this.U={};this.g=null;this.h=!1;this.j=-1;this.B=a!==void 0?!a:!0;this.A=new bi(this);this.Da(this.A)};V(VC,Yg);
var lSa=function(a,b){var c;(c=XJ(b.C))!=null&&N(c,55)||a.context||(a.context=b,OSa(a),PSa(a),QSa(a,null),b.Dj.promise.then(function(d){a.j=d;b.sk(a)}).catch(function(d){ok("Could not get initial change id",Zn(d),"warning")}),a.A.listen(b.gb(),OY.Gd,function(){return void zSa(a)}))},OSa=function(a){BOa(a.context.Zh.get()).then(function(b){b=Tg(gq(b,2));typeof b==="number"&&d6(a.getContext(),b,!0)}).catch(function(b){ok("Could not fetch start page token",Zn(b),"warning")})};
VC.prototype.getContext=function(){if(!this.context)throw Error("pe");return this.context};VC.prototype.start=function(){this.U.subscribed.ff.start(this.j)};VC.prototype.sync=function(){return n6(this.U.subscribed.ff)};VC.prototype.gd=function(a){a=a||"subscribed";var b=this.U[a].ff.gd();return b<=0&&a==="subscribed"?this.j:b};
var h6=function(a,b,c){var d=QSa(a,b);d.count++;c?(d.lj=c,r6(a)):d.count===1&&COa(a.context.Zh.get(),b).then(function(e){a.U[b]===d&&(a.U[b].qk=Ug(gq(e,2)),r6(a))}).catch(function(e){e=bo(e,33);!(e=am(e,10))||e!==48&&e!==4||(e=e===4,a.getContext().ia("sync.change.ChangeManager").info(b+" "+(e?"non-existent":"inaccessible")+", failed to fetch largestChangeId and removing from cache"),e=MI(OI(LI(new KI,b),b)),a.getContext().fa().hb([e]))})},r6=function(a){bh(a.U,function(b,c){c!=="subscribed"&&(c=b.ff,
c.gd()||this.context.Oa.g("L6uQWd")&&(b.lj?c.start(b.lj):b.qk&&c.start(b.qk)))},a)},S6=function(a,b,c){var d=a.U[b];d&&(d.count--,d.count===0||c)&&(d.ff.dispose(),ih(a.U,b))};VC.prototype.nk=function(){bh(this.U,function(a){a.ff.nk()})};
var QSa=function(a,b){var c=b||"subscribed";a.U[c]||(b=a.g?new L$(a.getContext(),a.g,b):new K$(a.getContext(),b),a.Da(b),a.U[c]={ff:b,lj:null,qk:null,count:0});return a.U[c]},zSa=function(a){a.g&&!a.h&&(a.h=!0,Hna(3E5).then(function(){return a.h=!1},function(){return a.h=!1}))},PSa=function(a){if(a.B&&!a.g){var b=a.getContext().C,c=e2(n)?2:1;let e=mJ(Gq(b))===0?2:void 0;var d=Gq(b);d=x(d,25);b=new NSa(d,Rq(Xr(b)),c,e);c=new jX("/punctual/"+(b.h===1?"prod":"dev")+"/");c.h=!0;c=new Joa(c);c.g.setApiKey(b.apiKey);
c.g.Bi=!0;b.g&&(c.g.g.g=b.g);c=c.build();b=new N$(b,new Hoa(c.client));b.start();a.g=b;a.Da(a.g)}};var O$=function(a){aa.call(this);this.message="AppContext is disposed, cannot get "+a.join(", ")+"."};V(O$,aa);var RSa=Symbol("re");var Q$=function(a){Yg.call(this);this.A={};this.F={};this.K={};this.j={};this.g={};this.ha={};this.D=a?a.D:new oh;this.Pa=!a;this.h=null;a&&(this.h=a,this.K=a.K,this.j=a.j,this.F=a.F,this.g=a.g);a=P$(this);this!=a&&(a.B?a.B.push(this):a.B=[this])};V(Q$,Yg);var P$=function(a){for(;a.h;)a=a.h;return a};Q$.prototype.get=function(a){var b=E$(this,a);if(b==null)throw Error("ve`"+a);return b};
var E$=function(a,b){for(var c=a;c;c=c.h){if(c.isDisposed())throw new O$([b]);if(c.A[b])return c.A[b][0];if(c.ha[b])break}if(c=a.K[b]){c=c(a);if(c==null)throw Error("se`"+b);if(a.isDisposed())Wg(c);else{a.A[b]=[c,!0];var d=SSa(a,a,b);for(let e=0;e<d.length;e++)d[e].callback(null);delete a.F[b];b instanceof WC&&(a=c.constructor,a.hasOwnProperty("displayName")||(a.displayName=b.toString()),a[RSa]=b)}return c}return null},kBa=function(a){var b=[iAa];if(a.isDisposed())throw new O$(b);var c={},d=[],e=
[],f={};b=q(b);for(var g=b.next();!g.done;g=b.next()){let k=g.value;if(g=E$(a,k)){let m=new jk;c[k]=m;g.Zi&&(Apa(m,g.Zi()),iY(m,tj(function(p){return p},g)));m.callback(g)}else if(a.g[k])g=a.g[k].A(),iY(g,function(){return a.H(k)}),c[k]=g;else{var h=void 0;k instanceof WC?h=Uha([k]).Gq:(g=a.F[k])&&(h=[g]);h&&h.length?(h&&(d.push.apply(d,r(h)),f[k]=Ca(h)),e.push(k)):(g=new jk,c[k]=g,g.La(Error("ve`"+k)))}}if(d.length){h=q(e);for(b=h.next();!b.done;b=h.next())a.D.dispatchEvent(new R$("O",b.value));
d=TSa(USa(a),d);e=q(e);for(h=e.next();!h.done;h=e.next())h=h.value,b=f[h],g=d[b],g=g instanceof jk?g.A():ypa(g),c[h]=g,VSa(a,g,h,b)}return c},VSa=function(a,b,c,d){iY(b,function(){this.D.dispatchEvent(new R$("P",c))},a);xpa(b,nj(a.pa,a,c,d));iY(b,nj(a.V,a,c,d))};
Q$.prototype.V=function(a,b){var c=E$(this,a);if(c==null){if(this.g[a])return c=this.g[a].A(),iY(c,nj(this.V,this,a,b)),c;if(!b)throw Error("te`"+a);throw Error("ue`"+b+"`"+a);}return c.Zi?(b=new jk,Apa(b,c.Zi()),b.callback(c),iY(b,nj(this.H,this,a)),b):this.H(a)};Q$.prototype.H=function(a){this.g[a]&&delete this.g[a];return this.get(a)};Q$.prototype.pa=function(a,b,c){return c instanceof lk?c:new WSa(a,b,c)};
var SSa=function(a,b,c){var d=[],e=a.j[c];e&&(Ea(e,function(f){var g;a:{for(g=f.Oe;g;){if(g==b){g=!0;break a}g=g.h}g=!1}g&&(d.push(f.d),Na(e,f))}),e.length==0&&delete a.j[c]);return d},XSa=function(a,b){a.j&&bh(a.j,function(c,d,e){Ea(c,function(f){f.Oe==b&&Na(c,f)});c.length==0&&delete e[d]})};
Q$.prototype.ya=function(){if(P$(this)==this){var a=this.B;if(a)for(;a.length;)a[0].dispose()}else{a=P$(this).B;for(let b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(let b in this.A)a=this.A[b],a[1]&&a[0].dispose&&a[0].dispose();this.A=null;this.Pa&&this.D.dispose();XSa(this,this);this.j=null;Wg(this.Ea);this.ha=this.Ea=null;Yg.prototype.ya.call(this)};
var USa=function(a){return a.wa?a.wa:a.h?USa(a.h):null},WSa=function(a,b,c){aa.call(this);this.serviceId=a;this.cause=c;this.message='Module "'+b+'" failed to load when requesting the service "'+a+'" [cause: '+c+"]";this.stack=c.stack+"\nWRAPPED BY:\n"+this.stack};yD(WSa,aa);var R$=function(a,b){$g.call(this,a);this.serviceId=b};yD(R$,$g);wD=wD||{};var S$=function(){Yg.call(this)};yD(S$,Yg);S$.prototype.initialize=function(){};var YC=new Uint8Array(123),XC=!1;var YSa=[];bD.prototype.execute=function(a){this.g&&(this.g.call(this.h||null,a),this.g=this.h=null)};bD.prototype.abort=function(){this.h=this.g=null};tT(function(a){bD.prototype.execute=a(bD.prototype.execute)});wD.Zk=bD;yD(dD,Yg);dD.prototype.D=S$;dD.prototype.j=null;dD.prototype.getId=function(){return this.F};var ZSa=function(a,b,c){a.h||(a.h=[]);a.h.push(new wD.Zk(b,c))},$Sa=function(a,b){a.g||(a.g=[]);a.g.push(new wD.Zk(b,void 0))};dD.prototype.dk=function(a){this.g&&(a=T$(this.g,a))&&da(Error("xe`"+a));this.A&&(this.A.length=0);this.h&&(this.h.length=0)};var T$=function(a,b){var c=[];for(let d=0;d<a.length;d++)try{a[d].execute(b)}catch(e){da(e),c.push(e)}a.length=0;return c.length?c:null};
dD.prototype.ya=function(){dD.Fb.ya.call(this);Wg(this.j)};wD.Si=dD;var U$={ERROR:"error",IDLE:"idle",fn:"active",uo:"userIdle",so:"userActive"};l=eD.prototype;l.rk=function(){};l.tp=function(){return this.F};l.tk=function(a){this.F=a};l.isActive=function(){return!1};l.Zl=function(){return!1};l.Hm=function(){};l.Yk=function(){};var V$=function(a,b,c,d,e){c=Error.call(this);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.name="ModuleLoadFailure";this.type=a;this.status=b;this.url=d;this.cause=e;this.message=this.toString()};V(V$,Error);V$.prototype.toString=function(){return aTa(this)+" ("+(this.status!=void 0?this.status:"?")+")"};
var aTa=function(a){switch(a.type){case V$.g.qo:return"Unauthorized";case V$.g.jn:return"Consecutive load failures";case V$.g.TIMEOUT:return"Timed out";case V$.g.co:return"Out of date module id";case V$.g.Jk:return"Init error";default:return"Unknown failure type "+a.type}};wD.Ti=V$;wD.Ti.g={qo:0,jn:1,TIMEOUT:2,co:3,Jk:4};var W$=function(){this.O=this.F=null;this.g=new Map;this.A=new Set;this.H=[];this.da=new Set;this.h=[];this.B=new Set;this.K=new Map;this.j=this.D=new wD.Si([],"");this.V=new jk;this.ha=this.wa=this.pa=!1};yD(W$,eD);var bTa=function(a,b){aa.call(this,"Error loading "+a+": "+b);this.failureType=b};yD(bTa,aa);
W$.prototype.rk=function(a,b){if(!(this instanceof W$))this.rk(a,b);else if(typeof a==="string"){if(a.startsWith("d$")){a=a.substring(2);for(var c=[],d=0,e=a.indexOf("/"),f=0,g=!1,h=0;;){var k=g?a.substring(f):a.substring(f,e);if(k.length===0)d++,f="sy"+d.toString(36),k=[];else{var m=k.indexOf(":");if(m<0)f=k,k=[];else if(m===k.length-1)f=k.substring(0,m),k=Array(c[h-1]);else{f=k.substring(0,m);k=k.substring(m+1).split(",");m=h;for(let p=0;p<k.length;p++)m-=k[p].length===0?1:Number(k[p]),k[p]=c[m]}m=
0;if(f.length===0)m=1;else if(f.charAt(0)==="+"||f.charAt(0)==="-")m=Number(f);m!==0&&(d+=m,f="sy"+d.toString(36))}c.push(f);X$(this,f,k);if(g)break;f=e+1;e=a.indexOf("/",f);e===-1&&(g=!0);h++}this.O=c}else if(a.startsWith("p$"))cTa(this,a);else{a=a.split("/");c=[];for(d=0;d<a.length;d++){h=a[d].split(":");e=h[0];g=[];if(h[1])for(g=h[1].split(","),h=0;h<g.length;h++)g[h]=c[parseInt(g[h],36)];c.push(e);X$(this,e,g)}this.O=c}if(b&&b.length)for(b=q(b),a=b.next();!a.done;a=b.next())this.A.add(a.value);
else this.V.g||this.V.callback();Object.freeze(this.O);dTa(this)}};
var cTa=function(a,b){if(fia){ZC();var c=2;do{var d=b.charCodeAt(c++);d=YC[d]}while(d&32);var e=d=0;do{var f=b.charCodeAt(c++);f=YC[f];d|=(f&31)<<e;e+=5}while(f&32);d=d<0?d+4294967296:d;var g=0;e=0;do f=b.charCodeAt(c++),f=YC[f],g|=(f&31)<<e,e+=5;while(f&32);e=Array(d);f=Array(d);var h=Array(d);g=Array((g<0?g+4294967296:g)+1);var k=0,m=0,p=c;c=b.indexOf("|",c)+1;for(var t=0;t<d;t++){var w=void 0,A=0,J=0;do w=b.charCodeAt(c++),w=YC[w],A|=(w&31)<<J,J+=5;while(w&32);J=A<0?A+4294967296:A;A=J&2;w=J&1;
J>>>=2;w?(k+=J>>>1^-(J&1),J="sy"+k.toString(36)):(w=p,p+=J,J=b.substring(w,p));e[t]=J;A&&(g[m++]=J)}g[m]="";c++;m=d&-2;for(p=0;p<m;p+=2)k=b.charCodeAt(c++),k=YC[k],h[p]=k&7,h[p+1]=k>>>3&7;d&1&&(p=b.charCodeAt(c++),h[m]=YC[p]&7);c++;for(p=0;p<d;p++)if(h[p]===7){m=p;t=k=0;do A=b.charCodeAt(c++),A=YC[A],k|=(A&31)<<t,t+=5;while(A&32);h[m]=k<0?k+4294967296:k}c++;m=0;for(p=0;p<d;p++){k=h[p];t=k===0?YSa:Array(k);f[p]=t;J=m;for(A=0;A<k;A++){var Z=void 0;let ha=w=0;do Z=b.charCodeAt(c++),Z=YC[Z],w|=(Z&31)<<
ha,ha+=5;while(Z&32);J-=w<0?w+4294967296:w;t[A]=g[J]}g[m]===e[p]&&m++}b={ids:e,dependencies:f}}else{ZC();b={bj:b,df:2};aD(b);c=aD(b);h=aD(b)+1;d=Array(c);e=Array(c);f=Array(c);h=Array(h);g=k=0;m=b.bj;p=b.df;t=b.bj.indexOf("|",b.df);b.df=t+1;for(t=0;t<c;t++)J=aD(b),A=J&2,w=J&1,J>>>=2,w?(k+=J>>>1^-(J&1),J="sy"+k.toString(36)):(w=p,p+=J,J=m.substring(w,p)),d[t]=J,A&&(h[g++]=J);h[g]="";b.df++;g=c&-2;m=c&1;for(p=0;p<g;p+=2)k=$C(b),f[p]=k&7,f[p+1]=k>>>3&7;m&&(m=$C(b),f[g]=m&7);b.df++;for(g=0;g<c;g++)f[g]===
7&&(f[g]=aD(b));b.df++;g=0;for(m=0;m<c;m++){p=f[m];k=p===0?YSa:Array(p);e[m]=k;t=g;for(A=0;A<p;A++)t-=aD(b),k[A]=h[t];h[g]===d[m]&&g++}b={ids:d,dependencies:e}}c=b;b=c.ids;c=c.dependencies;for(d=0;d<b.length;d++)X$(a,b[d],c[d]);a.O=b};W$.prototype.tk=function(a){W$.Fb.tk.call(this,a);dTa(this)};W$.prototype.isActive=function(){return this.A.size>0};W$.prototype.Zl=function(){return this.B.size>0};
var Y$=function(a){var b=a.pa,c=a.isActive();c!=b&&(eTa(a,c?U$.fn:U$.IDLE),a.pa=c);b=a.Zl();b!=a.wa&&(eTa(a,b?U$.so:U$.uo),a.wa=b)},X$=function(a,b,c){var d=a.g.get(b);d?d.B=c:a.g.set(b,new wD.Si(c,b))},TSa=function(a,b,c){var d=[],e={};b=q(new Set(b));for(var f=b.next();!f.done;f=b.next()){f=f.value;let g=a.g.get(f);if(!g)throw Error("ze`"+f);let h=new jk;e[f]=h;g.j?h.callback(a.F):(fTa(a,f,g,!!c,h),gTa(a,f)||d.push(f))}d.length>0&&(a.A.size===0?a.Ea(d):(a.h.push(d),Y$(a)));return e},fTa=function(a,
b,c,d,e){ZSa(c,e.callback,e);$Sa(c,function(f){e.La(new bTa(b,f))});gTa(a,b)?d&&(a.B.add(b),Y$(a)):d&&a.B.add(b)};W$.prototype.Ea=function(a){a=hTa(this,a);this.A=new Set(a);this.H=Pa(a);Y$(this);if(a.length!==0){a=q(a);for(var b=a.next();!b.done;b=a.next())this.da.add(b.value);throw Error("Ae");}};var Z$=function(a){this.g=a;this.h=new Set;this.result=[]};
Z$.prototype.Yg=function(a){if(!this.h.has(a)&&(this.h.add(a),!this.g.da.has(a))){var b=this.g.g.get(a);if(b&&!b.j){b=b.B;for(let c=0;c<b.length;c++)this.Yg(b[c]);this.result.push(a)}}};
var hTa=function(a,b){b=b.filter(function(e){return a.g.get(e).j?(n.setTimeout(function(){return Error("Ce`"+e)},0),!1):!0});if(CD){var c=new Z$(a);for(var d=0;d<b.length;d++)c.Yg(b[d]);c=c.result}else{c=[];for(d=0;d<b.length;d++)c=c.concat(iTa(a,b[d]));Ua(c)}return c.length>1?(b=c.shift(),a.h=c.map(function(e){return[e]}).concat(a.h),[b]):c},iTa=function(a,b){if(CD)return a=new Z$(a),a.Yg(b),a.result;var c=[];a.da.has(b)||c.push(b);b=[b];for(let d=0;d<b.length;d++){let e=a.g.get(b[d]).B;for(let f=
e.length-1;f>=0;f--){let g=e[f];a.g.get(g).j||a.da.has(g)||(c.push(g),b.push(g))}}c.reverse();Ua(c);return c},dTa=function(a){if(a.j==a.D){a.j=null;a:{var b=a.D;var c=nj(a.tp,a),d=new b.D;d.initialize(c());b.j=d;if(b.A&&(d=T$(b.A,c()))){b=d;break a}if(b.h&&(c=T$(b.h,c()))){b=c;break a}b.g&&(b.g.length=0);b=null}b&&b.length&&jTa(a,new wD.Ti(wD.Ti.g.Jk,void 0,void 0,void 0,b[0]));Y$(a)}},gTa=function(a,b){if(a.A.has(b))return!0;for(let c=0;c<a.h.length;c++)if(Ja(a.h[c],b))return!0;return!1};
W$.prototype.load=function(a,b){return TSa(this,[a],b)[a]};W$.prototype.Hm=function(a){if(!this.j){let b=new wD.Si([],"synthetic_module_overhead");this.g.set("synthetic_module_overhead",b);this.j=b}ZSa(this.j,a)};W$.prototype.Yk=function(a){if(this.j&&this.j.getId()!=="synthetic_module_overhead"){var b=this.j;if(b.D===S$)b.D=a;else throw Error("we");}};
var jTa=function(a,b){var c=a.H;a.A.clear();var d=[];for(var e=0;e<a.h.length;e++){var f=a.h[e].filter(function(g){var h=iTa(this,g);return ED(c,function(k){return Ja(h,k)})},a);Ra(d,f)}for(e=0;e<c.length;e++)La(d,c[e]);for(e=0;e<d.length;e++){for(f=0;f<a.h.length;f++)Na(a.h[f],d[e]);a.B.delete(d[e])}if(e=a.K.get(U$.ERROR))for(f=0;f<e.length;f++){let g=e[f];for(let h=0;h<d.length;h++)g(U$.ERROR,d[h],b)}for(d=0;d<c.length;d++)(e=a.g.get(c[d]))&&e.dk(b);a.H.length=0;Y$(a)},eTa=function(a,b){a=a.K.get(b);
for(let c=0;a&&c<a.length;c++)a[c](b)};W$.prototype.dispose=function(){Xg(Array.from(this.g.values()),this.D);this.g.clear();this.A.clear();this.H=[];this.B.clear();this.h=[];this.K.clear();this.ha=!0};W$.prototype.isDisposed=function(){return this.ha};Ek=function(){return new W$};var $$=function(){Yg.call(this)};V($$,S$);$$.prototype.initialize=function(){var a=new Q$;Gk().tk(a)};Gk().Yk($$);Gk().Hm(function(){if(n.WorkerGlobalScope&&self instanceof n.WorkerGlobalScope)if(n.window!==self&&(n.window=self),n.document||(n.document={location:self.location}),n.Image=KSa,pza(n)){let a=LC();MC(a);NC(a);let b=new gA(n);OC(a,new PC(b,!0))}else if(qza(n))Qha();else throw Error("qe");else pMa()});
var _ModuleManager_initialize=function(a,b){if(!Ck){if(!Ek)return;Fk()}Ck.rk(a,b)};
_ModuleManager_initialize('core',[]);
}catch(e){_DumpException(e)}
// Google Inc.
