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

_.V("c","",1,function(a,b){return(0,_.G)('<div jsname="'+_.E("v5a5C")+'">'+_.T(_.$m("b","grayCloudNotFilled",!1)(a,b))+"</div>")});

_.r();

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

_.V("e","",1,function(){return(0,_.G)('<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,_.G)(_.$m("f","",!1)(_.Vm({fillColor:"#ffffff",ab:!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.ab?_.E("a-s-fa-Ha-pa"):"")+'" width="'+_.E(c)+'" height="'+_.E(c)+'" viewBox="0 0 24 24" fill="'+_.E(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,_.G)(a)});
_.V("b","myDriveWhite",1,function(a,b){a=a||{};return(0,_.G)(_.Zqa({color:"#FFFFFF",ab:a.ab,size:a.size},b))});_.V("g","",1,function(a,b){var c=a.color,d=a.$m;return(0,_.G)('<svg class="'+(a.ab?_.E("a-s-fa-Ha-pa"):"")+'" width="'+_.E(d)+'" height="'+_.E(d)+'" viewBox="0 0 24 24" fill="'+_.E(c)+'" focusable="false">'+_.$m("h","",!1)(null,b)+"</svg>")});_.V("h","",1,function(){return(0,_.G)('<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,_.G)(_.pn({color:"#fff",ab:a.ab,size:a.size}))});_.V("b","driveLargeGrey",1,function(){return(0,_.G)('<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>')});

_.r();

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



_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sy13i");
_.aGc=[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];_.bGc=[90,59,75];_.cGc=_.ra(_.aGc,_.bGc);

_.r();

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

_.aGc.push(210);_.aGc.push(210);_.cGc.push(210);

_.r();

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


_.r();

}catch(e){_._DumpException(e)}
try{
var nnb,pnb;nnb=[4,5,6,7];_.onb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.onb,_.I);_.onb.prototype.ou=function(){return _.x(this,2)};_.onb.prototype.OGa=function(){return _.x(this,3)};pnb=[5];_.qnb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.qnb,_.I);_.rnb=function(a){_.Q(this,a,0,-1,pnb,null)};_.N(_.rnb,_.I);_.g=_.rnb.prototype;_.g.hc="dzR11e";_.g.YC=function(){return _.x(this,1)};_.g.fL=function(){return _.x(this,3)};_.g.fM=function(){return _.Kk(this,_.onb,5)};
_.g.Rn=function(){return _.x(this,6)};_.g.Mw=function(){return _.x(this,7)};_.g.Gz=function(){return _.x(this,10)};_.tD=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.tD,_.I);_.tD.prototype.hc="JmcaR";_.tD.prototype.Ib=function(){return _.x(this,1)};_.tD.prototype.Dc=function(a){return _.w(this,1,a)};_.tD.prototype.cW=function(){return _.x(this,2)};_.snb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.snb,_.I);_.snb.prototype.hc="dvhrqe";_.snb.prototype.V=function(){return _.D(this,1)};
_.tnb=function(a){_.Q(this,a,0,-1,nnb,null)};_.N(_.tnb,_.I);_.tnb.prototype.V=function(){return _.A(this,_.rnb,1)};_.tnb.prototype.hD=function(){return _.A(this,_.tD,8)};_.tnb.prototype.W=function(){return _.A(this,_.snb,9)};_.q("syo4");
_.uD=function(a){_.Q(this,a,0,-1,unb,null)};_.N(_.uD,_.I);var unb=[2];_.uD.prototype.getUser=function(){return _.A(this,_.ql,1)};_.uD.prototype.getMetadata=function(){return _.A(this,_.tnb,3)};_.uD.prototype.Po=function(){return _.sk(this,3)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.yD=function(a){return a.H.ha?a.H.jk(_.ZBa):!1};_.q("syo5");

_.r();

}catch(e){_._DumpException(e)}
try{
_.sib=function(a){if(Array.isArray(a))return a.map(_.sib).join("");if(_.x(a,2)){if(!a.getId())throw Error("Td");return a.getId()+"/"+_.x(a,2)+","}return""};_.MC=function(a,b){return _.rh(a,b)};_.q("syom");

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
var cob,dob;_.aob=function(a){return a instanceof _.rb?a:a instanceof _.sb?a.Ig:null};_.bob=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")};cob={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
dob=function(a){var b=_.$ea(cob,function(c){return a==c});if(void 0===b)throw Error("ob`"+a);return b};_.eob=function(a,b){void 0!==a.name?(this.name=a.name,this.code=cob[a.name]):(this.code=a=a.code,this.name=dob(a));_.aa.call(this,_.bob("%s %s",this.name,b))};_.N(_.eob,_.aa);var fob=function(a,b){_.Li.call(this,a.type,b)};_.N(fob,_.Li);_.q("syos");
/*

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.bmb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.bmb,_.I);_.bmb.prototype.zB=function(){return _.A(this,_.ppa,1)};_.cmb=function(a){var b=new _.bmb;return _.H(b,1,a)};_.jD=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.jD,_.I);_.g=_.jD.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.getState=function(){return _.x(this,5)};
_.g.Qd=function(a){return _.w(this,5,a)};_.g.sq=function(){return _.sk(this,5)};_.kD=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.kD,_.I);_.kD.prototype.V=function(){return _.x(this,1)};_.kD.prototype.Ib=function(){return _.x(this,2)};_.kD.prototype.Dc=function(a){return _.w(this,2,a)};_.kD.prototype.W=function(){return _.x(this,3)};_.q("sysx");
_.emb=function(a){_.Q(this,a,0,-1,dmb,null)};_.N(_.emb,_.I);var dmb=[1];_.emb.prototype.V=function(){return _.ad(this,1)};
_.gmb=function(a){_.Q(this,a,0,-1,fmb,null)};_.N(_.gmb,_.I);var fmb=[1];_.gmb.prototype.V=function(){return _.Kk(this,_.kD,1)};
_.imb=function(a){_.Q(this,a,0,-1,hmb,null)};_.N(_.imb,_.I);var hmb=[1];_.imb.prototype.V=function(){return _.Kk(this,_.gmb,1)};_.imb.prototype.addResult=function(a,b){return _.Ok(this,1,a,_.gmb,b)};
_.jmb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.jmb,_.I);_.jmb.prototype.W=function(){return _.A(this,_.imb,1)};_.jmb.prototype.V=function(){return _.A(this,_.emb,2)};
_.lD=function(a){_.Q(this,a,0,-1,kmb,null)};_.N(_.lD,_.I);var kmb=[2,14,18];_.g=_.lD.prototype;_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Id=function(){return _.Kk(this,_.Dl,2)};_.g.ay=function(a){return _.Nk(this,2,a)};_.g.tg=function(a,b){return _.Ok(this,2,a,_.Dl,b)};_.g.Lj=function(){return _.x(this,3)};_.g.Uma=function(){return _.y(this,5,!0)};_.g.z0=function(){return _.A(this,_.jmb,7)};_.g.Vma=function(){return _.D(this,8)};
_.g.SH=function(){return _.A(this,_.bmb,10)};_.g.eL=function(a){return _.H(this,10,a)};_.g.getSessionId=function(){return _.A(this,_.Cm,11)};_.g.setSessionId=function(a){return _.H(this,11,a)};_.g.A0=function(){return _.x(this,17)};_.g.C0=function(a){return _.w(this,17,a)};_.g.xf=function(){return _.x(this,12)};_.g.B0=function(a){return _.w(this,12,a)};_.g.Tn=function(){return _.x(this,15)};_.g.Qba=function(){return _.ad(this,18)};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sytr");
_.$D=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.$D,_.I);_.$D.prototype.De=function(){return _.A(this,_.He,1)};

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.qF=function(a,b,c){_.O.call(this);this.vp=null!=c?(0,_.L)(a,c):a;this.ma=b;this.Wf=(0,_.L)(this.t8a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.N(_.qF,_.O);_.g=_.qF.prototype;_.g.Be=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.ef()+this.ma:this.H=_.Vi(this.Wf,this.ma)};_.g.stop=function(){this.H&&(_.Wi(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.vp.apply(null,this.ka)))};_.g.Ya=function(){this.stop();_.qF.tb.Ya.call(this)};_.g.t8a=function(){this.ha?(this.H=_.Vi(this.Wf,this.ha-_.ef()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.vp.apply(null,this.ka)))};

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.EH=function(a){return _.x(a,11)};_.q("sywe");

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sywf");
_.FH=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.FH,_.I);_.FH.prototype.Lc=function(){return _.x(this,1)};_.BNb=function(a){var b=new _.FH;return _.w(b,1,a)};_.FH.prototype.Qh=function(){return _.x(this,2)};_.FH.prototype.ej=function(a){return _.w(this,2,a)};_.FH.prototype.De=function(){return _.A(this,_.He,3)};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.gNb=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.gNb,_.I);_.q("sywh");

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.wH=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.wH,_.I);_.wH.prototype.getName=function(){return _.x(this,1)};_.wH.prototype.Wc=function(a){return _.w(this,1,a)};_.wH.prototype.De=function(){return _.A(this,_.He,2)};_.q("sywq");
_.xH=function(a){_.Q(this,a,0,-1,xMb,null)};_.N(_.xH,_.I);var xMb=[5,6,9,10,12,13,15,16];_.xH.prototype.getId=function(){return _.x(this,1)};_.xH.prototype.Wb=function(a){return _.w(this,1,a)};_.xH.prototype.Xw=function(){return _.x(this,2)};
_.yH=function(a){_.Q(this,a,0,-1,yMb,null)};_.N(_.yH,_.I);var yMb=[2,4];_.yH.prototype.Ml=function(){return _.x(this,1)};_.zMb=function(a,b){return _.w(a,1,b)};

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.LI=function(a,b,c,d){this.ka=a;this.ha=b;this.V=this.W=a;this.ma=c||0;this.ta=d||2};_.LI.prototype.H=0;_.LI.prototype.reset=function(){this.V=this.W=this.ka;this.H=0};_.LI.prototype.kb=function(){return this.W};_.MI=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++};

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("syz4");
var XZb=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("Se`"+
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 YZb=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;p=n=0}function b(t){for(var u=h,z=0;64>z;z+=4)u[z/4]=t[z]<<24|t[z+1]<<16|t[z+2]<<8|t[z+3];for(z=16;80>z;z++)t=u[z-3]^u[z-8]^u[z-14]^u[z-16],u[z]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],F=e[2],M=e[3],J=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var S=M^B&(F^M);var U=1518500249}else S=B^F^M,U=1859775393;else 60>z?(S=B&F|M&(B|F),U=2400959708):(S=B^F^M,U=3395469782);S=((t<<5|t>>>27)&4294967295)+
S+J+U+u[z]&4294967295;J=M;M=F;F=(B<<30|B>>>2)&4294967295;B=t;t=S}e[0]=e[0]+t&4294967295;e[1]=e[1]+B&4294967295;e[2]=e[2]+F&4294967295;e[3]=e[3]+M&4294967295;e[4]=e[4]+J&4294967295}function c(t,u){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var z=[],B=0,F=t.length;B<F;++B)z.push(t.charCodeAt(B));t=z}u||(u=t.length);z=0;if(0==n)for(;z+64<u;)b(t.slice(z,z+64)),z+=64,p+=64;for(;z<u;)if(f[n++]=t[z++],p++,64==n)for(n=0,b(f);z+64<u;)b(t.slice(z,z+64)),z+=64,p+=64}function d(){var t=[],
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 B=24;0<=B;B-=8)t[u++]=e[z]>>B&255;return t}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 t=d(),u="",z=0;z<t.length;z++)u+="0123456789ABCDEF".charAt(Math.floor(t[z]/16))+"0123456789ABCDEF".charAt(t[z]%16);return u}}};
var $Zb=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)}),ZZb(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=_.la(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ga(d,function(k){e.push(k)});a=ZZb(e.join(" "));a=[c,a];_.la(h)||a.push(h.join(""));return a.join("_")},ZZb=function(a){var b=YZb();b.update(a);return b.digestString().toLowerCase()};
_.a_b=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.Tcb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.b_b=function(a){var b=XZb(String(_.m.location.href));if(_.a_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 _.Tcb(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,$Zb(XZb(d),c,a||null)].join(" "):null}}return null};

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("syz3");
var d_b=function(a){_.Q(this,a,0,-1,c_b,null)};_.N(d_b,_.I);var c_b=[2];
_.e_b=function(a,b,c){_.tj(a.url,function(d){d=d.target;d.Sr()?b(d.yk()):c(d.Ib())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.f_b=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.f_b,_.I);_.f_b.prototype.ri=function(){return _.x(this,7)};
_.g_b=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.g_b,_.I);_.Sk[66321687]=new _.nk(66321687,_.g_b);
var h_b;_.NI=function(a){_.Q(this,a,0,31,h_b,null)};_.N(_.NI,_.I);h_b=[3,20,27];_.OI=function(a,b){return _.w(a,8,b)};
var j_b=function(a){_.Q(this,a,0,17,i_b,null)};_.N(j_b,_.I);var i_b=[3,5],k_b=function(a){var b=_.ef().toString();return _.w(a,4,b)},l_b=function(a,b){return _.Nk(a,3,b)},m_b=function(a,b){return _.w(a,14,b)};
var o_b=function(a){_.Q(this,a,0,6,n_b,null)};_.N(o_b,_.I);var n_b=[5];
var p_b=function(a){_.Q(this,a,0,-1,null,null)};_.N(p_b,_.I);
var q_b=new _.nk(175237375,p_b);
var s_b;
_.VI=function(a,b,c,d,e,f,h,k,l,n,p){_.P.call(this);this.Ad=a;this.$b=b||_.bf;this.ha=new j_b;this.Oa="";this.wd=d;this.vc=p;this.H=[];this.Lb="";this.he=_.df(_.hha,0,1);this.va=e||null;this.Ea=c||null;this.Ua=h||!1;this.Ma=l||null;this.zc=this.Jc=this.W=!1;this.Ub=this.hb=-1;this.wb=!1;this.ma=null;this.Hd=!k;this.Ba=null;this.Ka=0;this.Xd=1;this.Fb=f||!1;this.mb=!1;this.Nc=!this.Fb&&(_.Pj.Zk&&_.$g(65)||_.Pj.av&&_.$g(45)||_.Pj.yr&&_.$g(12)||_.Og()&&0<=_.sf(_.Jga(),12))&&!!_.Ce()&&!!_.Ce().navigator&&!!_.Ce().navigator.sendBeacon;
a=_.w(new _.g_b,1,1);f||(f=new _.f_b,b=document.documentElement.getAttribute("lang"),f=_.w(f,5,b),_.H(a,11,f));_.H(this.ha,1,a);_.w(this.ha,2,this.Ad);this.ka=new _.LI(1E4,3E5,.1);this.V=new _.Ui(this.ka.kb());this.Na(this.V);_.ud(this.V,"tick",_.kfa(r_b(this,n)),!1,this);this.Ha=new _.Ui(6E5);this.Na(this.Ha);_.ud(this.Ha,"tick",_.kfa(r_b(this,n)),!1,this);this.Ua||this.Ha.start();this.Fb||(_.ud(_.Ce(),"beforeunload",this.ta,!1,this),_.ud(_.Ce(),"unload",this.ta,!1,this),_.ud(document,"pagehide",
this.ta,!1,this))};_.N(_.VI,_.P);var r_b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.VI.prototype.Ya=function(){this.ta();_.VI.tb.Ya.call(this)};s_b=function(a){a.va||(a.va=.01>a.he()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.va};_.t_b=function(a,b){b?(a.ma||(a.ma=new d_b),b=b.wc(),_.w(a.ma,4,b)):a.ma&&_.w(a.ma,4,void 0)};_.u_b=function(a){a.Jc=a.Nc};
_.v_b=function(a,b){a.ka=new _.LI(1>b?1:b,3E5,.1);a.V.setInterval(a.ka.kb())};_.VI.prototype.log=function(a){a=_.Rk(a);var b=this.Xd++;_.w(a,21,b);this.Oa&&_.w(a,26,this.Oa);if(!_.x(a,1)){b=a;var c=Date.now().toString();_.w(b,1,c)}_.sk(a,15)||_.w(a,15,60*(new Date).getTimezoneOffset());this.ma&&(b=_.Rk(this.ma),_.H(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new w_b(a));this.Ua||this.V.enabled||this.V.start()};
_.VI.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.mb)x_b(this);else{var d=_.ef();if(this.Ub>d&&this.hb<d)b&&b("throttled");else{var e=m_b(l_b(k_b(_.Rk(this.ha)),this.H),this.Ka);d={};var f=this.$b();f&&(d.Authorization=f);var h=s_b(this);this.Ea&&(d["X-Goog-AuthUser"]=this.Ea,h=_.nj(h,"authuser",this.Ea));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.nj(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.wc(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,NYa:1,requestHeaders:d,requestType:"POST",withCredentials:this.Hd,timeoutMillis:0},p=(0,_.L)(function(z){this.ka.reset();this.V.setInterval(this.ka.kb());if(z){try{var B=JSON.parse(z.replace(")]}'\n",""));var F=new o_b(B)}catch(M){}F&&(z=_.C(F,1,"-1"),z=Number(z),0<z&&(this.hb=_.ef(),this.Ub=this.hb+z),F=F.getExtension(q_b))&&(F=_.C(F,1,-1),-1!=F&&(this.wb||_.v_b(this,F)))}a&&a()},this),t=(0,_.L)(function(z){var B=
_.Kk(e,_.NI,3);_.MI(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=B.concat(this.H),this.Ua||this.V.enabled||this.V.start();b&&b("net-send-failed",z)},this),u=function(){c.vc?c.vc.send(n,p,t):c.wd(n,p,t)};l?l.then(function(z){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=z;n.NYa=2;u()},function(){u()}):u()}}}};
_.VI.prototype.ta=function(){this.W||(this.Jc&&x_b(this),this.zc&&y_b(this),this.flush())};
var x_b=function(a){z_b(a,32,10,function(b,c){b=_.nj(b,"format","json");b=_.Ce().navigator.sendBeacon(b,c.wc());a.mb&&!b&&(a.mb=!1);return b})},y_b=function(a){z_b(a,6,5,function(b,c){b=_.lj(b,"format","base64json","p",_.Rj(c.wc(),3));_.tg(new Image,b);return!0})},z_b=function(a,b,c,d){if(0!=a.H.length){var e=_.qj(s_b(a),"format");e=_.lj(e,"auth",a.$b(),"authuser",a.Ea||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=l_b(k_b(_.Rk(a.ha)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
w_b=function(){this.type="event-logged"};_.N(w_b,_.Li);
_.WI=function(a,b,c,d,e,f,h){_.VI.call(this,a,_.b_b,b,_.e_b,c,d,e,void 0,f,h)};_.K(_.WI,_.VI);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sy11g");
_.dGc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.dGc,_.I);_.g=_.dGc.prototype;_.g.getKey=function(){return _.x(this,1)};_.g.kb=function(){return _.x(this,2)};_.g.Rb=function(a){return _.w(this,2,a)};_.g.vj=function(){return _.w(this,2,void 0)};_.g.qg=function(){return _.sk(this,2)};
_.eGc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.fGc=_.Ff(_.eGc);

_.r();

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

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.wM=function(a,b){return _.w(a,4,b)};_.hGc=function(a,b){_.w(a,11,b)};_.iGc=function(a,b){return _.w(a,25,b)};_.jGc=function(a,b,c,d,e,f){var h=new _.xj(null,void 0);a&&_.yj(h,a);b&&(h.ma=b);c&&_.zj(h,c);d&&_.Aj(h,d);e&&_.Bj(h,e);f&&_.Cj(h,f);return h};_.q("sy11t");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.xM=function(a,b,c){_.O.call(this);this.vp=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.K(_.xM,_.O);_.g=_.xM.prototype;_.g.Be=function(a){this.ha=arguments;this.H||this.W?this.V=!0:kGc(this)};_.g.stop=function(){this.H&&(_.Wi(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,kGc(this))};_.g.Ya=function(){_.O.prototype.Ya.call(this);this.stop()};
var kGc=function(a){a.H=_.Vi(function(){a.H=null;a.V&&!a.W&&(a.V=!1,kGc(a))},a.ka);var b=a.ha;a.ha=null;a.vp.apply(null,b)};

_.r();

}catch(e){_._DumpException(e)}
try{
var mGc;_.lGc=function(a){return _.pe(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};mGc=function(a,b){if(b&&a in b)return a;var c=_.WEa();return c?(c=c.toLowerCase(),a=c+_.Fga(a),void 0===b||a in b?a:null):null};_.q("sy11u");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.nGc=function(a){_.P.call(this);this.Xc=a||_.kh();if(this.hy=this.V6a())this.H=_.ud(this.Xc.Yb(),this.hy,(0,_.L)(this.B8a,this))};_.N(_.nGc,_.P);_.g=_.nGc.prototype;_.g.V6a=_.Lba(function(){var a=!!this.Q1(),b="hidden"!=this.Q1();if(a){var c;b?c=((_.WEa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.Q1=_.Lba(function(){return mGc("hidden",this.Xc.Yb())});_.g.l8a=_.Lba(function(){return mGc("visibilityState",this.Xc.Yb())});_.g.xM=function(){return!!this.Xc.Yb()[this.Q1()]};
_.g.B8a=function(){var a=this.Q1()?this.Xc.Yb()[this.l8a()]:null;a=new oGc(this.xM(),a);this.dispatchEvent(a)};_.g.Ya=function(){_.Si(this.H);_.nGc.tb.Ya.call(this)};var oGc=function(a){_.Li.call(this,"visibilitychange");this.hidden=a};_.N(oGc,_.Li);

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.yM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.N(_.yM,_.pGc);_.yM.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 qGc=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};
_.yM.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;)qGc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){qGc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){qGc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.yM.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};

_.r();

}catch(e){_._DumpException(e)}
try{
var uGc;_.zM=function(a){return a instanceof Error};_.rGc=function(a){var b={};_.tf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.sGc=function(a){return(a=a&&_.rGc(a))&&a["x-guploader-uploadid"]};_.tGc=function(a){return(a=a&&_.rGc(a))&&a["x-google-trace"]};uGc=[6];_.vGc=function(a){_.Q(this,a,0,-1,uGc,null)};_.N(_.vGc,_.I);_.AM=function(a,b){return _.w(a,14,b)};_.q("sy12l");
_.wGc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.wGc,_.I);
_.BM=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.BM,_.I);_.BM.prototype.getOptions=function(){return _.A(this,_.wGc,1)};_.BM.prototype.Tn=function(){return _.x(this,2)};_.BM.prototype.zd=function(){return _.A(this,_.re,3)};
_.xGc=function(a){_.Q(this,a,0,-1,null,_.CM)};_.N(_.xGc,_.I);_.CM=[[3,4,5,6,7,8,9,10]];
var yGc,AGc;
_.zGc=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=yGc(e)||new _.rb;_.w(e,8,!0);k&&(k=_.Cj(new _.xj(k),void 0).toString(),_.w(e,19,k));e.WC()||_.w(e,15,a||f);e.getMessage()||_.xr(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.x(e,4)||_.yr(e,d);e.lj()||(5==f?_.AM(e,7):0!=a||d?403==a?_.AM(e,22):503==a||429==a?_.AM(e,24):(_.w(e,14,void 0),_.w(e,10,1),_.w(e,8,!0)):l||_.AM(e,2));e.b7(_.sGc(c));e.O6(_.tGc(c));
return e};yGc=function(a){if(!_.xa(a))return null;var b=new _.rb,c=a.error;if(!c)return _.yr(b,JSON.stringify(a)),null;_.w(b,15,c.code);_.xr(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=AGc[c];d?_.w(b,10,d):c&&!d&&_.w(b,10,2);(a=a.debugInfo)&&_.yr(b,a);return b};
AGc={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};

_.r();

}catch(e){_._DumpException(e)}
try{
_.DM=function(a,b){a.H=b;a.ka=0};_.BGc=function(a,b,c){c&&(a=_.Eg(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.Dg(a));return a};_.CGc=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};
_.DGc=function(a){this.V=0;this.W=a||100;this.H=[]};_.g=_.DGc.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=EGc(this,a);return this.H[a]};_.g.set=function(a,b){a=EGc(this,a);this.H[a]=b};_.g.qc=function(){return this.H.length};_.g.uc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.Eg=function(){var a=this.qc(),b=this.qc(),c=[];for(a=this.qc()-a;a<b;a++)c.push(this.get(a));return c};
_.g.mf=function(){for(var a=[],b=this.qc(),c=0;c<b;c++)a[c]=c;return a};_.g.$o=function(a){for(var b=this.qc(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var EGc=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("sy131");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.FGc=function(a){_.O.call(this);this.V=a;this.H={};this.V.JJ((0,_.L)(this.W,this))};_.N(_.FGc,_.O);_.HGc=function(a,b){if(-1!=b.indexOf(":"))throw Error("We`"+b);if(b in a.H)throw Error("Xe`"+b);var c=new GGc(a,b);return a.H[b]=c};_.FGc.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)}};_.FGc.prototype.Ya=function(){_.tf(this.H,function(a){_.gc(a)});_.gc(this.V);delete this.H;delete this.V};
var GGc=function(a,b){_.O.call(this);this.Yf=a;this.H=b};_.N(GGc,_.O);_.g=GGc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Yf.V.registerService(this.H+":"+a,(0,_.L)(this.NDa,this,b),c)};_.g.JJ=function(a){this.V=(0,_.L)(this.NDa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Ye");this.Yf.V.send(this.H+":"+a,b)};_.g.NDa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Ya=function(){this.Yf=this.Yf.H[this.H]=null};

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.EM=function(a){return _.y(a,5,!1)};_.JGc=function(a){var b=_.Uja(a);if("undefined"==typeof b)throw Error("V");var c=new _.Fj(null,void 0);a=_.Zi(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Fka(c,e,f):c.add(e,f)}return c};_.q("sy12r");

_.r();

}catch(e){_._DumpException(e)}
try{
var KGc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.vea);try{delete a[_.vea]}catch(b){}},FM=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(_.xa(f)){f[_.vea]||c.push(f);var l=_.ya(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++)KGc(c[a]);return b.join("")};_.q("sy135");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var LGc,HM,NGc,MGc;_.GM=function(a,b,c){if("number"===typeof a)var d={name:MGc(a)};else d=a,a=NGc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.N(_.GM,_.aa);_.GM.prototype.getName=function(){return this.V.name||""};HM={xWa:1,ZVa:2,NOT_FOUND_ERR:3,$Ua:4,eVa:5,$Va:6,tWa:7,ABORT_ERR:8,kWa:9,jNb:10,TIMEOUT_ERR:11,hWa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.OGc=(_.m.HE||_.m.WG||HM).xWa;_.PGc=(_.m.HE||_.m.WG||HM).ZVa;_.QGc=(_.m.HE||_.m.WG||HM).NOT_FOUND_ERR;
_.RGc=(_.m.HE||_.m.WG||HM).$Ua;_.SGc=(_.m.HE||_.m.WG||HM).eVa;_.TGc=(_.m.HE||_.m.WG||HM).$Va;_.UGc=(_.m.HE||_.m.WG||HM).tWa;_.VGc=(_.m.HE||_.m.WG||HM).ABORT_ERR;_.WGc=(_.m.HE||_.m.WG||HM).kWa;_.XGc=(_.m.HE||_.m.WG||HM).TIMEOUT_ERR;_.YGc=(_.m.HE||_.m.WG||HM).hWa;_.ZGc=(_.m.DOMException||HM).INVALID_ACCESS_ERR;_.$Gc=(_.m.DOMException||HM).INVALID_STATE_ERR;
NGc=function(a){switch(a){case "UnknownError":return _.OGc;case "NotFoundError":return _.QGc;case "ConstraintError":return _.RGc;case "DataError":return _.SGc;case "TransactionInactiveError":return _.UGc;case "AbortError":return _.VGc;case "ReadOnlyError":return _.WGc;case "TimeoutError":return _.XGc;case "QuotaExceededError":return _.YGc;case "InvalidAccessError":return _.ZGc;case "InvalidStateError":return _.$Gc;default:return _.OGc}};
MGc=function(a){switch(a){case _.OGc:return"UnknownError";case _.QGc:return"NotFoundError";case _.RGc:return"ConstraintError";case _.SGc:return"DataError";case _.UGc:return"TransactionInactiveError";case _.VGc:return"AbortError";case _.WGc:return"ReadOnlyError";case _.XGc:return"TimeoutError";case _.YGc:return"QuotaExceededError";case _.ZGc:return"InvalidAccessError";case _.$Gc:return"InvalidStateError";default:return"UnknownError"}};
_.IM=function(a,b){return"error"in a?new _.GM(a.error,b):new _.GM({name:"UnknownError"},b)};_.JM=function(a,b){if("name"in a)return b=b+": "+a.message,new _.GM(a,b);if("code"in a){var c=MGc(a.code);b=b+": "+a.message;return new _.GM({name:c},b)}return new _.GM({name:"UnknownError"},b)};
_.aHc=function(a){this.H=a};_.bHc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.aHc.prototype.range=function(){return this.H};
var cHc=function(a){this.H=a};cHc.prototype.getName=function(){return this.H.name};var dHc=function(a,b,c,d){var e=new _.li;try{var f=a.H[b](d)}catch(h){return c+=" with key "+FM(d),e.Jd(_.JM(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+FM(d);e.Jd(_.IM(h.target,c))};return e};cHc.prototype.get=function(a){return dHc(this,"get","getting from index "+this.getName(),a)};
cHc.prototype.getKey=function(a){return dHc(this,"getKey","getting key from index "+this.getName(),a)};cHc.prototype.getAll=function(a,b){return _.eHc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.eHc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.aHc?d.H:(new _.aHc(_.bHc.only(d))).H;var h=new _.li;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?FM(f):"<all>"),h.Jd(_.JM(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?FM(f):"<all>");h.Jd(_.IM(l.target,c))};return h};
var KM=function(a){this.H=a},fHc;KM.prototype.getName=function(){return this.H.name};fHc=function(a,b,c,d,e){var f=new _.li;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=FM(d),e&&(c+=", with key "+FM(e)),f.Jd(_.JM(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=FM(d);e&&(c+=", with key "+FM(e));f.Jd(_.IM(k.target,c))};return f};_.gHc=function(a,b,c){return fHc(a,"put","putting into "+a.getName()+" with value",b,c)};
KM.prototype.add=function(a,b){return fHc(this,"add","adding into "+this.getName()+" with value ",a,b)};KM.prototype.remove=function(a){var b=new _.li;try{var c=this.H["delete"](a instanceof _.aHc?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+FM(a),b.Jd(_.JM(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+FM(a);b.Jd(_.IM(e.target,f))};return b};
KM.prototype.get=function(a){var b=new _.li;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+FM(a),b.Jd(_.JM(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 "+FM(a);b.Jd(_.IM(e.target,f))};return b};KM.prototype.getAll=function(a,b){return hHc(this,"getting all from index "+this.getName(),a,b)};
var hHc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.aHc?c.H:(new _.aHc(_.bHc.only(c))).H;var f=new _.li;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?FM(e):"<all>"),f.Jd(_.JM(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?FM(e):"<all>");f.Jd(_.IM(k.target,b))};return f};
KM.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.li;try{var c=this.H.clear()}catch(d){return b.Jd(_.JM(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Jd(_.IM(d.target,a))};return b};_.iHc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.JM(d,"creating new index "+b+" with key path "+c);}};KM.prototype.getIndex=function(a){try{return new cHc(this.H.index(a))}catch(b){throw _.JM(b,"getting index "+a);}};
KM.prototype.count=function(a){var b=new _.li;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.Jd(_.IM(e.target,d.getName()))}}catch(e){b.Jd(_.JM(e,this.getName()))}return b};
var jHc=function(a,b){_.P.call(this);this.H=a;this.V=b;this.yb=new _.ke(this);this.yb.listen(this.H,"complete",(0,_.L)(this.dispatchEvent,this,"complete"));this.yb.listen(this.H,"abort",(0,_.L)(this.dispatchEvent,this,"abort"));this.yb.listen(this.H,"error",this.v8a)};_.N(jHc,_.P);_.g=jHc.prototype;_.g.v8a=function(a){a.target instanceof _.GM?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.IM(a.target,"in transaction")})};_.g.ii=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new KM(this.H.objectStore(a))}catch(b){throw _.JM(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.JM(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.li;_.Md(this,"complete",(0,_.L)(a.callback,a));var b=_.Md(this,"abort",function(){_.Si(c);a.Jd(new _.GM(_.VGc,"waiting for transaction to complete"))});var c=_.Md(this,"error",function(e){_.Si(b);a.Jd(e.target)});var d=this.V;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Ya=function(){jHc.tb.Ya.call(this);this.yb.dispose()};
var kHc=function(a){_.P.call(this);this.H=a;this.yb=new _.ke(this);this.yb.listen(this.H,"abort",(0,_.L)(this.dispatchEvent,this,"abort"));this.yb.listen(this.H,"error",this.u8a);this.yb.listen(this.H,"versionchange",this.E1a);this.yb.listen(this.H,"close",(0,_.L)(this.dispatchEvent,this,"close"))};_.N(kHc,_.P);_.g=kHc.prototype;_.g.vpa=!0;_.g.u8a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.E1a=function(a){this.dispatchEvent(new lHc(a.oldVersion,a.newVersion))};_.g.close=function(){this.vpa&&(this.H.close(),this.vpa=!1)};_.g.qh=function(){return this.vpa};_.g.getName=function(){return this.H.name};_.mHc=function(a,b,c){try{return new KM(a.H.createObjectStore(b,c))}catch(d){throw _.JM(d,"creating object store "+b);}};_.nHc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new jHc(d,a)}catch(e){throw _.JM(e,"creating transaction");}};
kHc.prototype.Ya=function(){kHc.tb.Ya.call(this);this.yb.dispose()};var lHc=function(a,b){_.Li.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.N(lHc,_.Li);
_.oHc=function(){void 0==LGc&&(LGc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB);return LGc};
_.pHc=function(a,b,c,d){var e=new _.li;b=b?_.oHc().open(a,b):_.oHc().open(a);b.onsuccess=function(f){f=new kHc(f.target.result);e.callback(f)};b.onerror=function(f){e.Jd(_.IM(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new kHc(f.target.result);c(new lHc(f.oldVersion,f.newVersion),h,new jHc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new lHc(f.oldVersion,f.newVersion))};return e};

_.r();

}catch(e){_._DumpException(e)}
try{
_.qHc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};_.q("sy136");
_.rHc=function(a){this.V=a};_.rHc.prototype.H=function(a){a=_.OI(new _.NI,a.wc());this.V.log(a);return new _.ai(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.sHc=function(a){this.V=a;_.u_b(this.V)};_.sHc.prototype.H=function(a){a=_.OI(new _.NI,a.wc());this.V.log(a);this.V.ta()};

_.r();

}catch(e){_._DumpException(e)}
try{
var tHc=function(a){_.Q(this,a,0,-1,null,null)},AHc;_.N(tHc,_.I);var uHc=[3,42],vHc=function(a){_.Q(this,a,0,-1,uHc,null)};_.N(vHc,_.I);vHc.prototype.Zb=function(){return _.x(this,27)};var wHc=function(a){_.Q(this,a,0,-1,null,null)};_.N(wHc,_.I);var xHc=[2],yHc=function(a){_.Q(this,a,0,-1,xHc,null)};_.N(yHc,_.I);var zHc=function(a){_.Q(this,a,0,-1,null,null)};_.N(zHc,_.I);AHc=function(a){this.H=a};_.BHc=function(a){this.Oc=a};_.BHc.prototype.getId=function(){return this.Oc};
var CHc=function(a){_.Q(this,a,0,-1,null,null)};_.N(CHc,_.I);var DHc=function(a){_.Q(this,a,0,-1,null,null)};_.N(DHc,_.I);
var FHc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.AAa.length;a++){var b=_.AAa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;EHc(this,b);break}}},EHc=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})};
FHc.prototype.H=function(a){if(this.ma&&this.W){var b=_.A(a,_.Pa,2)||new _.Pa,c=_.A(a,_.yq,5)||new _.yq,d=_.A(a,_.xq,3)||new _.xq;a=_.Kk(a,_.Oya,1);a=_.v(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.wc(),session_info:b.wc(),session_invariants:c.wc(),client_info:d.wc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};_.q("sy12u");
var GHc=function(){_.qq.call(this)};_.K(GHc,_.qq);GHc.prototype.Mt=function(){return 1==_.x(_.A(this.H,tHc,7),1)};var HHc=new _.mq("high_frequency_builder");
var IHc=function(a,b,c){a=new _.Ui(a);c.Na(a);var d=new _.ke(c);c.Na(d);d.listen(a,"tick",b);a.start()};
var JHc=function(){_.qq.call(this)};_.K(JHc,_.qq);var KHc=function(a,b,c){var d=1E3*_.ef();if(0==b){b=new _.fq;var e=new _.uya;e=_.w(e,1,d);_.H(b,1,e);_.w(b,3,1);_.H(a.H,8,b);_.w(a.H,12,c);_.w(a.H,13,c);_.w(a.H,4,d);_.w(a.H,3,c)}else 1==b&&(b=new _.fq,e=new _.vya,d=_.w(e,1,d),_.H(b,2,d),_.w(b,3,2),_.H(a.H,8,b),_.w(a.H,12,c),_.w(a.H,3,c));return a},LHc=new _.mq("system_builder");
var MHc=function(a,b){_.O.call(this);this.V=a;this.H=new _.nGc(b);this.Na(this.H);this.yb=new _.ke(this);this.Na(this.yb);this.H.Q1()&&this.yb.listen(this.H,"visibilitychange",this.W)};_.K(MHc,_.O);MHc.prototype.W=function(){if(this.V.FR()){var a=this.H.xM()?102001:102E3;a=this.V.RD(a,0);this.V.yp(a)}};
var NHc=function(a,b,c){c=void 0===c?!1:c;_.O.call(this);this.H=a;this.V=b;this.Na(this.V);this.ha=c;this.W=null};_.K(NHc,_.O);_.g=NHc.prototype;_.g.yp=function(a){var b=this.H;_.w(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.qc()&&b.V.Be();return new AHc(a)};_.g.RD=function(a,b){a=KHc(OHc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.jJ=function(){return this.H.V};
_.g.WH=function(a){var b=this.H,c=_.rq(a,LHc),d=b.ka++,e=_.A(_.A(c.H,_.fq,8),_.vya,2),f=1E3*_.ef();_.w(e,2,f);_.w(c.H,13,d);b.ma.remove(_.x(a.H,12))};_.g.PX=function(){var a=this.V;if(!a.ka||a.H.W){var b=PHc(a.H,691).build();b=QHc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.gc(this.W),this.W=null)};_.g.QX=function(){var a=this.H,b=PHc(a,716);RHc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ta=!0;this.V.initialize();this.V.V.Be();this.ha&&(this.W=new MHc(this))};_.g.bba=function(){this.V.ha();return _.hi(Array.from(this.V.W)).then()};
_.g.FR=function(){var a=this.H;return a.Ba&&a.ta&&!0};
var SHc=function(a,b,c,d,e){_.O.call(this);this.H=a;this.Ba=b;this.ta=c;this.V=new _.xM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.va=e||6E4};_.K(SHc,_.O);SHc.prototype.initialize=function(){IHc(this.va,this.V.Be,this.V);IHc(36E5,this.ma,this)};SHc.prototype.ha=function(){var a=this;if(0!=this.H.H.qc()&&(!this.ka||this.H.W)){var b=THc(this.H),c=this.Ba.H(b);c&&(_.ji(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
SHc.prototype.ma=function(){var a=this.H,b=PHc(a,1153).build();a.H.add(b);this.V.Be()};
var UHc=function(a){_.O.call(this);this.H=a;this.Na(this.H)};_.K(UHc,_.O);_.g=UHc.prototype;_.g.yp=function(a){a=this.H.yp(a);this.bba();return a};_.g.RD=function(a,b){return this.H.RD(a,b)};_.g.jJ=function(){return this.H.jJ()};_.g.WH=function(a){return this.H.WH(a)};_.g.PX=function(){return this.H.PX()};_.g.QX=function(){return this.H.QX()};_.g.bba=function(){return this.H.bba()};_.g.FR=function(){return this.H.FR()};
var VHc=function(){};VHc.prototype.FL=function(){return new GHc};
var WHc=function(){this.H=[]};WHc.prototype.add=function(a){this.H.push(a)};WHc.prototype.qc=function(){return this.H.length};
var XHc=function(){this.H={}};XHc.prototype.add=function(a){var b=_.x(a.H,12);this.H[b]=a};XHc.prototype.remove=function(a){delete this.H[a]};
var YHc=function(a,b){this.V=a;this.Ea=b;this.ka=1;this.va=this.ha=null;this.ma=new XHc;this.H=new WHc;this.ta=this.Ba=this.W=!1},OHc=function(a,b){a=_.rq((new _.qq).initialize(new _.Oya,a.Ea),LHc);_.w(a.H,10,b);return a},THc=function(a){var b=a.H,c=b.H;b.H=[];return QHc(a,c)},QHc=function(a,b){var c=new _.Vza;var d=_.Rk(a.V.ha);c=_.H(c,2,d);d=a.V;(d=d.V?_.Rk(d.V):null)&&_.H(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.A(b[h],_.kq,5);if(k&&_.A(k,vHc,1)){k=_.A(k,vHc,1);_.sk(k,12)&&void 0===
e&&(e=_.D(k,12));k=_.A(k,wHc,20);if(void 0!==k&&void 0===f){f=new DHc;var l=_.D(k,2);void 0!==l&&_.w(f,2,l);k=_.D(k,1);void 0!==k&&_.w(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.Rk(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.xq),void 0!==e&&_.w(d,6,e),void 0!==f&&_.H(d,13,f);(e=d)&&_.H(c,3,e);a=_.Rk(a.V.ka);_.H(c,4,a);_.Nk(c,1,b);return c},PHc=function(a,b){var c=KHc(OHc(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 zHc;k=_.w(n,1,k);l=_.x(l.H,10);l=_.w(k,2,l);f.push(l)}d=f}716!=b&&(b=a.va,_.w(c.H,6,a.ha),e=new yHc,b=_.w(e,1,b),d&&_.Nk(b,2,d),d=_.sq(c),_.H(d,3,b));RHc(a,c);return c},RHc=function(a,b){a.ha=_.x(b.H,12);a.va=_.x(_.A(_.A(b.H,_.fq,8),_.uya,1),1)};
var ZHc=function(){};ZHc.prototype.FL=function(){return new JHc};
var $Hc=function(){this.H=this.V=null};$Hc.prototype.build=function(){null==this.H&&(this.H=new _.tza);_.vq(this.H,LHc,new ZHc);_.vq(this.H,HHc,new VHc);var a=this.H;var b=this.V;if(!_.sk(_.aIc(b),1)){var c=_.aIc(b),d=new _.Jza;_.H(c,1,d)}b=_.A(_.aIc(b),_.Jza,1);a.H=b;b=_.qc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new YHc(this.V,this.H)};
var bIc=function(){this.ha=new _.Pa;this.V=null;this.ka=new CHc;_.w(this.ka,1,6);this.H=this.W=null};bIc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.cIc=function(a,b){_.w(a.ha,2,b);return a};_.dIc=function(a,b){if(null==a.W){a.W=new _.Pza;var c=_.aIc(a);_.H(c,2,a.W)}_.w(a.W,1,b)};_.aIc=function(a){null==a.V&&(a.V=new _.yq);return a.V};_.eIc=function(a){null==a.H&&(a.H=new _.xq);return a.H};
_.fIc=function(){this.V=this.ma=null;this.ka=new bIc;this.ha=null;this.H=this.ta=!1;this.W=null};_.gIc=function(a,b){a.ma=b;return a};_.hIc=function(a,b){a.V=b;return a};_.iIc=function(a,b){a.ha=b;return a};_.fIc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.jIc=function(a,b){_.w(a.ka.ha,6,b);return a};
_.fIc.prototype.build=function(){var a=new $Hc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new FHc;this.V=this.ma=b}b=new SHc(a,this.ma,this.V,this.ta,this.W);a=new NHc(a,b,!1);this.H&&(a=new UHc(a));return a};

_.r();

}catch(e){_._DumpException(e)}
try{
var nIc;_.NM=function(a){if(a instanceof _.rb)return a;var b;if(_.zM(a)){if(b=_.aob(a))return b;b=_.YDa(void 0,void 0,a)}else b="string"===typeof a?_.YDa(a):_.YDa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.LM(b,2);_.MM(b,6);return b};_.kIc=function(a){var b=a.lj();a=a.WC();return 15==b||32==b||33==b||401==a};_.lIc=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.mIc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.mIc,_.I);_.OM=function(a){return _.C(a,1,0)};_.PM=function(a){return _.A(a,_.mIc,4)};_.QM=function(a){return _.y(a,84,!1)};_.LM=function(a,b){return _.w(a,1,b)};_.MM=function(a,b){return _.w(a,2,b)};nIc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.RM=function(a){_.Q(this,a,0,-1,nIc,null)};_.N(_.RM,_.I);_.g=_.RM.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};
_.g.setTitle=function(a){return _.w(this,2,a)};_.g.wg=function(){return _.x(this,3)};_.g.wm=function(a){return _.w(this,3,a)};_.g.ls=function(a){return _.w(this,4,a)};_.g.Xh=function(){return _.D(this,5)};_.g.ao=function(a){return _.w(this,5,a)};_.g.Zb=function(){return _.x(this,6)};_.g.bB=function(a,b){_.Ik(this,8,a,b)};_.g.Ji=function(){return _.x(this,12)};_.g.De=function(){return _.A(this,_.He,17)};_.g.Lq=function(){return _.D(this,18)};_.g.Bc=function(){return _.x(this,21)};
_.SM=function(a,b){return _.w(a,16,b)};_.q("sy12k");
_.TM=function(a){_.Q(this,a,0,-1,oIc,null)};_.N(_.TM,_.I);var oIc=[5];_.TM.prototype.yi=function(){return _.ad(this,5)};_.TM.prototype.De=function(){return _.A(this,_.He,6)};_.TM.prototype.Bc=function(){return _.x(this,8)};
_.pIc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var qIc;qIc={};_.rIc=(qIc[0]="/drive/v2internal",qIc[1]="/drive/v2internal.corp",qIc[2]="/drive/v2internal.scary",qIc[4]="/drive/v2internal.scary",qIc[5]="/drive/v2beta",qIc[6]="/drive/v2.1beta",qIc);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var UM,tIc;UM={};_.sIc=(UM[1]="modifiedDate",UM[2]="modifiedByMeDate",UM[3]="quotaBytesUsed",UM[4]="title",UM[6]="lastViewedByMeDate",UM[10]="createdDate",UM[7]="sharedWithMeDate",UM[9]="starred",UM[11]="recency",UM[5]="relevance",UM[12]="trashedDate",UM[13]="lastViewedByMeDate",UM);tIc={};_.uIc=(tIc[1]="asc",tIc[2]="desc",tIc);
_.vIc=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():_.ef();this.date=new Date(a)};_.N(_.vIc,_.ex);_.g=_.vIc.prototype;_.g.clone=function(){var a=new _.vIc(this.date);a.ZC=this.ZC;a.EP=this.EP;return a};_.g.add=function(a){(a.ka||a.ha)&&_.dx.prototype.add.call(this,new _.cx(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Dt))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.ex.prototype.getUTCFullYear;
_.g.getMonth=_.ex.prototype.getUTCMonth;_.g.getDate=_.ex.prototype.getUTCDate;_.g.getHours=_.ex.prototype.getUTCHours;_.g.getMinutes=_.ex.prototype.getUTCMinutes;_.g.getSeconds=_.ex.prototype.getUTCSeconds;_.g.getMilliseconds=_.ex.prototype.getUTCMilliseconds;_.g.getDay=_.ex.prototype.getUTCDay;_.g.setFullYear=_.ex.prototype.setUTCFullYear;_.g.setMonth=_.ex.prototype.setUTCMonth;_.g.setDate=_.ex.prototype.setUTCDate;_.g.setHours=_.ex.prototype.setUTCHours;_.g.setMinutes=_.ex.prototype.setUTCMinutes;
_.g.setSeconds=_.ex.prototype.setUTCSeconds;_.g.setMilliseconds=_.ex.prototype.setUTCMilliseconds;
var wIc,yIc;wIc={};_.xIc=(wIc[1]="0",wIc[2]="1",wIc[3]="2",wIc);yIc={};_.zIc=(yIc[1]="asc",yIc[2]="desc",yIc);
_.AIc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.BIc=_.w(new _.RM,15,!0);_.CIc=_.SM(new _.RM,!0);_.DIc=_.SM(new _.RM,!1);
_.EIc=_.Ug&&0>_.sf(_.Zg,"533");
_.FIc=new Set([0,1,2,3]);
var GIc,IIc,LIc,MIc,OIc,PIc,QIc,RIc;GIc={};_.HIc=(GIc[0]="POST",GIc[2]="PUT",GIc[12]="POST",GIc);IIc={};_.JIc=(IIc[0]=1,IIc[2]=3,IIc);LIc={};MIc={};_.KIc=(MIc[2]=(LIc["x-goog-upload-protocol"]="batch",LIc),MIc);OIc={};PIc={};QIc={};RIc={};_.NIc=(RIc[0]=(OIc["content-type"]="application/http",OIc["content-transfer-encoding"]="binary",OIc),RIc[12]=(PIc["content-type"]="application/http",PIc["content-transfer-encoding"]="binary",PIc),RIc[2]=(QIc["content-type"]="application/http",QIc),RIc);
_.SIc=new _.x0a("yyyy:MM:dd HH:mm:ss");
var TIc,VIc,XIc;TIc={};_.UIc=(TIc[1]="active",TIc[2]="archived",TIc);VIc={};_.WIc=(VIc[0]="unset",VIc[1]="default",VIc[2]="small",VIc[3]="size16kb",VIc);XIc={};_.YIc=(XIc[0]="unsetKeyFormat",XIc[1]="tinkKeyset",XIc[2]="tinkAesGcmKey",XIc);
_.ZIc=new _.mq("drive_dataservice_builder");
_.$Ic=new _.BHc("drive_dataservice_invariants");
_.aJc=new Map([[[1],1],[[6],7],[[2],2]]);_.bJc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.cJc=new Map([[12,function(a){return _.D(a,69)}],[24,function(a){return _.y(a,3,!1)}],[9,function(a){return _.y(a,17,!1)}],[21,function(a){return _.QM(a)}],[13,function(a){return _.D(a,60)}],[2,function(a){return _.y(a,8,!0)}],[6,function(a){return _.y(a,11,!1)}],[14,function(a){return a.kI()}],[16,function(a){return _.y(a,56,!1)}],[17,function(a){return _.y(a,57,!1)}],[18,function(a){return _.y(a,54,!1)}],[19,function(a){return _.y(a,53,!1)}],[23,function(a){return _.y(a,15,!1)}],[28,function(a){return _.y(a,
1,!1)}]]);_.dJc=new Map([[25,function(a){return _.y(a,1,!1)}],[26,function(a){return _.y(a,2,!1)}],[27,function(a){return _.y(a,3,!1)}],[29,function(a){return _.y(a,4,!1)}],[30,function(a){return _.y(a,5,!1)}],[31,function(a){return _.y(a,6,!1)}]]);_.eJc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.fJc=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]]);_.gJc=new Map([[[2],3],[[1],2],[[0],1]]);_.hJc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.iJc=new Map([[[_.PGc],1],[[_.QGc],2],[[_.RGc],3],[[_.SGc],4],[[_.TGc],5],[[_.UGc],6],[[_.VGc],7],[[_.WGc],8],[[_.XGc],10],[[_.YGc],11],[[_.ZGc],12],[[_.$Gc],13]]);_.jJc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.kJc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sy12m");
_.VM=function(a){_.Q(this,a,0,-1,lJc,null)};_.N(_.VM,_.I);var lJc=[8,17];_.VM.prototype.Hz=function(){return _.x(this,1)};_.VM.prototype.Lc=function(){return _.x(this,2)};_.$M=function(a,b){return _.w(a,2,b)};_.VM.prototype.mj=function(){return _.y(this,3,!1)};_.VM.prototype.getItem=function(){return _.A(this,_.Dl,4)};_.VM.prototype.setItem=function(a){return _.H(this,4,a)};_.VM.prototype.Bc=function(){return _.x(this,7)};

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var mJc;mJc=[1];_.aN=function(a){_.Q(this,a,0,-1,mJc,null)};_.N(_.aN,_.I);_.aN.prototype.V=function(){return _.ad(this,1)};_.q("sy12o");
_.bN=function(a){_.Q(this,a,0,-1,nJc,null)};_.N(_.bN,_.I);var nJc=[2];_.bN.prototype.Ib=function(){return _.x(this,1)};_.bN.prototype.Dc=function(a){return _.w(this,1,a)};_.bN.prototype.Uj=function(){return _.Kk(this,_.Dl,2)};_.oJc=function(a,b){return _.Nk(a,2,b)};_.bN.prototype.Cp=function(a,b){return _.Ok(this,2,a,_.Dl,b)};_.bN.prototype.getSessionId=function(){return _.A(this,_.Cm,3)};_.bN.prototype.setSessionId=function(a){return _.H(this,3,a)};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.pJc=function(a){for(var b in a)delete a[b]};_.qJc=function(a){a=_.Qf(a);return 0===a.length?_.Wfa:new _.cg(a,_.Vfa)};_.rJc=function(a,b){a=_.bj(a);b=_.bj(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.q("sy134");
/*

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.cN=function(a,b){return _.w(a,82,b)};_.dN=function(a){return _.w(a,3,!0)};_.sJc=function(a,b){return _.w(a,7,b)};_.q("sy12j");
_.tJc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.uJc=_.Ff(_.tJc);
_.vJc=new Set([1,2,4,5,6]);
_.wJc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.xJc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.yJc=new Set([1004]);
_.zJc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.AJc=new Set([7,4,5,9,6,10,11,12]);
_.BJc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var eN,DJc;eN={};_.CJc=(eN[5]=0,eN[7]=1,eN[1]=2,eN[3]=3,eN[4]=4,eN[2]=5,eN[6]=6,eN);DJc={};_.EJc=(DJc[1]=0,DJc[2]=1,DJc[3]=2,DJc[4]=3,DJc);
var FJc;FJc={};_.GJc=(FJc[1]="active",FJc[2]="archived",FJc);
var HJc;HJc=function(a){return"kind,defaultAppIds,items("+a+")"};_.IJc=HJc("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");
_.JJc=HJc("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");
_.KJc=HJc("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");
_.LJc=new Set([5,4,1,6,2]);_.MJc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.NJc=function(a,b){return _.w(a,1,b)};_.OJc=function(a,b){return _.H(a,1,b)};_.PJc=function(a,b){return _.w(a,2,b)};_.QJc=function(a,b){return _.H(a,3,b)};_.q("sy137");

_.r();

}catch(e){_._DumpException(e)}
try{
_.RJc=function(a,b){return _.w(a,1,b)};_.SJc=function(a,b){return _.w(a,2,b)};_.TJc=function(a,b){return _.w(a,3,b)};_.q("sy13c");

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.q("sy13d");
var UJc=function(a,b){this.V=a;this.H=null;this.W=b};UJc.prototype.get=function(a){return this.Ht()[a]||null};UJc.prototype.set=function(a){this.Ht()[this.W(a)]=a;this.V=null};UJc.prototype.Ht=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var WJc,XJc,VJc;_.fN=function(a,b){this.H=a;this.V=b};
_.gN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!VJc(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.HH(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.JH(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&VJc(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++)VJc(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&&VJc(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.JH(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.HH(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.jI(e[h])),void 0!==f[k]){k=
f[k];l=a;var p=e[k],t=e[h];n=1==p.getType()?p:t;p=2==p.getType()?p:t;t=n.oh()||0;t>(p.oh()||0)&&--t;if(l=l.H.SM(l.H.jI(n),p.oh()||0,t))e[k]=l,e.splice(h,1),h--}else f[k]=h;f=[];if(null!=e)for(h=0;h<e.length;h++)k=e[h],l=k.oh()||0,n=k.Hv()||0,k.setPosition((k.oh()||0)+WJc(f,k.oh()||0)),e[h].setPosition((e[h].oh()||0)+d),3==e[h].getType()&&(k.gw((k.Hv()||0)+WJc(f,k.Hv()||0)),e[h].gw((e[h].Hv()||0)+d)),f.push(XJc(k.getType(),l,n));d=e}e=[];b=new UJc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.Qk(k,h)&&e.push(a.H.$K(h,f));return d.concat(e)};WJc=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};XJc=function(a,b,c){switch(a){case 1:return{offset:1,start:b,end:Number.MAX_VALUE};case 2:return{offset:-1,start:b,end:Number.MAX_VALUE};case 3:return b>c?{offset:-1,start:c,end:b}:{offset:1,start:b,end:c};default:return{offset:0,start:-1,end:-1}}};VJc=function(a,b,c){return a.V(b)==a.V(c)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.YJc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.YJc,_.I);_.YJc.prototype.getType=function(){return _.x(this,1)};_.ZJc=function(a){var b=new _.YJc;return _.w(b,1,a)};_.g=_.YJc.prototype;_.g.getItem=function(){return _.A(this,_.Dl,2)};_.g.setItem=function(a){return _.H(this,2,a)};_.g.Hv=function(){return _.x(this,3)};_.g.gw=function(a){return _.w(this,3,a)};_.g.oh=function(){return _.x(this,4)};_.g.setPosition=function(a){return _.w(this,4,a)};_.q("sy13f");
var $Jc=function(){};_.g=$Jc.prototype;_.g.JH=function(a,b){return _.ZJc(1).setItem(a).setPosition(b)};_.g.HH=function(a,b){return _.ZJc(2).setPosition(b).setItem(a)};_.g.SM=function(a,b,c){return _.ZJc(3).gw(b).setPosition(c).setItem(a)};_.g.$K=function(a,b){return _.ZJc(4).setItem(a).setPosition(b)};_.g.jI=function(a){return a.getItem()};
_.hN=function(){_.fN.call(this,new $Jc,function(a){return a.getId()})};_.K(_.hN,_.fN);_.cf(_.hN);

_.r();

}catch(e){_._DumpException(e)}
try{
_.iN=function(a,b){return _.w(a,33,b||[])};_.jN=function(a,b){return _.w(a,45,b)};_.aKc=function(a,b){return _.w(a,5,b)};_.tb=function(a){_.Li.call(this,_.fc);this.error=a};_.K(_.tb,_.Li);_.q("sy13e");
_.bKc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.kN=function(a,b){_.w(a,1,b)};_.q("sy13g");

_.r();

}catch(e){_._DumpException(e)}
try{
var cKc,dKc,hKc,lKc,mKc,nKc,oKc,HKc,gO,IKc,JKc,QKc,RKc,jKc,ALc,iKc,YLc,ZLc,$Lc,aMc,cMc,dMc,eMc,gMc,hMc,jMc,vMc,wMc,AMc,CMc,DMc,EMc,HMc,LMc,UMc,VMc,XMc,AKc,ZMc,BKc,$Mc,KO,MO,bNc,cNc,dNc,eNc,fNc,iNc,jNc,kNc,lNc,mNc,KKc,pNc,LKc,MKc,NKc,OKc,PKc,yNc,xNc,KNc,MNc,PNc,NNc,QNc,ONc,LNc,TNc,aOc,qOc,rOc,tOc,wOc,zOc,EOc,GOc,HOc,IOc,JOc,KOc,LOc,MOc,NOc,OOc,POc,QOc,ROc,SOc,YOc,TOc,bPc,dPc,UOc,ePc,fPc,hPc,iPc,lPc,qPc,rPc,sPc,tPc,vPc,BOc,GPc,HPc,IPc,JPc,LPc,PPc,NPc,QPc,RPc,MPc,SPc,OPc,aQc,$Pc,bQc,gQc,hQc,iQc,mQc,
nQc,oQc,pQc,rNc;_.lN=function(a,b,c){var d=new _.rb,e=_.ui(_.lN);_.w(d,20,e);_.MM(d,a);_.LM(d,b?b:2);c&&_.AM(d,c);return d};_.mN=function(a){var b;a instanceof _.rb?b=new _.sb(null,a):b=_.zM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("pb`"+a);b.stack||(b.stack=_.ui(_.mN));return b};
_.nN=function(a){return a instanceof _.sb?a:a instanceof _.rb?new _.sb(void 0,a):a instanceof Error?new _.sb("Not a drive.ds.Error",void 0,a):new _.sb("Not an Error",void 0,Error("qb`"+JSON.stringify(a)))};_.oN=function(a){throw _.nN(a);};cKc=function(a){return 7==a.lj()||24==a.Jo()&&(a=a.WC(),503==a||429==a)?!0:!1};dKc=function(a,b){return b?b+"("+a+")":a};
_.pN=function(a,b,c){var d={},e=[];b&&e.push("kind");a.seb&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.eKc.includes(n)){var p=_.lbb.get(n);if(p){var t=_.hB[n];a.jL&&t&&(p=t);a.Qx&&(a.jL?(n=_.gB[n])&&(p=n):(n=_.mbb[n])&&(p=n));p.split(",").forEach(function(u){var z=_.Gga(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={OZ:f.OZ},k=h.next()){var l=_.v(k.value);k=l.next().value;l=l.next().value;
f.OZ=[];l.forEach(function(n){return function(p){n.OZ.push(p)}}(f));"owners"==k&&b&&f.OZ.push("kind");e.push(dKc(f.OZ.join(","),k))}return dKc(e.join(","),c)};_.fKc=function(a){var b=new _.uq;b.append(_.pN(a,!0));return b.toString()};_.gKc=function(a,b){return a.filter(function(c){return b.includes(c)})};hKc=function(a){a=a.filter(function(b){return!_.lbb.has(b)});if(a.length)throw Error("Zc`"+a.join(", "));};
_.kKc=function(a){if(a){var b=a.Zb();b&&_.wM(a,b.toLowerCase());iKc(a,_.Kk(a,jKc,58).map(function(c){var d=c.Zb();d&&_.w(c,1,d.toLowerCase());return c}))}};_.qN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Zb():!1};_.rN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Zb();return b&&_.qN(a)?(a=a.Ef(),!!a&&"application/vnd.google-apps.folder"==_.x(a,3)):"application/vnd.google-apps.folder"==c};
lKc=function(a){var b=a&&a.getId()||null;a&&_.qN(a)&&(a=(a=a.Ef())&&_.x(a,1))&&(b=a);return b};mKc=function(a,b){b&&(_.Gj(a,"openDrive",!!_.y(b,2,!1)),_.Gj(a,"reason",_.x(b,1)||0),_.Gj(a,"syncType",_.x(b,3)||0),_.Gj(a,"errorRecovery",!!_.y(b,4,!1)))};nKc=function(a){if(_.Bf(a))return"\r\n";var b="";_.tf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};oKc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.Gga(a[c],":",1);d&&2==d.length&&(b[(0,_.pf)(d[0])]=(0,_.pf)(d[1]))}return _.rGc(b)};
HKc=function(a){if(a instanceof _.sN)return"request access";if(a instanceof _.tN)return"admin migrate to TD";if(a instanceof _.uN)return"authorize app";if(a instanceof _.vN)return"copy item";if(a instanceof _.wN)return"change category links";if(a instanceof _.xN)return"create item";if(a instanceof _.yN)return"create ws";if("undefined"!=typeof _.zN&&a instanceof _.zN)return"delete app";if("undefined"!=typeof _.AN&&a instanceof _.AN)return"delete backup";if(a instanceof _.BN)return"delete item";if("undefined"!=
typeof _.CN&&a instanceof _.CN)return"delete permission";if(a instanceof _.DN)return"delete revision";if(a instanceof _.EN)return"delete TD";if("undefined"!=typeof _.FE&&a instanceof _.FE)return"delete pref";if(a instanceof _.FN)return"delete ws";if(a instanceof _.GN)return"download item";if(a instanceof _.HN)return"empty trash";if(a instanceof _.mp)return"find by ID";if(a instanceof _.pKc)return"item export start";if("undefined"!=typeof _.IN&&a instanceof _.IN)return"get app";if("undefined"!=typeof _.JN&&
a instanceof _.JN)return"insert app";if("undefined"!=typeof _.KN&&a instanceof _.KN)return"insert permission";if(a instanceof _.BM)return a=a.zd(),_.LN(a)?"quick access item query":_.MN(a)?"people predict item query":_.NN(a)?"drive priority query":"item query";if("undefined"!=typeof _.ON&&a instanceof _.ON)return"list android backup items request";if(a instanceof _.PN){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 _.QN&&a instanceof _.QN?"list backups":a instanceof _.TM?"list changes":a instanceof _.RN?"list permissions":"undefined"!=typeof _.SN&&a instanceof _.SN?"list revisions":a instanceof _.TN?"people api":a instanceof _.wH?"get published category":"undefined"!=typeof _.UN&&a instanceof _.UN?"get remaining changes":a instanceof _.VN?"remove item":"undefined"!=typeof _.WN&&a instanceof _.WN?"reparent item":a instanceof
_.qKc?"restore item":"undefined"!=typeof _.XN&&a instanceof _.XN?"list suggested workspace items":a instanceof _.tp?"list suggested workspaces":"undefined"!=typeof _.YN&&a instanceof _.YN?"update app":a instanceof _.ZN?"update category metadata":a instanceof _.RM?"update item":a instanceof _.$N?"update revision":a instanceof _.aO?"update TD":"undefined"!=typeof _.GE&&a instanceof _.GE?"update pref":a instanceof _.bO?"update ws":a instanceof _.cO?"get account":"undefined"!=typeof _.dO&&a instanceof
_.dO?"get workspace":a instanceof _.rKc?"list activity":a instanceof _.sKc?"list category metadata":a instanceof _.tKc?"create TD":"undefined"!=typeof _.uKc&&a instanceof _.uKc?"item export cancel":"undefined"!=typeof _.vKc&&a instanceof _.vKc?"item export status":"undefined"!=typeof _.wKc&&a instanceof _.wKc?"generate cse token":"undefined"!=typeof _.xKc&&a instanceof _.xKc?"get largest change ID":a instanceof _.yKc?"list prefs":a instanceof _.eO?"multipart upload":a instanceof _.zKc?"list published categories":
a instanceof AKc?"init resumable upload":a instanceof BKc?"resumable upload chunk":a instanceof _.CKc?"resumable upload":a instanceof _.up?"get TD":"undefined"!=typeof _.DKc&&a instanceof _.DKc?"move TD preflight":a instanceof _.fO?"list TDs":"undefined"!=typeof _.EKc&&a instanceof _.EKc?"get TD stats":a instanceof _.FKc?"test connection":"undefined"!=typeof _.GKc&&a instanceof _.GKc?"list workspaces":"unknown"};
gO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};IKc=function(a){if(a instanceof _.xN||a instanceof _.eO||a instanceof _.CKc||a instanceof AKc||a instanceof BKc)return(new _.hO).Dc(8);throw Error("gf");};JKc=function(a){if(a instanceof _.RM){var b=_.iO(_.w(_.Rk(a),1,void 0),void 0);b=_.Qk(b,_.BIc)}else b=!1;b||(a instanceof _.RM?(a=_.iO(_.w(_.Rk(a),1,void 0),void 0),b=_.Qk(a,_.CIc)||_.Qk(a,_.DIc)):b=!1);return b?!1:!0};
_.jO=function(a){return KKc.includes(a.constructor)?JKc(a):!1};QKc=function(a,b){return LKc.includes(a.constructor)||b&&(_.y(b,54,!1)&&MKc.includes(a.constructor)||NKc.includes(a.constructor)&&!_.kO(a)||_.y(b,56,!1)&&_.kO(a)||_.y(b,57,!1)&&OKc.includes(a.constructor)||!(!_.y(b,53,!1)||MKc.includes(a.constructor)||NKc.includes(a.constructor)||_.kO(a)||OKc.includes(a.constructor)||PKc.includes(a.constructor)))?!0:!1};
RKc=function(a,b,c){c=void 0===c?!1:c;var d=new _.xj(_.C(b,16,"")+"/open"),e=a.getId();_.qN(a)&&c&&(e=lKc(a));_.Gj(d,"id",e);_.Gj(d,"authuser",_.OM(b.nf()));_.lO(b)&&a.EF()&&_.Gj(d,"resourcekey",_.Jl(a));return d.toString()};_.SKc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.SKc,_.I);_.TKc=function(a){var b=new _.ql;return _.w(b,1,a)};_.UKc=function(a,b){return _.w(a,7,b)};_.VKc=function(a,b){return _.w(a,8,b)};_.WKc=function(a,b){return _.w(a,1,b)};_.XKc=function(a,b){return _.w(a,2,b)};
_.YKc=function(a,b){return _.w(a,3,b)};_.ZKc=function(a,b){return _.w(a,4,b)};_.$Kc=function(a,b){return _.w(a,5,b)};_.aLc=function(a,b){return _.w(a,6,b)};_.bLc=function(a,b){return _.w(a,7,b)};_.cLc=function(a,b){return _.w(a,8,b)};_.dLc=function(a,b){return _.w(a,9,b)};_.eLc=function(a,b){return _.w(a,10,b)};_.fLc=function(a,b){return _.w(a,11,b)};_.gLc=function(a,b){return _.w(a,12,b)};_.hLc=function(a,b){return _.w(a,16,b)};_.iLc=function(a,b){return _.w(a,17,b)};
_.jLc=function(a,b){return _.w(a,20,b)};_.kLc=function(a,b){return _.w(a,21,b)};_.lLc=function(a,b){return _.w(a,31,b)};_.mLc=function(a,b){return _.w(a,32,b)};_.nLc=function(a,b){return _.w(a,33,b)};_.oLc=function(a,b){return _.w(a,42,b)};_.pLc=function(a,b){return _.w(a,43,b)};_.qLc=function(a,b){return _.w(a,46,b)};_.rLc=function(a,b){return _.w(a,47,b)};_.sLc=function(a,b){return _.w(a,48,b)};_.tLc=function(a,b){return _.w(a,51,b)};_.mO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.mO,_.I);
_.nO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.nO,_.I);_.nO.prototype.Uw=function(){return _.x(this,4)};_.uLc=function(a,b){return _.w(a,1,b)};_.vLc=function(a,b){return _.w(a,2,b)};jKc=function(a){_.Q(this,a,0,-1,null,null)};_.N(jKc,_.I);jKc.prototype.Zb=function(){return _.x(this,1)};jKc.prototype.getUrl=function(){return _.x(this,2)};_.oO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.oO,_.I);_.oO.prototype.Ue=function(){return _.x(this,3)};_.oO.prototype.ig=function(a){return _.w(this,3,a)};
_.wLc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.wLc,_.I);_.xLc=function(a,b){return _.w(a,1,b)};_.yLc=function(a,b){return _.Nk(a,2,b)};_.zLc=function(a,b){return _.Nk(a,3,b)};ALc=[2];_.pO=function(a){_.Q(this,a,0,-1,ALc,null)};_.N(_.pO,_.I);_.pO.prototype.wg=function(){return _.x(this,1)};_.pO.prototype.wm=function(a){return _.w(this,1,a)};_.pO.prototype.nka=function(a,b){return _.Ik(this,2,a,b)};_.qO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.qO,_.I);
_.qO.prototype.Ue=function(){return _.x(this,2)};_.qO.prototype.ig=function(a){return _.w(this,2,a)};_.rO=function(a,b){return _.w(a,2,b||[])};_.BLc=function(a,b){_.w(a,8,b)};_.CLc=function(a,b){return _.Nk(a,15,b)};_.DLc=function(a,b){return _.H(a,17,b)};_.ELc=function(a,b){return _.w(a,19,b)};_.FLc=function(a,b){_.w(a,26,b)};_.GLc=function(a,b){_.w(a,31,b)};_.HLc=function(a,b){_.w(a,34,b)};_.ILc=function(a,b){return _.w(a,44,b)};_.JLc=function(a,b){return _.w(a,52,b)};
iKc=function(a,b){_.Nk(a,58,b)};_.KLc=function(a,b){return _.w(a,72,b)};_.LLc=function(a,b){_.H(a,85,b)};_.MLc=function(a,b){return _.w(a,92,b)};_.NLc=function(a,b){return _.w(a,93,b)};_.sO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.sO,_.I);_.sO.prototype.kb=function(){return _.x(this,1)};_.sO.prototype.Rb=function(a){return _.w(this,1,a)};_.sO.prototype.vj=function(){return _.w(this,1,void 0)};_.sO.prototype.qg=function(){return _.sk(this,1)};var OLc=[3],PLc=function(a){_.Q(this,a,0,-1,OLc,null)};
_.N(PLc,_.I);PLc.prototype.V=function(){var a=_.x(this,3);this.Oa||(this.Oa={});if(!this.Oa[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Oa[3]=!0}_.rk(this)&&_.tk(a);return a};PLc.prototype.ka=function(a){return _.w(this,3,a||[])};var QLc=[3],RLc=function(a){_.Q(this,a,0,-1,QLc,null)};_.N(RLc,_.I);RLc.prototype.V=function(){return _.ad(this,3)};RLc.prototype.ka=function(a){return _.w(this,3,a||[])};var SLc=[3],TLc=function(a){_.Q(this,a,0,-1,SLc,null)};_.N(TLc,_.I);
TLc.prototype.V=function(){return _.ad(this,3)};TLc.prototype.ka=function(a){return _.w(this,3,a||[])};_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.tO,_.I);_.tO.prototype.kb=function(){return _.x(this,1)};_.tO.prototype.Rb=function(a){return _.w(this,1,a)};_.tO.prototype.vj=function(){return _.w(this,1,void 0)};_.tO.prototype.qg=function(){return _.sk(this,1)};_.uO=function(a){return _.Kk(a,_.xe,6)};_.vO=function(a){return _.Kk(a,_.Xb,12)};_.wO=function(a){return _.C(a,45,1)};
_.LN=function(a){return _.y(a,47,!1)};_.MN=function(a){return _.y(a,49,!1)};_.NN=function(a){return _.y(a,52,!1)};_.xO=function(a){return _.C(a,2,"")};_.ULc=function(a,b){return _.w(a,27,b||[])};_.yO=function(a){return _.C(a,39,0)};_.zO=function(a){return _.y(a,40,!1)};_.AO=function(a){return _.y(a,49,!1)};_.lO=function(a){return _.y(a,89,!1)};_.VLc=function(a){return _.dx.prototype.YS.call(a,!0)+"T"+_.Ig(a.getHours(),2)+":"+_.Ig(a.getMinutes(),2)+":"+_.Ig(a.getSeconds(),2)+a.w2()};
_.WLc=function(a,b){return _.w(a,18,b||[])};_.XLc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.XLc,_.I);YLc=[3,4,10,18,19,28];_.xN=function(a){_.Q(this,a,0,-1,YLc,null)};_.N(_.xN,_.I);_.g=_.xN.prototype;_.g.Zb=function(){return _.x(this,1)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.bB=function(a,b){_.Ik(this,3,a,b)};_.g.De=function(){return _.A(this,_.He,7)};_.g.Jt=function(){return _.y(this,13,!1)};_.g.Bc=function(){return _.x(this,14)};
_.g.Lc=function(){return _.x(this,23)};_.g.Uw=function(){return _.x(this,24)};_.BO=function(a,b){return _.w(a,1,b)};_.CO=function(a,b){return _.w(a,3,b||[])};_.DO=function(a){return _.x(a,9)};_.BN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.BN,_.I);_.BN.prototype.getId=function(){return _.x(this,1)};_.BN.prototype.Wb=function(a){return _.w(this,1,a)};_.BN.prototype.De=function(){return _.A(this,_.He,3)};_.EN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.EN,_.I);
_.EN.prototype.getId=function(){return _.x(this,1)};_.EN.prototype.Wb=function(a){return _.w(this,1,a)};_.EN.prototype.De=function(){return _.A(this,_.He,2)};_.iO=function(a,b){return _.H(a,17,b)};ZLc=[7,8];_.aO=function(a){_.Q(this,a,0,-1,ZLc,null)};_.N(_.aO,_.I);_.g=_.aO.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.De=function(){return _.A(this,_.He,4)};
_.g.vba=function(){return _.D(this,12)};_.g.u2=function(){return _.D(this,13)};_.g.lm=function(){return _.D(this,15)};$Lc=[1];_.EO=function(a){_.Q(this,a,0,-1,$Lc,null)};_.N(_.EO,_.I);_.g=_.EO.prototype;_.g.yi=function(){return _.ad(this,1)};_.g.De=function(){return _.A(this,_.He,2)};_.g.Qh=function(){return _.C(this,3,20)};_.g.ej=function(a){return _.w(this,3,a)};_.g.lm=function(){return _.D(this,4)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.fO,_.I);
_.fO.prototype.getOptions=function(){return _.A(this,_.wGc,1)};_.fO.prototype.Tn=function(){return _.x(this,2)};_.fO.prototype.zd=function(){return _.A(this,_.EO,3)};aMc=function(a,b){return _.eHc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.bMc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.JM(c,"deleting object store "+b);}};cMc=function(){var a=new _.fIc;a.W=12E4;a.ta=!0;return a};
dMc={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."};
eMc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};_.fMc=function(a){if(_.Qka)return _.m.atob(a);var b="";_.Ska(a,function(c){b+=String.fromCharCode(c)});return b};gMc=[2,3];_.wN=function(a){_.Q(this,a,0,-1,gMc,null)};_.N(_.wN,_.I);_.wN.prototype.Bc=function(){return _.x(this,1)};_.wN.prototype.De=function(){return _.A(this,_.He,4)};_.FO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.FO,_.I);_.g=_.FO.prototype;_.g.getId=function(){return _.x(this,1)};
_.g.Wb=function(a){return _.w(this,1,a)};_.g.Zb=function(){return _.x(this,2)};_.g.Jt=function(){return _.D(this,4)};_.g.jF=function(){return _.x(this,8)};hMc=[22];_.hO=function(a){_.Q(this,a,0,-1,hMc,null)};_.N(_.hO,_.I);_.g=_.hO.prototype;_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.getItem=function(){return _.A(this,_.Dl,2)};_.g.setItem=function(a){return _.H(this,2,a)};_.g.Lj=function(){return _.x(this,3)};_.g.Lc=function(){return _.x(this,5)};
_.iMc=function(a,b){return _.w(a,5,b)};_.g=_.hO.prototype;_.g.kD=function(){return _.x(this,7)};_.g.b7=function(a){return _.w(this,7,a)};_.g.Tma=function(a){_.w(this,9,a)};_.g.WDa=function(a){_.w(this,10,a)};_.g.IL=function(){return _.x(this,16)};_.g.O6=function(a){return _.w(this,16,a)};_.sN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.sN,_.I);_.sN.prototype.Lc=function(){return _.x(this,1)};_.tN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.tN,_.I);
_.tN.prototype.getId=function(){return _.x(this,1)};_.tN.prototype.Wb=function(a){return _.w(this,1,a)};_.tN.prototype.Mj=function(){return _.x(this,2)};_.uN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.uN,_.I);_.uN.prototype.Lc=function(){return _.x(this,2)};_.uN.prototype.De=function(){return _.A(this,_.He,4)};jMc=[3,7];_.vN=function(a){_.Q(this,a,0,-1,jMc,null)};_.N(_.vN,_.I);_.g=_.vN.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};
_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.bB=function(a,b){_.Ik(this,3,a,b)};_.g.De=function(){return _.A(this,_.He,5)};_.yN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.yN,_.I);_.yN.prototype.getTitle=function(){return _.x(this,1)};_.yN.prototype.setTitle=function(a){return _.w(this,1,a)};_.yN.prototype.De=function(){return _.A(this,_.He,2)};_.DN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.DN,_.I);
_.DN.prototype.Lc=function(){return _.x(this,1)};_.DN.prototype.De=function(){return _.A(this,_.He,3)};_.FN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.FN,_.I);_.FN.prototype.getId=function(){return _.x(this,1)};_.FN.prototype.Wb=function(a){return _.w(this,1,a)};_.FN.prototype.De=function(){return _.A(this,_.He,3)};_.HN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.HN,_.I);_.HN.prototype.De=function(){return _.A(this,_.He,1)};_.VN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.VN,_.I);_.g=_.VN.prototype;
_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Lg=function(a){return _.w(this,2,a)};_.g.De=function(){return _.A(this,_.He,3)};_.qKc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.qKc,_.I);_.g=_.qKc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Lg=function(a){return _.w(this,2,a)};_.g.De=function(){return _.A(this,_.He,3)};
_.$N=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.$N,_.I);_.$N.prototype.Lc=function(){return _.x(this,1)};_.$N.prototype.Jt=function(){return _.D(this,3)};_.$N.prototype.De=function(){return _.A(this,_.He,4)};_.bO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.bO,_.I);_.g=_.bO.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};
_.g.getState=function(){return _.x(this,3)};_.g.Qd=function(a){return _.w(this,3,a)};_.g.sq=function(){return _.sk(this,3)};_.g.De=function(){return _.A(this,_.He,5)};var kMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(kMc,_.I);_.lMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.lMc,_.I);_.lMc.prototype.xf=function(){return _.x(this,1)};_.lMc.prototype.Ib=function(){return _.x(this,4)};_.lMc.prototype.Dc=function(a){return _.w(this,4,a)};var mMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(mMc,_.I);
var nMc=function(a,b){_.w(a,6,b)},oMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(oMc,_.I);_.g=oMc.prototype;_.g.M1a=function(a){_.w(this,1,a)};_.g.fwb=function(a){_.w(this,2,a)};_.g.Tz=function(){return _.D(this,3)};_.g.N1a=function(a){_.w(this,3,a)};_.g.Nvb=function(a){_.w(this,4,a)};var pMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(pMc,_.I);pMc.prototype.Tz=function(){return _.D(this,2)};var qMc=function(a,b){return _.w(a,2,b)},rMc=function(a,b){_.w(a,3,b)};
pMc.prototype.qy=function(){return _.x(this,6)};var sMc=function(a,b){return _.w(a,8,b)},tMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(tMc,_.I);tMc.prototype.zd=function(){return _.A(this,_.lMc,1)};tMc.prototype.getState=function(){return _.A(this,mMc,2)};tMc.prototype.Qd=function(a){return _.H(this,2,a)};tMc.prototype.sq=function(){return _.sk(this,2)};var uMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(uMc,_.I);uMc.prototype.getEnvironment=function(){return _.x(this,2)};
uMc.prototype.setEnvironment=function(a){return _.w(this,2,a)};_.eKc=[42,1005,20,50,18,1003,1002];vMc=[73,71];wMc=function(a){var b=new _.li;a.listen("loadend",_.df(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Jd(f):c.callback(e);d.dispose()},b,a));return b};_.xMc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};_.yMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.yMc,_.I);_.g=_.yMc.prototype;_.g.getKey=function(){return _.x(this,1)};_.g.kb=function(){return _.x(this,2)};
_.g.Rb=function(a){return _.w(this,2,a)};_.g.vj=function(){return _.w(this,2,void 0)};_.g.qg=function(){return _.sk(this,2)};_.g.wg=function(){return _.x(this,3)};_.g.wm=function(a){return _.w(this,3,a)};_.g.getType=function(){return _.x(this,4)};_.GO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.GO,_.I);_.GO.prototype.Rq=function(){return _.A(this,_.lD,1)};_.zMc=function(a,b){return _.H(a,1,b)};_.GO.prototype.Tn=function(){return _.x(this,3)};AMc=[3,4];_.PN=function(a){_.Q(this,a,0,-1,AMc,null)};
_.N(_.PN,_.I);_.PN.prototype.getType=function(){return _.x(this,1)};_.PN.prototype.De=function(){return _.A(this,_.He,2)};_.BMc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.BMc,_.I);_.BMc.prototype.getId=function(){return _.x(this,1)};_.BMc.prototype.Wb=function(a){return _.w(this,1,a)};_.BMc.prototype.De=function(){return _.A(this,_.He,2)};_.RN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.RN,_.I);_.RN.prototype.Tn=function(){return _.x(this,2)};
_.RN.prototype.zd=function(){return _.A(this,_.BMc,3)};CMc=[1];_.TN=function(a){_.Q(this,a,0,-1,CMc,null)};_.N(_.TN,_.I);_.TN.prototype.nm=function(){return _.ad(this,1)};_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.cO,_.I);_.cO.prototype.De=function(){return _.A(this,_.He,1)};_.cO.prototype.xg=function(){return _.x(this,4)};DMc=[2];_.ZN=function(a){_.Q(this,a,0,-1,DMc,null)};_.N(_.ZN,_.I);_.ZN.prototype.Lc=function(){return _.x(this,1)};_.ZN.prototype.RP=function(){return _.Kk(this,_.yH,2)};
_.ZN.prototype.De=function(){return _.A(this,_.He,3)};_.GN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.GN,_.I);_.GN.prototype.getId=function(){return _.x(this,1)};_.GN.prototype.Wb=function(a){return _.w(this,1,a)};_.GN.prototype.EF=function(){return _.sk(this,3)};EMc=[1];_.pKc=function(a){_.Q(this,a,0,-1,EMc,null)};_.N(_.pKc,_.I);var FMc=function(a){_.Li.call(this,a);_.pIc.get(a)};_.K(FMc,_.Li);
_.GMc=function(){var a=void 0===a?1E3:a;this.V=new _.wm;this.H=new _.wm;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.IMc=function(a){var b=a.V.Eg();a.W&&b.push(HMc("...","...","...","..."));_.ua(b,a.H.Eg());return b};_.JMc=function(a){var b=[];a=_.IMc(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")};_.GMc.prototype.info=function(a,b){_.HO(this,a,b,"info")};
_.GMc.prototype.config=function(a,b){_.HO(this,a,b,"config")};_.GMc.prototype.log=function(a,b,c){_.HO(this,a,b,c)};_.HO=function(a,b,c,d){a.H.qc()>=a.ka&&(a.W=!0,_.xm(a.H));var e=Date.now()-a.ma;b=HMc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.qc()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};HMc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.KMc=function(){this.H={}};LMc=function(a,b,c){if(a.H[b])throw Error("cf");a.H[b]=c};
_.KMc.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 MMc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},NMc=function(a){_.Li.call(this,"Ab");this.request=a};_.K(NMc,_.Li);var IO=function(){_.P.apply(this,arguments)};_.K(IO,_.P);var OMc=function(a,b){a.dispatchEvent(new NMc(b))};IO.prototype.W=function(){};_.PMc=function(a){IO.call(this);this.H=a};_.K(_.PMc,IO);
_.PMc.prototype.V=function(a){var b=!1;_.kIc(_.NM(a.fw[a.fw.length-1].response))&&(this.H.va(),b=!0);return b&&2>a.fw.length?(OMc(this,a),!0):!1};var JO=function(a){_.P.call(this);this.ha=a};_.K(JO,_.P);_.g=JO.prototype;_.g.max=function(){};_.g.bY=function(){};_.g.zua=function(){};_.g.PNa=function(){};_.g.ALa=function(){};_.g.ONa=function(){};_.g.MD=function(){this.dispatchEvent(new _.Li("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};
var QMc=function(a){_.Li.call(this,"Cb");this.Ey=a};_.K(QMc,_.Li);QMc.prototype.Ye=function(){return this.Ey};_.RMc=function(a,b){JO.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.ke(this);this.Na(this.H);this.H.listen(this.W,"Cb",function(d){d.Ye()||c.MD()});this.H.listen(this.V,"xa",this.MD)};_.K(_.RMc,JO);_.RMc.prototype.max=function(){var a=this.W.Ye(),b=this.V.H;return!a&&b?Infinity:0};_.RMc.prototype.bY=function(){this.MD()};
_.SMc=function(a,b,c){this.H=new _.LI(a,b,.5);this.W=c;this.V=!0};_.TMc=function(a,b){JO.call(this,"Backoff");this.H=a;this.V=b};_.K(_.TMc,JO);_.TMc.prototype.max=function(){return this.H.V?Infinity:0};_.TMc.prototype.ALa=function(){this.H.H.reset()};_.TMc.prototype.ONa=function(a){var b=this;UMc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.kb(),VMc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){VMc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.MD()},a),_.MI(this.H.H))};
UMc=function(a){a=a.fw.length&&_.ba(a.fw).response;return!!(a&&a instanceof _.rb&&cKc(a))};VMc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.WMc=function(a,b){JO.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.K(_.WMc,JO);_.WMc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.WMc.prototype.bY=function(a){a>=this.V?this.MD():null==this.H&&XMc(this)};_.WMc.prototype.zua=function(a,b){0<b?XMc(this):this.H=null};
XMc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.MD.bind(a),a.W)};_.rKc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.tKc=function(a){this.request=a;this.requestId=_.Kg()};_.YMc=function(a,b,c,d){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d};_.yKc=function(a,b){this.request=a;this.H=b};_.eO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.CKc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};
AKc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};ZMc=function(a,b,c){this.Fib=a;this.Cub=b;this.J0a=c};BKc=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};_.FKc=function(a){this.H=a};_.sKc=function(a,b){this.request=a;this.pageToken=b||""};_.zKc=function(a,b){this.request=a;this.pageToken=b||""};$Mc=function(a,b){this.o$=a;this.qG=b};KO=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};
_.LO=function(a,b,c){a.mM.length&&a.append(" "+(c||"and")+" ");a.append(b)};MO=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(KO(c));e.push("in");e.push(b);_.LO(a,e.join(" "))}};_.NO=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());_.LO(a,e.join(" "),d)}};_.aNc=function(a){var b=new _.vIc;b.setTime(a);return b};bNc=function(a,b){b=_.Kk(b,_.sO,35)||[];_.Ga(b,function(c){MO(a,"ancestors",c.kb(),!1)})};
cNc=function(a,b){b=_.Kk(b,_.sO,38)||[];_.Ga(b,function(c){MO(a,"descendants",c.kb(),!1)})};dNc=function(a,b){b=_.Kk(b,_.Ol,37)||[];_.Ga(b,function(c){MO(a,"folderFeatures",c.kb(),!1)})};eNc=function(a,b){b=_.ad(b,39);_.Ga(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(KO(c));_.LO(a,d.join(" "))})};fNc=function(a,b){b=_.ad(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(KO(b));_.LO(a,c.join(" "))}};
_.gNc=function(a){a=_.Kk(a,_.tO,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(",")};_.hNc=function(a){a=a.Jv();return null==a||0==a.length?"":_.pe(a,function(b){b=_.x(b,1);if(0==b)throw Error("df");return _.fGc[b]}).join(",")};
iNc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=KO(a.kb());_.D(a,4)?(_.y(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.y(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(" ")};jNc=function(a){if(_.D(a,2))return"any";switch(a.kb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};
kNc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};lNc=function(a,b,c){if(null!=_.x(c,2)){var d=kNc(_.x(c,1));c=KO(_.VLc(_.aNc(_.x(c,2)||0)));_.LO(a,[b,d,c].join(" "))}};mNc=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""};
_.nNc=function(a){for(var b=new _.uq,c=_.Kk(a,_.Ql,4),d=0;d<c.length;d++){var e=c[d],f=e.kb();if(f){var h=_.x(e,1),k=_.y(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(KO(f));_.LO(b,l.join(" "))}}for(var n=_.Kk(a,_.Pl,5),p=0;p<n.length;p++){var t=n[p],u=t.kb();if(u){var z=[];_.y(t,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(KO(u));_.LO(b,z.join(" "))}}var B=_.uO(a);if(B&&0!=B.length){for(var F=[],M=[],J=0;J<B.length;J++){var S=B[J];
S.kb()&&(_.y(S,2,!1)?M.push(S):F.push(S))}for(var U=0;U<F.length;U++){var ha=iNc(F[U],0==U?"(":"",U==F.length-1?")":"");_.LO(b,ha,0!=U?"or":"and")}for(var ea=0;ea<M.length;ea++)_.LO(b,iNc(M[ea],0==ea?"(":"",ea==M.length-1?")":""))}for(var Fa=_.Kk(a,_.Nl,7),Aa=0;Aa<Fa.length;Aa++)lNc(b,"modifiedDate",Fa[Aa]);for(var ca=_.Kk(a,_.Nl,8),Na=0;Na<ca.length;Na++)lNc(b,"lastViewedByMeDate",ca[Na]);_.NO(b,"trashed",a.Xh());_.NO(b,"explicitlyTrashed",_.D(a,17));_.NO(b,"starred",_.D(a,10));_.NO(b,"hidden",a.lm());
for(var Ra=_.vO(a),Ib=0;Ib<Ra.length;Ib++){var hb=Ra[Ib];MO(b,"parents",hb.kb(),_.y(hb,2,!1))}for(var $b=_.Kk(a,_.ve,13),Qd=0;Qd<$b.length;Qd++){var te=$b[Qd];MO(b,"owners",te.kb(),_.y(te,2,!1))}for(var vg=_.Kk(a,_.ve,14),Ue=0;Ue<vg.length;Ue++){var Jf=vg[Ue];MO(b,"writers",Jf.kb(),_.y(Jf,2,!1))}for(var Wg=_.Kk(a,_.ve,15),Xg=0;Xg<Wg.length;Xg++){var od=Wg[Xg];MO(b,"readers",od.kb(),_.y(od,2,!1))}_.D(a,16)&&_.LO(b,"sharedWithMe");_.NO(b,"unparented",_.D(a,34));bNc(b,a);cNc(b,a);dNc(b,a);eNc(b,a);for(var Hi=
_.ad(a,40),xf=0;xf<Hi.length;xf++){var dg=[];0==xf&&dg.push("(");dg.push(KO(Hi[xf]));dg.push("in");dg.push("templateData.categories");xf==Hi.length-1&&dg.push(")");_.LO(b,dg.join(" "),0==xf?"and":"or")}var Lb=_.x(a,41);if(null!=Lb){var zh=[];zh.push("templateData.galleryState");zh.push("=");zh.push(KO(_.xIc[Lb]||""));_.LO(b,zh.join(" "))}var Uk=_.x(a,42);if(null!=Uk){var cj=[];cj.push("visibility");cj.push("=");cj.push(KO(mNc(Uk)));_.LO(b,cj.join(" "))}for(var Fp=_.Kk(a,_.Kl,44),Dk=0;Dk<Fp.length;++Dk){var eg=
Fp[Dk];MO(b,"actionItems",jNc(eg),_.y(eg,3,!1))}if(_.sk(a,50)){var Ah=[];Ah.push("pairedDocType");var jk=_.y(a,50,!1)?"!=":"=";Ah.push(jk);Ah.push(KO("NONE"));_.LO(b,Ah.join(" "))}MO(b,"workspaceIds",_.x(a,54),!1);for(var Gp=_.Kk(a,_.Ll,57),wl=0;wl<Gp.length;wl++){var Ln=[];0==wl&&Ln.push("(");Ln.push(KO(Gp[wl].kb()));Ln.push("in");Ln.push("approvals");wl==Gp.length-1&&Ln.push(")");_.LO(b,Ln.join(" "),0==wl?"and":"or")}if(_.sk(a,58)){var Vk=_.A(a,_.ve,58),Ek=Vk.kb(),Lm=_.y(Vk,2,!1);if(Ek){var kk=
[];Lm&&kk.push("not");kk.push("creator");kk.push("=");kk.push(KO(Ek));_.LO(b,kk.join(" "))}}var mh=_.A(a,_.tna,59);if(mh)for(var ti=_.v(_.Kk(mh,_.mna,1)),Ho=ti.next();!Ho.done;Ho=ti.next()){var Fk=Ho.value;MO(b,"categoryMetadata",Fk.Ml());for(var Gk=_.v(Fk.hm()),gh=Gk.next();!gh.done;gh=Gk.next()){var Ph=gh.value,di=_.x(Ph,1),Cc=_.qk(Ph,_.Ml[0]);if(10==Cc){_.A(Ph,_.dna,10);var Mm=_.D(Ph,15);(void 0===Mm?0:Mm)?_.LO(b,di+" is null"):_.LO(b,"not ("+di+" is null)")}else{var ei=new _.uq,Ii=void 0;switch(Cc){case 3:Ii=
_.A(Ph,PLc,3);for(var Mu=_.v(Ii.V()),Mq=Mu.next();!Mq.done;Mq=Mu.next())_.NO(ei,di,Mq.value,"or");break;case 14:for(var lk=Ii=_.A(Ph,_.Xma,14),Wr=new Map([[1,"="],[2,">"],[3,"<"]]),Nm=_.v(lk.V()),xl=Nm.next();!xl.done;xl=Nm.next()){var Xr=xl.value,Mn=Wr.get(_.x(lk,2));if(!Mn)throw Error("ef");var nh=[di,Mn,KO(Xr.getYear()+"-"+Xr.getMonth()+"-"+Xr.getDay())];_.LO(ei,nh.join(" "),"or")}break;case 8:for(var Nj=Ii=_.A(Ph,_.cna,8),Nn=new Map([[1,"="],[2,">"],[3,"<"]]),jf=_.v(Nj.V()),Oj=jf.next();!Oj.done;Oj=
jf.next()){var Hp=Oj.value,Yr=Nn.get(_.x(Nj,2));if(!Yr)throw Error("ef");_.LO(ei,[di,Yr,Hp].join(" "),"or")}break;case 9:for(var Ip=Ii=_.A(Ph,RLc,9),Jp=new Map([[1,"in"]]),Io=_.v(Ip.V()),yl=Io.next();!yl.done;yl=Io.next()){var Nq=yl.value,jt=Jp.get(_.x(Ip,2));if(!jt)throw Error("ef");_.LO(ei,[Nq,jt,di].join(" "),"or")}break;case 6:for(var Jo=Ii=_.A(Ph,_.hna,6),Ko=new Map([[1,"="]]),Lo=_.v(Jo.V()),Zr=Lo.next();!Zr.done;Zr=Lo.next()){var wg=Zr.value,Kp=Ko.get(_.x(Jo,2));if(!Kp)throw Error("ef");_.LO(ei,
[di,Kp,KO(wg)].join(" "),"or")}break;case 7:for(var Nu=Ii=_.A(Ph,_.fna,7),kt=new Map([[1,"in"]]),Wk=_.v(Nu.V()),lt=Wk.next();!lt.done;lt=Wk.next()){var Oq=lt.value,$r=kt.get(_.x(Nu,2));if(!$r)throw Error("ef");_.LO(ei,[KO(Oq),$r,di].join(" "),"or")}break;case 4:for(var cm=Ii=_.A(Ph,_.jna,4),dm=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),qz=_.v(cm.V()),mt=qz.next();!mt.done;mt=qz.next()){var Ve=mt.value,rz=dm.get(_.x(cm,2));if(!rz)throw Error("ef");_.LO(ei,[di,rz,KO(Ve)].join(" "),"or")}break;
case 5:for(var zB=Ii=_.A(Ph,TLc,5),PI=new Map([[1,"in"]]),QI=_.v(zB.V()),Mo=QI.next();!Mo.done;Mo=QI.next()){var LE=Mo.value,dj=PI.get(_.x(zB,2));if(!dj)throw Error("ef");_.LO(ei,[KO(LE),dj,di].join(" "),"or")}break;case 12:for(var AB=Ii=_.A(Ph,_.ana,12),LS=new Map([[1,"="]]),WM=_.v(AB.V()),RI=WM.next();!RI.done;RI=WM.next()){var SI=RI.value,BB=LS.get(_.x(AB,2));if(!BB)throw Error("ef");_.LO(ei,[di,BB,KO(SI)].join(" "),"or")}break;case 11:for(var XM=Ii=_.A(Ph,_.Zma,11),$9=new Map([[1,"in"]]),TI=_.v(XM.V()),
YM=TI.next();!YM.done;YM=TI.next()){var W_=YM.value,UI=$9.get(_.x(XM,2));if(!UI)throw Error("ef");_.LO(ei,[KO(W_),UI,di].join(" "),"or")}}_.D(Ph,15)?_.LO(b,"not ("+ei+")"):_.LO(b,1<Ii.V().length?"("+ei+")":""+ei)}}}_.D(a,60)&&_.NO(b,"canChangeSecurityUpdateEnabled",_.D(a,60));1==_.wO(a)&&fNc(b,a);return b.toString()};
_.oNc=function(a){var b=new _.uq(_.nNc(a));_.LN(a)?_.LO(b,"isQuickAccessRequest"):_.MN(a)?_.LO(b,"isPeoplePredictRequest"):_.NN(a)&&_.LO(b,"isDrivePriorityRequest");var c=a.ae();if(c){var d=[];d.push("sortBy");d.push(_.sIc[c.getType()]);d.push(_.zIc[c.Kh()]);_.D(c,3)&&d.push("foldersFirst");_.LO(b,d.join(" "))}_.NO(b,"domainSearch",_.D(a,18));_.NO(b,"offline",_.D(a,19));_.Kk(a,_.tO,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.gNc(a)),_.LO(b,c.join(" ")));a.Jv().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.hNc(a)),_.LO(b,c.join(" ")));if(c=_.wO(a))d=[],d.push("corpora"),d.push("="),d.push(KO(_.xMc[c])),_.LO(b,d.join(" "));1!=_.wO(a)&&fNc(b,a);_.y(a,48,!1)&&_.LO(b,"cachedOnly");return b.toString()};_.kO=function(a){if(a instanceof _.BM)a=a.zd();else if(!a)return!1;return a instanceof _.tp||"undefined"!=typeof _.XN&&a instanceof _.XN||"undefined"!=typeof _.OO&&a instanceof _.OO||a instanceof _.re&&(_.LN(a)||_.MN(a)||_.NN(a))};
KKc=[_.sN,_.uN,_.tN,_.wN,_.vN,_.xN,_.yN,_.BN,_.DN,_.EN,_.FN,_.HN,_.VN,_.qKc,_.ZN,_.RM,_.$N,_.aO,_.bO,_.tKc,_.eO];pNc=[_.TM];LKc=[_.wH,_.zKc];MKc=[_.RN,_.cO,_.yKc,_.fO];NKc=[_.BM,_.mp,_.TM,_.sKc];OKc=[_.fO,_.up];PKc=[_.GN,_.pKc,_.PN,_.TN,_.rKc,_.eO,BKc,AKc];_.PO=function(){this.Aq=[]};_.PO.prototype.add=function(a,b){b?this.Aq.unshift(a):this.Aq.push(a);return!0};_.PO.prototype.H=function(a){return _.wa(this.Aq,0,a)};
_.PO.prototype.cancel=function(a){return _.qa(this.Aq,function(b){return b.kt.config.requestId==a?(b.sj.resolve(IKc(b.kt.request)),!0):!1})};_.qNc=function(a){IO.call(this);this.H=a};_.K(_.qNc,IO);_.qNc.prototype.V=function(a){var b=_.NM(a.fw[a.fw.length-1].response),c=!1;if(2==b.Jo())b=this.H,rNc(b,3)&&_.sNc(b),c=!0;else if(_.kIc(b)){b=this.H;if(c=!b.H)c=b.Mb,c=!c.pJ&&c.isConnected()?c.Bea=!0:!1;c&&_.sNc(b);c=!0}return c&&2>a.fw.length?(OMc(this,a),!0):!1};var tNc=function(){JO.call(this,"Immediate")};
_.K(tNc,JO);tNc.prototype.max=function(){return Infinity};tNc.prototype.bY=function(){this.MD()};var uNc=function(){JO.call(this,"One Request")};_.K(uNc,JO);uNc.prototype.max=function(){return 1};_.vNc=function(a){JO.call(this,"Online");var b=this;this.Bh=a;this.H=new _.ke(this);this.Na(this.H);this.H.listen(this.Bh,["wb","xb","yb"],function(){return b.MD()})};_.K(_.vNc,JO);_.vNc.prototype.max=function(){return this.Bh.isConnected()?Infinity:0};_.vNc.prototype.bY=function(){this.MD()};
_.QO=function(a){JO.call(this,"Parallel");this.V=a;this.H=0};_.K(_.QO,JO);_.QO.prototype.max=function(){return Math.max(0,this.V-this.H)};_.QO.prototype.bY=function(){this.H<this.V&&this.MD()};_.QO.prototype.zua=function(a){this.H+=a.length};_.QO.prototype.PNa=function(a){this.H-=a.length;this.H<this.V&&this.MD()};
_.RO=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.Ka=a;this.W=b;this.ha=new _.ke(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){wNc(h,!0,k.request)});this.Ma=_.Gy("drive.ds.network.queue.Queue [%s]",f);this.Ha=0;this.ka=new Map};_.K(_.RO,_.P);_.RO.prototype.add=function(a){return wNc(this,!1,{kt:a,sj:_.ii(),fw:[]})};
_.RO.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?xNc(this,"Canceled ID "+a+" during execution."):c&&xNc(this,"Canceled ID "+a+" inside bucket.");return b||c};var wNc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.xr(new _.rb,"No queue bucket accepted request."),_.ci(_.nN(a));for(var d=yNc(a),e=0;e<a.H.length;e++)a.H[e].bY(d);return c.sj.promise};
_.RO.prototype.ta=function(){var a=yNc(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&&(xNc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),zNc(this,c))}};
var zNc=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=yNc(a);for(var f=0;f<a.H.length;f++)a.H[f].zua(b,e);_.ji(_.hi(d).then(a.va.bind(a,b)),function(){a.ka.delete(c)});_.m.setTimeout(a.ta.bind(a),0)};
_.RO.prototype.Ea=function(a,b){var c=a.kt.config;xNc(this,HKc(a.kt.request)+" request completed successfully. xd4: "+!(!c||!c.XI));this.H.forEach(function(d){return d.ALa()});this.ma.forEach(function(d){return d.W(a)});a.sj.resolve(b)};
_.RO.prototype.Ba=function(a,b){b=_.nN(b);xNc(this,HKc(a.kt.request)+(" request failed with error: "+b.W+"."));a.fw.push({response:b,kyb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].ONa(a);a.kt.config.Afa||!this.ma.some(function(d){return d.V(a)})?a.sj.reject(b):xNc(this,HKc(a.kt.request)+" encountered an error, but was intercepted to be retried.")};_.RO.prototype.va=function(a){for(var b=0;b<this.H.length;b++)this.H[b].PNa(a)};
yNc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Aq.length){b=a.V[c].Aq.length;break}return b};xNc=function(a,b){a.Ka.info(a.Ma,b)};_.ANc=function(a,b,c,d){IO.call(this);this.ma=_.C(a,21,1E3);this.Ba=_.C(a,1,1);this.ha=b;this.ta=c;this.ka=d;this.H=new Map;this.va=function(){return new _.SMc(_.C(a,63,1E3),_.C(a,64,3E5),_.C(a,65,10))}};_.K(_.ANc,IO);
_.ANc.prototype.V=function(a){var b=a.fw.length,c=0<b&&_.ba(a.fw).response||null;if(c){c=_.NM(c);if(2==c.Jo()&&this.ta.Ye())return BNc(this,a);var d=c.lj();if(3==d||31==d||13==d||9==d)return CNc(this,a,b);if(cKc(c))return b=this.ha.H.H,c=this.ha,c.H.H<c.W?(DNc(this,"Backoff number "+b+" for a User Rate Limit error."),OMc(this,a),a=!0):(DNc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var BNc=function(a,b){var c=ENc(a,b),d=c.H.H;if(c.H.H<c.W)return DNc(a,"Retry "+(d+1)+" for a failed request due to an offline error."),d=c.H.kb(),_.m.setTimeout(function(){return OMc(a,b)},d),_.MI(c.H),!0;a.H.delete(b);return!1},ENc=function(a,b){a.H.has(b)||a.H.set(b,a.va());return a.H.get(b)},CNc=function(a,b,c){var d=a.Ba;if(c<=d)return DNc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return OMc(a,b)},a.ma*Math.pow(2,c)),!0;DNc(a,"Done retrying retriable requests after "+
d+" retries.");return!1};_.ANc.prototype.W=function(a){this.H.delete(a)};
var DNc=function(a,b){a.ka.info("drive.ds.network.queue.RetryInterceptor",b)},FNc=function(a){try{if("undefined"!=typeof FileReaderSync&&_.lIc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.gob,d=wMc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.eob(e,"reading data"))}},GNc=function(a){return FNc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},HNc=function(a,b,c,d,e,f,h){this.Ua=a;this.ha=b;this.hb=
c;this.ta=d;this.mb=e;this.Tb=f;this.Ma=h;a=_.A(f.request,_.XLc,15);a=_.lIc()&&a?_.x(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Ea=this.Ka=this.va=null;this.W=_.ii();this.ma=!1;this.Ha=h.requestId;this.ka="progress_"+this.Ha;h.ewa=this.ka;this.Ba=this.Oa=0},INc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
HNc.prototype.start=function(){var a=this,b=new AKc(this.Tb.request,this.V,this.Tb.metadata),c=JNc(this);this.Ua.then(function(d){return d.H(b,c)}).then(function(d){a.va=d.Fib;a.Ka=d.Cub;a.Ea=d.J0a;KNc(a)},function(d){return void a.W.reject(d)});return _.ji(this.W.promise.then(function(d){LNc(a,d);return d},function(d){d=_.nN(d);LNc(a,d.Ig);return _.ci(d)}),function(){MMc(a.ha,[a.ka])})};var JNc=function(a){var b=_.Ef(a.Ma);LMc(a.ha,a.ka,eMc(function(){return void a.ha.notify([a.Ha],0)}));return b};
HNc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(IKc(this.Tb)),!0)};KNc=function(a){a.ma||(INc(a,"Uploading chunk "+a.Ba+" for "+a.va+"."),MNc(a,4))};
MNc=function(a,b){NNc(a).then(function(c){if(c){var d=ONc(a,c.H.size);if(d.Afa){var e=(new _.hO).Dc(8);a.W.resolve(e)}else a.Ua.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.IL()&&(a.Ea=f.IL());a.H<a.V?KNc(a):a.W.resolve(f)},function(f){var h=_.NM(f);h.sqa()||h.Vca()?PNc(a,b,h,!1):GNc(c.H).then(function(k){k=k?_.hEa.get(k)||25:38;_.AM(h,k);k=38==h.Jo();var l=38!=h.Jo()&&25!=h.Jo();PNc(a,b,h,k,l)},function(){})})}else e=_.nN(_.AM(_.xr(new _.rb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};PNc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Tma(f);!e&&0<b?(a.Oa++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;INc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.va+"."));MNc(a,b)},a.mb*Math.pow(1.5,f))):a.W.reject(_.nN(c))};
NNc=function(a){return QNc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new BKc(a.va,b,a.V,a.H,a.H+b.size-1,a.Tb.request.Zb(),_.x(a.Tb.request,12)||void 0)})};QNc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.Tb.H?a.Tb.H(c,b):_.bi(_.IGc(a.Tb.file,c,d))};ONc=function(a,b){var c=_.Ef(a.Ma);c.jCa=!0;var d=a.H/a.V,e=b/a.V;MMc(a.ha,[a.ka]);LMc(a.ha,a.ka,function(f){a.ha.notify([a.Ha],d+e*f)});return c};
LNc=function(a,b){b.WDa(3);b.Tma(a.Oa);b.kD()||b.b7(a.Ka);b.IL()||b.O6(a.Ea)};_.RNc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.RNc.prototype.create=function(a,b){return new HNc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.SNc=function(a){this.V=a;this.H={}};
_.SNc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].kt.request instanceof _.CKc)b.push(TNc(this,a[c].kt));else{var d=_.xr(new _.rb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.nN(d)))}return b};_.SNc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.SNc.prototype.CLa=function(){return!_.Bf(this.H)};TNc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ji(d,function(){delete a.H[e]})};
_.UNc=function(a,b){return new _.RO(b,a,[new tNc],[new _.PO],[],"immediate")};_.VNc=function(a,b,c,d,e,f,h){if(h){var k=new _.vNc(h.getState());d=new _.qNc(h)}else k=new _.RMc(c,d),d=new _.PMc(d);return new _.RO(f,a,[k,new _.TMc(e,f),new uNc],[new _.PO],[d,new _.ANc(b,e,h?h.getState():c,f)],"connected")};
_.WNc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.C(b,10,50):l;if(h){var n=new _.vNc(h.getState());d=new _.qNc(h)}else n=new _.RMc(c,d),d=new _.PMc(d);return new _.RO(f,a,[n,new _.WMc(l,_.C(b,12,10)),new _.QO(3*l),new _.TMc(e,f)],[new _.PO],[d,new _.ANc(b,e,h?h.getState():c,f)],k)};_.XNc=function(a,b,c){b=_.C(b,46,1);return new _.RO(c,a,[new _.QO(b)],[new _.PO],[],"resumable_upload")};
_.YNc=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};_.YNc.prototype.H=function(a,b){var c=this,d=function(h){h=_.nN(h);var k=h.Ig;JKc(a)||_.zr(k);return _.ci(h)};if(this.ha()&&(a instanceof _.BM&&_.kO(a.zd())||b&&b.gAb)){this.W||(this.W=_.ii());var e=this.W.promise}var f=function(){return ZNc(c,a,b).then(null,d)};return e?e.then(f):f()};
var ZNc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ea.validate(b);if(d)return _.ci(_.nN(d));d=a.ma.V(b);return d instanceof _.rb?_.ci(_.nN(d)):Array.isArray(d)?(d=d.map(function(e){return $Nc(a,b,e,c)}),_.hi(d)):$Nc(a,b,d,c)},$Nc=function(a,b,c,d){var e=aOc(a,c);if(!e)return b=_.AM(_.xr(new _.rb,"Failed to choose a queue for server request."),18),_.ci(_.nN(b));if(e===a.V[7]||e===a.V[8])d.XI=!0;d=e.add({request:c,config:d});(_.jO(b)||_.jO(c))&&_.ji(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};_.YNc.prototype.cancel=function(a){return _.wf(this.V,function(b){return b.cancel(a)})};
aOc=function(a,b){var c=!1;b instanceof _.mp?c=!!_.D(b,7):b instanceof _.BM&&(c=(c=b.zd())&&!!_.D(c,46));return(b instanceof _.FKc||"undefined"!=typeof _.SO&&b instanceof _.SO&&b.W())&&a.V[1]?a.V[1]:b instanceof _.CKc&&a.V[5]?a.V[5]:c&&QKc(b,a.ka)&&a.V[7]?a.V[7]:QKc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.mp&&a.V[6]?a.V[6]:(c||pNc.includes(b.constructor))&&a.V[3]?a.V[3]:KKc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.bOc=function(a,b){this.H=a;this.V=_.rIc[_.C(a.Ff(),8,0)];this.ha=_.rIc[_.C(a.Ff(),51,5)];this.W=b;this.ka=_.Kg()};
_.bOc.prototype.yc=function(a,b){if(b.XI)cOc(this,a,b),dOc(this,a,b);else if(11==a.Xl){if(b.rrb){var c=b.cga||_.C(this.H.Ff(),37,"");_.Gj(a.uri,"key",c)}cOc(this,a,b);eOc(this,a,b)}else switch(a.uri=fOc(this,a.Xl,a.uri),a.Xl){case 1:eOc(this,a,b);cOc(this,a,b);break;case 0:_.y(this.H,83,!1)&&(b.ex||_.EM(this.H.nf())||_.Gj(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:eOc(this,a,b);dOc(this,a,b);cOc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:eOc(this,a,b);dOc(this,a,b);break;
default:throw Error("mf`"+a.Xl);}};
var gOc=function(a,b){var c=fOc(a,b,new _.xj);if(!c.H)throw Error("of");return _.Bj(_.Aj(_.zj(_.yj(new _.xj,c.V),c.H),c.ha),_.FIc.has(b)?"/batch"+a.V:"/batch")},fOc=function(a,b,c){var d=_.x(a.H.Ff(),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=_.C(a.H.Ff(),62,"");break;case 8:a=_.x(a.H.Ff(),53);break;case 9:a=_.x(a.H.Ff(),56);break;case 10:a=_.x(a.H.Ff(),22);break;
case 13:a=_.x(a.H.Ff(),55);break;case 12:a=_.x(a.H.Ff(),43);break;default:throw Error("mf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.xj(a);_.Oc(c,"/")&&(c=c.slice(1));return new _.xj(a+"/"+c)},eOc=function(a,b,c){a=a.H.nf();c.ex||_.EM(a)||(c=[{key:"u",value:_.xO(a)}],b.headers.authorization=_.b_b(c)||"",c=_.OM(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},cOc=function(a,b,c){var d=a.H.nf(),e=a.H.Ff(),f=c.zyb||!!_.x(e,13);c=c.Ayb||_.y(e,14,!1);var h=11==b.Xl;
f&&((f=_.x(e,13))&&_.Oc(f,"email:")?_.Gj(b.uri,"trace",f):f&&"trace:true"==f?_.Gj(b.uri,"$trace","true"):f?_.Gj(b.uri,"trace","token:"+f):_.Gj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.Gj(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.C(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},dOc=function(a,b,c){c.ex||_.EM(a.H.nf())?_.Gj(b.uri,"key",_.C(a.H.Ff(),36,"")):(a=c.cga||_.C(a.H.Ff(),37,""),_.Gj(b.uri,"key",
a))},hOc=function(a){this.H=a};hOc.prototype.build=function(a,b){var c="====="+_.Kg()+"=====",d=a[0].Xl,e=b.every(function(l){return l.XI});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=gOc(this.H,a[0].Xl);_.Gj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.JIc[d],h=_.KIc[d]||{},h["content-type"]=_.Gy('multipart/mixed; boundary="%s"',c),d=_.HIc[d],k=new _.xj("");a=iOc(this,a,b,c,e);return{Xl:f,body:a,headers:h,method:d,uri:k}};
var iOc=function(a,b,c,d,e){for(var f=nKc(_.NIc[b[0].Xl]||{}),h="",k=0;k<b.length;k++){e&&eOc(a.H,b[k],c[k]);var l=b[k],n=a.H,p=l,t=c[k];p.uri=fOc(n,p.Xl,p.uri);switch(p.Xl){case 0:case 5:dOc(n,p,t);cOc(n,p,t);break;case 2:eOc(n,p,t);dOc(n,p,t);var u=p,z=_.x(n.H.Ff(),57);u.headers.host=_.Lj(z).H;u.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;cOc(n,p,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("nf`"+p.Xl);default:throw Error("mf`"+
p.Xl);}n=l;p=n.uri.clone();_.yj(p,"");_.zj(p,"");_.Aj(p,null);l=f+"\r\n"+(n.method+" "+p+" HTTP/1.1\r\n")+nKc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},jOc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,kOc=/^multipart\/mixed; boundary="?([^"]+)"?$/,lOc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.sb("Individual batch response contained too few parts.",_.AM(_.yr(new _.rb,b),17));var f=e[1].split("\r\n");if(d=jOc.exec(f[0])){var h=_.Ng(d[1]);
d=d[2]}else return new _.sb("Could not extract HTTP status code and text.",_.AM(_.yr(new _.rb,b),16));f.shift();a=_.Ef(a);Object.assign(a,oKc(f));try{var k=_.Ec(_.Jg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.zGc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.nN(c):{headers:a,text:b,json:k||void 0}},mOc=function(){_.sj.apply(this,arguments)};_.K(mOc,_.sj);mOc.prototype.getAllResponseHeaders=function(){return _.xga(_.sj.prototype.getAllResponseHeaders.call(this))};
var nOc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},oOc=function(a,b,c){try{a.ma.yc(b,c);var d=new mOc;d.DB=!0;var e=c.requestId||"",f=_.ii();d.listen("complete",a.ta.bind(a,d,f,e,c.Wqa,4==b.Xl));e&&c.ewa&&!c.XI&&(a.V[e]=d,a.H[e]=c,d.Fb=!0,d.listen("uploadprogress",(0,_.L)(a.ka,a,c)),c.jCa||d.listen("downloadprogress",(0,_.L)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.ci(_.nN(h))}};
nOc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.xe()?(a.Afa=!0,b.abort(),!0):!1};nOc.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:_.uka(a),text:a.yk()};if(!d)try{c.json=_.vj(a)}catch(f){}d=_.zGc(a.Ib(),_.rka(a),c.headers,c.text,c.json,a.V,_.vka(a),String(a.W),e);a.dispose();d?b.reject(_.nN(d)):b.resolve(c)};
nOc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.ewa],a.jCa?b.loaded/b.total:b.loaded/b.total/2)};nOc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.ewa],b.loaded/b.total/2+.5)};var pOc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
pOc.prototype.add=function(a,b){var c="DEFAULT";b.XI&&(c=gOc(this.V,a.Xl).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.XI&&!_.JIc[a.Xl])return a=_.xr(new _.rb,"Unsupported batch API: "+a.Xl),_.ci(_.nN(a));var d=_.ii();c.push({request:a,config:b,sj:d});return d.promise};
pOc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{qOc(a,b)}catch(f){var d=_.yr(_.xr(new _.rb,"Error executing XHR: "+f.message),f.stack),e=_.nN(d);b.forEach(function(h){h.sj.reject(e)});a.H.delete(c)}})};
qOc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.Wqa&&!c.config.XI){var d=!1;if(_.JIc[c.request.Xl]){var e={Xl:c.request.Xl,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.yc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.sj;oOc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}rOc(a,b)};
rOc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});oOc(a.W,a.ha.build(c,d),{Wqa:!0,XI:d.every(function(e){return e.XI})}).then(function(e){e.headers=_.rGc(e.headers);var f=kOc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.sb("Could not extract batch boundary.",_.AM(_.yr(new _.rb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Oc(_.xga(h[0]),f)&&_.Ec(h[1]))h=_.xga(h[0]).substring(f.length);else throw new _.sb("Could not parse batch response; did not begin and end with boundary.",
_.AM(_.yr(new _.rb,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;k.push(lOc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.nN(e);return _.gGc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].sj,k=e[f];k instanceof _.rb||k instanceof _.sb?h.reject(_.nN(k)):h.resolve(k)}})};_.TO=function(a,b){_.AO(a)&&(b.supportsTeamDrives=!0)};
_.sOc=function(a){this.H=[].concat(_.oc(_.ad(a,27)));this.V=new Set;var b=_.gKc(this.H,_.ad(a,28));if(0<b.length)throw Error("pf`"+b.join(","));this.H.push(21);this.H.push(70);_.EM(a.nf())||(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));_.AO(a)&&(this.H.push(83),this.H.push(87));_.za(this.H);this.H.sort();hKc(this.H)};_.UO=function(a){return[].concat(_.oc(a.H))};
tOc=function(a){return a instanceof _.BM||a instanceof _.fO||"undefined"!=typeof _.VO&&a instanceof _.VO||a instanceof _.aO||a instanceof _.EN||a instanceof _.xN||a instanceof _.BN||a instanceof _.RM&&_.jO(a)};_.uOc=function(a,b){this.V=b;this.H={};this.W=new _.DGc(40);b=_.pN({fields:_.ad(a,28),Qx:_.EM(a.nf())});this.Rb("SecondaryFields",b);this.Rb("SdkBackfillEnabled",!!_.y(a,45,!1)+" (Include corpus cache: "+!!_.y(a,46,!1)+")")};_.uOc.prototype.Rb=function(a,b){this.H[a]=_.vOc(a,b)};
wOc=function(a,b){var c=a.H[b];c||(c=_.vOc(b,0,2),a.H[b]=c);c.Rb(String(Number(c.kb())+1))};_.vOc=function(a,b,c){var d=new _.yMc;_.w(d,1,a);_.w(d,4,c||1);d.Rb(String(b));d.wm(dMc[a]);return d};
_.xOc=function(a,b,c){var d=new _.xGc;_.w(d,2,"Pending...");b instanceof _.BM?_.Mk(d,3,_.CM[0],b):b instanceof _.fO?_.Mk(d,4,_.CM[0],b):"undefined"!=typeof _.VO&&b instanceof _.VO?_.Mk(d,5,_.CM[0],b):b instanceof _.aO?_.Mk(d,6,_.CM[0],b):b instanceof _.EN?_.Mk(d,7,_.CM[0],b):b instanceof _.xN?_.Mk(d,8,_.CM[0],b):b instanceof _.BN?_.Mk(d,9,_.CM[0],b):b instanceof _.RM&&_.Mk(d,10,_.CM[0],b);var e=HKc(b),f=[];if(b instanceof _.tN)gO(f,"ID",b.getId()),gO(f,"Parent ID",b.Mj());else if(b instanceof _.EN)gO(f,
"TD ID",b.getId());else if(b instanceof _.BM)b=_.oNc(b.zd()),gO(f,"Query",b);else if(b instanceof _.fO)gO(f,"Query","All");else if(b instanceof _.aO)gO(f,"TD ID",b.getId()),gO(f,"Title",b.getTitle()),gO(f,"Theme Image ID",_.x(b,3));else if(b instanceof _.xN)gO(f,"MimeType",b.Zb()),gO(f,"Title",b.getTitle()),gO(f,"Parents",_.ad(b,3)),gO(f,"Convert",_.D(b,8)),gO(f,"Request ID",_.DO(b)),gO(f,"Parent Request IDs",_.ad(b,10)),gO(f,"Revision Item ID",_.x(b,12)),gO(f,"Pinned",_.D(b,8));else if(b instanceof
_.yN)gO(f,"Title",b.getTitle());else if(b instanceof _.BN)gO(f,"ID",b.getId());else if(b instanceof _.FN)gO(f,"WS ID",b.getId());else if(b instanceof _.RM){if(gO(f,"ID",b.getId()),gO(f,"Title",b.getTitle()),gO(f,"Description",b.wg()),gO(f,"Starred",_.D(b,4)),gO(f,"Trashed",b.Xh()),gO(f,"MimeType",b.Zb()),gO(f,"Parents",_.ad(b,8)),gO(f,"Parents to add",_.ad(b,9)),gO(f,"Parents to remove",_.ad(b,10)),gO(f,"Restricted",_.D(b,11)),gO(f,"Folder Color",b.Ji()),gO(f,"Update Last Viewed",_.D(b,15)),gO(f,
"Subscribed",_.D(b,16)),gO(f,"Available Offline",b.Lq()),gO(f,"Wksp to add",_.ad(b,31)),gO(f,"Wksp to remove",_.ad(b,32)),b=_.A(b,_.Al,25))gO(f,"Read Only",_.D(b,1)),gO(f,"Reason",_.x(b,2))}else b instanceof _.bO?(gO(f,"WS ID",b.getId()),gO(f,"Title",b.getTitle()),gO(f,"State",b.getState())):b instanceof _.tKc&&gO(f,"Title",b.request.getTitle());_.w(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.yOc=function(a,b){for(var c=new _.uq,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.BGc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.w(a,2,c.toString()||"Done.")};zOc=[0,2,4,7,8];_.AOc=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 hOc(this.W);this.ka=new nOc(this.W,this.Ba);this.V=[]};_.g=_.AOc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].kt;this.V.push(f);c.push(BOc(this.Ea,f,a[e].fw));d.push(tOc(f.request)?_.xOc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.nN(_.zGc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new pOc(this.W,this.ka,this.ma);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(p,t){var u=k.add(t,p);u.then(b.Jqb.bind(b,t.Xl,p.ex),function(){});return u}.bind(this,a[f].kt.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].kt;var n=e[f].then(this.X_a.bind(this,l.request,d[f],a[f].fw)).then(null,function(p){return Promise.reject(_.nN(p))});n.then(this.BLa.bind(this,l),this.BLa.bind(this,l));c.push(n)}return c};_.g.X_a=function(a,b,c,d){a=_.COc(this.va,a,d,c);b&&_.yOc(b,a.Id?a.Id():[]);return a};_.g.Jqb=function(a,b){a=!b&&_.ka(zOc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.Mb.isConnected()||a)c=rNc(b,c),a&&c&&_.DOc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.CLa=function(){return this.V.some(function(a){return _.jO(a.request)})};_.g.BLa=function(a){_.pa(this.V,a)};_.WO=function(a,b){if(!_.xa(b))throw new _.sb("Expected an object, but got a "+_.uea(b)+".",_.lN(11,void 0,8));var c=b.kind;if(!c)throw new _.sb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.lN(11,void 0,21));if(!a.includes(c))throw new _.sb("Expected "+a.join(" or ")+" but got a "+c+".",_.lN(11,void 0,9));};EOc=function(a,b){this.H=a;this.V=b};
_.XO=function(a,b){_.WO(["drive#user"],b);var c=_.TKc(1).Wb(b.permissionId);c=_.w(c,11,b.id);c=_.VKc(c.Wc(b.displayName),b.emailAddress);b.picture&&c.Jn(b.picture.url);_.QM(a.H)&&_.VKc(c,b.emailAddressFromAccount||b.emailAddress);_.UKc(c,a.If(b.permissionId,b.id));_.w(c,9,b.domain);return c};EOc.prototype.If=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.xO(this.H.nf())==b};_.YO=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.FOc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.WKc(new _.vl,a.canAddChildren);c=_.w(c,18,a.canChangeTeamDriveBackground);b=_.gLc(_.bLc(_.hLc(_.iLc(_.jLc(_.fLc(_.eLc(_.aLc(_.$Kc(_.ZKc(_.YKc(_.XKc(c,a.canComment),a.canCopy),b),a.canDownload),a.canEdit),a.canManageMembers),a.canManageVisitors),a.canMoveItemIntoTeamDrive),a.canMoveTeamDriveItem),a.canReadTeamDrive),a.canRemoveChildren),a.canRename);b=_.w(b,13,a.canRenameTeamDrive);b=_.kLc(_.dLc(_.cLc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.w(b,27,a.canModifyContentRestriction);b=_.w(b,26,a.canShareOutsideDomain);b=_.nLc(_.mLc(_.lLc(_.w(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.w(b,34,a.canDeleteChildren);b=_.w(b,35,a.canTrashChildren);b=_.w(b,36,a.canRequestApproval);b=_.w(b,37,a.canReadCategoryMetadata);b=_.w(b,38,a.canEditCategoryMetadata);b=_.w(b,39,a.canChangeCategoryReferences);b=_.w(b,49,a.canSetMissingRequiredFields);
b=_.w(b,40,a.canAddMyDriveParent);b=_.w(b,41,a.canRemoveMyDriveParent);b=_.pLc(_.oLc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.w(b,44,a.canRead);b=_.sLc(_.rLc(_.qLc(_.w(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.w(b,50,a.canChangeSecurityUpdateEnabled);b=_.tLc(b,a.canRemoveSecureLinkUpdateForAllFiles);b=_.w(b,52,a.canCreateDecryptedCopy);return _.w(b,53,a.canCreateEncryptedCopy)};
GOc={anyone:4,audience:5,domain:3,group:2,user:1};HOc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};IOc={docs:1,sheets:2,slides:3};JOc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};KOc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};LOc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};MOc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};NOc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};OOc={ok:1,notFound:2,permissionDenied:3};POc={unencrypted:1,encrypted:2};QOc={unset:0,"default":1,small:2,size16kb:3};
ROc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};SOc=function(a,b){this.H=a;this.V=b};
_.VOc=function(a,b,c){var d=new _.GO;a=(new _.lD).ay(TOc(a,b));a=_.w(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.WO(["drive#fileList"],b);var e=b.spellResponse;if(e){var f=[];var h=e.spellCorrections;for(e=0;e<h.length;e++){for(var k=h[e].spellFragments,l=[],n=0;n<k.length;n++){var p=k[n];var t=(new _.kD).Dc(KOc[p.status]);t=_.w(t,1,p.original);p=_.w(t,3,p.correction);l.push(p)}k=new _.gmb;l=_.Nk(k,1,l);f.push(l)}h=new _.imb;_.Nk(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var u=new _.emb;
_.w(u,1,f||[])}h||u?(f=new _.jmb,h&&_.H(f,1,h),u&&_.H(f,2,u),u=f):u=null;_.H(a,7,u);_.WLc(a,UOc(b))}d=_.zMc(d,a);c=_.tGc(c);c=_.w(d,2,c);b.nextPageToken&&_.w(c,3,b.nextPageToken);return c};
YOc=function(a,b,c,d,e){_.WO(["drive#adminFile","drive#file","drive#revision"],b);var f=_.iMc(new _.hO,c);"drive#adminFile"==b.kind?(_.WO(["drive#adminFile"],b),c=(new _.Dl).Wb(b.id),b.parentId&&_.rO(c,[b.parentId]),_.KLc(c,b.teamDriveId),f.setItem(c),_.iMc(f,c.getId())):"drive#file"==b.kind?(b=_.WOc(a,b),f.setItem(b),c||_.iMc(f,b.getId())):"drive#revision"==b.kind&&(b=_.XOc(a,b),_.H(f,4,b));f.b7(_.sGc(d));f.O6(_.tGc(d));(d=(d=d&&_.rGc(d))&&d["x-server-object-version"])&&e&&(e=(new _.FO).Wb(d),_.H(f,
4,e));f.Dc(1);return f};_.ZOc=function(a,b){return _.iMc(new _.hO,a).Dc(1).b7(_.sGc(b)).O6(_.tGc(b))};_.aPc=function(a,b,c,d){d||_.WO(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.$Oc(a,b[c],d);f&&e.push(f)}return e};
_.$Oc=function(a,b,c){c||_.WO(["drive#permission"],b);c=_.TKc(GOc[b.type]).Wb(b.id);c=_.w(c,11,b.userId);c=_.UKc(c,a.H.If(b.id,b.userId));c=_.w(c,4,b.withLink);c=_.VKc(c.Wc(b.name).Jn(b.photoLink),b.emailAddress);c=_.w(c,9,b.domain);c=_.w(c,10,b.deleted);c=_.w(c,12,b.audienceId);c=_.w(c,13,b.customerId);c.getId()||c.Wb(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.QM(a.V)&&c.Wc(b.nameIfNotUser);a=HOc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=
6);_.w(c,6,a);return c};TOc=function(a,b){_.WO(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.WOc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.WOc(a,b[d]);c.push(e)}}return c};
_.WOc=function(a,b){_.WO(["drive#file"],b);var c=_.ILc(_.ELc(_.wM(_.rO((new _.Dl).Wb(b.id),bPc(b)).setTitle(b.title),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.w(c,90,Number(b.thumbnailVersion));_.w(c,21,b.iconLink);c.wm(b.description);_.FLc(c,b.explicitlyTrashed);_.w(c,22,b.shared);null!=b.quotaBytesUsed&&_.w(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.w(c,14,Number(b.fileSize));_.w(c,30,b.copyable);if(b.labels){var d=b.labels;c.ls(d.starred);_.w(c,6,d.hidden);
c.ao(d.trashed);_.BLc(c,d.restricted);_.w(c,9,d.viewed)}_.w(c,10,_.YO(b.createdDate));_.w(c,69,_.YO(b.serverCreatedDate));_.hGc(c,_.YO(b.modifiedDate));_.w(c,12,_.YO(b.modifiedByMeDate));_.w(c,13,_.YO(b.lastViewedByMeDate));_.w(c,23,_.YO(b.sharedWithMeDate));_.w(c,62,_.YO(b.subscribedDate));_.w(c,70,_.YO(b.recency));b.recencyReason&&_.w(c,71,JOc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.XO(a.H,e[f]);h&&d.push(h)}_.CLc(c,d);b.lastModifyingUser&&(d=_.XO(a.H,
b.lastModifyingUser),_.DLc(c,d));b.userPermission&&_.iGc(c,HOc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.oO,e=_.w(e,2,d.width).ig(d.height),e=_.w(e,4,d.rotation),d.date&&(d=d.date,f=new _.vIc,f.setMilliseconds(0),_.SIc.parse(d,f),_.w(e,1,f.getTime())),_.H(c,27,e));null!=b.folderColor&&_.HLc(c,Number(b.folderColor));_.GLc(c,b.subscribed);_.w(c,45,b.fileExtension);_.w(c,50,b.folderFeatures||[]);_.w(c,36,b.flaggedForAbuse);_.w(c,53,b.gplusMedia);_.w(c,46,b.primarySyncParentId||
void 0);_.w(c,35,b.hasChildFolders);b.source&&(_.w(c,42,b.source.client_service_id),_.w(c,43,b.source.value));b.sharingUser&&(d=_.XO(a.H,b.sharingUser),_.H(c,47,d));b.sources?_.w(c,56,b.sources||[]):b.gplusMedia&&_.w(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.eGc[h]&&(h=_.oe(new _.ne,_.eGc[h]),e.push(h));c.uC(e)}_.w(c,63,b.ownedByMe);_.w(c,29,b.shareable);b.sourceAppId&&_.w(c,61,b.sourceAppId);_.w(c,74,b.changed);null!=b.recursiveFileSize&&_.w(c,77,Number(b.recursiveFileSize));
null!=b.recursiveFileCount&&_.w(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 _.Lma).Wb(h.id);h=_.w(k,2,LOc[h.type]);e.push(h)}_.Nk(c,83,e)}b.capabilities&&c.In(_.FOc(b.capabilities));b.permissionsSummary&&_.LLc(c,_.cPc(a,b.permissionsSummary));b.headRevisionId&&_.w(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.pO).wm(d.description),e=_.w(e,3,MOc[d.galleryState]),d=_.w(e,2,d.category||[]),_.H(c,
86,d));_.KLc(c,b.teamDriveId);_.w(c,76,b.hasAugmentedPermissions);_.w(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.XO(a.H,b.creator),_.H(c,91,d));_.MLc(c,b.primaryDomainName);_.NLc(c,b.organizationDisplayName);_.w(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.XO(a.H,b.trashingUser),_.H(c,95,d));_.w(c,96,_.YO(b.trashedDate));b.version&&_.w(c,75,Number(b.version));_.w(c,98,b.hasVisitorPermissions);_.w(c,102,b.hasAppsScriptAddOn);(d=b.pairedDocType)&&_.w(c,101,IOc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.qO,e=_.w(e,1,d.width).ig(d.height),d.durationMillis&&_.w(e,3,Number(d.durationMillis)),_.H(c,103,e));_.w(c,104,b.detectors||[]);_.w(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=_.vLc(_.uLc(new _.Al,f.readOnly),f.reason),d.push(f);_.Nk(c,125,d)}if(d=b.publishingInfo)_.w(c,118,d.published),_.w(c,119,d.publishedUrl);_.w(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&
_.w(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 _.ul).Wb(f.approvalId).Dc(NOc[f.status]),d.push(f);_.Nk(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Uma,e=_.w(e,1,d.targetId),e=_.w(e,3,d.targetMimeType),e=_.w(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.w(e,4,OOc[d.targetLookupStatus]||0),d.targetFile&&(d=_.WOc(a,d.targetFile),
_.H(e,5,d)),_.H(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.mO,e=_.w(e,1,POc[d.encryptionState]),d.decryptionMetadata&&(d=dPc(d.decryptionMetadata),_.H(e,2,d)),_.H(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.wLc,e=_.w(e,2,d.securityUpdateEligible),d=_.w(e,3,d.securityUpdateEnabled),_.H(c,139,d));_.w(c,140,b.resourceKey);_.w(c,135,b.authorizedAppIds||[]);_.w(c,136,b.customerId);_.kKc(c);_.QM(a.V)&&_.JLc(c,5);return c};
bPc=function(a){var b=[];if(a&&a.parents){a=a.parents;for(var c=0;c<a.length;c++)b.push(a[c].id)}return b};_.XOc=function(a,b){_.WO(["drive#revision"],b);var c=(new _.FO).Wb(b.id);c=_.w(c,2,b.mimeType);c=_.w(c,3,_.YO(b.modifiedDate));c=_.w(c,4,b.pinned);c=_.w(c,5,b.downloadUrl);c=_.w(c,7,b.originalFilename);null!=b.fileSize&&_.w(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.XO(a.H,b.lastModifyingUser),_.H(c,9,a));b.decryptionMetadata&&(b=dPc(b.decryptionMetadata),_.H(c,10,b));return c};
_.cPc=function(a,b){a=_.zLc(_.yLc(_.xLc(new _.Oma,b.entryCount),_.aPc(a,b,"visibility",!0)),_.aPc(a,b,"selectPermissions",!0));a=_.w(a,4,b.memberCount);a=_.w(a,5,b.userEntryCount);return _.w(a,6,b.groupEntryCount)};dPc=function(a){var b=a.wrappedKey;var c=new _.nO;b=b?_.fMc(b):void 0;c=_.w(c,1,b);c=_.w(c,2,Number(a.kaclsId));c=_.w(c,5,a.kaclsName);c=_.w(c,3,QOc[a.aes256GcmChunkSize]);c=_.w(c,6,ROc[a.keyFormat]);return _.w(c,4,a.jwt)};
UOc=function(a){_.WO(["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};ePc=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("&")};
fPc=function(a,b,c){c=void 0===c?!1:c;var d=_.D(a,44),e=a.Ef();if(c&&e){if(1!=_.jd(e))return null;d=(d=_.gd(e))?_.D(d,44):!0}if(!d)return null;d={};e=a.getId();_.qN(a)&&c&&(e=lKc(a));c=[_.C(b,65,"https://lh3.google.com"),"u",_.OM(b.nf()),"d",e].join("/");c+="={size}";_.lO(b)&&a.EF()&&(d.resourcekey=_.Jl(a));return c=ePc(c,d)};_.gPc=function(a){this.H=a};
_.jPc=function(a,b,c){hPc(a,b,c);c.includes(18)&&_.ELc(b,RKc(b,a.H,a.H.kI()));if(c.includes(19)){var d=fPc(b,a.H,a.H.kI());_.w(b,20,d)}iPc(a,b,c);if(a.H.kI()&&_.qN(b)){if(d=(d=b.Ef())&&_.gd(d)){hPc(a,d,c);c.includes(18)&&_.ELc(d,RKc(d,a.H,a.H.kI()));if(c.includes(19)){var e=fPc(d,a.H,a.H.kI());_.w(d,20,e)}iPc(a,d,c)}_.ILc(b,!!b.Wh())}};
hPc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.y(a.H,75,!1);a=a.H.kI();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Zb();a&&_.qN(b)&&(d=(a=b.Ef())?_.x(a,3):"");_.rN(b)&&(b.Ji()&&(d+="+"+String(b.Ji())),b.wj()&&(d+="+shared"));_.w(b,21,_.AZa(d,c?"32":"16"))}};
iPc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Zb();e&&(e=!_.rN(b)&&!_.qN(b)&&!_.Nc(e)&&(!b.D0()||2!=b.tn()),d&&_.w(b,40,e),e&&c&&(d=a.H,c=a.H.kI(),c=void 0===c?!1:c,a=b.getId(),_.qN(b)&&c&&(a=lKc(b)),c=new _.xj(_.C(d,16,"")+"/uc"),_.Gj(c,"id",a),_.Gj(c,"authuser",_.OM(d.nf())),_.Gj(c,"export","download"),_.lO(d)&&b.EF()&&_.Gj(c,"resourcekey",_.Jl(b)),_.w(b,41,c.toString())))}};_.kPc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new EOc(b,d);this.eC=new SOc(this.ka,b)};
_.COc=function(a,b,c,d){d=void 0===d?[]:d;try{return lPc(a,b,c,d)}catch(e){_.oN(e)}};
lPc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.xN)return _.mPc(a,b,c);if(b instanceof _.GN)return"base64"==c.headers["x-goog-safety-encoding"]?new $Mc(_.raa(c.text),d.length):new $Mc(new Uint8Array(_.Kka(c.text)),d.length);if(b instanceof _.mp){if(!c.json)throw _.ZO();return _.VOc(a.eC,c.json,c.headers)}if(b instanceof _.eO)return _.mPc(a,b,c);if("undefined"!=typeof _.wKc&&b instanceof _.wKc){if(!c.json)throw _.ZO();a=c.json;return new _.YMc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.nPc&&b instanceof _.nPc){if(!c.json)throw _.ZO();return _.XOc(a.eC,c.json)}if(b instanceof BKc){if(b.V==b.ha-1){if(!c.json)throw _.ZO();b=YOc(a.eC,c.json,null,c.headers,!!b.revisionId);_.jPc(a.V,b.getItem(),_.UO(a.H));a=b}else a=_.ZOc(null,c.headers);return a}if(b instanceof AKc){a=_.rGc(c.headers);b=a.location;if(!b)throw a=_.AM(new _.rb,10),new _.sb("No upload session URI included.",a);return new ZMc(b,_.sGc(a),_.tGc(a))}throw new _.sb("FromXhrConverter: Unsupported request type.",
new _.rb);};_.kPc.prototype.ma=function(){return null};_.mPc=function(a,b,c){if(!c.json){if(b instanceof _.RM)return _.ZOc(_.oPc(b));throw _.ZO();}var d=!1;b instanceof _.eO&&(d=!!_.x(b.request,12));return YOc(a.eC,c.json,_.oPc(b),c.headers,d)};_.ZO=function(){var a=_.AM(new _.rb,11);return new _.sb("FromXhrConverter: JSON required, but none found",a)};_.oPc=function(a){return a.getId?a.getId():a.Lc?a.Lc():null};
_.pPc=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)}}};
qPc=function(a,b){var c={};_.Ec(_.Jg(a.getTitle()))||(_.x(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Zb()&&(c.mimeType=a.Zb(),a.Lc()&&_.pda(a.Zb())&&b)){var d=b.W(),e=b.V(),f={encryptionState:"encrypted"},h={};f.decryptionMetadata=(h.wrappedKey=_.Rj(b.ma()),h.kaclsId=b.ta(),h.aes256GcmChunkSize=_.WIc[d?d.V():0],h.keyFormat=_.YIc[e?e.V():0],h);c.clientEncryptionDetails=f}_.pPc(c,_.ad(a,3));(b=a.Lc())&&(c.id=b);_.x(a,16)&&(c.embeddingParent=_.x(a,16));_.x(a,21)&&(c.shortcutDetails=
{},c.shortcutDetails.targetId=_.x(a,21));"number"===typeof _.x(a,26)&&(c.modifiedDate=_.VLc(_.aNc(_.x(a,26)||0)));return c};
rPc=function(a,b,c){var d=!!_.x(a.request,12),e="files";d&&(e+="/"+_.x(a.request,12));e=new _.xj(e);_.Gj(e,"uploadType","multipart");_.Gj(e,"supportsTeamDrives",!0);_.Gj(e,"pinned",!!a.request.Jt());null!=_.D(a.request,8)&&_.Gj(e,"convert",_.D(a.request,8));_.Gj(e,"fields",_.fKc({fields:_.UO(b).filter(function(n){return 194!=n}),Qx:!1}));mKc(e,a.request.De());var f=qPc(a.request,a.metadata),h=_.Kg();b={};b=(b["content-type"]=_.Gy('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.Zb()&&(l["content-type"]=a.request.Zb());a="--"+h;a=a+"\r\n"+nKc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+nKc(l)+"\r\n"+c+"\r\n"+a+"--";return{Xl:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};sPc=function(a){if(a instanceof _.eob){var b=new _.rb;_.xr(b,"fs.Error: "+a.message);a=(a=a.name)?_.hEa.get(a)||25:38;_.AM(b,a);a=_.nN(b)}return Promise.reject(a)};
tPc=function(a,b){return FNc(a.file).then(function(c){return rPc(a,b,c)},sPc)};_.uPc=function(a,b){this.V=(_.Kk(a,_.Rl,91)||[]).reduce(function(c,d){var e=d.getId();if(null!=e){d=_.x(d,2);if(c[e]&&c[e]!=d)throw new _.sb("Multiple resource key definitions found for initial item "+e);c[e]=d}return c},{});this.H=b};vPc=function(a,b){return[].concat(_.oc(new Set(b))).map(function(c){var d=(new _.Rl).Wb(c);a.V[c]?_.Sl(d,a.V[c]):a.H&&(c=a.H.H(c))&&_.Sl(d,_.Jl(c));return d}).filter(function(c){return c.EF()})};
_.wPc=function(a){var b=_.AM(new _.rb,4);throw new _.sb("ToXhrConverter: Unsupported request type: "+HKc(a),b);};_.xPc=function(a,b,c,d){this.H=a;this.ha=c;this.ka=d};BOc=function(a,b,c){try{return b.request instanceof _.eO?tPc(b.request,a.ha):Promise.resolve(a.W(b.request,b.config,c))}catch(d){return d instanceof _.sb?a=d.Ig:(a=new _.rb,_.xr(a,"Error converting XHR: "+d.message),_.yr(a,d.stack),_.AM(a,4)),Promise.reject(a)}};
_.xPc.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.xN){h=(e=!!_.x(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.x(a,12),k.pinned=!!a.Jt());null!=_.D(a,8)&&(k.convert=_.D(a,8));k.fields=_.fKc({fields:this.xg(c),Qx:_.EM(this.H.nf()),jL:_.QM(this.H)});e=qPc(a);f["content-type"]="application/json";var p=a.De();l=!0;_.TO(this.H,k);_.yPc(this.H,k);_.lO(this.H)&&(b=_.Kk(a,_.Rl,28),b.length?_.zPc(b,f):(a=_.ad(a,3).concat([_.x(a,16),_.x(a,21),a.Lc()]),_.$O(this,a,f)))}else if(a instanceof
_.GN)n="files/"+a.getId(),_.x(a,2)&&(k.revisionId=_.x(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.lO(this.H)&&(a.EF()?_.zPc([_.Sl((new _.Rl).Wb(a.getId()),_.x(a,3))],f):_.$O(this,[a.getId()],f)),l=!0;else if(a instanceof _.mp)l=a.nm()[0],n="files/"+l,p=_.ra(this.xg(c),this.xg(c,a.yi())),_.za(p),k.fields=_.fKc({fields:p,Qx:_.EM(this.H.nf()),jL:_.QM(this.H)}),_.TO(this.H,k),_.APc(this.H,k),_.BPc(this.H,k),this.V(l,k),p=a.De(),l=!0,_.D(a,7)&&(b.Wqa=!0),_.lO(this.H)&&(b=_.Kk(a,
_.Rl,11),b.length?_.zPc(b,f):_.$O(this,a.nm(),f));else if("undefined"!=typeof _.wKc&&a instanceof _.wKc)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,p=a.H;else if("undefined"!=typeof _.nPc&&a instanceof _.nPc)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 BKc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&
(f["content-range"]=_.Gy("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof AKc?(d=2,h=(e=!!_.x(a.request,12))?"PUT":"POST",n="files",e&&(n+="/"+_.x(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.Jt(),null!=_.D(a.request,8)&&(k.convert=_.D(a.request,8)),k.fields=_.fKc({fields:this.xg(c).filter(function(u){return 194!=u}),Qx:_.EM(this.H.nf()),jL:_.QM(this.H)}),_.TO(this.H,k),e=qPc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,
null!=a.request.Zb()&&(f["x-upload-content-type"]=a.request.Zb()),_.lO(this.H)&&_.$O(this,_.ad(a.request,3),f),p=a.request.De(),l=!0):a instanceof _.FKc?(n="about",k.fields="kind",p=a.H,l=!0):_.wPc(a);l&&_.CPc(c,k);return _.DPc(d,n,k,f,h,p,e,t)};
_.DPc=function(a,b,c,d,e,f,h,k){b=new _.xj(b);[10,12,13].includes(a)||mKc(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;_.Hj(b,f,l)}return{Xl:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};_.APc=function(a,b){_.y(a.Ff(),23,!1)&&(b.includePermissionsForView="published")};_.xPc.prototype.V=function(){};_.BPc=function(a,b){_.y(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};
_.yPc=function(a,b){_.y(a,3,!1)&&(b.enforceSingleParent=!0)};_.CPc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).kyb):b.retryCount=0};_.xPc.prototype.xg=function(a,b){b||(b=_.UO(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return vMc.includes(c)}));return b};_.$O=function(a,b,c){b&&b.length&&(a=vPc(a.ka,b),_.zPc(a,c))};_.zPc=function(a,b){a.length&&(a=_.sib(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};
_.EPc=function(a,b){_.LI.call(this,a?a:500,b?b:6E5)};_.K(_.EPc,_.LI);var FPc=function(){_.qq.call(this);this.ha=this.W=null};_.K(FPc,_.qq);FPc.prototype.V=function(){(0,this.ha)()};GPc=function(a,b){a.ha||(a.ha=b)};_.aP=function(a){if(!a.W){a.W=new tMc;var b=_.sq(a);_.H(b,56,a.W)}return a.W};HPc=function(a){var b=_.aP(a).getState();b||(b=new mMc,_.aP(a).Qd(b));return b};IPc=function(a,b){var c=new kMc;_.w(c,1,b);a=_.sq(a);_.H(a,12,c)};
FPc.prototype.ma=function(){var a=_.A(_.aP(this),oMc,4);if(!a){a=new oMc;var b=_.aP(this);_.H(b,4,a)}return a};JPc=function(a){var b=_.A(_.aP(a),pMc,8);b||(b=new pMc,a=_.aP(a),_.H(a,8,b));return b};_.KPc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.P.call(this);this.Bh=b?1:a;this.Bea=!1;this.pJ=b};_.K(_.KPc,_.P);_.g=_.KPc.prototype;_.g.isConnected=function(){return!this.Bea&&1==this.Bh};_.g.wl=function(){return 1==this.Bh||2==this.Bh};_.g.Ye=function(){return 3==this.Bh};_.g.get=function(){return this.Bh};
_.g.update=function(a){if(this.pJ)return!1;if(this.Bh!=a||this.Bea&&1==a){var b;2==a?b=3==this.Bh?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new FMc(b),this.Bh=a,this.Bea=!1,this.dispatchEvent(b),!0}return!1};LPc=function(a,b){this.W=a;this.V=b;this.H=null};
PPc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return MPc(a,function(c){return c.count().then(function(d){return 1E3>d?NPc(a,c,b):OPc(a,Error("qf"))},function(d){return OPc(a,d)})},"readwrite")};NPc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.reb=c.we(),d)).then(null,function(e){OPc(a,e)})};
QPc=function(a){return new _.ai(function(b){var c=new Map;MPc(a,function(d){return aMc(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={Xia:f.Xia},k=h.next())k=_.v(k.value),f.Xia=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Xia,new _.Vza(n.reb))}}(f));return _.hi([].concat(_.oc(e.values()))).then(function(){return b(c)})})})})};
RPc=function(a,b){return MPc(a,function(c){return c.remove(b)},"readwrite")};MPc=function(a,b,c){c=void 0===c?"readonly":c;return SPc(a).then(function(d){try{var e=_.nHc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return OPc(a,f)}},function(d){return OPc(a,d)})};
SPc=function(a){return a.H?_.bi(a.H):_.pHc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.bMc(c,"OfflineImpressions");_.iHc(_.mHc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return OPc(a,Error("rf"))}).then(function(b){return a.H=b},function(b){return _.ci(_.mN(b))})};OPc=function(a,b){b||(b=Error("sf"));_.HO(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.bi()};
_.TPc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.P.call(this);this.Ey=b?!1:a;this.tra=null;this.pJ=b};_.K(_.TPc,_.P);_.TPc.prototype.Ye=function(){return this.Ey};_.TPc.prototype.Sl=function(a){var b=this.Ey!=a;!this.pJ&&b&&(this.Ey=a,this.dispatchEvent(new QMc(a)))};_.TPc.prototype.tC=function(a){this.tra=a};
var VPc=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.ha=a;this.W=b;this.Bh=c;this.V=d;this.yb=new _.ke(this);this.yb.listen(b,"Cb",function(k){k.Ye()||UPc(h)});this.yb.listen(c,["wb","yb"],function(){return void UPc(h)});this.ka=e;f.then(function(){return UPc(h)})};_.K(VPc,_.P);VPc.prototype.H=function(a){return(this.W.Ye()||this.Bh.Ye())&&this.W.tra?PPc(this.V,a):this.ha.H(a)};
var UPc=function(a){return a.W.tra?QPc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return WPc(a,d)},function(){return XPc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},WPc=function(a,b){XPc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return RPc(a.V,b).then(function(){XPc(a,"Removed offline impression batch "+b+".")},function(){XPc(a,"Unable to remove offline impression batch "+b+".")})},XPc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},YPc=function(){};YPc.prototype.FL=function(){return new FPc};var ZPc=function(){this.H=new uMc};ZPc.prototype.V=function(a){_.H(a,13,this.H)};ZPc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};aQc=function(a,b,c,d){this.Ea=_.bP(_.fJc,_.yO(a));this.ma=_.bP(_.jJc,_.C(a.Ff(),8,0));this.W=_.bP(_.gJc,_.C(a.Ff(),9,2));this.ta=_.y(a,10,!1);this.Ha=_.EM(a.nf());this.va=_.zO(a);this.ha=$Pc(a);this.Ba=a.ri();this.V=this.H=null;this.Ka=b;this.Bh=c;this.ka=d};
$Pc=function(a){var b=[].concat(_.oc(_.cJc.keys())),c=[].concat(_.oc(_.dJc.keys())),d=_.PM(a);return b.filter(function(e){return _.cJc.get(e)(a)}).concat(c.filter(function(e){return d&&_.dJc.get(e)(d)}))};_.bP=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};bQc=function(a){if(a.V)return a.V.H("aU7Ts")};
aQc.prototype.Ib=function(a){return a instanceof _.lD||"undefined"!=typeof _.cP&&a instanceof _.cP||"undefined"!=typeof _.dP&&a instanceof _.dP||"undefined"!=typeof _.eP&&a instanceof _.eP?a.Ib():"undefined"!=typeof _.fP&&a instanceof _.fP||"undefined"!=typeof _.gP&&a instanceof _.gP||"undefined"!=typeof _.hP&&a instanceof _.hP||"undefined"!=typeof _.iP&&a instanceof _.iP||"undefined"!=typeof _.cQc&&a instanceof _.cQc?a.response?a.response.Ib():null:null};aQc.prototype.ri=function(){return this.Ba};
var dQc=function(a){return a.Ka.Ye()||a.Bh.Ye()?2:1};aQc.prototype.getEnvironment=function(){return this.ka};var eQc=function(a,b){this.H=a;var c=new _.Eya;_.Fya(c,b.ha);a=this.H.jJ();var d=_.eIc(a);_.H(d,10,c);(c=b.ri())&&_.dIc(a,c);this.H.QX();this.V=b};eQc.prototype.isRunning=function(){return this.H.FR()};
_.fQc=function(a,b,c){var d=_.rq(a.H.RD(b,c),_.ZIc);IPc(d,dQc(a.V));b=bQc(a.V);"boolean"===typeof b&&nMc(HPc(d),b);GPc(d,function(){1==c&&a.H.WH(d);var e=a.V;e=e.H?e.H.W():void 0;var f=HPc(d);_.w(f,1,e);a.H.yp(d)});return d};gQc=function(a){var b=new _.tza,c=new ZPc;_.w(c.H,1,a.Ea);_.w(c.H,3,a.ma);_.w(c.H,4,a.W);_.w(c.H,5,a.ta);_.w(c.H,6,a.Ha);_.w(c.H,7,a.va);a=c.setEnvironment(a.getEnvironment());_.qHc(b,_.$Ic,a);_.vq(b,_.ZIc,new YPc);return b};
hQc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.WI(906,b,void 0,_.lIc());l.W=!1;var n=new _.rHc(l);b=new Date;l=_.jIc(_.iIc(_.hIc(cMc(),new _.sHc(l)),gQc(c)),109).setSessionId(b.getTime()+"_"+_.Kg());if(k){a=new VPc(n,d,e,new LPc(a,f),f,h);_.gIc(l,a);d=l.build();_.cIc(d.jJ(),1E3*b.getTime());var p=new eQc(d,c);(new _.ke).listen(a,"Db",function(){_.fQc(p,106008,0).V()});return p}_.gIc(l,n);a=l.build();_.cIc(a.jJ(),1E3*b.getTime());return new eQc(a,c)};
iQc=function(a,b){this.V=a;this.ha=b};iQc.prototype.H=function(a){this.V&&_.jQc(this)&&_.fQc(this.V,a,0).V()};iQc.prototype.W=function(a){return this.V&&_.jQc(this)?_.fQc(this.V,a,1):null};_.jQc=function(a){return!(!a.V||!a.V.isRunning())};_.kQc=function(a,b,c,d,e,f){var h=_.D(a,59),k=_.OM(a.nf()).toString(),l=_.xO(a.nf());f=new aQc(a,b,c,f);a=h?hQc(l,k,f,b,c,d,e,_.y(a,17,!1)):null;return new iQc(a,f)};_.lQc=function(a,b,c){this.Mb=a;this.ha=b;this.W=c;this.V=this.Gj=null;this.H=!1};
_.lQc.prototype.getState=function(){return this.Mb};_.DOc=function(a){a.V=null;a.Gj&&(clearTimeout(a.Gj),a.Gj=null)};_.sNc=function(a){a.V||a.H||(a.V=new _.EPc(5E3,6E4),mQc(a))};mQc=function(a){nQc(a);a.V&&(a.Gj=setTimeout(function(){return void mQc(a)},a.V.kb()),_.MI(a.V))};nQc=function(a){_.ji(_.bi().then(null,function(){return null}),function(){return void oQc(a)})};
oQc=function(a){pQc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.FKc(_.Ie(new _.He,312)))}).then(null,function(b){b=_.nN(b);_.kIc(b.Ig)&&rNc(a,2);return _.ci(b)}).then(null,function(){return null})};pQc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};rNc=function(a,b){return!a.H&&a.Mb.update(b)?(pQc(a,"Connection status: "+_.kJc.get(b)),!0):!1};_.q("sy13b");
_.qQc=function(a,b,c){_.Li.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.K(_.qQc,_.Li);
_.jP=function(a,b,c,d,e,f,h){_.P.call(this);var k=this;this.W=a;this.ma=b;this.Ea=c;this.ta=d;this.Ua=e;this.ha=f;this.H={};this.le=null;this.Ba=h;this.va={};_.wd(this,function(){k.SLa()})};_.K(_.jP,_.P);_.jP.prototype.FU=function(){return _.Lg()};
_.jP.prototype.upload=function(a,b,c){wOc(this.ma,"UploadTotalCount");var d=_.DO(a);if(d&&this.H[d])throw new _.sb("Upload requested with a duplicate request ID.");var e=_.ad(a,10);if(e&&e.length){if(1!=e.length)throw new _.sb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.sb("The parent upload request must precede this request.");}!_.x(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);d||(d=this.FU(),_.w(a,9,d));a=_.Rk(a);e=rQc(this,d);this.H[d]={request:a,file:b,
Te:e,YH:!1,tN:0,success:!1,AH:!1,children:[],metadata:c,dda:void 0};f?sQc(this,d,f):this.ka(d);return e.Il()};
var rQc=function(a,b){var c=new _.li;c.Uf(_.df(a.Oa,b),_.df(a.Ma,b),a);return c},sQc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.za(c.children);c.Te.then(function(f){if(1==f.Ib()&&(f=f.Lc(),_.ad(e.request,3).push(f),_.w(e.request,10,[]),!c.AH||d)){a.ka(b);return}tQc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Te.Jd(_.zM(f)?f:Error(f))})};
_.jP.prototype.Oa=function(a,b){wOc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Ib();(b=a.dda)&&!a.AH&&(qMc(sMc(JPc(b),a.tN),!0),b.V())};_.jP.prototype.Ma=function(a,b){var c=_.A(this.W,_.vGc,58);c&&_.y(c,1,!1)&&(this.va[a]=b);wOc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.dda)&&!c.AH&&(qMc(sMc(JPc(a),c.tN),!1),b=(c=b&&b.Ig)&&c.lj(),c=c&&c.Jo(),b?rMc(JPc(a),uQc.get(b)||13):c&&rMc(JPc(a),vQc.get(c)||0),a.V())};
_.jP.prototype.ka=function(a){var b=this.H[a];if(!b.YH){b.YH=!0;a=this.H[a];var c=a.request,d=_.A(this.W,_.vGc,58);d&&_.y(d,4,!1)&&(d=c.getTitle().match(wQc))&&(!d[1]||a.tN<Number(d[1].substr(1)))&&(c=_.Rk(c),_.na(_.ad(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.A(b.request,_.XLc,15))?_.x(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.Ff();d=_.C(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.W(106012);if(f){b.dda=f;f=JPc(f);f=_.w(f,1,2==d?2:1);f=_.w(f,
4,!!b.metadata);var h=!!_.x(a,12);f=_.w(f,5,h);e=_.w(f,6,e);c=_.C(c,32,1073741824);_.w(e,7,c)}}switch(d){case 2:if(b.file){c=b.Te;d=b.file;b=b.metadata;var k;this.ha&&(k=_.df(this.ha,_.DO(a)));xQc(this,new _.CKc(a,d,k,b),c,_.DO(a))}break;case 1:b.file&&(k=b.Te,c=b.file,b=b.metadata,d=_.A(this.W,_.SKc,2),xQc(this,new _.eO(a,c,d&&_.y(d,2,!1)?b:void 0),k,_.DO(a)));break;case 3:xQc(this,a,b.Te,_.DO(a));break;default:throw new _.sb("Upload type ${uploadType} not supported.");}}};
var xQc=function(a,b,c,d){LMc(a.Ea,d,a.Ha.bind(a,d));_.ji(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return yQc(a,b,e)}),function(){MMc(a.Ea,[d])}).then(c.callback,c.Jd,c)},yQc=function(a,b,c){var d=_.nN(c),e=b instanceof _.eO&&b.request.Lc()||"";c=d.Ig;if(e&&8==c.lj()){tQc(a);var f=_.op(new _.mp,[e]);return _.ri(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.Rq().Id()[0];var k=b.request;if(h&&!h.Xh()&&(h.Zb()||"").replace(/\s/g,"")==(k.Zb()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return tQc(a),_.iMc((new _.hO).setItem(h),e).Dc(1);tQc(a);return _.ci(d)}))}return _.si(d)};
_.jP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.AH||0!=c.children.length))if(c.AH=!0,c.Te.qf())tQc(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.dda;d&&(rMc(qMc(sMc(JPc(d),c.tN),!1),2),d.V());var e=_.ii();c.YH?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.YH=!0,d=new _.hO,d.Dc(8),c.Te.callback(d),e.resolve(!0));e.promise.then(function(f){return tQc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.jP.prototype.SLa=function(){var a=this;_.tf(this.H,function(b,c){a.cancel(c)})};
_.jP.prototype.uta=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=(_.ad(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.Te.qf()||e[k])break;else if(!c.has(k)){e[f]=new _.sb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.da(h,function(n){var p=b.H[n];p.tN++;if(!e[n])if(!p.Te.qf()||p.success)e[n]=new _.sb("Unable to retry request.");else{var t=(_.ad(p.request,10)||[])[0];e[t]instanceof
_.sb?e[n]=e[t]:(p.Te=rQc(b,n),p.YH=!1,p.AH=!1,(t=t?b.H[t]:null)?sQc(b,n,t,!0):d.push(n),e[n]=p.Te.Il())}})}else e[f]=new _.sb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.li?f:_.si(f)});_.Ga(d,this.ka,this);return a};var tQc=function(a){a.isDisposed()};_.jP.prototype.zd=function(a){return this.H[a]};var wQc=/^uploadTestFailMe(\.[1-9])?$/,vQc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),uQc=new Map([[3,14]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.zQc=function(a){return _.pd(a).xg(_.y(a.get(_.Za),19,!1)?_.aGc:_.md)};_.q("sy13j");

_.r();

}catch(e){_._DumpException(e)}
try{
var AQc,BQc,CQc,DQc,EQc,FQc,GQc,HQc,IQc,JQc,OQc,QQc,RQc,SQc,TQc,UQc,kP,WQc,XQc,YQc,$Qc,aRc,bRc,dRc,fRc,hRc,jRc,lRc,pRc,sRc,vRc,wRc,xRc,yRc,zRc,ARc,BRc,DRc,FRc,HRc,IRc,JRc,KRc,NRc,PRc,RRc,VRc,WRc,XRc,ZRc,$Rc,aSc,eSc,fSc,gSc,hSc,iSc,jSc,tP,ETc,FTc,MTc,TTc,UTc,VTc,YTc,ZTc,$Tc,aUc,wUc,xUc,AUc,CUc,DUc,EUc,FUc,GUc,HUc,IUc,JUc,wP,KUc,LUc,MUc,NUc,OUc,PUc,QUc,RUc,SUc,TUc,UUc,SVc,bWc,cWc,dWc,eWc,fWc,iWc,kWc,yWc,zWc,GWc,HWc,QWc,hXc,jXc,nXc,uXc,yXc,EXc,WXc,YXc,ZXc,tYc,uYc,URc,vYc,wYc,xYc,CZc,DZc,EZc,FZc,GZc,
HZc,IZc,JZc,KZc,LZc,MZc,NZc,w_c;AQc=function(a,b){a=a.request;a=_.Gy('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.DO(a)||"");var c=b.Ig;c=c?_.x(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}};BQc=function(a){a={Title:a.getTitle(),Type:a.Zb(),Parents:_.ad(a,3),Convert:_.D(a,8),ID:_.DO(a)};var b=[];_.tf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
CQc=function(a){var b=[];b.push(BQc(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.tN&&b.push("# of retries by client: "+a.tN);var d="";a.YH?a.Te.qf()?a.Te.Uf(function(){d="Completed successfully."},function(e){d=e instanceof _.mi?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
DQc=function(a,b,c,d,e,f){var h=_.Gy("Drive Upload Report: %d/%d failed",_.yf(f),_.yf(e));a=a.Ff();d.push("Batch query interval: "+_.C(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.C(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.C(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.C(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.C(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.tf(e,function(n){l.push(CQc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.JMc(b)});_.tf(f,function(n,p){k.push(AQc(e[p],n))});return{title:h,description:d,lU:k,oe:152391,eba:c,m0:361003}};EQc=function(a){return Array.prototype.concat.apply([],arguments)};FQc=function(a,b,c){c=_.Ca(a,b,c);return 0>c?(_.wa(a,-(c+1),0,b),!0):!1};GQc=function(a){return String.fromCharCode(10>a?48+a:87+a)};
HQc=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]=GQc(d>>4);b[2*c+3]=GQc(d&15)}return b.join("")};IQc=function(a){var b=new _.uq;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.pN(a,!0,"file"));a.i_&&(b.append(",teamDriveId,teamDrive("),b.append(a.i_),b.append(")"));b.append(")");return b.toString()};
JQc=function(a){var b=new _.uq;b.append("kind,nextPageToken,items(");b.append(_.pN(a,!0));b.append("),incompleteSearch");a.i_&&(b.append(","),b.append(a.i_));return b.toString()};
OQc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.A(d,_.mO,138),k=_.A(d,_.Al,111),l=_.A(d,_.oO,27),n=_.A(d,_.wLc,139),p=d.Ef(),t=_.A(d,_.qO,103);switch(e){case 74:_.Nk(d,83,[]);break;case 188:_.w(d,137,void 0);break;case 149:_.w(d,128,[]);break;case 148:_.Nk(d,127,[]);break;case 138:_.w(d,126,void 0);break;case 184:_.w(d,135,[]);break;case 76:f&&_.w(f,1,void 0);break;case 208:f&&_.w(f,48,void 0);break;case 185:f&&_.w(f,40,void 0);break;case 213:f&&_.w(f,50,void 0);
break;case 156:f&&_.w(f,39,void 0);break;case 61:f&&_.w(f,2,void 0);break;case 216:f&&_.w(f,52,void 0);break;case 217:f&&_.w(f,53,void 0);break;case 77:f&&_.w(f,4,void 0);break;case 134:f&&_.w(f,34,void 0);break;case 147:f&&_.w(f,38,void 0);break;case 81:f&&_.w(f,10,void 0);break;case 82:f&&_.w(f,11,void 0);break;case 114:f&&_.w(f,27,void 0);break;case 133:f&&_.w(f,33,void 0);break;case 202:f&&_.w(f,47,void 0);break;case 132:f&&_.w(f,32,void 0);break;case 101:f&&_.w(f,20,void 0);break;case 201:f&&
_.w(f,46,void 0);break;case 131:f&&_.w(f,31,void 0);break;case 200:f&&_.w(f,45,void 0);break;case 130:f&&_.w(f,30,void 0);break;case 93:f&&_.w(f,17,void 0);break;case 191:f&&_.w(f,44,void 0);break;case 146:f&&_.w(f,37,void 0);break;case 90:f&&_.w(f,16,void 0);break;case 78:f&&_.w(f,7,void 0);break;case 186:f&&_.w(f,41,void 0);break;case 85:f&&_.w(f,12,void 0);break;case 137:f&&_.w(f,36,void 0);break;case 209:f&&_.w(f,49,void 0);break;case 79:f&&_.w(f,8,void 0);break;case 189:f&&_.w(f,42,void 0);break;
case 190:f&&_.w(f,43,void 0);break;case 80:f&&_.w(f,9,void 0);break;case 135:f&&_.w(f,35,void 0);break;case 102:f&&_.w(f,21,void 0);break;case 69:_.w(d,74,void 0);break;case 194:h&&_.H(h,2,void 0);break;case 193:h&&_.w(h,1,void 0);break;case 1004:_.w(d,108,void 0);break;case 136:_.Nk(d,125,[]);break;case 115:k&&_.w(k,1,void 0);break;case 116:k&&_.w(k,2,void 0);break;case 34:_.w(d,30,void 0);f&&_.w(f,3,void 0);break;case 9:_.w(d,10,void 0);break;case 91:_.H(d,91,void 0);break;case 43:_.w(d,42,void 0);
_.w(d,43,void 0);break;case 187:_.w(d,136,void 0);break;case 26:_.w(d,24,void 0);break;case 108:_.w(d,104,[]);break;case 41:_.w(d,40,void 0);f&&_.w(f,5,void 0);break;case 42:_.w(d,41,void 0);break;case 1005:KQc(d,[]);break;case 59:f&&_.w(f,6,void 0);break;case 28:_.w(d,26,void 0);break;case 44:_.w(d,45,void 0);break;case 13:_.w(d,14,void 0);break;case 48:_.w(d,36,void 0);break;case 38:_.w(d,34,void 0);break;case 49:_.w(d,50,[]);break;case 51:_.w(d,53,void 0);break;case 104:_.w(d,102,void 0);break;
case 39:_.w(d,35,void 0);break;case 87:_.w(d,76,void 0);break;case 100:_.w(d,98,void 0);break;case 72:_.w(d,78,void 0);break;case 5:_.w(d,6,void 0);break;case 20:_.w(d,21,void 0);break;case 21:break;case 29:l&&_.w(l,1,void 0);break;case 31:l&&_.w(l,3,void 0);break;case 92:l&&_.w(l,4,void 0);break;case 30:l&&_.w(l,2,void 0);break;case 16:_.DLc(d,void 0);break;case 12:_.w(d,13,void 0);break;case 211:n&&_.w(n,2,void 0);break;case 212:n&&_.w(n,3,void 0);break;case 157:(d=d.Kk())&&LQc(d,[]);break;case 3:_.w(d,
4,void 0);break;case 11:_.w(d,12,void 0);break;case 10:_.w(d,11,void 0);break;case 50:_.w(d,49,void 0);_.w(d,51,void 0);_.H(d,81,void 0);break;case 18:_.w(d,19,void 0);break;case 95:_.w(d,93,void 0);break;case 58:_.w(d,63,void 0);break;case 14:_.CLc(d,[]);break;case 103:_.w(d,101,void 0);break;case 1:_.rO(d,[]);break;case 96:_.w(d,94,void 0);break;case 1003:MQc(d,[]);break;case 75:_.LLc(d,void 0);break;case 94:_.w(d,92,void 0);break;case 45:_.w(d,46,void 0);break;case 124:_.w(d,118,void 0);break;
case 125:_.w(d,119,void 0);break;case 1002:_.H(d,100,void 0);break;case 32:_.w(d,28,void 0);break;case 67:_.w(d,70,void 0);break;case 68:_.w(d,71,void 0);break;case 73:_.w(d,79,void 0);break;case 71:_.w(d,77,void 0);break;case 210:_.w(d,140,void 0);break;case 7:_.w(d,8,void 0);break;case 122:NQc(d,void 0);break;case 66:_.w(d,69,void 0);break;case 33:_.w(d,29,void 0);break;case 24:_.w(d,22,void 0);break;case 25:_.w(d,23,void 0);break;case 46:_.H(d,47,void 0);break;case 192:p&&_.w(p,6,void 0);break;
case 159:p&&_.H(p,5,void 0);break;case 154:p&&_.w(p,1,void 0);break;case 158:p&&_.w(p,4,void 0);break;case 155:p&&_.w(p,3,void 0);break;case 52:_.w(d,56,[]);break;case 56:_.w(d,61,void 0);break;case 55:d.uC([]);break;case 4:_.w(d,5,void 0);break;case 35:_.w(d,31,void 0);break;case 57:_.w(d,62,void 0);break;case 83:_.w(d,72,void 0);break;case 84:_.H(d,86,void 0);break;case 19:_.w(d,20,void 0);_.w(d,44,void 0);_.w(d,90,void 0);break;case 2:_.w(d,3,void 0);break;case 6:_.w(d,7,void 0);break;case 98:_.w(d,
96,void 0);break;case 97:_.H(d,95,void 0);break;case 27:_.w(d,25,void 0);break;case 70:_.w(d,75,void 0);break;case 107:t&&_.w(t,3,void 0);break;case 106:t&&_.w(t,2,void 0);break;case 105:t&&_.w(t,1,void 0);break;case 8:_.w(d,9,void 0);break;case 126:_.w(d,120,[]);break;default:throw Error("Wc`"+e);}}};QQc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.oc(a),_.oc(PQc)));a=[].concat(_.oc(_.lbb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)OQc(b[d],a)}};
RQc=function(a,b){var c=a.getCapabilities()||new _.vl,d=_.A(a,_.mO,138),e=_.A(a,_.Al,111),f=_.A(a,_.oO,27),h=_.A(a,_.wLc,139),k=a.Ef(),l=_.A(a,_.qO,103);switch(b){case 74:return 0<_.Gl(a).length;case 188:return null!=_.D(a,137);case 149:return 0<_.ad(a,128).length;case 148:return 0<a.joa().length;case 138:return null!=a.hba();case 184:return 0<_.ad(a,135).length;case 76:return null!=_.zl(c);case 208:return null!=_.D(c,48);case 185:return null!=_.D(c,40);case 213:return null!=_.D(c,50);case 156:return null!=
_.D(c,39);case 61:return null!=_.D(c,2);case 216:return null!=_.D(c,52);case 217:return null!=_.D(c,53);case 77:return null!=_.D(c,4);case 134:return null!=_.D(c,34);case 147:return null!=c.Av();case 81:return null!=_.D(c,10);case 82:return null!=_.D(c,11);case 114:return null!=_.D(c,27);case 133:return null!=_.D(c,33);case 202:return null!=_.D(c,47);case 132:return null!=_.D(c,32);case 101:return null!=_.D(c,20);case 201:return null!=_.D(c,46);case 131:return null!=_.D(c,31);case 200:return null!=
_.D(c,45);case 130:return null!=_.D(c,30);case 93:return null!=_.D(c,17);case 191:return null!=_.D(c,44);case 146:return null!=_.D(c,37);case 90:return null!=_.cd(c);case 78:return null!=_.D(c,7);case 186:return null!=_.D(c,41);case 85:return null!=_.D(c,12);case 137:return null!=_.D(c,36);case 209:return null!=_.D(c,49);case 79:return null!=_.D(c,8);case 189:return null!=_.D(c,42);case 190:return null!=_.D(c,43);case 80:return null!=c.V();case 135:return null!=_.D(c,35);case 102:return null!=_.D(c,
21);case 69:return null!=_.D(a,74);case 194:return null!=d&&null!=_.A(d,_.nO,2);case 193:return null!=d&&null!=_.x(d,1);case 1004:return null!=_.D(a,108);case 136:return 0<a.wV().length;case 115:return null!=e&&null!=_.D(e,1);case 116:return null!=e&&null!=_.x(e,2);case 34:return null!=_.D(a,30)||null!=_.D(c,3);case 9:return null!=a.dD();case 91:return null!=_.A(a,_.ql,91);case 43:return null!=_.x(a,42)||null!=_.x(a,43);case 187:return null!=_.x(a,136);case 26:return null!=a.wg();case 108:return 0<
_.ad(a,104).length;case 41:return null!=c.W();case 42:return null!=_.x(a,41);case 1005:return 0<a.CL().length;case 59:return null!=_.D(c,6);case 28:return null!=a.iF();case 44:return null!=_.x(a,45);case 13:return null!=a.jF();case 48:return null!=_.D(a,36);case 38:return null!=a.Ji();case 49:return 0<_.ad(a,50).length;case 51:return null!=_.D(a,53);case 104:return null!=_.D(a,102);case 39:return null!=a.Iba();case 87:return null!=_.Fl(a);case 100:return null!=_.D(a,98);case 72:return null!=_.x(a,
78);case 5:return null!=a.lm();case 20:return null!=a.Xe();case 21:return null!=a.getId();case 29:return!(!f||null==_.x(f,1));case 31:return!(!f||null==f.Ue());case 92:return!(!f||null==_.x(f,4));case 30:return!(!f||null==_.x(f,2));case 16:return null!=a.Lp();case 12:return null!=a.wz();case 211:return null!=h&&null!=_.D(h,2);case 212:return null!=h&&null!=_.D(h,3);case 157:return a=a.Kk(),!(!a||!_.Kk(a,_.Cl,8));case 3:return null!=a.Zb();case 11:return null!=a.BB();case 10:return null!=a.Er();case 50:return null!=
a.Lq()||null!=_.D(a,51)||null!=a.yn();case 18:return null!=_.x(a,19);case 14:return 0<_.El(a).length;case 95:return null!=a.Qn();case 58:return null!=_.D(a,63);case 103:return null!=_.x(a,101);case 1:return 0<a.Pi().length;case 96:return null!=_.D(a,94);case 1003:return 0<_.Il(a).length;case 75:return null!=a.Fw();case 94:return null!=_.x(a,92);case 45:return null!=a.Qq();case 124:return null!=_.D(a,118);case 125:return null!=_.x(a,119);case 1002:return null!=_.Hl(a);case 32:return null!=a.qB();case 67:return null!=
a.aM();case 68:return null!=a.bM();case 73:return null!=_.x(a,79);case 71:return null!=a.V();case 210:return null!=_.Jl(a);case 7:return null!=a.D0();case 122:return null!=a.wF();case 66:return null!=_.x(a,69);case 33:return null!=_.D(a,29);case 24:return null!=a.wj();case 25:return null!=a.Ww();case 46:return null!=a.XC();case 192:return null!=k&&null!=_.D(k,6);case 159:return null!=k&&null!=_.gd(k);case 154:return null!=k&&null!=_.x(k,1);case 158:return null!=k&&null!=_.jd(k);case 155:return null!=
k&&null!=_.x(k,3);case 52:return 0<_.ad(a,56).length;case 55:return 0<a.Jv().length;case 56:return null!=_.x(a,61);case 4:return null!=a.xz();case 35:return null!=_.D(a,31);case 57:return null!=_.x(a,62);case 83:return null!=a.Bc();case 84:return null!=_.A(a,_.pO,86);case 2:return null!=a.getTitle();case 19:return null!=a.Wh()||null!=_.D(a,44)||null!=_.x(a,90);case 6:return null!=a.Xh();case 98:return null!=a.lD();case 97:return null!=a.mD();case 27:return null!=a.tn();case 70:return null!=_.x(a,
75);case 107:return null!=l&&null!=_.x(l,3);case 106:return null!=l&&null!=l.Ue();case 105:return null!=l&&null!=_.x(l,1);case 8:return null!=_.D(a,9);case 126:return 0<_.ad(a,120).length;default:throw Error("Xc`"+b);}};SQc=function(a,b){return b.every(function(c){return RQc(a,c)})};TQc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.eKc:[]);return b.every(function(e){return(new Set(d)).has(e)})};UQc=function(a,b){var c=new Set(b.concat(_.eKc));return a.filter(function(d){return!c.has(d)})};
kP=function(a,b,c){b=b.clone();var d=b.getCapabilities();c.forEach(function(e){if(RQc(b,e))if(_.nbb.has(e)){if(d){var f=a.getCapabilities()||new _.vl;a.In(f);switch(e){case 76:_.WKc(f,_.zl(d));break;case 208:_.sLc(f,_.D(d,48));break;case 185:var h=_.D(d,40);_.w(f,40,h);break;case 213:var k=_.D(d,50);_.w(f,50,k);break;case 156:var l=_.D(d,39);_.w(f,39,l);break;case 61:_.XKc(f,_.D(d,2));break;case 216:var n=_.D(d,52);_.w(f,52,n);break;case 217:var p=_.D(d,53);_.w(f,53,p);break;case 77:_.ZKc(f,_.D(d,
4));break;case 134:var t=_.D(d,34);_.w(f,34,t);break;case 147:var u=d.Av();_.w(f,38,u);break;case 81:_.eLc(f,_.D(d,10));break;case 82:_.fLc(f,_.D(d,11));break;case 114:var z=_.D(d,27);_.w(f,27,z);break;case 133:_.nLc(f,_.D(d,33));break;case 202:_.rLc(f,_.D(d,47));case 132:_.mLc(f,_.D(d,32));break;case 101:_.jLc(f,_.D(d,20));break;case 201:_.qLc(f,_.D(d,46));break;case 131:_.lLc(f,_.D(d,31));break;case 200:var B=_.D(d,45);_.w(f,45,B);break;case 130:var F=_.D(d,30);_.w(f,30,F);break;case 93:_.iLc(f,
_.D(d,17));break;case 191:var M=_.D(d,44);_.w(f,44,M);break;case 146:var J=_.D(d,37);_.w(f,37,J);break;case 90:_.hLc(f,_.cd(d));break;case 78:_.bLc(f,_.D(d,7));break;case 186:var S=_.D(d,41);_.w(f,41,S);break;case 85:_.gLc(f,_.D(d,12));break;case 137:var U=_.D(d,36);_.w(f,36,U);break;case 209:var ha=_.D(d,49);_.w(f,49,ha);break;case 79:_.cLc(f,_.D(d,8));break;case 189:_.oLc(f,_.D(d,42));break;case 190:_.pLc(f,_.D(d,43));break;case 80:_.dLc(f,d.V());break;case 135:var ea=_.D(d,35);_.w(f,35,ea);break;
case 102:_.kLc(f,_.D(d,21));break;case 34:var Fa=_.D(b,30);_.w(a,30,Fa);_.YKc(f,_.D(d,3));break;case 41:var Aa=_.D(b,40);_.w(a,40,Aa);_.$Kc(f,d.W());break;case 59:_.aLc(f,_.D(d,6))}}}else if(_.obb.has(e)){var ca=_.A(b,_.mO,138);if(ca){var Na=_.A(a,_.mO,138)||new _.mO;_.H(a,138,Na);switch(e){case 194:var Ra=_.A(ca,_.nO,2);_.H(Na,2,Ra);break;case 193:var Ib=_.x(ca,1);_.w(Na,1,Ib)}}}else if(_.pbb.has(e)){var hb=_.A(b,_.Al,111);if(hb){var $b=_.A(a,_.Al,111)||new _.Al;_.H(a,111,$b);switch(e){case 115:_.uLc($b,
_.D(hb,1));break;case 116:_.vLc($b,_.x(hb,2))}}}else if(_.qbb.has(e)){var Qd=_.A(b,_.oO,27);if(Qd){var te=_.A(a,_.oO,27)||new _.oO;_.H(a,27,te);switch(e){case 29:var vg=_.x(Qd,1);_.w(te,1,vg);break;case 31:te.ig(Qd.Ue());break;case 92:var Ue=_.x(Qd,4);_.w(te,4,Ue);break;case 30:var Jf=_.x(Qd,2);_.w(te,2,Jf)}}}else if(_.rbb.has(e)){var Wg=_.A(b,_.wLc,139);if(Wg){var Xg=_.A(a,_.wLc,139)||new _.wLc;_.H(a,139,Xg);switch(e){case 211:var od=_.D(Wg,2);_.w(Xg,2,od);break;case 212:var Hi=_.D(Wg,3);_.w(Xg,
3,Hi)}}}else{if(d&&_.sk(d,51)){var xf=a.getCapabilities()||new _.vl;a.In(xf);_.tLc(xf,_.sk(d,51))}if(_.sbb.has(e)){var dg=b.Ef();if(dg){var Lb=a.Ef()||new _.Uma;_.H(a,132,Lb);switch(e){case 192:var zh=_.D(dg,6);_.w(Lb,6,zh);break;case 159:var Uk=_.gd(dg);_.H(Lb,5,Uk);break;case 154:var cj=_.x(dg,1);_.w(Lb,1,cj);break;case 158:var Fp=_.jd(dg);_.w(Lb,4,Fp);break;case 155:var Dk=_.x(dg,3);_.w(Lb,3,Dk)}}}else if(_.tbb.has(e)){var eg=_.A(b,_.qO,103);if(eg){var Ah=_.A(a,_.qO,103)||new _.qO;_.H(a,103,Ah);
switch(e){case 107:var jk=_.x(eg,3);_.w(Ah,3,jk);break;case 106:Ah.ig(eg.Ue());break;case 105:var Gp=_.x(eg,1);_.w(Ah,1,Gp)}}}else switch(e){case 74:var wl=_.Gl(b);_.Nk(a,83,wl);break;case 188:var Ln=_.D(b,137);_.w(a,137,Ln);break;case 149:var Vk=_.ad(b,128);_.w(a,128,Vk||[]);break;case 148:var Ek=b.joa();_.Nk(a,127,Ek);break;case 138:var Lm=b.hba();_.w(a,126,Lm);break;case 184:var kk=_.ad(b,135);_.w(a,135,kk||[]);break;case 69:var mh=_.D(b,74);_.w(a,74,mh);break;case 1004:var ti=_.D(b,108);_.w(a,
108,ti);break;case 136:var Ho=b.wV();_.Nk(a,125,Ho);break;case 9:var Fk=b.dD();_.w(a,10,Fk);break;case 91:var Gk=_.A(b,_.ql,91);_.H(a,91,Gk);break;case 43:var gh=_.x(b,42);_.w(a,42,gh);var Ph=_.x(b,43);_.w(a,43,Ph);break;case 187:var di=_.x(b,136);_.w(a,136,di);break;case 26:a.wm(b.wg());break;case 108:var Cc=_.ad(b,104);_.w(a,104,Cc||[]);break;case 42:var Mm=_.x(b,41);_.w(a,41,Mm);break;case 1005:KQc(a,b.CL());break;case 28:_.FLc(a,b.iF());break;case 44:var ei=_.x(b,45);_.w(a,45,ei);break;case 13:var Ii=
b.jF();_.w(a,14,Ii);break;case 48:var Mu=_.D(b,36);_.w(a,36,Mu);break;case 38:_.HLc(a,b.Ji());break;case 49:var Mq=_.ad(b,50);_.w(a,50,Mq||[]);break;case 51:var lk=_.D(b,53);_.w(a,53,lk);break;case 104:var Wr=_.D(b,102);_.w(a,102,Wr);break;case 39:var Nm=b.Iba();_.w(a,35,Nm);break;case 87:var xl=_.Fl(b);_.w(a,76,xl);break;case 100:var Xr=_.D(b,98);_.w(a,98,Xr);break;case 72:var Mn=_.x(b,78);_.w(a,78,Mn);break;case 5:var nh=b.lm();_.w(a,6,nh);break;case 20:var Nj=b.Xe();_.w(a,21,Nj);break;case 21:a.Wb(b.getId());
break;case 16:_.DLc(a,b.Lp());break;case 12:var Nn=b.wz();_.w(a,13,Nn);break;case 157:var jf=b.Kk();if(jf){var Oj=a.Kk()||new _.Sma;VQc(a,Oj);LQc(Oj,_.Kk(jf,_.Cl,8))}break;case 3:_.wM(a,b.Zb());break;case 11:var Hp=b.BB();_.w(a,12,Hp);break;case 10:_.hGc(a,b.Er());break;case 50:var Yr=b.Lq();_.w(a,49,Yr);var Ip=_.D(b,51);_.w(a,51,Ip);var Jp=b.yn();_.H(a,81,Jp);break;case 95:_.NLc(a,b.Qn());break;case 18:_.ELc(a,_.x(b,19));break;case 58:var Io=_.D(b,63);_.w(a,63,Io);break;case 14:_.CLc(a,_.El(b));
break;case 1:_.rO(a,b.Pi());break;case 96:var yl=_.D(b,94);_.w(a,94,yl);break;case 103:var Nq=_.x(b,101);_.w(a,101,Nq);break;case 1003:MQc(a,_.Il(b));break;case 75:_.LLc(a,b.Fw());break;case 94:_.MLc(a,_.x(b,92));break;case 45:var jt=b.Qq();_.w(a,46,jt);case 124:var Jo=_.D(b,118);_.w(a,118,Jo);break;case 125:var Ko=_.x(b,119);_.w(a,119,Ko);break;case 1002:var Lo=_.Hl(b);_.H(a,100,Lo);break;case 32:var Zr=b.qB();_.w(a,28,Zr);break;case 67:var wg=b.aM();_.w(a,70,wg);break;case 68:var Kp=b.bM();_.w(a,
71,Kp);break;case 73:var Nu=_.x(b,79);_.w(a,79,Nu);break;case 71:var kt=b.V();_.w(a,77,kt);break;case 210:var Wk=_.Jl(b);_.w(a,140,Wk);break;case 7:_.BLc(a,b.D0());break;case 122:NQc(a,b.wF());break;case 66:var lt=_.x(b,69);_.w(a,69,lt);break;case 33:var Oq=_.D(b,29);_.w(a,29,Oq);break;case 24:var $r=b.wj();_.w(a,22,$r);break;case 25:var cm=b.Ww();_.w(a,23,cm);break;case 46:var dm=b.XC();_.H(a,47,dm);break;case 52:var qz=_.ad(b,56);_.w(a,56,qz||[]);break;case 56:var mt=_.x(b,61);_.w(a,61,mt);break;
case 55:a.uC(b.Jv());break;case 4:a.ls(b.xz());break;case 35:_.GLc(a,_.D(b,31));break;case 57:var Ve=_.x(b,62);_.w(a,62,Ve);break;case 83:_.KLc(a,b.Bc());break;case 84:var rz=_.A(b,_.pO,86);_.H(a,86,rz);break;case 98:var zB=b.lD();_.w(a,96,zB);break;case 97:var PI=b.mD();_.H(a,95,PI);break;case 19:var QI=b.Wh();_.w(a,20,QI);_.ILc(a,_.D(b,44));var Mo=_.x(b,90);_.w(a,90,Mo);break;case 2:a.setTitle(b.getTitle());break;case 6:a.ao(b.Xh());break;case 27:_.iGc(a,b.tn());break;case 70:var LE=_.x(b,75);_.w(a,
75,LE);break;case 8:var dj=_.D(b,9);_.w(a,9,dj);break;case 126:var AB=_.ad(b,120);_.w(a,120,AB||[]);break;default:throw Error("Yc`"+e);}}})};WQc=function(a,b){var c=_.iB[a];return b.filter(function(d){return!c||!c.has(d)})};XQc=function(a,b,c){a=WQc(c,a);return TQc(b,a,!0)};YQc=function(a){return!!_.D(a,31)&&!_.D(a,94)};$Qc=function(a){return ZQc.some(function(b){return RQc(a,b)})};aRc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(lP(b))})};bRc=function(a){return aRc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.cRc=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};dRc=function(a,b){var c=_.rGc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};fRc=function(a,b){if(b){var c=[];_.D(b,3)&&c.push("folder");var d=eRc()&&4==b.getType()?"title_natural":_.sIc[b.getType()];b=_.uIc[b.Kh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
hRc=function(a,b,c,d){b="#"+b+"_";var e=new _.yM;e.update(c.join(","));b+=_.lGc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new gRc(c.port),c.port.start()):a=new gRc(new Worker(a));return a};jRc=function(a){var b=a.slice(0),c=new Set(b);iRc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
lRc=function(a){var b=new kRc;if(a instanceof _.sN)_.Mk(b,16,mP[0],a);else if(a instanceof _.tN)_.Mk(b,1,mP[0],a);else if(a instanceof _.uN)_.Mk(b,2,mP[0],a);else if(a instanceof _.xN)_.Mk(b,3,mP[0],a);else if(a instanceof _.VO)_.Mk(b,4,mP[0],a);else if(a instanceof _.vN)_.Mk(b,5,mP[0],a);else if(a instanceof _.BN)_.Mk(b,6,mP[0],a);else if(a instanceof _.DN)_.Mk(b,7,mP[0],a);else if(a instanceof _.EN)_.Mk(b,8,mP[0],a);else if(a instanceof _.HN)_.Mk(b,9,mP[0],a);else if(a instanceof _.VN)_.Mk(b,10,
mP[0],a);else if("undefined"!=typeof _.WN&&a instanceof _.WN)_.Mk(b,11,mP[0],a);else if(a instanceof _.qKc)_.Mk(b,12,mP[0],a);else if(a instanceof _.RM)_.Mk(b,13,mP[0],a);else if(a instanceof _.$N)_.Mk(b,14,mP[0],a);else if(a instanceof _.aO)_.Mk(b,15,mP[0],a);else throw new _.sb("Unsupported request type");return b};
pRc=function(a){a=a.map(function(c){var d=new mRc;if(c instanceof _.sN)_.Mk(d,6,nRc[0],c);else if(c instanceof _.BN)_.Mk(d,1,nRc[0],c);else if(c instanceof _.VN)_.Mk(d,2,nRc[0],c);else if("undefined"!=typeof _.WN&&c instanceof _.WN)_.Mk(d,3,nRc[0],c);else if(c instanceof _.RM)_.Mk(d,4,nRc[0],c);else if(c instanceof _.aO)_.Mk(d,5,nRc[0],c);else throw new _.sb("Unsupported request type");return d});var b=new oRc;_.Nk(b,1,a);return b};
sRc=function(a){var b=new qRc;if("undefined"!=typeof _.FE&&a instanceof _.FE)_.Mk(b,1,rRc[0],a);else if("undefined"!=typeof _.GE&&a instanceof _.GE)_.Mk(b,2,rRc[0],a);else throw new _.sb("Unsupported request type");return b};vRc=function(a){var b=new tRc;if(a instanceof _.yN)_.Mk(b,1,uRc[0],a);else if(a instanceof _.FN)_.Mk(b,2,uRc[0],a);else if(a instanceof _.bO)_.Mk(b,3,uRc[0],a);else throw new _.sb("Unsupported request type");return b};
wRc=function(a,b){var c=a.yn();c||(c=new _.Bl,b&&_.H(a,81,c));return c};xRc=function(a){if(_.rN(a))_.kN(wRc(a,!0),!0);else if(_.rN(a,!0)){var b=a.Ef();if(b=b&&_.gd(b))_.kN(wRc(b,!0),!0),_.kN(wRc(a,!0),!0)}};yRc=function(a){return!!a.yn()&&!_.rN(a)};zRc=function(a){var b=[];_.Ga(a,function(c){if(3!=lP(c)){var d=c;if(null!=d.Lq()||null!=_.D(d,51)||null!=d.yn())c=_.Rk(c),_.w(c,49,void 0),_.w(c,51,void 0),_.H(c,81,void 0);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 _.onb;c=_.w(c,3,CRc[b.serviceName]);return _.w(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.ny();var b=new GRc;a.forEach(function(c){var d=c.getKey();d=d&&_.x(d,2);"corpusSize"==d?(c=_.Ng(c.kb()),_.w(b,3,c)):"linkedItems"==d?(c=_.Ng(c.kb()),_.w(b,2,c)):"linkedFolders"==d&&(c=_.Ng(c.kb()),_.w(b,1,c))});return"number"===typeof _.x(b,3)?b:null};IRc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.He;_.Ie(b,305);_.Je(b,!0);_.w(b,3,2);var c=new _.$D;_.H(c,1,b);var d=new _.yKc(c,[7]);a=a.then(function(e){return e.H(d)}).then(HRc);return _.ri(a)};
JRc=function(a){var b={},c=a.getKey(),d=c&&_.x(c,2);b.key=d;b.value=a.kb();(a=c&&_.rp(c))&&(b.namespace=_.uJc[a]);return b};KRc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.uJc[a[c]]);return b};NRc=function(a){var b=_.EH(a);b=LRc(new nP,b).Wc(a.getName());var c=a.getEmail();b=_.w(b,3,c);c=new MRc;a=_.x(a,5);a=_.w(c,1,a);return _.H(b,4,a)};
PRc=function(a,b){var c=ORc(a.V,b.Lc());if(c){var d=c.getItem(),e=d.Fw();if(e){var f=_.Kk(e,_.ql,2),h=_.qa(f,function(k){return k.getId()==b.V()});_.yLc(e,f);h||(f=_.Kk(e,_.ql,3),_.qa(f,function(k){return k.getId()==b.V()}),_.zLc(e,f));_.xLc(e,(_.x(e,1)||1)-1);oP(a,[d],c.V)}}};
RRc=function(a,b,c){if(b=ORc(a.V,b.Lc())){var d=b.getItem(),e=d.Fw();if(e){if(1==c.getType()||2==c.getType()){var f=_.Kk(e,_.ql,3);f.push(c);_.Da(f,QRc);_.zLc(e,f)}else f=_.Kk(e,_.ql,2),f.push(c),_.Da(f,QRc),_.yLc(e,f);_.xLc(e,(_.x(e,1)||0)+1);oP(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=_.pe(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.pe(b.failedItemInfos||[],function(l){var n=_.wM((new _.Dl).Wb(l.docId).setTitle(l.title),l.mediaType);n=(new _.TRc).setItem(n);n=_.w(n,3,l.relativePath);return _.w(n,4,l.cause)});return new URc(c,d,k,f,h,e,a,b)};
WRc=function(a){a=a.zd();return a?(a=a.De())?_.x(a,1):0:0};XRc=function(a,b){return _.y(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};ZRc=function(a,b){var c=new _.aN,d=new Set;if(6==a){a=_.v(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.bKc.get(lP(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}YRc(c,[].concat(_.oc(d)));return c};
$Rc=function(a,b){var c={};a=_.uf(a,function(d){return!!d});b=_.uf(b,function(d){return!!d});_.tf(a,function(d,e){var f=b[e];f?_.Qk(d,f)||(d=_.ZJc(4).setItem(f),c[e]=d):(d=_.ZJc(2).setItem(d),c[e]=d)});_.tf(b,function(d,e){a[e]||(d=_.ZJc(1).setItem(d),c[e]=d)});return c};aSc=function(a,b){return _.yf(a)!=_.yf(b)||!_.Bf($Rc(a,b))};
eSc=function(a,b){_.w(b,75,1<_.m.devicePixelRatio);if(bSc(b))return b=new pP(a,b,3),new qP(b,b.Ua);_.w(b,61,!1);var c=_.EM(b.nf())?2:1;a=new rP(a,b,c,void 0,void 0,void 0);return _.EM(b.nf())?new cSc(a):new dSc(a)};fSc=function(a){return _.pd(a).xg(_.y(a.get(_.Za),19,!1)?_.bGc:_.X_a)};gSc=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)};hSc=function(a,b){return _.Nk(a,1,b)};iSc=[1];jSc=function(a){_.Q(this,a,0,-1,iSc,null)};_.N(jSc,_.I);
jSc.prototype.YL=function(){return _.Kk(this,_.ql,1)};jSc.prototype.L9=function(a){_.Ok(this,1,a,_.ql,void 0)};var kSc=function(a){var b=new jSc;return _.Nk(b,1,a)},lSc=function(a,b){return _.H(a,1,b)},mSc=function(a,b){_.Nk(a,2,b)},nSc=function(a,b){_.H(a,6,b)},oSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(oSc,_.I);var pSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(pSc,_.I);var qSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(qSc,_.I);var rSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(rSc,_.I);
var sSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(sSc,_.I);var tSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(tSc,_.I);var uSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(uSc,_.I);var vSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(vSc,_.I);var wSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(wSc,_.I);var xSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(xSc,_.I);var ySc=function(a){_.Q(this,a,0,-1,null,null)};_.N(ySc,_.I);var zSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(zSc,_.I);
var ASc=function(a){_.Q(this,a,0,-1,null,null)};_.N(ASc,_.I);var BSc=function(a){_.Q(this,a,0,-1,null,null)};_.N(BSc,_.I);var CSc=[[1,2,3,4]],DSc=function(a){_.Q(this,a,0,-1,null,CSc)};_.N(DSc,_.I);var ESc=[[1]],FSc=function(a){_.Q(this,a,0,-1,null,ESc)};_.N(FSc,_.I);var GSc=[[1,2]],HSc=function(a){_.Q(this,a,0,-1,null,GSc)};_.N(HSc,_.I);var ISc=[[1]],JSc=function(a){_.Q(this,a,0,-1,null,ISc)};_.N(JSc,_.I);var KSc=[[1,2]],LSc=function(a){_.Q(this,a,0,-1,null,KSc)};_.N(LSc,_.I);
LSc.prototype.jg=function(a){_.Mk(this,1,KSc[0],a)};var MSc=[1],NSc=function(a){_.Q(this,a,0,-1,MSc,null)};_.N(NSc,_.I);var OSc=[[1]],PSc=function(a){_.Q(this,a,0,-1,null,OSc)};_.N(PSc,_.I);var QSc=[2],RSc=function(a){_.Q(this,a,0,-1,QSc,null)};_.N(RSc,_.I);var SSc=[[1]],TSc=function(a){_.Q(this,a,0,-1,null,SSc)};_.N(TSc,_.I);TSc.prototype.jg=function(a){_.Mk(this,1,SSc[0],a)};var USc=[[1,2]],VSc=function(a){_.Q(this,a,0,-1,null,USc)};_.N(VSc,_.I);
var WSc=[[1]],XSc=function(a){_.Q(this,a,0,-1,null,WSc)};_.N(XSc,_.I);
var YSc=function(a,b){return _.Mk(a,3,_.sl[0],b)},ZSc=function(a,b){_.Nk(a,1,b)},$Sc=function(a,b){return _.w(a,2,b)},aTc=function(a,b){return _.H(a,3,b)},bTc=function(a,b){return _.w(a,4,b)},cTc=function(a,b){_.Nk(a,1,b)},dTc=function(a,b){return _.H(a,2,b)},eTc=function(a,b){_.Nk(a,1,b)},fTc=function(a,b){return _.H(a,4,b)},gTc=function(a,b){_.H(a,5,b)},hTc=function(a,b){_.Nk(a,2,b)},iTc=function(a,b){_.Nk(a,4,b)},jTc=function(a,b){return _.H(a,5,b)},kTc=function(a,b){_.Nk(a,1,b)},lTc=function(a,
b){return _.H(a,2,b)},mTc=function(a,b){_.Nk(a,2,b)},nTc=function(a,b){return _.Nk(a,3,b)},oTc=function(a,b){_.Nk(a,1,b)},pTc=function(a,b){return _.w(a,2,b)},qTc=function(a,b){return _.H(a,3,b)},rTc=function(a,b){_.Nk(a,2,b)},sTc=function(a,b){return _.H(a,3,b)},tTc=function(a,b){_.Nk(a,1,b)},uTc=function(a,b){return _.Nk(a,2,b)},vTc=function(a,b){_.Nk(a,1,b)},wTc=function(a,b){return _.H(a,2,b)},xTc=function(a,b){return _.H(a,1,b)},yTc=function(a,b){return _.w(a,2,b)},zTc=function(a,b){return _.w(a,
3,b)},LQc=function(a,b){_.Nk(a,8,b)},lP=function(a){return _.C(a,52,1)},VQc=function(a,b){return _.H(a,73,b)},MQc=function(a,b){_.Nk(a,107,b)},NQc=function(a,b){_.H(a,109,b)},KQc=function(a,b){return _.Nk(a,117,b)},ATc=function(a){_.Q(this,a,0,-1,null,null)};_.N(ATc,_.I);var BTc=function(a){_.Q(this,a,0,-1,null,null)};_.N(BTc,_.I);var CTc=[11],DTc=function(a){_.Q(this,a,0,-1,CTc,null)};_.N(DTc,_.I);var sP=function(a){_.Q(this,a,0,-1,null,null)};_.N(sP,_.I);
sP.prototype.getKey=function(){return _.x(this,2)};tP=function(a){return _.C(a,4,"en")};_.uP=function(a){return _.A(a,DTc,34,1)};ETc=function(a,b){return _.w(a,1,b||[])};FTc=function(a,b){return _.w(a,5,b)};_.GTc=function(a,b){return _.Nk(a,5,b)};_.HTc=function(a,b){return _.w(a,6,b)};_.ITc=function(a,b){return _.w(a,7,b)};_.JTc=function(a,b){return _.w(a,8,b)};_.KTc=function(a,b){return _.w(a,10,b)};_.LTc=function(a,b){return _.w(a,15,b)};MTc=[2];_.NTc=function(a){_.Q(this,a,0,-1,MTc,null)};
_.N(_.NTc,_.I);_.NTc.prototype.xh=function(){return _.x(this,1)};_.OTc=function(a,b){return _.w(a,2,b)};_.PTc=function(a,b){return _.w(a,3,b)};_.QTc=function(a,b){return _.w(a,1,b)};_.RTc=function(a,b){return _.w(a,2,b)};_.STc=function(a,b){return _.H(a,1,b)};TTc=function(a,b){return _.w(a,2,b)};UTc=function(a,b){return _.w(a,3,b)};VTc=function(a,b){_.Nk(a,4,b)};_.WTc=function(a,b){_.H(a,8,b)};_.XTc=function(a,b){_.H(a,9,b)};_.VO=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.VO,_.I);
_.VO.prototype.getTitle=function(){return _.x(this,1)};_.VO.prototype.setTitle=function(a){return _.w(this,1,a)};_.VO.prototype.De=function(){return _.A(this,_.He,2)};YTc=function(a,b){return _.w(a,9,b||[])};ZTc=function(a,b){return _.w(a,10,b||[])};$Tc=function(a,b){return _.w(a,36,b)};aUc=function(a,b){return _.Nk(a,38,b)};_.bUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.bUc,_.I);_.bUc.prototype.getId=function(){return _.x(this,1)};_.bUc.prototype.Wb=function(a){return _.w(this,1,a)};
var cUc=function(a,b){return _.w(a,2,b)},dUc=function(a,b){return _.H(a,3,b)},eUc=function(){var a=new _.VM;return _.w(a,5,!0)},YRc=function(a,b){return _.w(a,1,b||[])},fUc={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},vP=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Qk(b[a],c[a]))return!0;return!1},gUc=[1,3,5],hUc=function(a){_.Q(this,a,0,-1,gUc,
null)};_.N(hUc,_.I);hUc.prototype.Tz=function(){return _.D(this,2)};var iUc=function(a,b){_.w(a,2,b)},jUc=function(a,b){_.Ik(a,5,b,void 0)},kUc=function(a,b){_.w(a,6,b)},lUc=function(a,b){_.w(a,7,b)},mUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(mUc,_.I);mUc.prototype.Tz=function(){return _.D(this,1)};mUc.prototype.lp=function(){return _.x(this,6)};var nUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(nUc,_.I);var oUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(oUc,_.I);
var pUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(pUc,_.I);var qUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(qUc,_.I);var rUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(rUc,_.I);var sUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(sUc,_.I);var tUc=[1],uUc=function(a){_.Q(this,a,0,-1,tUc,null)};_.N(uUc,_.I);_.vUc=function(a,b){_.H(a,2,b)};wUc=[2];xUc=function(a){_.Q(this,a,0,-1,wUc,null)};_.N(xUc,_.I);_.g=xUc.prototype;_.g.Ib=function(){return _.x(this,1)};
_.g.Dc=function(a){return _.w(this,1,a)};_.g.YL=function(){return _.Kk(this,_.ql,2)};_.g.L9=function(a){_.Ok(this,2,a,_.ql,void 0)};_.g.Lj=function(){return _.x(this,3)};var yUc=[2],zUc=function(a){_.Q(this,a,0,-1,yUc,null)};_.N(zUc,_.I);zUc.prototype.Ib=function(){return _.x(this,1)};zUc.prototype.Dc=function(a){return _.w(this,1,a)};zUc.prototype.Lj=function(){return _.x(this,3)};AUc=function(a,b){return _.w(a,1,b||[])};_.BUc=function(a,b){_.H(a,1,b)};CUc=function(a,b,c){_.HO(a,b,c,"warning")};
DUc=function(a){return _.mf(a.Aq,function(b){return _.jO(b.kt.request)})};EUc=function(a){var b=[];a.Aq.forEach(function(c){(c=c.kt.config.timestamp)&&b.push(c)});return b};FUc=function(a){return a.W.CLa()?!0:a.V.some(function(b){return DUc(b)})};GUc=function(a){var b=[];a.ka.forEach(function(c){c.forEach(function(d){(d=d.kt.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ua(b,EUc(c))});return b};HUc=function(a){return[].concat(_.oc(a.V))};IUc=function(a){return a.H.concat([].concat(_.oc(a.V)))};
JUc=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(_.oc(c))};wP=function(a){var b=_.aP(a).zd();b||(b=new _.lMc,a=_.aP(a),_.H(a,1,b));return b};KUc=function(a){var b=_.A(_.aP(a),hUc,3);b||(b=new hUc,a=_.aP(a),_.H(a,3,b));return b};LUc=function(a){var b=_.A(_.aP(a),mUc,16);b||(b=new mUc,a=_.aP(a),_.H(a,16,b));return b};
MUc=function(a){var b=_.A(_.aP(a),pUc,7);b||(b=new pUc,a=_.aP(a),_.H(a,7,b));return b};NUc=function(a){var b=_.A(_.aP(a),rUc,12);b||(b=new rUc,a=_.aP(a),_.H(a,12,b));return b};
OUc=function(a){if(a instanceof _.EO)return 2;if(a instanceof _.up)return 10;if(a instanceof _.re)return _.LN(a)?3:_.MN(a)?7:_.NN(a)?8:1;if(a instanceof _.mp)return 9;if(a instanceof _.FH)return 11;if(a instanceof _.TN)return 15;if(a instanceof _.cO)return 6;if(a instanceof _.PN){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 _.$D)return 4;if(a instanceof _.wp)return 12;if("undefined"!=typeof _.dO&&a instanceof _.dO)return 13}return 0};
PUc=function(a){var b=null;a instanceof _.lD||"undefined"!=typeof _.cP&&a instanceof _.cP||"undefined"!=typeof _.dP&&a instanceof _.dP?b=a.xf()||0:"undefined"!=typeof _.fP&&a instanceof _.fP||"undefined"!=typeof _.gP&&a instanceof _.gP||"undefined"!=typeof _.hP&&a instanceof _.hP||"undefined"!=typeof _.iP&&a instanceof _.iP||"undefined"!=typeof _.cQc&&a instanceof _.cQc?b=a.H:"undefined"!=typeof _.eP&&a instanceof _.eP&&(b=a.xf());return b||0};
QUc=function(a,b){return a.V&&_.jQc(a)?_.fQc(a.V,b,0):null};RUc=function(a,b){if(a.V&&_.jQc(a)){a=_.fQc(a.V,106018,0);var c=_.A(_.aP(a),sUc,15);if(!c){c=new sUc;var d=_.aP(a);_.H(d,15,c)}c=_.w(c,1,1);_.w(c,2,b);a.V()}};SUc=function(a){a.V&&_.jQc(a)&&(a=a.V,a.isRunning()&&a.H.PX())};TUc=function(a,b){if(!(a instanceof b.constructor))throw Error("Y");var c=_.Lk(a,!0);b=_.Lk(b,!0);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.zc&&(d[0]=a.zc,e=1);for(;e<f;e++)_.tla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};
UUc=[2,6];_.dP=function(a){_.Q(this,a,0,-1,UUc,null)};_.N(_.dP,_.I);_.g=_.dP.prototype;_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Id=function(){return _.Kk(this,_.Dl,2)};_.g.ay=function(a){return _.Nk(this,2,a)};_.g.tg=function(a,b){return _.Ok(this,2,a,_.Dl,b)};_.g.Lj=function(){return _.x(this,3)};_.g.Uma=function(){return _.y(this,4,!0)};var VUc=function(a,b){return _.w(a,4,b)},WUc=function(a,b){return _.Nk(a,6,b)};_.g=_.dP.prototype;
_.g.SH=function(){return _.A(this,_.bmb,7)};_.g.eL=function(a){return _.H(this,7,a)};_.g.getSessionId=function(){return _.A(this,_.Cm,8)};_.g.setSessionId=function(a){return _.H(this,8,a)};_.g.A0=function(){return _.x(this,10)};_.g.C0=function(a){return _.w(this,10,a)};_.g.xf=function(){return _.x(this,9)};_.g.B0=function(a){return _.w(this,9,a)};var XUc=[2],YUc=function(a){_.Q(this,a,0,-1,XUc,null)};_.N(YUc,_.I);YUc.prototype.Ib=function(){return _.x(this,1)};
YUc.prototype.Dc=function(a){return _.w(this,1,a)};YUc.prototype.Lj=function(){return _.x(this,3)};var ZUc=function(a){_.Q(this,a,0,-1,null,null)};_.N(ZUc,_.I);var $Uc=[1,2],aVc=function(a){_.Q(this,a,0,-1,$Uc,null)};_.N(aVc,_.I);aVc.prototype.ny=function(){return _.Kk(this,_.qp,1)};
var bVc=[1,2,4],cVc={SUCCESS:1,uNb:2,dFb:3,fBb:4,GNb:5,tIb:6,mIb:7,CBb:8,CMb:9,RMb:10,tNb:11,fDb:12,KCb:13,dGb:14,BEb:15,PCb:16,OCb:17,UCb:18,RCb:19,SCb:20,hNb:21,DNb:22,LIb:23,SHb:24,vBb:25,PERMISSION_DENIED:26,lHb:27,HBb:28,GBb:29,INTERRUPTED:30,iJb:31,AJb:32,sDb:33,xDb:34,JMb:35,HDb:36,CEb:37,wDb:38,lIb:39,oCb:40,dJb:41,CJb:42,AMb:43,ZBb:44,nCb:45,zEb:46,hHb:47,kIb:48,CIb:49,eJb:50,tMb:51,LCb:52,BMb:53,zMb:54,fCb:55,cCb:56,RDb:57,GHb:58,fJb:59,JGb:60,LKb:61,zLb:62,fMb:63,tGb:64,UHb:65,JNb:66,JDb:67,
DEb:68,sNb:69,xGb:70,FBb:71,QBb:72,HLb:73,gMb:74,cMb:75,aMb:76,vLb:190,$Lb:191,ILb:192,OLb:126,KLb:128,LLb:129,MLb:130,NLb:131,PLb:132,QLb:133,UKb:127,RKb:134,SKb:135,WKb:136,XKb:137,YKb:138,TKb:194,VKb:195,ZKb:196,QKb:197,yLb:189,KKb:139,MKb:140,$Kb:141,aLb:142,mLb:143,pLb:144,qLb:145,rLb:146,sLb:147,tLb:148,uLb:149,xLb:150,DLb:151,FLb:152,GLb:153,JLb:154,RLb:155,TLb:156,ULb:157,VLb:158,WLb:159,XLb:160,YLb:161,bMb:162,eMb:163,hMb:164,NKb:165,OKb:166,PKb:167,IKb:168,JKb:169,dLb:170,bLb:171,cLb:172,
eLb:173,fLb:174,gLb:175,hLb:176,iLb:177,jLb:178,kLb:179,lLb:180,nLb:181,oLb:182,wLb:106,ELb:183,SLb:184,ZLb:185,ALb:186,BLb:187,CLb:188,dMb:244,cJb:77,xNb:78,CNb:79,tHb:80,iGb:81,kGb:82,QDb:83,yEb:84,mHb:85,aNb:86,vDb:87,zGb:88,yGb:89,kMb:90,iMb:91,jMb:92,yNb:93,CCb:94,BCb:95,yCb:96,ACb:97,zCb:98,INb:99,uKb:100,XCb:101,QCb:102,VCb:103,TCb:104,WCb:105,EEb:107,OMb:108,oKb:109,lNb:110,HEb:111,GEb:112,NGb:113,OGb:114,GJb:115,gCb:116,VGb:117,$Db:118,zNb:119,pIb:120,qIb:121,eGb:193,NCb:122,mDb:123,hGb:124,
PHb:125,AGb:198,mJb:199,qGb:200,VAb:201,vGb:202,uGb:203,IBb:204,dOb:205,bHb:206,vCb:207,oIb:208,BJb:209,qKb:210,jBb:211,LGb:212,SGb:213,EMb:214,DMb:215,sGb:216,bGb:217,rGb:218,LDb:219,SMb:220,MDb:221,KGb:222,LMb:223,ONb:224,YHb:225,KMb:226,oDb:227,aHb:228,PDb:229,qCb:230,ZMb:231,QHb:232,FILE_TOO_LARGE:233,wGb:234,KDb:235,wEb:236,wJb:237,VHb:238,EAb:239,sCb:240,cIb:241,AKb:242,uDb:243,TAb:245,lGb:246,EIb:247,jGb:248,sHb:249,THb:250,AEb:251,kFb:252,MGb:253,dCb:254,FEb:255,HNb:256,YEb:257,DHb:258,NJb:259,
lJb:260},dVc=function(a){_.Li.call(this,a)};_.K(dVc,_.Li);var PQc=[1004,1005,1002,1003],ZQc=[1002,1003,1005],eVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(eVc,_.I);eVc.prototype.Ib=function(){return _.x(this,1)};eVc.prototype.Dc=function(a){return _.w(this,1,a)};eVc.prototype.V=function(){return _.A(this,_.jD,2)};var fVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(fVc,_.I);_.g=fVc.prototype;_.g.VDa=function(){return _.D(this,1)};_.g.Rl=function(a){return _.w(this,1,a)};
_.g.lm=function(){return _.D(this,2)};_.g.Iw=function(){return _.D(this,3)};_.g.t2a=function(){return _.D(this,4)};var xP=[[13,19,12,11,10,15,14,9,8,18,17,16]],gVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(gVc,_.I);gVc.prototype.fI=function(){return _.D(this,1)};gVc.prototype.rW=function(){return _.sk(this,1)};gVc.prototype.Gt=function(){return _.D(this,2)};var hVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(hVc,_.I);var iVc=[1],jVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(jVc,_.I);
jVc.prototype.fI=function(){return _.D(this,1)};jVc.prototype.rW=function(){return _.sk(this,1)};jVc.prototype.V=function(){return _.D(this,2)};var kVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(kVc,_.I);_.g=kVc.prototype;_.g.getLabel=function(){return _.x(this,1)};_.g.Cd=function(a){return _.w(this,1,a)};_.g.kb=function(){return _.x(this,2)};_.g.Rb=function(a){return _.w(this,2,a)};_.g.vj=function(){return _.w(this,2,void 0)};_.g.qg=function(){return _.sk(this,2)};
_.g.getCapabilities=function(){return _.A(this,jVc,3)};_.g.In=function(a){return _.H(this,3,a)};_.g.k2a=function(){return _.A(this,fVc,4)};var lVc=function(a){_.Q(this,a,0,-1,iVc,null)};_.N(lVc,_.I);lVc.prototype.hI=function(){return _.Kk(this,kVc,1)};var mVc=function(a,b){_.Nk(a,1,b)},nVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(nVc,_.I);nVc.prototype.V=function(){return _.x(this,1)};nVc.prototype.zQ=function(){return _.sk(this,1)};nVc.prototype.getOptions=function(){return _.A(this,lVc,2)};
var oVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(oVc,_.I);oVc.prototype.W=function(){return _.x(this,1)};oVc.prototype.V=function(){return _.x(this,2)};var pVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(pVc,_.I);pVc.prototype.zQ=function(){return _.sk(this,1)};pVc.prototype.getOptions=function(){return _.A(this,oVc,2)};var qVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(qVc,_.I);qVc.prototype.W=function(){return _.x(this,1)};qVc.prototype.V=function(){return _.x(this,2)};
var rVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(rVc,_.I);var sVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(sVc,_.I);sVc.prototype.zQ=function(){return _.sk(this,1)};sVc.prototype.getOptions=function(){return _.A(this,rVc,2)};var yP=[[3,4,5,6,7,8,9,10,11,12]],tVc=function(a){_.Q(this,a,0,-1,null,yP)};_.N(tVc,_.I);_.g=tVc.prototype;_.g.g7=function(a){return _.Mk(this,3,yP[0],a)};_.g.RRa=function(a){return _.Mk(this,4,yP[0],a)};_.g.nRa=function(a){return _.Mk(this,5,yP[0],a)};
_.g.mRa=function(a){return _.Mk(this,6,yP[0],a)};_.g.aRa=function(a){return _.Mk(this,7,yP[0],a)};_.g.FRa=function(a){return _.Mk(this,8,yP[0],a)};_.g.ERa=function(a){return _.Mk(this,9,yP[0],a)};_.g.VRa=function(a){return _.Mk(this,10,yP[0],a)};_.g.mha=function(a){return _.Mk(this,11,yP[0],a)};_.g.Yga=function(a){return _.Mk(this,12,yP[0],a)};var uVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(uVc,_.I);var vVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(vVc,_.I);
vVc.prototype.V=function(){return _.x(this,1)};vVc.prototype.zQ=function(){return _.sk(this,1)};vVc.prototype.getOptions=function(){return _.A(this,uVc,2)};var wVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(wVc,_.I);wVc.prototype.SFa=function(){return _.x(this,1)};wVc.prototype.V=function(){return _.x(this,4)};var xVc=function(a){_.Q(this,a,0,-1,null,xP)};_.N(xVc,_.I);_.g=xVc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};
_.g.n2a=function(){return _.x(this,2)};_.g.Hf=function(){return _.x(this,4)};_.g.m2a=function(){return _.A(this,fVc,5)};_.g.getCapabilities=function(){return _.A(this,gVc,6)};_.g.In=function(a){return _.H(this,6,a)};_.g.s2a=function(){return _.x(this,7)};_.g.aRa=function(a){return _.Mk(this,13,xP[0],a)};_.g.l2a=function(){return _.A(this,wVc,19)};_.g.Yga=function(a){return _.Mk(this,19,xP[0],a)};_.g.mRa=function(a){return _.Mk(this,12,xP[0],a)};_.g.nRa=function(a){return _.Mk(this,11,xP[0],a)};
_.g.z7a=function(){return _.A(this,qVc,10)};_.g.o2a=function(){return _.A(this,nVc,15)};_.g.ERa=function(a){return _.Mk(this,15,xP[0],a)};_.g.p2a=function(){return _.A(this,lVc,14)};_.g.FRa=function(a){return _.Mk(this,14,xP[0],a)};_.g.RRa=function(a){return _.Mk(this,9,xP[0],a)};_.g.q2a=function(){return _.A(this,oVc,8)};_.g.g7=function(a){return _.Mk(this,8,xP[0],a)};_.g.r2a=function(){return _.A(this,vVc,18)};_.g.mha=function(a){return _.Mk(this,18,xP[0],a)};
_.g.VRa=function(a){return _.Mk(this,17,xP[0],a)};var yVc=[5,7,9],zVc=function(a){_.Q(this,a,0,-1,yVc,null)};_.N(zVc,_.I);_.g=zVc.prototype;_.g.getUser=function(){return _.A(this,_.ql,1)};_.g.$x=function(a){_.w(this,2,a)};_.g.setBooleanValue=function(a){return _.w(this,3,a)};_.g.setTextValue=function(a){return _.w(this,4,a)};_.g.h7=function(a){return _.w(this,5,a||[])};_.g.addTextValues=function(a,b){return _.Ik(this,5,a,b)};_.g.LGa=function(){return _.x(this,6)};
_.g.setSelectionValue=function(a){return _.w(this,6,a)};_.g.kpa=function(){return _.ad(this,7)};_.g.f7=function(a){return _.w(this,7,a||[])};_.g.addSelectionValues=function(a,b){return _.Ik(this,7,a,b)};_.g.setIntegerValue=function(a){return _.w(this,8,a)};_.g.U6=function(a){return _.w(this,9,a||[])};_.g.addIntegerValues=function(a,b){return _.Ik(this,9,a,b)};var AVc=[7,10,12,16,13,3],zP=function(a){_.Q(this,a,0,-1,AVc,null)};_.N(zP,_.I);var AP=function(a){return _.x(a,4)};_.g=zP.prototype;
_.g.$x=function(a){_.w(this,4,a)};_.g.setBooleanValue=function(a){return _.w(this,5,a)};_.g.j2a=function(){return _.x(this,6)};_.g.setTextValue=function(a){return _.w(this,6,a)};_.g.h7=function(a){return _.w(this,7,a||[])};_.g.addTextValues=function(a,b){return _.Ik(this,7,a,b)};_.g.i2a=function(){return _.x(this,8)};_.g.setLongTextValue=function(a){return _.w(this,8,a)};_.g.LGa=function(){return _.x(this,9)};_.g.setSelectionValue=function(a){return _.w(this,9,a)};
_.g.kpa=function(){return _.ad(this,10)};_.g.f7=function(a){return _.w(this,10,a||[])};_.g.addSelectionValues=function(a,b){return _.Ik(this,10,a,b)};_.g.h2a=function(){return _.x(this,11)};_.g.setIntegerValue=function(a){return _.w(this,11,a)};_.g.U6=function(a){return _.w(this,12,a||[])};_.g.addIntegerValues=function(a,b){return _.Ik(this,12,a,b)};_.g.j8a=function(){return _.A(this,_.ql,15)};_.g.setUserValue=function(a){return _.H(this,15,a)};_.g.XGa=function(){return _.Kk(this,_.ql,16)};
var BVc=function(a,b){_.Nk(a,16,b)};zP.prototype.addUserValues=function(a,b){return _.Ok(this,16,a,_.ql,b)};zP.prototype.V=function(){return _.x(this,17)};zP.prototype.setDateStringValue=function(a){return _.w(this,17,a)};zP.prototype.W=function(){return _.sk(this,17)};var CVc=function(a,b){_.Nk(a,13,b)};zP.prototype.getId=function(){return _.x(this,14)};zP.prototype.Wb=function(a){return _.w(this,14,a)};zP.prototype.getName=function(){return _.x(this,1)};
zP.prototype.Wc=function(a){return _.w(this,1,a)};var DVc=[2],BP=function(a){_.Q(this,a,0,-1,DVc,null)};_.N(BP,_.I);BP.prototype.getName=function(){return _.x(this,1)};BP.prototype.Wc=function(a){return _.w(this,1,a)};BP.prototype.V=function(){return _.Kk(this,zP,2)};var EVc=function(a,b){_.Nk(a,2,b)};BP.prototype.Lc=function(){return _.x(this,3)};var FVc=function(a,b){return _.w(a,3,b)},GVc=[5],HVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(HVc,_.I);_.g=HVc.prototype;
_.g.fI=function(){return _.D(this,1)};_.g.rW=function(){return _.sk(this,1)};_.g.D2a=function(){return _.D(this,2)};_.g.Y6a=function(){return _.D(this,3)};_.g.E2a=function(){return _.D(this,4)};var CP=function(a){_.Q(this,a,0,-1,GVc,null)};_.N(CP,_.I);CP.prototype.getName=function(){return _.x(this,1)};CP.prototype.Wc=function(a){return _.w(this,1,a)};CP.prototype.Ml=function(){return _.x(this,2)};var IVc=function(a,b){return _.w(a,2,b)};CP.prototype.W=function(){return _.x(this,14)};
var JVc=function(a,b){return _.w(a,14,b)};_.g=CP.prototype;_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.wg=function(){return _.x(this,4)};_.g.wm=function(a){return _.w(this,4,a)};_.g.hm=function(){return _.Kk(this,xVc,5)};var KVc=function(a,b){_.Nk(a,5,b)},LVc=function(a,b){_.H(a,6,b)},MVc=function(a,b){_.H(a,7,b)},NVc=function(a,b){_.H(a,8,b)};CP.prototype.V=function(){return _.A(this,fVc,12)};var OVc=function(a,b){_.H(a,12,b)};
CP.prototype.getCapabilities=function(){return _.A(this,HVc,13)};CP.prototype.In=function(a){return _.H(this,13,a)};var PVc={ANb:0,EHb:1,MIb:2,AIb:3,BGb:4,gBb:5,FHb:6,BIb:7,JFb:8,uBb:9,yIb:10},DP=function(){this.H={};this.ha=6;this.V=null};DP.prototype.Ib=function(){return this.ha};DP.prototype.Dc=function(a){this.ha=a};DP.prototype.xf=function(){return this.V};var QVc=function(a,b){a.V=b};DP.prototype.Ht=function(){return this.H};var RVc=function(a,b){a.H=b};
DP.prototype.wc=function(a){var b=[];_.tf(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})};SVc=function(a,b,c){c=JSON.parse(c);a.Dc(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};_.cP=function(){DP.apply(this,arguments)};_.K(_.cP,DP);var TVc=function(){DP.apply(this,arguments)};_.K(TVc,DP);var UVc=function(a){_.Q(this,a,0,-1,null,null)};_.N(UVc,_.I);UVc.prototype.getType=function(){return _.x(this,1)};
var VVc=function(a){var b=new UVc;return _.w(b,1,a)},WVc=function(a,b){return _.H(a,2,b)};UVc.prototype.Hv=function(){return _.x(this,3)};UVc.prototype.gw=function(a){return _.w(this,3,a)};UVc.prototype.oh=function(){return _.x(this,4)};UVc.prototype.setPosition=function(a){return _.w(this,4,a)};var XVc=[2],YVc=function(a){_.Q(this,a,0,-1,XVc,null)};_.N(YVc,_.I);YVc.prototype.Ib=function(){return _.x(this,1)};YVc.prototype.Dc=function(a){return _.w(this,1,a)};
var ZVc=[2],EP=function(a){_.Q(this,a,0,-1,ZVc,null)};_.N(EP,_.I);EP.prototype.Ib=function(){return _.x(this,1)};EP.prototype.Dc=function(a){return _.w(this,1,a)};EP.prototype.V=function(){return _.Kk(this,BP,2)};var $Vc=function(a,b){return _.Nk(a,2,b)};EP.prototype.Lj=function(){return _.x(this,3)};var aWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(aWc,_.I);aWc.prototype.Ib=function(){return _.x(this,1)};aWc.prototype.Dc=function(a){return _.w(this,1,a)};
aWc.prototype.t2=function(){return _.A(this,_.Dl,2)};bWc=function(a,b){return _.H(a,2,b)};cWc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};dWc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,oe:a.c,eba:a.fi,m0:a.dti,lU:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,Naa:b.ec}}):void 0}};eWc=function(a,b){return new _.aHc(_.bHc.bound(a,b,void 0,void 0))};
fWc=function(){var a=new _.li,b=_.oHc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Jd(_.IM(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.gWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.gWc,_.I);_.gWc.prototype.nq=function(){return _.x(this,1)};_.gWc.prototype.setSize=function(a){return _.w(this,2,a)};_.gWc.prototype.getUrl=function(){return _.x(this,3)};_.hWc=function(a){_.Q(this,a,0,-1,null,null)};
_.N(_.hWc,_.I);_.hWc.prototype.getType=function(){return _.x(this,1)};iWc=[2,3];_.jWc=function(a){_.Q(this,a,0,-1,iWc,null)};_.N(_.jWc,_.I);kWc=[4,5,6,17,18,24];_.FP=function(a){_.Q(this,a,0,-1,kWc,null)};_.N(_.FP,_.I);_.FP.prototype.getId=function(){return _.x(this,1)};_.FP.prototype.Wb=function(a){return _.w(this,1,a)};_.FP.prototype.getName=function(){return _.x(this,2)};_.FP.prototype.Wc=function(a){return _.w(this,2,a)};
var lWc=function(a,b){return _.w(a,4,b||[])},mWc=function(a,b){return _.w(a,5,b||[])};_.FP.prototype.$V=function(){return _.D(this,11)};_.FP.prototype.getType=function(){return _.x(this,23)};_.FP.prototype.lm=function(){return _.D(this,33)};var nWc=[3],GP=function(a){_.Q(this,a,0,-1,nWc,null)};_.N(GP,_.I);GP.prototype.V=function(){return _.x(this,1)};var oWc=function(a,b){return _.w(a,1,b)};GP.prototype.getTitle=function(){return _.x(this,2)};GP.prototype.setTitle=function(a){return _.w(this,2,a)};
GP.prototype.Id=function(){return _.Kk(this,_.Dl,3)};var pWc=function(a,b){return _.Nk(a,3,b)};GP.prototype.tg=function(a,b){return _.Ok(this,3,a,_.Dl,b)};GP.prototype.ma=function(){return _.x(this,4)};var qWc=function(a,b){return _.w(a,4,b)};GP.prototype.W=function(){return _.A(this,_.rl,5)};var rWc=function(a,b){return _.H(a,5,b)},GRc=function(a){_.Q(this,a,0,-1,null,null)};_.N(GRc,_.I);_.UN=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.UN,_.I);
_.UN.prototype.De=function(){return _.A(this,_.He,1)};var sWc=function(){var a=new _.UN,b=_.Ie(new _.He,301);return _.H(a,1,b)};_.UN.prototype.Bc=function(){return _.x(this,3)};var tWc=[2],HP=function(a){_.Q(this,a,0,-1,tWc,null)};_.N(HP,_.I);HP.prototype.Ib=function(){return _.x(this,1)};HP.prototype.Dc=function(a){return _.w(this,1,a)};HP.prototype.Cj=function(){return _.Kk(this,GP,2)};var uWc=function(a,b){return _.Nk(a,2,b)};HP.prototype.getSessionId=function(){return _.A(this,_.Cm,3)};
HP.prototype.setSessionId=function(a){return _.H(this,3,a)};_.EKc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.EKc,_.I);_.EKc.prototype.Bc=function(){return _.x(this,1)};_.eP=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.eP,_.I);_.g=_.eP.prototype;_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.sP=function(){return _.xk(this,2,_.jD)};_.g.Lj=function(){return _.x(this,3)};_.g.xf=function(){return _.x(this,5)};
var vWc=function(a,b){_.w(a,5,b)},wWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(wWc,_.I);wWc.prototype.wg=function(){return _.C(this,1,"")};wWc.prototype.wm=function(a){return _.Ck(this,1,a)};wWc.prototype.getUrl=function(){return _.C(this,2,"")};_.xWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.xWc,_.I);_.xWc.prototype.getType=function(){return _.C(this,1,0)};_.xWc.prototype.getContext=function(){return _.A(this,wWc,2)};_.xWc.prototype.Ej=function(a){return _.H(this,2,a)};yWc=[1];zWc=[2];
_.AWc=function(a){_.Q(this,a,0,-1,zWc,null)};_.N(_.AWc,_.I);_.AWc.prototype.getLabel=function(){return _.C(this,1,"")};_.AWc.prototype.Cd=function(a){return _.Ck(this,1,a)};_.BWc=function(a){_.Q(this,a,0,-1,yWc,null)};_.N(_.BWc,_.I);_.CWc=[[2,3,4]];_.IP=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.IP,_.I);_.IP.prototype.Hf=function(){return _.C(this,3,"")};_.IP.prototype.Jn=function(a){return _.Ck(this,4,a)};_.DWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.DWc,_.I);
_.EWc=function(a){_.Q(this,a,0,-1,null,_.CWc)};_.N(_.EWc,_.I);var FWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(FWc,_.I);GWc=[3,5];_.JP=[[8,9,10,11,12,13]];HWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(HWc,_.I);var IWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(IWc,_.I);_.JWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.JWc,_.I);_.KWc=function(a){_.Q(this,a,0,-1,GWc,_.JP)};_.N(_.KWc,_.I);_.KWc.prototype.Ib=function(){return _.C(this,6,0)};_.KWc.prototype.Dc=function(a){return _.Hk(this,6,a)};
var LWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(LWc,_.I);var MWc=[1],NWc=function(a){_.Q(this,a,0,-1,MWc,null)};_.N(NWc,_.I);var OWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(OWc,_.I);var PWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(PWc,_.I);QWc=[7];_.RWc=[[1,2,3]];_.SWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.SWc,_.I);_.TWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.TWc,_.I);_.UWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.UWc,_.I);_.VWc=function(a){_.Q(this,a,0,-1,QWc,_.RWc)};
_.N(_.VWc,_.I);_.WWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.WWc,_.I);_.WWc.prototype.getName=function(){return _.C(this,1,"")};_.WWc.prototype.Wc=function(a){return _.Ck(this,1,a)};var XWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(XWc,_.I);XWc.prototype.getName=function(){return _.C(this,1,"")};XWc.prototype.Wc=function(a){return _.Ck(this,1,a)};XWc.prototype.getTitle=function(){return _.C(this,2,"")};XWc.prototype.setTitle=function(a){return _.Ck(this,2,a)};
var YWc=function(a){_.Q(this,a,0,-1,null,null)};_.N(YWc,_.I);YWc.prototype.getName=function(){return _.C(this,1,"")};YWc.prototype.Wc=function(a){return _.Ck(this,1,a)};YWc.prototype.getTitle=function(){return _.C(this,2,"")};YWc.prototype.setTitle=function(a){return _.Ck(this,2,a)};var ZWc=[[1,4]],$Wc=function(a){_.Q(this,a,0,-1,null,ZWc)};_.N($Wc,_.I);$Wc.prototype.getUser=function(){return _.A(this,_.EWc,1)};$Wc.prototype.W=function(){return _.sk(this,4)};
$Wc.prototype.t2=function(){return _.A(this,YWc,2)};var aXc=[[8,9,10]],bXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(bXc,_.I);_.cXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.cXc,_.I);_.cXc.prototype.getType=function(){return _.C(this,6,0)};_.dXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.dXc,_.I);var eXc=function(a){_.Q(this,a,0,-1,null,aXc)};_.N(eXc,_.I);_.g=eXc.prototype;_.g.getName=function(){return _.C(this,1,"")};_.g.Wc=function(a){return _.Ck(this,1,a)};
_.g.getTitle=function(){return _.C(this,2,"")};_.g.setTitle=function(a){return _.Ck(this,2,a)};_.g.Zb=function(){return _.C(this,6,"")};_.g.WL=function(){return _.A(this,$Wc,7)};var fXc=[[8,9,10]],gXc=function(a){_.Q(this,a,0,-1,null,fXc)};_.N(gXc,_.I);gXc.prototype.getName=function(){return _.C(this,1,"")};gXc.prototype.Wc=function(a){return _.Ck(this,1,a)};gXc.prototype.getTitle=function(){return _.C(this,2,"")};gXc.prototype.setTitle=function(a){return _.Ck(this,2,a)};hXc=[[1,3]];
_.KP=function(a){_.Q(this,a,0,-1,null,hXc)};_.N(_.KP,_.I);_.KP.prototype.V=function(){return _.A(this,gXc,1)};_.KP.prototype.W=function(){return _.sk(this,3)};_.KP.prototype.t2=function(){return _.A(this,YWc,2)};_.iXc=[[1,2,3]];jXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(jXc,_.I);var kXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(kXc,_.I);_.lXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.lXc,_.I);_.mXc=function(a){_.Q(this,a,0,-1,null,_.iXc)};_.N(_.mXc,_.I);nXc=[2,3];
_.oXc=function(a){_.Q(this,a,0,-1,nXc,null)};_.N(_.oXc,_.I);_.oXc.prototype.getType=function(){return _.C(this,1,0)};_.pXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.pXc,_.I);_.pXc.prototype.getType=function(){return _.C(this,1,0)};var qXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(qXc,_.I);qXc.prototype.getType=function(){return _.C(this,1,0)};var rXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(rXc,_.I);var sXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(sXc,_.I);
var tXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(tXc,_.I);uXc=[1,2,4];_.vXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.vXc,_.I);_.wXc=function(a){_.Q(this,a,0,-1,uXc,null)};_.N(_.wXc,_.I);_.LP=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.LP,_.I);_.LP.prototype.getEmail=function(){return _.C(this,1,"")};_.LP.prototype.getTitle=function(){return _.C(this,2,"")};_.LP.prototype.setTitle=function(a){return _.Ck(this,2,a)};_.MP=[[2,3,4,5]];_.NP=function(a){_.Q(this,a,0,-1,null,_.MP)};_.N(_.NP,_.I);
_.NP.prototype.$g=function(){return _.C(this,1,0)};_.NP.prototype.getUser=function(){return _.A(this,_.EWc,2)};var xXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(xXc,_.I);yXc=[1,2,3,4];_.zXc=function(a){_.Q(this,a,0,-1,yXc,null)};_.N(_.zXc,_.I);var AXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(AXc,_.I);var BXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(BXc,_.I);_.CXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.CXc,_.I);_.DXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.DXc,_.I);
_.DXc.prototype.getType=function(){return _.C(this,1,0)};EXc=[1];_.FXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.FXc,_.I);_.FXc.prototype.getFeature=function(){return _.C(this,1,0)};_.GXc=function(a){_.Q(this,a,0,-1,EXc,null)};_.N(_.GXc,_.I);var HXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(HXc,_.I);var IXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(IXc,_.I);var JXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(JXc,_.I);JXc.prototype.getType=function(){return _.C(this,1,0)};
_.OP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.KXc=function(a){_.Q(this,a,0,-1,null,_.OP)};_.N(_.KXc,_.I);_.LXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.LXc,_.I);var MXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(MXc,_.I);_.NXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.NXc,_.I);_.OXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.OXc,_.I);_.OXc.prototype.getType=function(){return _.C(this,1,0)};_.PXc=[[1,2,3,4,5]];_.QXc=function(a){_.Q(this,a,0,-1,null,_.PXc)};_.N(_.QXc,_.I);
_.QXc.prototype.getUser=function(){return _.A(this,_.EWc,1)};var RXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(RXc,_.I);RXc.prototype.getType=function(){return _.C(this,2,0)};_.SXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.SXc,_.I);_.g=_.SXc.prototype;_.g.getName=function(){return _.C(this,1,"")};_.g.Wc=function(a){return _.Ck(this,1,a)};_.g.getTitle=function(){return _.C(this,2,"")};_.g.setTitle=function(a){return _.Ck(this,2,a)};_.g.Wa=function(){return _.A(this,eXc,3)};
_.TXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.TXc,_.I);_.TXc.prototype.getParent=function(){return _.A(this,eXc,4)};_.TXc.prototype.Lg=function(a){return _.H(this,4,a)};var UXc=function(a){_.Q(this,a,0,-1,null,null)};_.N(UXc,_.I);_.g=UXc.prototype;_.g.getName=function(){return _.C(this,1,"")};_.g.Wc=function(a){return _.Ck(this,1,a)};_.g.getTitle=function(){return _.C(this,2,"")};_.g.setTitle=function(a){return _.Ck(this,2,a)};_.g.Wa=function(){return _.A(this,eXc,3)};_.VXc=[[1,5,3]];
_.PP=function(a){_.Q(this,a,0,-1,null,_.VXc)};_.N(_.PP,_.I);_.PP.prototype.V=function(){return _.A(this,eXc,1)};_.PP.prototype.W=function(){return _.sk(this,5)};_.PP.prototype.t2=function(){return _.A(this,UXc,2)};_.QP=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.QP,_.I);_.QP.prototype.Op=function(){return _.A(this,_.Ty,2)};_.QP.prototype.qC=function(a){_.H(this,2,a)};WXc=[[5,6]];_.XXc=function(a){_.Q(this,a,0,-1,null,WXc)};_.N(_.XXc,_.I);_.XXc.prototype.xh=function(){return _.A(this,RXc,2)};
_.XXc.prototype.V=function(a){_.Mk(this,5,WXc[0],a)};YXc=[3,4,5];ZXc=[[6,7]];_.RP=function(a){_.Q(this,a,0,-1,YXc,ZXc)};_.N(_.RP,_.I);_.RP.prototype.lka=function(a){_.Ok(this,4,a,_.XXc,void 0)};_.RP.prototype.V=function(a){_.Mk(this,6,ZXc[0],a)};var $Xc=[1],oRc=function(a){_.Q(this,a,0,-1,$Xc,null)};_.N(oRc,_.I);var nRc=[[1,2,3,4,5,6,7]],mRc=function(a){_.Q(this,a,0,-1,null,nRc)};_.N(mRc,_.I);var SP=function(a){_.Q(this,a,0,-1,null,null)};_.N(SP,_.I);
SP.prototype.getQuery=function(){return _.A(this,_.re,1,1)};var aYc=function(a,b){return _.H(a,1,b)};SP.prototype.Tn=function(){return _.x(this,4)};var bYc=function(a,b){return _.H(a,5,b)},cYc=[1,2,5,7,9,10,12],TP=function(a){_.Q(this,a,0,-1,cYc,null)};_.N(TP,_.I);TP.prototype.Id=function(){return _.Kk(this,_.Dl,1)};var dYc=function(a,b){return _.Nk(a,1,b)};TP.prototype.tg=function(a,b){return _.Ok(this,1,a,_.Dl,b)};TP.prototype.YL=function(){return _.Kk(this,_.ql,2)};
var eYc=function(a,b){_.Nk(a,2,b)};TP.prototype.L9=function(a){_.Ok(this,2,a,_.ql,void 0)};TP.prototype.Hz=function(){return _.x(this,3)};var fYc=function(a,b){return _.w(a,3,b)};TP.prototype.Mr=function(){return _.x(this,4)};var gYc=function(a,b){return _.w(a,4,b)},hYc=function(a,b){return _.Nk(a,5,b)},iYc=function(a,b){return _.w(a,6,b)};TP.prototype.Jg=function(){return _.A(this,_.uD,8)};TP.prototype.ny=function(){return _.Kk(this,_.qp,9)};TP.prototype.yi=function(){return _.ad(this,12)};
var jYc=function(a,b){return _.w(a,12,b||[])},kYc=function(a,b){return _.w(a,13,b)},lYc={xBb:0,wBb:1,UGb:2,MMb:3,PMb:4},mP=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],kRc=function(a){_.Q(this,a,0,-1,null,mP)};_.N(kRc,_.I);var rRc=[[1,2]],qRc=function(a){_.Q(this,a,0,-1,null,rRc)};_.N(qRc,_.I);var uRc=[[1,2,3]],tRc=function(a){_.Q(this,a,0,-1,null,uRc)};_.N(tRc,_.I);var mYc=[1],nYc=function(a){_.Q(this,a,0,-1,mYc,null)};_.N(nYc,_.I);nYc.prototype.Gv=function(){return _.C(this,2,"")};
var oYc={rCb:"wb",qNb:"xb",aIb:"yb",aWa:"zb"},pYc=function(a,b){return 0<=b?!a||a<=b:!0},qYc=function(a,b){return 1<a?2==b:a==b},rYc=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("Ze");},UP=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=UP.prototype;_.g.clone=function(){return new UP(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};_.g.qc=function(){return this.H};
_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.FS=function(a){this.V=a};_.g.Hz=function(){return this.ha};_.g.equals=function(a){return this.H==a.qc()&&this.V==a.V&&this.ha==a.Hz()&&_.Qk(this.W,a.getItem())};var sYc=function(a){_.O.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.K(sYc,_.O);
var VP=function(a,b,c){if(a.ha)throw Error("$e");c={hn:_.Hf(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)}},WP=function(a,b){if(!a.ha)throw Error("af");if(!a.ka)throw Error("bf`"+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.hn[b];if(_.Bf(e.hn))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};sYc.prototype.H=function(a){return!!this.ma[a]};sYc.prototype.start=function(){this.ha=!0};sYc.prototype.Ya=function(){_.O.prototype.Ya.call(this);delete this.V};_.fP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.uKc=function(a){this.H=a};tYc=function(){};uYc=function(a){this.H=a};_.vKc=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.qx=f;this.ha=h;this.V=k};
_.hP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.DKc=function(a,b){this.request=a;this.pageToken=b||""};vYc=function(a){this.pageToken=a||""};wYc=function(){};_.GKc=function(a,b){this.request=a;this.pageToken=b||""};_.iP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.cQc=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.gP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.ha=c||!1;this.H=void 0===d?0:d};xYc=function(a){_.gP.call(this,a,void 0,void 0,void 0);this.V=new _.ho};_.K(xYc,_.gP);
var yYc=function(a,b){this.response=a;this.pageToken=b||""},eRc=function(){var a=_.m.Intl;return!(!a||!a.Collator)},zYc=function(a,b){return eRc()?(new _.m.Intl.Collator([a||"fr"],b||{})).compare:function(c,d){return c.localeCompare(d)}},AYc=function(a){return[].concat(_.oc(new Set(a.map(function(b){return _.AIc.get(b)}).filter(function(b){return b})))).join(",")},XP=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.oc(b));b=AYc(b);var d=_.QM(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":
_.y(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";_.y(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("+XP(a,b,!1)+")"},CYc=function(a){var b=new _.uq;_.NO(b,"hidden",a.lm());(a=_.D(a,6))&&_.NO(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=eRc(),c={};b&&(c.numeric=b);this.H=zYc(a,c)};EYc.prototype.compare=function(a,b,c){b=FYc(b);c=FYc(c);a=a.ae();var d=DYc(a);if(a&&d){d=GYc(this,a);var e=4==a.getType()?this.H:_.Ba;return HYc(a,d,e,b,c)}return _.Ba(b.getId(),c.getId())};EYc.prototype.sort=function(a,b,c){a=a.ae();var d=DYc(a);a&&d&&(d=GYc(this,a),d=IYc(b,d),_.Da(b,JYc(this,a,d)));c&&0<c&&_.wa(b,c,b.length-c)};
var FYc=function(a){return a instanceof _.Dl?a:a.getItem()},GYc=function(a,b){b=DYc(b);return _.L(a.V,a,b,_.Ba)},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:_.Ba;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.Kh()?1:-1;if(_.D(a,3)){a=_.rN(d,!0);var h=_.rN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ba(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.Zb()||"";case 4:return b.xz()||!1;case 12:return b.wz()||0;case 11:return b.BB()||0;case 10:return b.Er()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Ww()||0;case 57:return _.x(b,62)||0;case 32:return b.qB()||0;case 9:return b.dD()||0;case 67:return b.aM()||0;case 98:return b.lD()||0;default:return""}},LYc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.EM(b.nf());this.W="";a=_.PM(b);this.ka=
!(!a||!_.y(a,1,!1))},YP=function(a,b,c){b=_.Rk(b);"root"==b.getId()&&b.Wb(a.W);_.vO(b).filter(function(d){return"root"==d.kb()}).forEach(function(d){return d.Rb(a.W)});_.ze(b,_.uO(b).map(function(d){d.Rb(d.kb().toLowerCase());return d}));c&&_.Tl(b,a.V);b.yi().sort();return b},ZP=function(a,b,c){if(b instanceof _.re){b=YP(a,b);var d=_.oNc(b)}else if(b instanceof _.mp)d=b.nm().sort().join(","),_.y(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.EO)return d=CYc(b),d+"|tdList";if(b instanceof _.up)return d=
b.nm().sort().join(","),b.yi().length&&(d+="|"+AYc(b.yi())),d+"|tdMap";throw Error("ff");}return 3==c?d:d+"|"+MYc(a,b.yi(),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(_.oc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.pN({fields:[].concat(_.oc(f)),Qx:a.H}));e.size&&(d=d+" + "+_.pN({fields:[].concat(_.oc(e)),Qx:a.H}));
return d};LYc.prototype.equals=function(a,b,c){var d;c&&(d=3);return ZP(this,a,d)==ZP(this,b,d)};
var NYc=function(a){if(!a.nm().every(function(b){return!_.Ec(b)}))throw new _.sb("Invalid ids for FindByIdsRequest");},PYc=function(a,b,c){if(_.MN(b))throw new _.sb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");OYc(a,b,c)},OYc=function(a,b,c){var d=_.lN(3);if(b.getId())throw new _.sb("Use findByIds() for find by id queries.",d);if(!b.Qh()||0>=b.Qh())throw new _.sb("A positive limit is required on an ItemQueryRequest.",d);_.ad(b,33);a.ka&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),QYc(a,d,b.yi()));if(c=(c=b.ae())&&DYc(c))d=b.yi().length?b.yi():a.V,QYc(a,d,c);if(_.LN(b)){if(a.H)throw new _.sb("User must be authenticated for a Quick Access request.");if(!RYc(a)&&20<b.Qh())throw new _.sb("Limit must be in the range [1, 20].");c=2==_.wO(b);d=_.ad(b,33).length;if(c&&1!=d||d&&!c)throw new _.sb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.ze(_.w(_.w(_.w(_.iN(_.w(_.Ul(_.Tl(b.clone(),[]),void 0),32,void 0),
[]),45,void 0),47,void 0),48,void 0),[]);d=new _.re;if(!_.Qk(c,d))throw new _.sb("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: "+TUc(d,c));}if(_.NN(b)){if(a.H)throw new _.sb("User must be authenticated for a DrivePriority request.");if(2==_.wO(b))throw new _.sb("Team Drive corpora is not valid for a Drive Priority request.");a=_.w(_.w(_.w(_.Ul(_.Tl(b.clone(),[]),void 0),32,
void 0),45,void 0),52,void 0);b=new _.re;if(!_.Qk(a,b))throw new _.sb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+TUc(b,a));}},SYc=function(a,b,c){if(!_.MN(b))throw new _.sb("Expected a PeoplePredict request.");OYc(a,b,c);if(a.H)throw new _.sb("User must be authenticated for a People Predict request.");if(2==_.wO(b))throw new _.sb("Team Drive corpora is not valid for a People Predict request.");
a=_.w(_.w(_.w(_.Ul(_.Tl(b.clone(),[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.re;if(!_.Qk(a,b))throw new _.sb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+TUc(b,a));},QYc=function(a,b,c){var d=_.lN(3);if(!TQc(b,c,!0)){var e=_.pN({fields:c,Qx:a.H}),f=_.pN({fields:b,Qx:a.H});a=_.pN({fields:UQc(c,b),Qx:a.H});throw new _.sb("Requested field was not previously specified. Needed "+e+", but had "+
(f+". Missing: "+a+"."),d);}},RYc=function(a){return 200<=_.yO(a.ha)&&300>_.yO(a.ha)},TYc=function(a){var b=new Set;_.uO(a).forEach(function(c){switch(_.W_a(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(_.oc(b))},UYc=function(a){switch(_.yO(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.Aq=[]};_.K(VYc,_.PO);
VYc.prototype.add=function(a,b){var c=a.kt.request;return c instanceof _.eO&&_.x(c.request,12)?_.PO.prototype.add.call(this,a,b):!1};VYc.prototype.H=function(a){return this.Aq.splice(0,Math.min(a,1))};var WYc=function(a,b){this.Aq=[];this.V=b};_.K(WYc,_.PO);WYc.prototype.add=function(a,b){return a.kt.request instanceof _.eO?!1:_.PO.prototype.add.call(this,a,b)};
WYc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Aq.length&&b.length<a;f++){var h=this.Aq[f],k=h.kt.request;"undefined"!=typeof _.zN&&k instanceof _.zN||"undefined"!=typeof _.JN&&k instanceof _.JN||"undefined"!=typeof _.YN&&k instanceof _.YN?k="app|"+k.V():k instanceof _.uN||k instanceof _.vN||k instanceof _.BN||k instanceof _.RM?k="item|"+(k instanceof _.uN?k.Lc():k.getId()):"undefined"!=typeof _.CN&&k instanceof _.CN||"undefined"!=typeof _.KN&&k instanceof _.KN?k="item|"+k.Lc():
k instanceof _.DN||k instanceof _.$N?k="item|"+k.Lc():"undefined"!=typeof _.GE&&k instanceof _.GE||"undefined"!=typeof _.FE&&k instanceof _.FE?(k="undefined"!=typeof _.GE&&k instanceof _.GE?k.V().getKey():k.getKey(),k="pref|"+_.x(k,2)+"|"+_.rp(k)):k=k instanceof _.EN?"td|"+k.getId():null;var l=h.kt.request;if(l instanceof _.xN)l=!!_.D(l,8);else if(l instanceof _.vN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Zb()&&_.ubb.has(l.Zb()));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++)_.oa(this.Aq,c[a]);return b};var XYc=function(a){_.O.call(this);this.H=a};_.N(XYc,_.O);_.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.JJ=function(a){this.H.addCallback(function(b){b.JJ(a)})};_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};
_.g.Ya=function(){this.cancel();XYc.tb.Ya.call(this)};var gRc=function(a){_.NA.call(this);this.H=a;this.W=_.ud(this.H,"message",this.d1a,!1,this)};_.N(gRc,_.NA);_.g=gRc.prototype;_.g.le=null;_.g.send=function(a,b){var c=[];b=this.Gna(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.EIc&&(a=(0,_.Yi)(a));this.H.postMessage(a,c)};
_.g.d1a=function(a){a=a.jf;var b=a.data;if(_.EIc)try{b=JSON.parse(b)}catch(e){return}if(_.xa(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.Nqa(a.ports||[],b),d.Gua),null!=b&&d.callback(b))}};
_.g.Gna=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)?_.pe(b,(0,_.L)(this.Gna,this,a)):b&&b.constructor==Object?_.vf(b,function(c,d){c=this.Gna(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Nqa=function(a,b){return Array.isArray(b)?_.pe(b,(0,_.L)(this.Nqa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.vf(b,function(c,d){return this.Nqa(a,"_port"==d?c.val:c)},this):b};_.g.Ya=function(){_.Si(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;gRc.tb.Ya.call(this)};
var YYc=function(a,b){if("*"==b)return new XYc(_.si(Error("hf")));var c=new _.Ui(50),d=_.df(_.gc,c),e=new _.li(d);_.ni(e,d);c.start();_.ud(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new gRc(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){_.O.call(this);this.H=new _.FGc(a);this.W={};this.V=_.HGc(this.H,
"private");this.ha=_.HGc(this.H,"public");this.V.registerService("mics",(0,_.L)(this.zZa,this),!0)};_.N(ZYc,_.O);_.g=ZYc.prototype;_.g.Wmb=0;_.g.Ya=function(){_.gc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.Wmb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.zZa=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,_.L)(this.yZa,this,b),!0)};
_.g.yZa=function(a,b){a=a(b.data);var c=b.signature;_.bi(a).then((0,_.L)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var $Yc=function(a,b){_.O.call(this);this.W=new _.FGc(a);this.Na(this.W);this.H=new ZYc(_.HGc(this.W,"direct"));this.Na(this.H);a=_.HGc(this.W,"passthrough");this.ha=b?a:new ZYc(a);this.Na(this.ha);this.V=b;this.ka=!1};_.K($Yc,_.O);$Yc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
$Yc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.bf)};var $P=function(a,b,c){if(a.V)throw Error("jf");a.ha.registerService(b,c,!0)},aZc=function(a,b,c,d){if(a.V)throw Error("kf");a.ha.send(b,c||{},d||_.bf)};$Yc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("lf");};
var iRc=[],aQ=function(a){return a instanceof _.Dl?null!=a.getId()&&a.getId()==a.Bc():null!=a.Lc()&&a.Lc()==a.Bc()},bZc=function(a,b,c){c=void 0===c?[]:c;var d=_.Rk(a),e=b.Kk();null!=e&&VQc(a,_.Rk(e));if((e=b.getCapabilities())&&null!=_.D(e,13)){var f=a.getCapabilities()||new _.vl,h=_.D(e,13);_.w(f,13,h);a.In(f)}e&&null!=_.D(e,18)&&(f=a.getCapabilities()||new _.vl,h=_.D(e,18),_.w(f,18,h),a.In(f));e&&null!=_.D(e,51)&&(f=a.getCapabilities()||new _.vl,_.tLc(f,_.D(e,51)),a.In(f));kP(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.Kk()&&kP(a,d,c)},cZc=function(a,b,c){c=void 0===c?[]:c;if(!b||!aQ(a)&&!aQ(b))return a;if(2==lP(a)){c=_.x(a,82);var d=_.Rk(b);bZc(d,a);_.JLc(d,lP(b));_.cN(d,c);return d}a=_.Rk(a);bZc(a,b,c);return a},dZc=function(a){return(a=a?a.Kk():null)&&a.lm()||!1},eZc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;this.V={};this.ha=new Set},fZc=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]={}})},hZc=function(a,b,c){b.every(function(d){return aQ(d)})?gZc(b,c,a.V,a.ha):b.every(function(d){return!aQ(d)})&&gZc(b,c,a.H,a.W)},gZc=function(a,b,c,d){var e=_.gKc(b,[].concat(_.oc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];k&&kP(f,k,[h])})})};
eZc.prototype.update=function(a,b,c){b&&aQ(b)?iZc(a,b,this.V,this.ha,c):iZc(a,b,this.H,this.W,c)};var jZc=function(a,b){_.tf(a.H,function(c,d){_.Cf(a.H[d],b)});_.tf(a.V,function(c,d){_.Cf(a.V[d],b)})},iZc=function(a,b,c,d,e){_.tf(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.Cf(f,a);else if(b&&SQc(b,[h])){var k=new _.Dl;k.Wb(b.getId());kP(k,b,[h]);f[a]=k}});b&&OQc(b,[].concat(_.oc(d)))};
eZc.prototype.clear=function(){var a=this;_.tf(this.H,function(b,c){a.H[c]={}});_.tf(this.V,function(b,c){a.V[c]={}})};
var kZc=/^[\x00-\x7F]*$/,lZc=function(){this.H=""},nZc=function(a){return mZc(a)&&0==_.ad(a,40).length&&void 0==_.x(a,41)},mZc=function(a){var b=!0;_.Kk(a,_.ve,13).forEach(function(d){"me"!=d.kb()&&(b=!1)});var c=a.ae();c=!c||5!=c.getType();return 0==_.Kk(a,_.Pl,5).length&&0==_.Kk(a,_.ve,14).length&&0==_.Kk(a,_.ve,15).length&&!_.sk(a,58)&&!_.D(a,18)&&!_.D(a,34)&&0==_.Kk(a,_.sO,35).length&&0==_.Kk(a,_.sO,38).length&&c&&b&&0==_.ad(a,39).length&&!_.x(a,42)&&0==_.Kk(a,_.Kl,44).length&&!_.LN(a)&&!_.MN(a)&&
!_.NN(a)&&0==_.Kk(a,_.Ll,57).length&&oZc(a)&&!_.A(a,_.tna,59)},oZc=function(a){return _.Kk(a,_.Ql,4).every(function(b){return kZc.test(b.kb())})};lZc.prototype.Z0=function(a,b){var c=this;return b.filter(function(d){return pZc(c,a,d)})};
var pZc=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!aQ(c);if(d){d=!0;var e=_.Kk(b,_.Ql,4);if(oZc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.kb()){var k=_.y(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.kb().toLowerCase();if(2==_.x(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],t=!0;0!=(0,_.pf)(p).length&&(0==p.replace(/\./g,"").length&&(t=!1),p=!!l.match(new RegExp((t?"(\\b|^|_)":"")+_.Gg(p))),d=d&&(k?!p:p))}}}else d=!0}if(d){l=_.uO(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=_.y(n,2,!1),p=c.Zb(),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=_.Kk(b,_.Nl,7),e=_.v(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Er(),d=d&&qZc(k,f);if(d)for(d=!0,e=_.Kk(b,_.Nl,8),e=_.v(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.wz(),d=d&&qZc(k,f);d&&(d=b.Xh(),e=(e=_.wO(b))&&(2==e||3==e),d=null==d||d==!!c.Xh()&&(!d||1==c.tn()||e));d&&(d=null==_.D(b,10)||_.D(b,10)==!!c.xz());d&&(d=null==b.lm()||
b.lm()==!!c.lm());if(d)a:{d=_.vO(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.Pi().includes(f),_.y(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.Kk(b,_.ve,13);a=_.v(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.kb()&&(e=1==c.tn(),_.y(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.D(b,16)||(_.D(b,16)?null!=c.Ww():!0));a&&(a=_.D(b,17),d=(d=_.wO(b))&&(2==d||3==d),a=null==a||a==!!c.iF()&&(!a||1==c.tn()||d));a&&(a=wRc(c),a=null==_.D(b,
19)||_.D(b,19)==!!a.Lq());a&&(a=!0);if(a=a&&rZc(b,c)&&sZc(b,c))a=_.ad(b,33),a=!a.length||a.includes(c.Bc()||"");if(a=a&&tZc(b,c))_.x(b,41)?(a=_.A(c,_.pO,86),a=null!=a&&_.x(b,41)==_.x(a,3)):a=!0;if(a=a&&uZc(b,c))a=_.wO(b),1==a?(a=_.D(c,31),a=!!_.vO(b).length||!!_.Kk(b,_.sO,35).length||1==_.D(b,18)||_.LN(b)||_.MN(b)||_.NN(b)||!!_.x(b,54)||null==a||a):a=2==a?!!c.Bc():!0;a&&(a=_.LN(b)?!!_.Hl(c)&&!c.Xh():!0);a&&(a=_.MN(b)?!!_.Il(c).length&&!c.Xh():!0);a&&(a=_.NN(b)?!!c.CL().length&&!c.Xh():!0);a&&(a=_.sk(b,
50)?_.y(b,50,!1)?_.sk(c,101)&&0!==_.x(c,101):!_.sk(c,101):!0);a&&(a=_.x(b,54),a=!a||_.ad(c,120).includes(a));a&&(b=_.D(b,60),a=null==b||_.D(c.getCapabilities()||new _.vl,50)==b);return a},qZc=function(a,b){if(null!=_.x(b,2))switch(_.x(b,1)){case 1:return a<=_.x(b,2);case 2:return a<_.x(b,2);case 3:return a==_.x(b,2);case 4:return a>_.x(b,2);case 5:return a>=_.x(b,2);default:return!1}return!0},rZc=function(a,b){var c=_.Hf(_.ad(b,56));a=_.Kk(a,_.tO,25);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},
sZc=function(a,b){if(0==a.Jv().length)return!0;var c=_.Hf(b.Jv().map(function(d){return _.x(d,1)}));a=_.Hf(a.Jv().map(function(d){return _.x(d,1)}));return _.wf(a,function(d,e){return c[e]})},tZc=function(a,b){var c=_.Hf(_.ad(b,50));a=_.Kk(a,_.Ol,37);return 0==a.length?!0:a.every(function(d){return c[d.kb()]})},uZc=function(a,b){if(_.ad(a,40).length){if(b=_.A(b,_.pO,86)){var c=_.Hf(_.ad(b,2));return _.ad(a,40).some(function(d){return c[d]})}return!1}return!0},vZc=function(a,b,c){var d=this;this.W=
b;this.ha=c;this.H={};this.V="";a.addCallback(function(e){d.V=e})};vZc.prototype.query=function(a,b){var c=this,d=[];nZc(a)&&(_.tf(this.H,function(e){pZc(c.W,a,e.getItem())&&(void 0===b||qYc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};vZc.prototype.get=function(a){return this.H[a]};vZc.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};
vZc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,wZc(this,a.H)?(_.Cf(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.Cf(this.H,a.id),a.V.H--)};
var wZc=function(a,b){return 1<b.qc()||qYc(b.V,2)||b.getItem().iF()||yRc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},xZc=function(a){_.tf(a.H,function(b){wZc(a,b)&&(_.Cf(a.H,b.getId()),b.H--)})},yZc=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(),hZc(a.ka,[b.getItem()],IUc(a.ha)),b):null};yZc.prototype.H=function(a){return(a=ORc(this,a))?a.getItem():null};
var zZc=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 _.vf(zZc(a,b),function(c){return c.getItem()})},BZc=function(a,b){b=YP(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};yZc.prototype.query=function(a){return BZc(this,a).map(function(b){return b.getItem()})};yZc.prototype.W=function(){return _.yf(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(_.El(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.EH(e));(d=c.Lp())&&b.add(d.getId()||_.EH(d));(d=c.XC())&&b.add(d.getId()||_.EH(d));(d=_.A(c,_.ql,91))&&b.add(d.getId()||_.EH(d));(c=c.mD())&&b.add(c.getId()||_.EH(c))}return b.size};
DZc=function(a){return _.A(a,_.BM,3)||_.A(a,_.fO,4)||_.A(a,_.VO,5)||_.A(a,_.aO,6)||_.A(a,_.EN,7)||_.A(a,_.xN,8)||_.A(a,_.BN,9)||_.A(a,_.RM,10)};EZc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};FZc=function(a){var b={};return b.parentId=a.Mj(),b};GZc=function(a){var b={};_.Ec(_.Jg(a.getTitle()))||(b.title=a.getTitle());_.pPc(b,_.ad(a,3));_.D(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!=_.x(a,3)&&(b.workspaceToken=_.x(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={};_.Ec(_.Jg(a.getTitle()))||(b.title=a.getTitle());null!=a.wg()&&(b.description=a.wg());null!=_.D(a,4)&&(c.starred=_.D(a,4));null!=a.Xh()&&(c.trashed=a.Xh());_.Ec(_.Jg(a.Zb()))||(b.mimeType=a.Zb());"number"===typeof _.x(a,7)&&(b.modifiedDate=_.VLc(_.aNc(_.x(a,7)||0)));null!=_.D(a,11)&&(c.restricted=_.D(a,11));_.yf(c)&&(b.labels=c);null!=a.Ji()&&(b.folderColor=a.Ji());null!=_.D(a,16)&&(b.subscribed=_.D(a,16));null!=_.D(a,40)&&(c={},b.linkShareMetadata=(c.securityUpdateEnabled=
_.D(a,40),c));if(c=_.A(a,_.Al,25)){b.contentRestrictions=[];var d={};null!=_.D(c,1)&&(d.readOnly=_.D(c,1));null!=_.x(c,2)&&(d.reason=_.x(c,2));b.contentRestrictions.push(d)}_.pPc(b,_.ad(a,8));return b};KZc=function(a){var b={};null!=a.Jt()&&(b.pinned=a.Jt());return b};
LZc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.x(a,3))b.backgroundImageId=_.x(a,3);else{var c=_.x(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.Hg)("0",6-c.length)+c);c=_.A(a,_.bUc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.x(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.x(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.x(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=_.UIc[a.getState()])&&(b.state=a);return b};NZc={DAb:0,ZAb:1,oGb:3,PNb:5,eWa:6};_.bQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.bQ,_.I);_.g=_.bQ.prototype;_.g.getType=function(){return _.x(this,1)};_.g.getId=function(){return _.x(this,2)};_.g.Wb=function(a){return _.w(this,2,a)};_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.w(this,3,a)};_.g.UDa=function(){return _.x(this,5)};
_.g.setSize=function(a){return _.w(this,5,a)};_.g.g2a=function(){return _.x(this,6)};_.OZc=function(a,b){return _.w(a,6,b)};_.bQ.prototype.wg=function(){return _.x(this,8)};_.bQ.prototype.wm=function(a){return _.w(this,8,a)};_.bQ.prototype.V=function(){return _.D(this,9)};_.PZc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.PZc,_.I);_.PZc.prototype.V=function(){return _.x(this,1)};var QZc=function(a){_.Q(this,a,0,-1,null,null)};_.N(QZc,_.I);QZc.prototype.V=function(){return _.D(this,1)};
QZc.prototype.W=function(){return _.x(this,2)};_.RZc=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.RZc,_.I);_.g=_.RZc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Wb=function(a){return _.w(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.w(this,2,a)};_.g.Rma=function(){return _.x(this,3)};_.g.lu=function(){return _.x(this,4)};_.g.E2=function(){return _.A(this,QZc,6)};_.g.R6a=function(){return _.A(this,_.PZc,7)};_.g.bGa=function(){return _.x(this,8)};
_.g.Qma=function(){return _.D(this,9)};var cQ=function(a,b){_.Li.call(this,"Ib");this.error=a;this.qG=b};_.K(cQ,_.Li);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)};_.N(SZc,_.pGc);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()};_.N(TZc,_.pGc);
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){_.Q(this,a,0,-1,null,null)};_.N(VZc,_.I);VZc.prototype.getId=function(){return _.x(this,1)};VZc.prototype.Wb=function(a){return _.w(this,1,a)};VZc.prototype.Vw=function(){return _.x(this,3)};
VZc.prototype.Me=function(){return _.x(this,4)};var WZc=[2,4],dQ=function(a){_.Q(this,a,0,-1,WZc,null)};_.N(dQ,_.I);dQ.prototype.Ib=function(){return _.x(this,1)};dQ.prototype.Dc=function(a){return _.w(this,1,a)};dQ.prototype.Lj=function(){return _.x(this,3)};var XZc=function(a){_.Q(this,a,0,-1,null,null)};_.N(XZc,_.I);var YZc=function(a){_.Q(this,a,0,-1,null,null)};_.N(YZc,_.I);YZc.prototype.Ib=function(){return _.x(this,1)};YZc.prototype.Dc=function(a){return _.w(this,1,a)};
var ZZc=[4,9],$Zc=function(a){_.Q(this,a,0,-1,ZZc,null)};_.N($Zc,_.I);_.g=$Zc.prototype;_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.vGa=function(){return _.x(this,2)};_.g.XDa=function(){return _.x(this,3)};_.g.r7a=function(){return _.Kk(this,_.VM,4)};var a_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(a_c,_.I);a_c.prototype.Rq=function(){return _.A(this,xUc,1)};a_c.prototype.Tn=function(){return _.x(this,2)};var eQ=function(a){_.Q(this,a,0,-1,null,null)};
_.N(eQ,_.I);eQ.prototype.Ib=function(){return _.x(this,1)};eQ.prototype.Dc=function(a){return _.w(this,1,a)};eQ.prototype.Lj=function(){return _.x(this,3)};var fQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(fQ,_.I);fQ.prototype.Ib=function(){return _.x(this,1)};fQ.prototype.Dc=function(a){return _.w(this,1,a)};fQ.prototype.i2=function(){return _.A(this,_.ql,2)};fQ.prototype.Lj=function(){return _.x(this,3)};var b_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(b_c,_.I);_.g=b_c.prototype;
_.g.Ib=function(){return _.x(this,1)};_.g.Dc=function(a){return _.w(this,1,a)};_.g.Lj=function(){return _.x(this,2)};_.g.YDa=function(){return _.A(this,_.qp,3)};_.g.getKey=function(){return _.A(this,_.Ua,4)};var c_c={BNb:0,wIb:1,zIb:2,OTHER:3,xIb:4},MRc=function(a){_.Q(this,a,0,-1,null,null)};_.N(MRc,_.I);MRc.prototype.getUrl=function(){return _.x(this,1)};var nP=function(a){_.Q(this,a,0,-1,null,null)};_.N(nP,_.I);var LRc=function(a,b){return _.w(a,1,b)};
nP.prototype.getName=function(){return _.x(this,2)};nP.prototype.Wc=function(a){return _.w(this,2,a)};nP.prototype.getEmail=function(){return _.x(this,3)};nP.prototype.Lv=function(){return _.sk(this,3)};var d_c=[1],e_c=function(a){_.Q(this,a,0,-1,d_c,null)};_.N(e_c,_.I);e_c.prototype.Rp=function(){return _.Kk(this,nP,1)};var f_c=function(a,b){return _.Nk(a,1,b)},g_c=[2],gQ=function(a){_.Q(this,a,0,-1,g_c,null)};_.N(gQ,_.I);gQ.prototype.Ib=function(){return _.x(this,1)};
gQ.prototype.Dc=function(a){return _.w(this,1,a)};gQ.prototype.Cj=function(){return _.Kk(this,_.jD,2)};var h_c=function(a,b){return _.Nk(a,2,b)};gQ.prototype.Lj=function(){return _.x(this,3)};var i_c=[[2,4,6,10],[3,5,7,8,9]],j_c=[1],k_c=function(a){_.Q(this,a,0,-1,null,i_c)};_.N(k_c,_.I);var l_c=function(a){_.Q(this,a,0,-1,j_c,null)};_.N(l_c,_.I);k_c.prototype.getKey=function(){return _.x(this,1)};var m_c=[2],hQ=function(a){_.Q(this,a,0,-1,m_c,null)};_.N(hQ,_.I);
hQ.prototype.Ib=function(){return _.x(this,1)};hQ.prototype.Dc=function(a){return _.w(this,1,a)};hQ.prototype.V=function(){return _.Kk(this,CP,2)};var n_c=function(a,b){return _.Nk(a,2,b)};hQ.prototype.Lj=function(){return _.x(this,3)};var o_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(o_c,_.I);o_c.prototype.Ib=function(){return _.x(this,1)};o_c.prototype.Dc=function(a){return _.w(this,1,a)};o_c.prototype.V=function(){return _.A(this,CP,2)};o_c.prototype.Lj=function(){return _.x(this,3)};
var p_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(p_c,_.I);p_c.prototype.Gv=function(){return _.x(this,2)};var q_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(q_c,_.I);_.g=q_c.prototype;_.g.Lc=function(){return _.x(this,1)};_.g.Ib=function(){return _.x(this,2)};_.g.Dc=function(a){return _.w(this,2,a)};_.g.getError=function(){return _.A(this,_.rb,3)};_.g.$e=function(a){return _.H(this,3,a)};_.g.Jm=function(){return _.sk(this,3)};_.iQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.iQ,_.I);
_.iQ.prototype.Ib=function(){return _.x(this,1)};_.iQ.prototype.Dc=function(a){return _.w(this,1,a)};_.iQ.prototype.Jg=function(){return _.A(this,_.uD,2)};_.r_c=function(a,b){return _.H(a,2,b)};_.iQ.prototype.Lj=function(){return _.x(this,3)};var s_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(s_c,_.I);var t_c=function(a,b){return _.w(a,1,b)},u_c=[1],v_c=function(a){_.Q(this,a,0,-1,u_c,null)};_.N(v_c,_.I);w_c=function(a,b){return _.w(a,1,b||[])};_.TRc=function(a){_.Q(this,a,0,-1,null,null)};
_.N(_.TRc,_.I);_.g=_.TRc.prototype;_.g.getItem=function(){return _.A(this,_.Dl,1)};_.g.setItem=function(a){return _.H(this,1,a)};_.g.getError=function(){return _.A(this,_.rb,2)};_.g.$e=function(a){return _.H(this,2,a)};_.g.Jm=function(){return _.sk(this,2)};_.g.Mq=function(){return _.x(this,4)};var x_c=[1],y_c=function(a){_.Q(this,a,0,-1,x_c,null)};_.N(y_c,_.I);var z_c=[2],A_c=function(a){_.Q(this,a,0,-1,z_c,null)};_.N(A_c,_.I);A_c.prototype.Ib=function(){return _.x(this,1)};
A_c.prototype.Dc=function(a){return _.w(this,1,a)};A_c.prototype.Lj=function(){return _.x(this,3)};var B_c=function(a){_.Q(this,a,0,-1,null,null)};_.N(B_c,_.I);var C_c=[1],D_c=function(a){_.Q(this,a,0,-1,C_c,null)};_.N(D_c,_.I);D_c.prototype.V=function(){return _.x(this,2)};var E_c=function(a,b){_.w(a,2,b)},F_c=function(a,b){this.V=a|0;this.H=b|0};F_c.prototype.equals=function(a){return this===a?!0:a instanceof F_c?this.V===a.V&&this.H===a.H:!1};
F_c.prototype.Cc=function(){return 31*this.V+17*this.H|0};
var G_c=function(a,b){return new F_c(a,b)},H_c=function(a,b){b=~b;a?a=~a+1:b+=1;return G_c(a,b)},I_c=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?H_c:G_c)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},J_c=function(){this.H=this.ha=this.V=this.W=null},K_c=function(a){var b=new _.dk;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.ek(b,1,1);var e=b.H;gSc(e,c);gSc(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.ek(b,2,1),e=b.H,gSc(e,c),gSc(e,d));c=a.ha;null!=c&&(_.ek(b,3,5),gSc(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.ek(b,4,1),d=b.H,gSc(d,c),gSc(d,a));return _.fk(b)};J_c.prototype.getExtension=function(){return null};
var L_c=function(a,b,c){this.id=a;this.V=b;this.H=c},M_c=function(a,b){return new L_c((a?a:b).getId(),a,b)},N_c=function(a,b){return new L_c(a.getId(),a,b)},jQ=function(a){return new L_c(a.getId(),null,a)},O_c={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},P_c={LIMITED:1,UNLIMITED:2,POOLED:3},CRc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},Q_c={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},ERc={JIb:0,qEb:1},R_c=function(a,b){this.V=a;this.H=b},T_c=function(a,b){_.WO(["drive#about"],
b);var c=new _.iQ,d=new _.uD;if(b.user){var e=_.XO(a.V,b.user);_.H(d,1,e)}a=S_c(a,b);a=UTc(TTc(_.STc(new _.tnb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.WTc(a,_.PTc(_.OTc((new _.tD).Dc(O_c[e.status]),Number(e.trialMillisRemaining)),_.YO(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.XTc(a,_.RTc(_.QTc(new _.snb,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&VTc(a,b.importFormats.map(function(f){var h=
new _.NTc;h=_.w(h,1,f.source);return _.w(h,2,f.targets||[])}));_.H(d,3,a);_.r_c(c,d);b=b.largestChangeId;null!=b&&_.w(c,4,Number(b));return c},S_c=function(a,b){var c=new _.rnb;c=_.w(c,1,Number(b.quotaBytesTotal));c=_.w(c,2,Number(b.quotaBytesUsed));c=_.w(c,3,Number(b.quotaBytesUsedAggregate));c=_.w(c,4,Number(b.quotaBytesUsedInTrash));c=_.HTc(_.GTc(c,DRc(b.quotaBytesByService||[])),P_c[b.quotaType]);if(_.y(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=_.w(a,9,d);a=_.KTc(a,Number(b.quotaBytesUsedAggregate));a=_.w(a,11,Number(b.quotaBytesUsedInTrash));a=_.w(a,13,_.cRc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.LTc(a,Q_c[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.oPb&&(a=new _.qnb,d=_.s4a(new Date(b.graceQuotaInfo.endDateMillis)),a=_.H(a,1,d),b=_.w(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),_.H(c,12,b));b=c}else b=c;return b},
U_c={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},V_c={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},W_c={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},X_c={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},Y_c={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},Z_c={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},$_c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},a0c=
{SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},b0c={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},c0c={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},d0c={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},e0c={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},f0c={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},g0c={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},h0c={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},i0c={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},j0c={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},k0c={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},l0c={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},m0c={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},n0c={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},o0c={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},p0c=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.r4a((new _.Ty).setSeconds(a),b)},q0c=function(a){var b=new _.QP;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=p0c(d);
_.H(b,1,c);break;case "endTime":b.qC(p0c(d))}}return b},r0c=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.Wc(d);break;case "title":b.setTitle(d)}}return b},s0c=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 "type":_.Hk(b,6,V_c[d])}}return b},t0c=function(a){var b=new _.dXc;
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":_.Ck(b,1,d);break;case "targetMimeType":_.Ck(b,2,d)}}return b},u0c=function(a){var b=new _.KP;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 gXc;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.Wc(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new bXc;_.Mk(e,8,fXc[0],f);break;case "driveFolder":e=s0c(f);_.Mk(c,9,fXc[0],e);break;case "driveShortcut":e=t0c(f),_.Mk(c,10,fXc[0],e)}}_.Mk(b,1,hXc[0],c);break;case "drive":c=r0c(d),_.Mk(b,3,hXc[0],c)}}return b},v0c=function(a){return a.map(function(b){return u0c(b)})},w0c=function(a){var b=new _.WWc;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.Wc(d);break;case "legacyId":_.Ck(b,3,d);break;case "audienceDisplayName":_.Ck(b,4,d)}}return b},kQ=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 "knownUser":c=new _.IP;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":_.Ck(c,1,f);break;case "isCurrentUser":_.Bk(c,2,f);
break;case "displayName":_.Ck(c,3,f);break;case "photoUrl":c.Jn(f)}}_.Mk(b,2,_.CWc[0],c);break;case "unknownUser":c=new FWc;_.Mk(b,4,_.CWc[0],c);break;case "deletedUser":c=new _.DWc,_.Mk(b,3,_.CWc[0],c)}}return b},x0c=function(a){return a.map(function(b){return kQ(b)})},y0c=function(a){var b=new _.QXc;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=kQ(d);_.Mk(b,1,_.PXc[0],c);break;case "anonymous":c=new MXc;
_.Mk(b,2,_.PXc[0],c);break;case "impersonation":c=new _.NXc;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=kQ(f),_.H(c,1,e)}}_.Mk(b,3,_.PXc[0],c);break;case "system":c=new _.OXc;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":_.Hk(c,1,W_c[f])}_.Mk(b,4,_.PXc[0],c);break;case "administrator":c=new _.LXc,_.Mk(b,5,_.PXc[0],
c)}}return b},z0c=function(a){return a.map(function(b){return y0c(b)})},A0c=function(a){var b=new eXc;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.Wc(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Ck(b,6,d);break;case "version":_.Ak(b,5,d);break;case "owner":c=new $Wc;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=
w0c(f);_.H(c,3,e);break;case "user":e=kQ(f);_.Mk(c,1,ZWc[0],e);break;case "drive":e=r0c(f),_.Mk(c,4,ZWc[0],e)}}_.H(b,7,c);break;case "driveFile":c=new bXc;_.Mk(b,8,aXc[0],c);break;case "driveFolder":c=s0c(d);_.Mk(b,9,aXc[0],c);break;case "driveShortcut":c=t0c(d),_.Mk(b,10,aXc[0],c)}}return b},B0c=function(a){var b=new _.PP;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=A0c(d);_.Mk(b,1,_.VXc[0],c);break;
case "drive":c=new _.SXc;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.Wc(f);break;case "title":c.setTitle(f);break;case "root":e=A0c(f),_.H(c,3,e)}}_.Mk(b,5,_.VXc[0],c);break;case "fileComment":c=new _.TXc;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":_.Ck(c,1,f);break;case "legacyDiscussionId":_.Ck(c,2,f);break;
case "linkToDiscussion":_.Ck(c,3,f);break;case "parent":c.Lg(A0c(f))}_.Mk(b,3,_.VXc[0],c)}}return b},C0c=function(a){return a.map(function(b){return B0c(b)})},D0c=function(a){var b=new _.vXc;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":_.Hk(b,1,o0c[d])}}return b},E0c=function(a){return a.map(function(b){var c=new _.NP;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":_.Hk(c,1,Z_c[e]);break;case "user":d=kQ(e);_.Mk(c,2,_.MP[0],d);break;case "group":d=new _.LP;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":_.Ck(d,1,h);break;case "title":d.setTitle(h)}}_.Mk(c,3,_.MP[0],d);break;case "domain":d=w0c(e);_.Mk(c,4,_.MP[0],d);break;case "anyone":d=new xXc;_.Mk(c,5,_.MP[0],d);break;case "allowDiscovery":_.Bk(c,6,e)}}return c})},
F0c=function(a){var b=new wWc;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 "description":b.wm(d);break;case "url":_.Ck(b,2,d)}}return b},G0c=function(a){return a.map(function(b){var c=new _.FXc;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":_.Hk(c,1,i0c[e]);break;case "newRestriction":_.Hk(c,2,j0c[e])}}return c})},H0c=
function(a){return a.map(function(b){var c=new OWc;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=kQ(e);_.H(c,3,d);break;case "addedReviewer":d=kQ(e),_.H(c,4,d)}}return c})},I0c=function(a){return a.map(function(b){return m0c[b]})},J0c=function(a){return a.map(function(b){var c=new _.AWc;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.Cd(e);break;case "types":d=I0c(e),_.w(c,2,d||[])}}return c})},K0c=function(a){var b=new BXc;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":_.Hk(b,1,n0c[d]);break;case "signinRequired":_.Bk(b,2,d);break;case "publishedTime":c=p0c(d),_.H(b,3,c)}}return b},L0c=function(a){for(var b=new _.KXc,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 _.mXc,l=_.v(Object.entries(h)),n=l.next();!n.done;n=l.next()){var p=_.v(n.value),t=p.next().value,u=p.next().value;switch(t){case "new":var z=k,B=new jXc;_.Mk(z,1,_.iXc[0],B);break;case "upload":var F=k,M=new kXc;_.Mk(F,2,_.iXc[0],M);break;case "copy":for(var J=u,S=new _.lXc,U=_.v(Object.entries(J)),ha=U.next();!ha.done;ha=U.next()){var ea=_.v(ha.value),Fa=ea.next().value,Aa=ea.next().value;switch(Fa){case "originalObject":var ca=u0c(Aa);_.H(S,
1,ca)}}_.Mk(k,3,_.iXc[0],S)}}_.Mk(b,1,_.OP[0],k);break;case "edit":var Na=new rXc;_.Mk(b,2,_.OP[0],Na);break;case "move":for(var Ra=new _.wXc,Ib=_.v(Object.entries(h)),hb=Ib.next();!hb.done;hb=Ib.next()){var $b=_.v(hb.value),Qd=$b.next().value,te=$b.next().value;switch(Qd){case "addedParents":var vg=v0c(te);_.Nk(Ra,1,vg);break;case "removedParents":var Ue=v0c(te);_.Nk(Ra,2,Ue);break;case "fromOwnershipTransfer":_.Bk(Ra,3,te);break;case "reparents":var Jf=te.map(D0c);_.Nk(Ra,4,Jf)}}_.Mk(b,3,_.OP[0],
Ra);break;case "rename":for(var Wg=new _.CXc,Xg=_.v(Object.entries(h)),od=Xg.next();!od.done;od=Xg.next()){var Hi=_.v(od.value),xf=Hi.next().value,dg=Hi.next().value;switch(xf){case "oldTitle":_.Ck(Wg,1,dg);break;case "newTitle":_.Ck(Wg,2,dg)}}_.Mk(b,4,_.OP[0],Wg);break;case "delete":for(var Lb=new _.pXc,zh=_.v(Object.entries(h)),Uk=zh.next();!Uk.done;Uk=zh.next()){var cj=_.v(Uk.value),Fp=cj.next().value,Dk=cj.next().value;switch(Fp){case "type":_.Hk(Lb,1,X_c[Dk])}}_.Mk(b,5,_.OP[0],Lb);break;case "restore":for(var eg=
new _.DXc,Ah=_.v(Object.entries(h)),jk=Ah.next();!jk.done;jk=Ah.next()){var Gp=_.v(jk.value),wl=Gp.next().value,Ln=Gp.next().value;switch(wl){case "type":_.Hk(eg,1,Y_c[Ln])}}_.Mk(b,6,_.OP[0],eg);break;case "permissionChange":for(var Vk=new _.zXc,Ek=_.v(Object.entries(h)),Lm=Ek.next();!Lm.done;Lm=Ek.next()){var kk=_.v(Lm.value),mh=kk.next().value,ti=kk.next().value;switch(mh){case "addedPermissions":var Ho=E0c(ti);_.Nk(Vk,1,Ho);break;case "removedPermissions":var Fk=E0c(ti);_.Nk(Vk,2,Fk);break;case "resharedPermissions":var Gk=
E0c(ti);_.Nk(Vk,3,Gk);break;case "otherActivePermissions":var gh=E0c(ti);_.Nk(Vk,4,gh)}}_.Mk(b,7,_.OP[0],Vk);break;case "comment":for(var Ph=new _.VWc,di=_.v(Object.entries(h)),Cc=di.next();!Cc.done;Cc=di.next()){var Mm=_.v(Cc.value),ei=Mm.next().value,Ii=Mm.next().value;switch(ei){case "post":for(var Mu=Ii,Mq=new _.SWc,lk=_.v(Object.entries(Mu)),Wr=lk.next();!Wr.done;Wr=lk.next()){var Nm=_.v(Wr.value),xl=Nm.next().value,Xr=Nm.next().value;switch(xl){case "subtype":_.Hk(Mq,1,$_c[Xr])}}_.Mk(Ph,1,_.RWc[0],
Mq);break;case "assignment":for(var Mn=Ii,nh=new _.TWc,Nj=_.v(Object.entries(Mn)),Nn=Nj.next();!Nn.done;Nn=Nj.next()){var jf=_.v(Nn.value),Oj=jf.next().value,Hp=jf.next().value;switch(Oj){case "subtype":_.Hk(nh,1,a0c[Hp]);break;case "assignedUser":var Yr=kQ(Hp);_.H(nh,7,Yr)}}_.Mk(Ph,2,_.RWc[0],nh);break;case "suggestion":for(var Ip=Ii,Jp=new _.UWc,Io=_.v(Object.entries(Ip)),yl=Io.next();!yl.done;yl=Io.next()){var Nq=_.v(yl.value),jt=Nq.next().value,Jo=Nq.next().value;switch(jt){case "subtype":_.Hk(Jp,
1,b0c[Jo])}}_.Mk(Ph,3,_.RWc[0],Jp);break;case "mentionedUsers":var Ko=x0c(Ii);_.Nk(Ph,7,Ko)}}_.Mk(b,8,_.OP[0],Ph);break;case "dlpChange":for(var Lo=new _.oXc,Zr=_.v(Object.entries(h)),wg=Zr.next();!wg.done;wg=Zr.next()){var Kp=_.v(wg.value),Nu=Kp.next().value,kt=Kp.next().value;switch(Nu){case "type":_.Hk(Lo,1,c0c[kt])}}_.Mk(b,9,_.OP[0],Lo);break;case "view":for(var Wk=new JXc,lt=_.v(Object.entries(h)),Oq=lt.next();!Oq.done;Oq=lt.next()){var $r=_.v(Oq.value),cm=$r.next().value,dm=$r.next().value;
switch(cm){case "type":_.Hk(Wk,1,d0c[dm]);break;case "viewHistoryVisibility":for(var qz=dm,mt=new IXc,Ve=_.v(Object.entries(qz)),rz=Ve.next();!rz.done;rz=Ve.next()){var zB=_.v(rz.value),PI=zB.next().value,QI=zB.next().value;switch(PI){case "domainPolicyVisibilityState":_.Hk(mt,1,e0c[QI]);break;case "namedPartyState":_.Hk(mt,2,f0c[QI])}}_.H(Wk,2,mt)}}_.Mk(b,10,_.OP[0],Wk);break;case "download":for(var Mo=new qXc,LE=_.v(Object.entries(h)),dj=LE.next();!dj.done;dj=LE.next()){var AB=_.v(dj.value),LS=
AB.next().value,WM=AB.next().value;switch(LS){case "type":_.Hk(Mo,1,g0c[WM])}}_.Mk(b,11,_.OP[0],Mo);break;case "reference":for(var RI=new _.xWc,SI=_.v(Object.entries(h)),BB=SI.next();!BB.done;BB=SI.next()){var XM=_.v(BB.value),$9=XM.next().value,TI=XM.next().value;switch($9){case "type":_.Hk(RI,1,h0c[TI]);break;case "context":RI.Ej(F0c(TI))}}_.Mk(b,12,_.OP[0],RI);break;case "settingsChange":for(var YM=new _.GXc,W_=_.v(Object.entries(h)),UI=W_.next();!UI.done;UI=W_.next()){var nna=_.v(UI.value),a$=
nna.next().value,X_=nna.next().value;switch(a$){case "restrictionChanges":var Y_=G0c(X_);_.Nk(YM,1,Y_)}}_.Mk(b,13,_.OP[0],YM);break;case "approvalChange":for(var nt=new _.KWc,ZM=_.v(Object.entries(h)),MS=ZM.next();!MS.done;MS=ZM.next()){var Z_=_.v(MS.value),FKa=Z_.next().value,CB=Z_.next().value;switch(FKa){case "approvalName":_.Ck(nt,2,CB);break;case "approvalEventNames":_.w(nt,3,CB||[]);break;case "initiator":var GKa=kQ(CB);_.H(nt,4,GKa);break;case "reviewers":var HKa=x0c(CB);_.Nk(nt,5,HKa);break;
case "status":nt.Dc(k0c[CB]);break;case "dueTime":var IKa=p0c(CB);_.H(nt,7,IKa);break;case "approvalRequested":var b$=nt,Wv=new HWc;_.Mk(b$,8,_.JP[0],Wv);break;case "approvalCancelled":var JKa=nt,c$=new IWc;_.Mk(JKa,9,_.JP[0],c$);break;case "reviewerResponded":for(var ona=CB,as=new _.JWc,pna=_.v(Object.entries(ona)),NS=pna.next();!NS.done;NS=pna.next()){var OS=_.v(NS.value),KKa=OS.next().value,$_=OS.next().value;switch(KKa){case "reviewerDecision":_.Hk(as,1,l0c[$_])}}_.Mk(nt,10,_.JP[0],as);break;
case "commentAdded":var LKa=nt,a0=new LWc;_.Mk(LKa,11,_.JP[0],a0);break;case "reviewersChanged":for(var MKa=CB,b0=new NWc,qna=_.v(Object.entries(MKa)),c0=qna.next();!c0.done;c0=qna.next()){var d$=_.v(c0.value),NKa=d$.next().value,e$=d$.next().value;switch(NKa){case "reviewerChanges":var OKa=H0c(e$);_.Nk(b0,1,OKa)}}_.Mk(nt,12,_.JP[0],b0);break;case "dueTimeChanged":for(var d0=CB,PS=new PWc,f$=_.v(Object.entries(d0)),QS=f$.next();!QS.done;QS=f$.next()){var rna=_.v(QS.value),PKa=rna.next().value,QKa=
rna.next().value;switch(PKa){case "oldDueTime":var RKa=p0c(QKa);_.H(PS,1,RKa)}}_.Mk(nt,13,_.JP[0],PS)}}_.Mk(b,18,_.OP[0],nt);break;case "lock":var J0b=new tXc;_.Mk(b,15,_.OP[0],J0b);break;case "unlock":var K0b=new HXc;_.Mk(b,16,_.OP[0],K0b);break;case "appliedLabelChange":for(var SKa=new _.BWc,xfb=_.v(Object.entries(h)),TKa=xfb.next();!TKa.done;TKa=xfb.next()){var DRd=_.v(TKa.value),Eag=DRd.next().value,Fag=DRd.next().value;switch(Eag){case "changes":var Gag=J0c(Fag);_.Nk(SKa,1,Gag)}}_.Mk(b,19,_.OP[0],
SKa);break;case "publishChange":for(var Hgc=new AXc,ERd=_.v(Object.entries(h)),Igc=ERd.next();!Igc.done;Igc=ERd.next()){var FRd=_.v(Igc.value),Hag=FRd.next().value,GRd=FRd.next().value;switch(Hag){case "oldPublishState":var Iag=K0c(GRd);_.H(Hgc,1,Iag);break;case "newPublishState":var Jag=K0c(GRd);_.H(Hgc,2,Jag)}}_.Mk(b,20,_.OP[0],Hgc);break;case "linkShareMetadataChange":for(var HRd=new sXc,IRd=_.v(Object.entries(h)),Jgc=IRd.next();!Jgc.done;Jgc=IRd.next()){var JRd=_.v(Jgc.value),Kag=JRd.next().value,
Lag=JRd.next().value;switch(Kag){case "securityUpdateEnabled":_.Bk(HRd,1,Lag)}}_.Mk(b,21,_.OP[0],HRd)}}return b},M0c=function(a){return a.map(function(b){var c=new _.XXc;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=L0c(e);_.H(c,1,d);break;case "source":d=new RXc;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":_.Hk(d,
2,U_c[h]);break;case "appId":_.Ck(d,1,h)}}_.H(c,2,d);break;case "actor":d=y0c(e);_.H(c,3,d);break;case "target":d=B0c(e);_.H(c,4,d);break;case "timestamp":c.V(p0c(e));break;case "timeRange":d=q0c(e),_.Mk(c,6,WXc[0],d)}}return c})},N0c=function(a){return a.map(function(b){var c=new _.RP;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=L0c(e);_.H(c,2,d);break;case "actors":d=z0c(e);_.Nk(c,3,d);
break;case "actions":d=M0c(e);_.Nk(c,4,d);break;case "targets":d=C0c(e);_.Nk(c,5,d);break;case "timestamp":c.V(p0c(e));break;case "timeRange":d=q0c(e),_.Mk(c,7,ZXc[0],d)}}return c})},O0c={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},P0c={application:1,document:2,documentShared:3},Q0c=function(a){var b=new _.gWc;b=_.w(b,3,a.iconUrl).setSize(a.size);a.category&&_.w(b,1,P0c[a.category]);return b},R0c=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.hWc;d=_.w(d,1,a[c].type);
d=_.w(d,2,Number(a[c].score));b.push(d)}return b},S0c=function(a){_.WO(["drive#app"],a);var b=(new _.FP).Wb(a.id);b=_.w(b,3,a.useByDefault).Wc(a.name);b=_.w(b,7,a.openUrlTemplate);b=mWc(lWc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.w(b,8,a.createUrl);b=_.w(b,9,a.createInFolderTemplate);b=_.w(b,10,a.objectType);b=_.w(b,11,a.supportsCreate);b=_.w(b,12,a.supportsImport);b=_.w(b,13,a.supportsMultiOpen);b=_.w(b,27,a.supportsOfflineCreate);b=_.w(b,14,a.installed);b=_.w(b,15,a.authorized);b=_.w(b,
16,a.productUrl);b=_.w(b,17,a.primaryFileExtensions||[]);b=_.w(b,18,a.secondaryFileExtensions||[]);b=_.w(b,19,a.shortDescription);b=_.w(b,20,a.longDescription);b=_.w(b,21,a.productId);b=_.w(b,22,a.removable);b=_.w(b,23,O0c[a.type]);b=_.w(b,25,a.hasAppData);b=_.w(b,26,a.appDataQuotaBytesUsed);b=_.w(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.w(b,30,a.hasDriveWideScope);b=_.w(b,31,a.driveSource);b=_.w(b,32,a.driveBranded);b=_.w(b,33,a.hidden);b=_.w(b,34,a.supportsMobileBrowser);b=_.w(b,35,a.supportsTeamDrives);
b=_.w(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++)d.push(Q0c(c[e]));_.Nk(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.w(b,24,d||[]);c=a.rankingInfo||{};a=new _.jWc;d=c.absoluteScore;null!=d&&_.w(a,1,Number(d));d=R0c(c.mimeTypeScores||[]);_.Nk(a,2,d);c=R0c(c.fileExtensionScores||[]);_.Nk(a,3,c);_.H(b,29,a);return b},T0c=function(a,b){var c=new eQ;b=_.w(c,4,b);a&&"drive#app"==a.kind&&(a=S0c(a),_.H(b,2,a));return b},U0c={BACKUP_SOURCE_UNSPECIFIED:0,
BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},V0c=function(a){var b=new A_c;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.RZc).Wb(c.id).setTitle(c.title);d=_.w(d,3,_.YO(c.updateTime));d=_.w(d,4,U0c[c.backupSource]);d=_.w(d,5,c.iconUri);d=_.w(d,8,_.YO(c.expiryTime));d=_.w(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1==d.lu()){var e=new QZc;e=_.w(e,1,c.whatsappOngoingBackupEnabled);c=_.w(e,2,c.whatsappPhoneNumber);_.H(d,6,c)}else 2==d.lu()&&(e=new _.PZc,
e=_.w(e,1,c.deviceName),e=_.w(e,2,c.deviceModelName),e=_.w(e,3,c.shouldIncludeSpecialSyncItems),c=_.w(e,4,c.deviceAndroidId),_.H(d,7,c));return d});_.Nk(b,2,a);return b},W0c=function(a){var b=new y_c;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.bQ).Wb(c.id);d=_.w(d,1,fUc[c.type]).setTitle(c.title);d=_.w(d,4,c.iconUri);d=_.OZc(d.setSize(c.size),_.YO(c.updateTime));d=_.w(d,7,c.hasCustomBehavior).wm(c.description);return _.w(d,9,c.ongoingSyncEnabled)});_.Nk(b,1,a);return b},
X0c=function(a,b){this.H=a;this.V=b},Y0c={read:2,write:3,comment:4},Z0c=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.wM((new _.Dl).Wb(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.In(_.FOc(c.userCapabilities));_.UO(b).includes(19)&&_.ILc(d,!0);_.jPc(a,d,_.UO(b));_.JLc(d,4);return d},$0c=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;a=_.TJc(_.SJc(_.RJc(new _.ppa,a.timeUsec),a.serverIp),a.processId);return _.cmb(a)},a1c=function(a){return _.VKc((new _.ql).Wb(a.id).Wc(a.displayName),
a.emailAddress).Jn(a.photoUrl)},b1c=function(a){if(!a)return null;a=a.textSegment||[];return hSc(new _.pl,a.map(function(b){var c=(new _.nma).Pg(b.text),d=b.link;if(d){var e=new _.oma;d=_.w(e,1,d.url)}else d=null;c=_.H(c,2,d);c=_.w(c,3,b.bold);return _.w(c,4,b.italic)}))},c1c=function(a){var b=lSc(new _.rl,b1c(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=a1c(c),_.Mk(b,3,_.qma[0],c),mSc(b,[c])):d?(c=(d.person||[]).map(function(e){return a1c(e)}),d=kSc(c),_.Mk(b,4,_.qma[0],d),mSc(b,c)):(c=(a.person||
[]).map(function(e){return a1c(e)}),c.length&&(d=kSc(c),_.Mk(b,4,_.qma[0],d),mSc(b,c)));_.w(b,5,_.YO(a.eventTime));nSc(b,b1c(a.justificationDescription));return b},lQ=function(a){return(a=a.justification)?c1c(a):null},d1c=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=dTc(new _.xma,lQ(a));cTc(b,(a.subAction||[]).map(function(c){var d=new FSc;c.openDocument&&(c=new qSc,_.Mk(d,1,ESc[0],c));return d}));return b},e1c=function(a){a=a.popularDocumentAction;if(!a)return null;var b=wTc(new _.Kma,
lQ(a));vTc(b,(a.subAction||[]).map(function(c){var d=new XSc;c.openDocument&&(c=new qSc,_.Mk(d,1,WSc[0],c));return d}));return b},f1c=function(a){a=a.documentTopicAction;if(!a)return null;var b=lTc(new _.Ema,lQ(a));kTc(b,(a.subAction||[]).map(function(c){var d=new JSc;c.openDocument&&(c=new qSc,_.Mk(d,1,ISc[0],c));return d}));return b},g1c=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=qTc(pTc(new NSc,a.workspaceId),lQ(a));oTc(b,(a.subAction||[]).map(function(c){var d=new PSc;c.addToWorkspace&&
(c=new pSc,_.Mk(d,1,OSc[0],c));return d}));return b},h1c=function(a){a=a.calendarEventAction;if(!a)return null;var b=bTc(aTc($Sc(new _.vma,a.eventId),lQ(a)),a.guestCount);ZSc(b,(a.subAction||[]).map(function(c){var d=new DSc;if(c.viewCalendarEvent){var e=new ASc;_.Mk(d,1,CSc[0],e)}c.shareWithAttendees&&(e=new ySc,_.Mk(d,2,CSc[0],e));c.present&&(e=new sSc,_.Mk(d,3,CSc[0],e));c.openDocument&&(c=new qSc,_.Mk(d,4,CSc[0],c));return d}));return b},i1c=function(a){return(a.justification||[]).map(function(b){return c1c(b)})},
j1c=function(a){a=a.formResponseAction;if(!a)return null;var b=uTc(new _.Ima,i1c(a));tTc(b,(a.subAction||[]).map(function(c){var d=new VSc;c.openDocument?(c=new qSc,_.Mk(d,1,USc[0],c)):c.viewResponses&&(c=new BSc,_.Mk(d,2,USc[0],c));return d}));return b},k1c=function(a){a=a.documentDocosAction;if(!a)return null;var b=fTc(new _.zma,lQ(a));eTc(b,(a.subAction||[]).map(function(c){var d=new _.Ama;c.reply?(c=new _.tma,_.Mk(d,1,_.tl[0],c)):c.resolve?(c=new vSc,_.Mk(d,2,_.tl[0],c)):c.reassign?(c=new tSc,
_.Mk(d,3,_.tl[0],c)):c.acceptSuggestion?(c=new oSc,_.Mk(d,4,_.tl[0],c)):c.rejectSuggestion?(c=new uSc,_.Mk(d,5,_.tl[0],c)):c.openThread&&(c=new _.sma,_.Mk(d,6,_.tl[0],c));return d}));_.w(b,2,a.discussionId);_.w(b,3,a.postId);gTc(b,b1c(a.anchorText));return b},l1c=function(a){a=a.documentShareAction;if(!a)return null;var b=jTc(new _.Cma,lQ(a));iTc(b,(a.subAction||[]).map(function(c){var d=new HSc;c.suggestedShare?(c=new zSc,_.Mk(d,1,GSc[0],c)):c.responseToRequest&&(c=new wSc,_.Mk(d,2,GSc[0],c));return d}));
hTc(b,(a.sharee||[]).map(function(c){return a1c(c)}));_.w(b,3,Y0c[a.shareeRole]);return b},m1c=function(a){a=a.documentViewAction;if(!a)return null;var b=nTc(new _.Gma,i1c(a));mTc(b,(a.subAction||[]).map(function(c){var d=new LSc;c.open?d.jg(new qSc):c.reviewEdits&&(c=new xSc,_.Mk(d,2,KSc[0],c));return d}));return b},n1c=function(a){a=a.emailViewAction;if(!a)return null;var b=sTc(new RSc,lQ(a));rTc(b,(a.subAction||[]).map(function(c){var d=new TSc;c.openEmail&&d.jg(new rSc);return d}));return b},
o1c=function(a){var b=a.action;return b?b.map(function(c){var d=new _.rma,e=k1c(c);e&&_.Mk(d,2,_.sl[0],e);(e=m1c(c))&&YSc(d,e);(e=l1c(c))&&_.Mk(d,4,_.sl[0],e);(e=n1c(c))&&_.Mk(d,5,_.sl[0],e);(e=h1c(c))&&_.Mk(d,6,_.sl[0],e);(e=g1c(c))&&_.Mk(d,7,_.sl[0],e);(e=f1c(c))&&_.Mk(d,8,_.sl[0],e);(e=e1c(c))&&_.Mk(d,9,_.sl[0],e);(e=d1c(c))&&_.Mk(d,10,_.sl[0],e);(c=j1c(c))&&_.Mk(d,11,_.sl[0],c);return d}):(a=lQ(a),a=nTc(new _.Gma,[a]),[YSc(new _.rma,a)])},p1c={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},q1c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=ETc(new _.Cm,a.map(function(c){return p1c[c]||0}));if(b=b.eventId)b=_.TJc(_.SJc(_.RJc(new _.ppa,b.timeUsec),b.serverIp),b.processId),_.H(a,2,b);return a},r1c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&
(e=KQc(Z0c(a,b,e),o1c(e)),d.push(e))});c=(new _.lD).ay(d).eL($0c(c)).setSessionId(q1c(c));return _.zMc(new _.GO,c)},s1c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=a1c(f.person).Wb(h);(f.childItem||[]).forEach(function(l){e.some(function(t){return t.getId()==h})||e.push(k);var n=l.itemId,p=d.find(function(t){return t.getId()==n});p||(p=Z0c(a,b,l),d.push(p));l=zTc(yTc(xTc(new _.Mma,k.clone()),l.predictionReason),l.url);_.Ok(p,107,l,_.Mma,void 0)})}});
return WUc((new _.dP).ay(d),e).eL($0c(c)).setSessionId(q1c(c))},t1c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Pma;f=_.w(f,2,e.predictionReason);e=Z0c(a,b,e);e=_.H(e,100,f);d.push(e)}});c=(new _.lD).ay(d).eL($0c(c)).setSessionId(q1c(c)).C0(c.suggestionSessionId);return _.zMc(new _.GO,c)},u1c=function(a){return _.TKc(1).Wb(a.personName.split("/")[1])},v1c=function(a){var b=(new fVc).Rl(a.disabled);b=_.w(b,2,a.hidden);b=_.w(b,3,a.activatedInAllDrives);return _.w(b,
4,!!a.required)},w1c=function(a){var b=new HVc;b=_.w(b,1,a.canSearch);b=_.w(b,2,a.canApply);b=_.w(b,4,a.canRemove);return _.w(b,3,a.canManageSharedDriveActivation)},x1c=function(a){var b=new gVc;b=_.w(b,1,a.canSearch);return _.w(b,2,a.canWrite)},y1c=function(a){a=void 0===a?{}:a;var b=new oVc;b=_.w(b,1,a.minSize);return _.w(b,2,a.maxSize)},z1c=function(a){var b=new hVc;b=_.w(b,1,a.trueLabel);return _.w(b,2,a.falseLabel)},A1c=function(a){var b=new pVc;b=_.w(b,1,a.maxEntries);a=y1c(a.options);return _.H(b,
2,a)},B1c=function(a){var b=new jVc;b=_.w(b,1,a.canSearch);return _.w(b,2,a.canSelect)},C1c=function(a){var b=new lVc;mVc(b,(a.choices||[]).map(function(c){var d=(new kVc).Cd(c.label).Rb(c.value);c.capabilities&&d.In(B1c(c.capabilities));c.displayHints&&(c=v1c(c.displayHints),_.H(d,4,c));return d}));return b},D1c=function(a){var b=new nVc;b=_.w(b,1,a.maxEntries);a=C1c(a.options);return _.H(b,2,a)},E1c=function(a){var b=new rVc;b=_.w(b,1,a.showThousandsSeparator);b=_.w(b,2,a.minValue);return _.w(b,
3,a.maxValue)},F1c=function(a){var b=new sVc;b=_.w(b,1,a.maxEntries);a=E1c(a.options);return _.H(b,2,a)},G1c=function(a){var b=new vVc;a=_.w(b,1,a.maxEntries);b=new uVc;return _.H(a,2,b)},H1c=function(a){var b=(new _.Vma).setYear(a.year).setMonth(a.month);return _.w(b,3,a.day)},I1c=function(a){var b=new wVc;b=_.w(b,4,a.dateFormat);var c=H1c(a.minValue);b=_.H(b,2,c);a=H1c(a.maxValue);return _.H(b,3,a)},J1c={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},K1c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},L1c=function(a,b){this.H=a;this.V=b},N1c=function(a,b,c){_.WO(["drive#categoryMetadataList"],c);var d=new EP,e=Object.values(c.categoryMetadata||{});$Vc(d,e.map(function(f){return M1c(a,f,b.Lc())}));d.Dc(1);return new _.gP(d,EZc(c))},P1c=function(a,b){var c=new hQ;n_c(c,(b.categories||[]).map(function(d){return O1c(a,d)}));c.Dc(1);return new yYc(c,
EZc(b))},M1c=function(a,b,c){_.WO(["drive#categoryMetadata"],b);c=FVc((new BP).Wc(b.categoryName),c);b=Object.values(b.attributeValues||[]);EVc(c,b.map(function(d){return Q1c(a,d)}).filter(function(d){return d}));return c},O1c=function(a,b){var c=JVc(IVc((new CP).Wc(b.name),b.categoryName),b.latestName).setTitle(b.title).wm(b.description);KVc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new xVc).Wb(d.id);f=_.w(f,2,d.queryGuid);f=_.w(f,3,d.helpText);f=_.w(f,4,d.displayName);if(d.attributeDisplayHints){var h=
v1c(d.attributeDisplayHints);_.H(f,5,h)}d.capabilities&&f.In(x1c(d.capabilities));_.w(f,7,J1c[e]);d=d[K1c(e)+"Options"];return R1c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&LVc(c,u1c(b.createdBy));b.updatedBy&&MVc(c,u1c(b.updatedBy));b.publishedBy&&NVc(c,u1c(b.publishedBy));_.w(c,9,_.YO(b.createTime));_.w(c,10,_.YO(b.updateTime));_.w(c,11,_.YO(b.publishTime));b.displayHints&&OVc(c,v1c(b.displayHints));b.capabilities&&c.In(w1c(b.capabilities));return c},Q1c=function(a,b){_.WO(["drive#categoryAttributeValue"],
b);var c=(new zP).Wb(b.id);if(b.userScoped)b=Object.values(b.userScoped),CVc(c,b.map(function(d){_.WO(["drive#userScopedAttributeValue"],d);var e=new zVc,f=_.XO(a.H,d.scopedUser);e=_.H(e,1,f);return S1c(a,e,d)?e:null}).filter(function(d){return d})),c.$x(9);else if(!S1c(a,c,b))return null;return c},R1c=function(a,b,c,d){return T1c(a,function(){U1c(a)[c](b,d)},c,b)},S1c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.$x(J1c[d]);return T1c(a,function(){V1c(a)[d](b,
c[c.valueType])},c.valueType)},T1c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof tVc))return CUc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},U1c=function(a){return{BOOLEAN:function(b,c){return b.aRa(z1c(c))},TEXT:function(b,c){return b.g7(y1c(c))},TEXT_LIST:function(b,c){return b.RRa(A1c(c))},LONG_TEXT:function(b,c){var d=new qVc;d=_.w(d,1,c.minSize);c=_.w(d,2,c.maxSize);return _.Mk(b,10,xP[0],c)},SELECTION:function(b,
c){return b.FRa(C1c(c))},SELECTION_LIST:function(b,c){return b.ERa(D1c(c))},INTEGER:function(b,c){return b.nRa(E1c(c))},INTEGER_LIST:function(b,c){return b.mRa(F1c(c))},USER:function(b){return b.VRa(new uVc)},USER_LIST:function(b,c){return b.mha(G1c(c))},DATE:function(b,c){return b.Yga(I1c(c))},USER_SCOPED:function(b,c){var d=new tVc;d=_.w(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.w(d,2,J1c[e]);c=c[K1c(e)+"Options"];R1c(a,d,e,c);return _.Mk(b,16,xP[0],d)}}},V1c=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.h7(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.f7(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.U6(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return b.setUserValue(_.XO(a.H,c))},USER_LIST:function(b,c){BVc(b,
c.map(function(d){return _.XO(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},W1c=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},X1c=function(a){a=a.personResponse;return f_c(new e_c,a.map(function(b){var c=b.person;b=LRc(new nP,b.personId).Wc(W1c(c));var d=c;d=void 0===d?{}:d;d=d.email;b=_.w(b,3,d?d[0].value:"");c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;d=new MRc;c=_.w(d,1,c&&!c.isDefault?c.url:null);return _.H(b,4,c)}))},Y1c=function(a){this.H=
a},$1c=function(a,b){_.WO(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return Z1c(a,c)})},Z1c=function(a,b){_.WO(["drive#teamDrive","drive#drive"],b);var c=new _.Sma,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.w(c,2,d);_.w(c,1,b.backgroundImageLink);_.w(c,3,b.trusted);_.w(c,5,b.backgroundImageGridViewLink);_.w(c,6,b.backgroundImageListViewLink);_.w(c,7,b.hidden);(d=b.categoryReferences)&&LQc(c,d.map(function(e){_.WO(["drive#driveCategoryReference"],e);var f=
new _.Cl;return _.w(f,1,e.category)}));c=_.NLc(_.MLc(_.JLc(_.KLc(VQc(_.wM((new _.Dl).Wb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.hLc(_.FOc(b.capabilities),!0),c.In(d));b.permissionsSummary&&_.LLc(c,_.cPc(a.H,b.permissionsSummary));b.restrictions&&NQc(c,a2c(b.restrictions));return c},a2c=function(a){var b=new _.Qma;b=_.w(b,1,a.copyRequiresWriterPermission);b=_.w(b,2,a.disallowDriveFileStream);b=_.w(b,
3,a.domainUsersOnly);return _.w(b,4,a.teamMembersOnly)},b2c=function(a){_.WO(["drive#setting"],a);var b=new _.Ua;b=_.w(b,2,a.key);b=_.w(b,1,_.tJc[a.namespace]);return _.Vva(new _.qp,b).Rb(a.value)},c2c={active:1,archived:2},d2c=function(a){_.WO(["drive#workspace"],a);var b=(new _.jD).Wb(a.id).setTitle(a.title);b=_.w(b,3,_.YO(a.createdDate));return _.w(b,4,_.YO(a.modifiedDate)).Qd(c2c[a.state])},e2c=function(a){_.WO(["drive#workspaceList"],a);var b=a.items||[];b=h_c(new gQ,b.map(function(c){return d2c(c)}));
return new _.cQc(b,EZc(a))},f2c=function(a,b,c){var d=c.item||[];return _.oJc(new _.bN,d.map(function(e){return Z0c(a,b,e)})).setSessionId(q1c(c))},g2c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return rWc(pWc(qWc(oWc(new GP,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return Z0c(a,b,f)})),lQ(c))},h2c=function(a,b,c){var d=c.item||[];return uWc(new HP,d.map(function(e){return g2c(a,b,e)})).setSessionId(q1c(c))},i2c=function(a){var b=new eVc;a.kind&&(a=
d2c(a),_.H(b,2,a));b.Dc(1);return b},j2c=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};j2c.prototype.Jg=function(){var a=new _.iQ;a.Dc(this.V);this.H&&_.r_c(a,this.H?_.Rk(this.H):null);return a};
var l2c=function(a,b,c,d){d=void 0===d?!1:d;var e=_.vJc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.QM(a.W)){var h=(h=b&&b.getUser())&&_.EH(h);h=!(!h||!k2c(a.Ba,h));a.V=h&&e||d?1:6}f=!_.Qk(a.H,b)||(_.QM(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.QM(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Rk(b);_.QM(a.W)||(a.V=e||d?1:6);c&&(WP(a.va,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};
j2c.prototype.xf=function(){return this.ha};var m2c=function(){_.P.call(this);this.H=Date.now()};_.K(m2c,_.P);var n2c=function(a){a.H=Date.now();a.dispatchEvent("Jb")},o2c=function(a){_.P.call(this);this.va=a;this.ha=0};_.K(o2c,_.P);var p2c=function(a){a=_.Rk(a);var b=function(c){return c.toLowerCase()};lWc(a,_.ad(a,4).map(b));mWc(a,_.ad(a,5).map(b));return a};_.g=o2c.prototype;_.g.pta=function(){};_.g.MLa=function(){};_.g.remove=function(){};_.g.ota=function(){};_.g.Zz=function(){return 0!=this.ha};
_.g.xf=function(){return this.ha};var q2c=function(a,b,c){o2c.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.K(q2c,o2c);q2c.prototype.pta=function(){var a=new dQ;if(!_.Bf(this.H)){_.w(a,4,this.V||[]);var b=[];_.tf(this.H,function(c){b.push(_.Rk(c))});_.Nk(a,2,b)}a.Dc(this.W);return a};q2c.prototype.MLa=function(a){this.H[a.getId()]=p2c(a);this.ka.update(1);this.dispatchEvent(new _.Li("Kb",this))};q2c.prototype.remove=function(a){_.Cf(this.H,a)&&this.ka.update(1)};
q2c.prototype.ota=function(a,b,c){c=void 0===c?!1:c;var d=!_.wJc.has(b);1==this.W&&d||(this.ha=b,r2c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),WP(this.va,"nVUlO")))};
var r2c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.ad(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.za(f);d=f.length!=a.V.length}a.V=e;var h=_.Ef(a.H);_.pJc(a.H);b=_.Kk(b,_.FP,2);d||(d=b.length!=_.yf(h));b.forEach(function(k){var l=p2c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Qk(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.Li("Kb",a))},s2c=function(a,b,c){_.P.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.Gj=this.ha=null;this.W=!1};_.K(s2c,_.P);var u2c=function(a){if(a.ha)return a.ha;var b=_.ii();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);t2c(a,b);return b.promise};s2c.prototype.va=function(){1==this.H&&(v2c(this,"Became unauthenticated."),this.H=!1,this.W=!0,w2c(this))};s2c.prototype.Ba=function(){0==this.H&&(v2c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.Gj&&(_.m.clearTimeout(this.Gj),this.Gj=null),this.dispatchEvent(new dVc("xa")))};
var w2c=function(a){a.V||(a.V=new _.EPc(5E3),a.Gj=_.m.setTimeout(function(){return x2c(a)},a.V.kb()))},x2c=function(a){t2c(a);a.V&&(_.MI(a.V),a.Gj=_.m.setTimeout(function(){return x2c(a)},a.V.kb()))},t2c=function(a,b){_.bi().then(function(){return y2c(a,b)})},y2c=function(a,b){v2c(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.FKc)});b?c.then(function(){b.resolve(t_c(new s_c,1))},function(d){var e=_.nN(d).Ig;d=0;_.kIc(e)?(v2c(a,"Checked authentication state: unauthenticated."),
d=2):(v2c(a,"Checked authentication state: error occurred."),_.zr(e),_.w(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new s_c;t_c(e,d);b.resolve(e)}):c.then(null,function(d){d=_.nN(d);_.kIc(d.Ig)&&a.W&&(a.dispatchEvent(new dVc("ya")),a.W=!1)})},v2c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},z2c=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ba=0},A2c=function(a){a.V=!1;a.NLa()};_.g=z2c.prototype;
_.g.upa=function(a,b){var c=this;if(5==this.UE(a))throw Error("tf");var d=[];_.Ga(this.mA(),function(e){pZc(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.L4=function(){return this.mA().length};_.g.AX=function(a){a=this.upa(a,void 0);a=ARc(a);var b=new _.lD;b.ay(a);b.Dc(this.BX()?6:1);return b};_.g.update=function(a){var b=this.XF(a.V),c=this.XF(a.H);if(!b&&!c)return!1;b&&this.p0(a.V);c&&this.Rqa(a.H);return!0};_.g.UE=function(a){return this.V&&this.ha?nZc(a)?1:5:5};
_.g.qX=function(){this.ha=!0};_.g.XF=function(a){return!!a&&this.V};_.g.Ky=function(a){this.Ba=a};_.g.xf=function(){return this.Ba};var mQ=function(a,b,c,d,e,f){z2c.call(this,a,b);this.Ha=c;this.Tb=YP(c,d,!0);this.H=[];this.ka={};this.W=!e;B2c(this,e);this.va=(0,_.L)(this.ta.compare,this.ta,this.Tb);this.Ea=f||""};_.K(mQ,z2c);_.g=mQ.prototype;_.g.zd=function(){return this.Tb};
_.g.Rqa=function(a){var b=this.ka[a.getId()];b&&this.p0(b);FQc(this.H,a,this.va);this.ka[a.getId()]=a;a.H++;this.H.length>this.Tb.Qh()&&(this.p0(_.ba(this.H)),this.W=!1)};_.g.p0=function(a){var b=this.H,c=_.Ca(b,a,this.va);0<=c&&_.oa(b,c);_.Cf(this.ka,a.getId());a.H--};_.g.NLa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.mA=function(){return this.H};_.g.UE=function(a){var b;if(b=this.Ha.equals(this.Tb,a,!0))a=a.yi(),b=this.Tb.yi(),b=TQc(b,a,!0);return b?this.W?1:6:5};
_.g.upa=function(a,b){if(5==this.UE(a))throw Error("tf");b=b?Math.min(b,this.H.length):this.H.length;return _.va(this.H,0,b)};_.g.XF=function(a){if(!z2c.prototype.XF.call(this,a)||!pZc(this.ma,this.Tb,a.getItem()))return!1;if(this.W||_.y(this.Tb,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.va(a,b)};_.g.BX=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.WB=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ia(a,function(e){return e.getId()==d.getId()})&&(b?(this.p0(d),B2c(this,_.ba(a))):this.W=!0);_.Ga(a,function(e){c.update(jQ(e))})};var B2c=function(a,b){b&&pZc(a.ma,a.Tb,b.getItem())&&a.Rqa(b)};mQ.prototype.Gv=function(){return this.Ea};var nQ=function(a){_.O.call(this);this.context=a;this.Yd=new _.ke(this);this.Na(this.Yd);this.ma=new Set;this.H=6;this.Oa=0};_.K(nQ,_.O);
var D2c=function(a,b){a.ma.add(b);a.resize(!0);C2c(a,b)},E2c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.OJa()?a.resize(!1):a.dispose()};nQ.prototype.xf=function(){return this.Oa};nQ.prototype.Ky=function(a){this.Oa=a};nQ.prototype.refresh=function(){};nQ.prototype.AX=function(){};
var G2c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Rk(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Rk(e):null}c=Object.values(c).filter(function(f){return null!=f})}F2c(a.context.V,c,b);d=c.filter(function(f){return!aQ(f)});QQc(b,d);c.forEach(function(f){_.jPc(a.context.xr,f,b);if(f.Bc()){var h=f.getCapabilities();aQ(f)?h&&(_.gLc(h,_.D(h,13)),_.dLc(h,!1),_.kLc(h,!1)):_.rN(f)?(h&&_.YKc(h,!1),_.w(f,30,!1)):h&&(_.oLc(h,!1),_.pLc(h,!1))}f.getCapabilities()||f.In(new _.vl)})};
nQ.prototype.resize=function(){};nQ.prototype.zd=function(){};nQ.prototype.WB=function(a,b){var c=this,d=!1;a.forEach(function(e){e=jQ(e);d=c.wR(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&H2c(this)};var I2c=function(a,b){var c=!1;b.forEach(function(d){c=a.wR(d)||c});c&&H2c(a);return c};nQ.prototype.update=function(a){return I2c(this,[a])};nQ.prototype.wR=function(){};var H2c=function(a){a.Ea();a.ma.forEach(function(b){C2c(a,b)})};nQ.prototype.Ea=function(){};
var C2c=function(a,b){var c=oQ(a.context);c=J2c(c,b).zd();a.Ha(c)||(c=a.AX(c),a=oQ(a.context),a.Ba[b]=c,a.V||(a.V=_.Vi(a.ka,50,a)))},K2c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=oQ(a.context);d.Ea[c]=b;d.V||(d.V=_.Vi(d.ka,50,d))})},L2c=function(a){a.ma.forEach(function(b){(b=oQ(a.context).ha[b])&&b.rM()});a.Ky(0==a.xf()?1:6)};nQ.prototype.OJa=function(){return!1};nQ.prototype.Ha=function(){return!1};var M2c=function(a){_.Li.call(this,"Fb");this.id=a};_.K(M2c,_.Li);
var N2c=function(a,b,c,d){d=void 0===d?!1:d;_.P.call(this);this.Tb=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};_.K(N2c,_.P);
var R2c=function(a){if(a.V)return a.V.promise;a.V=_.ii();a.Tb.nm().forEach(function(b){var c=_.op(_.Rk(a.Tb),[b]),d;a.Ea&&(d={gAb:!0});a.H.zn().then(function(e){return e.H(c,d)}).then(function(e){return void O2c(a,e)},function(e){e=_.nN(e);if(5==e.Ig.Mq()||4==e.Ig.lj())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),P2c(a);else{var f=new cQ(e.Ig,_.C(a.H.H.Ff(),1,1));Q2c(a.H.V,a.Tb,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
O2c=function(a,b){b.Rq().Id().forEach(function(c){_.cN(c,1);a.ta.push(c)});P2c(a)},P2c=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};N2c.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;S2c(this);T2c(this);this.ha.size==this.Tb.nm().length?(oP(this.H.V,[],1,this.va,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var S2c=function(a){var b=a.ta;a.ta=[];b=a.H.af.Z0(b);if(_.EM(a.H.H.nf())){var c=a.H.V.V;_.Ga(b,function(d){var e=c.H(d.getId());e&&_.rO(d,e.Pi())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});oP(a.H.V,b,1,a.va,!0)},T2c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.dN(_.$M(new _.VM,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new M2c(c))})},U2c=function(a,b,c,d){nQ.call(this,a);this.ha=b;this.Tb=c;this.V={};this.W=_.PM(a.H)||new _.mIc;d&&this.WB(d,!0)};
_.K(U2c,nQ);
U2c.prototype.refresh=function(){var a=this;this.H=6;if(_.y(this.Tb,5,!1))return this.H=1,_.bi();var b=!TQc(_.UO(this.ha),this.Tb.yi()),c=[],d=this.context.Mr();this.Tb.nm().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=lP(n)||b)n=n&&n.yn(),l=!(n&&_.D(n,2));l&&c.push(k)}});if(0==c.length)return this.WB([],!1),_.bi();var e=this.Tb.clone();_.op(e,c);var f=new N2c(e,this.context,this.Tb),h=_.ii();this.context.ka.Ye()?(this.Yd.listen(this.context.ka,"Cb",function(k){k.Ye()||
(a.Yd.Tc(a.context.ka,"Cb"),V2c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Bh.Ye()&&(this.H=0<Object.values(this.V).length?1:2),V2c(this,f,h));return h.promise};var V2c=function(a,b,c){a.Yd.listen(b,"Fb",function(d){a.V[d.id]=null});L2c(a);R2c(b).then(function(){c.resolve()},c.reject)};_.g=U2c.prototype;
_.g.t$=function(a){var b=this;return this.context.ma.equals(a,this.Tb)?_.y(this.W,5,!1)&&_.y(this.W,3,!1)?a.nm().every(function(c){return(c=b.V[c])&&_.D(c.getItem(),31)}):TQc(_.UO(this.ha),a.yi()):!1};_.g.AX=function(a){var b=new _.cP;_.QM(this.context.H)?b.Dc(bRc(Object.values(this.V))?6:this.H):b.Dc(this.H);QVc(b,this.xf());RVc(b,_.vf(this.V,function(c){return c?c.getItem():null}));G2c(this,a.yi(),b.Ht());return b};_.g.resize=function(){};_.g.zd=function(){return this.Tb};
_.g.wR=function(a){var b=W2c(this,a.V),c=W2c(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 W2c=function(a,b){return!!b&&_.ka(a.Tb.nm(),b.getId())},X2c=function(a,b){_.Li.call(this,a);this.changes=b};_.K(X2c,_.Li);var Y2c=function(){this.va=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};Y2c.prototype.getSessionId=function(){return this.ta};Y2c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
Y2c.prototype.uc=function(){return this.H};
var Z2c=function(a){var b=new Y2c;if(a.SH()){var c=a.SH();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.A0()&&(c=a.A0(),b.H=!1,b.va=c);a instanceof _.dP&&_.Kk(a,_.ql,6).length?(a=_.Kk(a,_.ql,6),b.H=!1,b.ha=a):a instanceof _.lD&&(a.z0()||a.Vma()||a.Qba().length)&&(c=a.z0(),b.H=!1,b.ma=c,c=a.Vma()||!1,b.H=!1,b.V=c,a=a.Qba(),b.H=!1,b.W=a);return b},pQ=function(a,b,c,d,e){e=void 0===e?"":e;_.P.call(this);this.context=a;this.hb=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.Ua=d||!1;this.Oa=this.ma(b);this.ha=new Y2c};_.K(pQ,_.P);var $2c=function(a){return!a.Ba||""!=a.nextPageToken},b3c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&$2c(a)?a3c(a):_.qi()};pQ.prototype.qc=function(){return this.V.length};
var a3c=function(a){var b=a.W-a.V.length+a.ka;a.hb.info("drive.ds.sync.query.QueryRunner","Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.li;d.addCallback(function(f){return void c3c(a,c,f)});var e=_.PJc(_.QJc(new _.BM,a.Oa),c);b=_.NJc(new _.wGc,b);a.Ua&&_.w(b,10,!0);_.OJc(e,b);a.Ba=!0;a.H=!0;a.context.zn().then(function(f){return f.H(e)}).then(a.Ka.bind(a,d),a.Ha.bind(a,d,b));return d};
pQ.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.dP)var c=b;else c=b.Rq(),this.nextPageToken=b.Tn()||"";this.ha=Z2c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.Id())};
pQ.prototype.Ha=function(a,b,c){c=_.nN(c);this.H=!1;if(5==c.Ig.Mq())a.callback([]);else{if(10==c.Ig.Mq()&&(_.NJc(b,Math.ceil(_.C(b,1,1E3)/2-2E-15)),1<_.C(b,1,1E3))){var d=_.OJc(_.PJc(_.QJc(new _.BM,this.Oa),this.nextPageToken),b);this.H=!0;this.context.zn().then(function(e){return e.H(d)}).then(this.Ka.bind(this,a),this.Ha.bind(this,a,b));return}b=new cQ(c.Ig,_.C(this.context.H.Ff(),1,1));this.Ea(b);this.dispatchEvent(b);a.Jd(c)}};
var c3c=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: ")+(_.oNc(a.request)+" paginationToken: ")+b;b=_.zr(_.xr(_.MM(_.LM(new _.rb,2),9),f));a.context.dispatchEvent(new _.tb(new _.sb(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())_.cN(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=_.$M(new _.VM,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new X2c("Eb",c));if(a.V.length<a.W&&a.nextPageToken)return a3c(a);a.dispatchEvent("Hb")};pQ.prototype.Ma=function(a){return a};pQ.prototype.Ea=function(){};pQ.prototype.zd=function(){return this.request};pQ.prototype.ma=function(a){a=_.Rk(a);this.va&&_.w(a,46,!0);return a};var d3c=function(a,b,c,d){pQ.call(this,a,b,void 0,c,d)};
_.K(d3c,pQ);d3c.prototype.Ma=function(a){a=this.context.af.Z0(a);oP(this.context.V,a,1,this.request,$2c(this));return a};d3c.prototype.Ea=function(a){Q2c(this.context.V,this.request,a)};d3c.prototype.ma=function(a){var b=a=pQ.prototype.ma.call(this,a),c=_.vO(b);0==_.ad(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].kb()))&&(c=c.Bc())&&(_.iN(b,[c]),_.jN(b,2));e3c(this,a);return a};
var e3c=function(a,b){if(_.vO(b).some(function(d){return(d=a.context.V.V.H(d.kb()))&&_.D(d,108)})){var c=b.De();c||(c=new _.He,_.Ul(b,c));_.Ie(c,937)}},f3c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.va=d;this.W=0},h3c=function(a){var b=_.qc(a.ta);b=b.filter(function(d){return d instanceof U2c});var c=new Set;b.forEach(function(d){d.zd().nm().forEach(function(e){a.va.get(e)||c.add(e)})});b=_.Ie(new _.He,310);g3c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.oc(c)),b)},j3c=
function(a,b){var c=[];(a.V.V.Oa.H[b||"subscribed"]||[]).forEach(function(d){_.tf(a.ta,function(e){_.Qk(e.zd(),d)&&c.push(e)})});_.za(c);0<c.length&&(i3c(a),c.forEach(function(d){d=ZP(a.V.ma,d.zd(),3);g3c(a,"Refreshing "+b+" cache: "+d)}),_.ji(_.gi(c.map(function(d){return d.refresh().Zf(_.bf)})),a.ha.bind(a)))};
f3c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Ec(e)});if(0==a.length)return _.bi({});a=_.w(_.np(_.op(new _.mp,a),d||_.UO(this.ma)),7,!0);_.pp(a,b);i3c(this);b=new N2c(a,this.V,void 0,c);return _.ji(R2c(b),this.ka.bind(this,b))};f3c.prototype.ka=function(a){a.dispose();this.ha()};var i3c=function(a){a.W++;a.V.va.setActive(!1)};f3c.prototype.ha=function(){this.W--;0==this.W&&this.V.va.setActive(!0)};
var g3c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},k3c=function(a,b,c){_.O.call(this);this.ma=a;this.H=b;this.Tb=c;a=new _.He;_.Je(a,!1);_.Ie(a,305);_.Ul(this.Tb,a);this.ha=new _.ke(this);this.Na(this.ha);this.W=this.V=null};_.K(k3c,_.O);
var l3c=function(a){if(!a.V){a.V=_.ii();if(_.y(a.Tb,48,!1))return a.H.Ky(9),a.V.resolve(a.H),a.V.promise;a.W=new pQ(a.ma,a.Tb,!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));b3c(a.W,a.Tb.Qh())}return a.V.promise};k3c.prototype.ka=function(a){var b=this;_.Ga(a.changes,function(c){c=c.getItem();b.H.update(jQ(new UP(c)))})};k3c.prototype.ta=function(){this.H instanceof mQ?this.H.W=!$2c(this.W):$2c(this.W)&&A2c(this.H);this.H.Ky(5);this.V.resolve(this.H)};
var qQ=function(a,b){z2c.call(this,a,b);this.H={}};_.K(qQ,z2c);qQ.prototype.Rqa=function(a){this.H[a.getId()]=a;a.H++};qQ.prototype.p0=function(a){_.Cf(this.H,a.getId());a.H--};qQ.prototype.NLa=function(){_.tf(this.H,function(a){a.H--});this.H={}};qQ.prototype.mA=function(){return Object.values(this.H)};var rQ=function(a,b,c,d,e){qQ.call(this,a,b);var f=this;this.W=e;VP(c,["aU7Ts","BNEDtc"],function(){return f.qX()})};_.K(rQ,qQ);
rQ.prototype.UE=function(a){var b=this,c=qQ.prototype.UE.call(this,a);if(5==c)return c;if(0<_.ad(a,33).length)return 5;a=_.vO(a);return 0<a.length&&!a.every(function(d){d=b.H[d.kb()];return null!=d&&!d.getItem().Bc()&&YQc(d.getItem())&&!_.D(d.getItem(),108)})?5:1};rQ.prototype.XF=function(a){return qQ.prototype.XF.call(this,a)&&m3c(this,a.getItem())};var m3c=function(a,b){if(_.D(b,31)||!a.ha)return!0;var c=a.W();return b.Pi().some(function(d){var e=a.H[d];return d==c||null!=e&&YQc(e.getItem())})};
rQ.prototype.qX=function(){var a=this;qQ.prototype.qX.call(this);_.tf(this.H,function(b){m3c(a,b.getItem())||(b.H--,_.Cf(a.H,b.getId()))})};rQ.prototype.zd=function(){return new _.re};rQ.prototype.getType=function(){return"SubscribedCorpusCache"};rQ.prototype.BX=function(){return!1};var sQ=function(a,b,c){qQ.call(this,a,b);this.W=c};_.K(sQ,qQ);_.g=sQ.prototype;
_.g.UE=function(a){var b=this,c=qQ.prototype.UE.call(this,a);if(5==c)return c;c=_.vO(a);var d=c.every(function(e){var f=e.kb();return(null!=b.H[f]||b.W==f)&&!_.y(e,2,!1)});if(0<c.length&&d)return 1;a=_.ad(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.XF=function(a){return qQ.prototype.XF.call(this,a)&&!!a&&a.getItem().Bc()==this.W&&!aQ(a.getItem())};_.g.BX=function(){return!1};_.g.zd=function(){var a=new _.re;_.iN(a,[this.W]);_.jN(a,2);return a};_.g.Bc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var n3c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.re;_.w(a,48,!0);var b=new _.Zb;_.ac(b,11);_.bc(b,2);_.se(a,b);this.ka=YP(this.ha,a,!0)};n3c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof rQ?b.H=c:c instanceof mQ?b.W.push(c):c instanceof sQ&&b.V.push(c)})};
n3c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof rQ)b.H&&(A2c(b.H),b.H=null);else if(c instanceof mQ){var d=_.fa(b.W,function(e){return b.ha.equals(e.zd(),c.zd())});0<=d&&(A2c(b.W[d]),_.oa(b.W,d))}else c instanceof sQ&&(d=_.fa(b.V,function(e){return b.ha.equals(e.zd(),c.zd())}),0<=d&&(A2c(b.V[d]),_.oa(b.V,d)))})};
var o3c=function(a){var b=[];a.H&&b.push(a.H);_.ua(b,_.sa(a.W));_.ua(b,_.sa(a.V));return b},p3c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Rk(c.zd()),_.w(c,32,void 0),c.uC([]),!_.Qk(a.ka,c)):!0})},q3c=function(a,b){return _.mf(a.V,function(c){return c.Bc()==b})},r3c=function(a,b){return p3c(a).find(function(c){return a.ha.equals(c.zd(),YP(a.ha,b,!0))})},s3c=function(){this.H={}},tQ=function(a,b){t3c(a,"subscribed");b&&t3c(a,b);return a.H[b||"subscribed"].sj.promise},
t3c=function(a,b){a.H[b]||(a.H[b]={count:0,gKa:[],jPa:[],sj:_.ii()});a.H[b].count++},v3c=function(a,b){b&&!u3c(a,b)||u3c(a,"subscribed")},u3c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].sj.resolve({items:a.H[b].gKa,nsb:a.H[b].jPa}),_.Cf(a.H,b));return!0};s3c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.Bc();f&&f==e.Lc()&&c.H[f]&&c.H[f].jPa.push(e);c.H[d]&&c.H[d].gKa.push(e)})};
var w3c=function(a,b){_.Li.call(this,"Lb");this.hd=a;this.H=b};_.K(w3c,_.Li);var x3c=function(a,b){return new _.ai(function(c,d){b.then(function(e){var f={};a.mA().forEach(function(h){var k=h.getId();xRc(h.getItem());f[k]=new UP(h.getItem())});e.items.forEach(function(h){var k=h.Lc();k=f[k];h.mj()?k&&a.update(new L_c(k.getId(),k,null)):(h=h.getItem(),xRc(h),a.update(M_c(k,new UP(h))))});a.qX();c(e.nsb)},d)})},y3c=function(a,b){_.O.call(this);this.H=a;this.V=b};_.K(y3c,_.O);
var F3c=function(a){var b=_.m._DRIVE_ivd;z3c(a,"Running initial view populator (IVDP).");try{var c=new TP(JSON.parse(b))}catch(t){A3c(a,"Error parsing initial view dump.",t);return}b=a.H.H.nf();if(!_.EM(b)){var d=c.Jg();if(d){var e=d.getUser();e&&e.getId()==_.C(b,6,"")&&l2c(a.H.Ub,d,4)}(b=c.Mr())&&B3c(a.H,b,6)}var f=c.Hz()||void 0;f&&C3c(a.H,f,!0);if((b=c.ny())&&b.length){d=(d=a.H.H.Ff())&&_.ad(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.rp(t))&&h.add(t)});D3c(a.H.Ka,b,4,
[].concat(_.oc(h.values())))}b=c.Id();b.forEach(function(t){_.kKc(t);_.cN(t,6)});if(d=_.Kk(c,SP,5)[0])if(c=a.H.ma,XQc(_.UO(a.V),d.getQuery().yi(),_.yO(a.H.H)))if((e=d.getQuery().ae())&&4==e.getType()&&!eRc())A3c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=YP(c,d.getQuery());var k=_.x(d,2)||void 0;e.ej(k);k=b.map(function(t){return new UP(t,void 0,1,f)});var l=_.A(d,_.Dl,3);if(l&&_.x(d,2)){var n=k[k.length-1];_.cN(l,6);if(!_.Qk(l,n.getItem())){A3c(a,"Invalid last item in initial view data.");
return}}d=(l=_.PM(a.H.H))&&_.y(l,2,!1)&&d.Tn()||"";var p=new mQ(a.H.Ha,a.H.Oa,a.H.ma,e,n,d);p.Ky(4);k.forEach(function(t){p.update(jQ(t))});E3c(a.H.V,p);n=p.zd();z3c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+ZP(c,n));c=new _.BM;_.QJc(c,n);n=_.xOc(a.H.Ma,c,"IVDP");_.yOc(n,b);WP(a.H.ha,"W6J7De")}}else A3c(a,"Invalid initial view data, fields: "+MYc(c,d.getQuery().yi()));else A3c(a,"No initial query found")},A3c=function(a,b,c){var d=
c?void 0:_.zr(_.MM(_.LM(new _.rb,2),6));c=new _.sb(b,d,c);a.H.mb(c.Ig);z3c(a,"Initial view dump population failed. Message: "+b);WP(a.H.ha,"DEJoH")},z3c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},G3c=function(a){_.P.call(this);this.context=a;this.V=new rQ(a.Ha,a.Oa,a.ha,a.H,function(){return a.Mr()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.K(G3c,_.P);
var H3c=function(a,b){var c=_.C(a.context.H,31,2E4);("number"===typeof _.x(b,3)?_.x(b,3):c+1)>c?(A2c(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Ma.Rb("CachedCorpusType",b)};G3c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var I3c=function(a,b){0==a.W&&(a.W=b)},J3c=function(a,b){_.P.call(this);this.V=a;this.Tb=b;this.ka=[];this.H="";this.W=this.ha=!1};_.K(J3c,_.P);
var L3c=function(a){return a.W||a.ha&&""==a.H?_.qi():K3c(a)};J3c.prototype.qc=function(){return this.ka.length};
var K3c=function(a){a.ha=!0;a.W=!0;var b=cUc(dUc(new _.fO,a.Tb),a.H),c=_.xOc(a.V.Ma,b);return _.ri(a.V.zn().then(function(d){return d.H(b)}).then(function(d){var e=d.Rq().Id();a.H=d.Tn()||"";M3c(a,c,e)},function(d){a.W=!1;d=new cQ(_.NM(d),_.C(a.V.H.Ff(),1,1));a.dispatchEvent(d)}))},M3c=function(a,b,c){_.yOc(b,c);for(b=0;b<c.length;b++)_.cN(c[b],1);oP(a.V.V,c,1,a.Tb,!a.ha||""!=a.H);var d=[];_.Ga(c,function(e){this.ka.push(e.getId());e=_.$M(new _.VM,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new X2c("Eb",
d));a.H?K3c(a):(a.W=!1,a.dispatchEvent("Hb"))};J3c.prototype.zd=function(){return this.Tb};var N3c=function(a){this.H=zYc(a,{numeric:!0})};N3c.prototype.sort=function(a){_.Da(a,this.V.bind(this))};N3c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Ba(a.getId(),b.getId()):c};
var uQ=function(a,b,c,d){d=void 0===d?!1:d;nQ.call(this,a);this.ka=b;this.Tb=_.Rk(c);this.ha=new J3c(a,this.Tb);this.ta=new N3c(tP(a.H.nf()));this.W=[];_.wd(this,this.j_a,this);this.V=null;d&&(this.V=_.ii(),this.V.resolve())};_.K(uQ,nQ);uQ.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return O3c(this)};
var O3c=function(a){if(a.V)return a.V.promise;a.V=_.ii();a.context.ka.Ye()?a.Yd.listen(a.context.ka,"Cb",function(b){b.Ye()||(a.Yd.Tc(a.context.ka,"Cb"),L2c(a),L3c(a.ha).Uf(a.V.resolve,a.V.reject,a.V))}):(L2c(a),L3c(a.ha).Uf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=uQ.prototype;_.g.resize=function(){};_.g.zd=function(){return this.Tb};_.g.mA=function(){return this.W};_.g.t$=function(a){return this.context.ma.equals(a,this.Tb)};
_.g.AX=function(a){a=a.Qh();this.ta.sort(this.W);var b=ARc(_.va(this.W,0,Math.min(a,this.W.length)));G2c(this,IUc(this.ka),b);var c=new _.lD;c.ay(b);c.Dc(1==this.H||a<=this.W.length?1:this.context.ka.Ye()||this.context.Bh.Ye()?0<this.W.length?1:2:6);c.B0(this.xf());FTc(c,a<this.W.length||!(this.context.ka.Ye()||this.context.Bh.Ye())&&1!=this.H);return c};_.g.WB=function(a,b){this.V&&nQ.prototype.WB.call(this,a,b)};
_.g.wR=function(a){if(!this.V)return!1;var b=a.id,c=_.ia(this.W,function(h){return h.getId()==b}),d=!!c,e=P3c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?Q3c(this,f,a.H):R3c(this,f):S3c(this,a.H);else return!1;return!0};
var S3c=function(a,b){a.W.push(b);b.H++},R3c=function(a,b){_.pa(a.W,b);b.H--},Q3c=function(a,b,c){a.W[_.ja(a.W,b)]=c;c.H++;b.H--},P3c=function(a,b){if(b){var c;if(c=aQ(b.getItem())){a=a.Tb;b=b.getItem();if(c=!!b&&!!b.Kk())c=a.lm(),c=null==c||!!b.Kk().lm()==c;c&&(a=_.D(a,6),c=null==a||_.D(b.getCapabilities()||new _.vl,51)==a)}a=c}else a=!1;return a};_.g=uQ.prototype;_.g.j_a=function(){this.W.forEach(function(a){a.H--})};_.g.OJa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};
_.g.L4=function(){return this.W.length};_.g.qX=function(){this.H=1};var T3c=function(a){this.H=a},V3c=function(a,b){return U3c(a,b,null,0,5)},U3c=function(a,b,c,d,e){if(0==e||null==b){var f=new p_c;_.w(f,2,b);_.w(f,1,d);return _.bi(f)}var h=sWc();_.w(h,2,b);c&&_.w(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.Gv();k=d+_.x(k,1);return U3c(a,l,c,k,e-1)})},W3c=function(){this.Mb=[];this.V=this.H=0};
W3c.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 X3c=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},Y3c=function(a){this.W=a;this.V=new SZc(new TZc,_.Kka(a));this.H=new TZc};
Y3c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.Lka(b);c=Z3c(this,a);return b.concat(c,$3c(this,b,a,!0))};
var a4c=function(a,b){var c=$3c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=Z3c(a,c);if(b!=a)throw Error("uf");return c},Z3c=function(a,b){a=a.V;b=_.CGc(b);a.reset();a.update(b);b=a.digest();return _.Lka(b)},$3c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new W3c;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=_.CGc(c.substring(8192*e,8192*(e+1))),X3c(b,a),d+=_.Lka(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;X3c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("vf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=b4c(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=b4c(d,e++),b[a++]=
String.fromCharCode((f&31)<<6|h&63)):239<f&&365>f?(h=b4c(d,e++),k=b4c(d,e++),l=b4c(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=b4c(d,e++),k=b4c(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},b4c=function(a,b){return a[Math.floor(b/8192)][b%8192]},c4c=function(a,b,c){this.H=a;this.W=b;this.V=c};c4c.prototype.getData=function(){return this.H};
c4c.prototype.lp=function(){return this.W};var d4c=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=_.sa(e);_.Da(this.H);_.za(this.H);this.d4=f;this.ha=null;this.ta=this.va=!1;this.Ba=void 0};d4c.prototype.Xw=function(){return this.ma};d4c.prototype.Le=function(){return this.ka};d4c.prototype.xg=function(){return _.sa(this.H)};
var vQ=function(a){if(!a.ha){var b=new _.yM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.lGc(b.digest())}return a.ha},e4c=function(a){return{versionKey:vQ(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.d4}},f4c=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 d4c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:vQ(a)!=d&&(a=null);return a},g4c=function(a,b,c){return[a.Xw(),a.Le(),
b?"#":vQ(a)].join(":")+":"+(c||"")},h4c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};h4c.prototype.getKey=function(){return this.H};h4c.prototype.kb=function(){return this.V};
var i4c=function(a,b){return{k:g4c(b,a.global,a.H),v:a.V}},j4c=function(a,b){a=g4c(a,b);return eWc(a+"A",a+"z")},k4c=function(a,b){this.p8=a;this.o8=b},l4c=function(a){return a?new k4c(a.versionKey,a.versionChangeTimestamp):null},m4c=function(a,b){return a+":"+b},n4c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.cV=void 0===e?null:e},o4c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.cV}},p4c=function(a,b,c,d){a=vQ(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Gy(":%02d",c)},q4c=function(a,b,c,d){c=p4c(a,b,void 0===c?0:c,d);a=vQ(a)+"_"+b;3==b&&(a+="_"+d);return eWc(c,a+":a")},r4c=function(a){var b=vQ(a)+"_";a=vQ(a)+"_A";return eWc(b,a)},s4c=function(a){return a?new n4c(a.data,a.index,a.size,a.timestamp,a.e):null},t4c={TNb:"Versions",MVa:"Metadata",MCb:"Data",aWa:"Offline"},wQ=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.O.call(this);var e=this;this.V=null;this.mb=a.then(function(f){e.V=f});this.hb=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.yb=new _.ke(this);this.Na(this.yb);this.va=null};_.K(wQ,_.O);wQ.prototype.initialize=function(){return u4c(this)};
var u4c=function(a,b){a.ha||(a.ha=_.ii(),a.mb.then(function(){b?(a.Ha=!1,v4c(a,b),w4c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.va=a.ma.W(106004)),w4c(a,"Opening database GoogleDriveDs (version 2)"),_.pHc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).Uf(a.Ua.bind(a),a.Ba.bind(a)),_.Xi(2E4).then(a.Oa.bind(a)))},function(c){a.ha.reject(new _.sb("Database version error",void 0,_.zM(c)?c:void 0))}));return a.ha.promise},v4c=function(a,b){a.H=b;a.yb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.yb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};wQ.prototype.Ma=function(a,b){w4c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Ga(b.H.objectStoreNames,function(c){return _.bMc(b,c)});_.tf(t4c,function(c){var d=_.xJc.get(c);_.mHc(b,c,d?{keyPath:d}:void 0)})};
wQ.prototype.Ba=function(a){var b;a&&a instanceof _.GM&&"InvalidStateError"==a.getName()&&_.Pj.av?b=Error("wf"):_.zM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);x4c(this,!1)};wQ.prototype.Ua=function(a){this.ta?a.dispose():(v4c(this,a),this.Na(this.H),this.Ea||y4c(this).Zf(function(){}),w4c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),x4c(this,!0))};
var x4c=function(a,b){if(a.va){var c=a.va,d=_.A(_.aP(c),nUc,5);d||(d=new nUc,c=_.aP(c),_.H(c,5,d));d=_.w(d,1,2);d=_.w(d,2,a.V.W);d=_.w(d,5,a.V.va);b=_.w(d,3,b);b=_.w(b,4,a.Ka);_.w(b,6,a.V.Ba);a.va.V();a.va=null}};wQ.prototype.Oa=function(){this.H||this.zg()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("xf")))};wQ.prototype.ka=function(a){w4c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ha&&this.H.close())};wQ.prototype.zg=function(){return this.ta};
var z4c=function(a){return a.ta?a.W:null},xQ=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ea&&"readonly"!=c)return null;a=a.H;try{return _.nHc(a,[b],c)}catch(d){return null}},y4c=function(a){var b=xQ(a,"Versions","readwrite");if(!b)return _.ci(Error("yf"));_.gHc(b.objectStore("Versions"),e4c(a.V));return b.wait().then(function(){})},A4c=function(a){if(!a.H)return _.ci(Error("zf"));if(a.zg())return _.ci(Error(a.W));var b=xQ(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(vQ(a.V)).then():
_.ci(Error("Af"))},B4c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=s4c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("Bf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("Cf")),0;var e=d[0].size;if(!e)return b.reject(Error("Df")),0;if(e>d.length)return b.reject(Error("Ef`"+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("Ff`"+e)),0;if(c&&a<c)return b.reject(Error("Gf`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},D4c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.ci(Error("Hf"));if(a.zg())return _.ci(Error(a.W));var e=q4c(a.V,b,0,c),f=xQ(a,"Data");if(!f)return _.ci(Error("If"));e=f.objectStore("Data").getAll(e);var h=_.ii();e.Uf(function(k){k=B4c(k,h,d);a.Ea||null==k||C4c(a,b,c,k).Zf(function(){})},h.reject);return h.promise},F4c=function(a,b,c,d,e){if(a.H){if(a.zg())return _.ci(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.ci(Error("Jf"))}else return _.ci(Error("Kf"));var f=Date.now(),h=b.length;b=b.map(function(n,p){return{key:p4c(a.V,c,p,d),data:new n4c(n.getData(),p,h,f,e),metadata:n}});var k=xQ(a,"Data","readwrite");if(!k)return _.ci(Error("Lf"));var l=k.objectStore("Data");b.forEach(function(n){var p=E4c(a,c,d,n.metadata);_.gHc(l,o4c(n.data),n.key).then(function(){if(p){var t=LUc(p);_.w(t,1,!0);p.V()}},function(t){t=t instanceof _.GM?t.code:_.OGc;if(p&&a.ma){var u=LUc(p);u=_.w(u,1,!1);t=_.bP(_.iJc,t);
_.w(u,2,t);p.V()}})});return k.wait().then(function(){})},E4c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=LUc(a);b=_.bP(_.hJc,b);b=_.w(e,3,b);c=_.bP(_.eJc,c);c=_.w(b,4,c);b=d.V;_.w(c,5,null==b?0:b?2:1);void 0!=d.lp()&&(c=LUc(a),d=d.lp(),_.w(c,6,d))}return a}return null},C4c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.zg())return _.ci(Error(a.W));if(3==b&&void 0==c)return _.ci(Error("Mf"))}else return _.ci(Error("Nf"));b=q4c(a.V,b,d,c);a=xQ(a,"Data","readwrite");if(!a)return _.ci(Error("Of"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},G4c=function(a){if(!a.H)return _.ci(Error("Pf"));if(a.zg())return _.ci(Error(a.W));var b=r4c(a.V);a=xQ(a,"Data","readwrite");if(!a)return _.ci(Error("Qf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
wQ.prototype.getMetadata=function(a){if(this.H){if(this.zg())return _.ci(Error(this.W));if(a&&0==a.length)return _.ci(Error("Rf"))}else return _.ci(Error("Sf"));var b=this.V,c=xQ(this,"Metadata");if(!c)return _.ci(Error("Tf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(g4c(b,h.global,h.key)).then())});a=_.gi(e)}else a=_.gi([d.getAll(j4c(b,!1)).then(),d.getAll(j4c(b,!0)).then()]).then(function(h){return EQc(h[0],h[1])});var f=_.ii();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]!=vQ(b)||l[0]!=b.Xw()||l[1]!=String(b.Le())?null:new h4c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var H4c=function(a,b){if(a.H){if(a.zg())return _.ci(Error(a.W));if(0==b.length)return _.ci(Error("Uf"))}else return _.ci(Error("Vf"));var c=xQ(a,"Metadata","readwrite");if(!c)return _.ci(Error("Wf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.gHc(d,i4c(f,a.V)).then())});return _.gi(e).then(function(){})},I4c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.zg())return _.ci(Error(a.W))}else return _.ci(Error("Yf"));var c=a.V;a=xQ(a,"Metadata","readwrite");if(!a)return _.ci(Error("Zf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(j4c(c,!1)).then());b&&d.push(a.remove(j4c(c,!0)).then());return _.gi(d).then(function(){})},J4c=function(a){if(!a.H)return _.ci(Error("$f"));if(a.zg())return _.ci(Error(a.W));var b=m4c(a.V.Xw(),a.V.Le());return(a=xQ(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return l4c(c)}):_.ci(Error("ag"))},K4c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.ci(Error("bg"));if(a.zg())return _.ci(Error(a.W));var c=a.V,d=m4c(c.Xw(),c.Le());
b=new k4c(vQ(c),b?Date.now():void 0);a=xQ(a,"Offline","readwrite");if(!a)return _.ci(Error("cg"));_.gHc(a.objectStore("Offline"),{versionKey:b.p8,versionChangeTimestamp:b.o8},d);return a.wait().then(function(){})};wQ.prototype.Sl=function(a){var b=this;return this.H?this.zg()?_.ci(Error(this.W)):J4c(this).then(function(c){var d=vQ(b.V);if(c)if(a){if(!c.o8&&d==c.p8&&d!=vQ(a))return K4c(b,!0);if(c.o8&&d==vQ(a))return K4c(b)}else{if(d!=c.p8)return K4c(b)}else if(!a)return K4c(b)}):_.ci(Error("dg"))};
var L4c=function(a){if(!a.H)return _.ci(Error("eg"));if(a.zg())return _.ci(Error(a.W));var b=a.V,c=m4c(b.Xw(),b.Le());return J4c(a).then(function(d){if(d&&(d=xQ(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
wQ.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.zg()?_.ci(Error(this.W)):J4c(this).then(function(c){var d=c&&c.p8==vQ(b.V);return d&&!a?!1:(c&&d?L4c(b):_.bi()).then(function(){return _.gi([I4c(b,a),G4c(b),A4c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.ci(Error("fg"))};wQ.prototype.close=function(){this.ka("Closing database")};
var w4c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},M4c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.qc(t4c).every(function(c){return b&&b.contains(c)})},N4c=function(){var a=_.ii();_.pHc("GoogleDriveDs").Uf(function(b){b?M4c(b)?a.resolve(b):(b.close(),_.ji(fWc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},O4c=function(a,b,c){var d=_.ii();a?_.nHc(a,["Versions"],"readonly").objectStore("Versions").getAll().Uf(function(e){e=
_.qc(e).map(function(f){return f4c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.Xw()==b)&&(!c||f.Le()==c)}))},d.reject):d.resolve([]);return d.promise},P4c=function(a,b,c){var d=_.ii();N4c().then(function(e){e?_.nHc(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return l4c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.o8&&(h=c+f.o8-Date.now());var k=_.nHc(e,["Versions"],"readonly");k.objectStore("Versions").get(f.p8).then(function(l){(l=
f4c(l))?(l.va=!0,0>h?l.ta=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.ni(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},Q4c=function(a,b,c){var d=_.ii(),e=new wQ(_.bi(a),b);u4c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},R4c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=Q4c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.gi(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+vQ(l)))});d.resolve(k)})},S4c=function(a,b,c){var d=Date.now()-12096E5,e=_.ii();N4c().then(function(f){f?(_.ji(e.promise,function(){return f.close()}),O4c(f,a,b).then(function(h){return h.filter(function(k){return k.d4<d})},function(){return[]}).then(function(h){R4c(h,c,f,e)})):e.resolve([])});return e.promise},T4c=function(a,b,c){var d=_.ii();N4c().then(function(e){e?
(_.ji(d.promise,function(){return e.close()}),O4c(e,a,b).then(function(f){R4c(f,c,e,d,!0)})):d.resolve([])});return d.promise},U4c=function(a,b,c,d){if(a.length){var e=a.shift(),f=p4c(e,3,0,1);try{_.nHc(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=s4c(h))&&(!h.cV||h.cV&&d.has(e.V))?b.resolve(e):U4c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},V4c=function(a,b,c,d,e,f,h){var k=_.ii();N4c().then(function(l){l?(_.ji(k.promise,
function(){return l.close()}),O4c(l,a,b).then(function(n){return n.filter(function(p){return(!h||h!=vQ(p))&&p.W==c&&p.d4>=e&&XQc(d.filter(function(t){return!_.yJc.has(t)}),p.xg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(p,t){return t.d4-p.d4}),U4c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},W4c=function(a,b,c){this.V=a;this.H=_.ii();this.ta=!1;this.W=_.C(b,7,"");this.ka=_.C(_.uP(b),6,2E7);this.ha=_.QM(b);this.ma=_.C(_.uP(b),12,0);this.va=
c};W4c.prototype.initialize=function(){var a=this;this.ta||(this.ta=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.ri(this.H.promise)};
var X4c=function(a){if(a instanceof _.uD)return 0;if(a instanceof dQ)return 1;if(a instanceof aVc)return 5;if(a instanceof TP)return 3;if(a instanceof e_c)return 6;throw new _.sb("Unsupported dataShard in getDataType");},Y4c=function(a){if(0==a)return _.uD;if(1==a)return dQ;if(5==a)return aVc;if(3==a)return TP;if(6==a)return e_c;throw new _.sb("Unsupported dataType:"+a+" in getDataTypeCtor");},Z4c=function(a){if(a instanceof TP)return _.C(a,13,0)},$4c=function(a){if(a instanceof TP)return a.Id().length},
a5c=function(a){if(a instanceof TP)return a=_.D(a,6),null!=a?a:void 0},e5c=function(a,b,c){if(0==c.length)return _.bi();var d=X4c(c[0]);c.forEach(function(){});var e=Z4c(c[0]);3==d&&b5c(a,c);var f=!!b;return c5c(a,c).then(function(h){return f?d5c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.ci(Error("gg"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return F4c(a.V,h,d,e,f)})})},c5c=function(a,
b){return new _.ai(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.wc();n.length>a.ka?e=!0:f.push(new c4c(n,$4c(l),a5c(l)))}});if(e){var h=Error("hg"),k=new _.rb;_.LM(k,2);_.AM(k,23);_.w(k,21,h.message);_.zr(k);a.va(k);d(h)}c(f)})},b5c=function(a,b){Z4c(b[0]);b.forEach(function(){});a.ha||f5c(b);g5c(a,b)},yQ=function(a,b,c,d,e){var f=_.ii();a.H.promise.then(function(){return D4c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.li;h[0]&&h[0].cV?h5c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=Y4c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||i5c(k),j5c(k));f.resolve(k)}).Zf(f.reject,f);return f.promise},f5c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].YL().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Id()||[]).forEach(function(h){_.CLc(h,k5c(_.El(h),c,d));_.DLc(h,k5c([h.Lp()],c,d)[0]);var k=k5c([h.XC()],c,d)[0];_.H(h,47,k);k=k5c([_.A(h,_.ql,91)],c,d)[0];_.H(h,91,
k);k=k5c([h.mD()],c,d)[0];_.H(h,95,k);if(h=h.Fw())_.yLc(h,k5c(_.Kk(h,_.ql,2),c,d)),_.zLc(h,k5c(_.Kk(h,_.ql,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});eYc(a[0],e)}},k5c=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)?_.Qk(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.ql,e.Wb(f),c.set(f,e),d.push(e))}else d.push(e)});return d},i5c=function(a){var b=new Map,c=new Map;a[0]&&a[0].YL()&&a[0].YL().forEach(function(d){b.set(d.getId(),
d);d=(new _.ql).Wb(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Id()||[]).forEach(function(e){_.CLc(e,l5c(_.El(e),b,c));_.DLc(e,l5c([e.Lp()],b,c)[0]);var f=l5c([e.XC()],b,c)[0];_.H(e,47,f);f=l5c([_.A(e,_.ql,91)],b,c)[0];_.H(e,91,f);f=l5c([e.mD()],b,c)[0];_.H(e,95,f);if(e=e.Fw())_.yLc(e,l5c(_.Kk(e,_.ql,2),b,c)),_.zLc(e,l5c(_.Kk(e,_.ql,3),b,c))});eYc(d,[])})},l5c=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Qk(c.get(f),e)?d.push(_.Rk(b.get(f))):
d.push(e)}else d.push(e)});return d},g5c=function(a,b){if(a.ma){a=a.ma;for(var c=b.length-1;0<=c;c--)if(_.C(b[c],13,0)){for(var d=[],e=b[c].Id();e.length>a;){var f=_.wa(e,a-1,a);f=dYc(new TP,f);d.push(f)}dYc(b[c],e);d.length&&_.df(_.wa,b,c+1,0).apply(null,d)}}},j5c=function(a){for(var b={},c=1;c<a.length;b={H8:b.H8},c++)if(!_.C(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.C(a[e],13,0);e++)d++;e=a[c-1];d=_.wa(a,c,d);b.H8=e.Id();d.forEach(function(f){return function(h){_.ua(f.H8,h.Id())}}(b));dYc(e,b.H8)}},
d5c=function(a,b,c){if(!_.lIc()&&a.W){var d=new Worker(a.W),e=new _.li;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Jd(Error(k))},!1);c=w_c(new v_c,c);d.postMessage({command:"encrypt",data:{request:c.wc(),key:b}});return e}try{a=[];var f=new Y3c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.qi(a)}catch(k){h=_.si(k)}return h},h5c=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.ka){b.callback(void 0);
return}if(!_.lIc()&&a.W){var f=new Worker(a.W);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 Y3c(c);for(c=0;c<d.length;c++)a.push(a4c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},m5c={key:"rid",global:!0},n5c={key:"ooi",global:!0},o5c={key:"rtds",global:!1},p5c={key:"dct",global:!1},q5c={key:"pc",global:!1},
r5c=function(a){this.H=new _.ai(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},s5c=function(a,b){return a.H.then(function(c){if(c&&!c.zg())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.kb():void 0},function(){})})},zQ=function(a,b,c){return a.H.then(function(d){return d&&!d.zg()?H4c(d,[new h4c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
r5c.prototype.Mr=function(){return s5c(this,m5c).then(function(a){return a?a:null})};var t5c=function(a){return s5c(a,n5c).then(function(b){return"boolean"===typeof b?b:null})};r5c.prototype.tC=function(a){return zQ(this,n5c,a)};
var u5c=function(a){return s5c(a,q5c).then(function(b){return"boolean"===typeof b?b:null})},v5c=function(a){return s5c(a,o5c).then(function(b){return Array.isArray(b)?b:null})},w5c=function(a){return s5c(a,p5c).then(function(b){return"number"===typeof b?b:null})},x5c=function(a,b){G3c.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.va=null;this.Ba=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.K(x5c,G3c);
x5c.prototype.handleError=function(){this.log("Local dump population failed.");WP(this.context.ha,"mrK8ic")};
x5c.prototype.ta=function(){var a=this;if(this.va)return this.va;if(this.context.wb){var b=new _.li;this.va=b;y5c(this).then(function(){var c=_.Kk(_.uP(a.H),sP,11);c=c[0]&&c[0].getKey()||"";return z5c(a,a.context.wb,c,4)}).Zf(function(c){if(_.y(a.H,8,!0))return A5c(a);throw c;}).then(function(){_.QM(a.H)||a.context.V.ma.H.clear();WP(a.context.ha,"zaOY7");b.callback()},function(c){I3c(a,8);a.handleError();b.Jd(c)});return b}this.handleError();return _.si(Error("ig"))};
var y5c=function(a){return a.context.wb.initialize().then(function(){if(!_.zO(a.H)){var b=_.C(_.uP(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.ai(function(c,d){u5c(a.context.Ea).then(function(e){e?c():d(Error("jg"))})})}})},z5c=function(a,b,c,d){var e=a.ha;B5c(a,b,c,e);C5c(a,b,c,e);D5c(a,b,c,e);return E5c(a,b,c,e).then(function(){return Promise.all([F5c(a,b,c,d,e),G5c(a,b,c,d,e),H5c(a,b,c,d,e),I5c(a,b,c,d,e)])})},B5c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
yQ(b,c,0,void 0,d).then(function(f){f[0]?l2c(a.context.Ub,f[0],a.xf(),_.zO(a.H)):e()},function(){return e()})},C5c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};yQ(b,c,1,void 0,d).then(function(f){f[0]?a.context.zc.ota(f[0],a.xf(),_.zO(a.H)):e()},function(){return e()})},D5c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};yQ(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.ny();h.length&&D3c(a.context.Ka,h,
a.xf(),_.ad(f,2),_.zO(a.H))}else e()},function(){return e()})},F5c=function(a,b,c,d,e){var f=new _.ho;yQ(b,c,3,1,e).then(function(h){return J5c(a,h[0])}).then(function(h){if(h){b!=a.context.wb||XQc(h.yi(),_.UO(a.ka),_.yO(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.va.eS());var k=h.Hz();if(!k||0>k)throw Error("mg");B3c(a.context,h.Mr(),d);k=h.Hz();"number"===typeof k&&C3c(a.context,Number(k));_.zO(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.wsa());K5c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},G5c=function(a,b,c,d,e){var f=new _.ho;yQ(b,c,3,2,e).then(function(h){h[0]?(K5c(a,h[0],d),f.resolve()):f.reject(Error("kg"))},f.reject,f);return f.promise},H5c=function(a,b,c,d,e){var f=new _.ho;_.AO(a.H)?yQ(b,c,3,4,e).then(function(h){h.forEach(function(k){K5c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),WP(a.context.ha,"rVezo"));return f.promise},I5c=function(a,b,c,
d,e){var f=new _.ho;_.AO(a.H)?yQ(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){K5c(a,k,d)}):WP(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),WP(a.context.ha,"rVezo"));return f.promise},E5c=function(a,b,c,d){var e=new _.ho;yQ(b,c,6,void 0,d).then(function(f){f=_.v(f);for(var h=f.next();!h.done;h=f.next())h=h.value,h.Rp().length&&(a.log("Importing "+h.Rp().length+" people into the PeopleCache."),h=h.Rp(),L5c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
J5c=function(a,b){var c=b.Hz();return c&&!_.zO(a.H)?V3c(new T3c(a.context.zn()),c).then(function(d){return _.sk(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),I3c(a,9),null):b},function(){return b}):_.bi(b)},A5c=function(a){var b=vQ(a.context.hb.V),c=_.Kk(_.uP(a.H),sP,11).filter(function(d){return _.sk(d,2)});return V4c(_.xO(a.H.nf()),_.yO(a.H),_.C(_.uP(a.H),10,0)||0,_.UO(a.ka),a.ha||0,c.map(function(d){return _.x(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.x(k,1)}),f=new wQ(_.bi(d),a.context.W,null,!0),h=new W4c(f,a.H,function(k){a.context.mb(k)});h.initialize();a.Ba=!0;return z5c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([q5c])}).then(function(k){if(k[0])return k=k[0].kb(),zQ(a.context.Ea,q5c,k)}).then(function(){f.close()})}return _.ci(Error("lg"))})},P5c=function(a,b,c){switch(_.C(b,13,0)){case 1:return M5c(a,b,c);case 2:b=_.A(b,GRc,11);if(!b)throw Error("ng");H3c(a,b);a.V.V?(a.V.Ky(a.xf()),a=[{cache:a.V,changes:tQ(a.context.Ba,
null)}]):a=[];return a;case 3:return N5c(a,b);case 4:return O5c(a,b);default:return null}},M5c=function(a,b,c){var d=[];_.Kk(b,SP,5).forEach(function(e){var f=void 0,h=_.A(e,_.Dl,3);h&&(_.kKc(h),_.D(a.H,67)&&OQc(h,ZQc),_.cN(h,c),f=new UP(h));var k=e.getQuery();if(!_.y(k,48,!1)||_.Kk(a.H,_.re,44).some(function(l){if(!_.y(l,48,!1))return!1;l=YP(a.context.ma,l,!0);return _.Qk(l,k)}))e=new mQ(a.context.Ha,a.context.Oa,a.context.ma,k,f),e.Ky(a.xf()),d.push({cache:e,changes:tQ(a.context.Ba,null)})});return d},
O5c=function(a,b){return _.Kk(b,SP,5).map(function(c){c=new uQ(a.context,a.ka,_.A(c,_.EO,5),!0);c.Ky(a.xf());return{cache:c,changes:tQ(a.context.Ba,null)}})},N5c=function(a,b){if(!_.AO(a.H))return[];var c=_.ad(_.Kk(b,SP,5)[0].getQuery(),33)[0],d=b.Hz()||void 0;b=tQ(a.context.Ba,c);AQ(a.context).addCallback(function(f){f.rka(c,d)});var e=new sQ(a.context.Ha,a.context.Oa,c);e.Ky(a.xf());return[{cache:e,changes:b}]},K5c=function(a,b,c){var d=P5c(a,b,c);d&&0!=d.length?(b.Id().forEach(function(e){_.kKc(e);
_.D(a.H,67)&&OQc(e,ZQc);_.cN(e,c);if(!_.QM(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;Q5c(f,R5c(f,[e]))}e=new UP(e);for(f=0;f<d.length;f++)d[f].cache.update(jQ(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new w3c(f,e.changes));a.log("Imported "+f.L4()+" items into the "+f.getType());var h=null;f instanceof sQ&&(h=f.Bc());a.context.Hd.promise.then(function(){v3c(a.context.Ba,h)})}),1==_.C(b,13,0)&&WP(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.C(b,13,0)+".")};
x5c.prototype.xf=function(){return this.Ba?7:3};var S5c=function(a){_.O.call(this);this.H=a};_.K(S5c,_.O);
var Z5c=function(a,b){T5c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:U5c(a,b);break;case 4:V5c(a,b);break;case 6:W5c(a,b);break;case 2:X5c(a,b);break;case 7:Y5c(a,b);break;case 5:_.Kk(_.A(b,l_c,7),k_c,1).forEach(function(c){return Z5c(a,c)});break;default:$5c(a,"Unsupported prefetched request.")}},U5c=function(a,b){var c=_.A(b,_.re,2);b=JSON.parse(_.x(b,3)||"{}");var d=new _.BM;_.QJc(d,c);b=_.COc(a.H.Lb.V,d,{headers:{},text:"",json:b}).Rq();a6c(a,
c,b)},W5c=function(a,b){a6c(a,_.A(b,_.re,2),_.A(b,_.lD,9))},a6c=function(a,b,c){for(var d=c.Id(),e=_.v(d),f=e.next();!f.done;f=e.next())_.cN(f.value,7);c=Z2c(c);a=a.H.V;b=YP(a.H.ma,b);e=BQ(a,b);CQ(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new DQ(a.H,b),f.Ky(2),a.W[e]=f);c.uc()||f.hqa(c);oP(a,d,1,b)},X5c=function(a,b){b=_.A(b,_.sp,5);var c=a.H.H.Ff();c=c&&_.ad(c,30)||[];var d=new Set(c);b.ny().forEach(function(e){(e=(e=e.getKey())&&_.rp(e))&&d.add(e)});D3c(a.H.Ka,
b.ny(),2,[].concat(_.oc(d.values())))},V5c=function(a,b){a.H.qj.V(_.A(b,gQ,8).Cj(),_.A(b,_.wp,6),2,!1)},Y5c=function(a,b){var c=_.A(b,_.tp,10);b=JSON.parse(_.x(b,3)||"{}");b=_.COc(a.H.Lb.V,c,{headers:{},text:"",json:b});b6c(a.H).V([b],c,2,!1)},$5c=function(a,b,c){var d=c?void 0:_.zr(_.MM(_.LM(new _.rb,2),6));a.H.dispatchEvent(new _.tb(new _.sb(b,d,c)));T5c(a,"Prefetched request population failed.")},T5c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},EQ=function(a){G3c.call(this,
a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.C(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.K(EQ,G3c);EQ.prototype.ta=function(){if(!_.y(this.context.H,45,!1))return I3c(this,5),this.ha(),_.si(Error("og"));this.log("Drive SDK cache population initiated.");return this.context.Vl().addCallback(this.Ha,this).addCallback(this.Ea,this).Se(this.ha,this)};
EQ.prototype.Ha=function(){var a=this;WP(this.context.ha,"L6uQWd");AQ(this.context).addCallback(function(b){b.a8()});if(_.y(this.context.H,46,!1))return IRc(this.context.zn(),this.context.W).addCallback(function(b){if(!b)throw I3c(a,4),Error("pg");H3c(a,b)});this.log("Subscribed corpus cache population disabled.");A2c(this.V);return _.qi()};
EQ.prototype.Ea=function(){var a=this;this.context.wsa();var b=new _.li;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.zd();c.ej(this.Ba);this.V.Ky(5);c6c(this,this.V,c)}c=_.Kk(this.context.H,_.re,44);_.Ga(c,function(d){d=new mQ(a.context.Ha,a.context.Oa,a.context.ma,d);d.Ky(5);c6c(a,d,d.zd());d=ZP(a.context.ma,d.zd());a.log("Starting "+d+" cache hint corpus cache population.")});_.gi(this.ka).then(b.callback,this.va.bind(this,b),b);return b};
var c6c=function(a,b,c){var d=tQ(a.context.Ba,null);b=new k3c(a.context,b,c);a.H.push(b);b=_.ji(l3c(b).then(function(e){!e.V&&e instanceof rQ&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Ma.Rb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new w3c(e,d))}),function(){a.context.Hd.promise.then(function(){v3c(a.context.Ba,null)})});a.ka.push(b)};
EQ.prototype.va=function(a,b){_.Ga(this.H,function(d){d.dispose()});I3c(this,7);var c=b;b instanceof cQ?c=_.mN(b.error):_.zM(b)||(c=Error("qg`"+b));a.Jd(c)};EQ.prototype.ha=function(){this.log("Drive SDK cache population failed.");WP(this.context.ha,"Gv4zef")};EQ.prototype.xf=function(){return 5};
var d6c=function(a,b){_.O.call(this);this.H=a;this.ka=b;this.ma=new _.ke(this);this.Na(this.ma);this.W=new x5c(this.H,this.H.Ua);this.Na(this.W);this.ha=new EQ(this.H);this.Na(this.ha);this.V=null;this.ta=[]};_.K(d6c,_.O);
var k6c=function(a){e6c(a,"Corpus cache population initiated.");a.V=a.H.ta.W(106002);_.m._DRIVE_dsp&&f6c(a);_.m._DRIVE_dspc=function(c){return f6c(a,c)};tQ(a.H.Ba,null);_.y(a.H.H,24,!1)&&!_.zO(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?g6c(a):_.m._DRIVE_ivdc=function(){g6c(a)});var b=a.H.wb;b?(a.ma.listen(a.W,"Lb",a.va),a.ma.listen(a.ha,"Lb",a.va),(!_.y(a.H.H,10,!1)&&_.D(a.H.H,69)?a.H.Ad.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){e6c(a,"Dump storage initialized.");
return a.W.ta().Uf(function(){return h6c(a,a.W.xf())},function(){i6c(a,a.W.xf(),a.W.W);if(_.zO(a.H.H))j6c(a,Error("rg"));else return a.ha.ta().then(function(){return h6c(a,a.ha.xf())},function(c){i6c(a,a.ha.xf(),a.ha.W);return j6c(a,c)})})},function(c){j6c(a,_.zM(c)?c:void 0,!0)})})):j6c(a,void 0,!0)},f6c=function(a,b){var c=new S5c(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{Z5c(c,new k_c(JSON.parse(d)))}catch(e){$5c(c,"Error parsing prefetched request.",
e)}});c.dispose()};d6c.prototype.va=function(a){var b=a.hd;e6c(this,"Cache populated: "+b.getType());this.ta.push(l6c(this,b,a.H))};
var h6c=function(a,b){v3c(a.H.Ba,null);WP(a.H.ha,"L6uQWd");AQ(a.H).addCallback(function(c){c.a8()});return Promise.all(a.ta).then(function(){return m6c(a,b)})},n6c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},m6c=function(a,b){if(!a.isDisposed()){_.zO(a.H.H)||o6c(a.ka,_.Kk(a.H.H,_.re,44));e6c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.va.xsa():u5c(a.H.Ea).then(function(d){d&&a.H.va.xsa()},function(){});WP(c,"rVezo");WP(c,"BNEDtc");a.V&&(b=_.bP(_.bJc,b),jUc(KUc(a.V),
b),iUc(KUc(a.V),!0),kUc(KUc(a.V),CZc(a.ka.V)),lUc(KUc(a.V),n6c(a)),a.V.V());a.dispose()}},i6c=function(a,b,c){a.V&&(b=_.bP(_.bJc,b),jUc(KUc(a.V),b),a=KUc(a.V),_.Ik(a,3,c,void 0))},j6c=function(a,b,c){c=void 0===c?!1:c;v3c(a.H.Ba,null);var d=a.H.ha;WP(d,"L6uQWd");AQ(a.H).addCallback(function(e){e.a8()});WP(d,"mrK8ic");WP(d,"Gv4zef");WP(d,"rVezo");WP(d,"BNEDtc");a.H.Ma.Rb("CachedCorpusType","partialCorpus");d=!!a.W.context.wb||_.y(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",
_.zM(b)?(d=b,c+=d.message):c+=String(b),e6c(a,c),b=new _.sb(c,void 0,d),d=b.Ig,_.LM(d,_.zO(a.H.H)?3:1),_.MM(d,6),_.xr(d,c),_.zr(d),a.H.dispatchEvent(new _.tb(b))):e6c(a,"Corpus population skipped");a.V&&(iUc(KUc(a.V),!1),a.V.V());a.dispose()},l6c=function(a,b,c){return x3c(b,c).then(function(d){d.some(function(e){return b instanceof sQ&&e.mj()&&e.Lc()==b.Bc()})||E3c(a.ka,b,d)},function(){return j6c(a,Error("sg"))})},g6c=function(a){if(_.m._DRIVE_ivd){var b=new y3c(a.H,a.H.Ua);a.Na(b);F3c(b)}else WP(a.H.ha,
"DEJoH")},e6c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},p6c=function(a,b){_.Li.call(this,"Mb");this.ka=a;this.H=b};_.K(p6c,_.Li);p6c.prototype.getError=function(){return this.H};var q6c=function(a){_.Li.call(this,"Nb");this.H=a};_.K(q6c,_.Li);q6c.prototype.getPeople=function(){return this.H};var r6c=function(a){_.Li.call(this,"Ob");this.H=a};_.K(r6c,_.Li);r6c.prototype.getPeople=function(){return this.H};
var s6c=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())};s6c.prototype.om=function(){return this.ha.clone()};s6c.prototype.xf=function(){return this.H};s6c.prototype.Cn=function(){return[1,4,2].includes(this.xf())};var t6c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
t6c.prototype.create=function(a,b){if(0!=OUc(b)){var c=this.V.W(106001);if(c){var d=OUc(b),e=wP(c);_.w(e,2,d);d=null;if(b instanceof _.FH||b instanceof _.mp||b instanceof _.re||b instanceof _.PN||b instanceof _.$D||b instanceof _.up||b instanceof _.EO||b instanceof _.cO||"undefined"!=typeof _.dO&&b instanceof _.dO||b instanceof _.wp)d=b.De();b=d&&_.y(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=wP(c),_.w(d,7,b));this.H.set(a,c)}}};
var u6c=function(a,b,c){if(a=a.H.get(b))a=wP(a),_.w(a,5,c)},v6c=function(a,b,c,d,e){var f=a.H.get(b);f&&(wP(f).Dc(c),c=wP(f),_.w(c,1,d),null!=e&&(d=wP(f),_.w(d,6,e)),f.V(),a.H.delete(b))},w6c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Ib(c);c=PUc(c);if(1==e||2==c)e=_.bP(_.bJc,c),d=wP(d),d=3==e||8==e?!_.D(d,5):0!=e?_.AJc.has(e):null,v6c(a,b,1,e,d)}},x6c=function(a,b,c){var d=a.W.Ib(c);d=_.bP(_.aJc,d||22);var e=PUc(c);e=_.bP(_.bJc,e);v6c(a,b,d,e,"undefined"!=typeof _.fP&&c instanceof _.fP||"undefined"!=
typeof _.hP&&c instanceof _.hP||"undefined"!=typeof _.iP&&c instanceof _.iP?c.W:null)},FQ=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(wP(d).Dc(c),d.V(),a.H.delete(b))},z6c=function(a,b,c,d){_.P.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.xM(function(){return y6c(e)},100,this);this.H=[]};_.K(z6c,_.P);
var y6c=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));A6c(a,b)}})},A6c=function(a,b){a.ha.then(function(c){return c.H(AUc(new _.TN,b))}).then(function(c){c=c.Rp();a.dispatchEvent(new q6c(c))},function(c){c=_.nN(c);a.dispatchEvent(new p6c(b,c))})},C6c=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.ka=new _.ke(this);this.Na(this.ka);this.Ea=b;this.W=
d;this.Ba=e;this.V=!_.y(a,90,!1);(d=_.A(a,ATc,85))||(d=new ATc);this.va=_.C(d,1,864E5);this.ma=new z6c(a,b,c,f);this.H=new Map;this.ta=new _.qF(function(){var k=QUc(h.Ba,106015);if(k){var l=_.A(_.aP(k),qUc,11);if(!l){l=new qUc;var n=_.aP(k);_.H(n,11,l)}_.w(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();L5c(h,k,1);h.ta.Be()});this.ka.listen(this.ma,"Mb",function(k){return B6c(h,k)});this.ha=new Map};_.K(C6c,_.P);
C6c.prototype.get=function(a){var b=this.V?_.Kg():"";this.V&&this.W.create(b,AUc(new _.TN,[a]));var c=this.H.get(a);if(c)return 4==c.xf()||D6c(this,c)?(this.V&&FQ(this.W,b,D6c(this,c)?6:5),E6c(this,a+" queued for refresh."),F6c(this,a)):this.V&&v6c(this.W,b,1,_.bP(_.bJc,10),null),c;this.V&&FQ(this.W,b,5);return null};
var F6c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.QM(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.Be());c=new _.ho;a.ha.set(b,c);return c.promise},H6c=function(a,b){var c=a.V?_.Kg():"";a.V&&a.W.create(c,AUc(new _.TN,[b]));return G6c(a,b)?(a.V&&v6c(a.W,c,1,_.bP(_.bJc,10),null),Promise.resolve(a.H.get(b))):F6c(a,b).then(function(){a.V&&(G6c(a,b)?v6c(a.W,c,1,_.bP(_.bJc,1),null):FQ(a.W,c,3));return a.H.get(b)})};
C6c.prototype.uc=function(){return 0==this.H.size};C6c.prototype.clear=function(){E6c(this,"Clearing the PeopleCache.");this.H.clear()};
var I6c=function(a){return[].concat(_.oc(a.H.values())).filter(function(b){return b.Cn()}).map(function(b){return b.om()})},J6c=function(a,b){return(a=a.H.get(b))?[].concat(_.oc(a.V)):[]},K6c=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(_.oc(e.V)).length&&a.H.delete(d))}},L5c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(E6c(a,"Importing "+b.length+" from "+(Object.keys(c_c)[c]+".")),L6c(a,b,c)):E6c(a,"Attempted to import people data from an invalid source.",
"warning")},N6c=function(a,b,c,d){0!=b.length&&M6c(a,b,c,void 0===d?0:d)},G6c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Cn())||(c=4==b.xf()||D6c(a,b));return!c},M6c=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(_.x(h,1))){var k=d;if(_.x(h,1)!=_.x(f.om(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.xf();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.Qk(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&&F6c(f,_.x(h,1)),k=new s6c(h,l,k),f.H.set(_.x(h,1),k))}return e},D6c=function(a,b){return 1==b.xf()&&Date.now()-Number(b.W)>a.va},E6c=function(a,b,c){a.Ea.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},B6c=function(a,b){b=b.ka.map(function(c){var d=a.H.get(c);return d?d.om():LRc(new nP,c)});L6c(a,b,4)},L6c=function(a,b,c){for(var d=_.v(b),e=d.next();!e.done;e=d.next()){e=_.x(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}M6c(a,b,void 0,c)&&a.dispatchEvent(new r6c(b))},O6c=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.V=new _.ke(this);this.Na(this.V);this.H=new C6c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.K(O6c,_.P);O6c.prototype.aO=function(a){if(a.H){var b=a.H.getItem(),c=R5c(this,[b]).map(function(d){return NRc(d)});N6c(this.H,c,a.H.getId(),P6c(_.x(b,82)))}a.V&&K6c(this.H,a.id,Q6c(this,a))};
var P6c=function(a){return _.BJc.get(a)||0},Q6c=function(a,b){var c=R6c(a,b.V),d=R6c(a,b.H);return c.filter(function(e){return!d.includes(e)})},R6c=function(a,b){return b?R5c(a,[b.getItem()]).map(function(c){return _.EH(c)}):[]},T6c=function(a,b){b=b.getUser();N6c(a.H,[NRc(b)],"ACCOUNT");S6c(a,b)},U6c=function(a,b){var c=_.Kk(b,_.FO,2).map(function(d){var e=_.A(d,_.ql,9,1);return H6c(a.H,_.EH(e)).then(function(){return void Q5c(a,[e])})});return Promise.all(c).then(function(){return b})},Q5c=function(a,
b){b=_.v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.EH(c)&&S6c(a,c)},V6c=function(a,b,c){for(var d=new Set,e=_.v(b),f=e.next();!f.done;f=e.next())f=f.value,_.EH(f)&&(d.add(_.EH(f)),N6c(a.H,[NRc(f)],c));return Promise.all([].concat(_.oc(d)).map(function(h){return H6c(a.H,h)})).then(function(){return Q5c(a,b)})},W6c=function(a,b){return R5c(a,[b]).some(function(c){return!k2c(a,_.EH(c))})},k2c=function(a,b){return G6c(a.H,b)},R5c=function(a,b){return b.map(function(c){var d=c.Fw();d=d?[].concat(_.oc(_.Kk(d,
_.ql,2)),_.oc(_.Kk(d,_.ql,3))):[];var e=c.Ef();e=(e=e&&_.gd(e))?R5c(a,[e]):[];return[].concat(_.oc(_.El(c)),[c.Lp(),c.XC(),_.A(c,_.ql,91),c.mD()],_.oc(d),_.oc(e))}).flat().filter(function(c){return c&&!!_.EH(c)})};O6c.prototype.getItems=function(a){return J6c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var X6c=function(a,b){return b.map(function(c){c=c.clone();var d=R5c(a,[c]);d=_.v(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.w(e,3,void 0),_.w(e,8,void 0),_.w(e,5,void 0);return c})},S6c=function(a,b){var c=a.H.get(_.EH(b));if(c){a=c.om();var d=_.VKc(b.Wc(a.getName()),a.getEmail());c=_.zJc.get(c.H)||1;_.w(d,16,c);(a=_.A(a,MRc,4))&&b.Jn(a.getUrl())}},Y6c=function(){qQ.apply(this,arguments)};_.K(Y6c,qQ);
Y6c.prototype.XF=function(a){var b;if(b=qQ.prototype.XF.call(this,a))a=a&&a.getItem()&&a.getItem().yn(),b=!(!a||!a.Jt());return b};Y6c.prototype.zd=function(){};Y6c.prototype.getType=function(){};Y6c.prototype.BX=function(){};
var Z6c=function(a,b){this.V=a;this.W=b;this.H={}},a7c=function(a,b){if(!_.LN(b)){var c=_.ad(b,33);if(1==c.length)$6c(a,c[0],b);else{c=_.vO(b);if(1==c.length&&!_.y(c[0],2,!1)){var d=c[0].kb();c=a.W.get(d);if(!c){c=a.V.V.va;var e=_.Ie(new _.He,310);c.H([d],e).then(function(f){if((f=f[d])&&f.Bc()){var h=f.getCapabilities();h&&_.cd(h)&&(f=f.Bc(),$6c(a,f,b))}else $6c(a,null,b)});return}if(c.getItem().Bc()&&_.cd(c.getItem().getCapabilities())){c=c.getItem().Bc();$6c(a,c,b);return}}$6c(a,null,b)}}},$6c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!aQ(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(AQ(a.V).addCallback(function(e){e.rka(b)}),b7c(a.V.Fq,b))},c7c=function(a,b){if(!_.LN(b)){var c={},d;for(d in a.H){c.qO=d;for(var e=0;e<a.H[c.qO].length;e++)if(_.Qk(b,a.H[c.qO][e])){_.oa(a.H[c.qO],e);"subscribed"!=c.qO&&AQ(a.V).addCallback(function(f){return function(h){h.Lwa(f.qO,!1)}}(c));return}c={qO:c.qO}}}},d7c=function(){this.H=new Map;this.V=[];this.W=[]};
d7c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.qN(e)&&(a?(e=a.getItem().Ef())&&_.x(e,1)&&(1==_.jd(e)||3==_.jd(e))&&(e=_.x(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&&!_.Qk(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var e7c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},f7c=function(a){a.V=[];a.W=[]},g7c=function(a,b,c,d){_.P.call(this);this.request=a;this.Ha=b;this.Ba=c;this.Ea=d;this.ha=new Set;this.va=0;this.H=null};_.K(g7c,_.P);var h7c=function(a){if(a.H)return a.H.promise;a.H=_.ii();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};g7c.prototype.Ma=function(a,b){this.ka(b);i7c(this,a)};
var i7c=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")};g7c.prototype.Ka=function(a,b){b=_.nN(b);var c=b.Ig;5==c.Mq()||4==c.lj()?(this.Ea.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),i7c(this,a)):(a=new cQ(c,_.C(this.Ba.Ff(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var j7c=function(a,b){g7c.call(this,_.Rk(a),b.zn(),b.H,b.W);this.V=b};_.K(j7c,g7c);
j7c.prototype.W=function(a){var b=new Map;a.nm().forEach(function(c){var d=_.Zva(_.Rk(a),[c]);b.set(c,d)});return b};j7c.prototype.ka=function(a){a=a.Id()[0];oP(this.V.V,[a],1,void 0,!0,this.request.yi())};j7c.prototype.ma=function(a){oP(this.V.V,[],1,a,!1,this.request.yi())};j7c.prototype.ta=function(a){a=_.dN(_.$M(new _.VM,a));this.V.V.ta([a])};var k7c=function(a,b,c,d){nQ.call(this,a);this.W=b;this.Tb=c;this.V={};d&&this.WB(d,!0)};_.K(k7c,nQ);_.g=k7c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=XP(this.context.H)!=XP(this.context.H,this.Tb.yi()),c=[];this.Tb.nm().forEach(function(h){var k=a.V[h];k&&k.getItem().Kk()&&!b||c.push(h)});if(0==c.length)return this.WB([],!1),_.bi();var d=_.Rk(this.Tb);_.Zva(d,c);var e=new j7c(d,this.context),f=_.ii();this.context.ka.Ye()?(this.Yd.listen(this.context.ka,"Cb",function(h){h.Ye()||(a.Yd.Tc(a.context.ka,"Cb"),L2c(a),h7c(e).then(f.resolve,f.reject,f))}),this.H=0<_.yf(this.V)?1:2):(this.context.Bh.Ye()&&
(this.H=0<_.yf(this.V)?1:2),L2c(this),h7c(e).then(f.resolve,f.reject,f));return f.promise};_.g.t$=function(a){return this.context.ma.equals(a,this.Tb)&&TQc(_.UO(this.W),a.yi())};_.g.AX=function(a){var b=new _.cP;b.Dc(this.H);QVc(b,this.xf());RVc(b,_.vf(this.V,function(c){return c?c.getItem():null}));G2c(this,a.yi(),b.Ht());return b};_.g.resize=function(){};_.g.zd=function(){return this.Tb};
_.g.wR=function(a){var b=l7c(this,a.V),c=l7c(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 l7c=function(a,b){return!!b&&a.Tb.nm().includes(b.getId())},DQ=function(a,b,c,d,e){nQ.call(this,a);var f=this;this.Tb=_.Rk(b);this.ha=new d3c(this.context,this.Tb,!1,e);this.va=0;b=this.Tb.ae()&&DYc(this.Tb.ae());e=this.context.Oa;this.ka=b?(0,_.L)(e.compare,e,this.Tb):null;this.vc=!b||!nZc(this.Tb)||_.EM(a.H.nf());this.$b=mZc(this.Tb);this.V=[];this.ta={};this.wb=null;this.Ua=!1;this.hb=[];this.Ba=[];this.Lb=this.Fb=this.mb=null;this.W=0;c&&this.WB(c,!d);this.Ub=null;this.Ka=Date.now();this.Ma=
_.C(a.H.Ff(),16,36E5);_.kO(this.Tb)&&this.Yd.listen(this.context.Nf,"Jb",this.zc);_.wd(this,function(){_.gc(f.ha);m7c(f)})};_.K(DQ,nQ);DQ.prototype.refresh=function(){return n7c(this,!1)};var n7c=function(a,b){a.H=6;if(_.y(a.Tb,48,!1))return a.H=1,_.bi();if(_.kO(a.Tb)){var c=o7c,d=a.context.Nf.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return p7c(a,b)};DQ.prototype.initialize=function(){return this.W>=this.Tb.Qh()||1==this.H?_.bi():this.refresh()};
var m7c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},o7c=function(a,b){_.m.clearTimeout(a.Ub);a.Ub=_.m.setTimeout(function(){return n7c(a,!0)},b)};DQ.prototype.zc=function(){Date.now()-this.Ka>this.Ma&&o7c(this,0)};
var p7c=function(a,b){a.ha&&(a.Yd.Tc(a.ha,"Gb",a.hqa),a.Yd.Tc(a.ha,"Hb",a.OLa),a.ha.dispose());var c=a.Tb.De();c&&_.Je(c,!1);a.ha=new d3c(a.context,a.Tb,b);a.va=0;a.Yd.listen(a.ha,"Gb",function(){return a.hqa(a.ha.ha)});a.Yd.listen(a.ha,"Hb",a.OLa);return q7c(a)},q7c=function(a){var b=_.ii();a.context.ka.Ye()?a.Yd.listen(a.context.ka,"Cb",function(c){c.Ye()||(a.Yd.Tc(a.context.ka,"Cb"),r7c(a,b))}):r7c(a,b);return b.promise},r7c=function(a,b){L2c(a);var c=a.Tb.Qh()+a.va;_.sia(b3c(a.ha,c).Uf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=DQ.prototype;_.g.resize=function(a){var b=0;for(var c=_.v(new Set([].concat(_.oc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=oQ(this.context);d=J2c(e,d).zd();b=Math.max(b,d.Qh())}_.kO(this.Tb)?(this.Tb.ej(b),2!=this.xf()&&!this.ha.H&&(b>this.W||a)?this.refresh():s7c(this)):this.Tb.Qh()!=b&&(this.Tb.ej(b),b>this.W?q7c(this):s7c(this))};_.g.zd=function(){return this.Tb};_.g.t$=function(a){return this.context.ma.equals(a,this.Tb)};
_.g.AX=function(a){var b=a.Qh(),c,d=!1;if(_.MN(this.Tb)){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=_.Il(k.getItem()).filter(function(l){return h.includes(l.om().getId())});k=k.clone();MQc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Il(l.getItem()).length})}d=bRc(e);c=new _.dP;VUc(c,!1);WUc(c,f)}else e=this.V.slice(0,b),c=new _.lD,FTc(c,b<this.V.length||!(this.context.ka.Ye()||this.context.Bh.Ye())&&
1!=this.H),_.H(c,7,this.wb),_.w(c,8,this.Ua),_.WLc(c,this.hb),d=bRc(e);e=ARc(e);G2c(this,a.yi(),e);c.ay(e);c.Dc(d?6:1==this.H||b<=this.W?1:this.context.ka.Ye()||this.context.Bh.Ye()?0<this.V.length?1:2:6);c.B0(this.xf());c.eL(this.mb);c.setSessionId(this.Fb);c.C0(this.Lb);return c};_.g.hqa=function(a){this.wb=a.ma;this.Ua=a.V;this.hb=a.W;this.Ba=a.ha;this.mb=a.ka;this.Fb=a.getSessionId();this.Lb=a.va};_.g.OLa=function(){var a=this.Tb.Qh()-this.W;0<a&&$2c(this.ha)&&(this.va+=a,q7c(this))};
_.g.WB=function(a,b){_.kO(this.Tb)&&m7c(this);var c=!1;a=_.v(a);for(var d=a.next();!d.done;d=a.next())d=jQ(d.value),c=this.wR(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.Ba;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(t7c(this,"ViewCache unsorted after import"),this.context.Oa.sort(this.Tb,this.V));c&&H2c(this)};
_.g.wR=function(a,b){var c=this.ta[a.id],d=!!c,e=u7c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&t7c(this,"Updating different wrapper from the existing one"):t7c(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)?(v7c(this,b),w7c(this,a)):(c=this.V,d=this.ka?_.Ca(this.V,b,this.ka):_.ja(this.V,b),c[d]=a,a.H++,x7c(a)&&this.W++,b.H--,x7c(b)&&this.W--,_.Cf(this.ta,b.getId()),this.ta[a.getId()]=a)):(v7c(this,f),_.kO(this.Tb)&&o7c(this,0));
else{if(_.kO(this.Tb)&&!b)return!1;w7c(this,a.H)}else return!1;return!0};
var w7c=function(a,b){a.ka?FQc(a.V,b,a.ka):a.V.push(b);b.H++;x7c(b)&&a.W++;a.ta[b.getId()]=b},v7c=function(a,b){if(a.ka){var c=a.V,d=_.Ca(c,b,a.ka);0<=d&&_.oa(c,d)}else _.pa(a.V,b);b.H--;x7c(b)&&a.W--;_.Cf(a.ta,b.getId())},u7c=function(a,b,c){if(!b)return!1;if(a.vc&&!_.kO(a.Tb)){if(c)return!0;if(!a.$b){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=pZc(a.context.Ha,a.Tb,b.getItem());return c&&a}}if(!pZc(a.context.Ha,a.Tb,b.getItem()))return!1;var e=1.2*a.Tb.Qh();if(1==a.H||!a.ka||
qYc(b.V,2)||a.W<e||c||yRc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},s7c=function(a){if(1!=a.H&&!a.context.ka.Ye()&&!a.context.Bh.Ye()){var b=1.2*a.Tb.Qh();if(!(b>=a.W||a.ha&&b>=a.ha.qc())){b=a.W-a.Tb.Qh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];qYc(d.V,2)||yRc(d.getItem())||(d.H--,x7c(d)&&a.W--,_.Cf(a.ta,d.getId()),_.oa(a.V,c),b--)}p7c(a,!1)}}},t7c=function(a,b){var c=new _.rb;_.LM(c,2);_.MM(c,6);_.zr(c);a.context.dispatchEvent(new _.tb(new _.sb(b,
c)))},x7c=function(a){return!qYc(a.V,2)&&3!=lP(a.getItem())};DQ.prototype.Ea=function(){s7c(this)};DQ.prototype.Ha=function(a){return 1!=this.H&&a.Qh()>this.W&&this.ha.H};
var y7c=[50],A7c=function(a,b){_.O.call(this);var c=this;this.Ua=new _.ke(this);this.Na(this.Ua);this.H=a;this.Ba=b;this.W={};this.ka=new n3c(a.ma);this.ha=new vZc(a.hf,a.Ha,a.Oa);this.Ha=new d7c;_.D(a.H,60)&&(this.Lb=new Y6c(a.Ha,a.Oa));this.Ea=new eZc(a.W,_.UO(this.Ba));(b=_.PM(this.H.H))&&!_.y(b,1,!1)&&z7c(this,_.ad(this.H.H,28));this.V=new yZc(this.Ba,this.H.ma,this.ha,this.Ea);this.H.ta.ha.H=this.V;this.va=new f3c(this.H,this.Ba,this.W,this.ha);this.Oa=new Z6c(this.H,this.ha);this.Ka=new d6c(this.H,
this);_.wd(this.Ka,function(){c.Ka=null});this.mb=_.gKc(IUc(this.Ba),y7c);VP(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.y(this.H.H,15,!1)||this.H.Fb||b.push("NVkrgc");VP(this.H.ha,b,function(){var d=c.H.H;if(_.A(d,_.Dl,12))d=_.A(d,_.Dl,12);else{var e=_.UKc((new _.ql).Wb(c.H.Fb),!0);e=_.w(e,6,1);e=_.iGc(_.CLc(_.DLc(_.wM((new _.Dl).Wb(c.H.Mr()).setTitle(_.C(d,38,"My Drive")),"application/vnd.google-apps.folder").ao(!1),e),[e]),1);e=_.w(e,29,!0);d=_.w(e,63,!0).In(_.kLc(_.dLc(_.cLc(_.gLc(_.hLc(_.fLc(_.eLc(_.bLc(_.aLc(_.$Kc(_.ZKc(_.YKc(_.XKc(_.WKc(new _.vl,
_.y(d,6,!0)),!1),!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}oP(c,[d],1);WP(c.H.ha,"hVFf7")});this.Ma=_.ii();VP(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new O6c(this.H.H,this.H.W,a.zn(),a.Yj,this.H.ta,this.H.Ad.promise);_.QM(this.H.H)&&this.Ua.listen(this.ma,"Ob",this.Fb);this.wb=new _.uPc(this.H.H,this.V)};_.K(A7c,_.O);
A7c.prototype.Fb=function(a){var b=this,c=a.getPeople();CQ(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.v(c);for(var e=c.next();!e.done;a={d9:a.d9},e=c.next())a.d9=e.value,this.ma.getItems(_.x(a.d9,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();CQ(b,"Unexpected missing wrapper for "+h+" with "+(_.x(f.d9,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});oP(this,[].concat(_.oc(d.values())),1);this.H.va.update(6)};A7c.prototype.initialize=function(){k6c(this.Ka)};
var F7c=function(a,b,c){if(c instanceof _.re)c=YP(a.H.ma,c),B7c(a,c.yi()),a7c(a.Oa,c),a=C7c(a,c),D2c(a.cache,b);else if(c instanceof _.mp)c=D7c(a,c),B7c(a,c.yi()),a=E7c(a,c),D2c(a.cache,b);else if(c instanceof _.EO){var d=BQ(a,c),e=a.W[d];e?(3==e.H?(CQ(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):CQ(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,Mt:!1}):(CQ(a,d+" | ItemQueryRequest backed by new cache"),e=new uQ(a.H,a.Ba,c),e.refresh().Zf(_.bf),
a.W[d]=e,a={cache:e,Mt:!0});D2c(a.cache,b)}else if(c instanceof _.up)d=c.yi(),e=a.Ea,fZc(e,e.V,e.ha,d),a=E7c(a,c),D2c(a.cache,b);else throw Error("tg");return a.Mt},G7c=function(a,b,c){if(c instanceof _.re)c=YP(a.H.ma,c),c7c(a.Oa,c);else if(c instanceof _.mp)c=D7c(a,c);else if(!(c instanceof _.EO||c instanceof _.up))throw Error("tg");c=BQ(a,c);var d=a.W[c];d&&(E2c(d,b),d.isDisposed()&&delete a.W[c])},BQ=function(a,b){return ZP(a.H.ma,b,2)},C7c=function(a,b){var c=BQ(a,b),d=a.W[c];if(d)return 3==d.H?
(CQ(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):CQ(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,Mt:!1};d=[];for(var e=5,f,h,k=o3c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.UE(b);if(5!=e){f=1==e?void 0:b.Qh();d=n.upa(b,f);f=n.xf();h=n instanceof mQ?n.Gv():"";CQ(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.L4()+" | initial "+d.length));break}}5==e&&CQ(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ye()||a.H.Bh.Ye())d=d.concat(a.ha.query(b,
1)),_.za(d,void 0,function(p){return p.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.UE(b)?e.UE(b):6,CQ(a,"Offline: Populate with "+d.length+" initial items(s)");d=new DQ(a.H,b,d,1==e,h);f&&d.Ky(f);d.WB(a.ha.query(b,2),1!=e);d.initialize().Zf(function(p){p=_.NM(p);_.zr(p);a.H.dispatchEvent(new _.tb(new _.sb("Error during view cache init",p)))});a.W[c]=d;return{cache:d,Mt:!0}},E7c=function(a,b){var c=BQ(a,b),d=!1,e=a.W[c];if(e)e.t$(b)?CQ(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.nm()),
b=H7c(a,b,d),d=!0,a.W[c]=b,I7c(e,b),e=b,CQ(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.nm());e=H7c(a,b,f);d=!0;a.W[c]=e;CQ(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,Mt:d}},H7c=function(a,b,c){var d;b instanceof _.mp?d=new U2c(a.H,a.Ba,b,c):d=new k7c(a.H,a.Ba,b,c);c.length&&d.Ky(8);d.refresh().Zf(_.bf);return d},J7c=function(a){return Object.values(a.W).filter(function(b){return b.zd()instanceof _.EO})};
A7c.prototype.hb=function(a){for(var b=_.Ie(new _.He,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),CQ(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.va.H([a],b,!1,c))};
var F2c=function(a,b,c){c&&c.length&&hZc(a.Ea,b,c);_.QM(a.H.H)&&(a=a.ma,Q5c(a,R5c(a,b)))},E3c=function(a,b,c){if(b instanceof uQ){var d=BQ(a,b.zd()),e=a.W[d];if(e){K7c(a,b,e);CQ(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof z2c&&a.ka.removeAll([b]);var f={},h=_.Ef(a.ha.H),k=[];b.mA().forEach(function(n){var p=n.getId(),t=a.ha.get(p);if(t){var u=lP(t.getItem());3==u||4==u?f[n.getId()]=n.getItem():t!=n&&k.push(N_c(n,t));_.Cf(h,p)}else p=jQ(n),a.ha.update(p),a.Ha.update(p),
_.QM(a.H.H)&&a.ma.aO(p);_.QM(a.H.H)&&L7c(a,n.getItem())});_.tf(h,function(n){k.push(jQ(n))});d=_.v(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof uQ?(d=BQ(a,b.zd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.tf(f,function(n){var p=new _.VM;_.$M(p,n.getId());p.setItem(n);l.push(p)});a.ta(l);CQ(a,"Merged cache: "+b.getType());b instanceof sQ&&c.forEach(function(n){M7c(a.H.th,n)});a.H.va.update(3)},K7c=function(a,b,c){if(c instanceof uQ&&(c=c.mA(),b=b.mA(),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()){CQ(a,"(b/160317444) Inconsistent shared drives list found.");_.$k(Error("ug"));RUc(a.H.ta,160317444);break}}}},I7c=function(a,b){(new Set([].concat(_.oc(a.ma)))).forEach(function(c){D2c(b,c);E2c(a,c)})},oP=function(a,b,c,d,e,f){f||(f=d?[].concat(_.oc(d.yi().filter(function(B){return!_.UO(a.Ba).includes(B)}))):[]);d&&d instanceof _.re&&_.kO(d)&&N7c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],p=new UP(n,void 0,c),t=a.ha.get(n.getId()),u=t?t.getItem():null,z=O7c(a,t,p);if(null!=z)p.FS(z),P7c(a,u,n),xRc(n),n=cZc(n,u,f),p.setItem(n);else if(null!=t)p=t,n=u;else continue;_.QM(a.H.H)&&L7c(a,n);!t||Q7c(a,u,n,f)?(k.push(M_c(t,p)),h.push(p)):h.push(t)}b=null;d&&(b=BQ(a,d),b=a.W[b],d instanceof _.re&&(d=r3c(a.ka,d))&&d.WB(h,!!e),b&&b.WB(h,!!e));0<k.length&&(e=_.qc(a.W),b&&_.pa(e,b),R7c(a,k,e,f),S7c(a,h));oQ(a.H).ka()},L7c=function(a,b){W6c(a.ma,b)||5!=lP(b)||
_.JLc(b,1)},Q7c=function(a,b,c,d){(b=b?_.w(b.clone(),82,void 0):null)&&F2c(a,[b],d);c=_.w(c.clone(),82,void 0);F2c(a,[c],[]);return!_.Qk(b,c)},N7c=function(a,b,c){T7c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(kP(f,d,[1002]),kP(f,d,[1003]),kP(f,d,[1005]),b[e]=f);_.LN(c)&&0<_.ad(c,33).length&&_.KLc(d,_.ad(c,33)[0])})},T7c=function(a,b,c){var d;_.LN(c)?d="quick access":_.MN(c)?d="people predict":_.NN(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");CQ(a,"Got "+
b.length+" items for "+d+": "+c)},U7c=function(a,b){var c={};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.tf(c,function(d,e){e=Number(e);oP(a,ARc(d),e)})};
A7c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.mj()?null:d.getItem(),f=d.Lc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new UP(e,void 0,void 0,d.Hz()||void 0);var l=O7c(this,f,k);if(null==l)continue;k.FS(l);P7c(this,h,e);_.y(d,5,!1)&&OQc(e,ZQc);xRc(e);e=cZc(e,h);k.setItem(e);_.QM(this.H.H)&&L7c(this,e)}l=this.H.Fq;M7c(l.H.th,d);if(aQ(d)){var n=d.Bc();d.mj()?V7c(l,n):(d=d.getItem(),dZc(d)&&W7c(l,n))}(h&&!e||e&&Q7c(this,h,e,[]))&&b.push(M_c(f,k))}R7c(this,b,
_.qc(this.W),[])};
var P7c=function(a,b,c){b&&!c.yn()&&kP(c,b,a.mb);var d=b?b.Ef():null,e=c.Ef();e=e?_.gd(e):null;d&&e&&P7c(a,_.gd(d),e);b&&!_.Hl(c)&&kP(c,b,[1002]);b&&!_.Il(c).length&&kP(c,b,[1003]);b&&!c.CL().length&&kP(c,b,[1005]);b&&null==c.V()&&kP(c,b,[71]);b&&null==_.x(c,79)&&kP(c,b,[73]);b&&_.D(b,31)&&!_.D(c,31)&&(OQc(c,ZQc),CQ(a,"Cleared Item Suggest data for "+b.getId()+"."))},Q2c=function(a,b,c){if(b instanceof _.re||b instanceof _.mp||b instanceof _.EO)b=BQ(a,b),(a=a.W[b])&&K2c(a,c);else throw Error("tg");},
O7c=function(a,b,c){var d=c.getItem();if(X7c(a.H.af,d.getId()))return null;if(b){if(!pYc(b.V,c.V))return null;a=b.getItem();if(3!=lP(a)&&!aQ(a)&&!aQ(d)&&a.Bc()==d.Bc())if(_.x(a,75)&&_.x(d,75)){if(_.x(a,75)>_.x(d,75))return null}else if(b.Hz()&&c.Hz()){if(b.Hz()>c.Hz())return null}else if(a.Er()>d.Er())return null}return rYc(b&&b.V,c.V)},Y7c=function(a,b){(a=a.ha.get(b))&&a.FS(rYc(a.V,-2))},Z7c=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)},R7c=function(a,b,c,d){_.QM(a.H.H)&&b.forEach(function(k){return a.ma.aO(k)});Z7c(a,b,d);c=_.v(c);for(d=c.next();!d.done;d=c.next())I2c(d.value,b);c=0;b=_.v(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=o3c(a.ka);var h=_.v(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.D(a.H.H,60)&&a.Lb.update(e);a.ha.update(e);a.Ha.update(e);a.ha.get(e.id)||jZc(a.Ea,e.id)}0<c&&a.H.va.RLa(c);$7c(a)},$7c=function(a){var b=a.Ha.V.slice(0),c=e7c(a.Ha);f7c(a.Ha);if(b.length){CQ(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.He;_.Ie(d,308);a.va.H(b,d,!0)}if(c.length){CQ(a,"Updating locally stale shortcuts: "+c.join(", "));b=zZc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().Ef(),k=_.x(h,1);if(k=a.V.H(k))_.H(h,5,k),_.w(h,4,1),e.push(f)});U7c(a,e)}},D7c=function(a,b){_.Da(b.yi());var c=_.ja(b.nm(),"root");if(0>c)return b;b=_.Rk(b);b.nm()[c]=a.H.Mr();return b},z7c=function(a,b){b=JUc(a.Ba,b);a=a.Ea;fZc(a,a.H,a.W,b)},B7c=function(a,
b){var c=_.PM(a.H.H);c&&_.y(c,1,!1)&&z7c(a,b)},S7c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==lP(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});CQ(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Ie(new _.He,311);a.va.H(c,d)}})},o6c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!r3c(a.ka,c)){CQ(a,"Adding new cache hint for "+BQ(a,c));var d=new mQ(a.H.Ha,a.H.Oa,a.H.ma,c);c=new k3c(a.H,d,c);var e=tQ(a.H.Ba,null);_.ji(l3c(c).then(function(){x3c(d,
e).then(function(f){E3c(a,d,f)})}),function(){v3c(a.H.Ba,null)})}})})},CQ=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},a8c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},b8c=function(a,b){a=a8c(a);b=a8c(b);return!(!a||!b||a!=b)},c8c=function(a){return a.Lc()+"_"+a8c(a.getName())},d8c=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 q_c;e=_.w(h,1,e);f=d[Number(f)];"fulfilled"==f.status?e.Dc(1):(e.Dc(3),e.$e(f.reason.Ig));return e})})},GQ=function(a,b){_.O.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.K(GQ,_.O);var g8c=function(a,b){a.H.add(b);e8c(a).then(function(){return f8c(a,b)})};GQ.prototype.xf=function(){return this.ka};
GQ.prototype.qta=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Uea(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?h8c(this):_.bi([])};
var h8c=function(a){for(var b=[],c=_.v(a.H.values()),d=c.next();!d.done;d=c.next())b.push(f8c(a,d.value));return _.gi(b)},i8c=function(a,b){a.status=3;for(var c=[],d={},e=_.v(a.H.values()),f=e.next();!f.done;d={Tia:d.Tia},f=e.next())d.Tia=f.value,c.push(a.ha.then(function(h){return function(k){k.Ea[h.Tia]=b;k.V||(k.V=_.Vi(k.ka,50,k))}}(d)));_.gi(c)},j8c=function(a){for(var b=[],c={},d=_.v(a.H.values()),e=d.next();!e.done;c={Uia:c.Uia},e=d.next())c.Uia=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Uia])&&h.rM()}}(c)));_.gi(b).then(function(){var f=0==a.xf()?1:6;a.ka=f})},e8c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=J2c(b,d).zd();c=Math.max(c,d.Qh?d.Qh()||0:0)});a.Sea(c)})},k8c=function(a,b){return b?a.ma.get(a.Lba(b)):null};GQ.prototype.Tea=function(a,b){b=rYc(k8c(this,a),b);this.ma.set(this.Lba(a),b)};GQ.prototype.Lba=function(a){return a};GQ.prototype.fba=function(){};
var f8c=function(a,b){return a.ha.then(function(c){var d=a.M4();c.Ba[b]=d;c.V||(c.V=_.Vi(c.ka,50,c))})};GQ.prototype.removeItem=function(){};var HQ=function(a,b){_.P.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.K(HQ,_.P);
var l8c=function(a){return!a.ma||""!=a.ha},IQ=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&l8c(a)?m8c(a):_.bi()},m8c=function(a){a.ma=!0;a.V=!0;var b=a.J$(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return n8c(a,c)},function(c){a.V=!1;c=_.NM(c);var d=new cQ(c);a.QLa(d);a.dispatchEvent(d);return _.ci(c)})},n8c=function(a,b){a.V=!1;a.ha=a.Yba(b);b=a.rba(b);b.forEach(function(c){return a.H.push(c)});a.N4(b);return a.H.length<a.W&&l8c(a)?_.gi([_.bi(b),m8c(a)]).then(function(c){return c[0].concat(c[1])}):
_.bi(b)};HQ.prototype.N4=function(){};HQ.prototype.QLa=function(){};var o8c=function(a,b,c){HQ.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Zf(function(e){return _.oN(e)})});this.ka=b};_.K(o8c,HQ);_.g=o8c.prototype;_.g.J$=function(a,b,c){a=_.Rk(a);a.ej(b);return new _.sKc(a,c)};_.g.Yba=function(a){return a.pageToken||""};_.g.rba=function(a){return a.response.V()};_.g.N4=function(a){JQ(this.ka,a,!1,1)};
_.g.QLa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&i8c(b,a)};var p8c=function(a,b,c,d){GQ.call(this,a,_.Rk(d));this.V=[];this.W=null;this.va=b;this.ta=c};_.K(p8c,GQ);p8c.prototype.refresh=function(){j8c(this);this.W=new o8c(this.va,this.ta,this.request);return IQ(this.W,this.request.Qh()||100)};var q8c=function(a,b){return a.V.find(function(c){return b8c(c.getName(),b)})};_.g=p8c.prototype;
_.g.Sea=function(a){this.W&&a==this.request.Qh()||(this.request.ej(a),this.W?IQ(this.W,a):this.refresh())};_.g.M4=function(){var a=this,b=$Vc((new EP).Dc(this.status),this.V.filter(function(c){return a.ta.Ira(c)}).map(function(c){return c.clone()}));return new _.gP(b,void 0,void 0,this.xf())};_.g.qta=function(a,b,c){var d=this;a=a.filter(function(e){return e.Lc()==d.request.Lc()});return GQ.prototype.qta.call(this,a,b,c)};
_.g.Uea=function(a,b){b=void 0===b?1:b;if(!pYc(k8c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return b8c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.Tea(a.getName(),b);return!0};_.g.removeItem=function(a){_.qa(this.V,function(b){return b8c(b.getName(),a)})&&(this.ma.delete(this.Lba(a)),h8c(this))};_.g.Lba=function(a){return a8c(a)};_.g.Tea=function(a,b){q8c(this,a)&&GQ.prototype.Tea.call(this,a,b)};
_.g.fba=function(a){var b=this;return a instanceof _.ZN&&a.Lc()!=this.request.Lc()?[]:a.RP().map(function(c){return q8c(b,c.Ml())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var KQ=function(){this.H=new Map},r8c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.M$(c),a.H.set(d,e));g8c(e,b);return f},s8c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Qla(c),a.H.set(d,e));g8c(e,b);return f},t8c=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)))},u8c=function(a,b){return a.H.get(b)},JQ=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.Ira(f)});a.H.forEach(function(f){f.qta(e,
c,d)})};KQ.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};KQ.prototype.fba=function(a){var b=Array.from(this.H.values()).map(function(c){return c.fba(a)});return[].concat.apply([],_.oc(b))};var v8c=function(a,b){a.H.forEach(function(c){c.Tea(b,-2)})};KQ.prototype.Ira=function(){return!0};KQ.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.M$(b),f.ka=c,this.H.set(e,f),JQ(this,a,d))};
var w8c=function(){this.V=new Set;this.W=new Set;this.H=0},x8c=function(a,b){a.V.add(b)};w8c.prototype.ha=function(a){this.V.delete(a)};var y8c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};w8c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var X7c=function(a,b){return a.V.has(b)||a.W.has(b)};w8c.prototype.Z0=function(a){var b=this;return a.filter(function(c){return!X7c(b,c.getId())})};var z8c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new w8c};
_.K(z8c,KQ);var A8c=function(a,b){x8c(a.W,c8c(b));(a=u8c(a,b.Lc()))&&h8c(a)};_.g=z8c.prototype;_.g.getKey=function(a){return a.Lc()};_.g.M$=function(a){return new p8c(this.ha,this.ka,this,a)};_.g.Qla=function(a){return new p8c(this.ha,this.ka,this,a)};_.g.Jib=function(a){a=_.v(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=u8c(this,b.getId()))&&b.refresh()};_.g.Ira=function(a){return!X7c(this.W,c8c(a))};
var B8c=function(a,b){this.V=a;this.H=b},C8c=function(a,b){b=_.BNb(b);var c=new o8c(a.V,a.H,b);new Promise(function(d,e){return IQ(c,100).then(d,e)})},D8c=function(a,b,c){HQ.call(this,a,c);this.ka=b};_.K(D8c,HQ);D8c.prototype.J$=function(a,b){return _.Rk(a).ej(b)};D8c.prototype.Yba=function(){return""};D8c.prototype.rba=function(a){return[a]};D8c.prototype.N4=function(a){this.ka(a)};var E8c=function(a,b,c,d){GQ.call(this,a,_.Rk(d));this.ta=c;this.va=b;this.V=this.W=null};_.K(E8c,GQ);
E8c.prototype.refresh=function(){var a=this;j8c(this);this.V=new D8c(this.request,this.ta,function(b){return a.va.then(function(c){return c.H(b)})});return IQ(this.V,this.request.Qh()||0)};E8c.prototype.Sea=function(a){1==this.status||this.V&&a==this.request.Qh()||(this.request.ej(a),this.V?IQ(this.V,a):this.refresh())};E8c.prototype.M4=function(){if(this.W)return this.W;var a=new HP;a.Dc(this.status);return a};E8c.prototype.Uea=function(a){this.W=a;return!0};
var F8c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.K(F8c,KQ);var G8c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};F8c.prototype.getKey=function(a){return a.toString()};F8c.prototype.M$=function(a){var b=this;return new E8c(this.W,this.ka,function(c){JQ(b,c,!1)},a)};F8c.prototype.Qla=function(){throw Error("vg");};
F8c.prototype.V=function(a,b,c,d){var e=a[0].Cj();G8c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));KQ.prototype.V.call(this,a,b,c,d)};var I8c=function(a){_.O.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.wm;var c=_.ii();this.Ea=c.promise;v5c(this.H.Ea).then(function(d){b.V=d||[];c.resolve();H8c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;VP(this.H.ha,["rVezo"],(0,_.L)(this.ka,this))};_.K(I8c,_.O);
var b7c=function(a,b){_.y(a.H.H,46,!1)&&a.Ea.then(function(){if(a.V[0]!=b){_.pa(a.V,b);for(dZc(a.H.V.V.H(b))?LQ(a,b,"Hidden TD, not tracking in recency list"):_.wa(a.V,0,0,b);a.V.length>2*_.C(a.H.H,47,5);)a.V.pop();zQ(a.H.Ea,o5c,a.V)}_.sa(a.H.V.ka.V).length+a.W.size<_.C(a.H.H,47,5)&&(H8c(a),a.ka())})},W7c=function(a,b){_.pa(a.V,b)&&zQ(a.H.Ea,o5c,a.V)},V7c=function(a,b){W7c(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=_.sa(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.Bc()==b){LQ(a,b,"Cache removed");c.removeAll([f]);a.H.va.update(3);break}}AQ(a.H).addCallback(function(h){h.Lwa(b,!0)});a.ka()};
I8c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;J8c(this);for(var b={};this.ha.qc()&&!(this.ma>=_.C(this.H.H,47,5));){var c=_.xm(this.ha);this.ma++;q3c(a,c)||this.W.has(c)||(this.W.set(c,null),b.h9=new _.EKc,_.w(b.h9,1,c),this.H.zn().then(function(d){return function(e){return e.H(d.h9)}}(b)).then(this.Ba.bind(this,c),this.va.bind(this,c)));b={h9:b.h9}}}};
var H8c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},J8c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){H8c(a);a.ka()},36E5)};I8c.prototype.Ba=function(a,b){var c=_.x(b,1);c&&c>_.C(this.H.H,48,1E3)?(LQ(this,a,"Too large to backfill: "+_.x(b,1)),K8c(this,a,!1)):L8c(this,a)};
I8c.prototype.va=function(a,b){(b=_.NM(b).lj())&&4==b?(LQ(this,a,"Non-existent or inaccessible, removing from cache"),a=_.dN(_.sJc(_.$M(new _.VM,a),a)),this.H.V.ta([a])):L8c(this,a)};
var L8c=function(a,b){var c=new sQ(a.H.Ha,a.H.Oa,b),d=_.Rk(c.zd());d.ej(_.C(a.H.H,48,1E3));d=new k3c(a.H,c,d);a.W.set(b,d);LQ(a,b,"Backfill started");var e=tQ(a.H.Ba,b);AQ(a.H).addCallback(function(f){f.rka(b)});_.ji(l3c(d).then(function(){M8c(a,b,c,e)},function(){LQ(a,b,"Backfill failed");a.ma--;K8c(a,b,!0)}),function(){v3c(a.H.Ba,b)})},M8c=function(a,b,c,d){c.V?(c.qX(),x3c(c,d).then(function(e){LQ(a,b,"Backfill complete, size: "+c.L4());E3c(a.H.V,c,e);K8c(a,b,!1)},function(){LQ(a,b,"Backfill changes failed");
K8c(a,b,!0)})):(LQ(a,b,"Backfill exceeded size limit"),K8c(a,b,!0))},K8c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&AQ(a.H).addCallback(function(e){e.Lwa(b,!1)});a.ka();0<a.W.size||_.sa(a.H.V.ka.V).map(function(e){return e.Bc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return V7c(a,e)})},LQ=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},N8c=function(a){var b=new _.jD;b.Wb(a);return b},O8c=function(a,b,c,d,e){g7c.call(this,
_.Rk(a),c,d,e);this.V=b};_.K(O8c,g7c);O8c.prototype.W=function(a){var b=new Map;a.nm().forEach(function(c){var d=_.Rk(a).Lb([c]);b.set(c,d)});return b};O8c.prototype.ka=function(a){var b=[];a.sP().forEach(function(c){b.push(c)});this.V(b,!0)};O8c.prototype.ma=function(){this.V([],!1)};O8c.prototype.ta=function(a){this.V([N8c(a)],!0)};var P8c=function(a,b,c,d,e,f){GQ.call(this,a,_.Rk(f));this.va=e;this.Ea=b;this.ta=c;this.V={};this.Ba=d;this.W=null};_.K(P8c,GQ);
P8c.prototype.refresh=function(){this.W=new O8c(this.request,this.va,this.Ea,this.ta,this.Ba);return h7c(this.W)};P8c.prototype.Sea=function(){this.W||this.refresh()};P8c.prototype.M4=function(){var a=new _.eP;a.Dc(this.status);_.tf(this.V,function(b,c){a.sP().set(c,b||new _.jD)});vWc(a,this.xf());return a};P8c.prototype.Uea=function(a){var b=a.getId();if(_.Qk(a,N8c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.nm().indexOf(b))return this.V[b]=a,!0;return!1};
var Q8c=function(a,b){a=a.getState();return null==a||b.getState()==a},R8c=function(a,b,c){HQ.call(this,a,c);this.ka=b};_.K(R8c,HQ);R8c.prototype.J$=function(a,b,c){a=_.Rk(a);a.ej(b);return new _.GKc(a,c)};R8c.prototype.Yba=function(a){return a.pageToken||""};R8c.prototype.rba=function(a){return a.response.Cj()};R8c.prototype.N4=function(a){this.ka(a)};var S8c=function(a){this.W=zYc(a,{numeric:!0})};
S8c.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=_.Ba(b.getId(),c.getId())*(a?1:-1);return f};S8c.prototype.V=function(a,b,c){var d=_.x(b,4),e=_.x(c,4),f;d!=e?f=_.Ba(d,e)*(a?1:-1):f=_.Ba(b.getId(),c.getId())*(a?1:-1);return f};var T8c=function(a,b,c,d,e){GQ.call(this,a,_.Rk(e));this.va=d;this.Ba=b;this.W=[];this.V=null;a=new S8c(c);b=(c=_.A(this.request,_.vp,5))?c.getType():0;c=c?c.Kh():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.K(T8c,GQ);T8c.prototype.refresh=function(){var a=this;j8c(this);this.V=new R8c(this.request,this.va,function(b){return a.Ba.then(function(c){return c.H(b)})});return IQ(this.V,this.request.Qh()||0)};T8c.prototype.Sea=function(a){1==this.status||this.V&&a==this.request.Qh()||(this.request.ej(a),this.V?IQ(this.V,a):this.refresh())};T8c.prototype.M4=function(){var a=new gQ;a.Dc(this.status);h_c(a,this.W.map(function(b){return _.Rk(b)}));return new _.cQc(a,void 0,1!=this.status&&l8c(this.V),this.xf())};
T8c.prototype.Uea=function(a){var b=_.qa(this.W,function(c){return c.getId()==a.getId()});return a&&Q8c(this.request,a)&&!_.Qk(a,N8c(a.getId()))?FQc(this.W,a,this.ta):b};var U8c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.K(U8c,KQ);var V8c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};U8c.prototype.getKey=function(a){return a.toString()};
U8c.prototype.M$=function(a){var b=this;return new T8c(this.ha,this.ma,tP(this.W.nf()),function(c){return JQ(b,c,!1)},a)};U8c.prototype.Qla=function(a){var b=this;return new P8c(this.ha,this.ma,this.W,this.ka,function(c,d){return JQ(b,c,d)},a)};U8c.prototype.V=function(a,b,c,d){V8c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));KQ.prototype.V.call(this,a,b,c,d)};var W8c=function(){_.O.apply(this,arguments)};_.K(W8c,_.O);
var Z8c=function(a,b){b=X8c(b);var c=a.getItem(),d=Y8c(c.getCapabilities());b.aY.forEach(function(e){_.iGc(e.getItem(),c.tn());e.getItem().In(d.clone())});return b},b9c=function(a,b,c){var d=$8c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new UP(b),children:[]};a9c(a,d,c);return c},$8c=function(a){var b={};a.map(function(c){c.getItem().Pi().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},a9c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(a9c(a,
b,{H:e,parent:c,children:[]}))});return c},d9c=function(a,b){var c=b.children.filter(function(h){return!_.Fl(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.iGc(f,a.tn()),c9c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.Fl(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},e9c=function(a){var b=a.children.filter(function(f){return!_.Fl(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(_.dN(_.$M(new _.VM,e.getId()))),d.children.map(function(f){_.Fl(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},X8c=function(a){var b=[],c=[];a.forEach(function(d){_.Fl(d.getItem())||_.D(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{QU:c,aY:b}},Y8c=function(a){a=a.clone();var b=null!=_.D(a,34)?_.D(a,34):_.D(a,7),c=null!=_.D(a,35)?_.D(a,35):_.D(a,7);_.w(a,45,c);_.qLc(a,b);_.w(a,30,c);_.lLc(a,b);_.rLc(a,c);_.mLc(a,c);_.nLc(a,b);_.ZKc(a,b);
_.dLc(a,c);_.jLc(a,b);_.iLc(a,_.D(a,7));_.cLc(a,_.D(a,10)||_.D(a,11));_.kLc(a,_.zl(a));_.w(a,18,void 0);_.w(a,13,void 0);_.w(a,10,void 0);_.oLc(a,_.D(a,42));_.pLc(a,_.D(a,43));_.sLc(a,_.D(a,48));return a},c9c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.D(d,30);_.w(e,30,f);_.lLc(e,_.D(d,31));_.rLc(e,_.D(d,47));_.mLc(e,_.D(d,32));_.nLc(e,_.D(d,33));_.ZKc(e,_.D(d,4));_.dLc(e,d.V());_.kLc(e,_.D(d,21));_.jLc(e,_.D(d,20));_.iLc(e,_.D(d,17));_.WKc(e,_.zl(d));_.bLc(e,_.D(d,7));_.eLc(e,
_.D(d,10));_.fLc(e,_.D(d,11));f=_.D(d,45);_.w(e,45,f);_.qLc(e,_.D(d,46));_.sLc(e,_.D(d,48));a=_.Fl(a);_.w(b,137,a);c&&(c=c.getCapabilities(),_.rN(b)?(_.cLc(e,_.D(c,43)),_.pLc(e,_.D(c,43)),_.oLc(e,_.D(c,42))):_.cLc(e,_.D(c,42)))},f9c=function(a){this.H=a;this.ha=new W8c;this.V=a.V;this.W=_.Ie(new _.He,306)},M7c=function(a,b){if(_.AO(a.H.H))if(aQ(b))if(b.mj())g9c(a,b);else{var c=b.Lc(),d=h9c(a,c),e=a.V.V.H(c);b=Z8c(b,d);U7c(a.H.V,b.aY);a.V.va.H(b.QU,a.W);i9c(a,c,"SD update | Update "+b.aY.length+" item(s), "+
b.QU.length+" divergent items");if(d=QUc(a.H.ta,106017)){var f=NUc(d);_.w(f,1,b.QU.length);_.w(f,2,b.aY.length);d.V()}e||(a=a.V.va,c&&(g3c(a,"Processing potential rejoin for TD: "+c),b=_.jN(_.Tl(_.iN(new _.re,[c]),_.UO(a.ma)),1),e=_.Ie(new _.He,306),_.Ul(b,e),i3c(a),b=new d3c(a.V,b),b3c(b,5E3).addCallback(a.ka.bind(a,b)),h3c(a),j3c(a,c)))}else if(_.y(a.H.H,86,!1)){c=b.Lc();e=a.V.V.H(c);if(e&&e.Bc()&&_.rN(b.getItem()||e)){if(d=!!_.Fl(e),!b.mj()){var h=b.getItem();f=_.Fl(e)!=_.Fl(h);h=h.tn()!=e.tn();
d=f||d&&h}}else d=!1;if(d)if(b.mj()){if(b=h9c(a,e.Bc()),e=a.ha,d=(new _.Dl).Wb(c),b=(b=b9c(e,d,b))?e9c(b):[],a.H.V.ta(b),i9c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=QUc(a.H.ta,106009))c=MUc(a),_.w(c,2,b.length),a.V()}else if(c=b.getItem(),e=h9c(a,c.Bc()),d=a.ha,c=b.getItem(),c=(e=b9c(d,c,e))?d9c(c,e):[],U7c(a.H.V,c),i9c(a,b.Lc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=QUc(a.H.ta,106010))b=MUc(a),_.w(b,1,c.length),a.V()}},g9c=function(a,b){var c=b.Lc();b=
h9c(a,c);b=X8c(b);var d=_.pe(b.aY,function(e){return _.dN(_.$M(new _.VM,e.getId()))});a.H.V.ta(d);a.V.va.H(b.QU,a.W);i9c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.QU.length+" divergent items");if(a=QUc(a.H.ta,106016))c=NUc(a),_.w(c,1,b.QU.length),_.w(c,2,b.aY.length),a.V()},h9c=function(a,b){var c=new _.re;_.iN(c,[b]);_.jN(c,2);return BZc(a.V.V,c)},i9c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},j9c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
j9c.prototype.n_=function(a,b){var c=this;if(a.RP().length){var d=u8c(this.H,a.Lc());if(d){var e=d?this.H.fba(a):[];for(var f={},h=_.v(a.RP()),k=h.next();!k.done;f={$G:f.$G},k=h.next())if(k=k.value,f.$G=k9c(e,k.Ml(),a.Lc()),_.D(k,3))A8c(this.H,f.$G),_.ji(b,function(t){return function(){c.H.W.ha(c8c(t.$G))}}(f));else{for(var l=_.v(_.Kk(k,_.xH,2)),n=l.next();!n.done;n=l.next())l9c(this,f.$G,n.value);k=_.v(_.ad(k,4));for(l=k.next();!l.done;l=k.next())m9c(f.$G,l.value);JQ(this.H,[f.$G],!1,-1);b.then(function(t){return function(){return v8c(c.H,
t.$G.getName())}}(f),function(t){return function(){return v8c(c.H,t.$G.getName())}}(f))}e=n9c(d.M4().response)}}e=e?e:n9c();var p=e.V;b.then(function(t){p.resolve(t)},function(t){p.reject(_.nN(t));var u=a.Lc();C8c(c.ha,u);t=_.NM(t);_.w(t,21,"Server error updating metadata after optimistic application.");c.W(t)});return e};
var n9c=function(a){a=void 0===a?new EP:a;return new xYc(a.Dc(1))},k9c=function(a,b,c){var d=a.find(function(e){return b8c(e.getName(),b)});d||(d=FVc((new BP).Wc(b),c),a.push(d));return d},l9c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new zP,d.Wb(c.getId()),EVc(b,b.V().concat([d])),o9c(d,c));if(1==AP(d))d.setBooleanValue(_.D(c,3));else if(12==AP(d))d.setDateStringValue(_.x(c,17));else if(2==AP(d))d.setTextValue(_.x(c,4));else if(3==AP(d))_.ad(c,6).length?d.h7(_.ad(c,
6)):_.ad(c,5).length&&(a=_.ad(d,7).concat(_.ad(c,5)),d.h7(a));else if(4==AP(d))d.setLongTextValue(_.x(c,7));else if(5==AP(d))d.setSelectionValue(_.x(c,8));else if(6==AP(d))_.ad(c,10).length?d.f7(_.ad(c,10)):_.ad(c,9).length&&(a=d.kpa().concat(_.ad(c,9)),d.f7(a));else if(7==AP(d))d.setIntegerValue(_.x(c,11));else if(8==AP(d))_.ad(c,13).length?d.U6(_.ad(c,13)):_.ad(c,12).length&&(a=_.ad(d,12).concat(_.ad(c,12)),d.U6(a));else if(10==AP(d))d.setUserValue(a.V(_.x(c,14)));else if(11==AP(d))_.ad(c,16).length?
BVc(d,_.ad(c,16).map(a.V)):_.ad(c,15).length&&BVc(d,d.XGa().concat(_.ad(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(AP(d)+"."),new _.sb(d,new _.rb);},m9c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==AP(a))_.w(a,5,void 0);else if(12==AP(a))_.w(a,17,void 0);else if(2==AP(a))_.w(a,6,void 0);else if(3==AP(a))a.h7([]);else if(4==AP(a))_.w(a,8,void 0);else if(5==AP(a))_.w(a,9,void 0);else if(6==AP(a))a.f7([]);else if(7==AP(a))_.w(a,11,void 0);else if(8==
AP(a))a.U6([]);else if(10==AP(a))a.setUserValue(void 0);else if(11==AP(a))BVc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(AP(a)+"."),new _.sb(a,new _.rb);},o9c=function(a,b){_.sk(b,3)?a.$x(1):_.sk(b,17)?a.$x(12):_.sk(b,4)?a.$x(2):_.ad(b,6).length||_.ad(b,5).length?a.$x(3):_.sk(b,7)?a.$x(4):_.sk(b,8)?a.$x(5):_.ad(b,10).length||_.ad(b,9).length?a.$x(6):_.sk(b,11)?a.$x(7):_.ad(b,13).length||_.ad(b,12).length?a.$x(8):_.sk(b,14)?a.$x(10):(_.ad(b,16).length||_.ad(b,15).length)&&a.$x(11)};
j9c.prototype.V=function(a){return _.VKc(_.TKc(1),a)};var p9c=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};
p9c.prototype.apply=function(a,b){var c=this;if(!_.jO(a))return b;var d;a instanceof _.BN?d=q9c(this,a,b):a instanceof _.HN?d=r9c(this,b):a instanceof _.RM?d=s9c(this,a,b):a instanceof _.wN?d=t9c(this,a,b):a instanceof _.ZN&&(d=this.ta.n_(a,b));d&&(this.ha++,this.ka.setActive(!1),_.ji(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.bi(d):b};
var q9c=function(a,b,c){x8c(a.V,b.getId());var d=a.H.V.H(b.getId());_.ji(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.NM(e);_.w(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.hO).Dc(1)},r9c=function(a,b){var c=(new _.re).ao(!0);c=a.H.V.query(c).map(function(d){return d.getId()});y8c(a.V,c);_.ji(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.NM(d);_.w(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.hO).Dc(1)},t9c=function(a,b,c){var d=b.Bc(),e=a.H.V.H(d);if(!e)return null;e=_.Rk(e);F2c(a.H,[e],[157]);var f=e.Kk();u9c(f,_.Kk(b,_.Cl,2));v9c(f,_.Kk(b,_.Cl,3));oP(a.H,[e],-1,void 0,void 0,[157]);_.ji(c,function(){Y7c(a.H,d)}).then(function(h){oP(a.H,[h.t2()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.NM(h);_.w(h,21,"Server error updating item after optimistic application.");a.W(h)});return bWc(new aWc,e).Dc(1)},u9c=function(a,b){var c={};b=_.v(b);for(var d=b.next();!d.done;c=
{X8:c.X8},d=b.next())c.X8=d.value,_.Kk(a,_.Cl,8).some(function(e){return function(f){return f.Ml()==e.X8.Ml()}}(c))||_.Ok(a,8,c.X8,_.Cl,void 0)},v9c=function(a,b){var c=b.map(function(d){return d.Ml()});b=_.Kk(a,_.Cl,8).filter(function(d){return!c.includes(d.Ml())});LQc(a,b)},s9c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.Bc()&&0==b.Xh())return null;var e=_.ad(b,10),f=_.ad(b,9);if(0<e.length&&0<f.length&&(e=Object.values(AZc(a.H.V,e.concat(f))).map(function(k){return k.Bc()||"root"}),_.za(e),
1<e.length))return null;var h=_.Rk(d);w9c(a,b,h);oP(a.H,[h],-1,void 0,void 0,HUc(a.va));c.then(function(){return Y7c(a.H,b.getId())},function(){Y7c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.NM(k);if(63==k.lj()){var l=h.getId();_.w(k,22,l);_.w(k,23,f[0])}_.w(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.iMc((new _.hO).setItem(h),h.getId()).Dc(1)},w9c=function(a,b,c){null!=b.wg()&&c.wm(b.wg());null!=b.Ji()&&_.HLc(c,b.Ji());null!=b.Zb()&&_.wM(c,
b.Zb());null!=_.x(b,7)&&_.hGc(c,_.x(b,7));null!=_.D(b,11)&&_.BLc(c,_.D(b,11));null!=_.D(b,4)&&c.ls(_.D(b,4));null!=_.D(b,16)&&_.GLc(c,_.D(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Xh()&&(c.ao(b.Xh()),_.FLc(c,b.Xh()));null!=b.Lq()&&_.kN(wRc(c,!0),b.Lq());_.ad(b,8).length&&_.rO(c,_.ad(b,8));if(_.ad(b,9).length){var d=new Set(c.Pi());_.ad(b,9).forEach(function(n){return d.add(n)});_.rO(c,[].concat(_.oc(d)))}if(_.ad(b,10).length){var e=new Set(c.Pi());_.ad(b,10).forEach(function(n){return e.delete(n)});
_.rO(c,[].concat(_.oc(e)));var f=c.Qq();f&&_.ad(b,10).includes(f)&&_.w(c,46,void 0)}if(!c.Qq()){var h=a.Ea();f=c.Pi().find(function(n){var p=a.H.V.H(n);return p&&!!p.Qq()||n==h});_.w(c,46,f||void 0)}c.Pi().length&&(f=a.H.V.H(c.Pi()[0]))&&_.KLc(c,f.Bc());if(f=_.A(b,_.Al,25)){var k=_.A(c,_.Al,111)||new _.Al;null!=_.D(f,1)&&_.uLc(k,_.D(f,1));null!=_.x(f,2)&&_.vLc(k,_.x(f,2));_.H(c,111,k)}var l=_.ad(c,120);_.ad(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.ad(b,32).forEach(function(n){_.pa(l,
n)});_.w(c,120,l||[])};p9c.prototype.ma=function(a,b){var c=this,d=_.op(new _.mp,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.Rq().Id()[0];oP(c.H,[_.Rk(e)],1)},function(){b&&oP(c.H,[_.Rk(b)],1)})};
var x9c=function(a){return a.getName()||""},y9c=function(a){return a.getId()||""},z9c=function(a){return _.CJc[a.$g()]},A9c=function(a){return _.EJc[a.getType()]},QRc=function(a,b){return[z9c,A9c,x9c,y9c].reduce(function(c,d){var e;0!=c?e=c:e=_.Ba(d(a),d(b));return e},0)},B9c=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};
B9c.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.hO&&8==b.Ib())){if(a instanceof _.fO&&b instanceof _.GO){var d=a.zd();if(d&&_.sk(d,6)){var e=b.Rq();e&&e.Id().forEach(function(f){(f=f.getCapabilities())&&_.tLc(f,_.D(d,6))})}}a instanceof _.vN||a instanceof _.xN||a instanceof _.tKc||a instanceof _.RM||a instanceof _.aO||a instanceof _.CKc||a instanceof _.eO?(b=_.cN(_.Rk(b.getItem()),9),oP(this.H,[b],1)):a instanceof _.BN?(b=_.dN(_.$M(new _.VM,a.getId())),this.H.ta([b])):a instanceof
_.EN?(b=_.dN(_.sJc(_.$M(new _.VM,a.getId()),a.getId())),this.H.ta([b]),M7c(this.ta,b)):a instanceof _.HN?(b=(new _.re).ao(!0),b=this.H.V.query(b).map(function(f){return _.dN(_.$M(new _.VM,f.getId()))}),this.H.ta(b)):"undefined"!=typeof _.zN&&a instanceof _.zN?this.V.remove(a.V()):"undefined"!=typeof _.JN&&a instanceof _.JN||"undefined"!=typeof _.YN&&a instanceof _.YN?this.V.MLa(_.A(b,_.FP,2)):"undefined"!=typeof _.CN&&a instanceof _.CN?PRc(this.H,a):"undefined"!=typeof _.FE&&a instanceof _.FE?this.ha.remove(a.getKey()):
"undefined"!=typeof _.KN&&a instanceof _.KN?RRc(this.H,a,b.i2()):"undefined"!=typeof _.GE&&a instanceof _.GE?C9c(this.ha,b.YDa()):a instanceof _.yN||a instanceof _.bO?JQ(this.ka,[b.V()],!1):a instanceof _.FN?JQ(this.ka,[N8c(a.getId())],!1):a instanceof _.sKc?JQ(this.W,b.response.V(),!1,1):a instanceof _.ZN?(a.RP().filter(function(f){return _.D(f,3)}).forEach(function(f){return c.W.removeItem(f.Ml()||"",a.Lc())}),C8c(this.ma,a.Lc()),this.H.hb(a.Lc())):"undefined"!=typeof _.OO&&a instanceof _.OO&&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.Lc()))f=_.$M(eUc(),f.getId()).setItem(_.Rk(f)),c.H.ta([f])}}})}};var D9c=function(a){this.H=a};
D9c.prototype.V=function(a){if(a instanceof _.VN){var b=this.H.H(a.getId());if(!b)return new _.rb;var c=(new _.RM).Wb(a.getId());if(b.Bc()){var d=b.getCapabilities();_.cd(d)||d.V()?c.ao(!0):_.SM(c,!1)}else d=a.getParent(),1==b.tn()?c.ao(!0):d?(b=this.H.H(d),!b||_.D(b.getCapabilities(),7)?ZTc(c,[d]):_.SM(c,!1)):_.SM(c,!1);return c}if("undefined"!=typeof _.WN&&a instanceof _.WN)return aUc($Tc(ZTc(YTc((new _.RM).Wb(a.getId()),a.G2a()),a.H2a()),a.I2a()),a.F2a());if(a instanceof _.qKc){b=this.H.H(a.getId());
if(!b)return new _.rb;c=(new _.RM).Wb(a.getId());b.Bc()?(d=b.getCapabilities(),_.cd(d)||d.V()?c.ao(!1):_.SM(c,!0)):(d=a.getParent(),1==b.tn()?c.ao(!1):d?(b=this.H.H(d),!b||_.zl(b.getCapabilities())?YTc(c,[d]):_.SM(c,!0)):_.SM(c,!0));return c}return a instanceof _.VO?new _.tKc(a):"undefined"!=typeof _.MQ&&a instanceof _.MQ?a.V().map(function(e){var f=new _.ZN;e=_.w(f,1,e);f=a.RP();e=_.Nk(e,2,f);f=a.De();return _.H(e,3,f)}):a};var E9c=function(){};
E9c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.ON&&a instanceof _.ON?(a=a.getId()||"",_.Ec(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.AN&&a instanceof _.AN&&(a=a.getId()||"",_.Ec(a)&&(b="Tried to delete backup with no id."));return b?_.NM(b):null};
var SRc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},F9c=function(a,b,c,d,e){_.kPc.call(this,a,b,d,e);this.Ba=c;this.ta=new R_c(this.ka,b);this.W=new Y1c(this.eC);this.va=new X0c(this.eC,this.W);this.ha=null};_.K(F9c,_.kPc);var G9c=function(a){a.ha||(a.ha=new L1c(a.ka,a.Ba));return a.ha};
F9c.prototype.ma=function(a,b){if(a instanceof _.sN)return _.ZOc(_.oPc(a));if(a instanceof _.tN)return _.mPc(this,a,b);if(a instanceof _.sKc)return H9c(this,a.request,b);if(a instanceof _.uN)return _.mPc(this,a,b);if(a instanceof _.wN){if(!b.json)throw _.ZO();return bWc((new aWc).Dc(1),Z1c(this.W,b.json))}if(a instanceof _.vN)return _.mPc(this,a,b);if("undefined"!=typeof _.OO&&a instanceof _.OO)return new ZUc;if(a instanceof _.yN)return I9c(a,b);if("undefined"!=typeof _.zN&&a instanceof _.zN)return T0c(void 0,
a.V());if("undefined"!=typeof _.AN&&a instanceof _.AN)return new B_c;if(a instanceof _.BN)return _.ZOc(_.oPc(a));if("undefined"!=typeof _.CN&&a instanceof _.CN)return new fQ;if(a instanceof _.DN)return _.ZOc(_.oPc(a));if(a instanceof _.EN)return _.ZOc(_.oPc(a));if("undefined"!=typeof _.FE&&a instanceof _.FE)return b=new b_c,a=a.getKey(),_.H(b,4,a);if(a instanceof _.FN)return I9c(a,b);if(a instanceof _.HN)return _.ZOc(_.oPc(a));if(a instanceof _.pKc){if(!b.json)throw _.ZO();return new uYc(b.json.exportJob.id)}if("undefined"!=
typeof _.IN&&a instanceof _.IN){if(!b.json)throw _.ZO();a=b.json;b=new YZc;a=S0c(a);return _.H(b,2,a).Dc(1)}if("undefined"!=typeof _.JN&&a instanceof _.JN)return J9c(a,b);if("undefined"!=typeof _.KN&&a instanceof _.KN){if(!b.json)throw _.ZO();a=(new fQ).Dc(1);b=_.$Oc(this.eC,b.json);return _.H(a,2,b)}if(a instanceof _.BM){a:{if(!b.json)throw _.ZO();if(a instanceof _.BM){if((a=a.zd())&&_.LN(a)){b=t1c(this.V,this.H,b.json);break a}if(a&&_.MN(a)){b=s1c(this.V,this.H,b.json);break a}if(a&&_.NN(a)){b=
r1c(this.V,this.H,b.json);break a}}b=_.VOc(this.eC,b.json,b.headers)}return b}if("undefined"!=typeof _.ON&&a instanceof _.ON){if(!b.json)throw _.ZO();return W0c(b.json)}if(a instanceof _.PN){if(!b.json)throw _.ZO();b=b.json;_.WO(["drive#appList"],b);a=new dQ;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(S0c(d[e]));a=_.Nk(a,2,c);return _.w(a,4,b.defaultAppIds||[]).Dc(1)}if("undefined"!=typeof _.QN&&a instanceof _.QN){if(!b.json)throw _.ZO();return V0c(b.json)}if(a instanceof _.TM)return K9c(this,
b);if(a instanceof _.RN){if(!b.json)throw _.ZO();a=new a_c;d=this.eC;e=b.json;c=new xUc;d=_.aPc(d,e,"items");c=_.Nk(c,2,d);a=_.H(a,1,c);return _.w(a,2,EZc(b.json))}if("undefined"!=typeof _.SN&&a instanceof _.SN){if(!b.json)throw _.ZO();a=this.eC;d=b.json;b=new zUc;_.WO(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.XOc(a,d[e]);c.push(f)}return _.Nk(b,2,c)}if("undefined"!=typeof _.SO&&a instanceof _.SO)return L9c(a,b);if(a instanceof _.TN){if(!b.json)throw _.ZO();return X1c(b.json)}if(a instanceof
_.zKc){if(!b.json)throw _.ZO();return P1c(G9c(this),b.json)}if(a instanceof _.wH){if(!b.json)throw _.ZO();a=G9c(this);c=b.json;b=new o_c;a=O1c(a,c);return _.H(b,2,a).Dc(1)}if(a instanceof _.UN){if(!b.json)throw _.ZO();b=b.json;_.WO(["drive#remainingCount"],b);a=new p_c;c=b.nextPageToken;null!=c&&_.w(a,2,Number(c));_.w(a,1,Number(b.remainingCount));return a}if(a instanceof _.up){if(!b.json)throw _.ZO();return(new _.lD).ay([Z1c(this.W,b.json)])}if(a instanceof _.fO){if(!b.json)throw _.ZO();a=(new _.lD).ay($1c(this.W,
b.json));a=_.zMc(new _.GO,a);return _.w(a,3,EZc(b.json))}if("undefined"!=typeof _.YN&&a instanceof _.YN)return J9c(a,b);if(a instanceof _.ZN)return H9c(this,a,b);if(a instanceof _.RM)return _.mPc(this,a,b);if(a instanceof _.$N)return _.mPc(this,a,b);if(a instanceof _.aO)return M9c(this,b);if("undefined"!=typeof _.GE&&a instanceof _.GE){if(!b.json)throw _.ZO();b=b2c(b.json);a=new b_c;a=_.H(a,3,b);b=b.getKey();return _.H(a,4,b)}if(a instanceof _.bO)return I9c(a,b);if(a instanceof _.cO){if(!b.json)throw _.ZO();
return T_c(this.ta,b.json)}if("undefined"!=typeof _.dO&&a instanceof _.dO){if(!b.json)throw _.ZO();b=d2c(b.json);a=new _.eP;a.sP().set(b.getId(),b);return a}if(a instanceof _.rKc){if(!b.json)throw _.ZO();a=b.json;b=new nYc;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":_.Ck(b,2,d);break;case "activities":c=N0c(d),_.Nk(b,1,c)}return b}if(a instanceof _.tKc)return M9c(this,b);if("undefined"!=typeof _.xKc&&a instanceof
_.xKc)return K9c(this,b);if(a instanceof _.uKc){if(!b.json)throw _.ZO();return new tYc}if(a instanceof _.vKc){if(!b.json)throw _.ZO();return VRc(b)}if(a instanceof _.yKc){if(!b.json)throw _.ZO();c=b.json;b=new _.sp;_.WO(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=b2c(c[d]))&&a.push(e);return _.Xva(b,a)}if(a instanceof _.tp){if(!b.json)throw _.ZO();return h2c(this.V,this.H,b.json).Dc(1)}if("undefined"!=typeof _.XN&&a instanceof _.XN){if(!b.json)throw _.ZO();return f2c(this.V,
this.H,b.json)}if(a instanceof _.EKc){if(!b.json)throw _.ZO();a=b.json;_.WO(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new XZc;a=_.w(c,1,a);return _.w(a,2,b)}if(a instanceof _.DKc)return new vYc(EZc(b.json?b.json:{}));if(a instanceof _.FKc)return new wYc;if(a instanceof _.GKc){if(!b.json)throw _.ZO();return e2c(b.json)}};
var I9c=function(a,b){if(!b.json){if(a instanceof _.FN)return i2c({});throw _.ZO();}return i2c(b.json)},M9c=function(a,b){if(!b.json)throw _.ZO();a=Z1c(a.W,b.json);return(new _.hO).Dc(1).setItem(a)},H9c=function(a,b,c){if(!c.json)throw _.ZO();return N1c(G9c(a),b,c.json)},J9c=function(a,b){if(!b.json)throw _.ZO();return T0c(b.json,a.V())},K9c=function(a,b){if(!b.json)throw _.ZO();a=a.va;var c=b.json;_.WO(["drive#about","drive#changeList"],c);b=new $Zc;var d=c.nextPageToken;null!=d&&_.w(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.w(b,3,Number(d));if("drive#changeList"==c.kind){_.WO(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.WO(["drive#change"],h);var k=new _.VM;k=_.w(k,1,Number(h.id));h.teamDriveId?(_.sJc(k,h.teamDriveId),_.$M(k,h.teamDriveId)):_.$M(k,h.fileId);h.file?k.setItem(_.WOc(f.H,h.file)):h.teamDrive&&k.setItem(Z1c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.dN(k);d.push(k)}_.Nk(b,4,d)}return b},L9c=function(a,b){var c=new D_c;if(a.V().length){var d=
[];dRc(a.V(),b.headers).forEach(function(e,f){var h=new _.dGc;e=_.w(h,1,f).Rb(e);d.push(e)});_.Nk(c,1,d)}E_c(c,b.json?JSON.stringify(b.json):b.text);return c},N9c=function(a){var b=new _.uq;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.GJc[a]);_.LO(b,c.join(" "))}return b.toString()},O9c=function(a,b,c,d){_.xPc.call(this,b,c,d,a.wb);this.ma=a;this.ta=new LYc(_.UO(d),b)};_.K(O9c,_.xPc);
O9c.prototype.W=function(a,b,c){var d=this;try{return _.xPc.prototype.W.call(this,a,b,c)}catch(S){}var e=0,f={},h="GET",k={},l=!1;if(a instanceof _.tN){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 _.uN){h="POST";n="files/"+a.Lc()+"/authorize";k.appId=_.x(a,1);_.D(a,3)&&(k.propagate=!0);var t=a.De();l=!0;_.TO(this.H,k);_.lO(this.H)&&_.$O(this,[a.Lc()],
f)}else if(a instanceof _.tKc)h="POST",n="teamdrives/"+a.requestId,k.fields=XP(this.H),p={},p=(p.name=a.request.getTitle(),p),f["content-type"]="application/json",l=!0;else if(a instanceof _.yN)h="POST",n="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",p=HZc(a),f["content-type"]="application/json",t=a.De(),l=!0;else if(a instanceof _.vN)h="POST",n="files/"+a.getId()+"/copy",k.fields=_.fKc({fields:this.xg(c),Qx:_.EM(this.H.nf()),jL:_.QM(this.H)}),k.convert=_.y(a,4,!1),p=GZc(a),
f["content-type"]="application/json",t=a.De(),_.lO(this.H)&&(a=_.ad(a,3).concat([a.getId()]),_.$O(this,a,f)),l=!0,_.TO(this.H,k),_.yPc(this.H,k);else if("undefined"!=typeof _.zN&&a instanceof _.zN)h="DELETE",n="apps/"+a.V(),k.appId=a.V(),k.deleteAppData=!!a.W(),t=a.De(),l=!0;else if("undefined"!=typeof _.AN&&a instanceof _.AN)h="DELETE",n="backups/"+a.getId(),e=9;else if(a instanceof _.BN)h="DELETE",n="files/"+a.getId(),t=a.De(),l=!0,_.TO(this.H,k),_.yPc(this.H,k),_.lO(this.H)&&_.$O(this,[a.getId()],
f);else if("undefined"!=typeof _.CN&&a instanceof _.CN)h="DELETE",n="files/"+a.Lc()+"/permissions/"+a.V(),t=a.De(),l=!0,_.TO(this.H,k);else if(a instanceof _.DN)h="DELETE",n="files/"+a.Lc()+"/revisions/"+_.x(a,2),t=a.De(),l=!0,_.lO(this.H)&&_.$O(this,[a.Lc()],f);else if(a instanceof _.EN)h="DELETE",n="teamdrives/"+a.getId(),t=a.De(),l=!0;else if("undefined"!=typeof _.FE&&a instanceof _.FE)h="DELETE",a=a.getKey(),n="settings/"+_.x(a,2),_.rp(a)&&(k.namespace=_.uJc[_.rp(a)]),l=!0;else if(a instanceof
_.FN)h="DELETE",n="workspaces/"+a.getId(),t=a.De(),l=!0;else if(a instanceof _.HN)h="DELETE",n="files/trash",t=a.De(),l=!0,_.yPc(this.H,k);else if("undefined"!=typeof _.IN&&a instanceof _.IN)n="apps/"+a.V(),t=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 _.ON&&a instanceof _.ON)n="backups/"+a.getId()+"/items",e=9,k.languageCode=tP(this.H.nf());else if("undefined"!=typeof _.JN&&a instanceof _.JN)h="POST",n="apps",k.appId=a.V(),t=a.De(),l=!0;else if("undefined"!=typeof _.KN&&a instanceof _.KN)h="POST",n="files/"+a.Lc()+"/permissions",k.fields=_.QM(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.h7a()||"",k.sendNotificationEmail=!a.W7a(),p={},1==a.$g()?p.role="owner":3==a.$g()?p.role="writer":4==a.$g()?(p.role="reader",p.additionalRoles=["commenter"]):2==a.$g()&&(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.q7a(),f["content-type"]="application/json",t=a.De(),l=!0,_.TO(this.H,k);else if(a instanceof _.pKc)e=
8,h="POST",n="/v1/exports",f["content-type"]="application/json",p=_.ad(a,1).map(function(S){if(_.lO(d.H)){a:{var U=d.ka;if(U.V[S])U=U.V[S];else{if(U.H&&(U=U.H.H(S))&&U.EF()){U=_.Jl(U);break a}U=null}}if(null!==U)return{id:S,resource_key:{resource_key:U}}}return{id:S}}),p={archiveFormat:null,archivePrefix:_.x(a,2),conversions:null,items:p,locale:null};else if(a instanceof _.BM||"undefined"!=typeof _.OO&&a instanceof _.OO||a instanceof _.tp||"undefined"!=typeof _.XN&&a instanceof _.XN)if(b=a instanceof
_.BM?a.zd():a,_.kO(b)){e=10;h="POST";n="/v1/items";f["content-type"]="application/json";p={};var u=9==_.yO(this.H)?"WEB_MOBILE":"WEB_DESKTOP",z={};z.applicationType=UYc(this.H);z.platformType=u;z.languageCode=tP(this.H.nf());z.timeZone=(new _.dx).w2();z.requestType="LIVE_REQUEST";a instanceof _.BM&&(u=a.getOptions())&&_.y(u,10,!1)&&(z.requestType="BACKGROUND_REQUEST");b instanceof _.re?_.LN(b)?(RYc(this.ta)?z.scenarioType="ONE_PICK":z.scenarioType="QUICK_ACCESS",2==_.wO(b)&&(p.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:_.ad(b,33)[0]}),_.uO(b).length&&(p.itemType=TYc(b))):_.MN(b)?z.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.NN(b)&&(z.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.OO&&b instanceof _.OO?(n="/v1/userfeedback",p.userFeedback=b.V().map(function(S){var U=S.V(),ha={},ea={};ea.feedbackType=cWc[U.getType()];ha.item=ea;ha.clientInfo=z;switch(S.getFeature()){case 1:z.scenarioType="DRIVE_PRIORITY";ea.itemId=U.Lc();break;case 3:z.scenarioType="QUICK_ACCESS";ea.itemId=U.Lc();break;case 2:z.scenarioType=
"DRIVE_WORKSPACES",ea.itemId=U.Lc(),ea.childItem=U.V().map(function(Fa){var Aa={};Aa.itemId=Fa.Lc();return Aa})}return ha})):b instanceof _.tp?z.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.XN&&b instanceof _.XN?(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()}]):_.wPc(a);"undefined"!=typeof _.OO&&b instanceof _.OO||(p.maxSuggestions=
b.Qh(),p.clientInfo=z)}else{t=b.De();l=!0;n="files";k.q=_.nNc(b);u=[];var B;(B=_.PM(this.H))&&_.y(B,4,!1)?(B=_.ra(this.xg(c),this.xg(c,b.yi())),_.za(B)):B=_.sa(this.xg(c));_.D(this.H,87)&&111==WRc(a)&&(B=B.filter(function(S){return 1!=S}));var F=void 0,M=!1;0<_.Kk(b,_.Pl,5).length&&(F=_.x(this.H.Ff(),50),M=!0);k.fields=JQc({fields:B,Qx:_.EM(this.H.nf()),i_:F||void 0,jL:_.QM(this.H),seb:M});k.appDataFilter="NO_APP_DATA";0<_.Kk(b,_.tO,25).length&&(k.sources=_.gNc(b));0<b.Jv().length&&(k.spaces=_.hNc(b));
a.Tn()&&(k.pageToken=a.Tn());(a=a.getOptions())&&_.C(a,1,1E3)&&(k.maxResults=_.C(a,1,1E3));_.y(b,36,!1)&&(k.includeUnsubscribed=!0);_.x(b,43)&&(k.rawUserQuery=_.x(b,43));_.TO(this.H,k);_.AO(this.H)&&(k.includeTeamDriveItems=!0,0<_.ad(b,33).length&&2==_.wO(b)&&(a=_.ad(b,33)[0],k.teamDriveId=a,u.push(a)),k.corpora=_.xMc[_.wO(b)]);_.D(b,18)&&(_.Cf(k,"corpora"),k.corpus="DOMAIN");_.lO(this.H)&&(a=_.Kk(b,_.Rl,63),0<a.length?_.zPc(a,f):(a=_.vO(b),B=_.Kk(b,_.sO,35),F=_.Kk(b,_.sO,38),u=u.concat(a.filter(function(S){return!_.y(S,
2,!1)}).map(function(S){return S.kb()})).concat(B.map(function(S){return S.kb()})).concat(F.map(function(S){return S.kb()})),_.$O(this,u,f)));fRc(k,b.ae());_.APc(this.H,k);_.BPc(this.H,k)}else if(a instanceof _.PN){n="apps";switch(a.getType()){case 1:k.fields=_.IJc;break;case 2:k.fields=_.JJc;break;case 4:k.fields=_.KJc;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.ex=!0}k.languageCode=tP(this.H.nf());0<_.ad(a,3).length&&(k.appFilterExtensions=_.ad(a,3).join(","));0<_.ad(a,4).length&&(k.appFilterMimeTypes=_.ad(a,4).join(","));t=a.De();l=!0}else if("undefined"!=typeof _.QN&&a instanceof _.QN)n="backups",e=9,k.languageCode=tP(this.H.nf());else if(a instanceof _.TM)n="changes",k.includeDeleted=_.y(a,3,!0),k.includeSubscribed=_.y(a,4,!0),k.maxResults=_.C(a,2,100),k.startChangeId=_.x(a,1),k.fields=IQc({fields:this.xg(c),i_:_.AO(this.H)?
XP(this.H,a.yi()):void 0,Qx:_.EM(this.H.nf()),jL:_.QM(this.H)}),k.appDataFilter="NO_APP_DATA",a.Bc()||(k.filters="DRIVE_DATASERVICE"),t=_.ad(this.H.Ff(),31),t.length&&(k.spaces=_.pe(t,function(S){return _.fGc[S]}).join(",")),_.TO(this.H,k),_.AO(this.H)&&(k.includeCorpusRemovals=!0,k.includeTeamDriveItems=!0,a.Bc()&&(k.teamDriveId=a.Bc())),t=a.De(),l=!0;else if(a instanceof _.RN)b=a.zd(),n="files/"+b.getId()+"/permissions",k.fields=_.QM(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.Tn()&&(k.pageToken=a.Tn()),_.x(a,1)&&(k.maxResults=_.x(a,1)),t=b.De(),l=!0,_.TO(this.H,k),_.APc(this.H,k),_.BPc(this.H,k),_.lO(this.H)&&_.$O(this,[b.getId()],f);else if("undefined"!=typeof _.SN&&a instanceof _.SN)k.fields=_.QM(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.Qh(),n="files/"+a.Lc()+"/revisions",t=a.De(),l=!0,_.lO(this.H)&&_.$O(this,[a.Lc()],f);else if(a instanceof _.up)n="teamdrives/"+a.nm()[0],k.fields=XP(this.H,a.yi()),t=a.De(),l=!0;else if(a instanceof _.DKc)h="POST",n="admin/files/migrateToTeamDrivePreFlight",p=IZc(a),f["content-type"]="application/json",l=!0,_.lO(this.H)&&_.$O(this,
a.request.V(),f);else if(a instanceof _.fO)t=a.zd(),n="teamdrives",k.fields=BYc(this.H,t.yi()),k.q=CYc(t),a.Tn()&&(k.pageToken=a.Tn()),(t=(t=a.getOptions())&&_.C(t,1,1E3))&&(k.maxResults=t),t=a.zd().De(),l=!0;else if(a instanceof _.EKc)n="teamdrives/"+a.Bc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",l=!0;else if("undefined"!=typeof _.YN&&a instanceof _.YN)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",
t=a.De(),l=!0;else if(a instanceof _.RM)h="PUT",n="files/"+a.getId(),k.fields=_.fKc({fields:this.xg(c),Qx:_.EM(this.H.nf()),jL:_.QM(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.D(a,15),k.fileId=a.getId(),_.ad(a,9).length&&(k.addParents=_.ad(a,9).join(",")),_.ad(a,10).length&&(k.removeParents=_.ad(a,10).join(",")),_.ad(a,31).length&&(k.addWorkspaces=_.ad(a,31).join(",")),_.ad(a,32).length&&(k.removeWorkspaces=_.ad(a,32).join(",")),null!=_.D(a,24)&&(k.confirmed=_.D(a,24)),k.languageCode=
tP(this.H.nf()),p=JZc(a),f["content-type"]="application/json",t=a.De(),l=!0,_.TO(this.H,k),this.V(a.getId(),k),_.D(a,36)?k.bypassMultiparentingCheck=!0:_.yPc(this.H,k),_.lO(this.H)&&(b=_.Kk(a,_.Rl,38),b.length?_.zPc(b,f):(b=_.ad(a,9).concat(_.ad(a,10)),b.push(a.getId()),_.$O(this,b,f)));else if(a instanceof _.$N)h="PUT",n="files/"+a.Lc()+"/revisions/"+_.x(a,2),p=KZc(a),f["content-type"]="application/json",t=a.De(),_.lO(this.H)&&_.$O(this,[a.Lc()],f);else if(a instanceof _.aO)n="teamdrives/"+a.getId(),
null!=a.lm()?(h="POST",n+="/"+(a.lm()?"hide":"unhide")):(h="PUT",p=LZc(a),f["content-type"]="application/json"),k.fields=XP(this.H),t=a.De(),l=!0;else if(a instanceof _.bO)h="PUT",n="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",p=MZc(a),f["content-type"]="application/json",t=a.De(),l=!0;else if("undefined"!=typeof _.GE&&a instanceof _.GE)h="PUT",p=a.V(),t=p.getKey(),n="settings/"+_.x(t,2),(t=_.rp(t))&&(k.namespace=_.uJc[t]),p=JRc(p),f["content-type"]="application/json",
t=a.De(),l=!0;else if(a instanceof _.cO)n="about",k.fields=_.QM(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),t=a.De(),l=!0;else if("undefined"!=typeof _.SO&&a instanceof _.SO){e=11;h=a.Vw();n=a.getUrl();var J=a.ta()||"";a.Ba().forEach(function(S){f[S.getKey()]=S.kb()});a.Ea().forEach(function(S){k[S.getKey()]=S.kb()});a.Ha()&&(b.rrb=!0);a.ma()&&(b.ex=!0);a.W()&&(b.Afa=!0)}else a instanceof _.sKc?(b=a.request.Lc(),n="files/"+b+"/listCategoryMetadata",t=a.request.De(),a.pageToken&&(k.pageToken=a.pageToken),a.request.Qh()&&(k.maxResults=a.request.Qh()),k.fields="kind,nextPageToken,categoryMetadata",
_.lO(this.H)&&_.$O(this,[b],f)):a instanceof _.ZN?(f["content-type"]="application/json",h="POST",b=a.Lc(),n="files/"+b+"/updateCategoryMetadata",t=a.De(),p={categoryMetadata:a.RP().map(function(S){var U=_.Kk(S,_.xH,2).map(function(ea){return{id:ea.getId(),userId:ea.Xw(),setBooleanValue:_.D(ea,3),setTextValue:_.x(ea,4),setTextValues:_.ad(ea,6),addTextValues:_.ad(ea,5),setLongTextValue:_.x(ea,7),setSelectionValue:_.x(ea,8),setSelectionValues:_.ad(ea,10),addSelectionValues:_.ad(ea,9),setIntegerValue:_.x(ea,
11),setIntegerValues:_.ad(ea,13),addIntegerValues:_.ad(ea,12),setUserValue:_.x(ea,14),setUserValues:_.ad(ea,16),addUserValues:_.ad(ea,15),setDateStringValue:_.x(ea,17)}}),ha={categoryName:S.Ml()};U.length?ha.categoryAttributeValueDeltas=U:_.ad(S,4).length?ha.revertAttributeIds=_.ad(S,4):_.D(S,3)&&(ha.removeCategory=_.D(S,3));return ha})},_.lO(this.H)&&_.$O(this,[b],f)):a instanceof _.TN?(e=13,n=_.EM(this.H.nf())?"/v2/people/public":"/v2/people",k.person_id=a.nm(),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"],_.EM(this.H.nf())||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.zKc?(e=12,n="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.Qh()&&(k.maxResults=a.request.Qh()),k.$outputDefaults=!0,k.languageCode=tP(this.H.nf())):
a instanceof _.wH?(e=12,n="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=tP(this.H.nf())):a instanceof _.wN?(f["content-type"]="application/json",h="POST",n="drives/"+a.Bc()+"/changeCategoryReferences",t=a.De(),l=!0,k.fields=XP(this.H,[157],!0),p={},b=_.Kk(a,_.Cl,2),b.length&&(p.addCategoryReferences=b.map(function(S){return{category:S.Ml()}})),a=_.Kk(a,_.Cl,3),a.length&&(p.removeCategoryReferences=a.map(function(S){return S.Ml()}))):"undefined"!=typeof _.dO&&
a instanceof _.dO?(n="workspaces/"+a.nm()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",t=a.De(),l=!0):a instanceof _.rKc?(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.O7a()?p.ancestorName=b:p.itemName=b,p.consolidationStrategy={legacy:{}}):a instanceof _.uKc?(e=8,h="POST",n="/v1/exports/"+a.H+":cancel"):a instanceof _.vKc?(e=8,n="/v1/exports/"+a.H):"undefined"!=
typeof _.xKc&&a instanceof _.xKc?(n="changes",k.fields="kind,largestChangeId",_.TO(this.H,k),_.AO(this.H)&&(k.includeTeamDriveItems=!0,a.teamDriveId&&(k.teamDriveId=a.teamDriveId)),l=!0):a instanceof _.yKc?(n="settings",k.namespace=KRc(a.H),t=a.request.De(),l=!0):a instanceof _.GKc?(n="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.Qh()&&(k.maxResults=a.request.Qh()),k.q=N9c(a.request),(t=_.A(a.request,
_.vp,5))&&1==t.getType()&&(k.orderBy="title"),t=a.request.De(),l=!0):a instanceof _.UN?(n="changes/getRemainingCount",k.pageToken=_.x(a,2),_.sk(a,3)&&(k.supportsTeamDrives=!0,k.includeTeamDriveItems=!0,k.teamDriveId=a.Bc()),t=a.De()):a instanceof _.sN?(f["content-type"]="application/json",h="POST",n="files/"+a.Lc()+"/sendAccessRequest",p={}):_.wPc(a);l&&_.CPc(c,k);return _.DPc(e,n,k,f,h,t,p,J)};O9c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.Pi().join(","):[]};
var P9c=function(a,b){this.W=b||new Date;this.V=a;this.H=HQc(this.V)};P9c.prototype.clone=function(){return new P9c(this.V,this.W)};var Q9c=function(){this.H=null;this.V=[]},R9c=function(a){return _.pe(a.V,function(b){return _.Ef(b)})};
Q9c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new J_c;e.W=I_c(d.H);var f=_.Kg().substring(0,8);d=HQc(f);f=(new VZc).Wb(f);f=_.w(f,2,d);b=_.w(f,3,b);c=_.w(b,4,c);this.V.push(c);e.V=I_c(d);e.H=G_c(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,K_c(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var S9c=function(a,b,c,d,e,f,h,k,l,n,p,t,u,z,B,F,M,J,S,U,ha,ea,Fa){this.B6=_.ii();var Aa=new D9c(b.V);c=new p9c(b,f,new j9c(d,e,c),h,this.B6.promise,k,l,c);d=new B9c(b,n,p,t,u,d,e);this.W=new _.KMc;this.ka=new _.bOc(a,z);z=new O9c(b,a,this.B6.promise,k);this.V=new F9c(k,a,B,F,M);k=new _.AOc(this.ka,this.W,z,this.V,J,S,U);b=b.V;M=this.W;J=this.B6.promise;U=U||void 0;F=a.Ff();M=new _.RNc(J,M,B,_.C(F,32,1073741824),_.C(F,21,1E3));M=new _.SNc(M);J=new _.SMc(_.C(F,59,2E3),_.C(F,60,2E4),_.C(F,61,6));z=
{};z[1]=_.UNc(k,B);z[2]=_.VNc(k,F,ha,S,J,B,U);z[3]=_.WNc(k,F,ha,S,J,B,U,"batch");e=_.C(F,10,50);U?(n=new _.vNc(U.getState()),p=new _.qNc(U)):(n=new _.RMc(ha,S),p=new _.PMc(S));b=new _.RO(B,k,[n,new _.WMc(e,_.C(F,11,100)),new _.QO(e),new _.TMc(J,B)],[new WYc(F,b),new VYc,new _.PO],[p,new _.ANc(F,J,U?U.getState():ha,B)],"mutation");this.ha=(z[4]=b,z[5]=_.XNc(M,F,B),z[6]=_.WNc(k,F,ha,S,J,B,U,"find_by_ids_batch"),z[7]=_.WNc(k,F,ha,S,J,B,U,"xd4_batch"),z[8]=_.WNc(k,F,ha,S,J,B,U,"xd4_immediate_batch",1),
z);this.B6.resolve(Fa?Fa:new _.YNc(new E9c,Aa,this.ha,c,d,a,this.H.bind(this),ea))};S9c.prototype.H=function(){return _.wf(this.ha,function(a){return FUc(a)})};
var T9c=function(a){var b=new Map,c=Date.now();_.tf(a.ha,function(d,e){d=GUc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},V9c=function(a,b){var c=this;this.H=a;this.Ma=b;this.va=null;this.ka=0;this.pJ=this.ee=!1;this.ha=_.ii();this.Ba=null;this.W=a.H;b=_.uP(this.W);this.Ha=new _.EPc(_.C(b,2,37500),_.C(b,3,6E5));this.V=null;this.ta=a.wb;this.ma={};_.tf(NZc,function(d){c.ma[d]=[]});this.Ka=this.Ea=!1;VP(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){NQ(c,"Initializing: loaded from local dump");
U9c(c)});VP(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){NQ(c,"Initializing: loaded from sdk backfill");U9c(c)});VP(a.ha,["mrK8ic","BNEDtc"],function(){NQ(c,"Updating: sdk backfill complete");c.O4().Zf(_.bf)})},U9c=function(a){a.Ea||(a.Ea=!0,AQ(a.H).addCallback(function(b){a.ta.initialize().Uf(function(){a.va=b;a.setActive(!0)},function(c){c&&CUc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.mN(c));NQ(a,"Error initializing dump storage");a.eS()})}))};_.g=V9c.prototype;
_.g.RLa=function(a){this.ee&&(this.ka+=a,this.ka>_.C(_.uP(this.W),1,500)&&this.update(3))};_.g.setActive=function(a){if((this.va||this.pJ)&&this.ee!=a){var b=this.H;a&&(b.Lb.H()||0<b.V.va.W||b.ka.Ye()||b.Bh.Ye())||((this.ee=a)?(this.ha.resolve(),this.V||this.O4().Zf(_.bf)):(this.ha=_.ii(),_.m.clearTimeout(this.Ba)))}};_.g.eS=function(){this.pJ=!0};_.g.WGa=function(){return this.V?this.V.promise:_.bi()};
_.g.O4=function(){var a=this;if(this.V)return this.V.promise;this.V=_.ii();_.ji(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return t5c(a.H.Ea)}).then(function(b){var c=!b;a.pJ?a.V.resolve(c):_.Up([W9c(a,3,c),W9c(a,0,c,void 0,!0),W9c(a,1,c,void 0,!0),W9c(a,5,c,void 0,!0),W9c(a,6,c,void 0,!0)]).Uf(function(){return a.V.resolve(c)},function(d){d=d&&_.zM(d)?d instanceof _.sb?d:new _.sb("Failed to update dump",void 0,d):new _.sb(d||"Failed to update dump");a.V.reject(d)})},function(){a.V.reject(Error("wg"))});
return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.li;this.ha.promise.then(function(){return t5c(c.H.Ea)}).then(function(e){e=!e;c.pJ?d.callback():_.oi(W9c(c,a,e,b),d)});return d};
var W9c=function(a,b,c,d,e){var f=_.ba(a.ma[b]);if(f){if(f.encrypt==c&&1<a.ma[b].length)return f.Te.Il();var h=new _.li;_.ni(f.Te,function(){_.oi(X9c(a,b,c,d,e),h)})}else h=X9c(a,b,c,d,e);var k={encrypt:c,Te:h};a.ma[b].push(k);_.ni(h,function(){_.qa(a.ma[b],function(l){return k==l})});h.Se(function(l){a.ta.V.zg()?a.eS():l instanceof _.sb&&(l=l.V||null,l instanceof _.GM&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.eS());return null});
return h},X9c=function(a,b,c,d,e){var f=new _.li;a.ha.promise.then(function(){if(3==b)_.oi(Y9c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.Ub;h=h.H?_.Rk(h.H):null;break;case 1:h=a.H.zc.pta();break;case 5:h=Z9c(a.H.Ka);break;case 6:h=a.H.V.ma;h=f_c(new e_c,I6c(h.H));break;default:f.Jd("Invalid data type to write to storage.");return}if(h){var k=_.Kk(_.uP(a.W),sP,11)[0].getKey();!k&&c?(NQ(a,"Skipping dump update, encrypted and no key"),f.callback()):e5c(a.ta,c?k:null,[h]).then(f.callback,f.Jd,f)}else e?
(NQ(a,"Skipping dump update: "+b),f.callback()):f.Jd("Failed to get data to write to dump.")}});return f},Y9c=function(a,b,c){_.m.clearTimeout(a.Ba);a.Ba=_.m.setTimeout((0,_.L)(a.Oa,a),a.Ha.kb());if(b&&0==a.ka)return _.qi();a.ka=0;var d=_.Kk(_.uP(a.W),sP,11)[0].getKey();if(!d&&c)return NQ(a,"Skipping dump update, encrypted and no key"),_.qi();var e=[];_.tf(lYc,function(h){0<h&&(h=$9c(a,h),h.length&&e.push(e5c(a.ta,c?d:null,h)))});var f=new _.li;_.gi(e).then(function(){a.Ka&&zQ(a.H.Ea,q5c,!0);f.callback()},
f.Jd,f);return f};V9c.prototype.Oa=function(){_.MI(this.Ha);this.update(3,!0)};
var $9c=function(a,b){switch(b){case 1:return[a$c(a)];case 2:var c=(b=a.H.V.ka.H)?b.mA():[];c=b$c(a,_.qc(BRc(c)));NQ(a,"Exporting "+c.length+" secondary dump items.");c.length>_.C(_.uP(a.W),5,2E4)&&(b&&A2c(b),c=[]);c=dYc(new TP,c$c(c));var d=a.H.V.ka;a=new GRc;(d=d.H)&&d.V&&(d=d.mA(),_.w(a,3,d.length));c=_.H(c,11,a);c=kYc(c,2);b&&iYc(c,b.BX());return[c];case 3:return d$c(a);case 4:return e$c(a);default:throw new _.sb("Unsupported CacheType");}},a$c=function(a){var b={},c=[],d=_.y(a.W,79,!1),e=p3c(a.H.V.ka,
d);d=!0;for(var f=0;f<e.length;f++){var h=e[f],k=h.mA(),l=b$c(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=aYc(new SP,h.zd()),h.W||(_.w(l,2,k),_.H(l,3,n),d=!1),c.push(l)}e=_.qc(b);NQ(a,"Exporting "+e.length+" initial dump items.");return iYc(kYc(hYc(dYc(fYc(jYc(gYc(new TP,a.H.Mr()),_.UO(a.Ma)),a.va.PLa(null)),c$c(e)),c),1),!d)},d$c=function(a){if(!_.AO(a.W))return[];var b=[],c=a.va;_.sa(a.H.V.ka.V).forEach(function(d){var e=c.PLa(d.Bc());if(e){var f=
b$c(a,ARc(d.mA()));NQ(a,"Exporting "+f.length+" TD dump items for: "+d.Bc());e=iYc(kYc(fYc(dYc(new TP,c$c(f)),e),3),d.BX(d.zd()));d=aYc(new SP,d.zd());hYc(e,[d]);b.push(e)}});return b},e$c=function(a){if(!_.AO(a.W))return[];var b={},c=[];J7c(a.H.V).forEach(function(d){1==d.H&&(ARc(d.mA()).forEach(function(e){b[e.getId()]=e}),d=bYc(aYc(new SP,new _.re),d.zd()),c.push(d))});return[iYc(kYc(hYc(dYc(new TP,c$c(Object.values(b))),c),4),!1)]},b$c=function(a,b){b=zRc(b);_.D(a.W,67)&&(b=f$c(b));_.QM(a.W)&&
(b=X6c(a.H.V.ma,b));return b.filter(function(c){return 4!=lP(c)})},f$c=function(a){var b=[];a=_.v(a);for(var c=a.next();!c.done;c=a.next())c=c.value,$Qc(c)?(c=c.clone(),OQc(c,ZQc),b.push(c)):b.push(c);return b},c$c=function(a){return a.map(function(b){return _.Rk(b)})},NQ=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};V9c.prototype.xsa=function(){this.Ka=!0};var g$c=function(){};_.g=g$c.prototype;_.g.setActive=function(){};_.g.eS=function(){};_.g.update=function(){return _.qi()};
_.g.WGa=function(){return _.bi()};_.g.O4=function(){return _.bi()};_.g.RLa=function(){};_.g.xsa=function(){};
var pP=function(a,b,c,d){_.P.call(this);var e=this;this.W=d||new _.GMc;this.Af=a;this.H=b.clone();this.Ua=new _.sOc(this.H);this.ma=new LYc(_.UO(this.Ua),this.H);h$c(this);this.Ad=new _.ho;this.Bs=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Ad.resolve();e.ta.H(106020)},1E4);this.$i=null;this.hf=new _.li;this.Nn=!0;this.ka=new _.TPc(_.zO(this.H),_.y(this.H.Ff(),52,!1));this.Bh=new _.KPc(_.zO(this.H)?3:1,!_.y(this.H.Ff(),52,!1));this.ta=_.kQc(this.H,this.ka,
this.Bh,this.W,this.Ad.promise,c);this.Df=null;this.Yj=new t6c(this.ta);this.$b=new _.li;this.Mf=[];i$c(this)};_.K(pP,_.P);
var j$c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.Bs);a.Ad.resolve()},i$c=function(a){var b=function(){k$c(a).Zf(_.bf)},c=a.Af;(c=c&&_.nb(c,_.el))?_.Md(c,"A",b):_.lIc()||_.Md(_.m,"unload",b)},k$c=function(a){a.ta.H(106005);SUc(a.ta);var b=a.Mf.map(function(c){return c()});_.ma(a.Mf);return _.hi(b).then()},l$c=function(a,b){a.Mf.push(b)},B3c=function(a,b,c){"string"===typeof b&&null===a.$i&&(a.$i=b,a.hf.callback(b),b.length&&a.Zo(b,c||null))};
pP.prototype.Zo=function(){};pP.prototype.Mr=function(){return this.$i};var m$c=function(a){if(!a.Df)throw Error("xg");return a.Df},n$c=function(a,b){a.Df=b};pP.prototype.LLa=function(){return this.Nn||this.Bh.isConnected()};pP.prototype.At=function(a){this.$b.callback(a)};
var h$c=function(a){var b=a.H.Ff();0==_.ad(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.w(b,19,3));if(!_.C(b,37,""))throw Error("yg");_.x(b,57)||(a.log("No root URI provided; using prod default."),_.w(b,57,"https://clients6.google.com"));if(_.y(_.uP(a.H),9,!1))if(b=_.Kk(_.uP(a.H),sP,11),0<b.length){if(!_.x(b[0],1)||!b[0].getKey()&&!_.zO(a.H)&&!_.y(a.H,10,!1))throw Error("zg");}else _.w(_.uP(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.y(_.uP(a.H),9,!1)&&(_.zO(a.H)||_.y(a.H,10,!1)))throw Error("Ag");var c=a.H.nf();b=!(!c||!_.EM(c));c=c&&_.xO(c)||"";if(!b&&!c)throw Error("Bg");b&&_.xna(a.H,[]);_.Kk(a.H,_.re,44).forEach(function(d){try{PYc(a.ma,d)}catch(e){if(e instanceof _.sb&&(d=e.Ig)&&3==d.Mq())throw Error("Cg");throw e;}})};pP.prototype.KLa=function(){return 0};pP.prototype.mb=function(a){this.dispatchEvent(new _.tb(new _.sb(void 0,a)))};pP.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var o$c=function(a,b){this.H=a;this.V=b},p$c=function(a,b,c){_.P.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};_.K(p$c,_.P);
var D3c=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())&&_.rp(p))&&f.add(p)});[].concat(_.oc(f.values())).forEach(function(p){return void d.push(p)})}if(d.length){var h=_.LJc.has(c),k=new Map;d.forEach(function(p){k.set(p,new Map)});b.forEach(function(p){var t=p.getKey(),u=t&&_.rp(t);t=t&&_.x(t,2);u=k.get(u);t&&u&&u.set(t,q$c(p))});var l=0,n=0;[].concat(_.oc(k.keys())).forEach(function(p){var t=k.get(p),u=a.H.get(p);u?h&&(t.forEach(function(z){var B=
z.getKey();(B=u.get(B&&_.x(B,2)))&&_.Qk(z,B)||l++}),[].concat(_.oc(u.values())).forEach(function(z){z=z.getKey();t.has(_.x(z,2))||n++}),a.H.set(p,t),a.W.set(p,c)):(l+=t.size,a.H.set(p,t),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,WP(a.ka,"px2C2c");WP(a.ka,"rkYxSd")}(l||n)&&r$c(a,!h)}};p$c.prototype.Zz=function(){return 0<this.H.size};
var r$c=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 _.Li("WPi0i"))},C9c=function(a,b){var c=b.getKey(),d=c&&_.rp(c);c=c&&_.x(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=q$c(b);e&&_.Qk(b,e)||(d.set(c,b),r$c(a))}};p$c.prototype.remove=function(a){var b=a&&_.rp(a);a=a&&_.x(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&r$c(this)};
var Z9c=function(a,b){var c=[];(b||[].concat(_.oc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.oc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.oc(a.H.keys()));var d=new aVc;_.Nk(d,1,c);_.w(d,2,b||[]);return d};
p$c.prototype.tI=function(a){var b=this,c=Z9c(this,a),d=new _.sp;d.Dc(this.ha);_.Xva(d,c.ny());_.H(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.MJc.has(f)&&Infinity>_.MJc.get(f)&&(e=f)});return new o$c(d,e)};
var q$c=function(a){a=a.clone();a.qg()||a.Rb("");return a},s$c=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},t$c=function(a){return 127<a?a-256:a},u$c=function(a,b){return t$c(a[b])+(t$c(a[b+1])<<8)+(t$c(a[b+2])<<16)+(t$c(a[b+3])<<24)},v$c=function(a){var b=0,c=a.length,d={a:-1640531527,b:-1640531527,c:314159265},e;for(e=c;12<=e;e-=12,b+=
12)d.a+=u$c(a,b),d.b+=u$c(a,b+4),d.c+=u$c(a,b+8),s$c(d);d.c+=c;switch(e){case 11:d.c+=a[b+10]<<24;case 10:d.c+=(a[b+9]&255)<<16;case 9:d.c+=(a[b+8]&255)<<8;case 8:d.b+=u$c(a,b+4);d.a+=u$c(a,b);break;case 7:d.b+=(a[b+6]&255)<<16;case 6:d.b+=(a[b+5]&255)<<8;case 5:d.b+=a[b+4]&255;case 4:d.a+=u$c(a,b);break;case 3:d.a+=(a[b+2]&255)<<16;case 2:d.a+=(a[b+1]&255)<<8;case 1:d.a+=a[b]&255}return s$c(d)},rP=function(a,b,c,d,e,f){pP.call(this,a,b,c,d);var h=this;this.yb=new _.ke;this.Na(this.yb);this.Bo=_.ii();
this.ha=e?e:new sYc(this.W);this.ta.ha.V=this.ha;this.hb=_.y(_.uP(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?w$c(this,b):null;this.Oa=new EYc(tP(b.nf()));this.Ha=new lZc;this.Mh=null;this.Xd=_.ii();this.Ea=x$c(this,this.hb);this.wb=y$c(this,this.hb,b);this.va=z$c(this);this.V=new A7c(this,this.Ua);this.Ub=new j2c(this.H,this.V.ma,this.ha,this.W,this.va,function(k){return A$c(h,k)});this.zc=new q2c(this.W,this.ha,this.va);this.Ka=new p$c(this.W,this.ha,this.va);
this.Ul=new _.li;this.Mn=null;this.Jc=new s2c(this.zn(),this.W,function(k){return void h.mb(k)});this.vc=_.y(this.H.Ff(),52,!1)?new _.lQc(this.Bh,this.zn(),this.W):null;this.af=new w8c;this.wd=null;this.Yo=_.ii();VP(this.ha,["mrK8ic"],function(){h.Yo.promise.then(function(){C3c(h,h.wd)})});this.dg=new _.li;this.xr=new _.gPc(this.H);this.Ma=new _.uOc(this.H,this.V.V);this.th=new f9c(this);this.he=new z8c(this.Xd.promise,this.zn());this.ys=new B8c(this.zn(),this.he);this.Nc=new Q9c;this.qj=new U8c(this.Xd.promise,
this.zn(),this.W,this.H);this.Lb=new S9c(this.H,this.V,this.mb.bind(this),this.he,this.ys,this.va,this.af,this.Ua,this.Mr.bind(this),this.th,this.zc,this.Ka,this.qj,this.Nc,this.W,this.xr,this.zs.bind(this),this.Ma,this.Jc,this.vc,this.ka,this.chb.bind(this),f);this.Bo.resolve(this.Lb);this.Ba=new s3c;this.Fq=new I8c(this);this.Nf=new m2c;this.Hd=_.ii();this.ym=!1;this.Rm=_.ii();VP(this.ha,["BNEDtc"],function(){return h.Rm.resolve()});(this.Fb=_.C(b.nf(),6,"")||"")&&A$c(this,this.Fb);this.Zj=null;
l$c(this,function(){h.va.eS();return _.bi()})};_.K(rP,pP);
var w$c=function(a,b){var c=_.xO(b.nf()),d=_.yO(b),e=function(){},f=_.Kk(_.uP(b),sP,11);f=f[0]&&_.x(f[0],1);var h=new d4c(c,d,_.C(_.uP(b),10,0)||0,f||"",_.UO(a.Ua));_.zO(b)?c=P4c(c,d).then(function(l){return l?l:h}):_.y(b,10,!1)&&0<_.C(_.uP(b),8,432E6)?(b=B$c(a,c),c=P4c(c,d,b).then(function(l){return l&&(e=function(n){return n.Sl(h).Zf(function(){return null})},!l.ta)?l:h})):c=_.bi(h);var k=new wQ(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},B$c=function(a,
b){var c=_.C(_.uP(a.H),8,432E6);if(!_.zO(a.H)&&0<c)return Math.abs(v$c(_.Kka(b)))%c};rP.prototype.tC=function(a){var b=this;return this.hb?this.hb.zg()?_.ci(Error("Dg`"+z4c(this.hb))):t5c(this.Ea).then(function(c){var d=b.hb,e=[];e.push(b.va.WGa());e.push(a?d.Sl():L4c(d));if(a===c)return _.gi(e).then(function(){return!1});!1===a&&(e.push(y4c(d)),(c=b.Mr())&&e.push(zQ(b.Ea,m5c,c)));return _.gi(e).then(function(){return b.Ea.tC(a)},function(){return!1})}):_.ci(Error("Eg"))};
var y$c=function(a,b,c){var d=null;b&&(d=new W4c(b,c,function(e){a.mb(e)}),d.initialize());return d},x$c=function(a,b){var c=new r5c(b||void 0);c.Mr().then(function(d){d&&B3c(a,d,5)});b&&(t5c(c).then(function(d){a.ka.tC(d)}),_.gi([b.initialize(),a.Ad.promise]).then(function(){C$c(a,c)},function(){}));return c},C$c=function(a,b){w5c(b).then(function(c){(!c||c<Date.now()-864E5)&&S4c(_.xO(a.H.nf()),_.yO(a.H),a.W).then(function(d){d&&(d=Date.now(),zQ(b,p5c,d))},function(){})})},z$c=function(a){if(!a.wb)return new g$c;
var b=new V9c(a,a.Ua);a.yb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ye())});a.yb.listen(a.Bh,[].concat(_.oc(Object.values(oYc))),function(){return void b.setActive(a.Bh.isConnected())});return b};rP.prototype.As=function(a){this.Mn=a;this.Ul.callback(a)};var AQ=function(a){return a.Ul.Il()},D$c=function(a){return a.hb?a.hb.zg():null},E$c=function(a,b){a.ha.H("NSockf")?WP(a.ha,b):VP(a.ha,["NSockf"],function(){WP(a.ha,b)})};
rP.prototype.Zo=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ha.H=a||"",this.ma.W=a||"",6!=b&&1!=b||zQ(this.Ea,m5c,a),E$c(this,"jroI5d"))};rP.prototype.zs=function(){return this.Fb};var A$c=function(a,b){_.y(a.H,15,!1)||(a.Fb=b,E$c(a,"NVkrgc"))};rP.prototype.Vl=function(){return this.dg.Il()};var C3c=function(a,b,c){0>b||(c?a.wd?a.wd=Math.max(a.wd,b):(a.wd=b,a.Yo.resolve()):a.dg.qf()||(a.dg.callback(b),E$c(a,"T8oKm")))},oQ=function(a){if(!a.Mh)throw Error("Fg");return a.Mh};_.g=rP.prototype;
_.g.zn=function(){return this.Bo.promise.then(function(a){return a.B6.promise})};_.g.wsa=function(){this.ym||(this.ym=!0,this.Hd.resolve(),WP(this.ha,"aU7Ts"))};_.g.LLa=function(){throw Error("Gg");};_.g.chb=function(){this.Lb.H()||this.dispatchEvent("Pb")};_.g.KLa=function(){return this.V.V.W()};
var b6c=function(a){a.Zj||(a.Zj=new F8c(a.Xd.promise,a.zn(),a.W));return a.Zj},F$c=function(a){_.ff("drive.DebugUtil.printFindById",function(c){a.CP(c).addCallback(function(d){window.console.log(JSON.stringify(d))})});_.ff("drive.DebugUtil.getLogs",function(){return _.JMc(a.Qea())});_.ff("drive.DebugUtil.printLogs",function(){window.console.log(_.JMc(a.Qea()))});_.ff("drive.DebugUtil.printRequestHistory",function(){a.mta().addCallback(function(c){c.forEach(function(d){window.console.log(_.x(d,1));
window.console.log(_.x(d,2))})})});_.ff("drive.DebugUtil.getState",function(){return a.getState()});var b=a.Pa();b&&_.y(b,1,!1)&&(_.ff("drive.DebugUtil.getContext",function(){return a.getContext()}),_.ff("drive.DebugUtil.setOffline",function(c){return void a.Sl(c)}))},OQ=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.Ba=a;this.Ma=b;this.Ua=c;this.Tb=e;this.hb=d;this.Oa=f;this.H=[];this.items=[];this.ta=6;this.Ea=YRc(new _.aN,[1]);this.va=!0;this.ha=e.Qh();this.W=!1;this.suggestionSessionId=
this.ma=this.ka=null;this.V=0;_.wd(this,function(){h.W=!1;h.H=[]})};_.K(OQ,_.P);_.g=OQ.prototype;_.g.Ai=function(){return String(_.ya(this))};_.g.xe=function(){return this.W};_.g.activate=function(){this.W=!0;_.la(this.items)&&6==this.Ib()&&this.Wj()||G$c(this)};_.g.zd=function(){return this.Tb};_.g.Qh=function(){return this.ha};_.g.Ib=function(){return this.ta};_.g.Nr=function(){return this.Ea};_.g.Wj=function(){return this.va};
_.g.Nq=function(){var a=_.gN(_.hN.Jb(),this.H,this.items),b=(new YUc).Dc(this.Ib());a=_.Nk(b,2,a);this.H=this.items;return a};_.g.Rr=function(a){this.W&&(this.ha+=a||50,this.hb(this.Ai(),this.ha))};var H$c=function(a,b){return a.Ib()!=b.Ib()||vP(_.hN.Jb(),a.items,b.Id())},I$c=function(a,b){a.items=b.Id();a.ta=b.Ib();_.QM(a.Oa)&&(a.Ea=ZRc(a.ta,a.items));a.va=b.Uma();a.V=b.xf()};
OQ.prototype.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a query after "+a.qG+" retries.",a.error)))};OQ.prototype.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};OQ.prototype.gs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+ZP(this.Ba,this.zd());return _.ri(this.Ma.then(function(d){return d.ka(a,b,c.zd(),c.Qh(),c.items)}))};
var G$c=function(a){a.xe()&&(J$c(a,"Livelist "+a.Ai()+" returning "+a.items.length+". Status: "+(_.Ff(cVc)[a.Ib()]+". Datasource: ")+(_.Ff(PVc)[a.V]+". Query: ")+ZP(a.Ba,a.Tb)),K$c(a,a.items,a.Tb),a.dispatchEvent(new _.Li(_.ec,a)))},K$c=function(a,b,c){if(_.LN(c))c="quick access";else if(_.MN(c))c="people predict";else if(_.NN(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");J$c(a,"Livelist "+a.Ai()+" returning "+a.items.length+" for "+(c+": "+b))};
OQ.prototype.refresh=function(){};var J$c=function(a,b){a.Ua.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.q("sy139");
var PQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(PQ,_.I);PQ.prototype.getType=function(){return _.x(this,1)};var L$c=function(a){var b=new PQ;return _.w(b,1,a)};PQ.prototype.i2=function(){return _.A(this,_.ql,2)};var M$c=function(a,b){return _.H(a,2,b)};PQ.prototype.Hv=function(){return _.x(this,3)};PQ.prototype.gw=function(a){return _.w(this,3,a)};PQ.prototype.oh=function(){return _.x(this,4)};PQ.prototype.setPosition=function(a){return _.w(this,4,a)};
var QQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(QQ,_.I);QQ.prototype.getType=function(){return _.x(this,1)};var N$c=function(a){var b=new QQ;return _.w(b,1,a)},O$c=function(a,b){return _.H(a,2,b)};QQ.prototype.Hv=function(){return _.x(this,3)};QQ.prototype.gw=function(a){return _.w(this,3,a)};QQ.prototype.oh=function(){return _.x(this,4)};QQ.prototype.setPosition=function(a){return _.w(this,4,a)};
var RQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(RQ,_.I);RQ.prototype.getType=function(){return _.x(this,1)};var P$c=function(a){var b=new RQ;return _.w(b,1,a)},Q$c=function(a,b){return _.H(a,2,b)};RQ.prototype.Hv=function(){return _.x(this,3)};RQ.prototype.gw=function(a){return _.w(this,3,a)};RQ.prototype.oh=function(){return _.x(this,4)};RQ.prototype.setPosition=function(a){return _.w(this,4,a)};
var S$c=function(a){_.Q(this,a,0,-1,R$c,null)};_.N(S$c,_.I);var R$c=[2];S$c.prototype.Ib=function(){return _.x(this,1)};S$c.prototype.Dc=function(a){return _.w(this,1,a)};S$c.prototype.Lj=function(){return _.x(this,3)};
var T$c=function(a){_.Q(this,a,0,-1,null,null)};_.N(T$c,_.I);
var V$c=function(a){_.Q(this,a,0,-1,U$c,null)};_.N(V$c,_.I);var U$c=[2];V$c.prototype.Ib=function(){return _.x(this,1)};V$c.prototype.Dc=function(a){return _.w(this,1,a)};V$c.prototype.Uj=function(){return _.Kk(this,_.YJc,2)};V$c.prototype.Cp=function(a,b){return _.Ok(this,2,a,_.YJc,b)};
var X$c=function(a){_.Q(this,a,0,-1,W$c,null)};_.N(X$c,_.I);var W$c=[2];X$c.prototype.Ib=function(){return _.x(this,1)};X$c.prototype.Dc=function(a){return _.w(this,1,a)};X$c.prototype.Cj=function(){return _.Kk(this,QQ,2)};
var Y$c=function(a){_.Q(this,a,0,-1,null,null)};_.N(Y$c,_.I);Y$c.prototype.Ib=function(){return _.x(this,1)};Y$c.prototype.Dc=function(a){return _.w(this,1,a)};
var $$c=function(a){_.Q(this,a,0,-1,Z$c,null)};_.N($$c,_.I);var Z$c=[2];$$c.prototype.Ib=function(){return _.x(this,1)};$$c.prototype.Dc=function(a){return _.w(this,1,a)};$$c.prototype.Cj=function(){return _.Kk(this,RQ,2)};
var aad=function(a){_.Q(this,a,0,-1,null,null)};_.N(aad,_.I);aad.prototype.getType=function(){return _.x(this,1)};var bad=function(a){var b=new aad;return _.w(b,1,a)};aad.prototype.Hv=function(){return _.x(this,3)};aad.prototype.gw=function(a){return _.w(this,3,a)};aad.prototype.oh=function(){return _.x(this,4)};aad.prototype.setPosition=function(a){return _.w(this,4,a)};
var dad=function(a){_.Q(this,a,0,-1,cad,null)};_.N(dad,_.I);var cad=[2];dad.prototype.Ib=function(){return _.x(this,1)};dad.prototype.Dc=function(a){return _.w(this,1,a)};dad.prototype.Lj=function(){return _.x(this,3)};
var fad=function(a){_.Q(this,a,0,-1,ead,null)};_.N(fad,_.I);var ead=[2,4];fad.prototype.Ib=function(){return _.x(this,1)};fad.prototype.Dc=function(a){return _.w(this,1,a)};fad.prototype.Lj=function(){return _.x(this,3)};
_.SQ=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.SQ,_.I);_.SQ.prototype.getType=function(){return _.x(this,1)};var gad=function(a){var b=new _.SQ;return _.w(b,1,a)};_.SQ.prototype.Kw=function(){return _.A(this,_.RZc,2)};var had=function(a,b){return _.H(a,2,b)};_.SQ.prototype.Hv=function(){return _.x(this,3)};_.SQ.prototype.gw=function(a){return _.w(this,3,a)};_.SQ.prototype.oh=function(){return _.x(this,4)};_.SQ.prototype.setPosition=function(a){return _.w(this,4,a)};
var jad=function(a){_.Q(this,a,0,-1,iad,null)};_.N(jad,_.I);var iad=[2,4];
var lad=function(a){_.Q(this,a,0,-1,kad,null)};_.N(lad,_.I);var kad=[2];lad.prototype.Ib=function(){return _.x(this,1)};lad.prototype.Dc=function(a){return _.w(this,1,a)};lad.prototype.Lj=function(){return _.x(this,3)};
var mad=function(a){_.Li.call(this,"Rb");this.dataType=a};_.K(mad,_.Li);
var nad=function(a,b){_.Li.call(this,"Sb");this.ka=a;this.H=b};_.K(nad,_.Li);
var oad=function(){};_.g=oad.prototype;_.g.JH=function(a,b){return WVc(VVc(1),a).setPosition(b)};_.g.HH=function(a,b){return WVc(VVc(2).setPosition(b),a)};_.g.SM=function(a,b,c){return WVc(VVc(3).gw(b).setPosition(c),a)};_.g.$K=function(a,b){return WVc(VVc(4),a).setPosition(b)};_.g.jI=function(a){return _.A(a,BP,2)};
var pad=function(){_.fN.call(this,new oad,function(a){return a&&a.getName()})};_.K(pad,_.fN);
var TQ=function(a,b,c){_.P.call(this);var d=this;this.ha=a;this.Bh=b;this.limit=c||50;this.Yd=new _.ke(this);this.Na(this.Yd);this.active=!1;this.status=6;this.Ka=YRc(new _.aN,[1]);this.ta=this.H=!1;_.wd(this,function(){d.active=!1;d.Yd.removeAll()})};_.K(TQ,_.P);_.g=TQ.prototype;_.g.Ai=function(){return String(_.ya(this))};_.g.Ye=function(){return this.ha.Ye()||this.Bh.Ye()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Yd.listen(this.ha,"Cb",_.df(this.Cr)),this.Yd.listen(this.Bh,[].concat(_.oc(Object.values(oYc))),_.df(this.Cr)),this.ha.Ye()?this.Yd.od(this.ha,"Cb",function(b){b.Ye()||(a.uD(),a.dispatchEvent(new _.Li(_.Fr)))}):this.Bh.Ye()?this.Yd.od(this.Bh,["wb","yb"],function(){a.uD();a.dispatchEvent(new _.Li(_.Fr))}):(this.uD(),this.dispatchEvent(new _.Li(_.Fr))))};_.g.uD=function(){};
_.g.Rr=function(a){var b=this;if(this.Wj()){var c=this.limit;this.limit+=a||50;this.qc()>c&&this.Cr();this.ha.Ye()?this.Yd.od(this.ha,"Cb",function(d){d.Ye()||b.oK()}):this.oK()}};_.g.hJ=function(){this.Ye()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Ib=function(){return this.status};_.g.Nr=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.tb(a))};_.g.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};_.g.Wj=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Yd.removeAll();this.activate()};_.g.oK=function(){};
var qad=function(a,b,c,d,e){TQ.call(this,a,b,e.Qh()||void 0);this.Tb=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new pad;this.va=c};_.K(qad,TQ);_.g=qad.prototype;_.g.uD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.getData=function(){return $Vc(new EP,this.V).Dc(this.status)};_.g.Nq=function(){var a=_.gN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new YVc).Dc(this.status);return _.Nk(b,2,a)};_.g.oK=function(){this.Ba(this.Ai(),this.limit)};
_.g.Cr=function(){if(this.active){var a=this.status;this.hJ();if(this.W||a!=this.status)this.W=!1,rad(this)}};_.g.qc=function(){return this.V.length};_.g.zd=function(){return this.Tb};_.g.update=function(a){var b=a.response;if(this.status!=b.Ib()||vP(0,this.V,b.V()))this.H=!0,this.status=b.Ib(),this.V=b.V(),this.ta=a.ha,rad(this)};
var rad=function(a){var b="Livelist "+a.Ai()+" returning "+a.V.length+" for "+a.Tb.Lc();a.va.info("drive.ds.sync.CategoryMetadataLiveList",b);a.dispatchEvent(new _.Li(_.ec,a))};qad.prototype.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a category metadata query after "+a.qG+" retries.",a.error)))};
var sad=function(a,b,c){_.P.call(this);var d=this;this.ka=a;this.Tb=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=YRc(new _.aN,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.Tb.nm().join(", "));_.wd(this,function(){d.ha=!1;d.W=[]})};_.K(sad,_.P);_.g=sad.prototype;_.g.Ai=function(){return String(_.ya(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.zd=function(){return this.Tb};
_.g.getData=function(){this.W=this.H;var a=new _.cP;a.Dc(this.V);a.H=this.H;return a};_.g.Nq=function(){var a=$Rc(this.W,this.H),b=new TVc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Ib=function(){return this.V};_.g.Nr=function(){return this.ma};_.g.cO=function(a){var b=this.Tb;this.Tb=a;this.ta.Ha(this.Ai(),b,a)};
_.g.update=function(a){if(this.V!=a.Ib()||aSc(this.H,a.Ht()))this.V=a.Ib(),this.H=a.Ht(),_.QM(this.ka.H)&&(this.ma=ZRc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a team drive find-by-IDs query after "+a.qG+" retries.",a.error)))};_.g.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};
var tad=function(a,b,c,d,e,f){OQ.call(this,a,b,c,e,f,d);this.Ka=null;this.Ha=void 0};_.K(tad,OQ);tad.prototype.getData=function(){this.H=this.items;var a=FTc((new _.lD).Dc(this.Ib()).ay(this.items),this.Wj());a=_.H(a,7,this.Ka);return _.WLc(a.eL(this.ka).setSessionId(this.ma).C0(this.suggestionSessionId).B0(this.V),this.Ha)};tad.prototype.update=function(a){H$c(this,a)&&(I$c(this,a),this.Ka=a.z0(),this.ka=a.SH(),this.ma=a.getSessionId(),this.suggestionSessionId=a.A0(),this.Ha=a.Qba(),G$c(this))};
var uad=function(a,b){var c={};a=_.uf(a,function(d){return!!d});b=_.uf(b,function(d){return!!d});_.tf(a,function(d,e){var f=b[e];f?_.Qk(d,f)||(d=Q$c(P$c(4),f),c[e]=d):(d=Q$c(P$c(2),d),c[e]=d)});_.tf(b,function(d,e){a[e]||(d=Q$c(P$c(1),d),c[e]=d)});return c},vad=function(a,b){return _.yf(a)!=_.yf(b)||!_.Bf(uad(a,b))};
var wad=function(a,b){_.P.call(this);this.Tb=b;this.ee=!1;this.V=6;this.W={};this.H={}};_.K(wad,_.P);_.g=wad.prototype;_.g.activate=function(){this.ee||(this.ee=!0,_.Bf(this.H)&&6==this.V||this.dispatchEvent(new _.Li(_.ec,this)))};_.g.Ib=function(){return this.V};_.g.Nr=function(){return new _.aN};_.g.getData=function(){this.W=this.H;var a=(new _.eP).Dc(this.V);_.tf(this.H,function(b,c){a.sP().set(c,b||new _.jD)});return a};
_.g.Nq=function(){var a=uad(this.W,this.H);this.W=this.H;var b=(new Y$c).Dc(this.V);_.tf(a,function(c,d){_.xk(b,2,RQ).set(d,c)});return b};_.g.cO=function(){throw Error("Hg");};_.g.Ai=function(){return String(_.ya(this))};_.g.zd=function(){return this.Tb};_.g.update=function(a){var b={};a.sP().forEach(function(c,d){c||(c=N8c(d));b[d]=c});if(this.V!=a.Ib()||vad(this.W,b))this.V=a.Ib(),this.H=b,this.ee&&this.dispatchEvent(new _.Li(_.ec,this))};
_.g.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a Workspace find by id after "+a.qG+" retries.",a.error)))};_.g.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};
var xad=function(){};_.g=xad.prototype;_.g.JH=function(a,b){return Q$c(P$c(1),a).setPosition(b)};_.g.HH=function(a,b){return Q$c(P$c(2).setPosition(b),a)};_.g.SM=function(a,b,c){return Q$c(P$c(3).gw(b).setPosition(c),a)};_.g.$K=function(a,b){return Q$c(P$c(4),a).setPosition(b)};_.g.jI=function(a){return _.A(a,_.jD,2)};
var yad=function(){_.fN.call(this,new xad,function(a){return a&&a.getId()})};_.K(yad,_.fN);
var zad=function(a,b,c){TQ.call(this,a.ka,a.Bh,b.Qh()||10);this.Tb=b;this.va=c;this.W=[];this.V=[];this.ka=!1;this.ma=new yad};_.K(zad,TQ);_.g=zad.prototype;_.g.uD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.getData=function(){this.W=this.V;return h_c((new gQ).Dc(this.status),this.V.slice(0))};_.g.Nq=function(){var a=_.gN(this.ma,this.W,this.V);this.W=this.V;var b=(new $$c).Dc(this.status);return _.Nk(b,2,a)};_.g.oK=function(){this.va.W(this.Ai(),this.limit)};
_.g.Cr=function(){var a=this.status;this.hJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Li(_.ec,this))};_.g.qc=function(){return this.V.length};_.g.zd=function(){return this.Tb};_.g.update=function(a){var b=a.response;if(this.status!=b.Ib()||vP(0,this.V,b.Cj()))this.H=!0,this.status=b.Ib(),this.V=b.Cj(),this.ta=a.V,this.dispatchEvent(new _.Li(_.ec,this))};
_.g.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a Workspace query after "+a.qG+" retries.",a.error)))};
var Bad=function(a,b,c,d,e,f){_.P.call(this);var h=this;this.ka=a;this.va=b;this.Tb=f;this.Ba=d;this.Ea=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=YRc(new _.aN,[1]);this.ta=c;Aad(this,"Creating find by ids live map: "+this.Tb.nm().join(", "));_.wd(this,function(){h.ha=!1;h.W=[]})};_.K(Bad,_.P);_.g=Bad.prototype;_.g.Ai=function(){return String(_.ya(this))};_.g.activate=function(){this.ha=!0;_.Bf(this.H)&&6==this.V||Cad(this)};_.g.zd=function(){return this.Tb};
_.g.getData=function(){this.W=this.H;var a=new _.cP;_.QM(this.ka)?a.Dc(aRc(Object.values(this.H))?6:this.V):a.Dc(this.V);a.H=this.H;return a};_.g.Nq=function(){var a=$Rc(this.W,this.H),b=new TVc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Ib=function(){return this.V};_.g.Nr=function(){return this.ma};_.g.cO=function(a){NYc(a);var b=this.Tb;this.Tb=a;this.Ea(this.Ai(),b,a)};
_.g.update=function(a){var b=this;0<=_.ja(this.zd().nm(),"root")?this.Ba.addCallback(function(c){var d=a.Ht()[c];d&&(_.Cf(a.H,c),a.H.root=d);Dad(b,a)}):Dad(this,a)};var Dad=function(a,b){if(a.V!=b.Ib()||aSc(a.H,b.Ht()))a.V=b.Ib(),a.H=b.Ht(),_.QM(a.ka)&&(a.ma=ZRc(a.V,Object.values(a.H))),Cad(a)};Bad.prototype.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a find-by-IDs query after "+a.qG+" retries.",a.error)))};Bad.prototype.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};
var Cad=function(a){a.ha&&(Aad(a,"Livelist "+a.Ai()+" returning "+(Object.values(a.H).length+". Status: ")+(a.Ib()+". Query: ")+ZP(a.va,a.Tb)),a.dispatchEvent(new _.Li(_.ec,a)))},Aad=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var Ead=function(a,b,c,d,e,f){OQ.call(this,a,b,c,d,e,f);this.Ha=[]};_.K(Ead,OQ);Ead.prototype.getData=function(){this.H=this.items;return WUc(VUc((new _.dP).Dc(this.Ib()).ay(this.items),this.Wj()),this.Ha).eL(this.ka).setSessionId(this.ma).C0(this.suggestionSessionId).B0(this.V)};Ead.prototype.update=function(a){H$c(this,a)&&(I$c(this,a),this.Ha=_.Kk(a,_.ql,6),this.ka=a.SH(),this.ma=a.getSessionId(),this.suggestionSessionId=a.A0(),G$c(this))};
var Fad=function(){};_.g=Fad.prototype;_.g.JH=function(a,b){return O$c(N$c(1),a).setPosition(b)};_.g.HH=function(a,b){return O$c(N$c(2).setPosition(b),a)};_.g.SM=function(a,b,c){return O$c(N$c(3).gw(b).setPosition(c),a)};_.g.$K=function(a,b){return O$c(N$c(4),a).setPosition(b)};_.g.jI=function(a){return _.A(a,GP,2)};
var Gad=function(){_.fN.call(this,new Fad,function(a){return a&&a.V()})};_.K(Gad,_.fN);
var Had=function(a,b,c){TQ.call(this,a.ka,a.Bh,b.Qh()||10);this.Tb=b;this.va=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new Gad;this.ma=null};_.K(Had,TQ);_.g=Had.prototype;_.g.uD=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.getData=function(){this.ka=this.V;return uWc((new HP).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Nq=function(){var a=_.gN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new X$c).Dc(this.status);return _.Nk(b,2,a)};
_.g.oK=function(){};_.g.Cr=function(){var a=this.status;this.hJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Li(_.ec,this))};_.g.qc=function(){return this.V.length};_.g.zd=function(){return this.Tb};_.g.update=function(a){if(this.status!=a.Ib()||vP(0,this.V,a.Cj())){this.W=this.H=!0;this.V=a.Cj();if(a=a.getSessionId())this.ma=a;this.Cr()}};_.g.refresh=function(){this.va()};
_.g.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a Suggested Workspace query after "+(a.qG+" retries."),a.error)))};
var Iad=function(a,b,c){_.P.call(this);var d=this;this.Tb=a;this.Ba=b;this.va=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.Qh();this.V=6;this.ta=YRc(new _.aN,[1]);this.W=!0;_.wd(this,function(){d.ha=!1;d.ka=[]})};_.K(Iad,_.P);_.g=Iad.prototype;_.g.Ai=function(){return String(_.ya(this))};_.g.activate=function(){this.ha=!0;_.la(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.Li(_.ec,this))};_.g.zd=function(){return this.Tb};_.g.Ib=function(){return this.V};_.g.Nr=function(){return this.ta};
_.g.Wj=function(){return this.W};_.g.getData=function(){this.ka=this.H;return FTc((new _.lD).Dc(this.V).ay(this.H),this.W)};_.g.Nq=function(){var a=_.gN(_.hN.Jb(),this.ka,this.H),b=(new YUc).Dc(this.V);a=_.Nk(b,2,a);this.ka=this.H;return a};_.g.Rr=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.Ai(),this.ma))};
_.g.update=function(a){if(this.V!=a.Ib()||vP(_.hN.Jb(),this.H,a.Id()))this.H=a.Id(),this.V=a.Ib(),_.QM(this.va)&&(this.ta=ZRc(this.V,this.H)),this.W=a.Uma(),this.ha&&this.dispatchEvent(new _.Li(_.ec,this))};_.g.gJ=function(a){this.dispatchEvent(new _.tb(new _.sb("Error occurred running a Team Drive query after "+a.qG+" retries.",a.error)))};_.g.rM=function(){this.dispatchEvent(new _.Li(_.gEa))};_.g.gs=function(){throw Error("Ig");};_.g.refresh=function(){};
var Jad=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.qj;this.Ka=this.H.he;this.ha={};this.Ba={};this.Ea={};this.V=null;this.va=b};_.g=Jad.prototype;_.g.Rla=function(a){var b=this,c=new tad(this.H.ma,this.H.$b,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.Ula=function(a){var b=this,c=new Ead(this.H.ma,this.H.$b,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};
_.g.Ola=function(a){var b=this,c=new Bad(this.H.H,this.H.ma,this.H.W,this.H.hf,this.Ha.bind(this),a);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.Xla=function(a){var b=this,c=new Iad(a,this,this.H.H);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.Yla=function(a){var b=this,c=new sad(this.H,this,a);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.$la=function(a){var b=this,c=new zad(this.H,a,this);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};
_.g.Vla=function(a){var b=this,c=new Had(this.H,a,function(){if(a instanceof _.tp){var d=b6c(b.H);u8c(d,d.getKey(a)).refresh()}});UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.ama=function(a){var b=this,c=new wad(this.H,a);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};_.g.Lla=function(a){var b=this,c=new qad(this.H.ka,this.H.Bh,this.H.W,function(d,e){return b.W(d,e)},a);UQ(this,c);_.wd(c,function(){return VQ(b,c)});return c};
var UQ=function(a,b){var c=b.Ai();a.ha[c]=b;a.va.create(c,b.zd());b=b.zd()instanceof _.wp?r8c(a.ma,c,b.zd()):"undefined"!=typeof _.dO&&b.zd()instanceof _.dO?s8c(a.ma,c,b.zd()):b.zd()instanceof _.tp?r8c(b6c(a.H),c,b.zd()):b.zd()instanceof _.FH?r8c(a.Ka,c,b.zd()):F7c(a.ta,c,b.zd());"boolean"===typeof b&&u6c(a.va,c,b)},VQ=function(a,b){if(b.zd()instanceof _.wp)t8c(a.ma,b.Ai(),b.zd());else if("undefined"!=typeof _.dO&&b.zd()instanceof _.dO){var c=a.ma,d=b.Ai(),e=b.zd(),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.zd()instanceof _.tp?t8c(b6c(a.H),b.Ai(),b.zd()):b.zd()instanceof _.FH?t8c(a.Ka,b.Ai(),b.zd()):G7c(a.ta,b.Ai(),b.zd());FQ(a.va,b.Ai(),4);delete a.ha[b.Ai()]};Jad.prototype.Ha=function(a,b,c){G7c(this.ta,a,b);F7c(this.ta,a,c)};
Jad.prototype.W=function(a,b){var c=J2c(this,a).zd();c.ej(b);c instanceof _.wp?r8c(this.ma,a,c):"undefined"!=typeof _.dO&&c instanceof _.dO?s8c(this.ma,a,c):c instanceof _.FH?r8c(this.Ka,a,c):F7c(this.ta,a,c)};
Jad.prototype.ka=function(){_.Wi(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&&(w6c(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])FQ(this.va,a,3),d.gJ(c)};var J2c=function(a,b){if(!a.ha[b])throw Error("Jg`"+b);return a.ha[b]};
var WQ=function(a,b){_.P.call(this);this.ka=a;this.Tb=b;this.W=_.ii();this.V=!1;this.H=""};_.K(WQ,_.P);WQ.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.Tb)}).then(this.ta.bind(this)).Zf(this.ha.bind(this));return this.W.promise};WQ.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new nad(0,this.H));Kad(this)};var Kad=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.vKc(a.H))}).then(a.va.bind(a)).Zf(a.ha.bind(a))},5E3)};
WQ.prototype.va=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new nad(a.ka,this.H)),Kad(this);else{this.V=!0;if(4==a.status){var b=new jad;b=_.w(b,2,a.H||[]);b=_.w(b,3,this.H);b=_.w(b,5,a.ma);b=_.w(b,6,a.W);b=_.w(b,7,a.qx);b=_.w(b,8,a.ha);a=_.Nk(b,4,a.V);this.W.resolve(a)}else a=_.MM(_.yr(_.xr(new _.rb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};WQ.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.uKc(a.H))}).then(this.ma.bind(this)).Zf(this.ha.bind(this))};
WQ.prototype.ma=function(){if(!this.V){var a=new jad;a=_.w(a,3,this.H);a=_.w(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};WQ.prototype.ha=function(a){this.V=!0;this.W.reject(_.mN(a));this.dispose()};
var Lad=function(){_.Li.call(this,"VbxEwf")};_.K(Lad,_.Li);
var Mad=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=Mad.prototype;_.g.Pa=function(){return _.A(this.H.H,_.vGc,58)};_.g.getContext=function(){return this.H};_.g.FLa=function(){var a=this.H.Ma,b=this.W,c=_.qc(a.H);a.V&&c.push(_.vOc("CacheSize",a.V.W()));c.push(_.vOc("InitialViewDataLoaded",b));a=new uUc;_.Nk(a,1,c);return _.qi(a)};_.g.Qea=function(){return this.H.W};_.g.CP=function(a){return _.qi(this.H.V.V.H(a))};_.g.mta=function(){return _.qi(this.H.Ma.W.Eg())};
_.g.fia=function(a,b,c){var d=new _.li;if(_.A(a,_.BM,3)||_.A(a,_.fO,4)||_.A(a,_.VO,5)||_.A(a,_.aO,6)||_.A(a,_.EN,7)||_.A(a,_.xN,8)||_.A(a,_.BN,9)||_.A(a,_.RM,10)){var e=DZc(a);this.H.zn().then(function(f){return f.H(e,{zyb:b,Ayb:c})}).then(this.Vcb.bind(this,d),d.Jd,d);return d}throw Error("Kg");};
_.g.Vcb=function(a,b){var c=[],d="";if(b instanceof _.GO){c=b.Rq().Id();var e=_.x(b,2);d=b.Tn()}else if(b instanceof _.hO)b.getItem()&&c.push(b.getItem()),e=b.IL();else throw Error("Lg");a.callback({items:c,wDa:e,pageToken:d})};_.g.BTa=function(){var a=this.H.H,b=a.Ff();a="email:"+a.nf().getEmail().replace(/@.*$/,"");_.w(b,13,a)};_.g.ICa=function(){this.H.va.eS();var a=this.H.H;T4c(_.xO(a.nf()),_.yO(a),this.H.W).Zf(function(){})};_.g.n1=function(){return _.rIc[_.C(this.H.H.Ff(),8,0)]};
_.g.zya=function(){this.H.Nc.H=new P9c(_.Kg().substring(0,8))};_.g.Rea=function(){var a=this.H.Nc.H,b=null;a&&(b=R9c(this.H.Nc),b={traceId:a,spanRecs:b});a=this.H.Nc;a.H=null;a.V=[];return _.qi(b)};_.g.GLa=function(){return _.qi(this.H.Nc.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.ri();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.KLa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.L4());b.cs_ch=p3c(c).length;b.cs_td=_.sa(c.V).length;(c=this.H.Mn)&&(b.t_cps=c.Z7a().join(","));b.t_id=D$c(this.H);var e=[];T9c(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.Bh.isConnected():this.H.Jc.H;b.n_o=this.H.vc?this.H.Bh.Ye():this.H.ka.Ye();b.n_csm=!!this.H.vc;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.qi(JSON.stringify(b))};_.g.ASa=function(){this.V&&(this.V.dispatchEvent(new Lad),this.V.K4())};_.g.Sl=function(a){var b=this.H.vc;b&&a!=b.H&&(b.H=a,_.DOc(b),a?b.Mb.update(3):_.sNc(b))};
var Pad=function(a,b){this.H=a;this.V=b;this.ha=_.gKc(IUc(this.V),Nad);this.W=_.gKc(IUc(this.V),Oad)},Qad=function(a,b){var c={};b.forEach(function(f){_.kKc(f);var h=f.getId(),k=a.H.Mr(),l=a.H.Fb;_.JLc(f,3);_.cN(f,5);var n=wRc(f,!0);f.getCapabilities()||f.In(new _.vl);_.D(n,2)&&((n=f.Pi())&&n.length?_.w(f,46,n[0]):(_.rO(f,[k]),_.w(f,46,k)),k=f.Er(),_.w(f,12,k),k=new _.ql,k.Wb(l),_.w(k,6,1),_.UKc(k,!0),_.DLc(f,k),_.CLc(f,[k]),_.iGc(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=zZc(d.V,b);_.tf(e,function(f,
h){kP(f.getItem(),c[h],a.ha);(a.H.ka.Ye()||a.H.Bh.Ye()||3==lP(f.getItem()))&&kP(f.getItem(),c[h],a.W);_.Cf(c,h)});_.tf(c,function(f){f.yn().Lq()&&(e[f.getId()]=new UP(f))});U7c(d,Object.values(e))},Rad=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});Qad(a,c)},Nad=[50],Oad=[12,11,10,67,68];
var Sad=function(a){this.ka=a;this.H=null;this.ha=new Pad(a,a.Ua);this.V=!1};
Sad.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);Tad(this,"Querying all offline items.");this.H.H().Uf(a,b);this.V||(this.H.V((0,_.L)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.re;b.Sl(!0);b=BZc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==lP(f)){var h=new _.VM;_.$M(h,f.getId());_.dN(h);d.push(h)}else h=new _.Bl,_.kN(h,!1),_.w(h,2,!1),_.H(f,81,h),c.push(b[e])}U7c(a,c);a.ta(d)}};
Sad.prototype.va=function(a){Tad(this,"Processing all offline item(s): "+a.length);Qad(this.ha,a);WP(this.ka.ha,"GZTDpc")};Sad.prototype.ta=function(){Tad(this,"Error fetching offline items.")};Sad.prototype.ma=function(a){Tad(this,"Handling offline change(s): "+a.length);Rad(this.ha,a)};var Tad=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var XQ=function(a){_.P.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new Sad(a);this.context.Df=b;this.Ma=new Mad(a,this);F$c(this.Ma);(b=_.A(a.H,_.vGc,58))&&_.y(b,1,!1);this.Yd=new _.ke(this);this.Na(this.Yd);this.V=this.context.ha;this.ha=a.Yj;this.W=new Jad(a,this.ha);a=this.context;b=this.W;a.Mh=b;a.Xd.resolve(b);this.va=null;this.hb=this.Ba=!1;this.Oa=null;this.RCa()};_.K(XQ,_.P);_.g=XQ.prototype;_.g.RCa=function(){};
_.g.initialize=function(){var a=this;this.va||(this.va=_.ii(),this.Oa=this.context.ta.W(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.ri()),this.ELa(),this.Yd.listen(this.context,_.fc,this.J9a),this.Yd.listen(this.context.Jc,["xa","ya"],function(b){return void a.dispatchEvent(b)}),this.Yd.listen(this.context.Bh,[].concat(_.oc(Object.values(oYc))),function(b){return void a.dispatchEvent(b)}),this.V.start(),WP(this.V,"NSockf"));return this.va.promise};
_.g.LHa=function(){this.Oa&&this.Oa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.va.resolve())};_.g.J9a=function(a){var b=a.error,c=b.Ig;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.va.reject(b)):this.dispatchEvent(a)};_.g.O7=function(){throw YQ("teamDriveQuery");};_.g.Xha=function(){throw YQ("teamDriveFindByIds");};_.g.lza=function(){throw YQ("teamDriveMovePreflight");};_.g.Cva=function(){throw YQ("peoplePredictQuery");};
_.g.query=function(a){PYc(this.context.ma,a,HUc(this.context.Ua));this.vR();var b=this.W.Rla(_.Rk(a));this.hb||(a=a.De(),a&&121==_.x(a,1)||(this.hb=!0,this.Yd.listen(b,_.ec,this.DLa)));return b};_.g.DLa=function(a){a=a.currentTarget;1==a.Ib()&&(this.Ma.W=this.V.H("W6J7De"),this.Yd.Tc(a,_.ec,this.DLa))};_.g.Ms=function(a){this.vR();NYc(a);return this.W.Ola(_.Rk(a))};_.g.kka=function(){throw YQ("activityQuery");};_.g.Wka=function(){throw YQ("backupsQuery");};
_.g.vwa=function(){throw YQ("refreshBackups");};_.g.eta=function(){throw YQ("getAndroidBackupItems");};_.g.vma=function(){throw YQ("deleteBackup");};_.g.Gva=function(){throw YQ("permissionQuery");};_.g.Qqa=function(){throw YQ("insertPermission");};_.g.yma=function(){throw YQ("deletePermission");};_.g.ud=function(){throw YQ("mutate");};_.g.MR=function(){throw YQ("mutateWorkspace");};_.g.KC=function(){throw YQ("bulkMutate");};_.g.Nla=function(){throw YQ("createFileUploader");};
_.g.eDa=function(a){return new WQ(this.context.zn(),a)};_.g.zX=function(a){if(3==a.getType())return _.ri(this.context.zn().then(function(b){return b.H(a)}).then(null,_.oN));throw YQ("getApps with type "+a.getType());};_.g.fta=function(){throw YQ("getApp");};_.g.Sqa=function(){throw YQ("installApp");};_.g.uma=function(){throw YQ("deleteApp");};_.g.Pea=function(){throw YQ("updateApp");};_.g.dW=function(){throw YQ("getUserAccount");};_.g.tI=function(){throw YQ("getUserPrefs");};
_.g.jta=function(){throw YQ("mutateUserPref");};_.g.gta=function(){throw YQ("getRevisions");};_.g.ita=function(){return!1};_.g.Sl=function(a){this.context.ka.Sl(a)};_.g.tC=function(){throw YQ("setOfflineOptIn");};_.g.lta=function(){throw YQ("setLocalItemService");};_.g.vR=function(){};_.g.zLa=function(){j$c(this.context);this.context.ta.H(106006)};_.g.I1=function(){return this.Ma};_.g.kta=function(){};_.g.Oea=function(){return this.context.Jc.H};_.g.dta=function(){return u2c(this.context.Jc)};
_.g.isConnected=function(){return 1==this.context.vc.getState().get()};_.g.sync=function(){throw YQ("sync");};_.g.K4=function(){return k$c(this.context)};_.g.Iua=function(){throw YQ("offlineDataLoaded");};_.g.COa=function(a){return this.context.zn().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.qla=function(){throw YQ("categoryMetadataQuery");};_.g.sla=function(){throw YQ("changeCategoryLinks");};_.g.kZ=function(){throw YQ("updateCategoryMetadata");};
_.g.iwa=function(){throw YQ("publishedCategoriesQuery");};_.g.zga=function(){throw YQ("publishedCategoryQuery");};_.g.uAa=function(){throw YQ("workspaceFindByIdsRequest");};_.g.Dia=function(){throw YQ("workspaceQueryRequest");};_.g.fza=function(){throw YQ("suggestedWorkspaceItemQueryRequest");};_.g.Qha=function(){throw YQ("suggestedWorkspaceQueryRequest");};_.g.cta=function(){throw YQ("addCacheHint");};_.g.L$=function(){throw YQ("createUserFeedback");};
_.g.hta=function(){throw YQ("handleChanges");};var YQ=function(a){return new _.sb(a+" is unsupported",_.lN(3))};
var cSc=function(a){XQ.call(this,a);B3c(a,"");A$c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.K(cSc,XQ);cSc.prototype.ELa=function(){VP(this.V,["NSockf"],this.LHa.bind(this))};
var Uad=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.ya(this))},Vad=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},Wad=function(a){return new Vad(a.id,a.d,a.err||void 0)};
var ZQ=function(a,b,c){_.P.call(this);var d=this;this.Zn=a;this.Jc=b;this.Ba=new _.li;this.hb={};this.Ua=this.Ma=this.$b=null;c.then(function(e){d.$b=e.clientId;d.Ma=e.channel;d.Ua=e.H;$P(d.Ma,d.Zn,(0,_.L)(d.Kib,d));$P(d.Ma,d.Zn+"_update",(0,_.L)(d.Lib,d));d.log("Service initialized.");d.Ba.callback()})};_.K(ZQ,_.P);_.g=ZQ.prototype;
_.g.Kib=function(a){a=Wad(a);var b=this.hb[a.id];if(b){if(null!=a.data&&null==a.error)b.resolve(a.data);else{if(a.error)var c=new _.rb(JSON.parse(a.error));else c=new _.rb,_.LM(c,2),_.MM(c,6),_.w(c,21,"An invalid response was received");b.reject(new _.sb(void 0,c))}delete this.hb[a.id]}};_.g.Lib=function(a){a=Wad(a);this.Uca(a.id,a.data,a.error)};_.g.Uca=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.li;this.Ba.addCallback(function(){var h=e.Ma,k=new Uad(e.$b,a,b,d),l=_.ii();e.hb[k.H]=l;l.promise.then(function(n){f.callback((c||_.bf)(n))},function(n){n=n.Ig;var p=_.x(n,21)||"";_.w(n,21,"Worker"+("An invalid response was received"==p?"["+a+"]: ":": ")+p);f.Jd(new _.sb(void 0,n))});aZc(h,e.Zn,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Ua&&this.Ua.info(this.Jc,a)};
var Xad=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var $Q=function(a,b,c){ZQ.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.K($Q,ZQ);$Q.prototype.Rla=function(a){var b=this;a=new tad(this.H.ma,this.H.$b,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);Yad(this,a);return a};$Q.prototype.Ula=function(a){var b=this;a=new Ead(this.H.ma,this.H.$b,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);Yad(this,a);return a};
var Yad=function(a,b){aR(a,b);_.wd(b,function(){bR(a,b);a.send("4.3",[b.Ai(),b.zd().wc()])});a.send("4.1",[b.Ai(),b.zd().wc()])};_.g=$Q.prototype;_.g.Ola=function(a){var b=this,c=new Bad(this.H.H,this.H.ma,this.H.W,this.H.hf,this.Ha.bind(this),a);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.4",[c.Ai(),c.zd().wc()])});this.send("4.2",[c.Ai(),c.zd().wc()]);return c};
_.g.Xla=function(a){var b=this,c=new Iad(a,this,this.H.H);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.11",[c.Ai(),c.zd().wc()])});this.send("4.9",[c.Ai(),c.zd().wc()]);return c};_.g.Yla=function(a){var b=this,c=new sad(this.H,this,a);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.12",[c.Ai(),c.zd().wc()])});this.send("4.10",[c.Ai(),c.zd().wc()]);return c};
_.g.$la=function(a){var b=this,c=new zad(this.H,a,this);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.15",[c.Ai(),c.zd().wc()])});this.send("4.13",[c.Ai(),c.zd().wc()]);return c};_.g.ama=function(a){var b=this,c=new wad(this.H,a);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.16",[c.Ai(),c.zd().wc()])});this.send("4.14",[c.Ai(),c.zd().wc()]);return c};
_.g.Vla=function(a){var b=this,c=new Had(this.H,a,function(){b.send("4.21",[c.Ai()])});aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.23",[c.Ai(),c.zd().wc()])});this.send("4.22",[c.Ai(),c.zd().wc()]);return c};_.g.Lla=function(a){var b=this,c=new qad(this.H.ka,this.H.Bh,this.H.W,function(d,e){return b.W(d,e)},a);aR(this,c);_.wd(c,function(){bR(b,c);b.send("4.19",[c.Ai(),c.zd().wc()])});this.send("4.18",[c.Ai(),c.zd().wc()]);return c};
var aR=function(a,b){a.V.create(b.Ai(),b.zd());a.ha[b.Ai()]=b},bR=function(a,b){FQ(a.V,b.Ai(),4);delete a.ha[b.Ai()]};$Q.prototype.Ha=function(a,b,c){if(b instanceof _.mp&&c instanceof _.mp)this.send("4.5",[a,b.wc(),c.wc()]);else if(b instanceof _.up&&c instanceof _.up)this.send("4.6",[a,b.wc(),c.wc()]);else throw Error("Mg");};
$Q.prototype.W=function(a,b){if(!this.ha[a])throw Error("Jg`"+a);var c=this.ha[a];if(c.zd()instanceof _.re)var d="4.7";else if(c.zd()instanceof _.EO)d="4.8";else if(c.zd()instanceof _.FH)d="4.20";else if(c.zd()instanceof _.wp)d="4.17";else throw Error("Ng");c.zd().ej(b);this.send(d,[a,b])};
$Q.prototype.Uca=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.rb(JSON.parse(c)),c=new cQ(c,c.y0()),a.gJ(c),FQ(this.V,a.Ai(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.rM();return}c=a.zd();if(c instanceof _.re||c instanceof _.EO)f=JSON.parse(f),c instanceof _.re&&_.MN(c)?d=new _.dP(f):d=new _.lD(f);else if(c instanceof _.mp||c instanceof _.up)d=new _.cP,SVc(d,function(h){return new _.Dl(JSON.parse(h))},f);else if(c instanceof _.FH)d=new _.gP(new EP(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.wp)d=new _.cQc(new gQ(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.dO&&c instanceof _.dO)d=new _.eP(JSON.parse(f));else if(c instanceof _.tp)d=new HP(JSON.parse(f));else throw Error("Og");}d&&("boolean"===typeof b[e]&&u6c(this.V,a.Ai(),!!b[e]),w6c(this.V,a.Ai(),d),a.update(d))}};
var Zad=function(a,b){ZQ.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.K(Zad,ZQ);_.g=Zad.prototype;_.g.Pa=function(){return _.A(this.H.H,_.vGc,58)};_.g.getContext=function(){return this.H};_.g.FLa=function(){return this.send("5.4",[this.V],function(a){return new uUc(JSON.parse(a[0]))})};_.g.Qea=function(){return this.H.W};_.g.CP=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Dl(b)})};
_.g.mta=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 _.xGc(a[c]));return b})};_.g.fia=function(a,b,c){return this.send("5.8",[a.wc(),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 _.Dl(e[k]));return{items:h,wDa:f,pageToken:d}})};_.g.BTa=function(){this.send("5.9",[])};_.g.ICa=function(){this.send("5.1",[])};_.g.n1=function(){return _.rIc[_.C(this.H.H.Ff(),8,0)]};
_.g.zya=function(){this.send("5.6",[])};_.g.Rea=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 P9c(b,c),spanRecs:d}})};_.g.GLa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new P9c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.ASa=function(){this.send("5.11",[])};
_.g.Sl=function(a){this.send("5.13",[a])};
var $ad=function(a,b){ZQ.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.Tb=b;this.Oc=String(_.ya(this));this.H=null};_.K($ad,ZQ);$ad.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.Tb.wc()],function(b){return new jad(JSON.parse(b[0]))},this.Oc).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};$ad.prototype.cancel=function(){this.send("9.2",[this.Tb.wc()],void 0,this.Oc)};
$ad.prototype.Uca=function(a,b){this.dispatchEvent(new nad(b[0],b[1]))};
var abd=function(a){ZQ.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.K(abd,ZQ);abd.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().Uf(a,b);this.H.V((0,_.L)(this.ka,this))}else this.send("6.3",[])};abd.prototype.ha=function(a){var b=[];_.Ga(a,function(c){b.push(c.wc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};abd.prototype.V=function(){this.log("Error fetching offline items.")};
abd.prototype.ka=function(a){var b=[];_.Ga(a,function(c){b.push(c.wc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var bbd=function(a,b){HQ.call(this,a,b)};_.K(bbd,HQ);bbd.prototype.J$=function(a,b,c){return new _.zKc(a,c)};bbd.prototype.Yba=function(a){return a.pageToken||""};bbd.prototype.rba=function(a){return a.response.V()};bbd.prototype.N4=function(){};
var cbd=function(a,b,c){TQ.call(this,a.ka,a.Bh,b.Qh()||void 0);this.Tb=b;this.W=[];this.V=!1;this.ma=c;this.ka=new bbd(this.Tb,this.ma)};_.K(cbd,TQ);_.g=cbd.prototype;_.g.uD=function(){IQ(this.ka).then(this.Gib.bind(this),this.handleError.bind(this))};_.g.getData=function(){return n_c(new hQ,this.W).Dc(this.status)};_.g.Nq=function(){return new T$c};_.g.Wj=function(){return!this.Ye()&&(!this.H||l8c(this.ka))};_.g.Gib=function(a){this.V=this.H=!0;this.W=a;this.Cr()};
_.g.Cr=function(){if(this.active){var a=this.status;this.hJ();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.Li(_.ec,this))}};_.g.qc=function(){return this.W.length};
var dbd=function(a,b,c){TQ.call(this,a.ka,a.Bh,b.Qh()||10);this.Tb=b;this.va=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.hN;this.ma=null};_.K(dbd,TQ);_.g=dbd.prototype;_.g.uD=function(){var a=this;this.va(this.Tb).then(function(b){a.H=!0;a.W=!0;a.V=b.Uj();if(b=b.getSessionId())a.ma=b;a.Cr()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.oJc((new _.bN).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Nq=function(){var a=_.gN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new V$c).Dc(this.status);return _.Nk(b,2,a)};_.g.oK=function(){};_.g.Cr=function(){var a=this.status;this.hJ();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.Li(_.ec,this))};_.g.qc=function(){return this.V.length};
var ebd=function(){};_.g=ebd.prototype;_.g.JH=function(a,b){b=bad(1).setPosition(b);_.H(b,2,a);return b};_.g.HH=function(a,b){b=bad(2).setPosition(b);_.H(b,2,a);return b};_.g.SM=function(a,b,c){b=bad(3).gw(b).setPosition(c);_.H(b,2,a);return b};_.g.$K=function(a,b){b=bad(4).setPosition(b);_.H(b,2,a);return b};_.g.jI=function(a){return _.A(a,_.RP,2)};
var gbd=function(){_.fN.call(this,new ebd,function(a){return fbd(a)})};_.K(gbd,_.fN);var fbd=function(a){switch(_.qk(a,ZXc[0])){case 6:return _.Uy(_.A(a,_.Ty,6)).getTime().toString();case 7:var b=_.A(a,_.QP,7);a=_.A(b,_.Ty,1);b=b.Op();return a&&b?(a=_.Uy(a).getTime(),_.Uy(b).getTime()+"--"+a):"";default:return""}};_.cf(gbd);
var cR=function(a,b,c,d){TQ.call(this,b.ka,b.Bh,d);this.Tb=a;this.W=!1;this.va=[];this.V=[];this.ma="";this.Ba=new _.EPc(_.C(b.H.Ff(),6,1E3));this.ka=!1;this.Ea=c};_.K(cR,TQ);_.g=cR.prototype;_.g.activate=function(){TQ.prototype.activate.call(this);this.Cr()};_.g.uD=function(){this.Tb.yGa()?hbd(this):this.Ha()};_.g.Rr=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;TQ.prototype.Rr.call(this,a)};
_.g.getData=function(){var a=(new fad).Dc(this.status);_.Nk(a,2,this.V.slice(0,this.limit));this.va=_.sa(this.V);return a};_.g.Nq=function(){var a=_.gN(gbd.Jb(),this.va,this.V),b=new dad;a=_.Nk(b,2,a).Dc(this.status);this.va=_.sa(this.V);return a};_.g.Wj=function(){return!this.Ye()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.zd=function(){return this.Tb};_.g.ILa=function(a){this.dispatchEvent(new _.tb(a));this.W=!1};
_.g.lbb=function(a,b){this.H=!0;var c=_.Kk(b,_.RP,1);this.V=this.V.concat(c);this.ma=b.Gv()||"";0<c.length&&(this.ka=!0);this.Cr();hbd(this,a)};_.g.Abb=function(a){gbd.Jb();this.H=!0;var b=_.Kk(a,_.RP,1);vP(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.Gv()||"",this.ka=!0,this.Cr(),hbd(this)):(this.W=!1,ibd(this))};var hbd=function(a,b){a.active?(a.W=!0,a.Wj()&&a.V.length<a.limit?a.Ea(a.Tb,a.limit-a.V.length,a.ma).Uf(_.df(a.lbb,b),a.ILa,a):(a.W=!1,b&&b.callback(),ibd(a))):a.W=!1};
cR.prototype.Ha=function(){this.active&&(this.W=!0,this.Ea(this.Tb,this.limit).Uf(this.Abb,this.ILa,this))};cR.prototype.Cr=function(){if(this.active){var a=this.status;this.hJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Li(_.ec,this))}};cR.prototype.hJ=function(){this.Ye()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};cR.prototype.oK=function(){this.active&&this.Wj()&&!this.W&&hbd(this,new _.li)};
var ibd=function(a){a.Tb.yGa()||(_.MI(a.Ba),_.m.setTimeout((0,_.L)(a.Ha,a),a.Ba.kb()))};cR.prototype.qc=function(){return this.V.length};
var jbd=function(){};_.g=jbd.prototype;_.g.JH=function(a,b){return had(gad(1),a).setPosition(b)};_.g.HH=function(a,b){return had(gad(2).setPosition(b),a)};_.g.SM=function(a,b,c){return had(gad(3).gw(b).setPosition(c),a)};_.g.$K=function(a,b){return had(gad(4),a).setPosition(b)};_.g.jI=function(a){return a.Kw()};
var kbd=function(){_.fN.call(this,new jbd,function(a){return a.getId()})};_.K(kbd,_.fN);_.cf(kbd);
var lbd=function(a,b,c){TQ.call(this,b.ka,b.Bh);this.Tb=a;this.ma=[];this.V=[];this.W=new _.EPc(_.C(b.H.Ff(),54,1E3));this.ka=!1;this.va=c};_.K(lbd,TQ);_.g=lbd.prototype;_.g.activate=function(){TQ.prototype.activate.call(this);this.Cr()};_.g.uD=function(){this.poll()};_.g.getData=function(){var a=new A_c;a=_.Nk(a,2,this.V).Dc(this.status);this.ma=_.sa(this.V);return a};_.g.Nq=function(){var a=_.gN(kbd.Jb(),this.ma,this.V),b=new lad;a=_.Nk(b,2,a).Dc(this.status);this.ma=_.sa(this.V);return a};
_.g.Wj=function(){return!this.Ye()&&!this.H};_.g.poll=function(){var a=new _.li;this.va(this.Tb).Uf(_.df(this.Iib,a),_.df(this.Hib,a),this);return a};_.g.Hib=function(a,b){this.dispatchEvent(new _.tb(b));a.Jd(b);mbd(this)};_.g.Iib=function(a,b){this.H=!0;b=_.Kk(b,_.RZc,2);vP(kbd.Jb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.Cr();a.callback();mbd(this)};_.g.Cr=function(){if(this.active){var a=this.status;this.hJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Li(_.ec,this))}};
_.g.oK=function(){};var mbd=function(a){a.active&&(_.m.setTimeout((0,_.L)(a.poll,a),a.W.kb()),_.MI(a.W))};lbd.prototype.qc=function(){return this.V.length};
var nbd=function(){};_.g=nbd.prototype;_.g.JH=function(a,b){return M$c(L$c(1),a).setPosition(b)};_.g.HH=function(a,b){return M$c(L$c(2).setPosition(b),a)};_.g.SM=function(a,b,c){return M$c(L$c(3).gw(b).setPosition(c),a)};_.g.$K=function(a,b){return M$c(L$c(4),a).setPosition(b)};_.g.jI=function(a){return a.i2()};
var obd=function(){_.fN.call(this,new nbd,function(a){return a.getId()})};_.K(obd,_.fN);_.cf(obd);
var pbd=function(a,b,c){_.P.call(this);this.ma=a;this.Tb=b;this.H="";this.V=this.W=!1;this.ha=0;this.Lu=[];this.ta=c};_.K(pbd,_.P);pbd.prototype.ej=function(a){this.ha=a};var rbd=function(a){return a.V||a.W&&""==a.H?Promise.resolve():qbd(a)};pbd.prototype.$ba=function(){return this.Lu};var qbd=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.Lu.length,100);var c=new _.RN;c=_.H(c,3,a.Tb);c=_.w(c,2,a.H);b=_.w(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.va.bind(a))};
pbd.prototype.ka=function(a){this.V=!1;this.H=a.Tn()||"";a=a.Rq().YL();this.Lu=_.ra(this.Lu,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.Lu.length<this.ha)return qbd(this);this.dispatchEvent("Hb")};pbd.prototype.va=function(a){this.V=!1;a=new cQ(_.NM(a),_.C(this.ma.H.Ff(),1,1));this.dispatchEvent(a)};
var sbd=function(a,b,c,d){TQ.call(this,b.ka,b.Bh,d||100);var e=this;this.va=b;this.Tb=a;this.ma=[];this.Lu=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new pbd(b,this.Tb,this.Ba);_.wd(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.K(sbd,TQ);_.g=sbd.prototype;_.g.activate=function(){TQ.prototype.activate.call(this);this.Cr()};_.g.uD=function(){this.JLa()};_.g.Rr=function(a){TQ.prototype.Rr.call(this,a||100)};
_.g.getData=function(){var a=new xUc;a=_.Nk(a,2,this.Lu.slice(0,this.limit)).Dc(this.status);this.ma=_.sa(this.Lu);return a};_.g.Nq=function(){var a=_.gN(obd.Jb(),this.ma,this.Lu),b=new S$c;a=_.Nk(b,2,a).Dc(this.status);this.ma=_.sa(this.Lu);return a};_.g.Wj=function(){var a;(a=!this.Ye())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.zd=function(){return this.Tb};
_.g.JLa=function(){var a=this;this.V=new pbd(this.va,this.Tb,this.Ba);this.V.ej(this.limit);return rbd(this.V).then(function(){return tbd(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){TQ.prototype.handleError.call(this,a);ubd(this)};var tbd=function(a){a.H=!0;var b=a.V.$ba();vP(obd.Jb(),a.Lu,b)&&(a.ka=!0,a.Lu=b);a.Cr();ubd(a)};sbd.prototype.Cr=function(){if(this.active){var a=this.status;this.hJ();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.Li(_.ec,this))}};
sbd.prototype.oK=function(){var a=this;this.V.ej(this.limit);rbd(this.V).then(function(){return tbd(a)},function(b){return a.handleError(b)})};var ubd=function(a){if(a.active){var b=a.va.H.Ff();a.W=_.m.setTimeout((0,_.L)(a.JLa,a),Math.ceil(_.C(b,7,9E5)*Math.random())+_.C(b,15,36E5))}};sbd.prototype.qc=function(){return this.Lu.length};var vbd=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.Li(_.ec,a))},0)};
var wbd=function(a,b){ZQ.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.Tb=b;this.Oc=String(_.ya(this));this.H=null};_.K(wbd,ZQ);wbd.prototype.ha=function(){var a=this;this.H||(this.H=_.ii(),this.send("10.1",[this.Tb.wc()],function(b){a.H.resolve(b[0])},this.Oc).Se(function(b){a.H.reject(b)}));return this.H.promise};wbd.prototype.cancel=function(){this.send("10.2",[this.Tb.wc()],void 0,this.Oc)};
var xbd=function(a,b,c,d,e,f,h,k){_.jP.call(this,a,b,c,d,f,h,k);this.V=e;this.le=null};_.K(xbd,_.jP);xbd.prototype.tta=function(a,b){var c=this;return _.ri(this.V.then(function(d){return d.V(DQc(c.W,c.Ua,a,b,c.H,c.va))},null))};xbd.prototype.Ha=function(a,b){var c=this.zd(a);if(c){var d=0;if(c.file){var e=c.request&&_.A(c.request,_.XLc,15);e&&(d=_.x(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.qQc(a,b,d))}};
var ybd=function(a,b){ZQ.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Oc=String(_.ya(this));this.H={};this.V={};_.wd(this,(0,_.L)(this.I1a,this))};_.K(ybd,ZQ);_.g=ybd.prototype;_.g.FU=function(){return _.Lg()};
_.g.upload=function(a,b){!_.x(a,26)&&b&&b.lastModified&&_.w(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.XLc;_.w(d,1,b.size);_.H(a,15,d);d=_.Lg();this.V[_.DO(a)]=b}return this.send("7.1",[this.Oc,a.wc(),c],function(e){return new _.hO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Oc,a])};_.g.SLa=function(){this.send("7.3",[this.Oc])};
_.g.uta=function(a){var b={};_.Ga(a,function(d){b[d]=new _.li});var c=this.FU();this.H[c]=b;this.send("7.4",[this.Oc,c,a]);return _.qc(b)};_.g.tta=function(a,b){var c=this;return this.send("7.5",[this.Oc,a,b],function(d){return dWc(d[0])}).addCallback(function(d){return _.ri(c.W.then(function(e){return e.V(d)}))})};_.g.I1a=function(){this.send("7.6",[this.Oc])};
_.g.Uca=function(a,b){if(b)switch(_.Mg(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,_.IGc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.hO(JSON.parse(b[2]));zbd(this,b[0],b[1],a);break;case 1:a=new _.sb(void 0,new _.rb(JSON.parse(b[2])));zbd(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.qQc(b[0],b[1],b[2]));break;default:throw Error("Pg");}};
var zbd=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.hO?e.callback(d):e.Jd(d);delete a.H[b][c];_.Bf(a.H[b])&&delete a.H[b]}};
var Abd=function(a,b){if(0==a.length)throw new _.sb("mutateUserPref requires a namespace.",_.lN(3));if("undefined"!=typeof _.GE&&b instanceof _.GE)var c=(b=(b=b.V())&&b.getKey())&&_.rp(b)||null;else"undefined"!=typeof _.FE&&b instanceof _.FE&&(c=(b=b.getKey())&&_.rp(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.sb("mutateUserPref unsupported for namespace: "+c,_.lN(3));};
var Bbd=function(a){this.H=a};
var qP=function(a,b){var c=_.ii();ZQ.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.va=c;this.H=a;n$c(this.H,new abd(c.promise));this.Ea=b;JUc(this.Ea,_.ad(this.H.H,28));this.vc=jRc(_.UO(this.Ea));this.V=a.Yj;this.W=new $Q(c.promise,a,this.V);this.Oa=new Zad(c.promise,a);F$c(this.Oa);this.Fb=!1;this.Ha=_.bi(this.Ba);this.ta=this.Lb=!1;this.Ka=new _.ke(this);this.Na(this.Ka);this.wb=!1;this.Ub=_.ii();this.mb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Bh,[].concat(_.oc(Object.values(oYc))),
function(e){return void d.dispatchEvent(e)})};_.K(qP,ZQ);qP.prototype.initialize=function(){var a=this,b=_.A(this.H.H,BTc,66);if(this.Fb)return this.Ha;if(!b||!_.x(b,1))return b=new _.sb("Dataservice URL not provided."),this.Ba.Jd(b),this.Ha;var c=this.H.ta.W(106E3);this.Fb=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.ri());Cbd(this,b);this.Ha.then(function(){c.V();a.WOa()});return this.Ha};
var Cbd=function(a,b){var c=Dbd(a),d=!0,e=_.x(b,5)||"";if(_.rJc(window.location.href,c.toString())&&e){d=!1;c=hRc(e,Ebd(a),a.vc,_.x(b,6));var f=new $Yc(c,!1)}else b=Fbd(c.toString()),c=_.jGc(c.V,void 0,c.H,c.ha),f=new $Yc(YYc(window.frames[b],c.toString()),!1);Gbd(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();l$c(a.H,function(){return Hbd(f)})},Hbd=function(a){return _.fi([new _.ai(function(b){a.isDisposed()||aZc(a,"8.1",void 0,function(){a.dispose();b()})}),
_.Xi(1E4)])},Dbd=function(a){var b=new _.xj(_.x(_.A(a.H.H,BTc,66),1));var c=new _.xj(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.Rj(d,3);_.Gj(b,"co",c);c=b.Me();!_.zO(a.H.H)&&0<_.OM(a.H.H.nf())&&(a=_.OM(a.H.H.nf()),c+="u/"+a+"/");_.Bj(b,c+"_/dataservice/cacheproxy");return b},Fbd=function(a){var b="cpiframe_"+_.Lg();a=_.wh("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.fg(_.qJc(_.Rf("display: none;")));document.body.appendChild(a);return b},Gbd=function(a,b,c){if(c)b.registerService("2.0",
(0,_.L)(a.zc,a));else{var d=function(){var e=new _.Tcb(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.ri(),ufds:a.vc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}aZc(b,"8.4",{dsc:a.H.H.wc()});Ibd(b);Jbd(a,b);$P(b,"2.1",function(){return{dsc:a.H.H.wc()}});$P(b,"2.2",function(e){"number"===typeof e.id?(a.va.resolve(new Xad(e.id,b,a.H.W,e.clients)),e.dsp&&Ibd(b),e.ivd&&Jbd(a,b)):
(e=new _.rb(JSON.parse(e.err)),a.Ba.Jd(new _.sb("Unable to initialize dataservice.",e)))});$P(b,"2.15",function(e){a.dispatchEvent(new mad(e.dt))});$P(b,"2.5",function(e){B3c(a.H,e.id)});$P(b,"2.6",function(e){a.H.ka.Sl(e.os)});$P(b,"2.18",function(e){a.H.ka.tC(e.oois)});$P(b,"2.7",function(){a.ta=!1});$P(b,"2.8",function(e){a.H.Nn=e.au;a.dispatchEvent(new dVc(e.au?"xa":"ya"))});$P(b,"2.19",function(e){a.H.Bh.update(e.cs)});$P(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Gy("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.HO(a.H.W,f,e,"fine");break;case "finer":_.HO(a.H.W,f,e,"finer");break;case "finest":_.HO(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":CUc(a.H.W,f,e);break;default:CUc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),CUc(a.H.W,f,e)}});$P(b,"2.10",function(e){a.dispatchEvent(new _.tb(new _.sb(void 0,new _.rb(JSON.parse(e.p)))))});$P(b,"2.12",function(){a.mb=!0;dR(a)});
$P(b,"2.14",function(){return a.Ub.resolve()});$P(b,"2.16",function(){return a.Lb=!0});$P(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},Ibd=function(a){_.m._DRIVE_dsp&&aZc(a,"8.3",{dsp:Kbd(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];aZc(a,"8.3",{dsp:Kbd(c)})}}},Jbd=function(a,b){_.y(a.H.H,24,!1)&&(_.m._DRIVE_ivd?aZc(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&aZc(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};qP.prototype.zc=function(){return{uid:Ebd(this),fds:_.UO(this.Ea)}};var Ebd=function(a){a=_.Rk(a.H.H);a=_.w(a,28,[]);a=_.xna(a,[]);var b=new _.yM;b.update(_.xO(a.nf()));b.update(String(_.OM(a.nf())));b.update(a.wc());return _.lGc(b.digest())},Kbd=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=qP.prototype;
_.g.query=function(a){dR(this);PYc(this.H.ma,a,HUc(this.Ea));this.vR();var b=this.W.Rla(a);this.wb||(a=a.De(),a&&121==_.x(a,1)||(this.wb=!0,this.Ka.listen(b,_.ec,this.HLa)));return b};_.g.HLa=function(a){a=a.currentTarget;1==a.Ib()&&(this.Oa.V=this.Lb,this.Ka.Tc(a,_.ec,this.HLa))};_.g.Ms=function(a){dR(this);NYc(a);this.vR();return this.W.Ola(a)};
_.g.kka=function(a,b){var c=this;dR(this);if(this.ma&&_.Qk(this.ma.zd(),a))return this.ma;var d=(0,_.L)(qP.prototype.X5a,this);this.ma=new cR(_.Rk(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.X5a=function(a,b,c){return this.send("3.17",[a.wc(),b,c],function(d){return new nYc(JSON.parse(d[0]))})};
_.g.Gva=function(a,b){var c=this;dR(this);if(this.ka&&_.Qk(this.ka.zd(),a))return vbd(this.ka),this.ka;var d=(0,_.L)(qP.prototype.Z5a,this);this.ka=new sbd(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.Z5a=function(a){return this.send("3.18",[a.wc()],function(b){return new a_c(JSON.parse(b[0]))})};_.g.Qqa=function(a){dR(this);return this.send("3.14",[a.wc()],function(b){return new fQ(JSON.parse(b[0]))})};_.g.yma=function(a){dR(this);return this.send("3.15",[a.wc()],function(b){return new fQ(JSON.parse(b[0]))})};
_.g.ud=function(a){dR(this);!this.ta&&_.jO(a)&&(this.ta=!0);a=lRc(a);return this.send("3.3",[a.wc()],function(b){if(!_.Ec(b))return new _.hO(JSON.parse(b[0]))})};_.g.MR=function(a){dR(this);a=vRc(a);return this.send("3.35",[a.wc()],function(b){return new eVc(JSON.parse(b[0]))}).then()};
_.g.KC=function(a){dR(this);for(var b=0;b<a.length;b++)!this.ta&&_.jO(a[b])&&(this.ta=!0);a=pRc(a);return this.send("3.4",[a.wc()],function(c){var d={};c=JSON.parse(c[0]);_.tf(c[0],function(e,f){d[f]=new _.hO(JSON.parse(e))});_.tf(c[1],function(e,f){e=new _.rb(JSON.parse(e));d[f]=_.mN(e)});return d})};_.g.Nla=function(){dR(this);return new ybd(this.va.promise,this.H.$b)};_.g.eDa=function(a){dR(this);return new $ad(this.va.promise,a)};
_.g.zX=function(a,b){var c=this;dR(this);var d=_.Kg();this.V.create(d,a);return this.send("3.5",[a.wc(),!!b],function(e){e=JSON.parse(e);var f=new dQ(JSON.parse(e[0]));return new _.fP(f,e[1],e[2])}).addCallback(function(e){x6c(c.V,d,e);return e.response}).Se(function(e){FQ(c.V,d);return e})};_.g.fta=function(a){dR(this);return this.send("3.10",[a.wc()],function(b){return new YZc(JSON.parse(b[0]))})};_.g.Sqa=function(a){dR(this);return this.send("3.11",[a.wc()],function(b){return new eQ(JSON.parse(b[0]))})};
_.g.uma=function(a){dR(this);return this.send("3.12",[a.wc()],function(b){return new eQ(JSON.parse(b[0]))})};_.g.Pea=function(a){dR(this);return this.send("3.13",[a.wc()],function(b){return new eQ(JSON.parse(b[0]))})};
_.g.dW=function(a,b){var c=this;dR(this);var d=_.Kg();this.V.create(d,a);return this.send("3.1",[a.wc(),!!b],function(e){e=JSON.parse(e);var f=new _.iQ(JSON.parse(e[0]));return new _.iP(f,e[1],e[2])}).addCallback(function(e){x6c(c.V,d,e);return e.response}).Se(function(e){FQ(c.V,d);return e})};
_.g.tI=function(a,b){var c=this,d=_.ad(this.H.H.Ff(),30);if(!d||0==d.length)return _.si(new _.sb("getUserPrefs requires a namespace.",_.lN(3)));dR(this);var e=_.Kg();this.V.create(e,a);return this.send("3.2",[a.wc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.sp(JSON.parse(f[0]));return new _.hP(h,f[1],f[2])}).addCallback(function(f){x6c(c.V,e,f);return f.response}).Se(function(f){FQ(c.V,e);return f})};
_.g.jta=function(a){dR(this);Abd(_.ad(this.H.H.Ff(),30),a);a=sRc(a);return this.send("3.6",[a.wc()],function(b){return new b_c(JSON.parse(b[0]))})};_.g.gta=function(a){dR(this);return this.send("3.16",[a.wc()],function(b){return new zUc(JSON.parse(b[0]))})};_.g.ita=function(){return this.ta};_.g.Sl=function(a){dR(this);this.send("3.8",[a])};_.g.tC=function(a){dR(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.lta=function(a){dR(this);m$c(this.H).W(a);this.tC(!!a)};
_.g.vR=function(){dR(this);this.send("3.9",[])};_.g.zLa=function(){dR(this);this.send("3.41",[]);j$c(this.H);var a=QUc(this.H.ta,106006);a&&this.va.promise.then(function(b){var c=_.A(_.aP(a),oUc,6);if(!c){c=new oUc;var d=_.aP(a);_.H(d,6,c)}c=_.w(c,1,b.clientId);_.w(c,2,b.V);a.V()},function(){})};_.g.Oea=function(){dR(this);return this.H.LLa()};_.g.dta=function(){dR(this);return Lbd(this.send("3.19",[],function(a){return new s_c(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Bh.isConnected()};
_.g.I1=function(){return this.Oa};_.g.sync=function(){dR(this);return this.send("3.28",[]).then()};_.g.K4=function(){return k$c(this.H)};_.g.kta=function(){};_.g.Xha=function(a){dR(this);if(!_.AO(this.H.H))throw new _.sb("function is unsupported",_.lN(3));return this.W.Yla(a)};_.g.O7=function(a){dR(this);if(!_.AO(this.H.H))throw new _.sb("function is unsupported",_.lN(3));return this.W.Xla(a)};_.g.Cva=function(a){dR(this);SYc(this.H.ma,a,HUc(this.Ea));return this.W.Ula(a)};
_.g.lza=function(a){dR(this);return new wbd(this.va.promise,a)};_.g.Wka=function(a){dR(this);if(!this.ha||this.ha.isDisposed()){var b=qP.prototype.Y5a.bind(this);this.ha=new lbd(a,this.H,b)}return this.ha};_.g.Y5a=function(a){return this.send("3.20",[a.wc()],function(b){return new A_c(JSON.parse(b[0]))})};_.g.vwa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.bi()};_.g.eta=function(a){dR(this);return this.send("3.25",[a.wc()],function(b){return new y_c(JSON.parse(b[0]))})};
_.g.vma=function(a){dR(this);return this.send("3.22",[a.wc()],function(){return new B_c})};_.g.Iua=function(){return this.Ub.promise};_.g.COa=function(a){var b=_.ii();this.send("3.30",[a.wc()],function(c){c[0]?b.resolve(new D_c(JSON.parse(c[0]))):b.reject(new _.rb(JSON.parse(c[1])))}).Se(function(c){return b.reject(c)});return b.promise};_.g.qla=function(a){dR(this);return this.W.Lla(a)};_.g.sla=function(a){dR(this);return this.send("3.42",[a.wc()],function(b){return new aWc(JSON.parse(b[0]))}).then()};
_.g.kZ=function(a){dR(this);var b=new _.ho;this.send("3.39",[a.wc()],function(c){return JSON.parse(c).map(function(d){return new q_c(JSON.parse(d))})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new Bbd(b.promise))};_.g.iwa=function(a){var b=this;dR(this);return new cbd(this.H,a,function(c){return b.send("3.37",[c.request.wc(),c.pageToken],function(d){d=JSON.parse(d);return new yYc(new hQ(JSON.parse(d[0])),d[1])}).then()})};
_.g.zga=function(a){dR(this);return this.send("3.38",[a.wc()],function(b){return new o_c(JSON.parse(b[0]))}).then()};_.g.uAa=function(a){dR(this);return this.W.ama(a)};_.g.Dia=function(a){dR(this);return this.W.$la(a)};_.g.fza=function(a){var b=this;dR(this);return new dbd(this.H,a,function(){return b.send("3.40",[a.wc()],function(c){return new _.bN(JSON.parse(c[0]))}).then()})};_.g.Qha=function(a){dR(this);return this.W.Vla(a)};_.g.cta=function(a){dR(this);this.send("3.43",[a.wc()])};
_.g.L$=function(a){dR(this);return this.send("3.44",[a.wc()],function(){return new ZUc}).then()};_.g.hta=function(a){dR(this);if(1!=_.yO(this.H.H))return Promise.reject(Error("Qg"));for(var b=_.v(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Lc())return Promise.reject(Error("Rg"));if(!c.mj()&&!c.getItem())return Promise.reject(Error("Sg"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.wc()})]))};
_.g.WOa=function(){var a=this,b=[_.Xi(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.fi(b).then(function(c){c?_.Vi(a.WOa.bind(a),6E4):(a.mb=!0,dR(a))})};var dR=function(a){a.mb&&a.dispatchEvent(new Lad)},bSc=function(a){if(_.y(a,61,!1)&&_.m.SharedWorker)if(_.A(a,BTc,66)){if(_.EM(a.nf())||_.zO(a)&&!_.y(a,52,!1))return!1}else return!1;else return!1;return!0},Lbd=function(a){var b=_.ii();a.Uf(b.resolve,b.reject,b);return b.promise};
var eR=function(){_.P.call(this);this.ha=new _.wm;this.va=this.ee=this.Ka=!1};_.K(eR,_.P);eR.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};eR.prototype.ma=function(){};eR.prototype.setActive=function(a){this.ee=a;Mbd(this)};var Mbd=function(a){if(a.ee&&!a.va){var b=_.xm(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.xm(a.ha))}else a.va=!0,_.ji(a.Oa(b),function(){a.va=!1;Mbd(a)})}};eR.prototype.Ba=function(){};eR.prototype.Oa=function(){};eR.prototype.Ma=function(){return!0};
eR.prototype.enqueue=function(a){try{var b=new _.li;this.ha.enqueue(new Nbd(a,b));Mbd(this);return b}catch(c){return _.si(_.mN(c))}};var Nbd=function(a,b){this.V=a;this.H=b};Nbd.prototype.getCommand=function(){return this.V};
var Pbd=function(a){eR.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.QM(this.H.H)&&(this.W=new _.ke(this),this.Na(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;VP(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.Ff();a.Fb&&1!=_.C(e,17,1)&&(d.push("iuEtc"),VP(c,["mrK8ic"],function(){WP(c,"iuEtc")}));VP(c,d,function(){return Obd(b)})};_.K(Pbd,eR);Pbd.prototype.ma=function(){Qbd(this)};
var Obd=function(a){if(1==a.H.Ub.Jg().Ib())return Promise.resolve();var b=new _.He;_.Je(b,!0);_.Ie(b,301);var c=new _.cO;_.BUc(c,b);return Rbd(a,c).then(null,function(d){d=_.NM(d);_.w(d,21,"Initial account request failed.");a.H.mb(d)})},Rbd=function(a,b,c){return a.H.zn().then(function(d){return d.H(b,c)}).then(function(d){var e=d.Jg(),f=e.getUser();if(f&&0==_.D(f,7))d=_.OM(a.H.H.nf()),d=Error("Tg`"+d+"`"+_.EH(f)),_.$k(d),RUc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.Ub;var h=0==f.xf()?1:6;
_.QM(a.H.H)&&T6c(a.V,e);h=l2c(f,e,h);(e=e.getMetadata())&&B3c(a.H,_.x(e,2),1);(d=_.x(d,4))&&C3c(a.H,d,!0);h&&a.dispatchEvent(new _.Li("WPi0i"));d=Promise.resolve(new _.iP(f.Jg(),f.xf(),!1))}return d}).then(function(d){return d},function(d){d=_.NM(d);_.w(d,5,1);return Promise.reject(new _.sb("Error fetching account from server.",d))})};
Pbd.prototype.Ba=function(a){var b=a.getCommand();if(b.E6a){var c={};b.cS&&(c.cga=b.cS);Rbd(this,b.Tb,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Jd(e)})}else if(b=this.H.Ub,c=b.Jg(),_.QM(this.H.H)){c=c.Jg();var d=c.getUser();d=k2c(this.V,_.EH(d));T6c(this.V,c);l2c(b,c,b.xf())&&this.dispatchEvent(new _.Li("WPi0i"));a.H.callback(new _.iP(b.Jg(),b.xf(),d))}else c.Ib(),b=new _.iP(c,b.xf(),!0),a.H.callback(b)};
var Qbd=function(a){var b=a.H.H.Ff();_.m.setTimeout(function(){var c=new _.cO,d=new _.He;_.Ie(d,306);_.BUc(c,d);Rbd(a,c).then(function(){return Qbd(a)},function(){return Qbd(a)})},Math.ceil(_.C(b,7,9E5)*Math.random())+_.C(b,3,72E5))};Pbd.prototype.ka=function(a){var b=this.H.Ub,c=b.Jg().Jg();c&&a.getPeople().find(function(d){return _.x(d,1)==_.EH(c.getUser())})&&(T6c(this.V,c),l2c(b,c,b.xf())&&this.dispatchEvent(new _.Li("WPi0i")))};var Sbd=function(a,b){this.Tb=a;this.E6a=!!b;this.cS=null};
var Ubd=function(a){eR.call(this);this.H=a;this.Yd=new _.ke(this);this.Na(this.Yd);this.Yd.listen(this.H.zc,"Kb",_.df(this.dispatchEvent,new _.Li("Kb",this)));this.Ha=this.ka=!1;this.W=null;this.V=1;this.Ea=0;this.ta=null;Tbd(this)};_.K(Ubd,eR);
var Tbd=function(a){var b=a.H.ha;VP(b,["nVUlO"],function(){a.Ha=!0;a.setActive(!0)});if(!_.zO(a.H.H)){var c=_.C(a.H.H.Ff(),18,1);VP(b,["NSockf"],function(){1==c?Vbd(a):a.setActive(!0)});2==c&&VP(b,["mrK8ic"],function(){a.ka||Vbd(a)})}},Vbd=function(a){var b=new _.He;_.Je(b,!0);_.Ie(b,301);var c=new _.PN;_.vUc(c,b);_.w(c,1,1);Wbd(a,c).Zf(function(){return null})},Wbd=function(a,b,c){_.m.clearTimeout(a.Ea);a.Ea=0;var d=_.ii();a.W=d.promise;_.ji(a.W,function(){a.W=null;Xbd(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.PN;_.w(h,1,a.V);_.vUc(h,b.De());a.H.zn().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.zc;l.ota(k,l.Zz()?6:1);d.resolve()},function(k){a.V=e;k=_.nN(k);var l=k.Ig;_.w(l,5,2);f?(_.LM(l,1),k.message="Initial app settings refresh failed.",_.w(k.Ig,21,"Initial app settings refresh failed."),a.H.mb(l),a.setActive(!0)):(_.LM(l,2),k.message="Error occurred while loading the latest set of apps.",_.w(k.Ig,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};Ubd.prototype.Ma=function(){return!1};
Ubd.prototype.Oa=function(a){var b=this,c=a.getCommand(),d=c.Tb,e=c.cba,f=c.cS?{cga:c.cS}:void 0;if(!Ybd(d))return this.H.zn().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.fP(l,1,!1))},function(l){a.H.Jd(_.mN(l))}),_.bi();c=_.bi();var h=!1;this.W?Zbd(this,d.getType())?e=this.W:c=e=new _.ai(function(l,n){b.W.then(function(){Wbd(b,d,f).then(function(){return l()},n)})}):!e&&this.Ha&&Zbd(this,d.getType())&&!this.ta?(h=!0,e=_.bi()):e=Wbd(this,d,f);var k=a.H;e.then(function(){var l=
b.H.zc;k.callback(new _.fP(l.pta(),l.xf(),h))},function(l){k.Jd(l)});return c.then()};
var Ybd=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.ad(a,4),a=_.ad(a,3),!(b&&b.length)&&!(a&&a.length)):!1},Zbd=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},Xbd=function(a){var b=a.H.H.Ff(),c=new _.He;_.Ie(c,306);var d=new _.PN;_.w(d,1,1);_.vUc(d,c);a.Ea=_.m.setTimeout(function(){return void Wbd(a,d)},Math.ceil(_.C(b,7,9E5)*Math.random())+_.C(b,4,72E5))},$bd=function(a,b){this.Tb=a;this.cba=!!b;this.cS=null};
var acd=function(a,b){this.ta=b;this.Tb=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.ii();this.W="";this.ka=this.ma=!1};acd.prototype.ha=function(){this.ma||(this.ma=!0,bcd(this));return this.V.promise};var bcd=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.DKc(a.Tb,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.va.bind(a))}};acd.prototype.Ba=function(a){(this.W=a.pageToken)?bcd(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
acd.prototype.va=function(a){a=_.nN(a);var b=a.Ig.lj();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)};acd.prototype.cancel=function(){this.ka=!0};
var dcd=function(a){eR.call(this);var b=this;this.H=a;this.ka=new _.ke(this);this.Na(this.ka);this.ka.listen(this.H.Ka,"WPi0i",function(){return b.dispatchEvent(new _.Li("WPi0i"))});this.V=null;this.W=_.ii();this.ta=_.ad(this.H.H.Ff(),30);ccd(this)};_.K(dcd,eR);
var ccd=function(a){var b=a.H.ha;VP(b,["rkYxSd"],function(){return a.initialize()});VP(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=_.C(a.H.H.Ff(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&VP(b,["mrK8ic"],function(){WP(b,"OZvrNc")}));!_.y(a.H.H,11,!1)&&_.y(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<Z9c(a.H.Ka).ny().length||(b.H("NSockf")?WP(b,"DEJoH"):VP(b,["NSockf"],function(){WP(b,"DEJoH")}))},
12E3));VP(b,c,function(){if(!b.H("px2C2c")){var e=new _.$D,f=new _.He;_.Je(f,!0);_.Ie(f,301);_.H(e,1,f);ecd(a,e,fcd(a)).Zf(function(){a.initialize()})}})};dcd.prototype.ma=function(){var a="User prefs detected: "+Z9c(this.H.Ka).ny().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);gcd(this)};
var ecd=function(a,b,c,d){var e=new _.yKc(b,c),f=d?{cga:d}:void 0;return a.H.zn().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ka;D3c(k,h.ny(),k.Zz()?6:1,c)}).then(null,function(h){h=_.nN(h);_.w(h.Ig,5,4);0<a.ha.qc()||a.H.mb(h.Ig);a.V=h;throw h;})};
dcd.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.oc(this.H.Ka.H.keys())));c.wfa.find(function(f){return!e.has(f)})&&(c.cba=!0);this.V?d.Jd(this.V):c.cba?_.ji(this.W?this.W.promise:ecd(this,c.Tb,fcd(this,c.wfa),c.cS||void 0),function(){return hcd(b,d,c.wfa,!1)}):hcd(this,d,c.wfa,!0)};
var fcd=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.oc(a.ta),_.oc([].concat(_.oc(a.H.Ka.H.keys()))),_.oc(b)));return[].concat(_.oc(a.values()))},hcd=function(a,b,c,d){a=a.H.Ka.tI(c);b.callback(new _.hP(a.H,a.V,d))},gcd=function(a){var b=a.H.H.Ff();_.m.setTimeout(function(){var c=new _.$D,d=new _.He;_.Ie(d,306);_.H(c,1,d);_.ji(ecd(a,c,fcd(a)).Zf(_.bf),function(){return gcd(a)})},Math.ceil(_.C(b,7,9E5)*Math.random())+_.C(b,5,72E5))},icd=function(a,b,c){this.Tb=a;this.wfa=b;this.cba=!!c;this.cS=
null};
var dSc=function(a){XQ.call(this,a);this.ka=this.ma=this.ta=null;this.mb=_.ii();this.H=a.zn()};_.K(dSc,XQ);_.g=dSc.prototype;_.g.RCa=function(){this.Ea=new Pbd(this.context);this.Na(this.Ea);this.Ha=new Ubd(this.context);this.Na(this.Ha);this.Ua=new dcd(this.context);this.Na(this.Ua)};
_.g.ELa=function(){var a=this,b=["hVFf7"];_.zO(this.context.H)&&b.push("BNEDtc");VP(this.V,b,(0,_.L)(this.LHa,this));VP(this.V,["T8oKm","ZA9qG"],(0,_.L)(this.xQa,this));VP(this.V,["T8oKm","mrK8ic"],(0,_.L)(this.xQa,this));this.Yd.listen(this.Ea,"WPi0i",this.nta.bind(this,1));this.Yd.listen(this.Ha,"Kb",this.nta.bind(this,2));this.Yd.listen(this.Ua,"WPi0i",this.nta.bind(this,4));VP(this.V,["GZTDpc"],function(){return a.mb.resolve()})};_.g.xQa=function(){AQ(this.context).addCallback(function(a){a.start()})};
_.g.nta=function(a){_.ka(bVc,a)&&this.dispatchEvent(new mad(a))};_.g.O7=function(a){if(!_.AO(this.context.H))throw YQ("teamDriveQuery");return this.W.Xla(_.Rk(a))};_.g.Cva=function(a){SYc(this.context.ma,a,HUc(this.context.Ua));return this.W.Ula(_.Rk(a))};_.g.Xha=function(a){if(!_.AO(this.context.H))throw YQ("teamDriveFindByIds");return this.W.Yla(_.Rk(a))};_.g.lza=function(a){return new acd(a,this.context.zn())};
_.g.kka=function(a,b){var c=this;if(this.ta&&_.Qk(this.ta.zd(),a))return this.ta;this.ta=new cR(_.Rk(a),this.context,this.iXa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.iXa=function(a,b,c){var d=new _.rKc(a,b,c);return _.ri(this.H.then(function(e){return e.H(d)}).Zf(function(e){return _.oN(e)}))};_.g.Wka=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new lbd(a,this.context,this.DYa.bind(this));return this.ka};_.g.DYa=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).Zf(function(b){return _.oN(b)}))};
_.g.vwa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.bi()};_.g.eta=function(a){return _.ri(this.H.then(function(b){return b.H(a)}))};_.g.vma=function(a){return _.ri(this.H.then(function(b){return b.H(a)}))};_.g.Gva=function(a,b){var c=this;if(this.ma&&_.Qk(this.ma.zd(),a))return vbd(this.ma),this.ma;this.ma=new sbd(_.Rk(a),this.context,this.Crb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.Crb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.QM(b.context.H)?V6c(b.context.V.ma,c.Rq().YL(),a.zd().getId()).then(function(){return c}):c},_.oN)};_.g.Qqa=function(a){var b=this;return _.ri(this.H.then(function(c){return c.H(a)}).then(function(c){return _.QM(b.context.H)?V6c(b.context.V.ma,[c.i2()],a.Lc()).then(function(){return c}):c},_.oN))};_.g.yma=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};
_.g.qla=function(a){return this.W.Lla(_.Rk(a))};_.g.sla=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.oN)};_.g.kZ=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){var c=new _.ho;d8c(a,b).then(function(d){return c.resolve(d)});return new Bbd(c.promise)},function(b){return void _.oN(b)})};_.g.iwa=function(a){var b=this;return new cbd(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Zf(function(d){return _.oN(d)})})};
_.g.zga=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.oN)};_.g.ud=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};_.g.MR=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.oN)};_.g.KC=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.ud(a[d])),b.push(a[d].getId());a=new _.Tp(c);c=new _.li;a.addCallback(this.RZa.bind(this,c,b));return c};
_.g.Nla=function(){return new xbd(this.context.H,this.context.Ma,this.context.Lb.W,this.context.zn(),this.context.$b,this.context.W,void 0,this.context.ta)};_.g.zX=function(a,b){var c=this,d=_.Kg();this.ha.create(d,a);3==a.getType()?a=XQ.prototype.zX.call(this,a).addCallback(function(e){return new _.fP(e,1,!1)}):(WP(this.V,"Qubz4b"),a=this.Ha.enqueue(new $bd(a,b)));return a.addCallback(function(e){x6c(c.ha,d,e);return e.response}).Se(function(){FQ(c.ha,d)})};
_.g.fta=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};_.g.Sqa=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};_.g.uma=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};_.g.Pea=function(a){return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};
_.g.dW=function(a,b){var c=this;WP(this.V,"iuEtc");var d=_.Kg();this.ha.create(d,a);return this.Ea.enqueue(new Sbd(a,b)).addCallback(function(e){x6c(c.ha,d,e);return e.response}).Se(function(){FQ(c.ha,d)})};
_.g.tI=function(a,b){var c=this,d=_.ad(this.context.H.Ff(),30);if(!d||0==d.length)return _.si(new _.sb("getUserPrefs requires a namespace.",_.lN(3)));var e=_.Kg();this.ha.create(e,a);WP(this.V,"OZvrNc");return this.Ua.enqueue(new icd(a,d,b)).addCallback(function(f){x6c(c.ha,e,f);return f.response}).Se(function(){FQ(c.ha,e)})};_.g.jta=function(a){Abd(_.ad(this.context.H.Ff(),30),a);return _.ri(this.H.then(function(b){return b.H(a)}).then(null,_.oN))};
_.g.gta=function(a){var b=this;return _.ri(this.H.then(function(c){return c.H(a)}).then(function(c){return _.QM(b.context.H)?U6c(b.context.V.ma,c):c},_.oN))};_.g.uAa=function(a){return this.W.ama(_.Rk(a))};_.g.Dia=function(a){return this.W.$la(_.Rk(a))};_.g.fza=function(a){var b=this;return new dbd(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Zf(function(d){return _.oN(d)})})};_.g.Qha=function(a){return this.W.Vla(_.Rk(a))};_.g.cta=function(a){o6c(this.context.V,[a])};
_.g.L$=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.oN)};_.g.hta=function(a){if(1!=_.yO(this.context.H))return Promise.reject(Error("Qg"));for(var b=_.v(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Lc())return Promise.reject(Error("Rg"));if(!c.mj()&&!c.getItem())return Promise.reject(Error("Sg"))}this.context.V.ta(a);a=this.context.V;oQ(a.H).ka();xZc(a.ha);return Promise.resolve()};_.g.ita=function(){return this.context.Lb.H()};
_.g.tC=function(a){var b=this;return this.context.tC(a).then(function(c){return c?(b.context.ka.tC(a),b.context.va.O4()):_.bi(!a)})};_.g.lta=function(a){m$c(this.context).W(a);this.tC(!!a)};_.g.vR=function(){AQ(this.context).addCallback(function(a){a&&a.Mib()});n2c(this.context.Nf)};_.g.kta=function(a){a.Ej(this.context)};_.g.RZa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;oQ(b.H).ka();xZc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.gi([this.context.Hd.promise,this.context.Rm.promise]).then(function(){return a.context.va.O4()}).then()};_.g.K4=function(){AQ(this.context).addCallback(function(a){a&&a.dispose()});return XQ.prototype.K4.call(this)};_.g.Iua=function(){return this.mb.promise};
var jcd=function(){var a='<div class="'+_.E("la-r")+'">';a=a+"Une erreur s'est produite. Veuillez actualiser la page.</div><button class=\""+(_.E("la-Y-A")+" "+_.E("kc-A")+'" data-target="reload">');return(0,_.G)(a+"Actualiser</button>")};
_.Ap({id:_.kl,callback:function(a){var b=_.zQc(a),c=fSc(a),d=_.A(a.get(_.em),_.ab,10);_.ULc(d,b);_.w(d,28,c||[]);b=eSc(a,d);a.registerService(_.ll,b.I1());_.Md(b,"VbxEwf",function(){var e={};_.Cb(_.az.getService(a),new _.Hr(new _.Gr(jcd,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.r();

}catch(e){_._DumpException(e)}
try{
var kcd,pcd,rcd;kcd=[3];_.fR=function(a){_.Q(this,a,0,-1,kcd,null)};_.N(_.fR,_.I);_.fR.prototype.getType=function(){return _.x(this,1)};_.fR.prototype.Lc=function(){return _.x(this,2)};_.lcd=function(a,b){return _.w(a,2,b)};_.fR.prototype.V=function(){return _.Kk(this,_.fR,3)};_.mcd=function(a){_.Q(this,a,0,-1,null,null)};_.N(_.mcd,_.I);_.mcd.prototype.getFeature=function(){return _.x(this,1)};_.ncd=function(a,b){return _.w(a,1,b)};_.mcd.prototype.V=function(){return _.A(this,_.fR,2)};
_.ocd=function(a,b){return _.H(a,2,b)};pcd=[1];_.OO=function(a){_.Q(this,a,0,-1,pcd,null)};_.N(_.OO,_.I);_.OO.prototype.V=function(){return _.Kk(this,_.mcd,1)};_.qcd=function(a,b){return _.Nk(a,1,b)};rcd=[1,2];_.MQ=function(a){_.Q(this,a,0,-1,rcd,null)};_.N(_.MQ,_.I);_.MQ.prototype.V=function(){return _.ad(this,1)};_.scd=function(a,b){return _.w(a,1,b||[])};_.MQ.prototype.RP=function(){return _.Kk(this,_.yH,2)};_.tcd=function(a,b){return _.Nk(a,2,b)};
_.MQ.prototype.De=function(){return _.A(this,_.He,3)};_.ucd=function(a,b){return _.H(a,3,b)};_.q("RsR2Mc");


_.r();

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