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

_.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)(_.bm("f","",!1)(_.Xl({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)(_.$qa({color:"#FFFFFF",Ya:a.Ya,size:a.size},b))});_.U("g","",1,function(a,b){var c=a.color,d=a.am;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">'+_.bm("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)(_.qm({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{
_.lhb=function(a,b,c){var d=new _.Uva;b.TW&&_.x(d,2,b.TW);b.rI&&0<=b.rI&&_.x(d,1,b.rI);b.kE&&_.x(d,3,b.kE);_.SCa(a,d);c&&(b=new _.Wva,_.x(b,1,c),_.TCa(a,b))};_.mhb=function(a,b,c,d){var e=_.Bd.getService(a);a=_.Iz(e,a,c);_.lhb(a.H.H,b,d);e.V(a)};_.p("em3");

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy12h");
_.PEc=[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];_.QEc=[90,59,75];_.REc=_.qa(_.PEc,_.QEc);

_.r();

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

_.PEc.push(210);_.PEc.push(210);_.REc.push(210);

_.r();

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


_.r();

}catch(e){_._DumpException(e)}
try{
var kob;_.job=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.job,_.P);kob=[4,5,6,7];_.zC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.zC,_.P);_.zC.prototype.Ub="JmcaR";_.zC.prototype.Gb=function(){return _.z(this,1)};_.zC.prototype.Ec=function(a){return _.x(this,1,a)};_.zC.prototype.qZ=function(){return _.z(this,2)};_.lob=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lob,_.P);_.lob.prototype.Ub="dvhrqe";_.lob.prototype.V=function(){return _.E(this,1)};_.mob=function(a){_.Q(this,a,0,-1,kob,null)};
_.L(_.mob,_.P);_.mob.prototype.V=function(){return _.C(this,_.ey,1)};_.mob.prototype.qD=function(){return _.C(this,_.zC,8)};_.mob.prototype.W=function(){return _.C(this,_.lob,9)};_.p("synp");
_.BC=function(a){_.Q(this,a,0,-1,nob,null)};_.L(_.BC,_.P);var nob=[2];_.BC.prototype.getUser=function(){return _.C(this,_.wk,1)};_.BC.prototype.getMetadata=function(){return _.C(this,_.mob,3)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.yC=function(a){return a.H.ha?a.H.wj(_.DBa):!1};_.p("synq");

_.r();

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

_.r();

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

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

_.r();

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

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

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.fmb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fmb,_.P);_.fmb.prototype.lB=function(){return _.C(this,_.ppa,1)};_.gmb=function(a){var b=new _.fmb;return _.R(b,1,a)};_.mC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.mC,_.P);_.g=_.mC.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.Sd=function(a){return _.x(this,5,a)};_.g.Rn=function(){return null!=_.z(this,5)};_.pC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.pC,_.P);_.pC.prototype.V=function(){return _.z(this,1)};_.pC.prototype.Gb=function(){return _.z(this,2)};_.pC.prototype.Ec=function(a){return _.x(this,2,a)};_.pC.prototype.W=function(){return _.z(this,3)};_.p("sysd");
_.imb=function(a){_.Q(this,a,0,-1,hmb,null)};_.L(_.imb,_.P);var hmb=[1];_.imb.prototype.V=function(){return _.z(this,1)};
_.kmb=function(a){_.Q(this,a,0,-1,jmb,null)};_.L(_.kmb,_.P);var jmb=[1];_.kmb.prototype.V=function(){return _.Rj(this,_.pC,1)};
_.mmb=function(a){_.Q(this,a,0,-1,lmb,null)};_.L(_.mmb,_.P);var lmb=[1];_.mmb.prototype.V=function(){return _.Rj(this,_.kmb,1)};_.mmb.prototype.addResult=function(a,b){return _.Uj(this,1,a,_.kmb,b)};
_.nmb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.nmb,_.P);_.nmb.prototype.W=function(){return _.C(this,_.mmb,1)};_.nmb.prototype.V=function(){return _.C(this,_.imb,2)};
_.qC=function(a){_.Q(this,a,0,-1,omb,null)};_.L(_.qC,_.P);var omb=[2,14,18];_.g=_.qC.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.Bd=function(){return _.Rj(this,_.Hk,2)};_.g.Ew=function(a){return _.Tj(this,2,a)};_.g.Rf=function(a,b){return _.Uj(this,2,a,_.Hk,b)};_.g.Zj=function(){return _.z(this,3)};_.g.Tha=function(){return _.A(this,5,!0)};_.g.KX=function(){return _.C(this,_.nmb,7)};_.g.Uha=function(){return _.E(this,8)};
_.g.KF=function(){return _.C(this,_.fmb,10)};_.g.JI=function(a){return _.R(this,10,a)};_.g.getSessionId=function(){return _.C(this,_.Hl,11)};_.g.setSessionId=function(a){return _.R(this,11,a)};_.g.LX=function(){return _.z(this,17)};_.g.NX=function(a){return _.x(this,17,a)};_.g.Re=function(){return _.z(this,12)};_.g.MX=function(a){return _.x(this,12,a)};_.g.Tm=function(){return _.z(this,15)};_.g.R7=function(){return _.z(this,18)};

_.r();

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

_.r();

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

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.uE=function(a,b,c){_.N.call(this);this.us=null!=c?(0,_.K)(a,c):a;this.ma=b;this.Rg=(0,_.K)(this.s0a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.L(_.uE,_.N);_.g=_.uE.prototype;_.g.ue=function(a){this.ka=arguments;this.V=!1;this.H?this.ha=_.Ve()+this.ma:this.H=_.si(this.Rg,this.ma)};_.g.stop=function(){this.H&&(_.ti(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.us.apply(null,this.ka)))};_.g.ab=function(){this.stop();_.uE.mb.ab.call(this)};_.g.s0a=function(){this.ha?(this.H=_.si(this.Rg,this.ha-_.Ve()),this.ha=null):(this.H=null,this.W?this.V=!0:(this.V=!1,this.us.apply(null,this.ka)))};

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syvp");
_.GG=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.GG,_.P);_.GG.prototype.Hc=function(){return _.z(this,1)};_.zNb=function(a){var b=new _.GG;return _.x(b,1,a)};_.GG.prototype.oh=function(){return _.z(this,2)};_.GG.prototype.Gi=function(a){return _.x(this,2,a)};_.GG.prototype.oe=function(){return _.C(this,_.Ae,3)};

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.wG=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.wG,_.P);_.wG.prototype.getName=function(){return _.z(this,1)};_.wG.prototype.zd=function(a){return _.x(this,1,a)};_.wG.prototype.oe=function(){return _.C(this,_.Ae,2)};_.p("syw0");
_.xG=function(a){_.Q(this,a,0,-1,wMb,null)};_.L(_.xG,_.P);var wMb=[5,6,9,10,12,13,15,16];_.xG.prototype.getId=function(){return _.z(this,1)};_.xG.prototype.kc=function(a){return _.x(this,1,a)};_.xG.prototype.vy=function(){return _.z(this,2)};
_.yG=function(a){_.Q(this,a,0,-1,xMb,null)};_.L(_.yG,_.P);var xMb=[2,4];_.yG.prototype.Nk=function(){return _.z(this,1)};_.yMb=function(a,b){return _.x(a,1,b)};

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.UH=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ua=d||2};_.UH.prototype.V=0;_.UH.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.UH.prototype.yb=function(){return this.W};_.VH=function(a){a.H=Math.min(a.ha,a.H*a.ua);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("syyf");
var OZb=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 PZb=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],J=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+J+T+v[y]&4294967295;J=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]+J&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 RZb=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)}),QZb(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=_.ka(f)?[c,b,a]:[f.join(":"),c,b,a];_.Fa(d,function(k){e.push(k)});a=QZb(e.join(" "));a=[c,a];_.ka(h)||a.push(h.join(""));return a.join("_")},QZb=function(a){var b=PZb();b.update(a);return b.digestString().toLowerCase()};
_.SZb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.ycb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.TZb=function(a){var b=OZb(String(_.m.location.href));if(_.SZb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.ycb(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,RZb(OZb(d),c,a||null)].join(" "):null}}return null};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syye");
_.UZb=function(a,b,c){_.Ni(a.url,function(d){d=d.target;_.Pi(d)?b(_.Qi(d)):c(d.Gb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};
_.VZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.VZb,_.P);_.VZb.prototype.Ji=function(){return _.z(this,7)};
_.WZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WZb,_.P);_.Zj[66321687]=new _.Ej(66321687,_.WZb);
var XZb;_.WH=function(a){_.Q(this,a,0,30,XZb,null)};_.L(_.WH,_.P);XZb=[3,20,27];_.XH=function(a,b){return _.x(a,8,b)};
var ZZb=function(a){_.Q(this,a,0,17,YZb,null)};_.L(ZZb,_.P);var YZb=[3,5],$Zb=function(a){var b=_.Ve().toString();return _.x(a,4,b)},a_b=function(a,b){return _.Tj(a,3,b)},b_b=function(a,b){return _.x(a,14,b)};
var d_b=function(a){_.Q(this,a,0,6,c_b,null)};_.L(d_b,_.P);var c_b=[5];
var e_b=function(a){_.Q(this,a,0,-1,null,null)};_.L(e_b,_.P);
var f_b=new _.Ej(175237375,e_b);
var h_b;
_.YH=function(a,b,c,d,e,f,h,k,l,n,q){_.O.call(this);this.Rd=a;this.tc=b||_.Se;this.W=new ZZb;this.Qa="";this.Pd=d;this.Fc=q;this.H=[];this.Xb="";this.Se=_.Ue(_.dha,0,1);this.wa=e||null;this.Ga=c||null;this.Xa=h||!1;this.Ma=l||null;this.Kc=this.ad=this.ha=!1;this.lc=this.hb=-1;this.Db=!1;this.ka=null;this.ne=!k;this.Ba=null;this.Ka=0;this.Ie=1;this.Ib=f||!1;this.rb=!1;this.od=!this.Ib&&(_.ij.Jo&&_.Ig(65)||_.ij.Uu&&_.Ig(45)||_.ij.Ps&&_.Ig(12)||_.xg()&&0<=_.hf(_.Gga(),12))&&!!_.ge()&&!!_.ge().navigator&&!!_.ge().navigator.sendBeacon;
a=_.x(new _.WZb,1,1);f||(f=new _.VZb,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 _.UH(1E4,3E5,.1);this.V=new _.ri(this.ma.yb());this.Pa(this.V);_.sd(this.V,"tick",_.gfa(g_b(this,n)),!1,this);this.Ja=new _.ri(6E5);this.Pa(this.Ja);_.sd(this.Ja,"tick",_.gfa(g_b(this,n)),!1,this);this.Xa||this.Ja.start();this.Ib||(_.sd(_.ge(),"beforeunload",this.ua,!1,this),_.sd(_.ge(),"unload",this.ua,!1,this),_.sd(document,"pagehide",this.ua,
!1,this))};_.L(_.YH,_.O);var g_b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.YH.prototype.ab=function(){this.ua();_.YH.mb.ab.call(this)};h_b=function(a){a.wa||(a.wa=.01>a.Se()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.i_b=function(a){a.ad=a.od};_.j_b=function(a,b){a.ma=new _.UH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.yb())};
_.YH.prototype.log=function(a){a=_.Yj(a);var b=this.Ie++;_.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=_.Yj(this.ka),_.R(a,16,b));for(;1E3<=this.H.length;)this.H.shift(),++this.Ka;this.H.push(a);this.dispatchEvent(new k_b(a));this.Xa||this.V.enabled||this.V.start()};
_.YH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)l_b(this);else{var d=_.Ve();if(this.lc>d&&this.hb<d)b&&b("throttled");else{var e=b_b(a_b($Zb(_.Yj(this.W)),this.H),this.Ka);d={};var f=this.tc();f&&(d.Authorization=f);var h=h_b(this);this.Ga&&(d["X-Goog-AuthUser"]=this.Ga,h=_.Ii(h,"authuser",this.Ga));this.Ma&&(d["X-Goog-PageId"]=this.Ma,h=_.Ii(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.Dc(),l;this.Ba&&this.Ba.V(k.length)&&(l=this.Ba.H(k));var n={url:h,body:k,SQa:1,requestHeaders:d,requestType:"POST",withCredentials:this.ne,timeoutMillis:0},q=(0,_.K)(function(y){this.ma.reset();this.V.setInterval(this.ma.yb());if(y){try{var B=JSON.parse(y.replace(")]}'\n",""));var F=new d_b(B)}catch(M){}F&&(y=_.D(F,1,"-1"),y=Number(y),0<y&&(this.hb=_.Ve(),this.lc=this.hb+y),F=_.Wj(F,f_b))&&(F=_.D(F,1,-1),-1!=F&&(this.Db||_.j_b(this,F)))}a&&a()},this),t=(0,_.K)(function(y){var B=
_.Rj(e,_.WH,3);_.VH(this.ma);this.V.setInterval(this.ma.yb());401==y&&f&&(this.Xb=f);if(500<=y&&600>y||401==y||0==y)this.H=B.concat(this.H),this.Xa||this.V.enabled||this.V.start();b&&b("net-send-failed",y)},this),v=function(){c.Fc?c.Fc.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.SQa=2;v()},function(){v()}):v()}}}};
_.YH.prototype.ua=function(){this.ha||(this.ad&&l_b(this),this.Kc&&m_b(this),this.flush())};
var l_b=function(a){n_b(a,32,10,function(b,c){b=_.Ii(b,"format","json");b=_.ge().navigator.sendBeacon(b,c.Dc());a.rb&&!b&&(a.rb=!1);return b})},m_b=function(a){n_b(a,6,5,function(b,c){b=_.Hi(b,"format","base64json","p",_.kj(c.Dc(),3));_.eg(new Image,b);return!0})},n_b=function(a,b,c,d){if(0!=a.H.length){var e=_.hka(h_b(a),"format");e=_.Hi(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=a_b($Zb(_.Yj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
k_b=function(){this.type="event-logged"};_.L(k_b,_.gi);
_.ZH=function(a,b,c,d,e,f,h){_.YH.call(this,a,_.TZb,b,_.UZb,c,d,e,void 0,f,h)};_.I(_.ZH,_.YH);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy10l");
_.SEc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SEc,_.P);_.g=_.SEc.prototype;_.g.getKey=function(){return _.z(this,1)};_.g.yb=function(){return _.z(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.Cl=function(){return _.x(this,2,void 0)};_.g.Th=function(){return null!=_.z(this,2)};
_.TEc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.UEc=_.Xea(_.TEc);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.VEc=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{
_.PM=function(a,b){return _.x(a,4,b)};_.WEc=function(a,b){_.x(a,11,b)};_.QM=function(a,b){return _.x(a,25,b)};_.XEc=function(a,b,c,d,e,f){var h=new _.Si(null,void 0);a&&_.Ti(h,a);b&&(h.ka=b);c&&_.Ui(h,c);d&&_.Vi(h,d);e&&_.Wi(h,e);f&&_.Xi(h,f);return h};_.p("sy10w");
/*

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

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.$Ec=function(a){_.O.call(this);this.Kd=a||_.Ug();if(this.eB=this.UZa())this.H=_.sd(this.Kd.Yb(),this.eB,(0,_.K)(this.x0a,this))};_.L(_.$Ec,_.O);_.g=_.$Ec.prototype;_.g.UZa=_.Lba(function(){var a=!!this.OY(),b="hidden"!=this.OY();if(a){var c;b?c=((_.tFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.OY=_.Lba(function(){return ZEc("hidden",this.Kd.Yb())});_.g.k0a=_.Lba(function(){return ZEc("visibilityState",this.Kd.Yb())});_.g.VJ=function(){return!!this.Kd.Yb()[this.OY()]};
_.g.x0a=function(){var a=this.OY()?this.Kd.Yb()[this.k0a()]:null;a=new aFc(this.VJ(),a);this.dispatchEvent(a)};_.g.ab=function(){_.pi(this.H);_.$Ec.mb.ab.call(this)};var aFc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(aFc,_.gi);

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
var iFc;_.UM=function(a){return a instanceof Error};_.VM=function(a){var b={};_.jf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.gFc=function(a){return(a=a&&_.VM(a))&&a["x-guploader-uploadid"]};_.hFc=function(a){return(a=a&&_.VM(a))&&a["x-google-trace"]};iFc=[6];_.WM=function(a){_.Q(this,a,0,-1,iFc,null)};_.L(_.WM,_.P);_.XM=function(a,b){return _.x(a,14,b)};_.p("sy11l");
_.jFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.jFc,_.P);
_.YM=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.YM,_.P);_.YM.prototype.getOptions=function(){return _.C(this,_.jFc,1)};_.YM.prototype.Tm=function(){return _.z(this,2)};_.YM.prototype.kd=function(){return _.C(this,_.se,3)};
_.kFc=function(a){_.Q(this,a,0,-1,null,_.ZM)};_.L(_.kFc,_.P);_.ZM=[[3,4,5,6,7,8,9,10]];
var lFc,nFc;
_.mFc=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=lFc(e)||new _.qb;_.x(e,8,!0);k&&(k=_.Xi(new _.Si(k),void 0).toString(),_.x(e,19,k));e.cB()||_.x(e,15,a||f);e.getMessage()||_.Fq(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.z(e,4)||_.Gq(e,d);e.Qi()||(5==f?_.XM(e,7):0!=a||d?403==a?_.XM(e,22):503==a||429==a?_.XM(e,24):(_.x(e,14,void 0),_.x(e,10,1),_.x(e,8,!0)):l||_.XM(e,2));e.h2(_.gFc(c));e.T1(_.hFc(c));
return e};lFc=function(a){if(!_.wa(a))return null;var b=new _.qb,c=a.error;if(!c)return _.Gq(b,JSON.stringify(a)),null;_.x(b,15,c.code);_.Fq(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=nFc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.Gq(b,a);return b};
nFc={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{
_.$M=function(a){return _.A(a,5,!1)};_.oFc=function(a){var b=_.Uja(a);if("undefined"==typeof b)throw Error("V");var c=new _.aj(null,void 0);a=_.wi(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.Gka(c,e,f):c.add(e,f)}return c};_.p("sy11s");

_.r();

}catch(e){_._DumpException(e)}
try{
var pFc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.qea);try{delete a[_.qea]}catch(b){}},aN=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++)pFc(c[a]);return b.join("")};_.p("sy124");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var cN,rFc,qFc;_.bN=function(a,b,c){if("number"===typeof a)var d={name:qFc(a)};else d=a,a=rFc(a.name);this.code=a;this.V=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.aa.call(this,b)};_.L(_.bN,_.aa);_.bN.prototype.getName=function(){return this.V.name||""};cN={POa:1,qOa:2,NOT_FOUND_ERR:3,DNa:4,HNa:5,rOa:6,LOa:7,ABORT_ERR:8,COa:9,FAb:10,TIMEOUT_ERR:11,zOa:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.sFc=(_.m.AC||_.m.SE||cN).POa;_.tFc=(_.m.AC||_.m.SE||cN).qOa;_.uFc=(_.m.AC||_.m.SE||cN).NOT_FOUND_ERR;
_.vFc=(_.m.AC||_.m.SE||cN).DNa;_.wFc=(_.m.AC||_.m.SE||cN).HNa;_.xFc=(_.m.AC||_.m.SE||cN).rOa;_.yFc=(_.m.AC||_.m.SE||cN).LOa;_.zFc=(_.m.AC||_.m.SE||cN).ABORT_ERR;_.AFc=(_.m.AC||_.m.SE||cN).COa;_.BFc=(_.m.AC||_.m.SE||cN).TIMEOUT_ERR;_.CFc=(_.m.AC||_.m.SE||cN).zOa;_.DFc=(_.m.DOMException||cN).INVALID_ACCESS_ERR;_.EFc=(_.m.DOMException||cN).INVALID_STATE_ERR;
rFc=function(a){switch(a){case "UnknownError":return _.sFc;case "NotFoundError":return _.uFc;case "ConstraintError":return _.vFc;case "DataError":return _.wFc;case "TransactionInactiveError":return _.yFc;case "AbortError":return _.zFc;case "ReadOnlyError":return _.AFc;case "TimeoutError":return _.BFc;case "QuotaExceededError":return _.CFc;case "InvalidAccessError":return _.DFc;case "InvalidStateError":return _.EFc;default:return _.sFc}};
qFc=function(a){switch(a){case _.sFc:return"UnknownError";case _.uFc:return"NotFoundError";case _.vFc:return"ConstraintError";case _.wFc:return"DataError";case _.yFc:return"TransactionInactiveError";case _.zFc:return"AbortError";case _.AFc:return"ReadOnlyError";case _.BFc:return"TimeoutError";case _.CFc:return"QuotaExceededError";case _.DFc:return"InvalidAccessError";case _.EFc:return"InvalidStateError";default:return"UnknownError"}};
_.dN=function(a,b){return"error"in a?new _.bN(a.error,b):new _.bN({name:"UnknownError"},b)};_.eN=function(a,b){if("name"in a)return b=b+": "+a.message,new _.bN(a,b);if("code"in a){var c=qFc(a.code);b=b+": "+a.message;return new _.bN({name:c},b)}return new _.bN({name:"UnknownError"},b)};
_.fN=function(a){this.H=a};_.FFc=_.m.IDBKeyRange||_.m.webkitIDBKeyRange;_.fN.prototype.range=function(){return this.H};
var GFc=function(a){this.H=a};GFc.prototype.getName=function(){return this.H.name};var HFc=function(a,b,c,d){var e=new _.Mh;try{var f=a.H[b](d)}catch(h){return c+=" with key "+aN(d),e.Dd(_.eN(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+aN(d);e.Dd(_.dN(h.target,c))};return e};GFc.prototype.get=function(a){return HFc(this,"get","getting from index "+this.getName(),a)};
GFc.prototype.getKey=function(a){return HFc(this,"getKey","getting key from index "+this.getName(),a)};GFc.prototype.getAll=function(a,b){return _.IFc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.IFc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.fN?d.H:(new _.fN(_.FFc.only(d))).H;var h=new _.Mh;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?aN(f):"<all>"),h.Dd(_.eN(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?aN(f):"<all>");h.Dd(_.dN(l.target,c))};return h};
var gN=function(a){this.H=a},JFc;gN.prototype.getName=function(){return this.H.name};JFc=function(a,b,c,d,e){var f=new _.Mh;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=aN(d),e&&(c+=", with key "+aN(e)),f.Dd(_.eN(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=aN(d);e&&(c+=", with key "+aN(e));f.Dd(_.dN(k.target,c))};return f};_.KFc=function(a,b,c){return JFc(a,"put","putting into "+a.getName()+" with value",b,c)};
gN.prototype.add=function(a,b){return JFc(this,"add","adding into "+this.getName()+" with value ",a,b)};gN.prototype.remove=function(a){var b=new _.Mh;try{var c=this.H["delete"](a instanceof _.fN?a.H:a)}catch(e){return c="removing from "+this.getName()+" with key "+aN(a),b.Dd(_.eN(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+aN(a);b.Dd(_.dN(e.target,f))};return b};
gN.prototype.get=function(a){var b=new _.Mh;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+aN(a),b.Dd(_.eN(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 "+aN(a);b.Dd(_.dN(e.target,f))};return b};gN.prototype.getAll=function(a,b){return LFc(this,"getting all from index "+this.getName(),a,b)};
var LFc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.fN?c.H:(new _.fN(_.FFc.only(c))).H;var f=new _.Mh;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?aN(e):"<all>"),f.Dd(_.eN(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?aN(e):"<all>");f.Dd(_.dN(k.target,b))};return f};
gN.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.Mh;try{var c=this.H.clear()}catch(d){return b.Dd(_.eN(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Dd(_.dN(d.target,a))};return b};_.MFc=function(a,b,c){try{a.H.createIndex(b,c,void 0)}catch(d){throw _.eN(d,"creating new index "+b+" with key path "+c);}};gN.prototype.getIndex=function(a){try{return new GFc(this.H.index(a))}catch(b){throw _.eN(b,"getting index "+a);}};
gN.prototype.count=function(a){var b=new _.Mh;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.Dd(_.dN(e.target,d.getName()))}}catch(e){b.Dd(_.eN(e,this.getName()))}return b};
var NFc=function(a,b){_.O.call(this);this.H=a;this.V=b;this.Mb=new _.ee(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.u0a)};_.L(NFc,_.O);_.g=NFc.prototype;_.g.u0a=function(a){a.target instanceof _.bN?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.dN(a.target,"in transaction")})};_.g.Nh=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new gN(this.H.objectStore(a))}catch(b){throw _.eN(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.eN(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.Mh;_.Id(this,"complete",(0,_.K)(a.callback,a));var b=_.Id(this,"abort",function(){_.pi(c);a.Dd(new _.bN(_.zFc,"waiting for transaction to complete"))});var c=_.Id(this,"error",function(e){_.pi(b);a.Dd(e.target)});var d=this.V;return a.nb(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.ab=function(){NFc.mb.ab.call(this);this.Mb.dispose()};
var OFc=function(a){_.O.call(this);this.H=a;this.Mb=new _.ee(this);this.Mb.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Mb.listen(this.H,"error",this.t0a);this.Mb.listen(this.H,"versionchange",this.wUa);this.Mb.listen(this.H,"close",(0,_.K)(this.dispatchEvent,this,"close"))};_.L(OFc,_.O);_.g=OFc.prototype;_.g.gka=!0;_.g.t0a=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.wUa=function(a){this.dispatchEvent(new PFc(a.oldVersion,a.newVersion))};_.g.close=function(){this.gka&&(this.H.close(),this.gka=!1)};_.g.Di=function(){return this.gka};_.g.getName=function(){return this.H.name};_.QFc=function(a,b,c){try{return new gN(a.H.createObjectStore(b,c))}catch(d){throw _.eN(d,"creating object store "+b);}};_.hN=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new NFc(d,a)}catch(e){throw _.eN(e,"creating transaction");}};
OFc.prototype.ab=function(){OFc.mb.ab.call(this);this.Mb.dispose()};var PFc=function(a,b){_.gi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.L(PFc,_.gi);
_.RFc=_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB;_.SFc=function(a,b,c,d){var e=new _.Mh;b=b?_.RFc.open(a,b):_.RFc.open(a);b.onsuccess=function(f){f=new OFc(f.target.result);e.callback(f)};b.onerror=function(f){e.Dd(_.dN(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new OFc(f.target.result);c(new PFc(f.oldVersion,f.newVersion),h,new NFc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new PFc(f.oldVersion,f.newVersion))};return e};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy125");
_.TFc=function(a){this.V=a};_.TFc.prototype.H=function(a){a=_.XH(new _.WH,a.Dc());this.V.log(a);return new _.Eh(function(b){this.V.flush(b,function(){b()})}.bind(this))};
_.UFc=function(a){this.V=a;_.i_b(this.V)};_.UFc.prototype.H=function(a){a=_.XH(new _.WH,a.Dc());this.V.log(a);this.V.ua()};

_.r();

}catch(e){_._DumpException(e)}
try{
var VFc=function(a){_.Q(this,a,0,-1,null,null)},fGc;_.L(VFc,_.P);var WFc=[3,42],XFc=function(a){_.Q(this,a,0,-1,WFc,null)};_.L(XFc,_.P);XFc.prototype.Rb=function(){return _.z(this,27)};var YFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(YFc,_.P);var ZFc=[2],$Fc=function(a){_.Q(this,a,0,-1,ZFc,null)};_.L($Fc,_.P);var aGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aGc,_.P);var bGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(bGc,_.P);var cGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cGc,_.P);
var eGc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.Yza.length;a++){var b=_.Yza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;dGc(this,b);break}}},dGc=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})};
eGc.prototype.H=function(a){if(this.ma&&this.W){var b=_.C(a,_.Na,2)||new _.Na,c=_.C(a,_.qp,5)||new _.qp,d=_.C(a,_.pp,3)||new _.pp;a=_.Rj(a,_.eza,1);a=_.u(a);for(var e=a.next();!e.done;e=a.next())this.V.postMessage({detail:{impression:e.value.Dc(),session_info:b.Dc(),session_invariants:c.Dc(),client_info:d.Dc()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.ha,clientY:this.ka}}))}};fGc=function(a){this.H=a};_.gGc=function(a){this.Nd=a};_.gGc.prototype.getId=function(){return this.Nd};
_.p("sy11v");
var hGc=function(){_.Tp.call(this)};_.I(hGc,_.Tp);hGc.prototype.rs=function(){return 1==_.z(_.C(this.H,VFc,7),1)};var iGc=new _.Pp("high_frequency_builder");
var jGc=function(a,b,c){a=new _.ri(a);c.Pa(a);var d=new _.ee(c);c.Pa(d);d.listen(a,"tick",b);a.start()};
var kGc=function(){_.Tp.call(this)};_.I(kGc,_.Tp);var lGc=function(a,b,c){var d=1E3*_.Ve();if(0==b){b=new _.cp;var e=new _.Oya;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 _.cp,e=new _.Pya,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},mGc=new _.Pp("system_builder");
var nGc=function(a,b){_.N.call(this);this.V=a;this.H=new _.$Ec(b);this.Pa(this.H);this.Mb=new _.ee(this);this.Pa(this.Mb);this.H.OY()&&this.Mb.listen(this.H,"visibilitychange",this.W)};_.I(nGc,_.N);nGc.prototype.W=function(){if(this.V.KO()){var a=this.H.VJ()?102001:102E3;a=this.V.SD(a,0);this.V.bp(a)}};
var oGc=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};_.I(oGc,_.N);_.g=oGc.prototype;_.g.bp=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.ue();return new fGc(a)};_.g.SD=function(a,b){a=lGc(pGc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.TG=function(){return this.H.V};
_.g.MF=function(a){var b=this.H,c=_.Up(a,mGc),d=b.ka++,e=_.C(_.C(c.H,_.cp,8),_.Pya,2),f=1E3*_.Ve();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.z(a.H,12))};_.g.pU=function(){var a=this.V;if(!a.ka||a.H.W){var b=qGc(a.H,691).build();b=rGc(a.H,[b]);a.ua.H(b)}a.ha();this.H.ua=!1;this.W&&(_.gc(this.W),this.W=null)};_.g.qU=function(){var a=this.H,b=qGc(a,716);sGc(a,b);b=b.build();a.H.add(b);a.Ba=!0;a.ua=!0;this.V.initialize();this.V.V.ue();this.ha&&(this.W=new nGc(this))};_.g.e7=function(){this.V.ha();return _.Ih(Array.from(this.V.W)).then()};
_.g.KO=function(){var a=this.H;return a.Ba&&a.ua&&!0};
var tGc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.Ba=b;this.ua=c;this.V=new _.RM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.I(tGc,_.N);tGc.prototype.initialize=function(){jGc(this.wa,this.V.ue,this.V);jGc(36E5,this.ma,this)};tGc.prototype.ha=function(){var a=this;if(0!=this.H.H.Zb()&&(!this.ka||this.H.W)){var b=uGc(this.H),c=this.Ba.H(b);c&&(_.Kh(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
tGc.prototype.ma=function(){var a=this.H,b=qGc(a,1153).build();a.H.add(b);this.V.ue()};
var vGc=function(a){_.N.call(this);this.H=a;this.Pa(this.H)};_.I(vGc,_.N);_.g=vGc.prototype;_.g.bp=function(a){a=this.H.bp(a);this.e7();return a};_.g.SD=function(a,b){return this.H.SD(a,b)};_.g.TG=function(){return this.H.TG()};_.g.MF=function(a){return this.H.MF(a)};_.g.pU=function(){return this.H.pU()};_.g.qU=function(){return this.H.qU()};_.g.e7=function(){return this.H.e7()};_.g.KO=function(){return this.H.KO()};
var wGc=function(){};wGc.prototype.iJ=function(){return new hGc};
var xGc=function(){this.H=[]};xGc.prototype.add=function(a){this.H.push(a)};xGc.prototype.Zb=function(){return this.H.length};
var yGc=function(){this.H={}};yGc.prototype.add=function(a){var b=_.z(a.H,12);this.H[b]=a};yGc.prototype.remove=function(a){delete this.H[a]};
var zGc=function(a,b){this.V=a;this.Ga=b;this.ka=1;this.wa=this.ha=null;this.ma=new yGc;this.H=new xGc;this.ua=this.Ba=this.W=!1},pGc=function(a,b){a=_.Up((new _.Tp).initialize(new _.eza,a.Ga),mGc);_.x(a.H,10,b);return a},uGc=function(a){var b=a.H,c=b.H;b.H=[];return rGc(a,c)},rGc=function(a,b){var c=new _.qza;var d=_.Yj(a.V.ha);c=_.R(c,2,d);d=a.V;(d=d.V?_.Yj(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],_.op,5);if(k&&_.C(k,XFc,1)){k=_.C(k,XFc,1);null!=_.z(k,12)&&
void 0===e&&(e=_.E(k,12));k=_.C(k,YFc,20);if(void 0!==k&&void 0===f){f=new cGc;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?_.Yj(d.H):null;if(void 0!==e||void 0!==f)d||(d=new _.pp),void 0!==e&&_.x(d,6,e),void 0!==f&&_.R(d,13,f);(e=d)&&_.R(c,3,e);a=_.Yj(a.V.ka);_.R(c,4,a);_.Tj(c,1,b);return c},qGc=function(a,b){var c=lGc(pGc(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 aGc;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 $Fc,b=_.x(e,1,b),d&&_.Tj(b,2,d),d=_.Vp(c),_.R(d,3,b));sGc(a,c);return c},sGc=function(a,b){a.ha=_.z(b.H,12);a.wa=_.z(_.C(_.C(b.H,_.cp,8),_.Oya,1),1)};
var AGc=function(){};AGc.prototype.iJ=function(){return new kGc};
var BGc=function(){this.H=this.V=null};BGc.prototype.build=function(){null==this.H&&(this.H=new _.VCa);_.Xp(this.H,mGc,new AGc);_.Xp(this.H,iGc,new wGc);var a=this.H;var b=this.V;if(null==_.z(_.iN(b),1)){var c=_.iN(b),d=new _.Nya;_.R(c,1,d)}b=_.C(_.iN(b),_.Nya,1);a.H=b;b=_.qc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new zGc(this.V,this.H)};
var CGc=function(){this.ha=new _.Na;this.V=null;this.ka=new bGc;_.x(this.ka,1,6);this.H=this.W=null};CGc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.DGc=function(a,b){_.x(a.ha,2,b);return a};_.EGc=function(a,b){if(null==a.W){a.W=new _.kza;var c=_.iN(a);_.R(c,2,a.W)}_.x(a.W,1,b)};_.iN=function(a){null==a.V&&(a.V=new _.qp);return a.V};_.FGc=function(a){null==a.H&&(a.H=new _.pp);return a.H};
_.GGc=function(){this.V=this.ma=null;this.ka=new CGc;this.ha=null;this.H=this.ua=!1;this.W=null};_.HGc=function(a,b){a.ma=b;return a};_.IGc=function(a,b){a.V=b;return a};_.JGc=function(a,b){a.ha=b;return a};_.GGc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.KGc=function(a,b){_.x(a.ka.ha,6,b);return a};
_.GGc.prototype.build=function(){var a=new BGc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new eGc;this.V=this.ma=b}b=new tGc(a,this.ma,this.V,this.ua,this.W);a=new oGc(a,b,!1);this.H&&(a=new vGc(a));return a};

_.r();

}catch(e){_._DumpException(e)}
try{
var NGc;_.lN=function(a){if(a instanceof _.qb)return a;var b;if(_.UM(a)){if(b=_.Tob(a))return b;b=_.nEa(void 0,void 0,a)}else b="string"===typeof a?_.nEa(a):_.nEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.jN(b,2);_.kN(b,6);return b};_.LGc=function(a){var b=a.Qi();a=a.cB();return 15==b||32==b||33==b||401==a};_.mN=function(){return _.m.WorkerGlobalScope&&self instanceof _.m.WorkerGlobalScope};
_.MGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.MGc,_.P);_.nN=function(a){return _.D(a,1,0)};_.oN=function(a){return _.C(a,_.MGc,4)};_.pN=function(a){return _.A(a,84,!1)};_.jN=function(a,b){return _.x(a,1,b)};_.kN=function(a,b){return _.x(a,2,b)};NGc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.qN=function(a){_.Q(this,a,0,-1,NGc,null)};_.L(_.qN,_.P);_.g=_.qN.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.Tf=function(){return _.z(this,3)};_.g.zl=function(a){return _.x(this,3,a)};_.g.Tq=function(a){return _.x(this,4,a)};_.g.Bh=function(){return _.E(this,5)};_.g.yn=function(a){return _.x(this,5,a)};_.g.Rb=function(){return _.z(this,6)};_.g.xz=function(a,b){_.Pj(this,8,a,b)};_.g.$h=function(){return _.z(this,12)};_.g.oe=function(){return _.C(this,_.Ae,17)};_.g.Rp=function(){return _.E(this,18)};_.g.wc=function(){return _.z(this,21)};
_.rN=function(a,b){return _.x(a,16,b)};_.p("sy11k");
_.sN=function(a){_.Q(this,a,0,-1,OGc,null)};_.L(_.sN,_.P);var OGc=[5];_.sN.prototype.Sh=function(){return _.z(this,5)};_.sN.prototype.oe=function(){return _.C(this,_.Ae,6)};_.sN.prototype.wc=function(){return _.z(this,8)};
_.PGc=new Map([["wb",1],["xb",2],["yb",2],["zb",3]]);
var tN;tN={};_.QGc=(tN[0]="/drive/v2internal",tN[1]="/drive/v2internal.corp",tN[2]="/drive/v2internal.scary",tN[4]="/drive/v2internal.scary",tN[5]="/drive/v2beta",tN[6]="/drive/v2.1beta",tN);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var uN,SGc;uN={};_.RGc=(uN[1]="modifiedDate",uN[2]="modifiedByMeDate",uN[3]="quotaBytesUsed",uN[4]="title",uN[6]="lastViewedByMeDate",uN[10]="createdDate",uN[7]="sharedWithMeDate",uN[9]="starred",uN[11]="recency",uN[5]="relevance",uN[12]="trashedDate",uN[13]="lastViewedByMeDate",uN);SGc={};_.TGc=(SGc[1]="asc",SGc[2]="desc",SGc);
_.UGc=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():_.Ve();this.date=new Date(a)};_.L(_.UGc,_.mw);_.g=_.UGc.prototype;_.g.clone=function(){var a=new _.UGc(this.date);a.fB=this.fB;a.RM=this.RM;return a};_.g.add=function(a){(a.ka||a.ha)&&_.lw.prototype.add.call(this,new _.kw(a.ka,a.ha));this.date=new Date(this.date.getTime()+1E3*(a.W+60*(a.V+60*(a.H+24*a.Wr))))};_.g.getTimezoneOffset=function(){return 0};_.g.getFullYear=_.mw.prototype.getUTCFullYear;
_.g.getMonth=_.mw.prototype.getUTCMonth;_.g.getDate=_.mw.prototype.getUTCDate;_.g.getHours=_.mw.prototype.getUTCHours;_.g.getMinutes=_.mw.prototype.getUTCMinutes;_.g.getSeconds=_.mw.prototype.getUTCSeconds;_.g.getMilliseconds=_.mw.prototype.getUTCMilliseconds;_.g.getDay=_.mw.prototype.getUTCDay;_.g.setFullYear=_.mw.prototype.setUTCFullYear;_.g.setMonth=_.mw.prototype.setUTCMonth;_.g.setDate=_.mw.prototype.setUTCDate;_.g.setHours=_.mw.prototype.setUTCHours;_.g.setMinutes=_.mw.prototype.setUTCMinutes;
_.g.setSeconds=_.mw.prototype.setUTCSeconds;_.g.setMilliseconds=_.mw.prototype.setUTCMilliseconds;
var VGc,XGc;VGc={};_.WGc=(VGc[1]="0",VGc[2]="1",VGc[3]="2",VGc);XGc={};_.YGc=(XGc[1]="asc",XGc[2]="desc",XGc);
_.ZGc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.$Gc=_.x(new _.qN,15,!0);_.aHc=_.rN(new _.qN,!0);_.bHc=_.rN(new _.qN,!1);
_.cHc=_.Dg&&0>_.hf(_.Gg,"533");
_.dHc=new Set([0,1,2,3]);
var eHc,gHc,jHc,kHc,mHc,nHc,oHc,pHc;eHc={};_.fHc=(eHc[0]="POST",eHc[2]="PUT",eHc[12]="POST",eHc);gHc={};_.hHc=(gHc[0]=1,gHc[2]=3,gHc);jHc={};kHc={};_.iHc=(kHc[2]=(jHc["x-goog-upload-protocol"]="batch",jHc),kHc);mHc={};nHc={};oHc={};pHc={};_.lHc=(pHc[0]=(mHc["content-type"]="application/http",mHc["content-transfer-encoding"]="binary",mHc),pHc[12]=(nHc["content-type"]="application/http",nHc["content-transfer-encoding"]="binary",nHc),pHc[2]=(oHc["content-type"]="application/http",oHc),pHc);
_.qHc=new _.F0a("yyyy:MM:dd HH:mm:ss");
var rHc,tHc;rHc={};_.sHc=(rHc[1]="active",rHc[2]="archived",rHc);tHc={};_.uHc=(tHc[0]="unset",tHc[1]="default",tHc[2]="small",tHc[3]="size16kb",tHc);
_.vHc=new _.Pp("drive_dataservice_builder");
_.wHc=new _.gGc("drive_dataservice_invariants");
_.xHc=new Map([[[1],1],[[6],7],[[2],2]]);_.vN=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.yHc=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 _.pN(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.Vp()}],[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)}]]);_.zHc=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)}]]);_.AHc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.BHc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238]]);_.CHc=new Map([[[2],3],[[1],2],[[0],1]]);_.DHc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.EHc=new Map([[[_.tFc],1],[[_.uFc],2],[[_.vFc],3],[[_.wFc],4],[[_.xFc],5],[[_.yFc],6],[[_.zFc],7],[[_.AFc],8],[[_.BFc],10],[[_.CFc],11],[[_.DFc],12],[[_.EFc],13]]);_.FHc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.GHc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11m");
_.wN=function(a){_.Q(this,a,0,-1,HHc,null)};_.L(_.wN,_.P);var HHc=[8,17];_.wN.prototype.gy=function(){return _.z(this,1)};_.wN.prototype.Hc=function(){return _.z(this,2)};_.xN=function(a,b){return _.x(a,2,b)};_.wN.prototype.Qz=function(){return _.A(this,3,!1)};_.wN.prototype.getItem=function(){return _.C(this,_.Hk,4)};_.wN.prototype.setItem=function(a){return _.R(this,4,a)};_.wN.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 IHc;IHc=[1];_.yN=function(a){_.Q(this,a,0,-1,IHc,null)};_.L(_.yN,_.P);_.yN.prototype.V=function(){return _.z(this,1)};_.p("sy11o");
_.zN=function(a){_.Q(this,a,0,-1,JHc,null)};_.L(_.zN,_.P);var JHc=[2];_.zN.prototype.Gb=function(){return _.z(this,1)};_.zN.prototype.Ec=function(a){return _.x(this,1,a)};_.zN.prototype.jj=function(){return _.Rj(this,_.Hk,2)};_.KHc=function(a,b){return _.Tj(a,2,b)};_.zN.prototype.Lo=function(a,b){return _.Uj(this,2,a,_.Hk,b)};_.zN.prototype.getSessionId=function(){return _.C(this,_.Hl,3)};_.zN.prototype.setSessionId=function(a){return _.R(this,3,a)};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.AN=function(a){for(var b in a)delete a[b]};_.LHc=function(a){a=_.Cf(a);return 0===a.length?_.Tfa:new _.Sf(a,_.Rfa)};_.MHc=function(a,b){a=_.yi(a);b=_.yi(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{
_.BN=function(a){return _.x(a,3,!0)};_.NHc=function(a,b){return _.x(a,7,b)};_.p("sy11j");
_.OHc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10};_.PHc=_.Xea(_.OHc);
_.QHc=new Set([1,2,4,5,6]);
_.RHc=new Set([1,2,4,5,6]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.SHc=new Map([["Versions","versionKey"],["Metadata","k"]]);_.THc=new Set([1004]);
_.UHc=new Map([[1,3],[4,3],[2,3],[3,2]]);
_.VHc=new Set([7,4,5,9,6,10,11,12]);
_.WHc=new Map([[6,3],[7,3],[4,2],[8,2]]);
var CN,YHc;CN={};_.XHc=(CN[5]=0,CN[7]=1,CN[1]=2,CN[3]=3,CN[4]=4,CN[2]=5,CN[6]=6,CN);YHc={};_.ZHc=(YHc[1]=0,YHc[2]=1,YHc[3]=2,YHc[4]=3,YHc);
var $Hc;$Hc={};_.aIc=($Hc[1]="active",$Hc[2]="archived",$Hc);
var bIc;bIc=function(a){return"kind,defaultAppIds,items("+a+")"};_.cIc=bIc("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");
_.dIc=bIc("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");
_.eIc=bIc("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");
_.fIc=new Set([5,4,1,6,2]);_.gIc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.hIc=function(a,b){return _.x(a,1,b)};_.iIc=function(a,b){return _.R(a,1,b)};_.jIc=function(a,b){return _.x(a,2,b)};_.kIc=function(a,b){return _.R(a,3,b)};_.p("sy126");

_.r();

}catch(e){_._DumpException(e)}
try{
_.lIc=function(a,b){return _.x(a,1,b)};_.mIc=function(a,b){return _.x(a,2,b)};_.nIc=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 oIc=function(a,b){this.V=a;this.H=null;this.W=b};oIc.prototype.get=function(a){return this.$r()[a]||null};oIc.prototype.set=function(a){this.$r()[this.W(a)]=a;this.V=null};oIc.prototype.$r=function(){this.H||(this.H=_.maa(this.V,this.W));return this.H};
var qIc,rIc,pIc;_.DN=function(a,b){this.H=a;this.V=b};
_.EN=function(a,b,c){a:{b:{var d=Math.min(b.length,c.length);for(var e=0;e<d;e++)if(!pIc(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.AF(b[f],e));break a}if(b.length<c.length){d=[];for(e=b.length;e<c.length;e++)d.push(a.H.CF(c[e],e));break a}}e=b.length-1;for(f=c.length-1;0<=e&&0<=f&&pIc(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++)pIc(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&&pIc(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.CF(f[k-1],h)),k--):0<h&&(0==k||l[h][k-1]<=l[h-1][k])&&(n.unshift(a.H.AF(e[h-1],h-1)),h--);e=n;f={};for(h=0;h<e.length;h++)if(k=a.V(a.H.$F(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.kK(l.H.$F(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.Zt()||0,k.setPosition((k.ri()||0)+qIc(f,k.ri()||0)),e[h].setPosition((e[h].ri()||0)+d),3==e[h].getType()&&(k.Fu((k.Zt()||0)+qIc(f,k.Zt()||0)),e[h].Fu((e[h].Zt()||0)+d)),f.push(rIc(k.getType(),l,n));d=e}e=[];b=new oIc(b,a.V);for(f=0;f<c.length;f++)h=c[f],(k=b.get(a.V(h)))&&
!_.Xj(k,h)&&e.push(a.H.EI(h,f));return d.concat(e)};qIc=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};rIc=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}}};pIc=function(a,b,c){return a.V(b)==a.V(c)};

_.r();

}catch(e){_._DumpException(e)}
try{
_.FN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.FN,_.P);_.FN.prototype.getType=function(){return _.z(this,1)};_.GN=function(a){var b=new _.FN;return _.x(b,1,a)};_.g=_.FN.prototype;_.g.getItem=function(){return _.C(this,_.Hk,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Zt=function(){return _.z(this,3)};_.g.Fu=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 sIc=function(){};_.g=sIc.prototype;_.g.CF=function(a,b){return _.GN(1).setItem(a).setPosition(b)};_.g.AF=function(a,b){return _.GN(2).setPosition(b).setItem(a)};_.g.kK=function(a,b,c){return _.GN(3).Fu(b).setPosition(c).setItem(a)};_.g.EI=function(a,b){return _.GN(4).setItem(a).setPosition(b)};_.g.$F=function(a){return a.getItem()};
_.HN=function(){_.DN.call(this,new sIc,function(a){return a.getId()})};_.I(_.HN,_.DN);_.Te(_.HN);

_.r();

}catch(e){_._DumpException(e)}
try{
_.IN=function(a,b){return _.x(a,33,b||[])};_.JN=function(a,b){return _.x(a,45,b)};_.tIc=function(a,b){return _.x(a,5,b)};_.sb=function(a){_.gi.call(this,_.fc);this.error=a};_.I(_.sb,_.gi);_.p("sy12d");
_.uIc=new Map([[5,2],[4,3],[3,1],[2,4]]);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var vIc,wIc,AIc,EIc,FIc,GIc,HIc,VIc,LO,WIc,XIc,dJc,eJc,fJc,CIc,MJc,BIc,iKc,lKc,mKc,oKc,pKc,qKc,rKc,tKc,uKc,vKc,wKc,xKc,JKc,KKc,PKc,RKc,SKc,TKc,WKc,$Kc,cLc,hLc,iLc,kLc,PIc,mLc,QIc,nLc,tP,vP,pLc,qLc,rLc,sLc,tLc,wLc,xLc,yLc,zLc,ALc,YIc,DLc,ZIc,$Ic,aJc,bJc,cJc,MLc,LLc,XLc,ZLc,bMc,$Lc,cMc,aMc,YLc,fMc,nMc,DMc,EMc,GMc,JMc,MMc,RMc,TMc,UMc,VMc,WMc,XMc,YMc,ZMc,$Mc,aNc,bNc,cNc,dNc,eNc,kNc,fNc,nNc,pNc,gNc,qNc,rNc,tNc,uNc,xNc,ANc,BNc,CNc,DNc,FNc,OMc,PNc,QNc,RNc,SNc,UNc,YNc,WNc,ZNc,$Nc,VNc,aOc,XNc,jOc,iOc,kOc,
oOc,pOc,qOc,uOc,vOc,wOc,xOc,FLc;_.LN=function(a,b,c){var d=new _.qb,e=_.Bia(_.LN);_.x(d,20,e);_.kN(d,a);_.jN(d,b?b:2);c&&_.XM(d,c);return d};_.MN=function(a){var b;a instanceof _.qb?b=new _.rb(null,a):b=_.UM(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=_.Bia(_.MN));return b};
_.NN=function(a){return a instanceof _.rb?a:a instanceof _.qb?new _.rb(void 0,a):a instanceof Error?new _.rb("Not a drive.ds.Error",void 0,a):new _.rb("Not an Error",void 0,Error("ob`"+JSON.stringify(a)))};_.ON=function(a){throw _.NN(a);};vIc=function(a){return 7==a.Qi()||24==a.Kn()&&(a=a.cB(),503==a||429==a)?!0:!1};wIc=function(a,b){return b?b+"("+a+")":a};
_.PN=function(a,b,c){var d={},e=[];b&&e.push("kind");a.T6a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.xIc.includes(n)){var q=_.edb.get(n);if(q){var t=_.QA[n];a.OI&&t&&(q=t);a.mw&&(a.OI?(n=_.PA[n])&&(q=n):(n=_.fdb[n])&&(q=n));q.split(",").forEach(function(v){var y=_.Ega(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={jW:f.jW},k=h.next()){var l=_.u(k.value);k=l.next().value;l=l.next().value;
f.jW=[];l.forEach(function(n){return function(q){n.jW.push(q)}}(f));"owners"==k&&b&&f.jW.push("kind");e.push(wIc(f.jW.join(","),k))}return wIc(e.join(","),c)};_.yIc=function(a){var b=new _.xp;b.append(_.PN(a,!0));return b.toString()};_.zIc=function(a,b){return a.filter(function(c){return b.includes(c)})};AIc=function(a){a=a.filter(function(b){return!_.edb.has(b)});if(a.length)throw Error("ed`"+a.join(", "));};
_.DIc=function(a){if(a){var b=a.Rb();b&&_.PM(a,b.toLowerCase());BIc(a,_.Rj(a,CIc,58).map(function(c){var d=c.Rb();d&&_.x(c,1,d.toLowerCase());return c}))}};_.QN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Rb():!1};_.RN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Rb();return b&&_.QN(a)?(a=a.kf(),!!a&&"application/vnd.google-apps.folder"==_.z(a,3)):"application/vnd.google-apps.folder"==c};
EIc=function(a){var b=a&&a.getId()||null;a&&_.QN(a)&&(a=(a=a.kf())&&_.z(a,1))&&(b=a);return b};FIc=function(a,b){b&&(_.bj(a,"openDrive",!!_.A(b,2,!1)),_.bj(a,"reason",_.z(b,1)||0),_.bj(a,"syncType",_.z(b,3)||0),_.bj(a,"errorRecovery",!!_.A(b,4,!1)))};GIc=function(a){if(_.qf(a))return"\r\n";var b="";_.jf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};HIc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.Ega(a[c],":",1);d&&2==d.length&&(b[(0,_.ef)(d[0])]=(0,_.ef)(d[1]))}return _.VM(b)};
VIc=function(a){if(a instanceof _.SN)return"request access";if(a instanceof _.TN)return"admin migrate to TD";if(a instanceof _.UN)return"authorize app";if(a instanceof _.VN)return"copy item";if(a instanceof _.WN)return"change category links";if(a instanceof _.XN)return"create item";if(a instanceof _.YN)return"create ws";if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return"delete app";if("undefined"!=typeof _.$N&&a instanceof _.$N)return"delete backup";if(a instanceof _.aO)return"delete item";if("undefined"!=
typeof _.bO&&a instanceof _.bO)return"delete permission";if(a instanceof _.cO)return"delete revision";if(a instanceof _.dO)return"delete TD";if("undefined"!=typeof _.LD&&a instanceof _.LD)return"delete pref";if(a instanceof _.eO)return"delete ws";if(a instanceof _.fO)return"download item";if(a instanceof _.gO)return"empty trash";if(a instanceof _.oo)return"find by ID";if(a instanceof _.IIc)return"item export start";if("undefined"!=typeof _.hO&&a instanceof _.hO)return"get app";if("undefined"!=typeof _.iO&&
a instanceof _.iO)return"insert app";if("undefined"!=typeof _.jO&&a instanceof _.jO)return"insert permission";if(a instanceof _.YM)return a=a.kd(),_.kO(a)?"quick access item query":_.lO(a)?"people predict item query":_.mO(a)?"drive priority query":"item query";if("undefined"!=typeof _.nO&&a instanceof _.nO)return"list android backup items request";if(a instanceof _.oO){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 _.pO&&a instanceof _.pO?"list backups":a instanceof _.sN?"list changes":a instanceof _.qO?"list permissions":"undefined"!=typeof _.rO&&a instanceof _.rO?"list revisions":a instanceof _.sO?"people api":a instanceof _.wG?"get published category":"undefined"!=typeof _.tO&&a instanceof _.tO?"get remaining changes":a instanceof _.uO?"remove item":"undefined"!=typeof _.vO&&a instanceof _.vO?"reparent item":a instanceof
_.wO?"restore item":"undefined"!=typeof _.xO&&a instanceof _.xO?"list suggested workspace items":a instanceof _.vo?"list suggested workspaces":"undefined"!=typeof _.yO&&a instanceof _.yO?"update app":a instanceof _.zO?"update category metadata":a instanceof _.qN?"update item":a instanceof _.AO?"update revision":a instanceof _.BO?"update TD":"undefined"!=typeof _.MD&&a instanceof _.MD?"update pref":a instanceof _.CO?"update ws":a instanceof _.DO?"get account":"undefined"!=typeof _.EO&&a instanceof
_.EO?"get workspace":a instanceof _.JIc?"list activity":a instanceof _.KIc?"list category metadata":a instanceof _.FO?"create TD":"undefined"!=typeof _.LIc&&a instanceof _.LIc?"item export cancel":"undefined"!=typeof _.MIc&&a instanceof _.MIc?"item export status":"undefined"!=typeof _.GO&&a instanceof _.GO?"generate cse token":"undefined"!=typeof _.HO&&a instanceof _.HO?"get largest change ID":a instanceof _.NIc?"list prefs":a instanceof _.IO?"multipart upload":a instanceof _.OIc?"list published categories":
a instanceof PIc?"init resumable upload":a instanceof QIc?"resumable upload chunk":a instanceof _.RIc?"resumable upload":a instanceof _.wo?"get TD":"undefined"!=typeof _.SIc&&a instanceof _.SIc?"move TD preflight":a instanceof _.JO?"list TDs":"undefined"!=typeof _.KO&&a instanceof _.KO?"get TD stats":a instanceof _.TIc?"test connection":"undefined"!=typeof _.UIc&&a instanceof _.UIc?"list workspaces":"unknown"};
LO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};WIc=function(a){if(a instanceof _.XN||a instanceof _.IO||a instanceof _.RIc||a instanceof PIc||a instanceof QIc)return(new _.MO).Ec(8);throw Error("$e");};XIc=function(a){if(a instanceof _.qN){var b=_.NO(_.x(_.Yj(a),1,void 0),void 0);b=_.Xj(b,_.$Gc)}else b=!1;b||(a instanceof _.qN?(a=_.NO(_.x(_.Yj(a),1,void 0),void 0),b=_.Xj(a,_.aHc)||_.Xj(a,_.bHc)):b=!1);return b?!1:!0};
_.OO=function(a){return YIc.includes(a.constructor)?XIc(a):!1};dJc=function(a,b){return ZIc.includes(a.constructor)||b&&(_.A(b,54,!1)&&$Ic.includes(a.constructor)||aJc.includes(a.constructor)&&!_.PO(a)||_.A(b,56,!1)&&_.PO(a)||_.A(b,57,!1)&&bJc.includes(a.constructor)||!(!_.A(b,53,!1)||$Ic.includes(a.constructor)||aJc.includes(a.constructor)||_.PO(a)||bJc.includes(a.constructor)||cJc.includes(a.constructor)))?!0:!1};
eJc=function(a,b,c){c=void 0===c?!1:c;var d=new _.Si(_.D(b,16,"")+"/open"),e=a.getId();_.QN(a)&&c&&(e=EIc(a));_.bj(d,"id",e);_.bj(d,"authuser",_.nN(b.Ne()));_.QO(b)&&a.RJ()&&_.bj(d,"resourcekey",_.Nk(a));return d.toString()};fJc=function(a){var b={};a=a.Qa().split("\r\n");for(var c=0;c<a.length;c++)if(!_.Ec(a[c])){var d=_.Ega(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 _.lf(b,function(h){return h.join(", ")})};
_.gJc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.gJc,_.P);_.hJc=function(a){var b=new _.wk;return _.x(b,1,a)};_.iJc=function(a,b){return _.x(a,7,b)};_.jJc=function(a,b){return _.x(a,8,b)};_.kJc=function(a,b){return _.x(a,1,b)};_.lJc=function(a,b){return _.x(a,2,b)};_.mJc=function(a,b){return _.x(a,3,b)};_.nJc=function(a,b){return _.x(a,4,b)};_.oJc=function(a,b){return _.x(a,5,b)};_.pJc=function(a,b){return _.x(a,6,b)};_.qJc=function(a,b){return _.x(a,7,b)};_.rJc=function(a,b){return _.x(a,8,b)};
_.sJc=function(a,b){return _.x(a,9,b)};_.tJc=function(a,b){return _.x(a,10,b)};_.uJc=function(a,b){return _.x(a,11,b)};_.vJc=function(a,b){return _.x(a,12,b)};_.wJc=function(a,b){return _.x(a,16,b)};_.xJc=function(a,b){return _.x(a,17,b)};_.yJc=function(a,b){return _.x(a,20,b)};_.zJc=function(a,b){return _.x(a,21,b)};_.AJc=function(a,b){return _.x(a,31,b)};_.BJc=function(a,b){return _.x(a,32,b)};_.CJc=function(a,b){return _.x(a,33,b)};_.DJc=function(a,b){return _.x(a,42,b)};
_.EJc=function(a,b){return _.x(a,43,b)};_.FJc=function(a,b){return _.x(a,46,b)};_.GJc=function(a,b){return _.x(a,47,b)};_.HJc=function(a,b){return _.x(a,48,b)};_.RO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RO,_.P);_.SO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SO,_.P);_.SO.prototype.vv=function(){return _.z(this,4)};_.TO=function(a,b){return _.x(a,1,b)};_.IJc=function(a,b){return _.x(a,2,b)};CIc=function(a){_.Q(this,a,0,-1,null,null)};_.L(CIc,_.P);
CIc.prototype.Rb=function(){return _.z(this,1)};CIc.prototype.getUrl=function(){return _.z(this,2)};_.UO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UO,_.P);_.UO.prototype.Ue=function(){return _.z(this,3)};_.UO.prototype.Vf=function(a){return _.x(this,3,a)};_.VO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.VO,_.P);_.JJc=function(a,b){return _.x(a,1,b)};_.KJc=function(a,b){return _.Tj(a,2,b)};_.LJc=function(a,b){return _.Tj(a,3,b)};MJc=[2];_.WO=function(a){_.Q(this,a,0,-1,MJc,null)};_.L(_.WO,_.P);
_.WO.prototype.Tf=function(){return _.z(this,1)};_.WO.prototype.zl=function(a){return _.x(this,1,a)};_.WO.prototype.pfa=function(a,b){return _.Pj(this,2,a,b)};_.XO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XO,_.P);_.XO.prototype.Ue=function(){return _.z(this,2)};_.XO.prototype.Vf=function(a){return _.x(this,2,a)};_.YO=function(a,b){return _.x(a,2,b||[])};_.NJc=function(a,b){_.x(a,8,b)};_.ZO=function(a,b){return _.Tj(a,15,b)};_.$O=function(a,b){return _.R(a,17,b)};
_.OJc=function(a,b){return _.x(a,19,b)};_.PJc=function(a,b){_.x(a,26,b)};_.QJc=function(a,b){_.x(a,31,b)};_.RJc=function(a,b){_.x(a,34,b)};_.SJc=function(a,b){return _.x(a,44,b)};_.TJc=function(a,b){return _.x(a,52,b)};BIc=function(a,b){_.Tj(a,58,b)};_.UJc=function(a,b){return _.x(a,72,b)};_.VJc=function(a,b){_.R(a,85,b)};_.WJc=function(a,b){return _.x(a,92,b)};_.XJc=function(a,b){return _.x(a,93,b)};_.aP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.aP,_.P);
_.aP.prototype.yb=function(){return _.z(this,1)};_.aP.prototype.jc=function(a){return _.x(this,1,a)};_.aP.prototype.Cl=function(){return _.x(this,1,void 0)};_.aP.prototype.Th=function(){return null!=_.z(this,1)};var YJc=[3],ZJc=function(a){_.Q(this,a,0,-1,YJc,null)};_.L(ZJc,_.P);ZJc.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 $Jc=[3],aKc=function(a){_.Q(this,a,0,-1,$Jc,null)};_.L(aKc,_.P);
aKc.prototype.V=function(){return _.z(this,3)};var bKc=[3],cKc=function(a){_.Q(this,a,0,-1,bKc,null)};_.L(cKc,_.P);cKc.prototype.V=function(){return _.z(this,3)};_.dP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dP,_.P);_.dP.prototype.yb=function(){return _.z(this,1)};_.dP.prototype.jc=function(a){return _.x(this,1,a)};_.dP.prototype.Cl=function(){return _.x(this,1,void 0)};_.dP.prototype.Th=function(){return null!=_.z(this,1)};_.eP=function(a){return _.Rj(a,_.xe,6)};
_.fP=function(a){return _.Rj(a,_.Yb,12)};_.gP=function(a){return _.D(a,45,1)};_.kO=function(a){return _.A(a,47,!1)};_.lO=function(a){return _.A(a,49,!1)};_.mO=function(a){return _.A(a,52,!1)};_.hP=function(a){return _.D(a,2,"")};_.dKc=function(a,b){return _.x(a,27,b||[])};_.iP=function(a){return _.D(a,39,0)};_.jP=function(a){return _.A(a,40,!1)};_.kP=function(a){return _.A(a,49,!1)};_.QO=function(a){return _.A(a,89,!1)};_.eKc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};
_.fKc=function(a){return _.lw.prototype.AV.call(a,!0)+"T"+_.rg(a.getHours(),2)+":"+_.rg(a.getMinutes(),2)+":"+_.rg(a.getSeconds(),2)+a.oZ()};_.gKc=function(a,b){return _.x(a,18,b||[])};_.hKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hKc,_.P);iKc=[3,4,10,18,19,28];_.XN=function(a){_.Q(this,a,0,-1,iKc,null)};_.L(_.XN,_.P);_.g=_.XN.prototype;_.g.Rb=function(){return _.z(this,1)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};
_.g.xz=function(a,b){_.Pj(this,3,a,b)};_.g.oe=function(){return _.C(this,_.Ae,7)};_.g.hs=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)};_.jKc=function(a,b){return _.x(a,1,b)};_.kKc=function(a,b){return _.x(a,3,b||[])};_.lP=function(a){return _.z(a,9)};_.aO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.aO,_.P);_.aO.prototype.getId=function(){return _.z(this,1)};
_.aO.prototype.kc=function(a){return _.x(this,1,a)};_.aO.prototype.oe=function(){return _.C(this,_.Ae,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,_.Ae,2)};_.NO=function(a,b){return _.R(a,17,b)};lKc=[7,8];_.BO=function(a){_.Q(this,a,0,-1,lKc,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.oe=function(){return _.C(this,_.Ae,4)};_.g.y7=function(){return _.E(this,12)};_.g.nZ=function(){return _.E(this,13)};_.g.Hl=function(){return _.E(this,15)};_.JO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JO,_.P);_.JO.prototype.getOptions=function(){return _.C(this,_.jFc,1)};_.JO.prototype.Tm=function(){return _.z(this,2)};
_.JO.prototype.kd=function(){return _.C(this,_.TM,3)};mKc=function(a,b){return _.IFc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.nKc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.eN(c,"deleting object store "+b);}};oKc=function(){var a=new _.GGc;a.W=12E4;a.ua=!0;return a};
pKc={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."};
qKc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};rKc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.sKc=function(a){if(_.Rka)return _.m.atob(a);var b="";_.Tka(a,function(c){b+=String.fromCharCode(c)});return b};tKc=function(){this.V=0;this.H=[]};_.g=tKc.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=uKc(this,a);return this.H[a]};_.g.set=function(a,b){a=uKc(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.kh=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.hf=function(){for(var a=[],b=this.Zb(),c=0;c<b;c++)a[c]=c;return a};_.g.jo=function(a){for(var b=this.Zb(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};uKc=function(a,b){if(b>=a.H.length)throw Error("Z");return 40>a.H.length?b:(a.V+Number(b))%40};vKc=[2,3];_.WN=function(a){_.Q(this,a,0,-1,vKc,null)};
_.L(_.WN,_.P);_.WN.prototype.wc=function(){return _.z(this,1)};_.WN.prototype.oe=function(){return _.C(this,_.Ae,4)};_.mP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.mP,_.P);_.g=_.mP.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.Rb=function(){return _.z(this,2)};_.g.hs=function(){return _.E(this,4)};_.g.iD=function(){return _.z(this,8)};wKc=[22];_.MO=function(a){_.Q(this,a,0,-1,wKc,null)};_.L(_.MO,_.P);_.g=_.MO.prototype;
_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.getItem=function(){return _.C(this,_.Hk,2)};_.g.setItem=function(a){return _.R(this,2,a)};_.g.Zj=function(){return _.z(this,3)};_.g.Hc=function(){return _.z(this,5)};_.nP=function(a,b){return _.x(a,5,b)};_.g=_.MO.prototype;_.g.pB=function(){return _.z(this,7)};_.g.h2=function(a){return _.x(this,7,a)};_.g.Sha=function(a){_.x(this,9,a)};_.g.aya=function(a){_.x(this,10,a)};_.g.lJ=function(){return _.z(this,16)};
_.g.T1=function(a){return _.x(this,16,a)};_.SN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SN,_.P);_.SN.prototype.Hc=function(){return _.z(this,1)};_.TN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TN,_.P);_.TN.prototype.getId=function(){return _.z(this,1)};_.TN.prototype.kc=function(a){return _.x(this,1,a)};_.TN.prototype.Nj=function(){return _.z(this,2)};_.UN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UN,_.P);_.UN.prototype.Hc=function(){return _.z(this,2)};
_.UN.prototype.oe=function(){return _.C(this,_.Ae,4)};xKc=[3,7];_.VN=function(a){_.Q(this,a,0,-1,xKc,null)};_.L(_.VN,_.P);_.g=_.VN.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.xz=function(a,b){_.Pj(this,3,a,b)};_.g.oe=function(){return _.C(this,_.Ae,5)};_.YN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.YN,_.P);
_.YN.prototype.getTitle=function(){return _.z(this,1)};_.YN.prototype.setTitle=function(a){return _.x(this,1,a)};_.YN.prototype.oe=function(){return _.C(this,_.Ae,2)};_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.cO,_.P);_.cO.prototype.Hc=function(){return _.z(this,1)};_.cO.prototype.oe=function(){return _.C(this,_.Ae,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.oe=function(){return _.C(this,_.Ae,3)};_.gO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.gO,_.P);_.gO.prototype.oe=function(){return _.C(this,_.Ae,1)};_.uO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.uO,_.P);_.g=_.uO.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.Kg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.Ae,3)};_.wO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.wO,_.P);_.g=_.wO.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.Kg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.Ae,3)};_.AO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.AO,_.P);_.AO.prototype.Hc=function(){return _.z(this,1)};_.AO.prototype.hs=function(){return _.E(this,3)};_.AO.prototype.oe=function(){return _.C(this,_.Ae,4)};_.CO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.CO,_.P);_.g=_.CO.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.Sd=function(a){return _.x(this,3,a)};_.g.Rn=function(){return null!=_.z(this,3)};_.g.oe=function(){return _.C(this,_.Ae,5)};var yKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yKc,_.P);yKc.prototype.getEnvironment=function(){return _.z(this,2)};
yKc.prototype.setEnvironment=function(a){return _.x(this,2,a)};var zKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zKc,_.P);_.AKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.AKc,_.P);_.AKc.prototype.Re=function(){return _.z(this,1)};_.AKc.prototype.Gb=function(){return _.z(this,4)};_.AKc.prototype.Ec=function(a){return _.x(this,4,a)};var BKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BKc,_.P);var CKc=function(a,b){_.x(a,6,b)},DKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(DKc,_.P);_.g=DKc.prototype;
_.g.EUa=function(a){_.x(this,1,a)};_.g.Jkb=function(a){_.x(this,2,a)};_.g.ty=function(){return _.E(this,3)};_.g.FUa=function(a){_.x(this,3,a)};_.g.skb=function(a){_.x(this,4,a)};var EKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(EKc,_.P);EKc.prototype.ty=function(){return _.E(this,2)};var FKc=function(a,b){return _.x(a,2,b)},GKc=function(a,b){_.x(a,3,b)};EKc.prototype.Qw=function(){return _.z(this,6)};var HKc=function(a,b){return _.x(a,8,b)},IKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(IKc,_.P);
IKc.prototype.kd=function(){return _.C(this,_.AKc,1)};IKc.prototype.getState=function(){return _.C(this,BKc,2)};IKc.prototype.Sd=function(a){return _.R(this,2,a)};IKc.prototype.Rn=function(){return null!=_.z(this,2)};_.xIc=[42,1005,20,50,18,1003,1002];JKc=[73,71];KKc=function(a){var b=new _.Mh;a.listen("loadend",_.Ue(function(c,d){var e=d.getResult(),f=d.getError();null==e||f?c.Dd(f):c.callback(e);d.dispose()},b,a));return b};_.LKc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.MKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.MKc,_.P);_.g=_.MKc.prototype;_.g.getKey=function(){return _.z(this,1)};_.g.yb=function(){return _.z(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.Cl=function(){return _.x(this,2,void 0)};_.g.Th=function(){return null!=_.z(this,2)};_.g.Tf=function(){return _.z(this,3)};_.g.zl=function(a){return _.x(this,3,a)};_.g.getType=function(){return _.z(this,4)};_.NKc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.oP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.oP,_.P);_.oP.prototype.qr=function(){return _.C(this,_.qC,1)};_.OKc=function(a,b){return _.R(a,1,b)};_.oP.prototype.Tm=function(){return _.z(this,3)};PKc=[3,4];_.oO=function(a){_.Q(this,a,0,-1,PKc,null)};_.L(_.oO,_.P);_.oO.prototype.getType=function(){return _.z(this,1)};_.oO.prototype.oe=function(){return _.C(this,_.Ae,2)};_.QKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QKc,_.P);_.QKc.prototype.getId=function(){return _.z(this,1)};
_.QKc.prototype.kc=function(a){return _.x(this,1,a)};_.QKc.prototype.oe=function(){return _.C(this,_.Ae,2)};_.qO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.qO,_.P);_.qO.prototype.Tm=function(){return _.z(this,2)};_.qO.prototype.kd=function(){return _.C(this,_.QKc,3)};RKc=[1];_.sO=function(a){_.Q(this,a,0,-1,RKc,null)};_.L(_.sO,_.P);_.sO.prototype.Il=function(){return _.z(this,1)};_.DO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DO,_.P);_.DO.prototype.oe=function(){return _.C(this,_.Ae,1)};
_.DO.prototype.Fg=function(){return _.z(this,4)};SKc=[2];_.zO=function(a){_.Q(this,a,0,-1,SKc,null)};_.L(_.zO,_.P);_.zO.prototype.Hc=function(){return _.z(this,1)};_.zO.prototype.dN=function(){return _.Rj(this,_.yG,2)};_.zO.prototype.oe=function(){return _.C(this,_.Ae,3)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fO,_.P);_.fO.prototype.getId=function(){return _.z(this,1)};_.fO.prototype.kc=function(a){return _.x(this,1,a)};_.fO.prototype.RJ=function(){return null!=_.z(this,3)};TKc=[1];
_.IIc=function(a){_.Q(this,a,0,-1,TKc,null)};_.L(_.IIc,_.P);var UKc=function(a){_.gi.call(this,a);_.PGc.get(a)};_.I(UKc,_.gi);_.VKc=function(){var a=void 0===a?1E3:a;this.V=new _.xl;this.H=new _.xl;this.ha=Math.ceil(a/2);this.ka=Math.floor(a/2);this.ma=Date.now();this.W=!1};_.XKc=function(a){var b=a.V.kh();a.W&&b.push(WKc("...","...","...","..."));_.ta(b,a.H.kh());return b};
_.YKc=function(a){var b=[];a=_.XKc(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")};_.VKc.prototype.info=function(a,b){_.pP(this,a,b,"info")};_.VKc.prototype.config=function(a,b){_.pP(this,a,b,"config")};_.VKc.prototype.log=function(a,b,c){_.pP(this,a,b,c)};
_.pP=function(a,b,c,d){a.H.Zb()>=a.ka&&(a.W=!0,_.yl(a.H));var e=Date.now()-a.ma;b=WKc(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)};WKc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.ZKc=function(){this.H={}};$Kc=function(a,b,c){if(a.H[b])throw Error("We");a.H[b]=c};_.ZKc.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 aLc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},bLc=function(a){_.gi.call(this,"Ab");this.request=a};_.I(bLc,_.gi);var qP=function(){_.O.apply(this,arguments)};_.I(qP,_.O);cLc=function(a,b){a.dispatchEvent(new bLc(b))};_.dLc=function(a){qP.call(this);this.V=a};_.I(_.dLc,qP);_.dLc.prototype.H=function(a){var b=!1;_.LGc(_.lN(a.Cu[a.Cu.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.Cu.length?(cLc(this,a),!0):!1};var rP=function(a){_.O.call(this);this.ha=a};_.I(rP,_.O);
_.g=rP.prototype;_.g.max=function(){};_.g.CU=function(){};_.g.Foa=function(){};_.g.aHa=function(){};_.g.$Ga=function(){};_.g.ZGa=function(){};_.g.NB=function(){this.dispatchEvent(new _.gi("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};var eLc=function(a){_.gi.call(this,"Cb");this.Zw=a};_.I(eLc,_.gi);eLc.prototype.Ff=function(){return this.Zw};
_.fLc=function(a,b){rP.call(this,"Online");var c=this;this.W=a;this.V=b;this.H=new _.ee(this);this.Pa(this.H);this.H.listen(this.W,"Cb",function(d){d.Ff()||c.NB()});this.H.listen(this.V,"ta",this.NB)};_.I(_.fLc,rP);_.fLc.prototype.max=function(){var a=this.W.Ff(),b=this.V.H;return!a&&b?Infinity:0};_.fLc.prototype.CU=function(){this.NB()};_.gLc=function(a,b,c){this.H=new _.UH(a,b,.5);this.W=c;this.V=!0};_.sP=function(a,b){rP.call(this,"Backoff");this.H=a;this.V=b};_.I(_.sP,rP);
_.sP.prototype.max=function(){return this.H.V?Infinity:0};_.sP.prototype.$Ga=function(){this.H.H.reset()};_.sP.prototype.ZGa=function(a){var b=this;hLc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.yb(),iLc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){iLc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.NB()},a),_.VH(this.H.H))};hLc=function(a){a=a.Cu.length&&_.ba(a.Cu).response;return!!(a&&a instanceof _.qb&&vIc(a))};
iLc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.jLc=function(a,b){rP.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.I(_.jLc,rP);_.jLc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.jLc.prototype.CU=function(a){a>=this.V?this.NB():null==this.H&&kLc(this)};_.jLc.prototype.Foa=function(a,b){0<b?kLc(this):this.H=null};kLc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.NB.bind(a),a.W)};
_.JIc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.FO=function(a){this.request=a;this.requestId=_.tg()};_.lLc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.NIc=function(a,b){this.request=a;this.H=b};_.IO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.RIc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};PIc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};
mLc=function(a,b,c){this.f$a=a;this.jjb=b;this.MTa=c};QIc=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.Bt=h};_.TIc=function(a){this.H=a};_.KIc=function(a,b){this.request=a;this.pageToken=b||""};_.OIc=function(a,b){this.request=a;this.pageToken=b||""};nLc=function(a,b){this.iga=a;this.mE=b};tP=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.uP=function(a,b,c){a.JJ.length&&a.append(" "+(c||"and")+" ");a.append(b)};
vP=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(tP(c));e.push("in");e.push(b);_.uP(a,e.join(" "))}};_.wP=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());_.uP(a,e.join(" "),d)}};_.oLc=function(a){var b=new _.UGc;b.setTime(a);return b};pLc=function(a,b){b=_.Rj(b,_.aP,35)||[];_.Fa(b,function(c){vP(a,"ancestors",c.yb(),!1)})};qLc=function(a,b){b=_.Rj(b,_.aP,38)||[];_.Fa(b,function(c){vP(a,"descendants",c.yb(),!1)})};
rLc=function(a,b){b=_.Rj(b,_.Sk,37)||[];_.Fa(b,function(c){vP(a,"folderFeatures",c.yb(),!1)})};sLc=function(a,b){b=_.z(b,39);_.Fa(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(tP(c));_.uP(a,d.join(" "))})};tLc=function(a,b){b=_.z(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(tP(b));_.uP(a,c.join(" "))}};_.uLc=function(a){a=_.Rj(a,_.dP,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].yb());return b.join(",")};
_.vLc=function(a){a=a.bu();return null==a||0==a.length?"":_.pe(a,function(b){b=_.z(b,1);if(0==b)throw Error("Xe");return _.UEc[b]}).join(",")};wLc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=tP(a.yb());_.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(" ")};
xLc=function(a){if(_.E(a,2))return"any";switch(a.yb()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};yLc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};zLc=function(a,b,c){if(null!=_.z(c,2)){var d=yLc(_.z(c,1));c=tP(_.fKc(_.oLc(_.z(c,2)||0)));_.uP(a,[b,d,c].join(" "))}};
ALc=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""};
_.BLc=function(a){for(var b=new _.xp,c=_.Rj(a,_.Uk,4),d=0;d<c.length;d++){var e=c[d],f=e.yb();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(tP(f));_.uP(b,l.join(" "))}}for(var n=_.Rj(a,_.Tk,5),q=0;q<n.length;q++){var t=n[q],v=t.yb();if(v){var y=[];_.A(t,2,!1)&&y.push("not");y.push("fullText");y.push("contains");y.push(tP(v));_.uP(b,y.join(" "))}}var B=_.eP(a);if(B&&0!=B.length){for(var F=[],M=[],J=0;J<B.length;J++){var X=B[J];
X.yb()&&(_.A(X,2,!1)?M.push(X):F.push(X))}for(var T=0;T<F.length;T++){var fa=wLc(F[T],0==T?"(":"",T==F.length-1?")":"");_.uP(b,fa,0!=T?"or":"and")}for(var za=0;za<M.length;za++)_.uP(b,wLc(M[za],0==za?"(":"",za==M.length-1?")":""))}for(var La=_.Rj(a,_.Rk,7),Ba=0;Ba<La.length;Ba++)zLc(b,"modifiedDate",La[Ba]);for(var ea=_.Rj(a,_.Rk,8),Va=0;Va<ea.length;Va++)zLc(b,"lastViewedByMeDate",ea[Va]);_.wP(b,"trashed",a.Bh());_.wP(b,"explicitlyTrashed",_.E(a,17));_.wP(b,"starred",_.E(a,10));_.wP(b,"hidden",a.Hl());
for(var gb=_.fP(a),Rb=0;Rb<gb.length;Rb++){var vb=gb[Rb];vP(b,"parents",vb.yb(),_.A(vb,2,!1))}for(var ac=_.Rj(a,_.ve,13),md=0;md<ac.length;md++){var ie=ac[md];vP(b,"owners",ie.yb(),_.A(ie,2,!1))}for(var ig=_.Rj(a,_.ve,14),De=0;De<ig.length;De++){var Nf=ig[De];vP(b,"writers",Nf.yb(),_.A(Nf,2,!1))}for(var Qg=_.Rj(a,_.ve,15),Rg=0;Rg<Qg.length;Rg++){var fd=Qg[Rg];vP(b,"readers",fd.yb(),_.A(fd,2,!1))}_.E(a,16)&&_.uP(b,"sharedWithMe");_.wP(b,"unparented",_.E(a,34));pLc(b,a);qLc(b,a);rLc(b,a);sLc(b,a);for(var Gi=
_.z(a,40),Pe=0;Pe<Gi.length;Pe++){var Of=[];0==Pe&&Of.push("(");Of.push(tP(Gi[Pe]));Of.push("in");Of.push("templateData.categories");Pe==Gi.length-1&&Of.push(")");_.uP(b,Of.join(" "),0==Pe?"and":"or")}var Eb=_.z(a,41);if(null!=Eb){var li=[];li.push("templateData.galleryState");li.push("=");li.push(tP(_.WGc[Eb]||""));_.uP(b,li.join(" "))}var Vk=_.z(a,42);if(null!=Vk){var mi=[];mi.push("visibility");mi.push("=");mi.push(tP(ALc(Vk)));_.uP(b,mi.join(" "))}for(var lq=_.Rj(a,_.Ok,44),nk=0;nk<lq.length;++nk){var Pf=
lq[nk];vP(b,"actionItems",xLc(Pf),_.A(Pf,3,!1))}if(null!=_.z(a,50)){var Bh=[];Bh.push("pairedDocType");var xm=_.A(a,50,!1)?"!=":"=";Bh.push(xm);Bh.push(tP("NONE"));_.uP(b,Bh.join(" "))}vP(b,"workspaceIds",_.z(a,54),!1);for(var mq=_.Rj(a,_.Pk,57),zl=0;zl<mq.length;zl++){var Wn=[];0==zl&&Wn.push("(");Wn.push(tP(mq[zl].yb()));Wn.push("in");Wn.push("approvals");zl==mq.length-1&&Wn.push(")");_.uP(b,Wn.join(" "),0==zl?"and":"or")}if(null!=_.z(a,58)){var Al=_.C(a,_.ve,58),Xn=Al.yb(),nq=_.A(Al,2,!1);if(Xn){var ok=
[];nq&&ok.push("not");ok.push("creator");ok.push("=");ok.push(tP(Xn));_.uP(b,ok.join(" "))}}var oq=_.C(a,_.qna,59);if(oq)for(var Bl=_.u(_.Rj(oq,_.ona,1)),gp=Bl.next();!gp.done;gp=Bl.next()){var hp=gp.value;vP(b,"categoryMetadata",hp.Nk());for(var Yn=_.u(hp.ll()),gn=Yn.next();!gn.done;gn=Yn.next()){var Hg=gn.value,Ze=_.z(Hg,1),sc=_.Fj(Hg,_.Qk[0]);if(10==sc){_.C(Hg,_.fna,10);var ip=_.E(Hg,15);(void 0===ip?0:ip)?_.uP(b,Ze+" is null"):_.uP(b,"not ("+Ze+" is null)")}else{var Uh=new _.xp,Yi=void 0;switch(sc){case 3:Yi=
_.C(Hg,ZJc,3);for(var Kv=_.u(Yi.V()),Cr=Kv.next();!Cr.done;Cr=Kv.next())_.wP(Uh,Ze,Cr.value,"or");break;case 14:for(var Os=Yi=_.C(Hg,_.Zma,14),Ps=new Map([[1,"="],[2,">"],[3,"<"]]),Qs=_.u(Os.V()),Zn=Qs.next();!Zn.done;Zn=Qs.next()){var ku=Zn.value,jp=Ps.get(_.z(Os,2));if(!jp)throw Error("Ye");var dh=[Ze,jp,tP(ku.getYear()+"-"+ku.getMonth()+"-"+ku.getDay())];_.uP(Uh,dh.join(" "),"or")}break;case 8:for(var zj=Yi=_.C(Hg,_.ena,8),hn=new Map([[1,"="],[2,">"],[3,"<"]]),Ch=_.u(zj.V()),kp=Ch.next();!kp.done;kp=
Ch.next()){var lu=kp.value,Rs=hn.get(_.z(zj,2));if(!Rs)throw Error("Ye");_.uP(Uh,[Ze,Rs,lu].join(" "),"or")}break;case 9:for(var Dr=Yi=_.C(Hg,aKc,9),pq=new Map([[1,"in"]]),qq=_.u(Dr.V()),Cl=qq.next();!Cl.done;Cl=qq.next()){var Ss=Cl.value,mu=pq.get(_.z(Dr,2));if(!mu)throw Error("Ye");_.uP(Uh,[Ss,mu,Ze].join(" "),"or")}break;case 6:for(var lp=Yi=_.C(Hg,_.jna,6),rq=new Map([[1,"="]]),sq=_.u(lp.V()),Ts=sq.next();!Ts.done;Ts=sq.next()){var nu=Ts.value,tq=rq.get(_.z(lp,2));if(!tq)throw Error("Ye");_.uP(Uh,
[Ze,tq,tP(nu)].join(" "),"or")}break;case 7:for(var Lv=Yi=_.C(Hg,_.hna,7),ou=new Map([[1,"in"]]),$n=_.u(Lv.V()),pu=$n.next();!pu.done;pu=$n.next()){var Er=pu.value,qu=ou.get(_.z(Lv,2));if(!qu)throw Error("Ye");_.uP(Uh,[tP(Er),qu,Ze].join(" "),"or")}break;case 4:for(var Us=Yi=_.C(Hg,_.lna,4),jn=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),wx=_.u(Us.V()),Fr=wx.next();!Fr.done;Fr=wx.next()){var re=Fr.value,xx=jn.get(_.z(Us,2));if(!xx)throw Error("Ye");_.uP(Uh,[Ze,xx,tP(re)].join(" "),"or")}break;
case 5:for(var Bz=Yi=_.C(Hg,cKc,5),fG=new Map([[1,"in"]]),gG=_.u(Bz.V()),kn=gG.next();!kn.done;kn=gG.next()){var nC=kn.value,uq=fG.get(_.z(Bz,2));if(!uq)throw Error("Ye");_.uP(Uh,[tP(nC),uq,Ze].join(" "),"or")}break;case 12:for(var mp=Yi=_.C(Hg,_.cna,12),bP=new Map([[1,"="]]),hG=_.u(mp.V()),oC=hG.next();!oC.done;oC=hG.next()){var pW=oC.value,Cz=bP.get(_.z(mp,2));if(!Cz)throw Error("Ye");_.uP(Uh,[Ze,Cz,tP(pW)].join(" "),"or")}break;case 11:for(var cP=Yi=_.C(Hg,_.ana,11),SHa=new Map([[1,"in"]]),f7=
_.u(cP.V()),RX=f7.next();!RX.done;RX=f7.next()){var mka=RX.value,SX=SHa.get(_.z(cP,2));if(!SX)throw Error("Ye");_.uP(Uh,[tP(mka),SX,Ze].join(" "),"or")}}_.E(Hg,15)?_.uP(b,"not ("+Uh+")"):_.uP(b,1<Yi.V().length?"("+Uh+")":""+Uh)}}}_.E(a,60)&&_.wP(b,"canChangeSecurityUpdateEnabled",_.E(a,60));1==_.gP(a)&&tLc(b,a);return b.toString()};
_.CLc=function(a){var b=new _.xp(_.BLc(a));_.kO(a)?_.uP(b,"isQuickAccessRequest"):_.lO(a)?_.uP(b,"isPeoplePredictRequest"):_.mO(a)&&_.uP(b,"isDrivePriorityRequest");var c=a.Td();if(c){var d=[];d.push("sortBy");d.push(_.RGc[c.getType()]);d.push(_.YGc[c.hh()]);_.E(c,3)&&d.push("foldersFirst");_.uP(b,d.join(" "))}_.wP(b,"domainSearch",_.E(a,18));_.wP(b,"offline",_.E(a,19));_.Rj(a,_.dP,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.uLc(a)),_.uP(b,c.join(" ")));a.bu().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.vLc(a)),_.uP(b,c.join(" ")));if(c=_.gP(a))d=[],d.push("corpora"),d.push("="),d.push(tP(_.LKc[c])),_.uP(b,d.join(" "));1!=_.gP(a)&&tLc(b,a);_.A(a,48,!1)&&_.uP(b,"cachedOnly");return b.toString()};_.PO=function(a){if(a instanceof _.YM)a=a.kd();else if(!a)return!1;return a instanceof _.vo||"undefined"!=typeof _.xO&&a instanceof _.xO||"undefined"!=typeof _.xP&&a instanceof _.xP||a instanceof _.se&&(_.kO(a)||_.lO(a)||_.mO(a))};
YIc=[_.SN,_.UN,_.TN,_.WN,_.VN,_.XN,_.YN,_.aO,_.cO,_.dO,_.eO,_.gO,_.uO,_.wO,_.zO,_.qN,_.AO,_.BO,_.CO,_.FO,_.IO];DLc=[_.sN];ZIc=[_.wG,_.OIc];$Ic=[_.qO,_.DO,_.NIc,_.JO];aJc=[_.YM,_.oo,_.sN,_.KIc];bJc=[_.JO,_.wo];cJc=[_.fO,_.IIc,_.oO,_.sO,_.JIc,_.IO,QIc,PIc];_.yP=function(){this.Kp=[]};_.yP.prototype.add=function(a,b){b?this.Kp.unshift(a):this.Kp.push(a);return!0};_.yP.prototype.H=function(a){return _.va(this.Kp,0,a)};
_.yP.prototype.cancel=function(a){return _.pa(this.Kp,function(b){return b.Gr.config.requestId==a?(b.hk.resolve(WIc(b.Gr.request)),!0):!1})};_.ELc=function(a){qP.call(this);this.V=a};_.I(_.ELc,qP);_.ELc.prototype.H=function(a){var b=_.lN(a.Cu[a.Cu.length-1].response),c=!1;if(2==b.Kn())b=this.V,FLc(b,3)&&_.GLc(b),c=!0;else if(_.LGc(b)){b=this.V;if(c=!b.H)c=b.qc,c=!c.ZG&&c.isConnected()?c.y$=!0:!1;c&&_.GLc(b);c=!0}return c&&2>a.Cu.length?(cLc(this,a),!0):!1};var HLc=function(){rP.call(this,"Immediate")};
_.I(HLc,rP);HLc.prototype.max=function(){return Infinity};HLc.prototype.CU=function(){this.NB()};var ILc=function(){rP.call(this,"One Request")};_.I(ILc,rP);ILc.prototype.max=function(){return 1};_.JLc=function(a){rP.call(this,"Online");var b=this;this.Tg=a;this.H=new _.ee(this);this.Pa(this.H);this.H.listen(this.Tg,["wb","xb","yb"],function(){return b.NB()})};_.I(_.JLc,rP);_.JLc.prototype.max=function(){return this.Tg.isConnected()?Infinity:0};_.JLc.prototype.CU=function(){this.NB()};
_.zP=function(a){rP.call(this,"Parallel");this.V=a;this.H=0};_.I(_.zP,rP);_.zP.prototype.max=function(){return Math.max(0,this.V-this.H)};_.zP.prototype.CU=function(){this.H<this.V&&this.NB()};_.zP.prototype.Foa=function(a){this.H+=a.length};_.zP.prototype.aHa=function(a){this.H-=a.length;this.H<this.V&&this.NB()};
_.AP=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.Ka=a;this.W=b;this.ka=new _.ee(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.ua=e;for(c=0;c<e.length;c++)this.ka.listen(e[c],"Ab",function(k){KLc(h,!0,k.request)});this.Ma=_.Qx("drive.ds.network.queue.Queue [%s]",f);this.Ja=0;this.ha=new Map};_.I(_.AP,_.O);_.AP.prototype.add=function(a){return KLc(this,!1,{Gr:a,hk:_.Jh(),Cu:[]})};
_.AP.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?LLc(this,"Canceled ID "+a+" during execution."):c&&LLc(this,"Canceled ID "+a+" inside bucket.");return b||c};var KLc=function(a,b,c){if(!a.V.some(function(f){return f.add(c,b)}))return a=_.Fq(new _.qb,"No queue bucket accepted request."),_.Gh(_.NN(a));for(var d=MLc(a),e=0;e<a.H.length;e++)a.H[e].CU(d);return c.hk.promise};
_.AP.prototype.ma=function(){var a=MLc(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&&(LLc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),NLc(this,c))}};
var NLc=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.Ba.bind(a,b[e]));e=MLc(a);for(var f=0;f<a.H.length;f++)a.H[f].Foa(b,e);_.Kh(_.Ih(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.AP.prototype.Ga=function(a,b){var c=a.Gr.config;LLc(this,VIc(a.Gr.request)+" request completed successfully. xd4: "+!(!c||!c.HG));for(c=0;c<this.H.length;c++)this.H[c].$Ga();a.hk.resolve(b)};
_.AP.prototype.Ba=function(a,b){b=_.NN(b);LLc(this,VIc(a.Gr.request)+(" request failed with error: "+b.W+"."));a.Cu.push({response:b,Nmb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].ZGa(a);a.Gr.config.maa||!this.ua.some(function(d){return d.H(a)})?a.hk.reject(b):LLc(this,VIc(a.Gr.request)+" encountered an error, but was intercepted to be retried.")};_.AP.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].aHa(a)};
MLc=function(a){for(var b=0,c=0;c<a.V.length;c++)if(a.V[c].Kp.length){b=a.V[c].Kp.length;break}return b};LLc=function(a,b){a.Ka.info(a.Ma,b)};_.OLc=function(a,b,c,d){qP.call(this);this.V=_.D(a,21,1E3);this.ma=_.D(a,1,1);this.W=b;this.ka=c;this.ha=d};_.I(_.OLc,qP);
_.OLc.prototype.H=function(a){var b=a.Cu.length,c=0<b&&_.ba(a.Cu).response||null;if(c){c=_.lN(c);if(2==c.Kn()&&this.ka.Ff())return PLc(this,a,b);var d=c.Qi();if(3==d||31==d||13==d||9==d)return QLc(this,a,b);if(vIc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?(RLc(this,"Backoff number "+b+" for a User Rate Limit error."),cLc(this,a),a=!0):(RLc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var PLc=function(a,b,c){RLc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return cLc(a,b)},a.V);return!0},QLc=function(a,b,c){var d=a.ma;if(c<=d)return RLc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return cLc(a,b)},a.V*Math.pow(2,c)),!0;RLc(a,"Done retrying retriable requests after "+d+" retries.");return!1},RLc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},SLc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.mN()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Zob,d=KKc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Xob(e,"reading data"))}},TLc=function(a){return SLc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},ULc=function(a,b,c,d,e,f,h){this.Xa=a;this.ha=b;this.hb=c;this.ua=d;this.rb=e;this.hc=f;this.Ma=h;a=_.C(f.request,_.hKc,15);a=_.mN()&&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=_.Jh();this.ma=!1;this.Ja=h.requestId;this.ka="progress_"+this.Ja;h.eqa=this.ka;this.Ba=this.Qa=0},VLc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
ULc.prototype.start=function(){var a=this,b=new PIc(this.hc.request,this.V,this.hc.metadata),c=WLc(this);this.Xa.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.f$a;a.Ka=d.jjb;a.Ga=d.MTa;XLc(a)},function(d){return void a.W.reject(d)});return _.Kh(this.W.promise.then(function(d){YLc(a,d);return d},function(d){d=_.NN(d);YLc(a,d.dg);return _.Gh(d)}),function(){aLc(a.ha,[a.ka])})};var WLc=function(a){var b=_.tf(a.Ma);$Kc(a.ha,a.ka,qKc(function(){return void a.ha.notify([a.Ja],0)}));return b};
ULc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(WIc(this.hc)),!0)};XLc=function(a){a.ma||(VLc(a,"Uploading chunk "+a.Ba+" for "+a.wa+"."),ZLc(a,4))};
ZLc=function(a,b){$Lc(a).then(function(c){if(c){var d=aMc(a,c.H.size);if(d.maa){var e=(new _.MO).Ec(8);a.W.resolve(e)}else a.Xa.then(function(f){return f.H(c,d)}).then(function(f){a.H+=c.H.size;a.Ba++;f.pB()&&(a.Ka=f.pB());f.lJ()&&(a.Ga=f.lJ());a.H<a.V?XLc(a):a.W.resolve(f)},function(f){var h=_.lN(f);h.Zka()||h.V8()?bMc(a,b,h,!1):TLc(c.H).then(function(k){k=k?_.EEa.get(k)||25:38;_.XM(h,k);k=38==h.Kn();var l=38!=h.Kn()&&25!=h.Kn();bMc(a,b,h,k,l)},function(){})})}else e=_.NN(_.XM(_.Fq(new _.qb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};bMc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Sha(f);!e&&0<b?(a.Qa++,d&&(a.ua=Math.max(262144*Math.floor(a.ua/262144/2),8388608)),setTimeout(function(){b--;VLc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ua+" bytes "):"")+"for ")+(a.wa+"."));ZLc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.NN(c))};
$Lc=function(a){return cMc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new QIc(a.wa,b,a.V,a.H,a.H+b.size-1,a.hc.request.Rb(),_.z(a.hc.request,12)||void 0)})};cMc=function(a){var b=Math.min(a.V-a.H,a.ua),c=a.H,d=c+b;return a.hc.H?a.hc.H(c,b):_.Fh(_.NKc(a.hc.file,c,d))};aMc=function(a,b){var c=_.tf(a.Ma);c.jwa=!0;var d=a.H/a.V,e=b/a.V;aLc(a.ha,[a.ka]);$Kc(a.ha,a.ka,function(f){a.ha.notify([a.Ja],d+e*f)});return c};
YLc=function(a,b){b.aya(3);b.Sha(a.Qa);b.pB()||b.h2(a.Ka);b.lJ()||b.T1(a.Ga)};_.dMc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.dMc.prototype.create=function(a,b){return new ULc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.eMc=function(a){this.V=a;this.H={}};
_.eMc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Gr.request instanceof _.RIc)b.push(fMc(this,a[c].Gr));else{var d=_.Fq(new _.qb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.NN(d)))}return b};_.eMc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.eMc.prototype.YEa=function(){return!_.qf(this.H)};fMc=function(a,b){var c=a.V.create(b.request,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.Kh(d,function(){delete a.H[e]})};
_.gMc=function(a,b){return new _.AP(b,a,[new HLc],[new _.yP],[],"immediate")};_.hMc=function(a,b,c,d,e,f,h){if(h){var k=new _.JLc(h.getState());d=new _.ELc(h)}else k=new _.fLc(c,d),d=new _.dLc(d);return new _.AP(f,a,[k,new _.sP(e,f),new ILc],[new _.yP],[d,new _.OLc(b,e,h?h.getState():c,f)],"connected")};
_.iMc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.D(b,10,50):l;if(h){var n=new _.JLc(h.getState());d=new _.ELc(h)}else n=new _.fLc(c,d),d=new _.dLc(d);return new _.AP(f,a,[n,new _.jLc(l,_.D(b,12,10)),new _.zP(3*l),new _.sP(e,f)],[new _.yP],[d,new _.OLc(b,e,h?h.getState():c,f)],k)};_.jMc=function(a,b,c){b=_.D(b,46,1);return new _.AP(c,a,[new _.zP(b)],[new _.yP],[],"resumable_upload")};
_.kMc=function(a,b,c,d,e,f,h,k){this.Ga=a;this.Ba=b;this.V=c;this.ma=d;this.wa=e;this.ka=f;this.ha=h;this.ua=k;this.W=null};_.kMc.prototype.H=function(a,b){var c=this,d=function(h){h=_.NN(h);var k=h.dg;XIc(a)||_.Hq(k);return _.Gh(h)};if(this.ha()&&(a instanceof _.YM&&_.PO(a.kd())||b&&b.Bob)){this.W||(this.W=_.Jh());var e=this.W.promise}var f=function(){return lMc(c,a,b).then(null,d)};return e?e.then(f):f()};
var lMc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ga.validate(b);if(d)return _.Gh(_.NN(d));d=a.Ba.V(b);return d instanceof _.qb?_.Gh(_.NN(d)):Array.isArray(d)?(d=d.map(function(e){return mMc(a,b,e,c)}),_.Ih(d)):mMc(a,b,d,c)},mMc=function(a,b,c,d){var e=nMc(a,c);if(!e)return b=_.XM(_.Fq(new _.qb,"Failed to choose a queue for server request."),18),_.Gh(_.NN(b));if(e===a.V[7]||e===a.V[8])d.HG=!0;d=e.add({request:c,config:d});(_.OO(b)||_.OO(c))&&_.Kh(d,function(){a.ha()||(a.ua(),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};_.kMc.prototype.cancel=function(a){return _.mf(this.V,function(b){return b.cancel(a)})};
nMc=function(a,b){var c=!1;b instanceof _.oo?c=!!_.E(b,7):b instanceof _.YM&&(c=(c=b.kd())&&!!_.E(c,46));return(b instanceof _.TIc||"undefined"!=typeof _.BP&&b instanceof _.BP&&b.W())&&a.V[1]?a.V[1]:b instanceof _.RIc&&a.V[5]?a.V[5]:c&&dJc(b,a.ka)&&a.V[7]?a.V[7]:dJc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.oo&&a.V[6]?a.V[6]:(c||DLc.includes(b.constructor))&&a.V[3]?a.V[3]:YIc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.oMc=function(a,b){this.H=a;this.V=_.QGc[_.D(a.mf(),8,0)];this.ha=_.QGc[_.D(a.mf(),51,5)];this.W=b;this.ka=_.tg()};
_.oMc.prototype.Ic=function(a,b){if(b.HG)pMc(this,a,b),qMc(this,a,b);else if(11==a.mp){if(b.igb){var c=b.Oaa||_.D(this.H.mf(),37,"");_.bj(a.uri,"key",c)}pMc(this,a,b);rMc(this,a,b)}else switch(a.uri=sMc(this,a.mp,a.uri),a.mp){case 1:rMc(this,a,b);pMc(this,a,b);break;case 0:_.A(this.H,83,!1)&&(b.AG||_.$M(this.H.Ne())||_.bj(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:rMc(this,a,b);qMc(this,a,b);pMc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:rMc(this,a,b);qMc(this,a,b);break;
default:throw Error("hf`"+a.mp);}};
var tMc=function(a,b){var c=sMc(a,b,new _.Si);if(!c.H)throw Error("kf");return _.Wi(_.Vi(_.Ui(_.Ti(new _.Si,c.V),c.H),c.ha),_.dHc.has(b)?"/batch"+a.V:"/batch")},sMc=function(a,b,c){var d=_.z(a.H.mf(),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.mf(),62,"");break;case 8:a=_.z(a.H.mf(),53);break;case 9:a=_.z(a.H.mf(),56);break;case 10:a=_.z(a.H.mf(),22);break;
case 13:a=_.z(a.H.mf(),55);break;case 12:a=_.z(a.H.mf(),43);break;default:throw Error("hf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Si(a);_.Oc(c,"/")&&(c=c.slice(1));return new _.Si(a+"/"+c)},rMc=function(a,b,c){a=a.H.Ne();c.AG||_.$M(a)||(c=[{key:"u",value:_.hP(a)}],b.headers.authorization=_.TZb(c)||"",c=_.nN(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},pMc=function(a,b,c){var d=a.H.Ne(),e=a.H.mf(),f=c.cnb||!!_.z(e,13);c=c.dnb||_.A(e,14,!1);var h=11==b.mp;
f&&((f=_.z(e,13))&&_.Oc(f,"email:")?_.bj(b.uri,"trace",f):f&&"trace:true"==f?_.bj(b.uri,"$trace","true"):f?_.bj(b.uri,"trace","token:"+f):_.bj(b.uri,"trace","email:"+d.getEmail().replace(/(@|\+).*$/,"")),h||_.bj(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())},qMc=function(a,b,c){c.AG||_.$M(a.H.Ne())?_.bj(b.uri,"key",_.D(a.H.mf(),36,"")):(a=c.Oaa||_.D(a.H.mf(),37,""),_.bj(b.uri,"key",
a))},uMc=function(a){this.H=a};uMc.prototype.build=function(a,b){var c="====="+_.tg()+"=====",d=a[0].mp,e=b.every(function(l){return l.HG});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=tMc(this.H,a[0].mp);_.bj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.hHc[d],h=_.iHc[d]||{},h["content-type"]=_.Qx('multipart/mixed; boundary="%s"',c),d=_.fHc[d],k=new _.Si("");a=vMc(this,a,b,c,e);return{mp:f,body:a,headers:h,method:d,uri:k}};
var vMc=function(a,b,c,d,e){for(var f=GIc(_.lHc[b[0].mp]||{}),h="",k=0;k<b.length;k++){e&&rMc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=sMc(n,q.mp,q.uri);switch(q.mp){case 0:case 5:qMc(n,q,t);pMc(n,q,t);break;case 2:rMc(n,q,t);qMc(n,q,t);var v=q,y=_.z(n.H.mf(),57);v.headers.host=_.gj(y).H;v.headers.origin=_.m.location.origin?_.m.location.origin:_.m.location.protocol+"//"+_.m.location.host;pMc(n,q,t);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("jf`"+q.mp);default:throw Error("hf`"+
q.mp);}n=l;q=n.uri.clone();_.Ti(q,"");_.Ui(q,"");_.Vi(q,null);l=f+"\r\n"+(n.method+" "+q+" HTTP/1.1\r\n")+GIc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},wMc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,xMc=/^multipart\/mixed; boundary="?([^"]+)"?$/,yMc=function(a,b,c){var d,e=b.split("\r\n\r\n");if(2>e.length)return new _.rb("Individual batch response contained too few parts.",_.XM(_.Gq(new _.qb,b),17));var f=e[1].split("\r\n");if(d=wMc.exec(f[0])){var h=_.wg(d[1]);
d=d[2]}else return new _.rb("Could not extract HTTP status code and text.",_.XM(_.Gq(new _.qb,b),16));f.shift();a=_.tf(a);Object.assign(a,HIc(f));try{var k=_.Ec(_.sg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.mFc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.NN(c):{headers:a,text:b,json:k||void 0}},zMc=function(){_.Mi.apply(this,arguments)};_.I(zMc,_.Mi);zMc.prototype.Qa=function(){return _.uga(_.Mi.prototype.Qa.call(this))};
var AMc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},BMc=function(a,b,c){try{a.ma.Ic(b,c);var d=new zMc;d.W=!0;var e=c.requestId||"",f=_.Jh();d.listen("complete",a.ua.bind(a,d,f,e,c.Bla,4==b.mp));e&&c.eqa&&!c.HG&&(a.V[e]=d,a.H[e]=c,d.Xb=!0,d.listen("uploadprogress",(0,_.K)(a.ka,a,c)),c.jwa||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 _.Gh(_.NN(h))}};
AMc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.ze()?(a.maa=!0,b.abort(),!0):!1};AMc.prototype.ua=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:fJc(a),text:_.Qi(a)};if(!d)try{c.json=_.Ri(a)}catch(f){}d=_.mFc(a.Gb(),_.tka(a),c.headers,c.text,c.json,a.V,_.wka(a),String(a.ka),e);a.dispose();d?b.reject(_.NN(d)):b.resolve(c)};
AMc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.eqa],a.jwa?b.loaded/b.total:b.loaded/b.total/2)};AMc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.eqa],b.loaded/b.total/2+.5)};var CMc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
CMc.prototype.add=function(a,b){var c="DEFAULT";b.HG&&(c=tMc(this.V,a.mp).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.HG&&!_.hHc[a.mp])return a=_.Fq(new _.qb,"Unsupported batch API: "+a.mp),_.Gh(_.NN(a));var d=_.Jh();c.push({request:a,config:b,hk:d});return d.promise};
CMc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{DMc(a,b)}catch(f){var d=_.Gq(_.Fq(new _.qb,"Error executing XHR: "+f.message),f.stack),e=_.NN(d);b.forEach(function(h){h.hk.reject(e)});a.H.delete(c)}})};
DMc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.Bla&&!c.config.HG){var d=!1;if(_.hHc[c.request.mp]){var e={mp:c.request.mp,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.Ic(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){b=c.hk;BMc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}EMc(a,b)};
EMc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});BMc(a.W,a.ha.build(c,d),{Bla:!0,HG:d.every(function(e){return e.HG})}).then(function(e){e.headers=_.VM(e.headers);var f=xMc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.rb("Could not extract batch boundary.",_.XM(_.Gq(new _.qb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Oc(_.uga(h[0]),f)&&_.Ec(h[1]))h=_.uga(h[0]).substring(f.length);else throw new _.rb("Could not parse batch response; did not begin and end with boundary.",
_.XM(_.Gq(new _.qb,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(yMc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.NN(e);return _.VEc(e,b.length)}).then(function(e){for(var f=0;f<b.length;f++){var h=b[f].hk,k=e[f];k instanceof _.qb||k instanceof _.rb?h.reject(_.NN(k)):h.resolve(k)}})};_.CP=function(a,b){_.kP(a)&&(b.supportsTeamDrives=!0)};
_.FMc=function(a){this.H=[].concat(_.oc(_.z(a,27)));this.V=new Set;var b=_.zIc(this.H,_.z(a,28));if(0<b.length)throw Error("lf`"+b.join(","));this.H.push(21);this.H.push(70);_.$M(a.Ne())||(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));_.kP(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();AIc(this.H)};_.DP=function(a){return[].concat(_.oc(a.H))};
GMc=function(a){return a instanceof _.YM||a instanceof _.JO||"undefined"!=typeof _.EP&&a instanceof _.EP||a instanceof _.BO||a instanceof _.dO||a instanceof _.XN||a instanceof _.aO||a instanceof _.qN&&_.OO(a)};_.HMc=function(a,b){this.V=b;this.H={};this.W=new tKc;b=_.PN({fields:_.z(a,28),mw:_.$M(a.Ne())});this.jc("SecondaryFields",b);this.jc("SdkBackfillEnabled",!!_.A(a,45,!1)+" (Include corpus cache: "+!!_.A(a,46,!1)+")")};_.HMc.prototype.jc=function(a,b){this.H[a]=_.IMc(a,b)};
JMc=function(a,b){var c=a.H[b];c||(c=_.IMc(b,0,2),a.H[b]=c);c.jc(String(Number(c.yb())+1))};_.IMc=function(a,b,c){var d=new _.MKc;_.x(d,1,a);_.x(d,4,c||1);d.jc(String(b));d.zl(pKc[a]);return d};
_.KMc=function(a,b,c){var d=new _.kFc;_.x(d,2,"Pending...");b instanceof _.YM?_.Sj(d,3,_.ZM[0],b):b instanceof _.JO?_.Sj(d,4,_.ZM[0],b):"undefined"!=typeof _.EP&&b instanceof _.EP?_.Sj(d,5,_.ZM[0],b):b instanceof _.BO?_.Sj(d,6,_.ZM[0],b):b instanceof _.dO?_.Sj(d,7,_.ZM[0],b):b instanceof _.XN?_.Sj(d,8,_.ZM[0],b):b instanceof _.aO?_.Sj(d,9,_.ZM[0],b):b instanceof _.qN&&_.Sj(d,10,_.ZM[0],b);var e=VIc(b),f=[];if(b instanceof _.TN)LO(f,"ID",b.getId()),LO(f,"Parent ID",b.Nj());else if(b instanceof _.dO)LO(f,
"TD ID",b.getId());else if(b instanceof _.YM)b=_.CLc(b.kd()),LO(f,"Query",b);else if(b instanceof _.JO)LO(f,"Query","All");else if(b instanceof _.BO)LO(f,"TD ID",b.getId()),LO(f,"Title",b.getTitle()),LO(f,"Theme Image ID",_.z(b,3));else if(b instanceof _.XN)LO(f,"MimeType",b.Rb()),LO(f,"Title",b.getTitle()),LO(f,"Parents",_.z(b,3)),LO(f,"Convert",_.E(b,8)),LO(f,"Request ID",_.lP(b)),LO(f,"Parent Request IDs",_.z(b,10)),LO(f,"Revision Item ID",_.z(b,12)),LO(f,"Pinned",_.E(b,8));else if(b instanceof
_.YN)LO(f,"Title",b.getTitle());else if(b instanceof _.aO)LO(f,"ID",b.getId());else if(b instanceof _.eO)LO(f,"WS ID",b.getId());else if(b instanceof _.qN){if(LO(f,"ID",b.getId()),LO(f,"Title",b.getTitle()),LO(f,"Description",b.Tf()),LO(f,"Starred",_.E(b,4)),LO(f,"Trashed",b.Bh()),LO(f,"MimeType",b.Rb()),LO(f,"Parents",_.z(b,8)),LO(f,"Parents to add",_.z(b,9)),LO(f,"Parents to remove",_.z(b,10)),LO(f,"Restricted",_.E(b,11)),LO(f,"Folder Color",b.$h()),LO(f,"Update Last Viewed",_.E(b,15)),LO(f,"Subscribed",
_.E(b,16)),LO(f,"Available Offline",b.Rp()),LO(f,"Wksp to add",_.z(b,31)),LO(f,"Wksp to remove",_.z(b,32)),b=_.C(b,_.Ek,25))LO(f,"Read Only",_.E(b,1)),LO(f,"Reason",_.z(b,2))}else b instanceof _.CO?(LO(f,"WS ID",b.getId()),LO(f,"Title",b.getTitle()),LO(f,"State",b.getState())):b instanceof _.FO&&LO(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.LMc=function(a,b){for(var c=new _.xp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+rKc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};MMc=[0,2,4,7,8];_.NMc=function(a,b,c,d,e,f,h){this.W=a;this.Ba=b;this.Ga=c;this.wa=d;this.ua=e;this.ha=f;this.H=h;this.ma=new uMc(this.W);this.ka=new AMc(this.W,this.Ba);this.V=[]};_.g=_.NMc.prototype;
_.g.execute=function(a){for(var b=this,c=[],d=[],e=0;e<a.length;e++){var f=a[e].Gr;this.V.push(f);c.push(OMc(this.Ga,f,a[e].Cu));d.push(GMc(f.request)?_.KMc(this.ua,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.NN(_.mFc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new CMc(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.Bfb.bind(b,t.mp,q.AG),function(){});return v}.bind(this,a[f].Gr.config));e.push(l)}Promise.allSettled(c).then(function(){k.send()});
c=[];for(f=0;f<a.length;f++){l=a[f].Gr;var n=e[f].then(this.$Sa.bind(this,l.request,d[f],a[f].Cu)).then(null,function(q){return Promise.reject(_.NN(q))});n.then(this.XEa.bind(this,l),this.XEa.bind(this,l));c.push(n)}return c};_.g.$Sa=function(a,b,c,d){a=_.PMc(this.wa,a,d,c);b&&_.LMc(b,a.Bd?a.Bd():[]);return a};_.g.Bfb=function(a,b){a=!b&&_.ja(MMc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.qc.isConnected()||a)c=FLc(b,c),a&&c&&_.QMc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.YEa=function(){return this.V.some(function(a){return _.OO(a.request)})};_.g.XEa=function(a){_.oa(this.V,a)};_.FP=function(a,b){if(!_.wa(b))throw new _.rb("Expected an object, but got a "+_.pea(b)+".",_.LN(11,void 0,8));var c=b.kind;if(!c)throw new _.rb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.LN(11,void 0,21));if(!a.includes(c))throw new _.rb("Expected "+a.join(" or ")+" but got a "+c+".",_.LN(11,void 0,9));};RMc=function(a,b){this.H=a;this.V=b};
_.GP=function(a,b){_.FP(["drive#user"],b);var c=_.hJc(1).kc(b.permissionId);c=_.x(c,11,b.id);c=_.jJc(c.zd(b.displayName),b.emailAddress);b.picture&&c.Fs(b.picture.url);_.pN(a.H)&&_.jJc(c,b.emailAddressFromAccount||b.emailAddress);_.iJc(c,a.Ef(b.permissionId,b.id));_.x(c,9,b.domain);return c};RMc.prototype.Ef=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.hP(this.H.Ne())==b};_.HP=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.SMc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.kJc(new _.Bk,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);b=_.vJc(_.qJc(_.wJc(_.xJc(_.yJc(_.uJc(_.tJc(_.pJc(_.oJc(_.nJc(_.mJc(_.lJc(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=_.zJc(_.sJc(_.rJc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.CJc(_.BJc(_.AJc(_.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=_.EJc(_.DJc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.HJc(_.GJc(_.FJc(_.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)};
TMc={anyone:4,audience:5,domain:3,group:2,user:1};UMc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};VMc={docs:1,sheets:2,slides:3};WMc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};XMc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};YMc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};ZMc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};$Mc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};aNc={ok:1,notFound:2,permissionDenied:3};bNc={unencrypted:1,encrypted:2};cNc={unset:0,"default":1,small:2,size16kb:3};
dNc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};eNc=function(a,b){this.H=a;this.V=b};
_.hNc=function(a,b,c){var d=new _.oP;a=(new _.qC).Ew(fNc(a,b));a=_.x(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.FP(["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 _.pC).Ec(XMc[q.status]);t=_.x(t,1,q.original);q=_.x(t,3,q.correction);l.push(q)}k=new _.kmb;l=_.Tj(k,1,l);f.push(l)}h=new _.mmb;_.Tj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.imb;
_.x(v,1,f||[])}h||v?(f=new _.nmb,h&&_.R(f,1,h),v&&_.R(f,2,v),v=f):v=null;_.R(a,7,v);_.gKc(a,gNc(b))}d=_.OKc(d,a);c=_.hFc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
kNc=function(a,b,c,d,e){_.FP(["drive#adminFile","drive#file","drive#revision"],b);var f=_.nP(new _.MO,c);"drive#adminFile"==b.kind?(_.FP(["drive#adminFile"],b),c=(new _.Hk).kc(b.id),b.parentId&&_.YO(c,[b.parentId]),_.UJc(c,b.teamDriveId),f.setItem(c),_.nP(f,c.getId())):"drive#file"==b.kind?(b=_.iNc(a,b),f.setItem(b),c||_.nP(f,b.getId())):"drive#revision"==b.kind&&(b=_.jNc(a,b),_.R(f,4,b));f.h2(_.gFc(d));f.T1(_.hFc(d));(d=(d=d&&_.VM(d))&&d["x-server-object-version"])&&e&&(e=(new _.mP).kc(d),_.R(f,
4,e));f.Ec(1);return f};_.IP=function(a,b){return _.nP(new _.MO,a).Ec(1).h2(_.gFc(b)).T1(_.hFc(b))};_.mNc=function(a,b,c,d){d||_.FP(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.lNc(a,b[c],d);f&&e.push(f)}return e};
_.lNc=function(a,b,c){c||_.FP(["drive#permission"],b);c=_.hJc(TMc[b.type]).kc(b.id);c=_.x(c,11,b.userId);c=_.iJc(c,a.H.Ef(b.id,b.userId));c=_.x(c,4,b.withLink);c=_.jJc(c.zd(b.name).Fs(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);_.pN(a.V)&&c.zd(b.nameIfNotUser);a=UMc[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};fNc=function(a,b){_.FP(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.iNc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.iNc(a,b[d]);c.push(e)}}return c};
_.iNc=function(a,b){_.FP(["drive#file"],b);var c=_.SJc(_.OJc(_.PM(_.YO((new _.Hk).kc(b.id),nNc(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.zl(b.description);_.PJc(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.Tq(d.starred);_.x(c,6,d.hidden);
c.yn(d.trashed);_.NJc(c,d.restricted);_.x(c,9,d.viewed)}_.x(c,10,_.HP(b.createdDate));_.x(c,69,_.HP(b.serverCreatedDate));_.WEc(c,_.HP(b.modifiedDate));_.x(c,12,_.HP(b.modifiedByMeDate));_.x(c,13,_.HP(b.lastViewedByMeDate));_.x(c,23,_.HP(b.sharedWithMeDate));_.x(c,62,_.HP(b.subscribedDate));_.x(c,70,_.HP(b.recency));b.recencyReason&&_.x(c,71,WMc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.GP(a.H,e[f]);h&&d.push(h)}_.ZO(c,d);b.lastModifyingUser&&(d=_.GP(a.H,
b.lastModifyingUser),_.$O(c,d));b.userPermission&&_.QM(c,UMc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.UO,e=_.x(e,2,d.width).Vf(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.UGc,f.setMilliseconds(0),_.qHc.parse(d,f),_.x(e,1,f.getTime())),_.R(c,27,e));null!=b.folderColor&&_.RJc(c,Number(b.folderColor));_.QJc(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=_.GP(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],_.TEc[h]&&(h=_.oe(new _.ne,_.TEc[h]),e.push(h));c.jC(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 _.Nma).kc(h.id);h=_.x(k,2,YMc[h.type]);e.push(h)}_.Tj(c,83,e)}b.capabilities&&c.xn(_.SMc(b.capabilities));b.permissionsSummary&&_.VJc(c,_.oNc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.WO).zl(d.description),e=_.x(e,3,ZMc[d.galleryState]),d=_.x(e,2,d.category||[]),_.R(c,
86,d));_.UJc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.GP(a.H,b.creator),_.R(c,91,d));_.WJc(c,b.primaryDomainName);_.XJc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.GP(a.H,b.trashingUser),_.R(c,95,d));_.x(c,96,_.HP(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,VMc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.XO,e=_.x(e,1,d.width).Vf(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=_.IJc(_.TO(new _.Ek,f.readOnly),f.reason),d.push(f);_.Tj(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 _.Ak).kc(f.approvalId).Ec($Mc[f.status]),d.push(f);_.Tj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Wma,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.x(e,4,aNc[d.targetLookupStatus]||0),d.targetFile&&(d=_.iNc(a,d.targetFile),
_.R(e,5,d)),_.R(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.RO,e=_.x(e,1,bNc[d.encryptionState]),d.decryptionMetadata&&(d=pNc(d.decryptionMetadata),_.R(e,2,d)),_.R(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.VO,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);_.DIc(c);_.pN(a.V)&&_.TJc(c,5);return c};
nNc=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};_.jNc=function(a,b){_.FP(["drive#revision"],b);var c=(new _.mP).kc(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.HP(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=_.GP(a.H,b.lastModifyingUser),_.R(c,9,a));b.decryptionMetadata&&(b=pNc(b.decryptionMetadata),_.R(c,10,b));return c};
_.oNc=function(a,b){a=_.LJc(_.KJc(_.JJc(new _.Qma,b.entryCount),_.mNc(a,b,"visibility",!0)),_.mNc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};pNc=function(a){var b=a.wrappedKey;var c=new _.SO;b=b?_.sKc(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,cNc[a.aes256GcmChunkSize]);c=_.x(c,6,dNc[a.keyFormat]);return _.x(c,4,a.jwt)};
gNc=function(a){_.FP(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};qNc=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("&")};
rNc=function(a,b,c){c=void 0===c?!1:c;var d=_.E(a,44),e=a.kf();if(c&&e){if(1!=_.hd(e))return null;d=(d=_.dd(e))?_.E(d,44):!0}if(!d)return null;d={};e=a.getId();_.QN(a)&&c&&(e=EIc(a));c=[_.D(b,65,"https://lh3.google.com"),"u",_.nN(b.Ne()),"d",e].join("/");c+="={size}";_.QO(b)&&a.RJ()&&(d.resourcekey=_.Nk(a));return c=qNc(c,d)};_.sNc=function(a){this.H=a};
_.vNc=function(a,b,c){tNc(a,b,c);c.includes(18)&&_.OJc(b,eJc(b,a.H,a.H.Vp()));if(c.includes(19)){var d=rNc(b,a.H,a.H.Vp());_.x(b,20,d)}uNc(a,b,c);if(a.H.Vp()&&_.QN(b)){if(d=(d=b.kf())&&_.dd(d)){tNc(a,d,c);c.includes(18)&&_.OJc(d,eJc(d,a.H,a.H.Vp()));if(c.includes(19)){var e=rNc(d,a.H,a.H.Vp());_.x(d,20,e)}uNc(a,d,c)}_.SJc(b,!!b.Ah())}};
tNc=function(a,b,c){if(c.includes(20)&&c.includes(3)){c=_.A(a.H,75,!1);a=a.H.Vp();c=void 0===c?!1:c;a=void 0===a?!1:a;var d=b.Rb();a&&_.QN(b)&&(d=(a=b.kf())?_.z(a,3):"");_.RN(b)&&(b.$h()&&(d+="+"+String(b.$h())),b.Xi()&&(d+="+shared"));_.x(b,21,_.RZa(d,c?"32":"16"))}};
uNc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Rb();e&&(e=!_.RN(b)&&!_.QN(b)&&!_.Nc(e)&&(!b.OX()||2!=b.wm()),d&&_.x(b,40,e),e&&c&&(d=a.H,c=a.H.Vp(),c=void 0===c?!1:c,a=b.getId(),_.QN(b)&&c&&(a=EIc(b)),c=new _.Si(_.D(d,16,"")+"/uc"),_.bj(c,"id",a),_.bj(c,"authuser",_.nN(d.Ne())),_.bj(c,"export","download"),_.QO(d)&&b.RJ()&&_.bj(c,"resourcekey",_.Nk(b)),_.x(b,41,c.toString())))}};_.wNc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new RMc(b,d);this.rA=new eNc(this.ka,b)};
_.PMc=function(a,b,c,d){d=void 0===d?[]:d;try{return xNc(a,b,c,d)}catch(e){_.ON(e)}};
xNc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.XN)return _.JP(a,b,c);if(b instanceof _.fO)return"base64"==c.headers["x-goog-safety-encoding"]?new nLc(_.raa(c.text),d.length):new nLc(new Uint8Array(_.Lka(c.text)),d.length);if(b instanceof _.oo){if(!c.json)throw _.KP();return _.hNc(a.rA,c.json,c.headers)}if(b instanceof _.IO)return _.JP(a,b,c);if("undefined"!=typeof _.GO&&b instanceof _.GO){if(!c.json)throw _.KP();a=c.json;return new _.lLc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.yNc&&b instanceof _.yNc){if(!c.json)throw _.KP();return _.jNc(a.rA,c.json)}if(b instanceof QIc){if(b.V==b.ha-1){if(!c.json)throw _.KP();b=kNc(a.rA,c.json,null,c.headers,!!b.Bt);_.vNc(a.V,b.getItem(),_.DP(a.H));a=b}else a=_.IP(null,c.headers);return a}if(b instanceof PIc){a=_.VM(c.headers);b=a.location;if(!b)throw a=_.XM(new _.qb,10),new _.rb("No upload session URI included.",a);return new mLc(b,_.gFc(a),_.hFc(a))}throw new _.rb("FromXhrConverter: Unsupported request type.",
new _.qb);};_.wNc.prototype.ma=function(){return null};_.JP=function(a,b,c){if(!c.json){if(b instanceof _.qN)return _.IP(_.LP(b));throw _.KP();}var d=!1;b instanceof _.IO&&(d=!!_.z(b.request,12));b=kNc(a.rA,c.json,_.LP(b),c.headers,d);b.getItem()&&_.vNc(a.V,b.getItem(),_.DP(a.H));return b};_.KP=function(){var a=_.XM(new _.qb,11);return new _.rb("FromXhrConverter: JSON required, but none found",a)};_.LP=function(a){return a.getId?a.getId():a.Hc?a.Hc():null};
_.zNc=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)}}};
ANc=function(a,b){var c={};_.Ec(_.sg(a.getTitle()))||(_.z(a,12)?c.originalFilename=a.getTitle():c.title=a.getTitle());if(a.Rb()&&(c.mimeType=a.Rb(),a.Hc()&&_.yda(a.Rb())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.kj(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.uHc[d?d.V():0],f);c.clientEncryptionDetails=e}_.zNc(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=_.fKc(_.oLc(_.z(a,26)||0)));return c};
BNc=function(a,b,c){var d=!!_.z(a.request,12),e="files";d&&(e+="/"+_.z(a.request,12));e=new _.Si(e);_.bj(e,"uploadType","multipart");_.bj(e,"supportsTeamDrives",!0);_.bj(e,"pinned",!!a.request.hs());null!=_.E(a.request,8)&&_.bj(e,"convert",_.E(a.request,8));_.bj(e,"fields",_.yIc({fields:_.DP(b).filter(function(n){return 194!=n}),mw:!1}));FIc(e,a.request.oe());var f=ANc(a.request,a.metadata),h=_.tg();b={};b=(b["content-type"]=_.Qx('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.Rb()&&(l["content-type"]=a.request.Rb());a="--"+h;a=a+"\r\n"+GIc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+GIc(l)+"\r\n"+c+"\r\n"+a+"--";return{mp:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};CNc=function(a){if(a instanceof _.Xob){var b=new _.qb;_.Fq(b,"fs.Error: "+a.message);a=(a=a.name)?_.EEa.get(a)||25:38;_.XM(b,a);a=_.NN(b)}return Promise.reject(a)};
DNc=function(a,b){return SLc(a.file).then(function(c){return BNc(a,b,c)},CNc)};_.ENc=function(a,b){this.V=(_.Rj(a,_.Wk,91)||[]).reduce(function(c,d){var e=d.getId();if(null!=e){d=_.z(d,2);if(c[e]&&c[e]!=d)throw new _.rb("Multiple resource key definitions found for initial item "+e);c[e]=d}return c},{});this.H=b};FNc=function(a,b){return[].concat(_.oc(new Set(b))).map(function(c){var d=(new _.Wk).kc(c);a.V[c]?_.Xk(d,a.V[c]):a.H&&(c=a.H.H(c))&&_.Xk(d,_.Nk(c));return d}).filter(function(c){return c.RJ()})};
_.GNc=function(a){var b=_.XM(new _.qb,4);throw new _.rb("ToXhrConverter: Unsupported request type: "+VIc(a),b);};_.MP=function(a,b,c,d){this.H=a;this.ha=c;this.ka=d};OMc=function(a,b,c){try{return b.request instanceof _.IO?DNc(b.request,a.ha):Promise.resolve(a.W(b.request,b.config,c))}catch(d){return d instanceof _.rb?a=d.dg:(a=new _.qb,_.Fq(a,"Error converting XHR: "+d.message),_.Gq(a,d.stack),_.XM(a,4)),Promise.reject(a)}};
_.MP.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.XN){h=(e=!!_.z(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.z(a,12),k.pinned=!!a.hs());null!=_.E(a,8)&&(k.convert=_.E(a,8));k.fields=_.yIc({fields:this.Fg(c),mw:_.$M(this.H.Ne()),OI:_.pN(this.H)});e=ANc(a);f["content-type"]="application/json";var q=a.oe();l=!0;_.CP(this.H,k);_.HNc(this.H,k);_.QO(this.H)&&(b=_.Rj(a,_.Wk,28),b.length?_.INc(b,f):(a=_.z(a,3).concat([_.z(a,16),_.z(a,21),a.Hc()]),_.NP(this,a,f)))}else if(a instanceof
_.fO)n="files/"+a.getId(),_.z(a,2)&&(k.revisionId=_.z(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.QO(this.H)&&(a.RJ()?_.INc([_.Xk((new _.Wk).kc(a.getId()),_.z(a,3))],f):_.NP(this,[a.getId()],f)),l=!0;else if(a instanceof _.oo)l=a.Il()[0],n="files/"+l,q=_.qa(this.Fg(c),this.Fg(c,a.Sh())),_.ya(q),k.fields=_.yIc({fields:q,mw:_.$M(this.H.Ne()),OI:_.pN(this.H)}),_.CP(this.H,k),_.JNc(this.H,k),_.KNc(this.H,k),this.V(l,k),q=a.oe(),l=!0,_.E(a,7)&&(b.Bla=!0),_.QO(this.H)&&(b=_.Rj(a,
_.Wk,11),b.length?_.INc(b,f):_.NP(this,a.Il(),f));else if("undefined"!=typeof _.GO&&a instanceof _.GO)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.yNc&&a instanceof _.yNc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt)",n="files/"+a.id+"/revisions/"+a.Bt,l=!0;else if(a instanceof QIc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=
_.Qx("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof PIc?(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.hs(),null!=_.E(a.request,8)&&(k.convert=_.E(a.request,8)),k.fields=_.yIc({fields:this.Fg(c).filter(function(v){return 194!=v}),mw:_.$M(this.H.Ne()),OI:_.pN(this.H)}),_.CP(this.H,k),e=ANc(a.request,a.metadata),f["content-type"]="application/json",f["x-upload-content-length"]=a.H,null!=a.request.Rb()&&
(f["x-upload-content-type"]=a.request.Rb()),_.QO(this.H)&&_.NP(this,_.z(a.request,3),f),q=a.request.oe(),l=!0):a instanceof _.TIc?(n="about",k.fields="kind",q=a.H,l=!0):_.GNc(a);l&&_.LNc(c,k);return _.MNc(d,n,k,f,h,q,e,t)};_.MNc=function(a,b,c,d,e,f,h,k){b=new _.Si(b);[10,12,13].includes(a)||FIc(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;_.cj(b,f,l)}return{mp:a,headers:d,method:e,uri:b,body:h?JSON.stringify(h):k}};
_.JNc=function(a,b){_.A(a.mf(),23,!1)&&(b.includePermissionsForView="published")};_.MP.prototype.V=function(){};_.KNc=function(a,b){_.A(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.HNc=function(a,b){_.A(a,3,!1)&&(b.enforceSingleParent=!0)};_.LNc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).Nmb):b.retryCount=0};_.MP.prototype.Fg=function(a,b){b||(b=_.DP(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return JKc.includes(c)}));return b};
_.NP=function(a,b,c){b&&b.length&&(a=FNc(a.ka,b),_.INc(a,c))};_.INc=function(a,b){a.length&&(a=_.vib(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};_.NNc=function(a,b){_.UH.call(this,a?a:500,b?b:6E5)};_.I(_.NNc,_.UH);var ONc=function(){_.Tp.call(this);this.ha=this.W=null};_.I(ONc,_.Tp);ONc.prototype.V=function(){(0,this.ha)()};PNc=function(a,b){a.ha||(a.ha=b)};_.OP=function(a){if(!a.W){a.W=new IKc;var b=_.Vp(a);_.R(b,56,a.W)}return a.W};
QNc=function(a){var b=_.OP(a).getState();b||(b=new BKc,_.OP(a).Sd(b));return b};RNc=function(a,b){var c=new zKc;_.x(c,1,b);a=_.Vp(a);_.R(a,12,c)};ONc.prototype.ma=function(){var a=_.C(_.OP(this),DKc,4);if(!a){a=new DKc;var b=_.OP(this);_.R(b,4,a)}return a};SNc=function(a){var b=_.C(_.OP(a),EKc,8);b||(b=new EKc,a=_.OP(a),_.R(a,8,b));return b};_.TNc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.O.call(this);this.Tg=b?1:a;this.y$=!1;this.ZG=b};_.I(_.TNc,_.O);_.g=_.TNc.prototype;
_.g.isConnected=function(){return!this.y$&&1==this.Tg};_.g.Nl=function(){return 1==this.Tg||2==this.Tg};_.g.Ff=function(){return 3==this.Tg};_.g.get=function(){return this.Tg};_.g.update=function(a){if(this.ZG)return!1;if(this.Tg!=a||this.y$&&1==a){var b;2==a?b=3==this.Tg?"yb":"xb":1==a?b="wb":3==a&&(b="zb");if(b)return b=new UKc(b),this.Tg=a,this.y$=!1,this.dispatchEvent(b),!0}return!1};UNc=function(a,b){this.W=a;this.V=b;this.H=null};
YNc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return VNc(a,function(c){return c.count().then(function(d){return 1E3>d?WNc(a,c,b):XNc(a,Error("mf"))},function(d){return XNc(a,d)})},"readwrite")};WNc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.S6a=c.Vd(),d)).then(null,function(e){XNc(a,e)})};
ZNc=function(a){return new _.Eh(function(b){var c=new Map;VNc(a,function(d){return mKc(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={Kda:f.Kda},k=h.next())k=_.u(k.value),f.Kda=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Kda,new _.qza(n.S6a))}}(f));return _.Ih([].concat(_.oc(e.values()))).then(function(){return b(c)})})})})};
$Nc=function(a,b){return VNc(a,function(c){return c.remove(b)},"readwrite")};VNc=function(a,b,c){c=void 0===c?"readonly":c;return aOc(a).then(function(d){try{var e=_.hN(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return XNc(a,f)}},function(d){return XNc(a,d)})};
aOc=function(a){return a.H?_.Fh(a.H):_.SFc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.nKc(c,"OfflineImpressions");_.MFc(_.QFc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return XNc(a,Error("nf"))}).then(function(b){return a.H=b},function(b){return _.Gh(_.MN(b))})};XNc=function(a,b){b||(b=Error("of"));_.pP(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Fh()};
_.bOc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.O.call(this);this.Zw=b?!1:a;this.Vla=null;this.ZG=b};_.I(_.bOc,_.O);_.bOc.prototype.Ff=function(){return this.Zw};_.bOc.prototype.Uk=function(a){var b=this.Zw!=a;!this.ZG&&b&&(this.Zw=a,this.dispatchEvent(new eLc(a)))};_.bOc.prototype.CA=function(a){this.Vla=a};
var dOc=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ha=a;this.W=b;this.Tg=c;this.V=d;this.Mb=new _.ee(this);this.Mb.listen(b,"Cb",function(k){k.Ff()||cOc(h)});this.Mb.listen(c,["wb","yb"],function(){return void cOc(h)});this.ka=e;f.then(function(){return cOc(h)})};_.I(dOc,_.O);dOc.prototype.H=function(a){return(this.W.Ff()||this.Tg.Ff())&&this.W.Vla?YNc(this.V,a):this.ha.H(a)};
var cOc=function(a){return a.W.Vla?ZNc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return eOc(a,d)},function(){return fOc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},eOc=function(a,b){fOc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return $Nc(a.V,b).then(function(){fOc(a,"Removed offline impression batch "+b+".")},function(){fOc(a,"Unable to remove offline impression batch "+b+".")})},fOc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},gOc=function(){};gOc.prototype.iJ=function(){return new ONc};var hOc=function(){this.H=new yKc};hOc.prototype.V=function(a){_.R(a,13,this.H)};hOc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};jOc=function(a,b,c,d){this.Ga=_.PP(_.BHc,_.iP(a));this.ma=_.PP(_.FHc,_.D(a.mf(),8,0));this.W=_.PP(_.CHc,_.D(a.mf(),9,2));this.ua=_.A(a,10,!1);this.Ja=_.$M(a.Ne());this.wa=_.jP(a);this.ha=iOc(a);this.Ba=a.Ji();this.V=this.H=null;this.Ka=b;this.Tg=c;this.ka=d};
iOc=function(a){var b=[].concat(_.oc(_.yHc.keys())),c=[].concat(_.oc(_.zHc.keys())),d=_.oN(a);return b.filter(function(e){return _.yHc.get(e)(a)}).concat(c.filter(function(e){return d&&_.zHc.get(e)(d)}))};_.PP=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};kOc=function(a){if(a.V)return a.V.H("aU7Ts")};
jOc.prototype.Gb=function(a){return a instanceof _.qC||"undefined"!=typeof _.QP&&a instanceof _.QP||"undefined"!=typeof _.RP&&a instanceof _.RP||"undefined"!=typeof _.SP&&a instanceof _.SP?a.Gb():"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP||"undefined"!=typeof _.WP&&a instanceof _.WP||"undefined"!=typeof _.XP&&a instanceof _.XP?a.response?a.response.Gb():null:null};jOc.prototype.Ji=function(){return this.Ba};
var lOc=function(a){return a.Ka.Ff()||a.Tg.Ff()?2:1};jOc.prototype.getEnvironment=function(){return this.ka};var mOc=function(a,b){this.H=a;var c=new _.Fya;_.Gya(c,b.ha);a=this.H.TG();var d=_.FGc(a);_.R(d,10,c);(c=b.Ji())&&_.EGc(a,c);this.H.qU();this.V=b};mOc.prototype.isRunning=function(){return this.H.KO()};
_.nOc=function(a,b,c){var d=_.Up(a.H.SD(b,c),_.vHc);RNc(d,lOc(a.V));b=kOc(a.V);"boolean"===typeof b&&CKc(QNc(d),b);PNc(d,function(){1==c&&a.H.MF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=QNc(d);_.x(f,1,e);a.H.bp(d)});return d};oOc=function(a){var b=new _.VCa;var c=new hOc;_.x(c.H,1,a.Ga);_.x(c.H,3,a.ma);_.x(c.H,4,a.W);_.x(c.H,5,a.ua);_.x(c.H,6,a.Ja);_.x(c.H,7,a.wa);a=c.setEnvironment(a.getEnvironment());_.eKc(b,_.wHc,a);_.Xp(b,_.vHc,new gOc);return b};
pOc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.ZH(906,b,void 0,_.mN());l.ha=!1;var n=new _.TFc(l);b=new Date;l=_.KGc(_.JGc(_.IGc(oKc(),new _.UFc(l)),oOc(c)),109).setSessionId(b.getTime()+"_"+_.tg());if(k){a=new dOc(n,d,e,new UNc(a,f),f,h);_.HGc(l,a);d=l.build();_.DGc(d.TG(),1E3*b.getTime());var q=new mOc(d,c);(new _.ee).listen(a,"Db",function(){_.nOc(q,106008,0).V()});return q}_.HGc(l,n);a=l.build();_.DGc(a.TG(),1E3*b.getTime());return new mOc(a,c)};
qOc=function(a,b){this.V=a;this.ha=b};qOc.prototype.H=function(a){this.V&&_.rOc(this)&&_.nOc(this.V,a,0).V()};qOc.prototype.W=function(a){return this.V&&_.rOc(this)?_.nOc(this.V,a,1):null};_.rOc=function(a){return!(!a.V||!a.V.isRunning())};_.sOc=function(a,b,c,d,e,f){var h=_.E(a,59),k=_.nN(a.Ne()).toString(),l=_.hP(a.Ne());f=new jOc(a,b,c,f);a=h?pOc(l,k,f,b,c,d,e,_.A(a,17,!1)):null;return new qOc(a,f)};_.tOc=function(a,b,c){this.qc=a;this.ha=b;this.W=c;this.V=this.lm=null;this.H=!1};
_.tOc.prototype.getState=function(){return this.qc};_.QMc=function(a){a.V=null;a.lm&&(clearTimeout(a.lm),a.lm=null)};_.GLc=function(a){a.V||a.H||(a.V=new _.NNc(5E3,6E4),uOc(a))};uOc=function(a){vOc(a);a.V&&(a.lm=setTimeout(function(){return void uOc(a)},a.V.yb()),_.VH(a.V))};vOc=function(a){_.Kh(_.Fh().then(null,function(){return null}),function(){return void wOc(a)})};
wOc=function(a){xOc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.TIc(_.Be(new _.Ae,312)))}).then(null,function(b){b=_.NN(b);_.LGc(b.dg)&&FLc(a,2);return _.Gh(b)}).then(null,function(){return null})};xOc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};FLc=function(a,b){return!a.H&&a.qc.update(b)?(xOc(a,"Connection status: "+_.GHc.get(b)),!0):!1};_.p("sy12a");
_.yOc=function(a,b,c){_.gi.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.I(_.yOc,_.gi);
_.YP=function(a,b,c,d,e,f,h){_.O.call(this);var k=this;this.W=a;this.ma=b;this.Ga=c;this.ua=d;this.Xa=e;this.ha=f;this.H={};this.le=null;this.Ba=h;this.wa={};_.ud(this,function(){k.Rx()})};_.I(_.YP,_.O);_.YP.prototype.pR=function(){return _.ug()};
_.YP.prototype.upload=function(a,b,c){JMc(this.ma,"UploadTotalCount");var d=_.lP(a);if(d&&this.H[d])throw new _.rb("Upload requested with a duplicate request ID.");var e=_.z(a,10);if(e&&e.length){if(1!=e.length)throw new _.rb("Multi-parented uploads are not supported.");var f=this.H[e[0]];if(!f)throw new _.rb("The parent upload request must precede this request.");}!_.z(a,26)&&b&&b.lastModified&&_.x(a,26,b.lastModified);d||(d=this.pR(),_.x(a,9,d));a=_.Yj(a);e=zOc(this,d);this.H[d]={request:a,file:b,
Yf:e,OF:!1,KK:0,success:!1,sF:!1,children:[],metadata:c,rl:void 0};f?AOc(this,d,f):this.ka(d);return e.Lk()};
var zOc=function(a,b){var c=new _.Mh;c.Cf(_.Ue(a.Qa,b),_.Ue(a.Ma,b),a);return c},AOc=function(a,b,c,d){var e=a.H[b];c.children.push(b);_.ya(c.children);c.Yf.then(function(f){if(1==f.Gb()&&(f=f.Hc(),_.z(e.request,3).push(f),_.x(e.request,10,[]),!c.sF||d)){a.ka(b);return}BOc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Yf.Dd(_.UM(f)?f:Error(f))})};
_.YP.prototype.Qa=function(a,b){JMc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Gb();(b=a.rl)&&!a.sF&&(FKc(HKc(SNc(b),a.KK),!0),b.V())};_.YP.prototype.Ma=function(a,b){var c=_.C(this.W,_.WM,58);c&&_.A(c,1,!1)&&(this.wa[a]=b);JMc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.rl)&&!c.sF&&(FKc(HKc(SNc(a),c.KK),!1),b=(c=b&&b.dg)&&c.Qi(),c=c&&c.Kn(),b?GKc(SNc(a),COc.get(b)||13):c&&GKc(SNc(a),DOc.get(c)||0),a.V())};
_.YP.prototype.ka=function(a){var b=this.H[a];if(!b.OF){b.OF=!0;a=this.H[a];var c=a.request,d=_.C(this.W,_.WM,58);d&&_.A(d,4,!1)&&(d=c.getTitle().match(EOc))&&(!d[1]||a.KK<Number(d[1].substr(1)))&&(c=_.Yj(c),_.ma(_.z(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.C(b.request,_.hKc,15))?_.z(c,1)||0:0;var e=b.file&&b.file.size||c;c=this.W.mf();d=_.D(c,33,1048576);d=b.file&&(b.file&&e>d||this.ha)?2:b.file?1:3;if(this.Ba&&3!=d){var f=this.Ba.W(106012);if(f){b.rl=f;f=SNc(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.Yf;d=b.file;b=b.metadata;var k;this.ha&&(k=_.Ue(this.ha,_.lP(a)));FOc(this,new _.RIc(a,d,k,b),c,_.lP(a))}break;case 1:b.file&&(k=b.Yf,c=b.file,b=b.metadata,d=_.C(this.W,_.gJc,2),FOc(this,new _.IO(a,c,d&&_.A(d,2,!1)?b:void 0),k,_.lP(a)));break;case 3:FOc(this,a,b.Yf,_.lP(a));break;default:throw new _.rb("Upload type ${uploadType} not supported.");}}};
var FOc=function(a,b,c,d){$Kc(a.Ga,d,a.Ja.bind(a,d));_.Kh(a.ua.then(function(e){return e.H(b,{requestId:d})}).then(null,function(e){return GOc(a,b,e)}),function(){aLc(a.Ga,[d])}).then(c.callback,c.Dd,c)},GOc=function(a,b,c){var d=_.NN(c),e=b instanceof _.IO&&b.request.Hc()||"";c=d.dg;if(e&&8==c.Qi()){BOc(a);var f=_.qo(new _.oo,[e]);return _.Sh(a.ua.then(function(h){return h.H(f)}).then(function(h){h=h.qr().Bd()[0];var k=b.request;if(h&&!h.Bh()&&(h.Rb()||"").replace(/\s/g,"")==(k.Rb()||"").replace(/\s/g,
"")&&h.getTitle()==k.getTitle())return BOc(a),_.nP((new _.MO).setItem(h),e).Ec(1);BOc(a);return _.Gh(d)}))}return _.Th(d)};
_.YP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.sF||0!=c.children.length))if(c.sF=!0,c.Yf.Le())BOc(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.rl;d&&(GKc(FKc(HKc(SNc(d),c.KK),!1),2),d.V());var e=_.Jh();c.OF?this.ua.then(function(f){return void e.resolve(f.cancel(a))}):(c.OF=!0,d=new _.MO,d.Ec(8),c.Yf.callback(d),e.resolve(!0));e.promise.then(function(f){return BOc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.YP.prototype.Rx=function(){var a=this;_.jf(this.H,function(b,c){a.cancel(c)})};
_.YP.prototype.Jna=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.Yf.Le()||e[k])break;else if(!c.has(k)){e[f]=new _.rb("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ca(h,function(n){var q=b.H[n];q.KK++;if(!e[n])if(!q.Yf.Le()||q.success)e[n]=new _.rb("Unable to retry request.");else{var t=(_.z(q.request,10)||[])[0];e[t]instanceof _.rb?
e[n]=e[t]:(q.Yf=zOc(b,n),q.OF=!1,q.sF=!1,(t=t?b.H[t]:null)?AOc(b,n,t,!0):d.push(n),e[n]=q.Yf.Lk())}})}else e[f]=new _.rb("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.Mh?f:_.Th(f)});_.Fa(d,this.ka,this);return a};var BOc=function(a){a.isDisposed()};_.YP.prototype.kd=function(a){return this.H[a]};var EOc=/^uploadTestFailMe(\.[1-9])?$/,DOc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),COc=new Map([[3,14]]);

_.r();

}catch(e){_._DumpException(e)}
try{
_.HOc=function(a){return _.nd(a).Fg(_.A(a.get(_.Xa),19,!1)?_.PEc:_.kd)};_.p("sy12i");

_.r();

}catch(e){_._DumpException(e)}
try{
var IOc,JOc,KOc,LOc,MOc,NOc,OOc,POc,QOc,ROc,ZP,XOc,YOc,ZOc,$Oc,aPc,$P,cPc,dPc,ePc,gPc,hPc,iPc,kPc,mPc,oPc,qPc,sPc,vPc,yPc,BPc,CPc,DPc,EPc,FPc,dQ,GPc,IPc,KPc,MPc,NPc,OPc,PPc,SPc,UPc,WPc,$Pc,aQc,bQc,dQc,eQc,fQc,jQc,kQc,jQ,lQc,mQc,nQc,mQ,HRc,NRc,ORc,VRc,WRc,XRc,$Rc,aSc,bSc,cSc,ySc,zSc,CSc,ESc,FSc,GSc,HSc,ISc,JSc,KSc,LSc,pQ,qQ,MSc,NSc,OSc,PSc,QSc,RSc,SSc,TSc,USc,VSc,WSc,XTc,eUc,fUc,gUc,hUc,iUc,lUc,nUc,IUc,JUc,WUc,kVc,mVc,qVc,xVc,BVc,HVc,WVc,YVc,ZVc,sWc,tWc,ZPc,uWc,vWc,wWc,lPc,xWc,yWc,aR,zWc,AWc,BWc,CWc,
CXc,DXc,EXc,FXc,GXc,HXc,IXc,JXc,KXc,LXc,MXc,NXc,vYc;IOc=function(a,b){a=a.request;a=_.Qx('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.lP(a)||"");var c=b.dg;c=c?_.z(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}};JOc=function(a){a={Title:a.getTitle(),Type:a.Rb(),Parents:_.z(a,3),Convert:_.E(a,8),ID:_.lP(a)};var b=[];_.jf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
KOc=function(a){var b=[];b.push(JOc(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.KK&&b.push("# of retries by client: "+a.KK);var d="";a.OF?a.Yf.Le()?a.Yf.Cf(function(){d="Completed successfully."},function(e){d=e instanceof _.Nh?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
LOc=function(a,b,c,d,e,f){var h=_.Qx("Drive Upload Report: %d/%d failed",_.nf(f),_.nf(e));a=a.mf();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=[];_.jf(e,function(n){l.push(KOc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.YKc(b)});_.jf(f,function(n,q){k.push(IOc(e[q],n))});return{title:h,description:d,bR:k,Wd:152391,h7:c,zX:361003}};MOc=function(a){return Array.prototype.concat.apply([],arguments)};NOc=function(a,b,c){c=_.Ca(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1};OOc=function(a){return String.fromCharCode(10>a?48+a:87+a)};
POc=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]=OOc(d>>4);b[2*c+3]=OOc(d&15)}return b.join("")};QOc=function(a){var b=new _.xp;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.PN(a,!0,"file"));a.wW&&(b.append(",teamDriveId,teamDrive("),b.append(a.wW),b.append(")"));b.append(")");return b.toString()};
ROc=function(a){var b=new _.xp;b.append("kind,nextPageToken,items(");b.append(_.PN(a,!0));b.append("),incompleteSearch");a.wW&&(b.append(","),b.append(a.wW));return b.toString()};
ZP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.RO,138),k=_.C(d,_.Ek,111),l=_.C(d,_.UO,27),n=_.C(d,_.VO,139),q=d.kf(),t=_.C(d,_.XO,103);switch(e){case 74:_.Tj(d,83,[]);break;case 188:_.x(d,137,void 0);break;case 149:_.x(d,128,[]);break;case 148:_.Tj(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:_.Tj(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:SOc(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:_.$O(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.$j())&&TOc(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:_.ZO(d,[]);break;case 103:_.x(d,101,void 0);break;case 1:_.YO(d,[]);break;case 96:_.x(d,94,void 0);break;case 1003:UOc(d,[]);break;case 75:_.VJc(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:VOc(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.jC([]);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);}}};XOc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.oc(a),_.oc(WOc)));a=[].concat(_.oc(_.edb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)ZP(b[d],a)}};
YOc=function(a,b){var c=a.getCapabilities()||new _.Bk,d=_.C(a,_.RO,138),e=_.C(a,_.Ek,111),f=_.C(a,_.UO,27),h=_.C(a,_.VO,139),k=a.kf(),l=_.C(a,_.XO,103);switch(b){case 74:return 0<_.Kk(a).length;case 188:return null!=_.E(a,137);case 149:return 0<_.z(a,128).length;case 148:return 0<a.Zia().length;case 138:return null!=a.k7();case 184:return 0<_.z(a,135).length;case 76:return null!=_.Ck(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!=_.Dk(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,_.SO,2);case 193:return null!=d&&null!=_.z(d,1);case 1004:return null!=_.E(a,108);case 136:return 0<a.fS().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.jB();case 91:return null!=_.C(a,_.wk,91);case 43:return null!=_.z(a,42)||null!=_.z(a,43);case 187:return null!=_.z(a,136);case 26:return null!=a.Tf();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.gJ().length;case 59:return null!=_.E(c,6);case 28:return null!=a.hD();case 44:return null!=_.z(a,45);case 13:return null!=a.iD();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.J7();case 87:return null!=_.Jk(a);case 100:return null!=_.E(a,98);case 72:return null!=_.z(a,78);
case 5:return null!=a.Hl();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.Ue());case 92:return!(!f||null==_.z(f,4));case 30:return!(!f||null==_.z(f,2));case 16:return null!=a.Ro();case 12:return null!=a.Vx();case 211:return null!=h&&null!=_.E(h,2);case 212:return null!=h&&null!=_.E(h,3);case 157:return a=a.$j(),!(!a||!_.Rj(a,_.Gk,8));case 3:return null!=a.Rb();case 11:return null!=a.Sz();case 10:return null!=a.xq();case 50:return null!=
a.Rp()||null!=_.E(a,51)||null!=a.Cm();case 18:return null!=_.z(a,19);case 14:return 0<_.Ik(a).length;case 95:return null!=a.Qm();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<_.Mk(a).length;case 75:return null!=a.gv();case 94:return null!=_.z(a,92);case 45:return null!=a.Ap();case 124:return null!=_.E(a,118);case 125:return null!=_.z(a,119);case 1002:return null!=_.Lk(a);case 32:return null!=a.Jz();case 67:return null!=
a.zJ();case 68:return null!=a.AJ();case 73:return null!=_.z(a,79);case 71:return null!=a.V();case 210:return null!=_.Nk(a);case 7:return null!=a.OX();case 122:return null!=a.uD();case 66:return null!=_.z(a,69);case 33:return null!=_.E(a,29);case 24:return null!=a.Xi();case 25:return null!=a.wv();case 46:return null!=a.dB();case 192:return null!=k&&null!=_.E(k,6);case 159:return null!=k&&null!=_.dd(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.bu().length;case 56:return null!=_.z(a,61);case 4:return null!=a.Wx();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,_.WO,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.qB();case 97:return null!=a.rB();case 27:return null!=a.wm();case 70:return null!=_.z(a,75);
case 107:return null!=l&&null!=_.z(l,3);case 106:return null!=l&&null!=l.Ue();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);}};ZOc=function(a,b){return b.every(function(c){return YOc(a,c)})};$Oc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.xIc:[]);return b.every(function(e){return(new Set(d)).has(e)})};aPc=function(a,b){var c=new Set(b.concat(_.xIc));return a.filter(function(d){return!c.has(d)})};
$P=function(a,b,c){b=b.clone();c.forEach(function(d){if(YOc(b,d))if(_.gdb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.Bk;a.xn(f);switch(d){case 76:_.kJc(f,_.Ck(e));break;case 208:_.HJc(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:_.lJc(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:_.nJc(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:_.tJc(f,_.E(e,10));break;case 82:_.uJc(f,_.E(e,11));break;case 114:var y=_.E(e,27);_.x(f,27,y);break;case 133:_.CJc(f,_.E(e,33));break;case 202:_.GJc(f,_.E(e,47));case 132:_.BJc(f,_.E(e,32));break;case 101:_.yJc(f,_.E(e,20));break;case 201:_.FJc(f,_.E(e,46));break;case 131:_.AJc(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:_.xJc(f,
_.E(e,17));break;case 191:var M=_.E(e,44);_.x(f,44,M);break;case 146:var J=_.E(e,37);_.x(f,37,J);break;case 90:_.wJc(f,_.Dk(e));break;case 78:_.qJc(f,_.E(e,7));break;case 186:var X=_.E(e,41);_.x(f,41,X);break;case 85:_.vJc(f,_.E(e,12));break;case 137:var T=_.E(e,36);_.x(f,36,T);break;case 209:var fa=_.E(e,49);_.x(f,49,fa);break;case 79:_.rJc(f,_.E(e,8));break;case 189:_.DJc(f,_.E(e,42));break;case 190:_.EJc(f,_.E(e,43));break;case 80:_.sJc(f,e.V());break;case 135:var za=_.E(e,35);_.x(f,35,za);break;
case 102:_.zJc(f,_.E(e,21));break;case 34:var La=_.E(b,30);_.x(a,30,La);_.mJc(f,_.E(e,3));break;case 41:var Ba=_.E(b,40);_.x(a,40,Ba);_.oJc(f,e.W());break;case 59:_.pJc(f,_.E(e,6))}}}else if(_.hdb.has(d)){var ea=_.C(b,_.RO,138);if(ea){var Va=_.C(a,_.RO,138)||new _.RO;_.R(a,138,Va);switch(d){case 194:var gb=_.C(ea,_.SO,2);_.R(Va,2,gb);break;case 193:var Rb=_.z(ea,1);_.x(Va,1,Rb)}}}else if(_.idb.has(d)){var vb=_.C(b,_.Ek,111);if(vb){var ac=_.C(a,_.Ek,111)||new _.Ek;_.R(a,111,ac);switch(d){case 115:_.TO(ac,
_.E(vb,1));break;case 116:_.IJc(ac,_.z(vb,2))}}}else if(_.jdb.has(d)){var md=_.C(b,_.UO,27);if(md){var ie=_.C(a,_.UO,27)||new _.UO;_.R(a,27,ie);switch(d){case 29:var ig=_.z(md,1);_.x(ie,1,ig);break;case 31:ie.Vf(md.Ue());break;case 92:var De=_.z(md,4);_.x(ie,4,De);break;case 30:var Nf=_.z(md,2);_.x(ie,2,Nf)}}}else if(_.kdb.has(d)){var Qg=_.C(b,_.VO,139);if(Qg){var Rg=_.C(a,_.VO,139)||new _.VO;_.R(a,139,Rg);switch(d){case 211:var fd=_.E(Qg,2);_.x(Rg,2,fd);break;case 212:var Gi=_.E(Qg,3);_.x(Rg,3,Gi)}}}else if(_.ldb.has(d)){var Pe=
b.kf();if(Pe){var Of=a.kf()||new _.Wma;_.R(a,132,Of);switch(d){case 192:var Eb=_.E(Pe,6);_.x(Of,6,Eb);break;case 159:var li=_.dd(Pe);_.R(Of,5,li);break;case 154:var Vk=_.z(Pe,1);_.x(Of,1,Vk);break;case 158:var mi=_.hd(Pe);_.x(Of,4,mi);break;case 155:var lq=_.z(Pe,3);_.x(Of,3,lq)}}}else if(_.mdb.has(d)){var nk=_.C(b,_.XO,103);if(nk){var Pf=_.C(a,_.XO,103)||new _.XO;_.R(a,103,Pf);switch(d){case 107:var Bh=_.z(nk,3);_.x(Pf,3,Bh);break;case 106:Pf.Vf(nk.Ue());break;case 105:var xm=_.z(nk,1);_.x(Pf,1,
xm)}}}else switch(d){case 74:var mq=_.Kk(b);_.Tj(a,83,mq);break;case 188:var zl=_.E(b,137);_.x(a,137,zl);break;case 149:var Wn=_.z(b,128);_.x(a,128,Wn||[]);break;case 148:var Al=b.Zia();_.Tj(a,127,Al);break;case 138:var Xn=b.k7();_.x(a,126,Xn);break;case 184:var nq=_.z(b,135);_.x(a,135,nq||[]);break;case 69:var ok=_.E(b,74);_.x(a,74,ok);break;case 1004:var oq=_.E(b,108);_.x(a,108,oq);break;case 136:var Bl=b.fS();_.Tj(a,125,Bl);break;case 9:var gp=b.jB();_.x(a,10,gp);break;case 91:var hp=_.C(b,_.wk,
91);_.R(a,91,hp);break;case 43:var Yn=_.z(b,42);_.x(a,42,Yn);var gn=_.z(b,43);_.x(a,43,gn);break;case 187:var Hg=_.z(b,136);_.x(a,136,Hg);break;case 26:a.zl(b.Tf());break;case 108:var Ze=_.z(b,104);_.x(a,104,Ze||[]);break;case 42:var sc=_.z(b,41);_.x(a,41,sc);break;case 1005:SOc(a,b.gJ());break;case 28:_.PJc(a,b.hD());break;case 44:var ip=_.z(b,45);_.x(a,45,ip);break;case 13:var Uh=b.iD();_.x(a,14,Uh);break;case 48:var Yi=_.E(b,36);_.x(a,36,Yi);break;case 38:_.RJc(a,b.$h());break;case 49:var Kv=_.z(b,
50);_.x(a,50,Kv||[]);break;case 51:var Cr=_.E(b,53);_.x(a,53,Cr);break;case 104:var Os=_.E(b,102);_.x(a,102,Os);break;case 39:var Ps=b.J7();_.x(a,35,Ps);break;case 87:var Qs=_.Jk(b);_.x(a,76,Qs);break;case 100:var Zn=_.E(b,98);_.x(a,98,Zn);break;case 72:var ku=_.z(b,78);_.x(a,78,ku);break;case 5:var jp=b.Hl();_.x(a,6,jp);break;case 20:var dh=b.Ge();_.x(a,21,dh);break;case 21:a.kc(b.getId());break;case 16:_.$O(a,b.Ro());break;case 12:var zj=b.Vx();_.x(a,13,zj);break;case 157:var hn=b.$j();if(hn){var Ch=
a.$j()||new _.Uma;bPc(a,Ch);TOc(Ch,_.Rj(hn,_.Gk,8))}break;case 3:_.PM(a,b.Rb());break;case 11:var kp=b.Sz();_.x(a,12,kp);break;case 10:_.WEc(a,b.xq());break;case 50:var lu=b.Rp();_.x(a,49,lu);var Rs=_.E(b,51);_.x(a,51,Rs);var Dr=b.Cm();_.R(a,81,Dr);break;case 95:_.XJc(a,b.Qm());break;case 18:_.OJc(a,_.z(b,19));break;case 58:var pq=_.E(b,63);_.x(a,63,pq);break;case 14:_.ZO(a,_.Ik(b));break;case 1:_.YO(a,b.li());break;case 96:var qq=_.E(b,94);_.x(a,94,qq);break;case 103:var Cl=_.z(b,101);_.x(a,101,
Cl);break;case 1003:UOc(a,_.Mk(b));break;case 75:_.VJc(a,b.gv());break;case 94:_.WJc(a,_.z(b,92));break;case 45:var Ss=b.Ap();_.x(a,46,Ss);case 124:var mu=_.E(b,118);_.x(a,118,mu);break;case 125:var lp=_.z(b,119);_.x(a,119,lp);break;case 1002:var rq=_.Lk(b);_.R(a,100,rq);break;case 32:var sq=b.Jz();_.x(a,28,sq);break;case 67:var Ts=b.zJ();_.x(a,70,Ts);break;case 68:var nu=b.AJ();_.x(a,71,nu);break;case 73:var tq=_.z(b,79);_.x(a,79,tq);break;case 71:var Lv=b.V();_.x(a,77,Lv);break;case 210:var ou=
_.Nk(b);_.x(a,140,ou);break;case 7:_.NJc(a,b.OX());break;case 122:VOc(a,b.uD());break;case 66:var $n=_.z(b,69);_.x(a,69,$n);break;case 33:var pu=_.E(b,29);_.x(a,29,pu);break;case 24:var Er=b.Xi();_.x(a,22,Er);break;case 25:var qu=b.wv();_.x(a,23,qu);break;case 46:var Us=b.dB();_.R(a,47,Us);break;case 52:var jn=_.z(b,56);_.x(a,56,jn||[]);break;case 56:var wx=_.z(b,61);_.x(a,61,wx);break;case 55:a.jC(b.bu());break;case 4:a.Tq(b.Wx());break;case 35:_.QJc(a,_.E(b,31));break;case 57:var Fr=_.z(b,62);_.x(a,
62,Fr);break;case 83:_.UJc(a,b.wc());break;case 84:var re=_.C(b,_.WO,86);_.R(a,86,re);break;case 98:var xx=b.qB();_.x(a,96,xx);break;case 97:var Bz=b.rB();_.R(a,95,Bz);break;case 19:var fG=b.Ah();_.x(a,20,fG);_.SJc(a,_.E(b,44));var gG=_.z(b,90);_.x(a,90,gG);break;case 2:a.setTitle(b.getTitle());break;case 6:a.yn(b.Bh());break;case 27:_.QM(a,b.wm());break;case 70:var kn=_.z(b,75);_.x(a,75,kn);break;case 8:var nC=_.E(b,9);_.x(a,9,nC);break;case 126:var uq=_.z(b,120);_.x(a,120,uq||[]);break;default:throw Error("dd`"+
d);}})};cPc=function(a,b){var c=_.RA[a];return b.filter(function(d){return!c||!c.has(d)})};dPc=function(a,b,c){a=cPc(c,a);return $Oc(b,a,!0)};ePc=function(a){return!!_.E(a,31)&&!_.E(a,94)};gPc=function(a){return fPc.some(function(b){return YOc(a,b)})};hPc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes(aQ(b))})};iPc=function(a){return hPc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.jPc=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};kPc=function(a,b){var c=_.VM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};mPc=function(a,b){if(b){var c=[];_.E(b,3)&&c.push("folder");var d=lPc()&&4==b.getType()?"title_natural":_.RGc[b.getType()];b=_.TGc[b.hh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
oPc=function(a,b,c,d){b="#"+b+"_";var e=new _.SM;e.update(c.join(","));b+=_.bFc(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new nPc(c.port),c.port.start()):a=new nPc(new Worker(a));return a};qPc=function(a){var b=a.slice(0),c=new Set(b);pPc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
sPc=function(a){var b=new rPc;if(a instanceof _.SN)_.Sj(b,16,bQ[0],a);else if(a instanceof _.TN)_.Sj(b,1,bQ[0],a);else if(a instanceof _.UN)_.Sj(b,2,bQ[0],a);else if(a instanceof _.XN)_.Sj(b,3,bQ[0],a);else if(a instanceof _.EP)_.Sj(b,4,bQ[0],a);else if(a instanceof _.VN)_.Sj(b,5,bQ[0],a);else if(a instanceof _.aO)_.Sj(b,6,bQ[0],a);else if(a instanceof _.cO)_.Sj(b,7,bQ[0],a);else if(a instanceof _.dO)_.Sj(b,8,bQ[0],a);else if(a instanceof _.gO)_.Sj(b,9,bQ[0],a);else if(a instanceof _.uO)_.Sj(b,10,
bQ[0],a);else if("undefined"!=typeof _.vO&&a instanceof _.vO)_.Sj(b,11,bQ[0],a);else if(a instanceof _.wO)_.Sj(b,12,bQ[0],a);else if(a instanceof _.qN)_.Sj(b,13,bQ[0],a);else if(a instanceof _.AO)_.Sj(b,14,bQ[0],a);else if(a instanceof _.BO)_.Sj(b,15,bQ[0],a);else throw new _.rb("Unsupported request type");return b};
vPc=function(a){a=a.map(function(c){var d=new tPc;if(c instanceof _.SN)_.Sj(d,6,cQ[0],c);else if(c instanceof _.aO)_.Sj(d,1,cQ[0],c);else if(c instanceof _.uO)_.Sj(d,2,cQ[0],c);else if("undefined"!=typeof _.vO&&c instanceof _.vO)_.Sj(d,3,cQ[0],c);else if(c instanceof _.qN)_.Sj(d,4,cQ[0],c);else if(c instanceof _.BO)_.Sj(d,5,cQ[0],c);else throw new _.rb("Unsupported request type");return d});var b=new uPc;_.Tj(b,1,a);return b};
yPc=function(a){var b=new wPc;if("undefined"!=typeof _.LD&&a instanceof _.LD)_.Sj(b,1,xPc[0],a);else if("undefined"!=typeof _.MD&&a instanceof _.MD)_.Sj(b,2,xPc[0],a);else throw new _.rb("Unsupported request type");return b};BPc=function(a){var b=new zPc;if(a instanceof _.YN)_.Sj(b,1,APc[0],a);else if(a instanceof _.eO)_.Sj(b,2,APc[0],a);else if(a instanceof _.CO)_.Sj(b,3,APc[0],a);else throw new _.rb("Unsupported request type");return b};
CPc=function(a,b){var c=a.Cm();c||(c=new _.Fk,b&&_.R(a,81,c));return c};DPc=function(a){if(_.RN(a))_.KN(CPc(a,!0),!0);else if(_.RN(a,!0)){var b=a.kf();if(b=b&&_.dd(b))_.KN(CPc(b,!0),!0),_.KN(CPc(a,!0),!0)}};EPc=function(a){return!!a.Cm()&&!_.RN(a)};FPc=function(a){var b=[];_.Fa(a,function(c){if(3!=aQ(c)){var d=c;if(null!=d.Rp()||null!=_.E(d,51)||null!=d.Cm())c=_.Yj(c),_.x(c,49,void 0),_.x(c,51,void 0),_.R(c,81,void 0);b.push(c)}});return b};dQ=function(a){return a.map(function(b){return b.getItem()})};
GPc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};IPc=function(a){return a.map(function(b){var c=new _.u4a;c=_.x(c,3,HPc[b.serviceName]);return _.x(c,2,Number(b.ZBb))})};KPc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return JPc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
MPc=function(a){a=a.Ow();var b=new LPc;a.forEach(function(c){var d=c.getKey();d=d&&_.z(d,2);"corpusSize"==d?(c=_.wg(c.yb()),_.x(b,3,c)):"linkedItems"==d?(c=_.wg(c.yb()),_.x(b,2,c)):"linkedFolders"==d&&(c=_.wg(c.yb()),_.x(b,1,c))});return"number"===typeof _.z(b,3)?b:null};NPc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Ae;_.Be(b,305);_.Ce(b,!0);_.x(b,3,2);var c=new _.gD;_.R(c,1,b);var d=new _.NIc(c,[7]);a=a.then(function(e){return e.H(d)}).then(MPc);return _.Sh(a)};
OPc=function(a){var b={},c=a.getKey(),d=c&&_.z(c,2);b.key=d;b.value=a.yb();(a=c&&_.to(c))&&(b.namespace=_.PHc[a]);return b};PPc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.PHc[a[c]]);return b};SPc=function(a){var b=_.FG(a);b=QPc(new eQ,b).zd(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new RPc;a=_.z(a,5);a=_.x(c,1,a);return _.R(b,4,a)};
UPc=function(a,b){var c=TPc(a.V,b.Hc());if(c){var d=c.getItem(),e=d.gv();if(e){var f=_.Rj(e,_.wk,2),h=_.pa(f,function(k){return k.getId()==b.V()});_.KJc(e,f);h||(f=_.Rj(e,_.wk,3),_.pa(f,function(k){return k.getId()==b.V()}),_.LJc(e,f));_.JJc(e,(_.z(e,1)||1)-1);fQ(a,[d],c.V)}}};
WPc=function(a,b,c){if(b=TPc(a.V,b.Hc())){var d=b.getItem(),e=d.gv();if(e){if(1==c.getType()||2==c.getType()){var f=_.Rj(e,_.wk,3);f.push(c);_.Da(f,VPc);_.LJc(e,f)}else f=_.Rj(e,_.wk,2),f.push(c),_.Da(f,VPc),_.KJc(e,f);_.JJc(e,(_.z(e,1)||0)+1);fQ(a,[d],b.V)}}};
$Pc=function(a){var b=a.json.exportJob,c=XPc[b.status]||0,d=Number(a.json.percentDone),e=b.items?b.items.length:0;a=a.json.numFetchedFiles||0;var f=0,h=0,k=_.pe(b.archives||[],function(l){f=f+Number(l.sizeOfContents)||0;h=h+Number(l.compressedSize)||0;return l.storagePath});b=_.pe(b.failedItemInfos||[],function(l){var n=_.PM((new _.Hk).kc(l.docId).setTitle(l.title),l.mediaType);n=(new _.YPc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new ZPc(c,d,k,f,h,e,a,b)};
aQc=function(a){a=a.kd();return a?(a=a.oe())?_.z(a,1):0:0};bQc=function(a,b){return _.A(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};dQc=function(a,b){var c=new _.yN,d=new Set;if(6==a){a=_.u(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.uIc.get(aQ(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}cQc(c,[].concat(_.oc(d)));return c};
eQc=function(a,b){var c={};a=_.kf(a,function(d){return!!d});b=_.kf(b,function(d){return!!d});_.jf(a,function(d,e){var f=b[e];f?_.Xj(d,f)||(d=_.GN(4).setItem(f),c[e]=d):(d=_.GN(2).setItem(d),c[e]=d)});_.jf(b,function(d,e){a[e]||(d=_.GN(1).setItem(d),c[e]=d)});return c};fQc=function(a,b){return _.nf(a)!=_.nf(b)||!_.qf(eQc(a,b))};
jQc=function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(gQc(b))return b=new gQ(a,b,3),new hQ(b,b.Ja);_.x(b,61,!1);var c=_.$M(b.Ne())?2:1;a=new iQ(a,b,c,void 0,void 0,void 0);return _.$M(b.Ne())?new hQc(a):new iQc(a)};kQc=function(a){return _.nd(a).Fg(_.A(a.get(_.Xa),19,!1)?_.QEc:_.e0a)};jQ=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)};lQc=function(a,b){return _.Tj(a,1,b)};mQc=[1];nQc=function(a){_.Q(this,a,0,-1,mQc,null)};_.L(nQc,_.P);
nQc.prototype.xJ=function(){return _.Rj(this,_.wk,1)};nQc.prototype.N4=function(a){_.Uj(this,1,a,_.wk,void 0)};var oQc=function(a){var b=new nQc;return _.Tj(b,1,a)},pQc=function(a,b){return _.R(a,1,b)},qQc=function(a,b){_.Tj(a,2,b)},rQc=function(a,b){_.R(a,6,b)},sQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sQc,_.P);var tQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(tQc,_.P);var kQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(kQ,_.P);var uQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uQc,_.P);
var vQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(vQc,_.P);var wQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(wQc,_.P);var xQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xQc,_.P);var yQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yQc,_.P);var zQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zQc,_.P);var AQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(AQc,_.P);var BQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BQc,_.P);var 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 EQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(EQc,_.P);var FQc=[[1,2,3,4]],GQc=function(a){_.Q(this,a,0,-1,null,FQc)};_.L(GQc,_.P);var HQc=[[1]],IQc=function(a){_.Q(this,a,0,-1,null,HQc)};_.L(IQc,_.P);var JQc=[[1,2]],KQc=function(a){_.Q(this,a,0,-1,null,JQc)};_.L(KQc,_.P);var LQc=[[1]],MQc=function(a){_.Q(this,a,0,-1,null,LQc)};_.L(MQc,_.P);var NQc=[[1,2]],OQc=function(a){_.Q(this,a,0,-1,null,NQc)};_.L(OQc,_.P);
OQc.prototype.lg=function(a){_.Sj(this,1,NQc[0],a)};var PQc=[1],QQc=function(a){_.Q(this,a,0,-1,PQc,null)};_.L(QQc,_.P);var RQc=[[1]],SQc=function(a){_.Q(this,a,0,-1,null,RQc)};_.L(SQc,_.P);var TQc=[2],UQc=function(a){_.Q(this,a,0,-1,TQc,null)};_.L(UQc,_.P);var VQc=[[1]],WQc=function(a){_.Q(this,a,0,-1,null,VQc)};_.L(WQc,_.P);WQc.prototype.lg=function(a){_.Sj(this,1,VQc[0],a)};var XQc=[[1,2]],YQc=function(a){_.Q(this,a,0,-1,null,XQc)};_.L(YQc,_.P);
var ZQc=[[1]],$Qc=function(a){_.Q(this,a,0,-1,null,ZQc)};_.L($Qc,_.P);
var aRc=function(a,b){return _.Sj(a,3,_.yk[0],b)},bRc=function(a,b){_.Tj(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){return _.x(a,4,b)},fRc=function(a,b){_.Tj(a,1,b)},gRc=function(a,b){return _.R(a,2,b)},hRc=function(a,b){_.Tj(a,1,b)},iRc=function(a,b){return _.R(a,4,b)},jRc=function(a,b){_.R(a,5,b)},kRc=function(a,b){_.Tj(a,2,b)},lRc=function(a,b){_.Tj(a,4,b)},mRc=function(a,b){return _.R(a,5,b)},nRc=function(a,b){_.Tj(a,1,b)},oRc=function(a,
b){return _.R(a,2,b)},pRc=function(a,b){_.Tj(a,2,b)},qRc=function(a,b){return _.Tj(a,3,b)},rRc=function(a,b){_.Tj(a,1,b)},sRc=function(a,b){return _.x(a,2,b)},tRc=function(a,b){return _.R(a,3,b)},uRc=function(a,b){_.Tj(a,2,b)},vRc=function(a,b){return _.R(a,3,b)},wRc=function(a,b){_.Tj(a,1,b)},xRc=function(a,b){return _.Tj(a,2,b)},yRc=function(a,b){_.Tj(a,1,b)},zRc=function(a,b){return _.R(a,2,b)},ARc=function(a,b){return _.R(a,1,b)},BRc=function(a,b){return _.x(a,2,b)},CRc=function(a,b){return _.x(a,
3,b)},TOc=function(a,b){_.Tj(a,8,b)},aQ=function(a){return _.D(a,52,1)},bPc=function(a,b){return _.R(a,73,b)},UOc=function(a,b){_.Tj(a,107,b)},VOc=function(a,b){_.R(a,109,b)},SOc=function(a,b){return _.Tj(a,117,b)},DRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(DRc,_.P);var ERc=function(a){_.Q(this,a,0,-1,null,null)};_.L(ERc,_.P);var FRc=[11],GRc=function(a){_.Q(this,a,0,-1,FRc,null)};_.L(GRc,_.P);var lQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(lQ,_.P);
lQ.prototype.getKey=function(){return _.z(this,2)};mQ=function(a){return _.D(a,4,"en")};_.nQ=function(a){return _.C(a,GRc,34,1)};HRc=function(a,b){return _.x(a,1,b||[])};_.IRc=function(a,b){return _.Tj(a,5,b)};_.JRc=function(a,b){return _.x(a,6,b)};_.KRc=function(a,b){return _.x(a,7,b)};_.LRc=function(a,b){return _.x(a,8,b)};_.MRc=function(a,b){return _.x(a,10,b)};NRc=function(a,b){return _.x(a,5,b)};ORc=[2];_.PRc=function(a){_.Q(this,a,0,-1,ORc,null)};_.L(_.PRc,_.P);
_.PRc.prototype.ln=function(){return _.z(this,1)};_.QRc=function(a,b){return _.x(a,2,b)};_.RRc=function(a,b){return _.x(a,3,b)};_.SRc=function(a,b){return _.x(a,1,b)};_.TRc=function(a,b){return _.x(a,2,b)};_.URc=function(a,b){return _.R(a,1,b)};VRc=function(a,b){return _.x(a,2,b)};WRc=function(a,b){return _.x(a,3,b)};XRc=function(a,b){_.Tj(a,4,b)};_.YRc=function(a,b){_.R(a,8,b)};_.ZRc=function(a,b){_.R(a,9,b)};_.EP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EP,_.P);
_.EP.prototype.getTitle=function(){return _.z(this,1)};_.EP.prototype.setTitle=function(a){return _.x(this,1,a)};_.EP.prototype.oe=function(){return _.C(this,_.Ae,2)};$Rc=function(a,b){return _.x(a,9,b||[])};aSc=function(a,b){return _.x(a,10,b||[])};bSc=function(a,b){return _.x(a,36,b)};cSc=function(a,b){return _.Tj(a,38,b)};_.dSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dSc,_.P);_.dSc.prototype.getId=function(){return _.z(this,1)};_.dSc.prototype.kc=function(a){return _.x(this,1,a)};
var eSc=function(a,b){return _.x(a,2,b)},fSc=function(a,b){return _.R(a,3,b)},gSc=function(){var a=new _.wN;return _.x(a,5,!0)},cQc=function(a,b){return _.x(a,1,b||[])},hSc={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},oQ=function(a,b,c){if(b.length!=c.length)return!0;for(a=0;a<b.length;a++)if(!_.Xj(b[a],c[a]))return!0;return!1},iSc=[1,3,5],jSc=function(a){_.Q(this,a,0,-1,iSc,
null)};_.L(jSc,_.P);jSc.prototype.ty=function(){return _.E(this,2)};var kSc=function(a,b){_.x(a,2,b)},lSc=function(a,b){_.Pj(a,5,b,void 0)},mSc=function(a,b){_.x(a,6,b)},nSc=function(a,b){_.x(a,7,b)},oSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oSc,_.P);oSc.prototype.ty=function(){return _.E(this,1)};oSc.prototype.Cq=function(){return _.z(this,6)};var pSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(pSc,_.P);var qSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(qSc,_.P);
var rSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rSc,_.P);var sSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sSc,_.P);var tSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(tSc,_.P);var uSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uSc,_.P);var vSc=[1],wSc=function(a){_.Q(this,a,0,-1,vSc,null)};_.L(wSc,_.P);_.xSc=function(a,b){_.R(a,2,b)};ySc=[2];zSc=function(a){_.Q(this,a,0,-1,ySc,null)};_.L(zSc,_.P);_.g=zSc.prototype;_.g.Gb=function(){return _.z(this,1)};
_.g.Ec=function(a){return _.x(this,1,a)};_.g.xJ=function(){return _.Rj(this,_.wk,2)};_.g.N4=function(a){_.Uj(this,2,a,_.wk,void 0)};_.g.Zj=function(){return _.z(this,3)};var ASc=[2],BSc=function(a){_.Q(this,a,0,-1,ASc,null)};_.L(BSc,_.P);BSc.prototype.Gb=function(){return _.z(this,1)};BSc.prototype.Ec=function(a){return _.x(this,1,a)};BSc.prototype.Zj=function(){return _.z(this,3)};CSc=function(a,b){return _.x(a,1,b||[])};_.DSc=function(a,b){_.R(a,1,b)};ESc=function(a,b,c){_.pP(a,b,c,"warning")};
FSc=function(a){return _.bf(a.Kp,function(b){return _.OO(b.Gr.request)})};GSc=function(a){var b=[];a.Kp.forEach(function(c){(c=c.Gr.config.timestamp)&&b.push(c)});return b};HSc=function(a){return a.W.YEa()?!0:a.V.some(function(b){return FSc(b)})};ISc=function(a){var b=[];a.ha.forEach(function(c){c.forEach(function(d){(d=d.Gr.config.timestamp)&&b.push(d)})});a.V.forEach(function(c){_.ta(b,GSc(c))});return b};JSc=function(a){return[].concat(_.oc(a.V))};KSc=function(a){return a.H.concat([].concat(_.oc(a.V)))};
LSc=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(_.oc(c))};pQ=function(a){var b=_.OP(a).kd();b||(b=new _.AKc,a=_.OP(a),_.R(a,1,b));return b};qQ=function(a){var b=_.C(_.OP(a),jSc,3);b||(b=new jSc,a=_.OP(a),_.R(a,3,b));return b};MSc=function(a){var b=_.C(_.OP(a),oSc,16);b||(b=new oSc,a=_.OP(a),_.R(a,16,b));return b};NSc=function(a){var b=_.C(_.OP(a),rSc,7);b||(b=new rSc,a=_.OP(a),_.R(a,7,b));return b};
OSc=function(a){var b=_.C(_.OP(a),tSc,12);b||(b=new tSc,a=_.OP(a),_.R(a,12,b));return b};
PSc=function(a){if(a instanceof _.TM)return 2;if(a instanceof _.wo)return 10;if(a instanceof _.se)return _.kO(a)?3:_.lO(a)?7:_.mO(a)?8:1;if(a instanceof _.oo)return 9;if(a instanceof _.GG)return 11;if(a instanceof _.sO)return 15;if(a instanceof _.DO)return 6;if(a instanceof _.oO){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 _.gD)return 4;if(a instanceof _.yo)return 12;if("undefined"!=typeof _.EO&&a instanceof _.EO)return 13}return 0};
QSc=function(a){var b=null;a instanceof _.qC||"undefined"!=typeof _.QP&&a instanceof _.QP||"undefined"!=typeof _.RP&&a instanceof _.RP?b=a.Re()||0:"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP||"undefined"!=typeof _.WP&&a instanceof _.WP||"undefined"!=typeof _.XP&&a instanceof _.XP?b=a.H:"undefined"!=typeof _.SP&&a instanceof _.SP&&(b=a.Re());return b||0};RSc=function(a,b){return a.V&&_.rOc(a)?_.nOc(a.V,b,0):null};
SSc=function(a,b){if(a.V&&_.rOc(a)){a=_.nOc(a.V,106018,0);var c=_.C(_.OP(a),uSc,15);if(!c){c=new uSc;var d=_.OP(a);_.R(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};TSc=function(a){a.V&&_.rOc(a)&&(a=a.V,a.isRunning()&&a.H.pU())};
USc=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};
VSc=function(a,b){if(!(a instanceof b.constructor))throw Error("X");var c=a.Vd();b=b.Vd();var d=[],e=0,f=c.length>b.length?c.length:b.length;a.Fc&&(d[0]=a.Fc,e=1);for(;e<f;e++)_.wla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};WSc=[2,6];_.RP=function(a){_.Q(this,a,0,-1,WSc,null)};_.L(_.RP,_.P);_.g=_.RP.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.Bd=function(){return _.Rj(this,_.Hk,2)};_.g.Ew=function(a){return _.Tj(this,2,a)};
_.g.Rf=function(a,b){return _.Uj(this,2,a,_.Hk,b)};_.g.Zj=function(){return _.z(this,3)};_.g.Tha=function(){return _.A(this,4,!0)};var XSc=function(a,b){return _.x(a,4,b)},YSc=function(a,b){return _.Tj(a,6,b)};_.g=_.RP.prototype;_.g.KF=function(){return _.C(this,_.fmb,7)};_.g.JI=function(a){return _.R(this,7,a)};_.g.getSessionId=function(){return _.C(this,_.Hl,8)};_.g.setSessionId=function(a){return _.R(this,8,a)};_.g.LX=function(){return _.z(this,10)};_.g.NX=function(a){return _.x(this,10,a)};
_.g.Re=function(){return _.z(this,9)};_.g.MX=function(a){return _.x(this,9,a)};var ZSc=[2],$Sc=function(a){_.Q(this,a,0,-1,ZSc,null)};_.L($Sc,_.P);$Sc.prototype.Gb=function(){return _.z(this,1)};$Sc.prototype.Ec=function(a){return _.x(this,1,a)};$Sc.prototype.Zj=function(){return _.z(this,3)};var aTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aTc,_.P);var bTc=[1,2],cTc=function(a){_.Q(this,a,0,-1,bTc,null)};_.L(cTc,_.P);cTc.prototype.Ow=function(){return _.Rj(this,_.so,1)};
var dTc=[1,2,4],eTc={SUCCESS:1,QAb:2,Ysb:3,xpb:4,aBb:5,$vb:6,Tvb:7,Lpb:8,Zzb:9,nAb:10,PAb:11,jrb:12,Pqb:13,Ptb:14,xsb:15,Uqb:16,Tqb:17,Zqb:18,Wqb:19,Xqb:20,DAb:21,ZAb:22,rwb:23,zvb:24,Gpb:25,PERMISSION_DENIED:26,Yub:27,Ppb:28,Opb:29,INTERRUPTED:30,Pwb:31,bxb:32,trb:33,xrb:34,fAb:35,Grb:36,ysb:37,wrb:38,Svb:39,uqb:40,Kwb:41,dxb:42,Xzb:43,fqb:44,tqb:45,vsb:46,Uub:47,Rvb:48,iwb:49,Lwb:50,Qzb:51,Qqb:52,Yzb:53,Wzb:54,mqb:55,jqb:56,Qrb:57,pvb:58,Mwb:59,vub:60,hyb:61,Wyb:62,Czb:63,dub:64,Bvb:65,dBb:66,Irb:67,
zsb:68,OAb:69,hub:70,Npb:71,Ypb:72,dzb:73,Dzb:74,zzb:75,xzb:76,Syb:190,wzb:191,ezb:192,kzb:126,gzb:128,hzb:129,izb:130,jzb:131,lzb:132,mzb:133,qyb:127,nyb:134,oyb:135,syb:136,tyb:137,uyb:138,pyb:194,ryb:195,vyb:196,myb:197,Vyb:189,gyb:139,iyb:140,wyb:141,xyb:142,Jyb:143,Myb:144,Nyb:145,Oyb:146,Pyb:147,Qyb:148,Ryb:149,Uyb:150,$yb:151,bzb:152,czb:153,fzb:154,nzb:155,pzb:156,qzb:157,rzb:158,szb:159,tzb:160,uzb:161,yzb:162,Bzb:163,Ezb:164,jyb:165,kyb:166,lyb:167,eyb:168,fyb:169,Ayb:170,yyb:171,zyb:172,
Byb:173,Cyb:174,Dyb:175,Eyb:176,Fyb:177,Gyb:178,Hyb:179,Iyb:180,Kyb:181,Lyb:182,Tyb:106,azb:183,ozb:184,vzb:185,Xyb:186,Yyb:187,Zyb:188,Azb:244,Jwb:77,TAb:78,YAb:79,dvb:80,Utb:81,Wtb:82,Prb:83,tsb:84,Zub:85,wAb:86,vrb:87,jub:88,iub:89,Hzb:90,Fzb:91,Gzb:92,UAb:93,Hqb:94,Gqb:95,Dqb:96,Fqb:97,Eqb:98,cBb:99,Txb:100,brb:101,Vqb:102,$qb:103,Yqb:104,arb:105,Asb:107,kAb:108,Nxb:109,HAb:110,Dsb:111,Csb:112,Aub:113,Bub:114,hxb:115,nqb:116,Iub:117,Wrb:118,VAb:119,Wvb:120,Xvb:121,Qtb:193,Sqb:122,nrb:123,Ttb:124,
wvb:125,kub:198,Swb:199,aub:200,mpb:201,fub:202,eub:203,Qpb:204,uBb:205,Oub:206,Bqb:207,Vvb:208,cxb:209,Pxb:210,Apb:211,yub:212,Fub:213,aAb:214,$zb:215,cub:216,Ntb:217,bub:218,Krb:219,oAb:220,Lrb:221,wub:222,hAb:223,hBb:224,Fvb:225,gAb:226,prb:227,Nub:228,Orb:229,wqb:230,uAb:231,xvb:232,FILE_TOO_LARGE:233,gub:234,Jrb:235,rsb:236,Zwb:237,Cvb:238,Xob:239,yqb:240,Jvb:241,Zxb:242,urb:243,kpb:245,Xtb:246,kwb:247,Vtb:248,cvb:249,Avb:250,wsb:251,atb:252,zub:253,kqb:254,Bsb:255,bBb:256,Tsb:257},fTc=function(a){_.gi.call(this,
a)};_.I(fTc,_.gi);var WOc=[1004,1005,1002,1003],fPc=[1002,1003,1005],gTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(gTc,_.P);gTc.prototype.Gb=function(){return _.z(this,1)};gTc.prototype.Ec=function(a){return _.x(this,1,a)};gTc.prototype.V=function(){return _.C(this,_.mC,2)};var hTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hTc,_.P);_.g=hTc.prototype;_.g.$xa=function(){return _.E(this,1)};_.g.Tk=function(a){return _.x(this,1,a)};_.g.Hl=function(){return _.E(this,2)};
_.g.ov=function(){return _.E(this,3)};_.g.kVa=function(){return _.E(this,4)};var rQ=[[13,19,12,11,10,15,14,9,8,18,17,16]],iTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(iTc,_.P);iTc.prototype.WF=function(){return _.E(this,1)};iTc.prototype.aT=function(){return null!=_.z(this,1)};iTc.prototype.V=function(){return _.E(this,2)};var jTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(jTc,_.P);var kTc=[1],lTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(lTc,_.P);
lTc.prototype.WF=function(){return _.E(this,1)};lTc.prototype.aT=function(){return null!=_.z(this,1)};lTc.prototype.V=function(){return _.E(this,2)};var mTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mTc,_.P);_.g=mTc.prototype;_.g.getLabel=function(){return _.z(this,1)};_.g.Hd=function(a){return _.x(this,1,a)};_.g.yb=function(){return _.z(this,2)};_.g.jc=function(a){return _.x(this,2,a)};_.g.Cl=function(){return _.x(this,2,void 0)};_.g.Th=function(){return null!=_.z(this,2)};
_.g.getCapabilities=function(){return _.C(this,lTc,3)};_.g.xn=function(a){return _.R(this,3,a)};_.g.bVa=function(){return _.C(this,hTc,4)};var nTc=function(a){_.Q(this,a,0,-1,kTc,null)};_.L(nTc,_.P);nTc.prototype.YF=function(){return _.Rj(this,mTc,1)};var oTc=function(a,b){_.Tj(a,1,b)},pTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(pTc,_.P);pTc.prototype.V=function(){return _.z(this,1)};pTc.prototype.HN=function(){return null!=_.z(this,1)};
pTc.prototype.getOptions=function(){return _.C(this,nTc,2)};var qTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(qTc,_.P);qTc.prototype.W=function(){return _.z(this,1)};qTc.prototype.V=function(){return _.z(this,2)};var rTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rTc,_.P);rTc.prototype.HN=function(){return null!=_.z(this,1)};rTc.prototype.getOptions=function(){return _.C(this,qTc,2)};var sTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sTc,_.P);sTc.prototype.W=function(){return _.z(this,1)};
sTc.prototype.V=function(){return _.z(this,2)};var tTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(tTc,_.P);var uTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uTc,_.P);uTc.prototype.HN=function(){return null!=_.z(this,1)};uTc.prototype.getOptions=function(){return _.C(this,tTc,2)};var sQ=[[3,4,5,6,7,8,9,10,11,12]],vTc=function(a){_.Q(this,a,0,-1,null,sQ)};_.L(vTc,_.P);_.g=vTc.prototype;_.g.n2=function(a){return _.Sj(this,3,sQ[0],a)};_.g.HKa=function(a){return _.Sj(this,4,sQ[0],a)};
_.g.eKa=function(a){return _.Sj(this,5,sQ[0],a)};_.g.dKa=function(a){return _.Sj(this,6,sQ[0],a)};_.g.SJa=function(a){return _.Sj(this,7,sQ[0],a)};_.g.vKa=function(a){return _.Sj(this,8,sQ[0],a)};_.g.uKa=function(a){return _.Sj(this,9,sQ[0],a)};_.g.LKa=function(a){return _.Sj(this,10,sQ[0],a)};_.g.Xba=function(a){return _.Sj(this,11,sQ[0],a)};_.g.Iba=function(a){return _.Sj(this,12,sQ[0],a)};var wTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(wTc,_.P);var xTc=function(a){_.Q(this,a,0,-1,null,null)};
_.L(xTc,_.P);xTc.prototype.V=function(){return _.z(this,1)};xTc.prototype.HN=function(){return null!=_.z(this,1)};xTc.prototype.getOptions=function(){return _.C(this,wTc,2)};var yTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yTc,_.P);yTc.prototype.Qza=function(){return _.z(this,1)};yTc.prototype.V=function(){return _.z(this,4)};var zTc=function(a){_.Q(this,a,0,-1,null,rQ)};_.L(zTc,_.P);_.g=zTc.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};
_.g.eVa=function(){return _.z(this,2)};_.g.Bm=function(){return _.z(this,4)};_.g.dVa=function(){return _.C(this,hTc,5)};_.g.getCapabilities=function(){return _.C(this,iTc,6)};_.g.xn=function(a){return _.R(this,6,a)};_.g.jVa=function(){return _.z(this,7)};_.g.SJa=function(a){return _.Sj(this,13,rQ[0],a)};_.g.cVa=function(){return _.C(this,yTc,19)};_.g.Iba=function(a){return _.Sj(this,19,rQ[0],a)};_.g.dKa=function(a){return _.Sj(this,12,rQ[0],a)};_.g.eKa=function(a){return _.Sj(this,11,rQ[0],a)};
_.g.z_a=function(){return _.C(this,sTc,10)};_.g.fVa=function(){return _.C(this,pTc,15)};_.g.uKa=function(a){return _.Sj(this,15,rQ[0],a)};_.g.gVa=function(){return _.C(this,nTc,14)};_.g.vKa=function(a){return _.Sj(this,14,rQ[0],a)};_.g.HKa=function(a){return _.Sj(this,9,rQ[0],a)};_.g.hVa=function(){return _.C(this,qTc,8)};_.g.n2=function(a){return _.Sj(this,8,rQ[0],a)};_.g.iVa=function(){return _.C(this,xTc,18)};_.g.Xba=function(a){return _.Sj(this,18,rQ[0],a)};
_.g.LKa=function(a){return _.Sj(this,17,rQ[0],a)};var ATc=[5,7,9],BTc=function(a){_.Q(this,a,0,-1,ATc,null)};_.L(BTc,_.P);_.g=BTc.prototype;_.g.getUser=function(){return _.C(this,_.wk,1)};_.g.Dw=function(a){_.x(this,2,a)};_.g.ura=function(a){return _.x(this,3,a)};_.g.Qra=function(a){return _.x(this,4,a)};_.g.o2=function(a){return _.x(this,5,a||[])};_.g.HAa=function(){return _.z(this,6)};_.g.Kra=function(a){return _.x(this,6,a)};_.g.Wja=function(){return _.z(this,7)};
_.g.m2=function(a){return _.x(this,7,a||[])};_.g.Ara=function(a){return _.x(this,8,a)};_.g.Z1=function(a){return _.x(this,9,a||[])};var CTc=[7,10,12,16,13,3],tQ=function(a){_.Q(this,a,0,-1,CTc,null)};_.L(tQ,_.P);var uQ=function(a){return _.z(a,4)};_.g=tQ.prototype;_.g.Dw=function(a){_.x(this,4,a)};_.g.ura=function(a){return _.x(this,5,a)};_.g.aVa=function(){return _.z(this,6)};_.g.Qra=function(a){return _.x(this,6,a)};_.g.o2=function(a){return _.x(this,7,a||[])};
_.g.$Ua=function(){return _.z(this,8)};var DTc=function(a,b){return _.x(a,8,b)};_.g=tQ.prototype;_.g.HAa=function(){return _.z(this,9)};_.g.Kra=function(a){return _.x(this,9,a)};_.g.Wja=function(){return _.z(this,10)};_.g.m2=function(a){return _.x(this,10,a||[])};_.g.ZUa=function(){return _.z(this,11)};_.g.Ara=function(a){return _.x(this,11,a)};_.g.Z1=function(a){return _.x(this,12,a||[])};_.g.i0a=function(){return _.C(this,_.wk,15)};var ETc=function(a,b){return _.R(a,15,b)};
tQ.prototype.W=function(){return _.Rj(this,_.wk,16)};var FTc=function(a,b){_.Tj(a,16,b)};tQ.prototype.ma=function(a,b){return _.Uj(this,16,a,_.wk,b)};tQ.prototype.V=function(){return _.z(this,17)};var GTc=function(a,b){return _.x(a,17,b)};tQ.prototype.ka=function(){return null!=_.z(this,17)};var HTc=function(a,b){_.Tj(a,13,b)};tQ.prototype.getId=function(){return _.z(this,14)};tQ.prototype.kc=function(a){return _.x(this,14,a)};tQ.prototype.getName=function(){return _.z(this,1)};
tQ.prototype.zd=function(a){return _.x(this,1,a)};var ITc=[2],vQ=function(a){_.Q(this,a,0,-1,ITc,null)};_.L(vQ,_.P);vQ.prototype.getName=function(){return _.z(this,1)};vQ.prototype.zd=function(a){return _.x(this,1,a)};vQ.prototype.V=function(){return _.Rj(this,tQ,2)};var JTc=function(a,b){_.Tj(a,2,b)};vQ.prototype.Hc=function(){return _.z(this,3)};var KTc=function(a,b){return _.x(a,3,b)},LTc=[5],MTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(MTc,_.P);_.g=MTc.prototype;
_.g.WF=function(){return _.E(this,1)};_.g.aT=function(){return null!=_.z(this,1)};_.g.uVa=function(){return _.E(this,2)};_.g.XZa=function(){return _.E(this,3)};_.g.vVa=function(){return _.E(this,4)};var wQ=function(a){_.Q(this,a,0,-1,LTc,null)};_.L(wQ,_.P);wQ.prototype.getName=function(){return _.z(this,1)};wQ.prototype.zd=function(a){return _.x(this,1,a)};wQ.prototype.Nk=function(){return _.z(this,2)};var NTc=function(a,b){return _.x(a,2,b)};wQ.prototype.W=function(){return _.z(this,14)};
var OTc=function(a,b){return _.x(a,14,b)};_.g=wQ.prototype;_.g.getTitle=function(){return _.z(this,3)};_.g.setTitle=function(a){return _.x(this,3,a)};_.g.Tf=function(){return _.z(this,4)};_.g.zl=function(a){return _.x(this,4,a)};_.g.ll=function(){return _.Rj(this,zTc,5)};var PTc=function(a,b){_.Tj(a,5,b)},QTc=function(a,b){_.R(a,6,b)},RTc=function(a,b){_.R(a,7,b)},STc=function(a,b){_.R(a,8,b)};wQ.prototype.V=function(){return _.C(this,hTc,12)};var TTc=function(a,b){_.R(a,12,b)};
wQ.prototype.getCapabilities=function(){return _.C(this,MTc,13)};wQ.prototype.xn=function(a){return _.R(this,13,a)};var UTc={WAb:0,nvb:1,swb:2,gwb:3,lub:4,ypb:5,ovb:6,hwb:7,xtb:8,Fpb:9,ewb:10},xQ=function(){this.H={};this.ha=6;this.V=null};xQ.prototype.Gb=function(){return this.ha};xQ.prototype.Ec=function(a){this.ha=a};xQ.prototype.Re=function(){return this.V};var VTc=function(a,b){a.V=b};xQ.prototype.$r=function(){return this.H};var WTc=function(a,b){a.H=b};
xQ.prototype.Dc=function(a){var b=[];_.jf(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})};XTc=function(a,b,c){c=JSON.parse(c);a.Ec(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};_.QP=function(){xQ.apply(this,arguments)};_.I(_.QP,xQ);var YTc=function(){xQ.apply(this,arguments)};_.I(YTc,xQ);var yQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(yQ,_.P);yQ.prototype.getType=function(){return _.z(this,1)};
var ZTc=function(a){var b=new yQ;return _.x(b,1,a)},$Tc=function(a,b){return _.R(a,2,b)};yQ.prototype.Zt=function(){return _.z(this,3)};yQ.prototype.Fu=function(a){return _.x(this,3,a)};yQ.prototype.ri=function(){return _.z(this,4)};yQ.prototype.setPosition=function(a){return _.x(this,4,a)};var aUc=[2],bUc=function(a){_.Q(this,a,0,-1,aUc,null)};_.L(bUc,_.P);bUc.prototype.Gb=function(){return _.z(this,1)};bUc.prototype.Ec=function(a){return _.x(this,1,a)};
var cUc=[2],zQ=function(a){_.Q(this,a,0,-1,cUc,null)};_.L(zQ,_.P);zQ.prototype.Gb=function(){return _.z(this,1)};zQ.prototype.Ec=function(a){return _.x(this,1,a)};zQ.prototype.V=function(){return _.Rj(this,vQ,2)};var dUc=function(a,b){return _.Tj(a,2,b)};zQ.prototype.Zj=function(){return _.z(this,3)};var AQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(AQ,_.P);AQ.prototype.Gb=function(){return _.z(this,1)};AQ.prototype.Ec=function(a){return _.x(this,1,a)};
AQ.prototype.mZ=function(){return _.C(this,_.Hk,2)};eUc=function(a,b){return _.R(a,2,b)};fUc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};gUc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Wd:a.c,h7:a.fi,zX:a.dti,bR:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,O6:b.ec}}):void 0}};hUc=function(a,b){return new _.fN(_.FFc.bound(a,b,void 0,void 0))};
iUc=function(){var a=new _.Mh,b=_.RFc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Dd(_.dN(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.jUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.jUc,_.P);_.jUc.prototype.Sp=function(){return _.z(this,1)};_.jUc.prototype.setSize=function(a){return _.x(this,2,a)};_.jUc.prototype.getUrl=function(){return _.z(this,3)};_.kUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.kUc,_.P);
_.kUc.prototype.getType=function(){return _.z(this,1)};lUc=[2,3];_.mUc=function(a){_.Q(this,a,0,-1,lUc,null)};_.L(_.mUc,_.P);nUc=[4,5,6,17,18,24];_.BQ=function(a){_.Q(this,a,0,-1,nUc,null)};_.L(_.BQ,_.P);_.BQ.prototype.getId=function(){return _.z(this,1)};_.BQ.prototype.kc=function(a){return _.x(this,1,a)};_.BQ.prototype.getName=function(){return _.z(this,2)};_.BQ.prototype.zd=function(a){return _.x(this,2,a)};var oUc=function(a,b){return _.x(a,4,b||[])},pUc=function(a,b){return _.x(a,5,b||[])};
_.BQ.prototype.LS=function(){return _.E(this,11)};_.BQ.prototype.getType=function(){return _.z(this,23)};_.BQ.prototype.Hl=function(){return _.E(this,33)};var qUc=[3],CQ=function(a){_.Q(this,a,0,-1,qUc,null)};_.L(CQ,_.P);CQ.prototype.V=function(){return _.z(this,1)};var rUc=function(a,b){return _.x(a,1,b)};CQ.prototype.getTitle=function(){return _.z(this,2)};CQ.prototype.setTitle=function(a){return _.x(this,2,a)};CQ.prototype.Bd=function(){return _.Rj(this,_.Hk,3)};
var sUc=function(a,b){return _.Tj(a,3,b)};CQ.prototype.Rf=function(a,b){return _.Uj(this,3,a,_.Hk,b)};CQ.prototype.ka=function(){return _.z(this,4)};var tUc=function(a,b){return _.x(a,4,b)};CQ.prototype.W=function(){return _.C(this,_.xk,5)};var uUc=function(a,b){return _.R(a,5,b)},LPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(LPc,_.P);_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.tO,_.P);_.tO.prototype.oe=function(){return _.C(this,_.Ae,1)};
var vUc=function(){var a=new _.tO,b=_.Be(new _.Ae,301);return _.R(a,1,b)};_.tO.prototype.wc=function(){return _.z(this,3)};var wUc=[2],DQ=function(a){_.Q(this,a,0,-1,wUc,null)};_.L(DQ,_.P);DQ.prototype.Gb=function(){return _.z(this,1)};DQ.prototype.Ec=function(a){return _.x(this,1,a)};DQ.prototype.$i=function(){return _.Rj(this,CQ,2)};var xUc=function(a,b){return _.Tj(a,2,b)};DQ.prototype.getSessionId=function(){return _.C(this,_.Hl,3)};DQ.prototype.setSessionId=function(a){return _.R(this,3,a)};
_.KO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.KO,_.P);_.KO.prototype.wc=function(){return _.z(this,1)};_.SP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SP,_.P);_.g=_.SP.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.DM=function(){return _.Jj(this,2,_.mC)};_.g.Zj=function(){return _.z(this,3)};_.g.Re=function(){return _.z(this,5)};var yUc=function(a,b){_.x(a,5,b)},zUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zUc,_.P);
zUc.prototype.Tf=function(){return _.D(this,1,"")};zUc.prototype.zl=function(a){return _.Nj(this,1,a)};zUc.prototype.getUrl=function(){return _.D(this,2,"")};_.EQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EQ,_.P);_.EQ.prototype.getType=function(){return _.D(this,1,0)};_.EQ.prototype.getContext=function(){return _.C(this,zUc,2)};_.EQ.prototype.Gk=function(a){return _.R(this,2,a)};var AUc=[1],BUc=[2],CUc=function(a){_.Q(this,a,0,-1,BUc,null)};_.L(CUc,_.P);
CUc.prototype.getLabel=function(){return _.D(this,1,"")};CUc.prototype.Hd=function(a){return _.Nj(this,1,a)};_.DUc=function(a){_.Q(this,a,0,-1,AUc,null)};_.L(_.DUc,_.P);_.DUc.prototype.V=function(){return _.Rj(this,CUc,1)};_.EUc=[[2,3,4]];_.FQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.FQ,_.P);_.FQ.prototype.Bm=function(){return _.D(this,3,"")};_.FQ.prototype.Fs=function(a){return _.Nj(this,4,a)};_.FUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.FUc,_.P);
_.GUc=function(a){_.Q(this,a,0,-1,null,_.EUc)};_.L(_.GUc,_.P);var HUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(HUc,_.P);IUc=[3,5];_.GQ=[[8,9,10,11,12,13]];JUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(JUc,_.P);var 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,IUc,_.GQ)};_.L(_.MUc,_.P);_.MUc.prototype.Gb=function(){return _.D(this,6,0)};_.MUc.prototype.Ec=function(a){return _.Oj(this,6,a)};
var NUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(NUc,_.P);var OUc=[1],PUc=function(a){_.Q(this,a,0,-1,OUc,null)};_.L(PUc,_.P);var QUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(QUc,_.P);var RUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(RUc,_.P);var SUc=[1],TUc=[2],UUc=function(a){_.Q(this,a,0,-1,TUc,null)};_.L(UUc,_.P);var VUc=function(a){_.Q(this,a,0,-1,SUc,null)};_.L(VUc,_.P);VUc.prototype.V=function(){return _.Rj(this,UUc,1)};WUc=[7];_.XUc=[[1,2,3]];
_.YUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.YUc,_.P);_.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,WUc,_.XUc)};_.L(_.aVc,_.P);_.bVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.bVc,_.P);_.bVc.prototype.getName=function(){return _.D(this,1,"")};_.bVc.prototype.zd=function(a){return _.Nj(this,1,a)};var cVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(cVc,_.P);
cVc.prototype.getName=function(){return _.D(this,1,"")};cVc.prototype.zd=function(a){return _.Nj(this,1,a)};cVc.prototype.getTitle=function(){return _.D(this,2,"")};cVc.prototype.setTitle=function(a){return _.Nj(this,2,a)};var HQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(HQ,_.P);HQ.prototype.getName=function(){return _.D(this,1,"")};HQ.prototype.zd=function(a){return _.Nj(this,1,a)};HQ.prototype.getTitle=function(){return _.D(this,2,"")};HQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};
var dVc=[[1,4]],eVc=function(a){_.Q(this,a,0,-1,null,dVc)};_.L(eVc,_.P);eVc.prototype.getUser=function(){return _.C(this,_.GUc,1)};eVc.prototype.W=function(){return null!=_.z(this,4)};eVc.prototype.mZ=function(){return _.C(this,HQ,2)};var fVc=[[8,9,10]],gVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(gVc,_.P);_.hVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hVc,_.P);_.hVc.prototype.getType=function(){return _.D(this,6,0)};_.iVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.iVc,_.P);
var IQ=function(a){_.Q(this,a,0,-1,null,fVc)};_.L(IQ,_.P);_.g=IQ.prototype;_.g.getName=function(){return _.D(this,1,"")};_.g.zd=function(a){return _.Nj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Nj(this,2,a)};_.g.Rb=function(){return _.D(this,6,"")};_.g.vJ=function(){return _.C(this,eVc,7)};var jVc=[[8,9,10]],JQ=function(a){_.Q(this,a,0,-1,null,jVc)};_.L(JQ,_.P);JQ.prototype.getName=function(){return _.D(this,1,"")};
JQ.prototype.zd=function(a){return _.Nj(this,1,a)};JQ.prototype.getTitle=function(){return _.D(this,2,"")};JQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};kVc=[[1,3]];_.KQ=function(a){_.Q(this,a,0,-1,null,kVc)};_.L(_.KQ,_.P);_.KQ.prototype.V=function(){return _.C(this,JQ,1)};_.KQ.prototype.W=function(){return null!=_.z(this,3)};_.KQ.prototype.mZ=function(){return _.C(this,HQ,2)};_.lVc=[[1,2,3]];mVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mVc,_.P);
var nVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nVc,_.P);_.oVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.oVc,_.P);_.pVc=function(a){_.Q(this,a,0,-1,null,_.lVc)};_.L(_.pVc,_.P);qVc=[2,3];_.rVc=function(a){_.Q(this,a,0,-1,qVc,null)};_.L(_.rVc,_.P);_.rVc.prototype.getType=function(){return _.D(this,1,0)};_.sVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.sVc,_.P);_.sVc.prototype.getType=function(){return _.D(this,1,0)};var tVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(tVc,_.P);
tVc.prototype.getType=function(){return _.D(this,1,0)};var uVc=function(a){_.Q(this,a,0,-1,null,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);xVc=[1,2,4];_.yVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.yVc,_.P);_.zVc=function(a){_.Q(this,a,0,-1,xVc,null)};_.L(_.zVc,_.P);_.LQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.LQ,_.P);_.LQ.prototype.getEmail=function(){return _.D(this,1,"")};
_.LQ.prototype.getTitle=function(){return _.D(this,2,"")};_.LQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};_.MQ=[[2,3,4,5]];_.NQ=function(a){_.Q(this,a,0,-1,null,_.MQ)};_.L(_.NQ,_.P);_.NQ.prototype.Gg=function(){return _.D(this,1,0)};_.NQ.prototype.getUser=function(){return _.C(this,_.GUc,2)};var AVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(AVc,_.P);BVc=[1,2,3,4];_.CVc=function(a){_.Q(this,a,0,-1,BVc,null)};_.L(_.CVc,_.P);var DVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(DVc,_.P);
var EVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(EVc,_.P);_.FVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.FVc,_.P);_.GVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.GVc,_.P);_.GVc.prototype.getType=function(){return _.D(this,1,0)};HVc=[1];_.IVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.IVc,_.P);_.IVc.prototype.getFeature=function(){return _.D(this,1,0)};_.JVc=function(a){_.Q(this,a,0,-1,HVc,null)};_.L(_.JVc,_.P);var KVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(KVc,_.P);
var LVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(LVc,_.P);var MVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(MVc,_.P);MVc.prototype.getType=function(){return _.D(this,1,0)};_.OQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.PQ=function(a){_.Q(this,a,0,-1,null,_.OQ)};_.L(_.PQ,_.P);_.NVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.NVc,_.P);var OVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(OVc,_.P);_.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);_.QVc.prototype.getType=function(){return _.D(this,1,0)};_.QQ=[[1,2,3,4,5]];_.RVc=function(a){_.Q(this,a,0,-1,null,_.QQ)};_.L(_.RVc,_.P);_.RVc.prototype.getUser=function(){return _.C(this,_.GUc,1)};var SVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(SVc,_.P);SVc.prototype.getType=function(){return _.D(this,2,0)};_.TVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TVc,_.P);_.g=_.TVc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.zd=function(a){return _.Nj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Nj(this,2,a)};_.g.Ta=function(){return _.C(this,IQ,3)};_.UVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UVc,_.P);_.UVc.prototype.getParent=function(){return _.C(this,IQ,4)};_.UVc.prototype.Kg=function(a){return _.R(this,4,a)};var VVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(VVc,_.P);_.g=VVc.prototype;_.g.getName=function(){return _.D(this,1,"")};
_.g.zd=function(a){return _.Nj(this,1,a)};_.g.getTitle=function(){return _.D(this,2,"")};_.g.setTitle=function(a){return _.Nj(this,2,a)};_.g.Ta=function(){return _.C(this,IQ,3)};_.RQ=[[1,5,3]];_.SQ=function(a){_.Q(this,a,0,-1,null,_.RQ)};_.L(_.SQ,_.P);_.SQ.prototype.V=function(){return _.C(this,IQ,1)};_.SQ.prototype.W=function(){return null!=_.z(this,5)};_.SQ.prototype.mZ=function(){return _.C(this,VVc,2)};_.TQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TQ,_.P);
_.TQ.prototype.Bq=function(){return _.C(this,_.cy,2)};_.TQ.prototype.fC=function(a){_.R(this,2,a)};WVc=[[5,6]];_.XVc=function(a){_.Q(this,a,0,-1,null,WVc)};_.L(_.XVc,_.P);_.XVc.prototype.ln=function(){return _.C(this,SVc,2)};YVc=[3,4,5];ZVc=[[6,7]];_.UQ=function(a){_.Q(this,a,0,-1,YVc,ZVc)};_.L(_.UQ,_.P);_.UQ.prototype.nfa=function(a){_.Uj(this,4,a,_.XVc,void 0)};var $Vc=[1],uPc=function(a){_.Q(this,a,0,-1,$Vc,null)};_.L(uPc,_.P);var cQ=[[1,2,3,4,5,6,7]],tPc=function(a){_.Q(this,a,0,-1,null,cQ)};
_.L(tPc,_.P);var VQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(VQ,_.P);VQ.prototype.getQuery=function(){return _.C(this,_.se,1,1)};var aWc=function(a,b){return _.R(a,1,b)};VQ.prototype.Tm=function(){return _.z(this,4)};var bWc=function(a,b){return _.R(a,5,b)},cWc=[1,2,5,7,9,10,12],WQ=function(a){_.Q(this,a,0,-1,cWc,null)};_.L(WQ,_.P);WQ.prototype.Bd=function(){return _.Rj(this,_.Hk,1)};var XQ=function(a,b){return _.Tj(a,1,b)};WQ.prototype.Rf=function(a,b){return _.Uj(this,1,a,_.Hk,b)};
WQ.prototype.xJ=function(){return _.Rj(this,_.wk,2)};var dWc=function(a,b){_.Tj(a,2,b)};WQ.prototype.N4=function(a){_.Uj(this,2,a,_.wk,void 0)};WQ.prototype.gy=function(){return _.z(this,3)};var eWc=function(a,b){return _.x(a,3,b)};WQ.prototype.jn=function(){return _.z(this,4)};var fWc=function(a,b){return _.x(a,4,b)},gWc=function(a,b){return _.Tj(a,5,b)},hWc=function(a,b){return _.x(a,6,b)};WQ.prototype.zh=function(){return _.C(this,_.BC,8)};WQ.prototype.Ow=function(){return _.Rj(this,_.so,9)};
WQ.prototype.Sh=function(){return _.z(this,12)};var iWc=function(a,b){return _.x(a,12,b||[])},jWc=function(a,b){return _.x(a,13,b)},kWc={Ipb:0,Hpb:1,Hub:2,iAb:3,lAb:4},bQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],rPc=function(a){_.Q(this,a,0,-1,null,bQ)};_.L(rPc,_.P);var xPc=[[1,2]],wPc=function(a){_.Q(this,a,0,-1,null,xPc)};_.L(wPc,_.P);var APc=[[1,2,3]],zPc=function(a){_.Q(this,a,0,-1,null,APc)};_.L(zPc,_.P);var lWc=[1],mWc=function(a){_.Q(this,a,0,-1,lWc,null)};_.L(mWc,_.P);
mWc.prototype.dG=function(){return _.D(this,2,"")};var nWc={xqb:"wb",MAb:"xb",Hvb:"yb",sOa:"zb"},oWc=function(a,b){return 0<=b?!a||a<=b:!0},pWc=function(a,b){return 1<a?2==b:a==b},qWc=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");},YQ=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=YQ.prototype;_.g.clone=function(){return new YQ(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.DP=function(a){this.V=a};_.g.gy=function(){return this.ha};_.g.equals=function(a){return this.H==a.Zb()&&this.V==a.V&&this.ha==a.gy()&&_.Xj(this.W,a.getItem())};var rWc=function(a){_.N.call(this);this.V={};this.ma={};this.ua=a;this.ka=!0;this.W=null;this.ha=!1};_.I(rWc,_.N);
var ZQ=function(a,b,c){if(a.ha)throw Error("Te");c={hm:_.vf(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)}},$Q=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.ua.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.hm[b];if(_.qf(e.hm))try{e.callback()}catch(f){throw a.ka=
!1,a.W=f,f;}}}};rWc.prototype.H=function(a){return!!this.ma[a]};rWc.prototype.start=function(){this.ha=!0};rWc.prototype.ab=function(){_.N.prototype.ab.call(this);delete this.V};_.TP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.LIc=function(a){this.H=a};sWc=function(){};tWc=function(a){this.H=a};_.MIc=function(a){this.H=a};ZPc=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.Lv=f;this.ha=h;this.V=k};
_.VP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.SIc=function(a,b){this.request=a;this.pageToken=b||""};uWc=function(a){this.pageToken=a||""};vWc=function(){};_.UIc=function(a,b){this.request=a;this.pageToken=b||""};_.WP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.XP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.UP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};wWc=function(a,b){this.response=a;this.pageToken=b||""};lPc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};xWc=function(a,b){return lPc()?(new _.m.Intl.Collator([a||"fr"],b||{})).compare:function(c,d){return c.localeCompare(d)}};yWc=function(a){return[].concat(_.oc(new Set(a.map(function(b){return _.ZGc.get(b)}).filter(function(b){return b})))).join(",")};
aR=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.oc(b));b=yWc(b);var d=_.pN(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+")"};zWc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+aR(a,b,!1)+")"};AWc=function(a){var b=new _.xp;_.wP(b,"hidden",a.Hl());(a=_.E(a,6))&&_.wP(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()};BWc=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}};
CWc=function(a){var b=lPc(),c={};b&&(c.numeric=b);this.H=xWc(a,c)};CWc.prototype.compare=function(a,b,c){b=DWc(b);c=DWc(c);a=a.Td();var d=BWc(a);if(a&&d){d=EWc(this,a);var e=4==a.getType()?this.H:_.Aa;return FWc(a,d,e,b,c)}return _.Aa(b.getId(),c.getId())};CWc.prototype.sort=function(a,b,c){a=a.Td();var d=BWc(a);a&&d&&(d=EWc(this,a),d=GWc(b,d),_.Da(b,HWc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var DWc=function(a){return a instanceof _.Hk?a:a.getItem()},EWc=function(a,b){b=BWc(b);return _.K(a.V,a,b,_.Aa)},GWc=function(a,b){var c={};a.forEach(function(d){d=DWc(d);var e=d.getId();c[e]=b(d)});return c},HWc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Aa;d=DWc(d);e=DWc(e);return FWc(b,function(h){return c[h.getId()]},f,d,e)}},FWc=function(a,b,c,d,e){var f=1==a.hh()?1:-1;if(_.E(a,3)){a=_.RN(d,!0);var h=_.RN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Aa(d.getId(),
e.getId()))};CWc.prototype.V=function(a,b,c){for(var d=IWc(a[0],c),e=1;e<a.length;e++){var f=IWc(a[e],c);d=1==b(f,d)?f:d}return d};
var IWc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.Rb()||"";case 4:return b.Wx()||!1;case 12:return b.Vx()||0;case 11:return b.Sz()||0;case 10:return b.xq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.wv()||0;case 57:return _.z(b,62)||0;case 32:return b.Jz()||0;case 9:return b.jB()||0;case 67:return b.zJ()||0;case 98:return b.qB()||0;default:return""}},JWc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.$M(b.Ne());this.W="";a=_.oN(b);this.ka=
!(!a||!_.A(a,1,!1))},bR=function(a,b,c){b=_.Yj(b);"root"==b.getId()&&b.kc(a.W);_.fP(b).filter(function(d){return"root"==d.yb()}).forEach(function(d){return d.jc(a.W)});_.ze(b,_.eP(b).map(function(d){d.jc(d.yb().toLowerCase());return d}));c&&_.Yk(b,a.V);b.Sh().sort();return b},cR=function(a,b,c){if(b instanceof _.se){b=bR(a,b);var d=_.CLc(b)}else if(b instanceof _.oo)d=b.Il().sort().join(","),_.A(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.TM)return d=AWc(b),d+"|tdList";if(b instanceof _.wo)return d=
b.Il().sort().join(","),b.Sh().length&&(d+="|"+yWc(b.Sh())),d+"|tdMap";throw Error("Ze");}return 3==c?d:d+"|"+KWc(a,b.Sh(),2==c)},KWc=function(a,b,c){var d="default";if(0==b.length)return d;var e=new Set(b),f=new Set(a.V);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.oc(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.PN({fields:[].concat(_.oc(f)),mw:a.H}));e.size&&(d=d+" + "+_.PN({fields:[].concat(_.oc(e)),mw:a.H}));
return d};JWc.prototype.equals=function(a,b,c){var d;c&&(d=3);return cR(this,a,d)==cR(this,b,d)};
var LWc=function(a){if(!a.Il().every(function(b){return!_.Ec(b)}))throw new _.rb("Invalid ids for FindByIdsRequest");},NWc=function(a,b,c){if(_.lO(b))throw new _.rb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");MWc(a,b,c)},MWc=function(a,b,c){var d=_.LN(3);if(b.getId())throw new _.rb("Use findByIds() for find by id queries.",d);if(!b.oh()||0>=b.oh())throw new _.rb("A positive limit is required on an ItemQueryRequest.",d);_.z(b,33);a.ka&&c||(d=a.V.slice(),
c&&(d=d.concat(c)),OWc(a,d,b.Sh()));if(c=(c=b.Td())&&BWc(c))d=b.Sh().length?b.Sh():a.V,OWc(a,d,c);if(_.kO(b)){if(a.H)throw new _.rb("User must be authenticated for a Quick Access request.");if(!PWc(a)&&20<b.oh())throw new _.rb("Limit must be in the range [1, 20].");c=2==_.gP(b);d=_.z(b,33).length;if(c&&1!=d||d&&!c)throw new _.rb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.ze(_.x(_.x(_.IN(_.x(_.Zk(_.Yk(b.clone(),[]),void 0),32,void 0),[]),
45,void 0),47,void 0),[]);d=new _.se;if(!_.Xj(c,d))throw new _.rb("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: "+VSc(d,c));}if(_.mO(b)){if(a.H)throw new _.rb("User must be authenticated for a DrivePriority request.");if(2==_.gP(b))throw new _.rb("Team Drive corpora is not valid for a Drive Priority request.");a=_.x(_.x(_.x(_.Zk(_.Yk(b.clone(),[]),void 0),32,void 0),45,void 0),
52,void 0);b=new _.se;if(!_.Xj(a,b))throw new _.rb("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+VSc(b,a));}},QWc=function(a,b,c){if(!_.lO(b))throw new _.rb("Expected a PeoplePredict request.");MWc(a,b,c);if(a.H)throw new _.rb("User must be authenticated for a People Predict request.");if(2==_.gP(b))throw new _.rb("Team Drive corpora is not valid for a People Predict request.");a=_.x(_.x(_.x(_.Zk(_.Yk(b.clone(),
[]),void 0),32,void 0),45,void 0),49,void 0);b=new _.se;if(!_.Xj(a,b))throw new _.rb("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+VSc(b,a));},OWc=function(a,b,c){var d=_.LN(3);if(!$Oc(b,c,!0)){var e=_.PN({fields:c,mw:a.H}),f=_.PN({fields:b,mw:a.H});a=_.PN({fields:aPc(c,b),mw:a.H});throw new _.rb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),
d);}},PWc=function(a){return 200<=_.iP(a.ha)&&300>_.iP(a.ha)},RWc=function(a){var b=new Set;_.eP(a).forEach(function(c){switch(_.d0a(c.yb())){case 7:b.add("IMAGE_ALL");break;case 2:b.add("AUDIO_ALL");break;case 14:b.add("VIDEO_ALL");break;case 4:b.add("DRAWING_ALL");break;case 10:b.add("PRESENTATION_ALL");break;case 12:b.add("SPREADSHEET_ALL");break;case 3:b.add("DOCUMENT_ALL");break;case 6:b.add("FORM_ALL")}});return[].concat(_.oc(b))},SWc=function(a){switch(_.iP(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"}},TWc=function(){this.Kp=[]};_.I(TWc,_.yP);
TWc.prototype.add=function(a,b){var c=a.Gr.request;return c instanceof _.IO&&_.z(c.request,12)?_.yP.prototype.add.call(this,a,b):!1};TWc.prototype.H=function(a){return this.Kp.splice(0,Math.min(a,1))};var UWc=function(a,b){this.Kp=[];this.V=b};_.I(UWc,_.yP);UWc.prototype.add=function(a,b){return a.Gr.request instanceof _.IO?!1:_.yP.prototype.add.call(this,a,b)};
UWc.prototype.H=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Kp.length&&b.length<a;f++){var h=this.Kp[f],k=h.Gr.request;"undefined"!=typeof _.ZN&&k instanceof _.ZN||"undefined"!=typeof _.iO&&k instanceof _.iO||"undefined"!=typeof _.yO&&k instanceof _.yO?k="app|"+k.V():k instanceof _.UN||k instanceof _.VN||k instanceof _.aO||k instanceof _.qN?k="item|"+(k instanceof _.UN?k.Hc():k.getId()):"undefined"!=typeof _.bO&&k instanceof _.bO||"undefined"!=typeof _.jO&&k instanceof _.jO?k="item|"+k.Hc():
k instanceof _.cO||k instanceof _.AO?k="item|"+k.Hc():"undefined"!=typeof _.MD&&k instanceof _.MD||"undefined"!=typeof _.LD&&k instanceof _.LD?(k="undefined"!=typeof _.MD&&k instanceof _.MD?k.V().getKey():k.getKey(),k="pref|"+_.z(k,2)+"|"+_.to(k)):k=k instanceof _.dO?"td|"+k.getId():null;var l=h.Gr.request;if(l instanceof _.XN)l=!!_.E(l,8);else if(l instanceof _.VN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Rb()&&_.ndb.has(l.Rb()));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++)_.na(this.Kp,c[a]);return b};var VWc=function(a,b){_.N.call(this);this.Gf=a;this.H=b};_.L(VWc,_.N);_.g=VWc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Gf.V.registerService(this.H+":"+a,(0,_.K)(this.Txa,this,b),c)};_.g.WU=function(a){this.V=(0,_.K)(this.Txa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("cf");this.Gf.V.send(this.H+":"+a,b)};
_.g.Txa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};_.g.ab=function(){this.Gf=this.Gf.H[this.H]=null};var WWc=function(a){_.N.call(this);this.V=a;this.H={};this.V.WU((0,_.K)(this.W,this))};_.L(WWc,_.N);var XWc=function(a,b){if(-1!=b.indexOf(":"))throw Error("af`"+b);if(b in a.H)throw Error("bf`"+b);var c=new VWc(a,b);return a.H[b]=c};WWc.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)}};
WWc.prototype.ab=function(){_.jf(this.H,function(a){_.gc(a)});_.gc(this.V);delete this.H;delete this.V};var YWc=function(a){_.N.call(this);this.H=a};_.L(YWc,_.N);_.g=YWc.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.WU=function(a){this.H.nb(function(b){b.WU(a)})};_.g.send=function(a,b){this.H.nb(function(c){c.send(a,b)})};
_.g.ab=function(){this.cancel();YWc.mb.ab.call(this)};var nPc=function(a){_.Yz.call(this);this.H=a;this.V=_.sd(this.H,"message",this.$Ta,!1,this)};_.L(nPc,_.Yz);_.g=nPc.prototype;_.g.le=null;_.g.send=function(a,b){var c=[];b=this.Cia(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.cHc&&(a=(0,_.vi)(a));this.H.postMessage(a,c)};
_.g.$Ta=function(a){a=a.Kf;var b=a.data;if(_.cHc)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=_.s9a(this.sla(a.ports||[],c),b.Moa),null!=c&&b.callback(c)}};
_.g.Cia=function(a,b){return b&&"[object MessagePort]"==Object.prototype.toString.call(b)?(a.push(b),{_port:{type:"real",index:a.length-1}}):Array.isArray(b)?_.pe(b,(0,_.K)(this.Cia,this,a)):b&&b.constructor==Object?_.lf(b,function(c,d){c=this.Cia(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.sla=function(a,b){return Array.isArray(b)?_.pe(b,(0,_.K)(this.sla,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.lf(b,function(c,d){return this.sla(a,"_port"==d?c.val:c)},this):b};_.g.ab=function(){_.pi(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;nPc.mb.ab.call(this)};
var ZWc=function(a,b){if("*"==b)return new YWc(_.Th(Error("df")));var c=new _.ri(50),d=_.Ue(_.gc,c),e=new _.Mh(d);_.Oh(e,d);c.start();_.sd(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new nPc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new YWc(e)},$Wc=function(a){_.N.call(this);this.H=new WWc(a);this.W={};this.V=XWc(this.H,
"private");this.ha=XWc(this.H,"public");this.V.registerService("mics",(0,_.K)(this.ARa,this),!0)};_.L($Wc,_.N);_.g=$Wc.prototype;_.g.Ycb=0;_.g.ab=function(){_.gc(this.H);delete this.H;delete this.ha;delete this.V};_.g.send=function(a,b,c){var d=this.Ycb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.ARa=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.zRa,this,b),!0)};
_.g.zRa=function(a,b){a=a(b.data);var c=b.signature;_.Fh(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var aXc=function(a,b){_.N.call(this);this.W=new WWc(a);this.Pa(this.W);this.H=new $Wc(XWc(this.W,"direct"));this.Pa(this.H);a=XWc(this.W,"passthrough");this.ha=b?a:new $Wc(a);this.Pa(this.ha);this.V=b;this.ka=!1};_.I(aXc,_.N);aXc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
aXc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Se)};var dR=function(a,b,c){if(a.V)throw Error("ef");a.ha.registerService(b,c,!0)},eR=function(a,b,c,d){if(a.V)throw Error("ff");a.ha.send(b,c||{},d||_.Se)};aXc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("gf");};
var pPc=[],bXc=function(a,b,c,d,e,f,h,k,l){a=a.mf();h=new _.dMc(k,h,d,_.D(a,32,1073741824),_.D(a,21,1E3));h=new _.eMc(h);k=new _.gLc(_.D(a,59,2E3),_.D(a,60,2E4),_.D(a,61,6));var n={};n[1]=_.gMc(b,d);n[2]=_.hMc(b,a,e,c,k,d,l);n[3]=_.iMc(b,a,e,c,k,d,l,"batch");var q=_.D(a,10,50);if(l){var t=new _.JLc(l.getState());var v=new _.ELc(l)}else t=new _.fLc(e,c),v=new _.dLc(c);f=new _.AP(d,b,[t,new _.jLc(q,_.D(a,11,100)),new _.zP(q),new _.sP(k,d)],[new UWc(a,f),new TWc,new _.yP],[v,new _.OLc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.jMc(h,a,d),n[6]=_.iMc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.iMc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.iMc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},fR=function(a){return a instanceof _.Hk?null!=a.getId()&&a.getId()==a.wc():null!=a.Hc()&&a.Hc()==a.wc()},cXc=function(a,b,c){c=void 0===c?[]:c;var d=_.Yj(a),e=b.$j();null!=e&&bPc(a,_.Yj(e));if((e=b.getCapabilities())&&null!=_.E(e,13)){var f=a.getCapabilities()||new _.Bk,h=_.E(e,13);_.x(f,13,h);a.xn(f)}e&&null!=_.E(e,
18)&&(f=a.getCapabilities()||new _.Bk,e=_.E(e,18),_.x(f,18,e),a.xn(f));$P(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.$j()&&$P(a,d,c)},dXc=function(a,b,c){c=void 0===c?[]:c;if(!b||!fR(a)&&!fR(b))return a;if(2==aQ(a)){c=_.z(a,82);var d=_.Yj(b);cXc(d,a);_.TJc(d,aQ(b));_.x(d,82,c);return d}a=_.Yj(a);cXc(a,b,c);return a},eXc=function(a){return(a=a?a.$j():null)&&a.Hl()||!1},fXc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},gXc=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]={}})},iXc=function(a,b,c){b.every(function(d){return fR(d)})?hXc(b,c,a.V,a.ha):b.every(function(d){return!fR(d)})&&hXc(b,c,a.H,a.W)},hXc=function(a,b,c,d){var e=_.zIc(b,[].concat(_.oc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&$P(f,k,[h])})})};fXc.prototype.update=function(a,b,c){b&&fR(b)?jXc(a,b,this.V,this.ha,c):jXc(a,b,this.H,this.W,c)};var kXc=function(a,b){_.jf(a.H,function(c,d){_.rf(a.H[d],b)});_.jf(a.V,function(c,d){_.rf(a.V[d],b)})},jXc=function(a,b,c,d,e){_.jf(c,function(f,h){h=Number(h);if(e.includes(h))if(f[a]&&!b)_.rf(f,a);else if(b&&ZOc(b,[h])){var k=new _.Hk;k.kc(b.getId());$P(k,b,[h]);f[a]=k}});b&&ZP(b,[].concat(_.oc(d)))};
fXc.prototype.clear=function(){var a=this;_.jf(this.H,function(b,c){a.H[c]={}});_.jf(this.V,function(b,c){a.V[c]={}})};
var lXc=/^[\x00-\x7F]*$/,mXc=function(){this.H=""},oXc=function(a){return nXc(a)&&0==_.z(a,40).length&&void 0==_.z(a,41)},nXc=function(a){var b=!0;_.Rj(a,_.ve,13).forEach(function(d){"me"!=d.yb()&&(b=!1)});var c=a.Td();c=!c||5!=c.getType();return 0==_.Rj(a,_.Tk,5).length&&0==_.Rj(a,_.ve,14).length&&0==_.Rj(a,_.ve,15).length&&null==_.z(a,58)&&!_.E(a,18)&&!_.E(a,34)&&0==_.Rj(a,_.aP,35).length&&0==_.Rj(a,_.aP,38).length&&c&&b&&0==_.z(a,39).length&&!_.z(a,42)&&0==_.Rj(a,_.Ok,44).length&&!_.kO(a)&&!_.lO(a)&&
!_.mO(a)&&0==_.Rj(a,_.Pk,57).length&&pXc(a)&&!_.C(a,_.qna,59)},pXc=function(a){return _.Rj(a,_.Uk,4).every(function(b){return lXc.test(b.yb())})};mXc.prototype.iY=function(a,b){var c=this;return b.filter(function(d){return gR(c,a,d)})};
var gR=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!fR(c);if(d){d=!0;var e=_.Rj(b,_.Uk,4);if(pXc(b))for(var f=0;f<e.length&&d;f++){var h=e[f];if(h.yb()){var k=_.A(h,3,!1),l=(c.getTitle()||"").toLowerCase(),n=h.yb().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,_.ef)(q).length&&(0==q.replace(/\./g,"").length&&(t=!1),q=!!l.match(new RegExp((t?"(\\b|^|_)":"")+_.pg(q))),d=d&&(k?!q:q))}}}else d=!0}if(d){l=_.eP(b);e=d=0;k=
f=!1;l=_.u(l);for(h=l.next();!h.done;h=l.next())n=h.value,n.yb()&&(h=_.A(n,2,!1),q=c.Rb(),n=n.yb()==q,h?(e++,k=k||n):(d++,f=f||n));d=d&&!f||e&&k?!1:!0}if(d)for(d=!0,e=_.Rj(b,_.Rk,7),e=_.u(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.xq(),d=d&&qXc(k,f);if(d)for(d=!0,e=_.Rj(b,_.Rk,8),e=_.u(e),f=e.next();!f.done;f=e.next())f=f.value,k=c.Vx(),d=d&&qXc(k,f);d&&(d=b.Bh(),e=(e=_.gP(b))&&(2==e||3==e),d=null==d||d==!!c.Bh()&&(!d||1==c.wm()||e));d&&(d=null==_.E(b,10)||_.E(b,10)==!!c.Wx());d&&(d=null==b.Hl()||
b.Hl()==!!c.Hl());if(d)a:{d=_.fP(b);d=_.u(d);for(e=d.next();!e.done;e=d.next())if(e=e.value,e.yb()&&(f="root"==e.yb()&&a.H||e.yb(),f=c.li().includes(f),_.A(e,2,!1)?f:!f)){d=!1;break a}d=!0}if(a=d)a:{a=_.Rj(b,_.ve,13);a=_.u(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,"me"==d.yb()&&(e=1==c.wm(),_.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=_.gP(b))&&(2==d||3==d),a=null==a||a==!!c.hD()&&(!a||1==c.wm()||d));a&&(a=CPc(c),a=null==_.E(b,
19)||_.E(b,19)==!!a.Rp());a&&(a=!0);if(a=a&&rXc(b,c)&&sXc(b,c))a=_.z(b,33),a=!a.length||a.includes(c.wc()||"");if(a=a&&tXc(b,c))_.z(b,41)?(a=_.C(c,_.WO,86),a=null!=a&&_.z(b,41)==_.z(a,3)):a=!0;if(a=a&&uXc(b,c))a=_.gP(b),1==a?(a=_.E(c,31),a=!!_.fP(b).length||!!_.Rj(b,_.aP,35).length||1==_.E(b,18)||_.kO(b)||_.lO(b)||_.mO(b)||!!_.z(b,54)||null==a||a):a=2==a?!!c.wc():!0;a&&(a=_.kO(b)?!!_.Lk(c)&&!c.Bh():!0);a&&(a=_.lO(b)?!!_.Mk(c).length&&!c.Bh():!0);a&&(a=_.mO(b)?!!c.gJ().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&&(a=_.z(b,54),a=!a||_.z(c,120).includes(a));a&&(b=_.E(b,60),a=null==b||_.E(c.getCapabilities()||new _.Bk,50)==b);return a},qXc=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},rXc=function(a,b){var c=_.vf(_.z(b,56));a=_.Rj(a,_.dP,25);return 0==a.length?!0:a.every(function(d){return c[d.yb()]})},
sXc=function(a,b){if(0==a.bu().length)return!0;var c=_.vf(b.bu().map(function(d){return _.z(d,1)}));a=_.vf(a.bu().map(function(d){return _.z(d,1)}));return _.mf(a,function(d,e){return c[e]})},tXc=function(a,b){var c=_.vf(_.z(b,50));a=_.Rj(a,_.Sk,37);return 0==a.length?!0:a.every(function(d){return c[d.yb()]})},uXc=function(a,b){if(_.z(a,40).length){if(b=_.C(b,_.WO,86)){var c=_.vf(_.z(b,2));return _.z(a,40).some(function(d){return c[d]})}return!1}return!0},vXc=function(a,b,c){var d=this;this.W=b;this.ha=
c;this.H={};this.V="";a.nb(function(e){d.V=e})};vXc.prototype.query=function(a,b){var c=this,d=[];oXc(a)&&(_.jf(this.H,function(e){gR(c.W,a,e.getItem())&&(void 0===b||pWc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};vXc.prototype.get=function(a){return this.H[a]};vXc.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};
vXc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,wXc(this,a.H)?(_.rf(this.H,a.id),a.H.H--):this.H[a.id]=a.H):(_.rf(this.H,a.id),a.V.H--)};
var wXc=function(a,b){return 1<b.Zb()||pWc(b.V,2)||b.getItem().hD()||EPc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},xXc=function(a){_.jf(a.H,function(b){wXc(a,b)&&(_.rf(a.H,b.getId()),b.H--)})},yXc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},TPc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),iXc(a.ka,[b.getItem()],KSc(a.ha)),b):null};yXc.prototype.H=function(a){return(a=TPc(this,a))?a.getItem():null};
var zXc=function(a,b){var c={};b.forEach(function(d){var e=TPc(a,d);e&&(c[d]=e)});return c},AXc=function(a,b){return _.lf(zXc(a,b),function(c){return c.getItem()})},BXc=function(a,b){b=bR(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};yXc.prototype.query=function(a){return BXc(this,a).map(function(b){return b.getItem()})};yXc.prototype.W=function(){return _.nf(this.V.H)};
CXc=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(_.Ik(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||_.FG(e));(d=c.Ro())&&b.add(d.getId()||_.FG(d));(d=c.dB())&&b.add(d.getId()||_.FG(d));(d=_.C(c,_.wk,91))&&b.add(d.getId()||_.FG(d));(c=c.rB())&&b.add(c.getId()||_.FG(c))}return b.size};
DXc=function(a){return _.C(a,_.YM,3)||_.C(a,_.JO,4)||_.C(a,_.EP,5)||_.C(a,_.BO,6)||_.C(a,_.dO,7)||_.C(a,_.XN,8)||_.C(a,_.aO,9)||_.C(a,_.qN,10)};EXc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};FXc=function(a){var b={};return b.parentId=a.Nj(),b};GXc=function(a){var b={};_.Ec(_.sg(a.getTitle()))||(b.title=a.getTitle());_.zNc(b,_.z(a,3));return b};
HXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.z(a,3)&&(b.workspaceToken=_.z(a,3));return b};IXc=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
JXc=function(a){var b={},c={};_.Ec(_.sg(a.getTitle()))||(b.title=a.getTitle());null!=a.Tf()&&(b.description=a.Tf());null!=_.E(a,4)&&(c.starred=_.E(a,4));null!=a.Bh()&&(c.trashed=a.Bh());_.Ec(_.sg(a.Rb()))||(b.mimeType=a.Rb());"number"===typeof _.z(a,7)&&(b.modifiedDate=_.fKc(_.oLc(_.z(a,7)||0)));null!=_.E(a,11)&&(c.restricted=_.E(a,11));_.nf(c)&&(b.labels=c);null!=a.$h()&&(b.folderColor=a.$h());null!=_.E(a,16)&&(b.subscribed=_.E(a,16));if(c=_.C(a,_.Ek,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)}_.zNc(b,_.z(a,8));return b};KXc=function(a){var b={};null!=a.hs()&&(b.pinned=a.hs());return b};
LXc=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,_.qg)("0",6-c.length)+c);c=_.C(a,_.dSc,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};
MXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.sHc[a.getState()])&&(b.state=a);return b};NXc={Wob:0,qpb:1,Ztb:3,iBb:5,wOa:6};_.hR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hR,_.P);_.g=_.hR.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.Zxa=function(){return _.z(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.YUa=function(){return _.z(this,6)};_.OXc=function(a,b){return _.x(a,6,b)};_.hR.prototype.Tf=function(){return _.z(this,8)};_.hR.prototype.zl=function(a){return _.x(this,8,a)};_.hR.prototype.V=function(){return _.E(this,9)};_.PXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.PXc,_.P);_.PXc.prototype.V=function(){return _.z(this,1)};var QXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(QXc,_.P);QXc.prototype.V=function(){return _.E(this,1)};
QXc.prototype.W=function(){return _.z(this,2)};_.iR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.iR,_.P);_.g=_.iR.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.Qha=function(){return _.z(this,3)};_.g.Xs=function(){return _.z(this,4)};_.g.tZ=function(){return _.C(this,QXc,6)};_.g.QZa=function(){return _.C(this,_.PXc,7)};_.g.Zza=function(){return _.z(this,8)};
_.g.Pha=function(){return _.E(this,9)};var jR=function(a,b){_.gi.call(this,"Ib");this.error=a;this.mE=b};_.I(jR,_.gi);var RXc=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(RXc,_.cFc);RXc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
RXc.prototype.update=function(a,b){this.V.update(a,b)};RXc.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 SXc=function(){this.H=64;this.V=[];this.ma=[];this.ua=[];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(SXc,_.cFc);
SXc.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 TXc=function(a,b,c){c||(c=0);var d=a.ua;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};
SXc.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;)TXc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){TXc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){TXc(this,e);f=0;break}}this.W=f;this.ha+=b}};
SXc.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;TXc(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 kR=function(a){_.Q(this,a,0,-1,null,null)};_.L(kR,_.P);kR.prototype.getId=function(){return _.z(this,1)};kR.prototype.kc=function(a){return _.x(this,1,a)};kR.prototype.rD=function(){return _.z(this,3)};
kR.prototype.ye=function(){return _.z(this,4)};var UXc=[2,4],lR=function(a){_.Q(this,a,0,-1,UXc,null)};_.L(lR,_.P);lR.prototype.Gb=function(){return _.z(this,1)};lR.prototype.Ec=function(a){return _.x(this,1,a)};lR.prototype.Zj=function(){return _.z(this,3)};var VXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(VXc,_.P);var WXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(WXc,_.P);WXc.prototype.Gb=function(){return _.z(this,1)};WXc.prototype.Ec=function(a){return _.x(this,1,a)};
var XXc=[4,9],YXc=function(a){_.Q(this,a,0,-1,XXc,null)};_.L(YXc,_.P);_.g=YXc.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.rAa=function(){return _.z(this,2)};_.g.bya=function(){return _.z(this,3)};_.g.r_a=function(){return _.Rj(this,_.wN,4)};var ZXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(ZXc,_.P);ZXc.prototype.qr=function(){return _.C(this,zSc,1)};ZXc.prototype.Tm=function(){return _.z(this,2)};var mR=function(a){_.Q(this,a,0,-1,null,null)};
_.L(mR,_.P);mR.prototype.Gb=function(){return _.z(this,1)};mR.prototype.Ec=function(a){return _.x(this,1,a)};mR.prototype.Zj=function(){return _.z(this,3)};var nR=function(a){_.Q(this,a,0,-1,null,null)};_.L(nR,_.P);nR.prototype.Gb=function(){return _.z(this,1)};nR.prototype.Ec=function(a){return _.x(this,1,a)};nR.prototype.eZ=function(){return _.C(this,_.wk,2)};nR.prototype.Zj=function(){return _.z(this,3)};var $Xc=function(a){_.Q(this,a,0,-1,null,null)};_.L($Xc,_.P);_.g=$Xc.prototype;
_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.Zj=function(){return _.z(this,2)};_.g.cya=function(){return _.C(this,_.so,3)};_.g.getKey=function(){return _.C(this,_.Ra,4)};var aYc={XAb:0,cwb:1,fwb:2,OTHER:3,dwb:4},RPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(RPc,_.P);RPc.prototype.getUrl=function(){return _.z(this,1)};var eQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(eQ,_.P);var QPc=function(a,b){return _.x(a,1,b)};
eQ.prototype.getName=function(){return _.z(this,2)};eQ.prototype.zd=function(a){return _.x(this,2,a)};eQ.prototype.getEmail=function(){return _.z(this,3)};eQ.prototype.zB=function(){return null!=_.z(this,3)};var bYc=[1],cYc=function(a){_.Q(this,a,0,-1,bYc,null)};_.L(cYc,_.P);cYc.prototype.Uo=function(){return _.Rj(this,eQ,1)};var dYc=function(a,b){return _.Tj(a,1,b)},eYc=[2],oR=function(a){_.Q(this,a,0,-1,eYc,null)};_.L(oR,_.P);oR.prototype.Gb=function(){return _.z(this,1)};
oR.prototype.Ec=function(a){return _.x(this,1,a)};oR.prototype.$i=function(){return _.Rj(this,_.mC,2)};var fYc=function(a,b){return _.Tj(a,2,b)};oR.prototype.Zj=function(){return _.z(this,3)};var gYc=[[2,4,6,10],[3,5,7,8,9]],hYc=[1],iYc=function(a){_.Q(this,a,0,-1,null,gYc)};_.L(iYc,_.P);var jYc=function(a){_.Q(this,a,0,-1,hYc,null)};_.L(jYc,_.P);iYc.prototype.getKey=function(){return _.z(this,1)};var kYc=[2],pR=function(a){_.Q(this,a,0,-1,kYc,null)};_.L(pR,_.P);
pR.prototype.Gb=function(){return _.z(this,1)};pR.prototype.Ec=function(a){return _.x(this,1,a)};pR.prototype.V=function(){return _.Rj(this,wQ,2)};var lYc=function(a,b){return _.Tj(a,2,b)};pR.prototype.Zj=function(){return _.z(this,3)};var qR=function(a){_.Q(this,a,0,-1,null,null)};_.L(qR,_.P);qR.prototype.Gb=function(){return _.z(this,1)};qR.prototype.Ec=function(a){return _.x(this,1,a)};qR.prototype.V=function(){return _.C(this,wQ,2)};qR.prototype.Zj=function(){return _.z(this,3)};
var mYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mYc,_.P);mYc.prototype.dG=function(){return _.z(this,2)};_.nYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.nYc,_.P);_.g=_.nYc.prototype;_.g.Hc=function(){return _.z(this,1)};_.g.Gb=function(){return _.z(this,2)};_.g.Ec=function(a){return _.x(this,2,a)};_.g.getError=function(){return _.C(this,_.qb,3)};_.g.We=function(a){return _.R(this,3,a)};_.g.Gm=function(){return null!=_.z(this,3)};var oYc=[1],pYc=function(a){_.Q(this,a,0,-1,oYc,null)};
_.L(pYc,_.P);_.rR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.rR,_.P);_.rR.prototype.Gb=function(){return _.z(this,1)};_.rR.prototype.Ec=function(a){return _.x(this,1,a)};_.rR.prototype.zh=function(){return _.C(this,_.BC,2)};_.qYc=function(a,b){return _.R(a,2,b)};_.rR.prototype.Zj=function(){return _.z(this,3)};var rYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rYc,_.P);var sYc=function(a,b){return _.x(a,1,b)},tYc=[1],uYc=function(a){_.Q(this,a,0,-1,tYc,null)};_.L(uYc,_.P);
vYc=function(a,b){return _.x(a,1,b||[])};_.YPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.YPc,_.P);_.g=_.YPc.prototype;_.g.getItem=function(){return _.C(this,_.Hk,1)};_.g.setItem=function(a){return _.R(this,1,a)};_.g.getError=function(){return _.C(this,_.qb,2)};_.g.We=function(a){return _.R(this,2,a)};_.g.Gm=function(){return null!=_.z(this,2)};_.g.Zr=function(){return _.z(this,4)};var wYc=[1],xYc=function(a){_.Q(this,a,0,-1,wYc,null)};_.L(xYc,_.P);
var yYc=[2],sR=function(a){_.Q(this,a,0,-1,yYc,null)};_.L(sR,_.P);sR.prototype.Gb=function(){return _.z(this,1)};sR.prototype.Ec=function(a){return _.x(this,1,a)};sR.prototype.Zj=function(){return _.z(this,3)};var zYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zYc,_.P);var AYc=[1],BYc=function(a){_.Q(this,a,0,-1,AYc,null)};_.L(BYc,_.P);BYc.prototype.V=function(){return _.z(this,2)};var CYc=function(a,b){_.x(a,2,b)},DYc=function(a,b){this.V=a|0;this.H=b|0};
DYc.prototype.equals=function(a){return this===a?!0:a instanceof DYc?this.V===a.V&&this.H===a.H:!1};DYc.prototype.yc=function(){return 31*this.V+17*this.H|0};
var EYc=function(a,b){return new DYc(a,b)},FYc=function(a,b){b=~b;a?a=~a+1:b+=1;return EYc(a,b)},GYc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?FYc:EYc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},HYc=function(){this.H=this.ha=this.V=this.W=null},IYc=function(a){var b=new _.wj;if(a.W){var c=a.W.V>>>0,d=a.W.H>>>0;_.xj(b,1,1);var e=b.H;jQ(e,c);jQ(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.xj(b,2,1),e=b.H,jQ(e,c),jQ(e,d));c=a.ha;null!=c&&(_.xj(b,3,5),jQ(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.xj(b,4,1),d=b.H,jQ(d,c),jQ(d,a));return _.yj(b)},JYc=function(a,b,c){this.id=a;this.V=b;this.H=c},KYc=function(a,b){return new JYc((a?a:b).getId(),a,b)},LYc=function(a,b){return new JYc(a.getId(),a,b)},tR=function(a){return new JYc(a.getId(),null,a)},MYc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},NYc={LIMITED:1,UNLIMITED:2},HPc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},OYc={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},JPc={pwb:0,lsb:1},PYc=function(a,b){this.V=
a;this.H=b},RYc=function(a,b){_.FP(["drive#about"],b);var c=new _.rR,d=new _.BC;if(b.user){var e=_.GP(a.V,b.user);_.R(d,1,e)}a=QYc(a,b);a=WRc(VRc(_.URc(new _.mob,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.YRc(a,_.RRc(_.QRc((new _.zC).Ec(MYc[e.status]),Number(e.trialMillisRemaining)),_.HP(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.ZRc(a,_.TRc(_.SRc(new _.lob,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&
XRc(a,b.importFormats.map(function(f){var h=new _.PRc;h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.R(d,3,a);_.qYc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},QYc=function(a,b){var c=new _.ey;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=_.JRc(_.IRc(c,IPc(b.quotaBytesByService||[])),NYc[b.quotaType]);if(_.A(a.H,5,!1)){a=_.LRc(_.KRc(c,Number(b.quotaBytesTotal)),
"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-KPc(b);a=_.x(a,9,d);a=_.MRc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));a=_.x(a,13,_.jPc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.x(a,15,OYc[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.ECb&&(a=new _.job,d=_.t4a(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},SYc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},TYc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},UYc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},VYc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},WYc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},XYc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},YYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},ZYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},$Yc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},aZc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},bZc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},cZc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},dZc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},eZc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},fZc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},gZc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},hZc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},iZc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},jZc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},kZc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},lZc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},mZc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},nZc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},uR=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.s4a((new _.cy).setSeconds(a),b)},oZc=function(a){var b=new _.TQ;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=uR(d);_.R(b,1,c);break;case "endTime":b.fC(uR(d))}}return b},pZc=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 "name":b.zd(d);break;case "title":b.setTitle(d)}}return b},qZc=function(a){var b=new _.hVc;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":_.Oj(b,6,TYc[d])}}return b},rZc=function(a){var b=new _.iVc;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":_.Nj(b,1,d);break;case "targetMimeType":_.Nj(b,2,d)}}return b},sZc=function(a){var b=new _.KQ;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 JQ;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 gVc;_.Sj(e,8,jVc[0],f);break;case "driveFolder":e=qZc(f);_.Sj(c,9,jVc[0],e);break;case "driveShortcut":e=rZc(f),_.Sj(c,10,jVc[0],e)}}_.Sj(b,1,kVc[0],c);break;case "drive":c=pZc(d),_.Sj(b,3,kVc[0],c)}}return b},tZc=function(a){return a.map(function(b){return sZc(b)})},uZc=function(a){var b=new _.bVc;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":_.Nj(b,3,d);break;case "audienceDisplayName":_.Nj(b,4,d)}}return b},vR=function(a){var b=new _.GUc;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 _.FQ;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":_.Nj(c,1,f);break;case "isCurrentUser":_.Mj(c,2,f);break;case "displayName":_.Nj(c,3,f);break;case "photoUrl":c.Fs(f)}}_.Sj(b,2,_.EUc[0],c);break;case "unknownUser":c=new HUc;_.Sj(b,4,_.EUc[0],c);break;case "deletedUser":c=new _.FUc,_.Sj(b,3,_.EUc[0],c)}}return b},vZc=function(a){return a.map(function(b){return vR(b)})},wZc=function(a){var b=new _.RVc;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=
vR(d);_.Sj(b,1,_.QQ[0],c);break;case "anonymous":c=new OVc;_.Sj(b,2,_.QQ[0],c);break;case "impersonation":c=new _.PVc;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=vR(f),_.R(c,1,e)}}_.Sj(b,3,_.QQ[0],c);break;case "system":c=new _.QVc;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":_.Oj(c,1,UYc[f])}_.Sj(b,4,_.QQ[0],
c);break;case "administrator":c=new _.NVc,_.Sj(b,5,_.QQ[0],c)}}return b},xZc=function(a){return a.map(function(b){return wZc(b)})},yZc=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 "name":b.zd(d);break;case "title":b.setTitle(d);break;case "mimeType":_.Nj(b,6,d);break;case "version":_.Lj(b,5,d);break;case "owner":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 "domain":e=uZc(f);_.R(c,3,e);break;case "user":e=vR(f);_.Sj(c,1,dVc[0],e);break;case "drive":e=pZc(f),_.Sj(c,4,dVc[0],e)}}_.R(b,7,c);break;case "driveFile":c=new gVc;_.Sj(b,8,fVc[0],c);break;case "driveFolder":c=qZc(d);_.Sj(b,9,fVc[0],c);break;case "driveShortcut":c=rZc(d),_.Sj(b,10,fVc[0],c)}}return b},zZc=function(a){var b=new _.SQ;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=yZc(d);_.Sj(b,1,_.RQ[0],c);break;case "drive":c=new _.TVc;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=yZc(f),_.R(c,3,e)}}_.Sj(b,5,_.RQ[0],c);break;case "fileComment":c=new _.UVc;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":_.Nj(c,
1,f);break;case "legacyDiscussionId":_.Nj(c,2,f);break;case "linkToDiscussion":_.Nj(c,3,f);break;case "parent":c.Kg(yZc(f))}_.Sj(b,3,_.RQ[0],c)}}return b},AZc=function(a){return a.map(function(b){return zZc(b)})},BZc=function(a){var b=new _.yVc;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":_.Oj(b,1,nZc[d])}}return b},CZc=function(a){return a.map(function(b){var c=new _.NQ;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":_.Oj(c,1,XYc[e]);break;case "user":d=vR(e);_.Sj(c,2,_.MQ[0],d);break;case "group":d=new _.LQ;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":_.Nj(d,1,h);break;case "title":d.setTitle(h)}}_.Sj(c,3,_.MQ[0],d);break;case "domain":d=uZc(e);_.Sj(c,4,_.MQ[0],d);break;case "anyone":d=new AVc;_.Sj(c,5,_.MQ[0],d);
break;case "allowDiscovery":_.Mj(c,6,e)}}return c})},DZc=function(a){var b=new zUc;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.zl(d);break;case "url":_.Nj(b,2,d)}}return b},EZc=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 "feature":_.Oj(c,1,gZc[e]);break;case "newRestriction":_.Oj(c,
2,hZc[e])}}return c})},FZc=function(a){return a.map(function(b){var c=new QUc;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=vR(e);_.R(c,3,d);break;case "addedReviewer":d=vR(e),_.R(c,4,d)}}return c})},GZc=function(a){return a.map(function(b){return kZc[b]})},HZc=function(a){return a.map(function(b){var c=new UUc;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":_.Nj(c,1,e);break;case "types":d=GZc(e),_.x(c,2,d||[])}}return c})},IZc=function(a){return a.map(function(b){return lZc[b]})},JZc=function(a){return a.map(function(b){var c=new CUc;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=IZc(e),_.x(c,2,d||[])}}return c})},KZc=function(a){var b=new EVc;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":_.Oj(b,1,mZc[d]);break;case "signinRequired":_.Mj(b,2,d);break;case "publishedTime":c=uR(d),_.R(b,3,c)}}return b},LZc=function(a){for(var b=new _.PQ,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 _.pVc,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 mVc;_.Sj(y,1,_.lVc[0],B);break;case "upload":var F=k,M=new nVc;_.Sj(F,2,_.lVc[0],M);break;case "copy":for(var J=v,X=new _.oVc,T=_.u(Object.entries(J)),fa=T.next();!fa.done;fa=T.next()){var za=_.u(fa.value),La=za.next().value,Ba=za.next().value;switch(La){case "originalObject":var ea=sZc(Ba);_.R(X,1,ea)}}_.Sj(k,3,_.lVc[0],X)}}_.Sj(b,1,_.OQ[0],k);break;case "edit":var Va=new uVc;_.Sj(b,2,_.OQ[0],Va);break;case "move":for(var gb=new _.zVc,Rb=_.u(Object.entries(h)),
vb=Rb.next();!vb.done;vb=Rb.next()){var ac=_.u(vb.value),md=ac.next().value,ie=ac.next().value;switch(md){case "addedParents":var ig=tZc(ie);_.Tj(gb,1,ig);break;case "removedParents":var De=tZc(ie);_.Tj(gb,2,De);break;case "fromOwnershipTransfer":_.Mj(gb,3,ie);break;case "reparents":var Nf=ie.map(BZc);_.Tj(gb,4,Nf)}}_.Sj(b,3,_.OQ[0],gb);break;case "rename":for(var Qg=new _.FVc,Rg=_.u(Object.entries(h)),fd=Rg.next();!fd.done;fd=Rg.next()){var Gi=_.u(fd.value),Pe=Gi.next().value,Of=Gi.next().value;
switch(Pe){case "oldTitle":_.Nj(Qg,1,Of);break;case "newTitle":_.Nj(Qg,2,Of)}}_.Sj(b,4,_.OQ[0],Qg);break;case "delete":for(var Eb=new _.sVc,li=_.u(Object.entries(h)),Vk=li.next();!Vk.done;Vk=li.next()){var mi=_.u(Vk.value),lq=mi.next().value,nk=mi.next().value;switch(lq){case "type":_.Oj(Eb,1,VYc[nk])}}_.Sj(b,5,_.OQ[0],Eb);break;case "restore":for(var Pf=new _.GVc,Bh=_.u(Object.entries(h)),xm=Bh.next();!xm.done;xm=Bh.next()){var mq=_.u(xm.value),zl=mq.next().value,Wn=mq.next().value;switch(zl){case "type":_.Oj(Pf,
1,WYc[Wn])}}_.Sj(b,6,_.OQ[0],Pf);break;case "permissionChange":for(var Al=new _.CVc,Xn=_.u(Object.entries(h)),nq=Xn.next();!nq.done;nq=Xn.next()){var ok=_.u(nq.value),oq=ok.next().value,Bl=ok.next().value;switch(oq){case "addedPermissions":var gp=CZc(Bl);_.Tj(Al,1,gp);break;case "removedPermissions":var hp=CZc(Bl);_.Tj(Al,2,hp);break;case "resharedPermissions":var Yn=CZc(Bl);_.Tj(Al,3,Yn);break;case "otherActivePermissions":var gn=CZc(Bl);_.Tj(Al,4,gn)}}_.Sj(b,7,_.OQ[0],Al);break;case "comment":for(var Hg=
new _.aVc,Ze=_.u(Object.entries(h)),sc=Ze.next();!sc.done;sc=Ze.next()){var ip=_.u(sc.value),Uh=ip.next().value,Yi=ip.next().value;switch(Uh){case "post":for(var Kv=Yi,Cr=new _.YUc,Os=_.u(Object.entries(Kv)),Ps=Os.next();!Ps.done;Ps=Os.next()){var Qs=_.u(Ps.value),Zn=Qs.next().value,ku=Qs.next().value;switch(Zn){case "subtype":_.Oj(Cr,1,YYc[ku])}}_.Sj(Hg,1,_.XUc[0],Cr);break;case "assignment":for(var jp=Yi,dh=new _.ZUc,zj=_.u(Object.entries(jp)),hn=zj.next();!hn.done;hn=zj.next()){var Ch=_.u(hn.value),
kp=Ch.next().value,lu=Ch.next().value;switch(kp){case "subtype":_.Oj(dh,1,ZYc[lu]);break;case "assignedUser":var Rs=vR(lu);_.R(dh,7,Rs)}}_.Sj(Hg,2,_.XUc[0],dh);break;case "suggestion":for(var Dr=Yi,pq=new _.$Uc,qq=_.u(Object.entries(Dr)),Cl=qq.next();!Cl.done;Cl=qq.next()){var Ss=_.u(Cl.value),mu=Ss.next().value,lp=Ss.next().value;switch(mu){case "subtype":_.Oj(pq,1,$Yc[lp])}}_.Sj(Hg,3,_.XUc[0],pq);break;case "mentionedUsers":var rq=vZc(Yi);_.Tj(Hg,7,rq)}}_.Sj(b,8,_.OQ[0],Hg);break;case "dlpChange":for(var sq=
new _.rVc,Ts=_.u(Object.entries(h)),nu=Ts.next();!nu.done;nu=Ts.next()){var tq=_.u(nu.value),Lv=tq.next().value,ou=tq.next().value;switch(Lv){case "type":_.Oj(sq,1,aZc[ou])}}_.Sj(b,9,_.OQ[0],sq);break;case "view":for(var $n=new MVc,pu=_.u(Object.entries(h)),Er=pu.next();!Er.done;Er=pu.next()){var qu=_.u(Er.value),Us=qu.next().value,jn=qu.next().value;switch(Us){case "type":_.Oj($n,1,bZc[jn]);break;case "viewHistoryVisibility":for(var wx=jn,Fr=new LVc,re=_.u(Object.entries(wx)),xx=re.next();!xx.done;xx=
re.next()){var Bz=_.u(xx.value),fG=Bz.next().value,gG=Bz.next().value;switch(fG){case "domainPolicyVisibilityState":_.Oj(Fr,1,cZc[gG]);break;case "namedPartyState":_.Oj(Fr,2,dZc[gG])}}_.R($n,2,Fr)}}_.Sj(b,10,_.OQ[0],$n);break;case "download":for(var kn=new tVc,nC=_.u(Object.entries(h)),uq=nC.next();!uq.done;uq=nC.next()){var mp=_.u(uq.value),bP=mp.next().value,hG=mp.next().value;switch(bP){case "type":_.Oj(kn,1,eZc[hG])}}_.Sj(b,11,_.OQ[0],kn);break;case "reference":for(var oC=new _.EQ,pW=_.u(Object.entries(h)),
Cz=pW.next();!Cz.done;Cz=pW.next()){var cP=_.u(Cz.value),SHa=cP.next().value,f7=cP.next().value;switch(SHa){case "type":_.Oj(oC,1,fZc[f7]);break;case "context":oC.Gk(DZc(f7))}}_.Sj(b,12,_.OQ[0],oC);break;case "settingsChange":for(var RX=new _.JVc,mka=_.u(Object.entries(h)),SX=mka.next();!SX.done;SX=mka.next()){var Lcb=_.u(SX.value),z0b=Lcb.next().value,cla=Lcb.next().value;switch(z0b){case "restrictionChanges":var A0b=EZc(cla);_.Tj(RX,1,A0b)}}_.Sj(b,13,_.OQ[0],RX);break;case "approvalChange":for(var jw=
new _.MUc,Mcb=_.u(Object.entries(h)),NIa=Mcb.next();!NIa.done;NIa=Mcb.next()){var Ncb=_.u(NIa.value),B0b=Ncb.next().value,SG=Ncb.next().value;switch(B0b){case "approvalName":_.Nj(jw,2,SG);break;case "approvalEventNames":_.x(jw,3,SG||[]);break;case "initiator":var C0b=vR(SG);_.R(jw,4,C0b);break;case "reviewers":var D0b=vZc(SG);_.Tj(jw,5,D0b);break;case "status":jw.Ec(iZc[SG]);break;case "dueTime":var E0b=uR(SG);_.R(jw,7,E0b);break;case "approvalRequested":var OIa=jw,PIa=new JUc;_.Sj(OIa,8,_.GQ[0],
PIa);break;case "approvalCancelled":var F0b=jw,Ocb=new KUc;_.Sj(F0b,9,_.GQ[0],Ocb);break;case "reviewerResponded":for(var G0b=SG,Pcb=new _.LUc,Qcb=_.u(Object.entries(G0b)),L7=Qcb.next();!L7.done;L7=Qcb.next()){var dla=_.u(L7.value),H0b=dla.next().value,ela=dla.next().value;switch(H0b){case "reviewerDecision":_.Oj(Pcb,1,jZc[ela])}}_.Sj(jw,10,_.GQ[0],Pcb);break;case "commentAdded":var I0b=jw,Rcb=new NUc;_.Sj(I0b,11,_.GQ[0],Rcb);break;case "reviewersChanged":for(var J0b=SG,Scb=new PUc,Tcb=_.u(Object.entries(J0b)),
fla=Tcb.next();!fla.done;fla=Tcb.next()){var Ucb=_.u(fla.value),K0b=Ucb.next().value,L0b=Ucb.next().value;switch(K0b){case "reviewerChanges":var M0b=FZc(L0b);_.Tj(Scb,1,M0b)}}_.Sj(jw,12,_.GQ[0],Scb);break;case "dueTimeChanged":for(var QIa=SG,RIa=new RUc,Vcb=_.u(Object.entries(QIa)),SIa=Vcb.next();!SIa.done;SIa=Vcb.next()){var Wcb=_.u(SIa.value),N0b=Wcb.next().value,O0b=Wcb.next().value;switch(N0b){case "oldDueTime":var P0b=uR(O0b);_.R(RIa,1,P0b)}}_.Sj(jw,13,_.GQ[0],RIa)}}_.Sj(b,18,_.OQ[0],jw);break;
case "lock":var SBf=new wVc;_.Sj(b,15,_.OQ[0],SBf);break;case "unlock":var TBf=new KVc;_.Sj(b,16,_.OQ[0],TBf);break;case "categoryMetadataChange":for(var Jtd=new VUc,Ktd=_.u(Object.entries(h)),Q0b=Ktd.next();!Q0b.done;Q0b=Ktd.next()){var Ltd=_.u(Q0b.value),UBf=Ltd.next().value,VBf=Ltd.next().value;switch(UBf){case "changes":var WBf=HZc(VBf);_.Tj(Jtd,1,WBf)}}_.Sj(b,17,_.OQ[0],Jtd);break;case "appliedLabelChange":for(var Mtd=new _.DUc,Ntd=_.u(Object.entries(h)),R0b=Ntd.next();!R0b.done;R0b=Ntd.next()){var Otd=
_.u(R0b.value),XBf=Otd.next().value,YBf=Otd.next().value;switch(XBf){case "changes":var ZBf=JZc(YBf);_.Tj(Mtd,1,ZBf)}}_.Sj(b,19,_.OQ[0],Mtd);break;case "publishChange":for(var S0b=new DVc,Ptd=_.u(Object.entries(h)),T0b=Ptd.next();!T0b.done;T0b=Ptd.next()){var Qtd=_.u(T0b.value),$Bf=Qtd.next().value,Rtd=Qtd.next().value;switch($Bf){case "oldPublishState":var aCf=KZc(Rtd);_.R(S0b,1,aCf);break;case "newPublishState":var bCf=KZc(Rtd);_.R(S0b,2,bCf)}}_.Sj(b,20,_.OQ[0],S0b);break;case "linkShareMetadataChange":for(var Std=
new vVc,Ttd=_.u(Object.entries(h)),U0b=Ttd.next();!U0b.done;U0b=Ttd.next()){var Utd=_.u(U0b.value),cCf=Utd.next().value,dCf=Utd.next().value;switch(cCf){case "securityUpdateEnabled":_.Mj(Std,1,dCf)}}_.Sj(b,21,_.OQ[0],Std)}}return b},MZc=function(a){return a.map(function(b){var c=new _.XVc;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=LZc(e);_.R(c,1,d);break;case "source":d=new SVc;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":_.Oj(d,2,SYc[h]);break;case "appId":_.Nj(d,1,h)}}_.R(c,2,d);break;case "actor":d=wZc(e);_.R(c,3,d);break;case "target":d=zZc(e);_.R(c,4,d);break;case "timestamp":d=uR(e);_.Sj(c,5,WVc[0],d);break;case "timeRange":d=oZc(e),_.Sj(c,6,WVc[0],d)}}return c})},NZc=function(a){return a.map(function(b){var c=new _.UQ;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=LZc(e);_.R(c,2,d);break;case "actors":d=xZc(e);_.Tj(c,3,d);break;case "actions":d=MZc(e);_.Tj(c,4,d);break;case "targets":d=AZc(e);_.Tj(c,5,d);break;case "timestamp":d=uR(e);_.Sj(c,6,ZVc[0],d);break;case "timeRange":d=oZc(e),_.Sj(c,7,ZVc[0],d)}}return c})},OZc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},PZc={application:1,document:2,documentShared:3},QZc=function(a){var b=new _.jUc;b=_.x(b,3,a.iconUrl).setSize(a.size);
a.category&&_.x(b,1,PZc[a.category]);return b},RZc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.kUc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},SZc=function(a){_.FP(["drive#app"],a);var b=(new _.BQ).kc(a.id);b=_.x(b,3,a.useByDefault).zd(a.name);b=_.x(b,7,a.openUrlTemplate);b=pUc(oUc(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,OZc[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(QZc(c[e]));_.Tj(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 _.mUc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=RZc(c.mimeTypeScores||[]);_.Tj(a,2,d);c=RZc(c.fileExtensionScores||[]);_.Tj(a,3,c);_.R(b,29,
a);return b},TZc=function(a,b){var c=new mR;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=SZc(a),_.R(b,2,a));return b},UZc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},VZc=function(a){var b=new sR;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.iR).kc(c.id).setTitle(c.title);d=_.x(d,3,_.HP(c.updateTime));d=_.x(d,4,UZc[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.HP(c.expiryTime));d=_.x(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:
!1);if(1==d.Xs()){var e=new QXc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.R(d,6,c)}else 2==d.Xs()&&(e=new _.PXc,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});_.Tj(b,2,a);return b},WZc=function(a){var b=new xYc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.hR).kc(c.id);d=_.x(d,1,hSc[c.type]).setTitle(c.title);d=_.x(d,4,c.iconUri);d=_.OXc(d.setSize(c.size),
_.HP(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).zl(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.Tj(b,1,a);return b},XZc=function(a,b){this.H=a;this.V=b},YZc={read:2,write:3,comment:4},ZZc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.PM((new _.Hk).kc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.xn(_.SMc(c.userCapabilities));_.DP(b).includes(19)&&_.SJc(d,!0);_.vNc(a,d,_.DP(b));_.TJc(d,4);return d},$Zc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;
a=_.nIc(_.mIc(_.lIc(new _.ppa,a.timeUsec),a.serverIp),a.processId);return _.gmb(a)},a_c=function(a){return _.jJc((new _.wk).kc(a.id).zd(a.displayName),a.emailAddress).Fs(a.photoUrl)},b_c=function(a){if(!a)return null;a=a.textSegment||[];return lQc(new _.vk,a.map(function(b){var c=(new _.pma).th(b.text),d=b.link;if(d){var e=new _.qma;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)}))},c_c=function(a){var b=pQc(new _.xk,b_c(a.displayText)),c=a.primaryPerson,d=a.allPeople;
c?(c=a_c(c),_.Sj(b,3,_.sma[0],c),qQc(b,[c])):d?(c=(d.person||[]).map(function(e){return a_c(e)}),d=oQc(c),_.Sj(b,4,_.sma[0],d),qQc(b,c)):(c=(a.person||[]).map(function(e){return a_c(e)}),c.length&&(d=oQc(c),_.Sj(b,4,_.sma[0],d),qQc(b,c)));_.x(b,5,_.HP(a.eventTime));rQc(b,b_c(a.justificationDescription));return b},wR=function(a){return(a=a.justification)?c_c(a):null},d_c=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=gRc(new _.zma,wR(a));fRc(b,(a.subAction||[]).map(function(c){var d=
new IQc;c.openDocument&&(c=new kQ,_.Sj(d,1,HQc[0],c));return d}));return b},e_c=function(a){a=a.popularDocumentAction;if(!a)return null;var b=zRc(new _.Mma,wR(a));yRc(b,(a.subAction||[]).map(function(c){var d=new $Qc;c.openDocument&&(c=new kQ,_.Sj(d,1,ZQc[0],c));return d}));return b},f_c=function(a){a=a.documentTopicAction;if(!a)return null;var b=oRc(new _.Gma,wR(a));nRc(b,(a.subAction||[]).map(function(c){var d=new MQc;c.openDocument&&(c=new kQ,_.Sj(d,1,LQc[0],c));return d}));return b},g_c=function(a){a=
a.documentWorkspaceAction;if(!a)return null;var b=tRc(sRc(new QQc,a.workspaceId),wR(a));rRc(b,(a.subAction||[]).map(function(c){var d=new SQc;c.addToWorkspace&&(c=new tQc,_.Sj(d,1,RQc[0],c));return d}));return b},h_c=function(a){a=a.calendarEventAction;if(!a)return null;var b=eRc(dRc(cRc(new _.xma,a.eventId),wR(a)),a.guestCount);bRc(b,(a.subAction||[]).map(function(c){var d=new GQc;if(c.viewCalendarEvent){var e=new DQc;_.Sj(d,1,FQc[0],e)}c.shareWithAttendees&&(e=new BQc,_.Sj(d,2,FQc[0],e));c.present&&
(e=new vQc,_.Sj(d,3,FQc[0],e));c.openDocument&&(c=new kQ,_.Sj(d,4,FQc[0],c));return d}));return b},i_c=function(a){return(a.justification||[]).map(function(b){return c_c(b)})},j_c=function(a){a=a.formResponseAction;if(!a)return null;var b=xRc(new _.Kma,i_c(a));wRc(b,(a.subAction||[]).map(function(c){var d=new YQc;c.openDocument?(c=new kQ,_.Sj(d,1,XQc[0],c)):c.viewResponses&&(c=new EQc,_.Sj(d,2,XQc[0],c));return d}));return b},k_c=function(a){a=a.documentDocosAction;if(!a)return null;var b=iRc(new _.Bma,
wR(a));hRc(b,(a.subAction||[]).map(function(c){var d=new _.Cma;c.reply?(c=new _.vma,_.Sj(d,1,_.zk[0],c)):c.resolve?(c=new yQc,_.Sj(d,2,_.zk[0],c)):c.reassign?(c=new wQc,_.Sj(d,3,_.zk[0],c)):c.acceptSuggestion?(c=new sQc,_.Sj(d,4,_.zk[0],c)):c.rejectSuggestion?(c=new xQc,_.Sj(d,5,_.zk[0],c)):c.openThread&&(c=new _.uma,_.Sj(d,6,_.zk[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);jRc(b,b_c(a.anchorText));return b},l_c=function(a){a=a.documentShareAction;if(!a)return null;var b=mRc(new _.Ema,
wR(a));lRc(b,(a.subAction||[]).map(function(c){var d=new KQc;c.suggestedShare?(c=new CQc,_.Sj(d,1,JQc[0],c)):c.responseToRequest&&(c=new zQc,_.Sj(d,2,JQc[0],c));return d}));kRc(b,(a.sharee||[]).map(function(c){return a_c(c)}));_.x(b,3,YZc[a.shareeRole]);return b},m_c=function(a){a=a.documentViewAction;if(!a)return null;var b=qRc(new _.Ima,i_c(a));pRc(b,(a.subAction||[]).map(function(c){var d=new OQc;c.open?d.lg(new kQ):c.reviewEdits&&(c=new AQc,_.Sj(d,2,NQc[0],c));return d}));return b},n_c=function(a){a=
a.emailViewAction;if(!a)return null;var b=vRc(new UQc,wR(a));uRc(b,(a.subAction||[]).map(function(c){var d=new WQc;c.openEmail&&d.lg(new uQc);return d}));return b},o_c=function(a){var b=a.action;return b?b.map(function(c){var d=new _.tma,e=k_c(c);e&&_.Sj(d,2,_.yk[0],e);(e=m_c(c))&&aRc(d,e);(e=l_c(c))&&_.Sj(d,4,_.yk[0],e);(e=n_c(c))&&_.Sj(d,5,_.yk[0],e);(e=h_c(c))&&_.Sj(d,6,_.yk[0],e);(e=g_c(c))&&_.Sj(d,7,_.yk[0],e);(e=f_c(c))&&_.Sj(d,8,_.yk[0],e);(e=e_c(c))&&_.Sj(d,9,_.yk[0],e);(e=d_c(c))&&_.Sj(d,
10,_.yk[0],e);(c=j_c(c))&&_.Sj(d,11,_.yk[0],c);return d}):(a=wR(a),a=qRc(new _.Ima,[a]),[aRc(new _.tma,a)])},p_c={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},q_c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=HRc(new _.Hl,a.map(function(c){return p_c[c]||0}));
if(b=b.eventId)b=_.nIc(_.mIc(_.lIc(new _.ppa,b.timeUsec),b.serverIp),b.processId),_.R(a,2,b);return a},r_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=SOc(ZZc(a,b,e),o_c(e)),d.push(e))});c=(new _.qC).Ew(d).JI($Zc(c)).setSessionId(q_c(c));return _.OKc(new _.oP,c)},s_c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=a_c(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=ZZc(a,b,l),d.push(q));l=CRc(BRc(ARc(new _.Oma,k.clone()),l.predictionReason),l.url);_.Uj(q,107,l,_.Oma,void 0)})}});return YSc((new _.RP).Ew(d),e).JI($Zc(c)).setSessionId(q_c(c))},t_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Rma;f=_.x(f,2,e.predictionReason);e=ZZc(a,b,e);e=_.R(e,100,f);d.push(e)}});c=(new _.qC).Ew(d).JI($Zc(c)).setSessionId(q_c(c)).NX(c.suggestionSessionId);return _.OKc(new _.oP,
c)},u_c=function(a){return _.hJc(1).kc(a.personName.split("/")[1])},v_c=function(a){var b=(new hTc).Tk(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},w_c=function(a){var b=new MTc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},x_c=function(a){var b=new iTc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canWrite)},y_c=function(a){a=void 0===a?{}:a;var b=new qTc;b=_.x(b,1,a.minSize);return _.x(b,
2,a.maxSize)},z_c=function(a){var b=new jTc;b=_.x(b,1,a.trueLabel);return _.x(b,2,a.falseLabel)},A_c=function(a){var b=new rTc;b=_.x(b,1,a.maxEntries);a=y_c(a.options);return _.R(b,2,a)},B_c=function(a){var b=new lTc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canSelect)},C_c=function(a){var b=new nTc;oTc(b,(a.choices||[]).map(function(c){var d=(new mTc).Hd(c.label).jc(c.value);c.capabilities&&d.xn(B_c(c.capabilities));c.displayHints&&(c=v_c(c.displayHints),_.R(d,4,c));return d}));return b},D_c=function(a){var b=
new pTc;b=_.x(b,1,a.maxEntries);a=C_c(a.options);return _.R(b,2,a)},E_c=function(a){var b=new tTc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},F_c=function(a){var b=new uTc;b=_.x(b,1,a.maxEntries);a=E_c(a.options);return _.R(b,2,a)},G_c=function(a){var b=new xTc;a=_.x(b,1,a.maxEntries);b=new wTc;return _.R(a,2,b)},H_c=function(a){var b=(new _.Xma).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},I_c=function(a){var b=new yTc;b=_.x(b,4,a.dateFormat);
var c=H_c(a.minValue);b=_.R(b,2,c);a=H_c(a.maxValue);return _.R(b,3,a)},J_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},K_c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},L_c=function(a,b){this.H=a;this.V=b},N_c=function(a,b,c){_.FP(["drive#categoryMetadataList"],c);var d=new zQ,e=Object.values(c.categoryMetadata||{});dUc(d,e.map(function(f){return M_c(a,
f,b.Hc())}));d.Ec(1);return new _.UP(d,EXc(c))},P_c=function(a,b){var c=new pR;lYc(c,(b.categories||[]).map(function(d){return O_c(a,d)}));c.Ec(1);return new wWc(c,EXc(b))},M_c=function(a,b,c){_.FP(["drive#categoryMetadata"],b);c=KTc((new vQ).zd(b.categoryName),c);b=Object.values(b.attributeValues||[]);JTc(c,b.map(function(d){return Q_c(a,d)}).filter(function(d){return d}));return c},O_c=function(a,b){var c=OTc(NTc((new wQ).zd(b.name),b.categoryName),b.latestName).setTitle(b.title).zl(b.description);
PTc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new zTc).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=v_c(d.attributeDisplayHints);_.R(f,5,h)}d.capabilities&&f.xn(x_c(d.capabilities));_.x(f,7,J_c[e]);d=d[K_c(e)+"Options"];return R_c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&QTc(c,u_c(b.createdBy));b.updatedBy&&RTc(c,u_c(b.updatedBy));b.publishedBy&&STc(c,u_c(b.publishedBy));_.x(c,9,_.HP(b.createTime));
_.x(c,10,_.HP(b.updateTime));_.x(c,11,_.HP(b.publishTime));b.displayHints&&TTc(c,v_c(b.displayHints));b.capabilities&&c.xn(w_c(b.capabilities));return c},Q_c=function(a,b){_.FP(["drive#categoryAttributeValue"],b);var c=(new tQ).kc(b.id);if(b.userScoped)b=Object.values(b.userScoped),HTc(c,b.map(function(d){_.FP(["drive#userScopedAttributeValue"],d);var e=new BTc,f=_.GP(a.H,d.scopedUser);e=_.R(e,1,f);return S_c(a,e,d)?e:null}).filter(function(d){return d})),c.Dw(9);else if(!S_c(a,c,b))return null;return c},
R_c=function(a,b,c,d){return T_c(a,function(){U_c(a)[c](b,d)},c,b)},S_c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.Dw(J_c[d]);return T_c(a,function(){V_c(a)[d](b,c[c.valueType])},c.valueType)},T_c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof vTc))return ESc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},U_c=function(a){return{BOOLEAN:function(b,c){return b.SJa(z_c(c))},
TEXT:function(b,c){return b.n2(y_c(c))},TEXT_LIST:function(b,c){return b.HKa(A_c(c))},LONG_TEXT:function(b,c){var d=new sTc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.Sj(b,10,rQ[0],c)},SELECTION:function(b,c){return b.vKa(C_c(c))},SELECTION_LIST:function(b,c){return b.uKa(D_c(c))},INTEGER:function(b,c){return b.eKa(E_c(c))},INTEGER_LIST:function(b,c){return b.dKa(F_c(c))},USER:function(b){return b.LKa(new wTc)},USER_LIST:function(b,c){return b.Xba(G_c(c))},DATE:function(b,c){return b.Iba(I_c(c))},
USER_SCOPED:function(b,c){var d=new vTc;d=_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,J_c[e]);c=c[K_c(e)+"Options"];R_c(a,d,e,c);return _.Sj(b,16,rQ[0],d)}}},V_c=function(a){return{BOOLEAN:function(b,c){return b.ura(c)},TEXT:function(b,c){return b.Qra(c)},TEXT_LIST:function(b,c){return b.o2(c)},LONG_TEXT:function(b,c){return DTc(b,c)},SELECTION:function(b,c){return b.Kra(c)},SELECTION_LIST:function(b,c){return b.m2(c)},INTEGER:function(b,c){return b.Ara(parseInt(c,10))},INTEGER_LIST:function(b,
c){return b.Z1(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return ETc(b,_.GP(a.H,c))},USER_LIST:function(b,c){FTc(b,c.map(function(d){return _.GP(a.H,d)}))},DATE_STRING:function(b,c){return GTc(b,c)}}},W_c=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},X_c=function(a){a=a.personResponse;return dYc(new cYc,a.map(function(b){var c=b.person;b=QPc(new eQ,b.personId).zd(W_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 RPc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.R(b,4,c)}))},Y_c=function(a){this.H=a},$_c=function(a,b){_.FP(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return Z_c(a,c)})},Z_c=function(a,b){_.FP(["drive#teamDrive","drive#drive"],b);var c=new _.Uma,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)&&TOc(c,d.map(function(e){_.FP(["drive#driveCategoryReference"],e);var f=new _.Gk;return _.x(f,1,e.category)}));c=_.XJc(_.WJc(_.TJc(_.UJc(bPc(_.PM((new _.Hk).kc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.wJc(_.SMc(b.capabilities),!0),c.xn(d));b.permissionsSummary&&_.VJc(c,_.oNc(a.H,b.permissionsSummary));b.restrictions&&VOc(c,a0c(b.restrictions));return c},a0c=
function(a){var b=new _.Sma;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},b0c=function(a){_.FP(["drive#setting"],a);var b=new _.Ra;b=_.x(b,2,a.key);b=_.x(b,1,_.OHc[a.namespace]);return _.bwa(new _.so,b).jc(a.value)},c0c={active:1,archived:2},d0c=function(a){_.FP(["drive#workspace"],a);var b=(new _.mC).kc(a.id).setTitle(a.title);b=_.x(b,3,_.HP(a.createdDate));return _.x(b,4,_.HP(a.modifiedDate)).Sd(c0c[a.state])},
e0c=function(a){_.FP(["drive#workspaceList"],a);var b=a.items||[];b=fYc(new oR,b.map(function(c){return d0c(c)}));return new _.XP(b,EXc(a))},f0c=function(a,b,c){var d=c.item||[];return _.KHc(new _.zN,d.map(function(e){return ZZc(a,b,e)})).setSessionId(q_c(c))},g0c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return uUc(sUc(tUc(rUc(new CQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return ZZc(a,b,f)})),wR(c))},h0c=function(a,b,c){var d=c.item||[];return xUc(new DQ,
d.map(function(e){return g0c(a,b,e)})).setSessionId(q_c(c))},i0c=function(a){var b=new gTc;a.kind&&(a=d0c(a),_.R(b,2,a));b.Ec(1);return b},j0c=function(a,b,c,d,e,f){this.W=a;this.Ba=b;this.wa=c;this.ua=d;this.ma=e;this.ka=f;this.H=null;this.V=3;this.ha=0};j0c.prototype.zh=function(){var a=new _.rR;a.Ec(this.V);this.H&&_.qYc(a,this.H?_.Yj(this.H):null);return a};
var l0c=function(a,b,c,d){d=void 0===d?!1:d;var e=_.QHc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.pN(a.W)){var h=(h=b&&b.getUser())&&_.FG(h);h=!(!h||!k0c(a.Ba,h));a.V=h&&e||d?1:6}f=!_.Xj(a.H,b)||(_.pN(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.pN(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Yj(b);_.pN(a.W)||(a.V=e||d?1:6);c&&($Q(a.wa,"toquGd"),a.ua.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};
j0c.prototype.Re=function(){return this.ha};var m0c=function(){_.O.call(this);this.H=Date.now()};_.I(m0c,_.O);var n0c=function(a){a.H=Date.now();a.dispatchEvent("Jb")},o0c=function(a){_.O.call(this);this.wa=a;this.ha=0};_.I(o0c,_.O);var p0c=function(a){a=_.Yj(a);var b=function(c){return c.toLowerCase()};oUc(a,_.z(a,4).map(b));pUc(a,_.z(a,5).map(b));return a};_.g=o0c.prototype;_.g.Ena=function(){};_.g.hFa=function(){};_.g.remove=function(){};_.g.Dna=function(){};_.g.zy=function(){return 0!=this.ha};
_.g.Re=function(){return this.ha};var q0c=function(a,b,c){o0c.call(this,b);this.ua=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.I(q0c,o0c);q0c.prototype.Ena=function(){var a=new lR;if(!_.qf(this.H)){_.x(a,4,this.V||[]);var b=[];_.jf(this.H,function(c){b.push(_.Yj(c))});_.Tj(a,2,b)}a.Ec(this.W);return a};q0c.prototype.hFa=function(a){this.H[a.getId()]=p0c(a);this.ka.update(1);this.dispatchEvent(new _.gi("Kb",this))};q0c.prototype.remove=function(a){_.rf(this.H,a)&&this.ka.update(1)};
q0c.prototype.Dna=function(a,b,c){c=void 0===c?!1:c;var d=!_.RHc.has(b);1==this.W&&d||(this.ha=b,r0c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ua.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),$Q(this.wa,"nVUlO")))};
var r0c=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=_.tf(a.H);_.AN(a.H);b=_.Rj(b,_.BQ,2);d||(d=b.length!=_.nf(h));b.forEach(function(k){var l=p0c(k);a.H[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Xj(l,k))});a.ua.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.gi("Kb",a))},s0c=function(a,b,c){_.O.call(this);
this.ua=a;this.ma=b;this.ka=c;this.H=!0;this.V=this.lm=this.ha=null;this.W=!1};_.I(s0c,_.O);var u0c=function(a){if(a.ha)return a.ha;var b=_.Jh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);t0c(a,b);return b.promise};s0c.prototype.wa=function(){1==this.H&&(v0c(this,"Became unauthenticated."),this.H=!1,this.W=!0,w0c(this))};s0c.prototype.Ba=function(){0==this.H&&(v0c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.lm&&(_.m.clearTimeout(this.lm),this.lm=null),this.dispatchEvent(new fTc("ta")))};
var w0c=function(a){a.V||(a.V=new _.NNc(5E3),a.lm=_.m.setTimeout(function(){return x0c(a)},a.V.yb()))},x0c=function(a){t0c(a);a.V&&(_.VH(a.V),a.lm=_.m.setTimeout(function(){return x0c(a)},a.V.yb()))},t0c=function(a,b){_.Fh().then(function(){return y0c(a,b)})},y0c=function(a,b){v0c(a,"Checking authentication state.");var c=a.ua.then(function(d){return d.H(new _.TIc)});b?c.then(function(){b.resolve(sYc(new rYc,1))},function(d){var e=_.NN(d).dg;d=0;_.LGc(e)?(v0c(a,"Checked authentication state: unauthenticated."),
d=2):(v0c(a,"Checked authentication state: error occurred."),_.Hq(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new rYc;sYc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.NN(d);_.LGc(d.dg)&&a.W&&(a.dispatchEvent(new fTc("ua")),a.W=!1)})},v0c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},xR=function(a,b){this.ma=a;this.ua=b;this.V=!0;this.ha=!1;this.Ba=0},yR=function(a){a.V=!1;a.iFa()};_.g=xR.prototype;
_.g.fka=function(a,b){var c=this;if(5==this.RC(a))throw Error("pf");var d=[];_.Fa(this.Ly(),function(e){gR(c.ma,a,e.getItem())&&d.push(e)});this.ua.sort(a,d,b);return d};_.g.c0=function(){return this.Ly().length};_.g.eU=function(a){a=this.fka(a,void 0);a=dQ(a);var b=new _.qC;b.Ew(a);b.Ec(this.AT()?6:1);return b};_.g.update=function(a){var b=this.QD(a.V),c=this.QD(a.H);if(!b&&!c)return!1;b&&this.CX(a.V);c&&this.wla(a.H);return!0};_.g.RC=function(a){return this.V&&this.ha?oXc(a)?1:5:5};
_.g.WT=function(){this.ha=!0};_.g.QD=function(a){return!!a&&this.V};_.g.gx=function(a){this.Ba=a};_.g.Re=function(){return this.Ba};var zR=function(a,b,c,d,e,f){xR.call(this,a,b);this.Ja=c;this.hc=bR(c,d,!0);this.H=[];this.ka={};this.W=!e;z0c(this,e);this.wa=(0,_.K)(this.ua.compare,this.ua,this.hc);this.Ga=f||""};_.I(zR,xR);_.g=zR.prototype;_.g.kd=function(){return this.hc};
_.g.wla=function(a){var b=this.ka[a.getId()];b&&this.CX(b);NOc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.hc.oh()&&(this.CX(_.ba(this.H)),this.W=!1)};_.g.CX=function(a){var b=this.H,c=_.Ca(b,a,this.wa);0<=c&&_.na(b,c);_.rf(this.ka,a.getId());a.H--};_.g.iFa=function(){this.H.forEach(function(a){a.H--});this.H=[];this.ka={}};_.g.Ly=function(){return this.H};_.g.RC=function(a){var b;if(b=this.Ja.equals(this.hc,a,!0))a=a.Sh(),b=this.hc.Sh(),b=$Oc(b,a,!0);return b?this.W?1:6:5};
_.g.fka=function(a,b){if(5==this.RC(a))throw Error("pf");b=b?Math.min(b,this.H.length):this.H.length;return _.ua(this.H,0,b)};_.g.QD=function(a){if(!xR.prototype.QD.call(this,a)||!gR(this.ma,this.hc,a.getItem()))return!1;if(this.W||_.A(this.hc,48,!1))return!0;var b=_.ba(this.H);return!!b&&0>=this.wa(a,b)};_.g.AT=function(){return this.W?!1:!0};_.g.getType=function(){return"CacheHintCorpusCache"};
_.g.kA=function(a,b){var c=this,d=_.ba(this.H);!this.W&&d&&_.ha(a,function(e){return e.getId()==d.getId()})&&(b?(this.CX(d),z0c(this,_.ba(a))):this.W=!0);_.Fa(a,function(e){c.update(tR(e))})};var z0c=function(a,b){b&&gR(a.ma,a.hc,b.getItem())&&a.wla(b)};zR.prototype.dG=function(){return this.Ga};var AR=function(a){_.N.call(this);this.context=a;this.Xd=new _.ee(this);this.Pa(this.Xd);this.ma=new Set;this.H=6;this.Qa=0};_.I(AR,_.N);
var B0c=function(a,b){a.ma.add(b);a.resize(!0);A0c(a,b)},C0c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.tDa()?a.resize(!1):a.dispose()};AR.prototype.Re=function(){return this.Qa};AR.prototype.gx=function(a){this.Qa=a};AR.prototype.refresh=function(){};AR.prototype.eU=function(){};
var E0c=function(a,b,c){if(Array.isArray(c))c.forEach(function(f,h,k){return k[h]=_.Yj(f)});else{for(var d in c){var e=c[d];c[d]=e?_.Yj(e):null}c=Object.values(c).filter(function(f){return null!=f})}D0c(a.context.V,c,b);d=c.filter(function(f){return!fR(f)});XOc(b,d);c.forEach(function(f){_.vNc(a.context.jw,f,b);if(f.wc()){var h=f.getCapabilities();fR(f)?h&&(_.vJc(h,_.E(h,13)),_.sJc(h,!1),_.zJc(h,!1)):_.RN(f)?(h&&_.mJc(h,!1),_.x(f,30,!1)):h&&(_.DJc(h,!1),_.EJc(h,!1))}f.getCapabilities()||f.xn(new _.Bk)})};
AR.prototype.resize=function(){};AR.prototype.kd=function(){};AR.prototype.kA=function(a,b){var c=this,d=!1;a.forEach(function(e){e=tR(e);d=c.DO(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&F0c(this)};var G0c=function(a,b){var c=!1;b.forEach(function(d){c=a.DO(d)||c});c&&F0c(a);return c};AR.prototype.update=function(a){return G0c(this,[a])};AR.prototype.DO=function(){};var F0c=function(a){a.Ga();a.ma.forEach(function(b){A0c(a,b)})};AR.prototype.Ga=function(){};
var A0c=function(a,b){var c=BR(a.context);c=H0c(c,b).kd();a.Ja(c)||(c=a.eU(c),a=BR(a.context),a.Ba[b]=c,a.V||(a.V=_.si(a.ka,50,a)))},I0c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=BR(a.context);d.Ga[c]=b;d.V||(d.V=_.si(d.ka,50,d))})},J0c=function(a){a.ma.forEach(function(b){(b=BR(a.context).ha[b])&&b.OJ()});a.gx(0==a.Re()?1:6)};AR.prototype.tDa=function(){return!1};AR.prototype.Ja=function(){return!1};var K0c=function(a){_.gi.call(this,"Fb");this.id=a};_.I(K0c,_.gi);
var L0c=function(a,b,c,d){d=void 0===d?!1:d;_.O.call(this);this.hc=a;this.wa=c||a;this.H=b;this.ha=new Set;this.V=null;this.ka={};this.ua=[];this.ma=[];this.W=null;this.Ga=d};_.I(L0c,_.O);
var P0c=function(a){if(a.V)return a.V.promise;a.V=_.Jh();a.hc.Il().forEach(function(b){var c=_.qo(_.Yj(a.hc),[b]),d;a.Ga&&(d={Bob:!0});a.H.Dm().then(function(e){return e.H(c,d)}).then(function(e){return void M0c(a,e)},function(e){e=_.NN(e);if(5==e.dg.Zr()||4==e.dg.Qi())a.H.W.info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+b+" due to: "+e.message),a.ma.push(b),N0c(a);else{var f=new jR(e.dg,_.D(a.H.H.mf(),1,1));O0c(a.H.V,a.hc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
M0c=function(a,b){b.qr().Bd().forEach(function(c){_.x(c,82,1);a.ua.push(c)});N0c(a)},N0c=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};L0c.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;Q0c(this);R0c(this);this.ha.size==this.hc.Il().length?(fQ(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var Q0c=function(a){var b=a.ua;a.ua=[];b=a.H.Wf.iY(b);if(_.$M(a.H.H.Ne())){var c=a.H.V.V;_.Fa(b,function(d){var e=c.H(d.getId());e&&_.YO(d,e.li())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});fQ(a.H.V,b,1,a.wa,!0)},R0c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.BN(_.xN(new _.wN,c));a.H.V.ua([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new K0c(c))})},S0c=function(a,b,c,d){AR.call(this,a);this.ha=b;this.hc=c;this.V={};this.W=_.oN(a.H)||new _.MGc;d&&this.kA(d,!0)};
_.I(S0c,AR);
S0c.prototype.refresh=function(){var a=this;this.H=6;if(_.A(this.hc,5,!1))return this.H=1,_.Fh();var b=!$Oc(_.DP(this.ha),this.hc.Sh()),c=[],d=this.context.jn();this.hc.Il().forEach(function(k){if("root"!=k&&k!=d){var l=a.V[k],n=l&&l.getItem();if(l=!l||n&&1!=aQ(n)||b)n=n&&n.Cm(),l=!(n&&_.E(n,2));l&&c.push(k)}});if(0==c.length)return this.kA([],!1),_.Fh();var e=this.hc.clone();_.qo(e,c);var f=new L0c(e,this.context,this.hc),h=_.Jh();this.context.ka.Ff()?(this.Xd.listen(this.context.ka,"Cb",function(k){k.Ff()||
(a.Xd.Sc(a.context.ka,"Cb"),T0c(a,f,h))}),this.H=0<Object.values(this.V).length?1:2):(this.context.Tg.Ff()&&(this.H=0<Object.values(this.V).length?1:2),T0c(this,f,h));return h.promise};var T0c=function(a,b,c){a.Xd.listen(b,"Fb",function(d){a.V[d.id]=null});J0c(a);P0c(b).then(function(){c.resolve()},c.reject)};_.g=S0c.prototype;
_.g.t5=function(a){var b=this;return this.context.ma.equals(a,this.hc)?_.A(this.W,5,!1)&&_.A(this.W,3,!1)?a.Il().every(function(c){return(c=b.V[c])&&_.E(c.getItem(),31)}):$Oc(_.DP(this.ha),a.Sh()):!1};_.g.eU=function(a){var b=new _.QP;_.pN(this.context.H)?b.Ec(iPc(Object.values(this.V))?6:this.H):b.Ec(this.H);VTc(b,this.Re());WTc(b,_.lf(this.V,function(c){return c?c.getItem():null}));E0c(this,a.Sh(),b.$r());return b};_.g.resize=function(){};_.g.kd=function(){return this.hc};
_.g.DO=function(a){var b=U0c(this,a.V),c=U0c(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 U0c=function(a,b){return!!b&&_.ja(a.hc.Il(),b.getId())},V0c=function(a,b){_.gi.call(this,a);this.changes=b};_.I(V0c,_.gi);var W0c=function(){this.wa=this.ua=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};W0c.prototype.getSessionId=function(){return this.ua};W0c.prototype.setSessionId=function(a){this.H=!1;this.ua=a};
W0c.prototype.uc=function(){return this.H};
var X0c=function(a){var b=new W0c;if(a.KF()){var c=a.KF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.LX()&&(c=a.LX(),b.H=!1,b.wa=c);a instanceof _.RP&&_.Rj(a,_.wk,6).length?(a=_.Rj(a,_.wk,6),b.H=!1,b.ha=a):a instanceof _.qC&&(a.KX()||a.Uha()||a.R7().length)&&(c=a.KX(),b.H=!1,b.ma=c,c=a.Uha()||!1,b.H=!1,b.V=c,a=a.R7(),b.H=!1,b.W=a);return b},CR=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.Ba=
!1;this.V=[];this.ua=new Set;this.H=!1;this.ka=0;this.wa=c||!1;this.Xa=d||!1;this.Qa=this.ma(b);this.ha=new W0c};_.I(CR,_.O);var Y0c=function(a){return!a.Ba||""!=a.nextPageToken},$0c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&Y0c(a)?Z0c(a):_.Rh()};CR.prototype.Zb=function(){return this.V.length};
var Z0c=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 _.Mh;d.nb(function(f){return void a1c(a,c,f)});var e=_.jIc(_.kIc(new _.YM,a.Qa),c);b=_.hIc(new _.jFc,b);a.Xa&&_.x(b,10,!0);_.iIc(e,b);a.Ba=!0;a.H=!0;a.context.Dm().then(function(f){return f.H(e)}).then(a.Ka.bind(a,d),a.Ja.bind(a,d,b));return d};
CR.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.RP)var c=b;else c=b.qr(),this.nextPageToken=b.Tm()||"";this.ha=X0c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.Bd())};
CR.prototype.Ja=function(a,b,c){c=_.NN(c);this.H=!1;if(5==c.dg.Zr())a.callback([]);else{if(10==c.dg.Zr()&&(_.hIc(b,Math.ceil(_.D(b,1,1E3)/2-2E-15)),1<_.D(b,1,1E3))){var d=_.iIc(_.jIc(_.kIc(new _.YM,this.Qa),this.nextPageToken),b);this.H=!0;this.context.Dm().then(function(e){return e.H(d)}).then(this.Ka.bind(this,a),this.Ja.bind(this,a,b));return}b=new jR(c.dg,_.D(this.context.H.mf(),1,1));this.Ga(b);this.dispatchEvent(b);a.Dd(c)}};
var a1c=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: ")+(_.CLc(a.request)+" paginationToken: ")+b;b=_.Hq(_.Fq(_.kN(_.jN(new _.qb,2),9),f));a.context.dispatchEvent(new _.sb(new _.rb(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.ua.has(h.getId());a.ua.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=_.xN(new _.wN,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new V0c("Eb",c));if(a.V.length<a.W&&a.nextPageToken)return Z0c(a);a.dispatchEvent("Hb")};CR.prototype.Ma=function(a){return a};CR.prototype.Ga=function(){};CR.prototype.kd=function(){return this.request};CR.prototype.ma=function(a){a=_.Yj(a);this.wa&&_.x(a,46,!0);return a};var DR=function(a,b,c,d){CR.call(this,a,b,void 0,c,d)};
_.I(DR,CR);DR.prototype.Ma=function(a){a=this.context.Wf.iY(a);fQ(this.context.V,a,1,this.request,Y0c(this));return a};DR.prototype.Ga=function(a){O0c(this.context.V,this.request,a)};DR.prototype.ma=function(a){var b=a=CR.prototype.ma.call(this,a),c=_.fP(b);0==_.z(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].yb()))&&(c=c.wc())&&(_.IN(b,[c]),_.JN(b,2));b1c(this,a);return a};
var b1c=function(a,b){if(_.fP(b).some(function(d){return(d=a.context.V.V.H(d.yb()))&&_.E(d,108)})){var c=b.oe();c||(c=new _.Ae,_.Zk(b,c));_.Be(c,937)}},c1c=function(a,b,c,d){this.V=a;this.ma=b;this.ua=c;this.wa=d;this.W=0},e1c=function(a){var b=_.qc(a.ua);b=b.filter(function(d){return d instanceof S0c});var c=new Set;b.forEach(function(d){d.kd().Il().forEach(function(e){a.wa.get(e)||c.add(e)})});b=_.Be(new _.Ae,310);d1c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.oc(c)),b)},g1c=
function(a,b){var c=[];(a.V.V.Qa.H[b||"subscribed"]||[]).forEach(function(d){_.jf(a.ua,function(e){_.Xj(e.kd(),d)&&c.push(e)})});_.ya(c);0<c.length&&(f1c(a),c.forEach(function(d){d=cR(a.V.ma,d.kd(),3);d1c(a,"Refreshing "+b+" cache: "+d)}),_.Kh(_.Hh(c.map(function(d){return d.refresh().ag(_.Se)})),a.ha.bind(a)))};
c1c.prototype.H=function(a,b,c,d){c=void 0===c?!1:c;a=a.filter(function(e){return!_.Ec(e)});if(0==a.length)return _.Fh({});a=_.x(_.po(_.qo(new _.oo,a),d||_.DP(this.ma)),7,!0);_.ro(a,b);f1c(this);b=new L0c(a,this.V,void 0,c);return _.Kh(P0c(b),this.ka.bind(this,b))};c1c.prototype.ka=function(a){a.dispose();this.ha()};var f1c=function(a){a.W++;a.V.wa.setActive(!1)};c1c.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var d1c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},h1c=function(a,b,c){_.N.call(this);this.ma=a;this.H=b;this.hc=c;a=new _.Ae;_.Ce(a,!1);_.Be(a,305);_.Zk(this.hc,a);this.ha=new _.ee(this);this.Pa(this.ha);this.W=this.V=null};_.I(h1c,_.N);
var i1c=function(a){if(!a.V){a.V=_.Jh();if(_.A(a.hc,48,!1))return a.H.gx(9),a.V.resolve(a.H),a.V.promise;a.W=new CR(a.ma,a.hc,!0);a.ha.listen(a.W,"Eb",a.ka);a.ha.listen(a.W,"Hb",a.ua.bind(a));a.ha.listen(a.W,"Ib",a.V.reject.bind(a.V));$0c(a.W,a.hc.oh())}return a.V.promise};h1c.prototype.ka=function(a){var b=this;_.Fa(a.changes,function(c){c=c.getItem();b.H.update(tR(new YQ(c)))})};h1c.prototype.ua=function(){this.H instanceof zR?this.H.W=!Y0c(this.W):Y0c(this.W)&&yR(this.H);this.H.gx(5);this.V.resolve(this.H)};
var ER=function(a,b){xR.call(this,a,b);this.H={}};_.I(ER,xR);ER.prototype.wla=function(a){this.H[a.getId()]=a;a.H++};ER.prototype.CX=function(a){_.rf(this.H,a.getId());a.H--};ER.prototype.iFa=function(){_.jf(this.H,function(a){a.H--});this.H={}};ER.prototype.Ly=function(){return Object.values(this.H)};var FR=function(a,b,c,d,e){ER.call(this,a,b);var f=this;this.W=e;ZQ(c,["aU7Ts","BNEDtc"],function(){return f.WT()})};_.I(FR,ER);
FR.prototype.RC=function(a){var b=this,c=ER.prototype.RC.call(this,a);if(5==c)return c;if(0<_.z(a,33).length)return 5;a=_.fP(a);return 0<a.length&&!a.every(function(d){d=b.H[d.yb()];return null!=d&&!d.getItem().wc()&&ePc(d.getItem())&&!_.E(d.getItem(),108)})?5:1};FR.prototype.QD=function(a){return ER.prototype.QD.call(this,a)&&j1c(this,a.getItem())};var j1c=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&&ePc(e.getItem())})};
FR.prototype.WT=function(){var a=this;ER.prototype.WT.call(this);_.jf(this.H,function(b){j1c(a,b.getItem())||(b.H--,_.rf(a.H,b.getId()))})};FR.prototype.kd=function(){return new _.se};FR.prototype.getType=function(){return"SubscribedCorpusCache"};FR.prototype.AT=function(){return!1};var GR=function(a,b,c){ER.call(this,a,b);this.W=c};_.I(GR,ER);_.g=GR.prototype;
_.g.RC=function(a){var b=this,c=ER.prototype.RC.call(this,a);if(5==c)return c;c=_.fP(a);var d=c.every(function(e){var f=e.yb();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.QD=function(a){return ER.prototype.QD.call(this,a)&&!!a&&a.getItem().wc()==this.W&&!fR(a.getItem())};_.g.AT=function(){return!1};_.g.kd=function(){var a=new _.se;_.IN(a,[this.W]);_.JN(a,2);return a};_.g.wc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var k1c=function(a){this.ha=a;this.W=[];this.H=null;this.V=[];a=new _.se;_.x(a,48,!0);var b=new _.Zb;_.$b(b,11);_.bc(b,2);_.te(a,b);this.ka=bR(this.ha,a,!0)};k1c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof FR?b.H=c:c instanceof zR?b.W.push(c):c instanceof GR&&b.V.push(c)})};
k1c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof FR)b.H&&(yR(b.H),b.H=null);else if(c instanceof zR){var d=_.da(b.W,function(e){return b.ha.equals(e.kd(),c.kd())});0<=d&&(yR(b.W[d]),_.na(b.W,d))}else c instanceof GR&&(d=_.da(b.V,function(e){return b.ha.equals(e.kd(),c.kd())}),0<=d&&(yR(b.V[d]),_.na(b.V,d)))})};
var l1c=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},m1c=function(a,b){b=void 0===b?!1:b;return a.W.filter(function(c){return a.H&&b?(c=_.Yj(c.kd()),_.x(c,32,void 0),c.jC([]),!_.Xj(a.ka,c)):!0})},n1c=function(a,b){return _.bf(a.V,function(c){return c.wc()==b})},o1c=function(a,b){return m1c(a).find(function(c){return a.ha.equals(c.kd(),bR(a.ha,b,!0))})},p1c=function(){this.H={}},HR=function(a,b){q1c(a,"subscribed");b&&q1c(a,b);return a.H[b||"subscribed"].hk.promise},
q1c=function(a,b){a.H[b]||(a.H[b]={count:0,KDa:[],sIa:[],hk:_.Jh()});a.H[b].count++},s1c=function(a,b){b&&!r1c(a,b)||r1c(a,"subscribed")},r1c=function(a,b){if(!a.H[b])return!1;a.H[b].count--;0==a.H[b].count&&(a.H[b].hk.resolve({items:a.H[b].KDa,ihb:a.H[b].sIa}),_.rf(a.H,b));return!0};p1c.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].sIa.push(e);c.H[d]&&c.H[d].KDa.push(e)})};
var t1c=function(a,b){_.gi.call(this,"Lb");this.Je=a;this.H=b};_.I(t1c,_.gi);var u1c=function(a,b){return new _.Eh(function(c,d){b.then(function(e){var f={};a.Ly().forEach(function(h){var k=h.getId();DPc(h.getItem());f[k]=new YQ(h.getItem())});e.items.forEach(function(h){var k=h.Hc();k=f[k];h.Qz()?k&&a.update(new JYc(k.getId(),k,null)):(h=h.getItem(),DPc(h),a.update(KYc(k,new YQ(h))))});a.WT();c(e.ihb)},d)})},v1c=function(a,b){_.N.call(this);this.H=a;this.V=b};_.I(v1c,_.N);
var C1c=function(a){var b=_.m._DRIVE_ivd;w1c(a,"Running initial view populator (IVDP).");try{var c=new WQ(JSON.parse(b))}catch(t){x1c(a,"Error parsing initial view dump.",t);return}b=a.H.H.Ne();if(!_.$M(b)){var d=c.zh();if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&l0c(a.H.tc,d,4)}(b=c.jn())&&y1c(a.H,b,6)}var f=c.gy()||void 0;f&&z1c(a.H,f,!0);if((b=c.Ow())&&b.length){d=(d=a.H.H.mf())&&_.z(d,30)||[];var h=new Set(d);b.forEach(function(t){(t=(t=t.getKey())&&_.to(t))&&h.add(t)});A1c(a.H.Ma,b,4,
[].concat(_.oc(h.values())))}b=c.Bd();b.forEach(function(t){_.DIc(t);_.x(t,82,6)});if(d=_.Rj(c,VQ,5)[0])if(c=a.H.ma,dPc(_.DP(a.V),d.getQuery().Sh(),_.iP(a.H.H)))if((e=d.getQuery().Td())&&4==e.getType()&&!lPc())x1c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=bR(c,d.getQuery());var k=_.z(d,2)||void 0;e.Gi(k);k=b.map(function(t){return new YQ(t,void 0,1,f)});var l=_.C(d,_.Hk,3);if(l&&_.z(d,2)){var n=k[k.length-1];_.x(l,82,6);if(!_.Xj(l,n.getItem())){x1c(a,"Invalid last item in initial view data.");
return}}d=(l=_.oN(a.H.H))&&_.A(l,2,!1)&&d.Tm()||"";var q=new zR(a.H.Ka,a.H.Xa,a.H.ma,e,n,d);q.gx(4);k.forEach(function(t){q.update(tR(t))});B1c(a.H.V,q);n=q.kd();w1c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+cR(c,n));c=new _.YM;_.kIc(c,n);n=_.KMc(a.H.Qa,c,"IVDP");_.LMc(n,b);$Q(a.H.ha,"W6J7De")}}else x1c(a,"Invalid initial view data, fields: "+KWc(c,d.getQuery().Sh()));else x1c(a,"No initial query found")},x1c=function(a,b,c){var d=
c?void 0:_.Hq(_.kN(_.jN(new _.qb,2),6));c=new _.rb(b,d,c);a.H.rb(c.dg);w1c(a,"Initial view dump population failed. Message: "+b);$Q(a.H.ha,"DEJoH")},w1c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},D1c=function(a){_.O.call(this);this.context=a;this.V=new FR(a.Ka,a.Xa,a.ha,a.H,function(){return a.jn()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.I(D1c,_.O);
var E1c=function(a,b){var c=_.D(a.context.H,31,2E4);("number"===typeof _.z(b,3)?_.z(b,3):c+1)>c?(yR(a.V),b="partialCorpus",a.log("Too many subscribed items; skipping cache.")):(b="fullCorpus",a.log("Caching all subscribed items."));a.context.Qa.jc("CachedCorpusType",b)};D1c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var F1c=function(a,b){0==a.W&&(a.W=b)},G1c=function(a,b){_.O.call(this);this.V=a;this.hc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.I(G1c,_.O);
var I1c=function(a){return a.W||a.ha&&""==a.H?_.Rh():H1c(a)};G1c.prototype.Zb=function(){return this.ka.length};
var H1c=function(a){a.ha=!0;a.W=!0;var b=eSc(fSc(new _.JO,a.hc),a.H),c=_.KMc(a.V.Qa,b);return _.Sh(a.V.Dm().then(function(d){return d.H(b)}).then(function(d){var e=d.qr().Bd();a.H=d.Tm()||"";J1c(a,c,e)},function(d){a.W=!1;d=new jR(_.lN(d),_.D(a.V.H.mf(),1,1));a.dispatchEvent(d)}))},J1c=function(a,b,c){_.LMc(b,c);for(b=0;b<c.length;b++)_.x(c[b],82,1);fQ(a.V.V,c,1,a.hc,!a.ha||""!=a.H);var d=[];_.Fa(c,function(e){this.ka.push(e.getId());e=_.xN(new _.wN,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new V0c("Eb",
d));a.H?H1c(a):(a.W=!1,a.dispatchEvent("Hb"))};G1c.prototype.kd=function(){return this.hc};var K1c=function(a){this.H=xWc(a,{numeric:!0})};K1c.prototype.sort=function(a){_.Da(a,this.V.bind(this))};K1c.prototype.V=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0==c?_.Aa(a.getId(),b.getId()):c};
var IR=function(a,b,c,d){d=void 0===d?!1:d;AR.call(this,a);this.ka=b;this.hc=_.Yj(c);this.ha=new G1c(a,this.hc);this.ua=new K1c(mQ(a.H.Ne()));this.W=[];_.ud(this,this.oSa,this);this.V=null;d&&(this.V=_.Jh(),this.V.resolve())};_.I(IR,AR);IR.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return L1c(this)};
var L1c=function(a){if(a.V)return a.V.promise;a.V=_.Jh();a.context.ka.Ff()?a.Xd.listen(a.context.ka,"Cb",function(b){b.Ff()||(a.Xd.Sc(a.context.ka,"Cb"),J0c(a),I1c(a.ha).Cf(a.V.resolve,a.V.reject,a.V))}):(J0c(a),I1c(a.ha).Cf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=IR.prototype;_.g.resize=function(){};_.g.kd=function(){return this.hc};_.g.Ly=function(){return this.W};_.g.t5=function(a){return this.context.ma.equals(a,this.hc)};
_.g.eU=function(a){a=a.oh();this.ua.sort(this.W);var b=dQ(_.ua(this.W,0,Math.min(a,this.W.length)));E0c(this,KSc(this.ka),b);var c=new _.qC;c.Ew(b);c.Ec(1==this.H||a<=this.W.length?1:this.context.ka.Ff()||this.context.Tg.Ff()?0<this.W.length?1:2:6);c.MX(this.Re());NRc(c,a<this.W.length||!(this.context.ka.Ff()||this.context.Tg.Ff())&&1!=this.H);return c};_.g.kA=function(a,b){this.V&&AR.prototype.kA.call(this,a,b)};
_.g.DO=function(a){if(!this.V)return!1;var b=a.id,c=_.ha(this.W,function(h){return h.getId()==b}),d=!!c,e=M1c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?N1c(this,f,a.H):O1c(this,f):P1c(this,a.H);else return!1;return!0};
var P1c=function(a,b){a.W.push(b);b.H++},O1c=function(a,b){_.oa(a.W,b);b.H--},N1c=function(a,b,c){a.W[_.ia(a.W,b)]=c;c.H++;b.H--},M1c=function(a,b){if(b){var c;if(c=fR(b.getItem())){a=a.hc;b=b.getItem();if(c=!!b&&!!b.$j())c=a.Hl(),c=null==c||!!b.$j().Hl()==c;c&&(a=_.E(a,6),c=null==a||_.E(b.getCapabilities()||new _.Bk,51)==a)}a=c}else a=!1;return a};_.g=IR.prototype;_.g.oSa=function(){this.W.forEach(function(a){a.H--})};_.g.tDa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};
_.g.c0=function(){return this.W.length};_.g.WT=function(){this.H=1};var Q1c=function(a){this.H=a},S1c=function(a,b){return R1c(a,b,null,0,5)},R1c=function(a,b,c,d,e){if(0==e||null==b){var f=new mYc;_.x(f,2,b);_.x(f,1,d);return _.Fh(f)}var h=vUc();_.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.dG();k=d+_.z(k,1);return R1c(a,l,c,k,e-1)})},T1c=function(){this.qc=[];this.V=this.H=0};
T1c.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 U1c=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},V1c=function(a){this.W=a;this.V=new RXc(new SXc,_.Lka(a));this.H=new SXc};
V1c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.Mka(b);c=W1c(this,a);return b.concat(c,X1c(this,b,a,!0))};
var Y1c=function(a,b){var c=X1c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=W1c(a,c);if(b!=a)throw Error("qf");return c},W1c=function(a,b){a=a.V;b=USc(b);a.reset();a.update(b);b=a.digest();return _.Mka(b)},X1c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new T1c;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=USc(c.substring(8192*e,8192*(e+1))),U1c(b,a),d+=_.Mka(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;U1c(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=JR(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=JR(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=JR(d,e++),k=JR(d,e++),l=JR(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=JR(d,e++),k=JR(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},JR=function(a,b){return a[Math.floor(b/8192)][b%8192]},Z1c=function(a,b,c){this.H=a;this.W=b;this.V=c};Z1c.prototype.getData=function(){return this.H};Z1c.prototype.Cq=function(){return this.W};
var $1c=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.E_=f;this.ha=null;this.ua=this.wa=!1;this.Ba=void 0};$1c.prototype.vy=function(){return this.ma};$1c.prototype.vj=function(){return this.ka};$1c.prototype.Fg=function(){return _.ra(this.H)};
var KR=function(a){if(!a.ha){var b=new _.SM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.bFc(b.digest())}return a.ha},a2c=function(a){return{versionKey:KR(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.E_}},b2c=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 $1c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:KR(a)!=d&&(a=null);return a},c2c=function(a,b,c){return[a.vy(),a.vj(),
b?"#":KR(a)].join(":")+":"+(c||"")},d2c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};d2c.prototype.getKey=function(){return this.H};d2c.prototype.yb=function(){return this.V};
var e2c=function(a,b){return{k:c2c(b,a.global,a.H),v:a.V}},f2c=function(a,b){a=c2c(a,b);return hUc(a+"A",a+"z")},g2c=function(a,b){this.y3=a;this.x3=b},h2c=function(a){return a?new g2c(a.versionKey,a.versionChangeTimestamp):null},i2c=function(a,b){return a+":"+b},j2c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.PR=void 0===e?null:e},k2c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.PR}},l2c=function(a,b,c,d){a=KR(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Qx(":%02d",c)},m2c=function(a,b,c,d){c=l2c(a,b,void 0===c?0:c,d);a=KR(a)+"_"+b;3==b&&(a+="_"+d);return hUc(c,a+":a")},n2c=function(a){var b=KR(a)+"_";a=KR(a)+"_A";return hUc(b,a)},o2c=function(a){return a?new j2c(a.data,a.index,a.size,a.timestamp,a.e):null},p2c={lBb:"Versions",dOa:"Metadata",Rqb:"Data",sOa:"Offline"},LR=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.ua=!1;this.W="";this.Mb=new _.ee(this);this.Pa(this.Mb);this.wa=null};_.I(LR,_.N);LR.prototype.initialize=function(){return q2c(this)};
var q2c=function(a,b){a.ha||(a.ha=_.Jh(),a.rb.then(function(){b?(a.Ja=!1,r2c(a,b),s2c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),s2c(a,"Opening database GoogleDriveDs (version 2)"),_.SFc("GoogleDriveDs",2,a.Ma.bind(a),a.Ba.bind(a)).Cf(a.Xa.bind(a),a.Ba.bind(a)),_.ui(2E4).then(a.Qa.bind(a)))},function(c){a.ha.reject(new _.rb("Database version error",void 0,_.UM(c)?c:void 0))}));return a.ha.promise},r2c=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"))};LR.prototype.Ma=function(a,b){s2c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Fa(b.H.objectStoreNames,function(c){return _.nKc(b,c)});_.jf(p2c,function(c){var d=_.SHc.get(c);_.QFc(b,c,d?{keyPath:d}:void 0)})};
LR.prototype.Ba=function(a){var b;a&&a instanceof _.bN&&"InvalidStateError"==a.getName()&&_.ij.Uu?b=Error("sf"):_.UM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);t2c(this,!1)};LR.prototype.Xa=function(a){this.ua?a.dispose():(r2c(this,a),this.Pa(this.H),this.Ga||u2c(this).ag(function(){}),s2c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),t2c(this,!0))};
var t2c=function(a,b){if(a.wa){var c=a.wa,d=_.C(_.OP(c),pSc,5);d||(d=new pSc,c=_.OP(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.Ba);a.wa.V();a.wa=null}};LR.prototype.Qa=function(){this.H||this.lh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("tf")))};LR.prototype.ka=function(a){s2c(this,a);this.ua||(this.ua=!0,this.W="Database disabled: "+a,this.H&&this.Ja&&this.H.close())};LR.prototype.lh=function(){return this.ua};
var v2c=function(a){return a.ua?a.W:null},MR=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ga&&"readonly"!=c)return null;a=a.H;try{return _.hN(a,[b],c)}catch(d){return null}},u2c=function(a){var b=MR(a,"Versions","readwrite");if(!b)return _.Gh(Error("uf"));_.KFc(b.objectStore("Versions"),a2c(a.V));return b.wait().then(function(){})},w2c=function(a){if(!a.H)return _.Gh(Error("vf"));if(a.lh())return _.Gh(Error(a.W));var b=MR(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(KR(a.V)).then():
_.Gh(Error("wf"))},x2c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=o2c(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},z2c=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Gh(Error("Df"));if(a.lh())return _.Gh(Error(a.W));var e=m2c(a.V,b,0,c),f=MR(a,"Data");if(!f)return _.Gh(Error("Ef"));e=f.objectStore("Data").getAll(e);var h=_.Jh();e.Cf(function(k){k=x2c(k,h,d);a.Ga||null==k||y2c(a,b,c,k).ag(function(){})},h.reject);return h.promise},B2c=function(a,b,c,d,e){if(a.H){if(a.lh())return _.Gh(Error(a.W));if(100<b.length||3==c&&void 0==
d)return _.Gh(Error("Ff"))}else return _.Gh(Error("Gf"));var f=Date.now(),h=b.length;b=b.map(function(n,q){return{key:l2c(a.V,c,q,d),data:new j2c(n.getData(),q,h,f,e),metadata:n}});var k=MR(a,"Data","readwrite");if(!k)return _.Gh(Error("Hf"));var l=k.objectStore("Data");b.forEach(function(n){var q=A2c(a,c,d,n.metadata);_.KFc(l,k2c(n.data),n.key).then(function(){if(q){var t=MSc(q);_.x(t,1,!0);q.V()}},function(t){t=t instanceof _.bN?t.code:_.sFc;if(q&&a.ma){var v=MSc(q);v=_.x(v,1,!1);t=_.PP(_.EHc,t);
_.x(v,2,t);q.V()}})});return k.wait().then(function(){})},A2c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=MSc(a);b=_.PP(_.DHc,b);b=_.x(e,3,b);c=_.PP(_.AHc,c);c=_.x(b,4,c);b=d.V;_.x(c,5,null==b?0:b?2:1);void 0!=d.Cq()&&(c=MSc(a),d=d.Cq(),_.x(c,6,d))}return a}return null},y2c=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.lh())return _.Gh(Error(a.W));if(3==b&&void 0==c)return _.Gh(Error("If"))}else return _.Gh(Error("Jf"));b=m2c(a.V,b,d,c);a=MR(a,"Data","readwrite");if(!a)return _.Gh(Error("Kf"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},C2c=function(a){if(!a.H)return _.Gh(Error("Lf"));if(a.lh())return _.Gh(Error(a.W));var b=n2c(a.V);a=MR(a,"Data","readwrite");if(!a)return _.Gh(Error("Mf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
LR.prototype.getMetadata=function(a){if(this.H){if(this.lh())return _.Gh(Error(this.W));if(a&&0==a.length)return _.Gh(Error("Nf"))}else return _.Gh(Error("Of"));var b=this.V,c=MR(this,"Metadata");if(!c)return _.Gh(Error("Pf"));var d=c.objectStore("Metadata");if(a){var e=[];a.forEach(function(h){e.push(d.get(c2c(b,h.global,h.key)).then())});a=_.Hh(e)}else a=_.Hh([d.getAll(f2c(b,!1)).then(),d.getAll(f2c(b,!0)).then()]).then(function(h){return MOc(h[0],h[1])});var f=_.Jh();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]!=KR(b)||l[0]!=b.vy()||l[1]!=String(b.vj())?null:new d2c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var D2c=function(a,b){if(a.H){if(a.lh())return _.Gh(Error(a.W));if(0==b.length)return _.Gh(Error("Qf"))}else return _.Gh(Error("Rf"));var c=MR(a,"Metadata","readwrite");if(!c)return _.Gh(Error("Sf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.KFc(d,e2c(f,a.V)).then())});return _.Hh(e).then(function(){})},E2c=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.lh())return _.Gh(Error(a.W))}else return _.Gh(Error("Uf"));var c=a.V;a=MR(a,"Metadata","readwrite");if(!a)return _.Gh(Error("Vf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(f2c(c,!1)).then());b&&d.push(a.remove(f2c(c,!0)).then());return _.Hh(d).then(function(){})},F2c=function(a){if(!a.H)return _.Gh(Error("Wf"));if(a.lh())return _.Gh(Error(a.W));var b=i2c(a.V.vy(),a.V.vj());return(a=MR(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return h2c(c)}):_.Gh(Error("Xf"))},G2c=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Gh(Error("Yf"));if(a.lh())return _.Gh(Error(a.W));var c=a.V,d=i2c(c.vy(),c.vj());
b=new g2c(KR(c),b?Date.now():void 0);a=MR(a,"Offline","readwrite");if(!a)return _.Gh(Error("Zf"));_.KFc(a.objectStore("Offline"),{versionKey:b.y3,versionChangeTimestamp:b.x3},d);return a.wait().then(function(){})};LR.prototype.Uk=function(a){var b=this;return this.H?this.lh()?_.Gh(Error(this.W)):F2c(this).then(function(c){var d=KR(b.V);if(c)if(a){if(!c.x3&&d==c.y3&&d!=KR(a))return G2c(b,!0);if(c.x3&&d==KR(a))return G2c(b)}else{if(d!=c.y3)return G2c(b)}else if(!a)return G2c(b)}):_.Gh(Error("$f"))};
var H2c=function(a){if(!a.H)return _.Gh(Error("ag"));if(a.lh())return _.Gh(Error(a.W));var b=a.V,c=i2c(b.vy(),b.vj());return F2c(a).then(function(d){if(d&&(d=MR(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
LR.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.lh()?_.Gh(Error(this.W)):F2c(this).then(function(c){var d=c&&c.y3==KR(b.V);return d&&!a?!1:(c&&d?H2c(b):_.Fh()).then(function(){return _.Hh([E2c(b,a),C2c(b),w2c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Gh(Error("bg"))};LR.prototype.close=function(){this.ka("Closing database")};
var s2c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},I2c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.qc(p2c).every(function(c){return b&&b.contains(c)})},J2c=function(){var a=_.Jh();_.SFc("GoogleDriveDs").Cf(function(b){b?I2c(b)?a.resolve(b):(b.close(),_.Kh(iUc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},K2c=function(a,b,c){var d=_.Jh();a?_.hN(a,["Versions"],"readonly").objectStore("Versions").getAll().Cf(function(e){e=
_.qc(e).map(function(f){return b2c(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.vy()==b)&&(!c||f.vj()==c)}))},d.reject):d.resolve([]);return d.promise},L2c=function(a,b,c){var d=_.Jh();J2c().then(function(e){e?_.hN(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return h2c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.x3&&(h=c+f.x3-Date.now());var k=_.hN(e,["Versions"],"readonly");k.objectStore("Versions").get(f.y3).then(function(l){(l=
b2c(l))?(l.wa=!0,0>h?l.ua=!0:0<h&&(l.Ba=h),d.resolve(l)):d.resolve(null)});_.Oh(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},M2c=function(a,b,c){var d=_.Jh(),e=new LR(_.Fh(a),b);q2c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},N2c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=M2c(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Hh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+KR(l)))});d.resolve(k)})},O2c=function(a,b,c){var d=Date.now()-12096E5,e=_.Jh();J2c().then(function(f){f?(_.Kh(e.promise,function(){return f.close()}),K2c(f,a,b).then(function(h){return h.filter(function(k){return k.E_<d})},function(){return[]}).then(function(h){N2c(h,c,f,e)})):e.resolve([])});return e.promise},P2c=function(a,b,c){var d=_.Jh();J2c().then(function(e){e?
(_.Kh(d.promise,function(){return e.close()}),K2c(e,a,b).then(function(f){N2c(f,c,e,d,!0)})):d.resolve([])});return d.promise},Q2c=function(a,b,c,d){if(a.length){var e=a.shift(),f=l2c(e,3,0,1);try{_.hN(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=o2c(h))&&(!h.PR||h.PR&&d.has(e.V))?b.resolve(e):Q2c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},R2c=function(a,b,c,d,e,f,h){var k=_.Jh();J2c().then(function(l){l?(_.Kh(k.promise,function(){return l.close()}),
K2c(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=KR(q))&&q.W==c&&q.E_>=e&&dPc(d.filter(function(t){return!_.THc.has(t)}),q.Fg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.E_-q.E_}),Q2c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},S2c=function(a,b,c){this.V=a;this.H=_.Jh();this.ua=!1;this.W=_.D(b,7,"");this.ka=_.D(_.nQ(b),6,2E7);this.ha=_.pN(b);this.ma=_.D(_.nQ(b),12,0);this.wa=c};
S2c.prototype.initialize=function(){var a=this;this.ua||(this.ua=!0,this.V.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.Sh(this.H.promise)};
var T2c=function(a){if(a instanceof _.BC)return 0;if(a instanceof lR)return 1;if(a instanceof cTc)return 5;if(a instanceof WQ)return 3;if(a instanceof cYc)return 6;throw new _.rb("Unsupported dataShard in getDataType");},U2c=function(a){if(0==a)return _.BC;if(1==a)return lR;if(5==a)return cTc;if(3==a)return WQ;if(6==a)return cYc;throw new _.rb("Unsupported dataType:"+a+" in getDataTypeCtor");},V2c=function(a){if(a instanceof WQ)return _.D(a,13,0)},W2c=function(a){if(a instanceof WQ)return a.Bd().length},
X2c=function(a){if(a instanceof WQ)return a=_.E(a,6),null!=a?a:void 0},a3c=function(a,b,c){if(0==c.length)return _.Fh();var d=T2c(c[0]);c.forEach(function(){});var e=V2c(c[0]);3==d&&Y2c(a,c);var f=!!b;return Z2c(a,c).then(function(h){return f?$2c(a,b,h.map(function(k){return k.getData()})).then(function(k){if(k.length!=h.length)return _.Gh(Error("cg"));k.forEach(function(l,n){h[n].H=l});return h}):h}).then(function(h){return a.H.promise.then(function(){return B2c(a.V,h,d,e,f)})})},Z2c=function(a,
b){return new _.Eh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var n=l.Dc();n.length>a.ka?e=!0:f.push(new Z1c(n,W2c(l),X2c(l)))}});if(e){var h=Error("dg"),k=new _.qb;_.jN(k,2);_.XM(k,23);_.x(k,21,h.message);_.Hq(k);a.wa(k);d(h)}c(f)})},Y2c=function(a,b){V2c(b[0]);b.forEach(function(){});a.ha||b3c(b);c3c(a,b)},NR=function(a,b,c,d,e){var f=_.Jh();a.H.promise.then(function(){return z2c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Mh;h[0]&&h[0].PR?d3c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=U2c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||e3c(k),f3c(k));f.resolve(k)}).ag(f.reject,f);return f.promise},b3c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].xJ().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Bd()||[]).forEach(function(h){_.ZO(h,OR(_.Ik(h),c,d));_.$O(h,OR([h.Ro()],c,d)[0]);var k=OR([h.dB()],c,d)[0];_.R(h,47,k);k=OR([_.C(h,_.wk,91)],c,d)[0];_.R(h,91,k);k=
OR([h.rB()],c,d)[0];_.R(h,95,k);if(h=h.gv())_.KJc(h,OR(_.Rj(h,_.wk,2),c,d)),_.LJc(h,OR(_.Rj(h,_.wk,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});dWc(a[0],e)}},OR=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)?_.Xj(e,b.get(f))?d.push(c.get(f)):d.push(e):(b.set(f,e.clone()),e=new _.wk,e.kc(f),c.set(f,e),d.push(e))}else d.push(e)});return d},e3c=function(a){var b=new Map,c=new Map;a[0]&&a[0].xJ()&&a[0].xJ().forEach(function(d){b.set(d.getId(),
d);d=(new _.wk).kc(d.getId());c.set(d.getId(),d)});b.size&&a.forEach(function(d){(d.Bd()||[]).forEach(function(e){_.ZO(e,PR(_.Ik(e),b,c));_.$O(e,PR([e.Ro()],b,c)[0]);var f=PR([e.dB()],b,c)[0];_.R(e,47,f);f=PR([_.C(e,_.wk,91)],b,c)[0];_.R(e,91,f);f=PR([e.rB()],b,c)[0];_.R(e,95,f);if(e=e.gv())_.KJc(e,PR(_.Rj(e,_.wk,2),b,c)),_.LJc(e,PR(_.Rj(e,_.wk,3),b,c))});dWc(d,[])})},PR=function(a,b,c){if(!a)return a;var d=[];a.forEach(function(e){if(e&&e.getId()){var f=e.getId();_.Xj(c.get(f),e)?d.push(_.Yj(b.get(f))):
d.push(e)}else d.push(e)});return d},c3c=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=XQ(new WQ,f);d.push(f)}XQ(b[c],e);d.length&&_.Ue(_.va,b,c+1,0).apply(null,d)}}},f3c=function(a){for(var b={},c=1;c<a.length;b={R3:b.R3},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.R3=e.Bd();d.forEach(function(f){return function(h){_.ta(f.R3,h.Bd())}}(b));XQ(e,b.R3)}},
$2c=function(a,b,c){if(!_.mN()&&a.W){var d=new Worker(a.W),e=new _.Mh;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Dd(Error(k))},!1);c=vYc(new uYc,c);d.postMessage({command:"encrypt",data:{request:c.Dc(),key:b}});return e}try{a=[];var f=new V1c(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.Rh(a)}catch(k){h=_.Th(k)}return h},d3c=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(!_.mN()&&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 V1c(c);for(c=0;c<d.length;c++)a.push(Y1c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},g3c={key:"rid",global:!0},h3c={key:"ooi",global:!0},i3c={key:"rtds",global:!1},j3c={key:"dct",global:!1},k3c={key:"pc",global:!1},
l3c=function(a){this.H=new _.Eh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},m3c=function(a,b){return a.H.then(function(c){if(c&&!c.lh())return c.getMetadata([b]).then(function(d){return(d=d[0])?d.yb():void 0},function(){})})},QR=function(a,b,c){return a.H.then(function(d){return d&&!d.lh()?D2c(d,[new d2c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
l3c.prototype.jn=function(){return m3c(this,g3c).then(function(a){return a?a:null})};var n3c=function(a){return m3c(a,h3c).then(function(b){return"boolean"===typeof b?b:null})};l3c.prototype.CA=function(a){return QR(this,h3c,a)};
var o3c=function(a){return m3c(a,k3c).then(function(b){return"boolean"===typeof b?b:null})},p3c=function(a){return m3c(a,i3c).then(function(b){return Array.isArray(b)?b:null})},q3c=function(a){return m3c(a,j3c).then(function(b){return"number"===typeof b?b:null})},r3c=function(a,b){D1c.call(this,a);this.H=a.H;this.ka=b;this.ha=void 0;this.wa=null;this.Ba=!1;this.ma="drive.ds.sync.cache.LocalDumpPopulator"};_.I(r3c,D1c);
r3c.prototype.handleError=function(){this.log("Local dump population failed.");$Q(this.context.ha,"mrK8ic")};
r3c.prototype.ua=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Mh;this.wa=b;s3c(this).then(function(){var c=_.Rj(_.nQ(a.H),lQ,11);c=c[0]&&c[0].getKey()||"";return t3c(a,a.context.Db,c,4)}).ag(function(c){if(_.A(a.H,8,!0))return u3c(a);throw c;}).then(function(){_.pN(a.H)||a.context.V.ma.H.clear();$Q(a.context.ha,"zaOY7");b.callback()},function(c){F1c(a,8);a.handleError();b.Dd(c)});return b}this.handleError();return _.Th(Error("eg"))};
var s3c=function(a){return a.context.Db.initialize().then(function(){if(!_.jP(a.H)){var b=_.D(_.nQ(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Eh(function(c,d){o3c(a.context.Ga).then(function(e){e?c():d(Error("fg"))})})}})},t3c=function(a,b,c,d){var e=a.ha;v3c(a,b,c,e);w3c(a,b,c,e);x3c(a,b,c,e);return y3c(a,b,c,e).then(function(){return Promise.all([z3c(a,b,c,d,e),A3c(a,b,c,d,e),B3c(a,b,c,d,e),C3c(a,b,c,d,e)])})},v3c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
NR(b,c,0,void 0,d).then(function(f){f[0]?l0c(a.context.tc,f[0],a.Re(),_.jP(a.H)):e()},function(){return e()})},w3c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};NR(b,c,1,void 0,d).then(function(f){f[0]?a.context.ad.Dna(f[0],a.Re(),_.jP(a.H)):e()},function(){return e()})},x3c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};NR(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.Ow();h.length&&A1c(a.context.Ma,h,
a.Re(),_.z(f,2),_.jP(a.H))}else e()},function(){return e()})},z3c=function(a,b,c,d,e){var f=new _.fn;NR(b,c,3,1,e).then(function(h){return D3c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||dPc(h.Sh(),_.DP(a.ka),_.iP(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.eP());var k=h.gy();if(!k||0>k)throw Error("ig");y1c(a.context,h.jn(),d);k=h.gy();"number"===typeof k&&z1c(a.context,Number(k));_.jP(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Wma());E3c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},A3c=function(a,b,c,d,e){var f=new _.fn;NR(b,c,3,2,e).then(function(h){h[0]?(E3c(a,h[0],d),f.resolve()):f.reject(Error("gg"))},f.reject,f);return f.promise},B3c=function(a,b,c,d,e){var f=new _.fn;_.kP(a.H)?NR(b,c,3,4,e).then(function(h){h.forEach(function(k){E3c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),$Q(a.context.ha,"rVezo"));return f.promise},C3c=function(a,b,c,
d,e){var f=new _.fn;_.kP(a.H)?NR(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){E3c(a,k,d)}):$Q(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),$Q(a.context.ha,"rVezo"));return f.promise},y3c=function(a,b,c,d){var e=new _.fn;NR(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.Uo().length&&(a.log("Importing "+h.Uo().length+" people into the PeopleCache."),h=h.Uo(),F3c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
D3c=function(a,b){var c=b.gy();return c&&!_.jP(a.H)?S1c(new Q1c(a.context.Dm()),c).then(function(d){return null!=_.z(d,2)?(a.log("Encrypted dump too stale."),a.context.ua.H(106007),F1c(a,9),null):b},function(){return b}):_.Fh(b)},u3c=function(a){var b=KR(a.context.hb.V),c=_.Rj(_.nQ(a.H),lQ,11).filter(function(d){return null!=_.z(d,2)});return R2c(_.hP(a.H.Ne()),_.iP(a.H),_.D(_.nQ(a.H),10,0)||0,_.DP(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 LR(_.Fh(d),a.context.W,null,!0),h=new S2c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ba=!0;return t3c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([k3c])}).then(function(k){if(k[0])return k=k[0].yb(),QR(a.context.Ga,k3c,k)}).then(function(){f.close()})}return _.Gh(Error("hg"))})},J3c=function(a,b,c){switch(_.D(b,13,0)){case 1:return G3c(a,b,c);case 2:b=_.C(b,LPc,11);if(!b)throw Error("jg");E1c(a,b);a.V.V?(a.V.gx(a.Re()),a=[{cache:a.V,changes:HR(a.context.Ba,
null)}]):a=[];return a;case 3:return H3c(a,b);case 4:return I3c(a,b);default:return null}},G3c=function(a,b,c){var d=[];_.Rj(b,VQ,5).forEach(function(e){var f=void 0,h=_.C(e,_.Hk,3);h&&(_.DIc(h),_.E(a.H,67)&&ZP(h,fPc),_.x(h,82,c),f=new YQ(h));var k=e.getQuery();if(!_.A(k,48,!1)||_.Rj(a.H,_.se,44).some(function(l){if(!_.A(l,48,!1))return!1;l=bR(a.context.ma,l,!0);return _.Xj(l,k)}))e=new zR(a.context.Ka,a.context.Xa,a.context.ma,k,f),e.gx(a.Re()),d.push({cache:e,changes:HR(a.context.Ba,null)})});return d},
I3c=function(a,b){return _.Rj(b,VQ,5).map(function(c){c=new IR(a.context,a.ka,_.C(c,_.TM,5),!0);c.gx(a.Re());return{cache:c,changes:HR(a.context.Ba,null)}})},H3c=function(a,b){if(!_.kP(a.H))return[];var c=_.z(_.Rj(b,VQ,5)[0].getQuery(),33)[0],d=b.gy()||void 0;b=HR(a.context.Ba,c);RR(a.context).nb(function(f){f.tfa(c,d)});var e=new GR(a.context.Ka,a.context.Xa,c);e.gx(a.Re());return[{cache:e,changes:b}]},E3c=function(a,b,c){var d=J3c(a,b,c);d&&0!=d.length?(b.Bd().forEach(function(e){_.DIc(e);_.E(a.H,
67)&&ZP(e,fPc);_.x(e,82,c);if(!_.pN(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;K3c(f,SR(f,[e]))}e=new YQ(e);for(f=0;f<d.length;f++)d[f].cache.update(tR(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new t1c(f,e.changes));a.log("Imported "+f.c0()+" items into the "+f.getType());var h=null;f instanceof GR&&(h=f.wc());a.context.Ie.promise.then(function(){s1c(a.context.Ba,h)})}),1==_.D(b,13,0)&&$Q(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.D(b,13,0)+".")};
r3c.prototype.Re=function(){return this.Ba?7:3};var L3c=function(a){_.N.call(this);this.H=a};_.I(L3c,_.N);
var S3c=function(a,b){M3c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:N3c(a,b);break;case 4:O3c(a,b);break;case 6:P3c(a,b);break;case 2:Q3c(a,b);break;case 7:R3c(a,b);break;case 5:_.Rj(_.C(b,jYc,7),iYc,1).forEach(function(c){return S3c(a,c)});break;default:T3c(a,"Unsupported prefetched request.")}},N3c=function(a,b){var c=_.C(b,_.se,2);b=JSON.parse(_.z(b,3)||"{}");var d=new _.YM;_.kIc(d,c);b=_.PMc(a.H.lc.V,d,{headers:{},text:"",json:b}).qr();U3c(a,
c,b)},P3c=function(a,b){U3c(a,_.C(b,_.se,2),_.C(b,_.qC,9))},U3c=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=X0c(c);a=a.H.V;b=bR(a.H.ma,b);e=TR(a,b);UR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new VR(a.H,b),f.gx(2),a.W[e]=f);c.uc()||f.Pka(c);fQ(a,d,1,b)},Q3c=function(a,b){b=_.C(b,_.uo,5);var c=a.H.H.mf();c=c&&_.z(c,30)||[];var d=new Set(c);b.Ow().forEach(function(e){(e=(e=e.getKey())&&_.to(e))&&d.add(e)});A1c(a.H.Ma,
b.Ow(),2,[].concat(_.oc(d.values())))},O3c=function(a,b){a.H.Xm.V(_.C(b,oR,8).$i(),_.C(b,_.yo,6),2,!1)},R3c=function(a,b){var c=_.C(b,_.vo,10);b=JSON.parse(_.z(b,3)||"{}");b=_.PMc(a.H.lc.V,c,{headers:{},text:"",json:b});V3c(a.H).V([b],c,2,!1)},T3c=function(a,b,c){var d=c?void 0:_.Hq(_.kN(_.jN(new _.qb,2),6));a.H.dispatchEvent(new _.sb(new _.rb(b,d,c)));M3c(a,"Prefetched request population failed.")},M3c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},WR=function(a){D1c.call(this,
a);this.H=[];this.ka=[];this.Ba=Math.ceil(1.1*_.D(a.H,31,2E4));this.ma="drive.ds.sync.cache.SdkCachePopulator"};_.I(WR,D1c);WR.prototype.ua=function(){if(!_.A(this.context.H,45,!1))return F1c(this,5),this.ha(),_.Th(Error("kg"));this.log("Drive SDK cache population initiated.");return this.context.Ms().nb(this.Ja,this).nb(this.Ga,this).De(this.ha,this)};
WR.prototype.Ja=function(){var a=this;$Q(this.context.ha,"L6uQWd");RR(this.context).nb(function(b){b.g3()});if(_.A(this.context.H,46,!1))return NPc(this.context.Dm(),this.context.W).nb(function(b){if(!b)throw F1c(a,4),Error("lg");E1c(a,b)});this.log("Subscribed corpus cache population disabled.");yR(this.V);return _.Rh()};
WR.prototype.Ga=function(){var a=this;this.context.Wma();var b=new _.Mh;if(this.V.V){this.log("Starting subscribed corpus cache population.");var c=this.V.kd();c.Gi(this.Ba);this.V.gx(5);W3c(this,this.V,c)}c=_.Rj(this.context.H,_.se,44);_.Fa(c,function(d){d=new zR(a.context.Ka,a.context.Xa,a.context.ma,d);d.gx(5);W3c(a,d,d.kd());d=cR(a.context.ma,d.kd());a.log("Starting "+d+" cache hint corpus cache population.")});_.Hh(this.ka).then(b.callback,this.wa.bind(this,b),b);return b};
var W3c=function(a,b,c){var d=HR(a.context.Ba,null);b=new h1c(a.context,b,c);a.H.push(b);b=_.Kh(i1c(b).then(function(e){!e.V&&e instanceof FR&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Qa.jc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new t1c(e,d))}),function(){a.context.Ie.promise.then(function(){s1c(a.context.Ba,null)})});a.ka.push(b)};
WR.prototype.wa=function(a,b){_.Fa(this.H,function(d){d.dispose()});F1c(this,7);var c=b;b instanceof jR?c=_.MN(b.error):_.UM(b)||(c=Error("mg`"+b));a.Dd(c)};WR.prototype.ha=function(){this.log("Drive SDK cache population failed.");$Q(this.context.ha,"Gv4zef")};WR.prototype.Re=function(){return 5};
var X3c=function(a,b){_.N.call(this);this.H=a;this.ka=b;this.ma=new _.ee(this);this.Pa(this.ma);this.W=new r3c(this.H,this.H.Ja);this.Pa(this.W);this.ha=new WR(this.H);this.Pa(this.ha);this.V=null;this.ua=[]};_.I(X3c,_.N);
var d4c=function(a){Y3c(a,"Corpus cache population initiated.");a.V=a.H.ua.W(106002);_.m._DRIVE_dsp&&Z3c(a);_.m._DRIVE_dspc=function(c){return Z3c(a,c)};HR(a.H.Ba,null);_.A(a.H.H,24,!1)&&!_.jP(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?$3c(a):_.m._DRIVE_ivdc=function(){$3c(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(){Y3c(a,"Dump storage initialized.");
return a.W.ua().Cf(function(){return a4c(a,a.W.Re())},function(){b4c(a,a.W.Re(),a.W.W);if(_.jP(a.H.H))c4c(a,Error("ng"));else return a.ha.ua().then(function(){return a4c(a,a.ha.Re())},function(c){b4c(a,a.ha.Re(),a.ha.W);return c4c(a,c)})})},function(c){c4c(a,_.UM(c)?c:void 0,!0)})})):c4c(a,void 0,!0)},Z3c=function(a,b){var c=new L3c(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{S3c(c,new iYc(JSON.parse(d)))}catch(e){T3c(c,"Error parsing prefetched request.",
e)}});c.dispose()};X3c.prototype.wa=function(a){var b=a.Je;Y3c(this,"Cache populated: "+b.getType());this.ua.push(e4c(this,b,a.H))};
var a4c=function(a,b){s1c(a.H.Ba,null);$Q(a.H.ha,"L6uQWd");RR(a.H).nb(function(c){c.g3()});return Promise.all(a.ua).then(function(){return f4c(a,b)})},g4c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},f4c=function(a,b){if(!a.isDisposed()){_.jP(a.H.H)||h4c(a.ka,_.Rj(a.H.H,_.se,44));Y3c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.Xma():o3c(a.H.Ga).then(function(d){d&&a.H.wa.Xma()},function(){});$Q(c,"rVezo");$Q(c,"BNEDtc");a.V&&(b=_.PP(_.vN,b),lSc(qQ(a.V),b),
kSc(qQ(a.V),!0),mSc(qQ(a.V),CXc(a.ka.V)),nSc(qQ(a.V),g4c(a)),a.V.V());a.dispose()}},b4c=function(a,b,c){a.V&&(b=_.PP(_.vN,b),lSc(qQ(a.V),b),a=qQ(a.V),_.Pj(a,3,c,void 0))},c4c=function(a,b,c){c=void 0===c?!1:c;s1c(a.H.Ba,null);var d=a.H.ha;$Q(d,"L6uQWd");RR(a.H).nb(function(e){e.g3()});$Q(d,"mrK8ic");$Q(d,"Gv4zef");$Q(d,"rVezo");$Q(d,"BNEDtc");a.H.Qa.jc("CachedCorpusType","partialCorpus");d=!!a.W.context.Db||_.A(a.ha.context.H,45,!1);b&&!c&&d?(d=void 0,c="Corpus population failed: ",_.UM(b)?(d=b,c+=
d.message):c+=String(b),Y3c(a,c),b=new _.rb(c,void 0,d),d=b.dg,_.jN(d,_.jP(a.H.H)?3:1),_.kN(d,6),_.Fq(d,c),_.Hq(d),a.H.dispatchEvent(new _.sb(b))):Y3c(a,"Corpus population skipped");a.V&&(kSc(qQ(a.V),!1),a.V.V());a.dispose()},e4c=function(a,b,c){return u1c(b,c).then(function(d){d.some(function(e){return b instanceof GR&&e.Qz()&&e.Hc()==b.wc()})||B1c(a.ka,b,d)},function(){return c4c(a,Error("og"))})},$3c=function(a){if(_.m._DRIVE_ivd){var b=new v1c(a.H,a.H.Ja);a.Pa(b);C1c(b)}else $Q(a.H.ha,"DEJoH")},
Y3c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},i4c=function(a,b){_.gi.call(this,"Mb");this.ka=a;this.H=b};_.I(i4c,_.gi);i4c.prototype.getError=function(){return this.H};var j4c=function(a){_.gi.call(this,"Nb");this.H=a};_.I(j4c,_.gi);j4c.prototype.getPeople=function(){return this.H};var k4c=function(a){_.gi.call(this,"Ob");this.H=a};_.I(k4c,_.gi);k4c.prototype.getPeople=function(){return this.H};
var l4c=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())};l4c.prototype.To=function(){return this.ha.clone()};l4c.prototype.Re=function(){return this.H};l4c.prototype.Xo=function(){return[1,4,2].includes(this.Re())};var m4c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
m4c.prototype.create=function(a,b){if(0!=PSc(b)){var c=this.V.W(106001);if(c){var d=PSc(b),e=pQ(c);_.x(e,2,d);d=null;if(b instanceof _.GG||b instanceof _.oo||b instanceof _.se||b instanceof _.oO||b instanceof _.gD||b instanceof _.wo||b instanceof _.TM||b instanceof _.DO||"undefined"!=typeof _.EO&&b instanceof _.EO||b instanceof _.yo)d=b.oe();b=d&&_.A(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=pQ(c),_.x(d,7,b));this.H.set(a,c)}}};
var n4c=function(a,b,c){if(a=a.H.get(b))a=pQ(a),_.x(a,5,c)},o4c=function(a,b,c,d,e){var f=a.H.get(b);f&&(pQ(f).Ec(c),c=pQ(f),_.x(c,1,d),null!=e&&(d=pQ(f),_.x(d,6,e)),f.V(),a.H.delete(b))},p4c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Gb(c);c=QSc(c);if(1==e||2==c)e=_.PP(_.vN,c),d=pQ(d),d=3==e||8==e?!_.E(d,5):0!=e?_.VHc.has(e):null,o4c(a,b,1,e,d)}},q4c=function(a,b,c){var d=a.W.Gb(c);d=_.PP(_.xHc,d||22);var e=QSc(c);e=_.PP(_.vN,e);o4c(a,b,d,e,"undefined"!=typeof _.TP&&c instanceof _.TP||"undefined"!=
typeof _.VP&&c instanceof _.VP||"undefined"!=typeof _.WP&&c instanceof _.WP?c.W:null)},YR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(pQ(d).Ec(c),d.V(),a.H.delete(b))},s4c=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 _.RM(function(){return r4c(e)},100,this);this.H=[]};_.I(s4c,_.O);
var r4c=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));t4c(a,b)}})},t4c=function(a,b){a.ha.then(function(c){return c.H(CSc(new _.sO,b))}).then(function(c){c=c.Uo();a.dispatchEvent(new j4c(c))},function(c){c=_.NN(c);a.dispatchEvent(new i4c(b,c))})},v4c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=new _.ee(this);this.Pa(this.ka);this.Ga=b;this.W=
d;this.Ba=e;this.V=!_.A(a,90,!1);(d=_.C(a,DRc,85))||(d=new DRc);this.wa=_.D(d,1,864E5);this.ma=new s4c(a,b,c,f);this.H=new Map;this.ua=new _.uE(function(){var k=RSc(h.Ba,106015);if(k){var l=_.C(_.OP(k),sSc,11);if(!l){l=new sSc;var n=_.OP(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();F3c(h,k,1);h.ua.ue()});this.ka.listen(this.ma,"Mb",function(k){return u4c(h,k)});this.ha=new Map};_.I(v4c,_.O);
v4c.prototype.get=function(a){var b=this.V?_.tg():"";this.V&&this.W.create(b,CSc(new _.sO,[a]));var c=this.H.get(a);if(c)return 4==c.Re()||w4c(this,c)?(this.V&&YR(this.W,b,w4c(this,c)?6:5),x4c(this,a+" queued for refresh."),y4c(this,a)):this.V&&o4c(this.W,b,1,_.PP(_.vN,10),null),c;this.V&&YR(this.W,b,5);return null};
var y4c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.pN(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.ue());c=new _.fn;a.ha.set(b,c);return c.promise},A4c=function(a,b){var c=a.V?_.tg():"";a.V&&a.W.create(c,CSc(new _.sO,[b]));return z4c(a,b)?(a.V&&o4c(a.W,c,1,_.PP(_.vN,10),null),Promise.resolve(a.H.get(b))):y4c(a,b).then(function(){a.V&&(z4c(a,b)?o4c(a.W,c,1,_.PP(_.vN,1),null):YR(a.W,c,3));return a.H.get(b)})};
v4c.prototype.uc=function(){return 0==this.H.size};v4c.prototype.clear=function(){x4c(this,"Clearing the PeopleCache.");this.H.clear()};
var B4c=function(a){return[].concat(_.oc(a.H.values())).filter(function(b){return b.Xo()}).map(function(b){return b.To()})},C4c=function(a,b){return(a=a.H.get(b))?[].concat(_.oc(a.V)):[]},D4c=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(_.oc(e.V)).length&&a.H.delete(d))}},F3c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(x4c(a,"Importing "+b.length+" from "+(Object.keys(aYc)[c]+".")),E4c(a,b,c)):x4c(a,"Attempted to import people data from an invalid source.",
"warning")},G4c=function(a,b,c,d){0!=b.length&&F4c(a,b,c,void 0===d?0:d)},z4c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Xo())||(c=4==b.Re()||w4c(a,b));return!c},F4c=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.To(),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=_.Xj(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&&y4c(f,_.z(h,1)),k=new l4c(h,l,k),f.H.set(_.z(h,1),k))}return e},w4c=function(a,b){return 1==b.Re()&&Date.now()-Number(b.W)>a.wa},x4c=function(a,b,c){a.Ga.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},u4c=function(a,b){b=b.ka.map(function(c){var d=a.H.get(c);return d?d.To():QPc(new eQ,c)});E4c(a,b,4)},E4c=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))}F4c(a,b,void 0,c)&&a.dispatchEvent(new k4c(b))},H4c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.V=new _.ee(this);this.Pa(this.V);this.H=new v4c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.I(H4c,_.O);H4c.prototype.p3=function(a){if(a.H){var b=a.H.getItem(),c=SR(this,[b]).map(function(d){return SPc(d)});G4c(this.H,c,a.H.getId(),I4c(_.z(b,82)))}a.V&&D4c(this.H,a.id,J4c(this,a))};
var I4c=function(a){return _.WHc.get(a)||0},J4c=function(a,b){var c=K4c(a,b.V),d=K4c(a,b.H);return c.filter(function(e){return!d.includes(e)})},K4c=function(a,b){return b?SR(a,[b.getItem()]).map(function(c){return _.FG(c)}):[]},M4c=function(a,b){b=b.getUser();G4c(a.H,[SPc(b)],"ACCOUNT");L4c(a,b)},N4c=function(a,b){var c=_.Rj(b,_.mP,2).map(function(d){var e=_.C(d,_.wk,9,1);return A4c(a.H,_.FG(e)).then(function(){return void K3c(a,[e])})});return Promise.all(c).then(function(){return b})},K3c=function(a,
b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.FG(c)&&L4c(a,c)},O4c=function(a,b,c){for(var d=new Set,e=_.u(b),f=e.next();!f.done;f=e.next())f=f.value,_.FG(f)&&(d.add(_.FG(f)),G4c(a.H,[SPc(f)],c));return Promise.all([].concat(_.oc(d)).map(function(h){return A4c(a.H,h)})).then(function(){return K3c(a,b)})},P4c=function(a,b){return SR(a,[b]).some(function(c){return!k0c(a,_.FG(c))})},k0c=function(a,b){return z4c(a.H,b)},SR=function(a,b){return b.map(function(c){var d=c.gv();d=d?[].concat(_.oc(_.Rj(d,
_.wk,2)),_.oc(_.Rj(d,_.wk,3))):[];var e=c.kf();e=(e=e&&_.dd(e))?SR(a,[e]):[];return[].concat(_.oc(_.Ik(c)),[c.Ro(),c.dB(),_.C(c,_.wk,91),c.rB()],_.oc(d),_.oc(e))}).flat().filter(function(c){return c&&!!_.FG(c)})};H4c.prototype.getItems=function(a){return C4c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var Q4c=function(a,b){return b.map(function(c){c=c.clone();var d=SR(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})},L4c=function(a,b){var c=a.H.get(_.FG(b));if(c){a=c.To();var d=_.jJc(b.zd(a.getName()),a.getEmail());c=_.UHc.get(c.H)||1;_.x(d,16,c);(a=_.C(a,RPc,4))&&b.Fs(a.getUrl())}},R4c=function(){ER.apply(this,arguments)};_.I(R4c,ER);
R4c.prototype.QD=function(a){var b;if(b=ER.prototype.QD.call(this,a))a=a&&a.getItem()&&a.getItem().Cm(),b=!(!a||!a.hs());return b};R4c.prototype.kd=function(){};R4c.prototype.getType=function(){};R4c.prototype.AT=function(){};
var S4c=function(a,b){this.V=a;this.W=b;this.H={}},U4c=function(a,b){if(!_.kO(b)){var c=_.z(b,33);if(1==c.length)T4c(a,c[0],b);else{c=_.fP(b);if(1==c.length&&!_.A(c[0],2,!1)){var d=c[0].yb();c=a.W.get(d);if(!c){c=a.V.V.wa;var e=_.Be(new _.Ae,310);c.H([d],e).then(function(f){if((f=f[d])&&f.wc()){var h=f.getCapabilities();h&&_.Dk(h)&&(f=f.wc(),T4c(a,f,b))}else T4c(a,null,b)});return}if(c.getItem().wc()&&_.Dk(c.getItem().getCapabilities())){c=c.getItem().wc();T4c(a,c,b);return}}T4c(a,null,b)}}},T4c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!fR(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(RR(a.V).nb(function(e){e.tfa(b)}),V4c(a.V.iw,b))},W4c=function(a,b){if(!_.kO(b)){var c={},d;for(d in a.H){c.HL=d;for(var e=0;e<a.H[c.HL].length;e++)if(_.Xj(b,a.H[c.HL][e])){_.na(a.H[c.HL],e);"subscribed"!=c.HL&&RR(a.V).nb(function(f){return function(h){h.Hqa(f.HL,!1)}}(c));return}c={HL:c.HL}}}},X4c=function(){this.H=new Map;this.V=[];this.W=[]};
X4c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.QN(e)&&(a?(e=a.getItem().kf())&&_.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&&!_.Xj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.W.push(f)})};
var Y4c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},Z4c=function(a){a.V=[];a.W=[]},ZR=function(a,b,c,d){_.O.call(this);this.request=a;this.Ja=b;this.Ba=c;this.Ga=d;this.ha=new Set;this.wa=0;this.H=null};_.I(ZR,_.O);var $4c=function(a){if(a.H)return a.H.promise;a.H=_.Jh();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};ZR.prototype.Ma=function(a,b){this.ka(b);a5c(this,a)};
var a5c=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")};ZR.prototype.Ka=function(a,b){b=_.NN(b);var c=b.dg;5==c.Zr()||4==c.Qi()?(this.Ga.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ua(a),a5c(this,a)):(a=new jR(c,_.D(this.Ba.mf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var b5c=function(a,b){ZR.call(this,_.Yj(a),b.Dm(),b.H,b.W);this.V=b};_.I(b5c,ZR);
b5c.prototype.W=function(a){var b=new Map;a.Il().forEach(function(c){var d=_.fwa(_.Yj(a),[c]);b.set(c,d)});return b};b5c.prototype.ka=function(a){a=a.Bd()[0];fQ(this.V.V,[a],1,void 0,!0,this.request.Sh())};b5c.prototype.ma=function(a){fQ(this.V.V,[],1,a,!1,this.request.Sh())};b5c.prototype.ua=function(a){a=_.BN(_.xN(new _.wN,a));this.V.V.ua([a])};var c5c=function(a,b,c,d){AR.call(this,a);this.W=b;this.hc=c;this.V={};d&&this.kA(d,!0)};_.I(c5c,AR);_.g=c5c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=aR(this.context.H)!=aR(this.context.H,this.hc.Sh()),c=[];this.hc.Il().forEach(function(h){var k=a.V[h];k&&k.getItem().$j()&&!b||c.push(h)});if(0==c.length)return this.kA([],!1),_.Fh();var d=_.Yj(this.hc);_.fwa(d,c);var e=new b5c(d,this.context),f=_.Jh();this.context.ka.Ff()?(this.Xd.listen(this.context.ka,"Cb",function(h){h.Ff()||(a.Xd.Sc(a.context.ka,"Cb"),J0c(a),$4c(e).then(f.resolve,f.reject,f))}),this.H=0<_.nf(this.V)?1:2):(this.context.Tg.Ff()&&
(this.H=0<_.nf(this.V)?1:2),J0c(this),$4c(e).then(f.resolve,f.reject,f));return f.promise};_.g.t5=function(a){return this.context.ma.equals(a,this.hc)&&$Oc(_.DP(this.W),a.Sh())};_.g.eU=function(a){var b=new _.QP;b.Ec(this.H);VTc(b,this.Re());WTc(b,_.lf(this.V,function(c){return c?c.getItem():null}));E0c(this,a.Sh(),b.$r());return b};_.g.resize=function(){};_.g.kd=function(){return this.hc};
_.g.DO=function(a){var b=d5c(this,a.V),c=d5c(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 d5c=function(a,b){return!!b&&a.hc.Il().includes(b.getId())},VR=function(a,b,c,d,e){AR.call(this,a);var f=this;this.hc=_.Yj(b);this.ha=new DR(this.context,this.hc,!1,e);this.wa=0;b=this.hc.Td()&&BWc(this.hc.Td());e=this.context.Xa;this.ka=b?(0,_.K)(e.compare,e,this.hc):null;this.Fc=!b||!oXc(this.hc)||_.$M(a.H.Ne());this.tc=nXc(this.hc);this.V=[];this.ua={};this.Db=null;this.Xa=!1;this.hb=[];this.Ba=[];this.Xb=this.Ib=this.rb=null;this.W=0;c&&this.kA(c,!d);this.lc=null;this.Ka=Date.now();this.Ma=
_.D(a.H.mf(),16,36E5);_.PO(this.hc)&&this.Xd.listen(this.context.wh,"Jb",this.Kc);_.ud(this,function(){_.gc(f.ha);e5c(f)})};_.I(VR,AR);VR.prototype.refresh=function(){return f5c(this,!1)};var f5c=function(a,b){a.H=6;if(_.A(a.hc,48,!1))return a.H=1,_.Fh();if(_.PO(a.hc)){var c=g5c,d=a.context.wh.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return h5c(a,b)};VR.prototype.initialize=function(){return this.W>=this.hc.oh()||1==this.H?_.Fh():this.refresh()};
var e5c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ua={}},g5c=function(a,b){_.m.clearTimeout(a.lc);a.lc=_.m.setTimeout(function(){return f5c(a,!0)},b)};VR.prototype.Kc=function(){Date.now()-this.Ka>this.Ma&&g5c(this,0)};
var h5c=function(a,b){a.ha&&(a.Xd.Sc(a.ha,"Gb",a.Pka),a.Xd.Sc(a.ha,"Hb",a.jFa),a.ha.dispose());var c=a.hc.oe();c&&_.Ce(c,!1);a.ha=new DR(a.context,a.hc,b);a.wa=0;a.Xd.listen(a.ha,"Gb",function(){return a.Pka(a.ha.ha)});a.Xd.listen(a.ha,"Hb",a.jFa);return i5c(a)},i5c=function(a){var b=_.Jh();a.context.ka.Ff()?a.Xd.listen(a.context.ka,"Cb",function(c){c.Ff()||(a.Xd.Sc(a.context.ka,"Cb"),j5c(a,b))}):j5c(a,b);return b.promise},j5c=function(a,b){J0c(a);var c=a.hc.oh()+a.wa;_.pia($0c(a.ha,c).Cf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=VR.prototype;_.g.resize=function(a){var b=0;for(var c=_.u(new Set([].concat(_.oc(this.ma)))),d=c.next();!d.done;d=c.next()){d=d.value;var e=BR(this.context);d=H0c(e,d).kd();b=Math.max(b,d.oh())}_.PO(this.hc)?(this.hc.Gi(b),2!=this.Re()&&!this.ha.H&&(b>this.W||a)?this.refresh():k5c(this)):this.hc.oh()!=b&&(this.hc.Gi(b),b>this.W?i5c(this):k5c(this))};_.g.kd=function(){return this.hc};_.g.t5=function(a){return this.context.ma.equals(a,this.hc)};
_.g.eU=function(a){var b=a.oh(),c,d=!1;if(_.lO(this.hc)){var e=this.V.slice();var f=this.Ba.slice(0,b);if(this.Ba.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Mk(k.getItem()).filter(function(l){return h.includes(l.To().getId())});k=k.clone();UOc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Mk(l.getItem()).length})}d=iPc(e);c=new _.RP;XSc(c,!1);YSc(c,f)}else e=this.V.slice(0,b),c=new _.qC,NRc(c,b<this.V.length||!(this.context.ka.Ff()||this.context.Tg.Ff())&&
1!=this.H),_.R(c,7,this.Db),_.x(c,8,this.Xa),_.gKc(c,this.hb),d=iPc(e);e=dQ(e);E0c(this,a.Sh(),e);c.Ew(e);c.Ec(d?6:1==this.H||b<=this.W?1:this.context.ka.Ff()||this.context.Tg.Ff()?0<this.V.length?1:2:6);c.MX(this.Re());c.JI(this.rb);c.setSessionId(this.Ib);c.NX(this.Xb);return c};_.g.Pka=function(a){this.Db=a.ma;this.Xa=a.V;this.hb=a.W;this.Ba=a.ha;this.rb=a.ka;this.Ib=a.getSessionId();this.Xb=a.wa};_.g.jFa=function(){var a=this.hc.oh()-this.W;0<a&&Y0c(this.ha)&&(this.wa+=a,i5c(this))};
_.g.kA=function(a,b){_.PO(this.hc)&&e5c(this);var c=!1;a=_.u(a);for(var d=a.next();!d.done;d=a.next())d=tR(d.value),c=this.DO(d,!0)||c;b||(1!=this.H&&(c=!0),this.H=1);if(b=this.ka){a:{b=this.V;a=this.ka||_.Aa;for(d=1;d<b.length;d++)if(0<a(b[d-1],b[d])){b=!1;break a}b=!0}b=!b}b&&(l5c(this,"ViewCache unsorted after import"),this.context.Xa.sort(this.hc,this.V));c&&F0c(this)};
_.g.DO=function(a,b){var c=this.ua[a.id],d=!!c,e=m5c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&l5c(this,"Updating different wrapper from the existing one"):l5c(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)?(n5c(this,b),o5c(this,a)):(c=this.V,d=this.ka?_.Ca(this.V,b,this.ka):_.ia(this.V,b),c[d]=a,a.H++,p5c(a)&&this.W++,b.H--,p5c(b)&&this.W--,_.rf(this.ua,b.getId()),this.ua[a.getId()]=a)):(n5c(this,f),_.PO(this.hc)&&g5c(this,0));
else{if(_.PO(this.hc)&&!b)return!1;o5c(this,a.H)}else return!1;return!0};
var o5c=function(a,b){a.ka?NOc(a.V,b,a.ka):a.V.push(b);b.H++;p5c(b)&&a.W++;a.ua[b.getId()]=b},n5c=function(a,b){if(a.ka){var c=a.V,d=_.Ca(c,b,a.ka);0<=d&&_.na(c,d)}else _.oa(a.V,b);b.H--;p5c(b)&&a.W--;_.rf(a.ua,b.getId())},m5c=function(a,b,c){if(!b)return!1;if(a.Fc&&!_.PO(a.hc)){if(c)return!0;if(!a.tc){var d=b.getId();c=!!a.V.find(function(f){return d==f.getId()},a);a=gR(a.context.Ka,a.hc,b.getItem());return c&&a}}if(!gR(a.context.Ka,a.hc,b.getItem()))return!1;var e=1.2*a.hc.oh();if(1==a.H||!a.ka||
pWc(b.V,2)||a.W<e||c||EPc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},k5c=function(a){if(1!=a.H&&!a.context.ka.Ff()&&!a.context.Tg.Ff()){var b=1.2*a.hc.oh();if(!(b>=a.W||a.ha&&b>=a.ha.Zb())){b=a.W-a.hc.oh();for(var c=a.V.length-1;0<=c&&0<b;c--){var d=a.V[c];pWc(d.V,2)||EPc(d.getItem())||(d.H--,p5c(d)&&a.W--,_.rf(a.ua,d.getId()),_.na(a.V,c),b--)}h5c(a,!1)}}},l5c=function(a,b){var c=new _.qb;_.jN(c,2);_.kN(c,6);_.Hq(c);a.context.dispatchEvent(new _.sb(new _.rb(b,
c)))},p5c=function(a){return!pWc(a.V,2)&&3!=aQ(a.getItem())};VR.prototype.Ga=function(){k5c(this)};VR.prototype.Ja=function(a){return 1!=this.H&&a.oh()>this.W&&this.ha.H};
var q5c=[50],s5c=function(a,b){_.N.call(this);var c=this;this.Xa=new _.ee(this);this.Pa(this.Xa);this.H=a;this.Ba=b;this.W={};this.ka=new k1c(a.ma);this.ha=new vXc(a.mg,a.Ka,a.Xa);this.Ja=new X4c;_.E(a.H,60)&&(this.Xb=new R4c(a.Ka,a.Xa));this.Ga=new fXc(a.W,_.DP(this.Ba));(b=_.oN(this.H.H))&&!_.A(b,1,!1)&&r5c(this,_.z(this.H.H,28));this.V=new yXc(this.Ba,this.H.ma,this.ha,this.Ga);this.H.ua.ha.H=this.V;this.wa=new c1c(this.H,this.Ba,this.W,this.ha);this.Qa=new S4c(this.H,this.ha);this.Ka=new X3c(this.H,
this);_.ud(this.Ka,function(){c.Ka=null});this.rb=_.zIc(KSc(this.Ba),q5c);ZQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.A(this.H.H,15,!1)||this.H.Xb||b.push("NVkrgc");ZQ(this.H.ha,b,function(){var d=c.H.H;if(_.C(d,_.Hk,12))d=_.C(d,_.Hk,12);else{var e=_.iJc((new _.wk).kc(c.H.Xb),!0);e=_.x(e,6,1);e=_.QM(_.ZO(_.$O(_.PM((new _.Hk).kc(c.H.jn()).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(_.zJc(_.sJc(_.rJc(_.vJc(_.wJc(_.uJc(_.tJc(_.qJc(_.pJc(_.oJc(_.nJc(_.mJc(_.lJc(_.kJc(new _.Bk,
_.A(d,6,!0)),!1),!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}fQ(c,[d],1);$Q(c.H.ha,"hVFf7")});this.Ma=_.Jh();ZQ(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new H4c(this.H.H,this.H.W,a.Dm(),a.bo,this.H.ua,this.H.Rd.promise);_.pN(this.H.H)&&this.Xa.listen(this.ma,"Ob",this.Ib);this.Db=new _.ENc(this.H.H,this.V)};_.I(s5c,_.N);
s5c.prototype.Ib=function(a){var b=this,c=a.getPeople();UR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.u(c);for(var e=c.next();!e.done;a={i4:a.i4},e=c.next())a.i4=e.value,this.ma.getItems(_.z(a.i4,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();UR(b,"Unexpected missing wrapper for "+h+" with "+(_.z(f.i4,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});fQ(this,[].concat(_.oc(d.values())),1);this.H.wa.update(6)};s5c.prototype.initialize=function(){d4c(this.Ka)};
var x5c=function(a,b,c){if(c instanceof _.se)c=bR(a.H.ma,c),t5c(a,c.Sh()),U4c(a.Qa,c),a=u5c(a,c),B0c(a.cache,b);else if(c instanceof _.oo)c=v5c(a,c),t5c(a,c.Sh()),a=w5c(a,c),B0c(a.cache,b);else if(c instanceof _.TM){var d=TR(a,c),e=a.W[d];e?(3==e.H?(UR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):UR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,rs:!1}):(UR(a,d+" | ItemQueryRequest backed by new cache"),e=new IR(a.H,a.Ba,c),e.refresh().ag(_.Se),
a.W[d]=e,a={cache:e,rs:!0});B0c(a.cache,b)}else if(c instanceof _.wo)d=c.Sh(),e=a.Ga,gXc(e,e.V,e.ha,d),a=w5c(a,c),B0c(a.cache,b);else throw Error("pg");return a.rs},y5c=function(a,b,c){if(c instanceof _.se)c=bR(a.H.ma,c),W4c(a.Qa,c);else if(c instanceof _.oo)c=v5c(a,c);else if(!(c instanceof _.TM||c instanceof _.wo))throw Error("pg");c=TR(a,c);var d=a.W[c];d&&(C0c(d,b),d.isDisposed()&&delete a.W[c])},TR=function(a,b){return cR(a.H.ma,b,2)},u5c=function(a,b){var c=TR(a,b),d=a.W[c];if(d)return 3==d.H?
(UR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):UR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,rs:!1};d=[];for(var e=5,f,h,k=l1c(a.ka),l=0;l<k.length;l++){var n=k[l];e=n.RC(b);if(5!=e){f=1==e?void 0:b.oh();d=n.fka(b,f);f=n.Re();h=n instanceof zR?n.dG():"";UR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.c0()+" | initial "+d.length));break}}5==e&&UR(a,c+" | ItemQueryRequest backed by new cache");if(a.H.ka.Ff()||a.H.Tg.Ff())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.RC(b)?e.RC(b):6,UR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new VR(a.H,b,d,1==e,h);f&&d.gx(f);d.kA(a.ha.query(b,2),1!=e);d.initialize().ag(function(q){q=_.lN(q);_.Hq(q);a.H.dispatchEvent(new _.sb(new _.rb("Error during view cache init",q)))});a.W[c]=d;return{cache:d,rs:!0}},w5c=function(a,b){var c=TR(a,b),d=!1,e=a.W[c];if(e)e.t5(b)?UR(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Il()),
b=z5c(a,b,d),d=!0,a.W[c]=b,A5c(e,b),e=b,UR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Il());e=z5c(a,b,f);d=!0;a.W[c]=e;UR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,rs:d}},z5c=function(a,b,c){var d;b instanceof _.oo?d=new S0c(a.H,a.Ba,b,c):d=new c5c(a.H,a.Ba,b,c);c.length&&d.gx(8);d.refresh().ag(_.Se);return d},B5c=function(a){return Object.values(a.W).filter(function(b){return b.kd()instanceof _.TM})};
s5c.prototype.hb=function(a){for(var b=_.Be(new _.Ae,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=KWc(this.H.ma,c,!0),UR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var D0c=function(a,b,c){c&&c.length&&iXc(a.Ga,b,c);_.pN(a.H.H)&&(a=a.ma,K3c(a,SR(a,b)))},B1c=function(a,b,c){if(b instanceof IR){var d=TR(a,b.kd()),e=a.W[d];if(e){C5c(a,b,e);UR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof xR&&a.ka.removeAll([b]);var f={},h=_.tf(a.ha.H),k=[];b.Ly().forEach(function(n){var q=n.getId(),t=a.ha.get(q);if(t){var v=aQ(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(LYc(n,t));_.rf(h,q)}else q=tR(n),a.ha.update(q),a.Ja.update(q),
_.pN(a.H.H)&&a.ma.p3(q);_.pN(a.H.H)&&D5c(a,n.getItem())});_.jf(h,function(n){k.push(tR(n))});d=_.u(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof IR?(d=TR(a,b.kd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.jf(f,function(n){var q=new _.wN;_.xN(q,n.getId());q.setItem(n);l.push(q)});a.ua(l);UR(a,"Merged cache: "+b.getType());b instanceof GR&&c.forEach(function(n){E5c(a.H.Fj,n)});a.H.wa.update(3)},C5c=function(a,b,c){if(c instanceof IR&&(c=c.Ly(),b=b.Ly(),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()){UR(a,"(b/160317444) Inconsistent shared drives list found.");_.dk(Error("qg"));SSc(a.H.ua,160317444);break}}}},A5c=function(a,b){(new Set([].concat(_.oc(a.ma)))).forEach(function(c){B0c(b,c);C0c(a,c)})},fQ=function(a,b,c,d,e,f){f||(f=d?[].concat(_.oc(d.Sh().filter(function(B){return!_.DP(a.Ba).includes(B)}))):[]);d&&d instanceof _.se&&_.PO(d)&&F5c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new YQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,y=G5c(a,t,q);if(null!=y)q.DP(y),H5c(a,v,n),DPc(n),n=dXc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.pN(a.H.H)&&D5c(a,n);!t||I5c(a,v,n,f)?(k.push(KYc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=TR(a,d),b=a.W[b],d instanceof _.se&&(d=o1c(a.ka,d))&&d.kA(h,!!e),b&&b.kA(h,!!e));0<k.length&&(e=_.qc(a.W),b&&_.oa(e,b),J5c(a,k,e,f),K5c(a,h));BR(a.H).ka()},D5c=function(a,b){P4c(a.ma,b)||5!=aQ(b)||
_.TJc(b,1)},I5c=function(a,b,c,d){(b=b?b.clone():null)&&D0c(a,[b],d);return!_.Xj(b,c)},F5c=function(a,b,c){L5c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&($P(f,d,[1002]),$P(f,d,[1003]),$P(f,d,[1005]),b[e]=f);_.kO(c)&&0<_.z(c,33).length&&_.UJc(d,_.z(c,33)[0])})},L5c=function(a,b,c){var d;_.kO(c)?d="quick access":_.lO(c)?d="people predict":_.mO(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");UR(a,"Got "+b.length+" items for "+d+": "+c)},M5c=function(a,b){var c=
{};b.forEach(function(d){c[d.V]||(c[d.V]=[]);c[d.V].push(d)});_.jf(c,function(d,e){e=Number(e);fQ(a,dQ(d),e)})};
s5c.prototype.ua=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=d.Qz()?null:d.getItem(),f=d.Hc(),h=(f=this.ha.get(f))?f.getItem():null,k=null;if(e){k=new YQ(e,void 0,void 0,d.gy()||void 0);var l=G5c(this,f,k);if(null==l)continue;k.DP(l);H5c(this,h,e);_.A(d,5,!1)&&ZP(e,fPc);DPc(e);e=dXc(e,h);k.setItem(e);_.pN(this.H.H)&&D5c(this,e)}l=this.H.iw;E5c(l.H.Fj,d);if(fR(d)){var n=d.wc();d.Qz()?N5c(l,n):(d=d.getItem(),eXc(d)&&O5c(l,n))}!h&&!e||_.Xj(h,e)||b.push(KYc(f,k))}J5c(this,b,_.qc(this.W),
[])};
var H5c=function(a,b,c){b&&!c.Cm()&&$P(c,b,a.rb);var d=b?b.kf():null,e=c.kf();e=e?_.dd(e):null;d&&e&&H5c(a,_.dd(d),e);b&&!_.Lk(c)&&$P(c,b,[1002]);b&&!_.Mk(c).length&&$P(c,b,[1003]);b&&!c.gJ().length&&$P(c,b,[1005]);b&&null==c.V()&&$P(c,b,[71]);b&&null==_.z(c,79)&&$P(c,b,[73]);b&&_.E(b,31)&&!_.E(c,31)&&(ZP(c,fPc),UR(a,"Cleared Item Suggest data for "+b.getId()+"."))},O0c=function(a,b,c){if(b instanceof _.se||b instanceof _.oo||b instanceof _.TM)b=TR(a,b),(a=a.W[b])&&I0c(a,c);else throw Error("pg");},
G5c=function(a,b,c){var d=c.getItem();if(P5c(a.H.Wf,d.getId()))return null;if(b){if(!oWc(b.V,c.V))return null;a=b.getItem();if(3!=aQ(a)&&!fR(a)&&!fR(d)&&a.wc()==d.wc())if(_.z(a,75)&&_.z(d,75)){if(_.z(a,75)>_.z(d,75))return null}else if(b.gy()&&c.gy()){if(b.gy()>c.gy())return null}else if(a.xq()>d.xq())return null}return qWc(b&&b.V,c.V)},Q5c=function(a,b){(a=a.ha.get(b))&&a.DP(qWc(a.V,-2))},R5c=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)},J5c=function(a,b,c,d){_.pN(a.H.H)&&b.forEach(function(k){return a.ma.p3(k)});R5c(a,b,d);c=_.u(c);for(d=c.next();!d.done;d=c.next())G0c(d.value,b);c=0;b=_.u(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=l1c(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)||kXc(a.Ga,e.id)}0<c&&a.H.wa.mFa(c);S5c(a)},S5c=function(a){var b=a.Ja.V.slice(0),c=Y4c(a.Ja);Z4c(a.Ja);if(b.length){UR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Ae;_.Be(d,308);a.wa.H(b,d,!0)}if(c.length){UR(a,"Updating locally stale shortcuts: "+c.join(", "));b=zXc(a.V,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().kf(),k=_.z(h,1);if(k=a.V.H(k))_.R(h,5,k),_.x(h,4,1),e.push(f)});M5c(a,e)}},v5c=function(a,b){_.Da(b.Sh());var c=_.ia(b.Il(),"root");if(0>c)return b;b=_.Yj(b);b.Il()[c]=a.H.jn();return b},r5c=function(a,b){b=LSc(a.Ba,b);a=a.Ga;gXc(a,a.H,a.W,b)},t5c=function(a,
b){var c=_.oN(a.H.H);c&&_.A(c,1,!1)&&r5c(a,b)},K5c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==aQ(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});UR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Be(new _.Ae,311);a.wa.H(c,d)}})},h4c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!o1c(a.ka,c)){UR(a,"Adding new cache hint for "+TR(a,c));var d=new zR(a.H.Ka,a.H.Xa,a.H.ma,c);c=new h1c(a.H,d,c);var e=HR(a.H.Ba,null);_.Kh(i1c(c).then(function(){u1c(d,
e).then(function(f){B1c(a,d,f)})}),function(){s1c(a.H.Ba,null)})}})})},UR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},T5c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},U5c=function(a,b){a=T5c(a);b=T5c(b);return!(!a||!b||a!=b)},V5c=function(a){return a.Hc()+"_"+T5c(a.getName())},$R=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};_.I($R,_.N);
var Y5c=function(a,b){a.H.add(b);W5c(a).then(function(){return X5c(a,b)})};$R.prototype.Re=function(){return this.ka};$R.prototype.Fna=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.M$(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?Z5c(this):_.Fh([])};
var Z5c=function(a){for(var b=[],c=_.u(a.H.values()),d=c.next();!d.done;d=c.next())b.push(X5c(a,d.value));return _.Hh(b)},$5c=function(a,b){a.status=3;for(var c=[],d={},e=_.u(a.H.values()),f=e.next();!f.done;d={Gda:d.Gda},f=e.next())d.Gda=f.value,c.push(a.ha.then(function(h){return function(k){k.Ga[h.Gda]=b;k.V||(k.V=_.si(k.ka,50,k))}}(d)));_.Hh(c)},a6c=function(a){for(var b=[],c={},d=_.u(a.H.values()),e=d.next();!e.done;c={Hda:c.Hda},e=d.next())c.Hda=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.Hda])&&h.OJ()}}(c)));_.Hh(b).then(function(){var f=0==a.Re()?1:6;a.ka=f})},W5c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=H0c(b,d).kd();c=Math.max(c,d.oh?d.oh()||0:0)});a.K$(c)})},b6c=function(a,b){return b?a.ma.get(a.M7(b)):null};$R.prototype.L$=function(a,b){b=qWc(b6c(this,a),b);this.ma.set(this.M7(a),b)};$R.prototype.M7=function(a){return a};$R.prototype.i7=function(){};
var X5c=function(a,b){return a.ha.then(function(c){var d=a.d0();c.Ba[b]=d;c.V||(c.V=_.si(c.ka,50,c))})};$R.prototype.removeItem=function(){};var aS=function(a,b){_.O.call(this);this.request=a;this.ha="";this.V=this.ma=!1;this.ua=b;this.H=[];this.W=0};_.I(aS,_.O);
var c6c=function(a){return!a.ma||""!=a.ha},bS=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&c6c(a)?d6c(a):_.Fh()},d6c=function(a){a.ma=!0;a.V=!0;var b=a.L5(a.request,a.W-a.H.length,a.ha);return a.ua(b).then(function(c){return e6c(a,c)},function(c){a.V=!1;c=_.lN(c);var d=new jR(c);a.lFa(d);a.dispatchEvent(d);return _.Gh(c)})},e6c=function(a,b){a.V=!1;a.ha=a.Y7(b);b=a.u7(b);b.forEach(function(c){return a.H.push(c)});a.e0(b);return a.H.length<a.W&&c6c(a)?_.Hh([_.Fh(b),d6c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Fh(b)};aS.prototype.e0=function(){};aS.prototype.lFa=function(){};var f6c=function(a,b,c){aS.call(this,c,function(d){return a.then(function(e){return e.H(d)}).ag(function(e){return _.ON(e)})});this.ka=b};_.I(f6c,aS);_.g=f6c.prototype;_.g.L5=function(a,b,c){a=_.Yj(a);a.Gi(b);return new _.KIc(a,c)};_.g.Y7=function(a){return a.pageToken||""};_.g.u7=function(a){return a.response.V()};_.g.e0=function(a){cS(this.ka,a,!1,1)};
_.g.lFa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&$5c(b,a)};var g6c=function(a,b,c,d){$R.call(this,a,_.Yj(d));this.V=[];this.W=null;this.wa=b;this.ua=c};_.I(g6c,$R);g6c.prototype.refresh=function(){a6c(this);this.W=new f6c(this.wa,this.ua,this.request);return bS(this.W,this.request.oh()||100)};var h6c=function(a,b){return a.V.find(function(c){return U5c(c.getName(),b)})};_.g=g6c.prototype;
_.g.K$=function(a){this.W&&a==this.request.oh()||(this.request.Gi(a),this.W?bS(this.W,a):this.refresh())};_.g.d0=function(){var a=this,b=dUc((new zQ).Ec(this.status),this.V.filter(function(c){return a.ua.ima(c)}).map(function(c){return c.clone()}));return new _.UP(b,void 0,void 0,this.Re())};_.g.Fna=function(a,b,c){var d=this;a=a.filter(function(e){return e.Hc()==d.request.Hc()});return $R.prototype.Fna.call(this,a,b,c)};
_.g.M$=function(a,b){b=void 0===b?1:b;if(!oWc(b6c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return U5c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.L$(a.getName(),b);return!0};_.g.removeItem=function(a){_.pa(this.V,function(b){return U5c(b.getName(),a)})&&(this.ma.delete(this.M7(a)),Z5c(this))};_.g.M7=function(a){return T5c(a)};_.g.L$=function(a,b){h6c(this,a)&&$R.prototype.L$.call(this,a,b)};
_.g.i7=function(a){var b=this;return a instanceof _.zO&&a.Hc()!=this.request.Hc()?[]:a.dN().map(function(c){return h6c(b,c.Nk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var dS=function(){this.H=new Map},i6c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.O5(c),a.H.set(d,e));Y5c(e,b);return f},j6c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Sga(c),a.H.set(d,e));Y5c(e,b);return f},k6c=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)))},l6c=function(a,b){return a.H.get(b)},cS=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.ima(f)});a.H.forEach(function(f){f.Fna(e,
c,d)})};dS.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};dS.prototype.i7=function(a){var b=Array.from(this.H.values()).map(function(c){return c.i7(a)});return[].concat.apply([],_.oc(b))};var m6c=function(a,b){a.H.forEach(function(c){c.L$(b,-2)})};dS.prototype.ima=function(){return!0};dS.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.O5(b),f.ka=c,this.H.set(e,f),cS(this,a,d))};
var n6c=function(){this.V=new Set;this.W=new Set;this.H=0},o6c=function(a,b){a.V.add(b)};n6c.prototype.ha=function(a){this.V.delete(a)};var p6c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};n6c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var P5c=function(a,b){return a.V.has(b)||a.W.has(b)};n6c.prototype.iY=function(a){var b=this;return a.filter(function(c){return!P5c(b,c.getId())})};var q6c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new n6c};
_.I(q6c,dS);var r6c=function(a,b){o6c(a.W,V5c(b));(a=l6c(a,b.Hc()))&&Z5c(a)};_.g=q6c.prototype;_.g.getKey=function(a){return a.Hc()};_.g.O5=function(a){return new g6c(this.ha,this.ka,this,a)};_.g.Sga=function(a){return new g6c(this.ha,this.ka,this,a)};_.g.j$a=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=l6c(this,b.getId()))&&b.refresh()};_.g.ima=function(a){return!P5c(this.W,V5c(a))};
var s6c=function(a,b){this.V=a;this.H=b},t6c=function(a,b){b=_.zNb(b);var c=new f6c(a.V,a.H,b);new Promise(function(d,e){return bS(c,100).then(d,e)})},u6c=function(a,b,c){aS.call(this,a,c);this.ka=b};_.I(u6c,aS);u6c.prototype.L5=function(a,b){return _.Yj(a).Gi(b)};u6c.prototype.Y7=function(){return""};u6c.prototype.u7=function(a){return[a]};u6c.prototype.e0=function(a){this.ka(a)};var v6c=function(a,b,c,d){$R.call(this,a,_.Yj(d));this.ua=c;this.wa=b;this.V=this.W=null};_.I(v6c,$R);
v6c.prototype.refresh=function(){var a=this;a6c(this);this.V=new u6c(this.request,this.ua,function(b){return a.wa.then(function(c){return c.H(b)})});return bS(this.V,this.request.oh()||0)};v6c.prototype.K$=function(a){1==this.status||this.V&&a==this.request.oh()||(this.request.Gi(a),this.V?bS(this.V,a):this.refresh())};v6c.prototype.d0=function(){if(this.W)return this.W;var a=new DQ;a.Ec(this.status);return a};v6c.prototype.M$=function(a){this.W=a;return!0};
var w6c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.I(w6c,dS);var x6c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};w6c.prototype.getKey=function(a){return a.toString()};w6c.prototype.O5=function(a){var b=this;return new v6c(this.W,this.ka,function(c){cS(b,c,!1)},a)};w6c.prototype.Sga=function(){throw Error("rg");};
w6c.prototype.V=function(a,b,c,d){var e=a[0].$i();x6c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));dS.prototype.V.call(this,a,b,c,d)};var z6c=function(a){_.N.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.xl;var c=_.Jh();this.Ga=c.promise;p3c(this.H.Ga).then(function(d){b.V=d||[];c.resolve();y6c(b)},function(){return c.resolve()});this.W=new Map;this.ua=-1;this.ma=0;ZQ(this.H.ha,["rVezo"],(0,_.K)(this.ka,this))};_.I(z6c,_.N);
var V4c=function(a,b){_.A(a.H.H,46,!1)&&a.Ga.then(function(){if(a.V[0]!=b){_.oa(a.V,b);for(eXc(a.H.V.V.H(b))?eS(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();QR(a.H.Ga,i3c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.D(a.H.H,47,5)&&(y6c(a),a.ka())})},O5c=function(a,b){_.oa(a.V,b)&&QR(a.H.Ga,i3c,a.V)},N5c=function(a,b){O5c(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){eS(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}RR(a.H).nb(function(h){h.Hqa(b,!0)});a.ka()};z6c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;A6c(this);for(var b={};this.ha.Zb()&&!(this.ma>=_.D(this.H.H,47,5));){var c=_.yl(this.ha);this.ma++;n1c(a,c)||this.W.has(c)||(this.W.set(c,null),b.n4=new _.KO,_.x(b.n4,1,c),this.H.Dm().then(function(d){return function(e){return e.H(d.n4)}}(b)).then(this.Ba.bind(this,c),this.wa.bind(this,c)));b={n4:b.n4}}}};
var y6c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},A6c=function(a){_.m.clearTimeout(a.ua);a.ua=_.m.setTimeout(function(){y6c(a);a.ka()},36E5)};z6c.prototype.Ba=function(a,b){var c=_.z(b,1);c&&c>_.D(this.H.H,48,1E3)?(eS(this,a,"Too large to backfill: "+_.z(b,1)),B6c(this,a,!1)):C6c(this,a)};
z6c.prototype.wa=function(a,b){(b=_.lN(b).Qi())&&4==b?(eS(this,a,"Non-existent or inaccessible, removing from cache"),a=_.BN(_.NHc(_.xN(new _.wN,a),a)),this.H.V.ua([a])):C6c(this,a)};
var C6c=function(a,b){var c=new GR(a.H.Ka,a.H.Xa,b),d=_.Yj(c.kd());d.Gi(_.D(a.H.H,48,1E3));d=new h1c(a.H,c,d);a.W.set(b,d);eS(a,b,"Backfill started");var e=HR(a.H.Ba,b);RR(a.H).nb(function(f){f.tfa(b)});_.Kh(i1c(d).then(function(){D6c(a,b,c,e)},function(){eS(a,b,"Backfill failed");a.ma--;B6c(a,b,!0)}),function(){s1c(a.H.Ba,b)})},D6c=function(a,b,c,d){c.V?(c.WT(),u1c(c,d).then(function(e){eS(a,b,"Backfill complete, size: "+c.c0());B1c(a.H.V,c,e);B6c(a,b,!1)},function(){eS(a,b,"Backfill changes failed");
B6c(a,b,!0)})):(eS(a,b,"Backfill exceeded size limit"),B6c(a,b,!0))},B6c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&RR(a.H).nb(function(e){e.Hqa(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 N5c(a,e)})},eS=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},E6c=function(a){var b=new _.mC;b.kc(a);return b},F6c=function(a,b,c,d,e){ZR.call(this,_.Yj(a),
c,d,e);this.V=b};_.I(F6c,ZR);F6c.prototype.W=function(a){var b=new Map;a.Il().forEach(function(c){var d=_.Yj(a).Ib([c]);b.set(c,d)});return b};F6c.prototype.ka=function(a){var b=[];a.DM().forEach(function(c){b.push(c)});this.V(b,!0)};F6c.prototype.ma=function(){this.V([],!1)};F6c.prototype.ua=function(a){this.V([E6c(a)],!0)};var G6c=function(a,b,c,d,e,f){$R.call(this,a,_.Yj(f));this.wa=e;this.Ga=b;this.ua=c;this.V={};this.Ba=d;this.W=null};_.I(G6c,$R);
G6c.prototype.refresh=function(){this.W=new F6c(this.request,this.wa,this.Ga,this.ua,this.Ba);return $4c(this.W)};G6c.prototype.K$=function(){this.W||this.refresh()};G6c.prototype.d0=function(){var a=new _.SP;a.Ec(this.status);_.jf(this.V,function(b,c){a.DM().set(c,b||new _.mC)});yUc(a,this.Re());return a};G6c.prototype.M$=function(a){var b=a.getId();if(_.Xj(a,E6c(a.getId()))){if(this.V[b])return delete this.V[b],!0}else if(0<=this.request.Il().indexOf(b))return this.V[b]=a,!0;return!1};
var H6c=function(a,b){a=a.getState();return null==a||b.getState()==a},I6c=function(a,b,c){aS.call(this,a,c);this.ka=b};_.I(I6c,aS);I6c.prototype.L5=function(a,b,c){a=_.Yj(a);a.Gi(b);return new _.UIc(a,c)};I6c.prototype.Y7=function(a){return a.pageToken||""};I6c.prototype.u7=function(a){return a.response.$i()};I6c.prototype.e0=function(a){this.ka(a)};var J6c=function(a){this.W=xWc(a,{numeric:!0})};
J6c.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=_.Aa(b.getId(),c.getId())*(a?1:-1);return f};J6c.prototype.V=function(a,b,c){var d=_.z(b,4),e=_.z(c,4),f;d!=e?f=_.Aa(d,e)*(a?1:-1):f=_.Aa(b.getId(),c.getId())*(a?1:-1);return f};var K6c=function(a,b,c,d,e){$R.call(this,a,_.Yj(e));this.wa=d;this.Ba=b;this.W=[];this.V=null;a=new J6c(c);b=(c=_.C(this.request,_.xo,5))?c.getType():0;c=c?c.hh():0;this.ua=1==b?a.H.bind(a,2!=c):a.V.bind(a,1==c)};
_.I(K6c,$R);K6c.prototype.refresh=function(){var a=this;a6c(this);this.V=new I6c(this.request,this.wa,function(b){return a.Ba.then(function(c){return c.H(b)})});return bS(this.V,this.request.oh()||0)};K6c.prototype.K$=function(a){1==this.status||this.V&&a==this.request.oh()||(this.request.Gi(a),this.V?bS(this.V,a):this.refresh())};K6c.prototype.d0=function(){var a=new oR;a.Ec(this.status);fYc(a,this.W.map(function(b){return _.Yj(b)}));return new _.XP(a,void 0,1!=this.status&&c6c(this.V),this.Re())};
K6c.prototype.M$=function(a){var b=_.pa(this.W,function(c){return c.getId()==a.getId()});return a&&H6c(this.request,a)&&!_.Xj(a,E6c(a.getId()))?NOc(this.W,a,this.ua):b};var L6c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.I(L6c,dS);var M6c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};L6c.prototype.getKey=function(a){return a.toString()};
L6c.prototype.O5=function(a){var b=this;return new K6c(this.ha,this.ma,mQ(this.W.Ne()),function(c){return cS(b,c,!1)},a)};L6c.prototype.Sga=function(a){var b=this;return new G6c(this.ha,this.ma,this.W,this.ka,function(c,d){return cS(b,c,d)},a)};L6c.prototype.V=function(a,b,c,d){M6c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));dS.prototype.V.call(this,a,b,c,d)};var N6c=function(){_.N.apply(this,arguments)};_.I(N6c,_.N);
var Q6c=function(a,b){b=O6c(b);var c=a.getItem(),d=P6c(c.getCapabilities());b.BU.forEach(function(e){_.QM(e.getItem(),c.wm());e.getItem().xn(d.clone())});return b},T6c=function(a,b,c){var d=R6c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new YQ(b),children:[]};S6c(a,d,c);return c},R6c=function(a){var b={};a.map(function(c){c.getItem().li().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},S6c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(S6c(a,
b,{H:e,parent:c,children:[]}))});return c},V6c=function(a,b){var c=b.children.filter(function(h){return!_.Jk(h.H.getItem())});b=new Map;for(var d=[];c.length;){var e=c.pop(),f=e.H.getItem();b.has(f.getId())||(_.QM(f,a.wm()),U6c(a,f,e.parent?e.parent.H.getItem():void 0),e.children.map(function(h){_.Jk(h.H.getItem())||c.push(h)}),b.set(f.getId(),!0),d.push(e.H))}return d},W6c=function(a){var b=a.children.filter(function(f){return!_.Jk(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(_.BN(_.xN(new _.wN,e.getId()))),d.children.map(function(f){_.Jk(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},O6c=function(a){var b=[],c=[];a.forEach(function(d){_.Jk(d.getItem())||_.E(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{zR:c,BU:b}},P6c=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);_.FJc(a,b);_.x(a,30,c);_.AJc(a,b);_.GJc(a,c);_.BJc(a,c);_.CJc(a,b);_.nJc(a,b);
_.sJc(a,c);_.yJc(a,b);_.xJc(a,_.E(a,7));_.rJc(a,_.E(a,10)||_.E(a,11));_.zJc(a,_.Ck(a));_.x(a,18,void 0);_.x(a,13,void 0);_.x(a,10,void 0);_.DJc(a,_.E(a,42));_.EJc(a,_.E(a,43));_.HJc(a,_.E(a,48));return a},U6c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.E(d,30);_.x(e,30,f);_.AJc(e,_.E(d,31));_.GJc(e,_.E(d,47));_.BJc(e,_.E(d,32));_.CJc(e,_.E(d,33));_.nJc(e,_.E(d,4));_.sJc(e,d.V());_.zJc(e,_.E(d,21));_.yJc(e,_.E(d,20));_.xJc(e,_.E(d,17));_.kJc(e,_.Ck(d));_.qJc(e,_.E(d,7));_.tJc(e,
_.E(d,10));_.uJc(e,_.E(d,11));f=_.E(d,45);_.x(e,45,f);_.FJc(e,_.E(d,46));_.HJc(e,_.E(d,48));a=_.Jk(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.RN(b)?(_.rJc(e,_.E(c,43)),_.EJc(e,_.E(c,43)),_.DJc(e,_.E(c,42))):_.rJc(e,_.E(c,42)))},X6c=function(a){this.H=a;this.ha=new N6c;this.V=a.V;this.W=_.Be(new _.Ae,306)},E5c=function(a,b){if(_.kP(a.H.H))if(fR(b))if(b.Qz())Y6c(a,b);else{var c=b.Hc(),d=Z6c(a,c),e=a.V.V.H(c);b=Q6c(b,d);M5c(a.H.V,b.BU);a.V.wa.H(b.zR,a.W);$6c(a,c,"SD update | Update "+b.BU.length+" item(s), "+
b.zR.length+" divergent items");if(d=RSc(a.H.ua,106017)){var f=OSc(d);_.x(f,1,b.zR.length);_.x(f,2,b.BU.length);d.V()}e||(a=a.V.wa,c&&(d1c(a,"Processing potential rejoin for TD: "+c),b=_.JN(_.Yk(_.IN(new _.se,[c]),_.DP(a.ma)),1),e=_.Be(new _.Ae,306),_.Zk(b,e),f1c(a),b=new DR(a.V,b),$0c(b,5E3).nb(a.ka.bind(a,b)),e1c(a),g1c(a,c)))}else if(_.A(a.H.H,86,!1)){c=b.Hc();e=a.V.V.H(c);if(e&&e.wc()&&_.RN(b.getItem()||e)){if(d=!!_.Jk(e),!b.Qz()){var h=b.getItem();f=_.Jk(e)!=_.Jk(h);h=h.wm()!=e.wm();d=f||d&&
h}}else d=!1;if(d)if(b.Qz()){if(b=Z6c(a,e.wc()),e=a.ha,d=(new _.Hk).kc(c),b=(b=T6c(e,d,b))?W6c(b):[],a.H.V.ua(b),$6c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=RSc(a.H.ua,106009))c=NSc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=Z6c(a,c.wc()),d=a.ha,c=b.getItem(),c=(e=T6c(d,c,e))?V6c(c,e):[],M5c(a.H.V,c),$6c(a,b.Hc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=RSc(a.H.ua,106010))b=NSc(a),_.x(b,1,c.length),a.V()}},Y6c=function(a,b){var c=b.Hc();b=Z6c(a,c);
b=O6c(b);var d=_.pe(b.BU,function(e){return _.BN(_.xN(new _.wN,e.getId()))});a.H.V.ua(d);a.V.wa.H(b.zR,a.W);$6c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.zR.length+" divergent items");if(a=RSc(a.H.ua,106016))c=OSc(a),_.x(c,1,b.zR.length),_.x(c,2,b.BU.length),a.V()},Z6c=function(a,b){var c=new _.se;_.IN(c,[b]);_.JN(c,2);return BXc(a.V.V,c)},$6c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},a7c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
a7c.prototype.DW=function(a,b){var c=this;if(!a.dN().length)return null;var d=l6c(this.H,a.Hc());if(!d)return null;for(var e=this.H.i7(a),f={},h=_.u(a.dN()),k=h.next();!k.done;f={WE:f.WE},k=h.next())if(k=k.value,f.WE=b7c(e,k.Nk(),a.Hc()),_.E(k,3))r6c(this.H,f.WE),_.Kh(b,function(q){return function(){c.H.W.ha(V5c(q.WE))}}(f));else{for(var l=_.u(_.Rj(k,_.xG,2)),n=l.next();!n.done;n=l.next())c7c(this,f.WE,n.value);k=_.u(_.z(k,4));for(l=k.next();!l.done;l=k.next())d7c(f.WE,l.value);cS(this.H,[f.WE],!1,
-1);b.then(function(q){return function(){return m6c(c.H,q.WE.getName())}}(f),function(q){return function(){return m6c(c.H,q.WE.getName())}}(f))}b.then(null,function(q){var t=a.Hc();t6c(c.ha,t);q=_.lN(q);_.x(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.d0()};
var b7c=function(a,b,c){var d=a.find(function(e){return U5c(e.getName(),b)});d||(d=KTc((new vQ).zd(b),c),a.push(d));return d},c7c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new tQ,d.kc(c.getId()),JTc(b,b.V().concat([d])),e7c(d,c));if(1==uQ(d))d.ura(_.E(c,3));else if(12==uQ(d))GTc(d,_.z(c,17));else if(2==uQ(d))d.Qra(_.z(c,4));else if(3==uQ(d))_.z(c,6).length?d.o2(_.z(c,6)):_.z(c,5).length&&(a=_.z(d,7).concat(_.z(c,5)),d.o2(a));else if(4==uQ(d))DTc(d,_.z(c,7));
else if(5==uQ(d))d.Kra(_.z(c,8));else if(6==uQ(d))_.z(c,10).length?d.m2(_.z(c,10)):_.z(c,9).length&&(a=d.Wja().concat(_.z(c,9)),d.m2(a));else if(7==uQ(d))d.Ara(_.z(c,11));else if(8==uQ(d))_.z(c,13).length?d.Z1(_.z(c,13)):_.z(c,12).length&&(a=_.z(d,12).concat(_.z(c,12)),d.Z1(a));else if(10==uQ(d))ETc(d,a.V(_.z(c,14)));else if(11==uQ(d))_.z(c,16).length?FTc(d,_.z(c,16).map(a.V)):_.z(c,15).length&&FTc(d,d.W().concat(_.z(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(uQ(d)+
"."),new _.rb(d,new _.qb);},d7c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==uQ(a))_.x(a,5,void 0);else if(12==uQ(a))_.x(a,17,void 0);else if(2==uQ(a))_.x(a,6,void 0);else if(3==uQ(a))a.o2([]);else if(4==uQ(a))_.x(a,8,void 0);else if(5==uQ(a))_.x(a,9,void 0);else if(6==uQ(a))a.m2([]);else if(7==uQ(a))_.x(a,11,void 0);else if(8==uQ(a))a.Z1([]);else if(10==uQ(a))ETc(a,void 0);else if(11==uQ(a))FTc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(uQ(a)+"."),
new _.rb(a,new _.qb);},e7c=function(a,b){null!=_.z(b,3)?a.Dw(1):null!=_.z(b,17)?a.Dw(12):null!=_.z(b,4)?a.Dw(2):_.z(b,6).length||_.z(b,5).length?a.Dw(3):null!=_.z(b,7)?a.Dw(4):null!=_.z(b,8)?a.Dw(5):_.z(b,10).length||_.z(b,9).length?a.Dw(6):null!=_.z(b,11)?a.Dw(7):_.z(b,13).length||_.z(b,12).length?a.Dw(8):null!=_.z(b,14)?a.Dw(10):(_.z(b,16).length||_.z(b,15).length)&&a.Dw(11)};a7c.prototype.V=function(a){return _.jJc(_.hJc(1),a)};
var f7c=function(a,b,c,d,e,f,h,k){this.H=a;this.ka=b;this.ua=c;this.V=d;this.Ba=e;this.wa=f;this.W=k;this.Ga=h;this.ha=0};f7c.prototype.apply=function(a,b){var c=this;if(!_.OO(a))return b;var d;a instanceof _.aO?d=g7c(this,a,b):a instanceof _.gO?d=h7c(this,b):a instanceof _.qN?d=i7c(this,a,b):a instanceof _.WN?d=j7c(this,a,b):a instanceof _.zO&&(d=this.ua.DW(a,b));d&&(this.ha++,this.ka.setActive(!1),_.Kh(b,function(){c.ha--;0==c.ha&&c.ka.setActive(!0)}));return d?_.Fh(d):b};
var g7c=function(a,b,c){o6c(a.V,b.getId());var d=a.H.V.H(b.getId());_.Kh(c.then(null,a.ma.bind(a,b.getId(),d)),a.V.ha.bind(a.V,b.getId()));c.then(null,function(e){e=_.lN(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.MO).Ec(1)},h7c=function(a,b){var c=(new _.se).yn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});p6c(a.V,c);_.Kh(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.lN(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.MO).Ec(1)},j7c=function(a,b,c){var d=b.wc(),e=a.H.V.H(d);if(!e)return null;e=_.Yj(e);D0c(a.H,[e],[157]);var f=e.$j();k7c(f,_.Rj(b,_.Gk,2));l7c(f,_.Rj(b,_.Gk,3));fQ(a.H,[e],-1,void 0,void 0,[157]);_.Kh(c,function(){Q5c(a.H,d)}).then(function(h){fQ(a.H,[h.mZ()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.lN(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return eUc(new AQ,e).Ec(1)},k7c=function(a,b){var c={};b=_.u(b);for(var d=b.next();!d.done;c=
{d4:c.d4},d=b.next())c.d4=d.value,_.Rj(a,_.Gk,8).some(function(e){return function(f){return f.Nk()==e.d4.Nk()}}(c))||_.Uj(a,8,c.d4,_.Gk,void 0)},l7c=function(a,b){var c=b.map(function(d){return d.Nk()});b=_.Rj(a,_.Gk,8).filter(function(d){return!c.includes(d.Nk())});TOc(a,b)},i7c=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(AXc(a.H.V,e.concat(f))).map(function(k){return k.wc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.Yj(d);m7c(a,b,h);fQ(a.H,[h],-1,void 0,void 0,JSc(a.wa));c.then(function(){return Q5c(a.H,b.getId())},function(){Q5c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.lN(k);if(63==k.Qi()){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 _.nP((new _.MO).setItem(h),h.getId()).Ec(1)},m7c=function(a,b,c){null!=b.Tf()&&c.zl(b.Tf());null!=b.$h()&&_.RJc(c,b.$h());null!=b.Rb()&&_.PM(c,
b.Rb());null!=_.z(b,7)&&_.WEc(c,_.z(b,7));null!=_.E(b,11)&&_.NJc(c,_.E(b,11));null!=_.E(b,4)&&c.Tq(_.E(b,4));null!=_.E(b,16)&&_.QJc(c,_.E(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Bh()&&(c.yn(b.Bh()),_.PJc(c,b.Bh()));null!=b.Rp()&&_.KN(CPc(c,!0),b.Rp());_.z(b,8).length&&_.YO(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)});_.YO(c,[].concat(_.oc(d)))}if(_.z(b,10).length){var e=new Set(c.li());_.z(b,10).forEach(function(n){return e.delete(n)});
_.YO(c,[].concat(_.oc(e)));var f=c.Ap();f&&_.z(b,10).includes(f)&&_.x(c,46,void 0)}if(!c.Ap()){var h=a.Ga();f=c.li().find(function(n){var q=a.H.V.H(n);return q&&!!q.Ap()||n==h});_.x(c,46,f||void 0)}c.li().length&&(f=a.H.V.H(c.li()[0]))&&_.UJc(c,f.wc());if(f=_.C(b,_.Ek,25)){var k=_.C(c,_.Ek,111)||new _.Ek;null!=_.E(f,1)&&_.TO(k,_.E(f,1));null!=_.z(f,2)&&_.IJc(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||[])};f7c.prototype.ma=function(a,b){var c=this,d=_.qo(new _.oo,[a]);this.Ba.then(function(e){return e.H(d)}).then(function(e){e=e.qr().Bd()[0];fQ(c.H,[_.Yj(e)],1)},function(){b&&fQ(c.H,[_.Yj(b)],1)})};
var n7c=function(a){return a.getName()||""},o7c=function(a){return a.getId()||""},p7c=function(a){return _.XHc[a.Gg()]},q7c=function(a){return _.ZHc[a.getType()]},VPc=function(a,b){return[p7c,q7c,n7c,o7c].reduce(function(c,d){var e;0!=c?e=c:e=_.Aa(d(a),d(b));return e},0)},r7c=function(a,b,c,d,e,f,h){this.H=a;this.ua=b;this.V=c;this.ha=d;this.ka=e;this.W=f;this.ma=h};
r7c.prototype.apply=function(a,b){var c=this;b instanceof _.MO&&8==b.Gb()||(a instanceof _.VN||a instanceof _.XN||a instanceof _.FO||a instanceof _.qN||a instanceof _.BO||a instanceof _.RIc||a instanceof _.IO?fQ(this.H,[_.Yj(b.getItem())],1):a instanceof _.aO?(b=_.BN(_.xN(new _.wN,a.getId())),this.H.ua([b])):a instanceof _.dO?(b=_.BN(_.NHc(_.xN(new _.wN,a.getId()),a.getId())),this.H.ua([b]),E5c(this.ua,b)):a instanceof _.gO?(b=(new _.se).yn(!0),b=this.H.V.query(b).map(function(d){return _.BN(_.xN(new _.wN,
d.getId()))}),this.H.ua(b)):"undefined"!=typeof _.ZN&&a instanceof _.ZN?this.V.remove(a.V()):"undefined"!=typeof _.iO&&a instanceof _.iO||"undefined"!=typeof _.yO&&a instanceof _.yO?this.V.hFa(_.C(b,_.BQ,2)):"undefined"!=typeof _.bO&&a instanceof _.bO?UPc(this.H,a):"undefined"!=typeof _.LD&&a instanceof _.LD?this.ha.remove(a.getKey()):"undefined"!=typeof _.jO&&a instanceof _.jO?WPc(this.H,a,b.eZ()):"undefined"!=typeof _.MD&&a instanceof _.MD?s7c(this.ha,b.cya()):a instanceof _.YN||a instanceof _.CO?
cS(this.ka,[b.V()],!1):a instanceof _.eO?cS(this.ka,[E6c(a.getId())],!1):a instanceof _.KIc?cS(this.W,b.response.V(),!1,1):a instanceof _.zO?(a.dN().filter(function(d){return _.E(d,3)}).forEach(function(d){return c.W.removeItem(d.Nk()||"",a.Hc())}),t6c(this.ma,a.Hc()),this.H.hb(a.Hc())):"undefined"!=typeof _.xP&&a instanceof _.xP&&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=_.xN(gSc(),d.getId()).setItem(_.Yj(d)),c.H.ua([d])}}}))};
var t7c=function(a){this.H=a};
t7c.prototype.V=function(a){if(a instanceof _.uO){var b=this.H.H(a.getId());if(!b)return new _.qb;var c=(new _.qN).kc(a.getId());if(b.wc()){var d=b.getCapabilities();_.Dk(d)||d.V()?c.yn(!0):_.rN(c,!1)}else d=a.getParent(),1==b.wm()?c.yn(!0):d?(b=this.H.H(d),!b||_.E(b.getCapabilities(),7)?aSc(c,[d]):_.rN(c,!1)):_.rN(c,!1);return c}if("undefined"!=typeof _.vO&&a instanceof _.vO)return cSc(bSc(aSc($Rc((new _.qN).kc(a.getId()),a.xVa()),a.yVa()),a.zVa()),a.wVa());if(a instanceof _.wO){b=this.H.H(a.getId());
if(!b)return new _.qb;c=(new _.qN).kc(a.getId());b.wc()?(d=b.getCapabilities(),_.Dk(d)||d.V()?c.yn(!1):_.rN(c,!0)):(d=a.getParent(),1==b.wm()?c.yn(!1):d?(b=this.H.H(d),!b||_.Ck(b.getCapabilities())?$Rc(c,[d]):_.rN(c,!0)):_.rN(c,!0));return c}return a instanceof _.EP?new _.FO(a):"undefined"!=typeof _.fS&&a instanceof _.fS?a.V().map(function(e){var f=new _.zO;e=_.x(f,1,e);f=a.dN();e=_.Tj(e,2,f);f=a.oe();return _.R(e,3,f)}):a};var u7c=function(){};
u7c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.nO&&a instanceof _.nO?(a=a.getId()||"",_.Ec(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.$N&&a instanceof _.$N&&(a=a.getId()||"",_.Ec(a)&&(b="Tried to delete backup with no id."));return b?_.lN(b):null};
var XPc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},v7c=function(a,b,c,d,e){_.wNc.call(this,a,b,d,e);this.Ba=c;this.ua=new PYc(this.ka,b);this.W=new Y_c(this.rA);this.wa=new XZc(this.rA,this.W);this.ha=null};_.I(v7c,_.wNc);var w7c=function(a){a.ha||(a.ha=new L_c(a.ka,a.Ba));return a.ha};
v7c.prototype.ma=function(a,b){if(a instanceof _.SN)return _.IP(_.LP(a));if(a instanceof _.TN)return _.JP(this,a,b);if(a instanceof _.KIc)return x7c(this,a.request,b);if(a instanceof _.UN)return _.JP(this,a,b);if(a instanceof _.WN){if(!b.json)throw _.KP();return eUc((new AQ).Ec(1),Z_c(this.W,b.json))}if(a instanceof _.VN)return _.JP(this,a,b);if("undefined"!=typeof _.xP&&a instanceof _.xP)return new aTc;if(a instanceof _.YN)return y7c(a,b);if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return TZc(void 0,
a.V());if("undefined"!=typeof _.$N&&a instanceof _.$N)return new zYc;if(a instanceof _.aO)return _.IP(_.LP(a));if("undefined"!=typeof _.bO&&a instanceof _.bO)return new nR;if(a instanceof _.cO)return _.IP(_.LP(a));if(a instanceof _.dO)return _.IP(_.LP(a));if("undefined"!=typeof _.LD&&a instanceof _.LD)return b=new $Xc,a=a.getKey(),_.R(b,4,a);if(a instanceof _.eO)return y7c(a,b);if(a instanceof _.gO)return _.IP(_.LP(a));if(a instanceof _.IIc){if(!b.json)throw _.KP();return new tWc(b.json.exportJob.id)}if("undefined"!=
typeof _.hO&&a instanceof _.hO){if(!b.json)throw _.KP();a=b.json;b=new WXc;a=SZc(a);return _.R(b,2,a).Ec(1)}if("undefined"!=typeof _.iO&&a instanceof _.iO)return z7c(a,b);if("undefined"!=typeof _.jO&&a instanceof _.jO){if(!b.json)throw _.KP();a=(new nR).Ec(1);b=_.lNc(this.rA,b.json);return _.R(a,2,b)}if(a instanceof _.YM){a:{if(!b.json)throw _.KP();if(a instanceof _.YM){if((a=a.kd())&&_.kO(a)){b=t_c(this.V,this.H,b.json);break a}if(a&&_.lO(a)){b=s_c(this.V,this.H,b.json);break a}if(a&&_.mO(a)){b=
r_c(this.V,this.H,b.json);break a}}b=_.hNc(this.rA,b.json,b.headers)}return b}if("undefined"!=typeof _.nO&&a instanceof _.nO){if(!b.json)throw _.KP();return WZc(b.json)}if(a instanceof _.oO){if(!b.json)throw _.KP();b=b.json;_.FP(["drive#appList"],b);a=new lR;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(SZc(d[e]));a=_.Tj(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Ec(1)}if("undefined"!=typeof _.pO&&a instanceof _.pO){if(!b.json)throw _.KP();return VZc(b.json)}if(a instanceof _.sN)return A7c(this,
b);if(a instanceof _.qO){if(!b.json)throw _.KP();a=new ZXc;d=this.rA;e=b.json;c=new zSc;d=_.mNc(d,e,"items");c=_.Tj(c,2,d);a=_.R(a,1,c);return _.x(a,2,EXc(b.json))}if("undefined"!=typeof _.rO&&a instanceof _.rO){if(!b.json)throw _.KP();a=this.rA;d=b.json;b=new BSc;_.FP(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.jNc(a,d[e]);c.push(f)}return _.Tj(b,2,c)}if("undefined"!=typeof _.BP&&a instanceof _.BP)return B7c(a,b);if(a instanceof _.sO){if(!b.json)throw _.KP();return X_c(b.json)}if(a instanceof
_.OIc){if(!b.json)throw _.KP();return P_c(w7c(this),b.json)}if(a instanceof _.wG){if(!b.json)throw _.KP();a=w7c(this);c=b.json;b=new qR;a=O_c(a,c);return _.R(b,2,a).Ec(1)}if(a instanceof _.tO){if(!b.json)throw _.KP();b=b.json;_.FP(["drive#remainingCount"],b);a=new mYc;c=b.nextPageToken;null!=c&&_.x(a,2,Number(c));_.x(a,1,Number(b.remainingCount));return a}if(a instanceof _.wo){if(!b.json)throw _.KP();return(new _.qC).Ew([Z_c(this.W,b.json)])}if(a instanceof _.JO){if(!b.json)throw _.KP();a=(new _.qC).Ew($_c(this.W,
b.json));a=_.OKc(new _.oP,a);return _.x(a,3,EXc(b.json))}if("undefined"!=typeof _.yO&&a instanceof _.yO)return z7c(a,b);if(a instanceof _.zO)return x7c(this,a,b);if(a instanceof _.qN)return _.JP(this,a,b);if(a instanceof _.AO)return _.JP(this,a,b);if(a instanceof _.BO)return C7c(this,b);if("undefined"!=typeof _.MD&&a instanceof _.MD){if(!b.json)throw _.KP();b=b0c(b.json);a=new $Xc;a=_.R(a,3,b);b=b.getKey();return _.R(a,4,b)}if(a instanceof _.CO)return y7c(a,b);if(a instanceof _.DO){if(!b.json)throw _.KP();
return RYc(this.ua,b.json)}if("undefined"!=typeof _.EO&&a instanceof _.EO){if(!b.json)throw _.KP();b=d0c(b.json);a=new _.SP;a.DM().set(b.getId(),b);return a}if(a instanceof _.JIc){if(!b.json)throw _.KP();a=b.json;b=new mWc;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":_.Nj(b,2,d);break;case "activities":c=NZc(d),_.Tj(b,1,c)}return b}if(a instanceof _.FO)return C7c(this,b);if("undefined"!=typeof _.HO&&a instanceof
_.HO)return A7c(this,b);if(a instanceof _.LIc){if(!b.json)throw _.KP();return new sWc}if(a instanceof _.MIc){if(!b.json)throw _.KP();return $Pc(b)}if(a instanceof _.NIc){if(!b.json)throw _.KP();c=b.json;b=new _.uo;_.FP(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=b0c(c[d]))&&a.push(e);return _.dwa(b,a)}if(a instanceof _.vo){if(!b.json)throw _.KP();return h0c(this.V,this.H,b.json).Ec(1)}if("undefined"!=typeof _.xO&&a instanceof _.xO){if(!b.json)throw _.KP();return f0c(this.V,
this.H,b.json)}if(a instanceof _.KO){if(!b.json)throw _.KP();a=b.json;_.FP(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new VXc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.SIc)return new uWc(EXc(b.json?b.json:{}));if(a instanceof _.TIc)return new vWc;if(a instanceof _.UIc){if(!b.json)throw _.KP();return e0c(b.json)}};
var y7c=function(a,b){if(!b.json){if(a instanceof _.eO)return i0c({});throw _.KP();}return i0c(b.json)},C7c=function(a,b){if(!b.json)throw _.KP();a=Z_c(a.W,b.json);return(new _.MO).Ec(1).setItem(a)},x7c=function(a,b,c){if(!c.json)throw _.KP();return N_c(w7c(a),b,c.json)},z7c=function(a,b){if(!b.json)throw _.KP();return TZc(b.json,a.V())},A7c=function(a,b){if(!b.json)throw _.KP();a=a.wa;var c=b.json;_.FP(["drive#about","drive#changeList"],c);b=new YXc;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){_.FP(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.FP(["drive#change"],h);var k=new _.wN;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.NHc(k,h.teamDriveId),_.xN(k,h.teamDriveId)):_.xN(k,h.fileId);h.file?k.setItem(_.iNc(f.H,h.file)):h.teamDrive&&k.setItem(Z_c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.BN(k);d.push(k)}_.Tj(b,4,d)}return b},B7c=function(a,b){var c=new BYc;if(a.V().length){var d=
[];kPc(a.V(),b.headers).forEach(function(e,f){var h=new _.SEc;e=_.x(h,1,f).jc(e);d.push(e)});_.Tj(c,1,d)}CYc(c,b.json?JSON.stringify(b.json):b.text);return c},D7c=function(a){var b=new _.xp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.aIc[a]);_.uP(b,c.join(" "))}return b.toString()},E7c=function(a,b,c,d){_.MP.call(this,b,c,d,a.Db);this.ma=a;this.ua=new JWc(_.DP(d),b)};_.I(E7c,_.MP);
E7c.prototype.W=function(a,b,c){var d=this;try{return _.MP.prototype.W.call(this,a,b,c)}catch(X){}var e=0,f={},h="GET",k={},l=!1;if(a instanceof _.TN){h="POST";var n="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var q=FXc(a);f["content-type"]="application/json";l=!0}else if(a instanceof _.UN){h="POST";n="files/"+a.Hc()+"/authorize";k.appId=_.z(a,1);_.E(a,3)&&(k.propagate=!0);var t=a.oe();l=!0;_.CP(this.H,k);_.QO(this.H)&&_.NP(this,[a.Hc()],
f)}else if(a instanceof _.FO)h="POST",n="teamdrives/"+a.requestId,k.fields=aR(this.H),q={},q=(q.name=a.request.getTitle(),q),f["content-type"]="application/json",l=!0;else if(a instanceof _.YN)h="POST",n="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",q=HXc(a),f["content-type"]="application/json",t=a.oe(),l=!0;else if(a instanceof _.VN)h="POST",n="files/"+a.getId()+"/copy",k.fields=_.yIc({fields:this.Fg(c),mw:_.$M(this.H.Ne()),OI:_.pN(this.H)}),k.convert=_.A(a,4,!1),q=GXc(a),
f["content-type"]="application/json",t=a.oe(),_.QO(this.H)&&(a=_.z(a,3).concat([a.getId()]),_.NP(this,a,f)),l=!0,_.CP(this.H,k),_.HNc(this.H,k);else if("undefined"!=typeof _.ZN&&a instanceof _.ZN)h="DELETE",n="apps/"+a.V(),k.appId=a.V(),k.deleteAppData=!!a.W(),t=a.oe(),l=!0;else if("undefined"!=typeof _.$N&&a instanceof _.$N)h="DELETE",n="backups/"+a.getId(),e=9;else if(a instanceof _.aO)h="DELETE",n="files/"+a.getId(),t=a.oe(),l=!0,_.CP(this.H,k),_.HNc(this.H,k),_.QO(this.H)&&_.NP(this,[a.getId()],
f);else if("undefined"!=typeof _.bO&&a instanceof _.bO)h="DELETE",n="files/"+a.Hc()+"/permissions/"+a.V(),t=a.oe(),l=!0,_.CP(this.H,k);else if(a instanceof _.cO)h="DELETE",n="files/"+a.Hc()+"/revisions/"+_.z(a,2),t=a.oe(),l=!0,_.QO(this.H)&&_.NP(this,[a.Hc()],f);else if(a instanceof _.dO)h="DELETE",n="teamdrives/"+a.getId(),t=a.oe(),l=!0;else if("undefined"!=typeof _.LD&&a instanceof _.LD)h="DELETE",a=a.getKey(),n="settings/"+_.z(a,2),_.to(a)&&(k.namespace=_.PHc[_.to(a)]),l=!0;else if(a instanceof
_.eO)h="DELETE",n="workspaces/"+a.getId(),t=a.oe(),l=!0;else if(a instanceof _.gO)h="DELETE",n="files/trash",t=a.oe(),l=!0,_.HNc(this.H,k);else if("undefined"!=typeof _.hO&&a instanceof _.hO)n="apps/"+a.V(),t=a.oe(),l=!0,k.fields="kind,id,useByDefault,name,openUrlTemplate,primaryMimeTypes,secondaryMimeTypes,createUrl,createInFolderTemplate,objectType,supportsCreate,supportsImport,supportsMultiOpen,supportsOfflineCreate,installed,authorized,productUrl,primaryFileExtensions,secondaryFileExtensions,shortDescription,longDescription,productId,removable,icons(iconUrl,size,category),type,chromeExtensionIds,requiresAuthorizationBeforeOpenWith,hasDriveWideScope,driveBranded,driveSource,supportsMobileBrowser,supportsTeamDrives,hasGsmListing";
else if("undefined"!=typeof _.nO&&a instanceof _.nO)n="backups/"+a.getId()+"/items",e=9,k.languageCode=mQ(this.H.Ne());else if("undefined"!=typeof _.iO&&a instanceof _.iO)h="POST",n="apps",k.appId=a.V(),t=a.oe(),l=!0;else if("undefined"!=typeof _.jO&&a instanceof _.jO)h="POST",n="files/"+a.Hc()+"/permissions",k.fields=_.pN(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",
k.emailMessage=a.g_a()||"",k.sendNotificationEmail=!a.V_a(),q={},1==a.Gg()?q.role="owner":3==a.Gg()?q.role="writer":4==a.Gg()?(q.role="reader",q.additionalRoles=["commenter"]):2==a.Gg()&&(q.role="reader"),1==a.getType()?q.type="user":2==a.getType()?q.type="group":3==a.getType()?q.type="domain":4==a.getType()?q.type="anyone":5==a.getType()&&(q.type="audience"),a.yb()&&(q.value=a.yb()),q.withLink=!a.q_a(),f["content-type"]="application/json",t=a.oe(),l=!0,_.CP(this.H,k);else if(a instanceof _.IIc)e=
8,h="POST",n="/v1/exports",f["content-type"]="application/json",q=_.z(a,1).map(function(X){if(_.QO(d.H)){a:{var T=d.ka;if(T.V[X])T=T.V[X];else{if(T.H&&(T=T.H.H(X))&&T.RJ()){T=_.Nk(T);break a}T=null}}if(null!==T)return{id:X,resource_key:{resource_key:T}}}return{id:X}}),q={archiveFormat:null,archivePrefix:_.z(a,2),conversions:null,items:q,locale:null};else if(a instanceof _.YM||"undefined"!=typeof _.xP&&a instanceof _.xP||a instanceof _.vo||"undefined"!=typeof _.xO&&a instanceof _.xO)if(b=a instanceof
_.YM?a.kd():a,_.PO(b)){e=10;h="POST";n="/v1/items";f["content-type"]="application/json";q={};var v=9==_.iP(this.H)?"WEB_MOBILE":"WEB_DESKTOP",y={};y.applicationType=SWc(this.H);y.platformType=v;y.languageCode=mQ(this.H.Ne());y.timeZone=(new _.lw).oZ();y.requestType="LIVE_REQUEST";a instanceof _.YM&&(v=a.getOptions())&&_.A(v,10,!1)&&(y.requestType="BACKGROUND_REQUEST");b instanceof _.se?_.kO(b)?(PWc(this.ua)?y.scenarioType="ONE_PICK":y.scenarioType="QUICK_ACCESS",2==_.gP(b)&&(q.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:_.z(b,33)[0]}),_.eP(b).length&&(q.itemType=RWc(b))):_.lO(b)?y.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.mO(b)&&(y.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.xP&&b instanceof _.xP?(n="/v1/userfeedback",q.userFeedback=b.V().map(function(X){var T=X.V(),fa={},za={};za.feedbackType=fUc[T.getType()];fa.item=za;fa.clientInfo=y;switch(X.getFeature()){case 1:y.scenarioType="DRIVE_PRIORITY";za.itemId=T.Hc();break;case 3:y.scenarioType="QUICK_ACCESS";za.itemId=T.Hc();break;case 2:y.scenarioType=
"DRIVE_WORKSPACES",za.itemId=T.Hc(),za.childItem=T.V().map(function(La){var Ba={};Ba.itemId=La.Hc();return Ba})}return fa})):b instanceof _.vo?y.scenarioType="DRIVE_WORKSPACES":"undefined"!=typeof _.xO&&b instanceof _.xO?(y.scenarioType="ITEMS_FOR_DRIVE_WORKSPACE",q.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.V()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:b.W()}]):_.GNc(a);"undefined"!=typeof _.xP&&b instanceof _.xP||(q.maxSuggestions=
b.oh(),q.clientInfo=y)}else{t=b.oe();l=!0;n="files";k.q=_.BLc(b);v=[];var B;(B=_.oN(this.H))&&_.A(B,4,!1)?(B=_.qa(this.Fg(c),this.Fg(c,b.Sh())),_.ya(B)):B=_.ra(this.Fg(c));_.E(this.H,87)&&111==aQc(a)&&(B=B.filter(function(X){return 1!=X}));var F=void 0,M=!1;0<_.Rj(b,_.Tk,5).length&&(F=_.z(this.H.mf(),50),M=!0);k.fields=ROc({fields:B,mw:_.$M(this.H.Ne()),wW:F||void 0,OI:_.pN(this.H),T6a:M});k.appDataFilter="NO_APP_DATA";0<_.Rj(b,_.dP,25).length&&(k.sources=_.uLc(b));0<b.bu().length&&(k.spaces=_.vLc(b));
a.Tm()&&(k.pageToken=a.Tm());(a=a.getOptions())&&_.D(a,1,1E3)&&(k.maxResults=_.D(a,1,1E3));_.A(b,36,!1)&&(k.includeUnsubscribed=!0);_.z(b,43)&&(k.rawUserQuery=_.z(b,43));_.CP(this.H,k);_.kP(this.H)&&(k.includeTeamDriveItems=!0,0<_.z(b,33).length&&2==_.gP(b)&&(a=_.z(b,33)[0],k.teamDriveId=a,v.push(a)),k.corpora=_.LKc[_.gP(b)]);_.E(b,18)&&(_.rf(k,"corpora"),k.corpus="DOMAIN");_.QO(this.H)&&(a=_.Rj(b,_.Wk,63),0<a.length?_.INc(a,f):(a=_.fP(b),B=_.Rj(b,_.aP,35),F=_.Rj(b,_.aP,38),v=v.concat(a.filter(function(X){return!_.A(X,
2,!1)}).map(function(X){return X.yb()})).concat(B.map(function(X){return X.yb()})).concat(F.map(function(X){return X.yb()})),_.NP(this,v,f)));mPc(k,b.Td());_.JNc(this.H,k);_.KNc(this.H,k)}else if(a instanceof _.oO){n="apps";switch(a.getType()){case 1:k.fields=_.cIc;break;case 2:k.fields=_.dIc;break;case 4:k.fields=_.eIc;break;case 3:e=5,n="apps",k.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",
k.appQueryScope="all_webstore",b.AG=!0}k.languageCode=mQ(this.H.Ne());0<_.z(a,3).length&&(k.appFilterExtensions=_.z(a,3).join(","));0<_.z(a,4).length&&(k.appFilterMimeTypes=_.z(a,4).join(","));t=a.oe();l=!0}else if("undefined"!=typeof _.pO&&a instanceof _.pO)n="backups",e=9,k.languageCode=mQ(this.H.Ne());else if(a instanceof _.sN)n="changes",k.includeDeleted=_.A(a,3,!0),k.includeSubscribed=_.A(a,4,!0),k.maxResults=_.D(a,2,100),k.startChangeId=_.z(a,1),k.fields=QOc({fields:this.Fg(c),wW:_.kP(this.H)?
aR(this.H,a.Sh()):void 0,mw:_.$M(this.H.Ne()),OI:_.pN(this.H)}),k.appDataFilter="NO_APP_DATA",a.wc()||(k.filters="DRIVE_DATASERVICE"),t=_.Gj(this.H.mf(),31),t.length&&(k.spaces=_.pe(t,function(X){return _.UEc[X]}).join(",")),_.CP(this.H,k),_.kP(this.H)&&(k.includeCorpusRemovals=!0,k.includeTeamDriveItems=!0,a.wc()&&(k.teamDriveId=a.wc())),t=a.oe(),l=!0;else if(a instanceof _.qO)b=a.kd(),n="files/"+b.getId()+"/permissions",k.fields=_.pN(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.Tm()&&(k.pageToken=a.Tm()),_.z(a,1)&&(k.maxResults=_.z(a,1)),t=b.oe(),l=!0,_.CP(this.H,k),_.JNc(this.H,k),_.KNc(this.H,k),_.QO(this.H)&&_.NP(this,[b.getId()],f);else if("undefined"!=typeof _.rO&&a instanceof _.rO)k.fields=_.pN(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":
"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",k.maxResults=a.oh(),n="files/"+a.Hc()+"/revisions",t=a.oe(),l=!0,_.QO(this.H)&&_.NP(this,[a.Hc()],f);else if(a instanceof _.wo)n="teamdrives/"+a.Il()[0],k.fields=aR(this.H,a.Sh()),t=a.oe(),l=!0;else if(a instanceof _.SIc)h="POST",n="admin/files/migrateToTeamDrivePreFlight",q=IXc(a),f["content-type"]="application/json",l=!0,_.QO(this.H)&&_.NP(this,
a.request.V(),f);else if(a instanceof _.JO)t=a.kd(),n="teamdrives",k.fields=zWc(this.H,t.Sh()),k.q=AWc(t),a.Tm()&&(k.pageToken=a.Tm()),(t=(t=a.getOptions())&&_.D(t,1,1E3))&&(k.maxResults=t),t=a.kd().oe(),l=!0;else if(a instanceof _.KO)n="teamdrives/"+a.wc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",l=!0;else if("undefined"!=typeof _.yO&&a instanceof _.yO)h="PUT",n="apps/"+a.V(),k.appId=a.V(),q={},q.useByDefault=a.ka(),a.W()&&(q.hasAppData=!1),f["content-type"]="application/json",
t=a.oe(),l=!0;else if(a instanceof _.qN)h="PUT",n="files/"+a.getId(),k.fields=_.yIc({fields:this.Fg(c),mw:_.$M(this.H.Ne()),OI:_.pN(this.H)}),k.modifiedDateBehavior="DRIVE_UI",k.updateViewedDate=!!_.E(a,15),k.fileId=a.getId(),_.z(a,9).length&&(k.addParents=_.z(a,9).join(",")),_.z(a,10).length&&(k.removeParents=_.z(a,10).join(",")),_.z(a,31).length&&(k.addWorkspaces=_.z(a,31).join(",")),_.z(a,32).length&&(k.removeWorkspaces=_.z(a,32).join(",")),null!=_.E(a,24)&&(k.confirmed=_.E(a,24)),k.languageCode=
mQ(this.H.Ne()),q=JXc(a),f["content-type"]="application/json",t=a.oe(),l=!0,_.CP(this.H,k),this.V(a.getId(),k),_.E(a,36)?k.bypassMultiparentingCheck=!0:_.HNc(this.H,k),_.QO(this.H)&&(b=_.Rj(a,_.Wk,38),b.length?_.INc(b,f):(b=_.z(a,9).concat(_.z(a,10)),b.push(a.getId()),_.NP(this,b,f)));else if(a instanceof _.AO)h="PUT",n="files/"+a.Hc()+"/revisions/"+_.z(a,2),q=KXc(a),f["content-type"]="application/json",t=a.oe(),_.QO(this.H)&&_.NP(this,[a.Hc()],f);else if(a instanceof _.BO)n="teamdrives/"+a.getId(),
null!=a.Hl()?(h="POST",n+="/"+(a.Hl()?"hide":"unhide")):(h="PUT",q=LXc(a),f["content-type"]="application/json"),k.fields=aR(this.H),t=a.oe(),l=!0;else if(a instanceof _.CO)h="PUT",n="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",q=MXc(a),f["content-type"]="application/json",t=a.oe(),l=!0;else if("undefined"!=typeof _.MD&&a instanceof _.MD)h="PUT",q=a.V(),t=q.getKey(),n="settings/"+_.z(t,2),(t=_.to(t))&&(k.namespace=_.PHc[t]),q=OPc(q),f["content-type"]="application/json",
t=a.oe(),l=!0;else if(a instanceof _.DO)n="about",k.fields=_.pN(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)":"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)",
k.fields=bQc(k.fields,this.H),t=a.oe(),l=!0;else if("undefined"!=typeof _.BP&&a instanceof _.BP){e=11;h=a.rD();n=a.getUrl();var J=a.ma()||"";a.ua().forEach(function(X){f[X.getKey()]=X.yb()});a.Ba().forEach(function(X){k[X.getKey()]=X.yb()});a.Ga()&&(b.igb=!0);a.ka()&&(b.AG=!0);a.W()&&(b.maa=!0)}else a instanceof _.KIc?(b=a.request.Hc(),n="files/"+b+"/listCategoryMetadata",t=a.request.oe(),a.pageToken&&(k.pageToken=a.pageToken),a.request.oh()&&(k.maxResults=a.request.oh()),k.fields="kind,nextPageToken,categoryMetadata",
_.QO(this.H)&&_.NP(this,[b],f)):a instanceof _.zO?(f["content-type"]="application/json",h="POST",b=a.Hc(),n="files/"+b+"/updateCategoryMetadata",t=a.oe(),q={categoryMetadata:a.dN().map(function(X){var T=_.Rj(X,_.xG,2).map(function(za){return{id:za.getId(),userId:za.vy(),setBooleanValue:_.E(za,3),setTextValue:_.z(za,4),setTextValues:_.z(za,6),addTextValues:_.z(za,5),setLongTextValue:_.z(za,7),setSelectionValue:_.z(za,8),setSelectionValues:_.z(za,10),addSelectionValues:_.z(za,9),setIntegerValue:_.z(za,
11),setIntegerValues:_.z(za,13),addIntegerValues:_.z(za,12),setUserValue:_.z(za,14),setUserValues:_.z(za,16),addUserValues:_.z(za,15),setDateStringValue:_.z(za,17)}}),fa={categoryName:X.Nk()};T.length?fa.categoryAttributeValueDeltas=T:_.z(X,4).length?fa.revertAttributeIds=_.z(X,4):_.E(X,3)&&(fa.removeCategory=_.E(X,3));return fa})},_.QO(this.H)&&_.NP(this,[b],f)):a instanceof _.sO?(e=13,n=_.$M(this.H.Ne())?"/v2/people/public":"/v2/people",k.person_id=a.Il(),k["request_mask.include_container"]=["PROFILE",
"DOMAIN_PROFILE"],k["request_mask.include_field.paths"]=["person.metadata.best_display_name","person.photo","person.email"],k["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.$M(this.H.Ne())||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.OIc?(e=12,n="/v1/categories/-/published",f["content-type"]="application/json",a.pageToken&&(k.pageToken=a.pageToken),a.request.oh()&&(k.maxResults=a.request.oh()),k.$outputDefaults=!0,k.languageCode=mQ(this.H.Ne())):
a instanceof _.wG?(e=12,n="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=mQ(this.H.Ne())):a instanceof _.WN?(f["content-type"]="application/json",h="POST",n="drives/"+a.wc()+"/changeCategoryReferences",t=a.oe(),l=!0,k.fields=aR(this.H,[157],!0),q={},b=_.Rj(a,_.Gk,2),b.length&&(q.addCategoryReferences=b.map(function(X){return{category:X.Nk()}})),a=_.Rj(a,_.Gk,3),a.length&&(q.removeCategoryReferences=a.map(function(X){return X.Nk()}))):"undefined"!=typeof _.EO&&
a instanceof _.EO?(n="workspaces/"+a.Il()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",t=a.oe(),l=!0):a instanceof _.JIc?(e=7,h="POST",n="/v2/activity:query",f["content-type"]="application/json",q={},q.pageSize=a.pageSize,a.pageToken&&(q.pageToken=a.pageToken),b="items/"+a.request.getId(),a.request.N_a()?q.ancestorName=b:q.itemName=b,q.consolidationStrategy={legacy:{}}):a instanceof _.LIc?(e=8,h="POST",n="/v1/exports/"+a.H+":cancel"):a instanceof _.MIc?(e=8,n="/v1/exports/"+a.H):"undefined"!=
typeof _.HO&&a instanceof _.HO?(n="changes",k.fields="kind,largestChangeId",_.CP(this.H,k),_.kP(this.H)&&(k.includeTeamDriveItems=!0,a.Qe&&(k.teamDriveId=a.Qe)),l=!0):a instanceof _.NIc?(n="settings",k.namespace=PPc(a.H),t=a.request.oe(),l=!0):a instanceof _.UIc?(n="workspaces",k.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(k.pageToken=a.pageToken),a.request.oh()&&(k.maxResults=a.request.oh()),k.q=D7c(a.request),(t=_.C(a.request,_.xo,5))&&1==t.getType()&&
(k.orderBy="title"),t=a.request.oe(),l=!0):a instanceof _.tO?(n="changes/getRemainingCount",k.pageToken=_.z(a,2),null!=_.z(a,3)&&(k.supportsTeamDrives=!0,k.includeTeamDriveItems=!0,k.teamDriveId=a.wc()),t=a.oe()):a instanceof _.SN?(f["content-type"]="application/json",h="POST",n="files/"+a.Hc()+"/sendAccessRequest",q={}):_.GNc(a);l&&_.LNc(c,k);return _.MNc(e,n,k,f,h,t,q,J)};E7c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.li().join(","):[]};
var F7c=function(a,b,c){this.N1=_.Jh();var d=new t7c(a.V.V),e=a.rb.bind(a);e=new f7c(a.V,a.wa,new a7c(a.Pd,a.Qu,e),a.Wf,this.N1.promise,a.Ja,a.jn.bind(a),e);var f=new r7c(a.V,a.Fj,a.ad,a.Ma,a.Xm,a.Pd,a.Qu);this.W=new _.ZKc;this.ka=new _.oMc(a.H,a.od);var h=new E7c(a.V,a.H,this.N1.promise,a.Ja);this.V=new v7c(a.Ja,a.H,a.W,a.jw,function(){return a.Xb});this.ha=bXc(a.H,new _.NMc(this.ka,this.W,h,this.V,a.Qa,a.Kc,a.Ib),a.Kc,a.W,a.ka,a.V.V,this.W,this.N1.promise,a.Ib||void 0);this.N1.resolve(c?c:new _.kMc(new u7c,
d,this.ha,e,f,a.H,this.H.bind(this),b))};F7c.prototype.H=function(){return _.mf(this.ha,function(a){return HSc(a)})};var G7c=function(a){var b=new Map,c=Date.now();_.jf(a.ha,function(d,e){d=ISc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},H7c=function(a,b){this.W=b||new Date;this.V=a;this.H=POc(this.V)};H7c.prototype.clone=function(){return new H7c(this.V,this.W)};var I7c=function(){this.H=null;this.V=[]},J7c=function(a){return _.pe(a.V,function(b){return _.tf(b)})};
I7c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new HYc;e.W=GYc(d.H);var f=_.tg().substring(0,8);d=POc(f);f=(new kR).kc(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=GYc(d);e.H=EYc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,IYc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var L7c=function(a,b){var c=this;this.H=a;this.Ma=b;this.wa=null;this.ka=0;this.ZG=this.je=!1;this.ha=_.Jh();this.Ba=null;this.W=a.H;b=_.nQ(this.W);this.Ja=new _.NNc(_.D(b,2,37500),_.D(b,3,6E5));this.V=null;this.ua=a.Db;this.ma={};_.jf(NXc,function(d){c.ma[d]=[]});this.Ka=this.Ga=!1;ZQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){gS(c,"Initializing: loaded from local dump");K7c(c)});ZQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){gS(c,"Initializing: loaded from sdk backfill");K7c(c)});ZQ(a.ha,["mrK8ic",
"BNEDtc"],function(){gS(c,"Updating: sdk backfill complete");c.l3().ag(_.Se)})},K7c=function(a){a.Ga||(a.Ga=!0,RR(a.H).nb(function(b){a.ua.initialize().Cf(function(){a.wa=b;a.setActive(!0)},function(c){c&&ESc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.MN(c));gS(a,"Error initializing dump storage");a.eP()})}))};_.g=L7c.prototype;_.g.mFa=function(a){this.je&&(this.ka+=a,this.ka>_.D(_.nQ(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.ZG)&&this.je!=a){var b=this.H;a&&(b.lc.H()||0<b.V.wa.W||b.ka.Ff()||b.Tg.Ff())||((this.je=a)?(this.ha.resolve(),this.V||this.l3().ag(_.Se)):(this.ha=_.Jh(),_.m.clearTimeout(this.Ba)))}};_.g.eP=function(){this.ZG=!0};_.g.QAa=function(){return this.V?this.V.promise:_.Fh()};
_.g.l3=function(){var a=this;if(this.V)return this.V.promise;this.V=_.Jh();_.Kh(this.V.promise,function(){a.V=null});this.ha.promise.then(function(){return n3c(a.H.Ga)}).then(function(b){var c=!b;a.ZG?a.V.resolve(c):_.Qo([M7c(a,3,c),M7c(a,0,c,void 0,!0),M7c(a,1,c,void 0,!0),M7c(a,5,c,void 0,!0),M7c(a,6,c,void 0,!0)]).Cf(function(){return a.V.resolve(c)},function(d){d=d&&_.UM(d)?d instanceof _.rb?d:new _.rb("Failed to update dump",void 0,d):new _.rb(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 _.Mh;this.ha.promise.then(function(){return n3c(c.H.Ga)}).then(function(e){e=!e;c.ZG?d.callback():_.Ph(M7c(c,a,e,b),d)});return d};
var M7c=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.Yf.Lk();var h=new _.Mh;_.Oh(f.Yf,function(){_.Ph(N7c(a,b,c,d,e),h)})}else h=N7c(a,b,c,d,e);var k={encrypt:c,Yf:h};a.ma[b].push(k);_.Oh(h,function(){_.pa(a.ma[b],function(l){return k==l})});h.De(function(l){a.ua.V.lh()?a.eP():l instanceof _.rb&&(l=l.V||null,l instanceof _.bN&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.eP());return null});
return h},N7c=function(a,b,c,d,e){var f=new _.Mh;a.ha.promise.then(function(){if(3==b)_.Ph(O7c(a,d||!1,c),f);else{switch(b){case 0:var h=a.H.tc;h=h.H?_.Yj(h.H):null;break;case 1:h=a.H.ad.Ena();break;case 5:h=P7c(a.H.Ma);break;case 6:h=a.H.V.ma;h=dYc(new cYc,B4c(h.H));break;default:f.Dd("Invalid data type to write to storage.");return}if(h){var k=_.Rj(_.nQ(a.W),lQ,11)[0].getKey();!k&&c?(gS(a,"Skipping dump update, encrypted and no key"),f.callback()):a3c(a.ua,c?k:null,[h]).then(f.callback,f.Dd,f)}else e?
(gS(a,"Skipping dump update: "+b),f.callback()):f.Dd("Failed to get data to write to dump.")}});return f},O7c=function(a,b,c){_.m.clearTimeout(a.Ba);a.Ba=_.m.setTimeout((0,_.K)(a.Qa,a),a.Ja.yb());if(b&&0==a.ka)return _.Rh();a.ka=0;var d=_.Rj(_.nQ(a.W),lQ,11)[0].getKey();if(!d&&c)return gS(a,"Skipping dump update, encrypted and no key"),_.Rh();var e=[];_.jf(kWc,function(h){0<h&&(h=Q7c(a,h),h.length&&e.push(a3c(a.ua,c?d:null,h)))});var f=new _.Mh;_.Hh(e).then(function(){a.Ka&&QR(a.H.Ga,k3c,!0);f.callback()},
f.Dd,f);return f};L7c.prototype.Qa=function(){_.VH(this.Ja);this.update(3,!0)};
var Q7c=function(a,b){switch(b){case 1:return[R7c(a)];case 2:var c=(b=a.H.V.ka.H)?b.Ly():[];c=S7c(a,_.qc(GPc(c)));gS(a,"Exporting "+c.length+" secondary dump items.");c.length>_.D(_.nQ(a.W),5,2E4)&&(b&&yR(b),c=[]);c=XQ(new WQ,T7c(c));var d=a.H.V.ka;a=new LPc;(d=d.H)&&d.V&&(d=d.Ly(),_.x(a,3,d.length));c=_.R(c,11,a);c=jWc(c,2);b&&hWc(c,b.AT());return[c];case 3:return U7c(a);case 4:return V7c(a);default:throw new _.rb("Unsupported CacheType");}},R7c=function(a){var b={},c=[],d=_.A(a.W,79,!1),e=m1c(a.H.V.ka,
d);d=!0;for(var f=0;f<e.length;f++){var h=e[f],k=h.Ly(),l=S7c(a,dQ(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=aWc(new VQ,h.kd()),h.W||(_.x(l,2,k),_.R(l,3,n),d=!1),c.push(l)}e=_.qc(b);gS(a,"Exporting "+e.length+" initial dump items.");return hWc(jWc(gWc(XQ(eWc(iWc(fWc(new WQ,a.H.jn()),_.DP(a.Ma)),a.wa.kFa(null)),T7c(e)),c),1),!d)},U7c=function(a){if(!_.kP(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.kFa(d.wc());if(e){var f=S7c(a,
dQ(d.Ly()));gS(a,"Exporting "+f.length+" TD dump items for: "+d.wc());e=hWc(jWc(eWc(XQ(new WQ,T7c(f)),e),3),d.AT(d.kd()));d=aWc(new VQ,d.kd());gWc(e,[d]);b.push(e)}});return b},V7c=function(a){if(!_.kP(a.W))return[];var b={},c=[];B5c(a.H.V).forEach(function(d){1==d.H&&(dQ(d.Ly()).forEach(function(e){b[e.getId()]=e}),d=bWc(aWc(new VQ,new _.se),d.kd()),c.push(d))});return[hWc(jWc(gWc(XQ(new WQ,T7c(Object.values(b))),c),4),!1)]},S7c=function(a,b){b=FPc(b);_.E(a.W,67)&&(b=W7c(b));_.pN(a.W)&&(b=Q4c(a.H.V.ma,
b));return b.filter(function(c){return 4!=aQ(c)})},W7c=function(a){var b=[];a=_.u(a);for(var c=a.next();!c.done;c=a.next())c=c.value,gPc(c)?(c=c.clone(),ZP(c,fPc),b.push(c)):b.push(c);return b},T7c=function(a){return a.map(function(b){return _.Yj(b)})},gS=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};L7c.prototype.Xma=function(){this.Ka=!0};var X7c=function(){};_.g=X7c.prototype;_.g.setActive=function(){};_.g.eP=function(){};_.g.update=function(){return _.Rh()};_.g.QAa=function(){return _.Fh()};
_.g.l3=function(){return _.Fh()};_.g.mFa=function(){};_.g.Xma=function(){};
var gQ=function(a,b,c,d){_.O.call(this);var e=this;this.W=d||new _.VKc;this.$e=a;this.H=b.clone();this.Ja=new _.FMc(this.H);this.ma=new JWc(_.DP(this.Ja),this.H);Y7c(this);this.Rd=new _.fn;this.Gx=_.m.setTimeout(function(){e.W.info("drive.ds.sync.ThinContext","Page stable timed out.");e.Rd.resolve();e.ua.H(106020)},1E4);this.Mm=null;this.mg=new _.Mh;this.Tu=!0;this.ka=new _.bOc(_.jP(this.H),_.A(this.H.mf(),52,!1));this.Tg=new _.TNc(_.jP(this.H)?3:1,!_.A(this.H.mf(),52,!1));this.ua=_.sOc(this.H,this.ka,
this.Tg,this.W,this.Rd.promise,c);this.Zg=null;this.bo=new m4c(this.ua);this.Fc=new _.Mh;this.Pi=[];Z7c(this)};_.I(gQ,_.O);
var $7c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.Gx);a.Rd.resolve()},Z7c=function(a){var b=function(){a8c(a).ag(_.Se)},c=a.$e;(c=c&&_.mb(c,_.ik))?_.Id(c,"A",b):_.mN()||_.Id(_.m,"unload",b)},a8c=function(a){a.ua.H(106005);TSc(a.ua);var b=a.Pi.map(function(c){return c()});_.la(a.Pi);return _.Ih(b).then()},b8c=function(a,b){a.Pi.push(b)},y1c=function(a,b,c){"string"===typeof b&&null===a.Mm&&(a.Mm=b,a.mg.callback(b),b.length&&a.hw(b,c||null))};
gQ.prototype.hw=function(){};gQ.prototype.jn=function(){return this.Mm};var c8c=function(a){if(!a.Zg)throw Error("tg");return a.Zg},d8c=function(a,b){a.Zg=b};gQ.prototype.gFa=function(){return this.Tu||this.Tg.isConnected()};gQ.prototype.Hx=function(a){this.Fc.callback(a)};
var Y7c=function(a){var b=a.H.mf();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(_.nQ(a.H),9,!1))if(b=_.Rj(_.nQ(a.H),lQ,11),0<b.length){if(!_.z(b[0],1)||!b[0].getKey()&&!_.jP(a.H)&&!_.A(a.H,10,!1))throw Error("vg");}else _.x(_.nQ(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.A(_.nQ(a.H),9,!1)&&(_.jP(a.H)||_.A(a.H,10,!1)))throw Error("wg");var c=a.H.Ne();b=!(!c||!_.$M(c));c=c&&_.hP(c)||"";if(!b&&!c)throw Error("xg");b&&_.una(a.H,[]);_.Rj(a.H,_.se,44).forEach(function(d){try{NWc(a.ma,d)}catch(e){if(e instanceof _.rb&&(d=e.dg)&&3==d.Zr())throw Error("yg");throw e;}})};gQ.prototype.fFa=function(){return 0};gQ.prototype.rb=function(a){this.dispatchEvent(new _.sb(new _.rb(void 0,a)))};gQ.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var e8c=function(a,b){this.H=a;this.V=b},f8c=function(a,b,c){_.O.call(this);this.ua=a;this.ka=b;this.ma=c;this.H=new Map;this.W=new Map;this.ha=6;this.V=null};_.I(f8c,_.O);
var A1c=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())&&_.to(q))&&f.add(q)});[].concat(_.oc(f.values())).forEach(function(q){return void d.push(q)})}if(d.length){var h=_.fIc.has(c),k=new Map;d.forEach(function(q){k.set(q,new Map)});b.forEach(function(q){var t=q.getKey(),v=t&&_.to(t);t=t&&_.z(t,2);v=k.get(v);t&&v&&v.set(t,g8c(q))});var l=0,n=0;[].concat(_.oc(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)))&&_.Xj(y,B)||l++}),[].concat(_.oc(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.ua.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,$Q(a.ka,"px2C2c");$Q(a.ka,"rkYxSd")}(l||n)&&h8c(a,!h)}};f8c.prototype.zy=function(){return 0<this.H.size};
var h8c=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 _.gi("WPi0i"))},s7c=function(a,b){var c=b.getKey(),d=c&&_.to(c);c=c&&_.z(c,2);if(d&&c&&(d=a.H.get(d))){var e=d.get(c);b=g8c(b);e&&_.Xj(b,e)||(d.set(c,b),h8c(a))}};f8c.prototype.remove=function(a){var b=a&&_.to(a);a=a&&_.z(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&h8c(this)};
var P7c=function(a,b){var c=[];(b||[].concat(_.oc(a.H.keys()))).forEach(function(e){(e=a.H.get(e))&&[].concat(_.oc(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.H.has(e)}):[].concat(_.oc(a.H.keys()));var d=new cTc;_.Tj(d,1,c);_.x(d,2,b||[]);return d};
f8c.prototype.jG=function(a){var b=this,c=P7c(this,a),d=new _.uo;d.Ec(this.ha);_.dwa(d,c.Ow());_.R(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.gIc.has(f)&&Infinity>_.gIc.get(f)&&(e=f)});return new e8c(d,e)};
var g8c=function(a){a=a.clone();a.Th()||a.jc("");return a},i8c=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},j8c=function(a){return 127<a?a-256:a},k8c=function(a,b){return j8c(a[b])+(j8c(a[b+1])<<8)+(j8c(a[b+2])<<16)+(j8c(a[b+3])<<24)},l8c=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+=k8c(a,b),d.b+=k8c(a,b+4),d.c+=k8c(a,b+8),i8c(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+=k8c(a,b+4);d.a+=k8c(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+=k8c(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 i8c(d)},iQ=function(a,b,c,d,e,f){gQ.call(this,a,b,c,d);var h=this;this.Mb=new _.ee;this.Pa(this.Mb);this.Vu=_.Jh();
this.ha=e?e:new rWc(this.W);this.ua.ha.V=this.ha;this.hb=_.A(_.nQ(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?m8c(this,b):null;this.Xa=new CWc(mQ(b.Ne()));this.Ka=new mXc;this.xj=null;this.Se=_.Jh();this.Ga=n8c(this,this.hb);this.Db=o8c(this,this.hb,b);this.wa=p8c(this);this.V=new s5c(this,this.Ja);this.tc=new j0c(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return q8c(h,k)});this.ad=new q0c(this.W,this.ha,this.wa);this.Ma=new f8c(this.W,this.ha,this.wa);
this.Ks=new _.Mh;this.Su=null;this.Kc=new s0c(this.Dm(),this.W,function(k){return void h.rb(k)});this.Ib=_.A(this.H.mf(),52,!1)?new _.tOc(this.Tg,this.Dm(),this.W):null;this.Wf=new n6c;this.ne=null;this.Wu=_.Jh();ZQ(this.ha,["mrK8ic"],function(){h.Wu.promise.then(function(){z1c(h,h.ne)})});this.Ri=new _.Mh;this.jw=new _.sNc(this.H);this.Qa=new _.HMc(this.H,this.V.V);this.Fj=new X6c(this);this.Pd=new q6c(this.Se.promise,this.Dm());this.Qu=new s6c(this.Dm(),this.Pd);this.od=new I7c;this.Xm=new L6c(this.Se.promise,
this.Dm(),this.W,this.H);this.lc=new F7c(this,this.r9a.bind(this),f);this.Vu.resolve(this.lc);this.Ba=new p1c;this.iw=new z6c(this);this.wh=new m0c;this.Ie=_.Jh();this.Ns=!1;this.Os=_.Jh();ZQ(this.ha,["BNEDtc"],function(){return h.Os.resolve()});(this.Xb=_.D(b.Ne(),6,"")||"")&&q8c(this,this.Xb);this.lp=null;b8c(this,function(){h.wa.eP();return _.Fh()})};_.I(iQ,gQ);
var m8c=function(a,b){var c=_.hP(b.Ne()),d=_.iP(b),e=function(){},f=_.Rj(_.nQ(b),lQ,11);f=f[0]&&_.z(f[0],1);var h=new $1c(c,d,_.D(_.nQ(b),10,0)||0,f||"",_.DP(a.Ja));_.jP(b)?c=L2c(c,d).then(function(l){return l?l:h}):_.A(b,10,!1)&&0<_.D(_.nQ(b),8,432E6)?(b=r8c(a,c),c=L2c(c,d,b).then(function(l){return l&&(e=function(n){return n.Uk(h).ag(function(){return null})},!l.ua)?l:h})):c=_.Fh(h);var k=new LR(c,a.W,a.ua);k.initialize().then(function(){return e(k)},function(){return null});return k},r8c=function(a,
b){var c=_.D(_.nQ(a.H),8,432E6);if(!_.jP(a.H)&&0<c)return Math.abs(l8c(_.Lka(b)))%c};iQ.prototype.CA=function(a){var b=this;return this.hb?this.hb.lh()?_.Gh(Error("zg`"+v2c(this.hb))):n3c(this.Ga).then(function(c){var d=b.hb,e=[];e.push(b.wa.QAa());e.push(a?d.Uk():H2c(d));if(a===c)return _.Hh(e).then(function(){return!1});!1===a&&(e.push(u2c(d)),(c=b.jn())&&e.push(QR(b.Ga,g3c,c)));return _.Hh(e).then(function(){return b.Ga.CA(a)},function(){return!1})}):_.Gh(Error("Ag"))};
var o8c=function(a,b,c){var d=null;b&&(d=new S2c(b,c,function(e){a.rb(e)}),d.initialize());return d},n8c=function(a,b){var c=new l3c(b||void 0);c.jn().then(function(d){d&&y1c(a,d,5)});b&&(n3c(c).then(function(d){a.ka.CA(d)}),_.Hh([b.initialize(),a.Rd.promise]).then(function(){s8c(a,c)},function(){}));return c},s8c=function(a,b){q3c(b).then(function(c){(!c||c<Date.now()-864E5)&&O2c(_.hP(a.H.Ne()),_.iP(a.H),a.W).then(function(d){d&&(d=Date.now(),QR(b,j3c,d))},function(){})})},p8c=function(a){if(!a.Db)return new X7c;
var b=new L7c(a,a.Ja);a.Mb.listen(a.ka,"Cb",function(c){return void b.setActive(!c.Ff())});a.Mb.listen(a.Tg,[].concat(_.oc(Object.values(nWc))),function(){return void b.setActive(a.Tg.isConnected())});return b};iQ.prototype.Fx=function(a){this.Su=a;this.Ks.callback(a)};var RR=function(a){return a.Ks.Lk()},t8c=function(a){return a.hb?a.hb.lh():null},u8c=function(a,b){a.ha.H("NSockf")?$Q(a.ha,b):ZQ(a.ha,["NSockf"],function(){$Q(a.ha,b)})};
iQ.prototype.hw=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ka.H=a||"",this.ma.W=a||"",6!=b&&1!=b||QR(this.Ga,g3c,a),u8c(this,"jroI5d"))};var q8c=function(a,b){_.A(a.H,15,!1)||(a.Xb=b,u8c(a,"NVkrgc"))};iQ.prototype.Ms=function(){return this.Ri.Lk()};var z1c=function(a,b,c){0>b||(c?a.ne?a.ne=Math.max(a.ne,b):(a.ne=b,a.Wu.resolve()):a.Ri.Le()||(a.Ri.callback(b),u8c(a,"T8oKm")))},BR=function(a){if(!a.xj)throw Error("Bg");return a.xj};_.g=iQ.prototype;_.g.Dm=function(){return this.Vu.promise.then(function(a){return a.N1.promise})};
_.g.Wma=function(){this.Ns||(this.Ns=!0,this.Ie.resolve(),$Q(this.ha,"aU7Ts"))};_.g.gFa=function(){throw Error("Cg");};_.g.r9a=function(){this.lc.H()||this.dispatchEvent("Pb")};_.g.fFa=function(){return this.V.V.W()};
var V3c=function(a){a.lp||(a.lp=new w6c(a.Se.promise,a.Dm(),a.W));return a.lp},v8c=function(a){_.We("drive.DebugUtil.printFindById",function(c){a.PM(c).nb(function(d){window.console.log(JSON.stringify(d))})});_.We("drive.DebugUtil.getLogs",function(){return _.YKc(a.I$())});_.We("drive.DebugUtil.printLogs",function(){window.console.log(_.YKc(a.I$()))});_.We("drive.DebugUtil.printRequestHistory",function(){a.Bna().nb(function(c){c.forEach(function(d){window.console.log(_.z(d,1));window.console.log(_.z(d,
2))})})});_.We("drive.DebugUtil.getState",function(){return a.getState()});var b=a.$a();b&&_.A(b,1,!1)&&(_.We("drive.DebugUtil.getContext",function(){return a.getContext()}),_.We("drive.DebugUtil.setOffline",function(c){return void a.Uk(c)}))},hS=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.Ba=a;this.Ma=b;this.Xa=c;this.hc=e;this.hb=d;this.Qa=f;this.H=[];this.items=[];this.ua=6;this.Ga=cQc(new _.yN,[1]);this.wa=!0;this.ha=e.oh();this.W=!1;this.suggestionSessionId=this.ma=this.ka=null;this.V=
0;_.ud(this,function(){h.W=!1;h.H=[]})};_.I(hS,_.O);_.g=hS.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.ze=function(){return this.W};_.g.activate=function(){this.W=!0;_.ka(this.items)&&6==this.Gb()&&this.mj()||w8c(this)};_.g.kd=function(){return this.hc};_.g.oh=function(){return this.ha};_.g.Gb=function(){return this.ua};_.g.Gq=function(){return this.Ga};_.g.mj=function(){return this.wa};
_.g.Tp=function(){var a=_.EN(_.HN.Eb(),this.H,this.items),b=(new $Sc).Ec(this.Gb());a=_.Tj(b,2,a);this.H=this.items;return a};_.g.Kq=function(a){this.W&&(this.ha+=a||50,this.hb(this.ti(),this.ha))};var x8c=function(a,b){return a.Gb()!=b.Gb()||oQ(_.HN.Eb(),a.items,b.Bd())},y8c=function(a,b){a.items=b.Bd();a.ua=b.Gb();_.pN(a.Qa)&&(a.Ga=dQc(a.ua,a.items));a.wa=b.Tha();a.V=b.Re()};
hS.prototype.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a query after "+a.mE+" retries.",a.error)))};hS.prototype.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};hS.prototype.Bs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+cR(this.Ba,this.kd());return _.Sh(this.Ma.then(function(d){return d.ka(a,b,c.kd(),c.oh(),c.items)}))};
var w8c=function(a){a.ze()&&(z8c(a,"Returning "+a.items.length+" items. Status: "+(_.Xea(eTc)[a.Gb()]+". Datasource: ")+(_.Xea(UTc)[a.V]+". Query: ")+cR(a.Ba,a.hc)),A8c(a,a.items,a.hc),a.dispatchEvent(new _.gi(_.ec,a)))},A8c=function(a,b,c){if(_.kO(c))c="quick access";else if(_.lO(c))c="people predict";else if(_.mO(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");z8c(a,"Returning "+b.length+" items for "+c+": "+d)};hS.prototype.refresh=function(){};
var z8c=function(a,b){a.Xa.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.p("sy128");
var iS=function(a){_.Q(this,a,0,-1,null,null)};_.L(iS,_.P);iS.prototype.getType=function(){return _.z(this,1)};var B8c=function(a){var b=new iS;return _.x(b,1,a)};iS.prototype.eZ=function(){return _.C(this,_.wk,2)};var C8c=function(a,b){return _.R(a,2,b)};iS.prototype.Zt=function(){return _.z(this,3)};iS.prototype.Fu=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 jS=function(a){_.Q(this,a,0,-1,null,null)};_.L(jS,_.P);jS.prototype.getType=function(){return _.z(this,1)};var D8c=function(a){var b=new jS;return _.x(b,1,a)},E8c=function(a,b){return _.R(a,2,b)};jS.prototype.Zt=function(){return _.z(this,3)};jS.prototype.Fu=function(a){return _.x(this,3,a)};jS.prototype.ri=function(){return _.z(this,4)};jS.prototype.setPosition=function(a){return _.x(this,4,a)};
var kS=function(a){_.Q(this,a,0,-1,null,null)};_.L(kS,_.P);kS.prototype.getType=function(){return _.z(this,1)};var lS=function(a){var b=new kS;return _.x(b,1,a)},mS=function(a,b){return _.R(a,2,b)};kS.prototype.Zt=function(){return _.z(this,3)};kS.prototype.Fu=function(a){return _.x(this,3,a)};kS.prototype.ri=function(){return _.z(this,4)};kS.prototype.setPosition=function(a){return _.x(this,4,a)};
var G8c=function(a){_.Q(this,a,0,-1,F8c,null)};_.L(G8c,_.P);var F8c=[2];G8c.prototype.Gb=function(){return _.z(this,1)};G8c.prototype.Ec=function(a){return _.x(this,1,a)};G8c.prototype.Zj=function(){return _.z(this,3)};
var H8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(H8c,_.P);
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.Ec=function(a){return _.x(this,1,a)};J8c.prototype.jj=function(){return _.Rj(this,_.FN,2)};J8c.prototype.Lo=function(a,b){return _.Uj(this,2,a,_.FN,b)};
var L8c=function(a){_.Q(this,a,0,-1,K8c,null)};_.L(L8c,_.P);var K8c=[2];L8c.prototype.Gb=function(){return _.z(this,1)};L8c.prototype.Ec=function(a){return _.x(this,1,a)};L8c.prototype.$i=function(){return _.Rj(this,jS,2)};
var M8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(M8c,_.P);M8c.prototype.Gb=function(){return _.z(this,1)};M8c.prototype.Ec=function(a){return _.x(this,1,a)};
var O8c=function(a){_.Q(this,a,0,-1,N8c,null)};_.L(O8c,_.P);var N8c=[2];O8c.prototype.Gb=function(){return _.z(this,1)};O8c.prototype.Ec=function(a){return _.x(this,1,a)};O8c.prototype.$i=function(){return _.Rj(this,kS,2)};
var nS=function(a){_.Q(this,a,0,-1,null,null)};_.L(nS,_.P);nS.prototype.getType=function(){return _.z(this,1)};var P8c=function(a){var b=new nS;return _.x(b,1,a)};nS.prototype.Zt=function(){return _.z(this,3)};nS.prototype.Fu=function(a){return _.x(this,3,a)};nS.prototype.ri=function(){return _.z(this,4)};nS.prototype.setPosition=function(a){return _.x(this,4,a)};
var R8c=function(a){_.Q(this,a,0,-1,Q8c,null)};_.L(R8c,_.P);var Q8c=[2];R8c.prototype.Gb=function(){return _.z(this,1)};R8c.prototype.Ec=function(a){return _.x(this,1,a)};R8c.prototype.Zj=function(){return _.z(this,3)};
var T8c=function(a){_.Q(this,a,0,-1,S8c,null)};_.L(T8c,_.P);var S8c=[2,4];T8c.prototype.Gb=function(){return _.z(this,1)};T8c.prototype.Ec=function(a){return _.x(this,1,a)};T8c.prototype.Zj=function(){return _.z(this,3)};
_.oS=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.oS,_.P);_.oS.prototype.getType=function(){return _.z(this,1)};var U8c=function(a){var b=new _.oS;return _.x(b,1,a)};_.oS.prototype.rv=function(){return _.C(this,_.iR,2)};var V8c=function(a,b){return _.R(a,2,b)};_.oS.prototype.Zt=function(){return _.z(this,3)};_.oS.prototype.Fu=function(a){return _.x(this,3,a)};_.oS.prototype.ri=function(){return _.z(this,4)};_.oS.prototype.setPosition=function(a){return _.x(this,4,a)};
var X8c=function(a){_.Q(this,a,0,-1,W8c,null)};_.L(X8c,_.P);var W8c=[2,4];
var Z8c=function(a){_.Q(this,a,0,-1,Y8c,null)};_.L(Z8c,_.P);var Y8c=[2];Z8c.prototype.Gb=function(){return _.z(this,1)};Z8c.prototype.Ec=function(a){return _.x(this,1,a)};Z8c.prototype.Zj=function(){return _.z(this,3)};
var $8c=function(a){_.gi.call(this,"Rb");this.dataType=a};_.I($8c,_.gi);
var a9c=function(a,b){_.gi.call(this,"Sb");this.ka=a;this.H=b};_.I(a9c,_.gi);
var b9c=function(){};_.g=b9c.prototype;_.g.CF=function(a,b){return $Tc(ZTc(1),a).setPosition(b)};_.g.AF=function(a,b){return $Tc(ZTc(2).setPosition(b),a)};_.g.kK=function(a,b,c){return $Tc(ZTc(3).Fu(b).setPosition(c),a)};_.g.EI=function(a,b){return $Tc(ZTc(4),a).setPosition(b)};_.g.$F=function(a){return _.C(a,vQ,2)};
var c9c=function(){_.DN.call(this,new b9c,function(a){return a&&a.getName()})};_.I(c9c,_.DN);
var pS=function(a,b,c){_.O.call(this);var d=this;this.ha=a;this.Tg=b;this.limit=c||50;this.Xd=new _.ee(this);this.Pa(this.Xd);this.active=!1;this.status=6;this.Ka=cQc(new _.yN,[1]);this.ua=this.H=!1;_.ud(this,function(){d.active=!1;d.Xd.removeAll()})};_.I(pS,_.O);_.g=pS.prototype;_.g.Ff=function(){return this.ha.Ff()||this.Tg.Ff()};
_.g.activate=function(){var a=this;this.active||(this.active=!0,this.Xd.listen(this.ha,"Cb",_.Ue(this.uq)),this.Xd.listen(this.Tg,[].concat(_.oc(Object.values(nWc))),_.Ue(this.uq)),this.ha.Ff()?this.Xd.jd(this.ha,"Cb",function(b){b.Ff()||(a.xB(),a.dispatchEvent(new _.gi(_.Oq)))}):this.Tg.Ff()?this.Xd.jd(this.Tg,["wb","yb"],function(){a.xB();a.dispatchEvent(new _.gi(_.Oq))}):(this.xB(),this.dispatchEvent(new _.gi(_.Oq))))};_.g.xB=function(){};
_.g.Kq=function(a){var b=this;if(this.mj()){var c=this.limit;this.limit+=a||50;this.Zb()>c&&this.uq();this.ha.Ff()?this.Xd.jd(this.ha,"Cb",function(d){d.Ff()||b.UH()}):this.UH()}};_.g.QG=function(){this.Ff()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Gb=function(){return this.status};_.g.Gq=function(){return this.Ka};_.g.handleError=function(a){this.dispatchEvent(new _.sb(a))};_.g.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};_.g.mj=function(){return!this.H||this.ua};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Xd.removeAll();this.activate()};_.g.UH=function(){};
var d9c=function(a,b,c,d,e){pS.call(this,a,b,e.oh()||void 0);this.hc=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new c9c;this.wa=c};_.I(d9c,pS);_.g=d9c.prototype;_.g.xB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.getData=function(){return dUc(new zQ,this.V).Ec(this.status)};_.g.Tp=function(){var a=_.EN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new bUc).Ec(this.status);return _.Tj(b,2,a)};_.g.UH=function(){this.Ba(this.ti(),this.limit)};
_.g.uq=function(){if(this.active){var a=this.status;this.QG();if(this.W||a!=this.status)e9c(this,"Returning "+this.V.length+" labels for "+this.hc.Hc()),this.W=!1,this.dispatchEvent(new _.gi(_.ec,this))}};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.hc};
_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||oQ(0,this.V,b.V()))this.H=!0,this.status=b.Gb(),this.V=b.V(),this.ua=a.V,e9c(this,"Returning "+this.V.length+" labels for "+this.hc.Hc()),this.dispatchEvent(new _.gi(_.ec,this))};_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a category metadata query after "+a.mE+" retries.",a.error)))};var e9c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var f9c=function(a,b,c){_.O.call(this);var d=this;this.ka=a;this.hc=c;this.ua=b;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=cQc(new _.yN,[1]);this.ka.W.info("drive.ds.sync.TeamDriveLiveMap","Creating TD find by ids live map: "+this.hc.Il().join(", "));_.ud(this,function(){d.ha=!1;d.W=[]})};_.I(f9c,_.O);_.g=f9c.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 _.gi(_.ec,this))};_.g.kd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.QP;a.Ec(this.V);a.H=this.H;return a};_.g.Tp=function(){var a=eQc(this.W,this.H),b=new YTc;b.Ec(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.Gq=function(){return this.ma};_.g.rL=function(a){var b=this.hc;this.hc=a;this.ua.Ja(this.ti(),b,a)};
_.g.update=function(a){if(this.V!=a.Gb()||fQc(this.H,a.$r()))this.V=a.Gb(),this.H=a.$r(),_.pN(this.ka.H)&&(this.ma=dQc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a team drive find-by-IDs query after "+a.mE+" retries.",a.error)))};_.g.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};
var g9c=function(a,b,c,d,e,f){hS.call(this,a,b,c,e,f,d);this.Ka=null;this.Ja=void 0};_.I(g9c,hS);g9c.prototype.getData=function(){this.H=this.items;var a=NRc((new _.qC).Ec(this.Gb()).Ew(this.items),this.mj());a=_.R(a,7,this.Ka);return _.gKc(a.JI(this.ka).setSessionId(this.ma).NX(this.suggestionSessionId).MX(this.V),this.Ja)};g9c.prototype.update=function(a){x8c(this,a)&&(y8c(this,a),this.Ka=a.KX(),this.ka=a.KF(),this.ma=a.getSessionId(),this.suggestionSessionId=a.LX(),this.Ja=a.R7(),w8c(this))};
var h9c=function(a,b){var c={};a=_.kf(a,function(d){return!!d});b=_.kf(b,function(d){return!!d});_.jf(a,function(d,e){var f=b[e];f?_.Xj(d,f)||(d=mS(lS(4),f),c[e]=d):(d=mS(lS(2),d),c[e]=d)});_.jf(b,function(d,e){a[e]||(d=mS(lS(1),d),c[e]=d)});return c},i9c=function(a,b){return _.nf(a)!=_.nf(b)||!_.qf(h9c(a,b))};
var j9c=function(a,b){_.O.call(this);this.hc=b;this.je=!1;this.V=6;this.W={};this.H={}};_.I(j9c,_.O);_.g=j9c.prototype;_.g.activate=function(){this.je||(this.je=!0,_.qf(this.H)&&6==this.V||this.dispatchEvent(new _.gi(_.ec,this)))};_.g.Gb=function(){return this.V};_.g.Gq=function(){return new _.yN};_.g.getData=function(){this.W=this.H;var a=(new _.SP).Ec(this.V);_.jf(this.H,function(b,c){a.DM().set(c,b||new _.mC)});return a};
_.g.Tp=function(){var a=h9c(this.W,this.H);this.W=this.H;var b=(new M8c).Ec(this.V);_.jf(a,function(c,d){_.Jj(b,2,kS).set(d,c)});return b};_.g.rL=function(){throw Error("Dg");};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.hc};_.g.update=function(a){var b={};a.DM().forEach(function(c,d){c||(c=E6c(d));b[d]=c});if(this.V!=a.Gb()||i9c(this.W,b))this.V=a.Gb(),this.H=b,this.je&&this.dispatchEvent(new _.gi(_.ec,this))};
_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Workspace find by id after "+a.mE+" retries.",a.error)))};_.g.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};
var k9c=function(){};_.g=k9c.prototype;_.g.CF=function(a,b){return mS(lS(1),a).setPosition(b)};_.g.AF=function(a,b){return mS(lS(2).setPosition(b),a)};_.g.kK=function(a,b,c){return mS(lS(3).Fu(b).setPosition(c),a)};_.g.EI=function(a,b){return mS(lS(4),a).setPosition(b)};_.g.$F=function(a){return _.C(a,_.mC,2)};
var l9c=function(){_.DN.call(this,new k9c,function(a){return a&&a.getId()})};_.I(l9c,_.DN);
var m9c=function(a,b,c){pS.call(this,a.ka,a.Tg,b.oh()||10);this.hc=b;this.wa=c;this.W=[];this.V=[];this.ka=!1;this.ma=new l9c};_.I(m9c,pS);_.g=m9c.prototype;_.g.xB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.getData=function(){this.W=this.V;return fYc((new oR).Ec(this.status),this.V.slice(0))};_.g.Tp=function(){var a=_.EN(this.ma,this.W,this.V);this.W=this.V;var b=(new O8c).Ec(this.status);return _.Tj(b,2,a)};_.g.UH=function(){this.wa.W(this.ti(),this.limit)};
_.g.uq=function(){var a=this.status;this.QG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.hc};_.g.update=function(a){var b=a.response;if(this.status!=b.Gb()||oQ(0,this.V,b.$i()))this.H=!0,this.status=b.Gb(),this.V=b.$i(),this.ua=a.V,this.dispatchEvent(new _.gi(_.ec,this))};
_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Workspace query after "+a.mE+" retries.",a.error)))};
var o9c=function(a,b,c,d,e,f){_.O.call(this);var h=this;this.ka=a;this.wa=b;this.hc=f;this.Ba=d;this.Ga=e;this.ha=!1;this.W={};this.H={};this.V=6;this.ma=cQc(new _.yN,[1]);this.ua=c;n9c(this,"Creating find by ids live map: "+this.hc.Il().join(", "));_.ud(this,function(){h.ha=!1;h.W=[]})};_.I(o9c,_.O);_.g=o9c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.qf(this.H)&&6==this.V||p9c(this)};_.g.kd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.QP;_.pN(this.ka)?a.Ec(hPc(Object.values(this.H))?6:this.V):a.Ec(this.V);a.H=this.H;return a};_.g.Tp=function(){var a=eQc(this.W,this.H),b=new YTc;b.Ec(this.V);b.H=a;this.W=this.H;return b};_.g.Gb=function(){return this.V};_.g.Gq=function(){return this.ma};_.g.rL=function(a){LWc(a);var b=this.hc;this.hc=a;this.Ga(this.ti(),b,a)};
_.g.update=function(a){var b=this;0<=_.ia(this.kd().Il(),"root")?this.Ba.nb(function(c){var d=a.$r()[c];d&&(_.rf(a.H,c),a.H.root=d);q9c(b,a)}):q9c(this,a)};var q9c=function(a,b){if(a.V!=b.Gb()||fQc(a.H,b.$r()))a.V=b.Gb(),a.H=b.$r(),_.pN(a.ka)&&(a.ma=dQc(a.V,Object.values(a.H))),p9c(a)};o9c.prototype.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a find-by-IDs query after "+a.mE+" retries.",a.error)))};o9c.prototype.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};
var p9c=function(a){a.ha&&(n9c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Gb()+". Query: ")+cR(a.wa,a.hc)),a.dispatchEvent(new _.gi(_.ec,a)))},n9c=function(a,b){a.ua.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var r9c=function(a,b,c,d,e,f){hS.call(this,a,b,c,d,e,f);this.Ja=[]};_.I(r9c,hS);r9c.prototype.getData=function(){this.H=this.items;return YSc(XSc((new _.RP).Ec(this.Gb()).Ew(this.items),this.mj()),this.Ja).JI(this.ka).setSessionId(this.ma).NX(this.suggestionSessionId).MX(this.V)};r9c.prototype.update=function(a){x8c(this,a)&&(y8c(this,a),this.Ja=_.Rj(a,_.wk,6),this.ka=a.KF(),this.ma=a.getSessionId(),this.suggestionSessionId=a.LX(),w8c(this))};
var s9c=function(){};_.g=s9c.prototype;_.g.CF=function(a,b){return E8c(D8c(1),a).setPosition(b)};_.g.AF=function(a,b){return E8c(D8c(2).setPosition(b),a)};_.g.kK=function(a,b,c){return E8c(D8c(3).Fu(b).setPosition(c),a)};_.g.EI=function(a,b){return E8c(D8c(4),a).setPosition(b)};_.g.$F=function(a){return _.C(a,CQ,2)};
var t9c=function(){_.DN.call(this,new s9c,function(a){return a&&a.V()})};_.I(t9c,_.DN);
var u9c=function(a,b,c){pS.call(this,a.ka,a.Tg,b.oh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new t9c;this.ma=null};_.I(u9c,pS);_.g=u9c.prototype;_.g.xB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.getData=function(){this.ka=this.V;return xUc((new DQ).Ec(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Tp=function(){var a=_.EN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new L8c).Ec(this.status);return _.Tj(b,2,a)};
_.g.UH=function(){};_.g.uq=function(){var a=this.status;this.QG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.gi(_.ec,this))};_.g.Zb=function(){return this.V.length};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.hc};_.g.update=function(a){if(this.status!=a.Gb()||oQ(0,this.V,a.$i())){this.W=this.H=!0;this.V=a.$i();if(a=a.getSessionId())this.ma=a;this.uq()}};_.g.refresh=function(){this.wa()};
_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Suggested Workspace query after "+(a.mE+" retries."),a.error)))};
var v9c=function(a,b,c){_.O.call(this);var d=this;this.hc=a;this.Ba=b;this.wa=c;this.ka=[];this.H=[];this.ha=!1;this.ma=a.oh();this.V=6;this.ua=cQc(new _.yN,[1]);this.W=!0;_.ud(this,function(){d.ha=!1;d.ka=[]})};_.I(v9c,_.O);_.g=v9c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.ka(this.H)&&6==this.V&&this.W||this.dispatchEvent(new _.gi(_.ec,this))};_.g.kd=function(){return this.hc};_.g.Gb=function(){return this.V};_.g.Gq=function(){return this.ua};
_.g.mj=function(){return this.W};_.g.getData=function(){this.ka=this.H;return NRc((new _.qC).Ec(this.V).Ew(this.H),this.W)};_.g.Tp=function(){var a=_.EN(_.HN.Eb(),this.ka,this.H),b=(new $Sc).Ec(this.V);a=_.Tj(b,2,a);this.ka=this.H;return a};_.g.Kq=function(a){this.ha&&(this.ma+=a||20,this.Ba.W(this.ti(),this.ma))};
_.g.update=function(a){if(this.V!=a.Gb()||oQ(_.HN.Eb(),this.H,a.Bd()))this.H=a.Bd(),this.V=a.Gb(),_.pN(this.wa)&&(this.ua=dQc(this.V,this.H)),this.W=a.Tha(),this.ha&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.PG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Team Drive query after "+a.mE+" retries.",a.error)))};_.g.OJ=function(){this.dispatchEvent(new _.gi(_.DEa))};_.g.Bs=function(){throw Error("Eg");};_.g.refresh=function(){};
var w9c=function(a,b){this.H=a;this.ua=a.V;this.ma=this.H.Xm;this.Ka=this.H.Pd;this.ha={};this.Ba={};this.Ga={};this.V=null;this.wa=b};_.g=w9c.prototype;_.g.Tga=function(a){var b=this,c=new g9c(this.H.ma,this.H.Fc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.Wga=function(a){var b=this,c=new r9c(this.H.ma,this.H.Fc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};
_.g.Qga=function(a){var b=this,c=new o9c(this.H.H,this.H.ma,this.H.W,this.H.mg,this.Ja.bind(this),a);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.Zga=function(a){var b=this,c=new v9c(a,this,this.H.H);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.$ga=function(a){var b=this,c=new f9c(this.H,this,a);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.aha=function(a){var b=this,c=new m9c(this.H,a,this);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};
_.g.Xga=function(a){var b=this,c=new u9c(this.H,a,function(){if(a instanceof _.vo){var d=V3c(b.H);l6c(d,d.getKey(a)).refresh()}});qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.bha=function(a){var b=this,c=new j9c(this.H,a);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};_.g.Nga=function(a){var b=this,c=new d9c(this.H.ka,this.H.Tg,this.H.W,function(d,e){return b.W(d,e)},a);qS(this,c);_.ud(c,function(){return rS(b,c)});return c};
var qS=function(a,b){var c=b.ti();a.ha[c]=b;a.wa.create(c,b.kd());b=b.kd()instanceof _.yo?i6c(a.ma,c,b.kd()):"undefined"!=typeof _.EO&&b.kd()instanceof _.EO?j6c(a.ma,c,b.kd()):b.kd()instanceof _.vo?i6c(V3c(a.H),c,b.kd()):b.kd()instanceof _.GG?i6c(a.Ka,c,b.kd()):x5c(a.ua,c,b.kd());"boolean"===typeof b&&n4c(a.wa,c,b)},rS=function(a,b){if(b.kd()instanceof _.yo)k6c(a.ma,b.ti(),b.kd());else if("undefined"!=typeof _.EO&&b.kd()instanceof _.EO){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 _.vo?k6c(V3c(a.H),b.ti(),b.kd()):b.kd()instanceof _.GG?k6c(a.Ka,b.ti(),b.kd()):y5c(a.ua,b.ti(),b.kd());YR(a.wa,b.ti(),4);delete a.ha[b.ti()]};w9c.prototype.Ja=function(a,b,c){y5c(this.ua,a,b);x5c(this.ua,a,c)};
w9c.prototype.W=function(a,b){var c=H0c(this,a).kd();c.Gi(b);c instanceof _.yo?i6c(this.ma,a,c):"undefined"!=typeof _.EO&&c instanceof _.EO?j6c(this.ma,a,c):c instanceof _.GG?i6c(this.Ka,a,c):x5c(this.ua,a,c)};
w9c.prototype.ka=function(){_.ti(this.V);this.V=null;var a=Object.keys(this.Ba),b=Object.keys(this.Ga);a=_.u(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.Ba[c];if(d){delete this.Ba[c];var e=this.ha[c];e&&(p4c(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])YR(this.wa,a,3),d.PG(c)};var H0c=function(a,b){if(!a.ha[b])throw Error("Fg`"+b);return a.ha[b]};
var sS=function(a,b){_.O.call(this);this.ka=a;this.hc=b;this.W=_.Jh();this.V=!1;this.H=""};_.I(sS,_.O);sS.prototype.start=function(){var a=this;this.ka.then(function(b){return b.H(a.hc)}).then(this.ua.bind(this)).ag(this.ha.bind(this));return this.W.promise};sS.prototype.ua=function(a){this.H=a.H;this.dispatchEvent(new a9c(0,this.H));x9c(this)};var x9c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.MIc(a.H))}).then(a.wa.bind(a)).ag(a.ha.bind(a))},5E3)};
sS.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new a9c(a.ka,this.H)),x9c(this);else{this.V=!0;if(4==a.status){var b=new X8c;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.Lv);b=_.x(b,8,a.ha);a=_.Tj(b,4,a.V);this.W.resolve(a)}else a=_.kN(_.Gq(_.Fq(new _.qb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};sS.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.LIc(a.H))}).then(this.ma.bind(this)).ag(this.ha.bind(this))};
sS.prototype.ma=function(){if(!this.V){var a=new X8c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};sS.prototype.ha=function(a){this.V=!0;this.W.reject(_.MN(a));this.dispose()};
var y9c=function(){_.gi.call(this,"VbxEwf")};_.I(y9c,_.gi);
var z9c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=z9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.WM,58)};_.g.getContext=function(){return this.H};_.g.aFa=function(){var a=this.H.Qa,b=this.W,c=_.qc(a.H);a.V&&c.push(_.IMc("CacheSize",a.V.W()));c.push(_.IMc("InitialViewDataLoaded",b));a=new wSc;_.Tj(a,1,c);return _.Rh(a)};_.g.I$=function(){return this.H.W};_.g.PM=function(a){return _.Rh(this.H.V.V.H(a))};_.g.Bna=function(){return _.Rh(this.H.Qa.W.kh())};
_.g.Vca=function(a,b,c){var d=new _.Mh;if(_.C(a,_.YM,3)||_.C(a,_.JO,4)||_.C(a,_.EP,5)||_.C(a,_.BO,6)||_.C(a,_.dO,7)||_.C(a,_.XN,8)||_.C(a,_.aO,9)||_.C(a,_.qN,10)){var e=DXc(a);this.H.Dm().then(function(f){return f.H(e,{cnb:b,dnb:c})}).then(this.A5a.bind(this,d),d.Dd,d);return d}throw Error("Gg");};
_.g.A5a=function(a,b){var c=[],d="";if(b instanceof _.oP){c=b.qr().Bd();var e=_.z(b,2);d=b.Tm()}else if(b instanceof _.MO)b.getItem()&&c.push(b.getItem()),e=b.lJ();else throw Error("Hg");a.callback({items:c,Cxa:e,pageToken:d})};_.g.kMa=function(){var a=this.H.H,b=a.mf();a="email:"+a.Ne().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.Lwa=function(){this.H.wa.eP();var a=this.H.H;P2c(_.hP(a.Ne()),_.iP(a),this.H.W).ag(function(){})};_.g.uY=function(){return _.QGc[_.D(this.H.H.mf(),8,0)]};
_.g.usa=function(){this.H.od.H=new H7c(_.tg().substring(0,8))};_.g.J$=function(){var a=this.H.od.H,b=null;a&&(b=J7c(this.H.od),b={traceId:a,spanRecs:b});a=this.H.od;a.H=null;a.V=[];return _.Rh(b)};_.g.bFa=function(){return _.Rh(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.fFa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.c0());b.cs_ch=m1c(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Su)&&(b.t_cps=c.Y_a().join(","));b.t_id=t8c(this.H);var e=[];G7c(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.Tg.isConnected():this.H.Kc.H;b.n_o=this.H.Ib?this.H.Tg.Ff():this.H.ka.Ff();b.n_csm=!!this.H.Ib;a&&(b.csw_cc=a.V(),b.csw_ac=a.H(),b.csw_mcc=a.W());return _.Rh(JSON.stringify(b))};_.g.qLa=function(){this.V&&(this.V.dispatchEvent(new y9c),this.V.b0())};_.g.Uk=function(a){var b=this.H.Ib;b&&a!=b.H&&(b.H=a,_.QMc(b),a?b.qc.update(3):_.GLc(b))};
var C9c=function(a,b){this.H=a;this.V=b;this.ha=_.zIc(KSc(this.V),A9c);this.W=_.zIc(KSc(this.V),B9c)},D9c=function(a,b){var c={};b.forEach(function(f){_.DIc(f);var h=f.getId(),k=a.H.jn(),l=a.H.Xb;_.TJc(f,3);_.x(f,82,5);var n=CPc(f,!0);f.getCapabilities()||f.xn(new _.Bk);_.E(n,2)&&((n=f.li())&&n.length?_.x(f,46,n[0]):(_.YO(f,[k]),_.x(f,46,k)),k=f.xq(),_.x(f,12,k),k=new _.wk,k.kc(l),_.x(k,6,1),_.iJc(k,!0),_.$O(f,k),_.ZO(f,[k]),_.QM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=zXc(d.V,b);_.jf(e,function(f,
h){$P(f.getItem(),c[h],a.ha);(a.H.ka.Ff()||a.H.Tg.Ff()||3==aQ(f.getItem()))&&$P(f.getItem(),c[h],a.W);_.rf(c,h)});_.jf(c,function(f){f.Cm().Rp()&&(e[f.getId()]=new YQ(f))});M5c(d,Object.values(e))},E9c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});D9c(a,c)},A9c=[50],B9c=[12,11,10,67,68];
var F9c=function(a){this.ka=a;this.H=null;this.ha=new C9c(a,a.Ja);this.V=!1};
F9c.prototype.W=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.wa.bind(this);var b=this.ua.bind(this);G9c(this,"Querying all offline items.");this.H.H().Cf(a,b);this.V||(this.H.V((0,_.K)(this.ma,this)),this.V=!0)}}else{a=this.ha.H.V;b=new _.se;b.Uk(!0);b=BXc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==aQ(f)){var h=new _.wN;_.xN(h,f.getId());_.BN(h);d.push(h)}else h=new _.Fk,_.KN(h,!1),_.x(h,2,!1),_.R(f,81,h),c.push(b[e])}M5c(a,c);a.ua(d)}};
F9c.prototype.wa=function(a){G9c(this,"Processing all offline item(s): "+a.length);D9c(this.ha,a);$Q(this.ka.ha,"GZTDpc")};F9c.prototype.ua=function(){G9c(this,"Error fetching offline items.")};F9c.prototype.ma=function(a){G9c(this,"Handling offline change(s): "+a.length);E9c(this.ha,a)};var G9c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var tS=function(a){_.O.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new F9c(a);this.context.Zg=b;this.Ma=new z9c(a,this);v8c(this.Ma);(b=_.C(a.H,_.WM,58))&&_.A(b,1,!1);this.Xd=new _.ee(this);this.Pa(this.Xd);this.V=this.context.ha;this.ha=a.bo;this.W=new w9c(a,this.ha);a=this.context;b=this.W;a.xj=b;a.Se.resolve(b);this.wa=null;this.hb=this.Ba=!1;this.Qa=null;this.Wwa()};_.I(tS,_.O);_.g=tS.prototype;_.g.Wwa=function(){};
_.g.initialize=function(){var a=this;this.wa||(this.wa=_.Jh(),this.Qa=this.context.ua.W(106E3),this.context.W.info(this.Ka,"Initializing with client build: "+this.context.H.Ji()),this.$Ea(),this.Xd.listen(this.context,_.fc,this.B1a),this.Xd.listen(this.context.Kc,["ta","ua"],function(b){return void a.dispatchEvent(b)}),this.Xd.listen(this.context.Tg,[].concat(_.oc(Object.values(nWc))),function(b){return void a.dispatchEvent(b)}),this.V.start(),$Q(this.V,"NSockf"));return this.wa.promise};
_.g.vBa=function(){this.Qa&&this.Qa.V();this.context.W.info(this.Ka,"Ready to process requests.");this.Ba||(this.Ba=!0,this.wa.resolve())};_.g.B1a=function(a){var b=a.error,c=b.dg;c&&3==c.getType()&&!this.Ba?(this.Ba=!0,this.wa.reject(b)):this.dispatchEvent(a)};_.g.wV=function(){throw uS("teamDriveQuery");};_.g.Jca=function(){throw uS("teamDriveFindByIds");};_.g.hta=function(){throw uS("teamDriveMovePreflight");};_.g.Fpa=function(){throw uS("peoplePredictQuery");};
_.g.query=function(a){NWc(this.context.ma,a,JSc(this.context.Ja));this.CO();var b=this.W.Tga(_.Yj(a));this.hb||(a=a.oe(),a&&121==_.z(a,1)||(this.hb=!0,this.Xd.listen(b,_.ec,this.ZEa)));return b};_.g.ZEa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Ma.W=this.V.H("W6J7De"),this.Xd.Sc(a,_.ec,this.ZEa))};_.g.mr=function(a){this.CO();LWc(a);return this.W.Qga(_.Yj(a))};_.g.mfa=function(){throw uS("activityQuery");};_.g.Yfa=function(){throw uS("backupsQuery");};
_.g.sqa=function(){throw uS("refreshBackups");};_.g.tna=function(){throw uS("getAndroidBackupItems");};_.g.wha=function(){throw uS("deleteBackup");};_.g.Jpa=function(){throw uS("permissionQuery");};_.g.vla=function(){throw uS("insertPermission");};_.g.yha=function(){throw uS("deletePermission");};_.g.Yc=function(){throw uS("mutate");};_.g.PO=function(){throw uS("mutateWorkspace");};_.g.PA=function(){throw uS("bulkMutate");};_.g.Pga=function(){throw uS("createFileUploader");};
_.g.jxa=function(a){return new sS(this.context.Dm(),a)};_.g.dU=function(a){if(3==a.getType())return _.Sh(this.context.Dm().then(function(b){return b.H(a)}).then(null,_.ON));throw uS("getApps with type "+a.getType());};_.g.una=function(){throw uS("getApp");};_.g.xla=function(){throw uS("installApp");};_.g.vha=function(){throw uS("deleteApp");};_.g.H$=function(){throw uS("updateApp");};_.g.NS=function(){throw uS("getUserAccount");};_.g.jG=function(){throw uS("getUserPrefs");};
_.g.yna=function(){throw uS("mutateUserPref");};_.g.vna=function(){throw uS("getRevisions");};_.g.xna=function(){return!1};_.g.Uk=function(a){this.context.ka.Uk(a)};_.g.CA=function(){throw uS("setOfflineOptIn");};_.g.Ana=function(){throw uS("setLocalItemService");};_.g.CO=function(){};_.g.WEa=function(){$7c(this.context);this.context.ua.H(106006)};_.g.GY=function(){return this.Ma};_.g.zna=function(){};_.g.G$=function(){return this.context.Kc.H};_.g.sna=function(){return u0c(this.context.Kc)};
_.g.isConnected=function(){return 1==this.context.Ib.getState().get()};_.g.sync=function(){throw uS("sync");};_.g.b0=function(){return a8c(this.context)};_.g.Ooa=function(){throw uS("offlineDataLoaded");};_.g.KHa=function(a){return this.context.Dm().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.sga=function(){throw uS("categoryMetadataQuery");};_.g.uga=function(){throw uS("changeCategoryLinks");};_.g.JV=function(){throw uS("updateCategoryMetadata");};
_.g.iqa=function(){throw uS("publishedCategoriesQuery");};_.g.kba=function(){throw uS("publishedCategoryQuery");};_.g.sua=function(){throw uS("workspaceFindByIdsRequest");};_.g.rda=function(){throw uS("workspaceQueryRequest");};_.g.$sa=function(){throw uS("suggestedWorkspaceItemQueryRequest");};_.g.Bca=function(){throw uS("suggestedWorkspaceQueryRequest");};_.g.rna=function(){throw uS("addCacheHint");};_.g.N5=function(){throw uS("createUserFeedback");};
_.g.wna=function(){throw uS("handleChanges");};var uS=function(a){return new _.rb(a+" is unsupported",_.LN(3))};
var hQc=function(a){tS.call(this,a);y1c(a,"");q8c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.I(hQc,tS);hQc.prototype.$Ea=function(){ZQ(this.V,["NSockf"],this.vBa.bind(this))};
var H9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},I9c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},J9c=function(a){return new I9c(a.id,a.d,a.err||void 0)};
var vS=function(a,b,c){_.O.call(this);var d=this;this.Zm=a;this.ad=b;this.Ba=new _.Mh;this.hb={};this.Xa=this.Ma=this.tc=null;c.then(function(e){d.tc=e.clientId;d.Ma=e.channel;d.Xa=e.H;dR(d.Ma,d.Zm,(0,_.K)(d.k$a,d));dR(d.Ma,d.Zm+"_update",(0,_.K)(d.M5a,d));d.log("Service initialized.");d.Ba.callback()})};_.I(vS,_.O);_.g=vS.prototype;
_.g.k$a=function(a){a=J9c(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 _.qb(JSON.parse(a.error));else c=new _.qb,_.jN(c,2),_.kN(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.rb(void 0,c))}delete this.hb[a.id]}};_.g.M5a=function(a){a=J9c(a);this.U8(a.id,a.data,a.error)};_.g.U8=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Mh;this.Ba.nb(function(){var h=e.Ma,k=new H9c(e.tc,a,b,d),l=_.Jh();e.hb[k.H]=l;l.promise.then(function(n){f.callback((c||_.Se)(n))},function(n){n=n.dg;var q=_.z(n,21)||"";_.x(n,21,"Worker"+("An invalid response was received"==q?"["+a+"]: ":": ")+q);f.Dd(new _.rb(void 0,n))});eR(h,e.Zm,{c:k.clientId,m:k.method,a:k.args,req:k.requestId,res:k.H})});return f};_.g.log=function(a){this.Xa&&this.Xa.info(this.ad,a)};
var K9c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var wS=function(a,b,c){vS.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.I(wS,vS);wS.prototype.Tga=function(a){var b=this;a=new g9c(this.H.ma,this.H.Fc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);L9c(this,a);return a};wS.prototype.Wga=function(a){var b=this;a=new r9c(this.H.ma,this.H.Fc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);L9c(this,a);return a};
var L9c=function(a,b){xS(a,b);_.ud(b,function(){yS(a,b);a.send("4.3",[b.ti(),b.kd().Dc()])});a.send("4.1",[b.ti(),b.kd().Dc()])};_.g=wS.prototype;_.g.Qga=function(a){var b=this,c=new o9c(this.H.H,this.H.ma,this.H.W,this.H.mg,this.Ja.bind(this),a);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.4",[c.ti(),c.kd().Dc()])});this.send("4.2",[c.ti(),c.kd().Dc()]);return c};
_.g.Zga=function(a){var b=this,c=new v9c(a,this,this.H.H);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.11",[c.ti(),c.kd().Dc()])});this.send("4.9",[c.ti(),c.kd().Dc()]);return c};_.g.$ga=function(a){var b=this,c=new f9c(this.H,this,a);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.12",[c.ti(),c.kd().Dc()])});this.send("4.10",[c.ti(),c.kd().Dc()]);return c};
_.g.aha=function(a){var b=this,c=new m9c(this.H,a,this);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.15",[c.ti(),c.kd().Dc()])});this.send("4.13",[c.ti(),c.kd().Dc()]);return c};_.g.bha=function(a){var b=this,c=new j9c(this.H,a);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.16",[c.ti(),c.kd().Dc()])});this.send("4.14",[c.ti(),c.kd().Dc()]);return c};
_.g.Xga=function(a){var b=this,c=new u9c(this.H,a,function(){b.send("4.21",[c.ti()])});xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.23",[c.ti(),c.kd().Dc()])});this.send("4.22",[c.ti(),c.kd().Dc()]);return c};_.g.Nga=function(a){var b=this,c=new d9c(this.H.ka,this.H.Tg,this.H.W,function(d,e){return b.W(d,e)},a);xS(this,c);_.ud(c,function(){yS(b,c);b.send("4.19",[c.ti(),c.kd().Dc()])});this.send("4.18",[c.ti(),c.kd().Dc()]);return c};
var xS=function(a,b){a.V.create(b.ti(),b.kd());a.ha[b.ti()]=b},yS=function(a,b){YR(a.V,b.ti(),4);delete a.ha[b.ti()]};wS.prototype.Ja=function(a,b,c){if(b instanceof _.oo&&c instanceof _.oo)this.send("4.5",[a,b.Dc(),c.Dc()]);else if(b instanceof _.wo&&c instanceof _.wo)this.send("4.6",[a,b.Dc(),c.Dc()]);else throw Error("Ig");};
wS.prototype.W=function(a,b){if(!this.ha[a])throw Error("Fg`"+a);var c=this.ha[a];if(c.kd()instanceof _.se)var d="4.7";else if(c.kd()instanceof _.TM)d="4.8";else if(c.kd()instanceof _.GG)d="4.20";else if(c.kd()instanceof _.yo)d="4.17";else throw Error("Jg");c.kd().Gi(b);this.send(d,[a,b])};
wS.prototype.U8=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.qb(JSON.parse(c)),c=new jR(c,c.JX()),a.PG(c),YR(this.V,a.ti(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.OJ();return}c=a.kd();if(c instanceof _.se||c instanceof _.TM)f=JSON.parse(f),c instanceof _.se&&_.lO(c)?d=new _.RP(f):d=new _.qC(f);else if(c instanceof _.oo||c instanceof _.wo)d=new _.QP,XTc(d,function(h){return new _.Hk(JSON.parse(h))},f);else if(c instanceof _.GG)d=new _.UP(new zQ(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.yo)d=new _.XP(new oR(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.EO&&c instanceof _.EO)d=new _.SP(JSON.parse(f));else if(c instanceof _.vo)d=new DQ(JSON.parse(f));else throw Error("Kg");}d&&("boolean"===typeof b[e]&&n4c(this.V,a.ti(),!!b[e]),p4c(this.V,a.ti(),d),a.update(d))}};
var M9c=function(a,b){vS.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.I(M9c,vS);_.g=M9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.WM,58)};_.g.getContext=function(){return this.H};_.g.aFa=function(){return this.send("5.4",[this.V],function(a){return new wSc(JSON.parse(a[0]))})};_.g.I$=function(){return this.H.W};_.g.PM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Hk(b)})};
_.g.Bna=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 _.kFc(a[c]));return b})};_.g.Vca=function(a,b,c){return this.send("5.8",[a.Dc(),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 _.Hk(e[k]));return{items:h,Cxa:f,pageToken:d}})};_.g.kMa=function(){this.send("5.9",[])};_.g.Lwa=function(){this.send("5.1",[])};_.g.uY=function(){return _.QGc[_.D(this.H.H.mf(),8,0)]};
_.g.usa=function(){this.send("5.6",[])};_.g.J$=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 kR(a[e]));return{traceId:new H7c(b,c),spanRecs:d}})};_.g.bFa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new H7c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.qLa=function(){this.send("5.11",[])};
_.g.Uk=function(a){this.send("5.13",[a])};
var N9c=function(a,b){vS.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.hc=b;this.Nd=String(_.xa(this));this.H=null};_.I(N9c,vS);N9c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.hc.Dc()],function(b){return new X8c(JSON.parse(b[0]))},this.Nd).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};N9c.prototype.cancel=function(){this.send("9.2",[this.hc.Dc()],void 0,this.Nd)};
N9c.prototype.U8=function(a,b){this.dispatchEvent(new a9c(b[0],b[1]))};
var O9c=function(a){vS.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.I(O9c,vS);O9c.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().Cf(a,b);this.H.V((0,_.K)(this.ka,this))}else this.send("6.3",[])};O9c.prototype.ha=function(a){var b=[];_.Fa(a,function(c){b.push(c.Dc())});this.log("Forwarding all offline items response, count:"+a.length);this.send("6.1",b)};O9c.prototype.V=function(){this.log("Error fetching offline items.")};
O9c.prototype.ka=function(a){var b=[];_.Fa(a,function(c){b.push(c.Dc())});this.log("Forwarding offline items changes, count:"+a.length);this.send("6.2",b)};
var P9c=function(a,b){aS.call(this,a,b)};_.I(P9c,aS);P9c.prototype.L5=function(a,b,c){return new _.OIc(a,c)};P9c.prototype.Y7=function(a){return a.pageToken||""};P9c.prototype.u7=function(a){return a.response.V()};P9c.prototype.e0=function(){};
var Q9c=function(a,b,c){pS.call(this,a.ka,a.Tg,b.oh()||void 0);this.hc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new P9c(this.hc,this.ma)};_.I(Q9c,pS);_.g=Q9c.prototype;_.g.xB=function(){bS(this.ka).then(this.g$a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return lYc(new pR,this.W).Ec(this.status)};_.g.Tp=function(){return new H8c};_.g.mj=function(){return!this.Ff()&&(!this.H||c6c(this.ka))};_.g.g$a=function(a){this.V=this.H=!0;this.W=a;this.uq()};
_.g.uq=function(){if(this.active){var a=this.status;this.QG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.gi(_.ec,this))}};_.g.Zb=function(){return this.W.length};
var R9c=function(a,b,c){pS.call(this,a.ka,a.Tg,b.oh()||10);this.hc=b;this.wa=c;this.ka=[];this.V=[];this.W=!1;this.Ba=new _.HN;this.ma=null};_.I(R9c,pS);_.g=R9c.prototype;_.g.xB=function(){var a=this;this.wa(this.hc).then(function(b){a.H=!0;a.W=!0;a.V=b.jj();if(b=b.getSessionId())a.ma=b;a.uq()},this.handleError.bind(this))};_.g.getData=function(){this.ka=this.V;return _.KHc((new _.zN).Ec(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Tp=function(){var a=_.EN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new J8c).Ec(this.status);return _.Tj(b,2,a)};_.g.UH=function(){};_.g.uq=function(){var a=this.status;this.QG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.gi(_.ec,this))};_.g.Zb=function(){return this.V.length};
var S9c=function(){};_.g=S9c.prototype;_.g.CF=function(a,b){b=P8c(1).setPosition(b);_.R(b,2,a);return b};_.g.AF=function(a,b){b=P8c(2).setPosition(b);_.R(b,2,a);return b};_.g.kK=function(a,b,c){b=P8c(3).Fu(b).setPosition(c);_.R(b,2,a);return b};_.g.EI=function(a,b){b=P8c(4).setPosition(b);_.R(b,2,a);return b};_.g.$F=function(a){return _.C(a,_.UQ,2)};
var U9c=function(){_.DN.call(this,new S9c,function(a){return T9c(a)})};_.I(U9c,_.DN);var T9c=function(a){switch(_.Fj(a,ZVc[0])){case 6:return _.dy(_.C(a,_.cy,6)).getTime().toString();case 7:var b=_.C(a,_.TQ,7);a=_.C(b,_.cy,1);b=b.Bq();return a&&b?(a=_.dy(a).getTime(),_.dy(b).getTime()+"--"+a):"";default:return""}};_.Te(U9c);
var zS=function(a,b,c,d){pS.call(this,b.ka,b.Tg,d);this.hc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ba=new _.NNc(_.D(b.H.mf(),6,1E3));this.ka=!1;this.Ga=c};_.I(zS,pS);_.g=zS.prototype;_.g.activate=function(){pS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.hc.uAa()?V9c(this):this.Ja()};_.g.Kq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;pS.prototype.Kq.call(this,a)};
_.g.getData=function(){var a=(new T8c).Ec(this.status);_.Tj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Tp=function(){var a=_.EN(U9c.Eb(),this.wa,this.V),b=new R8c;a=_.Tj(b,2,a).Ec(this.status);this.wa=_.ra(this.V);return a};_.g.mj=function(){return!this.Ff()&&(!this.H||this.V.length>this.limit||!!this.ma)};_.g.kd=function(){return this.hc};_.g.dFa=function(a){this.dispatchEvent(new _.sb(a));this.W=!1};
_.g.U3a=function(a,b){this.H=!0;var c=_.Rj(b,_.UQ,1);this.V=this.V.concat(c);this.ma=b.dG()||"";0<c.length&&(this.ka=!0);this.uq();V9c(this,a)};_.g.i4a=function(a){U9c.Eb();this.H=!0;var b=_.Rj(a,_.UQ,1);oQ(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.dG()||"",this.ka=!0,this.uq(),V9c(this)):(this.W=!1,W9c(this))};var V9c=function(a,b){a.active?(a.W=!0,a.mj()&&a.V.length<a.limit?a.Ga(a.hc,a.limit-a.V.length,a.ma).Cf(_.Ue(a.U3a,b),a.dFa,a):(a.W=!1,b&&b.callback(),W9c(a))):a.W=!1};
zS.prototype.Ja=function(){this.active&&(this.W=!0,this.Ga(this.hc,this.limit).Cf(this.i4a,this.dFa,this))};zS.prototype.uq=function(){if(this.active){var a=this.status;this.QG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};zS.prototype.QG=function(){this.Ff()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};zS.prototype.UH=function(){this.active&&this.mj()&&!this.W&&V9c(this,new _.Mh)};
var W9c=function(a){a.hc.uAa()||(_.VH(a.Ba),_.m.setTimeout((0,_.K)(a.Ja,a),a.Ba.yb()))};zS.prototype.Zb=function(){return this.V.length};
var X9c=function(){};_.g=X9c.prototype;_.g.CF=function(a,b){return V8c(U8c(1),a).setPosition(b)};_.g.AF=function(a,b){return V8c(U8c(2).setPosition(b),a)};_.g.kK=function(a,b,c){return V8c(U8c(3).Fu(b).setPosition(c),a)};_.g.EI=function(a,b){return V8c(U8c(4),a).setPosition(b)};_.g.$F=function(a){return a.rv()};
var Y9c=function(){_.DN.call(this,new X9c,function(a){return a.getId()})};_.I(Y9c,_.DN);_.Te(Y9c);
var Z9c=function(a,b,c){pS.call(this,b.ka,b.Tg);this.hc=a;this.ma=[];this.V=[];this.W=new _.NNc(_.D(b.H.mf(),54,1E3));this.ka=!1;this.wa=c};_.I(Z9c,pS);_.g=Z9c.prototype;_.g.activate=function(){pS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.poll()};_.g.getData=function(){var a=new sR;a=_.Tj(a,2,this.V).Ec(this.status);this.ma=_.ra(this.V);return a};_.g.Tp=function(){var a=_.EN(Y9c.Eb(),this.ma,this.V),b=new Z8c;a=_.Tj(b,2,a).Ec(this.status);this.ma=_.ra(this.V);return a};
_.g.mj=function(){return!this.Ff()&&!this.H};_.g.poll=function(){var a=new _.Mh;this.wa(this.hc).Cf(_.Ue(this.i$a,a),_.Ue(this.h$a,a),this);return a};_.g.h$a=function(a,b){this.dispatchEvent(new _.sb(b));a.Dd(b);$9c(this)};_.g.i$a=function(a,b){this.H=!0;b=_.Rj(b,_.iR,2);oQ(Y9c.Eb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.uq();a.callback();$9c(this)};_.g.uq=function(){if(this.active){var a=this.status;this.QG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};
_.g.UH=function(){};var $9c=function(a){a.active&&(_.m.setTimeout((0,_.K)(a.poll,a),a.W.yb()),_.VH(a.W))};Z9c.prototype.Zb=function(){return this.V.length};
var a$c=function(){};_.g=a$c.prototype;_.g.CF=function(a,b){return C8c(B8c(1),a).setPosition(b)};_.g.AF=function(a,b){return C8c(B8c(2).setPosition(b),a)};_.g.kK=function(a,b,c){return C8c(B8c(3).Fu(b).setPosition(c),a)};_.g.EI=function(a,b){return C8c(B8c(4),a).setPosition(b)};_.g.$F=function(a){return a.eZ()};
var b$c=function(){_.DN.call(this,new a$c,function(a){return a.getId()})};_.I(b$c,_.DN);_.Te(b$c);
var AS=function(a,b,c){_.O.call(this);this.ma=a;this.hc=b;this.H="";this.V=this.W=!1;this.ha=0;this.yt=[];this.ua=c};_.I(AS,_.O);AS.prototype.Gi=function(a){this.ha=a};var d$c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():c$c(a)};AS.prototype.a8=function(){return this.yt};var c$c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.yt.length,100);var c=new _.qO;c=_.R(c,3,a.hc);c=_.x(c,2,a.H);b=_.x(c,1,b);return a.ua(b).then(a.ka.bind(a)).then(null,a.wa.bind(a))};
AS.prototype.ka=function(a){this.V=!1;this.H=a.Tm()||"";a=a.qr().xJ();this.yt=_.qa(this.yt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.yt.length<this.ha)return c$c(this);this.dispatchEvent("Hb")};AS.prototype.wa=function(a){this.V=!1;a=new jR(_.lN(a),_.D(this.ma.H.mf(),1,1));this.dispatchEvent(a)};
var BS=function(a,b,c,d){pS.call(this,b.ka,b.Tg,d||100);var e=this;this.wa=b;this.hc=a;this.ma=[];this.yt=[];this.ka=!1;this.W=null;this.Ba=c;this.V=new AS(b,this.hc,this.Ba);_.ud(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.I(BS,pS);_.g=BS.prototype;_.g.activate=function(){pS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.eFa()};_.g.Kq=function(a){pS.prototype.Kq.call(this,a||100)};
_.g.getData=function(){var a=new zSc;a=_.Tj(a,2,this.yt.slice(0,this.limit)).Ec(this.status);this.ma=_.ra(this.yt);return a};_.g.Tp=function(){var a=_.EN(b$c.Eb(),this.ma,this.yt),b=new G8c;a=_.Tj(b,2,a).Ec(this.status);this.ma=_.ra(this.yt);return a};_.g.mj=function(){var a;(a=!this.Ff())&&!(a=!this.H)&&(a=this.V,a=!a.W||""!=a.H);return a};_.g.kd=function(){return this.hc};
_.g.eFa=function(){var a=this;this.V=new AS(this.wa,this.hc,this.Ba);this.V.Gi(this.limit);return d$c(this.V).then(function(){return e$c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){pS.prototype.handleError.call(this,a);f$c(this)};var e$c=function(a){a.H=!0;var b=a.V.a8();oQ(b$c.Eb(),a.yt,b)&&(a.ka=!0,a.yt=b);a.uq();f$c(a)};BS.prototype.uq=function(){if(this.active){var a=this.status;this.QG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};
BS.prototype.UH=function(){var a=this;this.V.Gi(this.limit);d$c(this.V).then(function(){return e$c(a)},function(b){return a.handleError(b)})};var f$c=function(a){if(a.active){var b=a.wa.H.mf();a.W=_.m.setTimeout((0,_.K)(a.eFa,a),Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,15,36E5))}};BS.prototype.Zb=function(){return this.yt.length};var g$c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.gi(_.ec,a))},0)};
var h$c=function(a,b){vS.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.hc=b;this.Nd=String(_.xa(this));this.H=null};_.I(h$c,vS);h$c.prototype.ha=function(){var a=this;this.H||(this.H=_.Jh(),this.send("10.1",[this.hc.Dc()],function(b){a.H.resolve(b[0])},this.Nd).De(function(b){a.H.reject(b)}));return this.H.promise};h$c.prototype.cancel=function(){this.send("10.2",[this.hc.Dc()],void 0,this.Nd)};
var i$c=function(a,b,c,d,e,f,h,k){_.YP.call(this,a,b,c,d,f,h,k);this.V=e;this.le=null};_.I(i$c,_.YP);i$c.prototype.Ina=function(a,b){var c=this;return _.Sh(this.V.then(function(d){return d.V(LOc(c.W,c.Xa,a,b,c.H,c.wa))},null))};i$c.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,_.hKc,15);e&&(d=_.z(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.yOc(a,b,d))}};
var j$c=function(a,b){vS.call(this,"FU","drive.ds.sync.upload.FileUploaderProxy",a);this.W=b;this.Nd=String(_.xa(this));this.H={};this.V={};_.ud(this,(0,_.K)(this.AUa,this))};_.I(j$c,vS);_.g=j$c.prototype;_.g.pR=function(){return _.ug()};
_.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 _.hKc;_.x(d,1,b.size);_.R(a,15,d);d=_.ug();this.V[_.lP(a)]=b}return this.send("7.1",[this.Nd,a.Dc(),c],function(e){return new _.MO(JSON.parse(e[0]))},d)};_.g.cancel=function(a){this.send("7.2",[this.Nd,a])};_.g.Rx=function(){this.send("7.3",[this.Nd])};
_.g.Jna=function(a){var b={};_.Fa(a,function(d){b[d]=new _.Mh});var c=this.pR();this.H[c]=b;this.send("7.4",[this.Nd,c,a]);return _.qc(b)};_.g.Ina=function(a,b){var c=this;return this.send("7.5",[this.Nd,a,b],function(d){return gUc(d[0])}).nb(function(d){return _.Sh(c.W.then(function(e){return e.V(d)}))})};_.g.AUa=function(){this.send("7.6",[this.Nd])};
_.g.U8=function(a,b){if(b)switch(_.vg(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,_.NKc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.MO(JSON.parse(b[2]));k$c(this,b[0],b[1],a);break;case 1:a=new _.rb(void 0,new _.qb(JSON.parse(b[2])));k$c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.yOc(b[0],b[1],b[2]));break;default:throw Error("Lg");}};
var k$c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.MO?e.callback(d):e.Dd(d);delete a.H[b][c];_.qf(a.H[b])&&delete a.H[b]}};
var l$c=function(a,b){if(0==a.length)throw new _.rb("mutateUserPref requires a namespace.",_.LN(3));if("undefined"!=typeof _.MD&&b instanceof _.MD)var c=(b=(b=b.V())&&b.getKey())&&_.to(b)||null;else"undefined"!=typeof _.LD&&b instanceof _.LD&&(c=(b=b.getKey())&&_.to(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.rb("mutateUserPref unsupported for namespace: "+c,_.LN(3));};
var hQ=function(a,b){var c=_.Jh();vS.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;d8c(this.H,new O9c(c.promise));this.Ga=b;LSc(this.Ga,_.z(this.H.H,28));this.Fc=qPc(_.DP(this.Ga));this.V=a.bo;this.W=new wS(c.promise,a,this.V);this.Qa=new M9c(c.promise,a);v8c(this.Qa);this.Ib=!1;this.Ja=_.Fh(this.Ba);this.ua=this.Xb=!1;this.Ka=new _.ee(this);this.Pa(this.Ka);this.Db=!1;this.lc=_.Jh();this.rb=!1;this.ka=this.ma=this.ha=null;this.Ka.listen(this.H.Tg,[].concat(_.oc(Object.values(nWc))),
function(e){return void d.dispatchEvent(e)})};_.I(hQ,vS);hQ.prototype.initialize=function(){var a=this,b=_.C(this.H.H,ERc,66);if(this.Ib)return this.Ja;if(!b||!_.z(b,1))return b=new _.rb("Dataservice URL not provided."),this.Ba.Dd(b),this.Ja;var c=this.H.ua.W(106E3);this.Ib=!0;this.H.W.info("drive.ds.sync.ItemServiceProxy","Initialization started with client build: "+this.H.H.Ji());m$c(this,b);this.Ja.then(function(){c.V();a.hIa()});return this.Ja};
var m$c=function(a,b){var c=n$c(a),d=!0,e=_.z(b,5)||"";if(_.MHc(window.location.href,c.toString())&&e){d=!1;c=oPc(e,o$c(a),a.Fc,_.z(b,6));var f=new aXc(c,!1)}else b=p$c(c.toString()),c=_.XEc(c.V,void 0,c.H,c.ha),f=new aXc(ZWc(window.frames[b],c.toString()),!1);q$c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();b8c(a.H,function(){return r$c(f)})},r$c=function(a){return _.aia([new _.Eh(function(b){a.isDisposed()||eR(a,"8.1",void 0,function(){a.dispose();b()})}),
_.ui(1E4)])},n$c=function(a){var b=new _.Si(_.z(_.C(a.H.H,ERc,66),1));var c=new _.Si(window.location);var d=c.V+"://"+c.H;null!=c.ha&&(d+=":"+c.ha);c=_.kj(d,3);_.bj(b,"co",c);c=b.ye();!_.jP(a.H.H)&&0<_.nN(a.H.H.Ne())&&(a=_.nN(a.H.H.Ne()),c+="u/"+a+"/");_.Wi(b,c+"_/dataservice/cacheproxy");return b},p$c=function(a){var b="cpiframe_"+_.ug();a=_.ch("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Sfa(_.LHc(_.Df("display: none;")));document.body.appendChild(a);return b},q$c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.K)(a.Kc,a));else{var d=function(){var e=new _.ycb(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.Fc}};b.registerService("1.1",function(){return d()});b.send("8.5",d())}eR(b,"8.4",{dsc:a.H.H.Dc()});s$c(b);t$c(a,b);dR(b,"2.1",function(){return{dsc:a.H.H.Dc()}});dR(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new K9c(e.id,b,a.H.W,e.clients)),e.dsp&&s$c(b),e.ivd&&t$c(a,b)):(e=
new _.qb(JSON.parse(e.err)),a.Ba.Dd(new _.rb("Unable to initialize dataservice.",e)))});dR(b,"2.15",function(e){a.dispatchEvent(new $8c(e.dt))});dR(b,"2.5",function(e){y1c(a.H,e.id)});dR(b,"2.6",function(e){a.H.ka.Uk(e.os)});dR(b,"2.18",function(e){a.H.ka.CA(e.oois)});dR(b,"2.7",function(){a.ua=!1});dR(b,"2.8",function(e){a.H.Tu=e.au;a.dispatchEvent(new fTc(e.au?"ta":"ua"))});dR(b,"2.19",function(e){a.H.Tg.update(e.cs)});dR(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Qx("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.pP(a.H.W,f,e,"fine");break;case "finer":_.pP(a.H.W,f,e,"finer");break;case "finest":_.pP(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":ESc(a.H.W,f,e);break;default:ESc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),ESc(a.H.W,f,e)}});dR(b,"2.10",function(e){a.dispatchEvent(new _.sb(new _.rb(void 0,new _.qb(JSON.parse(e.p)))))});dR(b,"2.12",function(){a.rb=!0;CS(a)});
dR(b,"2.14",function(){return a.lc.resolve()});dR(b,"2.16",function(){return a.Xb=!0});dR(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},s$c=function(a){_.m._DRIVE_dsp&&eR(a,"8.3",{dsp:u$c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];eR(a,"8.3",{dsp:u$c(c)})}}},t$c=function(a,b){_.A(a.H.H,24,!1)&&(_.m._DRIVE_ivd?eR(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&eR(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};hQ.prototype.Kc=function(){return{uid:o$c(this),fds:_.DP(this.Ga)}};var o$c=function(a){a=_.Yj(a.H.H);a=_.x(a,28,[]);a=_.una(a,[]);var b=new _.SM;b.update(_.hP(a.Ne()));b.update(String(_.nN(a.Ne())));b.update(a.Dc());return _.bFc(b.digest())},u$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=hQ.prototype;
_.g.query=function(a){CS(this);NWc(this.H.ma,a,JSc(this.Ga));this.CO();var b=this.W.Tga(a);this.Db||(a=a.oe(),a&&121==_.z(a,1)||(this.Db=!0,this.Ka.listen(b,_.ec,this.cFa)));return b};_.g.cFa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Qa.V=this.Xb,this.Ka.Sc(a,_.ec,this.cFa))};_.g.mr=function(a){CS(this);LWc(a);this.CO();return this.W.Qga(a)};
_.g.mfa=function(a,b){var c=this;CS(this);if(this.ma&&_.Xj(this.ma.kd(),a))return this.ma;var d=(0,_.K)(hQ.prototype.ZYa,this);this.ma=new zS(_.Yj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.ZYa=function(a,b,c){return this.send("3.17",[a.Dc(),b,c],function(d){return new mWc(JSON.parse(d[0]))})};
_.g.Jpa=function(a,b){var c=this;CS(this);if(this.ka&&_.Xj(this.ka.kd(),a))return g$c(this.ka),this.ka;var d=(0,_.K)(hQ.prototype.aZa,this);this.ka=new BS(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.aZa=function(a){return this.send("3.18",[a.Dc()],function(b){return new ZXc(JSON.parse(b[0]))})};_.g.vla=function(a){CS(this);return this.send("3.14",[a.Dc()],function(b){return new nR(JSON.parse(b[0]))})};_.g.yha=function(a){CS(this);return this.send("3.15",[a.Dc()],function(b){return new nR(JSON.parse(b[0]))})};
_.g.Yc=function(a){CS(this);!this.ua&&_.OO(a)&&(this.ua=!0);a=sPc(a);return this.send("3.3",[a.Dc()],function(b){if(!_.Ec(b))return new _.MO(JSON.parse(b[0]))})};_.g.PO=function(a){CS(this);a=BPc(a);return this.send("3.35",[a.Dc()],function(b){return new gTc(JSON.parse(b[0]))}).then()};
_.g.PA=function(a){CS(this);for(var b=0;b<a.length;b++)!this.ua&&_.OO(a[b])&&(this.ua=!0);a=vPc(a);return this.send("3.4",[a.Dc()],function(c){var d={};c=JSON.parse(c[0]);_.jf(c[0],function(e,f){d[f]=new _.MO(JSON.parse(e))});_.jf(c[1],function(e,f){e=new _.qb(JSON.parse(e));d[f]=_.MN(e)});return d})};_.g.Pga=function(){CS(this);return new j$c(this.wa.promise,this.H.Fc)};_.g.jxa=function(a){CS(this);return new N9c(this.wa.promise,a)};
_.g.dU=function(a,b){var c=this;CS(this);var d=_.tg();this.V.create(d,a);return this.send("3.5",[a.Dc(),!!b],function(e){e=JSON.parse(e);var f=new lR(JSON.parse(e[0]));return new _.TP(f,e[1],e[2])}).nb(function(e){q4c(c.V,d,e);return e.response}).De(function(e){YR(c.V,d);return e})};_.g.una=function(a){CS(this);return this.send("3.10",[a.Dc()],function(b){return new WXc(JSON.parse(b[0]))})};_.g.xla=function(a){CS(this);return this.send("3.11",[a.Dc()],function(b){return new mR(JSON.parse(b[0]))})};
_.g.vha=function(a){CS(this);return this.send("3.12",[a.Dc()],function(b){return new mR(JSON.parse(b[0]))})};_.g.H$=function(a){CS(this);return this.send("3.13",[a.Dc()],function(b){return new mR(JSON.parse(b[0]))})};_.g.NS=function(a,b){var c=this;CS(this);var d=_.tg();this.V.create(d,a);return this.send("3.1",[a.Dc(),!!b],function(e){e=JSON.parse(e);var f=new _.rR(JSON.parse(e[0]));return new _.WP(f,e[1],e[2])}).nb(function(e){q4c(c.V,d,e);return e.response}).De(function(e){YR(c.V,d);return e})};
_.g.jG=function(a,b){var c=this,d=_.Gj(this.H.H.mf(),30);if(!d||0==d.length)return _.Th(new _.rb("getUserPrefs requires a namespace.",_.LN(3)));CS(this);var e=_.tg();this.V.create(e,a);return this.send("3.2",[a.Dc(),d,!!b],function(f){f=JSON.parse(f);var h=new _.uo(JSON.parse(f[0]));return new _.VP(h,f[1],f[2])}).nb(function(f){q4c(c.V,e,f);return f.response}).De(function(f){YR(c.V,e);return f})};_.g.yna=function(a){CS(this);l$c(_.Gj(this.H.H.mf(),30),a);a=yPc(a);return this.send("3.6",[a.Dc()],function(b){return new $Xc(JSON.parse(b[0]))})};
_.g.vna=function(a){CS(this);return this.send("3.16",[a.Dc()],function(b){return new BSc(JSON.parse(b[0]))})};_.g.xna=function(){return this.ua};_.g.Uk=function(a){CS(this);this.send("3.8",[a])};_.g.CA=function(a){CS(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.Ana=function(a){CS(this);c8c(this.H).W(a);this.CA(!!a)};_.g.CO=function(){CS(this);this.send("3.9",[])};
_.g.WEa=function(){CS(this);this.send("3.41",[]);$7c(this.H);var a=RSc(this.H.ua,106006);a&&this.wa.promise.then(function(b){var c=_.C(_.OP(a),qSc,6);if(!c){c=new qSc;var d=_.OP(a);_.R(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.G$=function(){CS(this);return this.H.gFa()};_.g.sna=function(){CS(this);return v$c(this.send("3.19",[],function(a){return new rYc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Tg.isConnected()};_.g.GY=function(){return this.Qa};
_.g.sync=function(){CS(this);return this.send("3.28",[]).then()};_.g.b0=function(){return a8c(this.H)};_.g.zna=function(){};_.g.Jca=function(a){CS(this);if(!_.kP(this.H.H))throw new _.rb("function is unsupported",_.LN(3));return this.W.$ga(a)};_.g.wV=function(a){CS(this);if(!_.kP(this.H.H))throw new _.rb("function is unsupported",_.LN(3));return this.W.Zga(a)};_.g.Fpa=function(a){CS(this);QWc(this.H.ma,a,JSc(this.Ga));return this.W.Wga(a)};
_.g.hta=function(a){CS(this);return new h$c(this.wa.promise,a)};_.g.Yfa=function(a){CS(this);if(!this.ha||this.ha.isDisposed()){var b=hQ.prototype.$Ya.bind(this);this.ha=new Z9c(a,this.H,b)}return this.ha};_.g.$Ya=function(a){return this.send("3.20",[a.Dc()],function(b){return new sR(JSON.parse(b[0]))})};_.g.sqa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Fh()};_.g.tna=function(a){CS(this);return this.send("3.25",[a.Dc()],function(b){return new xYc(JSON.parse(b[0]))})};
_.g.wha=function(a){CS(this);return this.send("3.22",[a.Dc()],function(){return new zYc})};_.g.Ooa=function(){return this.lc.promise};_.g.KHa=function(a){var b=_.Jh();this.send("3.30",[a.Dc()],function(c){c[0]?b.resolve(new BYc(JSON.parse(c[0]))):b.reject(new _.qb(JSON.parse(c[1])))}).De(function(c){return b.reject(c)});return b.promise};_.g.sga=function(a){CS(this);return this.W.Nga(a)};_.g.uga=function(a){CS(this);return this.send("3.42",[a.Dc()],function(b){return new AQ(JSON.parse(b[0]))}).then()};
_.g.JV=function(a){CS(this);return this.send("3.39",[a.Dc()],function(b){return new pYc(JSON.parse(b[0]))}).then()};_.g.iqa=function(a){var b=this;CS(this);return new Q9c(this.H,a,function(c){return b.send("3.37",[c.request.Dc(),c.pageToken],function(d){d=JSON.parse(d);return new wWc(new pR(JSON.parse(d[0])),d[1])}).then()})};_.g.kba=function(a){CS(this);return this.send("3.38",[a.Dc()],function(b){return new qR(JSON.parse(b[0]))}).then()};_.g.sua=function(a){CS(this);return this.W.bha(a)};
_.g.rda=function(a){CS(this);return this.W.aha(a)};_.g.$sa=function(a){var b=this;CS(this);return new R9c(this.H,a,function(){return b.send("3.40",[a.Dc()],function(c){return new _.zN(JSON.parse(c[0]))}).then()})};_.g.Bca=function(a){CS(this);return this.W.Xga(a)};_.g.rna=function(a){CS(this);this.send("3.43",[a.Dc()])};_.g.N5=function(a){CS(this);return this.send("3.44",[a.Dc()],function(){return new aTc}).then()};
_.g.wna=function(a){CS(this);if(1!=_.iP(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.Qz()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Dc()})]))};_.g.hIa=function(){var a=this,b=[_.ui(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.aia(b).then(function(c){c?_.si(a.hIa.bind(a),6E4):(a.rb=!0,CS(a))})};
var CS=function(a){a.rb&&a.dispatchEvent(new y9c)},gQc=function(a){if(_.A(a,61,!1)&&_.m.SharedWorker)if(_.C(a,ERc,66)){if(_.$M(a.Ne())||_.jP(a)&&!_.A(a,52,!1))return!1}else return!1;else return!1;return!0},v$c=function(a){var b=_.Jh();a.Cf(b.resolve,b.reject,b);return b.promise};
var DS=function(){_.O.call(this);this.ha=new _.xl;this.wa=this.je=this.Ka=!1};_.I(DS,_.O);DS.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};DS.prototype.ma=function(){};DS.prototype.setActive=function(a){this.je=a;w$c(this)};var w$c=function(a){if(a.je&&!a.wa){var b=_.yl(a.ha);if(b)if(a.Ma()){do a.Ba(b);while(b=_.yl(a.ha))}else a.wa=!0,_.Kh(a.Qa(b),function(){a.wa=!1;w$c(a)})}};DS.prototype.Ba=function(){};DS.prototype.Qa=function(){};DS.prototype.Ma=function(){return!0};
DS.prototype.enqueue=function(a){try{var b=new _.Mh;this.ha.enqueue(new x$c(a,b));w$c(this);return b}catch(c){return _.Th(_.MN(c))}};var x$c=function(a,b){this.V=a;this.H=b};x$c.prototype.getCommand=function(){return this.V};
var z$c=function(a){DS.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.pN(this.H.H)&&(this.W=new _.ee(this),this.Pa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;ZQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.mf();a.Xb&&1!=_.D(e,17,1)&&(d.push("iuEtc"),ZQ(c,["mrK8ic"],function(){$Q(c,"iuEtc")}));ZQ(c,d,function(){return y$c(b)})};_.I(z$c,DS);z$c.prototype.ma=function(){A$c(this)};
var y$c=function(a){if(1==a.H.tc.zh().Gb())return Promise.resolve();var b=new _.Ae;_.Ce(b,!0);_.Be(b,301);var c=new _.DO;_.DSc(c,b);return B$c(a,c).then(null,function(d){d=_.lN(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},B$c=function(a,b,c){return a.H.Dm().then(function(d){return d.H(b,c)}).then(function(d){var e=d.zh(),f=e.getUser();if(f&&0==_.E(f,7))d=_.nN(a.H.H.Ne()),d=Error("Pg`"+d+"`"+_.FG(f)),_.dk(d),SSc(a.H.ua,73301807),d=Promise.reject(d);else{f=a.H.tc;var h=0==f.Re()?1:6;
_.pN(a.H.H)&&M4c(a.V,e);h=l0c(f,e,h);(e=e.getMetadata())&&y1c(a.H,_.z(e,2),1);(d=_.z(d,4))&&z1c(a.H,d,!0);h&&a.dispatchEvent(new _.gi("WPi0i"));d=Promise.resolve(new _.WP(f.zh(),f.Re(),!1))}return d}).then(function(d){return d},function(d){d=_.lN(d);_.x(d,5,1);return Promise.reject(new _.rb("Error fetching account from server.",d))})};
z$c.prototype.Ba=function(a){var b=a.getCommand();if(b.EZa){var c={};b.cP&&(c.Oaa=b.cP);B$c(this,b.hc,c).then(function(e){return a.H.callback(e)},function(e){return a.H.Dd(e)})}else if(b=this.H.tc,c=b.zh(),_.pN(this.H.H)){c=c.zh();var d=c.getUser();d=k0c(this.V,_.FG(d));M4c(this.V,c);l0c(b,c,b.Re())&&this.dispatchEvent(new _.gi("WPi0i"));a.H.callback(new _.WP(b.zh(),b.Re(),d))}else c.Gb(),b=new _.WP(c,b.Re(),!0),a.H.callback(b)};
var A$c=function(a){var b=a.H.H.mf();_.m.setTimeout(function(){var c=new _.DO,d=new _.Ae;_.Be(d,306);_.DSc(c,d);B$c(a,c).then(function(){return A$c(a)},function(){return A$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,3,72E5))};z$c.prototype.ka=function(a){var b=this.H.tc,c=b.zh().zh();c&&a.getPeople().find(function(d){return _.z(d,1)==_.FG(c.getUser())})&&(M4c(this.V,c),l0c(b,c,b.Re())&&this.dispatchEvent(new _.gi("WPi0i")))};var C$c=function(a,b){this.hc=a;this.EZa=!!b;this.cP=null};
var E$c=function(a){DS.call(this);this.H=a;this.Xd=new _.ee(this);this.Pa(this.Xd);this.Xd.listen(this.H.ad,"Kb",_.Ue(this.dispatchEvent,new _.gi("Kb",this)));this.Ja=this.ka=!1;this.W=null;this.V=1;this.Ga=0;this.ua=null;D$c(this)};_.I(E$c,DS);
var D$c=function(a){var b=a.H.ha;ZQ(b,["nVUlO"],function(){a.Ja=!0;a.setActive(!0)});if(!_.jP(a.H.H)){var c=_.D(a.H.H.mf(),18,1);ZQ(b,["NSockf"],function(){1==c?F$c(a):a.setActive(!0)});2==c&&ZQ(b,["mrK8ic"],function(){a.ka||F$c(a)})}},F$c=function(a){var b=new _.Ae;_.Ce(b,!0);_.Be(b,301);var c=new _.oO;_.xSc(c,b);_.x(c,1,1);G$c(a,c).ag(function(){return null})},G$c=function(a,b,c){_.m.clearTimeout(a.Ga);a.Ga=0;var d=_.Jh();a.W=d.promise;_.Kh(a.W,function(){a.W=null;H$c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.oO;_.x(h,1,a.V);_.xSc(h,b.oe());a.H.Dm().then(function(k){return k.H(h,c)}).then(function(k){a.ua=null;var l=a.H.ad;l.Dna(k,l.zy()?6:1);d.resolve()},function(k){a.V=e;k=_.NN(k);var l=k.dg;_.x(l,5,2);f?(_.jN(l,1),k.message="Initial app settings refresh failed.",_.x(k.dg,21,"Initial app settings refresh failed."),a.H.rb(l),a.setActive(!0)):(_.jN(l,2),k.message="Error occurred while loading the latest set of apps.",_.x(k.dg,21,"Error occurred while loading the latest set of apps."));
a.ua=k;d.reject(k)});return a.W};E$c.prototype.Ma=function(){return!1};
E$c.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.hc,e=c.f7,f=c.cP?{Oaa:c.cP}:void 0;if(!I$c(d))return this.H.Dm().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.TP(l,1,!1))},function(l){a.H.Dd(_.MN(l))}),_.Fh();c=_.Fh();var h=!1;this.W?J$c(this,d.getType())?e=this.W:c=e=new _.Eh(function(l,n){b.W.then(function(){G$c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ja&&J$c(this,d.getType())&&!this.ua?(h=!0,e=_.Fh()):e=G$c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.ad;k.callback(new _.TP(l.Ena(),l.Re(),h))},function(l){k.Dd(l)});return c.then()};
var I$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},J$c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},H$c=function(a){var b=a.H.H.mf(),c=new _.Ae;_.Be(c,306);var d=new _.oO;_.x(d,1,1);_.xSc(d,c);a.Ga=_.m.setTimeout(function(){return void G$c(a,d)},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,4,72E5))},K$c=function(a,b){this.hc=a;this.f7=!!b;this.cP=null};
var L$c=function(a,b){this.ua=b;this.hc=a;this.H="UNKNOWN_PREFLIGHT_STATUS";this.V=_.Jh();this.W="";this.ka=this.ma=!1};L$c.prototype.ha=function(){this.ma||(this.ma=!0,M$c(this));return this.V.promise};var M$c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.SIc(a.hc,a.W);a.ua.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.wa.bind(a))}};L$c.prototype.Ba=function(a){(this.W=a.pageToken)?M$c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
L$c.prototype.wa=function(a){a=_.NN(a);var b=a.dg.Qi();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)};L$c.prototype.cancel=function(){this.ka=!0};
var O$c=function(a){DS.call(this);var b=this;this.H=a;this.ka=new _.ee(this);this.Pa(this.ka);this.ka.listen(this.H.Ma,"WPi0i",function(){return b.dispatchEvent(new _.gi("WPi0i"))});this.V=null;this.W=_.Jh();this.ua=_.Gj(this.H.H.mf(),30);N$c(this)};_.I(O$c,DS);
var N$c=function(a){var b=a.H.ha;ZQ(b,["rkYxSd"],function(){return a.initialize()});ZQ(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.mf(),19,1);1!=d&&(c.push("OZvrNc"),2==d&&ZQ(b,["mrK8ic"],function(){$Q(b,"OZvrNc")}));!_.A(a.H.H,11,!1)&&_.A(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<P7c(a.H.Ma).Ow().length||(b.H("NSockf")?$Q(b,"DEJoH"):ZQ(b,["NSockf"],function(){$Q(b,"DEJoH")}))},
12E3));ZQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.gD,f=new _.Ae;_.Ce(f,!0);_.Be(f,301);_.R(e,1,f);P$c(a,e,Q$c(a)).ag(function(){a.initialize()})}})};O$c.prototype.ma=function(){var a="User prefs detected: "+P7c(this.H.Ma).Ow().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);R$c(this)};
var P$c=function(a,b,c,d){var e=new _.NIc(b,c),f=d?{Oaa:d}:void 0;return a.H.Dm().then(function(h){return h.H(e,f)}).then(function(h){a.V=null;var k=a.H.Ma;A1c(k,h.Ow(),k.zy()?6:1,c)}).then(null,function(h){h=_.NN(h);_.x(h.dg,5,4);0<a.ha.Zb()||a.H.rb(h.dg);a.V=h;throw h;})};
O$c.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=a.H,e=new Set([].concat(_.oc(this.H.Ma.H.keys())));c.iaa.find(function(f){return!e.has(f)})&&(c.f7=!0);this.V?d.Dd(this.V):c.f7?_.Kh(this.W?this.W.promise:P$c(this,c.hc,Q$c(this,c.iaa),c.cP||void 0),function(){return S$c(b,d,c.iaa,!1)}):S$c(this,d,c.iaa,!0)};
var Q$c=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.oc(a.ua),_.oc([].concat(_.oc(a.H.Ma.H.keys()))),_.oc(b)));return[].concat(_.oc(a.values()))},S$c=function(a,b,c,d){a=a.H.Ma.jG(c);b.callback(new _.VP(a.H,a.V,d))},R$c=function(a){var b=a.H.H.mf();_.m.setTimeout(function(){var c=new _.gD,d=new _.Ae;_.Be(d,306);_.R(c,1,d);_.Kh(P$c(a,c,Q$c(a)).ag(_.Se),function(){return R$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,5,72E5))},T$c=function(a,b,c){this.hc=a;this.iaa=b;this.f7=!!c;this.cP=
null};
var iQc=function(a){tS.call(this,a);this.ka=this.ma=this.ua=null;this.rb=_.Jh();this.H=a.Dm()};_.I(iQc,tS);_.g=iQc.prototype;_.g.Wwa=function(){this.Ga=new z$c(this.context);this.Pa(this.Ga);this.Ja=new E$c(this.context);this.Pa(this.Ja);this.Xa=new O$c(this.context);this.Pa(this.Xa)};
_.g.$Ea=function(){var a=this,b=["hVFf7"];_.jP(this.context.H)&&b.push("BNEDtc");ZQ(this.V,b,(0,_.K)(this.vBa,this));ZQ(this.V,["T8oKm","ZA9qG"],(0,_.K)(this.zJa,this));ZQ(this.V,["T8oKm","mrK8ic"],(0,_.K)(this.zJa,this));this.Xd.listen(this.Ga,"WPi0i",this.Cna.bind(this,1));this.Xd.listen(this.Ja,"Kb",this.Cna.bind(this,2));this.Xd.listen(this.Xa,"WPi0i",this.Cna.bind(this,4));ZQ(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.zJa=function(){RR(this.context).nb(function(a){a.start()})};
_.g.Cna=function(a){_.ja(dTc,a)&&this.dispatchEvent(new $8c(a))};_.g.wV=function(a){if(!_.kP(this.context.H))throw uS("teamDriveQuery");return this.W.Zga(_.Yj(a))};_.g.Fpa=function(a){QWc(this.context.ma,a,JSc(this.context.Ja));return this.W.Wga(_.Yj(a))};_.g.Jca=function(a){if(!_.kP(this.context.H))throw uS("teamDriveFindByIds");return this.W.$ga(_.Yj(a))};_.g.hta=function(a){return new L$c(a,this.context.Dm())};
_.g.mfa=function(a,b){var c=this;if(this.ua&&_.Xj(this.ua.kd(),a))return this.ua;this.ua=new zS(_.Yj(a),this.context,this.vPa.bind(this),b);_.m.setTimeout(function(){c.ua=null},3E3);return this.ua};_.g.vPa=function(a,b,c){var d=new _.JIc(a,b,c);return _.Sh(this.H.then(function(e){return e.H(d)}).ag(function(e){return _.ON(e)}))};_.g.Yfa=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new Z9c(a,this.context,this.JQa.bind(this));return this.ka};_.g.JQa=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).ag(function(b){return _.ON(b)}))};
_.g.sqa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Fh()};_.g.tna=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}))};_.g.wha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}))};_.g.Jpa=function(a,b){var c=this;if(this.ma&&_.Xj(this.ma.kd(),a))return g$c(this.ma),this.ma;this.ma=new BS(_.Yj(a),this.context,this.tgb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.tgb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.pN(b.context.H)?O4c(b.context.V.ma,c.qr().xJ(),a.kd().getId()).then(function(){return c}):c},_.ON)};_.g.vla=function(a){var b=this;return _.Sh(this.H.then(function(c){return c.H(a)}).then(function(c){return _.pN(b.context.H)?O4c(b.context.V.ma,[c.eZ()],a.Hc()).then(function(){return c}):c},_.ON))};_.g.yha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};
_.g.sga=function(a){return this.W.Nga(_.Yj(a))};_.g.uga=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.ON)};_.g.JV=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 _.nYc;f=_.x(h,1,f.toString());b[Number(e)].$R?f.Ec(1):(f.Ec(3),f.We(b[Number(e)].reason.dg));c.push(f)}b=new pYc;return _.Tj(b,1,c)},function(b){return _.ON(b)})};
_.g.iqa=function(a){var b=this;return new Q9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).ag(function(d){return _.ON(d)})})};_.g.kba=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.ON)};_.g.Yc=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};_.g.PO=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.ON)};
_.g.PA=function(a){for(var b=[],c=[],d=0;d<a.length;d++)c.push(this.Yc(a[d])),b.push(a[d].getId());a=new _.Po(c);c=new _.Mh;a.nb(this.VRa.bind(this,c,b));return c};_.g.Pga=function(){return new i$c(this.context.H,this.context.Qa,this.context.lc.W,this.context.Dm(),this.context.Fc,this.context.W,void 0,this.context.ua)};
_.g.dU=function(a,b){var c=this,d=_.tg();this.ha.create(d,a);3==a.getType()?a=tS.prototype.dU.call(this,a).nb(function(e){return new _.TP(e,1,!1)}):($Q(this.V,"Qubz4b"),a=this.Ja.enqueue(new K$c(a,b)));return a.nb(function(e){q4c(c.ha,d,e);return e.response}).De(function(){YR(c.ha,d)})};_.g.una=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};_.g.xla=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};
_.g.vha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};_.g.H$=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};_.g.NS=function(a,b){var c=this;$Q(this.V,"iuEtc");var d=_.tg();this.ha.create(d,a);return this.Ga.enqueue(new C$c(a,b)).nb(function(e){q4c(c.ha,d,e);return e.response}).De(function(){YR(c.ha,d)})};
_.g.jG=function(a,b){var c=this,d=_.Gj(this.context.H.mf(),30);if(!d||0==d.length)return _.Th(new _.rb("getUserPrefs requires a namespace.",_.LN(3)));var e=_.tg();this.ha.create(e,a);$Q(this.V,"OZvrNc");return this.Xa.enqueue(new T$c(a,d,b)).nb(function(f){q4c(c.ha,e,f);return f.response}).De(function(){YR(c.ha,e)})};_.g.yna=function(a){l$c(_.Gj(this.context.H.mf(),30),a);return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.ON))};
_.g.vna=function(a){var b=this;return _.Sh(this.H.then(function(c){return c.H(a)}).then(function(c){return _.pN(b.context.H)?N4c(b.context.V.ma,c):c},_.ON))};_.g.sua=function(a){return this.W.bha(_.Yj(a))};_.g.rda=function(a){return this.W.aha(_.Yj(a))};_.g.$sa=function(a){var b=this;return new R9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).ag(function(d){return _.ON(d)})})};_.g.Bca=function(a){return this.W.Xga(_.Yj(a))};_.g.rna=function(a){h4c(this.context.V,[a])};
_.g.N5=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.ON)};_.g.wna=function(a){if(1!=_.iP(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.Qz()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.V.ua(a);a=this.context.V;BR(a.H).ka();xXc(a.ha);return Promise.resolve()};_.g.xna=function(){return this.context.lc.H()};
_.g.CA=function(a){var b=this;return this.context.CA(a).then(function(c){return c?(b.context.ka.CA(a),b.context.wa.l3()):_.Fh(!a)})};_.g.Ana=function(a){c8c(this.context).W(a);this.CA(!!a)};_.g.CO=function(){RR(this.context).nb(function(a){a&&a.l$a()});n0c(this.context.wh)};_.g.zna=function(a){a.Gk(this.context)};_.g.VRa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;BR(b.H).ka();xXc(b.ha);a.callback(d)};
_.g.sync=function(){var a=this;return _.Hh([this.context.Ie.promise,this.context.Os.promise]).then(function(){return a.context.wa.l3()}).then()};_.g.b0=function(){RR(this.context).nb(function(a){a&&a.dispose()});return tS.prototype.b0.call(this)};_.g.Ooa=function(){return this.rb.promise};
var U$c=function(){var a='<div class="'+_.G("la-r")+'">';a=a+"Une erreur s'est produite. Veuillez actualiser la page.</div><button class=\""+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Actualiser</button>")};
_.Co({id:_.qk,callback:function(a){var b=_.HOc(a),c=kQc(a),d=_.C(a.get(_.hl),_.$a,10);_.dKc(d,b);_.x(d,28,c||[]);b=jQc(a,d);a.registerService(_.rk,b.GY());_.Id(b,"VbxEwf",function(){var e={};_.Cb(_.ny.getService(a),new _.Qq(new _.Pq(U$c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.r();

}catch(e){_._DumpException(e)}
try{
var V$c,$$c,bad;V$c=[3];_.ES=function(a){_.Q(this,a,0,-1,V$c,null)};_.L(_.ES,_.P);_.ES.prototype.getType=function(){return _.z(this,1)};_.ES.prototype.Hc=function(){return _.z(this,2)};_.W$c=function(a,b){return _.x(a,2,b)};_.ES.prototype.V=function(){return _.Rj(this,_.ES,3)};_.X$c=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.X$c,_.P);_.X$c.prototype.getFeature=function(){return _.z(this,1)};_.Y$c=function(a,b){return _.x(a,1,b)};_.X$c.prototype.V=function(){return _.C(this,_.ES,2)};
_.Z$c=function(a,b){return _.R(a,2,b)};$$c=[1];_.xP=function(a){_.Q(this,a,0,-1,$$c,null)};_.L(_.xP,_.P);_.xP.prototype.V=function(){return _.Rj(this,_.X$c,1)};_.aad=function(a,b){return _.Tj(a,1,b)};bad=[1,2];_.fS=function(a){_.Q(this,a,0,-1,bad,null)};_.L(_.fS,_.P);_.fS.prototype.V=function(){return _.z(this,1)};_.cad=function(a,b){return _.x(a,1,b||[])};_.fS.prototype.dN=function(){return _.Rj(this,_.yG,2)};_.dad=function(a,b){return _.Tj(a,2,b)};
_.fS.prototype.oe=function(){return _.C(this,_.Ae,3)};_.ead=function(a,b){return _.R(a,3,b)};_.p("RsR2Mc");


_.r();

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