this._D=this._D||{};(function(_){var window=this;
try{
_.q("syrq");

_.V("e","",1,function(){return(0,_.H)('<path d="M17.705 10.1401L14.3 4H9.70001L3.60001 15L5.70001 19H13.8027C14.2671 19.8028 14.9121 20.488 15.6822 21H5.70001C5.00001 21 4.30001 20.6 3.90001 19.9L1.80001 15.9C1.50001 15.3 1.50001 14.6 1.80001 14L8.00001 3C8.30001 2.4 9.00001 2 9.70001 2H14.3C15 2 15.7 2.4 16.1 3L20.0307 10.0882C19.6959 10.0302 19.3515 10 19 10C18.5554 10 18.122 10.0484 17.705 10.1401Z"></path><path d="M15.2225 11.3382L12.9 7.4H11.1L6.60001 15.2L7.30001 16.5H13.0205C13.0069 16.3351 13 16.1684 13 16C13 15.4821 13.0656 14.9794 13.189 14.5H9.30001L12 9.7L13.83 12.9533C14.1951 12.3351 14.6678 11.7881 15.2225 11.3382Z"></path><path d="M20 20V17H23V15H20V12H18V15H15V17H18V20H20Z"></path>')});
_.V("b","computerWhite",1,function(a,b){a=a||{};var c=a.size;return(0,_.H)(_.wn("f","",!1)(_.qn({fillColor:"#ffffff",hb:!0,size:c},a),b))});_.V("f","",1,function(a){var b=a.fillColor,c=a.size;c=null!=c?c:"24px";a='<svg class="'+(a.hb?_.G("a-s-fa-Ha-pa"):"")+'" width="'+_.G(c)+'" height="'+_.G(c)+'" viewBox="0 0 24 24" fill="'+_.G(b)+'"><path d="M20 18c1.1 0 1.99-.9 1.99-2L22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2H0v2h24v-2h-4zM4 6h16v10H4V6z"></path></svg>';return(0,_.H)(a)});
_.V("b","myDriveWhite",1,function(a,b){a=a||{};return(0,_.H)(_.Wqa({color:"#FFFFFF",hb:a.hb,size:a.size},b))});_.V("g","",1,function(a,b){var c=a.color,d=a.rn;return(0,_.H)('<svg class="'+(a.hb?_.G("a-s-fa-Ha-pa"):"")+'" width="'+_.G(d)+'" height="'+_.G(d)+'" viewBox="0 0 24 24" fill="'+_.G(c)+'" focusable="false">'+_.wn("h","",!1)(null,b)+"</svg>")});_.V("h","",1,function(){return(0,_.H)('<path d="M19 2H5C3.9 2 3 2.9 3 4V20C3 21.1 3.9 22 5 22H19C20.1 22 21 21.1 21 20V4C21 2.9 20.1 2 19 2ZM19 20H5V19H19V20ZM19 17H5V4H19V17Z"></path><path d="M13.1215 6H10.8785C10.5514 6 10.271 6.18692 10.0841 6.46729L7.14019 11.6075C7 11.8878 7 12.215 7.14019 12.4953L8.26168 14.4579C8.40187 14.7383 8.72897 14.9252 9.05608 14.9252H15.0374C15.3645 14.9252 15.6449 14.7383 15.8318 14.4579L16.9533 12.4953C17.0935 12.215 17.0935 11.8878 16.9533 11.6075L13.9159 6.46729C13.7757 6.18692 13.4486 6 13.1215 6ZM10.1776 12.0748L12.0467 8.8972L13.8692 12.0748H10.1776Z"></path>')});
_.V("b","teamDriveWhite",1,function(a){a=a||{};return(0,_.H)(_.Ln({color:"#fff",hb:a.hb,size:a.size}))});_.V("b","driveLargeGrey",1,function(){return(0,_.H)('<svg width="48px" height="48px" viewBox="0 0 24 24" enable-background="new 0 0 24 24" fill="#7d7d7d"><rect fill="none" width="48" height="48"/><path d="M14.3 4L20.4 15L18.3 19H5.7L3.6 15L9.7 4H14.3ZM14.3 2H9.7C9 2 8.3 2.4 8 3L1.8 14C1.5 14.6 1.5 15.3 1.8 15.9L3.9 19.9C4.3 20.6 5 21 5.7 21H18.3C19 21 19.7 20.6 20.1 19.9L22.2 15.9C22.5 15.3 22.5 14.6 22.2 14L16.1 3C15.7 2.4 15 2 14.3 2Z" fill="#5F6368"/><path d="M11.1 7.4L6.6 15.2L7.3 16.5H16.8L17.5 15.2L12.9 7.4H11.1ZM9.3 14.5L12 9.7L14.7 14.5H9.3Z" fill="#5F6368"/></svg>')});

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("nQy7te");


_.t();

}catch(e){_._DumpException(e)}
try{
_.q("JMlBJd");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("byfTOb");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("LEikZe");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sHns9b");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("rJmJrc");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("VLKYIb");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("vXcQ6e");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("n7wSQ");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("h8Xfyd");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("em2");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy13k");
_.IFc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,7,24,25,159,154,158,155,55,4,83,19,2,6,27];_.JFc=[90,59,75];_.KFc=_.sa(_.IFc,_.JFc);

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy13m");

_.IFc.push(210);_.IFc.push(210);_.KFc.push(210);

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("em14");


_.t();

}catch(e){_._DumpException(e)}
try{
var Dmb,Fmb;Dmb=[4,5,6,7];_.Emb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Emb,_.K);_.Emb.prototype.St=function(){return _.y(this,2)};_.Emb.prototype.hIa=function(){return _.y(this,3)};Fmb=[5];_.Gmb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Gmb,_.K);_.Hmb=function(a){_.T(this,a,0,-1,Fmb,null)};_.O(_.Hmb,_.K);_.g=_.Hmb.prototype;_.g.jc="dzR11e";_.g.uD=function(){return _.y(this,1)};_.g.NL=function(){return _.y(this,3)};_.g.OM=function(){return _.Xk(this,_.Emb,5)};
_.g.Bn=function(){return _.y(this,6)};_.g.Ov=function(){return _.y(this,7)};_.g.Dy=function(){return _.y(this,10)};_.zD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.zD,_.K);_.zD.prototype.jc="JmcaR";_.zD.prototype.Ib=function(){return _.y(this,1)};_.zD.prototype.Fc=function(a){return _.x(this,1,a)};_.zD.prototype.NW=function(){return _.y(this,2)};_.Imb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.Imb,_.K);_.Imb.prototype.jc="dvhrqe";_.Imb.prototype.V=function(){return _.E(this,1)};
_.Jmb=function(a){_.T(this,a,0,-1,Dmb,null)};_.O(_.Jmb,_.K);_.Jmb.prototype.V=function(){return _.B(this,_.Hmb,1)};_.Jmb.prototype.GD=function(){return _.B(this,_.zD,8)};_.Jmb.prototype.W=function(){return _.B(this,_.Imb,9)};_.q("synx");
_.AD=function(a){_.T(this,a,0,-1,Kmb,null)};_.O(_.AD,_.K);var Kmb=[2];_.AD.prototype.getUser=function(){return _.B(this,_.Kl,1)};_.AD.prototype.getMetadata=function(){return _.B(this,_.Jmb,3)};_.AD.prototype.bp=function(){return _.Ck(this,3)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.ED=function(a){return a.H.ha?a.H.Xj(_.YBa):!1};_.q("syny");

_.t();

}catch(e){_._DumpException(e)}
try{
_.RC=function(a){if(Array.isArray(a))return a.map(_.RC).join("");if(_.y(a,2)){if(!a.getId())throw Error("Ed");return a.getId()+"/"+_.y(a,2)+","}return""};_.SC=function(a,b){return _.zh(a,b)};_.q("syof");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syok");
/*

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

_.t();

}catch(e){_._DumpException(e)}
try{
var rnb,snb;_.pnb=function(a){return a instanceof _.Cb?a:a instanceof _.Db?a.Ug:null};_.qnb=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice.call(arguments,1);e.length&&1<c.length;)d+=c.shift()+e.shift();return d+c.join("%s")};rnb={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
snb=function(a){var b=_.kfa(rnb,function(c){return a==c});if(void 0===b)throw Error("eb`"+a);return b};_.tnb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=rnb[a.name]):(this.code=a=a.code,this.name=snb(a));_.aa.call(this,_.qnb("%s %s",this.name,b))};_.O(_.tnb,_.aa);var unb=function(a,b){_.Si.call(this,a.type,b)};_.O(unb,_.Si);_.q("syol");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.vnb=function(){_.R.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.N)(this.AV,this);this.H.onprogress=(0,_.N)(this.AV,this);this.H.onload=(0,_.N)(this.AV,this);this.H.onabort=(0,_.N)(this.AV,this);this.H.onerror=(0,_.N)(this.AV,this);this.H.onloadend=(0,_.N)(this.AV,this)};_.O(_.vnb,_.R);_.g=_.vnb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.tnb(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.tnb(this.H.error,"reading file")};_.g.AV=function(a){this.dispatchEvent(new unb(a,this))};_.g.Ya=function(){_.vnb.ub.Ya.call(this);delete this.H};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sys8");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sysa");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sysq");

_.t();

}catch(e){_._DumpException(e)}
try{
_.qlb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.qlb,_.K);_.qlb.prototype.UB=function(){return _.B(this,_.mpa,1)};_.rlb=function(a){var b=new _.qlb;return _.J(b,1,a)};_.pD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.pD,_.K);_.g=_.pD.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.y(this,5)};
_.g.Ud=function(a){return _.x(this,5,a)};_.g.Iq=function(){return _.Ck(this,5)};_.qD=function(a){_.T(this,a,0,-1,null,null)};_.O(_.qD,_.K);_.qD.prototype.V=function(){return _.y(this,1)};_.qD.prototype.Ib=function(){return _.y(this,2)};_.qD.prototype.Fc=function(a){return _.x(this,2,a)};_.qD.prototype.W=function(){return _.y(this,3)};_.q("sysp");
_.tlb=function(a){_.T(this,a,0,-1,slb,null)};_.O(_.tlb,_.K);var slb=[1];_.tlb.prototype.V=function(){return _.md(this,1)};
_.vlb=function(a){_.T(this,a,0,-1,ulb,null)};_.O(_.vlb,_.K);var ulb=[1];_.vlb.prototype.V=function(){return _.Xk(this,_.qD,1)};
_.xlb=function(a){_.T(this,a,0,-1,wlb,null)};_.O(_.xlb,_.K);var wlb=[1];_.xlb.prototype.V=function(){return _.Xk(this,_.vlb,1)};_.xlb.prototype.addResult=function(a,b){return _.gl(this,1,a,_.vlb,b)};
_.ylb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.ylb,_.K);_.ylb.prototype.W=function(){return _.B(this,_.xlb,1)};_.ylb.prototype.V=function(){return _.B(this,_.tlb,2)};
_.rD=function(a){_.T(this,a,0,-1,zlb,null)};_.O(_.rD,_.K);var zlb=[2,14,18];_.g=_.rD.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.Pd=function(){return _.Xk(this,_.Vl,2)};_.g.vy=function(a){return _.$k(this,2,a)};_.g.Eg=function(a,b){return _.gl(this,2,a,_.Vl,b)};_.g.Vj=function(){return _.y(this,3)};_.g.Kna=function(){return _.C(this,5,!0)};_.g.h1=function(){return _.B(this,_.ylb,7)};_.g.Lna=function(){return _.E(this,8)};
_.g.oI=function(){return _.B(this,_.qlb,10)};_.g.ML=function(a){return _.J(this,10,a)};_.g.getSessionId=function(){return _.B(this,_.$m,11)};_.g.setSessionId=function(a){return _.J(this,11,a)};_.g.i1=function(){return _.y(this,17)};_.g.l1=function(a){return _.x(this,17,a)};_.g.zf=function(){return _.y(this,12)};_.g.j1=function(a){return _.x(this,12,a)};_.g.ao=function(){return _.y(this,15)};_.g.yca=function(){return _.md(this,18)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sysr");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sytl");
_.hE=function(a){_.T(this,a,0,-1,null,null)};_.O(_.hE,_.K);_.hE.prototype.De=function(){return _.B(this,_.Te,1)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syud");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.DF=function(a,b,c){_.Q.call(this);this.Ip=null!=c?(0,_.N)(a,c):a;this.ma=b;this.$f=(0,_.N)(this.j$a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.O(_.DF,_.Q);_.g=_.DF.prototype;_.g.Ce=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.pf()+this.ma:this.H=_.gj(this.$f,this.ma)};_.g.stop=function(){this.H&&(_.hj(this.H),this.H=null);this.ha=null;this.V=!1;this.ka=[]};_.g.pause=function(){++this.W};
_.g.resume=function(){this.W&&(--this.W,!this.W&&this.V&&(this.V=!1,this.Ip.apply(null,this.ka)))};_.g.Ya=function(){this.stop();_.DF.ub.Ya.call(this)};_.g.j$a=function(){this.ha?(this.H=_.gj(this.$f,this.ha-_.pf()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.Ip.apply(null,this.ka)))};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syw8");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sywm");

_.t();

}catch(e){_._DumpException(e)}
try{
_.sH=function(a){return _.y(a,11)};_.q("sywb");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sywc");
_.tH=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tH,_.K);_.tH.prototype.Mc=function(){return _.y(this,1)};_.uNb=function(a){var b=new _.tH;return _.x(b,1,a)};_.tH.prototype.Vh=function(){return _.y(this,2)};_.tH.prototype.Wi=function(a){return _.x(this,2,a)};_.tH.prototype.De=function(){return _.B(this,_.Te,3)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sywd");

_.t();

}catch(e){_._DumpException(e)}
try{
_.XMb=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XMb,_.K);_.q("sywe");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sywg");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sywh");

_.t();

}catch(e){_._DumpException(e)}
try{
_.nH=function(a){_.T(this,a,0,-1,null,null)};_.O(_.nH,_.K);_.nH.prototype.getName=function(){return _.y(this,1)};_.nH.prototype.$c=function(a){return _.x(this,1,a)};_.nH.prototype.De=function(){return _.B(this,_.Te,2)};_.q("sywn");
_.oH=function(a){_.T(this,a,0,-1,yMb,null)};_.O(_.oH,_.K);var yMb=[5,6,9,10,12,13,15,16];_.oH.prototype.getId=function(){return _.y(this,1)};_.oH.prototype.Ub=function(a){return _.x(this,1,a)};_.oH.prototype.qx=function(){return _.y(this,2)};
_.AMb=function(a){_.T(this,a,0,-1,zMb,null)};_.O(_.AMb,_.K);var zMb=[2,4];_.AMb.prototype.Wl=function(){return _.y(this,1)};_.BMb=function(a,b){return _.x(a,1,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syz9");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.sI=function(a,b,c,d){this.ka=a;this.ha=b;this.V=this.W=a;this.ma=c||0;this.ta=d||2};_.sI.prototype.H=0;_.sI.prototype.reset=function(){this.V=this.W=this.ka;this.H=0};_.sI.prototype.kb=function(){return this.W};_.tI=function(a){a.V=Math.min(a.ha,a.V*a.ta);a.W=Math.min(a.ha,a.V+(a.ma?Math.round(a.ma*(Math.random()-.5)*2*a.V):0));a.H++};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syz4");
var e_b=function(a){if(!a)return"";a=a.split("#")[0].split("?")[0];a=a.toLowerCase();0==a.indexOf("//")&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");-1!=c&&(b=b.substring(0,c));a=a.substring(0,a.indexOf("://"));if("http"!==a&&"https"!==a&&"chrome-extension"!==a&&"moz-extension"!==a&&"file"!==a&&"android-app"!==a&&"chrome-search"!==a&&"chrome-untrusted"!==a&&"chrome"!==a&&"app"!==a&&"devtools"!==a)throw Error("De`"+
a);c="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,d);if("http"===a&&"80"!==e||"https"===a&&"443"!==e)c=":"+e}return a+"://"+b+c};
var f_b=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}function b(r){for(var u=h,z=0;64>z;z+=4)u[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=u[z-3]^u[z-8]^u[z-14]^u[z-16],u[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],F=e[2],L=e[3],I=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var P=L^A&(F^L);var S=1518500249}else P=A^F^L,S=1859775393;else 60>z?(P=A&F|L&(A|F),S=2400959708):(P=A^F^L,S=3395469782);P=((r<<5|r>>>27)&4294967295)+
P+I+S+u[z]&4294967295;I=L;L=F;F=(A<<30|A>>>2)&4294967295;A=r;r=P}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+F&4294967295;e[3]=e[3]+L&4294967295;e[4]=e[4]+I&4294967295}function c(r,u){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,F=r.length;A<F;++A)z.push(r.charCodeAt(A));r=z}u||(u=r.length);z=0;if(0==n)for(;z+64<u;)b(r.slice(z,z+64)),z+=64,p+=64;for(;z<u;)if(f[n++]=r[z++],p++,64==n)for(n=0,b(f);z+64<u;)b(r.slice(z,z+64)),z+=64,p+=64}function d(){var r=[],
u=8*p;56>n?c(k,56-n):c(k,64-(n-56));for(var z=63;56<=z;z--)f[z]=u&255,u>>>=8;b(f);for(z=u=0;5>z;z++)for(var A=24;0<=A;A-=8)r[u++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,p;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),u="",z=0;z<r.length;z++)u+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return u}}};
var h_b=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ga(d,function(k){e.push(k)}),g_b(e.join(" "));var f=[],h=[];_.Ga(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.ka(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ga(d,function(k){e.push(k)});a=g_b(e.join(" "));a=[c,a];_.ka(h)||a.push(h.join(""));return a.join("_")},g_b=function(a){var b=f_b();b.update(a);return b.digestString().toLowerCase()};
_.i_b=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.ncb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.j_b=function(a){var b=e_b(String(_.m.location.href));if(_.i_b()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.ncb(document),c=c.get(b?"SAPISID":"APISID")||c.get("__Secure-3PAPISID"));if(c){b=b?"SAPISIDHASH":"APISIDHASH";var d=String(_.m.location.href);return d&&c&&b?[b,h_b(e_b(d),c,a||null)].join(" "):null}}return null};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("syz3");
var l_b=function(a){_.T(this,a,0,-1,k_b,null)};_.O(l_b,_.K);var k_b=[2];
_.m_b=function(a,b,c){_.Ej(a.url,function(d){d=d.target;d.hs()?b(d.Gk()):c(d.Ib())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.n_b=function(a){_.T(this,a,0,-1,null,null)};_.O(_.n_b,_.K);_.n_b.prototype.xi=function(){return _.y(this,7)};
_.o_b=function(a){_.T(this,a,0,-1,null,null)};_.O(_.o_b,_.K);_.ll[66321687]=new _.xk(66321687,_.o_b);
var p_b;_.uI=function(a){_.T(this,a,0,31,p_b,null)};_.O(_.uI,_.K);p_b=[3,20,27];_.vI=function(a,b){return _.x(a,8,b)};
var r_b=function(a){_.T(this,a,0,17,q_b,null)};_.O(r_b,_.K);var q_b=[3,5],s_b=function(a){var b=_.pf().toString();return _.x(a,4,b)},t_b=function(a,b){return _.$k(a,3,b)},u_b=function(a,b){return _.x(a,14,b)};
var w_b=function(a){_.T(this,a,0,6,v_b,null)};_.O(w_b,_.K);var v_b=[5];
var x_b=function(a){_.T(this,a,0,-1,null,null)};_.O(x_b,_.K);
var y_b=new _.xk(175237375,x_b);
var A_b;
_.wI=function(a,b,c,d,e,f,h,k,l,n,p){_.R.call(this);this.xd=a;this.hc=b||_.nf;this.ha=new r_b;this.Pa="";this.Fd=d;this.vc=p;this.H=[];this.Lb="";this.ne=_.Ra(_.qha,0,1);this.va=e||null;this.Ea=c||null;this.Wa=h||!1;this.Ma=l||null;this.Ac=this.Kc=this.W=!1;this.Wb=this.ab=-1;this.wb=!1;this.ma=null;this.Od=!k;this.Ba=null;this.Ka=0;this.ee=1;this.Eb=f||!1;this.rb=!1;this.Nc=!this.Eb&&(_.bk.xl&&_.Wa(65)||_.bk.yv&&_.Wa(45)||_.bk.Kr&&_.Wa(12)||_.Zg()&&0<=_.Df(_.Sga(),12))&&!!_.Qe()&&!!_.Qe().navigator&&!!_.Qe().navigator.sendBeacon;
a=_.x(new _.o_b,1,1);f||(f=new _.n_b,b=document.documentElement.getAttribute("lang"),f=_.x(f,5,b),_.J(a,11,f));_.J(this.ha,1,a);_.x(this.ha,2,this.xd);this.ka=new _.sI(1E4,3E5,.1);this.V=new _.fj(this.ka.kb());this.Na(this.V);_.Id(this.V,"tick",_.tfa(z_b(this,n)),!1,this);this.Ha=new _.fj(6E5);this.Na(this.Ha);_.Id(this.Ha,"tick",_.tfa(z_b(this,n)),!1,this);this.Wa||this.Ha.start();this.Eb||(_.Id(_.Qe(),"beforeunload",this.ta,!1,this),_.Id(_.Qe(),"unload",this.ta,!1,this),_.Id(document,"pagehide",
this.ta,!1,this))};_.O(_.wI,_.R);var z_b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.wI.prototype.Ya=function(){this.ta();_.wI.ub.Ya.call(this)};A_b=function(a){a.va||(a.va=.01>a.ne()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.va};_.B_b=function(a,b){b?(a.ma||(a.ma=new l_b),b=b.yc(),_.x(a.ma,4,b)):a.ma&&_.Ok(a.ma,4)};_.C_b=function(a){a.Kc=a.Nc};
_.D_b=function(a,b){a.ka=new _.sI(1>b?1:b,3E5,.1);a.V.setInterval(a.ka.kb())};_.wI.prototype.log=function(a){a=_.kl(a);var b=this.ee++;_.x(a,21,b);this.Pa&&_.x(a,26,this.Pa);if(!_.y(a,1)){b=a;var c=Date.now().toString();_.x(b,1,c)}_.Ck(a,15)||_.x(a,15,60*(new Date).getTimezoneOffset());this.ma&&(b=_.kl(this.ma),_.J(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new E_b(a));this.Wa||this.V.enabled||this.V.start()};
_.wI.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)F_b(this);else{var d=_.pf();if(this.Wb>d&&this.ab<d)b&&b("throttled");else{var e=u_b(t_b(s_b(_.kl(this.ha)),this.H),this.Ka);d={};var f=this.hc();f&&(d.Authorization=f);var h=A_b(this);this.Ea&&(d["X-Goog-AuthUser"]=this.Ea,h=_.xj(h,"authuser",this.Ea));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.xj(h,"pageId",this.Ma));if(f&&this.Lb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Ka=
0,this.W)a&&a();else{var k=e.yc(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,V_a:1,requestHeaders:d,requestType:"POST",withCredentials:this.Od,timeoutMillis:0},p=(0,_.N)(function(z){this.ka.reset();this.V.setInterval(this.ka.kb());if(z){try{var A=JSON.parse(z.replace(")]}'\n",""));var F=new w_b(A)}catch(L){}F&&(z=_.Ik(F,1,"-1"),z=Number(z),0<z&&(this.ab=_.pf(),this.Wb=this.ab+z),F=_.il(F,y_b))&&(F=_.Hk(F,1,-1),-1!=F&&(this.wb||_.D_b(this,F)))}a&&a()},this),r=(0,_.N)(function(z){var A=
_.Xk(e,_.uI,3);_.tI(this.ka);this.V.setInterval(this.ka.kb());401==z&&f&&(this.Lb=f);if(500<=z&&600>z||401==z||0==z)this.H=A.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),u=function(){c.vc?c.vc.send(n,p,r):c.Fd(n,p,r)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.V_a=2;u()},function(){u()}):u()}}}};
_.wI.prototype.ta=function(){this.W||(this.Kc&&F_b(this),this.Ac&&G_b(this),this.flush())};
var F_b=function(a){H_b(a,32,10,function(b,c){b=_.xj(b,"format","json");b=_.Qe().navigator.sendBeacon(b,c.yc());a.rb&&!b&&(a.rb=!1);return b})},G_b=function(a){H_b(a,6,5,function(b,c){b=_.vj(b,"format","base64json","p",_.dk(c.yc(),3));_.Eg(new Image,b);return!0})},H_b=function(a,b,c,d){if(0!=a.H.length){var e=_.Bj(A_b(a),"format");e=_.vj(e,"auth",a.hc(),"authuser",a.Ea||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=t_b(s_b(_.kl(a.ha)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
E_b=function(){this.type="event-logged"};_.O(E_b,_.Si);
_.xI=function(a,b,c,d,e,f,h){_.wI.call(this,a,_.j_b,b,_.m_b,c,d,e,void 0,f,h)};_.M(_.xI,_.wI);

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy103");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy11h");
_.LFc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.LFc,_.K);_.g=_.LFc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.kb=function(){return _.y(this,2)};_.g.Sb=function(a){return _.x(this,2,a)};_.g.Ej=function(){return _.Ok(this,2)};_.g.Dg=function(){return _.Ck(this,2)};
_.MFc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.NFc=_.Pf(_.MFc);

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy11i");

_.t();

}catch(e){_._DumpException(e)}
try{
_.OFc=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.q("sy11q");
/*

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

_.t();

}catch(e){_._DumpException(e)}
try{
_.bM=function(a,b){return _.x(a,4,b)};_.PFc=function(a,b){_.x(a,11,b)};_.QFc=function(a,b){return _.x(a,25,b)};_.RFc=function(a,b,c,d,e,f){var h=new _.Ij(null,void 0);a&&_.Jj(h,a);b&&(h.ma=b);c&&_.Kj(h,c);d&&_.Lj(h,d);e&&_.Mj(h,e);f&&_.Nj(h,f);return h};_.q("sy11u");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.cM=function(a,b,c){_.Q.call(this);this.Ip=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.M(_.cM,_.Q);_.g=_.cM.prototype;_.g.Ce=function(a){this.ha=arguments;this.H||this.W?this.V=!0:SFc(this)};_.g.stop=function(){this.H&&(_.hj(this.H),this.H=null,this.V=!1,this.ha=null)};_.g.pause=function(){this.W++};_.g.resume=function(){this.W--;this.W||!this.V||this.H||(this.V=!1,SFc(this))};_.g.Ya=function(){_.Q.prototype.Ya.call(this);this.stop()};
var SFc=function(a){a.H=_.gj(function(){a.H=null;a.V&&!a.W&&(a.V=!1,SFc(a))},a.ka);var b=a.ha;a.ha=null;a.Ip.apply(null,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
var UFc;_.TFc=function(a){return _.Ee(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};UFc=function(a,b){if(b&&a in b)return a;var c=_.REa();return c?(c=c.toLowerCase(),a=c+_.Oga(a),void 0===b||a in b?a:null):null};_.q("sy11v");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.VFc=function(a){_.R.call(this);this.Zc=a||_.th();if(this.zy=this.L8a())this.H=_.Id(this.Zc.Zb(),this.zy,(0,_.N)(this.r$a,this))};_.O(_.VFc,_.R);_.g=_.VFc.prototype;_.g.L8a=_.aca(function(){var a=!!this.E2(),b="hidden"!=this.E2();if(a){var c;b?c=((_.REa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.E2=_.aca(function(){return UFc("hidden",this.Zc.Zb())});_.g.b$a=_.aca(function(){return UFc("visibilityState",this.Zc.Zb())});_.g.fN=function(){return!!this.Zc.Zb()[this.E2()]};
_.g.r$a=function(){var a=this.E2()?this.Zc.Zb()[this.b$a()]:null;a=new WFc(this.fN(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.dj(this.H);_.VFc.ub.Ya.call(this)};var WFc=function(a){_.Si.call(this,"visibilitychange");this.hidden=a};_.O(WFc,_.Si);

_.t();

}catch(e){_._DumpException(e)}
try{
_.XFc=function(){this.H=-1};_.q("sy11x");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.dM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.O(_.dM,_.XFc);_.dM.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.ha=this.W=0};
var YFc=function(a,b,c){c||(c=0);var d=Array(16);if("string"===typeof b)for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.V[0];c=a.V[1];e=a.V[2];var f=a.V[3];var h=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(h<<17&4294967295|h>>>
15);h=c+(b^e&(f^b))+d[3]+3250441966&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(h<<12&4294967295|
h>>>20);h=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(h<<7&4294967295|h>>>25);h=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(h<<12&4294967295|h>>>20);h=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(h<<17&4294967295|h>>>15);h=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(h<<22&4294967295|h>>>10);h=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(h<<
5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=
e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(h<<5&4294967295|h>>>27);h=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(h<<9&4294967295|h>>>23);h=e+(b^c&(f^b))+d[7]+1735328473&4294967295;
e=f+(h<<14&4294967295|h>>>18);h=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(h<<20&4294967295|h>>>12);h=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(h<<11&4294967295|
h>>>21);h=e+(f^b^c)+d[7]+4139469664&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(h<<4&4294967295|h>>>28);h=f+(b^c^e)+d[12]+
3873151461&4294967295;f=b+(h<<11&4294967295|h>>>21);h=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(h<<16&4294967295|h>>>16);h=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(h<<23&4294967295|h>>>9);h=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[12]+1700485571&
4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[13]+1309151649&
4294967295;c=e+(h<<21&4294967295|h>>>11);h=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(h<<6&4294967295|h>>>26);h=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(h<<10&4294967295|h>>>22);h=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(h<<15&4294967295|h>>>17);h=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.V[2]=a.V[2]+e&4294967295;a.V[3]=a.V[3]+f&4294967295};
_.dM.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.H,d=this.ka,e=this.W,f=0;f<b;){if(0==e)for(;f<=c;)YFc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){YFc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){YFc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.dM.prototype.digest=function(){var a=Array((56>this.W?this.H:2*this.H)-this.W);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.ha;for(b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.V[b]>>>d&255;return a};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12q");
_.eM=function(a){_.T(this,a,0,-1,ZFc,null)};_.O(_.eM,_.K);var ZFc=[1];_.eM.prototype.Fi=function(){return _.md(this,1)};_.eM.prototype.De=function(){return _.B(this,_.Te,2)};_.$Fc=function(a,b){_.J(a,2,b)};_.eM.prototype.Vh=function(){return _.Hk(this,3,20)};_.eM.prototype.Wi=function(a){return _.x(this,3,a)};_.eM.prototype.zm=function(){return _.E(this,4)};

_.t();

}catch(e){_._DumpException(e)}
try{
var dGc;_.fM=function(a){return a instanceof Error};_.aGc=function(a){var b={};_.Ef(a,function(c,d){b[d.toLowerCase()]=c});return b};_.bGc=function(a){return(a=a&&_.aGc(a))&&a["x-guploader-uploadid"]};_.cGc=function(a){return(a=a&&_.aGc(a))&&a["x-google-trace"]};dGc=[6];_.eGc=function(a){_.T(this,a,0,-1,dGc,null)};_.O(_.eGc,_.K);_.gM=function(a,b){return _.x(a,14,b)};_.q("sy12m");
_.fGc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.fGc,_.K);
_.hM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.hM,_.K);_.hM.prototype.getOptions=function(){return _.B(this,_.fGc,1)};_.hM.prototype.ao=function(){return _.y(this,2)};_.hM.prototype.Bd=function(){return _.B(this,_.Ge,3)};
_.gGc=function(a){_.T(this,a,0,-1,null,_.iM)};_.O(_.gGc,_.K);_.iM=[[3,4,5,6,7,8,9,10]];
var hGc,jGc;
_.iGc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(200==a||204==a||308==a)return null;e=hGc(e)||new _.Cb;_.x(e,8,!0);k&&(k=_.Nj(new _.Ij(k),void 0).toString(),_.x(e,19,k));e.sD()||_.x(e,15,a||f);e.getMessage()||_.Sr(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.y(e,4)||_.Tr(e,d);e.xj()||(5==f?_.gM(e,7):0!=a||d?403==a?_.gM(e,22):503==a||429==a?_.gM(e,24):(_.Ok(e,14),_.x(e,10,1),_.x(e,8,!0)):l||_.gM(e,2));e.P7(_.bGc(c));e.B7(_.cGc(c));return e};
hGc=function(a){if(!_.ya(a))return null;var b=new _.Cb,c=a.error;if(!c)return _.Tr(b,JSON.stringify(a)),null;_.x(b,15,c.code);_.Sr(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=jGc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.Tr(b,a);return b};
jGc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,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,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,teamDriveFileLimitExceeded:40,
teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,
mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.t();

}catch(e){_._DumpException(e)}
try{
_.jM=function(a,b){a.H=b;a.ka=0};_.kM=function(a,b){return _.x(a,b,[])};_.kGc=function(a,b,c){c&&(a=_.Pg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Og(a));return a};_.lGc=function(a){for(var b=[],c=0,d=0;d<a.length;d++){var e=a.charCodeAt(d);128>e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1<a.length&&56320==(a.charCodeAt(d+1)&64512)?(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};
_.mGc=function(a){this.V=0;this.W=a||100;this.H=[]};_.g=_.mGc.prototype;_.g.add=function(a){var b=this.H[this.V];this.H[this.V]=a;this.V=(this.V+1)%this.W;return b};_.g.get=function(a){a=nGc(this,a);return this.H[a]};_.g.set=function(a,b){a=nGc(this,a);this.H[a]=b};_.g.tc=function(){return this.H.length};_.g.wc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.Og=function(){var a=this.tc(),b=this.tc(),c=[];for(a=this.tc()-a;a<b;a++)c.push(this.get(a));return c};
_.g.rf=function(){for(var a=[],b=this.tc(),c=0;c<b;c++)a[c]=c;return a};_.g.xp=function(a){for(var b=this.tc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var nGc=function(a,b){if(b>=a.H.length)throw Error("aa");return a.H.length<a.W?b:(a.V+Number(b))%a.W};_.q("sy133");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.oGc=function(a){_.Q.call(this);this.V=a;this.H={};this.V.nK((0,_.N)(this.W,this))};_.O(_.oGc,_.Q);_.qGc=function(a,b){if(-1!=b.indexOf(":"))throw Error("He`"+b);if(b in a.H)throw Error("Ie`"+b);var c=new pGc(a,b);return a.H[b]=c};_.oGc.prototype.W=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.V&&c.V(a,b)}};_.oGc.prototype.Ya=function(){_.Ef(this.H,function(a){_.tc(a)});_.tc(this.V);delete this.H;delete this.V};
var pGc=function(a,b){_.Q.call(this);this.hg=a;this.H=b};_.O(pGc,_.Q);_.g=pGc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.hg.V.registerService(this.H+":"+a,(0,_.N)(this.cFa,this,b),c)};_.g.nK=function(a){this.V=(0,_.N)(this.cFa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Je");this.hg.V.send(this.H+":"+a,b)};_.g.cFa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.hg=this.hg.H[this.H]=null};

_.t();

}catch(e){_._DumpException(e)}
try{
_.lM=function(a,b){return _.$k(a,b,[])};_.q("sy134");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.rGc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.t();

}catch(e){_._DumpException(e)}
try{
_.mM=function(a){return _.C(a,5,!1)};_.sGc=function(a){var b=_.Zja(a);if("undefined"==typeof b)throw Error("V");var c=new _.Qj(null,void 0);a=_.kj(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Jka(c,e,f):c.add(e,f)}return c};_.q("sy12t");

_.t();

}catch(e){_._DumpException(e)}
try{
var tGc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Hea);try{delete a[_.Hea]}catch(b){}},nM=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.ya(f)){f[_.Hea]||c.push(f);var l=_.Aa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=
!0;b.push("{");for(var n in f)"function"!==typeof f[n]&&(b.push("\n"),b.push(k),b.push(n+" = "),e(f[n],k));b.push("\n"+h+"}");delete d[l]}}else b.push(f)}catch(p){b.push("*** "+p+" ***")}};e(a,"");for(a=0;a<c.length;a++)tGc(c[a]);return b.join("")};_.q("sy136");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var uGc,pM,wGc,vGc;_.oM=function(a,b,c){if("number"===typeof a)var d={name:vGc(a)};else d=a,a=wGc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.O(_.oM,_.aa);_.oM.prototype.getName=function(){return this.V.name||""};pM={PYa:1,bYa:2,NOT_FOUND_ERR:3,XWa:4,cXa:5,cYa:6,JYa:7,ABORT_ERR:8,uYa:9,VPb:10,TIMEOUT_ERR:11,qYa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.xGc=(_.m.aF||_.m.rH||pM).PYa;_.yGc=(_.m.aF||_.m.rH||pM).bYa;_.zGc=(_.m.aF||_.m.rH||pM).NOT_FOUND_ERR;
_.AGc=(_.m.aF||_.m.rH||pM).XWa;_.BGc=(_.m.aF||_.m.rH||pM).cXa;_.CGc=(_.m.aF||_.m.rH||pM).cYa;_.DGc=(_.m.aF||_.m.rH||pM).JYa;_.EGc=(_.m.aF||_.m.rH||pM).ABORT_ERR;_.FGc=(_.m.aF||_.m.rH||pM).uYa;_.GGc=(_.m.aF||_.m.rH||pM).TIMEOUT_ERR;_.HGc=(_.m.aF||_.m.rH||pM).qYa;_.IGc=(_.m.DOMException||pM).INVALID_ACCESS_ERR;_.JGc=(_.m.DOMException||pM).INVALID_STATE_ERR;
wGc=function(a){switch(a){case "UnknownError":return _.xGc;case "NotFoundError":return _.zGc;case "ConstraintError":return _.AGc;case "DataError":return _.BGc;case "TransactionInactiveError":return _.DGc;case "AbortError":return _.EGc;case "ReadOnlyError":return _.FGc;case "TimeoutError":return _.GGc;case "QuotaExceededError":return _.HGc;case "InvalidAccessError":return _.IGc;case "InvalidStateError":return _.JGc;default:return _.xGc}};
vGc=function(a){switch(a){case _.xGc:return"UnknownError";case _.zGc:return"NotFoundError";case _.AGc:return"ConstraintError";case _.BGc:return"DataError";case _.DGc:return"TransactionInactiveError";case _.EGc:return"AbortError";case _.FGc:return"ReadOnlyError";case _.GGc:return"TimeoutError";case _.HGc:return"QuotaExceededError";case _.IGc:return"InvalidAccessError";case _.JGc:return"InvalidStateError";default:return"UnknownError"}};
_.qM=function(a,b){return"error"in a?new _.oM(a.error,b):new _.oM({name:"UnknownError"},b)};_.rM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.oM(a,b);if("code"in a){var c=vGc(a.code);b=b+": "+a.message;return new _.oM({name:c},b)}return new _.oM({name:"UnknownError"},b)};
_.KGc=function(a){this.H=a};_.LGc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.KGc.prototype.range=function(){return this.H};
var MGc=function(a){this.H=a};MGc.prototype.getName=function(){return this.H.name};var NGc=function(a,b,c,d){var e=new _.vi;try{var f=a.H[b](d)}catch(h){return c+=" with key "+nM(d),e.Qd(_.rM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+nM(d);e.Qd(_.qM(h.target,c))};return e};MGc.prototype.get=function(a){return NGc(this,"get","getting from index "+this.getName(),a)};
MGc.prototype.getKey=function(a){return NGc(this,"getKey","getting key from index "+this.getName(),a)};MGc.prototype.getAll=function(a,b){return _.OGc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.OGc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.KGc?d.H:(new _.KGc(_.LGc.only(d))).H;var h=new _.vi;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?nM(f):"<all>"),h.Qd(_.rM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?nM(f):"<all>");h.Qd(_.qM(l.target,c))};return h};
var sM=function(a){this.H=a},PGc;sM.prototype.getName=function(){return this.H.name};PGc=function(a,b,c,d,e){var f=new _.vi;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=nM(d),e&&(c+=", with key "+nM(e)),f.Qd(_.rM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=nM(d);e&&(c+=", with key "+nM(e));f.Qd(_.qM(k.target,c))};return f};_.QGc=function(a,b,c){return PGc(a,"put","putting into "+a.getName()+" with value",b,c)};
sM.prototype.add=function(a,b){return PGc(this,"add","adding into "+this.getName()+" with value ",a,b)};sM.prototype.remove=function(a){var b=new _.vi;try{var c=this.H["delete"](a instanceof _.KGc?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+nM(a),b.Qd(_.rM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+nM(a);b.Qd(_.qM(e.target,f))};return b};
sM.prototype.get=function(a){var b=new _.vi;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+nM(a),b.Qd(_.rM(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 "+nM(a);b.Qd(_.qM(e.target,f))};return b};sM.prototype.getAll=function(a,b){return RGc(this,"getting all from index "+this.getName(),a,b)};
var RGc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.KGc?c.H:(new _.KGc(_.LGc.only(c))).H;var f=new _.vi;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?nM(e):"<all>"),f.Qd(_.rM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?nM(e):"<all>");f.Qd(_.qM(k.target,b))};return f};
sM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.vi;try{var c=this.H.clear()}catch(d){return b.Qd(_.rM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Qd(_.qM(d.target,a))};return b};_.SGc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.rM(d,"creating new index "+b+" with key path "+c);}};sM.prototype.getIndex=function(a){try{return new MGc(this.H.index(a))}catch(b){throw _.rM(b,"getting index "+a);}};
sM.prototype.count=function(a){var b=new _.vi;try{var c=this.H.count(a?a.H:null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Qd(_.qM(e.target,d.getName()))}}catch(e){b.Qd(_.rM(e,this.getName()))}return b};
var TGc=function(a,b){_.R.call(this);this.H=a;this.V=b;this.Bb=new _.ze(this);this.Bb.listen(this.H,"complete",(0,_.N)(this.dispatchEvent,this,"complete"));this.Bb.listen(this.H,"abort",(0,_.N)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.l$a)};_.O(TGc,_.R);_.g=TGc.prototype;_.g.l$a=function(a){a.target instanceof _.oM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.qM(a.target,"in transaction")})};_.g.ri=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new sM(this.H.objectStore(a))}catch(b){throw _.rM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.rM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.vi;_.$d(this,"complete",(0,_.N)(a.callback,a));var b=_.$d(this,"abort",function(){_.dj(c);a.Qd(new _.oM(_.EGc,"waiting for transaction to complete"))});var c=_.$d(this,"error",function(e){_.dj(b);a.Qd(e.target)});var d=this.V;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){TGc.ub.Ya.call(this);this.Bb.dispose()};
var UGc=function(a){_.R.call(this);this.H=a;this.Bb=new _.ze(this);this.Bb.listen(this.H,"abort",(0,_.N)(this.dispatchEvent,this,"abort"));this.Bb.listen(this.H,"error",this.k$a);this.Bb.listen(this.H,"versionchange",this.I3a);this.Bb.listen(this.H,"close",(0,_.N)(this.dispatchEvent,this,"close"))};_.O(UGc,_.R);_.g=UGc.prototype;_.g.iqa=!0;_.g.k$a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.I3a=function(a){this.dispatchEvent(new VGc(a.oldVersion,a.newVersion))};_.g.close=function(){this.iqa&&(this.H.close(),this.iqa=!1)};_.g.Pg=function(){return this.iqa};_.g.getName=function(){return this.H.name};_.WGc=function(a,b,c){try{return new sM(a.H.createObjectStore(b,c))}catch(d){throw _.rM(d,"creating object store "+b);}};_.XGc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new TGc(d,a)}catch(e){throw _.rM(e,"creating transaction");}};
UGc.prototype.Ya=function(){UGc.ub.Ya.call(this);this.Bb.dispose()};var VGc=function(a,b){_.Si.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.O(VGc,_.Si);
_.YGc=function(){void 0==uGc&&(uGc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB);return uGc};
_.ZGc=function(a,b,c,d){var e=new _.vi;b=b?_.YGc().open(a,b):_.YGc().open(a);b.onsuccess=function(f){f=new UGc(f.target.result);e.callback(f)};b.onerror=function(f){e.Qd(_.qM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new UGc(f.target.result);c(new VGc(f.oldVersion,f.newVersion),h,new TGc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new VGc(f.oldVersion,f.newVersion))};return e};

_.t();

}catch(e){_._DumpException(e)}
try{
_.$Gc=function(a,b){var c=_.B(a.H,_.tya,9);null==c&&(c=new _.tya);var d=_.y(b.H,10);d=_.x(c,5,d);b=_.y(b.H,12);_.x(d,2,b);_.J(a.H,9,c)};_.aHc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.q("sy137");
_.bHc=function(a){this.V=a};_.bHc.prototype.H=function(a){a=_.vI(new _.uI,a.yc());this.V.log(a);return new _.ki(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.cHc=function(a){this.V=a;_.C_b(this.V)};_.cHc.prototype.H=function(a){a=_.vI(new _.uI,a.yc());this.V.log(a);this.V.ta()};

_.t();

}catch(e){_._DumpException(e)}
try{
var dHc=function(a){_.T(this,a,0,-1,null,null)},kHc;_.O(dHc,_.K);var eHc=[3,42],fHc=function(a){_.T(this,a,0,-1,eHc,null)};_.O(fHc,_.K);fHc.prototype.$b=function(){return _.y(this,27)};var gHc=function(a){_.T(this,a,0,-1,null,null)};_.O(gHc,_.K);var hHc=[2],iHc=function(a){_.T(this,a,0,-1,hHc,null)};_.O(iHc,_.K);var jHc=function(a){_.T(this,a,0,-1,null,null)};_.O(jHc,_.K);kHc=function(a){this.H=a};_.lHc=function(a){this.Oc=a};_.lHc.prototype.getId=function(){return this.Oc};
var mHc=function(a){_.T(this,a,0,-1,null,null)};_.O(mHc,_.K);var nHc=function(a){_.T(this,a,0,-1,null,null)};_.O(nHc,_.K);
var pHc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.xAa.length;a++){var b=_.xAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;oHc(this,b);break}}},oHc=function(a,b){a.V=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.W=!0;a.V.onDisconnect.addListener(function(){a.W=!1});document.addEventListener("mousemove",function(c){a.ha=c.clientX;a.ka=c.clientY})};
pHc.prototype.H=function(a){if(this.ma&&this.W){var b=_.B(a,_.cb,2)||new _.cb,c=_.B(a,_.Uq,5)||new _.Uq,d=_.B(a,_.Tq,3)||new _.Tq;a=_.Xk(a,_.Lya,1);a=_.v(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.yc(),session_info:b.yc(),session_invariants:c.yc(),client_info:d.yc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};_.q("sy12w");
var qHc=function(){_.Mq.call(this)};_.M(qHc,_.Mq);qHc.prototype.Zt=function(){return 1==_.y(_.B(this.H,dHc,7),1)};var rHc=new _.Iq("high_frequency_builder");
var sHc=function(a,b,c){a=new _.fj(a);c.Na(a);var d=new _.ze(c);c.Na(d);d.listen(a,"tick",b);a.start()};
var tHc=function(){_.Mq.call(this)};_.M(tHc,_.Mq);var uHc=function(a,b,c){var d=1E3*_.pf();if(0==b){b=new _.Bq;var e=new _.rya;e=_.x(e,1,d);_.J(b,1,e);_.x(b,3,1);_.J(a.H,8,b);_.x(a.H,12,c);_.x(a.H,13,c);_.x(a.H,4,d);_.x(a.H,3,c)}else 1==b&&(b=new _.Bq,e=new _.sya,d=_.x(e,1,d),_.J(b,2,d),_.x(b,3,2),_.J(a.H,8,b),_.x(a.H,12,c),_.x(a.H,3,c));return a},vHc=new _.Iq("system_builder");
var wHc=function(a,b){_.Q.call(this);this.V=a;this.H=new _.VFc(b);this.Na(this.H);this.Bb=new _.ze(this);this.Na(this.Bb);this.H.E2()&&this.Bb.listen(this.H,"visibilitychange",this.W)};_.M(wHc,_.Q);wHc.prototype.W=function(){if(this.V.xS()){var a=this.H.fN()?102001:102E3;a=this.V.oE(a,0);this.V.Lp(a)}};
var xHc=function(a,b,c){c=void 0===c?!1:c;_.Q.call(this);this.H=a;this.V=b;this.Na(this.V);this.ha=c;this.W=null};_.M(xHc,_.Q);_.g=xHc.prototype;_.g.Lp=function(a){var b=this.H;_.x(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.tc()&&b.V.Ce();return new kHc(a)};_.g.oE=function(a,b){a=uHc(yHc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.OJ=function(){return this.H.V};
_.g.rI=function(a){var b=this.H,c=_.Nq(a,vHc),d=b.ka++,e=_.B(_.B(c.H,_.Bq,8),_.sya,2),f=1E3*_.pf();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.y(a.H,12))};_.g.BY=function(){var a=this.V;if(!a.ka||a.H.W){var b=zHc(a.H,691).build();b=AHc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.tc(this.W),this.W=null)};_.g.CY=function(){var a=this.H,b=zHc(a,716);BHc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.Ce();this.ha&&(this.W=new wHc(this))};_.g.Jba=function(){this.V.ha();return _.pi(Array.from(this.V.W)).then()};
_.g.xS=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var CHc=function(a,b,c,d,e){_.Q.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.cM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.va=e||6E4};_.M(CHc,_.Q);CHc.prototype.initialize=function(){sHc(this.va,this.V.Ce,this.V);sHc(36E5,this.ma,this)};CHc.prototype.ha=function(){var a=this;if(0!=this.H.H.tc()&&(!this.ka||this.H.W)){var b=DHc(this.H),c=this.Ba.H(b);c&&(_.ri(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
CHc.prototype.ma=function(){var a=this.H,b=zHc(a,1153).build();a.H.add(b);this.V.Ce()};
var EHc=function(a){_.Q.call(this);this.H=a;this.Na(this.H)};_.M(EHc,_.Q);_.g=EHc.prototype;_.g.Lp=function(a){a=this.H.Lp(a);this.Jba();return a};_.g.oE=function(a,b){return this.H.oE(a,b)};_.g.OJ=function(){return this.H.OJ()};_.g.rI=function(a){return this.H.rI(a)};_.g.BY=function(){return this.H.BY()};_.g.CY=function(){return this.H.CY()};_.g.Jba=function(){return this.H.Jba()};_.g.xS=function(){return this.H.xS()};
var FHc=function(){};FHc.prototype.oM=function(){return new qHc};
var GHc=function(){this.H=[]};GHc.prototype.add=function(a){this.H.push(a)};GHc.prototype.tc=function(){return this.H.length};
var HHc=function(){this.H={}};HHc.prototype.add=function(a){var b=_.y(a.H,12);this.H[b]=a};HHc.prototype.remove=function(a){delete this.H[a]};
var IHc=function(a,b){this.V=a;this.Ea=b;this.ka=1;this.va=this.ha=null;this.ma=new HHc;this.H=new GHc;this.ta=this.Ba=this.W=!1},yHc=function(a,b){a=_.Nq((new _.Mq).initialize(new _.Lya,a.Ea),vHc);_.x(a.H,10,b);return a},DHc=function(a){var b=a.H,c=b.H;b.H=[];return AHc(a,c)},AHc=function(a,b){var c=new _.Rza;var d=_.kl(a.V.ha);c=_.J(c,2,d);d=a.V;(d=d.V?_.kl(d.V):null)&&_.J(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.B(b[h],_.Gq,5);if(k&&_.B(k,fHc,1)){k=_.B(k,fHc,1);_.Ck(k,12)&&void 0===
e&&(e=_.E(k,12));k=_.B(k,gHc,20);if(void 0!==k&&void 0===f){f=new nHc;var l=_.E(k,2);void 0!==l&&_.x(f,2,l);k=_.E(k,1);void 0!==k&&_.x(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.kl(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.Tq),void 0!==e&&_.x(d,6,e),void 0!==f&&_.J(d,13,f);(e=d)&&_.J(c,3,e);a=_.kl(a.V.ka);_.J(c,4,a);_.$k(c,1,b);return c},zHc=function(a,b){var c=uHc(yHc(a,b),0,a.ka++);var d=a.ma;var e=Object.keys(d.H);if(0==e.length)d=null;else{for(var f=[],h=0;h<e.length;h++){var k=Number(e[h]),
l=d.H[k],n=new jHc;k=_.x(n,1,k);l=_.y(l.H,10);l=_.x(k,2,l);f.push(l)}d=f}716!=b&&(b=a.va,_.x(c.H,6,a.ha),e=new iHc,b=_.x(e,1,b),d&&_.$k(b,2,d),d=_.Oq(c),_.J(d,3,b));BHc(a,c);return c},BHc=function(a,b){a.ha=_.y(b.H,12);a.va=_.y(_.B(_.B(b.H,_.Bq,8),_.rya,1),1)};
var JHc=function(){};JHc.prototype.oM=function(){return new tHc};
var KHc=function(){this.H=this.V=null};KHc.prototype.build=function(){null==this.H&&(this.H=new _.pza);_.Rq(this.H,vHc,new JHc);_.Rq(this.H,rHc,new FHc);var a=this.H;var b=this.V;if(!_.Ck(_.LHc(b),1)){var c=_.LHc(b),d=new _.Fza;_.J(c,1,d)}b=_.B(_.LHc(b),_.Fza,1);a.H=b;b=_.Dc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new IHc(this.V,this.H)};
var MHc=function(){this.ha=new _.cb;this.V=null;this.ka=new mHc;_.x(this.ka,1,6);this.H=this.W=null};MHc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.NHc=function(a,b){_.x(a.ha,2,b);return a};_.OHc=function(a,b){if(null==a.W){a.W=new _.Lza;var c=_.LHc(a);_.J(c,2,a.W)}_.x(a.W,1,b)};_.LHc=function(a){null==a.V&&(a.V=new _.Uq);return a.V};_.PHc=function(a){null==a.H&&(a.H=new _.Tq);return a.H};
_.QHc=function(){this.V=this.ma=null;this.ka=new MHc;this.ha=null;this.H=this.ta=!1;this.W=null};_.RHc=function(a,b){a.ma=b;return a};_.SHc=function(a,b){a.V=b;return a};_.THc=function(a,b){a.ha=b;return a};_.QHc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.UHc=function(a,b){_.x(a.ka.ha,6,b);return a};
_.QHc.prototype.build=function(){var a=new KHc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new pHc;this.V=this.ma=b}b=new CHc(a,this.ma,this.V,this.ta,this.W);a=new xHc(a,b,!1);this.H&&(a=new EHc(a));return a};

_.t();

}catch(e){_._DumpException(e)}
try{
var YHc;_.vM=function(a){if(a instanceof _.Cb)return a;var b;if(_.fM(a)){if(b=_.pnb(a))return b;b=_.TDa(void 0,void 0,a)}else b="string"===typeof a?_.TDa(a):_.TDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.tM(b,2);_.uM(b,6);return b};_.VHc=function(a){var b=a.xj();a=a.sD();return 15==b||32==b||33==b||401==a};_.WHc=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.XHc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XHc,_.K);_.wM=function(a){return _.Hk(a,1,0)};_.xM=function(a){return _.B(a,_.XHc,4)};_.yM=function(a){return _.C(a,84,!1)};_.tM=function(a,b){return _.x(a,1,b)};_.uM=function(a,b){return _.x(a,2,b)};YHc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.zM=function(a){_.T(this,a,0,-1,YHc,null)};_.O(_.zM,_.K);_.g=_.zM.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};
_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Bg=function(){return _.y(this,3)};_.g.am=function(a){return _.x(this,3,a)};_.g.At=function(a){return _.x(this,4,a)};_.g.ai=function(){return _.E(this,5)};_.g.to=function(a){return _.x(this,5,a)};_.g.$b=function(){return _.y(this,6)};_.g.vB=function(a,b){_.Vk(this,8,a,b)};_.g.Si=function(){return _.y(this,12)};_.g.De=function(){return _.B(this,_.Te,17)};_.g.$q=function(){return _.E(this,18)};_.g.Cc=function(){return _.y(this,21)};
_.AM=function(a,b){return _.x(a,16,b)};_.q("sy12l");
_.BM=function(a){_.T(this,a,0,-1,ZHc,null)};_.O(_.BM,_.K);var ZHc=[5];_.BM.prototype.Fi=function(){return _.md(this,5)};_.BM.prototype.De=function(){return _.B(this,_.Te,6)};_.BM.prototype.Cc=function(){return _.y(this,8)};
_.$Hc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var aIc;aIc={};_.bIc=(aIc[0]="/drive/v2internal",aIc[1]="/drive/v2internal.corp",aIc[2]="/drive/v2internal.scary",aIc[4]="/drive/v2internal.scary",aIc[5]="/drive/v2beta",aIc[6]="/drive/v2.1beta",aIc);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var CM,dIc;CM={};_.cIc=(CM[1]="modifiedDate",CM[2]="modifiedByMeDate",CM[3]="quotaBytesUsed",CM[4]="title",CM[6]="lastViewedByMeDate",CM[10]="createdDate",CM[7]="sharedWithMeDate",CM[9]="starred",CM[11]="recency",CM[5]="relevance",CM[12]="trashedDate",CM[13]="lastViewedByMeDate",CM);dIc={};_.eIc=(dIc[1]="asc",dIc[2]="desc",dIc);
_.fIc=function(a,b,c,d,e,f,h){a="number"===typeof a?Date.UTC(a,b||0,c||1,d||0,e||0,f||0,h||0):a?a.getTime():_.pf();this.date=new Date(a)};_.O(_.fIc,_.Bw);_.g=_.fIc.prototype;_.g.clone=function(){var a=new _.fIc(this.date);a.vD=this.vD;a.wQ=this.wQ;return a};_.g.add=function(a){(a.ka||a.ha)&&_.Aw.prototype.add.call(this,new _.zw(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Pt))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.Bw.prototype.getUTCFullYear;
_.g.getMonth=_.Bw.prototype.getUTCMonth;_.g.getDate=_.Bw.prototype.getUTCDate;_.g.getHours=_.Bw.prototype.getUTCHours;_.g.getMinutes=_.Bw.prototype.getUTCMinutes;_.g.getSeconds=_.Bw.prototype.getUTCSeconds;_.g.getMilliseconds=_.Bw.prototype.getUTCMilliseconds;_.g.getDay=_.Bw.prototype.getUTCDay;_.g.setFullYear=_.Bw.prototype.setUTCFullYear;_.g.setMonth=_.Bw.prototype.setUTCMonth;_.g.setDate=_.Bw.prototype.setUTCDate;_.g.setHours=_.Bw.prototype.setUTCHours;_.g.setMinutes=_.Bw.prototype.setUTCMinutes;
_.g.setSeconds=_.Bw.prototype.setUTCSeconds;_.g.setMilliseconds=_.Bw.prototype.setUTCMilliseconds;
var gIc,iIc;gIc={};_.hIc=(gIc[1]="0",gIc[2]="1",gIc[3]="2",gIc);iIc={};_.jIc=(iIc[1]="asc",iIc[2]="desc",iIc);
_.kIc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.lIc=_.x(new _.zM,15,!0);_.mIc=_.AM(new _.zM,!0);_.nIc=_.AM(new _.zM,!1);
_.oIc=_.dh&&0>_.Df(_.gh,"533");
_.pIc=new Set([0,1,2,3]);
var qIc,sIc,vIc,wIc,yIc,zIc,AIc,BIc;qIc={};_.rIc=(qIc[0]="POST",qIc[2]="PUT",qIc[12]="POST",qIc);sIc={};_.tIc=(sIc[0]=1,sIc[2]=3,sIc);vIc={};wIc={};_.uIc=(wIc[2]=(vIc["x-goog-upload-protocol"]="batch",vIc),wIc);yIc={};zIc={};AIc={};BIc={};_.xIc=(BIc[0]=(yIc["content-type"]="application/http",yIc["content-transfer-encoding"]="binary",yIc),BIc[12]=(zIc["content-type"]="application/http",zIc["content-transfer-encoding"]="binary",zIc),BIc[2]=(AIc["content-type"]="application/http",AIc),BIc);
_.CIc=new _.zSa("yyyy:MM:dd HH:mm:ss");
var DIc,FIc,HIc;DIc={};_.EIc=(DIc[1]="active",DIc[2]="archived",DIc);FIc={};_.GIc=(FIc[0]="unset",FIc[1]="default",FIc[2]="small",FIc[3]="size16kb",FIc);HIc={};_.IIc=(HIc[0]="unsetKeyFormat",HIc[1]="tinkKeyset",HIc[2]="tinkAesGcmKey",HIc);
_.JIc=new _.Iq("drive_dataservice_builder");
_.KIc=new _.lHc("drive_dataservice_invariants");
_.LIc=new Map([[[1],1],[[6],7],[[2],2]]);_.MIc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.NIc=new Map([[12,function(a){return _.E(a,69)}],[24,function(a){return _.C(a,3,!1)}],[9,function(a){return _.C(a,17,!1)}],[21,function(a){return _.yM(a)}],[13,function(a){return _.E(a,60)}],[2,function(a){return _.C(a,8,!0)}],[6,function(a){return _.C(a,11,!1)}],[14,function(a){return a.HI()}],[16,function(a){return _.C(a,56,!1)}],[17,function(a){return _.C(a,57,!1)}],[18,function(a){return _.C(a,54,!1)}],[19,function(a){return _.C(a,53,!1)}],[23,function(a){return _.C(a,15,!1)}],[28,function(a){return _.C(a,
1,!1)}]]);_.OIc=new Map([[25,function(a){return _.C(a,1,!1)}],[26,function(a){return _.C(a,2,!1)}],[27,function(a){return _.C(a,3,!1)}],[29,function(a){return _.C(a,4,!1)}],[30,function(a){return _.C(a,5,!1)}],[31,function(a){return _.C(a,6,!1)}]]);_.PIc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.QIc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[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],[[225],225],[[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]]);_.RIc=new Map([[[2],3],[[1],2],[[0],1]]);_.SIc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.TIc=new Map([[[_.yGc],1],[[_.zGc],2],[[_.AGc],3],[[_.BGc],4],[[_.CGc],5],[[_.DGc],6],[[_.EGc],7],[[_.FGc],8],[[_.GGc],10],[[_.HGc],11],[[_.IGc],12],[[_.JGc],13]]);_.UIc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.VIc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12n");
_.DM=function(a){_.T(this,a,0,-1,WIc,null)};_.O(_.DM,_.K);var WIc=[8,17];_.DM.prototype.Xz=function(){return _.y(this,1)};_.DM.prototype.Mc=function(){return _.y(this,2)};_.EM=function(a,b){return _.x(a,2,b)};_.DM.prototype.yj=function(){return _.C(this,3,!1)};_.DM.prototype.getItem=function(){return _.B(this,_.Vl,4)};_.DM.prototype.setItem=function(a){return _.J(this,4,a)};_.DM.prototype.Cc=function(){return _.y(this,7)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12s");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12r");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12v");

_.t();

}catch(e){_._DumpException(e)}
try{
var XIc;XIc=[1];_.FM=function(a){_.T(this,a,0,-1,XIc,null)};_.O(_.FM,_.K);_.FM.prototype.V=function(){return _.md(this,1)};_.q("sy12p");
_.GM=function(a){_.T(this,a,0,-1,YIc,null)};_.O(_.GM,_.K);var YIc=[2];_.GM.prototype.Ib=function(){return _.y(this,1)};_.GM.prototype.Fc=function(a){return _.x(this,1,a)};_.GM.prototype.dk=function(){return _.Xk(this,_.Vl,2)};_.ZIc=function(a,b){return _.$k(a,2,b)};_.GM.prototype.Sp=function(a,b){return _.gl(this,2,a,_.Vl,b)};_.GM.prototype.getSessionId=function(){return _.B(this,_.$m,3)};_.GM.prototype.setSessionId=function(a){return _.J(this,3,a)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy135");

_.t();

}catch(e){_._DumpException(e)}
try{
_.$Ic=function(a){for(var b in a)delete a[b]};_.aJc=function(a){a=_.ag(a);return 0===a.length?_.ega:new _.ng(a,_.dga)};_.bJc=function(a,b){a=_.nj(a);b=_.nj(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.q("sy138");
/*

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

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12o");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy132");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy12u");

_.t();

}catch(e){_._DumpException(e)}
try{
_.HM=function(a,b){return _.x(a,82,b)};_.IM=function(a){return _.x(a,3,!0)};_.cJc=function(a,b){return _.x(a,7,b)};_.q("sy12k");
_.dJc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.eJc=_.Pf(_.dJc);
_.fJc=new Set([1,2,4,5,6]);
_.gJc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.hJc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.iJc=new Set([1004]);
_.jJc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.kJc=new Set([7,4,5,9,6,10,11,12]);
_.lJc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var JM,nJc;JM={};_.mJc=(JM[5]=0,JM[7]=1,JM[1]=2,JM[3]=3,JM[4]=4,JM[2]=5,JM[6]=6,JM);nJc={};_.oJc=(nJc[1]=0,nJc[2]=1,nJc[3]=2,nJc[4]=3,nJc);
var pJc;pJc={};_.qJc=(pJc[1]="active",pJc[2]="archived",pJc);
var rJc;rJc=function(a){return"kind,defaultAppIds,items("+a+")"};_.sJc=rJc("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");
_.tJc=rJc("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");
_.uJc=rJc("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");
_.vJc=new Set([5,4,1,6,2]);_.wJc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.xJc=function(a,b){return _.x(a,1,b)};_.yJc=function(a,b){return _.J(a,1,b)};_.zJc=function(a,b){return _.x(a,2,b)};_.AJc=function(a,b){return _.J(a,3,b)};_.q("sy139");

_.t();

}catch(e){_._DumpException(e)}
try{
_.BJc=function(a,b){return _.x(a,1,b)};_.CJc=function(a,b){return _.x(a,2,b)};_.DJc=function(a,b){return _.x(a,3,b)};_.q("sy13e");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy13c");

_.t();

}catch(e){_._DumpException(e)}
try{
_.q("sy13f");
var EJc=function(a,b){this.V=a;this.H=null;this.W=b};EJc.prototype.get=function(a){return this.Ut()[a]||null};EJc.prototype.set=function(a){this.Ut()[this.W(a)]=a;this.V=null};EJc.prototype.Ut=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var GJc,FJc;_.KM=function(a,b){this.H=a;this.V=b};
_.LM=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!FJc(a,b[e],c[e])){d=e;break b}d=-1}if(-1==d){if(b.length==c.length){d=[];break a}if(b.length>c.length){d=[];for(var f=e=c.length;f<b.length;f++)d.push(a.H.cI(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.eI(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&FJc(a,b[e],c[f]);e--,f--);f=b.length-1-e;var h=b.length-f;e=b.slice(d,h);h=c.length-f;f=c.slice(d,h);var k,l=[];
for(h=0;h<e.length+1;h++)l[h]=[],l[h][0]=0;for(k=0;k<f.length+1;k++)l[0][k]=0;for(h=1;h<=e.length;h++)for(k=1;k<=f.length;k++)FJc(a,e[h-1],f[k-1])?l[h][k]=l[h-1][k-1]+1:l[h][k]=Math.max(l[h-1][k],l[h][k-1]);var n=[];h=e.length;for(k=f.length;0<h||0<k;)0<h&&0<k&&FJc(a,e[h-1],f[k-1])?(k--,h--):0<k&&(0==h||l[h][k-1]>l[h-1][k])?(n.unshift(a.H.eI(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.cI(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.GI(e[h])),void 0!==f[k]){k=
f[k];l=a;var p=e[k],r=e[h];n=1==p.getType()?p:r;p=2==p.getType()?p:r;r=n.yh()||0;r>(p.yh()||0)&&--r;if(l=l.H.CN(l.H.GI(n),p.yh()||0,r))e[k]=l,e.splice(h,1),h--}else f[k]=h;f=[];if(null!=e)for(h=0;h<e.length;h++){n=e[h];p=n.yh()||0;r=n.Yv()||0;n.setPosition((n.yh()||0)+GJc(f,n.yh()||0));e[h].setPosition((e[h].yh()||0)+d);3==e[h].getType()&&(n.Fw((n.Yv()||0)+GJc(f,n.Yv()||0)),e[h].Fw((e[h].Yv()||0)+d));k=f;l=k.push;b:switch(n.getType()){case 1:n={offset:1,start:p,end:Number.MAX_VALUE};break b;case 2:n=
{offset:-1,start:p,end:Number.MAX_VALUE};break b;case 3:n=p>r?{offset:-1,start:r,end:p}:{offset:1,start:p,end:r};break b;default:n={offset:0,start:-1,end:-1}}l.call(k,n)}d=e}e=[];b=new EJc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&!_.jl(k,h)&&e.push(a.H.HL(h,f));return d.concat(e)};GJc=function(a,b){for(var c=0,d=0;d<a.length;d++)a[d].start<=b&&b<=a[d].end&&(c+=a[d].offset);return c};FJc=function(a,b,c){return a.V(b)==a.V(c)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.HJc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.HJc,_.K);_.HJc.prototype.getType=function(){return _.y(this,1)};_.IJc=function(a){var b=new _.HJc;return _.x(b,1,a)};_.g=_.HJc.prototype;_.g.getItem=function(){return _.B(this,_.Vl,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.Yv=function(){return _.y(this,3)};_.g.Fw=function(a){return _.x(this,3,a)};_.g.yh=function(){return _.y(this,4)};_.g.setPosition=function(a){return _.x(this,4,a)};_.q("sy13h");
var JJc=function(){};_.g=JJc.prototype;_.g.eI=function(a,b){return _.IJc(1).setItem(a).setPosition(b)};_.g.cI=function(a,b){return _.IJc(2).setPosition(b).setItem(a)};_.g.CN=function(a,b,c){return _.IJc(3).Fw(b).setPosition(c).setItem(a)};_.g.HL=function(a,b){return _.IJc(4).setItem(a).setPosition(b)};_.g.GI=function(a){return a.getItem()};
_.MM=function(){_.KM.call(this,new JJc,function(a){return a.getId()})};_.M(_.MM,_.KM);_.of(_.MM);

_.t();

}catch(e){_._DumpException(e)}
try{
_.NM=function(a,b){return _.x(a,33,b||[])};_.OM=function(a,b){return _.x(a,45,b)};_.KJc=function(a,b){return _.x(a,60,b)};_.LJc=function(a,b){return _.x(a,5,b)};_.Eb=function(a){_.Si.call(this,_.sc);this.error=a};_.M(_.Eb,_.Si);_.q("sy13g");
_.MJc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.PM=function(a,b){_.x(a,1,b)};_.q("sy13i");

_.t();

}catch(e){_._DumpException(e)}
try{
var NJc,OJc,SJc,WJc,XJc,YJc,qKc,MN,rKc,sKc,zKc,AKc,UJc,gLc,TJc,ELc,FLc,GLc,ILc,JLc,KLc,MLc,NLc,PLc,aMc,bMc,fMc,hMc,iMc,jMc,mMc,qMc,zMc,AMc,CMc,jKc,EMc,kKc,FMc,nO,pO,HMc,IMc,JMc,KMc,LMc,OMc,PMc,QMc,RMc,SMc,tKc,VMc,uKc,vKc,wKc,xKc,yKc,dNc,cNc,pNc,rNc,uNc,sNc,vNc,tNc,qNc,yNc,GNc,VNc,WNc,YNc,aOc,dOc,iOc,kOc,lOc,mOc,nOc,oOc,pOc,qOc,rOc,sOc,tOc,uOc,vOc,wOc,BOc,GOc,yOc,HOc,IOc,KOc,LOc,OOc,TOc,UOc,VOc,WOc,YOc,fOc,iPc,jPc,kPc,lPc,nPc,rPc,pPc,sPc,tPc,oPc,uPc,qPc,DPc,CPc,EPc,JPc,KPc,LPc,PPc,QPc,RPc,SPc,XMc;
_.QM=function(a,b,c){var d=new _.Cb,e=_.Di(_.QM);_.x(d,20,e);_.uM(d,a);_.tM(d,b?b:2);c&&_.gM(d,c);return d};_.RM=function(a){var b;a instanceof _.Cb?b=new _.Db(null,a):b=_.fM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("fb`"+a);b.stack||(b.stack=_.Di(_.RM));return b};
_.SM=function(a){return a instanceof _.Db?a:a instanceof _.Cb?new _.Db(void 0,a):a instanceof Error?new _.Db("Not a drive.ds.Error",void 0,a):new _.Db("Not an Error",void 0,Error("gb`"+JSON.stringify(a)))};_.TM=function(a){throw _.SM(a);};NJc=function(a){return 7==a.xj()||24==a.Xo()&&(a=a.sD(),503==a||429==a)?!0:!1};OJc=function(a,b){return b?b+"("+a+")":a};
_.UM=function(a,b,c){var d={},e=[];b&&e.push("kind");a.ngb&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.PJc.includes(n)){var p=_.G3a.get(n);if(p){var r=_.RA[n];a.SL&&r&&(p=r);a.ky&&(a.SL?(n=_.QA[n])&&(p=n):(n=_.H3a[n])&&(p=n));p.split(",").forEach(function(u){var z=_.Pga(u,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(u)})}}});for(var f={},h=_.v(Object.entries(d)),k=h.next();!k.done;f={z_:f.z_},k=h.next()){var l=_.v(k.value);k=l.next().value;l=l.next().value;
f.z_=[];l.forEach(function(n){return function(p){n.z_.push(p)}}(f));"owners"==k&&b&&f.z_.push("kind");e.push(OJc(f.z_.join(","),k))}return OJc(e.join(","),c)};_.QJc=function(a){var b=new _.Qq;b.append(_.UM(a,!0));return b.toString()};_.RJc=function(a,b){return a.filter(function(c){return b.includes(c)})};SJc=function(a){a=a.filter(function(b){return!_.G3a.has(b)});if(a.length)throw Error("Gc`"+a.join(", "));};
_.VJc=function(a){if(a){var b=a.$b();b&&_.bM(a,b.toLowerCase());TJc(a,_.Xk(a,UJc,58).map(function(c){var d=c.$b();d&&_.x(c,1,d.toLowerCase());return c}))}};_.VM=function(a){return a?"application/vnd.google-apps.shortcut"==a.$b():!1};_.WM=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.$b();return b&&_.VM(a)?(a=a.Kf(),!!a&&"application/vnd.google-apps.folder"==_.y(a,3)):"application/vnd.google-apps.folder"==c};
WJc=function(a){var b=a&&a.getId()||null;a&&_.VM(a)&&(a=(a=a.Kf())&&_.y(a,1))&&(b=a);return b};XJc=function(a,b){b&&(_.Rj(a,"openDrive",!!_.C(b,2,!1)),_.Rj(a,"reason",_.y(b,1)||0),_.Rj(a,"syncType",_.y(b,3)||0),_.Rj(a,"errorRecovery",!!_.C(b,4,!1)))};YJc=function(a){if(_.Lf(a))return"\r\n";var b="";_.Ef(a,function(c,d){b+=d+": "+c+"\r\n"});return b};
qKc=function(a){if(a instanceof _.XM)return"request access";if(a instanceof _.YM)return"admin migrate to TD";if(a instanceof _.ZM)return"authorize app";if(a instanceof _.$M)return"copy item";if(a instanceof _.aN)return"change category links";if(a instanceof _.bN)return"create item";if(a instanceof _.cN)return"create ws";if("undefined"!=typeof _.dN&&a instanceof _.dN)return"delete app";if("undefined"!=typeof _.eN&&a instanceof _.eN)return"delete backup";if(a instanceof _.fN)return"delete item";if("undefined"!=
typeof _.gN&&a instanceof _.gN)return"delete permission";if(a instanceof _.hN)return"delete revision";if(a instanceof _.iN)return"delete TD";if("undefined"!=typeof _.ME&&a instanceof _.ME)return"delete pref";if(a instanceof _.jN)return"delete ws";if(a instanceof _.kN)return"download item";if(a instanceof _.lN)return"empty trash";if(a instanceof _.Np)return"find by ID";if(a instanceof _.ZJc)return"item export start";if("undefined"!=typeof _.mN&&a instanceof _.mN)return"get app";if("undefined"!=typeof _.nN&&
a instanceof _.nN)return"insert app";if("undefined"!=typeof _.oN&&a instanceof _.oN)return"insert permission";if(a instanceof _.hM)return a=a.Bd(),_.pN(a)?"quick access item query":_.qN(a)?"people predict item query":_.rN(a)?"drive priority query":"item query";if("undefined"!=typeof _.sN&&a instanceof _.sN)return"list android backup items request";if(a instanceof _.tN){var b="unknown";switch(a.getType()){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+"]"}return"undefined"!=typeof _.uN&&a instanceof _.uN?"list backups":a instanceof _.BM?"list changes":a instanceof _.vN?"list permissions":"undefined"!=typeof _.wN&&a instanceof _.wN?"list revisions":a instanceof _.xN?"people api":a instanceof _.nH?"get published category":"undefined"!=typeof _.yN&&a instanceof _.yN?"get remaining changes":a instanceof _.zN?"remove item":"undefined"!=typeof _.AN&&a instanceof _.AN?"reparent item":a instanceof
_.$Jc?"restore item":"undefined"!=typeof _.CN&&a instanceof _.CN?"list suggested workspace items":a instanceof _.Up?"list suggested workspaces":"undefined"!=typeof _.DN&&a instanceof _.DN?"update app":a instanceof _.EN?"update category metadata":a instanceof _.zM?"update item":a instanceof _.FN?"update revision":a instanceof _.GN?"update TD":"undefined"!=typeof _.NE&&a instanceof _.NE?"update pref":a instanceof _.HN?"update ws":a instanceof _.IN?"get account":"undefined"!=typeof _.JN&&a instanceof
_.JN?"get workspace":a instanceof _.aKc?"list activity":a instanceof _.bKc?"list category metadata":a instanceof _.cKc?"create TD":"undefined"!=typeof _.dKc&&a instanceof _.dKc?"item export cancel":"undefined"!=typeof _.eKc&&a instanceof _.eKc?"item export status":"undefined"!=typeof _.fKc&&a instanceof _.fKc?"generate cse token":"undefined"!=typeof _.gKc&&a instanceof _.gKc?"get largest change ID":a instanceof _.hKc?"list prefs":a instanceof _.KN?"multipart upload":a instanceof _.iKc?"list published categories":
a instanceof jKc?"init resumable upload":a instanceof kKc?"resumable upload chunk":a instanceof _.lKc?"resumable upload":a instanceof _.Vp?"get TD":"undefined"!=typeof _.mKc&&a instanceof _.mKc?"move TD preflight":a instanceof _.LN?"list TDs":"undefined"!=typeof _.nKc&&a instanceof _.nKc?"get TD stats":a instanceof _.oKc?"test connection":"undefined"!=typeof _.pKc&&a instanceof _.pKc?"list workspaces":"unknown"};
MN=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};rKc=function(a){if(a instanceof _.bN||a instanceof _.KN||a instanceof _.lKc||a instanceof jKc||a instanceof kKc)return(new _.NN).Fc(8);throw Error("Se");};sKc=function(a){if(a instanceof _.zM){var b=_.Pk(_.Ok(_.kl(a),1),17);b=_.jl(b,_.lIc)}else b=!1;b||(a instanceof _.zM?(a=_.Pk(_.Ok(_.kl(a),1),17),b=_.jl(a,_.mIc)||_.jl(a,_.nIc)):b=!1);return b?!1:!0};
_.ON=function(a){return tKc.includes(a.constructor)?sKc(a):!1};zKc=function(a,b){return uKc.includes(a.constructor)||b&&(_.C(b,54,!1)&&vKc.includes(a.constructor)||wKc.includes(a.constructor)&&!_.PN(a)||_.C(b,56,!1)&&_.PN(a)||_.C(b,57,!1)&&xKc.includes(a.constructor)||!(!_.C(b,53,!1)||vKc.includes(a.constructor)||wKc.includes(a.constructor)||_.PN(a)||xKc.includes(a.constructor)||yKc.includes(a.constructor)))?!0:!1};
AKc=function(a,b,c){c=void 0===c?!1:c;var d=new _.Ij(_.D(b,16,"")+"/open"),e=a.getId();_.VM(a)&&c&&(e=WJc(a));_.Rj(d,"id",e);_.Rj(d,"authuser",_.wM(b.xf()));_.QN(b)&&a.XF()&&_.Rj(d,"resourcekey",_.dm(a));return d.toString()};_.BKc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.BKc,_.K);_.CKc=function(a){var b=new _.Kl;return _.x(b,1,a)};_.DKc=function(a,b){return _.x(a,7,b)};_.EKc=function(a,b){return _.x(a,8,b)};_.FKc=function(a,b){return _.x(a,1,b)};_.GKc=function(a,b){return _.x(a,4,b)};
_.HKc=function(a,b){return _.x(a,5,b)};_.IKc=function(a,b){return _.x(a,6,b)};_.JKc=function(a,b){return _.x(a,7,b)};_.KKc=function(a,b){return _.x(a,8,b)};_.LKc=function(a,b){return _.x(a,9,b)};_.MKc=function(a,b){return _.x(a,10,b)};_.NKc=function(a,b){return _.x(a,11,b)};_.OKc=function(a,b){return _.x(a,12,b)};_.PKc=function(a,b){return _.x(a,16,b)};_.QKc=function(a,b){return _.x(a,17,b)};_.RKc=function(a,b){return _.x(a,20,b)};_.SKc=function(a,b){return _.x(a,21,b)};
_.TKc=function(a,b){return _.x(a,31,b)};_.UKc=function(a,b){return _.x(a,32,b)};_.VKc=function(a,b){return _.x(a,33,b)};_.WKc=function(a,b){return _.x(a,42,b)};_.XKc=function(a,b){return _.x(a,43,b)};_.YKc=function(a,b){return _.x(a,46,b)};_.ZKc=function(a,b){return _.x(a,47,b)};_.$Kc=function(a,b){return _.x(a,48,b)};_.aLc=function(a,b){return _.x(a,51,b)};_.RN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.RN,_.K);_.SN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.SN,_.K);
_.SN.prototype.nx=function(){return _.y(this,4)};_.bLc=function(a,b){return _.x(a,1,b)};_.cLc=function(a,b){return _.x(a,2,b)};UJc=function(a){_.T(this,a,0,-1,null,null)};_.O(UJc,_.K);UJc.prototype.$b=function(){return _.y(this,1)};UJc.prototype.getUrl=function(){return _.y(this,2)};_.TN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.TN,_.K);_.TN.prototype.We=function(){return _.y(this,3)};_.TN.prototype.wg=function(a){return _.x(this,3,a)};_.dLc=function(a,b){return _.x(a,1,b)};
_.eLc=function(a,b){return _.$k(a,2,b)};_.fLc=function(a,b){return _.$k(a,3,b)};gLc=[2];_.UN=function(a){_.T(this,a,0,-1,gLc,null)};_.O(_.UN,_.K);_.UN.prototype.Bg=function(){return _.y(this,1)};_.UN.prototype.am=function(a){return _.x(this,1,a)};_.UN.prototype.$ka=function(a,b){return _.Vk(this,2,a,b)};_.VN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.VN,_.K);_.VN.prototype.We=function(){return _.y(this,2)};_.VN.prototype.wg=function(a){return _.x(this,2,a)};
_.WN=function(a,b){return _.x(a,2,b||[])};_.hLc=function(a,b){_.x(a,8,b)};_.iLc=function(a,b){return _.$k(a,15,b)};_.jLc=function(a,b){return _.J(a,17,b)};_.kLc=function(a,b){return _.x(a,19,b)};_.lLc=function(a,b){_.x(a,26,b)};_.mLc=function(a,b){_.x(a,31,b)};_.nLc=function(a,b){_.x(a,34,b)};_.oLc=function(a,b){return _.x(a,44,b)};_.pLc=function(a,b){return _.x(a,52,b)};TJc=function(a,b){_.$k(a,58,b)};_.qLc=function(a,b){return _.x(a,72,b)};_.rLc=function(a,b){_.J(a,85,b)};
_.sLc=function(a,b){return _.x(a,92,b)};_.tLc=function(a,b){return _.x(a,93,b)};_.XN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XN,_.K);_.XN.prototype.kb=function(){return _.y(this,1)};_.XN.prototype.Sb=function(a){return _.x(this,1,a)};_.XN.prototype.Ej=function(){return _.Ok(this,1)};_.XN.prototype.Dg=function(){return _.Ck(this,1)};var uLc=[3],vLc=function(a){_.T(this,a,0,-1,uLc,null)};_.O(vLc,_.K);
vLc.prototype.V=function(){var a=_.y(this,3);this.Pa||(this.Pa={});if(!this.Pa[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Pa[3]=!0}_.Bk(this)&&_.Dk(a);return a};vLc.prototype.ka=function(a){return _.x(this,3,a||[])};var wLc=[3],xLc=function(a){_.T(this,a,0,-1,wLc,null)};_.O(xLc,_.K);xLc.prototype.V=function(){return _.md(this,3)};xLc.prototype.ka=function(a){return _.x(this,3,a||[])};var yLc=[3],zLc=function(a){_.T(this,a,0,-1,yLc,null)};_.O(zLc,_.K);
zLc.prototype.V=function(){return _.md(this,3)};zLc.prototype.ka=function(a){return _.x(this,3,a||[])};_.YN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.YN,_.K);_.YN.prototype.kb=function(){return _.y(this,1)};_.YN.prototype.Sb=function(a){return _.x(this,1,a)};_.YN.prototype.Ej=function(){return _.Ok(this,1)};_.YN.prototype.Dg=function(){return _.Ck(this,1)};_.ZN=function(a){return _.Xk(a,_.Le,6)};_.$N=function(a){return _.Xk(a,_.kc,12)};_.aO=function(a){return _.Gk(a,45,1)};
_.pN=function(a){return _.C(a,47,!1)};_.qN=function(a){return _.C(a,49,!1)};_.rN=function(a){return _.C(a,52,!1)};_.bO=function(a){return _.D(a,2,"")};_.ALc=function(a,b){return _.x(a,27,b||[])};_.cO=function(a){return _.Gk(a,39,0)};_.dO=function(a){return _.C(a,40,!1)};_.eO=function(a){return _.C(a,49,!1)};_.QN=function(a){return _.C(a,89,!1)};_.BLc=function(a){return _.Aw.prototype.PT.call(a,!0)+"T"+_.Tg(a.getHours(),2)+":"+_.Tg(a.getMinutes(),2)+":"+_.Tg(a.getSeconds(),2)+a.j3()};
_.CLc=function(a,b){return _.x(a,18,b||[])};_.DLc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.DLc,_.K);ELc=[3,4,10,18,19,28];_.bN=function(a){_.T(this,a,0,-1,ELc,null)};_.O(_.bN,_.K);_.g=_.bN.prototype;_.g.$b=function(){return _.y(this,1)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.vB=function(a,b){_.Vk(this,3,a,b)};_.g.De=function(){return _.B(this,_.Te,7)};_.g.Wt=function(){return _.C(this,13,!1)};_.g.Cc=function(){return _.y(this,14)};
_.g.Mc=function(){return _.y(this,23)};_.g.nx=function(){return _.y(this,24)};_.fO=function(a,b){return _.x(a,1,b)};_.gO=function(a,b){return _.x(a,3,b||[])};_.hO=function(a){return _.y(a,9)};_.fN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.fN,_.K);_.fN.prototype.getId=function(){return _.y(this,1)};_.fN.prototype.Ub=function(a){return _.x(this,1,a)};_.fN.prototype.De=function(){return _.B(this,_.Te,3)};_.iN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.iN,_.K);
_.iN.prototype.getId=function(){return _.y(this,1)};_.iN.prototype.Ub=function(a){return _.x(this,1,a)};_.iN.prototype.De=function(){return _.B(this,_.Te,2)};FLc=[7,8];_.GN=function(a){_.T(this,a,0,-1,FLc,null)};_.O(_.GN,_.K);_.g=_.GN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.De=function(){return _.B(this,_.Te,4)};_.g.cca=function(){return _.E(this,12)};
_.g.i3=function(){return _.E(this,13)};_.g.zm=function(){return _.E(this,15)};_.LN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.LN,_.K);_.LN.prototype.getOptions=function(){return _.B(this,_.fGc,1)};_.LN.prototype.ao=function(){return _.y(this,2)};_.LN.prototype.Bd=function(){return _.B(this,_.eM,3)};GLc=function(a,b){return _.OGc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.HLc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.rM(c,"deleting object store "+b);}};
ILc=function(){var a=new _.QHc;a.W=12E4;a.ta=!0;return a};
JLc={CacheSize:"Number of items currently in the in-memory cache.",SecondaryFields:"List of secondary fields",CachedCorpusType:"Type of corpus cached (folder, linked, subscribed, 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."};
KLc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};_.LLc=function(a){if(_.Uka)return _.m.atob(a);var b="";_.Wka(a,function(c){b+=String.fromCharCode(c)});return b};MLc=[2,3];_.aN=function(a){_.T(this,a,0,-1,MLc,null)};_.O(_.aN,_.K);_.aN.prototype.Cc=function(){return _.y(this,1)};_.aN.prototype.De=function(){return _.B(this,_.Te,4)};_.iO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.iO,_.K);_.g=_.iO.prototype;_.g.getId=function(){return _.y(this,1)};
_.g.Ub=function(a){return _.x(this,1,a)};_.g.$b=function(){return _.y(this,2)};_.g.Wt=function(){return _.E(this,4)};_.g.zF=function(){return _.y(this,8)};NLc=[22];_.NN=function(a){_.T(this,a,0,-1,NLc,null)};_.O(_.NN,_.K);_.g=_.NN.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.getItem=function(){return _.B(this,_.Vl,2)};_.g.setItem=function(a){return _.J(this,2,a)};_.g.Vj=function(){return _.y(this,3)};_.g.Mc=function(){return _.y(this,5)};
_.OLc=function(a,b){return _.x(a,5,b)};_.g=_.NN.prototype;_.g.KD=function(){return _.y(this,7)};_.g.P7=function(a){return _.x(this,7,a)};_.g.Jna=function(a){_.x(this,9,a)};_.g.lFa=function(a){_.x(this,10,a)};_.g.qM=function(){return _.y(this,16)};_.g.B7=function(a){return _.x(this,16,a)};_.XM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XM,_.K);_.XM.prototype.Mc=function(){return _.y(this,1)};_.YM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.YM,_.K);
_.YM.prototype.getId=function(){return _.y(this,1)};_.YM.prototype.Ub=function(a){return _.x(this,1,a)};_.YM.prototype.Wj=function(){return _.y(this,2)};_.ZM=function(a){_.T(this,a,0,-1,null,null)};_.O(_.ZM,_.K);_.ZM.prototype.Mc=function(){return _.y(this,2)};_.ZM.prototype.De=function(){return _.B(this,_.Te,4)};PLc=[3,7];_.$M=function(a){_.T(this,a,0,-1,PLc,null)};_.O(_.$M,_.K);_.g=_.$M.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};
_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.vB=function(a,b){_.Vk(this,3,a,b)};_.g.De=function(){return _.B(this,_.Te,5)};_.cN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.cN,_.K);_.cN.prototype.getTitle=function(){return _.y(this,1)};_.cN.prototype.setTitle=function(a){return _.x(this,1,a)};_.cN.prototype.De=function(){return _.B(this,_.Te,2)};_.hN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.hN,_.K);
_.hN.prototype.Mc=function(){return _.y(this,1)};_.hN.prototype.De=function(){return _.B(this,_.Te,3)};_.jN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.jN,_.K);_.jN.prototype.getId=function(){return _.y(this,1)};_.jN.prototype.Ub=function(a){return _.x(this,1,a)};_.jN.prototype.De=function(){return _.B(this,_.Te,3)};_.lN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.lN,_.K);_.lN.prototype.De=function(){return _.B(this,_.Te,1)};_.zN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.zN,_.K);_.g=_.zN.prototype;
_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Sg=function(a){return _.x(this,2,a)};_.g.De=function(){return _.B(this,_.Te,3)};_.$Jc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.$Jc,_.K);_.g=_.$Jc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.y(this,2)};_.g.Sg=function(a){return _.x(this,2,a)};_.g.De=function(){return _.B(this,_.Te,3)};
_.FN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.FN,_.K);_.FN.prototype.Mc=function(){return _.y(this,1)};_.FN.prototype.Wt=function(){return _.E(this,3)};_.FN.prototype.De=function(){return _.B(this,_.Te,4)};_.HN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.HN,_.K);_.g=_.HN.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};
_.g.getState=function(){return _.y(this,3)};_.g.Ud=function(a){return _.x(this,3,a)};_.g.Iq=function(){return _.Ck(this,3)};_.g.De=function(){return _.B(this,_.Te,5)};var QLc=function(a){_.T(this,a,0,-1,null,null)};_.O(QLc,_.K);_.RLc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.RLc,_.K);_.RLc.prototype.zf=function(){return _.y(this,1)};_.RLc.prototype.Ib=function(){return _.y(this,4)};_.RLc.prototype.Fc=function(a){return _.x(this,4,a)};var SLc=function(a){_.T(this,a,0,-1,null,null)};_.O(SLc,_.K);
var TLc=function(a,b){_.x(a,6,b)},ULc=function(a){_.T(this,a,0,-1,null,null)};_.O(ULc,_.K);_.g=ULc.prototype;_.g.Q3a=function(a){_.x(this,1,a)};_.g.xyb=function(a){_.x(this,2,a)};_.g.Ky=function(){return _.E(this,3)};_.g.R3a=function(a){_.x(this,3,a)};_.g.eyb=function(a){_.x(this,4,a)};var VLc=function(a){_.T(this,a,0,-1,null,null)};_.O(VLc,_.K);VLc.prototype.Ky=function(){return _.E(this,2)};var WLc=function(a,b){return _.x(a,2,b)},XLc=function(a,b){_.x(a,3,b)};
VLc.prototype.Iy=function(){return _.y(this,6)};var YLc=function(a,b){return _.x(a,8,b)},ZLc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZLc,_.K);ZLc.prototype.Bd=function(){return _.B(this,_.RLc,1)};ZLc.prototype.getState=function(){return _.B(this,SLc,2)};ZLc.prototype.Ud=function(a){return _.J(this,2,a)};ZLc.prototype.Iq=function(){return _.Ck(this,2)};var $Lc=function(a){_.T(this,a,0,-1,null,null)};_.O($Lc,_.K);$Lc.prototype.getEnvironment=function(){return _.y(this,2)};
$Lc.prototype.setEnvironment=function(a){return _.x(this,2,a)};_.PJc=[42,1005,20,50,18,1003,1002];aMc=[73,71];bMc=function(a){var b=new _.vi;a.listen("loadend",_.Ra(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Qd(f):c.callback(e);d.dispose()},b,a));return b};_.cMc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};_.dMc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.dMc,_.K);_.g=_.dMc.prototype;_.g.getKey=function(){return _.y(this,1)};_.g.kb=function(){return _.y(this,2)};
_.g.Sb=function(a){return _.x(this,2,a)};_.g.Ej=function(){return _.Ok(this,2)};_.g.Dg=function(){return _.Ck(this,2)};_.g.Bg=function(){return _.y(this,3)};_.g.am=function(a){return _.x(this,3,a)};_.g.getType=function(){return _.y(this,4)};_.jO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.jO,_.K);_.jO.prototype.kr=function(){return _.B(this,_.rD,1)};_.eMc=function(a,b){return _.J(a,1,b)};_.jO.prototype.ao=function(){return _.y(this,3)};fMc=[3,4];_.tN=function(a){_.T(this,a,0,-1,fMc,null)};
_.O(_.tN,_.K);_.tN.prototype.getType=function(){return _.y(this,1)};_.tN.prototype.De=function(){return _.B(this,_.Te,2)};_.gMc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.gMc,_.K);_.gMc.prototype.getId=function(){return _.y(this,1)};_.gMc.prototype.Ub=function(a){return _.x(this,1,a)};_.gMc.prototype.De=function(){return _.B(this,_.Te,2)};_.vN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.vN,_.K);_.vN.prototype.ao=function(){return _.y(this,2)};
_.vN.prototype.Bd=function(){return _.B(this,_.gMc,3)};hMc=[1];_.xN=function(a){_.T(this,a,0,-1,hMc,null)};_.O(_.xN,_.K);_.xN.prototype.Am=function(){return _.md(this,1)};_.IN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.IN,_.K);_.IN.prototype.De=function(){return _.B(this,_.Te,1)};_.IN.prototype.Lg=function(){return _.y(this,4)};iMc=[2];_.EN=function(a){_.T(this,a,0,-1,iMc,null)};_.O(_.EN,_.K);_.EN.prototype.Mc=function(){return _.y(this,1)};_.EN.prototype.JQ=function(){return _.Xk(this,_.AMb,2)};
_.EN.prototype.De=function(){return _.B(this,_.Te,3)};_.kN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.kN,_.K);_.kN.prototype.getId=function(){return _.y(this,1)};_.kN.prototype.Ub=function(a){return _.x(this,1,a)};_.kN.prototype.XF=function(){return _.Ck(this,3)};jMc=[1];_.ZJc=function(a){_.T(this,a,0,-1,jMc,null)};_.O(_.ZJc,_.K);var kMc=function(a){_.Si.call(this,a);_.$Hc.get(a)};_.M(kMc,_.Si);
_.lMc=function(){var a=void 0===a?1E3:a;this.V=new _.Um;this.H=new _.Um;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.nMc=function(a){var b=a.V.Og();a.W&&b.push(mMc("...","...","...","..."));_.va(b,a.H.Og());return b};_.oMc=function(a){var b=[];a=_.nMc(a);for(var c=0;c<a.length;c++){var d=a[c];b.push(d.totalTime+"\t|\t"+d.level+"\t|\t"+d.logName+"\t|\t"+d.message)}return b.join("\n")};_.lMc.prototype.info=function(a,b){_.kO(this,a,b,"info")};
_.lMc.prototype.config=function(a,b){_.kO(this,a,b,"config")};_.lMc.prototype.log=function(a,b,c){_.kO(this,a,b,c)};_.kO=function(a,b,c,d){a.H.tc()>=a.ka&&(a.W=!0,_.Vm(a.H));var e=Date.now()-a.ma;b=mMc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.tc()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};mMc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.pMc=function(){this.H={}};qMc=function(a,b,c){if(a.H[b])throw Error("Oe");a.H[b]=c};
_.pMc.prototype.notify=function(a,b){for(var c=0;c<a.length;c++)if(this.H[a[c]])try{this.H[a[c]](b)}catch(d){_.m.setTimeout(function(){throw d;},0)}};var rMc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},sMc=function(a){_.Si.call(this,"Ab");this.request=a};_.M(sMc,_.Si);var lO=function(){_.R.apply(this,arguments)};_.M(lO,_.R);var tMc=function(a,b){a.dispatchEvent(new sMc(b))};lO.prototype.W=function(){};_.uMc=function(a){lO.call(this);this.H=a};_.M(_.uMc,lO);
_.uMc.prototype.V=function(a){var b=!1;_.VHc(_.vM(a.Ew[a.Ew.length-1].response))&&(this.H.va(),b=!0);return b&&2>a.Ew.length?(tMc(this,a),!0):!1};var mO=function(a){_.R.call(this);this.ha=a};_.M(mO,_.R);_.g=mO.prototype;_.g.max=function(){};_.g.OY=function(){};_.g.sva=function(){};_.g.BPa=function(){};_.g.cNa=function(){};_.g.APa=function(){};_.g.jE=function(){this.dispatchEvent(new _.Si("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
var vMc=function(a){_.Si.call(this,"Cb");this.Vy=a};_.M(vMc,_.Si);vMc.prototype.Ze=function(){return this.Vy};_.wMc=function(a,b){mO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.ze(this);this.Na(this.H);this.H.listen(this.W,"Cb",function(d){d.Ze()||c.jE()});this.H.listen(this.V,"xa",this.jE)};_.M(_.wMc,mO);_.wMc.prototype.max=function(){var a=this.W.Ze(),b=this.V.H;return!a&&b?Infinity:0};_.wMc.prototype.OY=function(){this.jE()};
_.xMc=function(a,b,c){this.H=new _.sI(a,b,.5);this.W=c;this.V=!0};_.yMc=function(a,b){mO.call(this,"Backoff");this.H=a;this.V=b};_.M(_.yMc,mO);_.yMc.prototype.max=function(){return this.H.V?Infinity:0};_.yMc.prototype.cNa=function(){this.H.H.reset()};_.yMc.prototype.APa=function(a){var b=this;zMc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.kb(),AMc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){AMc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.jE()},a),_.tI(this.H.H))};
zMc=function(a){a=a.Ew.length&&_.ba(a.Ew).response;return!!(a&&a instanceof _.Cb&&NJc(a))};AMc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.BMc=function(a,b){mO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.M(_.BMc,mO);_.BMc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.BMc.prototype.OY=function(a){a>=this.V?this.jE():null==this.H&&CMc(this)};_.BMc.prototype.sva=function(a,b){0<b?CMc(this):this.H=null};
CMc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.jE.bind(a),a.W)};_.aKc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.cKc=function(a){this.request=a;this.requestId=_.Vg()};_.DMc=function(a,b,c,d){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d};_.hKc=function(a,b){this.request=a;this.H=b};_.KN=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.lKc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};
jKc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};EMc=function(a,b,c){this.Lkb=a;this.Vwb=b;this.O2a=c};kKc=function(a,b,c,d,e,f,h){this.ka=a;this.H=b;this.ha=c;this.W=d;this.V=e;this.contentType=f;this.revisionId=h};_.oKc=function(a){this.H=a};_.bKc=function(a,b){this.request=a;this.pageToken=b||""};_.iKc=function(a,b){this.request=a;this.pageToken=b||""};FMc=function(a,b){this.V$=a;this.JG=b};nO=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.oO=function(a,b,c){a.VM.length&&a.append(" "+(c||"and")+" ");a.append(b)};pO=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(nO(c));e.push("in");e.push(b);_.oO(a,e.join(" "))}};_.qO=function(a,b,c,d){d=void 0===d?"and":d;if(null!=c){var e=[];e.push(b);e.push("=");e.push((!!c).toString());_.oO(a,e.join(" "),d)}};_.GMc=function(a){var b=new _.fIc;b.setTime(a);return b};HMc=function(a,b){b=_.Xk(b,_.XN,35)||[];_.Ga(b,function(c){pO(a,"ancestors",c.kb(),!1)})};
IMc=function(a,b){b=_.Xk(b,_.XN,38)||[];_.Ga(b,function(c){pO(a,"descendants",c.kb(),!1)})};JMc=function(a,b){b=_.Xk(b,_.im,37)||[];_.Ga(b,function(c){pO(a,"folderFeatures",c.kb(),!1)})};KMc=function(a,b){b=_.md(b,39);_.Ga(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(nO(c));_.oO(a,d.join(" "))})};LMc=function(a,b){b=_.md(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(nO(b));_.oO(a,c.join(" "))}};
_.MMc=function(a){a=_.Xk(a,_.YN,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].kb());return b.join(",")};_.NMc=function(a){a=a.$v();return null==a||0==a.length?"":_.Ee(a,function(b){b=_.y(b,1);if(0==b)throw Error("Pe");return _.NFc[b]}).join(",")};
OMc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=nO(a.kb());_.E(a,4)?(_.C(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.C(a,2,!1)&&d.push("not"),d.push("mimeType"));d.push("=");d.push(e);d[0]=b+d[0];d[d.length-1]+=c;return d.join(" ")};PMc=function(a){if(_.E(a,2))return"any";switch(a.kb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
QMc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};RMc=function(a,b,c){if(null!=_.y(c,2)){var d=QMc(_.y(c,1));c=nO(_.BLc(_.GMc(_.y(c,2)||0)));_.oO(a,[b,d,c].join(" "))}};SMc=function(a){switch(a){case 1:return"anyoneCanFind";case 2:return"anyoneWithLink";case 3:return"domainCanFind";case 4:return"domainWithLink";case 5:return"limited"}return""};
_.TMc=function(a){for(var b=new _.Qq,c=_.Xk(a,_.km,4),d=0;d<c.length;d++){var e=c[d],f=e.kb();if(f){var h=_.y(e,1),k=_.C(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(nO(f));_.oO(b,l.join(" "))}}for(var n=_.Xk(a,_.jm,5),p=0;p<n.length;p++){var r=n[p],u=r.kb();if(u){var z=[];_.C(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(nO(u));_.oO(b,z.join(" "))}}var A=_.ZN(a);if(A&&0!=A.length){for(var F=[],L=[],I=0;I<A.length;I++){var P=A[I];
P.kb()&&(_.C(P,2,!1)?L.push(P):F.push(P))}for(var S=0;S<F.length;S++){var da=OMc(F[S],0==S?"(":"",S==F.length-1?")":"");_.oO(b,da,0!=S?"or":"and")}for(var ca=0;ca<L.length;ca++)_.oO(b,OMc(L[ca],0==ca?"(":"",ca==L.length-1?")":""))}for(var za=_.Xk(a,_.hm,7),oa=0;oa<za.length;oa++)RMc(b,"modifiedDate",za[oa]);for(var la=_.Xk(a,_.hm,8),La=0;La<la.length;La++)RMc(b,"lastViewedByMeDate",la[La]);_.qO(b,"trashed",a.ai());_.qO(b,"explicitlyTrashed",_.E(a,17));_.qO(b,"starred",_.E(a,10));_.qO(b,"hidden",a.zm());
for(var Oa=_.$N(a),xb=0;xb<Oa.length;xb++){var jb=Oa[xb];pO(b,"parents",jb.kb(),_.C(jb,2,!1))}for(var ec=_.Xk(a,_.Je,13),sd=0;sd<ec.length;sd++){var le=ec[sd];pO(b,"owners",le.kb(),_.C(le,2,!1))}for(var gf=_.Xk(a,_.Je,14),ae=0;ae<gf.length;ae++){var bf=gf[ae];pO(b,"writers",bf.kb(),_.C(bf,2,!1))}for(var rg=_.Xk(a,_.Je,15),hh=0;hh<rg.length;hh++){var qd=rg[hh];pO(b,"readers",qd.kb(),_.C(qd,2,!1))}_.E(a,16)&&_.oO(b,"sharedWithMe");_.qO(b,"unparented",_.E(a,34));HMc(b,a);IMc(b,a);JMc(b,a);KMc(b,a);for(var Rh=
_.md(a,40),wf=0;wf<Rh.length;wf++){var Yf=[];0==wf&&Yf.push("(");Yf.push(nO(Rh[wf]));Yf.push("in");Yf.push("templateData.categories");wf==Rh.length-1&&Yf.push(")");_.oO(b,Yf.join(" "),0==wf?"and":"or")}var Ob=_.y(a,41);if(null!=Ob){var ig=[];ig.push("templateData.galleryState");ig.push("=");ig.push(nO(_.hIc[Ob]||""));_.oO(b,ig.join(" "))}var Zi=_.y(a,42);if(null!=Zi){var Kk=[];Kk.push("visibility");Kk.push("=");Kk.push(nO(SMc(Zi)));_.oO(b,Kk.join(" "))}for(var po=_.Xk(a,_.em,44),qo=0;qo<po.length;++qo){var xf=
po[qo];pO(b,"actionItems",PMc(xf),_.C(xf,3,!1))}if(_.Ck(a,50)){var Zf=[];Zf.push("pairedDocType");var Gg=_.C(a,50,!1)?"!=":"=";Zf.push(Gg);Zf.push(nO("NONE"));_.oO(b,Zf.join(" "))}pO(b,"workspaceIds",_.y(a,54),!1);for(var $i=_.Xk(a,_.fm,57),Km=0;Km<$i.length;Km++){var al=[];0==Km&&al.push("(");al.push(nO($i[Km].kb()));al.push("in");al.push("approvals");Km==$i.length-1&&al.push(")");_.oO(b,al.join(" "),0==Km?"and":"or")}if(_.Ck(a,58)){var vl=_.B(a,_.Je,58),Wl=vl.kb(),aj=_.C(vl,2,!1);if(Wl){var Wj=
[];aj&&Wj.push("not");Wj.push("creator");Wj.push("=");Wj.push(nO(Wl));_.oO(b,Wj.join(" "))}}var Hg=_.B(a,_.kna,59);if(Hg)for(var si=_.v(_.Xk(Hg,_.ina,1)),wl=si.next();!wl.done;wl=si.next()){var bj=wl.value;pO(b,"categoryMetadata",bj.Wl());for(var Xj=_.v(bj.wm()),sg=Xj.next();!sg.done;sg=Xj.next()){var Jh=sg.value,ti=_.y(Jh,1),bl=_.Ak(Jh,_.gm[0]);if(10==bl){_.B(Jh,_.$ma,10);var Lm=_.E(Jh,15);(void 0===Lm?0:Lm)?_.oO(b,ti+" is null"):_.oO(b,"not ("+ti+" is null)")}else{var ih=new _.Qq,ci=void 0;switch(bl){case 3:ci=
_.B(Jh,vLc,3);for(var wd=_.v(ci.V()),cl=wd.next();!cl.done;cl=wd.next())_.qO(ih,ti,cl.value,"or");break;case 14:for(var cj=ci=_.B(Jh,_.Tma,14),mp=new Map([[1,"="],[2,">"],[3,"<"]]),xl=_.v(cj.V()),yl=xl.next();!yl.done;yl=xl.next()){var Mm=yl.value,Yj=mp.get(_.y(cj,2));if(!Yj)throw Error("Qe");var rh=[ti,Yj,nO(Mm.getYear()+"-"+Mm.getMonth()+"-"+Mm.getDay())];_.oO(ih,rh.join(" "),"or")}break;case 8:for(var zl=ci=_.B(Jh,_.Zma,8),un=new Map([[1,"="],[2,">"],[3,"<"]]),xh=_.v(zl.V()),di=xh.next();!di.done;di=
xh.next()){var Gi=di.value,Sh=un.get(_.y(zl,2));if(!Sh)throw Error("Qe");_.oO(ih,[ti,Sh,Gi].join(" "),"or")}break;case 9:for(var Xl=ci=_.B(Jh,xLc,9),ro=new Map([[1,"in"]]),np=_.v(Xl.V()),Al=np.next();!Al.done;Al=np.next()){var Nm=Al.value,so=ro.get(_.y(Xl,2));if(!so)throw Error("Qe");_.oO(ih,[Nm,so,ti].join(" "),"or")}break;case 6:for(var Yl=ci=_.B(Jh,_.dna,6),to=new Map([[1,"="]]),op=_.v(Yl.V()),Lk=op.next();!Lk.done;Lk=op.next()){var $f=Lk.value,Om=to.get(_.y(Yl,2));if(!Om)throw Error("Qe");_.oO(ih,
[ti,Om,nO($f)].join(" "),"or")}break;case 7:for(var pp=ci=_.B(Jh,_.bna,7),mq=new Map([[1,"in"]]),dl=_.v(pp.V()),uo=dl.next();!uo.done;uo=dl.next()){var nq=uo.value,qp=mq.get(_.y(pp,2));if(!qp)throw Error("Qe");_.oO(ih,[nO(nq),qp,ti].join(" "),"or")}break;case 4:for(var qk=ci=_.B(Jh,_.fna,4),Aj=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),Dt=_.v(qk.V()),rp=Dt.next();!rp.done;rp=Dt.next()){var sp=rp.value,Et=Aj.get(_.y(qk,2));if(!Et)throw Error("Qe");_.oO(ih,[ti,Et,nO(sp)].join(" "),"or")}break;
case 5:for(var Ux=ci=_.B(Jh,zLc,5),aC=new Map([[1,"in"]]),qf=_.v(Ux.V()),Vx=qf.next();!Vx.done;Vx=qf.next()){var iF=Vx.value,el=aC.get(_.y(Ux,2));if(!el)throw Error("Qe");_.oO(ih,[nO(iF),el,ti].join(" "),"or")}break;case 12:for(var sJ=ci=_.B(Jh,_.Xma,12),Ft=new Map([[1,"="]]),jF=_.v(sJ.V()),us=jF.next();!us.done;us=jF.next()){var bC=us.value,kF=Ft.get(_.y(sJ,2));if(!kF)throw Error("Qe");_.oO(ih,[ti,kF,nO(bC)].join(" "),"or")}break;case 11:for(var lF=ci=_.B(Jh,_.Vma,11),F$=new Map([[1,"in"]]),tJ=_.v(lF.V()),
cC=tJ.next();!cC.done;cC=tJ.next()){var G$=cC.value,rT=F$.get(_.y(lF,2));if(!rT)throw Error("Qe");_.oO(ih,[nO(G$),rT,ti].join(" "),"or")}}_.E(Jh,15)?_.oO(b,"not ("+ih+")"):_.oO(b,1<ci.V().length?"("+ih+")":""+ih)}}}_.E(a,60)&&_.qO(b,"canChangeSecurityUpdateEnabled",_.E(a,60));1==_.aO(a)&&LMc(b,a);return b.toString()};
_.UMc=function(a){var b=new _.Qq(_.TMc(a));_.pN(a)?_.oO(b,"isQuickAccessRequest"):_.qN(a)?_.oO(b,"isPeoplePredictRequest"):_.rN(a)&&_.oO(b,"isDrivePriorityRequest");var c=a.Jd();if(c){var d=[];d.push("sortBy");d.push(_.cIc[c.getType()]);d.push(_.jIc[c.ih()]);_.E(c,3)&&d.push("foldersFirst");_.oO(b,d.join(" "))}_.qO(b,"domainSearch",_.E(a,18));_.qO(b,"offline",_.E(a,19));_.Xk(a,_.YN,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.MMc(a)),_.oO(b,c.join(" ")));a.$v().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.NMc(a)),_.oO(b,c.join(" ")));if(c=_.aO(a))d=[],d.push("corpora"),d.push("="),d.push(nO(_.cMc[c])),_.oO(b,d.join(" "));1!=_.aO(a)&&LMc(b,a);_.C(a,48,!1)&&_.oO(b,"cachedOnly");return b.toString()};_.PN=function(a){if(a instanceof _.hM)a=a.Bd();else if(!a)return!1;return a instanceof _.Up||"undefined"!=typeof _.CN&&a instanceof _.CN||"undefined"!=typeof _.rO&&a instanceof _.rO||a instanceof _.Ge&&(_.pN(a)||_.qN(a)||_.rN(a))};
tKc=[_.XM,_.ZM,_.YM,_.aN,_.$M,_.bN,_.cN,_.fN,_.hN,_.iN,_.jN,_.lN,_.zN,_.$Jc,_.EN,_.zM,_.FN,_.GN,_.HN,_.cKc,_.KN];VMc=[_.BM];uKc=[_.nH,_.iKc];vKc=[_.vN,_.IN,_.hKc,_.LN];wKc=[_.hM,_.Np,_.BM,_.bKc];xKc=[_.LN,_.Vp];yKc=[_.kN,_.ZJc,_.tN,_.xN,_.aKc,_.KN,kKc,jKc];_.sO=function(){this.Rq=[]};_.sO.prototype.add=function(a,b){b?this.Rq.unshift(a):this.Rq.push(a);return!0};_.sO.prototype.H=function(a){return _.xa(this.Rq,0,a)};
_.sO.prototype.cancel=function(a){return _.ra(this.Rq,function(b){return b.yt.config.requestId==a?(b.Bj.resolve(rKc(b.yt.request)),!0):!1})};_.WMc=function(a){lO.call(this);this.H=a};_.M(_.WMc,lO);_.WMc.prototype.V=function(a){var b=_.vM(a.Ew[a.Ew.length-1].response),c=!1;if(2==b.Xo())b=this.H,XMc(b,3)&&_.YMc(b),c=!0;else if(_.VHc(b)){b=this.H;if(c=!b.H)c=b.Mb,c=!c.UJ&&c.isConnected()?c.ifa=!0:!1;c&&_.YMc(b);c=!0}return c&&2>a.Ew.length?(tMc(this,a),!0):!1};var ZMc=function(){mO.call(this,"Immediate")};
_.M(ZMc,mO);ZMc.prototype.max=function(){return Infinity};ZMc.prototype.OY=function(){this.jE()};var $Mc=function(){mO.call(this,"One Request")};_.M($Mc,mO);$Mc.prototype.max=function(){return 1};_.aNc=function(a){mO.call(this,"Online");var b=this;this.Gh=a;this.H=new _.ze(this);this.Na(this.H);this.H.listen(this.Gh,["wb","xb","yb"],function(){return b.jE()})};_.M(_.aNc,mO);_.aNc.prototype.max=function(){return this.Gh.isConnected()?Infinity:0};_.aNc.prototype.OY=function(){this.jE()};
_.tO=function(a){mO.call(this,"Parallel");this.V=a;this.H=0};_.M(_.tO,mO);_.tO.prototype.max=function(){return Math.max(0,this.V-this.H)};_.tO.prototype.OY=function(){this.H<this.V&&this.jE()};_.tO.prototype.sva=function(a){this.H+=a.length};_.tO.prototype.BPa=function(a){this.H-=a.length;this.H<this.V&&this.jE()};
_.uO=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.Ka=a;this.W=b;this.ha=new _.ze(this);this.Na(this.ha);this.H=c;for(a=0;a<c.length;a++)this.ha.listen(c[a],"Bb",this.ta);this.V=d;this.ma=e;for(c=0;c<e.length;c++)this.ha.listen(e[c],"Ab",function(k){bNc(h,!0,k.request)});this.Ma=_.py("drive.ds.network.queue.Queue [%s]",f);this.Ha=0;this.ka=new Map};_.M(_.uO,_.R);_.uO.prototype.add=function(a){return bNc(this,!1,{yt:a,Bj:_.qi(),Ew:[]})};
_.uO.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?cNc(this,"Canceled ID "+a+" during execution."):c&&cNc(this,"Canceled ID "+a+" inside bucket.");return b||c};var bNc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.Sr(new _.Cb,"No queue bucket accepted request."),_.mi(_.SM(a));for(var d=dNc(a),e=0;e<a.H.length;e++)a.H[e].OY(d);return c.Bj.promise};
_.uO.prototype.ta=function(){var a=dNc(this);if(a){for(var b=this.H.reduce(function(e,f){return Math.min(e,f.max(a))},Infinity),c=[],d=0;d<this.V.length&&0==c.length;d++)c=this.V[d].H(b);0<c.length&&(cNc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),eNc(this,c))}};
var eNc=function(a,b){var c=String(a.Ha++);a.ka.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Ea.bind(a,b[e]),a.Ba.bind(a,b[e]));e=dNc(a);for(var f=0;f<a.H.length;f++)a.H[f].sva(b,e);_.ri(_.pi(d).then(a.va.bind(a,b)),function(){a.ka.delete(c)});_.m.setTimeout(a.ta.bind(a),0)};
_.uO.prototype.Ea=function(a,b){var c=a.yt.config;cNc(this,qKc(a.yt.request)+" request completed successfully. xd4: "+!(!c||!c.AJ));this.H.forEach(function(d){return d.cNa()});this.ma.forEach(function(d){return d.W(a)});a.Bj.resolve(b)};
_.uO.prototype.Ba=function(a,b){b=_.SM(b);cNc(this,qKc(a.yt.request)+(" request failed with error: "+b.W+"."));a.Ew.push({response:b,EAb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].APa(a);a.yt.config.kga||!this.ma.some(function(d){return d.V(a)})?a.Bj.reject(b):cNc(this,qKc(a.yt.request)+" encountered an error, but was intercepted to be retried.")};_.uO.prototype.va=function(a){for(var b=0;b<this.H.length;b++)this.H[b].BPa(a)};
dNc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Rq.length){b=a.V[c].Rq.length;break}return b};cNc=function(a,b){a.Ka.info(a.Ma,b)};_.fNc=function(a,b,c,d){lO.call(this);this.ma=_.Hk(a,21,1E3);this.Ba=_.Hk(a,1,1);this.ha=b;this.ta=c;this.ka=d;this.H=new Map;this.va=function(){return new _.xMc(_.Hk(a,63,1E3),_.Hk(a,64,3E5),_.Hk(a,65,10))}};_.M(_.fNc,lO);
_.fNc.prototype.V=function(a){var b=a.Ew.length,c=0<b&&_.ba(a.Ew).response||null;if(c){c=_.vM(c);if(2==c.Xo()&&this.ta.Ze())return gNc(this,a);var d=c.xj();if(3==d||31==d||13==d||9==d)return hNc(this,a,b);if(NJc(c))return b=this.ha.H.H,c=this.ha,c.H.H<c.W?(iNc(this,"Backoff number "+b+" for a User Rate Limit error."),tMc(this,a),a=!0):(iNc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var gNc=function(a,b){var c=jNc(a,b),d=c.H.H;if(c.H.H<c.W)return iNc(a,"Retry "+(d+1)+" for a failed request due to an offline error."),d=c.H.kb(),_.m.setTimeout(function(){return tMc(a,b)},d),_.tI(c.H),!0;a.H.delete(b);return!1},jNc=function(a,b){a.H.has(b)||a.H.set(b,a.va());return a.H.get(b)},hNc=function(a,b,c){var d=a.Ba;if(c<=d)return iNc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return tMc(a,b)},a.ma*Math.pow(2,c)),!0;iNc(a,"Done retrying retriable requests after "+
d+" retries.");return!1};_.fNc.prototype.W=function(a){this.H.delete(a)};
var iNc=function(a,b){a.ka.info("drive.ds.network.queue.RetryInterceptor",b)},kNc=function(a){try{if("undefined"!=typeof FileReaderSync&&_.WHc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.vnb,d=bMc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.tnb(e,"reading data"))}},lNc=function(a){return kNc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},mNc=function(a,b,c,d,e,f,h){this.Wa=a;this.ha=b;this.ab=
c;this.ta=d;this.rb=e;this.Vb=f;this.Ma=h;a=_.B(f.request,_.DLc,15);a=_.WHc()&&a?_.y(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Ea=this.Ka=this.va=null;this.W=_.qi();this.ma=!1;this.Ha=h.requestId;this.ka="progress_"+this.Ha;h.Zwa=this.ka;this.Ba=this.Pa=0},nNc=function(a,b){a.ab.info("drive.ds.sync.request.ResumableUpload",b)};
mNc.prototype.start=function(){var a=this,b=new jKc(this.Vb.request,this.V,this.Vb.metadata),c=oNc(this);this.Wa.then(function(d){return d.H(b,c)}).then(function(d){a.va=d.Lkb;a.Ka=d.Vwb;a.Ea=d.O2a;pNc(a)},function(d){return void a.W.reject(d)});return _.ri(this.W.promise.then(function(d){qNc(a,d);return d},function(d){d=_.SM(d);qNc(a,d.Ug);return _.mi(d)}),function(){rMc(a.ha,[a.ka])})};var oNc=function(a){var b=_.Of(a.Ma);qMc(a.ha,a.ka,KLc(function(){return void a.ha.notify([a.Ha],0)}));return b};
mNc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(rKc(this.Vb)),!0)};pNc=function(a){a.ma||(nNc(a,"Uploading chunk "+a.Ba+" for "+a.va+"."),rNc(a,4))};
rNc=function(a,b){sNc(a).then(function(c){if(c){var d=tNc(a,c.H.size);if(d.kga){var e=(new _.NN).Fc(8);a.W.resolve(e)}else a.Wa.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ba++;f.KD()&&(a.Ka=f.KD());f.qM()&&(a.Ea=f.qM());a.H<a.V?pNc(a):a.W.resolve(f)},function(f){var h=_.vM(f);h.fra()||h.Dda()?uNc(a,b,h,!1):lNc(c.H).then(function(k){k=k?_.bEa.get(k)||25:38;_.gM(h,k);k=38==h.Xo();var l=38!=h.Xo()&&25!=h.Xo();uNc(a,b,h,k,l)},function(){})})}else e=_.SM(_.gM(_.Sr(new _.Cb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};uNc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Jna(f);!e&&0<b?(a.Pa++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;nNc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.va+"."));rNc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.SM(c))};
sNc=function(a){return vNc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new kKc(a.va,b,a.V,a.H,a.H+b.size-1,a.Vb.request.$b(),_.y(a.Vb.request,12)||void 0)})};vNc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.Vb.H?a.Vb.H(c,b):_.li(_.rGc(a.Vb.file,c,d))};tNc=function(a,b){var c=_.Of(a.Ma);c.ADa=!0;var d=a.H/a.V,e=b/a.V;rMc(a.ha,[a.ka]);qMc(a.ha,a.ka,function(f){a.ha.notify([a.Ha],d+e*f)});return c};
qNc=function(a,b){b.lFa(3);b.Jna(a.Pa);b.KD()||b.P7(a.Ka);b.qM()||b.B7(a.Ea)};_.wNc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.wNc.prototype.create=function(a,b){return new mNc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.xNc=function(a){this.V=a;this.H={}};
_.xNc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].yt.request instanceof _.lKc)b.push(yNc(this,a[c].yt));else{var d=_.Sr(new _.Cb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.SM(d)))}return b};_.xNc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.xNc.prototype.eNa=function(){return!_.Lf(this.H)};yNc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ri(d,function(){delete a.H[e]})};
_.zNc=function(a,b){return new _.uO(b,a,[new ZMc],[new _.sO],[],"immediate")};_.ANc=function(a,b,c,d,e,f,h){if(h){var k=new _.aNc(h.getState());d=new _.WMc(h)}else k=new _.wMc(c,d),d=new _.uMc(d);return new _.uO(f,a,[k,new _.yMc(e,f),new $Mc],[new _.sO],[d,new _.fNc(b,e,h?h.getState():c,f)],"connected")};
_.BNc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.Hk(b,10,50):l;if(h){var n=new _.aNc(h.getState());d=new _.WMc(h)}else n=new _.wMc(c,d),d=new _.uMc(d);return new _.uO(f,a,[n,new _.BMc(l,_.Hk(b,12,10)),new _.tO(3*l),new _.yMc(e,f)],[new _.sO],[d,new _.fNc(b,e,h?h.getState():c,f)],k)};_.CNc=function(a,b,c){b=_.Hk(b,46,1);return new _.uO(c,a,[new _.tO(b)],[new _.sO],[],"resumable_upload")};
_.DNc=function(a,b,c,d,e,f,h,k){this.Ea=a;this.ma=b;this.V=c;this.ta=d;this.Ba=e;this.ka=f;this.ha=h;this.va=k;this.W=null};_.DNc.prototype.H=function(a,b){var c=this,d=function(h){h=_.SM(h);var k=h.Ug;sKc(a)||_.Ur(k);return _.mi(h)};if(this.ha()&&(a instanceof _.hM&&_.PN(a.Bd())||b&&b.DCb)){this.W||(this.W=_.qi());var e=this.W.promise}var f=function(){return ENc(c,a,b).then(null,d)};return e?e.then(f):f()};
var ENc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ea.validate(b);if(d)return _.mi(_.SM(d));d=a.ma.V(b);return d instanceof _.Cb?_.mi(_.SM(d)):Array.isArray(d)?(d=d.map(function(e){return FNc(a,b,e,c)}),_.pi(d)):FNc(a,b,d,c)},FNc=function(a,b,c,d){var e=GNc(a,c);if(!e)return b=_.gM(_.Sr(new _.Cb,"Failed to choose a queue for server request."),18),_.mi(_.SM(b));if(e===a.V[7]||e===a.V[8])d.AJ=!0;d=e.add({request:c,config:d});(_.ON(b)||_.ON(c))&&_.ri(d,function(){a.ha()||(a.va(),a.W&&(a.W.resolve(),a.W=
null))});b=a.ta.apply(c,d);d.then(function(f){return a.Ba.apply(c,f)},function(){});return b};_.DNc.prototype.cancel=function(a){return _.Hf(this.V,function(b){return b.cancel(a)})};
GNc=function(a,b){var c=!1;b instanceof _.Np?c=!!_.E(b,7):b instanceof _.hM&&(c=(c=b.Bd())&&!!_.E(c,46));return(b instanceof _.oKc||"undefined"!=typeof _.vO&&b instanceof _.vO&&b.W())&&a.V[1]?a.V[1]:b instanceof _.lKc&&a.V[5]?a.V[5]:c&&zKc(b,a.ka)&&a.V[7]?a.V[7]:zKc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.Np&&a.V[6]?a.V[6]:(c||VMc.includes(b.constructor))&&a.V[3]?a.V[3]:tKc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.HNc=function(a,b){this.H=a;this.V=_.bIc[_.Gk(a.Lf(),8,0)];this.ha=_.bIc[_.Gk(a.Lf(),51,5)];this.W=b;this.ka=_.Vg()};
_.HNc.prototype.zc=function(a,b){if(b.AJ)INc(this,a,b),JNc(this,a,b);else if(11==a.km){if(b.Mtb){var c=b.Pga||_.D(this.H.Lf(),37,"");_.Rj(a.uri,"key",c)}INc(this,a,b);KNc(this,a,b)}else switch(a.uri=LNc(this,a.km,a.uri),a.km){case 1:KNc(this,a,b);INc(this,a,b);break;case 0:_.C(this.H,83,!1)&&(b.yx||_.mM(this.H.xf())||_.Rj(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:KNc(this,a,b);JNc(this,a,b);INc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:KNc(this,a,b);JNc(this,a,b);break;
default:throw Error("Xe`"+a.km);}};
var MNc=function(a,b){var c=LNc(a,b,new _.Ij);if(!c.H)throw Error("Ze");return _.Mj(_.Lj(_.Kj(_.Jj(new _.Ij,c.V),c.H),c.ha),_.pIc.has(b)?"/batch"+a.V:"/batch")},LNc=function(a,b,c){var d=_.y(a.H.Lf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.D(a.H.Lf(),62,"");break;case 8:a=_.y(a.H.Lf(),53);break;case 9:a=_.y(a.H.Lf(),56);break;case 10:a=_.y(a.H.Lf(),22);break;
case 13:a=_.y(a.H.Lf(),55);break;case 12:a=_.y(a.H.Lf(),43);break;default:throw Error("Xe`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Ij(a);_.$c(c,"/")&&(c=c.slice(1));return new _.Ij(a+"/"+c)},KNc=function(a,b,c){a=a.H.xf();c.yx||_.mM(a)||(c=[{key:"u",value:_.bO(a)}],b.headers.authorization=_.j_b(c)||"",c=_.wM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},INc=function(a,b,c){var d=a.H.xf(),e=a.H.Lf(),f=c.UAb||!!_.y(e,13);c=c.VAb||_.C(e,14,!1);var h=11==b.km;
f&&((f=_.y(e,13))&&_.$c(f,"email:")?_.Rj(b.uri,"trace",f):f&&"trace:true"==f?_.Rj(b.uri,"$trace","true"):f?_.Rj(b.uri,"trace","token:"+f):_.Rj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Rj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.Gk(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},JNc=function(a,b,c){c.yx||_.mM(a.H.xf())?_.Rj(b.uri,"key",_.D(a.H.Lf(),36,"")):(a=c.Pga||_.D(a.H.Lf(),37,""),_.Rj(b.uri,"key",
a))},NNc=function(a){this.H=a};NNc.prototype.build=function(a,b){var c="====="+_.Vg()+"=====",d=a[0].km,e=b.every(function(l){return l.AJ});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=MNc(this.H,a[0].km);_.Rj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.tIc[d],h=_.uIc[d]||{},h["content-type"]=_.py('multipart/mixed; boundary="%s"',c),d=_.rIc[d],k=new _.Ij("");a=ONc(this,a,b,c,e);return{km:f,body:a,headers:h,method:d,uri:k}};
var ONc=function(a,b,c,d,e){for(var f=YJc(_.xIc[b[0].km]||{}),h="",k=0;k<b.length;k++){e&&KNc(a.H,b[k],c[k]);var l=b[k],n=a.H,p=l,r=c[k];p.uri=LNc(n,p.km,p.uri);switch(p.km){case 0:case 5:JNc(n,p,r);INc(n,p,r);break;case 2:KNc(n,p,r);JNc(n,p,r);var u=p,z=_.y(n.H.Lf(),57);u.headers.host=_.Zj(z).H;u.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;INc(n,p,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("Ye`"+p.km);default:throw Error("Xe`"+
p.km);}n=l;p=n.uri.clone();_.Jj(p,"");_.Kj(p,"");_.Lj(p,null);l=f+"\r\n"+(n.method+" "+p+" HTTP/1.1\r\n")+YJc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},PNc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,QNc=/^multipart\/mixed; boundary="?([^"]+)"?$/,RNc=function(){_.Dj.apply(this,arguments)};_.M(RNc,_.Dj);RNc.prototype.getAllResponseHeaders=function(){return _.Gga(_.Dj.prototype.getAllResponseHeaders.call(this))};
var SNc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},TNc=function(a,b,c){try{a.ma.zc(b,c);var d=new RNc;d.YB=!0;var e=c.requestId||"",f=_.qi();d.listen("complete",a.ta.bind(a,d,f,e,c.Jra,4==b.km));e&&c.Zwa&&!c.AJ&&(a.V[e]=d,a.H[e]=c,d.Eb=!0,d.listen("uploadprogress",(0,_.N)(a.ka,a,c)),c.ADa||d.listen("downloadprogress",(0,_.N)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.mi(_.SM(h))}};
SNc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.Ae()?(a.kga=!0,b.abort(),!0):!1};SNc.prototype.ta=function(a,b,c,d,e){d=void 0===d?!1:d;e=void 0===e?!1:e;c&&(delete this.V[c],delete this.H[c]);c={headers:_.zka(a),text:a.Gk()};if(!d)try{c.json=_.Gj(a)}catch(f){}d=_.iGc(a.Ib(),_.wka(a),c.headers,c.text,c.json,a.V,_.Aka(a),String(a.W),e);a.dispose();d?b.reject(_.SM(d)):b.resolve(c)};
SNc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Zwa],a.ADa?b.loaded/b.total:b.loaded/b.total/2)};SNc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Zwa],b.loaded/b.total/2+.5)};var UNc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
UNc.prototype.add=function(a,b){var c="DEFAULT";b.AJ&&(c=MNc(this.V,a.km).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.AJ&&!_.tIc[a.km])return a=_.Sr(new _.Cb,"Unsupported batch API: "+a.km),_.mi(_.SM(a));var d=_.qi();c.push({request:a,config:b,Bj:d});return d.promise};
UNc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{VNc(a,b)}catch(f){var d=_.Tr(_.Sr(new _.Cb,"Error executing XHR: "+f.message),f.stack),e=_.SM(d);b.forEach(function(h){h.Bj.reject(e)});a.H.delete(c)}})};
VNc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.Jra&&!c.config.AJ){var d=!1;if(_.tIc[c.request.km]){var e={km:c.request.km,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.zc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.Bj;TNc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}WNc(a,b)};
WNc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});TNc(a.W,a.ha.build(c,d),{Jra:!0,AJ:d.every(function(e){return e.AJ})}).then(function(e){e.headers=_.aGc(e.headers);var f=QNc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Db("Could not extract batch boundary.",_.gM(_.Tr(new _.Cb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.$c(_.Gga(h[0]),f)&&_.Qc(h[1]))h=_.Gga(h[0]).substring(f.length);else throw new _.Db("Could not parse batch response; did not begin and end with boundary.",
_.gM(_.Tr(new _.Cb,JSON.stringify(e)),15));f=h.split(f);h=c.length==f.length;for(var k=[],l=0;l<f.length;l++){var n=h?c[l]:void 0,p=k,r=p.push;var u=void 0;var z,A=e.headers,F=f[l],L=n&&n.uri,I=F.split("\r\n\r\n");if(2>I.length)u=new _.Db("Individual batch response contained too few parts.",_.gM(_.Tr(new _.Cb,F),17));else{var P=I[1].split("\r\n");if(z=PNc.exec(P[0])){n=_.Yg(z[1]);z=z[2];P.shift();A=_.Of(A);for(var S=Object,da=S.assign,ca={},za=0;za<P.length;za++){var oa=_.Pga(P[za],":",1);oa&&2==
oa.length&&(ca[(0,_.Bf)(oa[0])]=(0,_.Bf)(oa[1]))}P=_.aGc(ca);da.call(S,A,P);try{u=_.Qc(_.Ug(I[2]))?void 0:JSON.parse(I[2])}catch(la){}u=(n=_.iGc(n,z,A,F,u,void 0,void 0,L&&L.toString()))?_.SM(n):{headers:A,text:F,json:u||void 0}}else u=new _.Db("Could not extract HTTP status code and text.",_.gM(_.Tr(new _.Cb,F),16))}r.call(p,u)}return k}).then(null,function(e){e=_.SM(e);return _.OFc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].Bj,k=e[f];k instanceof _.Cb||k instanceof _.Db?
h.reject(_.SM(k)):h.resolve(k)}})};_.wO=function(a,b){_.eO(a)&&(b.supportsTeamDrives=!0)};_.XNc=function(a){this.H=[].concat(_.Bc(_.md(a,27)));this.V=new Set;var b=_.RJc(this.H,_.md(a,28));if(0<b.length)throw Error("$e`"+b.join(","));this.H.push(21);this.H.push(70);_.mM(a.xf())||(this.H.push(45),this.H.push(25),this.H.push(35),this.H.push(96),this.H.push(1004),this.H.push(28),this.H.push(189),this.H.push(190));_.eO(a)&&(this.H.push(83),this.H.push(87));_.Ba(this.H);this.H.sort();SJc(this.H)};
_.xO=function(a){return[].concat(_.Bc(a.H))};YNc=function(a){return a instanceof _.hM||a instanceof _.LN||"undefined"!=typeof _.yO&&a instanceof _.yO||a instanceof _.GN||a instanceof _.iN||a instanceof _.bN||a instanceof _.fN||a instanceof _.zM&&_.ON(a)};_.ZNc=function(a,b){this.V=b;this.H={};this.W=new _.mGc(40);b=_.UM({fields:_.md(a,28),ky:_.mM(a.xf())});this.Sb("SecondaryFields",b);this.Sb("SdkBackfillEnabled",!!_.C(a,45,!1)+" (Include corpus cache: "+!!_.C(a,46,!1)+")")};
_.ZNc.prototype.Sb=function(a,b){this.H[a]=_.$Nc(a,b)};aOc=function(a,b){var c=a.H[b];c||(c=_.$Nc(b,0,2),a.H[b]=c);c.Sb(String(Number(c.kb())+1))};_.$Nc=function(a,b,c){var d=new _.dMc;_.x(d,1,a);_.x(d,4,c||1);d.Sb(String(b));d.am(JLc[a]);return d};
_.bOc=function(a,b,c){var d=new _.gGc;_.x(d,2,"Pending...");b instanceof _.hM?_.Zk(d,3,_.iM[0],b):b instanceof _.LN?_.Zk(d,4,_.iM[0],b):"undefined"!=typeof _.yO&&b instanceof _.yO?_.Zk(d,5,_.iM[0],b):b instanceof _.GN?_.Zk(d,6,_.iM[0],b):b instanceof _.iN?_.Zk(d,7,_.iM[0],b):b instanceof _.bN?_.Zk(d,8,_.iM[0],b):b instanceof _.fN?_.Zk(d,9,_.iM[0],b):b instanceof _.zM&&_.Zk(d,10,_.iM[0],b);var e=qKc(b),f=[];if(b instanceof _.YM)MN(f,"ID",b.getId()),MN(f,"Parent ID",b.Wj());else if(b instanceof _.iN)MN(f,
"TD ID",b.getId());else if(b instanceof _.hM)b=_.UMc(b.Bd()),MN(f,"Query",b);else if(b instanceof _.LN)MN(f,"Query","All");else if(b instanceof _.GN)MN(f,"TD ID",b.getId()),MN(f,"Title",b.getTitle()),MN(f,"Theme Image ID",_.y(b,3));else if(b instanceof _.bN)MN(f,"MimeType",b.$b()),MN(f,"Title",b.getTitle()),MN(f,"Parents",_.md(b,3)),MN(f,"Convert",_.E(b,8)),MN(f,"Request ID",_.hO(b)),MN(f,"Parent Request IDs",_.md(b,10)),MN(f,"Revision Item ID",_.y(b,12)),MN(f,"Pinned",_.E(b,8));else if(b instanceof
_.cN)MN(f,"Title",b.getTitle());else if(b instanceof _.fN)MN(f,"ID",b.getId());else if(b instanceof _.jN)MN(f,"WS ID",b.getId());else if(b instanceof _.zM){if(MN(f,"ID",b.getId()),MN(f,"Title",b.getTitle()),MN(f,"Description",b.Bg()),MN(f,"Starred",_.E(b,4)),MN(f,"Trashed",b.ai()),MN(f,"MimeType",b.$b()),MN(f,"Parents",_.md(b,8)),MN(f,"Parents to add",_.md(b,9)),MN(f,"Parents to remove",_.md(b,10)),MN(f,"Restricted",_.E(b,11)),MN(f,"Folder Color",b.Si()),MN(f,"Update Last Viewed",_.E(b,15)),MN(f,
"Subscribed",_.E(b,16)),MN(f,"Available Offline",b.$q()),MN(f,"Wksp to add",_.md(b,31)),MN(f,"Wksp to remove",_.md(b,32)),b=_.B(b,_.Rl,25))MN(f,"Read Only",_.E(b,1)),MN(f,"Reason",_.y(b,2))}else b instanceof _.HN?(MN(f,"WS ID",b.getId()),MN(f,"Title",b.getTitle()),MN(f,"State",b.getState())):b instanceof _.cKc&&MN(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.cOc=function(a,b){for(var c=new _.Qq,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.kGc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};dOc=[0,2,4,7,8];_.eOc=function(a,b,c,d,e,f,h){this.W=a;this.Ba=b;this.Ea=c;this.va=d;this.ta=e;this.ha=f;this.H=h;this.ma=new NNc(this.W);this.ka=new SNc(this.W,this.Ba);this.V=[]};_.g=_.eOc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].yt;this.V.push(f);c.push(fOc(this.Ea,f,a[e].Ew));d.push(YNc(f.request)?_.bOc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.SM(_.iGc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new UNc(this.W,this.ka,this.ma);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(p,r){var u=k.add(r,p);u.then(b.dtb.bind(b,r.km,p.yx),function(){});return u}.bind(this,a[f].yt.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].yt;var n=e[f].then(this.b2a.bind(this,l.request,d[f],a[f].Ew)).then(null,function(p){return Promise.reject(_.SM(p))});n.then(this.dNa.bind(this,l),this.dNa.bind(this,l));c.push(n)}return c};_.g.b2a=function(a,b,c,d){a=_.gOc(this.va,a,d,c);b&&_.cOc(b,a.Pd?a.Pd():[]);return a};_.g.dtb=function(a,b){a=!b&&_.ja(dOc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.Mb.isConnected()||a)c=XMc(b,c),a&&c&&_.hOc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.eNa=function(){return this.V.some(function(a){return _.ON(a.request)})};_.g.dNa=function(a){_.qa(this.V,a)};_.zO=function(a,b){if(!_.ya(b))throw new _.Db("Expected an object, but got a "+_.Gea(b)+".",_.QM(11,void 0,8));var c=b.kind;if(!c)throw new _.Db("Expected 'kind' parameter in response: "+JSON.stringify(b),_.QM(11,void 0,21));if(!a.includes(c))throw new _.Db("Expected "+a.join(" or ")+" but got a "+c+".",_.QM(11,void 0,9));};iOc=function(a,b){this.H=a;this.V=b};
_.AO=function(a,b){_.zO(["drive#user"],b);var c=_.CKc(1).Ub(b.permissionId);c=_.x(c,11,b.id);c=_.EKc(c.$c(b.displayName),b.emailAddress);b.picture&&c.Sn(b.picture.url);_.yM(a.H)&&_.EKc(c,b.emailAddressFromAccount||b.emailAddress);_.DKc(c,a.Of(b.permissionId,b.id));_.x(c,9,b.domain);return c};iOc.prototype.Of=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.bO(this.H.xf())==b};_.BO=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.jOc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.FKc(new _.Pl,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);c=_.x(c,2,a.canComment);c=_.x(c,3,a.canCopy);b=_.OKc(_.JKc(_.PKc(_.QKc(_.RKc(_.NKc(_.MKc(_.IKc(_.HKc(_.GKc(c,b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.x(b,13,a.canRenameTeamDrive);b=_.SKc(_.LKc(_.KKc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.VKc(_.UKc(_.TKc(_.x(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.x(b,34,a.canDeleteChildren);b=_.x(b,35,a.canTrashChildren);b=_.x(b,36,a.canRequestApproval);b=_.x(b,37,a.canReadCategoryMetadata);b=_.x(b,38,a.canEditCategoryMetadata);b=_.x(b,39,a.canChangeCategoryReferences);b=_.x(b,49,a.canSetMissingRequiredFields);
b=_.x(b,40,a.canAddMyDriveParent);b=_.x(b,41,a.canRemoveMyDriveParent);b=_.XKc(_.WKc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.$Kc(_.ZKc(_.YKc(_.x(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.x(b,50,a.canChangeSecurityUpdateEnabled);b=_.aLc(b,a.canRemoveSecureLinkUpdateForAllFiles);b=_.x(b,52,a.canCreateDecryptedCopy);return _.x(b,53,a.canCreateEncryptedCopy)};
kOc={anyone:4,audience:5,domain:3,group:2,user:1};lOc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};mOc={docs:1,sheets:2,slides:3};nOc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};oOc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};pOc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};qOc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};rOc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};sOc={ok:1,notFound:2,permissionDenied:3};tOc={unencrypted:1,encrypted:2};uOc={unset:0,"default":1,small:2,size16kb:3};
vOc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};wOc=function(a,b){this.H=a;this.V=b};
_.zOc=function(a,b,c){var d=new _.jO,e=new _.rD,f=e.vy;_.zO(["drive#fileList","drive#file"],b);var h=[];if("drive#file"==b.kind)(a=_.xOc(a,b))&&h.push(a);else if("drive#fileList"==b.kind)for(var k=b.items||[],l=0;l<k.length;l++){var n=_.xOc(a,k[l]);h.push(n)}e=f.call(e,h);e=_.x(e,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.zO(["drive#fileList"],b);if(h=b.spellResponse){f=[];var p=h.spellCorrections;for(h=0;h<p.length;h++){k=p[h].spellFragments;a=[];for(l=0;l<k.length;l++){n=k[l];var r=(new _.qD).Fc(oOc[n.status]);
r=_.x(r,1,n.original);n=_.x(r,3,n.correction);a.push(n)}k=new _.vlb;a=_.$k(k,1,a);f.push(a)}p=new _.xlb;_.$k(p,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.tlb;_.x(u,1,f||[])}p||u?(f=new _.ylb,p&&_.J(f,1,p),u&&_.J(f,2,u),u=f):u=null;_.J(e,7,u);_.CLc(e,yOc(b))}d=_.eMc(d,e);c=_.cGc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
BOc=function(a,b,c,d,e){_.zO(["drive#adminFile","drive#file","drive#revision"],b);var f=_.OLc(new _.NN,c);"drive#adminFile"==b.kind?(_.zO(["drive#adminFile"],b),c=(new _.Vl).Ub(b.id),b.parentId&&_.WN(c,[b.parentId]),_.qLc(c,b.teamDriveId),f.setItem(c),_.OLc(f,c.getId())):"drive#file"==b.kind?(b=_.xOc(a,b),f.setItem(b),c||_.OLc(f,b.getId())):"drive#revision"==b.kind&&(b=_.AOc(a,b),_.J(f,4,b));f.P7(_.bGc(d));f.B7(_.cGc(d));(d=(d=d&&_.aGc(d))&&d["x-server-object-version"])&&e&&(e=(new _.iO).Ub(d),_.J(f,
4,e));f.Fc(1);return f};_.COc=function(a,b){return _.OLc(new _.NN,a).Fc(1).P7(_.bGc(b)).B7(_.cGc(b))};_.EOc=function(a,b,c,d){d||_.zO(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.DOc(a,b[c],d);f&&e.push(f)}return e};
_.DOc=function(a,b,c){c||_.zO(["drive#permission"],b);c=_.CKc(kOc[b.type]).Ub(b.id);c=_.x(c,11,b.userId);c=_.DKc(c,a.H.Of(b.id,b.userId));c=_.x(c,4,b.withLink);c=_.EKc(c.$c(b.name).Sn(b.photoLink),b.emailAddress);c=_.x(c,9,b.domain);c=_.x(c,10,b.deleted);c=_.x(c,12,b.audienceId);c=_.x(c,13,b.customerId);c.getId()||c.Ub(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.yM(a.V)&&c.$c(b.nameIfNotUser);a=lOc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=
6);_.x(c,6,a);return c};
_.xOc=function(a,b){_.zO(["drive#file"],b);var c=b.title,d=(new _.Vl).Ub(b.id),e=[];if(b&&b.parents)for(var f=b.parents,h=0;h<f.length;h++)e.push(f[h].id);c=_.oLc(_.kLc(_.bM(_.WN(d,e).setTitle(c),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.x(c,90,Number(b.thumbnailVersion));_.x(c,21,b.iconLink);c.am(b.description);_.lLc(c,b.explicitlyTrashed);_.x(c,22,b.shared);null!=b.quotaBytesUsed&&_.x(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.x(c,14,Number(b.fileSize));_.x(c,
30,b.copyable);b.labels&&(d=b.labels,c.At(d.starred),_.x(c,6,d.hidden),c.to(d.trashed),_.hLc(c,d.restricted),_.x(c,9,d.viewed));_.x(c,10,_.BO(b.createdDate));_.x(c,69,_.BO(b.serverCreatedDate));_.PFc(c,_.BO(b.modifiedDate));_.x(c,12,_.BO(b.modifiedByMeDate));_.x(c,13,_.BO(b.lastViewedByMeDate));_.x(c,23,_.BO(b.sharedWithMeDate));_.x(c,62,_.BO(b.subscribedDate));_.x(c,70,_.BO(b.recency));b.recencyReason&&_.x(c,71,nOc[b.recencyReason]||0);d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=_.AO(a.H,
e[f]))&&d.push(h);_.iLc(c,d);b.lastModifyingUser&&(d=_.AO(a.H,b.lastModifyingUser),_.jLc(c,d));b.userPermission&&_.QFc(c,lOc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.TN,e=_.x(e,2,d.width).wg(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.fIc,f.setMilliseconds(0),_.CIc.parse(d,f),_.x(e,1,f.getTime())),_.J(c,27,e));null!=b.folderColor&&_.nLc(c,Number(b.folderColor));_.mLc(c,b.subscribed);_.x(c,45,b.fileExtension);_.x(c,50,b.folderFeatures||[]);_.x(c,36,
b.flaggedForAbuse);_.x(c,53,b.gplusMedia);_.x(c,46,b.primarySyncParentId||void 0);_.x(c,35,b.hasChildFolders);b.source&&(_.x(c,42,b.source.client_service_id),_.x(c,43,b.source.value));b.sharingUser&&(d=_.AO(a.H,b.sharingUser),_.J(c,47,d));b.sources?_.x(c,56,b.sources||[]):b.gplusMedia&&_.x(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.MFc[h]&&(h=_.De(new _.Ce,_.MFc[h]),e.push(h));c.XG(e)}_.x(c,63,b.ownedByMe);_.x(c,29,b.shareable);b.sourceAppId&&_.x(c,61,b.sourceAppId);
_.x(c,74,b.changed);null!=b.recursiveFileSize&&_.x(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.x(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.Hma).Ub(h.id);h=_.x(k,2,pOc[h.type]);e.push(h)}_.$k(c,83,e)}b.capabilities&&c.Rn(_.jOc(b.capabilities));b.permissionsSummary&&_.rLc(c,_.FOc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.UN).am(d.description),
e=_.x(e,3,qOc[d.galleryState]),d=_.x(e,2,d.category||[]),_.J(c,86,d));_.qLc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.AO(a.H,b.creator),_.J(c,91,d));_.sLc(c,b.primaryDomainName);_.tLc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.AO(a.H,b.trashingUser),_.J(c,95,d));_.x(c,96,_.BO(b.trashedDate));b.version&&_.x(c,75,Number(b.version));_.x(c,98,b.hasVisitorPermissions);_.x(c,102,b.hasAppsScriptAddOn);
(d=b.pairedDocType)&&_.x(c,101,mOc[d]);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=new _.VN,e=_.x(e,1,d.width).wg(d.height),d.durationMillis&&_.x(e,3,Number(d.durationMillis)),_.J(c,103,e));_.x(c,104,b.detectors||[]);_.x(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.v(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.cLc(_.bLc(new _.Rl,f.readOnly),f.reason),d.push(f);_.$k(c,125,d)}if(d=b.publishingInfo)_.x(c,118,d.published),_.x(c,119,d.publishedUrl);
_.x(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.x(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.v(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Ol).Ub(f.approvalId).Fc(rOc[f.status]),d.push(f);_.$k(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Qma,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&
_.x(e,4,sOc[d.targetLookupStatus]||0),d.targetFile&&(d=_.xOc(a,d.targetFile),_.J(e,5,d)),_.J(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.RN,e=_.x(e,1,tOc[d.encryptionState]),d.decryptionMetadata&&(d=GOc(d.decryptionMetadata),_.J(e,2,d)),_.J(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.Sl,e=_.x(e,2,d.securityUpdateEligible),d=_.x(e,3,d.securityUpdateEnabled),_.J(c,139,d));_.x(c,140,b.resourceKey);_.x(c,135,b.authorizedAppIds||[]);_.x(c,136,b.customerId);
_.VJc(c);_.yM(a.V)&&_.pLc(c,5);return c};_.AOc=function(a,b){_.zO(["drive#revision"],b);var c=(new _.iO).Ub(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.BO(b.modifiedDate));c=_.x(c,4,b.pinned);c=_.x(c,5,b.downloadUrl);c=_.x(c,7,b.originalFilename);null!=b.fileSize&&_.x(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.AO(a.H,b.lastModifyingUser),_.J(c,9,a));b.decryptionMetadata&&(b=GOc(b.decryptionMetadata),_.J(c,10,b));return c};
_.FOc=function(a,b){a=_.fLc(_.eLc(_.dLc(new _.Kma,b.entryCount),_.EOc(a,b,"visibility",!0)),_.EOc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};GOc=function(a){var b=a.wrappedKey;var c=new _.SN;b=b?_.LLc(b):void 0;c=_.x(c,1,b);c=_.x(c,2,Number(a.kaclsId));c=_.x(c,5,a.kaclsName);c=_.x(c,3,uOc[a.aes256GcmChunkSize]);c=_.x(c,6,vOc[a.keyFormat]);return _.x(c,4,a.jwt)};
yOc=function(a){_.zO(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;!d||"1"!=c.searchResultSource&&"3"!=c.searchResultSource||b.push(d)});return b};HOc=function(a,b){b=Object.entries(b);return 0==b.length?a:a+"?"+b.map(function(c){var d=_.v(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")};
IOc=function(a,b,c){c=void 0===c?!1:c;var d=_.E(a,44),e=a.Kf();if(c&&e){if(1!=_.yd(e))return null;d=(d=_.ud(e))?_.E(d,44):!0}if(!d)return null;d={};e=a.getId();_.VM(a)&&c&&(e=WJc(a));c=[_.D(b,65,"https://lh3.google.com"),"u",_.wM(b.xf()),"d",e].join("/");c+="={size}";_.QN(b)&&a.XF()&&(d.resourcekey=_.dm(a));return c=HOc(c,d)};_.JOc=function(a){this.H=a};
_.MOc=function(a,b,c){KOc(a,b,c);c.includes(18)&&_.kLc(b,AKc(b,a.H,a.H.HI()));if(c.includes(19)){var d=IOc(b,a.H,a.H.HI());_.x(b,20,d)}LOc(a,b,c);if(a.H.HI()&&_.VM(b)){if(d=(d=b.Kf())&&_.ud(d)){KOc(a,d,c);c.includes(18)&&_.kLc(d,AKc(d,a.H,a.H.HI()));if(c.includes(19)){var e=IOc(d,a.H,a.H.HI());_.x(d,20,e)}LOc(a,d,c)}_.oLc(b,!!b.$h())}};
KOc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.C(a.H,75,!1);a=a.H.HI();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.$b();a&&_.VM(b)&&(d=(a=b.Kf())?_.y(a,3):"");_.WM(b)&&(b.Si()&&(d+="+"+String(b.Si())),b.vj()&&(d+="+shared"));_.x(b,21,_.DQa(d,c?"32":"16"))}};
LOc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.$b();e&&(e=!_.WM(b)&&!_.VM(b)&&!_.Zc(e)&&(!b.m1()||2!=b.An()),d&&_.x(b,40,e),e&&c&&(d=a.H,c=a.H.HI(),c=void 0===c?!1:c,a=b.getId(),_.VM(b)&&c&&(a=WJc(b)),c=new _.Ij(_.D(d,16,"")+"/uc"),_.Rj(c,"id",a),_.Rj(c,"authuser",_.wM(d.xf())),_.Rj(c,"export","download"),_.QN(d)&&b.XF()&&_.Rj(c,"resourcekey",_.dm(b)),_.x(b,41,c.toString())))}};_.NOc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new iOc(b,d);this.AC=new wOc(this.ka,b)};
_.gOc=function(a,b,c,d){d=void 0===d?[]:d;try{return OOc(a,b,c,d)}catch(e){_.TM(e)}};
OOc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.bN)return _.POc(a,b,c);if(b instanceof _.kN)return"base64"==c.headers["x-goog-safety-encoding"]?new FMc(_.raa(c.text),d.length):new FMc(new Uint8Array(_.Oka(c.text)),d.length);if(b instanceof _.Np){if(!c.json)throw _.CO();return _.zOc(a.AC,c.json,c.headers)}if(b instanceof _.KN)return _.POc(a,b,c);if("undefined"!=typeof _.fKc&&b instanceof _.fKc){if(!c.json)throw _.CO();a=c.json;return new _.DMc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.QOc&&b instanceof _.QOc){if(!c.json)throw _.CO();return _.AOc(a.AC,c.json)}if(b instanceof kKc){if(b.V==b.ha-1){if(!c.json)throw _.CO();b=BOc(a.AC,c.json,null,c.headers,!!b.revisionId);_.MOc(a.V,b.getItem(),_.xO(a.H));a=b}else a=_.COc(null,c.headers);return a}if(b instanceof jKc){a=_.aGc(c.headers);b=a.location;if(!b)throw a=_.gM(new _.Cb,10),new _.Db("No upload session URI included.",a);return new EMc(b,_.bGc(a),_.cGc(a))}throw new _.Db("FromXhrConverter: Unsupported request type.",
new _.Cb);};_.NOc.prototype.ma=function(){return null};_.POc=function(a,b,c){if(!c.json){if(b instanceof _.zM)return _.COc(_.ROc(b));throw _.CO();}var d=!1;b instanceof _.KN&&(d=!!_.y(b.request,12));return BOc(a.AC,c.json,_.ROc(b),c.headers,d)};_.CO=function(){var a=_.gM(new _.Cb,11);return new _.Db("FromXhrConverter: JSON required, but none found",a)};_.ROc=function(a){return a.getId?a.getId():a.Mc?a.Mc():null};
_.SOc=function(a,b){if(b.length){a.parents=[];for(var c=0;c<b.length;c++){var d={};d.id=b[c];a.parents.push(d)}}};
TOc=function(a,b){var c={};_.Qc(_.Ug(a.getTitle()))||(_.y(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.$b()&&(c.mimeType=a.$b(),a.Mc()&&_.Ada(a.$b())&&b)){var d=b.W(),e=b.V(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.dk(b.ma()),h.kaclsId=b.ta(),h.aes256GcmChunkSize=_.GIc[d?d.V():0],h.keyFormat=_.IIc[e?e.V():0],h);c.clientEncryptionDetails=f}_.SOc(c,_.md(a,3));(b=a.Mc())&&(c.id=b);_.y(a,16)&&(c.embeddingParent=_.y(a,16));_.y(a,21)&&(c.shortcutDetails=
{},c.shortcutDetails.targetId=_.y(a,21));"number"===typeof _.y(a,26)&&(c.modifiedDate=_.BLc(_.GMc(_.y(a,26)||0)));return c};
UOc=function(a,b,c){var d=!!_.y(a.request,12),e="files";d&&(e+="/"+_.y(a.request,12));e=new _.Ij(e);_.Rj(e,"uploadType","multipart");_.Rj(e,"supportsTeamDrives",!0);_.Rj(e,"pinned",!!a.request.Wt());null!=_.E(a.request,8)&&_.Rj(e,"convert",_.E(a.request,8));_.Rj(e,"fields",_.QJc({fields:_.xO(b).filter(function(n){return 194!=n}),ky:!1}));XJc(e,a.request.De());var f=TOc(a.request,a.metadata),h=_.Vg();b={};b=(b["content-type"]=_.py('multipart/related; boundary="%s"',h),b);var k=c.indexOf(",");c=0<=
k?c.substring(k+1):"";f=JSON.stringify(f);k={};k=(k["content-type"]="application/json; charset=UTF-8",k);var l={};l=(l["content-transfer-encoding"]="base64",l);a.request.$b()&&(l["content-type"]=a.request.$b());a="--"+h;a=a+"\r\n"+YJc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+YJc(l)+"\r\n"+c+"\r\n"+a+"--";return{km:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};VOc=function(a){if(a instanceof _.tnb){var b=new _.Cb;_.Sr(b,"fs.Error: "+a.message);a=(a=a.name)?_.bEa.get(a)||25:38;_.gM(b,a);a=_.SM(b)}return Promise.reject(a)};
WOc=function(a,b){return kNc(a.file).then(function(c){return UOc(a,b,c)},VOc)};_.XOc=function(a,b){this.V=(_.Xk(a,_.lm,91)||[]).reduce(function(c,d){var e=d.getId();if(null!=e){d=_.y(d,2);if(c[e]&&c[e]!=d)throw new _.Db("Multiple resource key definitions found for initial item "+e);c[e]=d}return c},{});this.H=b};YOc=function(a,b){return[].concat(_.Bc(new Set(b))).map(function(c){var d=(new _.lm).Ub(c);a.V[c]?_.mm(d,a.V[c]):a.H&&(c=a.H.H(c))&&_.mm(d,_.dm(c));return d}).filter(function(c){return c.XF()})};
_.ZOc=function(a){var b=_.gM(new _.Cb,4);throw new _.Db("ToXhrConverter: Unsupported request type: "+qKc(a),b);};_.$Oc=function(a,b,c,d){this.H=a;this.ha=c;this.ka=d};fOc=function(a,b,c){try{return b.request instanceof _.KN?WOc(b.request,a.ha):Promise.resolve(a.W(b.request,b.config,c))}catch(d){return d instanceof _.Db?a=d.Ug:(a=new _.Cb,_.Sr(a,"Error converting XHR: "+d.message),_.Tr(a,d.stack),_.gM(a,4)),Promise.reject(a)}};
_.$Oc.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.bN){h=(e=!!_.y(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.y(a,12),k.pinned=!!a.Wt());null!=_.E(a,8)&&(k.convert=_.E(a,8));k.fields=_.QJc({fields:this.Lg(c),ky:_.mM(this.H.xf()),SL:_.yM(this.H)});e=TOc(a);f["content-type"]="application/json";var p=a.De();l=!0;_.wO(this.H,k);_.aPc(this.H,k);_.QN(this.H)&&(b=_.Xk(a,_.lm,28),b.length?_.bPc(b,f):(a=_.md(a,3).concat([_.y(a,16),_.y(a,21),a.Mc()]),_.DO(this,a,f)))}else if(a instanceof
_.kN)n="files/"+a.getId(),_.y(a,2)&&(k.revisionId=_.y(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.QN(this.H)&&(a.XF()?_.bPc([_.mm((new _.lm).Ub(a.getId()),_.y(a,3))],f):_.DO(this,[a.getId()],f)),l=!0;else if(a instanceof _.Np)l=a.Am()[0],n="files/"+l,p=_.sa(this.Lg(c),this.Lg(c,a.Fi())),_.Ba(p),k.fields=_.QJc({fields:p,ky:_.mM(this.H.xf()),SL:_.yM(this.H)}),_.wO(this.H,k),_.cPc(this.H,k),_.dPc(this.H,k),this.V(l,k),p=a.De(),l=!0,_.E(a,7)&&(b.Jra=!0),_.QN(this.H)&&(b=_.Xk(a,
_.lm,11),b.length?_.bPc(b,f):_.DO(this,a.Am(),f));else if("undefined"!=typeof _.fKc&&a instanceof _.fKc)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,p=a.H;else if("undefined"!=typeof _.QOc&&a instanceof _.QOc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",n="files/"+a.id+"/revisions/"+a.revisionId,l=!0;else if(a instanceof kKc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&
(f["content-range"]=_.py("bytes %d-%d/%d",a.W,a.V,a.ha));var r=a.H;l=!0}else a instanceof jKc?(d=2,h=(e=!!_.y(a.request,12))?"PUT":"POST",n="files",e&&(n+="/"+_.y(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.Wt(),null!=_.E(a.request,8)&&(k.convert=_.E(a.request,8)),k.fields=_.QJc({fields:this.Lg(c).filter(function(u){return 194!=u}),ky:_.mM(this.H.xf()),SL:_.yM(this.H)}),_.wO(this.H,k),e=TOc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,
null!=a.request.$b()&&(f["x-upload-content-type"]=a.request.$b()),_.QN(this.H)&&_.DO(this,_.md(a.request,3),f),p=a.request.De(),l=!0):a instanceof _.oKc?(n="about",k.fields="kind",p=a.H,l=!0):_.ZOc(a);l&&_.ePc(c,k);return _.fPc(d,n,k,f,h,p,e,r)};
_.fPc=function(a,b,c,d,e,f,h,k){b=new _.Ij(b);[10,12,13].includes(a)||XJc(b,f);c=_.v(Object.entries(c));for(f=c.next();!f.done;f=c.next()){var l=_.v(f.value);f=l.next().value;l=l.next().value;_.Sj(b,f,l)}return{km:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.cPc=function(a,b){_.C(a.Lf(),23,!1)&&(b.includePermissionsForView="published")};_.$Oc.prototype.V=function(){};_.dPc=function(a,b){_.C(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};
_.aPc=function(a,b){_.C(a,3,!1)&&(b.enforceSingleParent=!0)};_.ePc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).EAb):b.retryCount=0};_.$Oc.prototype.Lg=function(a,b){b||(b=_.xO(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return aMc.includes(c)}));return b};_.DO=function(a,b,c){b&&b.length&&(a=YOc(a.ka,b),_.bPc(a,c))};_.bPc=function(a,b){a.length&&(a=_.RC(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};
_.gPc=function(a,b){_.sI.call(this,a?a:500,b?b:6E5)};_.M(_.gPc,_.sI);var hPc=function(){_.Mq.call(this);this.ha=this.W=null};_.M(hPc,_.Mq);hPc.prototype.V=function(){(0,this.ha)()};iPc=function(a,b){a.ha||(a.ha=b)};_.EO=function(a){if(!a.W){a.W=new ZLc;var b=_.Oq(a);_.J(b,56,a.W)}return a.W};jPc=function(a){var b=_.EO(a).getState();b||(b=new SLc,_.EO(a).Ud(b));return b};kPc=function(a,b){var c=new QLc;_.x(c,1,b);a=_.Oq(a);_.J(a,12,c)};
hPc.prototype.ma=function(){var a=_.B(_.EO(this),ULc,4);if(!a){a=new ULc;var b=_.EO(this);_.J(b,4,a)}return a};lPc=function(a){var b=_.B(_.EO(a),VLc,8);b||(b=new VLc,a=_.EO(a),_.J(a,8,b));return b};_.mPc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.R.call(this);this.Gh=b?1:a;this.ifa=!1;this.UJ=b};_.M(_.mPc,_.R);_.g=_.mPc.prototype;_.g.isConnected=function(){return!this.ifa&&1==this.Gh};_.g.Hl=function(){return 1==this.Gh||2==this.Gh};_.g.Ze=function(){return 3==this.Gh};_.g.get=function(){return this.Gh};
_.g.update=function(a){if(this.UJ)return!1;if(this.Gh!=a||this.ifa&&1==a){var b;2==a?b=3==this.Gh?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new kMc(b),this.Gh=a,this.ifa=!1,this.dispatchEvent(b),!0}return!1};nPc=function(a,b){this.W=a;this.V=b;this.H=null};
rPc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return oPc(a,function(c){return c.count().then(function(d){return 1E3>d?pPc(a,c,b):qPc(a,Error("af"))},function(d){return qPc(a,d)})},"readwrite")};pPc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.mgb=c.te(),d)).then(null,function(e){qPc(a,e)})};
sPc=function(a){return new _.ki(function(b){var c=new Map;oPc(a,function(d){return GLc(d.getIndex("userId"),a.W).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.v(e),k=h.next();!k.done;f={Qja:f.Qja},k=h.next())k=_.v(k.value),f.Qja=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Qja,new _.Rza(n.mgb))}}(f));return _.pi([].concat(_.Bc(e.values()))).then(function(){return b(c)})})})})};
tPc=function(a,b){return oPc(a,function(c){return c.remove(b)},"readwrite")};oPc=function(a,b,c){c=void 0===c?"readonly":c;return uPc(a).then(function(d){try{var e=_.XGc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return qPc(a,f)}},function(d){return qPc(a,d)})};
uPc=function(a){return a.H?_.li(a.H):_.ZGc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.HLc(c,"OfflineImpressions");_.SGc(_.WGc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return qPc(a,Error("bf"))}).then(function(b){return a.H=b},function(b){return _.mi(_.RM(b))})};qPc=function(a,b){b||(b=Error("cf"));_.kO(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.li()};
_.vPc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.R.call(this);this.Vy=b?!1:a;this.hsa=null;this.UJ=b};_.M(_.vPc,_.R);_.vPc.prototype.Ze=function(){return this.Vy};_.vPc.prototype.bm=function(a){var b=this.Vy!=a;!this.UJ&&b&&(this.Vy=a,this.dispatchEvent(new vMc(a)))};_.vPc.prototype.QC=function(a){this.hsa=a};
var xPc=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.ha=a;this.W=b;this.Gh=c;this.V=d;this.Bb=new _.ze(this);this.Bb.listen(b,"Cb",function(k){k.Ze()||wPc(h)});this.Bb.listen(c,["wb","yb"],function(){return void wPc(h)});this.ka=e;f.then(function(){return wPc(h)})};_.M(xPc,_.R);xPc.prototype.H=function(a){return(this.W.Ze()||this.Gh.Ze())&&this.W.hsa?rPc(this.V,a):this.ha.H(a)};
var wPc=function(a){return a.W.hsa?sPc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return yPc(a,d)},function(){return zPc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},yPc=function(a,b){zPc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return tPc(a.V,b).then(function(){zPc(a,"Removed offline impression batch "+b+".")},function(){zPc(a,"Unable to remove offline impression batch "+b+".")})},zPc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},APc=function(){};APc.prototype.oM=function(){return new hPc};var BPc=function(){this.H=new $Lc};BPc.prototype.V=function(a){_.J(a,13,this.H)};BPc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};DPc=function(a,b,c,d){this.Ea=_.FO(_.QIc,_.cO(a));this.ma=_.FO(_.UIc,_.Gk(a.Lf(),8,0));this.W=_.FO(_.RIc,_.Gk(a.Lf(),9,2));this.ta=_.C(a,10,!1);this.Ha=_.mM(a.xf());this.va=_.dO(a);this.ha=CPc(a);this.Ba=a.xi();this.V=this.H=null;this.Ka=b;this.Gh=c;this.ka=d};
CPc=function(a){var b=[].concat(_.Bc(_.NIc.keys())),c=[].concat(_.Bc(_.OIc.keys())),d=_.xM(a);return b.filter(function(e){return _.NIc.get(e)(a)}).concat(c.filter(function(e){return d&&_.OIc.get(e)(d)}))};_.FO=function(a,b){a=_.v(a);for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};EPc=function(a){if(a.V)return a.V.H("aU7Ts")};
DPc.prototype.Ib=function(a){return a instanceof _.rD||"undefined"!=typeof _.GO&&a instanceof _.GO||"undefined"!=typeof _.HO&&a instanceof _.HO||"undefined"!=typeof _.IO&&a instanceof _.IO?a.Ib():"undefined"!=typeof _.JO&&a instanceof _.JO||"undefined"!=typeof _.KO&&a instanceof _.KO||"undefined"!=typeof _.LO&&a instanceof _.LO||"undefined"!=typeof _.MO&&a instanceof _.MO||"undefined"!=typeof _.FPc&&a instanceof _.FPc?a.response?a.response.Ib():null:null};DPc.prototype.xi=function(){return this.Ba};
var GPc=function(a){return a.Ka.Ze()||a.Gh.Ze()?2:1};DPc.prototype.getEnvironment=function(){return this.ka};var HPc=function(a,b){this.H=a;var c=new _.Bya;_.Cya(c,b.ha);a=this.H.OJ();var d=_.PHc(a);_.J(d,10,c);(c=b.xi())&&_.OHc(a,c);this.H.CY();this.V=b};HPc.prototype.isRunning=function(){return this.H.xS()};
_.IPc=function(a,b,c){var d=_.Nq(a.H.oE(b,c),_.JIc);kPc(d,GPc(a.V));b=EPc(a.V);"boolean"===typeof b&&TLc(jPc(d),b);iPc(d,function(){1==c&&a.H.rI(d);var e=a.V;e=e.H?e.H.W():void 0;var f=jPc(d);_.x(f,1,e);a.H.Lp(d)});return d};JPc=function(a){var b=new _.pza,c=new BPc;_.x(c.H,1,a.Ea);_.x(c.H,3,a.ma);_.x(c.H,4,a.W);_.x(c.H,5,a.ta);_.x(c.H,6,a.Ha);_.x(c.H,7,a.va);a=c.setEnvironment(a.getEnvironment());_.aHc(b,_.KIc,a);_.Rq(b,_.JIc,new APc);return b};
KPc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.xI(906,b,void 0,_.WHc());l.W=!1;var n=new _.bHc(l);b=new Date;l=_.UHc(_.THc(_.SHc(ILc(),new _.cHc(l)),JPc(c)),109).setSessionId(b.getTime()+"_"+_.Vg());if(k){a=new xPc(n,d,e,new nPc(a,f),f,h);_.RHc(l,a);d=l.build();_.NHc(d.OJ(),1E3*b.getTime());var p=new HPc(d,c);(new _.ze).listen(a,"Db",function(){_.IPc(p,106008,0).V()});return p}_.RHc(l,n);a=l.build();_.NHc(a.OJ(),1E3*b.getTime());return new HPc(a,c)};
LPc=function(a,b){this.W=a;this.ha=b};LPc.prototype.H=function(a,b){this.W&&_.MPc(this)&&(a=_.IPc(this.W,a,0),b&&_.$Gc(a,b),a.V())};LPc.prototype.V=function(a,b){return this.W&&_.MPc(this)?(a=_.IPc(this.W,a,1),b&&_.$Gc(a,b),a):null};_.MPc=function(a){return!(!a.W||!a.W.isRunning())};_.NPc=function(a,b,c,d,e,f){var h=_.E(a,59),k=_.wM(a.xf()).toString(),l=_.bO(a.xf());f=new DPc(a,b,c,f);a=h?KPc(l,k,f,b,c,d,e,_.C(a,17,!1)):null;return new LPc(a,f)};
_.OPc=function(a,b,c){this.Mb=a;this.ha=b;this.W=c;this.V=this.Pj=null;this.H=!1};_.OPc.prototype.getState=function(){return this.Mb};_.hOc=function(a){a.V=null;a.Pj&&(clearTimeout(a.Pj),a.Pj=null)};_.YMc=function(a){a.V||a.H||(a.V=new _.gPc(5E3,6E4),PPc(a))};PPc=function(a){QPc(a);a.V&&(a.Pj=setTimeout(function(){return void PPc(a)},a.V.kb()),_.tI(a.V))};QPc=function(a){_.ri(_.li().then(null,function(){return null}),function(){return void RPc(a)})};
RPc=function(a){SPc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.oKc(_.Ue(new _.Te,312)))}).then(null,function(b){b=_.SM(b);_.VHc(b.Ug)&&XMc(a,2);return _.mi(b)}).then(null,function(){return null})};SPc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};XMc=function(a,b){return!a.H&&a.Mb.update(b)?(SPc(a,"Connection status: "+_.VIc.get(b)),!0):!1};_.q("sy13d");
_.TPc=function(a,b,c){_.Si.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.M(_.TPc,_.Si);
_.NO=function(a,b,c,d,e,f,h){_.R.call(this);var k=this;this.W=a;this.ma=b;this.Ea=c;this.ta=d;this.Wa=e;this.ha=f;this.H={};this.re=null;this.Ba=h;this.va={};_.Kd(this,function(){k.uNa()})};_.M(_.NO,_.R);_.NO.prototype.sV=function(){return _.Wg()};
_.NO.prototype.upload=function(a,b,c){aOc(this.ma,"UploadTotalCount");var d=_.hO(a);if(d&&this.H[d])throw new _.Db("Upload requested with a duplicate request ID.");var e=_.md(a,10);if(e&&e.length){if(1!=e.length)throw new _.Db("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.Db("The parent upload request must precede this request.");}!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);d||(d=this.sV(),_.x(a,9,d));a=_.kl(a);e=UPc(this,d);this.H[d]={request:a,file:b,
Ve:e,tI:!1,fO:0,success:!1,VH:!1,children:[],metadata:c,Mda:void 0};f?VPc(this,d,f):this.ka(d);return e.Sl()};
var UPc=function(a,b){var c=new _.vi;c.Zf(_.Ra(a.Pa,b),_.Ra(a.Ma,b),a);return c},VPc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.Ba(c.children);c.Ve.then(function(f){if(1==f.Ib()&&(f=f.Mc(),_.md(e.request,3).push(f),_.kM(e.request,10),!c.VH||d)){a.ka(b);return}WPc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Ve.Qd(_.fM(f)?f:Error(f))})};
_.NO.prototype.Pa=function(a,b){aOc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Ib();(b=a.Mda)&&!a.VH&&(WLc(YLc(lPc(b),a.fO),!0),b.V())};_.NO.prototype.Ma=function(a,b){var c=_.B(this.W,_.eGc,58);c&&_.C(c,1,!1)&&(this.va[a]=b);aOc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.Mda)&&!c.VH&&(WLc(YLc(lPc(a),c.fO),!1),b=(c=b&&b.Ug)&&c.xj(),c=c&&c.Xo(),b?XLc(lPc(a),XPc.get(b)||13):c&&XLc(lPc(a),YPc.get(c)||0),a.V())};
_.NO.prototype.ka=function(a){var b=this.H[a];if(!b.tI){b.tI=!0;a=this.H[a];var c=a.request,d=_.B(this.W,_.eGc,58);d&&_.C(d,4,!1)&&(d=c.getTitle().match(ZPc))&&(!d[1]||a.fO<Number(d[1].substr(1)))&&(c=_.kl(c),_.na(_.md(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.B(b.request,_.DLc,15))?_.y(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.Lf();d=_.Hk(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ba&&3!=d){var f=this.Ba.V(106012);if(f){b.Mda=f;f=lPc(f);f=_.x(f,1,2==d?2:1);f=_.x(f,
4,!!b.metadata);var h=!!_.y(a,12);f=_.x(f,5,h);e=_.x(f,6,e);c=_.Hk(c,32,1073741824);_.x(e,7,c)}}switch(d){case 2:if(b.file){c=b.Ve;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Ra(this.ha,_.hO(a)));$Pc(this,new _.lKc(a,d,k,b),c,_.hO(a))}break;case 1:b.file&&(k=b.Ve,c=b.file,b=b.metadata,d=_.B(this.W,_.BKc,2),$Pc(this,new _.KN(a,c,d&&_.C(d,2,!1)?b:void 0),k,_.hO(a)));break;case 3:$Pc(this,a,b.Ve,_.hO(a));break;default:throw new _.Db("Upload type ${uploadType} not supported.");}}};
var $Pc=function(a,b,c,d){qMc(a.Ea,d,a.Ha.bind(a,d));_.ri(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return aQc(a,b,e)}),function(){rMc(a.Ea,[d])}).then(c.callback,c.Qd,c)},aQc=function(a,b,c){var d=_.SM(c),e=b instanceof _.KN&&b.request.Mc()||"";c=d.Ug;if(e&&8==c.xj()){WPc(a);var f=_.Pp(new _.Np,[e]);return _.Bi(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.kr().Pd()[0];var k=b.request;if(h&&!h.ai()&&(h.$b()||"").replace(/\s/g,"")==(k.$b()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return WPc(a),_.OLc((new _.NN).setItem(h),e).Fc(1);WPc(a);return _.mi(d)}))}return _.Ci(d)};
_.NO.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.VH||0!=c.children.length))if(c.VH=!0,c.Ve.sf())WPc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ga(c.children,this.cancel,this);else{var d=c.Mda;d&&(XLc(WLc(YLc(lPc(d),c.fO),!1),2),d.V());var e=_.qi();c.tI?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.tI=!0,d=new _.NN,d.Fc(8),c.Ve.callback(d),e.resolve(!0));e.promise.then(function(f){return WPc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.NO.prototype.uNa=function(){var a=this;_.Ef(this.H,function(b,c){a.cancel(c)})};
_.NO.prototype.kua=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.H[f]){var h=[];do{h.push(f);var k=(_.md(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Ve.sf()||e[k])break;else if(!c.has(k)){e[f]=new _.Db("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ea(h,function(n){var p=b.H[n];p.fO++;if(!e[n])if(!p.Ve.sf()||p.success)e[n]=new _.Db("Unable to retry request.");else{var r=(_.md(p.request,10)||[])[0];e[r]instanceof
_.Db?e[n]=e[r]:(p.Ve=UPc(b,n),p.tI=!1,p.VH=!1,(r=r?b.H[r]:null)?VPc(b,n,r,!0):d.push(n),e[n]=p.Ve.Sl())}})}else e[f]=new _.Db("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.vi?f:_.Ci(f)});_.Ga(d,this.ka,this);return a};var WPc=function(a){a.isDisposed()};_.NO.prototype.Bd=function(a){return this.H[a]};var ZPc=/^uploadTestFailMe(\.[1-9])?$/,YPc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),XPc=new Map([[3,14]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.bQc=function(a){return _.Dd(a).Lg(_.C(a.get(_.er),19,!1)?_.IFc:_.Bd)};_.q("sy13l");

_.t();

}catch(e){_._DumpException(e)}
try{
var cQc,dQc,eQc,fQc,gQc,hQc,iQc,jQc,kQc,lQc,nQc,oQc,pQc,qQc,rQc,OO,wQc,xQc,yQc,AQc,BQc,CQc,EQc,GQc,IQc,KQc,MQc,QQc,TQc,WQc,XQc,YQc,ZQc,$Qc,aRc,bRc,dRc,fRc,hRc,iRc,jRc,kRc,nRc,pRc,rRc,vRc,wRc,xRc,zRc,ARc,BRc,FRc,GRc,HRc,IRc,JRc,KRc,XO,eTc,fTc,mTc,tTc,uTc,vTc,yTc,zTc,ATc,BTc,YTc,ZTc,bUc,dUc,eUc,fUc,gUc,hUc,iUc,jUc,kUc,$O,lUc,mUc,nUc,oUc,pUc,qUc,rUc,sUc,tUc,uUc,vUc,wUc,tVc,DVc,EVc,FVc,GVc,HVc,KVc,MVc,$Vc,aWc,hWc,iWc,rWc,JWc,LWc,PWc,WWc,$Wc,fXc,xXc,zXc,AXc,UXc,VXc,uRc,WXc,XXc,YXc,cZc,dZc,eZc,fZc,gZc,
hZc,iZc,jZc,kZc,lZc,mZc,nZc,WZc;cQc=function(a){a={Title:a.getTitle(),Type:a.$b(),Parents:_.md(a,3),Convert:_.E(a,8),ID:_.hO(a)};var b=[];_.Ef(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
dQc=function(a){var b=[];b.push(cQc(a.request));if(a.file){var c=[];c.push("Size: "+a.file.size);a.file.type&&c.push("Type: "+a.file.type);a.file.lastModifiedDate&&c.push("Last modified: "+a.file.lastModifiedDate);b.push("File: "+c.join("; "))}a.fO&&b.push("# of retries by client: "+a.fO);var d="";a.tI?a.Ve.sf()?a.Ve.Zf(function(){d="Completed successfully."},function(e){d=e instanceof _.wi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
eQc=function(a,b,c,d,e,f){var h=_.py("Drive Upload Report: %d/%d failed",_.If(f),_.If(e));a=a.Lf();d.push("Batch query interval: "+_.Hk(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Hk(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Hk(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Hk(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Hk(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ef(e,function(n){l.push(dQc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.oMc(b)});_.Ef(f,function(n,p){var r=k.push;p=e[p].request;p=_.py('ErrorResponseFor"%s"(ID:%s).txt',p.getTitle()||"",_.hO(p)||"");var u=n.Ug;u=u?_.y(u,4):"No detail.";r.call(k,{name:p,content:n.toString()+"\n"+u})});return{title:h,description:d,YU:k,Vd:152391,Mba:c,T0:361003}};fQc=function(a){return Array.prototype.concat.apply([],arguments)};gQc=function(a,b,c){c=_.Da(a,b,c);return 0>c?(_.xa(a,-(c+1),0,b),!0):!1};
hQc=function(a){return String.fromCharCode(10>a?48+a:87+a)};iQc=function(a){var b=Array(18);b[0]="0";b[1]="x";for(var c=0;8>c;c++){var d=a.charCodeAt(7-c);b[2*c+2]=hQc(d>>4);b[2*c+3]=hQc(d&15)}return b.join("")};jQc=function(a){var b=new _.Qq;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.UM(a,!0,"file"));a.S_&&(b.append(",teamDriveId,teamDrive("),b.append(a.S_),b.append(")"));b.append(")");return b.toString()};
kQc=function(a){var b=new _.Qq;b.append("kind,nextPageToken,items(");b.append(_.UM(a,!0));b.append("),incompleteSearch");a.S_&&(b.append(","),b.append(a.S_));return b.toString()};
lQc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.B(d,_.RN,138),k=_.B(d,_.Rl,111),l=_.B(d,_.TN,27),n=_.B(d,_.Sl,139),p=d.Kf(),r=_.B(d,_.VN,103);switch(e){case 74:_.lM(d,83);break;case 188:_.Ok(d,137);break;case 149:_.kM(d,128);break;case 148:_.lM(d,127);break;case 138:_.Ok(d,126);break;case 184:_.kM(d,135);break;case 76:f&&_.Ok(f,1);break;case 208:f&&_.Ok(f,48);break;case 185:f&&_.Ok(f,40);break;case 213:f&&_.Ok(f,50);break;case 156:f&&_.Ok(f,39);break;case 61:f&&
_.Ok(f,2);break;case 216:f&&_.Ok(f,52);break;case 217:f&&_.Ok(f,53);break;case 77:f&&_.Ok(f,4);break;case 134:f&&_.Ok(f,34);break;case 147:f&&_.Ok(f,38);break;case 81:f&&_.Ok(f,10);break;case 82:f&&_.Ok(f,11);break;case 114:f&&_.Ok(f,27);break;case 133:f&&_.Ok(f,33);break;case 202:f&&_.Ok(f,47);break;case 132:f&&_.Ok(f,32);break;case 101:f&&_.Ok(f,20);break;case 201:f&&_.Ok(f,46);break;case 131:f&&_.Ok(f,31);break;case 200:f&&_.Ok(f,45);break;case 130:f&&_.Ok(f,30);break;case 93:f&&_.Ok(f,17);break;
case 191:f&&_.Ok(f,44);break;case 146:f&&_.Ok(f,37);break;case 90:f&&_.Ok(f,16);break;case 78:f&&_.Ok(f,7);break;case 186:f&&_.Ok(f,41);break;case 85:f&&_.Ok(f,12);break;case 137:f&&_.Ok(f,36);break;case 209:f&&_.Ok(f,49);break;case 79:f&&_.Ok(f,8);break;case 189:f&&_.Ok(f,42);break;case 190:f&&_.Ok(f,43);break;case 80:f&&_.Ok(f,9);break;case 135:f&&_.Ok(f,35);break;case 102:f&&_.Ok(f,21);break;case 69:_.Ok(d,74);break;case 194:h&&_.Pk(h,2);break;case 193:h&&_.Ok(h,1);break;case 1004:_.Ok(d,108);
break;case 136:_.lM(d,125);break;case 115:k&&_.Ok(k,1);break;case 116:k&&_.Ok(k,2);break;case 34:_.Ok(d,30);f&&_.Ok(f,3);break;case 9:_.Ok(d,10);break;case 91:_.Pk(d,91);break;case 43:_.Ok(d,42);_.Ok(d,43);break;case 187:_.Ok(d,136);break;case 26:_.Ok(d,24);break;case 108:_.kM(d,104);break;case 41:_.Ok(d,40);f&&_.Ok(f,5);break;case 42:_.Ok(d,41);break;case 1005:_.lM(d,117);break;case 59:f&&_.Ok(f,6);break;case 28:_.Ok(d,26);break;case 44:_.Ok(d,45);break;case 13:_.Ok(d,14);break;case 48:_.Ok(d,36);
break;case 38:_.Ok(d,34);break;case 49:_.kM(d,50);break;case 51:_.Ok(d,53);break;case 104:_.Ok(d,102);break;case 39:_.Ok(d,35);break;case 87:_.Ok(d,76);break;case 100:_.Ok(d,98);break;case 72:_.Ok(d,78);break;case 5:_.Ok(d,6);break;case 20:_.Ok(d,21);break;case 21:break;case 29:l&&_.Ok(l,1);break;case 31:l&&_.Ok(l,3);break;case 92:l&&_.Ok(l,4);break;case 30:l&&_.Ok(l,2);break;case 16:_.Pk(d,17);break;case 12:_.Ok(d,13);break;case 211:n&&_.Ok(n,2);break;case 212:n&&_.Ok(n,3);break;case 157:(d=d.Tk())&&
_.lM(d,8);break;case 3:_.Ok(d,4);break;case 11:_.Ok(d,12);break;case 10:_.Ok(d,11);break;case 50:_.Ok(d,49);_.Ok(d,51);_.Pk(d,81);break;case 18:_.Ok(d,19);break;case 95:_.Ok(d,93);break;case 58:_.Ok(d,63);break;case 14:_.lM(d,15);break;case 103:_.Ok(d,101);break;case 1:_.kM(d,2);break;case 96:_.Ok(d,94);break;case 1003:_.lM(d,107);break;case 75:_.Pk(d,85);break;case 94:_.Ok(d,92);break;case 45:_.Ok(d,46);break;case 124:_.Ok(d,118);break;case 125:_.Ok(d,119);break;case 1002:_.Pk(d,100);break;case 32:_.Ok(d,
28);break;case 67:_.Ok(d,70);break;case 68:_.Ok(d,71);break;case 73:_.Ok(d,79);break;case 71:_.Ok(d,77);break;case 210:_.Ok(d,140);break;case 7:_.Ok(d,8);break;case 122:_.Pk(d,109);break;case 66:_.Ok(d,69);break;case 33:_.Ok(d,29);break;case 24:_.Ok(d,22);break;case 25:_.Ok(d,23);break;case 46:_.Pk(d,47);break;case 192:p&&_.Ok(p,6);break;case 159:p&&_.Pk(p,5);break;case 154:p&&_.Ok(p,1);break;case 158:p&&_.Ok(p,4);break;case 155:p&&_.Ok(p,3);break;case 52:_.kM(d,56);break;case 56:_.Ok(d,61);break;
case 55:_.lM(d,60);break;case 4:_.Ok(d,5);break;case 35:_.Ok(d,31);break;case 57:_.Ok(d,62);break;case 83:_.Ok(d,72);break;case 84:_.Pk(d,86);break;case 19:_.Ok(d,20);_.Ok(d,44);_.Ok(d,90);break;case 2:_.Ok(d,3);break;case 6:_.Ok(d,7);break;case 98:_.Ok(d,96);break;case 97:_.Pk(d,95);break;case 27:_.Ok(d,25);break;case 70:_.Ok(d,75);break;case 107:r&&_.Ok(r,3);break;case 106:r&&_.Ok(r,2);break;case 105:r&&_.Ok(r,1);break;case 8:_.Ok(d,9);break;case 126:_.kM(d,120);break;default:throw Error("Dc`"+
e);}}};nQc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.Bc(a),_.Bc(mQc)));a=[].concat(_.Bc(_.G3a.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)lQc(b[d],a)}};
oQc=function(a,b){var c=a.getCapabilities()||new _.Pl,d=_.B(a,_.RN,138),e=_.B(a,_.Rl,111),f=_.B(a,_.TN,27),h=_.B(a,_.Sl,139),k=a.Kf(),l=_.B(a,_.VN,103);switch(b){case 74:return 0<_.am(a).length;case 188:return null!=_.E(a,137);case 149:return 0<_.md(a,128).length;case 148:return 0<a.Xoa().length;case 138:return null!=a.Pba();case 184:return 0<_.md(a,135).length;case 76:return null!=_.Ql(c);case 208:return null!=_.E(c,48);case 185:return null!=_.E(c,40);case 213:return null!=_.E(c,50);case 156:return null!=
_.E(c,39);case 61:return null!=_.E(c,2);case 216:return null!=_.E(c,52);case 217:return null!=_.E(c,53);case 77:return null!=_.E(c,4);case 134:return null!=_.E(c,34);case 147:return null!=c.Pv();case 81:return null!=_.E(c,10);case 82:return null!=_.E(c,11);case 114:return null!=_.E(c,27);case 133:return null!=_.E(c,33);case 202:return null!=_.E(c,47);case 132:return null!=_.E(c,32);case 101:return null!=_.E(c,20);case 201:return null!=_.E(c,46);case 131:return null!=_.E(c,31);case 200:return null!=
_.E(c,45);case 130:return null!=_.E(c,30);case 93:return null!=_.E(c,17);case 191:return null!=_.E(c,44);case 146:return null!=_.E(c,37);case 90:return null!=_.od(c);case 78:return null!=_.E(c,7);case 186:return null!=_.E(c,41);case 85:return null!=_.E(c,12);case 137:return null!=_.E(c,36);case 209:return null!=_.E(c,49);case 79:return null!=_.E(c,8);case 189:return null!=_.E(c,42);case 190:return null!=_.E(c,43);case 80:return null!=c.V();case 135:return null!=_.E(c,35);case 102:return null!=_.E(c,
21);case 69:return null!=_.E(a,74);case 194:return null!=d&&null!=_.B(d,_.SN,2);case 193:return null!=d&&null!=_.y(d,1);case 1004:return null!=_.E(a,108);case 136:return 0<a.gW().length;case 115:return null!=e&&null!=_.E(e,1);case 116:return null!=e&&null!=_.y(e,2);case 34:return null!=_.E(a,30)||null!=_.E(c,3);case 9:return null!=a.BD();case 91:return null!=_.B(a,_.Kl,91);case 43:return null!=_.y(a,42)||null!=_.y(a,43);case 187:return null!=_.y(a,136);case 26:return null!=a.Bg();case 108:return 0<
_.md(a,104).length;case 41:return null!=c.W();case 42:return null!=_.y(a,41);case 1005:return 0<a.lM().length;case 59:return null!=_.E(c,6);case 28:return null!=a.yF();case 44:return null!=_.y(a,45);case 13:return null!=a.zF();case 48:return null!=_.E(a,36);case 38:return null!=a.Si();case 49:return 0<_.md(a,50).length;case 51:return null!=_.E(a,53);case 104:return null!=_.E(a,102);case 39:return null!=a.qca();case 87:return null!=_.$l(a);case 100:return null!=_.E(a,98);case 72:return null!=_.y(a,
78);case 5:return null!=a.zm();case 20:return null!=a.Ye();case 21:return null!=a.getId();case 29:return!(!f||null==_.y(f,1));case 31:return!(!f||null==f.We());case 92:return!(!f||null==_.y(f,4));case 30:return!(!f||null==_.y(f,2));case 16:return null!=a.bq();case 12:return null!=a.Nz();case 211:return null!=h&&null!=_.E(h,2);case 212:return null!=h&&null!=_.E(h,3);case 157:return a=a.Tk(),!(!a||!_.Xk(a,_.Ul,8));case 3:return null!=a.$b();case 11:return null!=a.WB();case 10:return null!=a.Qr();case 50:return null!=
a.$q()||null!=_.E(a,51)||null!=a.Hn();case 18:return null!=_.y(a,19);case 14:return 0<_.Zl(a).length;case 95:return null!=a.Zn();case 58:return null!=_.E(a,63);case 103:return null!=_.y(a,101);case 1:return 0<a.Zi().length;case 96:return null!=_.E(a,94);case 1003:return 0<_.cm(a).length;case 75:return null!=a.Zw();case 94:return null!=_.y(a,92);case 45:return null!=a.jr();case 124:return null!=_.E(a,118);case 125:return null!=_.y(a,119);case 1002:return null!=_.bm(a);case 32:return null!=a.MB();case 67:return null!=
a.KM();case 68:return null!=a.LM();case 73:return null!=_.y(a,79);case 71:return null!=a.V();case 210:return null!=_.dm(a);case 7:return null!=a.m1();case 122:return null!=a.OF();case 66:return null!=_.y(a,69);case 33:return null!=_.E(a,29);case 24:return null!=a.vj();case 25:return null!=a.px();case 46:return null!=a.tD();case 192:return null!=k&&null!=_.E(k,6);case 159:return null!=k&&null!=_.ud(k);case 154:return null!=k&&null!=_.y(k,1);case 158:return null!=k&&null!=_.yd(k);case 155:return null!=
k&&null!=_.y(k,3);case 52:return 0<_.md(a,56).length;case 55:return 0<a.$v().length;case 56:return null!=_.y(a,61);case 4:return null!=a.Oz();case 35:return null!=_.E(a,31);case 57:return null!=_.y(a,62);case 83:return null!=a.Cc();case 84:return null!=_.B(a,_.UN,86);case 2:return null!=a.getTitle();case 19:return null!=a.$h()||null!=_.E(a,44)||null!=_.y(a,90);case 6:return null!=a.ai();case 98:return null!=a.LD();case 97:return null!=a.MD();case 27:return null!=a.An();case 70:return null!=_.y(a,
75);case 107:return null!=l&&null!=_.y(l,3);case 106:return null!=l&&null!=l.We();case 105:return null!=l&&null!=_.y(l,1);case 8:return null!=_.E(a,9);case 126:return 0<_.md(a,120).length;default:throw Error("Ec`"+b);}};pQc=function(a,b){return b.every(function(c){return oQc(a,c)})};qQc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.PJc:[]);return b.every(function(e){return(new Set(d)).has(e)})};rQc=function(a,b){var c=new Set(b.concat(_.PJc));return a.filter(function(d){return!c.has(d)})};
OO=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(oQc(b,e))if(_.I3a.has(e)){if(d){var f=a.getCapabilities()||new _.Pl;a.Rn(f);switch(e){case 76:_.FKc(f,_.Ql(d));break;case 208:_.$Kc(f,_.E(d,48));break;case 185:var h=_.E(d,40);_.x(f,40,h);break;case 213:var k=_.E(d,50);_.x(f,50,k);break;case 156:var l=_.E(d,39);_.x(f,39,l);break;case 61:var n=_.E(d,2);_.x(f,2,n);break;case 216:var p=_.E(d,52);_.x(f,52,p);break;case 217:var r=_.E(d,53);_.x(f,53,r);break;case 77:_.GKc(f,
_.E(d,4));break;case 134:var u=_.E(d,34);_.x(f,34,u);break;case 147:var z=d.Pv();_.x(f,38,z);break;case 81:_.MKc(f,_.E(d,10));break;case 82:_.NKc(f,_.E(d,11));break;case 114:var A=_.E(d,27);_.x(f,27,A);break;case 133:_.VKc(f,_.E(d,33));break;case 202:_.ZKc(f,_.E(d,47));case 132:_.UKc(f,_.E(d,32));break;case 101:_.RKc(f,_.E(d,20));break;case 201:_.YKc(f,_.E(d,46));break;case 131:_.TKc(f,_.E(d,31));break;case 200:var F=_.E(d,45);_.x(f,45,F);break;case 130:var L=_.E(d,30);_.x(f,30,L);break;case 93:_.QKc(f,
_.E(d,17));break;case 191:var I=_.E(d,44);_.x(f,44,I);break;case 146:var P=_.E(d,37);_.x(f,37,P);break;case 90:_.PKc(f,_.od(d));break;case 78:_.JKc(f,_.E(d,7));break;case 186:var S=_.E(d,41);_.x(f,41,S);break;case 85:_.OKc(f,_.E(d,12));break;case 137:var da=_.E(d,36);_.x(f,36,da);break;case 209:var ca=_.E(d,49);_.x(f,49,ca);break;case 79:_.KKc(f,_.E(d,8));break;case 189:_.WKc(f,_.E(d,42));break;case 190:_.XKc(f,_.E(d,43));break;case 80:_.LKc(f,d.V());break;case 135:var za=_.E(d,35);_.x(f,35,za);break;
case 102:_.SKc(f,_.E(d,21));break;case 34:var oa=_.E(b,30);_.x(a,30,oa);var la=_.E(d,3);_.x(f,3,la);break;case 41:var La=_.E(b,40);_.x(a,40,La);_.HKc(f,d.W());break;case 59:_.IKc(f,_.E(d,6))}}}else if(_.J3a.has(e)){var Oa=_.B(b,_.RN,138);if(Oa){var xb=_.B(a,_.RN,138)||new _.RN;_.J(a,138,xb);switch(e){case 194:var jb=_.B(Oa,_.SN,2);_.J(xb,2,jb);break;case 193:var ec=_.y(Oa,1);_.x(xb,1,ec)}}}else if(_.K3a.has(e)){var sd=_.B(b,_.Rl,111);if(sd){var le=_.B(a,_.Rl,111)||new _.Rl;_.J(a,111,le);switch(e){case 115:_.bLc(le,
_.E(sd,1));break;case 116:_.cLc(le,_.y(sd,2))}}}else if(_.L3a.has(e)){var gf=_.B(b,_.TN,27);if(gf){var ae=_.B(a,_.TN,27)||new _.TN;_.J(a,27,ae);switch(e){case 29:var bf=_.y(gf,1);_.x(ae,1,bf);break;case 31:ae.wg(gf.We());break;case 92:var rg=_.y(gf,4);_.x(ae,4,rg);break;case 30:var hh=_.y(gf,2);_.x(ae,2,hh)}}}else if(_.M3a.has(e)){var qd=_.B(b,_.Sl,139);if(qd){var Rh=_.B(a,_.Sl,139)||new _.Sl;_.J(a,139,Rh);switch(e){case 211:var wf=_.E(qd,2);_.x(Rh,2,wf);break;case 212:var Yf=_.E(qd,3);_.x(Rh,3,Yf)}}}else{if(d&&
_.Ck(d,51)){var Ob=a.getCapabilities()||new _.Pl;a.Rn(Ob);_.aLc(Ob,_.Ck(d,51))}if(_.N3a.has(e)){var ig=b.Kf();if(ig){var Zi=a.Kf()||new _.Qma;_.J(a,132,Zi);switch(e){case 192:var Kk=_.E(ig,6);_.x(Zi,6,Kk);break;case 159:var po=_.ud(ig);_.J(Zi,5,po);break;case 154:var qo=_.y(ig,1);_.x(Zi,1,qo);break;case 158:var xf=_.yd(ig);_.x(Zi,4,xf);break;case 155:var Zf=_.y(ig,3);_.x(Zi,3,Zf)}}}else if(_.O3a.has(e)){var Gg=_.B(b,_.VN,103);if(Gg){var $i=_.B(a,_.VN,103)||new _.VN;_.J(a,103,$i);switch(e){case 107:var Km=
_.y(Gg,3);_.x($i,3,Km);break;case 106:$i.wg(Gg.We());break;case 105:var al=_.y(Gg,1);_.x($i,1,al)}}}else switch(e){case 74:var vl=_.am(b);_.$k(a,83,vl);break;case 188:var Wl=_.E(b,137);_.x(a,137,Wl);break;case 149:var aj=_.md(b,128);_.x(a,128,aj||[]);break;case 148:var Wj=b.Xoa();_.$k(a,127,Wj);break;case 138:var Hg=b.Pba();_.x(a,126,Hg);break;case 184:var si=_.md(b,135);_.x(a,135,si||[]);break;case 69:var wl=_.E(b,74);_.x(a,74,wl);break;case 1004:var bj=_.E(b,108);_.x(a,108,bj);break;case 136:var Xj=
b.gW();_.$k(a,125,Xj);break;case 9:var sg=b.BD();_.x(a,10,sg);break;case 91:var Jh=_.B(b,_.Kl,91);_.J(a,91,Jh);break;case 43:var ti=_.y(b,42);_.x(a,42,ti);var bl=_.y(b,43);_.x(a,43,bl);break;case 187:var Lm=_.y(b,136);_.x(a,136,Lm);break;case 26:a.am(b.Bg());break;case 108:var ih=_.md(b,104);_.x(a,104,ih||[]);break;case 42:var ci=_.y(b,41);_.x(a,41,ci);break;case 1005:var wd=b.lM();_.$k(a,117,wd);break;case 28:_.lLc(a,b.yF());break;case 44:var cl=_.y(b,45);_.x(a,45,cl);break;case 13:var cj=b.zF();
_.x(a,14,cj);break;case 48:var mp=_.E(b,36);_.x(a,36,mp);break;case 38:_.nLc(a,b.Si());break;case 49:var xl=_.md(b,50);_.x(a,50,xl||[]);break;case 51:var yl=_.E(b,53);_.x(a,53,yl);break;case 104:var Mm=_.E(b,102);_.x(a,102,Mm);break;case 39:var Yj=b.qca();_.x(a,35,Yj);break;case 87:var rh=_.$l(b);_.x(a,76,rh);break;case 100:var zl=_.E(b,98);_.x(a,98,zl);break;case 72:var un=_.y(b,78);_.x(a,78,un);break;case 5:var xh=b.zm();_.x(a,6,xh);break;case 20:var di=b.Ye();_.x(a,21,di);break;case 21:a.Ub(b.getId());
break;case 16:_.jLc(a,b.bq());break;case 12:var Gi=b.Nz();_.x(a,13,Gi);break;case 157:var Sh=b.Tk();if(Sh){var Xl=a.Tk()||new _.Oma;sQc(a,Xl);tQc(Xl,_.Xk(Sh,_.Ul,8))}break;case 3:_.bM(a,b.$b());break;case 11:var ro=b.WB();_.x(a,12,ro);break;case 10:_.PFc(a,b.Qr());break;case 50:var np=b.$q();_.x(a,49,np);var Al=_.E(b,51);_.x(a,51,Al);var Nm=b.Hn();_.J(a,81,Nm);break;case 95:_.tLc(a,b.Zn());break;case 18:_.kLc(a,_.y(b,19));break;case 58:var so=_.E(b,63);_.x(a,63,so);break;case 14:_.iLc(a,_.Zl(b));
break;case 1:_.WN(a,b.Zi());break;case 96:var Yl=_.E(b,94);_.x(a,94,Yl);break;case 103:var to=_.y(b,101);_.x(a,101,to);break;case 1003:uQc(a,_.cm(b));break;case 75:_.rLc(a,b.Zw());break;case 94:_.sLc(a,_.y(b,92));break;case 45:var op=b.jr();_.x(a,46,op);case 124:var Lk=_.E(b,118);_.x(a,118,Lk);break;case 125:var $f=_.y(b,119);_.x(a,119,$f);break;case 1002:var Om=_.bm(b);_.J(a,100,Om);break;case 32:var pp=b.MB();_.x(a,28,pp);break;case 67:var mq=b.KM();_.x(a,70,mq);break;case 68:var dl=b.LM();_.x(a,
71,dl);break;case 73:var uo=_.y(b,79);_.x(a,79,uo);break;case 71:var nq=b.V();_.x(a,77,nq);break;case 210:var qp=_.dm(b);_.x(a,140,qp);break;case 7:_.hLc(a,b.m1());break;case 122:vQc(a,b.OF());break;case 66:var qk=_.y(b,69);_.x(a,69,qk);break;case 33:var Aj=_.E(b,29);_.x(a,29,Aj);break;case 24:var Dt=b.vj();_.x(a,22,Dt);break;case 25:var rp=b.px();_.x(a,23,rp);break;case 46:var sp=b.tD();_.J(a,47,sp);break;case 52:var Et=_.md(b,56);_.x(a,56,Et||[]);break;case 56:var Ux=_.y(b,61);_.x(a,61,Ux);break;
case 55:a.XG(b.$v());break;case 4:a.At(b.Oz());break;case 35:_.mLc(a,_.E(b,31));break;case 57:var aC=_.y(b,62);_.x(a,62,aC);break;case 83:_.qLc(a,b.Cc());break;case 84:var qf=_.B(b,_.UN,86);_.J(a,86,qf);break;case 98:var Vx=b.LD();_.x(a,96,Vx);break;case 97:var iF=b.MD();_.J(a,95,iF);break;case 19:var el=b.$h();_.x(a,20,el);_.oLc(a,_.E(b,44));var sJ=_.y(b,90);_.x(a,90,sJ);break;case 2:a.setTitle(b.getTitle());break;case 6:a.to(b.ai());break;case 27:_.QFc(a,b.An());break;case 70:var Ft=_.y(b,75);_.x(a,
75,Ft);break;case 8:var jF=_.E(b,9);_.x(a,9,jF);break;case 126:var us=_.md(b,120);_.x(a,120,us||[]);break;default:throw Error("Fc`"+e);}}})};wQc=function(a,b){var c=_.SA[a];return b.filter(function(d){return!c||!c.has(d)})};xQc=function(a,b,c){a=wQc(c,a);return qQc(b,a,!0)};yQc=function(a){return!!_.E(a,31)&&!_.E(a,94)};AQc=function(a){return zQc.some(function(b){return oQc(a,b)})};BQc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(PO(b))})};CQc=function(a){return BQc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.DQc=function(a,b){a=0===b?1:a/b;return 1<=a?6:.95<=a?5:.9<=a?4:.8<=a?3:.7<=a?2:1};EQc=function(a,b){var c=_.aGc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};GQc=function(a,b){if(b){var c=[];_.E(b,3)&&c.push("folder");var d=FQc()&&4==b.getType()?"title_natural":_.cIc[b.getType()];b=_.eIc[b.ih()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
IQc=function(a,b,c,d){b="#"+b+"_";var e=new _.dM;e.update(c.join(","));b+=_.TFc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new HQc(c.port),c.port.start()):a=new HQc(new Worker(a));return a};KQc=function(a){var b=a.slice(0),c=new Set(b);JQc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
MQc=function(a){var b=new LQc;if(a instanceof _.XM)_.Zk(b,16,QO[0],a);else if(a instanceof _.YM)_.Zk(b,1,QO[0],a);else if(a instanceof _.ZM)_.Zk(b,2,QO[0],a);else if(a instanceof _.bN)_.Zk(b,3,QO[0],a);else if(a instanceof _.yO)_.Zk(b,4,QO[0],a);else if(a instanceof _.$M)_.Zk(b,5,QO[0],a);else if(a instanceof _.fN)_.Zk(b,6,QO[0],a);else if(a instanceof _.hN)_.Zk(b,7,QO[0],a);else if(a instanceof _.iN)_.Zk(b,8,QO[0],a);else if(a instanceof _.lN)_.Zk(b,9,QO[0],a);else if(a instanceof _.zN)_.Zk(b,10,
QO[0],a);else if("undefined"!=typeof _.AN&&a instanceof _.AN)_.Zk(b,11,QO[0],a);else if(a instanceof _.$Jc)_.Zk(b,12,QO[0],a);else if(a instanceof _.zM)_.Zk(b,13,QO[0],a);else if(a instanceof _.FN)_.Zk(b,14,QO[0],a);else if(a instanceof _.GN)_.Zk(b,15,QO[0],a);else throw new _.Db("Unsupported request type");return b};
QQc=function(a){a=a.map(function(c){var d=new NQc;if(c instanceof _.XM)_.Zk(d,6,OQc[0],c);else if(c instanceof _.fN)_.Zk(d,1,OQc[0],c);else if(c instanceof _.zN)_.Zk(d,2,OQc[0],c);else if("undefined"!=typeof _.AN&&c instanceof _.AN)_.Zk(d,3,OQc[0],c);else if(c instanceof _.zM)_.Zk(d,4,OQc[0],c);else if(c instanceof _.GN)_.Zk(d,5,OQc[0],c);else throw new _.Db("Unsupported request type");return d});var b=new PQc;_.$k(b,1,a);return b};
TQc=function(a){var b=new RQc;if("undefined"!=typeof _.ME&&a instanceof _.ME)_.Zk(b,1,SQc[0],a);else if("undefined"!=typeof _.NE&&a instanceof _.NE)_.Zk(b,2,SQc[0],a);else throw new _.Db("Unsupported request type");return b};WQc=function(a){var b=new UQc;if(a instanceof _.cN)_.Zk(b,1,VQc[0],a);else if(a instanceof _.jN)_.Zk(b,2,VQc[0],a);else if(a instanceof _.HN)_.Zk(b,3,VQc[0],a);else throw new _.Db("Unsupported request type");return b};
XQc=function(a,b){var c=a.Hn();c||(c=new _.Tl,b&&_.J(a,81,c));return c};YQc=function(a){if(_.WM(a))_.PM(XQc(a,!0),!0);else if(_.WM(a,!0)){var b=a.Kf();if(b=b&&_.ud(b))_.PM(XQc(b,!0),!0),_.PM(XQc(a,!0),!0)}};ZQc=function(a){return!!a.Hn()&&!_.WM(a)};$Qc=function(a){var b=[];_.Ga(a,function(c){if(3!=PO(c)){var d=c;if(null!=d.$q()||null!=_.E(d,51)||null!=d.Hn())c=_.kl(c),_.Ok(c,49),_.Ok(c,51),_.Pk(c,81);b.push(c)}});return b};aRc=function(a){return a.map(function(b){return b.getItem()})};
bRc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};dRc=function(a){return a.map(function(b){var c=new _.Emb;c=_.x(c,3,cRc[b.serviceName]);return _.x(c,2,Number(b.bytesUsed))})};fRc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return eRc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
hRc=function(a){a=a.Gy();var b=new gRc;a.forEach(function(c){var d=c.getKey();d=d&&_.y(d,2);"corpusSize"==d?(c=_.Yg(c.kb()),_.x(b,3,c)):"linkedItems"==d?(c=_.Yg(c.kb()),_.x(b,2,c)):"linkedFolders"==d&&(c=_.Yg(c.kb()),_.x(b,1,c))});return"number"===typeof _.y(b,3)?b:null};iRc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Te;_.Ue(b,305);_.Ve(b,!0);_.x(b,3,2);var c=new _.hE;_.J(c,1,b);var d=new _.hKc(c,[7]);a=a.then(function(e){return e.H(d)}).then(hRc);return _.Bi(a)};
jRc=function(a){var b={},c=a.getKey(),d=c&&_.y(c,2);b.key=d;b.value=a.kb();(a=c&&_.Sp(c))&&(b.namespace=_.eJc[a]);return b};kRc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.eJc[a[c]]);return b};nRc=function(a){var b=_.sH(a);b=lRc(new RO,b).$c(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new mRc;a=_.y(a,5);a=_.x(c,1,a);return _.J(b,4,a)};
pRc=function(a,b){var c=oRc(a.V,b.Mc());if(c){var d=c.getItem(),e=d.Zw();if(e){var f=_.Xk(e,_.Kl,2),h=_.ra(f,function(k){return k.getId()==b.V()});_.eLc(e,f);h||(f=_.Xk(e,_.Kl,3),_.ra(f,function(k){return k.getId()==b.V()}),_.fLc(e,f));_.dLc(e,(_.y(e,1)||1)-1);SO(a,[d],c.V)}}};
rRc=function(a,b,c){if(b=oRc(a.V,b.Mc())){var d=b.getItem(),e=d.Zw();if(e){if(1==c.getType()||2==c.getType()){var f=_.Xk(e,_.Kl,3);f.push(c);_.Ea(f,qRc);_.fLc(e,f)}else f=_.Xk(e,_.Kl,2),f.push(c),_.Ea(f,qRc),_.eLc(e,f);_.dLc(e,(_.y(e,1)||0)+1);SO(a,[d],b.V)}}};
vRc=function(a){var b=a.json.exportJob,c=sRc[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||0;var f=0,h=0,k=_.Ee(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.Ee(b.failedItemInfos||[],function(l){var n=_.bM((new _.Vl).Ub(l.docId).setTitle(l.title),l.mediaType);n=(new _.tRc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new uRc(c,d,k,f,h,e,a,b)};
wRc=function(a){a=a.Bd();return a?(a=a.De())?_.y(a,1):0:0};xRc=function(a,b){return _.C(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};zRc=function(a,b){var c=new _.FM,d=new Set;if(6==a){a=_.v(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.MJc.get(PO(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}yRc(c,[].concat(_.Bc(d)));return c};
ARc=function(a,b){var c={};a=_.Ff(a,function(d){return!!d});b=_.Ff(b,function(d){return!!d});_.Ef(a,function(d,e){var f=b[e];f?_.jl(d,f)||(d=_.IJc(4).setItem(f),c[e]=d):(d=_.IJc(2).setItem(d),c[e]=d)});_.Ef(b,function(d,e){a[e]||(d=_.IJc(1).setItem(d),c[e]=d)});return c};BRc=function(a,b){return _.If(a)!=_.If(b)||!_.Lf(ARc(a,b))};
FRc=function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(CRc(b))return b=new TO(a,b,3),new UO(b,b.Wa);_.x(b,61,!1);var c=_.mM(b.xf())?2:1;a=new VO(a,b,c,void 0,void 0,void 0);return _.mM(b.xf())?new DRc(a):new ERc(a)};GRc=function(a){return _.Dd(a).Lg(_.C(a.get(_.er),19,!1)?_.JFc:_.$Ra)};HRc=function(a,b){a.H.push(b>>>0&255);a.H.push(b>>>8&255);a.H.push(b>>>16&255);a.H.push(b>>>24&255)};IRc=function(a,b){return _.$k(a,1,b)};JRc=[1];KRc=function(a){_.T(this,a,0,-1,JRc,null)};_.O(KRc,_.K);
KRc.prototype.HM=function(){return _.Xk(this,_.Kl,1)};KRc.prototype.v$=function(a){_.gl(this,1,a,_.Kl,void 0)};var LRc=function(a){var b=new KRc;return _.$k(b,1,a)},MRc=function(a,b){return _.J(a,1,b)},NRc=function(a,b){_.$k(a,2,b)},ORc=function(a,b){_.J(a,6,b)},PRc=function(a){_.T(this,a,0,-1,null,null)};_.O(PRc,_.K);var QRc=function(a){_.T(this,a,0,-1,null,null)};_.O(QRc,_.K);var RRc=function(a){_.T(this,a,0,-1,null,null)};_.O(RRc,_.K);var SRc=function(a){_.T(this,a,0,-1,null,null)};_.O(SRc,_.K);
var TRc=function(a){_.T(this,a,0,-1,null,null)};_.O(TRc,_.K);var URc=function(a){_.T(this,a,0,-1,null,null)};_.O(URc,_.K);var VRc=function(a){_.T(this,a,0,-1,null,null)};_.O(VRc,_.K);var WRc=function(a){_.T(this,a,0,-1,null,null)};_.O(WRc,_.K);var XRc=function(a){_.T(this,a,0,-1,null,null)};_.O(XRc,_.K);var YRc=function(a){_.T(this,a,0,-1,null,null)};_.O(YRc,_.K);var ZRc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZRc,_.K);var $Rc=function(a){_.T(this,a,0,-1,null,null)};_.O($Rc,_.K);
var aSc=function(a){_.T(this,a,0,-1,null,null)};_.O(aSc,_.K);var bSc=function(a){_.T(this,a,0,-1,null,null)};_.O(bSc,_.K);var cSc=[[1,2,3,4]],dSc=function(a){_.T(this,a,0,-1,null,cSc)};_.O(dSc,_.K);var eSc=[[1]],fSc=function(a){_.T(this,a,0,-1,null,eSc)};_.O(fSc,_.K);var gSc=[[1,2]],hSc=function(a){_.T(this,a,0,-1,null,gSc)};_.O(hSc,_.K);var iSc=[[1]],jSc=function(a){_.T(this,a,0,-1,null,iSc)};_.O(jSc,_.K);var kSc=[[1,2]],lSc=function(a){_.T(this,a,0,-1,null,kSc)};_.O(lSc,_.K);
lSc.prototype.xg=function(a){_.Zk(this,1,kSc[0],a)};var mSc=[1],nSc=function(a){_.T(this,a,0,-1,mSc,null)};_.O(nSc,_.K);var oSc=[[1]],pSc=function(a){_.T(this,a,0,-1,null,oSc)};_.O(pSc,_.K);var qSc=[2],rSc=function(a){_.T(this,a,0,-1,qSc,null)};_.O(rSc,_.K);var sSc=[[1]],tSc=function(a){_.T(this,a,0,-1,null,sSc)};_.O(tSc,_.K);tSc.prototype.xg=function(a){_.Zk(this,1,sSc[0],a)};var uSc=[[1,2]],vSc=function(a){_.T(this,a,0,-1,null,uSc)};_.O(vSc,_.K);
var wSc=[[1]],xSc=function(a){_.T(this,a,0,-1,null,wSc)};_.O(xSc,_.K);
var ySc=function(a,b){return _.Zk(a,3,_.Ml[0],b)},zSc=function(a,b){_.$k(a,1,b)},ASc=function(a,b){return _.x(a,2,b)},BSc=function(a,b){return _.J(a,3,b)},CSc=function(a,b){return _.x(a,4,b)},DSc=function(a,b){_.$k(a,1,b)},ESc=function(a,b){return _.J(a,2,b)},FSc=function(a,b){_.$k(a,1,b)},GSc=function(a,b){return _.J(a,4,b)},HSc=function(a,b){_.J(a,5,b)},ISc=function(a,b){_.$k(a,2,b)},JSc=function(a,b){_.$k(a,4,b)},KSc=function(a,b){return _.J(a,5,b)},LSc=function(a,b){_.$k(a,1,b)},MSc=function(a,
b){return _.J(a,2,b)},NSc=function(a,b){_.$k(a,2,b)},OSc=function(a,b){return _.$k(a,3,b)},PSc=function(a,b){_.$k(a,1,b)},QSc=function(a,b){return _.x(a,2,b)},RSc=function(a,b){return _.J(a,3,b)},SSc=function(a,b){_.$k(a,2,b)},TSc=function(a,b){return _.J(a,3,b)},USc=function(a,b){_.$k(a,1,b)},VSc=function(a,b){return _.$k(a,2,b)},WSc=function(a,b){_.$k(a,1,b)},XSc=function(a,b){return _.J(a,2,b)},YSc=function(a,b){return _.J(a,1,b)},ZSc=function(a,b){return _.x(a,2,b)},$Sc=function(a,b){return _.x(a,
3,b)},tQc=function(a,b){_.$k(a,8,b)},PO=function(a){return _.Gk(a,52,1)},sQc=function(a,b){return _.J(a,73,b)},uQc=function(a,b){_.$k(a,107,b)},vQc=function(a,b){_.J(a,109,b)},aTc=function(a){_.T(this,a,0,-1,null,null)};_.O(aTc,_.K);var bTc=function(a){_.T(this,a,0,-1,null,null)};_.O(bTc,_.K);var cTc=[11],dTc=function(a){_.T(this,a,0,-1,cTc,null)};_.O(dTc,_.K);var WO=function(a){_.T(this,a,0,-1,null,null)};_.O(WO,_.K);WO.prototype.getKey=function(){return _.y(this,2)};
XO=function(a){return _.D(a,4,"en")};_.YO=function(a){return _.B(a,dTc,34,1)};eTc=function(a,b){return _.x(a,1,b||[])};fTc=function(a,b){return _.x(a,5,b)};_.gTc=function(a,b){return _.$k(a,5,b)};_.hTc=function(a,b){return _.x(a,6,b)};_.iTc=function(a,b){return _.x(a,7,b)};_.jTc=function(a,b){return _.x(a,8,b)};_.kTc=function(a,b){return _.x(a,10,b)};_.lTc=function(a,b){return _.x(a,15,b)};mTc=[2];_.nTc=function(a){_.T(this,a,0,-1,mTc,null)};_.O(_.nTc,_.K);
_.nTc.prototype.zh=function(){return _.y(this,1)};_.oTc=function(a,b){return _.x(a,2,b)};_.pTc=function(a,b){return _.x(a,3,b)};_.qTc=function(a,b){return _.x(a,1,b)};_.rTc=function(a,b){return _.x(a,2,b)};_.sTc=function(a,b){return _.J(a,1,b)};tTc=function(a,b){return _.x(a,2,b)};uTc=function(a,b){return _.x(a,3,b)};vTc=function(a,b){_.$k(a,4,b)};_.wTc=function(a,b){_.J(a,8,b)};_.xTc=function(a,b){_.J(a,9,b)};_.yO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.yO,_.K);
_.yO.prototype.getTitle=function(){return _.y(this,1)};_.yO.prototype.setTitle=function(a){return _.x(this,1,a)};_.yO.prototype.De=function(){return _.B(this,_.Te,2)};yTc=function(a,b){return _.x(a,9,b||[])};zTc=function(a,b){return _.x(a,10,b||[])};ATc=function(a,b){return _.x(a,36,b)};BTc=function(a,b){return _.$k(a,38,b)};_.CTc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.CTc,_.K);_.CTc.prototype.getId=function(){return _.y(this,1)};_.CTc.prototype.Ub=function(a){return _.x(this,1,a)};
var DTc=function(a,b){return _.x(a,2,b)},ETc=function(a,b){return _.J(a,3,b)},yRc=function(a,b){return _.x(a,1,b||[])},FTc={TYPE_UNSPECIFIED:0,TYPE_APP:1,TYPE_SYNC_CALENDAR:2,TYPE_SYNC_CONTACTS:3,TYPE_SYNC_PHOTOS_AND_VIDEOS:4,TYPE_CALL_HISTORY:5,TYPE_DEVICE_SETTINGS:6,TYPE_SMS:7,TYPE_MMS:8},ZO=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.jl(b[a],c[a]))return!0;return!1},GTc=[1,3,5],HTc=function(a){_.T(this,a,0,-1,GTc,null)};_.O(HTc,_.K);
HTc.prototype.Ky=function(){return _.E(this,2)};var ITc=function(a,b){_.x(a,2,b)},JTc=function(a,b){_.Vk(a,5,b,void 0)},KTc=function(a,b){_.x(a,6,b)},LTc=function(a,b){_.x(a,7,b)},MTc=function(a){_.T(this,a,0,-1,null,null)};_.O(MTc,_.K);MTc.prototype.Ky=function(){return _.E(this,1)};MTc.prototype.Dp=function(){return _.y(this,6)};var NTc=function(a){_.T(this,a,0,-1,null,null)};_.O(NTc,_.K);var OTc=function(a){_.T(this,a,0,-1,null,null)};_.O(OTc,_.K);var PTc=function(a){_.T(this,a,0,-1,null,null)};
_.O(PTc,_.K);var QTc=function(a){_.T(this,a,0,-1,null,null)};_.O(QTc,_.K);var RTc=function(a){_.T(this,a,0,-1,null,null)};_.O(RTc,_.K);var STc=function(a){_.T(this,a,0,-1,null,null)};_.O(STc,_.K);var TTc=function(a){_.T(this,a,0,-1,null,null)};_.O(TTc,_.K);TTc.prototype.Ky=function(){return _.E(this,2)};var UTc=function(a,b){_.x(a,1,b)},VTc=[1],WTc=function(a){_.T(this,a,0,-1,VTc,null)};_.O(WTc,_.K);_.XTc=function(a,b){_.J(a,2,b)};YTc=[2];ZTc=function(a){_.T(this,a,0,-1,YTc,null)};_.O(ZTc,_.K);
_.g=ZTc.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.HM=function(){return _.Xk(this,_.Kl,2)};_.g.v$=function(a){_.gl(this,2,a,_.Kl,void 0)};_.g.Vj=function(){return _.y(this,3)};var $Tc=[2],aUc=function(a){_.T(this,a,0,-1,$Tc,null)};_.O(aUc,_.K);aUc.prototype.Ib=function(){return _.y(this,1)};aUc.prototype.Fc=function(a){return _.x(this,1,a)};aUc.prototype.Vj=function(){return _.y(this,3)};bUc=function(a,b){return _.x(a,1,b||[])};
_.cUc=function(a,b){_.J(a,1,b)};dUc=function(a,b,c){_.kO(a,b,c,"warning")};eUc=function(a){return _.yf(a.Rq,function(b){return _.ON(b.yt.request)})};fUc=function(a){var b=[];a.Rq.forEach(function(c){(c=c.yt.config.timestamp)&&b.push(c)});return b};gUc=function(a){return a.W.eNa()?!0:a.V.some(function(b){return eUc(b)})};hUc=function(a){var b=[];a.ka.forEach(function(c){c.forEach(function(d){(d=d.yt.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.va(b,fUc(c))});return b};iUc=function(a){return[].concat(_.Bc(a.V))};
jUc=function(a){return a.H.concat([].concat(_.Bc(a.V)))};kUc=function(a,b){var c=new Set;b=_.v(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.V.has(d)||(a.V.add(d),c.add(d));return[].concat(_.Bc(c))};$O=function(a){var b=_.EO(a).Bd();b||(b=new _.RLc,a=_.EO(a),_.J(a,1,b));return b};lUc=function(a){var b=_.B(_.EO(a),HTc,3);b||(b=new HTc,a=_.EO(a),_.J(a,3,b));return b};mUc=function(a){var b=_.B(_.EO(a),MTc,16);b||(b=new MTc,a=_.EO(a),_.J(a,16,b));return b};
nUc=function(a){var b=_.B(_.EO(a),PTc,7);b||(b=new PTc,a=_.EO(a),_.J(a,7,b));return b};oUc=function(a){var b=_.B(_.EO(a),RTc,12);b||(b=new RTc,a=_.EO(a),_.J(a,12,b));return b};pUc=function(a){var b=_.B(_.EO(a),TTc,17);b||(b=new TTc,a=_.EO(a),_.J(a,17,b));return b};
qUc=function(a){if(a instanceof _.eM)return 2;if(a instanceof _.Vp)return 10;if(a instanceof _.Ge)return _.pN(a)?3:_.qN(a)?7:_.rN(a)?8:1;if(a instanceof _.Np)return 9;if(a instanceof _.tH)return 11;if(a instanceof _.xN)return 15;if(a instanceof _.IN)return 6;if(a instanceof _.tN){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.hE)return 4;if(a instanceof _.Xp)return 12;if("undefined"!=typeof _.JN&&a instanceof _.JN)return 13}return 0};
rUc=function(a){var b=null;a instanceof _.rD||"undefined"!=typeof _.GO&&a instanceof _.GO||"undefined"!=typeof _.HO&&a instanceof _.HO?b=a.zf()||0:"undefined"!=typeof _.JO&&a instanceof _.JO||"undefined"!=typeof _.KO&&a instanceof _.KO||"undefined"!=typeof _.LO&&a instanceof _.LO||"undefined"!=typeof _.MO&&a instanceof _.MO||"undefined"!=typeof _.FPc&&a instanceof _.FPc?b=a.H:"undefined"!=typeof _.IO&&a instanceof _.IO&&(b=a.zf());return b||0};
sUc=function(a,b){return a.W&&_.MPc(a)?_.IPc(a.W,b,0):null};tUc=function(a,b){if(a.W&&_.MPc(a)){a=_.IPc(a.W,106018,0);var c=_.B(_.EO(a),STc,15);if(!c){c=new STc;var d=_.EO(a);_.J(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};uUc=function(a){a.W&&_.MPc(a)&&(a=a.W,a.isRunning()&&a.H.BY())};vUc=function(a,b){if(!(a instanceof b.constructor))throw Error("Y");var c=_.Yk(a,!0);b=_.Yk(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Ac&&(d[0]=a.Ac,e=1);for(;e<f;e++)_.xla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
wUc=[2,6];_.HO=function(a){_.T(this,a,0,-1,wUc,null)};_.O(_.HO,_.K);_.g=_.HO.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.Pd=function(){return _.Xk(this,_.Vl,2)};_.g.vy=function(a){return _.$k(this,2,a)};_.g.Eg=function(a,b){return _.gl(this,2,a,_.Vl,b)};_.g.Vj=function(){return _.y(this,3)};_.g.Kna=function(){return _.C(this,4,!0)};var xUc=function(a,b){return _.$k(a,6,b)};_.g=_.HO.prototype;_.g.oI=function(){return _.B(this,_.qlb,7)};
_.g.ML=function(a){return _.J(this,7,a)};_.g.getSessionId=function(){return _.B(this,_.$m,8)};_.g.setSessionId=function(a){return _.J(this,8,a)};_.g.i1=function(){return _.y(this,10)};_.g.l1=function(a){return _.x(this,10,a)};_.g.zf=function(){return _.y(this,9)};_.g.j1=function(a){return _.x(this,9,a)};var yUc=[2],zUc=function(a){_.T(this,a,0,-1,yUc,null)};_.O(zUc,_.K);zUc.prototype.Ib=function(){return _.y(this,1)};zUc.prototype.Fc=function(a){return _.x(this,1,a)};
zUc.prototype.Vj=function(){return _.y(this,3)};var AUc=function(a){_.T(this,a,0,-1,null,null)};_.O(AUc,_.K);var BUc=[1,2],CUc=function(a){_.T(this,a,0,-1,BUc,null)};_.O(CUc,_.K);CUc.prototype.Gy=function(){return _.Xk(this,_.Rp,1)};
var DUc=[1,2,4],EUc={SUCCESS:1,gQb:2,LHb:3,LDb:4,sQb:5,dLb:6,XKb:7,hEb:8,nPb:9,CPb:10,fQb:11,LFb:12,pFb:13,LIb:14,fHb:15,uFb:16,tFb:17,zFb:18,wFb:19,xFb:20,TPb:21,pQb:22,uLb:23,DKb:24,aEb:25,PERMISSION_DENIED:26,WJb:27,mEb:28,lEb:29,INTERRUPTED:30,SLb:31,kMb:32,YFb:33,cGb:34,uPb:35,mGb:36,gHb:37,bGb:38,WKb:39,UEb:40,NLb:41,mMb:42,lPb:43,EEb:44,TEb:45,dHb:46,SJb:47,VKb:48,mLb:49,OLb:50,ePb:51,qFb:52,mPb:53,kPb:54,LEb:55,IEb:56,wGb:57,rKb:58,PLb:59,tJb:60,wNb:61,kOb:62,ROb:63,aJb:64,FKb:65,vQb:66,oGb:67,
hHb:68,eQb:69,eJb:70,kEb:71,wEb:72,sOb:73,SOb:74,OOb:75,MOb:76,gOb:190,LOb:191,tOb:192,zOb:126,vOb:128,wOb:129,xOb:130,yOb:131,AOb:132,BOb:133,FNb:127,CNb:134,DNb:135,HNb:136,INb:137,JNb:138,ENb:194,GNb:195,KNb:196,BNb:197,jOb:189,vNb:139,xNb:140,LNb:141,MNb:142,YNb:143,aOb:144,bOb:145,cOb:146,dOb:147,eOb:148,fOb:149,iOb:150,oOb:151,qOb:152,rOb:153,uOb:154,COb:155,EOb:156,FOb:157,GOb:158,HOb:159,IOb:160,JOb:161,NOb:162,QOb:163,TOb:164,yNb:165,zNb:166,ANb:167,tNb:168,uNb:169,PNb:170,NNb:171,ONb:172,
QNb:173,RNb:174,SNb:175,TNb:176,UNb:177,VNb:178,WNb:179,XNb:180,ZNb:181,$Nb:182,hOb:106,pOb:183,DOb:184,KOb:185,lOb:186,mOb:187,nOb:188,POb:244,MLb:77,jQb:78,oQb:79,fKb:80,QIb:81,SIb:82,vGb:83,cHb:84,XJb:85,MPb:86,aGb:87,gJb:88,fJb:89,WOb:90,UOb:91,VOb:92,kQb:93,hFb:94,gFb:95,dFb:96,fFb:97,eFb:98,uQb:99,fNb:100,CFb:101,vFb:102,AFb:103,yFb:104,BFb:105,iHb:107,zPb:108,$Mb:109,XPb:110,lHb:111,kHb:112,xJb:113,yJb:114,qMb:115,MEb:116,FJb:117,FGb:118,lQb:119,$Kb:120,aLb:121,MIb:193,sFb:122,SFb:123,PIb:124,
AKb:125,hJb:198,XLb:199,YIb:200,vDb:201,cJb:202,bJb:203,nEb:204,QQb:205,MJb:206,aFb:207,ZKb:208,lMb:209,bNb:210,PDb:211,vJb:212,CJb:213,pPb:214,oPb:215,$Ib:216,JIb:217,ZIb:218,qGb:219,DPb:220,rGb:221,uJb:222,wPb:223,AQb:224,JKb:225,vPb:226,UFb:227,LJb:228,uGb:229,WEb:230,KPb:231,BKb:232,FILE_TOO_LARGE:233,dJb:234,pGb:235,aHb:236,gMb:237,GKb:238,bDb:239,YEb:240,OKb:241,lNb:242,$Fb:243,tDb:245,TIb:246,oLb:247,RIb:248,eKb:249,EKb:250,eHb:251,SHb:252,wJb:253,JEb:254,jHb:255,tQb:256,EHb:257,oKb:258,xMb:259,
WLb:260},FUc=function(a){_.Si.call(this,a)};_.M(FUc,_.Si);var mQc=[1004,1005,1002,1003],zQc=[1002,1003,1005],GUc=function(a){_.T(this,a,0,-1,null,null)};_.O(GUc,_.K);GUc.prototype.Ib=function(){return _.y(this,1)};GUc.prototype.Fc=function(a){return _.x(this,1,a)};GUc.prototype.V=function(){return _.B(this,_.pD,2)};var HUc=function(a){_.T(this,a,0,-1,null,null)};_.O(HUc,_.K);_.g=HUc.prototype;_.g.kFa=function(){return _.E(this,1)};_.g.$k=function(a){return _.x(this,1,a)};
_.g.zm=function(){return _.E(this,2)};_.g.bx=function(){return _.E(this,3)};_.g.p4a=function(){return _.E(this,4)};var aP=[[13,19,12,11,10,15,14,9,8,18,17,16]],IUc=function(a){_.T(this,a,0,-1,null,null)};_.O(IUc,_.K);IUc.prototype.BI=function(){return _.E(this,1)};IUc.prototype.bX=function(){return _.Ck(this,1)};IUc.prototype.Tt=function(){return _.E(this,2)};var JUc=function(a){_.T(this,a,0,-1,null,null)};_.O(JUc,_.K);var KUc=[1],LUc=function(a){_.T(this,a,0,-1,null,null)};_.O(LUc,_.K);
LUc.prototype.BI=function(){return _.E(this,1)};LUc.prototype.bX=function(){return _.Ck(this,1)};LUc.prototype.V=function(){return _.E(this,2)};var MUc=function(a){_.T(this,a,0,-1,null,null)};_.O(MUc,_.K);_.g=MUc.prototype;_.g.getLabel=function(){return _.y(this,1)};_.g.Gd=function(a){return _.x(this,1,a)};_.g.kb=function(){return _.y(this,2)};_.g.Sb=function(a){return _.x(this,2,a)};_.g.Ej=function(){return _.Ok(this,2)};_.g.Dg=function(){return _.Ck(this,2)};
_.g.getCapabilities=function(){return _.B(this,LUc,3)};_.g.Rn=function(a){return _.J(this,3,a)};_.g.g4a=function(){return _.B(this,HUc,4)};var NUc=function(a){_.T(this,a,0,-1,KUc,null)};_.O(NUc,_.K);NUc.prototype.DI=function(){return _.Xk(this,MUc,1)};var OUc=function(a,b){_.$k(a,1,b)},PUc=function(a){_.T(this,a,0,-1,null,null)};_.O(PUc,_.K);PUc.prototype.V=function(){return _.y(this,1)};PUc.prototype.oR=function(){return _.Ck(this,1)};PUc.prototype.getOptions=function(){return _.B(this,NUc,2)};
var QUc=function(a){_.T(this,a,0,-1,null,null)};_.O(QUc,_.K);QUc.prototype.W=function(){return _.y(this,1)};QUc.prototype.V=function(){return _.y(this,2)};var RUc=function(a){_.T(this,a,0,-1,null,null)};_.O(RUc,_.K);RUc.prototype.oR=function(){return _.Ck(this,1)};RUc.prototype.getOptions=function(){return _.B(this,QUc,2)};var SUc=function(a){_.T(this,a,0,-1,null,null)};_.O(SUc,_.K);SUc.prototype.W=function(){return _.y(this,1)};SUc.prototype.V=function(){return _.y(this,2)};
var TUc=function(a){_.T(this,a,0,-1,null,null)};_.O(TUc,_.K);var UUc=function(a){_.T(this,a,0,-1,null,null)};_.O(UUc,_.K);UUc.prototype.oR=function(){return _.Ck(this,1)};UUc.prototype.getOptions=function(){return _.B(this,TUc,2)};var bP=[[3,4,5,6,7,8,9,10,11,12]],VUc=function(a){_.T(this,a,0,-1,null,bP)};_.O(VUc,_.K);_.g=VUc.prototype;_.g.T7=function(a){return _.Zk(this,3,bP[0],a)};_.g.GTa=function(a){return _.Zk(this,4,bP[0],a)};_.g.cTa=function(a){return _.Zk(this,5,bP[0],a)};
_.g.bTa=function(a){return _.Zk(this,6,bP[0],a)};_.g.QSa=function(a){return _.Zk(this,7,bP[0],a)};_.g.uTa=function(a){return _.Zk(this,8,bP[0],a)};_.g.tTa=function(a){return _.Zk(this,9,bP[0],a)};_.g.LTa=function(a){return _.Zk(this,10,bP[0],a)};_.g.dia=function(a){return _.Zk(this,11,bP[0],a)};_.g.Mha=function(a){return _.Zk(this,12,bP[0],a)};var WUc=function(a){_.T(this,a,0,-1,null,null)};_.O(WUc,_.K);var XUc=function(a){_.T(this,a,0,-1,null,null)};_.O(XUc,_.K);
XUc.prototype.V=function(){return _.y(this,1)};XUc.prototype.oR=function(){return _.Ck(this,1)};XUc.prototype.getOptions=function(){return _.B(this,WUc,2)};var YUc=function(a){_.T(this,a,0,-1,null,null)};_.O(YUc,_.K);YUc.prototype.fHa=function(){return _.y(this,1)};YUc.prototype.V=function(){return _.y(this,4)};var ZUc=function(a){_.T(this,a,0,-1,null,aP)};_.O(ZUc,_.K);_.g=ZUc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};
_.g.j4a=function(){return _.y(this,2)};_.g.Nf=function(){return _.y(this,4)};_.g.i4a=function(){return _.B(this,HUc,5)};_.g.getCapabilities=function(){return _.B(this,IUc,6)};_.g.Rn=function(a){return _.J(this,6,a)};_.g.o4a=function(){return _.y(this,7)};_.g.QSa=function(a){return _.Zk(this,13,aP[0],a)};_.g.h4a=function(){return _.B(this,YUc,19)};_.g.Mha=function(a){return _.Zk(this,19,aP[0],a)};_.g.bTa=function(a){return _.Zk(this,12,aP[0],a)};_.g.cTa=function(a){return _.Zk(this,11,aP[0],a)};
_.g.o9a=function(){return _.B(this,SUc,10)};_.g.k4a=function(){return _.B(this,PUc,15)};_.g.tTa=function(a){return _.Zk(this,15,aP[0],a)};_.g.l4a=function(){return _.B(this,NUc,14)};_.g.uTa=function(a){return _.Zk(this,14,aP[0],a)};_.g.GTa=function(a){return _.Zk(this,9,aP[0],a)};_.g.m4a=function(){return _.B(this,QUc,8)};_.g.T7=function(a){return _.Zk(this,8,aP[0],a)};_.g.n4a=function(){return _.B(this,XUc,18)};_.g.dia=function(a){return _.Zk(this,18,aP[0],a)};
_.g.LTa=function(a){return _.Zk(this,17,aP[0],a)};var $Uc=[5,7,9],aVc=function(a){_.T(this,a,0,-1,$Uc,null)};_.O(aVc,_.K);_.g=aVc.prototype;_.g.getUser=function(){return _.B(this,_.Kl,1)};_.g.uy=function(a){_.x(this,2,a)};_.g.setBooleanValue=function(a){return _.x(this,3,a)};_.g.setTextValue=function(a){return _.x(this,4,a)};_.g.aia=function(a){return _.x(this,5,a||[])};_.g.addTextValues=function(a,b){return _.Vk(this,5,a,b)};_.g.eIa=function(){return _.y(this,6)};
_.g.setSelectionValue=function(a){return _.x(this,6,a)};_.g.Ypa=function(){return _.md(this,7)};_.g.Wha=function(a){return _.x(this,7,a||[])};_.g.addSelectionValues=function(a,b){return _.Vk(this,7,a,b)};_.g.setIntegerValue=function(a){return _.x(this,8,a)};_.g.Pha=function(a){return _.x(this,9,a||[])};_.g.addIntegerValues=function(a,b){return _.Vk(this,9,a,b)};var bVc=[7,10,12,16,13,3],cP=function(a){_.T(this,a,0,-1,bVc,null)};_.O(cP,_.K);var dP=function(a){return _.y(a,4)};_.g=cP.prototype;
_.g.uy=function(a){_.x(this,4,a)};_.g.setBooleanValue=function(a){return _.x(this,5,a)};_.g.f4a=function(){return _.y(this,6)};_.g.setTextValue=function(a){return _.x(this,6,a)};_.g.aia=function(a){return _.x(this,7,a||[])};_.g.addTextValues=function(a,b){return _.Vk(this,7,a,b)};_.g.e4a=function(){return _.y(this,8)};_.g.setLongTextValue=function(a){return _.x(this,8,a)};_.g.eIa=function(){return _.y(this,9)};_.g.setSelectionValue=function(a){return _.x(this,9,a)};
_.g.Ypa=function(){return _.md(this,10)};_.g.Wha=function(a){return _.x(this,10,a||[])};_.g.addSelectionValues=function(a,b){return _.Vk(this,10,a,b)};_.g.d4a=function(){return _.y(this,11)};_.g.setIntegerValue=function(a){return _.x(this,11,a)};_.g.Pha=function(a){return _.x(this,12,a||[])};_.g.addIntegerValues=function(a,b){return _.Vk(this,12,a,b)};_.g.$9a=function(){return _.B(this,_.Kl,15)};_.g.setUserValue=function(a){return _.J(this,15,a)};_.g.qIa=function(){return _.Xk(this,_.Kl,16)};
var cVc=function(a,b){_.$k(a,16,b)};cP.prototype.addUserValues=function(a,b){return _.gl(this,16,a,_.Kl,b)};cP.prototype.V=function(){return _.y(this,17)};cP.prototype.setDateStringValue=function(a){return _.x(this,17,a)};cP.prototype.W=function(){return _.Ck(this,17)};var dVc=function(a,b){_.$k(a,13,b)};cP.prototype.getId=function(){return _.y(this,14)};cP.prototype.Ub=function(a){return _.x(this,14,a)};cP.prototype.getName=function(){return _.y(this,1)};
cP.prototype.$c=function(a){return _.x(this,1,a)};var eVc=[2],eP=function(a){_.T(this,a,0,-1,eVc,null)};_.O(eP,_.K);eP.prototype.getName=function(){return _.y(this,1)};eP.prototype.$c=function(a){return _.x(this,1,a)};eP.prototype.V=function(){return _.Xk(this,cP,2)};var fVc=function(a,b){_.$k(a,2,b)};eP.prototype.Mc=function(){return _.y(this,3)};var gVc=function(a,b){return _.x(a,3,b)},hVc=[5],iVc=function(a){_.T(this,a,0,-1,null,null)};_.O(iVc,_.K);_.g=iVc.prototype;
_.g.BI=function(){return _.E(this,1)};_.g.bX=function(){return _.Ck(this,1)};_.g.z4a=function(){return _.E(this,2)};_.g.O8a=function(){return _.E(this,3)};_.g.A4a=function(){return _.E(this,4)};var fP=function(a){_.T(this,a,0,-1,hVc,null)};_.O(fP,_.K);fP.prototype.getName=function(){return _.y(this,1)};fP.prototype.$c=function(a){return _.x(this,1,a)};fP.prototype.Wl=function(){return _.y(this,2)};var jVc=function(a,b){return _.x(a,2,b)};fP.prototype.W=function(){return _.y(this,14)};
var kVc=function(a,b){return _.x(a,14,b)};_.g=fP.prototype;_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Bg=function(){return _.y(this,4)};_.g.am=function(a){return _.x(this,4,a)};_.g.wm=function(){return _.Xk(this,ZUc,5)};var lVc=function(a,b){_.$k(a,5,b)},mVc=function(a,b){_.J(a,6,b)},nVc=function(a,b){_.J(a,7,b)},oVc=function(a,b){_.J(a,8,b)};fP.prototype.V=function(){return _.B(this,HUc,12)};var pVc=function(a,b){_.J(a,12,b)};
fP.prototype.getCapabilities=function(){return _.B(this,iVc,13)};fP.prototype.Rn=function(a){return _.J(this,13,a)};var qVc={mQb:0,pKb:1,vLb:2,kLb:3,iJb:4,MDb:5,qKb:6,lLb:7,qIb:8,$Db:9,iLb:10},gP=function(){this.H={};this.ha=6;this.V=null};gP.prototype.Ib=function(){return this.ha};gP.prototype.Fc=function(a){this.ha=a};gP.prototype.zf=function(){return this.V};var rVc=function(a,b){a.V=b};gP.prototype.Ut=function(){return this.H};var sVc=function(a,b){a.H=b};
gP.prototype.yc=function(a){var b=[];_.Ef(this.H,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.ha,d:this.V,me:b})};tVc=function(a,b,c){c=JSON.parse(c);a.Fc(c.s);a.V=c.d;var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.H=d};_.GO=function(){gP.apply(this,arguments)};_.M(_.GO,gP);var uVc=function(){gP.apply(this,arguments)};_.M(uVc,gP);var vVc=function(a){_.T(this,a,0,-1,null,null)};_.O(vVc,_.K);vVc.prototype.getType=function(){return _.y(this,1)};
var wVc=function(a){var b=new vVc;return _.x(b,1,a)},xVc=function(a,b){return _.J(a,2,b)};vVc.prototype.Yv=function(){return _.y(this,3)};vVc.prototype.Fw=function(a){return _.x(this,3,a)};vVc.prototype.yh=function(){return _.y(this,4)};vVc.prototype.setPosition=function(a){return _.x(this,4,a)};var yVc=[2],zVc=function(a){_.T(this,a,0,-1,yVc,null)};_.O(zVc,_.K);zVc.prototype.Ib=function(){return _.y(this,1)};zVc.prototype.Fc=function(a){return _.x(this,1,a)};
var AVc=[2],hP=function(a){_.T(this,a,0,-1,AVc,null)};_.O(hP,_.K);hP.prototype.Ib=function(){return _.y(this,1)};hP.prototype.Fc=function(a){return _.x(this,1,a)};hP.prototype.V=function(){return _.Xk(this,eP,2)};var BVc=function(a,b){return _.$k(a,2,b)};hP.prototype.Vj=function(){return _.y(this,3)};var CVc=function(a){_.T(this,a,0,-1,null,null)};_.O(CVc,_.K);CVc.prototype.Ib=function(){return _.y(this,1)};CVc.prototype.Fc=function(a){return _.x(this,1,a)};
CVc.prototype.h3=function(){return _.B(this,_.Vl,2)};DVc=function(a,b){return _.J(a,2,b)};EVc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};FVc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Vd:a.c,Mba:a.fi,T0:a.dti,YU:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,uba:b.ec}}):void 0}};GVc=function(a,b){return new _.KGc(_.LGc.bound(a,b,void 0,void 0))};
HVc=function(){var a=new _.vi,b=_.YGc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Qd(_.qM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.IVc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.IVc,_.K);_.IVc.prototype.Dq=function(){return _.y(this,1)};_.IVc.prototype.setSize=function(a){return _.x(this,2,a)};_.IVc.prototype.getUrl=function(){return _.y(this,3)};_.JVc=function(a){_.T(this,a,0,-1,null,null)};
_.O(_.JVc,_.K);_.JVc.prototype.getType=function(){return _.y(this,1)};KVc=[2,3];_.LVc=function(a){_.T(this,a,0,-1,KVc,null)};_.O(_.LVc,_.K);MVc=[4,5,6,17,18,24];_.iP=function(a){_.T(this,a,0,-1,MVc,null)};_.O(_.iP,_.K);_.iP.prototype.getId=function(){return _.y(this,1)};_.iP.prototype.Ub=function(a){return _.x(this,1,a)};_.iP.prototype.getName=function(){return _.y(this,2)};_.iP.prototype.$c=function(a){return _.x(this,2,a)};
var NVc=function(a,b){return _.x(a,4,b||[])},OVc=function(a,b){return _.x(a,5,b||[])};_.iP.prototype.KW=function(){return _.E(this,11)};_.iP.prototype.getType=function(){return _.y(this,23)};_.iP.prototype.zm=function(){return _.E(this,33)};var PVc=[3],jP=function(a){_.T(this,a,0,-1,PVc,null)};_.O(jP,_.K);jP.prototype.V=function(){return _.y(this,1)};var QVc=function(a,b){return _.x(a,1,b)};jP.prototype.getTitle=function(){return _.y(this,2)};jP.prototype.setTitle=function(a){return _.x(this,2,a)};
jP.prototype.Pd=function(){return _.Xk(this,_.Vl,3)};var RVc=function(a,b){return _.$k(a,3,b)};jP.prototype.Eg=function(a,b){return _.gl(this,3,a,_.Vl,b)};jP.prototype.ma=function(){return _.y(this,4)};var SVc=function(a,b){return _.x(a,4,b)};jP.prototype.W=function(){return _.B(this,_.Ll,5)};var TVc=function(a,b){return _.J(a,5,b)},gRc=function(a){_.T(this,a,0,-1,null,null)};_.O(gRc,_.K);_.yN=function(a){_.T(this,a,0,-1,null,null)};_.O(_.yN,_.K);
_.yN.prototype.De=function(){return _.B(this,_.Te,1)};var UVc=function(){var a=new _.yN,b=_.Ue(new _.Te,301);return _.J(a,1,b)};_.yN.prototype.Cc=function(){return _.y(this,3)};var VVc=[2],kP=function(a){_.T(this,a,0,-1,VVc,null)};_.O(kP,_.K);kP.prototype.Ib=function(){return _.y(this,1)};kP.prototype.Fc=function(a){return _.x(this,1,a)};kP.prototype.Kj=function(){return _.Xk(this,jP,2)};var WVc=function(a,b){return _.$k(a,2,b)};kP.prototype.getSessionId=function(){return _.B(this,_.$m,3)};
kP.prototype.setSessionId=function(a){return _.J(this,3,a)};_.nKc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.nKc,_.K);_.nKc.prototype.Cc=function(){return _.y(this,1)};_.IO=function(a){_.T(this,a,0,-1,null,null)};_.O(_.IO,_.K);_.g=_.IO.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.lQ=function(){return _.Mk(this,2,_.pD)};_.g.Vj=function(){return _.y(this,3)};_.g.zf=function(){return _.y(this,5)};
var XVc=function(a,b){_.x(a,5,b)},YVc=function(a){_.T(this,a,0,-1,null,null)};_.O(YVc,_.K);YVc.prototype.Bg=function(){return _.D(this,1)};YVc.prototype.am=function(a){return _.Tk(this,1,a)};YVc.prototype.getUrl=function(){return _.D(this,2)};_.ZVc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.ZVc,_.K);_.ZVc.prototype.getType=function(){return _.Gk(this,1,0)};_.ZVc.prototype.getContext=function(){return _.B(this,YVc,2)};_.ZVc.prototype.Nj=function(a){return _.J(this,2,a)};$Vc=[1];aWc=[2];
_.bWc=function(a){_.T(this,a,0,-1,aWc,null)};_.O(_.bWc,_.K);_.bWc.prototype.getLabel=function(){return _.D(this,1)};_.bWc.prototype.Gd=function(a){return _.Tk(this,1,a)};_.cWc=function(a){_.T(this,a,0,-1,$Vc,null)};_.O(_.cWc,_.K);_.dWc=[[2,3,4]];_.lP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.lP,_.K);_.lP.prototype.Nf=function(){return _.D(this,3)};_.lP.prototype.Sn=function(a){return _.Tk(this,4,a)};_.eWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.eWc,_.K);
_.fWc=function(a){_.T(this,a,0,-1,null,_.dWc)};_.O(_.fWc,_.K);var gWc=function(a){_.T(this,a,0,-1,null,null)};_.O(gWc,_.K);hWc=[3,5];_.mP=[[8,9,10,11,12,13,14]];iWc=function(a){_.T(this,a,0,-1,null,null)};_.O(iWc,_.K);var jWc=function(a){_.T(this,a,0,-1,null,null)};_.O(jWc,_.K);_.kWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.kWc,_.K);_.lWc=function(a){_.T(this,a,0,-1,hWc,_.mP)};_.O(_.lWc,_.K);_.lWc.prototype.Ib=function(){return _.Gk(this,6,0)};
_.lWc.prototype.Fc=function(a){return _.Uk(this,6,a)};var mWc=function(a){_.T(this,a,0,-1,null,null)};_.O(mWc,_.K);var nWc=[1],oWc=function(a){_.T(this,a,0,-1,nWc,null)};_.O(oWc,_.K);var pWc=function(a){_.T(this,a,0,-1,null,null)};_.O(pWc,_.K);var qWc=function(a){_.T(this,a,0,-1,null,null)};_.O(qWc,_.K);rWc=[7];_.sWc=[[1,2,3]];_.tWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tWc,_.K);_.uWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.uWc,_.K);_.vWc=function(a){_.T(this,a,0,-1,null,null)};
_.O(_.vWc,_.K);_.wWc=function(a){_.T(this,a,0,-1,rWc,_.sWc)};_.O(_.wWc,_.K);_.xWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.xWc,_.K);_.xWc.prototype.getName=function(){return _.D(this,1)};_.xWc.prototype.$c=function(a){return _.Tk(this,1,a)};var yWc=function(a){_.T(this,a,0,-1,null,null)};_.O(yWc,_.K);yWc.prototype.getName=function(){return _.D(this,1)};yWc.prototype.$c=function(a){return _.Tk(this,1,a)};yWc.prototype.getTitle=function(){return _.D(this,2)};
yWc.prototype.setTitle=function(a){return _.Tk(this,2,a)};var zWc=function(a){_.T(this,a,0,-1,null,null)};_.O(zWc,_.K);zWc.prototype.getName=function(){return _.D(this,1)};zWc.prototype.$c=function(a){return _.Tk(this,1,a)};zWc.prototype.getTitle=function(){return _.D(this,2)};zWc.prototype.setTitle=function(a){return _.Tk(this,2,a)};var AWc=[[1,4]],BWc=function(a){_.T(this,a,0,-1,null,AWc)};_.O(BWc,_.K);BWc.prototype.getUser=function(){return _.B(this,_.fWc,1)};
BWc.prototype.W=function(){return _.Ck(this,4)};BWc.prototype.h3=function(){return _.B(this,zWc,2)};var CWc=[[8,9,10]],DWc=function(a){_.T(this,a,0,-1,null,null)};_.O(DWc,_.K);_.EWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.EWc,_.K);_.EWc.prototype.getType=function(){return _.Gk(this,6,0)};_.FWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.FWc,_.K);var GWc=function(a){_.T(this,a,0,-1,null,CWc)};_.O(GWc,_.K);_.g=GWc.prototype;_.g.getName=function(){return _.D(this,1)};
_.g.$c=function(a){return _.Tk(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Tk(this,2,a)};_.g.$b=function(){return _.D(this,6)};_.g.FM=function(){return _.B(this,BWc,7)};var HWc=[[8,9,10]],IWc=function(a){_.T(this,a,0,-1,null,HWc)};_.O(IWc,_.K);IWc.prototype.getName=function(){return _.D(this,1)};IWc.prototype.$c=function(a){return _.Tk(this,1,a)};IWc.prototype.getTitle=function(){return _.D(this,2)};
IWc.prototype.setTitle=function(a){return _.Tk(this,2,a)};JWc=[[1,3]];_.nP=function(a){_.T(this,a,0,-1,null,JWc)};_.O(_.nP,_.K);_.nP.prototype.V=function(){return _.B(this,IWc,1)};_.nP.prototype.W=function(){return _.Ck(this,3)};_.nP.prototype.h3=function(){return _.B(this,zWc,2)};_.KWc=[[1,2,3]];LWc=function(a){_.T(this,a,0,-1,null,null)};_.O(LWc,_.K);var MWc=function(a){_.T(this,a,0,-1,null,null)};_.O(MWc,_.K);_.NWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.NWc,_.K);
_.OWc=function(a){_.T(this,a,0,-1,null,_.KWc)};_.O(_.OWc,_.K);PWc=[2,3];_.QWc=function(a){_.T(this,a,0,-1,PWc,null)};_.O(_.QWc,_.K);_.QWc.prototype.getType=function(){return _.Gk(this,1,0)};_.RWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.RWc,_.K);_.RWc.prototype.getType=function(){return _.Gk(this,1,0)};var SWc=function(a){_.T(this,a,0,-1,null,null)};_.O(SWc,_.K);SWc.prototype.getType=function(){return _.Gk(this,1,0)};var TWc=function(a){_.T(this,a,0,-1,null,null)};_.O(TWc,_.K);
var UWc=function(a){_.T(this,a,0,-1,null,null)};_.O(UWc,_.K);var VWc=function(a){_.T(this,a,0,-1,null,null)};_.O(VWc,_.K);WWc=[1,2,4];_.XWc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.XWc,_.K);_.YWc=function(a){_.T(this,a,0,-1,WWc,null)};_.O(_.YWc,_.K);_.oP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.oP,_.K);_.oP.prototype.getEmail=function(){return _.D(this,1)};_.oP.prototype.getTitle=function(){return _.D(this,2)};_.oP.prototype.setTitle=function(a){return _.Tk(this,2,a)};_.pP=[[2,3,4,5]];
_.qP=function(a){_.T(this,a,0,-1,null,_.pP)};_.O(_.qP,_.K);_.qP.prototype.Gg=function(){return _.Gk(this,1,0)};_.qP.prototype.getUser=function(){return _.B(this,_.fWc,2)};var ZWc=function(a){_.T(this,a,0,-1,null,null)};_.O(ZWc,_.K);$Wc=[1,2,3,4];_.aXc=function(a){_.T(this,a,0,-1,$Wc,null)};_.O(_.aXc,_.K);var bXc=function(a){_.T(this,a,0,-1,null,null)};_.O(bXc,_.K);var cXc=function(a){_.T(this,a,0,-1,null,null)};_.O(cXc,_.K);_.dXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.dXc,_.K);
_.eXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.eXc,_.K);_.eXc.prototype.getType=function(){return _.Gk(this,1,0)};fXc=[1];_.gXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.gXc,_.K);_.gXc.prototype.getFeature=function(){return _.Gk(this,1,0)};_.hXc=function(a){_.T(this,a,0,-1,fXc,null)};_.O(_.hXc,_.K);var iXc=function(a){_.T(this,a,0,-1,null,null)};_.O(iXc,_.K);var jXc=function(a){_.T(this,a,0,-1,null,null)};_.O(jXc,_.K);var kXc=function(a){_.T(this,a,0,-1,null,null)};_.O(kXc,_.K);
kXc.prototype.getType=function(){return _.Gk(this,1,0)};_.rP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21]];_.lXc=function(a){_.T(this,a,0,-1,null,_.rP)};_.O(_.lXc,_.K);_.mXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.mXc,_.K);var nXc=function(a){_.T(this,a,0,-1,null,null)};_.O(nXc,_.K);_.oXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.oXc,_.K);_.pXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.pXc,_.K);_.pXc.prototype.getType=function(){return _.Gk(this,1,0)};_.qXc=[[1,2,3,4,5]];
_.rXc=function(a){_.T(this,a,0,-1,null,_.qXc)};_.O(_.rXc,_.K);_.rXc.prototype.getUser=function(){return _.B(this,_.fWc,1)};var sXc=function(a){_.T(this,a,0,-1,null,null)};_.O(sXc,_.K);sXc.prototype.getType=function(){return _.Gk(this,2,0)};_.tXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tXc,_.K);_.g=_.tXc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Tk(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Tk(this,2,a)};
_.g.Ua=function(){return _.B(this,GWc,3)};_.uXc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.uXc,_.K);_.uXc.prototype.getParent=function(){return _.B(this,GWc,4)};_.uXc.prototype.Sg=function(a){return _.J(this,4,a)};var vXc=function(a){_.T(this,a,0,-1,null,null)};_.O(vXc,_.K);_.g=vXc.prototype;_.g.getName=function(){return _.D(this,1)};_.g.$c=function(a){return _.Tk(this,1,a)};_.g.getTitle=function(){return _.D(this,2)};_.g.setTitle=function(a){return _.Tk(this,2,a)};
_.g.Ua=function(){return _.B(this,GWc,3)};_.wXc=[[1,5,3]];_.sP=function(a){_.T(this,a,0,-1,null,_.wXc)};_.O(_.sP,_.K);_.sP.prototype.V=function(){return _.B(this,GWc,1)};_.sP.prototype.W=function(){return _.Ck(this,5)};_.sP.prototype.h3=function(){return _.B(this,vXc,2)};_.tP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tP,_.K);_.tP.prototype.eq=function(){return _.B(this,_.Cy,2)};_.tP.prototype.NC=function(a){_.J(this,2,a)};xXc=[[5,6]];_.yXc=function(a){_.T(this,a,0,-1,null,xXc)};_.O(_.yXc,_.K);
_.yXc.prototype.zh=function(){return _.B(this,sXc,2)};_.yXc.prototype.V=function(a){_.Zk(this,5,xXc[0],a)};zXc=[3,4,5];AXc=[[6,7]];_.uP=function(a){_.T(this,a,0,-1,zXc,AXc)};_.O(_.uP,_.K);_.uP.prototype.Yka=function(a){_.gl(this,4,a,_.yXc,void 0)};_.uP.prototype.V=function(a){_.Zk(this,6,AXc[0],a)};var BXc=[1],PQc=function(a){_.T(this,a,0,-1,BXc,null)};_.O(PQc,_.K);var OQc=[[1,2,3,4,5,6,7]],NQc=function(a){_.T(this,a,0,-1,null,OQc)};_.O(NQc,_.K);var vP=function(a){_.T(this,a,0,-1,null,null)};
_.O(vP,_.K);vP.prototype.getQuery=function(){return _.B(this,_.Ge,1,1)};var CXc=function(a,b){return _.J(a,1,b)};vP.prototype.ao=function(){return _.y(this,4)};var DXc=function(a,b){return _.J(a,5,b)},EXc=[1,2,5,7,9,10,12],wP=function(a){_.T(this,a,0,-1,EXc,null)};_.O(wP,_.K);wP.prototype.Pd=function(){return _.Xk(this,_.Vl,1)};var FXc=function(a,b){return _.$k(a,1,b)};wP.prototype.Eg=function(a,b){return _.gl(this,1,a,_.Vl,b)};wP.prototype.HM=function(){return _.Xk(this,_.Kl,2)};
wP.prototype.v$=function(a){_.gl(this,2,a,_.Kl,void 0)};wP.prototype.Xz=function(){return _.y(this,3)};var GXc=function(a,b){return _.x(a,3,b)};wP.prototype.zo=function(){return _.y(this,4)};var HXc=function(a,b){return _.x(a,4,b)},IXc=function(a,b){return _.$k(a,5,b)},JXc=function(a,b){return _.x(a,6,b)};wP.prototype.Yg=function(){return _.B(this,_.AD,8)};wP.prototype.Gy=function(){return _.Xk(this,_.Rp,9)};wP.prototype.Fi=function(){return _.md(this,12)};
var KXc=function(a,b){return _.x(a,12,b||[])},LXc=function(a,b){return _.x(a,13,b)},MXc={cEb:0,bEb:1,EJb:2,xPb:3,APb:4},QO=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],LQc=function(a){_.T(this,a,0,-1,null,QO)};_.O(LQc,_.K);var SQc=[[1,2]],RQc=function(a){_.T(this,a,0,-1,null,SQc)};_.O(RQc,_.K);var VQc=[[1,2,3]],UQc=function(a){_.T(this,a,0,-1,null,VQc)};_.O(UQc,_.K);var NXc=[1],OXc=function(a){_.T(this,a,0,-1,NXc,null)};_.O(OXc,_.K);OXc.prototype.Xv=function(){return _.D(this,2)};
var PXc={XEb:"wb",cQb:"xb",MKb:"yb",eYa:"zb"},QXc=function(a,b){return 0<=b?!a||a<=b:!0},RXc=function(a,b){return 1<a?2==b:a==b},SXc=function(a,b){if(0<=b)return!a||a<b?b:a;if(-1==b)return!a||1>=a?2:a+1;if(-2==b)return!a||2>=a?1:a-1;throw Error("Ke");},xP=function(a,b,c,d){this.W=a;this.H=void 0===b?0:b;this.V=void 0===c?1:c;this.ha=d};_.g=xP.prototype;_.g.clone=function(){return new xP(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.tc=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.vT=function(a){this.V=a};_.g.Xz=function(){return this.ha};_.g.equals=function(a){return this.H==a.tc()&&this.V==a.V&&this.ha==a.Xz()&&_.jl(this.W,a.getItem())};var TXc=function(a){_.Q.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.M(TXc,_.Q);
var yP=function(a,b,c){if(a.ha)throw Error("Le");c={un:_.Rf(b),callback:c};b=_.v(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=a.V[d];null==e&&(e=[],a.V[d]=e);e.push(c)}},zP=function(a,b){if(!a.ha)throw Error("Me");if(!a.ka)throw Error("Ne`"+a.W+"`"+(a.W.stack?"\nOriginal stack: "+a.W.stack:""));a.ta.info("drive.ds.MilestoneManager","Passing Milestone: "+b);a.ma[b]=!0;var c=a.V[b];if(c){delete a.V[b];for(var d=0;d<c.length;++d){var e=c[d];delete e.un[b];if(_.Lf(e.un))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};TXc.prototype.H=function(a){return!!this.ma[a]};TXc.prototype.start=function(){this.ha=!0};TXc.prototype.Ya=function(){_.Q.prototype.Ya.call(this);delete this.V};_.JO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.dKc=function(a){this.H=a};UXc=function(){};VXc=function(a){this.H=a};_.eKc=function(a){this.H=a};uRc=function(a,b,c,d,e,f,h,k){this.status=a;this.ka=b;this.H=c;this.ma=d;this.W=e;this.Jx=f;this.ha=h;this.V=k};
_.LO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.mKc=function(a,b){this.request=a;this.pageToken=b||""};WXc=function(a){this.pageToken=a||""};XXc=function(){};_.pKc=function(a,b){this.request=a;this.pageToken=b||""};_.MO=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.FPc=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.KO=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.ha=c||!1;this.H=void 0===d?0:d};YXc=function(a){_.KO.call(this,a,void 0,void 0,void 0);this.V=new _.Go};_.M(YXc,_.KO);
var ZXc=function(a,b){this.response=a;this.pageToken=b||""},FQc=function(){var a=_.m.Intl;return!(!a||!a.Collator)},$Xc=function(a,b){return FQc()?(new _.m.Intl.Collator([a||"en"],b||{})).compare:function(c,d){return c.localeCompare(d)}},aYc=function(a){return[].concat(_.Bc(new Set(a.map(function(b){return _.kIc.get(b)}).filter(function(b){return b})))).join(",")},AP=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.Bc(b));b=aYc(b);var d=_.yM(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":
_.C(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.C(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"},bYc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+AP(a,b,!1)+")"},cYc=function(a){var b=new _.Qq;_.qO(b,"hidden",a.zm());(a=_.E(a,6))&&_.qO(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},dYc=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];default:return null}},
eYc=function(a){var b=FQc(),c={};b&&(c.numeric=b);this.H=$Xc(a,c)};eYc.prototype.compare=function(a,b,c){b=fYc(b);c=fYc(c);a=a.Jd();var d=dYc(a);if(a&&d){d=gYc(this,a);var e=4==a.getType()?this.H:_.Ca;return hYc(a,d,e,b,c)}return _.Ca(b.getId(),c.getId())};eYc.prototype.sort=function(a,b,c){a=a.Jd();var d=dYc(a);a&&d&&(d=gYc(this,a),d=iYc(b,d),_.Ea(b,jYc(this,a,d)));c&&0<c&&_.xa(b,c,b.length-c)};
var fYc=function(a){return a instanceof _.Vl?a:a.getItem()},gYc=function(a,b){b=dYc(b);return _.N(a.V,a,b,_.Ca)},iYc=function(a,b){var c={};a.forEach(function(d){d=fYc(d);var e=d.getId();c[e]=b(d)});return c},jYc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Ca;d=fYc(d);e=fYc(e);return hYc(b,function(h){return c[h.getId()]},f,d,e)}},hYc=function(a,b,c,d,e){var f=1==a.ih()?1:-1;if(_.E(a,3)){a=_.WM(d,!0);var h=_.WM(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ca(d.getId(),
e.getId()))};eYc.prototype.V=function(a,b,c){for(var d=kYc(a[0],c),e=1;e<a.length;e++){var f=kYc(a[e],c);d=1==b(f,d)?f:d}return d};
var kYc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.$b()||"";case 4:return b.Oz()||!1;case 12:return b.Nz()||0;case 11:return b.WB()||0;case 10:return b.Qr()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.px()||0;case 57:return _.y(b,62)||0;case 32:return b.MB()||0;case 9:return b.BD()||0;case 67:return b.KM()||0;case 98:return b.LD()||0;default:return""}},lYc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.mM(b.xf());this.W="";a=_.xM(b);this.ka=
!(!a||!_.C(a,1,!1))},BP=function(a,b,c){b=_.kl(b);"root"==b.getId()&&b.Ub(a.W);_.$N(b).filter(function(d){return"root"==d.kb()}).forEach(function(d){return d.Sb(a.W)});_.Ne(b,_.ZN(b).map(function(d){d.Sb(d.kb().toLowerCase());return d}));c&&_.nm(b,a.V);b.Fi().sort();return b},CP=function(a,b,c){if(b instanceof _.Ge){b=BP(a,b);var d=_.UMc(b)}else if(b instanceof _.Np)d=b.Am().sort().join(","),_.C(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.eM)return d=cYc(b),d+"|tdList";if(b instanceof _.Vp)return d=
b.Am().sort().join(","),b.Fi().length&&(d+="|"+aYc(b.Fi())),d+"|tdMap";throw Error("Re");}return 3==c?d:d+"|"+mYc(a,b.Fi(),2==c)},mYc=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.V);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.Bc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.UM({fields:[].concat(_.Bc(f)),ky:a.H}));e.size&&(d=d+" + "+_.UM({fields:[].concat(_.Bc(e)),ky:a.H}));
return d};lYc.prototype.equals=function(a,b,c){var d;c&&(d=3);return CP(this,a,d)==CP(this,b,d)};
var nYc=function(a){if(!a.Am().every(function(b){return!_.Qc(b)}))throw new _.Db("Invalid ids for FindByIdsRequest");},pYc=function(a,b,c){if(_.qN(b))throw new _.Db("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");oYc(a,b,c)},oYc=function(a,b,c){var d=_.QM(3);if(b.getId())throw new _.Db("Use findByIds() for find by id queries.",d);if(!b.Vh()||0>=b.Vh())throw new _.Db("A positive limit is required on an ItemQueryRequest.",d);_.md(b,33);a.ka&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),qYc(a,d,b.Fi()));if(c=(c=b.Jd())&&dYc(c))d=b.Fi().length?b.Fi():a.V,qYc(a,d,c);if(_.pN(b)){if(a.H)throw new _.Db("User must be authenticated for a Quick Access request.");if(!rYc(a)&&20<b.Vh())throw new _.Db("Limit must be in the range [1, 20].");c=2==_.aO(b);d=_.md(b,33).length;if(c&&1!=d||d&&!c)throw new _.Db("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.lM(_.Ok(_.Ok(_.Ok(_.kM(_.Ok(_.Pk(_.kM(b.clone(),1),30),32),33),45),
47),48),6);d=new _.Ge;if(!_.jl(c,d))throw new _.Db("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. Extra: "+vUc(d,c));}if(_.rN(b)){if(a.H)throw new _.Db("User must be authenticated for a DrivePriority request.");if(2==_.aO(b))throw new _.Db("Team Drive corpora is not valid for a Drive Priority request.");a=_.Ok(_.Ok(_.Ok(_.Pk(_.kM(b.clone(),1),30),32),45),52);b=new _.Ge;if(!_.jl(a,
b))throw new _.Db("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+vUc(b,a));}},sYc=function(a,b,c){if(!_.qN(b))throw new _.Db("Expected a PeoplePredict request.");oYc(a,b,c);if(a.H)throw new _.Db("User must be authenticated for a People Predict request.");if(2==_.aO(b))throw new _.Db("Team Drive corpora is not valid for a People Predict request.");a=_.Ok(_.Ok(_.Ok(_.Pk(_.kM(b.clone(),1),30),
32),45),49);b=new _.Ge;if(!_.jl(a,b))throw new _.Db("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+vUc(b,a));},qYc=function(a,b,c){var d=_.QM(3);if(!qQc(b,c,!0)){var e=_.UM({fields:c,ky:a.H}),f=_.UM({fields:b,ky:a.H});a=_.UM({fields:rQc(c,b),ky:a.H});throw new _.Db("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d);}},rYc=function(a){return 200<=
_.cO(a.ha)&&300>_.cO(a.ha)},tYc=function(a){var b=new Set;_.ZN(a).forEach(function(c){switch(_.ZRa(c.kb())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.Bc(b))},uYc=function(a){switch(_.cO(a)){case 3:case 12:case 204: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:return"GOOGLE_DRIVE";case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},vYc=function(){this.Rq=[]};_.M(vYc,_.sO);
vYc.prototype.add=function(a,b){var c=a.yt.request;return c instanceof _.KN&&_.y(c.request,12)?_.sO.prototype.add.call(this,a,b):!1};vYc.prototype.H=function(a){return this.Rq.splice(0,Math.min(a,1))};var wYc=function(a,b){this.Rq=[];this.V=b};_.M(wYc,_.sO);wYc.prototype.add=function(a,b){return a.yt.request instanceof _.KN?!1:_.sO.prototype.add.call(this,a,b)};
wYc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Rq.length&&b.length<a;f++){var h=this.Rq[f],k=h.yt.request;"undefined"!=typeof _.dN&&k instanceof _.dN||"undefined"!=typeof _.nN&&k instanceof _.nN||"undefined"!=typeof _.DN&&k instanceof _.DN?k="app|"+k.V():k instanceof _.ZM||k instanceof _.$M||k instanceof _.fN||k instanceof _.zM?k="item|"+(k instanceof _.ZM?k.Mc():k.getId()):"undefined"!=typeof _.gN&&k instanceof _.gN||"undefined"!=typeof _.oN&&k instanceof _.oN?k="item|"+k.Mc():
k instanceof _.hN||k instanceof _.FN?k="item|"+k.Mc():"undefined"!=typeof _.NE&&k instanceof _.NE||"undefined"!=typeof _.ME&&k instanceof _.ME?(k="undefined"!=typeof _.NE&&k instanceof _.NE?k.V().getKey():k.getKey(),k="pref|"+_.y(k,2)+"|"+_.Sp(k)):k=k instanceof _.iN?"td|"+k.getId():null;var l=h.yt.request;if(l instanceof _.bN)l=!!_.E(l,8);else if(l instanceof _.$M){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.$b()&&_.P3a.has(l.$b()));l=n}else l=!1;if(k&&d[k]||l&&5==e)break;b.push(h);c.unshift(f);
k&&(d[k]=!0);l&&e++}for(a=0;a<c.length;a++)_.pa(this.Rq,c[a]);return b};var xYc=function(a){_.Q.call(this);this.H=a};_.O(xYc,_.Q);_.g=xYc.prototype;_.g.cancel=function(){this.H.cancel()};_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.H.addCallback(function(d){d.registerService(a,b,c)})};_.g.nK=function(a){this.H.addCallback(function(b){b.nK(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};
_.g.Ya=function(){this.cancel();xYc.ub.Ya.call(this)};var HQc=function(a){_.vA.call(this);this.H=a;this.W=_.Id(this.H,"message",this.i3a,!1,this)};_.O(HQc,_.vA);_.g=HQc.prototype;_.g.re=null;_.g.send=function(a,b){var c=[];b=this.soa(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.oIc&&(a=(0,_.jj)(a));this.H.postMessage(a,c)};
_.g.i3a=function(a){a=a.mf;var b=a.data;if(_.oIc)try{b=JSON.parse(b)}catch(e){return}if(_.ya(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.V(c,this.Ara(a.ports||[],b),d.zva),null!=b&&d.callback(b))}};
_.g.soa=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?_.Ee(b,(0,_.N)(this.soa,this,a)):b&&b.constructor==Object?_.Gf(b,function(c,d){c=this.soa(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Ara=function(a,b){return Array.isArray(b)?_.Ee(b,(0,_.N)(this.Ara,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Gf(b,function(c,d){return this.Ara(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.dj(this.W);"[object MessagePort]"==Object.prototype.toString.call(this.H)?this.H.close():"[object Worker]"==Object.prototype.toString.call(this.H)&&this.H.terminate();delete this.H;HQc.ub.Ya.call(this)};
var yYc=function(a,b){if("*"==b)return new xYc(_.Ci(Error("Te")));var c=new _.fj(50),d=_.Ra(_.tc,c),e=new _.vi(d);_.xi(e,d);c.start();_.Id(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new HQc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new xYc(e)},zYc=function(a){_.Q.call(this);this.H=new _.oGc(a);this.W={};this.V=_.qGc(this.H,
"private");this.ha=_.qGc(this.H,"public");this.V.registerService("mics",(0,_.N)(this.H0a,this),!0)};_.O(zYc,_.Q);_.g=zYc.prototype;_.g.ppb=0;_.g.Ya=function(){_.tc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.ppb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.H0a=function(a){var b=a.signature;a=a.data;b in this.W&&((0,this.W[b])(a),delete this.W[b])};_.g.registerService=function(a,b){this.ha.registerService(a,(0,_.N)(this.G0a,this,b),!0)};
_.g.G0a=function(a,b){a=a(b.data);var c=b.signature;_.li(a).then((0,_.N)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var AYc=function(a,b){_.Q.call(this);this.W=new _.oGc(a);this.Na(this.W);this.H=new zYc(_.qGc(this.W,"direct"));this.Na(this.H);a=_.qGc(this.W,"passthrough");this.ha=b?a:new zYc(a);this.Na(this.ha);this.V=b;this.ka=!1};_.M(AYc,_.Q);AYc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
AYc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.nf)};var DP=function(a,b,c){if(a.V)throw Error("Ue");a.ha.registerService(b,c,!0)},BYc=function(a,b,c,d){if(a.V)throw Error("Ve");a.ha.send(b,c||{},d||_.nf)};AYc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("We");};
var JQc=[],EP=function(a){return a instanceof _.Vl?null!=a.getId()&&a.getId()==a.Cc():null!=a.Mc()&&a.Mc()==a.Cc()},CYc=function(a,b,c){c=void 0===c?[]:c;var d=_.kl(a),e=b.Tk();null!=e&&sQc(a,_.kl(e));if((e=b.getCapabilities())&&null!=_.E(e,13)){var f=a.getCapabilities()||new _.Pl,h=_.E(e,13);_.x(f,13,h);a.Rn(f)}e&&null!=_.E(e,18)&&(f=a.getCapabilities()||new _.Pl,h=_.E(e,18),_.x(f,18,h),a.Rn(f));e&&null!=_.E(e,51)&&(f=a.getCapabilities()||new _.Pl,_.aLc(f,_.E(e,51)),a.Rn(f));OO(a,b,[76,208,156,61,
77,134,81,82,101,93,90,78,85,79,189,190,80,135,102,34,91,41,59,95,75,94,122,2]);d.Tk()&&OO(a,d,c)},DYc=function(a,b,c){c=void 0===c?[]:c;if(!b||!EP(a)&&!EP(b))return a;if(2==PO(a)){c=_.y(a,82);var d=_.kl(b);CYc(d,a);_.pLc(d,PO(b));_.HM(d,c);return d}a=_.kl(a);CYc(a,b,c);return a},EYc=function(a){return(a=a?a.Tk():null)&&a.zm()||!1},FYc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;this.V={};this.ha=new Set},GYc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.ma.has(e)&&
!c.has(e)}))).forEach(function(e){a.ka.info("drive.ds.sync.cache.FieldsCache","Creating field cache for field: "+e);c.add(e);b[e]={}})},IYc=function(a,b,c){b.every(function(d){return EP(d)})?HYc(b,c,a.V,a.ha):b.every(function(d){return!EP(d)})&&HYc(b,c,a.H,a.W)},HYc=function(a,b,c,d){var e=_.RJc(b,[].concat(_.Bc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];k&&OO(f,k,[h])})})};
FYc.prototype.update=function(a,b,c){b&&EP(b)?JYc(a,b,this.V,this.ha,c):JYc(a,b,this.H,this.W,c)};var KYc=function(a,b){_.Ef(a.H,function(c,d){_.Mf(a.H[d],b)});_.Ef(a.V,function(c,d){_.Mf(a.V[d],b)})},JYc=function(a,b,c,d,e){_.Ef(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Mf(f,a);else if(b&&pQc(b,[h])){var k=new _.Vl;k.Ub(b.getId());OO(k,b,[h]);f[a]=k}});b&&lQc(b,[].concat(_.Bc(d)))};
FYc.prototype.clear=function(){var a=this;_.Ef(this.H,function(b,c){a.H[c]={}});_.Ef(this.V,function(b,c){a.V[c]={}})};
var LYc=/^[\x00-\x7F]*$/,MYc=function(){this.H=""},OYc=function(a){return NYc(a)&&0==_.md(a,40).length&&void 0==_.y(a,41)},NYc=function(a){var b=!0;_.Xk(a,_.Je,13).forEach(function(d){"me"!=d.kb()&&(b=!1)});var c=a.Jd();c=!c||5!=c.getType();return 0==_.Xk(a,_.jm,5).length&&0==_.Xk(a,_.Je,14).length&&0==_.Xk(a,_.Je,15).length&&!_.Ck(a,58)&&!_.E(a,18)&&!_.E(a,34)&&0==_.Xk(a,_.XN,35).length&&0==_.Xk(a,_.XN,38).length&&c&&b&&0==_.md(a,39).length&&!_.y(a,42)&&0==_.Xk(a,_.em,44).length&&!_.pN(a)&&!_.qN(a)&&
!_.rN(a)&&0==_.Xk(a,_.fm,57).length&&PYc(a)&&!_.B(a,_.kna,59)},PYc=function(a){return _.Xk(a,_.km,4).every(function(b){return LYc.test(b.kb())})};MYc.prototype.O1=function(a,b){var c=this;return b.filter(function(d){return QYc(c,a,d)})};
var QYc=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!EP(c);if(d){d=!0;var e=_.Xk(b,_.km,4);if(PYc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.kb()){var k=_.C(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.kb().toLowerCase();if(2==_.y(h,1))l=n==l,d=d&&(k?!l:l);else for(h=n.split(/\b|_/),n=0;n<h.length&&d;n++){var p=h[n],r=!0;0!=(0,_.Bf)(p).length&&(0==p.replace(/\./g,"").length&&(r=!1),p=!!l.match(new RegExp((r?"(\\b|^|_)":"")+_.Rg(p))),d=d&&(k?!p:p))}}}else d=!0}if(d){l=_.ZN(b);e=d=0;k=
f=!1;l=_.v(l);for(h=l.next();!h.done;h=l.next())n=h.value,n.kb()&&(h=_.C(n,2,!1),p=c.$b(),n=n.kb()==p,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Xk(b,_.hm,7),e=_.v(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Qr(),d=d&&RYc(k,f);if(d)for(d=!0,e=_.Xk(b,_.hm,8),e=_.v(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Nz(),d=d&&RYc(k,f);d&&(d=b.ai(),e=(e=_.aO(b))&&(2==e||3==e),d=null==d||d==!!c.ai()&&(!d||1==c.An()||e));d&&(d=null==_.E(b,10)||_.E(b,10)==!!c.Oz());d&&(d=null==b.zm()||
b.zm()==!!c.zm());if(d)a:{d=_.$N(b);d=_.v(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.kb()&&(f="root"==e.kb()&&a.H||e.kb(),f=c.Zi().includes(f),_.C(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.Xk(b,_.Je,13);a=_.v(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.kb()&&(e=1==c.An(),_.C(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.E(b,16)||(_.E(b,16)?null!=c.px():!0));a&&(a=_.E(b,17),d=(d=_.aO(b))&&(2==d||3==d),a=null==a||a==!!c.yF()&&(!a||1==c.An()||d));a&&(a=XQc(c),a=null==_.E(b,
19)||_.E(b,19)==!!a.$q());a&&(a=!0);if(a=a&&SYc(b,c)&&TYc(b,c))a=_.md(b,33),a=!a.length||a.includes(c.Cc()||"");if(a=a&&UYc(b,c))_.y(b,41)?(a=_.B(c,_.UN,86),a=null!=a&&_.y(b,41)==_.y(a,3)):a=!0;if(a=a&&VYc(b,c))a=_.aO(b),1==a?(a=_.E(c,31),a=!!_.$N(b).length||!!_.Xk(b,_.XN,35).length||1==_.E(b,18)||_.pN(b)||_.qN(b)||_.rN(b)||!!_.y(b,54)||null==a||a):a=2==a?!!c.Cc():!0;a&&(a=_.pN(b)?!!_.bm(c)&&!c.ai():!0);a&&(a=_.qN(b)?!!_.cm(c).length&&!c.ai():!0);a&&(a=_.rN(b)?!!c.lM().length&&!c.ai():!0);a&&(a=_.Ck(b,
50)?_.C(b,50,!1)?_.Ck(c,101)&&0!==_.y(c,101):!_.Ck(c,101):!0);a&&(a=_.y(b,54),a=!a||_.md(c,120).includes(a));a&&(b=_.E(b,60),a=null==b||_.E(c.getCapabilities()||new _.Pl,50)==b);return a},RYc=function(a,b){if(null!=_.y(b,2))switch(_.y(b,1)){case 1:return a<=_.y(b,2);case 2:return a<_.y(b,2);case 3:return a==_.y(b,2);case 4:return a>_.y(b,2);case 5:return a>=_.y(b,2);default:return!1}return!0},SYc=function(a,b){var c=_.Rf(_.md(b,56));a=_.Xk(a,_.YN,25);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},
TYc=function(a,b){if(0==a.$v().length)return!0;var c=_.Rf(b.$v().map(function(d){return _.y(d,1)}));a=_.Rf(a.$v().map(function(d){return _.y(d,1)}));return _.Hf(a,function(d,e){return c[e]})},UYc=function(a,b){var c=_.Rf(_.md(b,50));a=_.Xk(a,_.im,37);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},VYc=function(a,b){if(_.md(a,40).length){if(b=_.B(b,_.UN,86)){var c=_.Rf(_.md(b,2));return _.md(a,40).some(function(d){return c[d]})}return!1}return!0},WYc=function(a,b,c){var d=this;this.W=
b;this.ha=c;this.H={};this.V="";a.addCallback(function(e){d.V=e})};WYc.prototype.query=function(a,b){var c=this,d=[];OYc(a)&&(_.Ef(this.H,function(e){QYc(c.W,a,e.getItem())&&(void 0===b||RXc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};WYc.prototype.get=function(a){return this.H[a]};WYc.prototype.getAll=function(a){for(var b=[],c=0;c<a.length;c++){var d=this.H[a[c]];d&&b.push(d)}return b};
WYc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,XYc(this,a.H)?(_.Mf(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.Mf(this.H,a.id),a.V.H--)};
var XYc=function(a,b){return 1<b.tc()||RXc(b.V,2)||b.getItem().yF()||ZQc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},YYc=function(a){_.Ef(a.H,function(b){XYc(a,b)&&(_.Mf(a.H,b.getId()),b.H--)})},ZYc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},oRc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),IYc(a.ka,[b.getItem()],jUc(a.ha)),b):null};ZYc.prototype.H=function(a){return(a=oRc(this,a))?a.getItem():null};
var $Yc=function(a,b){var c={};b.forEach(function(d){var e=oRc(a,d);e&&(c[d]=e)});return c},aZc=function(a,b){return _.Gf($Yc(a,b),function(c){return c.getItem()})},bZc=function(a,b){b=BP(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};ZYc.prototype.query=function(a){return bZc(this,a).map(function(b){return b.getItem()})};ZYc.prototype.W=function(){return _.If(this.V.H)};
cZc=function(a){var b=new Set;a=_.v(Object.values(a.V.H));for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.v(_.Zl(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.sH(e));(d=c.bq())&&b.add(d.getId()||_.sH(d));(d=c.tD())&&b.add(d.getId()||_.sH(d));(d=_.B(c,_.Kl,91))&&b.add(d.getId()||_.sH(d));(c=c.MD())&&b.add(c.getId()||_.sH(c))}return b.size};
dZc=function(a){return _.B(a,_.hM,3)||_.B(a,_.LN,4)||_.B(a,_.yO,5)||_.B(a,_.GN,6)||_.B(a,_.iN,7)||_.B(a,_.bN,8)||_.B(a,_.fN,9)||_.B(a,_.zM,10)};eZc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};fZc=function(a){var b={};return b.parentId=a.Wj(),b};gZc=function(a){var b={};_.Qc(_.Ug(a.getTitle()))||(b.title=a.getTitle());_.SOc(b,_.md(a,3));_.E(a,8)&&(b.description="",a={},b.labels=(a.starred=!1,a));return b};
hZc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.y(a,3)&&(b.workspaceToken=_.y(a,3));return b};iZc=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
jZc=function(a){var b={},c={};_.Qc(_.Ug(a.getTitle()))||(b.title=a.getTitle());null!=a.Bg()&&(b.description=a.Bg());null!=_.E(a,4)&&(c.starred=_.E(a,4));null!=a.ai()&&(c.trashed=a.ai());_.Qc(_.Ug(a.$b()))||(b.mimeType=a.$b());"number"===typeof _.y(a,7)&&(b.modifiedDate=_.BLc(_.GMc(_.y(a,7)||0)));null!=_.E(a,11)&&(c.restricted=_.E(a,11));_.If(c)&&(b.labels=c);null!=a.Si()&&(b.folderColor=a.Si());null!=_.E(a,16)&&(b.subscribed=_.E(a,16));null!=_.E(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=
_.E(a,40),c));if(c=_.B(a,_.Rl,25)){b.contentRestrictions=[];var d={};null!=_.E(c,1)&&(d.readOnly=_.E(c,1));null!=_.y(c,2)&&(d.reason=_.y(c,2));b.contentRestrictions.push(d)}_.SOc(b,_.md(a,8));return b};kZc=function(a){var b={};null!=a.Wt()&&(b.pinned=a.Wt());return b};
lZc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.y(a,3))b.backgroundImageId=_.y(a,3);else{var c=_.y(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Sg)("0",6-c.length)+c);c=_.B(a,_.CTc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.y(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.y(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.y(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
mZc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.EIc[a.getState()])&&(b.state=a);return b};nZc={aDb:0,zDb:1,WIb:3,BQb:5,kYa:6};_.FP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.FP,_.K);_.g=_.FP.prototype;_.g.getType=function(){return _.y(this,1)};_.g.getId=function(){return _.y(this,2)};_.g.Ub=function(a){return _.x(this,2,a)};_.g.getTitle=function(){return _.y(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.jFa=function(){return _.y(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.c4a=function(){return _.y(this,6)};_.oZc=function(a,b){return _.x(a,6,b)};_.FP.prototype.Bg=function(){return _.y(this,8)};_.FP.prototype.am=function(a){return _.x(this,8,a)};_.FP.prototype.V=function(){return _.E(this,9)};_.pZc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.pZc,_.K);_.pZc.prototype.V=function(){return _.y(this,1)};var qZc=function(a){_.T(this,a,0,-1,null,null)};_.O(qZc,_.K);qZc.prototype.V=function(){return _.E(this,1)};
qZc.prototype.W=function(){return _.y(this,2)};_.rZc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.rZc,_.K);_.g=_.rZc.prototype;_.g.getId=function(){return _.y(this,1)};_.g.Ub=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Hna=function(){return _.y(this,3)};_.g.Gu=function(){return _.y(this,4)};_.g.q3=function(){return _.B(this,qZc,6)};_.g.H8a=function(){return _.B(this,_.pZc,7)};_.g.qHa=function(){return _.y(this,8)};
_.g.Gna=function(){return _.E(this,9)};var GP=function(a,b){_.Si.call(this,"Ib");this.error=a;this.JG=b};_.M(GP,_.Si);var sZc=function(a,b,c){this.H=-1;this.V=a;this.H=c||a.H||16;this.ha=Array(this.H);this.W=Array(this.H);a=b;a.length>this.H&&(this.V.update(a),a=this.V.digest(),this.V.reset());for(c=0;c<this.H;c++)b=c<a.length?a[c]:0,this.ha[c]=b^92,this.W[c]=b^54;this.V.update(this.W)};_.O(sZc,_.XFc);sZc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
sZc.prototype.update=function(a,b){this.V.update(a,b)};sZc.prototype.digest=function(){var a=this.V.digest();this.V.reset();this.V.update(this.ha);this.V.update(a);return this.V.digest()};var tZc=function(){this.H=64;this.V=[];this.ma=[];this.ta=[];this.ka=[];this.ka[0]=128;for(var a=1;a<this.H;++a)this.ka[a]=0;this.ha=this.W=0;this.reset()};_.O(tZc,_.XFc);
tZc.prototype.reset=function(){this.V[0]=1732584193;this.V[1]=4023233417;this.V[2]=2562383102;this.V[3]=271733878;this.V[4]=3285377520;this.ha=this.W=0};
var uZc=function(a,b,c){c||(c=0);var d=a.ta;if("string"===typeof b)for(var e=0;16>e;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;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.V[0];c=a.V[1];var h=a.V[2],k=a.V[3],l=a.V[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var n=1518500249}else f=c^h^k,n=1859775393;else 60>e?(f=c&h|k&(c|h),n=2400959708):
(f=c^h^k,n=3395469782);f=(b<<5|b>>>27)+f+l+n+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.V[0]=a.V[0]+b&4294967295;a.V[1]=a.V[1]+c&4294967295;a.V[2]=a.V[2]+h&4294967295;a.V[3]=a.V[3]+k&4294967295;a.V[4]=a.V[4]+l&4294967295};
tZc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.H,d=0,e=this.ma,f=this.W;d<b;){if(0==f)for(;d<=c;)uZc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){uZc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){uZc(this,e);f=0;break}}this.W=f;this.ha+=b}};
tZc.prototype.digest=function(){var a=[],b=8*this.ha;56>this.W?this.update(this.ka,56-this.W):this.update(this.ka,this.H-(this.W-56));for(var c=this.H-1;56<=c;c--)this.ma[c]=b&255,b/=256;uZc(this,this.ma);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.V[c]>>d&255,++b;return a};var vZc=function(a){_.T(this,a,0,-1,null,null)};_.O(vZc,_.K);vZc.prototype.getId=function(){return _.y(this,1)};vZc.prototype.Ub=function(a){return _.x(this,1,a)};vZc.prototype.ox=function(){return _.y(this,3)};
vZc.prototype.Qe=function(){return _.y(this,4)};var wZc=[2,4],HP=function(a){_.T(this,a,0,-1,wZc,null)};_.O(HP,_.K);HP.prototype.Ib=function(){return _.y(this,1)};HP.prototype.Fc=function(a){return _.x(this,1,a)};HP.prototype.Vj=function(){return _.y(this,3)};var xZc=function(a){_.T(this,a,0,-1,null,null)};_.O(xZc,_.K);var yZc=function(a){_.T(this,a,0,-1,null,null)};_.O(yZc,_.K);yZc.prototype.Ib=function(){return _.y(this,1)};yZc.prototype.Fc=function(a){return _.x(this,1,a)};
var zZc=[4,9],AZc=function(a){_.T(this,a,0,-1,zZc,null)};_.O(AZc,_.K);_.g=AZc.prototype;_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.NHa=function(){return _.y(this,2)};_.g.mFa=function(){return _.y(this,3)};_.g.g9a=function(){return _.Xk(this,_.DM,4)};var BZc=function(a){_.T(this,a,0,-1,null,null)};_.O(BZc,_.K);BZc.prototype.kr=function(){return _.B(this,ZTc,1)};BZc.prototype.ao=function(){return _.y(this,2)};var IP=function(a){_.T(this,a,0,-1,null,null)};
_.O(IP,_.K);IP.prototype.Ib=function(){return _.y(this,1)};IP.prototype.Fc=function(a){return _.x(this,1,a)};IP.prototype.Vj=function(){return _.y(this,3)};var JP=function(a){_.T(this,a,0,-1,null,null)};_.O(JP,_.K);JP.prototype.Ib=function(){return _.y(this,1)};JP.prototype.Fc=function(a){return _.x(this,1,a)};JP.prototype.Y2=function(){return _.B(this,_.Kl,2)};JP.prototype.Vj=function(){return _.y(this,3)};var CZc=function(a){_.T(this,a,0,-1,null,null)};_.O(CZc,_.K);_.g=CZc.prototype;
_.g.Ib=function(){return _.y(this,1)};_.g.Fc=function(a){return _.x(this,1,a)};_.g.Vj=function(){return _.y(this,2)};_.g.nFa=function(){return _.B(this,_.Rp,3)};_.g.getKey=function(){return _.B(this,_.gb,4)};var DZc={nQb:0,gLb:1,jLb:2,OTHER:3,hLb:4},mRc=function(a){_.T(this,a,0,-1,null,null)};_.O(mRc,_.K);mRc.prototype.getUrl=function(){return _.y(this,1)};var RO=function(a){_.T(this,a,0,-1,null,null)};_.O(RO,_.K);var lRc=function(a,b){return _.x(a,1,b)};
RO.prototype.getName=function(){return _.y(this,2)};RO.prototype.$c=function(a){return _.x(this,2,a)};RO.prototype.getEmail=function(){return _.y(this,3)};RO.prototype.bw=function(){return _.Ck(this,3)};var EZc=[1],FZc=function(a){_.T(this,a,0,-1,EZc,null)};_.O(FZc,_.K);FZc.prototype.gq=function(){return _.Xk(this,RO,1)};var GZc=function(a,b){return _.$k(a,1,b)},HZc=[2],KP=function(a){_.T(this,a,0,-1,HZc,null)};_.O(KP,_.K);KP.prototype.Ib=function(){return _.y(this,1)};
KP.prototype.Fc=function(a){return _.x(this,1,a)};KP.prototype.Kj=function(){return _.Xk(this,_.pD,2)};var IZc=function(a,b){return _.$k(a,2,b)};KP.prototype.Vj=function(){return _.y(this,3)};var JZc=[[2,4,6,10],[3,5,7,8,9]],KZc=[1],LZc=function(a){_.T(this,a,0,-1,null,JZc)};_.O(LZc,_.K);var MZc=function(a){_.T(this,a,0,-1,KZc,null)};_.O(MZc,_.K);LZc.prototype.getKey=function(){return _.y(this,1)};var NZc=[2],LP=function(a){_.T(this,a,0,-1,NZc,null)};_.O(LP,_.K);
LP.prototype.Ib=function(){return _.y(this,1)};LP.prototype.Fc=function(a){return _.x(this,1,a)};LP.prototype.V=function(){return _.Xk(this,fP,2)};var OZc=function(a,b){return _.$k(a,2,b)};LP.prototype.Vj=function(){return _.y(this,3)};var PZc=function(a){_.T(this,a,0,-1,null,null)};_.O(PZc,_.K);PZc.prototype.Ib=function(){return _.y(this,1)};PZc.prototype.Fc=function(a){return _.x(this,1,a)};PZc.prototype.V=function(){return _.B(this,fP,2)};PZc.prototype.Vj=function(){return _.y(this,3)};
var QZc=function(a){_.T(this,a,0,-1,null,null)};_.O(QZc,_.K);QZc.prototype.Xv=function(){return _.y(this,2)};var RZc=function(a){_.T(this,a,0,-1,null,null)};_.O(RZc,_.K);_.g=RZc.prototype;_.g.Mc=function(){return _.y(this,1)};_.g.Ib=function(){return _.y(this,2)};_.g.Fc=function(a){return _.x(this,2,a)};_.g.getError=function(){return _.B(this,_.Cb,3)};_.g.af=function(a){return _.J(this,3,a)};_.g.Sm=function(){return _.Ck(this,3)};_.MP=function(a){_.T(this,a,0,-1,null,null)};_.O(_.MP,_.K);
_.MP.prototype.Ib=function(){return _.y(this,1)};_.MP.prototype.Fc=function(a){return _.x(this,1,a)};_.MP.prototype.Yg=function(){return _.B(this,_.AD,2)};_.SZc=function(a,b){return _.J(a,2,b)};_.MP.prototype.Vj=function(){return _.y(this,3)};var TZc=function(a){_.T(this,a,0,-1,null,null)};_.O(TZc,_.K);var UZc=[1],VZc=function(a){_.T(this,a,0,-1,UZc,null)};_.O(VZc,_.K);WZc=function(a,b){return _.x(a,1,b||[])};_.tRc=function(a){_.T(this,a,0,-1,null,null)};_.O(_.tRc,_.K);_.g=_.tRc.prototype;
_.g.getItem=function(){return _.B(this,_.Vl,1)};_.g.setItem=function(a){return _.J(this,1,a)};_.g.getError=function(){return _.B(this,_.Cb,2)};_.g.af=function(a){return _.J(this,2,a)};_.g.Sm=function(){return _.Ck(this,2)};_.g.er=function(){return _.y(this,4)};var XZc=[1],YZc=function(a){_.T(this,a,0,-1,XZc,null)};_.O(YZc,_.K);var ZZc=[2],$Zc=function(a){_.T(this,a,0,-1,ZZc,null)};_.O($Zc,_.K);$Zc.prototype.Ib=function(){return _.y(this,1)};$Zc.prototype.Fc=function(a){return _.x(this,1,a)};
$Zc.prototype.Vj=function(){return _.y(this,3)};var a_c=function(a){_.T(this,a,0,-1,null,null)};_.O(a_c,_.K);var b_c=[1],c_c=function(a){_.T(this,a,0,-1,b_c,null)};_.O(c_c,_.K);c_c.prototype.V=function(){return _.y(this,2)};var d_c=function(a,b){_.x(a,2,b)},e_c=function(a,b){this.V=a|0;this.H=b|0};e_c.prototype.equals=function(a){return this===a?!0:a instanceof e_c?this.V===a.V&&this.H===a.H:!1};e_c.prototype.Ec=function(){return 31*this.V+17*this.H|0};
var f_c=function(a,b){return new e_c(a,b)},g_c=function(a,b){b=~b;a?a=~a+1:b+=1;return f_c(a,b)},h_c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?g_c:f_c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},i_c=function(){this.H=this.ha=this.V=this.W=null},j_c=function(a,b,c){this.id=a;this.V=b;this.H=c},k_c=function(a,b){return new j_c((a?a:b).getId(),a,b)},NP=function(a){return new j_c(a.getId(),null,a)},l_c={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},m_c={LIMITED:1,
UNLIMITED:2,POOLED:3},cRc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3,POOLED_STORAGE:5},n_c={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},eRc={POOLED_STORAGE:0,FAMILY:1},o_c=function(a,b){this.V=a;this.H=b},q_c=function(a,b){_.zO(["drive#about"],b);var c=new _.MP,d=new _.AD;if(b.user){var e=_.AO(a.V,b.user);_.J(d,1,e)}a=p_c(a,b);a=uTc(tTc(_.sTc(new _.Jmb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.wTc(a,_.pTc(_.oTc((new _.zD).Fc(l_c[e.status]),
Number(e.trialMillisRemaining)),_.BO(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.xTc(a,_.rTc(_.qTc(new _.Imb,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&vTc(a,b.importFormats.map(function(f){var h=new _.nTc;h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.J(d,3,a);_.SZc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},p_c=function(a,b){var c=new _.Hmb;c=_.x(c,1,Number(b.quotaBytesTotal));c=_.x(c,2,Number(b.quotaBytesUsed));c=
_.x(c,3,Number(b.quotaBytesUsedAggregate));c=_.x(c,4,Number(b.quotaBytesUsedInTrash));c=_.hTc(_.gTc(c,dRc(b.quotaBytesByService||[])),m_c[b.quotaType]);if(_.C(a.H,5,!1)){a=_.jTc(_.iTc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-fRc(b);a=_.x(a,9,d);a=_.kTc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));a=_.x(a,13,_.DQc(Number(b.quotaBytesUsedAggregate),
Number(b.quotaBytesTotal)));_.lTc(a,n_c[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.endDate&&(a=new _.Gmb,d=_.LWa(new Date(b.graceQuotaInfo.endDate)),a=_.J(a,1,d),b=_.x(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),_.J(c,12,b));b=c}else b=c;return b},r_c={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},s_c={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},t_c={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},u_c={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},
v_c={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},w_c={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},x_c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},y_c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},z_c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},A_c=
{TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},B_c={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},C_c={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,DOMAIN_VISIBILITY_RESTRICTED:4},D_c={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},E_c={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},F_c={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},G_c={FEATURE_UNSPECIFIED:0,
SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},H_c={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},I_c={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},J_c={DECISION_UNSPECIFIED:0,APPROVED:1,DECLINED:2},K_c={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},L_c={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},M_c={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},N_c=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/
1E3);b=b%1E3*1E6;return _.KWa((new _.Cy).setSeconds(a),b)},O_c=function(a){var b=new _.tP;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "startTime":c=N_c(d);_.J(b,1,c);break;case "endTime":b.NC(N_c(d))}}return b},P_c=function(a){var b=new yWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "title":b.setTitle(d)}}return b},
Q_c=function(a){var b=new _.EWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "type":_.Uk(b,6,s_c[d])}}return b},R_c=function(a){var b=new _.FWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.Tk(b,1,d);break;case "targetMimeType":_.Tk(b,2,d)}}return b},S_c=function(a){var b=new _.nP;a=_.v(Object.entries(a));for(var c=
a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new IWc;d=_.v(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.$c(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new DWc;_.Zk(e,8,HWc[0],f);break;case "driveFolder":e=Q_c(f);_.Zk(c,9,HWc[0],e);break;case "driveShortcut":e=R_c(f),_.Zk(c,10,HWc[0],e)}}_.Zk(b,1,JWc[0],c);break;case "drive":c=
P_c(d),_.Zk(b,3,JWc[0],c)}}return b},T_c=function(a){return a.map(function(b){return S_c(b)})},U_c=function(a){var b=new _.xWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "legacyId":_.Tk(b,3,d);break;case "audienceDisplayName":_.Tk(b,4,d)}}return b},OP=function(a){var b=new _.fWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;
switch(c){case "knownUser":c=new _.lP;d=_.v(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;switch(e){case "personName":_.Tk(c,1,f);break;case "isCurrentUser":_.Sk(c,2,f);break;case "displayName":_.Tk(c,3,f);break;case "photoUrl":c.Sn(f)}}_.Zk(b,2,_.dWc[0],c);break;case "unknownUser":c=new gWc;_.Zk(b,4,_.dWc[0],c);break;case "deletedUser":c=new _.eWc,_.Zk(b,3,_.dWc[0],c)}}return b},V_c=function(a){return a.map(function(b){return OP(b)})},
W_c=function(a){var b=new _.rXc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=OP(d);_.Zk(b,1,_.qXc[0],c);break;case "anonymous":c=new nXc;_.Zk(b,2,_.qXc[0],c);break;case "impersonation":c=new _.oXc;d=_.v(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=OP(f),_.J(c,1,e)}}_.Zk(b,3,_.qXc[0],c);break;case "system":c=
new _.pXc;d=_.v(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.v(e.value),e=f.next().value,f=f.next().value,e){case "type":_.Uk(c,1,t_c[f])}_.Zk(b,4,_.qXc[0],c);break;case "administrator":c=new _.mXc,_.Zk(b,5,_.qXc[0],c)}}return b},X_c=function(a){return a.map(function(b){return W_c(b)})},Y_c=function(a){var b=new GWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.$c(d);break;case "title":b.setTitle(d);
break;case "mimeType":_.Tk(b,6,d);break;case "version":_.Rk(b,5,d);break;case "owner":c=new BWc;d=_.v(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;switch(e){case "domain":e=U_c(f);_.J(c,3,e);break;case "user":e=OP(f);_.Zk(c,1,AWc[0],e);break;case "drive":e=P_c(f),_.Zk(c,4,AWc[0],e)}}_.J(b,7,c);break;case "driveFile":c=new DWc;_.Zk(b,8,CWc[0],c);break;case "driveFolder":c=Q_c(d);_.Zk(b,9,CWc[0],c);break;case "driveShortcut":c=R_c(d),
_.Zk(b,10,CWc[0],c)}}return b},Z_c=function(a){var b=new _.sP;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=Y_c(d);_.Zk(b,1,_.wXc[0],c);break;case "drive":c=new _.tXc;d=_.v(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.$c(f);break;case "title":c.setTitle(f);break;case "root":e=Y_c(f),_.J(c,3,e)}}_.Zk(b,5,_.wXc[0],
c);break;case "fileComment":c=new _.uXc;d=_.v(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.v(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.Tk(c,1,f);break;case "legacyDiscussionId":_.Tk(c,2,f);break;case "linkToDiscussion":_.Tk(c,3,f);break;case "parent":c.Sg(Y_c(f))}_.Zk(b,3,_.wXc[0],c)}}return b},$_c=function(a){return a.map(function(b){return Z_c(b)})},a0c=function(a){var b=new _.XWc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=
_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.Uk(b,1,M_c[d])}}return b},b0c=function(a){return a.map(function(b){var c=new _.qP;b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;switch(d){case "role":_.Uk(c,1,w_c[e]);break;case "user":d=OP(e);_.Zk(c,2,_.pP[0],d);break;case "group":d=new _.oP;e=_.v(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.v(f.value);f=h.next().value;h=h.next().value;
switch(f){case "email":_.Tk(d,1,h);break;case "title":d.setTitle(h)}}_.Zk(c,3,_.pP[0],d);break;case "domain":d=U_c(e);_.Zk(c,4,_.pP[0],d);break;case "anyone":d=new ZWc;_.Zk(c,5,_.pP[0],d);break;case "allowDiscovery":_.Sk(c,6,e)}}return c})},c0c=function(a){return a.map(function(b){var c=new _.gXc;b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.Uk(c,1,G_c[e]);break;case "newRestriction":_.Uk(c,2,H_c[e])}}return c})},
d0c=function(a){return a.map(function(b){var c=new pWc;b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=OP(e);_.J(c,3,d);break;case "addedReviewer":d=OP(e),_.J(c,4,d)}}return c})},e0c=function(a){return a.map(function(b){return K_c[b]})},f0c=function(a){return a.map(function(b){var c=new _.bWc;b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;
switch(d){case "label":c.Gd(e);break;case "types":d=e0c(e),_.x(c,2,d||[])}}return c})},g0c=function(a){var b=new cXc;a=_.v(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.v(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.Uk(b,1,L_c[d]);break;case "signinRequired":_.Sk(b,2,d);break;case "publishedTime":c=N_c(d),_.J(b,3,c)}}return b},h0c=function(a){for(var b=new _.lXc,c=_.v(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.v(d.value),f=e.next().value,
h=e.next().value;switch(f){case "create":for(var k=new _.OWc,l=_.v(Object.entries(h)),n=l.next();!n.done;n=l.next()){var p=_.v(n.value),r=p.next().value,u=p.next().value;switch(r){case "new":var z=k,A=new LWc;_.Zk(z,1,_.KWc[0],A);break;case "upload":var F=k,L=new MWc;_.Zk(F,2,_.KWc[0],L);break;case "copy":for(var I=u,P=new _.NWc,S=_.v(Object.entries(I)),da=S.next();!da.done;da=S.next()){var ca=_.v(da.value),za=ca.next().value,oa=ca.next().value;switch(za){case "originalObject":var la=S_c(oa);_.J(P,
1,la)}}_.Zk(k,3,_.KWc[0],P)}}_.Zk(b,1,_.rP[0],k);break;case "edit":var La=new TWc;_.Zk(b,2,_.rP[0],La);break;case "move":for(var Oa=new _.YWc,xb=_.v(Object.entries(h)),jb=xb.next();!jb.done;jb=xb.next()){var ec=_.v(jb.value),sd=ec.next().value,le=ec.next().value;switch(sd){case "addedParents":var gf=T_c(le);_.$k(Oa,1,gf);break;case "removedParents":var ae=T_c(le);_.$k(Oa,2,ae);break;case "fromOwnershipTransfer":_.Sk(Oa,3,le);break;case "reparents":var bf=le.map(a0c);_.$k(Oa,4,bf)}}_.Zk(b,3,_.rP[0],
Oa);break;case "rename":for(var rg=new _.dXc,hh=_.v(Object.entries(h)),qd=hh.next();!qd.done;qd=hh.next()){var Rh=_.v(qd.value),wf=Rh.next().value,Yf=Rh.next().value;switch(wf){case "oldTitle":_.Tk(rg,1,Yf);break;case "newTitle":_.Tk(rg,2,Yf)}}_.Zk(b,4,_.rP[0],rg);break;case "delete":for(var Ob=new _.RWc,ig=_.v(Object.entries(h)),Zi=ig.next();!Zi.done;Zi=ig.next()){var Kk=_.v(Zi.value),po=Kk.next().value,qo=Kk.next().value;switch(po){case "type":_.Uk(Ob,1,u_c[qo])}}_.Zk(b,5,_.rP[0],Ob);break;case "restore":for(var xf=
new _.eXc,Zf=_.v(Object.entries(h)),Gg=Zf.next();!Gg.done;Gg=Zf.next()){var $i=_.v(Gg.value),Km=$i.next().value,al=$i.next().value;switch(Km){case "type":_.Uk(xf,1,v_c[al])}}_.Zk(b,6,_.rP[0],xf);break;case "permissionChange":for(var vl=new _.aXc,Wl=_.v(Object.entries(h)),aj=Wl.next();!aj.done;aj=Wl.next()){var Wj=_.v(aj.value),Hg=Wj.next().value,si=Wj.next().value;switch(Hg){case "addedPermissions":var wl=b0c(si);_.$k(vl,1,wl);break;case "removedPermissions":var bj=b0c(si);_.$k(vl,2,bj);break;case "resharedPermissions":var Xj=
b0c(si);_.$k(vl,3,Xj);break;case "otherActivePermissions":var sg=b0c(si);_.$k(vl,4,sg)}}_.Zk(b,7,_.rP[0],vl);break;case "comment":for(var Jh=new _.wWc,ti=_.v(Object.entries(h)),bl=ti.next();!bl.done;bl=ti.next()){var Lm=_.v(bl.value),ih=Lm.next().value,ci=Lm.next().value;switch(ih){case "post":for(var wd=ci,cl=new _.tWc,cj=_.v(Object.entries(wd)),mp=cj.next();!mp.done;mp=cj.next()){var xl=_.v(mp.value),yl=xl.next().value,Mm=xl.next().value;switch(yl){case "subtype":_.Uk(cl,1,x_c[Mm])}}_.Zk(Jh,1,_.sWc[0],
cl);break;case "assignment":for(var Yj=ci,rh=new _.uWc,zl=_.v(Object.entries(Yj)),un=zl.next();!un.done;un=zl.next()){var xh=_.v(un.value),di=xh.next().value,Gi=xh.next().value;switch(di){case "subtype":_.Uk(rh,1,y_c[Gi]);break;case "assignedUser":var Sh=OP(Gi);_.J(rh,7,Sh)}}_.Zk(Jh,2,_.sWc[0],rh);break;case "suggestion":for(var Xl=ci,ro=new _.vWc,np=_.v(Object.entries(Xl)),Al=np.next();!Al.done;Al=np.next()){var Nm=_.v(Al.value),so=Nm.next().value,Yl=Nm.next().value;switch(so){case "subtype":_.Uk(ro,
1,z_c[Yl])}}_.Zk(Jh,3,_.sWc[0],ro);break;case "mentionedUsers":var to=V_c(ci);_.$k(Jh,7,to)}}_.Zk(b,8,_.rP[0],Jh);break;case "dlpChange":for(var op=new _.QWc,Lk=_.v(Object.entries(h)),$f=Lk.next();!$f.done;$f=Lk.next()){var Om=_.v($f.value),pp=Om.next().value,mq=Om.next().value;switch(pp){case "type":_.Uk(op,1,A_c[mq])}}_.Zk(b,9,_.rP[0],op);break;case "view":for(var dl=new kXc,uo=_.v(Object.entries(h)),nq=uo.next();!nq.done;nq=uo.next()){var qp=_.v(nq.value),qk=qp.next().value,Aj=qp.next().value;
switch(qk){case "type":_.Uk(dl,1,B_c[Aj]);break;case "viewHistoryVisibility":for(var Dt=Aj,rp=new jXc,sp=_.v(Object.entries(Dt)),Et=sp.next();!Et.done;Et=sp.next()){var Ux=_.v(Et.value),aC=Ux.next().value,qf=Ux.next().value;switch(aC){case "domainPolicyVisibilityState":_.Uk(rp,1,C_c[qf]);break;case "namedPartyState":_.Uk(rp,2,D_c[qf])}}_.J(dl,2,rp)}}_.Zk(b,10,_.rP[0],dl);break;case "download":for(var Vx=new SWc,iF=_.v(Object.entries(h)),el=iF.next();!el.done;el=iF.next()){var sJ=_.v(el.value),Ft=
sJ.next().value,jF=sJ.next().value;switch(Ft){case "type":_.Uk(Vx,1,E_c[jF])}}_.Zk(b,11,_.rP[0],Vx);break;case "reference":for(var us=new _.ZVc,bC=_.v(Object.entries(h)),kF=bC.next();!kF.done;kF=bC.next()){var lF=_.v(kF.value),F$=lF.next().value,tJ=lF.next().value;switch(F$){case "type":_.Uk(us,1,F_c[tJ]);break;case "context":for(var cC=us,G$=cC.Nj,rT=tJ,H$=new YVc,G0=_.v(Object.entries(rT)),I$=G0.next();!I$.done;I$=G0.next()){var sT=_.v(I$.value),Zna=sT.next().value,BN=sT.next().value;switch(Zna){case "description":H$.am(BN);
break;case "url":_.Tk(H$,2,BN)}}G$.call(cC,H$)}}_.Zk(b,12,_.rP[0],us);break;case "settingsChange":for(var uJ=new _.hXc,H0=_.v(Object.entries(h)),J$=H0.next();!J$.done;J$=H0.next()){var $na=_.v(J$.value),LLa=$na.next().value,MLa=$na.next().value;switch(LLa){case "restrictionChanges":var NLa=c0c(MLa);_.$k(uJ,1,NLa)}}_.Zk(b,13,_.rP[0],uJ);break;case "approvalChange":for(var dv=new _.lWc,Wx=_.v(Object.entries(h)),K$=Wx.next();!K$.done;K$=Wx.next()){var L$=_.v(K$.value),I0=L$.next().value,fl=L$.next().value;
switch(I0){case "approvalName":_.Tk(dv,2,fl);break;case "approvalEventNames":_.x(dv,3,fl||[]);break;case "initiator":var OLa=OP(fl);_.J(dv,4,OLa);break;case "reviewers":var aoa=V_c(fl);_.$k(dv,5,aoa);break;case "status":dv.Fc(I_c[fl]);break;case "dueTime":var boa=N_c(fl);_.J(dv,7,boa);break;case "approvalRequested":var PLa=dv,QLa=new iWc;_.Zk(PLa,8,_.mP[0],QLa);break;case "approvalCancelled":var M$=dv,tT=new jWc;_.Zk(M$,9,_.mP[0],tT);break;case "reviewerResponded":for(var RLa=fl,vJ=new _.kWc,coa=
_.v(Object.entries(RLa)),J0=coa.next();!J0.done;J0=coa.next()){var N$=_.v(J0.value),SLa=N$.next().value,O$=N$.next().value;switch(SLa){case "reviewerDecision":_.Uk(vJ,1,J_c[O$])}}_.Zk(dv,10,_.mP[0],vJ);break;case "commentAdded":var TLa=dv,doa=new mWc;_.Zk(TLa,11,_.mP[0],doa);break;case "reviewersChanged":for(var P$=fl,uT=new oWc,vT=_.v(Object.entries(P$)),Q$=vT.next();!Q$.done;Q$=vT.next()){var eoa=_.v(Q$.value),ULa=eoa.next().value,VLa=eoa.next().value;switch(ULa){case "reviewerChanges":var WLa=
d0c(VLa);_.$k(uT,1,WLa)}}_.Zk(dv,12,_.mP[0],uT);break;case "dueTimeChanged":for(var XLa=fl,YLa=new qWc,zgb=_.v(Object.entries(XLa)),ZLa=zgb.next();!ZLa.done;ZLa=zgb.next()){var bTd=_.v(ZLa.value),zbg=bTd.next().value,Abg=bTd.next().value;switch(zbg){case "oldDueTime":var Bbg=N_c(Abg);_.J(YLa,1,Bbg)}}_.Zk(dv,13,_.mP[0],YLa)}}_.Zk(b,18,_.rP[0],dv);break;case "lock":var Cbg=new VWc;_.Zk(b,15,_.rP[0],Cbg);break;case "unlock":var Dbg=new iXc;_.Zk(b,16,_.rP[0],Dbg);break;case "appliedLabelChange":for(var cTd=
new _.cWc,dTd=_.v(Object.entries(h)),Qhc=dTd.next();!Qhc.done;Qhc=dTd.next()){var eTd=_.v(Qhc.value),Ebg=eTd.next().value,Fbg=eTd.next().value;switch(Ebg){case "changes":var Gbg=f0c(Fbg);_.$k(cTd,1,Gbg)}}_.Zk(b,19,_.rP[0],cTd);break;case "publishChange":for(var Rhc=new bXc,fTd=_.v(Object.entries(h)),Shc=fTd.next();!Shc.done;Shc=fTd.next()){var gTd=_.v(Shc.value),Hbg=gTd.next().value,hTd=gTd.next().value;switch(Hbg){case "oldPublishState":var Ibg=g0c(hTd);_.J(Rhc,1,Ibg);break;case "newPublishState":var Jbg=
g0c(hTd);_.J(Rhc,2,Jbg)}}_.Zk(b,20,_.rP[0],Rhc);break;case "linkShareMetadataChange":for(var iTd=new UWc,jTd=_.v(Object.entries(h)),Thc=jTd.next();!Thc.done;Thc=jTd.next()){var kTd=_.v(Thc.value),Kbg=kTd.next().value,Lbg=kTd.next().value;switch(Kbg){case "securityUpdateEnabled":_.Sk(iTd,1,Lbg)}}_.Zk(b,21,_.rP[0],iTd)}}return b},i0c=function(a){return a.map(function(b){var c=new _.yXc;b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;
switch(d){case "detail":d=h0c(e);_.J(c,1,d);break;case "source":d=new sXc;e=_.v(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.v(f.value);f=h.next().value;h=h.next().value;switch(f){case "type":_.Uk(d,2,r_c[h]);break;case "appId":_.Tk(d,1,h)}}_.J(c,2,d);break;case "actor":d=W_c(e);_.J(c,3,d);break;case "target":d=Z_c(e);_.J(c,4,d);break;case "timestamp":c.V(N_c(e));break;case "timeRange":d=O_c(e),_.Zk(c,6,xXc[0],d)}}return c})},j0c=function(a){return a.map(function(b){var c=new _.uP;
b=_.v(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.v(d.value);d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=h0c(e);_.J(c,2,d);break;case "actors":d=X_c(e);_.$k(c,3,d);break;case "actions":d=i0c(e);_.$k(c,4,d);break;case "targets":d=$_c(e);_.$k(c,5,d);break;case "timestamp":c.V(N_c(e));break;case "timeRange":d=O_c(e),_.Zk(c,7,AXc[0],d)}}return c})},k0c={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},l0c={application:1,document:2,documentShared:3},
m0c=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.JVc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},n0c=function(a){_.zO(["drive#app"],a);var b=(new _.iP).Ub(a.id);b=_.x(b,3,a.useByDefault).$c(a.name);b=_.x(b,7,a.openUrlTemplate);b=OVc(NVc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.x(b,8,a.createUrl);b=_.x(b,9,a.createInFolderTemplate);b=_.x(b,10,a.objectType);b=_.x(b,11,a.supportsCreate);b=_.x(b,12,a.supportsImport);b=_.x(b,13,a.supportsMultiOpen);b=_.x(b,
27,a.supportsOfflineCreate);b=_.x(b,14,a.installed);b=_.x(b,15,a.authorized);b=_.x(b,16,a.productUrl);b=_.x(b,17,a.primaryFileExtensions||[]);b=_.x(b,18,a.secondaryFileExtensions||[]);b=_.x(b,19,a.shortDescription);b=_.x(b,20,a.longDescription);b=_.x(b,21,a.productId);b=_.x(b,22,a.removable);b=_.x(b,23,k0c[a.type]);b=_.x(b,25,a.hasAppData);b=_.x(b,26,a.appDataQuotaBytesUsed);b=_.x(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.x(b,30,a.hasDriveWideScope);b=_.x(b,31,a.driveSource);b=_.x(b,32,a.driveBranded);
b=_.x(b,33,a.hidden);b=_.x(b,34,a.supportsMobileBrowser);b=_.x(b,35,a.supportsTeamDrives);b=_.x(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.IVc;l=_.x(l,3,k.iconUrl).setSize(k.size);k.category&&_.x(l,1,l0c[k.category]);h.call(f,l)}_.$k(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.x(b,24,d||[]);c=a.rankingInfo||{};a=new _.LVc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=m0c(c.mimeTypeScores||[]);_.$k(a,2,d);
c=m0c(c.fileExtensionScores||[]);_.$k(a,3,c);_.J(b,29,a);return b},o0c=function(a,b){var c=new IP;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=n0c(a),_.J(b,2,a));return b},p0c={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},q0c=function(a){var b=new $Zc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.rZc).Ub(c.id).setTitle(c.title);d=_.x(d,3,_.BO(c.updateTime));d=_.x(d,4,p0c[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.BO(c.expiryTime));d=_.x(d,9,"boolean"===
typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.Gu()){var e=new qZc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.J(d,6,c)}else 2==d.Gu()&&(e=new _.pZc,e=_.x(e,1,c.deviceName),e=_.x(e,2,c.deviceModelName),e=_.x(e,3,c.shouldIncludeSpecialSyncItems),c=_.x(e,4,c.deviceAndroidId),_.J(d,7,c));return d});_.$k(b,2,a);return b},r0c=function(a){var b=new YZc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.FP).Ub(c.id);d=_.x(d,1,FTc[c.type]).setTitle(c.title);
d=_.x(d,4,c.iconUri);d=_.oZc(d.setSize(c.size),_.BO(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).am(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.$k(b,1,a);return b},s0c=function(a,b){this.H=a;this.V=b},t0c={read:2,write:3,comment:4},u0c=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.bM((new _.Vl).Ub(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.Rn(_.jOc(c.userCapabilities));_.xO(b).includes(19)&&_.oLc(d,!0);_.MOc(a,d,_.xO(b));_.pLc(d,4);return d},v0c=function(a){a=a.predictionSessionId&&
a.predictionSessionId.eventId;if(!a)return null;a=_.DJc(_.CJc(_.BJc(new _.mpa,a.timeUsec),a.serverIp),a.processId);return _.rlb(a)},w0c=function(a){return _.EKc((new _.Kl).Ub(a.id).$c(a.displayName),a.emailAddress).Sn(a.photoUrl)},x0c=function(a){if(!a)return null;a=a.textSegment||[];return IRc(new _.Jl,a.map(function(b){var c=(new _.jma).Wg(b.text),d=b.link;if(d){var e=new _.kma;d=_.x(e,1,d.url)}else d=null;c=_.J(c,2,d);c=_.x(c,3,b.bold);return _.x(c,4,b.italic)}))},y0c=function(a){var b=MRc(new _.Ll,
x0c(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=w0c(c),_.Zk(b,3,_.mma[0],c),NRc(b,[c])):d?(c=(d.person||[]).map(function(e){return w0c(e)}),d=LRc(c),_.Zk(b,4,_.mma[0],d),NRc(b,c)):(c=(a.person||[]).map(function(e){return w0c(e)}),c.length&&(d=LRc(c),_.Zk(b,4,_.mma[0],d),NRc(b,c)));_.x(b,5,_.BO(a.eventTime));ORc(b,x0c(a.justificationDescription));return b},PP=function(a){return(a=a.justification)?y0c(a):null},z0c=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=ESc(new _.tma,
PP(a));DSc(b,(a.subAction||[]).map(function(c){var d=new fSc;c.openDocument&&(c=new RRc,_.Zk(d,1,eSc[0],c));return d}));return b},A0c=function(a){a=a.popularDocumentAction;if(!a)return null;var b=XSc(new _.Gma,PP(a));WSc(b,(a.subAction||[]).map(function(c){var d=new xSc;c.openDocument&&(c=new RRc,_.Zk(d,1,wSc[0],c));return d}));return b},B0c=function(a){a=a.documentTopicAction;if(!a)return null;var b=MSc(new _.Ama,PP(a));LSc(b,(a.subAction||[]).map(function(c){var d=new jSc;c.openDocument&&(c=new RRc,
_.Zk(d,1,iSc[0],c));return d}));return b},C0c=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=RSc(QSc(new nSc,a.workspaceId),PP(a));PSc(b,(a.subAction||[]).map(function(c){var d=new pSc;c.addToWorkspace&&(c=new QRc,_.Zk(d,1,oSc[0],c));return d}));return b},D0c=function(a){a=a.calendarEventAction;if(!a)return null;var b=CSc(BSc(ASc(new _.rma,a.eventId),PP(a)),a.guestCount);zSc(b,(a.subAction||[]).map(function(c){var d=new dSc;if(c.viewCalendarEvent){var e=new aSc;_.Zk(d,1,cSc[0],e)}c.shareWithAttendees&&
(e=new ZRc,_.Zk(d,2,cSc[0],e));c.present&&(e=new TRc,_.Zk(d,3,cSc[0],e));c.openDocument&&(c=new RRc,_.Zk(d,4,cSc[0],c));return d}));return b},E0c=function(a){return(a.justification||[]).map(function(b){return y0c(b)})},F0c=function(a){a=a.formResponseAction;if(!a)return null;var b=VSc(new _.Ema,E0c(a));USc(b,(a.subAction||[]).map(function(c){var d=new vSc;c.openDocument?(c=new RRc,_.Zk(d,1,uSc[0],c)):c.viewResponses&&(c=new bSc,_.Zk(d,2,uSc[0],c));return d}));return b},G0c=function(a){a=a.documentDocosAction;
if(!a)return null;var b=GSc(new _.vma,PP(a));FSc(b,(a.subAction||[]).map(function(c){var d=new _.wma;c.reply?(c=new _.pma,_.Zk(d,1,_.Nl[0],c)):c.resolve?(c=new WRc,_.Zk(d,2,_.Nl[0],c)):c.reassign?(c=new URc,_.Zk(d,3,_.Nl[0],c)):c.acceptSuggestion?(c=new PRc,_.Zk(d,4,_.Nl[0],c)):c.rejectSuggestion?(c=new VRc,_.Zk(d,5,_.Nl[0],c)):c.openThread&&(c=new _.oma,_.Zk(d,6,_.Nl[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);HSc(b,x0c(a.anchorText));return b},H0c=function(a){a=a.documentShareAction;
if(!a)return null;var b=KSc(new _.yma,PP(a));JSc(b,(a.subAction||[]).map(function(c){var d=new hSc;c.suggestedShare?(c=new $Rc,_.Zk(d,1,gSc[0],c)):c.responseToRequest&&(c=new XRc,_.Zk(d,2,gSc[0],c));return d}));ISc(b,(a.sharee||[]).map(function(c){return w0c(c)}));_.x(b,3,t0c[a.shareeRole]);return b},I0c=function(a){a=a.documentViewAction;if(!a)return null;var b=OSc(new _.Cma,E0c(a));NSc(b,(a.subAction||[]).map(function(c){var d=new lSc;c.open?d.xg(new RRc):c.reviewEdits&&(c=new YRc,_.Zk(d,2,kSc[0],
c));return d}));return b},J0c=function(a){a=a.emailViewAction;if(!a)return null;var b=TSc(new rSc,PP(a));SSc(b,(a.subAction||[]).map(function(c){var d=new tSc;c.openEmail&&d.xg(new SRc);return d}));return b},K0c=function(a){var b=a.action;return b?b.map(function(c){var d=new _.nma,e=G0c(c);e&&_.Zk(d,2,_.Ml[0],e);(e=I0c(c))&&ySc(d,e);(e=H0c(c))&&_.Zk(d,4,_.Ml[0],e);(e=J0c(c))&&_.Zk(d,5,_.Ml[0],e);(e=D0c(c))&&_.Zk(d,6,_.Ml[0],e);(e=C0c(c))&&_.Zk(d,7,_.Ml[0],e);(e=B0c(c))&&_.Zk(d,8,_.Ml[0],e);(e=A0c(c))&&
_.Zk(d,9,_.Ml[0],e);(e=z0c(c))&&_.Zk(d,10,_.Ml[0],e);(c=F0c(c))&&_.Zk(d,11,_.Ml[0],c);return d}):(a=PP(a),a=OSc(new _.Cma,[a]),[ySc(new _.nma,a)])},L0c={UNSPECIFIED_CLIENT:0,DEFAULT_CLIENT:102,QUICK_ACCESS_CLIENT:110,DRIVE_ZERO_STATE_SEARCH_CLIENT:113,DRIVE_PRIORITY:116,DRIVE_WORKSPACES_CLIENT:117,DRIVE_PEOPLE_CLIENT:118,DRIVE_PEOPLE_WITH_ACTIONS_CLIENT:119,DRIVE_WORKING_SET_CLIENT:122,SMART_TASKS_CLIENT:123},M0c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=eTc(new _.$m,
a.map(function(c){return L0c[c]||0}));if(b=b.eventId)b=_.DJc(_.CJc(_.BJc(new _.mpa,b.timeUsec),b.serverIp),b.processId),_.J(a,2,b);return a},N0c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=u0c(a,b,e);e=K0c(e);f=_.$k(f,117,e);d.push(f)}});c=(new _.rD).vy(d).ML(v0c(c)).setSessionId(M0c(c));return _.eMc(new _.jO,c)},O0c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=w0c(f.person).Ub(h);(f.childItem||[]).forEach(function(l){e.some(function(r){return r.getId()==
h})||e.push(k);var n=l.itemId,p=d.find(function(r){return r.getId()==n});p||(p=u0c(a,b,l),d.push(p));l=$Sc(ZSc(YSc(new _.Ima,k.clone()),l.predictionReason),l.url);_.gl(p,107,l,_.Ima,void 0)})}});return xUc((new _.HO).vy(d),e).ML(v0c(c)).setSessionId(M0c(c))},P0c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Lma;f=_.x(f,2,e.predictionReason);e=u0c(a,b,e);e=_.J(e,100,f);d.push(e)}});c=(new _.rD).vy(d).ML(v0c(c)).setSessionId(M0c(c)).l1(c.suggestionSessionId);
return _.eMc(new _.jO,c)},Q0c=function(a){return _.CKc(1).Ub(a.personName.split("/")[1])},R0c=function(a){var b=(new HUc).$k(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},S0c=function(a){var b=new iVc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},T0c=function(a){a=void 0===a?{}:a;var b=new QUc;b=_.x(b,1,a.minSize);return _.x(b,2,a.maxSize)},U0c=function(a){var b=new NUc;OUc(b,
(a.choices||[]).map(function(c){var d=(new MUc).Gd(c.label).Sb(c.value);if(c.capabilities){var e=d.Rn;var f=c.capabilities;var h=new LUc;h=_.x(h,1,f.canSearch);f=_.x(h,2,f.canSelect);e.call(d,f)}c.displayHints&&(c=R0c(c.displayHints),_.J(d,4,c));return d}));return b},V0c=function(a){var b=new TUc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},W0c=function(a){var b=(new _.Rma).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},X0c={BOOLEAN:1,TEXT:2,TEXT_LIST:3,
LONG_TEXT:4,SELECTION:5,SELECTION_LIST:6,INTEGER:7,INTEGER_LIST:8,USER_SCOPED:9,USER:10,USER_LIST:11,DATE:12,DATE_STRING:12},Y0c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},Z0c=function(a,b){this.H=a;this.V=b},a1c=function(a,b,c){_.zO(["drive#categoryMetadataList"],c);var d=new hP,e=Object.values(c.categoryMetadata||{});BVc(d,e.map(function(f){return $0c(a,f,b.Mc())}));d.Fc(1);return new _.KO(d,eZc(c))},c1c=function(a,b){var c=new LP;OZc(c,(b.categories||
[]).map(function(d){return b1c(a,d)}));c.Fc(1);return new ZXc(c,eZc(b))},$0c=function(a,b,c){_.zO(["drive#categoryMetadata"],b);c=gVc((new eP).$c(b.categoryName),c);b=Object.values(b.attributeValues||[]);fVc(c,b.map(function(d){return d1c(a,d)}).filter(function(d){return d}));return c},b1c=function(a,b){var c=kVc(jVc((new fP).$c(b.name),b.categoryName),b.latestName).setTitle(b.title).am(b.description);lVc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new ZUc).Ub(d.id);f=_.x(f,2,d.queryGuid);
f=_.x(f,3,d.helpText);f=_.x(f,4,d.displayName);if(d.attributeDisplayHints){var h=R0c(d.attributeDisplayHints);_.J(f,5,h)}if(d.capabilities){h=f.Rn;var k=d.capabilities;var l=new IUc;l=_.x(l,1,k.canSearch);k=_.x(l,2,k.canWrite);h.call(f,k)}_.x(f,7,X0c[e]);d=d[Y0c(e)+"Options"];return e1c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&mVc(c,Q0c(b.createdBy));b.updatedBy&&nVc(c,Q0c(b.updatedBy));b.publishedBy&&oVc(c,Q0c(b.publishedBy));_.x(c,9,_.BO(b.createTime));_.x(c,10,_.BO(b.updateTime));
_.x(c,11,_.BO(b.publishTime));b.displayHints&&pVc(c,R0c(b.displayHints));b.capabilities&&c.Rn(S0c(b.capabilities));return c},d1c=function(a,b){_.zO(["drive#categoryAttributeValue"],b);var c=(new cP).Ub(b.id);if(b.userScoped)b=Object.values(b.userScoped),dVc(c,b.map(function(d){_.zO(["drive#userScopedAttributeValue"],d);var e=new aVc,f=_.AO(a.H,d.scopedUser);e=_.J(e,1,f);return f1c(a,e,d)?e:null}).filter(function(d){return d})),c.uy(9);else if(!f1c(a,c,b))return null;return c},e1c=function(a,b,c,d){return g1c(a,
function(){h1c(a)[c](b,d)},c,b)},f1c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.uy(X0c[d]);return g1c(a,function(){i1c(a)[d](b,c[c.valueType])},c.valueType)},g1c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof VUc))return dUc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},h1c=function(a){return{BOOLEAN:function(b,c){var d=b.QSa;var e=new JUc;e=_.x(e,1,c.trueLabel);
c=_.x(e,2,c.falseLabel);return d.call(b,c)},TEXT:function(b,c){return b.T7(T0c(c))},TEXT_LIST:function(b,c){var d=b.GTa;var e=new RUc;e=_.x(e,1,c.maxEntries);c=T0c(c.options);c=_.J(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new SUc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.Zk(b,10,aP[0],c)},SELECTION:function(b,c){return b.uTa(U0c(c))},SELECTION_LIST:function(b,c){var d=b.tTa;var e=new PUc;e=_.x(e,1,c.maxEntries);c=U0c(c.options);c=_.J(e,2,c);return d.call(b,c)},INTEGER:function(b,
c){return b.cTa(V0c(c))},INTEGER_LIST:function(b,c){var d=b.bTa;var e=new UUc;e=_.x(e,1,c.maxEntries);c=V0c(c.options);c=_.J(e,2,c);return d.call(b,c)},USER:function(b){return b.LTa(new WUc)},USER_LIST:function(b,c){var d=b.dia,e=new XUc;c=_.x(e,1,c.maxEntries);e=new WUc;c=_.J(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.Mha;var e=new YUc;e=_.x(e,4,c.dateFormat);var f=W0c(c.minValue);e=_.J(e,2,f);c=W0c(c.maxValue);c=_.J(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new VUc;d=
_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,X0c[e]);c=c[Y0c(e)+"Options"];e1c(a,d,e,c);return _.Zk(b,16,aP[0],d)}}},i1c=function(a){return{BOOLEAN:function(b,c){return b.setBooleanValue(c)},TEXT:function(b,c){return b.setTextValue(c)},TEXT_LIST:function(b,c){return b.aia(c)},LONG_TEXT:function(b,c){return b.setLongTextValue(c)},SELECTION:function(b,c){return b.setSelectionValue(c)},SELECTION_LIST:function(b,c){return b.Wha(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,
10))},INTEGER_LIST:function(b,c){return b.Pha(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return b.setUserValue(_.AO(a.H,c))},USER_LIST:function(b,c){cVc(b,c.map(function(d){return _.AO(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},j1c=function(a){a=a.personResponse;return GZc(new FZc,a.map(function(b){var c=b.person;b=lRc(new RO,b.personId);var d=b.$c,e=c;e=void 0===e?{}:e;e=e.metadata;b=d.call(b,e?e.bestDisplayName.displayName:"");d=c;d=void 0===d?{}:
d;d=d.email;b=_.x(b,3,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new mRc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.J(b,4,c)}))},k1c=function(a){this.H=a},m1c=function(a,b){_.zO(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return l1c(a,c)})},l1c=function(a,b){_.zO(["drive#teamDrive","drive#drive"],b);var c=new _.Oma,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.x(c,2,d);_.x(c,1,b.backgroundImageLink);_.x(c,3,b.trusted);_.x(c,5,b.backgroundImageGridViewLink);
_.x(c,6,b.backgroundImageListViewLink);_.x(c,7,b.hidden);(d=b.categoryReferences)&&tQc(c,d.map(function(e){_.zO(["drive#driveCategoryReference"],e);var f=new _.Ul;return _.x(f,1,e.category)}));c=_.tLc(_.sLc(_.pLc(_.qLc(sQc(_.bM((new _.Vl).Ub(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.PKc(_.jOc(b.capabilities),!0),c.Rn(d));b.permissionsSummary&&_.rLc(c,_.FOc(a.H,b.permissionsSummary));b.restrictions&&
vQc(c,n1c(b.restrictions));return c},n1c=function(a){var b=new _.Mma;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},o1c=function(a){_.zO(["drive#setting"],a);var b=new _.gb;b=_.x(b,2,a.key);b=_.x(b,1,_.dJc[a.namespace]);return _.Tva(new _.Rp,b).Sb(a.value)},p1c={active:1,archived:2},q1c=function(a){_.zO(["drive#workspace"],a);var b=(new _.pD).Ub(a.id).setTitle(a.title);b=_.x(b,3,_.BO(a.createdDate));return _.x(b,
4,_.BO(a.modifiedDate)).Ud(p1c[a.state])},r1c=function(a){_.zO(["drive#workspaceList"],a);var b=a.items||[];b=IZc(new KP,b.map(function(c){return q1c(c)}));return new _.FPc(b,eZc(a))},s1c=function(a,b,c){var d=c.item||[];return _.ZIc(new _.GM,d.map(function(e){return u0c(a,b,e)})).setSessionId(M0c(c))},t1c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return TVc(RVc(SVc(QVc(new jP,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return u0c(a,b,f)})),PP(c))},u1c=
function(a,b,c){var d=c.item||[];return WVc(new kP,d.map(function(e){return t1c(a,b,e)})).setSessionId(M0c(c))},v1c=function(a){var b=new GUc;a.kind&&(a=q1c(a),_.J(b,2,a));b.Fc(1);return b},w1c=function(a,b,c,d,e,f){this.W=a;this.Ba=b;this.va=c;this.ta=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0};w1c.prototype.Yg=function(){var a=new _.MP;a.Fc(this.V);this.H&&_.SZc(a,this.H?_.kl(this.H):null);return a};
var y1c=function(a,b,c,d){d=void 0===d?!1:d;var e=_.fJc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.yM(a.W)){var h=(h=b&&b.getUser())&&_.sH(h);h=!(!h||!x1c(a.Ba,h));a.V=h&&e||d?1:6}f=!_.jl(a.H,b)||(_.yM(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.yM(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.kl(b);_.yM(a.W)||(a.V=e||d?1:6);c&&(zP(a.va,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};
w1c.prototype.zf=function(){return this.ha};var z1c=function(){_.R.call(this);this.H=Date.now()};_.M(z1c,_.R);var A1c=function(a){a.H=Date.now();a.dispatchEvent("Jb")},B1c=function(a){_.R.call(this);this.va=a;this.ha=0};_.M(B1c,_.R);var C1c=function(a){a=_.kl(a);var b=function(c){return c.toLowerCase()};NVc(a,_.md(a,4).map(b));OVc(a,_.md(a,5).map(b));return a};_.g=B1c.prototype;_.g.fua=function(){};_.g.oNa=function(){};_.g.remove=function(){};_.g.eua=function(){};_.g.oA=function(){return 0!=this.ha};
_.g.zf=function(){return this.ha};var D1c=function(a,b,c){B1c.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.M(D1c,B1c);D1c.prototype.fua=function(){var a=new HP;if(!_.Lf(this.H)){_.x(a,4,this.V||[]);var b=[];_.Ef(this.H,function(c){b.push(_.kl(c))});_.$k(a,2,b)}a.Fc(this.W);return a};D1c.prototype.oNa=function(a){this.H[a.getId()]=C1c(a);this.ka.update(1);this.dispatchEvent(new _.Si("Kb",this))};D1c.prototype.remove=function(a){_.Mf(this.H,a)&&this.ka.update(1)};
D1c.prototype.eua=function(a,b,c){c=void 0===c?!1:c;var d=!_.gJc.has(b);1==this.W&&d||(this.ha=b,E1c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),zP(this.va,"nVUlO")))};
var E1c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.md(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.Ba(f);d=f.length!=a.V.length}a.V=e;var h=_.Of(a.H);_.$Ic(a.H);b=_.Xk(b,_.iP,2);d||(d=b.length!=_.If(h));b.forEach(function(k){var l=C1c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.jl(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.Si("Kb",a))},F1c=function(a,b,c){_.R.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.Pj=this.ha=null;this.W=!1};_.M(F1c,_.R);var H1c=function(a){if(a.ha)return a.ha;var b=_.qi();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);G1c(a,b);return b.promise};F1c.prototype.va=function(){1==this.H&&(I1c(this,"Became unauthenticated."),this.H=!1,this.W=!0,J1c(this))};F1c.prototype.Ba=function(){0==this.H&&(I1c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.Pj&&(_.m.clearTimeout(this.Pj),this.Pj=null),this.dispatchEvent(new FUc("xa")))};
var J1c=function(a){a.V||(a.V=new _.gPc(5E3),a.Pj=_.m.setTimeout(function(){return K1c(a)},a.V.kb()))},K1c=function(a){G1c(a);a.V&&(_.tI(a.V),a.Pj=_.m.setTimeout(function(){return K1c(a)},a.V.kb()))},G1c=function(a,b){_.li().then(function(){return L1c(a,b)})},L1c=function(a,b){I1c(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.oKc)});b?c.then(function(){var d=b.resolve;var e=new TZc;e=_.x(e,1,1);d.call(b,e)},function(d){var e=_.SM(d).Ug;d=0;_.VHc(e)?(I1c(a,"Checked authentication state: unauthenticated."),
d=2):(I1c(a,"Checked authentication state: error occurred."),_.Ur(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new TZc;_.x(e,1,d);b.resolve(e)}):c.then(null,function(d){d=_.SM(d);_.VHc(d.Ug)&&a.W&&(a.dispatchEvent(new FUc("ya")),a.W=!1)})},I1c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},M1c=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ba=0},N1c=function(a){a.V=!1;a.pNa()};_.g=M1c.prototype;
_.g.hqa=function(a,b){var c=this;if(5==this.kF(a))throw Error("df");var d=[];_.Ga(this.BA(),function(e){QYc(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.y5=function(){return this.BA().length};_.g.lY=function(a){a=this.hqa(a,void 0);a=aRc(a);var b=new _.rD;b.vy(a);b.Fc(this.mY()?6:1);return b};_.g.update=function(a){var b=this.qG(a.V),c=this.qG(a.H);if(!b&&!c)return!1;b&&this.W0(a.V);c&&this.Era(a.H);return!0};_.g.kF=function(a){return this.V&&this.ha?OYc(a)?1:5:5};
_.g.bY=function(){this.ha=!0};_.g.qG=function(a){return!!a&&this.V};_.g.az=function(a){this.Ba=a};_.g.zf=function(){return this.Ba};var QP=function(a,b,c,d,e,f){M1c.call(this,a,b);this.Ha=c;this.Vb=BP(c,d,!0);this.H=[];this.ka={};this.W=!e;O1c(this,e);this.va=(0,_.N)(this.ta.compare,this.ta,this.Vb);this.Ea=f||""};_.M(QP,M1c);_.g=QP.prototype;_.g.Bd=function(){return this.Vb};
_.g.Era=function(a){var b=this.ka[a.getId()];b&&this.W0(b);gQc(this.H,a,this.va);this.ka[a.getId()]=a;a.H++;this.H.length>this.Vb.Vh()&&(this.W0(_.ba(this.H)),this.W=!1)};_.g.W0=function(a){var b=this.H,c=_.Da(b,a,this.va);0<=c&&_.pa(b,c);_.Mf(this.ka,a.getId());a.H--};_.g.pNa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.BA=function(){return this.H};_.g.kF=function(a){var b;if(b=this.Ha.equals(this.Vb,a,!0))a=a.Fi(),b=this.Vb.Fi(),b=qQc(b,a,!0);return b?this.W?1:6:5};
_.g.hqa=function(a,b){if(5==this.kF(a))throw Error("df");b=b?Math.min(b,this.H.length):this.H.length;return _.wa(this.H,0,b)};_.g.qG=function(a){if(!M1c.prototype.qG.call(this,a)||!QYc(this.ma,this.Vb,a.getItem()))return!1;if(this.W||_.C(this.Vb,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.va(a,b)};_.g.mY=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.qC=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ha(a,function(e){return e.getId()==d.getId()})&&(b?(this.W0(d),O1c(this,_.ba(a))):this.W=!0);_.Ga(a,function(e){c.update(NP(e))})};var O1c=function(a,b){b&&QYc(a.ma,a.Vb,b.getItem())&&a.Era(b)};QP.prototype.Xv=function(){return this.Ea};var RP=function(a){_.Q.call(this);this.context=a;this.he=new _.ze(this);this.Na(this.he);this.ma=new Set;this.H=6;this.Pa=0};_.M(RP,_.Q);
var Q1c=function(a,b){a.ma.add(b);a.resize(!0);P1c(a,b)},R1c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.nLa()?a.resize(!1):a.dispose()};RP.prototype.zf=function(){return this.Pa};RP.prototype.az=function(a){this.Pa=a};RP.prototype.refresh=function(){};RP.prototype.lY=function(){};
var T1c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.kl(f)});else{for(var d in c){var e=c[d];c[d]=e?_.kl(e):null}c=Object.values(c).filter(function(f){return null!=f})}S1c(a.context.V,c,b);d=c.filter(function(f){return!EP(f)});nQc(b,d);c.forEach(function(f){_.MOc(a.context.Rp,f,b);if(f.Cc()){var h=f.getCapabilities();EP(f)?h&&(_.OKc(h,_.E(h,13)),_.LKc(h,!1),_.SKc(h,!1)):_.WM(f)?(h&&_.x(h,3,!1),_.x(f,30,!1)):h&&(_.WKc(h,!1),_.XKc(h,!1))}f.getCapabilities()||f.Rn(new _.Pl)})};
RP.prototype.resize=function(){};RP.prototype.Bd=function(){};RP.prototype.qC=function(a,b){var c=this,d=!1;a.forEach(function(e){e=NP(e);d=c.pS(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&U1c(this)};var V1c=function(a,b){var c=!1;b.forEach(function(d){c=a.pS(d)||c});c&&U1c(a);return c};RP.prototype.update=function(a){return V1c(this,[a])};RP.prototype.pS=function(){};var U1c=function(a){a.Ea();a.ma.forEach(function(b){P1c(a,b)})};RP.prototype.Ea=function(){};
var P1c=function(a,b){var c=SP(a.context);c=W1c(c,b).Bd();a.Ha(c)||(c=a.lY(c),a=SP(a.context),a.Ba[b]=c,a.V||(a.V=_.gj(a.ka,50,a)))},X1c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=SP(a.context);d.Ea[c]=b;d.V||(d.V=_.gj(d.ka,50,d))})},Y1c=function(a){a.ma.forEach(function(b){(b=SP(a.context).ha[b])&&b.$M()});a.az(0==a.zf()?1:6)};RP.prototype.nLa=function(){return!1};RP.prototype.Ha=function(){return!1};var Z1c=function(a){_.Si.call(this,"Fb");this.id=a};_.M(Z1c,_.Si);
var $1c=function(a,b,c,d){d=void 0===d?!1:d;_.R.call(this);this.Vb=a;this.va=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ta=[];this.ma=[];this.W=null;this.Ea=d};_.M($1c,_.R);
var d2c=function(a){if(a.V)return a.V.promise;a.V=_.qi();a.Vb.Am().forEach(function(b){var c=_.Pp(_.kl(a.Vb),[b]),d;a.Ea&&(d={DCb:!0});a.H.In().then(function(e){return e.H(c,d)}).then(function(e){return void a2c(a,e)},function(e){e=_.SM(e);if(5==e.Ug.er()||4==e.Ug.xj())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),b2c(a);else{var f=new GP(e.Ug,_.Hk(a.H.H.Lf(),1,1));c2c(a.H.V,a.Vb,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
a2c=function(a,b){b.kr().Pd().forEach(function(c){_.HM(c,1);a.ta.push(c)});b2c(a)},b2c=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};$1c.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;e2c(this);f2c(this);this.ha.size==this.Vb.Am().length?(SO(this.H.V,[],1,this.va,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var e2c=function(a){var b=a.ta;a.ta=[];b=a.H.Ue.O1(b);if(_.mM(a.H.H.xf())){var c=a.H.V.V;_.Ga(b,function(d){var e=c.H(d.getId());e&&_.WN(d,e.Zi())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});SO(a.H.V,b,1,a.va,!0)},f2c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.IM(_.EM(new _.DM,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new Z1c(c))})},g2c=function(a,b,c,d){RP.call(this,a);this.ha=b;this.Vb=c;this.V={};this.W=_.xM(a.H)||new _.XHc;d&&this.qC(d,!0)};
_.M(g2c,RP);
g2c.prototype.refresh=function(){var a=this;this.H=6;if(_.C(this.Vb,5,!1))return this.H=1,_.li();var b=!qQc(_.xO(this.ha),this.Vb.Fi()),c=[],d=this.context.zo();this.Vb.Am().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=PO(n)||b)n=n&&n.Hn(),l=!(n&&_.E(n,2));l&&c.push(k)}});if(0==c.length)return this.qC([],!1),_.li();var e=this.Vb.clone();_.Pp(e,c);var f=new $1c(e,this.context,this.Vb),h=_.qi();this.context.ka.Ze()?(this.he.listen(this.context.ka,"Cb",function(k){k.Ze()||
(a.he.Wc(a.context.ka,"Cb"),h2c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Gh.Ze()&&(this.H=0<Object.values(this.V).length?1:2),h2c(this,f,h));return h.promise};var h2c=function(a,b,c){a.he.listen(b,"Fb",function(d){a.V[d.id]=null});Y1c(a);d2c(b).then(function(){c.resolve()},c.reject)};_.g=g2c.prototype;
_.g.$$=function(a){var b=this;return this.context.ma.equals(a,this.Vb)?_.C(this.W,5,!1)&&_.C(this.W,3,!1)?a.Am().every(function(c){return(c=b.V[c])&&_.E(c.getItem(),31)}):qQc(_.xO(this.ha),a.Fi()):!1};_.g.lY=function(a){var b=new _.GO;_.yM(this.context.H)?b.Fc(CQc(Object.values(this.V))?6:this.H):b.Fc(this.H);rVc(b,this.zf());sVc(b,_.Gf(this.V,function(c){return c?c.getItem():null}));T1c(this,a.Fi(),b.Ut());return b};_.g.resize=function(){};_.g.Bd=function(){return this.Vb};
_.g.pS=function(a){var b=i2c(this,a.V),c=i2c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};var i2c=function(a,b){return!!b&&_.ja(a.Vb.Am(),b.getId())},j2c=function(a,b){_.Si.call(this,a);this.changes=b};_.M(j2c,_.Si);var k2c=function(){this.va=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};k2c.prototype.getSessionId=function(){return this.ta};k2c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
k2c.prototype.wc=function(){return this.H};
var l2c=function(a){var b=new k2c;if(a.oI()){var c=a.oI();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.i1()&&(c=a.i1(),b.H=!1,b.va=c);a instanceof _.HO&&_.Xk(a,_.Kl,6).length?(a=_.Xk(a,_.Kl,6),b.H=!1,b.ha=a):a instanceof _.rD&&(a.h1()||a.Lna()||a.yca().length)&&(c=a.h1(),b.H=!1,b.ma=c,c=a.Lna()||!1,b.H=!1,b.V=c,a=a.yca(),b.H=!1,b.W=a);return b},TP=function(a,b,c,d,e){e=void 0===e?"":e;_.R.call(this);this.context=a;this.ab=a.W;this.request=b;this.nextPageToken=e;this.W=0;this.Ba=
!1;this.V=[];this.ta=new Set;this.H=!1;this.ka=0;this.va=c||!1;this.Wa=d||!1;this.Pa=this.ma(b);this.ha=new k2c};_.M(TP,_.R);var m2c=function(a){return!a.Ba||""!=a.nextPageToken},o2c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&m2c(a)?n2c(a):_.Ai()};TP.prototype.tc=function(){return this.V.length};
var n2c=function(a){var b=a.W-a.V.length+a.ka;a.ab.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.vi;d.addCallback(function(f){return void p2c(a,c,f)});var e=_.zJc(_.AJc(new _.hM,a.Pa),c);b=_.xJc(new _.fGc,b);a.Wa&&_.x(b,10,!0);_.yJc(e,b);a.Ba=!0;a.H=!0;a.context.In().then(function(f){return f.H(e)}).then(a.Ka.bind(a,d),a.Ha.bind(a,d,b));return d};
TP.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.HO)var c=b;else c=b.kr(),this.nextPageToken=b.ao()||"";this.ha=l2c(c);this.ha.wc()||this.dispatchEvent("Gb");a.callback(c.Pd())};
TP.prototype.Ha=function(a,b,c){c=_.SM(c);this.H=!1;if(5==c.Ug.er())a.callback([]);else{if(10==c.Ug.er()&&(_.xJc(b,Math.ceil(_.Hk(b,1,1E3)/2-2E-15)),1<_.Hk(b,1,1E3))){var d=_.yJc(_.zJc(_.AJc(new _.hM,this.Pa),this.nextPageToken),b);this.H=!0;this.context.In().then(function(e){return e.H(d)}).then(this.Ka.bind(this,a),this.Ha.bind(this,a,b));return}b=new GP(c.Ug,_.Hk(this.context.H.Lf(),1,1));this.Ea(b);this.dispatchEvent(b);a.Qd(c)}};
var p2c=function(a,b,c){for(var d=new Set,e=_.v(c),f=e.next();!f.done;f=e.next()){f=f.value;if(d.has(f.getId())){f="Encountered duplicate item in server query response. itemId: "+(f.getId()+", query: ")+(_.UMc(a.request)+" paginationToken: ")+b;b=_.Ur(_.Sr(_.uM(_.tM(new _.Cb,2),9),f));a.context.dispatchEvent(new _.Eb(new _.Db(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.ta.has(h.getId());a.ta.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.v(f);for(b=c.next();!b.done;b=c.next())_.HM(b.value,
a.va?2:1);c=[];b=_.v(a.Ma(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.EM(new _.DM,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new j2c("Eb",c));if(a.V.length<a.W&&a.nextPageToken)return n2c(a);a.dispatchEvent("Hb")};TP.prototype.Ma=function(a){return a};TP.prototype.Ea=function(){};TP.prototype.Bd=function(){return this.request};TP.prototype.ma=function(a){a=_.kl(a);this.va&&_.x(a,46,!0);return a};var q2c=function(a,b,c,d){TP.call(this,a,b,void 0,c,d)};
_.M(q2c,TP);q2c.prototype.Ma=function(a){a=this.context.Ue.O1(a);SO(this.context.V,a,1,this.request,m2c(this));return a};q2c.prototype.Ea=function(a){c2c(this.context.V,this.request,a)};q2c.prototype.ma=function(a){var b=a=TP.prototype.ma.call(this,a),c=_.$N(b);0==_.md(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].kb()))&&(c=c.Cc())&&(_.NM(b,[c]),_.OM(b,2));r2c(this,a);return a};
var r2c=function(a,b){if(_.$N(b).some(function(d){return(d=a.context.V.V.H(d.kb()))&&_.E(d,108)})){var c=b.De();c||(c=new _.Te,_.om(b,c));_.Ue(c,937)}},s2c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.va=d;this.W=0},u2c=function(a){var b=_.Dc(a.ta);b=b.filter(function(d){return d instanceof g2c});var c=new Set;b.forEach(function(d){d.Bd().Am().forEach(function(e){a.va.get(e)||c.add(e)})});b=_.Ue(new _.Te,310);t2c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.Bc(c)),b)},w2c=
function(a,b){var c=[];(a.V.V.Pa.H[b||"subscribed"]||[]).forEach(function(d){_.Ef(a.ta,function(e){_.jl(e.Bd(),d)&&c.push(e)})});_.Ba(c);0<c.length&&(v2c(a),c.forEach(function(d){d=CP(a.V.ma,d.Bd(),3);t2c(a,"Refreshing "+b+" cache: "+d)}),_.ri(_.oi(c.map(function(d){return d.refresh().kg(_.nf)})),a.ha.bind(a)))};
s2c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Qc(e)});if(0==a.length)return _.li({});a=_.x(_.Op(_.Pp(new _.Np,a),d||_.xO(this.ma)),7,!0);_.Qp(a,b);v2c(this);b=new $1c(a,this.V,void 0,c);return _.ri(d2c(b),this.ka.bind(this,b))};s2c.prototype.ka=function(a){a.dispose();this.ha()};var v2c=function(a){a.W++;a.V.va.setActive(!1)};s2c.prototype.ha=function(){this.W--;0==this.W&&this.V.va.setActive(!0)};
var t2c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},x2c=function(a,b,c){_.Q.call(this);this.ma=a;this.H=b;this.Vb=c;a=new _.Te;_.Ve(a,!1);_.Ue(a,305);_.om(this.Vb,a);this.ha=new _.ze(this);this.Na(this.ha);this.W=this.V=null};_.M(x2c,_.Q);
var y2c=function(a){if(!a.V){a.V=_.qi();if(_.C(a.Vb,48,!1))return a.H.az(9),a.V.resolve(a.H),a.V.promise;a.W=new TP(a.ma,a.Vb,!0);a.ha.listen(a.W,"Eb",a.ka);a.ha.listen(a.W,"Hb",a.ta.bind(a));a.ha.listen(a.W,"Ib",a.V.reject.bind(a.V));o2c(a.W,a.Vb.Vh())}return a.V.promise};x2c.prototype.ka=function(a){var b=this;_.Ga(a.changes,function(c){c=c.getItem();b.H.update(NP(new xP(c)))})};x2c.prototype.ta=function(){this.H instanceof QP?this.H.W=!m2c(this.W):m2c(this.W)&&N1c(this.H);this.H.az(5);this.V.resolve(this.H)};
var UP=function(a,b){M1c.call(this,a,b);this.H={}};_.M(UP,M1c);UP.prototype.Era=function(a){this.H[a.getId()]=a;a.H++};UP.prototype.W0=function(a){_.Mf(this.H,a.getId());a.H--};UP.prototype.pNa=function(){_.Ef(this.H,function(a){a.H--});this.H={}};UP.prototype.BA=function(){return Object.values(this.H)};var VP=function(a,b,c,d,e){UP.call(this,a,b);var f=this;this.W=e;yP(c,["aU7Ts","BNEDtc"],function(){return f.bY()})};_.M(VP,UP);
VP.prototype.kF=function(a){var b=this,c=UP.prototype.kF.call(this,a);if(5==c)return c;if(0<_.md(a,33).length)return 5;a=_.$N(a);return 0<a.length&&!a.every(function(d){d=b.H[d.kb()];return null!=d&&!d.getItem().Cc()&&yQc(d.getItem())&&!_.E(d.getItem(),108)})?5:1};VP.prototype.qG=function(a){return UP.prototype.qG.call(this,a)&&z2c(this,a.getItem())};var z2c=function(a,b){if(_.E(b,31)||!a.ha)return!0;var c=a.W();return b.Zi().some(function(d){var e=a.H[d];return d==c||null!=e&&yQc(e.getItem())})};
VP.prototype.bY=function(){var a=this;UP.prototype.bY.call(this);_.Ef(this.H,function(b){z2c(a,b.getItem())||(b.H--,_.Mf(a.H,b.getId()))})};VP.prototype.Bd=function(){return new _.Ge};VP.prototype.getType=function(){return"SubscribedCorpusCache"};VP.prototype.mY=function(){return!1};var WP=function(a,b,c){UP.call(this,a,b);this.W=c};_.M(WP,UP);_.g=WP.prototype;
_.g.kF=function(a){var b=this,c=UP.prototype.kF.call(this,a);if(5==c)return c;c=_.$N(a);var d=c.every(function(e){var f=e.kb();return(null!=b.H[f]||b.W==f)&&!_.C(e,2,!1)});if(0<c.length&&d)return 1;a=_.md(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.qG=function(a){return UP.prototype.qG.call(this,a)&&!!a&&a.getItem().Cc()==this.W&&!EP(a.getItem())};_.g.mY=function(){return!1};_.g.Bd=function(){var a=new _.Ge;_.NM(a,[this.W]);_.OM(a,2);return a};_.g.Cc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var A2c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.Ge;_.x(a,48,!0);var b=new _.mc;_.nc(b,11);_.oc(b,2);_.He(a,b);this.ka=BP(this.ha,a,!0)};A2c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof VP?b.H=c:c instanceof QP?b.W.push(c):c instanceof WP&&b.V.push(c)})};
A2c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof VP)b.H&&(N1c(b.H),b.H=null);else if(c instanceof QP){var d=_.fa(b.W,function(e){return b.ha.equals(e.Bd(),c.Bd())});0<=d&&(N1c(b.W[d]),_.pa(b.W,d))}else c instanceof WP&&(d=_.fa(b.V,function(e){return b.ha.equals(e.Bd(),c.Bd())}),0<=d&&(N1c(b.V[d]),_.pa(b.V,d)))})};
var B2c=function(a){var b=[];a.H&&b.push(a.H);_.va(b,_.ta(a.W));_.va(b,_.ta(a.V));return b},C2c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.kl(c.Bd()),_.Ok(c,32),_.lM(c,26),!_.jl(a.ka,c)):!0})},D2c=function(a,b){return _.yf(a.V,function(c){return c.Cc()==b})},E2c=function(a,b){return C2c(a).find(function(c){return a.ha.equals(c.Bd(),BP(a.ha,b,!0))})},F2c=function(){this.H={}},XP=function(a,b){G2c(a,"subscribed");b&&G2c(a,b);return a.H[b||"subscribed"].Bj.promise},
G2c=function(a,b){a.H[b]||(a.H[b]={count:0,HLa:[],WQa:[],Bj:_.qi()});a.H[b].count++},I2c=function(a,b){b&&!H2c(a,b)||H2c(a,"subscribed")},H2c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].Bj.resolve({items:a.H[b].HLa,Iub:a.H[b].WQa}),_.Mf(a.H,b));return!0};F2c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Cc();f&&f==e.Mc()&&c.H[f]&&c.H[f].WQa.push(e);c.H[d]&&c.H[d].HLa.push(e)})};
var J2c=function(a,b){_.Si.call(this,"Lb");this.jd=a;this.H=b};_.M(J2c,_.Si);var K2c=function(a,b){return new _.ki(function(c,d){b.then(function(e){var f={};a.BA().forEach(function(h){var k=h.getId();YQc(h.getItem());f[k]=new xP(h.getItem())});e.items.forEach(function(h){var k=h.Mc();k=f[k];h.yj()?k&&a.update(new j_c(k.getId(),k,null)):(h=h.getItem(),YQc(h),a.update(k_c(k,new xP(h))))});a.bY();c(e.Iub)},d)})},L2c=function(a,b){_.Q.call(this);this.H=a;this.V=b};_.M(L2c,_.Q);
var S2c=function(a){var b=_.m._DRIVE_ivd;M2c(a,"Running initial view populator (IVDP).");try{var c=new wP(JSON.parse(b))}catch(r){N2c(a,"Error parsing initial view dump.",r);return}b=a.H.H.xf();if(!_.mM(b)){var d=c.Yg();if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&y1c(a.H.Wb,d,4)}(b=c.zo())&&O2c(a.H,b,6)}var f=c.Xz()||void 0;f&&P2c(a.H,f,!0);if((b=c.Gy())&&b.length){d=(d=a.H.H.Lf())&&_.md(d,30)||[];var h=new Set(d);b.forEach(function(r){(r=(r=r.getKey())&&_.Sp(r))&&h.add(r)});Q2c(a.H.Ka,b,4,
[].concat(_.Bc(h.values())))}b=c.Pd();b.forEach(function(r){_.VJc(r);_.HM(r,6)});if(d=_.Xk(c,vP,5)[0])if(c=a.H.ma,xQc(_.xO(a.V),d.getQuery().Fi(),_.cO(a.H.H)))if((e=d.getQuery().Jd())&&4==e.getType()&&!FQc())N2c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=BP(c,d.getQuery());var k=_.y(d,2)||void 0;e.Wi(k);k=b.map(function(r){return new xP(r,void 0,1,f)});var l=_.B(d,_.Vl,3);if(l&&_.y(d,2)){var n=k[k.length-1];_.HM(l,6);if(!_.jl(l,n.getItem())){N2c(a,"Invalid last item in initial view data.");
return}}d=(l=_.xM(a.H.H))&&_.C(l,2,!1)&&d.ao()||"";var p=new QP(a.H.Ha,a.H.Pa,a.H.ma,e,n,d);p.az(4);k.forEach(function(r){p.update(NP(r))});R2c(a.H.V,p);n=p.Bd();M2c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+CP(c,n));c=new _.hM;_.AJc(c,n);n=_.bOc(a.H.Ma,c,"IVDP");_.cOc(n,b);zP(a.H.ha,"W6J7De")}}else N2c(a,"Invalid initial view data, fields: "+mYc(c,d.getQuery().Fi()));else N2c(a,"No initial query found")},N2c=function(a,b,c){var d=
c?void 0:_.Ur(_.uM(_.tM(new _.Cb,2),6));c=new _.Db(b,d,c);a.H.rb(c.Ug);M2c(a,"Initial view dump population failed. Message: "+b);zP(a.H.ha,"DEJoH")},M2c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},T2c=function(a){_.R.call(this);this.context=a;this.W=new VP(a.Ha,a.Pa,a.ha,a.H,function(){return a.zo()});this.ta="drive.ds.sync.cache.CorpusCachePopulator";this.ha=0};_.M(T2c,_.R);
var U2c=function(a,b){var c=_.Hk(a.context.H,31,2E4);("number"===typeof _.y(b,3)?_.y(b,3):c+1)>c?(N1c(a.W),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Ma.Sb("CachedCorpusType",b)};T2c.prototype.log=function(a,b){this.context.W.log(this.ta,a,b||"info")};var V2c=function(a,b){0==a.ha&&(a.ha=b)},W2c=function(a,b){_.R.call(this);this.V=a;this.Vb=b;this.ka=[];this.H="";this.W=this.ha=!1};_.M(W2c,_.R);
var Y2c=function(a){return a.W||a.ha&&""==a.H?_.Ai():X2c(a)};W2c.prototype.tc=function(){return this.ka.length};
var X2c=function(a){a.ha=!0;a.W=!0;var b=DTc(ETc(new _.LN,a.Vb),a.H),c=_.bOc(a.V.Ma,b);return _.Bi(a.V.In().then(function(d){return d.H(b)}).then(function(d){var e=d.kr().Pd();a.H=d.ao()||"";Z2c(a,c,e)},function(d){a.W=!1;d=new GP(_.vM(d),_.Hk(a.V.H.Lf(),1,1));a.dispatchEvent(d)}))},Z2c=function(a,b,c){_.cOc(b,c);for(b=0;b<c.length;b++)_.HM(c[b],1);SO(a.V.V,c,1,a.Vb,!a.ha||""!=a.H);var d=[];_.Ga(c,function(e){this.ka.push(e.getId());e=_.EM(new _.DM,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new j2c("Eb",
d));a.H?X2c(a):(a.W=!1,a.dispatchEvent("Hb"))};W2c.prototype.Bd=function(){return this.Vb};var $2c=function(a){this.H=$Xc(a,{numeric:!0})};$2c.prototype.sort=function(a){_.Ea(a,this.V.bind(this))};$2c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Ca(a.getId(),b.getId()):c};
var YP=function(a,b,c,d){d=void 0===d?!1:d;RP.call(this,a);this.ka=b;this.Vb=_.kl(c);this.ha=new W2c(a,this.Vb);this.ta=new $2c(XO(a.H.xf()));this.W=[];_.Kd(this,this.q1a,this);this.V=null;d&&(this.V=_.qi(),this.V.resolve())};_.M(YP,RP);YP.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return a3c(this)};
var a3c=function(a){if(a.V)return a.V.promise;a.V=_.qi();a.context.ka.Ze()?a.he.listen(a.context.ka,"Cb",function(b){b.Ze()||(a.he.Wc(a.context.ka,"Cb"),Y1c(a),Y2c(a.ha).Zf(a.V.resolve,a.V.reject,a.V))}):(Y1c(a),Y2c(a.ha).Zf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=YP.prototype;_.g.resize=function(){};_.g.Bd=function(){return this.Vb};_.g.BA=function(){return this.W};_.g.$$=function(a){return this.context.ma.equals(a,this.Vb)};
_.g.lY=function(a){a=a.Vh();this.ta.sort(this.W);var b=aRc(_.wa(this.W,0,Math.min(a,this.W.length)));T1c(this,jUc(this.ka),b);var c=new _.rD;c.vy(b);c.Fc(1==this.H||a<=this.W.length?1:this.context.ka.Ze()||this.context.Gh.Ze()?0<this.W.length?1:2:6);c.j1(this.zf());fTc(c,a<this.W.length||!(this.context.ka.Ze()||this.context.Gh.Ze())&&1!=this.H);return c};_.g.qC=function(a,b){this.V&&RP.prototype.qC.call(this,a,b)};
_.g.pS=function(a){if(!this.V)return!1;var b=a.id,c=_.ha(this.W,function(h){return h.getId()==b}),d=!!c,e=b3c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?c3c(this,f,a.H):d3c(this,f):e3c(this,a.H);else return!1;return!0};
var e3c=function(a,b){a.W.push(b);b.H++},d3c=function(a,b){_.qa(a.W,b);b.H--},c3c=function(a,b,c){a.W[_.ia(a.W,b)]=c;c.H++;b.H--},b3c=function(a,b){if(b){var c;if(c=EP(b.getItem())){a=a.Vb;b=b.getItem();if(c=!!b&&!!b.Tk())c=a.zm(),c=null==c||!!b.Tk().zm()==c;c&&(a=_.E(a,6),c=null==a||_.E(b.getCapabilities()||new _.Pl,51)==a)}a=c}else a=!1;return a};_.g=YP.prototype;_.g.q1a=function(){this.W.forEach(function(a){a.H--})};_.g.nLa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};
_.g.y5=function(){return this.W.length};_.g.bY=function(){this.H=1};var f3c=function(a){this.H=a},h3c=function(a,b){return g3c(a,b,null,0,5)},g3c=function(a,b,c,d,e){if(0==e||null==b){var f=new QZc;_.x(f,2,b);_.x(f,1,d);return _.li(f)}var h=UVc();_.x(h,2,b);c&&_.x(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.Xv();k=d+_.y(k,1);return g3c(a,l,c,k,e-1)})},i3c=function(){this.Mb=[];this.V=this.H=0};
i3c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.Mb,e=0;e<a;++e){b=b+1&255;c=c+d[b]&255;var f=d[b];d[b]=d[c];d[c]=f}this.H=b;this.V=c};var j3c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.Mb,h=0;h<c;++h){d=d+1&255;e=e+f[d]&255;var k=f[d];f[d]=f[e];f[e]=k;b[h]^=f[f[d]+f[e]&255]}a.H=d;a.V=e},k3c=function(a){this.W=a;this.V=new sZc(new tZc,_.Oka(a));this.H=new tZc};
k3c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.Pka(b);c=l3c(this,a);return b.concat(c,m3c(this,b,a,!0))};
var n3c=function(a,b){var c=m3c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=l3c(a,c);if(b!=a)throw Error("ef");return c},l3c=function(a,b){a=a.V;b=_.lGc(b);a.reset();a.update(b);b=a.digest();return _.Pka(b)},m3c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new i3c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Mb,h=0;256>h;++h)f[h]=h;var k=0;for(h=0;256>h;++h){k=k+f[h]+a[h%e]&255;var l=f[h];f[h]=f[k];f[k]=l}b.H=0;b.V=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/
8192;e++)a=_.lGc(c.substring(8192*e,8192*(e+1))),j3c(b,a),d+=_.Pka(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.m.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;j3c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("ff");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=o3c(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=o3c(d,e++),b[a++]=
String.fromCharCode((f&31)<<6|h&63)):239<f&&365>f?(h=o3c(d,e++),k=o3c(d,e++),l=o3c(d,e++),f=((f&7)<<18|(h&63)<<12|(k&63)<<6|l&63)-65536,b[a++]=String.fromCharCode(55296+(f>>10)),b[a++]=String.fromCharCode(56320+(f&1023))):(h=o3c(d,e++),k=o3c(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},o3c=function(a,b){return a[Math.floor(b/8192)][b%8192]},p3c=function(a,b,c){this.V=a;this.H=!1;this.ha=b;this.W=c};p3c.prototype.getData=function(){return this.V};
p3c.prototype.Dp=function(){return this.ha};var q3c=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.ma=a;this.ka=b;this.W=c;this.V=d;this.H=_.ta(e);_.Ea(this.H);_.Ba(this.H);this.R4=f;this.ha=null;this.ta=this.va=!1;this.Ba=void 0};q3c.prototype.qx=function(){return this.ma};q3c.prototype.Ne=function(){return this.ka};q3c.prototype.Lg=function(){return _.ta(this.H)};
var ZP=function(a){if(!a.ha){var b=new _.dM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.TFc(b.digest())}return a.ha},r3c=function(a){return{versionKey:ZP(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.R4}},s3c=function(a){var b=!0;b=void 0===b?!1:b;if(!a)return null;var c=a.versionInfo,d=a.versionKey;if(!c||!d)return null;a=new q3c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:ZP(a)!=d&&(a=null);return a},t3c=function(a,b,c){return[a.qx(),a.Ne(),
b?"#":ZP(a)].join(":")+":"+(c||"")},u3c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};u3c.prototype.getKey=function(){return this.H};u3c.prototype.kb=function(){return this.V};
var v3c=function(a,b){a=t3c(a,b);return GVc(a+"A",a+"z")},w3c=function(a,b){this.a9=a;this.Z8=b},x3c=function(a){return a?new w3c(a.versionKey,a.versionChangeTimestamp):null},y3c=function(a,b){return a+":"+b},z3c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.OV=void 0===e?null:e},A3c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.OV}},B3c=function(a,b,c,d){a=ZP(a)+"_"+b;3==b&&(a+="_"+d);return a+=_.py(":%02d",c)},C3c=function(a,
b,c,d){c=B3c(a,b,void 0===c?0:c,d);a=ZP(a)+"_"+b;3==b&&(a+="_"+d);return GVc(c,a+":a")},D3c=function(a){var b=ZP(a)+"_";a=ZP(a)+"_A";return GVc(b,a)},E3c=function(a){return a?new z3c(a.data,a.index,a.size,a.timestamp,a.e):null},F3c={FQb:"Versions",LXa:"Metadata",rFb:"Data",eYa:"Offline"},$P=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.Q.call(this);var e=this;this.V=null;this.rb=a.then(function(f){e.V=f});this.ab=b;this.ma=c;this.Ea=d;this.H=null;this.Ka=!1;this.Ha=!0;this.ha=null;this.ta=
!1;this.W="";this.Bb=new _.ze(this);this.Na(this.Bb);this.va=null};_.M($P,_.Q);$P.prototype.initialize=function(){return G3c(this)};
var G3c=function(a,b){a.ha||(a.ha=_.qi(),a.rb.then(function(){b?(a.Ha=!1,H3c(a,b),I3c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.va=a.ma.V(106004)),I3c(a,"Opening database GoogleDriveDs (version 2)"),_.ZGc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).Zf(a.Wa.bind(a),a.Ba.bind(a)),_.ij(2E4).then(a.Pa.bind(a)))},function(c){a.ha.reject(new _.Db("Database version error",void 0,_.fM(c)?c:void 0))}));return a.ha.promise},H3c=function(a,b){a.H=b;a.Bb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.Bb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};$P.prototype.Ma=function(a,b){I3c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Ga(b.H.objectStoreNames,function(c){return _.HLc(b,c)});_.Ef(F3c,function(c){var d=_.hJc.get(c);_.WGc(b,c,d?{keyPath:d}:void 0)})};
$P.prototype.Ba=function(a){var b;a&&a instanceof _.oM&&"InvalidStateError"==a.getName()&&_.bk.yv?b=Error("gf"):_.fM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);J3c(this,!1)};$P.prototype.Wa=function(a){this.ta?a.dispose():(H3c(this,a),this.Na(this.H),this.Ea||K3c(this).kg(function(){}),I3c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),J3c(this,!0))};
var J3c=function(a,b){if(a.va){var c=a.va,d=_.B(_.EO(c),NTc,5);d||(d=new NTc,c=_.EO(c),_.J(c,5,d));d=_.x(d,1,2);d=_.x(d,2,a.V.W);d=_.x(d,5,a.V.va);b=_.x(d,3,b);b=_.x(b,4,a.Ka);_.x(b,6,a.V.Ba);a.va.V();a.va=null}};$P.prototype.Pa=function(){this.H||this.mg()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("hf")))};$P.prototype.ka=function(a){I3c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ha&&this.H.close())};$P.prototype.mg=function(){return this.ta};
var L3c=function(a){return a.ta?a.W:null},aQ=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ea&&"readonly"!=c)return null;a=a.H;try{return _.XGc(a,[b],c)}catch(d){return null}},K3c=function(a){var b=aQ(a,"Versions","readwrite");if(!b)return _.mi(Error("jf"));_.QGc(b.objectStore("Versions"),r3c(a.V));return b.wait().then(function(){})},M3c=function(a){if(!a.H)return _.mi(Error("kf"));if(a.mg())return _.mi(Error(a.W));var b=aQ(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(ZP(a.V)).then():
_.mi(Error("lf"))},N3c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=E3c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("mf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("nf")),0;var e=d[0].size;if(!e)return b.reject(Error("of")),0;if(e>d.length)return b.reject(Error("pf`"+e+"`"+d.length)),0;for(var f=0;f<e;f++)if(!d[f]||d[f].size!=e||d[f].timestamp!=a)return b.reject(Error("qf`"+e)),0;if(c&&a<c)return b.reject(Error("rf`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},P3c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.mi(Error("sf"));if(a.mg())return _.mi(Error(a.W));var e=C3c(a.V,b,0,c),f=aQ(a,"Data");if(!f)return _.mi(Error("tf"));e=f.objectStore("Data").getAll(e);var h=_.qi();e.Zf(function(k){k=N3c(k,h,d);a.Ea||null==k||O3c(a,b,c,k).kg(function(){})},h.reject);return h.promise},R3c=function(a,b,c,d,e,f){if(a.H){if(a.mg())return _.mi(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.mi(Error("uf"))}else return _.mi(Error("vf"));var h=Date.now(),k=b.length;b=b.map(function(p,r){return{key:B3c(a.V,c,r,d),data:new z3c(p.getData(),r,k,h,e),metadata:p}});var l=aQ(a,"Data","readwrite");if(!l)return _.mi(Error("wf"));var n=l.objectStore("Data");b.forEach(function(p){var r=Q3c(a,c,d,p.metadata,f);_.QGc(n,A3c(p.data),p.key).then(function(){if(r){var u=mUc(r);_.x(u,1,!0);r.V()}},function(u){u=u instanceof _.oM?u.code:_.xGc;if(r&&a.ma){var z=mUc(r);z=_.x(z,1,!1);u=_.FO(_.TIc,
u);_.x(z,2,u);r.V()}})});return l.wait().then(function(){})},Q3c=function(a,b,c,d,e){if(a.ma){if(a=a.ma.V(106019,e))e=mUc(a),b=_.FO(_.SIc,b),b=_.x(e,3,b),c=_.FO(_.PIc,c),c=_.x(b,4,c),b=d.W,c=_.x(c,5,null==b?0:b?2:1),_.x(c,7,d.H),void 0!=d.Dp()&&(c=mUc(a),d=d.Dp(),_.x(c,6,d));return a}return null},O3c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.mg())return _.mi(Error(a.W));if(3==b&&void 0==c)return _.mi(Error("xf"))}else return _.mi(Error("yf"));b=C3c(a.V,b,d,c);a=aQ(a,"Data","readwrite");if(!a)return _.mi(Error("zf"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},S3c=function(a){if(!a.H)return _.mi(Error("Af"));if(a.mg())return _.mi(Error(a.W));var b=D3c(a.V);a=aQ(a,"Data","readwrite");if(!a)return _.mi(Error("Bf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
$P.prototype.getMetadata=function(a){if(this.H){if(this.mg())return _.mi(Error(this.W));if(a&&0==a.length)return _.mi(Error("Cf"))}else return _.mi(Error("Df"));var b=this.V,c=aQ(this,"Metadata");if(!c)return _.mi(Error("Ef"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(t3c(b,h.global,h.key)).then())});a=_.oi(e)}else a=_.oi([d.getAll(v3c(b,!1)).then(),d.getAll(v3c(b,!0)).then()]).then(function(h){return fQc(h[0],h[1])});var f=_.qi();a.then(function(h){f.resolve(h.map(function(k){if(k){var l=
k.k.split(":"),n="#"==l[2];k=4!=l.length||!n&&l[2]!=ZP(b)||l[0]!=b.qx()||l[1]!=String(b.Ne())?null:new u3c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var T3c=function(a,b){if(a.H){if(a.mg())return _.mi(Error(a.W));if(0==b.length)return _.mi(Error("Ff"))}else return _.mi(Error("Gf"));var c=aQ(a,"Metadata","readwrite");if(!c)return _.mi(Error("Hf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){var h=e.push;f={k:t3c(a.V,f.global,f.H),v:f.V};h.call(e,_.QGc(d,f).then())});return _.oi(e).then(function(){})},U3c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.mg())return _.mi(Error(a.W))}else return _.mi(Error("Jf"));var c=a.V;a=aQ(a,"Metadata",
"readwrite");if(!a)return _.mi(Error("Kf"));a=a.objectStore("Metadata");var d=[];d.push(a.remove(v3c(c,!1)).then());b&&d.push(a.remove(v3c(c,!0)).then());return _.oi(d).then(function(){})},V3c=function(a){if(!a.H)return _.mi(Error("Lf"));if(a.mg())return _.mi(Error(a.W));var b=y3c(a.V.qx(),a.V.Ne());return(a=aQ(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return x3c(c)}):_.mi(Error("Mf"))},W3c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.mi(Error("Nf"));if(a.mg())return _.mi(Error(a.W));
var c=a.V,d=y3c(c.qx(),c.Ne());b=new w3c(ZP(c),b?Date.now():void 0);a=aQ(a,"Offline","readwrite");if(!a)return _.mi(Error("Of"));_.QGc(a.objectStore("Offline"),{versionKey:b.a9,versionChangeTimestamp:b.Z8},d);return a.wait().then(function(){})};
$P.prototype.bm=function(a){var b=this;return this.H?this.mg()?_.mi(Error(this.W)):V3c(this).then(function(c){var d=ZP(b.V);if(c)if(a){if(!c.Z8&&d==c.a9&&d!=ZP(a))return W3c(b,!0);if(c.Z8&&d==ZP(a))return W3c(b)}else{if(d!=c.a9)return W3c(b)}else if(!a)return W3c(b)}):_.mi(Error("Pf"))};var X3c=function(a){if(!a.H)return _.mi(Error("Qf"));if(a.mg())return _.mi(Error(a.W));var b=a.V,c=y3c(b.qx(),b.Ne());return V3c(a).then(function(d){if(d&&(d=aQ(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
$P.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.mg()?_.mi(Error(this.W)):V3c(this).then(function(c){var d=c&&c.a9==ZP(b.V);return d&&!a?!1:(c&&d?X3c(b):_.li()).then(function(){return _.oi([U3c(b,a),S3c(b),M3c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.mi(Error("Rf"))};$P.prototype.close=function(){this.ka("Closing database")};
var I3c=function(a,b){a.ab.info("drive.ds.sync.storage.VersionedDb",b)},Y3c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.Dc(F3c).every(function(c){return b&&b.contains(c)})},Z3c=function(){var a=_.qi();_.ZGc("GoogleDriveDs").Zf(function(b){b?Y3c(b)?a.resolve(b):(b.close(),_.ri(HVc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},$3c=function(a,b,c){var d=_.qi();a?_.XGc(a,["Versions"],"readonly").objectStore("Versions").getAll().Zf(function(e){e=
_.Dc(e).map(function(f){return s3c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.qx()==b)&&(!c||f.Ne()==c)}))},d.reject):d.resolve([]);return d.promise},a4c=function(a,b,c){var d=_.qi();Z3c().then(function(e){e?_.XGc(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return x3c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.Z8&&(h=c+f.Z8-Date.now());var k=_.XGc(e,["Versions"],"readonly");k.objectStore("Versions").get(f.a9).then(function(l){(l=
s3c(l))?(l.va=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.xi(k.wait(),function(){return e.close()})}else d.resolve(null),e.close()},function(f){d.reject(f);e.close()}):d.resolve(null)},d.reject);return d.promise},b4c=function(a,b,c){var d=_.qi(),e=new $P(_.li(a),b);G3c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},c4c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=b4c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.oi(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+ZP(l)))});d.resolve(k)})},d4c=function(a,b,c){var d=Date.now()-12096E5,e=_.qi();Z3c().then(function(f){f?(_.ri(e.promise,function(){return f.close()}),$3c(f,a,b).then(function(h){return h.filter(function(k){return k.R4<d})},function(){return[]}).then(function(h){c4c(h,c,f,e)})):e.resolve([])});return e.promise},e4c=function(a,b,c){var d=_.qi();Z3c().then(function(e){e?
(_.ri(d.promise,function(){return e.close()}),$3c(e,a,b).then(function(f){c4c(f,c,e,d,!0)})):d.resolve([])});return d.promise},f4c=function(a,b,c,d){if(a.length){var e=a.shift(),f=B3c(e,3,0,1);try{_.XGc(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=E3c(h))&&(!h.OV||h.OV&&d.has(e.V))?b.resolve(e):f4c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},g4c=function(a,b,c,d,e,f,h){var k=_.qi();Z3c().then(function(l){l?(_.ri(k.promise,
function(){return l.close()}),$3c(l,a,b).then(function(n){return n.filter(function(p){return(!h||h!=ZP(p))&&p.W==c&&p.R4>=e&&xQc(d.filter(function(r){return!_.iJc.has(r)}),p.Lg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(p,r){return r.R4-p.R4}),f4c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},h4c=function(a,b,c,d){this.V=a;this.H=_.qi();this.va=!1;this.ha=_.D(b,7,"");this.ma=_.Hk(_.YO(b),6,2E7);this.ka=_.yM(b);this.ta=_.Hk(_.YO(b),12,0);this.Ba=
c;this.W=d||null};h4c.prototype.initialize=function(){var a=this;this.va||(this.va=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.Bi(this.H.promise)};
var i4c=function(a){if(a instanceof _.AD)return 0;if(a instanceof HP)return 1;if(a instanceof CUc)return 5;if(a instanceof wP)return 3;if(a instanceof FZc)return 6;throw new _.Db("Unsupported dataShard in getDataType");},j4c=function(a){if(0==a)return _.AD;if(1==a)return HP;if(5==a)return CUc;if(3==a)return wP;if(6==a)return FZc;throw new _.Db("Unsupported dataType:"+a+" in getDataTypeCtor");},k4c=function(a){if(a instanceof wP)return _.Gk(a,13,0)},o4c=function(a,b,c,d){if(0==c.length)return _.li();
var e=i4c(c[0]);c.forEach(function(){});var f=k4c(c[0]);3==e&&l4c(a,c);var h=!!b;return m4c(a,c).then(function(k){if(h){var l=a.W?a.W.V(106023,d):null,n=n4c(a,b,k.map(function(p){return p.getData()})).then(function(p){if(p.length!=k.length)return _.mi(Error("Sf"));p.forEach(function(r,u){u=k[u];u.V=r;u.H=!0});return k});l&&_.ri(n,function(){return void l.V()});return n}return k}).then(function(k){return a.H.promise.then(function(){return R3c(a.V,k,e,f,h,d)})})},m4c=function(a,b){return new _.ki(function(c,
d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.yc();if(n.length>a.ma)e=!0;else{var p=f.push;var r=l instanceof wP?l.Pd().length:void 0;l instanceof wP?(l=_.E(l,6),l=null!=l?l:void 0):l=void 0;p.call(f,new p3c(n,r,l))}}});if(e){var h=Error("Tf"),k=new _.Cb;_.tM(k,2);_.gM(k,23);_.x(k,21,h.message);_.Ur(k);a.Ba(k);d(h)}c(f)})},l4c=function(a,b){k4c(b[0]);b.forEach(function(){});a.ka||p4c(b);q4c(a,b)},bQ=function(a,b,c,d,e,f){var h=_.qi();a.H.promise.then(function(){return P3c(a.V,c,d,e)}).then(function(k){var l=
k.map(function(r){return r.data}),n=new _.vi;if(k[0]&&k[0].OV){var p=a.W?a.W.V(106022,f):null;p&&(k=function(){return void p.V()},n.Sl().then(k,k));r4c(a,n,b,l)}else n.callback(l);return n.then()}).then(function(k){var l=[];k.forEach(function(n){var p=j4c(c);l.push(new p(JSON.parse(n)))});3==c&&(a.ka||s4c(l),t4c(l));h.resolve(l)}).kg(h.reject,h);return h.promise},p4c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].HM().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Pd()||
[]).forEach(function(h){_.iLc(h,u4c(_.Zl(h),c,d));_.jLc(h,u4c([h.bq()],c,d)[0]);var k=u4c([h.tD()],c,d)[0];_.J(h,47,k);k=u4c([_.B(h,_.Kl,91)],c,d)[0];_.J(h,91,k);k=u4c([h.MD()],c,d)[0];_.J(h,95,k);if(h=h.Zw())_.eLc(h,u4c(_.Xk(h,_.Kl,2),c,d)),_.fLc(h,u4c(_.Xk(h,_.Kl,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});_.$k(a[0],2,e)}},u4c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();b.has(f)?_.jl(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,
e.clone()),e=new _.Kl,e.Ub(f),c.set(f,e),d.push(e))}else d.push(e)});return d},s4c=function(a){var b=new Map,c=new Map;a[0]&&a[0].HM()&&a[0].HM().forEach(function(d){b.set(d.getId(),d);d=(new _.Kl).Ub(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Pd()||[]).forEach(function(e){_.iLc(e,v4c(_.Zl(e),b,c));_.jLc(e,v4c([e.bq()],b,c)[0]);var f=v4c([e.tD()],b,c)[0];_.J(e,47,f);f=v4c([_.B(e,_.Kl,91)],b,c)[0];_.J(e,91,f);f=v4c([e.MD()],b,c)[0];_.J(e,95,f);if(e=e.Zw())_.eLc(e,v4c(_.Xk(e,_.Kl,
2),b,c)),_.fLc(e,v4c(_.Xk(e,_.Kl,3),b,c))});_.lM(d,2)})},v4c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.jl(c.get(f),e)?d.push(_.kl(b.get(f))):d.push(e)}else d.push(e)});return d},q4c=function(a,b){if(a.ta){a=a.ta;for(var c=b.length-1;0<=c;c--)if(_.Gk(b[c],13,0)){for(var d=[],e=b[c].Pd();e.length>a;){var f=_.xa(e,a-1,a);f=FXc(new wP,f);d.push(f)}FXc(b[c],e);d.length&&_.Ra(_.xa,b,c+1,0).apply(null,d)}}},t4c=function(a){for(var b={},c=1;c<a.length;b=
{r9:b.r9},c++)if(!_.Gk(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.Gk(a[e],13,0);e++)d++;e=a[c-1];d=_.xa(a,c,d);b.r9=e.Pd();d.forEach(function(f){return function(h){_.va(f.r9,h.Pd())}}(b));FXc(e,b.r9)}},n4c=function(a,b,c){if(!_.WHc()&&a.ha){var d=new Worker(a.ha),e=new _.vi;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Qd(Error(k))},!1);c=WZc(new VZc,c);d.postMessage({command:"encrypt",data:{request:c.yc(),key:b}});
return e}try{a=[];var f=new k3c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Ai(a)}catch(k){h=_.Ci(k)}return h},r4c=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.ma){b.callback(void 0);return}if(!_.WHc()&&a.ha){var f=new Worker(a.ha);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(k){f.terminate();throw Error(k);},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new k3c(c);
for(c=0;c<d.length;c++)a.push(n3c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},w4c={key:"rid",global:!0},x4c={key:"ooi",global:!0},y4c={key:"rtds",global:!1},z4c={key:"dct",global:!1},A4c={key:"pc",global:!1},B4c=function(a){this.H=new _.ki(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},C4c=function(a,b){return a.H.then(function(c){if(c&&!c.mg())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.kb():void 0},function(){})})},cQ=function(a,
b,c){return a.H.then(function(d){return d&&!d.mg()?T3c(d,[new u3c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};B4c.prototype.zo=function(){return C4c(this,w4c).then(function(a){return a?a:null})};var D4c=function(a){return C4c(a,x4c).then(function(b){return"boolean"===typeof b?b:null})};B4c.prototype.QC=function(a){return cQ(this,x4c,a)};
var E4c=function(a){return C4c(a,A4c).then(function(b){return"boolean"===typeof b?b:null})},F4c=function(a){return C4c(a,y4c).then(function(b){return Array.isArray(b)?b:null})},G4c=function(a){return C4c(a,z4c).then(function(b){return"number"===typeof b?b:null})},H4c=function(a,b){T2c.call(this,a);this.H=a.H;this.ma=b;this.ka=void 0;this.Ba=null;this.Ea=!1;this.V=void 0;this.ta="drive.ds.sync.cache.LocalDumpPopulator"};_.M(H4c,T2c);
H4c.prototype.handleError=function(){this.log("Local dump population failed.");zP(this.context.ha,"mrK8ic")};
H4c.prototype.va=function(){var a=this;if(this.Ba)return this.Ba;if(this.context.wb){var b=new _.vi;this.Ba=b;I4c(this).then(function(){var c=_.Xk(_.YO(a.H),WO,11);c=c[0]&&c[0].getKey()||"";return J4c(a,a.context.wb,c,4)}).kg(function(c){if(_.C(a.H,8,!0))return K4c(a);throw c;}).then(function(){_.yM(a.H)||a.context.V.ma.H.clear();zP(a.context.ha,"zaOY7");b.callback()},function(c){V2c(a,8);a.handleError();b.Qd(c)});return b}this.handleError();return _.Ci(Error("Uf"))};
var I4c=function(a){return a.context.wb.initialize().then(function(){if(!_.dO(a.H)){var b=_.Hk(_.YO(a.H),7,432E6);b&&(a.ka=Date.now()-b);return new _.ki(function(c,d){E4c(a.context.Ea).then(function(e){e?c():d(Error("Vf"))})})}})},J4c=function(a,b,c,d){var e=a.ka;L4c(a,b,c,e);M4c(a,b,c,e);N4c(a,b,c,e);return O4c(a,b,c,e).then(function(){return Promise.all([P4c(a,b,c,d,e),Q4c(a,b,c,d,e),R4c(a,b,c,d,e),S4c(a,b,c,d,e)])})},L4c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
bQ(b,c,0,void 0,d,a.V).then(function(f){f[0]?y1c(a.context.Wb,f[0],a.zf(),_.dO(a.H)):e()},function(){return e()})},M4c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};bQ(b,c,1,void 0,d,a.V).then(function(f){f[0]?a.context.Ac.eua(f[0],a.zf(),_.dO(a.H)):e()},function(){return e()})},N4c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};bQ(b,c,5,void 0,d,a.V).then(function(f){if(f[0]){f=f[0];var h=f.Gy();h.length&&Q2c(a.context.Ka,
h,a.zf(),_.md(f,2),_.dO(a.H))}else e()},function(){return e()})},P4c=function(a,b,c,d,e){var f=new _.Go;bQ(b,c,3,1,e,a.V).then(function(h){return T4c(a,h[0])}).then(function(h){if(h){b!=a.context.wb||xQc(h.Fi(),_.xO(a.ma),_.cO(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.va.VS());var k=h.Xz();if(!k||0>k)throw Error("Yf");O2c(a.context,h.zo(),d);k=h.Xz();"number"===typeof k&&P2c(a.context,Number(k));_.dO(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.mta());U4c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},Q4c=function(a,b,c,d,e){var f=new _.Go;bQ(b,c,3,2,e,a.V).then(function(h){h[0]?(U4c(a,h[0],d),f.resolve()):f.reject(Error("Wf"))},f.reject,f);return f.promise},R4c=function(a,b,c,d,e){var f=new _.Go;_.eO(a.H)?bQ(b,c,3,4,e,a.V).then(function(h){h.forEach(function(k){U4c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),zP(a.context.ha,"rVezo"));return f.promise},S4c=function(a,
b,c,d,e){var f=new _.Go;_.eO(a.H)?bQ(b,c,3,3,e,a.V).then(function(h){h.length?h.forEach(function(k){U4c(a,k,d)}):zP(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),zP(a.context.ha,"rVezo"));return f.promise},O4c=function(a,b,c,d){var e=new _.Go;bQ(b,c,6,void 0,d,a.V).then(function(f){f=_.v(f);for(var h=f.next();!h.done;h=f.next())h=h.value,h.gq().length&&(a.log("Importing "+h.gq().length+" people into the PeopleCache."),h=h.gq(),V4c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
T4c=function(a,b){var c=b.Xz();return c&&!_.dO(a.H)?h3c(new f3c(a.context.In()),c).then(function(d){return _.Ck(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),V2c(a,9),null):b},function(){return b}):_.li(b)},K4c=function(a){var b=ZP(a.context.ab.V),c=_.Xk(_.YO(a.H),WO,11).filter(function(d){return _.Ck(d,2)});return g4c(_.bO(a.H.xf()),_.cO(a.H),_.Hk(_.YO(a.H),10,0)||0,_.xO(a.ma),a.ka||0,c.map(function(d){return _.y(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.y(k,1)}),f=new $P(_.li(d),a.context.W,null,!0),h=new h4c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ea=!0;return J4c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([A4c])}).then(function(k){if(k[0])return k=k[0].kb(),cQ(a.context.Ea,A4c,k)}).then(function(){f.close()})}return _.mi(Error("Xf"))})},Z4c=function(a,b,c){switch(_.Gk(b,13,0)){case 1:return W4c(a,b,c);case 2:b=_.B(b,gRc,11);if(!b)throw Error("Zf");U2c(a,b);a.W.V?(a.W.az(a.zf()),a=[{cache:a.W,changes:XP(a.context.Ba,
null)}]):a=[];return a;case 3:return X4c(a,b);case 4:return Y4c(a,b);default:return null}},W4c=function(a,b,c){var d=[];_.Xk(b,vP,5).forEach(function(e){var f=void 0,h=_.B(e,_.Vl,3);h&&(_.VJc(h),_.E(a.H,67)&&lQc(h,zQc),_.HM(h,c),f=new xP(h));var k=e.getQuery();if(!_.C(k,48,!1)||_.Xk(a.H,_.Ge,44).some(function(l){if(!_.C(l,48,!1))return!1;l=BP(a.context.ma,l,!0);return _.jl(l,k)}))e=new QP(a.context.Ha,a.context.Pa,a.context.ma,k,f),e.az(a.zf()),d.push({cache:e,changes:XP(a.context.Ba,null)})});return d},
Y4c=function(a,b){return _.Xk(b,vP,5).map(function(c){c=new YP(a.context,a.ma,_.B(c,_.eM,5),!0);c.az(a.zf());return{cache:c,changes:XP(a.context.Ba,null)}})},X4c=function(a,b){if(!_.eO(a.H))return[];var c=_.md(_.Xk(b,vP,5)[0].getQuery(),33)[0],d=b.Xz()||void 0;b=XP(a.context.Ba,c);dQ(a.context).addCallback(function(f){f.gla(c,d)});var e=new WP(a.context.Ha,a.context.Pa,c);e.az(a.zf());return[{cache:e,changes:b}]},U4c=function(a,b,c){var d=Z4c(a,b,c);d&&0!=d.length?(b.Pd().forEach(function(e){_.VJc(e);
_.E(a.H,67)&&lQc(e,zQc);_.HM(e,c);if(!_.yM(a.H)&&!a.context.V.ma.H.wc()){var f=a.context.V.ma;$4c(f,a5c(f,[e]))}e=new xP(e);for(f=0;f<d.length;f++)d[f].cache.update(NP(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new J2c(f,e.changes));a.log("Imported "+f.y5()+" items into the "+f.getType());var h=null;f instanceof WP&&(h=f.Cc());a.context.Od.promise.then(function(){I2c(a.context.Ba,h)})}),1==_.Gk(b,13,0)&&zP(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.Gk(b,13,0)+".")};
H4c.prototype.zf=function(){return this.Ea?7:3};var b5c=function(a){_.Q.call(this);this.H=a};_.M(b5c,_.Q);
var i5c=function(a,b){c5c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:d5c(a,b);break;case 4:e5c(a,b);break;case 6:f5c(a,b);break;case 2:g5c(a,b);break;case 7:h5c(a,b);break;case 5:_.Xk(_.B(b,MZc,7),LZc,1).forEach(function(c){return i5c(a,c)});break;default:j5c(a,"Unsupported prefetched request.")}},d5c=function(a,b){var c=_.B(b,_.Ge,2);b=JSON.parse(_.y(b,3)||"{}");var d=new _.hM;_.AJc(d,c);b=_.gOc(a.H.Lb.V,d,{headers:{},text:"",json:b}).kr();k5c(a,
c,b)},f5c=function(a,b){k5c(a,_.B(b,_.Ge,2),_.B(b,_.rD,9))},k5c=function(a,b,c){for(var d=c.Pd(),e=_.v(d),f=e.next();!f.done;f=e.next())_.HM(f.value,7);c=l2c(c);a=a.H.V;b=BP(a.H.ma,b);e=eQ(a,b);fQ(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new gQ(a.H,b),f.az(2),a.W[e]=f);c.wc()||f.Uqa(c);SO(a,d,1,b)},g5c=function(a,b){b=_.B(b,_.Tp,5);var c=a.H.H.Lf();c=c&&_.md(c,30)||[];var d=new Set(c);b.Gy().forEach(function(e){(e=(e=e.getKey())&&_.Sp(e))&&d.add(e)});Q2c(a.H.Ka,
b.Gy(),2,[].concat(_.Bc(d.values())))},e5c=function(a,b){a.H.Aj.V(_.B(b,KP,8).Kj(),_.B(b,_.Xp,6),2,!1)},h5c=function(a,b){var c=_.B(b,_.Up,10);b=JSON.parse(_.y(b,3)||"{}");b=_.gOc(a.H.Lb.V,c,{headers:{},text:"",json:b});l5c(a.H).V([b],c,2,!1)},j5c=function(a,b,c){var d=c?void 0:_.Ur(_.uM(_.tM(new _.Cb,2),6));a.H.dispatchEvent(new _.Eb(new _.Db(b,d,c)));c5c(a,"Prefetched request population failed.")},c5c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},hQ=function(a){T2c.call(this,
a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.Hk(a.H,31,2E4));this.ta="drive.ds.sync.cache.SdkCachePopulator"};_.M(hQ,T2c);hQ.prototype.va=function(){if(!_.C(this.context.H,45,!1))return V2c(this,5),this.V(),_.Ci(Error("$f"));this.log("Drive SDK cache population initiated.");return this.context.Ql().addCallback(this.Ha,this).addCallback(this.Ea,this).Se(this.V,this)};
hQ.prototype.Ha=function(){var a=this;zP(this.context.ha,"L6uQWd");dQ(this.context).addCallback(function(b){b.L8()});if(_.C(this.context.H,46,!1))return iRc(this.context.In(),this.context.W).addCallback(function(b){if(!b)throw V2c(a,4),Error("ag");U2c(a,b)});this.log("Subscribed corpus cache population disabled.");N1c(this.W);return _.Ai()};
hQ.prototype.Ea=function(){var a=this;this.context.mta();var b=new _.vi;if(this.W.V){this.log("Starting subscribed corpus cache population.");var c=this.W.Bd();c.Wi(this.Ba);this.W.az(5);m5c(this,this.W,c)}c=_.Xk(this.context.H,_.Ge,44);_.Ga(c,function(d){d=new QP(a.context.Ha,a.context.Pa,a.context.ma,d);d.az(5);m5c(a,d,d.Bd());d=CP(a.context.ma,d.Bd());a.log("Starting "+d+" cache hint corpus cache population.")});_.oi(this.ka).then(b.callback,this.ma.bind(this,b),b);return b};
var m5c=function(a,b,c){var d=XP(a.context.Ba,null);b=new x2c(a.context,b,c);a.H.push(b);b=_.ri(y2c(b).then(function(e){!e.V&&e instanceof VP&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Ma.Sb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new J2c(e,d))}),function(){a.context.Od.promise.then(function(){I2c(a.context.Ba,null)})});a.ka.push(b)};
hQ.prototype.ma=function(a,b){_.Ga(this.H,function(d){d.dispose()});V2c(this,7);var c=b;b instanceof GP?c=_.RM(b.error):_.fM(b)||(c=Error("bg`"+b));a.Qd(c)};hQ.prototype.V=function(){this.log("Drive SDK cache population failed.");zP(this.context.ha,"Gv4zef")};hQ.prototype.zf=function(){return 5};
var n5c=function(a,b){_.Q.call(this);this.H=a;this.ka=b;this.ma=new _.ze(this);this.Na(this.ma);this.W=new H4c(this.H,this.H.Wa);this.Na(this.W);this.ha=new hQ(this.H);this.Na(this.ha);this.V=null;this.ta=[]};_.M(n5c,_.Q);
var u5c=function(a){o5c(a,"Corpus cache population initiated.");a.V=a.H.ta.V(106002);_.m._DRIVE_dsp&&p5c(a);_.m._DRIVE_dspc=function(c){return p5c(a,c)};XP(a.H.Ba,null);_.C(a.H.H,24,!1)&&!_.dO(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?q5c(a):_.m._DRIVE_ivdc=function(){q5c(a)});var b=a.H.wb;b?(a.ma.listen(a.W,"Lb",a.va),a.ma.listen(a.ha,"Lb",a.va),(!_.C(a.H.H,10,!1)&&_.E(a.H.H,69)?a.H.xd.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){o5c(a,"Dump storage initialized.");
a.V&&(a.W.V=a.V);return a.W.va().Zf(function(){return r5c(a,a.W.zf())},function(){s5c(a,a.W.zf(),a.W.ha);if(_.dO(a.H.H))t5c(a,Error("cg"));else return a.ha.va().then(function(){return r5c(a,a.ha.zf())},function(c){s5c(a,a.ha.zf(),a.ha.ha);return t5c(a,c)})})},function(c){t5c(a,_.fM(c)?c:void 0,!0)})})):t5c(a,void 0,!0)},p5c=function(a,b){var c=new b5c(a.H);(_.m._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e==b)}).forEach(function(d){try{i5c(c,new LZc(JSON.parse(d)))}catch(e){j5c(c,
"Error parsing prefetched request.",e)}});c.dispose()};n5c.prototype.va=function(a){var b=a.jd;o5c(this,"Cache populated: "+b.getType());this.ta.push(v5c(this,b,a.H))};
var r5c=function(a,b){I2c(a.H.Ba,null);zP(a.H.ha,"L6uQWd");dQ(a.H).addCallback(function(c){c.L8()});return Promise.all(a.ta).then(function(){return w5c(a,b)})},x5c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},w5c=function(a,b){if(!a.isDisposed()){_.dO(a.H.H)||y5c(a.ka,_.Xk(a.H.H,_.Ge,44));o5c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.va.nta():E4c(a.H.Ea).then(function(d){d&&a.H.va.nta()},function(){});zP(c,"rVezo");zP(c,"BNEDtc");a.V&&(b=_.FO(_.MIc,b),JTc(lUc(a.V),
b),ITc(lUc(a.V),!0),KTc(lUc(a.V),cZc(a.ka.V)),LTc(lUc(a.V),x5c(a)),a.V.V());a.dispose()}},s5c=function(a,b,c){a.V&&(b=_.FO(_.MIc,b),JTc(lUc(a.V),b),a=lUc(a.V),_.Vk(a,3,c,void 0))},t5c=function(a,b,c){c=void 0===c?!1:c;I2c(a.H.Ba,null);var d=a.H.ha;zP(d,"L6uQWd");dQ(a.H).addCallback(function(e){e.L8()});zP(d,"mrK8ic");zP(d,"Gv4zef");zP(d,"rVezo");zP(d,"BNEDtc");a.H.Ma.Sb("CachedCorpusType","partialCorpus");d=!!a.W.context.wb||_.C(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",
_.fM(b)?(d=b,c+=d.message):c+=String(b),o5c(a,c),b=new _.Db(c,void 0,d),d=b.Ug,_.tM(d,_.dO(a.H.H)?3:1),_.uM(d,6),_.Sr(d,c),_.Ur(d),a.H.dispatchEvent(new _.Eb(b))):o5c(a,"Corpus population skipped");a.V&&(ITc(lUc(a.V),!1),a.V.V());a.dispose()},v5c=function(a,b,c){return K2c(b,c).then(function(d){d.some(function(e){return b instanceof WP&&e.yj()&&e.Mc()==b.Cc()})||R2c(a.ka,b,d)},function(){return t5c(a,Error("dg"))})},q5c=function(a){if(_.m._DRIVE_ivd){var b=new L2c(a.H,a.H.Wa);a.Na(b);S2c(b)}else zP(a.H.ha,
"DEJoH")},o5c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},z5c=function(a,b){_.Si.call(this,"Mb");this.ka=a;this.H=b};_.M(z5c,_.Si);z5c.prototype.getError=function(){return this.H};var A5c=function(a){_.Si.call(this,"Nb");this.H=a};_.M(A5c,_.Si);A5c.prototype.getPeople=function(){return this.H};var B5c=function(a){_.Si.call(this,"Ob");this.H=a};_.M(B5c,_.Si);B5c.prototype.getPeople=function(){return this.H};
var C5c=function(a,b,c){this.ha=a;this.H=void 0===c?0:c;this.V=new Set(b?[b]:[]);this.W=null;1==this.H&&(this.W=Date.now())};C5c.prototype.Bm=function(){return this.ha.clone()};C5c.prototype.zf=function(){return this.H};C5c.prototype.Ln=function(){return[1,4,2].includes(this.zf())};var D5c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
D5c.prototype.create=function(a,b){if(0!=qUc(b)){var c=this.V.V(106001);if(c){var d=qUc(b),e=$O(c);_.x(e,2,d);d=null;if(b instanceof _.tH||b instanceof _.Np||b instanceof _.Ge||b instanceof _.tN||b instanceof _.hE||b instanceof _.Vp||b instanceof _.eM||b instanceof _.IN||"undefined"!=typeof _.JN&&b instanceof _.JN||b instanceof _.Xp)d=b.De();b=d&&_.C(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=$O(c),_.x(d,7,b));this.H.set(a,c)}}};
var E5c=function(a,b,c){if(a=a.H.get(b))a=$O(a),_.x(a,5,c)},F5c=function(a,b,c,d,e){var f=a.H.get(b);f&&($O(f).Fc(c),c=$O(f),_.x(c,1,d),null!=e&&(d=$O(f),_.x(d,6,e)),f.V(),a.H.delete(b))},G5c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Ib(c);c=rUc(c);if(1==e||2==c)e=_.FO(_.MIc,c),d=$O(d),d=3==e||8==e?!_.E(d,5):0!=e?_.kJc.has(e):null,F5c(a,b,1,e,d)}},H5c=function(a,b,c){var d=a.W.Ib(c);d=_.FO(_.LIc,d||22);var e=rUc(c);e=_.FO(_.MIc,e);F5c(a,b,d,e,"undefined"!=typeof _.JO&&c instanceof _.JO||"undefined"!=
typeof _.LO&&c instanceof _.LO||"undefined"!=typeof _.MO&&c instanceof _.MO?c.W:null)},iQ=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&($O(d).Fc(c),d.V(),a.H.delete(b))},J5c=function(a,b,c,d){_.R.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.cM(function(){return I5c(e)},100,this);this.H=[]};_.M(J5c,_.R);
var I5c=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,50);a.W.info("drive.ds.sync.query.PeopleQueryRunner","Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));K5c(a,b)}})},K5c=function(a,b){a.ha.then(function(c){return c.H(bUc(new _.xN,b))}).then(function(c){c=c.gq();a.dispatchEvent(new A5c(c))},function(c){c=_.SM(c);a.dispatchEvent(new z5c(b,c))})},M5c=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.ka=new _.ze(this);this.Na(this.ka);this.Ea=b;this.W=
d;this.Ba=e;this.V=!_.C(a,90,!1);(d=_.B(a,aTc,85))||(d=new aTc);this.va=_.Hk(d,1,864E5);this.ma=new J5c(a,b,c,f);this.H=new Map;this.ta=new _.DF(function(){var k=sUc(h.Ba,106015);if(k){var l=_.B(_.EO(k),QTc,11);if(!l){l=new QTc;var n=_.EO(k);_.J(n,11,l)}_.x(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();V4c(h,k,1);h.ta.Ce()});this.ka.listen(this.ma,"Mb",function(k){return L5c(h,k)});this.ha=new Map};_.M(M5c,_.R);
M5c.prototype.get=function(a){var b=this.V?_.Vg():"";this.V&&this.W.create(b,bUc(new _.xN,[a]));var c=this.H.get(a);if(c)return 4==c.zf()||N5c(this,c)?(this.V&&iQ(this.W,b,N5c(this,c)?6:5),O5c(this,a+" queued for refresh."),P5c(this,a)):this.V&&F5c(this.W,b,1,_.FO(_.MIc,10),null),c;this.V&&iQ(this.W,b,5);return null};
var P5c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.yM(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.Ce());c=new _.Go;a.ha.set(b,c);return c.promise},R5c=function(a,b){var c=a.V?_.Vg():"";a.V&&a.W.create(c,bUc(new _.xN,[b]));return Q5c(a,b)?(a.V&&F5c(a.W,c,1,_.FO(_.MIc,10),null),Promise.resolve(a.H.get(b))):P5c(a,b).then(function(){a.V&&(Q5c(a,b)?F5c(a.W,c,1,_.FO(_.MIc,1),null):iQ(a.W,c,3));return a.H.get(b)})};
M5c.prototype.wc=function(){return 0==this.H.size};M5c.prototype.clear=function(){O5c(this,"Clearing the PeopleCache.");this.H.clear()};
var S5c=function(a){return[].concat(_.Bc(a.H.values())).filter(function(b){return b.Ln()}).map(function(b){return b.Bm()})},T5c=function(a,b){return(a=a.H.get(b))?[].concat(_.Bc(a.V)):[]},U5c=function(a,b,c){c=_.v(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.V.delete(b),0==[].concat(_.Bc(e.V)).length&&a.H.delete(d))}},V4c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(O5c(a,"Importing "+b.length+" from "+(Object.keys(DZc)[c]+".")),V5c(a,b,c)):O5c(a,"Attempted to import people data from an invalid source.",
"warning")},X5c=function(a,b,c,d){0!=b.length&&W5c(a,b,c,void 0===d?0:d)},Q5c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Ln())||(c=4==b.zf()||N5c(a,b));return!c},W5c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.v(b);for(var f=b.next();!f.done;f=b.next()){var h=f.value;if(f=a.H.get(_.y(h,1))){var k=d;if(_.y(h,1)!=_.y(f.Bm(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.zf();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.jl(f.ha,h),f.ha=h.clone(),f.H=k,1==f.H&&(f.W=Date.now()),h=!l):
h=!1}h&&(e=!0);c&&f.V.add(c)}else 4!=d&&(e=!0,f=a,k=d,l=c,1!=k&&P5c(f,_.y(h,1)),k=new C5c(h,l,k),f.H.set(_.y(h,1),k))}return e},N5c=function(a,b){return 1==b.zf()&&Date.now()-Number(b.W)>a.va},O5c=function(a,b,c){a.Ea.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},L5c=function(a,b){b=b.ka.map(function(c){var d=a.H.get(c);return d?d.Bm():lRc(new RO,c)});V5c(a,b,4)},V5c=function(a,b,c){for(var d=_.v(b),e=d.next();!e.done;e=d.next()){e=_.y(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}W5c(a,b,void 0,c)&&a.dispatchEvent(new B5c(b))},Y5c=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.V=new _.ze(this);this.Na(this.V);this.H=new M5c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.M(Y5c,_.R);Y5c.prototype.PO=function(a){if(a.H){var b=a.H.getItem(),c=a5c(this,[b]).map(function(d){return nRc(d)});X5c(this.H,c,a.H.getId(),Z5c(_.y(b,82)))}a.V&&U5c(this.H,a.id,$5c(this,a))};
var Z5c=function(a){return _.lJc.get(a)||0},$5c=function(a,b){var c=a6c(a,b.V),d=a6c(a,b.H);return c.filter(function(e){return!d.includes(e)})},a6c=function(a,b){return b?a5c(a,[b.getItem()]).map(function(c){return _.sH(c)}):[]},c6c=function(a,b){b=b.getUser();X5c(a.H,[nRc(b)],"ACCOUNT");b6c(a,b)},d6c=function(a,b){var c=_.Xk(b,_.iO,2).map(function(d){var e=_.B(d,_.Kl,9,1);return R5c(a.H,_.sH(e)).then(function(){return void $4c(a,[e])})});return Promise.all(c).then(function(){return b})},$4c=function(a,
b){b=_.v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.sH(c)&&b6c(a,c)},e6c=function(a,b,c){for(var d=new Set,e=_.v(b),f=e.next();!f.done;f=e.next())f=f.value,_.sH(f)&&(d.add(_.sH(f)),X5c(a.H,[nRc(f)],c));return Promise.all([].concat(_.Bc(d)).map(function(h){return R5c(a.H,h)})).then(function(){return $4c(a,b)})},f6c=function(a,b){return a5c(a,[b]).some(function(c){return!x1c(a,_.sH(c))})},x1c=function(a,b){return Q5c(a.H,b)},a5c=function(a,b){return b.map(function(c){var d=c.Zw();d=d?[].concat(_.Bc(_.Xk(d,
_.Kl,2)),_.Bc(_.Xk(d,_.Kl,3))):[];var e=c.Kf();e=(e=e&&_.ud(e))?a5c(a,[e]):[];return[].concat(_.Bc(_.Zl(c)),[c.bq(),c.tD(),_.B(c,_.Kl,91),c.MD()],_.Bc(d),_.Bc(e))}).flat().filter(function(c){return c&&!!_.sH(c)})};Y5c.prototype.getItems=function(a){return T5c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var g6c=function(a,b){return b.map(function(c){c=c.clone();var d=a5c(a,[c]);d=_.v(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.Ok(e,3),_.Ok(e,8),_.Ok(e,5);return c})},b6c=function(a,b){var c=a.H.get(_.sH(b));if(c){a=c.Bm();var d=_.EKc(b.$c(a.getName()),a.getEmail());c=_.jJc.get(c.H)||1;_.x(d,16,c);(a=_.B(a,mRc,4))&&b.Sn(a.getUrl())}},h6c=function(){UP.apply(this,arguments)};_.M(h6c,UP);
h6c.prototype.qG=function(a){var b;if(b=UP.prototype.qG.call(this,a))a=a&&a.getItem()&&a.getItem().Hn(),b=!(!a||!a.Wt());return b};h6c.prototype.Bd=function(){};h6c.prototype.getType=function(){};h6c.prototype.mY=function(){};
var i6c=function(a,b){this.V=a;this.W=b;this.H={}},k6c=function(a,b){if(!_.pN(b)){var c=_.md(b,33);if(1==c.length)j6c(a,c[0],b);else{c=_.$N(b);if(1==c.length&&!_.C(c[0],2,!1)){var d=c[0].kb();c=a.W.get(d);if(!c){c=a.V.V.va;var e=_.Ue(new _.Te,310);c.H([d],e).then(function(f){if((f=f[d])&&f.Cc()){var h=f.getCapabilities();h&&_.od(h)&&(f=f.Cc(),j6c(a,f,b))}else j6c(a,null,b)});return}if(c.getItem().Cc()&&_.od(c.getItem().getCapabilities())){c=c.getItem().Cc();j6c(a,c,b);return}}j6c(a,null,b)}}},j6c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!EP(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(dQ(a.V).addCallback(function(e){e.gla(b)}),l6c(a.V.Qp,b))},m6c=function(a,b){if(!_.pN(b)){var c={},d;for(d in a.H){c.eP=d;for(var e=0;e<a.H[c.eP].length;e++)if(_.jl(b,a.H[c.eP][e])){_.pa(a.H[c.eP],e);"subscribed"!=c.eP&&dQ(a.V).addCallback(function(f){return function(h){h.Jxa(f.eP,!1)}}(c));return}c={eP:c.eP}}}},n6c=function(){this.H=new Map;this.V=[];this.W=[]};
n6c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.VM(e)&&(a?(e=a.getItem().Kf())&&_.y(e,1)&&(1==_.yd(e)||3==_.yd(e))&&(e=_.y(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0==f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.V.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.jl(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var o6c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},p6c=function(a){a.V=[];a.W=[]},q6c=function(a,b,c,d){_.R.call(this);this.request=a;this.Ha=b;this.Ba=c;this.Ea=d;this.ha=new Set;this.va=0;this.H=null};_.M(q6c,_.R);var r6c=function(a){if(a.H)return a.H.promise;a.H=_.qi();a.W(a.request).forEach(function(b,c){a.va++;a.Ha.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};q6c.prototype.Ma=function(a,b){this.ka(b);s6c(this,a)};
var s6c=function(a,b){a.ha.add(b);a.ha.size==a.va?(a.ma(a.request),a.dispatchEvent("Hb"),a.H.resolve()):a.dispatchEvent("Eb")};q6c.prototype.Ka=function(a,b){b=_.SM(b);var c=b.Ug;5==c.er()||4==c.xj()?(this.Ea.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),s6c(this,a)):(a=new GP(c,_.Hk(this.Ba.Lf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var t6c=function(a,b){q6c.call(this,_.kl(a),b.In(),b.H,b.W);this.V=b};_.M(t6c,q6c);
t6c.prototype.W=function(a){var b=new Map;a.Am().forEach(function(c){var d=_.Xva(_.kl(a),[c]);b.set(c,d)});return b};t6c.prototype.ka=function(a){a=a.Pd()[0];SO(this.V.V,[a],1,void 0,!0,this.request.Fi())};t6c.prototype.ma=function(a){SO(this.V.V,[],1,a,!1,this.request.Fi())};t6c.prototype.ta=function(a){a=_.IM(_.EM(new _.DM,a));this.V.V.ta([a])};var u6c=function(a,b,c,d){RP.call(this,a);this.W=b;this.Vb=c;this.V={};d&&this.qC(d,!0)};_.M(u6c,RP);_.g=u6c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=AP(this.context.H)!=AP(this.context.H,this.Vb.Fi()),c=[];this.Vb.Am().forEach(function(h){var k=a.V[h];k&&k.getItem().Tk()&&!b||c.push(h)});if(0==c.length)return this.qC([],!1),_.li();var d=_.kl(this.Vb);_.Xva(d,c);var e=new t6c(d,this.context),f=_.qi();this.context.ka.Ze()?(this.he.listen(this.context.ka,"Cb",function(h){h.Ze()||(a.he.Wc(a.context.ka,"Cb"),Y1c(a),r6c(e).then(f.resolve,f.reject,f))}),this.H=0<_.If(this.V)?1:2):(this.context.Gh.Ze()&&
(this.H=0<_.If(this.V)?1:2),Y1c(this),r6c(e).then(f.resolve,f.reject,f));return f.promise};_.g.$$=function(a){return this.context.ma.equals(a,this.Vb)&&qQc(_.xO(this.W),a.Fi())};_.g.lY=function(a){var b=new _.GO;b.Fc(this.H);rVc(b,this.zf());sVc(b,_.Gf(this.V,function(c){return c?c.getItem():null}));T1c(this,a.Fi(),b.Ut());return b};_.g.resize=function(){};_.g.Bd=function(){return this.Vb};
_.g.pS=function(a){var b=v6c(this,a.V),c=v6c(this,a.H);if(b||c)c?(this.V[a.id]=a.H,a.H.H++,b&&a.V.H--):(this.V[a.id]=null,a.V.H--);else return!1;return!0};
var v6c=function(a,b){return!!b&&a.Vb.Am().includes(b.getId())},gQ=function(a,b,c,d,e){RP.call(this,a);var f=this;this.Vb=_.kl(b);this.ha=new q2c(this.context,this.Vb,!1,e);this.va=0;b=this.Vb.Jd()&&dYc(this.Vb.Jd());e=this.context.Pa;this.ka=b?(0,_.N)(e.compare,e,this.Vb):null;this.vc=!b||!OYc(this.Vb)||_.mM(a.H.xf());this.hc=NYc(this.Vb);this.V=[];this.ta={};this.wb=null;this.Wa=!1;this.ab=[];this.Ba=[];this.Lb=this.Eb=this.rb=null;this.W=0;c&&this.qC(c,!d);this.Wb=null;this.Ka=Date.now();this.Ma=
_.Hk(a.H.Lf(),16,36E5);_.PN(this.Vb)&&this.he.listen(this.context.Uf,"Jb",this.Ac);_.Kd(this,function(){_.tc(f.ha);w6c(f)})};_.M(gQ,RP);gQ.prototype.refresh=function(){return x6c(this,!1)};var x6c=function(a,b){a.H=6;if(_.C(a.Vb,48,!1))return a.H=1,_.li();if(_.PN(a.Vb)){var c=y6c,d=a.context.Uf.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return z6c(a,b)};gQ.prototype.initialize=function(){return this.W>=this.Vb.Vh()||1==this.H?_.li():this.refresh()};
var w6c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},y6c=function(a,b){_.m.clearTimeout(a.Wb);a.Wb=_.m.setTimeout(function(){return x6c(a,!0)},b)};gQ.prototype.Ac=function(){Date.now()-this.Ka>this.Ma&&y6c(this,0)};
var z6c=function(a,b){a.ha&&(a.he.Wc(a.ha,"Gb",a.Uqa),a.he.Wc(a.ha,"Hb",a.qNa),a.ha.dispose());var c=a.Vb.De();c&&_.Ve(c,!1);a.ha=new q2c(a.context,a.Vb,b);a.va=0;a.he.listen(a.ha,"Gb",function(){return a.Uqa(a.ha.ha)});a.he.listen(a.ha,"Hb",a.qNa);return A6c(a)},A6c=function(a){var b=_.qi();a.context.ka.Ze()?a.he.listen(a.context.ka,"Cb",function(c){c.Ze()||(a.he.Wc(a.context.ka,"Cb"),B6c(a,b))}):B6c(a,b);return b.promise},B6c=function(a,b){Y1c(a);var c=a.Vb.Vh()+a.va;_.Bia(o2c(a.ha,c).Zf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=gQ.prototype;_.g.resize=function(a){var b=0;for(var c=_.v(new Set([].concat(_.Bc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=SP(this.context);d=W1c(e,d).Bd();b=Math.max(b,d.Vh())}_.PN(this.Vb)?(this.Vb.Wi(b),2!=this.zf()&&!this.ha.H&&(b>this.W||a)?this.refresh():C6c(this)):this.Vb.Vh()!=b&&(this.Vb.Wi(b),b>this.W?A6c(this):C6c(this))};_.g.Bd=function(){return this.Vb};_.g.$$=function(a){return this.context.ma.equals(a,this.Vb)};
_.g.lY=function(a){var b=a.Vh(),c,d=!1;if(_.qN(this.Vb)){var e=this.V.slice();var f=this.Ba.slice(0,b);if(this.Ba.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.cm(k.getItem()).filter(function(l){return h.includes(l.Bm().getId())});k=k.clone();uQc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.cm(l.getItem()).length})}d=CQc(e);c=new _.HO;_.x(c,4,!1);xUc(c,f)}else e=this.V.slice(0,b),c=new _.rD,fTc(c,b<this.V.length||!(this.context.ka.Ze()||this.context.Gh.Ze())&&
1!=this.H),_.J(c,7,this.wb),_.x(c,8,this.Wa),_.CLc(c,this.ab),d=CQc(e);e=aRc(e);T1c(this,a.Fi(),e);c.vy(e);c.Fc(d?6:1==this.H||b<=this.W?1:this.context.ka.Ze()||this.context.Gh.Ze()?0<this.V.length?1:2:6);c.j1(this.zf());c.ML(this.rb);c.setSessionId(this.Eb);c.l1(this.Lb);return c};_.g.Uqa=function(a){this.wb=a.ma;this.Wa=a.V;this.ab=a.W;this.Ba=a.ha;this.rb=a.ka;this.Eb=a.getSessionId();this.Lb=a.va};_.g.qNa=function(){var a=this.Vb.Vh()-this.W;0<a&&m2c(this.ha)&&(this.va+=a,A6c(this))};
_.g.qC=function(a,b){_.PN(this.Vb)&&w6c(this);var c=!1;a=_.v(a);for(var d=a.next();!d.done;d=a.next())d=NP(d.value),c=this.pS(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.Ca;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(D6c(this,"ViewCache unsorted after import"),this.context.Pa.sort(this.Vb,this.V));c&&U1c(this)};
_.g.pS=function(a,b){var c=this.ta[a.id],d=!!c,e=E6c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&D6c(this,"Updating different wrapper from the existing one"):D6c(this,"Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?(b=f,a=a.H,this.ka&&0!=this.ka(b,a)?(F6c(this,b),G6c(this,a)):(c=this.V,d=this.ka?_.Da(this.V,b,this.ka):_.ia(this.V,b),c[d]=a,a.H++,H6c(a)&&this.W++,b.H--,H6c(b)&&this.W--,_.Mf(this.ta,b.getId()),this.ta[a.getId()]=a)):(F6c(this,f),_.PN(this.Vb)&&y6c(this,0));
else{if(_.PN(this.Vb)&&!b)return!1;G6c(this,a.H)}else return!1;return!0};
var G6c=function(a,b){a.ka?gQc(a.V,b,a.ka):a.V.push(b);b.H++;H6c(b)&&a.W++;a.ta[b.getId()]=b},F6c=function(a,b){if(a.ka){var c=a.V,d=_.Da(c,b,a.ka);0<=d&&_.pa(c,d)}else _.qa(a.V,b);b.H--;H6c(b)&&a.W--;_.Mf(a.ta,b.getId())},E6c=function(a,b,c){if(!b)return!1;if(a.vc&&!_.PN(a.Vb)){if(c)return!0;if(!a.hc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=QYc(a.context.Ha,a.Vb,b.getItem());return c&&a}}if(!QYc(a.context.Ha,a.Vb,b.getItem()))return!1;var e=1.2*a.Vb.Vh();if(1==a.H||!a.ka||
RXc(b.V,2)||a.W<e||c||ZQc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},C6c=function(a){if(1!=a.H&&!a.context.ka.Ze()&&!a.context.Gh.Ze()){var b=1.2*a.Vb.Vh();if(!(b>=a.W||a.ha&&b>=a.ha.tc())){b=a.W-a.Vb.Vh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];RXc(d.V,2)||ZQc(d.getItem())||(d.H--,H6c(d)&&a.W--,_.Mf(a.ta,d.getId()),_.pa(a.V,c),b--)}z6c(a,!1)}}},D6c=function(a,b){var c=new _.Cb;_.tM(c,2);_.uM(c,6);_.Ur(c);a.context.dispatchEvent(new _.Eb(new _.Db(b,
c)))},H6c=function(a){return!RXc(a.V,2)&&3!=PO(a.getItem())};gQ.prototype.Ea=function(){C6c(this)};gQ.prototype.Ha=function(a){return 1!=this.H&&a.Vh()>this.W&&this.ha.H};
var I6c=[50],K6c=function(a,b){_.Q.call(this);var c=this;this.Wa=new _.ze(this);this.Na(this.Wa);this.H=a;this.Ba=b;this.W={};this.ka=new A2c(a.ma);this.ha=new WYc(a.ef,a.Ha,a.Pa);this.Ha=new n6c;_.E(a.H,60)&&(this.Lb=new h6c(a.Ha,a.Pa));this.Ea=new FYc(a.W,_.xO(this.Ba));(b=_.xM(this.H.H))&&!_.C(b,1,!1)&&J6c(this,_.md(this.H.H,28));this.V=new ZYc(this.Ba,this.H.ma,this.ha,this.Ea);this.H.ta.ha.H=this.V;this.va=new s2c(this.H,this.Ba,this.W,this.ha);this.Pa=new i6c(this.H,this.ha);this.Ka=new n5c(this.H,
this);_.Kd(this.Ka,function(){c.Ka=null});this.rb=_.RJc(jUc(this.Ba),I6c);yP(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.C(this.H.H,15,!1)||this.H.Eb||b.push("NVkrgc");yP(this.H.ha,b,function(){var d=c.H.H;if(_.B(d,_.Vl,12))d=_.B(d,_.Vl,12);else{var e=_.DKc((new _.Kl).Ub(c.H.Eb),!0);e=_.x(e,6,1);e=_.QFc(_.iLc(_.jLc(_.bM((new _.Vl).Ub(c.H.zo()).setTitle(_.D(d,38,"My Drive")),"application/vnd.google-apps.folder").to(!1),e),[e]),1);e=_.x(e,29,!0);e=_.x(e,63,!0);var f=
e.Rn;d=_.FKc(new _.Pl,_.C(d,6,!0));d=_.x(d,2,!1);d=f.call(e,_.SKc(_.LKc(_.KKc(_.OKc(_.PKc(_.NKc(_.MKc(_.JKc(_.IKc(_.HKc(_.GKc(_.x(d,3,!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}SO(c,[d],1);zP(c.H.ha,"hVFf7")});this.Ma=_.qi();yP(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new Y5c(this.H.H,this.H.W,a.In(),a.bk,this.H.ta,this.H.xd.promise);_.yM(this.H.H)&&this.Wa.listen(this.ma,"Ob",this.Eb);this.wb=new _.XOc(this.H.H,this.V)};_.M(K6c,_.Q);
K6c.prototype.Eb=function(a){var b=this,c=a.getPeople();fQ(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.v(c);for(var e=c.next();!e.done;a={N9:a.N9},e=c.next())a.N9=e.value,this.ma.getItems(_.y(a.N9,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();fQ(b,"Unexpected missing wrapper for "+h+" with "+(_.y(f.N9,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});SO(this,[].concat(_.Bc(d.values())),1);this.H.va.update(6)};K6c.prototype.initialize=function(){u5c(this.Ka)};
var P6c=function(a,b,c){if(c instanceof _.Ge)c=BP(a.H.ma,c),L6c(a,c.Fi()),k6c(a.Pa,c),a=M6c(a,c),Q1c(a.cache,b);else if(c instanceof _.Np)c=N6c(a,c),L6c(a,c.Fi()),a=O6c(a,c),Q1c(a.cache,b);else if(c instanceof _.eM){var d=eQ(a,c),e=a.W[d];e?(3==e.H?(fQ(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):fQ(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,Zt:!1}):(fQ(a,d+" | ItemQueryRequest backed by new cache"),e=new YP(a.H,a.Ba,c),e.refresh().kg(_.nf),
a.W[d]=e,a={cache:e,Zt:!0});Q1c(a.cache,b)}else if(c instanceof _.Vp)d=c.Fi(),e=a.Ea,GYc(e,e.V,e.ha,d),a=O6c(a,c),Q1c(a.cache,b);else throw Error("eg");return a.Zt},Q6c=function(a,b,c){if(c instanceof _.Ge)c=BP(a.H.ma,c),m6c(a.Pa,c);else if(c instanceof _.Np)c=N6c(a,c);else if(!(c instanceof _.eM||c instanceof _.Vp))throw Error("eg");c=eQ(a,c);var d=a.W[c];d&&(R1c(d,b),d.isDisposed()&&delete a.W[c])},eQ=function(a,b){return CP(a.H.ma,b,2)},M6c=function(a,b){var c=eQ(a,b),d=a.W[c];if(d)return 3==d.H?
(fQ(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):fQ(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Zt:!1};d=[];for(var e=5,f,h,k=B2c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.kF(b);if(5!=e){f=1==e?void 0:b.Vh();d=n.hqa(b,f);f=n.zf();h=n instanceof QP?n.Xv():"";fQ(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.y5()+" | initial "+d.length));break}}5==e&&fQ(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ze()||a.H.Gh.Ze())d=d.concat(a.ha.query(b,
1)),_.Ba(d,void 0,function(p){return p.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.kF(b)?e.kF(b):6,fQ(a,"Offline: Populate with "+d.length+" initial items(s)");d=new gQ(a.H,b,d,1==e,h);f&&d.az(f);d.qC(a.ha.query(b,2),1!=e);d.initialize().kg(function(p){p=_.vM(p);_.Ur(p);a.H.dispatchEvent(new _.Eb(new _.Db("Error during view cache init",p)))});a.W[c]=d;return{cache:d,Zt:!0}},O6c=function(a,b){var c=eQ(a,b),d=!1,e=a.W[c];if(e)e.$$(b)?fQ(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Am()),
b=R6c(a,b,d),d=!0,a.W[c]=b,S6c(e,b),e=b,fQ(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Am());e=R6c(a,b,f);d=!0;a.W[c]=e;fQ(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Zt:d}},R6c=function(a,b,c){var d;b instanceof _.Np?d=new g2c(a.H,a.Ba,b,c):d=new u6c(a.H,a.Ba,b,c);c.length&&d.az(8);d.refresh().kg(_.nf);return d},T6c=function(a){return Object.values(a.W).filter(function(b){return b.Bd()instanceof _.eM})};
K6c.prototype.ab=function(a){for(var b=_.Ue(new _.Te,309),c=[],d=_.v(Object.entries(this.Ea.H)),e=d.next();!e.done;e=d.next()){var f=_.v(e.value);e=f.next().value;f=f.next().value;f=_.v(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.v(h.value);var k=h.next().value;h.next();if(k==a){c.push(Number(e));break}}}c.length&&(d=mYc(this.H.ma,c,!0),fQ(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.va.H([a],b,!1,c))};
var S1c=function(a,b,c){c&&c.length&&IYc(a.Ea,b,c);_.yM(a.H.H)&&(a=a.ma,$4c(a,a5c(a,b)))},R2c=function(a,b,c){if(b instanceof YP){var d=eQ(a,b.Bd()),e=a.W[d];if(e){U6c(a,b,e);fQ(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof M1c&&a.ka.removeAll([b]);var f={},h=_.Of(a.ha.H),k=[];b.BA().forEach(function(n){var p=n.getId(),r=a.ha.get(p);if(r){var u=PO(r.getItem());3==u||4==u?f[n.getId()]=n.getItem():r!=n&&(u=k.push,r=new j_c(n.getId(),n,r),u.call(k,r));_.Mf(h,p)}else p=
NP(n),a.ha.update(p),a.Ha.update(p),_.yM(a.H.H)&&a.ma.PO(p);_.yM(a.H.H)&&V6c(a,n.getItem())});_.Ef(h,function(n){k.push(NP(n))});d=_.v(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof YP?(d=eQ(a,b.Bd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.Ef(f,function(n){var p=new _.DM;_.EM(p,n.getId());p.setItem(n);l.push(p)});a.ta(l);fQ(a,"Merged cache: "+b.getType());b instanceof WP&&c.forEach(function(n){W6c(a.H.wh,n)});a.H.va.update(3)},U6c=function(a,b,c){if(c instanceof YP&&(c=c.BA(),
b=b.BA(),0!=c.length&&0!=b.length)){var d=Math.min(c.length,b.length);c=c.slice(0,d);b=b.slice(0,d);for(var e=0;e<d;e++){var f=c[e].getItem(),h=b[e].getItem();if(f.getId()!=h.getId()){fQ(a,"(b/160317444) Inconsistent shared drives list found.");_.Pa(Error("fg"));tUc(a.H.ta,160317444);break}}}},S6c=function(a,b){(new Set([].concat(_.Bc(a.ma)))).forEach(function(c){Q1c(b,c);R1c(a,c)})},SO=function(a,b,c,d,e,f){f||(f=d?[].concat(_.Bc(d.Fi().filter(function(A){return!_.xO(a.Ba).includes(A)}))):[]);d&&
d instanceof _.Ge&&_.PN(d)&&X6c(a,b,d);for(var h=[],k=[],l=0;l<b.length;l++){var n=b[l],p=new xP(n,void 0,c),r=a.ha.get(n.getId()),u=r?r.getItem():null,z=Y6c(a,r,p);if(null!=z)p.vT(z),Z6c(a,u,n),YQc(n),n=DYc(n,u,f),p.setItem(n);else if(null!=r)p=r,n=u;else continue;_.yM(a.H.H)&&V6c(a,n);!r||$6c(a,u,n,f)?(k.push(k_c(r,p)),h.push(p)):h.push(r)}b=null;d&&(b=eQ(a,d),b=a.W[b],d instanceof _.Ge&&(d=E2c(a.ka,d))&&d.qC(h,!!e),b&&b.qC(h,!!e));0<k.length&&(e=_.Dc(a.W),b&&_.qa(e,b),a7c(a,k,e,f),b7c(a,h));SP(a.H).ka()},
V6c=function(a,b){f6c(a.ma,b)||5!=PO(b)||_.pLc(b,1)},$6c=function(a,b,c,d){(b=b?_.Ok(b.clone(),82):null)&&S1c(a,[b],d);c=_.Ok(c.clone(),82);S1c(a,[c],[]);return!_.jl(b,c)},X6c=function(a,b,c){c7c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(OO(f,d,[1002]),OO(f,d,[1003]),OO(f,d,[1005]),b[e]=f);_.pN(c)&&0<_.md(c,33).length&&_.qLc(d,_.md(c,33)[0])})},c7c=function(a,b,c){var d;_.pN(c)?d="quick access":_.qN(c)?d="people predict":_.rN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
fQ(a,"Got "+b.length+" items for "+d+": "+c)},d7c=function(a,b){var c={};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.Ef(c,function(d,e){e=Number(e);SO(a,aRc(d),e)})};
K6c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.yj()?null:d.getItem(),f=d.Mc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new xP(e,void 0,void 0,d.Xz()||void 0);var l=Y6c(this,f,k);if(null==l)continue;k.vT(l);Z6c(this,h,e);_.C(d,5,!1)&&lQc(e,zQc);YQc(e);e=DYc(e,h);k.setItem(e);_.yM(this.H.H)&&V6c(this,e)}l=this.H.Qp;W6c(l.H.wh,d);if(EP(d)){var n=d.Cc();d.yj()?e7c(l,n):(d=d.getItem(),EYc(d)&&f7c(l,n))}(h&&!e||e&&$6c(this,h,e,[]))&&b.push(k_c(f,k))}a7c(this,b,
_.Dc(this.W),[])};
var Z6c=function(a,b,c){b&&!c.Hn()&&OO(c,b,a.rb);var d=b?b.Kf():null,e=c.Kf();e=e?_.ud(e):null;d&&e&&Z6c(a,_.ud(d),e);b&&!_.bm(c)&&OO(c,b,[1002]);b&&!_.cm(c).length&&OO(c,b,[1003]);b&&!c.lM().length&&OO(c,b,[1005]);b&&null==c.V()&&OO(c,b,[71]);b&&null==_.y(c,79)&&OO(c,b,[73]);b&&_.E(b,31)&&!_.E(c,31)&&(lQc(c,zQc),fQ(a,"Cleared Item Suggest data for "+b.getId()+"."))},c2c=function(a,b,c){if(b instanceof _.Ge||b instanceof _.Np||b instanceof _.eM)b=eQ(a,b),(a=a.W[b])&&X1c(a,c);else throw Error("eg");},
Y6c=function(a,b,c){var d=c.getItem();if(g7c(a.H.Ue,d.getId()))return null;if(b){if(!QXc(b.V,c.V))return null;a=b.getItem();if(3!=PO(a)&&!EP(a)&&!EP(d)&&a.Cc()==d.Cc())if(_.y(a,75)&&_.y(d,75)){if(_.y(a,75)>_.y(d,75))return null}else if(b.Xz()&&c.Xz()){if(b.Xz()>c.Xz())return null}else if(a.Qr()>d.Qr())return null}return SXc(b&&b.V,c.V)},h7c=function(a,b){(a=a.ha.get(b))&&a.vT(SXc(a.V,-2))},i7c=function(a,b,c){b=_.v(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Ea.update(d.id,d.H?d.H.getItem():
null,c)},a7c=function(a,b,c,d){_.yM(a.H.H)&&b.forEach(function(k){return a.ma.PO(k)});i7c(a,b,d);c=_.v(c);for(d=c.next();!d.done;d=c.next())V1c(d.value,b);c=0;b=_.v(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=B2c(a.ka);var h=_.v(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.E(a.H.H,60)&&a.Lb.update(e);a.ha.update(e);a.Ha.update(e);a.ha.get(e.id)||KYc(a.Ea,e.id)}0<c&&a.H.va.tNa(c);j7c(a)},j7c=function(a){var b=a.Ha.V.slice(0),c=o6c(a.Ha);p6c(a.Ha);if(b.length){fQ(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Te;_.Ue(d,308);a.va.H(b,d,!0)}if(c.length){fQ(a,"Updating locally stale shortcuts: "+c.join(", "));b=$Yc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Kf(),k=_.y(h,1);if(k=a.V.H(k))_.J(h,5,k),_.x(h,4,1),e.push(f)});d7c(a,e)}},N6c=function(a,b){_.Ea(b.Fi());var c=_.ia(b.Am(),"root");if(0>c)return b;b=_.kl(b);b.Am()[c]=a.H.zo();return b},J6c=function(a,b){b=kUc(a.Ba,b);a=a.Ea;GYc(a,a.H,a.W,b)},L6c=function(a,
b){var c=_.xM(a.H.H);c&&_.C(c,1,!1)&&J6c(a,b)},b7c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==PO(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});fQ(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Ue(new _.Te,311);a.va.H(c,d)}})},y5c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!E2c(a.ka,c)){fQ(a,"Adding new cache hint for "+eQ(a,c));var d=new QP(a.H.Ha,a.H.Pa,a.H.ma,c);c=new x2c(a.H,d,c);var e=XP(a.H.Ba,null);_.ri(y2c(c).then(function(){K2c(d,
e).then(function(f){R2c(a,d,f)})}),function(){I2c(a.H.Ba,null)})}})})},fQ=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},k7c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},l7c=function(a,b){a=k7c(a);b=k7c(b);return!(!a||!b||a!=b)},m7c=function(a){return a.Mc()+"_"+k7c(a.getName())},n7c=function(a,b){var c=a.V().map(function(d,e){return b[Number(e)].value.V.promise});return Promise.allSettled(c).then(function(d){return a.V().map(function(e,
f){e=e.toString();var h=new RZc;e=_.x(h,1,e);f=d[Number(f)];"fulfilled"==f.status?e.Fc(1):(e.Fc(3),e.af(f.reason.Ug));return e})})},jQ=function(a,b){_.Q.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.M(jQ,_.Q);var q7c=function(a,b){a.H.add(b);o7c(a).then(function(){return p7c(a,b)})};jQ.prototype.zf=function(){return this.ka};
jQ.prototype.gua=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Efa(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?r7c(this):_.li([])};
var r7c=function(a){for(var b=[],c=_.v(a.H.values()),d=c.next();!d.done;d=c.next())b.push(p7c(a,d.value));return _.oi(b)},s7c=function(a,b){a.status=3;for(var c=[],d={},e=_.v(a.H.values()),f=e.next();!f.done;d={Mja:d.Mja},f=e.next())d.Mja=f.value,c.push(a.ha.then(function(h){return function(k){k.Ea[h.Mja]=b;k.V||(k.V=_.gj(k.ka,50,k))}}(d)));_.oi(c)},t7c=function(a){for(var b=[],c={},d=_.v(a.H.values()),e=d.next();!e.done;c={Nja:c.Nja},e=d.next())c.Nja=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Nja])&&h.$M()}}(c)));_.oi(b).then(function(){var f=0==a.zf()?1:6;a.ka=f})},o7c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=W1c(b,d).Bd();c=Math.max(c,d.Vh?d.Vh()||0:0)});a.Cfa(c)})},u7c=function(a,b){return b?a.ma.get(a.tca(b)):null};jQ.prototype.Dfa=function(a,b){b=SXc(u7c(this,a),b);this.ma.set(this.tca(a),b)};jQ.prototype.tca=function(a){return a};jQ.prototype.Nba=function(){};
var p7c=function(a,b){return a.ha.then(function(c){var d=a.z5();c.Ba[b]=d;c.V||(c.V=_.gj(c.ka,50,c))})};jQ.prototype.removeItem=function(){};var kQ=function(a,b){_.R.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.M(kQ,_.R);
var v7c=function(a){return!a.ma||""!=a.ha},lQ=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&v7c(a)?w7c(a):_.li()},w7c=function(a){a.ma=!0;a.V=!0;var b=a.raa(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return x7c(a,c)},function(c){a.V=!1;c=_.vM(c);var d=new GP(c);a.sNa(d);a.dispatchEvent(d);return _.mi(c)})},x7c=function(a,b){a.V=!1;a.ha=a.Gca(b);b=a.Zba(b);b.forEach(function(c){return a.H.push(c)});a.A5(b);return a.H.length<a.W&&v7c(a)?_.oi([_.li(b),w7c(a)]).then(function(c){return c[0].concat(c[1])}):
_.li(b)};kQ.prototype.A5=function(){};kQ.prototype.sNa=function(){};var y7c=function(a,b,c){kQ.call(this,c,function(d){return a.then(function(e){return e.H(d)}).kg(function(e){return _.TM(e)})});this.ka=b};_.M(y7c,kQ);_.g=y7c.prototype;_.g.raa=function(a,b,c){a=_.kl(a);a.Wi(b);return new _.bKc(a,c)};_.g.Gca=function(a){return a.pageToken||""};_.g.Zba=function(a){return a.response.V()};_.g.A5=function(a){mQ(this.ka,a,!1,1)};
_.g.sNa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&s7c(b,a)};var z7c=function(a,b,c,d){jQ.call(this,a,_.kl(d));this.V=[];this.W=null;this.va=b;this.ta=c};_.M(z7c,jQ);z7c.prototype.refresh=function(){t7c(this);this.W=new y7c(this.va,this.ta,this.request);return lQ(this.W,this.request.Vh()||100)};var A7c=function(a,b){return a.V.find(function(c){return l7c(c.getName(),b)})};_.g=z7c.prototype;
_.g.Cfa=function(a){this.W&&a==this.request.Vh()||(this.request.Wi(a),this.W?lQ(this.W,a):this.refresh())};_.g.z5=function(){var a=this,b=BVc((new hP).Fc(this.status),this.V.filter(function(c){return a.ta.xsa(c)}).map(function(c){return c.clone()}));return new _.KO(b,void 0,void 0,this.zf())};_.g.gua=function(a,b,c){var d=this;a=a.filter(function(e){return e.Mc()==d.request.Mc()});return jQ.prototype.gua.call(this,a,b,c)};
_.g.Efa=function(a,b){b=void 0===b?1:b;if(!QXc(u7c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return l7c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.Dfa(a.getName(),b);return!0};_.g.removeItem=function(a){_.ra(this.V,function(b){return l7c(b.getName(),a)})&&(this.ma.delete(this.tca(a)),r7c(this))};_.g.tca=function(a){return k7c(a)};_.g.Dfa=function(a,b){A7c(this,a)&&jQ.prototype.Dfa.call(this,a,b)};
_.g.Nba=function(a){var b=this;return a instanceof _.EN&&a.Mc()!=this.request.Mc()?[]:a.JQ().map(function(c){return A7c(b,c.Wl())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var nQ=function(){this.H=new Map},B7c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.uaa(c),a.H.set(d,e));q7c(e,b);return f},C7c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Gma(c),a.H.set(d,e));q7c(e,b);return f},D7c=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.H.delete(b),0==d.H.size&&d.dispose(),d.isDisposed()&&a.H.delete(a.getKey(c)))},E7c=function(a,b){return a.H.get(b)},mQ=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.xsa(f)});a.H.forEach(function(f){f.gua(e,
c,d)})};nQ.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};nQ.prototype.Nba=function(a){var b=Array.from(this.H.values()).map(function(c){return c.Nba(a)});return[].concat.apply([],_.Bc(b))};var F7c=function(a,b){a.H.forEach(function(c){c.Dfa(b,-2)})};nQ.prototype.xsa=function(){return!0};nQ.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.uaa(b),f.ka=c,this.H.set(e,f),mQ(this,a,d))};
var G7c=function(){this.V=new Set;this.W=new Set;this.H=0},H7c=function(a,b){a.V.add(b)};G7c.prototype.ha=function(a){this.V.delete(a)};var I7c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};G7c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var g7c=function(a,b){return a.V.has(b)||a.W.has(b)};G7c.prototype.O1=function(a){var b=this;return a.filter(function(c){return!g7c(b,c.getId())})};var J7c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new G7c};
_.M(J7c,nQ);var K7c=function(a,b){H7c(a.W,m7c(b));(a=E7c(a,b.Mc()))&&r7c(a)};_.g=J7c.prototype;_.g.getKey=function(a){return a.Mc()};_.g.uaa=function(a){return new z7c(this.ha,this.ka,this,a)};_.g.Gma=function(a){return new z7c(this.ha,this.ka,this,a)};_.g.Pkb=function(a){a=_.v(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=E7c(this,b.getId()))&&b.refresh()};_.g.xsa=function(a){return!g7c(this.W,m7c(a))};
var L7c=function(a,b){this.V=a;this.H=b},M7c=function(a,b){b=_.uNb(b);var c=new y7c(a.V,a.H,b);new Promise(function(d,e){return lQ(c,100).then(d,e)})},N7c=function(a,b,c){kQ.call(this,a,c);this.ka=b};_.M(N7c,kQ);N7c.prototype.raa=function(a,b){return _.kl(a).Wi(b)};N7c.prototype.Gca=function(){return""};N7c.prototype.Zba=function(a){return[a]};N7c.prototype.A5=function(a){this.ka(a)};var O7c=function(a,b,c,d){jQ.call(this,a,_.kl(d));this.ta=c;this.va=b;this.V=this.W=null};_.M(O7c,jQ);
O7c.prototype.refresh=function(){var a=this;t7c(this);this.V=new N7c(this.request,this.ta,function(b){return a.va.then(function(c){return c.H(b)})});return lQ(this.V,this.request.Vh()||0)};O7c.prototype.Cfa=function(a){1==this.status||this.V&&a==this.request.Vh()||(this.request.Wi(a),this.V?lQ(this.V,a):this.refresh())};O7c.prototype.z5=function(){if(this.W)return this.W;var a=new kP;a.Fc(this.status);return a};O7c.prototype.Efa=function(a){this.W=a;return!0};
var P7c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.M(P7c,nQ);var Q7c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};P7c.prototype.getKey=function(a){return a.toString()};P7c.prototype.uaa=function(a){var b=this;return new O7c(this.W,this.ka,function(c){mQ(b,c,!1)},a)};P7c.prototype.Gma=function(){throw Error("gg");};
P7c.prototype.V=function(a,b,c,d){var e=a[0].Kj();Q7c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));nQ.prototype.V.call(this,a,b,c,d)};var S7c=function(a){_.Q.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.Um;var c=_.qi();this.Ea=c.promise;F4c(this.H.Ea).then(function(d){b.V=d||[];c.resolve();R7c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;yP(this.H.ha,["rVezo"],(0,_.N)(this.ka,this))};_.M(S7c,_.Q);
var l6c=function(a,b){_.C(a.H.H,46,!1)&&a.Ea.then(function(){if(a.V[0]!=b){_.qa(a.V,b);for(EYc(a.H.V.V.H(b))?oQ(a,b,"Hidden TD, not tracking in recency list"):_.xa(a.V,0,0,b);a.V.length>2*_.Hk(a.H.H,47,5);)a.V.pop();cQ(a.H.Ea,y4c,a.V)}_.ta(a.H.V.ka.V).length+a.W.size<_.Hk(a.H.H,47,5)&&(R7c(a),a.ka())})},f7c=function(a,b){_.qa(a.V,b)&&cQ(a.H.Ea,y4c,a.V)},e7c=function(a,b){f7c(a,b);a.ha.contains(b)&&a.ha.remove(b);var c=a.W.get(b);c&&c.dispose();a.W.delete(b);c=a.H.V.ka;for(var d=_.ta(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.Cc()==b){oQ(a,b,"Cache removed");c.removeAll([f]);a.H.va.update(3);break}}dQ(a.H).addCallback(function(h){h.Jxa(b,!0)});a.ka()};
S7c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;T7c(this);for(var b={};this.ha.tc()&&!(this.ma>=_.Hk(this.H.H,47,5));){var c=_.Vm(this.ha);this.ma++;D2c(a,c)||this.W.has(c)||(this.W.set(c,null),b.R9=new _.nKc,_.x(b.R9,1,c),this.H.In().then(function(d){return function(e){return e.H(d.R9)}}(b)).then(this.Ba.bind(this,c),this.va.bind(this,c)));b={R9:b.R9}}}};
var R7c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},T7c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){R7c(a);a.ka()},36E5)};S7c.prototype.Ba=function(a,b){var c=_.y(b,1);c&&c>_.Hk(this.H.H,48,1E3)?(oQ(this,a,"Too large to backfill: "+_.y(b,1)),U7c(this,a,!1)):V7c(this,a)};
S7c.prototype.va=function(a,b){(b=_.vM(b).xj())&&4==b?(oQ(this,a,"Non-existent or inaccessible, removing from cache"),a=_.IM(_.cJc(_.EM(new _.DM,a),a)),this.H.V.ta([a])):V7c(this,a)};
var V7c=function(a,b){var c=new WP(a.H.Ha,a.H.Pa,b),d=_.kl(c.Bd());d.Wi(_.Hk(a.H.H,48,1E3));d=new x2c(a.H,c,d);a.W.set(b,d);oQ(a,b,"Backfill started");var e=XP(a.H.Ba,b);dQ(a.H).addCallback(function(f){f.gla(b)});_.ri(y2c(d).then(function(){W7c(a,b,c,e)},function(){oQ(a,b,"Backfill failed");a.ma--;U7c(a,b,!0)}),function(){I2c(a.H.Ba,b)})},W7c=function(a,b,c,d){c.V?(c.bY(),K2c(c,d).then(function(e){oQ(a,b,"Backfill complete, size: "+c.y5());R2c(a.H.V,c,e);U7c(a,b,!1)},function(){oQ(a,b,"Backfill changes failed");
U7c(a,b,!0)})):(oQ(a,b,"Backfill exceeded size limit"),U7c(a,b,!0))},U7c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&dQ(a.H).addCallback(function(e){e.Jxa(b,!1)});a.ka();0<a.W.size||_.ta(a.H.V.ka.V).map(function(e){return e.Cc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return e7c(a,e)})},oQ=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},X7c=function(a){var b=new _.pD;b.Ub(a);return b},Y7c=function(a,b,c,d,e){q6c.call(this,
_.kl(a),c,d,e);this.V=b};_.M(Y7c,q6c);Y7c.prototype.W=function(a){var b=new Map;a.Am().forEach(function(c){var d=_.kl(a).Lb([c]);b.set(c,d)});return b};Y7c.prototype.ka=function(a){var b=[];a.lQ().forEach(function(c){b.push(c)});this.V(b,!0)};Y7c.prototype.ma=function(){this.V([],!1)};Y7c.prototype.ta=function(a){this.V([X7c(a)],!0)};var Z7c=function(a,b,c,d,e,f){jQ.call(this,a,_.kl(f));this.va=e;this.Ea=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.M(Z7c,jQ);
Z7c.prototype.refresh=function(){this.W=new Y7c(this.request,this.va,this.Ea,this.ta,this.Ba);return r6c(this.W)};Z7c.prototype.Cfa=function(){this.W||this.refresh()};Z7c.prototype.z5=function(){var a=new _.IO;a.Fc(this.status);_.Ef(this.V,function(b,c){a.lQ().set(c,b||new _.pD)});XVc(a,this.zf());return a};Z7c.prototype.Efa=function(a){var b=a.getId();if(_.jl(a,X7c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Am().indexOf(b))return this.V[b]=a,!0;return!1};
var $7c=function(a,b){a=a.getState();return null==a||b.getState()==a},a8c=function(a,b,c){kQ.call(this,a,c);this.ka=b};_.M(a8c,kQ);a8c.prototype.raa=function(a,b,c){a=_.kl(a);a.Wi(b);return new _.pKc(a,c)};a8c.prototype.Gca=function(a){return a.pageToken||""};a8c.prototype.Zba=function(a){return a.response.Kj()};a8c.prototype.A5=function(a){this.ka(a)};var b8c=function(a){this.W=$Xc(a,{numeric:!0})};
b8c.prototype.H=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!=e?f=this.W(d,e)*(a?1:-1):f=_.Ca(b.getId(),c.getId())*(a?1:-1);return f};b8c.prototype.V=function(a,b,c){var d=_.y(b,4),e=_.y(c,4),f;d!=e?f=_.Ca(d,e)*(a?1:-1):f=_.Ca(b.getId(),c.getId())*(a?1:-1);return f};var c8c=function(a,b,c,d,e){jQ.call(this,a,_.kl(e));this.va=d;this.Ba=b;this.W=[];this.V=null;a=new b8c(c);b=(c=_.B(this.request,_.Wp,5))?c.getType():0;c=c?c.ih():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.M(c8c,jQ);c8c.prototype.refresh=function(){var a=this;t7c(this);this.V=new a8c(this.request,this.va,function(b){return a.Ba.then(function(c){return c.H(b)})});return lQ(this.V,this.request.Vh()||0)};c8c.prototype.Cfa=function(a){1==this.status||this.V&&a==this.request.Vh()||(this.request.Wi(a),this.V?lQ(this.V,a):this.refresh())};c8c.prototype.z5=function(){var a=new KP;a.Fc(this.status);IZc(a,this.W.map(function(b){return _.kl(b)}));return new _.FPc(a,void 0,1!=this.status&&v7c(this.V),this.zf())};
c8c.prototype.Efa=function(a){var b=_.ra(this.W,function(c){return c.getId()==a.getId()});return a&&$7c(this.request,a)&&!_.jl(a,X7c(a.getId()))?gQc(this.W,a,this.ta):b};var d8c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.M(d8c,nQ);var e8c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};d8c.prototype.getKey=function(a){return a.toString()};
d8c.prototype.uaa=function(a){var b=this;return new c8c(this.ha,this.ma,XO(this.W.xf()),function(c){return mQ(b,c,!1)},a)};d8c.prototype.Gma=function(a){var b=this;return new Z7c(this.ha,this.ma,this.W,this.ka,function(c,d){return mQ(b,c,d)},a)};d8c.prototype.V=function(a,b,c,d){e8c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));nQ.prototype.V.call(this,a,b,c,d)};var f8c=function(){_.Q.apply(this,arguments)};_.M(f8c,_.Q);
var i8c=function(a,b){b=g8c(b);var c=a.getItem(),d=h8c(c.getCapabilities());b.NY.forEach(function(e){_.QFc(e.getItem(),c.An());e.getItem().Rn(d.clone())});return b},l8c=function(a,b,c){var d=j8c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new xP(b),children:[]};k8c(a,d,c);return c},j8c=function(a){var b={};a.map(function(c){c.getItem().Zi().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},k8c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(k8c(a,
b,{H:e,parent:c,children:[]}))});return c},n8c=function(a,b){var c=b.children.filter(function(h){return!_.$l(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.QFc(f,a.An()),m8c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.$l(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},o8c=function(a){var b=a.children.filter(function(f){return!_.$l(f.H.getItem())});a=new Map;for(var c=[];b.length;){var d=b.pop(),
e=d.H.getItem();a.has(e.getId())||(c.push(_.IM(_.EM(new _.DM,e.getId()))),d.children.map(function(f){_.$l(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},g8c=function(a){var b=[],c=[];a.forEach(function(d){_.$l(d.getItem())||_.E(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{CV:c,NY:b}},h8c=function(a){a=a.clone();var b=null!=_.E(a,34)?_.E(a,34):_.E(a,7),c=null!=_.E(a,35)?_.E(a,35):_.E(a,7);_.x(a,45,c);_.YKc(a,b);_.x(a,30,c);_.TKc(a,b);_.ZKc(a,c);_.UKc(a,c);_.VKc(a,b);_.GKc(a,b);
_.LKc(a,c);_.RKc(a,b);_.QKc(a,_.E(a,7));_.KKc(a,_.E(a,10)||_.E(a,11));_.SKc(a,_.Ql(a));_.Ok(a,18);_.Ok(a,13);_.Ok(a,10);_.WKc(a,_.E(a,42));_.XKc(a,_.E(a,43));_.$Kc(a,_.E(a,48));return a},m8c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.E(d,30);_.x(e,30,f);_.TKc(e,_.E(d,31));_.ZKc(e,_.E(d,47));_.UKc(e,_.E(d,32));_.VKc(e,_.E(d,33));_.GKc(e,_.E(d,4));_.LKc(e,d.V());_.SKc(e,_.E(d,21));_.RKc(e,_.E(d,20));_.QKc(e,_.E(d,17));_.FKc(e,_.Ql(d));_.JKc(e,_.E(d,7));_.MKc(e,_.E(d,10));_.NKc(e,
_.E(d,11));f=_.E(d,45);_.x(e,45,f);_.YKc(e,_.E(d,46));_.$Kc(e,_.E(d,48));a=_.$l(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.WM(b)?(_.KKc(e,_.E(c,43)),_.XKc(e,_.E(c,43)),_.WKc(e,_.E(c,42))):_.KKc(e,_.E(c,42)))},p8c=function(a){this.H=a;this.ha=new f8c;this.V=a.V;this.W=_.Ue(new _.Te,306)},W6c=function(a,b){if(_.eO(a.H.H))if(EP(b))if(b.yj())q8c(a,b);else{var c=b.Mc(),d=r8c(a,c),e=a.V.V.H(c);b=i8c(b,d);d7c(a.H.V,b.NY);a.V.va.H(b.CV,a.W);s8c(a,c,"SD update | Update "+b.NY.length+" item(s), "+b.CV.length+
" divergent items");if(d=sUc(a.H.ta,106017)){var f=oUc(d);_.x(f,1,b.CV.length);_.x(f,2,b.NY.length);d.V()}e||(a=a.V.va,c&&(t2c(a,"Processing potential rejoin for TD: "+c),b=_.OM(_.nm(_.NM(new _.Ge,[c]),_.xO(a.ma)),1),e=_.Ue(new _.Te,306),_.om(b,e),v2c(a),b=new q2c(a.V,b),o2c(b,5E3).addCallback(a.ka.bind(a,b)),u2c(a),w2c(a,c)))}else if(_.C(a.H.H,86,!1)){c=b.Mc();e=a.V.V.H(c);if(e&&e.Cc()&&_.WM(b.getItem()||e)){if(d=!!_.$l(e),!b.yj()){var h=b.getItem();f=_.$l(e)!=_.$l(h);h=h.An()!=e.An();d=f||d&&h}}else d=
!1;if(d)if(b.yj()){if(b=r8c(a,e.Cc()),e=a.ha,d=(new _.Vl).Ub(c),b=(b=l8c(e,d,b))?o8c(b):[],a.H.V.ta(b),s8c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=sUc(a.H.ta,106009))c=nUc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=r8c(a,c.Cc()),d=a.ha,c=b.getItem(),c=(e=l8c(d,c,e))?n8c(c,e):[],d7c(a.H.V,c),s8c(a,b.Mc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=sUc(a.H.ta,106010))b=nUc(a),_.x(b,1,c.length),a.V()}},q8c=function(a,b){var c=b.Mc();b=r8c(a,c);b=g8c(b);
var d=_.Ee(b.NY,function(e){return _.IM(_.EM(new _.DM,e.getId()))});a.H.V.ta(d);a.V.va.H(b.CV,a.W);s8c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.CV.length+" divergent items");if(a=sUc(a.H.ta,106016))c=oUc(a),_.x(c,1,b.CV.length),_.x(c,2,b.NY.length),a.V()},r8c=function(a,b){var c=new _.Ge;_.NM(c,[b]);_.OM(c,2);return bZc(a.V.V,c)},s8c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},t8c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
t8c.prototype.X_=function(a,b){var c=this;if(a.JQ().length){var d=E7c(this.H,a.Mc());if(d){var e=d?this.H.Nba(a):[];for(var f={},h=_.v(a.JQ()),k=h.next();!k.done;f={uH:f.uH},k=h.next())if(k=k.value,f.uH=u8c(e,k.Wl(),a.Mc()),_.E(k,3))K7c(this.H,f.uH),_.ri(b,function(r){return function(){c.H.W.ha(m7c(r.uH))}}(f));else{for(var l=_.v(_.Xk(k,_.oH,2)),n=l.next();!n.done;n=l.next())v8c(this,f.uH,n.value);k=_.v(_.md(k,4));for(l=k.next();!l.done;l=k.next())w8c(f.uH,l.value);mQ(this.H,[f.uH],!1,-1);b.then(function(r){return function(){return F7c(c.H,
r.uH.getName())}}(f),function(r){return function(){return F7c(c.H,r.uH.getName())}}(f))}e=x8c(d.z5().response)}}e=e?e:x8c();var p=e.V;b.then(function(r){p.resolve(r)},function(r){p.reject(_.SM(r));var u=a.Mc();M7c(c.ha,u);r=_.vM(r);_.x(r,21,"Server error updating metadata after optimistic application.");c.W(r)});return e};
var x8c=function(a){a=void 0===a?new hP:a;return new YXc(a.Fc(1))},u8c=function(a,b,c){var d=a.find(function(e){return l7c(e.getName(),b)});d||(d=gVc((new eP).$c(b),c),a.push(d));return d},v8c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new cP,d.Ub(c.getId()),fVc(b,b.V().concat([d])),y8c(d,c));if(1==dP(d))d.setBooleanValue(_.E(c,3));else if(12==dP(d))d.setDateStringValue(_.y(c,17));else if(2==dP(d))d.setTextValue(_.y(c,4));else if(3==dP(d))_.md(c,6).length?d.aia(_.md(c,
6)):_.md(c,5).length&&(a=_.md(d,7).concat(_.md(c,5)),d.aia(a));else if(4==dP(d))d.setLongTextValue(_.y(c,7));else if(5==dP(d))d.setSelectionValue(_.y(c,8));else if(6==dP(d))_.md(c,10).length?d.Wha(_.md(c,10)):_.md(c,9).length&&(a=d.Ypa().concat(_.md(c,9)),d.Wha(a));else if(7==dP(d))d.setIntegerValue(_.y(c,11));else if(8==dP(d))_.md(c,13).length?d.Pha(_.md(c,13)):_.md(c,12).length&&(a=_.md(d,12).concat(_.md(c,12)),d.Pha(a));else if(10==dP(d))d.setUserValue(a.V(_.y(c,14)));else if(11==dP(d))_.md(c,
16).length?cVc(d,_.md(c,16).map(a.V)):_.md(c,15).length&&cVc(d,d.qIa().concat(_.md(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(dP(d)+"."),new _.Db(d,new _.Cb);},w8c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==dP(a))_.Ok(a,5);else if(12==dP(a))_.Ok(a,17);else if(2==dP(a))_.Ok(a,6);else if(3==dP(a))_.kM(a,7);else if(4==dP(a))_.Ok(a,8);else if(5==dP(a))_.Ok(a,9);else if(6==dP(a))_.kM(a,10);else if(7==dP(a))_.Ok(a,11);else if(8==dP(a))_.kM(a,
12);else if(10==dP(a))_.Pk(a,15);else if(11==dP(a))_.lM(a,16);else throw a="Optimistic Applier: Unsupported value type "+(dP(a)+"."),new _.Db(a,new _.Cb);},y8c=function(a,b){_.Ck(b,3)?a.uy(1):_.Ck(b,17)?a.uy(12):_.Ck(b,4)?a.uy(2):_.md(b,6).length||_.md(b,5).length?a.uy(3):_.Ck(b,7)?a.uy(4):_.Ck(b,8)?a.uy(5):_.md(b,10).length||_.md(b,9).length?a.uy(6):_.Ck(b,11)?a.uy(7):_.md(b,13).length||_.md(b,12).length?a.uy(8):_.Ck(b,14)?a.uy(10):(_.md(b,16).length||_.md(b,15).length)&&a.uy(11)};
t8c.prototype.V=function(a){return _.EKc(_.CKc(1),a)};var z8c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ba=e;this.va=f;this.W=k;this.Ea=h;this.ha=0};
z8c.prototype.apply=function(a,b){var c=this;if(!_.ON(a))return b;var d;a instanceof _.fN?d=A8c(this,a,b):a instanceof _.lN?d=B8c(this,b):a instanceof _.zM?d=C8c(this,a,b):a instanceof _.aN?d=D8c(this,a,b):a instanceof _.EN&&(d=this.ta.X_(a,b));d&&(this.ha++,this.ka.setActive(!1),_.ri(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.li(d):b};
var A8c=function(a,b,c){H7c(a.V,b.getId());var d=a.H.V.H(b.getId());_.ri(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.vM(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.NN).Fc(1)},B8c=function(a,b){var c=(new _.Ge).to(!0);c=a.H.V.query(c).map(function(d){return d.getId()});I7c(a.V,c);_.ri(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.vM(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.NN).Fc(1)},D8c=function(a,b,c){var d=b.Cc(),e=a.H.V.H(d);if(!e)return null;e=_.kl(e);S1c(a.H,[e],[157]);var f=e.Tk();E8c(f,_.Xk(b,_.Ul,2));F8c(f,_.Xk(b,_.Ul,3));SO(a.H,[e],-1,void 0,void 0,[157]);_.ri(c,function(){h7c(a.H,d)}).then(function(h){SO(a.H,[h.h3()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.vM(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return DVc(new CVc,e).Fc(1)},E8c=function(a,b){var c={};b=_.v(b);for(var d=b.next();!d.done;c=
{H9:c.H9},d=b.next())c.H9=d.value,_.Xk(a,_.Ul,8).some(function(e){return function(f){return f.Wl()==e.H9.Wl()}}(c))||_.gl(a,8,c.H9,_.Ul,void 0)},F8c=function(a,b){var c=b.map(function(d){return d.Wl()});b=_.Xk(a,_.Ul,8).filter(function(d){return!c.includes(d.Wl())});tQc(a,b)},C8c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.Cc()&&0==b.ai())return null;var e=_.md(b,10),f=_.md(b,9);if(0<e.length&&0<f.length&&(e=Object.values(aZc(a.H.V,e.concat(f))).map(function(k){return k.Cc()||"root"}),_.Ba(e),
1<e.length))return null;var h=_.kl(d);G8c(a,b,h);SO(a.H,[h],-1,void 0,void 0,iUc(a.va));c.then(function(){return h7c(a.H,b.getId())},function(){h7c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.vM(k);if(63==k.xj()){var l=h.getId();_.x(k,22,l);_.x(k,23,f[0])}_.x(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.OLc((new _.NN).setItem(h),h.getId()).Fc(1)},G8c=function(a,b,c){null!=b.Bg()&&c.am(b.Bg());null!=b.Si()&&_.nLc(c,b.Si());null!=b.$b()&&_.bM(c,
b.$b());null!=_.y(b,7)&&_.PFc(c,_.y(b,7));null!=_.E(b,11)&&_.hLc(c,_.E(b,11));null!=_.E(b,4)&&c.At(_.E(b,4));null!=_.E(b,16)&&_.mLc(c,_.E(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.ai()&&(c.to(b.ai()),_.lLc(c,b.ai()));null!=b.$q()&&_.PM(XQc(c,!0),b.$q());_.md(b,8).length&&_.WN(c,_.md(b,8));if(_.md(b,9).length){var d=new Set(c.Zi());_.md(b,9).forEach(function(n){return d.add(n)});_.WN(c,[].concat(_.Bc(d)))}if(_.md(b,10).length){var e=new Set(c.Zi());_.md(b,10).forEach(function(n){return e.delete(n)});
_.WN(c,[].concat(_.Bc(e)));var f=c.jr();f&&_.md(b,10).includes(f)&&_.Ok(c,46)}if(!c.jr()){var h=a.Ea();f=c.Zi().find(function(n){var p=a.H.V.H(n);return p&&!!p.jr()||n==h});_.x(c,46,f||void 0)}c.Zi().length&&(f=a.H.V.H(c.Zi()[0]))&&_.qLc(c,f.Cc());if(f=_.B(b,_.Rl,25)){var k=_.B(c,_.Rl,111)||new _.Rl;null!=_.E(f,1)&&_.bLc(k,_.E(f,1));null!=_.y(f,2)&&_.cLc(k,_.y(f,2));_.J(c,111,k)}var l=_.md(c,120);_.md(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.md(b,32).forEach(function(n){_.qa(l,n)});
_.x(c,120,l||[])};z8c.prototype.ma=function(a,b){var c=this,d=_.Pp(new _.Np,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.kr().Pd()[0];SO(c.H,[_.kl(e)],1)},function(){b&&SO(c.H,[_.kl(b)],1)})};
var H8c=function(a){return a.getName()||""},I8c=function(a){return a.getId()||""},J8c=function(a){return _.mJc[a.Gg()]},K8c=function(a){return _.oJc[a.getType()]},qRc=function(a,b){return[J8c,K8c,H8c,I8c].reduce(function(c,d){var e;0!=c?e=c:e=_.Ca(d(a),d(b));return e},0)},L8c=function(a,b,c,d,e,f,h){this.H=a;this.ta=b;this.V=c;this.ha=d;this.ka=e;this.W=f;this.ma=h};
L8c.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.NN&&8==b.Ib())){if(a instanceof _.LN&&b instanceof _.jO){var d=a.Bd();if(d&&_.Ck(d,6)){var e=b.kr();e&&e.Pd().forEach(function(f){(f=f.getCapabilities())&&_.aLc(f,_.E(d,6))})}}a instanceof _.$M||a instanceof _.bN||a instanceof _.cKc||a instanceof _.zM||a instanceof _.GN||a instanceof _.lKc||a instanceof _.KN?(b=_.HM(_.kl(b.getItem()),9),SO(this.H,[b],1)):a instanceof _.fN?(b=_.IM(_.EM(new _.DM,a.getId())),this.H.ta([b])):a instanceof
_.iN?(b=_.IM(_.cJc(_.EM(new _.DM,a.getId()),a.getId())),this.H.ta([b]),W6c(this.ta,b)):a instanceof _.lN?(b=(new _.Ge).to(!0),b=this.H.V.query(b).map(function(f){return _.IM(_.EM(new _.DM,f.getId()))}),this.H.ta(b)):"undefined"!=typeof _.dN&&a instanceof _.dN?this.V.remove(a.V()):"undefined"!=typeof _.nN&&a instanceof _.nN||"undefined"!=typeof _.DN&&a instanceof _.DN?this.V.oNa(_.B(b,_.iP,2)):"undefined"!=typeof _.gN&&a instanceof _.gN?pRc(this.H,a):"undefined"!=typeof _.ME&&a instanceof _.ME?this.ha.remove(a.getKey()):
"undefined"!=typeof _.oN&&a instanceof _.oN?rRc(this.H,a,b.Y2()):"undefined"!=typeof _.NE&&a instanceof _.NE?M8c(this.ha,b.nFa()):a instanceof _.cN||a instanceof _.HN?mQ(this.ka,[b.V()],!1):a instanceof _.jN?mQ(this.ka,[X7c(a.getId())],!1):a instanceof _.bKc?mQ(this.W,b.response.V(),!1,1):a instanceof _.EN?(a.JQ().filter(function(f){return _.E(f,3)}).forEach(function(f){return c.W.removeItem(f.Wl()||"",a.Mc())}),M7c(this.ma,a.Mc()),this.H.ab(a.Mc())):"undefined"!=typeof _.rO&&a instanceof _.rO&&a.V().forEach(function(f){switch(f.getFeature()){case 3:case 1:switch(f=
f.V(),f.getType()){case 1:case 2:if(f=c.H.V.H(f.Mc())){var h=new _.DM;h=_.x(h,5,!0);f=_.EM(h,f.getId()).setItem(_.kl(f));c.H.ta([f])}}}})}};var N8c=function(a){this.H=a};
N8c.prototype.V=function(a){if(a instanceof _.zN){var b=this.H.H(a.getId());if(!b)return new _.Cb;var c=(new _.zM).Ub(a.getId());if(b.Cc()){var d=b.getCapabilities();_.od(d)||d.V()?c.to(!0):_.AM(c,!1)}else d=a.getParent(),1==b.An()?c.to(!0):d?(b=this.H.H(d),!b||_.E(b.getCapabilities(),7)?zTc(c,[d]):_.AM(c,!1)):_.AM(c,!1);return c}if("undefined"!=typeof _.AN&&a instanceof _.AN)return BTc(ATc(zTc(yTc((new _.zM).Ub(a.getId()),a.C4a()),a.D4a()),a.E4a()),a.B4a());if(a instanceof _.$Jc){b=this.H.H(a.getId());
if(!b)return new _.Cb;c=(new _.zM).Ub(a.getId());b.Cc()?(d=b.getCapabilities(),_.od(d)||d.V()?c.to(!1):_.AM(c,!0)):(d=a.getParent(),1==b.An()?c.to(!1):d?(b=this.H.H(d),!b||_.Ql(b.getCapabilities())?yTc(c,[d]):_.AM(c,!0)):_.AM(c,!0));return c}return a instanceof _.yO?new _.cKc(a):"undefined"!=typeof _.pQ&&a instanceof _.pQ?a.V().map(function(e){var f=new _.EN;e=_.x(f,1,e);f=a.JQ();e=_.$k(e,2,f);f=a.De();return _.J(e,3,f)}):a};var O8c=function(){};
O8c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.sN&&a instanceof _.sN?(a=a.getId()||"",_.Qc(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.eN&&a instanceof _.eN&&(a=a.getId()||"",_.Qc(a)&&(b="Tried to delete backup with no id."));return b?_.vM(b):null};
var sRc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},P8c=function(a,b,c,d,e){_.NOc.call(this,a,b,d,e);this.Ba=c;this.ta=new o_c(this.ka,b);this.W=new k1c(this.AC);this.va=new s0c(this.AC,this.W);this.ha=null};_.M(P8c,_.NOc);var Q8c=function(a){a.ha||(a.ha=new Z0c(a.ka,a.Ba));return a.ha};
P8c.prototype.ma=function(a,b){if(a instanceof _.XM)return _.COc(_.ROc(a));if(a instanceof _.YM)return _.POc(this,a,b);if(a instanceof _.bKc)return R8c(this,a.request,b);if(a instanceof _.ZM)return _.POc(this,a,b);if(a instanceof _.aN){if(!b.json)throw _.CO();return DVc((new CVc).Fc(1),l1c(this.W,b.json))}if(a instanceof _.$M)return _.POc(this,a,b);if("undefined"!=typeof _.rO&&a instanceof _.rO)return new AUc;if(a instanceof _.cN)return S8c(a,b);if("undefined"!=typeof _.dN&&a instanceof _.dN)return o0c(void 0,
a.V());if("undefined"!=typeof _.eN&&a instanceof _.eN)return new a_c;if(a instanceof _.fN)return _.COc(_.ROc(a));if("undefined"!=typeof _.gN&&a instanceof _.gN)return new JP;if(a instanceof _.hN)return _.COc(_.ROc(a));if(a instanceof _.iN)return _.COc(_.ROc(a));if("undefined"!=typeof _.ME&&a instanceof _.ME)return b=new CZc,a=a.getKey(),_.J(b,4,a);if(a instanceof _.jN)return S8c(a,b);if(a instanceof _.lN)return _.COc(_.ROc(a));if(a instanceof _.ZJc){if(!b.json)throw _.CO();return new VXc(b.json.exportJob.id)}if("undefined"!=
typeof _.mN&&a instanceof _.mN){if(!b.json)throw _.CO();a=b.json;b=new yZc;a=n0c(a);return _.J(b,2,a).Fc(1)}if("undefined"!=typeof _.nN&&a instanceof _.nN)return T8c(a,b);if("undefined"!=typeof _.oN&&a instanceof _.oN){if(!b.json)throw _.CO();a=(new JP).Fc(1);b=_.DOc(this.AC,b.json);return _.J(a,2,b)}if(a instanceof _.hM){a:{if(!b.json)throw _.CO();if(a instanceof _.hM){if((a=a.Bd())&&_.pN(a)){b=P0c(this.V,this.H,b.json);break a}if(a&&_.qN(a)){b=O0c(this.V,this.H,b.json);break a}if(a&&_.rN(a)){b=
N0c(this.V,this.H,b.json);break a}}b=_.zOc(this.AC,b.json,b.headers)}return b}if("undefined"!=typeof _.sN&&a instanceof _.sN){if(!b.json)throw _.CO();return r0c(b.json)}if(a instanceof _.tN){if(!b.json)throw _.CO();b=b.json;_.zO(["drive#appList"],b);a=new HP;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(n0c(d[e]));a=_.$k(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Fc(1)}if("undefined"!=typeof _.uN&&a instanceof _.uN){if(!b.json)throw _.CO();return q0c(b.json)}if(a instanceof _.BM)return U8c(this,
b);if(a instanceof _.vN){if(!b.json)throw _.CO();a=new BZc;d=this.AC;e=b.json;c=new ZTc;d=_.EOc(d,e,"items");c=_.$k(c,2,d);a=_.J(a,1,c);return _.x(a,2,eZc(b.json))}if("undefined"!=typeof _.wN&&a instanceof _.wN){if(!b.json)throw _.CO();a=this.AC;d=b.json;b=new aUc;_.zO(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.AOc(a,d[e]);c.push(f)}return _.$k(b,2,c)}if("undefined"!=typeof _.vO&&a instanceof _.vO)return V8c(a,b);if(a instanceof _.xN){if(!b.json)throw _.CO();return j1c(b.json)}if(a instanceof
_.iKc){if(!b.json)throw _.CO();return c1c(Q8c(this),b.json)}if(a instanceof _.nH){if(!b.json)throw _.CO();a=Q8c(this);c=b.json;b=new PZc;a=b1c(a,c);return _.J(b,2,a).Fc(1)}if(a instanceof _.yN){if(!b.json)throw _.CO();b=b.json;_.zO(["drive#remainingCount"],b);a=new QZc;c=b.nextPageToken;null!=c&&_.x(a,2,Number(c));_.x(a,1,Number(b.remainingCount));return a}if(a instanceof _.Vp){if(!b.json)throw _.CO();return(new _.rD).vy([l1c(this.W,b.json)])}if(a instanceof _.LN){if(!b.json)throw _.CO();a=(new _.rD).vy(m1c(this.W,
b.json));a=_.eMc(new _.jO,a);return _.x(a,3,eZc(b.json))}if("undefined"!=typeof _.DN&&a instanceof _.DN)return T8c(a,b);if(a instanceof _.EN)return R8c(this,a,b);if(a instanceof _.zM)return _.POc(this,a,b);if(a instanceof _.FN)return _.POc(this,a,b);if(a instanceof _.GN)return W8c(this,b);if("undefined"!=typeof _.NE&&a instanceof _.NE){if(!b.json)throw _.CO();b=o1c(b.json);a=new CZc;a=_.J(a,3,b);b=b.getKey();return _.J(a,4,b)}if(a instanceof _.HN)return S8c(a,b);if(a instanceof _.IN){if(!b.json)throw _.CO();
return q_c(this.ta,b.json)}if("undefined"!=typeof _.JN&&a instanceof _.JN){if(!b.json)throw _.CO();b=q1c(b.json);a=new _.IO;a.lQ().set(b.getId(),b);return a}if(a instanceof _.aKc){if(!b.json)throw _.CO();a=b.json;b=new OXc;a=_.v(Object.entries(a));for(c=a.next();!c.done;c=a.next())switch(d=_.v(c.value),c=d.next().value,d=d.next().value,c){case "nextPageToken":_.Tk(b,2,d);break;case "activities":c=j0c(d),_.$k(b,1,c)}return b}if(a instanceof _.cKc)return W8c(this,b);if("undefined"!=typeof _.gKc&&a instanceof
_.gKc)return U8c(this,b);if(a instanceof _.dKc){if(!b.json)throw _.CO();return new UXc}if(a instanceof _.eKc){if(!b.json)throw _.CO();return vRc(b)}if(a instanceof _.hKc){if(!b.json)throw _.CO();c=b.json;b=new _.Tp;_.zO(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=o1c(c[d]))&&a.push(e);return _.Vva(b,a)}if(a instanceof _.Up){if(!b.json)throw _.CO();return u1c(this.V,this.H,b.json).Fc(1)}if("undefined"!=typeof _.CN&&a instanceof _.CN){if(!b.json)throw _.CO();return s1c(this.V,
this.H,b.json)}if(a instanceof _.nKc){if(!b.json)throw _.CO();a=b.json;_.zO(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new xZc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.mKc)return new WXc(eZc(b.json?b.json:{}));if(a instanceof _.oKc)return new XXc;if(a instanceof _.pKc){if(!b.json)throw _.CO();return r1c(b.json)}};
var S8c=function(a,b){if(!b.json){if(a instanceof _.jN)return v1c({});throw _.CO();}return v1c(b.json)},W8c=function(a,b){if(!b.json)throw _.CO();a=l1c(a.W,b.json);return(new _.NN).Fc(1).setItem(a)},R8c=function(a,b,c){if(!c.json)throw _.CO();return a1c(Q8c(a),b,c.json)},T8c=function(a,b){if(!b.json)throw _.CO();return o0c(b.json,a.V())},U8c=function(a,b){if(!b.json)throw _.CO();a=a.va;var c=b.json;_.zO(["drive#about","drive#changeList"],c);b=new AZc;var d=c.nextPageToken;null!=d&&_.x(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.x(b,3,Number(d));if("drive#changeList"==c.kind){_.zO(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.zO(["drive#change"],h);var k=new _.DM;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.cJc(k,h.teamDriveId),_.EM(k,h.teamDriveId)):_.EM(k,h.fileId);h.file?k.setItem(_.xOc(f.H,h.file)):h.teamDrive&&k.setItem(l1c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.IM(k);d.push(k)}_.$k(b,4,d)}return b},V8c=function(a,b){var c=new c_c;if(a.V().length){var d=
[];EQc(a.V(),b.headers).forEach(function(e,f){var h=new _.LFc;e=_.x(h,1,f).Sb(e);d.push(e)});_.$k(c,1,d)}d_c(c,b.json?JSON.stringify(b.json):b.text);return c},X8c=function(a){var b=new _.Qq;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.qJc[a]);_.oO(b,c.join(" "))}return b.toString()},Y8c=function(a,b,c,d){_.$Oc.call(this,b,c,d,a.wb);this.ma=a;this.ta=new lYc(_.xO(d),b)};_.M(Y8c,_.$Oc);
Y8c.prototype.W=function(a,b,c){var d=this;try{return _.$Oc.prototype.W.call(this,a,b,c)}catch(P){}var e=0,f={},h="GET",k={},l=!1;if(a instanceof _.YM){h="POST";var n="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var p=fZc(a);f["content-type"]="application/json";l=!0}else if(a instanceof _.ZM){h="POST";n="files/"+a.Mc()+"/authorize";k.appId=_.y(a,1);_.E(a,3)&&(k.propagate=!0);var r=a.De();l=!0;_.wO(this.H,k);_.QN(this.H)&&_.DO(this,[a.Mc()],
f)}else if(a instanceof _.cKc)h="POST",n="teamdrives/"+a.requestId,k.fields=AP(this.H),p={},p=(p.name=a.request.getTitle(),p),f["content-type"]="application/json",l=!0;else if(a instanceof _.cN)h="POST",n="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",p=hZc(a),f["content-type"]="application/json",r=a.De(),l=!0;else if(a instanceof _.$M)h="POST",n="files/"+a.getId()+"/copy",k.fields=_.QJc({fields:this.Lg(c),ky:_.mM(this.H.xf()),SL:_.yM(this.H)}),k.convert=_.C(a,4,!1),p=gZc(a),
f["content-type"]="application/json",r=a.De(),_.QN(this.H)&&(a=_.md(a,3).concat([a.getId()]),_.DO(this,a,f)),l=!0,_.wO(this.H,k),_.aPc(this.H,k);else if("undefined"!=typeof _.dN&&a instanceof _.dN)h="DELETE",n="apps/"+a.V(),k.appId=a.V(),k.deleteAppData=!!a.W(),r=a.De(),l=!0;else if("undefined"!=typeof _.eN&&a instanceof _.eN)h="DELETE",n="backups/"+a.getId(),e=9;else if(a instanceof _.fN)h="DELETE",n="files/"+a.getId(),r=a.De(),l=!0,_.wO(this.H,k),_.aPc(this.H,k),_.QN(this.H)&&_.DO(this,[a.getId()],
f);else if("undefined"!=typeof _.gN&&a instanceof _.gN)h="DELETE",n="files/"+a.Mc()+"/permissions/"+a.V(),r=a.De(),l=!0,_.wO(this.H,k);else if(a instanceof _.hN)h="DELETE",n="files/"+a.Mc()+"/revisions/"+_.y(a,2),r=a.De(),l=!0,_.QN(this.H)&&_.DO(this,[a.Mc()],f);else if(a instanceof _.iN)h="DELETE",n="teamdrives/"+a.getId(),r=a.De(),l=!0;else if("undefined"!=typeof _.ME&&a instanceof _.ME)h="DELETE",a=a.getKey(),n="settings/"+_.y(a,2),_.Sp(a)&&(k.namespace=_.eJc[_.Sp(a)]),l=!0;else if(a instanceof
_.jN)h="DELETE",n="workspaces/"+a.getId(),r=a.De(),l=!0;else if(a instanceof _.lN)h="DELETE",n="files/trash",r=a.De(),l=!0,_.aPc(this.H,k);else if("undefined"!=typeof _.mN&&a instanceof _.mN)n="apps/"+a.V(),r=a.De(),l=!0,k.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";
else if("undefined"!=typeof _.sN&&a instanceof _.sN)n="backups/"+a.getId()+"/items",e=9,k.languageCode=XO(this.H.xf());else if("undefined"!=typeof _.nN&&a instanceof _.nN)h="POST",n="apps",k.appId=a.V(),r=a.De(),l=!0;else if("undefined"!=typeof _.oN&&a instanceof _.oN)h="POST",n="files/"+a.Mc()+"/permissions",k.fields=_.yM(this.H)?"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",
k.emailMessage=a.Y8a()||"",k.sendNotificationEmail=!a.M9a(),p={},1==a.Gg()?p.role="owner":3==a.Gg()?p.role="writer":4==a.Gg()?(p.role="reader",p.additionalRoles=["commenter"]):2==a.Gg()&&(p.role="reader"),1==a.getType()?p.type="user":2==a.getType()?p.type="group":3==a.getType()?p.type="domain":4==a.getType()?p.type="anyone":5==a.getType()&&(p.type="audience"),a.kb()&&(p.value=a.kb()),p.withLink=!a.f9a(),f["content-type"]="application/json",r=a.De(),l=!0,_.wO(this.H,k);else if(a instanceof _.ZJc)e=
8,h="POST",n="/v1/exports",f["content-type"]="application/json",p=_.md(a,1).map(function(P){if(_.QN(d.H)){a:{var S=d.ka;if(S.V[P])S=S.V[P];else{if(S.H&&(S=S.H.H(P))&&S.XF()){S=_.dm(S);break a}S=null}}if(null!==S)return{id:P,resource_key:{resource_key:S}}}return{id:P}}),p={archiveFormat:null,archivePrefix:_.y(a,2),conversions:null,items:p,locale:null};else if(a instanceof _.hM||"undefined"!=typeof _.rO&&a instanceof _.rO||a instanceof _.Up||"undefined"!=typeof _.CN&&a instanceof _.CN)if(b=a instanceof
_.hM?a.Bd():a,_.PN(b)){e=10;h="POST";n="/v1/items";f["content-type"]="application/json";p={};var u=9==_.cO(this.H)?"WEB_MOBILE":"WEB_DESKTOP",z={};z.applicationType=uYc(this.H);z.platformType=u;z.languageCode=XO(this.H.xf());z.timeZone=(new _.Aw).j3();z.requestType="LIVE_REQUEST";a instanceof _.hM&&(u=a.getOptions())&&_.C(u,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.Ge?_.pN(b)?(rYc(this.ta)?z.scenarioType="ONE_PICK":z.scenarioType="QUICK_ACCESS",2==_.aO(b)&&(p.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:_.md(b,33)[0]}),_.ZN(b).length&&(p.itemType=tYc(b))):_.qN(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.rN(b)&&(z.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.rO&&b instanceof _.rO?(n="/v1/userfeedback",p.userFeedback=b.V().map(function(P){var S=P.V(),da={},ca={};ca.feedbackType=EVc[S.getType()];da.item=ca;da.clientInfo=z;switch(P.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ca.itemId=S.Mc();break;case 3:z.scenarioType="QUICK_ACCESS";ca.itemId=S.Mc();break;case 2:z.scenarioType=
"DRIVE_WORKSPACES",ca.itemId=S.Mc(),ca.childItem=S.V().map(function(za){var oa={};oa.itemId=za.Mc();return oa})}return da})):b instanceof _.Up?z.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.CN&&b instanceof _.CN?(z.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",p.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.ZOc(a);"undefined"!=typeof _.rO&&b instanceof _.rO||(p.maxSuggestions=
b.Vh(),p.clientInfo=z)}else{r=b.De();l=!0;n="files";k.q=_.TMc(b);u=[];var A;(A=_.xM(this.H))&&_.C(A,4,!1)?(A=_.sa(this.Lg(c),this.Lg(c,b.Fi())),_.Ba(A)):A=_.ta(this.Lg(c));_.E(this.H,87)&&111==wRc(a)&&(A=A.filter(function(P){return 1!=P}));var F=void 0,L=!1;0<_.Xk(b,_.jm,5).length&&(F=_.y(this.H.Lf(),50),L=!0);k.fields=kQc({fields:A,ky:_.mM(this.H.xf()),S_:F||void 0,SL:_.yM(this.H),ngb:L});k.appDataFilter="NO_APP_DATA";0<_.Xk(b,_.YN,25).length&&(k.sources=_.MMc(b));0<b.$v().length&&(k.spaces=_.NMc(b));
a.ao()&&(k.pageToken=a.ao());(a=a.getOptions())&&_.Hk(a,1,1E3)&&(k.maxResults=_.Hk(a,1,1E3));_.C(b,36,!1)&&(k.includeUnsubscribed=!0);_.y(b,43)&&(k.rawUserQuery=_.y(b,43));_.wO(this.H,k);_.eO(this.H)&&(k.includeTeamDriveItems=!0,0<_.md(b,33).length&&2==_.aO(b)&&(a=_.md(b,33)[0],k.teamDriveId=a,u.push(a)),k.corpora=_.cMc[_.aO(b)]);_.E(b,18)&&(_.Mf(k,"corpora"),k.corpus="DOMAIN");_.QN(this.H)&&(a=_.Xk(b,_.lm,63),0<a.length?_.bPc(a,f):(a=_.$N(b),A=_.Xk(b,_.XN,35),F=_.Xk(b,_.XN,38),u=u.concat(a.filter(function(P){return!_.C(P,
2,!1)}).map(function(P){return P.kb()})).concat(A.map(function(P){return P.kb()})).concat(F.map(function(P){return P.kb()})),_.DO(this,u,f)));GQc(k,b.Jd());_.cPc(this.H,k);_.dPc(this.H,k)}else if(a instanceof _.tN){n="apps";switch(a.getType()){case 1:k.fields=_.sJc;break;case 2:k.fields=_.tJc;break;case 4:k.fields=_.uJc;break;case 3:e=5,n="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",
k.appQueryScope="all_webstore",b.yx=!0}k.languageCode=XO(this.H.xf());0<_.md(a,3).length&&(k.appFilterExtensions=_.md(a,3).join(","));0<_.md(a,4).length&&(k.appFilterMimeTypes=_.md(a,4).join(","));r=a.De();l=!0}else if("undefined"!=typeof _.uN&&a instanceof _.uN)n="backups",e=9,k.languageCode=XO(this.H.xf());else if(a instanceof _.BM)n="changes",k.includeDeleted=_.C(a,3,!0),k.includeSubscribed=_.C(a,4,!0),k.maxResults=_.Hk(a,2,100),k.startChangeId=_.y(a,1),k.fields=jQc({fields:this.Lg(c),S_:_.eO(this.H)?
AP(this.H,a.Fi()):void 0,ky:_.mM(this.H.xf()),SL:_.yM(this.H)}),k.appDataFilter="NO_APP_DATA",a.Cc()||(k.filters="DRIVE_DATASERVICE"),r=_.md(this.H.Lf(),31),r.length&&(k.spaces=_.Ee(r,function(P){return _.NFc[P]}).join(",")),_.wO(this.H,k),_.eO(this.H)&&(k.includeCorpusRemovals=!0,k.includeTeamDriveItems=!0,a.Cc()&&(k.teamDriveId=a.Cc())),r=a.De(),l=!0;else if(a instanceof _.vN)b=a.Bd(),n="files/"+b.getId()+"/permissions",k.fields=_.yM(this.H)?"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",a.ao()&&(k.pageToken=a.ao()),_.y(a,1)&&(k.maxResults=_.y(a,1)),r=b.De(),l=!0,_.wO(this.H,k),_.cPc(this.H,k),_.dPc(this.H,k),_.QN(this.H)&&_.DO(this,[b.getId()],f);else if("undefined"!=typeof _.wN&&a instanceof _.wN)k.fields=_.yM(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":
"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",k.maxResults=a.Vh(),n="files/"+a.Mc()+"/revisions",r=a.De(),l=!0,_.QN(this.H)&&_.DO(this,[a.Mc()],f);else if(a instanceof _.Vp)n="teamdrives/"+a.Am()[0],k.fields=AP(this.H,a.Fi()),r=a.De(),l=!0;else if(a instanceof _.mKc)h="POST",n="admin/files/migrateToTeamDrivePreFlight",p=iZc(a),f["content-type"]="application/json",l=!0,_.QN(this.H)&&_.DO(this,
a.request.V(),f);else if(a instanceof _.LN)r=a.Bd(),n="teamdrives",k.fields=bYc(this.H,r.Fi()),k.q=cYc(r),a.ao()&&(k.pageToken=a.ao()),(r=(r=a.getOptions())&&_.Hk(r,1,1E3))&&(k.maxResults=r),r=a.Bd().De(),l=!0;else if(a instanceof _.nKc)n="teamdrives/"+a.Cc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",l=!0;else if("undefined"!=typeof _.DN&&a instanceof _.DN)h="PUT",n="apps/"+a.V(),k.appId=a.V(),p={},p.useByDefault=a.ma(),a.W()&&(p.hasAppData=!1),f["content-type"]="application/json",
r=a.De(),l=!0;else if(a instanceof _.zM)h="PUT",n="files/"+a.getId(),k.fields=_.QJc({fields:this.Lg(c),ky:_.mM(this.H.xf()),SL:_.yM(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.E(a,15),k.fileId=a.getId(),_.md(a,9).length&&(k.addParents=_.md(a,9).join(",")),_.md(a,10).length&&(k.removeParents=_.md(a,10).join(",")),_.md(a,31).length&&(k.addWorkspaces=_.md(a,31).join(",")),_.md(a,32).length&&(k.removeWorkspaces=_.md(a,32).join(",")),null!=_.E(a,24)&&(k.confirmed=_.E(a,24)),k.languageCode=
XO(this.H.xf()),p=jZc(a),f["content-type"]="application/json",r=a.De(),l=!0,_.wO(this.H,k),this.V(a.getId(),k),_.E(a,36)?k.bypassMultiparentingCheck=!0:_.aPc(this.H,k),_.QN(this.H)&&(b=_.Xk(a,_.lm,38),b.length?_.bPc(b,f):(b=_.md(a,9).concat(_.md(a,10)),b.push(a.getId()),_.DO(this,b,f)));else if(a instanceof _.FN)h="PUT",n="files/"+a.Mc()+"/revisions/"+_.y(a,2),p=kZc(a),f["content-type"]="application/json",r=a.De(),_.QN(this.H)&&_.DO(this,[a.Mc()],f);else if(a instanceof _.GN)n="teamdrives/"+a.getId(),
null!=a.zm()?(h="POST",n+="/"+(a.zm()?"hide":"unhide")):(h="PUT",p=lZc(a),f["content-type"]="application/json"),k.fields=AP(this.H),r=a.De(),l=!0;else if(a instanceof _.HN)h="PUT",n="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",p=mZc(a),f["content-type"]="application/json",r=a.De(),l=!0;else if("undefined"!=typeof _.NE&&a instanceof _.NE)h="PUT",p=a.V(),r=p.getKey(),n="settings/"+_.y(r,2),(r=_.Sp(r))&&(k.namespace=_.eJc[r]),p=jRc(p),f["content-type"]="application/json",
r=a.De(),l=!0;else if(a instanceof _.IN)n="about",k.fields=_.yM(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)":"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)",
k.fields=xRc(k.fields,this.H),r=a.De(),l=!0;else if("undefined"!=typeof _.vO&&a instanceof _.vO){e=11;h=a.ox();n=a.getUrl();var I=a.ta()||"";a.Ba().forEach(function(P){f[P.getKey()]=P.kb()});a.Ea().forEach(function(P){k[P.getKey()]=P.kb()});a.Ha()&&(b.Mtb=!0);a.ma()&&(b.yx=!0);a.W()&&(b.kga=!0)}else a instanceof _.bKc?(b=a.request.Mc(),n="files/"+b+"/listCategoryMetadata",r=a.request.De(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Vh()&&(k.maxResults=a.request.Vh()),k.fields="kind,nextPageToken,categoryMetadata",
_.QN(this.H)&&_.DO(this,[b],f)):a instanceof _.EN?(f["content-type"]="application/json",h="POST",b=a.Mc(),n="files/"+b+"/updateCategoryMetadata",r=a.De(),p={categoryMetadata:a.JQ().map(function(P){var S=_.Xk(P,_.oH,2).map(function(ca){return{id:ca.getId(),userId:ca.qx(),setBooleanValue:_.E(ca,3),setTextValue:_.y(ca,4),setTextValues:_.md(ca,6),addTextValues:_.md(ca,5),setLongTextValue:_.y(ca,7),setSelectionValue:_.y(ca,8),setSelectionValues:_.md(ca,10),addSelectionValues:_.md(ca,9),setIntegerValue:_.y(ca,
11),setIntegerValues:_.md(ca,13),addIntegerValues:_.md(ca,12),setUserValue:_.y(ca,14),setUserValues:_.md(ca,16),addUserValues:_.md(ca,15),setDateStringValue:_.y(ca,17)}}),da={categoryName:P.Wl()};S.length?da.categoryAttributeValueDeltas=S:_.md(P,4).length?da.revertAttributeIds=_.md(P,4):_.E(P,3)&&(da.removeCategory=_.E(P,3));return da})},_.QN(this.H)&&_.DO(this,[b],f)):a instanceof _.xN?(e=13,n=_.mM(this.H.xf())?"/v2/people/public":"/v2/people",k.person_id=a.Am(),k["request_mask.include_container"]=
["PROFILE","DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.mM(this.H.xf())||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.iKc?(e=12,n="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Vh()&&(k.maxResults=a.request.Vh()),k.$outputDefaults=!0,k.languageCode=XO(this.H.xf())):
a instanceof _.nH?(e=12,n="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=XO(this.H.xf())):a instanceof _.aN?(f["content-type"]="application/json",h="POST",n="drives/"+a.Cc()+"/changeCategoryReferences",r=a.De(),l=!0,k.fields=AP(this.H,[157],!0),p={},b=_.Xk(a,_.Ul,2),b.length&&(p.addCategoryReferences=b.map(function(P){return{category:P.Wl()}})),a=_.Xk(a,_.Ul,3),a.length&&(p.removeCategoryReferences=a.map(function(P){return P.Wl()}))):"undefined"!=typeof _.JN&&
a instanceof _.JN?(n="workspaces/"+a.Am()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",r=a.De(),l=!0):a instanceof _.aKc?(e=7,h="POST",n="/v2/activity:query",f["content-type"]="application/json",p={},p.pageSize=a.pageSize,a.pageToken&&(p.pageToken=a.pageToken),b="items/"+a.request.getId(),a.request.E9a()?p.ancestorName=b:p.itemName=b,p.consolidationStrategy={legacy:{}}):a instanceof _.dKc?(e=8,h="POST",n="/v1/exports/"+a.H+":cancel"):a instanceof _.eKc?(e=8,n="/v1/exports/"+a.H):"undefined"!=
typeof _.gKc&&a instanceof _.gKc?(n="changes",k.fields="kind,largestChangeId",_.wO(this.H,k),_.eO(this.H)&&(k.includeTeamDriveItems=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId)),l=!0):a instanceof _.hKc?(n="settings",k.namespace=kRc(a.H),r=a.request.De(),l=!0):a instanceof _.pKc?(n="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Vh()&&(k.maxResults=a.request.Vh()),k.q=X8c(a.request),(r=_.B(a.request,
_.Wp,5))&&1==r.getType()&&(k.orderBy="title"),r=a.request.De(),l=!0):a instanceof _.yN?(n="changes/getRemainingCount",k.pageToken=_.y(a,2),_.Ck(a,3)&&(k.supportsTeamDrives=!0,k.includeTeamDriveItems=!0,k.teamDriveId=a.Cc()),r=a.De()):a instanceof _.XM?(f["content-type"]="application/json",h="POST",n="files/"+a.Mc()+"/sendAccessRequest",p={}):_.ZOc(a);l&&_.ePc(c,k);return _.fPc(e,n,k,f,h,r,p,I)};Y8c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.Zi().join(","):[]};
var Z8c=function(a,b){this.W=b||new Date;this.V=a;this.H=iQc(this.V)};Z8c.prototype.clone=function(){return new Z8c(this.V,this.W)};var $8c=function(){this.H=null;this.V=[]},a9c=function(a){return _.Ee(a.V,function(b){return _.Of(b)})};
$8c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new i_c;e.W=h_c(d.H);var f=_.Vg().substring(0,8);d=iQc(f);f=(new vZc).Ub(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=h_c(d);e.H=f_c(808464432,808464432);e.ha=41;c=String.fromCharCode;d=c.apply;b=new _.pk;if(e.W){f=e.W.V>>>0;var h=e.W.H>>>0;_.rk(b,1,1);var k=b.H;HRc(k,f);HRc(k,h)}e.V&&(f=e.V.V>>>0,h=e.V.H>>>0,_.rk(b,2,1),k=b.H,HRc(k,f),HRc(k,h));f=e.ha;null!=f&&(_.rk(b,3,5),HRc(b.H,f));
e.H&&(f=e.H.V>>>0,e=e.H.H>>>0,_.rk(b,4,1),h=b.H,HRc(h,f),HRc(h,e));e=_.sk(b);a["X-Google-DapperTraceInfo"]=_.m.btoa(d.call(c,null,e))}}};
var b9c=function(a,b,c,d,e,f,h,k,l,n,p,r,u,z,A,F,L,I,P,S,da,ca,za){this.q7=_.qi();var oa=new N8c(b.V);c=new z8c(b,f,new t8c(d,e,c),h,this.q7.promise,k,l,c);d=new L8c(b,n,p,r,u,d,e);this.W=new _.pMc;this.ka=new _.HNc(a,z);z=new Y8c(b,a,this.q7.promise,k);this.V=new P8c(k,a,A,F,L);k=new _.eOc(this.ka,this.W,z,this.V,I,P,S);b=b.V;L=this.W;I=this.q7.promise;S=S||void 0;F=a.Lf();L=new _.wNc(I,L,A,_.Hk(F,32,1073741824),_.Hk(F,21,1E3));L=new _.xNc(L);I=new _.xMc(_.Hk(F,59,2E3),_.Hk(F,60,2E4),_.Hk(F,61,6));
z={};z[1]=_.zNc(k,A);z[2]=_.ANc(k,F,da,P,I,A,S);z[3]=_.BNc(k,F,da,P,I,A,S,"batch");e=_.Hk(F,10,50);S?(n=new _.aNc(S.getState()),p=new _.WMc(S)):(n=new _.wMc(da,P),p=new _.uMc(P));b=new _.uO(A,k,[n,new _.BMc(e,_.Hk(F,11,100)),new _.tO(e),new _.yMc(I,A)],[new wYc(F,b),new vYc,new _.sO],[p,new _.fNc(F,I,S?S.getState():da,A)],"mutation");this.ha=(z[4]=b,z[5]=_.CNc(L,F,A),z[6]=_.BNc(k,F,da,P,I,A,S,"find_by_ids_batch"),z[7]=_.BNc(k,F,da,P,I,A,S,"xd4_batch"),z[8]=_.BNc(k,F,da,P,I,A,S,"xd4_immediate_batch",
1),z);this.q7.resolve(za?za:new _.DNc(new O8c,oa,this.ha,c,d,a,this.H.bind(this),ca))};b9c.prototype.H=function(){return _.Hf(this.ha,function(a){return gUc(a)})};
var c9c=function(a){var b=new Map,c=Date.now();_.Ef(a.ha,function(d,e){d=hUc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},e9c=function(a,b){var c=this;this.H=a;this.Ka=a.ta;this.Pa=b;this.va=null;this.ka=0;this.UJ=this.le=!1;this.ha=_.qi();this.Ba=null;this.W=a.H;b=_.YO(this.W);this.Ha=new _.gPc(_.Hk(b,2,37500),_.Hk(b,3,6E5));this.V=null;this.ta=a.wb;this.ma={};_.Ef(nZc,function(d){c.ma[d]=[]});this.Ma=this.Ea=!1;yP(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){qQ(c,"Initializing: loaded from local dump");
d9c(c)});yP(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){qQ(c,"Initializing: loaded from sdk backfill");d9c(c)});yP(a.ha,["mrK8ic","BNEDtc"],function(){qQ(c,"Updating: sdk backfill complete");c.B5().kg(_.nf)})},d9c=function(a){a.Ea||(a.Ea=!0,dQ(a.H).addCallback(function(b){a.ta.initialize().Zf(function(){a.va=b;a.setActive(!0)},function(c){c&&dUc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.RM(c));qQ(a,"Error initializing dump storage");a.VS()})}))};_.g=e9c.prototype;
_.g.tNa=function(a){this.le&&(this.ka+=a,this.ka>_.Hk(_.YO(this.W),1,500)&&this.update(3))};_.g.setActive=function(a){if((this.va||this.UJ)&&this.le!=a){var b=this.H;a&&(b.Lb.H()||0<b.V.va.W||b.ka.Ze()||b.Gh.Ze())||((this.le=a)?(this.ha.resolve(),this.V||this.B5().kg(_.nf)):(this.ha=_.qi(),_.m.clearTimeout(this.Ba)))}};_.g.VS=function(){this.UJ=!0};_.g.pIa=function(){return this.V?this.V.promise:_.li()};
_.g.B5=function(){var a=this;if(this.V)return this.V.promise;this.V=_.qi();_.ri(this.V.promise,function(){a.V=null});var b=this.Ka.V(106021)||void 0;this.ha.promise.then(function(){return D4c(a.H.Ea)}).then(function(c){var d=!c;return a.UJ?d:_.oi([f9c(a,3,d,void 0,void 0,b),f9c(a,0,d,void 0,!0,b),f9c(a,1,d,void 0,!0,b),f9c(a,5,d,void 0,!0,b),f9c(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Db("Failed to update dump",void 0,_.RM(e));return _.mi(e)})},function(){return _.mi(Error("hg"))}).then(function(c){a.V.resolve(c);
b&&(c=pUc(b),_.x(c,2,!0),b.V())},function(c){a.V.reject(c);b&&(c=pUc(b),_.x(c,2,!1),b.V())});return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.vi,e=this.Ka.V(106021)||void 0;e&&(UTc(pUc(e),_.FO(_.SIc,a)),d.then(function(){var f=pUc(e);_.x(f,2,!0);e.V()},function(){var f=pUc(e);_.x(f,2,!1);e.V()}));this.ha.promise.then(function(){return D4c(c.H.Ea)}).then(function(f){f=!f;c.UJ?d.callback():_.yi(f9c(c,a,f,b,void 0,e),d)});return d};
var f9c=function(a,b,c,d,e,f){var h=_.ba(a.ma[b]);if(h){if(h.encrypt==c&&1<a.ma[b].length)return h.Ve.Sl();var k=new _.vi;_.xi(h.Ve,function(){_.yi(g9c(a,b,c,d,e,f),k)})}else k=g9c(a,b,c,d,e,f);var l={encrypt:c,Ve:k};a.ma[b].push(l);_.xi(k,function(){_.ra(a.ma[b],function(n){return l==n})});k.Se(function(n){a.ta.V.mg()?a.VS():n instanceof _.Db&&(n=n.V||null,n instanceof _.oM&&"InvalidStateError"==n.getName()&&n.message&&-1<n.message.indexOf("The database connection is closing.")&&a.VS());return null});
return k},g9c=function(a,b,c,d,e,f){var h=new _.vi;a.ha.promise.then(function(){if(3==b)_.yi(h9c(a,d||!1,c,f),h);else{switch(b){case 0:var k=a.H.Wb;k=k.H?_.kl(k.H):null;break;case 1:k=a.H.Ac.fua();break;case 5:k=i9c(a.H.Ka);break;case 6:k=a.H.V.ma;k=GZc(new FZc,S5c(k.H));break;default:h.Qd("Invalid data type to write to storage.");return}if(k){var l=_.Xk(_.YO(a.W),WO,11)[0].getKey();!l&&c?(qQ(a,"Skipping dump update, encrypted and no key"),h.callback()):o4c(a.ta,c?l:null,[k],f).then(h.callback,h.Qd,
h)}else e?(qQ(a,"Skipping dump update: "+b),h.callback()):h.Qd("Failed to get data to write to dump.")}});return h},h9c=function(a,b,c,d){_.m.clearTimeout(a.Ba);a.Ba=_.m.setTimeout((0,_.N)(a.Wa,a),a.Ha.kb());if(b&&0==a.ka)return _.Ai();a.ka=0;var e=_.Xk(_.YO(a.W),WO,11)[0].getKey();if(!e&&c)return qQ(a,"Skipping dump update, encrypted and no key"),_.Ai();var f=[];_.Ef(MXc,function(k){0<k&&(k=j9c(a,k),k.length&&f.push(o4c(a.ta,c?e:null,k,d)))});var h=new _.vi;_.oi(f).then(function(){a.Ma&&cQ(a.H.Ea,
A4c,!0);h.callback()},h.Qd,h);return h};e9c.prototype.Wa=function(){_.tI(this.Ha);this.update(3,!0)};
var j9c=function(a,b){switch(b){case 1:return[k9c(a)];case 2:var c=(b=a.H.V.ka.H)?b.BA():[];c=l9c(a,_.Dc(bRc(c)));qQ(a,"Exporting "+c.length+" secondary dump items.");c.length>_.Hk(_.YO(a.W),5,2E4)&&(b&&N1c(b),c=[]);c=FXc(new wP,m9c(c));var d=a.H.V.ka;a=new gRc;(d=d.H)&&d.V&&(d=d.BA(),_.x(a,3,d.length));c=_.J(c,11,a);c=LXc(c,2);b&&JXc(c,b.mY());return[c];case 3:return n9c(a);case 4:return o9c(a);default:throw new _.Db("Unsupported CacheType");}},k9c=function(a){var b={},c=[],d=_.C(a.W,79,!1),e=C2c(a.H.V.ka,
d);d=!0;for(var f=0;f<e.length;f++){var h=e[f],k=h.BA(),l=l9c(a,aRc(k));k=l.length;var n=0<k?l[k-1]:null;_.Ga(l,function(p){b[p.getId()]=p});if(0<k||h.W)l=CXc(new vP,h.Bd()),h.W||(_.x(l,2,k),_.J(l,3,n),d=!1),c.push(l)}e=_.Dc(b);qQ(a,"Exporting "+e.length+" initial dump items.");return JXc(LXc(IXc(FXc(GXc(KXc(HXc(new wP,a.H.zo()),_.xO(a.Pa)),a.va.rNa(null)),m9c(e)),c),1),!d)},n9c=function(a){if(!_.eO(a.W))return[];var b=[],c=a.va;_.ta(a.H.V.ka.V).forEach(function(d){var e=c.rNa(d.Cc());if(e){var f=
l9c(a,aRc(d.BA()));qQ(a,"Exporting "+f.length+" TD dump items for: "+d.Cc());e=JXc(LXc(GXc(FXc(new wP,m9c(f)),e),3),d.mY(d.Bd()));d=CXc(new vP,d.Bd());IXc(e,[d]);b.push(e)}});return b},o9c=function(a){if(!_.eO(a.W))return[];var b={},c=[];T6c(a.H.V).forEach(function(d){1==d.H&&(aRc(d.BA()).forEach(function(e){b[e.getId()]=e}),d=DXc(CXc(new vP,new _.Ge),d.Bd()),c.push(d))});return[JXc(LXc(IXc(FXc(new wP,m9c(Object.values(b))),c),4),!1)]},l9c=function(a,b){b=$Qc(b);_.E(a.W,67)&&(b=p9c(b));_.yM(a.W)&&
(b=g6c(a.H.V.ma,b));return b.filter(function(c){return 4!=PO(c)})},p9c=function(a){var b=[];a=_.v(a);for(var c=a.next();!c.done;c=a.next())c=c.value,AQc(c)?(c=c.clone(),lQc(c,zQc),b.push(c)):b.push(c);return b},m9c=function(a){return a.map(function(b){return _.kl(b)})},qQ=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};e9c.prototype.nta=function(){this.Ma=!0};var q9c=function(){};_.g=q9c.prototype;_.g.setActive=function(){};_.g.VS=function(){};_.g.update=function(){return _.Ai()};
_.g.pIa=function(){return _.li()};_.g.B5=function(){return _.li()};_.g.tNa=function(){};_.g.nta=function(){};
var TO=function(a,b,c,d){_.R.call(this);var e=this;this.W=d||new _.lMc;this.Ff=a;this.H=b.clone();this.Wa=new _.XNc(this.H);this.ma=new lYc(_.xO(this.Wa),this.H);r9c(this);this.xd=new _.Go;this.Ls=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.xd.resolve();e.ta.H(106020)},1E4);this.qj=null;this.ef=new _.vi;this.Wn=!0;this.ka=new _.vPc(_.dO(this.H),_.C(this.H.Lf(),52,!1));this.Gh=new _.mPc(_.dO(this.H)?3:1,!_.C(this.H.Lf(),52,!1));this.ta=_.NPc(this.H,this.ka,
this.Gh,this.W,this.xd.promise,c);this.Ef=null;this.bk=new D5c(this.ta);this.hc=new _.vi;this.Wf=[];s9c(this)};_.M(TO,_.R);
var t9c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.Ls);a.xd.resolve()},s9c=function(a){var b=function(){u9c(a).kg(_.nf)},c=a.Ff;(c=c&&_.yb(c,_.tl))?_.$d(c,"A",b):_.WHc()||_.$d(_.m,"unload",b)},u9c=function(a){a.ta.H(106005);uUc(a.ta);var b=a.Wf.map(function(c){return c()});_.ma(a.Wf);return _.pi(b).then()},v9c=function(a,b){a.Wf.push(b)},O2c=function(a,b,c){"string"===typeof b&&null===a.qj&&(a.qj=b,a.ef.callback(b),b.length&&a.vp(b,c||null))};
TO.prototype.vp=function(){};TO.prototype.zo=function(){return this.qj};var w9c=function(a){if(!a.Ef)throw Error("ig");return a.Ef},x9c=function(a,b){a.Ef=b};TO.prototype.nNa=function(){return this.Wn||this.Gh.isConnected()};TO.prototype.Lt=function(a){this.hc.callback(a)};
var r9c=function(a){var b=a.H.Lf();0==_.md(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.x(b,19,3));if(!_.D(b,37,""))throw Error("jg");_.y(b,57)||(a.log("No root URI provided; using prod default."),_.x(b,57,"https://clients6.google.com"));if(_.C(_.YO(a.H),9,!1))if(b=_.Xk(_.YO(a.H),WO,11),0<b.length){if(!_.y(b[0],1)||!b[0].getKey()&&!_.dO(a.H)&&!_.C(a.H,10,!1))throw Error("kg");}else _.x(_.YO(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.C(_.YO(a.H),9,!1)&&(_.dO(a.H)||_.C(a.H,10,!1)))throw Error("lg");var c=a.H.xf();b=!(!c||!_.mM(c));c=c&&_.bO(c)||"";if(!b&&!c)throw Error("mg");b&&_.lM(a.H,44);_.Xk(a.H,_.Ge,44).forEach(function(d){try{pYc(a.ma,d)}catch(e){if(e instanceof _.Db&&(d=e.Ug)&&3==d.er())throw Error("ng");throw e;}})};TO.prototype.mNa=function(){return 0};TO.prototype.rb=function(a){this.dispatchEvent(new _.Eb(new _.Db(void 0,a)))};TO.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var y9c=function(a,b){this.H=a;this.V=b},z9c=function(a,b,c){_.R.call(this);this.ta=a;this.ka=b;this.ma=c;this.H=new Map;this.W=new Map;this.ha=6;this.V=null};_.M(z9c,_.R);
var Q2c=function(a,b,c,d,e){if((e=void 0===e?!1:e)&&!d.length){var f=new Set;b.forEach(function(p){(p=(p=p.getKey())&&_.Sp(p))&&f.add(p)});[].concat(_.Bc(f.values())).forEach(function(p){return void d.push(p)})}if(d.length){var h=_.vJc.has(c),k=new Map;d.forEach(function(p){k.set(p,new Map)});b.forEach(function(p){var r=p.getKey(),u=r&&_.Sp(r);r=r&&_.y(r,2);u=k.get(u);r&&u&&u.set(r,A9c(p))});var l=0,n=0;[].concat(_.Bc(k.keys())).forEach(function(p){var r=k.get(p),u=a.H.get(p);u?h&&(r.forEach(function(z){var A=
z.getKey();(A=u.get(A&&_.y(A,2)))&&_.jl(z,A)||l++}),[].concat(_.Bc(u.values())).forEach(function(z){z=z.getKey();r.has(_.y(z,2))||n++}),a.H.set(p,r),a.W.set(p,c)):(l+=r.size,a.H.set(p,r),a.W.set(p,c))});a.ta.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+b.length+" user prefs from "+c+(n?" (removed "+n+")":""));if(1!=a.ha||l){if(h||e)a.ha=1,zP(a.ka,"px2C2c");zP(a.ka,"rkYxSd")}(l||n)&&B9c(a,!h)}};z9c.prototype.oA=function(){return 0<this.H.size};
var B9c=function(a,b){b||a.V||(a.V=_.m.setTimeout(function(){_.m.clearTimeout(a.V);a.V=null;a.ma.update(5)},1E3));a.dispatchEvent(new _.Si("WPi0i"))},M8c=function(a,b){var c=b.getKey(),d=c&&_.Sp(c);c=c&&_.y(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=A9c(b);e&&_.jl(b,e)||(d.set(c,b),B9c(a))}};z9c.prototype.remove=function(a){var b=a&&_.Sp(a);a=a&&_.y(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&B9c(this)};
var i9c=function(a,b){var c=[];(b||[].concat(_.Bc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.Bc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.Bc(a.H.keys()));var d=new CUc;_.$k(d,1,c);_.x(d,2,b||[]);return d};
z9c.prototype.ZI=function(a){var b=this,c=i9c(this,a),d=new _.Tp;d.Fc(this.ha);_.Vva(d,c.Gy());_.J(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.wJc.has(f)&&Infinity>_.wJc.get(f)&&(e=f)});return new y9c(d,e)};
var A9c=function(a){a=a.clone();a.Dg()||a.Sb("");return a},C9c=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},D9c=function(a){return 127<a?a-256:a},E9c=function(a,b){return D9c(a[b])+(D9c(a[b+1])<<8)+(D9c(a[b+2])<<16)+(D9c(a[b+3])<<24)},VO=function(a,b,c,d,e,f){TO.call(this,a,b,c,d);var h=this;this.Bb=new _.ze;this.Na(this.Bb);this.No=_.qi();
this.ha=e?e:new TXc(this.W);this.ta.ha.V=this.ha;this.ab=_.C(_.YO(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?F9c(this,b):null;this.Pa=new eYc(XO(b.xf()));this.Ha=new MYc;this.ii=null;this.ee=_.qi();this.Ea=G9c(this,this.ab);this.wb=H9c(this,this.ab,b);this.va=I9c(this);this.V=new K6c(this,this.Wa);this.Wb=new w1c(this.H,this.V.ma,this.ha,this.W,this.va,function(k){return J9c(h,k)});this.Ac=new D1c(this.W,this.ha,this.va);this.Ka=new z9c(this.W,this.ha,this.va);
this.dm=new _.vi;this.yn=null;this.Kc=new F1c(this.In(),this.W,function(k){return void h.rb(k)});this.vc=_.C(this.H.Lf(),52,!1)?new _.OPc(this.Gh,this.In(),this.W):null;this.Ue=new G7c;this.Fd=null;this.Oo=_.qi();yP(this.ha,["mrK8ic"],function(){h.Oo.promise.then(function(){P2c(h,h.Fd)})});this.Ig=new _.vi;this.Rp=new _.JOc(this.H);this.Ma=new _.ZNc(this.H,this.V.V);this.wh=new p8c(this);this.ne=new J7c(this.ee.promise,this.In());this.wq=new L7c(this.In(),this.ne);this.Nc=new $8c;this.Aj=new d8c(this.ee.promise,
this.In(),this.W,this.H);this.Lb=new b9c(this.H,this.V,this.rb.bind(this),this.ne,this.wq,this.va,this.Ue,this.Wa,this.zo.bind(this),this.wh,this.Ac,this.Ka,this.Aj,this.Nc,this.W,this.Rp,this.xq.bind(this),this.Ma,this.Kc,this.vc,this.ka,this.Yib.bind(this),f);this.No.resolve(this.Lb);this.Ba=new F2c;this.Qp=new S7c(this);this.Uf=new z1c;this.Od=_.qi();this.hm=!1;this.Hm=_.qi();yP(this.ha,["BNEDtc"],function(){return h.Hm.resolve()});(this.Eb=_.D(b.xf(),6,"")||"")&&J9c(this,this.Eb);this.ik=null;
v9c(this,function(){h.va.VS();return _.li()})};_.M(VO,TO);
var F9c=function(a,b){var c=_.bO(b.xf()),d=_.cO(b),e=function(){},f=_.Xk(_.YO(b),WO,11);f=f[0]&&_.y(f[0],1);var h=new q3c(c,d,_.Hk(_.YO(b),10,0)||0,f||"",_.xO(a.Wa));_.dO(b)?c=a4c(c,d).then(function(l){return l?l:h}):_.C(b,10,!1)&&0<_.Hk(_.YO(b),8,432E6)?(b=K9c(a,c),c=a4c(c,d,b).then(function(l){return l&&(e=function(n){return n.bm(h).kg(function(){return null})},!l.ta)?l:h})):c=_.li(h);var k=new $P(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},K9c=function(a,
b){var c=_.Hk(_.YO(a.H),8,432E6);if(!_.dO(a.H)&&0<c){a=Math;var d=a.abs;b=_.Oka(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=E9c(b,e),h.b+=E9c(b,e+4),h.c+=E9c(b,e+8),C9c(h);h.c+=f;switch(k){case 11:h.c+=b[e+10]<<24;case 10:h.c+=(b[e+9]&255)<<16;case 9:h.c+=(b[e+8]&255)<<8;case 8:h.b+=E9c(b,e+4);h.a+=E9c(b,e);break;case 7:h.b+=(b[e+6]&255)<<16;case 6:h.b+=(b[e+5]&255)<<8;case 5:h.b+=b[e+4]&255;case 4:h.a+=E9c(b,e);break;case 3:h.a+=(b[e+2]&255)<<
16;case 2:h.a+=(b[e+1]&255)<<8;case 1:h.a+=b[e]&255}b=C9c(h);return d.call(a,b)%c}};VO.prototype.QC=function(a){var b=this;return this.ab?this.ab.mg()?_.mi(Error("og`"+L3c(this.ab))):D4c(this.Ea).then(function(c){var d=b.ab,e=[];e.push(b.va.pIa());e.push(a?d.bm():X3c(d));if(a===c)return _.oi(e).then(function(){return!1});!1===a&&(e.push(K3c(d)),(c=b.zo())&&e.push(cQ(b.Ea,w4c,c)));return _.oi(e).then(function(){return b.Ea.QC(a)},function(){return!1})}):_.mi(Error("pg"))};
var H9c=function(a,b,c){var d=null;b&&(d=new h4c(b,c,function(e){a.rb(e)},a.ta),d.initialize());return d},G9c=function(a,b){var c=new B4c(b||void 0);c.zo().then(function(d){d&&O2c(a,d,5)});b&&(D4c(c).then(function(d){a.ka.QC(d)}),_.oi([b.initialize(),a.xd.promise]).then(function(){L9c(a,c)},function(){}));return c},L9c=function(a,b){G4c(b).then(function(c){(!c||c<Date.now()-864E5)&&d4c(_.bO(a.H.xf()),_.cO(a.H),a.W).then(function(d){d&&(d=Date.now(),cQ(b,z4c,d))},function(){})})},I9c=function(a){if(!a.wb)return new q9c;
var b=new e9c(a,a.Wa);a.Bb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ze())});a.Bb.listen(a.Gh,[].concat(_.Bc(Object.values(PXc))),function(){return void b.setActive(a.Gh.isConnected())});return b};VO.prototype.Ks=function(a){this.yn=a;this.dm.callback(a)};var dQ=function(a){return a.dm.Sl()},M9c=function(a){return a.ab?a.ab.mg():null},N9c=function(a,b){a.ha.H("NSockf")?zP(a.ha,b):yP(a.ha,["NSockf"],function(){zP(a.ha,b)})};
VO.prototype.vp=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ha.H=a||"",this.ma.W=a||"",6!=b&&1!=b||cQ(this.Ea,w4c,a),N9c(this,"jroI5d"))};VO.prototype.xq=function(){return this.Eb};var J9c=function(a,b){_.C(a.H,15,!1)||(a.Eb=b,N9c(a,"NVkrgc"))};VO.prototype.Ql=function(){return this.Ig.Sl()};var P2c=function(a,b,c){0>b||(c?a.Fd?a.Fd=Math.max(a.Fd,b):(a.Fd=b,a.Oo.resolve()):a.Ig.sf()||(a.Ig.callback(b),N9c(a,"T8oKm")))},SP=function(a){if(!a.ii)throw Error("qg");return a.ii};_.g=VO.prototype;
_.g.In=function(){return this.No.promise.then(function(a){return a.q7.promise})};_.g.mta=function(){this.hm||(this.hm=!0,this.Od.resolve(),zP(this.ha,"aU7Ts"))};_.g.nNa=function(){throw Error("rg");};_.g.Yib=function(){this.Lb.H()||this.dispatchEvent("Pb")};_.g.mNa=function(){return this.V.V.W()};
var l5c=function(a){a.ik||(a.ik=new P7c(a.ee.promise,a.In(),a.W));return a.ik},O9c=function(a){_.rf("drive.DebugUtil.printFindById",function(c){a.uQ(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.rf("drive.DebugUtil.getLogs",function(){return _.oMc(a.Afa())});_.rf("drive.DebugUtil.printLogs",function(){window.console.log(_.oMc(a.Afa()))});_.rf("drive.DebugUtil.printRequestHistory",function(){a.cua().addCallback(function(c){c.forEach(function(d){window.console.log(_.y(d,1));
window.console.log(_.y(d,2))})})});_.rf("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Oa();b&&_.C(b,1,!1)&&(_.rf("drive.DebugUtil.getContext",function(){return a.getContext()}),_.rf("drive.DebugUtil.setOffline",function(c){return void a.bm(c)}))},rQ=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.Ba=a;this.Ma=b;this.Wa=c;this.Vb=e;this.ab=d;this.Pa=f;this.H=[];this.items=[];this.ta=6;this.Ea=yRc(new _.FM,[1]);this.va=!0;this.ha=e.Vh();this.W=!1;this.suggestionSessionId=
this.ma=this.ka=null;this.V=0;_.Kd(this,function(){h.W=!1;h.H=[]})};_.M(rQ,_.R);_.g=rQ.prototype;_.g.Hi=function(){return String(_.Aa(this))};_.g.Ae=function(){return this.W};_.g.activate=function(){this.W=!0;_.ka(this.items)&&6==this.Ib()&&this.nk()||P9c(this)};_.g.Bd=function(){return this.Vb};_.g.Vh=function(){return this.ha};_.g.Ib=function(){return this.ta};_.g.Zr=function(){return this.Ea};_.g.nk=function(){return this.va};
_.g.fr=function(){var a=_.LM(_.MM.Jb(),this.H,this.items),b=(new zUc).Fc(this.Ib());a=_.$k(b,2,a);this.H=this.items;return a};_.g.gs=function(a){this.W&&(this.ha+=a||50,this.ab(this.Hi(),this.ha))};var Q9c=function(a,b){return a.Ib()!=b.Ib()||ZO(_.MM.Jb(),a.items,b.Pd())},R9c=function(a,b){a.items=b.Pd();a.ta=b.Ib();_.yM(a.Pa)&&(a.Ea=zRc(a.ta,a.items));a.va=b.Kna();a.V=b.zf()};
rQ.prototype.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a query after "+a.JG+" retries.",a.error)))};rQ.prototype.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};rQ.prototype.ys=function(a,b){var c=this;b+="\n\n\nQuery:\n"+CP(this.Ba,this.Bd());return _.Bi(this.Ma.then(function(d){return d.ka(a,b,c.Bd(),c.Vh(),c.items)}))};
var P9c=function(a){a.Ae()&&(S9c(a,"Livelist "+a.Hi()+" returning "+a.items.length+". Status: "+(_.Pf(EUc)[a.Ib()]+". Datasource: ")+(_.Pf(qVc)[a.V]+". Query: ")+CP(a.Ba,a.Vb)),T9c(a,a.items,a.Vb),a.dispatchEvent(new _.Si(_.rc,a)))},T9c=function(a,b,c){if(_.pN(c))c="quick access";else if(_.qN(c))c="people predict";else if(_.rN(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");S9c(a,"Livelist "+a.Hi()+" returning "+a.items.length+" for "+(c+": "+b))};
rQ.prototype.refresh=function(){};var S9c=function(a,b){a.Wa.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.q("sy13b");
var sQ=function(a){_.T(this,a,0,-1,null,null)};_.O(sQ,_.K);sQ.prototype.getType=function(){return _.y(this,1)};var U9c=function(a){var b=new sQ;return _.x(b,1,a)};sQ.prototype.Y2=function(){return _.B(this,_.Kl,2)};var V9c=function(a,b){return _.J(a,2,b)};sQ.prototype.Yv=function(){return _.y(this,3)};sQ.prototype.Fw=function(a){return _.x(this,3,a)};sQ.prototype.yh=function(){return _.y(this,4)};sQ.prototype.setPosition=function(a){return _.x(this,4,a)};
var tQ=function(a){_.T(this,a,0,-1,null,null)};_.O(tQ,_.K);tQ.prototype.getType=function(){return _.y(this,1)};var W9c=function(a){var b=new tQ;return _.x(b,1,a)},X9c=function(a,b){return _.J(a,2,b)};tQ.prototype.Yv=function(){return _.y(this,3)};tQ.prototype.Fw=function(a){return _.x(this,3,a)};tQ.prototype.yh=function(){return _.y(this,4)};tQ.prototype.setPosition=function(a){return _.x(this,4,a)};
var uQ=function(a){_.T(this,a,0,-1,null,null)};_.O(uQ,_.K);uQ.prototype.getType=function(){return _.y(this,1)};var Y9c=function(a){var b=new uQ;return _.x(b,1,a)},Z9c=function(a,b){return _.J(a,2,b)};uQ.prototype.Yv=function(){return _.y(this,3)};uQ.prototype.Fw=function(a){return _.x(this,3,a)};uQ.prototype.yh=function(){return _.y(this,4)};uQ.prototype.setPosition=function(a){return _.x(this,4,a)};
var a$c=function(a){_.T(this,a,0,-1,$9c,null)};_.O(a$c,_.K);var $9c=[2];a$c.prototype.Ib=function(){return _.y(this,1)};a$c.prototype.Fc=function(a){return _.x(this,1,a)};a$c.prototype.Vj=function(){return _.y(this,3)};
var b$c=function(a){_.T(this,a,0,-1,null,null)};_.O(b$c,_.K);
var d$c=function(a){_.T(this,a,0,-1,c$c,null)};_.O(d$c,_.K);var c$c=[2];d$c.prototype.Ib=function(){return _.y(this,1)};d$c.prototype.Fc=function(a){return _.x(this,1,a)};d$c.prototype.dk=function(){return _.Xk(this,_.HJc,2)};d$c.prototype.Sp=function(a,b){return _.gl(this,2,a,_.HJc,b)};
var f$c=function(a){_.T(this,a,0,-1,e$c,null)};_.O(f$c,_.K);var e$c=[2];f$c.prototype.Ib=function(){return _.y(this,1)};f$c.prototype.Fc=function(a){return _.x(this,1,a)};f$c.prototype.Kj=function(){return _.Xk(this,tQ,2)};
var g$c=function(a){_.T(this,a,0,-1,null,null)};_.O(g$c,_.K);g$c.prototype.Ib=function(){return _.y(this,1)};g$c.prototype.Fc=function(a){return _.x(this,1,a)};
var i$c=function(a){_.T(this,a,0,-1,h$c,null)};_.O(i$c,_.K);var h$c=[2];i$c.prototype.Ib=function(){return _.y(this,1)};i$c.prototype.Fc=function(a){return _.x(this,1,a)};i$c.prototype.Kj=function(){return _.Xk(this,uQ,2)};
var j$c=function(a){_.T(this,a,0,-1,null,null)};_.O(j$c,_.K);j$c.prototype.getType=function(){return _.y(this,1)};var k$c=function(a){var b=new j$c;return _.x(b,1,a)};j$c.prototype.Yv=function(){return _.y(this,3)};j$c.prototype.Fw=function(a){return _.x(this,3,a)};j$c.prototype.yh=function(){return _.y(this,4)};j$c.prototype.setPosition=function(a){return _.x(this,4,a)};
var m$c=function(a){_.T(this,a,0,-1,l$c,null)};_.O(m$c,_.K);var l$c=[2];m$c.prototype.Ib=function(){return _.y(this,1)};m$c.prototype.Fc=function(a){return _.x(this,1,a)};m$c.prototype.Vj=function(){return _.y(this,3)};
var o$c=function(a){_.T(this,a,0,-1,n$c,null)};_.O(o$c,_.K);var n$c=[2,4];o$c.prototype.Ib=function(){return _.y(this,1)};o$c.prototype.Fc=function(a){return _.x(this,1,a)};o$c.prototype.Vj=function(){return _.y(this,3)};
_.vQ=function(a){_.T(this,a,0,-1,null,null)};_.O(_.vQ,_.K);_.vQ.prototype.getType=function(){return _.y(this,1)};var p$c=function(a){var b=new _.vQ;return _.x(b,1,a)};_.vQ.prototype.gx=function(){return _.B(this,_.rZc,2)};var q$c=function(a,b){return _.J(a,2,b)};_.vQ.prototype.Yv=function(){return _.y(this,3)};_.vQ.prototype.Fw=function(a){return _.x(this,3,a)};_.vQ.prototype.yh=function(){return _.y(this,4)};_.vQ.prototype.setPosition=function(a){return _.x(this,4,a)};
var s$c=function(a){_.T(this,a,0,-1,r$c,null)};_.O(s$c,_.K);var r$c=[2,4];
var u$c=function(a){_.T(this,a,0,-1,t$c,null)};_.O(u$c,_.K);var t$c=[2];u$c.prototype.Ib=function(){return _.y(this,1)};u$c.prototype.Fc=function(a){return _.x(this,1,a)};u$c.prototype.Vj=function(){return _.y(this,3)};
var v$c=function(a){_.Si.call(this,"Rb");this.dataType=a};_.M(v$c,_.Si);
var w$c=function(a,b){_.Si.call(this,"Sb");this.ka=a;this.H=b};_.M(w$c,_.Si);
var x$c=function(){};_.g=x$c.prototype;_.g.eI=function(a,b){return xVc(wVc(1),a).setPosition(b)};_.g.cI=function(a,b){return xVc(wVc(2).setPosition(b),a)};_.g.CN=function(a,b,c){return xVc(wVc(3).Fw(b).setPosition(c),a)};_.g.HL=function(a,b){return xVc(wVc(4),a).setPosition(b)};_.g.GI=function(a){return _.B(a,eP,2)};
var y$c=function(){_.KM.call(this,new x$c,function(a){return a&&a.getName()})};_.M(y$c,_.KM);
var wQ=function(a,b,c){_.R.call(this);var d=this;this.ha=a;this.Gh=b;this.limit=c||50;this.he=new _.ze(this);this.Na(this.he);this.active=!1;this.status=6;this.Ka=yRc(new _.FM,[1]);this.ta=this.H=!1;_.Kd(this,function(){d.active=!1;d.he.removeAll()})};_.M(wQ,_.R);_.g=wQ.prototype;_.g.Hi=function(){return String(_.Aa(this))};_.g.Ze=function(){return this.ha.Ze()||this.Gh.Ze()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.he.listen(this.ha,"Cb",_.Ra(this.Or)),this.he.listen(this.Gh,[].concat(_.Bc(Object.values(PXc))),_.Ra(this.Or)),this.ha.Ze()?this.he.od(this.ha,"Cb",function(b){b.Ze()||(a.VD(),a.dispatchEvent(new _.Si(_.$r)))}):this.Gh.Ze()?this.he.od(this.Gh,["wb","yb"],function(){a.VD();a.dispatchEvent(new _.Si(_.$r))}):(this.VD(),this.dispatchEvent(new _.Si(_.$r))))};_.g.VD=function(){};
_.g.gs=function(a){var b=this;if(this.nk()){var c=this.limit;this.limit+=a||50;this.tc()>c&&this.Or();this.ha.Ze()?this.he.od(this.ha,"Cb",function(d){d.Ze()||b.TK()}):this.TK()}};_.g.MJ=function(){this.Ze()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ib=function(){return this.status};_.g.Zr=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.Eb(a))};_.g.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};_.g.nk=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.he.removeAll();this.activate()};_.g.TK=function(){};
var z$c=function(a,b,c,d,e){wQ.call(this,a,b,e.Vh()||void 0);this.Vb=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new y$c;this.va=c};_.M(z$c,wQ);_.g=z$c.prototype;_.g.VD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.getData=function(){return BVc(new hP,this.V).Fc(this.status)};_.g.fr=function(){var a=_.LM(this.ma,this.ka,this.V);this.ka=this.V;var b=(new zVc).Fc(this.status);return _.$k(b,2,a)};_.g.TK=function(){this.Ba(this.Hi(),this.limit)};
_.g.Or=function(){if(this.active){var a=this.status;this.MJ();if(this.W||a!=this.status)this.W=!1,A$c(this)}};_.g.tc=function(){return this.V.length};_.g.Bd=function(){return this.Vb};_.g.update=function(a){var b=a.response;if(this.status!=b.Ib()||ZO(0,this.V,b.V()))this.H=!0,this.status=b.Ib(),this.V=b.V(),this.ta=a.ha,A$c(this)};
var A$c=function(a){var b="Livelist "+a.Hi()+" returning "+a.V.length+" for "+a.Vb.Mc();a.va.info("drive.ds.sync.CategoryMetadataLiveList",b);a.dispatchEvent(new _.Si(_.rc,a))};z$c.prototype.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a category metadata query after "+a.JG+" retries.",a.error)))};
var B$c=function(a,b,c){_.R.call(this);var d=this;this.ka=a;this.Vb=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=yRc(new _.FM,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.Vb.Am().join(", "));_.Kd(this,function(){d.ha=!1;d.W=[]})};_.M(B$c,_.R);_.g=B$c.prototype;_.g.Hi=function(){return String(_.Aa(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.Bd=function(){return this.Vb};
_.g.getData=function(){this.W=this.H;var a=new _.GO;a.Fc(this.V);a.H=this.H;return a};_.g.fr=function(){var a=ARc(this.W,this.H),b=new uVc;b.Fc(this.V);b.H=a;this.W=this.H;return b};_.g.Ib=function(){return this.V};_.g.Zr=function(){return this.ma};_.g.RO=function(a){var b=this.Vb;this.Vb=a;this.ta.Ha(this.Hi(),b,a)};
_.g.update=function(a){if(this.V!=a.Ib()||BRc(this.H,a.Ut()))this.V=a.Ib(),this.H=a.Ut(),_.yM(this.ka.H)&&(this.ma=zRc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a team drive find-by-IDs query after "+a.JG+" retries.",a.error)))};_.g.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};
var C$c=function(a,b,c,d,e,f){rQ.call(this,a,b,c,e,f,d);this.Ka=null;this.Ha=void 0};_.M(C$c,rQ);C$c.prototype.getData=function(){this.H=this.items;var a=fTc((new _.rD).Fc(this.Ib()).vy(this.items),this.nk());a=_.J(a,7,this.Ka);return _.CLc(a.ML(this.ka).setSessionId(this.ma).l1(this.suggestionSessionId).j1(this.V),this.Ha)};C$c.prototype.update=function(a){Q9c(this,a)&&(R9c(this,a),this.Ka=a.h1(),this.ka=a.oI(),this.ma=a.getSessionId(),this.suggestionSessionId=a.i1(),this.Ha=a.yca(),P9c(this))};
var D$c=function(a,b){var c={};a=_.Ff(a,function(d){return!!d});b=_.Ff(b,function(d){return!!d});_.Ef(a,function(d,e){var f=b[e];f?_.jl(d,f)||(d=Z9c(Y9c(4),f),c[e]=d):(d=Z9c(Y9c(2),d),c[e]=d)});_.Ef(b,function(d,e){a[e]||(d=Z9c(Y9c(1),d),c[e]=d)});return c},E$c=function(a,b){return _.If(a)!=_.If(b)||!_.Lf(D$c(a,b))};
var F$c=function(a,b){_.R.call(this);this.Vb=b;this.le=!1;this.V=6;this.W={};this.H={}};_.M(F$c,_.R);_.g=F$c.prototype;_.g.activate=function(){this.le||(this.le=!0,_.Lf(this.H)&&6==this.V||this.dispatchEvent(new _.Si(_.rc,this)))};_.g.Ib=function(){return this.V};_.g.Zr=function(){return new _.FM};_.g.getData=function(){this.W=this.H;var a=(new _.IO).Fc(this.V);_.Ef(this.H,function(b,c){a.lQ().set(c,b||new _.pD)});return a};
_.g.fr=function(){var a=D$c(this.W,this.H);this.W=this.H;var b=(new g$c).Fc(this.V);_.Ef(a,function(c,d){_.Mk(b,2,uQ).set(d,c)});return b};_.g.RO=function(){throw Error("sg");};_.g.Hi=function(){return String(_.Aa(this))};_.g.Bd=function(){return this.Vb};_.g.update=function(a){var b={};a.lQ().forEach(function(c,d){c||(c=X7c(d));b[d]=c});if(this.V!=a.Ib()||E$c(this.W,b))this.V=a.Ib(),this.H=b,this.le&&this.dispatchEvent(new _.Si(_.rc,this))};
_.g.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a Workspace find by id after "+a.JG+" retries.",a.error)))};_.g.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};
var G$c=function(){};_.g=G$c.prototype;_.g.eI=function(a,b){return Z9c(Y9c(1),a).setPosition(b)};_.g.cI=function(a,b){return Z9c(Y9c(2).setPosition(b),a)};_.g.CN=function(a,b,c){return Z9c(Y9c(3).Fw(b).setPosition(c),a)};_.g.HL=function(a,b){return Z9c(Y9c(4),a).setPosition(b)};_.g.GI=function(a){return _.B(a,_.pD,2)};
var H$c=function(){_.KM.call(this,new G$c,function(a){return a&&a.getId()})};_.M(H$c,_.KM);
var I$c=function(a,b,c){wQ.call(this,a.ka,a.Gh,b.Vh()||10);this.Vb=b;this.va=c;this.W=[];this.V=[];this.ka=!1;this.ma=new H$c};_.M(I$c,wQ);_.g=I$c.prototype;_.g.VD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.getData=function(){this.W=this.V;return IZc((new KP).Fc(this.status),this.V.slice(0))};_.g.fr=function(){var a=_.LM(this.ma,this.W,this.V);this.W=this.V;var b=(new i$c).Fc(this.status);return _.$k(b,2,a)};_.g.TK=function(){this.va.W(this.Hi(),this.limit)};
_.g.Or=function(){var a=this.status;this.MJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Si(_.rc,this))};_.g.tc=function(){return this.V.length};_.g.Bd=function(){return this.Vb};_.g.update=function(a){var b=a.response;if(this.status!=b.Ib()||ZO(0,this.V,b.Kj()))this.H=!0,this.status=b.Ib(),this.V=b.Kj(),this.ta=a.V,this.dispatchEvent(new _.Si(_.rc,this))};
_.g.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a Workspace query after "+a.JG+" retries.",a.error)))};
var K$c=function(a,b,c,d,e,f){_.R.call(this);var h=this;this.ka=a;this.va=b;this.Vb=f;this.Ba=d;this.Ea=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=yRc(new _.FM,[1]);this.ta=c;J$c(this,"Creating find by ids live map: "+this.Vb.Am().join(", "));_.Kd(this,function(){h.ha=!1;h.W=[]})};_.M(K$c,_.R);_.g=K$c.prototype;_.g.Hi=function(){return String(_.Aa(this))};_.g.activate=function(){this.ha=!0;_.Lf(this.H)&&6==this.V||L$c(this)};_.g.Bd=function(){return this.Vb};
_.g.getData=function(){this.W=this.H;var a=new _.GO;_.yM(this.ka)?a.Fc(BQc(Object.values(this.H))?6:this.V):a.Fc(this.V);a.H=this.H;return a};_.g.fr=function(){var a=ARc(this.W,this.H),b=new uVc;b.Fc(this.V);b.H=a;this.W=this.H;return b};_.g.Ib=function(){return this.V};_.g.Zr=function(){return this.ma};_.g.RO=function(a){nYc(a);var b=this.Vb;this.Vb=a;this.Ea(this.Hi(),b,a)};
_.g.update=function(a){var b=this;0<=_.ia(this.Bd().Am(),"root")?this.Ba.addCallback(function(c){var d=a.Ut()[c];d&&(_.Mf(a.H,c),a.H.root=d);M$c(b,a)}):M$c(this,a)};var M$c=function(a,b){if(a.V!=b.Ib()||BRc(a.H,b.Ut()))a.V=b.Ib(),a.H=b.Ut(),_.yM(a.ka)&&(a.ma=zRc(a.V,Object.values(a.H))),L$c(a)};K$c.prototype.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a find-by-IDs query after "+a.JG+" retries.",a.error)))};K$c.prototype.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};
var L$c=function(a){a.ha&&(J$c(a,"Livelist "+a.Hi()+" returning "+(Object.values(a.H).length+". Status: ")+(a.Ib()+". Query: ")+CP(a.va,a.Vb)),a.dispatchEvent(new _.Si(_.rc,a)))},J$c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var N$c=function(a,b,c,d,e,f){rQ.call(this,a,b,c,d,e,f);this.Ha=[]};_.M(N$c,rQ);N$c.prototype.getData=function(){this.H=this.items;var a=(new _.HO).Fc(this.Ib()).vy(this.items);var b=this.nk();a=_.x(a,4,b);return xUc(a,this.Ha).ML(this.ka).setSessionId(this.ma).l1(this.suggestionSessionId).j1(this.V)};N$c.prototype.update=function(a){Q9c(this,a)&&(R9c(this,a),this.Ha=_.Xk(a,_.Kl,6),this.ka=a.oI(),this.ma=a.getSessionId(),this.suggestionSessionId=a.i1(),P9c(this))};
var O$c=function(){};_.g=O$c.prototype;_.g.eI=function(a,b){return X9c(W9c(1),a).setPosition(b)};_.g.cI=function(a,b){return X9c(W9c(2).setPosition(b),a)};_.g.CN=function(a,b,c){return X9c(W9c(3).Fw(b).setPosition(c),a)};_.g.HL=function(a,b){return X9c(W9c(4),a).setPosition(b)};_.g.GI=function(a){return _.B(a,jP,2)};
var P$c=function(){_.KM.call(this,new O$c,function(a){return a&&a.V()})};_.M(P$c,_.KM);
var Q$c=function(a,b,c){wQ.call(this,a.ka,a.Gh,b.Vh()||10);this.Vb=b;this.va=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new P$c;this.ma=null};_.M(Q$c,wQ);_.g=Q$c.prototype;_.g.VD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.getData=function(){this.ka=this.V;return WVc((new kP).Fc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.fr=function(){var a=_.LM(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new f$c).Fc(this.status);return _.$k(b,2,a)};
_.g.TK=function(){};_.g.Or=function(){var a=this.status;this.MJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Si(_.rc,this))};_.g.tc=function(){return this.V.length};_.g.Bd=function(){return this.Vb};_.g.update=function(a){if(this.status!=a.Ib()||ZO(0,this.V,a.Kj())){this.W=this.H=!0;this.V=a.Kj();if(a=a.getSessionId())this.ma=a;this.Or()}};_.g.refresh=function(){this.va()};
_.g.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a Suggested Workspace query after "+(a.JG+" retries."),a.error)))};
var R$c=function(a,b,c){_.R.call(this);var d=this;this.Vb=a;this.Ba=b;this.va=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.Vh();this.V=6;this.ta=yRc(new _.FM,[1]);this.W=!0;_.Kd(this,function(){d.ha=!1;d.ka=[]})};_.M(R$c,_.R);_.g=R$c.prototype;_.g.Hi=function(){return String(_.Aa(this))};_.g.activate=function(){this.ha=!0;_.ka(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.Si(_.rc,this))};_.g.Bd=function(){return this.Vb};_.g.Ib=function(){return this.V};_.g.Zr=function(){return this.ta};
_.g.nk=function(){return this.W};_.g.getData=function(){this.ka=this.H;return fTc((new _.rD).Fc(this.V).vy(this.H),this.W)};_.g.fr=function(){var a=_.LM(_.MM.Jb(),this.ka,this.H),b=(new zUc).Fc(this.V);a=_.$k(b,2,a);this.ka=this.H;return a};_.g.gs=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.Hi(),this.ma))};
_.g.update=function(a){if(this.V!=a.Ib()||ZO(_.MM.Jb(),this.H,a.Pd()))this.H=a.Pd(),this.V=a.Ib(),_.yM(this.va)&&(this.ta=zRc(this.V,this.H)),this.W=a.Kna(),this.ha&&this.dispatchEvent(new _.Si(_.rc,this))};_.g.LJ=function(a){this.dispatchEvent(new _.Eb(new _.Db("Error occurred running a Team Drive query after "+a.JG+" retries.",a.error)))};_.g.$M=function(){this.dispatchEvent(new _.Si(_.aEa))};_.g.ys=function(){throw Error("tg");};_.g.refresh=function(){};
var S$c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Aj;this.Ka=this.H.ne;this.ha={};this.Ba={};this.Ea={};this.V=null;this.va=b};_.g=S$c.prototype;_.g.Hma=function(a){var b=this,c=new C$c(this.H.ma,this.H.hc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Kma=function(a){var b=this,c=new N$c(this.H.ma,this.H.hc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};
_.g.Ema=function(a){var b=this,c=new K$c(this.H.H,this.H.ma,this.H.W,this.H.ef,this.Ha.bind(this),a);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Nma=function(a){var b=this,c=new R$c(a,this,this.H.H);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Oma=function(a){var b=this,c=new B$c(this.H,this,a);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Qma=function(a){var b=this,c=new I$c(this.H,a,this);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};
_.g.Lma=function(a){var b=this,c=new Q$c(this.H,a,function(){if(a instanceof _.Up){var d=l5c(b.H);E7c(d,d.getKey(a)).refresh()}});xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Rma=function(a){var b=this,c=new F$c(this.H,a);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};_.g.Bma=function(a){var b=this,c=new z$c(this.H.ka,this.H.Gh,this.H.W,function(d,e){return b.W(d,e)},a);xQ(this,c);_.Kd(c,function(){return yQ(b,c)});return c};
var xQ=function(a,b){var c=b.Hi();a.ha[c]=b;a.va.create(c,b.Bd());b=b.Bd()instanceof _.Xp?B7c(a.ma,c,b.Bd()):"undefined"!=typeof _.JN&&b.Bd()instanceof _.JN?C7c(a.ma,c,b.Bd()):b.Bd()instanceof _.Up?B7c(l5c(a.H),c,b.Bd()):b.Bd()instanceof _.tH?B7c(a.Ka,c,b.Bd()):P6c(a.ta,c,b.Bd());"boolean"===typeof b&&E5c(a.va,c,b)},yQ=function(a,b){if(b.Bd()instanceof _.Xp)D7c(a.ma,b.Hi(),b.Bd());else if("undefined"!=typeof _.JN&&b.Bd()instanceof _.JN){var c=a.ma,d=b.Hi(),e=b.Bd(),f=c.H.get(c.getKey(e));f&&(f.H.delete(d),
0==f.H.size&&f.dispose(),f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.Bd()instanceof _.Up?D7c(l5c(a.H),b.Hi(),b.Bd()):b.Bd()instanceof _.tH?D7c(a.Ka,b.Hi(),b.Bd()):Q6c(a.ta,b.Hi(),b.Bd());iQ(a.va,b.Hi(),4);delete a.ha[b.Hi()]};S$c.prototype.Ha=function(a,b,c){Q6c(this.ta,a,b);P6c(this.ta,a,c)};
S$c.prototype.W=function(a,b){var c=W1c(this,a).Bd();c.Wi(b);c instanceof _.Xp?B7c(this.ma,a,c):"undefined"!=typeof _.JN&&c instanceof _.JN?C7c(this.ma,a,c):c instanceof _.tH?B7c(this.Ka,a,c):P6c(this.ta,a,c)};
S$c.prototype.ka=function(){_.hj(this.V);this.V=null;var a=Object.keys(this.Ba),b=Object.keys(this.Ea);a=_.v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ba[c];if(d){delete this.Ba[c];var e=this.ha[c];e&&(G5c(this.va,c,d),e.update(d))}}b=_.v(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.Ea[a])if(delete this.Ea[a],d=this.ha[a])iQ(this.va,a,3),d.LJ(c)};var W1c=function(a,b){if(!a.ha[b])throw Error("ug`"+b);return a.ha[b]};
var zQ=function(a,b){_.R.call(this);this.ka=a;this.Vb=b;this.W=_.qi();this.V=!1;this.H=""};_.M(zQ,_.R);zQ.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.Vb)}).then(this.ta.bind(this)).kg(this.ha.bind(this));return this.W.promise};zQ.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new w$c(0,this.H));T$c(this)};var T$c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.eKc(a.H))}).then(a.va.bind(a)).kg(a.ha.bind(a))},5E3)};
zQ.prototype.va=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new w$c(a.ka,this.H)),T$c(this);else{this.V=!0;if(4==a.status){var b=new s$c;b=_.x(b,2,a.H||[]);b=_.x(b,3,this.H);b=_.x(b,5,a.ma);b=_.x(b,6,a.W);b=_.x(b,7,a.Jx);b=_.x(b,8,a.ha);a=_.$k(b,4,a.V);this.W.resolve(a)}else a=_.uM(_.Tr(_.Sr(new _.Cb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};zQ.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.dKc(a.H))}).then(this.ma.bind(this)).kg(this.ha.bind(this))};
zQ.prototype.ma=function(){if(!this.V){var a=new s$c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};zQ.prototype.ha=function(a){this.V=!0;this.W.reject(_.RM(a));this.dispose()};
var U$c=function(){_.Si.call(this,"VbxEwf")};_.M(U$c,_.Si);
var V$c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=V$c.prototype;_.g.Oa=function(){return _.B(this.H.H,_.eGc,58)};_.g.getContext=function(){return this.H};_.g.hNa=function(){var a=this.H.Ma,b=this.W,c=_.Dc(a.H);a.V&&c.push(_.$Nc("CacheSize",a.V.W()));c.push(_.$Nc("InitialViewDataLoaded",b));a=new WTc;_.$k(a,1,c);return _.Ai(a)};_.g.Afa=function(){return this.H.W};_.g.uQ=function(a){return _.Ai(this.H.V.V.H(a))};_.g.cua=function(){return _.Ai(this.H.Ma.W.Og())};
_.g.Yia=function(a,b,c){var d=new _.vi;if(_.B(a,_.hM,3)||_.B(a,_.LN,4)||_.B(a,_.yO,5)||_.B(a,_.GN,6)||_.B(a,_.iN,7)||_.B(a,_.bN,8)||_.B(a,_.fN,9)||_.B(a,_.zM,10)){var e=dZc(a);this.H.In().then(function(f){return f.H(e,{UAb:b,VAb:c})}).then(this.Qeb.bind(this,d),d.Qd,d);return d}throw Error("vg");};
_.g.Qeb=function(a,b){var c=[],d="";if(b instanceof _.jO){c=b.kr().Pd();var e=_.y(b,2);d=b.ao()}else if(b instanceof _.NN)b.getItem()&&c.push(b.getItem()),e=b.qM();else throw Error("wg");a.callback({items:c,MEa:e,pageToken:d})};_.g.uVa=function(){var a=this.H.H,b=a.Lf();a="email:"+a.xf().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.YDa=function(){this.H.va.VS();var a=this.H.H;e4c(_.bO(a.xf()),_.cO(a),this.H.W).kg(function(){})};_.g.c2=function(){return _.bIc[_.Gk(this.H.H.Lf(),8,0)]};
_.g.zza=function(){this.H.Nc.H=new Z8c(_.Vg().substring(0,8))};_.g.Bfa=function(){var a=this.H.Nc.H,b=null;a&&(b=a9c(this.H.Nc),b={traceId:a,spanRecs:b});a=this.H.Nc;a.H=null;a.V=[];return _.Ai(b)};_.g.iNa=function(){return _.Ai(this.H.Nc.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.xi();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.H.mNa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.y5());b.cs_ch=C2c(c).length;b.cs_td=_.ta(c.V).length;(c=this.H.yn)&&(b.t_cps=c.P9a().join(","));b.t_id=M9c(this.H);var e=[];c9c(this.H.Lb).forEach(function(f,h){e.push(h+
":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.vc?this.H.Gh.isConnected():this.H.Kc.H;b.n_o=this.H.vc?this.H.Gh.Ze():this.H.ka.Ze();b.n_csm=!!this.H.vc;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Ai(JSON.stringify(b))};_.g.tUa=function(){this.V&&(this.V.dispatchEvent(new U$c),this.V.x5())};_.g.bm=function(a){var b=this.H.vc;b&&a!=b.H&&(b.H=a,_.hOc(b),a?b.Mb.update(3):_.YMc(b))};
var Y$c=function(a,b){this.H=a;this.V=b;this.ha=_.RJc(jUc(this.V),W$c);this.W=_.RJc(jUc(this.V),X$c)},Z$c=function(a,b){var c={};b.forEach(function(f){_.VJc(f);var h=f.getId(),k=a.H.zo(),l=a.H.Eb;_.pLc(f,3);_.HM(f,5);var n=XQc(f,!0);f.getCapabilities()||f.Rn(new _.Pl);_.E(n,2)&&((n=f.Zi())&&n.length?_.x(f,46,n[0]):(_.WN(f,[k]),_.x(f,46,k)),k=f.Qr(),_.x(f,12,k),k=new _.Kl,k.Ub(l),_.x(k,6,1),_.DKc(k,!0),_.jLc(f,k),_.iLc(f,[k]),_.QFc(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=$Yc(d.V,b);_.Ef(e,function(f,
h){OO(f.getItem(),c[h],a.ha);(a.H.ka.Ze()||a.H.Gh.Ze()||3==PO(f.getItem()))&&OO(f.getItem(),c[h],a.W);_.Mf(c,h)});_.Ef(c,function(f){f.Hn().$q()&&(e[f.getId()]=new xP(f))});d7c(d,Object.values(e))},$$c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});Z$c(a,c)},W$c=[50],X$c=[12,11,10,67,68];
var aad=function(a){this.ka=a;this.H=null;this.ha=new Y$c(a,a.Wa);this.V=!1};
aad.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.va.bind(this);var b=this.ta.bind(this);bad(this,"Querying all offline items.");this.H.H().Zf(a,b);this.V||(this.H.V((0,_.N)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.Ge;b.bm(!0);b=bZc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==PO(f)){var h=new _.DM;_.EM(h,f.getId());_.IM(h);d.push(h)}else h=new _.Tl,_.PM(h,!1),_.x(h,2,!1),_.J(f,81,h),c.push(b[e])}d7c(a,c);a.ta(d)}};
aad.prototype.va=function(a){bad(this,"Processing all offline item(s): "+a.length);Z$c(this.ha,a);zP(this.ka.ha,"GZTDpc")};aad.prototype.ta=function(){bad(this,"Error fetching offline items.")};aad.prototype.ma=function(a){bad(this,"Handling offline change(s): "+a.length);$$c(this.ha,a)};var bad=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var AQ=function(a){_.R.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new aad(a);this.context.Ef=b;this.Ma=new V$c(a,this);O9c(this.Ma);(b=_.B(a.H,_.eGc,58))&&_.C(b,1,!1);this.he=new _.ze(this);this.Na(this.he);this.V=this.context.ha;this.ha=a.bk;this.W=new S$c(a,this.ha);a=this.context;b=this.W;a.ii=b;a.ee.resolve(b);this.va=null;this.ab=this.Ba=!1;this.Pa=null;this.gEa()};_.M(AQ,_.R);_.g=AQ.prototype;_.g.gEa=function(){};
_.g.initialize=function(){var a=this;this.va||(this.va=_.qi(),this.Pa=this.context.ta.V(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.xi()),this.gNa(),this.he.listen(this.context,_.sc,this.Bab),this.he.listen(this.context.Kc,["xa","ya"],function(b){return void a.dispatchEvent(b)}),this.he.listen(this.context.Gh,[].concat(_.Bc(Object.values(PXc))),function(b){return void a.dispatchEvent(b)}),this.V.start(),zP(this.V,"NSockf"));return this.va.promise};
_.g.gJa=function(){this.Pa&&this.Pa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.va.resolve())};_.g.Bab=function(a){var b=a.error,c=b.Ug;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.va.reject(b)):this.dispatchEvent(a)};_.g.JZ=function(){throw BQ("teamDriveQuery");};_.g.Oia=function(){throw BQ("teamDriveFindByIds");};_.g.kAa=function(){throw BQ("teamDriveMovePreflight");};_.g.xwa=function(){throw BQ("peoplePredictQuery");};
_.g.query=function(a){pYc(this.context.ma,a,iUc(this.context.Wa));this.oS();var b=this.W.Hma(_.kl(a));this.ab||(a=a.De(),a&&121==_.y(a,1)||(this.ab=!0,this.he.listen(b,_.rc,this.fNa)));return b};_.g.fNa=function(a){a=a.currentTarget;1==a.Ib()&&(this.Ma.W=this.V.H("W6J7De"),this.he.Wc(a,_.rc,this.fNa))};_.g.Ss=function(a){this.oS();nYc(a);return this.W.Ema(_.kl(a))};_.g.Xka=function(){throw BQ("activityQuery");};_.g.Mla=function(){throw BQ("backupsQuery");};
_.g.pxa=function(){throw BQ("refreshBackups");};_.g.Vta=function(){throw BQ("getAndroidBackupItems");};_.g.lna=function(){throw BQ("deleteBackup");};_.g.Bwa=function(){throw BQ("permissionQuery");};_.g.Dra=function(){throw BQ("insertPermission");};_.g.ona=function(){throw BQ("deletePermission");};_.g.yd=function(){throw BQ("mutate");};_.g.DS=function(){throw BQ("mutateWorkspace");};_.g.zB=function(){throw BQ("bulkMutate");};_.g.Dma=function(){throw BQ("createFileUploader");};
_.g.uEa=function(a){return new zQ(this.context.In(),a)};_.g.kY=function(a){if(3==a.getType())return _.Bi(this.context.In().then(function(b){return b.H(a)}).then(null,_.TM));throw BQ("getApps with type "+a.getType());};_.g.Wta=function(){throw BQ("getApp");};_.g.Fra=function(){throw BQ("installApp");};_.g.kna=function(){throw BQ("deleteApp");};_.g.zfa=function(){throw BQ("updateApp");};_.g.OW=function(){throw BQ("getUserAccount");};_.g.ZI=function(){throw BQ("getUserPrefs");};
_.g.$ta=function(){throw BQ("mutateUserPref");};_.g.Xta=function(){throw BQ("getRevisions");};_.g.Zta=function(){return!1};_.g.bm=function(a){this.context.ka.bm(a)};_.g.QC=function(){throw BQ("setOfflineOptIn");};_.g.bua=function(){throw BQ("setLocalItemService");};_.g.oS=function(){};_.g.bNa=function(){t9c(this.context);this.context.ta.H(106006)};_.g.t2=function(){return this.Ma};_.g.aua=function(){};_.g.yfa=function(){return this.context.Kc.H};_.g.Uta=function(){return H1c(this.context.Kc)};
_.g.isConnected=function(){return 1==this.context.vc.getState().get()};_.g.sync=function(){throw BQ("sync");};_.g.x5=function(){return u9c(this.context)};_.g.Bva=function(){throw BQ("offlineDataLoaded");};_.g.pQa=function(a){return this.context.In().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.fma=function(){throw BQ("categoryMetadataQuery");};_.g.ima=function(){throw BQ("changeCategoryLinks");};_.g.WZ=function(){throw BQ("updateCategoryMetadata");};
_.g.cxa=function(){throw BQ("publishedCategoriesQuery");};_.g.lha=function(){throw BQ("publishedCategoryQuery");};_.g.yBa=function(){throw BQ("workspaceFindByIdsRequest");};_.g.vja=function(){throw BQ("workspaceQueryRequest");};_.g.eAa=function(){throw BQ("suggestedWorkspaceItemQueryRequest");};_.g.Hia=function(){throw BQ("suggestedWorkspaceQueryRequest");};_.g.Tta=function(){throw BQ("addCacheHint");};_.g.taa=function(){throw BQ("createUserFeedback");};
_.g.Yta=function(){throw BQ("handleChanges");};var BQ=function(a){return new _.Db(a+" is unsupported",_.QM(3))};
var DRc=function(a){AQ.call(this,a);O2c(a,"");J9c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.M(DRc,AQ);DRc.prototype.gNa=function(){yP(this.V,["NSockf"],this.gJa.bind(this))};
var cad=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.Aa(this))},dad=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},ead=function(a){return new dad(a.id,a.d,a.err||void 0)};
var CQ=function(a,b,c){_.R.call(this);var d=this;this.oo=a;this.Kc=b;this.Ba=new _.vi;this.ab={};this.Wa=this.Ma=this.hc=null;c.then(function(e){d.hc=e.clientId;d.Ma=e.channel;d.Wa=e.H;DP(d.Ma,d.oo,(0,_.N)(d.Qkb,d));DP(d.Ma,d.oo+"_update",(0,_.N)(d.Rkb,d));d.log("Service initialized.");d.Ba.callback()})};_.M(CQ,_.R);_.g=CQ.prototype;
_.g.Qkb=function(a){a=ead(a);var b=this.ab[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.Cb(JSON.parse(a.error));else c=new _.Cb,_.tM(c,2),_.uM(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.Db(void 0,c))}delete this.ab[a.id]}};_.g.Rkb=function(a){a=ead(a);this.Cda(a.id,a.data,a.error)};_.g.Cda=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.vi;this.Ba.addCallback(function(){var h=e.Ma,k=new cad(e.hc,a,b,d),l=_.qi();e.ab[k.H]=l;l.promise.then(function(n){f.callback((c||_.nf)(n))},function(n){n=n.Ug;var p=_.y(n,21)||"";_.x(n,21,"Worker"+("An invalid response was received"==p?"["+a+"]: ":": ")+p);f.Qd(new _.Db(void 0,n))});BYc(h,e.oo,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Wa&&this.Wa.info(this.Kc,a)};
var fad=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var DQ=function(a,b,c){CQ.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.M(DQ,CQ);DQ.prototype.Hma=function(a){var b=this;a=new C$c(this.H.ma,this.H.hc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);gad(this,a);return a};DQ.prototype.Kma=function(a){var b=this;a=new N$c(this.H.ma,this.H.hc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);gad(this,a);return a};
var gad=function(a,b){EQ(a,b);_.Kd(b,function(){FQ(a,b);a.send("4.3",[b.Hi(),b.Bd().yc()])});a.send("4.1",[b.Hi(),b.Bd().yc()])};_.g=DQ.prototype;_.g.Ema=function(a){var b=this,c=new K$c(this.H.H,this.H.ma,this.H.W,this.H.ef,this.Ha.bind(this),a);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.4",[c.Hi(),c.Bd().yc()])});this.send("4.2",[c.Hi(),c.Bd().yc()]);return c};
_.g.Nma=function(a){var b=this,c=new R$c(a,this,this.H.H);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.11",[c.Hi(),c.Bd().yc()])});this.send("4.9",[c.Hi(),c.Bd().yc()]);return c};_.g.Oma=function(a){var b=this,c=new B$c(this.H,this,a);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.12",[c.Hi(),c.Bd().yc()])});this.send("4.10",[c.Hi(),c.Bd().yc()]);return c};
_.g.Qma=function(a){var b=this,c=new I$c(this.H,a,this);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.15",[c.Hi(),c.Bd().yc()])});this.send("4.13",[c.Hi(),c.Bd().yc()]);return c};_.g.Rma=function(a){var b=this,c=new F$c(this.H,a);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.16",[c.Hi(),c.Bd().yc()])});this.send("4.14",[c.Hi(),c.Bd().yc()]);return c};
_.g.Lma=function(a){var b=this,c=new Q$c(this.H,a,function(){b.send("4.21",[c.Hi()])});EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.23",[c.Hi(),c.Bd().yc()])});this.send("4.22",[c.Hi(),c.Bd().yc()]);return c};_.g.Bma=function(a){var b=this,c=new z$c(this.H.ka,this.H.Gh,this.H.W,function(d,e){return b.W(d,e)},a);EQ(this,c);_.Kd(c,function(){FQ(b,c);b.send("4.19",[c.Hi(),c.Bd().yc()])});this.send("4.18",[c.Hi(),c.Bd().yc()]);return c};
var EQ=function(a,b){a.V.create(b.Hi(),b.Bd());a.ha[b.Hi()]=b},FQ=function(a,b){iQ(a.V,b.Hi(),4);delete a.ha[b.Hi()]};DQ.prototype.Ha=function(a,b,c){if(b instanceof _.Np&&c instanceof _.Np)this.send("4.5",[a,b.yc(),c.yc()]);else if(b instanceof _.Vp&&c instanceof _.Vp)this.send("4.6",[a,b.yc(),c.yc()]);else throw Error("xg");};
DQ.prototype.W=function(a,b){if(!this.ha[a])throw Error("ug`"+a);var c=this.ha[a];if(c.Bd()instanceof _.Ge)var d="4.7";else if(c.Bd()instanceof _.eM)d="4.8";else if(c.Bd()instanceof _.tH)d="4.20";else if(c.Bd()instanceof _.Xp)d="4.17";else throw Error("yg");c.Bd().Wi(b);this.send(d,[a,b])};
DQ.prototype.Cda=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.Cb(JSON.parse(c)),c=new GP(c,c.g1()),a.LJ(c),iQ(this.V,a.Hi(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.$M();return}c=a.Bd();if(c instanceof _.Ge||c instanceof _.eM)f=JSON.parse(f),c instanceof _.Ge&&_.qN(c)?d=new _.HO(f):d=new _.rD(f);else if(c instanceof _.Np||c instanceof _.Vp)d=new _.GO,tVc(d,function(h){return new _.Vl(JSON.parse(h))},f);else if(c instanceof _.tH)d=new _.KO(new hP(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.Xp)d=new _.FPc(new KP(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.JN&&c instanceof _.JN)d=new _.IO(JSON.parse(f));else if(c instanceof _.Up)d=new kP(JSON.parse(f));else throw Error("zg");}d&&("boolean"===typeof b[e]&&E5c(this.V,a.Hi(),!!b[e]),G5c(this.V,a.Hi(),d),a.update(d))}};
var had=function(a,b){CQ.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.M(had,CQ);_.g=had.prototype;_.g.Oa=function(){return _.B(this.H.H,_.eGc,58)};_.g.getContext=function(){return this.H};_.g.hNa=function(){return this.send("5.4",[this.V],function(a){return new WTc(JSON.parse(a[0]))})};_.g.Afa=function(){return this.H.W};_.g.uQ=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Vl(b)})};
_.g.cua=function(){return this.send("5.5",[],function(a){a=JSON.parse(a[0]);for(var b=[],c=0;c<a.length;c++)b.push(new _.gGc(a[c]));return b})};_.g.Yia=function(a,b,c){return this.send("5.8",[a.yc(),b,c],function(d){var e=JSON.parse(d[0]),f=d[1];d=d[2];for(var h=[],k=0;k<e.length;k++)h.push(new _.Vl(e[k]));return{items:h,MEa:f,pageToken:d}})};_.g.uVa=function(){this.send("5.9",[])};_.g.YDa=function(){this.send("5.1",[])};_.g.c2=function(){return _.bIc[_.Gk(this.H.H.Lf(),8,0)]};
_.g.zza=function(){this.send("5.6",[])};_.g.Bfa=function(){return this.send("5.7",[],function(a){if(0==a.length)return null;var b=a[0],c=new Date(a[1]),d=[];a=JSON.parse(a[2]);for(var e=0;e<a.length;e++)d.push(new vZc(a[e]));return{traceId:new Z8c(b,c),spanRecs:d}})};_.g.iNa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new Z8c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.tUa=function(){this.send("5.11",[])};
_.g.bm=function(a){this.send("5.13",[a])};
var iad=function(a,b){CQ.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.Vb=b;this.Oc=String(_.Aa(this));this.H=null};_.M(iad,CQ);iad.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.Vb.yc()],function(b){return new s$c(JSON.parse(b[0]))},this.Oc).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};iad.prototype.cancel=function(){this.send("9.2",[this.Vb.yc()],void 0,this.Oc)};
iad.prototype.Cda=function(a,b){this.dispatchEvent(new w$c(b[0],b[1]))};
var jad=function(a){CQ.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.M(jad,CQ);jad.prototype.W=function(a){if(this.H=a){a=this.ha.bind(this);var b=this.V.bind(this);this.log("Querying all offline items.");this.H.H().Zf(a,b);this.H.V((0,_.N)(this.ka,this))}else this.send("6.3",[])};jad.prototype.ha=function(a){var b=[];_.Ga(a,function(c){b.push(c.yc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};jad.prototype.V=function(){this.log("Error fetching offline items.")};
jad.prototype.ka=function(a){var b=[];_.Ga(a,function(c){b.push(c.yc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var kad=function(a,b){kQ.call(this,a,b)};_.M(kad,kQ);kad.prototype.raa=function(a,b,c){return new _.iKc(a,c)};kad.prototype.Gca=function(a){return a.pageToken||""};kad.prototype.Zba=function(a){return a.response.V()};kad.prototype.A5=function(){};
var lad=function(a,b,c){wQ.call(this,a.ka,a.Gh,b.Vh()||void 0);this.Vb=b;this.W=[];this.V=!1;this.ma=c;this.ka=new kad(this.Vb,this.ma)};_.M(lad,wQ);_.g=lad.prototype;_.g.VD=function(){lQ(this.ka).then(this.Mkb.bind(this),this.handleError.bind(this))};_.g.getData=function(){return OZc(new LP,this.W).Fc(this.status)};_.g.fr=function(){return new b$c};_.g.nk=function(){return!this.Ze()&&(!this.H||v7c(this.ka))};_.g.Mkb=function(a){this.V=this.H=!0;this.W=a;this.Or()};
_.g.Or=function(){if(this.active){var a=this.status;this.MJ();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.Si(_.rc,this))}};_.g.tc=function(){return this.W.length};
var mad=function(a,b,c){wQ.call(this,a.ka,a.Gh,b.Vh()||10);this.Vb=b;this.va=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.MM;this.ma=null};_.M(mad,wQ);_.g=mad.prototype;_.g.VD=function(){var a=this;this.va(this.Vb).then(function(b){a.H=!0;a.W=!0;a.V=b.dk();if(b=b.getSessionId())a.ma=b;a.Or()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.ZIc((new _.GM).Fc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.fr=function(){var a=_.LM(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new d$c).Fc(this.status);return _.$k(b,2,a)};_.g.TK=function(){};_.g.Or=function(){var a=this.status;this.MJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Si(_.rc,this))};_.g.tc=function(){return this.V.length};
var nad=function(){};_.g=nad.prototype;_.g.eI=function(a,b){b=k$c(1).setPosition(b);_.J(b,2,a);return b};_.g.cI=function(a,b){b=k$c(2).setPosition(b);_.J(b,2,a);return b};_.g.CN=function(a,b,c){b=k$c(3).Fw(b).setPosition(c);_.J(b,2,a);return b};_.g.HL=function(a,b){b=k$c(4).setPosition(b);_.J(b,2,a);return b};_.g.GI=function(a){return _.B(a,_.uP,2)};
var pad=function(){_.KM.call(this,new nad,function(a){return oad(a)})};_.M(pad,_.KM);var oad=function(a){switch(_.Ak(a,AXc[0])){case 6:return _.Dy(_.B(a,_.Cy,6)).getTime().toString();case 7:var b=_.B(a,_.tP,7);a=_.B(b,_.Cy,1);b=b.eq();return a&&b?(a=_.Dy(a).getTime(),_.Dy(b).getTime()+"--"+a):"";default:return""}};_.of(pad);
var GQ=function(a,b,c,d){wQ.call(this,b.ka,b.Gh,d);this.Vb=a;this.W=!1;this.va=[];this.V=[];this.ma="";this.Ba=new _.gPc(_.Hk(b.H.Lf(),6,1E3));this.ka=!1;this.Ea=c};_.M(GQ,wQ);_.g=GQ.prototype;_.g.activate=function(){wQ.prototype.activate.call(this);this.Or()};_.g.VD=function(){this.Vb.QHa()?qad(this):this.Ha()};_.g.gs=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;wQ.prototype.gs.call(this,a)};
_.g.getData=function(){var a=(new o$c).Fc(this.status);_.$k(a,2,this.V.slice(0,this.limit));this.va=_.ta(this.V);return a};_.g.fr=function(){var a=_.LM(pad.Jb(),this.va,this.V),b=new m$c;a=_.$k(b,2,a).Fc(this.status);this.va=_.ta(this.V);return a};_.g.nk=function(){return!this.Ze()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.Bd=function(){return this.Vb};_.g.kNa=function(a){this.dispatchEvent(new _.Eb(a));this.W=!1};
_.g.ddb=function(a,b){this.H=!0;var c=_.Xk(b,_.uP,1);this.V=this.V.concat(c);this.ma=b.Xv()||"";0<c.length&&(this.ka=!0);this.Or();qad(this,a)};_.g.tdb=function(a){pad.Jb();this.H=!0;var b=_.Xk(a,_.uP,1);ZO(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.Xv()||"",this.ka=!0,this.Or(),qad(this)):(this.W=!1,rad(this))};var qad=function(a,b){a.active?(a.W=!0,a.nk()&&a.V.length<a.limit?a.Ea(a.Vb,a.limit-a.V.length,a.ma).Zf(_.Ra(a.ddb,b),a.kNa,a):(a.W=!1,b&&b.callback(),rad(a))):a.W=!1};
GQ.prototype.Ha=function(){this.active&&(this.W=!0,this.Ea(this.Vb,this.limit).Zf(this.tdb,this.kNa,this))};GQ.prototype.Or=function(){if(this.active){var a=this.status;this.MJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Si(_.rc,this))}};GQ.prototype.MJ=function(){this.Ze()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};GQ.prototype.TK=function(){this.active&&this.nk()&&!this.W&&qad(this,new _.vi)};
var rad=function(a){a.Vb.QHa()||(_.tI(a.Ba),_.m.setTimeout((0,_.N)(a.Ha,a),a.Ba.kb()))};GQ.prototype.tc=function(){return this.V.length};
var sad=function(){};_.g=sad.prototype;_.g.eI=function(a,b){return q$c(p$c(1),a).setPosition(b)};_.g.cI=function(a,b){return q$c(p$c(2).setPosition(b),a)};_.g.CN=function(a,b,c){return q$c(p$c(3).Fw(b).setPosition(c),a)};_.g.HL=function(a,b){return q$c(p$c(4),a).setPosition(b)};_.g.GI=function(a){return a.gx()};
var tad=function(){_.KM.call(this,new sad,function(a){return a.getId()})};_.M(tad,_.KM);_.of(tad);
var uad=function(a,b,c){wQ.call(this,b.ka,b.Gh);this.Vb=a;this.ma=[];this.V=[];this.W=new _.gPc(_.Hk(b.H.Lf(),54,1E3));this.ka=!1;this.va=c};_.M(uad,wQ);_.g=uad.prototype;_.g.activate=function(){wQ.prototype.activate.call(this);this.Or()};_.g.VD=function(){this.poll()};_.g.getData=function(){var a=new $Zc;a=_.$k(a,2,this.V).Fc(this.status);this.ma=_.ta(this.V);return a};_.g.fr=function(){var a=_.LM(tad.Jb(),this.ma,this.V),b=new u$c;a=_.$k(b,2,a).Fc(this.status);this.ma=_.ta(this.V);return a};
_.g.nk=function(){return!this.Ze()&&!this.H};_.g.poll=function(){var a=new _.vi;this.va(this.Vb).Zf(_.Ra(this.Okb,a),_.Ra(this.Nkb,a),this);return a};_.g.Nkb=function(a,b){this.dispatchEvent(new _.Eb(b));a.Qd(b);vad(this)};_.g.Okb=function(a,b){this.H=!0;b=_.Xk(b,_.rZc,2);ZO(tad.Jb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.Or();a.callback();vad(this)};_.g.Or=function(){if(this.active){var a=this.status;this.MJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Si(_.rc,this))}};
_.g.TK=function(){};var vad=function(a){a.active&&(_.m.setTimeout((0,_.N)(a.poll,a),a.W.kb()),_.tI(a.W))};uad.prototype.tc=function(){return this.V.length};
var wad=function(){};_.g=wad.prototype;_.g.eI=function(a,b){return V9c(U9c(1),a).setPosition(b)};_.g.cI=function(a,b){return V9c(U9c(2).setPosition(b),a)};_.g.CN=function(a,b,c){return V9c(U9c(3).Fw(b).setPosition(c),a)};_.g.HL=function(a,b){return V9c(U9c(4),a).setPosition(b)};_.g.GI=function(a){return a.Y2()};
var xad=function(){_.KM.call(this,new wad,function(a){return a.getId()})};_.M(xad,_.KM);_.of(xad);
var yad=function(a,b,c){_.R.call(this);this.ma=a;this.Vb=b;this.H="";this.V=this.W=!1;this.ha=0;this.$u=[];this.ta=c};_.M(yad,_.R);yad.prototype.Wi=function(a){this.ha=a};var Aad=function(a){return a.V||a.W&&""==a.H?Promise.resolve():zad(a)};yad.prototype.Ica=function(){return this.$u};var zad=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.$u.length,100);var c=new _.vN;c=_.J(c,3,a.Vb);c=_.x(c,2,a.H);b=_.x(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.va.bind(a))};
yad.prototype.ka=function(a){this.V=!1;this.H=a.ao()||"";a=a.kr().HM();this.$u=_.sa(this.$u,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.$u.length<this.ha)return zad(this);this.dispatchEvent("Hb")};yad.prototype.va=function(a){this.V=!1;a=new GP(_.vM(a),_.Hk(this.ma.H.Lf(),1,1));this.dispatchEvent(a)};
var Bad=function(a,b,c,d){wQ.call(this,b.ka,b.Gh,d||100);var e=this;this.va=b;this.Vb=a;this.ma=[];this.$u=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new yad(b,this.Vb,this.Ba);_.Kd(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.M(Bad,wQ);_.g=Bad.prototype;_.g.activate=function(){wQ.prototype.activate.call(this);this.Or()};_.g.VD=function(){this.lNa()};_.g.gs=function(a){wQ.prototype.gs.call(this,a||100)};
_.g.getData=function(){var a=new ZTc;a=_.$k(a,2,this.$u.slice(0,this.limit)).Fc(this.status);this.ma=_.ta(this.$u);return a};_.g.fr=function(){var a=_.LM(xad.Jb(),this.ma,this.$u),b=new a$c;a=_.$k(b,2,a).Fc(this.status);this.ma=_.ta(this.$u);return a};_.g.nk=function(){var a;(a=!this.Ze())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.Bd=function(){return this.Vb};
_.g.lNa=function(){var a=this;this.V=new yad(this.va,this.Vb,this.Ba);this.V.Wi(this.limit);return Aad(this.V).then(function(){return Cad(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){wQ.prototype.handleError.call(this,a);Dad(this)};var Cad=function(a){a.H=!0;var b=a.V.Ica();ZO(xad.Jb(),a.$u,b)&&(a.ka=!0,a.$u=b);a.Or();Dad(a)};Bad.prototype.Or=function(){if(this.active){var a=this.status;this.MJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Si(_.rc,this))}};
Bad.prototype.TK=function(){var a=this;this.V.Wi(this.limit);Aad(this.V).then(function(){return Cad(a)},function(b){return a.handleError(b)})};var Dad=function(a){if(a.active){var b=a.va.H.Lf();a.W=_.m.setTimeout((0,_.N)(a.lNa,a),Math.ceil(_.Hk(b,7,9E5)*Math.random())+_.Hk(b,15,36E5))}};Bad.prototype.tc=function(){return this.$u.length};var Ead=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.Si(_.rc,a))},0)};
var Fad=function(a,b){CQ.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.Vb=b;this.Oc=String(_.Aa(this));this.H=null};_.M(Fad,CQ);Fad.prototype.ha=function(){var a=this;this.H||(this.H=_.qi(),this.send("10.1",[this.Vb.yc()],function(b){a.H.resolve(b[0])},this.Oc).Se(function(b){a.H.reject(b)}));return this.H.promise};Fad.prototype.cancel=function(){this.send("10.2",[this.Vb.yc()],void 0,this.Oc)};
var Gad=function(a,b,c,d,e,f,h,k){_.NO.call(this,a,b,c,d,f,h,k);this.V=e;this.re=null};_.M(Gad,_.NO);Gad.prototype.jua=function(a,b){var c=this;return _.Bi(this.V.then(function(d){return d.V(eQc(c.W,c.Wa,a,b,c.H,c.va))},null))};Gad.prototype.Ha=function(a,b){var c=this.Bd(a);if(c){var d=0;if(c.file){var e=c.request&&_.B(c.request,_.DLc,15);e&&(d=_.y(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.TPc(a,b,d))}};
var Had=function(a,b){CQ.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Oc=String(_.Aa(this));this.H={};this.V={};_.Kd(this,(0,_.N)(this.M3a,this))};_.M(Had,CQ);_.g=Had.prototype;_.g.sV=function(){return _.Wg()};
_.g.upload=function(a,b){!_.y(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.DLc;_.x(d,1,b.size);_.J(a,15,d);d=_.Wg();this.V[_.hO(a)]=b}return this.send("7.1",[this.Oc,a.yc(),c],function(e){return new _.NN(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Oc,a])};_.g.uNa=function(){this.send("7.3",[this.Oc])};
_.g.kua=function(a){var b={};_.Ga(a,function(d){b[d]=new _.vi});var c=this.sV();this.H[c]=b;this.send("7.4",[this.Oc,c,a]);return _.Dc(b)};_.g.jua=function(a,b){var c=this;return this.send("7.5",[this.Oc,a,b],function(d){return FVc(d[0])}).addCallback(function(d){return _.Bi(c.W.then(function(e){return e.V(d)}))})};_.g.M3a=function(){this.send("7.6",[this.Oc])};
_.g.Cda=function(a,b){if(b)switch(_.Xg(a)){case 3:a=b[0];var c=b[1];b=b[2];b=Math.min(b,1073741824);var d=this.V[a];this.send("7.7",[a,_.rGc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.NN(JSON.parse(b[2]));Iad(this,b[0],b[1],a);break;case 1:a=new _.Db(void 0,new _.Cb(JSON.parse(b[2])));Iad(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.TPc(b[0],b[1],b[2]));break;default:throw Error("Ag");}};
var Iad=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.NN?e.callback(d):e.Qd(d);delete a.H[b][c];_.Lf(a.H[b])&&delete a.H[b]}};
var Jad=function(a,b){if(0==a.length)throw new _.Db("mutateUserPref requires a namespace.",_.QM(3));if("undefined"!=typeof _.NE&&b instanceof _.NE)var c=(b=(b=b.V())&&b.getKey())&&_.Sp(b)||null;else"undefined"!=typeof _.ME&&b instanceof _.ME&&(c=(b=b.getKey())&&_.Sp(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.Db("mutateUserPref unsupported for namespace: "+c,_.QM(3));};
var Kad=function(a){this.H=a};
var UO=function(a,b){var c=_.qi();CQ.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.va=c;this.H=a;x9c(this.H,new jad(c.promise));this.Ea=b;kUc(this.Ea,_.md(this.H.H,28));this.vc=KQc(_.xO(this.Ea));this.V=a.bk;this.W=new DQ(c.promise,a,this.V);this.Pa=new had(c.promise,a);O9c(this.Pa);this.Eb=!1;this.Ha=_.li(this.Ba);this.ta=this.Lb=!1;this.Ka=new _.ze(this);this.Na(this.Ka);this.wb=!1;this.Wb=_.qi();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Gh,[].concat(_.Bc(Object.values(PXc))),
function(e){return void d.dispatchEvent(e)})};_.M(UO,CQ);UO.prototype.initialize=function(){var a=this,b=_.B(this.H.H,bTc,66);if(this.Eb)return this.Ha;if(!b||!_.y(b,1))return b=new _.Db("Dataservice URL not provided."),this.Ba.Qd(b),this.Ha;var c=this.H.ta.V(106E3);this.Eb=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.xi());Lad(this,b);this.Ha.then(function(){c.V();a.JQa()});return this.Ha};
var Lad=function(a,b){var c=Mad(a),d=!0,e=_.y(b,5)||"";if(_.bJc(window.location.href,c.toString())&&e){d=!1;c=IQc(e,Nad(a),a.vc,_.y(b,6));var f=new AYc(c,!1)}else b=Oad(c.toString()),c=_.RFc(c.V,void 0,c.H,c.ha),f=new AYc(yYc(window.frames[b],c.toString()),!1);Pad(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();v9c(a.H,function(){return Qad(f)})},Qad=function(a){return _.ni([new _.ki(function(b){a.isDisposed()||BYc(a,"8.1",void 0,function(){a.dispose();b()})}),
_.ij(1E4)])},Mad=function(a){var b=new _.Ij(_.y(_.B(a.H.H,bTc,66),1));var c=new _.Ij(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.dk(d,3);_.Rj(b,"co",c);c=b.Qe();!_.dO(a.H.H)&&0<_.wM(a.H.H.xf())&&(a=_.wM(a.H.H.xf()),c+="u/"+a+"/");_.Mj(b,c+"_/dataservice/cacheproxy");return b},Oad=function(a){var b="cpiframe_"+_.Wg();a=_.Eh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.og(_.aJc(_.bg("display: none;")));document.body.appendChild(a);return b},Pad=function(a,b,c){if(c)b.registerService("2.0",
(0,_.N)(a.Ac,a));else{var d=function(){var e=new _.ncb(document),f={};f.__SAPISID=e.get("SAPISID")||e.get("__Secure-3PAPISID");f.__APISID=e.get("APISID")||e.get("__Secure-APISID");return{ac:f,bl:a.H.H.xi(),ufds:a.vc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}BYc(b,"8.4",{dsc:a.H.H.yc()});Rad(b);Sad(a,b);DP(b,"2.1",function(){return{dsc:a.H.H.yc()}});DP(b,"2.2",function(e){"number"===typeof e.id?(a.va.resolve(new fad(e.id,b,a.H.W,e.clients)),e.dsp&&Rad(b),e.ivd&&Sad(a,b)):
(e=new _.Cb(JSON.parse(e.err)),a.Ba.Qd(new _.Db("Unable to initialize dataservice.",e)))});DP(b,"2.15",function(e){a.dispatchEvent(new v$c(e.dt))});DP(b,"2.5",function(e){O2c(a.H,e.id)});DP(b,"2.6",function(e){a.H.ka.bm(e.os)});DP(b,"2.18",function(e){a.H.ka.QC(e.oois)});DP(b,"2.7",function(){a.ta=!1});DP(b,"2.8",function(e){a.H.Wn=e.au;a.dispatchEvent(new FUc(e.au?"xa":"ya"))});DP(b,"2.19",function(e){a.H.Gh.update(e.cs)});DP(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.py("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.kO(a.H.W,f,e,"fine");break;case "finer":_.kO(a.H.W,f,e,"finer");break;case "finest":_.kO(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":dUc(a.H.W,f,e);break;default:dUc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),dUc(a.H.W,f,e)}});DP(b,"2.10",function(e){a.dispatchEvent(new _.Eb(new _.Db(void 0,new _.Cb(JSON.parse(e.p)))))});DP(b,"2.12",function(){a.rb=!0;HQ(a)});
DP(b,"2.14",function(){return a.Wb.resolve()});DP(b,"2.16",function(){return a.Lb=!0});DP(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},Rad=function(a){_.m._DRIVE_dsp&&BYc(a,"8.3",{dsp:Tad(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];BYc(a,"8.3",{dsp:Tad(c)})}}},Sad=function(a,b){_.C(a.H.H,24,!1)&&(_.m._DRIVE_ivd?BYc(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&BYc(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};UO.prototype.Ac=function(){return{uid:Nad(this),fds:_.xO(this.Ea)}};var Nad=function(a){a=_.lM(_.kM(_.kl(a.H.H),28),44);var b=new _.dM;b.update(_.bO(a.xf()));b.update(String(_.wM(a.xf())));b.update(a.yc());return _.TFc(b.digest())},Tad=function(a){var b=[],c=[,!0,!0,!0,!0,,!0,!0];a.forEach(function(d,e){d&&c[e]&&(b[e]=d)});return 0<b.length?b:null};_.g=UO.prototype;
_.g.query=function(a){HQ(this);pYc(this.H.ma,a,iUc(this.Ea));this.oS();var b=this.W.Hma(a);this.wb||(a=a.De(),a&&121==_.y(a,1)||(this.wb=!0,this.Ka.listen(b,_.rc,this.jNa)));return b};_.g.jNa=function(a){a=a.currentTarget;1==a.Ib()&&(this.Pa.V=this.Lb,this.Ka.Wc(a,_.rc,this.jNa))};_.g.Ss=function(a){HQ(this);nYc(a);this.oS();return this.W.Ema(a)};
_.g.Xka=function(a,b){var c=this;HQ(this);if(this.ma&&_.jl(this.ma.Bd(),a))return this.ma;var d=(0,_.N)(UO.prototype.N7a,this);this.ma=new GQ(_.kl(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.N7a=function(a,b,c){return this.send("3.17",[a.yc(),b,c],function(d){return new OXc(JSON.parse(d[0]))})};
_.g.Bwa=function(a,b){var c=this;HQ(this);if(this.ka&&_.jl(this.ka.Bd(),a))return Ead(this.ka),this.ka;var d=(0,_.N)(UO.prototype.P7a,this);this.ka=new Bad(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.P7a=function(a){return this.send("3.18",[a.yc()],function(b){return new BZc(JSON.parse(b[0]))})};_.g.Dra=function(a){HQ(this);return this.send("3.14",[a.yc()],function(b){return new JP(JSON.parse(b[0]))})};_.g.ona=function(a){HQ(this);return this.send("3.15",[a.yc()],function(b){return new JP(JSON.parse(b[0]))})};
_.g.yd=function(a){HQ(this);!this.ta&&_.ON(a)&&(this.ta=!0);a=MQc(a);return this.send("3.3",[a.yc()],function(b){if(!_.Qc(b))return new _.NN(JSON.parse(b[0]))})};_.g.DS=function(a){HQ(this);a=WQc(a);return this.send("3.35",[a.yc()],function(b){return new GUc(JSON.parse(b[0]))}).then()};
_.g.zB=function(a){HQ(this);for(var b=0;b<a.length;b++)!this.ta&&_.ON(a[b])&&(this.ta=!0);a=QQc(a);return this.send("3.4",[a.yc()],function(c){var d={};c=JSON.parse(c[0]);_.Ef(c[0],function(e,f){d[f]=new _.NN(JSON.parse(e))});_.Ef(c[1],function(e,f){e=new _.Cb(JSON.parse(e));d[f]=_.RM(e)});return d})};_.g.Dma=function(){HQ(this);return new Had(this.va.promise,this.H.hc)};_.g.uEa=function(a){HQ(this);return new iad(this.va.promise,a)};
_.g.kY=function(a,b){var c=this;HQ(this);var d=_.Vg();this.V.create(d,a);return this.send("3.5",[a.yc(),!!b],function(e){e=JSON.parse(e);var f=new HP(JSON.parse(e[0]));return new _.JO(f,e[1],e[2])}).addCallback(function(e){H5c(c.V,d,e);return e.response}).Se(function(e){iQ(c.V,d);return e})};_.g.Wta=function(a){HQ(this);return this.send("3.10",[a.yc()],function(b){return new yZc(JSON.parse(b[0]))})};_.g.Fra=function(a){HQ(this);return this.send("3.11",[a.yc()],function(b){return new IP(JSON.parse(b[0]))})};
_.g.kna=function(a){HQ(this);return this.send("3.12",[a.yc()],function(b){return new IP(JSON.parse(b[0]))})};_.g.zfa=function(a){HQ(this);return this.send("3.13",[a.yc()],function(b){return new IP(JSON.parse(b[0]))})};
_.g.OW=function(a,b){var c=this;HQ(this);var d=_.Vg();this.V.create(d,a);return this.send("3.1",[a.yc(),!!b],function(e){e=JSON.parse(e);var f=new _.MP(JSON.parse(e[0]));return new _.MO(f,e[1],e[2])}).addCallback(function(e){H5c(c.V,d,e);return e.response}).Se(function(e){iQ(c.V,d);return e})};
_.g.ZI=function(a,b){var c=this,d=_.md(this.H.H.Lf(),30);if(!d||0==d.length)return _.Ci(new _.Db("getUserPrefs requires a namespace.",_.QM(3)));HQ(this);var e=_.Vg();this.V.create(e,a);return this.send("3.2",[a.yc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.Tp(JSON.parse(f[0]));return new _.LO(h,f[1],f[2])}).addCallback(function(f){H5c(c.V,e,f);return f.response}).Se(function(f){iQ(c.V,e);return f})};
_.g.$ta=function(a){HQ(this);Jad(_.md(this.H.H.Lf(),30),a);a=TQc(a);return this.send("3.6",[a.yc()],function(b){return new CZc(JSON.parse(b[0]))})};_.g.Xta=function(a){HQ(this);return this.send("3.16",[a.yc()],function(b){return new aUc(JSON.parse(b[0]))})};_.g.Zta=function(){return this.ta};_.g.bm=function(a){HQ(this);this.send("3.8",[a])};_.g.QC=function(a){HQ(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.bua=function(a){HQ(this);w9c(this.H).W(a);this.QC(!!a)};
_.g.oS=function(){HQ(this);this.send("3.9",[])};_.g.bNa=function(){HQ(this);this.send("3.41",[]);t9c(this.H);var a=sUc(this.H.ta,106006);a&&this.va.promise.then(function(b){var c=_.B(_.EO(a),OTc,6);if(!c){c=new OTc;var d=_.EO(a);_.J(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.yfa=function(){HQ(this);return this.H.nNa()};_.g.Uta=function(){HQ(this);return Uad(this.send("3.19",[],function(a){return new TZc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Gh.isConnected()};
_.g.t2=function(){return this.Pa};_.g.sync=function(){HQ(this);return this.send("3.28",[]).then()};_.g.x5=function(){return u9c(this.H)};_.g.aua=function(){};_.g.Oia=function(a){HQ(this);if(!_.eO(this.H.H))throw new _.Db("function is unsupported",_.QM(3));return this.W.Oma(a)};_.g.JZ=function(a){HQ(this);if(!_.eO(this.H.H))throw new _.Db("function is unsupported",_.QM(3));return this.W.Nma(a)};_.g.xwa=function(a){HQ(this);sYc(this.H.ma,a,iUc(this.Ea));return this.W.Kma(a)};
_.g.kAa=function(a){HQ(this);return new Fad(this.va.promise,a)};_.g.Mla=function(a){HQ(this);if(!this.ha||this.ha.isDisposed()){var b=UO.prototype.O7a.bind(this);this.ha=new uad(a,this.H,b)}return this.ha};_.g.O7a=function(a){return this.send("3.20",[a.yc()],function(b){return new $Zc(JSON.parse(b[0]))})};_.g.pxa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.li()};_.g.Vta=function(a){HQ(this);return this.send("3.25",[a.yc()],function(b){return new YZc(JSON.parse(b[0]))})};
_.g.lna=function(a){HQ(this);return this.send("3.22",[a.yc()],function(){return new a_c})};_.g.Bva=function(){return this.Wb.promise};_.g.pQa=function(a){var b=_.qi();this.send("3.30",[a.yc()],function(c){c[0]?b.resolve(new c_c(JSON.parse(c[0]))):b.reject(new _.Cb(JSON.parse(c[1])))}).Se(function(c){return b.reject(c)});return b.promise};_.g.fma=function(a){HQ(this);return this.W.Bma(a)};_.g.ima=function(a){HQ(this);return this.send("3.42",[a.yc()],function(b){return new CVc(JSON.parse(b[0]))}).then()};
_.g.WZ=function(a){HQ(this);var b=new _.Go;this.send("3.39",[a.yc()],function(c){return JSON.parse(c).map(function(d){return new RZc(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new Kad(b.promise))};_.g.cxa=function(a){var b=this;HQ(this);return new lad(this.H,a,function(c){return b.send("3.37",[c.request.yc(),c.pageToken],function(d){d=JSON.parse(d);return new ZXc(new LP(JSON.parse(d[0])),d[1])}).then()})};
_.g.lha=function(a){HQ(this);return this.send("3.38",[a.yc()],function(b){return new PZc(JSON.parse(b[0]))}).then()};_.g.yBa=function(a){HQ(this);return this.W.Rma(a)};_.g.vja=function(a){HQ(this);return this.W.Qma(a)};_.g.eAa=function(a){var b=this;HQ(this);return new mad(this.H,a,function(){return b.send("3.40",[a.yc()],function(c){return new _.GM(JSON.parse(c[0]))}).then()})};_.g.Hia=function(a){HQ(this);return this.W.Lma(a)};_.g.Tta=function(a){HQ(this);this.send("3.43",[a.yc()])};
_.g.taa=function(a){HQ(this);return this.send("3.44",[a.yc()],function(){return new AUc}).then()};_.g.Yta=function(a){HQ(this);if(1!=_.cO(this.H.H))return Promise.reject(Error("Bg"));for(var b=_.v(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Mc())return Promise.reject(Error("Cg"));if(!c.yj()&&!c.getItem())return Promise.reject(Error("Dg"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.yc()})]))};
_.g.JQa=function(){var a=this,b=[_.ij(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.ni(b).then(function(c){c?_.gj(a.JQa.bind(a),6E4):(a.rb=!0,HQ(a))})};var HQ=function(a){a.rb&&a.dispatchEvent(new U$c)},CRc=function(a){if(_.C(a,61,!1)&&_.m.SharedWorker)if(_.B(a,bTc,66)){if(_.mM(a.xf())||_.dO(a)&&!_.C(a,52,!1))return!1}else return!1;else return!1;return!0},Uad=function(a){var b=_.qi();a.Zf(b.resolve,b.reject,b);return b.promise};
var IQ=function(){_.R.call(this);this.ha=new _.Um;this.va=this.le=this.Ka=!1};_.M(IQ,_.R);IQ.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};IQ.prototype.ma=function(){};IQ.prototype.setActive=function(a){this.le=a;Vad(this)};var Vad=function(a){if(a.le&&!a.va){var b=_.Vm(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.Vm(a.ha))}else a.va=!0,_.ri(a.Pa(b),function(){a.va=!1;Vad(a)})}};IQ.prototype.Ba=function(){};IQ.prototype.Pa=function(){};IQ.prototype.Ma=function(){return!0};
IQ.prototype.enqueue=function(a){try{var b=new _.vi;this.ha.enqueue(new Wad(a,b));Vad(this);return b}catch(c){return _.Ci(_.RM(c))}};var Wad=function(a,b){this.V=a;this.H=b};Wad.prototype.getCommand=function(){return this.V};
var Yad=function(a){IQ.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.yM(this.H.H)&&(this.W=new _.ze(this),this.Na(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;yP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.Lf();a.Eb&&1!=_.Gk(e,17,1)&&(d.push("iuEtc"),yP(c,["mrK8ic"],function(){zP(c,"iuEtc")}));yP(c,d,function(){return Xad(b)})};_.M(Yad,IQ);Yad.prototype.ma=function(){Zad(this)};
var Xad=function(a){if(1==a.H.Wb.Yg().Ib())return Promise.resolve();var b=new _.Te;_.Ve(b,!0);_.Ue(b,301);var c=new _.IN;_.cUc(c,b);return $ad(a,c).then(null,function(d){d=_.vM(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},$ad=function(a,b,c){return a.H.In().then(function(d){return d.H(b,c)}).then(function(d){var e=d.Yg(),f=e.getUser();if(f&&0==_.E(f,7))d=_.wM(a.H.H.xf()),d=Error("Eg`"+d+"`"+_.sH(f)),_.Pa(d),tUc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.Wb;var h=0==f.zf()?1:6;
_.yM(a.H.H)&&c6c(a.V,e);h=y1c(f,e,h);(e=e.getMetadata())&&O2c(a.H,_.y(e,2),1);(d=_.y(d,4))&&P2c(a.H,d,!0);h&&a.dispatchEvent(new _.Si("WPi0i"));d=Promise.resolve(new _.MO(f.Yg(),f.zf(),!1))}return d}).then(function(d){return d},function(d){d=_.vM(d);_.x(d,5,1);return Promise.reject(new _.Db("Error fetching account from server.",d))})};
Yad.prototype.Ba=function(a){var b=a.getCommand();if(b.u8a){var c={};b.TS&&(c.Pga=b.TS);$ad(this,b.Vb,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Qd(e)})}else if(b=this.H.Wb,c=b.Yg(),_.yM(this.H.H)){c=c.Yg();var d=c.getUser();d=x1c(this.V,_.sH(d));c6c(this.V,c);y1c(b,c,b.zf())&&this.dispatchEvent(new _.Si("WPi0i"));a.H.callback(new _.MO(b.Yg(),b.zf(),d))}else c.Ib(),b=new _.MO(c,b.zf(),!0),a.H.callback(b)};
var Zad=function(a){var b=a.H.H.Lf();_.m.setTimeout(function(){var c=new _.IN,d=new _.Te;_.Ue(d,306);_.cUc(c,d);$ad(a,c).then(function(){return Zad(a)},function(){return Zad(a)})},Math.ceil(_.Hk(b,7,9E5)*Math.random())+_.Hk(b,3,72E5))};Yad.prototype.ka=function(a){var b=this.H.Wb,c=b.Yg().Yg();c&&a.getPeople().find(function(d){return _.y(d,1)==_.sH(c.getUser())})&&(c6c(this.V,c),y1c(b,c,b.zf())&&this.dispatchEvent(new _.Si("WPi0i")))};var abd=function(a,b){this.Vb=a;this.u8a=!!b;this.TS=null};
var cbd=function(a){IQ.call(this);this.H=a;this.he=new _.ze(this);this.Na(this.he);this.he.listen(this.H.Ac,"Kb",_.Ra(this.dispatchEvent,new _.Si("Kb",this)));this.Ha=this.ka=!1;this.W=null;this.V=1;this.Ea=0;this.ta=null;bbd(this)};_.M(cbd,IQ);
var bbd=function(a){var b=a.H.ha;yP(b,["nVUlO"],function(){a.Ha=!0;a.setActive(!0)});if(!_.dO(a.H.H)){var c=_.Gk(a.H.H.Lf(),18,1);yP(b,["NSockf"],function(){1==c?dbd(a):a.setActive(!0)});2==c&&yP(b,["mrK8ic"],function(){a.ka||dbd(a)})}},dbd=function(a){var b=new _.Te;_.Ve(b,!0);_.Ue(b,301);var c=new _.tN;_.XTc(c,b);_.x(c,1,1);ebd(a,c).kg(function(){return null})},ebd=function(a,b,c){_.m.clearTimeout(a.Ea);a.Ea=0;var d=_.qi();a.W=d.promise;_.ri(a.W,function(){a.W=null;fbd(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.tN;_.x(h,1,a.V);_.XTc(h,b.De());a.H.In().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.Ac;l.eua(k,l.oA()?6:1);d.resolve()},function(k){a.V=e;k=_.SM(k);var l=k.Ug;_.x(l,5,2);f?(_.tM(l,1),k.message="Initial app settings refresh failed.",_.x(k.Ug,21,"Initial app settings refresh failed."),a.H.rb(l),a.setActive(!0)):(_.tM(l,2),k.message="Error occurred while loading the latest set of apps.",_.x(k.Ug,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};cbd.prototype.Ma=function(){return!1};
cbd.prototype.Pa=function(a){var b=this,c=a.getCommand(),d=c.Vb,e=c.Kba,f=c.TS?{Pga:c.TS}:void 0;if(!gbd(d))return this.H.In().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.JO(l,1,!1))},function(l){a.H.Qd(_.RM(l))}),_.li();c=_.li();var h=!1;this.W?hbd(this,d.getType())?e=this.W:c=e=new _.ki(function(l,n){b.W.then(function(){ebd(b,d,f).then(function(){return l()},n)})}):!e&&this.Ha&&hbd(this,d.getType())&&!this.ta?(h=!0,e=_.li()):e=ebd(this,d,f);var k=a.H;e.then(function(){var l=
b.H.Ac;k.callback(new _.JO(l.fua(),l.zf(),h))},function(l){k.Qd(l)});return c.then()};
var gbd=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.md(a,4),a=_.md(a,3),!(b&&b.length)&&!(a&&a.length)):!1},hbd=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},fbd=function(a){var b=a.H.H.Lf(),c=new _.Te;_.Ue(c,306);var d=new _.tN;_.x(d,1,1);_.XTc(d,c);a.Ea=_.m.setTimeout(function(){return void ebd(a,d)},Math.ceil(_.Hk(b,7,9E5)*Math.random())+_.Hk(b,4,72E5))},ibd=function(a,b){this.Vb=a;this.Kba=!!b;this.TS=null};
var jbd=function(a,b){this.ta=b;this.Vb=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.qi();this.W="";this.ka=this.ma=!1};jbd.prototype.ha=function(){this.ma||(this.ma=!0,kbd(this));return this.V.promise};var kbd=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.mKc(a.Vb,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.va.bind(a))}};jbd.prototype.Ba=function(a){(this.W=a.pageToken)?kbd(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
jbd.prototype.va=function(a){a=_.SM(a);var b=a.Ug.xj();53==b?(this.H="TOO_MANY_FILES",this.V.resolve(this.H)):54==b?(this.H="TOO_MANY_UNMOVABLE_FILES",this.V.resolve(this.H)):40==b?(this.H="TEAM_DRIVE_FILE_LIMIT_EXCEEDED",this.V.resolve(this.H)):this.V.reject(a)};jbd.prototype.cancel=function(){this.ka=!0};
var mbd=function(a){IQ.call(this);var b=this;this.H=a;this.ka=new _.ze(this);this.Na(this.ka);this.ka.listen(this.H.Ka,"WPi0i",function(){return b.dispatchEvent(new _.Si("WPi0i"))});this.V=null;this.W=_.qi();this.ta=_.md(this.H.H.Lf(),30);lbd(this)};_.M(mbd,IQ);
var lbd=function(a){var b=a.H.ha;yP(b,["rkYxSd"],function(){return a.initialize()});yP(b,["px2C2c"],function(){a.H.W.info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.W.resolve();a.W=null});var c=["NSockf"],d=_.Gk(a.H.H.Lf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&yP(b,["mrK8ic"],function(){zP(b,"OZvrNc")}));!_.C(a.H.H,11,!1)&&_.C(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<i9c(a.H.Ka).Gy().length||(b.H("NSockf")?zP(b,"DEJoH"):yP(b,["NSockf"],function(){zP(b,"DEJoH")}))},
12E3));yP(b,c,function(){if(!b.H("px2C2c")){var e=new _.hE,f=new _.Te;_.Ve(f,!0);_.Ue(f,301);_.J(e,1,f);nbd(a,e,obd(a)).kg(function(){a.initialize()})}})};mbd.prototype.ma=function(){var a="User prefs detected: "+i9c(this.H.Ka).Gy().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);pbd(this)};
var nbd=function(a,b,c,d){var e=new _.hKc(b,c),f=d?{Pga:d}:void 0;return a.H.In().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ka;Q2c(k,h.Gy(),k.oA()?6:1,c)}).then(null,function(h){h=_.SM(h);_.x(h.Ug,5,4);0<a.ha.tc()||a.H.rb(h.Ug);a.V=h;throw h;})};
mbd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.Bc(this.H.Ka.H.keys())));c.gga.find(function(f){return!e.has(f)})&&(c.Kba=!0);this.V?d.Qd(this.V):c.Kba?_.ri(this.W?this.W.promise:nbd(this,c.Vb,obd(this,c.gga),c.TS||void 0),function(){return qbd(b,d,c.gga,!1)}):qbd(this,d,c.gga,!0)};
var obd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.Bc(a.ta),_.Bc([].concat(_.Bc(a.H.Ka.H.keys()))),_.Bc(b)));return[].concat(_.Bc(a.values()))},qbd=function(a,b,c,d){a=a.H.Ka.ZI(c);b.callback(new _.LO(a.H,a.V,d))},pbd=function(a){var b=a.H.H.Lf();_.m.setTimeout(function(){var c=new _.hE,d=new _.Te;_.Ue(d,306);_.J(c,1,d);_.ri(nbd(a,c,obd(a)).kg(_.nf),function(){return pbd(a)})},Math.ceil(_.Hk(b,7,9E5)*Math.random())+_.Hk(b,5,72E5))},rbd=function(a,b,c){this.Vb=a;this.gga=b;this.Kba=!!c;
this.TS=null};
var ERc=function(a){AQ.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.qi();this.H=a.In()};_.M(ERc,AQ);_.g=ERc.prototype;_.g.gEa=function(){this.Ea=new Yad(this.context);this.Na(this.Ea);this.Ha=new cbd(this.context);this.Na(this.Ha);this.Wa=new mbd(this.context);this.Na(this.Wa)};
_.g.gNa=function(){var a=this,b=["hVFf7"];_.dO(this.context.H)&&b.push("BNEDtc");yP(this.V,b,(0,_.N)(this.gJa,this));yP(this.V,["T8oKm","ZA9qG"],(0,_.N)(this.mSa,this));yP(this.V,["T8oKm","mrK8ic"],(0,_.N)(this.mSa,this));this.he.listen(this.Ea,"WPi0i",this.dua.bind(this,1));this.he.listen(this.Ha,"Kb",this.dua.bind(this,2));this.he.listen(this.Wa,"WPi0i",this.dua.bind(this,4));yP(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.mSa=function(){dQ(this.context).addCallback(function(a){a.start()})};
_.g.dua=function(a){_.ja(DUc,a)&&this.dispatchEvent(new v$c(a))};_.g.JZ=function(a){if(!_.eO(this.context.H))throw BQ("teamDriveQuery");return this.W.Nma(_.kl(a))};_.g.xwa=function(a){sYc(this.context.ma,a,iUc(this.context.Wa));return this.W.Kma(_.kl(a))};_.g.Oia=function(a){if(!_.eO(this.context.H))throw BQ("teamDriveFindByIds");return this.W.Oma(_.kl(a))};_.g.kAa=function(a){return new jbd(a,this.context.In())};
_.g.Xka=function(a,b){var c=this;if(this.ta&&_.jl(this.ta.Bd(),a))return this.ta;this.ta=new GQ(_.kl(a),this.context,this.rZa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.rZa=function(a,b,c){var d=new _.aKc(a,b,c);return _.Bi(this.H.then(function(e){return e.H(d)}).kg(function(e){return _.TM(e)}))};_.g.Mla=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new uad(a,this.context,this.L_a.bind(this));return this.ka};_.g.L_a=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).kg(function(b){return _.TM(b)}))};
_.g.pxa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.li()};_.g.Vta=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}))};_.g.lna=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}))};_.g.Bwa=function(a,b){var c=this;if(this.ma&&_.jl(this.ma.Bd(),a))return Ead(this.ma),this.ma;this.ma=new Bad(_.kl(a),this.context,this.Wtb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.Wtb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.yM(b.context.H)?e6c(b.context.V.ma,c.kr().HM(),a.Bd().getId()).then(function(){return c}):c},_.TM)};_.g.Dra=function(a){var b=this;return _.Bi(this.H.then(function(c){return c.H(a)}).then(function(c){return _.yM(b.context.H)?e6c(b.context.V.ma,[c.Y2()],a.Mc()).then(function(){return c}):c},_.TM))};_.g.ona=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};
_.g.fma=function(a){return this.W.Bma(_.kl(a))};_.g.ima=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.TM)};_.g.WZ=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){var c=new _.Go;n7c(a,b).then(function(d){return c.resolve(d)});return new Kad(c.promise)},function(b){return void _.TM(b)})};_.g.cxa=function(a){var b=this;return new lad(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).kg(function(d){return _.TM(d)})})};
_.g.lha=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.TM)};_.g.yd=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};_.g.DS=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.TM)};_.g.zB=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.yd(a[d])),b.push(a[d].getId());a=new _.pq(c);c=new _.vi;a.addCallback(this.Y0a.bind(this,c,b));return c};
_.g.Dma=function(){return new Gad(this.context.H,this.context.Ma,this.context.Lb.W,this.context.In(),this.context.hc,this.context.W,void 0,this.context.ta)};_.g.kY=function(a,b){var c=this,d=_.Vg();this.ha.create(d,a);3==a.getType()?a=AQ.prototype.kY.call(this,a).addCallback(function(e){return new _.JO(e,1,!1)}):(zP(this.V,"Qubz4b"),a=this.Ha.enqueue(new ibd(a,b)));return a.addCallback(function(e){H5c(c.ha,d,e);return e.response}).Se(function(){iQ(c.ha,d)})};
_.g.Wta=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};_.g.Fra=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};_.g.kna=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};_.g.zfa=function(a){return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};
_.g.OW=function(a,b){var c=this;zP(this.V,"iuEtc");var d=_.Vg();this.ha.create(d,a);return this.Ea.enqueue(new abd(a,b)).addCallback(function(e){H5c(c.ha,d,e);return e.response}).Se(function(){iQ(c.ha,d)})};
_.g.ZI=function(a,b){var c=this,d=_.md(this.context.H.Lf(),30);if(!d||0==d.length)return _.Ci(new _.Db("getUserPrefs requires a namespace.",_.QM(3)));var e=_.Vg();this.ha.create(e,a);zP(this.V,"OZvrNc");return this.Wa.enqueue(new rbd(a,d,b)).addCallback(function(f){H5c(c.ha,e,f);return f.response}).Se(function(){iQ(c.ha,e)})};_.g.$ta=function(a){Jad(_.md(this.context.H.Lf(),30),a);return _.Bi(this.H.then(function(b){return b.H(a)}).then(null,_.TM))};
_.g.Xta=function(a){var b=this;return _.Bi(this.H.then(function(c){return c.H(a)}).then(function(c){return _.yM(b.context.H)?d6c(b.context.V.ma,c):c},_.TM))};_.g.yBa=function(a){return this.W.Rma(_.kl(a))};_.g.vja=function(a){return this.W.Qma(_.kl(a))};_.g.eAa=function(a){var b=this;return new mad(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).kg(function(d){return _.TM(d)})})};_.g.Hia=function(a){return this.W.Lma(_.kl(a))};_.g.Tta=function(a){y5c(this.context.V,[a])};
_.g.taa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.TM)};_.g.Yta=function(a){if(1!=_.cO(this.context.H))return Promise.reject(Error("Bg"));for(var b=_.v(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Mc())return Promise.reject(Error("Cg"));if(!c.yj()&&!c.getItem())return Promise.reject(Error("Dg"))}this.context.V.ta(a);a=this.context.V;SP(a.H).ka();YYc(a.ha);return Promise.resolve()};_.g.Zta=function(){return this.context.Lb.H()};
_.g.QC=function(a){var b=this;return this.context.QC(a).then(function(c){return c?(b.context.ka.QC(a),b.context.va.B5()):_.li(!a)})};_.g.bua=function(a){w9c(this.context).W(a);this.QC(!!a)};_.g.oS=function(){dQ(this.context).addCallback(function(a){a&&a.Skb()});A1c(this.context.Uf)};_.g.aua=function(a){a.Nj(this.context)};_.g.Y0a=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;SP(b.H).ka();YYc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.oi([this.context.Od.promise,this.context.Hm.promise]).then(function(){return a.context.va.B5()}).then()};_.g.x5=function(){dQ(this.context).addCallback(function(a){a&&a.dispose()});return AQ.prototype.x5.call(this)};_.g.Bva=function(){return this.rb.promise};
var sbd=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Reload</button>")};
_.aq({id:_.El,callback:function(a){var b=_.bQc(a),c=GRc(a),d=_.B(a.get(_.xm),_.mb,10);_.ALc(d,b);_.x(d,28,c||[]);b=FRc(a,d);a.registerService(_.Fl,b.t2());_.$d(b,"VbxEwf",function(){var e={};_.Nb(_.Ky.getService(a),new _.bs(new _.as(sbd,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.t();

}catch(e){_._DumpException(e)}
try{
var ubd,zbd,Bbd;_.tbd=function(a,b){return _.J(a,17,b)};ubd=[3];_.JQ=function(a){_.T(this,a,0,-1,ubd,null)};_.O(_.JQ,_.K);_.JQ.prototype.getType=function(){return _.y(this,1)};_.JQ.prototype.Mc=function(){return _.y(this,2)};_.vbd=function(a,b){return _.x(a,2,b)};_.JQ.prototype.V=function(){return _.Xk(this,_.JQ,3)};_.wbd=function(a){_.T(this,a,0,-1,null,null)};_.O(_.wbd,_.K);_.wbd.prototype.getFeature=function(){return _.y(this,1)};_.xbd=function(a,b){return _.x(a,1,b)};
_.wbd.prototype.V=function(){return _.B(this,_.JQ,2)};_.ybd=function(a,b){return _.J(a,2,b)};zbd=[1];_.rO=function(a){_.T(this,a,0,-1,zbd,null)};_.O(_.rO,_.K);_.rO.prototype.V=function(){return _.Xk(this,_.wbd,1)};_.Abd=function(a,b){return _.$k(a,1,b)};Bbd=[1,2];_.pQ=function(a){_.T(this,a,0,-1,Bbd,null)};_.O(_.pQ,_.K);_.pQ.prototype.V=function(){return _.md(this,1)};_.Cbd=function(a,b){return _.x(a,1,b||[])};_.pQ.prototype.JQ=function(){return _.Xk(this,_.AMb,2)};
_.Dbd=function(a,b){return _.$k(a,2,b)};_.pQ.prototype.De=function(){return _.B(this,_.Te,3)};_.Ebd=function(a,b){return _.J(a,3,b)};_.q("RsR2Mc");


_.t();

}catch(e){_._DumpException(e)}
})(this._D);
// Google Inc.
