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)(_.Zqa({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{
_.jhb=function(a,b,c){var d=new _.Ova;b.PW&&_.x(d,2,b.PW);b.qI&&0<=b.qI&&_.x(d,1,b.qI);b.kE&&_.x(d,3,b.kE);_.MCa(a,d);c&&(b=new _.Qva,_.x(b,1,c),_.NCa(a,b))};_.khb=function(a,b,c,d){var e=_.Bd.getService(a);a=_.Hz(e,a,c);_.jhb(a.H.H,b,d);e.V(a)};_.p("em3");

_.r();

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

_.r();

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

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

_.r();

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


_.r();

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

_.r();

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

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Xob=function(){_.O.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.K)(this.tR,this);this.H.onprogress=(0,_.K)(this.tR,this);this.H.onload=(0,_.K)(this.tR,this);this.H.onabort=(0,_.K)(this.tR,this);this.H.onerror=(0,_.K)(this.tR,this);this.H.onloadend=(0,_.K)(this.tR,this)};_.L(_.Xob,_.O);_.g=_.Xob.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Vob(a,"aborting read");}};_.g.getResult=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Vob(this.H.error,"reading file")};_.g.tR=function(a){this.dispatchEvent(new Wob(a,this))};_.g.ab=function(){_.Xob.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{
_.dmb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dmb,_.P);_.dmb.prototype.lB=function(){return _.C(this,_.opa,1)};_.emb=function(a){var b=new _.dmb;return _.R(b,1,a)};_.lC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lC,_.P);_.g=_.lC.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)};_.oC=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.oC,_.P);_.oC.prototype.V=function(){return _.z(this,1)};_.oC.prototype.Gb=function(){return _.z(this,2)};_.oC.prototype.Ec=function(a){return _.x(this,2,a)};_.oC.prototype.W=function(){return _.z(this,3)};_.p("sysd");
_.gmb=function(a){_.Q(this,a,0,-1,fmb,null)};_.L(_.gmb,_.P);var fmb=[1];_.gmb.prototype.V=function(){return _.z(this,1)};
_.imb=function(a){_.Q(this,a,0,-1,hmb,null)};_.L(_.imb,_.P);var hmb=[1];_.imb.prototype.V=function(){return _.Rj(this,_.oC,1)};
_.kmb=function(a){_.Q(this,a,0,-1,jmb,null)};_.L(_.kmb,_.P);var jmb=[1];_.kmb.prototype.V=function(){return _.Rj(this,_.imb,1)};_.kmb.prototype.addResult=function(a,b){return _.Uj(this,1,a,_.imb,b)};
_.lmb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lmb,_.P);_.lmb.prototype.W=function(){return _.C(this,_.kmb,1)};_.lmb.prototype.V=function(){return _.C(this,_.gmb,2)};
_.pC=function(a){_.Q(this,a,0,-1,mmb,null)};_.L(_.pC,_.P);var mmb=[2,14,18];_.g=_.pC.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.Aha=function(){return _.A(this,5,!0)};_.g.GX=function(){return _.C(this,_.lmb,7)};_.g.Bha=function(){return _.E(this,8)};
_.g.JF=function(){return _.C(this,_.dmb,10)};_.g.II=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.HX=function(){return _.z(this,17)};_.g.JX=function(a){return _.x(this,17,a)};_.g.Re=function(){return _.z(this,12)};_.g.IX=function(a){return _.x(this,12,a)};_.g.Tm=function(){return _.z(this,15)};_.g.J7=function(){return _.z(this,18)};

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syt6");
_.fD=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fD,_.P);_.fD.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
*/
_.tE=function(a,b,c){_.N.call(this);this.us=null!=c?(0,_.K)(a,c):a;this.ma=b;this.Rg=(0,_.K)(this.l0a,this);this.V=!1;this.W=0;this.ha=this.H=null;this.ka=[]};_.L(_.tE,_.N);_.g=_.tE.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();_.tE.mb.ab.call(this)};_.g.l0a=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{
_.EG=function(a){return _.z(a,11)};_.p("syvo");

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.dNb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.dNb,_.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{
_.vG=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.vG,_.P);_.vG.prototype.getName=function(){return _.z(this,1)};_.vG.prototype.zd=function(a){return _.x(this,1,a)};_.vG.prototype.oe=function(){return _.C(this,_.Ae,2)};_.p("syw0");
_.wG=function(a){_.Q(this,a,0,-1,uMb,null)};_.L(_.wG,_.P);var uMb=[5,6,9,10,12,13,15,16];_.wG.prototype.getId=function(){return _.z(this,1)};_.wG.prototype.kc=function(a){return _.x(this,1,a)};_.wG.prototype.vy=function(){return _.z(this,2)};
_.xG=function(a){_.Q(this,a,0,-1,vMb,null)};_.L(_.xG,_.P);var vMb=[2,4];_.xG.prototype.Nk=function(){return _.z(this,1)};_.wMb=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
*/
_.TH=function(a,b,c,d){this.ka=a;this.ha=b;this.H=this.W=a;this.ma=c||0;this.ua=d||2};_.TH.prototype.V=0;_.TH.prototype.reset=function(){this.H=this.W=this.ka;this.V=0};_.TH.prototype.yb=function(){return this.W};_.UH=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 MZb=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 NZb=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 PZb=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)}),OZb(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=OZb(e.join(" "));a=[c,a];_.ka(h)||a.push(h.join(""));return a.join("_")},OZb=function(a){var b=NZb();b.update(a);return b.digestString().toLowerCase()};
_.QZb=function(){var a=_.m.__SAPISID||_.m.__APISID||_.m.__OVERRIDE_SID;if(a)return!0;a=new _.wcb(document);a=a.get("SAPISID")||a.get("APISID")||a.get("__Secure-3PAPISID")||a.get("SID");return!!a};
_.RZb=function(a){var b=MZb(String(_.m.location.href));if(_.QZb()){var c=(b=0==b.indexOf("https:")||0==b.indexOf("chrome-extension:")||0==b.indexOf("moz-extension:"))?_.m.__SAPISID:_.m.__APISID;c||(c=new _.wcb(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,PZb(MZb(d),c,a||null)].join(" "):null}}return null};

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("syye");
_.SZb=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)};
_.TZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TZb,_.P);_.TZb.prototype.Ji=function(){return _.z(this,7)};
_.UZb=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UZb,_.P);_.Zj[66321687]=new _.Ej(66321687,_.UZb);
var VZb;_.VH=function(a){_.Q(this,a,0,30,VZb,null)};_.L(_.VH,_.P);VZb=[3,20,27];_.WH=function(a,b){return _.x(a,8,b)};
var XZb=function(a){_.Q(this,a,0,17,WZb,null)};_.L(XZb,_.P);var WZb=[3,5],YZb=function(a){var b=_.Ve().toString();return _.x(a,4,b)},ZZb=function(a,b){return _.Tj(a,3,b)},$Zb=function(a,b){return _.x(a,14,b)};
var b_b=function(a){_.Q(this,a,0,6,a_b,null)};_.L(b_b,_.P);var a_b=[5];
var c_b=function(a){_.Q(this,a,0,-1,null,null)};_.L(c_b,_.P);
var d_b=new _.Ej(175237375,c_b);
var f_b;
_.XH=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 XZb;this.Qa="";this.Pd=d;this.Fc=q;this.H=[];this.Xb="";this.Se=_.Ue(_.cha,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(_.Fga(),12))&&!!_.ge()&&!!_.ge().navigator&&!!_.ge().navigator.sendBeacon;
a=_.x(new _.UZb,1,1);f||(f=new _.TZb,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 _.TH(1E4,3E5,.1);this.V=new _.ri(this.ma.yb());this.Pa(this.V);_.sd(this.V,"tick",_.ffa(e_b(this,n)),!1,this);this.Ja=new _.ri(6E5);this.Pa(this.Ja);_.sd(this.Ja,"tick",_.ffa(e_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(_.XH,_.O);var e_b=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.XH.prototype.ab=function(){this.ua();_.XH.mb.ab.call(this)};f_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};_.g_b=function(a){a.ad=a.od};_.h_b=function(a,b){a.ma=new _.TH(1>b?1:b,3E5,.1);a.V.setInterval(a.ma.yb())};
_.XH.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 i_b(a));this.Xa||this.V.enabled||this.V.start()};
_.XH.prototype.flush=function(a,b){var c=this;if(0==this.H.length)a&&a();else if(this.rb)j_b(this);else{var d=_.Ve();if(this.lc>d&&this.hb<d)b&&b("throttled");else{var e=$Zb(ZZb(YZb(_.Yj(this.W)),this.H),this.Ka);d={};var f=this.tc();f&&(d.Authorization=f);var h=f_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,LQa: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 b_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,d_b))&&(F=_.D(F,1,-1),-1!=F&&(this.Db||_.h_b(this,F)))}a&&a()},this),t=(0,_.K)(function(y){var B=
_.Rj(e,_.VH,3);_.UH(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.LQa=2;v()},function(){v()}):v()}}}};
_.XH.prototype.ua=function(){this.ha||(this.ad&&j_b(this),this.Kc&&k_b(this),this.flush())};
var j_b=function(a){l_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})},k_b=function(a){l_b(a,6,5,function(b,c){b=_.Hi(b,"format","base64json","p",_.kj(c.Dc(),3));_.eg(new Image,b);return!0})},l_b=function(a,b,c,d){if(0!=a.H.length){var e=_.gka(f_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=ZZb(YZb(_.Yj(a.W)),h);if(!d(e,k))break;a.H=a.H.slice(h.length)}}},
i_b=function(){this.type="event-logged"};_.L(i_b,_.gi);
_.YH=function(a,b,c,d,e,f,h){_.XH.call(this,a,_.RZb,b,_.SZb,c,d,e,void 0,f,h)};_.I(_.YH,_.XH);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy10l");
_.QEc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QEc,_.P);_.g=_.QEc.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)};
_.REc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.SEc=_.Wea(_.REc);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.TEc=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{
_.OM=function(a,b){return _.x(a,4,b)};_.UEc=function(a,b){_.x(a,11,b)};_.PM=function(a,b){return _.x(a,25,b)};_.VEc=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
*/
_.QM=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(_.QM,_.N);_.g=_.QM.prototype;_.g.ue=function(a){this.ha=arguments;this.H||this.W?this.V=!0:WEc(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,WEc(this))};_.g.ab=function(){_.N.prototype.ab.call(this);this.stop()};
var WEc=function(a){a.H=_.si(function(){a.H=null;a.V&&!a.W&&(a.V=!1,WEc(a))},a.ka);var b=a.ha;a.ha=null;a.us.apply(null,b)};

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.YEc=function(a){_.O.call(this);this.Kd=a||_.Ug();if(this.eB=this.NZa())this.H=_.sd(this.Kd.Yb(),this.eB,(0,_.K)(this.q0a,this))};_.L(_.YEc,_.O);_.g=_.YEc.prototype;_.g.NZa=_.Lba(function(){var a=!!this.KY(),b="hidden"!=this.KY();if(a){var c;b?c=((_.nFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.KY=_.Lba(function(){return XEc("hidden",this.Kd.Yb())});_.g.d0a=_.Lba(function(){return XEc("visibilityState",this.Kd.Yb())});_.g.UJ=function(){return!!this.Kd.Yb()[this.KY()]};
_.g.q0a=function(){var a=this.KY()?this.Kd.Yb()[this.d0a()]:null;a=new ZEc(this.UJ(),a);this.dispatchEvent(a)};_.g.ab=function(){_.pi(this.H);_.YEc.mb.ab.call(this)};var ZEc=function(a){_.gi.call(this,"visibilitychange");this.hidden=a};_.L(ZEc,_.gi);

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.p("sy11p");
_.SM=function(a){_.Q(this,a,0,-1,cFc,null)};_.L(_.SM,_.P);var cFc=[1];_.SM.prototype.Sh=function(){return _.z(this,1)};_.SM.prototype.oe=function(){return _.C(this,_.Ae,2)};_.dFc=function(a,b){_.R(a,2,b)};_.SM.prototype.oh=function(){return _.D(this,3,20)};_.SM.prototype.Gi=function(a){return _.x(this,3,a)};_.SM.prototype.Hl=function(){return _.E(this,4)};

_.r();

}catch(e){_._DumpException(e)}
try{
var gFc;_.TM=function(a){return a instanceof Error};_.UM=function(a){var b={};_.jf(a,function(c,d){b[d.toLowerCase()]=c});return b};_.eFc=function(a){return(a=a&&_.UM(a))&&a["x-guploader-uploadid"]};_.fFc=function(a){return(a=a&&_.UM(a))&&a["x-google-trace"]};gFc=[6];_.VM=function(a){_.Q(this,a,0,-1,gFc,null)};_.L(_.VM,_.P);_.WM=function(a,b){return _.x(a,14,b)};_.p("sy11l");
_.hFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hFc,_.P);
_.XM=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XM,_.P);_.XM.prototype.getOptions=function(){return _.C(this,_.hFc,1)};_.XM.prototype.Tm=function(){return _.z(this,2)};_.XM.prototype.kd=function(){return _.C(this,_.se,3)};
_.iFc=function(a){_.Q(this,a,0,-1,null,_.YM)};_.L(_.iFc,_.P);_.YM=[[3,4,5,6,7,8,9,10]];
var jFc,lFc;
_.kFc=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=jFc(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?_.WM(e,7):0!=a||d?403==a?_.WM(e,22):503==a||429==a?_.WM(e,24):(_.x(e,14,void 0),_.x(e,10,1),_.x(e,8,!0)):l||_.WM(e,2));e.d2(_.eFc(c));e.P1(_.fFc(c));
return e};jFc=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=lFc[c];d?_.x(b,10,d):c&&!d&&_.x(b,10,2);(a=a.debugInfo)&&_.Gq(b,a);return b};
lFc={appliedCategoryLimitExceeded:64,authError:15,backendError:9,badContent:14,badRequest:11,cannotAddParent:63,cannotMoveTrashedItemIntoTeamDrive:45,conflict:8,conversionCorruptedInput:16,conversionInputDoesNotMatchSpecifiedMimeType:17,conversionInputTooLarge:18,conversionInvalidRequest:19,conversionInvalidLanguage:20,conversionMissingCredentials:21,conversionOutputTooLarge:22,conversionQuotaExceeded:23,conversionTimeout:24,conversionTooManyCharts:25,conversionTooManyDrawings:26,conversionTooManyImages:27,
conversionUnsupportedConversionPath:28,conversionUnsupportedLanguage:29,conversionUnsupportedFormat:30,deadlineExceeded:31,fileOwnerNotMemberOfTeamDrive:42,fileOwnerNotMemberOfTeamDriveDomain:43,fileOwnerNotMemberOfWriterDomain:47,fileWriterTeamDriveMoveInDisabled:46,forbidden:10,internalError:3,invalid:12,missingCookie:33,notFound:4,quotaExceeded:6,rateLimitExceeded:7,responseTooLarge:5,required:32,uploadBrokenConnection:35,shareOutNotPermittedForContent:50,crossDomainMoveRestriction:52,teamDriveFileLimitExceeded:40,
teamDriveHierarchyTooDeep:49,teamDriveMembershipRequired:48,teamDriveNameRequired:59,teamDriveNameTooLong:44,teamDrivesFileTypeNotSupported:39,teamDrivesFolderMoveInNotSupported:36,teamDrivesFolderMoveOutNotSupported:37,teamDrivesParentLimit:41,teamDrivesShortcutFileNotSupported:38,tooManyFiles:53,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,
mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62};

_.r();

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

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.ZM=function(a){return _.A(a,5,!1)};_.mFc=function(a){var b=_.Tja(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)?_.Fka(c,e,f):c.add(e,f)}return c};_.p("sy11s");

_.r();

}catch(e){_._DumpException(e)}
try{
var nFc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.pea);try{delete a[_.pea]}catch(b){}},$M=function(a){var b=[],c=[],d={},e=function(f,h){var k=h+"  ";try{if(void 0===f)b.push("undefined");else if(null===f)b.push("NULL");else if("string"===typeof f)b.push('"'+f.replace(/\n/g,"\n"+h)+'"');else if("function"===typeof f)b.push(String(f).replace(/\n/g,"\n"+h));else if(_.wa(f)){f[_.pea]||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++)nFc(c[a]);return b.join("")};_.p("sy124");
/*

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var TFc=function(a){_.Q(this,a,0,-1,null,null)},dGc;_.L(TFc,_.P);var UFc=[3,42],VFc=function(a){_.Q(this,a,0,-1,UFc,null)};_.L(VFc,_.P);VFc.prototype.Rb=function(){return _.z(this,27)};var WFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(WFc,_.P);var XFc=[2],YFc=function(a){_.Q(this,a,0,-1,XFc,null)};_.L(YFc,_.P);var ZFc=function(a){_.Q(this,a,0,-1,null,null)};_.L(ZFc,_.P);var $Fc=function(a){_.Q(this,a,0,-1,null,null)};_.L($Fc,_.P);var aGc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aGc,_.P);
var cGc=function(){this.W=this.ma=!1;this.V=null;for(var a=this.ka=this.ha=0;a<_.Sza.length;a++){var b=_.Sza[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.ma=!0;bGc(this,b);break}}},bGc=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})};
cGc.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,_.Zya,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}}))}};dGc=function(a){this.H=a};_.eGc=function(a){this.Nd=a};_.eGc.prototype.getId=function(){return this.Nd};
_.p("sy11v");
var fGc=function(){_.Tp.call(this)};_.I(fGc,_.Tp);fGc.prototype.rs=function(){return 1==_.z(_.C(this.H,TFc,7),1)};var gGc=new _.Pp("high_frequency_builder");
var hGc=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 iGc=function(){_.Tp.call(this)};_.I(iGc,_.Tp);var jGc=function(a,b,c){var d=1E3*_.Ve();if(0==b){b=new _.cp;var e=new _.Iya;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 _.Jya,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},kGc=new _.Pp("system_builder");
var lGc=function(a,b){_.N.call(this);this.V=a;this.H=new _.YEc(b);this.Pa(this.H);this.Mb=new _.ee(this);this.Pa(this.Mb);this.H.KY()&&this.Mb.listen(this.H,"visibilitychange",this.W)};_.I(lGc,_.N);lGc.prototype.W=function(){if(this.V.JO()){var a=this.H.UJ()?102001:102E3;a=this.V.SD(a,0);this.V.bp(a)}};
var mGc=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(mGc,_.N);_.g=mGc.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 dGc(a)};_.g.SD=function(a,b){a=jGc(nGc(this.H,a),b,this.H.ka++);1==b&&this.H.ma.add(a);return a};_.g.SG=function(){return this.H.V};
_.g.LF=function(a){var b=this.H,c=_.Up(a,kGc),d=b.ka++,e=_.C(_.C(c.H,_.cp,8),_.Jya,2),f=1E3*_.Ve();_.x(e,2,f);_.x(c.H,13,d);b.ma.remove(_.z(a.H,12))};_.g.lU=function(){var a=this.V;if(!a.ka||a.H.W){var b=oGc(a.H,691).build();b=pGc(a.H,[b]);a.ua.H(b)}a.ha();this.H.ua=!1;this.W&&(_.gc(this.W),this.W=null)};_.g.mU=function(){var a=this.H,b=oGc(a,716);qGc(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 lGc(this))};_.g.W6=function(){this.V.ha();return _.Ih(Array.from(this.V.W)).then()};
_.g.JO=function(){var a=this.H;return a.Ba&&a.ua&&!0};
var rGc=function(a,b,c,d,e){_.N.call(this);this.H=a;this.Ba=b;this.ua=c;this.V=new _.QM(this.ha,3E3,this);this.W=new Set;this.ka=d;this.wa=e||6E4};_.I(rGc,_.N);rGc.prototype.initialize=function(){hGc(this.wa,this.V.ue,this.V);hGc(36E5,this.ma,this)};rGc.prototype.ha=function(){var a=this;if(0!=this.H.H.Zb()&&(!this.ka||this.H.W)){var b=sGc(this.H),c=this.Ba.H(b);c&&(_.Kh(c,function(){return void a.W.delete(c)}),this.W.add(c))}};
rGc.prototype.ma=function(){var a=this.H,b=oGc(a,1153).build();a.H.add(b);this.V.ue()};
var tGc=function(a){_.N.call(this);this.H=a;this.Pa(this.H)};_.I(tGc,_.N);_.g=tGc.prototype;_.g.bp=function(a){a=this.H.bp(a);this.W6();return a};_.g.SD=function(a,b){return this.H.SD(a,b)};_.g.SG=function(){return this.H.SG()};_.g.LF=function(a){return this.H.LF(a)};_.g.lU=function(){return this.H.lU()};_.g.mU=function(){return this.H.mU()};_.g.W6=function(){return this.H.W6()};_.g.JO=function(){return this.H.JO()};
var uGc=function(){};uGc.prototype.hJ=function(){return new fGc};
var vGc=function(){this.H=[]};vGc.prototype.add=function(a){this.H.push(a)};vGc.prototype.Zb=function(){return this.H.length};
var wGc=function(){this.H={}};wGc.prototype.add=function(a){var b=_.z(a.H,12);this.H[b]=a};wGc.prototype.remove=function(a){delete this.H[a]};
var xGc=function(a,b){this.V=a;this.Ga=b;this.ka=1;this.wa=this.ha=null;this.ma=new wGc;this.H=new vGc;this.ua=this.Ba=this.W=!1},nGc=function(a,b){a=_.Up((new _.Tp).initialize(new _.Zya,a.Ga),kGc);_.x(a.H,10,b);return a},sGc=function(a){var b=a.H,c=b.H;b.H=[];return pGc(a,c)},pGc=function(a,b){var c=new _.kza;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,VFc,1)){k=_.C(k,VFc,1);null!=_.z(k,12)&&
void 0===e&&(e=_.E(k,12));k=_.C(k,WFc,20);if(void 0!==k&&void 0===f){f=new aGc;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},oGc=function(a,b){var c=jGc(nGc(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 ZFc;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 YFc,b=_.x(e,1,b),d&&_.Tj(b,2,d),d=_.Vp(c),_.R(d,3,b));qGc(a,c);return c},qGc=function(a,b){a.ha=_.z(b.H,12);a.wa=_.z(_.C(_.C(b.H,_.cp,8),_.Iya,1),1)};
var yGc=function(){};yGc.prototype.hJ=function(){return new iGc};
var zGc=function(){this.H=this.V=null};zGc.prototype.build=function(){null==this.H&&(this.H=new _.PCa);_.Xp(this.H,kGc,new yGc);_.Xp(this.H,gGc,new uGc);var a=this.H;var b=this.V;if(null==_.z(_.hN(b),1)){var c=_.hN(b),d=new _.Hya;_.R(c,1,d)}b=_.C(_.hN(b),_.Hya,1);a.H=b;b=_.qc(a.V);for(c=0;c<b.length;c++)b[c].V(a.H);return new xGc(this.V,this.H)};
var AGc=function(){this.ha=new _.Na;this.V=null;this.ka=new $Fc;_.x(this.ka,1,6);this.H=this.W=null};AGc.prototype.setSessionId=function(a){this.ha.setSessionId(a);return this};_.BGc=function(a,b){_.x(a.ha,2,b);return a};_.CGc=function(a,b){if(null==a.W){a.W=new _.eza;var c=_.hN(a);_.R(c,2,a.W)}_.x(a.W,1,b)};_.hN=function(a){null==a.V&&(a.V=new _.qp);return a.V};_.DGc=function(a){null==a.H&&(a.H=new _.pp);return a.H};
_.EGc=function(){this.V=this.ma=null;this.ka=new AGc;this.ha=null;this.H=this.ua=!1;this.W=null};_.FGc=function(a,b){a.ma=b;return a};_.GGc=function(a,b){a.V=b;return a};_.HGc=function(a,b){a.ha=b;return a};_.EGc.prototype.setSessionId=function(a){this.ka.setSessionId(a);return this};_.IGc=function(a,b){_.x(a.ka.ha,6,b);return a};
_.EGc.prototype.build=function(){var a=new zGc;a.V=this.ka;null!=this.ha&&(a.H=this.ha);a=a.build();if(this.H){var b=new cGc;this.V=this.ma=b}b=new rGc(a,this.ma,this.V,this.ua,this.W);a=new mGc(a,b,!1);this.H&&(a=new tGc(a));return a};

_.r();

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

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var tN,QGc;tN={};_.PGc=(tN[1]="modifiedDate",tN[2]="modifiedByMeDate",tN[3]="quotaBytesUsed",tN[4]="title",tN[6]="lastViewedByMeDate",tN[10]="createdDate",tN[7]="sharedWithMeDate",tN[9]="starred",tN[11]="recency",tN[5]="relevance",tN[12]="trashedDate",tN[13]="lastViewedByMeDate",tN);QGc={};_.RGc=(QGc[1]="asc",QGc[2]="desc",QGc);
_.SGc=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(_.SGc,_.lw);_.g=_.SGc.prototype;_.g.clone=function(){var a=new _.SGc(this.date);a.fB=this.fB;a.QM=this.QM;return a};_.g.add=function(a){(a.ka||a.ha)&&_.kw.prototype.add.call(this,new _.jw(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=_.lw.prototype.getUTCFullYear;
_.g.getMonth=_.lw.prototype.getUTCMonth;_.g.getDate=_.lw.prototype.getUTCDate;_.g.getHours=_.lw.prototype.getUTCHours;_.g.getMinutes=_.lw.prototype.getUTCMinutes;_.g.getSeconds=_.lw.prototype.getUTCSeconds;_.g.getMilliseconds=_.lw.prototype.getUTCMilliseconds;_.g.getDay=_.lw.prototype.getUTCDay;_.g.setFullYear=_.lw.prototype.setUTCFullYear;_.g.setMonth=_.lw.prototype.setUTCMonth;_.g.setDate=_.lw.prototype.setUTCDate;_.g.setHours=_.lw.prototype.setUTCHours;_.g.setMinutes=_.lw.prototype.setUTCMinutes;
_.g.setSeconds=_.lw.prototype.setUTCSeconds;_.g.setMilliseconds=_.lw.prototype.setUTCMilliseconds;
var TGc,VGc;TGc={};_.UGc=(TGc[1]="0",TGc[2]="1",TGc[3]="2",TGc);VGc={};_.WGc=(VGc[1]="asc",VGc[2]="desc",VGc);
_.XGc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
_.YGc=_.x(new _.pN,15,!0);_.ZGc=_.qN(new _.pN,!0);_.$Gc=_.qN(new _.pN,!1);
_.aHc=_.Dg&&0>_.hf(_.Gg,"533");
_.bHc=new Set([0,1,2,3]);
var cHc,eHc,hHc,iHc,kHc,lHc,mHc,nHc;cHc={};_.dHc=(cHc[0]="POST",cHc[2]="PUT",cHc[12]="POST",cHc);eHc={};_.fHc=(eHc[0]=1,eHc[2]=3,eHc);hHc={};iHc={};_.gHc=(iHc[2]=(hHc["x-goog-upload-protocol"]="batch",hHc),iHc);kHc={};lHc={};mHc={};nHc={};_.jHc=(nHc[0]=(kHc["content-type"]="application/http",kHc["content-transfer-encoding"]="binary",kHc),nHc[12]=(lHc["content-type"]="application/http",lHc["content-transfer-encoding"]="binary",lHc),nHc[2]=(mHc["content-type"]="application/http",mHc),nHc);
_.oHc=new _.z0a("yyyy:MM:dd HH:mm:ss");
var pHc,rHc;pHc={};_.qHc=(pHc[1]="active",pHc[2]="archived",pHc);rHc={};_.sHc=(rHc[0]="unset",rHc[1]="default",rHc[2]="small",rHc[3]="size16kb",rHc);
_.tHc=new _.Pp("drive_dataservice_builder");
_.uHc=new _.eGc("drive_dataservice_invariants");
_.vHc=new Map([[[1],1],[[6],7],[[2],2]]);_.uN=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.wHc=new Map([[12,function(a){return _.E(a,69)}],[24,function(a){return _.A(a,3,!1)}],[9,function(a){return _.A(a,17,!1)}],[21,function(a){return _.oN(a)}],[13,function(a){return _.E(a,60)}],[2,function(a){return _.A(a,8,!0)}],[6,function(a){return _.A(a,11,!1)}],[14,function(a){return a.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)}]]);_.xHc=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)}]]);_.yHc=new Map([[[1],1],[[2],2],[[3],3],[[4],4]]);
_.zHc=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]]);_.AHc=new Map([[[2],3],[[1],2],[[0],1]]);_.BHc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);_.CHc=new Map([[[_.rFc],1],[[_.sFc],2],[[_.tFc],3],[[_.uFc],4],[[_.vFc],5],[[_.wFc],6],[[_.xFc],7],[[_.yFc],8],[[_.zFc],10],[[_.AFc],11],[[_.BFc],12],[[_.CFc],13]]);_.DHc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);
_.EHc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);

_.r();

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

_.r();

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var GHc;GHc=[1];_.xN=function(a){_.Q(this,a,0,-1,GHc,null)};_.L(_.xN,_.P);_.xN.prototype.V=function(){return _.z(this,1)};_.p("sy11o");
_.yN=function(a){_.Q(this,a,0,-1,HHc,null)};_.L(_.yN,_.P);var HHc=[2];_.yN.prototype.Gb=function(){return _.z(this,1)};_.yN.prototype.Ec=function(a){return _.x(this,1,a)};_.yN.prototype.jj=function(){return _.Rj(this,_.Hk,2)};_.IHc=function(a,b){return _.Tj(a,2,b)};_.yN.prototype.Lo=function(a,b){return _.Uj(this,2,a,_.Hk,b)};_.yN.prototype.getSessionId=function(){return _.C(this,_.Hl,3)};_.yN.prototype.setSessionId=function(a){return _.R(this,3,a)};

_.r();

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

_.r();

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

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

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
_.EN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EN,_.P);_.EN.prototype.getType=function(){return _.z(this,1)};_.FN=function(a){var b=new _.EN;return _.x(b,1,a)};_.g=_.EN.prototype;_.g.getItem=function(){return _.C(this,_.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 qIc=function(){};_.g=qIc.prototype;_.g.BF=function(a,b){return _.FN(1).setItem(a).setPosition(b)};_.g.zF=function(a,b){return _.FN(2).setPosition(b).setItem(a)};_.g.jK=function(a,b,c){return _.FN(3).Fu(b).setPosition(c).setItem(a)};_.g.DI=function(a,b){return _.FN(4).setItem(a).setPosition(b)};_.g.ZF=function(a){return a.getItem()};
_.GN=function(){_.CN.call(this,new qIc,function(a){return a.getId()})};_.I(_.GN,_.CN);_.Te(_.GN);

_.r();

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

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var tIc,uIc,yIc,CIc,DIc,EIc,FIc,TIc,KO,UIc,VIc,bJc,cJc,dJc,AIc,KJc,zIc,gKc,jKc,kKc,mKc,nKc,oKc,pKc,rKc,sKc,tKc,uKc,vKc,HKc,IKc,NKc,PKc,QKc,RKc,UKc,YKc,aLc,fLc,gLc,iLc,NIc,kLc,OIc,lLc,sP,uP,nLc,oLc,pLc,qLc,rLc,uLc,vLc,wLc,xLc,yLc,WIc,BLc,XIc,YIc,ZIc,$Ic,aJc,KLc,JLc,VLc,XLc,$Lc,YLc,aMc,ZLc,WLc,dMc,lMc,BMc,CMc,EMc,HMc,KMc,PMc,RMc,SMc,TMc,UMc,VMc,WMc,XMc,YMc,ZMc,$Mc,aNc,bNc,cNc,iNc,dNc,lNc,nNc,eNc,oNc,pNc,rNc,sNc,vNc,yNc,zNc,ANc,BNc,DNc,MMc,NNc,ONc,PNc,QNc,SNc,WNc,UNc,XNc,YNc,TNc,ZNc,VNc,hOc,gOc,iOc,
mOc,nOc,oOc,sOc,tOc,uOc,vOc,DLc;_.KN=function(a,b,c){var d=new _.qb,e=_.Aia(_.KN);_.x(d,20,e);_.jN(d,a);_.iN(d,b?b:2);c&&_.WM(d,c);return d};_.LN=function(a){var b;a instanceof _.qb?b=new _.rb(null,a):b=_.TM(a)?a:_.m.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("nb`"+a);b.stack||(b.stack=_.Aia(_.LN));return b};
_.MN=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)))};_.NN=function(a){throw _.MN(a);};tIc=function(a){return 7==a.Qi()||24==a.Kn()&&(a=a.cB(),503==a||429==a)?!0:!1};uIc=function(a,b){return b?b+"("+a+")":a};
_.ON=function(a,b,c){var d={},e=[];b&&e.push("kind");a.M6a&&e.push("searchResultSource");a.fields.forEach(function(n){if(!_.vIc.includes(n)){var q=_.cdb.get(n);if(q){var t=_.PA[n];a.NI&&t&&(q=t);a.mw&&(a.NI?(n=_.OA[n])&&(q=n):(n=_.ddb[n])&&(q=n));q.split(",").forEach(function(v){var y=_.Dga(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={fW:f.fW},k=h.next()){var l=_.u(k.value);k=l.next().value;l=l.next().value;
f.fW=[];l.forEach(function(n){return function(q){n.fW.push(q)}}(f));"owners"==k&&b&&f.fW.push("kind");e.push(uIc(f.fW.join(","),k))}return uIc(e.join(","),c)};_.wIc=function(a){var b=new _.xp;b.append(_.ON(a,!0));return b.toString()};_.xIc=function(a,b){return a.filter(function(c){return b.includes(c)})};yIc=function(a){a=a.filter(function(b){return!_.cdb.has(b)});if(a.length)throw Error("ed`"+a.join(", "));};
_.BIc=function(a){if(a){var b=a.Rb();b&&_.OM(a,b.toLowerCase());zIc(a,_.Rj(a,AIc,58).map(function(c){var d=c.Rb();d&&_.x(c,1,d.toLowerCase());return c}))}};_.PN=function(a){return a?"application/vnd.google-apps.shortcut"==a.Rb():!1};_.QN=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.Rb();return b&&_.PN(a)?(a=a.kf(),!!a&&"application/vnd.google-apps.folder"==_.z(a,3)):"application/vnd.google-apps.folder"==c};
CIc=function(a){var b=a&&a.getId()||null;a&&_.PN(a)&&(a=(a=a.kf())&&_.z(a,1))&&(b=a);return b};DIc=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)))};EIc=function(a){if(_.qf(a))return"\r\n";var b="";_.jf(a,function(c,d){b+=d+": "+c+"\r\n"});return b};FIc=function(a){for(var b={},c=0;c<a.length;c++){var d=_.Dga(a[c],":",1);d&&2==d.length&&(b[(0,_.ef)(d[0])]=(0,_.ef)(d[1]))}return _.UM(b)};
TIc=function(a){if(a instanceof _.RN)return"request access";if(a instanceof _.SN)return"admin migrate to TD";if(a instanceof _.TN)return"authorize app";if(a instanceof _.UN)return"copy item";if(a instanceof _.VN)return"change category links";if(a instanceof _.WN)return"create item";if(a instanceof _.XN)return"create ws";if("undefined"!=typeof _.YN&&a instanceof _.YN)return"delete app";if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return"delete backup";if(a instanceof _.$N)return"delete item";if("undefined"!=
typeof _.aO&&a instanceof _.aO)return"delete permission";if(a instanceof _.bO)return"delete revision";if(a instanceof _.cO)return"delete TD";if("undefined"!=typeof _.KD&&a instanceof _.KD)return"delete pref";if(a instanceof _.dO)return"delete ws";if(a instanceof _.eO)return"download item";if(a instanceof _.fO)return"empty trash";if(a instanceof _.oo)return"find by ID";if(a instanceof _.GIc)return"item export start";if("undefined"!=typeof _.gO&&a instanceof _.gO)return"get app";if("undefined"!=typeof _.hO&&
a instanceof _.hO)return"insert app";if("undefined"!=typeof _.iO&&a instanceof _.iO)return"insert permission";if(a instanceof _.XM)return a=a.kd(),_.jO(a)?"quick access item query":_.kO(a)?"people predict item query":_.lO(a)?"drive priority query":"item query";if("undefined"!=typeof _.mO&&a instanceof _.mO)return"list android backup items request";if(a instanceof _.nO){var b="unknown";switch(a.getType()){case 1:b="installed";break;case 2:b="installed w/ app data";break;case 3:b="all installable";
break;case 4:b="installed w/ quota"}return"list apps ["+b+"]"}return"undefined"!=typeof _.oO&&a instanceof _.oO?"list backups":a instanceof _.rN?"list changes":a instanceof _.pO?"list permissions":"undefined"!=typeof _.qO&&a instanceof _.qO?"list revisions":a instanceof _.rO?"people api":a instanceof _.vG?"get published category":"undefined"!=typeof _.sO&&a instanceof _.sO?"get remaining changes":a instanceof _.tO?"remove item":"undefined"!=typeof _.uO&&a instanceof _.uO?"reparent item":a instanceof
_.vO?"restore item":"undefined"!=typeof _.wO&&a instanceof _.wO?"list suggested workspace items":a instanceof _.vo?"list suggested workspaces":"undefined"!=typeof _.xO&&a instanceof _.xO?"update app":a instanceof _.yO?"update category metadata":a instanceof _.pN?"update item":a instanceof _.zO?"update revision":a instanceof _.AO?"update TD":"undefined"!=typeof _.LD&&a instanceof _.LD?"update pref":a instanceof _.BO?"update ws":a instanceof _.CO?"get account":"undefined"!=typeof _.DO&&a instanceof
_.DO?"get workspace":a instanceof _.HIc?"list activity":a instanceof _.IIc?"list category metadata":a instanceof _.EO?"create TD":"undefined"!=typeof _.JIc&&a instanceof _.JIc?"item export cancel":"undefined"!=typeof _.KIc&&a instanceof _.KIc?"item export status":"undefined"!=typeof _.FO&&a instanceof _.FO?"generate cse token":"undefined"!=typeof _.GO&&a instanceof _.GO?"get largest change ID":a instanceof _.LIc?"list prefs":a instanceof _.HO?"multipart upload":a instanceof _.MIc?"list published categories":
a instanceof NIc?"init resumable upload":a instanceof OIc?"resumable upload chunk":a instanceof _.PIc?"resumable upload":a instanceof _.wo?"get TD":"undefined"!=typeof _.QIc&&a instanceof _.QIc?"move TD preflight":a instanceof _.IO?"list TDs":"undefined"!=typeof _.JO&&a instanceof _.JO?"get TD stats":a instanceof _.RIc?"test connection":"undefined"!=typeof _.SIc&&a instanceof _.SIc?"list workspaces":"unknown"};
KO=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};UIc=function(a){if(a instanceof _.WN||a instanceof _.HO||a instanceof _.PIc||a instanceof NIc||a instanceof OIc)return(new _.LO).Ec(8);throw Error("$e");};VIc=function(a){if(a instanceof _.pN){var b=_.MO(_.x(_.Yj(a),1,void 0),void 0);b=_.Xj(b,_.YGc)}else b=!1;b||(a instanceof _.pN?(a=_.MO(_.x(_.Yj(a),1,void 0),void 0),b=_.Xj(a,_.ZGc)||_.Xj(a,_.$Gc)):b=!1);return b?!1:!0};
_.NO=function(a){return WIc.includes(a.constructor)?VIc(a):!1};bJc=function(a,b){return XIc.includes(a.constructor)||b&&(_.A(b,54,!1)&&YIc.includes(a.constructor)||ZIc.includes(a.constructor)&&!_.OO(a)||_.A(b,56,!1)&&_.OO(a)||_.A(b,57,!1)&&$Ic.includes(a.constructor)||!(!_.A(b,53,!1)||YIc.includes(a.constructor)||ZIc.includes(a.constructor)||_.OO(a)||$Ic.includes(a.constructor)||aJc.includes(a.constructor)))?!0:!1};
cJc=function(a,b,c){c=void 0===c?!1:c;var d=new _.Si(_.D(b,16,"")+"/open"),e=a.getId();_.PN(a)&&c&&(e=CIc(a));_.bj(d,"id",e);_.bj(d,"authuser",_.mN(b.Ne()));_.PO(b)&&a.QJ()&&_.bj(d,"resourcekey",_.Nk(a));return d.toString()};dJc=function(a){var b={};a=a.Qa().split("\r\n");for(var c=0;c<a.length;c++)if(!_.Ec(a[c])){var d=_.Dga(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(", ")})};
_.eJc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.eJc,_.P);_.fJc=function(a){var b=new _.wk;return _.x(b,1,a)};_.gJc=function(a,b){return _.x(a,7,b)};_.hJc=function(a,b){return _.x(a,8,b)};_.iJc=function(a,b){return _.x(a,1,b)};_.jJc=function(a,b){return _.x(a,2,b)};_.kJc=function(a,b){return _.x(a,3,b)};_.lJc=function(a,b){return _.x(a,4,b)};_.mJc=function(a,b){return _.x(a,5,b)};_.nJc=function(a,b){return _.x(a,6,b)};_.oJc=function(a,b){return _.x(a,7,b)};_.pJc=function(a,b){return _.x(a,8,b)};
_.qJc=function(a,b){return _.x(a,9,b)};_.rJc=function(a,b){return _.x(a,10,b)};_.sJc=function(a,b){return _.x(a,11,b)};_.tJc=function(a,b){return _.x(a,12,b)};_.uJc=function(a,b){return _.x(a,16,b)};_.vJc=function(a,b){return _.x(a,17,b)};_.wJc=function(a,b){return _.x(a,20,b)};_.xJc=function(a,b){return _.x(a,21,b)};_.yJc=function(a,b){return _.x(a,31,b)};_.zJc=function(a,b){return _.x(a,32,b)};_.AJc=function(a,b){return _.x(a,33,b)};_.BJc=function(a,b){return _.x(a,42,b)};
_.CJc=function(a,b){return _.x(a,43,b)};_.DJc=function(a,b){return _.x(a,46,b)};_.EJc=function(a,b){return _.x(a,47,b)};_.FJc=function(a,b){return _.x(a,48,b)};_.QO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.QO,_.P);_.RO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RO,_.P);_.RO.prototype.vv=function(){return _.z(this,4)};_.SO=function(a,b){return _.x(a,1,b)};_.GJc=function(a,b){return _.x(a,2,b)};AIc=function(a){_.Q(this,a,0,-1,null,null)};_.L(AIc,_.P);
AIc.prototype.Rb=function(){return _.z(this,1)};AIc.prototype.getUrl=function(){return _.z(this,2)};_.TO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TO,_.P);_.TO.prototype.Ue=function(){return _.z(this,3)};_.TO.prototype.Vf=function(a){return _.x(this,3,a)};_.UO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.UO,_.P);_.HJc=function(a,b){return _.x(a,1,b)};_.IJc=function(a,b){return _.Tj(a,2,b)};_.JJc=function(a,b){return _.Tj(a,3,b)};KJc=[2];_.VO=function(a){_.Q(this,a,0,-1,KJc,null)};_.L(_.VO,_.P);
_.VO.prototype.Tf=function(){return _.z(this,1)};_.VO.prototype.zl=function(a){return _.x(this,1,a)};_.VO.prototype.Xea=function(a,b){return _.Pj(this,2,a,b)};_.WO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WO,_.P);_.WO.prototype.Ue=function(){return _.z(this,2)};_.WO.prototype.Vf=function(a){return _.x(this,2,a)};_.XO=function(a,b){return _.x(a,2,b||[])};_.LJc=function(a,b){_.x(a,8,b)};_.YO=function(a,b){return _.Tj(a,15,b)};_.ZO=function(a,b){return _.R(a,17,b)};
_.MJc=function(a,b){return _.x(a,19,b)};_.NJc=function(a,b){_.x(a,26,b)};_.OJc=function(a,b){_.x(a,31,b)};_.PJc=function(a,b){_.x(a,34,b)};_.QJc=function(a,b){return _.x(a,44,b)};_.RJc=function(a,b){return _.x(a,52,b)};zIc=function(a,b){_.Tj(a,58,b)};_.SJc=function(a,b){return _.x(a,72,b)};_.TJc=function(a,b){_.R(a,85,b)};_.UJc=function(a,b){return _.x(a,92,b)};_.VJc=function(a,b){return _.x(a,93,b)};_.$O=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$O,_.P);
_.$O.prototype.yb=function(){return _.z(this,1)};_.$O.prototype.jc=function(a){return _.x(this,1,a)};_.$O.prototype.Cl=function(){return _.x(this,1,void 0)};_.$O.prototype.Th=function(){return null!=_.z(this,1)};var WJc=[3],XJc=function(a){_.Q(this,a,0,-1,WJc,null)};_.L(XJc,_.P);XJc.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 YJc=[3],ZJc=function(a){_.Q(this,a,0,-1,YJc,null)};_.L(ZJc,_.P);
ZJc.prototype.V=function(){return _.z(this,3)};var $Jc=[3],aKc=function(a){_.Q(this,a,0,-1,$Jc,null)};_.L(aKc,_.P);aKc.prototype.V=function(){return _.z(this,3)};_.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)};_.dP=function(a){return _.Rj(a,_.xe,6)};
_.eP=function(a){return _.Rj(a,_.Yb,12)};_.fP=function(a){return _.D(a,45,1)};_.jO=function(a){return _.A(a,47,!1)};_.kO=function(a){return _.A(a,49,!1)};_.lO=function(a){return _.A(a,52,!1)};_.gP=function(a){return _.D(a,2,"")};_.bKc=function(a,b){return _.x(a,27,b||[])};_.hP=function(a){return _.D(a,39,0)};_.iP=function(a){return _.A(a,40,!1)};_.jP=function(a){return _.A(a,49,!1)};_.PO=function(a){return _.A(a,89,!1)};_.cKc=function(a,b,c){a.V[b.getId()]=c;a.H&&c.V(a.H)};
_.dKc=function(a){return _.kw.prototype.wV.call(a,!0)+"T"+_.rg(a.getHours(),2)+":"+_.rg(a.getMinutes(),2)+":"+_.rg(a.getSeconds(),2)+a.kZ()};_.eKc=function(a,b){return _.x(a,18,b||[])};_.fKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fKc,_.P);gKc=[3,4,10,18,19,28];_.WN=function(a){_.Q(this,a,0,-1,gKc,null)};_.L(_.WN,_.P);_.g=_.WN.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)};_.hKc=function(a,b){return _.x(a,1,b)};_.iKc=function(a,b){return _.x(a,3,b||[])};_.kP=function(a){return _.z(a,9)};_.$N=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$N,_.P);_.$N.prototype.getId=function(){return _.z(this,1)};
_.$N.prototype.kc=function(a){return _.x(this,1,a)};_.$N.prototype.oe=function(){return _.C(this,_.Ae,3)};_.cO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.cO,_.P);_.cO.prototype.getId=function(){return _.z(this,1)};_.cO.prototype.kc=function(a){return _.x(this,1,a)};_.cO.prototype.oe=function(){return _.C(this,_.Ae,2)};_.MO=function(a,b){return _.R(a,17,b)};jKc=[7,8];_.AO=function(a){_.Q(this,a,0,-1,jKc,null)};_.L(_.AO,_.P);_.g=_.AO.prototype;_.g.getId=function(){return _.z(this,1)};
_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.Ae,4)};_.g.q7=function(){return _.E(this,12)};_.g.jZ=function(){return _.E(this,13)};_.g.Hl=function(){return _.E(this,15)};_.IO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.IO,_.P);_.IO.prototype.getOptions=function(){return _.C(this,_.hFc,1)};_.IO.prototype.Tm=function(){return _.z(this,2)};
_.IO.prototype.kd=function(){return _.C(this,_.SM,3)};kKc=function(a,b){return _.GFc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};_.lKc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.dN(c,"deleting object store "+b);}};mKc=function(){var a=new _.EGc;a.W=12E4;a.ua=!0;return a};
nKc={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."};
oKc=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}};pKc=function(a){20<a.length&&(a=a.substring(0,17)+"...");return a};_.qKc=function(a){if(_.Qka)return _.m.atob(a);var b="";_.Ska(a,function(c){b+=String.fromCharCode(c)});return b};rKc=function(){this.V=0;this.H=[]};_.g=rKc.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=sKc(this,a);return this.H[a]};_.g.set=function(a,b){a=sKc(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};sKc=function(a,b){if(b>=a.H.length)throw Error("Z");return 40>a.H.length?b:(a.V+Number(b))%40};tKc=[2,3];_.VN=function(a){_.Q(this,a,0,-1,tKc,null)};
_.L(_.VN,_.P);_.VN.prototype.wc=function(){return _.z(this,1)};_.VN.prototype.oe=function(){return _.C(this,_.Ae,4)};_.lP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lP,_.P);_.g=_.lP.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.Rb=function(){return _.z(this,2)};_.g.hs=function(){return _.E(this,4)};_.g.iD=function(){return _.z(this,8)};uKc=[22];_.LO=function(a){_.Q(this,a,0,-1,uKc,null)};_.L(_.LO,_.P);_.g=_.LO.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)};_.mP=function(a,b){return _.x(a,5,b)};_.g=_.LO.prototype;_.g.pB=function(){return _.z(this,7)};_.g.d2=function(a){return _.x(this,7,a)};_.g.zha=function(a){_.x(this,9,a)};_.g.Lxa=function(a){_.x(this,10,a)};_.g.kJ=function(){return _.z(this,16)};
_.g.P1=function(a){return _.x(this,16,a)};_.RN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RN,_.P);_.RN.prototype.Hc=function(){return _.z(this,1)};_.SN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SN,_.P);_.SN.prototype.getId=function(){return _.z(this,1)};_.SN.prototype.kc=function(a){return _.x(this,1,a)};_.SN.prototype.Nj=function(){return _.z(this,2)};_.TN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.TN,_.P);_.TN.prototype.Hc=function(){return _.z(this,2)};
_.TN.prototype.oe=function(){return _.C(this,_.Ae,4)};vKc=[3,7];_.UN=function(a){_.Q(this,a,0,-1,vKc,null)};_.L(_.UN,_.P);_.g=_.UN.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.xz=function(a,b){_.Pj(this,3,a,b)};_.g.oe=function(){return _.C(this,_.Ae,5)};_.XN=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XN,_.P);
_.XN.prototype.getTitle=function(){return _.z(this,1)};_.XN.prototype.setTitle=function(a){return _.x(this,1,a)};_.XN.prototype.oe=function(){return _.C(this,_.Ae,2)};_.bO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.bO,_.P);_.bO.prototype.Hc=function(){return _.z(this,1)};_.bO.prototype.oe=function(){return _.C(this,_.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,3)};_.fO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.fO,_.P);_.fO.prototype.oe=function(){return _.C(this,_.Ae,1)};_.tO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.tO,_.P);_.g=_.tO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.z(this,2)};_.g.Kg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.Ae,3)};_.vO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.vO,_.P);_.g=_.vO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getParent=function(){return _.z(this,2)};_.g.Kg=function(a){return _.x(this,2,a)};_.g.oe=function(){return _.C(this,_.Ae,3)};_.zO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.zO,_.P);_.zO.prototype.Hc=function(){return _.z(this,1)};_.zO.prototype.hs=function(){return _.E(this,3)};_.zO.prototype.oe=function(){return _.C(this,_.Ae,4)};_.BO=function(a){_.Q(this,a,0,-1,null,null)};
_.L(_.BO,_.P);_.g=_.BO.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};_.g.getTitle=function(){return _.z(this,2)};_.g.setTitle=function(a){return _.x(this,2,a)};_.g.getState=function(){return _.z(this,3)};_.g.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 wKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(wKc,_.P);wKc.prototype.getEnvironment=function(){return _.z(this,2)};
wKc.prototype.setEnvironment=function(a){return _.x(this,2,a)};var xKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xKc,_.P);_.yKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.yKc,_.P);_.yKc.prototype.Re=function(){return _.z(this,1)};_.yKc.prototype.Gb=function(){return _.z(this,4)};_.yKc.prototype.Ec=function(a){return _.x(this,4,a)};var zKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(zKc,_.P);var AKc=function(a,b){_.x(a,6,b)},BKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BKc,_.P);_.g=BKc.prototype;
_.g.xUa=function(a){_.x(this,1,a)};_.g.Ckb=function(a){_.x(this,2,a)};_.g.ty=function(){return _.E(this,3)};_.g.yUa=function(a){_.x(this,3,a)};_.g.lkb=function(a){_.x(this,4,a)};var CKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(CKc,_.P);CKc.prototype.ty=function(){return _.E(this,2)};var DKc=function(a,b){return _.x(a,2,b)},EKc=function(a,b){_.x(a,3,b)};CKc.prototype.Qw=function(){return _.z(this,6)};var FKc=function(a,b){return _.x(a,8,b)},GKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(GKc,_.P);
GKc.prototype.kd=function(){return _.C(this,_.yKc,1)};GKc.prototype.getState=function(){return _.C(this,zKc,2)};GKc.prototype.Sd=function(a){return _.R(this,2,a)};GKc.prototype.Rn=function(){return null!=_.z(this,2)};_.vIc=[42,1005,20,50,18,1003,1002];HKc=[73,71];IKc=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};_.JKc={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
_.KKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.KKc,_.P);_.g=_.KKc.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)};_.LKc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};
_.nP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.nP,_.P);_.nP.prototype.qr=function(){return _.C(this,_.pC,1)};_.MKc=function(a,b){return _.R(a,1,b)};_.nP.prototype.Tm=function(){return _.z(this,3)};NKc=[3,4];_.nO=function(a){_.Q(this,a,0,-1,NKc,null)};_.L(_.nO,_.P);_.nO.prototype.getType=function(){return _.z(this,1)};_.nO.prototype.oe=function(){return _.C(this,_.Ae,2)};_.OKc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.OKc,_.P);_.OKc.prototype.getId=function(){return _.z(this,1)};
_.OKc.prototype.kc=function(a){return _.x(this,1,a)};_.OKc.prototype.oe=function(){return _.C(this,_.Ae,2)};_.pO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.pO,_.P);_.pO.prototype.Tm=function(){return _.z(this,2)};_.pO.prototype.kd=function(){return _.C(this,_.OKc,3)};PKc=[1];_.rO=function(a){_.Q(this,a,0,-1,PKc,null)};_.L(_.rO,_.P);_.rO.prototype.Il=function(){return _.z(this,1)};_.CO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.CO,_.P);_.CO.prototype.oe=function(){return _.C(this,_.Ae,1)};
_.CO.prototype.Fg=function(){return _.z(this,4)};QKc=[2];_.yO=function(a){_.Q(this,a,0,-1,QKc,null)};_.L(_.yO,_.P);_.yO.prototype.Hc=function(){return _.z(this,1)};_.yO.prototype.cN=function(){return _.Rj(this,_.xG,2)};_.yO.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.QJ=function(){return null!=_.z(this,3)};RKc=[1];
_.GIc=function(a){_.Q(this,a,0,-1,RKc,null)};_.L(_.GIc,_.P);var SKc=function(a){_.gi.call(this,a);_.NGc.get(a)};_.I(SKc,_.gi);_.TKc=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};_.VKc=function(a){var b=a.V.kh();a.W&&b.push(UKc("...","...","...","..."));_.ta(b,a.H.kh());return b};
_.WKc=function(a){var b=[];a=_.VKc(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")};_.TKc.prototype.info=function(a,b){_.oP(this,a,b,"info")};_.TKc.prototype.config=function(a,b){_.oP(this,a,b,"config")};_.TKc.prototype.log=function(a,b,c){_.oP(this,a,b,c)};
_.oP=function(a,b,c,d){a.H.Zb()>=a.ka&&(a.W=!0,_.yl(a.H));var e=Date.now()-a.ma;b=UKc(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)};UKc=function(a,b,c,d){var e={};e.logName=a;e.message=b;e.level=c;e.totalTime=d;return e};_.XKc=function(){this.H={}};YKc=function(a,b,c){if(a.H[b])throw Error("We");a.H[b]=c};_.XKc.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 ZKc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]},$Kc=function(a){_.gi.call(this,"Ab");this.request=a};_.I($Kc,_.gi);var pP=function(){_.O.apply(this,arguments)};_.I(pP,_.O);aLc=function(a,b){a.dispatchEvent(new $Kc(b))};_.bLc=function(a){pP.call(this);this.V=a};_.I(_.bLc,pP);_.bLc.prototype.H=function(a){var b=!1;_.JGc(_.kN(a.Cu[a.Cu.length-1].response))&&(this.V.wa(),b=!0);return b&&2>a.Cu.length?(aLc(this,a),!0):!1};var qP=function(a){_.O.call(this);this.ha=a};_.I(qP,_.O);
_.g=qP.prototype;_.g.max=function(){};_.g.yU=function(){};_.g.moa=function(){};_.g.LGa=function(){};_.g.KGa=function(){};_.g.JGa=function(){};_.g.NB=function(){this.dispatchEvent(new _.gi("Bb"))};_.g.toString=function(){return this.ha+": "+this.max(Infinity)};var cLc=function(a){_.gi.call(this,"Cb");this.Zw=a};_.I(cLc,_.gi);cLc.prototype.Ff=function(){return this.Zw};
_.dLc=function(a,b){qP.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(_.dLc,qP);_.dLc.prototype.max=function(){var a=this.W.Ff(),b=this.V.H;return!a&&b?Infinity:0};_.dLc.prototype.yU=function(){this.NB()};_.eLc=function(a,b,c){this.H=new _.TH(a,b,.5);this.W=c;this.V=!0};_.rP=function(a,b){qP.call(this,"Backoff");this.H=a;this.V=b};_.I(_.rP,qP);
_.rP.prototype.max=function(){return this.H.V?Infinity:0};_.rP.prototype.KGa=function(){this.H.H.reset()};_.rP.prototype.JGa=function(a){var b=this;fLc(a)&&this.H.V&&(this.H.V=!1,a=this.H.H.yb(),gLc(this,"Stopping new requests for "+a+" ms."),_.m.setTimeout(function(){gLc(b,"Backoff complete, allowing requests.");b.H.V=!0;b.NB()},a),_.UH(this.H.H))};fLc=function(a){a=a.Cu.length&&_.ba(a.Cu).response;return!!(a&&a instanceof _.qb&&tIc(a))};
gLc=function(a,b){a.V.info("drive.ds.network.queue.BackoffState",b)};_.hLc=function(a,b){qP.call(this,"Batch");this.V=a;this.W=b;this.H=null};_.I(_.hLc,qP);_.hLc.prototype.max=function(a){return a>=this.V?this.V:null!=this.H?this.W<=Date.now()-this.H?this.V:0:0};_.hLc.prototype.yU=function(a){a>=this.V?this.NB():null==this.H&&iLc(this)};_.hLc.prototype.moa=function(a,b){0<b?iLc(this):this.H=null};iLc=function(a){a.H=Date.now()-1;_.m.setTimeout(a.NB.bind(a),a.W)};
_.HIc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.EO=function(a){this.request=a;this.requestId=_.tg()};_.jLc=function(a,b,c,d){this.id=a;this.H=b;this.V=c;this.W=void 0===d?"":d};_.LIc=function(a,b){this.request=a;this.H=b};_.HO=function(a,b,c){this.request=a;this.file=b;this.metadata=c};_.PIc=function(a,b,c,d){this.request=a;this.file=b;this.H=c||null;this.metadata=d};NIc=function(a,b,c){this.request=a;this.H=b;this.metadata=c};
kLc=function(a,b,c){this.Z9a=a;this.cjb=b;this.FTa=c};OIc=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};_.RIc=function(a){this.H=a};_.IIc=function(a,b){this.request=a;this.pageToken=b||""};_.MIc=function(a,b){this.request=a;this.pageToken=b||""};lLc=function(a,b){this.Qfa=a;this.mE=b};sP=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.tP=function(a,b,c){a.IJ.length&&a.append(" "+(c||"and")+" ");a.append(b)};
uP=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(sP(c));e.push("in");e.push(b);_.tP(a,e.join(" "))}};_.vP=function(a,b,c,d){d=void 0===d?"and":d;if(null!=c){var e=[];e.push(b);e.push("=");e.push((!!c).toString());_.tP(a,e.join(" "),d)}};_.mLc=function(a){var b=new _.SGc;b.setTime(a);return b};nLc=function(a,b){b=_.Rj(b,_.$O,35)||[];_.Fa(b,function(c){uP(a,"ancestors",c.yb(),!1)})};oLc=function(a,b){b=_.Rj(b,_.$O,38)||[];_.Fa(b,function(c){uP(a,"descendants",c.yb(),!1)})};
pLc=function(a,b){b=_.Rj(b,_.Sk,37)||[];_.Fa(b,function(c){uP(a,"folderFeatures",c.yb(),!1)})};qLc=function(a,b){b=_.z(b,39);_.Fa(b,function(c){var d=[];d.push("templateData.description");d.push("contains");d.push(sP(c));_.tP(a,d.join(" "))})};rLc=function(a,b){b=_.z(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(sP(b));_.tP(a,c.join(" "))}};_.sLc=function(a){a=_.Rj(a,_.aP,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(",")};
_.tLc=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 _.SEc[b]}).join(",")};uLc=function(a,b,c){b=void 0===b?"":b;c=void 0===c?"":c;var d=[],e=sP(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(" ")};
vLc=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""}};wLc=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};xLc=function(a,b,c){if(null!=_.z(c,2)){var d=wLc(_.z(c,1));c=sP(_.dKc(_.mLc(_.z(c,2)||0)));_.tP(a,[b,d,c].join(" "))}};
yLc=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""};
_.zLc=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(sP(f));_.tP(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(sP(v));_.tP(b,y.join(" "))}}var B=_.dP(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=uLc(F[T],0==T?"(":"",T==F.length-1?")":"");_.tP(b,fa,0!=T?"or":"and")}for(var za=0;za<M.length;za++)_.tP(b,uLc(M[za],0==za?"(":"",za==M.length-1?")":""))}for(var La=_.Rj(a,_.Rk,7),Ba=0;Ba<La.length;Ba++)xLc(b,"modifiedDate",La[Ba]);for(var ea=_.Rj(a,_.Rk,8),Va=0;Va<ea.length;Va++)xLc(b,"lastViewedByMeDate",ea[Va]);_.vP(b,"trashed",a.Bh());_.vP(b,"explicitlyTrashed",_.E(a,17));_.vP(b,"starred",_.E(a,10));_.vP(b,"hidden",a.Hl());
for(var gb=_.eP(a),Rb=0;Rb<gb.length;Rb++){var vb=gb[Rb];uP(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];uP(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];uP(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];uP(b,"readers",fd.yb(),_.A(fd,2,!1))}_.E(a,16)&&_.tP(b,"sharedWithMe");_.vP(b,"unparented",_.E(a,34));nLc(b,a);oLc(b,a);pLc(b,a);qLc(b,a);for(var Gi=
_.z(a,40),Pe=0;Pe<Gi.length;Pe++){var Of=[];0==Pe&&Of.push("(");Of.push(sP(Gi[Pe]));Of.push("in");Of.push("templateData.categories");Pe==Gi.length-1&&Of.push(")");_.tP(b,Of.join(" "),0==Pe?"and":"or")}var Eb=_.z(a,41);if(null!=Eb){var li=[];li.push("templateData.galleryState");li.push("=");li.push(sP(_.UGc[Eb]||""));_.tP(b,li.join(" "))}var Vk=_.z(a,42);if(null!=Vk){var mi=[];mi.push("visibility");mi.push("=");mi.push(sP(yLc(Vk)));_.tP(b,mi.join(" "))}for(var kq=_.Rj(a,_.Ok,44),nk=0;nk<kq.length;++nk){var Pf=
kq[nk];uP(b,"actionItems",vLc(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(sP("NONE"));_.tP(b,Bh.join(" "))}uP(b,"workspaceIds",_.z(a,54),!1);for(var lq=_.Rj(a,_.Pk,57),zl=0;zl<lq.length;zl++){var Wn=[];0==zl&&Wn.push("(");Wn.push(sP(lq[zl].yb()));Wn.push("in");Wn.push("approvals");zl==lq.length-1&&Wn.push(")");_.tP(b,Wn.join(" "),0==zl?"and":"or")}if(null!=_.z(a,58)){var Al=_.C(a,_.ve,58),Xn=Al.yb(),mq=_.A(Al,2,!1);if(Xn){var ok=
[];mq&&ok.push("not");ok.push("creator");ok.push("=");ok.push(sP(Xn));_.tP(b,ok.join(" "))}}var nq=_.C(a,_.pna,59);if(nq)for(var Bl=_.u(_.Rj(nq,_.nna,1)),gp=Bl.next();!gp.done;gp=Bl.next()){var hp=gp.value;uP(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,_.ena,10);var ip=_.E(Hg,15);(void 0===ip?0:ip)?_.tP(b,Ze+" is null"):_.tP(b,"not ("+Ze+" is null)")}else{var Uh=new _.xp,Yi=void 0;switch(sc){case 3:Yi=
_.C(Hg,XJc,3);for(var Jv=_.u(Yi.V()),Br=Jv.next();!Br.done;Br=Jv.next())_.vP(Uh,Ze,Br.value,"or");break;case 14:for(var Ns=Yi=_.C(Hg,_.Yma,14),Os=new Map([[1,"="],[2,">"],[3,"<"]]),Ps=_.u(Ns.V()),Zn=Ps.next();!Zn.done;Zn=Ps.next()){var ju=Zn.value,jp=Os.get(_.z(Ns,2));if(!jp)throw Error("Ye");var dh=[Ze,jp,sP(ju.getYear()+"-"+ju.getMonth()+"-"+ju.getDay())];_.tP(Uh,dh.join(" "),"or")}break;case 8:for(var zj=Yi=_.C(Hg,_.dna,8),hn=new Map([[1,"="],[2,">"],[3,"<"]]),Ch=_.u(zj.V()),kp=Ch.next();!kp.done;kp=
Ch.next()){var ku=kp.value,Qs=hn.get(_.z(zj,2));if(!Qs)throw Error("Ye");_.tP(Uh,[Ze,Qs,ku].join(" "),"or")}break;case 9:for(var Cr=Yi=_.C(Hg,ZJc,9),oq=new Map([[1,"in"]]),pq=_.u(Cr.V()),Cl=pq.next();!Cl.done;Cl=pq.next()){var Rs=Cl.value,lu=oq.get(_.z(Cr,2));if(!lu)throw Error("Ye");_.tP(Uh,[Rs,lu,Ze].join(" "),"or")}break;case 6:for(var lp=Yi=_.C(Hg,_.ina,6),qq=new Map([[1,"="]]),rq=_.u(lp.V()),Ss=rq.next();!Ss.done;Ss=rq.next()){var mu=Ss.value,sq=qq.get(_.z(lp,2));if(!sq)throw Error("Ye");_.tP(Uh,
[Ze,sq,sP(mu)].join(" "),"or")}break;case 7:for(var Kv=Yi=_.C(Hg,_.gna,7),nu=new Map([[1,"in"]]),$n=_.u(Kv.V()),ou=$n.next();!ou.done;ou=$n.next()){var Dr=ou.value,pu=nu.get(_.z(Kv,2));if(!pu)throw Error("Ye");_.tP(Uh,[sP(Dr),pu,Ze].join(" "),"or")}break;case 4:for(var Ts=Yi=_.C(Hg,_.kna,4),jn=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),vx=_.u(Ts.V()),Er=vx.next();!Er.done;Er=vx.next()){var re=Er.value,wx=jn.get(_.z(Ts,2));if(!wx)throw Error("Ye");_.tP(Uh,[Ze,wx,sP(re)].join(" "),"or")}break;
case 5:for(var Az=Yi=_.C(Hg,aKc,5),eG=new Map([[1,"in"]]),fG=_.u(Az.V()),kn=fG.next();!kn.done;kn=fG.next()){var mC=kn.value,tq=eG.get(_.z(Az,2));if(!tq)throw Error("Ye");_.tP(Uh,[sP(mC),tq,Ze].join(" "),"or")}break;case 12:for(var mp=Yi=_.C(Hg,_.bna,12),bP=new Map([[1,"="]]),gG=_.u(mp.V()),nC=gG.next();!nC.done;nC=gG.next()){var pW=nC.value,Bz=bP.get(_.z(mp,2));if(!Bz)throw Error("Ye");_.tP(Uh,[Ze,Bz,sP(pW)].join(" "),"or")}break;case 11:for(var cP=Yi=_.C(Hg,_.$ma,11),RHa=new Map([[1,"in"]]),e7=
_.u(cP.V()),RX=e7.next();!RX.done;RX=e7.next()){var lka=RX.value,SX=RHa.get(_.z(cP,2));if(!SX)throw Error("Ye");_.tP(Uh,[sP(lka),SX,Ze].join(" "),"or")}}_.E(Hg,15)?_.tP(b,"not ("+Uh+")"):_.tP(b,1<Yi.V().length?"("+Uh+")":""+Uh)}}}_.E(a,60)&&_.vP(b,"canChangeSecurityUpdateEnabled",_.E(a,60));1==_.fP(a)&&rLc(b,a);return b.toString()};
_.ALc=function(a){var b=new _.xp(_.zLc(a));_.jO(a)?_.tP(b,"isQuickAccessRequest"):_.kO(a)?_.tP(b,"isPeoplePredictRequest"):_.lO(a)&&_.tP(b,"isDrivePriorityRequest");var c=a.Td();if(c){var d=[];d.push("sortBy");d.push(_.PGc[c.getType()]);d.push(_.WGc[c.hh()]);_.E(c,3)&&d.push("foldersFirst");_.tP(b,d.join(" "))}_.vP(b,"domainSearch",_.E(a,18));_.vP(b,"offline",_.E(a,19));_.Rj(a,_.aP,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.sLc(a)),_.tP(b,c.join(" ")));a.bu().length&&(c=[],c.push("spaces"),
c.push("contains"),c.push(_.tLc(a)),_.tP(b,c.join(" ")));if(c=_.fP(a))d=[],d.push("corpora"),d.push("="),d.push(sP(_.JKc[c])),_.tP(b,d.join(" "));1!=_.fP(a)&&rLc(b,a);_.A(a,48,!1)&&_.tP(b,"cachedOnly");return b.toString()};_.OO=function(a){if(a instanceof _.XM)a=a.kd();else if(!a)return!1;return a instanceof _.vo||"undefined"!=typeof _.wO&&a instanceof _.wO||"undefined"!=typeof _.wP&&a instanceof _.wP||a instanceof _.se&&(_.jO(a)||_.kO(a)||_.lO(a))};
WIc=[_.RN,_.TN,_.SN,_.VN,_.UN,_.WN,_.XN,_.$N,_.bO,_.cO,_.dO,_.fO,_.tO,_.vO,_.yO,_.pN,_.zO,_.AO,_.BO,_.EO,_.HO];BLc=[_.rN];XIc=[_.vG,_.MIc];YIc=[_.pO,_.CO,_.LIc,_.IO];ZIc=[_.XM,_.oo,_.rN,_.IIc];$Ic=[_.IO,_.wo];aJc=[_.eO,_.GIc,_.nO,_.rO,_.HIc,_.HO,OIc,NIc];_.xP=function(){this.Kp=[]};_.xP.prototype.add=function(a,b){b?this.Kp.unshift(a):this.Kp.push(a);return!0};_.xP.prototype.H=function(a){return _.va(this.Kp,0,a)};
_.xP.prototype.cancel=function(a){return _.pa(this.Kp,function(b){return b.Gr.config.requestId==a?(b.hk.resolve(UIc(b.Gr.request)),!0):!1})};_.CLc=function(a){pP.call(this);this.V=a};_.I(_.CLc,pP);_.CLc.prototype.H=function(a){var b=_.kN(a.Cu[a.Cu.length-1].response),c=!1;if(2==b.Kn())b=this.V,DLc(b,3)&&_.ELc(b),c=!0;else if(_.JGc(b)){b=this.V;if(c=!b.H)c=b.qc,c=!c.YG&&c.isConnected()?c.q$=!0:!1;c&&_.ELc(b);c=!0}return c&&2>a.Cu.length?(aLc(this,a),!0):!1};var FLc=function(){qP.call(this,"Immediate")};
_.I(FLc,qP);FLc.prototype.max=function(){return Infinity};FLc.prototype.yU=function(){this.NB()};var GLc=function(){qP.call(this,"One Request")};_.I(GLc,qP);GLc.prototype.max=function(){return 1};_.HLc=function(a){qP.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(_.HLc,qP);_.HLc.prototype.max=function(){return this.Tg.isConnected()?Infinity:0};_.HLc.prototype.yU=function(){this.NB()};
_.yP=function(a){qP.call(this,"Parallel");this.V=a;this.H=0};_.I(_.yP,qP);_.yP.prototype.max=function(){return Math.max(0,this.V-this.H)};_.yP.prototype.yU=function(){this.H<this.V&&this.NB()};_.yP.prototype.moa=function(a){this.H+=a.length};_.yP.prototype.LGa=function(a){this.H-=a.length;this.H<this.V&&this.NB()};
_.zP=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){ILc(h,!0,k.request)});this.Ma=_.Px("drive.ds.network.queue.Queue [%s]",f);this.Ja=0;this.ha=new Map};_.I(_.zP,_.O);_.zP.prototype.add=function(a){return ILc(this,!1,{Gr:a,hk:_.Jh(),Cu:[]})};
_.zP.prototype.cancel=function(a){var b=this.W.cancel(a),c=this.V.some(function(d){return d.cancel(a)});b?JLc(this,"Canceled ID "+a+" during execution."):c&&JLc(this,"Canceled ID "+a+" inside bucket.");return b||c};var ILc=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(_.MN(a));for(var d=KLc(a),e=0;e<a.H.length;e++)a.H[e].yU(d);return c.hk.promise};
_.zP.prototype.ma=function(){var a=KLc(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&&(JLc(this,"Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),LLc(this,c))}};
var LLc=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=KLc(a);for(var f=0;f<a.H.length;f++)a.H[f].moa(b,e);_.Kh(_.Ih(d).then(a.wa.bind(a,b)),function(){a.ha.delete(c)});_.m.setTimeout(a.ma.bind(a),0)};_.zP.prototype.Ga=function(a,b){var c=a.Gr.config;JLc(this,TIc(a.Gr.request)+" request completed successfully. xd4: "+!(!c||!c.GG));for(c=0;c<this.H.length;c++)this.H[c].KGa();a.hk.resolve(b)};
_.zP.prototype.Ba=function(a,b){b=_.MN(b);JLc(this,TIc(a.Gr.request)+(" request failed with error: "+b.W+"."));a.Cu.push({response:b,Gmb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].JGa(a);a.Gr.config.eaa||!this.ua.some(function(d){return d.H(a)})?a.hk.reject(b):JLc(this,TIc(a.Gr.request)+" encountered an error, but was intercepted to be retried.")};_.zP.prototype.wa=function(a){for(var b=0;b<this.H.length;b++)this.H[b].LGa(a)};
KLc=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};JLc=function(a,b){a.Ka.info(a.Ma,b)};_.MLc=function(a,b,c,d){pP.call(this);this.V=_.D(a,21,1E3);this.ma=_.D(a,1,1);this.W=b;this.ka=c;this.ha=d};_.I(_.MLc,pP);
_.MLc.prototype.H=function(a){var b=a.Cu.length,c=0<b&&_.ba(a.Cu).response||null;if(c){c=_.kN(c);if(2==c.Kn()&&this.ka.Ff())return NLc(this,a,b);var d=c.Qi();if(3==d||31==d||13==d||9==d)return OLc(this,a,b);if(tIc(c))return b=this.W.H.V,c=this.W,c.H.V<c.W?(PLc(this,"Backoff number "+b+" for a User Rate Limit error."),aLc(this,a),a=!0):(PLc(this,"Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var NLc=function(a,b,c){PLc(a,"Retry "+c+" for a failed request due to an offline error.");_.m.setTimeout(function(){return aLc(a,b)},a.V);return!0},OLc=function(a,b,c){var d=a.ma;if(c<=d)return PLc(a,"Retry number "+(c+1)+" for a retryable error."),_.m.setTimeout(function(){return aLc(a,b)},a.V*Math.pow(2,c)),!0;PLc(a,"Done retrying retriable requests after "+d+" retries.");return!1},PLc=function(a,b){a.ha.info("drive.ds.network.queue.RetryInterceptor",b)},QLc=function(a){try{if("undefined"!=typeof FileReaderSync&&
_.lN()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Xob,d=IKc(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Vob(e,"reading data"))}},RLc=function(a){return QLc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})},SLc=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,_.fKc,15);a=_.lN()&&a?_.z(a,1):null;this.V="number"===typeof a?a:f.file.size;this.H=
0;this.Ga=this.Ka=this.wa=null;this.W=_.Jh();this.ma=!1;this.Ja=h.requestId;this.ka="progress_"+this.Ja;h.Mpa=this.ka;this.Ba=this.Qa=0},TLc=function(a,b){a.hb.info("drive.ds.sync.request.ResumableUpload",b)};
SLc.prototype.start=function(){var a=this,b=new NIc(this.hc.request,this.V,this.hc.metadata),c=ULc(this);this.Xa.then(function(d){return d.H(b,c)}).then(function(d){a.wa=d.Z9a;a.Ka=d.cjb;a.Ga=d.FTa;VLc(a)},function(d){return void a.W.reject(d)});return _.Kh(this.W.promise.then(function(d){WLc(a,d);return d},function(d){d=_.MN(d);WLc(a,d.dg);return _.Gh(d)}),function(){ZKc(a.ha,[a.ka])})};var ULc=function(a){var b=_.tf(a.Ma);YKc(a.ha,a.ka,oKc(function(){return void a.ha.notify([a.Ja],0)}));return b};
SLc.prototype.cancel=function(){return this.ma?!1:(this.ma=!0,this.W.resolve(UIc(this.hc)),!0)};VLc=function(a){a.ma||(TLc(a,"Uploading chunk "+a.Ba+" for "+a.wa+"."),XLc(a,4))};
XLc=function(a,b){YLc(a).then(function(c){if(c){var d=ZLc(a,c.H.size);if(d.eaa){var e=(new _.LO).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.kJ()&&(a.Ga=f.kJ());a.H<a.V?VLc(a):a.W.resolve(f)},function(f){var h=_.kN(f);h.Gka()||h.M8()?$Lc(a,b,h,!1):RLc(c.H).then(function(k){k=k?_.yEa.get(k)||25:38;_.WM(h,k);k=38==h.Kn();var l=38!=h.Kn()&&25!=h.Kn();$Lc(a,b,h,k,l)},function(){})})}else e=_.MN(_.WM(_.Fq(new _.qb,"Could not read more of the file. Read "+
a.H+"/"+a.V+" bytes."),5)),a.W.reject(e)})};$Lc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.zha(f);!e&&0<b?(a.Qa++,d&&(a.ua=Math.max(262144*Math.floor(a.ua/262144/2),8388608)),setTimeout(function(){b--;TLc(a,"Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.ua+" bytes "):"")+"for ")+(a.wa+"."));XLc(a,b)},a.rb*Math.pow(1.5,f))):a.W.reject(_.MN(c))};
YLc=function(a){return aMc(a).then(function(b){if(!b)return null;a.ma=a.H+b.size==a.V;return new OIc(a.wa,b,a.V,a.H,a.H+b.size-1,a.hc.request.Rb(),_.z(a.hc.request,12)||void 0)})};aMc=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(_.LKc(a.hc.file,c,d))};ZLc=function(a,b){var c=_.tf(a.Ma);c.Uva=!0;var d=a.H/a.V,e=b/a.V;ZKc(a.ha,[a.ka]);YKc(a.ha,a.ka,function(f){a.ha.notify([a.Ja],d+e*f)});return c};
WLc=function(a,b){b.Lxa(3);b.zha(a.Qa);b.pB()||b.d2(a.Ka);b.kJ()||b.P1(a.Ga)};_.bMc=function(a,b,c,d,e){this.ka=a;this.W=b;this.H=c;this.ha=d;this.V=e};_.bMc.prototype.create=function(a,b){return new SLc(this.ka,this.W,this.H,this.ha,this.V,a,b)};_.cMc=function(a){this.V=a;this.H={}};
_.cMc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Gr.request instanceof _.PIc)b.push(dMc(this,a[c].Gr));else{var d=_.Fq(new _.qb,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.MN(d)))}return b};_.cMc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.cMc.prototype.IEa=function(){return!_.qf(this.H)};dMc=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]})};
_.eMc=function(a,b){return new _.zP(b,a,[new FLc],[new _.xP],[],"immediate")};_.fMc=function(a,b,c,d,e,f,h){if(h){var k=new _.HLc(h.getState());d=new _.CLc(h)}else k=new _.dLc(c,d),d=new _.bLc(d);return new _.zP(f,a,[k,new _.rP(e,f),new GLc],[new _.xP],[d,new _.MLc(b,e,h?h.getState():c,f)],"connected")};
_.gMc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?_.D(b,10,50):l;if(h){var n=new _.HLc(h.getState());d=new _.CLc(h)}else n=new _.dLc(c,d),d=new _.bLc(d);return new _.zP(f,a,[n,new _.hLc(l,_.D(b,12,10)),new _.yP(3*l),new _.rP(e,f)],[new _.xP],[d,new _.MLc(b,e,h?h.getState():c,f)],k)};_.hMc=function(a,b,c){b=_.D(b,46,1);return new _.zP(c,a,[new _.yP(b)],[new _.xP],[],"resumable_upload")};
_.iMc=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};_.iMc.prototype.H=function(a,b){var c=this,d=function(h){h=_.MN(h);var k=h.dg;VIc(a)||_.Hq(k);return _.Gh(h)};if(this.ha()&&(a instanceof _.XM&&_.OO(a.kd())||b&&b.uob)){this.W||(this.W=_.Jh());var e=this.W.promise}var f=function(){return jMc(c,a,b).then(null,d)};return e?e.then(f):f()};
var jMc=function(a,b,c){c=void 0===c?{}:c;var d=a.Ga.validate(b);if(d)return _.Gh(_.MN(d));d=a.Ba.V(b);return d instanceof _.qb?_.Gh(_.MN(d)):Array.isArray(d)?(d=d.map(function(e){return kMc(a,b,e,c)}),_.Ih(d)):kMc(a,b,d,c)},kMc=function(a,b,c,d){var e=lMc(a,c);if(!e)return b=_.WM(_.Fq(new _.qb,"Failed to choose a queue for server request."),18),_.Gh(_.MN(b));if(e===a.V[7]||e===a.V[8])d.GG=!0;d=e.add({request:c,config:d});(_.NO(b)||_.NO(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};_.iMc.prototype.cancel=function(a){return _.mf(this.V,function(b){return b.cancel(a)})};
lMc=function(a,b){var c=!1;b instanceof _.oo?c=!!_.E(b,7):b instanceof _.XM&&(c=(c=b.kd())&&!!_.E(c,46));return(b instanceof _.RIc||"undefined"!=typeof _.AP&&b instanceof _.AP&&b.W())&&a.V[1]?a.V[1]:b instanceof _.PIc&&a.V[5]?a.V[5]:c&&bJc(b,a.ka)&&a.V[7]?a.V[7]:bJc(b,a.ka)&&a.V[8]?a.V[8]:c&&b instanceof _.oo&&a.V[6]?a.V[6]:(c||BLc.includes(b.constructor))&&a.V[3]?a.V[3]:WIc.includes(b.constructor)&&a.V[4]?a.V[4]:a.V[2]||a.V[1]};
_.mMc=function(a,b){this.H=a;this.V=_.OGc[_.D(a.mf(),8,0)];this.ha=_.OGc[_.D(a.mf(),51,5)];this.W=b;this.ka=_.tg()};
_.mMc.prototype.Ic=function(a,b){if(b.GG)nMc(this,a,b),oMc(this,a,b);else if(11==a.mp){if(b.bgb){var c=b.Gaa||_.D(this.H.mf(),37,"");_.bj(a.uri,"key",c)}nMc(this,a,b);pMc(this,a,b)}else switch(a.uri=qMc(this,a.mp,a.uri),a.mp){case 1:pMc(this,a,b);nMc(this,a,b);break;case 0:_.A(this.H,83,!1)&&(b.zG||_.ZM(this.H.Ne())||_.bj(a.uri,"dsNonce",this.ka));case 2:case 3:case 4:case 5:pMc(this,a,b);oMc(this,a,b);nMc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:pMc(this,a,b);oMc(this,a,b);break;
default:throw Error("hf`"+a.mp);}};
var rMc=function(a,b){var c=qMc(a,b,new _.Si);if(!c.H)throw Error("kf");return _.Wi(_.Vi(_.Ui(_.Ti(new _.Si,c.V),c.H),c.ha),_.bHc.has(b)?"/batch"+a.V:"/batch")},qMc=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)},pMc=function(a,b,c){a=a.H.Ne();c.zG||_.ZM(a)||(c=[{key:"u",value:_.gP(a)}],b.headers.authorization=_.RZb(c)||"",c=_.mN(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))},nMc=function(a,b,c){var d=a.H.Ne(),e=a.H.mf(),f=c.Wmb||!!_.z(e,13);c=c.Xmb||_.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())},oMc=function(a,b,c){c.zG||_.ZM(a.H.Ne())?_.bj(b.uri,"key",_.D(a.H.mf(),36,"")):(a=c.Gaa||_.D(a.H.mf(),37,""),_.bj(b.uri,"key",
a))},sMc=function(a){this.H=a};sMc.prototype.build=function(a,b){var c="====="+_.tg()+"=====",d=a[0].mp,e=b.every(function(l){return l.GG});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=rMc(this.H,a[0].mp);_.bj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=_.fHc[d],h=_.gHc[d]||{},h["content-type"]=_.Px('multipart/mixed; boundary="%s"',c),d=_.dHc[d],k=new _.Si("");a=tMc(this,a,b,c,e);return{mp:f,body:a,headers:h,method:d,uri:k}};
var tMc=function(a,b,c,d,e){for(var f=EIc(_.jHc[b[0].mp]||{}),h="",k=0;k<b.length;k++){e&&pMc(a.H,b[k],c[k]);var l=b[k],n=a.H,q=l,t=c[k];q.uri=qMc(n,q.mp,q.uri);switch(q.mp){case 0:case 5:oMc(n,q,t);nMc(n,q,t);break;case 2:pMc(n,q,t);oMc(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;nMc(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")+EIc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},uMc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,vMc=/^multipart\/mixed; boundary="?([^"]+)"?$/,wMc=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.",_.WM(_.Gq(new _.qb,b),17));var f=e[1].split("\r\n");if(d=uMc.exec(f[0])){var h=_.wg(d[1]);
d=d[2]}else return new _.rb("Could not extract HTTP status code and text.",_.WM(_.Gq(new _.qb,b),16));f.shift();a=_.tf(a);Object.assign(a,FIc(f));try{var k=_.Ec(_.sg(e[2]))?void 0:JSON.parse(e[2])}catch(l){}return(c=_.kFc(h,d,a,b,k,void 0,void 0,c&&c.toString()))?_.MN(c):{headers:a,text:b,json:k||void 0}},xMc=function(){_.Mi.apply(this,arguments)};_.I(xMc,_.Mi);xMc.prototype.Qa=function(){return _.tga(_.Mi.prototype.Qa.call(this))};
var yMc=function(a,b){this.ma=a;this.W=b;this.V={};this.H={}},zMc=function(a,b,c){try{a.ma.Ic(b,c);var d=new xMc;d.W=!0;var e=c.requestId||"",f=_.Jh();d.listen("complete",a.ua.bind(a,d,f,e,c.ila,4==b.mp));e&&c.Mpa&&!c.GG&&(a.V[e]=d,a.H[e]=c,d.Xb=!0,d.listen("uploadprogress",(0,_.K)(a.ka,a,c)),c.Uva||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(_.MN(h))}};
yMc.prototype.cancel=function(a){var b=this.V[a];a=this.H[a];return b&&b.ze()?(a.eaa=!0,b.abort(),!0):!1};yMc.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:dJc(a),text:_.Qi(a)};if(!d)try{c.json=_.Ri(a)}catch(f){}d=_.kFc(a.Gb(),_.ska(a),c.headers,c.text,c.json,a.V,_.vka(a),String(a.ka),e);a.dispose();d?b.reject(_.MN(d)):b.resolve(c)};
yMc.prototype.ka=function(a,b){b.lengthComputable&&this.W.notify([a.Mpa],a.Uva?b.loaded/b.total:b.loaded/b.total/2)};yMc.prototype.ha=function(a,b){b.lengthComputable&&this.W.notify([a.Mpa],b.loaded/b.total/2+.5)};var AMc=function(a,b,c){this.V=a;this.W=b;this.ha=c;this.H=new Map};
AMc.prototype.add=function(a,b){var c="DEFAULT";b.GG&&(c=rMc(this.V,a.mp).toString());this.H.has(c)||this.H.set(c,[]);c=this.H.get(c);if(1<=c.length&&!b.GG&&!_.fHc[a.mp])return a=_.Fq(new _.qb,"Unsupported batch API: "+a.mp),_.Gh(_.MN(a));var d=_.Jh();c.push({request:a,config:b,hk:d});return d.promise};
AMc.prototype.send=function(){var a=this;this.H.forEach(function(b,c){try{BMc(a,b)}catch(f){var d=_.Gq(_.Fq(new _.qb,"Error executing XHR: "+f.message),f.stack),e=_.MN(d);b.forEach(function(h){h.hk.reject(e)});a.H.delete(c)}})};
BMc=function(a,b){if(1==b.length){var c=b[0];if(!c.config.ila&&!c.config.GG){var d=!1;if(_.fHc[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;zMc(a.W,c.request,c.config).then(b.resolve,b.reject,b);return}}}CMc(a,b)};
CMc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);d.push(e.config)});zMc(a.W,a.ha.build(c,d),{ila:!0,GG:d.every(function(e){return e.GG})}).then(function(e){e.headers=_.UM(e.headers);var f=vMc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.rb("Could not extract batch boundary.",_.WM(_.Gq(new _.qb,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2==h.length&&_.Oc(_.tga(h[0]),f)&&_.Ec(h[1]))h=_.tga(h[0]).substring(f.length);else throw new _.rb("Could not parse batch response; did not begin and end with boundary.",
_.WM(_.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(wMc(e.headers,f[l],n&&n.uri))}return k}).then(null,function(e){e=_.MN(e);return _.TEc(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(_.MN(k)):h.resolve(k)}})};_.BP=function(a,b){_.jP(a)&&(b.supportsTeamDrives=!0)};
_.DMc=function(a){this.H=[].concat(_.oc(_.z(a,27)));this.V=new Set;var b=_.xIc(this.H,_.z(a,28));if(0<b.length)throw Error("lf`"+b.join(","));this.H.push(21);this.H.push(70);_.ZM(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));_.jP(a)&&(this.H.push(83),this.H.push(87));_.ya(this.H);this.H.sort();yIc(this.H)};_.CP=function(a){return[].concat(_.oc(a.H))};
EMc=function(a){return a instanceof _.XM||a instanceof _.IO||"undefined"!=typeof _.DP&&a instanceof _.DP||a instanceof _.AO||a instanceof _.cO||a instanceof _.WN||a instanceof _.$N||a instanceof _.pN&&_.NO(a)};_.FMc=function(a,b){this.V=b;this.H={};this.W=new rKc;b=_.ON({fields:_.z(a,28),mw:_.ZM(a.Ne())});this.jc("SecondaryFields",b);this.jc("SdkBackfillEnabled",!!_.A(a,45,!1)+" (Include corpus cache: "+!!_.A(a,46,!1)+")")};_.FMc.prototype.jc=function(a,b){this.H[a]=_.GMc(a,b)};
HMc=function(a,b){var c=a.H[b];c||(c=_.GMc(b,0,2),a.H[b]=c);c.jc(String(Number(c.yb())+1))};_.GMc=function(a,b,c){var d=new _.KKc;_.x(d,1,a);_.x(d,4,c||1);d.jc(String(b));d.zl(nKc[a]);return d};
_.IMc=function(a,b,c){var d=new _.iFc;_.x(d,2,"Pending...");b instanceof _.XM?_.Sj(d,3,_.YM[0],b):b instanceof _.IO?_.Sj(d,4,_.YM[0],b):"undefined"!=typeof _.DP&&b instanceof _.DP?_.Sj(d,5,_.YM[0],b):b instanceof _.AO?_.Sj(d,6,_.YM[0],b):b instanceof _.cO?_.Sj(d,7,_.YM[0],b):b instanceof _.WN?_.Sj(d,8,_.YM[0],b):b instanceof _.$N?_.Sj(d,9,_.YM[0],b):b instanceof _.pN&&_.Sj(d,10,_.YM[0],b);var e=TIc(b),f=[];if(b instanceof _.SN)KO(f,"ID",b.getId()),KO(f,"Parent ID",b.Nj());else if(b instanceof _.cO)KO(f,
"TD ID",b.getId());else if(b instanceof _.XM)b=_.ALc(b.kd()),KO(f,"Query",b);else if(b instanceof _.IO)KO(f,"Query","All");else if(b instanceof _.AO)KO(f,"TD ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"Theme Image ID",_.z(b,3));else if(b instanceof _.WN)KO(f,"MimeType",b.Rb()),KO(f,"Title",b.getTitle()),KO(f,"Parents",_.z(b,3)),KO(f,"Convert",_.E(b,8)),KO(f,"Request ID",_.kP(b)),KO(f,"Parent Request IDs",_.z(b,10)),KO(f,"Revision Item ID",_.z(b,12)),KO(f,"Pinned",_.E(b,8));else if(b instanceof
_.XN)KO(f,"Title",b.getTitle());else if(b instanceof _.$N)KO(f,"ID",b.getId());else if(b instanceof _.dO)KO(f,"WS ID",b.getId());else if(b instanceof _.pN){if(KO(f,"ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"Description",b.Tf()),KO(f,"Starred",_.E(b,4)),KO(f,"Trashed",b.Bh()),KO(f,"MimeType",b.Rb()),KO(f,"Parents",_.z(b,8)),KO(f,"Parents to add",_.z(b,9)),KO(f,"Parents to remove",_.z(b,10)),KO(f,"Restricted",_.E(b,11)),KO(f,"Folder Color",b.$h()),KO(f,"Update Last Viewed",_.E(b,15)),KO(f,"Subscribed",
_.E(b,16)),KO(f,"Available Offline",b.Rp()),KO(f,"Wksp to add",_.z(b,31)),KO(f,"Wksp to remove",_.z(b,32)),b=_.C(b,_.Ek,25))KO(f,"Read Only",_.E(b,1)),KO(f,"Reason",_.z(b,2))}else b instanceof _.BO?(KO(f,"WS ID",b.getId()),KO(f,"Title",b.getTitle()),KO(f,"State",b.getState())):b instanceof _.EO&&KO(f,"Title",b.request.getTitle());_.x(d,1,"Request: "+e+(c?" ("+c+")":"")+"\n"+f.join("\n"));a.W.add(d);return d};
_.JMc=function(a,b){for(var c=new _.xp,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+pKc(e.getTitle()||"")+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.x(a,2,c.toString()||"Done.")};KMc=[0,2,4,7,8];_.LMc=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 sMc(this.W);this.ka=new yMc(this.W,this.Ba);this.V=[]};_.g=_.LMc.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(MMc(this.Ga,f,a[e].Cu));d.push(EMc(f.request)?_.IMc(this.ua,f.request):void 0)}if(this.H&&this.H.H){var h=Promise.reject(_.MN(_.kFc(0,"",{},"",void 0,-99)));return a.map(function(){return h})}var k=new AMc(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.ufb.bind(b,t.mp,q.zG),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.TSa.bind(this,l.request,d[f],a[f].Cu)).then(null,function(q){return Promise.reject(_.MN(q))});n.then(this.HEa.bind(this,l),this.HEa.bind(this,l));c.push(n)}return c};_.g.TSa=function(a,b,c,d){a=_.NMc(this.wa,a,d,c);b&&_.JMc(b,a.Bd?a.Bd():[]);return a};_.g.ufb=function(a,b){a=!b&&_.ja(KMc,a);if(this.H){b=this.H;var c=a?1:2;if(!b.qc.isConnected()||a)c=DLc(b,c),a&&c&&_.OMc(b)}else this.ha&&a&&this.ha.Ba()};_.g.cancel=function(a){return this.ka.cancel(a)};
_.g.IEa=function(){return this.V.some(function(a){return _.NO(a.request)})};_.g.HEa=function(a){_.oa(this.V,a)};_.EP=function(a,b){if(!_.wa(b))throw new _.rb("Expected an object, but got a "+_.oea(b)+".",_.KN(11,void 0,8));var c=b.kind;if(!c)throw new _.rb("Expected 'kind' parameter in response: "+JSON.stringify(b),_.KN(11,void 0,21));if(!a.includes(c))throw new _.rb("Expected "+a.join(" or ")+" but got a "+c+".",_.KN(11,void 0,9));};PMc=function(a,b){this.H=a;this.V=b};
_.FP=function(a,b){_.EP(["drive#user"],b);var c=_.fJc(1).kc(b.permissionId);c=_.x(c,11,b.id);c=_.hJc(c.zd(b.displayName),b.emailAddress);b.picture&&c.Fs(b.picture.url);_.oN(a.H)&&_.hJc(c,b.emailAddressFromAccount||b.emailAddress);_.gJc(c,a.Ef(b.permissionId,b.id));_.x(c,9,b.domain);return c};PMc.prototype.Ef=function(a,b){var c=this.V();if(c&&a)return c==a;if(b)return _.gP(this.H.Ne())==b};_.GP=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.QMc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=_.iJc(new _.Bk,a.canAddChildren);c=_.x(c,18,a.canChangeTeamDriveBackground);b=_.tJc(_.oJc(_.uJc(_.vJc(_.wJc(_.sJc(_.rJc(_.nJc(_.mJc(_.lJc(_.kJc(_.jJc(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=_.xJc(_.qJc(_.pJc(b,a.canShare),
a.canTrash),a.canUntrash);b=_.x(b,27,a.canModifyContentRestriction);b=_.x(b,26,a.canShareOutsideDomain);b=_.AJc(_.zJc(_.yJc(_.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=_.CJc(_.BJc(b,a.canShareChildFiles),a.canShareChildFolders);b=_.x(b,44,a.canRead);b=_.FJc(_.EJc(_.DJc(_.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)};
RMc={anyone:4,audience:5,domain:3,group:2,user:1};SMc={fileOrganizer:7,organizer:5,owner:1,reader:2,writer:3};TMc={docs:1,sheets:2,slides:3};UMc={createdByMe:1,modifiedByMe:2,modified:3,viewedByMe:4};VMc={CORRECT:1,INCORRECT:2,SUSPICIOUS:3};WMc={MENTION:0,SUGGESTION:1,ASSIGNMENT:2};XMc={UNAVAILABLE:1,AVAILABLE:2,PENDING:3};YMc={IN_PROGRESS:1,APPROVED:2,CANCELLED:3};ZMc={ok:1,notFound:2,permissionDenied:3};$Mc={unencrypted:1,encrypted:2};aNc={unset:0,"default":1,small:2,size16kb:3};
bNc={unsetKeyFormat:0,tinkKeyset:1,tinkAesGcmKey:2};cNc=function(a,b){this.H=a;this.V=b};
_.fNc=function(a,b,c){var d=new _.nP;a=(new _.pC).Ew(dNc(a,b));a=_.x(a,8,b.incompleteSearch);if("drive#fileList"==b.kind){_.EP(["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 _.oC).Ec(VMc[q.status]);t=_.x(t,1,q.original);q=_.x(t,3,q.correction);l.push(q)}k=new _.imb;l=_.Tj(k,1,l);f.push(l)}h=new _.kmb;_.Tj(h,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var v=new _.gmb;
_.x(v,1,f||[])}h||v?(f=new _.lmb,h&&_.R(f,1,h),v&&_.R(f,2,v),v=f):v=null;_.R(a,7,v);_.eKc(a,eNc(b))}d=_.MKc(d,a);c=_.fFc(c);c=_.x(d,2,c);b.nextPageToken&&_.x(c,3,b.nextPageToken);return c};
iNc=function(a,b,c,d,e){_.EP(["drive#adminFile","drive#file","drive#revision"],b);var f=_.mP(new _.LO,c);"drive#adminFile"==b.kind?(_.EP(["drive#adminFile"],b),c=(new _.Hk).kc(b.id),b.parentId&&_.XO(c,[b.parentId]),_.SJc(c,b.teamDriveId),f.setItem(c),_.mP(f,c.getId())):"drive#file"==b.kind?(b=_.gNc(a,b),f.setItem(b),c||_.mP(f,b.getId())):"drive#revision"==b.kind&&(b=_.hNc(a,b),_.R(f,4,b));f.d2(_.eFc(d));f.P1(_.fFc(d));(d=(d=d&&_.UM(d))&&d["x-server-object-version"])&&e&&(e=(new _.lP).kc(d),_.R(f,
4,e));f.Ec(1);return f};_.HP=function(a,b){return _.mP(new _.LO,a).Ec(1).d2(_.eFc(b)).P1(_.fFc(b))};_.kNc=function(a,b,c,d){d||_.EP(["drive#permissionList"],b);var e=[];b=b[c]||[];for(c=0;c<b.length;c++){var f=_.jNc(a,b[c],d);f&&e.push(f)}return e};
_.jNc=function(a,b,c){c||_.EP(["drive#permission"],b);c=_.fJc(RMc[b.type]).kc(b.id);c=_.x(c,11,b.userId);c=_.gJc(c,a.H.Ef(b.id,b.userId));c=_.x(c,4,b.withLink);c=_.hJc(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);_.oN(a.V)&&c.zd(b.nameIfNotUser);a=SMc[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};dNc=function(a,b){_.EP(["drive#fileList","drive#file"],b);var c=[];if("drive#file"==b.kind)(a=_.gNc(a,b))&&c.push(a);else if("drive#fileList"==b.kind){b=b.items||[];for(var d=0;d<b.length;d++){var e=_.gNc(a,b[d]);c.push(e)}}return c};
_.gNc=function(a,b){_.EP(["drive#file"],b);var c=_.QJc(_.MJc(_.OM(_.XO((new _.Hk).kc(b.id),lNc(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);_.NJc(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);_.LJc(c,d.restricted);_.x(c,9,d.viewed)}_.x(c,10,_.GP(b.createdDate));_.x(c,69,_.GP(b.serverCreatedDate));_.UEc(c,_.GP(b.modifiedDate));_.x(c,12,_.GP(b.modifiedByMeDate));_.x(c,13,_.GP(b.lastViewedByMeDate));_.x(c,23,_.GP(b.sharedWithMeDate));_.x(c,62,_.GP(b.subscribedDate));_.x(c,70,_.GP(b.recency));b.recencyReason&&_.x(c,71,UMc[b.recencyReason]||0);d=[];if(b&&b.owners)for(var e=b.owners,f=0;f<e.length;f++){var h=_.FP(a.H,e[f]);h&&d.push(h)}_.YO(c,d);b.lastModifyingUser&&(d=_.FP(a.H,
b.lastModifyingUser),_.ZO(c,d));b.userPermission&&_.PM(c,SMc[b.userPermission.role]);b.imageMediaMetadata&&(d=b.imageMediaMetadata,e=new _.TO,e=_.x(e,2,d.width).Vf(d.height),e=_.x(e,4,d.rotation),d.date&&(d=d.date,f=new _.SGc,f.setMilliseconds(0),_.oHc.parse(d,f),_.x(e,1,f.getTime())),_.R(c,27,e));null!=b.folderColor&&_.PJc(c,Number(b.folderColor));_.OJc(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=_.FP(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],_.REc[h]&&(h=_.oe(new _.ne,_.REc[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 _.Mma).kc(h.id);h=_.x(k,2,WMc[h.type]);e.push(h)}_.Tj(c,83,e)}b.capabilities&&c.xn(_.QMc(b.capabilities));b.permissionsSummary&&_.TJc(c,_.mNc(a,b.permissionsSummary));b.headRevisionId&&_.x(c,78,b.headRevisionId);b.templateData&&(d=b.templateData,e=(new _.VO).zl(d.description),e=_.x(e,3,XMc[d.galleryState]),d=_.x(e,2,d.category||[]),_.R(c,
86,d));_.SJc(c,b.teamDriveId);_.x(c,76,b.hasAugmentedPermissions);_.x(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.FP(a.H,b.creator),_.R(c,91,d));_.UJc(c,b.primaryDomainName);_.VJc(c,b.organizationDisplayName);_.x(c,94,b.passivelySubscribed);b.trashingUser&&(d=_.FP(a.H,b.trashingUser),_.R(c,95,d));_.x(c,96,_.GP(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,TMc[d]);b.videoMediaMetadata&&
(d=b.videoMediaMetadata,e=new _.WO,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=_.GJc(_.SO(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(YMc[f.status]),d.push(f);_.Tj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.Vma,e=_.x(e,1,d.targetId),e=_.x(e,3,d.targetMimeType),e=_.x(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&_.x(e,4,ZMc[d.targetLookupStatus]||0),d.targetFile&&(d=_.gNc(a,d.targetFile),
_.R(e,5,d)),_.R(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.QO,e=_.x(e,1,$Mc[d.encryptionState]),d.decryptionMetadata&&(d=nNc(d.decryptionMetadata),_.R(e,2,d)),_.R(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.UO,e=_.x(e,2,d.securityUpdateEligible),d=_.x(e,3,d.securityUpdateEnabled),_.R(c,139,d));_.x(c,140,b.resourceKey);_.x(c,135,b.authorizedAppIds||[]);_.x(c,136,b.customerId);_.BIc(c);_.oN(a.V)&&_.RJc(c,5);return c};
lNc=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};_.hNc=function(a,b){_.EP(["drive#revision"],b);var c=(new _.lP).kc(b.id);c=_.x(c,2,b.mimeType);c=_.x(c,3,_.GP(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=_.FP(a.H,b.lastModifyingUser),_.R(c,9,a));b.decryptionMetadata&&(b=nNc(b.decryptionMetadata),_.R(c,10,b));return c};
_.mNc=function(a,b){a=_.JJc(_.IJc(_.HJc(new _.Pma,b.entryCount),_.kNc(a,b,"visibility",!0)),_.kNc(a,b,"selectPermissions",!0));a=_.x(a,4,b.memberCount);a=_.x(a,5,b.userEntryCount);return _.x(a,6,b.groupEntryCount)};nNc=function(a){var b=a.wrappedKey;var c=new _.RO;b=b?_.qKc(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,aNc[a.aes256GcmChunkSize]);c=_.x(c,6,bNc[a.keyFormat]);return _.x(c,4,a.jwt)};
eNc=function(a){_.EP(["drive#fileList"],a);var b=[];(a.items||[]).forEach(function(c){var d=c.id;d&&"1"==c.searchResultSource&&b.push(d)});return b};oNc=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("&")};
pNc=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();_.PN(a)&&c&&(e=CIc(a));c=[_.D(b,65,"https://lh3.google.com"),"u",_.mN(b.Ne()),"d",e].join("/");c+="={size}";_.PO(b)&&a.QJ()&&(d.resourcekey=_.Nk(a));return c=oNc(c,d)};_.qNc=function(a){this.H=a};
_.tNc=function(a,b,c){rNc(a,b,c);c.includes(18)&&_.MJc(b,cJc(b,a.H,a.H.Vp()));if(c.includes(19)){var d=pNc(b,a.H,a.H.Vp());_.x(b,20,d)}sNc(a,b,c);if(a.H.Vp()&&_.PN(b)){if(d=(d=b.kf())&&_.dd(d)){rNc(a,d,c);c.includes(18)&&_.MJc(d,cJc(d,a.H,a.H.Vp()));if(c.includes(19)){var e=pNc(d,a.H,a.H.Vp());_.x(d,20,e)}sNc(a,d,c)}_.QJc(b,!!b.Ah())}};
rNc=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&&_.PN(b)&&(d=(a=b.kf())?_.z(a,3):"");_.QN(b)&&(b.$h()&&(d+="+"+String(b.$h())),b.Xi()&&(d+="+shared"));_.x(b,21,_.LZa(d,c?"32":"16"))}};
sNc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.Rb();e&&(e=!_.QN(b)&&!_.PN(b)&&!_.Nc(e)&&(!b.KX()||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(),_.PN(b)&&c&&(a=CIc(b)),c=new _.Si(_.D(d,16,"")+"/uc"),_.bj(c,"id",a),_.bj(c,"authuser",_.mN(d.Ne())),_.bj(c,"export","download"),_.PO(d)&&b.QJ()&&_.bj(c,"resourcekey",_.Nk(b)),_.x(b,41,c.toString())))}};_.uNc=function(a,b,c,d){this.H=a;this.V=c;this.ka=new PMc(b,d);this.rA=new cNc(this.ka,b)};
_.NMc=function(a,b,c,d){d=void 0===d?[]:d;try{return vNc(a,b,c,d)}catch(e){_.NN(e)}};
vNc=function(a,b,c,d){var e=a.ma(b,c);if(e)return e;if(b instanceof _.WN)return _.IP(a,b,c);if(b instanceof _.eO)return"base64"==c.headers["x-goog-safety-encoding"]?new lLc(_.raa(c.text),d.length):new lLc(new Uint8Array(_.Kka(c.text)),d.length);if(b instanceof _.oo){if(!c.json)throw _.JP();return _.fNc(a.rA,c.json,c.headers)}if(b instanceof _.HO)return _.IP(a,b,c);if("undefined"!=typeof _.FO&&b instanceof _.FO){if(!c.json)throw _.JP();a=c.json;return new _.jLc(a.fileId,a.jwt,Number(a.currentKaclsId),
a.currentKaclsName)}if("undefined"!=typeof _.wNc&&b instanceof _.wNc){if(!c.json)throw _.JP();return _.hNc(a.rA,c.json)}if(b instanceof OIc){if(b.V==b.ha-1){if(!c.json)throw _.JP();b=iNc(a.rA,c.json,null,c.headers,!!b.Bt);_.tNc(a.V,b.getItem(),_.CP(a.H));a=b}else a=_.HP(null,c.headers);return a}if(b instanceof NIc){a=_.UM(c.headers);b=a.location;if(!b)throw a=_.WM(new _.qb,10),new _.rb("No upload session URI included.",a);return new kLc(b,_.eFc(a),_.fFc(a))}throw new _.rb("FromXhrConverter: Unsupported request type.",
new _.qb);};_.uNc.prototype.ma=function(){return null};_.IP=function(a,b,c){if(!c.json){if(b instanceof _.pN)return _.HP(_.KP(b));throw _.JP();}var d=!1;b instanceof _.HO&&(d=!!_.z(b.request,12));b=iNc(a.rA,c.json,_.KP(b),c.headers,d);b.getItem()&&_.tNc(a.V,b.getItem(),_.CP(a.H));return b};_.JP=function(){var a=_.WM(new _.qb,11);return new _.rb("FromXhrConverter: JSON required, but none found",a)};_.KP=function(a){return a.getId?a.getId():a.Hc?a.Hc():null};
_.xNc=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)}}};
yNc=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()&&_.xda(a.Rb())&&b)){var d=b.V(),e={encryptionState:"encrypted"},f={};e.decryptionMetadata=(f.wrappedKey=_.kj(b.W()),f.kaclsId=b.ka(),f.aes256GcmChunkSize=_.sHc[d?d.V():0],f);c.clientEncryptionDetails=e}_.xNc(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=_.dKc(_.mLc(_.z(a,26)||0)));return c};
zNc=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",_.wIc({fields:_.CP(b).filter(function(n){return 194!=n}),mw:!1}));DIc(e,a.request.oe());var f=yNc(a.request,a.metadata),h=_.tg();b={};b=(b["content-type"]=_.Px('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"+EIc(k)+"\r\n"+f+"\r\n"+a+"\r\n"+EIc(l)+"\r\n"+c+"\r\n"+a+"--";return{mp:2,headers:b,method:d?"PUT":"POST",uri:e,body:a}};ANc=function(a){if(a instanceof _.Vob){var b=new _.qb;_.Fq(b,"fs.Error: "+a.message);a=(a=a.name)?_.yEa.get(a)||25:38;_.WM(b,a);a=_.MN(b)}return Promise.reject(a)};
BNc=function(a,b){return QLc(a.file).then(function(c){return zNc(a,b,c)},ANc)};_.CNc=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};DNc=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.QJ()})};
_.ENc=function(a){var b=_.WM(new _.qb,4);throw new _.rb("ToXhrConverter: Unsupported request type: "+TIc(a),b);};_.LP=function(a,b,c,d){this.H=a;this.ha=c;this.ka=d};MMc=function(a,b,c){try{return b.request instanceof _.HO?BNc(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),_.WM(a,4)),Promise.reject(a)}};
_.LP.prototype.W=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1;if(a instanceof _.WN){h=(e=!!_.z(a,12))?"PUT":"POST";var n="files";e&&(n+="/"+_.z(a,12),k.pinned=!!a.hs());null!=_.E(a,8)&&(k.convert=_.E(a,8));k.fields=_.wIc({fields:this.Fg(c),mw:_.ZM(this.H.Ne()),NI:_.oN(this.H)});e=yNc(a);f["content-type"]="application/json";var q=a.oe();l=!0;_.BP(this.H,k);_.FNc(this.H,k);_.PO(this.H)&&(b=_.Rj(a,_.Wk,28),b.length?_.GNc(b,f):(a=_.z(a,3).concat([_.z(a,16),_.z(a,21),a.Hc()]),_.MP(this,a,f)))}else if(a instanceof
_.eO)n="files/"+a.getId(),_.z(a,2)&&(k.revisionId=_.z(a,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.PO(this.H)&&(a.QJ()?_.GNc([_.Xk((new _.Wk).kc(a.getId()),_.z(a,3))],f):_.MP(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=_.wIc({fields:q,mw:_.ZM(this.H.Ne()),NI:_.oN(this.H)}),_.BP(this.H,k),_.HNc(this.H,k),_.INc(this.H,k),this.V(l,k),q=a.oe(),l=!0,_.E(a,7)&&(b.ila=!0),_.PO(this.H)&&(b=_.Rj(a,
_.Wk,11),b.length?_.GNc(b,f):_.MP(this,a.Il(),f));else if("undefined"!=typeof _.FO&&a instanceof _.FO)n="files/generateCseToken",a.id&&(k.fileId=a.id),k.role=a.role,q=a.H;else if("undefined"!=typeof _.wNc&&a instanceof _.wNc)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 OIc){d=4;h="PUT";n=a.ka;f["content-type"]=a.contentType;a.V>=a.W&&(f["content-range"]=
_.Px("bytes %d-%d/%d",a.W,a.V,a.ha));var t=a.H;l=!0}else a instanceof NIc?(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=_.wIc({fields:this.Fg(c).filter(function(v){return 194!=v}),mw:_.ZM(this.H.Ne()),NI:_.oN(this.H)}),_.BP(this.H,k),e=yNc(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()),_.PO(this.H)&&_.MP(this,_.z(a.request,3),f),q=a.request.oe(),l=!0):a instanceof _.RIc?(n="about",k.fields="kind",q=a.H,l=!0):_.ENc(a);l&&_.JNc(c,k);return _.KNc(d,n,k,f,h,q,e,t)};_.KNc=function(a,b,c,d,e,f,h,k){b=new _.Si(b);[10,12,13].includes(a)||DIc(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}};
_.HNc=function(a,b){_.A(a.mf(),23,!1)&&(b.includePermissionsForView="published")};_.LP.prototype.V=function(){};_.INc=function(a,b){_.A(a,14,!1)&&(b.useLegacyDomainPermissionBehavior=!1)};_.FNc=function(a,b){_.A(a,3,!1)&&(b.enforceSingleParent=!0)};_.JNc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ba(a).Gmb):b.retryCount=0};_.LP.prototype.Fg=function(a,b){b||(b=_.CP(this.ha));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return HKc.includes(c)}));return b};
_.MP=function(a,b,c){b&&b.length&&(a=DNc(a.ka,b),_.GNc(a,c))};_.GNc=function(a,b){a.length&&(a=_.tib(a),a.length&&(b["X-Goog-Drive-Resource-Keys"]=a))};_.LNc=function(a,b){_.TH.call(this,a?a:500,b?b:6E5)};_.I(_.LNc,_.TH);var MNc=function(){_.Tp.call(this);this.ha=this.W=null};_.I(MNc,_.Tp);MNc.prototype.V=function(){(0,this.ha)()};NNc=function(a,b){a.ha||(a.ha=b)};_.NP=function(a){if(!a.W){a.W=new GKc;var b=_.Vp(a);_.R(b,56,a.W)}return a.W};
ONc=function(a){var b=_.NP(a).getState();b||(b=new zKc,_.NP(a).Sd(b));return b};PNc=function(a,b){var c=new xKc;_.x(c,1,b);a=_.Vp(a);_.R(a,12,c)};MNc.prototype.ma=function(){var a=_.C(_.NP(this),BKc,4);if(!a){a=new BKc;var b=_.NP(this);_.R(b,4,a)}return a};QNc=function(a){var b=_.C(_.NP(a),CKc,8);b||(b=new CKc,a=_.NP(a),_.R(a,8,b));return b};_.RNc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.O.call(this);this.Tg=b?1:a;this.q$=!1;this.YG=b};_.I(_.RNc,_.O);_.g=_.RNc.prototype;
_.g.isConnected=function(){return!this.q$&&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.YG)return!1;if(this.Tg!=a||this.q$&&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 SKc(b),this.Tg=a,this.q$=!1,this.dispatchEvent(b),!0}return!1};SNc=function(a,b){this.W=a;this.V=b;this.H=null};
WNc=function(a,b){a.V.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return TNc(a,function(c){return c.count().then(function(d){return 1E3>d?UNc(a,c,b):VNc(a,Error("mf"))},function(d){return VNc(a,d)})},"readwrite")};UNc=function(a,b,c){var d={};return b.add((d.userId=a.W,d.L6a=c.Vd(),d)).then(null,function(e){VNc(a,e)})};
XNc=function(a){return new _.Eh(function(b){var c=new Map;TNc(a,function(d){return kKc(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={Cda:f.Cda},k=h.next())k=_.u(k.value),f.Cda=k.next().value,k.next().value.then(function(l){return function(n){n&&c.set(l.Cda,new _.kza(n.L6a))}}(f));return _.Ih([].concat(_.oc(e.values()))).then(function(){return b(c)})})})})};
YNc=function(a,b){return TNc(a,function(c){return c.remove(b)},"readwrite")};TNc=function(a,b,c){c=void 0===c?"readonly":c;return ZNc(a).then(function(d){try{var e=_.gN(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return VNc(a,f)}},function(d){return VNc(a,d)})};
ZNc=function(a){return a.H?_.Fh(a.H):_.QFc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.lKc(c,"OfflineImpressions");_.KFc(_.OFc(c,"OfflineImpressions",{autoIncrement:!0}),"userId","userId")},function(){return VNc(a,Error("nf"))}).then(function(b){return a.H=b},function(b){return _.Gh(_.LN(b))})};VNc=function(a,b){b||(b=Error("of"));_.oP(a.V,"drive.ds.sync.logging.ImpressionPersister",b.message,"severe");return _.Fh()};
_.$Nc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.O.call(this);this.Zw=b?!1:a;this.Cla=null;this.YG=b};_.I(_.$Nc,_.O);_.$Nc.prototype.Ff=function(){return this.Zw};_.$Nc.prototype.Uk=function(a){var b=this.Zw!=a;!this.YG&&b&&(this.Zw=a,this.dispatchEvent(new cLc(a)))};_.$Nc.prototype.CA=function(a){this.Cla=a};
var bOc=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()||aOc(h)});this.Mb.listen(c,["wb","yb"],function(){return void aOc(h)});this.ka=e;f.then(function(){return aOc(h)})};_.I(bOc,_.O);bOc.prototype.H=function(a){return(this.W.Ff()||this.Tg.Ff())&&this.W.Cla?WNc(this.V,a):this.ha.H(a)};
var aOc=function(a){return a.W.Cla?XNc(a.V).then(function(b){b.forEach(function(c,d){a.ha.H(c).then(function(){return cOc(a,d)},function(){return dOc(a,"Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},cOc=function(a,b){dOc(a,"Sent offline impression batch "+b+".");a.dispatchEvent("Db");return YNc(a.V,b).then(function(){dOc(a,"Removed offline impression batch "+b+".")},function(){dOc(a,"Unable to remove offline impression batch "+b+".")})},dOc=function(a,b){a.ka.info("drive.ds.sync.logging.ClearcutOfflineTransport",
b)},eOc=function(){};eOc.prototype.hJ=function(){return new MNc};var fOc=function(){this.H=new wKc};fOc.prototype.V=function(a){_.R(a,13,this.H)};fOc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};hOc=function(a,b,c,d){this.Ga=_.OP(_.zHc,_.hP(a));this.ma=_.OP(_.DHc,_.D(a.mf(),8,0));this.W=_.OP(_.AHc,_.D(a.mf(),9,2));this.ua=_.A(a,10,!1);this.Ja=_.ZM(a.Ne());this.wa=_.iP(a);this.ha=gOc(a);this.Ba=a.Ji();this.V=this.H=null;this.Ka=b;this.Tg=c;this.ka=d};
gOc=function(a){var b=[].concat(_.oc(_.wHc.keys())),c=[].concat(_.oc(_.xHc.keys())),d=_.nN(a);return b.filter(function(e){return _.wHc.get(e)(a)}).concat(c.filter(function(e){return d&&_.xHc.get(e)(d)}))};_.OP=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};iOc=function(a){if(a.V)return a.V.H("aU7Ts")};
hOc.prototype.Gb=function(a){return a instanceof _.pC||"undefined"!=typeof _.PP&&a instanceof _.PP||"undefined"!=typeof _.QP&&a instanceof _.QP||"undefined"!=typeof _.RP&&a instanceof _.RP?a.Gb():"undefined"!=typeof _.SP&&a instanceof _.SP||"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP||"undefined"!=typeof _.WP&&a instanceof _.WP?a.response?a.response.Gb():null:null};hOc.prototype.Ji=function(){return this.Ba};
var jOc=function(a){return a.Ka.Ff()||a.Tg.Ff()?2:1};hOc.prototype.getEnvironment=function(){return this.ka};var kOc=function(a,b){this.H=a;var c=new _.zya;_.Aya(c,b.ha);a=this.H.SG();var d=_.DGc(a);_.R(d,10,c);(c=b.Ji())&&_.CGc(a,c);this.H.mU();this.V=b};kOc.prototype.isRunning=function(){return this.H.JO()};
_.lOc=function(a,b,c){var d=_.Up(a.H.SD(b,c),_.tHc);PNc(d,jOc(a.V));b=iOc(a.V);"boolean"===typeof b&&AKc(ONc(d),b);NNc(d,function(){1==c&&a.H.LF(d);var e=a.V;e=e.H?e.H.W():void 0;var f=ONc(d);_.x(f,1,e);a.H.bp(d)});return d};mOc=function(a){var b=new _.PCa;var c=new fOc;_.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());_.cKc(b,_.uHc,a);_.Xp(b,_.tHc,new eOc);return b};
nOc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.YH(906,b,void 0,_.lN());l.ha=!1;var n=new _.RFc(l);b=new Date;l=_.IGc(_.HGc(_.GGc(mKc(),new _.SFc(l)),mOc(c)),109).setSessionId(b.getTime()+"_"+_.tg());if(k){a=new bOc(n,d,e,new SNc(a,f),f,h);_.FGc(l,a);d=l.build();_.BGc(d.SG(),1E3*b.getTime());var q=new kOc(d,c);(new _.ee).listen(a,"Db",function(){_.lOc(q,106008,0).V()});return q}_.FGc(l,n);a=l.build();_.BGc(a.SG(),1E3*b.getTime());return new kOc(a,c)};
oOc=function(a,b){this.V=a;this.ha=b};oOc.prototype.H=function(a){this.V&&_.pOc(this)&&_.lOc(this.V,a,0).V()};oOc.prototype.W=function(a){return this.V&&_.pOc(this)?_.lOc(this.V,a,1):null};_.pOc=function(a){return!(!a.V||!a.V.isRunning())};_.qOc=function(a,b,c,d,e,f){var h=_.E(a,59),k=_.mN(a.Ne()).toString(),l=_.gP(a.Ne());f=new hOc(a,b,c,f);a=h?nOc(l,k,f,b,c,d,e,_.A(a,17,!1)):null;return new oOc(a,f)};_.rOc=function(a,b,c){this.qc=a;this.ha=b;this.W=c;this.V=this.lm=null;this.H=!1};
_.rOc.prototype.getState=function(){return this.qc};_.OMc=function(a){a.V=null;a.lm&&(clearTimeout(a.lm),a.lm=null)};_.ELc=function(a){a.V||a.H||(a.V=new _.LNc(5E3,6E4),sOc(a))};sOc=function(a){tOc(a);a.V&&(a.lm=setTimeout(function(){return void sOc(a)},a.V.yb()),_.UH(a.V))};tOc=function(a){_.Kh(_.Fh().then(null,function(){return null}),function(){return void uOc(a)})};
uOc=function(a){vOc(a,"Checking connection state.");a.ha.then(function(b){return b.H(new _.RIc(_.Be(new _.Ae,312)))}).then(null,function(b){b=_.MN(b);_.JGc(b.dg)&&DLc(a,2);return _.Gh(b)}).then(null,function(){return null})};vOc=function(a,b){a.W.info("drive.ds.sync.connection.StateManager",b)};DLc=function(a,b){return!a.H&&a.qc.update(b)?(vOc(a,"Connection status: "+_.EHc.get(b)),!0):!1};_.p("sy12a");
_.wOc=function(a,b,c){_.gi.call(this,"Qb");this.requestId=a;this.progress=b;this.totalBytes=c};_.I(_.wOc,_.gi);
_.XP=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(_.XP,_.O);_.XP.prototype.lR=function(){return _.ug()};
_.XP.prototype.upload=function(a,b,c){HMc(this.ma,"UploadTotalCount");var d=_.kP(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.lR(),_.x(a,9,d));a=_.Yj(a);e=xOc(this,d);this.H[d]={request:a,file:b,
Yf:e,NF:!1,JK:0,success:!1,rF:!1,children:[],metadata:c,rl:void 0};f?yOc(this,d,f):this.ka(d);return e.Lk()};
var xOc=function(a,b){var c=new _.Mh;c.Cf(_.Ue(a.Qa,b),_.Ue(a.Ma,b),a);return c},yOc=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.rF||d)){a.ka(b);return}zOc(a,'[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Yf.Dd(_.TM(f)?f:Error(f))})};
_.XP.prototype.Qa=function(a,b){HMc(this.ma,"UploadSuccessCount");a=this.H[a];a.success=1==b.Gb();(b=a.rl)&&!a.rF&&(DKc(FKc(QNc(b),a.JK),!0),b.V())};_.XP.prototype.Ma=function(a,b){var c=_.C(this.W,_.VM,58);c&&_.A(c,1,!1)&&(this.wa[a]=b);HMc(this.ma,"UploadFailureCount");c=this.H[a];(a=c.rl)&&!c.rF&&(DKc(FKc(QNc(a),c.JK),!1),b=(c=b&&b.dg)&&c.Qi(),c=c&&c.Kn(),b?EKc(QNc(a),AOc.get(b)||13):c&&EKc(QNc(a),BOc.get(c)||0),a.V())};
_.XP.prototype.ka=function(a){var b=this.H[a];if(!b.NF){b.NF=!0;a=this.H[a];var c=a.request,d=_.C(this.W,_.VM,58);d&&_.A(d,4,!1)&&(d=c.getTitle().match(COc))&&(!d[1]||a.JK<Number(d[1].substr(1)))&&(c=_.Yj(c),_.ma(_.z(c,3),"$#@! Invalid parent ID."));a=c;c=(c=_.C(b.request,_.fKc,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=QNc(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,_.kP(a)));DOc(this,new _.PIc(a,d,k,b),c,_.kP(a))}break;case 1:b.file&&(k=b.Yf,c=b.file,b=b.metadata,d=_.C(this.W,_.eJc,2),DOc(this,new _.HO(a,c,d&&_.A(d,2,!1)?b:void 0),k,_.kP(a)));break;case 3:DOc(this,a,b.Yf,_.kP(a));break;default:throw new _.rb("Upload type ${uploadType} not supported.");}}};
var DOc=function(a,b,c,d){YKc(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 EOc(a,b,e)}),function(){ZKc(a.Ga,[d])}).then(c.callback,c.Dd,c)},EOc=function(a,b,c){var d=_.MN(c),e=b instanceof _.HO&&b.request.Hc()||"";c=d.dg;if(e&&8==c.Qi()){zOc(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 zOc(a),_.mP((new _.LO).setItem(h),e).Ec(1);zOc(a);return _.Gh(d)}))}return _.Th(d)};
_.XP.prototype.cancel=function(a){var b=this,c=this.H[a];if(c&&(!c.rF||0!=c.children.length))if(c.rF=!0,c.Yf.Le())zOc(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&&(EKc(DKc(FKc(QNc(d),c.JK),!1),2),d.V());var e=_.Jh();c.NF?this.ua.then(function(f){return void e.resolve(f.cancel(a))}):(c.NF=!0,d=new _.LO,d.Ec(8),c.Yf.callback(d),e.resolve(!0));e.promise.then(function(f){return zOc(b,
'[Cancel] Upload of "'+c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.XP.prototype.Rx=function(){var a=this;_.jf(this.H,function(b,c){a.cancel(c)})};
_.XP.prototype.qna=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.JK++;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=xOc(b,n),q.NF=!1,q.rF=!1,(t=t?b.H[t]:null)?yOc(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 zOc=function(a){a.isDisposed()};_.XP.prototype.kd=function(a){return this.H[a]};var COc=/^uploadTestFailMe(\.[1-9])?$/,BOc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),AOc=new Map([[3,14]]);

_.r();

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

_.r();

}catch(e){_._DumpException(e)}
try{
var GOc,HOc,IOc,JOc,KOc,LOc,MOc,NOc,OOc,POc,YP,VOc,WOc,XOc,YOc,ZOc,ZP,aPc,bPc,cPc,ePc,fPc,gPc,iPc,kPc,mPc,oPc,qPc,tPc,wPc,zPc,APc,BPc,CPc,DPc,cQ,EPc,GPc,IPc,KPc,LPc,MPc,NPc,QPc,SPc,UPc,YPc,ZPc,$Pc,bQc,cQc,dQc,hQc,iQc,iQ,jQc,kQc,lQc,lQ,FRc,LRc,MRc,TRc,URc,VRc,YRc,ZRc,$Rc,aSc,wSc,xSc,ASc,CSc,DSc,ESc,FSc,GSc,HSc,ISc,JSc,oQ,pQ,KSc,LSc,MSc,NSc,OSc,PSc,QSc,RSc,SSc,TSc,USc,VTc,cUc,dUc,eUc,fUc,gUc,jUc,lUc,GUc,HUc,UUc,iVc,kVc,oVc,vVc,zVc,FVc,UVc,WVc,XVc,qWc,rWc,XPc,sWc,tWc,uWc,jPc,vWc,wWc,$Q,xWc,yWc,zWc,AWc,
AXc,BXc,CXc,DXc,EXc,FXc,GXc,HXc,IXc,JXc,KXc,LXc,tYc;GOc=function(a,b){a=a.request;a=_.Px('ErrorResponseFor"%s"(ID:%s).txt',a.getTitle()||"",_.kP(a)||"");var c=b.dg;c=c?_.z(c,4):"No detail.";return{name:a,content:b.toString()+"\n"+c}};HOc=function(a){a={Title:a.getTitle(),Type:a.Rb(),Parents:_.z(a,3),Convert:_.E(a,8),ID:_.kP(a)};var b=[];_.jf(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
IOc=function(a){var b=[];b.push(HOc(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.JK&&b.push("# of retries by client: "+a.JK);var d="";a.NF?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")};
JOc=function(a,b,c,d,e,f){var h=_.Px("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(IOc(n))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.WKc(b)});_.jf(f,function(n,q){k.push(GOc(e[q],n))});return{title:h,description:d,YQ:k,Wd:152391,Z6:c,vX:361003}};KOc=function(a){return Array.prototype.concat.apply([],arguments)};LOc=function(a,b,c){c=_.Ca(a,b,c);return 0>c?(_.va(a,-(c+1),0,b),!0):!1};MOc=function(a){return String.fromCharCode(10>a?48+a:87+a)};
NOc=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]=MOc(d>>4);b[2*c+3]=MOc(d&15)}return b.join("")};OOc=function(a){var b=new _.xp;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.ON(a,!0,"file"));a.sW&&(b.append(",teamDriveId,teamDrive("),b.append(a.sW),b.append(")"));b.append(")");return b.toString()};
POc=function(a){var b=new _.xp;b.append("kind,nextPageToken,items(");b.append(_.ON(a,!0));b.append("),incompleteSearch");a.sW&&(b.append(","),b.append(a.sW));return b.toString()};
YP=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.C(d,_.QO,138),k=_.C(d,_.Ek,111),l=_.C(d,_.TO,27),n=_.C(d,_.UO,139),q=d.kf(),t=_.C(d,_.WO,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:QOc(d,[]);break;case 59:f&&_.x(f,6,void 0);break;case 28:_.x(d,26,void 0);break;case 44:_.x(d,45,void 0);break;case 13:_.x(d,14,void 0);break;case 48:_.x(d,36,void 0);break;case 38:_.x(d,34,void 0);break;case 49:_.x(d,50,[]);break;case 51:_.x(d,53,void 0);break;case 104:_.x(d,102,void 0);break;
case 39:_.x(d,35,void 0);break;case 87:_.x(d,76,void 0);break;case 100:_.x(d,98,void 0);break;case 72:_.x(d,78,void 0);break;case 5:_.x(d,6,void 0);break;case 20:_.x(d,21,void 0);break;case 21:break;case 29:l&&_.x(l,1,void 0);break;case 31:l&&_.x(l,3,void 0);break;case 92:l&&_.x(l,4,void 0);break;case 30:l&&_.x(l,2,void 0);break;case 16:_.ZO(d,void 0);break;case 12:_.x(d,13,void 0);break;case 211:n&&_.x(n,2,void 0);break;case 212:n&&_.x(n,3,void 0);break;case 157:(d=d.$j())&&ROc(d,[]);break;case 3:_.x(d,
4,void 0);break;case 11:_.x(d,12,void 0);break;case 10:_.x(d,11,void 0);break;case 50:_.x(d,49,void 0);_.x(d,51,void 0);_.R(d,81,void 0);break;case 18:_.x(d,19,void 0);break;case 95:_.x(d,93,void 0);break;case 58:_.x(d,63,void 0);break;case 14:_.YO(d,[]);break;case 103:_.x(d,101,void 0);break;case 1:_.XO(d,[]);break;case 96:_.x(d,94,void 0);break;case 1003:SOc(d,[]);break;case 75:_.TJc(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:TOc(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);}}};VOc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.oc(a),_.oc(UOc)));a=[].concat(_.oc(_.cdb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)YP(b[d],a)}};
WOc=function(a,b){var c=a.getCapabilities()||new _.Bk,d=_.C(a,_.QO,138),e=_.C(a,_.Ek,111),f=_.C(a,_.TO,27),h=_.C(a,_.UO,139),k=a.kf(),l=_.C(a,_.WO,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.Gia().length;case 138:return null!=a.c7();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,_.RO,2);case 193:return null!=d&&null!=_.z(d,1);case 1004:return null!=_.E(a,108);case 136:return 0<a.bS().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.fJ().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.A7();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.yJ();case 68:return null!=a.zJ();case 73:return null!=_.z(a,79);case 71:return null!=a.V();case 210:return null!=_.Nk(a);case 7:return null!=a.KX();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,_.VO,86);case 2:return null!=a.getTitle();case 19:return null!=a.Ah()||null!=_.E(a,44)||null!=_.z(a,90);case 6:return null!=a.Bh();case 98:return null!=a.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);}};XOc=function(a,b){return b.every(function(c){return WOc(a,c)})};YOc=function(a,b,c){var d=a.concat((void 0===c?0:c)?_.vIc:[]);return b.every(function(e){return(new Set(d)).has(e)})};ZOc=function(a,b){var c=new Set(b.concat(_.vIc));return a.filter(function(d){return!c.has(d)})};
ZP=function(a,b,c){b=b.clone();c.forEach(function(d){if(WOc(b,d))if(_.edb.has(d)){var e=b.getCapabilities();if(e){var f=a.getCapabilities()||new _.Bk;a.xn(f);switch(d){case 76:_.iJc(f,_.Ck(e));break;case 208:_.FJc(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:_.jJc(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:_.lJc(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:_.rJc(f,_.E(e,10));break;case 82:_.sJc(f,_.E(e,11));break;case 114:var y=_.E(e,27);_.x(f,27,y);break;case 133:_.AJc(f,_.E(e,33));break;case 202:_.EJc(f,_.E(e,47));case 132:_.zJc(f,_.E(e,32));break;case 101:_.wJc(f,_.E(e,20));break;case 201:_.DJc(f,_.E(e,46));break;case 131:_.yJc(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:_.vJc(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:_.uJc(f,_.Dk(e));break;case 78:_.oJc(f,_.E(e,7));break;case 186:var X=_.E(e,41);_.x(f,41,X);break;case 85:_.tJc(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:_.pJc(f,_.E(e,8));break;case 189:_.BJc(f,_.E(e,42));break;case 190:_.CJc(f,_.E(e,43));break;case 80:_.qJc(f,e.V());break;case 135:var za=_.E(e,35);_.x(f,35,za);break;
case 102:_.xJc(f,_.E(e,21));break;case 34:var La=_.E(b,30);_.x(a,30,La);_.kJc(f,_.E(e,3));break;case 41:var Ba=_.E(b,40);_.x(a,40,Ba);_.mJc(f,e.W());break;case 59:_.nJc(f,_.E(e,6))}}}else if(_.fdb.has(d)){var ea=_.C(b,_.QO,138);if(ea){var Va=_.C(a,_.QO,138)||new _.QO;_.R(a,138,Va);switch(d){case 194:var gb=_.C(ea,_.RO,2);_.R(Va,2,gb);break;case 193:var Rb=_.z(ea,1);_.x(Va,1,Rb)}}}else if(_.gdb.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:_.SO(ac,
_.E(vb,1));break;case 116:_.GJc(ac,_.z(vb,2))}}}else if(_.hdb.has(d)){var md=_.C(b,_.TO,27);if(md){var ie=_.C(a,_.TO,27)||new _.TO;_.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(_.idb.has(d)){var Qg=_.C(b,_.UO,139);if(Qg){var Rg=_.C(a,_.UO,139)||new _.UO;_.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(_.jdb.has(d)){var Pe=
b.kf();if(Pe){var Of=a.kf()||new _.Vma;_.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 kq=_.z(Pe,3);_.x(Of,3,kq)}}}else if(_.kdb.has(d)){var nk=_.C(b,_.WO,103);if(nk){var Pf=_.C(a,_.WO,103)||new _.WO;_.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 lq=_.Kk(b);_.Tj(a,83,lq);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.Gia();_.Tj(a,127,Al);break;case 138:var Xn=b.c7();_.x(a,126,Xn);break;case 184:var mq=_.z(b,135);_.x(a,135,mq||[]);break;case 69:var ok=_.E(b,74);_.x(a,74,ok);break;case 1004:var nq=_.E(b,108);_.x(a,108,nq);break;case 136:var Bl=b.bS();_.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:QOc(a,b.fJ());break;case 28:_.NJc(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:_.PJc(a,b.$h());break;case 49:var Jv=_.z(b,
50);_.x(a,50,Jv||[]);break;case 51:var Br=_.E(b,53);_.x(a,53,Br);break;case 104:var Ns=_.E(b,102);_.x(a,102,Ns);break;case 39:var Os=b.A7();_.x(a,35,Os);break;case 87:var Ps=_.Jk(b);_.x(a,76,Ps);break;case 100:var Zn=_.E(b,98);_.x(a,98,Zn);break;case 72:var ju=_.z(b,78);_.x(a,78,ju);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:_.ZO(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 _.Tma;$Oc(a,Ch);ROc(Ch,_.Rj(hn,_.Gk,8))}break;case 3:_.OM(a,b.Rb());break;case 11:var kp=b.Sz();_.x(a,12,kp);break;case 10:_.UEc(a,b.xq());break;case 50:var ku=b.Rp();_.x(a,49,ku);var Qs=_.E(b,51);_.x(a,51,Qs);var Cr=b.Cm();_.R(a,81,Cr);break;case 95:_.VJc(a,b.Qm());break;case 18:_.MJc(a,_.z(b,19));break;case 58:var oq=_.E(b,63);_.x(a,63,oq);break;case 14:_.YO(a,_.Ik(b));break;case 1:_.XO(a,b.li());break;case 96:var pq=_.E(b,94);_.x(a,94,pq);break;case 103:var Cl=_.z(b,101);_.x(a,101,
Cl);break;case 1003:SOc(a,_.Mk(b));break;case 75:_.TJc(a,b.gv());break;case 94:_.UJc(a,_.z(b,92));break;case 45:var Rs=b.Ap();_.x(a,46,Rs);case 124:var lu=_.E(b,118);_.x(a,118,lu);break;case 125:var lp=_.z(b,119);_.x(a,119,lp);break;case 1002:var qq=_.Lk(b);_.R(a,100,qq);break;case 32:var rq=b.Jz();_.x(a,28,rq);break;case 67:var Ss=b.yJ();_.x(a,70,Ss);break;case 68:var mu=b.zJ();_.x(a,71,mu);break;case 73:var sq=_.z(b,79);_.x(a,79,sq);break;case 71:var Kv=b.V();_.x(a,77,Kv);break;case 210:var nu=
_.Nk(b);_.x(a,140,nu);break;case 7:_.LJc(a,b.KX());break;case 122:TOc(a,b.uD());break;case 66:var $n=_.z(b,69);_.x(a,69,$n);break;case 33:var ou=_.E(b,29);_.x(a,29,ou);break;case 24:var Dr=b.Xi();_.x(a,22,Dr);break;case 25:var pu=b.wv();_.x(a,23,pu);break;case 46:var Ts=b.dB();_.R(a,47,Ts);break;case 52:var jn=_.z(b,56);_.x(a,56,jn||[]);break;case 56:var vx=_.z(b,61);_.x(a,61,vx);break;case 55:a.jC(b.bu());break;case 4:a.Tq(b.Wx());break;case 35:_.OJc(a,_.E(b,31));break;case 57:var Er=_.z(b,62);_.x(a,
62,Er);break;case 83:_.SJc(a,b.wc());break;case 84:var re=_.C(b,_.VO,86);_.R(a,86,re);break;case 98:var wx=b.qB();_.x(a,96,wx);break;case 97:var Az=b.rB();_.R(a,95,Az);break;case 19:var eG=b.Ah();_.x(a,20,eG);_.QJc(a,_.E(b,44));var fG=_.z(b,90);_.x(a,90,fG);break;case 2:a.setTitle(b.getTitle());break;case 6:a.yn(b.Bh());break;case 27:_.PM(a,b.wm());break;case 70:var kn=_.z(b,75);_.x(a,75,kn);break;case 8:var mC=_.E(b,9);_.x(a,9,mC);break;case 126:var tq=_.z(b,120);_.x(a,120,tq||[]);break;default:throw Error("dd`"+
d);}})};aPc=function(a,b){var c=_.QA[a];return b.filter(function(d){return!c||!c.has(d)})};bPc=function(a,b,c){a=aPc(c,a);return YOc(b,a,!0)};cPc=function(a){return!!_.E(a,31)&&!_.E(a,94)};ePc=function(a){return dPc.some(function(b){return WOc(a,b)})};fPc=function(a){return a.filter(function(b){return b}).some(function(b){return[4,5,2].includes($P(b))})};gPc=function(a){return fPc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
_.hPc=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};iPc=function(a,b){var c=_.UM(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};kPc=function(a,b){if(b){var c=[];_.E(b,3)&&c.push("folder");var d=jPc()&&4==b.getType()?"title_natural":_.PGc[b.getType()];b=_.RGc[b.hh()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};
mPc=function(a,b,c,d){b="#"+b+"_";var e=new _.RM;e.update(c.join(","));b+=_.$Ec(e.digest());d&&(b+="&jobset="+d);a=a+"?"+b;_.m.SharedWorker?(c=new SharedWorker(a),a=new lPc(c.port),c.port.start()):a=new lPc(new Worker(a));return a};oPc=function(a){var b=a.slice(0),c=new Set(b);nPc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
qPc=function(a){var b=new pPc;if(a instanceof _.RN)_.Sj(b,16,aQ[0],a);else if(a instanceof _.SN)_.Sj(b,1,aQ[0],a);else if(a instanceof _.TN)_.Sj(b,2,aQ[0],a);else if(a instanceof _.WN)_.Sj(b,3,aQ[0],a);else if(a instanceof _.DP)_.Sj(b,4,aQ[0],a);else if(a instanceof _.UN)_.Sj(b,5,aQ[0],a);else if(a instanceof _.$N)_.Sj(b,6,aQ[0],a);else if(a instanceof _.bO)_.Sj(b,7,aQ[0],a);else if(a instanceof _.cO)_.Sj(b,8,aQ[0],a);else if(a instanceof _.fO)_.Sj(b,9,aQ[0],a);else if(a instanceof _.tO)_.Sj(b,10,
aQ[0],a);else if("undefined"!=typeof _.uO&&a instanceof _.uO)_.Sj(b,11,aQ[0],a);else if(a instanceof _.vO)_.Sj(b,12,aQ[0],a);else if(a instanceof _.pN)_.Sj(b,13,aQ[0],a);else if(a instanceof _.zO)_.Sj(b,14,aQ[0],a);else if(a instanceof _.AO)_.Sj(b,15,aQ[0],a);else throw new _.rb("Unsupported request type");return b};
tPc=function(a){a=a.map(function(c){var d=new rPc;if(c instanceof _.RN)_.Sj(d,6,bQ[0],c);else if(c instanceof _.$N)_.Sj(d,1,bQ[0],c);else if(c instanceof _.tO)_.Sj(d,2,bQ[0],c);else if("undefined"!=typeof _.uO&&c instanceof _.uO)_.Sj(d,3,bQ[0],c);else if(c instanceof _.pN)_.Sj(d,4,bQ[0],c);else if(c instanceof _.AO)_.Sj(d,5,bQ[0],c);else throw new _.rb("Unsupported request type");return d});var b=new sPc;_.Tj(b,1,a);return b};
wPc=function(a){var b=new uPc;if("undefined"!=typeof _.KD&&a instanceof _.KD)_.Sj(b,1,vPc[0],a);else if("undefined"!=typeof _.LD&&a instanceof _.LD)_.Sj(b,2,vPc[0],a);else throw new _.rb("Unsupported request type");return b};zPc=function(a){var b=new xPc;if(a instanceof _.XN)_.Sj(b,1,yPc[0],a);else if(a instanceof _.dO)_.Sj(b,2,yPc[0],a);else if(a instanceof _.BO)_.Sj(b,3,yPc[0],a);else throw new _.rb("Unsupported request type");return b};
APc=function(a,b){var c=a.Cm();c||(c=new _.Fk,b&&_.R(a,81,c));return c};BPc=function(a){if(_.QN(a))_.JN(APc(a,!0),!0);else if(_.QN(a,!0)){var b=a.kf();if(b=b&&_.dd(b))_.JN(APc(b,!0),!0),_.JN(APc(a,!0),!0)}};CPc=function(a){return!!a.Cm()&&!_.QN(a)};DPc=function(a){var b=[];_.Fa(a,function(c){if(3!=$P(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};cQ=function(a){return a.map(function(b){return b.getItem()})};
EPc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};GPc=function(a){return a.map(function(b){var c=new _.s4a;c=_.x(c,3,FPc[b.serviceName]);return _.x(c,2,Number(b.YBb))})};IPc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return HPc.hasOwnProperty(c.serviceName)?b+Number(c.bytesUsed):b},0)};
KPc=function(a){a=a.Ow();var b=new JPc;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};LPc=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 _.fD;_.R(c,1,b);var d=new _.LIc(c,[7]);a=a.then(function(e){return e.H(d)}).then(KPc);return _.Sh(a)};
MPc=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=_.NHc[a]);return b};NPc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(_.NHc[a[c]]);return b};QPc=function(a){var b=_.EG(a);b=OPc(new dQ,b).zd(a.getName());var c=a.getEmail();b=_.x(b,3,c);c=new PPc;a=_.z(a,5);a=_.x(c,1,a);return _.R(b,4,a)};
SPc=function(a,b){var c=RPc(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()});_.IJc(e,f);h||(f=_.Rj(e,_.wk,3),_.pa(f,function(k){return k.getId()==b.V()}),_.JJc(e,f));_.HJc(e,(_.z(e,1)||1)-1);eQ(a,[d],c.V)}}};
UPc=function(a,b,c){if(b=RPc(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,TPc);_.JJc(e,f)}else f=_.Rj(e,_.wk,2),f.push(c),_.Da(f,TPc),_.IJc(e,f);_.HJc(e,(_.z(e,1)||0)+1);eQ(a,[d],b.V)}}};
YPc=function(a){var b=a.json.exportJob,c=VPc[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=_.OM((new _.Hk).kc(l.docId).setTitle(l.title),l.mediaType);n=(new _.WPc).setItem(n);n=_.x(n,3,l.relativePath);return _.x(n,4,l.cause)});return new XPc(c,d,k,f,h,e,a,b)};
ZPc=function(a){a=a.kd();return a?(a=a.oe())?_.z(a,1):0:0};$Pc=function(a,b){return _.A(b,5,!1)?a+",graceQuotaInfo,quotaStatus":a};bQc=function(a,b){var c=new _.xN,d=new Set;if(6==a){a=_.u(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.sIc.get($P(b)))&&d.add(b):d.add(1);0==d.size&&d.add(0)}aQc(c,[].concat(_.oc(d)));return c};
cQc=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=_.FN(4).setItem(f),c[e]=d):(d=_.FN(2).setItem(d),c[e]=d)});_.jf(b,function(d,e){a[e]||(d=_.FN(1).setItem(d),c[e]=d)});return c};dQc=function(a,b){return _.nf(a)!=_.nf(b)||!_.qf(cQc(a,b))};
hQc=function(a,b){_.x(b,75,1<_.m.devicePixelRatio);if(eQc(b))return b=new fQ(a,b,3),new gQ(b,b.Ja);_.x(b,61,!1);var c=_.ZM(b.Ne())?2:1;a=new hQ(a,b,c,void 0,void 0,void 0);return _.ZM(b.Ne())?new fQc(a):new gQc(a)};iQc=function(a){return _.nd(a).Fg(_.A(a.get(_.Xa),19,!1)?_.OEc:_.Z_a)};iQ=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)};jQc=function(a,b){return _.Tj(a,1,b)};kQc=[1];lQc=function(a){_.Q(this,a,0,-1,kQc,null)};_.L(lQc,_.P);
lQc.prototype.wJ=function(){return _.Rj(this,_.wk,1)};lQc.prototype.D4=function(a){_.Uj(this,1,a,_.wk,void 0)};var mQc=function(a){var b=new lQc;return _.Tj(b,1,a)},nQc=function(a,b){return _.R(a,1,b)},oQc=function(a,b){_.Tj(a,2,b)},pQc=function(a,b){_.R(a,6,b)},qQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(qQc,_.P);var rQc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rQc,_.P);var jQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(jQ,_.P);var 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 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=[[1,2,3,4]],EQc=function(a){_.Q(this,a,0,-1,null,DQc)};_.L(EQc,_.P);var FQc=[[1]],GQc=function(a){_.Q(this,a,0,-1,null,FQc)};_.L(GQc,_.P);var HQc=[[1,2]],IQc=function(a){_.Q(this,a,0,-1,null,HQc)};_.L(IQc,_.P);var JQc=[[1]],KQc=function(a){_.Q(this,a,0,-1,null,JQc)};_.L(KQc,_.P);var LQc=[[1,2]],MQc=function(a){_.Q(this,a,0,-1,null,LQc)};_.L(MQc,_.P);
MQc.prototype.lg=function(a){_.Sj(this,1,LQc[0],a)};var NQc=[1],OQc=function(a){_.Q(this,a,0,-1,NQc,null)};_.L(OQc,_.P);var PQc=[[1]],QQc=function(a){_.Q(this,a,0,-1,null,PQc)};_.L(QQc,_.P);var RQc=[2],SQc=function(a){_.Q(this,a,0,-1,RQc,null)};_.L(SQc,_.P);var TQc=[[1]],UQc=function(a){_.Q(this,a,0,-1,null,TQc)};_.L(UQc,_.P);UQc.prototype.lg=function(a){_.Sj(this,1,TQc[0],a)};var VQc=[[1,2]],WQc=function(a){_.Q(this,a,0,-1,null,VQc)};_.L(WQc,_.P);
var XQc=[[1]],YQc=function(a){_.Q(this,a,0,-1,null,XQc)};_.L(YQc,_.P);
var ZQc=function(a,b){return _.Sj(a,3,_.yk[0],b)},$Qc=function(a,b){_.Tj(a,1,b)},aRc=function(a,b){return _.x(a,2,b)},bRc=function(a,b){return _.R(a,3,b)},cRc=function(a,b){return _.x(a,4,b)},dRc=function(a,b){_.Tj(a,1,b)},eRc=function(a,b){return _.R(a,2,b)},fRc=function(a,b){_.Tj(a,1,b)},gRc=function(a,b){return _.R(a,4,b)},hRc=function(a,b){_.R(a,5,b)},iRc=function(a,b){_.Tj(a,2,b)},jRc=function(a,b){_.Tj(a,4,b)},kRc=function(a,b){return _.R(a,5,b)},lRc=function(a,b){_.Tj(a,1,b)},mRc=function(a,
b){return _.R(a,2,b)},nRc=function(a,b){_.Tj(a,2,b)},oRc=function(a,b){return _.Tj(a,3,b)},pRc=function(a,b){_.Tj(a,1,b)},qRc=function(a,b){return _.x(a,2,b)},rRc=function(a,b){return _.R(a,3,b)},sRc=function(a,b){_.Tj(a,2,b)},tRc=function(a,b){return _.R(a,3,b)},uRc=function(a,b){_.Tj(a,1,b)},vRc=function(a,b){return _.Tj(a,2,b)},wRc=function(a,b){_.Tj(a,1,b)},xRc=function(a,b){return _.R(a,2,b)},yRc=function(a,b){return _.R(a,1,b)},zRc=function(a,b){return _.x(a,2,b)},ARc=function(a,b){return _.x(a,
3,b)},ROc=function(a,b){_.Tj(a,8,b)},$P=function(a){return _.D(a,52,1)},$Oc=function(a,b){return _.R(a,73,b)},SOc=function(a,b){_.Tj(a,107,b)},TOc=function(a,b){_.R(a,109,b)},QOc=function(a,b){return _.Tj(a,117,b)},BRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BRc,_.P);var CRc=function(a){_.Q(this,a,0,-1,null,null)};_.L(CRc,_.P);var DRc=[11],ERc=function(a){_.Q(this,a,0,-1,DRc,null)};_.L(ERc,_.P);var kQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(kQ,_.P);
kQ.prototype.getKey=function(){return _.z(this,2)};lQ=function(a){return _.D(a,4,"en")};_.mQ=function(a){return _.C(a,ERc,34,1)};FRc=function(a,b){return _.x(a,1,b||[])};_.GRc=function(a,b){return _.Tj(a,5,b)};_.HRc=function(a,b){return _.x(a,6,b)};_.IRc=function(a,b){return _.x(a,7,b)};_.JRc=function(a,b){return _.x(a,8,b)};_.KRc=function(a,b){return _.x(a,10,b)};LRc=function(a,b){return _.x(a,5,b)};MRc=[2];_.NRc=function(a){_.Q(this,a,0,-1,MRc,null)};_.L(_.NRc,_.P);
_.NRc.prototype.ln=function(){return _.z(this,1)};_.ORc=function(a,b){return _.x(a,2,b)};_.PRc=function(a,b){return _.x(a,3,b)};_.QRc=function(a,b){return _.x(a,1,b)};_.RRc=function(a,b){return _.x(a,2,b)};_.SRc=function(a,b){return _.R(a,1,b)};TRc=function(a,b){return _.x(a,2,b)};URc=function(a,b){return _.x(a,3,b)};VRc=function(a,b){_.Tj(a,4,b)};_.WRc=function(a,b){_.R(a,8,b)};_.XRc=function(a,b){_.R(a,9,b)};_.DP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DP,_.P);
_.DP.prototype.getTitle=function(){return _.z(this,1)};_.DP.prototype.setTitle=function(a){return _.x(this,1,a)};_.DP.prototype.oe=function(){return _.C(this,_.Ae,2)};YRc=function(a,b){return _.x(a,9,b||[])};ZRc=function(a,b){return _.x(a,10,b||[])};$Rc=function(a,b){return _.x(a,36,b)};aSc=function(a,b){return _.Tj(a,38,b)};_.bSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.bSc,_.P);_.bSc.prototype.getId=function(){return _.z(this,1)};_.bSc.prototype.kc=function(a){return _.x(this,1,a)};
var cSc=function(a,b){return _.x(a,2,b)},dSc=function(a,b){return _.R(a,3,b)},eSc=function(){var a=new _.vN;return _.x(a,5,!0)},aQc=function(a,b){return _.x(a,1,b||[])},fSc={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},nQ=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},gSc=[1,3,5],hSc=function(a){_.Q(this,a,0,-1,gSc,
null)};_.L(hSc,_.P);hSc.prototype.ty=function(){return _.E(this,2)};var iSc=function(a,b){_.x(a,2,b)},jSc=function(a,b){_.Pj(a,5,b,void 0)},kSc=function(a,b){_.x(a,6,b)},lSc=function(a,b){_.x(a,7,b)},mSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(mSc,_.P);mSc.prototype.ty=function(){return _.E(this,1)};mSc.prototype.Cq=function(){return _.z(this,6)};var nSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nSc,_.P);var oSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oSc,_.P);
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=[1],uSc=function(a){_.Q(this,a,0,-1,tSc,null)};_.L(uSc,_.P);_.vSc=function(a,b){_.R(a,2,b)};wSc=[2];xSc=function(a){_.Q(this,a,0,-1,wSc,null)};_.L(xSc,_.P);_.g=xSc.prototype;_.g.Gb=function(){return _.z(this,1)};
_.g.Ec=function(a){return _.x(this,1,a)};_.g.wJ=function(){return _.Rj(this,_.wk,2)};_.g.D4=function(a){_.Uj(this,2,a,_.wk,void 0)};_.g.Zj=function(){return _.z(this,3)};var ySc=[2],zSc=function(a){_.Q(this,a,0,-1,ySc,null)};_.L(zSc,_.P);zSc.prototype.Gb=function(){return _.z(this,1)};zSc.prototype.Ec=function(a){return _.x(this,1,a)};zSc.prototype.Zj=function(){return _.z(this,3)};ASc=function(a,b){return _.x(a,1,b||[])};_.BSc=function(a,b){_.R(a,1,b)};CSc=function(a,b,c){_.oP(a,b,c,"warning")};
DSc=function(a){return _.bf(a.Kp,function(b){return _.NO(b.Gr.request)})};ESc=function(a){var b=[];a.Kp.forEach(function(c){(c=c.Gr.config.timestamp)&&b.push(c)});return b};FSc=function(a){return a.W.IEa()?!0:a.V.some(function(b){return DSc(b)})};GSc=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,ESc(c))});return b};HSc=function(a){return[].concat(_.oc(a.V))};ISc=function(a){return a.H.concat([].concat(_.oc(a.V)))};
JSc=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))};oQ=function(a){var b=_.NP(a).kd();b||(b=new _.yKc,a=_.NP(a),_.R(a,1,b));return b};pQ=function(a){var b=_.C(_.NP(a),hSc,3);b||(b=new hSc,a=_.NP(a),_.R(a,3,b));return b};KSc=function(a){var b=_.C(_.NP(a),mSc,16);b||(b=new mSc,a=_.NP(a),_.R(a,16,b));return b};LSc=function(a){var b=_.C(_.NP(a),pSc,7);b||(b=new pSc,a=_.NP(a),_.R(a,7,b));return b};
MSc=function(a){var b=_.C(_.NP(a),rSc,12);b||(b=new rSc,a=_.NP(a),_.R(a,12,b));return b};
NSc=function(a){if(a instanceof _.SM)return 2;if(a instanceof _.wo)return 10;if(a instanceof _.se)return _.jO(a)?3:_.kO(a)?7:_.lO(a)?8:1;if(a instanceof _.oo)return 9;if(a instanceof _.FG)return 11;if(a instanceof _.rO)return 15;if(a instanceof _.CO)return 6;if(a instanceof _.nO){a=a.getType();if(1==a)return 5;if(2==a)return 16;if(4==a)return 17;if(3==a)return 18}else{if(a instanceof _.fD)return 4;if(a instanceof _.yo)return 12;if("undefined"!=typeof _.DO&&a instanceof _.DO)return 13}return 0};
OSc=function(a){var b=null;a instanceof _.pC||"undefined"!=typeof _.PP&&a instanceof _.PP||"undefined"!=typeof _.QP&&a instanceof _.QP?b=a.Re()||0:"undefined"!=typeof _.SP&&a instanceof _.SP||"undefined"!=typeof _.TP&&a instanceof _.TP||"undefined"!=typeof _.UP&&a instanceof _.UP||"undefined"!=typeof _.VP&&a instanceof _.VP||"undefined"!=typeof _.WP&&a instanceof _.WP?b=a.H:"undefined"!=typeof _.RP&&a instanceof _.RP&&(b=a.Re());return b||0};PSc=function(a,b){return a.V&&_.pOc(a)?_.lOc(a.V,b,0):null};
QSc=function(a,b){if(a.V&&_.pOc(a)){a=_.lOc(a.V,106018,0);var c=_.C(_.NP(a),sSc,15);if(!c){c=new sSc;var d=_.NP(a);_.R(d,15,c)}c=_.x(c,1,1);_.x(c,2,b);a.V()}};RSc=function(a){a.V&&_.pOc(a)&&(a=a.V,a.isRunning()&&a.H.lU())};
SSc=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};
TSc=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++)_.vla(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)};USc=[2,6];_.QP=function(a){_.Q(this,a,0,-1,USc,null)};_.L(_.QP,_.P);_.g=_.QP.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.Aha=function(){return _.A(this,4,!0)};var VSc=function(a,b){return _.x(a,4,b)},WSc=function(a,b){return _.Tj(a,6,b)};_.g=_.QP.prototype;_.g.JF=function(){return _.C(this,_.dmb,7)};_.g.II=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.HX=function(){return _.z(this,10)};_.g.JX=function(a){return _.x(this,10,a)};
_.g.Re=function(){return _.z(this,9)};_.g.IX=function(a){return _.x(this,9,a)};var XSc=[2],YSc=function(a){_.Q(this,a,0,-1,XSc,null)};_.L(YSc,_.P);YSc.prototype.Gb=function(){return _.z(this,1)};YSc.prototype.Ec=function(a){return _.x(this,1,a)};YSc.prototype.Zj=function(){return _.z(this,3)};var ZSc=function(a){_.Q(this,a,0,-1,null,null)};_.L(ZSc,_.P);var $Sc=[1,2],aTc=function(a){_.Q(this,a,0,-1,$Sc,null)};_.L(aTc,_.P);aTc.prototype.Ow=function(){return _.Rj(this,_.so,1)};
var bTc=[1,2,4],cTc={SUCCESS:1,LAb:2,Rsb:3,qpb:4,WAb:5,Vvb:6,Ovb:7,Epb:8,Uzb:9,iAb:10,KAb:11,crb:12,Iqb:13,Itb:14,psb:15,Nqb:16,Mqb:17,Sqb:18,Pqb:19,Qqb:20,yAb:21,UAb:22,mwb:23,uvb:24,zpb:25,PERMISSION_DENIED:26,Rub:27,Ipb:28,Hpb:29,INTERRUPTED:30,Kwb:31,Xwb:32,mrb:33,qrb:34,aAb:35,zrb:36,qsb:37,prb:38,Nvb:39,nqb:40,Fwb:41,Zwb:42,Szb:43,Zpb:44,mqb:45,nsb:46,Nub:47,Mvb:48,dwb:49,Gwb:50,Lzb:51,Jqb:52,Tzb:53,Rzb:54,fqb:55,cqb:56,Jrb:57,kvb:58,Hwb:59,nub:60,cyb:61,Ryb:62,xzb:63,Xtb:64,wvb:65,ZAb:66,Brb:67,
rsb:68,JAb:69,aub:70,Gpb:71,Rpb:72,Zyb:73,yzb:74,uzb:75,szb:76,Nyb:190,rzb:191,$yb:192,fzb:126,bzb:128,czb:129,dzb:130,ezb:131,gzb:132,hzb:133,lyb:127,iyb:134,jyb:135,nyb:136,oyb:137,pyb:138,kyb:194,myb:195,qyb:196,hyb:197,Qyb:189,byb:139,dyb:140,ryb:141,syb:142,Eyb:143,Hyb:144,Iyb:145,Jyb:146,Kyb:147,Lyb:148,Myb:149,Pyb:150,Vyb:151,Xyb:152,Yyb:153,azb:154,izb:155,kzb:156,lzb:157,mzb:158,nzb:159,ozb:160,pzb:161,tzb:162,wzb:163,zzb:164,eyb:165,fyb:166,gyb:167,$xb:168,ayb:169,vyb:170,tyb:171,uyb:172,
wyb:173,xyb:174,yyb:175,zyb:176,Ayb:177,Byb:178,Cyb:179,Dyb:180,Fyb:181,Gyb:182,Oyb:106,Wyb:183,jzb:184,qzb:185,Syb:186,Tyb:187,Uyb:188,vzb:244,Ewb:77,OAb:78,TAb:79,Zub:80,Ntb:81,Ptb:82,Irb:83,msb:84,Sub:85,rAb:86,orb:87,cub:88,bub:89,Czb:90,Azb:91,Bzb:92,PAb:93,Aqb:94,zqb:95,wqb:96,yqb:97,xqb:98,YAb:99,Oxb:100,Vqb:101,Oqb:102,Tqb:103,Rqb:104,Uqb:105,ssb:107,fAb:108,Ixb:109,CAb:110,wsb:111,vsb:112,tub:113,uub:114,cxb:115,gqb:116,Bub:117,Prb:118,QAb:119,Rvb:120,Svb:121,Jtb:193,Lqb:122,grb:123,Mtb:124,
rvb:125,dub:198,Nwb:199,Utb:200,fpb:201,Ztb:202,Ytb:203,Jpb:204,pBb:205,Hub:206,uqb:207,Qvb:208,Ywb:209,Kxb:210,tpb:211,qub:212,yub:213,Wzb:214,Vzb:215,Wtb:216,Gtb:217,Vtb:218,Drb:219,jAb:220,Erb:221,oub:222,cAb:223,cBb:224,Avb:225,bAb:226,irb:227,Gub:228,Hrb:229,pqb:230,pAb:231,svb:232,FILE_TOO_LARGE:233,$tb:234,Crb:235,ksb:236,Uwb:237,xvb:238,Qob:239,rqb:240,Evb:241,Uxb:242,nrb:243,dpb:245,Qtb:246,fwb:247,Otb:248,Yub:249,vvb:250,osb:251,Usb:252,rub:253,dqb:254,tsb:255,XAb:256,Msb:257},dTc=function(a){_.gi.call(this,
a)};_.I(dTc,_.gi);var UOc=[1004,1005,1002,1003],dPc=[1002,1003,1005],eTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(eTc,_.P);eTc.prototype.Gb=function(){return _.z(this,1)};eTc.prototype.Ec=function(a){return _.x(this,1,a)};eTc.prototype.V=function(){return _.C(this,_.lC,2)};var fTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(fTc,_.P);_.g=fTc.prototype;_.g.Kxa=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.dVa=function(){return _.E(this,4)};var qQ=[[13,19,12,11,10,15,14,9,8,18,17,16]],gTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(gTc,_.P);gTc.prototype.VF=function(){return _.E(this,1)};gTc.prototype.XS=function(){return null!=_.z(this,1)};gTc.prototype.V=function(){return _.E(this,2)};var hTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(hTc,_.P);var iTc=[1],jTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(jTc,_.P);
jTc.prototype.VF=function(){return _.E(this,1)};jTc.prototype.XS=function(){return null!=_.z(this,1)};jTc.prototype.V=function(){return _.E(this,2)};var kTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kTc,_.P);_.g=kTc.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,jTc,3)};_.g.xn=function(a){return _.R(this,3,a)};_.g.VUa=function(){return _.C(this,fTc,4)};var lTc=function(a){_.Q(this,a,0,-1,iTc,null)};_.L(lTc,_.P);lTc.prototype.XF=function(){return _.Rj(this,kTc,1)};var mTc=function(a,b){_.Tj(a,1,b)},nTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(nTc,_.P);nTc.prototype.V=function(){return _.z(this,1)};nTc.prototype.GN=function(){return null!=_.z(this,1)};
nTc.prototype.getOptions=function(){return _.C(this,lTc,2)};var oTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(oTc,_.P);oTc.prototype.W=function(){return _.z(this,1)};oTc.prototype.V=function(){return _.z(this,2)};var pTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(pTc,_.P);pTc.prototype.GN=function(){return null!=_.z(this,1)};pTc.prototype.getOptions=function(){return _.C(this,oTc,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);var sTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sTc,_.P);sTc.prototype.GN=function(){return null!=_.z(this,1)};sTc.prototype.getOptions=function(){return _.C(this,rTc,2)};var rQ=[[3,4,5,6,7,8,9,10,11,12]],tTc=function(a){_.Q(this,a,0,-1,null,rQ)};_.L(tTc,_.P);_.g=tTc.prototype;_.g.i2=function(a){return _.Sj(this,3,rQ[0],a)};_.g.rKa=function(a){return _.Sj(this,4,rQ[0],a)};
_.g.PJa=function(a){return _.Sj(this,5,rQ[0],a)};_.g.OJa=function(a){return _.Sj(this,6,rQ[0],a)};_.g.CJa=function(a){return _.Sj(this,7,rQ[0],a)};_.g.fKa=function(a){return _.Sj(this,8,rQ[0],a)};_.g.eKa=function(a){return _.Sj(this,9,rQ[0],a)};_.g.vKa=function(a){return _.Sj(this,10,rQ[0],a)};_.g.Pba=function(a){return _.Sj(this,11,rQ[0],a)};_.g.Aba=function(a){return _.Sj(this,12,rQ[0],a)};var uTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uTc,_.P);var vTc=function(a){_.Q(this,a,0,-1,null,null)};
_.L(vTc,_.P);vTc.prototype.V=function(){return _.z(this,1)};vTc.prototype.GN=function(){return null!=_.z(this,1)};vTc.prototype.getOptions=function(){return _.C(this,uTc,2)};var wTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(wTc,_.P);wTc.prototype.Aza=function(){return _.z(this,1)};wTc.prototype.V=function(){return _.z(this,4)};var xTc=function(a){_.Q(this,a,0,-1,null,qQ)};_.L(xTc,_.P);_.g=xTc.prototype;_.g.getId=function(){return _.z(this,1)};_.g.kc=function(a){return _.x(this,1,a)};
_.g.YUa=function(){return _.z(this,2)};_.g.Bm=function(){return _.z(this,4)};_.g.XUa=function(){return _.C(this,fTc,5)};_.g.getCapabilities=function(){return _.C(this,gTc,6)};_.g.xn=function(a){return _.R(this,6,a)};_.g.cVa=function(){return _.z(this,7)};_.g.CJa=function(a){return _.Sj(this,13,qQ[0],a)};_.g.WUa=function(){return _.C(this,wTc,19)};_.g.Aba=function(a){return _.Sj(this,19,qQ[0],a)};_.g.OJa=function(a){return _.Sj(this,12,qQ[0],a)};_.g.PJa=function(a){return _.Sj(this,11,qQ[0],a)};
_.g.s_a=function(){return _.C(this,qTc,10)};_.g.ZUa=function(){return _.C(this,nTc,15)};_.g.eKa=function(a){return _.Sj(this,15,qQ[0],a)};_.g.$Ua=function(){return _.C(this,lTc,14)};_.g.fKa=function(a){return _.Sj(this,14,qQ[0],a)};_.g.rKa=function(a){return _.Sj(this,9,qQ[0],a)};_.g.aVa=function(){return _.C(this,oTc,8)};_.g.i2=function(a){return _.Sj(this,8,qQ[0],a)};_.g.bVa=function(){return _.C(this,vTc,18)};_.g.Pba=function(a){return _.Sj(this,18,qQ[0],a)};
_.g.vKa=function(a){return _.Sj(this,17,qQ[0],a)};var yTc=[5,7,9],zTc=function(a){_.Q(this,a,0,-1,yTc,null)};_.L(zTc,_.P);_.g=zTc.prototype;_.g.getUser=function(){return _.C(this,_.wk,1)};_.g.Dw=function(a){_.x(this,2,a)};_.g.ara=function(a){return _.x(this,3,a)};_.g.xra=function(a){return _.x(this,4,a)};_.g.j2=function(a){return _.x(this,5,a||[])};_.g.rAa=function(){return _.z(this,6)};_.g.rra=function(a){return _.x(this,6,a)};_.g.Dja=function(){return _.z(this,7)};
_.g.h2=function(a){return _.x(this,7,a||[])};_.g.hra=function(a){return _.x(this,8,a)};_.g.V1=function(a){return _.x(this,9,a||[])};var ATc=[7,10,12,16,13,3],sQ=function(a){_.Q(this,a,0,-1,ATc,null)};_.L(sQ,_.P);var tQ=function(a){return _.z(a,4)};_.g=sQ.prototype;_.g.Dw=function(a){_.x(this,4,a)};_.g.ara=function(a){return _.x(this,5,a)};_.g.UUa=function(){return _.z(this,6)};_.g.xra=function(a){return _.x(this,6,a)};_.g.j2=function(a){return _.x(this,7,a||[])};
_.g.TUa=function(){return _.z(this,8)};var BTc=function(a,b){return _.x(a,8,b)};_.g=sQ.prototype;_.g.rAa=function(){return _.z(this,9)};_.g.rra=function(a){return _.x(this,9,a)};_.g.Dja=function(){return _.z(this,10)};_.g.h2=function(a){return _.x(this,10,a||[])};_.g.SUa=function(){return _.z(this,11)};_.g.hra=function(a){return _.x(this,11,a)};_.g.V1=function(a){return _.x(this,12,a||[])};_.g.b0a=function(){return _.C(this,_.wk,15)};var CTc=function(a,b){return _.R(a,15,b)};
sQ.prototype.W=function(){return _.Rj(this,_.wk,16)};var DTc=function(a,b){_.Tj(a,16,b)};sQ.prototype.ma=function(a,b){return _.Uj(this,16,a,_.wk,b)};sQ.prototype.V=function(){return _.z(this,17)};var ETc=function(a,b){return _.x(a,17,b)};sQ.prototype.ka=function(){return null!=_.z(this,17)};var FTc=function(a,b){_.Tj(a,13,b)};sQ.prototype.getId=function(){return _.z(this,14)};sQ.prototype.kc=function(a){return _.x(this,14,a)};sQ.prototype.getName=function(){return _.z(this,1)};
sQ.prototype.zd=function(a){return _.x(this,1,a)};var GTc=[2],uQ=function(a){_.Q(this,a,0,-1,GTc,null)};_.L(uQ,_.P);uQ.prototype.getName=function(){return _.z(this,1)};uQ.prototype.zd=function(a){return _.x(this,1,a)};uQ.prototype.V=function(){return _.Rj(this,sQ,2)};var HTc=function(a,b){_.Tj(a,2,b)};uQ.prototype.Hc=function(){return _.z(this,3)};var ITc=function(a,b){return _.x(a,3,b)},JTc=[5],KTc=function(a){_.Q(this,a,0,-1,null,null)};_.L(KTc,_.P);_.g=KTc.prototype;
_.g.VF=function(){return _.E(this,1)};_.g.XS=function(){return null!=_.z(this,1)};_.g.nVa=function(){return _.E(this,2)};_.g.QZa=function(){return _.E(this,3)};_.g.oVa=function(){return _.E(this,4)};var vQ=function(a){_.Q(this,a,0,-1,JTc,null)};_.L(vQ,_.P);vQ.prototype.getName=function(){return _.z(this,1)};vQ.prototype.zd=function(a){return _.x(this,1,a)};vQ.prototype.Nk=function(){return _.z(this,2)};var LTc=function(a,b){return _.x(a,2,b)};vQ.prototype.W=function(){return _.z(this,14)};
var MTc=function(a,b){return _.x(a,14,b)};_.g=vQ.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,xTc,5)};var NTc=function(a,b){_.Tj(a,5,b)},OTc=function(a,b){_.R(a,6,b)},PTc=function(a,b){_.R(a,7,b)},QTc=function(a,b){_.R(a,8,b)};vQ.prototype.V=function(){return _.C(this,fTc,12)};var RTc=function(a,b){_.R(a,12,b)};
vQ.prototype.getCapabilities=function(){return _.C(this,KTc,13)};vQ.prototype.xn=function(a){return _.R(this,13,a)};var STc={RAb:0,ivb:1,nwb:2,bwb:3,eub:4,rpb:5,jvb:6,cwb:7,qtb:8,ypb:9,$vb:10},wQ=function(){this.H={};this.ha=6;this.V=null};wQ.prototype.Gb=function(){return this.ha};wQ.prototype.Ec=function(a){this.ha=a};wQ.prototype.Re=function(){return this.V};var TTc=function(a,b){a.V=b};wQ.prototype.$r=function(){return this.H};var UTc=function(a,b){a.H=b};
wQ.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})};VTc=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};_.PP=function(){wQ.apply(this,arguments)};_.I(_.PP,wQ);var WTc=function(){wQ.apply(this,arguments)};_.I(WTc,wQ);var xQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(xQ,_.P);xQ.prototype.getType=function(){return _.z(this,1)};
var XTc=function(a){var b=new xQ;return _.x(b,1,a)},YTc=function(a,b){return _.R(a,2,b)};xQ.prototype.Zt=function(){return _.z(this,3)};xQ.prototype.Fu=function(a){return _.x(this,3,a)};xQ.prototype.ri=function(){return _.z(this,4)};xQ.prototype.setPosition=function(a){return _.x(this,4,a)};var ZTc=[2],$Tc=function(a){_.Q(this,a,0,-1,ZTc,null)};_.L($Tc,_.P);$Tc.prototype.Gb=function(){return _.z(this,1)};$Tc.prototype.Ec=function(a){return _.x(this,1,a)};
var aUc=[2],yQ=function(a){_.Q(this,a,0,-1,aUc,null)};_.L(yQ,_.P);yQ.prototype.Gb=function(){return _.z(this,1)};yQ.prototype.Ec=function(a){return _.x(this,1,a)};yQ.prototype.V=function(){return _.Rj(this,uQ,2)};var bUc=function(a,b){return _.Tj(a,2,b)};yQ.prototype.Zj=function(){return _.z(this,3)};var zQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(zQ,_.P);zQ.prototype.Gb=function(){return _.z(this,1)};zQ.prototype.Ec=function(a){return _.x(this,1,a)};
zQ.prototype.iZ=function(){return _.C(this,_.Hk,2)};cUc=function(a,b){return _.R(a,2,b)};dUc={0:"UNSPECIFIED_FEEDBACK",1:"IMPLICIT_REJECT",2:"NOT_HELPFUL_RIGHT_NOW"};eUc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Wd:a.c,Z6:a.fi,vX:a.dti,YQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,E6:b.ec}}):void 0}};fUc=function(a,b){return new _.eN(_.DFc.bound(a,b,void 0,void 0))};
gUc=function(){var a=new _.Mh,b=_.PFc.deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Dd(_.cN(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.hUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hUc,_.P);_.hUc.prototype.Sp=function(){return _.z(this,1)};_.hUc.prototype.setSize=function(a){return _.x(this,2,a)};_.hUc.prototype.getUrl=function(){return _.z(this,3)};_.iUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.iUc,_.P);
_.iUc.prototype.getType=function(){return _.z(this,1)};jUc=[2,3];_.kUc=function(a){_.Q(this,a,0,-1,jUc,null)};_.L(_.kUc,_.P);lUc=[4,5,6,17,18,24];_.AQ=function(a){_.Q(this,a,0,-1,lUc,null)};_.L(_.AQ,_.P);_.AQ.prototype.getId=function(){return _.z(this,1)};_.AQ.prototype.kc=function(a){return _.x(this,1,a)};_.AQ.prototype.getName=function(){return _.z(this,2)};_.AQ.prototype.zd=function(a){return _.x(this,2,a)};var mUc=function(a,b){return _.x(a,4,b||[])},nUc=function(a,b){return _.x(a,5,b||[])};
_.AQ.prototype.HS=function(){return _.E(this,11)};_.AQ.prototype.getType=function(){return _.z(this,23)};_.AQ.prototype.Hl=function(){return _.E(this,33)};var oUc=[3],BQ=function(a){_.Q(this,a,0,-1,oUc,null)};_.L(BQ,_.P);BQ.prototype.V=function(){return _.z(this,1)};var pUc=function(a,b){return _.x(a,1,b)};BQ.prototype.getTitle=function(){return _.z(this,2)};BQ.prototype.setTitle=function(a){return _.x(this,2,a)};BQ.prototype.Bd=function(){return _.Rj(this,_.Hk,3)};
var qUc=function(a,b){return _.Tj(a,3,b)};BQ.prototype.Rf=function(a,b){return _.Uj(this,3,a,_.Hk,b)};BQ.prototype.ka=function(){return _.z(this,4)};var rUc=function(a,b){return _.x(a,4,b)};BQ.prototype.W=function(){return _.C(this,_.xk,5)};var sUc=function(a,b){return _.R(a,5,b)},JPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(JPc,_.P);_.sO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.sO,_.P);_.sO.prototype.oe=function(){return _.C(this,_.Ae,1)};
var tUc=function(){var a=new _.sO,b=_.Be(new _.Ae,301);return _.R(a,1,b)};_.sO.prototype.wc=function(){return _.z(this,3)};var uUc=[2],CQ=function(a){_.Q(this,a,0,-1,uUc,null)};_.L(CQ,_.P);CQ.prototype.Gb=function(){return _.z(this,1)};CQ.prototype.Ec=function(a){return _.x(this,1,a)};CQ.prototype.$i=function(){return _.Rj(this,BQ,2)};var vUc=function(a,b){return _.Tj(a,2,b)};CQ.prototype.getSessionId=function(){return _.C(this,_.Hl,3)};CQ.prototype.setSessionId=function(a){return _.R(this,3,a)};
_.JO=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JO,_.P);_.JO.prototype.wc=function(){return _.z(this,1)};_.RP=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RP,_.P);_.g=_.RP.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.CM=function(){return _.Jj(this,2,_.lC)};_.g.Zj=function(){return _.z(this,3)};_.g.Re=function(){return _.z(this,5)};var wUc=function(a,b){_.x(a,5,b)},xUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xUc,_.P);
xUc.prototype.Tf=function(){return _.D(this,1,"")};xUc.prototype.zl=function(a){return _.Nj(this,1,a)};xUc.prototype.getUrl=function(){return _.D(this,2,"")};_.DQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DQ,_.P);_.DQ.prototype.getType=function(){return _.D(this,1,0)};_.DQ.prototype.getContext=function(){return _.C(this,xUc,2)};_.DQ.prototype.Gk=function(a){return _.R(this,2,a)};var yUc=[1],zUc=[2],AUc=function(a){_.Q(this,a,0,-1,zUc,null)};_.L(AUc,_.P);
AUc.prototype.getLabel=function(){return _.D(this,1,"")};AUc.prototype.Hd=function(a){return _.Nj(this,1,a)};_.BUc=function(a){_.Q(this,a,0,-1,yUc,null)};_.L(_.BUc,_.P);_.BUc.prototype.V=function(){return _.Rj(this,AUc,1)};_.CUc=[[2,3,4]];_.EQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EQ,_.P);_.EQ.prototype.Bm=function(){return _.D(this,3,"")};_.EQ.prototype.Fs=function(a){return _.Nj(this,4,a)};_.DUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DUc,_.P);
_.EUc=function(a){_.Q(this,a,0,-1,null,_.CUc)};_.L(_.EUc,_.P);var FUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(FUc,_.P);GUc=[3,5];_.FQ=[[8,9,10,11,12,13]];HUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(HUc,_.P);var IUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(IUc,_.P);_.JUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.JUc,_.P);_.KUc=function(a){_.Q(this,a,0,-1,GUc,_.FQ)};_.L(_.KUc,_.P);_.KUc.prototype.Gb=function(){return _.D(this,6,0)};_.KUc.prototype.Ec=function(a){return _.Oj(this,6,a)};
var LUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(LUc,_.P);var MUc=[1],NUc=function(a){_.Q(this,a,0,-1,MUc,null)};_.L(NUc,_.P);var OUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(OUc,_.P);var PUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(PUc,_.P);var QUc=[1],RUc=[2],SUc=function(a){_.Q(this,a,0,-1,RUc,null)};_.L(SUc,_.P);var TUc=function(a){_.Q(this,a,0,-1,QUc,null)};_.L(TUc,_.P);TUc.prototype.V=function(){return _.Rj(this,SUc,1)};UUc=[7];_.VUc=[[1,2,3]];
_.WUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WUc,_.P);_.XUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.XUc,_.P);_.YUc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.YUc,_.P);_.ZUc=function(a){_.Q(this,a,0,-1,UUc,_.VUc)};_.L(_.ZUc,_.P);_.$Uc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.$Uc,_.P);_.$Uc.prototype.getName=function(){return _.D(this,1,"")};_.$Uc.prototype.zd=function(a){return _.Nj(this,1,a)};var aVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(aVc,_.P);
aVc.prototype.getName=function(){return _.D(this,1,"")};aVc.prototype.zd=function(a){return _.Nj(this,1,a)};aVc.prototype.getTitle=function(){return _.D(this,2,"")};aVc.prototype.setTitle=function(a){return _.Nj(this,2,a)};var GQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(GQ,_.P);GQ.prototype.getName=function(){return _.D(this,1,"")};GQ.prototype.zd=function(a){return _.Nj(this,1,a)};GQ.prototype.getTitle=function(){return _.D(this,2,"")};GQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};
var bVc=[[1,4]],cVc=function(a){_.Q(this,a,0,-1,null,bVc)};_.L(cVc,_.P);cVc.prototype.getUser=function(){return _.C(this,_.EUc,1)};cVc.prototype.W=function(){return null!=_.z(this,4)};cVc.prototype.iZ=function(){return _.C(this,GQ,2)};var dVc=[[8,9,10]],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);_.fVc.prototype.getType=function(){return _.D(this,6,0)};_.gVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.gVc,_.P);
var HQ=function(a){_.Q(this,a,0,-1,null,dVc)};_.L(HQ,_.P);_.g=HQ.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.uJ=function(){return _.C(this,cVc,7)};var hVc=[[8,9,10]],IQ=function(a){_.Q(this,a,0,-1,null,hVc)};_.L(IQ,_.P);IQ.prototype.getName=function(){return _.D(this,1,"")};
IQ.prototype.zd=function(a){return _.Nj(this,1,a)};IQ.prototype.getTitle=function(){return _.D(this,2,"")};IQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};iVc=[[1,3]];_.JQ=function(a){_.Q(this,a,0,-1,null,iVc)};_.L(_.JQ,_.P);_.JQ.prototype.V=function(){return _.C(this,IQ,1)};_.JQ.prototype.W=function(){return null!=_.z(this,3)};_.JQ.prototype.iZ=function(){return _.C(this,GQ,2)};_.jVc=[[1,2,3]];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);_.mVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.mVc,_.P);_.nVc=function(a){_.Q(this,a,0,-1,null,_.jVc)};_.L(_.nVc,_.P);oVc=[2,3];_.pVc=function(a){_.Q(this,a,0,-1,oVc,null)};_.L(_.pVc,_.P);_.pVc.prototype.getType=function(){return _.D(this,1,0)};_.qVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.qVc,_.P);_.qVc.prototype.getType=function(){return _.D(this,1,0)};var rVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(rVc,_.P);
rVc.prototype.getType=function(){return _.D(this,1,0)};var sVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(sVc,_.P);var tVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(tVc,_.P);var uVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(uVc,_.P);vVc=[1,2,4];_.wVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.wVc,_.P);_.xVc=function(a){_.Q(this,a,0,-1,vVc,null)};_.L(_.xVc,_.P);_.KQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.KQ,_.P);_.KQ.prototype.getEmail=function(){return _.D(this,1,"")};
_.KQ.prototype.getTitle=function(){return _.D(this,2,"")};_.KQ.prototype.setTitle=function(a){return _.Nj(this,2,a)};_.LQ=[[2,3,4,5]];_.MQ=function(a){_.Q(this,a,0,-1,null,_.LQ)};_.L(_.MQ,_.P);_.MQ.prototype.Gg=function(){return _.D(this,1,0)};_.MQ.prototype.getUser=function(){return _.C(this,_.EUc,2)};var yVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(yVc,_.P);zVc=[1,2,3,4];_.AVc=function(a){_.Q(this,a,0,-1,zVc,null)};_.L(_.AVc,_.P);var BVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(BVc,_.P);
var CVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(CVc,_.P);_.DVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.DVc,_.P);_.EVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.EVc,_.P);_.EVc.prototype.getType=function(){return _.D(this,1,0)};FVc=[1];_.GVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.GVc,_.P);_.GVc.prototype.getFeature=function(){return _.D(this,1,0)};_.HVc=function(a){_.Q(this,a,0,-1,FVc,null)};_.L(_.HVc,_.P);var IVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(IVc,_.P);
var JVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(JVc,_.P);var KVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(KVc,_.P);KVc.prototype.getType=function(){return _.D(this,1,0)};_.NQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,17,19,20,21]];_.OQ=function(a){_.Q(this,a,0,-1,null,_.NQ)};_.L(_.OQ,_.P);_.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);_.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);_.OVc.prototype.getType=function(){return _.D(this,1,0)};_.PQ=[[1,2,3,4,5]];_.PVc=function(a){_.Q(this,a,0,-1,null,_.PQ)};_.L(_.PVc,_.P);_.PVc.prototype.getUser=function(){return _.C(this,_.EUc,1)};var QVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(QVc,_.P);QVc.prototype.getType=function(){return _.D(this,2,0)};_.RVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.RVc,_.P);_.g=_.RVc.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,HQ,3)};_.SVc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SVc,_.P);_.SVc.prototype.getParent=function(){return _.C(this,HQ,4)};_.SVc.prototype.Kg=function(a){return _.R(this,4,a)};var 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,HQ,3)};_.QQ=[[1,5,3]];_.RQ=function(a){_.Q(this,a,0,-1,null,_.QQ)};_.L(_.RQ,_.P);_.RQ.prototype.V=function(){return _.C(this,HQ,1)};_.RQ.prototype.W=function(){return null!=_.z(this,5)};_.RQ.prototype.iZ=function(){return _.C(this,TVc,2)};_.SQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.SQ,_.P);
_.SQ.prototype.Bq=function(){return _.C(this,_.by,2)};_.SQ.prototype.fC=function(a){_.R(this,2,a)};UVc=[[5,6]];_.VVc=function(a){_.Q(this,a,0,-1,null,UVc)};_.L(_.VVc,_.P);_.VVc.prototype.ln=function(){return _.C(this,QVc,2)};WVc=[3,4,5];XVc=[[6,7]];_.TQ=function(a){_.Q(this,a,0,-1,WVc,XVc)};_.L(_.TQ,_.P);_.TQ.prototype.Vea=function(a){_.Uj(this,4,a,_.VVc,void 0)};var YVc=[1],sPc=function(a){_.Q(this,a,0,-1,YVc,null)};_.L(sPc,_.P);var bQ=[[1,2,3,4,5,6,7]],rPc=function(a){_.Q(this,a,0,-1,null,bQ)};
_.L(rPc,_.P);var UQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(UQ,_.P);UQ.prototype.getQuery=function(){return _.C(this,_.se,1,1)};var ZVc=function(a,b){return _.R(a,1,b)};UQ.prototype.Tm=function(){return _.z(this,4)};var $Vc=function(a,b){return _.R(a,5,b)},aWc=[1,2,5,7,9,10,12],VQ=function(a){_.Q(this,a,0,-1,aWc,null)};_.L(VQ,_.P);VQ.prototype.Bd=function(){return _.Rj(this,_.Hk,1)};var WQ=function(a,b){return _.Tj(a,1,b)};VQ.prototype.Rf=function(a,b){return _.Uj(this,1,a,_.Hk,b)};
VQ.prototype.wJ=function(){return _.Rj(this,_.wk,2)};var bWc=function(a,b){_.Tj(a,2,b)};VQ.prototype.D4=function(a){_.Uj(this,2,a,_.wk,void 0)};VQ.prototype.gy=function(){return _.z(this,3)};var cWc=function(a,b){return _.x(a,3,b)};VQ.prototype.jn=function(){return _.z(this,4)};var dWc=function(a,b){return _.x(a,4,b)},eWc=function(a,b){return _.Tj(a,5,b)},fWc=function(a,b){return _.x(a,6,b)};VQ.prototype.zh=function(){return _.C(this,_.zC,8)};VQ.prototype.Ow=function(){return _.Rj(this,_.so,9)};
VQ.prototype.Sh=function(){return _.z(this,12)};var gWc=function(a,b){return _.x(a,12,b||[])},hWc=function(a,b){return _.x(a,13,b)},iWc={Bpb:0,Apb:1,Aub:2,dAb:3,gAb:4},aQ=[[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]],pPc=function(a){_.Q(this,a,0,-1,null,aQ)};_.L(pPc,_.P);var vPc=[[1,2]],uPc=function(a){_.Q(this,a,0,-1,null,vPc)};_.L(uPc,_.P);var yPc=[[1,2,3]],xPc=function(a){_.Q(this,a,0,-1,null,yPc)};_.L(xPc,_.P);var jWc=[1],kWc=function(a){_.Q(this,a,0,-1,jWc,null)};_.L(kWc,_.P);
kWc.prototype.cG=function(){return _.D(this,2,"")};var lWc={qqb:"wb",HAb:"xb",Cvb:"yb",jOa:"zb"},mWc=function(a,b){return 0<=b?!a||a<=b:!0},nWc=function(a,b){return 1<a?2==b:a==b},oWc=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");},XQ=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=XQ.prototype;_.g.clone=function(){return new XQ(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.CP=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 pWc=function(a){_.N.call(this);this.V={};this.ma={};this.ua=a;this.ka=!0;this.W=null;this.ha=!1};_.I(pWc,_.N);
var YQ=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)}},ZQ=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;}}}};pWc.prototype.H=function(a){return!!this.ma[a]};pWc.prototype.start=function(){this.ha=!0};pWc.prototype.ab=function(){_.N.prototype.ab.call(this);delete this.V};_.SP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.JIc=function(a){this.H=a};qWc=function(){};rWc=function(a){this.H=a};_.KIc=function(a){this.H=a};XPc=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};
_.UP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.QIc=function(a,b){this.request=a;this.pageToken=b||""};sWc=function(a){this.pageToken=a||""};tWc=function(){};_.SIc=function(a,b){this.request=a;this.pageToken=b||""};_.VP=function(a,b,c){this.response=a;this.H=void 0===b?0:b;this.W=void 0===c?null:c};_.WP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};
_.TP=function(a,b,c,d){this.response=a;this.pageToken=b||"";this.V=c||!1;this.H=void 0===d?0:d};uWc=function(a,b){this.response=a;this.pageToken=b||""};jPc=function(){var a=_.m.Intl;return!(!a||!a.Collator)};vWc=function(a,b){return jPc()?(new _.m.Intl.Collator([a||"en-US"],b||{})).compare:function(c,d){return c.localeCompare(d)}};wWc=function(a){return[].concat(_.oc(new Set(a.map(function(b){return _.XGc.get(b)}).filter(function(b){return b})))).join(",")};
$Q=function(a,b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.oc(b));b=wWc(b);var d=_.oN(a)?"kind,id,name,colorRgb,backgroundImageLink,creator(kind,permissionId,id,emailAddressFromAccount),permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":
_.A(a,80,!1)?"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary(entryCount,userEntryCount,groupEntryCount,memberCount,selectPermissions(kind,id,userId,emailAddress,domain,role,type,additionalRoles,view,audienceId,customerId,name,photoLink)),trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden";
c=c?"canAddChildren,canChangeDriveBackground,canComment,canCopy,canDeleteDrive,canDownload,canEdit,canManageMembers,canShare,canRename,canRenameDrive,canDeleteChildren,canTrashChildren":"canAddChildren,canAddFolderFromAnotherDrive,canChangeTeamDriveBackground,canComment,canCopy,canDeleteTeamDrive,canDownload,canEdit,canManageMembers,canManageVisitors,canRemoveChildren,canRename,canRenameTeamDrive,canShareOutsideDomain,canDeleteChildren,canTrashChildren";_.A(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"};xWc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+$Q(a,b,!1)+")"};yWc=function(a){var b=new _.xp;_.vP(b,"hidden",a.Hl());(a=_.E(a,6))&&_.vP(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()};zWc=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}};
AWc=function(a){var b=jPc(),c={};b&&(c.numeric=b);this.H=vWc(a,c)};AWc.prototype.compare=function(a,b,c){b=BWc(b);c=BWc(c);a=a.Td();var d=zWc(a);if(a&&d){d=CWc(this,a);var e=4==a.getType()?this.H:_.Aa;return DWc(a,d,e,b,c)}return _.Aa(b.getId(),c.getId())};AWc.prototype.sort=function(a,b,c){a=a.Td();var d=zWc(a);a&&d&&(d=CWc(this,a),d=EWc(b,d),_.Da(b,FWc(this,a,d)));c&&0<c&&_.va(b,c,b.length-c)};
var BWc=function(a){return a instanceof _.Hk?a:a.getItem()},CWc=function(a,b){b=zWc(b);return _.K(a.V,a,b,_.Aa)},EWc=function(a,b){var c={};a.forEach(function(d){d=BWc(d);var e=d.getId();c[e]=b(d)});return c},FWc=function(a,b,c){return function(d,e){var f=4==b.getType()?a.H:_.Aa;d=BWc(d);e=BWc(e);return DWc(b,function(h){return c[h.getId()]},f,d,e)}},DWc=function(a,b,c,d,e){var f=1==a.hh()?1:-1;if(_.E(a,3)){a=_.QN(d,!0);var h=_.QN(e,!0);a=a==h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Aa(d.getId(),
e.getId()))};AWc.prototype.V=function(a,b,c){for(var d=GWc(a[0],c),e=1;e<a.length;e++){var f=GWc(a[e],c);d=1==b(f,d)?f:d}return d};
var GWc=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.yJ()||0;case 98:return b.qB()||0;default:return""}},HWc=function(a,b){this.V=a;this.V.sort();this.ha=b;this.H=_.ZM(b.Ne());this.W="";a=_.nN(b);this.ka=
!(!a||!_.A(a,1,!1))},aR=function(a,b,c){b=_.Yj(b);"root"==b.getId()&&b.kc(a.W);_.eP(b).filter(function(d){return"root"==d.yb()}).forEach(function(d){return d.jc(a.W)});_.ze(b,_.dP(b).map(function(d){d.jc(d.yb().toLowerCase());return d}));c&&_.Yk(b,a.V);b.Sh().sort();return b},bR=function(a,b,c){if(b instanceof _.se){b=aR(a,b);var d=_.ALc(b)}else if(b instanceof _.oo)d=b.Il().sort().join(","),_.A(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.SM)return d=yWc(b),d+"|tdList";if(b instanceof _.wo)return d=
b.Il().sort().join(","),b.Sh().length&&(d+="|"+wWc(b.Sh())),d+"|tdMap";throw Error("Ze");}return 3==c?d:d+"|"+IWc(a,b.Sh(),2==c)},IWc=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+" - "+_.ON({fields:[].concat(_.oc(f)),mw:a.H}));e.size&&(d=d+" + "+_.ON({fields:[].concat(_.oc(e)),mw:a.H}));
return d};HWc.prototype.equals=function(a,b,c){var d;c&&(d=3);return bR(this,a,d)==bR(this,b,d)};
var JWc=function(a){if(!a.Il().every(function(b){return!_.Ec(b)}))throw new _.rb("Invalid ids for FindByIdsRequest");},LWc=function(a,b,c){if(_.kO(b))throw new _.rb("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");KWc(a,b,c)},KWc=function(a,b,c){var d=_.KN(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)),MWc(a,d,b.Sh()));if(c=(c=b.Td())&&zWc(c))d=b.Sh().length?b.Sh():a.V,MWc(a,d,c);if(_.jO(b)){if(a.H)throw new _.rb("User must be authenticated for a Quick Access request.");if(!NWc(a)&&20<b.oh())throw new _.rb("Limit must be in the range [1, 20].");c=2==_.fP(b);d=_.z(b,33).length;if(c&&1!=d||d&&!c)throw new _.rb("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.ze(_.x(_.x(_.HN(_.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: "+TSc(d,c));}if(_.lO(b)){if(a.H)throw new _.rb("User must be authenticated for a DrivePriority request.");if(2==_.fP(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: "+TSc(b,a));}},OWc=function(a,b,c){if(!_.kO(b))throw new _.rb("Expected a PeoplePredict request.");KWc(a,b,c);if(a.H)throw new _.rb("User must be authenticated for a People Predict request.");if(2==_.fP(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: "+TSc(b,a));},MWc=function(a,b,c){var d=_.KN(3);if(!YOc(b,c,!0)){var e=_.ON({fields:c,mw:a.H}),f=_.ON({fields:b,mw:a.H});a=_.ON({fields:ZOc(c,b),mw:a.H});throw new _.rb("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),
d);}},NWc=function(a){return 200<=_.hP(a.ha)&&300>_.hP(a.ha)},PWc=function(a){var b=new Set;_.dP(a).forEach(function(c){switch(_.Y_a(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))},QWc=function(a){switch(_.hP(a)){case 3:case 12:case 204:return"GOOGLE_DOCS";
case 4:case 13:case 207:return"GOOGLE_SHEETS";case 5:case 14:case 205:case 208:return"GOOGLE_SLIDES";case 6:case 203:return"GOOGLE_FORMS";case 232:return"GOOGLE_MEET";case 8:case 201:return"GOOGLE_SITES";case 229:case 216:return"GOOGLE_CLASSROOM";case 202:case 1:case 9:return"GOOGLE_DRIVE";case 228:return"GOOGLE_GMAIL";case 236:return"GOOGLE_CHAT";default:return"UNSPECIFIED_APPLICATION"}},RWc=function(){this.Kp=[]};_.I(RWc,_.xP);
RWc.prototype.add=function(a,b){var c=a.Gr.request;return c instanceof _.HO&&_.z(c.request,12)?_.xP.prototype.add.call(this,a,b):!1};RWc.prototype.H=function(a){return this.Kp.splice(0,Math.min(a,1))};var SWc=function(a,b){this.Kp=[];this.V=b};_.I(SWc,_.xP);SWc.prototype.add=function(a,b){return a.Gr.request instanceof _.HO?!1:_.xP.prototype.add.call(this,a,b)};
SWc.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 _.YN&&k instanceof _.YN||"undefined"!=typeof _.hO&&k instanceof _.hO||"undefined"!=typeof _.xO&&k instanceof _.xO?k="app|"+k.V():k instanceof _.TN||k instanceof _.UN||k instanceof _.$N||k instanceof _.pN?k="item|"+(k instanceof _.TN?k.Hc():k.getId()):"undefined"!=typeof _.aO&&k instanceof _.aO||"undefined"!=typeof _.iO&&k instanceof _.iO?k="item|"+k.Hc():
k instanceof _.bO||k instanceof _.zO?k="item|"+k.Hc():"undefined"!=typeof _.LD&&k instanceof _.LD||"undefined"!=typeof _.KD&&k instanceof _.KD?(k="undefined"!=typeof _.LD&&k instanceof _.LD?k.V().getKey():k.getKey(),k="pref|"+_.z(k,2)+"|"+_.to(k)):k=k instanceof _.cO?"td|"+k.getId():null;var l=h.Gr.request;if(l instanceof _.WN)l=!!_.E(l,8);else if(l instanceof _.UN){l=this.V.H(l.getId());var n;if(n=!!l)n=!!(l&&l.Rb()&&_.ldb.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 TWc=function(a,b){_.N.call(this);this.Gf=a;this.H=b};_.L(TWc,_.N);_.g=TWc.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.Dxa,this,b),c)};_.g.SU=function(a){this.V=(0,_.K)(this.Dxa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("cf");this.Gf.V.send(this.H+":"+a,b)};
_.g.Dxa=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 UWc=function(a){_.N.call(this);this.V=a;this.H={};this.V.SU((0,_.K)(this.W,this))};_.L(UWc,_.N);var VWc=function(a,b){if(-1!=b.indexOf(":"))throw Error("af`"+b);if(b in a.H)throw Error("bf`"+b);var c=new TWc(a,b);return a.H[b]=c};UWc.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)}};
UWc.prototype.ab=function(){_.jf(this.H,function(a){_.gc(a)});_.gc(this.V);delete this.H;delete this.V};var WWc=function(a){_.N.call(this);this.H=a};_.L(WWc,_.N);_.g=WWc.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.SU=function(a){this.H.nb(function(b){b.SU(a)})};_.g.send=function(a,b){this.H.nb(function(c){c.send(a,b)})};
_.g.ab=function(){this.cancel();WWc.mb.ab.call(this)};var lPc=function(a){_.Xz.call(this);this.H=a;this.V=_.sd(this.H,"message",this.TTa,!1,this)};_.L(lPc,_.Xz);_.g=lPc.prototype;_.g.le=null;_.g.send=function(a,b){var c=[];b=this.jia(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.aHc&&(a=(0,_.vi)(a));this.H.postMessage(a,c)};
_.g.TTa=function(a){a=a.Kf;var b=a.data;if(_.aHc)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=_.q9a(this.Zka(a.ports||[],c),b.toa),null!=c&&b.callback(c)}};
_.g.jia=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.jia,this,a)):b&&b.constructor==Object?_.lf(b,function(c,d){c=this.jia(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.Zka=function(a,b){return Array.isArray(b)?_.pe(b,(0,_.K)(this.Zka,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.lf(b,function(c,d){return this.Zka(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;lPc.mb.ab.call(this)};
var XWc=function(a,b){if("*"==b)return new WWc(_.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 lPc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new WWc(e)},YWc=function(a){_.N.call(this);this.H=new UWc(a);this.W={};this.V=VWc(this.H,
"private");this.ha=VWc(this.H,"public");this.V.registerService("mics",(0,_.K)(this.tRa,this),!0)};_.L(YWc,_.N);_.g=YWc.prototype;_.g.Rcb=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.Rcb++;this.W[d]=c;c={};c.signature=d;c.data=b;this.ha.send(a,c)};_.g.tRa=function(a){var b=a.signature;a=a.data;b in this.W&&((0,this.W[b])(a),delete this.W[b])};_.g.registerService=function(a,b){this.ha.registerService(a,(0,_.K)(this.sRa,this,b),!0)};
_.g.sRa=function(a,b){a=a(b.data);var c=b.signature;_.Fh(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.V&&this.V.send("mics",e)},this))};var ZWc=function(a,b){_.N.call(this);this.W=new UWc(a);this.Pa(this.W);this.H=new YWc(VWc(this.W,"direct"));this.Pa(this.H);a=VWc(this.W,"passthrough");this.ha=b?a:new YWc(a);this.Pa(this.ha);this.V=b;this.ka=!1};_.I(ZWc,_.N);ZWc.prototype.registerService=function(a,b){this.H.registerService(a,b)};
ZWc.prototype.send=function(a,b,c){this.H.send(a,b||{},c||_.Se)};var cR=function(a,b,c){if(a.V)throw Error("ef");a.ha.registerService(b,c,!0)},dR=function(a,b,c,d){if(a.V)throw Error("ff");a.ha.send(b,c||{},d||_.Se)};ZWc.prototype.start=function(){this.ka||(this.ka=!0);if(this.V)throw Error("gf");};
var nPc=[],$Wc=function(a,b,c,d,e,f,h,k,l){a=a.mf();h=new _.bMc(k,h,d,_.D(a,32,1073741824),_.D(a,21,1E3));h=new _.cMc(h);k=new _.eLc(_.D(a,59,2E3),_.D(a,60,2E4),_.D(a,61,6));var n={};n[1]=_.eMc(b,d);n[2]=_.fMc(b,a,e,c,k,d,l);n[3]=_.gMc(b,a,e,c,k,d,l,"batch");var q=_.D(a,10,50);if(l){var t=new _.HLc(l.getState());var v=new _.CLc(l)}else t=new _.dLc(e,c),v=new _.bLc(c);f=new _.zP(d,b,[t,new _.hLc(q,_.D(a,11,100)),new _.yP(q),new _.rP(k,d)],[new SWc(a,f),new RWc,new _.xP],[v,new _.MLc(a,k,l?l.getState():
e,d)],"mutation");return n[4]=f,n[5]=_.hMc(h,a,d),n[6]=_.gMc(b,a,e,c,k,d,l,"find_by_ids_batch"),n[7]=_.gMc(b,a,e,c,k,d,l,"xd4_batch"),n[8]=_.gMc(b,a,e,c,k,d,l,"xd4_immediate_batch",1),n},eR=function(a){return a instanceof _.Hk?null!=a.getId()&&a.getId()==a.wc():null!=a.Hc()&&a.Hc()==a.wc()},aXc=function(a,b,c){c=void 0===c?[]:c;var d=_.Yj(a),e=b.$j();null!=e&&$Oc(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));ZP(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()&&ZP(a,d,c)},bXc=function(a,b,c){c=void 0===c?[]:c;if(!b||!eR(a)&&!eR(b))return a;if(2==$P(a)){c=_.z(a,82);var d=_.Yj(b);aXc(d,a);_.RJc(d,$P(b));_.x(d,82,c);return d}a=_.Yj(a);aXc(a,b,c);return a},cXc=function(a){return(a=a?a.$j():null)&&a.Hl()||!1},dXc=function(a,b){this.ka=a;this.ma=new Set(b);this.H={};this.W=new Set;
this.V={};this.ha=new Set},eXc=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]={}})},gXc=function(a,b,c){b.every(function(d){return eR(d)})?fXc(b,c,a.V,a.ha):b.every(function(d){return!eR(d)})&&fXc(b,c,a.H,a.W)},fXc=function(a,b,c,d){var e=_.xIc(b,[].concat(_.oc(d)));0!=e.length&&a.forEach(function(f){e.forEach(function(h){var k=c[h][f.getId()];
k&&ZP(f,k,[h])})})};dXc.prototype.update=function(a,b,c){b&&eR(b)?hXc(a,b,this.V,this.ha,c):hXc(a,b,this.H,this.W,c)};var iXc=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)})},hXc=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&&XOc(b,[h])){var k=new _.Hk;k.kc(b.getId());ZP(k,b,[h]);f[a]=k}});b&&YP(b,[].concat(_.oc(d)))};
dXc.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 jXc=/^[\x00-\x7F]*$/,kXc=function(){this.H=""},mXc=function(a){return lXc(a)&&0==_.z(a,40).length&&void 0==_.z(a,41)},lXc=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,_.$O,35).length&&0==_.Rj(a,_.$O,38).length&&c&&b&&0==_.z(a,39).length&&!_.z(a,42)&&0==_.Rj(a,_.Ok,44).length&&!_.jO(a)&&!_.kO(a)&&
!_.lO(a)&&0==_.Rj(a,_.Pk,57).length&&nXc(a)&&!_.C(a,_.pna,59)},nXc=function(a){return _.Rj(a,_.Uk,4).every(function(b){return jXc.test(b.yb())})};kXc.prototype.eY=function(a,b){var c=this;return b.filter(function(d){return fR(c,a,d)})};
var fR=function(a,b,c){var d;if(d=!!c)d=c.getId()!=a.H&&!eR(c);if(d){d=!0;var e=_.Rj(b,_.Uk,4);if(nXc(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=_.dP(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&&oXc(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&&oXc(k,f);d&&(d=b.Bh(),e=(e=_.fP(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=_.eP(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=_.fP(b))&&(2==d||3==d),a=null==a||a==!!c.hD()&&(!a||1==c.wm()||d));a&&(a=APc(c),a=null==_.E(b,
19)||_.E(b,19)==!!a.Rp());a&&(a=!0);if(a=a&&pXc(b,c)&&qXc(b,c))a=_.z(b,33),a=!a.length||a.includes(c.wc()||"");if(a=a&&rXc(b,c))_.z(b,41)?(a=_.C(c,_.VO,86),a=null!=a&&_.z(b,41)==_.z(a,3)):a=!0;if(a=a&&sXc(b,c))a=_.fP(b),1==a?(a=_.E(c,31),a=!!_.eP(b).length||!!_.Rj(b,_.$O,35).length||1==_.E(b,18)||_.jO(b)||_.kO(b)||_.lO(b)||!!_.z(b,54)||null==a||a):a=2==a?!!c.wc():!0;a&&(a=_.jO(b)?!!_.Lk(c)&&!c.Bh():!0);a&&(a=_.kO(b)?!!_.Mk(c).length&&!c.Bh():!0);a&&(a=_.lO(b)?!!c.fJ().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},oXc=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},pXc=function(a,b){var c=_.vf(_.z(b,56));a=_.Rj(a,_.aP,25);return 0==a.length?!0:a.every(function(d){return c[d.yb()]})},
qXc=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]})},rXc=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()]})},sXc=function(a,b){if(_.z(a,40).length){if(b=_.C(b,_.VO,86)){var c=_.vf(_.z(b,2));return _.z(a,40).some(function(d){return c[d]})}return!1}return!0},tXc=function(a,b,c){var d=this;this.W=b;this.ha=
c;this.H={};this.V="";a.nb(function(e){d.V=e})};tXc.prototype.query=function(a,b){var c=this,d=[];mXc(a)&&(_.jf(this.H,function(e){fR(c.W,a,e.getItem())&&(void 0===b||nWc(e.V,b))&&d.push(e)}),this.ha.sort(a,d));return d};tXc.prototype.get=function(a){return this.H[a]};tXc.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};
tXc.prototype.update=function(a){a.H?(a.H.H++,a.V&&a.V.H--,uXc(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 uXc=function(a,b){return 1<b.Zb()||nWc(b.V,2)||b.getItem().hD()||CPc(b.getItem())?!1:"root"!=b.getId()&&b.getId()!=a.V},vXc=function(a){_.jf(a.H,function(b){uXc(a,b)&&(_.rf(a.H,b.getId()),b.H--)})},wXc=function(a,b,c,d){this.ha=a;this.ma=b;this.V=c;this.ka=d},RPc=function(a,b){return(b=a.V.get(b))?(b=b.clone(),gXc(a.ka,[b.getItem()],ISc(a.ha)),b):null};wXc.prototype.H=function(a){return(a=RPc(this,a))?a.getItem():null};
var xXc=function(a,b){var c={};b.forEach(function(d){var e=RPc(a,d);e&&(c[d]=e)});return c},yXc=function(a,b){return _.lf(xXc(a,b),function(c){return c.getItem()})},zXc=function(a,b){b=aR(a.ma,b);return a.V.query(b).map(function(c){return c.clone()})};wXc.prototype.query=function(a){return zXc(this,a).map(function(b){return b.getItem()})};wXc.prototype.W=function(){return _.nf(this.V.H)};
AXc=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()||_.EG(e));(d=c.Ro())&&b.add(d.getId()||_.EG(d));(d=c.dB())&&b.add(d.getId()||_.EG(d));(d=_.C(c,_.wk,91))&&b.add(d.getId()||_.EG(d));(c=c.rB())&&b.add(c.getId()||_.EG(c))}return b.size};
BXc=function(a){return _.C(a,_.XM,3)||_.C(a,_.IO,4)||_.C(a,_.DP,5)||_.C(a,_.AO,6)||_.C(a,_.cO,7)||_.C(a,_.WN,8)||_.C(a,_.$N,9)||_.C(a,_.pN,10)};CXc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""};DXc=function(a){var b={};return b.parentId=a.Nj(),b};EXc=function(a){var b={};_.Ec(_.sg(a.getTitle()))||(b.title=a.getTitle());_.xNc(b,_.z(a,3));return b};
FXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.z(a,3)&&(b.workspaceToken=_.z(a,3));return b};GXc=function(a){var b={};b.sourceIds=a.request.V();b.destinationFolderId=a.request.W();a.pageToken&&(b.continuationToken=a.pageToken);return b};
HXc=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=_.dKc(_.mLc(_.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)}_.xNc(b,_.z(a,8));return b};IXc=function(a){var b={};null!=a.hs()&&(b.pinned=a.hs());return b};
JXc=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,_.bSc,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};
KXc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.qHc[a.getState()])&&(b.state=a);return b};LXc={Pob:0,jpb:1,Stb:3,dBb:5,nOa:6};_.gR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.gR,_.P);_.g=_.gR.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.Jxa=function(){return _.z(this,5)};
_.g.setSize=function(a){return _.x(this,5,a)};_.g.RUa=function(){return _.z(this,6)};_.MXc=function(a,b){return _.x(a,6,b)};_.gR.prototype.Tf=function(){return _.z(this,8)};_.gR.prototype.zl=function(a){return _.x(this,8,a)};_.gR.prototype.V=function(){return _.E(this,9)};_.NXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.NXc,_.P);_.NXc.prototype.V=function(){return _.z(this,1)};var OXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(OXc,_.P);OXc.prototype.V=function(){return _.E(this,1)};
OXc.prototype.W=function(){return _.z(this,2)};_.hR=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.hR,_.P);_.g=_.hR.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.xha=function(){return _.z(this,3)};_.g.Xs=function(){return _.z(this,4)};_.g.pZ=function(){return _.C(this,OXc,6)};_.g.JZa=function(){return _.C(this,_.NXc,7)};_.g.Jza=function(){return _.z(this,8)};
_.g.wha=function(){return _.E(this,9)};var iR=function(a,b){_.gi.call(this,"Ib");this.error=a;this.mE=b};_.I(iR,_.gi);var PXc=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(PXc,_.aFc);PXc.prototype.reset=function(){this.V.reset();this.V.update(this.W)};
PXc.prototype.update=function(a,b){this.V.update(a,b)};PXc.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 QXc=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(QXc,_.aFc);
QXc.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 RXc=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};
QXc.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;)RXc(this,a,d),d+=this.H;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.H){RXc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.H){RXc(this,e);f=0;break}}this.W=f;this.ha+=b}};
QXc.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;RXc(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 jR=function(a){_.Q(this,a,0,-1,null,null)};_.L(jR,_.P);jR.prototype.getId=function(){return _.z(this,1)};jR.prototype.kc=function(a){return _.x(this,1,a)};jR.prototype.rD=function(){return _.z(this,3)};
jR.prototype.ye=function(){return _.z(this,4)};var SXc=[2,4],kR=function(a){_.Q(this,a,0,-1,SXc,null)};_.L(kR,_.P);kR.prototype.Gb=function(){return _.z(this,1)};kR.prototype.Ec=function(a){return _.x(this,1,a)};kR.prototype.Zj=function(){return _.z(this,3)};var TXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(TXc,_.P);var UXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(UXc,_.P);UXc.prototype.Gb=function(){return _.z(this,1)};UXc.prototype.Ec=function(a){return _.x(this,1,a)};
var VXc=[4,9],WXc=function(a){_.Q(this,a,0,-1,VXc,null)};_.L(WXc,_.P);_.g=WXc.prototype;_.g.Gb=function(){return _.z(this,1)};_.g.Ec=function(a){return _.x(this,1,a)};_.g.bAa=function(){return _.z(this,2)};_.g.Mxa=function(){return _.z(this,3)};_.g.j_a=function(){return _.Rj(this,_.vN,4)};var XXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(XXc,_.P);XXc.prototype.qr=function(){return _.C(this,xSc,1)};XXc.prototype.Tm=function(){return _.z(this,2)};var lR=function(a){_.Q(this,a,0,-1,null,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 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.aZ=function(){return _.C(this,_.wk,2)};mR.prototype.Zj=function(){return _.z(this,3)};var YXc=function(a){_.Q(this,a,0,-1,null,null)};_.L(YXc,_.P);_.g=YXc.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.Nxa=function(){return _.C(this,_.so,3)};_.g.getKey=function(){return _.C(this,_.Ra,4)};var ZXc={SAb:0,Yvb:1,awb:2,OTHER:3,Zvb:4},PPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(PPc,_.P);PPc.prototype.getUrl=function(){return _.z(this,1)};var dQ=function(a){_.Q(this,a,0,-1,null,null)};_.L(dQ,_.P);var OPc=function(a,b){return _.x(a,1,b)};
dQ.prototype.getName=function(){return _.z(this,2)};dQ.prototype.zd=function(a){return _.x(this,2,a)};dQ.prototype.getEmail=function(){return _.z(this,3)};dQ.prototype.zB=function(){return null!=_.z(this,3)};var $Xc=[1],aYc=function(a){_.Q(this,a,0,-1,$Xc,null)};_.L(aYc,_.P);aYc.prototype.Uo=function(){return _.Rj(this,dQ,1)};var bYc=function(a,b){return _.Tj(a,1,b)},cYc=[2],nR=function(a){_.Q(this,a,0,-1,cYc,null)};_.L(nR,_.P);nR.prototype.Gb=function(){return _.z(this,1)};
nR.prototype.Ec=function(a){return _.x(this,1,a)};nR.prototype.$i=function(){return _.Rj(this,_.lC,2)};var dYc=function(a,b){return _.Tj(a,2,b)};nR.prototype.Zj=function(){return _.z(this,3)};var eYc=[[2,4,6,10],[3,5,7,8,9]],fYc=[1],gYc=function(a){_.Q(this,a,0,-1,null,eYc)};_.L(gYc,_.P);var hYc=function(a){_.Q(this,a,0,-1,fYc,null)};_.L(hYc,_.P);gYc.prototype.getKey=function(){return _.z(this,1)};var iYc=[2],oR=function(a){_.Q(this,a,0,-1,iYc,null)};_.L(oR,_.P);
oR.prototype.Gb=function(){return _.z(this,1)};oR.prototype.Ec=function(a){return _.x(this,1,a)};oR.prototype.V=function(){return _.Rj(this,vQ,2)};var jYc=function(a,b){return _.Tj(a,2,b)};oR.prototype.Zj=function(){return _.z(this,3)};var pR=function(a){_.Q(this,a,0,-1,null,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 _.C(this,vQ,2)};pR.prototype.Zj=function(){return _.z(this,3)};
var kYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(kYc,_.P);kYc.prototype.cG=function(){return _.z(this,2)};_.lYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.lYc,_.P);_.g=_.lYc.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 mYc=[1],nYc=function(a){_.Q(this,a,0,-1,mYc,null)};
_.L(nYc,_.P);_.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.zh=function(){return _.C(this,_.zC,2)};_.oYc=function(a,b){return _.R(a,2,b)};_.qR.prototype.Zj=function(){return _.z(this,3)};var pYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(pYc,_.P);var qYc=function(a,b){return _.x(a,1,b)},rYc=[1],sYc=function(a){_.Q(this,a,0,-1,rYc,null)};_.L(sYc,_.P);
tYc=function(a,b){return _.x(a,1,b||[])};_.WPc=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.WPc,_.P);_.g=_.WPc.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 uYc=[1],vYc=function(a){_.Q(this,a,0,-1,uYc,null)};_.L(vYc,_.P);
var wYc=[2],rR=function(a){_.Q(this,a,0,-1,wYc,null)};_.L(rR,_.P);rR.prototype.Gb=function(){return _.z(this,1)};rR.prototype.Ec=function(a){return _.x(this,1,a)};rR.prototype.Zj=function(){return _.z(this,3)};var xYc=function(a){_.Q(this,a,0,-1,null,null)};_.L(xYc,_.P);var yYc=[1],zYc=function(a){_.Q(this,a,0,-1,yYc,null)};_.L(zYc,_.P);zYc.prototype.V=function(){return _.z(this,2)};var AYc=function(a,b){_.x(a,2,b)},BYc=function(a,b){this.V=a|0;this.H=b|0};
BYc.prototype.equals=function(a){return this===a?!0:a instanceof BYc?this.V===a.V&&this.H===a.H:!1};BYc.prototype.yc=function(){return 31*this.V+17*this.H|0};
var CYc=function(a,b){return new BYc(a,b)},DYc=function(a,b){b=~b;a?a=~a+1:b+=1;return CYc(a,b)},EYc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?DYc:CYc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},FYc=function(){this.H=this.ha=this.V=this.W=null},GYc=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;iQ(e,c);iQ(e,d)}a.V&&(c=a.V.V>>>0,d=a.V.H>>>0,_.xj(b,2,1),e=b.H,iQ(e,c),iQ(e,d));c=a.ha;null!=c&&(_.xj(b,3,5),iQ(b.H,c));a.H&&(c=a.H.V>>>
0,a=a.H.H>>>0,_.xj(b,4,1),d=b.H,iQ(d,c),iQ(d,a));return _.yj(b)},HYc=function(a,b,c){this.id=a;this.V=b;this.H=c},IYc=function(a,b){return new HYc((a?a:b).getId(),a,b)},JYc=function(a,b){return new HYc(a.getId(),a,b)},sR=function(a){return new HYc(a.getId(),null,a)},KYc={isInTrial:1,hasPaidContract:2,noSubscription:3,trialExpired:4},LYc={LIMITED:1,UNLIMITED:2},FPc={DRIVE:1,FAMILY:4,GMAIL:2,PHOTOS:3},MYc={softLimitExceeded:2,hardLimitExceeded:3,underLimit:1},HPc={kwb:0,esb:1},NYc=function(a,b){this.V=
a;this.H=b},PYc=function(a,b){_.EP(["drive#about"],b);var c=new _.qR,d=new _.zC;if(b.user){var e=_.FP(a.V,b.user);_.R(d,1,e)}a=OYc(a,b);a=URc(TRc(_.SRc(new _.kob,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.WRc(a,_.PRc(_.ORc((new _.yC).Ec(KYc[e.status]),Number(e.trialMillisRemaining)),_.GP(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.XRc(a,_.RRc(_.QRc(new _.job,e.canAdministerTeam),e.canManageInvites)));b.importFormats&&
VRc(a,b.importFormats.map(function(f){var h=new _.NRc;h=_.x(h,1,f.source);return _.x(h,2,f.targets||[])}));_.R(d,3,a);_.oYc(c,d);b=b.largestChangeId;null!=b&&_.x(c,4,Number(b));return c},OYc=function(a,b){var c=new _.dy;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=_.HRc(_.GRc(c,GPc(b.quotaBytesByService||[])),LYc[b.quotaType]);if(_.A(a.H,5,!1)){a=_.JRc(_.IRc(c,Number(b.quotaBytesTotal)),
"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var d=Number(b.quotaBytesUsedAggregate)-IPc(b);a=_.x(a,9,d);a=_.KRc(a,Number(b.quotaBytesUsedAggregate));a=_.x(a,11,Number(b.quotaBytesUsedInTrash));a=_.x(a,13,_.hPc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));_.x(a,15,MYc[b.quotaStatus]||0);b.graceQuotaInfo&&b.graceQuotaInfo.DCb&&(a=new _.hob,d=_.r4a(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},QYc={TYPE_UNSPECIFIED:0,MOBILE:1,SYNC_CLIENT:2,APP:3},RYc={TYPE_UNSPECIFIED:0,MY_DRIVE_ROOT:1,SHARED_DRIVE_ROOT:2,STANDARD_FOLDER:3},SYc={TYPE_UNSPECIFIED:0,USER_DELETION:1,TRASH_AUTO_PURGE:2},TYc={TYPE_UNSPECIFIED:0,TRASH:1,PERMANENT_DELETE:2},UYc={TYPE_UNSPECIFIED:0,UNTRASH:1,REVIVE:2},VYc={ROLE_UNSPECIFIED:0,OWNER:1,ORGANIZER:2,FILE_ORGANIZER:3,EDITOR:4,COMMENTER:5,VIEWER:6,PUBLISHED_VIEWER:7},WYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,
RESOLVED:5,REOPENED:6},XYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,RESOLVED:5,REOPENED:6,REASSIGNED:7},YYc={SUBTYPE_UNSPECIFIED:0,ADDED:1,DELETED:2,REPLY_ADDED:3,REPLY_DELETED:4,ACCEPTED:7,REJECTED:8,ACCEPT_DELETED:9,REJECT_DELETED:10},ZYc={TYPE_UNSPECIFIED:0,FLAGGED:1,CLEARED:2},$Yc={TYPE_UNSPECIFIED:0,LOADED_FOR_VIEW:1,VIEWED_MORE_CONTENT:2,OPEN_WITH_APP_INITIATED:3},aZc={DOMAIN_VISIBILITY_UNKNOWN:0,DOMAIN_VISIBILITY_CONSUMER:1,DOMAIN_VISIBILITY_SAME_DOMAIN:2,DOMAIN_VISIBILITY_ALL_DOMAINS:3,
DOMAIN_VISIBILITY_RESTRICTED:4},bZc={NAMED_PARTY_UNKNOWN:0,NAMED_PARTY_UNNAMED:1,NAMED_PARTY_NAMED:2},cZc={TYPE_UNSPECIFIED:0,DOWNLOADED:1,DOWNLOAD_INITIATED:2,PRINT_INITIATED:3},dZc={UNSPECIFIED_REFERENCE_TYPE:0,LINK:1,DISCUSS:2},eZc={FEATURE_UNSPECIFIED:0,SHARING_OUTSIDE_DOMAIN:1,DIRECT_SHARING:2,ITEM_DUPLICATION:3,DRIVE_FILE_STREAM:4},fZc={RESTRICTION_UNSPECIFIED:0,UNRESTRICTED:1,FULLY_RESTRICTED:2},gZc={STATUS_UNSPECIFIED:0,IN_PROGRESS:1,COMPLETED:2,CANCELLED:3},hZc={DECISION_UNSPECIFIED:0,APPROVED:1,
DECLINED:2},iZc={TYPE_UNSPECIFIED:0,CATEGORY_ADDED:1,CATEGORY_REMOVED:2,CATEGORY_ATTRIBUTE_VALUE_CHANGED:3},jZc={TYPE_UNSPECIFIED:0,LABEL_ADDED:1,LABEL_REMOVED:2,LABEL_FIELD_VALUE_CHANGED:3},kZc={PUBLISH_MODE_UNSPECIFIED:0,NONE:1,FIXED:2,AUTO:3},lZc={REASON_UNSPECIFIED:0,ORPHAN_REPARENTED:1},tR=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.q4a((new _.by).setSeconds(a),b)},mZc=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 "startTime":c=tR(d);_.R(b,1,c);break;case "endTime":b.fC(tR(d))}}return b},nZc=function(a){var b=new aVc;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},oZc=function(a){var b=new _.fVc;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,RYc[d])}}return b},pZc=function(a){var b=new _.gVc;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},qZc=function(a){var b=new _.JQ;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 IQ;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 eVc;_.Sj(e,8,hVc[0],f);break;case "driveFolder":e=oZc(f);_.Sj(c,9,hVc[0],e);break;case "driveShortcut":e=pZc(f),_.Sj(c,10,hVc[0],e)}}_.Sj(b,1,iVc[0],c);break;case "drive":c=nZc(d),_.Sj(b,3,iVc[0],c)}}return b},rZc=function(a){return a.map(function(b){return qZc(b)})},sZc=function(a){var b=new _.$Uc;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},uR=function(a){var b=new _.EUc;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 _.EQ;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,_.CUc[0],c);break;case "unknownUser":c=new FUc;_.Sj(b,4,_.CUc[0],c);break;case "deletedUser":c=new _.DUc,_.Sj(b,3,_.CUc[0],c)}}return b},tZc=function(a){return a.map(function(b){return uR(b)})},uZc=function(a){var b=new _.PVc;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;switch(c){case "user":c=
uR(d);_.Sj(b,1,_.PQ[0],c);break;case "anonymous":c=new MVc;_.Sj(b,2,_.PQ[0],c);break;case "impersonation":c=new _.NVc;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=uR(f),_.R(c,1,e)}}_.Sj(b,3,_.PQ[0],c);break;case "system":c=new _.OVc;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,SYc[f])}_.Sj(b,4,_.PQ[0],
c);break;case "administrator":c=new _.LVc,_.Sj(b,5,_.PQ[0],c)}}return b},vZc=function(a){return a.map(function(b){return uZc(b)})},wZc=function(a){var b=new HQ;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 cVc;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=sZc(f);_.R(c,3,e);break;case "user":e=uR(f);_.Sj(c,1,bVc[0],e);break;case "drive":e=nZc(f),_.Sj(c,4,bVc[0],e)}}_.R(b,7,c);break;case "driveFile":c=new eVc;_.Sj(b,8,dVc[0],c);break;case "driveFolder":c=oZc(d);_.Sj(b,9,dVc[0],c);break;case "driveShortcut":c=pZc(d),_.Sj(b,10,dVc[0],c)}}return b},xZc=function(a){var b=new _.RQ;a=_.u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.u(c.value);c=d.next().value;d=d.next().value;
switch(c){case "driveItem":c=wZc(d);_.Sj(b,1,_.QQ[0],c);break;case "drive":c=new _.RVc;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=wZc(f),_.R(c,3,e)}}_.Sj(b,5,_.QQ[0],c);break;case "fileComment":c=new _.SVc;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(wZc(f))}_.Sj(b,3,_.QQ[0],c)}}return b},yZc=function(a){return a.map(function(b){return xZc(b)})},zZc=function(a){var b=new _.wVc;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,lZc[d])}}return b},AZc=function(a){return a.map(function(b){var c=new _.MQ;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,VYc[e]);break;case "user":d=uR(e);_.Sj(c,2,_.LQ[0],d);break;case "group":d=new _.KQ;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,_.LQ[0],d);break;case "domain":d=sZc(e);_.Sj(c,4,_.LQ[0],d);break;case "anyone":d=new yVc;_.Sj(c,5,_.LQ[0],d);
break;case "allowDiscovery":_.Mj(c,6,e)}}return c})},BZc=function(a){var b=new xUc;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},CZc=function(a){return a.map(function(b){var c=new _.GVc;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,eZc[e]);break;case "newRestriction":_.Oj(c,
2,fZc[e])}}return c})},DZc=function(a){return a.map(function(b){var c=new OUc;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=uR(e);_.R(c,3,d);break;case "addedReviewer":d=uR(e),_.R(c,4,d)}}return c})},EZc=function(a){return a.map(function(b){return iZc[b]})},FZc=function(a){return a.map(function(b){var c=new SUc;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=EZc(e),_.x(c,2,d||[])}}return c})},GZc=function(a){return a.map(function(b){return jZc[b]})},HZc=function(a){return a.map(function(b){var c=new AUc;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=GZc(e),_.x(c,2,d||[])}}return c})},IZc=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 "publishMode":_.Oj(b,1,kZc[d]);break;case "signinRequired":_.Mj(b,2,d);break;case "publishedTime":c=tR(d),_.R(b,3,c)}}return b},JZc=function(a){for(var b=new _.OQ,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 _.nVc,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 kVc;_.Sj(y,1,_.jVc[0],B);break;case "upload":var F=k,M=new lVc;_.Sj(F,2,_.jVc[0],M);break;case "copy":for(var J=v,X=new _.mVc,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=qZc(Ba);_.R(X,1,ea)}}_.Sj(k,3,_.jVc[0],X)}}_.Sj(b,1,_.NQ[0],k);break;case "edit":var Va=new sVc;_.Sj(b,2,_.NQ[0],Va);break;case "move":for(var gb=new _.xVc,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=rZc(ie);_.Tj(gb,1,ig);break;case "removedParents":var De=rZc(ie);_.Tj(gb,2,De);break;case "fromOwnershipTransfer":_.Mj(gb,3,ie);break;case "reparents":var Nf=ie.map(zZc);_.Tj(gb,4,Nf)}}_.Sj(b,3,_.NQ[0],gb);break;case "rename":for(var Qg=new _.DVc,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,_.NQ[0],Qg);break;case "delete":for(var Eb=new _.qVc,li=_.u(Object.entries(h)),Vk=li.next();!Vk.done;Vk=li.next()){var mi=_.u(Vk.value),kq=mi.next().value,nk=mi.next().value;switch(kq){case "type":_.Oj(Eb,1,TYc[nk])}}_.Sj(b,5,_.NQ[0],Eb);break;case "restore":for(var Pf=new _.EVc,Bh=_.u(Object.entries(h)),xm=Bh.next();!xm.done;xm=Bh.next()){var lq=_.u(xm.value),zl=lq.next().value,Wn=lq.next().value;switch(zl){case "type":_.Oj(Pf,
1,UYc[Wn])}}_.Sj(b,6,_.NQ[0],Pf);break;case "permissionChange":for(var Al=new _.AVc,Xn=_.u(Object.entries(h)),mq=Xn.next();!mq.done;mq=Xn.next()){var ok=_.u(mq.value),nq=ok.next().value,Bl=ok.next().value;switch(nq){case "addedPermissions":var gp=AZc(Bl);_.Tj(Al,1,gp);break;case "removedPermissions":var hp=AZc(Bl);_.Tj(Al,2,hp);break;case "resharedPermissions":var Yn=AZc(Bl);_.Tj(Al,3,Yn);break;case "otherActivePermissions":var gn=AZc(Bl);_.Tj(Al,4,gn)}}_.Sj(b,7,_.NQ[0],Al);break;case "comment":for(var Hg=
new _.ZUc,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 Jv=Yi,Br=new _.WUc,Ns=_.u(Object.entries(Jv)),Os=Ns.next();!Os.done;Os=Ns.next()){var Ps=_.u(Os.value),Zn=Ps.next().value,ju=Ps.next().value;switch(Zn){case "subtype":_.Oj(Br,1,WYc[ju])}}_.Sj(Hg,1,_.VUc[0],Br);break;case "assignment":for(var jp=Yi,dh=new _.XUc,zj=_.u(Object.entries(jp)),hn=zj.next();!hn.done;hn=zj.next()){var Ch=_.u(hn.value),
kp=Ch.next().value,ku=Ch.next().value;switch(kp){case "subtype":_.Oj(dh,1,XYc[ku]);break;case "assignedUser":var Qs=uR(ku);_.R(dh,7,Qs)}}_.Sj(Hg,2,_.VUc[0],dh);break;case "suggestion":for(var Cr=Yi,oq=new _.YUc,pq=_.u(Object.entries(Cr)),Cl=pq.next();!Cl.done;Cl=pq.next()){var Rs=_.u(Cl.value),lu=Rs.next().value,lp=Rs.next().value;switch(lu){case "subtype":_.Oj(oq,1,YYc[lp])}}_.Sj(Hg,3,_.VUc[0],oq);break;case "mentionedUsers":var qq=tZc(Yi);_.Tj(Hg,7,qq)}}_.Sj(b,8,_.NQ[0],Hg);break;case "dlpChange":for(var rq=
new _.pVc,Ss=_.u(Object.entries(h)),mu=Ss.next();!mu.done;mu=Ss.next()){var sq=_.u(mu.value),Kv=sq.next().value,nu=sq.next().value;switch(Kv){case "type":_.Oj(rq,1,ZYc[nu])}}_.Sj(b,9,_.NQ[0],rq);break;case "view":for(var $n=new KVc,ou=_.u(Object.entries(h)),Dr=ou.next();!Dr.done;Dr=ou.next()){var pu=_.u(Dr.value),Ts=pu.next().value,jn=pu.next().value;switch(Ts){case "type":_.Oj($n,1,$Yc[jn]);break;case "viewHistoryVisibility":for(var vx=jn,Er=new JVc,re=_.u(Object.entries(vx)),wx=re.next();!wx.done;wx=
re.next()){var Az=_.u(wx.value),eG=Az.next().value,fG=Az.next().value;switch(eG){case "domainPolicyVisibilityState":_.Oj(Er,1,aZc[fG]);break;case "namedPartyState":_.Oj(Er,2,bZc[fG])}}_.R($n,2,Er)}}_.Sj(b,10,_.NQ[0],$n);break;case "download":for(var kn=new rVc,mC=_.u(Object.entries(h)),tq=mC.next();!tq.done;tq=mC.next()){var mp=_.u(tq.value),bP=mp.next().value,gG=mp.next().value;switch(bP){case "type":_.Oj(kn,1,cZc[gG])}}_.Sj(b,11,_.NQ[0],kn);break;case "reference":for(var nC=new _.DQ,pW=_.u(Object.entries(h)),
Bz=pW.next();!Bz.done;Bz=pW.next()){var cP=_.u(Bz.value),RHa=cP.next().value,e7=cP.next().value;switch(RHa){case "type":_.Oj(nC,1,dZc[e7]);break;case "context":nC.Gk(BZc(e7))}}_.Sj(b,12,_.NQ[0],nC);break;case "settingsChange":for(var RX=new _.HVc,lka=_.u(Object.entries(h)),SX=lka.next();!SX.done;SX=lka.next()){var Jcb=_.u(SX.value),v0b=Jcb.next().value,bla=Jcb.next().value;switch(v0b){case "restrictionChanges":var w0b=CZc(bla);_.Tj(RX,1,w0b)}}_.Sj(b,13,_.NQ[0],RX);break;case "approvalChange":for(var iw=
new _.KUc,Kcb=_.u(Object.entries(h)),MIa=Kcb.next();!MIa.done;MIa=Kcb.next()){var Lcb=_.u(MIa.value),x0b=Lcb.next().value,RG=Lcb.next().value;switch(x0b){case "approvalName":_.Nj(iw,2,RG);break;case "approvalEventNames":_.x(iw,3,RG||[]);break;case "initiator":var y0b=uR(RG);_.R(iw,4,y0b);break;case "reviewers":var z0b=tZc(RG);_.Tj(iw,5,z0b);break;case "status":iw.Ec(gZc[RG]);break;case "dueTime":var A0b=tR(RG);_.R(iw,7,A0b);break;case "approvalRequested":var NIa=iw,OIa=new HUc;_.Sj(NIa,8,_.FQ[0],
OIa);break;case "approvalCancelled":var B0b=iw,Mcb=new IUc;_.Sj(B0b,9,_.FQ[0],Mcb);break;case "reviewerResponded":for(var C0b=RG,Ncb=new _.JUc,Ocb=_.u(Object.entries(C0b)),K7=Ocb.next();!K7.done;K7=Ocb.next()){var cla=_.u(K7.value),D0b=cla.next().value,dla=cla.next().value;switch(D0b){case "reviewerDecision":_.Oj(Ncb,1,hZc[dla])}}_.Sj(iw,10,_.FQ[0],Ncb);break;case "commentAdded":var E0b=iw,Pcb=new LUc;_.Sj(E0b,11,_.FQ[0],Pcb);break;case "reviewersChanged":for(var F0b=RG,Qcb=new NUc,Rcb=_.u(Object.entries(F0b)),
ela=Rcb.next();!ela.done;ela=Rcb.next()){var Scb=_.u(ela.value),G0b=Scb.next().value,H0b=Scb.next().value;switch(G0b){case "reviewerChanges":var I0b=DZc(H0b);_.Tj(Qcb,1,I0b)}}_.Sj(iw,12,_.FQ[0],Qcb);break;case "dueTimeChanged":for(var PIa=RG,QIa=new PUc,Tcb=_.u(Object.entries(PIa)),RIa=Tcb.next();!RIa.done;RIa=Tcb.next()){var Ucb=_.u(RIa.value),J0b=Ucb.next().value,K0b=Ucb.next().value;switch(J0b){case "oldDueTime":var L0b=tR(K0b);_.R(QIa,1,L0b)}}_.Sj(iw,13,_.FQ[0],QIa)}}_.Sj(b,18,_.NQ[0],iw);break;
case "lock":var LBf=new uVc;_.Sj(b,15,_.NQ[0],LBf);break;case "unlock":var MBf=new IVc;_.Sj(b,16,_.NQ[0],MBf);break;case "categoryMetadataChange":for(var Gtd=new TUc,Htd=_.u(Object.entries(h)),M0b=Htd.next();!M0b.done;M0b=Htd.next()){var Itd=_.u(M0b.value),NBf=Itd.next().value,OBf=Itd.next().value;switch(NBf){case "changes":var PBf=FZc(OBf);_.Tj(Gtd,1,PBf)}}_.Sj(b,17,_.NQ[0],Gtd);break;case "appliedLabelChange":for(var Jtd=new _.BUc,Ktd=_.u(Object.entries(h)),N0b=Ktd.next();!N0b.done;N0b=Ktd.next()){var Ltd=
_.u(N0b.value),QBf=Ltd.next().value,RBf=Ltd.next().value;switch(QBf){case "changes":var SBf=HZc(RBf);_.Tj(Jtd,1,SBf)}}_.Sj(b,19,_.NQ[0],Jtd);break;case "publishChange":for(var O0b=new BVc,Mtd=_.u(Object.entries(h)),P0b=Mtd.next();!P0b.done;P0b=Mtd.next()){var Ntd=_.u(P0b.value),TBf=Ntd.next().value,Otd=Ntd.next().value;switch(TBf){case "oldPublishState":var UBf=IZc(Otd);_.R(O0b,1,UBf);break;case "newPublishState":var VBf=IZc(Otd);_.R(O0b,2,VBf)}}_.Sj(b,20,_.NQ[0],O0b);break;case "linkShareMetadataChange":for(var Ptd=
new tVc,Qtd=_.u(Object.entries(h)),Q0b=Qtd.next();!Q0b.done;Q0b=Qtd.next()){var Rtd=_.u(Q0b.value),WBf=Rtd.next().value,XBf=Rtd.next().value;switch(WBf){case "securityUpdateEnabled":_.Mj(Ptd,1,XBf)}}_.Sj(b,21,_.NQ[0],Ptd)}}return b},KZc=function(a){return a.map(function(b){var c=new _.VVc;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=JZc(e);_.R(c,1,d);break;case "source":d=new QVc;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,QYc[h]);break;case "appId":_.Nj(d,1,h)}}_.R(c,2,d);break;case "actor":d=uZc(e);_.R(c,3,d);break;case "target":d=xZc(e);_.R(c,4,d);break;case "timestamp":d=tR(e);_.Sj(c,5,UVc[0],d);break;case "timeRange":d=mZc(e),_.Sj(c,6,UVc[0],d)}}return c})},LZc=function(a){return a.map(function(b){var c=new _.TQ;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=JZc(e);_.R(c,2,d);break;case "actors":d=vZc(e);_.Tj(c,3,d);break;case "actions":d=KZc(e);_.Tj(c,4,d);break;case "targets":d=yZc(e);_.Tj(c,5,d);break;case "timestamp":d=tR(e);_.Sj(c,6,XVc[0],d);break;case "timeRange":d=mZc(e),_.Sj(c,7,XVc[0],d)}}return c})},MZc={WEB_ONLY:1,WEB_AND_CHROME_EXTENSION:2,CHROME_EXTENSION_ONLY:3},NZc={application:1,document:2,documentShared:3},OZc=function(a){var b=new _.hUc;b=_.x(b,3,a.iconUrl).setSize(a.size);
a.category&&_.x(b,1,NZc[a.category]);return b},PZc=function(a){for(var b=[],c=0;c<a.length;c++){var d=new _.iUc;d=_.x(d,1,a[c].type);d=_.x(d,2,Number(a[c].score));b.push(d)}return b},QZc=function(a){_.EP(["drive#app"],a);var b=(new _.AQ).kc(a.id);b=_.x(b,3,a.useByDefault).zd(a.name);b=_.x(b,7,a.openUrlTemplate);b=nUc(mUc(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,MZc[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(OZc(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 _.kUc;d=c.absoluteScore;null!=d&&_.x(a,1,Number(d));d=PZc(c.mimeTypeScores||[]);_.Tj(a,2,d);c=PZc(c.fileExtensionScores||[]);_.Tj(a,3,c);_.R(b,29,
a);return b},RZc=function(a,b){var c=new lR;b=_.x(c,4,b);a&&"drive#app"==a.kind&&(a=QZc(a),_.R(b,2,a));return b},SZc={BACKUP_SOURCE_UNSPECIFIED:0,BACKUP_SOURCE_WHATSAPP:1,BACKUP_SOURCE_ANDROID:2},TZc=function(a){var b=new rR;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.hR).kc(c.id).setTitle(c.title);d=_.x(d,3,_.GP(c.updateTime));d=_.x(d,4,SZc[c.backupSource]);d=_.x(d,5,c.iconUri);d=_.x(d,8,_.GP(c.expiryTime));d=_.x(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:
!1);if(1==d.Xs()){var e=new OXc;e=_.x(e,1,c.whatsappOngoingBackupEnabled);c=_.x(e,2,c.whatsappPhoneNumber);_.R(d,6,c)}else 2==d.Xs()&&(e=new _.NXc,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},UZc=function(a){var b=new vYc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.gR).kc(c.id);d=_.x(d,1,fSc[c.type]).setTitle(c.title);d=_.x(d,4,c.iconUri);d=_.MXc(d.setSize(c.size),
_.GP(c.updateTime));d=_.x(d,7,c.hasCustomBehavior).zl(c.description);return _.x(d,9,c.ongoingSyncEnabled)});_.Tj(b,1,a);return b},VZc=function(a,b){this.H=a;this.V=b},WZc={read:2,write:3,comment:4},XZc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=_.OM((new _.Hk).kc(d).setTitle(c.title),c.mimeType);c.userCapabilities&&d.xn(_.QMc(c.userCapabilities));_.CP(b).includes(19)&&_.QJc(d,!0);_.tNc(a,d,_.CP(b));_.RJc(d,4);return d},YZc=function(a){a=a.predictionSessionId&&a.predictionSessionId.eventId;if(!a)return null;
a=_.lIc(_.kIc(_.jIc(new _.opa,a.timeUsec),a.serverIp),a.processId);return _.emb(a)},ZZc=function(a){return _.hJc((new _.wk).kc(a.id).zd(a.displayName),a.emailAddress).Fs(a.photoUrl)},$Zc=function(a){if(!a)return null;a=a.textSegment||[];return jQc(new _.vk,a.map(function(b){var c=(new _.oma).th(b.text),d=b.link;if(d){var e=new _.pma;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)}))},a_c=function(a){var b=nQc(new _.xk,$Zc(a.displayText)),c=a.primaryPerson,d=a.allPeople;
c?(c=ZZc(c),_.Sj(b,3,_.rma[0],c),oQc(b,[c])):d?(c=(d.person||[]).map(function(e){return ZZc(e)}),d=mQc(c),_.Sj(b,4,_.rma[0],d),oQc(b,c)):(c=(a.person||[]).map(function(e){return ZZc(e)}),c.length&&(d=mQc(c),_.Sj(b,4,_.rma[0],d),oQc(b,c)));_.x(b,5,_.GP(a.eventTime));pQc(b,$Zc(a.justificationDescription));return b},vR=function(a){return(a=a.justification)?a_c(a):null},b_c=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=eRc(new _.yma,vR(a));dRc(b,(a.subAction||[]).map(function(c){var d=
new GQc;c.openDocument&&(c=new jQ,_.Sj(d,1,FQc[0],c));return d}));return b},c_c=function(a){a=a.popularDocumentAction;if(!a)return null;var b=xRc(new _.Lma,vR(a));wRc(b,(a.subAction||[]).map(function(c){var d=new YQc;c.openDocument&&(c=new jQ,_.Sj(d,1,XQc[0],c));return d}));return b},d_c=function(a){a=a.documentTopicAction;if(!a)return null;var b=mRc(new _.Fma,vR(a));lRc(b,(a.subAction||[]).map(function(c){var d=new KQc;c.openDocument&&(c=new jQ,_.Sj(d,1,JQc[0],c));return d}));return b},e_c=function(a){a=
a.documentWorkspaceAction;if(!a)return null;var b=rRc(qRc(new OQc,a.workspaceId),vR(a));pRc(b,(a.subAction||[]).map(function(c){var d=new QQc;c.addToWorkspace&&(c=new rQc,_.Sj(d,1,PQc[0],c));return d}));return b},f_c=function(a){a=a.calendarEventAction;if(!a)return null;var b=cRc(bRc(aRc(new _.wma,a.eventId),vR(a)),a.guestCount);$Qc(b,(a.subAction||[]).map(function(c){var d=new EQc;if(c.viewCalendarEvent){var e=new BQc;_.Sj(d,1,DQc[0],e)}c.shareWithAttendees&&(e=new zQc,_.Sj(d,2,DQc[0],e));c.present&&
(e=new tQc,_.Sj(d,3,DQc[0],e));c.openDocument&&(c=new jQ,_.Sj(d,4,DQc[0],c));return d}));return b},g_c=function(a){return(a.justification||[]).map(function(b){return a_c(b)})},h_c=function(a){a=a.formResponseAction;if(!a)return null;var b=vRc(new _.Jma,g_c(a));uRc(b,(a.subAction||[]).map(function(c){var d=new WQc;c.openDocument?(c=new jQ,_.Sj(d,1,VQc[0],c)):c.viewResponses&&(c=new CQc,_.Sj(d,2,VQc[0],c));return d}));return b},i_c=function(a){a=a.documentDocosAction;if(!a)return null;var b=gRc(new _.Ama,
vR(a));fRc(b,(a.subAction||[]).map(function(c){var d=new _.Bma;c.reply?(c=new _.uma,_.Sj(d,1,_.zk[0],c)):c.resolve?(c=new wQc,_.Sj(d,2,_.zk[0],c)):c.reassign?(c=new uQc,_.Sj(d,3,_.zk[0],c)):c.acceptSuggestion?(c=new qQc,_.Sj(d,4,_.zk[0],c)):c.rejectSuggestion?(c=new vQc,_.Sj(d,5,_.zk[0],c)):c.openThread&&(c=new _.tma,_.Sj(d,6,_.zk[0],c));return d}));_.x(b,2,a.discussionId);_.x(b,3,a.postId);hRc(b,$Zc(a.anchorText));return b},j_c=function(a){a=a.documentShareAction;if(!a)return null;var b=kRc(new _.Dma,
vR(a));jRc(b,(a.subAction||[]).map(function(c){var d=new IQc;c.suggestedShare?(c=new AQc,_.Sj(d,1,HQc[0],c)):c.responseToRequest&&(c=new xQc,_.Sj(d,2,HQc[0],c));return d}));iRc(b,(a.sharee||[]).map(function(c){return ZZc(c)}));_.x(b,3,WZc[a.shareeRole]);return b},k_c=function(a){a=a.documentViewAction;if(!a)return null;var b=oRc(new _.Hma,g_c(a));nRc(b,(a.subAction||[]).map(function(c){var d=new MQc;c.open?d.lg(new jQ):c.reviewEdits&&(c=new yQc,_.Sj(d,2,LQc[0],c));return d}));return b},l_c=function(a){a=
a.emailViewAction;if(!a)return null;var b=tRc(new SQc,vR(a));sRc(b,(a.subAction||[]).map(function(c){var d=new UQc;c.openEmail&&d.lg(new sQc);return d}));return b},m_c=function(a){var b=a.action;return b?b.map(function(c){var d=new _.sma,e=i_c(c);e&&_.Sj(d,2,_.yk[0],e);(e=k_c(c))&&ZQc(d,e);(e=j_c(c))&&_.Sj(d,4,_.yk[0],e);(e=l_c(c))&&_.Sj(d,5,_.yk[0],e);(e=f_c(c))&&_.Sj(d,6,_.yk[0],e);(e=e_c(c))&&_.Sj(d,7,_.yk[0],e);(e=d_c(c))&&_.Sj(d,8,_.yk[0],e);(e=c_c(c))&&_.Sj(d,9,_.yk[0],e);(e=b_c(c))&&_.Sj(d,
10,_.yk[0],e);(c=h_c(c))&&_.Sj(d,11,_.yk[0],c);return d}):(a=vR(a),a=oRc(new _.Hma,[a]),[ZQc(new _.sma,a)])},n_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},o_c=function(a){var b=a.sessionId;if(!b)return null;a=b.genoClientIds||[];a=FRc(new _.Hl,a.map(function(c){return n_c[c]||0}));
if(b=b.eventId)b=_.lIc(_.kIc(_.jIc(new _.opa,b.timeUsec),b.serverIp),b.processId),_.R(a,2,b);return a},p_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){e.driveItem&&(e=QOc(XZc(a,b,e),m_c(e)),d.push(e))});c=(new _.pC).Ew(d).II(YZc(c)).setSessionId(o_c(c));return _.MKc(new _.nP,c)},q_c=function(a,b,c){var d=[],e=[];(c.item||[]).forEach(function(f){if(f.person){var h=f.itemId,k=ZZc(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=XZc(a,b,l),d.push(q));l=ARc(zRc(yRc(new _.Nma,k.clone()),l.predictionReason),l.url);_.Uj(q,107,l,_.Nma,void 0)})}});return WSc((new _.QP).Ew(d),e).II(YZc(c)).setSessionId(o_c(c))},r_c=function(a,b,c){var d=[];(c.item||[]).forEach(function(e){if(e.driveItem){var f=new _.Qma;f=_.x(f,2,e.predictionReason);e=XZc(a,b,e);e=_.R(e,100,f);d.push(e)}});c=(new _.pC).Ew(d).II(YZc(c)).setSessionId(o_c(c)).JX(c.suggestionSessionId);return _.MKc(new _.nP,
c)},s_c=function(a){return _.fJc(1).kc(a.personName.split("/")[1])},t_c=function(a){var b=(new fTc).Tk(a.disabled);b=_.x(b,2,a.hidden);b=_.x(b,3,a.activatedInAllDrives);return _.x(b,4,!!a.required)},u_c=function(a){var b=new KTc;b=_.x(b,1,a.canSearch);b=_.x(b,2,a.canApply);b=_.x(b,4,a.canRemove);return _.x(b,3,a.canManageSharedDriveActivation)},v_c=function(a){var b=new gTc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canWrite)},w_c=function(a){a=void 0===a?{}:a;var b=new oTc;b=_.x(b,1,a.minSize);return _.x(b,
2,a.maxSize)},x_c=function(a){var b=new hTc;b=_.x(b,1,a.trueLabel);return _.x(b,2,a.falseLabel)},y_c=function(a){var b=new pTc;b=_.x(b,1,a.maxEntries);a=w_c(a.options);return _.R(b,2,a)},z_c=function(a){var b=new jTc;b=_.x(b,1,a.canSearch);return _.x(b,2,a.canSelect)},A_c=function(a){var b=new lTc;mTc(b,(a.choices||[]).map(function(c){var d=(new kTc).Hd(c.label).jc(c.value);c.capabilities&&d.xn(z_c(c.capabilities));c.displayHints&&(c=t_c(c.displayHints),_.R(d,4,c));return d}));return b},B_c=function(a){var b=
new nTc;b=_.x(b,1,a.maxEntries);a=A_c(a.options);return _.R(b,2,a)},C_c=function(a){var b=new rTc;b=_.x(b,1,a.showThousandsSeparator);b=_.x(b,2,a.minValue);return _.x(b,3,a.maxValue)},D_c=function(a){var b=new sTc;b=_.x(b,1,a.maxEntries);a=C_c(a.options);return _.R(b,2,a)},E_c=function(a){var b=new vTc;a=_.x(b,1,a.maxEntries);b=new uTc;return _.R(a,2,b)},F_c=function(a){var b=(new _.Wma).setYear(a.year).setMonth(a.month);return _.x(b,3,a.day)},G_c=function(a){var b=new wTc;b=_.x(b,4,a.dateFormat);
var c=F_c(a.minValue);b=_.R(b,2,c);a=F_c(a.maxValue);return _.R(b,3,a)},H_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},I_c=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},J_c=function(a,b){this.H=a;this.V=b},L_c=function(a,b,c){_.EP(["drive#categoryMetadataList"],c);var d=new yQ,e=Object.values(c.categoryMetadata||{});bUc(d,e.map(function(f){return K_c(a,
f,b.Hc())}));d.Ec(1);return new _.TP(d,CXc(c))},N_c=function(a,b){var c=new oR;jYc(c,(b.categories||[]).map(function(d){return M_c(a,d)}));c.Ec(1);return new uWc(c,CXc(b))},K_c=function(a,b,c){_.EP(["drive#categoryMetadata"],b);c=ITc((new uQ).zd(b.categoryName),c);b=Object.values(b.attributeValues||[]);HTc(c,b.map(function(d){return O_c(a,d)}).filter(function(d){return d}));return c},M_c=function(a,b){var c=MTc(LTc((new vQ).zd(b.name),b.categoryName),b.latestName).setTitle(b.title).zl(b.description);
NTc(c,(b.attributes||[]).map(function(d){var e=d.type;var f=(new xTc).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=t_c(d.attributeDisplayHints);_.R(f,5,h)}d.capabilities&&f.xn(v_c(d.capabilities));_.x(f,7,H_c[e]);d=d[I_c(e)+"Options"];return P_c(a,f,e,d)?f:null}).filter(function(d){return d}));b.createdBy&&OTc(c,s_c(b.createdBy));b.updatedBy&&PTc(c,s_c(b.updatedBy));b.publishedBy&&QTc(c,s_c(b.publishedBy));_.x(c,9,_.GP(b.createTime));
_.x(c,10,_.GP(b.updateTime));_.x(c,11,_.GP(b.publishTime));b.displayHints&&RTc(c,t_c(b.displayHints));b.capabilities&&c.xn(u_c(b.capabilities));return c},O_c=function(a,b){_.EP(["drive#categoryAttributeValue"],b);var c=(new sQ).kc(b.id);if(b.userScoped)b=Object.values(b.userScoped),FTc(c,b.map(function(d){_.EP(["drive#userScopedAttributeValue"],d);var e=new zTc,f=_.FP(a.H,d.scopedUser);e=_.R(e,1,f);return Q_c(a,e,d)?e:null}).filter(function(d){return d})),c.Dw(9);else if(!Q_c(a,c,b))return null;return c},
P_c=function(a,b,c,d){return R_c(a,function(){S_c(a)[c](b,d)},c,b)},Q_c=function(a,b,c){var d=c.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();b.Dw(H_c[d]);return R_c(a,function(){T_c(a)[d](b,c[c.valueType])},c.valueType)},R_c=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof tTc))return CSc(a.V,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},S_c=function(a){return{BOOLEAN:function(b,c){return b.CJa(x_c(c))},
TEXT:function(b,c){return b.i2(w_c(c))},TEXT_LIST:function(b,c){return b.rKa(y_c(c))},LONG_TEXT:function(b,c){var d=new qTc;d=_.x(d,1,c.minSize);c=_.x(d,2,c.maxSize);return _.Sj(b,10,qQ[0],c)},SELECTION:function(b,c){return b.fKa(A_c(c))},SELECTION_LIST:function(b,c){return b.eKa(B_c(c))},INTEGER:function(b,c){return b.PJa(C_c(c))},INTEGER_LIST:function(b,c){return b.OJa(D_c(c))},USER:function(b){return b.vKa(new uTc)},USER_LIST:function(b,c){return b.Pba(E_c(c))},DATE:function(b,c){return b.Aba(G_c(c))},
USER_SCOPED:function(b,c){var d=new tTc;d=_.x(d,1,c.canReadCollaboratorValues);var e=c.subtype;_.x(d,2,H_c[e]);c=c[I_c(e)+"Options"];P_c(a,d,e,c);return _.Sj(b,16,qQ[0],d)}}},T_c=function(a){return{BOOLEAN:function(b,c){return b.ara(c)},TEXT:function(b,c){return b.xra(c)},TEXT_LIST:function(b,c){return b.j2(c)},LONG_TEXT:function(b,c){return BTc(b,c)},SELECTION:function(b,c){return b.rra(c)},SELECTION_LIST:function(b,c){return b.h2(c)},INTEGER:function(b,c){return b.hra(parseInt(c,10))},INTEGER_LIST:function(b,
c){return b.V1(c.map(function(d){return parseInt(d,10)}))},USER:function(b,c){return CTc(b,_.FP(a.H,c))},USER_LIST:function(b,c){DTc(b,c.map(function(d){return _.FP(a.H,d)}))},DATE_STRING:function(b,c){return ETc(b,c)}}},U_c=function(a){a=void 0===a?{}:a;return(a=a.metadata)?a.bestDisplayName.displayName:""},V_c=function(a){a=a.personResponse;return bYc(new aYc,a.map(function(b){var c=b.person;b=OPc(new dQ,b.personId).zd(U_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 PPc;c=_.x(d,1,c&&!c.isDefault?c.url:null);return _.R(b,4,c)}))},W_c=function(a){this.H=a},Y_c=function(a,b){_.EP(["drive#teamDriveList","drive#driveList"],b);return(b.items||[]).map(function(c){return X_c(a,c)})},X_c=function(a,b){_.EP(["drive#teamDrive","drive#drive"],b);var c=new _.Tma,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)&&ROc(c,d.map(function(e){_.EP(["drive#driveCategoryReference"],e);var f=new _.Gk;return _.x(f,1,e.category)}));c=_.VJc(_.UJc(_.RJc(_.SJc($Oc(_.OM((new _.Hk).kc(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName);b.capabilities&&(d=_.uJc(_.QMc(b.capabilities),!0),c.xn(d));b.permissionsSummary&&_.TJc(c,_.mNc(a.H,b.permissionsSummary));b.restrictions&&TOc(c,Z_c(b.restrictions));return c},Z_c=
function(a){var b=new _.Rma;b=_.x(b,1,a.copyRequiresWriterPermission);b=_.x(b,2,a.disallowDriveFileStream);b=_.x(b,3,a.domainUsersOnly);return _.x(b,4,a.teamMembersOnly)},$_c=function(a){_.EP(["drive#setting"],a);var b=new _.Ra;b=_.x(b,2,a.key);b=_.x(b,1,_.MHc[a.namespace]);return _.Wva(new _.so,b).jc(a.value)},a0c={active:1,archived:2},b0c=function(a){_.EP(["drive#workspace"],a);var b=(new _.lC).kc(a.id).setTitle(a.title);b=_.x(b,3,_.GP(a.createdDate));return _.x(b,4,_.GP(a.modifiedDate)).Sd(a0c[a.state])},
c0c=function(a){_.EP(["drive#workspaceList"],a);var b=a.items||[];b=dYc(new nR,b.map(function(c){return b0c(c)}));return new _.WP(b,CXc(a))},d0c=function(a,b,c){var d=c.item||[];return _.IHc(new _.yN,d.map(function(e){return XZc(a,b,e)})).setSessionId(o_c(c))},e0c=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return sUc(qUc(rUc(pUc(new BQ,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return XZc(a,b,f)})),vR(c))},f0c=function(a,b,c){var d=c.item||[];return vUc(new CQ,
d.map(function(e){return e0c(a,b,e)})).setSessionId(o_c(c))},g0c=function(a){var b=new eTc;a.kind&&(a=b0c(a),_.R(b,2,a));b.Ec(1);return b},h0c=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};h0c.prototype.zh=function(){var a=new _.qR;a.Ec(this.V);this.H&&_.oYc(a,this.H?_.Yj(this.H):null);return a};
var j0c=function(a,b,c,d){d=void 0===d?!1:d;var e=_.OHc.has(c);if(1==a.V&&!e)return!1;a.ha=c;var f=a.V;c=!a.H;if(_.oN(a.W)){var h=(h=b&&b.getUser())&&_.EG(h);h=!(!h||!i0c(a.Ba,h));a.V=h&&e||d?1:6}f=!_.Xj(a.H,b)||(_.oN(a.W)?a.V!=f:6==a.V&&e);h=b.getUser();_.oN(a.W)?f&&a.ka(h.getId()):a.ka(h.getId());a.H=_.Yj(b);_.oN(a.W)||(a.V=e||d?1:6);c&&(ZQ(a.wa,"toquGd"),a.ua.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.ma.update(0);return f};
h0c.prototype.Re=function(){return this.ha};var k0c=function(){_.O.call(this);this.H=Date.now()};_.I(k0c,_.O);var l0c=function(a){a.H=Date.now();a.dispatchEvent("Jb")},m0c=function(a){_.O.call(this);this.wa=a;this.ha=0};_.I(m0c,_.O);var n0c=function(a){a=_.Yj(a);var b=function(c){return c.toLowerCase()};mUc(a,_.z(a,4).map(b));nUc(a,_.z(a,5).map(b));return a};_.g=m0c.prototype;_.g.lna=function(){};_.g.SEa=function(){};_.g.remove=function(){};_.g.kna=function(){};_.g.zy=function(){return 0!=this.ha};
_.g.Re=function(){return this.ha};var o0c=function(a,b,c){m0c.call(this,b);this.ua=a;this.ka=c;this.H={};this.V=[];this.W=6;this.ma=!1};_.I(o0c,m0c);o0c.prototype.lna=function(){var a=new kR;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};o0c.prototype.SEa=function(a){this.H[a.getId()]=n0c(a);this.ka.update(1);this.dispatchEvent(new _.gi("Kb",this))};o0c.prototype.remove=function(a){_.rf(this.H,a)&&this.ka.update(1)};
o0c.prototype.kna=function(a,b,c){c=void 0===c?!1:c;var d=!_.PHc.has(b);1==this.W&&d||(this.ha=b,p0c(this,a,!d||c),d||this.ka.update(1),this.ma||(this.ma=!0,this.ua.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),ZQ(this.wa,"nVUlO")))};
var p0c=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);_.zN(a.H);b=_.Rj(b,_.AQ,2);d||(d=b.length!=_.nf(h));b.forEach(function(k){var l=n0c(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))},q0c=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(q0c,_.O);var s0c=function(a){if(a.ha)return a.ha;var b=_.Jh();a.ha=b.promise;_.m.setTimeout(function(){a.ha=null},5E3);r0c(a,b);return b.promise};q0c.prototype.wa=function(){1==this.H&&(t0c(this,"Became unauthenticated."),this.H=!1,this.W=!0,u0c(this))};q0c.prototype.Ba=function(){0==this.H&&(t0c(this,"Became authenticated."),this.H=!0,this.V=null,this.W=!1,this.lm&&(_.m.clearTimeout(this.lm),this.lm=null),this.dispatchEvent(new dTc("ta")))};
var u0c=function(a){a.V||(a.V=new _.LNc(5E3),a.lm=_.m.setTimeout(function(){return v0c(a)},a.V.yb()))},v0c=function(a){r0c(a);a.V&&(_.UH(a.V),a.lm=_.m.setTimeout(function(){return v0c(a)},a.V.yb()))},r0c=function(a,b){_.Fh().then(function(){return w0c(a,b)})},w0c=function(a,b){t0c(a,"Checking authentication state.");var c=a.ua.then(function(d){return d.H(new _.RIc)});b?c.then(function(){b.resolve(qYc(new pYc,1))},function(d){var e=_.MN(d).dg;d=0;_.JGc(e)?(t0c(a,"Checked authentication state: unauthenticated."),
d=2):(t0c(a,"Checked authentication state: error occurred."),_.Hq(e),_.x(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new pYc;qYc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.MN(d);_.JGc(d.dg)&&a.W&&(a.dispatchEvent(new dTc("ua")),a.W=!1)})},t0c=function(a,b){a.ma.info("drive.ds.sync.auth.StateManager",b)},wR=function(a,b){this.ma=a;this.ua=b;this.V=!0;this.ha=!1;this.Ba=0},xR=function(a){a.V=!1;a.TEa()};_.g=wR.prototype;
_.g.Nja=function(a,b){var c=this;if(5==this.RC(a))throw Error("pf");var d=[];_.Fa(this.Ly(),function(e){fR(c.ma,a,e.getItem())&&d.push(e)});this.ua.sort(a,d,b);return d};_.g.Z_=function(){return this.Ly().length};_.g.aU=function(a){a=this.Nja(a,void 0);a=cQ(a);var b=new _.pC;b.Ew(a);b.Ec(this.wT()?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.yX(a.V);c&&this.cla(a.H);return!0};_.g.RC=function(a){return this.V&&this.ha?mXc(a)?1:5:5};
_.g.RT=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 yR=function(a,b,c,d,e,f){wR.call(this,a,b);this.Ja=c;this.hc=aR(c,d,!0);this.H=[];this.ka={};this.W=!e;x0c(this,e);this.wa=(0,_.K)(this.ua.compare,this.ua,this.hc);this.Ga=f||""};_.I(yR,wR);_.g=yR.prototype;_.g.kd=function(){return this.hc};
_.g.cla=function(a){var b=this.ka[a.getId()];b&&this.yX(b);LOc(this.H,a,this.wa);this.ka[a.getId()]=a;a.H++;this.H.length>this.hc.oh()&&(this.yX(_.ba(this.H)),this.W=!1)};_.g.yX=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.TEa=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=YOc(b,a,!0);return b?this.W?1:6:5};
_.g.Nja=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(!wR.prototype.QD.call(this,a)||!fR(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.wT=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.yX(d),x0c(this,_.ba(a))):this.W=!0);_.Fa(a,function(e){c.update(sR(e))})};var x0c=function(a,b){b&&fR(a.ma,a.hc,b.getItem())&&a.cla(b)};yR.prototype.cG=function(){return this.Ga};var zR=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(zR,_.N);
var z0c=function(a,b){a.ma.add(b);a.resize(!0);y0c(a,b)},A0c=function(a,b){a.ma.delete(b);0!=a.ma.size||a.dDa()?a.resize(!1):a.dispose()};zR.prototype.Re=function(){return this.Qa};zR.prototype.gx=function(a){this.Qa=a};zR.prototype.refresh=function(){};zR.prototype.aU=function(){};
var C0c=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})}B0c(a.context.V,c,b);d=c.filter(function(f){return!eR(f)});VOc(b,d);c.forEach(function(f){_.tNc(a.context.jw,f,b);if(f.wc()){var h=f.getCapabilities();eR(f)?h&&(_.tJc(h,_.E(h,13)),_.qJc(h,!1),_.xJc(h,!1)):_.QN(f)?(h&&_.kJc(h,!1),_.x(f,30,!1)):h&&(_.BJc(h,!1),_.CJc(h,!1))}f.getCapabilities()||f.xn(new _.Bk)})};
zR.prototype.resize=function(){};zR.prototype.kd=function(){};zR.prototype.kA=function(a,b){var c=this,d=!1;a.forEach(function(e){e=sR(e);d=c.CO(e,!0)||d});b||(1!=this.H&&(d=!0),this.H=1);d&&D0c(this)};var E0c=function(a,b){var c=!1;b.forEach(function(d){c=a.CO(d)||c});c&&D0c(a);return c};zR.prototype.update=function(a){return E0c(this,[a])};zR.prototype.CO=function(){};var D0c=function(a){a.Ga();a.ma.forEach(function(b){y0c(a,b)})};zR.prototype.Ga=function(){};
var y0c=function(a,b){var c=AR(a.context);c=F0c(c,b).kd();a.Ja(c)||(c=a.aU(c),a=AR(a.context),a.Ba[b]=c,a.V||(a.V=_.si(a.ka,50,a)))},G0c=function(a,b){a.H=3;a.ma.forEach(function(c){var d=AR(a.context);d.Ga[c]=b;d.V||(d.V=_.si(d.ka,50,d))})},H0c=function(a){a.ma.forEach(function(b){(b=AR(a.context).ha[b])&&b.NJ()});a.gx(0==a.Re()?1:6)};zR.prototype.dDa=function(){return!1};zR.prototype.Ja=function(){return!1};var I0c=function(a){_.gi.call(this,"Fb");this.id=a};_.I(I0c,_.gi);
var J0c=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(J0c,_.O);
var N0c=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={uob:!0});a.H.Dm().then(function(e){return e.H(c,d)}).then(function(e){return void K0c(a,e)},function(e){e=_.MN(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),L0c(a);else{var f=new iR(e.dg,_.D(a.H.H.mf(),1,1));M0c(a.H.V,a.hc,f);a.dispatchEvent(f);a.V.reject(e)}})});return a.V.promise},
K0c=function(a,b){b.qr().Bd().forEach(function(c){_.x(c,82,1);a.ua.push(c)});L0c(a)},L0c=function(a){a.W||(a.W=_.m.setTimeout(a.Ba.bind(a),10))};J0c.prototype.Ba=function(){_.m.clearTimeout(this.W);this.W=null;O0c(this);P0c(this);this.ha.size==this.hc.Il().length?(eQ(this.H.V,[],1,this.wa,!1),this.dispatchEvent("Hb"),this.V.resolve(this.ka)):this.dispatchEvent("Eb")};
var O0c=function(a){var b=a.ua;a.ua=[];b=a.H.Wf.eY(b);if(_.ZM(a.H.H.Ne())){var c=a.H.V.V;_.Fa(b,function(d){var e=c.H(d.getId());e&&_.XO(d,e.li())})}b.forEach(function(d){a.ha.add(d.getId());a.ka[d.getId()]=d});eQ(a.H.V,b,1,a.wa,!0)},P0c=function(a){var b=a.ma;a.ma=[];b.forEach(function(c){var d=_.AN(_.wN(new _.vN,c));a.H.V.ua([d]);a.ha.add(c);a.ka[c]=null;a.dispatchEvent(new I0c(c))})},Q0c=function(a,b,c,d){zR.call(this,a);this.ha=b;this.hc=c;this.V={};this.W=_.nN(a.H)||new _.KGc;d&&this.kA(d,!0)};
_.I(Q0c,zR);
Q0c.prototype.refresh=function(){var a=this;this.H=6;if(_.A(this.hc,5,!1))return this.H=1,_.Fh();var b=!YOc(_.CP(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!=$P(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 J0c(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"),R0c(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),R0c(this,f,h));return h.promise};var R0c=function(a,b,c){a.Xd.listen(b,"Fb",function(d){a.V[d.id]=null});H0c(a);N0c(b).then(function(){c.resolve()},c.reject)};_.g=Q0c.prototype;
_.g.l5=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)}):YOc(_.CP(this.ha),a.Sh()):!1};_.g.aU=function(a){var b=new _.PP;_.oN(this.context.H)?b.Ec(gPc(Object.values(this.V))?6:this.H):b.Ec(this.H);TTc(b,this.Re());UTc(b,_.lf(this.V,function(c){return c?c.getItem():null}));C0c(this,a.Sh(),b.$r());return b};_.g.resize=function(){};_.g.kd=function(){return this.hc};
_.g.CO=function(a){var b=S0c(this,a.V),c=S0c(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 S0c=function(a,b){return!!b&&_.ja(a.hc.Il(),b.getId())},T0c=function(a,b){_.gi.call(this,a);this.changes=b};_.I(T0c,_.gi);var U0c=function(){this.wa=this.ua=this.ka=this.ma=null;this.ha=[];this.V=!1;this.W=[];this.H=!0};U0c.prototype.getSessionId=function(){return this.ua};U0c.prototype.setSessionId=function(a){this.H=!1;this.ua=a};
U0c.prototype.uc=function(){return this.H};
var V0c=function(a){var b=new U0c;if(a.JF()){var c=a.JF();b.H=!1;b.ka=c}a.getSessionId()&&b.setSessionId(a.getSessionId());a.HX()&&(c=a.HX(),b.H=!1,b.wa=c);a instanceof _.QP&&_.Rj(a,_.wk,6).length?(a=_.Rj(a,_.wk,6),b.H=!1,b.ha=a):a instanceof _.pC&&(a.GX()||a.Bha()||a.J7().length)&&(c=a.GX(),b.H=!1,b.ma=c,c=a.Bha()||!1,b.H=!1,b.V=c,a=a.J7(),b.H=!1,b.W=a);return b},BR=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 U0c};_.I(BR,_.O);var W0c=function(a){return!a.Ba||""!=a.nextPageToken},Y0c=function(a,b){a.W=b;return a.V.length<a.W&&!a.H&&W0c(a)?X0c(a):_.Rh()};BR.prototype.Zb=function(){return this.V.length};
var X0c=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 Z0c(a,c,f)});var e=_.hIc(_.iIc(new _.XM,a.Qa),c);b=_.fIc(new _.hFc,b);a.Xa&&_.x(b,10,!0);_.gIc(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};
BR.prototype.Ka=function(a,b){this.H=!1;if(b instanceof _.QP)var c=b;else c=b.qr(),this.nextPageToken=b.Tm()||"";this.ha=V0c(c);this.ha.uc()||this.dispatchEvent("Gb");a.callback(c.Bd())};
BR.prototype.Ja=function(a,b,c){c=_.MN(c);this.H=!1;if(5==c.dg.Zr())a.callback([]);else{if(10==c.dg.Zr()&&(_.fIc(b,Math.ceil(_.D(b,1,1E3)/2-2E-15)),1<_.D(b,1,1E3))){var d=_.gIc(_.hIc(_.iIc(new _.XM,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 iR(c.dg,_.D(this.context.H.mf(),1,1));this.Ga(b);this.dispatchEvent(b);a.Dd(c)}};
var Z0c=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: ")+(_.ALc(a.request)+" paginationToken: ")+b;b=_.Hq(_.Fq(_.jN(_.iN(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=_.wN(new _.vN,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new T0c("Eb",c));if(a.V.length<a.W&&a.nextPageToken)return X0c(a);a.dispatchEvent("Hb")};BR.prototype.Ma=function(a){return a};BR.prototype.Ga=function(){};BR.prototype.kd=function(){return this.request};BR.prototype.ma=function(a){a=_.Yj(a);this.wa&&_.x(a,46,!0);return a};var CR=function(a,b,c,d){BR.call(this,a,b,void 0,c,d)};
_.I(CR,BR);CR.prototype.Ma=function(a){a=this.context.Wf.eY(a);eQ(this.context.V,a,1,this.request,W0c(this));return a};CR.prototype.Ga=function(a){M0c(this.context.V,this.request,a)};CR.prototype.ma=function(a){var b=a=BR.prototype.ma.call(this,a),c=_.eP(b);0==_.z(b,33).length&&1==c.length&&(c=this.context.V.V.H(c[0].yb()))&&(c=c.wc())&&(_.HN(b,[c]),_.IN(b,2));$0c(this,a);return a};
var $0c=function(a,b){if(_.eP(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)}},a1c=function(a,b,c,d){this.V=a;this.ma=b;this.ua=c;this.wa=d;this.W=0},c1c=function(a){var b=_.qc(a.ua);b=b.filter(function(d){return d instanceof Q0c});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);b1c(a,"Re-querying missing find-by-ids :"+c.size);a.H([].concat(_.oc(c)),b)},e1c=
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&&(d1c(a),c.forEach(function(d){d=bR(a.V.ma,d.kd(),3);b1c(a,"Refreshing "+b+" cache: "+d)}),_.Kh(_.Hh(c.map(function(d){return d.refresh().ag(_.Se)})),a.ha.bind(a)))};
a1c.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||_.CP(this.ma)),7,!0);_.ro(a,b);d1c(this);b=new J0c(a,this.V,void 0,c);return _.Kh(N0c(b),this.ka.bind(this,b))};a1c.prototype.ka=function(a){a.dispose();this.ha()};var d1c=function(a){a.W++;a.V.wa.setActive(!1)};a1c.prototype.ha=function(){this.W--;0==this.W&&this.V.wa.setActive(!0)};
var b1c=function(a,b){a.V.W.info("drive.ds.sync.cache.CacheRefresher",b)},f1c=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(f1c,_.N);
var g1c=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 BR(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));Y0c(a.W,a.hc.oh())}return a.V.promise};f1c.prototype.ka=function(a){var b=this;_.Fa(a.changes,function(c){c=c.getItem();b.H.update(sR(new XQ(c)))})};f1c.prototype.ua=function(){this.H instanceof yR?this.H.W=!W0c(this.W):W0c(this.W)&&xR(this.H);this.H.gx(5);this.V.resolve(this.H)};
var DR=function(a,b){wR.call(this,a,b);this.H={}};_.I(DR,wR);DR.prototype.cla=function(a){this.H[a.getId()]=a;a.H++};DR.prototype.yX=function(a){_.rf(this.H,a.getId());a.H--};DR.prototype.TEa=function(){_.jf(this.H,function(a){a.H--});this.H={}};DR.prototype.Ly=function(){return Object.values(this.H)};var ER=function(a,b,c,d,e){DR.call(this,a,b);var f=this;this.W=e;YQ(c,["aU7Ts","BNEDtc"],function(){return f.RT()})};_.I(ER,DR);
ER.prototype.RC=function(a){var b=this,c=DR.prototype.RC.call(this,a);if(5==c)return c;if(0<_.z(a,33).length)return 5;a=_.eP(a);return 0<a.length&&!a.every(function(d){d=b.H[d.yb()];return null!=d&&!d.getItem().wc()&&cPc(d.getItem())&&!_.E(d.getItem(),108)})?5:1};ER.prototype.QD=function(a){return DR.prototype.QD.call(this,a)&&h1c(this,a.getItem())};var h1c=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&&cPc(e.getItem())})};
ER.prototype.RT=function(){var a=this;DR.prototype.RT.call(this);_.jf(this.H,function(b){h1c(a,b.getItem())||(b.H--,_.rf(a.H,b.getId()))})};ER.prototype.kd=function(){return new _.se};ER.prototype.getType=function(){return"SubscribedCorpusCache"};ER.prototype.wT=function(){return!1};var FR=function(a,b,c){DR.call(this,a,b);this.W=c};_.I(FR,DR);_.g=FR.prototype;
_.g.RC=function(a){var b=this,c=DR.prototype.RC.call(this,a);if(5==c)return c;c=_.eP(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 DR.prototype.QD.call(this,a)&&!!a&&a.getItem().wc()==this.W&&!eR(a.getItem())};_.g.wT=function(){return!1};_.g.kd=function(){var a=new _.se;_.HN(a,[this.W]);_.IN(a,2);return a};_.g.wc=function(){return this.W};
_.g.getType=function(){return"TeamDriveCorpusCache: "+this.W};var i1c=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=aR(this.ha,a,!0)};i1c.prototype.addAll=function(a){var b=this;a.forEach(function(c){c instanceof ER?b.H=c:c instanceof yR?b.W.push(c):c instanceof FR&&b.V.push(c)})};
i1c.prototype.removeAll=function(a){var b=this;a.forEach(function(c){if(c instanceof ER)b.H&&(xR(b.H),b.H=null);else if(c instanceof yR){var d=_.da(b.W,function(e){return b.ha.equals(e.kd(),c.kd())});0<=d&&(xR(b.W[d]),_.na(b.W,d))}else c instanceof FR&&(d=_.da(b.V,function(e){return b.ha.equals(e.kd(),c.kd())}),0<=d&&(xR(b.V[d]),_.na(b.V,d)))})};
var j1c=function(a){var b=[];a.H&&b.push(a.H);_.ta(b,_.ra(a.W));_.ta(b,_.ra(a.V));return b},k1c=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})},l1c=function(a,b){return _.bf(a.V,function(c){return c.wc()==b})},m1c=function(a,b){return k1c(a).find(function(c){return a.ha.equals(c.kd(),aR(a.ha,b,!0))})},n1c=function(){this.H={}},GR=function(a,b){o1c(a,"subscribed");b&&o1c(a,b);return a.H[b||"subscribed"].hk.promise},
o1c=function(a,b){a.H[b]||(a.H[b]={count:0,uDa:[],cIa:[],hk:_.Jh()});a.H[b].count++},q1c=function(a,b){b&&!p1c(a,b)||p1c(a,"subscribed")},p1c=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].uDa,bhb:a.H[b].cIa}),_.rf(a.H,b));return!0};n1c.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].cIa.push(e);c.H[d]&&c.H[d].uDa.push(e)})};
var r1c=function(a,b){_.gi.call(this,"Lb");this.Je=a;this.H=b};_.I(r1c,_.gi);var s1c=function(a,b){return new _.Eh(function(c,d){b.then(function(e){var f={};a.Ly().forEach(function(h){var k=h.getId();BPc(h.getItem());f[k]=new XQ(h.getItem())});e.items.forEach(function(h){var k=h.Hc();k=f[k];h.Qz()?k&&a.update(new HYc(k.getId(),k,null)):(h=h.getItem(),BPc(h),a.update(IYc(k,new XQ(h))))});a.RT();c(e.bhb)},d)})},t1c=function(a,b){_.N.call(this);this.H=a;this.V=b};_.I(t1c,_.N);
var A1c=function(a){var b=_.m._DRIVE_ivd;u1c(a,"Running initial view populator (IVDP).");try{var c=new VQ(JSON.parse(b))}catch(t){v1c(a,"Error parsing initial view dump.",t);return}b=a.H.H.Ne();if(!_.ZM(b)){var d=c.zh();if(d){var e=d.getUser();e&&e.getId()==_.D(b,6,"")&&j0c(a.H.tc,d,4)}(b=c.jn())&&w1c(a.H,b,6)}var f=c.gy()||void 0;f&&x1c(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)});y1c(a.H.Ma,b,4,
[].concat(_.oc(h.values())))}b=c.Bd();b.forEach(function(t){_.BIc(t);_.x(t,82,6)});if(d=_.Rj(c,UQ,5)[0])if(c=a.H.ma,bPc(_.CP(a.V),d.getQuery().Sh(),_.hP(a.H.H)))if((e=d.getQuery().Td())&&4==e.getType()&&!jPc())v1c(a,"Invalid initial view data, natural sort unsupported");else{if(0<b.length){e=aR(c,d.getQuery());var k=_.z(d,2)||void 0;e.Gi(k);k=b.map(function(t){return new XQ(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())){v1c(a,"Invalid last item in initial view data.");
return}}d=(l=_.nN(a.H.H))&&_.A(l,2,!1)&&d.Tm()||"";var q=new yR(a.H.Ka,a.H.Xa,a.H.ma,e,n,d);q.gx(4);k.forEach(function(t){q.update(sR(t))});z1c(a.H.V,q);n=q.kd();u1c(a,"Imported "+b.length+" initial view items (IVDP) into a cache\n                hint corpus cache. Query: "+bR(c,n));c=new _.XM;_.iIc(c,n);n=_.IMc(a.H.Qa,c,"IVDP");_.JMc(n,b);ZQ(a.H.ha,"W6J7De")}}else v1c(a,"Invalid initial view data, fields: "+IWc(c,d.getQuery().Sh()));else v1c(a,"No initial query found")},v1c=function(a,b,c){var d=
c?void 0:_.Hq(_.jN(_.iN(new _.qb,2),6));c=new _.rb(b,d,c);a.H.rb(c.dg);u1c(a,"Initial view dump population failed. Message: "+b);ZQ(a.H.ha,"DEJoH")},u1c=function(a,b){a.H.W.info("drive.ds.sync.cache.InitialViewPopulator",b)},B1c=function(a){_.O.call(this);this.context=a;this.V=new ER(a.Ka,a.Xa,a.ha,a.H,function(){return a.jn()});this.ma="drive.ds.sync.cache.CorpusCachePopulator";this.W=0};_.I(B1c,_.O);
var C1c=function(a,b){var c=_.D(a.context.H,31,2E4);("number"===typeof _.z(b,3)?_.z(b,3):c+1)>c?(xR(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)};B1c.prototype.log=function(a,b){this.context.W.log(this.ma,a,b||"info")};var D1c=function(a,b){0==a.W&&(a.W=b)},E1c=function(a,b){_.O.call(this);this.V=a;this.hc=b;this.ka=[];this.H="";this.W=this.ha=!1};_.I(E1c,_.O);
var G1c=function(a){return a.W||a.ha&&""==a.H?_.Rh():F1c(a)};E1c.prototype.Zb=function(){return this.ka.length};
var F1c=function(a){a.ha=!0;a.W=!0;var b=cSc(dSc(new _.IO,a.hc),a.H),c=_.IMc(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()||"";H1c(a,c,e)},function(d){a.W=!1;d=new iR(_.kN(d),_.D(a.V.H.mf(),1,1));a.dispatchEvent(d)}))},H1c=function(a,b,c){_.JMc(b,c);for(b=0;b<c.length;b++)_.x(c[b],82,1);eQ(a.V.V,c,1,a.hc,!a.ha||""!=a.H);var d=[];_.Fa(c,function(e){this.ka.push(e.getId());e=_.wN(new _.vN,e.getId()).setItem(e);d.push(e)},a);d.length&&a.dispatchEvent(new T0c("Eb",
d));a.H?F1c(a):(a.W=!1,a.dispatchEvent("Hb"))};E1c.prototype.kd=function(){return this.hc};var I1c=function(a){this.H=vWc(a,{numeric:!0})};I1c.prototype.sort=function(a){_.Da(a,this.V.bind(this))};I1c.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 HR=function(a,b,c,d){d=void 0===d?!1:d;zR.call(this,a);this.ka=b;this.hc=_.Yj(c);this.ha=new E1c(a,this.hc);this.ua=new I1c(lQ(a.H.Ne()));this.W=[];_.ud(this,this.hSa,this);this.V=null;d&&(this.V=_.Jh(),this.V.resolve())};_.I(HR,zR);HR.prototype.refresh=function(){3==this.H&&(this.H=6,this.V=null);return J1c(this)};
var J1c=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"),H0c(a),G1c(a.ha).Cf(a.V.resolve,a.V.reject,a.V))}):(H0c(a),G1c(a.ha).Cf(a.V.resolve,a.V.reject,a.V));return a.V.promise};_.g=HR.prototype;_.g.resize=function(){};_.g.kd=function(){return this.hc};_.g.Ly=function(){return this.W};_.g.l5=function(a){return this.context.ma.equals(a,this.hc)};
_.g.aU=function(a){a=a.oh();this.ua.sort(this.W);var b=cQ(_.ua(this.W,0,Math.min(a,this.W.length)));C0c(this,ISc(this.ka),b);var c=new _.pC;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.IX(this.Re());LRc(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&&zR.prototype.kA.call(this,a,b)};
_.g.CO=function(a){if(!this.V)return!1;var b=a.id,c=_.ha(this.W,function(h){return h.getId()==b}),d=!!c,e=K1c(this,a.H),f=a.V;c&&(f=c,d=!0);if(d||e)d?e?L1c(this,f,a.H):M1c(this,f):N1c(this,a.H);else return!1;return!0};
var N1c=function(a,b){a.W.push(b);b.H++},M1c=function(a,b){_.oa(a.W,b);b.H--},L1c=function(a,b,c){a.W[_.ia(a.W,b)]=c;c.H++;b.H--},K1c=function(a,b){if(b){var c;if(c=eR(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=HR.prototype;_.g.hSa=function(){this.W.forEach(function(a){a.H--})};_.g.dDa=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};
_.g.Z_=function(){return this.W.length};_.g.RT=function(){this.H=1};var O1c=function(a){this.H=a},Q1c=function(a,b){return P1c(a,b,null,0,5)},P1c=function(a,b,c,d,e){if(0==e||null==b){var f=new kYc;_.x(f,2,b);_.x(f,1,d);return _.Fh(f)}var h=tUc();_.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.cG();k=d+_.z(k,1);return P1c(a,l,c,k,e-1)})},R1c=function(){this.qc=[];this.V=this.H=0};
R1c.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 S1c=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},T1c=function(a){this.W=a;this.V=new PXc(new QXc,_.Kka(a));this.H=new QXc};
T1c.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=_.Lka(b);c=U1c(this,a);return b.concat(c,V1c(this,b,a,!0))};
var W1c=function(a,b){var c=V1c(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=U1c(a,c);if(b!=a)throw Error("qf");return c},U1c=function(a,b){a=a.V;b=SSc(b);a.reset();a.update(b);b=a.digest();return _.Lka(b)},V1c=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.W);b=new R1c;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=SSc(c.substring(8192*e,8192*(e+1))),S1c(b,a),d+=_.Lka(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.m.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;S1c(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=IR(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=IR(d,e++),b[a++]=String.fromCharCode((f&
31)<<6|h&63)):239<f&&365>f?(h=IR(d,e++),k=IR(d,e++),l=IR(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=IR(d,e++),k=IR(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},IR=function(a,b){return a[Math.floor(b/8192)][b%8192]},X1c=function(a,b,c){this.H=a;this.W=b;this.V=c};X1c.prototype.getData=function(){return this.H};X1c.prototype.Cq=function(){return this.W};
var Y1c=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.A_=f;this.ha=null;this.ua=this.wa=!1;this.Ba=void 0};Y1c.prototype.vy=function(){return this.ma};Y1c.prototype.vj=function(){return this.ka};Y1c.prototype.Fg=function(){return _.ra(this.H)};
var JR=function(a){if(!a.ha){var b=new _.RM;b.update([a.ma,a.ka,a.W,a.V].join(":"));b.update(a.H);a.ha=_.$Ec(b.digest())}return a.ha},Z1c=function(a){return{versionKey:JR(a),versionInfo:{u:a.ma,c:a.ka,pv:a.W,phk:a.V,f:a.H},lastAccessedTimestamp:a.A_}},$1c=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 Y1c(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.ha=d:JR(a)!=d&&(a=null);return a},a2c=function(a,b,c){return[a.vy(),a.vj(),
b?"#":JR(a)].join(":")+":"+(c||"")},b2c=function(a,b,c){this.H=a;this.V=b;this.global=void 0===c?!1:c};b2c.prototype.getKey=function(){return this.H};b2c.prototype.yb=function(){return this.V};
var c2c=function(a,b){return{k:a2c(b,a.global,a.H),v:a.V}},d2c=function(a,b){a=a2c(a,b);return fUc(a+"A",a+"z")},e2c=function(a,b){this.u3=a;this.t3=b},f2c=function(a){return a?new e2c(a.versionKey,a.versionChangeTimestamp):null},g2c=function(a,b){return a+":"+b},h2c=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.LR=void 0===e?null:e},i2c=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.LR}},j2c=function(a,b,c,d){a=JR(a)+"_"+b;3==b&&
(a+="_"+d);return a+=_.Px(":%02d",c)},k2c=function(a,b,c,d){c=j2c(a,b,void 0===c?0:c,d);a=JR(a)+"_"+b;3==b&&(a+="_"+d);return fUc(c,a+":a")},l2c=function(a){var b=JR(a)+"_";a=JR(a)+"_A";return fUc(b,a)},m2c=function(a){return a?new h2c(a.data,a.index,a.size,a.timestamp,a.e):null},n2c={gBb:"Versions",SNa:"Metadata",Kqb:"Data",jOa:"Offline"},KR=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(KR,_.N);KR.prototype.initialize=function(){return o2c(this)};
var o2c=function(a,b){a.ha||(a.ha=_.Jh(),a.rb.then(function(){b?(a.Ja=!1,p2c(a,b),q2c(a,"Initialized database GoogleDriveDs with existing IndexedDb"),a.ha.resolve()):(a.ma&&(a.wa=a.ma.W(106004)),q2c(a,"Opening database GoogleDriveDs (version 2)"),_.QFc("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,_.TM(c)?c:void 0))}));return a.ha.promise},p2c=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"))};KR.prototype.Ma=function(a,b){q2c(this,"Upgrading GoogleDriveDs to version "+a.newVersion);this.Ka=!0;_.Fa(b.H.objectStoreNames,function(c){return _.lKc(b,c)});_.jf(n2c,function(c){var d=_.QHc.get(c);_.OFc(b,c,d?{keyPath:d}:void 0)})};
KR.prototype.Ba=function(a){var b;a&&a instanceof _.aN&&"InvalidStateError"==a.getName()&&_.ij.Uu?b=Error("sf"):_.TM(a)&&(b=a);this.ka("Unable to open database GoogleDriveDs (version 2)");this.ha.reject(b);r2c(this,!1)};KR.prototype.Xa=function(a){this.ua?a.dispose():(p2c(this,a),this.Pa(this.H),this.Ga||s2c(this).ag(function(){}),q2c(this,"Initialized database GoogleDriveDs"),this.ha.resolve(),r2c(this,!0))};
var r2c=function(a,b){if(a.wa){var c=a.wa,d=_.C(_.NP(c),nSc,5);d||(d=new nSc,c=_.NP(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}};KR.prototype.Qa=function(){this.H||this.lh()||(this.ka("Opening database GoogleDriveDs timed out."),this.Ba(Error("tf")))};KR.prototype.ka=function(a){q2c(this,a);this.ua||(this.ua=!0,this.W="Database disabled: "+a,this.H&&this.Ja&&this.H.close())};KR.prototype.lh=function(){return this.ua};
var t2c=function(a){return a.ua?a.W:null},LR=function(a,b,c){c=void 0===c?"readonly":c;if(a.Ga&&"readonly"!=c)return null;a=a.H;try{return _.gN(a,[b],c)}catch(d){return null}},s2c=function(a){var b=LR(a,"Versions","readwrite");if(!b)return _.Gh(Error("uf"));_.IFc(b.objectStore("Versions"),Z1c(a.V));return b.wait().then(function(){})},u2c=function(a){if(!a.H)return _.Gh(Error("vf"));if(a.lh())return _.Gh(Error(a.W));var b=LR(a,"Versions","readwrite");return b?b.objectStore("Versions").remove(JR(a.V)).then():
_.Gh(Error("wf"))},v2c=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a.forEach(function(h){(h=m2c(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},x2c=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=k2c(a.V,b,0,c),f=LR(a,"Data");if(!f)return _.Gh(Error("Ef"));e=f.objectStore("Data").getAll(e);var h=_.Jh();e.Cf(function(k){k=v2c(k,h,d);a.Ga||null==k||w2c(a,b,c,k).ag(function(){})},h.reject);return h.promise},z2c=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:j2c(a.V,c,q,d),data:new h2c(n.getData(),q,h,f,e),metadata:n}});var k=LR(a,"Data","readwrite");if(!k)return _.Gh(Error("Hf"));var l=k.objectStore("Data");b.forEach(function(n){var q=y2c(a,c,d,n.metadata);_.IFc(l,i2c(n.data),n.key).then(function(){if(q){var t=KSc(q);_.x(t,1,!0);q.V()}},function(t){t=t instanceof _.aN?t.code:_.qFc;if(q&&a.ma){var v=KSc(q);v=_.x(v,1,!1);t=_.OP(_.CHc,t);
_.x(v,2,t);q.V()}})});return k.wait().then(function(){})},y2c=function(a,b,c,d){if(a.ma){if(a=a.ma.W(106019)){var e=KSc(a);b=_.OP(_.BHc,b);b=_.x(e,3,b);c=_.OP(_.yHc,c);c=_.x(b,4,c);b=d.V;_.x(c,5,null==b?0:b?2:1);void 0!=d.Cq()&&(c=KSc(a),d=d.Cq(),_.x(c,6,d))}return a}return null},w2c=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=k2c(a.V,b,d,c);a=LR(a,"Data","readwrite");if(!a)return _.Gh(Error("Kf"));
a.objectStore("Data").remove(b);return a.wait().then(function(){})},A2c=function(a){if(!a.H)return _.Gh(Error("Lf"));if(a.lh())return _.Gh(Error(a.W));var b=l2c(a.V);a=LR(a,"Data","readwrite");if(!a)return _.Gh(Error("Mf"));a.objectStore("Data").remove(b);return a.wait().then(function(){})};
KR.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=LR(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(a2c(b,h.global,h.key)).then())});a=_.Hh(e)}else a=_.Hh([d.getAll(d2c(b,!1)).then(),d.getAll(d2c(b,!0)).then()]).then(function(h){return KOc(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]!=JR(b)||l[0]!=b.vy()||l[1]!=String(b.vj())?null:new b2c(l[3],k.v,n)}else k=null;return k}))},f.reject);return f.promise};
var B2c=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=LR(a,"Metadata","readwrite");if(!c)return _.Gh(Error("Sf"));var d=c.objectStore("Metadata"),e=[];b.forEach(function(f){e.push(_.IFc(d,c2c(f,a.V)).then())});return _.Hh(e).then(function(){})},C2c=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=LR(a,"Metadata","readwrite");if(!a)return _.Gh(Error("Vf"));
a=a.objectStore("Metadata");var d=[];d.push(a.remove(d2c(c,!1)).then());b&&d.push(a.remove(d2c(c,!0)).then());return _.Hh(d).then(function(){})},D2c=function(a){if(!a.H)return _.Gh(Error("Wf"));if(a.lh())return _.Gh(Error(a.W));var b=g2c(a.V.vy(),a.V.vj());return(a=LR(a,"Offline"))?a.objectStore("Offline").get(b).then(function(c){return f2c(c)}):_.Gh(Error("Xf"))},E2c=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=g2c(c.vy(),c.vj());
b=new e2c(JR(c),b?Date.now():void 0);a=LR(a,"Offline","readwrite");if(!a)return _.Gh(Error("Zf"));_.IFc(a.objectStore("Offline"),{versionKey:b.u3,versionChangeTimestamp:b.t3},d);return a.wait().then(function(){})};KR.prototype.Uk=function(a){var b=this;return this.H?this.lh()?_.Gh(Error(this.W)):D2c(this).then(function(c){var d=JR(b.V);if(c)if(a){if(!c.t3&&d==c.u3&&d!=JR(a))return E2c(b,!0);if(c.t3&&d==JR(a))return E2c(b)}else{if(d!=c.u3)return E2c(b)}else if(!a)return E2c(b)}):_.Gh(Error("$f"))};
var F2c=function(a){if(!a.H)return _.Gh(Error("ag"));if(a.lh())return _.Gh(Error(a.W));var b=a.V,c=g2c(b.vy(),b.vj());return D2c(a).then(function(d){if(d&&(d=LR(a,"Offline","readwrite")))return d.objectStore("Offline").remove(c).then()})};
KR.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.lh()?_.Gh(Error(this.W)):D2c(this).then(function(c){var d=c&&c.u3==JR(b.V);return d&&!a?!1:(c&&d?F2c(b):_.Fh()).then(function(){return _.Hh([C2c(b,a),A2c(b),u2c(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Gh(Error("bg"))};KR.prototype.close=function(){this.ka("Closing database")};
var q2c=function(a,b){a.hb.info("drive.ds.sync.storage.VersionedDb",b)},G2c=function(a){if(1>=Number(a.H.version))return!1;var b=a.H.objectStoreNames;return _.qc(n2c).every(function(c){return b&&b.contains(c)})},H2c=function(){var a=_.Jh();_.QFc("GoogleDriveDs").Cf(function(b){b?G2c(b)?a.resolve(b):(b.close(),_.Kh(gUc().then(),function(){return a.resolve(null)})):a.resolve(null)},function(){a.resolve(null)});return a.promise},I2c=function(a,b,c){var d=_.Jh();a?_.gN(a,["Versions"],"readonly").objectStore("Versions").getAll().Cf(function(e){e=
_.qc(e).map(function(f){return $1c(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},J2c=function(a,b,c){var d=_.Jh();H2c().then(function(e){e?_.gN(e,["Offline"],"readonly").objectStore("Offline").get(a+":"+b).then(function(f){return f2c(f)}).then(function(f){if(f){var h=0;"number"==typeof c&&"number"==typeof f.t3&&(h=c+f.t3-Date.now());var k=_.gN(e,["Versions"],"readonly");k.objectStore("Versions").get(f.u3).then(function(l){(l=
$1c(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},K2c=function(a,b,c){var d=_.Jh(),e=new KR(_.Fh(a),b);o2c(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},L2c=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=K2c(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: "+JR(l)))});d.resolve(k)})},M2c=function(a,b,c){var d=Date.now()-12096E5,e=_.Jh();H2c().then(function(f){f?(_.Kh(e.promise,function(){return f.close()}),I2c(f,a,b).then(function(h){return h.filter(function(k){return k.A_<d})},function(){return[]}).then(function(h){L2c(h,c,f,e)})):e.resolve([])});return e.promise},N2c=function(a,b,c){var d=_.Jh();H2c().then(function(e){e?
(_.Kh(d.promise,function(){return e.close()}),I2c(e,a,b).then(function(f){L2c(f,c,e,d,!0)})):d.resolve([])});return d.promise},O2c=function(a,b,c,d){if(a.length){var e=a.shift(),f=j2c(e,3,0,1);try{_.gN(c,["Data"],"readonly").objectStore("Data").get(f).then(function(h){(h=m2c(h))&&(!h.LR||h.LR&&d.has(e.V))?b.resolve(e):O2c(a,b,c,d)},function(){return b.resolve(null)})}catch(h){b.resolve(null)}}else b.resolve(null)},P2c=function(a,b,c,d,e,f,h){var k=_.Jh();H2c().then(function(l){l?(_.Kh(k.promise,function(){return l.close()}),
I2c(l,a,b).then(function(n){return n.filter(function(q){return(!h||h!=JR(q))&&q.W==c&&q.A_>=e&&bPc(d.filter(function(t){return!_.RHc.has(t)}),q.Fg(),b)})},function(){return[]}).then(function(n){n.length?(n.sort(function(q,t){return t.A_-q.A_}),O2c(n,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},Q2c=function(a,b,c){this.V=a;this.H=_.Jh();this.ua=!1;this.W=_.D(b,7,"");this.ka=_.D(_.mQ(b),6,2E7);this.ha=_.oN(b);this.ma=_.D(_.mQ(b),12,0);this.wa=c};
Q2c.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 R2c=function(a){if(a instanceof _.zC)return 0;if(a instanceof kR)return 1;if(a instanceof aTc)return 5;if(a instanceof VQ)return 3;if(a instanceof aYc)return 6;throw new _.rb("Unsupported dataShard in getDataType");},S2c=function(a){if(0==a)return _.zC;if(1==a)return kR;if(5==a)return aTc;if(3==a)return VQ;if(6==a)return aYc;throw new _.rb("Unsupported dataType:"+a+" in getDataTypeCtor");},T2c=function(a){if(a instanceof VQ)return _.D(a,13,0)},U2c=function(a){if(a instanceof VQ)return a.Bd().length},
V2c=function(a){if(a instanceof VQ)return a=_.E(a,6),null!=a?a:void 0},Z2c=function(a,b,c){if(0==c.length)return _.Fh();var d=R2c(c[0]);c.forEach(function(){});var e=T2c(c[0]);3==d&&W2c(a,c);var f=!!b;return X2c(a,c).then(function(h){return f?Y2c(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 z2c(a.V,h,d,e,f)})})},X2c=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 X1c(n,U2c(l),V2c(l)))}});if(e){var h=Error("dg"),k=new _.qb;_.iN(k,2);_.WM(k,23);_.x(k,21,h.message);_.Hq(k);a.wa(k);d(h)}c(f)})},W2c=function(a,b){T2c(b[0]);b.forEach(function(){});a.ha||$2c(b);a3c(a,b)},MR=function(a,b,c,d,e){var f=_.Jh();a.H.promise.then(function(){return x2c(a.V,c,d,e)}).then(function(h){var k=h.map(function(n){return n.data}),l=new _.Mh;h[0]&&h[0].LR?b3c(a,l,
b,k):l.callback(k);return l.then()}).then(function(h){var k=[];h.forEach(function(l){var n=S2c(c);k.push(new n(JSON.parse(l)))});3==c&&(a.ha||c3c(k),d3c(k));f.resolve(k)}).ag(f.reject,f);return f.promise},$2c=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].wJ().length)return;var c=new Map,d=new Map;a.forEach(function(f){(f.Bd()||[]).forEach(function(h){_.YO(h,NR(_.Ik(h),c,d));_.ZO(h,NR([h.Ro()],c,d)[0]);var k=NR([h.dB()],c,d)[0];_.R(h,47,k);k=NR([_.C(h,_.wk,91)],c,d)[0];_.R(h,91,k);k=
NR([h.rB()],c,d)[0];_.R(h,95,k);if(h=h.gv())_.IJc(h,NR(_.Rj(h,_.wk,2),c,d)),_.JJc(h,NR(_.Rj(h,_.wk,3),c,d))})});var e=[];c.forEach(function(f){return e.push(f)});bWc(a[0],e)}},NR=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},c3c=function(a){var b=new Map,c=new Map;a[0]&&a[0].wJ()&&a[0].wJ().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){_.YO(e,OR(_.Ik(e),b,c));_.ZO(e,OR([e.Ro()],b,c)[0]);var f=OR([e.dB()],b,c)[0];_.R(e,47,f);f=OR([_.C(e,_.wk,91)],b,c)[0];_.R(e,91,f);f=OR([e.rB()],b,c)[0];_.R(e,95,f);if(e=e.gv())_.IJc(e,OR(_.Rj(e,_.wk,2),b,c)),_.JJc(e,OR(_.Rj(e,_.wk,3),b,c))});bWc(d,[])})},OR=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},a3c=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=WQ(new VQ,f);d.push(f)}WQ(b[c],e);d.length&&_.Ue(_.va,b,c+1,0).apply(null,d)}}},d3c=function(a){for(var b={},c=1;c<a.length;b={N3:b.N3},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.N3=e.Bd();d.forEach(function(f){return function(h){_.ta(f.N3,h.Bd())}}(b));WQ(e,b.N3)}},
Y2c=function(a,b,c){if(!_.lN()&&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=tYc(new sYc,c);d.postMessage({command:"encrypt",data:{request:c.Dc(),key:b}});return e}try{a=[];var f=new T1c(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},b3c=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.ka){b.callback(void 0);
return}if(!_.lN()&&a.W){var f=new Worker(a.W);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(k){f.terminate();throw Error(k);},!1);f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new T1c(c);for(c=0;c<d.length;c++)a.push(W1c(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},e3c={key:"rid",global:!0},f3c={key:"ooi",global:!0},g3c={key:"rtds",global:!1},h3c={key:"dct",global:!1},i3c={key:"pc",global:!1},
j3c=function(a){this.H=new _.Eh(function(b){a?a.initialize().then(function(){return b(a)},function(){return b(null)}):b(null)})},k3c=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(){})})},PR=function(a,b,c){return a.H.then(function(d){return d&&!d.lh()?B2c(d,[new b2c(b.key,c,b.global)]).then(function(){return!0},function(){return!1}):!1})};
j3c.prototype.jn=function(){return k3c(this,e3c).then(function(a){return a?a:null})};var l3c=function(a){return k3c(a,f3c).then(function(b){return"boolean"===typeof b?b:null})};j3c.prototype.CA=function(a){return PR(this,f3c,a)};
var m3c=function(a){return k3c(a,i3c).then(function(b){return"boolean"===typeof b?b:null})},n3c=function(a){return k3c(a,g3c).then(function(b){return Array.isArray(b)?b:null})},o3c=function(a){return k3c(a,h3c).then(function(b){return"number"===typeof b?b:null})},p3c=function(a,b){B1c.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(p3c,B1c);
p3c.prototype.handleError=function(){this.log("Local dump population failed.");ZQ(this.context.ha,"mrK8ic")};
p3c.prototype.ua=function(){var a=this;if(this.wa)return this.wa;if(this.context.Db){var b=new _.Mh;this.wa=b;q3c(this).then(function(){var c=_.Rj(_.mQ(a.H),kQ,11);c=c[0]&&c[0].getKey()||"";return r3c(a,a.context.Db,c,4)}).ag(function(c){if(_.A(a.H,8,!0))return s3c(a);throw c;}).then(function(){_.oN(a.H)||a.context.V.ma.H.clear();ZQ(a.context.ha,"zaOY7");b.callback()},function(c){D1c(a,8);a.handleError();b.Dd(c)});return b}this.handleError();return _.Th(Error("eg"))};
var q3c=function(a){return a.context.Db.initialize().then(function(){if(!_.iP(a.H)){var b=_.D(_.mQ(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Eh(function(c,d){m3c(a.context.Ga).then(function(e){e?c():d(Error("fg"))})})}})},r3c=function(a,b,c,d){var e=a.ha;t3c(a,b,c,e);u3c(a,b,c,e);v3c(a,b,c,e);return w3c(a,b,c,e).then(function(){return Promise.all([x3c(a,b,c,d,e),y3c(a,b,c,d,e),z3c(a,b,c,d,e),A3c(a,b,c,d,e)])})},t3c=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};
MR(b,c,0,void 0,d).then(function(f){f[0]?j0c(a.context.tc,f[0],a.Re(),_.iP(a.H)):e()},function(){return e()})},u3c=function(a,b,c,d){var e=function(){return a.log("Failed to load apps from storage.")};MR(b,c,1,void 0,d).then(function(f){f[0]?a.context.ad.kna(f[0],a.Re(),_.iP(a.H)):e()},function(){return e()})},v3c=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};MR(b,c,5,void 0,d).then(function(f){if(f[0]){f=f[0];var h=f.Ow();h.length&&y1c(a.context.Ma,h,
a.Re(),_.z(f,2),_.iP(a.H))}else e()},function(){return e()})},x3c=function(a,b,c,d,e){var f=new _.fn;MR(b,c,3,1,e).then(function(h){return B3c(a,h[0])}).then(function(h){if(h){b!=a.context.Db||bPc(h.Sh(),_.CP(a.ka),_.hP(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.wa.dP());var k=h.gy();if(!k||0>k)throw Error("ig");w1c(a.context,h.jn(),d);k=h.gy();"number"===typeof k&&x1c(a.context,Number(k));_.iP(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),
a.context.Dma());C3c(a,h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},y3c=function(a,b,c,d,e){var f=new _.fn;MR(b,c,3,2,e).then(function(h){h[0]?(C3c(a,h[0],d),f.resolve()):f.reject(Error("gg"))},f.reject,f);return f.promise},z3c=function(a,b,c,d,e){var f=new _.fn;_.jP(a.H)?MR(b,c,3,4,e).then(function(h){h.forEach(function(k){C3c(a,k,d)});f.resolve()},f.reject,f):(f.resolve(),ZQ(a.context.ha,"rVezo"));return f.promise},A3c=function(a,b,c,
d,e){var f=new _.fn;_.jP(a.H)?MR(b,c,3,3,e).then(function(h){h.length?h.forEach(function(k){C3c(a,k,d)}):ZQ(a.context.ha,"rVezo");f.resolve()},f.reject,f):(f.resolve(),ZQ(a.context.ha,"rVezo"));return f.promise},w3c=function(a,b,c,d){var e=new _.fn;MR(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(),D3c(a.context.V.ma.H,h,2));e.resolve()},e.reject,e);return e.promise},
B3c=function(a,b){var c=b.gy();return c&&!_.iP(a.H)?Q1c(new O1c(a.context.Dm()),c).then(function(d){return null!=_.z(d,2)?(a.log("Encrypted dump too stale."),a.context.ua.H(106007),D1c(a,9),null):b},function(){return b}):_.Fh(b)},s3c=function(a){var b=JR(a.context.hb.V),c=_.Rj(_.mQ(a.H),kQ,11).filter(function(d){return null!=_.z(d,2)});return P2c(_.gP(a.H.Ne()),_.hP(a.H),_.D(_.mQ(a.H),10,0)||0,_.CP(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 KR(_.Fh(d),a.context.W,null,!0),h=new Q2c(f,a.H,function(k){a.context.rb(k)});h.initialize();a.Ba=!0;return r3c(a,h,e?e.getKey():null,8).then(function(){return f.getMetadata([i3c])}).then(function(k){if(k[0])return k=k[0].yb(),PR(a.context.Ga,i3c,k)}).then(function(){f.close()})}return _.Gh(Error("hg"))})},H3c=function(a,b,c){switch(_.D(b,13,0)){case 1:return E3c(a,b,c);case 2:b=_.C(b,JPc,11);if(!b)throw Error("jg");C1c(a,b);a.V.V?(a.V.gx(a.Re()),a=[{cache:a.V,changes:GR(a.context.Ba,
null)}]):a=[];return a;case 3:return F3c(a,b);case 4:return G3c(a,b);default:return null}},E3c=function(a,b,c){var d=[];_.Rj(b,UQ,5).forEach(function(e){var f=void 0,h=_.C(e,_.Hk,3);h&&(_.BIc(h),_.E(a.H,67)&&YP(h,dPc),_.x(h,82,c),f=new XQ(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=aR(a.context.ma,l,!0);return _.Xj(l,k)}))e=new yR(a.context.Ka,a.context.Xa,a.context.ma,k,f),e.gx(a.Re()),d.push({cache:e,changes:GR(a.context.Ba,null)})});return d},
G3c=function(a,b){return _.Rj(b,UQ,5).map(function(c){c=new HR(a.context,a.ka,_.C(c,_.SM,5),!0);c.gx(a.Re());return{cache:c,changes:GR(a.context.Ba,null)}})},F3c=function(a,b){if(!_.jP(a.H))return[];var c=_.z(_.Rj(b,UQ,5)[0].getQuery(),33)[0],d=b.gy()||void 0;b=GR(a.context.Ba,c);QR(a.context).nb(function(f){f.afa(c,d)});var e=new FR(a.context.Ka,a.context.Xa,c);e.gx(a.Re());return[{cache:e,changes:b}]},C3c=function(a,b,c){var d=H3c(a,b,c);d&&0!=d.length?(b.Bd().forEach(function(e){_.BIc(e);_.E(a.H,
67)&&YP(e,dPc);_.x(e,82,c);if(!_.oN(a.H)&&!a.context.V.ma.H.uc()){var f=a.context.V.ma;I3c(f,RR(f,[e]))}e=new XQ(e);for(f=0;f<d.length;f++)d[f].cache.update(sR(e))}),d.forEach(function(e){var f=e.cache;a.dispatchEvent(new r1c(f,e.changes));a.log("Imported "+f.Z_()+" items into the "+f.getType());var h=null;f instanceof FR&&(h=f.wc());a.context.Ie.promise.then(function(){q1c(a.context.Ba,h)})}),1==_.D(b,13,0)&&ZQ(a.context.ha,"ZA9qG")):a.log("Ignoring corpus cache for "+_.D(b,13,0)+".")};
p3c.prototype.Re=function(){return this.Ba?7:3};var J3c=function(a){_.N.call(this);this.H=a};_.I(J3c,_.N);
var Q3c=function(a,b){K3c(a,"Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:L3c(a,b);break;case 4:M3c(a,b);break;case 6:N3c(a,b);break;case 2:O3c(a,b);break;case 7:P3c(a,b);break;case 5:_.Rj(_.C(b,hYc,7),gYc,1).forEach(function(c){return Q3c(a,c)});break;default:R3c(a,"Unsupported prefetched request.")}},L3c=function(a,b){var c=_.C(b,_.se,2);b=JSON.parse(_.z(b,3)||"{}");var d=new _.XM;_.iIc(d,c);b=_.NMc(a.H.lc.V,d,{headers:{},text:"",json:b}).qr();S3c(a,
c,b)},N3c=function(a,b){S3c(a,_.C(b,_.se,2),_.C(b,_.pC,9))},S3c=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=V0c(c);a=a.H.V;b=aR(a.H.ma,b);e=SR(a,b);TR(a,"Initializing cache with "+d.length+" items for key '"+e+"'");f=a.W[e];f||(f=new UR(a.H,b),f.gx(2),a.W[e]=f);c.uc()||f.wka(c);eQ(a,d,1,b)},O3c=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)});y1c(a.H.Ma,
b.Ow(),2,[].concat(_.oc(d.values())))},M3c=function(a,b){a.H.Xm.V(_.C(b,nR,8).$i(),_.C(b,_.yo,6),2,!1)},P3c=function(a,b){var c=_.C(b,_.vo,10);b=JSON.parse(_.z(b,3)||"{}");b=_.NMc(a.H.lc.V,c,{headers:{},text:"",json:b});T3c(a.H).V([b],c,2,!1)},R3c=function(a,b,c){var d=c?void 0:_.Hq(_.jN(_.iN(new _.qb,2),6));a.H.dispatchEvent(new _.sb(new _.rb(b,d,c)));K3c(a,"Prefetched request population failed.")},K3c=function(a,b){a.H.W.info("drive.ds.sync.cache.PrefetchedRequestPopulator",b)},VR=function(a){B1c.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(VR,B1c);VR.prototype.ua=function(){if(!_.A(this.context.H,45,!1))return D1c(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)};
VR.prototype.Ja=function(){var a=this;ZQ(this.context.ha,"L6uQWd");QR(this.context).nb(function(b){b.c3()});if(_.A(this.context.H,46,!1))return LPc(this.context.Dm(),this.context.W).nb(function(b){if(!b)throw D1c(a,4),Error("lg");C1c(a,b)});this.log("Subscribed corpus cache population disabled.");xR(this.V);return _.Rh()};
VR.prototype.Ga=function(){var a=this;this.context.Dma();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);U3c(this,this.V,c)}c=_.Rj(this.context.H,_.se,44);_.Fa(c,function(d){d=new yR(a.context.Ka,a.context.Xa,a.context.ma,d);d.gx(5);U3c(a,d,d.kd());d=bR(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 U3c=function(a,b,c){var d=GR(a.context.Ba,null);b=new f1c(a.context,b,c);a.H.push(b);b=_.Kh(g1c(b).then(function(e){!e.V&&e instanceof ER&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.Qa.jc("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new r1c(e,d))}),function(){a.context.Ie.promise.then(function(){q1c(a.context.Ba,null)})});a.ka.push(b)};
VR.prototype.wa=function(a,b){_.Fa(this.H,function(d){d.dispose()});D1c(this,7);var c=b;b instanceof iR?c=_.LN(b.error):_.TM(b)||(c=Error("mg`"+b));a.Dd(c)};VR.prototype.ha=function(){this.log("Drive SDK cache population failed.");ZQ(this.context.ha,"Gv4zef")};VR.prototype.Re=function(){return 5};
var V3c=function(a,b){_.N.call(this);this.H=a;this.ka=b;this.ma=new _.ee(this);this.Pa(this.ma);this.W=new p3c(this.H,this.H.Ja);this.Pa(this.W);this.ha=new VR(this.H);this.Pa(this.ha);this.V=null;this.ua=[]};_.I(V3c,_.N);
var b4c=function(a){W3c(a,"Corpus cache population initiated.");a.V=a.H.ua.W(106002);_.m._DRIVE_dsp&&X3c(a);_.m._DRIVE_dspc=function(c){return X3c(a,c)};GR(a.H.Ba,null);_.A(a.H.H,24,!1)&&!_.iP(a.H.H)&&(_.m._DRIVE_ivd||null===_.m._DRIVE_ivd?Y3c(a):_.m._DRIVE_ivdc=function(){Y3c(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(){W3c(a,"Dump storage initialized.");
return a.W.ua().Cf(function(){return Z3c(a,a.W.Re())},function(){$3c(a,a.W.Re(),a.W.W);if(_.iP(a.H.H))a4c(a,Error("ng"));else return a.ha.ua().then(function(){return Z3c(a,a.ha.Re())},function(c){$3c(a,a.ha.Re(),a.ha.W);return a4c(a,c)})})},function(c){a4c(a,_.TM(c)?c:void 0,!0)})})):a4c(a,void 0,!0)},X3c=function(a,b){var c=new J3c(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{Q3c(c,new gYc(JSON.parse(d)))}catch(e){R3c(c,"Error parsing prefetched request.",
e)}});c.dispose()};V3c.prototype.wa=function(a){var b=a.Je;W3c(this,"Cache populated: "+b.getType());this.ua.push(c4c(this,b,a.H))};
var Z3c=function(a,b){q1c(a.H.Ba,null);ZQ(a.H.ha,"L6uQWd");QR(a.H).nb(function(c){c.c3()});return Promise.all(a.ua).then(function(){return d4c(a,b)})},e4c=function(a){return(a=a.H.V.ka.H)&&a.V?1:2},d4c=function(a,b){if(!a.isDisposed()){_.iP(a.H.H)||f4c(a.ka,_.Rj(a.H.H,_.se,44));W3c(a,"Corpus cache population complete.");var c=a.H.ha;c.H("mrK8ic")?c.H("Gv4zef")||a.H.wa.Ema():m3c(a.H.Ga).then(function(d){d&&a.H.wa.Ema()},function(){});ZQ(c,"rVezo");ZQ(c,"BNEDtc");a.V&&(b=_.OP(_.uN,b),jSc(pQ(a.V),b),
iSc(pQ(a.V),!0),kSc(pQ(a.V),AXc(a.ka.V)),lSc(pQ(a.V),e4c(a)),a.V.V());a.dispose()}},$3c=function(a,b,c){a.V&&(b=_.OP(_.uN,b),jSc(pQ(a.V),b),a=pQ(a.V),_.Pj(a,3,c,void 0))},a4c=function(a,b,c){c=void 0===c?!1:c;q1c(a.H.Ba,null);var d=a.H.ha;ZQ(d,"L6uQWd");QR(a.H).nb(function(e){e.c3()});ZQ(d,"mrK8ic");ZQ(d,"Gv4zef");ZQ(d,"rVezo");ZQ(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: ",_.TM(b)?(d=b,c+=
d.message):c+=String(b),W3c(a,c),b=new _.rb(c,void 0,d),d=b.dg,_.iN(d,_.iP(a.H.H)?3:1),_.jN(d,6),_.Fq(d,c),_.Hq(d),a.H.dispatchEvent(new _.sb(b))):W3c(a,"Corpus population skipped");a.V&&(iSc(pQ(a.V),!1),a.V.V());a.dispose()},c4c=function(a,b,c){return s1c(b,c).then(function(d){d.some(function(e){return b instanceof FR&&e.Qz()&&e.Hc()==b.wc()})||z1c(a.ka,b,d)},function(){return a4c(a,Error("og"))})},Y3c=function(a){if(_.m._DRIVE_ivd){var b=new t1c(a.H,a.H.Ja);a.Pa(b);A1c(b)}else ZQ(a.H.ha,"DEJoH")},
W3c=function(a,b){a.H.W.info("drive.ds.sync.cache.CorpusCachePopulatorManager",b)},g4c=function(a,b){_.gi.call(this,"Mb");this.ka=a;this.H=b};_.I(g4c,_.gi);g4c.prototype.getError=function(){return this.H};var h4c=function(a){_.gi.call(this,"Nb");this.H=a};_.I(h4c,_.gi);h4c.prototype.getPeople=function(){return this.H};var i4c=function(a){_.gi.call(this,"Ob");this.H=a};_.I(i4c,_.gi);i4c.prototype.getPeople=function(){return this.H};
var j4c=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())};j4c.prototype.To=function(){return this.ha.clone()};j4c.prototype.Re=function(){return this.H};j4c.prototype.Xo=function(){return[1,4,2].includes(this.Re())};var k4c=function(a){this.V=a;this.H=new Map;this.W=this.V.ha};
k4c.prototype.create=function(a,b){if(0!=NSc(b)){var c=this.V.W(106001);if(c){var d=NSc(b),e=oQ(c);_.x(e,2,d);d=null;if(b instanceof _.FG||b instanceof _.oo||b instanceof _.se||b instanceof _.nO||b instanceof _.fD||b instanceof _.wo||b instanceof _.SM||b instanceof _.CO||"undefined"!=typeof _.DO&&b instanceof _.DO||b instanceof _.yo)d=b.oe();b=d&&_.A(d,2,!1);b="boolean"==typeof b?b:void 0;"boolean"==typeof b&&(d=oQ(c),_.x(d,7,b));this.H.set(a,c)}}};
var l4c=function(a,b,c){if(a=a.H.get(b))a=oQ(a),_.x(a,5,c)},m4c=function(a,b,c,d,e){var f=a.H.get(b);f&&(oQ(f).Ec(c),c=oQ(f),_.x(c,1,d),null!=e&&(d=oQ(f),_.x(d,6,e)),f.V(),a.H.delete(b))},n4c=function(a,b,c){var d=a.H.get(b);if(d){var e=a.W.Gb(c);c=OSc(c);if(1==e||2==c)e=_.OP(_.uN,c),d=oQ(d),d=3==e||8==e?!_.E(d,5):0!=e?_.THc.has(e):null,m4c(a,b,1,e,d)}},o4c=function(a,b,c){var d=a.W.Gb(c);d=_.OP(_.vHc,d||22);var e=OSc(c);e=_.OP(_.uN,e);m4c(a,b,d,e,"undefined"!=typeof _.SP&&c instanceof _.SP||"undefined"!=
typeof _.UP&&c instanceof _.UP||"undefined"!=typeof _.VP&&c instanceof _.VP?c.W:null)},WR=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(oQ(d).Ec(c),d.V(),a.H.delete(b))},q4c=function(a,b,c,d){_.O.call(this);var e=this;this.V=a;this.W=b;this.ha=c;this.ka=d;this.ma=new _.QM(function(){return p4c(e)},100,this);this.H=[]};_.I(q4c,_.O);
var p4c=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));r4c(a,b)}})},r4c=function(a,b){a.ha.then(function(c){return c.H(ASc(new _.rO,b))}).then(function(c){c=c.Uo();a.dispatchEvent(new h4c(c))},function(c){c=_.MN(c);a.dispatchEvent(new g4c(b,c))})},t4c=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,BRc,85))||(d=new BRc);this.wa=_.D(d,1,864E5);this.ma=new q4c(a,b,c,f);this.H=new Map;this.ua=new _.tE(function(){var k=PSc(h.Ba,106015);if(k){var l=_.C(_.NP(k),qSc,11);if(!l){l=new qSc;var n=_.NP(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();D3c(h,k,1);h.ua.ue()});this.ka.listen(this.ma,"Mb",function(k){return s4c(h,k)});this.ha=new Map};_.I(t4c,_.O);
t4c.prototype.get=function(a){var b=this.V?_.tg():"";this.V&&this.W.create(b,ASc(new _.rO,[a]));var c=this.H.get(a);if(c)return 4==c.Re()||u4c(this,c)?(this.V&&WR(this.W,b,u4c(this,c)?6:5),v4c(this,a+" queued for refresh."),w4c(this,a)):this.V&&m4c(this.W,b,1,_.OP(_.uN,10),null),c;this.V&&WR(this.W,b,5);return null};
var w4c=function(a,b){if(!b)return Promise.resolve();if(a.ha.has(b))return a.ha.get(b).promise;var c=a.ma;b&&_.oN(c.V)&&(c.H.includes(b)||c.H.push(b),c.ma.ue());c=new _.fn;a.ha.set(b,c);return c.promise},y4c=function(a,b){var c=a.V?_.tg():"";a.V&&a.W.create(c,ASc(new _.rO,[b]));return x4c(a,b)?(a.V&&m4c(a.W,c,1,_.OP(_.uN,10),null),Promise.resolve(a.H.get(b))):w4c(a,b).then(function(){a.V&&(x4c(a,b)?m4c(a.W,c,1,_.OP(_.uN,1),null):WR(a.W,c,3));return a.H.get(b)})};
t4c.prototype.uc=function(){return 0==this.H.size};t4c.prototype.clear=function(){v4c(this,"Clearing the PeopleCache.");this.H.clear()};
var z4c=function(a){return[].concat(_.oc(a.H.values())).filter(function(b){return b.Xo()}).map(function(b){return b.To()})},A4c=function(a,b){return(a=a.H.get(b))?[].concat(_.oc(a.V)):[]},B4c=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))}},D3c=function(a,b,c){[1,2].includes(c)?0!=b.length&&(v4c(a,"Importing "+b.length+" from "+(Object.keys(ZXc)[c]+".")),C4c(a,b,c)):v4c(a,"Attempted to import people data from an invalid source.",
"warning")},E4c=function(a,b,c,d){0!=b.length&&D4c(a,b,c,void 0===d?0:d)},x4c=function(a,b){b=a.H.get(b);var c;(c=!b||!b.Xo())||(c=4==b.Re()||u4c(a,b));return!c},D4c=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&&w4c(f,_.z(h,1)),k=new j4c(h,l,k),f.H.set(_.z(h,1),k))}return e},u4c=function(a,b){return 1==b.Re()&&Date.now()-Number(b.W)>a.wa},v4c=function(a,b,c){a.Ga.log("drive.ds.sync.cache.PeopleCache",b,void 0===c?"info":c)},s4c=function(a,b){b=b.ka.map(function(c){var d=a.H.get(c);return d?d.To():OPc(new dQ,c)});C4c(a,b,4)},C4c=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))}D4c(a,b,void 0,c)&&a.dispatchEvent(new i4c(b))},F4c=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 t4c(a,b,c,d,e,f);this.V.listen(this.H,"Ob",function(k){return h.dispatchEvent(k)})};_.I(F4c,_.O);F4c.prototype.l3=function(a){if(a.H){var b=a.H.getItem(),c=RR(this,[b]).map(function(d){return QPc(d)});E4c(this.H,c,a.H.getId(),G4c(_.z(b,82)))}a.V&&B4c(this.H,a.id,H4c(this,a))};
var G4c=function(a){return _.UHc.get(a)||0},H4c=function(a,b){var c=I4c(a,b.V),d=I4c(a,b.H);return c.filter(function(e){return!d.includes(e)})},I4c=function(a,b){return b?RR(a,[b.getItem()]).map(function(c){return _.EG(c)}):[]},K4c=function(a,b){b=b.getUser();E4c(a.H,[QPc(b)],"ACCOUNT");J4c(a,b)},L4c=function(a,b){var c=_.Rj(b,_.lP,2).map(function(d){var e=_.C(d,_.wk,9,1);return y4c(a.H,_.EG(e)).then(function(){return void I3c(a,[e])})});return Promise.all(c).then(function(){return b})},I3c=function(a,
b){b=_.u(b);for(var c=b.next();!c.done;c=b.next())c=c.value,_.EG(c)&&J4c(a,c)},M4c=function(a,b,c){for(var d=new Set,e=_.u(b),f=e.next();!f.done;f=e.next())f=f.value,_.EG(f)&&(d.add(_.EG(f)),E4c(a.H,[QPc(f)],c));return Promise.all([].concat(_.oc(d)).map(function(h){return y4c(a.H,h)})).then(function(){return I3c(a,b)})},N4c=function(a,b){return RR(a,[b]).some(function(c){return!i0c(a,_.EG(c))})},i0c=function(a,b){return x4c(a.H,b)},RR=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))?RR(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&&!!_.EG(c)})};F4c.prototype.getItems=function(a){return A4c(this.H,a).filter(function(b){return"ACCOUNT"!=b})};
var O4c=function(a,b){return b.map(function(c){c=c.clone();var d=RR(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})},J4c=function(a,b){var c=a.H.get(_.EG(b));if(c){a=c.To();var d=_.hJc(b.zd(a.getName()),a.getEmail());c=_.SHc.get(c.H)||1;_.x(d,16,c);(a=_.C(a,PPc,4))&&b.Fs(a.getUrl())}},P4c=function(){DR.apply(this,arguments)};_.I(P4c,DR);
P4c.prototype.QD=function(a){var b;if(b=DR.prototype.QD.call(this,a))a=a&&a.getItem()&&a.getItem().Cm(),b=!(!a||!a.hs());return b};P4c.prototype.kd=function(){};P4c.prototype.getType=function(){};P4c.prototype.wT=function(){};
var Q4c=function(a,b){this.V=a;this.W=b;this.H={}},S4c=function(a,b){if(!_.jO(b)){var c=_.z(b,33);if(1==c.length)R4c(a,c[0],b);else{c=_.eP(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(),R4c(a,f,b))}else R4c(a,null,b)});return}if(c.getItem().wc()&&_.Dk(c.getItem().getCapabilities())){c=c.getItem().wc();R4c(a,c,b);return}}R4c(a,null,b)}}},R4c=
function(a,b,c){if(b){var d=a.W.get(b);if(d&&!eR(d.getItem()))return}d=b||"subscribed";a.H[d]||(a.H[d]=[]);a.H[d].push(c);b&&(QR(a.V).nb(function(e){e.afa(b)}),T4c(a.V.iw,b))},U4c=function(a,b){if(!_.jO(b)){var c={},d;for(d in a.H){c.GL=d;for(var e=0;e<a.H[c.GL].length;e++)if(_.Xj(b,a.H[c.GL][e])){_.na(a.H[c.GL],e);"subscribed"!=c.GL&&QR(a.V).nb(function(f){return function(h){h.oqa(f.GL,!1)}}(c));return}c={GL:c.GL}}}},V4c=function(){this.H=new Map;this.V=[];this.W=[]};
V4c.prototype.update=function(a){var b=this,c=a.id,d=a.V;a=a.H;var e=(d||a).getItem();_.PN(e)&&(a?(e=a.getItem().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 W4c=function(a){return a.W.filter(function(b){return!a.V.includes(b)})},X4c=function(a){a.V=[];a.W=[]},YR=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(YR,_.O);var Y4c=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};YR.prototype.Ma=function(a,b){this.ka(b);Z4c(this,a)};
var Z4c=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")};YR.prototype.Ka=function(a,b){b=_.MN(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),Z4c(this,a)):(a=new iR(c,_.D(this.Ba.mf(),1,1)),this.dispatchEvent(a),this.H.reject(b))};var $4c=function(a,b){YR.call(this,_.Yj(a),b.Dm(),b.H,b.W);this.V=b};_.I($4c,YR);
$4c.prototype.W=function(a){var b=new Map;a.Il().forEach(function(c){var d=_.$va(_.Yj(a),[c]);b.set(c,d)});return b};$4c.prototype.ka=function(a){a=a.Bd()[0];eQ(this.V.V,[a],1,void 0,!0,this.request.Sh())};$4c.prototype.ma=function(a){eQ(this.V.V,[],1,a,!1,this.request.Sh())};$4c.prototype.ua=function(a){a=_.AN(_.wN(new _.vN,a));this.V.V.ua([a])};var a5c=function(a,b,c,d){zR.call(this,a);this.W=b;this.hc=c;this.V={};d&&this.kA(d,!0)};_.I(a5c,zR);_.g=a5c.prototype;
_.g.refresh=function(){var a=this;this.H=6;var b=$Q(this.context.H)!=$Q(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);_.$va(d,c);var e=new $4c(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"),H0c(a),Y4c(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),H0c(this),Y4c(e).then(f.resolve,f.reject,f));return f.promise};_.g.l5=function(a){return this.context.ma.equals(a,this.hc)&&YOc(_.CP(this.W),a.Sh())};_.g.aU=function(a){var b=new _.PP;b.Ec(this.H);TTc(b,this.Re());UTc(b,_.lf(this.V,function(c){return c?c.getItem():null}));C0c(this,a.Sh(),b.$r());return b};_.g.resize=function(){};_.g.kd=function(){return this.hc};
_.g.CO=function(a){var b=b5c(this,a.V),c=b5c(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 b5c=function(a,b){return!!b&&a.hc.Il().includes(b.getId())},UR=function(a,b,c,d,e){zR.call(this,a);var f=this;this.hc=_.Yj(b);this.ha=new CR(this.context,this.hc,!1,e);this.wa=0;b=this.hc.Td()&&zWc(this.hc.Td());e=this.context.Xa;this.ka=b?(0,_.K)(e.compare,e,this.hc):null;this.Fc=!b||!mXc(this.hc)||_.ZM(a.H.Ne());this.tc=lXc(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);_.OO(this.hc)&&this.Xd.listen(this.context.wh,"Jb",this.Kc);_.ud(this,function(){_.gc(f.ha);c5c(f)})};_.I(UR,zR);UR.prototype.refresh=function(){return d5c(this,!1)};var d5c=function(a,b){a.H=6;if(_.A(a.hc,48,!1))return a.H=1,_.Fh();if(_.OO(a.hc)){var c=e5c,d=a.context.wh.H;d=Math.max(Date.now()-d,a.Ma);c(a,Math.min(d,2592E5))}return f5c(a,b)};UR.prototype.initialize=function(){return this.W>=this.hc.oh()||1==this.H?_.Fh():this.refresh()};
var c5c=function(a){a.V.forEach(function(b){b.H--});a.W=0;a.V=[];a.ua={}},e5c=function(a,b){_.m.clearTimeout(a.lc);a.lc=_.m.setTimeout(function(){return d5c(a,!0)},b)};UR.prototype.Kc=function(){Date.now()-this.Ka>this.Ma&&e5c(this,0)};
var f5c=function(a,b){a.ha&&(a.Xd.Sc(a.ha,"Gb",a.wka),a.Xd.Sc(a.ha,"Hb",a.UEa),a.ha.dispose());var c=a.hc.oe();c&&_.Ce(c,!1);a.ha=new CR(a.context,a.hc,b);a.wa=0;a.Xd.listen(a.ha,"Gb",function(){return a.wka(a.ha.ha)});a.Xd.listen(a.ha,"Hb",a.UEa);return g5c(a)},g5c=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"),h5c(a,b))}):h5c(a,b);return b.promise},h5c=function(a,b){H0c(a);var c=a.hc.oh()+a.wa;_.oia(Y0c(a.ha,c).Cf(b.resolve,
b.reject,b),function(){return a.Ka=Date.now()})};_.g=UR.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=AR(this.context);d=F0c(e,d).kd();b=Math.max(b,d.oh())}_.OO(this.hc)?(this.hc.Gi(b),2!=this.Re()&&!this.ha.H&&(b>this.W||a)?this.refresh():i5c(this)):this.hc.oh()!=b&&(this.hc.Gi(b),b>this.W?g5c(this):i5c(this))};_.g.kd=function(){return this.hc};_.g.l5=function(a){return this.context.ma.equals(a,this.hc)};
_.g.aU=function(a){var b=a.oh(),c,d=!1;if(_.kO(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();SOc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Mk(l.getItem()).length})}d=gPc(e);c=new _.QP;VSc(c,!1);WSc(c,f)}else e=this.V.slice(0,b),c=new _.pC,LRc(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),_.eKc(c,this.hb),d=gPc(e);e=cQ(e);C0c(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.IX(this.Re());c.II(this.rb);c.setSessionId(this.Ib);c.JX(this.Xb);return c};_.g.wka=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.UEa=function(){var a=this.hc.oh()-this.W;0<a&&W0c(this.ha)&&(this.wa+=a,g5c(this))};
_.g.kA=function(a,b){_.OO(this.hc)&&c5c(this);var c=!1;a=_.u(a);for(var d=a.next();!d.done;d=a.next())d=sR(d.value),c=this.CO(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&&(j5c(this,"ViewCache unsorted after import"),this.context.Xa.sort(this.hc,this.V));c&&D0c(this)};
_.g.CO=function(a,b){var c=this.ua[a.id],d=!!c,e=k5c(this,a.H,b),f=a.V;c&&(d?a.V&&a.V!=c&&j5c(this,"Updating different wrapper from the existing one"):j5c(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)?(l5c(this,b),m5c(this,a)):(c=this.V,d=this.ka?_.Ca(this.V,b,this.ka):_.ia(this.V,b),c[d]=a,a.H++,n5c(a)&&this.W++,b.H--,n5c(b)&&this.W--,_.rf(this.ua,b.getId()),this.ua[a.getId()]=a)):(l5c(this,f),_.OO(this.hc)&&e5c(this,0));
else{if(_.OO(this.hc)&&!b)return!1;m5c(this,a.H)}else return!1;return!0};
var m5c=function(a,b){a.ka?LOc(a.V,b,a.ka):a.V.push(b);b.H++;n5c(b)&&a.W++;a.ua[b.getId()]=b},l5c=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--;n5c(b)&&a.W--;_.rf(a.ua,b.getId())},k5c=function(a,b,c){if(!b)return!1;if(a.Fc&&!_.OO(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=fR(a.context.Ka,a.hc,b.getItem());return c&&a}}if(!fR(a.context.Ka,a.hc,b.getItem()))return!1;var e=1.2*a.hc.oh();if(1==a.H||!a.ka||
nWc(b.V,2)||a.W<e||c||CPc(b.getItem()))return!0;c=0==a.V.length?null:a.V[a.V.length-1];return!!c&&0>=a.ka(b,c)},i5c=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];nWc(d.V,2)||CPc(d.getItem())||(d.H--,n5c(d)&&a.W--,_.rf(a.ua,d.getId()),_.na(a.V,c),b--)}f5c(a,!1)}}},j5c=function(a,b){var c=new _.qb;_.iN(c,2);_.jN(c,6);_.Hq(c);a.context.dispatchEvent(new _.sb(new _.rb(b,
c)))},n5c=function(a){return!nWc(a.V,2)&&3!=$P(a.getItem())};UR.prototype.Ga=function(){i5c(this)};UR.prototype.Ja=function(a){return 1!=this.H&&a.oh()>this.W&&this.ha.H};
var o5c=[50],q5c=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 i1c(a.ma);this.ha=new tXc(a.mg,a.Ka,a.Xa);this.Ja=new V4c;_.E(a.H,60)&&(this.Xb=new P4c(a.Ka,a.Xa));this.Ga=new dXc(a.W,_.CP(this.Ba));(b=_.nN(this.H.H))&&!_.A(b,1,!1)&&p5c(this,_.z(this.H.H,28));this.V=new wXc(this.Ba,this.H.ma,this.ha,this.Ga);this.H.ua.ha.H=this.V;this.wa=new a1c(this.H,this.Ba,this.W,this.ha);this.Qa=new Q4c(this.H,this.ha);this.Ka=new V3c(this.H,
this);_.ud(this.Ka,function(){c.Ka=null});this.rb=_.xIc(ISc(this.Ba),o5c);YQ(this.H.ha,["NSockf"],function(){return c.initialize()});b=["NSockf","jroI5d"];_.A(this.H.H,15,!1)||this.H.Xb||b.push("NVkrgc");YQ(this.H.ha,b,function(){var d=c.H.H;if(_.C(d,_.Hk,12))d=_.C(d,_.Hk,12);else{var e=_.gJc((new _.wk).kc(c.H.Xb),!0);e=_.x(e,6,1);e=_.PM(_.YO(_.ZO(_.OM((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(_.xJc(_.qJc(_.pJc(_.tJc(_.uJc(_.sJc(_.rJc(_.oJc(_.nJc(_.mJc(_.lJc(_.kJc(_.jJc(_.iJc(new _.Bk,
_.A(d,6,!0)),!1),!1),!1),!1),!0),!0),!1),!1),!1),!1),!1),!1),!1))}eQ(c,[d],1);ZQ(c.H.ha,"hVFf7")});this.Ma=_.Jh();YQ(this.H.ha,["BNEDtc"],function(){c.Ma.resolve()});this.ma=new F4c(this.H.H,this.H.W,a.Dm(),a.bo,this.H.ua,this.H.Rd.promise);_.oN(this.H.H)&&this.Xa.listen(this.ma,"Ob",this.Ib);this.Db=new _.CNc(this.H.H,this.V)};_.I(q5c,_.N);
q5c.prototype.Ib=function(a){var b=this,c=a.getPeople();TR(this,"Handling PeopleCache updated with "+c.length+".");var d=new Map;a={};c=_.u(c);for(var e=c.next();!e.done;a={e4:a.e4},e=c.next())a.e4=e.value,this.ma.getItems(_.z(a.e4,1)).map(function(f){return function(h){var k=b.ha.get(h);if(k)return k.getItem();TR(b,"Unexpected missing wrapper for "+h+" with "+(_.z(f.e4,1)+" in the PeopleCache b/154479164."),"warning");return null}}(a)).filter(function(f){return!!f}).forEach(function(f){return d.set(f.getId(),
f)});eQ(this,[].concat(_.oc(d.values())),1);this.H.wa.update(6)};q5c.prototype.initialize=function(){b4c(this.Ka)};
var v5c=function(a,b,c){if(c instanceof _.se)c=aR(a.H.ma,c),r5c(a,c.Sh()),S4c(a.Qa,c),a=s5c(a,c),z0c(a.cache,b);else if(c instanceof _.oo)c=t5c(a,c),r5c(a,c.Sh()),a=u5c(a,c),z0c(a.cache,b);else if(c instanceof _.SM){var d=SR(a,c),e=a.W[d];e?(3==e.H?(TR(a,d+" | TeamDriveQueryRequest backed by refreshing existing cache"),e.refresh()):TR(a,d+" | TeamDriveQueryRequest backed by existing view cache"),a={cache:e,rs:!1}):(TR(a,d+" | ItemQueryRequest backed by new cache"),e=new HR(a.H,a.Ba,c),e.refresh().ag(_.Se),
a.W[d]=e,a={cache:e,rs:!0});z0c(a.cache,b)}else if(c instanceof _.wo)d=c.Sh(),e=a.Ga,eXc(e,e.V,e.ha,d),a=u5c(a,c),z0c(a.cache,b);else throw Error("pg");return a.rs},w5c=function(a,b,c){if(c instanceof _.se)c=aR(a.H.ma,c),U4c(a.Qa,c);else if(c instanceof _.oo)c=t5c(a,c);else if(!(c instanceof _.SM||c instanceof _.wo))throw Error("pg");c=SR(a,c);var d=a.W[c];d&&(A0c(d,b),d.isDisposed()&&delete a.W[c])},SR=function(a,b){return bR(a.H.ma,b,2)},s5c=function(a,b){var c=SR(a,b),d=a.W[c];if(d)return 3==d.H?
(TR(a,c+" | ItemQueryRequest backed by refreshing existing cache"),d.refresh()):TR(a,c+" | ItemQueryRequest backed by existing view cache"),{cache:d,rs:!1};d=[];for(var e=5,f,h,k=j1c(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.Nja(b,f);f=n.Re();h=n instanceof yR?n.cG():"";TR(a,c+" | ItemQueryRequest backed by "+n.getType()+" | size "+(n.Z_()+" | initial "+d.length));break}}5==e&&TR(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,TR(a,"Offline: Populate with "+d.length+" initial items(s)");d=new UR(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=_.kN(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}},u5c=function(a,b){var c=SR(a,b),d=!1,e=a.W[c];if(e)e.l5(b)?TR(a,"FindByIdsRequest backed by existing query cache: "+c):(d=a.ha.getAll(b.Il()),
b=x5c(a,b,d),d=!0,a.W[c]=b,y5c(e,b),e=b,TR(a,"FindByIdsRequest backed by recreated query cache: "+c));else{var f=a.ha.getAll(b.Il());e=x5c(a,b,f);d=!0;a.W[c]=e;TR(a,"FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items."))}return{cache:e,rs:d}},x5c=function(a,b,c){var d;b instanceof _.oo?d=new Q0c(a.H,a.Ba,b,c):d=new a5c(a.H,a.Ba,b,c);c.length&&d.gx(8);d.refresh().ag(_.Se);return d},z5c=function(a){return Object.values(a.W).filter(function(b){return b.kd()instanceof _.SM})};
q5c.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=IWc(this.H.ma,c,!0),TR(this,"Refreshing "+a+" for secondary fields: "+d+"."),this.wa.H([a],b,!1,c))};
var B0c=function(a,b,c){c&&c.length&&gXc(a.Ga,b,c);_.oN(a.H.H)&&(a=a.ma,I3c(a,RR(a,b)))},z1c=function(a,b,c){if(b instanceof HR){var d=SR(a,b.kd()),e=a.W[d];if(e){A5c(a,b,e);TR(a,d+" | Cache already exists, ignoring persisted data");return}}b instanceof wR&&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=$P(t.getItem());3==v||4==v?f[n.getId()]=n.getItem():t!=n&&k.push(JYc(n,t));_.rf(h,q)}else q=sR(n),a.ha.update(q),a.Ja.update(q),
_.oN(a.H.H)&&a.ma.l3(q);_.oN(a.H.H)&&B5c(a,n.getItem())});_.jf(h,function(n){k.push(sR(n))});d=_.u(k);for(e=d.next();!e.done;e=d.next())b.update(e.value);b instanceof HR?(d=SR(a,b.kd()),a.W[d]=b):a.ka.addAll([b]);var l=[];_.jf(f,function(n){var q=new _.vN;_.wN(q,n.getId());q.setItem(n);l.push(q)});a.ua(l);TR(a,"Merged cache: "+b.getType());b instanceof FR&&c.forEach(function(n){C5c(a.H.Fj,n)});a.H.wa.update(3)},A5c=function(a,b,c){if(c instanceof HR&&(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()){TR(a,"(b/160317444) Inconsistent shared drives list found.");_.dk(Error("qg"));QSc(a.H.ua,160317444);break}}}},y5c=function(a,b){(new Set([].concat(_.oc(a.ma)))).forEach(function(c){z0c(b,c);A0c(a,c)})},eQ=function(a,b,c,d,e,f){f||(f=d?[].concat(_.oc(d.Sh().filter(function(B){return!_.CP(a.Ba).includes(B)}))):[]);d&&d instanceof _.se&&_.OO(d)&&D5c(a,b,d);for(var h=
[],k=[],l=0;l<b.length;l++){var n=b[l],q=new XQ(n,void 0,c),t=a.ha.get(n.getId()),v=t?t.getItem():null,y=E5c(a,t,q);if(null!=y)q.CP(y),F5c(a,v,n),BPc(n),n=bXc(n,v,f),q.setItem(n);else if(null!=t)q=t,n=v;else continue;_.oN(a.H.H)&&B5c(a,n);!t||G5c(a,v,n,f)?(k.push(IYc(t,q)),h.push(q)):h.push(t)}b=null;d&&(b=SR(a,d),b=a.W[b],d instanceof _.se&&(d=m1c(a.ka,d))&&d.kA(h,!!e),b&&b.kA(h,!!e));0<k.length&&(e=_.qc(a.W),b&&_.oa(e,b),H5c(a,k,e,f),I5c(a,h));AR(a.H).ka()},B5c=function(a,b){N4c(a.ma,b)||5!=$P(b)||
_.RJc(b,1)},G5c=function(a,b,c,d){(b=b?b.clone():null)&&B0c(a,[b],d);return!_.Xj(b,c)},D5c=function(a,b,c){J5c(a,b,c);b.forEach(function(d,e){var f=a.V.H(d.getId());f&&(ZP(f,d,[1002]),ZP(f,d,[1003]),ZP(f,d,[1005]),b[e]=f);_.jO(c)&&0<_.z(c,33).length&&_.SJc(d,_.z(c,33)[0])})},J5c=function(a,b,c){var d;_.jO(c)?d="quick access":_.kO(c)?d="people predict":_.lO(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");TR(a,"Got "+b.length+" items for "+d+": "+c)},K5c=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);eQ(a,cQ(d),e)})};
q5c.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 XQ(e,void 0,void 0,d.gy()||void 0);var l=E5c(this,f,k);if(null==l)continue;k.CP(l);F5c(this,h,e);_.A(d,5,!1)&&YP(e,dPc);BPc(e);e=bXc(e,h);k.setItem(e);_.oN(this.H.H)&&B5c(this,e)}l=this.H.iw;C5c(l.H.Fj,d);if(eR(d)){var n=d.wc();d.Qz()?L5c(l,n):(d=d.getItem(),cXc(d)&&M5c(l,n))}!h&&!e||_.Xj(h,e)||b.push(IYc(f,k))}H5c(this,b,_.qc(this.W),
[])};
var F5c=function(a,b,c){b&&!c.Cm()&&ZP(c,b,a.rb);var d=b?b.kf():null,e=c.kf();e=e?_.dd(e):null;d&&e&&F5c(a,_.dd(d),e);b&&!_.Lk(c)&&ZP(c,b,[1002]);b&&!_.Mk(c).length&&ZP(c,b,[1003]);b&&!c.fJ().length&&ZP(c,b,[1005]);b&&null==c.V()&&ZP(c,b,[71]);b&&null==_.z(c,79)&&ZP(c,b,[73]);b&&_.E(b,31)&&!_.E(c,31)&&(YP(c,dPc),TR(a,"Cleared Item Suggest data for "+b.getId()+"."))},M0c=function(a,b,c){if(b instanceof _.se||b instanceof _.oo||b instanceof _.SM)b=SR(a,b),(a=a.W[b])&&G0c(a,c);else throw Error("pg");},
E5c=function(a,b,c){var d=c.getItem();if(N5c(a.H.Wf,d.getId()))return null;if(b){if(!mWc(b.V,c.V))return null;a=b.getItem();if(3!=$P(a)&&!eR(a)&&!eR(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 oWc(b&&b.V,c.V)},O5c=function(a,b){(a=a.ha.get(b))&&a.CP(oWc(a.V,-2))},P5c=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)},H5c=function(a,b,c,d){_.oN(a.H.H)&&b.forEach(function(k){return a.ma.l3(k)});P5c(a,b,d);c=_.u(c);for(d=c.next();!d.done;d=c.next())E0c(d.value,b);c=0;b=_.u(b);for(d=b.next();!d.done;d=b.next()){var e=d.value,f=!1;d=j1c(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)||iXc(a.Ga,e.id)}0<c&&a.H.wa.XEa(c);Q5c(a)},Q5c=function(a){var b=a.Ja.V.slice(0),c=W4c(a.Ja);X4c(a.Ja);if(b.length){TR(a,
"Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Ae;_.Be(d,308);a.wa.H(b,d,!0)}if(c.length){TR(a,"Updating locally stale shortcuts: "+c.join(", "));b=xXc(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)});K5c(a,e)}},t5c=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},p5c=function(a,b){b=JSc(a.Ba,b);a=a.Ga;eXc(a,a.H,a.W,b)},r5c=function(a,
b){var c=_.nN(a.H.H);c&&_.A(c,1,!1)&&p5c(a,b)},I5c=function(a,b){a.Ma.promise.then(function(){var c=b.filter(function(e){return 4==$P(e.getItem())});if(c.length){c=c.map(function(e){return e.getId()});TR(a,"Refreshing "+c.length+" partial items. "+c);var d=_.Be(new _.Ae,311);a.wa.H(c,d)}})},f4c=function(a,b){a.Ma.promise.then(function(){b.forEach(function(c){if(!m1c(a.ka,c)){TR(a,"Adding new cache hint for "+SR(a,c));var d=new yR(a.H.Ka,a.H.Xa,a.H.ma,c);c=new f1c(a.H,d,c);var e=GR(a.H.Ba,null);_.Kh(g1c(c).then(function(){s1c(d,
e).then(function(f){z1c(a,d,f)})}),function(){q1c(a.H.Ba,null)})}})})},TR=function(a,b,c){a.H.W.log("drive.ds.sync.cache.CacheManager",b,void 0===c?"info":c)},R5c=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},S5c=function(a,b){a=R5c(a);b=R5c(b);return!(!a||!b||a!=b)},T5c=function(a){return a.Hc()+"_"+R5c(a.getName())},ZR=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(ZR,_.N);
var W5c=function(a,b){a.H.add(b);U5c(a).then(function(){return V5c(a,b)})};ZR.prototype.Re=function(){return this.ka};ZR.prototype.mna=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.E$(f,c)||e});b||(e=1!=this.status||e,this.status=1);return e?X5c(this):_.Fh([])};
var X5c=function(a){for(var b=[],c=_.u(a.H.values()),d=c.next();!d.done;d=c.next())b.push(V5c(a,d.value));return _.Hh(b)},Y5c=function(a,b){a.status=3;for(var c=[],d={},e=_.u(a.H.values()),f=e.next();!f.done;d={yda:d.yda},f=e.next())d.yda=f.value,c.push(a.ha.then(function(h){return function(k){k.Ga[h.yda]=b;k.V||(k.V=_.si(k.ka,50,k))}}(d)));_.Hh(c)},Z5c=function(a){for(var b=[],c={},d=_.u(a.H.values()),e=d.next();!e.done;c={zda:c.zda},e=d.next())c.zda=e.value,b.push(a.ha.then(function(f){return function(h){(h=
h.ha[f.zda])&&h.NJ()}}(c)));_.Hh(b).then(function(){var f=0==a.Re()?1:6;a.ka=f})},U5c=function(a){return a.ha.then(function(b){var c=0;a.H.forEach(function(d){d=F0c(b,d).kd();c=Math.max(c,d.oh?d.oh()||0:0)});a.C$(c)})},$5c=function(a,b){return b?a.ma.get(a.D7(b)):null};ZR.prototype.D$=function(a,b){b=oWc($5c(this,a),b);this.ma.set(this.D7(a),b)};ZR.prototype.D7=function(a){return a};ZR.prototype.a7=function(){};
var V5c=function(a,b){return a.ha.then(function(c){var d=a.$_();c.Ba[b]=d;c.V||(c.V=_.si(c.ka,50,c))})};ZR.prototype.removeItem=function(){};var $R=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($R,_.O);
var a6c=function(a){return!a.ma||""!=a.ha},aS=function(a,b){a.W=void 0===b?1E5:b;return!a.V&&a.H.length<=a.W&&a6c(a)?b6c(a):_.Fh()},b6c=function(a){a.ma=!0;a.V=!0;var b=a.B5(a.request,a.W-a.H.length,a.ha);return a.ua(b).then(function(c){return c6c(a,c)},function(c){a.V=!1;c=_.kN(c);var d=new iR(c);a.WEa(d);a.dispatchEvent(d);return _.Gh(c)})},c6c=function(a,b){a.V=!1;a.ha=a.Q7(b);b=a.m7(b);b.forEach(function(c){return a.H.push(c)});a.a0(b);return a.H.length<a.W&&a6c(a)?_.Hh([_.Fh(b),b6c(a)]).then(function(c){return c[0].concat(c[1])}):
_.Fh(b)};$R.prototype.a0=function(){};$R.prototype.WEa=function(){};var d6c=function(a,b,c){$R.call(this,c,function(d){return a.then(function(e){return e.H(d)}).ag(function(e){return _.NN(e)})});this.ka=b};_.I(d6c,$R);_.g=d6c.prototype;_.g.B5=function(a,b,c){a=_.Yj(a);a.Gi(b);return new _.IIc(a,c)};_.g.Q7=function(a){return a.pageToken||""};_.g.m7=function(a){return a.response.V()};_.g.a0=function(a){bS(this.ka,a,!1,1)};
_.g.WEa=function(a){var b=this.ka;(b=b.H.get(b.getKey(this.request)))&&Y5c(b,a)};var e6c=function(a,b,c,d){ZR.call(this,a,_.Yj(d));this.V=[];this.W=null;this.wa=b;this.ua=c};_.I(e6c,ZR);e6c.prototype.refresh=function(){Z5c(this);this.W=new d6c(this.wa,this.ua,this.request);return aS(this.W,this.request.oh()||100)};var f6c=function(a,b){return a.V.find(function(c){return S5c(c.getName(),b)})};_.g=e6c.prototype;
_.g.C$=function(a){this.W&&a==this.request.oh()||(this.request.Gi(a),this.W?aS(this.W,a):this.refresh())};_.g.$_=function(){var a=this,b=bUc((new yQ).Ec(this.status),this.V.filter(function(c){return a.ua.Qla(c)}).map(function(c){return c.clone()}));return new _.TP(b,void 0,void 0,this.Re())};_.g.mna=function(a,b,c){var d=this;a=a.filter(function(e){return e.Hc()==d.request.Hc()});return ZR.prototype.mna.call(this,a,b,c)};
_.g.E$=function(a,b){b=void 0===b?1:b;if(!mWc($5c(this,a.getName()),b))return!1;var c=-1==b?0:this.V.length,d=this.V.findIndex(function(e){return S5c(e.getName(),a.getName())});-1<d&&(this.V.splice(d,1),c=d);this.V.splice(c,0,a);this.D$(a.getName(),b);return!0};_.g.removeItem=function(a){_.pa(this.V,function(b){return S5c(b.getName(),a)})&&(this.ma.delete(this.D7(a)),X5c(this))};_.g.D7=function(a){return R5c(a)};_.g.D$=function(a,b){f6c(this,a)&&ZR.prototype.D$.call(this,a,b)};
_.g.a7=function(a){var b=this;return a instanceof _.yO&&a.Hc()!=this.request.Hc()?[]:a.cN().map(function(c){return f6c(b,c.Nk())}).filter(function(c){return c}).map(function(c){return c.clone()})};
var cS=function(){this.H=new Map},g6c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.E5(c),a.H.set(d,e));W5c(e,b);return f},h6c=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.zga(c),a.H.set(d,e));W5c(e,b);return f},i6c=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)))},j6c=function(a,b){return a.H.get(b)},bS=function(a,b,c,d){d=void 0===d?1:d;var e=b.filter(function(f){return a.Qla(f)});a.H.forEach(function(f){f.mna(e,
c,d)})};cS.prototype.removeItem=function(a,b){(b?[this.H.get(b)]:this.H).forEach(function(c){c.removeItem(a)})};cS.prototype.a7=function(a){var b=Array.from(this.H.values()).map(function(c){return c.a7(a)});return[].concat.apply([],_.oc(b))};var k6c=function(a,b){a.H.forEach(function(c){c.D$(b,-2)})};cS.prototype.Qla=function(){return!0};cS.prototype.V=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.E5(b),f.ka=c,this.H.set(e,f),bS(this,a,d))};
var l6c=function(){this.V=new Set;this.W=new Set;this.H=0},m6c=function(a,b){a.V.add(b)};l6c.prototype.ha=function(a){this.V.delete(a)};var n6c=function(a,b){b.forEach(function(c){return a.W.add(c)});a.H++};l6c.prototype.ka=function(){0<this.H&&this.H--;0==this.H&&this.W.clear()};var N5c=function(a,b){return a.V.has(b)||a.W.has(b)};l6c.prototype.eY=function(a){var b=this;return a.filter(function(c){return!N5c(b,c.getId())})};var o6c=function(a,b){this.H=new Map;this.ha=a;this.ka=b;this.W=new l6c};
_.I(o6c,cS);var p6c=function(a,b){m6c(a.W,T5c(b));(a=j6c(a,b.Hc()))&&X5c(a)};_.g=o6c.prototype;_.g.getKey=function(a){return a.Hc()};_.g.E5=function(a){return new e6c(this.ha,this.ka,this,a)};_.g.zga=function(a){return new e6c(this.ha,this.ka,this,a)};_.g.c$a=function(a){a=_.u(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=j6c(this,b.getId()))&&b.refresh()};_.g.Qla=function(a){return!N5c(this.W,T5c(a))};
var q6c=function(a,b){this.V=a;this.H=b},r6c=function(a,b){b=_.xNb(b);var c=new d6c(a.V,a.H,b);new Promise(function(d,e){return aS(c,100).then(d,e)})},s6c=function(a,b,c){$R.call(this,a,c);this.ka=b};_.I(s6c,$R);s6c.prototype.B5=function(a,b){return _.Yj(a).Gi(b)};s6c.prototype.Q7=function(){return""};s6c.prototype.m7=function(a){return[a]};s6c.prototype.a0=function(a){this.ka(a)};var t6c=function(a,b,c,d){ZR.call(this,a,_.Yj(d));this.ua=c;this.wa=b;this.V=this.W=null};_.I(t6c,ZR);
t6c.prototype.refresh=function(){var a=this;Z5c(this);this.V=new s6c(this.request,this.ua,function(b){return a.wa.then(function(c){return c.H(b)})});return aS(this.V,this.request.oh()||0)};t6c.prototype.C$=function(a){1==this.status||this.V&&a==this.request.oh()||(this.request.Gi(a),this.V?aS(this.V,a):this.refresh())};t6c.prototype.$_=function(){if(this.W)return this.W;var a=new CQ;a.Ec(this.status);return a};t6c.prototype.E$=function(a){this.W=a;return!0};
var u6c=function(a,b,c){this.H=new Map;this.W=a;this.ka=b;this.ha=c};_.I(u6c,cS);var v6c=function(a,b){a.ha.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",b)};u6c.prototype.getKey=function(a){return a.toString()};u6c.prototype.E5=function(a){var b=this;return new t6c(this.W,this.ka,function(c){bS(b,c,!1)},a)};u6c.prototype.zga=function(){throw Error("rg");};
u6c.prototype.V=function(a,b,c,d){var e=a[0].$i();v6c(this,"Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.V()}).join(", "));cS.prototype.V.call(this,a,b,c,d)};var x6c=function(a){_.N.call(this);var b=this;this.H=a;this.V=[];this.ha=new _.xl;var c=_.Jh();this.Ga=c.promise;n3c(this.H.Ga).then(function(d){b.V=d||[];c.resolve();w6c(b)},function(){return c.resolve()});this.W=new Map;this.ua=-1;this.ma=0;YQ(this.H.ha,["rVezo"],(0,_.K)(this.ka,this))};_.I(x6c,_.N);
var T4c=function(a,b){_.A(a.H.H,46,!1)&&a.Ga.then(function(){if(a.V[0]!=b){_.oa(a.V,b);for(cXc(a.H.V.V.H(b))?dS(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();PR(a.H.Ga,g3c,a.V)}_.ra(a.H.V.ka.V).length+a.W.size<_.D(a.H.H,47,5)&&(w6c(a),a.ka())})},M5c=function(a,b){_.oa(a.V,b)&&PR(a.H.Ga,g3c,a.V)},L5c=function(a,b){M5c(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){dS(a,b,"Cache removed");c.removeAll([f]);a.H.wa.update(3);break}}QR(a.H).nb(function(h){h.oqa(b,!0)});a.ka()};x6c.prototype.ka=function(){if(this.H.ha.H("rVezo")){var a=this.H.V.ka;y6c(this);for(var b={};this.ha.Zb()&&!(this.ma>=_.D(this.H.H,47,5));){var c=_.yl(this.ha);this.ma++;l1c(a,c)||this.W.has(c)||(this.W.set(c,null),b.i4=new _.JO,_.x(b.i4,1,c),this.H.Dm().then(function(d){return function(e){return e.H(d.i4)}}(b)).then(this.Ba.bind(this,c),this.wa.bind(this,c)));b={i4:b.i4}}}};
var w6c=function(a){a.V&&a.V.length&&(a.ma=0,a.ha.clear(),a.V.forEach(function(b){return a.ha.enqueue(b)}))},y6c=function(a){_.m.clearTimeout(a.ua);a.ua=_.m.setTimeout(function(){w6c(a);a.ka()},36E5)};x6c.prototype.Ba=function(a,b){var c=_.z(b,1);c&&c>_.D(this.H.H,48,1E3)?(dS(this,a,"Too large to backfill: "+_.z(b,1)),z6c(this,a,!1)):A6c(this,a)};
x6c.prototype.wa=function(a,b){(b=_.kN(b).Qi())&&4==b?(dS(this,a,"Non-existent or inaccessible, removing from cache"),a=_.AN(_.LHc(_.wN(new _.vN,a),a)),this.H.V.ua([a])):A6c(this,a)};
var A6c=function(a,b){var c=new FR(a.H.Ka,a.H.Xa,b),d=_.Yj(c.kd());d.Gi(_.D(a.H.H,48,1E3));d=new f1c(a.H,c,d);a.W.set(b,d);dS(a,b,"Backfill started");var e=GR(a.H.Ba,b);QR(a.H).nb(function(f){f.afa(b)});_.Kh(g1c(d).then(function(){B6c(a,b,c,e)},function(){dS(a,b,"Backfill failed");a.ma--;z6c(a,b,!0)}),function(){q1c(a.H.Ba,b)})},B6c=function(a,b,c,d){c.V?(c.RT(),s1c(c,d).then(function(e){dS(a,b,"Backfill complete, size: "+c.Z_());z1c(a.H.V,c,e);z6c(a,b,!1)},function(){dS(a,b,"Backfill changes failed");
z6c(a,b,!0)})):(dS(a,b,"Backfill exceeded size limit"),z6c(a,b,!0))},z6c=function(a,b,c){var d=a.W.get(b);d&&d.dispose();a.W.delete(b);c&&QR(a.H).nb(function(e){e.oqa(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 L5c(a,e)})},dS=function(a,b,c){a.H.W.info("drive.ds.sync.cache.TeamDriveCacheManager",b+" | "+c)},C6c=function(a){var b=new _.lC;b.kc(a);return b},D6c=function(a,b,c,d,e){YR.call(this,_.Yj(a),
c,d,e);this.V=b};_.I(D6c,YR);D6c.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};D6c.prototype.ka=function(a){var b=[];a.CM().forEach(function(c){b.push(c)});this.V(b,!0)};D6c.prototype.ma=function(){this.V([],!1)};D6c.prototype.ua=function(a){this.V([C6c(a)],!0)};var E6c=function(a,b,c,d,e,f){ZR.call(this,a,_.Yj(f));this.wa=e;this.Ga=b;this.ua=c;this.V={};this.Ba=d;this.W=null};_.I(E6c,ZR);
E6c.prototype.refresh=function(){this.W=new D6c(this.request,this.wa,this.Ga,this.ua,this.Ba);return Y4c(this.W)};E6c.prototype.C$=function(){this.W||this.refresh()};E6c.prototype.$_=function(){var a=new _.RP;a.Ec(this.status);_.jf(this.V,function(b,c){a.CM().set(c,b||new _.lC)});wUc(a,this.Re());return a};E6c.prototype.E$=function(a){var b=a.getId();if(_.Xj(a,C6c(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 F6c=function(a,b){a=a.getState();return null==a||b.getState()==a},G6c=function(a,b,c){$R.call(this,a,c);this.ka=b};_.I(G6c,$R);G6c.prototype.B5=function(a,b,c){a=_.Yj(a);a.Gi(b);return new _.SIc(a,c)};G6c.prototype.Q7=function(a){return a.pageToken||""};G6c.prototype.m7=function(a){return a.response.$i()};G6c.prototype.a0=function(a){this.ka(a)};var H6c=function(a){this.W=vWc(a,{numeric:!0})};
H6c.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};H6c.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 I6c=function(a,b,c,d,e){ZR.call(this,a,_.Yj(e));this.wa=d;this.Ba=b;this.W=[];this.V=null;a=new H6c(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(I6c,ZR);I6c.prototype.refresh=function(){var a=this;Z5c(this);this.V=new G6c(this.request,this.wa,function(b){return a.Ba.then(function(c){return c.H(b)})});return aS(this.V,this.request.oh()||0)};I6c.prototype.C$=function(a){1==this.status||this.V&&a==this.request.oh()||(this.request.Gi(a),this.V?aS(this.V,a):this.refresh())};I6c.prototype.$_=function(){var a=new nR;a.Ec(this.status);dYc(a,this.W.map(function(b){return _.Yj(b)}));return new _.WP(a,void 0,1!=this.status&&a6c(this.V),this.Re())};
I6c.prototype.E$=function(a){var b=_.pa(this.W,function(c){return c.getId()==a.getId()});return a&&F6c(this.request,a)&&!_.Xj(a,C6c(a.getId()))?LOc(this.W,a,this.ua):b};var J6c=function(a,b,c,d){this.H=new Map;this.ha=a;this.ma=b;this.ka=c;this.W=d};_.I(J6c,cS);var K6c=function(a,b){a.ka.info("drive.ds.sync.cache.WorkspaceCacheManager",b)};J6c.prototype.getKey=function(a){return a.toString()};
J6c.prototype.E5=function(a){var b=this;return new I6c(this.ha,this.ma,lQ(this.W.Ne()),function(c){return bS(b,c,!1)},a)};J6c.prototype.zga=function(a){var b=this;return new E6c(this.ha,this.ma,this.W,this.ka,function(c,d){return bS(b,c,d)},a)};J6c.prototype.V=function(a,b,c,d){K6c(this,"Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));cS.prototype.V.call(this,a,b,c,d)};var L6c=function(){_.N.apply(this,arguments)};_.I(L6c,_.N);
var O6c=function(a,b){b=M6c(b);var c=a.getItem(),d=N6c(c.getCapabilities());b.xU.forEach(function(e){_.PM(e.getItem(),c.wm());e.getItem().xn(d.clone())});return b},R6c=function(a,b,c){var d=P6c(c);c=c.find(function(e){return e.getId()===b.getId()});c={H:c?c:new XQ(b),children:[]};Q6c(a,d,c);return c},P6c=function(a){var b={};a.map(function(c){c.getItem().li().map(function(d){b[d]||(b[d]=[]);b[d].push(c)})});return b},Q6c=function(a,b,c){var d=c.H.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(Q6c(a,
b,{H:e,parent:c,children:[]}))});return c},T6c=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())||(_.PM(f,a.wm()),S6c(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},U6c=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(_.AN(_.wN(new _.vN,e.getId()))),d.children.map(function(f){_.Jk(f.H.getItem())||b.push(f)}),a.set(e.getId(),!0))}return c},M6c=function(a){var b=[],c=[];a.forEach(function(d){_.Jk(d.getItem())||_.E(d.getItem(),137)?c.push(d.getId()):b.push(d)});return{vR:c,xU:b}},N6c=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);_.DJc(a,b);_.x(a,30,c);_.yJc(a,b);_.EJc(a,c);_.zJc(a,c);_.AJc(a,b);_.lJc(a,b);
_.qJc(a,c);_.wJc(a,b);_.vJc(a,_.E(a,7));_.pJc(a,_.E(a,10)||_.E(a,11));_.xJc(a,_.Ck(a));_.x(a,18,void 0);_.x(a,13,void 0);_.x(a,10,void 0);_.BJc(a,_.E(a,42));_.CJc(a,_.E(a,43));_.FJc(a,_.E(a,48));return a},S6c=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities(),f=_.E(d,30);_.x(e,30,f);_.yJc(e,_.E(d,31));_.EJc(e,_.E(d,47));_.zJc(e,_.E(d,32));_.AJc(e,_.E(d,33));_.lJc(e,_.E(d,4));_.qJc(e,d.V());_.xJc(e,_.E(d,21));_.wJc(e,_.E(d,20));_.vJc(e,_.E(d,17));_.iJc(e,_.Ck(d));_.oJc(e,_.E(d,7));_.rJc(e,
_.E(d,10));_.sJc(e,_.E(d,11));f=_.E(d,45);_.x(e,45,f);_.DJc(e,_.E(d,46));_.FJc(e,_.E(d,48));a=_.Jk(a);_.x(b,137,a);c&&(c=c.getCapabilities(),_.QN(b)?(_.pJc(e,_.E(c,43)),_.CJc(e,_.E(c,43)),_.BJc(e,_.E(c,42))):_.pJc(e,_.E(c,42)))},V6c=function(a){this.H=a;this.ha=new L6c;this.V=a.V;this.W=_.Be(new _.Ae,306)},C5c=function(a,b){if(_.jP(a.H.H))if(eR(b))if(b.Qz())W6c(a,b);else{var c=b.Hc(),d=X6c(a,c),e=a.V.V.H(c);b=O6c(b,d);K5c(a.H.V,b.xU);a.V.wa.H(b.vR,a.W);Y6c(a,c,"SD update | Update "+b.xU.length+" item(s), "+
b.vR.length+" divergent items");if(d=PSc(a.H.ua,106017)){var f=MSc(d);_.x(f,1,b.vR.length);_.x(f,2,b.xU.length);d.V()}e||(a=a.V.wa,c&&(b1c(a,"Processing potential rejoin for TD: "+c),b=_.IN(_.Yk(_.HN(new _.se,[c]),_.CP(a.ma)),1),e=_.Be(new _.Ae,306),_.Zk(b,e),d1c(a),b=new CR(a.V,b),Y0c(b,5E3).nb(a.ka.bind(a,b)),c1c(a),e1c(a,c)))}else if(_.A(a.H.H,86,!1)){c=b.Hc();e=a.V.V.H(c);if(e&&e.wc()&&_.QN(b.getItem()||e)){if(d=!!_.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=X6c(a,e.wc()),e=a.ha,d=(new _.Hk).kc(c),b=(b=R6c(e,d,b))?U6c(b):[],a.H.V.ua(b),Y6c(a,c,"SD shared folder delete | Removed "+b.length+" item(s)"),a=PSc(a.H.ua,106009))c=LSc(a),_.x(c,2,b.length),a.V()}else if(c=b.getItem(),e=X6c(a,c.wc()),d=a.ha,c=b.getItem(),c=(e=R6c(d,c,e))?T6c(c,e):[],K5c(a.H.V,c),Y6c(a,b.Hc(),"SD shared folder update | Updated "+c.length+" item(s)"),a=PSc(a.H.ua,106010))b=LSc(a),_.x(b,1,c.length),a.V()}},W6c=function(a,b){var c=b.Hc();b=X6c(a,c);
b=M6c(b);var d=_.pe(b.xU,function(e){return _.AN(_.wN(new _.vN,e.getId()))});a.H.V.ua(d);a.V.wa.H(b.vR,a.W);Y6c(a,c,"SD delete | Remove "+d.length+" item(s), "+b.vR.length+" divergent items");if(a=PSc(a.H.ua,106016))c=MSc(a),_.x(c,1,b.vR.length),_.x(c,2,b.xU.length),a.V()},X6c=function(a,b){var c=new _.se;_.HN(c,[b]);_.IN(c,2);return zXc(a.V.V,c)},Y6c=function(a,b,c){a.H.W.info("drive.ds.sync.change.TdChangeProcessor",b+": "+c)},Z6c=function(a,b,c){this.H=a;this.ha=b;this.W=c};
Z6c.prototype.yW=function(a,b){var c=this;if(!a.cN().length)return null;var d=j6c(this.H,a.Hc());if(!d)return null;for(var e=this.H.a7(a),f={},h=_.u(a.cN()),k=h.next();!k.done;f={WE:f.WE},k=h.next())if(k=k.value,f.WE=$6c(e,k.Nk(),a.Hc()),_.E(k,3))p6c(this.H,f.WE),_.Kh(b,function(q){return function(){c.H.W.ha(T5c(q.WE))}}(f));else{for(var l=_.u(_.Rj(k,_.wG,2)),n=l.next();!n.done;n=l.next())a7c(this,f.WE,n.value);k=_.u(_.z(k,4));for(l=k.next();!l.done;l=k.next())b7c(f.WE,l.value);bS(this.H,[f.WE],!1,
-1);b.then(function(q){return function(){return k6c(c.H,q.WE.getName())}}(f),function(q){return function(){return k6c(c.H,q.WE.getName())}}(f))}b.then(null,function(q){var t=a.Hc();r6c(c.ha,t);q=_.kN(q);_.x(q,21,"Server error updating metadata after optimistic application.");c.W(q)});return d.$_()};
var $6c=function(a,b,c){var d=a.find(function(e){return S5c(e.getName(),b)});d||(d=ITc((new uQ).zd(b),c),a.push(d));return d},a7c=function(a,b,c){var d=b.V().find(function(e){return e.getId()==c.getId()});d||(d=new sQ,d.kc(c.getId()),HTc(b,b.V().concat([d])),c7c(d,c));if(1==tQ(d))d.ara(_.E(c,3));else if(12==tQ(d))ETc(d,_.z(c,17));else if(2==tQ(d))d.xra(_.z(c,4));else if(3==tQ(d))_.z(c,6).length?d.j2(_.z(c,6)):_.z(c,5).length&&(a=_.z(d,7).concat(_.z(c,5)),d.j2(a));else if(4==tQ(d))BTc(d,_.z(c,7));
else if(5==tQ(d))d.rra(_.z(c,8));else if(6==tQ(d))_.z(c,10).length?d.h2(_.z(c,10)):_.z(c,9).length&&(a=d.Dja().concat(_.z(c,9)),d.h2(a));else if(7==tQ(d))d.hra(_.z(c,11));else if(8==tQ(d))_.z(c,13).length?d.V1(_.z(c,13)):_.z(c,12).length&&(a=_.z(d,12).concat(_.z(c,12)),d.V1(a));else if(10==tQ(d))CTc(d,a.V(_.z(c,14)));else if(11==tQ(d))_.z(c,16).length?DTc(d,_.z(c,16).map(a.V)):_.z(c,15).length&&DTc(d,d.W().concat(_.z(c,15).map(a.V)));else throw d="Optimistic Applier: Unsupported value type "+(tQ(d)+
"."),new _.rb(d,new _.qb);},b7c=function(a,b){if(a=a.V().find(function(c){return c.getId()==b}))if(1==tQ(a))_.x(a,5,void 0);else if(12==tQ(a))_.x(a,17,void 0);else if(2==tQ(a))_.x(a,6,void 0);else if(3==tQ(a))a.j2([]);else if(4==tQ(a))_.x(a,8,void 0);else if(5==tQ(a))_.x(a,9,void 0);else if(6==tQ(a))a.h2([]);else if(7==tQ(a))_.x(a,11,void 0);else if(8==tQ(a))a.V1([]);else if(10==tQ(a))CTc(a,void 0);else if(11==tQ(a))DTc(a,[]);else throw a="Optimistic Applier: Unsupported value type "+(tQ(a)+"."),
new _.rb(a,new _.qb);},c7c=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)};Z6c.prototype.V=function(a){return _.hJc(_.fJc(1),a)};
var d7c=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};d7c.prototype.apply=function(a,b){var c=this;if(!_.NO(a))return b;var d;a instanceof _.$N?d=e7c(this,a,b):a instanceof _.fO?d=f7c(this,b):a instanceof _.pN?d=g7c(this,a,b):a instanceof _.VN?d=h7c(this,a,b):a instanceof _.yO&&(d=this.ua.yW(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 e7c=function(a,b,c){m6c(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=_.kN(e);_.x(e,21,"Server error deleting item after optimistic application.");a.W(e)});return(new _.LO).Ec(1)},f7c=function(a,b){var c=(new _.se).yn(!0);c=a.H.V.query(c).map(function(d){return d.getId()});n6c(a.V,c);_.Kh(b.then(null,function(){}),a.V.ka.bind(a.V));b.then(null,function(d){d=_.kN(d);_.x(d,21,"Server error emptying trash after optimistic application.");
a.W(d)});return(new _.LO).Ec(1)},h7c=function(a,b,c){var d=b.wc(),e=a.H.V.H(d);if(!e)return null;e=_.Yj(e);B0c(a.H,[e],[157]);var f=e.$j();i7c(f,_.Rj(b,_.Gk,2));j7c(f,_.Rj(b,_.Gk,3));eQ(a.H,[e],-1,void 0,void 0,[157]);_.Kh(c,function(){O5c(a.H,d)}).then(function(h){eQ(a.H,[h.iZ()],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.kN(h);_.x(h,21,"Server error updating item after optimistic application.");a.W(h)});return cUc(new zQ,e).Ec(1)},i7c=function(a,b){var c={};b=_.u(b);for(var d=b.next();!d.done;c=
{Z3:c.Z3},d=b.next())c.Z3=d.value,_.Rj(a,_.Gk,8).some(function(e){return function(f){return f.Nk()==e.Z3.Nk()}}(c))||_.Uj(a,8,c.Z3,_.Gk,void 0)},j7c=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())});ROc(a,b)},g7c=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(yXc(a.H.V,e.concat(f))).map(function(k){return k.wc()||"root"}),_.ya(e),
1<e.length))return null;var h=_.Yj(d);k7c(a,b,h);eQ(a.H,[h],-1,void 0,void 0,HSc(a.wa));c.then(function(){return O5c(a.H,b.getId())},function(){O5c(a.H,b.getId());a.ma(b.getId(),d)});c.then(null,function(k){k=_.kN(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 _.mP((new _.LO).setItem(h),h.getId()).Ec(1)},k7c=function(a,b,c){null!=b.Tf()&&c.zl(b.Tf());null!=b.$h()&&_.PJc(c,b.$h());null!=b.Rb()&&_.OM(c,
b.Rb());null!=_.z(b,7)&&_.UEc(c,_.z(b,7));null!=_.E(b,11)&&_.LJc(c,_.E(b,11));null!=_.E(b,4)&&c.Tq(_.E(b,4));null!=_.E(b,16)&&_.OJc(c,_.E(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Bh()&&(c.yn(b.Bh()),_.NJc(c,b.Bh()));null!=b.Rp()&&_.JN(APc(c,!0),b.Rp());_.z(b,8).length&&_.XO(c,_.z(b,8));if(_.z(b,9).length){var d=new Set(c.li());_.z(b,9).forEach(function(n){return d.add(n)});_.XO(c,[].concat(_.oc(d)))}if(_.z(b,10).length){var e=new Set(c.li());_.z(b,10).forEach(function(n){return e.delete(n)});
_.XO(c,[].concat(_.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]))&&_.SJc(c,f.wc());if(f=_.C(b,_.Ek,25)){var k=_.C(c,_.Ek,111)||new _.Ek;null!=_.E(f,1)&&_.SO(k,_.E(f,1));null!=_.z(f,2)&&_.GJc(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||[])};d7c.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];eQ(c.H,[_.Yj(e)],1)},function(){b&&eQ(c.H,[_.Yj(b)],1)})};
var l7c=function(a){return a.getName()||""},m7c=function(a){return a.getId()||""},n7c=function(a){return _.VHc[a.Gg()]},o7c=function(a){return _.XHc[a.getType()]},TPc=function(a,b){return[n7c,o7c,l7c,m7c].reduce(function(c,d){var e;0!=c?e=c:e=_.Aa(d(a),d(b));return e},0)},p7c=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};
p7c.prototype.apply=function(a,b){var c=this;b instanceof _.LO&&8==b.Gb()||(a instanceof _.UN||a instanceof _.WN||a instanceof _.EO||a instanceof _.pN||a instanceof _.AO||a instanceof _.PIc||a instanceof _.HO?eQ(this.H,[_.Yj(b.getItem())],1):a instanceof _.$N?(b=_.AN(_.wN(new _.vN,a.getId())),this.H.ua([b])):a instanceof _.cO?(b=_.AN(_.LHc(_.wN(new _.vN,a.getId()),a.getId())),this.H.ua([b]),C5c(this.ua,b)):a instanceof _.fO?(b=(new _.se).yn(!0),b=this.H.V.query(b).map(function(d){return _.AN(_.wN(new _.vN,
d.getId()))}),this.H.ua(b)):"undefined"!=typeof _.YN&&a instanceof _.YN?this.V.remove(a.V()):"undefined"!=typeof _.hO&&a instanceof _.hO||"undefined"!=typeof _.xO&&a instanceof _.xO?this.V.SEa(_.C(b,_.AQ,2)):"undefined"!=typeof _.aO&&a instanceof _.aO?SPc(this.H,a):"undefined"!=typeof _.KD&&a instanceof _.KD?this.ha.remove(a.getKey()):"undefined"!=typeof _.iO&&a instanceof _.iO?UPc(this.H,a,b.aZ()):"undefined"!=typeof _.LD&&a instanceof _.LD?q7c(this.ha,b.Nxa()):a instanceof _.XN||a instanceof _.BO?
bS(this.ka,[b.V()],!1):a instanceof _.dO?bS(this.ka,[C6c(a.getId())],!1):a instanceof _.IIc?bS(this.W,b.response.V(),!1,1):a instanceof _.yO?(a.cN().filter(function(d){return _.E(d,3)}).forEach(function(d){return c.W.removeItem(d.Nk()||"",a.Hc())}),r6c(this.ma,a.Hc()),this.H.hb(a.Hc())):"undefined"!=typeof _.wP&&a instanceof _.wP&&a.V().forEach(function(d){switch(d.getFeature()){case 3:case 1:switch(d=d.V(),d.getType()){case 1:case 2:if(d=c.H.V.H(d.Hc()))d=_.wN(eSc(),d.getId()).setItem(_.Yj(d)),c.H.ua([d])}}}))};
var r7c=function(a){this.H=a};
r7c.prototype.V=function(a){if(a instanceof _.tO){var b=this.H.H(a.getId());if(!b)return new _.qb;var c=(new _.pN).kc(a.getId());if(b.wc()){var d=b.getCapabilities();_.Dk(d)||d.V()?c.yn(!0):_.qN(c,!1)}else d=a.getParent(),1==b.wm()?c.yn(!0):d?(b=this.H.H(d),!b||_.E(b.getCapabilities(),7)?ZRc(c,[d]):_.qN(c,!1)):_.qN(c,!1);return c}if("undefined"!=typeof _.uO&&a instanceof _.uO)return aSc($Rc(ZRc(YRc((new _.pN).kc(a.getId()),a.qVa()),a.rVa()),a.sVa()),a.pVa());if(a instanceof _.vO){b=this.H.H(a.getId());
if(!b)return new _.qb;c=(new _.pN).kc(a.getId());b.wc()?(d=b.getCapabilities(),_.Dk(d)||d.V()?c.yn(!1):_.qN(c,!0)):(d=a.getParent(),1==b.wm()?c.yn(!1):d?(b=this.H.H(d),!b||_.Ck(b.getCapabilities())?YRc(c,[d]):_.qN(c,!0)):_.qN(c,!0));return c}return a instanceof _.DP?new _.EO(a):"undefined"!=typeof _.eS&&a instanceof _.eS?a.V().map(function(e){var f=new _.yO;e=_.x(f,1,e);f=a.cN();e=_.Tj(e,2,f);f=a.oe();return _.R(e,3,f)}):a};var s7c=function(){};
s7c.prototype.validate=function(a){var b=null;"undefined"!=typeof _.mO&&a instanceof _.mO?(a=a.getId()||"",_.Ec(a)&&(b="Tried to request backup with no id.")):"undefined"!=typeof _.ZN&&a instanceof _.ZN&&(a=a.getId()||"",_.Ec(a)&&(b="Tried to delete backup with no id."));return b?_.kN(b):null};
var VPc={QUEUED:1,COUNTING:3,BUILDING:2,SUCCEEDED:4,FAILED:5},t7c=function(a,b,c,d,e){_.uNc.call(this,a,b,d,e);this.Ba=c;this.ua=new NYc(this.ka,b);this.W=new W_c(this.rA);this.wa=new VZc(this.rA,this.W);this.ha=null};_.I(t7c,_.uNc);var u7c=function(a){a.ha||(a.ha=new J_c(a.ka,a.Ba));return a.ha};
t7c.prototype.ma=function(a,b){if(a instanceof _.RN)return _.HP(_.KP(a));if(a instanceof _.SN)return _.IP(this,a,b);if(a instanceof _.IIc)return v7c(this,a.request,b);if(a instanceof _.TN)return _.IP(this,a,b);if(a instanceof _.VN){if(!b.json)throw _.JP();return cUc((new zQ).Ec(1),X_c(this.W,b.json))}if(a instanceof _.UN)return _.IP(this,a,b);if("undefined"!=typeof _.wP&&a instanceof _.wP)return new ZSc;if(a instanceof _.XN)return w7c(a,b);if("undefined"!=typeof _.YN&&a instanceof _.YN)return RZc(void 0,
a.V());if("undefined"!=typeof _.ZN&&a instanceof _.ZN)return new xYc;if(a instanceof _.$N)return _.HP(_.KP(a));if("undefined"!=typeof _.aO&&a instanceof _.aO)return new mR;if(a instanceof _.bO)return _.HP(_.KP(a));if(a instanceof _.cO)return _.HP(_.KP(a));if("undefined"!=typeof _.KD&&a instanceof _.KD)return b=new YXc,a=a.getKey(),_.R(b,4,a);if(a instanceof _.dO)return w7c(a,b);if(a instanceof _.fO)return _.HP(_.KP(a));if(a instanceof _.GIc){if(!b.json)throw _.JP();return new rWc(b.json.exportJob.id)}if("undefined"!=
typeof _.gO&&a instanceof _.gO){if(!b.json)throw _.JP();a=b.json;b=new UXc;a=QZc(a);return _.R(b,2,a).Ec(1)}if("undefined"!=typeof _.hO&&a instanceof _.hO)return x7c(a,b);if("undefined"!=typeof _.iO&&a instanceof _.iO){if(!b.json)throw _.JP();a=(new mR).Ec(1);b=_.jNc(this.rA,b.json);return _.R(a,2,b)}if(a instanceof _.XM){a:{if(!b.json)throw _.JP();if(a instanceof _.XM){if((a=a.kd())&&_.jO(a)){b=r_c(this.V,this.H,b.json);break a}if(a&&_.kO(a)){b=q_c(this.V,this.H,b.json);break a}if(a&&_.lO(a)){b=
p_c(this.V,this.H,b.json);break a}}b=_.fNc(this.rA,b.json,b.headers)}return b}if("undefined"!=typeof _.mO&&a instanceof _.mO){if(!b.json)throw _.JP();return UZc(b.json)}if(a instanceof _.nO){if(!b.json)throw _.JP();b=b.json;_.EP(["drive#appList"],b);a=new kR;for(var c=[],d=b.items||[],e=0;e<d.length;e++)c.push(QZc(d[e]));a=_.Tj(a,2,c);return _.x(a,4,b.defaultAppIds||[]).Ec(1)}if("undefined"!=typeof _.oO&&a instanceof _.oO){if(!b.json)throw _.JP();return TZc(b.json)}if(a instanceof _.rN)return y7c(this,
b);if(a instanceof _.pO){if(!b.json)throw _.JP();a=new XXc;d=this.rA;e=b.json;c=new xSc;d=_.kNc(d,e,"items");c=_.Tj(c,2,d);a=_.R(a,1,c);return _.x(a,2,CXc(b.json))}if("undefined"!=typeof _.qO&&a instanceof _.qO){if(!b.json)throw _.JP();a=this.rA;d=b.json;b=new zSc;_.EP(["drive#revisionList"],d);c=[];d=d.items||[];for(e=0;e<d.length;e++){var f=_.hNc(a,d[e]);c.push(f)}return _.Tj(b,2,c)}if("undefined"!=typeof _.AP&&a instanceof _.AP)return z7c(a,b);if(a instanceof _.rO){if(!b.json)throw _.JP();return V_c(b.json)}if(a instanceof
_.MIc){if(!b.json)throw _.JP();return N_c(u7c(this),b.json)}if(a instanceof _.vG){if(!b.json)throw _.JP();a=u7c(this);c=b.json;b=new pR;a=M_c(a,c);return _.R(b,2,a).Ec(1)}if(a instanceof _.sO){if(!b.json)throw _.JP();b=b.json;_.EP(["drive#remainingCount"],b);a=new kYc;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 _.JP();return(new _.pC).Ew([X_c(this.W,b.json)])}if(a instanceof _.IO){if(!b.json)throw _.JP();a=(new _.pC).Ew(Y_c(this.W,
b.json));a=_.MKc(new _.nP,a);return _.x(a,3,CXc(b.json))}if("undefined"!=typeof _.xO&&a instanceof _.xO)return x7c(a,b);if(a instanceof _.yO)return v7c(this,a,b);if(a instanceof _.pN)return _.IP(this,a,b);if(a instanceof _.zO)return _.IP(this,a,b);if(a instanceof _.AO)return A7c(this,b);if("undefined"!=typeof _.LD&&a instanceof _.LD){if(!b.json)throw _.JP();b=$_c(b.json);a=new YXc;a=_.R(a,3,b);b=b.getKey();return _.R(a,4,b)}if(a instanceof _.BO)return w7c(a,b);if(a instanceof _.CO){if(!b.json)throw _.JP();
return PYc(this.ua,b.json)}if("undefined"!=typeof _.DO&&a instanceof _.DO){if(!b.json)throw _.JP();b=b0c(b.json);a=new _.RP;a.CM().set(b.getId(),b);return a}if(a instanceof _.HIc){if(!b.json)throw _.JP();a=b.json;b=new kWc;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=LZc(d),_.Tj(b,1,c)}return b}if(a instanceof _.EO)return A7c(this,b);if("undefined"!=typeof _.GO&&a instanceof
_.GO)return y7c(this,b);if(a instanceof _.JIc){if(!b.json)throw _.JP();return new qWc}if(a instanceof _.KIc){if(!b.json)throw _.JP();return YPc(b)}if(a instanceof _.LIc){if(!b.json)throw _.JP();c=b.json;b=new _.uo;_.EP(["drive#settingList"],c);a=[];c=c.items||[];for(d=0;d<c.length;d++)(e=$_c(c[d]))&&a.push(e);return _.Yva(b,a)}if(a instanceof _.vo){if(!b.json)throw _.JP();return f0c(this.V,this.H,b.json).Ec(1)}if("undefined"!=typeof _.wO&&a instanceof _.wO){if(!b.json)throw _.JP();return d0c(this.V,
this.H,b.json)}if(a instanceof _.JO){if(!b.json)throw _.JP();a=b.json;_.EP(["drive#teamDrive"],a);b=a.recursiveFolderCount;a=a.recursiveFileCount;c=new TXc;a=_.x(c,1,a);return _.x(a,2,b)}if(a instanceof _.QIc)return new sWc(CXc(b.json?b.json:{}));if(a instanceof _.RIc)return new tWc;if(a instanceof _.SIc){if(!b.json)throw _.JP();return c0c(b.json)}};
var w7c=function(a,b){if(!b.json){if(a instanceof _.dO)return g0c({});throw _.JP();}return g0c(b.json)},A7c=function(a,b){if(!b.json)throw _.JP();a=X_c(a.W,b.json);return(new _.LO).Ec(1).setItem(a)},v7c=function(a,b,c){if(!c.json)throw _.JP();return L_c(u7c(a),b,c.json)},x7c=function(a,b){if(!b.json)throw _.JP();return RZc(b.json,a.V())},y7c=function(a,b){if(!b.json)throw _.JP();a=a.wa;var c=b.json;_.EP(["drive#about","drive#changeList"],c);b=new WXc;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){_.EP(["drive#changeList"],c);d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];_.EP(["drive#change"],h);var k=new _.vN;k=_.x(k,1,Number(h.id));h.teamDriveId?(_.LHc(k,h.teamDriveId),_.wN(k,h.teamDriveId)):_.wN(k,h.fileId);h.file?k.setItem(_.gNc(f.H,h.file)):h.teamDrive&&k.setItem(X_c(f.V,h.teamDrive));h.deleted&&!k.getItem()&&_.AN(k);d.push(k)}_.Tj(b,4,d)}return b},z7c=function(a,b){var c=new zYc;if(a.V().length){var d=
[];iPc(a.V(),b.headers).forEach(function(e,f){var h=new _.QEc;e=_.x(h,1,f).jc(e);d.push(e)});_.Tj(c,1,d)}AYc(c,b.json?JSON.stringify(b.json):b.text);return c},B7c=function(a){var b=new _.xp;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(_.ZHc[a]);_.tP(b,c.join(" "))}return b.toString()},C7c=function(a,b,c,d){_.LP.call(this,b,c,d,a.Db);this.ma=a;this.ua=new HWc(_.CP(d),b)};_.I(C7c,_.LP);
C7c.prototype.W=function(a,b,c){var d=this;try{return _.LP.prototype.W.call(this,a,b,c)}catch(X){}var e=0,f={},h="GET",k={},l=!1;if(a instanceof _.SN){h="POST";var n="admin/files/"+a.getId()+"/migrateToTeamDrive";k.fields="kind,id,parentId,teamDriveId";k.fileId=a.getId();var q=DXc(a);f["content-type"]="application/json";l=!0}else if(a instanceof _.TN){h="POST";n="files/"+a.Hc()+"/authorize";k.appId=_.z(a,1);_.E(a,3)&&(k.propagate=!0);var t=a.oe();l=!0;_.BP(this.H,k);_.PO(this.H)&&_.MP(this,[a.Hc()],
f)}else if(a instanceof _.EO)h="POST",n="teamdrives/"+a.requestId,k.fields=$Q(this.H),q={},q=(q.name=a.request.getTitle(),q),f["content-type"]="application/json",l=!0;else if(a instanceof _.XN)h="POST",n="workspaces",k.fields="kind,id,title,createdDate,modifiedDate,state",q=FXc(a),f["content-type"]="application/json",t=a.oe(),l=!0;else if(a instanceof _.UN)h="POST",n="files/"+a.getId()+"/copy",k.fields=_.wIc({fields:this.Fg(c),mw:_.ZM(this.H.Ne()),NI:_.oN(this.H)}),k.convert=_.A(a,4,!1),q=EXc(a),
f["content-type"]="application/json",t=a.oe(),_.PO(this.H)&&(a=_.z(a,3).concat([a.getId()]),_.MP(this,a,f)),l=!0,_.BP(this.H,k),_.FNc(this.H,k);else if("undefined"!=typeof _.YN&&a instanceof _.YN)h="DELETE",n="apps/"+a.V(),k.appId=a.V(),k.deleteAppData=!!a.W(),t=a.oe(),l=!0;else if("undefined"!=typeof _.ZN&&a instanceof _.ZN)h="DELETE",n="backups/"+a.getId(),e=9;else if(a instanceof _.$N)h="DELETE",n="files/"+a.getId(),t=a.oe(),l=!0,_.BP(this.H,k),_.FNc(this.H,k),_.PO(this.H)&&_.MP(this,[a.getId()],
f);else if("undefined"!=typeof _.aO&&a instanceof _.aO)h="DELETE",n="files/"+a.Hc()+"/permissions/"+a.V(),t=a.oe(),l=!0,_.BP(this.H,k);else if(a instanceof _.bO)h="DELETE",n="files/"+a.Hc()+"/revisions/"+_.z(a,2),t=a.oe(),l=!0,_.PO(this.H)&&_.MP(this,[a.Hc()],f);else if(a instanceof _.cO)h="DELETE",n="teamdrives/"+a.getId(),t=a.oe(),l=!0;else if("undefined"!=typeof _.KD&&a instanceof _.KD)h="DELETE",a=a.getKey(),n="settings/"+_.z(a,2),_.to(a)&&(k.namespace=_.NHc[_.to(a)]),l=!0;else if(a instanceof
_.dO)h="DELETE",n="workspaces/"+a.getId(),t=a.oe(),l=!0;else if(a instanceof _.fO)h="DELETE",n="files/trash",t=a.oe(),l=!0,_.FNc(this.H,k);else if("undefined"!=typeof _.gO&&a instanceof _.gO)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 _.mO&&a instanceof _.mO)n="backups/"+a.getId()+"/items",e=9,k.languageCode=lQ(this.H.Ne());else if("undefined"!=typeof _.hO&&a instanceof _.hO)h="POST",n="apps",k.appId=a.V(),t=a.oe(),l=!0;else if("undefined"!=typeof _.iO&&a instanceof _.iO)h="POST",n="files/"+a.Hc()+"/permissions",k.fields=_.oN(this.H)?"kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId":"kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId",
k.emailMessage=a.$Za()||"",k.sendNotificationEmail=!a.O_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.i_a(),f["content-type"]="application/json",t=a.oe(),l=!0,_.BP(this.H,k);else if(a instanceof _.GIc)e=
8,h="POST",n="/v1/exports",f["content-type"]="application/json",q=_.z(a,1).map(function(X){if(_.PO(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.QJ()){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 _.XM||"undefined"!=typeof _.wP&&a instanceof _.wP||a instanceof _.vo||"undefined"!=typeof _.wO&&a instanceof _.wO)if(b=a instanceof
_.XM?a.kd():a,_.OO(b)){e=10;h="POST";n="/v1/items";f["content-type"]="application/json";q={};var v=9==_.hP(this.H)?"WEB_MOBILE":"WEB_DESKTOP",y={};y.applicationType=QWc(this.H);y.platformType=v;y.languageCode=lQ(this.H.Ne());y.timeZone=(new _.kw).kZ();y.requestType="LIVE_REQUEST";a instanceof _.XM&&(v=a.getOptions())&&_.A(v,10,!1)&&(y.requestType="BACKGROUND_REQUEST");b instanceof _.se?_.jO(b)?(NWc(this.ua)?y.scenarioType="ONE_PICK":y.scenarioType="QUICK_ACCESS",2==_.fP(b)&&(q.contextFeature={type:"DRIVE_TEAM_DRIVE_ROOT_ID",
stringValue:_.z(b,33)[0]}),_.dP(b).length&&(q.itemType=PWc(b))):_.kO(b)?y.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.lO(b)&&(y.scenarioType="DRIVE_PRIORITY"):"undefined"!=typeof _.wP&&b instanceof _.wP?(n="/v1/userfeedback",q.userFeedback=b.V().map(function(X){var T=X.V(),fa={},za={};za.feedbackType=dUc[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 _.wO&&b instanceof _.wO?(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()}]):_.ENc(a);"undefined"!=typeof _.wP&&b instanceof _.wP||(q.maxSuggestions=
b.oh(),q.clientInfo=y)}else{t=b.oe();l=!0;n="files";k.q=_.zLc(b);v=[];var B;(B=_.nN(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==ZPc(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=POc({fields:B,mw:_.ZM(this.H.Ne()),sW:F||void 0,NI:_.oN(this.H),M6a:M});k.appDataFilter="NO_APP_DATA";0<_.Rj(b,_.aP,25).length&&(k.sources=_.sLc(b));0<b.bu().length&&(k.spaces=_.tLc(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));_.BP(this.H,k);_.jP(this.H)&&(k.includeTeamDriveItems=!0,0<_.z(b,33).length&&2==_.fP(b)&&(a=_.z(b,33)[0],k.teamDriveId=a,v.push(a)),k.corpora=_.JKc[_.fP(b)]);_.E(b,18)&&(_.rf(k,"corpora"),k.corpus="DOMAIN");_.PO(this.H)&&(a=_.Rj(b,_.Wk,63),0<a.length?_.GNc(a,f):(a=_.eP(b),B=_.Rj(b,_.$O,35),F=_.Rj(b,_.$O,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()})),_.MP(this,v,f)));kPc(k,b.Td());_.HNc(this.H,k);_.INc(this.H,k)}else if(a instanceof _.nO){n="apps";switch(a.getType()){case 1:k.fields=_.aIc;break;case 2:k.fields=_.bIc;break;case 4:k.fields=_.cIc;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.zG=!0}k.languageCode=lQ(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 _.oO&&a instanceof _.oO)n="backups",e=9,k.languageCode=lQ(this.H.Ne());else if(a instanceof _.rN)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=OOc({fields:this.Fg(c),sW:_.jP(this.H)?
$Q(this.H,a.Sh()):void 0,mw:_.ZM(this.H.Ne()),NI:_.oN(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 _.SEc[X]}).join(",")),_.BP(this.H,k),_.jP(this.H)&&(k.includeCorpusRemovals=!0,k.includeTeamDriveItems=!0,a.wc()&&(k.teamDriveId=a.wc())),t=a.oe(),l=!0;else if(a instanceof _.pO)b=a.kd(),n="files/"+b.getId()+"/permissions",k.fields=_.oN(this.H)?"kind,items(kind,type,id,userId,nameIfNotUser,emailAddress,withLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken":
"kind,items(kind,type,id,userId,name,emailAddress,withLink,photoLink,role,additionalRoles,deleted,view,audienceId,customerId),nextPageToken",a.Tm()&&(k.pageToken=a.Tm()),_.z(a,1)&&(k.maxResults=_.z(a,1)),t=b.oe(),l=!0,_.BP(this.H,k),_.HNc(this.H,k),_.INc(this.H,k),_.PO(this.H)&&_.MP(this,[b.getId()],f);else if("undefined"!=typeof _.qO&&a instanceof _.qO)k.fields=_.oN(this.H)?"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,id,permissionId,emailAddressFromAccount,domain))":
"kind,items(kind,id,mimeType,modifiedDate,pinned,downloadUrl,originalFilename,fileSize,lastModifyingUser(kind,displayName,picture,permissionId,emailAddress))",k.maxResults=a.oh(),n="files/"+a.Hc()+"/revisions",t=a.oe(),l=!0,_.PO(this.H)&&_.MP(this,[a.Hc()],f);else if(a instanceof _.wo)n="teamdrives/"+a.Il()[0],k.fields=$Q(this.H,a.Sh()),t=a.oe(),l=!0;else if(a instanceof _.QIc)h="POST",n="admin/files/migrateToTeamDrivePreFlight",q=GXc(a),f["content-type"]="application/json",l=!0,_.PO(this.H)&&_.MP(this,
a.request.V(),f);else if(a instanceof _.IO)t=a.kd(),n="teamdrives",k.fields=xWc(this.H,t.Sh()),k.q=yWc(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 _.JO)n="teamdrives/"+a.wc(),k.fields="kind,id,recursiveFileCount,recursiveFolderCount",l=!0;else if("undefined"!=typeof _.xO&&a instanceof _.xO)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 _.pN)h="PUT",n="files/"+a.getId(),k.fields=_.wIc({fields:this.Fg(c),mw:_.ZM(this.H.Ne()),NI:_.oN(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=
lQ(this.H.Ne()),q=HXc(a),f["content-type"]="application/json",t=a.oe(),l=!0,_.BP(this.H,k),this.V(a.getId(),k),_.E(a,36)?k.bypassMultiparentingCheck=!0:_.FNc(this.H,k),_.PO(this.H)&&(b=_.Rj(a,_.Wk,38),b.length?_.GNc(b,f):(b=_.z(a,9).concat(_.z(a,10)),b.push(a.getId()),_.MP(this,b,f)));else if(a instanceof _.zO)h="PUT",n="files/"+a.Hc()+"/revisions/"+_.z(a,2),q=IXc(a),f["content-type"]="application/json",t=a.oe(),_.PO(this.H)&&_.MP(this,[a.Hc()],f);else if(a instanceof _.AO)n="teamdrives/"+a.getId(),
null!=a.Hl()?(h="POST",n+="/"+(a.Hl()?"hide":"unhide")):(h="PUT",q=JXc(a),f["content-type"]="application/json"),k.fields=$Q(this.H),t=a.oe(),l=!0;else if(a instanceof _.BO)h="PUT",n="workspaces/"+a.getId(),k.fields="kind,id,title,createdDate,modifiedDate,state",q=KXc(a),f["content-type"]="application/json",t=a.oe(),l=!0;else if("undefined"!=typeof _.LD&&a instanceof _.LD)h="PUT",q=a.V(),t=q.getKey(),n="settings/"+_.z(t,2),(t=_.to(t))&&(k.namespace=_.NHc[t]),q=MPc(q),f["content-type"]="application/json",
t=a.oe(),l=!0;else if(a instanceof _.CO)n="about",k.fields=_.oN(this.H)?"kind,user(kind,id,permissionId,emailAddressFromAccount,domain),quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)":"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites)",
k.fields=$Pc(k.fields,this.H),t=a.oe(),l=!0;else if("undefined"!=typeof _.AP&&a instanceof _.AP){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.bgb=!0);a.ka()&&(b.zG=!0);a.W()&&(b.eaa=!0)}else a instanceof _.IIc?(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",
_.PO(this.H)&&_.MP(this,[b],f)):a instanceof _.yO?(f["content-type"]="application/json",h="POST",b=a.Hc(),n="files/"+b+"/updateCategoryMetadata",t=a.oe(),q={categoryMetadata:a.cN().map(function(X){var T=_.Rj(X,_.wG,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})},_.PO(this.H)&&_.MP(this,[b],f)):a instanceof _.rO?(e=13,n=_.ZM(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"],_.ZM(this.H.Ne())||(k["core_id_params.enable_private_names"]=!0)):a instanceof _.MIc?(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=lQ(this.H.Ne())):
a instanceof _.vG?(e=12,n="/v1/"+a.getName(),f["content-type"]="application/json",k.$outputDefaults=!0,k.languageCode=lQ(this.H.Ne())):a instanceof _.VN?(f["content-type"]="application/json",h="POST",n="drives/"+a.wc()+"/changeCategoryReferences",t=a.oe(),l=!0,k.fields=$Q(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 _.DO&&
a instanceof _.DO?(n="workspaces/"+a.Il()[0],k.fields="kind,id,title,createdDate,modifiedDate,state",t=a.oe(),l=!0):a instanceof _.HIc?(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.G_a()?q.ancestorName=b:q.itemName=b,q.consolidationStrategy={legacy:{}}):a instanceof _.JIc?(e=8,h="POST",n="/v1/exports/"+a.H+":cancel"):a instanceof _.KIc?(e=8,n="/v1/exports/"+a.H):"undefined"!=
typeof _.GO&&a instanceof _.GO?(n="changes",k.fields="kind,largestChangeId",_.BP(this.H,k),_.jP(this.H)&&(k.includeTeamDriveItems=!0,a.Qe&&(k.teamDriveId=a.Qe)),l=!0):a instanceof _.LIc?(n="settings",k.namespace=NPc(a.H),t=a.request.oe(),l=!0):a instanceof _.SIc?(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=B7c(a.request),(t=_.C(a.request,_.xo,5))&&1==t.getType()&&
(k.orderBy="title"),t=a.request.oe(),l=!0):a instanceof _.sO?(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 _.RN?(f["content-type"]="application/json",h="POST",n="files/"+a.Hc()+"/sendAccessRequest",q={}):_.ENc(a);l&&_.JNc(c,k);return _.KNc(e,n,k,f,h,t,q,J)};C7c.prototype.V=function(a,b){a=this.ma.V.H(a);b.expectedParentIds=a?a.li().join(","):[]};
var D7c=function(a,b,c){this.J1=_.Jh();var d=new r7c(a.V.V),e=a.rb.bind(a);e=new d7c(a.V,a.wa,new Z6c(a.Pd,a.Qu,e),a.Wf,this.J1.promise,a.Ja,a.jn.bind(a),e);var f=new p7c(a.V,a.Fj,a.ad,a.Ma,a.Xm,a.Pd,a.Qu);this.W=new _.XKc;this.ka=new _.mMc(a.H,a.od);var h=new C7c(a.V,a.H,this.J1.promise,a.Ja);this.V=new t7c(a.Ja,a.H,a.W,a.jw,function(){return a.Xb});this.ha=$Wc(a.H,new _.LMc(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.J1.promise,a.Ib||void 0);this.J1.resolve(c?c:new _.iMc(new s7c,
d,this.ha,e,f,a.H,this.H.bind(this),b))};D7c.prototype.H=function(){return _.mf(this.ha,function(a){return FSc(a)})};var E7c=function(a){var b=new Map,c=Date.now();_.jf(a.ha,function(d,e){d=GSc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b},F7c=function(a,b){this.W=b||new Date;this.V=a;this.H=NOc(this.V)};F7c.prototype.clone=function(){return new F7c(this.V,this.W)};var G7c=function(){this.H=null;this.V=[]},H7c=function(a){return _.pe(a.V,function(b){return _.tf(b)})};
G7c.prototype.W=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new FYc;e.W=EYc(d.H);var f=_.tg().substring(0,8);d=NOc(f);f=(new jR).kc(f);f=_.x(f,2,d);b=_.x(f,3,b);c=_.x(b,4,c);this.V.push(c);e.V=EYc(d);e.H=CYc(808464432,808464432);e.ha=41;e=String.fromCharCode.apply(null,GYc(e));a["X-Google-DapperTraceInfo"]=_.m.btoa(e)}}};
var J7c=function(a,b){var c=this;this.H=a;this.Ma=b;this.wa=null;this.ka=0;this.YG=this.je=!1;this.ha=_.Jh();this.Ba=null;this.W=a.H;b=_.mQ(this.W);this.Ja=new _.LNc(_.D(b,2,37500),_.D(b,3,6E5));this.V=null;this.ua=a.Db;this.ma={};_.jf(LXc,function(d){c.ma[d]=[]});this.Ka=this.Ga=!1;YQ(a.ha,["hVFf7","T8oKm","BNEDtc"],function(){fS(c,"Initializing: loaded from local dump");I7c(c)});YQ(a.ha,["hVFf7","T8oKm","mrK8ic"],function(){fS(c,"Initializing: loaded from sdk backfill");I7c(c)});YQ(a.ha,["mrK8ic",
"BNEDtc"],function(){fS(c,"Updating: sdk backfill complete");c.g3().ag(_.Se)})},I7c=function(a){a.Ga||(a.Ga=!0,QR(a.H).nb(function(b){a.ua.initialize().Cf(function(){a.wa=b;a.setActive(!0)},function(c){c&&CSc(a.H.W,"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.LN(c));fS(a,"Error initializing dump storage");a.dP()})}))};_.g=J7c.prototype;_.g.XEa=function(a){this.je&&(this.ka+=a,this.ka>_.D(_.mQ(this.W),1,500)&&this.update(3))};
_.g.setActive=function(a){if((this.wa||this.YG)&&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.g3().ag(_.Se)):(this.ha=_.Jh(),_.m.clearTimeout(this.Ba)))}};_.g.dP=function(){this.YG=!0};_.g.AAa=function(){return this.V?this.V.promise:_.Fh()};
_.g.g3=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 l3c(a.H.Ga)}).then(function(b){var c=!b;a.YG?a.V.resolve(c):_.Qo([K7c(a,3,c),K7c(a,0,c,void 0,!0),K7c(a,1,c,void 0,!0),K7c(a,5,c,void 0,!0),K7c(a,6,c,void 0,!0)]).Cf(function(){return a.V.resolve(c)},function(d){d=d&&_.TM(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 l3c(c.H.Ga)}).then(function(e){e=!e;c.YG?d.callback():_.Ph(K7c(c,a,e,b),d)});return d};
var K7c=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(L7c(a,b,c,d,e),h)})}else h=L7c(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.dP():l instanceof _.rb&&(l=l.V||null,l instanceof _.aN&&"InvalidStateError"==l.getName()&&l.message&&-1<l.message.indexOf("The database connection is closing.")&&a.dP());return null});
return h},L7c=function(a,b,c,d,e){var f=new _.Mh;a.ha.promise.then(function(){if(3==b)_.Ph(M7c(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.lna();break;case 5:h=N7c(a.H.Ma);break;case 6:h=a.H.V.ma;h=bYc(new aYc,z4c(h.H));break;default:f.Dd("Invalid data type to write to storage.");return}if(h){var k=_.Rj(_.mQ(a.W),kQ,11)[0].getKey();!k&&c?(fS(a,"Skipping dump update, encrypted and no key"),f.callback()):Z2c(a.ua,c?k:null,[h]).then(f.callback,f.Dd,f)}else e?
(fS(a,"Skipping dump update: "+b),f.callback()):f.Dd("Failed to get data to write to dump.")}});return f},M7c=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(_.mQ(a.W),kQ,11)[0].getKey();if(!d&&c)return fS(a,"Skipping dump update, encrypted and no key"),_.Rh();var e=[];_.jf(iWc,function(h){0<h&&(h=O7c(a,h),h.length&&e.push(Z2c(a.ua,c?d:null,h)))});var f=new _.Mh;_.Hh(e).then(function(){a.Ka&&PR(a.H.Ga,i3c,!0);f.callback()},
f.Dd,f);return f};J7c.prototype.Qa=function(){_.UH(this.Ja);this.update(3,!0)};
var O7c=function(a,b){switch(b){case 1:return[P7c(a)];case 2:var c=(b=a.H.V.ka.H)?b.Ly():[];c=Q7c(a,_.qc(EPc(c)));fS(a,"Exporting "+c.length+" secondary dump items.");c.length>_.D(_.mQ(a.W),5,2E4)&&(b&&xR(b),c=[]);c=WQ(new VQ,R7c(c));var d=a.H.V.ka;a=new JPc;(d=d.H)&&d.V&&(d=d.Ly(),_.x(a,3,d.length));c=_.R(c,11,a);c=hWc(c,2);b&&fWc(c,b.wT());return[c];case 3:return S7c(a);case 4:return T7c(a);default:throw new _.rb("Unsupported CacheType");}},P7c=function(a){var b={},c=[],d=_.A(a.W,79,!1),e=k1c(a.H.V.ka,
d);d=!0;for(var f=0;f<e.length;f++){var h=e[f],k=h.Ly(),l=Q7c(a,cQ(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=ZVc(new UQ,h.kd()),h.W||(_.x(l,2,k),_.R(l,3,n),d=!1),c.push(l)}e=_.qc(b);fS(a,"Exporting "+e.length+" initial dump items.");return fWc(hWc(eWc(WQ(cWc(gWc(dWc(new VQ,a.H.jn()),_.CP(a.Ma)),a.wa.VEa(null)),R7c(e)),c),1),!d)},S7c=function(a){if(!_.jP(a.W))return[];var b=[],c=a.wa;_.ra(a.H.V.ka.V).forEach(function(d){var e=c.VEa(d.wc());if(e){var f=Q7c(a,
cQ(d.Ly()));fS(a,"Exporting "+f.length+" TD dump items for: "+d.wc());e=fWc(hWc(cWc(WQ(new VQ,R7c(f)),e),3),d.wT(d.kd()));d=ZVc(new UQ,d.kd());eWc(e,[d]);b.push(e)}});return b},T7c=function(a){if(!_.jP(a.W))return[];var b={},c=[];z5c(a.H.V).forEach(function(d){1==d.H&&(cQ(d.Ly()).forEach(function(e){b[e.getId()]=e}),d=$Vc(ZVc(new UQ,new _.se),d.kd()),c.push(d))});return[fWc(hWc(eWc(WQ(new VQ,R7c(Object.values(b))),c),4),!1)]},Q7c=function(a,b){b=DPc(b);_.E(a.W,67)&&(b=U7c(b));_.oN(a.W)&&(b=O4c(a.H.V.ma,
b));return b.filter(function(c){return 4!=$P(c)})},U7c=function(a){var b=[];a=_.u(a);for(var c=a.next();!c.done;c=a.next())c=c.value,ePc(c)?(c=c.clone(),YP(c,dPc),b.push(c)):b.push(c);return b},R7c=function(a){return a.map(function(b){return _.Yj(b)})},fS=function(a,b){a.H.W.info("drive.ds.sync.storage.LiveDumpUpdater",b)};J7c.prototype.Ema=function(){this.Ka=!0};var V7c=function(){};_.g=V7c.prototype;_.g.setActive=function(){};_.g.dP=function(){};_.g.update=function(){return _.Rh()};_.g.AAa=function(){return _.Fh()};
_.g.g3=function(){return _.Fh()};_.g.XEa=function(){};_.g.Ema=function(){};
var fQ=function(a,b,c,d){_.O.call(this);var e=this;this.W=d||new _.TKc;this.$e=a;this.H=b.clone();this.Ja=new _.DMc(this.H);this.ma=new HWc(_.CP(this.Ja),this.H);W7c(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 _.$Nc(_.iP(this.H),_.A(this.H.mf(),52,!1));this.Tg=new _.RNc(_.iP(this.H)?3:1,!_.A(this.H.mf(),52,!1));this.ua=_.qOc(this.H,this.ka,
this.Tg,this.W,this.Rd.promise,c);this.Zg=null;this.bo=new k4c(this.ua);this.Fc=new _.Mh;this.Pi=[];X7c(this)};_.I(fQ,_.O);
var Y7c=function(a){a.W.info("drive.ds.sync.ThinContext","Notified of page stable.");_.m.clearTimeout(a.Gx);a.Rd.resolve()},X7c=function(a){var b=function(){Z7c(a).ag(_.Se)},c=a.$e;(c=c&&_.mb(c,_.ik))?_.Id(c,"A",b):_.lN()||_.Id(_.m,"unload",b)},Z7c=function(a){a.ua.H(106005);RSc(a.ua);var b=a.Pi.map(function(c){return c()});_.la(a.Pi);return _.Ih(b).then()},$7c=function(a,b){a.Pi.push(b)},w1c=function(a,b,c){"string"===typeof b&&null===a.Mm&&(a.Mm=b,a.mg.callback(b),b.length&&a.hw(b,c||null))};
fQ.prototype.hw=function(){};fQ.prototype.jn=function(){return this.Mm};var a8c=function(a){if(!a.Zg)throw Error("tg");return a.Zg},b8c=function(a,b){a.Zg=b};fQ.prototype.REa=function(){return this.Tu||this.Tg.isConnected()};fQ.prototype.Hx=function(a){this.Fc.callback(a)};
var W7c=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(_.mQ(a.H),9,!1))if(b=_.Rj(_.mQ(a.H),kQ,11),0<b.length){if(!_.z(b[0],1)||!b[0].getKey()&&!_.iP(a.H)&&!_.A(a.H,10,!1))throw Error("vg");}else _.x(_.mQ(a.H),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.A(_.mQ(a.H),9,!1)&&(_.iP(a.H)||_.A(a.H,10,!1)))throw Error("wg");var c=a.H.Ne();b=!(!c||!_.ZM(c));c=c&&_.gP(c)||"";if(!b&&!c)throw Error("xg");b&&_.tna(a.H,[]);_.Rj(a.H,_.se,44).forEach(function(d){try{LWc(a.ma,d)}catch(e){if(e instanceof _.rb&&(d=e.dg)&&3==d.Zr())throw Error("yg");throw e;}})};fQ.prototype.QEa=function(){return 0};fQ.prototype.rb=function(a){this.dispatchEvent(new _.sb(new _.rb(void 0,a)))};fQ.prototype.log=function(a){this.W.info("drive.ds.sync.ThinContext",a)};
var c8c=function(a,b){this.H=a;this.V=b},d8c=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(d8c,_.O);
var y1c=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=_.dIc.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,e8c(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,ZQ(a.ka,"px2C2c");ZQ(a.ka,"rkYxSd")}(l||n)&&f8c(a,!h)}};d8c.prototype.zy=function(){return 0<this.H.size};
var f8c=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"))},q7c=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=e8c(b);e&&_.Xj(b,e)||(d.set(c,b),f8c(a))}};d8c.prototype.remove=function(a){var b=a&&_.to(a);a=a&&_.z(a,2);b&&a&&(b=this.H.get(b))&&b.delete(a)&&f8c(this)};
var N7c=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 aTc;_.Tj(d,1,c);_.x(d,2,b||[]);return d};
d8c.prototype.iG=function(a){var b=this,c=N7c(this,a),d=new _.uo;d.Ec(this.ha);_.Yva(d,c.Ow());_.R(d,4,c);var e=0;a.forEach(function(f){f=b.W.get(f);_.eIc.has(f)&&Infinity>_.eIc.get(f)&&(e=f)});return new c8c(d,e)};
var e8c=function(a){a=a.clone();a.Th()||a.jc("");return a},g8c=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},h8c=function(a){return 127<a?a-256:a},i8c=function(a,b){return h8c(a[b])+(h8c(a[b+1])<<8)+(h8c(a[b+2])<<16)+(h8c(a[b+3])<<24)},j8c=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+=i8c(a,b),d.b+=i8c(a,b+4),d.c+=i8c(a,b+8),g8c(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+=i8c(a,b+4);d.a+=i8c(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+=i8c(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 g8c(d)},hQ=function(a,b,c,d,e,f){fQ.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 pWc(this.W);this.ua.ha.V=this.ha;this.hb=_.A(_.mQ(b),9,!1)&&(_.m.indexedDB||_.m.mozIndexedDB||_.m.webkitIndexedDB||_.m.moz_indexedDB)?k8c(this,b):null;this.Xa=new AWc(lQ(b.Ne()));this.Ka=new kXc;this.xj=null;this.Se=_.Jh();this.Ga=l8c(this,this.hb);this.Db=m8c(this,this.hb,b);this.wa=n8c(this);this.V=new q5c(this,this.Ja);this.tc=new h0c(this.H,this.V.ma,this.ha,this.W,this.wa,function(k){return o8c(h,k)});this.ad=new o0c(this.W,this.ha,this.wa);this.Ma=new d8c(this.W,this.ha,this.wa);
this.Ks=new _.Mh;this.Su=null;this.Kc=new q0c(this.Dm(),this.W,function(k){return void h.rb(k)});this.Ib=_.A(this.H.mf(),52,!1)?new _.rOc(this.Tg,this.Dm(),this.W):null;this.Wf=new l6c;this.ne=null;this.Wu=_.Jh();YQ(this.ha,["mrK8ic"],function(){h.Wu.promise.then(function(){x1c(h,h.ne)})});this.Ri=new _.Mh;this.jw=new _.qNc(this.H);this.Qa=new _.FMc(this.H,this.V.V);this.Fj=new V6c(this);this.Pd=new o6c(this.Se.promise,this.Dm());this.Qu=new q6c(this.Dm(),this.Pd);this.od=new G7c;this.Xm=new J6c(this.Se.promise,
this.Dm(),this.W,this.H);this.lc=new D7c(this,this.k9a.bind(this),f);this.Vu.resolve(this.lc);this.Ba=new n1c;this.iw=new x6c(this);this.wh=new k0c;this.Ie=_.Jh();this.Ns=!1;this.Os=_.Jh();YQ(this.ha,["BNEDtc"],function(){return h.Os.resolve()});(this.Xb=_.D(b.Ne(),6,"")||"")&&o8c(this,this.Xb);this.lp=null;$7c(this,function(){h.wa.dP();return _.Fh()})};_.I(hQ,fQ);
var k8c=function(a,b){var c=_.gP(b.Ne()),d=_.hP(b),e=function(){},f=_.Rj(_.mQ(b),kQ,11);f=f[0]&&_.z(f[0],1);var h=new Y1c(c,d,_.D(_.mQ(b),10,0)||0,f||"",_.CP(a.Ja));_.iP(b)?c=J2c(c,d).then(function(l){return l?l:h}):_.A(b,10,!1)&&0<_.D(_.mQ(b),8,432E6)?(b=p8c(a,c),c=J2c(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 KR(c,a.W,a.ua);k.initialize().then(function(){return e(k)},function(){return null});return k},p8c=function(a,
b){var c=_.D(_.mQ(a.H),8,432E6);if(!_.iP(a.H)&&0<c)return Math.abs(j8c(_.Kka(b)))%c};hQ.prototype.CA=function(a){var b=this;return this.hb?this.hb.lh()?_.Gh(Error("zg`"+t2c(this.hb))):l3c(this.Ga).then(function(c){var d=b.hb,e=[];e.push(b.wa.AAa());e.push(a?d.Uk():F2c(d));if(a===c)return _.Hh(e).then(function(){return!1});!1===a&&(e.push(s2c(d)),(c=b.jn())&&e.push(PR(b.Ga,e3c,c)));return _.Hh(e).then(function(){return b.Ga.CA(a)},function(){return!1})}):_.Gh(Error("Ag"))};
var m8c=function(a,b,c){var d=null;b&&(d=new Q2c(b,c,function(e){a.rb(e)}),d.initialize());return d},l8c=function(a,b){var c=new j3c(b||void 0);c.jn().then(function(d){d&&w1c(a,d,5)});b&&(l3c(c).then(function(d){a.ka.CA(d)}),_.Hh([b.initialize(),a.Rd.promise]).then(function(){q8c(a,c)},function(){}));return c},q8c=function(a,b){o3c(b).then(function(c){(!c||c<Date.now()-864E5)&&M2c(_.gP(a.H.Ne()),_.hP(a.H),a.W).then(function(d){d&&(d=Date.now(),PR(b,h3c,d))},function(){})})},n8c=function(a){if(!a.Db)return new V7c;
var b=new J7c(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(lWc))),function(){return void b.setActive(a.Tg.isConnected())});return b};hQ.prototype.Fx=function(a){this.Su=a;this.Ks.callback(a)};var QR=function(a){return a.Ks.Lk()},r8c=function(a){return a.hb?a.hb.lh():null},s8c=function(a,b){a.ha.H("NSockf")?ZQ(a.ha,b):YQ(a.ha,["NSockf"],function(){ZQ(a.ha,b)})};
hQ.prototype.hw=function(a,b){this.log("Setting Root ID: "+a);a&&(this.Ka.H=a||"",this.ma.W=a||"",6!=b&&1!=b||PR(this.Ga,e3c,a),s8c(this,"jroI5d"))};var o8c=function(a,b){_.A(a.H,15,!1)||(a.Xb=b,s8c(a,"NVkrgc"))};hQ.prototype.Ms=function(){return this.Ri.Lk()};var x1c=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),s8c(a,"T8oKm")))},AR=function(a){if(!a.xj)throw Error("Bg");return a.xj};_.g=hQ.prototype;_.g.Dm=function(){return this.Vu.promise.then(function(a){return a.J1.promise})};
_.g.Dma=function(){this.Ns||(this.Ns=!0,this.Ie.resolve(),ZQ(this.ha,"aU7Ts"))};_.g.REa=function(){throw Error("Cg");};_.g.k9a=function(){this.lc.H()||this.dispatchEvent("Pb")};_.g.QEa=function(){return this.V.V.W()};
var T3c=function(a){a.lp||(a.lp=new u6c(a.Se.promise,a.Dm(),a.W));return a.lp},t8c=function(a){_.We("drive.DebugUtil.printFindById",function(c){a.OM(c).nb(function(d){window.console.log(JSON.stringify(d))})});_.We("drive.DebugUtil.getLogs",function(){return _.WKc(a.A$())});_.We("drive.DebugUtil.printLogs",function(){window.console.log(_.WKc(a.A$()))});_.We("drive.DebugUtil.printRequestHistory",function(){a.ina().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)}))},gS=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=aQc(new _.xN,[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(gS,_.O);_.g=gS.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()||u8c(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=_.DN(_.GN.Eb(),this.H,this.items),b=(new YSc).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 v8c=function(a,b){return a.Gb()!=b.Gb()||nQ(_.GN.Eb(),a.items,b.Bd())},w8c=function(a,b){a.items=b.Bd();a.ua=b.Gb();_.oN(a.Qa)&&(a.Ga=bQc(a.ua,a.items));a.wa=b.Aha();a.V=b.Re()};
gS.prototype.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a query after "+a.mE+" retries.",a.error)))};gS.prototype.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};gS.prototype.Bs=function(a,b){var c=this;b+="\n\n\nQuery:\n"+bR(this.Ba,this.kd());return _.Sh(this.Ma.then(function(d){return d.ka(a,b,c.kd(),c.oh(),c.items)}))};
var u8c=function(a){a.ze()&&(x8c(a,"Returning "+a.items.length+" items. Status: "+(_.Wea(cTc)[a.Gb()]+". Datasource: ")+(_.Wea(STc)[a.V]+". Query: ")+bR(a.Ba,a.hc)),y8c(a,a.items,a.hc),a.dispatchEvent(new _.gi(_.ec,a)))},y8c=function(a,b,c){if(_.jO(c))c="quick access";else if(_.kO(c))c="people predict";else if(_.lO(c))c="drive priority";else return;var d=b.map(function(e){return e.getId()}).join(", ");x8c(a,"Returning "+b.length+" items for "+c+": "+d)};gS.prototype.refresh=function(){};
var x8c=function(a,b){a.Xa.info("drive.ds.sync.BaseViewCacheLiveList",b)};_.p("sy128");
var hS=function(a){_.Q(this,a,0,-1,null,null)};_.L(hS,_.P);hS.prototype.getType=function(){return _.z(this,1)};var z8c=function(a){var b=new hS;return _.x(b,1,a)};hS.prototype.aZ=function(){return _.C(this,_.wk,2)};var A8c=function(a,b){return _.R(a,2,b)};hS.prototype.Zt=function(){return _.z(this,3)};hS.prototype.Fu=function(a){return _.x(this,3,a)};hS.prototype.ri=function(){return _.z(this,4)};hS.prototype.setPosition=function(a){return _.x(this,4,a)};
var iS=function(a){_.Q(this,a,0,-1,null,null)};_.L(iS,_.P);iS.prototype.getType=function(){return _.z(this,1)};var B8c=function(a){var b=new iS;return _.x(b,1,a)},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 kS=function(a){var b=new jS;return _.x(b,1,a)},lS=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 E8c=function(a){_.Q(this,a,0,-1,D8c,null)};_.L(E8c,_.P);var D8c=[2];E8c.prototype.Gb=function(){return _.z(this,1)};E8c.prototype.Ec=function(a){return _.x(this,1,a)};E8c.prototype.Zj=function(){return _.z(this,3)};
var F8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(F8c,_.P);
var H8c=function(a){_.Q(this,a,0,-1,G8c,null)};_.L(H8c,_.P);var G8c=[2];H8c.prototype.Gb=function(){return _.z(this,1)};H8c.prototype.Ec=function(a){return _.x(this,1,a)};H8c.prototype.jj=function(){return _.Rj(this,_.EN,2)};H8c.prototype.Lo=function(a,b){return _.Uj(this,2,a,_.EN,b)};
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.$i=function(){return _.Rj(this,iS,2)};
var K8c=function(a){_.Q(this,a,0,-1,null,null)};_.L(K8c,_.P);K8c.prototype.Gb=function(){return _.z(this,1)};K8c.prototype.Ec=function(a){return _.x(this,1,a)};
var M8c=function(a){_.Q(this,a,0,-1,L8c,null)};_.L(M8c,_.P);var L8c=[2];M8c.prototype.Gb=function(){return _.z(this,1)};M8c.prototype.Ec=function(a){return _.x(this,1,a)};M8c.prototype.$i=function(){return _.Rj(this,jS,2)};
var mS=function(a){_.Q(this,a,0,-1,null,null)};_.L(mS,_.P);mS.prototype.getType=function(){return _.z(this,1)};var N8c=function(a){var b=new mS;return _.x(b,1,a)};mS.prototype.Zt=function(){return _.z(this,3)};mS.prototype.Fu=function(a){return _.x(this,3,a)};mS.prototype.ri=function(){return _.z(this,4)};mS.prototype.setPosition=function(a){return _.x(this,4,a)};
var P8c=function(a){_.Q(this,a,0,-1,O8c,null)};_.L(P8c,_.P);var O8c=[2];P8c.prototype.Gb=function(){return _.z(this,1)};P8c.prototype.Ec=function(a){return _.x(this,1,a)};P8c.prototype.Zj=function(){return _.z(this,3)};
var R8c=function(a){_.Q(this,a,0,-1,Q8c,null)};_.L(R8c,_.P);var Q8c=[2,4];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)};
_.nS=function(a){_.Q(this,a,0,-1,null,null)};_.L(_.nS,_.P);_.nS.prototype.getType=function(){return _.z(this,1)};var S8c=function(a){var b=new _.nS;return _.x(b,1,a)};_.nS.prototype.rv=function(){return _.C(this,_.hR,2)};var T8c=function(a,b){return _.R(a,2,b)};_.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 V8c=function(a){_.Q(this,a,0,-1,U8c,null)};_.L(V8c,_.P);var U8c=[2,4];
var X8c=function(a){_.Q(this,a,0,-1,W8c,null)};_.L(X8c,_.P);var W8c=[2];X8c.prototype.Gb=function(){return _.z(this,1)};X8c.prototype.Ec=function(a){return _.x(this,1,a)};X8c.prototype.Zj=function(){return _.z(this,3)};
var Y8c=function(a){_.gi.call(this,"Rb");this.dataType=a};_.I(Y8c,_.gi);
var Z8c=function(a,b){_.gi.call(this,"Sb");this.ka=a;this.H=b};_.I(Z8c,_.gi);
var $8c=function(){};_.g=$8c.prototype;_.g.BF=function(a,b){return YTc(XTc(1),a).setPosition(b)};_.g.zF=function(a,b){return YTc(XTc(2).setPosition(b),a)};_.g.jK=function(a,b,c){return YTc(XTc(3).Fu(b).setPosition(c),a)};_.g.DI=function(a,b){return YTc(XTc(4),a).setPosition(b)};_.g.ZF=function(a){return _.C(a,uQ,2)};
var a9c=function(){_.CN.call(this,new $8c,function(a){return a&&a.getName()})};_.I(a9c,_.CN);
var oS=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=aQc(new _.xN,[1]);this.ua=this.H=!1;_.ud(this,function(){d.active=!1;d.Xd.removeAll()})};_.I(oS,_.O);_.g=oS.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(lWc))),_.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.SH()}):this.SH()}};_.g.PG=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.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};_.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.SH=function(){};
var b9c=function(a,b,c,d,e){oS.call(this,a,b,e.oh()||void 0);this.hc=e;this.Ba=d;this.ka=[];this.V=[];this.W=!1;this.ma=new a9c;this.wa=c};_.I(b9c,oS);_.g=b9c.prototype;_.g.xB=function(){(0<this.V.length||6!=this.status)&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.getData=function(){return bUc(new yQ,this.V).Ec(this.status)};_.g.Tp=function(){var a=_.DN(this.ma,this.ka,this.V);this.ka=this.V;var b=(new $Tc).Ec(this.status);return _.Tj(b,2,a)};_.g.SH=function(){this.Ba(this.ti(),this.limit)};
_.g.uq=function(){if(this.active){var a=this.status;this.PG();if(this.W||a!=this.status)c9c(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()||nQ(0,this.V,b.V()))this.H=!0,this.status=b.Gb(),this.V=b.V(),this.ua=a.V,c9c(this,"Returning "+this.V.length+" labels for "+this.hc.Hc()),this.dispatchEvent(new _.gi(_.ec,this))};_.g.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a category metadata query after "+a.mE+" retries.",a.error)))};var c9c=function(a,b){a.wa.info("drive.ds.sync.CategoryMetadataLiveList",b)};
var d9c=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=aQc(new _.xN,[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(d9c,_.O);_.g=d9c.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 _.PP;a.Ec(this.V);a.H=this.H;return a};_.g.Tp=function(){var a=cQc(this.W,this.H),b=new WTc;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.qL=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()||dQc(this.H,a.$r()))this.V=a.Gb(),this.H=a.$r(),_.oN(this.ka.H)&&(this.ma=bQc(this.V,Object.values(this.H))),this.ha&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.OG=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.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};
var e9c=function(a,b,c,d,e,f){gS.call(this,a,b,c,e,f,d);this.Ka=null;this.Ja=void 0};_.I(e9c,gS);e9c.prototype.getData=function(){this.H=this.items;var a=LRc((new _.pC).Ec(this.Gb()).Ew(this.items),this.mj());a=_.R(a,7,this.Ka);return _.eKc(a.II(this.ka).setSessionId(this.ma).JX(this.suggestionSessionId).IX(this.V),this.Ja)};e9c.prototype.update=function(a){v8c(this,a)&&(w8c(this,a),this.Ka=a.GX(),this.ka=a.JF(),this.ma=a.getSessionId(),this.suggestionSessionId=a.HX(),this.Ja=a.J7(),u8c(this))};
var f9c=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=lS(kS(4),f),c[e]=d):(d=lS(kS(2),d),c[e]=d)});_.jf(b,function(d,e){a[e]||(d=lS(kS(1),d),c[e]=d)});return c},g9c=function(a,b){return _.nf(a)!=_.nf(b)||!_.qf(f9c(a,b))};
var h9c=function(a,b){_.O.call(this);this.hc=b;this.je=!1;this.V=6;this.W={};this.H={}};_.I(h9c,_.O);_.g=h9c.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 _.xN};_.g.getData=function(){this.W=this.H;var a=(new _.RP).Ec(this.V);_.jf(this.H,function(b,c){a.CM().set(c,b||new _.lC)});return a};
_.g.Tp=function(){var a=f9c(this.W,this.H);this.W=this.H;var b=(new K8c).Ec(this.V);_.jf(a,function(c,d){_.Jj(b,2,jS).set(d,c)});return b};_.g.qL=function(){throw Error("Dg");};_.g.ti=function(){return String(_.xa(this))};_.g.kd=function(){return this.hc};_.g.update=function(a){var b={};a.CM().forEach(function(c,d){c||(c=C6c(d));b[d]=c});if(this.V!=a.Gb()||g9c(this.W,b))this.V=a.Gb(),this.H=b,this.je&&this.dispatchEvent(new _.gi(_.ec,this))};
_.g.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Workspace find by id after "+a.mE+" retries.",a.error)))};_.g.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};
var i9c=function(){};_.g=i9c.prototype;_.g.BF=function(a,b){return lS(kS(1),a).setPosition(b)};_.g.zF=function(a,b){return lS(kS(2).setPosition(b),a)};_.g.jK=function(a,b,c){return lS(kS(3).Fu(b).setPosition(c),a)};_.g.DI=function(a,b){return lS(kS(4),a).setPosition(b)};_.g.ZF=function(a){return _.C(a,_.lC,2)};
var j9c=function(){_.CN.call(this,new i9c,function(a){return a&&a.getId()})};_.I(j9c,_.CN);
var k9c=function(a,b,c){oS.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 j9c};_.I(k9c,oS);_.g=k9c.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 dYc((new nR).Ec(this.status),this.V.slice(0))};_.g.Tp=function(){var a=_.DN(this.ma,this.W,this.V);this.W=this.V;var b=(new M8c).Ec(this.status);return _.Tj(b,2,a)};_.g.SH=function(){this.wa.W(this.ti(),this.limit)};
_.g.uq=function(){var a=this.status;this.PG();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()||nQ(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.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Workspace query after "+a.mE+" retries.",a.error)))};
var m9c=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=aQc(new _.xN,[1]);this.ua=c;l9c(this,"Creating find by ids live map: "+this.hc.Il().join(", "));_.ud(this,function(){h.ha=!1;h.W=[]})};_.I(m9c,_.O);_.g=m9c.prototype;_.g.ti=function(){return String(_.xa(this))};_.g.activate=function(){this.ha=!0;_.qf(this.H)&&6==this.V||n9c(this)};_.g.kd=function(){return this.hc};
_.g.getData=function(){this.W=this.H;var a=new _.PP;_.oN(this.ka)?a.Ec(fPc(Object.values(this.H))?6:this.V):a.Ec(this.V);a.H=this.H;return a};_.g.Tp=function(){var a=cQc(this.W,this.H),b=new WTc;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.qL=function(a){JWc(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);o9c(b,a)}):o9c(this,a)};var o9c=function(a,b){if(a.V!=b.Gb()||dQc(a.H,b.$r()))a.V=b.Gb(),a.H=b.$r(),_.oN(a.ka)&&(a.ma=bQc(a.V,Object.values(a.H))),n9c(a)};m9c.prototype.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a find-by-IDs query after "+a.mE+" retries.",a.error)))};m9c.prototype.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};
var n9c=function(a){a.ha&&(l9c(a,"Returning "+Object.values(a.H).length+". Status: "+(a.Gb()+". Query: ")+bR(a.wa,a.hc)),a.dispatchEvent(new _.gi(_.ec,a)))},l9c=function(a,b){a.ua.info("drive.ds.sync.IdViewCacheLiveMap",b)};
var p9c=function(a,b,c,d,e,f){gS.call(this,a,b,c,d,e,f);this.Ja=[]};_.I(p9c,gS);p9c.prototype.getData=function(){this.H=this.items;return WSc(VSc((new _.QP).Ec(this.Gb()).Ew(this.items),this.mj()),this.Ja).II(this.ka).setSessionId(this.ma).JX(this.suggestionSessionId).IX(this.V)};p9c.prototype.update=function(a){v8c(this,a)&&(w8c(this,a),this.Ja=_.Rj(a,_.wk,6),this.ka=a.JF(),this.ma=a.getSessionId(),this.suggestionSessionId=a.HX(),u8c(this))};
var q9c=function(){};_.g=q9c.prototype;_.g.BF=function(a,b){return C8c(B8c(1),a).setPosition(b)};_.g.zF=function(a,b){return C8c(B8c(2).setPosition(b),a)};_.g.jK=function(a,b,c){return C8c(B8c(3).Fu(b).setPosition(c),a)};_.g.DI=function(a,b){return C8c(B8c(4),a).setPosition(b)};_.g.ZF=function(a){return _.C(a,BQ,2)};
var r9c=function(){_.CN.call(this,new q9c,function(a){return a&&a.V()})};_.I(r9c,_.CN);
var s9c=function(a,b,c){oS.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 r9c;this.ma=null};_.I(s9c,oS);_.g=s9c.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 vUc((new CQ).Ec(this.status),this.V.slice(0)).setSessionId(this.ma)};_.g.Tp=function(){var a=_.DN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new J8c).Ec(this.status);return _.Tj(b,2,a)};
_.g.SH=function(){};_.g.uq=function(){var a=this.status;this.PG();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()||nQ(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.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Suggested Workspace query after "+(a.mE+" retries."),a.error)))};
var t9c=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=aQc(new _.xN,[1]);this.W=!0;_.ud(this,function(){d.ha=!1;d.ka=[]})};_.I(t9c,_.O);_.g=t9c.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 LRc((new _.pC).Ec(this.V).Ew(this.H),this.W)};_.g.Tp=function(){var a=_.DN(_.GN.Eb(),this.ka,this.H),b=(new YSc).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()||nQ(_.GN.Eb(),this.H,a.Bd()))this.H=a.Bd(),this.V=a.Gb(),_.oN(this.wa)&&(this.ua=bQc(this.V,this.H)),this.W=a.Aha(),this.ha&&this.dispatchEvent(new _.gi(_.ec,this))};_.g.OG=function(a){this.dispatchEvent(new _.sb(new _.rb("Error occurred running a Team Drive query after "+a.mE+" retries.",a.error)))};_.g.NJ=function(){this.dispatchEvent(new _.gi(_.xEa))};_.g.Bs=function(){throw Error("Eg");};_.g.refresh=function(){};
var u9c=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=u9c.prototype;_.g.Aga=function(a){var b=this,c=new e9c(this.H.ma,this.H.Fc,this.H.W,this.H.H,function(d,e){return b.W(d,e)},a);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.Dga=function(a){var b=this,c=new p9c(this.H.ma,this.H.Fc,this.H.W,function(d,e){return b.W(d,e)},a,this.H.H);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};
_.g.xga=function(a){var b=this,c=new m9c(this.H.H,this.H.ma,this.H.W,this.H.mg,this.Ja.bind(this),a);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.Gga=function(a){var b=this,c=new t9c(a,this,this.H.H);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.Hga=function(a){var b=this,c=new d9c(this.H,this,a);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.Iga=function(a){var b=this,c=new k9c(this.H,a,this);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};
_.g.Ega=function(a){var b=this,c=new s9c(this.H,a,function(){if(a instanceof _.vo){var d=T3c(b.H);j6c(d,d.getKey(a)).refresh()}});pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.Jga=function(a){var b=this,c=new h9c(this.H,a);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};_.g.uga=function(a){var b=this,c=new b9c(this.H.ka,this.H.Tg,this.H.W,function(d,e){return b.W(d,e)},a);pS(this,c);_.ud(c,function(){return qS(b,c)});return c};
var pS=function(a,b){var c=b.ti();a.ha[c]=b;a.wa.create(c,b.kd());b=b.kd()instanceof _.yo?g6c(a.ma,c,b.kd()):"undefined"!=typeof _.DO&&b.kd()instanceof _.DO?h6c(a.ma,c,b.kd()):b.kd()instanceof _.vo?g6c(T3c(a.H),c,b.kd()):b.kd()instanceof _.FG?g6c(a.Ka,c,b.kd()):v5c(a.ua,c,b.kd());"boolean"===typeof b&&l4c(a.wa,c,b)},qS=function(a,b){if(b.kd()instanceof _.yo)i6c(a.ma,b.ti(),b.kd());else if("undefined"!=typeof _.DO&&b.kd()instanceof _.DO){var c=a.ma,d=b.ti(),e=b.kd(),f=c.H.get(c.getKey(e));f&&(f.H.delete(d),
0==f.H.size&&f.dispose(),f.isDisposed()&&c.H.delete(c.getKey(e)))}else b.kd()instanceof _.vo?i6c(T3c(a.H),b.ti(),b.kd()):b.kd()instanceof _.FG?i6c(a.Ka,b.ti(),b.kd()):w5c(a.ua,b.ti(),b.kd());WR(a.wa,b.ti(),4);delete a.ha[b.ti()]};u9c.prototype.Ja=function(a,b,c){w5c(this.ua,a,b);v5c(this.ua,a,c)};
u9c.prototype.W=function(a,b){var c=F0c(this,a).kd();c.Gi(b);c instanceof _.yo?g6c(this.ma,a,c):"undefined"!=typeof _.DO&&c instanceof _.DO?h6c(this.ma,a,c):c instanceof _.FG?g6c(this.Ka,a,c):v5c(this.ua,a,c)};
u9c.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&&(n4c(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])WR(this.wa,a,3),d.OG(c)};var F0c=function(a,b){if(!a.ha[b])throw Error("Fg`"+b);return a.ha[b]};
var rS=function(a,b){_.O.call(this);this.ka=a;this.hc=b;this.W=_.Jh();this.V=!1;this.H=""};_.I(rS,_.O);rS.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};rS.prototype.ua=function(a){this.H=a.H;this.dispatchEvent(new Z8c(0,this.H));v9c(this)};var v9c=function(a){_.m.setTimeout(function(){a.ka.then(function(b){return b.H(new _.KIc(a.H))}).then(a.wa.bind(a)).ag(a.ha.bind(a))},5E3)};
rS.prototype.wa=function(a){if(1==a.status||3==a.status||2==a.status)this.dispatchEvent(new Z8c(a.ka,this.H)),v9c(this);else{this.V=!0;if(4==a.status){var b=new V8c;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=_.jN(_.Gq(_.Fq(new _.qb,"Export failed for request "+this.H+": "+a.status),JSON.stringify(a)),8),this.ha(a);this.dispose()}};rS.prototype.cancel=function(){var a=this;this.ka.then(function(b){return b.H(new _.JIc(a.H))}).then(this.ma.bind(this)).ag(this.ha.bind(this))};
rS.prototype.ma=function(){if(!this.V){var a=new V8c;a=_.x(a,3,this.H);a=_.x(a,1,!0);this.W.resolve(a);this.V=!0;this.dispose()}};rS.prototype.ha=function(a){this.V=!0;this.W.reject(_.LN(a));this.dispose()};
var w9c=function(){_.gi.call(this,"VbxEwf")};_.I(w9c,_.gi);
var x9c=function(a,b){this.H=a;this.V=b||null;this.W=null};_.g=x9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.VM,58)};_.g.getContext=function(){return this.H};_.g.LEa=function(){var a=this.H.Qa,b=this.W,c=_.qc(a.H);a.V&&c.push(_.GMc("CacheSize",a.V.W()));c.push(_.GMc("InitialViewDataLoaded",b));a=new uSc;_.Tj(a,1,c);return _.Rh(a)};_.g.A$=function(){return this.H.W};_.g.OM=function(a){return _.Rh(this.H.V.V.H(a))};_.g.ina=function(){return _.Rh(this.H.Qa.W.kh())};
_.g.Nca=function(a,b,c){var d=new _.Mh;if(_.C(a,_.XM,3)||_.C(a,_.IO,4)||_.C(a,_.DP,5)||_.C(a,_.AO,6)||_.C(a,_.cO,7)||_.C(a,_.WN,8)||_.C(a,_.$N,9)||_.C(a,_.pN,10)){var e=BXc(a);this.H.Dm().then(function(f){return f.H(e,{Wmb:b,Xmb:c})}).then(this.t5a.bind(this,d),d.Dd,d);return d}throw Error("Gg");};
_.g.t5a=function(a,b){var c=[],d="";if(b instanceof _.nP){c=b.qr().Bd();var e=_.z(b,2);d=b.Tm()}else if(b instanceof _.LO)b.getItem()&&c.push(b.getItem()),e=b.kJ();else throw Error("Hg");a.callback({items:c,mxa:e,pageToken:d})};_.g.VLa=function(){var a=this.H.H,b=a.mf();a="email:"+a.Ne().getEmail().replace(/@.*$/,"");_.x(b,13,a)};_.g.vwa=function(){this.H.wa.dP();var a=this.H.H;N2c(_.gP(a.Ne()),_.hP(a),this.H.W).ag(function(){})};_.g.qY=function(){return _.OGc[_.D(this.H.H.mf(),8,0)]};
_.g.bsa=function(){this.H.od.H=new F7c(_.tg().substring(0,8))};_.g.B$=function(){var a=this.H.od.H,b=null;a&&(b=H7c(this.H.od),b={traceId:a,spanRecs:b});a=this.H.od;a.H=null;a.V=[];return _.Rh(b)};_.g.MEa=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.QEa();c=this.H.V.ka;var d=c.H;d&&(b.cs_sutd=d.ha,b.cs_ss=d.Z_());b.cs_ch=k1c(c).length;b.cs_td=_.ra(c.V).length;(c=this.H.Su)&&(b.t_cps=c.R_a().join(","));b.t_id=r8c(this.H);var e=[];E7c(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.aLa=function(){this.V&&(this.V.dispatchEvent(new w9c),this.V.Y_())};_.g.Uk=function(a){var b=this.H.Ib;b&&a!=b.H&&(b.H=a,_.OMc(b),a?b.qc.update(3):_.ELc(b))};
var A9c=function(a,b){this.H=a;this.V=b;this.ha=_.xIc(ISc(this.V),y9c);this.W=_.xIc(ISc(this.V),z9c)},B9c=function(a,b){var c={};b.forEach(function(f){_.BIc(f);var h=f.getId(),k=a.H.jn(),l=a.H.Xb;_.RJc(f,3);_.x(f,82,5);var n=APc(f,!0);f.getCapabilities()||f.xn(new _.Bk);_.E(n,2)&&((n=f.li())&&n.length?_.x(f,46,n[0]):(_.XO(f,[k]),_.x(f,46,k)),k=f.xq(),_.x(f,12,k),k=new _.wk,k.kc(l),_.x(k,6,1),_.gJc(k,!0),_.ZO(f,k),_.YO(f,[k]),_.PM(f,1));c[h]=f});b=Object.keys(c);var d=a.H.V,e=xXc(d.V,b);_.jf(e,function(f,
h){ZP(f.getItem(),c[h],a.ha);(a.H.ka.Ff()||a.H.Tg.Ff()||3==$P(f.getItem()))&&ZP(f.getItem(),c[h],a.W);_.rf(c,h)});_.jf(c,function(f){f.Cm().Rp()&&(e[f.getId()]=new XQ(f))});K5c(d,Object.values(e))},C9c=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});B9c(a,c)},y9c=[50],z9c=[12,11,10,67,68];
var D9c=function(a){this.ka=a;this.H=null;this.ha=new A9c(a,a.Ja);this.V=!1};
D9c.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);E9c(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=zXc(a.V,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3==$P(f)){var h=new _.vN;_.wN(h,f.getId());_.AN(h);d.push(h)}else h=new _.Fk,_.JN(h,!1),_.x(h,2,!1),_.R(f,81,h),c.push(b[e])}K5c(a,c);a.ua(d)}};
D9c.prototype.wa=function(a){E9c(this,"Processing all offline item(s): "+a.length);B9c(this.ha,a);ZQ(this.ka.ha,"GZTDpc")};D9c.prototype.ua=function(){E9c(this,"Error fetching offline items.")};D9c.prototype.ma=function(a){E9c(this,"Handling offline change(s): "+a.length);C9c(this.ha,a)};var E9c=function(a,b){a.ka.W.info("drive.ds.sync.offline.LocalDataService",b)};
var sS=function(a){_.O.call(this);this.Ka="drive.ds.sync.BaseItemService";this.context=a;var b=new D9c(a);this.context.Zg=b;this.Ma=new x9c(a,this);t8c(this.Ma);(b=_.C(a.H,_.VM,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 u9c(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.Gwa()};_.I(sS,_.O);_.g=sS.prototype;_.g.Gwa=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.KEa(),this.Xd.listen(this.context,_.fc,this.u1a),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(lWc))),function(b){return void a.dispatchEvent(b)}),this.V.start(),ZQ(this.V,"NSockf"));return this.wa.promise};
_.g.fBa=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.u1a=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.sV=function(){throw tS("teamDriveQuery");};_.g.Bca=function(){throw tS("teamDriveFindByIds");};_.g.Psa=function(){throw tS("teamDriveMovePreflight");};_.g.mpa=function(){throw tS("peoplePredictQuery");};
_.g.query=function(a){LWc(this.context.ma,a,HSc(this.context.Ja));this.BO();var b=this.W.Aga(_.Yj(a));this.hb||(a=a.oe(),a&&121==_.z(a,1)||(this.hb=!0,this.Xd.listen(b,_.ec,this.JEa)));return b};_.g.JEa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Ma.W=this.V.H("W6J7De"),this.Xd.Sc(a,_.ec,this.JEa))};_.g.mr=function(a){this.BO();JWc(a);return this.W.xga(_.Yj(a))};_.g.Uea=function(){throw tS("activityQuery");};_.g.Ffa=function(){throw tS("backupsQuery");};
_.g.$pa=function(){throw tS("refreshBackups");};_.g.ana=function(){throw tS("getAndroidBackupItems");};_.g.dha=function(){throw tS("deleteBackup");};_.g.qpa=function(){throw tS("permissionQuery");};_.g.bla=function(){throw tS("insertPermission");};_.g.fha=function(){throw tS("deletePermission");};_.g.Yc=function(){throw tS("mutate");};_.g.OO=function(){throw tS("mutateWorkspace");};_.g.PA=function(){throw tS("bulkMutate");};_.g.wga=function(){throw tS("createFileUploader");};
_.g.Uwa=function(a){return new rS(this.context.Dm(),a)};_.g.$T=function(a){if(3==a.getType())return _.Sh(this.context.Dm().then(function(b){return b.H(a)}).then(null,_.NN));throw tS("getApps with type "+a.getType());};_.g.bna=function(){throw tS("getApp");};_.g.dla=function(){throw tS("installApp");};_.g.cha=function(){throw tS("deleteApp");};_.g.z$=function(){throw tS("updateApp");};_.g.JS=function(){throw tS("getUserAccount");};_.g.iG=function(){throw tS("getUserPrefs");};
_.g.fna=function(){throw tS("mutateUserPref");};_.g.cna=function(){throw tS("getRevisions");};_.g.ena=function(){return!1};_.g.Uk=function(a){this.context.ka.Uk(a)};_.g.CA=function(){throw tS("setOfflineOptIn");};_.g.hna=function(){throw tS("setLocalItemService");};_.g.BO=function(){};_.g.GEa=function(){Y7c(this.context);this.context.ua.H(106006)};_.g.CY=function(){return this.Ma};_.g.gna=function(){};_.g.y$=function(){return this.context.Kc.H};_.g.$ma=function(){return s0c(this.context.Kc)};
_.g.isConnected=function(){return 1==this.context.Ib.getState().get()};_.g.sync=function(){throw tS("sync");};_.g.Y_=function(){return Z7c(this.context)};_.g.voa=function(){throw tS("offlineDataLoaded");};_.g.uHa=function(a){return this.context.Dm().then(function(b){return b.H(a)}).then(function(b){return b})};_.g.$fa=function(){throw tS("categoryMetadataQuery");};_.g.bga=function(){throw tS("changeCategoryLinks");};_.g.FV=function(){throw tS("updateCategoryMetadata");};
_.g.Qpa=function(){throw tS("publishedCategoriesQuery");};_.g.cba=function(){throw tS("publishedCategoryQuery");};_.g.$ta=function(){throw tS("workspaceFindByIdsRequest");};_.g.jda=function(){throw tS("workspaceQueryRequest");};_.g.Hsa=function(){throw tS("suggestedWorkspaceItemQueryRequest");};_.g.tca=function(){throw tS("suggestedWorkspaceQueryRequest");};_.g.Zma=function(){throw tS("addCacheHint");};_.g.D5=function(){throw tS("createUserFeedback");};
_.g.dna=function(){throw tS("handleChanges");};var tS=function(a){return new _.rb(a+" is unsupported",_.KN(3))};
var fQc=function(a){sS.call(this,a);w1c(a,"");o8c(a,"");this.Ka="drive.ds.sync.AnonymousItemService"};_.I(fQc,sS);fQc.prototype.KEa=function(){YQ(this.V,["NSockf"],this.fBa.bind(this))};
var F9c=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d||null;this.H=String(_.xa(this))},G9c=function(a,b,c){this.id=a;this.data=b||[];this.error="string"===typeof c?c:void 0},H9c=function(a){return new G9c(a.id,a.d,a.err||void 0)};
var uS=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;cR(d.Ma,d.Zm,(0,_.K)(d.d$a,d));cR(d.Ma,d.Zm+"_update",(0,_.K)(d.F5a,d));d.log("Service initialized.");d.Ba.callback()})};_.I(uS,_.O);_.g=uS.prototype;
_.g.d$a=function(a){a=H9c(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,_.iN(c,2),_.jN(c,6),_.x(c,21,"An invalid response was received");b.reject(new _.rb(void 0,c))}delete this.hb[a.id]}};_.g.F5a=function(a){a=H9c(a);this.L8(a.id,a.data,a.error)};_.g.L8=function(){};
_.g.send=function(a,b,c,d){var e=this,f=new _.Mh;this.Ba.nb(function(){var h=e.Ma,k=new F9c(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))});dR(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 I9c=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.V=d};
var vS=function(a,b,c){uS.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.H=b;this.ha={};this.V=c};_.I(vS,uS);vS.prototype.Aga=function(a){var b=this;a=new e9c(this.H.ma,this.H.Fc,this.H.W,this.H.H,function(c,d){return b.W(c,d)},a);J9c(this,a);return a};vS.prototype.Dga=function(a){var b=this;a=new p9c(this.H.ma,this.H.Fc,this.H.W,function(c,d){return b.W(c,d)},a,this.H.H);J9c(this,a);return a};
var J9c=function(a,b){wS(a,b);_.ud(b,function(){xS(a,b);a.send("4.3",[b.ti(),b.kd().Dc()])});a.send("4.1",[b.ti(),b.kd().Dc()])};_.g=vS.prototype;_.g.xga=function(a){var b=this,c=new m9c(this.H.H,this.H.ma,this.H.W,this.H.mg,this.Ja.bind(this),a);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.4",[c.ti(),c.kd().Dc()])});this.send("4.2",[c.ti(),c.kd().Dc()]);return c};
_.g.Gga=function(a){var b=this,c=new t9c(a,this,this.H.H);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.11",[c.ti(),c.kd().Dc()])});this.send("4.9",[c.ti(),c.kd().Dc()]);return c};_.g.Hga=function(a){var b=this,c=new d9c(this.H,this,a);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.12",[c.ti(),c.kd().Dc()])});this.send("4.10",[c.ti(),c.kd().Dc()]);return c};
_.g.Iga=function(a){var b=this,c=new k9c(this.H,a,this);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.15",[c.ti(),c.kd().Dc()])});this.send("4.13",[c.ti(),c.kd().Dc()]);return c};_.g.Jga=function(a){var b=this,c=new h9c(this.H,a);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.16",[c.ti(),c.kd().Dc()])});this.send("4.14",[c.ti(),c.kd().Dc()]);return c};
_.g.Ega=function(a){var b=this,c=new s9c(this.H,a,function(){b.send("4.21",[c.ti()])});wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.23",[c.ti(),c.kd().Dc()])});this.send("4.22",[c.ti(),c.kd().Dc()]);return c};_.g.uga=function(a){var b=this,c=new b9c(this.H.ka,this.H.Tg,this.H.W,function(d,e){return b.W(d,e)},a);wS(this,c);_.ud(c,function(){xS(b,c);b.send("4.19",[c.ti(),c.kd().Dc()])});this.send("4.18",[c.ti(),c.kd().Dc()]);return c};
var wS=function(a,b){a.V.create(b.ti(),b.kd());a.ha[b.ti()]=b},xS=function(a,b){WR(a.V,b.ti(),4);delete a.ha[b.ti()]};vS.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");};
vS.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 _.SM)d="4.8";else if(c.kd()instanceof _.FG)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])};
vS.prototype.L8=function(a,b,c){if(a=this.ha[a]){var d,e=0;if(c)c=new _.qb(JSON.parse(c)),c=new iR(c,c.FX()),a.OG(c),WR(this.V,a.ti(),3);else if(b[e]){var f=b[e++];if("cacheRefresh"==f){a.NJ();return}c=a.kd();if(c instanceof _.se||c instanceof _.SM)f=JSON.parse(f),c instanceof _.se&&_.kO(c)?d=new _.QP(f):d=new _.pC(f);else if(c instanceof _.oo||c instanceof _.wo)d=new _.PP,VTc(d,function(h){return new _.Hk(JSON.parse(h))},f);else if(c instanceof _.FG)d=new _.TP(new yQ(JSON.parse(f)),b[e++],b[e++],
b[e++]);else if(c instanceof _.yo)d=new _.WP(new nR(JSON.parse(f)),b[e++],b[e++],b[e++]);else if("undefined"!=typeof _.DO&&c instanceof _.DO)d=new _.RP(JSON.parse(f));else if(c instanceof _.vo)d=new CQ(JSON.parse(f));else throw Error("Kg");}d&&("boolean"===typeof b[e]&&l4c(this.V,a.ti(),!!b[e]),n4c(this.V,a.ti(),d),a.update(d))}};
var K9c=function(a,b){uS.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.H=b;this.V=null};_.I(K9c,uS);_.g=K9c.prototype;_.g.$a=function(){return _.C(this.H.H,_.VM,58)};_.g.getContext=function(){return this.H};_.g.LEa=function(){return this.send("5.4",[this.V],function(a){return new uSc(JSON.parse(a[0]))})};_.g.A$=function(){return this.H.W};_.g.OM=function(a){return this.send("5.2",[a],function(b){return(b=JSON.parse(b[0]))&&new _.Hk(b)})};
_.g.ina=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 _.iFc(a[c]));return b})};_.g.Nca=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,mxa:f,pageToken:d}})};_.g.VLa=function(){this.send("5.9",[])};_.g.vwa=function(){this.send("5.1",[])};_.g.qY=function(){return _.OGc[_.D(this.H.H.mf(),8,0)]};
_.g.bsa=function(){this.send("5.6",[])};_.g.B$=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 jR(a[e]));return{traceId:new F7c(b,c),spanRecs:d}})};_.g.MEa=function(){return this.send("5.10",[],function(a){return 0==a.length?null:new F7c(a[0],new Date(a[1]))})};_.g.getState=function(){return this.send("5.12",[],function(a){return a[0]})};_.g.aLa=function(){this.send("5.11",[])};
_.g.Uk=function(a){this.send("5.13",[a])};
var L9c=function(a,b){uS.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.hc=b;this.Nd=String(_.xa(this));this.H=null};_.I(L9c,uS);L9c.prototype.start=function(){var a=this;this.H||(this.H=this.send("9.1",[this.hc.Dc()],function(b){return new V8c(JSON.parse(b[0]))},this.Nd).then(),this.H.then(function(){return a.dispose()},function(){return a.dispose()}));return this.H};L9c.prototype.cancel=function(){this.send("9.2",[this.hc.Dc()],void 0,this.Nd)};
L9c.prototype.L8=function(a,b){this.dispatchEvent(new Z8c(b[0],b[1]))};
var M9c=function(a){uS.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.I(M9c,uS);M9c.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",[])};M9c.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)};M9c.prototype.V=function(){this.log("Error fetching offline items.")};
M9c.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 N9c=function(a,b){$R.call(this,a,b)};_.I(N9c,$R);N9c.prototype.B5=function(a,b,c){return new _.MIc(a,c)};N9c.prototype.Q7=function(a){return a.pageToken||""};N9c.prototype.m7=function(a){return a.response.V()};N9c.prototype.a0=function(){};
var O9c=function(a,b,c){oS.call(this,a.ka,a.Tg,b.oh()||void 0);this.hc=b;this.W=[];this.V=!1;this.ma=c;this.ka=new N9c(this.hc,this.ma)};_.I(O9c,oS);_.g=O9c.prototype;_.g.xB=function(){aS(this.ka).then(this.$9a.bind(this),this.handleError.bind(this))};_.g.getData=function(){return jYc(new oR,this.W).Ec(this.status)};_.g.Tp=function(){return new F8c};_.g.mj=function(){return!this.Ff()&&(!this.H||a6c(this.ka))};_.g.$9a=function(a){this.V=this.H=!0;this.W=a;this.uq()};
_.g.uq=function(){if(this.active){var a=this.status;this.PG();if(this.V||a!=this.status)this.V=!1,this.dispatchEvent(new _.gi(_.ec,this))}};_.g.Zb=function(){return this.W.length};
var P9c=function(a,b,c){oS.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 _.GN;this.ma=null};_.I(P9c,oS);_.g=P9c.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 _.IHc((new _.yN).Ec(this.status),this.V.slice(0)).setSessionId(this.ma)};
_.g.Tp=function(){var a=_.DN(this.Ba,this.ka,this.V);this.ka=this.V;var b=(new H8c).Ec(this.status);return _.Tj(b,2,a)};_.g.SH=function(){};_.g.uq=function(){var a=this.status;this.PG();if(this.W||a!=this.status)this.W=!1,this.dispatchEvent(new _.gi(_.ec,this))};_.g.Zb=function(){return this.V.length};
var Q9c=function(){};_.g=Q9c.prototype;_.g.BF=function(a,b){b=N8c(1).setPosition(b);_.R(b,2,a);return b};_.g.zF=function(a,b){b=N8c(2).setPosition(b);_.R(b,2,a);return b};_.g.jK=function(a,b,c){b=N8c(3).Fu(b).setPosition(c);_.R(b,2,a);return b};_.g.DI=function(a,b){b=N8c(4).setPosition(b);_.R(b,2,a);return b};_.g.ZF=function(a){return _.C(a,_.TQ,2)};
var S9c=function(){_.CN.call(this,new Q9c,function(a){return R9c(a)})};_.I(S9c,_.CN);var R9c=function(a){switch(_.Fj(a,XVc[0])){case 6:return _.cy(_.C(a,_.by,6)).getTime().toString();case 7:var b=_.C(a,_.SQ,7);a=_.C(b,_.by,1);b=b.Bq();return a&&b?(a=_.cy(a).getTime(),_.cy(b).getTime()+"--"+a):"";default:return""}};_.Te(S9c);
var yS=function(a,b,c,d){oS.call(this,b.ka,b.Tg,d);this.hc=a;this.W=!1;this.wa=[];this.V=[];this.ma="";this.Ba=new _.LNc(_.D(b.H.mf(),6,1E3));this.ka=!1;this.Ga=c};_.I(yS,oS);_.g=yS.prototype;_.g.activate=function(){oS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.hc.eAa()?T9c(this):this.Ja()};_.g.Kq=function(a){if(a=a||50,this.V.length>this.limit)this.ka=!0;oS.prototype.Kq.call(this,a)};
_.g.getData=function(){var a=(new R8c).Ec(this.status);_.Tj(a,2,this.V.slice(0,this.limit));this.wa=_.ra(this.V);return a};_.g.Tp=function(){var a=_.DN(S9c.Eb(),this.wa,this.V),b=new P8c;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.OEa=function(a){this.dispatchEvent(new _.sb(a));this.W=!1};
_.g.N3a=function(a,b){this.H=!0;var c=_.Rj(b,_.TQ,1);this.V=this.V.concat(c);this.ma=b.cG()||"";0<c.length&&(this.ka=!0);this.uq();T9c(this,a)};_.g.b4a=function(a){S9c.Eb();this.H=!0;var b=_.Rj(a,_.TQ,1);nQ(0,this.V.slice(0,b.length),b)?(this.V=b,this.ma=a.cG()||"",this.ka=!0,this.uq(),T9c(this)):(this.W=!1,U9c(this))};var T9c=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.N3a,b),a.OEa,a):(a.W=!1,b&&b.callback(),U9c(a))):a.W=!1};
yS.prototype.Ja=function(){this.active&&(this.W=!0,this.Ga(this.hc,this.limit).Cf(this.b4a,this.OEa,this))};yS.prototype.uq=function(){if(this.active){var a=this.status;this.PG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};yS.prototype.PG=function(){this.Ff()&&!this.H?this.status=2:this.status=this.V.length<this.limit&&(!this.H||this.ma)?6:1};yS.prototype.SH=function(){this.active&&this.mj()&&!this.W&&T9c(this,new _.Mh)};
var U9c=function(a){a.hc.eAa()||(_.UH(a.Ba),_.m.setTimeout((0,_.K)(a.Ja,a),a.Ba.yb()))};yS.prototype.Zb=function(){return this.V.length};
var V9c=function(){};_.g=V9c.prototype;_.g.BF=function(a,b){return T8c(S8c(1),a).setPosition(b)};_.g.zF=function(a,b){return T8c(S8c(2).setPosition(b),a)};_.g.jK=function(a,b,c){return T8c(S8c(3).Fu(b).setPosition(c),a)};_.g.DI=function(a,b){return T8c(S8c(4),a).setPosition(b)};_.g.ZF=function(a){return a.rv()};
var W9c=function(){_.CN.call(this,new V9c,function(a){return a.getId()})};_.I(W9c,_.CN);_.Te(W9c);
var X9c=function(a,b,c){oS.call(this,b.ka,b.Tg);this.hc=a;this.ma=[];this.V=[];this.W=new _.LNc(_.D(b.H.mf(),54,1E3));this.ka=!1;this.wa=c};_.I(X9c,oS);_.g=X9c.prototype;_.g.activate=function(){oS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.poll()};_.g.getData=function(){var a=new rR;a=_.Tj(a,2,this.V).Ec(this.status);this.ma=_.ra(this.V);return a};_.g.Tp=function(){var a=_.DN(W9c.Eb(),this.ma,this.V),b=new X8c;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.b$a,a),_.Ue(this.a$a,a),this);return a};_.g.a$a=function(a,b){this.dispatchEvent(new _.sb(b));a.Dd(b);Y9c(this)};_.g.b$a=function(a,b){this.H=!0;b=_.Rj(b,_.hR,2);nQ(W9c.Eb(),this.V,b)&&(this.ka=!0,this.V=b,this.W.reset());this.uq();a.callback();Y9c(this)};_.g.uq=function(){if(this.active){var a=this.status;this.PG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};
_.g.SH=function(){};var Y9c=function(a){a.active&&(_.m.setTimeout((0,_.K)(a.poll,a),a.W.yb()),_.UH(a.W))};X9c.prototype.Zb=function(){return this.V.length};
var Z9c=function(){};_.g=Z9c.prototype;_.g.BF=function(a,b){return A8c(z8c(1),a).setPosition(b)};_.g.zF=function(a,b){return A8c(z8c(2).setPosition(b),a)};_.g.jK=function(a,b,c){return A8c(z8c(3).Fu(b).setPosition(c),a)};_.g.DI=function(a,b){return A8c(z8c(4),a).setPosition(b)};_.g.ZF=function(a){return a.aZ()};
var $9c=function(){_.CN.call(this,new Z9c,function(a){return a.getId()})};_.I($9c,_.CN);_.Te($9c);
var zS=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(zS,_.O);zS.prototype.Gi=function(a){this.ha=a};var b$c=function(a){return a.V||a.W&&""==a.H?Promise.resolve():a$c(a)};zS.prototype.S7=function(){return this.yt};var a$c=function(a){a.W=!0;a.V=!0;var b=Math.min(a.ha-a.yt.length,100);var c=new _.pO;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))};
zS.prototype.ka=function(a){this.V=!1;this.H=a.Tm()||"";a=a.qr().wJ();this.yt=_.qa(this.yt,a);a.length&&this.dispatchEvent("Eb");if(this.H&&this.yt.length<this.ha)return a$c(this);this.dispatchEvent("Hb")};zS.prototype.wa=function(a){this.V=!1;a=new iR(_.kN(a),_.D(this.ma.H.mf(),1,1));this.dispatchEvent(a)};
var AS=function(a,b,c,d){oS.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 zS(b,this.hc,this.Ba);_.ud(this,function(){e.W&&(_.m.clearTimeout(e.W),e.W=null)})};_.I(AS,oS);_.g=AS.prototype;_.g.activate=function(){oS.prototype.activate.call(this);this.uq()};_.g.xB=function(){this.PEa()};_.g.Kq=function(a){oS.prototype.Kq.call(this,a||100)};
_.g.getData=function(){var a=new xSc;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=_.DN($9c.Eb(),this.ma,this.yt),b=new E8c;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.PEa=function(){var a=this;this.V=new zS(this.wa,this.hc,this.Ba);this.V.Gi(this.limit);return b$c(this.V).then(function(){return c$c(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){oS.prototype.handleError.call(this,a);d$c(this)};var c$c=function(a){a.H=!0;var b=a.V.S7();nQ($9c.Eb(),a.yt,b)&&(a.ka=!0,a.yt=b);a.uq();d$c(a)};AS.prototype.uq=function(){if(this.active){var a=this.status;this.PG();if(this.ka||a!=this.status)this.ka=!1,this.dispatchEvent(new _.gi(_.ec,this))}};
AS.prototype.SH=function(){var a=this;this.V.Gi(this.limit);b$c(this.V).then(function(){return c$c(a)},function(b){return a.handleError(b)})};var d$c=function(a){if(a.active){var b=a.wa.H.mf();a.W=_.m.setTimeout((0,_.K)(a.PEa,a),Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,15,36E5))}};AS.prototype.Zb=function(){return this.yt.length};var e$c=function(a){6!=a.status&&_.m.setTimeout(function(){a.dispatchEvent(new _.gi(_.ec,a))},0)};
var f$c=function(a,b){uS.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.hc=b;this.Nd=String(_.xa(this));this.H=null};_.I(f$c,uS);f$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};f$c.prototype.cancel=function(){this.send("10.2",[this.hc.Dc()],void 0,this.Nd)};
var g$c=function(a,b,c,d,e,f,h,k){_.XP.call(this,a,b,c,d,f,h,k);this.V=e;this.le=null};_.I(g$c,_.XP);g$c.prototype.pna=function(a,b){var c=this;return _.Sh(this.V.then(function(d){return d.V(JOc(c.W,c.Xa,a,b,c.H,c.wa))},null))};g$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,_.fKc,15);e&&(d=_.z(e,1));0==d&&(d=c.file.size)}this.dispatchEvent(new _.wOc(a,b,d))}};
var h$c=function(a,b){uS.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.tUa,this))};_.I(h$c,uS);_.g=h$c.prototype;_.g.lR=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 _.fKc;_.x(d,1,b.size);_.R(a,15,d);d=_.ug();this.V[_.kP(a)]=b}return this.send("7.1",[this.Nd,a.Dc(),c],function(e){return new _.LO(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.qna=function(a){var b={};_.Fa(a,function(d){b[d]=new _.Mh});var c=this.lR();this.H[c]=b;this.send("7.4",[this.Nd,c,a]);return _.qc(b)};_.g.pna=function(a,b){var c=this;return this.send("7.5",[this.Nd,a,b],function(d){return eUc(d[0])}).nb(function(d){return _.Sh(c.W.then(function(e){return e.V(d)}))})};_.g.tUa=function(){this.send("7.6",[this.Nd])};
_.g.L8=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,_.LKc(d,c,Math.min(d.size,c+b))]);break;case 0:a=new _.LO(JSON.parse(b[2]));i$c(this,b[0],b[1],a);break;case 1:a=new _.rb(void 0,new _.qb(JSON.parse(b[2])));i$c(this,b[0],b[1],a);break;case 2:this.dispatchEvent(new _.wOc(b[0],b[1],b[2]));break;default:throw Error("Lg");}};
var i$c=function(a,b,c,d){if(a.H[b]&&a.H[b][c]){var e=a.H[b][c];d instanceof _.LO?e.callback(d):e.Dd(d);delete a.H[b][c];_.qf(a.H[b])&&delete a.H[b]}};
var j$c=function(a,b){if(0==a.length)throw new _.rb("mutateUserPref requires a namespace.",_.KN(3));if("undefined"!=typeof _.LD&&b instanceof _.LD)var c=(b=(b=b.V())&&b.getKey())&&_.to(b)||null;else"undefined"!=typeof _.KD&&b instanceof _.KD&&(c=(b=b.getKey())&&_.to(b)||null);if(!c||!a.find(function(d){return d==c}))throw new _.rb("mutateUserPref unsupported for namespace: "+c,_.KN(3));};
var gQ=function(a,b){var c=_.Jh();uS.call(this,"IS","drive.ds.sync.ItemServiceProxy",c.promise);var d=this;this.wa=c;this.H=a;b8c(this.H,new M9c(c.promise));this.Ga=b;JSc(this.Ga,_.z(this.H.H,28));this.Fc=oPc(_.CP(this.Ga));this.V=a.bo;this.W=new vS(c.promise,a,this.V);this.Qa=new K9c(c.promise,a);t8c(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(lWc))),
function(e){return void d.dispatchEvent(e)})};_.I(gQ,uS);gQ.prototype.initialize=function(){var a=this,b=_.C(this.H.H,CRc,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());k$c(this,b);this.Ja.then(function(){c.V();a.SHa()});return this.Ja};
var k$c=function(a,b){var c=l$c(a),d=!0,e=_.z(b,5)||"";if(_.KHc(window.location.href,c.toString())&&e){d=!1;c=mPc(e,m$c(a),a.Fc,_.z(b,6));var f=new ZWc(c,!1)}else b=n$c(c.toString()),c=_.VEc(c.V,void 0,c.H,c.ha),f=new ZWc(XWc(window.frames[b],c.toString()),!1);o$c(a,f,d);a.H.W.info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+e);f.start();$7c(a.H,function(){return p$c(f)})},p$c=function(a){return _.$ha([new _.Eh(function(b){a.isDisposed()||dR(a,"8.1",void 0,function(){a.dispose();b()})}),
_.ui(1E4)])},l$c=function(a){var b=new _.Si(_.z(_.C(a.H.H,CRc,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();!_.iP(a.H.H)&&0<_.mN(a.H.H.Ne())&&(a=_.mN(a.H.H.Ne()),c+="u/"+a+"/");_.Wi(b,c+"_/dataservice/cacheproxy");return b},n$c=function(a){var b="cpiframe_"+_.ug();a=_.ch("IFRAME",{name:b,id:b,src:a});a.style.cssText=_.Rfa(_.JHc(_.Df("display: none;")));document.body.appendChild(a);return b},o$c=function(a,b,c){if(c)b.registerService("2.0",
(0,_.K)(a.Kc,a));else{var d=function(){var e=new _.wcb(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())}dR(b,"8.4",{dsc:a.H.H.Dc()});q$c(b);r$c(a,b);cR(b,"2.1",function(){return{dsc:a.H.H.Dc()}});cR(b,"2.2",function(e){"number"===typeof e.id?(a.wa.resolve(new I9c(e.id,b,a.H.W,e.clients)),e.dsp&&q$c(b),e.ivd&&r$c(a,b)):(e=
new _.qb(JSON.parse(e.err)),a.Ba.Dd(new _.rb("Unable to initialize dataservice.",e)))});cR(b,"2.15",function(e){a.dispatchEvent(new Y8c(e.dt))});cR(b,"2.5",function(e){w1c(a.H,e.id)});cR(b,"2.6",function(e){a.H.ka.Uk(e.os)});cR(b,"2.18",function(e){a.H.ka.CA(e.oois)});cR(b,"2.7",function(){a.ua=!1});cR(b,"2.8",function(e){a.H.Tu=e.au;a.dispatchEvent(new dTc(e.au?"ta":"ua"))});cR(b,"2.19",function(e){a.H.Tg.update(e.cs)});cR(b,"2.9",function(e){var f=e.logName,h=e.level;e=_.Px("[CSW %s] %s",e.totalTime,
e.message);switch(h){case "config":a.H.W.config(f,e);break;case "fine":_.oP(a.H.W,f,e,"fine");break;case "finer":_.oP(a.H.W,f,e,"finer");break;case "finest":_.oP(a.H.W,f,e,"finest");break;case "info":a.H.W.info(f,e);break;case "warning":case "severe":CSc(a.H.W,f,e);break;default:CSc(a.H.W,"drive.ds.sync.ItemServiceProxy","Unknown log level: "+h),CSc(a.H.W,f,e)}});cR(b,"2.10",function(e){a.dispatchEvent(new _.sb(new _.rb(void 0,new _.qb(JSON.parse(e.p)))))});cR(b,"2.12",function(){a.rb=!0;BS(a)});
cR(b,"2.14",function(){return a.lc.resolve()});cR(b,"2.16",function(){return a.Xb=!0});cR(b,"2.17",function(e){a.H.W.info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+e.t.join(","))})},q$c=function(a){_.m._DRIVE_dsp&&dR(a,"8.3",{dsp:s$c(_.m._DRIVE_dsp)});_.m._DRIVE_dspc=function(b){if(_.m._DRIVE_dsp){var c=[];c[b]=_.m._DRIVE_dsp[b];dR(a,"8.3",{dsp:s$c(c)})}}},r$c=function(a,b){_.A(a.H.H,24,!1)&&(_.m._DRIVE_ivd?dR(b,"8.2",{ivd:_.m._DRIVE_ivd}):void 0===_.m._DRIVE_ivd&&(_.m._DRIVE_ivdc=
function(){_.m._DRIVE_ivd&&dR(b,"8.2",{ivd:_.m._DRIVE_ivd})}))};gQ.prototype.Kc=function(){return{uid:m$c(this),fds:_.CP(this.Ga)}};var m$c=function(a){a=_.Yj(a.H.H);a=_.x(a,28,[]);a=_.tna(a,[]);var b=new _.RM;b.update(_.gP(a.Ne()));b.update(String(_.mN(a.Ne())));b.update(a.Dc());return _.$Ec(b.digest())},s$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=gQ.prototype;
_.g.query=function(a){BS(this);LWc(this.H.ma,a,HSc(this.Ga));this.BO();var b=this.W.Aga(a);this.Db||(a=a.oe(),a&&121==_.z(a,1)||(this.Db=!0,this.Ka.listen(b,_.ec,this.NEa)));return b};_.g.NEa=function(a){a=a.currentTarget;1==a.Gb()&&(this.Qa.V=this.Xb,this.Ka.Sc(a,_.ec,this.NEa))};_.g.mr=function(a){BS(this);JWc(a);this.BO();return this.W.xga(a)};
_.g.Uea=function(a,b){var c=this;BS(this);if(this.ma&&_.Xj(this.ma.kd(),a))return this.ma;var d=(0,_.K)(gQ.prototype.SYa,this);this.ma=new yS(_.Yj(a),this.H,d,b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};_.g.SYa=function(a,b,c){return this.send("3.17",[a.Dc(),b,c],function(d){return new kWc(JSON.parse(d[0]))})};
_.g.qpa=function(a,b){var c=this;BS(this);if(this.ka&&_.Xj(this.ka.kd(),a))return e$c(this.ka),this.ka;var d=(0,_.K)(gQ.prototype.UYa,this);this.ka=new AS(a,this.H,d,b);_.m.setTimeout(function(){c.ka=null},3E3);return this.ka};_.g.UYa=function(a){return this.send("3.18",[a.Dc()],function(b){return new XXc(JSON.parse(b[0]))})};_.g.bla=function(a){BS(this);return this.send("3.14",[a.Dc()],function(b){return new mR(JSON.parse(b[0]))})};_.g.fha=function(a){BS(this);return this.send("3.15",[a.Dc()],function(b){return new mR(JSON.parse(b[0]))})};
_.g.Yc=function(a){BS(this);!this.ua&&_.NO(a)&&(this.ua=!0);a=qPc(a);return this.send("3.3",[a.Dc()],function(b){if(!_.Ec(b))return new _.LO(JSON.parse(b[0]))})};_.g.OO=function(a){BS(this);a=zPc(a);return this.send("3.35",[a.Dc()],function(b){return new eTc(JSON.parse(b[0]))}).then()};
_.g.PA=function(a){BS(this);for(var b=0;b<a.length;b++)!this.ua&&_.NO(a[b])&&(this.ua=!0);a=tPc(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 _.LO(JSON.parse(e))});_.jf(c[1],function(e,f){e=new _.qb(JSON.parse(e));d[f]=_.LN(e)});return d})};_.g.wga=function(){BS(this);return new h$c(this.wa.promise,this.H.Fc)};_.g.Uwa=function(a){BS(this);return new L9c(this.wa.promise,a)};
_.g.$T=function(a,b){var c=this;BS(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 kR(JSON.parse(e[0]));return new _.SP(f,e[1],e[2])}).nb(function(e){o4c(c.V,d,e);return e.response}).De(function(e){WR(c.V,d);return e})};_.g.bna=function(a){BS(this);return this.send("3.10",[a.Dc()],function(b){return new UXc(JSON.parse(b[0]))})};_.g.dla=function(a){BS(this);return this.send("3.11",[a.Dc()],function(b){return new lR(JSON.parse(b[0]))})};
_.g.cha=function(a){BS(this);return this.send("3.12",[a.Dc()],function(b){return new lR(JSON.parse(b[0]))})};_.g.z$=function(a){BS(this);return this.send("3.13",[a.Dc()],function(b){return new lR(JSON.parse(b[0]))})};_.g.JS=function(a,b){var c=this;BS(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 _.qR(JSON.parse(e[0]));return new _.VP(f,e[1],e[2])}).nb(function(e){o4c(c.V,d,e);return e.response}).De(function(e){WR(c.V,d);return e})};
_.g.iG=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.",_.KN(3)));BS(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 _.UP(h,f[1],f[2])}).nb(function(f){o4c(c.V,e,f);return f.response}).De(function(f){WR(c.V,e);return f})};_.g.fna=function(a){BS(this);j$c(_.Gj(this.H.H.mf(),30),a);a=wPc(a);return this.send("3.6",[a.Dc()],function(b){return new YXc(JSON.parse(b[0]))})};
_.g.cna=function(a){BS(this);return this.send("3.16",[a.Dc()],function(b){return new zSc(JSON.parse(b[0]))})};_.g.ena=function(){return this.ua};_.g.Uk=function(a){BS(this);this.send("3.8",[a])};_.g.CA=function(a){BS(this);return this.send("3.36",[a],function(b){return!!b[0]}).then()};_.g.hna=function(a){BS(this);a8c(this.H).W(a);this.CA(!!a)};_.g.BO=function(){BS(this);this.send("3.9",[])};
_.g.GEa=function(){BS(this);this.send("3.41",[]);Y7c(this.H);var a=PSc(this.H.ua,106006);a&&this.wa.promise.then(function(b){var c=_.C(_.NP(a),oSc,6);if(!c){c=new oSc;var d=_.NP(a);_.R(d,6,c)}c=_.x(c,1,b.clientId);_.x(c,2,b.V);a.V()},function(){})};_.g.y$=function(){BS(this);return this.H.REa()};_.g.$ma=function(){BS(this);return t$c(this.send("3.19",[],function(a){return new pYc(JSON.parse(a[0]))}))};_.g.isConnected=function(){return this.H.Tg.isConnected()};_.g.CY=function(){return this.Qa};
_.g.sync=function(){BS(this);return this.send("3.28",[]).then()};_.g.Y_=function(){return Z7c(this.H)};_.g.gna=function(){};_.g.Bca=function(a){BS(this);if(!_.jP(this.H.H))throw new _.rb("function is unsupported",_.KN(3));return this.W.Hga(a)};_.g.sV=function(a){BS(this);if(!_.jP(this.H.H))throw new _.rb("function is unsupported",_.KN(3));return this.W.Gga(a)};_.g.mpa=function(a){BS(this);OWc(this.H.ma,a,HSc(this.Ga));return this.W.Dga(a)};
_.g.Psa=function(a){BS(this);return new f$c(this.wa.promise,a)};_.g.Ffa=function(a){BS(this);if(!this.ha||this.ha.isDisposed()){var b=gQ.prototype.TYa.bind(this);this.ha=new X9c(a,this.H,b)}return this.ha};_.g.TYa=function(a){return this.send("3.20",[a.Dc()],function(b){return new rR(JSON.parse(b[0]))})};_.g.$pa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Fh()};_.g.ana=function(a){BS(this);return this.send("3.25",[a.Dc()],function(b){return new vYc(JSON.parse(b[0]))})};
_.g.dha=function(a){BS(this);return this.send("3.22",[a.Dc()],function(){return new xYc})};_.g.voa=function(){return this.lc.promise};_.g.uHa=function(a){var b=_.Jh();this.send("3.30",[a.Dc()],function(c){c[0]?b.resolve(new zYc(JSON.parse(c[0]))):b.reject(new _.qb(JSON.parse(c[1])))}).De(function(c){return b.reject(c)});return b.promise};_.g.$fa=function(a){BS(this);return this.W.uga(a)};_.g.bga=function(a){BS(this);return this.send("3.42",[a.Dc()],function(b){return new zQ(JSON.parse(b[0]))}).then()};
_.g.FV=function(a){BS(this);return this.send("3.39",[a.Dc()],function(b){return new nYc(JSON.parse(b[0]))}).then()};_.g.Qpa=function(a){var b=this;BS(this);return new O9c(this.H,a,function(c){return b.send("3.37",[c.request.Dc(),c.pageToken],function(d){d=JSON.parse(d);return new uWc(new oR(JSON.parse(d[0])),d[1])}).then()})};_.g.cba=function(a){BS(this);return this.send("3.38",[a.Dc()],function(b){return new pR(JSON.parse(b[0]))}).then()};_.g.$ta=function(a){BS(this);return this.W.Jga(a)};
_.g.jda=function(a){BS(this);return this.W.Iga(a)};_.g.Hsa=function(a){var b=this;BS(this);return new P9c(this.H,a,function(){return b.send("3.40",[a.Dc()],function(c){return new _.yN(JSON.parse(c[0]))}).then()})};_.g.tca=function(a){BS(this);return this.W.Ega(a)};_.g.Zma=function(a){BS(this);this.send("3.43",[a.Dc()])};_.g.D5=function(a){BS(this);return this.send("3.44",[a.Dc()],function(){return new ZSc}).then()};
_.g.dna=function(a){BS(this);if(1!=_.hP(this.H.H))return Promise.reject(Error("Mg"));for(var b=_.u(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Hc())return Promise.reject(Error("Ng"));if(!c.Qz()&&!c.getItem())return Promise.reject(Error("Og"))}return Promise.resolve(this.send("3.45",[a.map(function(d){return d.Dc()})]))};_.g.SHa=function(){var a=this,b=[_.ui(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.$ha(b).then(function(c){c?_.si(a.SHa.bind(a),6E4):(a.rb=!0,BS(a))})};
var BS=function(a){a.rb&&a.dispatchEvent(new w9c)},eQc=function(a){if(_.A(a,61,!1)&&_.m.SharedWorker)if(_.C(a,CRc,66)){if(_.ZM(a.Ne())||_.iP(a)&&!_.A(a,52,!1))return!1}else return!1;else return!1;return!0},t$c=function(a){var b=_.Jh();a.Cf(b.resolve,b.reject,b);return b.promise};
var CS=function(){_.O.call(this);this.ha=new _.xl;this.wa=this.je=this.Ka=!1};_.I(CS,_.O);CS.prototype.initialize=function(){this.Ka||(this.Ka=!0,this.ma(),this.setActive(!0))};CS.prototype.ma=function(){};CS.prototype.setActive=function(a){this.je=a;u$c(this)};var u$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;u$c(a)})}};CS.prototype.Ba=function(){};CS.prototype.Qa=function(){};CS.prototype.Ma=function(){return!0};
CS.prototype.enqueue=function(a){try{var b=new _.Mh;this.ha.enqueue(new v$c(a,b));u$c(this);return b}catch(c){return _.Th(_.LN(c))}};var v$c=function(a,b){this.V=a;this.H=b};v$c.prototype.getCommand=function(){return this.V};
var x$c=function(a){CS.call(this);var b=this;this.H=a;this.V=this.H.V.ma;_.oN(this.H.H)&&(this.W=new _.ee(this),this.Pa(this.W),this.W.listen(this.V,"Ob",this.ka));var c=a.ha;YQ(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"],e=a.H.mf();a.Xb&&1!=_.D(e,17,1)&&(d.push("iuEtc"),YQ(c,["mrK8ic"],function(){ZQ(c,"iuEtc")}));YQ(c,d,function(){return w$c(b)})};_.I(x$c,CS);x$c.prototype.ma=function(){y$c(this)};
var w$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 _.CO;_.BSc(c,b);return z$c(a,c).then(null,function(d){d=_.kN(d);_.x(d,21,"Initial account request failed.");a.H.rb(d)})},z$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=_.mN(a.H.H.Ne()),d=Error("Pg`"+d+"`"+_.EG(f)),_.dk(d),QSc(a.H.ua,73301807),d=Promise.reject(d);else{f=a.H.tc;var h=0==f.Re()?1:6;
_.oN(a.H.H)&&K4c(a.V,e);h=j0c(f,e,h);(e=e.getMetadata())&&w1c(a.H,_.z(e,2),1);(d=_.z(d,4))&&x1c(a.H,d,!0);h&&a.dispatchEvent(new _.gi("WPi0i"));d=Promise.resolve(new _.VP(f.zh(),f.Re(),!1))}return d}).then(function(d){return d},function(d){d=_.kN(d);_.x(d,5,1);return Promise.reject(new _.rb("Error fetching account from server.",d))})};
x$c.prototype.Ba=function(a){var b=a.getCommand();if(b.xZa){var c={};b.bP&&(c.Gaa=b.bP);z$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(),_.oN(this.H.H)){c=c.zh();var d=c.getUser();d=i0c(this.V,_.EG(d));K4c(this.V,c);j0c(b,c,b.Re())&&this.dispatchEvent(new _.gi("WPi0i"));a.H.callback(new _.VP(b.zh(),b.Re(),d))}else c.Gb(),b=new _.VP(c,b.Re(),!0),a.H.callback(b)};
var y$c=function(a){var b=a.H.H.mf();_.m.setTimeout(function(){var c=new _.CO,d=new _.Ae;_.Be(d,306);_.BSc(c,d);z$c(a,c).then(function(){return y$c(a)},function(){return y$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,3,72E5))};x$c.prototype.ka=function(a){var b=this.H.tc,c=b.zh().zh();c&&a.getPeople().find(function(d){return _.z(d,1)==_.EG(c.getUser())})&&(K4c(this.V,c),j0c(b,c,b.Re())&&this.dispatchEvent(new _.gi("WPi0i")))};var A$c=function(a,b){this.hc=a;this.xZa=!!b;this.bP=null};
var C$c=function(a){CS.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;B$c(this)};_.I(C$c,CS);
var B$c=function(a){var b=a.H.ha;YQ(b,["nVUlO"],function(){a.Ja=!0;a.setActive(!0)});if(!_.iP(a.H.H)){var c=_.D(a.H.H.mf(),18,1);YQ(b,["NSockf"],function(){1==c?D$c(a):a.setActive(!0)});2==c&&YQ(b,["mrK8ic"],function(){a.ka||D$c(a)})}},D$c=function(a){var b=new _.Ae;_.Ce(b,!0);_.Be(b,301);var c=new _.nO;_.vSc(c,b);_.x(c,1,1);E$c(a,c).ag(function(){return null})},E$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;F$c(a)});var e=a.V;a.V=b.getType()||
e;var f=!a.ka;a.ka=!0;var h=new _.nO;_.x(h,1,a.V);_.vSc(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.kna(k,l.zy()?6:1);d.resolve()},function(k){a.V=e;k=_.MN(k);var l=k.dg;_.x(l,5,2);f?(_.iN(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)):(_.iN(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};C$c.prototype.Ma=function(){return!1};
C$c.prototype.Qa=function(a){var b=this,c=a.getCommand(),d=c.hc,e=c.X6,f=c.bP?{Gaa:c.bP}:void 0;if(!G$c(d))return this.H.Dm().then(function(l){return l.H(d,f)}).then(function(l){a.H.callback(new _.SP(l,1,!1))},function(l){a.H.Dd(_.LN(l))}),_.Fh();c=_.Fh();var h=!1;this.W?H$c(this,d.getType())?e=this.W:c=e=new _.Eh(function(l,n){b.W.then(function(){E$c(b,d,f).then(function(){return l()},n)})}):!e&&this.Ja&&H$c(this,d.getType())&&!this.ua?(h=!0,e=_.Fh()):e=E$c(this,d,f);var k=a.H;e.then(function(){var l=
b.H.ad;k.callback(new _.SP(l.lna(),l.Re(),h))},function(l){k.Dd(l)});return c.then()};
var G$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},H$c=function(a,b){return a.V==b||4==a.V||2==a.V&&1==b},F$c=function(a){var b=a.H.H.mf(),c=new _.Ae;_.Be(c,306);var d=new _.nO;_.x(d,1,1);_.vSc(d,c);a.Ga=_.m.setTimeout(function(){return void E$c(a,d)},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,4,72E5))},I$c=function(a,b){this.hc=a;this.X6=!!b;this.bP=null};
var J$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};J$c.prototype.ha=function(){this.ma||(this.ma=!0,K$c(this));return this.V.promise};var K$c=function(a){if(a.ka)a.H="CANCELLED",a.V.resolve(a.H);else{var b=new _.QIc(a.hc,a.W);a.ua.then(function(c){return c.H(b)}).then(a.Ba.bind(a),a.wa.bind(a))}};J$c.prototype.Ba=function(a){(this.W=a.pageToken)?K$c(this):(this.H="MOVE_ALLOWED",this.V.resolve(this.H))};
J$c.prototype.wa=function(a){a=_.MN(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)};J$c.prototype.cancel=function(){this.ka=!0};
var M$c=function(a){CS.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);L$c(this)};_.I(M$c,CS);
var L$c=function(a){var b=a.H.ha;YQ(b,["rkYxSd"],function(){return a.initialize()});YQ(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&&YQ(b,["mrK8ic"],function(){ZQ(b,"OZvrNc")}));!_.A(a.H.H,11,!1)&&_.A(a.H.H,24,!1)&&(c.push("DEJoH"),_.m.setTimeout(function(){0<N7c(a.H.Ma).Ow().length||(b.H("NSockf")?ZQ(b,"DEJoH"):YQ(b,["NSockf"],function(){ZQ(b,"DEJoH")}))},
12E3));YQ(b,c,function(){if(!b.H("px2C2c")){var e=new _.fD,f=new _.Ae;_.Ce(f,!0);_.Be(f,301);_.R(e,1,f);N$c(a,e,O$c(a)).ag(function(){a.initialize()})}})};M$c.prototype.ma=function(){var a="User prefs detected: "+N7c(this.H.Ma).Ow().length;this.H.W.info("drive.ds.sync.userprefs.UserPrefsManager",a);P$c(this)};
var N$c=function(a,b,c,d){var e=new _.LIc(b,c),f=d?{Gaa: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;y1c(k,h.Ow(),k.zy()?6:1,c)}).then(null,function(h){h=_.MN(h);_.x(h.dg,5,4);0<a.ha.Zb()||a.H.rb(h.dg);a.V=h;throw h;})};
M$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.aaa.find(function(f){return!e.has(f)})&&(c.X6=!0);this.V?d.Dd(this.V):c.X6?_.Kh(this.W?this.W.promise:N$c(this,c.hc,O$c(this,c.aaa),c.bP||void 0),function(){return Q$c(b,d,c.aaa,!1)}):Q$c(this,d,c.aaa,!0)};
var O$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()))},Q$c=function(a,b,c,d){a=a.H.Ma.iG(c);b.callback(new _.UP(a.H,a.V,d))},P$c=function(a){var b=a.H.H.mf();_.m.setTimeout(function(){var c=new _.fD,d=new _.Ae;_.Be(d,306);_.R(c,1,d);_.Kh(N$c(a,c,O$c(a)).ag(_.Se),function(){return P$c(a)})},Math.ceil(_.D(b,7,9E5)*Math.random())+_.D(b,5,72E5))},R$c=function(a,b,c){this.hc=a;this.aaa=b;this.X6=!!c;this.bP=
null};
var gQc=function(a){sS.call(this,a);this.ka=this.ma=this.ua=null;this.rb=_.Jh();this.H=a.Dm()};_.I(gQc,sS);_.g=gQc.prototype;_.g.Gwa=function(){this.Ga=new x$c(this.context);this.Pa(this.Ga);this.Ja=new C$c(this.context);this.Pa(this.Ja);this.Xa=new M$c(this.context);this.Pa(this.Xa)};
_.g.KEa=function(){var a=this,b=["hVFf7"];_.iP(this.context.H)&&b.push("BNEDtc");YQ(this.V,b,(0,_.K)(this.fBa,this));YQ(this.V,["T8oKm","ZA9qG"],(0,_.K)(this.jJa,this));YQ(this.V,["T8oKm","mrK8ic"],(0,_.K)(this.jJa,this));this.Xd.listen(this.Ga,"WPi0i",this.jna.bind(this,1));this.Xd.listen(this.Ja,"Kb",this.jna.bind(this,2));this.Xd.listen(this.Xa,"WPi0i",this.jna.bind(this,4));YQ(this.V,["GZTDpc"],function(){return a.rb.resolve()})};_.g.jJa=function(){QR(this.context).nb(function(a){a.start()})};
_.g.jna=function(a){_.ja(bTc,a)&&this.dispatchEvent(new Y8c(a))};_.g.sV=function(a){if(!_.jP(this.context.H))throw tS("teamDriveQuery");return this.W.Gga(_.Yj(a))};_.g.mpa=function(a){OWc(this.context.ma,a,HSc(this.context.Ja));return this.W.Dga(_.Yj(a))};_.g.Bca=function(a){if(!_.jP(this.context.H))throw tS("teamDriveFindByIds");return this.W.Hga(_.Yj(a))};_.g.Psa=function(a){return new J$c(a,this.context.Dm())};
_.g.Uea=function(a,b){var c=this;if(this.ua&&_.Xj(this.ua.kd(),a))return this.ua;this.ua=new yS(_.Yj(a),this.context,this.oPa.bind(this),b);_.m.setTimeout(function(){c.ua=null},3E3);return this.ua};_.g.oPa=function(a,b,c){var d=new _.HIc(a,b,c);return _.Sh(this.H.then(function(e){return e.H(d)}).ag(function(e){return _.NN(e)}))};_.g.Ffa=function(a){if(!this.ka||this.ka.isDisposed())this.ka=new X9c(a,this.context,this.CQa.bind(this));return this.ka};_.g.CQa=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).ag(function(b){return _.NN(b)}))};
_.g.$pa=function(){this.ka&&!this.ka.isDisposed()?this.ka.poll().then():_.Fh()};_.g.ana=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}))};_.g.dha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}))};_.g.qpa=function(a,b){var c=this;if(this.ma&&_.Xj(this.ma.kd(),a))return e$c(this.ma),this.ma;this.ma=new AS(_.Yj(a),this.context,this.lgb.bind(this),b);_.m.setTimeout(function(){c.ma=null},3E3);return this.ma};
_.g.lgb=function(a){var b=this;return this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?M4c(b.context.V.ma,c.qr().wJ(),a.kd().getId()).then(function(){return c}):c},_.NN)};_.g.bla=function(a){var b=this;return _.Sh(this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?M4c(b.context.V.ma,[c.aZ()],a.Hc()).then(function(){return c}):c},_.NN))};_.g.fha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.$fa=function(a){return this.W.uga(_.Yj(a))};_.g.bga=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.FV=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 _.lYc;f=_.x(h,1,f.toString());b[Number(e)].WR?f.Ec(1):(f.Ec(3),f.We(b[Number(e)].reason.dg));c.push(f)}b=new nYc;return _.Tj(b,1,c)},function(b){return _.NN(b)})};
_.g.Qpa=function(a){var b=this;return new O9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).ag(function(d){return _.NN(d)})})};_.g.cba=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.Yc=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.OO=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};
_.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.ORa.bind(this,c,b));return c};_.g.wga=function(){return new g$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.$T=function(a,b){var c=this,d=_.tg();this.ha.create(d,a);3==a.getType()?a=sS.prototype.$T.call(this,a).nb(function(e){return new _.SP(e,1,!1)}):(ZQ(this.V,"Qubz4b"),a=this.Ja.enqueue(new I$c(a,b)));return a.nb(function(e){o4c(c.ha,d,e);return e.response}).De(function(){WR(c.ha,d)})};_.g.bna=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.dla=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.cha=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.z$=function(a){return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};_.g.JS=function(a,b){var c=this;ZQ(this.V,"iuEtc");var d=_.tg();this.ha.create(d,a);return this.Ga.enqueue(new A$c(a,b)).nb(function(e){o4c(c.ha,d,e);return e.response}).De(function(){WR(c.ha,d)})};
_.g.iG=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.",_.KN(3)));var e=_.tg();this.ha.create(e,a);ZQ(this.V,"OZvrNc");return this.Xa.enqueue(new R$c(a,d,b)).nb(function(f){o4c(c.ha,e,f);return f.response}).De(function(){WR(c.ha,e)})};_.g.fna=function(a){j$c(_.Gj(this.context.H.mf(),30),a);return _.Sh(this.H.then(function(b){return b.H(a)}).then(null,_.NN))};
_.g.cna=function(a){var b=this;return _.Sh(this.H.then(function(c){return c.H(a)}).then(function(c){return _.oN(b.context.H)?L4c(b.context.V.ma,c):c},_.NN))};_.g.$ta=function(a){return this.W.Jga(_.Yj(a))};_.g.jda=function(a){return this.W.Iga(_.Yj(a))};_.g.Hsa=function(a){var b=this;return new P9c(this.context,a,function(c){return b.H.then(function(d){return d.H(c)}).ag(function(d){return _.NN(d)})})};_.g.tca=function(a){return this.W.Ega(_.Yj(a))};_.g.Zma=function(a){f4c(this.context.V,[a])};
_.g.D5=function(a){return this.H.then(function(b){return b.H(a)}).then(null,_.NN)};_.g.dna=function(a){if(1!=_.hP(this.context.H))return Promise.reject(Error("Mg"));for(var b=_.u(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.Hc())return Promise.reject(Error("Ng"));if(!c.Qz()&&!c.getItem())return Promise.reject(Error("Og"))}this.context.V.ua(a);a=this.context.V;AR(a.H).ka();vXc(a.ha);return Promise.resolve()};_.g.ena=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.g3()):_.Fh(!a)})};_.g.hna=function(a){a8c(this.context).W(a);this.CA(!!a)};_.g.BO=function(){QR(this.context).nb(function(a){a&&a.e$a()});l0c(this.context.wh)};_.g.gna=function(a){a.Gk(this.context)};_.g.ORa=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];b=this.context.V;AR(b.H).ka();vXc(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.g3()}).then()};_.g.Y_=function(){QR(this.context).nb(function(a){a&&a.dispose()});return sS.prototype.Y_.call(this)};_.g.voa=function(){return this.rb.promise};
var S$c=function(){var a='<div class="'+_.G("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.G("la-Y-A")+" "+_.G("kc-A")+'" data-target="reload">');return(0,_.H)(a+"Reload</button>")};
_.Co({id:_.qk,callback:function(a){var b=_.FOc(a),c=iQc(a),d=_.C(a.get(_.hl),_.$a,10);_.bKc(d,b);_.x(d,28,c||[]);b=hQc(a,d);a.registerService(_.rk,b.CY());_.Id(b,"VbxEwf",function(){var e={};_.Cb(_.my.getService(a),new _.Qq(new _.Pq(S$c,{}),"d",(e.reload=function(){_.m.window.location.reload()},e),4))});return b}});

_.r();

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


_.r();

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