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

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

_.r();

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


_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.$gb=function(a){return _.Mc(a)?(a=a.split("."),a[a.length-1]):null};_.ahb=function(a,b,c){var d=new _.Lva;b.Lfa&&_.x(d,2,b.Lfa);b.c5&&0<=b.c5&&_.x(d,1,b.c5);b.xK&&_.x(d,3,b.xK);_.GCa(a,d);c&&(b=new _.Nva,_.x(b,1,c),_.HCa(a,b))};_.bhb=function(a,b,c,d){var e=_.yd.getService(a);a=_.Gz(e,a,c);_.ahb(a.H.H,b,d);e.V(a)};_.p("em3");

_.r();

}catch(e){_._DumpException(e)}
try{
var cob;_.bob=function(a){return(a=a.getItem().mf())?_.z(a,1)||"":""};cob=[4,5,6,7];_.xC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.xC,_.P);_.xC.prototype.Ub="JmcaR";_.xC.prototype.Gb=function(){return _.z(this,1)};_.xC.prototype.Dc=function(a){return _.x(this,1,a)};_.xC.prototype.dZ=function(){return _.z(this,2)};_.dob=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dob,_.P);_.dob.prototype.Ub="dvhrqe";_.dob.prototype.V=function(){return _.E(this,1)};_.eob=function(a){_.Q(this,a,0,-1,cob,null)};
_.L(_.eob,_.P);_.eob.prototype.V=function(){return _.C(this,_.cy,1)};_.eob.prototype.mD=function(){return _.C(this,_.xC,8)};_.eob.prototype.W=function(){return _.C(this,_.dob,9)};_.p("syns");
_.yC=function(a){_.Q(this,a,0,-1,fob,null)};_.L(_.yC,_.P);var fob=[2];_.yC.prototype.getUser=function(){return _.C(this,_.tk,1)};_.yC.prototype.getMetadata=function(){return _.C(this,_.eob,3)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.wC=function(a){return a.H.ha?a.H.xj(_.sBa):!1};_.p("synt");

_.r();

}catch(e){_._DumpException(e)}
try{
_.lib=function(a){if(Array.isArray(a))return a.map(_.lib).join("");if(_.z(a,2)){if(!a.getId())throw Error("Qd");return a.getId()+"/"+_.z(a,2)+","}return""};_.MB=function(a,b){return _.Vg(a,b)};_.p("syo8");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syod");
/*

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

_.r();

}catch(e){_._DumpException(e)}
try{
var Nob,Oob;_.Lob=function(a){return a instanceof _.pb?a:a instanceof _.qb?a.eg:null};_.Mob=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")};Nob={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};
Oob=function(a){var b=_.Uea(Nob,function(c){return a==c});if(void 0===b)throw Error("mb`"+a);return b};_.Pob=function(a,b){void 0!==a.name?(this.name=a.name,this.code=Nob[a.name]):(this.code=a=a.code,this.name=Oob(a));_.aa.call(this,_.Mob("%s %s",this.name,b))};_.L(_.Pob,_.aa);var Qob=function(a,b){_.di.call(this,a.type,b)};_.L(Qob,_.di);_.p("syoe");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Rob=function(){_.O.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.K)(this.mR,this);this.H.onprogress=(0,_.K)(this.mR,this);this.H.onload=(0,_.K)(this.mR,this);this.H.onabort=(0,_.K)(this.mR,this);this.H.onerror=(0,_.K)(this.mR,this);this.H.onloadend=(0,_.K)(this.mR,this)};_.L(_.Rob,_.O);_.g=_.Rob.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Pob(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Pob(this.H.error,"reading file")};_.g.mR=function(a){this.dispatchEvent(new Qob(a,this))};_.g.ab=function(){_.Rob.mb.ab.call(this);delete this.H};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syrz");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sys5");

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.Wlb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.Wlb,_.P);_.Wlb.prototype.iB=function(){return _.C(this,_.lpa,1)};_.Xlb=function(a){var b=new _.Wlb;return _.R(b,1,a)};_.iC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.iC,_.P);_.g=_.iC.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.z(this,5)};
_.g.Td=function(a){return _.x(this,5,a)};_.g.Qn=function(){return null!=_.z(this,5)};_.jC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.jC,_.P);_.jC.prototype.V=function(){return _.z(this,1)};_.jC.prototype.Gb=function(){return _.z(this,2)};_.jC.prototype.Dc=function(a){return _.x(this,2,a)};_.jC.prototype.W=function(){return _.z(this,3)};_.p("sysh");
_.Zlb=function(a){_.Q(this,a,0,-1,Ylb,null)};_.L(_.Zlb,_.P);var Ylb=[1];_.Zlb.prototype.V=function(){return _.z(this,1)};
_.amb=function(a){_.Q(this,a,0,-1,$lb,null)};_.L(_.amb,_.P);var $lb=[1];_.amb.prototype.V=function(){return _.Oj(this,_.jC,1)};
_.cmb=function(a){_.Q(this,a,0,-1,bmb,null)};_.L(_.cmb,_.P);var bmb=[1];_.cmb.prototype.V=function(){return _.Oj(this,_.amb,1)};_.cmb.prototype.addResult=function(a,b){return _.Rj(this,1,a,_.amb,b)};
_.dmb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dmb,_.P);_.dmb.prototype.W=function(){return _.C(this,_.cmb,1)};_.dmb.prototype.V=function(){return _.C(this,_.Zlb,2)};
_.kC=function(a){_.Q(this,a,0,-1,emb,null)};_.L(_.kC,_.P);var emb=[2,14,18];_.g=_.kC.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.Bd=function(){return _.Oj(this,_.Ek,2)};_.g.Cw=function(a){return _.Qj(this,2,a)};_.g.Sf=function(a,b){return _.Rj(this,2,a,_.Ek,b)};_.g.Xj=function(){return _.z(this,3)};_.g.uha=function(){return _.A(this,5,!0)};_.g.xX=function(){return _.C(this,_.dmb,7)};_.g.vha=function(){return _.E(this,8)};
_.g.DF=function(){return _.C(this,_.Wlb,10)};_.g.CI=function(a){return _.R(this,10,a)};_.g.getSessionId=function(){return _.C(this,_.Al,11)};_.g.setSessionId=function(a){return _.R(this,11,a)};_.g.yX=function(){return _.z(this,17)};_.g.AX=function(a){return _.x(this,17,a)};_.g.Re=function(){return _.z(this,12)};_.g.zX=function(a){return _.x(this,12,a)};_.g.Um=function(){return _.z(this,15)};_.g.E7=function(){return _.z(this,18)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sysj");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syta");
_.cD=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.cD,_.P);_.cD.prototype.oe=function(){return _.C(this,_.xe,1)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syty");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.pE=function(a,b,c){_.N.call(this);this.vs=null!=c?(0,_.K)(a,c):a;this.ma=b;this.Sg=(0,_.K)(this.j0a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.L(_.pE,_.N);_.g=_.pE.prototype;_.g.xe=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Se()+this.ma:this.H=_.ni(this.Sg,this.ma)};_.g.stop=function(){this.H&&(_.qi(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.vs.apply(null,this.ka)))};_.g.ab=function(){this.stop();_.pE.mb.ab.call(this)};_.g.j0a=function(){this.ha?(this.H=_.ni(this.Sg,this.ha-_.Se()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.vs.apply(null,this.ka)))};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvp");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syw3");

_.r();

}catch(e){_._DumpException(e)}
try{
_.BG=function(a){return _.z(a,11)};_.p("syvs");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvt");
_.CG=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.CG,_.P);_.CG.prototype.Hc=function(){return _.z(this,1)};_.lNb=function(a){var b=new _.CG;return _.x(b,1,a)};_.CG.prototype.th=function(){return _.z(this,2)};_.CG.prototype.Gi=function(a){return _.x(this,2,a)};_.CG.prototype.oe=function(){return _.C(this,_.xe,3)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvu");

_.r();

}catch(e){_._DumpException(e)}
try{
_.SMb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SMb,_.P);_.p("syvv");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvx");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvy");

_.r();

}catch(e){_._DumpException(e)}
try{
_.sG=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.sG,_.P);_.sG.prototype.getName=function(){return _.z(this,1)};_.sG.prototype.zd=function(a){return _.x(this,1,a)};_.sG.prototype.oe=function(){return _.C(this,_.xe,2)};_.p("syw4");
_.tG=function(a){_.Q(this,a,0,-1,iMb,null)};_.L(_.tG,_.P);var iMb=[5,6,9,10,12,13,15,16];_.tG.prototype.getId=function(){return _.z(this,1)};_.tG.prototype.kc=function(a){return _.x(this,1,a)};_.tG.prototype.ty=function(){return _.z(this,2)};
_.uG=function(a){_.Q(this,a,0,-1,jMb,null)};_.L(_.uG,_.P);var jMb=[2,4];_.uG.prototype.Qk=function(){return _.z(this,1)};_.kMb=function(a,b){return _.x(a,1,b)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syyo");
/*

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syyk");
var AZb=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("Oe`"+
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 BZb=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=n=0}function b(t){for(var v=h,y=0;64>y;y+=4)v[y/4]=t[y]<<24|t[y+1]<<16|t[y+2]<<8|t[y+3];for(y=16;80>y;y++)t=v[y-3]^v[y-8]^v[y-14]^v[y-16],v[y]=(t<<1|t>>>31)&4294967295;t=e[0];var B=e[1],F=e[2],M=e[3],I=e[4];for(y=0;80>y;y++){if(40>y)if(20>y){var X=M^B&(F^M);var T=1518500249}else X=B^F^M,T=1859775393;else 60>y?(X=B&F|M&(B|F),T=2400959708):(X=B^F^M,T=3395469782);X=((t<<5|t>>>27)&4294967295)+
X+I+T+v[y]&4294967295;I=M;M=F;F=(B<<30|B>>>2)&4294967295;B=t;t=X}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]+I&4294967295}function c(t,v){if("string"===typeof t){t=unescape(encodeURIComponent(t));for(var y=[],B=0,F=t.length;B<F;++B)y.push(t.charCodeAt(B));t=y}v||(v=t.length);y=0;if(0==n)for(;y+64<v;)b(t.slice(y,y+64)),y+=64,q+=64;for(;y<v;)if(f[n++]=t[y++],q++,64==n)for(n=0,b(f);y+64<v;)b(t.slice(y,y+64)),y+=64,q+=64}function d(){var t=[],
v=8*q;56>n?c(k,56-n):c(k,64-(n-56));for(var y=63;56<=y;y--)f[y]=v&255,v>>>=8;b(f);for(y=v=0;5>y;y++)for(var B=24;0<=B;B-=8)t[v++]=e[y]>>B&255;return t}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var n,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var t=d(),v="",y=0;y<t.length;y++)v+="0123456789ABCDEF".charAt(Math.floor(t[y]/16))+"0123456789ABCDEF".charAt(t[y]%16);return v}}};
var DZb=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Fa(d,function(k){e.push(k)}),CZb(e.join(" "));var f=[],h=[];_.Fa(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.ja(f)?[c,b,a]:[f.join(":"),c,b,a];_.Fa(d,function(k){e.push(k)});a=CZb(e.join(" "));a=[c,a];_.ja(h)||a.push(h.join(""));return a.join("_")},CZb=function(a){var b=BZb();b.update(a);return b.digestString().toLowerCase()};
_.EZb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.lcb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.FZb=function(a){var b=AZb(String(_.m.location.href));if(_.EZb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.lcb(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,DZb(AZb(d),c,a||null)].join(" "):null}}return null};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syyj");
_.GZb=function(a,b,c){_.Li(a.url,function(d){d=d.target;_.Ni(d)?b(_.Oi(d)):c(d.Gb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.HZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.HZb,_.P);_.HZb.prototype.Ji=function(){return _.z(this,7)};
_.IZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.IZb,_.P);_.Wj[66321687]=new _.Aj(66321687,_.IZb);
var JZb;_.SH=function(a){_.Q(this,a,0,30,JZb,null)};_.L(_.SH,_.P);JZb=[3,20,27];_.TH=function(a,b){return _.x(a,8,b)};
var LZb=function(a){_.Q(this,a,0,17,KZb,null)};_.L(LZb,_.P);var KZb=[3,5],MZb=function(a){var b=_.Se().toString();return _.x(a,4,b)},NZb=function(a,b){return _.Qj(a,3,b)},OZb=function(a,b){return _.x(a,14,b)};
var QZb=function(a){_.Q(this,a,0,6,PZb,null)};_.L(QZb,_.P);var PZb=[5];
var RZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(RZb,_.P);
var SZb=new _.Aj(175237375,RZb);
var UZb;
_.UH=function(a,b,c,d,e,f,h,k,l,n,q){_.O.call(this);this.Rd=a;this.tc=b||_.Oe;this.W=new LZb;this.Qa="";this.Pd=d;this.Ec=q;this.H=[];this.Xb="";this.Te=_.Re(_.aha,0,1);this.wa=e||null;this.Ga=c||null;this.Wa=h||!1;this.Ma=l||null;this.Ic=this.Yc=this.ha=!1;this.lc=this.hb=-1;this.Db=!1;this.ka=null;this.ne=!k;this.Ca=null;this.Ka=0;this.Je=1;this.Ib=f||!1;this.rb=!1;this.od=!this.Ib&&(_.fj.Jo&&_.Eg(65)||_.fj.Wu&&_.Eg(45)||_.fj.Qs&&_.Eg(12)||_.ug()&&0<=_.ef(_.Dga(),12))&&!!_.de()&&!!_.de().navigator&&!!_.de().navigator.sendBeacon;
a=_.x(new _.IZb,1,1);f||(f=new _.HZb,b=document.documentElement.getAttribute("lang"),f=_.x(f,5,b),_.R(a,11,f));_.R(this.W,1,a);_.x(this.W,2,this.Rd);this.ma=new _.QH(1E4,3E5,.1);this.V=new _.mi(this.ma.ub());this.Pa(this.V);_.pd(this.V,"tick",_.gfa(TZb(this,n)),!1,this);this.Ja=new _.mi(6E5);this.Pa(this.Ja);_.pd(this.Ja,"tick",_.gfa(TZb(this,n)),!1,this);this.Wa||this.Ja.start();this.Ib||(_.pd(_.de(),"beforeunload",this.ta,!1,this),_.pd(_.de(),"unload",this.ta,!1,this),_.pd(document,"pagehide",this.ta,
!1,this))};_.L(_.UH,_.O);var TZb=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.UH.prototype.ab=function(){this.ta();_.UH.mb.ab.call(this)};UZb=function(a){a.wa||(a.wa=.01>a.Te()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.VZb=function(a){a.Yc=a.od};_.WZb=function(a,b){a.ma=new _.QH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.ub())};
_.UH.prototype.log=function(a){a=_.Vj(a);var b=this.Je++;_.x(a,21,b);this.Qa&&_.x(a,26,this.Qa);if(!_.z(a,1)){b=a;var c=Date.now().toString();_.x(b,1,c)}null==_.z(a,15)&&_.x(a,15,60*(new Date).getTimezoneOffset());this.ka&&(b=_.Vj(this.ka),_.R(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new XZb(a));this.Wa||this.V.enabled||this.V.start()};
_.UH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)YZb(this);else{var d=_.Se();if(this.lc>d&&this.hb<d)b&&b("throttled");else{var e=OZb(NZb(MZb(_.Vj(this.W)),this.H),this.Ka);d={};var f=this.tc();f&&(d.Authorization=f);var h=UZb(this);this.Ga&&(d["X-Goog-AuthUser"]=this.Ga,h=_.Fi(h,"authuser",this.Ga));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.Fi(h,"pageId",this.Ma));if(f&&this.Xb==f)b&&b("stale-auth-token");else if(this.H=[],this.V.enabled&&this.V.stop(),this.Ka=
0,this.ha)a&&a();else{var k=e.Cc(),l;this.Ca&&this.Ca.V(k.length)&&(l=this.Ca.H(k));var n={url:h,body:k,LQa:1,requestHeaders:d,requestType:"POST",withCredentials:this.ne,timeoutMillis:0},q=(0,_.K)(function(y){this.ma.reset();this.V.setInterval(this.ma.ub());if(y){try{var B=JSON.parse(y.replace(")]}'\n",""));var F=new QZb(B)}catch(M){}F&&(y=_.D(F,1,"-1"),y=Number(y),0<y&&(this.hb=_.Se(),this.lc=this.hb+y),F=_.Tj(F,SZb))&&(F=_.D(F,1,-1),-1!=F&&(this.Db||_.WZb(this,F)))}a&&a()},this),t=(0,_.K)(function(y){var B=
_.Oj(e,_.SH,3);_.RH(this.ma);this.V.setInterval(this.ma.ub());401==y&&f&&(this.Xb=f);if(500<=y&&600>y||401==y||0==y)this.H=B.concat(this.H),this.Wa||this.V.enabled||this.V.start();b&&b("net-send-failed",y)},this),v=function(){c.Ec?c.Ec.send(n,q,t):c.Pd(n,q,t)};l?l.then(function(y){n.requestHeaders["Content-Encoding"]="gzip";n.requestHeaders["Content-Type"]="application/binary";n.body=y;n.LQa=2;v()},function(){v()}):v()}}}};
_.UH.prototype.ta=function(){this.ha||(this.Yc&&YZb(this),this.Ic&&ZZb(this),this.flush())};
var YZb=function(a){$Zb(a,32,10,function(b,c){b=_.Fi(b,"format","json");b=_.de().navigator.sendBeacon(b,c.Cc());a.rb&&!b&&(a.rb=!1);return b})},ZZb=function(a){$Zb(a,6,5,function(b,c){b=_.Di(b,"format","base64json","p",_.hj(c.Cc(),3));_.bg(new Image,b);return!0})},$Zb=function(a,b,c,d){if(0!=a.H.length){var e=_.dka(UZb(a),"format");e=_.Di(e,"auth",a.tc(),"authuser",a.Ga||"0");for(var f=0;f<c&&a.H.length;++f){var h=a.H.slice(0,b),k=NZb(MZb(_.Vj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
XZb=function(){this.type="event-logged"};_.L(XZb,_.di);
_.VH=function(a,b,c,d,e,f,h){_.UH.call(this,a,_.FZb,b,_.GZb,c,d,e,void 0,f,h)};_.J(_.VH,_.UH);

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syzf");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy10l");
_.LM=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.LM,_.P);_.LM.prototype.getKey=function(){return _.z(this,1)};_.yEc=function(a,b){return _.x(a,1,b)};_.LM.prototype.ub=function(){return _.z(this,2)};_.LM.prototype.hc=function(a){return _.x(this,2,a)};_.LM.prototype.El=function(){return _.x(this,2,void 0)};_.LM.prototype.Th=function(){return null!=_.z(this,2)};
_.MM=function(a){_.Q(this,a,0,-1,zEc,null)};_.L(_.MM,_.P);var zEc=[2,4,6];_.MM.prototype.nD=function(){return _.z(this,1)};_.AEc=function(a,b){return _.Qj(a,2,b)};_.MM.prototype.getUrl=function(){return _.z(this,3)};_.BEc=function(a,b){return _.x(a,3,b)};_.CEc=function(a,b){return _.x(a,5,b)};
_.DEc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.EEc=_.Xea(_.DEc);

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy10m");

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.NM=function(a,b){return _.x(a,4,b)};_.GEc=function(a,b){_.x(a,11,b)};_.OM=function(a,b){return _.x(a,25,b)};_.PM=function(a,b,c){return _.vWa(a,b,c?32:16)};_.HEc=function(a,b,c,d,e,f){var h=new _.Qi(null,void 0);a&&_.Ri(h,a);b&&(h.ka=b);c&&_.Si(h,c);d&&_.Ti(h,d);e&&_.Ui(h,e);f&&_.Vi(h,f);return h};_.p("sy10w");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.QM=function(a,b,c){_.N.call(this);this.vs=null!=c?a.bind(c):a;this.ka=b;this.ha=null;this.V=!1;this.W=0;this.H=null};_.J(_.QM,_.N);_.g=_.QM.prototype;_.g.xe=function(a){this.ha=arguments;this.H||this.W?this.V=!0:IEc(this)};_.g.stop=function(){this.H&&(_.qi(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,IEc(this))};_.g.ab=function(){_.N.prototype.ab.call(this);this.stop()};
var IEc=function(a){a.H=_.ni(function(){a.H=null;a.V&&!a.W&&(a.V=!1,IEc(a))},a.ka);var b=a.ha;a.ha=null;a.vs.apply(null,b)};

_.r();

}catch(e){_._DumpException(e)}
try{
var JEc=function(a,b){if(b&&a in b)return a;var c=_.dFa();return c?(c=c.toLowerCase(),a=c+_.Aga(a),void 0===b||a in b?a:null):null};_.p("sy10x");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.KEc=function(a){_.O.call(this);this.Kd=a||_.Rg();if(this.bB=this.NZa())this.H=_.pd(this.Kd.Yb(),this.bB,(0,_.K)(this.o0a,this))};_.L(_.KEc,_.O);_.g=_.KEc.prototype;_.g.NZa=_.Mba(function(){var a=!!this.BY(),b="hidden"!=this.BY();if(a){var c;b?c=((_.dFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.BY=_.Mba(function(){return JEc("hidden",this.Kd.Yb())});_.g.b0a=_.Mba(function(){return JEc("visibilityState",this.Kd.Yb())});_.g.OJ=function(){return!!this.Kd.Yb()[this.BY()]};
_.g.o0a=function(){var a=this.BY()?this.Kd.Yb()[this.b0a()]:null;a=new LEc(this.OJ(),a);this.dispatchEvent(a)};_.g.ab=function(){_.ki(this.H);_.KEc.mb.ab.call(this)};var LEc=function(a){_.di.call(this,"visibilitychange");this.hidden=a};_.L(LEc,_.di);

_.r();

}catch(e){_._DumpException(e)}
try{
_.MEc=function(a){return _.me(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};_.NEc=function(){this.H=-1};_.p("sy10z");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.RM=function(){this.H=64;this.V=Array(4);this.ka=Array(this.H);this.ha=this.W=0;this.reset()};_.L(_.RM,_.NEc);_.RM.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 OEc=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};
_.RM.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;)OEc(this,a,f),f+=this.H;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.H){OEc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.H){OEc(this,d);e=0;break}}this.W=e;this.ha+=b};
_.RM.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{
_.p("sy11p");
_.SM=function(a){_.Q(this,a,0,-1,PEc,null)};_.L(_.SM,_.P);var PEc=[1];_.SM.prototype.Sh=function(){return _.z(this,1)};_.SM.prototype.oe=function(){return _.C(this,_.xe,2)};_.QEc=function(a,b){_.R(a,2,b)};_.SM.prototype.th=function(){return _.D(this,3,20)};_.SM.prototype.Gi=function(a){return _.x(this,3,a)};_.SM.prototype.Jl=function(){return _.E(this,4)};

_.r();

}catch(e){_._DumpException(e)}
try{
var TEc;_.TM=function(a){return a instanceof Error};_.UM=function(a){var b={};_.ff(a,function(c,d){b[d.toLowerCase()]=c});return b};_.REc=function(a){return(a=a&&_.UM(a))&&a["x-guploader-uploadid"]};_.SEc=function(a){return(a=a&&_.UM(a))&&a["x-google-trace"]};TEc=[6];_.VM=function(a){_.Q(this,a,0,-1,TEc,null)};_.L(_.VM,_.P);_.WM=function(a,b){return _.x(a,14,b)};_.p("sy11l");
_.UEc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UEc,_.P);
_.XM=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XM,_.P);_.XM.prototype.getOptions=function(){return _.C(this,_.UEc,1)};_.XM.prototype.Um=function(){return _.z(this,2)};_.XM.prototype.kd=function(){return _.C(this,_.oe,3)};
_.VEc=function(a){_.Q(this,a,0,-1,null,_.YM)};_.L(_.VEc,_.P);_.YM=[[3,4,5,6,7,8,9,10]];
var WEc,YEc;
_.XEc=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=WEc(e)||new _.pb;_.x(e,8,!0);k&&(k=_.Vi(new _.Qi(k),void 0).toString(),_.x(e,19,k));e.$A()||_.x(e,15,a||f);e.getMessage()||_.Eq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.z(e,4)||_.Fq(e,d);e.Pi()||(5==f?_.WM(e,7):0!=a||d?403==a?_.WM(e,22):503==a||429==a?_.WM(e,24):(_.x(e,14,void 0),_.x(e,10,1),_.x(e,8,!0)):l||_.WM(e,2));e.X1(_.REc(c));e.J1(_.SEc(c));
return e};WEc=function(a){if(!_.wa(a))return null;var b=new _.pb,c=a.error;if(!c)return _.Fq(b,JSON.stringify(a)),null;_.x(b,15,c.code);_.Eq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=YEc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.Fq(b,a);return b};
YEc={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{
_.p("sy121");
/*

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.ZM=function(a){return _.A(a,5,!1)};_.p("sy11s");

_.r();

}catch(e){_._DumpException(e)}
try{
var ZEc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.qea);try{delete a[_.qea]}catch(b){}},$M=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(_.wa(f)){f[_.qea]||c.push(f);var l=_.xa(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(q){b.push("*** "+q+" ***")}};e(a,"");for(a=0;a<c.length;a++)ZEc(c[a]);return b.join("")};_.p("sy124");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var bN,aFc,$Ec;_.aN=function(a,b,c){if("number"===typeof a)var d={name:$Ec(a)};else d=a,a=aFc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.L(_.aN,_.aa);_.aN.prototype.getName=function(){return this.V.name||""};bN={NOa:1,iOa:2,NOT_FOUND_ERR:3,pNa:4,uNa:5,jOa:6,JOa:7,ABORT_ERR:8,wOa:9,nAb:10,TIMEOUT_ERR:11,tOa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.bFc=(_.m.vC||_.m.OE||bN).NOa;_.cFc=(_.m.vC||_.m.OE||bN).iOa;_.dFc=(_.m.vC||_.m.OE||bN).NOT_FOUND_ERR;
_.eFc=(_.m.vC||_.m.OE||bN).pNa;_.fFc=(_.m.vC||_.m.OE||bN).uNa;_.gFc=(_.m.vC||_.m.OE||bN).jOa;_.hFc=(_.m.vC||_.m.OE||bN).JOa;_.iFc=(_.m.vC||_.m.OE||bN).ABORT_ERR;_.jFc=(_.m.vC||_.m.OE||bN).wOa;_.kFc=(_.m.vC||_.m.OE||bN).TIMEOUT_ERR;_.lFc=(_.m.vC||_.m.OE||bN).tOa;_.mFc=(_.m.DOMException||bN).INVALID_ACCESS_ERR;_.nFc=(_.m.DOMException||bN).INVALID_STATE_ERR;
aFc=function(a){switch(a){case "UnknownError":return _.bFc;case "NotFoundError":return _.dFc;case "ConstraintError":return _.eFc;case "DataError":return _.fFc;case "TransactionInactiveError":return _.hFc;case "AbortError":return _.iFc;case "ReadOnlyError":return _.jFc;case "TimeoutError":return _.kFc;case "QuotaExceededError":return _.lFc;case "InvalidAccessError":return _.mFc;case "InvalidStateError":return _.nFc;default:return _.bFc}};
$Ec=function(a){switch(a){case _.bFc:return"UnknownError";case _.dFc:return"NotFoundError";case _.eFc:return"ConstraintError";case _.fFc:return"DataError";case _.hFc:return"TransactionInactiveError";case _.iFc:return"AbortError";case _.jFc:return"ReadOnlyError";case _.kFc:return"TimeoutError";case _.lFc:return"QuotaExceededError";case _.mFc:return"InvalidAccessError";case _.nFc:return"InvalidStateError";default:return"UnknownError"}};
_.cN=function(a,b){return"error"in a?new _.aN(a.error,b):new _.aN({name:"UnknownError"},b)};_.dN=function(a,b){if("name"in a)return b=b+": "+a.message,new _.aN(a,b);if("code"in a){var c=$Ec(a.code);b=b+": "+a.message;return new _.aN({name:c},b)}return new _.aN({name:"UnknownError"},b)};
_.eN=function(a){this.H=a};_.oFc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.eN.prototype.range=function(){return this.H};
var pFc=function(a){this.H=a};pFc.prototype.getName=function(){return this.H.name};var qFc=function(a,b,c,d){var e=new _.Ih;try{var f=a.H[b](d)}catch(h){return c+=" with key "+$M(d),e.Ed(_.dN(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+$M(d);e.Ed(_.cN(h.target,c))};return e};pFc.prototype.get=function(a){return qFc(this,"get","getting from index "+this.getName(),a)};
pFc.prototype.getKey=function(a){return qFc(this,"getKey","getting key from index "+this.getName(),a)};pFc.prototype.getAll=function(a,b){return _.rFc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.rFc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.eN?d.H:(new _.eN(_.oFc.only(d))).H;var h=new _.Ih;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?$M(f):"<all>"),h.Ed(_.dN(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?$M(f):"<all>");h.Ed(_.cN(l.target,c))};return h};
var fN=function(a){this.H=a},sFc;fN.prototype.getName=function(){return this.H.name};sFc=function(a,b,c,d,e){var f=new _.Ih;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=$M(d),e&&(c+=", with key "+$M(e)),f.Ed(_.dN(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=$M(d);e&&(c+=", with key "+$M(e));f.Ed(_.cN(k.target,c))};return f};_.tFc=function(a,b,c){return sFc(a,"put","putting into "+a.getName()+" with value",b,c)};
fN.prototype.add=function(a,b){return sFc(this,"add","adding into "+this.getName()+" with value ",a,b)};fN.prototype.remove=function(a){var b=new _.Ih;try{var c=this.H["delete"](a instanceof _.eN?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+$M(a),b.Ed(_.dN(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+$M(a);b.Ed(_.cN(e.target,f))};return b};
fN.prototype.get=function(a){var b=new _.Ih;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+$M(a),b.Ed(_.dN(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 "+$M(a);b.Ed(_.cN(e.target,f))};return b};fN.prototype.getAll=function(a,b){return uFc(this,"getting all from index "+this.getName(),a,b)};
var uFc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.eN?c.H:(new _.eN(_.oFc.only(c))).H;var f=new _.Ih;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?$M(e):"<all>"),f.Ed(_.dN(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?$M(e):"<all>");f.Ed(_.cN(k.target,b))};return f};
fN.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Ih;try{var c=this.H.clear()}catch(d){return b.Ed(_.dN(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Ed(_.cN(d.target,a))};return b};_.vFc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.dN(d,"creating new index "+b+" with key path "+c);}};fN.prototype.getIndex=function(a){try{return new pFc(this.H.index(a))}catch(b){throw _.dN(b,"getting index "+a);}};
fN.prototype.count=function(a){var b=new _.Ih;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.Ed(_.cN(e.target,d.getName()))}}catch(e){b.Ed(_.dN(e,this.getName()))}return b};
var wFc=function(a,b){_.O.call(this);this.H=a;this.V=b;this.Mb=new _.be(this);this.Mb.listen(this.H,"complete",(0,_.K)(this.dispatchEvent,this,"complete"));this.Mb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Mb.listen(this.H,"error",this.l0a)};_.L(wFc,_.O);_.g=wFc.prototype;_.g.l0a=function(a){a.target instanceof _.aN?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.cN(a.target,"in transaction")})};_.g.Oh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new fN(this.H.objectStore(a))}catch(b){throw _.dN(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.dN(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Ih;_.Fd(this,"complete",(0,_.K)(a.callback,a));var b=_.Fd(this,"abort",function(){_.ki(c);a.Ed(new _.aN(_.iFc,"waiting for transaction to complete"))});var c=_.Fd(this,"error",function(e){_.ki(b);a.Ed(e.target)});var d=this.V;return a.nb(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.ab=function(){wFc.mb.ab.call(this);this.Mb.dispose()};
var xFc=function(a){_.O.call(this);this.H=a;this.Mb=new _.be(this);this.Mb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Mb.listen(this.H,"error",this.k0a);this.Mb.listen(this.H,"versionchange",this.pUa);this.Mb.listen(this.H,"close",(0,_.K)(this.dispatchEvent,this,"close"))};_.L(xFc,_.O);_.g=xFc.prototype;_.g.Jja=!0;_.g.k0a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.pUa=function(a){this.dispatchEvent(new yFc(a.oldVersion,a.newVersion))};_.g.close=function(){this.Jja&&(this.H.close(),this.Jja=!1)};_.g.Di=function(){return this.Jja};_.g.getName=function(){return this.H.name};_.zFc=function(a,b,c){try{return new fN(a.H.createObjectStore(b,c))}catch(d){throw _.dN(d,"creating object store "+b);}};_.gN=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new wFc(d,a)}catch(e){throw _.dN(e,"creating transaction");}};
xFc.prototype.ab=function(){xFc.mb.ab.call(this);this.Mb.dispose()};var yFc=function(a,b){_.di.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.L(yFc,_.di);
_.AFc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB;_.BFc=function(a,b,c,d){var e=new _.Ih;b=b?_.AFc.open(a,b):_.AFc.open(a);b.onsuccess=function(f){f=new xFc(f.target.result);e.callback(f)};b.onerror=function(f){e.Ed(_.cN(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new xFc(f.target.result);c(new yFc(f.oldVersion,f.newVersion),h,new wFc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new yFc(f.oldVersion,f.newVersion))};return e};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy125");
_.CFc=function(a){this.V=a};_.CFc.prototype.H=function(a){a=_.TH(new _.SH,a.Cc());this.V.log(a);return new _.zh(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.DFc=function(a){this.V=a;_.VZb(this.V)};_.DFc.prototype.H=function(a){a=_.TH(new _.SH,a.Cc());this.V.log(a);this.V.ta()};

_.r();

}catch(e){_._DumpException(e)}
try{
var EFc=function(a){_.Q(this,a,0,-1,null,null)},PFc;_.L(EFc,_.P);var FFc=[3,42],GFc=function(a){_.Q(this,a,0,-1,FFc,null)};_.L(GFc,_.P);GFc.prototype.Sb=function(){return _.z(this,27)};var HFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(HFc,_.P);var IFc=[2],JFc=function(a){_.Q(this,a,0,-1,IFc,null)};_.L(JFc,_.P);var KFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(KFc,_.P);var LFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(LFc,_.P);var MFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(MFc,_.P);
var OFc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.Pza.length;a++){var b=_.Pza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;NFc(this,b);break}}},NFc=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})};
OFc.prototype.H=function(a){if(this.ma&&this.W){var b=_.C(a,_.Na,2)||new _.Na,c=_.C(a,_.op,5)||new _.op,d=_.C(a,_.np,3)||new _.np;a=_.Oj(a,_.Wya,1);a=_.u(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.Cc(),session_info:b.Cc(),session_invariants:c.Cc(),client_info:d.Cc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};PFc=function(a){this.H=a};_.QFc=function(a){this.Md=a};_.QFc.prototype.getId=function(){return this.Md};
_.p("sy11v");
var RFc=function(){_.Rp.call(this)};_.J(RFc,_.Rp);RFc.prototype.ts=function(){return 1==_.z(_.C(this.H,EFc,7),1)};var SFc=new _.Np("high_frequency_builder");
var TFc=function(a,b,c){a=new _.mi(a);c.Pa(a);var d=new _.be(c);c.Pa(d);d.listen(a,"tick",b);a.start()};
var UFc=function(){_.Rp.call(this)};_.J(UFc,_.Rp);var VFc=function(a,b,c){var d=1E3*_.Se();if(0==b){b=new _.ap;var e=new _.Fya;e=_.x(e,1,d);_.R(b,1,e);_.x(b,3,1);_.R(a.H,8,b);_.x(a.H,12,c);_.x(a.H,13,c);_.x(a.H,4,d);_.x(a.H,3,c)}else 1==b&&(b=new _.ap,e=new _.Gya,d=_.x(e,1,d),_.R(b,2,d),_.x(b,3,2),_.R(a.H,8,b),_.x(a.H,12,c),_.x(a.H,3,c));return a},WFc=new _.Np("system_builder");
var XFc=function(a,b){_.N.call(this);this.V=a;this.H=new _.KEc(b);this.Pa(this.H);this.Mb=new _.be(this);this.Pa(this.Mb);this.H.BY()&&this.Mb.listen(this.H,"visibilitychange",this.W)};_.J(XFc,_.N);XFc.prototype.W=function(){if(this.V.EO()){var a=this.H.OJ()?102001:102E3;a=this.V.OD(a,0);this.V.gp(a)}};
var YFc=function(a,b,c){c=void 0===c?!1:c;_.N.call(this);this.H=a;this.V=b;this.Pa(this.V);this.ha=c;this.W=null};_.J(YFc,_.N);_.g=YFc.prototype;_.g.gp=function(a){var b=this.H;_.x(a.H,6,b.ha);a=a.build();b.H.add(a);b.W=!0;b=this.V;3<=b.H.H.Zb()&&b.V.xe();return new PFc(a)};_.g.OD=function(a,b){a=VFc(ZFc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.KG=function(){return this.H.V};
_.g.FF=function(a){var b=this.H,c=_.Sp(a,WFc),d=b.ka++,e=_.C(_.C(c.H,_.ap,8),_.Gya,2),f=1E3*_.Se();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.z(a.H,12))};_.g.bU=function(){var a=this.V;if(!a.ka||a.H.W){var b=$Fc(a.H,691).build();b=aGc(a.H,[b]);a.ta.H(b)}a.ha();this.H.ta=!1;this.W&&(_.fc(this.W),this.W=null)};_.g.cU=function(){var a=this.H,b=$Fc(a,716);bGc(a,b);b=b.build();a.H.add(b);a.Ca=!0;a.ta=!0;this.V.initialize();this.V.V.xe();this.ha&&(this.W=new XFc(this))};_.g.R6=function(){this.V.ha();return _.Eh(Array.from(this.V.W)).then()};
_.g.EO=function(){var a=this.H;return a.Ca&&a.ta&&!0};
var cGc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.Ca=b;this.ta=c;this.V=new _.QM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.J(cGc,_.N);cGc.prototype.initialize=function(){TFc(this.wa,this.V.xe,this.V);TFc(36E5,this.ma,this)};cGc.prototype.ha=function(){var a=this;if(0!=this.H.H.Zb()&&(!this.ka||this.H.W)){var b=dGc(this.H),c=this.Ca.H(b);c&&(_.Gh(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
cGc.prototype.ma=function(){var a=this.H,b=$Fc(a,1153).build();a.H.add(b);this.V.xe()};
var eGc=function(a){_.N.call(this);this.H=a;this.Pa(this.H)};_.J(eGc,_.N);_.g=eGc.prototype;_.g.gp=function(a){a=this.H.gp(a);this.R6();return a};_.g.OD=function(a,b){return this.H.OD(a,b)};_.g.KG=function(){return this.H.KG()};_.g.FF=function(a){return this.H.FF(a)};_.g.bU=function(){return this.H.bU()};_.g.cU=function(){return this.H.cU()};_.g.R6=function(){return this.H.R6()};_.g.EO=function(){return this.H.EO()};
var fGc=function(){};fGc.prototype.bJ=function(){return new RFc};
var gGc=function(){this.H=[]};gGc.prototype.add=function(a){this.H.push(a)};gGc.prototype.Zb=function(){return this.H.length};
var hGc=function(){this.H={}};hGc.prototype.add=function(a){var b=_.z(a.H,12);this.H[b]=a};hGc.prototype.remove=function(a){delete this.H[a]};
var iGc=function(a,b){this.V=a;this.Ga=b;this.ka=1;this.wa=this.ha=null;this.ma=new hGc;this.H=new gGc;this.ta=this.Ca=this.W=!1},ZFc=function(a,b){a=_.Sp((new _.Rp).initialize(new _.Wya,a.Ga),WFc);_.x(a.H,10,b);return a},dGc=function(a){var b=a.H,c=b.H;b.H=[];return aGc(a,c)},aGc=function(a,b){var c=new _.hza;var d=_.Vj(a.V.ha);c=_.R(c,2,d);d=a.V;(d=d.V?_.Vj(d.V):null)&&_.R(c,5,d);var e;d=a.V;for(var f,h=b.length-1;0<=h;h--){var k=_.C(b[h],_.mp,5);if(k&&_.C(k,GFc,1)){k=_.C(k,GFc,1);null!=_.z(k,12)&&
void 0===e&&(e=_.E(k,12));k=_.C(k,HFc,20);if(void 0!==k&&void 0===f){f=new MFc;var l=_.E(k,2);void 0!==l&&_.x(f,2,l);k=_.E(k,1);void 0!==k&&_.x(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?_.Vj(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.np),void 0!==e&&_.x(d,6,e),void 0!==f&&_.R(d,13,f);(e=d)&&_.R(c,3,e);a=_.Vj(a.V.ka);_.R(c,4,a);_.Qj(c,1,b);return c},$Fc=function(a,b){var c=VFc(ZFc(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 KFc;k=_.x(n,1,k);l=_.z(l.H,10);l=_.x(k,2,l);f.push(l)}d=f}716!=b&&(b=a.wa,_.x(c.H,6,a.ha),e=new JFc,b=_.x(e,1,b),d&&_.Qj(b,2,d),d=_.Tp(c),_.R(d,3,b));bGc(a,c);return c},bGc=function(a,b){a.ha=_.z(b.H,12);a.wa=_.z(_.C(_.C(b.H,_.ap,8),_.Fya,1),1)};
var jGc=function(){};jGc.prototype.bJ=function(){return new UFc};
var kGc=function(){this.H=this.V=null};kGc.prototype.build=function(){null==this.H&&(this.H=new _.JCa);_.Vp(this.H,WFc,new jGc);_.Vp(this.H,SFc,new fGc);var a=this.H;var b=this.V;if(null==_.z(_.hN(b),1)){var c=_.hN(b),d=new _.Eya;_.R(c,1,d)}b=_.C(_.hN(b),_.Eya,1);a.H=b;b=_.pc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new iGc(this.V,this.H)};
var lGc=function(){this.ha=new _.Na;this.V=null;this.ka=new LFc;_.x(this.ka,1,6);this.H=this.W=null};lGc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.mGc=function(a,b){_.x(a.ha,2,b);return a};_.nGc=function(a,b){if(null==a.W){a.W=new _.bza;var c=_.hN(a);_.R(c,2,a.W)}_.x(a.W,1,b)};_.hN=function(a){null==a.V&&(a.V=new _.op);return a.V};_.oGc=function(a){null==a.H&&(a.H=new _.np);return a.H};
_.pGc=function(){this.V=this.ma=null;this.ka=new lGc;this.ha=null;this.H=this.ta=!1;this.W=null};_.qGc=function(a,b){a.ma=b;return a};_.rGc=function(a,b){a.V=b;return a};_.sGc=function(a,b){a.ha=b;return a};_.pGc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.tGc=function(a,b){_.x(a.ka.ha,6,b);return a};
_.pGc.prototype.build=function(){var a=new kGc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new OFc;this.V=this.ma=b}b=new cGc(a,this.ma,this.V,this.ta,this.W);a=new YFc(a,b,!1);this.H&&(a=new eGc(a));return a};

_.r();

}catch(e){_._DumpException(e)}
try{
var wGc;_.kN=function(a){if(a instanceof _.pb)return a;var b;if(_.TM(a)){if(b=_.Lob(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);_.iN(b,2);_.jN(b,6);return b};_.uGc=function(a){var b=a.Pi();a=a.$A();return 15==b||32==b||33==b||401==a};_.lN=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.vGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.vGc,_.P);_.mN=function(a){return _.D(a,1,0)};_.nN=function(a){return _.C(a,_.vGc,4)};_.oN=function(a){return _.A(a,84,!1)};_.iN=function(a,b){return _.x(a,1,b)};_.jN=function(a,b){return _.x(a,2,b)};wGc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.pN=function(a){_.Q(this,a,0,-1,wGc,null)};_.L(_.pN,_.P);_.g=_.pN.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};
_.g.setTitle=function(a){return _.x(this,2,a)};_.g.Uf=function(){return _.z(this,3)};_.g.Bl=function(a){return _.x(this,3,a)};_.g.Uq=function(a){return _.x(this,4,a)};_.g.Bh=function(){return _.E(this,5)};_.g.yn=function(a){return _.x(this,5,a)};_.g.Sb=function(){return _.z(this,6)};_.g.sz=function(a,b){_.Mj(this,8,a,b)};_.g.$h=function(){return _.z(this,12)};_.g.oe=function(){return _.C(this,_.xe,17)};_.g.Tp=function(){return _.E(this,18)};_.g.wc=function(){return _.z(this,21)};
_.qN=function(a,b){return _.x(a,16,b)};_.p("sy11k");
_.rN=function(a){_.Q(this,a,0,-1,xGc,null)};_.L(_.rN,_.P);var xGc=[5];_.rN.prototype.Sh=function(){return _.z(this,5)};_.rN.prototype.oe=function(){return _.C(this,_.xe,6)};_.rN.prototype.wc=function(){return _.z(this,8)};
_.yGc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var sN;sN={};_.zGc=(sN[0]="/drive/v2internal",sN[1]="/drive/v2internal.corp",sN[2]="/drive/v2internal.scary",sN[4]="/drive/v2internal.scary",sN[5]="/drive/v2beta",sN[6]="/drive/v2.1beta",sN);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var tN,BGc;tN={};_.AGc=(tN[1]="modifiedDate",tN[2]="modifiedByMeDate",tN[3]="quotaBytesUsed",tN[4]="title",tN[6]="lastViewedByMeDate",tN[10]="createdDate",tN[7]="sharedWithMeDate",tN[9]="starred",tN[11]="recency",tN[5]="relevance",tN[12]="trashedDate",tN[13]="lastViewedByMeDate",tN);BGc={};_.CGc=(BGc[1]="asc",BGc[2]="desc",BGc);
_.DGc=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():_.Se();this.date=new Date(a)};_.L(_.DGc,_.kw);_.g=_.DGc.prototype;_.g.clone=function(){var a=new _.DGc(this.date);a.cB=this.cB;a.LM=this.LM;return a};_.g.add=function(a){(a.ka||a.ha)&&_.jw.prototype.add.call(this,new _.iw(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Zr))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.kw.prototype.getUTCFullYear;
_.g.getMonth=_.kw.prototype.getUTCMonth;_.g.getDate=_.kw.prototype.getUTCDate;_.g.getHours=_.kw.prototype.getUTCHours;_.g.getMinutes=_.kw.prototype.getUTCMinutes;_.g.getSeconds=_.kw.prototype.getUTCSeconds;_.g.getMilliseconds=_.kw.prototype.getUTCMilliseconds;_.g.getDay=_.kw.prototype.getUTCDay;_.g.setFullYear=_.kw.prototype.setUTCFullYear;_.g.setMonth=_.kw.prototype.setUTCMonth;_.g.setDate=_.kw.prototype.setUTCDate;_.g.setHours=_.kw.prototype.setUTCHours;_.g.setMinutes=_.kw.prototype.setUTCMinutes;
_.g.setSeconds=_.kw.prototype.setUTCSeconds;_.g.setMilliseconds=_.kw.prototype.setUTCMilliseconds;
var EGc,GGc;EGc={};_.FGc=(EGc[1]="0",EGc[2]="1",EGc[3]="2",EGc);GGc={};_.HGc=(GGc[1]="asc",GGc[2]="desc",GGc);
_.IGc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.JGc=_.x(new _.pN,15,!0);_.KGc=_.qN(new _.pN,!0);_.LGc=_.qN(new _.pN,!1);
_.MGc=_.Ag&&0>_.ef(_.Dg,"533");
_.NGc=new Set([0,1,2,3]);
var OGc,QGc,TGc,UGc,WGc,XGc,YGc,ZGc;OGc={};_.PGc=(OGc[0]="POST",OGc[2]="PUT",OGc[12]="POST",OGc);QGc={};_.RGc=(QGc[0]=1,QGc[2]=3,QGc);TGc={};UGc={};_.SGc=(UGc[2]=(TGc["x-goog-upload-protocol"]="batch",TGc),UGc);WGc={};XGc={};YGc={};ZGc={};_.VGc=(ZGc[0]=(WGc["content-type"]="application/http",WGc["content-transfer-encoding"]="binary",WGc),ZGc[12]=(XGc["content-type"]="application/http",XGc["content-transfer-encoding"]="binary",XGc),ZGc[2]=(YGc["content-type"]="application/http",YGc),ZGc);
_.$Gc=new _.l0a("yyyy:MM:dd HH:mm:ss");
var aHc,cHc;aHc={};_.bHc=(aHc[1]="active",aHc[2]="archived",aHc);cHc={};_.dHc=(cHc[0]="unset",cHc[1]="default",cHc[2]="small",cHc[3]="size16kb",cHc);
_.eHc=new _.Np("drive_dataservice_builder");
_.fHc=new _.QFc("drive_dataservice_invariants");
_.gHc=new Map([[[1],1],[[6],7],[[2],2]]);_.uN=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.hHc=new Map([[12,function(a){return _.E(a,69)}],[24,function(a){return _.A(a,3,!1)}],[9,function(a){return _.A(a,17,!1)}],[21,function(a){return _.oN(a)}],[13,function(a){return _.E(a,60)}],[2,function(a){return _.A(a,8,!0)}],[6,function(a){return _.A(a,11,!1)}],[14,function(a){return a.Xp()}],[16,function(a){return _.A(a,56,!1)}],[17,function(a){return _.A(a,57,!1)}],[18,function(a){return _.A(a,54,!1)}],[19,function(a){return _.A(a,53,!1)}],[23,function(a){return _.A(a,15,!1)}],[28,function(a){return _.A(a,
1,!1)}]]);_.iHc=new Map([[25,function(a){return _.A(a,1,!1)}],[26,function(a){return _.A(a,2,!1)}],[27,function(a){return _.A(a,3,!1)}],[29,function(a){return _.A(a,4,!1)}],[30,function(a){return _.A(a,5,!1)}],[31,function(a){return _.A(a,6,!1)}]]);_.jHc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.kHc=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]]);_.lHc=new Map([[[2],3],[[1],2],[[0],1]]);_.mHc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.nHc=new Map([[[_.cFc],1],[[_.dFc],2],[[_.eFc],3],[[_.fFc],4],[[_.gFc],5],[[_.hFc],6],[[_.iFc],7],[[_.jFc],8],[[_.kFc],10],[[_.lFc],11],[[_.mFc],12],[[_.nFc],13]]);_.oHc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.pHc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11m");
_.vN=function(a){_.Q(this,a,0,-1,qHc,null)};_.L(_.vN,_.P);var qHc=[8,17];_.vN.prototype.ey=function(){return _.z(this,1)};_.vN.prototype.Hc=function(){return _.z(this,2)};_.wN=function(a,b){return _.x(a,2,b)};_.vN.prototype.Mz=function(){return _.A(this,3,!1)};_.vN.prototype.getItem=function(){return _.C(this,_.Ek,4)};_.vN.prototype.setItem=function(a){return _.R(this,4,a)};_.vN.prototype.wc=function(){return _.z(this,7)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11r");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11q");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11u");

_.r();

}catch(e){_._DumpException(e)}
try{
var rHc;rHc=[1];_.xN=function(a){_.Q(this,a,0,-1,rHc,null)};_.L(_.xN,_.P);_.xN.prototype.V=function(){return _.z(this,1)};_.p("sy11o");
_.yN=function(a){_.Q(this,a,0,-1,sHc,null)};_.L(_.yN,_.P);var sHc=[2];_.yN.prototype.Gb=function(){return _.z(this,1)};_.yN.prototype.Dc=function(a){return _.x(this,1,a)};_.yN.prototype.ij=function(){return _.Oj(this,_.Ek,2)};_.tHc=function(a,b){return _.Qj(a,2,b)};_.yN.prototype.Lo=function(a,b){return _.Rj(this,2,a,_.Ek,b)};_.yN.prototype.getSessionId=function(){return _.C(this,_.Al,3)};_.yN.prototype.setSessionId=function(a){return _.R(this,3,a)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy122");

_.r();

}catch(e){_._DumpException(e)}
try{
_.zN=function(a){for(var b in a)delete a[b]};_.uHc=function(a){a=_.zf(a);return 0===a.length?_.Qfa:new _.Mf(a,_.Ofa)};_.vHc=function(a,b){a=_.vi(a);b=_.vi(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};_.p("sy123");
/*

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11n");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy120");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11t");

_.r();

}catch(e){_._DumpException(e)}
try{
_.AN=function(a){return _.x(a,3,!0)};_.wHc=function(a,b){return _.x(a,7,b)};_.p("sy11j");
_.xHc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.yHc=_.Xea(_.xHc);
_.zHc=new Set([1,2,4,5,6]);
_.AHc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.BHc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.CHc=new Set([1004]);
_.DHc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.EHc=new Set([7,4,5,9,6,10,11,12]);
_.FHc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var BN,HHc;BN={};_.GHc=(BN[5]=0,BN[7]=1,BN[1]=2,BN[3]=3,BN[4]=4,BN[2]=5,BN[6]=6,BN);HHc={};_.IHc=(HHc[1]=0,HHc[2]=1,HHc[3]=2,HHc[4]=3,HHc);
var JHc;JHc={};_.KHc=(JHc[1]="active",JHc[2]="archived",JHc);
var LHc;LHc=function(a){return"kind,defaultAppIds,items("+a+")"};_.MHc=LHc("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");
_.NHc=LHc("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");
_.OHc=LHc("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");
_.PHc=new Set([5,4,1,6,2]);_.QHc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.RHc=function(a,b){return _.x(a,1,b)};_.SHc=function(a,b){return _.R(a,1,b)};_.THc=function(a,b){return _.x(a,2,b)};_.UHc=function(a,b){return _.R(a,3,b)};_.p("sy126");

_.r();

}catch(e){_._DumpException(e)}
try{
_.VHc=function(a,b){return _.x(a,1,b)};_.WHc=function(a,b){return _.x(a,2,b)};_.XHc=function(a,b){return _.x(a,3,b)};_.p("sy12b");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy129");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy12c");
var YHc=function(a,b){this.V=a;this.H=null;this.W=b};YHc.prototype.get=function(a){return this.gs()[a]||null};YHc.prototype.set=function(a){this.gs()[this.W(a)]=a;this.V=null};YHc.prototype.gs=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var $Hc,aIc,ZHc;_.CN=function(a,b){this.H=a;this.V=b};
_.DN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!ZHc(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.uF(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.wF(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&ZHc(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++)ZHc(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&&ZHc(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.wF(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.uF(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.TF(e[h])),void 0!==f[k]){k=
f[k];l=a;var q=e[k],t=e[h];n=1==q.getType()?q:t;q=2==q.getType()?q:t;t=n.ri()||0;t>(q.ri()||0)&&--t;if(l=l.H.eK(l.H.TF(n),q.ri()||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.ri()||0,n=k.cu()||0,k.setPosition((k.ri()||0)+$Hc(f,k.ri()||0)),e[h].setPosition((e[h].ri()||0)+d),3==e[h].getType()&&(k.Hu((k.cu()||0)+$Hc(f,k.cu()||0)),e[h].Hu((e[h].cu()||0)+d)),f.push(aIc(k.getType(),l,n));d=e}e=[];b=new YHc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.Uj(k,h)&&e.push(a.H.wI(h,f));return d.concat(e)};$Hc=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};aIc=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}}};ZHc=function(a,b,c){return a.V(b)==a.V(c)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.EN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EN,_.P);_.EN.prototype.getType=function(){return _.z(this,1)};_.FN=function(a){var b=new _.EN;return _.x(b,1,a)};_.g=_.EN.prototype;_.g.getItem=function(){return _.C(this,_.Ek,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.cu=function(){return _.z(this,3)};_.g.Hu=function(a){return _.x(this,3,a)};_.g.ri=function(){return _.z(this,4)};_.g.setPosition=function(a){return _.x(this,4,a)};_.p("sy12e");
var bIc=function(){};_.g=bIc.prototype;_.g.wF=function(a,b){return _.FN(1).setItem(a).setPosition(b)};_.g.uF=function(a,b){return _.FN(2).setPosition(b).setItem(a)};_.g.eK=function(a,b,c){return _.FN(3).Hu(b).setPosition(c).setItem(a)};_.g.wI=function(a,b){return _.FN(4).setItem(a).setPosition(b)};_.g.TF=function(a){return a.getItem()};
_.GN=function(){_.CN.call(this,new bIc,function(a){return a.getId()})};_.J(_.GN,_.CN);_.Qe(_.GN);

_.r();

}catch(e){_._DumpException(e)}
try{
_.HN=function(a,b){return _.x(a,33,b||[])};_.IN=function(a,b){return _.x(a,45,b)};_.cIc=function(a,b){return _.x(a,5,b)};_.rb=function(a){_.di.call(this,_.dc);this.error=a};_.J(_.rb,_.di);_.p("sy12d");
_.dIc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.JN=function(a,b){_.x(a,1,b)};_.p("sy12f");

_.r();

}catch(e){_._DumpException(e)}
try{
var eIc,fIc,jIc,nIc,oIc,pIc,qIc,EIc,KO,FIc,GIc,NIc,OIc,PIc,lIc,vJc,kIc,SJc,VJc,WJc,YJc,ZJc,$Jc,aKc,cKc,dKc,eKc,fKc,gKc,sKc,tKc,yKc,AKc,BKc,CKc,FKc,JKc,MKc,RKc,SKc,UKc,yIc,WKc,zIc,XKc,sP,uP,ZKc,$Kc,aLc,bLc,cLc,fLc,gLc,hLc,iLc,jLc,HIc,mLc,IIc,JIc,KIc,LIc,MIc,vLc,uLc,GLc,ILc,LLc,JLc,MLc,KLc,HLc,PLc,XLc,mMc,nMc,pMc,sMc,vMc,AMc,CMc,DMc,EMc,FMc,GMc,HMc,IMc,JMc,KMc,LMc,MMc,NMc,TMc,OMc,WMc,YMc,PMc,ZMc,$Mc,bNc,cNc,fNc,iNc,jNc,kNc,lNc,nNc,xMc,xNc,yNc,zNc,ANc,CNc,GNc,ENc,HNc,INc,DNc,JNc,FNc,SNc,RNc,TNc,XNc,
YNc,ZNc,cOc,dOc,eOc,fOc,oLc;_.KN=function(a,b,c){var d=new _.pb,e=_.yia(_.KN);_.x(d,20,e);_.jN(d,a);_.iN(d,b?b:2);c&&_.WM(d,c);return d};_.LN=function(a){var b;a instanceof _.pb?b=new _.qb(null,a):b=_.TM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("nb`"+a);b.stack||(b.stack=_.yia(_.LN));return b};
_.MN=function(a){return a instanceof _.qb?a:a instanceof _.pb?new _.qb(void 0,a):a instanceof Error?new _.qb("Not a drive.ds.Error",void 0,a):new _.qb("Not an Error",void 0,Error("ob`"+JSON.stringify(a)))};_.NN=function(a){throw _.MN(a);};eIc=function(a){return 7==a.Pi()||24==a.Kn()&&(a=a.$A(),503==a||429==a)?!0:!1};fIc=function(a,b){return b?b+"("+a+")":a};
_.ON=function(a,b,c){var d={},e=[];b&&e.push("kind");a.F6a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.gIc.includes(n)){var q=_.Fcb.get(n);if(q){var t=_.NA[n];a.GI&&t&&(q=t);a.lw&&(a.GI?(n=_.MA[n])&&(q=n):(n=_.Gcb[n])&&(q=n));q.split(",").forEach(function(v){var y=_.Bga(v,"/",1);1<y.length?(d[y[0]]||(d[y[0]]=[]),d[y[0]].push(y[1])):e.push(v)})}}});for(var f={},h=_.u(Object.entries(d)),k=h.next();!k.done;f={ZV:f.ZV},k=h.next()){var l=_.u(k.value);k=l.next().value;l=l.next().value;
f.ZV=[];l.forEach(function(n){return function(q){n.ZV.push(q)}}(f));"owners"==k&&b&&f.ZV.push("kind");e.push(fIc(f.ZV.join(","),k))}return fIc(e.join(","),c)};_.hIc=function(a){var b=new _.vp;b.append(_.ON(a,!0));return b.toString()};_.iIc=function(a,b){return a.filter(function(c){return b.includes(c)})};jIc=function(a){a=a.filter(function(b){return!_.Fcb.has(b)});if(a.length)throw Error("ed`"+a.join(", "));};
_.mIc=function(a){if(a){var b=a.Sb();b&&_.NM(a,b.toLowerCase());kIc(a,_.Oj(a,lIc,58).map(function(c){var d=c.Sb();d&&_.x(c,1,d.toLowerCase());return c}))}};_.PN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Sb():!1};_.QN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Sb();return b&&_.PN(a)?(a=a.mf(),!!a&&"application/vnd.google-apps.folder"==_.z(a,3)):"application/vnd.google-apps.folder"==c};
nIc=function(a){var b=a&&a.getId()||null;a&&_.PN(a)&&(a=(a=a.mf())&&_.z(a,1))&&(b=a);return b};oIc=function(a,b){b&&(_.$i(a,"openDrive",!!_.A(b,2,!1)),_.$i(a,"reason",_.z(b,1)||0),_.$i(a,"syncType",_.z(b,3)||0),_.$i(a,"errorRecovery",!!_.A(b,4,!1)))};pIc=function(a){if(_.nf(a))return"\r\n";var b="";_.ff(a,function(c,d){b+=d+": "+c+"\r\n"});return b};qIc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.Bga(a[c],":",1);d&&2==d.length&&(b[(0,_.bf)(d[0])]=(0,_.bf)(d[1]))}return _.UM(b)};
EIc=function(a){if(a instanceof _.RN)return"request access";if(a instanceof _.SN)return"admin migrate to TD";if(a instanceof _.TN)return"authorize app";if(a instanceof _.UN)return"copy item";if(a instanceof _.VN)return"change category links";if(a instanceof _.WN)return"create item";if(a instanceof _.XN)return"create ws";if("undefined"!=typeof _.YN&&a instanceof _.YN)return"delete app";if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return"delete backup";if(a instanceof _.$N)return"delete item";if("undefined"!=
typeof _.aO&&a instanceof _.aO)return"delete permission";if(a instanceof _.bO)return"delete revision";if(a instanceof _.cO)return"delete TD";if("undefined"!=typeof _.HD&&a instanceof _.HD)return"delete pref";if(a instanceof _.dO)return"delete ws";if(a instanceof _.eO)return"download item";if(a instanceof _.fO)return"empty trash";if(a instanceof _.mo)return"find by ID";if(a instanceof _.rIc)return"item export start";if("undefined"!=typeof _.gO&&a instanceof _.gO)return"get app";if("undefined"!=typeof _.hO&&
a instanceof _.hO)return"insert app";if("undefined"!=typeof _.iO&&a instanceof _.iO)return"insert permission";if(a instanceof _.XM)return a=a.kd(),_.jO(a)?"quick access item query":_.kO(a)?"people predict item query":_.lO(a)?"drive priority query":"item query";if("undefined"!=typeof _.mO&&a instanceof _.mO)return"list android backup items request";if(a instanceof _.nO){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 _.oO&&a instanceof _.oO?"list backups":a instanceof _.rN?"list changes":a instanceof _.pO?"list permissions":"undefined"!=typeof _.qO&&a instanceof _.qO?"list revisions":a instanceof _.rO?"people api":a instanceof _.sG?"get published category":"undefined"!=typeof _.sO&&a instanceof _.sO?"get remaining changes":a instanceof _.tO?"remove item":"undefined"!=typeof _.uO&&a instanceof _.uO?"reparent item":a instanceof
_.vO?"restore item":"undefined"!=typeof _.wO&&a instanceof _.wO?"list suggested workspace items":a instanceof _.to?"list suggested workspaces":"undefined"!=typeof _.xO&&a instanceof _.xO?"update app":a instanceof _.yO?"update category metadata":a instanceof _.pN?"update item":a instanceof _.zO?"update revision":a instanceof _.AO?"update TD":"undefined"!=typeof _.ID&&a instanceof _.ID?"update pref":a instanceof _.BO?"update ws":a instanceof _.CO?"get account":"undefined"!=typeof _.DO&&a instanceof
_.DO?"get workspace":a instanceof _.sIc?"list activity":a instanceof _.tIc?"list category metadata":a instanceof _.EO?"create TD":"undefined"!=typeof _.uIc&&a instanceof _.uIc?"item export cancel":"undefined"!=typeof _.vIc&&a instanceof _.vIc?"item export status":"undefined"!=typeof _.FO&&a instanceof _.FO?"generate cse token":"undefined"!=typeof _.GO&&a instanceof _.GO?"get largest change ID":a instanceof _.wIc?"list prefs":a instanceof _.HO?"multipart upload":a instanceof _.xIc?"list published categories":
a instanceof yIc?"init resumable upload":a instanceof zIc?"resumable upload chunk":a instanceof _.AIc?"resumable upload":a instanceof _.uo?"get TD":"undefined"!=typeof _.BIc&&a instanceof _.BIc?"move TD preflight":a instanceof _.IO?"list TDs":"undefined"!=typeof _.JO&&a instanceof _.JO?"get TD stats":a instanceof _.CIc?"test connection":"undefined"!=typeof _.DIc&&a instanceof _.DIc?"list workspaces":"unknown"};
KO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};FIc=function(a){if(a instanceof _.WN||a instanceof _.HO||a instanceof _.AIc||a instanceof yIc||a instanceof zIc)return(new _.LO).Dc(8);throw Error("$e");};GIc=function(a){if(a instanceof _.pN){var b=_.MO(_.x(_.Vj(a),1,void 0),void 0);b=_.Uj(b,_.JGc)}else b=!1;b||(a instanceof _.pN?(a=_.MO(_.x(_.Vj(a),1,void 0),void 0),b=_.Uj(a,_.KGc)||_.Uj(a,_.LGc)):b=!1);return b?!1:!0};
_.NO=function(a){return HIc.includes(a.constructor)?GIc(a):!1};NIc=function(a,b){return IIc.includes(a.constructor)||b&&(_.A(b,54,!1)&&JIc.includes(a.constructor)||KIc.includes(a.constructor)&&!_.OO(a)||_.A(b,56,!1)&&_.OO(a)||_.A(b,57,!1)&&LIc.includes(a.constructor)||!(!_.A(b,53,!1)||JIc.includes(a.constructor)||KIc.includes(a.constructor)||_.OO(a)||LIc.includes(a.constructor)||MIc.includes(a.constructor)))?!0:!1};
OIc=function(a,b,c){c=void 0===c?!1:c;var d=new _.Qi(_.D(b,16,"")+"/open"),e=a.getId();_.PN(a)&&c&&(e=nIc(a));_.$i(d,"id",e);_.$i(d,"authuser",_.mN(b.Se()));_.PO(b)&&a.EN()&&_.$i(d,"resourcekey",_.Kk(a));return d.toString()};PIc=function(a){var b={};a=a.Qa().split("\r\n");for(var c=0;c<a.length;c++)if(!_.Cc(a[c])){var d=_.Bga(a[c],":",1),e=d[0];d=d[1];if("string"===typeof d){d=d.trim();var f=b[e]||[];b[e]=f;f.push(d)}}return _.hf(b,function(h){return h.join(", ")})};
_.QIc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QIc,_.P);_.RIc=function(a){var b=new _.tk;return _.x(b,1,a)};_.SIc=function(a,b){return _.x(a,7,b)};_.TIc=function(a,b){return _.x(a,8,b)};_.UIc=function(a,b){return _.x(a,1,b)};_.VIc=function(a,b){return _.x(a,2,b)};_.WIc=function(a,b){return _.x(a,3,b)};_.XIc=function(a,b){return _.x(a,4,b)};_.YIc=function(a,b){return _.x(a,5,b)};_.ZIc=function(a,b){return _.x(a,6,b)};_.$Ic=function(a,b){return _.x(a,7,b)};_.aJc=function(a,b){return _.x(a,8,b)};
_.bJc=function(a,b){return _.x(a,9,b)};_.cJc=function(a,b){return _.x(a,10,b)};_.dJc=function(a,b){return _.x(a,11,b)};_.eJc=function(a,b){return _.x(a,12,b)};_.fJc=function(a,b){return _.x(a,16,b)};_.gJc=function(a,b){return _.x(a,17,b)};_.hJc=function(a,b){return _.x(a,20,b)};_.iJc=function(a,b){return _.x(a,21,b)};_.jJc=function(a,b){return _.x(a,31,b)};_.kJc=function(a,b){return _.x(a,32,b)};_.lJc=function(a,b){return _.x(a,33,b)};_.mJc=function(a,b){return _.x(a,42,b)};
_.nJc=function(a,b){return _.x(a,43,b)};_.oJc=function(a,b){return _.x(a,46,b)};_.pJc=function(a,b){return _.x(a,47,b)};_.qJc=function(a,b){return _.x(a,48,b)};_.QO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QO,_.P);_.RO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RO,_.P);_.RO.prototype.vv=function(){return _.z(this,4)};_.SO=function(a,b){return _.x(a,1,b)};_.rJc=function(a,b){return _.x(a,2,b)};lIc=function(a){_.Q(this,a,0,-1,null,null)};_.L(lIc,_.P);
lIc.prototype.Sb=function(){return _.z(this,1)};lIc.prototype.getUrl=function(){return _.z(this,2)};_.TO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TO,_.P);_.TO.prototype.Ve=function(){return _.z(this,3)};_.TO.prototype.Wf=function(a){return _.x(this,3,a)};_.UO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UO,_.P);_.sJc=function(a,b){return _.x(a,1,b)};_.tJc=function(a,b){return _.Qj(a,2,b)};_.uJc=function(a,b){return _.Qj(a,3,b)};vJc=[2];_.VO=function(a){_.Q(this,a,0,-1,vJc,null)};_.L(_.VO,_.P);
_.VO.prototype.Uf=function(){return _.z(this,1)};_.VO.prototype.Bl=function(a){return _.x(this,1,a)};_.VO.prototype.Rea=function(a,b){return _.Mj(this,2,a,b)};_.WO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WO,_.P);_.WO.prototype.Ve=function(){return _.z(this,2)};_.WO.prototype.Wf=function(a){return _.x(this,2,a)};_.XO=function(a,b){return _.x(a,2,b||[])};_.wJc=function(a,b){_.x(a,8,b)};_.YO=function(a,b){return _.Qj(a,15,b)};_.ZO=function(a,b){return _.R(a,17,b)};
_.xJc=function(a,b){return _.x(a,19,b)};_.yJc=function(a,b){_.x(a,26,b)};_.zJc=function(a,b){_.x(a,31,b)};_.AJc=function(a,b){_.x(a,34,b)};_.BJc=function(a,b){return _.x(a,44,b)};_.CJc=function(a,b){return _.x(a,52,b)};kIc=function(a,b){_.Qj(a,58,b)};_.DJc=function(a,b){return _.x(a,72,b)};_.EJc=function(a,b){_.R(a,85,b)};_.FJc=function(a,b){return _.x(a,92,b)};_.GJc=function(a,b){return _.x(a,93,b)};_.$O=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$O,_.P);
_.$O.prototype.ub=function(){return _.z(this,1)};_.$O.prototype.hc=function(a){return _.x(this,1,a)};_.$O.prototype.El=function(){return _.x(this,1,void 0)};_.$O.prototype.Th=function(){return null!=_.z(this,1)};var HJc=[3],IJc=function(a){_.Q(this,a,0,-1,HJc,null)};_.L(IJc,_.P);IJc.prototype.V=function(){var a=_.z(this,3);this.Ka||(this.Ka={});if(!this.Ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.Ka[3]=!0}return a};var JJc=[3],KJc=function(a){_.Q(this,a,0,-1,JJc,null)};_.L(KJc,_.P);
KJc.prototype.V=function(){return _.z(this,3)};var LJc=[3],MJc=function(a){_.Q(this,a,0,-1,LJc,null)};_.L(MJc,_.P);MJc.prototype.V=function(){return _.z(this,3)};_.aP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.aP,_.P);_.aP.prototype.ub=function(){return _.z(this,1)};_.aP.prototype.hc=function(a){return _.x(this,1,a)};_.aP.prototype.El=function(){return _.x(this,1,void 0)};_.aP.prototype.Th=function(){return null!=_.z(this,1)};_.bP=function(a){return _.Oj(a,_.ue,6)};
_.cP=function(a){return _.Oj(a,_.Wb,12)};_.fP=function(a){return _.D(a,45,1)};_.jO=function(a){return _.A(a,47,!1)};_.kO=function(a){return _.A(a,49,!1)};_.lO=function(a){return _.A(a,52,!1)};_.gP=function(a){return _.D(a,2,"")};_.NJc=function(a,b){return _.x(a,27,b||[])};_.hP=function(a){return _.D(a,39,0)};_.iP=function(a){return _.A(a,40,!1)};_.jP=function(a){return _.A(a,49,!1)};_.PO=function(a){return _.A(a,89,!1)};_.OJc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};
_.PJc=function(a){return _.jw.prototype.pV.call(a,!0)+"T"+_.og(a.getHours(),2)+":"+_.og(a.getMinutes(),2)+":"+_.og(a.getSeconds(),2)+a.bZ()};_.QJc=function(a,b){return _.x(a,18,b||[])};_.RJc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RJc,_.P);SJc=[3,4,10,18,19,28];_.WN=function(a){_.Q(this,a,0,-1,SJc,null)};_.L(_.WN,_.P);_.g=_.WN.prototype;_.g.Sb=function(){return _.z(this,1)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};
_.g.sz=function(a,b){_.Mj(this,3,a,b)};_.g.oe=function(){return _.C(this,_.xe,7)};_.g.ms=function(){return _.A(this,13,!1)};_.g.wc=function(){return _.z(this,14)};_.g.Hc=function(){return _.z(this,23)};_.g.vv=function(){return _.z(this,24)};_.TJc=function(a,b){return _.x(a,1,b)};_.UJc=function(a,b){return _.x(a,3,b||[])};_.kP=function(a){return _.z(a,9)};_.$N=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$N,_.P);_.$N.prototype.getId=function(){return _.z(this,1)};
_.$N.prototype.kc=function(a){return _.x(this,1,a)};_.$N.prototype.oe=function(){return _.C(this,_.xe,3)};_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.cO,_.P);_.cO.prototype.getId=function(){return _.z(this,1)};_.cO.prototype.kc=function(a){return _.x(this,1,a)};_.cO.prototype.oe=function(){return _.C(this,_.xe,2)};_.MO=function(a,b){return _.R(a,17,b)};VJc=[7,8];_.AO=function(a){_.Q(this,a,0,-1,VJc,null)};_.L(_.AO,_.P);_.g=_.AO.prototype;_.g.getId=function(){return _.z(this,1)};
_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.xe,4)};_.g.n7=function(){return _.E(this,12)};_.g.aZ=function(){return _.E(this,13)};_.g.Jl=function(){return _.E(this,15)};_.IO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.IO,_.P);_.IO.prototype.getOptions=function(){return _.C(this,_.UEc,1)};_.IO.prototype.Um=function(){return _.z(this,2)};
_.IO.prototype.kd=function(){return _.C(this,_.SM,3)};WJc=function(a,b){return _.rFc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.XJc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.dN(c,"deleting object store "+b);}};YJc=function(){var a=new _.pGc;a.W=12E4;a.ta=!0;return a};
ZJc={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."};
$Jc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};aKc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.bKc=function(a){if(_.Nka)return _.m.atob(a);var b="";_.Pka(a,function(c){b+=String.fromCharCode(c)});return b};cKc=function(){this.V=0;this.H=[]};_.g=cKc.prototype;_.g.add=function(a){var b=this.H[this.V];this.H[this.V]=a;this.V=(this.V+1)%40;return b};_.g.get=function(a){a=dKc(this,a);return this.H[a]};_.g.set=function(a,b){a=dKc(this,a);this.H[a]=b};_.g.Zb=function(){return this.H.length};
_.g.uc=function(){return 0==this.H.length};_.g.clear=function(){this.V=this.H.length=0};_.g.mh=function(){var a=this.Zb(),b=this.Zb(),c=[];for(a=this.Zb()-a;a<b;a++)c.push(this.get(a));return c};_.g.jf=function(){for(var a=[],b=this.Zb(),c=0;c<b;c++)a[c]=c;return a};_.g.io=function(a){for(var b=this.Zb(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};dKc=function(a,b){if(b>=a.H.length)throw Error("Z");return 40>a.H.length?b:(a.V+Number(b))%40};eKc=[2,3];_.VN=function(a){_.Q(this,a,0,-1,eKc,null)};
_.L(_.VN,_.P);_.VN.prototype.wc=function(){return _.z(this,1)};_.VN.prototype.oe=function(){return _.C(this,_.xe,4)};_.lP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lP,_.P);_.g=_.lP.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.Sb=function(){return _.z(this,2)};_.g.ms=function(){return _.E(this,4)};_.g.dD=function(){return _.z(this,8)};fKc=[22];_.LO=function(a){_.Q(this,a,0,-1,fKc,null)};_.L(_.LO,_.P);_.g=_.LO.prototype;
_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.getItem=function(){return _.C(this,_.Ek,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Xj=function(){return _.z(this,3)};_.g.Hc=function(){return _.z(this,5)};_.mP=function(a,b){return _.x(a,5,b)};_.g=_.LO.prototype;_.g.mB=function(){return _.z(this,7)};_.g.X1=function(a){return _.x(this,7,a)};_.g.tha=function(a){_.x(this,9,a)};_.g.Kxa=function(a){_.x(this,10,a)};_.g.eJ=function(){return _.z(this,16)};
_.g.J1=function(a){return _.x(this,16,a)};_.RN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RN,_.P);_.RN.prototype.Hc=function(){return _.z(this,1)};_.SN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SN,_.P);_.SN.prototype.getId=function(){return _.z(this,1)};_.SN.prototype.kc=function(a){return _.x(this,1,a)};_.SN.prototype.Mj=function(){return _.z(this,2)};_.TN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TN,_.P);_.TN.prototype.Hc=function(){return _.z(this,2)};
_.TN.prototype.oe=function(){return _.C(this,_.xe,4)};gKc=[3,7];_.UN=function(a){_.Q(this,a,0,-1,gKc,null)};_.L(_.UN,_.P);_.g=_.UN.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.sz=function(a,b){_.Mj(this,3,a,b)};_.g.oe=function(){return _.C(this,_.xe,5)};_.XN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XN,_.P);
_.XN.prototype.getTitle=function(){return _.z(this,1)};_.XN.prototype.setTitle=function(a){return _.x(this,1,a)};_.XN.prototype.oe=function(){return _.C(this,_.xe,2)};_.bO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.bO,_.P);_.bO.prototype.Hc=function(){return _.z(this,1)};_.bO.prototype.oe=function(){return _.C(this,_.xe,3)};_.dO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dO,_.P);_.dO.prototype.getId=function(){return _.z(this,1)};_.dO.prototype.kc=function(a){return _.x(this,1,a)};
_.dO.prototype.oe=function(){return _.C(this,_.xe,3)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fO,_.P);_.fO.prototype.oe=function(){return _.C(this,_.xe,1)};_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.tO,_.P);_.g=_.tO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.z(this,2)};_.g.Lg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.xe,3)};_.vO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.vO,_.P);_.g=_.vO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.z(this,2)};_.g.Lg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.xe,3)};_.zO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.zO,_.P);_.zO.prototype.Hc=function(){return _.z(this,1)};_.zO.prototype.ms=function(){return _.E(this,3)};_.zO.prototype.oe=function(){return _.C(this,_.xe,4)};_.BO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.BO,_.P);_.g=_.BO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.z(this,3)};_.g.Td=function(a){return _.x(this,3,a)};_.g.Qn=function(){return null!=_.z(this,3)};_.g.oe=function(){return _.C(this,_.xe,5)};var hKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hKc,_.P);hKc.prototype.getEnvironment=function(){return _.z(this,2)};
hKc.prototype.setEnvironment=function(a){return _.x(this,2,a)};var iKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(iKc,_.P);_.jKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.jKc,_.P);_.jKc.prototype.Re=function(){return _.z(this,1)};_.jKc.prototype.Gb=function(){return _.z(this,4)};_.jKc.prototype.Dc=function(a){return _.x(this,4,a)};var kKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kKc,_.P);var lKc=function(a,b){_.x(a,6,b)},mKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mKc,_.P);_.g=mKc.prototype;
_.g.xUa=function(a){_.x(this,1,a)};_.g.tkb=function(a){_.x(this,2,a)};_.g.qy=function(){return _.E(this,3)};_.g.yUa=function(a){_.x(this,3,a)};_.g.ckb=function(a){_.x(this,4,a)};var nKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nKc,_.P);nKc.prototype.qy=function(){return _.E(this,2)};var oKc=function(a,b){return _.x(a,2,b)},pKc=function(a,b){_.x(a,3,b)};nKc.prototype.Ow=function(){return _.z(this,6)};var qKc=function(a,b){return _.x(a,8,b)},rKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rKc,_.P);
rKc.prototype.kd=function(){return _.C(this,_.jKc,1)};rKc.prototype.getState=function(){return _.C(this,kKc,2)};rKc.prototype.Td=function(a){return _.R(this,2,a)};rKc.prototype.Qn=function(){return null!=_.z(this,2)};_.gIc=[42,1005,20,50,18,1003,1002];sKc=[73,71];tKc=function(a){var b=new _.Ih;a.listen("loadend",_.Re(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Ed(f):c.callback(e);d.dispose()},b,a));return b};_.uKc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.vKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.vKc,_.P);_.g=_.vKc.prototype;_.g.getKey=function(){return _.z(this,1)};_.g.ub=function(){return _.z(this,2)};_.g.hc=function(a){return _.x(this,2,a)};_.g.El=function(){return _.x(this,2,void 0)};_.g.Th=function(){return null!=_.z(this,2)};_.g.Uf=function(){return _.z(this,3)};_.g.Bl=function(a){return _.x(this,3,a)};_.g.getType=function(){return _.z(this,4)};_.wKc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.nP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.nP,_.P);_.nP.prototype.sr=function(){return _.C(this,_.kC,1)};_.xKc=function(a,b){return _.R(a,1,b)};_.nP.prototype.Um=function(){return _.z(this,3)};yKc=[3,4];_.nO=function(a){_.Q(this,a,0,-1,yKc,null)};_.L(_.nO,_.P);_.nO.prototype.getType=function(){return _.z(this,1)};_.nO.prototype.oe=function(){return _.C(this,_.xe,2)};_.zKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.zKc,_.P);_.zKc.prototype.getId=function(){return _.z(this,1)};
_.zKc.prototype.kc=function(a){return _.x(this,1,a)};_.zKc.prototype.oe=function(){return _.C(this,_.xe,2)};_.pO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.pO,_.P);_.pO.prototype.Um=function(){return _.z(this,2)};_.pO.prototype.kd=function(){return _.C(this,_.zKc,3)};AKc=[1];_.rO=function(a){_.Q(this,a,0,-1,AKc,null)};_.L(_.rO,_.P);_.rO.prototype.Kl=function(){return _.z(this,1)};_.CO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.CO,_.P);_.CO.prototype.oe=function(){return _.C(this,_.xe,1)};
_.CO.prototype.Gg=function(){return _.z(this,4)};BKc=[2];_.yO=function(a){_.Q(this,a,0,-1,BKc,null)};_.L(_.yO,_.P);_.yO.prototype.Hc=function(){return _.z(this,1)};_.yO.prototype.ZM=function(){return _.Oj(this,_.uG,2)};_.yO.prototype.oe=function(){return _.C(this,_.xe,3)};_.eO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.eO,_.P);_.eO.prototype.getId=function(){return _.z(this,1)};_.eO.prototype.kc=function(a){return _.x(this,1,a)};_.eO.prototype.EN=function(){return null!=_.z(this,3)};CKc=[1];
_.rIc=function(a){_.Q(this,a,0,-1,CKc,null)};_.L(_.rIc,_.P);var DKc=function(a){_.di.call(this,a);_.yGc.get(a)};_.J(DKc,_.di);_.EKc=function(){var a=void 0===a?1E3:a;this.V=new _.ul;this.H=new _.ul;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.GKc=function(a){var b=a.V.mh();a.W&&b.push(FKc("...","...","...","..."));_.ta(b,a.H.mh());return b};
_.HKc=function(a){var b=[];a=_.GKc(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")};_.EKc.prototype.info=function(a,b){_.oP(this,a,b,"info")};_.EKc.prototype.config=function(a,b){_.oP(this,a,b,"config")};_.EKc.prototype.log=function(a,b,c){_.oP(this,a,b,c)};
_.oP=function(a,b,c,d){a.H.Zb()>=a.ka&&(a.W=!0,_.vl(a.H));var e=Date.now()-a.ma;b=FKc(b,c,d,1E3<e?(e/1E3).toFixed(1)+"s":e+"ms");a.V.Zb()<a.ha?a.V.enqueue(b):a.H.enqueue(b)};FKc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.IKc=function(){this.H={}};JKc=function(a,b,c){if(a.H[b])throw Error("We");a.H[b]=c};_.IKc.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 KKc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},LKc=function(a){_.di.call(this,"Ab");this.request=a};_.J(LKc,_.di);var pP=function(){_.O.apply(this,arguments)};_.J(pP,_.O);MKc=function(a,b){a.dispatchEvent(new LKc(b))};_.NKc=function(a){pP.call(this);this.V=a};_.J(_.NKc,pP);_.NKc.prototype.H=function(a){var b=!1;_.uGc(_.kN(a.Eu[a.Eu.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.Eu.length?(MKc(this,a),!0):!1};var qP=function(a){_.O.call(this);this.ha=a};_.J(qP,_.O);
_.g=qP.prototype;_.g.max=function(){};_.g.qU=function(){};_.g.hoa=function(){};_.g.JGa=function(){};_.g.IGa=function(){};_.g.HGa=function(){};_.g.KB=function(){this.dispatchEvent(new _.di("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};var OKc=function(a){_.di.call(this,"Cb");this.Xw=a};_.J(OKc,_.di);OKc.prototype.Ef=function(){return this.Xw};
_.PKc=function(a,b){qP.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.be(this);this.Pa(this.H);this.H.listen(this.W,"Cb",function(d){d.Ef()||c.KB()});this.H.listen(this.V,"ta",this.KB)};_.J(_.PKc,qP);_.PKc.prototype.max=function(){var a=this.W.Ef(),b=this.V.H;return!a&&b?Infinity:0};_.PKc.prototype.qU=function(){this.KB()};_.QKc=function(a,b,c){this.H=new _.QH(a,b,.5);this.W=c;this.V=!0};_.rP=function(a,b){qP.call(this,"Backoff");this.H=a;this.V=b};_.J(_.rP,qP);
_.rP.prototype.max=function(){return this.H.V?Infinity:0};_.rP.prototype.IGa=function(){this.H.H.reset()};_.rP.prototype.HGa=function(a){var b=this;RKc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.ub(),SKc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){SKc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.KB()},a),_.RH(this.H.H))};RKc=function(a){a=a.Eu.length&&_.ba(a.Eu).response;return!!(a&&a instanceof _.pb&&eIc(a))};
SKc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.TKc=function(a,b){qP.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.J(_.TKc,qP);_.TKc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.TKc.prototype.qU=function(a){a>=this.V?this.KB():null==this.H&&UKc(this)};_.TKc.prototype.hoa=function(a,b){0<b?UKc(this):this.H=null};UKc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.KB.bind(a),a.W)};
_.sIc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.EO=function(a){this.request=a;this.requestId=_.qg()};_.VKc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.wIc=function(a,b){this.request=a;this.H=b};_.HO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.AIc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};yIc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};
WKc=function(a,b,c){this.S9a=a;this.Tib=b;this.FTa=c};zIc=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.Et=h};_.CIc=function(a){this.H=a};_.tIc=function(a,b){this.request=a;this.pageToken=b||""};_.xIc=function(a,b){this.request=a;this.pageToken=b||""};XKc=function(a,b){this.Kfa=a;this.iE=b};sP=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.tP=function(a,b,c){a.CJ.length&&a.append(" "+(c||"and")+" ");a.append(b)};
uP=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(sP(c));e.push("in");e.push(b);_.tP(a,e.join(" "))}};_.vP=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());_.tP(a,e.join(" "),d)}};_.YKc=function(a){var b=new _.DGc;b.setTime(a);return b};ZKc=function(a,b){b=_.Oj(b,_.$O,35)||[];_.Fa(b,function(c){uP(a,"ancestors",c.ub(),!1)})};$Kc=function(a,b){b=_.Oj(b,_.$O,38)||[];_.Fa(b,function(c){uP(a,"descendants",c.ub(),!1)})};
aLc=function(a,b){b=_.Oj(b,_.Pk,37)||[];_.Fa(b,function(c){uP(a,"folderFeatures",c.ub(),!1)})};bLc=function(a,b){b=_.z(b,39);_.Fa(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(sP(c));_.tP(a,d.join(" "))})};cLc=function(a,b){b=_.z(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(sP(b));_.tP(a,c.join(" "))}};_.dLc=function(a){a=_.Oj(a,_.aP,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].ub());return b.join(",")};
_.eLc=function(a){a=a.fu();return null==a||0==a.length?"":_.me(a,function(b){b=_.z(b,1);if(0==b)throw Error("Xe");return _.EEc[b]}).join(",")};fLc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=sP(a.ub());_.E(a,4)?(_.A(a,2,!1)&&d.push("not"),d.push("shortcutDetails.targetMimeType")):(_.A(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(" ")};
gLc=function(a){if(_.E(a,2))return"any";switch(a.ub()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};hLc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};iLc=function(a,b,c){if(null!=_.z(c,2)){var d=hLc(_.z(c,1));c=sP(_.PJc(_.YKc(_.z(c,2)||0)));_.tP(a,[b,d,c].join(" "))}};
jLc=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""};
_.kLc=function(a){for(var b=new _.vp,c=_.Oj(a,_.Rk,4),d=0;d<c.length;d++){var e=c[d],f=e.ub();if(f){var h=_.z(e,1),k=_.A(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(sP(f));_.tP(b,l.join(" "))}}for(var n=_.Oj(a,_.Qk,5),q=0;q<n.length;q++){var t=n[q],v=t.ub();if(v){var y=[];_.A(t,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(sP(v));_.tP(b,y.join(" "))}}var B=_.bP(a);if(B&&0!=B.length){for(var F=[],M=[],I=0;I<B.length;I++){var X=B[I];
X.ub()&&(_.A(X,2,!1)?M.push(X):F.push(X))}for(var T=0;T<F.length;T++){var na=fLc(F[T],0==T?"(":"",T==F.length-1?")":"");_.tP(b,na,0!=T?"or":"and")}for(var Ba=0;Ba<M.length;Ba++)_.tP(b,fLc(M[Ba],0==Ba?"(":"",Ba==M.length-1?")":""))}for(var Oa=_.Oj(a,_.Ok,7),Ca=0;Ca<Oa.length;Ca++)iLc(b,"modifiedDate",Oa[Ca]);for(var ea=_.Oj(a,_.Ok,8),Ka=0;Ka<ea.length;Ka++)iLc(b,"lastViewedByMeDate",ea[Ka]);_.vP(b,"trashed",a.Bh());_.vP(b,"explicitlyTrashed",_.E(a,17));_.vP(b,"starred",_.E(a,10));_.vP(b,"hidden",a.Jl());
for(var gb=_.cP(a),Xb=0;Xb<gb.length;Xb++){var wb=gb[Xb];uP(b,"parents",wb.ub(),_.A(wb,2,!1))}for(var ec=_.Oj(a,_.re,13),Kc=0;Kc<ec.length;Kc++){var ie=ec[Kc];uP(b,"owners",ie.ub(),_.A(ie,2,!1))}for(var hg=_.Oj(a,_.re,14),Ce=0;Ce<hg.length;Ce++){var Nf=hg[Ce];uP(b,"writers",Nf.ub(),_.A(Nf,2,!1))}for(var Pg=_.Oj(a,_.re,15),Qg=0;Qg<Pg.length;Qg++){var dd=Pg[Qg];uP(b,"readers",dd.ub(),_.A(dd,2,!1))}_.E(a,16)&&_.tP(b,"sharedWithMe");_.vP(b,"unparented",_.E(a,34));ZKc(b,a);$Kc(b,a);aLc(b,a);bLc(b,a);for(var Gi=
_.z(a,40),Pe=0;Pe<Gi.length;Pe++){var Of=[];0==Pe&&Of.push("(");Of.push(sP(Gi[Pe]));Of.push("in");Of.push("templateData.categories");Pe==Gi.length-1&&Of.push(")");_.tP(b,Of.join(" "),0==Pe?"and":"or")}var Eb=_.z(a,41);if(null!=Eb){var oi=[];oi.push("templateData.galleryState");oi.push("=");oi.push(sP(_.FGc[Eb]||""));_.tP(b,oi.join(" "))}var Vk=_.z(a,42);if(null!=Vk){var pi=[];pi.push("visibility");pi.push("=");pi.push(sP(jLc(Vk)));_.tP(b,pi.join(" "))}for(var kq=_.Oj(a,_.Lk,44),ok=0;ok<kq.length;++ok){var Pf=
kq[ok];uP(b,"actionItems",gLc(Pf),_.A(Pf,3,!1))}if(null!=_.z(a,50)){var Dh=[];Dh.push("pairedDocType");var xm=_.A(a,50,!1)?"!=":"=";Dh.push(xm);Dh.push(sP("NONE"));_.tP(b,Dh.join(" "))}uP(b,"workspaceIds",_.z(a,54),!1);for(var lq=_.Oj(a,_.Mk,57),Bl=0;Bl<lq.length;Bl++){var Xn=[];0==Bl&&Xn.push("(");Xn.push(sP(lq[Bl].ub()));Xn.push("in");Xn.push("approvals");Bl==lq.length-1&&Xn.push(")");_.tP(b,Xn.join(" "),0==Bl?"and":"or")}if(null!=_.z(a,58)){var Cl=_.C(a,_.re,58),Yn=Cl.ub(),mq=_.A(Cl,2,!1);if(Yn){var pk=
[];mq&&pk.push("not");pk.push("creator");pk.push("=");pk.push(sP(Yn));_.tP(b,pk.join(" "))}}var nq=_.C(a,_.mna,59);if(nq)for(var Dl=_.u(_.Oj(nq,_.kna,1)),dp=Dl.next();!dp.done;dp=Dl.next()){var ep=dp.value;uP(b,"categoryMetadata",ep.Qk());for(var Zn=_.u(ep.ol()),fn=Zn.next();!fn.done;fn=Zn.next()){var Ig=fn.value,Ze=_.z(Ig,1),ed=_.Cj(Ig,_.Nk[0]);if(10==ed){_.C(Ig,_.bna,10);var fp=_.E(Ig,15);(void 0===fp?0:fp)?_.tP(b,Ze+" is null"):_.tP(b,"not ("+Ze+" is null)")}else{var Xh=new _.vp,Yi=void 0;switch(ed){case 3:Yi=
_.C(Ig,IJc,3);for(var Ev=_.u(Yi.V()),Cr=Ev.next();!Cr.done;Cr=Ev.next())_.vP(Xh,Ze,Cr.value,"or");break;case 14:for(var Hs=Yi=_.C(Ig,_.Vma,14),Is=new Map([[1,"="],[2,">"],[3,"<"]]),Js=_.u(Hs.V()),$n=Js.next();!$n.done;$n=Js.next()){var eu=$n.value,gp=Is.get(_.z(Hs,2));if(!gp)throw Error("Ye");var dh=[Ze,gp,sP(eu.getYear()+"-"+eu.getMonth()+"-"+eu.getDay())];_.tP(Xh,dh.join(" "),"or")}break;case 8:for(var Bj=Yi=_.C(Ig,_.ana,8),gn=new Map([[1,"="],[2,">"],[3,"<"]]),Lh=_.u(Bj.V()),hp=Lh.next();!hp.done;hp=
Lh.next()){var fu=hp.value,Ks=gn.get(_.z(Bj,2));if(!Ks)throw Error("Ye");_.tP(Xh,[Ze,Ks,fu].join(" "),"or")}break;case 9:for(var Dr=Yi=_.C(Ig,KJc,9),oq=new Map([[1,"in"]]),pq=_.u(Dr.V()),El=pq.next();!El.done;El=pq.next()){var Ls=El.value,gu=oq.get(_.z(Dr,2));if(!gu)throw Error("Ye");_.tP(Xh,[Ls,gu,Ze].join(" "),"or")}break;case 6:for(var ip=Yi=_.C(Ig,_.fna,6),qq=new Map([[1,"="]]),rq=_.u(ip.V()),Ms=rq.next();!Ms.done;Ms=rq.next()){var hu=Ms.value,sq=qq.get(_.z(ip,2));if(!sq)throw Error("Ye");_.tP(Xh,
[Ze,sq,sP(hu)].join(" "),"or")}break;case 7:for(var Fv=Yi=_.C(Ig,_.dna,7),iu=new Map([[1,"in"]]),ao=_.u(Fv.V()),ju=ao.next();!ju.done;ju=ao.next()){var Er=ju.value,ku=iu.get(_.z(Fv,2));if(!ku)throw Error("Ye");_.tP(Xh,[sP(Er),ku,Ze].join(" "),"or")}break;case 4:for(var Ns=Yi=_.C(Ig,_.hna,4),hn=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),px=_.u(Ns.V()),Fr=px.next();!Fr.done;Fr=px.next()){var se=Fr.value,qx=hn.get(_.z(Ns,2));if(!qx)throw Error("Ye");_.tP(Xh,[Ze,qx,sP(se)].join(" "),"or")}break;
case 5:for(var uz=Yi=_.C(Ig,MJc,5),cG=new Map([[1,"in"]]),dG=_.u(uz.V()),jn=dG.next();!jn.done;jn=dG.next()){var qC=jn.value,tq=cG.get(_.z(uz,2));if(!tq)throw Error("Ye");_.tP(Xh,[sP(qC),tq,Ze].join(" "),"or")}break;case 12:for(var jp=Yi=_.C(Ig,_.Zma,12),dP=new Map([[1,"="]]),eG=_.u(jp.V()),rC=eG.next();!rC.done;rC=eG.next()){var xW=rC.value,vz=dP.get(_.z(jp,2));if(!vz)throw Error("Ye");_.tP(Xh,[Ze,vz,sP(xW)].join(" "),"or")}break;case 11:for(var eP=Yi=_.C(Ig,_.Xma,11),YHa=new Map([[1,"in"]]),b7=
_.u(eP.V()),ZX=b7.next();!ZX.done;ZX=b7.next()){var oka=ZX.value,$X=YHa.get(_.z(eP,2));if(!$X)throw Error("Ye");_.tP(Xh,[sP(oka),$X,Ze].join(" "),"or")}}_.E(Ig,15)?_.tP(b,"not ("+Xh+")"):_.tP(b,1<Yi.V().length?"("+Xh+")":""+Xh)}}}_.E(a,60)&&_.vP(b,"canChangeSecurityUpdateEnabled",_.E(a,60));1==_.fP(a)&&cLc(b,a);return b.toString()};
_.lLc=function(a){var b=new _.vp(_.kLc(a));_.jO(a)?_.tP(b,"isQuickAccessRequest"):_.kO(a)?_.tP(b,"isPeoplePredictRequest"):_.lO(a)&&_.tP(b,"isDrivePriorityRequest");var c=a.Ud();if(c){var d=[];d.push("sortBy");d.push(_.AGc[c.getType()]);d.push(_.HGc[c.jh()]);_.E(c,3)&&d.push("foldersFirst");_.tP(b,d.join(" "))}_.vP(b,"domainSearch",_.E(a,18));_.vP(b,"offline",_.E(a,19));_.Oj(a,_.aP,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.dLc(a)),_.tP(b,c.join(" ")));a.fu().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.eLc(a)),_.tP(b,c.join(" ")));if(c=_.fP(a))d=[],d.push("corpora"),d.push("="),d.push(sP(_.uKc[c])),_.tP(b,d.join(" "));1!=_.fP(a)&&cLc(b,a);_.A(a,48,!1)&&_.tP(b,"cachedOnly");return b.toString()};_.OO=function(a){if(a instanceof _.XM)a=a.kd();else if(!a)return!1;return a instanceof _.to||"undefined"!=typeof _.wO&&a instanceof _.wO||"undefined"!=typeof _.wP&&a instanceof _.wP||a instanceof _.oe&&(_.jO(a)||_.kO(a)||_.lO(a))};
HIc=[_.RN,_.TN,_.SN,_.VN,_.UN,_.WN,_.XN,_.$N,_.bO,_.cO,_.dO,_.fO,_.tO,_.vO,_.yO,_.pN,_.zO,_.AO,_.BO,_.EO,_.HO];mLc=[_.rN];IIc=[_.sG,_.xIc];JIc=[_.pO,_.CO,_.wIc,_.IO];KIc=[_.XM,_.mo,_.rN,_.tIc];LIc=[_.IO,_.uo];MIc=[_.eO,_.rIc,_.nO,_.rO,_.sIc,_.HO,zIc,yIc];_.xP=function(){this.Lp=[]};_.xP.prototype.add=function(a,b){b?this.Lp.unshift(a):this.Lp.push(a);return!0};_.xP.prototype.H=function(a){return _.va(this.Lp,0,a)};
_.xP.prototype.cancel=function(a){return _.pa(this.Lp,function(b){return b.Jr.config.requestId==a?(b.ek.resolve(FIc(b.Jr.request)),!0):!1})};_.nLc=function(a){pP.call(this);this.V=a};_.J(_.nLc,pP);_.nLc.prototype.H=function(a){var b=_.kN(a.Eu[a.Eu.length-1].response),c=!1;if(2==b.Kn())b=this.V,oLc(b,3)&&_.pLc(b),c=!0;else if(_.uGc(b)){b=this.V;if(c=!b.H)c=b.qc,c=!c.QG&&c.isConnected()?c.k$=!0:!1;c&&_.pLc(b);c=!0}return c&&2>a.Eu.length?(MKc(this,a),!0):!1};var qLc=function(){qP.call(this,"Immediate")};
_.J(qLc,qP);qLc.prototype.max=function(){return Infinity};qLc.prototype.qU=function(){this.KB()};var rLc=function(){qP.call(this,"One Request")};_.J(rLc,qP);rLc.prototype.max=function(){return 1};_.sLc=function(a){qP.call(this,"Online");var b=this;this.Ug=a;this.H=new _.be(this);this.Pa(this.H);this.H.listen(this.Ug,["wb","xb","yb"],function(){return b.KB()})};_.J(_.sLc,qP);_.sLc.prototype.max=function(){return this.Ug.isConnected()?Infinity:0};_.sLc.prototype.qU=function(){this.KB()};
_.yP=function(a){qP.call(this,"Parallel");this.V=a;this.H=0};_.J(_.yP,qP);_.yP.prototype.max=function(){return Math.max(0,this.V-this.H)};_.yP.prototype.qU=function(){this.H<this.V&&this.KB()};_.yP.prototype.hoa=function(a){this.H+=a.length};_.yP.prototype.JGa=function(a){this.H-=a.length;this.H<this.V&&this.KB()};
_.zP=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.Ka=a;this.W=b;this.ka=new _.be(this);this.Pa(this.ka);this.H=c;for(a=0;a<c.length;a++)this.ka.listen(c[a],"Bb",this.ma);this.V=d;this.ta=e;for(c=0;c<e.length;c++)this.ka.listen(e[c],"Ab",function(k){tLc(h,!0,k.request)});this.Ma=_.Ox("drive.ds.network.queue.Queue [%s]",f);this.Ja=0;this.ha=new Map};_.J(_.zP,_.O);_.zP.prototype.add=function(a){return tLc(this,!1,{Jr:a,ek:_.Fh(),Eu:[]})};
_.zP.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?uLc(this,"Canceled ID "+a+" during execution."):c&&uLc(this,"Canceled ID "+a+" inside bucket.");return b||c};var tLc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.Eq(new _.pb,"No queue bucket accepted request."),_.Bh(_.MN(a));for(var d=vLc(a),e=0;e<a.H.length;e++)a.H[e].qU(d);return c.ek.promise};
_.zP.prototype.ma=function(){var a=vLc(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&&(uLc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),wLc(this,c))}};
var wLc=function(a,b){var c=String(a.Ja++);a.ha.set(c,b);for(var d=a.W.execute(b),e=0;e<b.length;e++)d[e].then(a.Ga.bind(a,b[e]),a.Ca.bind(a,b[e]));e=vLc(a);for(var f=0;f<a.H.length;f++)a.H[f].hoa(b,e);_.Gh(_.Eh(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.zP.prototype.Ga=function(a,b){var c=a.Jr.config;uLc(this,EIc(a.Jr.request)+" request completed successfully. xd4: "+!(!c||!c.AG));for(c=0;c<this.H.length;c++)this.H[c].IGa();a.ek.resolve(b)};
_.zP.prototype.Ca=function(a,b){b=_.MN(b);uLc(this,EIc(a.Jr.request)+(" request failed with error: "+b.W+"."));a.Eu.push({response:b,wmb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].HGa(a);a.Jr.config.Z$||!this.ta.some(function(d){return d.H(a)})?a.ek.reject(b):uLc(this,EIc(a.Jr.request)+" encountered an error, but was intercepted to be retried.")};_.zP.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].JGa(a)};
vLc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Lp.length){b=a.V[c].Lp.length;break}return b};uLc=function(a,b){a.Ka.info(a.Ma,b)};_.xLc=function(a,b,c,d){pP.call(this);this.V=_.D(a,21,1E3);this.ma=_.D(a,1,1);this.W=b;this.ka=c;this.ha=d};_.J(_.xLc,pP);
_.xLc.prototype.H=function(a){var b=a.Eu.length,c=0<b&&_.ba(a.Eu).response||null;if(c){c=_.kN(c);if(2==c.Kn()&&this.ka.Ef())return yLc(this,a,b);var d=c.Pi();if(3==d||31==d||13==d||9==d)return zLc(this,a,b);if(eIc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?(ALc(this,"Backoff number "+b+" for a User Rate Limit error."),MKc(this,a),a=!0):(ALc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var yLc=function(a,b,c){ALc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return MKc(a,b)},a.V);return!0},zLc=function(a,b,c){var d=a.ma;if(c<=d)return ALc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return MKc(a,b)},a.V*Math.pow(2,c)),!0;ALc(a,"Done retrying retriable requests after "+d+" retries.");return!1},ALc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},BLc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.lN()){var b=new FileReaderSync;return _.Ah(b.readAsDataURL(a))}var c=new _.Rob,d=tKc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return _.Bh(new _.Pob(e,"reading data"))}},CLc=function(a){return BLc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},DLc=function(a,b,c,d,e,f,h){this.Wa=a;this.ha=b;this.hb=c;this.ta=d;this.rb=e;this.jc=f;this.Ma=h;a=_.C(f.request,_.RJc,15);a=_.lN()&&a?_.z(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=0;this.Ga=this.Ka=
this.wa=null;this.W=_.Fh();this.ma=!1;this.Ja=h.requestId;this.ka="progress_"+this.Ja;h.Ipa=this.ka;this.Ca=this.Qa=0},ELc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
DLc.prototype.start=function(){var a=this,b=new yIc(this.jc.request,this.V,this.jc.metadata),c=FLc(this);this.Wa.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.S9a;a.Ka=d.Tib;a.Ga=d.FTa;GLc(a)},function(d){return void a.W.reject(d)});return _.Gh(this.W.promise.then(function(d){HLc(a,d);return d},function(d){d=_.MN(d);HLc(a,d.eg);return _.Bh(d)}),function(){KKc(a.ha,[a.ka])})};var FLc=function(a){var b=_.qf(a.Ma);JKc(a.ha,a.ka,$Jc(function(){return void a.ha.notify([a.Ja],0)}));return b};
DLc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(FIc(this.jc)),!0)};GLc=function(a){a.ma||(ELc(a,"Uploading chunk "+a.Ca+" for "+a.wa+"."),ILc(a,4))};
ILc=function(a,b){JLc(a).then(function(c){if(c){var d=KLc(a,c.H.size);if(d.Z$){var e=(new _.LO).Dc(8);a.W.resolve(e)}else a.Wa.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ca++;f.mB()&&(a.Ka=f.mB());f.eJ()&&(a.Ga=f.eJ());a.H<a.V?GLc(a):a.W.resolve(f)},function(f){var h=_.kN(f);h.Cka()||h.H8()?LLc(a,b,h,!1):CLc(c.H).then(function(k){k=k?_.oEa.get(k)||25:38;_.WM(h,k);k=38==h.Kn();var l=38!=h.Kn()&&25!=h.Kn();LLc(a,b,h,k,l)},function(){})})}else e=_.MN(_.WM(_.Eq(new _.pb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};LLc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.tha(f);!e&&0<b?(a.Qa++,d&&(a.ta=Math.max(262144*Math.floor(a.ta/262144/2),8388608)),setTimeout(function(){b--;ELc(a,"Retrying chunk "+a.Ca+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ta+" bytes "):"")+"for ")+(a.wa+"."));ILc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.MN(c))};
JLc=function(a){return MLc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new zIc(a.wa,b,a.V,a.H,a.H+b.size-1,a.jc.request.Sb(),_.z(a.jc.request,12)||void 0)})};MLc=function(a){var b=Math.min(a.V-a.H,a.ta),c=a.H,d=c+b;return a.jc.H?a.jc.H(c,b):_.Ah(_.wKc(a.jc.file,c,d))};KLc=function(a,b){var c=_.qf(a.Ma);c.Rva=!0;var d=a.H/a.V,e=b/a.V;KKc(a.ha,[a.ka]);JKc(a.ha,a.ka,function(f){a.ha.notify([a.Ja],d+e*f)});return c};
HLc=function(a,b){b.Kxa(3);b.tha(a.Qa);b.mB()||b.X1(a.Ka);b.eJ()||b.J1(a.Ga)};_.NLc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.NLc.prototype.create=function(a,b){return new DLc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.OLc=function(a){this.V=a;this.H={}};
_.OLc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Jr.request instanceof _.AIc)b.push(PLc(this,a[c].Jr));else{var d=_.Eq(new _.pb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(_.Bh(_.MN(d)))}return b};_.OLc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.OLc.prototype.HEa=function(){return!_.nf(this.H)};PLc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Gh(d,function(){delete a.H[e]})};
_.QLc=function(a,b){return new _.zP(b,a,[new qLc],[new _.xP],[],"immediate")};_.RLc=function(a,b,c,d,e,f,h){if(h){var k=new _.sLc(h.getState());d=new _.nLc(h)}else k=new _.PKc(c,d),d=new _.NKc(d);return new _.zP(f,a,[k,new _.rP(e,f),new rLc],[new _.xP],[d,new _.xLc(b,e,h?h.getState():c,f)],"connected")};
_.SLc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.D(b,10,50):l;if(h){var n=new _.sLc(h.getState());d=new _.nLc(h)}else n=new _.PKc(c,d),d=new _.NKc(d);return new _.zP(f,a,[n,new _.TKc(l,_.D(b,12,10)),new _.yP(3*l),new _.rP(e,f)],[new _.xP],[d,new _.xLc(b,e,h?h.getState():c,f)],k)};_.TLc=function(a,b,c){b=_.D(b,46,1);return new _.zP(c,a,[new _.yP(b)],[new _.xP],[],"resumable_upload")};
_.ULc=function(a,b,c,d,e,f,h,k){this.Ga=a;this.Ca=b;this.V=c;this.ma=d;this.wa=e;this.ka=f;this.ha=h;this.ta=k;this.W=null};_.ULc.prototype.H=function(a,b){var c=this,d=function(h){h=_.MN(h);var k=h.eg;GIc(a)||_.Gq(k);return _.Bh(h)};if(this.ha()&&(a instanceof _.XM&&_.OO(a.kd())||b&&b.job)){this.W||(this.W=_.Fh());var e=this.W.promise}var f=function(){return VLc(c,a,b).then(null,d)};return e?e.then(f):f()};
var VLc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ga.validate(b);if(d)return _.Bh(_.MN(d));d=a.Ca.V(b);return d instanceof _.pb?_.Bh(_.MN(d)):Array.isArray(d)?(d=d.map(function(e){return WLc(a,b,e,c)}),_.Eh(d)):WLc(a,b,d,c)},WLc=function(a,b,c,d){var e=XLc(a,c);if(!e)return b=_.WM(_.Eq(new _.pb,"Failed to choose a queue for server request."),18),_.Bh(_.MN(b));if(e===a.V[7]||e===a.V[8])d.AG=!0;d=e.add({request:c,config:d});(_.NO(b)||_.NO(c))&&_.Gh(d,function(){a.ha()||(a.ta(),a.W&&(a.W.resolve(),a.W=
null))});b=a.ma.apply(c,d);d.then(function(f){return a.wa.apply(c,f)},function(){});return b};_.ULc.prototype.cancel=function(a){return _.jf(this.V,function(b){return b.cancel(a)})};
XLc=function(a,b){var c=!1;b instanceof _.mo?c=!!_.E(b,7):b instanceof _.XM&&(c=(c=b.kd())&&!!_.E(c,46));return(b instanceof _.CIc||b instanceof _.MM&&_.E(b,9))&&a.V[1]?a.V[1]:b instanceof _.AIc&&a.V[5]?a.V[5]:c&&NIc(b,a.ka)&&a.V[7]?a.V[7]:NIc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.mo&&a.V[6]?a.V[6]:(c||mLc.includes(b.constructor))&&a.V[3]?a.V[3]:HIc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.YLc=function(a,b){this.H=a;this.V=_.zGc[_.D(a.nf(),8,0)];this.ha=_.zGc[_.D(a.nf(),51,5)];this.W=b;this.ka=_.qg()};
_.YLc.prototype.Jc=function(a,b){if(b.AG)ZLc(this,a,b),$Lc(this,a,b);else if(11==a.np){if(b.Tfb){var c=b.zaa||_.D(this.H.nf(),37,"");_.$i(a.uri,"key",c)}ZLc(this,a,b);aMc(this,a,b)}else switch(a.uri=bMc(this,a.np,a.uri),a.np){case 1:aMc(this,a,b);ZLc(this,a,b);break;case 0:_.A(this.H,83,!1)&&(b.sG||_.ZM(this.H.Se())||_.$i(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:aMc(this,a,b);$Lc(this,a,b);ZLc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:aMc(this,a,b);$Lc(this,a,b);break;
default:throw Error("hf`"+a.np);}};
var cMc=function(a,b){var c=bMc(a,b,new _.Qi);if(!c.H)throw Error("kf");return _.Ui(_.Ti(_.Si(_.Ri(new _.Qi,c.W),c.H),c.ha),_.NGc.has(b)?"/batch"+a.V:"/batch")},bMc=function(a,b,c){var d=_.z(a.H.nf(),57);switch(b){case 0:a=d+a.V;break;case 1:a=d+"/batch"+a.V;break;case 2:a=d+"/upload"+a.V;break;case 3:a=d+"/upload"+a.V+"/batch";break;case 4:return c;case 5:a=d+a.ha;break;case 7:a=_.D(a.H.nf(),62,"");break;case 8:a=_.z(a.H.nf(),53);break;case 9:a=_.z(a.H.nf(),56);break;case 10:a=_.z(a.H.nf(),22);break;
case 13:a=_.z(a.H.nf(),55);break;case 12:a=_.z(a.H.nf(),43);break;default:throw Error("hf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Qi(a);_.Nc(c,"/")&&(c=c.slice(1));return new _.Qi(a+"/"+c)},aMc=function(a,b,c){a=a.H.Se();c.sG||_.ZM(a)||(c=[{key:"u",value:_.gP(a)}],b.headers.authorization=_.FZb(c)||"",c=_.mN(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},ZLc=function(a,b,c){var d=a.H.Se(),e=a.H.nf(),f=c.Mmb||!!_.z(e,13);c=c.Nmb||_.A(e,14,!1);var h=11==b.np;
f&&((f=_.z(e,13))&&_.Nc(f,"email:")?_.$i(b.uri,"trace",f):f&&"trace:true"==f?_.$i(b.uri,"$trace","true"):f?_.$i(b.uri,"trace","token:"+f):_.$i(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.$i(b.uri,"trace.deb","genoa:3:all,driveService:3:all"+(2==_.D(e,9,2)?"":",cospel:3:all,DriveService:3:all")));c&&!h&&a.W&&a.W.W(b.headers,b.method,b.uri.toString())},$Lc=function(a,b,c){c.sG||_.ZM(a.H.Se())?_.$i(b.uri,"key",_.D(a.H.nf(),36,"")):(a=c.zaa||_.D(a.H.nf(),37,""),_.$i(b.uri,"key",
a))},dMc=function(a){this.H=a};dMc.prototype.build=function(a,b){var c="====="+_.qg()+"=====",d=a[0].np,e=b.every(function(l){return l.AG});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=cMc(this.H,a[0].np);_.$i(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.RGc[d],h=_.SGc[d]||{},h["content-type"]=_.Ox('multipart/mixed; boundary="%s"',c),d=_.PGc[d],k=new _.Qi("");a=eMc(this,a,b,c,e);return{np:f,body:a,headers:h,method:d,uri:k}};
var eMc=function(a,b,c,d,e){for(var f=pIc(_.VGc[b[0].np]||{}),h="",k=0;k<b.length;k++){e&&aMc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=bMc(n,q.np,q.uri);switch(q.np){case 0:case 5:$Lc(n,q,t);ZLc(n,q,t);break;case 2:aMc(n,q,t);$Lc(n,q,t);var v=q,y=_.z(n.H.nf(),57);v.headers.host=_.dj(y).H;v.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;ZLc(n,q,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("jf`"+q.np);default:throw Error("hf`"+
q.np);}n=l;q=n.uri.clone();_.Ri(q,"");_.Si(q,"");_.Ti(q,null);l=f+"\r\n"+(n.method+" "+q+" HTTP/1.1\r\n")+pIc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},fMc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,gMc=/^multipart\/mixed; boundary="?([^"]+)"?$/,hMc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.qb("Individual batch response contained too few parts.",_.WM(_.Fq(new _.pb,b),17));var f=e[1].split("\r\n");if(d=fMc.exec(f[0])){var h=_.tg(d[1]);
d=d[2]}else return new _.qb("Could not extract HTTP status code and text.",_.WM(_.Fq(new _.pb,b),16));f.shift();a=_.qf(a);Object.assign(a,qIc(f));try{var k=_.Cc(_.pg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.XEc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.MN(c):{headers:a,text:b,json:k||void 0}},iMc=function(){_.Ki.apply(this,arguments)};_.J(iMc,_.Ki);iMc.prototype.Qa=function(){return _.rga(_.Ki.prototype.Qa.call(this))};
var jMc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},kMc=function(a,b,c){try{a.ma.Jc(b,c);var d=new iMc;d.W=!0;var e=c.requestId||"",f=_.Fh();d.listen("complete",a.ta.bind(a,d,f,e,c.fla,4==b.np));e&&c.Ipa&&!c.AG&&(a.V[e]=d,a.H[e]=c,d.Xb=!0,d.listen("uploadprogress",(0,_.K)(a.ka,a,c)),c.Rva||d.listen("downloadprogress",(0,_.K)(a.ha,a,c)));d.send(b.uri,b.method,b.body,b.headers);return f.promise}catch(h){return _.Bh(_.MN(h))}};
jMc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.Ae()?(a.Z$=!0,b.abort(),!0):!1};jMc.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:PIc(a),text:_.Oi(a)};if(!d)try{c.json=_.Pi(a)}catch(f){}d=_.XEc(a.Gb(),_.pka(a),c.headers,c.text,c.json,a.V,_.ska(a),String(a.ka),e);a.dispose();d?b.reject(_.MN(d)):b.resolve(c)};
jMc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Ipa],a.Rva?b.loaded/b.total:b.loaded/b.total/2)};jMc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Ipa],b.loaded/b.total/2+.5)};var lMc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
lMc.prototype.add=function(a,b){var c="DEFAULT";b.AG&&(c=cMc(this.V,a.np).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.AG&&!_.RGc[a.np])return a=_.Eq(new _.pb,"Unsupported batch API: "+a.np),_.Bh(_.MN(a));var d=_.Fh();c.push({request:a,config:b,ek:d});return d.promise};
lMc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{mMc(a,b)}catch(f){var d=_.Fq(_.Eq(new _.pb,"Error executing XHR: "+f.message),f.stack),e=_.MN(d);b.forEach(function(h){h.ek.reject(e)});a.H.delete(c)}})};
mMc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.fla&&!c.config.AG){var d=!1;if(_.RGc[c.request.np]){var e={np:c.request.np,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Jc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.ek;kMc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}nMc(a,b)};
nMc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});kMc(a.W,a.ha.build(c,d),{fla:!0,AG:d.every(function(e){return e.AG})}).then(function(e){e.headers=_.UM(e.headers);var f=gMc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.qb("Could not extract batch boundary.",_.WM(_.Fq(new _.pb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Nc(_.rga(h[0]),f)&&_.Cc(h[1]))h=_.rga(h[0]).substring(f.length);else throw new _.qb("Could not parse batch response; did not begin and end with boundary.",
_.WM(_.Fq(new _.pb,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(hMc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.MN(e);return _.FEc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].ek,k=e[f];k instanceof _.pb||k instanceof _.qb?h.reject(_.MN(k)):h.resolve(k)}})};_.AP=function(a,b){_.jP(a)&&(b.supportsTeamDrives=!0)};
_.oMc=function(a){this.H=[].concat(_.nc(_.z(a,27)));this.V=new Set;var b=_.iIc(this.H,_.z(a,28));if(0<b.length)throw Error("lf`"+b.join(","));this.H.push(21);this.H.push(70);_.ZM(a.Se())||(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));_.jP(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();jIc(this.H)};_.BP=function(a){return[].concat(_.nc(a.H))};
pMc=function(a){return a instanceof _.XM||a instanceof _.IO||"undefined"!=typeof _.CP&&a instanceof _.CP||a instanceof _.AO||a instanceof _.cO||a instanceof _.WN||a instanceof _.$N||a instanceof _.pN&&_.NO(a)};_.qMc=function(a,b){this.V=b;this.H={};this.W=new cKc;b=_.ON({fields:_.z(a,28),lw:_.ZM(a.Se())});this.hc("SecondaryFields",b);this.hc("SdkBackfillEnabled",!!_.A(a,45,!1)+" (Include corpus cache: "+!!_.A(a,46,!1)+")")};_.qMc.prototype.hc=function(a,b){this.H[a]=_.rMc(a,b)};
sMc=function(a,b){var c=a.H[b];c||(c=_.rMc(b,0,2),a.H[b]=c);c.hc(String(Number(c.ub())+1))};_.rMc=function(a,b,c){var d=new _.vKc;_.x(d,1,a);_.x(d,4,c||1);d.hc(String(b));d.Bl(ZJc[a]);return d};
_.tMc=function(a,b,c){var d=new _.VEc;_.x(d,2,"Pending...");b instanceof _.XM?_.Pj(d,3,_.YM[0],b):b instanceof _.IO?_.Pj(d,4,_.YM[0],b):"undefined"!=typeof _.CP&&b instanceof _.CP?_.Pj(d,5,_.YM[0],b):b instanceof _.AO?_.Pj(d,6,_.YM[0],b):b instanceof _.cO?_.Pj(d,7,_.YM[0],b):b instanceof _.WN?_.Pj(d,8,_.YM[0],b):b instanceof _.$N?_.Pj(d,9,_.YM[0],b):b instanceof _.pN&&_.Pj(d,10,_.YM[0],b);var e=EIc(b),f=[];if(b instanceof _.SN)KO(f,"ID",b.getId()),KO(f,"Parent ID",b.Mj());else if(b instanceof _.cO)KO(f,
"TD ID",b.getId());else if(b instanceof _.XM)b=_.lLc(b.kd()),KO(f,"Query",b);else if(b instanceof _.IO)KO(f,"Query","All");else if(b instanceof _.AO)KO(f,"TD ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"Theme Image ID",_.z(b,3));else if(b instanceof _.WN)KO(f,"MimeType",b.Sb()),KO(f,"Title",b.getTitle()),KO(f,"Parents",_.z(b,3)),KO(f,"Convert",_.E(b,8)),KO(f,"Request ID",_.kP(b)),KO(f,"Parent Request IDs",_.z(b,10)),KO(f,"Revision Item ID",_.z(b,12)),KO(f,"Pinned",_.E(b,8));else if(b instanceof
_.XN)KO(f,"Title",b.getTitle());else if(b instanceof _.$N)KO(f,"ID",b.getId());else if(b instanceof _.dO)KO(f,"WS ID",b.getId());else if(b instanceof _.pN){if(KO(f,"ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"Description",b.Uf()),KO(f,"Starred",_.E(b,4)),KO(f,"Trashed",b.Bh()),KO(f,"MimeType",b.Sb()),KO(f,"Parents",_.z(b,8)),KO(f,"Parents to add",_.z(b,9)),KO(f,"Parents to remove",_.z(b,10)),KO(f,"Restricted",_.E(b,11)),KO(f,"Folder Color",b.$h()),KO(f,"Update Last Viewed",_.E(b,15)),KO(f,"Subscribed",
_.E(b,16)),KO(f,"Available Offline",b.Tp()),KO(f,"Wksp to add",_.z(b,31)),KO(f,"Wksp to remove",_.z(b,32)),b=_.C(b,_.Bk,25))KO(f,"Read Only",_.E(b,1)),KO(f,"Reason",_.z(b,2))}else b instanceof _.BO?(KO(f,"WS ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"State",b.getState())):b instanceof _.EO&&KO(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.uMc=function(a,b){for(var c=new _.vp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+aKc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};vMc=[0,2,4,7,8];_.wMc=function(a,b,c,d,e,f,h){this.W=a;this.Ca=b;this.Ga=c;this.wa=d;this.ta=e;this.ha=f;this.H=h;this.ma=new dMc(this.W);this.ka=new jMc(this.W,this.Ca);this.V=[]};_.g=_.wMc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].Jr;this.V.push(f);c.push(xMc(this.Ga,f,a[e].Eu));d.push(pMc(f.request)?_.tMc(this.ta,f.request):void 0)}if(this.H&&this.H.H){var h=_.Bh(_.MN(_.XEc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new lMc(this.W,this.ka,this.ma);e=[];for(f=0;f<a.length;f++){var l=c[f].then(function(q,t){var v=k.add(t,q);v.then(b.mfb.bind(b,t.np,q.sG),function(){});return v}.bind(this,a[f].Jr.config));e.push(l)}_.Eh(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].Jr;var n=e[f].then(this.TSa.bind(this,l.request,d[f],a[f].Eu)).Xf(function(q){return _.Bh(_.MN(q))});_.Gh(n,this.T9a.bind(this,l));c.push(n)}return c};_.g.TSa=function(a,b,c,d){a=_.yMc(this.wa,a,d,c);b&&_.uMc(b,a.Bd?a.Bd():[]);return a};_.g.mfb=function(a,b){a=!b&&_.ia(vMc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.qc.isConnected()||a)c=oLc(b,c),a&&c&&_.zMc(b)}else this.ha&&a&&this.ha.Ca()};_.g.cancel=function(a){return this.ka.cancel(a)};_.g.HEa=function(){return this.V.some(function(a){return _.NO(a.request)})};
_.g.T9a=function(a){_.oa(this.V,a)};_.DP=function(a,b){if(!_.wa(b))throw new _.qb("Expected an object, but got a "+_.pea(b)+".",_.KN(11,void 0,8));var c=b.kind;if(!c)throw new _.qb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.KN(11,void 0,21));if(!a.includes(c))throw new _.qb("Expected "+a.join(" or ")+" but got a "+c+".",_.KN(11,void 0,9));};AMc=function(a,b){this.H=a;this.V=b};
_.EP=function(a,b){_.DP(["drive#user"],b);var c=_.RIc(1).kc(b.permissionId);c=_.x(c,11,b.id);c=_.TIc(c.zd(b.displayName),b.emailAddress);b.picture&&c.Gs(b.picture.url);_.oN(a.H)&&_.TIc(c,b.emailAddressFromAccount||b.emailAddress);_.SIc(c,a.Cf(b.permissionId,b.id));_.x(c,9,b.domain);return c};AMc.prototype.Cf=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.gP(this.H.Se())==b};_.FP=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.BMc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.UIc(new _.yk,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);b=_.eJc(_.$Ic(_.fJc(_.gJc(_.hJc(_.dJc(_.cJc(_.ZIc(_.YIc(_.XIc(_.WIc(_.VIc(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=_.x(b,13,a.canRenameTeamDrive);b=_.iJc(_.bJc(_.aJc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.lJc(_.kJc(_.jJc(_.x(b,30,a.canMoveItemWithinTeamDrive),a.canMoveItemOutOfTeamDrive),a.canMoveChildrenWithinTeamDrive),a.canMoveChildrenOutOfTeamDrive);b=_.x(b,34,a.canDeleteChildren);b=_.x(b,35,a.canTrashChildren);b=_.x(b,36,a.canRequestApproval);b=_.x(b,37,a.canReadCategoryMetadata);b=_.x(b,38,a.canEditCategoryMetadata);b=_.x(b,39,a.canChangeCategoryReferences);b=_.x(b,49,a.canSetMissingRequiredFields);
b=_.x(b,40,a.canAddMyDriveParent);b=_.x(b,41,a.canRemoveMyDriveParent);b=_.nJc(_.mJc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.qJc(_.pJc(_.oJc(_.x(b,45,a.canMoveItemWithinDrive),a.canMoveItemOutOfDrive),a.canMoveChildrenWithinDrive),a.canAddFolderFromAnotherDrive);b=_.x(b,50,a.canChangeSecurityUpdateEnabled);b=_.x(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.x(b,52,a.canCreateDecryptedCopy);return _.x(b,53,a.canCreateEncryptedCopy)};
CMc={anyone:4,audience:5,domain:3,group:2,user:1};DMc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};EMc={docs:1,sheets:2,slides:3};FMc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};GMc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};HMc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};IMc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};JMc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};KMc={ok:1,notFound:2,permissionDenied:3};LMc={unencrypted:1,encrypted:2};MMc={unset:0,"default":1,small:2,size16kb:3};
NMc=function(a,b){this.H=a;this.V=b};
_.QMc=function(a,b,c){var d=new _.nP;a=(new _.kC).Cw(OMc(a,b));a=_.x(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.DP(["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 q=k[n];var t=(new _.jC).Dc(GMc[q.status]);t=_.x(t,1,q.original);q=_.x(t,3,q.correction);l.push(q)}k=new _.amb;l=_.Qj(k,1,l);f.push(l)}h=new _.cmb;_.Qj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.Zlb;
_.x(v,1,f||[])}h||v?(f=new _.dmb,h&&_.R(f,1,h),v&&_.R(f,2,v),v=f):v=null;_.R(a,7,v);_.QJc(a,PMc(b))}d=_.xKc(d,a);c=_.SEc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
TMc=function(a,b,c,d,e){_.DP(["drive#adminFile","drive#file","drive#revision"],b);var f=_.mP(new _.LO,c);"drive#adminFile"==b.kind?(_.DP(["drive#adminFile"],b),c=(new _.Ek).kc(b.id),b.parentId&&_.XO(c,[b.parentId]),_.DJc(c,b.teamDriveId),f.setItem(c),_.mP(f,c.getId())):"drive#file"==b.kind?(b=_.RMc(a,b),f.setItem(b),c||_.mP(f,b.getId())):"drive#revision"==b.kind&&(b=_.SMc(a,b),_.R(f,4,b));f.X1(_.REc(d));f.J1(_.SEc(d));(d=(d=d&&_.UM(d))&&d["x-server-object-version"])&&e&&(e=(new _.lP).kc(d),_.R(f,
4,e));f.Dc(1);return f};_.GP=function(a,b){return _.mP(new _.LO,a).Dc(1).X1(_.REc(b)).J1(_.SEc(b))};_.VMc=function(a,b,c,d){d||_.DP(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.UMc(a,b[c],d);f&&e.push(f)}return e};
_.UMc=function(a,b,c){c||_.DP(["drive#permission"],b);c=_.RIc(CMc[b.type]).kc(b.id);c=_.x(c,11,b.userId);c=_.SIc(c,a.H.Cf(b.id,b.userId));c=_.x(c,4,b.withLink);c=_.TIc(c.zd(b.name).Gs(b.photoLink),b.emailAddress);c=_.x(c,9,b.domain);c=_.x(c,10,b.deleted);c=_.x(c,12,b.audienceId);c=_.x(c,13,b.customerId);c.getId()||c.kc(b.type+"|"+(b.domain||"")+"|"+b.withLink);_.oN(a.V)&&c.zd(b.nameIfNotUser);a=DMc[b.role];2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=
6);_.x(c,6,a);return c};OMc=function(a,b){_.DP(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.RMc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.RMc(a,b[d]);c.push(e)}}return c};
_.RMc=function(a,b){_.DP(["drive#file"],b);var c=_.BJc(_.xJc(_.NM(_.XO((new _.Ek).kc(b.id),WMc(b)).setTitle(b.title),b.mimeType),b.alternateLink),b.hasThumbnail);null!=b.thumbnailVersion&&_.x(c,90,Number(b.thumbnailVersion));_.x(c,21,b.iconLink);c.Bl(b.description);_.yJc(c,b.explicitlyTrashed);_.x(c,22,b.shared);null!=b.quotaBytesUsed&&_.x(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.x(c,14,Number(b.fileSize));_.x(c,30,b.copyable);if(b.labels){var d=b.labels;c.Uq(d.starred);_.x(c,6,d.hidden);
c.yn(d.trashed);_.wJc(c,d.restricted);_.x(c,9,d.viewed)}_.x(c,10,_.FP(b.createdDate));_.x(c,69,_.FP(b.serverCreatedDate));_.GEc(c,_.FP(b.modifiedDate));_.x(c,12,_.FP(b.modifiedByMeDate));_.x(c,13,_.FP(b.lastViewedByMeDate));_.x(c,23,_.FP(b.sharedWithMeDate));_.x(c,62,_.FP(b.subscribedDate));_.x(c,70,_.FP(b.recency));b.recencyReason&&_.x(c,71,FMc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.EP(a.H,e[f]);h&&d.push(h)}_.YO(c,d);b.lastModifyingUser&&(d=_.EP(a.H,
b.lastModifyingUser),_.ZO(c,d));b.userPermission&&_.OM(c,DMc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.TO,e=_.x(e,2,d.width).Wf(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.DGc,f.setMilliseconds(0),_.$Gc.parse(d,f),_.x(e,1,f.getTime())),_.R(c,27,e));null!=b.folderColor&&_.AJc(c,Number(b.folderColor));_.zJc(c,b.subscribed);_.x(c,45,b.fileExtension);_.x(c,50,b.folderFeatures||[]);_.x(c,36,b.flaggedForAbuse);_.x(c,53,b.gplusMedia);_.x(c,46,b.primarySyncParentId||
void 0);_.x(c,35,b.hasChildFolders);b.source&&(_.x(c,42,b.source.client_service_id),_.x(c,43,b.source.value));b.sharingUser&&(d=_.EP(a.H,b.sharingUser),_.R(c,47,d));b.sources?_.x(c,56,b.sources||[]):b.gplusMedia&&_.x(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.DEc[h]&&(h=_.le(new _.ke,_.DEc[h]),e.push(h));c.eC(e)}_.x(c,63,b.ownedByMe);_.x(c,29,b.shareable);b.sourceAppId&&_.x(c,61,b.sourceAppId);_.x(c,74,b.changed);null!=b.recursiveFileSize&&_.x(c,77,Number(b.recursiveFileSize));
null!=b.recursiveFileCount&&_.x(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++)if(h=d[f],h.id&&h.type){var k=(new _.Jma).kc(h.id);h=_.x(k,2,HMc[h.type]);e.push(h)}_.Qj(c,83,e)}b.capabilities&&c.xn(_.BMc(b.capabilities));b.permissionsSummary&&_.EJc(c,_.XMc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.VO).Bl(d.description),e=_.x(e,3,IMc[d.galleryState]),d=_.x(e,2,d.category||[]),_.R(c,
86,d));_.DJc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.EP(a.H,b.creator),_.R(c,91,d));_.FJc(c,b.primaryDomainName);_.GJc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.EP(a.H,b.trashingUser),_.R(c,95,d));_.x(c,96,_.FP(b.trashedDate));b.version&&_.x(c,75,Number(b.version));_.x(c,98,b.hasVisitorPermissions);_.x(c,102,b.hasAppsScriptAddOn);(d=b.pairedDocType)&&_.x(c,101,EMc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.WO,e=_.x(e,1,d.width).Wf(d.height),d.durationMillis&&_.x(e,3,Number(d.durationMillis)),_.R(c,103,e));_.x(c,104,b.detectors||[]);_.x(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.u(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,f=_.rJc(_.SO(new _.Bk,f.readOnly),f.reason),d.push(f);_.Qj(c,125,d)}if(d=b.publishingInfo)_.x(c,118,d.published),_.x(c,119,d.publishedUrl);_.x(c,120,b.workspaceIds||[]);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&
_.x(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.u(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.xk).kc(f.approvalId).Dc(JMc[f.status]),d.push(f);_.Qj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Sma,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.x(e,4,KMc[d.targetLookupStatus]||0),d.targetFile&&(d=_.RMc(a,d.targetFile),
_.R(e,5,d)),_.R(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.QO,e=_.x(e,1,LMc[d.encryptionState]),d.decryptionMetadata&&(d=YMc(d.decryptionMetadata),_.R(e,2,d)),_.R(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.UO,e=_.x(e,2,d.securityUpdateEligible),d=_.x(e,3,d.securityUpdateEnabled),_.R(c,139,d));_.x(c,140,b.resourceKey);_.x(c,135,b.authorizedAppIds||[]);_.x(c,136,b.customerId);_.mIc(c);_.oN(a.V)&&_.CJc(c,5);return c};
WMc=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};_.SMc=function(a,b){_.DP(["drive#revision"],b);var c=(new _.lP).kc(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.FP(b.modifiedDate));c=_.x(c,4,b.pinned);c=_.x(c,5,b.downloadUrl);c=_.x(c,7,b.originalFilename);null!=b.fileSize&&_.x(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.EP(a.H,b.lastModifyingUser),_.R(c,9,a));b.decryptionMetadata&&(b=YMc(b.decryptionMetadata),_.R(c,10,b));return c};
_.XMc=function(a,b){a=_.uJc(_.tJc(_.sJc(new _.Mma,b.entryCount),_.VMc(a,b,"visibility",!0)),_.VMc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};YMc=function(a){var b=a.wrappedKey;var c=new _.RO;b=b?_.bKc(b):void 0;c=_.x(c,1,b);c=_.x(c,2,Number(a.kaclsId));c=_.x(c,5,a.kaclsName);c=_.x(c,3,MMc[a.aes256GcmChunkSize]);return _.x(c,4,a.jwt)};
PMc=function(a){_.DP(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};ZMc=function(a,b){b=Object.entries(b);return 0==b.length?a:a+"?"+b.map(function(c){var d=_.u(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")};
$Mc=function(a,b,c){c=void 0===c?!1:c;var d=_.E(a,44),e=a.mf();if(c&&e){if(1!=_.hd(e))return null;d=(d=_.cd(e))?_.E(d,44):!0}if(!d)return null;d={};e=a.getId();_.PN(a)&&c&&(e=nIc(a));c=[_.D(b,65,"https://lh3.google.com"),"u",_.mN(b.Se()),"d",e].join("/");c+="={size}";_.PO(b)&&a.EN()&&(d.resourcekey=_.Kk(a));return c=ZMc(c,d)};_.aNc=function(a){this.H=a};
_.dNc=function(a,b,c){bNc(a,b,c);c.includes(18)&&_.xJc(b,OIc(b,a.H,a.H.Xp()));if(c.includes(19)){var d=$Mc(b,a.H,a.H.Xp());_.x(b,20,d)}cNc(a,b,c);if(a.H.Xp()&&_.PN(b)){if(d=(d=b.mf())&&_.cd(d)){bNc(a,d,c);c.includes(18)&&_.xJc(d,OIc(d,a.H,a.H.Xp()));if(c.includes(19)){var e=$Mc(d,a.H,a.H.Xp());_.x(d,20,e)}cNc(a,d,c)}_.BJc(b,!!b.Ah())}};
bNc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.A(a.H,75,!1);a=a.H.Xp();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Sb();a&&_.PN(b)&&(d=(a=b.mf())?_.z(a,3):"");_.QN(b)&&(b.$h()&&(d+="+"+String(b.$h())),b.Wi()&&(d+="+shared"));_.x(b,21,_.wZa(d,c?"32":"16"))}};
cNc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Sb();e&&(e=!_.QN(b)&&!_.PN(b)&&!_.Mc(e)&&(!b.BX()||2!=b.xm()),d&&_.x(b,40,e),e&&c&&(d=a.H,c=a.H.Xp(),c=void 0===c?!1:c,a=b.getId(),_.PN(b)&&c&&(a=nIc(b)),c=new _.Qi(_.D(d,16,"")+"/uc"),_.$i(c,"id",a),_.$i(c,"authuser",_.mN(d.Se())),_.$i(c,"export","download"),_.PO(d)&&b.EN()&&_.$i(c,"resourcekey",_.Kk(b)),_.x(b,41,c.toString())))}};_.eNc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new AMc(b,d);this.nA=new NMc(this.ka,b)};
_.yMc=function(a,b,c,d){d=void 0===d?[]:d;try{return fNc(a,b,c,d)}catch(e){_.NN(e)}};
fNc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.WN)return _.HP(a,b,c);if(b instanceof _.eO)return"base64"==c.headers["x-goog-safety-encoding"]?new XKc(_.raa(c.text),d.length):new XKc(new Uint8Array(_.Hka(c.text)),d.length);if(b instanceof _.mo){if(!c.json)throw _.IP();return _.QMc(a.nA,c.json,c.headers)}if(b instanceof _.HO)return _.HP(a,b,c);if("undefined"!=typeof _.FO&&b instanceof _.FO){if(!c.json)throw _.IP();a=c.json;return new _.VKc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.gNc&&b instanceof _.gNc){if(!c.json)throw _.IP();return _.SMc(a.nA,c.json)}if(b instanceof zIc){if(b.V==b.ha-1){if(!c.json)throw _.IP();b=TMc(a.nA,c.json,null,c.headers,!!b.Et);_.dNc(a.V,b.getItem(),_.BP(a.H));a=b}else a=_.GP(null,c.headers);return a}if(b instanceof yIc){a=_.UM(c.headers);b=a.location;if(!b)throw a=_.WM(new _.pb,10),new _.qb("No upload session URI included.",a);return new WKc(b,_.REc(a),_.SEc(a))}throw new _.qb("FromXhrConverter: Unsupported request type.",
new _.pb);};_.eNc.prototype.ma=function(){return null};_.HP=function(a,b,c){if(!c.json){if(b instanceof _.pN)return _.GP(_.JP(b));throw _.IP();}var d=!1;b instanceof _.HO&&(d=!!_.z(b.request,12));b=TMc(a.nA,c.json,_.JP(b),c.headers,d);b.getItem()&&_.dNc(a.V,b.getItem(),_.BP(a.H));return b};_.IP=function(){var a=_.WM(new _.pb,11);return new _.qb("FromXhrConverter: JSON required, but none found",a)};_.JP=function(a){return a.getId?a.getId():a.Hc?a.Hc():null};
_.hNc=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)}}};
iNc=function(a,b){var c={};_.Cc(_.pg(a.getTitle()))||(_.z(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Sb()&&(c.mimeType=a.Sb(),a.Hc()&&_.yda(a.Sb())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.hj(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.dHc[d?d.V():0],f);c.clientEncryptionDetails=e}_.hNc(c,_.z(a,3));(b=a.Hc())&&(c.id=b);_.z(a,16)&&(c.embeddingParent=_.z(a,16));_.z(a,21)&&(c.shortcutDetails={},c.shortcutDetails.targetId=_.z(a,
21));"number"===typeof _.z(a,26)&&(c.modifiedDate=_.PJc(_.YKc(_.z(a,26)||0)));return c};
jNc=function(a,b,c){var d=!!_.z(a.request,12),e="files";d&&(e+="/"+_.z(a.request,12));e=new _.Qi(e);_.$i(e,"uploadType","multipart");_.$i(e,"supportsTeamDrives",!0);_.$i(e,"pinned",!!a.request.ms());null!=_.E(a.request,8)&&_.$i(e,"convert",_.E(a.request,8));_.$i(e,"fields",_.hIc({fields:_.BP(b).filter(function(n){return 194!=n}),lw:!1}));oIc(e,a.request.oe());var f=iNc(a.request,a.metadata),h=_.qg();b={};b=(b["content-type"]=_.Ox('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.Sb()&&(l["content-type"]=a.request.Sb());a="--"+h;a=a+"\r\n"+pIc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+pIc(l)+"\r\n"+c+"\r\n"+a+"--";return{np:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};kNc=function(a){if(a instanceof _.Pob){var b=new _.pb;_.Eq(b,"fs.Error: "+a.message);a=(a=a.name)?_.oEa.get(a)||25:38;_.WM(b,a);a=_.MN(b)}return _.Bh(a)};
lNc=function(a,b){return BLc(a.file).then(function(c){return jNc(a,b,c)},kNc)};_.mNc=function(a,b){this.V=(_.Oj(a,_.Sk,91)||[]).reduce(function(c,d){var e=d.getId();if(null!=e){d=_.z(d,2);if(c[e]&&c[e]!=d)throw new _.qb("Multiple resource key definitions found for initial item "+e);c[e]=d}return c},{});this.H=b};nNc=function(a,b){return[].concat(_.nc(new Set(b))).map(function(c){var d=(new _.Sk).kc(c);a.V[c]?_.Tk(d,a.V[c]):a.H&&(c=a.H.H(c))&&_.Tk(d,_.Kk(c));return d}).filter(function(c){return c.EN()})};
_.oNc=function(a){var b=_.WM(new _.pb,4);throw new _.qb("ToXhrConverter: Unsupported request type: "+EIc(a),b);};_.KP=function(a,b,c,d){this.H=a;this.ha=c;this.ka=d};xMc=function(a,b,c){try{return b.request instanceof _.HO?lNc(b.request,a.ha):_.Ah(a.W(b.request,b.config,c))}catch(d){return d instanceof _.qb?a=d.eg:(a=new _.pb,_.Eq(a,"Error converting XHR: "+d.message),_.Fq(a,d.stack),_.WM(a,4)),_.Bh(a)}};
_.KP.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.WN){h=(e=!!_.z(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.z(a,12),k.pinned=!!a.ms());null!=_.E(a,8)&&(k.convert=_.E(a,8));k.fields=_.hIc({fields:this.Gg(c),lw:_.ZM(this.H.Se()),GI:_.oN(this.H)});e=iNc(a);f["content-type"]="application/json";var q=a.oe();l=!0;_.AP(this.H,k);_.pNc(this.H,k);_.PO(this.H)&&(b=_.Oj(a,_.Sk,28),b.length?_.qNc(b,f):(a=_.z(a,3).concat([_.z(a,16),_.z(a,21),a.Hc()]),_.LP(this,a,f)))}else if(a instanceof
_.eO)n="files/"+a.getId(),_.z(a,2)&&(k.revisionId=_.z(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.PO(this.H)&&(a.EN()?_.qNc([_.Tk((new _.Sk).kc(a.getId()),_.z(a,3))],f):_.LP(this,[a.getId()],f)),l=!0;else if(a instanceof _.mo)l=a.Kl()[0],n="files/"+l,q=_.qa(this.Gg(c),this.Gg(c,a.Sh())),_.ya(q),k.fields=_.hIc({fields:q,lw:_.ZM(this.H.Se()),GI:_.oN(this.H)}),_.AP(this.H,k),_.rNc(this.H,k),_.sNc(this.H,k),this.V(l,k),q=a.oe(),l=!0,_.E(a,7)&&(b.fla=!0),_.PO(this.H)&&(b=_.Oj(a,
_.Sk,11),b.length?_.qNc(b,f):_.LP(this,a.Kl(),f));else if("undefined"!=typeof _.FO&&a instanceof _.FO)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.gNc&&a instanceof _.gNc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt)",n="files/"+a.id+"/revisions/"+a.Et,l=!0;else if(a instanceof zIc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=
_.Ox("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof yIc?(d=2,h=(e=!!_.z(a.request,12))?"PUT":"POST",n="files",e&&(n+="/"+_.z(a.request,12)),k.uploadType="resumable",k.pinned=!!a.request.ms(),null!=_.E(a.request,8)&&(k.convert=_.E(a.request,8)),k.fields=_.hIc({fields:this.Gg(c).filter(function(v){return 194!=v}),lw:_.ZM(this.H.Se()),GI:_.oN(this.H)}),_.AP(this.H,k),e=iNc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,null!=a.request.Sb()&&
(f["x-upload-content-type"]=a.request.Sb()),_.PO(this.H)&&_.LP(this,_.z(a.request,3),f),q=a.request.oe(),l=!0):a instanceof _.CIc?(n="about",k.fields="kind",q=a.H,l=!0):_.oNc(a);l&&_.tNc(c,k);return _.uNc(d,n,k,f,h,q,e,t)};_.uNc=function(a,b,c,d,e,f,h,k){b=new _.Qi(b);[10,12,13].includes(a)||oIc(b,f);c=_.u(Object.entries(c));for(f=c.next();!f.done;f=c.next()){var l=_.u(f.value);f=l.next().value;l=l.next().value;_.aj(b,f,l)}return{np:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};
_.rNc=function(a,b){_.A(a.nf(),23,!1)&&(b.includePermissionsForView="published")};_.KP.prototype.V=function(){};_.sNc=function(a,b){_.A(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.pNc=function(a,b){_.A(a,3,!1)&&(b.enforceSingleParent=!0)};_.tNc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).wmb):b.retryCount=0};_.KP.prototype.Gg=function(a,b){b||(b=_.BP(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return sKc.includes(c)}));return b};
_.LP=function(a,b,c){b&&b.length&&(a=nNc(a.ka,b),_.qNc(a,c))};_.qNc=function(a,b){a.length&&(a=_.lib(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};_.vNc=function(a,b){_.QH.call(this,a?a:500,b?b:6E5)};_.J(_.vNc,_.QH);var wNc=function(){_.Rp.call(this);this.ha=this.W=null};_.J(wNc,_.Rp);wNc.prototype.V=function(){(0,this.ha)()};xNc=function(a,b){a.ha||(a.ha=b)};_.MP=function(a){if(!a.W){a.W=new rKc;var b=_.Tp(a);_.R(b,56,a.W)}return a.W};
yNc=function(a){var b=_.MP(a).getState();b||(b=new kKc,_.MP(a).Td(b));return b};zNc=function(a,b){var c=new iKc;_.x(c,1,b);a=_.Tp(a);_.R(a,12,c)};wNc.prototype.ma=function(){var a=_.C(_.MP(this),mKc,4);if(!a){a=new mKc;var b=_.MP(this);_.R(b,4,a)}return a};ANc=function(a){var b=_.C(_.MP(a),nKc,8);b||(b=new nKc,a=_.MP(a),_.R(a,8,b));return b};_.BNc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.O.call(this);this.Ug=b?1:a;this.k$=!1;this.QG=b};_.J(_.BNc,_.O);_.g=_.BNc.prototype;
_.g.isConnected=function(){return!this.k$&&1==this.Ug};_.g.Pl=function(){return 1==this.Ug||2==this.Ug};_.g.Ef=function(){return 3==this.Ug};_.g.get=function(){return this.Ug};_.g.update=function(a){if(this.QG)return!1;if(this.Ug!=a||this.k$&&1==a){var b;2==a?b=3==this.Ug?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new DKc(b),this.Ug=a,this.k$=!1,this.dispatchEvent(b),!0}return!1};CNc=function(a,b){this.W=a;this.V=b;this.H=null};
GNc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return DNc(a,function(c){return c.count().then(function(d){return 1E3>d?ENc(a,c,b):FNc(a,Error("mf"))},function(d){return FNc(a,d)})},"readwrite")};ENc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.E6a=c.Wd(),d)).then(null,function(e){FNc(a,e)})};
HNc=function(a){return new _.zh(function(b){var c=new Map;DNc(a,function(d){return WJc(d.getIndex("userId"),a.W).then(function(e){e=new Map(e.map(function(l){return[l,d.get(l)]}));for(var f={},h=_.u(e),k=h.next();!k.done;f={wda:f.wda},k=h.next())k=_.u(k.value),f.wda=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.wda,new _.hza(n.E6a))}}(f));return _.Eh([].concat(_.nc(e.values()))).then(function(){return b(c)})})})})};
INc=function(a,b){return DNc(a,function(c){return c.remove(b)},"readwrite")};DNc=function(a,b,c){c=void 0===c?"readonly":c;return JNc(a).then(function(d){try{var e=_.gN(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return FNc(a,f)}},function(d){return FNc(a,d)})};
JNc=function(a){return a.H?_.Ah(a.H):_.BFc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.XJc(c,"OfflineImpressions");_.vFc(_.zFc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return FNc(a,Error("nf"))}).then(function(b){return a.H=b},function(b){return _.Bh(_.LN(b))})};FNc=function(a,b){b||(b=Error("of"));_.oP(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Ah()};
_.KNc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.O.call(this);this.Xw=b?!1:a;this.yla=null;this.QG=b};_.J(_.KNc,_.O);_.KNc.prototype.Ef=function(){return this.Xw};_.KNc.prototype.Xk=function(a){var b=this.Xw!=a;!this.QG&&b&&(this.Xw=a,this.dispatchEvent(new OKc(a)))};_.KNc.prototype.zA=function(a){this.yla=a};
var MNc=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ha=a;this.W=b;this.Ug=c;this.V=d;this.Mb=new _.be(this);this.Mb.listen(b,"Cb",function(k){k.Ef()||LNc(h)});this.Mb.listen(c,["wb","yb"],function(){return void LNc(h)});this.ka=e;f.then(function(){return LNc(h)})};_.J(MNc,_.O);MNc.prototype.H=function(a){return(this.W.Ef()||this.Ug.Ef())&&this.W.yla?GNc(this.V,a):this.ha.H(a)};
var LNc=function(a){return a.W.yla?HNc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return NNc(a,d)},function(){return ONc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},NNc=function(a,b){ONc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return INc(a.V,b).then(function(){ONc(a,"Removed offline impression batch "+b+".")},function(){ONc(a,"Unable to remove offline impression batch "+b+".")})},ONc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},PNc=function(){};PNc.prototype.bJ=function(){return new wNc};var QNc=function(){this.H=new hKc};QNc.prototype.V=function(a){_.R(a,13,this.H)};QNc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};SNc=function(a,b,c,d){this.Ga=_.NP(_.kHc,_.hP(a));this.ma=_.NP(_.oHc,_.D(a.nf(),8,0));this.W=_.NP(_.lHc,_.D(a.nf(),9,2));this.ta=_.A(a,10,!1);this.Ja=_.ZM(a.Se());this.wa=_.iP(a);this.ha=RNc(a);this.Ca=a.Ji();this.V=this.H=null;this.Ka=b;this.Ug=c;this.ka=d};
RNc=function(a){var b=[].concat(_.nc(_.hHc.keys())),c=[].concat(_.nc(_.iHc.keys())),d=_.nN(a);return b.filter(function(e){return _.hHc.get(e)(a)}).concat(c.filter(function(e){return d&&_.iHc.get(e)(d)}))};_.NP=function(a,b){a=_.u(a);for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};TNc=function(a){if(a.V)return a.V.H("aU7Ts")};
SNc.prototype.Gb=function(a){return a instanceof _.kC||"undefined"!=typeof _.OP&&a instanceof _.OP||"undefined"!=typeof _.PP&&a instanceof _.PP||"undefined"!=typeof _.QP&&a instanceof _.QP?a.Gb():"undefined"!=typeof _.RP&&a instanceof _.RP||"undefined"!=typeof _.SP&&a instanceof _.SP||"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP?a.response?a.response.Gb():null:null};SNc.prototype.Ji=function(){return this.Ca};
var UNc=function(a){return a.Ka.Ef()||a.Ug.Ef()?2:1};SNc.prototype.getEnvironment=function(){return this.ka};var VNc=function(a,b){this.H=a;var c=new _.wya;_.xya(c,b.ha);a=this.H.KG();var d=_.oGc(a);_.R(d,10,c);(c=b.Ji())&&_.nGc(a,c);this.H.cU();this.V=b};VNc.prototype.isRunning=function(){return this.H.EO()};
_.WNc=function(a,b,c){var d=_.Sp(a.H.OD(b,c),_.eHc);zNc(d,UNc(a.V));b=TNc(a.V);"boolean"===typeof b&&lKc(yNc(d),b);xNc(d,function(){1==c&&a.H.FF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=yNc(d);_.x(f,1,e);a.H.gp(d)});return d};XNc=function(a){var b=new _.JCa;var c=new QNc;_.x(c.H,1,a.Ga);_.x(c.H,3,a.ma);_.x(c.H,4,a.W);_.x(c.H,5,a.ta);_.x(c.H,6,a.Ja);_.x(c.H,7,a.wa);a=c.setEnvironment(a.getEnvironment());_.OJc(b,_.fHc,a);_.Vp(b,_.eHc,new PNc);return b};
YNc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.VH(906,b,void 0,_.lN());l.ha=!1;var n=new _.CFc(l);b=new Date;l=_.tGc(_.sGc(_.rGc(YJc(),new _.DFc(l)),XNc(c)),109).setSessionId(b.getTime()+"_"+_.qg());if(k){a=new MNc(n,d,e,new CNc(a,f),f,h);_.qGc(l,a);d=l.build();_.mGc(d.KG(),1E3*b.getTime());var q=new VNc(d,c);(new _.be).listen(a,"Db",function(){_.WNc(q,106008,0).V()});return q}_.qGc(l,n);a=l.build();_.mGc(a.KG(),1E3*b.getTime());return new VNc(a,c)};
ZNc=function(a,b){this.V=a;this.ha=b};ZNc.prototype.H=function(a){this.V&&_.$Nc(this)&&_.WNc(this.V,a,0).V()};ZNc.prototype.W=function(a){return this.V&&_.$Nc(this)?_.WNc(this.V,a,1):null};_.$Nc=function(a){return!(!a.V||!a.V.isRunning())};_.aOc=function(a,b,c,d,e,f){var h=_.E(a,59),k=_.mN(a.Se()).toString(),l=_.gP(a.Se());f=new SNc(a,b,c,f);a=h?YNc(l,k,f,b,c,d,e,_.A(a,17,!1)):null;return new ZNc(a,f)};_.bOc=function(a,b,c){this.qc=a;this.ha=b;this.W=c;this.V=this.nm=null;this.H=!1};
_.bOc.prototype.getState=function(){return this.qc};_.zMc=function(a){a.V=null;a.nm&&(clearTimeout(a.nm),a.nm=null)};_.pLc=function(a){a.V||a.H||(a.V=new _.vNc(5E3,6E4),cOc(a))};cOc=function(a){dOc(a);a.V&&(a.nm=setTimeout(function(){return void cOc(a)},a.V.ub()),_.RH(a.V))};dOc=function(a){_.Gh(_.Ah().then(null,function(){return null}),function(){return void eOc(a)})};
eOc=function(a){fOc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.CIc(_.ye(new _.xe,312)))}).then(null,function(b){b=_.MN(b);_.uGc(b.eg)&&oLc(a,2);return _.Bh(b)}).then(null,function(){return null})};fOc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};oLc=function(a,b){return!a.H&&a.qc.update(b)?(fOc(a,"Connection status: "+_.pHc.get(b)),!0):!1};_.p("sy12a");
_.gOc=function(a,b,c){_.di.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.J(_.gOc,_.di);
_.WP=function(a,b,c,d,e,f,h){_.O.call(this);var k=this;this.W=a;this.ma=b;this.Ga=c;this.ta=d;this.Wa=e;this.ha=f;this.H={};this.le=null;this.Ca=h;this.wa={};_.rd(this,function(){k.Px()})};_.J(_.WP,_.O);_.WP.prototype.eR=function(){return _.rg()};
_.WP.prototype.upload=function(a,b,c){sMc(this.ma,"UploadTotalCount");var d=_.kP(a);if(d&&this.H[d])throw new _.qb("Upload requested with a duplicate request ID.");var e=_.z(a,10);if(e&&e.length){if(1!=e.length)throw new _.qb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.qb("The parent upload request must precede this request.");}!_.z(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);d||(d=this.eR(),_.x(a,9,d));a=_.Vj(a);e=hOc(this,d);this.H[d]={request:a,file:b,
$f:e,HF:!1,FK:0,success:!1,mF:!1,children:[],metadata:c,ul:void 0};f?iOc(this,d,f):this.ka(d);return e.Nk()};
var hOc=function(a,b){var c=new _.Ih;c.Af(_.Re(a.Qa,b),_.Re(a.Ma,b),a);return c},iOc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.ya(c.children);c.$f.then(function(f){if(1==f.Gb()&&(f=f.Hc(),_.z(e.request,3).push(f),_.x(e.request,10,[]),!c.mF||d)){a.ka(b);return}jOc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.$f.Ed(_.TM(f)?f:Error(f))})};
_.WP.prototype.Qa=function(a,b){sMc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Gb();(b=a.ul)&&!a.mF&&(oKc(qKc(ANc(b),a.FK),!0),b.V())};_.WP.prototype.Ma=function(a,b){var c=_.C(this.W,_.VM,58);c&&_.A(c,1,!1)&&(this.wa[a]=b);sMc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.ul)&&!c.mF&&(oKc(qKc(ANc(a),c.FK),!1),b=(c=b&&b.eg)&&c.Pi(),c=c&&c.Kn(),b?pKc(ANc(a),kOc.get(b)||13):c&&pKc(ANc(a),lOc.get(c)||0),a.V())};
_.WP.prototype.ka=function(a){var b=this.H[a];if(!b.HF){b.HF=!0;a=this.H[a];var c=a.request,d=_.C(this.W,_.VM,58);d&&_.A(d,4,!1)&&(d=c.getTitle().match(mOc))&&(!d[1]||a.FK<Number(d[1].substr(1)))&&(c=_.Vj(c),_.la(_.z(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.C(b.request,_.RJc,15))?_.z(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.nf();d=_.D(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ca&&3!=d){var f=this.Ca.W(106012);if(f){b.ul=f;f=ANc(f);f=_.x(f,1,2==d?2:1);f=_.x(f,4,
!!b.metadata);var h=!!_.z(a,12);f=_.x(f,5,h);e=_.x(f,6,e);c=_.D(c,32,1073741824);_.x(e,7,c)}}switch(d){case 2:if(b.file){c=b.$f;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Re(this.ha,_.kP(a)));nOc(this,new _.AIc(a,d,k,b),c,_.kP(a))}break;case 1:b.file&&(k=b.$f,c=b.file,b=b.metadata,d=_.C(this.W,_.QIc,2),nOc(this,new _.HO(a,c,d&&_.A(d,2,!1)?b:void 0),k,_.kP(a)));break;case 3:nOc(this,a,b.$f,_.kP(a));break;default:throw new _.qb("Upload type ${uploadType} not supported.");}}};
var nOc=function(a,b,c,d){JKc(a.Ga,d,a.Ja.bind(a,d));_.Gh(a.ta.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return oOc(a,b,e)}),function(){KKc(a.Ga,[d])}).then(c.callback,c.Ed,c)},oOc=function(a,b,c){var d=_.MN(c),e=b instanceof _.HO&&b.request.Hc()||"";c=d.eg;if(e&&8==c.Pi()){jOc(a);var f=_.oo(new _.mo,[e]);return _.Ph(a.ta.then(function(h){return h.H(f)}).then(function(h){h=h.sr().Bd()[0];var k=b.request;if(h&&!h.Bh()&&(h.Sb()||"").replace(/\s/g,"")==(k.Sb()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return jOc(a),_.mP((new _.LO).setItem(h),e).Dc(1);jOc(a);return _.Bh(d)}))}return _.Qh(d)};
_.WP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.mF||0!=c.children.length))if(c.mF=!0,c.$f.Me())jOc(this,'[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Fa(c.children,this.cancel,this);else{var d=c.ul;d&&(pKc(oKc(qKc(ANc(d),c.FK),!1),2),d.V());var e=_.Fh();c.HF?this.ta.then(function(f){return void e.resolve(f.cancel(a))}):(c.HF=!0,d=new _.LO,d.Dc(8),c.$f.callback(d),e.resolve(!0));e.promise.then(function(f){return jOc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.WP.prototype.Px=function(){var a=this;_.ff(this.H,function(b,c){a.cancel(c)})};
_.WP.prototype.kna=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=(_.z(b.H[f].request,10)||[])[0];if(k){var l=b.H[k];if(l.success||!l.$f.Me()||e[k])break;else if(!c.has(k)){e[f]=new _.qb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ca(h,function(n){var q=b.H[n];q.FK++;if(!e[n])if(!q.$f.Me()||q.success)e[n]=new _.qb("Unable to retry request.");else{var t=(_.z(q.request,10)||[])[0];e[t]instanceof _.qb?
e[n]=e[t]:(q.$f=hOc(b,n),q.HF=!1,q.mF=!1,(t=t?b.H[t]:null)?iOc(b,n,t,!0):d.push(n),e[n]=q.$f.Nk())}})}else e[f]=new _.qb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Ih?f:_.Qh(f)});_.Fa(d,this.ka,this);return a};var jOc=function(a){a.isDisposed()};_.WP.prototype.kd=function(a){return this.H[a]};var mOc=/^uploadTestFailMe(\.[1-9])?$/,lOc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),kOc=new Map([[3,14]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.qOc=function(a){return _.md(a).Gg(_.A(a.get(_.Xa),19,!1)?pOc:_.kd)};_.p("sy12h");
var pOc=[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];

_.r();

}catch(e){_._DumpException(e)}
try{
var rOc,sOc,tOc,uOc,vOc,wOc,xOc,yOc,zOc,AOc,XP,GOc,HOc,IOc,JOc,KOc,YP,MOc,NOc,OOc,QOc,ROc,SOc,UOc,WOc,YOc,$Oc,bPc,ePc,hPc,kPc,lPc,mPc,nPc,oPc,bQ,pPc,rPc,tPc,vPc,wPc,xPc,yPc,BPc,DPc,FPc,JPc,KPc,LPc,NPc,OPc,PPc,TPc,VPc,hQ,WPc,XPc,YPc,kQ,rRc,xRc,yRc,zRc,GRc,HRc,IRc,LRc,MRc,NRc,ORc,jSc,kSc,nSc,pSc,qSc,rSc,sSc,tSc,uSc,vSc,wSc,nQ,oQ,xSc,ySc,zSc,ASc,BSc,CSc,DSc,ESc,FSc,GSc,HSc,ITc,QTc,RTc,STc,TTc,UTc,XTc,ZTc,tUc,uUc,HUc,WUc,YUc,bVc,iVc,mVc,sVc,HVc,JVc,KVc,dWc,eWc,IPc,fWc,gWc,hWc,VOc,iWc,jWc,ZQ,kWc,lWc,mWc,
nWc,nXc,oXc,pXc,qXc,rXc,sXc,tXc,uXc,vXc,wXc,xXc,yXc,gYc;rOc=function(a,b){a=a.request;a=_.Ox('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.kP(a)||"");var c=b.eg;c=c?_.z(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}};sOc=function(a){a={Title:a.getTitle(),Type:a.Sb(),Parents:_.z(a,3),Convert:_.E(a,8),ID:_.kP(a)};var b=[];_.ff(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
tOc=function(a){var b=[];b.push(sOc(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.FK&&b.push("# of retries by client: "+a.FK);var d="";a.HF?a.$f.Me()?a.$f.Af(function(){d="Completed successfully."},function(e){d=e instanceof _.Jh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
uOc=function(a,b,c,d,e,f){var h=_.Ox("Drive Upload Report: %d/%d failed",_.kf(f),_.kf(e));a=a.nf();d.push("Batch query interval: "+_.D(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.D(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.D(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.D(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.D(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.ff(e,function(n){l.push(tOc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.HKc(b)});_.ff(f,function(n,q){k.push(rOc(e[q],n))});return{title:h,description:d,RQ:k,Xd:152391,U6:c,mX:361003}};vOc=function(a){return Array.prototype.concat.apply([],arguments)};wOc=function(a,b,c){c=_.Aa(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1};xOc=function(a){return String.fromCharCode(10>a?48+a:87+a)};
yOc=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]=xOc(d>>4);b[2*c+3]=xOc(d&15)}return b.join("")};zOc=function(a){var b=new _.vp;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.ON(a,!0,"file"));a.lW&&(b.append(",teamDriveId,teamDrive("),b.append(a.lW),b.append(")"));b.append(")");return b.toString()};
AOc=function(a){var b=new _.vp;b.append("kind,nextPageToken,items(");b.append(_.ON(a,!0));b.append("),incompleteSearch");a.lW&&(b.append(","),b.append(a.lW));return b.toString()};
XP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.QO,138),k=_.C(d,_.Bk,111),l=_.C(d,_.TO,27),n=_.C(d,_.UO,139),q=d.mf(),t=_.C(d,_.WO,103);switch(e){case 74:_.Qj(d,83,[]);break;case 188:_.x(d,137,void 0);break;case 149:_.x(d,128,[]);break;case 148:_.Qj(d,127,[]);break;case 138:_.x(d,126,void 0);break;case 184:_.x(d,135,[]);break;case 76:f&&_.x(f,1,void 0);break;case 208:f&&_.x(f,48,void 0);break;case 185:f&&_.x(f,40,void 0);break;case 213:f&&_.x(f,50,void 0);
break;case 156:f&&_.x(f,39,void 0);break;case 61:f&&_.x(f,2,void 0);break;case 216:f&&_.x(f,52,void 0);break;case 217:f&&_.x(f,53,void 0);break;case 77:f&&_.x(f,4,void 0);break;case 134:f&&_.x(f,34,void 0);break;case 147:f&&_.x(f,38,void 0);break;case 81:f&&_.x(f,10,void 0);break;case 82:f&&_.x(f,11,void 0);break;case 114:f&&_.x(f,27,void 0);break;case 133:f&&_.x(f,33,void 0);break;case 202:f&&_.x(f,47,void 0);break;case 132:f&&_.x(f,32,void 0);break;case 101:f&&_.x(f,20,void 0);break;case 201:f&&
_.x(f,46,void 0);break;case 131:f&&_.x(f,31,void 0);break;case 200:f&&_.x(f,45,void 0);break;case 130:f&&_.x(f,30,void 0);break;case 93:f&&_.x(f,17,void 0);break;case 191:f&&_.x(f,44,void 0);break;case 146:f&&_.x(f,37,void 0);break;case 90:f&&_.x(f,16,void 0);break;case 78:f&&_.x(f,7,void 0);break;case 186:f&&_.x(f,41,void 0);break;case 85:f&&_.x(f,12,void 0);break;case 137:f&&_.x(f,36,void 0);break;case 209:f&&_.x(f,49,void 0);break;case 79:f&&_.x(f,8,void 0);break;case 189:f&&_.x(f,42,void 0);break;
case 190:f&&_.x(f,43,void 0);break;case 80:f&&_.x(f,9,void 0);break;case 135:f&&_.x(f,35,void 0);break;case 102:f&&_.x(f,21,void 0);break;case 69:_.x(d,74,void 0);break;case 194:h&&_.R(h,2,void 0);break;case 193:h&&_.x(h,1,void 0);break;case 1004:_.x(d,108,void 0);break;case 136:_.Qj(d,125,[]);break;case 115:k&&_.x(k,1,void 0);break;case 116:k&&_.x(k,2,void 0);break;case 34:_.x(d,30,void 0);f&&_.x(f,3,void 0);break;case 9:_.x(d,10,void 0);break;case 91:_.R(d,91,void 0);break;case 43:_.x(d,42,void 0);
_.x(d,43,void 0);break;case 187:_.x(d,136,void 0);break;case 26:_.x(d,24,void 0);break;case 108:_.x(d,104,[]);break;case 41:_.x(d,40,void 0);f&&_.x(f,5,void 0);break;case 42:_.x(d,41,void 0);break;case 1005:BOc(d,[]);break;case 59:f&&_.x(f,6,void 0);break;case 28:_.x(d,26,void 0);break;case 44:_.x(d,45,void 0);break;case 13:_.x(d,14,void 0);break;case 48:_.x(d,36,void 0);break;case 38:_.x(d,34,void 0);break;case 49:_.x(d,50,[]);break;case 51:_.x(d,53,void 0);break;case 104:_.x(d,102,void 0);break;
case 39:_.x(d,35,void 0);break;case 87:_.x(d,76,void 0);break;case 100:_.x(d,98,void 0);break;case 72:_.x(d,78,void 0);break;case 5:_.x(d,6,void 0);break;case 20:_.x(d,21,void 0);break;case 21:break;case 29:l&&_.x(l,1,void 0);break;case 31:l&&_.x(l,3,void 0);break;case 92:l&&_.x(l,4,void 0);break;case 30:l&&_.x(l,2,void 0);break;case 16:_.ZO(d,void 0);break;case 12:_.x(d,13,void 0);break;case 211:n&&_.x(n,2,void 0);break;case 212:n&&_.x(n,3,void 0);break;case 157:(d=d.Yj())&&COc(d,[]);break;case 3:_.x(d,
4,void 0);break;case 11:_.x(d,12,void 0);break;case 10:_.x(d,11,void 0);break;case 50:_.x(d,49,void 0);_.x(d,51,void 0);_.R(d,81,void 0);break;case 18:_.x(d,19,void 0);break;case 95:_.x(d,93,void 0);break;case 58:_.x(d,63,void 0);break;case 14:_.YO(d,[]);break;case 103:_.x(d,101,void 0);break;case 1:_.XO(d,[]);break;case 96:_.x(d,94,void 0);break;case 1003:DOc(d,[]);break;case 75:_.EJc(d,void 0);break;case 94:_.x(d,92,void 0);break;case 45:_.x(d,46,void 0);break;case 124:_.x(d,118,void 0);break;case 125:_.x(d,
119,void 0);break;case 1002:_.R(d,100,void 0);break;case 32:_.x(d,28,void 0);break;case 67:_.x(d,70,void 0);break;case 68:_.x(d,71,void 0);break;case 73:_.x(d,79,void 0);break;case 71:_.x(d,77,void 0);break;case 210:_.x(d,140,void 0);break;case 7:_.x(d,8,void 0);break;case 122:EOc(d,void 0);break;case 66:_.x(d,69,void 0);break;case 33:_.x(d,29,void 0);break;case 24:_.x(d,22,void 0);break;case 25:_.x(d,23,void 0);break;case 46:_.R(d,47,void 0);break;case 192:q&&_.x(q,6,void 0);break;case 159:q&&_.R(q,
5,void 0);break;case 154:q&&_.x(q,1,void 0);break;case 158:q&&_.x(q,4,void 0);break;case 155:q&&_.x(q,3,void 0);break;case 52:_.x(d,56,[]);break;case 56:_.x(d,61,void 0);break;case 55:d.eC([]);break;case 4:_.x(d,5,void 0);break;case 35:_.x(d,31,void 0);break;case 57:_.x(d,62,void 0);break;case 83:_.x(d,72,void 0);break;case 84:_.R(d,86,void 0);break;case 19:_.x(d,20,void 0);_.x(d,44,void 0);_.x(d,90,void 0);break;case 2:_.x(d,3,void 0);break;case 6:_.x(d,7,void 0);break;case 98:_.x(d,96,void 0);break;
case 97:_.R(d,95,void 0);break;case 27:_.x(d,25,void 0);break;case 70:_.x(d,75,void 0);break;case 107:t&&_.x(t,3,void 0);break;case 106:t&&_.x(t,2,void 0);break;case 105:t&&_.x(t,1,void 0);break;case 8:_.x(d,9,void 0);break;case 126:_.x(d,120,[]);break;default:throw Error("bd`"+e);}}};GOc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.nc(a),_.nc(FOc)));a=[].concat(_.nc(_.Fcb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)XP(b[d],a)}};
HOc=function(a,b){var c=a.getCapabilities()||new _.yk,d=_.C(a,_.QO,138),e=_.C(a,_.Bk,111),f=_.C(a,_.TO,27),h=_.C(a,_.UO,139),k=a.mf(),l=_.C(a,_.WO,103);switch(b){case 74:return 0<_.Hk(a).length;case 188:return null!=_.E(a,137);case 149:return 0<_.z(a,128).length;case 148:return 0<a.Aia().length;case 138:return null!=a.X6();case 184:return 0<_.z(a,135).length;case 76:return null!=_.zk(c);case 208:return null!=_.E(c,48);case 185:return null!=_.E(c,40);case 213:return null!=_.E(c,50);case 156:return null!=
_.E(c,39);case 61:return null!=_.E(c,2);case 216:return null!=_.E(c,52);case 217:return null!=_.E(c,53);case 77:return null!=_.E(c,4);case 134:return null!=_.E(c,34);case 147:return null!=c.sv();case 81:return null!=_.E(c,10);case 82:return null!=_.E(c,11);case 114:return null!=_.E(c,27);case 133:return null!=_.E(c,33);case 202:return null!=_.E(c,47);case 132:return null!=_.E(c,32);case 101:return null!=_.E(c,20);case 201:return null!=_.E(c,46);case 131:return null!=_.E(c,31);case 200:return null!=
_.E(c,45);case 130:return null!=_.E(c,30);case 93:return null!=_.E(c,17);case 191:return null!=_.E(c,44);case 146:return null!=_.E(c,37);case 90:return null!=_.Ak(c);case 78:return null!=_.E(c,7);case 186:return null!=_.E(c,41);case 85:return null!=_.E(c,12);case 137:return null!=_.E(c,36);case 209:return null!=_.E(c,49);case 79:return null!=_.E(c,8);case 189:return null!=_.E(c,42);case 190:return null!=_.E(c,43);case 80:return null!=c.V();case 135:return null!=_.E(c,35);case 102:return null!=_.E(c,
21);case 69:return null!=_.E(a,74);case 194:return null!=d&&null!=_.C(d,_.RO,2);case 193:return null!=d&&null!=_.z(d,1);case 1004:return null!=_.E(a,108);case 136:return 0<a.UR().length;case 115:return null!=e&&null!=_.E(e,1);case 116:return null!=e&&null!=_.z(e,2);case 34:return null!=_.E(a,30)||null!=_.E(c,3);case 9:return null!=a.gB();case 91:return null!=_.C(a,_.tk,91);case 43:return null!=_.z(a,42)||null!=_.z(a,43);case 187:return null!=_.z(a,136);case 26:return null!=a.Uf();case 108:return 0<
_.z(a,104).length;case 41:return null!=c.W();case 42:return null!=_.z(a,41);case 1005:return 0<a.$I().length;case 59:return null!=_.E(c,6);case 28:return null!=a.cD();case 44:return null!=_.z(a,45);case 13:return null!=a.dD();case 48:return null!=_.E(a,36);case 38:return null!=a.$h();case 49:return 0<_.z(a,50).length;case 51:return null!=_.E(a,53);case 104:return null!=_.E(a,102);case 39:return null!=a.x7();case 87:return null!=_.Gk(a);case 100:return null!=_.E(a,98);case 72:return null!=_.z(a,78);
case 5:return null!=a.Jl();case 20:return null!=a.Ge();case 21:return null!=a.getId();case 29:return!(!f||null==_.z(f,1));case 31:return!(!f||null==f.Ve());case 92:return!(!f||null==_.z(f,4));case 30:return!(!f||null==_.z(f,2));case 16:return null!=a.So();case 12:return null!=a.Ux();case 211:return null!=h&&null!=_.E(h,2);case 212:return null!=h&&null!=_.E(h,3);case 157:return a=a.Yj(),!(!a||!_.Oj(a,_.Dk,8));case 3:return null!=a.Sb();case 11:return null!=a.Oz();case 10:return null!=a.yq();case 50:return null!=
a.Tp()||null!=_.E(a,51)||null!=a.Dm();case 18:return null!=_.z(a,19);case 14:return 0<_.Fk(a).length;case 95:return null!=a.Rm();case 58:return null!=_.E(a,63);case 103:return null!=_.z(a,101);case 1:return 0<a.li().length;case 96:return null!=_.E(a,94);case 1003:return 0<_.Jk(a).length;case 75:return null!=a.gv();case 94:return null!=_.z(a,92);case 45:return null!=a.Bp();case 124:return null!=_.E(a,118);case 125:return null!=_.z(a,119);case 1002:return null!=_.Ik(a);case 32:return null!=a.Fz();case 67:return null!=
a.sJ();case 68:return null!=a.tJ();case 73:return null!=_.z(a,79);case 71:return null!=a.V();case 210:return null!=_.Kk(a);case 7:return null!=a.BX();case 122:return null!=a.qD();case 66:return null!=_.z(a,69);case 33:return null!=_.E(a,29);case 24:return null!=a.Wi();case 25:return null!=a.wv();case 46:return null!=a.aB();case 192:return null!=k&&null!=_.E(k,6);case 159:return null!=k&&null!=_.cd(k);case 154:return null!=k&&null!=_.z(k,1);case 158:return null!=k&&null!=_.hd(k);case 155:return null!=
k&&null!=_.z(k,3);case 52:return 0<_.z(a,56).length;case 55:return 0<a.fu().length;case 56:return null!=_.z(a,61);case 4:return null!=a.Vx();case 35:return null!=_.E(a,31);case 57:return null!=_.z(a,62);case 83:return null!=a.wc();case 84:return null!=_.C(a,_.VO,86);case 2:return null!=a.getTitle();case 19:return null!=a.Ah()||null!=_.E(a,44)||null!=_.z(a,90);case 6:return null!=a.Bh();case 98:return null!=a.nB();case 97:return null!=a.oB();case 27:return null!=a.xm();case 70:return null!=_.z(a,75);
case 107:return null!=l&&null!=_.z(l,3);case 106:return null!=l&&null!=l.Ve();case 105:return null!=l&&null!=_.z(l,1);case 8:return null!=_.E(a,9);case 126:return 0<_.z(a,120).length;default:throw Error("cd`"+b);}};IOc=function(a,b){return b.every(function(c){return HOc(a,c)})};JOc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.gIc:[]);return b.every(function(e){return(new Set(d)).has(e)})};KOc=function(a,b){var c=new Set(b.concat(_.gIc));return a.filter(function(d){return!c.has(d)})};
YP=function(a,b,c){b=b.clone();c.forEach(function(d){if(HOc(b,d))if(_.Hcb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.yk;a.xn(f);switch(d){case 76:_.UIc(f,_.zk(e));break;case 208:_.qJc(f,_.E(e,48));break;case 185:var h=_.E(e,40);_.x(f,40,h);break;case 213:var k=_.E(e,50);_.x(f,50,k);break;case 156:var l=_.E(e,39);_.x(f,39,l);break;case 61:_.VIc(f,_.E(e,2));break;case 216:var n=_.E(e,52);_.x(f,52,n);break;case 217:var q=_.E(e,53);_.x(f,53,q);break;case 77:_.XIc(f,_.E(e,
4));break;case 134:var t=_.E(e,34);_.x(f,34,t);break;case 147:var v=e.sv();_.x(f,38,v);break;case 81:_.cJc(f,_.E(e,10));break;case 82:_.dJc(f,_.E(e,11));break;case 114:var y=_.E(e,27);_.x(f,27,y);break;case 133:_.lJc(f,_.E(e,33));break;case 202:_.pJc(f,_.E(e,47));case 132:_.kJc(f,_.E(e,32));break;case 101:_.hJc(f,_.E(e,20));break;case 201:_.oJc(f,_.E(e,46));break;case 131:_.jJc(f,_.E(e,31));break;case 200:var B=_.E(e,45);_.x(f,45,B);break;case 130:var F=_.E(e,30);_.x(f,30,F);break;case 93:_.gJc(f,
_.E(e,17));break;case 191:var M=_.E(e,44);_.x(f,44,M);break;case 146:var I=_.E(e,37);_.x(f,37,I);break;case 90:_.fJc(f,_.Ak(e));break;case 78:_.$Ic(f,_.E(e,7));break;case 186:var X=_.E(e,41);_.x(f,41,X);break;case 85:_.eJc(f,_.E(e,12));break;case 137:var T=_.E(e,36);_.x(f,36,T);break;case 209:var na=_.E(e,49);_.x(f,49,na);break;case 79:_.aJc(f,_.E(e,8));break;case 189:_.mJc(f,_.E(e,42));break;case 190:_.nJc(f,_.E(e,43));break;case 80:_.bJc(f,e.V());break;case 135:var Ba=_.E(e,35);_.x(f,35,Ba);break;
case 102:_.iJc(f,_.E(e,21));break;case 34:var Oa=_.E(b,30);_.x(a,30,Oa);_.WIc(f,_.E(e,3));break;case 41:var Ca=_.E(b,40);_.x(a,40,Ca);_.YIc(f,e.W());break;case 59:_.ZIc(f,_.E(e,6))}}}else if(_.Ucb.has(d)){var ea=_.C(b,_.QO,138);if(ea){var Ka=_.C(a,_.QO,138)||new _.QO;_.R(a,138,Ka);switch(d){case 194:var gb=_.C(ea,_.RO,2);_.R(Ka,2,gb);break;case 193:var Xb=_.z(ea,1);_.x(Ka,1,Xb)}}}else if(_.Vcb.has(d)){var wb=_.C(b,_.Bk,111);if(wb){var ec=_.C(a,_.Bk,111)||new _.Bk;_.R(a,111,ec);switch(d){case 115:_.SO(ec,
_.E(wb,1));break;case 116:_.rJc(ec,_.z(wb,2))}}}else if(_.Wcb.has(d)){var Kc=_.C(b,_.TO,27);if(Kc){var ie=_.C(a,_.TO,27)||new _.TO;_.R(a,27,ie);switch(d){case 29:var hg=_.z(Kc,1);_.x(ie,1,hg);break;case 31:ie.Wf(Kc.Ve());break;case 92:var Ce=_.z(Kc,4);_.x(ie,4,Ce);break;case 30:var Nf=_.z(Kc,2);_.x(ie,2,Nf)}}}else if(_.Xcb.has(d)){var Pg=_.C(b,_.UO,139);if(Pg){var Qg=_.C(a,_.UO,139)||new _.UO;_.R(a,139,Qg);switch(d){case 211:var dd=_.E(Pg,2);_.x(Qg,2,dd);break;case 212:var Gi=_.E(Pg,3);_.x(Qg,3,Gi)}}}else if(_.Ycb.has(d)){var Pe=
b.mf();if(Pe){var Of=a.mf()||new _.Sma;_.R(a,132,Of);switch(d){case 192:var Eb=_.E(Pe,6);_.x(Of,6,Eb);break;case 159:var oi=_.cd(Pe);_.R(Of,5,oi);break;case 154:var Vk=_.z(Pe,1);_.x(Of,1,Vk);break;case 158:var pi=_.hd(Pe);_.x(Of,4,pi);break;case 155:var kq=_.z(Pe,3);_.x(Of,3,kq)}}}else if(_.Zcb.has(d)){var ok=_.C(b,_.WO,103);if(ok){var Pf=_.C(a,_.WO,103)||new _.WO;_.R(a,103,Pf);switch(d){case 107:var Dh=_.z(ok,3);_.x(Pf,3,Dh);break;case 106:Pf.Wf(ok.Ve());break;case 105:var xm=_.z(ok,1);_.x(Pf,1,
xm)}}}else switch(d){case 74:var lq=_.Hk(b);_.Qj(a,83,lq);break;case 188:var Bl=_.E(b,137);_.x(a,137,Bl);break;case 149:var Xn=_.z(b,128);_.x(a,128,Xn||[]);break;case 148:var Cl=b.Aia();_.Qj(a,127,Cl);break;case 138:var Yn=b.X6();_.x(a,126,Yn);break;case 184:var mq=_.z(b,135);_.x(a,135,mq||[]);break;case 69:var pk=_.E(b,74);_.x(a,74,pk);break;case 1004:var nq=_.E(b,108);_.x(a,108,nq);break;case 136:var Dl=b.UR();_.Qj(a,125,Dl);break;case 9:var dp=b.gB();_.x(a,10,dp);break;case 91:var ep=_.C(b,_.tk,
91);_.R(a,91,ep);break;case 43:var Zn=_.z(b,42);_.x(a,42,Zn);var fn=_.z(b,43);_.x(a,43,fn);break;case 187:var Ig=_.z(b,136);_.x(a,136,Ig);break;case 26:a.Bl(b.Uf());break;case 108:var Ze=_.z(b,104);_.x(a,104,Ze||[]);break;case 42:var ed=_.z(b,41);_.x(a,41,ed);break;case 1005:BOc(a,b.$I());break;case 28:_.yJc(a,b.cD());break;case 44:var fp=_.z(b,45);_.x(a,45,fp);break;case 13:var Xh=b.dD();_.x(a,14,Xh);break;case 48:var Yi=_.E(b,36);_.x(a,36,Yi);break;case 38:_.AJc(a,b.$h());break;case 49:var Ev=_.z(b,
50);_.x(a,50,Ev||[]);break;case 51:var Cr=_.E(b,53);_.x(a,53,Cr);break;case 104:var Hs=_.E(b,102);_.x(a,102,Hs);break;case 39:var Is=b.x7();_.x(a,35,Is);break;case 87:var Js=_.Gk(b);_.x(a,76,Js);break;case 100:var $n=_.E(b,98);_.x(a,98,$n);break;case 72:var eu=_.z(b,78);_.x(a,78,eu);break;case 5:var gp=b.Jl();_.x(a,6,gp);break;case 20:var dh=b.Ge();_.x(a,21,dh);break;case 21:a.kc(b.getId());break;case 16:_.ZO(a,b.So());break;case 12:var Bj=b.Ux();_.x(a,13,Bj);break;case 157:var gn=b.Yj();if(gn){var Lh=
a.Yj()||new _.Qma;LOc(a,Lh);COc(Lh,_.Oj(gn,_.Dk,8))}break;case 3:_.NM(a,b.Sb());break;case 11:var hp=b.Oz();_.x(a,12,hp);break;case 10:_.GEc(a,b.yq());break;case 50:var fu=b.Tp();_.x(a,49,fu);var Ks=_.E(b,51);_.x(a,51,Ks);var Dr=b.Dm();_.R(a,81,Dr);break;case 95:_.GJc(a,b.Rm());break;case 18:_.xJc(a,_.z(b,19));break;case 58:var oq=_.E(b,63);_.x(a,63,oq);break;case 14:_.YO(a,_.Fk(b));break;case 1:_.XO(a,b.li());break;case 96:var pq=_.E(b,94);_.x(a,94,pq);break;case 103:var El=_.z(b,101);_.x(a,101,
El);break;case 1003:DOc(a,_.Jk(b));break;case 75:_.EJc(a,b.gv());break;case 94:_.FJc(a,_.z(b,92));break;case 45:var Ls=b.Bp();_.x(a,46,Ls);case 124:var gu=_.E(b,118);_.x(a,118,gu);break;case 125:var ip=_.z(b,119);_.x(a,119,ip);break;case 1002:var qq=_.Ik(b);_.R(a,100,qq);break;case 32:var rq=b.Fz();_.x(a,28,rq);break;case 67:var Ms=b.sJ();_.x(a,70,Ms);break;case 68:var hu=b.tJ();_.x(a,71,hu);break;case 73:var sq=_.z(b,79);_.x(a,79,sq);break;case 71:var Fv=b.V();_.x(a,77,Fv);break;case 210:var iu=
_.Kk(b);_.x(a,140,iu);break;case 7:_.wJc(a,b.BX());break;case 122:EOc(a,b.qD());break;case 66:var ao=_.z(b,69);_.x(a,69,ao);break;case 33:var ju=_.E(b,29);_.x(a,29,ju);break;case 24:var Er=b.Wi();_.x(a,22,Er);break;case 25:var ku=b.wv();_.x(a,23,ku);break;case 46:var Ns=b.aB();_.R(a,47,Ns);break;case 52:var hn=_.z(b,56);_.x(a,56,hn||[]);break;case 56:var px=_.z(b,61);_.x(a,61,px);break;case 55:a.eC(b.fu());break;case 4:a.Uq(b.Vx());break;case 35:_.zJc(a,_.E(b,31));break;case 57:var Fr=_.z(b,62);_.x(a,
62,Fr);break;case 83:_.DJc(a,b.wc());break;case 84:var se=_.C(b,_.VO,86);_.R(a,86,se);break;case 98:var qx=b.nB();_.x(a,96,qx);break;case 97:var uz=b.oB();_.R(a,95,uz);break;case 19:var cG=b.Ah();_.x(a,20,cG);_.BJc(a,_.E(b,44));var dG=_.z(b,90);_.x(a,90,dG);break;case 2:a.setTitle(b.getTitle());break;case 6:a.yn(b.Bh());break;case 27:_.OM(a,b.xm());break;case 70:var jn=_.z(b,75);_.x(a,75,jn);break;case 8:var qC=_.E(b,9);_.x(a,9,qC);break;case 126:var tq=_.z(b,120);_.x(a,120,tq||[]);break;default:throw Error("dd`"+
d);}})};MOc=function(a,b){var c=_.OA[a];return b.filter(function(d){return!c||!c.has(d)})};NOc=function(a,b,c){a=MOc(c,a);return JOc(b,a,!0)};OOc=function(a){return!!_.E(a,31)&&!_.E(a,94)};QOc=function(a){return POc.some(function(b){return HOc(a,b)})};ROc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(ZP(b))})};SOc=function(a){return ROc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.TOc=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};UOc=function(a,b){var c=_.UM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};WOc=function(a,b){if(b){var c=[];_.E(b,3)&&c.push("folder");var d=VOc()&&4==b.getType()?"title_natural":_.AGc[b.getType()];b=_.CGc[b.jh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
YOc=function(a,b,c,d){b="#"+b+"_";var e=new _.RM;e.update(c.join(","));b+=_.MEc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new XOc(c.port),c.port.start()):a=new XOc(new Worker(a));return a};$Oc=function(a){var b=a.slice(0),c=new Set(b);ZOc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
bPc=function(a){var b=new aPc;if(a instanceof _.RN)_.Pj(b,16,$P[0],a);else if(a instanceof _.SN)_.Pj(b,1,$P[0],a);else if(a instanceof _.TN)_.Pj(b,2,$P[0],a);else if(a instanceof _.WN)_.Pj(b,3,$P[0],a);else if(a instanceof _.CP)_.Pj(b,4,$P[0],a);else if(a instanceof _.UN)_.Pj(b,5,$P[0],a);else if(a instanceof _.$N)_.Pj(b,6,$P[0],a);else if(a instanceof _.bO)_.Pj(b,7,$P[0],a);else if(a instanceof _.cO)_.Pj(b,8,$P[0],a);else if(a instanceof _.fO)_.Pj(b,9,$P[0],a);else if(a instanceof _.tO)_.Pj(b,10,
$P[0],a);else if("undefined"!=typeof _.uO&&a instanceof _.uO)_.Pj(b,11,$P[0],a);else if(a instanceof _.vO)_.Pj(b,12,$P[0],a);else if(a instanceof _.pN)_.Pj(b,13,$P[0],a);else if(a instanceof _.zO)_.Pj(b,14,$P[0],a);else if(a instanceof _.AO)_.Pj(b,15,$P[0],a);else throw new _.qb("Unsupported request type");return b};
ePc=function(a){a=a.map(function(c){var d=new cPc;if(c instanceof _.RN)_.Pj(d,6,aQ[0],c);else if(c instanceof _.$N)_.Pj(d,1,aQ[0],c);else if(c instanceof _.tO)_.Pj(d,2,aQ[0],c);else if("undefined"!=typeof _.uO&&c instanceof _.uO)_.Pj(d,3,aQ[0],c);else if(c instanceof _.pN)_.Pj(d,4,aQ[0],c);else if(c instanceof _.AO)_.Pj(d,5,aQ[0],c);else throw new _.qb("Unsupported request type");return d});var b=new dPc;_.Qj(b,1,a);return b};
hPc=function(a){var b=new fPc;if("undefined"!=typeof _.HD&&a instanceof _.HD)_.Pj(b,1,gPc[0],a);else if("undefined"!=typeof _.ID&&a instanceof _.ID)_.Pj(b,2,gPc[0],a);else throw new _.qb("Unsupported request type");return b};kPc=function(a){var b=new iPc;if(a instanceof _.XN)_.Pj(b,1,jPc[0],a);else if(a instanceof _.dO)_.Pj(b,2,jPc[0],a);else if(a instanceof _.BO)_.Pj(b,3,jPc[0],a);else throw new _.qb("Unsupported request type");return b};
lPc=function(a,b){var c=a.Dm();c||(c=new _.Ck,b&&_.R(a,81,c));return c};mPc=function(a){if(_.QN(a))_.JN(lPc(a,!0),!0);else if(_.QN(a,!0)){var b=a.mf();if(b=b&&_.cd(b))_.JN(lPc(b,!0),!0),_.JN(lPc(a,!0),!0)}};nPc=function(a){return!!a.Dm()&&!_.QN(a)};oPc=function(a){var b=[];_.Fa(a,function(c){if(3!=ZP(c)){var d=c;if(null!=d.Tp()||null!=_.E(d,51)||null!=d.Dm())c=_.Vj(c),_.x(c,49,void 0),_.x(c,51,void 0),_.R(c,81,void 0);b.push(c)}});return b};bQ=function(a){return a.map(function(b){return b.getItem()})};
pPc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};rPc=function(a){return a.map(function(b){var c=new _.i4a;c=_.x(c,3,qPc[b.serviceName]);return _.x(c,2,Number(b.LBb))})};tPc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return sPc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
vPc=function(a){a=a.Mw();var b=new uPc;a.forEach(function(c){var d=c.getKey();d=d&&_.z(d,2);"corpusSize"==d?(c=_.tg(c.ub()),_.x(b,3,c)):"linkedItems"==d?(c=_.tg(c.ub()),_.x(b,2,c)):"linkedFolders"==d&&(c=_.tg(c.ub()),_.x(b,1,c))});return"number"===typeof _.z(b,3)?b:null};wPc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.xe;_.ye(b,305);_.ze(b,!0);_.x(b,3,2);var c=new _.cD;_.R(c,1,b);var d=new _.wIc(c,[7]);a=a.then(function(e){return e.H(d)}).then(vPc);return _.Ph(a)};
xPc=function(a){var b={},c=a.getKey(),d=c&&_.z(c,2);b.key=d;b.value=a.ub();(a=c&&_.ro(c))&&(b.namespace=_.yHc[a]);return b};yPc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.yHc[a[c]]);return b};BPc=function(a){var b=_.BG(a);b=zPc(new cQ,b).zd(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new APc;a=_.z(a,5);a=_.x(c,1,a);return _.R(b,4,a)};
DPc=function(a,b){var c=CPc(a.V,b.Hc());if(c){var d=c.getItem(),e=d.gv();if(e){var f=_.Oj(e,_.tk,2),h=_.pa(f,function(k){return k.getId()==b.V()});_.tJc(e,f);h||(f=_.Oj(e,_.tk,3),_.pa(f,function(k){return k.getId()==b.V()}),_.uJc(e,f));_.sJc(e,(_.z(e,1)||1)-1);dQ(a,[d],c.V)}}};
FPc=function(a,b,c){if(b=CPc(a.V,b.Hc())){var d=b.getItem(),e=d.gv();if(e){if(1==c.getType()||2==c.getType()){var f=_.Oj(e,_.tk,3);f.push(c);_.Da(f,EPc);_.uJc(e,f)}else f=_.Oj(e,_.tk,2),f.push(c),_.Da(f,EPc),_.tJc(e,f);_.sJc(e,(_.z(e,1)||0)+1);dQ(a,[d],b.V)}}};
JPc=function(a){var b=a.json.exportJob,c=GPc[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=_.me(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.me(b.failedItemInfos||[],function(l){var n=_.NM((new _.Ek).kc(l.docId).setTitle(l.title),l.mediaType);n=(new _.HPc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new IPc(c,d,k,f,h,e,a,b)};
KPc=function(a){a=a.kd();return a?(a=a.oe())?_.z(a,1):0:0};LPc=function(a,b){return _.A(b,5,!1)?a+",graceQuotaInfo":a};NPc=function(a,b){var c=new _.xN,d=new Set;if(6==a){a=_.u(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.dIc.get(ZP(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}MPc(c,[].concat(_.nc(d)));return c};
OPc=function(a,b){var c={};a=_.gf(a,function(d){return!!d});b=_.gf(b,function(d){return!!d});_.ff(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=_.FN(4).setItem(f),c[e]=d):(d=_.FN(2).setItem(d),c[e]=d)});_.ff(b,function(d,e){a[e]||(d=_.FN(1).setItem(d),c[e]=d)});return c};PPc=function(a,b){return _.kf(a)!=_.kf(b)||!_.nf(OPc(a,b))};
TPc=function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(QPc(b))return b=new eQ(a,b,3),new fQ(b,b.Ja);_.x(b,61,!1);var c=_.ZM(b.Se())?2:1;a=new gQ(a,b,c,void 0,void 0,void 0);return _.ZM(b.Se())?new RPc(a):new SPc(a)};VPc=function(a){return _.md(a).Gg(_.A(a.get(_.Xa),19,!1)?UPc:_.M_a)};hQ=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)};WPc=function(a,b){return _.Qj(a,1,b)};XPc=[1];YPc=function(a){_.Q(this,a,0,-1,XPc,null)};_.L(YPc,_.P);
YPc.prototype.qJ=function(){return _.Oj(this,_.tk,1)};YPc.prototype.x4=function(a){_.Rj(this,1,a,_.tk,void 0)};var ZPc=function(a){var b=new YPc;return _.Qj(b,1,a)},$Pc=function(a,b){return _.R(a,1,b)},aQc=function(a,b){_.Qj(a,2,b)},bQc=function(a,b){_.R(a,6,b)},cQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cQc,_.P);var dQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(dQc,_.P);var iQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(iQ,_.P);var eQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(eQc,_.P);
var fQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(fQc,_.P);var gQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(gQc,_.P);var hQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hQc,_.P);var iQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(iQc,_.P);var jQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(jQc,_.P);var kQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kQc,_.P);var lQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(lQc,_.P);var mQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mQc,_.P);
var nQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nQc,_.P);var oQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oQc,_.P);var pQc=[[1,2,3,4]],qQc=function(a){_.Q(this,a,0,-1,null,pQc)};_.L(qQc,_.P);var rQc=[[1]],sQc=function(a){_.Q(this,a,0,-1,null,rQc)};_.L(sQc,_.P);var tQc=[[1,2]],uQc=function(a){_.Q(this,a,0,-1,null,tQc)};_.L(uQc,_.P);var vQc=[[1]],wQc=function(a){_.Q(this,a,0,-1,null,vQc)};_.L(wQc,_.P);var xQc=[[1,2]],yQc=function(a){_.Q(this,a,0,-1,null,xQc)};_.L(yQc,_.P);
yQc.prototype.mg=function(a){_.Pj(this,1,xQc[0],a)};var zQc=[1],AQc=function(a){_.Q(this,a,0,-1,zQc,null)};_.L(AQc,_.P);var BQc=[[1]],CQc=function(a){_.Q(this,a,0,-1,null,BQc)};_.L(CQc,_.P);var DQc=[2],EQc=function(a){_.Q(this,a,0,-1,DQc,null)};_.L(EQc,_.P);var FQc=[[1]],GQc=function(a){_.Q(this,a,0,-1,null,FQc)};_.L(GQc,_.P);GQc.prototype.mg=function(a){_.Pj(this,1,FQc[0],a)};var HQc=[[1,2]],IQc=function(a){_.Q(this,a,0,-1,null,HQc)};_.L(IQc,_.P);
var JQc=[[1]],KQc=function(a){_.Q(this,a,0,-1,null,JQc)};_.L(KQc,_.P);
var LQc=function(a,b){return _.Pj(a,3,_.vk[0],b)},MQc=function(a,b){_.Qj(a,1,b)},NQc=function(a,b){return _.x(a,2,b)},OQc=function(a,b){return _.R(a,3,b)},PQc=function(a,b){return _.x(a,4,b)},QQc=function(a,b){_.Qj(a,1,b)},RQc=function(a,b){return _.R(a,2,b)},SQc=function(a,b){_.Qj(a,1,b)},TQc=function(a,b){return _.R(a,4,b)},UQc=function(a,b){_.R(a,5,b)},VQc=function(a,b){_.Qj(a,2,b)},WQc=function(a,b){_.Qj(a,4,b)},XQc=function(a,b){return _.R(a,5,b)},YQc=function(a,b){_.Qj(a,1,b)},ZQc=function(a,
b){return _.R(a,2,b)},$Qc=function(a,b){_.Qj(a,2,b)},aRc=function(a,b){return _.Qj(a,3,b)},bRc=function(a,b){_.Qj(a,1,b)},cRc=function(a,b){return _.x(a,2,b)},dRc=function(a,b){return _.R(a,3,b)},eRc=function(a,b){_.Qj(a,2,b)},fRc=function(a,b){return _.R(a,3,b)},gRc=function(a,b){_.Qj(a,1,b)},hRc=function(a,b){return _.Qj(a,2,b)},iRc=function(a,b){_.Qj(a,1,b)},jRc=function(a,b){return _.R(a,2,b)},kRc=function(a,b){return _.R(a,1,b)},lRc=function(a,b){return _.x(a,2,b)},mRc=function(a,b){return _.x(a,
3,b)},COc=function(a,b){_.Qj(a,8,b)},ZP=function(a){return _.D(a,52,1)},LOc=function(a,b){return _.R(a,73,b)},DOc=function(a,b){_.Qj(a,107,b)},EOc=function(a,b){_.R(a,109,b)},BOc=function(a,b){return _.Qj(a,117,b)},nRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nRc,_.P);var oRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oRc,_.P);var pRc=[11],qRc=function(a){_.Q(this,a,0,-1,pRc,null)};_.L(qRc,_.P);var jQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(jQ,_.P);
jQ.prototype.getKey=function(){return _.z(this,2)};kQ=function(a){return _.D(a,4,"en")};_.lQ=function(a){return _.C(a,qRc,34,1)};rRc=function(a,b){return _.x(a,1,b||[])};_.sRc=function(a,b){return _.Qj(a,5,b)};_.tRc=function(a,b){return _.x(a,6,b)};_.uRc=function(a,b){return _.x(a,7,b)};_.vRc=function(a,b){return _.x(a,8,b)};_.wRc=function(a,b){return _.x(a,10,b)};xRc=function(a,b){return _.x(a,5,b)};yRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yRc,_.P);zRc=[2];
_.ARc=function(a){_.Q(this,a,0,-1,zRc,null)};_.L(_.ARc,_.P);_.ARc.prototype.nn=function(){return _.z(this,1)};_.BRc=function(a,b){return _.x(a,2,b)};_.CRc=function(a,b){return _.x(a,3,b)};_.DRc=function(a,b){return _.x(a,1,b)};_.ERc=function(a,b){return _.x(a,2,b)};_.FRc=function(a,b){return _.R(a,1,b)};GRc=function(a,b){return _.x(a,2,b)};HRc=function(a,b){return _.x(a,3,b)};IRc=function(a,b){_.Qj(a,4,b)};_.JRc=function(a,b){_.R(a,8,b)};_.KRc=function(a,b){_.R(a,9,b)};
_.CP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.CP,_.P);_.CP.prototype.getTitle=function(){return _.z(this,1)};_.CP.prototype.setTitle=function(a){return _.x(this,1,a)};_.CP.prototype.oe=function(){return _.C(this,_.xe,2)};LRc=function(a,b){return _.x(a,9,b||[])};MRc=function(a,b){return _.x(a,10,b||[])};NRc=function(a,b){return _.x(a,36,b)};ORc=function(a,b){return _.Qj(a,38,b)};_.PRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.PRc,_.P);_.PRc.prototype.getId=function(){return _.z(this,1)};
_.PRc.prototype.kc=function(a){return _.x(this,1,a)};
var QRc=function(a,b){return _.x(a,2,b)},RRc=function(a,b){return _.R(a,3,b)},SRc=function(){var a=new _.vN;return _.x(a,5,!0)},MPc=function(a,b){return _.x(a,1,b||[])},TRc={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},mQ=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Uj(b[a],c[a]))return!0;return!1},URc=[1,3,5],VRc=function(a){_.Q(this,a,0,-1,URc,
null)};_.L(VRc,_.P);VRc.prototype.qy=function(){return _.E(this,2)};var WRc=function(a,b){_.x(a,2,b)},XRc=function(a,b){_.Mj(a,5,b,void 0)},YRc=function(a,b){_.x(a,6,b)},ZRc=function(a,b){_.x(a,7,b)},$Rc=function(a){_.Q(this,a,0,-1,null,null)};_.L($Rc,_.P);$Rc.prototype.qy=function(){return _.E(this,1)};$Rc.prototype.Dq=function(){return _.z(this,6)};var aSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aSc,_.P);var bSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(bSc,_.P);
var cSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cSc,_.P);var dSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(dSc,_.P);var eSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(eSc,_.P);var fSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(fSc,_.P);var gSc=[1],hSc=function(a){_.Q(this,a,0,-1,gSc,null)};_.L(hSc,_.P);_.iSc=function(a,b){_.R(a,2,b)};jSc=[2];kSc=function(a){_.Q(this,a,0,-1,jSc,null)};_.L(kSc,_.P);_.g=kSc.prototype;_.g.Gb=function(){return _.z(this,1)};
_.g.Dc=function(a){return _.x(this,1,a)};_.g.qJ=function(){return _.Oj(this,_.tk,2)};_.g.x4=function(a){_.Rj(this,2,a,_.tk,void 0)};_.g.Xj=function(){return _.z(this,3)};var lSc=[2],mSc=function(a){_.Q(this,a,0,-1,lSc,null)};_.L(mSc,_.P);mSc.prototype.Gb=function(){return _.z(this,1)};mSc.prototype.Dc=function(a){return _.x(this,1,a)};mSc.prototype.Xj=function(){return _.z(this,3)};nSc=function(a,b){return _.x(a,1,b||[])};_.oSc=function(a,b){_.R(a,1,b)};pSc=function(a,b,c){_.oP(a,b,c,"warning")};
qSc=function(a){return _.Ye(a.Lp,function(b){return _.NO(b.Jr.request)})};rSc=function(a){var b=[];a.Lp.forEach(function(c){(c=c.Jr.config.timestamp)&&b.push(c)});return b};sSc=function(a){return a.W.HEa()?!0:a.V.some(function(b){return qSc(b)})};tSc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.Jr.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ta(b,rSc(c))});return b};uSc=function(a){return[].concat(_.nc(a.V))};vSc=function(a){return a.H.concat([].concat(_.nc(a.V)))};
wSc=function(a,b){var c=new Set;b=_.u(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(_.nc(c))};nQ=function(a){var b=_.MP(a).kd();b||(b=new _.jKc,a=_.MP(a),_.R(a,1,b));return b};oQ=function(a){var b=_.C(_.MP(a),VRc,3);b||(b=new VRc,a=_.MP(a),_.R(a,3,b));return b};xSc=function(a){var b=_.C(_.MP(a),$Rc,16);b||(b=new $Rc,a=_.MP(a),_.R(a,16,b));return b};ySc=function(a){var b=_.C(_.MP(a),cSc,7);b||(b=new cSc,a=_.MP(a),_.R(a,7,b));return b};
zSc=function(a){var b=_.C(_.MP(a),eSc,12);b||(b=new eSc,a=_.MP(a),_.R(a,12,b));return b};
ASc=function(a){if(a instanceof _.SM)return 2;if(a instanceof _.uo)return 10;if(a instanceof _.oe)return _.jO(a)?3:_.kO(a)?7:_.lO(a)?8:1;if(a instanceof _.mo)return 9;if(a instanceof _.CG)return 11;if(a instanceof _.rO)return 15;if(a instanceof _.CO)return 6;if(a instanceof _.nO){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 _.cD)return 4;if(a instanceof _.wo)return 12;if("undefined"!=typeof _.DO&&a instanceof _.DO)return 13}return 0};
BSc=function(a){var b=null;a instanceof _.kC||"undefined"!=typeof _.OP&&a instanceof _.OP||"undefined"!=typeof _.PP&&a instanceof _.PP?b=a.Re()||0:"undefined"!=typeof _.RP&&a instanceof _.RP||"undefined"!=typeof _.SP&&a instanceof _.SP||"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP?b=a.H:"undefined"!=typeof _.QP&&a instanceof _.QP&&(b=a.Re());return b||0};CSc=function(a,b){return a.V&&_.$Nc(a)?_.WNc(a.V,b,0):null};
DSc=function(a,b){if(a.V&&_.$Nc(a)){a=_.WNc(a.V,106018,0);var c=_.C(_.MP(a),fSc,15);if(!c){c=new fSc;var d=_.MP(a);_.R(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};ESc=function(a){a.V&&_.$Nc(a)&&(a=a.V,a.isRunning()&&a.H.bU())};
FSc=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};
GSc=function(a,b){if(!(a instanceof b.constructor))throw Error("X");var c=a.Wd();b=b.Wd();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Ec&&(d[0]=a.Ec,e=1);for(;e<f;e++)_.sla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};HSc=[2,6];_.PP=function(a){_.Q(this,a,0,-1,HSc,null)};_.L(_.PP,_.P);_.g=_.PP.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.Bd=function(){return _.Oj(this,_.Ek,2)};_.g.Cw=function(a){return _.Qj(this,2,a)};
_.g.Sf=function(a,b){return _.Rj(this,2,a,_.Ek,b)};_.g.Xj=function(){return _.z(this,3)};_.g.uha=function(){return _.A(this,4,!0)};var ISc=function(a,b){return _.x(a,4,b)},JSc=function(a,b){return _.Qj(a,6,b)};_.g=_.PP.prototype;_.g.DF=function(){return _.C(this,_.Wlb,7)};_.g.CI=function(a){return _.R(this,7,a)};_.g.getSessionId=function(){return _.C(this,_.Al,8)};_.g.setSessionId=function(a){return _.R(this,8,a)};_.g.yX=function(){return _.z(this,10)};_.g.AX=function(a){return _.x(this,10,a)};
_.g.Re=function(){return _.z(this,9)};_.g.zX=function(a){return _.x(this,9,a)};var KSc=[2],LSc=function(a){_.Q(this,a,0,-1,KSc,null)};_.L(LSc,_.P);LSc.prototype.Gb=function(){return _.z(this,1)};LSc.prototype.Dc=function(a){return _.x(this,1,a)};LSc.prototype.Xj=function(){return _.z(this,3)};var MSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(MSc,_.P);var NSc=[1,2],OSc=function(a){_.Q(this,a,0,-1,NSc,null)};_.L(OSc,_.P);OSc.prototype.Mw=function(){return _.Oj(this,_.qo,1)};
var PSc=[1,2,4],QSc={SUCCESS:1,yAb:2,Gsb:3,fpb:4,JAb:5,Jvb:6,Cvb:7,tpb:8,Hzb:9,Wzb:10,xAb:11,Sqb:12,xqb:13,wtb:14,esb:15,Cqb:16,Bqb:17,Hqb:18,Eqb:19,Fqb:20,lAb:21,HAb:22,awb:23,ivb:24,opb:25,PERMISSION_DENIED:26,Fub:27,xpb:28,wpb:29,INTERRUPTED:30,ywb:31,Lwb:32,brb:33,frb:34,Ozb:35,orb:36,fsb:37,erb:38,Bvb:39,cqb:40,twb:41,Nwb:42,Fzb:43,Opb:44,bqb:45,csb:46,Bub:47,Avb:48,Svb:49,uwb:50,yzb:51,yqb:52,Gzb:53,Ezb:54,Vpb:55,Spb:56,yrb:57,Zub:58,vwb:59,bub:60,Qxb:61,Eyb:62,kzb:63,Ltb:64,kvb:65,MAb:66,qrb:67,
gsb:68,wAb:69,Ptb:70,vpb:71,Gpb:72,Myb:73,lzb:74,hzb:75,fzb:76,Ayb:190,ezb:191,Nyb:192,Tyb:126,Pyb:128,Qyb:129,Ryb:130,Syb:131,Uyb:132,Vyb:133,Zxb:127,Wxb:134,Xxb:135,ayb:136,byb:137,cyb:138,Yxb:194,$xb:195,dyb:196,Vxb:197,Dyb:189,Pxb:139,Rxb:140,eyb:141,fyb:142,ryb:143,uyb:144,vyb:145,wyb:146,xyb:147,yyb:148,zyb:149,Cyb:150,Iyb:151,Kyb:152,Lyb:153,Oyb:154,Wyb:155,Yyb:156,Zyb:157,$yb:158,azb:159,bzb:160,czb:161,gzb:162,jzb:163,mzb:164,Sxb:165,Txb:166,Uxb:167,Nxb:168,Oxb:169,iyb:170,gyb:171,hyb:172,
jyb:173,kyb:174,lyb:175,myb:176,nyb:177,oyb:178,pyb:179,qyb:180,syb:181,tyb:182,Byb:106,Jyb:183,Xyb:184,dzb:185,Fyb:186,Gyb:187,Hyb:188,izb:244,swb:77,BAb:78,GAb:79,Nub:80,Btb:81,Dtb:82,xrb:83,bsb:84,Gub:85,eAb:86,drb:87,Rtb:88,Qtb:89,pzb:90,nzb:91,ozb:92,CAb:93,pqb:94,oqb:95,lqb:96,nqb:97,mqb:98,LAb:99,Bxb:100,Kqb:101,Dqb:102,Iqb:103,Gqb:104,Jqb:105,hsb:107,Tzb:108,vxb:109,pAb:110,ksb:111,jsb:112,gub:113,hub:114,Rwb:115,Wpb:116,oub:117,Erb:118,DAb:119,Fvb:120,Gvb:121,xtb:193,Aqb:122,Wqb:123,Atb:124,
fvb:125,Stb:198,Bwb:199,Itb:200,Vob:201,Ntb:202,Mtb:203,ypb:204,cBb:205,vub:206,jqb:207,Evb:208,Mwb:209,xxb:210,ipb:211,eub:212,lub:213,Jzb:214,Izb:215,Ktb:216,utb:217,Jtb:218,srb:219,Xzb:220,trb:221,cub:222,Qzb:223,QAb:224,ovb:225,Pzb:226,Yqb:227,uub:228,wrb:229,eqb:230,cAb:231,gvb:232,FILE_TOO_LARGE:233,Otb:234,rrb:235,$rb:236,Iwb:237,lvb:238,Fob:239,gqb:240,svb:241,Hxb:242,crb:243,Tob:245,Etb:246,Uvb:247,Ctb:248,Mub:249,jvb:250,dsb:251,Jsb:252,fub:253,Tpb:254,isb:255,KAb:256,Bsb:257},RSc=function(a){_.di.call(this,
a)};_.J(RSc,_.di);var FOc=[1004,1005,1002,1003],POc=[1002,1003,1005],SSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(SSc,_.P);SSc.prototype.Gb=function(){return _.z(this,1)};SSc.prototype.Dc=function(a){return _.x(this,1,a)};SSc.prototype.V=function(){return _.C(this,_.iC,2)};var TSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(TSc,_.P);_.g=TSc.prototype;_.g.Jxa=function(){return _.E(this,1)};_.g.Wk=function(a){return _.x(this,1,a)};_.g.Jl=function(){return _.E(this,2)};
_.g.ov=function(){return _.E(this,3)};_.g.dVa=function(){return _.E(this,4)};var pQ=[[13,19,12,11,10,15,14,9,8,18,17,16]],USc=function(a){_.Q(this,a,0,-1,null,null)};_.L(USc,_.P);USc.prototype.PF=function(){return _.E(this,1)};USc.prototype.NS=function(){return null!=_.z(this,1)};USc.prototype.V=function(){return _.E(this,2)};var VSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(VSc,_.P);var WSc=[1],XSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(XSc,_.P);
XSc.prototype.PF=function(){return _.E(this,1)};XSc.prototype.NS=function(){return null!=_.z(this,1)};XSc.prototype.V=function(){return _.E(this,2)};var YSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(YSc,_.P);_.g=YSc.prototype;_.g.getLabel=function(){return _.z(this,1)};_.g.Hd=function(a){return _.x(this,1,a)};_.g.ub=function(){return _.z(this,2)};_.g.hc=function(a){return _.x(this,2,a)};_.g.El=function(){return _.x(this,2,void 0)};_.g.Th=function(){return null!=_.z(this,2)};
_.g.getCapabilities=function(){return _.C(this,XSc,3)};_.g.xn=function(a){return _.R(this,3,a)};_.g.VUa=function(){return _.C(this,TSc,4)};var ZSc=function(a){_.Q(this,a,0,-1,WSc,null)};_.L(ZSc,_.P);ZSc.prototype.RF=function(){return _.Oj(this,YSc,1)};var $Sc=function(a,b){_.Qj(a,1,b)},aTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aTc,_.P);aTc.prototype.V=function(){return _.z(this,1)};aTc.prototype.DN=function(){return null!=_.z(this,1)};
aTc.prototype.getOptions=function(){return _.C(this,ZSc,2)};var bTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(bTc,_.P);bTc.prototype.W=function(){return _.z(this,1)};bTc.prototype.V=function(){return _.z(this,2)};var cTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cTc,_.P);cTc.prototype.DN=function(){return null!=_.z(this,1)};cTc.prototype.getOptions=function(){return _.C(this,bTc,2)};var dTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(dTc,_.P);dTc.prototype.W=function(){return _.z(this,1)};
dTc.prototype.V=function(){return _.z(this,2)};var eTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(eTc,_.P);var fTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(fTc,_.P);fTc.prototype.DN=function(){return null!=_.z(this,1)};fTc.prototype.getOptions=function(){return _.C(this,eTc,2)};var qQ=[[3,4,5,6,7,8,9,10,11,12]],gTc=function(a){_.Q(this,a,0,-1,null,qQ)};_.L(gTc,_.P);_.g=gTc.prototype;_.g.c2=function(a){return _.Pj(this,3,qQ[0],a)};_.g.qKa=function(a){return _.Pj(this,4,qQ[0],a)};
_.g.MJa=function(a){return _.Pj(this,5,qQ[0],a)};_.g.LJa=function(a){return _.Pj(this,6,qQ[0],a)};_.g.zJa=function(a){return _.Pj(this,7,qQ[0],a)};_.g.cKa=function(a){return _.Pj(this,8,qQ[0],a)};_.g.bKa=function(a){return _.Pj(this,9,qQ[0],a)};_.g.uKa=function(a){return _.Pj(this,10,qQ[0],a)};_.g.Iba=function(a){return _.Pj(this,11,qQ[0],a)};_.g.tba=function(a){return _.Pj(this,12,qQ[0],a)};var hTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hTc,_.P);var iTc=function(a){_.Q(this,a,0,-1,null,null)};
_.L(iTc,_.P);iTc.prototype.V=function(){return _.z(this,1)};iTc.prototype.DN=function(){return null!=_.z(this,1)};iTc.prototype.getOptions=function(){return _.C(this,hTc,2)};var jTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(jTc,_.P);jTc.prototype.zza=function(){return _.z(this,1)};jTc.prototype.V=function(){return _.z(this,4)};var kTc=function(a){_.Q(this,a,0,-1,null,pQ)};_.L(kTc,_.P);_.g=kTc.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};
_.g.YUa=function(){return _.z(this,2)};_.g.Cm=function(){return _.z(this,4)};_.g.XUa=function(){return _.C(this,TSc,5)};_.g.getCapabilities=function(){return _.C(this,USc,6)};_.g.xn=function(a){return _.R(this,6,a)};_.g.cVa=function(){return _.z(this,7)};_.g.zJa=function(a){return _.Pj(this,13,pQ[0],a)};_.g.WUa=function(){return _.C(this,jTc,19)};_.g.tba=function(a){return _.Pj(this,19,pQ[0],a)};_.g.LJa=function(a){return _.Pj(this,12,pQ[0],a)};_.g.MJa=function(a){return _.Pj(this,11,pQ[0],a)};
_.g.q_a=function(){return _.C(this,dTc,10)};_.g.ZUa=function(){return _.C(this,aTc,15)};_.g.bKa=function(a){return _.Pj(this,15,pQ[0],a)};_.g.$Ua=function(){return _.C(this,ZSc,14)};_.g.cKa=function(a){return _.Pj(this,14,pQ[0],a)};_.g.qKa=function(a){return _.Pj(this,9,pQ[0],a)};_.g.aVa=function(){return _.C(this,bTc,8)};_.g.c2=function(a){return _.Pj(this,8,pQ[0],a)};_.g.bVa=function(){return _.C(this,iTc,18)};_.g.Iba=function(a){return _.Pj(this,18,pQ[0],a)};
_.g.uKa=function(a){return _.Pj(this,17,pQ[0],a)};var lTc=[5,7,9],mTc=function(a){_.Q(this,a,0,-1,lTc,null)};_.L(mTc,_.P);_.g=mTc.prototype;_.g.getUser=function(){return _.C(this,_.tk,1)};_.g.Bw=function(a){_.x(this,2,a)};_.g.Xqa=function(a){return _.x(this,3,a)};_.g.ura=function(a){return _.x(this,4,a)};_.g.d2=function(a){return _.x(this,5,a||[])};_.g.qAa=function(){return _.z(this,6)};_.g.nra=function(a){return _.x(this,6,a)};_.g.yja=function(){return _.z(this,7)};
_.g.b2=function(a){return _.x(this,7,a||[])};_.g.cra=function(a){return _.x(this,8,a)};_.g.P1=function(a){return _.x(this,9,a||[])};var nTc=[7,10,12,16,13,3],rQ=function(a){_.Q(this,a,0,-1,nTc,null)};_.L(rQ,_.P);var sQ=function(a){return _.z(a,4)};_.g=rQ.prototype;_.g.Bw=function(a){_.x(this,4,a)};_.g.Xqa=function(a){return _.x(this,5,a)};_.g.UUa=function(){return _.z(this,6)};_.g.ura=function(a){return _.x(this,6,a)};_.g.d2=function(a){return _.x(this,7,a||[])};
_.g.TUa=function(){return _.z(this,8)};var oTc=function(a,b){return _.x(a,8,b)};_.g=rQ.prototype;_.g.qAa=function(){return _.z(this,9)};_.g.nra=function(a){return _.x(this,9,a)};_.g.yja=function(){return _.z(this,10)};_.g.b2=function(a){return _.x(this,10,a||[])};_.g.SUa=function(){return _.z(this,11)};_.g.cra=function(a){return _.x(this,11,a)};_.g.P1=function(a){return _.x(this,12,a||[])};_.g.$_a=function(){return _.C(this,_.tk,15)};var pTc=function(a,b){return _.R(a,15,b)};
rQ.prototype.W=function(){return _.Oj(this,_.tk,16)};var qTc=function(a,b){_.Qj(a,16,b)};rQ.prototype.ma=function(a,b){return _.Rj(this,16,a,_.tk,b)};rQ.prototype.V=function(){return _.z(this,17)};var rTc=function(a,b){return _.x(a,17,b)};rQ.prototype.ka=function(){return null!=_.z(this,17)};var sTc=function(a,b){_.Qj(a,13,b)};rQ.prototype.getId=function(){return _.z(this,14)};rQ.prototype.kc=function(a){return _.x(this,14,a)};rQ.prototype.getName=function(){return _.z(this,1)};
rQ.prototype.zd=function(a){return _.x(this,1,a)};var tTc=[2],tQ=function(a){_.Q(this,a,0,-1,tTc,null)};_.L(tQ,_.P);tQ.prototype.getName=function(){return _.z(this,1)};tQ.prototype.zd=function(a){return _.x(this,1,a)};tQ.prototype.V=function(){return _.Oj(this,rQ,2)};var uTc=function(a,b){_.Qj(a,2,b)};tQ.prototype.Hc=function(){return _.z(this,3)};var vTc=function(a,b){return _.x(a,3,b)},wTc=[5],xTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xTc,_.P);_.g=xTc.prototype;
_.g.PF=function(){return _.E(this,1)};_.g.NS=function(){return null!=_.z(this,1)};_.g.nVa=function(){return _.E(this,2)};_.g.QZa=function(){return _.E(this,3)};_.g.oVa=function(){return _.E(this,4)};var uQ=function(a){_.Q(this,a,0,-1,wTc,null)};_.L(uQ,_.P);uQ.prototype.getName=function(){return _.z(this,1)};uQ.prototype.zd=function(a){return _.x(this,1,a)};uQ.prototype.Qk=function(){return _.z(this,2)};var yTc=function(a,b){return _.x(a,2,b)};uQ.prototype.W=function(){return _.z(this,14)};
var zTc=function(a,b){return _.x(a,14,b)};_.g=uQ.prototype;_.g.getTitle=function(){return _.z(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Uf=function(){return _.z(this,4)};_.g.Bl=function(a){return _.x(this,4,a)};_.g.ol=function(){return _.Oj(this,kTc,5)};var ATc=function(a,b){_.Qj(a,5,b)},BTc=function(a,b){_.R(a,6,b)},CTc=function(a,b){_.R(a,7,b)},DTc=function(a,b){_.R(a,8,b)};uQ.prototype.V=function(){return _.C(this,TSc,12)};var ETc=function(a,b){_.R(a,12,b)};
uQ.prototype.getCapabilities=function(){return _.C(this,xTc,13)};uQ.prototype.xn=function(a){return _.R(this,13,a)};var FTc={EAb:0,Xub:1,bwb:2,Qvb:3,Ttb:4,gpb:5,Yub:6,Rvb:7,etb:8,npb:9,Ovb:10},vQ=function(){this.H={};this.ha=6;this.V=null};vQ.prototype.Gb=function(){return this.ha};vQ.prototype.Dc=function(a){this.ha=a};vQ.prototype.Re=function(){return this.V};var GTc=function(a,b){a.V=b};vQ.prototype.gs=function(){return this.H};var HTc=function(a,b){a.H=b};
vQ.prototype.Cc=function(a){var b=[];_.ff(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})};ITc=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};_.OP=function(){vQ.apply(this,arguments)};_.J(_.OP,vQ);var JTc=function(){vQ.apply(this,arguments)};_.J(JTc,vQ);var wQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(wQ,_.P);wQ.prototype.getType=function(){return _.z(this,1)};
var KTc=function(a){var b=new wQ;return _.x(b,1,a)},LTc=function(a,b){return _.R(a,2,b)};wQ.prototype.cu=function(){return _.z(this,3)};wQ.prototype.Hu=function(a){return _.x(this,3,a)};wQ.prototype.ri=function(){return _.z(this,4)};wQ.prototype.setPosition=function(a){return _.x(this,4,a)};var MTc=[2],NTc=function(a){_.Q(this,a,0,-1,MTc,null)};_.L(NTc,_.P);NTc.prototype.Gb=function(){return _.z(this,1)};NTc.prototype.Dc=function(a){return _.x(this,1,a)};
var OTc=[2],xQ=function(a){_.Q(this,a,0,-1,OTc,null)};_.L(xQ,_.P);xQ.prototype.Gb=function(){return _.z(this,1)};xQ.prototype.Dc=function(a){return _.x(this,1,a)};xQ.prototype.V=function(){return _.Oj(this,tQ,2)};var PTc=function(a,b){return _.Qj(a,2,b)};xQ.prototype.Xj=function(){return _.z(this,3)};var yQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(yQ,_.P);yQ.prototype.Gb=function(){return _.z(this,1)};yQ.prototype.Dc=function(a){return _.x(this,1,a)};
yQ.prototype.$Y=function(){return _.C(this,_.Ek,2)};QTc=function(a,b){return _.R(a,2,b)};RTc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};STc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Xd:a.c,U6:a.fi,mX:a.dti,RQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,z6:b.ec}}):void 0}};TTc=function(a,b){return new _.eN(_.oFc.bound(a,b,void 0,void 0))};
UTc=function(){var a=new _.Ih,b=_.AFc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Ed(_.cN(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.VTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.VTc,_.P);_.VTc.prototype.Vp=function(){return _.z(this,1)};_.VTc.prototype.setSize=function(a){return _.x(this,2,a)};_.VTc.prototype.getUrl=function(){return _.z(this,3)};_.WTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WTc,_.P);
_.WTc.prototype.getType=function(){return _.z(this,1)};XTc=[2,3];_.YTc=function(a){_.Q(this,a,0,-1,XTc,null)};_.L(_.YTc,_.P);ZTc=[4,5,6,17,18,24];_.zQ=function(a){_.Q(this,a,0,-1,ZTc,null)};_.L(_.zQ,_.P);_.zQ.prototype.getId=function(){return _.z(this,1)};_.zQ.prototype.kc=function(a){return _.x(this,1,a)};_.zQ.prototype.getName=function(){return _.z(this,2)};_.zQ.prototype.zd=function(a){return _.x(this,2,a)};var $Tc=function(a,b){return _.x(a,4,b||[])},aUc=function(a,b){return _.x(a,5,b||[])};
_.zQ.prototype.xS=function(){return _.E(this,11)};_.zQ.prototype.getType=function(){return _.z(this,23)};_.zQ.prototype.Jl=function(){return _.E(this,33)};var bUc=[3],AQ=function(a){_.Q(this,a,0,-1,bUc,null)};_.L(AQ,_.P);AQ.prototype.V=function(){return _.z(this,1)};var cUc=function(a,b){return _.x(a,1,b)};AQ.prototype.getTitle=function(){return _.z(this,2)};AQ.prototype.setTitle=function(a){return _.x(this,2,a)};AQ.prototype.Bd=function(){return _.Oj(this,_.Ek,3)};
var dUc=function(a,b){return _.Qj(a,3,b)};AQ.prototype.Sf=function(a,b){return _.Rj(this,3,a,_.Ek,b)};AQ.prototype.ka=function(){return _.z(this,4)};var eUc=function(a,b){return _.x(a,4,b)};AQ.prototype.W=function(){return _.C(this,_.uk,5)};var fUc=function(a,b){return _.R(a,5,b)},uPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uPc,_.P);_.sO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.sO,_.P);_.sO.prototype.oe=function(){return _.C(this,_.xe,1)};
var gUc=function(){var a=new _.sO,b=_.ye(new _.xe,301);return _.R(a,1,b)};_.sO.prototype.wc=function(){return _.z(this,3)};var hUc=[2],BQ=function(a){_.Q(this,a,0,-1,hUc,null)};_.L(BQ,_.P);BQ.prototype.Gb=function(){return _.z(this,1)};BQ.prototype.Dc=function(a){return _.x(this,1,a)};BQ.prototype.Zi=function(){return _.Oj(this,AQ,2)};var iUc=function(a,b){return _.Qj(a,2,b)};BQ.prototype.getSessionId=function(){return _.C(this,_.Al,3)};BQ.prototype.setSessionId=function(a){return _.R(this,3,a)};
_.JO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JO,_.P);_.JO.prototype.wc=function(){return _.z(this,1)};_.QP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QP,_.P);_.g=_.QP.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.xM=function(){return _.Gj(this,2,_.iC)};_.g.Xj=function(){return _.z(this,3)};_.g.Re=function(){return _.z(this,5)};var jUc=function(a,b){_.x(a,5,b)},kUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kUc,_.P);
kUc.prototype.Uf=function(){return _.D(this,1,"")};kUc.prototype.Bl=function(a){return _.Kj(this,1,a)};kUc.prototype.getUrl=function(){return _.D(this,2,"")};_.CQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.CQ,_.P);_.CQ.prototype.getType=function(){return _.D(this,1,0)};_.CQ.prototype.getContext=function(){return _.C(this,kUc,2)};_.CQ.prototype.Fk=function(a){return _.R(this,2,a)};var lUc=[1],mUc=[2],nUc=function(a){_.Q(this,a,0,-1,mUc,null)};_.L(nUc,_.P);
nUc.prototype.getLabel=function(){return _.D(this,1,"")};nUc.prototype.Hd=function(a){return _.Kj(this,1,a)};_.oUc=function(a){_.Q(this,a,0,-1,lUc,null)};_.L(_.oUc,_.P);_.oUc.prototype.V=function(){return _.Oj(this,nUc,1)};_.pUc=[[2,3,4]];_.DQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DQ,_.P);_.DQ.prototype.Cm=function(){return _.D(this,3,"")};_.DQ.prototype.Gs=function(a){return _.Kj(this,4,a)};_.qUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.qUc,_.P);
_.rUc=function(a){_.Q(this,a,0,-1,null,_.pUc)};_.L(_.rUc,_.P);var sUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sUc,_.P);tUc=[3,5];_.EQ=[[8,9,10,11,12,13]];uUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uUc,_.P);var vUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(vUc,_.P);_.wUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.wUc,_.P);_.xUc=function(a){_.Q(this,a,0,-1,tUc,_.EQ)};_.L(_.xUc,_.P);_.xUc.prototype.Gb=function(){return _.D(this,6,0)};_.xUc.prototype.Dc=function(a){return _.Lj(this,6,a)};
var yUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yUc,_.P);var zUc=[1],AUc=function(a){_.Q(this,a,0,-1,zUc,null)};_.L(AUc,_.P);var BUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BUc,_.P);var CUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(CUc,_.P);var DUc=[1],EUc=[2],FUc=function(a){_.Q(this,a,0,-1,EUc,null)};_.L(FUc,_.P);_.GUc=function(a){_.Q(this,a,0,-1,DUc,null)};_.L(_.GUc,_.P);_.GUc.prototype.V=function(){return _.Oj(this,FUc,1)};HUc=[7];_.IUc=[[1,2,3]];
_.JUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JUc,_.P);_.KUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.KUc,_.P);_.LUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.LUc,_.P);_.MUc=function(a){_.Q(this,a,0,-1,HUc,_.IUc)};_.L(_.MUc,_.P);_.NUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.NUc,_.P);_.NUc.prototype.getName=function(){return _.D(this,1,"")};_.NUc.prototype.zd=function(a){return _.Kj(this,1,a)};var OUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(OUc,_.P);
OUc.prototype.getName=function(){return _.D(this,1,"")};OUc.prototype.zd=function(a){return _.Kj(this,1,a)};OUc.prototype.getTitle=function(){return _.D(this,2,"")};OUc.prototype.setTitle=function(a){return _.Kj(this,2,a)};var FQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(FQ,_.P);FQ.prototype.getName=function(){return _.D(this,1,"")};FQ.prototype.zd=function(a){return _.Kj(this,1,a)};FQ.prototype.getTitle=function(){return _.D(this,2,"")};FQ.prototype.setTitle=function(a){return _.Kj(this,2,a)};
var PUc=[[1,4]],QUc=function(a){_.Q(this,a,0,-1,null,PUc)};_.L(QUc,_.P);QUc.prototype.getUser=function(){return _.C(this,_.rUc,1)};QUc.prototype.W=function(){return null!=_.z(this,4)};QUc.prototype.$Y=function(){return _.C(this,FQ,2)};var RUc=[[8,9,10]],SUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(SUc,_.P);_.TUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TUc,_.P);_.TUc.prototype.getType=function(){return _.D(this,6,0)};_.UUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UUc,_.P);
var GQ=function(a){_.Q(this,a,0,-1,null,RUc)};_.L(GQ,_.P);_.g=GQ.prototype;_.g.getName=function(){return _.D(this,1,"")};_.g.zd=function(a){return _.Kj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Kj(this,2,a)};_.g.Sb=function(){return _.D(this,6,"")};_.g.oJ=function(){return _.C(this,QUc,7)};var VUc=[[8,9,10]],HQ=function(a){_.Q(this,a,0,-1,null,VUc)};_.L(HQ,_.P);HQ.prototype.getName=function(){return _.D(this,1,"")};
HQ.prototype.zd=function(a){return _.Kj(this,1,a)};HQ.prototype.getTitle=function(){return _.D(this,2,"")};HQ.prototype.setTitle=function(a){return _.Kj(this,2,a)};WUc=[[1,3]];_.IQ=function(a){_.Q(this,a,0,-1,null,WUc)};_.L(_.IQ,_.P);_.IQ.prototype.V=function(){return _.C(this,HQ,1)};_.IQ.prototype.W=function(){return null!=_.z(this,3)};_.IQ.prototype.$Y=function(){return _.C(this,FQ,2)};_.XUc=[[1,2,3]];YUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(YUc,_.P);
var ZUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(ZUc,_.P);_.$Uc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$Uc,_.P);_.aVc=function(a){_.Q(this,a,0,-1,null,_.XUc)};_.L(_.aVc,_.P);bVc=[2,3];_.cVc=function(a){_.Q(this,a,0,-1,bVc,null)};_.L(_.cVc,_.P);_.cVc.prototype.getType=function(){return _.D(this,1,0)};_.dVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dVc,_.P);_.dVc.prototype.getType=function(){return _.D(this,1,0)};var eVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(eVc,_.P);
eVc.prototype.getType=function(){return _.D(this,1,0)};var fVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(fVc,_.P);var gVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(gVc,_.P);var hVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hVc,_.P);iVc=[1,2,4];_.jVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.jVc,_.P);_.kVc=function(a){_.Q(this,a,0,-1,iVc,null)};_.L(_.kVc,_.P);_.JQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JQ,_.P);_.JQ.prototype.getEmail=function(){return _.D(this,1,"")};
_.JQ.prototype.getTitle=function(){return _.D(this,2,"")};_.JQ.prototype.setTitle=function(a){return _.Kj(this,2,a)};_.KQ=[[2,3,4,5]];_.LQ=function(a){_.Q(this,a,0,-1,null,_.KQ)};_.L(_.LQ,_.P);_.LQ.prototype.Hg=function(){return _.D(this,1,0)};_.LQ.prototype.getUser=function(){return _.C(this,_.rUc,2)};var lVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(lVc,_.P);mVc=[1,2,3,4];_.nVc=function(a){_.Q(this,a,0,-1,mVc,null)};_.L(_.nVc,_.P);var oVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oVc,_.P);
var pVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(pVc,_.P);_.qVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.qVc,_.P);_.rVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.rVc,_.P);_.rVc.prototype.getType=function(){return _.D(this,1,0)};sVc=[1];_.tVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.tVc,_.P);_.tVc.prototype.getFeature=function(){return _.D(this,1,0)};_.uVc=function(a){_.Q(this,a,0,-1,sVc,null)};_.L(_.uVc,_.P);var vVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(vVc,_.P);
var wVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(wVc,_.P);var xVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xVc,_.P);xVc.prototype.getType=function(){return _.D(this,1,0)};_.MQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.NQ=function(a){_.Q(this,a,0,-1,null,_.MQ)};_.L(_.NQ,_.P);_.yVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.yVc,_.P);var zVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zVc,_.P);_.AVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.AVc,_.P);
_.BVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.BVc,_.P);_.BVc.prototype.getType=function(){return _.D(this,1,0)};_.OQ=[[1,2,3,4,5]];_.CVc=function(a){_.Q(this,a,0,-1,null,_.OQ)};_.L(_.CVc,_.P);_.CVc.prototype.getUser=function(){return _.C(this,_.rUc,1)};var DVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(DVc,_.P);DVc.prototype.getType=function(){return _.D(this,2,0)};_.EVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EVc,_.P);_.g=_.EVc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.zd=function(a){return _.Kj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Kj(this,2,a)};_.g.Ta=function(){return _.C(this,GQ,3)};_.FVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.FVc,_.P);_.FVc.prototype.getParent=function(){return _.C(this,GQ,4)};_.FVc.prototype.Lg=function(a){return _.R(this,4,a)};var GVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(GVc,_.P);_.g=GVc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.zd=function(a){return _.Kj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Kj(this,2,a)};_.g.Ta=function(){return _.C(this,GQ,3)};_.PQ=[[1,5,3]];_.QQ=function(a){_.Q(this,a,0,-1,null,_.PQ)};_.L(_.QQ,_.P);_.QQ.prototype.V=function(){return _.C(this,GQ,1)};_.QQ.prototype.W=function(){return null!=_.z(this,5)};_.QQ.prototype.$Y=function(){return _.C(this,GVc,2)};_.RQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RQ,_.P);
_.RQ.prototype.Cq=function(){return _.C(this,_.ay,2)};_.RQ.prototype.Xv=function(a){_.R(this,2,a)};HVc=[[5,6]];_.IVc=function(a){_.Q(this,a,0,-1,null,HVc)};_.L(_.IVc,_.P);_.IVc.prototype.nn=function(){return _.C(this,DVc,2)};JVc=[3,4,5];KVc=[[6,7]];_.SQ=function(a){_.Q(this,a,0,-1,JVc,KVc)};_.L(_.SQ,_.P);_.SQ.prototype.Pea=function(a){_.Rj(this,4,a,_.IVc,void 0)};var LVc=[1],dPc=function(a){_.Q(this,a,0,-1,LVc,null)};_.L(dPc,_.P);var aQ=[[1,2,3,4,5,6,7]],cPc=function(a){_.Q(this,a,0,-1,null,aQ)};
_.L(cPc,_.P);var TQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(TQ,_.P);TQ.prototype.getQuery=function(){return _.C(this,_.oe,1,1)};var MVc=function(a,b){return _.R(a,1,b)};TQ.prototype.Um=function(){return _.z(this,4)};var NVc=function(a,b){return _.R(a,5,b)},OVc=[1,2,5,7,9,10,12],UQ=function(a){_.Q(this,a,0,-1,OVc,null)};_.L(UQ,_.P);UQ.prototype.Bd=function(){return _.Oj(this,_.Ek,1)};var VQ=function(a,b){return _.Qj(a,1,b)};UQ.prototype.Sf=function(a,b){return _.Rj(this,1,a,_.Ek,b)};
UQ.prototype.qJ=function(){return _.Oj(this,_.tk,2)};var PVc=function(a,b){_.Qj(a,2,b)};UQ.prototype.x4=function(a){_.Rj(this,2,a,_.tk,void 0)};UQ.prototype.ey=function(){return _.z(this,3)};var QVc=function(a,b){return _.x(a,3,b)};UQ.prototype.ln=function(){return _.z(this,4)};var RVc=function(a,b){return _.x(a,4,b)},SVc=function(a,b){return _.Qj(a,5,b)},TVc=function(a,b){return _.x(a,6,b)};UQ.prototype.Lh=function(){return _.C(this,_.yC,8)};UQ.prototype.Mw=function(){return _.Oj(this,_.qo,9)};
UQ.prototype.Sh=function(){return _.z(this,12)};var UVc=function(a,b){return _.x(a,12,b||[])},VVc=function(a,b){return _.x(a,13,b)},WVc={qpb:0,ppb:1,nub:2,Rzb:3,Uzb:4},$P=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],aPc=function(a){_.Q(this,a,0,-1,null,$P)};_.L(aPc,_.P);var gPc=[[1,2]],fPc=function(a){_.Q(this,a,0,-1,null,gPc)};_.L(fPc,_.P);var jPc=[[1,2,3]],iPc=function(a){_.Q(this,a,0,-1,null,jPc)};_.L(iPc,_.P);var XVc=[1],YVc=function(a){_.Q(this,a,0,-1,XVc,null)};_.L(YVc,_.P);
YVc.prototype.XF=function(){return _.D(this,2,"")};var ZVc={fqb:"wb",uAb:"xb",qvb:"yb",kOa:"zb"},$Vc=function(a,b){return 0<=b?!a||a<=b:!0},aWc=function(a,b){return 1<a?2==b:a==b},bWc=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("Se");},WQ=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=WQ.prototype;_.g.clone=function(){return new WQ(this.W.clone(),this.H,this.V,this.ha)};_.g.getId=function(){return this.W.getId()};
_.g.Zb=function(){return this.H};_.g.getItem=function(){return this.W};_.g.setItem=function(a){this.W=a};_.g.xP=function(a){this.V=a};_.g.ey=function(){return this.ha};_.g.equals=function(a){return this.H==a.Zb()&&this.V==a.V&&this.ha==a.ey()&&_.Uj(this.W,a.getItem())};var cWc=function(a){_.N.call(this);this.V={};this.ma={};this.ta=a;this.ka=!0;this.W=null;this.ha=!1};_.J(cWc,_.N);
var XQ=function(a,b,c){if(a.ha)throw Error("Te");c={jm:_.sf(b),callback:c};b=_.u(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)}},YQ=function(a,b){if(!a.ha)throw Error("Ue");if(!a.ka)throw Error("Ve`"+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.jm[b];if(_.nf(e.jm))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};cWc.prototype.H=function(a){return!!this.ma[a]};cWc.prototype.start=function(){this.ha=!0};cWc.prototype.ab=function(){_.N.prototype.ab.call(this);delete this.V};_.RP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.uIc=function(a){this.H=a};dWc=function(){};eWc=function(a){this.H=a};_.vIc=function(a){this.H=a};IPc=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.Kv=f;this.ha=h;this.V=k};
_.TP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.BIc=function(a,b){this.request=a;this.pageToken=b||""};fWc=function(a){this.pageToken=a||""};gWc=function(){};_.DIc=function(a,b){this.request=a;this.pageToken=b||""};_.UP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.VP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.SP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};hWc=function(a,b){this.response=a;this.pageToken=b||""};VOc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};iWc=function(a,b){return VOc()?(new _.m.Intl.Collator([a||"en-US"],b||{})).compare:function(c,d){return c.localeCompare(d)}};jWc=function(a){return[].concat(_.nc(new Set(a.map(function(b){return _.IGc.get(b)}).filter(function(b){return b})))).join(",")};
ZQ=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.nc(b));b=jWc(b);var d=_.oN(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":
_.A(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";_.A(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"};kWc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+ZQ(a,b,!1)+")"};lWc=function(a){var b=new _.vp;_.vP(b,"hidden",a.Jl());(a=_.E(a,6))&&_.vP(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()};mWc=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}};
nWc=function(a){var b=VOc(),c={};b&&(c.numeric=b);this.H=iWc(a,c)};nWc.prototype.compare=function(a,b,c){b=oWc(b);c=oWc(c);a=a.Ud();var d=mWc(a);if(a&&d){d=pWc(this,a);var e=4==a.getType()?this.H:_.za;return qWc(a,d,e,b,c)}return _.za(b.getId(),c.getId())};nWc.prototype.sort=function(a,b,c){a=a.Ud();var d=mWc(a);a&&d&&(d=pWc(this,a),d=rWc(b,d),_.Da(b,sWc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var oWc=function(a){return a instanceof _.Ek?a:a.getItem()},pWc=function(a,b){b=mWc(b);return _.K(a.V,a,b,_.za)},rWc=function(a,b){var c={};a.forEach(function(d){d=oWc(d);var e=d.getId();c[e]=b(d)});return c},sWc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.za;d=oWc(d);e=oWc(e);return qWc(b,function(h){return c[h.getId()]},f,d,e)}},qWc=function(a,b,c,d,e){var f=1==a.jh()?1:-1;if(_.E(a,3)){a=_.QN(d,!0);var h=_.QN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.za(d.getId(),
e.getId()))};nWc.prototype.V=function(a,b,c){for(var d=tWc(a[0],c),e=1;e<a.length;e++){var f=tWc(a[e],c);d=1==b(f,d)?f:d}return d};
var tWc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Sb()||"";case 4:return b.Vx()||!1;case 12:return b.Ux()||0;case 11:return b.Oz()||0;case 10:return b.yq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.wv()||0;case 57:return _.z(b,62)||0;case 32:return b.Fz()||0;case 9:return b.gB()||0;case 67:return b.sJ()||0;case 98:return b.nB()||0;default:return""}},uWc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.ZM(b.Se());this.W="";a=_.nN(b);this.ka=
!(!a||!_.A(a,1,!1))},$Q=function(a,b,c){b=_.Vj(b);"root"==b.getId()&&b.kc(a.W);_.cP(b).filter(function(d){return"root"==d.ub()}).forEach(function(d){return d.hc(a.W)});_.we(b,_.bP(b).map(function(d){d.hc(d.ub().toLowerCase());return d}));c&&_.Uk(b,a.V);b.Sh().sort();return b},aR=function(a,b,c){if(b instanceof _.oe){b=$Q(a,b);var d=_.lLc(b)}else if(b instanceof _.mo)d=b.Kl().sort().join(","),_.A(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.SM)return d=lWc(b),d+"|tdList";if(b instanceof _.uo)return d=
b.Kl().sort().join(","),b.Sh().length&&(d+="|"+jWc(b.Sh())),d+"|tdMap";throw Error("Ze");}return 3==c?d:d+"|"+vWc(a,b.Sh(),2==c)},vWc=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(_.nc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.ON({fields:[].concat(_.nc(f)),lw:a.H}));e.size&&(d=d+" + "+_.ON({fields:[].concat(_.nc(e)),lw:a.H}));
return d};uWc.prototype.equals=function(a,b,c){var d;c&&(d=3);return aR(this,a,d)==aR(this,b,d)};
var wWc=function(a){if(!a.Kl().every(function(b){return!_.Cc(b)}))throw new _.qb("Invalid ids for FindByIdsRequest");},yWc=function(a,b,c){if(_.kO(b))throw new _.qb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");xWc(a,b,c)},xWc=function(a,b,c){var d=_.KN(3);if(b.getId())throw new _.qb("Use findByIds() for find by id queries.",d);if(!b.th()||0>=b.th())throw new _.qb("A positive limit is required on an ItemQueryRequest.",d);_.z(b,33);a.ka&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),zWc(a,d,b.Sh()));if(c=(c=b.Ud())&&mWc(c))d=b.Sh().length?b.Sh():a.V,zWc(a,d,c);if(_.jO(b)){if(a.H)throw new _.qb("User must be authenticated for a Quick Access request.");if(!AWc(a)&&20<b.th())throw new _.qb("Limit must be in the range [1, 20].");c=2==_.fP(b);d=_.z(b,33).length;if(c&&1!=d||d&&!c)throw new _.qb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.we(_.x(_.x(_.HN(_.x(_.Wk(_.Uk(b.clone(),[]),void 0),32,void 0),[]),
45,void 0),47,void 0),[]);d=new _.oe;if(!_.Uj(c,d))throw new _.qb("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: "+GSc(d,c));}if(_.lO(b)){if(a.H)throw new _.qb("User must be authenticated for a DrivePriority request.");if(2==_.fP(b))throw new _.qb("Team Drive corpora is not valid for a Drive Priority request.");a=_.x(_.x(_.x(_.Wk(_.Uk(b.clone(),[]),void 0),32,void 0),45,void 0),
52,void 0);b=new _.oe;if(!_.Uj(a,b))throw new _.qb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+GSc(b,a));}},BWc=function(a,b,c){if(!_.kO(b))throw new _.qb("Expected a PeoplePredict request.");xWc(a,b,c);if(a.H)throw new _.qb("User must be authenticated for a People Predict request.");if(2==_.fP(b))throw new _.qb("Team Drive corpora is not valid for a People Predict request.");a=_.x(_.x(_.x(_.Wk(_.Uk(b.clone(),
[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.oe;if(!_.Uj(a,b))throw new _.qb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+GSc(b,a));},zWc=function(a,b,c){var d=_.KN(3);if(!JOc(b,c,!0)){var e=_.ON({fields:c,lw:a.H}),f=_.ON({fields:b,lw:a.H});a=_.ON({fields:KOc(c,b),lw:a.H});throw new _.qb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),
d);}},AWc=function(a){return 200<=_.hP(a.ha)&&300>_.hP(a.ha)},CWc=function(a){var b=new Set;_.bP(a).forEach(function(c){switch(_.L_a(c.ub())){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(_.nc(b))},DWc=function(a){switch(_.hP(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"}},EWc=function(){this.Lp=[]};_.J(EWc,_.xP);
EWc.prototype.add=function(a,b){var c=a.Jr.request;return c instanceof _.HO&&_.z(c.request,12)?_.xP.prototype.add.call(this,a,b):!1};EWc.prototype.H=function(a){return this.Lp.splice(0,Math.min(a,1))};var FWc=function(a,b){this.Lp=[];this.V=b};_.J(FWc,_.xP);FWc.prototype.add=function(a,b){return a.Jr.request instanceof _.HO?!1:_.xP.prototype.add.call(this,a,b)};
FWc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Lp.length&&b.length<a;f++){var h=this.Lp[f],k=h.Jr.request;"undefined"!=typeof _.YN&&k instanceof _.YN||"undefined"!=typeof _.hO&&k instanceof _.hO||"undefined"!=typeof _.xO&&k instanceof _.xO?k="app|"+k.V():k instanceof _.TN||k instanceof _.UN||k instanceof _.$N||k instanceof _.pN?k="item|"+(k instanceof _.TN?k.Hc():k.getId()):"undefined"!=typeof _.aO&&k instanceof _.aO||"undefined"!=typeof _.iO&&k instanceof _.iO?k="item|"+k.Hc():
k instanceof _.bO||k instanceof _.zO?k="item|"+k.Hc():"undefined"!=typeof _.ID&&k instanceof _.ID||"undefined"!=typeof _.HD&&k instanceof _.HD?(k="undefined"!=typeof _.ID&&k instanceof _.ID?k.V().getKey():k.getKey(),k="pref|"+_.z(k,2)+"|"+_.ro(k)):k=k instanceof _.cO?"td|"+k.getId():null;var l=h.Jr.request;if(l instanceof _.WN)l=!!_.E(l,8);else if(l instanceof _.UN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Sb()&&_.$cb.has(l.Sb()));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++)_.ma(this.Lp,c[a]);return b};var GWc=function(a,b){_.N.call(this);this.Ff=a;this.H=b};_.L(GWc,_.N);_.g=GWc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Ff.V.registerService(this.H+":"+a,(0,_.K)(this.Cxa,this,b),c)};_.g.KU=function(a){this.V=(0,_.K)(this.Cxa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("cf");this.Ff.V.send(this.H+":"+a,b)};
_.g.Cxa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.g.ab=function(){this.Ff=this.Ff.H[this.H]=null};var HWc=function(a){_.N.call(this);this.V=a;this.H={};this.V.KU((0,_.K)(this.W,this))};_.L(HWc,_.N);var IWc=function(a,b){if(-1!=b.indexOf(":"))throw Error("af`"+b);if(b in a.H)throw Error("bf`"+b);var c=new GWc(a,b);return a.H[b]=c};HWc.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)}};
HWc.prototype.ab=function(){_.ff(this.H,function(a){_.fc(a)});_.fc(this.V);delete this.H;delete this.V};var JWc=function(a){_.N.call(this);this.H=a};_.L(JWc,_.N);_.g=JWc.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.nb(function(d){d.registerService(a,b,c)})};_.g.KU=function(a){this.H.nb(function(b){b.KU(a)})};_.g.send=function(a,b){this.H.nb(function(c){c.send(a,b)})};
_.g.ab=function(){this.cancel();JWc.mb.ab.call(this)};var XOc=function(a){_.Wz.call(this);this.H=a;this.V=_.pd(this.H,"message",this.TTa,!1,this)};_.L(XOc,_.Wz);_.g=XOc.prototype;_.g.le=null;_.g.send=function(a,b){var c=[];b=this.dia(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.MGc&&(a=(0,_.si)(a));this.H.postMessage(a,c)};
_.g.TTa=function(a){a=a.Lf;var b=a.data;if(_.MGc)try{b=JSON.parse(b)}catch(d){return}if(_.wa(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.payload;if(b=this.getService(b.serviceName,c))c=_.g9a(this.Vka(a.ports||[],c),b.ooa),null!=c&&b.callback(c)}};
_.g.dia=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)?_.me(b,(0,_.K)(this.dia,this,a)):b&&b.constructor==Object?_.hf(b,function(c,d){c=this.dia(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Vka=function(a,b){return Array.isArray(b)?_.me(b,(0,_.K)(this.Vka,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.hf(b,function(c,d){return this.Vka(a,"_port"==d?c.val:c)},this):b};_.g.ab=function(){_.ki(this.V);"[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;XOc.mb.ab.call(this)};
var KWc=function(a,b){if("*"==b)return new JWc(_.Qh(Error("df")));var c=new _.mi(50),d=_.Re(_.fc,c),e=new _.Ih(d);_.Kh(e,d);c.start();_.pd(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new XOc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new JWc(e)},LWc=function(a){_.N.call(this);this.H=new HWc(a);this.W={};this.V=IWc(this.H,
"private");this.ha=IWc(this.H,"public");this.V.registerService("mics",(0,_.K)(this.tRa,this),!0)};_.L(LWc,_.N);_.g=LWc.prototype;_.g.Jcb=0;_.g.ab=function(){_.fc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.Jcb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.tRa=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,_.K)(this.sRa,this,b),!0)};
_.g.sRa=function(a,b){a=a(b.data);var c=b.signature;_.Ah(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var MWc=function(a,b){_.N.call(this);this.W=new HWc(a);this.Pa(this.W);this.H=new LWc(IWc(this.W,"direct"));this.Pa(this.H);a=IWc(this.W,"passthrough");this.ha=b?a:new LWc(a);this.Pa(this.ha);this.V=b;this.ka=!1};_.J(MWc,_.N);MWc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
MWc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Oe)};var bR=function(a,b,c){if(a.V)throw Error("ef");a.ha.registerService(b,c,!0)},cR=function(a,b,c,d){if(a.V)throw Error("ff");a.ha.send(b,c||{},d||_.Oe)};MWc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("gf");};
var ZOc=[],NWc=function(a,b,c,d,e,f,h,k,l){a=a.nf();h=new _.NLc(k,h,d,_.D(a,32,1073741824),_.D(a,21,1E3));h=new _.OLc(h);k=new _.QKc(_.D(a,59,2E3),_.D(a,60,2E4),_.D(a,61,6));var n={};n[1]=_.QLc(b,d);n[2]=_.RLc(b,a,e,c,k,d,l);n[3]=_.SLc(b,a,e,c,k,d,l,"batch");var q=_.D(a,10,50);if(l){var t=new _.sLc(l.getState());var v=new _.nLc(l)}else t=new _.PKc(e,c),v=new _.NKc(c);f=new _.zP(d,b,[t,new _.TKc(q,_.D(a,11,100)),new _.yP(q),new _.rP(k,d)],[new FWc(a,f),new EWc,new _.xP],[v,new _.xLc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.TLc(h,a,d),n[6]=_.SLc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.SLc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.SLc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},dR=function(a){return a instanceof _.Ek?null!=a.getId()&&a.getId()==a.wc():null!=a.Hc()&&a.Hc()==a.wc()},OWc=function(a,b,c){c=void 0===c?[]:c;var d=_.Vj(a),e=b.Yj();null!=e&&LOc(a,_.Vj(e));if((e=b.getCapabilities())&&null!=_.E(e,13)){var f=a.getCapabilities()||new _.yk,h=_.E(e,13);_.x(f,13,h);a.xn(f)}e&&null!=_.E(e,
18)&&(f=a.getCapabilities()||new _.yk,e=_.E(e,18),_.x(f,18,e),a.xn(f));YP(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.Yj()&&YP(a,d,c)},PWc=function(a,b,c){c=void 0===c?[]:c;if(!b||!dR(a)&&!dR(b))return a;if(2==ZP(a)){c=_.z(a,82);var d=_.Vj(b);OWc(d,a);_.CJc(d,ZP(b));_.x(d,82,c);return d}a=_.Vj(a);OWc(a,b,c);return a},QWc=function(a){return(a=a?a.Yj():null)&&a.Jl()||!1},RWc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},SWc=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]={}})},UWc=function(a,b,c){b.every(function(d){return dR(d)})?TWc(b,c,a.V,a.ha):b.every(function(d){return!dR(d)})&&TWc(b,c,a.H,a.W)},TWc=function(a,b,c,d){var e=_.iIc(b,[].concat(_.nc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&YP(f,k,[h])})})};RWc.prototype.update=function(a,b,c){b&&dR(b)?VWc(a,b,this.V,this.ha,c):VWc(a,b,this.H,this.W,c)};var WWc=function(a,b){_.ff(a.H,function(c,d){_.of(a.H[d],b)});_.ff(a.V,function(c,d){_.of(a.V[d],b)})},VWc=function(a,b,c,d,e){_.ff(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.of(f,a);else if(b&&IOc(b,[h])){var k=new _.Ek;k.kc(b.getId());YP(k,b,[h]);f[a]=k}});b&&XP(b,[].concat(_.nc(d)))};
RWc.prototype.clear=function(){var a=this;_.ff(this.H,function(b,c){a.H[c]={}});_.ff(this.V,function(b,c){a.V[c]={}})};
var XWc=/^[\x00-\x7F]*$/,YWc=function(){this.H=""},$Wc=function(a){return ZWc(a)&&0==_.z(a,40).length&&void 0==_.z(a,41)},ZWc=function(a){var b=!0;_.Oj(a,_.re,13).forEach(function(d){"me"!=d.ub()&&(b=!1)});var c=a.Ud();c=!c||5!=c.getType();return 0==_.Oj(a,_.Qk,5).length&&0==_.Oj(a,_.re,14).length&&0==_.Oj(a,_.re,15).length&&null==_.z(a,58)&&!_.E(a,18)&&!_.E(a,34)&&0==_.Oj(a,_.$O,35).length&&0==_.Oj(a,_.$O,38).length&&c&&b&&0==_.z(a,39).length&&!_.z(a,42)&&0==_.Oj(a,_.Lk,44).length&&!_.jO(a)&&!_.kO(a)&&
!_.lO(a)&&0==_.Oj(a,_.Mk,57).length&&aXc(a)&&!_.C(a,_.mna,59)},aXc=function(a){return _.Oj(a,_.Rk,4).every(function(b){return XWc.test(b.ub())})};YWc.prototype.WX=function(a,b){var c=this;return b.filter(function(d){return eR(c,a,d)})};
var eR=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!dR(c);if(d){d=!0;var e=_.Oj(b,_.Rk,4);if(aXc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.ub()){var k=_.A(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.ub().toLowerCase();if(2==_.z(h,1))l=n==l,d=d&&(k?!l:l);else for(h=n.split(/\b|_/),n=0;n<h.length&&d;n++){var q=h[n],t=!0;0!=(0,_.bf)(q).length&&(0==q.replace(/\./g,"").length&&(t=!1),q=!!l.match(new RegExp((t?"(\\b|^|_)":"")+_.mg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.bP(b);e=d=0;k=
f=!1;l=_.u(l);for(h=l.next();!h.done;h=l.next())n=h.value,n.ub()&&(h=_.A(n,2,!1),q=c.Sb(),n=n.ub()==q,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Oj(b,_.Ok,7),e=_.u(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.yq(),d=d&&bXc(k,f);if(d)for(d=!0,e=_.Oj(b,_.Ok,8),e=_.u(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Ux(),d=d&&bXc(k,f);d&&(d=b.Bh(),e=(e=_.fP(b))&&(2==e||3==e),d=null==d||d==!!c.Bh()&&(!d||1==c.xm()||e));d&&(d=null==_.E(b,10)||_.E(b,10)==!!c.Vx());d&&(d=null==b.Jl()||
b.Jl()==!!c.Jl());if(d)a:{d=_.cP(b);d=_.u(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.ub()&&(f="root"==e.ub()&&a.H||e.ub(),f=c.li().includes(f),_.A(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.Oj(b,_.re,13);a=_.u(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.ub()&&(e=1==c.xm(),_.A(d,2,!1)?e:!e)){a=!1;break a}a=!0}a&&(a=null==_.E(b,16)||(_.E(b,16)?null!=c.wv():!0));a&&(a=_.E(b,17),d=(d=_.fP(b))&&(2==d||3==d),a=null==a||a==!!c.cD()&&(!a||1==c.xm()||d));a&&(a=lPc(c),a=null==_.E(b,
19)||_.E(b,19)==!!a.Tp());a&&(a=!0);if(a=a&&cXc(b,c)&&dXc(b,c))a=_.z(b,33),a=!a.length||a.includes(c.wc()||"");if(a=a&&eXc(b,c))_.z(b,41)?(a=_.C(c,_.VO,86),a=null!=a&&_.z(b,41)==_.z(a,3)):a=!0;if(a=a&&fXc(b,c))a=_.fP(b),1==a?(a=_.E(c,31),a=!!_.cP(b).length||!!_.Oj(b,_.$O,35).length||1==_.E(b,18)||_.jO(b)||_.kO(b)||_.lO(b)||!!_.z(b,54)||null==a||a):a=2==a?!!c.wc():!0;a&&(a=_.jO(b)?!!_.Ik(c)&&!c.Bh():!0);a&&(a=_.kO(b)?!!_.Jk(c).length&&!c.Bh():!0);a&&(a=_.lO(b)?!!c.$I().length&&!c.Bh():!0);a&&(a=null!=
_.z(b,50)?_.A(b,50,!1)?null!=_.z(c,101)&&0!==_.z(c,101):null==_.z(c,101):!0);a&&(b=_.z(b,54),a=!b||_.z(c,120).includes(b));return a},bXc=function(a,b){if(null!=_.z(b,2))switch(_.z(b,1)){case 1:return a<=_.z(b,2);case 2:return a<_.z(b,2);case 3:return a==_.z(b,2);case 4:return a>_.z(b,2);case 5:return a>=_.z(b,2);default:return!1}return!0},cXc=function(a,b){var c=_.sf(_.z(b,56));a=_.Oj(a,_.aP,25);return 0==a.length?!0:a.every(function(d){return c[d.ub()]})},dXc=function(a,b){if(0==a.fu().length)return!0;
var c=_.sf(b.fu().map(function(d){return _.z(d,1)}));a=_.sf(a.fu().map(function(d){return _.z(d,1)}));return _.jf(a,function(d,e){return c[e]})},eXc=function(a,b){var c=_.sf(_.z(b,50));a=_.Oj(a,_.Pk,37);return 0==a.length?!0:a.every(function(d){return c[d.ub()]})},fXc=function(a,b){if(_.z(a,40).length){if(b=_.C(b,_.VO,86)){var c=_.sf(_.z(b,2));return _.z(a,40).some(function(d){return c[d]})}return!1}return!0},gXc=function(a,b,c){var d=this;this.W=b;this.ha=c;this.H={};this.V="";a.nb(function(e){d.V=
e})};gXc.prototype.query=function(a,b){var c=this,d=[];$Wc(a)&&(_.ff(this.H,function(e){eR(c.W,a,e.getItem())&&(void 0===b||aWc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};gXc.prototype.get=function(a){return this.H[a]};gXc.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};gXc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,hXc(this,a.H)?(_.of(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.of(this.H,a.id),a.V.H--)};
var hXc=function(a,b){return 1<b.Zb()||aWc(b.V,2)||b.getItem().cD()||nPc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},iXc=function(a){_.ff(a.H,function(b){hXc(a,b)&&(_.of(a.H,b.getId()),b.H--)})},jXc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},CPc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),UWc(a.ka,[b.getItem()],vSc(a.ha)),b):null};jXc.prototype.H=function(a){return(a=CPc(this,a))?a.getItem():null};
var kXc=function(a,b){var c={};b.forEach(function(d){var e=CPc(a,d);e&&(c[d]=e)});return c},lXc=function(a,b){return _.hf(kXc(a,b),function(c){return c.getItem()})},mXc=function(a,b){b=$Q(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};jXc.prototype.query=function(a){return mXc(this,a).map(function(b){return b.getItem()})};jXc.prototype.W=function(){return _.kf(this.V.H)};
nXc=function(a){var b=new Set;a=_.u(Object.values(a.V.H));for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.u(_.Fk(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.BG(e));(d=c.So())&&b.add(d.getId()||_.BG(d));(d=c.aB())&&b.add(d.getId()||_.BG(d));(d=_.C(c,_.tk,91))&&b.add(d.getId()||_.BG(d));(c=c.oB())&&b.add(c.getId()||_.BG(c))}return b.size};
oXc=function(a){return _.C(a,_.XM,3)||_.C(a,_.IO,4)||_.C(a,_.CP,5)||_.C(a,_.AO,6)||_.C(a,_.cO,7)||_.C(a,_.WN,8)||_.C(a,_.$N,9)||_.C(a,_.pN,10)};pXc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};qXc=function(a){var b={};return b.parentId=a.Mj(),b};rXc=function(a){var b={};_.Cc(_.pg(a.getTitle()))||(b.title=a.getTitle());_.hNc(b,_.z(a,3));return b};
sXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.z(a,3)&&(b.workspaceToken=_.z(a,3));return b};tXc=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
uXc=function(a){var b={},c={};_.Cc(_.pg(a.getTitle()))||(b.title=a.getTitle());null!=a.Uf()&&(b.description=a.Uf());null!=_.E(a,4)&&(c.starred=_.E(a,4));null!=a.Bh()&&(c.trashed=a.Bh());_.Cc(_.pg(a.Sb()))||(b.mimeType=a.Sb());"number"===typeof _.z(a,7)&&(b.modifiedDate=_.PJc(_.YKc(_.z(a,7)||0)));null!=_.E(a,11)&&(c.restricted=_.E(a,11));_.kf(c)&&(b.labels=c);null!=a.$h()&&(b.folderColor=a.$h());null!=_.E(a,16)&&(b.subscribed=_.E(a,16));if(c=_.C(a,_.Bk,25)){b.contentRestrictions=[];var d={};null!=
_.E(c,1)&&(d.readOnly=_.E(c,1));null!=_.z(c,2)&&(d.reason=_.z(c,2));b.contentRestrictions.push(d)}_.hNc(b,_.z(a,8));return b};vXc=function(a){var b={};null!=a.ms()&&(b.pinned=a.ms());return b};
wXc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.z(a,3))b.backgroundImageId=_.z(a,3);else{var c=_.z(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.ng)("0",6-c.length)+c);c=_.C(a,_.PRc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.z(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.z(c,3);"number"===typeof d&&(a.yCoordinate=d);(c=_.z(c,4))&&(a.width=c);b.backgroundImageFile=a}}return b};
xXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.bHc[a.getState()])&&(b.state=a);return b};yXc={Eob:0,Zob:1,Gtb:3,RAb:5,oOa:6};_.fR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fR,_.P);_.g=_.fR.prototype;_.g.getType=function(){return _.z(this,1)};_.g.getId=function(){return _.z(this,2)};_.g.kc=function(a){return _.x(this,2,a)};_.g.getTitle=function(){return _.z(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Ixa=function(){return _.z(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.RUa=function(){return _.z(this,6)};_.zXc=function(a,b){return _.x(a,6,b)};_.fR.prototype.Uf=function(){return _.z(this,8)};_.fR.prototype.Bl=function(a){return _.x(this,8,a)};_.fR.prototype.V=function(){return _.E(this,9)};_.AXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.AXc,_.P);_.AXc.prototype.V=function(){return _.z(this,1)};var BXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BXc,_.P);BXc.prototype.V=function(){return _.E(this,1)};
BXc.prototype.W=function(){return _.z(this,2)};_.gR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.gR,_.P);_.g=_.gR.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.rha=function(){return _.z(this,3)};_.g.Ys=function(){return _.z(this,4)};_.g.gZ=function(){return _.C(this,BXc,6)};_.g.JZa=function(){return _.C(this,_.AXc,7)};_.g.Iza=function(){return _.z(this,8)};
_.g.qha=function(){return _.E(this,9)};var hR=function(a,b){_.di.call(this,"Ib");this.error=a;this.iE=b};_.J(hR,_.di);var CXc=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)};_.L(CXc,_.NEc);CXc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
CXc.prototype.update=function(a,b){this.V.update(a,b)};CXc.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 DXc=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()};_.L(DXc,_.NEc);
DXc.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 EXc=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};
DXc.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;)EXc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){EXc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){EXc(this,e);f=0;break}}this.W=f;this.ha+=b}};
DXc.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;EXc(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 iR=function(a){_.Q(this,a,0,-1,null,null)};_.L(iR,_.P);iR.prototype.getId=function(){return _.z(this,1)};iR.prototype.kc=function(a){return _.x(this,1,a)};iR.prototype.nD=function(){return _.z(this,3)};
iR.prototype.ze=function(){return _.z(this,4)};var FXc=[2,4],jR=function(a){_.Q(this,a,0,-1,FXc,null)};_.L(jR,_.P);jR.prototype.Gb=function(){return _.z(this,1)};jR.prototype.Dc=function(a){return _.x(this,1,a)};jR.prototype.Xj=function(){return _.z(this,3)};var GXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(GXc,_.P);var HXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(HXc,_.P);HXc.prototype.Gb=function(){return _.z(this,1)};HXc.prototype.Dc=function(a){return _.x(this,1,a)};
var IXc=[4,9],JXc=function(a){_.Q(this,a,0,-1,IXc,null)};_.L(JXc,_.P);_.g=JXc.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.$za=function(){return _.z(this,2)};_.g.Lxa=function(){return _.z(this,3)};_.g.i_a=function(){return _.Oj(this,_.vN,4)};var KXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(KXc,_.P);KXc.prototype.sr=function(){return _.C(this,kSc,1)};KXc.prototype.Um=function(){return _.z(this,2)};var kR=function(a){_.Q(this,a,0,-1,null,null)};
_.L(kR,_.P);kR.prototype.Gb=function(){return _.z(this,1)};kR.prototype.Dc=function(a){return _.x(this,1,a)};kR.prototype.Xj=function(){return _.z(this,3)};var lR=function(a){_.Q(this,a,0,-1,null,null)};_.L(lR,_.P);lR.prototype.Gb=function(){return _.z(this,1)};lR.prototype.Dc=function(a){return _.x(this,1,a)};lR.prototype.SY=function(){return _.C(this,_.tk,2)};lR.prototype.Xj=function(){return _.z(this,3)};var LXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(LXc,_.P);_.g=LXc.prototype;
_.g.Gb=function(){return _.z(this,1)};_.g.Dc=function(a){return _.x(this,1,a)};_.g.Xj=function(){return _.z(this,2)};_.g.Mxa=function(){return _.C(this,_.qo,3)};_.g.getKey=function(){return _.C(this,_.Sa,4)};var MXc={FAb:0,Mvb:1,Pvb:2,OTHER:3,Nvb:4},APc=function(a){_.Q(this,a,0,-1,null,null)};_.L(APc,_.P);APc.prototype.getUrl=function(){return _.z(this,1)};var cQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(cQ,_.P);var zPc=function(a,b){return _.x(a,1,b)};
cQ.prototype.getName=function(){return _.z(this,2)};cQ.prototype.zd=function(a){return _.x(this,2,a)};cQ.prototype.getEmail=function(){return _.z(this,3)};cQ.prototype.wB=function(){return null!=_.z(this,3)};var NXc=[1],OXc=function(a){_.Q(this,a,0,-1,NXc,null)};_.L(OXc,_.P);OXc.prototype.Vo=function(){return _.Oj(this,cQ,1)};var PXc=function(a,b){return _.Qj(a,1,b)},QXc=[2],mR=function(a){_.Q(this,a,0,-1,QXc,null)};_.L(mR,_.P);mR.prototype.Gb=function(){return _.z(this,1)};
mR.prototype.Dc=function(a){return _.x(this,1,a)};mR.prototype.Zi=function(){return _.Oj(this,_.iC,2)};var RXc=function(a,b){return _.Qj(a,2,b)};mR.prototype.Xj=function(){return _.z(this,3)};var SXc=[[2,4,6,10],[3,5,7,8,9]],TXc=[1],UXc=function(a){_.Q(this,a,0,-1,null,SXc)};_.L(UXc,_.P);var VXc=function(a){_.Q(this,a,0,-1,TXc,null)};_.L(VXc,_.P);UXc.prototype.getKey=function(){return _.z(this,1)};var WXc=[2],nR=function(a){_.Q(this,a,0,-1,WXc,null)};_.L(nR,_.P);
nR.prototype.Gb=function(){return _.z(this,1)};nR.prototype.Dc=function(a){return _.x(this,1,a)};nR.prototype.V=function(){return _.Oj(this,uQ,2)};var XXc=function(a,b){return _.Qj(a,2,b)};nR.prototype.Xj=function(){return _.z(this,3)};var oR=function(a){_.Q(this,a,0,-1,null,null)};_.L(oR,_.P);oR.prototype.Gb=function(){return _.z(this,1)};oR.prototype.Dc=function(a){return _.x(this,1,a)};oR.prototype.V=function(){return _.C(this,uQ,2)};oR.prototype.Xj=function(){return _.z(this,3)};
var YXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(YXc,_.P);YXc.prototype.XF=function(){return _.z(this,2)};_.ZXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.ZXc,_.P);_.g=_.ZXc.prototype;_.g.Hc=function(){return _.z(this,1)};_.g.Gb=function(){return _.z(this,2)};_.g.Dc=function(a){return _.x(this,2,a)};_.g.getError=function(){return _.C(this,_.pb,3)};_.g.We=function(a){return _.R(this,3,a)};_.g.Hm=function(){return null!=_.z(this,3)};var $Xc=[1],aYc=function(a){_.Q(this,a,0,-1,$Xc,null)};
_.L(aYc,_.P);_.pR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.pR,_.P);_.pR.prototype.Gb=function(){return _.z(this,1)};_.pR.prototype.Dc=function(a){return _.x(this,1,a)};_.pR.prototype.Lh=function(){return _.C(this,_.yC,2)};_.bYc=function(a,b){return _.R(a,2,b)};_.pR.prototype.Xj=function(){return _.z(this,3)};var cYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cYc,_.P);var dYc=function(a,b){return _.x(a,1,b)},eYc=[1],fYc=function(a){_.Q(this,a,0,-1,eYc,null)};_.L(fYc,_.P);
gYc=function(a,b){return _.x(a,1,b||[])};_.HPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.HPc,_.P);_.g=_.HPc.prototype;_.g.getItem=function(){return _.C(this,_.Ek,1)};_.g.setItem=function(a){return _.R(this,1,a)};_.g.getError=function(){return _.C(this,_.pb,2)};_.g.We=function(a){return _.R(this,2,a)};_.g.Hm=function(){return null!=_.z(this,2)};_.g.ds=function(){return _.z(this,4)};var hYc=[1],iYc=function(a){_.Q(this,a,0,-1,hYc,null)};_.L(iYc,_.P);
var jYc=[2],qR=function(a){_.Q(this,a,0,-1,jYc,null)};_.L(qR,_.P);qR.prototype.Gb=function(){return _.z(this,1)};qR.prototype.Dc=function(a){return _.x(this,1,a)};qR.prototype.Xj=function(){return _.z(this,3)};var kYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kYc,_.P);var lYc=[1],mYc=function(a){_.Q(this,a,0,-1,lYc,null)};_.L(mYc,_.P);mYc.prototype.V=function(){return _.z(this,2)};var nYc=function(a,b){_.x(a,2,b)},oYc=function(a,b){this.V=a|0;this.H=b|0};
oYc.prototype.equals=function(a){return this===a?!0:a instanceof oYc?this.V===a.V&&this.H===a.H:!1};oYc.prototype.yc=function(){return 31*this.V+17*this.H|0};
var pYc=function(a,b){return new oYc(a,b)},qYc=function(a,b){b=~b;a?a=~a+1:b+=1;return pYc(a,b)},rYc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?qYc:pYc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},sYc=function(){this.H=this.ha=this.V=this.W=null},tYc=function(a){var b=new _.tj;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.uj(b,1,1);var e=b.H;hQ(e,c);hQ(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.uj(b,2,1),e=b.H,hQ(e,c),hQ(e,d));c=a.ha;null!=c&&(_.uj(b,3,5),hQ(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.uj(b,4,1),d=b.H,hQ(d,c),hQ(d,a));return _.vj(b)},uYc=function(a,b,c){this.id=a;this.V=b;this.H=c},vYc=function(a,b){return new uYc((a?a:b).getId(),a,b)},wYc=function(a,b){return new uYc(a.getId(),a,b)},rR=function(a){return new uYc(a.getId(),null,a)},xYc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},yYc={LIMITED:1,UNLIMITED:2},qPc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},sPc={Zvb:0,Urb:1},zYc=function(a,b){this.V=a;this.H=b},BYc=function(a,b){_.DP(["drive#about"],b);var c=
new _.pR,d=new _.yC;if(b.user){var e=_.EP(a.V,b.user);_.R(d,1,e)}a=AYc(a,b);a=HRc(GRc(_.FRc(new _.eob,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.JRc(a,_.CRc(_.BRc((new _.xC).Dc(xYc[e.status]),Number(e.trialMillisRemaining)),_.FP(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.KRc(a,_.ERc(_.DRc(new _.dob,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&IRc(a,b.importFormats.map(function(f){var h=new _.ARc;
h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.R(d,3,a);_.bYc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},AYc=function(a,b){var c=new _.cy;c=_.x(c,1,Number(b.quotaBytesTotal));c=_.x(c,2,Number(b.quotaBytesUsed));c=_.x(c,3,Number(b.quotaBytesUsedAggregate));c=_.x(c,4,Number(b.quotaBytesUsedInTrash));c=_.tRc(_.sRc(c,rPc(b.quotaBytesByService||[])),yYc[b.quotaType]);if(_.A(a.H,5,!1)){a=_.vRc(_.uRc(c,Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-
Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-tPc(b);a=_.x(a,9,d);a=_.wRc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));_.x(a,13,_.TOc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));b.graceQuotaInfo&&b.graceQuotaInfo.rCb&&(a=new yRc,d=_.h4a(new Date(b.graceQuotaInfo.endDateMillis)),a=_.R(a,1,d),b=_.x(a,2,Number(b.graceQuotaInfo.additionalQuotaBytes)),_.R(c,12,b));b=c}else b=c;return b},CYc={TYPE_UNSPECIFIED:0,MOBILE:1,
SYNC_CLIENT:2,APP:3},DYc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},EYc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},FYc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},GYc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},HYc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},IYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6},JYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,
REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},KYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},LYc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},MYc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},NYc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,DOMAIN_VISIBILITY_RESTRICTED:4},OYc={NAMED_PARTY_UNKNOWN:0,
NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},PYc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},QYc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},RYc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},SYc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},TYc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},UYc={DECISION_UNSPECIFIED:0,APPROVED:1,DECLINED:2},VYc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,
CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},WYc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},XYc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},YYc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},sR=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.g4a((new _.ay).setSeconds(a),b)},ZYc=function(a){var b=new _.RQ;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;
switch(c){case "startTime":c=sR(d);_.R(b,1,c);break;case "endTime":b.Xv(sR(d))}}return b},$Yc=function(a){var b=new OUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.zd(d);break;case "title":b.setTitle(d)}}return b},aZc=function(a){var b=new _.TUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "type":_.Lj(b,6,DYc[d])}}return b},
bZc=function(a){var b=new _.UUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "targetName":_.Kj(b,1,d);break;case "targetMimeType":_.Kj(b,2,d)}}return b},cZc=function(a){var b=new _.IQ;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=new HQ;d=_.u(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.u(e.value);
e=f.next().value;f=f.next().value;switch(e){case "name":c.zd(f);break;case "title":c.setTitle(f);break;case "driveFile":e=c;f=new SUc;_.Pj(e,8,VUc[0],f);break;case "driveFolder":e=aZc(f);_.Pj(c,9,VUc[0],e);break;case "driveShortcut":e=bZc(f),_.Pj(c,10,VUc[0],e)}}_.Pj(b,1,WUc[0],c);break;case "drive":c=$Yc(d),_.Pj(b,3,WUc[0],c)}}return b},dZc=function(a){return a.map(function(b){return cZc(b)})},eZc=function(a){var b=new _.NUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);
c=d.next().value;d=d.next().value;switch(c){case "name":b.zd(d);break;case "legacyId":_.Kj(b,3,d);break;case "audienceDisplayName":_.Kj(b,4,d)}}return b},tR=function(a){var b=new _.rUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "knownUser":c=new _.DQ;d=_.u(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;switch(e){case "personName":_.Kj(c,1,f);break;
case "isCurrentUser":_.Jj(c,2,f);break;case "displayName":_.Kj(c,3,f);break;case "photoUrl":c.Gs(f)}}_.Pj(b,2,_.pUc[0],c);break;case "unknownUser":c=new sUc;_.Pj(b,4,_.pUc[0],c);break;case "deletedUser":c=new _.qUc,_.Pj(b,3,_.pUc[0],c)}}return b},fZc=function(a){return a.map(function(b){return tR(b)})},gZc=function(a){var b=new _.CVc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=tR(d);_.Pj(b,1,_.OQ[0],c);
break;case "anonymous":c=new zVc;_.Pj(b,2,_.OQ[0],c);break;case "impersonation":c=new _.AVc;d=_.u(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;switch(e){case "impersonatedUser":e=tR(f),_.R(c,1,e)}}_.Pj(b,3,_.OQ[0],c);break;case "system":c=new _.BVc;d=_.u(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.u(e.value),e=f.next().value,f=f.next().value,e){case "type":_.Lj(c,1,EYc[f])}_.Pj(b,4,_.OQ[0],c);break;case "administrator":c=
new _.yVc,_.Pj(b,5,_.OQ[0],c)}}return b},hZc=function(a){return a.map(function(b){return gZc(b)})},iZc=function(a){var b=new GQ;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "name":b.zd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Kj(b,6,d);break;case "version":_.Ij(b,5,d);break;case "owner":c=new QUc;d=_.u(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;
f=f.next().value;switch(e){case "domain":e=eZc(f);_.R(c,3,e);break;case "user":e=tR(f);_.Pj(c,1,PUc[0],e);break;case "drive":e=$Yc(f),_.Pj(c,4,PUc[0],e)}}_.R(b,7,c);break;case "driveFile":c=new SUc;_.Pj(b,8,RUc[0],c);break;case "driveFolder":c=aZc(d);_.Pj(b,9,RUc[0],c);break;case "driveShortcut":c=bZc(d),_.Pj(b,10,RUc[0],c)}}return b},jZc=function(a){var b=new _.QQ;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "driveItem":c=
iZc(d);_.Pj(b,1,_.PQ[0],c);break;case "drive":c=new _.EVc;d=_.u(Object.entries(d));for(var e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;switch(e){case "name":c.zd(f);break;case "title":c.setTitle(f);break;case "root":e=iZc(f),_.R(c,3,e)}}_.Pj(b,5,_.PQ[0],c);break;case "fileComment":c=new _.FVc;d=_.u(Object.entries(d));for(e=d.next();!e.done;e=d.next())switch(f=_.u(e.value),e=f.next().value,f=f.next().value,e){case "legacyCommentId":_.Kj(c,1,f);break;case "legacyDiscussionId":_.Kj(c,
2,f);break;case "linkToDiscussion":_.Kj(c,3,f);break;case "parent":c.Lg(iZc(f))}_.Pj(b,3,_.PQ[0],c)}}return b},kZc=function(a){return a.map(function(b){return jZc(b)})},lZc=function(a){var b=new _.jVc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "reason":_.Lj(b,1,YYc[d])}}return b},mZc=function(a){return a.map(function(b){var c=new _.LQ;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);
d=e.next().value;e=e.next().value;switch(d){case "role":_.Lj(c,1,HYc[e]);break;case "user":d=tR(e);_.Pj(c,2,_.KQ[0],d);break;case "group":d=new _.JQ;e=_.u(Object.entries(e));for(var f=e.next();!f.done;f=e.next()){var h=_.u(f.value);f=h.next().value;h=h.next().value;switch(f){case "email":_.Kj(d,1,h);break;case "title":d.setTitle(h)}}_.Pj(c,3,_.KQ[0],d);break;case "domain":d=eZc(e);_.Pj(c,4,_.KQ[0],d);break;case "anyone":d=new lVc;_.Pj(c,5,_.KQ[0],d);break;case "allowDiscovery":_.Jj(c,6,e)}}return c})},
nZc=function(a){var b=new kUc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "description":b.Bl(d);break;case "url":_.Kj(b,2,d)}}return b},oZc=function(a){return a.map(function(b){var c=new _.tVc;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;switch(d){case "feature":_.Lj(c,1,RYc[e]);break;case "newRestriction":_.Lj(c,2,SYc[e])}}return c})},pZc=
function(a){return a.map(function(b){var c=new BUc;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;switch(d){case "removedReviewer":d=tR(e);_.R(c,3,d);break;case "addedReviewer":d=tR(e),_.R(c,4,d)}}return c})},qZc=function(a){return a.map(function(b){return VYc[b]})},rZc=function(a){return a.map(function(b){var c=new FUc;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;
switch(d){case "publishedCategoryName":_.Kj(c,1,e);break;case "types":d=qZc(e),_.x(c,2,d||[])}}return c})},sZc=function(a){return a.map(function(b){return WYc[b]})},tZc=function(a){return a.map(function(b){var c=new nUc;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;switch(d){case "label":c.Hd(e);break;case "types":d=sZc(e),_.x(c,2,d||[])}}return c})},uZc=function(a){var b=new pVc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=
a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "publishMode":_.Lj(b,1,XYc[d]);break;case "signinRequired":_.Jj(b,2,d);break;case "publishedTime":c=sR(d),_.R(b,3,c)}}return b},vZc=function(a){for(var b=new _.NQ,c=_.u(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=_.u(d.value),f=e.next().value,h=e.next().value;switch(f){case "create":for(var k=new _.aVc,l=_.u(Object.entries(h)),n=l.next();!n.done;n=l.next()){var q=_.u(n.value),t=q.next().value,v=q.next().value;
switch(t){case "new":var y=k,B=new YUc;_.Pj(y,1,_.XUc[0],B);break;case "upload":var F=k,M=new ZUc;_.Pj(F,2,_.XUc[0],M);break;case "copy":for(var I=v,X=new _.$Uc,T=_.u(Object.entries(I)),na=T.next();!na.done;na=T.next()){var Ba=_.u(na.value),Oa=Ba.next().value,Ca=Ba.next().value;switch(Oa){case "originalObject":var ea=cZc(Ca);_.R(X,1,ea)}}_.Pj(k,3,_.XUc[0],X)}}_.Pj(b,1,_.MQ[0],k);break;case "edit":var Ka=new fVc;_.Pj(b,2,_.MQ[0],Ka);break;case "move":for(var gb=new _.kVc,Xb=_.u(Object.entries(h)),
wb=Xb.next();!wb.done;wb=Xb.next()){var ec=_.u(wb.value),Kc=ec.next().value,ie=ec.next().value;switch(Kc){case "addedParents":var hg=dZc(ie);_.Qj(gb,1,hg);break;case "removedParents":var Ce=dZc(ie);_.Qj(gb,2,Ce);break;case "fromOwnershipTransfer":_.Jj(gb,3,ie);break;case "reparents":var Nf=ie.map(lZc);_.Qj(gb,4,Nf)}}_.Pj(b,3,_.MQ[0],gb);break;case "rename":for(var Pg=new _.qVc,Qg=_.u(Object.entries(h)),dd=Qg.next();!dd.done;dd=Qg.next()){var Gi=_.u(dd.value),Pe=Gi.next().value,Of=Gi.next().value;
switch(Pe){case "oldTitle":_.Kj(Pg,1,Of);break;case "newTitle":_.Kj(Pg,2,Of)}}_.Pj(b,4,_.MQ[0],Pg);break;case "delete":for(var Eb=new _.dVc,oi=_.u(Object.entries(h)),Vk=oi.next();!Vk.done;Vk=oi.next()){var pi=_.u(Vk.value),kq=pi.next().value,ok=pi.next().value;switch(kq){case "type":_.Lj(Eb,1,FYc[ok])}}_.Pj(b,5,_.MQ[0],Eb);break;case "restore":for(var Pf=new _.rVc,Dh=_.u(Object.entries(h)),xm=Dh.next();!xm.done;xm=Dh.next()){var lq=_.u(xm.value),Bl=lq.next().value,Xn=lq.next().value;switch(Bl){case "type":_.Lj(Pf,
1,GYc[Xn])}}_.Pj(b,6,_.MQ[0],Pf);break;case "permissionChange":for(var Cl=new _.nVc,Yn=_.u(Object.entries(h)),mq=Yn.next();!mq.done;mq=Yn.next()){var pk=_.u(mq.value),nq=pk.next().value,Dl=pk.next().value;switch(nq){case "addedPermissions":var dp=mZc(Dl);_.Qj(Cl,1,dp);break;case "removedPermissions":var ep=mZc(Dl);_.Qj(Cl,2,ep);break;case "resharedPermissions":var Zn=mZc(Dl);_.Qj(Cl,3,Zn);break;case "otherActivePermissions":var fn=mZc(Dl);_.Qj(Cl,4,fn)}}_.Pj(b,7,_.MQ[0],Cl);break;case "comment":for(var Ig=
new _.MUc,Ze=_.u(Object.entries(h)),ed=Ze.next();!ed.done;ed=Ze.next()){var fp=_.u(ed.value),Xh=fp.next().value,Yi=fp.next().value;switch(Xh){case "post":for(var Ev=Yi,Cr=new _.JUc,Hs=_.u(Object.entries(Ev)),Is=Hs.next();!Is.done;Is=Hs.next()){var Js=_.u(Is.value),$n=Js.next().value,eu=Js.next().value;switch($n){case "subtype":_.Lj(Cr,1,IYc[eu])}}_.Pj(Ig,1,_.IUc[0],Cr);break;case "assignment":for(var gp=Yi,dh=new _.KUc,Bj=_.u(Object.entries(gp)),gn=Bj.next();!gn.done;gn=Bj.next()){var Lh=_.u(gn.value),
hp=Lh.next().value,fu=Lh.next().value;switch(hp){case "subtype":_.Lj(dh,1,JYc[fu]);break;case "assignedUser":var Ks=tR(fu);_.R(dh,7,Ks)}}_.Pj(Ig,2,_.IUc[0],dh);break;case "suggestion":for(var Dr=Yi,oq=new _.LUc,pq=_.u(Object.entries(Dr)),El=pq.next();!El.done;El=pq.next()){var Ls=_.u(El.value),gu=Ls.next().value,ip=Ls.next().value;switch(gu){case "subtype":_.Lj(oq,1,KYc[ip])}}_.Pj(Ig,3,_.IUc[0],oq);break;case "mentionedUsers":var qq=fZc(Yi);_.Qj(Ig,7,qq)}}_.Pj(b,8,_.MQ[0],Ig);break;case "dlpChange":for(var rq=
new _.cVc,Ms=_.u(Object.entries(h)),hu=Ms.next();!hu.done;hu=Ms.next()){var sq=_.u(hu.value),Fv=sq.next().value,iu=sq.next().value;switch(Fv){case "type":_.Lj(rq,1,LYc[iu])}}_.Pj(b,9,_.MQ[0],rq);break;case "view":for(var ao=new xVc,ju=_.u(Object.entries(h)),Er=ju.next();!Er.done;Er=ju.next()){var ku=_.u(Er.value),Ns=ku.next().value,hn=ku.next().value;switch(Ns){case "type":_.Lj(ao,1,MYc[hn]);break;case "viewHistoryVisibility":for(var px=hn,Fr=new wVc,se=_.u(Object.entries(px)),qx=se.next();!qx.done;qx=
se.next()){var uz=_.u(qx.value),cG=uz.next().value,dG=uz.next().value;switch(cG){case "domainPolicyVisibilityState":_.Lj(Fr,1,NYc[dG]);break;case "namedPartyState":_.Lj(Fr,2,OYc[dG])}}_.R(ao,2,Fr)}}_.Pj(b,10,_.MQ[0],ao);break;case "download":for(var jn=new eVc,qC=_.u(Object.entries(h)),tq=qC.next();!tq.done;tq=qC.next()){var jp=_.u(tq.value),dP=jp.next().value,eG=jp.next().value;switch(dP){case "type":_.Lj(jn,1,PYc[eG])}}_.Pj(b,11,_.MQ[0],jn);break;case "reference":for(var rC=new _.CQ,xW=_.u(Object.entries(h)),
vz=xW.next();!vz.done;vz=xW.next()){var eP=_.u(vz.value),YHa=eP.next().value,b7=eP.next().value;switch(YHa){case "type":_.Lj(rC,1,QYc[b7]);break;case "context":rC.Fk(nZc(b7))}}_.Pj(b,12,_.MQ[0],rC);break;case "settingsChange":for(var ZX=new _.uVc,oka=_.u(Object.entries(h)),$X=oka.next();!$X.done;$X=oka.next()){var Icb=_.u($X.value),t0b=Icb.next().value,ela=Icb.next().value;switch(t0b){case "restrictionChanges":var u0b=oZc(ela);_.Qj(ZX,1,u0b)}}_.Pj(b,13,_.MQ[0],ZX);break;case "approvalChange":for(var ew=
new _.xUc,Jcb=_.u(Object.entries(h)),TIa=Jcb.next();!TIa.done;TIa=Jcb.next()){var Kcb=_.u(TIa.value),v0b=Kcb.next().value,QG=Kcb.next().value;switch(v0b){case "approvalName":_.Kj(ew,2,QG);break;case "approvalEventNames":_.x(ew,3,QG||[]);break;case "initiator":var w0b=tR(QG);_.R(ew,4,w0b);break;case "reviewers":var x0b=fZc(QG);_.Qj(ew,5,x0b);break;case "status":ew.Dc(TYc[QG]);break;case "dueTime":var y0b=sR(QG);_.R(ew,7,y0b);break;case "approvalRequested":var UIa=ew,VIa=new uUc;_.Pj(UIa,8,_.EQ[0],
VIa);break;case "approvalCancelled":var z0b=ew,Lcb=new vUc;_.Pj(z0b,9,_.EQ[0],Lcb);break;case "reviewerResponded":for(var A0b=QG,Mcb=new _.wUc,Ncb=_.u(Object.entries(A0b)),H7=Ncb.next();!H7.done;H7=Ncb.next()){var fla=_.u(H7.value),B0b=fla.next().value,gla=fla.next().value;switch(B0b){case "reviewerDecision":_.Lj(Mcb,1,UYc[gla])}}_.Pj(ew,10,_.EQ[0],Mcb);break;case "commentAdded":var C0b=ew,Ocb=new yUc;_.Pj(C0b,11,_.EQ[0],Ocb);break;case "reviewersChanged":for(var D0b=QG,Pcb=new AUc,Qcb=_.u(Object.entries(D0b)),
WIa=Qcb.next();!WIa.done;WIa=Qcb.next()){var hla=_.u(WIa.value),Rcb=hla.next().value,E0b=hla.next().value;switch(Rcb){case "reviewerChanges":var F0b=pZc(E0b);_.Qj(Pcb,1,F0b)}}_.Pj(ew,12,_.EQ[0],Pcb);break;case "dueTimeChanged":for(var G0b=QG,Scb=new CUc,Tcb=_.u(Object.entries(G0b)),XIa=Tcb.next();!XIa.done;XIa=Tcb.next()){var Itd=_.u(XIa.value),DBf=Itd.next().value,EBf=Itd.next().value;switch(DBf){case "oldDueTime":var FBf=sR(EBf);_.R(Scb,1,FBf)}}_.Pj(ew,13,_.EQ[0],Scb)}}_.Pj(b,18,_.MQ[0],ew);break;
case "lock":var GBf=new hVc;_.Pj(b,15,_.MQ[0],GBf);break;case "unlock":var HBf=new vVc;_.Pj(b,16,_.MQ[0],HBf);break;case "categoryMetadataChange":for(var Jtd=new _.GUc,Ktd=_.u(Object.entries(h)),H0b=Ktd.next();!H0b.done;H0b=Ktd.next()){var Ltd=_.u(H0b.value),IBf=Ltd.next().value,JBf=Ltd.next().value;switch(IBf){case "changes":var KBf=rZc(JBf);_.Qj(Jtd,1,KBf)}}_.Pj(b,17,_.MQ[0],Jtd);break;case "appliedLabelChange":for(var Mtd=new _.oUc,Ntd=_.u(Object.entries(h)),I0b=Ntd.next();!I0b.done;I0b=Ntd.next()){var Otd=
_.u(I0b.value),LBf=Otd.next().value,MBf=Otd.next().value;switch(LBf){case "changes":var NBf=tZc(MBf);_.Qj(Mtd,1,NBf)}}_.Pj(b,19,_.MQ[0],Mtd);break;case "publishChange":for(var J0b=new oVc,Ptd=_.u(Object.entries(h)),K0b=Ptd.next();!K0b.done;K0b=Ptd.next()){var Qtd=_.u(K0b.value),OBf=Qtd.next().value,Rtd=Qtd.next().value;switch(OBf){case "oldPublishState":var PBf=uZc(Rtd);_.R(J0b,1,PBf);break;case "newPublishState":var QBf=uZc(Rtd);_.R(J0b,2,QBf)}}_.Pj(b,20,_.MQ[0],J0b);break;case "linkShareMetadataChange":for(var Std=
new gVc,Ttd=_.u(Object.entries(h)),L0b=Ttd.next();!L0b.done;L0b=Ttd.next()){var Utd=_.u(L0b.value),RBf=Utd.next().value,SBf=Utd.next().value;switch(RBf){case "securityUpdateEnabled":_.Jj(Std,1,SBf)}}_.Pj(b,21,_.MQ[0],Std)}}return b},wZc=function(a){return a.map(function(b){var c=new _.IVc;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);d=e.next().value;e=e.next().value;switch(d){case "detail":d=vZc(e);_.R(c,1,d);break;case "source":d=new DVc;e=_.u(Object.entries(e));
for(var f=e.next();!f.done;f=e.next()){var h=_.u(f.value);f=h.next().value;h=h.next().value;switch(f){case "type":_.Lj(d,2,CYc[h]);break;case "appId":_.Kj(d,1,h)}}_.R(c,2,d);break;case "actor":d=gZc(e);_.R(c,3,d);break;case "target":d=jZc(e);_.R(c,4,d);break;case "timestamp":d=sR(e);_.Pj(c,5,HVc[0],d);break;case "timeRange":d=ZYc(e),_.Pj(c,6,HVc[0],d)}}return c})},xZc=function(a){return a.map(function(b){var c=new _.SQ;b=_.u(Object.entries(b));for(var d=b.next();!d.done;d=b.next()){var e=_.u(d.value);
d=e.next().value;e=e.next().value;switch(d){case "primaryActionDetail":d=vZc(e);_.R(c,2,d);break;case "actors":d=hZc(e);_.Qj(c,3,d);break;case "actions":d=wZc(e);_.Qj(c,4,d);break;case "targets":d=kZc(e);_.Qj(c,5,d);break;case "timestamp":d=sR(e);_.Pj(c,6,KVc[0],d);break;case "timeRange":d=ZYc(e),_.Pj(c,7,KVc[0],d)}}return c})},yZc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},zZc={application:1,document:2,documentShared:3},AZc=function(a){var b=new _.VTc;b=_.x(b,3,a.iconUrl).setSize(a.size);
a.category&&_.x(b,1,zZc[a.category]);return b},BZc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.WTc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},CZc=function(a){_.DP(["drive#app"],a);var b=(new _.zQ).kc(a.id);b=_.x(b,3,a.useByDefault).zd(a.name);b=_.x(b,7,a.openUrlTemplate);b=aUc($Tc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.x(b,8,a.createUrl);b=_.x(b,9,a.createInFolderTemplate);b=_.x(b,10,a.objectType);b=_.x(b,11,a.supportsCreate);b=_.x(b,12,a.supportsImport);
b=_.x(b,13,a.supportsMultiOpen);b=_.x(b,27,a.supportsOfflineCreate);b=_.x(b,14,a.installed);b=_.x(b,15,a.authorized);b=_.x(b,16,a.productUrl);b=_.x(b,17,a.primaryFileExtensions||[]);b=_.x(b,18,a.secondaryFileExtensions||[]);b=_.x(b,19,a.shortDescription);b=_.x(b,20,a.longDescription);b=_.x(b,21,a.productId);b=_.x(b,22,a.removable);b=_.x(b,23,yZc[a.type]);b=_.x(b,25,a.hasAppData);b=_.x(b,26,a.appDataQuotaBytesUsed);b=_.x(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.x(b,30,a.hasDriveWideScope);b=
_.x(b,31,a.driveSource);b=_.x(b,32,a.driveBranded);b=_.x(b,33,a.hidden);b=_.x(b,34,a.supportsMobileBrowser);b=_.x(b,35,a.supportsTeamDrives);b=_.x(b,36,a.hasGsmListing);for(var c=a.icons||[],d=[],e=0;e<c.length;e++)d.push(AZc(c[e]));_.Qj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.x(b,24,d||[]);c=a.rankingInfo||{};a=new _.YTc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=BZc(c.mimeTypeScores||[]);_.Qj(a,2,d);c=BZc(c.fileExtensionScores||[]);_.Qj(a,3,c);_.R(b,29,
a);return b},DZc=function(a,b){var c=new kR;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=CZc(a),_.R(b,2,a));return b},EZc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},FZc=function(a){var b=new qR;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.gR).kc(c.id).setTitle(c.title);d=_.x(d,3,_.FP(c.updateTime));d=_.x(d,4,EZc[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.FP(c.expiryTime));d=_.x(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:
!1);if(1==d.Ys()){var e=new BXc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.R(d,6,c)}else 2==d.Ys()&&(e=new _.AXc,e=_.x(e,1,c.deviceName),e=_.x(e,2,c.deviceModelName),e=_.x(e,3,c.shouldIncludeSpecialSyncItems),c=_.x(e,4,c.deviceAndroidId),_.R(d,7,c));return d});_.Qj(b,2,a);return b},GZc=function(a){var b=new iYc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.fR).kc(c.id);d=_.x(d,1,TRc[c.type]).setTitle(c.title);d=_.x(d,4,c.iconUri);d=_.zXc(d.setSize(c.size),
_.FP(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).Bl(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.Qj(b,1,a);return b},HZc=function(a,b){this.H=a;this.V=b},IZc={read:2,write:3,comment:4},JZc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.NM((new _.Ek).kc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.xn(_.BMc(c.userCapabilities));_.BP(b).includes(19)&&_.BJc(d,!0);_.dNc(a,d,_.BP(b));_.CJc(d,4);return d},KZc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;
a=_.XHc(_.WHc(_.VHc(new _.lpa,a.timeUsec),a.serverIp),a.processId);return _.Xlb(a)},LZc=function(a){return _.TIc((new _.tk).kc(a.id).zd(a.displayName),a.emailAddress).Gs(a.photoUrl)},MZc=function(a){if(!a)return null;a=a.textSegment||[];return WPc(new _.sk,a.map(function(b){var c=(new _.lma).xh(b.text),d=b.link;if(d){var e=new _.mma;d=_.x(e,1,d.url)}else d=null;c=_.R(c,2,d);c=_.x(c,3,b.bold);return _.x(c,4,b.italic)}))},NZc=function(a){var b=$Pc(new _.uk,MZc(a.displayText)),c=a.primaryPerson,d=a.allPeople;
c?(c=LZc(c),_.Pj(b,3,_.oma[0],c),aQc(b,[c])):d?(c=(d.person||[]).map(function(e){return LZc(e)}),d=ZPc(c),_.Pj(b,4,_.oma[0],d),aQc(b,c)):(c=(a.person||[]).map(function(e){return LZc(e)}),c.length&&(d=ZPc(c),_.Pj(b,4,_.oma[0],d),aQc(b,c)));_.x(b,5,_.FP(a.eventTime));bQc(b,MZc(a.justificationDescription));return b},uR=function(a){return(a=a.justification)?NZc(a):null},OZc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=RQc(new _.vma,uR(a));QQc(b,(a.subAction||[]).map(function(c){var d=
new sQc;c.openDocument&&(c=new iQ,_.Pj(d,1,rQc[0],c));return d}));return b},PZc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=jRc(new _.Ima,uR(a));iRc(b,(a.subAction||[]).map(function(c){var d=new KQc;c.openDocument&&(c=new iQ,_.Pj(d,1,JQc[0],c));return d}));return b},QZc=function(a){a=a.documentTopicAction;if(!a)return null;var b=ZQc(new _.Cma,uR(a));YQc(b,(a.subAction||[]).map(function(c){var d=new wQc;c.openDocument&&(c=new iQ,_.Pj(d,1,vQc[0],c));return d}));return b},RZc=function(a){a=
a.documentWorkspaceAction;if(!a)return null;var b=dRc(cRc(new AQc,a.workspaceId),uR(a));bRc(b,(a.subAction||[]).map(function(c){var d=new CQc;c.addToWorkspace&&(c=new dQc,_.Pj(d,1,BQc[0],c));return d}));return b},SZc=function(a){a=a.calendarEventAction;if(!a)return null;var b=PQc(OQc(NQc(new _.tma,a.eventId),uR(a)),a.guestCount);MQc(b,(a.subAction||[]).map(function(c){var d=new qQc;if(c.viewCalendarEvent){var e=new nQc;_.Pj(d,1,pQc[0],e)}c.shareWithAttendees&&(e=new lQc,_.Pj(d,2,pQc[0],e));c.present&&
(e=new fQc,_.Pj(d,3,pQc[0],e));c.openDocument&&(c=new iQ,_.Pj(d,4,pQc[0],c));return d}));return b},TZc=function(a){return(a.justification||[]).map(function(b){return NZc(b)})},UZc=function(a){a=a.formResponseAction;if(!a)return null;var b=hRc(new _.Gma,TZc(a));gRc(b,(a.subAction||[]).map(function(c){var d=new IQc;c.openDocument?(c=new iQ,_.Pj(d,1,HQc[0],c)):c.viewResponses&&(c=new oQc,_.Pj(d,2,HQc[0],c));return d}));return b},VZc=function(a){a=a.documentDocosAction;if(!a)return null;var b=TQc(new _.xma,
uR(a));SQc(b,(a.subAction||[]).map(function(c){var d=new _.yma;c.reply?(c=new _.rma,_.Pj(d,1,_.wk[0],c)):c.resolve?(c=new iQc,_.Pj(d,2,_.wk[0],c)):c.reassign?(c=new gQc,_.Pj(d,3,_.wk[0],c)):c.acceptSuggestion?(c=new cQc,_.Pj(d,4,_.wk[0],c)):c.rejectSuggestion?(c=new hQc,_.Pj(d,5,_.wk[0],c)):c.openThread&&(c=new _.qma,_.Pj(d,6,_.wk[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);UQc(b,MZc(a.anchorText));return b},WZc=function(a){a=a.documentShareAction;if(!a)return null;var b=XQc(new _.Ama,
uR(a));WQc(b,(a.subAction||[]).map(function(c){var d=new uQc;c.suggestedShare?(c=new mQc,_.Pj(d,1,tQc[0],c)):c.responseToRequest&&(c=new jQc,_.Pj(d,2,tQc[0],c));return d}));VQc(b,(a.sharee||[]).map(function(c){return LZc(c)}));_.x(b,3,IZc[a.shareeRole]);return b},XZc=function(a){a=a.documentViewAction;if(!a)return null;var b=aRc(new _.Ema,TZc(a));$Qc(b,(a.subAction||[]).map(function(c){var d=new yQc;c.open?d.mg(new iQ):c.reviewEdits&&(c=new kQc,_.Pj(d,2,xQc[0],c));return d}));return b},YZc=function(a){a=
a.emailViewAction;if(!a)return null;var b=fRc(new EQc,uR(a));eRc(b,(a.subAction||[]).map(function(c){var d=new GQc;c.openEmail&&d.mg(new eQc);return d}));return b},ZZc=function(a){var b=a.action;return b?b.map(function(c){var d=new _.pma,e=VZc(c);e&&_.Pj(d,2,_.vk[0],e);(e=XZc(c))&&LQc(d,e);(e=WZc(c))&&_.Pj(d,4,_.vk[0],e);(e=YZc(c))&&_.Pj(d,5,_.vk[0],e);(e=SZc(c))&&_.Pj(d,6,_.vk[0],e);(e=RZc(c))&&_.Pj(d,7,_.vk[0],e);(e=QZc(c))&&_.Pj(d,8,_.vk[0],e);(e=PZc(c))&&_.Pj(d,9,_.vk[0],e);(e=OZc(c))&&_.Pj(d,
10,_.vk[0],e);(c=UZc(c))&&_.Pj(d,11,_.vk[0],c);return d}):(a=uR(a),a=aRc(new _.Ema,[a]),[LQc(new _.pma,a)])},$Zc={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},a_c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=rRc(new _.Al,a.map(function(c){return $Zc[c]||0}));
if(b=b.eventId)b=_.XHc(_.WHc(_.VHc(new _.lpa,b.timeUsec),b.serverIp),b.processId),_.R(a,2,b);return a},b_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=BOc(JZc(a,b,e),ZZc(e)),d.push(e))});c=(new _.kC).Cw(d).CI(KZc(c)).setSessionId(a_c(c));return _.xKc(new _.nP,c)},c_c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=LZc(f.person).kc(h);(f.childItem||[]).forEach(function(l){e.some(function(t){return t.getId()==h})||e.push(k);
var n=l.itemId,q=d.find(function(t){return t.getId()==n});q||(q=JZc(a,b,l),d.push(q));l=mRc(lRc(kRc(new _.Kma,k.clone()),l.predictionReason),l.url);_.Rj(q,107,l,_.Kma,void 0)})}});return JSc((new _.PP).Cw(d),e).CI(KZc(c)).setSessionId(a_c(c))},d_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Nma;f=_.x(f,2,e.predictionReason);e=JZc(a,b,e);e=_.R(e,100,f);d.push(e)}});c=(new _.kC).Cw(d).CI(KZc(c)).setSessionId(a_c(c)).AX(c.suggestionSessionId);return _.xKc(new _.nP,
c)},e_c=function(a){return _.RIc(1).kc(a.personName.split("/")[1])},f_c=function(a){var b=(new TSc).Wk(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},g_c=function(a){var b=new xTc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},h_c=function(a){var b=new USc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canWrite)},i_c=function(a){a=void 0===a?{}:a;var b=new bTc;b=_.x(b,1,a.minSize);return _.x(b,
2,a.maxSize)},j_c=function(a){var b=new VSc;b=_.x(b,1,a.trueLabel);return _.x(b,2,a.falseLabel)},k_c=function(a){var b=new cTc;b=_.x(b,1,a.maxEntries);a=i_c(a.options);return _.R(b,2,a)},l_c=function(a){var b=new XSc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canSelect)},m_c=function(a){var b=new ZSc;$Sc(b,(a.choices||[]).map(function(c){var d=(new YSc).Hd(c.label).hc(c.value);c.capabilities&&d.xn(l_c(c.capabilities));c.displayHints&&(c=f_c(c.displayHints),_.R(d,4,c));return d}));return b},n_c=function(a){var b=
new aTc;b=_.x(b,1,a.maxEntries);a=m_c(a.options);return _.R(b,2,a)},o_c=function(a){var b=new eTc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},p_c=function(a){var b=new fTc;b=_.x(b,1,a.maxEntries);a=o_c(a.options);return _.R(b,2,a)},q_c=function(a){var b=new iTc;a=_.x(b,1,a.maxEntries);b=new hTc;return _.R(a,2,b)},r_c=function(a){var b=(new _.Tma).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},s_c=function(a){var b=new jTc;b=_.x(b,4,a.dateFormat);
var c=r_c(a.minValue);b=_.R(b,2,c);a=r_c(a.maxValue);return _.R(b,3,a)},t_c={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},u_c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},v_c=function(a,b){this.H=a;this.V=b},x_c=function(a,b,c){_.DP(["drive#categoryMetadataList"],c);var d=new xQ,e=Object.values(c.categoryMetadata||{});PTc(d,e.map(function(f){return w_c(a,
f,b.Hc())}));d.Dc(1);return new _.SP(d,pXc(c))},z_c=function(a,b){var c=new nR;XXc(c,(b.categories||[]).map(function(d){return y_c(a,d)}));c.Dc(1);return new hWc(c,pXc(b))},w_c=function(a,b,c){_.DP(["drive#categoryMetadata"],b);c=vTc((new tQ).zd(b.categoryName),c);b=Object.values(b.attributeValues||[]);uTc(c,b.map(function(d){return A_c(a,d)}).filter(function(d){return d}));return c},y_c=function(a,b){var c=zTc(yTc((new uQ).zd(b.name),b.categoryName),b.latestName).setTitle(b.title).Bl(b.description);
ATc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new kTc).kc(d.id);f=_.x(f,2,d.queryGuid);f=_.x(f,3,d.helpText);f=_.x(f,4,d.displayName);if(d.attributeDisplayHints){var h=f_c(d.attributeDisplayHints);_.R(f,5,h)}d.capabilities&&f.xn(h_c(d.capabilities));_.x(f,7,t_c[e]);d=d[u_c(e)+"Options"];return B_c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&BTc(c,e_c(b.createdBy));b.updatedBy&&CTc(c,e_c(b.updatedBy));b.publishedBy&&DTc(c,e_c(b.publishedBy));_.x(c,9,_.FP(b.createTime));
_.x(c,10,_.FP(b.updateTime));_.x(c,11,_.FP(b.publishTime));b.displayHints&&ETc(c,f_c(b.displayHints));b.capabilities&&c.xn(g_c(b.capabilities));return c},A_c=function(a,b){_.DP(["drive#categoryAttributeValue"],b);var c=(new rQ).kc(b.id);if(b.userScoped)b=Object.values(b.userScoped),sTc(c,b.map(function(d){_.DP(["drive#userScopedAttributeValue"],d);var e=new mTc,f=_.EP(a.H,d.scopedUser);e=_.R(e,1,f);return C_c(a,e,d)?e:null}).filter(function(d){return d})),c.Bw(9);else if(!C_c(a,c,b))return null;return c},
B_c=function(a,b,c,d){return D_c(a,function(){E_c(a)[c](b,d)},c,b)},C_c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.Bw(t_c[d]);return D_c(a,function(){F_c(a)[d](b,c[c.valueType])},c.valueType)},D_c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof gTc))return pSc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},E_c=function(a){return{BOOLEAN:function(b,c){return b.zJa(j_c(c))},
TEXT:function(b,c){return b.c2(i_c(c))},TEXT_LIST:function(b,c){return b.qKa(k_c(c))},LONG_TEXT:function(b,c){var d=new dTc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.Pj(b,10,pQ[0],c)},SELECTION:function(b,c){return b.cKa(m_c(c))},SELECTION_LIST:function(b,c){return b.bKa(n_c(c))},INTEGER:function(b,c){return b.MJa(o_c(c))},INTEGER_LIST:function(b,c){return b.LJa(p_c(c))},USER:function(b){return b.uKa(new hTc)},USER_LIST:function(b,c){return b.Iba(q_c(c))},DATE:function(b,c){return b.tba(s_c(c))},
USER_SCOPED:function(b,c){var d=new gTc;d=_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,t_c[e]);c=c[u_c(e)+"Options"];B_c(a,d,e,c);return _.Pj(b,16,pQ[0],d)}}},F_c=function(a){return{BOOLEAN:function(b,c){return b.Xqa(c)},TEXT:function(b,c){return b.ura(c)},TEXT_LIST:function(b,c){return b.d2(c)},LONG_TEXT:function(b,c){return oTc(b,c)},SELECTION:function(b,c){return b.nra(c)},SELECTION_LIST:function(b,c){return b.b2(c)},INTEGER:function(b,c){return b.cra(parseInt(c,10))},INTEGER_LIST:function(b,
c){return b.P1(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return pTc(b,_.EP(a.H,c))},USER_LIST:function(b,c){qTc(b,c.map(function(d){return _.EP(a.H,d)}))},DATE_STRING:function(b,c){return rTc(b,c)}}},G_c=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},H_c=function(a){a=a.personResponse;return PXc(new OXc,a.map(function(b){var c=b.person;b=zPc(new cQ,b.personId).zd(G_c(c));var d=c;d=void 0===d?{}:d;d=d.email;b=_.x(b,3,d?d[0].value:"");c=void 0===
c?{}:c;c=c.photo?c.photo[0]:null;d=new APc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.R(b,4,c)}))},I_c=function(a){this.H=a},K_c=function(a,b){_.DP(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return J_c(a,c)})},J_c=function(a,b){_.DP(["drive#teamDrive","drive#drive"],b);var c=new _.Qma,d=b.colorRgb;d=d?parseInt(d.substring(1),16):0;_.x(c,2,d);_.x(c,1,b.backgroundImageLink);_.x(c,3,b.trusted);_.x(c,5,b.backgroundImageGridViewLink);_.x(c,6,b.backgroundImageListViewLink);
_.x(c,7,b.hidden);(d=b.categoryReferences)&&COc(c,d.map(function(e){_.DP(["drive#driveCategoryReference"],e);var f=new _.Dk;return _.x(f,1,e.category)}));c=_.GJc(_.FJc(_.CJc(_.DJc(LOc(_.NM((new _.Ek).kc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.fJc(_.BMc(b.capabilities),!0),c.xn(d));b.permissionsSummary&&_.EJc(c,_.XMc(a.H,b.permissionsSummary));b.restrictions&&EOc(c,L_c(b.restrictions));return c},L_c=
function(a){var b=new _.Oma;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},M_c=function(a){_.DP(["drive#setting"],a);var b=new _.Sa;b=_.x(b,2,a.key);b=_.x(b,1,_.xHc[a.namespace]);return _.Tva(new _.qo,b).hc(a.value)},N_c={active:1,archived:2},O_c=function(a){_.DP(["drive#workspace"],a);var b=(new _.iC).kc(a.id).setTitle(a.title);b=_.x(b,3,_.FP(a.createdDate));return _.x(b,4,_.FP(a.modifiedDate)).Td(N_c[a.state])},
P_c=function(a){_.DP(["drive#workspaceList"],a);var b=a.items||[];b=RXc(new mR,b.map(function(c){return O_c(c)}));return new _.VP(b,pXc(a))},Q_c=function(a,b,c){var d=c.item||[];return _.tHc(new _.yN,d.map(function(e){return JZc(a,b,e)})).setSessionId(a_c(c))},R_c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return fUc(dUc(eUc(cUc(new AQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return JZc(a,b,f)})),uR(c))},S_c=function(a,b,c){var d=c.item||[];return iUc(new BQ,
d.map(function(e){return R_c(a,b,e)})).setSessionId(a_c(c))},T_c=function(a){var b=new SSc;a.kind&&(a=O_c(a),_.R(b,2,a));b.Dc(1);return b},U_c=function(a,b,c,d,e,f){this.W=a;this.Ca=b;this.wa=c;this.ta=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0};U_c.prototype.Lh=function(){var a=new _.pR;a.Dc(this.V);this.H&&_.bYc(a,this.H?_.Vj(this.H):null);return a};
var W_c=function(a,b,c,d){d=void 0===d?!1:d;var e=_.zHc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.oN(a.W)){var h=(h=b&&b.getUser())&&_.BG(h);h=!(!h||!V_c(a.Ca,h));a.V=h&&e||d?1:6}f=!_.Uj(a.H,b)||(_.oN(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.oN(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Vj(b);_.oN(a.W)||(a.V=e||d?1:6);c&&(YQ(a.wa,"toquGd"),a.ta.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};
U_c.prototype.Re=function(){return this.ha};var X_c=function(){_.O.call(this);this.H=Date.now()};_.J(X_c,_.O);var Y_c=function(a){a.H=Date.now();a.dispatchEvent("Jb")},Z_c=function(a){_.O.call(this);this.wa=a;this.ha=0};_.J(Z_c,_.O);var $_c=function(a){a=_.Vj(a);var b=function(c){return c.toLowerCase()};$Tc(a,_.z(a,4).map(b));aUc(a,_.z(a,5).map(b));return a};_.g=Z_c.prototype;_.g.fna=function(){};_.g.REa=function(){};_.g.remove=function(){};_.g.ena=function(){};_.g.xy=function(){return 0!=this.ha};
_.g.Re=function(){return this.ha};var a0c=function(a,b,c){Z_c.call(this,b);this.ta=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.J(a0c,Z_c);a0c.prototype.fna=function(){var a=new jR;if(!_.nf(this.H)){_.x(a,4,this.V||[]);var b=[];_.ff(this.H,function(c){b.push(_.Vj(c))});_.Qj(a,2,b)}a.Dc(this.W);return a};a0c.prototype.REa=function(a){this.H[a.getId()]=$_c(a);this.ka.update(1);this.dispatchEvent(new _.di("Kb",this))};a0c.prototype.remove=function(a){_.of(this.H,a)&&this.ka.update(1)};
a0c.prototype.ena=function(a,b,c){c=void 0===c?!1:c;var d=!_.AHc.has(b);1==this.W&&d||(this.ha=b,b0c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),YQ(this.wa,"nVUlO")))};
var b0c=function(a,b,c){var d=!1,e=c?1:6;d=e!=a.W;a.W=e;e=_.z(b,4);if(!d)if(e.length!=a.V.length)d=!0;else{var f=e.concat(a.V);_.ya(f);d=f.length!=a.V.length}a.V=e;var h=_.qf(a.H);_.zN(a.H);b=_.Oj(b,_.zQ,2);d||(d=b.length!=_.kf(h));b.forEach(function(k){var l=$_c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Uj(l,k))});a.ta.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.di("Kb",a))},c0c=function(a,b,c){_.O.call(this);
this.ta=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.nm=this.ha=null;this.W=!1};_.J(c0c,_.O);var e0c=function(a){if(a.ha)return a.ha;var b=_.Fh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);d0c(a,b);return b.promise};c0c.prototype.wa=function(){1==this.H&&(f0c(this,"Became unauthenticated."),this.H=!1,this.W=!0,g0c(this))};c0c.prototype.Ca=function(){0==this.H&&(f0c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.nm&&(_.m.clearTimeout(this.nm),this.nm=null),this.dispatchEvent(new RSc("ta")))};
var g0c=function(a){a.V||(a.V=new _.vNc(5E3),a.nm=_.m.setTimeout(function(){return h0c(a)},a.V.ub()))},h0c=function(a){d0c(a);a.V&&(_.RH(a.V),a.nm=_.m.setTimeout(function(){return h0c(a)},a.V.ub()))},d0c=function(a,b){_.Ah().then(function(){return i0c(a,b)})},i0c=function(a,b){f0c(a,"Checking authentication state.");var c=a.ta.then(function(d){return d.H(new _.CIc)});b?c.then(function(){b.resolve(dYc(new cYc,1))},function(d){var e=_.MN(d).eg;d=0;_.uGc(e)?(f0c(a,"Checked authentication state: unauthenticated."),
d=2):(f0c(a,"Checked authentication state: error occurred."),_.Gq(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new cYc;dYc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.MN(d);_.uGc(d.eg)&&a.W&&(a.dispatchEvent(new RSc("ua")),a.W=!1)})},f0c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},vR=function(a,b){this.ma=a;this.ta=b;this.V=!0;this.ha=!1;this.Ca=0},wR=function(a){a.V=!1;a.SEa()};_.g=vR.prototype;
_.g.Ija=function(a,b){var c=this;if(5==this.MC(a))throw Error("pf");var d=[];_.Fa(this.Iy(),function(e){eR(c.ma,a,e.getItem())&&d.push(e)});this.ta.sort(a,d,b);return d};_.g.S_=function(){return this.Iy().length};_.g.PT=function(a){a=this.Ija(a,void 0);a=bQ(a);var b=new _.kC;b.Cw(a);b.Dc(this.mT()?6:1);return b};_.g.update=function(a){var b=this.MD(a.V),c=this.MD(a.H);if(!b&&!c)return!1;b&&this.pX(a.V);c&&this.Zka(a.H);return!0};_.g.MC=function(a){return this.V&&this.ha?$Wc(a)?1:5:5};
_.g.HT=function(){this.ha=!0};_.g.MD=function(a){return!!a&&this.V};_.g.bx=function(a){this.Ca=a};_.g.Re=function(){return this.Ca};var xR=function(a,b,c,d,e,f){vR.call(this,a,b);this.Ja=c;this.jc=$Q(c,d,!0);this.H=[];this.ka={};this.W=!e;j0c(this,e);this.wa=(0,_.K)(this.ta.compare,this.ta,this.jc);this.Ga=f||""};_.J(xR,vR);_.g=xR.prototype;_.g.kd=function(){return this.jc};
_.g.Zka=function(a){var b=this.ka[a.getId()];b&&this.pX(b);wOc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.jc.th()&&(this.pX(_.ba(this.H)),this.W=!1)};_.g.pX=function(a){var b=this.H,c=_.Aa(b,a,this.wa);0<=c&&_.ma(b,c);_.of(this.ka,a.getId());a.H--};_.g.SEa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.Iy=function(){return this.H};_.g.MC=function(a){var b;if(b=this.Ja.equals(this.jc,a,!0))a=a.Sh(),b=this.jc.Sh(),b=JOc(b,a,!0);return b?this.W?1:6:5};
_.g.Ija=function(a,b){if(5==this.MC(a))throw Error("pf");b=b?Math.min(b,this.H.length):this.H.length;return _.ua(this.H,0,b)};_.g.MD=function(a){if(!vR.prototype.MD.call(this,a)||!eR(this.ma,this.jc,a.getItem()))return!1;if(this.W||_.A(this.jc,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.wa(a,b)};_.g.mT=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.gA=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.fa(a,function(e){return e.getId()==d.getId()})&&(b?(this.pX(d),j0c(this,_.ba(a))):this.W=!0);_.Fa(a,function(e){c.update(rR(e))})};var j0c=function(a,b){b&&eR(a.ma,a.jc,b.getItem())&&a.Zka(b)};xR.prototype.XF=function(){return this.Ga};var yR=function(a){_.N.call(this);this.context=a;this.Yd=new _.be(this);this.Pa(this.Yd);this.ma=new Set;this.H=6;this.Qa=0};_.J(yR,_.N);
var l0c=function(a,b){a.ma.add(b);a.resize(!0);k0c(a,b)},m0c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.eDa()?a.resize(!1):a.dispose()};yR.prototype.Re=function(){return this.Qa};yR.prototype.bx=function(a){this.Qa=a};yR.prototype.refresh=function(){};yR.prototype.PT=function(){};
var o0c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Vj(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Vj(e):null}c=Object.values(c).filter(function(f){return null!=f})}n0c(a.context.V,c,b);d=c.filter(function(f){return!dR(f)});GOc(b,d);c.forEach(function(f){_.dNc(a.context.iw,f,b);if(f.wc()){var h=f.getCapabilities();dR(f)?h&&(_.eJc(h,_.E(h,13)),_.bJc(h,!1),_.iJc(h,!1)):_.QN(f)?(h&&_.WIc(h,!1),_.x(f,30,!1)):h&&(_.mJc(h,!1),_.nJc(h,!1))}f.getCapabilities()||f.xn(new _.yk)})};
yR.prototype.resize=function(){};yR.prototype.kd=function(){};yR.prototype.gA=function(a,b){var c=this,d=!1;a.forEach(function(e){e=rR(e);d=c.yO(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&p0c(this)};var q0c=function(a,b){var c=!1;b.forEach(function(d){c=a.yO(d)||c});c&&p0c(a);return c};yR.prototype.update=function(a){return q0c(this,[a])};yR.prototype.yO=function(){};var p0c=function(a){a.Ga();a.ma.forEach(function(b){k0c(a,b)})};yR.prototype.Ga=function(){};
var k0c=function(a,b){var c=zR(a.context);c=r0c(c,b).kd();a.Ja(c)||(c=a.PT(c),a=zR(a.context),a.Ca[b]=c,a.V||(a.V=_.ni(a.ka,50,a)))},s0c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=zR(a.context);d.Ga[c]=b;d.V||(d.V=_.ni(d.ka,50,d))})},t0c=function(a){a.ma.forEach(function(b){(b=zR(a.context).ha[b])&&b.HJ()});a.bx(0==a.Re()?1:6)};yR.prototype.eDa=function(){return!1};yR.prototype.Ja=function(){return!1};var u0c=function(a){_.di.call(this,"Fb");this.id=a};_.J(u0c,_.di);
var v0c=function(a,b,c,d){d=void 0===d?!1:d;_.O.call(this);this.jc=a;this.wa=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ta=[];this.ma=[];this.W=null;this.Ga=d};_.J(v0c,_.O);
var z0c=function(a){if(a.V)return a.V.promise;a.V=_.Fh();a.jc.Kl().forEach(function(b){var c=_.oo(_.Vj(a.jc),[b]),d;a.Ga&&(d={job:!0});a.H.Em().then(function(e){return e.H(c,d)}).then(function(e){return void w0c(a,e)},function(e){e=_.MN(e);if(5==e.eg.ds()||4==e.eg.Pi())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),x0c(a);else{var f=new hR(e.eg,_.D(a.H.H.nf(),1,1));y0c(a.H.V,a.jc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
w0c=function(a,b){b.sr().Bd().forEach(function(c){_.x(c,82,1);a.ta.push(c)});x0c(a)},x0c=function(a){a.W||(a.W=_.m.setTimeout(a.Ca.bind(a),10))};v0c.prototype.Ca=function(){_.m.clearTimeout(this.W);this.W=null;A0c(this);B0c(this);this.ha.size==this.jc.Kl().length?(dQ(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var A0c=function(a){var b=a.ta;a.ta=[];b=a.H.Yf.WX(b);if(_.ZM(a.H.H.Se())){var c=a.H.V.V;_.Fa(b,function(d){var e=c.H(d.getId());e&&_.XO(d,e.li())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});dQ(a.H.V,b,1,a.wa,!0)},B0c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.AN(_.wN(new _.vN,c));a.H.V.ta([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new u0c(c))})},C0c=function(a,b,c,d){yR.call(this,a);this.ha=b;this.jc=c;this.V={};this.W=_.nN(a.H)||new _.vGc;d&&this.gA(d,!0)};
_.J(C0c,yR);
C0c.prototype.refresh=function(){var a=this;this.H=6;if(_.A(this.jc,5,!1))return this.H=1,_.Ah();var b=!JOc(_.BP(this.ha),this.jc.Sh()),c=[],d=this.context.ln();this.jc.Kl().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=ZP(n)||b)n=n&&n.Dm(),l=!(n&&_.E(n,2));l&&c.push(k)}});if(0==c.length)return this.gA([],!1),_.Ah();var e=this.jc.clone();_.oo(e,c);var f=new v0c(e,this.context,this.jc),h=_.Fh();this.context.ka.Ef()?(this.Yd.listen(this.context.ka,"Cb",function(k){k.Ef()||
(a.Yd.Sc(a.context.ka,"Cb"),D0c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Ug.Ef()&&(this.H=0<Object.values(this.V).length?1:2),D0c(this,f,h));return h.promise};var D0c=function(a,b,c){a.Yd.listen(b,"Fb",function(d){a.V[d.id]=null});t0c(a);z0c(b).then(function(){c.resolve()},c.reject)};_.g=C0c.prototype;
_.g.h5=function(a){var b=this;return this.context.ma.equals(a,this.jc)?_.A(this.W,5,!1)&&_.A(this.W,3,!1)?a.Kl().every(function(c){return(c=b.V[c])&&_.E(c.getItem(),31)}):JOc(_.BP(this.ha),a.Sh()):!1};_.g.PT=function(a){var b=new _.OP;_.oN(this.context.H)?b.Dc(SOc(Object.values(this.V))?6:this.H):b.Dc(this.H);GTc(b,this.Re());HTc(b,_.hf(this.V,function(c){return c?c.getItem():null}));o0c(this,a.Sh(),b.gs());return b};_.g.resize=function(){};_.g.kd=function(){return this.jc};
_.g.yO=function(a){var b=E0c(this,a.V),c=E0c(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 E0c=function(a,b){return!!b&&_.ia(a.jc.Kl(),b.getId())},F0c=function(a,b){_.di.call(this,a);this.changes=b};_.J(F0c,_.di);var G0c=function(){this.wa=this.ta=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};G0c.prototype.getSessionId=function(){return this.ta};G0c.prototype.setSessionId=function(a){this.H=!1;this.ta=a};
G0c.prototype.uc=function(){return this.H};
var H0c=function(a){var b=new G0c;if(a.DF()){var c=a.DF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.yX()&&(c=a.yX(),b.H=!1,b.wa=c);a instanceof _.PP&&_.Oj(a,_.tk,6).length?(a=_.Oj(a,_.tk,6),b.H=!1,b.ha=a):a instanceof _.kC&&(a.xX()||a.vha()||a.E7().length)&&(c=a.xX(),b.H=!1,b.ma=c,c=a.vha()||!1,b.H=!1,b.V=c,a=a.E7(),b.H=!1,b.W=a);return b},AR=function(a,b,c,d,e){e=void 0===e?"":e;_.O.call(this);this.context=a;this.hb=a.W;this.request=b;this.nextPageToken=e;this.W=0;this.Ca=
!1;this.V=[];this.ta=new Set;this.H=!1;this.ka=0;this.wa=c||!1;this.Wa=d||!1;this.Qa=this.ma(b);this.ha=new G0c};_.J(AR,_.O);var I0c=function(a){return!a.Ca||""!=a.nextPageToken},K0c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&I0c(a)?J0c(a):_.Oh()};AR.prototype.Zb=function(){return this.V.length};
var J0c=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 _.Ih;d.nb(function(f){return void L0c(a,c,f)});var e=_.THc(_.UHc(new _.XM,a.Qa),c);b=_.RHc(new _.UEc,b);a.Wa&&_.x(b,10,!0);_.SHc(e,b);a.Ca=!0;a.H=!0;a.context.Em().then(function(f){return f.H(e)}).then(a.Ka.bind(a,d),a.Ja.bind(a,d,b));return d};
AR.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.PP)var c=b;else c=b.sr(),this.nextPageToken=b.Um()||"";this.ha=H0c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.Bd())};
AR.prototype.Ja=function(a,b,c){c=_.MN(c);this.H=!1;if(5==c.eg.ds())a.callback([]);else{if(10==c.eg.ds()&&(_.RHc(b,Math.ceil(_.D(b,1,1E3)/2-2E-15)),1<_.D(b,1,1E3))){var d=_.SHc(_.THc(_.UHc(new _.XM,this.Qa),this.nextPageToken),b);this.H=!0;this.context.Em().then(function(e){return e.H(d)}).then(this.Ka.bind(this,a),this.Ja.bind(this,a,b));return}b=new hR(c.eg,_.D(this.context.H.nf(),1,1));this.Ga(b);this.dispatchEvent(b);a.Ed(c)}};
var L0c=function(a,b,c){for(var d=new Set,e=_.u(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: ")+(_.lLc(a.request)+" paginationToken: ")+b;b=_.Gq(_.Eq(_.jN(_.iN(new _.pb,2),9),f));a.context.dispatchEvent(new _.rb(new _.qb(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=_.u(f);for(b=c.next();!b.done;b=c.next())_.x(b.value,
82,a.wa?2:1);c=[];b=_.u(a.Ma(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.wN(new _.vN,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new F0c("Eb",c));if(a.V.length<a.W&&a.nextPageToken)return J0c(a);a.dispatchEvent("Hb")};AR.prototype.Ma=function(a){return a};AR.prototype.Ga=function(){};AR.prototype.kd=function(){return this.request};AR.prototype.ma=function(a){a=_.Vj(a);this.wa&&_.x(a,46,!0);return a};var BR=function(a,b,c,d){AR.call(this,a,b,void 0,c,d)};
_.J(BR,AR);BR.prototype.Ma=function(a){a=this.context.Yf.WX(a);dQ(this.context.V,a,1,this.request,I0c(this));return a};BR.prototype.Ga=function(a){y0c(this.context.V,this.request,a)};BR.prototype.ma=function(a){var b=a=AR.prototype.ma.call(this,a),c=_.cP(b);0==_.z(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].ub()))&&(c=c.wc())&&(_.HN(b,[c]),_.IN(b,2));M0c(this,a);return a};
var M0c=function(a,b){if(_.cP(b).some(function(d){return(d=a.context.V.V.H(d.ub()))&&_.E(d,108)})){var c=b.oe();c||(c=new _.xe,_.Wk(b,c));_.ye(c,937)}},N0c=function(a,b,c,d){this.V=a;this.ma=b;this.ta=c;this.wa=d;this.W=0},P0c=function(a){var b=_.pc(a.ta);b=b.filter(function(d){return d instanceof C0c});var c=new Set;b.forEach(function(d){d.kd().Kl().forEach(function(e){a.wa.get(e)||c.add(e)})});b=_.ye(new _.xe,310);O0c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.nc(c)),b)},R0c=
function(a,b){var c=[];(a.V.V.Qa.H[b||"subscribed"]||[]).forEach(function(d){_.ff(a.ta,function(e){_.Uj(e.kd(),d)&&c.push(e)})});_.ya(c);0<c.length&&(Q0c(a),c.forEach(function(d){d=aR(a.V.ma,d.kd(),3);O0c(a,"Refreshing "+b+" cache: "+d)}),_.Gh(_.Ch(c.map(function(d){return d.refresh().Xf(_.Oe)})),a.ha.bind(a)))};
N0c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Cc(e)});if(0==a.length)return _.Ah({});a=_.x(_.no(_.oo(new _.mo,a),d||_.BP(this.ma)),7,!0);_.po(a,b);Q0c(this);b=new v0c(a,this.V,void 0,c);return _.Gh(z0c(b),this.ka.bind(this,b))};N0c.prototype.ka=function(a){a.dispose();this.ha()};var Q0c=function(a){a.W++;a.V.wa.setActive(!1)};N0c.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var O0c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},S0c=function(a,b,c){_.N.call(this);this.ma=a;this.H=b;this.jc=c;a=new _.xe;_.ze(a,!1);_.ye(a,305);_.Wk(this.jc,a);this.ha=new _.be(this);this.Pa(this.ha);this.W=this.V=null};_.J(S0c,_.N);
var T0c=function(a){if(!a.V){a.V=_.Fh();if(_.A(a.jc,48,!1))return a.H.bx(9),a.V.resolve(a.H),a.V.promise;a.W=new AR(a.ma,a.jc,!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));K0c(a.W,a.jc.th())}return a.V.promise};S0c.prototype.ka=function(a){var b=this;_.Fa(a.changes,function(c){c=c.getItem();b.H.update(rR(new WQ(c)))})};S0c.prototype.ta=function(){this.H instanceof xR?this.H.W=!I0c(this.W):I0c(this.W)&&wR(this.H);this.H.bx(5);this.V.resolve(this.H)};
var CR=function(a,b){vR.call(this,a,b);this.H={}};_.J(CR,vR);CR.prototype.Zka=function(a){this.H[a.getId()]=a;a.H++};CR.prototype.pX=function(a){_.of(this.H,a.getId());a.H--};CR.prototype.SEa=function(){_.ff(this.H,function(a){a.H--});this.H={}};CR.prototype.Iy=function(){return Object.values(this.H)};var DR=function(a,b,c,d,e){CR.call(this,a,b);var f=this;this.W=e;XQ(c,["aU7Ts","BNEDtc"],function(){return f.HT()})};_.J(DR,CR);
DR.prototype.MC=function(a){var b=this,c=CR.prototype.MC.call(this,a);if(5==c)return c;if(0<_.z(a,33).length)return 5;a=_.cP(a);return 0<a.length&&!a.every(function(d){d=b.H[d.ub()];return null!=d&&!d.getItem().wc()&&OOc(d.getItem())&&!_.E(d.getItem(),108)})?5:1};DR.prototype.MD=function(a){return CR.prototype.MD.call(this,a)&&U0c(this,a.getItem())};var U0c=function(a,b){if(_.E(b,31)||!a.ha)return!0;var c=a.W();return b.li().some(function(d){var e=a.H[d];return d==c||null!=e&&OOc(e.getItem())})};
DR.prototype.HT=function(){var a=this;CR.prototype.HT.call(this);_.ff(this.H,function(b){U0c(a,b.getItem())||(b.H--,_.of(a.H,b.getId()))})};DR.prototype.kd=function(){return new _.oe};DR.prototype.getType=function(){return"SubscribedCorpusCache"};DR.prototype.mT=function(){return!1};var ER=function(a,b,c){CR.call(this,a,b);this.W=c};_.J(ER,CR);_.g=ER.prototype;
_.g.MC=function(a){var b=this,c=CR.prototype.MC.call(this,a);if(5==c)return c;c=_.cP(a);var d=c.every(function(e){var f=e.ub();return(null!=b.H[f]||b.W==f)&&!_.A(e,2,!1)});if(0<c.length&&d)return 1;a=_.z(a,33);return 0!=a.length&&a.includes(this.W)?1:5};_.g.MD=function(a){return CR.prototype.MD.call(this,a)&&!!a&&a.getItem().wc()==this.W&&!dR(a.getItem())};_.g.mT=function(){return!1};_.g.kd=function(){var a=new _.oe;_.HN(a,[this.W]);_.IN(a,2);return a};_.g.wc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var V0c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.oe;_.x(a,48,!0);var b=new _.Yb;_.Zb(b,11);_.$b(b,2);_.pe(a,b);this.ka=$Q(this.ha,a,!0)};V0c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof DR?b.H=c:c instanceof xR?b.W.push(c):c instanceof ER&&b.V.push(c)})};
V0c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof DR)b.H&&(wR(b.H),b.H=null);else if(c instanceof xR){var d=_.da(b.W,function(e){return b.ha.equals(e.kd(),c.kd())});0<=d&&(wR(b.W[d]),_.ma(b.W,d))}else c instanceof ER&&(d=_.da(b.V,function(e){return b.ha.equals(e.kd(),c.kd())}),0<=d&&(wR(b.V[d]),_.ma(b.V,d)))})};
var W0c=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},X0c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Vj(c.kd()),_.x(c,32,void 0),c.eC([]),!_.Uj(a.ka,c)):!0})},Y0c=function(a,b){return _.Ye(a.V,function(c){return c.wc()==b})},Z0c=function(a,b){return X0c(a).find(function(c){return a.ha.equals(c.kd(),$Q(a.ha,b,!0))})},$0c=function(){this.H={}},FR=function(a,b){a1c(a,"subscribed");b&&a1c(a,b);return a.H[b||"subscribed"].ek.promise},
a1c=function(a,b){a.H[b]||(a.H[b]={count:0,uDa:[],$Ha:[],ek:_.Fh()});a.H[b].count++},c1c=function(a,b){b&&!b1c(a,b)||b1c(a,"subscribed")},b1c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].ek.resolve({items:a.H[b].uDa,Sgb:a.H[b].$Ha}),_.of(a.H,b));return!0};$0c.prototype.V=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.wc();f&&f==e.Hc()&&c.H[f]&&c.H[f].$Ha.push(e);c.H[d]&&c.H[d].uDa.push(e)})};
var d1c=function(a,b){_.di.call(this,"Lb");this.Ke=a;this.H=b};_.J(d1c,_.di);var e1c=function(a,b){return new _.zh(function(c,d){b.then(function(e){var f={};a.Iy().forEach(function(h){var k=h.getId();mPc(h.getItem());f[k]=new WQ(h.getItem())});e.items.forEach(function(h){var k=h.Hc();k=f[k];h.Mz()?k&&a.update(new uYc(k.getId(),k,null)):(h=h.getItem(),mPc(h),a.update(vYc(k,new WQ(h))))});a.HT();c(e.Sgb)},d)})},f1c=function(a,b){_.N.call(this);this.H=a;this.V=b};_.J(f1c,_.N);
var m1c=function(a){var b=_.m._DRIVE_ivd;g1c(a,"Running initial view populator (IVDP).");try{var c=new UQ(JSON.parse(b))}catch(t){h1c(a,"Error parsing initial view dump.",t);return}b=a.H.H.Se();if(!_.ZM(b)){var d=c.Lh();if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&W_c(a.H.tc,d,4)}(b=c.ln())&&i1c(a.H,b,6)}var f=c.ey()||void 0;f&&j1c(a.H,f,!0);if((b=c.Mw())&&b.length){d=(d=a.H.H.nf())&&_.z(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.ro(t))&&h.add(t)});k1c(a.H.Ma,b,4,
[].concat(_.nc(h.values())))}b=c.Bd();b.forEach(function(t){_.mIc(t);_.x(t,82,6)});if(d=_.Oj(c,TQ,5)[0])if(c=a.H.ma,NOc(_.BP(a.V),d.getQuery().Sh(),_.hP(a.H.H)))if((e=d.getQuery().Ud())&&4==e.getType()&&!VOc())h1c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=$Q(c,d.getQuery());var k=_.z(d,2)||void 0;e.Gi(k);k=b.map(function(t){return new WQ(t,void 0,1,f)});var l=_.C(d,_.Ek,3);if(l&&_.z(d,2)){var n=k[k.length-1];_.x(l,82,6);if(!_.Uj(l,n.getItem())){h1c(a,"Invalid last item in initial view data.");
return}}d=(l=_.nN(a.H.H))&&_.A(l,2,!1)&&d.Um()||"";var q=new xR(a.H.Ka,a.H.Wa,a.H.ma,e,n,d);q.bx(4);k.forEach(function(t){q.update(rR(t))});l1c(a.H.V,q);n=q.kd();g1c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+aR(c,n));c=new _.XM;_.UHc(c,n);n=_.tMc(a.H.Qa,c,"IVDP");_.uMc(n,b);YQ(a.H.ha,"W6J7De")}}else h1c(a,"Invalid initial view data, fields: "+vWc(c,d.getQuery().Sh()));else h1c(a,"No initial query found")},h1c=function(a,b,c){var d=
c?void 0:_.Gq(_.jN(_.iN(new _.pb,2),6));c=new _.qb(b,d,c);a.H.rb(c.eg);g1c(a,"Initial view dump population failed. Message: "+b);YQ(a.H.ha,"DEJoH")},g1c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},n1c=function(a){_.O.call(this);this.context=a;this.V=new DR(a.Ka,a.Wa,a.ha,a.H,function(){return a.ln()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.J(n1c,_.O);
var o1c=function(a,b){var c=_.D(a.context.H,31,2E4);("number"===typeof _.z(b,3)?_.z(b,3):c+1)>c?(wR(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Qa.hc("CachedCorpusType",b)};n1c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var p1c=function(a,b){0==a.W&&(a.W=b)},q1c=function(a,b){_.O.call(this);this.V=a;this.jc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.J(q1c,_.O);
var s1c=function(a){return a.W||a.ha&&""==a.H?_.Oh():r1c(a)};q1c.prototype.Zb=function(){return this.ka.length};
var r1c=function(a){a.ha=!0;a.W=!0;var b=QRc(RRc(new _.IO,a.jc),a.H),c=_.tMc(a.V.Qa,b);return _.Ph(a.V.Em().then(function(d){return d.H(b)}).then(function(d){var e=d.sr().Bd();a.H=d.Um()||"";t1c(a,c,e)},function(d){a.W=!1;d=new hR(_.kN(d),_.D(a.V.H.nf(),1,1));a.dispatchEvent(d)}))},t1c=function(a,b,c){_.uMc(b,c);for(b=0;b<c.length;b++)_.x(c[b],82,1);dQ(a.V.V,c,1,a.jc,!a.ha||""!=a.H);var d=[];_.Fa(c,function(e){this.ka.push(e.getId());e=_.wN(new _.vN,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new F0c("Eb",
d));a.H?r1c(a):(a.W=!1,a.dispatchEvent("Hb"))};q1c.prototype.kd=function(){return this.jc};var u1c=function(a){this.H=iWc(a,{numeric:!0})};u1c.prototype.sort=function(a){_.Da(a,this.V.bind(this))};u1c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.za(a.getId(),b.getId()):c};
var GR=function(a,b,c,d){d=void 0===d?!1:d;yR.call(this,a);this.ka=b;this.jc=_.Vj(c);this.ha=new q1c(a,this.jc);this.ta=new u1c(kQ(a.H.Se()));this.W=[];_.rd(this,this.hSa,this);this.V=null;d&&(this.V=_.Fh(),this.V.resolve())};_.J(GR,yR);GR.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return v1c(this)};
var v1c=function(a){if(a.V)return a.V.promise;a.V=_.Fh();a.context.ka.Ef()?a.Yd.listen(a.context.ka,"Cb",function(b){b.Ef()||(a.Yd.Sc(a.context.ka,"Cb"),t0c(a),s1c(a.ha).Af(a.V.resolve,a.V.reject,a.V))}):(t0c(a),s1c(a.ha).Af(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=GR.prototype;_.g.resize=function(){};_.g.kd=function(){return this.jc};_.g.Iy=function(){return this.W};_.g.h5=function(a){return this.context.ma.equals(a,this.jc)};
_.g.PT=function(a){a=a.th();this.ta.sort(this.W);var b=bQ(_.ua(this.W,0,Math.min(a,this.W.length)));o0c(this,vSc(this.ka),b);var c=new _.kC;c.Cw(b);c.Dc(1==this.H||a<=this.W.length?1:this.context.ka.Ef()||this.context.Ug.Ef()?0<this.W.length?1:2:6);c.zX(this.Re());xRc(c,a<this.W.length||!(this.context.ka.Ef()||this.context.Ug.Ef())&&1!=this.H);return c};_.g.gA=function(a,b){this.V&&yR.prototype.gA.call(this,a,b)};
_.g.yO=function(a){if(!this.V)return!1;var b=a.id,c=_.fa(this.W,function(h){return h.getId()==b}),d=!!c,e=w1c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?x1c(this,f,a.H):y1c(this,f):z1c(this,a.H);else return!1;return!0};var z1c=function(a,b){a.W.push(b);b.H++},y1c=function(a,b){_.oa(a.W,b);b.H--},x1c=function(a,b,c){a.W[_.ha(a.W,b)]=c;c.H++;b.H--},w1c=function(a,b){if(b){var c;if(c=dR(b.getItem()))if(a=a.jc,b=b.getItem(),c=!!b&&!!b.Yj())a=a.Jl(),c=null==a||!!b.Yj().Jl()==a;b=c}else b=!1;return b};
_.g=GR.prototype;_.g.hSa=function(){this.W.forEach(function(a){a.H--})};_.g.eDa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.S_=function(){return this.W.length};_.g.HT=function(){this.H=1};
var A1c=function(a){this.H=a},C1c=function(a,b){return B1c(a,b,null,0,5)},B1c=function(a,b,c,d,e){if(0==e||null==b){var f=new YXc;_.x(f,2,b);_.x(f,1,d);return _.Ah(f)}var h=gUc();_.x(h,2,b);c&&_.x(h,3,c);return a.H.then(function(k){return k.H(h)}).then(function(k){var l=k.XF();k=d+_.z(k,1);return B1c(a,l,c,k,e-1)})},D1c=function(){this.qc=[];this.V=this.H=0};
D1c.prototype.discard=function(a){for(var b=this.H,c=this.V,d=this.qc,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 E1c=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.V,f=a.qc,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},F1c=function(a){this.W=a;this.V=new CXc(new DXc,_.Hka(a));this.H=new DXc};
F1c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.Ika(b);c=G1c(this,a);return b.concat(c,H1c(this,b,a,!0))};
var I1c=function(a,b){var c=H1c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=G1c(a,c);if(b!=a)throw Error("qf");return c},G1c=function(a,b){a=a.V;b=FSc(b);a.reset();a.update(b);b=a.digest();return _.Ika(b)},H1c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new D1c;a=a.H.digest();if(!e)var e=a.length;for(var f=b.qc,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=FSc(c.substring(8192*e,8192*(e+1))),E1c(b,a),d+=_.Ika(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;E1c(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!=d[c].length)throw Error("rf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=HR(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=HR(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=HR(d,e++),k=HR(d,e++),l=HR(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=HR(d,e++),k=HR(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},HR=function(a,b){return a[Math.floor(b/8192)][b%8192]},J1c=function(a,b,c){this.H=a;this.W=b;this.V=c};J1c.prototype.getData=function(){return this.H};J1c.prototype.Dq=function(){return this.W};
var K1c=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=_.ra(e);_.Da(this.H);_.ya(this.H);this.r_=f;this.ha=null;this.ta=this.wa=!1;this.Ca=void 0};K1c.prototype.ty=function(){return this.ma};K1c.prototype.wj=function(){return this.ka};K1c.prototype.Gg=function(){return _.ra(this.H)};
var IR=function(a){if(!a.ha){var b=new _.RM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.MEc(b.digest())}return a.ha},L1c=function(a){return{versionKey:IR(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.r_}},M1c=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 K1c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:IR(a)!=d&&(a=null);return a},N1c=function(a,b,c){return[a.ty(),a.wj(),
b?"#":IR(a)].join(":")+":"+(c||"")},O1c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};O1c.prototype.getKey=function(){return this.H};O1c.prototype.ub=function(){return this.V};
var P1c=function(a,b){return{k:N1c(b,a.global,a.H),v:a.V}},Q1c=function(a,b){a=N1c(a,b);return TTc(a+"A",a+"z")},R1c=function(a,b){this.o3=a;this.n3=b},S1c=function(a){return a?new R1c(a.versionKey,a.versionChangeTimestamp):null},T1c=function(a,b){return a+":"+b},U1c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.DR=void 0===e?null:e},V1c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.DR}},W1c=function(a,b,c,d){a=IR(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Ox(":%02d",c)},X1c=function(a,b,c,d){c=W1c(a,b,void 0===c?0:c,d);a=IR(a)+"_"+b;3==b&&(a+="_"+d);return TTc(c,a+":a")},Y1c=function(a){var b=IR(a)+"_";a=IR(a)+"_A";return TTc(b,a)},Z1c=function(a){return a?new U1c(a.data,a.index,a.size,a.timestamp,a.e):null},$1c={UAb:"Versions",TNa:"Metadata",zqb:"Data",kOa:"Offline"},JR=function(a,b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.N.call(this);var e=this;this.V=null;this.rb=a.then(function(f){e.V=f});this.hb=b;this.ma=c;this.Ga=
d;this.H=null;this.Ka=!1;this.Ja=!0;this.ha=null;this.ta=!1;this.W="";this.Mb=new _.be(this);this.Pa(this.Mb);this.wa=null};_.J(JR,_.N);JR.prototype.initialize=function(){return a2c(this)};
var a2c=function(a,b){a.ha||(a.ha=_.Fh(),a.rb.then(function(){b?(a.Ja=!1,b2c(a,b),c2c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),c2c(a,"Opening database GoogleDriveDs (version 2)"),_.BFc("GoogleDriveDs",2,a.Ma.bind(a),a.Ca.bind(a)).Af(a.Wa.bind(a),a.Ca.bind(a)),_.ri(2E4).then(a.Qa.bind(a)))},function(c){a.ha.reject(new _.qb("Database version error",void 0,_.TM(c)?c:void 0))}));return a.ha.promise},b2c=function(a,b){a.H=b;a.Mb.listen(a.H,
"close",a.ka.bind(a,"Browser closing database"));a.Mb.listen(a.H,"versionchange",a.ka.bind(a,"Database version change detected, closing"))};JR.prototype.Ma=function(a,b){c2c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Fa(b.H.objectStoreNames,function(c){return _.XJc(b,c)});_.ff($1c,function(c){var d=_.BHc.get(c);_.zFc(b,c,d?{keyPath:d}:void 0)})};
JR.prototype.Ca=function(a){var b;a&&a instanceof _.aN&&"InvalidStateError"==a.getName()&&_.fj.Wu?b=Error("sf"):_.TM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);d2c(this,!1)};JR.prototype.Wa=function(a){this.ta?a.dispose():(b2c(this,a),this.Pa(this.H),this.Ga||e2c(this).Xf(function(){}),c2c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),d2c(this,!0))};
var d2c=function(a,b){if(a.wa){var c=a.wa,d=_.C(_.MP(c),aSc,5);d||(d=new aSc,c=_.MP(c),_.R(c,5,d));d=_.x(d,1,2);d=_.x(d,2,a.V.W);d=_.x(d,5,a.V.wa);b=_.x(d,3,b);b=_.x(b,4,a.Ka);_.x(b,6,a.V.Ca);a.wa.V();a.wa=null}};JR.prototype.Qa=function(){this.H||this.nh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ca(Error("tf")))};JR.prototype.ka=function(a){c2c(this,a);this.ta||(this.ta=!0,this.W="Database disabled: "+a,this.H&&this.Ja&&this.H.close())};JR.prototype.nh=function(){return this.ta};
var f2c=function(a){return a.ta?a.W:null},KR=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ga&&"readonly"!=c)return null;a=a.H;try{return _.gN(a,[b],c)}catch(d){return null}},e2c=function(a){var b=KR(a,"Versions","readwrite");if(!b)return _.Bh(Error("uf"));_.tFc(b.objectStore("Versions"),L1c(a.V));return b.wait().then(function(){})},g2c=function(a){if(!a.H)return _.Bh(Error("vf"));if(a.nh())return _.Bh(Error(a.W));var b=KR(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(IR(a.V)).then():
_.Bh(Error("wf"))},h2c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=Z1c(h))&&(d[h.index]=h)});if(!d[0])return b.reject(Error("xf")),0;a=d[0].timestamp;if(!a)return b.reject(Error("yf")),0;var e=d[0].size;if(!e)return b.reject(Error("zf")),0;if(e>d.length)return b.reject(Error("Af`"+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("Bf`"+e)),0;if(c&&a<c)return b.reject(Error("Cf`"+a+"`"+c)),d.length>e?
e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},j2c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Bh(Error("Df"));if(a.nh())return _.Bh(Error(a.W));var e=X1c(a.V,b,0,c),f=KR(a,"Data");if(!f)return _.Bh(Error("Ef"));e=f.objectStore("Data").getAll(e);var h=_.Fh();e.Af(function(k){k=h2c(k,h,d);a.Ga||null==k||i2c(a,b,c,k).Xf(function(){})},h.reject);return h.promise},l2c=function(a,b,c,d,e){if(a.H){if(a.nh())return _.Bh(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.Bh(Error("Ff"))}else return _.Bh(Error("Gf"));var f=Date.now(),h=b.length;b=b.map(function(n,q){return{key:W1c(a.V,c,q,d),data:new U1c(n.getData(),q,h,f,e),metadata:n}});var k=KR(a,"Data","readwrite");if(!k)return _.Bh(Error("Hf"));var l=k.objectStore("Data");b.forEach(function(n){var q=k2c(a,c,d,n.metadata);_.tFc(l,V1c(n.data),n.key).then(function(){if(q){var t=xSc(q);_.x(t,1,!0);q.V()}},function(t){t=t instanceof _.aN?t.code:_.bFc;if(q&&a.ma){var v=xSc(q);v=_.x(v,1,!1);t=_.NP(_.nHc,t);
_.x(v,2,t);q.V()}})});return k.wait().then(function(){})},k2c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=xSc(a);b=_.NP(_.mHc,b);b=_.x(e,3,b);c=_.NP(_.jHc,c);c=_.x(b,4,c);b=d.V;_.x(c,5,null==b?0:b?2:1);void 0!=d.Dq()&&(c=xSc(a),d=d.Dq(),_.x(c,6,d))}return a}return null},i2c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.nh())return _.Bh(Error(a.W));if(3==b&&void 0==c)return _.Bh(Error("If"))}else return _.Bh(Error("Jf"));b=X1c(a.V,b,d,c);a=KR(a,"Data","readwrite");if(!a)return _.Bh(Error("Kf"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},m2c=function(a){if(!a.H)return _.Bh(Error("Lf"));if(a.nh())return _.Bh(Error(a.W));var b=Y1c(a.V);a=KR(a,"Data","readwrite");if(!a)return _.Bh(Error("Mf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
JR.prototype.getMetadata=function(a){if(this.H){if(this.nh())return _.Bh(Error(this.W));if(a&&0==a.length)return _.Bh(Error("Nf"))}else return _.Bh(Error("Of"));var b=this.V,c=KR(this,"Metadata");if(!c)return _.Bh(Error("Pf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(N1c(b,h.global,h.key)).then())});a=_.Ch(e)}else a=_.Ch([d.getAll(Q1c(b,!1)).then(),d.getAll(Q1c(b,!0)).then()]).then(function(h){return vOc(h[0],h[1])});var f=_.Fh();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]!=IR(b)||l[0]!=b.ty()||l[1]!=String(b.wj())?null:new O1c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var n2c=function(a,b){if(a.H){if(a.nh())return _.Bh(Error(a.W));if(0==b.length)return _.Bh(Error("Qf"))}else return _.Bh(Error("Rf"));var c=KR(a,"Metadata","readwrite");if(!c)return _.Bh(Error("Sf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.tFc(d,P1c(f,a.V)).then())});return _.Ch(e).then(function(){})},o2c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.nh())return _.Bh(Error(a.W))}else return _.Bh(Error("Uf"));var c=a.V;a=KR(a,"Metadata","readwrite");if(!a)return _.Bh(Error("Vf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(Q1c(c,!1)).then());b&&d.push(a.remove(Q1c(c,!0)).then());return _.Ch(d).then(function(){})},p2c=function(a){if(!a.H)return _.Bh(Error("Wf"));if(a.nh())return _.Bh(Error(a.W));var b=T1c(a.V.ty(),a.V.wj());return(a=KR(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return S1c(c)}):_.Bh(Error("Xf"))},q2c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Bh(Error("Yf"));if(a.nh())return _.Bh(Error(a.W));var c=a.V,d=T1c(c.ty(),c.wj());
b=new R1c(IR(c),b?Date.now():void 0);a=KR(a,"Offline","readwrite");if(!a)return _.Bh(Error("Zf"));_.tFc(a.objectStore("Offline"),{versionKey:b.o3,versionChangeTimestamp:b.n3},d);return a.wait().then(function(){})};JR.prototype.Xk=function(a){var b=this;return this.H?this.nh()?_.Bh(Error(this.W)):p2c(this).then(function(c){var d=IR(b.V);if(c)if(a){if(!c.n3&&d==c.o3&&d!=IR(a))return q2c(b,!0);if(c.n3&&d==IR(a))return q2c(b)}else{if(d!=c.o3)return q2c(b)}else if(!a)return q2c(b)}):_.Bh(Error("$f"))};
var r2c=function(a){if(!a.H)return _.Bh(Error("ag"));if(a.nh())return _.Bh(Error(a.W));var b=a.V,c=T1c(b.ty(),b.wj());return p2c(a).then(function(d){if(d&&(d=KR(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
JR.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.nh()?_.Bh(Error(this.W)):p2c(this).then(function(c){var d=c&&c.o3==IR(b.V);return d&&!a?!1:(c&&d?r2c(b):_.Ah()).then(function(){return _.Ch([o2c(b,a),m2c(b),g2c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Bh(Error("bg"))};JR.prototype.close=function(){this.ka("Closing database")};
var c2c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},s2c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.pc($1c).every(function(c){return b&&b.contains(c)})},t2c=function(){var a=_.Fh();_.BFc("GoogleDriveDs").Af(function(b){b?s2c(b)?a.resolve(b):(b.close(),_.Gh(UTc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},u2c=function(a,b,c){var d=_.Fh();a?_.gN(a,["Versions"],"readonly").objectStore("Versions").getAll().Af(function(e){e=
_.pc(e).map(function(f){return M1c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.ty()==b)&&(!c||f.wj()==c)}))},d.reject):d.resolve([]);return d.promise},v2c=function(a,b,c){var d=_.Fh();t2c().then(function(e){e?_.gN(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return S1c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.n3&&(h=c+f.n3-Date.now());var k=_.gN(e,["Versions"],"readonly");k.objectStore("Versions").get(f.o3).then(function(l){(l=
M1c(l))?(l.wa=!0,0>h?l.ta=!0:0<h&&(l.Ca=h),d.resolve(l)):d.resolve(null)});_.Kh(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},w2c=function(a,b,c){var d=_.Fh(),e=new JR(_.Ah(a),b);a2c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},x2c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=w2c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Ch(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+IR(l)))});d.resolve(k)})},y2c=function(a,b,c){var d=Date.now()-12096E5,e=_.Fh();t2c().then(function(f){f?(_.Gh(e.promise,function(){return f.close()}),u2c(f,a,b).then(function(h){return h.filter(function(k){return k.r_<d})},function(){return[]}).then(function(h){x2c(h,c,f,e)})):e.resolve([])});return e.promise},z2c=function(a,b,c){var d=_.Fh();t2c().then(function(e){e?
(_.Gh(d.promise,function(){return e.close()}),u2c(e,a,b).then(function(f){x2c(f,c,e,d,!0)})):d.resolve([])});return d.promise},A2c=function(a,b,c,d){if(a.length){var e=a.shift(),f=W1c(e,3,0,1);try{_.gN(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=Z1c(h))&&(!h.DR||h.DR&&d.has(e.V))?b.resolve(e):A2c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},B2c=function(a,b,c,d,e,f,h){var k=_.Fh();t2c().then(function(l){l?(_.Gh(k.promise,function(){return l.close()}),
u2c(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=IR(q))&&q.W==c&&q.r_>=e&&NOc(d.filter(function(t){return!_.CHc.has(t)}),q.Gg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.r_-q.r_}),A2c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},C2c=function(a,b,c){this.V=a;this.H=_.Fh();this.ta=!1;this.W=_.D(b,7,"");this.ka=_.D(_.lQ(b),6,2E7);this.ha=_.oN(b);this.ma=_.D(_.lQ(b),12,0);this.wa=c};
C2c.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 _.Ph(this.H.promise)};
var D2c=function(a){if(a instanceof _.yC)return 0;if(a instanceof jR)return 1;if(a instanceof OSc)return 5;if(a instanceof UQ)return 3;if(a instanceof OXc)return 6;throw new _.qb("Unsupported dataShard in getDataType");},E2c=function(a){if(0==a)return _.yC;if(1==a)return jR;if(5==a)return OSc;if(3==a)return UQ;if(6==a)return OXc;throw new _.qb("Unsupported dataType:"+a+" in getDataTypeCtor");},F2c=function(a){if(a instanceof UQ)return _.D(a,13,0)},G2c=function(a){if(a instanceof UQ)return a.Bd().length},
H2c=function(a){if(a instanceof UQ)return a=_.E(a,6),null!=a?a:void 0},L2c=function(a,b,c){if(0==c.length)return _.Ah();var d=D2c(c[0]);c.forEach(function(){});var e=F2c(c[0]);3==d&&I2c(a,c);var f=!!b;return J2c(a,c).then(function(h){return f?K2c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.Bh(Error("cg"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return l2c(a.V,h,d,e,f)})})},J2c=function(a,
b){return new _.zh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Cc();n.length>a.ka?e=!0:f.push(new J1c(n,G2c(l),H2c(l)))}});if(e){var h=Error("dg"),k=new _.pb;_.iN(k,2);_.WM(k,23);_.x(k,21,h.message);_.Gq(k);a.wa(k);d(h)}c(f)})},I2c=function(a,b){F2c(b[0]);b.forEach(function(){});a.ha||M2c(b);N2c(a,b)},LR=function(a,b,c,d,e){var f=_.Fh();a.H.promise.then(function(){return j2c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Ih;h[0]&&h[0].DR?O2c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=E2c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||P2c(k),Q2c(k));f.resolve(k)}).Xf(f.reject,f);return f.promise},M2c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].qJ().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Bd()||[]).forEach(function(h){_.YO(h,MR(_.Fk(h),c,d));_.ZO(h,MR([h.So()],c,d)[0]);var k=MR([h.aB()],c,d)[0];_.R(h,47,k);k=MR([_.C(h,_.tk,91)],c,d)[0];_.R(h,91,k);k=
MR([h.oB()],c,d)[0];_.R(h,95,k);if(h=h.gv())_.tJc(h,MR(_.Oj(h,_.tk,2),c,d)),_.uJc(h,MR(_.Oj(h,_.tk,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});PVc(a[0],e)}},MR=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)?_.Uj(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.tk,e.kc(f),c.set(f,e),d.push(e))}else d.push(e)});return d},P2c=function(a){var b=new Map,c=new Map;a[0]&&a[0].qJ()&&a[0].qJ().forEach(function(d){b.set(d.getId(),
d);d=(new _.tk).kc(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Bd()||[]).forEach(function(e){_.YO(e,NR(_.Fk(e),b,c));_.ZO(e,NR([e.So()],b,c)[0]);var f=NR([e.aB()],b,c)[0];_.R(e,47,f);f=NR([_.C(e,_.tk,91)],b,c)[0];_.R(e,91,f);f=NR([e.oB()],b,c)[0];_.R(e,95,f);if(e=e.gv())_.tJc(e,NR(_.Oj(e,_.tk,2),b,c)),_.uJc(e,NR(_.Oj(e,_.tk,3),b,c))});PVc(d,[])})},NR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Uj(c.get(f),e)?d.push(_.Vj(b.get(f))):
d.push(e)}else d.push(e)});return d},N2c=function(a,b){if(a.ma){a=a.ma;for(var c=b.length-1;0<=c;c--)if(_.D(b[c],13,0)){for(var d=[],e=b[c].Bd();e.length>a;){var f=_.va(e,a-1,a);f=VQ(new UQ,f);d.push(f)}VQ(b[c],e);d.length&&_.Re(_.va,b,c+1,0).apply(null,d)}}},Q2c=function(a){for(var b={},c=1;c<a.length;b={G3:b.G3},c++)if(!_.D(a[c],13,0)){for(var d=0,e=c;e<a.length&&!_.D(a[e],13,0);e++)d++;e=a[c-1];d=_.va(a,c,d);b.G3=e.Bd();d.forEach(function(f){return function(h){_.ta(f.G3,h.Bd())}}(b));VQ(e,b.G3)}},
K2c=function(a,b,c){if(!_.lN()&&a.W){var d=new Worker(a.W),e=new _.Ih;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Ed(Error(k))},!1);c=gYc(new fYc,c);d.postMessage({command:"encrypt",data:{request:c.Cc(),key:b}});return e}try{a=[];var f=new F1c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Oh(a)}catch(k){h=_.Qh(k)}return h},O2c=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(!_.lN()&&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 F1c(c);for(c=0;c<d.length;c++)a.push(I1c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},R2c={key:"rid",global:!0},S2c={key:"ooi",global:!0},T2c={key:"rtds",global:!1},U2c={key:"dct",global:!1},V2c={key:"pc",global:!1},
W2c=function(a){this.H=new _.zh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},X2c=function(a,b){return a.H.then(function(c){if(c&&!c.nh())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.ub():void 0},function(){})})},OR=function(a,b,c){return a.H.then(function(d){return d&&!d.nh()?n2c(d,[new O1c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
W2c.prototype.ln=function(){return X2c(this,R2c).then(function(a){return a?a:null})};var Y2c=function(a){return X2c(a,S2c).then(function(b){return"boolean"===typeof b?b:null})};W2c.prototype.zA=function(a){return OR(this,S2c,a)};
var Z2c=function(a){return X2c(a,V2c).then(function(b){return"boolean"===typeof b?b:null})},$2c=function(a){return X2c(a,T2c).then(function(b){return Array.isArray(b)?b:null})},a3c=function(a){return X2c(a,U2c).then(function(b){return"number"===typeof b?b:null})},b3c=function(a,b){n1c.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.wa=null;this.Ca=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.J(b3c,n1c);
b3c.prototype.handleError=function(){this.log("Local dump population failed.");YQ(this.context.ha,"mrK8ic")};
b3c.prototype.ta=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Ih;this.wa=b;c3c(this).then(function(){var c=_.Oj(_.lQ(a.H),jQ,11);c=c[0]&&c[0].getKey()||"";return d3c(a,a.context.Db,c,4)}).Xf(function(c){if(_.A(a.H,8,!0))return e3c(a);throw c;}).then(function(){_.oN(a.H)||a.context.V.ma.H.clear();YQ(a.context.ha,"zaOY7");b.callback()},function(c){p1c(a,8);a.handleError();b.Ed(c)});return b}this.handleError();return _.Qh(Error("eg"))};
var c3c=function(a){return a.context.Db.initialize().then(function(){if(!_.iP(a.H)){var b=_.D(_.lQ(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.zh(function(c,d){Z2c(a.context.Ga).then(function(e){e?c():d(Error("fg"))})})}})},d3c=function(a,b,c,d){var e=a.ha;f3c(a,b,c,e);g3c(a,b,c,e);h3c(a,b,c,e);return i3c(a,b,c,e).then(function(){return Promise.all([j3c(a,b,c,d,e),k3c(a,b,c,d,e),l3c(a,b,c,d,e),m3c(a,b,c,d,e)])})},f3c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
LR(b,c,0,void 0,d).then(function(f){f[0]?W_c(a.context.tc,f[0],a.Re(),_.iP(a.H)):e()},function(){return e()})},g3c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};LR(b,c,1,void 0,d).then(function(f){f[0]?a.context.Yc.ena(f[0],a.Re(),_.iP(a.H)):e()},function(){return e()})},h3c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};LR(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.Mw();h.length&&k1c(a.context.Ma,h,
a.Re(),_.z(f,2),_.iP(a.H))}else e()},function(){return e()})},j3c=function(a,b,c,d,e){var f=new _.dn;LR(b,c,3,1,e).then(function(h){return n3c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||NOc(h.Sh(),_.BP(a.ka),_.hP(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.ZO());var k=h.ey();if(!k||0>k)throw Error("ig");i1c(a.context,h.ln(),d);k=h.ey();"number"===typeof k&&j1c(a.context,Number(k));_.iP(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.yma());o3c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},k3c=function(a,b,c,d,e){var f=new _.dn;LR(b,c,3,2,e).then(function(h){h[0]?(o3c(a,h[0],d),f.resolve()):f.reject(Error("gg"))},f.reject,f);return f.promise},l3c=function(a,b,c,d,e){var f=new _.dn;_.jP(a.H)?LR(b,c,3,4,e).then(function(h){h.forEach(function(k){o3c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),YQ(a.context.ha,"rVezo"));return f.promise},m3c=function(a,b,c,
d,e){var f=new _.dn;_.jP(a.H)?LR(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){o3c(a,k,d)}):YQ(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),YQ(a.context.ha,"rVezo"));return f.promise},i3c=function(a,b,c,d){var e=new _.dn;LR(b,c,6,void 0,d).then(function(f){f=_.u(f);for(var h=f.next();!h.done;h=f.next())h=h.value,h.Vo().length&&(a.log("Importing "+h.Vo().length+" people into the PeopleCache."),h=h.Vo(),p3c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
n3c=function(a,b){var c=b.ey();return c&&!_.iP(a.H)?C1c(new A1c(a.context.Em()),c).then(function(d){return null!=_.z(d,2)?(a.log("Encrypted dump too stale."),a.context.ta.H(106007),p1c(a,9),null):b},function(){return b}):_.Ah(b)},e3c=function(a){var b=IR(a.context.hb.V),c=_.Oj(_.lQ(a.H),jQ,11).filter(function(d){return null!=_.z(d,2)});return B2c(_.gP(a.H.Se()),_.hP(a.H),_.D(_.lQ(a.H),10,0)||0,_.BP(a.ka),a.ha||0,c.map(function(d){return _.z(d,1)}),b).then(function(d){if(d){var e=c.find(function(k){return d.V==
_.z(k,1)}),f=new JR(_.Ah(d),a.context.W,null,!0),h=new C2c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ca=!0;return d3c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([V2c])}).then(function(k){if(k[0])return k=k[0].ub(),OR(a.context.Ga,V2c,k)}).then(function(){f.close()})}return _.Bh(Error("hg"))})},t3c=function(a,b,c){switch(_.D(b,13,0)){case 1:return q3c(a,b,c);case 2:b=_.C(b,uPc,11);if(!b)throw Error("jg");o1c(a,b);a.V.V?(a.V.bx(a.Re()),a=[{cache:a.V,changes:FR(a.context.Ca,
null)}]):a=[];return a;case 3:return r3c(a,b);case 4:return s3c(a,b);default:return null}},q3c=function(a,b,c){var d=[];_.Oj(b,TQ,5).forEach(function(e){var f=void 0,h=_.C(e,_.Ek,3);h&&(_.mIc(h),_.E(a.H,67)&&XP(h,POc),_.x(h,82,c),f=new WQ(h));var k=e.getQuery();if(!_.A(k,48,!1)||_.Oj(a.H,_.oe,44).some(function(l){if(!_.A(l,48,!1))return!1;l=$Q(a.context.ma,l,!0);return _.Uj(l,k)}))e=new xR(a.context.Ka,a.context.Wa,a.context.ma,k,f),e.bx(a.Re()),d.push({cache:e,changes:FR(a.context.Ca,null)})});return d},
s3c=function(a,b){return _.Oj(b,TQ,5).map(function(c){c=new GR(a.context,a.ka,_.C(c,_.SM,5),!0);c.bx(a.Re());return{cache:c,changes:FR(a.context.Ca,null)}})},r3c=function(a,b){if(!_.jP(a.H))return[];var c=_.z(_.Oj(b,TQ,5)[0].getQuery(),33)[0],d=b.ey()||void 0;b=FR(a.context.Ca,c);PR(a.context).nb(function(f){f.Vea(c,d)});var e=new ER(a.context.Ka,a.context.Wa,c);e.bx(a.Re());return[{cache:e,changes:b}]},o3c=function(a,b,c){var d=t3c(a,b,c);d&&0!=d.length?(b.Bd().forEach(function(e){_.mIc(e);_.E(a.H,
67)&&XP(e,POc);_.x(e,82,c);if(!_.oN(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;u3c(f,QR(f,[e]))}e=new WQ(e);for(f=0;f<d.length;f++)d[f].cache.update(rR(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new d1c(f,e.changes));a.log("Imported "+f.S_()+" items into the "+f.getType());var h=null;f instanceof ER&&(h=f.wc());a.context.Je.promise.then(function(){c1c(a.context.Ca,h)})}),1==_.D(b,13,0)&&YQ(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.D(b,13,0)+".")};
b3c.prototype.Re=function(){return this.Ca?7:3};var v3c=function(a){_.N.call(this);this.H=a};_.J(v3c,_.N);
var C3c=function(a,b){w3c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:x3c(a,b);break;case 4:y3c(a,b);break;case 6:z3c(a,b);break;case 2:A3c(a,b);break;case 7:B3c(a,b);break;case 5:_.Oj(_.C(b,VXc,7),UXc,1).forEach(function(c){return C3c(a,c)});break;default:D3c(a,"Unsupported prefetched request.")}},x3c=function(a,b){var c=_.C(b,_.oe,2);b=JSON.parse(_.z(b,3)||"{}");var d=new _.XM;_.UHc(d,c);b=_.yMc(a.H.lc.V,d,{headers:{},text:"",json:b}).sr();E3c(a,
c,b)},z3c=function(a,b){E3c(a,_.C(b,_.oe,2),_.C(b,_.kC,9))},E3c=function(a,b,c){for(var d=c.Bd(),e=_.u(d),f=e.next();!f.done;f=e.next())_.x(f.value,82,7);c=H0c(c);a=a.H.V;b=$Q(a.H.ma,b);e=RR(a,b);SR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new TR(a.H,b),f.bx(2),a.W[e]=f);c.uc()||f.ska(c);dQ(a,d,1,b)},A3c=function(a,b){b=_.C(b,_.so,5);var c=a.H.H.nf();c=c&&_.z(c,30)||[];var d=new Set(c);b.Mw().forEach(function(e){(e=(e=e.getKey())&&_.ro(e))&&d.add(e)});k1c(a.H.Ma,
b.Mw(),2,[].concat(_.nc(d.values())))},y3c=function(a,b){a.H.Xm.V(_.C(b,mR,8).Zi(),_.C(b,_.wo,6),2,!1)},B3c=function(a,b){var c=_.C(b,_.to,10);b=JSON.parse(_.z(b,3)||"{}");b=_.yMc(a.H.lc.V,c,{headers:{},text:"",json:b});F3c(a.H).V([b],c,2,!1)},D3c=function(a,b,c){var d=c?void 0:_.Gq(_.jN(_.iN(new _.pb,2),6));a.H.dispatchEvent(new _.rb(new _.qb(b,d,c)));w3c(a,"Prefetched request population failed.")},w3c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},UR=function(a){n1c.call(this,
a);this.H=[];this.ka=[];this.Ca=Math.ceil(1.1*_.D(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.J(UR,n1c);UR.prototype.ta=function(){if(!_.A(this.context.H,45,!1))return p1c(this,5),this.ha(),_.Qh(Error("kg"));this.log("Drive SDK cache population initiated.");return this.context.Ns().nb(this.Ja,this).nb(this.Ga,this).De(this.ha,this)};
UR.prototype.Ja=function(){var a=this;YQ(this.context.ha,"L6uQWd");PR(this.context).nb(function(b){b.W2()});if(_.A(this.context.H,46,!1))return wPc(this.context.Em(),this.context.W).nb(function(b){if(!b)throw p1c(a,4),Error("lg");o1c(a,b)});this.log("Subscribed corpus cache population disabled.");wR(this.V);return _.Oh()};
UR.prototype.Ga=function(){var a=this;this.context.yma();var b=new _.Ih;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.kd();c.Gi(this.Ca);this.V.bx(5);G3c(this,this.V,c)}c=_.Oj(this.context.H,_.oe,44);_.Fa(c,function(d){d=new xR(a.context.Ka,a.context.Wa,a.context.ma,d);d.bx(5);G3c(a,d,d.kd());d=aR(a.context.ma,d.kd());a.log("Starting "+d+" cache hint corpus cache population.")});_.Ch(this.ka).then(b.callback,this.wa.bind(this,b),b);return b};
var G3c=function(a,b,c){var d=FR(a.context.Ca,null);b=new S0c(a.context,b,c);a.H.push(b);b=_.Gh(T0c(b).then(function(e){!e.V&&e instanceof DR&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Qa.hc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new d1c(e,d))}),function(){a.context.Je.promise.then(function(){c1c(a.context.Ca,null)})});a.ka.push(b)};
UR.prototype.wa=function(a,b){_.Fa(this.H,function(d){d.dispose()});p1c(this,7);var c=b;b instanceof hR?c=_.LN(b.error):_.TM(b)||(c=Error("mg`"+b));a.Ed(c)};UR.prototype.ha=function(){this.log("Drive SDK cache population failed.");YQ(this.context.ha,"Gv4zef")};UR.prototype.Re=function(){return 5};
var H3c=function(a,b){_.N.call(this);this.H=a;this.ka=b;this.ma=new _.be(this);this.Pa(this.ma);this.W=new b3c(this.H,this.H.Ja);this.Pa(this.W);this.ha=new UR(this.H);this.Pa(this.ha);this.V=null;this.ta=[]};_.J(H3c,_.N);
var O3c=function(a){I3c(a,"Corpus cache population initiated.");a.V=a.H.ta.W(106002);_.m._DRIVE_dsp&&J3c(a);_.m._DRIVE_dspc=function(c){return J3c(a,c)};FR(a.H.Ca,null);_.A(a.H.H,24,!1)&&!_.iP(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?K3c(a):_.m._DRIVE_ivdc=function(){K3c(a)});var b=a.H.Db;b?(a.ma.listen(a.W,"Lb",a.wa),a.ma.listen(a.ha,"Lb",a.wa),(!_.A(a.H.H,10,!1)&&_.E(a.H.H,69)?a.H.Rd.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){I3c(a,"Dump storage initialized.");
return a.W.ta().Af(function(){return L3c(a,a.W.Re())},function(){M3c(a,a.W.Re(),a.W.W);if(_.iP(a.H.H))N3c(a,Error("ng"));else return a.ha.ta().then(function(){return L3c(a,a.ha.Re())},function(c){M3c(a,a.ha.Re(),a.ha.W);return N3c(a,c)})})},function(c){N3c(a,_.TM(c)?c:void 0,!0)})})):N3c(a,void 0,!0)},J3c=function(a,b){var c=new v3c(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{C3c(c,new UXc(JSON.parse(d)))}catch(e){D3c(c,"Error parsing prefetched request.",
e)}});c.dispose()};H3c.prototype.wa=function(a){var b=a.Ke;I3c(this,"Cache populated: "+b.getType());this.ta.push(P3c(this,b,a.H))};
var L3c=function(a,b){c1c(a.H.Ca,null);YQ(a.H.ha,"L6uQWd");PR(a.H).nb(function(c){c.W2()});return Promise.all(a.ta).then(function(){return Q3c(a,b)})},R3c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},Q3c=function(a,b){if(!a.isDisposed()){_.iP(a.H.H)||S3c(a.ka,_.Oj(a.H.H,_.oe,44));I3c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.zma():Z2c(a.H.Ga).then(function(d){d&&a.H.wa.zma()},function(){});YQ(c,"rVezo");YQ(c,"BNEDtc");a.V&&(b=_.NP(_.uN,b),XRc(oQ(a.V),b),
WRc(oQ(a.V),!0),YRc(oQ(a.V),nXc(a.ka.V)),ZRc(oQ(a.V),R3c(a)),a.V.V());a.dispose()}},M3c=function(a,b,c){a.V&&(b=_.NP(_.uN,b),XRc(oQ(a.V),b),a=oQ(a.V),_.Mj(a,3,c,void 0))},N3c=function(a,b,c){c=void 0===c?!1:c;c1c(a.H.Ca,null);var d=a.H.ha;YQ(d,"L6uQWd");PR(a.H).nb(function(e){e.W2()});YQ(d,"mrK8ic");YQ(d,"Gv4zef");YQ(d,"rVezo");YQ(d,"BNEDtc");a.H.Qa.hc("CachedCorpusType","partialCorpus");d=!!a.W.context.Db||_.A(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.TM(b)?(d=b,c+=
d.message):c+=String(b),I3c(a,c),b=new _.qb(c,void 0,d),d=b.eg,_.iN(d,_.iP(a.H.H)?3:1),_.jN(d,6),_.Eq(d,c),_.Gq(d),a.H.dispatchEvent(new _.rb(b))):I3c(a,"Corpus population skipped");a.V&&(WRc(oQ(a.V),!1),a.V.V());a.dispose()},P3c=function(a,b,c){return e1c(b,c).then(function(d){d.some(function(e){return b instanceof ER&&e.Mz()&&e.Hc()==b.wc()})||l1c(a.ka,b,d)},function(){return N3c(a,Error("og"))})},K3c=function(a){if(_.m._DRIVE_ivd){var b=new f1c(a.H,a.H.Ja);a.Pa(b);m1c(b)}else YQ(a.H.ha,"DEJoH")},
I3c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},T3c=function(a,b){_.di.call(this,"Mb");this.ha=a;this.H=b};_.J(T3c,_.di);T3c.prototype.getError=function(){return this.H};var U3c=function(a){_.di.call(this,"Nb");this.H=a};_.J(U3c,_.di);U3c.prototype.getPeople=function(){return this.H};var V3c=function(a){_.di.call(this,"Ob");this.H=a};_.J(V3c,_.di);V3c.prototype.getPeople=function(){return this.H};
var W3c=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())};W3c.prototype.Uo=function(){return this.ha.clone()};W3c.prototype.Re=function(){return this.H};W3c.prototype.Yo=function(){return[1,4,2].includes(this.Re())};var X3c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
X3c.prototype.create=function(a,b){if(0!=ASc(b)){var c=this.V.W(106001);if(c){var d=ASc(b),e=nQ(c);_.x(e,2,d);d=null;if(b instanceof _.CG||b instanceof _.mo||b instanceof _.oe||b instanceof _.nO||b instanceof _.cD||b instanceof _.uo||b instanceof _.SM||b instanceof _.CO||"undefined"!=typeof _.DO&&b instanceof _.DO||b instanceof _.wo)d=b.oe();b=d&&_.A(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=nQ(c),_.x(d,7,b));this.H.set(a,c)}}};
var Y3c=function(a,b,c){if(a=a.H.get(b))a=nQ(a),_.x(a,5,c)},Z3c=function(a,b,c,d,e){var f=a.H.get(b);f&&(nQ(f).Dc(c),c=nQ(f),_.x(c,1,d),null!=e&&(d=nQ(f),_.x(d,6,e)),f.V(),a.H.delete(b))},$3c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Gb(c);c=BSc(c);if(1==e||2==c)e=_.NP(_.uN,c),d=nQ(d),d=3==e||8==e?!_.E(d,5):0!=e?_.EHc.has(e):null,Z3c(a,b,1,e,d)}},a4c=function(a,b,c){var d=a.W.Gb(c);d=_.NP(_.gHc,d||22);var e=BSc(c);e=_.NP(_.uN,e);Z3c(a,b,d,e,"undefined"!=typeof _.RP&&c instanceof _.RP||"undefined"!=
typeof _.TP&&c instanceof _.TP||"undefined"!=typeof _.UP&&c instanceof _.UP?c.W:null)},VR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(nQ(d).Dc(c),d.V(),a.H.delete(b))},c4c=function(a,b,c,d){_.O.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.QM(function(){return b4c(e)},100,this);this.H=[]};_.J(c4c,_.O);
var b4c=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));d4c(a,b)}})},d4c=function(a,b){a.ha.then(function(c){return c.H(nSc(new _.rO,b))}).then(function(c){c=c.Vo();a.dispatchEvent(new U3c(c))},function(c){c=_.MN(c);a.dispatchEvent(new T3c(b,c))})},f4c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=new _.be(this);this.Pa(this.ka);this.Ga=b;this.W=
d;this.Ca=e;this.V=!_.A(a,90,!1);(d=_.C(a,nRc,85))||(d=new nRc);this.wa=_.D(d,1,864E5);this.ma=new c4c(a,b,c,f);this.H=new Map;this.ta=new _.pE(function(){var k=CSc(h.Ca,106015);if(k){var l=_.C(_.MP(k),dSc,11);if(!l){l=new dSc;var n=_.MP(k);_.R(n,11,l)}_.x(l,1,h.H.size);k.V()}},500,this);this.ka.listen(this.ma,"Nb",function(k){k=k.getPeople();p3c(h,k,1);h.ta.xe()});this.ka.listen(this.ma,"Mb",function(k){return e4c(h,k)});this.ha=new Map};_.J(f4c,_.O);
f4c.prototype.get=function(a){var b=this.V?_.qg():"";this.V&&this.W.create(b,nSc(new _.rO,[a]));var c=this.H.get(a);if(c)return 4==c.Re()||g4c(this,c)?(this.V&&VR(this.W,b,g4c(this,c)?6:5),h4c(this,a+" queued for refresh."),i4c(this,a)):this.V&&Z3c(this.W,b,1,_.NP(_.uN,10),null),c;this.V&&VR(this.W,b,5);return null};
var i4c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.oN(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.xe());c=new _.dn;a.ha.set(b,c);return c.promise},k4c=function(a,b){var c=a.V?_.qg():"";a.V&&a.W.create(c,nSc(new _.rO,[b]));return j4c(a,b)?(a.V&&Z3c(a.W,c,1,_.NP(_.uN,10),null),Promise.resolve(a.H.get(b))):i4c(a,b).then(function(){a.V&&(j4c(a,b)?Z3c(a.W,c,1,_.NP(_.uN,1),null):VR(a.W,c,3));return a.H.get(b)})};
f4c.prototype.uc=function(){return 0==this.H.size};f4c.prototype.clear=function(){h4c(this,"Clearing the PeopleCache.");this.H.clear()};
var l4c=function(a){return[].concat(_.nc(a.H.values())).filter(function(b){return b.Yo()}).map(function(b){return b.Uo()})},m4c=function(a,b){return(a=a.H.get(b))?[].concat(_.nc(a.V)):[]},n4c=function(a,b,c){c=_.u(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(_.nc(e.V)).length&&a.H.delete(d))}},p3c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(h4c(a,"Importing "+b.length+" from "+(Object.keys(MXc)[c]+".")),o4c(a,b,c)):h4c(a,"Attempted to import people data from an invalid source.",
"warning")},q4c=function(a,b,c,d){0!=b.length&&p4c(a,b,c,void 0===d?0:d)},j4c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Yo())||(c=4==b.Re()||g4c(a,b));return!c},p4c=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.u(b);for(var f=b.next();!f.done;f=b.next()){var h=f.value;if(f=a.H.get(_.z(h,1))){var k=d;if(_.z(h,1)!=_.z(f.Uo(),1))h=!1;else if(4==k&&4!=f.H)f.H=k,h=!0;else{var l=f.Re();(1==l?1==k:3==l||2==l||4==l?0!=k&&4!=k&&l!=k:1)?(l=_.Uj(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&&i4c(f,_.z(h,1)),k=new W3c(h,l,k),f.H.set(_.z(h,1),k))}return e},g4c=function(a,b){return 1==b.Re()&&Date.now()-Number(b.W)>a.wa},h4c=function(a,b,c){a.Ga.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},e4c=function(a,b){b=b.ha.map(function(c){var d=a.H.get(c);return d?d.Uo():zPc(new cQ,c)});o4c(a,b,4)},o4c=function(a,b,c){for(var d=_.u(b),e=d.next();!e.done;e=d.next()){e=_.z(e.value,1);var f=a.ha.get(e);f&&(f.resolve(),
a.ha.delete(e))}p4c(a,b,void 0,c)&&a.dispatchEvent(new V3c(b))},r4c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.V=new _.be(this);this.Pa(this.V);this.H=new f4c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.J(r4c,_.O);r4c.prototype.e3=function(a){if(a.H){var b=a.H.getItem(),c=QR(this,[b]).map(function(d){return BPc(d)});q4c(this.H,c,a.H.getId(),s4c(_.z(b,82)))}a.V&&n4c(this.H,a.id,t4c(this,a))};
var s4c=function(a){return _.FHc.get(a)||0},t4c=function(a,b){var c=u4c(a,b.V),d=u4c(a,b.H);return c.filter(function(e){return!d.includes(e)})},u4c=function(a,b){return b?QR(a,[b.getItem()]).map(function(c){return _.BG(c)}):[]},w4c=function(a,b){b=b.getUser();q4c(a.H,[BPc(b)],"ACCOUNT");v4c(a,b)},x4c=function(a,b){var c=_.Oj(b,_.lP,2).map(function(d){var e=_.C(d,_.tk,9,1);return k4c(a.H,_.BG(e)).then(function(){return void u3c(a,[e])})});return Promise.all(c).then(function(){return b})},u3c=function(a,
b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.BG(c)&&v4c(a,c)},y4c=function(a,b,c){for(var d=new Set,e=_.u(b),f=e.next();!f.done;f=e.next())f=f.value,_.BG(f)&&(d.add(_.BG(f)),q4c(a.H,[BPc(f)],c));return Promise.all([].concat(_.nc(d)).map(function(h){return k4c(a.H,h)})).then(function(){return u3c(a,b)})},z4c=function(a,b){return QR(a,[b]).some(function(c){return!V_c(a,_.BG(c))})},V_c=function(a,b){return j4c(a.H,b)},QR=function(a,b){return b.map(function(c){var d=c.gv();d=d?[].concat(_.nc(_.Oj(d,
_.tk,2)),_.nc(_.Oj(d,_.tk,3))):[];var e=c.mf();e=(e=e&&_.cd(e))?QR(a,[e]):[];return[].concat(_.nc(_.Fk(c)),[c.So(),c.aB(),_.C(c,_.tk,91),c.oB()],_.nc(d),_.nc(e))}).flat().filter(function(c){return c&&!!_.BG(c)})};r4c.prototype.getItems=function(a){return m4c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var A4c=function(a,b){return b.map(function(c){c=c.clone();var d=QR(a,[c]);d=_.u(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.x(e,3,void 0),_.x(e,8,void 0),_.x(e,5,void 0);return c})},v4c=function(a,b){var c=a.H.get(_.BG(b));if(c){a=c.Uo();var d=_.TIc(b.zd(a.getName()),a.getEmail());c=_.DHc.get(c.H)||1;_.x(d,16,c);(a=_.C(a,APc,4))&&b.Gs(a.getUrl())}},B4c=function(){CR.apply(this,arguments)};_.J(B4c,CR);
B4c.prototype.MD=function(a){var b;if(b=CR.prototype.MD.call(this,a))a=a&&a.getItem()&&a.getItem().Dm(),b=!(!a||!a.ms());return b};B4c.prototype.kd=function(){};B4c.prototype.getType=function(){};B4c.prototype.mT=function(){};
var C4c=function(a,b){this.V=a;this.W=b;this.H={}},E4c=function(a,b){if(!_.jO(b)){var c=_.z(b,33);if(1==c.length)D4c(a,c[0],b);else{c=_.cP(b);if(1==c.length&&!_.A(c[0],2,!1)){var d=c[0].ub();c=a.W.get(d);if(!c){c=a.V.V.wa;var e=_.ye(new _.xe,310);c.H([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.Ak(h)&&(f=f.wc(),D4c(a,f,b))}else D4c(a,null,b)});return}if(c.getItem().wc()&&_.Ak(c.getItem().getCapabilities())){c=c.getItem().wc();D4c(a,c,b);return}}D4c(a,null,b)}}},D4c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!dR(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(PR(a.V).nb(function(e){e.Vea(b)}),F4c(a.V.hw,b))},G4c=function(a,b){if(!_.jO(b)){var c={},d;for(d in a.H){c.AL=d;for(var e=0;e<a.H[c.AL].length;e++)if(_.Uj(b,a.H[c.AL][e])){_.ma(a.H[c.AL],e);"subscribed"!=c.AL&&PR(a.V).nb(function(f){return function(h){h.kqa(f.AL,!1)}}(c));return}c={AL:c.AL}}}},H4c=function(){this.H=new Map;this.V=[];this.W=[]};
H4c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.PN(e)&&(a?(e=a.getItem().mf())&&_.z(e,1)&&(1==_.hd(e)||3==_.hd(e))&&(e=_.z(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&&!_.Uj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var I4c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},J4c=function(a){a.V=[];a.W=[]},WR=function(a,b,c,d){_.O.call(this);this.request=a;this.Ja=b;this.Ca=c;this.Ga=d;this.ha=new Set;this.wa=0;this.H=null};_.J(WR,_.O);var K4c=function(a){if(a.H)return a.H.promise;a.H=_.Fh();a.W(a.request).forEach(function(b,c){a.wa++;a.Ja.then(function(d){return d.H(b)}).then(a.Ma.bind(a,c),a.Ka.bind(a,c))});return a.H.promise};WR.prototype.Ma=function(a,b){this.ka(b);L4c(this,a)};
var L4c=function(a,b){a.ha.add(b);a.ha.size==a.wa?(a.ma(a.request),a.dispatchEvent("Hb"),a.H.resolve()):a.dispatchEvent("Eb")};WR.prototype.Ka=function(a,b){b=_.MN(b);var c=b.eg;5==c.ds()||4==c.Pi()?(this.Ga.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ta(a),L4c(this,a)):(a=new hR(c,_.D(this.Ca.nf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var M4c=function(a,b){WR.call(this,_.Vj(a),b.Em(),b.H,b.W);this.V=b};_.J(M4c,WR);
M4c.prototype.W=function(a){var b=new Map;a.Kl().forEach(function(c){var d=_.Xva(_.Vj(a),[c]);b.set(c,d)});return b};M4c.prototype.ka=function(a){a=a.Bd()[0];dQ(this.V.V,[a],1,void 0,!0,this.request.Sh())};M4c.prototype.ma=function(a){dQ(this.V.V,[],1,a,!1,this.request.Sh())};M4c.prototype.ta=function(a){a=_.AN(_.wN(new _.vN,a));this.V.V.ta([a])};var N4c=function(a,b,c,d){yR.call(this,a);this.W=b;this.jc=c;this.V={};d&&this.gA(d,!0)};_.J(N4c,yR);_.g=N4c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=ZQ(this.context.H)!=ZQ(this.context.H,this.jc.Sh()),c=[];this.jc.Kl().forEach(function(h){var k=a.V[h];k&&k.getItem().Yj()&&!b||c.push(h)});if(0==c.length)return this.gA([],!1),_.Ah();var d=_.Vj(this.jc);_.Xva(d,c);var e=new M4c(d,this.context),f=_.Fh();this.context.ka.Ef()?(this.Yd.listen(this.context.ka,"Cb",function(h){h.Ef()||(a.Yd.Sc(a.context.ka,"Cb"),t0c(a),K4c(e).then(f.resolve,f.reject,f))}),this.H=0<_.kf(this.V)?1:2):(this.context.Ug.Ef()&&
(this.H=0<_.kf(this.V)?1:2),t0c(this),K4c(e).then(f.resolve,f.reject,f));return f.promise};_.g.h5=function(a){return this.context.ma.equals(a,this.jc)&&JOc(_.BP(this.W),a.Sh())};_.g.PT=function(a){var b=new _.OP;b.Dc(this.H);GTc(b,this.Re());HTc(b,_.hf(this.V,function(c){return c?c.getItem():null}));o0c(this,a.Sh(),b.gs());return b};_.g.resize=function(){};_.g.kd=function(){return this.jc};
_.g.yO=function(a){var b=O4c(this,a.V),c=O4c(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 O4c=function(a,b){return!!b&&a.jc.Kl().includes(b.getId())},TR=function(a,b,c,d,e){yR.call(this,a);var f=this;this.jc=_.Vj(b);this.ha=new BR(this.context,this.jc,!1,e);this.wa=0;b=this.jc.Ud()&&mWc(this.jc.Ud());e=this.context.Wa;this.ka=b?(0,_.K)(e.compare,e,this.jc):null;this.Ec=!b||!$Wc(this.jc)||_.ZM(a.H.Se());this.tc=ZWc(this.jc);this.V=[];this.ta={};this.Db=null;this.Wa=!1;this.hb=[];this.Ca=[];this.Xb=this.Ib=this.rb=null;this.W=0;c&&this.gA(c,!d);this.lc=null;this.Ka=Date.now();this.Ma=
_.D(a.H.nf(),16,36E5);_.OO(this.jc)&&this.Yd.listen(this.context.yh,"Jb",this.Ic);_.rd(this,function(){_.fc(f.ha);P4c(f)})};_.J(TR,yR);TR.prototype.refresh=function(){return Q4c(this,!1)};var Q4c=function(a,b){a.H=6;if(_.A(a.jc,48,!1))return a.H=1,_.Ah();if(_.OO(a.jc)){var c=R4c,d=a.context.yh.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return S4c(a,b)};TR.prototype.initialize=function(){return this.W>=this.jc.th()||1==this.H?_.Ah():this.refresh()};
var P4c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ta={}},R4c=function(a,b){_.m.clearTimeout(a.lc);a.lc=_.m.setTimeout(function(){return Q4c(a,!0)},b)};TR.prototype.Ic=function(){Date.now()-this.Ka>this.Ma&&R4c(this,0)};
var S4c=function(a,b){a.ha&&(a.Yd.Sc(a.ha,"Gb",a.ska),a.Yd.Sc(a.ha,"Hb",a.TEa),a.ha.dispose());var c=a.jc.oe();c&&_.ze(c,!1);a.ha=new BR(a.context,a.jc,b);a.wa=0;a.Yd.listen(a.ha,"Gb",function(){return a.ska(a.ha.ha)});a.Yd.listen(a.ha,"Hb",a.TEa);return T4c(a)},T4c=function(a){var b=_.Fh();a.context.ka.Ef()?a.Yd.listen(a.context.ka,"Cb",function(c){c.Ef()||(a.Yd.Sc(a.context.ka,"Cb"),U4c(a,b))}):U4c(a,b);return b.promise},U4c=function(a,b){t0c(a);var c=a.jc.th()+a.wa;_.mia(K0c(a.ha,c).Af(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=TR.prototype;_.g.resize=function(a){var b=0;for(var c=_.u(new Set([].concat(_.nc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=zR(this.context);d=r0c(e,d).kd();b=Math.max(b,d.th())}_.OO(this.jc)?(this.jc.Gi(b),2!=this.Re()&&!this.ha.H&&(b>this.W||a)?this.refresh():V4c(this)):this.jc.th()!=b&&(this.jc.Gi(b),b>this.W?T4c(this):V4c(this))};_.g.kd=function(){return this.jc};_.g.h5=function(a){return this.context.ma.equals(a,this.jc)};
_.g.PT=function(a){var b=a.th(),c,d=!1;if(_.kO(this.jc)){var e=this.V.slice();var f=this.Ca.slice(0,b);if(this.Ca.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Jk(k.getItem()).filter(function(l){return h.includes(l.Uo().getId())});k=k.clone();DOc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Jk(l.getItem()).length})}d=SOc(e);c=new _.PP;ISc(c,!1);JSc(c,f)}else e=this.V.slice(0,b),c=new _.kC,xRc(c,b<this.V.length||!(this.context.ka.Ef()||this.context.Ug.Ef())&&
1!=this.H),_.R(c,7,this.Db),_.x(c,8,this.Wa),_.QJc(c,this.hb),d=SOc(e);e=bQ(e);o0c(this,a.Sh(),e);c.Cw(e);c.Dc(d?6:1==this.H||b<=this.W?1:this.context.ka.Ef()||this.context.Ug.Ef()?0<this.V.length?1:2:6);c.zX(this.Re());c.CI(this.rb);c.setSessionId(this.Ib);c.AX(this.Xb);return c};_.g.ska=function(a){this.Db=a.ma;this.Wa=a.V;this.hb=a.W;this.Ca=a.ha;this.rb=a.ka;this.Ib=a.getSessionId();this.Xb=a.wa};_.g.TEa=function(){var a=this.jc.th()-this.W;0<a&&I0c(this.ha)&&(this.wa+=a,T4c(this))};
_.g.gA=function(a,b){_.OO(this.jc)&&P4c(this);var c=!1;a=_.u(a);for(var d=a.next();!d.done;d=a.next())d=rR(d.value),c=this.yO(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.za;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(W4c(this,"ViewCache unsorted after import"),this.context.Wa.sort(this.jc,this.V));c&&p0c(this)};
_.g.yO=function(a,b){var c=this.ta[a.id],d=!!c,e=X4c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&W4c(this,"Updating different wrapper from the existing one"):W4c(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)?(Y4c(this,b),Z4c(this,a)):(c=this.V,d=this.ka?_.Aa(this.V,b,this.ka):_.ha(this.V,b),c[d]=a,a.H++,$4c(a)&&this.W++,b.H--,$4c(b)&&this.W--,_.of(this.ta,b.getId()),this.ta[a.getId()]=a)):(Y4c(this,f),_.OO(this.jc)&&R4c(this,0));
else{if(_.OO(this.jc)&&!b)return!1;Z4c(this,a.H)}else return!1;return!0};
var Z4c=function(a,b){a.ka?wOc(a.V,b,a.ka):a.V.push(b);b.H++;$4c(b)&&a.W++;a.ta[b.getId()]=b},Y4c=function(a,b){if(a.ka){var c=a.V,d=_.Aa(c,b,a.ka);0<=d&&_.ma(c,d)}else _.oa(a.V,b);b.H--;$4c(b)&&a.W--;_.of(a.ta,b.getId())},X4c=function(a,b,c){if(!b)return!1;if(a.Ec&&!_.OO(a.jc)){if(c)return!0;if(!a.tc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=eR(a.context.Ka,a.jc,b.getItem());return c&&a}}if(!eR(a.context.Ka,a.jc,b.getItem()))return!1;var e=1.2*a.jc.th();if(1==a.H||!a.ka||
aWc(b.V,2)||a.W<e||c||nPc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},V4c=function(a){if(1!=a.H&&!a.context.ka.Ef()&&!a.context.Ug.Ef()){var b=1.2*a.jc.th();if(!(b>=a.W||a.ha&&b>=a.ha.Zb())){b=a.W-a.jc.th();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];aWc(d.V,2)||nPc(d.getItem())||(d.H--,$4c(d)&&a.W--,_.of(a.ta,d.getId()),_.ma(a.V,c),b--)}S4c(a,!1)}}},W4c=function(a,b){var c=new _.pb;_.iN(c,2);_.jN(c,6);_.Gq(c);a.context.dispatchEvent(new _.rb(new _.qb(b,
c)))},$4c=function(a){return!aWc(a.V,2)&&3!=ZP(a.getItem())};TR.prototype.Ga=function(){V4c(this)};TR.prototype.Ja=function(a){return 1!=this.H&&a.th()>this.W&&this.ha.H};
var a5c=[50],c5c=function(a,b){_.N.call(this);var c=this;this.Wa=new _.be(this);this.Pa(this.Wa);this.H=a;this.Ca=b;this.W={};this.ka=new V0c(a.ma);this.ha=new gXc(a.og,a.Ka,a.Wa);this.Ja=new H4c;_.E(a.H,60)&&(this.Xb=new B4c(a.Ka,a.Wa));this.Ga=new RWc(a.W,_.BP(this.Ca));(b=_.nN(this.H.H))&&!_.A(b,1,!1)&&b5c(this,_.z(this.H.H,28));this.V=new jXc(this.Ca,this.H.ma,this.ha,this.Ga);this.H.ta.ha.H=this.V;this.wa=new N0c(this.H,this.Ca,this.W,this.ha);this.Qa=new C4c(this.H,this.ha);this.Ka=new H3c(this.H,
this);_.rd(this.Ka,function(){c.Ka=null});this.rb=_.iIc(vSc(this.Ca),a5c);XQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.A(this.H.H,15,!1)||this.H.Xb||b.push("NVkrgc");XQ(this.H.ha,b,function(){var d=c.H.H;if(_.C(d,_.Ek,12))d=_.C(d,_.Ek,12);else{var e=_.SIc((new _.tk).kc(c.H.Xb),!0);e=_.x(e,6,1);e=_.OM(_.YO(_.ZO(_.NM((new _.Ek).kc(c.H.ln()).setTitle(_.D(d,38,"My Drive")),"application/vnd.google-apps.folder").yn(!1),e),[e]),1);e=_.x(e,29,!0);d=_.x(e,63,!0).xn(_.iJc(_.bJc(_.aJc(_.eJc(_.fJc(_.dJc(_.cJc(_.$Ic(_.ZIc(_.YIc(_.XIc(_.WIc(_.VIc(_.UIc(new _.yk,
_.A(d,6,!0)),!1),!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}dQ(c,[d],1);YQ(c.H.ha,"hVFf7")});this.Ma=_.Fh();XQ(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new r4c(this.H.H,this.H.W,a.Em(),a.ao,this.H.ta,this.H.Rd.promise);_.oN(this.H.H)&&this.Wa.listen(this.ma,"Ob",this.Ib);this.Db=new _.mNc(this.H.H,this.V)};_.J(c5c,_.N);
c5c.prototype.Ib=function(a){var b=this,c=a.getPeople();SR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.u(c);for(var e=c.next();!e.done;a={Y3:a.Y3},e=c.next())a.Y3=e.value,this.ma.getItems(_.z(a.Y3,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();SR(b,"Unexpected missing wrapper for "+h+" with "+(_.z(f.Y3,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});dQ(this,[].concat(_.nc(d.values())),1);this.H.wa.update(6)};c5c.prototype.initialize=function(){O3c(this.Ka)};
var h5c=function(a,b,c){if(c instanceof _.oe)c=$Q(a.H.ma,c),d5c(a,c.Sh()),E4c(a.Qa,c),a=e5c(a,c),l0c(a.cache,b);else if(c instanceof _.mo)c=f5c(a,c),d5c(a,c.Sh()),a=g5c(a,c),l0c(a.cache,b);else if(c instanceof _.SM){var d=RR(a,c),e=a.W[d];e?(3==e.H?(SR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):SR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,ts:!1}):(SR(a,d+" | ItemQueryRequest backed by new cache"),e=new GR(a.H,a.Ca,c),e.refresh().Xf(_.Oe),
a.W[d]=e,a={cache:e,ts:!0});l0c(a.cache,b)}else if(c instanceof _.uo)d=c.Sh(),e=a.Ga,SWc(e,e.V,e.ha,d),a=g5c(a,c),l0c(a.cache,b);else throw Error("pg");return a.ts},i5c=function(a,b,c){if(c instanceof _.oe)c=$Q(a.H.ma,c),G4c(a.Qa,c);else if(c instanceof _.mo)c=f5c(a,c);else if(!(c instanceof _.SM||c instanceof _.uo))throw Error("pg");c=RR(a,c);var d=a.W[c];d&&(m0c(d,b),d.isDisposed()&&delete a.W[c])},RR=function(a,b){return aR(a.H.ma,b,2)},e5c=function(a,b){var c=RR(a,b),d=a.W[c];if(d)return 3==d.H?
(SR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):SR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,ts:!1};d=[];for(var e=5,f,h,k=W0c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.MC(b);if(5!=e){f=1==e?void 0:b.th();d=n.Ija(b,f);f=n.Re();h=n instanceof xR?n.XF():"";SR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.S_()+" | initial "+d.length));break}}5==e&&SR(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ef()||a.H.Ug.Ef())d=d.concat(a.ha.query(b,
1)),_.ya(d,void 0,function(q){return q.getId()}),e=(e=a.ka.H)&&e.ha&&5!=e.MC(b)?e.MC(b):6,SR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new TR(a.H,b,d,1==e,h);f&&d.bx(f);d.gA(a.ha.query(b,2),1!=e);d.initialize().Xf(function(q){q=_.kN(q);_.Gq(q);a.H.dispatchEvent(new _.rb(new _.qb("Error during view cache init",q)))});a.W[c]=d;return{cache:d,ts:!0}},g5c=function(a,b){var c=RR(a,b),d=!1,e=a.W[c];if(e)e.h5(b)?SR(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Kl()),
b=j5c(a,b,d),d=!0,a.W[c]=b,k5c(e,b),e=b,SR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Kl());e=j5c(a,b,f);d=!0;a.W[c]=e;SR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,ts:d}},j5c=function(a,b,c){var d;b instanceof _.mo?d=new C0c(a.H,a.Ca,b,c):d=new N4c(a.H,a.Ca,b,c);c.length&&d.bx(8);d.refresh().Xf(_.Oe);return d},l5c=function(a){return Object.values(a.W).filter(function(b){return b.kd()instanceof _.SM})};
c5c.prototype.hb=function(a){for(var b=_.ye(new _.xe,309),c=[],d=_.u(Object.entries(this.Ga.H)),e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;f=_.u(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.u(h.value);var k=h.next().value;h.next();if(k==a){c.push(Number(e));break}}}c.length&&(d=vWc(this.H.ma,c,!0),SR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var n0c=function(a,b,c){c&&c.length&&UWc(a.Ga,b,c);_.oN(a.H.H)&&(a=a.ma,u3c(a,QR(a,b)))},l1c=function(a,b,c){if(b instanceof GR){var d=RR(a,b.kd()),e=a.W[d];if(e){m5c(a,b,e);SR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof vR&&a.ka.removeAll([b]);var f={},h=_.qf(a.ha.H),k=[];b.Iy().forEach(function(n){var q=n.getId(),t=a.ha.get(q);if(t){var v=ZP(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(wYc(n,t));_.of(h,q)}else q=rR(n),a.ha.update(q),a.Ja.update(q),
_.oN(a.H.H)&&a.ma.e3(q);_.oN(a.H.H)&&n5c(a,n.getItem())});_.ff(h,function(n){k.push(rR(n))});d=_.u(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof GR?(d=RR(a,b.kd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.ff(f,function(n){var q=new _.vN;_.wN(q,n.getId());q.setItem(n);l.push(q)});a.ta(l);SR(a,"Merged cache: "+b.getType());b instanceof ER&&c.forEach(function(n){o5c(a.H.ak,n)});a.H.wa.update(3)},m5c=function(a,b,c){if(c instanceof GR&&(c=c.Iy(),b=b.Iy(),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()){SR(a,"(b/160317444) Inconsistent shared drives list found.");_.ak(Error("qg"));DSc(a.H.ta,160317444);break}}}},k5c=function(a,b){(new Set([].concat(_.nc(a.ma)))).forEach(function(c){l0c(b,c);m0c(a,c)})},dQ=function(a,b,c,d,e,f){f||(f=d?[].concat(_.nc(d.Sh().filter(function(B){return!_.BP(a.Ca).includes(B)}))):[]);d&&d instanceof _.oe&&_.OO(d)&&p5c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new WQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,y=q5c(a,t,q);if(null!=y)q.xP(y),r5c(a,v,n),mPc(n),n=PWc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.oN(a.H.H)&&n5c(a,n);!t||s5c(a,v,n,f)?(k.push(vYc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=RR(a,d),b=a.W[b],d instanceof _.oe&&(d=Z0c(a.ka,d))&&d.gA(h,!!e),b&&b.gA(h,!!e));0<k.length&&(e=_.pc(a.W),b&&_.oa(e,b),t5c(a,k,e,f),u5c(a,h));zR(a.H).ka()},n5c=function(a,b){z4c(a.ma,b)||5!=ZP(b)||
_.CJc(b,1)},s5c=function(a,b,c,d){(b=b?b.clone():null)&&n0c(a,[b],d);return!_.Uj(b,c)},p5c=function(a,b,c){v5c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(YP(f,d,[1002]),YP(f,d,[1003]),YP(f,d,[1005]),b[e]=f);_.jO(c)&&0<_.z(c,33).length&&_.DJc(d,_.z(c,33)[0])})},v5c=function(a,b,c){var d;_.jO(c)?d="quick access":_.kO(c)?d="people predict":_.lO(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");SR(a,"Got "+b.length+" items for "+d+": "+c)},w5c=function(a,b){var c=
{};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.ff(c,function(d,e){e=Number(e);dQ(a,bQ(d),e)})};
c5c.prototype.ta=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.Mz()?null:d.getItem(),f=d.Hc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new WQ(e,void 0,void 0,d.ey()||void 0);var l=q5c(this,f,k);if(null==l)continue;k.xP(l);r5c(this,h,e);_.A(d,5,!1)&&XP(e,POc);mPc(e);e=PWc(e,h);k.setItem(e);_.oN(this.H.H)&&n5c(this,e)}l=this.H.hw;o5c(l.H.ak,d);if(dR(d)){var n=d.wc();d.Mz()?x5c(l,n):(d=d.getItem(),QWc(d)&&y5c(l,n))}!h&&!e||_.Uj(h,e)||b.push(vYc(f,k))}t5c(this,b,_.pc(this.W),
[])};
var r5c=function(a,b,c){b&&!c.Dm()&&YP(c,b,a.rb);var d=b?b.mf():null,e=c.mf();e=e?_.cd(e):null;d&&e&&r5c(a,_.cd(d),e);b&&!_.Ik(c)&&YP(c,b,[1002]);b&&!_.Jk(c).length&&YP(c,b,[1003]);b&&!c.$I().length&&YP(c,b,[1005]);b&&null==c.V()&&YP(c,b,[71]);b&&null==_.z(c,79)&&YP(c,b,[73]);b&&_.E(b,31)&&!_.E(c,31)&&(XP(c,POc),SR(a,"Cleared Item Suggest data for "+b.getId()+"."))},y0c=function(a,b,c){if(b instanceof _.oe||b instanceof _.mo||b instanceof _.SM)b=RR(a,b),(a=a.W[b])&&s0c(a,c);else throw Error("pg");},
q5c=function(a,b,c){var d=c.getItem();if(z5c(a.H.Yf,d.getId()))return null;if(b){if(!$Vc(b.V,c.V))return null;a=b.getItem();if(3!=ZP(a)&&!dR(a)&&!dR(d)&&a.wc()==d.wc())if(_.z(a,75)&&_.z(d,75)){if(_.z(a,75)>_.z(d,75))return null}else if(b.ey()&&c.ey()){if(b.ey()>c.ey())return null}else if(a.yq()>d.yq())return null}return bWc(b&&b.V,c.V)},A5c=function(a,b){(a=a.ha.get(b))&&a.xP(bWc(a.V,-2))},B5c=function(a,b,c){b=_.u(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.Ga.update(d.id,d.H?d.H.getItem():
null,c)},t5c=function(a,b,c,d){_.oN(a.H.H)&&b.forEach(function(k){return a.ma.e3(k)});B5c(a,b,d);c=_.u(c);for(d=c.next();!d.done;d=c.next())q0c(d.value,b);c=0;b=_.u(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=W0c(a.ka);var h=_.u(d);for(d=h.next();!d.done;d=h.next())d.value.update(e)&&(f=!0);f&&c++;_.E(a.H.H,60)&&a.Xb.update(e);a.ha.update(e);a.Ja.update(e);a.ha.get(e.id)||WWc(a.Ga,e.id)}0<c&&a.H.wa.WEa(c);C5c(a)},C5c=function(a){var b=a.Ja.V.slice(0),c=I4c(a.Ja);J4c(a.Ja);if(b.length){SR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.xe;_.ye(d,308);a.wa.H(b,d,!0)}if(c.length){SR(a,"Updating locally stale shortcuts: "+c.join(", "));b=kXc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().mf(),k=_.z(h,1);if(k=a.V.H(k))_.R(h,5,k),_.x(h,4,1),e.push(f)});w5c(a,e)}},f5c=function(a,b){_.Da(b.Sh());var c=_.ha(b.Kl(),"root");if(0>c)return b;b=_.Vj(b);b.Kl()[c]=a.H.ln();return b},b5c=function(a,b){b=wSc(a.Ca,b);a=a.Ga;SWc(a,a.H,a.W,b)},d5c=function(a,
b){var c=_.nN(a.H.H);c&&_.A(c,1,!1)&&b5c(a,b)},u5c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==ZP(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});SR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.ye(new _.xe,311);a.wa.H(c,d)}})},S3c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!Z0c(a.ka,c)){SR(a,"Adding new cache hint for "+RR(a,c));var d=new xR(a.H.Ka,a.H.Wa,a.H.ma,c);c=new S0c(a.H,d,c);var e=FR(a.H.Ca,null);_.Gh(T0c(c).then(function(){e1c(d,
e).then(function(f){l1c(a,d,f)})}),function(){c1c(a.H.Ca,null)})}})})},SR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},D5c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},E5c=function(a,b){a=D5c(a);b=D5c(b);return!(!a||!b||a!=b)},F5c=function(a){return a.Hc()+"_"+D5c(a.getName())},YR=function(a,b){_.N.call(this);this.ha=a;this.request=b;this.H=new Set;this.status=6;this.ma=new Map;this.ka=0};_.J(YR,_.N);
var I5c=function(a,b){a.H.add(b);G5c(a).then(function(){return H5c(a,b)})};YR.prototype.Re=function(){return this.ka};YR.prototype.gna=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.y$(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?J5c(this):_.Ah([])};
var J5c=function(a){for(var b=[],c=_.u(a.H.values()),d=c.next();!d.done;d=c.next())b.push(H5c(a,d.value));return _.Ch(b)},K5c=function(a,b){a.status=3;for(var c=[],d={},e=_.u(a.H.values()),f=e.next();!f.done;d={sda:d.sda},f=e.next())d.sda=f.value,c.push(a.ha.then(function(h){return function(k){k.Ga[h.sda]=b;k.V||(k.V=_.ni(k.ka,50,k))}}(d)));_.Ch(c)},L5c=function(a){for(var b=[],c={},d=_.u(a.H.values()),e=d.next();!e.done;c={tda:c.tda},e=d.next())c.tda=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.tda])&&h.HJ()}}(c)));_.Ch(b).then(function(){var f=0==a.Re()?1:6;a.ka=f})},G5c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=r0c(b,d).kd();c=Math.max(c,d.th?d.th()||0:0)});a.w$(c)})},M5c=function(a,b){return b?a.ma.get(a.A7(b)):null};YR.prototype.x$=function(a,b){b=bWc(M5c(this,a),b);this.ma.set(this.A7(a),b)};YR.prototype.A7=function(a){return a};YR.prototype.V6=function(){};
var H5c=function(a,b){return a.ha.then(function(c){var d=a.T_();c.Ca[b]=d;c.V||(c.V=_.ni(c.ka,50,c))})};YR.prototype.removeItem=function(){};var ZR=function(a,b){_.O.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ta=b;this.H=[];this.W=0};_.J(ZR,_.O);
var N5c=function(a){return!a.ma||""!=a.ha},$R=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&N5c(a)?O5c(a):_.Ah()},O5c=function(a){a.ma=!0;a.V=!0;var b=a.x5(a.request,a.W-a.H.length,a.ha);return a.ta(b).then(function(c){return P5c(a,c)},function(c){a.V=!1;c=_.kN(c);var d=new hR(c);a.VEa(d);a.dispatchEvent(d);return _.Bh(c)})},P5c=function(a,b){a.V=!1;a.ha=a.M7(b);b=a.j7(b);b.forEach(function(c){return a.H.push(c)});a.U_(b);return a.H.length<a.W&&N5c(a)?_.Ch([_.Ah(b),O5c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Ah(b)};ZR.prototype.U_=function(){};ZR.prototype.VEa=function(){};var Q5c=function(a,b,c){ZR.call(this,c,function(d){return a.then(function(e){return e.H(d)}).Xf(function(e){return _.NN(e)})});this.ka=b};_.J(Q5c,ZR);_.g=Q5c.prototype;_.g.x5=function(a,b,c){a=_.Vj(a);a.Gi(b);return new _.tIc(a,c)};_.g.M7=function(a){return a.pageToken||""};_.g.j7=function(a){return a.response.V()};_.g.U_=function(a){aS(this.ka,a,!1,1)};
_.g.VEa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&K5c(b,a)};var R5c=function(a,b,c,d){YR.call(this,a,_.Vj(d));this.V=[];this.W=null;this.wa=b;this.ta=c};_.J(R5c,YR);R5c.prototype.refresh=function(){L5c(this);this.W=new Q5c(this.wa,this.ta,this.request);return $R(this.W,this.request.th()||100)};var S5c=function(a,b){return a.V.find(function(c){return E5c(c.getName(),b)})};_.g=R5c.prototype;
_.g.w$=function(a){this.W&&a==this.request.th()||(this.request.Gi(a),this.W?$R(this.W,a):this.refresh())};_.g.T_=function(){var a=this,b=PTc((new xQ).Dc(this.status),this.V.filter(function(c){return a.ta.Mla(c)}).map(function(c){return c.clone()}));return new _.SP(b,void 0,void 0,this.Re())};_.g.gna=function(a,b,c){var d=this;a=a.filter(function(e){return e.Hc()==d.request.Hc()});return YR.prototype.gna.call(this,a,b,c)};
_.g.y$=function(a,b){b=void 0===b?1:b;if(!$Vc(M5c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return E5c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.x$(a.getName(),b);return!0};_.g.removeItem=function(a){_.pa(this.V,function(b){return E5c(b.getName(),a)})&&(this.ma.delete(this.A7(a)),J5c(this))};_.g.A7=function(a){return D5c(a)};_.g.x$=function(a,b){S5c(this,a)&&YR.prototype.x$.call(this,a,b)};
_.g.V6=function(a){var b=this;return a instanceof _.yO&&a.Hc()!=this.request.Hc()?[]:a.ZM().map(function(c){return S5c(b,c.Qk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var bS=function(){this.H=new Map},T5c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.A5(c),a.H.set(d,e));I5c(e,b);return f},U5c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.uga(c),a.H.set(d,e));I5c(e,b);return f},V5c=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)))},W5c=function(a,b){return a.H.get(b)},aS=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.Mla(f)});a.H.forEach(function(f){f.gna(e,
c,d)})};bS.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};bS.prototype.V6=function(a){var b=Array.from(this.H.values()).map(function(c){return c.V6(a)});return[].concat.apply([],_.nc(b))};var X5c=function(a,b){a.H.forEach(function(c){c.x$(b,-2)})};bS.prototype.Mla=function(){return!0};bS.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.A5(b),f.ka=c,this.H.set(e,f),aS(this,a,d))};
var Y5c=function(){this.V=new Set;this.W=new Set;this.H=0},Z5c=function(a,b){a.V.add(b)};Y5c.prototype.ha=function(a){this.V.delete(a)};var $5c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};Y5c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var z5c=function(a,b){return a.V.has(b)||a.W.has(b)};Y5c.prototype.WX=function(a){var b=this;return a.filter(function(c){return!z5c(b,c.getId())})};var a6c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new Y5c};
_.J(a6c,bS);var b6c=function(a,b){Z5c(a.W,F5c(b));(a=W5c(a,b.Hc()))&&J5c(a)};_.g=a6c.prototype;_.g.getKey=function(a){return a.Hc()};_.g.A5=function(a){return new R5c(this.ha,this.ka,this,a)};_.g.uga=function(a){return new R5c(this.ha,this.ka,this,a)};_.g.X9a=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=W5c(this,b.getId()))&&b.refresh()};_.g.Mla=function(a){return!z5c(this.W,F5c(a))};
var c6c=function(a,b){this.V=a;this.H=b},d6c=function(a,b){b=_.lNb(b);var c=new Q5c(a.V,a.H,b);new Promise(function(d,e){return $R(c,100).then(d,e)})},e6c=function(a,b,c){ZR.call(this,a,c);this.ka=b};_.J(e6c,ZR);e6c.prototype.x5=function(a,b){return _.Vj(a).Gi(b)};e6c.prototype.M7=function(){return""};e6c.prototype.j7=function(a){return[a]};e6c.prototype.U_=function(a){this.ka(a)};var f6c=function(a,b,c,d){YR.call(this,a,_.Vj(d));this.ta=c;this.wa=b;this.V=this.W=null};_.J(f6c,YR);
f6c.prototype.refresh=function(){var a=this;L5c(this);this.V=new e6c(this.request,this.ta,function(b){return a.wa.then(function(c){return c.H(b)})});return $R(this.V,this.request.th()||0)};f6c.prototype.w$=function(a){1==this.status||this.V&&a==this.request.th()||(this.request.Gi(a),this.V?$R(this.V,a):this.refresh())};f6c.prototype.T_=function(){if(this.W)return this.W;var a=new BQ;a.Dc(this.status);return a};f6c.prototype.y$=function(a){this.W=a;return!0};
var g6c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.J(g6c,bS);var h6c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};g6c.prototype.getKey=function(a){return a.toString()};g6c.prototype.A5=function(a){var b=this;return new f6c(this.W,this.ka,function(c){aS(b,c,!1)},a)};g6c.prototype.uga=function(){throw Error("rg");};
g6c.prototype.V=function(a,b,c,d){var e=a[0].Zi();h6c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));bS.prototype.V.call(this,a,b,c,d)};var j6c=function(a){_.N.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.ul;var c=_.Fh();this.Ga=c.promise;$2c(this.H.Ga).then(function(d){b.V=d||[];c.resolve();i6c(b)},function(){return c.resolve()});this.W=new Map;this.ta=-1;this.ma=0;XQ(this.H.ha,["rVezo"],(0,_.K)(this.ka,this))};_.J(j6c,_.N);
var F4c=function(a,b){_.A(a.H.H,46,!1)&&a.Ga.then(function(){if(a.V[0]!=b){_.oa(a.V,b);for(QWc(a.H.V.V.H(b))?cS(a,b,"Hidden TD, not tracking in recency list"):_.va(a.V,0,0,b);a.V.length>2*_.D(a.H.H,47,5);)a.V.pop();OR(a.H.Ga,T2c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.D(a.H.H,47,5)&&(i6c(a),a.ka())})},y5c=function(a,b){_.oa(a.V,b)&&OR(a.H.Ga,T2c,a.V)},x5c=function(a,b){y5c(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=_.ra(c.V),e=0;e<d.length;e++){var f=
d[e];if(f.wc()==b){cS(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}PR(a.H).nb(function(h){h.kqa(b,!0)});a.ka()};j6c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;k6c(this);for(var b={};this.ha.Zb()&&!(this.ma>=_.D(this.H.H,47,5));){var c=_.vl(this.ha);this.ma++;Y0c(a,c)||this.W.has(c)||(this.W.set(c,null),b.c4=new _.JO,_.x(b.c4,1,c),this.H.Em().then(function(d){return function(e){return e.H(d.c4)}}(b)).then(this.Ca.bind(this,c),this.wa.bind(this,c)));b={c4:b.c4}}}};
var i6c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},k6c=function(a){_.m.clearTimeout(a.ta);a.ta=_.m.setTimeout(function(){i6c(a);a.ka()},36E5)};j6c.prototype.Ca=function(a,b){var c=_.z(b,1);c&&c>_.D(this.H.H,48,1E3)?(cS(this,a,"Too large to backfill: "+_.z(b,1)),l6c(this,a,!1)):m6c(this,a)};
j6c.prototype.wa=function(a,b){(b=_.kN(b).Pi())&&4==b?(cS(this,a,"Non-existent or inaccessible, removing from cache"),a=_.AN(_.wHc(_.wN(new _.vN,a),a)),this.H.V.ta([a])):m6c(this,a)};
var m6c=function(a,b){var c=new ER(a.H.Ka,a.H.Wa,b),d=_.Vj(c.kd());d.Gi(_.D(a.H.H,48,1E3));d=new S0c(a.H,c,d);a.W.set(b,d);cS(a,b,"Backfill started");var e=FR(a.H.Ca,b);PR(a.H).nb(function(f){f.Vea(b)});_.Gh(T0c(d).then(function(){n6c(a,b,c,e)},function(){cS(a,b,"Backfill failed");a.ma--;l6c(a,b,!0)}),function(){c1c(a.H.Ca,b)})},n6c=function(a,b,c,d){c.V?(c.HT(),e1c(c,d).then(function(e){cS(a,b,"Backfill complete, size: "+c.S_());l1c(a.H.V,c,e);l6c(a,b,!1)},function(){cS(a,b,"Backfill changes failed");
l6c(a,b,!0)})):(cS(a,b,"Backfill exceeded size limit"),l6c(a,b,!0))},l6c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&PR(a.H).nb(function(e){e.kqa(b,!1)});a.ka();0<a.W.size||_.ra(a.H.V.ka.V).map(function(e){return e.wc()}).filter(function(e){return!a.V.includes(e)}).forEach(function(e){return x5c(a,e)})},cS=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},o6c=function(a){var b=new _.iC;b.kc(a);return b},p6c=function(a,b,c,d,e){WR.call(this,_.Vj(a),
c,d,e);this.V=b};_.J(p6c,WR);p6c.prototype.W=function(a){var b=new Map;a.Kl().forEach(function(c){var d=_.Vj(a).Ib([c]);b.set(c,d)});return b};p6c.prototype.ka=function(a){var b=[];a.xM().forEach(function(c){b.push(c)});this.V(b,!0)};p6c.prototype.ma=function(){this.V([],!1)};p6c.prototype.ta=function(a){this.V([o6c(a)],!0)};var q6c=function(a,b,c,d,e,f){YR.call(this,a,_.Vj(f));this.wa=e;this.Ga=b;this.ta=c;this.V={};this.Ca=d;this.W=null};_.J(q6c,YR);
q6c.prototype.refresh=function(){this.W=new p6c(this.request,this.wa,this.Ga,this.ta,this.Ca);return K4c(this.W)};q6c.prototype.w$=function(){this.W||this.refresh()};q6c.prototype.T_=function(){var a=new _.QP;a.Dc(this.status);_.ff(this.V,function(b,c){a.xM().set(c,b||new _.iC)});jUc(a,this.Re());return a};q6c.prototype.y$=function(a){var b=a.getId();if(_.Uj(a,o6c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Kl().indexOf(b))return this.V[b]=a,!0;return!1};
var r6c=function(a,b){a=a.getState();return null==a||b.getState()==a},s6c=function(a,b,c){ZR.call(this,a,c);this.ka=b};_.J(s6c,ZR);s6c.prototype.x5=function(a,b,c){a=_.Vj(a);a.Gi(b);return new _.DIc(a,c)};s6c.prototype.M7=function(a){return a.pageToken||""};s6c.prototype.j7=function(a){return a.response.Zi()};s6c.prototype.U_=function(a){this.ka(a)};var t6c=function(a){this.W=iWc(a,{numeric:!0})};
t6c.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=_.za(b.getId(),c.getId())*(a?1:-1);return f};t6c.prototype.V=function(a,b,c){var d=_.z(b,4),e=_.z(c,4),f;d!=e?f=_.za(d,e)*(a?1:-1):f=_.za(b.getId(),c.getId())*(a?1:-1);return f};var u6c=function(a,b,c,d,e){YR.call(this,a,_.Vj(e));this.wa=d;this.Ca=b;this.W=[];this.V=null;a=new t6c(c);b=(c=_.C(this.request,_.vo,5))?c.getType():0;c=c?c.jh():0;this.ta=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.J(u6c,YR);u6c.prototype.refresh=function(){var a=this;L5c(this);this.V=new s6c(this.request,this.wa,function(b){return a.Ca.then(function(c){return c.H(b)})});return $R(this.V,this.request.th()||0)};u6c.prototype.w$=function(a){1==this.status||this.V&&a==this.request.th()||(this.request.Gi(a),this.V?$R(this.V,a):this.refresh())};u6c.prototype.T_=function(){var a=new mR;a.Dc(this.status);RXc(a,this.W.map(function(b){return _.Vj(b)}));return new _.VP(a,void 0,1!=this.status&&N5c(this.V),this.Re())};
u6c.prototype.y$=function(a){var b=_.pa(this.W,function(c){return c.getId()==a.getId()});return a&&r6c(this.request,a)&&!_.Uj(a,o6c(a.getId()))?wOc(this.W,a,this.ta):b};var v6c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.J(v6c,bS);var w6c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};v6c.prototype.getKey=function(a){return a.toString()};
v6c.prototype.A5=function(a){var b=this;return new u6c(this.ha,this.ma,kQ(this.W.Se()),function(c){return aS(b,c,!1)},a)};v6c.prototype.uga=function(a){var b=this;return new q6c(this.ha,this.ma,this.W,this.ka,function(c,d){return aS(b,c,d)},a)};v6c.prototype.V=function(a,b,c,d){w6c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));bS.prototype.V.call(this,a,b,c,d)};var x6c=function(){_.N.apply(this,arguments)};_.J(x6c,_.N);
var A6c=function(a,b){b=y6c(b);var c=a.getItem(),d=z6c(c.getCapabilities());b.pU.forEach(function(e){_.OM(e.getItem(),c.xm());e.getItem().xn(d.clone())});return b},D6c=function(a,b,c){var d=B6c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new WQ(b),children:[]};C6c(a,d,c);return c},B6c=function(a){var b={};a.map(function(c){c.getItem().li().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},C6c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(C6c(a,
b,{H:e,parent:c,children:[]}))});return c},F6c=function(a,b){var c=b.children.filter(function(h){return!_.Gk(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.OM(f,a.xm()),E6c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.Gk(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},G6c=function(a){var b=a.children.filter(function(f){return!_.Gk(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(_.AN(_.wN(new _.vN,e.getId()))),d.children.map(function(f){_.Gk(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},y6c=function(a){var b=[],c=[];a.forEach(function(d){_.Gk(d.getItem())||_.E(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{oR:c,pU:b}},z6c=function(a){a=a.clone();var b=null!=_.E(a,34)?_.E(a,34):_.E(a,7),c=null!=_.E(a,35)?_.E(a,35):_.E(a,7);_.x(a,45,c);_.oJc(a,b);_.x(a,30,c);_.jJc(a,b);_.pJc(a,c);_.kJc(a,c);_.lJc(a,b);_.XIc(a,b);
_.bJc(a,c);_.hJc(a,b);_.gJc(a,_.E(a,7));_.aJc(a,_.E(a,10)||_.E(a,11));_.iJc(a,_.zk(a));_.x(a,18,void 0);_.x(a,13,void 0);_.x(a,10,void 0);_.mJc(a,_.E(a,42));_.nJc(a,_.E(a,43));_.qJc(a,_.E(a,48));return a},E6c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.E(d,30);_.x(e,30,f);_.jJc(e,_.E(d,31));_.pJc(e,_.E(d,47));_.kJc(e,_.E(d,32));_.lJc(e,_.E(d,33));_.XIc(e,_.E(d,4));_.bJc(e,d.V());_.iJc(e,_.E(d,21));_.hJc(e,_.E(d,20));_.gJc(e,_.E(d,17));_.UIc(e,_.zk(d));_.$Ic(e,_.E(d,7));_.cJc(e,
_.E(d,10));_.dJc(e,_.E(d,11));f=_.E(d,45);_.x(e,45,f);_.oJc(e,_.E(d,46));_.qJc(e,_.E(d,48));a=_.Gk(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.QN(b)?(_.aJc(e,_.E(c,43)),_.nJc(e,_.E(c,43)),_.mJc(e,_.E(c,42))):_.aJc(e,_.E(c,42)))},H6c=function(a){this.H=a;this.ha=new x6c;this.V=a.V;this.W=_.ye(new _.xe,306)},o5c=function(a,b){if(_.jP(a.H.H))if(dR(b))if(b.Mz())I6c(a,b);else{var c=b.Hc(),d=J6c(a,c),e=a.V.V.H(c);b=A6c(b,d);w5c(a.H.V,b.pU);a.V.wa.H(b.oR,a.W);K6c(a,c,"SD update | Update "+b.pU.length+" item(s), "+
b.oR.length+" divergent items");if(d=CSc(a.H.ta,106017)){var f=zSc(d);_.x(f,1,b.oR.length);_.x(f,2,b.pU.length);d.V()}e||(a=a.V.wa,c&&(O0c(a,"Processing potential rejoin for TD: "+c),b=_.IN(_.Uk(_.HN(new _.oe,[c]),_.BP(a.ma)),1),e=_.ye(new _.xe,306),_.Wk(b,e),Q0c(a),b=new BR(a.V,b),K0c(b,5E3).nb(a.ka.bind(a,b)),P0c(a),R0c(a,c)))}else if(_.A(a.H.H,86,!1)){c=b.Hc();e=a.V.V.H(c);if(e&&e.wc()&&_.QN(b.getItem()||e)){if(d=!!_.Gk(e),!b.Mz()){var h=b.getItem();f=_.Gk(e)!=_.Gk(h);h=h.xm()!=e.xm();d=f||d&&
h}}else d=!1;if(d)if(b.Mz()){if(b=J6c(a,e.wc()),e=a.ha,d=(new _.Ek).kc(c),b=(b=D6c(e,d,b))?G6c(b):[],a.H.V.ta(b),K6c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=CSc(a.H.ta,106009))c=ySc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=J6c(a,c.wc()),d=a.ha,c=b.getItem(),c=(e=D6c(d,c,e))?F6c(c,e):[],w5c(a.H.V,c),K6c(a,b.Hc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=CSc(a.H.ta,106010))b=ySc(a),_.x(b,1,c.length),a.V()}},I6c=function(a,b){var c=b.Hc();b=J6c(a,c);
b=y6c(b);var d=_.me(b.pU,function(e){return _.AN(_.wN(new _.vN,e.getId()))});a.H.V.ta(d);a.V.wa.H(b.oR,a.W);K6c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.oR.length+" divergent items");if(a=CSc(a.H.ta,106016))c=zSc(a),_.x(c,1,b.oR.length),_.x(c,2,b.pU.length),a.V()},J6c=function(a,b){var c=new _.oe;_.HN(c,[b]);_.IN(c,2);return mXc(a.V.V,c)},K6c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},L6c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
L6c.prototype.qW=function(a,b){var c=this;if(!a.ZM().length)return null;var d=W5c(this.H,a.Hc());if(!d)return null;for(var e=this.H.V6(a),f={},h=_.u(a.ZM()),k=h.next();!k.done;f={RE:f.RE},k=h.next())if(k=k.value,f.RE=M6c(e,k.Qk(),a.Hc()),_.E(k,3))b6c(this.H,f.RE),_.Gh(b,function(q){return function(){c.H.W.ha(F5c(q.RE))}}(f));else{for(var l=_.u(_.Oj(k,_.tG,2)),n=l.next();!n.done;n=l.next())N6c(this,f.RE,n.value);k=_.u(_.z(k,4));for(l=k.next();!l.done;l=k.next())O6c(f.RE,l.value);aS(this.H,[f.RE],!1,
-1);b.then(function(q){return function(){return X5c(c.H,q.RE.getName())}}(f),function(q){return function(){return X5c(c.H,q.RE.getName())}}(f))}b.then(null,function(q){var t=a.Hc();d6c(c.ha,t);q=_.kN(q);_.x(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.T_()};
var M6c=function(a,b,c){var d=a.find(function(e){return E5c(e.getName(),b)});d||(d=vTc((new tQ).zd(b),c),a.push(d));return d},N6c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new rQ,d.kc(c.getId()),uTc(b,b.V().concat([d])),P6c(d,c));if(1==sQ(d))d.Xqa(_.E(c,3));else if(12==sQ(d))rTc(d,_.z(c,17));else if(2==sQ(d))d.ura(_.z(c,4));else if(3==sQ(d))_.z(c,6).length?d.d2(_.z(c,6)):_.z(c,5).length&&(a=_.z(d,7).concat(_.z(c,5)),d.d2(a));else if(4==sQ(d))oTc(d,_.z(c,7));
else if(5==sQ(d))d.nra(_.z(c,8));else if(6==sQ(d))_.z(c,10).length?d.b2(_.z(c,10)):_.z(c,9).length&&(a=d.yja().concat(_.z(c,9)),d.b2(a));else if(7==sQ(d))d.cra(_.z(c,11));else if(8==sQ(d))_.z(c,13).length?d.P1(_.z(c,13)):_.z(c,12).length&&(a=_.z(d,12).concat(_.z(c,12)),d.P1(a));else if(10==sQ(d))pTc(d,a.V(_.z(c,14)));else if(11==sQ(d))_.z(c,16).length?qTc(d,_.z(c,16).map(a.V)):_.z(c,15).length&&qTc(d,d.W().concat(_.z(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(sQ(d)+
"."),new _.qb(d,new _.pb);},O6c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==sQ(a))_.x(a,5,void 0);else if(12==sQ(a))_.x(a,17,void 0);else if(2==sQ(a))_.x(a,6,void 0);else if(3==sQ(a))a.d2([]);else if(4==sQ(a))_.x(a,8,void 0);else if(5==sQ(a))_.x(a,9,void 0);else if(6==sQ(a))a.b2([]);else if(7==sQ(a))_.x(a,11,void 0);else if(8==sQ(a))a.P1([]);else if(10==sQ(a))pTc(a,void 0);else if(11==sQ(a))qTc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(sQ(a)+"."),
new _.qb(a,new _.pb);},P6c=function(a,b){null!=_.z(b,3)?a.Bw(1):null!=_.z(b,17)?a.Bw(12):null!=_.z(b,4)?a.Bw(2):_.z(b,6).length||_.z(b,5).length?a.Bw(3):null!=_.z(b,7)?a.Bw(4):null!=_.z(b,8)?a.Bw(5):_.z(b,10).length||_.z(b,9).length?a.Bw(6):null!=_.z(b,11)?a.Bw(7):_.z(b,13).length||_.z(b,12).length?a.Bw(8):null!=_.z(b,14)?a.Bw(10):(_.z(b,16).length||_.z(b,15).length)&&a.Bw(11)};L6c.prototype.V=function(a){return _.TIc(_.RIc(1),a)};
var Q6c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ta=c;this.V=d;this.Ca=e;this.wa=f;this.W=k;this.Ga=h;this.ha=0};Q6c.prototype.apply=function(a,b){var c=this;if(!_.NO(a))return b;var d;a instanceof _.$N?d=R6c(this,a,b):a instanceof _.fO?d=S6c(this,b):a instanceof _.pN?d=T6c(this,a,b):a instanceof _.VN?d=U6c(this,a,b):a instanceof _.yO&&(d=this.ta.qW(a,b));d&&(this.ha++,this.ka.setActive(!1),_.Gh(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Ah(d):b};
var R6c=function(a,b,c){Z5c(a.V,b.getId());var d=a.H.V.H(b.getId());_.Gh(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.kN(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.LO).Dc(1)},S6c=function(a,b){var c=(new _.oe).yn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});$5c(a.V,c);_.Gh(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.kN(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.LO).Dc(1)},U6c=function(a,b,c){var d=b.wc(),e=a.H.V.H(d);if(!e)return null;e=_.Vj(e);n0c(a.H,[e],[157]);var f=e.Yj();V6c(f,_.Oj(b,_.Dk,2));W6c(f,_.Oj(b,_.Dk,3));dQ(a.H,[e],-1,void 0,void 0,[157]);_.Gh(c,function(){A5c(a.H,d)}).then(function(h){dQ(a.H,[h.$Y()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.kN(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return QTc(new yQ,e).Dc(1)},V6c=function(a,b){var c={};b=_.u(b);for(var d=b.next();!d.done;c=
{T3:c.T3},d=b.next())c.T3=d.value,_.Oj(a,_.Dk,8).some(function(e){return function(f){return f.Qk()==e.T3.Qk()}}(c))||_.Rj(a,8,c.T3,_.Dk,void 0)},W6c=function(a,b){var c=b.map(function(d){return d.Qk()});b=_.Oj(a,_.Dk,8).filter(function(d){return!c.includes(d.Qk())});COc(a,b)},T6c=function(a,b,c){var d=a.H.V.H(b.getId());if(!d||d.wc()&&0==b.Bh())return null;var e=_.z(b,10),f=_.z(b,9);if(0<e.length&&0<f.length&&(e=Object.values(lXc(a.H.V,e.concat(f))).map(function(k){return k.wc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.Vj(d);X6c(a,b,h);dQ(a.H,[h],-1,void 0,void 0,uSc(a.wa));c.then(function(){return A5c(a.H,b.getId())},function(){A5c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.kN(k);if(63==k.Pi()){var l=h.getId();_.x(k,22,l);_.x(k,23,f[0])}_.x(k,21,"Server error updating item after optimistic application.");a.W(k)});return _.mP((new _.LO).setItem(h),h.getId()).Dc(1)},X6c=function(a,b,c){null!=b.Uf()&&c.Bl(b.Uf());null!=b.$h()&&_.AJc(c,b.$h());null!=b.Sb()&&_.NM(c,
b.Sb());null!=_.z(b,7)&&_.GEc(c,_.z(b,7));null!=_.E(b,11)&&_.wJc(c,_.E(b,11));null!=_.E(b,4)&&c.Uq(_.E(b,4));null!=_.E(b,16)&&_.zJc(c,_.E(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Bh()&&(c.yn(b.Bh()),_.yJc(c,b.Bh()));null!=b.Tp()&&_.JN(lPc(c,!0),b.Tp());_.z(b,8).length&&_.XO(c,_.z(b,8));if(_.z(b,9).length){var d=new Set(c.li());_.z(b,9).forEach(function(n){return d.add(n)});_.XO(c,[].concat(_.nc(d)))}if(_.z(b,10).length){var e=new Set(c.li());_.z(b,10).forEach(function(n){return e.delete(n)});
_.XO(c,[].concat(_.nc(e)));var f=c.Bp();f&&_.z(b,10).includes(f)&&_.x(c,46,void 0)}if(!c.Bp()){var h=a.Ga();f=c.li().find(function(n){var q=a.H.V.H(n);return q&&!!q.Bp()||n==h});_.x(c,46,f||void 0)}c.li().length&&(f=a.H.V.H(c.li()[0]))&&_.DJc(c,f.wc());if(f=_.C(b,_.Bk,25)){var k=_.C(c,_.Bk,111)||new _.Bk;null!=_.E(f,1)&&_.SO(k,_.E(f,1));null!=_.z(f,2)&&_.rJc(k,_.z(f,2));_.R(c,111,k)}var l=_.z(c,120);_.z(b,31).forEach(function(n){l.includes(n)||l.push(n)});_.z(b,32).forEach(function(n){_.oa(l,n)});
_.x(c,120,l||[])};Q6c.prototype.ma=function(a,b){var c=this,d=_.oo(new _.mo,[a]);this.Ca.then(function(e){return e.H(d)}).then(function(e){e=e.sr().Bd()[0];dQ(c.H,[_.Vj(e)],1)},function(){b&&dQ(c.H,[_.Vj(b)],1)})};
var Y6c=function(a){return a.getName()||""},Z6c=function(a){return a.getId()||""},$6c=function(a){return _.GHc[a.Hg()]},a7c=function(a){return _.IHc[a.getType()]},EPc=function(a,b){return[$6c,a7c,Y6c,Z6c].reduce(function(c,d){var e;0!=c?e=c:e=_.za(d(a),d(b));return e},0)},b7c=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};
b7c.prototype.apply=function(a,b){var c=this;b instanceof _.LO&&8==b.Gb()||(a instanceof _.UN||a instanceof _.WN||a instanceof _.EO||a instanceof _.pN||a instanceof _.AO||a instanceof _.AIc||a instanceof _.HO?dQ(this.H,[_.Vj(b.getItem())],1):a instanceof _.$N?(b=_.AN(_.wN(new _.vN,a.getId())),this.H.ta([b])):a instanceof _.cO?(b=_.AN(_.wHc(_.wN(new _.vN,a.getId()),a.getId())),this.H.ta([b]),o5c(this.ta,b)):a instanceof _.fO?(b=(new _.oe).yn(!0),b=this.H.V.query(b).map(function(d){return _.AN(_.wN(new _.vN,
d.getId()))}),this.H.ta(b)):"undefined"!=typeof _.YN&&a instanceof _.YN?this.V.remove(a.V()):"undefined"!=typeof _.hO&&a instanceof _.hO||"undefined"!=typeof _.xO&&a instanceof _.xO?this.V.REa(_.C(b,_.zQ,2)):"undefined"!=typeof _.aO&&a instanceof _.aO?DPc(this.H,a):"undefined"!=typeof _.HD&&a instanceof _.HD?this.ha.remove(a.getKey()):"undefined"!=typeof _.iO&&a instanceof _.iO?FPc(this.H,a,b.SY()):"undefined"!=typeof _.ID&&a instanceof _.ID?c7c(this.ha,b.Mxa()):a instanceof _.XN||a instanceof _.BO?
aS(this.ka,[b.V()],!1):a instanceof _.dO?aS(this.ka,[o6c(a.getId())],!1):a instanceof _.tIc?aS(this.W,b.response.V(),!1,1):a instanceof _.yO?(a.ZM().filter(function(d){return _.E(d,3)}).forEach(function(d){return c.W.removeItem(d.Qk()||"",a.Hc())}),d6c(this.ma,a.Hc()),this.H.hb(a.Hc())):"undefined"!=typeof _.wP&&a instanceof _.wP&&a.V().forEach(function(d){switch(d.getFeature()){case 3:case 1:switch(d=d.V(),d.getType()){case 1:case 2:if(d=c.H.V.H(d.Hc()))d=_.wN(SRc(),d.getId()).setItem(_.Vj(d)),c.H.ta([d])}}}))};
var d7c=function(a){this.H=a};
d7c.prototype.V=function(a){if(a instanceof _.tO){var b=this.H.H(a.getId());if(!b)return new _.pb;var c=(new _.pN).kc(a.getId());if(b.wc()){var d=b.getCapabilities();_.Ak(d)||d.V()?c.yn(!0):_.qN(c,!1)}else d=a.getParent(),1==b.xm()?c.yn(!0):d?(b=this.H.H(d),!b||_.E(b.getCapabilities(),7)?MRc(c,[d]):_.qN(c,!1)):_.qN(c,!1);return c}if("undefined"!=typeof _.uO&&a instanceof _.uO)return ORc(NRc(MRc(LRc((new _.pN).kc(a.getId()),a.qVa()),a.rVa()),a.sVa()),a.pVa());if(a instanceof _.vO){b=this.H.H(a.getId());
if(!b)return new _.pb;c=(new _.pN).kc(a.getId());b.wc()?(d=b.getCapabilities(),_.Ak(d)||d.V()?c.yn(!1):_.qN(c,!0)):(d=a.getParent(),1==b.xm()?c.yn(!1):d?(b=this.H.H(d),!b||_.zk(b.getCapabilities())?LRc(c,[d]):_.qN(c,!0)):_.qN(c,!0));return c}return a instanceof _.CP?new _.EO(a):"undefined"!=typeof _.dS&&a instanceof _.dS?a.V().map(function(e){var f=new _.yO;e=_.x(f,1,e);f=a.ZM();e=_.Qj(e,2,f);f=a.oe();return _.R(e,3,f)}):a};var e7c=function(){};
e7c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.mO&&a instanceof _.mO?(a=a.getId()||"",_.Cc(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.ZN&&a instanceof _.ZN&&(a=a.getId()||"",_.Cc(a)&&(b="Tried to delete backup with no id."));return b?_.kN(b):null};
var GPc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},f7c=function(a,b,c,d,e){_.eNc.call(this,a,b,d,e);this.Ca=c;this.ta=new zYc(this.ka,b);this.W=new I_c(this.nA);this.wa=new HZc(this.nA,this.W);this.ha=null};_.J(f7c,_.eNc);var g7c=function(a){a.ha||(a.ha=new v_c(a.ka,a.Ca));return a.ha};
f7c.prototype.ma=function(a,b){if(a instanceof _.RN)return _.GP(_.JP(a));if(a instanceof _.SN)return _.HP(this,a,b);if(a instanceof _.tIc)return h7c(this,a.request,b);if(a instanceof _.TN)return _.HP(this,a,b);if(a instanceof _.VN){if(!b.json)throw _.IP();return QTc((new yQ).Dc(1),J_c(this.W,b.json))}if(a instanceof _.UN)return _.HP(this,a,b);if("undefined"!=typeof _.wP&&a instanceof _.wP)return new MSc;if(a instanceof _.XN)return i7c(a,b);if("undefined"!=typeof _.YN&&a instanceof _.YN)return DZc(void 0,
a.V());if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return new kYc;if(a instanceof _.$N)return _.GP(_.JP(a));if("undefined"!=typeof _.aO&&a instanceof _.aO)return new lR;if(a instanceof _.bO)return _.GP(_.JP(a));if(a instanceof _.cO)return _.GP(_.JP(a));if("undefined"!=typeof _.HD&&a instanceof _.HD)return b=new LXc,a=a.getKey(),_.R(b,4,a);if(a instanceof _.dO)return i7c(a,b);if(a instanceof _.fO)return _.GP(_.JP(a));if(a instanceof _.rIc){if(!b.json)throw _.IP();return new eWc(b.json.exportJob.id)}if("undefined"!=
typeof _.gO&&a instanceof _.gO){if(!b.json)throw _.IP();a=b.json;b=new HXc;a=CZc(a);return _.R(b,2,a).Dc(1)}if("undefined"!=typeof _.hO&&a instanceof _.hO)return j7c(a,b);if("undefined"!=typeof _.iO&&a instanceof _.iO){if(!b.json)throw _.IP();a=(new lR).Dc(1);b=_.UMc(this.nA,b.json);return _.R(a,2,b)}if(a instanceof _.XM){a:{if(!b.json)throw _.IP();if(a instanceof _.XM){if((a=a.kd())&&_.jO(a)){b=d_c(this.V,this.H,b.json);break a}if(a&&_.kO(a)){b=c_c(this.V,this.H,b.json);break a}if(a&&_.lO(a)){b=
b_c(this.V,this.H,b.json);break a}}b=_.QMc(this.nA,b.json,b.headers)}return b}if("undefined"!=typeof _.mO&&a instanceof _.mO){if(!b.json)throw _.IP();return GZc(b.json)}if(a instanceof _.nO){if(!b.json)throw _.IP();b=b.json;_.DP(["drive#appList"],b);a=new jR;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(CZc(d[e]));a=_.Qj(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Dc(1)}if("undefined"!=typeof _.oO&&a instanceof _.oO){if(!b.json)throw _.IP();return FZc(b.json)}if(a instanceof _.rN)return k7c(this,
b);if(a instanceof _.pO){if(!b.json)throw _.IP();a=new KXc;d=this.nA;e=b.json;c=new kSc;d=_.VMc(d,e,"items");c=_.Qj(c,2,d);a=_.R(a,1,c);return _.x(a,2,pXc(b.json))}if("undefined"!=typeof _.qO&&a instanceof _.qO){if(!b.json)throw _.IP();a=this.nA;d=b.json;b=new mSc;_.DP(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.SMc(a,d[e]);c.push(f)}return _.Qj(b,2,c)}if(a instanceof _.MM)return l7c(a,b);if(a instanceof _.rO){if(!b.json)throw _.IP();return H_c(b.json)}if(a instanceof
_.xIc){if(!b.json)throw _.IP();return z_c(g7c(this),b.json)}if(a instanceof _.sG){if(!b.json)throw _.IP();a=g7c(this);c=b.json;b=new oR;a=y_c(a,c);return _.R(b,2,a).Dc(1)}if(a instanceof _.sO){if(!b.json)throw _.IP();b=b.json;_.DP(["drive#remainingCount"],b);a=new YXc;c=b.nextPageToken;null!=c&&_.x(a,2,Number(c));_.x(a,1,Number(b.remainingCount));return a}if(a instanceof _.uo){if(!b.json)throw _.IP();return(new _.kC).Cw([J_c(this.W,b.json)])}if(a instanceof _.IO){if(!b.json)throw _.IP();a=(new _.kC).Cw(K_c(this.W,
b.json));a=_.xKc(new _.nP,a);return _.x(a,3,pXc(b.json))}if("undefined"!=typeof _.xO&&a instanceof _.xO)return j7c(a,b);if(a instanceof _.yO)return h7c(this,a,b);if(a instanceof _.pN)return _.HP(this,a,b);if(a instanceof _.zO)return _.HP(this,a,b);if(a instanceof _.AO)return m7c(this,b);if("undefined"!=typeof _.ID&&a instanceof _.ID){if(!b.json)throw _.IP();b=M_c(b.json);a=new LXc;a=_.R(a,3,b);b=b.getKey();return _.R(a,4,b)}if(a instanceof _.BO)return i7c(a,b);if(a instanceof _.CO){if(!b.json)throw _.IP();
return BYc(this.ta,b.json)}if("undefined"!=typeof _.DO&&a instanceof _.DO){if(!b.json)throw _.IP();b=O_c(b.json);a=new _.QP;a.xM().set(b.getId(),b);return a}if(a instanceof _.sIc){if(!b.json)throw _.IP();a=b.json;b=new YVc;a=_.u(Object.entries(a));for(c=a.next();!c.done;c=a.next())switch(d=_.u(c.value),c=d.next().value,d=d.next().value,c){case "nextPageToken":_.Kj(b,2,d);break;case "activities":c=xZc(d),_.Qj(b,1,c)}return b}if(a instanceof _.EO)return m7c(this,b);if("undefined"!=typeof _.GO&&a instanceof
_.GO)return k7c(this,b);if(a instanceof _.uIc){if(!b.json)throw _.IP();return new dWc}if(a instanceof _.vIc){if(!b.json)throw _.IP();return JPc(b)}if(a instanceof _.wIc){if(!b.json)throw _.IP();c=b.json;b=new _.so;_.DP(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=M_c(c[d]))&&a.push(e);return _.Vva(b,a)}if(a instanceof _.to){if(!b.json)throw _.IP();return S_c(this.V,this.H,b.json).Dc(1)}if("undefined"!=typeof _.wO&&a instanceof _.wO){if(!b.json)throw _.IP();return Q_c(this.V,
this.H,b.json)}if(a instanceof _.JO){if(!b.json)throw _.IP();a=b.json;_.DP(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new GXc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.BIc)return new fWc(pXc(b.json?b.json:{}));if(a instanceof _.CIc)return new gWc;if(a instanceof _.DIc){if(!b.json)throw _.IP();return P_c(b.json)}};
var i7c=function(a,b){if(!b.json){if(a instanceof _.dO)return T_c({});throw _.IP();}return T_c(b.json)},m7c=function(a,b){if(!b.json)throw _.IP();a=J_c(a.W,b.json);return(new _.LO).Dc(1).setItem(a)},h7c=function(a,b,c){if(!c.json)throw _.IP();return x_c(g7c(a),b,c.json)},j7c=function(a,b){if(!b.json)throw _.IP();return DZc(b.json,a.V())},k7c=function(a,b){if(!b.json)throw _.IP();a=a.wa;var c=b.json;_.DP(["drive#about","drive#changeList"],c);b=new JXc;var d=c.nextPageToken;null!=d&&_.x(b,2,Number(d));
d=c.largestChangeId;null!=d&&_.x(b,3,Number(d));if("drive#changeList"==c.kind){_.DP(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.DP(["drive#change"],h);var k=new _.vN;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.wHc(k,h.teamDriveId),_.wN(k,h.teamDriveId)):_.wN(k,h.fileId);h.file?k.setItem(_.RMc(f.H,h.file)):h.teamDrive&&k.setItem(J_c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.AN(k);d.push(k)}_.Qj(b,4,d)}return b},l7c=function(a,b){var c=new mYc;if(_.z(a,6).length){var d=
[];UOc(_.z(a,6),b.headers).forEach(function(e,f){e=_.yEc(new _.LM,f).hc(e);d.push(e)});_.Qj(c,1,d)}nYc(c,b.json?JSON.stringify(b.json):b.text);return c},n7c=function(a){var b=new _.vp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.KHc[a]);_.tP(b,c.join(" "))}return b.toString()},o7c=function(a,b,c,d){_.KP.call(this,b,c,d,a.Db);this.ma=a;this.ta=new uWc(_.BP(d),b)};_.J(o7c,_.KP);
o7c.prototype.W=function(a,b,c){try{return _.KP.prototype.W.call(this,a,b,c)}catch(I){}var d=0,e={},f="GET",h={},k=!1;if(a instanceof _.SN){f="POST";var l="admin/files/"+a.getId()+"/migrateToTeamDrive";h.fields="kind,id,parentId,teamDriveId";h.fileId=a.getId();var n=qXc(a);e["content-type"]="application/json";k=!0}else if(a instanceof _.TN){f="POST";l="files/"+a.Hc()+"/authorize";h.appId=_.z(a,1);_.E(a,3)&&(h.propagate=!0);var q=a.oe();k=!0;_.AP(this.H,h);_.PO(this.H)&&_.LP(this,[a.Hc()],e)}else if(a instanceof
_.EO)f="POST",l="teamdrives/"+a.requestId,h.fields=ZQ(this.H),n={},n=(n.name=a.request.getTitle(),n),e["content-type"]="application/json",k=!0;else if(a instanceof _.XN)f="POST",l="workspaces",h.fields="kind,id,title,createdDate,modifiedDate,state",n=sXc(a),e["content-type"]="application/json",q=a.oe(),k=!0;else if(a instanceof _.UN)f="POST",l="files/"+a.getId()+"/copy",h.fields=_.hIc({fields:this.Gg(c),lw:_.ZM(this.H.Se()),GI:_.oN(this.H)}),h.convert=_.A(a,4,!1),n=rXc(a),e["content-type"]="application/json",
q=a.oe(),_.PO(this.H)&&(a=_.z(a,3).concat([a.getId()]),_.LP(this,a,e)),k=!0,_.AP(this.H,h),_.pNc(this.H,h);else if("undefined"!=typeof _.YN&&a instanceof _.YN)f="DELETE",l="apps/"+a.V(),h.appId=a.V(),h.deleteAppData=!!a.W(),q=a.oe(),k=!0;else if("undefined"!=typeof _.ZN&&a instanceof _.ZN)f="DELETE",l="backups/"+a.getId(),d=9;else if(a instanceof _.$N)f="DELETE",l="files/"+a.getId(),q=a.oe(),k=!0,_.AP(this.H,h),_.pNc(this.H,h),_.PO(this.H)&&_.LP(this,[a.getId()],e);else if("undefined"!=typeof _.aO&&
a instanceof _.aO)f="DELETE",l="files/"+a.Hc()+"/permissions/"+a.V(),q=a.oe(),k=!0,_.AP(this.H,h);else if(a instanceof _.bO)f="DELETE",l="files/"+a.Hc()+"/revisions/"+_.z(a,2),q=a.oe(),k=!0,_.PO(this.H)&&_.LP(this,[a.Hc()],e);else if(a instanceof _.cO)f="DELETE",l="teamdrives/"+a.getId(),q=a.oe(),k=!0;else if("undefined"!=typeof _.HD&&a instanceof _.HD)f="DELETE",a=a.getKey(),l="settings/"+_.z(a,2),_.ro(a)&&(h.namespace=_.yHc[_.ro(a)]),k=!0;else if(a instanceof _.dO)f="DELETE",l="workspaces/"+a.getId(),
q=a.oe(),k=!0;else if(a instanceof _.fO)f="DELETE",l="files/trash",q=a.oe(),k=!0,_.pNc(this.H,h);else if("undefined"!=typeof _.gO&&a instanceof _.gO)l="apps/"+a.V(),q=a.oe(),k=!0,h.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 _.mO&&a instanceof _.mO)l="backups/"+a.getId()+"/items",d=9,h.languageCode=kQ(this.H.Se());else if("undefined"!=typeof _.hO&&a instanceof _.hO)f="POST",l="apps",h.appId=a.V(),q=a.oe(),k=!0;else if("undefined"!=typeof _.iO&&a instanceof _.iO)f="POST",l="files/"+a.Hc()+"/permissions",h.fields=_.oN(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",
h.emailMessage=a.$Za()||"",h.sendNotificationEmail=!a.M_a(),n={},1==a.Hg()?n.role="owner":3==a.Hg()?n.role="writer":4==a.Hg()?(n.role="reader",n.additionalRoles=["commenter"]):2==a.Hg()&&(n.role="reader"),1==a.getType()?n.type="user":2==a.getType()?n.type="group":3==a.getType()?n.type="domain":4==a.getType()?n.type="anyone":5==a.getType()&&(n.type="audience"),a.ub()&&(n.value=a.ub()),n.withLink=!a.h_a(),e["content-type"]="application/json",q=a.oe(),k=!0,_.AP(this.H,h);else if(a instanceof _.rIc)d=
8,f="POST",l="/v1/exports",e["content-type"]="application/json",n=_.z(a,1).map(function(I){return{id:I}}),n={archiveFormat:null,archivePrefix:_.z(a,2),conversions:null,items:n,locale:null},_.PO(this.H)&&_.LP(this,_.z(a,1),e);else if(a instanceof _.XM||"undefined"!=typeof _.wP&&a instanceof _.wP||a instanceof _.to||"undefined"!=typeof _.wO&&a instanceof _.wO)if(b=a instanceof _.XM?a.kd():a,_.OO(b)){d=10;f="POST";l="/v1/items";e["content-type"]="application/json";n={};var t=9==_.hP(this.H)?"WEB_MOBILE":
"WEB_DESKTOP",v={};v.applicationType=DWc(this.H);v.platformType=t;v.languageCode=kQ(this.H.Se());v.timeZone=(new _.jw).bZ();v.requestType="LIVE_REQUEST";a instanceof _.XM&&(t=a.getOptions())&&_.A(t,10,!1)&&(v.requestType="BACKGROUND_REQUEST");b instanceof _.oe?_.jO(b)?(AWc(this.ta)?v.scenarioType="ONE_PICK":v.scenarioType="QUICK_ACCESS",2==_.fP(b)&&(n.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.z(b,33)[0]}),_.bP(b).length&&(n.itemType=CWc(b))):_.kO(b)?v.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":
_.lO(b)&&(v.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.wP&&b instanceof _.wP?(l="/v1/userfeedback",n.userFeedback=b.V().map(function(I){var X=I.V(),T={},na={};na.feedbackType=RTc[X.getType()];T.item=na;T.clientInfo=v;switch(I.getFeature()){case 1:v.scenarioType="DRIVE_PRIORITY";na.itemId=X.Hc();break;case 3:v.scenarioType="QUICK_ACCESS";na.itemId=X.Hc();break;case 2:v.scenarioType="DRIVE_WORKSPACES",na.itemId=X.Hc(),na.childItem=X.V().map(function(Ba){var Oa={};Oa.itemId=Ba.Hc();return Oa})}return T})):
b instanceof _.to?v.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.wO&&b instanceof _.wO?(v.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",n.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.oNc(a);"undefined"!=typeof _.wP&&b instanceof _.wP||(n.maxSuggestions=b.th(),n.clientInfo=v)}else{q=b.oe();k=!0;l="files";h.q=_.kLc(b);t=[];var y;(y=_.nN(this.H))&&_.A(y,4,!1)?(y=_.qa(this.Gg(c),
this.Gg(c,b.Sh())),_.ya(y)):y=_.ra(this.Gg(c));_.E(this.H,87)&&111==KPc(a)&&(y=y.filter(function(I){return 1!=I}));var B=void 0,F=!1;0<_.Oj(b,_.Qk,5).length&&(B=_.z(this.H.nf(),50),F=!0);h.fields=AOc({fields:y,lw:_.ZM(this.H.Se()),lW:B||void 0,GI:_.oN(this.H),F6a:F});h.appDataFilter="NO_APP_DATA";0<_.Oj(b,_.aP,25).length&&(h.sources=_.dLc(b));0<b.fu().length&&(h.spaces=_.eLc(b));a.Um()&&(h.pageToken=a.Um());(a=a.getOptions())&&_.D(a,1,1E3)&&(h.maxResults=_.D(a,1,1E3));_.A(b,36,!1)&&(h.includeUnsubscribed=
!0);_.z(b,43)&&(h.rawUserQuery=_.z(b,43));_.AP(this.H,h);_.jP(this.H)&&(h.includeTeamDriveItems=!0,0<_.z(b,33).length&&2==_.fP(b)&&(a=_.z(b,33)[0],h.teamDriveId=a,t.push(a)),h.corpora=_.uKc[_.fP(b)]);_.E(b,18)&&(_.of(h,"corpora"),h.corpus="DOMAIN");_.PO(this.H)&&(a=_.Oj(b,_.Sk,63),0<a.length?_.qNc(a,e):(a=_.cP(b),y=_.Oj(b,_.$O,35),B=_.Oj(b,_.$O,38),t=t.concat(a.filter(function(I){return!_.A(I,2,!1)}).map(function(I){return I.ub()})).concat(y.map(function(I){return I.ub()})).concat(B.map(function(I){return I.ub()})),
_.LP(this,t,e)));WOc(h,b.Ud());_.rNc(this.H,h);_.sNc(this.H,h)}else if(a instanceof _.nO){l="apps";switch(a.getType()){case 1:h.fields=_.MHc;break;case 2:h.fields=_.NHc;break;case 4:h.fields=_.OHc;break;case 3:d=5,l="apps",h.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",h.appQueryScope="all_webstore",b.sG=!0}h.languageCode=kQ(this.H.Se());0<
_.z(a,3).length&&(h.appFilterExtensions=_.z(a,3).join(","));0<_.z(a,4).length&&(h.appFilterMimeTypes=_.z(a,4).join(","));q=a.oe();k=!0}else if("undefined"!=typeof _.oO&&a instanceof _.oO)l="backups",d=9,h.languageCode=kQ(this.H.Se());else if(a instanceof _.rN)l="changes",h.includeDeleted=_.A(a,3,!0),h.includeSubscribed=_.A(a,4,!0),h.maxResults=_.D(a,2,100),h.startChangeId=_.z(a,1),h.fields=zOc({fields:this.Gg(c),lW:_.jP(this.H)?ZQ(this.H,a.Sh()):void 0,lw:_.ZM(this.H.Se()),GI:_.oN(this.H)}),h.appDataFilter=
"NO_APP_DATA",a.wc()||(h.filters="DRIVE_DATASERVICE"),q=_.Dj(this.H.nf(),31),q.length&&(h.spaces=_.me(q,function(I){return _.EEc[I]}).join(",")),_.AP(this.H,h),_.jP(this.H)&&(h.includeCorpusRemovals=!0,h.includeTeamDriveItems=!0,a.wc()&&(h.teamDriveId=a.wc())),q=a.oe(),k=!0;else if(a instanceof _.pO)b=a.kd(),l="files/"+b.getId()+"/permissions",h.fields=_.oN(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.Um()&&(h.pageToken=a.Um()),_.z(a,1)&&(h.maxResults=_.z(a,1)),q=b.oe(),k=!0,_.AP(this.H,h),_.rNc(this.H,h),_.sNc(this.H,h),_.PO(this.H)&&_.LP(this,[b.getId()],e);else if("undefined"!=typeof _.qO&&a instanceof _.qO)h.fields=_.oN(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))",h.maxResults=a.th(),l="files/"+a.Hc()+"/revisions",q=a.oe(),k=!0,_.PO(this.H)&&_.LP(this,[a.Hc()],e);else if(a instanceof _.uo)l="teamdrives/"+a.Kl()[0],h.fields=ZQ(this.H,a.Sh()),q=a.oe(),k=!0;else if(a instanceof _.BIc)f="POST",l="admin/files/migrateToTeamDrivePreFlight",n=tXc(a),e["content-type"]="application/json",k=!0,_.PO(this.H)&&_.LP(this,
a.request.V(),e);else if(a instanceof _.IO)q=a.kd(),l="teamdrives",h.fields=kWc(this.H,q.Sh()),h.q=lWc(q),a.Um()&&(h.pageToken=a.Um()),(q=(q=a.getOptions())&&_.D(q,1,1E3))&&(h.maxResults=q),q=a.kd().oe(),k=!0;else if(a instanceof _.JO)l="teamdrives/"+a.wc(),h.fields="kind,id,recursiveFileCount,recursiveFolderCount",k=!0;else if("undefined"!=typeof _.xO&&a instanceof _.xO)f="PUT",l="apps/"+a.V(),h.appId=a.V(),n={},n.useByDefault=a.ka(),a.W()&&(n.hasAppData=!1),e["content-type"]="application/json",
q=a.oe(),k=!0;else if(a instanceof _.pN)f="PUT",l="files/"+a.getId(),h.fields=_.hIc({fields:this.Gg(c),lw:_.ZM(this.H.Se()),GI:_.oN(this.H)}),h.modifiedDateBehavior="DRIVE_UI",h.updateViewedDate=!!_.E(a,15),h.fileId=a.getId(),_.z(a,9).length&&(h.addParents=_.z(a,9).join(",")),_.z(a,10).length&&(h.removeParents=_.z(a,10).join(",")),_.z(a,31).length&&(h.addWorkspaces=_.z(a,31).join(",")),_.z(a,32).length&&(h.removeWorkspaces=_.z(a,32).join(",")),null!=_.E(a,24)&&(h.confirmed=_.E(a,24)),h.languageCode=
kQ(this.H.Se()),n=uXc(a),e["content-type"]="application/json",q=a.oe(),k=!0,_.AP(this.H,h),this.V(a.getId(),h),_.E(a,36)?h.bypassMultiparentingCheck=!0:_.pNc(this.H,h),_.PO(this.H)&&(b=_.Oj(a,_.Sk,38),b.length?_.qNc(b,e):(b=_.z(a,9).concat(_.z(a,10)),b.push(a.getId()),_.LP(this,b,e)));else if(a instanceof _.zO)f="PUT",l="files/"+a.Hc()+"/revisions/"+_.z(a,2),n=vXc(a),e["content-type"]="application/json",q=a.oe(),_.PO(this.H)&&_.LP(this,[a.Hc()],e);else if(a instanceof _.AO)l="teamdrives/"+a.getId(),
null!=a.Jl()?(f="POST",l+="/"+(a.Jl()?"hide":"unhide")):(f="PUT",n=wXc(a),e["content-type"]="application/json"),h.fields=ZQ(this.H),q=a.oe(),k=!0;else if(a instanceof _.BO)f="PUT",l="workspaces/"+a.getId(),h.fields="kind,id,title,createdDate,modifiedDate,state",n=xXc(a),e["content-type"]="application/json",q=a.oe(),k=!0;else if("undefined"!=typeof _.ID&&a instanceof _.ID)f="PUT",n=a.V(),q=n.getKey(),l="settings/"+_.z(q,2),(q=_.ro(q))&&(h.namespace=_.yHc[q]),n=xPc(n),e["content-type"]="application/json",
q=a.oe(),k=!0;else if(a instanceof _.CO)l="about",h.fields=_.oN(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)",
h.fields=LPc(h.fields,this.H),q=a.oe(),k=!0;else if(a instanceof _.MM){d=11;f=a.nD();l=a.getUrl();var M=_.z(a,5)||"";_.Oj(a,_.LM,2).forEach(function(I){e[I.getKey()]=I.ub()});_.Oj(a,_.LM,4).forEach(function(I){h[I.getKey()]=I.ub()});_.E(a,7)&&(b.Tfb=!0);_.E(a,8)&&(b.sG=!0);_.E(a,9)&&(b.Z$=!0)}else a instanceof _.tIc?(b=a.request.Hc(),l="files/"+b+"/listCategoryMetadata",q=a.request.oe(),a.pageToken&&(h.pageToken=a.pageToken),a.request.th()&&(h.maxResults=a.request.th()),h.fields="kind,nextPageToken,categoryMetadata",
_.PO(this.H)&&_.LP(this,[b],e)):a instanceof _.yO?(e["content-type"]="application/json",f="POST",b=a.Hc(),l="files/"+b+"/updateCategoryMetadata",q=a.oe(),n={categoryMetadata:a.ZM().map(function(I){var X=_.Oj(I,_.tG,2).map(function(na){return{id:na.getId(),userId:na.ty(),setBooleanValue:_.E(na,3),setTextValue:_.z(na,4),setTextValues:_.z(na,6),addTextValues:_.z(na,5),setLongTextValue:_.z(na,7),setSelectionValue:_.z(na,8),setSelectionValues:_.z(na,10),addSelectionValues:_.z(na,9),setIntegerValue:_.z(na,
11),setIntegerValues:_.z(na,13),addIntegerValues:_.z(na,12),setUserValue:_.z(na,14),setUserValues:_.z(na,16),addUserValues:_.z(na,15),setDateStringValue:_.z(na,17)}}),T={categoryName:I.Qk()};X.length?T.categoryAttributeValueDeltas=X:_.z(I,4).length?T.revertAttributeIds=_.z(I,4):_.E(I,3)&&(T.removeCategory=_.E(I,3));return T})},_.PO(this.H)&&_.LP(this,[b],e)):a instanceof _.rO?(d=13,l=_.ZM(this.H.Se())?"/v2/people/public":"/v2/people",h.person_id=a.Kl(),h["request_mask.include_container"]=["PROFILE",
"DOMAIN_PROFILE"],h["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],h["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.ZM(this.H.Se())||(h["core_id_params.enable_private_names"]=!0)):a instanceof _.xIc?(d=12,l="/v1/categories/-/published",e["content-type"]="application/json",a.pageToken&&(h.pageToken=a.pageToken),a.request.th()&&(h.maxResults=a.request.th()),h.$outputDefaults=!0,h.languageCode=kQ(this.H.Se())):
a instanceof _.sG?(d=12,l="/v1/"+a.getName(),e["content-type"]="application/json",h.$outputDefaults=!0,h.languageCode=kQ(this.H.Se())):a instanceof _.VN?(e["content-type"]="application/json",f="POST",l="drives/"+a.wc()+"/changeCategoryReferences",q=a.oe(),k=!0,h.fields=ZQ(this.H,[157],!0),n={},b=_.Oj(a,_.Dk,2),b.length&&(n.addCategoryReferences=b.map(function(I){return{category:I.Qk()}})),a=_.Oj(a,_.Dk,3),a.length&&(n.removeCategoryReferences=a.map(function(I){return I.Qk()}))):"undefined"!=typeof _.DO&&
a instanceof _.DO?(l="workspaces/"+a.Kl()[0],h.fields="kind,id,title,createdDate,modifiedDate,state",q=a.oe(),k=!0):a instanceof _.sIc?(d=7,f="POST",l="/v2/activity:query",e["content-type"]="application/json",n={},n.pageSize=a.pageSize,a.pageToken&&(n.pageToken=a.pageToken),b="items/"+a.request.getId(),a.request.E_a()?n.ancestorName=b:n.itemName=b,n.consolidationStrategy={legacy:{}}):a instanceof _.uIc?(d=8,f="POST",l="/v1/exports/"+a.H+":cancel"):a instanceof _.vIc?(d=8,l="/v1/exports/"+a.H):"undefined"!=
typeof _.GO&&a instanceof _.GO?(l="changes",h.fields="kind,largestChangeId",_.AP(this.H,h),_.jP(this.H)&&(h.includeTeamDriveItems=!0,a.Qe&&(h.teamDriveId=a.Qe)),k=!0):a instanceof _.wIc?(l="settings",h.namespace=yPc(a.H),q=a.request.oe(),k=!0):a instanceof _.DIc?(l="workspaces",h.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(h.pageToken=a.pageToken),a.request.th()&&(h.maxResults=a.request.th()),h.q=n7c(a.request),(q=_.C(a.request,_.vo,5))&&1==q.getType()&&
(h.orderBy="title"),q=a.request.oe(),k=!0):a instanceof _.sO?(l="changes/getRemainingCount",h.pageToken=_.z(a,2),null!=_.z(a,3)&&(h.supportsTeamDrives=!0,h.includeTeamDriveItems=!0,h.teamDriveId=a.wc()),q=a.oe()):a instanceof _.RN?(e["content-type"]="application/json",f="POST",l="files/"+a.Hc()+"/sendAccessRequest",n={}):_.oNc(a);k&&_.tNc(c,h);return _.uNc(d,l,h,e,f,q,n,M)};o7c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.li().join(","):[]};
var p7c=function(a,b,c){this.B1=_.Fh();var d=new d7c(a.V.V),e=a.rb.bind(a);e=new Q6c(a.V,a.wa,new L6c(a.Pd,a.Tu,e),a.Yf,this.B1.promise,a.Ja,a.ln.bind(a),e);var f=new b7c(a.V,a.ak,a.Yc,a.Ma,a.Xm,a.Pd,a.Tu);this.W=new _.IKc;this.ka=new _.YLc(a.H,a.od);var h=new o7c(a.V,a.H,this.B1.promise,a.Ja);this.V=new f7c(a.Ja,a.H,a.W,a.iw,function(){return a.Xb});this.ha=NWc(a.H,new _.wMc(this.ka,this.W,h,this.V,a.Qa,a.Ic,a.Ib),a.Ic,a.W,a.ka,a.V.V,this.W,this.B1.promise,a.Ib||void 0);this.B1.resolve(c?c:new _.ULc(new e7c,
d,this.ha,e,f,a.H,this.H.bind(this),b))};p7c.prototype.H=function(){return _.jf(this.ha,function(a){return sSc(a)})};var q7c=function(a){var b=new Map,c=Date.now();_.ff(a.ha,function(d,e){d=tSc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},r7c=function(a,b){this.W=b||new Date;this.V=a;this.H=yOc(this.V)};r7c.prototype.clone=function(){return new r7c(this.V,this.W)};var s7c=function(){this.H=null;this.V=[]},t7c=function(a){return _.me(a.V,function(b){return _.qf(b)})};
s7c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new sYc;e.W=rYc(d.H);var f=_.qg().substring(0,8);d=yOc(f);f=(new iR).kc(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=rYc(d);e.H=pYc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,tYc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var v7c=function(a,b){var c=this;this.H=a;this.Ma=b;this.wa=null;this.ka=0;this.QG=this.je=!1;this.ha=_.Fh();this.Ca=null;this.W=a.H;b=_.lQ(this.W);this.Ja=new _.vNc(_.D(b,2,37500),_.D(b,3,6E5));this.V=null;this.ta=a.Db;this.ma={};_.ff(yXc,function(d){c.ma[d]=[]});this.Ka=this.Ga=!1;XQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){eS(c,"Initializing: loaded from local dump");u7c(c)});XQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){eS(c,"Initializing: loaded from sdk backfill");u7c(c)});XQ(a.ha,["mrK8ic",
"BNEDtc"],function(){eS(c,"Updating: sdk backfill complete");c.a3().Xf(_.Oe)})},u7c=function(a){a.Ga||(a.Ga=!0,PR(a.H).nb(function(b){a.ta.initialize().Af(function(){a.wa=b;a.setActive(!0)},function(c){c&&pSc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.LN(c));eS(a,"Error initializing dump storage");a.ZO()})}))};_.g=v7c.prototype;_.g.WEa=function(a){this.je&&(this.ka+=a,this.ka>_.D(_.lQ(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.QG)&&this.je!=a){var b=this.H;a&&(b.lc.H()||0<b.V.wa.W||b.ka.Ef()||b.Ug.Ef())||((this.je=a)?(this.ha.resolve(),this.V||this.a3().Xf(_.Oe)):(this.ha=_.Fh(),_.m.clearTimeout(this.Ca)))}};_.g.ZO=function(){this.QG=!0};_.g.zAa=function(){return this.V?this.V.promise:_.Ah()};
_.g.a3=function(){var a=this;if(this.V)return this.V.promise;this.V=_.Fh();_.Gh(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return Y2c(a.H.Ga)}).then(function(b){var c=!b;a.QG?a.V.resolve(c):_.Oo([w7c(a,3,c),w7c(a,0,c,void 0,!0),w7c(a,1,c,void 0,!0),w7c(a,5,c,void 0,!0),w7c(a,6,c,void 0,!0)]).Af(function(){return a.V.resolve(c)},function(d){d=d&&_.TM(d)?d instanceof _.qb?d:new _.qb("Failed to update dump",void 0,d):new _.qb(d||"Failed to update dump");a.V.reject(d)})},function(){a.V.reject(Error("sg"))});
return this.V.promise};_.g.update=function(a,b){var c=this,d=new _.Ih;this.ha.promise.then(function(){return Y2c(c.H.Ga)}).then(function(e){e=!e;c.QG?d.callback():_.Mh(w7c(c,a,e,b),d)});return d};
var w7c=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.$f.Nk();var h=new _.Ih;_.Kh(f.$f,function(){_.Mh(x7c(a,b,c,d,e),h)})}else h=x7c(a,b,c,d,e);var k={encrypt:c,$f:h};a.ma[b].push(k);_.Kh(h,function(){_.pa(a.ma[b],function(l){return k==l})});h.De(function(l){a.ta.V.nh()?a.ZO():l instanceof _.qb&&(l=l.V||null,l instanceof _.aN&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.ZO());return null});
return h},x7c=function(a,b,c,d,e){var f=new _.Ih;a.ha.promise.then(function(){if(3==b)_.Mh(y7c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.tc;h=h.H?_.Vj(h.H):null;break;case 1:h=a.H.Yc.fna();break;case 5:h=z7c(a.H.Ma);break;case 6:h=a.H.V.ma;h=PXc(new OXc,l4c(h.H));break;default:f.Ed("Invalid data type to write to storage.");return}if(h){var k=_.Oj(_.lQ(a.W),jQ,11)[0].getKey();!k&&c?(eS(a,"Skipping dump update, encrypted and no key"),f.callback()):L2c(a.ta,c?k:null,[h]).then(f.callback,f.Ed,f)}else e?
(eS(a,"Skipping dump update: "+b),f.callback()):f.Ed("Failed to get data to write to dump.")}});return f},y7c=function(a,b,c){_.m.clearTimeout(a.Ca);a.Ca=_.m.setTimeout((0,_.K)(a.Qa,a),a.Ja.ub());if(b&&0==a.ka)return _.Oh();a.ka=0;var d=_.Oj(_.lQ(a.W),jQ,11)[0].getKey();if(!d&&c)return eS(a,"Skipping dump update, encrypted and no key"),_.Oh();var e=[];_.ff(WVc,function(h){0<h&&(h=A7c(a,h),h.length&&e.push(L2c(a.ta,c?d:null,h)))});var f=new _.Ih;_.Ch(e).then(function(){a.Ka&&OR(a.H.Ga,V2c,!0);f.callback()},
f.Ed,f);return f};v7c.prototype.Qa=function(){_.RH(this.Ja);this.update(3,!0)};
var A7c=function(a,b){switch(b){case 1:return[B7c(a)];case 2:var c=(b=a.H.V.ka.H)?b.Iy():[];c=C7c(a,_.pc(pPc(c)));eS(a,"Exporting "+c.length+" secondary dump items.");c.length>_.D(_.lQ(a.W),5,2E4)&&(b&&wR(b),c=[]);c=VQ(new UQ,D7c(c));var d=a.H.V.ka;a=new uPc;(d=d.H)&&d.V&&(d=d.Iy(),_.x(a,3,d.length));c=_.R(c,11,a);c=VVc(c,2);b&&TVc(c,b.mT());return[c];case 3:return E7c(a);case 4:return F7c(a);default:throw new _.qb("Unsupported CacheType");}},B7c=function(a){var b={},c=[],d=_.A(a.W,79,!1),e=X0c(a.H.V.ka,
d);d=!0;for(var f=0;f<e.length;f++){var h=e[f],k=h.Iy(),l=C7c(a,bQ(k));k=l.length;var n=0<k?l[k-1]:null;_.Fa(l,function(q){b[q.getId()]=q});if(0<k||h.W)l=MVc(new TQ,h.kd()),h.W||(_.x(l,2,k),_.R(l,3,n),d=!1),c.push(l)}e=_.pc(b);eS(a,"Exporting "+e.length+" initial dump items.");return TVc(VVc(SVc(VQ(QVc(UVc(RVc(new UQ,a.H.ln()),_.BP(a.Ma)),a.wa.UEa(null)),D7c(e)),c),1),!d)},E7c=function(a){if(!_.jP(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.UEa(d.wc());if(e){var f=C7c(a,
bQ(d.Iy()));eS(a,"Exporting "+f.length+" TD dump items for: "+d.wc());e=TVc(VVc(QVc(VQ(new UQ,D7c(f)),e),3),d.mT(d.kd()));d=MVc(new TQ,d.kd());SVc(e,[d]);b.push(e)}});return b},F7c=function(a){if(!_.jP(a.W))return[];var b={},c=[];l5c(a.H.V).forEach(function(d){1==d.H&&(bQ(d.Iy()).forEach(function(e){b[e.getId()]=e}),d=NVc(MVc(new TQ,new _.oe),d.kd()),c.push(d))});return[TVc(VVc(SVc(VQ(new UQ,D7c(Object.values(b))),c),4),!1)]},C7c=function(a,b){b=oPc(b);_.E(a.W,67)&&(b=G7c(b));_.oN(a.W)&&(b=A4c(a.H.V.ma,
b));return b.filter(function(c){return 4!=ZP(c)})},G7c=function(a){var b=[];a=_.u(a);for(var c=a.next();!c.done;c=a.next())c=c.value,QOc(c)?(c=c.clone(),XP(c,POc),b.push(c)):b.push(c);return b},D7c=function(a){return a.map(function(b){return _.Vj(b)})},eS=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};v7c.prototype.zma=function(){this.Ka=!0};var H7c=function(){};_.g=H7c.prototype;_.g.setActive=function(){};_.g.ZO=function(){};_.g.update=function(){return _.Oh()};_.g.zAa=function(){return _.Ah()};
_.g.a3=function(){return _.Ah()};_.g.WEa=function(){};_.g.zma=function(){};
var eQ=function(a,b,c,d){_.O.call(this);var e=this;this.W=d||new _.EKc;this.we=a;this.H=b.clone();this.Ja=new _.oMc(this.H);this.ma=new uWc(_.BP(this.Ja),this.H);I7c(this);this.Rd=new _.dn;this.Ex=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Rd.resolve();e.ta.H(106020)},1E4);this.Nm=null;this.og=new _.Ih;this.Vu=!0;this.ka=new _.KNc(_.iP(this.H),_.A(this.H.nf(),52,!1));this.Ug=new _.BNc(_.iP(this.H)?3:1,!_.A(this.H.nf(),52,!1));this.ta=_.aOc(this.H,this.ka,
this.Ug,this.W,this.Rd.promise,c);this.$g=null;this.ao=new X3c(this.ta);this.Ec=new _.Ih;this.Oi=[];J7c(this)};_.J(eQ,_.O);
var K7c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.Ex);a.Rd.resolve()},J7c=function(a){var b=function(){L7c(a).Xf(_.Oe)},c=a.we;(c=c&&_.mb(c,_.fk))?_.Fd(c,"A",b):_.lN()||_.Fd(_.m,"unload",b)},L7c=function(a){a.ta.H(106005);ESc(a.ta);var b=a.Oi.map(function(c){return c()});_.ka(a.Oi);return _.Eh(b).then()},M7c=function(a,b){a.Oi.push(b)},i1c=function(a,b,c){"string"===typeof b&&null===a.Nm&&(a.Nm=b,a.og.callback(b),b.length&&a.gw(b,c||null))};
eQ.prototype.gw=function(){};eQ.prototype.ln=function(){return this.Nm};var N7c=function(a){if(!a.$g)throw Error("tg");return a.$g},O7c=function(a,b){a.$g=b};eQ.prototype.QEa=function(){return this.Vu||this.Ug.isConnected()};eQ.prototype.Fx=function(a){this.Ec.callback(a)};
var I7c=function(a){var b=a.H.nf();0==_.z(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.x(b,19,3));if(!_.D(b,37,""))throw Error("ug");_.z(b,57)||(a.log("No root URI provided; using prod default."),_.x(b,57,"https://clients6.google.com"));if(_.A(_.lQ(a.H),9,!1))if(b=_.Oj(_.lQ(a.H),jQ,11),0<b.length){if(!_.z(b[0],1)||!b[0].getKey()&&!_.iP(a.H)&&!_.A(a.H,10,!1))throw Error("vg");}else _.x(_.lQ(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.A(_.lQ(a.H),9,!1)&&(_.iP(a.H)||_.A(a.H,10,!1)))throw Error("wg");var c=a.H.Se();b=!(!c||!_.ZM(c));c=c&&_.gP(c)||"";if(!b&&!c)throw Error("xg");b&&_.qna(a.H,[]);_.Oj(a.H,_.oe,44).forEach(function(d){try{yWc(a.ma,d)}catch(e){if(e instanceof _.qb&&(d=e.eg)&&3==d.ds())throw Error("yg");throw e;}})};eQ.prototype.PEa=function(){return 0};eQ.prototype.rb=function(a){this.dispatchEvent(new _.rb(new _.qb(void 0,a)))};eQ.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var P7c=function(a,b){this.H=a;this.V=b},Q7c=function(a,b,c){_.O.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};_.J(Q7c,_.O);
var k1c=function(a,b,c,d,e){if((e=void 0===e?!1:e)&&!d.length){var f=new Set;b.forEach(function(q){(q=(q=q.getKey())&&_.ro(q))&&f.add(q)});[].concat(_.nc(f.values())).forEach(function(q){return void d.push(q)})}if(d.length){var h=_.PHc.has(c),k=new Map;d.forEach(function(q){k.set(q,new Map)});b.forEach(function(q){var t=q.getKey(),v=t&&_.ro(t);t=t&&_.z(t,2);v=k.get(v);t&&v&&v.set(t,R7c(q))});var l=0,n=0;[].concat(_.nc(k.keys())).forEach(function(q){var t=k.get(q),v=a.H.get(q);v?h&&(t.forEach(function(y){var B=
y.getKey();(B=v.get(B&&_.z(B,2)))&&_.Uj(y,B)||l++}),[].concat(_.nc(v.values())).forEach(function(y){y=y.getKey();t.has(_.z(y,2))||n++}),a.H.set(q,t),a.W.set(q,c)):(l+=t.size,a.H.set(q,t),a.W.set(q,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,YQ(a.ka,"px2C2c");YQ(a.ka,"rkYxSd")}(l||n)&&S7c(a,!h)}};Q7c.prototype.xy=function(){return 0<this.H.size};
var S7c=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 _.di("WPi0i"))},c7c=function(a,b){var c=b.getKey(),d=c&&_.ro(c);c=c&&_.z(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=R7c(b);e&&_.Uj(b,e)||(d.set(c,b),S7c(a))}};Q7c.prototype.remove=function(a){var b=a&&_.ro(a);a=a&&_.z(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&S7c(this)};
var z7c=function(a,b){var c=[];(b||[].concat(_.nc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.nc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.nc(a.H.keys()));var d=new OSc;_.Qj(d,1,c);_.x(d,2,b||[]);return d};
Q7c.prototype.cG=function(a){var b=this,c=z7c(this,a),d=new _.so;d.Dc(this.ha);_.Vva(d,c.Mw());_.R(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.QHc.has(f)&&Infinity>_.QHc.get(f)&&(e=f)});return new P7c(d,e)};
var R7c=function(a){a=a.clone();a.Th()||a.hc("");return a},T7c=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},U7c=function(a){return 127<a?a-256:a},V7c=function(a,b){return U7c(a[b])+(U7c(a[b+1])<<8)+(U7c(a[b+2])<<16)+(U7c(a[b+3])<<24)},W7c=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+=V7c(a,b),d.b+=V7c(a,b+4),d.c+=V7c(a,b+8),T7c(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+=V7c(a,b+4);d.a+=V7c(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+=V7c(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 T7c(d)},gQ=function(a,b,c,d,e,f){eQ.call(this,a,b,c,d);var h=this;this.Mb=new _.be;this.Pa(this.Mb);this.Xu=_.Fh();
this.ha=e?e:new cWc(this.W);this.ta.ha.V=this.ha;this.hb=_.A(_.lQ(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?X7c(this,b):null;this.Wa=new nWc(kQ(b.Se()));this.Ka=new YWc;this.yj=null;this.Te=_.Fh();this.Ga=Y7c(this,this.hb);this.Db=Z7c(this,this.hb,b);this.wa=$7c(this);this.V=new c5c(this,this.Ja);this.tc=new U_c(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return a8c(h,k)});this.Yc=new a0c(this.W,this.ha,this.wa);this.Ma=new Q7c(this.W,this.ha,this.wa);
this.Ls=new _.Ih;this.Uu=null;this.Ic=new c0c(this.Em(),this.W,function(k){return void h.rb(k)});this.Ib=_.A(this.H.nf(),52,!1)?new _.bOc(this.Ug,this.Em(),this.W):null;this.Yf=new Y5c;this.ne=null;this.Yu=_.Fh();XQ(this.ha,["mrK8ic"],function(){h.Yu.promise.then(function(){j1c(h,h.ne)})});this.Qi=new _.Ih;this.iw=new _.aNc(this.H);this.Qa=new _.qMc(this.H,this.V.V);this.ak=new H6c(this);this.Pd=new a6c(this.Te.promise,this.Em());this.Tu=new c6c(this.Em(),this.Pd);this.od=new s7c;this.Xm=new v6c(this.Te.promise,
this.Em(),this.W,this.H);this.lc=new p7c(this,this.e9a.bind(this),f);this.Xu.resolve(this.lc);this.Ca=new $0c;this.hw=new j6c(this);this.yh=new X_c;this.Je=_.Fh();this.Os=!1;this.Ps=_.Fh();XQ(this.ha,["BNEDtc"],function(){return h.Ps.resolve()});(this.Xb=_.D(b.Se(),6,"")||"")&&a8c(this,this.Xb);this.mp=null;M7c(this,function(){h.wa.ZO();return _.Ah()})};_.J(gQ,eQ);
var X7c=function(a,b){var c=_.gP(b.Se()),d=_.hP(b),e=function(){},f=_.Oj(_.lQ(b),jQ,11);f=f[0]&&_.z(f[0],1);var h=new K1c(c,d,_.D(_.lQ(b),10,0)||0,f||"",_.BP(a.Ja));_.iP(b)?c=v2c(c,d).then(function(l){return l?l:h}):_.A(b,10,!1)&&0<_.D(_.lQ(b),8,432E6)?(b=b8c(a,c),c=v2c(c,d,b).then(function(l){return l&&(e=function(n){return n.Xk(h).Xf(function(){return null})},!l.ta)?l:h})):c=_.Ah(h);var k=new JR(c,a.W,a.ta);k.initialize().then(function(){return e(k)},function(){return null});return k},b8c=function(a,
b){var c=_.D(_.lQ(a.H),8,432E6);if(!_.iP(a.H)&&0<c)return Math.abs(W7c(_.Hka(b)))%c};gQ.prototype.zA=function(a){var b=this;return this.hb?this.hb.nh()?_.Bh(Error("zg`"+f2c(this.hb))):Y2c(this.Ga).then(function(c){var d=b.hb,e=[];e.push(b.wa.zAa());e.push(a?d.Xk():r2c(d));if(a===c)return _.Ch(e).then(function(){return!1});!1===a&&(e.push(e2c(d)),(c=b.ln())&&e.push(OR(b.Ga,R2c,c)));return _.Ch(e).then(function(){return b.Ga.zA(a)},function(){return!1})}):_.Bh(Error("Ag"))};
var Z7c=function(a,b,c){var d=null;b&&(d=new C2c(b,c,function(e){a.rb(e)}),d.initialize());return d},Y7c=function(a,b){var c=new W2c(b||void 0);c.ln().then(function(d){d&&i1c(a,d,5)});b&&(Y2c(c).then(function(d){a.ka.zA(d)}),_.Ch([b.initialize(),a.Rd.promise]).then(function(){c8c(a,c)},function(){}));return c},c8c=function(a,b){a3c(b).then(function(c){(!c||c<Date.now()-864E5)&&y2c(_.gP(a.H.Se()),_.hP(a.H),a.W).then(function(d){d&&(d=Date.now(),OR(b,U2c,d))},function(){})})},$7c=function(a){if(!a.Db)return new H7c;
var b=new v7c(a,a.Ja);a.Mb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ef())});a.Mb.listen(a.Ug,[].concat(_.nc(Object.values(ZVc))),function(){return void b.setActive(a.Ug.isConnected())});return b};gQ.prototype.Dx=function(a){this.Uu=a;this.Ls.callback(a)};var PR=function(a){return a.Ls.Nk()},d8c=function(a){return a.hb?a.hb.nh():null},e8c=function(a,b){a.ha.H("NSockf")?YQ(a.ha,b):XQ(a.ha,["NSockf"],function(){YQ(a.ha,b)})};
gQ.prototype.gw=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ka.H=a||"",this.ma.W=a||"",6!=b&&1!=b||OR(this.Ga,R2c,a),e8c(this,"jroI5d"))};var a8c=function(a,b){_.A(a.H,15,!1)||(a.Xb=b,e8c(a,"NVkrgc"))};gQ.prototype.Ns=function(){return this.Qi.Nk()};var j1c=function(a,b,c){0>b||(c?a.ne?a.ne=Math.max(a.ne,b):(a.ne=b,a.Yu.resolve()):a.Qi.Me()||(a.Qi.callback(b),e8c(a,"T8oKm")))},zR=function(a){if(!a.yj)throw Error("Bg");return a.yj};_.g=gQ.prototype;_.g.Em=function(){return this.Xu.promise.then(function(a){return a.B1.promise})};
_.g.yma=function(){this.Os||(this.Os=!0,this.Je.resolve(),YQ(this.ha,"aU7Ts"))};_.g.QEa=function(){throw Error("Cg");};_.g.e9a=function(){this.lc.H()||this.dispatchEvent("Pb")};_.g.PEa=function(){return this.V.V.W()};
var F3c=function(a){a.mp||(a.mp=new g6c(a.Te.promise,a.Em(),a.W));return a.mp},f8c=function(a){_.Te("drive.DebugUtil.printFindById",function(c){a.JM(c).nb(function(d){window.console.log(JSON.stringify(d))})});_.Te("drive.DebugUtil.getLogs",function(){return _.HKc(a.u$())});_.Te("drive.DebugUtil.printLogs",function(){window.console.log(_.HKc(a.u$()))});_.Te("drive.DebugUtil.printRequestHistory",function(){a.cna().nb(function(c){c.forEach(function(d){window.console.log(_.z(d,1));window.console.log(_.z(d,
2))})})});_.Te("drive.DebugUtil.getState",function(){return a.getState()});var b=a.$a();b&&_.A(b,1,!1)&&(_.Te("drive.DebugUtil.getContext",function(){return a.getContext()}),_.Te("drive.DebugUtil.setOffline",function(c){return void a.Xk(c)}))},fS=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.wa=a;this.Ka=b;this.Qa=c;this.jc=e;this.Wa=d;this.Ma=f;this.H=[];this.items=[];this.ma=6;this.Ca=MPc(new _.xN,[1]);this.ta=!0;this.ha=e.th();this.W=!1;this.suggestionSessionId=this.sessionId=this.ka=null;
this.V=0;_.rd(this,function(){h.W=!1;h.H=[]})};_.J(fS,_.O);_.g=fS.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.Ae=function(){return this.W};_.g.activate=function(){this.W=!0;_.ja(this.items)&&6==this.Gb()&&this.lj()||g8c(this)};_.g.kd=function(){return this.jc};_.g.th=function(){return this.ha};_.g.Gb=function(){return this.ma};_.g.Hq=function(){return this.Ca};_.g.lj=function(){return this.ta};
_.g.Wp=function(){var a=_.DN(_.GN.Eb(),this.H,this.items),b=(new LSc).Dc(this.Gb());a=_.Qj(b,2,a);this.H=this.items;return a};_.g.Lq=function(a){this.W&&(this.ha+=a||50,this.Wa(this.ti(),this.ha))};var h8c=function(a,b){return a.Gb()!=b.Gb()||mQ(_.GN.Eb(),a.items,b.Bd())},i8c=function(a,b){a.items=b.Bd();a.ma=b.Gb();_.oN(a.Ma)&&(a.Ca=NPc(a.ma,a.items));a.ta=b.uha();a.V=b.Re()};
fS.prototype.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a query after "+a.iE+" retries.",a.error)))};fS.prototype.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};fS.prototype.Cs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+aR(this.wa,this.kd());return _.Ph(this.Ka.then(function(d){return d.ka(a,b,c.kd(),c.th(),c.items)}))};
var g8c=function(a){a.Ae()&&(j8c(a,"Returning "+a.items.length+" items. Status: "+(_.Xea(QSc)[a.Gb()]+". Datasource: ")+(_.Xea(FTc)[a.V]+". Query: ")+aR(a.wa,a.jc)),k8c(a,a.items,a.jc),a.dispatchEvent(new _.di(_.cc,a)))},k8c=function(a,b,c){if(_.jO(c))c="quick access";else if(_.kO(c))c="people predict";else if(_.lO(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");j8c(a,"Returning "+b.length+" items for "+c+": "+d)};fS.prototype.refresh=function(){};
var j8c=function(a,b){a.Qa.info("drive.ds.sync.BaseViewCacheLiveList",b)},UPc=[90,59,75];_.p("sy128");
var gS=function(a){_.Q(this,a,0,-1,null,null)};_.L(gS,_.P);gS.prototype.getType=function(){return _.z(this,1)};var l8c=function(a){var b=new gS;return _.x(b,1,a)};gS.prototype.SY=function(){return _.C(this,_.tk,2)};var m8c=function(a,b){return _.R(a,2,b)};gS.prototype.cu=function(){return _.z(this,3)};gS.prototype.Hu=function(a){return _.x(this,3,a)};gS.prototype.ri=function(){return _.z(this,4)};gS.prototype.setPosition=function(a){return _.x(this,4,a)};
var hS=function(a){_.Q(this,a,0,-1,null,null)};_.L(hS,_.P);hS.prototype.getType=function(){return _.z(this,1)};var n8c=function(a){var b=new hS;return _.x(b,1,a)},o8c=function(a,b){return _.R(a,2,b)};hS.prototype.cu=function(){return _.z(this,3)};hS.prototype.Hu=function(a){return _.x(this,3,a)};hS.prototype.ri=function(){return _.z(this,4)};hS.prototype.setPosition=function(a){return _.x(this,4,a)};
var iS=function(a){_.Q(this,a,0,-1,null,null)};_.L(iS,_.P);iS.prototype.getType=function(){return _.z(this,1)};var jS=function(a){var b=new iS;return _.x(b,1,a)},kS=function(a,b){return _.R(a,2,b)};iS.prototype.cu=function(){return _.z(this,3)};iS.prototype.Hu=function(a){return _.x(this,3,a)};iS.prototype.ri=function(){return _.z(this,4)};iS.prototype.setPosition=function(a){return _.x(this,4,a)};
var q8c=function(a){_.Q(this,a,0,-1,p8c,null)};_.L(q8c,_.P);var p8c=[2];q8c.prototype.Gb=function(){return _.z(this,1)};q8c.prototype.Dc=function(a){return _.x(this,1,a)};q8c.prototype.Xj=function(){return _.z(this,3)};
var r8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(r8c,_.P);
var t8c=function(a){_.Q(this,a,0,-1,s8c,null)};_.L(t8c,_.P);var s8c=[2];t8c.prototype.Gb=function(){return _.z(this,1)};t8c.prototype.Dc=function(a){return _.x(this,1,a)};t8c.prototype.ij=function(){return _.Oj(this,_.EN,2)};t8c.prototype.Lo=function(a,b){return _.Rj(this,2,a,_.EN,b)};
var v8c=function(a){_.Q(this,a,0,-1,u8c,null)};_.L(v8c,_.P);var u8c=[2];v8c.prototype.Gb=function(){return _.z(this,1)};v8c.prototype.Dc=function(a){return _.x(this,1,a)};v8c.prototype.Zi=function(){return _.Oj(this,hS,2)};
var w8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(w8c,_.P);w8c.prototype.Gb=function(){return _.z(this,1)};w8c.prototype.Dc=function(a){return _.x(this,1,a)};
var y8c=function(a){_.Q(this,a,0,-1,x8c,null)};_.L(y8c,_.P);var x8c=[2];y8c.prototype.Gb=function(){return _.z(this,1)};y8c.prototype.Dc=function(a){return _.x(this,1,a)};y8c.prototype.Zi=function(){return _.Oj(this,iS,2)};
var lS=function(a){_.Q(this,a,0,-1,null,null)};_.L(lS,_.P);lS.prototype.getType=function(){return _.z(this,1)};var z8c=function(a){var b=new lS;return _.x(b,1,a)};lS.prototype.cu=function(){return _.z(this,3)};lS.prototype.Hu=function(a){return _.x(this,3,a)};lS.prototype.ri=function(){return _.z(this,4)};lS.prototype.setPosition=function(a){return _.x(this,4,a)};
var B8c=function(a){_.Q(this,a,0,-1,A8c,null)};_.L(B8c,_.P);var A8c=[2];B8c.prototype.Gb=function(){return _.z(this,1)};B8c.prototype.Dc=function(a){return _.x(this,1,a)};B8c.prototype.Xj=function(){return _.z(this,3)};
var D8c=function(a){_.Q(this,a,0,-1,C8c,null)};_.L(D8c,_.P);var C8c=[2,4];D8c.prototype.Gb=function(){return _.z(this,1)};D8c.prototype.Dc=function(a){return _.x(this,1,a)};D8c.prototype.Xj=function(){return _.z(this,3)};
_.mS=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.mS,_.P);_.mS.prototype.getType=function(){return _.z(this,1)};var E8c=function(a){var b=new _.mS;return _.x(b,1,a)};_.mS.prototype.rv=function(){return _.C(this,_.gR,2)};var F8c=function(a,b){return _.R(a,2,b)};_.mS.prototype.cu=function(){return _.z(this,3)};_.mS.prototype.Hu=function(a){return _.x(this,3,a)};_.mS.prototype.ri=function(){return _.z(this,4)};_.mS.prototype.setPosition=function(a){return _.x(this,4,a)};
var H8c=function(a){_.Q(this,a,0,-1,G8c,null)};_.L(H8c,_.P);var G8c=[2,4];
var J8c=function(a){_.Q(this,a,0,-1,I8c,null)};_.L(J8c,_.P);var I8c=[2];J8c.prototype.Gb=function(){return _.z(this,1)};J8c.prototype.Dc=function(a){return _.x(this,1,a)};J8c.prototype.Xj=function(){return _.z(this,3)};
var K8c=function(a){_.di.call(this,"Rb");this.dataType=a};_.J(K8c,_.di);
var L8c=function(a,b){_.di.call(this,"Sb");this.ha=a;this.H=b};_.J(L8c,_.di);
var M8c=function(){};_.g=M8c.prototype;_.g.wF=function(a,b){return LTc(KTc(1),a).setPosition(b)};_.g.uF=function(a,b){return LTc(KTc(2).setPosition(b),a)};_.g.eK=function(a,b,c){return LTc(KTc(3).Hu(b).setPosition(c),a)};_.g.wI=function(a,b){return LTc(KTc(4),a).setPosition(b)};_.g.TF=function(a){return _.C(a,tQ,2)};
var N8c=function(){_.CN.call(this,new M8c,function(a){return a&&a.getName()})};_.J(N8c,_.CN);
var nS=function(a,b,c){_.O.call(this);var d=this;this.ha=a;this.Ug=b;this.limit=c||50;this.Yd=new _.be(this);this.Pa(this.Yd);this.active=!1;this.status=6;this.Ka=MPc(new _.xN,[1]);this.ta=this.H=!1;_.rd(this,function(){d.active=!1;d.Yd.removeAll()})};_.J(nS,_.O);_.g=nS.prototype;_.g.Ef=function(){return this.ha.Ef()||this.Ug.Ef()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Yd.listen(this.ha,"Cb",_.Re(this.vq)),this.Yd.listen(this.Ug,[].concat(_.nc(Object.values(ZVc))),_.Re(this.vq)),this.ha.Ef()?this.Yd.jd(this.ha,"Cb",function(b){b.Ef()||(a.uB(),a.dispatchEvent(new _.di(_.Nq)))}):this.Ug.Ef()?this.Yd.jd(this.Ug,["wb","yb"],function(){a.uB();a.dispatchEvent(new _.di(_.Nq))}):(this.uB(),this.dispatchEvent(new _.di(_.Nq))))};_.g.uB=function(){};
_.g.Lq=function(a){var b=this;if(this.lj()){var c=this.limit;this.limit+=a||50;this.Zb()>c&&this.vq();this.ha.Ef()?this.Yd.jd(this.ha,"Cb",function(d){d.Ef()||b.LH()}):this.LH()}};_.g.IG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Gb=function(){return this.status};_.g.Hq=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.rb(a))};_.g.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};_.g.lj=function(){return!this.H||this.ta};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Yd.removeAll();this.activate()};_.g.LH=function(){};
var O8c=function(a,b,c,d,e){nS.call(this,a,b,e.th()||void 0);this.jc=e;this.Ca=d;this.ka=[];this.V=[];this.W=!1;this.ma=new N8c;this.wa=c};_.J(O8c,nS);_.g=O8c.prototype;_.g.uB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.di(_.cc,this))};_.g.getData=function(){return PTc(new xQ,this.V).Dc(this.status)};_.g.Wp=function(){var a=_.DN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new NTc).Dc(this.status);return _.Qj(b,2,a)};_.g.LH=function(){this.Ca(this.ti(),this.limit)};
_.g.vq=function(){if(this.active){var a=this.status;this.IG();if(this.W||a!=this.status)P8c(this,"Returning "+this.V.length+" labels for "+this.jc.Hc()),this.W=!1,this.dispatchEvent(new _.di(_.cc,this))}};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.jc};
_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||mQ(0,this.V,b.V()))this.H=!0,this.status=b.Gb(),this.V=b.V(),this.ta=a.V,P8c(this,"Returning "+this.V.length+" labels for "+this.jc.Hc()),this.dispatchEvent(new _.di(_.cc,this))};_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a category metadata query after "+a.iE+" retries.",a.error)))};var P8c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var Q8c=function(a,b,c){_.O.call(this);var d=this;this.ka=a;this.jc=c;this.ta=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=MPc(new _.xN,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.jc.Kl().join(", "));_.rd(this,function(){d.ha=!1;d.W=[]})};_.J(Q8c,_.O);_.g=Q8c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;(0<Object.values(this.H).length||6!=this.V)&&this.dispatchEvent(new _.di(_.cc,this))};_.g.kd=function(){return this.jc};
_.g.getData=function(){this.W=this.H;var a=new _.OP;a.Dc(this.V);a.H=this.H;return a};_.g.Wp=function(){var a=OPc(this.W,this.H),b=new JTc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.Hq=function(){return this.ma};_.g.lL=function(a){var b=this.jc;this.jc=a;this.ta.Ja(this.ti(),b,a)};
_.g.update=function(a){if(this.V!=a.Gb()||PPc(this.H,a.gs()))this.V=a.Gb(),this.H=a.gs(),_.oN(this.ka.H)&&(this.ma=NPc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.di(_.cc,this))};_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a team drive find-by-IDs query after "+a.iE+" retries.",a.error)))};_.g.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};
var R8c=function(a,b,c,d,e,f){fS.call(this,a,b,c,e,f,d);this.Ja=null;this.Ga=void 0};_.J(R8c,fS);R8c.prototype.getData=function(){this.H=this.items;var a=xRc((new _.kC).Dc(this.Gb()).Cw(this.items),this.lj());a=_.R(a,7,this.Ja);return _.QJc(a.CI(this.ka).setSessionId(this.sessionId).AX(this.suggestionSessionId).zX(this.V),this.Ga)};
R8c.prototype.update=function(a){h8c(this,a)&&(i8c(this,a),this.Ja=a.xX(),this.ka=a.DF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.yX(),this.Ga=a.E7(),g8c(this))};
var S8c=function(a,b){var c={};a=_.gf(a,function(d){return!!d});b=_.gf(b,function(d){return!!d});_.ff(a,function(d,e){var f=b[e];f?_.Uj(d,f)||(d=kS(jS(4),f),c[e]=d):(d=kS(jS(2),d),c[e]=d)});_.ff(b,function(d,e){a[e]||(d=kS(jS(1),d),c[e]=d)});return c},T8c=function(a,b){return _.kf(a)!=_.kf(b)||!_.nf(S8c(a,b))};
var U8c=function(a,b){_.O.call(this);this.jc=b;this.je=!1;this.V=6;this.W={};this.H={}};_.J(U8c,_.O);_.g=U8c.prototype;_.g.activate=function(){this.je||(this.je=!0,_.nf(this.H)&&6==this.V||this.dispatchEvent(new _.di(_.cc,this)))};_.g.Gb=function(){return this.V};_.g.Hq=function(){return new _.xN};_.g.getData=function(){this.W=this.H;var a=(new _.QP).Dc(this.V);_.ff(this.H,function(b,c){a.xM().set(c,b||new _.iC)});return a};
_.g.Wp=function(){var a=S8c(this.W,this.H);this.W=this.H;var b=(new w8c).Dc(this.V);_.ff(a,function(c,d){_.Gj(b,2,iS).set(d,c)});return b};_.g.lL=function(){throw Error("Dg");};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.jc};_.g.update=function(a){var b={};a.xM().forEach(function(c,d){c||(c=o6c(d));b[d]=c});if(this.V!=a.Gb()||T8c(this.W,b))this.V=a.Gb(),this.H=b,this.je&&this.dispatchEvent(new _.di(_.cc,this))};
_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a Workspace find by id after "+a.iE+" retries.",a.error)))};_.g.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};
var V8c=function(){};_.g=V8c.prototype;_.g.wF=function(a,b){return kS(jS(1),a).setPosition(b)};_.g.uF=function(a,b){return kS(jS(2).setPosition(b),a)};_.g.eK=function(a,b,c){return kS(jS(3).Hu(b).setPosition(c),a)};_.g.wI=function(a,b){return kS(jS(4),a).setPosition(b)};_.g.TF=function(a){return _.C(a,_.iC,2)};
var W8c=function(){_.CN.call(this,new V8c,function(a){return a&&a.getId()})};_.J(W8c,_.CN);
var X8c=function(a,b,c){nS.call(this,a.ka,a.Ug,b.th()||10);this.jc=b;this.wa=c;this.W=[];this.V=[];this.ka=!1;this.ma=new W8c};_.J(X8c,nS);_.g=X8c.prototype;_.g.uB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.di(_.cc,this))};_.g.getData=function(){this.W=this.V;return RXc((new mR).Dc(this.status),this.V.slice(0))};_.g.Wp=function(){var a=_.DN(this.ma,this.W,this.V);this.W=this.V;var b=(new y8c).Dc(this.status);return _.Qj(b,2,a)};_.g.LH=function(){this.wa.W(this.ti(),this.limit)};
_.g.vq=function(){var a=this.status;this.IG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.di(_.cc,this))};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.jc};_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||mQ(0,this.V,b.Zi()))this.H=!0,this.status=b.Gb(),this.V=b.Zi(),this.ta=a.V,this.dispatchEvent(new _.di(_.cc,this))};
_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a Workspace query after "+a.iE+" retries.",a.error)))};
var Z8c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=a;this.wa=b;this.jc=f;this.Ca=d;this.Ga=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=MPc(new _.xN,[1]);this.ta=c;Y8c(this,"Creating find by ids live map: "+this.jc.Kl().join(", "));_.rd(this,function(){h.ha=!1;h.W=[]})};_.J(Z8c,_.O);_.g=Z8c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.nf(this.H)&&6==this.V||$8c(this)};_.g.kd=function(){return this.jc};
_.g.getData=function(){this.W=this.H;var a=new _.OP;_.oN(this.ka)?a.Dc(ROc(Object.values(this.H))?6:this.V):a.Dc(this.V);a.H=this.H;return a};_.g.Wp=function(){var a=OPc(this.W,this.H),b=new JTc;b.Dc(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.Hq=function(){return this.ma};_.g.lL=function(a){wWc(a);var b=this.jc;this.jc=a;this.Ga(this.ti(),b,a)};
_.g.update=function(a){var b=this;0<=_.ha(this.kd().Kl(),"root")?this.Ca.nb(function(c){var d=a.gs()[c];d&&(_.of(a.H,c),a.H.root=d);a9c(b,a)}):a9c(this,a)};var a9c=function(a,b){if(a.V!=b.Gb()||PPc(a.H,b.gs()))a.V=b.Gb(),a.H=b.gs(),_.oN(a.ka)&&(a.ma=NPc(a.V,Object.values(a.H))),$8c(a)};Z8c.prototype.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a find-by-IDs query after "+a.iE+" retries.",a.error)))};Z8c.prototype.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};
var $8c=function(a){a.ha&&(Y8c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Gb()+". Query: ")+aR(a.wa,a.jc)),a.dispatchEvent(new _.di(_.cc,a)))},Y8c=function(a,b){a.ta.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var b9c=function(a,b,c,d,e,f){fS.call(this,a,b,c,d,e,f);this.Ga=[]};_.J(b9c,fS);b9c.prototype.getData=function(){this.H=this.items;return JSc(ISc((new _.PP).Dc(this.Gb()).Cw(this.items),this.lj()),this.Ga).CI(this.ka).setSessionId(this.sessionId).AX(this.suggestionSessionId).zX(this.V)};b9c.prototype.update=function(a){h8c(this,a)&&(i8c(this,a),this.Ga=_.Oj(a,_.tk,6),this.ka=a.DF(),this.sessionId=a.getSessionId(),this.suggestionSessionId=a.yX(),g8c(this))};
var c9c=function(){};_.g=c9c.prototype;_.g.wF=function(a,b){return o8c(n8c(1),a).setPosition(b)};_.g.uF=function(a,b){return o8c(n8c(2).setPosition(b),a)};_.g.eK=function(a,b,c){return o8c(n8c(3).Hu(b).setPosition(c),a)};_.g.wI=function(a,b){return o8c(n8c(4),a).setPosition(b)};_.g.TF=function(a){return _.C(a,AQ,2)};
var d9c=function(){_.CN.call(this,new c9c,function(a){return a&&a.V()})};_.J(d9c,_.CN);
var e9c=function(a,b,c){nS.call(this,a.ka,a.Ug,b.th()||10);this.jc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ca=new d9c;this.ma=null};_.J(e9c,nS);_.g=e9c.prototype;_.g.uB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.di(_.cc,this))};_.g.getData=function(){this.ka=this.V;return iUc((new BQ).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Wp=function(){var a=_.DN(this.Ca,this.ka,this.V);this.ka=this.V;var b=(new v8c).Dc(this.status);return _.Qj(b,2,a)};
_.g.LH=function(){};_.g.vq=function(){var a=this.status;this.IG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.di(_.cc,this))};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.jc};_.g.update=function(a){if(this.status!=a.Gb()||mQ(0,this.V,a.Zi())){this.W=this.H=!0;this.V=a.Zi();if(a=a.getSessionId())this.ma=a;this.vq()}};_.g.refresh=function(){this.wa()};
_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a Suggested Workspace query after "+(a.iE+" retries."),a.error)))};
var f9c=function(a,b,c){_.O.call(this);var d=this;this.jc=a;this.Ca=b;this.wa=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.th();this.V=6;this.ta=MPc(new _.xN,[1]);this.W=!0;_.rd(this,function(){d.ha=!1;d.ka=[]})};_.J(f9c,_.O);_.g=f9c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.ja(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.di(_.cc,this))};_.g.kd=function(){return this.jc};_.g.Gb=function(){return this.V};_.g.Hq=function(){return this.ta};
_.g.lj=function(){return this.W};_.g.getData=function(){this.ka=this.H;return xRc((new _.kC).Dc(this.V).Cw(this.H),this.W)};_.g.Wp=function(){var a=_.DN(_.GN.Eb(),this.ka,this.H),b=(new LSc).Dc(this.V);a=_.Qj(b,2,a);this.ka=this.H;return a};_.g.Lq=function(a){this.ha&&(this.ma+=a||20,this.Ca.W(this.ti(),this.ma))};
_.g.update=function(a){if(this.V!=a.Gb()||mQ(_.GN.Eb(),this.H,a.Bd()))this.H=a.Bd(),this.V=a.Gb(),_.oN(this.wa)&&(this.ta=NPc(this.V,this.H)),this.W=a.uha(),this.ha&&this.dispatchEvent(new _.di(_.cc,this))};_.g.HG=function(a){this.dispatchEvent(new _.rb(new _.qb("Error occurred running a Team Drive query after "+a.iE+" retries.",a.error)))};_.g.HJ=function(){this.dispatchEvent(new _.di(_.nEa))};_.g.Cs=function(){throw Error("Eg");};_.g.refresh=function(){};
var g9c=function(a,b){this.H=a;this.ta=a.V;this.ma=this.H.Xm;this.Ka=this.H.Pd;this.ha={};this.Ca={};this.Ga={};this.V=null;this.wa=b};_.g=g9c.prototype;_.g.vga=function(a){var b=this,c=new R8c(this.H.ma,this.H.Ec,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.yga=function(a){var b=this,c=new b9c(this.H.ma,this.H.Ec,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};
_.g.sga=function(a){var b=this,c=new Z8c(this.H.H,this.H.ma,this.H.W,this.H.og,this.Ja.bind(this),a);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.Bga=function(a){var b=this,c=new f9c(a,this,this.H.H);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.Cga=function(a){var b=this,c=new Q8c(this.H,this,a);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.Dga=function(a){var b=this,c=new X8c(this.H,a,this);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};
_.g.zga=function(a){var b=this,c=new e9c(this.H,a,function(){if(a instanceof _.to){var d=F3c(b.H);W5c(d,d.getKey(a)).refresh()}});oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.Ega=function(a){var b=this,c=new U8c(this.H,a);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};_.g.pga=function(a){var b=this,c=new O8c(this.H.ka,this.H.Ug,this.H.W,function(d,e){return b.W(d,e)},a);oS(this,c);_.rd(c,function(){return pS(b,c)});return c};
var oS=function(a,b){var c=b.ti();a.ha[c]=b;a.wa.create(c,b.kd());b=b.kd()instanceof _.wo?T5c(a.ma,c,b.kd()):"undefined"!=typeof _.DO&&b.kd()instanceof _.DO?U5c(a.ma,c,b.kd()):b.kd()instanceof _.to?T5c(F3c(a.H),c,b.kd()):b.kd()instanceof _.CG?T5c(a.Ka,c,b.kd()):h5c(a.ta,c,b.kd());"boolean"===typeof b&&Y3c(a.wa,c,b)},pS=function(a,b){if(b.kd()instanceof _.wo)V5c(a.ma,b.ti(),b.kd());else if("undefined"!=typeof _.DO&&b.kd()instanceof _.DO){var c=a.ma,d=b.ti(),e=b.kd(),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.kd()instanceof _.to?V5c(F3c(a.H),b.ti(),b.kd()):b.kd()instanceof _.CG?V5c(a.Ka,b.ti(),b.kd()):i5c(a.ta,b.ti(),b.kd());VR(a.wa,b.ti(),4);delete a.ha[b.ti()]};g9c.prototype.Ja=function(a,b,c){i5c(this.ta,a,b);h5c(this.ta,a,c)};
g9c.prototype.W=function(a,b){var c=r0c(this,a).kd();c.Gi(b);c instanceof _.wo?T5c(this.ma,a,c):"undefined"!=typeof _.DO&&c instanceof _.DO?U5c(this.ma,a,c):c instanceof _.CG?T5c(this.Ka,a,c):h5c(this.ta,a,c)};
g9c.prototype.ka=function(){_.qi(this.V);this.V=null;var a=Object.keys(this.Ca),b=Object.keys(this.Ga);a=_.u(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ca[c];if(d){delete this.Ca[c];var e=this.ha[c];e&&($3c(this.wa,c,d),e.update(d))}}b=_.u(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.Ga[a])if(delete this.Ga[a],d=this.ha[a])VR(this.wa,a,3),d.HG(c)};var r0c=function(a,b){if(!a.ha[b])throw Error("Fg`"+b);return a.ha[b]};
var qS=function(a,b){_.O.call(this);this.ka=a;this.jc=b;this.W=_.Fh();this.V=!1;this.H=""};_.J(qS,_.O);qS.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.jc)}).then(this.ta.bind(this)).Xf(this.ha.bind(this));return this.W.promise};qS.prototype.ta=function(a){this.H=a.H;this.dispatchEvent(new L8c(0,this.H));h9c(this)};var h9c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.vIc(a.H))}).then(a.wa.bind(a)).Xf(a.ha.bind(a))},5E3)};
qS.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new L8c(a.ka,this.H)),h9c(this);else{this.V=!0;if(4==a.status){var b=new H8c;b=_.x(b,2,a.H||[]);b=_.x(b,3,this.H);b=_.x(b,5,a.ma);b=_.x(b,6,a.W);b=_.x(b,7,a.Kv);b=_.x(b,8,a.ha);a=_.Qj(b,4,a.V);this.W.resolve(a)}else a=_.jN(_.Fq(_.Eq(new _.pb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};qS.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.uIc(a.H))}).then(this.ma.bind(this)).Xf(this.ha.bind(this))};
qS.prototype.ma=function(){if(!this.V){var a=new H8c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};qS.prototype.ha=function(a){this.V=!0;this.W.reject(_.LN(a));this.dispose()};
var i9c=function(){_.di.call(this,"VbxEwf")};_.J(i9c,_.di);
var j9c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=j9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.VM,58)};_.g.getContext=function(){return this.H};_.g.KEa=function(){var a=this.H.Qa,b=this.W,c=_.pc(a.H);a.V&&c.push(_.rMc("CacheSize",a.V.W()));c.push(_.rMc("InitialViewDataLoaded",b));a=new hSc;_.Qj(a,1,c);return _.Oh(a)};_.g.u$=function(){return this.H.W};_.g.JM=function(a){return _.Oh(this.H.V.V.H(a))};_.g.cna=function(){return _.Oh(this.H.Qa.W.mh())};
_.g.Fca=function(a,b,c){var d=new _.Ih;if(_.C(a,_.XM,3)||_.C(a,_.IO,4)||_.C(a,_.CP,5)||_.C(a,_.AO,6)||_.C(a,_.cO,7)||_.C(a,_.WN,8)||_.C(a,_.$N,9)||_.C(a,_.pN,10)){var e=oXc(a);this.H.Em().then(function(f){return f.H(e,{Mmb:b,Nmb:c})}).then(this.n5a.bind(this,d),d.Ed,d);return d}throw Error("Gg");};
_.g.n5a=function(a,b){var c=[],d="";if(b instanceof _.nP){c=b.sr().Bd();var e=_.z(b,2);d=b.Um()}else if(b instanceof _.LO)b.getItem()&&c.push(b.getItem()),e=b.eJ();else throw Error("Hg");a.callback({items:c,lxa:e,pageToken:d})};_.g.WLa=function(){var a=this.H.H,b=a.nf();a="email:"+a.Se().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.twa=function(){this.H.wa.ZO();var a=this.H.H;z2c(_.gP(a.Se()),_.hP(a),this.H.W).Xf(function(){})};_.g.hY=function(){return _.zGc[_.D(this.H.H.nf(),8,0)]};
_.g.asa=function(){this.H.od.H=new r7c(_.qg().substring(0,8))};_.g.v$=function(){var a=this.H.od.H,b=null;a&&(b=t7c(this.H.od),b={traceId:a,spanRecs:b});a=this.H.od;a.H=null;a.V=[];return _.Oh(b)};_.g.LEa=function(){return _.Oh(this.H.od.H)};
_.g.getState=function(a){var b=this.H.ha,c=b.H.bind(b);b={};b.b=this.H.H.Ji();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.PEa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.S_());b.cs_ch=X0c(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Uu)&&(b.t_cps=c.P_a().join(","));b.t_id=d8c(this.H);var e=[];q7c(this.H.lc).forEach(function(f,h){e.push(h+
":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.H.Ib?this.H.Ug.isConnected():this.H.Ic.H;b.n_o=this.H.Ib?this.H.Ug.Ef():this.H.ka.Ef();b.n_csm=!!this.H.Ib;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Oh(JSON.stringify(b))};_.g.aLa=function(){this.V&&(this.V.dispatchEvent(new i9c),this.V.R_())};_.g.Xk=function(a){var b=this.H.Ib;b&&a!=b.H&&(b.H=a,_.zMc(b),a?b.qc.update(3):_.pLc(b))};
var m9c=function(a,b){this.H=a;this.V=b;this.ha=_.iIc(vSc(this.V),k9c);this.W=_.iIc(vSc(this.V),l9c)},n9c=function(a,b){var c={};b.forEach(function(f){_.mIc(f);var h=f.getId(),k=a.H.ln(),l=a.H.Xb;_.CJc(f,3);_.x(f,82,5);var n=lPc(f,!0);f.getCapabilities()||f.xn(new _.yk);_.E(n,2)&&((n=f.li())&&n.length?_.x(f,46,n[0]):(_.XO(f,[k]),_.x(f,46,k)),k=f.yq(),_.x(f,12,k),k=new _.tk,k.kc(l),_.x(k,6,1),_.SIc(k,!0),_.ZO(f,k),_.YO(f,[k]),_.OM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=kXc(d.V,b);_.ff(e,function(f,
h){YP(f.getItem(),c[h],a.ha);(a.H.ka.Ef()||a.H.Ug.Ef()||3==ZP(f.getItem()))&&YP(f.getItem(),c[h],a.W);_.of(c,h)});_.ff(c,function(f){f.Dm().Tp()&&(e[f.getId()]=new WQ(f))});w5c(d,Object.values(e))},o9c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});n9c(a,c)},k9c=[50],l9c=[12,11,10,67,68];
var p9c=function(a){this.ka=a;this.H=null;this.ha=new m9c(a,a.Ja);this.V=!1};
p9c.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.wa.bind(this);var b=this.ta.bind(this);q9c(this,"Querying all offline items.");this.H.H().Af(a,b);this.V||(this.H.V((0,_.K)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.oe;b.Xk(!0);b=mXc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==ZP(f)){var h=new _.vN;_.wN(h,f.getId());_.AN(h);d.push(h)}else h=new _.Ck,_.JN(h,!1),_.x(h,2,!1),_.R(f,81,h),c.push(b[e])}w5c(a,c);a.ta(d)}};
p9c.prototype.wa=function(a){q9c(this,"Processing all offline item(s): "+a.length);n9c(this.ha,a);YQ(this.ka.ha,"GZTDpc")};p9c.prototype.ta=function(){q9c(this,"Error fetching offline items.")};p9c.prototype.ma=function(a){q9c(this,"Handling offline change(s): "+a.length);o9c(this.ha,a)};var q9c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var rS=function(a){_.O.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new p9c(a);this.context.$g=b;this.Ma=new j9c(a,this);f8c(this.Ma);(b=_.C(a.H,_.VM,58))&&_.A(b,1,!1);this.Yd=new _.be(this);this.Pa(this.Yd);this.V=this.context.ha;this.ha=a.ao;this.W=new g9c(a,this.ha);a=this.context;b=this.W;a.yj=b;a.Te.resolve(b);this.wa=null;this.hb=this.Ca=!1;this.Qa=null;this.Ewa()};_.J(rS,_.O);_.g=rS.prototype;_.g.Ewa=function(){};
_.g.initialize=function(){var a=this;this.wa||(this.wa=_.Fh(),this.Qa=this.context.ta.W(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.Ji()),this.JEa(),this.Yd.listen(this.context,_.dc,this.r1a),this.Yd.listen(this.context.Ic,["ta","ua"],function(b){return void a.dispatchEvent(b)}),this.Yd.listen(this.context.Ug,[].concat(_.nc(Object.values(ZVc))),function(b){return void a.dispatchEvent(b)}),this.V.start(),YQ(this.V,"NSockf"));return this.wa.promise};
_.g.eBa=function(){this.Qa&&this.Qa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ca||(this.Ca=!0,this.wa.resolve())};_.g.r1a=function(a){var b=a.error,c=b.eg;c&&3==c.getType()&&!this.Ca?(this.Ca=!0,this.wa.reject(b)):this.dispatchEvent(a)};_.g.lV=function(){throw sS("teamDriveQuery");};_.g.tca=function(){throw sS("teamDriveFindByIds");};_.g.Nsa=function(){throw sS("teamDriveMovePreflight");};_.g.ipa=function(){throw sS("peoplePredictQuery");};
_.g.query=function(a){yWc(this.context.ma,a,uSc(this.context.Ja));this.xO();var b=this.W.vga(_.Vj(a));this.hb||(a=a.oe(),a&&121==_.z(a,1)||(this.hb=!0,this.Yd.listen(b,_.cc,this.IEa)));return b};_.g.IEa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Ma.W=this.V.H("W6J7De"),this.Yd.Sc(a,_.cc,this.IEa))};_.g.pr=function(a){this.xO();wWc(a);return this.W.sga(_.Vj(a))};_.g.Oea=function(){throw sS("activityQuery");};_.g.zfa=function(){throw sS("backupsQuery");};
_.g.Wpa=function(){throw sS("refreshBackups");};_.g.Vma=function(){throw sS("getAndroidBackupItems");};_.g.Zga=function(){throw sS("deleteBackup");};_.g.mpa=function(){throw sS("permissionQuery");};_.g.Yka=function(){throw sS("insertPermission");};_.g.aha=function(){throw sS("deletePermission");};_.g.$c=function(){throw sS("mutate");};_.g.JO=function(){throw sS("mutateWorkspace");};_.g.MA=function(){throw sS("bulkMutate");};_.g.rga=function(){throw sS("createFileUploader");};
_.g.Twa=function(a){return new qS(this.context.Em(),a)};_.g.OT=function(a){if(3==a.getType())return _.Ph(this.context.Em().then(function(b){return b.H(a)}).then(null,_.NN));throw sS("getApps with type "+a.getType());};_.g.Wma=function(){throw sS("getApp");};_.g.$ka=function(){throw sS("installApp");};_.g.Yga=function(){throw sS("deleteApp");};_.g.t$=function(){throw sS("updateApp");};_.g.zS=function(){throw sS("getUserAccount");};_.g.cG=function(){throw sS("getUserPrefs");};
_.g.$ma=function(){throw sS("mutateUserPref");};_.g.Xma=function(){throw sS("getRevisions");};_.g.Zma=function(){return!1};_.g.Xk=function(a){this.context.ka.Xk(a)};_.g.zA=function(){throw sS("setOfflineOptIn");};_.g.bna=function(){throw sS("setLocalItemService");};_.g.xO=function(){};_.g.GEa=function(){K7c(this.context);this.context.ta.H(106006)};_.g.tY=function(){return this.Ma};_.g.ana=function(){};_.g.s$=function(){return this.context.Ic.H};_.g.Uma=function(){return e0c(this.context.Ic)};
_.g.isConnected=function(){return 1==this.context.Ib.getState().get()};_.g.sync=function(){throw sS("sync");};_.g.R_=function(){return L7c(this.context)};_.g.qoa=function(){throw sS("offlineDataLoaded");};_.g.L0=function(a){return this.context.Em().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.Vfa=function(){throw sS("categoryMetadataQuery");};_.g.Xfa=function(){throw sS("changeCategoryLinks");};_.g.yV=function(){throw sS("updateCategoryMetadata");};
_.g.Mpa=function(){throw sS("publishedCategoriesQuery");};_.g.Waa=function(){throw sS("publishedCategoryQuery");};_.g.Xta=function(){throw sS("workspaceFindByIdsRequest");};_.g.dda=function(){throw sS("workspaceQueryRequest");};_.g.Fsa=function(){throw sS("suggestedWorkspaceItemQueryRequest");};_.g.kca=function(){throw sS("suggestedWorkspaceQueryRequest");};_.g.Tma=function(){throw sS("addCacheHint");};_.g.z5=function(){throw sS("createUserFeedback");};
_.g.Yma=function(){throw sS("handleChanges");};var sS=function(a){return new _.qb(a+" is unsupported",_.KN(3))};
var RPc=function(a){rS.call(this,a);i1c(a,"");a8c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.J(RPc,rS);RPc.prototype.JEa=function(){XQ(this.V,["NSockf"],this.eBa.bind(this))};
var r9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},s9c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},t9c=function(a){return new s9c(a.id,a.d,a.err||void 0)};
var tS=function(a,b,c){_.O.call(this);var d=this;this.$m=a;this.Yc=b;this.Ca=new _.Ih;this.hb={};this.Wa=this.Ma=this.tc=null;c.then(function(e){d.tc=e.clientId;d.Ma=e.channel;d.Wa=e.H;bR(d.Ma,d.$m,(0,_.K)(d.Y9a,d));bR(d.Ma,d.$m+"_update",(0,_.K)(d.z5a,d));d.log("Service initialized.");d.Ca.callback()})};_.J(tS,_.O);_.g=tS.prototype;
_.g.Y9a=function(a){a=t9c(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 _.pb(JSON.parse(a.error));else c=new _.pb,_.iN(c,2),_.jN(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.qb(void 0,c))}delete this.hb[a.id]}};_.g.z5a=function(a){a=t9c(a);this.G8(a.id,a.data,a.error)};_.g.G8=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Ih;this.Ca.nb(function(){var h=e.Ma,k=new r9c(e.tc,a,b,d),l=_.Fh();e.hb[k.H]=l;l.promise.then(function(n){f.callback((c||_.Oe)(n))},function(n){n=n.eg;var q=_.z(n,21)||"";_.x(n,21,"Worker"+("An invalid response was received"==q?"["+a+"]: ":": ")+q);f.Ed(new _.qb(void 0,n))});cR(h,e.$m,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Wa&&this.Wa.info(this.Yc,a)};
var u9c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var uS=function(a,b,c){tS.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.J(uS,tS);uS.prototype.vga=function(a){var b=this;a=new R8c(this.H.ma,this.H.Ec,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);v9c(this,a);return a};uS.prototype.yga=function(a){var b=this;a=new b9c(this.H.ma,this.H.Ec,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);v9c(this,a);return a};
var v9c=function(a,b){vS(a,b);_.rd(b,function(){wS(a,b);a.send("4.3",[b.ti(),b.kd().Cc()])});a.send("4.1",[b.ti(),b.kd().Cc()])};_.g=uS.prototype;_.g.sga=function(a){var b=this,c=new Z8c(this.H.H,this.H.ma,this.H.W,this.H.og,this.Ja.bind(this),a);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.4",[c.ti(),c.kd().Cc()])});this.send("4.2",[c.ti(),c.kd().Cc()]);return c};
_.g.Bga=function(a){var b=this,c=new f9c(a,this,this.H.H);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.11",[c.ti(),c.kd().Cc()])});this.send("4.9",[c.ti(),c.kd().Cc()]);return c};_.g.Cga=function(a){var b=this,c=new Q8c(this.H,this,a);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.12",[c.ti(),c.kd().Cc()])});this.send("4.10",[c.ti(),c.kd().Cc()]);return c};
_.g.Dga=function(a){var b=this,c=new X8c(this.H,a,this);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.15",[c.ti(),c.kd().Cc()])});this.send("4.13",[c.ti(),c.kd().Cc()]);return c};_.g.Ega=function(a){var b=this,c=new U8c(this.H,a);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.16",[c.ti(),c.kd().Cc()])});this.send("4.14",[c.ti(),c.kd().Cc()]);return c};
_.g.zga=function(a){var b=this,c=new e9c(this.H,a,function(){b.send("4.21",[c.ti()])});vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.23",[c.ti(),c.kd().Cc()])});this.send("4.22",[c.ti(),c.kd().Cc()]);return c};_.g.pga=function(a){var b=this,c=new O8c(this.H.ka,this.H.Ug,this.H.W,function(d,e){return b.W(d,e)},a);vS(this,c);_.rd(c,function(){wS(b,c);b.send("4.19",[c.ti(),c.kd().Cc()])});this.send("4.18",[c.ti(),c.kd().Cc()]);return c};
var vS=function(a,b){a.V.create(b.ti(),b.kd());a.ha[b.ti()]=b},wS=function(a,b){VR(a.V,b.ti(),4);delete a.ha[b.ti()]};uS.prototype.Ja=function(a,b,c){if(b instanceof _.mo&&c instanceof _.mo)this.send("4.5",[a,b.Cc(),c.Cc()]);else if(b instanceof _.uo&&c instanceof _.uo)this.send("4.6",[a,b.Cc(),c.Cc()]);else throw Error("Ig");};
uS.prototype.W=function(a,b){if(!this.ha[a])throw Error("Fg`"+a);var c=this.ha[a];if(c.kd()instanceof _.oe)var d="4.7";else if(c.kd()instanceof _.SM)d="4.8";else if(c.kd()instanceof _.CG)d="4.20";else if(c.kd()instanceof _.wo)d="4.17";else throw Error("Jg");c.kd().Gi(b);this.send(d,[a,b])};
uS.prototype.G8=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.pb(JSON.parse(c)),c=new hR(c,c.wX()),a.HG(c),VR(this.V,a.ti(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.HJ();return}c=a.kd();if(c instanceof _.oe||c instanceof _.SM)f=JSON.parse(f),c instanceof _.oe&&_.kO(c)?d=new _.PP(f):d=new _.kC(f);else if(c instanceof _.mo||c instanceof _.uo)d=new _.OP,ITc(d,function(h){return new _.Ek(JSON.parse(h))},f);else if(c instanceof _.CG)d=new _.SP(new xQ(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.wo)d=new _.VP(new mR(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.DO&&c instanceof _.DO)d=new _.QP(JSON.parse(f));else if(c instanceof _.to)d=new BQ(JSON.parse(f));else throw Error("Kg");}d&&("boolean"===typeof b[e]&&Y3c(this.V,a.ti(),!!b[e]),$3c(this.V,a.ti(),d),a.update(d))}};
var w9c=function(a,b){tS.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.J(w9c,tS);_.g=w9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.VM,58)};_.g.getContext=function(){return this.H};_.g.KEa=function(){return this.send("5.4",[this.V],function(a){return new hSc(JSON.parse(a[0]))})};_.g.u$=function(){return this.H.W};_.g.JM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Ek(b)})};
_.g.cna=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 _.VEc(a[c]));return b})};_.g.Fca=function(a,b,c){return this.send("5.8",[a.Cc(),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 _.Ek(e[k]));return{items:h,lxa:f,pageToken:d}})};_.g.WLa=function(){this.send("5.9",[])};_.g.twa=function(){this.send("5.1",[])};_.g.hY=function(){return _.zGc[_.D(this.H.H.nf(),8,0)]};
_.g.asa=function(){this.send("5.6",[])};_.g.v$=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 iR(a[e]));return{traceId:new r7c(b,c),spanRecs:d}})};_.g.LEa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new r7c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.aLa=function(){this.send("5.11",[])};
_.g.Xk=function(a){this.send("5.13",[a])};
var x9c=function(a,b){tS.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.jc=b;this.Md=String(_.xa(this));this.H=null};_.J(x9c,tS);x9c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.jc.Cc()],function(b){return new H8c(JSON.parse(b[0]))},this.Md).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};x9c.prototype.cancel=function(){this.send("9.2",[this.jc.Cc()],void 0,this.Md)};
x9c.prototype.G8=function(a,b){this.dispatchEvent(new L8c(b[0],b[1]))};
var y9c=function(a){tS.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.J(y9c,tS);y9c.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().Af(a,b);this.H.V((0,_.K)(this.ka,this))}else this.send("6.3",[])};y9c.prototype.ha=function(a){var b=[];_.Fa(a,function(c){b.push(c.Cc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};y9c.prototype.V=function(){this.log("Error fetching offline items.")};
y9c.prototype.ka=function(a){var b=[];_.Fa(a,function(c){b.push(c.Cc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var z9c=function(a,b){ZR.call(this,a,b)};_.J(z9c,ZR);z9c.prototype.x5=function(a,b,c){return new _.xIc(a,c)};z9c.prototype.M7=function(a){return a.pageToken||""};z9c.prototype.j7=function(a){return a.response.V()};z9c.prototype.U_=function(){};
var A9c=function(a,b,c){nS.call(this,a.ka,a.Ug,b.th()||void 0);this.jc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new z9c(this.jc,this.ma)};_.J(A9c,nS);_.g=A9c.prototype;_.g.uB=function(){$R(this.ka).then(this.U9a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return XXc(new nR,this.W).Dc(this.status)};_.g.Wp=function(){return new r8c};_.g.lj=function(){return!this.Ef()&&(!this.H||N5c(this.ka))};_.g.U9a=function(a){this.V=this.H=!0;this.W=a;this.vq()};
_.g.vq=function(){if(this.active){var a=this.status;this.IG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.di(_.cc,this))}};_.g.Zb=function(){return this.W.length};
var B9c=function(a,b,c){nS.call(this,a.ka,a.Ug,b.th()||10);this.jc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ca=new _.GN;this.ma=null};_.J(B9c,nS);_.g=B9c.prototype;_.g.uB=function(){var a=this;this.wa(this.jc).then(function(b){a.H=!0;a.W=!0;a.V=b.ij();if(b=b.getSessionId())a.ma=b;a.vq()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.tHc((new _.yN).Dc(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Wp=function(){var a=_.DN(this.Ca,this.ka,this.V);this.ka=this.V;var b=(new t8c).Dc(this.status);return _.Qj(b,2,a)};_.g.LH=function(){};_.g.vq=function(){var a=this.status;this.IG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.di(_.cc,this))};_.g.Zb=function(){return this.V.length};
var C9c=function(){};_.g=C9c.prototype;_.g.wF=function(a,b){b=z8c(1).setPosition(b);_.R(b,2,a);return b};_.g.uF=function(a,b){b=z8c(2).setPosition(b);_.R(b,2,a);return b};_.g.eK=function(a,b,c){b=z8c(3).Hu(b).setPosition(c);_.R(b,2,a);return b};_.g.wI=function(a,b){b=z8c(4).setPosition(b);_.R(b,2,a);return b};_.g.TF=function(a){return _.C(a,_.SQ,2)};
var E9c=function(){_.CN.call(this,new C9c,function(a){return D9c(a)})};_.J(E9c,_.CN);var D9c=function(a){switch(_.Cj(a,KVc[0])){case 6:return _.by(_.C(a,_.ay,6)).getTime().toString();case 7:var b=_.C(a,_.RQ,7);a=_.C(b,_.ay,1);b=b.Cq();return a&&b?(a=_.by(a).getTime(),_.by(b).getTime()+"--"+a):"";default:return""}};_.Qe(E9c);
var xS=function(a,b,c,d){nS.call(this,b.ka,b.Ug,d);this.jc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ca=new _.vNc(_.D(b.H.nf(),6,1E3));this.ka=!1;this.Ga=c};_.J(xS,nS);_.g=xS.prototype;_.g.activate=function(){nS.prototype.activate.call(this);this.vq()};_.g.uB=function(){this.jc.cAa()?F9c(this):this.Ja()};_.g.Lq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;nS.prototype.Lq.call(this,a)};
_.g.getData=function(){var a=(new D8c).Dc(this.status);_.Qj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Wp=function(){var a=_.DN(E9c.Eb(),this.wa,this.V),b=new B8c;a=_.Qj(b,2,a).Dc(this.status);this.wa=_.ra(this.V);return a};_.g.lj=function(){return!this.Ef()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.kd=function(){return this.jc};_.g.NEa=function(a){this.dispatchEvent(new _.rb(a));this.W=!1};
_.g.I3a=function(a,b){this.H=!0;var c=_.Oj(b,_.SQ,1);this.V=this.V.concat(c);this.ma=b.XF()||"";0<c.length&&(this.ka=!0);this.vq();F9c(this,a)};_.g.X3a=function(a){E9c.Eb();this.H=!0;var b=_.Oj(a,_.SQ,1);mQ(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.XF()||"",this.ka=!0,this.vq(),F9c(this)):(this.W=!1,G9c(this))};var F9c=function(a,b){a.active?(a.W=!0,a.lj()&&a.V.length<a.limit?a.Ga(a.jc,a.limit-a.V.length,a.ma).Af(_.Re(a.I3a,b),a.NEa,a):(a.W=!1,b&&b.callback(),G9c(a))):a.W=!1};
xS.prototype.Ja=function(){this.active&&(this.W=!0,this.Ga(this.jc,this.limit).Af(this.X3a,this.NEa,this))};xS.prototype.vq=function(){if(this.active){var a=this.status;this.IG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.di(_.cc,this))}};xS.prototype.IG=function(){this.Ef()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};xS.prototype.LH=function(){this.active&&this.lj()&&!this.W&&F9c(this,new _.Ih)};
var G9c=function(a){a.jc.cAa()||(_.RH(a.Ca),_.m.setTimeout((0,_.K)(a.Ja,a),a.Ca.ub()))};xS.prototype.Zb=function(){return this.V.length};
var H9c=function(){};_.g=H9c.prototype;_.g.wF=function(a,b){return F8c(E8c(1),a).setPosition(b)};_.g.uF=function(a,b){return F8c(E8c(2).setPosition(b),a)};_.g.eK=function(a,b,c){return F8c(E8c(3).Hu(b).setPosition(c),a)};_.g.wI=function(a,b){return F8c(E8c(4),a).setPosition(b)};_.g.TF=function(a){return a.rv()};
var I9c=function(){_.CN.call(this,new H9c,function(a){return a.getId()})};_.J(I9c,_.CN);_.Qe(I9c);
var J9c=function(a,b,c){nS.call(this,b.ka,b.Ug);this.jc=a;this.ma=[];this.V=[];this.W=new _.vNc(_.D(b.H.nf(),54,1E3));this.ka=!1;this.wa=c};_.J(J9c,nS);_.g=J9c.prototype;_.g.activate=function(){nS.prototype.activate.call(this);this.vq()};_.g.uB=function(){this.poll()};_.g.getData=function(){var a=new qR;a=_.Qj(a,2,this.V).Dc(this.status);this.ma=_.ra(this.V);return a};_.g.Wp=function(){var a=_.DN(I9c.Eb(),this.ma,this.V),b=new J8c;a=_.Qj(b,2,a).Dc(this.status);this.ma=_.ra(this.V);return a};
_.g.lj=function(){return!this.Ef()&&!this.H};_.g.poll=function(){var a=new _.Ih;this.wa(this.jc).Af(_.Re(this.W9a,a),_.Re(this.V9a,a),this);return a};_.g.V9a=function(a,b){this.dispatchEvent(new _.rb(b));a.Ed(b);K9c(this)};_.g.W9a=function(a,b){this.H=!0;b=_.Oj(b,_.gR,2);mQ(I9c.Eb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.vq();a.callback();K9c(this)};_.g.vq=function(){if(this.active){var a=this.status;this.IG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.di(_.cc,this))}};
_.g.LH=function(){};var K9c=function(a){a.active&&(_.m.setTimeout((0,_.K)(a.poll,a),a.W.ub()),_.RH(a.W))};J9c.prototype.Zb=function(){return this.V.length};
var L9c=function(){};_.g=L9c.prototype;_.g.wF=function(a,b){return m8c(l8c(1),a).setPosition(b)};_.g.uF=function(a,b){return m8c(l8c(2).setPosition(b),a)};_.g.eK=function(a,b,c){return m8c(l8c(3).Hu(b).setPosition(c),a)};_.g.wI=function(a,b){return m8c(l8c(4),a).setPosition(b)};_.g.TF=function(a){return a.SY()};
var M9c=function(){_.CN.call(this,new L9c,function(a){return a.getId()})};_.J(M9c,_.CN);_.Qe(M9c);
var yS=function(a,b,c){_.O.call(this);this.ma=a;this.jc=b;this.H="";this.V=this.W=!1;this.ha=0;this.Bt=[];this.ta=c};_.J(yS,_.O);yS.prototype.Gi=function(a){this.ha=a};var O9c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():N9c(a)};yS.prototype.O7=function(){return this.Bt};var N9c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.Bt.length,100);var c=new _.pO;c=_.R(c,3,a.jc);c=_.x(c,2,a.H);b=_.x(c,1,b);return a.ta(b).then(a.ka.bind(a)).then(null,a.wa.bind(a))};
yS.prototype.ka=function(a){this.V=!1;this.H=a.Um()||"";a=a.sr().qJ();this.Bt=_.qa(this.Bt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.Bt.length<this.ha)return N9c(this);this.dispatchEvent("Hb")};yS.prototype.wa=function(a){this.V=!1;a=new hR(_.kN(a),_.D(this.ma.H.nf(),1,1));this.dispatchEvent(a)};
var zS=function(a,b,c,d){nS.call(this,b.ka,b.Ug,d||100);var e=this;this.wa=b;this.jc=a;this.ma=[];this.Bt=[];this.ka=!1;this.W=null;this.Ca=c;this.V=new yS(b,this.jc,this.Ca);_.rd(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.J(zS,nS);_.g=zS.prototype;_.g.activate=function(){nS.prototype.activate.call(this);this.vq()};_.g.uB=function(){this.OEa()};_.g.Lq=function(a){nS.prototype.Lq.call(this,a||100)};
_.g.getData=function(){var a=new kSc;a=_.Qj(a,2,this.Bt.slice(0,this.limit)).Dc(this.status);this.ma=_.ra(this.Bt);return a};_.g.Wp=function(){var a=_.DN(M9c.Eb(),this.ma,this.Bt),b=new q8c;a=_.Qj(b,2,a).Dc(this.status);this.ma=_.ra(this.Bt);return a};_.g.lj=function(){var a;(a=!this.Ef())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.kd=function(){return this.jc};
_.g.OEa=function(){var a=this;this.V=new yS(this.wa,this.jc,this.Ca);this.V.Gi(this.limit);return O9c(this.V).then(function(){return P9c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){nS.prototype.handleError.call(this,a);Q9c(this)};var P9c=function(a){a.H=!0;var b=a.V.O7();mQ(M9c.Eb(),a.Bt,b)&&(a.ka=!0,a.Bt=b);a.vq();Q9c(a)};zS.prototype.vq=function(){if(this.active){var a=this.status;this.IG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.di(_.cc,this))}};
zS.prototype.LH=function(){var a=this;this.V.Gi(this.limit);O9c(this.V).then(function(){return P9c(a)},function(b){return a.handleError(b)})};var Q9c=function(a){if(a.active){var b=a.wa.H.nf();a.W=_.m.setTimeout((0,_.K)(a.OEa,a),Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,15,36E5))}};zS.prototype.Zb=function(){return this.Bt.length};var R9c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.di(_.cc,a))},0)};
var S9c=function(a,b){tS.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.jc=b;this.Md=String(_.xa(this));this.H=null};_.J(S9c,tS);S9c.prototype.ha=function(){var a=this;this.H||(this.H=_.Fh(),this.send("10.1",[this.jc.Cc()],function(b){a.H.resolve(b[0])},this.Md).De(function(b){a.H.reject(b)}));return this.H.promise};S9c.prototype.cancel=function(){this.send("10.2",[this.jc.Cc()],void 0,this.Md)};
var T9c=function(a,b,c,d,e,f,h,k){_.WP.call(this,a,b,c,d,f,h,k);this.V=e;this.le=null};_.J(T9c,_.WP);T9c.prototype.jna=function(a,b){var c=this;return _.Ph(this.V.then(function(d){return d.V(uOc(c.W,c.Wa,a,b,c.H,c.wa))},null))};T9c.prototype.Ja=function(a,b){var c=this.kd(a);if(c){var d=0;if(c.file){var e=c.request&&_.C(c.request,_.RJc,15);e&&(d=_.z(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.gOc(a,b,d))}};
var U9c=function(a,b){tS.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Md=String(_.xa(this));this.H={};this.V={};_.rd(this,(0,_.K)(this.tUa,this))};_.J(U9c,tS);_.g=U9c.prototype;_.g.eR=function(){return _.rg()};
_.g.upload=function(a,b){!_.z(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.RJc;_.x(d,1,b.size);_.R(a,15,d);d=_.rg();this.V[_.kP(a)]=b}return this.send("7.1",[this.Md,a.Cc(),c],function(e){return new _.LO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Md,a])};_.g.Px=function(){this.send("7.3",[this.Md])};
_.g.kna=function(a){var b={};_.Fa(a,function(d){b[d]=new _.Ih});var c=this.eR();this.H[c]=b;this.send("7.4",[this.Md,c,a]);return _.pc(b)};_.g.jna=function(a,b){var c=this;return this.send("7.5",[this.Md,a,b],function(d){return STc(d[0])}).nb(function(d){return _.Ph(c.W.then(function(e){return e.V(d)}))})};_.g.tUa=function(){this.send("7.6",[this.Md])};
_.g.G8=function(a,b){if(b)switch(_.sg(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,_.wKc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.LO(JSON.parse(b[2]));V9c(this,b[0],b[1],a);break;case 1:a=new _.qb(void 0,new _.pb(JSON.parse(b[2])));V9c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.gOc(b[0],b[1],b[2]));break;default:throw Error("Lg");}};
var V9c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.LO?e.callback(d):e.Ed(d);delete a.H[b][c];_.nf(a.H[b])&&delete a.H[b]}};
var W9c=function(a,b){if(0==a.length)throw new _.qb("mutateUserPref requires a namespace.",_.KN(3));if("undefined"!=typeof _.ID&&b instanceof _.ID)var c=(b=(b=b.V())&&b.getKey())&&_.ro(b)||null;else"undefined"!=typeof _.HD&&b instanceof _.HD&&(c=(b=b.getKey())&&_.ro(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.qb("mutateUserPref unsupported for namespace: "+c,_.KN(3));};
var fQ=function(a,b){var c=_.Fh();tS.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;O7c(this.H,new y9c(c.promise));this.Ga=b;wSc(this.Ga,_.z(this.H.H,28));this.Ec=$Oc(_.BP(this.Ga));this.V=a.ao;this.W=new uS(c.promise,a,this.V);this.Qa=new w9c(c.promise,a);f8c(this.Qa);this.Ib=!1;this.Ja=_.Ah(this.Ca);this.ta=this.Xb=!1;this.Ka=new _.be(this);this.Pa(this.Ka);this.Db=!1;this.lc=_.Fh();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Ug,[].concat(_.nc(Object.values(ZVc))),
function(e){return void d.dispatchEvent(e)})};_.J(fQ,tS);fQ.prototype.initialize=function(){var a=this,b=_.C(this.H.H,oRc,66);if(this.Ib)return this.Ja;if(!b||!_.z(b,1))return b=new _.qb("Dataservice URL not provided."),this.Ca.Ed(b),this.Ja;var c=this.H.ta.W(106E3);this.Ib=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.Ji());X9c(this,b);this.Ja.then(function(){c.V();a.PHa()});return this.Ja};
var X9c=function(a,b){var c=Y9c(a),d=!0,e=_.z(b,5)||"";if(_.vHc(window.location.href,c.toString())&&e){d=!1;c=YOc(e,Z9c(a),a.Ec,_.z(b,6));var f=new MWc(c,!1)}else b=$9c(c.toString()),c=_.HEc(c.W,void 0,c.H,c.ha),f=new MWc(KWc(window.frames[b],c.toString()),!1);a$c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();M7c(a.H,function(){return b$c(f)})},b$c=function(a){return _.Yha([new _.zh(function(b){a.isDisposed()||cR(a,"8.1",void 0,function(){a.dispose();b()})}),
_.ri(1E4)])},Y9c=function(a){var b=new _.Qi(_.z(_.C(a.H.H,oRc,66),1));var c=new _.Qi(window.location);var d=c.W+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.hj(d,3);_.$i(b,"co",c);c=b.ze();!_.iP(a.H.H)&&0<_.mN(a.H.H.Se())&&(a=_.mN(a.H.H.Se()),c+="u/"+a+"/");_.Ui(b,c+"_/dataservice/cacheproxy");return b},$9c=function(a){var b="cpiframe_"+_.rg();a=_.$g("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Pfa(_.uHc(_.Af("display: none;")));document.body.appendChild(a);return b},a$c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.K)(a.Ic,a));else{var d=function(){var e=new _.lcb(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.Ji(),ufds:a.Ec}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}cR(b,"8.4",{dsc:a.H.H.Cc()});c$c(b);d$c(a,b);bR(b,"2.1",function(){return{dsc:a.H.H.Cc()}});bR(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new u9c(e.id,b,a.H.W,e.clients)),e.dsp&&c$c(b),e.ivd&&d$c(a,b)):(e=
new _.pb(JSON.parse(e.err)),a.Ca.Ed(new _.qb("Unable to initialize dataservice.",e)))});bR(b,"2.15",function(e){a.dispatchEvent(new K8c(e.dt))});bR(b,"2.5",function(e){i1c(a.H,e.id)});bR(b,"2.6",function(e){a.H.ka.Xk(e.os)});bR(b,"2.18",function(e){a.H.ka.zA(e.oois)});bR(b,"2.7",function(){a.ta=!1});bR(b,"2.8",function(e){a.H.Vu=e.au;a.dispatchEvent(new RSc(e.au?"ta":"ua"))});bR(b,"2.19",function(e){a.H.Ug.update(e.cs)});bR(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Ox("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.oP(a.H.W,f,e,"fine");break;case "finer":_.oP(a.H.W,f,e,"finer");break;case "finest":_.oP(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":pSc(a.H.W,f,e);break;default:pSc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),pSc(a.H.W,f,e)}});bR(b,"2.10",function(e){a.dispatchEvent(new _.rb(new _.qb(void 0,new _.pb(JSON.parse(e.p)))))});bR(b,"2.12",function(){a.rb=!0;AS(a)});
bR(b,"2.14",function(){return a.lc.resolve()});bR(b,"2.16",function(){return a.Xb=!0});bR(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},c$c=function(a){_.m._DRIVE_dsp&&cR(a,"8.3",{dsp:e$c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];cR(a,"8.3",{dsp:e$c(c)})}}},d$c=function(a,b){_.A(a.H.H,24,!1)&&(_.m._DRIVE_ivd?cR(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&cR(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};fQ.prototype.Ic=function(){return{uid:Z9c(this),fds:_.BP(this.Ga)}};var Z9c=function(a){a=_.Vj(a.H.H);a=_.x(a,28,[]);a=_.qna(a,[]);var b=new _.RM;b.update(_.gP(a.Se()));b.update(String(_.mN(a.Se())));b.update(a.Cc());return _.MEc(b.digest())},e$c=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=fQ.prototype;
_.g.query=function(a){AS(this);yWc(this.H.ma,a,uSc(this.Ga));this.xO();var b=this.W.vga(a);this.Db||(a=a.oe(),a&&121==_.z(a,1)||(this.Db=!0,this.Ka.listen(b,_.cc,this.MEa)));return b};_.g.MEa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Qa.V=this.Xb,this.Ka.Sc(a,_.cc,this.MEa))};_.g.pr=function(a){AS(this);wWc(a);this.xO();return this.W.sga(a)};
_.g.Oea=function(a,b){var c=this;AS(this);if(this.ma&&_.Uj(this.ma.kd(),a))return this.ma;var d=(0,_.K)(fQ.prototype.SYa,this);this.ma=new xS(_.Vj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.SYa=function(a,b,c){return this.send("3.17",[a.Cc(),b,c],function(d){return new YVc(JSON.parse(d[0]))})};
_.g.mpa=function(a,b){var c=this;AS(this);if(this.ka&&_.Uj(this.ka.kd(),a))return R9c(this.ka),this.ka;var d=(0,_.K)(fQ.prototype.UYa,this);this.ka=new zS(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.UYa=function(a){return this.send("3.18",[a.Cc()],function(b){return new KXc(JSON.parse(b[0]))})};_.g.Yka=function(a){AS(this);return this.send("3.14",[a.Cc()],function(b){return new lR(JSON.parse(b[0]))})};_.g.aha=function(a){AS(this);return this.send("3.15",[a.Cc()],function(b){return new lR(JSON.parse(b[0]))})};
_.g.$c=function(a){AS(this);!this.ta&&_.NO(a)&&(this.ta=!0);a=bPc(a);return this.send("3.3",[a.Cc()],function(b){if(!_.Cc(b))return new _.LO(JSON.parse(b[0]))})};_.g.JO=function(a){AS(this);a=kPc(a);return this.send("3.35",[a.Cc()],function(b){return new SSc(JSON.parse(b[0]))}).then()};
_.g.MA=function(a){AS(this);for(var b=0;b<a.length;b++)!this.ta&&_.NO(a[b])&&(this.ta=!0);a=ePc(a);return this.send("3.4",[a.Cc()],function(c){var d={};c=JSON.parse(c[0]);_.ff(c[0],function(e,f){d[f]=new _.LO(JSON.parse(e))});_.ff(c[1],function(e,f){e=new _.pb(JSON.parse(e));d[f]=_.LN(e)});return d})};_.g.rga=function(){AS(this);return new U9c(this.wa.promise,this.H.Ec)};_.g.Twa=function(a){AS(this);return new x9c(this.wa.promise,a)};
_.g.OT=function(a,b){var c=this;AS(this);var d=_.qg();this.V.create(d,a);return this.send("3.5",[a.Cc(),!!b],function(e){e=JSON.parse(e);var f=new jR(JSON.parse(e[0]));return new _.RP(f,e[1],e[2])}).nb(function(e){a4c(c.V,d,e);return e.response}).De(function(e){VR(c.V,d);return e})};_.g.Wma=function(a){AS(this);return this.send("3.10",[a.Cc()],function(b){return new HXc(JSON.parse(b[0]))})};_.g.$ka=function(a){AS(this);return this.send("3.11",[a.Cc()],function(b){return new kR(JSON.parse(b[0]))})};
_.g.Yga=function(a){AS(this);return this.send("3.12",[a.Cc()],function(b){return new kR(JSON.parse(b[0]))})};_.g.t$=function(a){AS(this);return this.send("3.13",[a.Cc()],function(b){return new kR(JSON.parse(b[0]))})};_.g.zS=function(a,b){var c=this;AS(this);var d=_.qg();this.V.create(d,a);return this.send("3.1",[a.Cc(),!!b],function(e){e=JSON.parse(e);var f=new _.pR(JSON.parse(e[0]));return new _.UP(f,e[1],e[2])}).nb(function(e){a4c(c.V,d,e);return e.response}).De(function(e){VR(c.V,d);return e})};
_.g.cG=function(a,b){var c=this,d=_.Dj(this.H.H.nf(),30);if(!d||0==d.length)return _.Qh(new _.qb("getUserPrefs requires a namespace.",_.KN(3)));AS(this);var e=_.qg();this.V.create(e,a);return this.send("3.2",[a.Cc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.so(JSON.parse(f[0]));return new _.TP(h,f[1],f[2])}).nb(function(f){a4c(c.V,e,f);return f.response}).De(function(f){VR(c.V,e);return f})};_.g.$ma=function(a){AS(this);W9c(_.Dj(this.H.H.nf(),30),a);a=hPc(a);return this.send("3.6",[a.Cc()],function(b){return new LXc(JSON.parse(b[0]))})};
_.g.Xma=function(a){AS(this);return this.send("3.16",[a.Cc()],function(b){return new mSc(JSON.parse(b[0]))})};_.g.Zma=function(){return this.ta};_.g.Xk=function(a){AS(this);this.send("3.8",[a])};_.g.zA=function(a){AS(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.bna=function(a){AS(this);N7c(this.H).W(a);this.zA(!!a)};_.g.xO=function(){AS(this);this.send("3.9",[])};
_.g.GEa=function(){AS(this);this.send("3.41",[]);K7c(this.H);var a=CSc(this.H.ta,106006);a&&this.wa.promise.then(function(b){var c=_.C(_.MP(a),bSc,6);if(!c){c=new bSc;var d=_.MP(a);_.R(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.s$=function(){AS(this);return this.H.QEa()};_.g.Uma=function(){AS(this);return f$c(this.send("3.19",[],function(a){return new cYc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Ug.isConnected()};_.g.tY=function(){return this.Qa};
_.g.sync=function(){AS(this);return this.send("3.28",[]).then()};_.g.R_=function(){return L7c(this.H)};_.g.ana=function(){};_.g.tca=function(a){AS(this);if(!_.jP(this.H.H))throw new _.qb("function is unsupported",_.KN(3));return this.W.Cga(a)};_.g.lV=function(a){AS(this);if(!_.jP(this.H.H))throw new _.qb("function is unsupported",_.KN(3));return this.W.Bga(a)};_.g.ipa=function(a){AS(this);BWc(this.H.ma,a,uSc(this.Ga));return this.W.yga(a)};
_.g.Nsa=function(a){AS(this);return new S9c(this.wa.promise,a)};_.g.zfa=function(a){AS(this);if(!this.ha||this.ha.isDisposed()){var b=fQ.prototype.TYa.bind(this);this.ha=new J9c(a,this.H,b)}return this.ha};_.g.TYa=function(a){return this.send("3.20",[a.Cc()],function(b){return new qR(JSON.parse(b[0]))})};_.g.Wpa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Ah()};_.g.Vma=function(a){AS(this);return this.send("3.25",[a.Cc()],function(b){return new iYc(JSON.parse(b[0]))})};
_.g.Zga=function(a){AS(this);return this.send("3.22",[a.Cc()],function(){return new kYc})};_.g.qoa=function(){return this.lc.promise};_.g.L0=function(a){var b=_.Fh();this.send("3.30",[a.Cc()],function(c){c[0]?b.resolve(new mYc(JSON.parse(c[0]))):b.reject(new _.pb(JSON.parse(c[1])))}).De(function(c){return b.reject(c)});return b.promise};_.g.Vfa=function(a){AS(this);return this.W.pga(a)};_.g.Xfa=function(a){AS(this);return this.send("3.42",[a.Cc()],function(b){return new yQ(JSON.parse(b[0]))}).then()};
_.g.yV=function(a){AS(this);return this.send("3.39",[a.Cc()],function(b){return new aYc(JSON.parse(b[0]))}).then()};_.g.Mpa=function(a){var b=this;AS(this);return new A9c(this.H,a,function(c){return b.send("3.37",[c.request.Cc(),c.pageToken],function(d){d=JSON.parse(d);return new hWc(new nR(JSON.parse(d[0])),d[1])}).then()})};_.g.Waa=function(a){AS(this);return this.send("3.38",[a.Cc()],function(b){return new oR(JSON.parse(b[0]))}).then()};_.g.Xta=function(a){AS(this);return this.W.Ega(a)};
_.g.dda=function(a){AS(this);return this.W.Dga(a)};_.g.Fsa=function(a){var b=this;AS(this);return new B9c(this.H,a,function(){return b.send("3.40",[a.Cc()],function(c){return new _.yN(JSON.parse(c[0]))}).then()})};_.g.kca=function(a){AS(this);return this.W.zga(a)};_.g.Tma=function(a){AS(this);this.send("3.43",[a.Cc()])};_.g.z5=function(a){AS(this);return this.send("3.44",[a.Cc()],function(){return new MSc}).then()};
_.g.Yma=function(a){AS(this);if(1!=_.hP(this.H.H))return Promise.reject(Error("Mg"));for(var b=_.u(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Hc())return Promise.reject(Error("Ng"));if(!c.Mz()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Cc()})]))};_.g.PHa=function(){var a=this,b=[_.ri(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.Yha(b).then(function(c){c?_.ni(a.PHa.bind(a),6E4):(a.rb=!0,AS(a))})};
var AS=function(a){a.rb&&a.dispatchEvent(new i9c)},QPc=function(a){if(_.A(a,61,!1)&&_.m.SharedWorker)if(_.C(a,oRc,66)){if(_.ZM(a.Se())||_.iP(a)&&!_.A(a,52,!1))return!1}else return!1;else return!1;return!0},f$c=function(a){var b=_.Fh();a.Af(b.resolve,b.reject,b);return b.promise};
var BS=function(){_.O.call(this);this.ha=new _.ul;this.wa=this.je=this.Ka=!1};_.J(BS,_.O);BS.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};BS.prototype.ma=function(){};BS.prototype.setActive=function(a){this.je=a;g$c(this)};var g$c=function(a){if(a.je&&!a.wa){var b=_.vl(a.ha);if(b)if(a.Ma()){do a.Ca(b);while(b=_.vl(a.ha))}else a.wa=!0,_.Gh(a.Qa(b),function(){a.wa=!1;g$c(a)})}};BS.prototype.Ca=function(){};BS.prototype.Qa=function(){};BS.prototype.Ma=function(){return!0};
BS.prototype.enqueue=function(a){try{var b=new _.Ih;this.ha.enqueue(new h$c(a,b));g$c(this);return b}catch(c){return _.Qh(_.LN(c))}};var h$c=function(a,b){this.V=a;this.H=b};h$c.prototype.getCommand=function(){return this.V};
var j$c=function(a){BS.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.oN(this.H.H)&&(this.W=new _.be(this),this.Pa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;XQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.nf();a.Xb&&1!=_.D(e,17,1)&&(d.push("iuEtc"),XQ(c,["mrK8ic"],function(){YQ(c,"iuEtc")}));XQ(c,d,function(){return i$c(b)})};_.J(j$c,BS);j$c.prototype.ma=function(){k$c(this)};
var i$c=function(a){if(1==a.H.tc.Lh().Gb())return Promise.resolve();var b=new _.xe;_.ze(b,!0);_.ye(b,301);var c=new _.CO;_.oSc(c,b);return l$c(a,c).then(null,function(d){d=_.kN(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},l$c=function(a,b,c){return a.H.Em().then(function(d){return d.H(b,c)}).then(function(d){var e=d.Lh(),f=e.getUser();if(f&&0==_.E(f,7))d=_.mN(a.H.H.Se()),d=Error("Pg`"+d+"`"+_.BG(f)),_.ak(d),DSc(a.H.ta,73301807),d=Promise.reject(d);else{f=a.H.tc;var h=0==f.Re()?1:6;
_.oN(a.H.H)&&w4c(a.V,e);h=W_c(f,e,h);(e=e.getMetadata())&&i1c(a.H,_.z(e,2),1);(d=_.z(d,4))&&j1c(a.H,d,!0);h&&a.dispatchEvent(new _.di("WPi0i"));d=Promise.resolve(new _.UP(f.Lh(),f.Re(),!1))}return d}).then(function(d){return d},function(d){d=_.kN(d);_.x(d,5,1);return Promise.reject(new _.qb("Error fetching account from server.",d))})};
j$c.prototype.Ca=function(a){var b=a.getCommand();if(b.xZa){var c={};b.XO&&(c.zaa=b.XO);l$c(this,b.jc,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Ed(e)})}else if(b=this.H.tc,c=b.Lh(),_.oN(this.H.H)){c=c.Lh();var d=c.getUser();d=V_c(this.V,_.BG(d));w4c(this.V,c);W_c(b,c,b.Re())&&this.dispatchEvent(new _.di("WPi0i"));a.H.callback(new _.UP(b.Lh(),b.Re(),d))}else c.Gb(),b=new _.UP(c,b.Re(),!0),a.H.callback(b)};
var k$c=function(a){var b=a.H.H.nf();_.m.setTimeout(function(){var c=new _.CO,d=new _.xe;_.ye(d,306);_.oSc(c,d);l$c(a,c).then(function(){return k$c(a)},function(){return k$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,3,72E5))};j$c.prototype.ka=function(a){var b=this.H.tc,c=b.Lh().Lh();c&&a.getPeople().find(function(d){return _.z(d,1)==_.BG(c.getUser())})&&(w4c(this.V,c),W_c(b,c,b.Re())&&this.dispatchEvent(new _.di("WPi0i")))};var m$c=function(a,b){this.jc=a;this.xZa=!!b;this.XO=null};
var o$c=function(a){BS.call(this);this.H=a;this.Yd=new _.be(this);this.Pa(this.Yd);this.Yd.listen(this.H.Yc,"Kb",_.Re(this.dispatchEvent,new _.di("Kb",this)));this.Ja=this.ka=!1;this.W=null;this.V=1;this.Ga=0;this.ta=null;n$c(this)};_.J(o$c,BS);
var n$c=function(a){var b=a.H.ha;XQ(b,["nVUlO"],function(){a.Ja=!0;a.setActive(!0)});if(!_.iP(a.H.H)){var c=_.D(a.H.H.nf(),18,1);XQ(b,["NSockf"],function(){1==c?p$c(a):a.setActive(!0)});2==c&&XQ(b,["mrK8ic"],function(){a.ka||p$c(a)})}},p$c=function(a){var b=new _.xe;_.ze(b,!0);_.ye(b,301);var c=new _.nO;_.iSc(c,b);_.x(c,1,1);q$c(a,c).Xf(function(){return null})},q$c=function(a,b,c){_.m.clearTimeout(a.Ga);a.Ga=0;var d=_.Fh();a.W=d.promise;_.Gh(a.W,function(){a.W=null;r$c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.nO;_.x(h,1,a.V);_.iSc(h,b.oe());a.H.Em().then(function(k){return k.H(h,c)}).then(function(k){a.ta=null;var l=a.H.Yc;l.ena(k,l.xy()?6:1);d.resolve()},function(k){a.V=e;k=_.MN(k);var l=k.eg;_.x(l,5,2);f?(_.iN(l,1),k.message="Initial app settings refresh failed.",_.x(k.eg,21,"Initial app settings refresh failed."),a.H.rb(l),a.setActive(!0)):(_.iN(l,2),k.message="Error occurred while loading the latest set of apps.",_.x(k.eg,21,"Error occurred while loading the latest set of apps."));
a.ta=k;d.reject(k)});return a.W};o$c.prototype.Ma=function(){return!1};
o$c.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.jc,e=c.S6,f=c.XO?{zaa:c.XO}:void 0;if(!s$c(d))return this.H.Em().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.RP(l,1,!1))},function(l){a.H.Ed(_.LN(l))}),_.Ah();c=_.Ah();var h=!1;this.W?t$c(this,d.getType())?e=this.W:c=e=new _.zh(function(l,n){b.W.then(function(){q$c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ja&&t$c(this,d.getType())&&!this.ta?(h=!0,e=_.Ah()):e=q$c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.Yc;k.callback(new _.RP(l.fna(),l.Re(),h))},function(l){k.Ed(l)});return c.then()};
var s$c=function(a){var b=a.getType();return 1==b||2==b||4==b?(b=_.z(a,4),a=_.z(a,3),!(b&&b.length)&&!(a&&a.length)):!1},t$c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},r$c=function(a){var b=a.H.H.nf(),c=new _.xe;_.ye(c,306);var d=new _.nO;_.x(d,1,1);_.iSc(d,c);a.Ga=_.m.setTimeout(function(){return void q$c(a,d)},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,4,72E5))},u$c=function(a,b){this.jc=a;this.S6=!!b;this.XO=null};
var v$c=function(a,b){this.ta=b;this.jc=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.Fh();this.W="";this.ka=this.ma=!1};v$c.prototype.ha=function(){this.ma||(this.ma=!0,w$c(this));return this.V.promise};var w$c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.BIc(a.jc,a.W);a.ta.then(function(c){return c.H(b)}).then(a.Ca.bind(a),a.wa.bind(a))}};v$c.prototype.Ca=function(a){(this.W=a.pageToken)?w$c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
v$c.prototype.wa=function(a){a=_.MN(a);var b=a.eg.Pi();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)};v$c.prototype.cancel=function(){this.ka=!0};
var y$c=function(a){BS.call(this);var b=this;this.H=a;this.ka=new _.be(this);this.Pa(this.ka);this.ka.listen(this.H.Ma,"WPi0i",function(){return b.dispatchEvent(new _.di("WPi0i"))});this.V=null;this.W=_.Fh();this.ta=_.Dj(this.H.H.nf(),30);x$c(this)};_.J(y$c,BS);
var x$c=function(a){var b=a.H.ha;XQ(b,["rkYxSd"],function(){return a.initialize()});XQ(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=_.D(a.H.H.nf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&XQ(b,["mrK8ic"],function(){YQ(b,"OZvrNc")}));!_.A(a.H.H,11,!1)&&_.A(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<z7c(a.H.Ma).Mw().length||(b.H("NSockf")?YQ(b,"DEJoH"):XQ(b,["NSockf"],function(){YQ(b,"DEJoH")}))},
12E3));XQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.cD,f=new _.xe;_.ze(f,!0);_.ye(f,301);_.R(e,1,f);z$c(a,e,A$c(a)).Xf(function(){a.initialize()})}})};y$c.prototype.ma=function(){var a="User prefs detected: "+z7c(this.H.Ma).Mw().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);B$c(this)};
var z$c=function(a,b,c,d){var e=new _.wIc(b,c),f=d?{zaa:d}:void 0;return a.H.Em().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ma;k1c(k,h.Mw(),k.xy()?6:1,c)}).then(null,function(h){h=_.MN(h);_.x(h.eg,5,4);0<a.ha.Zb()||a.H.rb(h.eg);a.V=h;throw h;})};
y$c.prototype.Ca=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.nc(this.H.Ma.H.keys())));c.V$.find(function(f){return!e.has(f)})&&(c.S6=!0);this.V?d.Ed(this.V):c.S6?_.Gh(this.W?this.W.promise:z$c(this,c.jc,A$c(this,c.V$),c.XO||void 0),function(){return C$c(b,d,c.V$,!1)}):C$c(this,d,c.V$,!0)};
var A$c=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.nc(a.ta),_.nc([].concat(_.nc(a.H.Ma.H.keys()))),_.nc(b)));return[].concat(_.nc(a.values()))},C$c=function(a,b,c,d){a=a.H.Ma.cG(c);b.callback(new _.TP(a.H,a.V,d))},B$c=function(a){var b=a.H.H.nf();_.m.setTimeout(function(){var c=new _.cD,d=new _.xe;_.ye(d,306);_.R(c,1,d);_.Gh(z$c(a,c,A$c(a)).Xf(_.Oe),function(){return B$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,5,72E5))},D$c=function(a,b,c){this.jc=a;this.V$=b;this.S6=!!c;this.XO=
null};
var SPc=function(a){rS.call(this,a);this.ka=this.ma=this.ta=null;this.rb=_.Fh();this.H=a.Em()};_.J(SPc,rS);_.g=SPc.prototype;_.g.Ewa=function(){this.Ga=new j$c(this.context);this.Pa(this.Ga);this.Ja=new o$c(this.context);this.Pa(this.Ja);this.Wa=new y$c(this.context);this.Pa(this.Wa)};
_.g.JEa=function(){var a=this,b=["hVFf7"];_.iP(this.context.H)&&b.push("BNEDtc");XQ(this.V,b,(0,_.K)(this.eBa,this));XQ(this.V,["T8oKm","ZA9qG"],(0,_.K)(this.gJa,this));XQ(this.V,["T8oKm","mrK8ic"],(0,_.K)(this.gJa,this));this.Yd.listen(this.Ga,"WPi0i",this.dna.bind(this,1));this.Yd.listen(this.Ja,"Kb",this.dna.bind(this,2));this.Yd.listen(this.Wa,"WPi0i",this.dna.bind(this,4));XQ(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.gJa=function(){PR(this.context).nb(function(a){a.start()})};
_.g.dna=function(a){_.ia(PSc,a)&&this.dispatchEvent(new K8c(a))};_.g.lV=function(a){if(!_.jP(this.context.H))throw sS("teamDriveQuery");return this.W.Bga(_.Vj(a))};_.g.ipa=function(a){BWc(this.context.ma,a,uSc(this.context.Ja));return this.W.yga(_.Vj(a))};_.g.tca=function(a){if(!_.jP(this.context.H))throw sS("teamDriveFindByIds");return this.W.Cga(_.Vj(a))};_.g.Nsa=function(a){return new v$c(a,this.context.Em())};
_.g.Oea=function(a,b){var c=this;if(this.ta&&_.Uj(this.ta.kd(),a))return this.ta;this.ta=new xS(_.Vj(a),this.context,this.oPa.bind(this),b);_.m.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.oPa=function(a,b,c){var d=new _.sIc(a,b,c);return _.Ph(this.H.then(function(e){return e.H(d)}).Xf(function(e){return _.NN(e)}))};_.g.zfa=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new J9c(a,this.context,this.CQa.bind(this));return this.ka};_.g.CQa=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).Xf(function(b){return _.NN(b)}))};
_.g.Wpa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Ah()};_.g.Vma=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}))};_.g.Zga=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}))};_.g.mpa=function(a,b){var c=this;if(this.ma&&_.Uj(this.ma.kd(),a))return R9c(this.ma),this.ma;this.ma=new zS(_.Vj(a),this.context,this.bgb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.bgb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?y4c(b.context.V.ma,c.sr().qJ(),a.kd().getId()).then(function(){return c}):c},_.NN)};_.g.Yka=function(a){var b=this;return _.Ph(this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?y4c(b.context.V.ma,[c.SY()],a.Hc()).then(function(){return c}):c},_.NN))};_.g.aha=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.Vfa=function(a){return this.W.pga(_.Vj(a))};_.g.Xfa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.yV=function(a){return this.H.then(function(b){return b.H(a)}).then(function(b){for(var c=[],d=_.u(a.V().entries()),e=d.next();!e.done;e=d.next()){var f=_.u(e.value);e=f.next().value;f=f.next().value;var h=new _.ZXc;f=_.x(h,1,f.toString());b[Number(e)].NR?f.Dc(1):(f.Dc(3),f.We(b[Number(e)].reason.eg));c.push(f)}b=new aYc;return _.Qj(b,1,c)},function(b){return _.NN(b)})};
_.g.Mpa=function(a){var b=this;return new A9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Xf(function(d){return _.NN(d)})})};_.g.Waa=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.$c=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.JO=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};
_.g.MA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.$c(a[d])),b.push(a[d].getId());a=new _.No(c);c=new _.Ih;a.nb(this.ORa.bind(this,c,b));return c};_.g.rga=function(){return new T9c(this.context.H,this.context.Qa,this.context.lc.W,this.context.Em(),this.context.Ec,this.context.W,void 0,this.context.ta)};
_.g.OT=function(a,b){var c=this,d=_.qg();this.ha.create(d,a);3==a.getType()?a=rS.prototype.OT.call(this,a).nb(function(e){return new _.RP(e,1,!1)}):(YQ(this.V,"Qubz4b"),a=this.Ja.enqueue(new u$c(a,b)));return a.nb(function(e){a4c(c.ha,d,e);return e.response}).De(function(){VR(c.ha,d)})};_.g.Wma=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.$ka=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.Yga=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.t$=function(a){return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.zS=function(a,b){var c=this;YQ(this.V,"iuEtc");var d=_.qg();this.ha.create(d,a);return this.Ga.enqueue(new m$c(a,b)).nb(function(e){a4c(c.ha,d,e);return e.response}).De(function(){VR(c.ha,d)})};
_.g.cG=function(a,b){var c=this,d=_.Dj(this.context.H.nf(),30);if(!d||0==d.length)return _.Qh(new _.qb("getUserPrefs requires a namespace.",_.KN(3)));var e=_.qg();this.ha.create(e,a);YQ(this.V,"OZvrNc");return this.Wa.enqueue(new D$c(a,d,b)).nb(function(f){a4c(c.ha,e,f);return f.response}).De(function(){VR(c.ha,e)})};_.g.$ma=function(a){W9c(_.Dj(this.context.H.nf(),30),a);return _.Ph(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.Xma=function(a){var b=this;return _.Ph(this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?x4c(b.context.V.ma,c):c},_.NN))};_.g.Xta=function(a){return this.W.Ega(_.Vj(a))};_.g.dda=function(a){return this.W.Dga(_.Vj(a))};_.g.Fsa=function(a){var b=this;return new B9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).Xf(function(d){return _.NN(d)})})};_.g.kca=function(a){return this.W.zga(_.Vj(a))};_.g.Tma=function(a){S3c(this.context.V,[a])};
_.g.z5=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.Yma=function(a){if(1!=_.hP(this.context.H))return Promise.reject(Error("Mg"));for(var b=_.u(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Hc())return Promise.reject(Error("Ng"));if(!c.Mz()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.V.ta(a);a=this.context.V;zR(a.H).ka();iXc(a.ha);return Promise.resolve()};_.g.Zma=function(){return this.context.lc.H()};
_.g.zA=function(a){var b=this;return this.context.zA(a).then(function(c){return c?(b.context.ka.zA(a),b.context.wa.a3()):_.Ah(!a)})};_.g.bna=function(a){N7c(this.context).W(a);this.zA(!!a)};_.g.xO=function(){PR(this.context).nb(function(a){a&&a.Z9a()});Y_c(this.context.yh)};_.g.ana=function(a){a.Fk(this.context)};_.g.ORa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;zR(b.H).ka();iXc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.Ch([this.context.Je.promise,this.context.Ps.promise]).then(function(){return a.context.wa.a3()}).then()};_.g.R_=function(){PR(this.context).nb(function(a){a&&a.dispose()});return rS.prototype.R_.call(this)};_.g.qoa=function(){return this.rb.promise};
var E$c=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Reload</button>")};
_.Ao({id:_.lk,callback:function(a){var b=_.qOc(a),c=VPc(a),d=_.C(a.get(_.el),_.$a,10);_.NJc(d,b);_.x(d,28,c||[]);b=TPc(a,d);a.registerService(_.mk,b.tY());_.Fd(b,"VbxEwf",function(){var e={};_.Bb(_.ky.getService(a),new _.Pq(new _.Oq(E$c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.r();

}catch(e){_._DumpException(e)}
try{
var F$c,K$c,M$c;F$c=[3];_.CS=function(a){_.Q(this,a,0,-1,F$c,null)};_.L(_.CS,_.P);_.CS.prototype.getType=function(){return _.z(this,1)};_.CS.prototype.Hc=function(){return _.z(this,2)};_.G$c=function(a,b){return _.x(a,2,b)};_.CS.prototype.V=function(){return _.Oj(this,_.CS,3)};_.H$c=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.H$c,_.P);_.H$c.prototype.getFeature=function(){return _.z(this,1)};_.I$c=function(a,b){return _.x(a,1,b)};_.H$c.prototype.V=function(){return _.C(this,_.CS,2)};
_.J$c=function(a,b){return _.R(a,2,b)};K$c=[1];_.wP=function(a){_.Q(this,a,0,-1,K$c,null)};_.L(_.wP,_.P);_.wP.prototype.V=function(){return _.Oj(this,_.H$c,1)};_.L$c=function(a,b){return _.Qj(a,1,b)};M$c=[1,2];_.dS=function(a){_.Q(this,a,0,-1,M$c,null)};_.L(_.dS,_.P);_.dS.prototype.V=function(){return _.z(this,1)};_.N$c=function(a,b){return _.x(a,1,b||[])};_.dS.prototype.ZM=function(){return _.Oj(this,_.uG,2)};_.O$c=function(a,b){return _.Qj(a,2,b)};
_.dS.prototype.oe=function(){return _.C(this,_.xe,3)};_.P$c=function(a,b){return _.R(a,3,b)};_.p("RsR2Mc");

_.r();

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