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


_.t();

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


_.t();

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


_.t();

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


_.t();

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


_.t();

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


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("WxwHof");


_.t();

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


_.t();

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


_.t();

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


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy11s");

_.fmb=function(a,b){a.filters.push(new _.Wt(1,b));return a};_.gmb=function(a){a.approvalSummaries||(a.approvalSummaries=_.TRa(a.Yf,a.getItem().Uza));return a.approvalSummaries};

_.t();

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


_.t();

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

_.yA=function(a){if(Array.isArray(a))return a.map(_.yA).join("");if(_.cl(a)){if(!a.getId())throw Error("Jd");return a.getId()+"/"+_.cl(a)+","}return""};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy14p");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Avb=function(a,b,c){_.Sq(a,b)&&(_.Qd(a,b),_.Tq(a,c))};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy14q");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Cvb;_.Bvb=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")};Cvb=function(a){var b=_.qaa(_.PEa,function(c){return a==c});if(void 0===b)throw Error("wb`"+a);return b};_.Dvb=function(a,b){void 0!==a.name?(this.name=a.name,this.code=_.PEa[a.name]):(this.code=a=a.code,this.name=Cvb(a));_.ia.call(this,_.Bvb("%s %s",this.name,b))};_.mg(_.Dvb,_.ia);var Evb=function(a,b){_.pi.call(this,a.type,b)};
_.mg(Evb,_.pi);_.Fvb=function(){_.yi.call(this);this.H=new FileReader;this.H.onloadstart=(0,_.K)(this.L0,this);this.H.onprogress=(0,_.K)(this.L0,this);this.H.onload=(0,_.K)(this.L0,this);this.H.onabort=(0,_.K)(this.L0,this);this.H.onerror=(0,_.K)(this.L0,this);this.H.onloadend=(0,_.K)(this.L0,this)};_.mg(_.Fvb,_.yi);_.g=_.Fvb.prototype;_.g.abort=function(){try{this.H.abort()}catch(a){throw new _.Dvb(a,"aborting read");}};_.g.Yj=function(){return this.H.result};
_.g.getError=function(){return this.H.error&&new _.Dvb(this.H.error,"reading file")};_.g.L0=function(a){this.dispatchEvent(new Evb(a,this))};_.g.Xa=function(){_.Fvb.ub.Xa.call(this);delete this.H};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy153");

var Uwb,Xwb;Uwb=[4,5,6,7];_.MB=function(a){_.I.call(this,a)};_.J(_.MB,_.I);_.MB.prototype.Cb=function(){return _.x(this,1)};_.MB.prototype.Bc=function(a){return _.u(this,1,a)};_.MB.prototype.Q$=function(){return _.x(this,2)};_.MB.prototype.Tb="JmcaR";_.Vwb=function(a){_.I.call(this,a)};_.J(_.Vwb,_.I);_.Vwb.prototype.H=function(){return _.P(this,1)};_.Vwb.prototype.Tb="dvhrqe";_.Wwb=function(a){_.I.call(this,a)};_.J(_.Wwb,_.I);_.Wwb.prototype.Oo=function(){return _.x(this,2)};
_.Wwb.prototype.l2=function(){return _.x(this,3)};Xwb=[5];_.Ywb=function(a){_.I.call(this,a)};_.J(_.Ywb,_.I);_.Ywb.prototype.H=function(){return _.P(this,4)};_.Ywb.prototype.setActive=function(a){return _.u(this,4,a)};_.Zwb=function(a){_.I.call(this,a,-1,Xwb)};_.J(_.Zwb,_.I);_.g=_.Zwb.prototype;_.g.m_=function(){return _.x(this,1)};_.g.jU=function(){return _.x(this,3)};_.g.hK=function(){return _.zb(this,_.Wwb,5)};_.g.vk=function(){return _.x(this,6)};_.g.jq=function(){return _.x(this,7)};
_.g.QJ=function(){return _.x(this,9)};_.g.bt=function(){return _.x(this,10)};_.g.UJ=function(){return _.w(this,_.Ywb,12)};_.g.Lk=function(){return _.x(this,13)};_.g.Qw=function(){return _.x(this,16)};_.g.yBb=function(){return _.lj(this,16)};_.g.Av=function(){return _.x(this,17)};_.g.Tb="dzR11e";_.$wb=function(a){_.I.call(this,a,-1,Uwb)};_.J(_.$wb,_.I);_.$wb.prototype.tl=function(){return _.w(this,_.Zwb,1)};_.$wb.prototype.fN=function(){return _.w(this,_.MB,8)};
_.$wb.prototype.H=function(){return _.w(this,_.Vwb,9)};_.NB=function(a){_.I.call(this,a,-1,axb)};_.J(_.NB,_.I);_.NB.prototype.getUser=function(){return _.w(this,_.nk,1)};_.NB.prototype.getMetadata=function(){return _.w(this,_.$wb,3)};_.NB.prototype.zo=function(){return _.lj(this,3)};var axb=[2];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy154");

_.bxb=function(a,b,c,d,e,f,h){return(0,_.D)(_.tn("b",b,!1)({fillColor:d,ab:c,color:"#000000",nb:!0,Er:e,size:f,Rd:h},a))};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy155");

_.OB={LL:"eb",qha:"fb",JU:"gb",IU:"hb"};_.cxb=new Map([[_.OB.LL,1],[_.OB.qha,2],[_.OB.JU,2],[_.OB.IU,3]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy15u");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy16d");

_.szb=function(a){a=parseInt(a.H()||"0",10);return 100<=a?"over":90<=a?"near":"under"};_.uzb=function(a,b,c,d){var e=_.pf.getService(a);a=e.$f(a,c);_.tzb(a.H.vj,b,d);e.Pf(a)};_.tzb=function(a,b,c){var d=new _.vzb;b.zQ&&_.u(d,2,b.zQ);b.ME&&0<=b.ME&&_.u(d,1,b.ME);b.quotaType&&_.u(d,3,b.quotaType);_.wzb(a,d);c&&(b=new _.xzb,_.u(b,1,c),_.yzb(a,b))};_.zzb=function(a){return isNaN(a)?0:100<=a?6:95<=a?5:90<=a?4:80<=a?3:70<=a?2:1};_.wzb=function(a,b){b&&(a=a.Oc(),_.E(a,29,b))};
_.yzb=function(a,b){b&&(a=a.Oc(),_.E(a,38,b))};_.vzb=function(a){_.I.call(this,a)};_.J(_.vzb,_.I);_.vzb.prototype.vk=function(){return _.x(this,3)};_.xzb=function(a){_.I.call(this,a)};_.J(_.xzb,_.I);_.xzb.prototype.li=function(){return _.x(this,1)};
var Azb;_.Bzb=function(a,b,c){var d=_.y(a.get(_.DDa),1,"");a=_.szb(b);d=new _.Yi(d);a:switch(a){case "over":var e="o";break a;case "near":e="u";break a;default:e="m"}return _.$i(_.cj(_.cj(_.cj(_.cj(d,"i",e),"utm_source","drive"),"utm_medium","web"),"utm_campaign",Azb(a,c)),-1!==parseInt(String(b.V()),10)?"upgrade":"")};
Azb=function(a,b){switch(b){case "settings":return"settings";case "upload_dialog":return"upload_dialog_oos";case "widget":switch(a){case "over":return"widget_oos";case "near":return"widget_near_quota";default:return"widget_normal"}default:switch(a){case "near":case "over":return"upsell";default:return"manage"}}};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy17s");

_.LC=function(a){_.I.call(this,a)};_.J(_.LC,_.I);_.LC.prototype.wa=function(){return _.pj(this,1)};_.LC.prototype.V=function(){return _.pj(this,2)};_.LC.prototype.H=function(){return _.pj(this,3)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy18f");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy18l");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy18k");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy18n");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy19g");

_.gD=function(a){_.I.call(this,a)};_.J(_.gD,_.I);_.gD.prototype.getKey=function(){return _.w(this,_.nc,1)};_.gD.prototype.ot=function(){return _.lj(this,1)};_.gD.prototype.se=function(){return _.w(this,_.Pf,2)};
_.hD=function(a){_.I.call(this,a)};_.J(_.hD,_.I);_.hD.prototype.se=function(){return _.w(this,_.Pf,2)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy19h");

_.fD=function(a){_.I.call(this,a,-1,vCb)};_.J(_.fD,_.I);_.fD.prototype.se=function(){return _.w(this,_.Pf,1)};var vCb=[3];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy19n");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.uD=function(a,b,c){_.L.call(this);this.Vm=null!=c?(0,_.K)(a,c):a;this.ka=b;this.tg=(0,_.K)(this.Aab,this);this.O=!1;this.V=0;this.W=this.H=null;this.ha=[]};_.mg(_.uD,_.L);_.g=_.uD.prototype;_.g.ne=function(a){this.ha=arguments;this.O=!1;this.H?this.W=_.kg()+this.ka:this.H=_.Ai(this.tg,this.ka)};_.g.stop=function(){this.H&&(_.Bi(this.H),this.H=null);this.W=null;this.O=!1;this.ha=[]};_.g.pause=function(){++this.V};
_.g.resume=function(){this.V&&(--this.V,!this.V&&this.O&&(this.O=!1,this.Vm.apply(null,this.ha)))};_.g.Xa=function(){this.stop();_.uD.ub.Xa.call(this)};_.g.Aab=function(){this.H&&(_.Bi(this.H),this.H=null);this.W?(this.H=_.Ai(this.tg,this.W-_.kg()),this.W=null):this.V?this.O=!0:(this.O=!1,this.Vm.apply(null,this.ha))};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1c7");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1c8");

_.KF=function(a){_.I.call(this,a,-1,YUb)};_.J(_.KF,_.I);_.KF.prototype.getId=function(){return _.x(this,1)};_.KF.prototype.Nb=function(a){return _.u(this,1,a)};_.KF.prototype.uu=function(){return _.x(this,2)};_.KF.prototype.oK=function(){return _.lj(this,2)};var YUb=[5,6,9,10,12,13,15,16];
var ZUb;_.LF=function(a){_.I.call(this,a,-1,ZUb)};_.J(_.LF,_.I);_.LF.prototype.Dm=function(){return _.x(this,1)};_.$Ub=function(a,b){return _.u(a,1,b)};ZUb=[2,4];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1ca");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cb");

_.MF=function(a){_.I.call(this,a)};_.J(_.MF,_.I);_.MF.prototype.getName=function(){return _.x(this,1)};_.MF.prototype.Yc=function(a){return _.u(this,1,a)};_.MF.prototype.se=function(){return _.w(this,_.Pf,2)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cd");

var gVb;_.Vc=function(a){_.pi.call(this,_.ed);this.error=a};_.J(_.Vc,_.pi);_.NF=function(a){_.I.call(this,a,-1,gVb)};_.J(_.NF,_.I);_.NF.prototype.H=function(){return _.oe(this,1)};_.OF=function(a,b){return _.qj(a,1,b)};_.NF.prototype.Em=function(){return _.oe(this,2)};_.PF=function(a,b){return _.qj(a,2,b)};_.NF.prototype.se=function(){return _.w(this,_.Pf,3)};_.QF=function(a,b){return _.E(a,3,b)};_.hVb=function(a,b){return _.u(a,5,b)};gVb=[1,2,6,11];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cf");

_.RF=function(a){_.I.call(this,a)};_.J(_.RF,_.I);_.g=_.RF.prototype;_.g.vi=function(){return _.x(this,1)};_.g.Fi=function(a){return _.u(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.se=function(){return _.w(this,_.Pf,3)};_.g.Tq=function(){return _.x(this,4)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cg");

_.SF=function(a){_.I.call(this,a,-1,iVb)};_.J(_.SF,_.I);_.SF.prototype.H=function(){return _.oe(this,1)};_.SF.prototype.Em=function(){return _.oe(this,2)};_.SF.prototype.se=function(){return _.w(this,_.Pf,3)};var iVb=[1,2];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1ch");

_.TF=function(a){_.I.call(this,a,-1,jVb)};_.J(_.TF,_.I);_.TF.prototype.Em=function(){return _.oe(this,1)};_.kVb=function(a,b){return _.qj(a,1,b)};_.TF.prototype.se=function(){return _.w(this,_.Pf,2)};var jVb=[1,3];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cj");

_.UF=function(a,b){return _.u(a,4,b)};_.lVb=function(a,b){return _.u(a,25,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cc");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1ce");

_.mVb=function(a){_.I.call(this,a)};_.J(_.mVb,_.I);_.mVb.prototype.vi=function(){return _.x(this,3)};_.mVb.prototype.Fi=function(a){return _.u(this,3,a)};_.mVb.prototype.se=function(){return _.w(this,_.Pf,5)};_.mVb.prototype.getCustomer=function(){return _.x(this,6)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1cr");

_.$F=function(a){_.I.call(this,a)};_.J(_.$F,_.I);_.$F.prototype.qc=function(){return _.x(this,1)};_.fWb=function(a){var b=new _.$F;return _.u(b,1,a)};_.$F.prototype.vi=function(){return _.x(this,2)};_.$F.prototype.Fi=function(a){return _.u(this,2,a)};_.$F.prototype.se=function(){return _.w(this,_.Pf,3)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1fw");

_.rcc=function(a){for(var b in a)delete a[b]};_.EH=function(a,b){if(a.H)return a=a.H.responseText,b&&0==a.indexOf(b)&&(a=a.substring(b.length)),(0,_.Cla)(a)};_.FH=function(a){return _.Q(a,5,!1)};_.scc=function(a,b){var c=_.w(a.H,_.Rya,9);null==c&&(c=new _.Rya);var d=_.u(c,5,_.x(b.H,10));_.u(d,2,_.x(b.H,12));_.E(a.H,9,c)};_.tcc=function(a,b){a=_.Ei(a);b=_.Ei(b);return a[3]==b[3]&&a[1]==b[1]&&a[4]==b[4]};
_.ucc=function(a){var b=_.nma(a);if("undefined"==typeof b)throw Error("V");var c=new _.aj(null,void 0);a=_.mma(a);for(var d=0;d<b.length;d++){var e=b[d],f=a[d];Array.isArray(f)?_.xma(c,e,f):c.add(e,f)}return c};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g7");

var vcc;_.GH=function(a){_.I.call(this,a,-1,vcc)};_.J(_.GH,_.I);_.GH.prototype.H=function(){return _.oe(this,1)};_.GH.prototype.se=function(){return _.w(this,_.Pf,2)};_.wcc=function(a,b){return _.E(a,2,b)};_.GH.prototype.vi=function(){return _.Bj(this,3,20)};_.GH.prototype.Fi=function(a){return _.u(this,3,a)};_.xcc=function(a,b){return _.u(a,4,b)};vcc=[1];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gk");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.zcc=function(a,b){return _.ycc()?(new _.aa.Intl.Collator([a||"en-GB"],b||{})).compare:function(c,d){return c.localeCompare(d)}};_.ycc=function(){var a=_.aa.Intl;return!(!a||!a.Collator)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gl");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Acc=function(a){_.L.call(this);this.O=a;this.H={};this.O.EO((0,_.K)(this.V,this))};_.mg(_.Acc,_.L);_.Ccc=function(a,b){if(-1!=b.indexOf(":"))throw Error("Ve`"+b);if(b in a.H)throw Error("We`"+b);var c=new Bcc(a,b);return a.H[b]=c};_.Acc.prototype.V=function(a,b){if(a=a.match(/^([^:]*):(.*)/)){var c=a[1];a=a[2];c in this.H&&(c=this.H[c])&&c.O&&c.O(a,b)}};_.Acc.prototype.Xa=function(){_.Ra(this.H,function(a){_.ca(a)});_.ca(this.O);delete this.H;delete this.O};
var Bcc=function(a,b){_.L.call(this);this.Jg=a;this.H=b};_.mg(Bcc,_.L);_.g=Bcc.prototype;_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.Jg.O.registerService(this.H+":"+a,(0,_.K)(this.XUa,this,b),c)};_.g.EO=function(a){this.O=(0,_.K)(this.XUa,this,a)};_.g.send=function(a,b){if(this.isDisposed())throw Error("Xe");this.Jg.O.send(this.H+":"+a,b)};_.g.XUa=function(a,b){this.isDisposed()||a.apply({},Array.prototype.slice.call(arguments,1))};
_.g.Xa=function(){this.Jg=this.Jg.H[this.H]=null};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gm");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.Dcc=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};_.Ecc=function(){this.blockSize=-1};
_.HH=function(){this.blockSize=-1;this.blockSize=64;this.H=Array(4);this.W=Array(this.blockSize);this.V=this.O=0;this.reset()};_.mg(_.HH,_.Ecc);_.HH.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.V=this.O=0};
var Fcc=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.H[0];c=a.H[1];e=a.H[2];var f=a.H[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.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+(e+(h<<21&4294967295|h>>>11))&4294967295;a.H[2]=a.H[2]+e&4294967295;a.H[3]=a.H[3]+f&4294967295};
_.HH.prototype.update=function(a,b){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=this.W,e=this.O,f=0;f<b;){if(0==e)for(;f<=c;)Fcc(this,a,f),f+=this.blockSize;if("string"===typeof a)for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.blockSize){Fcc(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.blockSize){Fcc(this,d);e=0;break}}this.O=e;this.V+=b};
_.HH.prototype.digest=function(){var a=Array((56>this.O?this.blockSize:2*this.blockSize)-this.O);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.V;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.H[b]>>>d&255;return a};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gn");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var Gcc,IH,Hcc,KH,Jcc,Icc;Gcc=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(_.Bga);try{delete a[_.Bga]}catch(b){}};
IH=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(_.Ea(f)){f[_.Bga]||c.push(f);var l=_.Fa(f);if(d[l])b.push("*** reference loop detected (id="+l+") ***");else{d[l]=!0;b.push("{");for(var p in f)"function"!==typeof f[p]&&(b.push("\n"),b.push(k),b.push(p+" = "),e(f[p],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++)Gcc(c[a]);return b.join("")};_.JH=function(a,b,c){if("number"===typeof a)var d={name:Icc(a)};else d=a,a=Jcc(a.name);this.code=a;this.O=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);_.ia.call(this,b)};_.mg(_.JH,_.ia);_.JH.prototype.getName=function(){return this.O.name||""};
KH={Lkb:1,Tjb:2,NOT_FOUND_ERR:3,c$a:4,h$a:5,Vjb:6,Gkb:7,ABORT_ERR:8,jkb:9,d9b:10,TIMEOUT_ERR:11,gkb:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14};_.Kcc=(_.aa.H||_.aa.O||KH).Lkb;_.Lcc=(_.aa.H||_.aa.O||KH).Tjb;_.Mcc=(_.aa.H||_.aa.O||KH).NOT_FOUND_ERR;_.Ncc=(_.aa.H||_.aa.O||KH).c$a;_.Occ=(_.aa.H||_.aa.O||KH).h$a;_.Pcc=(_.aa.H||_.aa.O||KH).Vjb;_.Qcc=(_.aa.H||_.aa.O||KH).Gkb;_.Rcc=(_.aa.H||_.aa.O||KH).ABORT_ERR;_.Scc=(_.aa.H||_.aa.O||KH).jkb;_.Tcc=(_.aa.H||_.aa.O||KH).TIMEOUT_ERR;
_.Ucc=(_.aa.H||_.aa.O||KH).gkb;_.Vcc=(_.aa.DOMException||KH).INVALID_ACCESS_ERR;_.Wcc=(_.aa.DOMException||KH).INVALID_STATE_ERR;
Jcc=function(a){switch(a){case "UnknownError":return _.Kcc;case "NotFoundError":return _.Mcc;case "ConstraintError":return _.Ncc;case "DataError":return _.Occ;case "TransactionInactiveError":return _.Qcc;case "AbortError":return _.Rcc;case "ReadOnlyError":return _.Scc;case "TimeoutError":return _.Tcc;case "QuotaExceededError":return _.Ucc;case "InvalidAccessError":return _.Vcc;case "InvalidStateError":return _.Wcc;default:return _.Kcc}};
Icc=function(a){switch(a){case _.Kcc:return"UnknownError";case _.Mcc:return"NotFoundError";case _.Ncc:return"ConstraintError";case _.Occ:return"DataError";case _.Qcc:return"TransactionInactiveError";case _.Rcc:return"AbortError";case _.Scc:return"ReadOnlyError";case _.Tcc:return"TimeoutError";case _.Ucc:return"QuotaExceededError";case _.Vcc:return"InvalidAccessError";case _.Wcc:return"InvalidStateError";default:return"UnknownError"}};
_.LH=function(a,b){return"error"in a?new _.JH(a.error,b):new _.JH({name:"UnknownError"},b)};_.MH=function(a,b){if("name"in a)return b=b+": "+a.message,new _.JH(a,b);if("code"in a){var c=Icc(a.code);b=b+": "+a.message;return new _.JH({name:c},b)}return new _.JH({name:"UnknownError"},b)};
_.Xcc=function(a){this.H=a};_.Ycc=_.aa.IDBKeyRange||_.aa.webkitIDBKeyRange;_.Xcc.prototype.range=function(){return this.H};
var Zcc=function(a){this.H=a};Zcc.prototype.getName=function(){return this.H.name};var $cc=function(a,b,c,d){var e=new _.bi;try{var f=a.H[b](d)}catch(h){return c+=" with key "+IH(d),e.Ed(_.MH(h,c)),e}f.onsuccess=function(h){e.callback(h.target.result)};f.onerror=function(h){c+=" with key "+IH(d);e.Ed(_.LH(h.target,c))};return e};Zcc.prototype.get=function(a){return $cc(this,"get","getting from index "+this.getName(),a)};
Zcc.prototype.getKey=function(a){return $cc(this,"getKey","getting key from index "+this.getName(),a)};Zcc.prototype.getAll=function(a,b){return _.adc(this,"getAll","getting all from index "+this.getName(),a,b)};
_.adc=function(a,b,c,d,e){var f;void 0===d?f=void 0:f=d instanceof _.Xcc?d.range():(new _.Xcc(_.Ycc.only(d))).range();var h=new _.bi;try{var k=a.H[b](f,e)}catch(l){return c+=" for range "+(f?IH(f):"<all>"),h.Ed(_.MH(l,c)),h}k.onsuccess=function(){h.callback(k.result)};k.onerror=function(l){c+=" for range "+(f?IH(f):"<all>");h.Ed(_.LH(l.target,c))};return h};
var bdc=function(a){this.H=a};bdc.prototype.getName=function(){return this.H.name};var cdc=function(a,b,c,d,e){var f=new _.bi;try{var h=e?a.H[b](d,e):a.H[b](d)}catch(k){return c+=IH(d),e&&(c+=", with key "+IH(e)),f.Ed(_.MH(k,c)),f}h.onsuccess=function(k){f.callback(k.target.result)};h.onerror=function(k){c+=IH(d);e&&(c+=", with key "+IH(e));f.Ed(_.LH(k.target,c))};return f};_.g=bdc.prototype;_.g.put=function(a,b){return cdc(this,"put","putting into "+this.getName()+" with value",a,b)};
_.g.add=function(a,b){return cdc(this,"add","adding into "+this.getName()+" with value ",a,b)};_.g.remove=function(a){var b=new _.bi;try{var c=this.H["delete"](a instanceof _.Xcc?a.range():a)}catch(e){return c="removing from "+this.getName()+" with key "+IH(a),b.Ed(_.MH(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+IH(a);b.Ed(_.LH(e.target,f))};return b};
_.g.get=function(a){var b=new _.bi;try{var c=this.H.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+IH(a),b.Ed(_.MH(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 "+IH(a);b.Ed(_.LH(e.target,f))};return b};_.g.getAll=function(a,b){return ddc(this,"getting all from index "+this.getName(),a,b)};
var ddc=function(a,b,c,d){var e;void 0===c?e=void 0:e=c instanceof _.Xcc?c.range():(new _.Xcc(_.Ycc.only(c))).range();var f=new _.bi;try{var h=a.H.getAll(e,d)}catch(k){return b+=" for range "+(e?IH(e):"<all>"),f.Ed(_.MH(k,b)),f}h.onsuccess=function(){f.callback(h.result)};h.onerror=function(k){b+=" for range "+(e?IH(e):"<all>");f.Ed(_.LH(k.target,b))};return f};
bdc.prototype.clear=function(){var a="clearing store "+this.getName(),b=new _.bi;try{var c=this.H.clear()}catch(d){return b.Ed(_.MH(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){b.Ed(_.LH(d.target,a))};return b};bdc.prototype.getIndex=function(a){try{return new Zcc(this.H.index(a))}catch(b){throw _.MH(b,"getting index "+a);}};
bdc.prototype.count=function(a){var b=new _.bi;try{var c=this.H.count(a?a.range():null);c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){b.Ed(_.LH(e.target,d.getName()))}}catch(e){b.Ed(_.MH(e,this.getName()))}return b};
var edc=function(a,b){_.yi.call(this);this.H=a;this.O=b;this.Db=new _.nf(this);this.Db.listen(this.H,"complete",(0,_.K)(this.dispatchEvent,this,"complete"));this.Db.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Db.listen(this.H,"error",this.dbb)};_.mg(edc,_.yi);_.g=edc.prototype;_.g.dbb=function(a){a.target instanceof _.JH?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:_.LH(a.target,"in transaction")})};_.g.Fg=function(){return this.H.mode};
_.g.objectStore=function(a){try{return new bdc(this.H.objectStore(a))}catch(b){throw _.MH(b,"getting object store "+a);}};_.g.commit=function(a){if(this.H.commit||!a)try{this.H.commit()}catch(b){throw _.MH(b,"cannot commit the transaction");}};
_.g.wait=function(){var a=new _.bi;_.ti(this,"complete",(0,_.K)(a.callback,a));var b=_.ti(this,"abort",function(){_.wi(c);a.Ed(new _.JH(_.Rcc,"waiting for transaction to complete"))});var c=_.ti(this,"error",function(e){_.wi(b);a.Ed(e.target)});var d=this.O;return a.addCallback(function(){return d})};_.g.abort=function(){this.H.abort()};_.g.Xa=function(){edc.ub.Xa.call(this);this.Db.dispose()};
var fdc=function(a){_.yi.call(this);this.H=a;this.Db=new _.nf(this);this.Db.listen(this.H,"abort",(0,_.K)(this.dispatchEvent,this,"abort"));this.Db.listen(this.H,"error",this.ebb);this.Db.listen(this.H,"versionchange",this.Oqb);this.Db.listen(this.H,"close",(0,_.K)(this.dispatchEvent,this,"close"))};_.mg(fdc,_.yi);_.g=fdc.prototype;_.g.bta=!0;_.g.ebb=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};
_.g.Oqb=function(a){this.dispatchEvent(new gdc(a.oldVersion,a.newVersion))};_.g.close=function(){this.bta&&(this.H.close(),this.bta=!1)};_.g.Ag=function(){return this.bta};_.g.getName=function(){return this.H.name};_.g.jj=function(){return Number(this.H.version)};_.hdc=function(a,b,c){try{return new bdc(a.H.createObjectStore(b,c))}catch(d){throw _.MH(d,"creating object store "+b);}};
_.idc=function(a,b,c){try{var d=c?a.H.transaction(b,c):a.H.transaction(b);return new edc(d,a)}catch(e){throw _.MH(e,"creating transaction");}};fdc.prototype.Xa=function(){fdc.ub.Xa.call(this);this.Db.dispose()};var gdc=function(a,b){_.pi.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};_.mg(gdc,_.pi);
_.jdc=function(){void 0==Hcc&&(Hcc=_.aa.indexedDB||_.aa.mozIndexedDB||_.aa.webkitIndexedDB||_.aa.moz_indexedDB);return Hcc};
_.kdc=function(a,b,c,d){var e=new _.bi;b=b?_.jdc().open(a,b):_.jdc().open(a);b.onsuccess=function(f){f=new fdc(f.target.result);e.callback(f)};b.onerror=function(f){e.Ed(_.LH(f.target,"opening database "+a))};b.onupgradeneeded=function(f){if(c){var h=new fdc(f.target.result);c(new gdc(f.oldVersion,f.newVersion),h,new edc(f.target.transaction,h))}};b.onblocked=function(f){d&&d(new gdc(f.oldVersion,f.newVersion))};return e};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1go");

/*

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

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gi");

_.ldc=function(a,b,c){_.Zla(a.url,function(d){d=d.target;d.PB()?b(d.ul()):c(d.Cb())},a.requestType,a.body,a.requestHeaders,a.timeoutMillis,a.withCredentials)};_.mdc=function(a,b,c,d){return _.y(a,1).split("/").pop()==d?(d=_.x(a,2),Array.isArray(d)?new b(d):c(_.ub(a.Ya()))):null};_.odc=function(a){_.I.call(this,a,-1,ndc)};_.J(_.odc,_.I);var ndc=[2];
_.pdc=function(a){_.I.call(this,a)};_.J(_.pdc,_.I);var qdc=function(){var a=new _.pdc,b=document.documentElement.getAttribute("lang");return _.u(a,5,b)};_.pdc.prototype.Ki=function(){return _.x(this,7)};
_.rdc=function(a){_.I.call(this,a)};_.J(_.rdc,_.I);
var sdc;_.PH=function(a){_.I.call(this,a,31,sdc)};_.J(_.PH,_.I);_.QH=function(a,b){return _.u(a,8,b)};sdc=[3,20,27];
var udc=function(a){_.I.call(this,a,17,tdc)};_.J(udc,_.I);var vdc=function(a){var b=Date.now().toString();return _.u(a,4,b)},wdc=function(a,b){return _.sj(a,3,b)},xdc=function(a,b){return _.u(a,14,b)},tdc=[3,5];
var zdc=function(a){_.I.call(this,a,6,ydc)};_.J(zdc,_.I);var ydc=[5];
var Adc=function(a){_.I.call(this,a)};_.J(Adc,_.I);
var Bdc=new _.ij(175237375,Adc);
_.RH=function(a,b,c,d,e,f,h,k,l,p,q){_.yi.call(this);var r=this;this.Ia="";this.O=[];this.Dc="";this.Gb=this.Kb=this.ha=!1;this.Mc=this.ob=-1;this.Qb=!1;this.Ba=this.V=null;this.ta=0;this.le=1;this.timeoutMillis=0;this.kb=!1;_.yi.call(this);this.Qc=a;this.jc=b||_.ig;this.ka=new udc;this.yd=d;this.yb=q;this.ie=_.fb(_.dja,0,1);this.wa=e||null;this.Fa=c||null;this.Pa=h||!1;this.Za=l||null;this.Zf=null;this.withCredentials=!k;this.tc=f||!1;this.Pd=!this.tc&&(_.jj.to&&_.Rb(65)||_.jj.Su&&_.Rb(45)||_.jj.px&&
_.Rb(12)||_.hb()&&0<=_.gb(_.Gaa(),12))&&!!_.Nf()&&!!_.Nf().navigator&&!!_.Nf().navigator.sendBeacon;a=_.u(new _.rdc,1,1);f||(f=qdc(),_.E(a,11,f));_.E(this.ka,1,a);_.u(this.ka,2,this.Qc);this.ma=new _.NH(1E4,3E5,.1);this.H=new _.zi(this.ma.Ya());this.Ja(this.H);_.bf(this.H,"tick",_.Kga(Cdc(this,p)),!1,this);this.Ka=new _.zi(6E5);this.Ja(this.Ka);_.bf(this.Ka,"tick",_.Kga(Cdc(this,p)),!1,this);this.Pa||this.Ka.start();this.tc||(_.bf(document,"visibilitychange",function(){"hidden"===document.visibilityState&&
r.Ta()}),_.bf(document,"pagehide",this.Ta,!1,this))};_.J(_.RH,_.yi);var Cdc=function(a,b){return b?function(){b().then(a.flush.bind(a))}:a.flush};_.RH.prototype.Xa=function(){this.Ta();_.yi.prototype.Xa.call(this)};var Ddc=function(a){a.wa||(a.wa=.01>a.ie()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.wa};_.RH.prototype.W=function(a){a instanceof _.PH?this.log(a):(a=_.QH(new _.PH,a.Ic()),this.log(a))};
_.Edc=function(a,b){b?(a.V||(a.V=new _.odc),b=b.Ic(),_.u(a.V,4,b)):a.V&&_.wb(a.V,4)};_.Fdc=function(a){a.Kb=a.Pd};_.Gdc=function(a,b){a.ma=new _.NH(1>b?1:b,3E5,.1);a.H.setInterval(a.ma.Ya())};
_.RH.prototype.log=function(a){a=a.clone();var b=this.le++;_.u(a,21,b);this.Ia&&_.u(a,26,this.Ia);if(!_.x(a,1)){b=a;var c=Date.now().toString();_.u(b,1,c)}_.lj(a,15)||_.u(a,15,60*(new Date).getTimezoneOffset());this.V&&(b=this.V.clone(),_.E(a,16,b));for(;1E3<=this.O.length;)this.O.shift(),++this.ta;this.O.push(a);this.dispatchEvent(new Hdc(a));this.Pa||this.H.enabled||this.H.start()};
_.RH.prototype.flush=function(a,b){var c=this;if(0===this.O.length)a&&a();else if(this.kb)Idc(this);else{var d=Date.now();if(this.Mc>d&&this.ob<d)b&&b("throttled");else{var e=xdc(wdc(vdc(this.ka.clone()),this.O),this.ta);d={};var f=this.jc();f&&(d.Authorization=f);var h=Ddc(this);this.Fa&&(d["X-Goog-AuthUser"]=this.Fa,h=_.Pi(h,"authuser",this.Fa));this.Za&&(d["X-Goog-PageId"]=this.Za,h=_.Pi(h,"pageId",this.Za));if(f&&this.Dc===f)b&&b("stale-auth-token");else if(this.O=[],this.H.enabled&&this.H.stop(),
this.ta=0,this.ha)a&&a();else{var k=e.Ic(),l;this.Ba&&this.Ba.Au(k.length)&&(l=this.Ba.W$b(k));var p={url:h,body:k,Umb:1,requestHeaders:d,requestType:"POST",withCredentials:this.withCredentials,timeoutMillis:this.timeoutMillis},q=function(z){c.ma.reset();c.H.setInterval(c.ma.Ya());if(z){var A=null;try{var B=JSON.parse(z.replace(")]}'\n",""));A=new zdc(B)}catch(F){}A&&(z=Number(_.Sma(A,1,"-1")),0<z&&(c.ob=Date.now(),c.Mc=c.ob+z),A=_.Fb(A,Bdc))&&(A=_.Bj(A,1,-1),-1!=A&&(c.Qb||_.Gdc(c,A)))}a&&a()},r=
function(z){var A=_.zb(e,_.PH,3);_.OH(c.ma);c.H.setInterval(c.ma.Ya());401===z&&f&&(c.Dc=f);if(500<=z&&600>z||401===z||0===z)c.O=A.concat(c.O),c.Pa||c.H.enabled||c.H.start();b&&b("net-send-failed",z)},v=function(){c.yb?c.yb.send(p,q,r):c.yd(p,q,r)};l?l.then(function(z){p.requestHeaders["Content-Encoding"]="gzip";p.requestHeaders["Content-Type"]="application/binary";p.body=z;p.Umb=2;v()},function(){v()}):v()}}}};_.RH.prototype.Ta=function(){this.ha||(this.Kb&&Idc(this),this.Gb&&Jdc(this),this.flush())};
var Idc=function(a){Kdc(a,32,10,function(b,c){b=_.Pi(b,"format","json");b=_.Nf().navigator.sendBeacon(b,c.Ic());a.kb&&!b&&(a.kb=!1);return b})},Jdc=function(a){Kdc(a,6,5,function(b,c){b=_.Ni(b,"format","base64json","p",_.kj(c.Ic(),3));if(15360<b.length)return!1;_.ah(new Image,b);return!0})},Kdc=function(a,b,c,d){if(0!==a.O.length){var e=_.Ula(Ddc(a),"format");e=_.Ni(e,"auth",a.jc(),"authuser",a.Fa||"0");for(var f=0;f<c&&a.O.length;++f){var h=a.O.slice(0,b),k=wdc(vdc(a.ka.clone()),h);0===f&&xdc(k,
a.ta);if(!d(e,k))break;a.O=a.O.slice(h.length)}a.H.enabled&&a.H.stop();a.ta=0}},Hdc=function(){_.pi.call(this,"event-logged",void 0)};_.J(Hdc,_.pi);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gj");

var Ldc=function(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;q=p=0}function b(r){for(var v=h,z=0;64>z;z+=4)v[z/4]=r[z]<<24|r[z+1]<<16|r[z+2]<<8|r[z+3];for(z=16;80>z;z++)r=v[z-3]^v[z-8]^v[z-14]^v[z-16],v[z]=(r<<1|r>>>31)&4294967295;r=e[0];var A=e[1],B=e[2],F=e[3],G=e[4];for(z=0;80>z;z++){if(40>z)if(20>z){var M=F^A&(B^F);var N=1518500249}else M=A^B^F,N=1859775393;else 60>z?(M=A&B|F&(A|B),N=2400959708):(M=A^B^F,N=3395469782);M=((r<<5|r>>>27)&4294967295)+
M+G+N+v[z]&4294967295;G=F;F=B;B=(A<<30|A>>>2)&4294967295;A=r;r=M}e[0]=e[0]+r&4294967295;e[1]=e[1]+A&4294967295;e[2]=e[2]+B&4294967295;e[3]=e[3]+F&4294967295;e[4]=e[4]+G&4294967295}function c(r,v){if("string"===typeof r){r=unescape(encodeURIComponent(r));for(var z=[],A=0,B=r.length;A<B;++A)z.push(r.charCodeAt(A));r=z}v||(v=r.length);z=0;if(0==p)for(;z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64;for(;z<v;)if(f[p++]=r[z++],q++,64==p)for(p=0,b(f);z+64<v;)b(r.slice(z,z+64)),z+=64,q+=64}function d(){var r=[],
v=8*q;56>p?c(k,56-p):c(k,64-(p-56));for(var z=63;56<=z;z--)f[z]=v&255,v>>>=8;b(f);for(z=v=0;5>z;z++)for(var A=24;0<=A;A-=8)r[v++]=e[z]>>A&255;return r}for(var e=[],f=[],h=[],k=[128],l=1;64>l;++l)k[l]=0;var p,q;a();return{reset:a,update:c,digest:d,digestString:function(){for(var r=d(),v="",z=0;z<r.length;z++)v+="0123456789ABCDEF".charAt(Math.floor(r[z]/16))+"0123456789ABCDEF".charAt(r[z]%16);return v}}},Mdc=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));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("Ye`"+a);if("http"!==c&&"https"!==c&&"chrome-extension"!==c&&"moz-extension"!==c&&"file"!==c&&"android-app"!==c&&"chrome-search"!==c&&"chrome-untrusted"!==c&&"chrome"!==c&&"app"!==c&&"devtools"!==c)throw Error("Ze`"+c);a="";var d=b.indexOf(":");if(-1!=d){var e=b.substring(d+1);b=b.substring(0,
d);if("http"===c&&"80"!==e||"https"===c&&"443"!==e)a=":"+e}return c+"://"+b+a};
var Odc=function(a,b,c){var d=String(_.aa.location.href);return d&&a&&b?[b,Ndc(Mdc(d),a,c||null)].join(" "):null},Ndc=function(a,b,c){var d=[],e=[];if(1==(Array.isArray(c)?2:1))return e=[b,a],_.Ma(d,function(k){e.push(k)}),Pdc(e.join(" "));var f=[],h=[];_.Ma(c,function(k){h.push(k.key);f.push(k.value)});c=Math.floor((new Date).getTime()/1E3);e=_.qa(f)?[c,b,a]:[f.join(":"),c,b,a];_.Ma(d,function(k){e.push(k)});a=Pdc(e.join(" "));a=[c,a];_.qa(h)||a.push(h.join(""));return a.join("_")},Pdc=function(a){var b=
Ldc();b.update(a);return b.digestString().toLowerCase()};
var Qdc={};
var Rdc,Tdc;Rdc=function(a){return!!Qdc.FPA_SAMESITE_PHASE2_MOD||!(void 0===a||!a)};_.Sdc=function(a){a=void 0===a?!1:a;var b=_.aa.__SAPISID||_.aa.__APISID||_.aa.__3PSAPISID||_.aa.__OVERRIDE_SID;Rdc(a)&&(b=b||_.aa.__1PSAPISID);if(b)return!0;var c=new _.qNa(document);b=c.get("SAPISID")||c.get("APISID")||c.get("__Secure-3PAPISID")||c.get("SID");Rdc(a)&&(b=b||c.get("__Secure-1PAPISID"));return!!b};Tdc=function(a,b,c,d){(a=_.aa[a])||(a=(new _.qNa(document)).get(b));return a?Odc(a,c,d):null};
_.Udc=function(a,b){b=void 0===b?!1:b;var c=Mdc(String(_.aa.location.href)),d=[];if(_.Sdc(b)){c=0==c.indexOf("https:")||0==c.indexOf("chrome-extension:")||0==c.indexOf("moz-extension:");var e=c?_.aa.__SAPISID:_.aa.__APISID;e||(e=new _.qNa(document),e=e.get(c?"SAPISID":"APISID")||e.get("__Secure-3PAPISID"));(e=e?Odc(e,c?"SAPISIDHASH":"APISIDHASH",a):null)&&d.push(e);c&&Rdc(b)&&((b=Tdc("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",a))&&d.push(b),(a=Tdc("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",
a))&&d.push(a))}return 0==d.length?null:d.join(" ")};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gp");

_.Vdc=function(a,b){this.ka=a;this.wa=b;this.V="https://play.google.com/log?format=json&hasfast=true";this.W=!1;this.ma=_.ldc;this.H=""};
_.Vdc.prototype.build=function(){var a=new _.RH(this.ka,this.Ka?this.Ka:_.Udc,this.wa,this.ma,this.V,this.W,!1,void 0,void 0,void 0,this.ta?this.ta:void 0);if(this.Fa){var b=this.Fa;_.x(b,1)||_.u(b,1,1);_.E(a.ka,1,b)}if(this.O){b=this.O;var c=_.w(a.ka,_.rdc,1),d=_.w(c,_.pdc,11);d||(d=new _.pdc);_.u(d,7,b);_.E(c,11,d);_.x(c,1)||_.u(c,1,1);_.E(a.ka,1,c)}this.ha&&(a.Ba=this.ha);this.H&&(a.Ia=this.H);this.Ba&&_.Edc(a,this.Ba);this.Pa&&(b=this.Pa,a.V||(a.V=new _.odc),_.qj(a.V,2,b));this.Ia&&(b=this.Ia,
a.Qb=!0,_.Gdc(a,b));return a};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gq");

_.Wdc=function(a,b,c){a.O[b.getId()]=c;a.H&&c.O(a.H)};_.Xdc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null};_.Xdc.prototype.HA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.QH(new _.PH,a.Ic());b(a);return new _.Wh(function(d){c(d,function(){d()})}.bind(this))};
_.Ydc=function(a){var b;this.O=(b=void 0===b?!1:b)?null:a;this.H=b?a:null;this.O&&_.Fdc(this.O)};_.Ydc.prototype.HA=function(a){var b=this.H?this.H.W.bind(this.H):this.O.log.bind(this.O),c=this.H?this.H.flush.bind(this.H):this.O.flush.bind(this.O);a=_.QH(new _.PH,a.Ic());b(a);c()};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g4");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g3");

var Zdc;Zdc=[1];_.SH=function(a){_.I.call(this,a,-1,Zdc)};_.J(_.SH,_.I);_.SH.prototype.H=function(){return _.oe(this,1)};_.$dc=function(a,b){return _.qj(a,1,b)};_.TH=function(a){_.I.call(this,a)};_.J(_.TH,_.I);_.g=_.TH.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.getState=function(){return _.x(this,5)};_.g.Jd=function(a){return _.u(this,5,a)};
_.g.pt=function(){return _.lj(this,5)};_.aec=function(a){_.I.call(this,a)};_.J(_.aec,_.I);_.aec.prototype.H=function(){return _.x(this,1)};_.aec.prototype.Cb=function(){return _.x(this,2)};_.aec.prototype.Bc=function(a){return _.u(this,2,a)};_.aec.prototype.V=function(){return _.x(this,3)};_.cec=function(a){_.I.call(this,a,-1,bec)};_.J(_.cec,_.I);_.cec.prototype.H=function(){return _.oe(this,1)};var bec=[1];
_.eec=function(a){_.I.call(this,a,-1,dec)};_.J(_.eec,_.I);_.eec.prototype.H=function(){return _.zb(this,_.aec,1)};var dec=[1];
_.gec=function(a){_.I.call(this,a,-1,fec)};_.J(_.gec,_.I);_.gec.prototype.H=function(){return _.zb(this,_.eec,1)};var fec=[1];
_.hec=function(a){_.I.call(this,a)};_.J(_.hec,_.I);_.hec.prototype.V=function(){return _.w(this,_.gec,1)};_.hec.prototype.H=function(){return _.w(this,_.cec,2)};
_.UH=function(a){_.I.call(this,a,-1,iec)};_.J(_.UH,_.I);_.g=_.UH.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.zd=function(){return _.zb(this,_.Bk,2)};_.g.cB=function(a){return _.sj(this,2,a)};_.g.ah=function(a,b){return _.yj(this,2,a,_.Bk,b)};_.g.Vj=function(){return _.x(this,3)};_.g.Ql=function(){return _.Q(this,5,!0)};_.g.D6=function(){return _.w(this,_.hec,7)};_.g.cta=function(){return _.P(this,8)};_.g.Wf=function(){return _.x(this,17)};
_.g.MP=function(a){return _.u(this,17,a)};_.g.Ve=function(){return _.x(this,12)};_.g.mi=function(a){return _.u(this,12,a)};_.g.Xn=function(){return _.x(this,15)};_.g.Qka=function(){return _.oe(this,18)};var iec=[2,14,18];_.UH.prototype.Tb="eO39Zd";

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gc");

var jec=function(a){_.I.call(this,a)};_.J(jec,_.I);jec.prototype.getEmail=function(){return _.y(this,3,"")};jec.prototype.sq=function(){return _.lj(this,3)};_.VH=function(a){return _.w(a,jec,36,1)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g8");

_.WH=function(a){_.I.call(this,a)};_.J(_.WH,_.I);_.WH.prototype.se=function(){return _.w(this,_.Pf,1)};_.XH=function(a,b){return _.E(a,1,b)};_.WH.prototype.dh=function(){return _.x(this,4)};_.WH.prototype.cJa=function(a){return _.u(this,4,a)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gf");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gt");

_.YH=function(a,b){return _.u(a,b,_.Pma)};_.kec=function(a){if(_.Gma)return _.aa.atob(a);var b="";_.Ima(a,function(c){b+=String.fromCharCode(c)});return b};_.ZH=function(a,b,c,d,e,f,h){_.RH.call(this,a,_.Udc,b,_.ldc,c,d,e,void 0,f,h)};_.J(_.ZH,_.RH);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gr");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var lec;lec=[3,42];_.mec=function(a){_.I.call(this,a,-1,lec)};_.J(_.mec,_.I);_.mec.prototype.getMimeType=function(){return _.x(this,27)};var nec=function(a,b){if(b&&a in b)return a;var c=_.IFa();return c?(c=c.toLowerCase(),a=c+_.tja(a),void 0===b||a in b?a:null):null};
var oec=function(a){_.pi.call(this,"visibilitychange");this.hidden=a};_.J(oec,_.pi);
_.pec=function(a){_.yi.call(this);this.$c=a||_.Fc();if(this.Nz=this.Gtb())this.H=_.bf(this.$c.Wb(),this.Nz,(0,_.K)(this.fbb,this))};_.mg(_.pec,_.yi);_.g=_.pec.prototype;_.g.Gtb=_.Ida(function(){var a=this.Au(),b="hidden"!=this.CAa();if(a){var c;b?c=((_.IFa()||"")+"visibilitychange").toLowerCase():c="visibilitychange";a=c}else a=null;return a});_.g.CAa=_.Ida(function(){return nec("hidden",this.$c.Wb())});_.g.wvb=_.Ida(function(){return nec("visibilityState",this.$c.Wb())});_.g.Au=function(){return!!this.CAa()};
_.g.NB=function(){return!!this.$c.Wb()[this.CAa()]};_.g.fbb=function(){var a=this.Au()?this.$c.Wb()[this.wvb()]:null;a=new oec(this.NB(),a);this.dispatchEvent(a)};_.g.Xa=function(){_.wi(this.H);_.pec.ub.Xa.call(this)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gs");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.qec=function(a,b,c){return _.p2a(a,b,c).Gt()};_.rec=function(a,b,c,d,e,f){var h=new _.Yi(null,void 0);a&&h.Lr(a);b&&_.pma(h,b);c&&h.Kn(c);d&&h.MA(d);e&&h.zi(e);f&&_.Zi(h,f);return h};_.sec=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1<b.length?b:"0"+b}).join("")};
_.$H=function(a){return new _.Wh(function(b){var c=a.length,d=[];if(c)for(var e=function(k,l,p){c--;d[k]=l?{I9:!0,value:p}:{I9:!1,reason:p};0==c&&b(d)},f=0,h;f<a.length;f++)h=a[f],_.eka(h,_.fb(e,f,!0),_.fb(e,f,!1));else b(d)})};_.aI=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new _.dq(c,e,d-c,a-e)}return null};
_.bI=function(a,b,c){_.L.call(this);this.Vm=null!=c?a.bind(c):a;this.ha=b;this.W=null;this.O=!1;this.V=0;this.H=null};_.J(_.bI,_.L);_.g=_.bI.prototype;_.g.ne=function(a){this.W=arguments;this.H||this.V?this.O=!0:tec(this)};_.g.stop=function(){this.H&&(_.Bi(this.H),this.H=null,this.O=!1,this.W=null)};_.g.pause=function(){this.V++};_.g.resume=function(){this.V--;this.V||!this.O||this.H||(this.O=!1,tec(this))};_.g.Xa=function(){_.L.prototype.Xa.call(this);this.stop()};
var tec=function(a){a.H=_.Ai(function(){a.H=null;a.O&&!a.V&&(a.O=!1,tec(a))},a.ha);var b=a.W;a.W=null;a.Vm.apply(null,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gh");

var uec=function(a){_.I.call(this,a)},zec;_.J(uec,_.I);var vec=function(a){_.I.call(this,a)};_.J(vec,_.I);_.cI=function(a){_.I.call(this,a)};_.J(_.cI,_.I);_.cI.prototype.a5=function(a){_.u(this,3,a)};_.cI.prototype.Il=function(a){return _.E(this,5,a)};_.cI.prototype.getMimeType=function(){return _.x(this,7)};var wec=[2],xec=function(a){_.I.call(this,a,-1,wec)};_.J(xec,_.I);var yec=function(a){_.I.call(this,a)};_.J(yec,_.I);zec=function(a){this.H=a};_.Aec=function(a){this.Kd=a};
_.Aec.prototype.getId=function(){return this.Kd};var Bec=function(a){_.I.call(this,a)};_.J(Bec,_.I);Bec.prototype.jj=function(){return _.x(this,1)};var Cec=function(a){_.I.call(this,a)};_.J(Cec,_.I);
var Eec=function(){this.H=this.W=!1;this.Io=null;for(var a=this.V=this.O=0;a<_.dBa.length;a++){var b=_.dBa[a];if(b&&b.chrome&&b.chrome.runtime&&b.chrome.runtime.connect){this.W=!0;Dec(this,b);break}}},Dec=function(a,b){a.Io=b.chrome.runtime.connect("ciiamoeghmklpofjbocenebdfbgjapaa");a.H=!0;a.Io.onDisconnect.addListener(function(){a.H=!1});document.addEventListener("mousemove",function(c){a.O=c.clientX;a.V=c.clientY})};
Eec.prototype.HA=function(a){if(this.W&&this.H){var b=_.w(a,_.kc,2)||new _.kc,c=_.w(a,_.wo,5)||new _.wo,d=_.w(a,_.cI,3)||new _.cI;a=_.zb(a,_.mza,1);a=_.m(a);for(var e=a.next();!e.done;e=a.next())this.Io.postMessage({detail:{impression:e.value.Ic(),session_info:b.Ic(),session_invariants:c.Ic(),client_info:d.Ic()}});document.dispatchEvent(new CustomEvent("ripple",{detail:{clientX:this.O,clientY:this.V}}))}};
var Fec=function(){_.po.call(this)};_.J(Fec,_.po);Fec.prototype.Iv=function(){return 1==_.x(_.w(this.H,uec,7),1)};var Gec=new _.lo("high_frequency_builder");
var Hec=function(a,b,c){a=new _.zi(a);c.Ja(a);var d=new _.nf(c);c.Ja(d);d.listen(a,"tick",b);a.start()};
var Iec=function(){_.po.call(this)};_.J(Iec,_.po);var Jec=function(a,b,c){var d=1E3*Date.now();if(0==b){b=new _.eo;var e=new _.Pya;e=_.u(e,1,d);_.E(b,1,e);_.u(b,3,1);_.E(a.H,8,b);_.u(a.H,12,c);_.u(a.H,13,c);_.u(a.H,4,d);_.u(a.H,3,c)}else 1==b&&(b=new _.eo,e=new _.Qya,d=_.u(e,1,d),_.E(b,2,d),_.u(b,3,2),_.E(a.H,8,b),_.u(a.H,12,c),_.u(a.H,3,c));return a},Kec=new _.lo("system_builder");
var Lec=function(a,b){_.L.call(this);this.O=a;this.H=new _.pec(b);this.Ja(this.H);this.Db=new _.nf(this);this.Ja(this.Db);this.H.Au()&&this.Db.listen(this.H,"visibilitychange",this.V)};_.J(Lec,_.L);Lec.prototype.V=function(){if(this.O.NP()){var a=this.H.NB()?102001:102E3;a=this.O.eG(a,0);this.O.Ko(a)}};
var Mec=function(a,b,c){c=void 0===c?!1:c;_.L.call(this);this.H=a;this.O=b;this.Ja(this.O);this.W=c;this.V=null};_.J(Mec,_.L);_.g=Mec.prototype;_.g.Ko=function(a){var b=this.H;_.u(a.H,6,b.W);a=a.build();b.H.add(a);b.V=!0;b=this.O;3<=b.H.H.$b()&&b.O.ne();return new zec(a)};_.g.eG=function(a,b){a=Jec(Nec(this.H,a),b,this.H.ha++);1==b&&this.H.ka.add(a);return a};_.g.PL=function(){return this.H.O};
_.g.Fw=function(a){var b=this.H,c=_.qo(a,Kec),d=b.ha++,e=_.w(_.w(c.H,_.eo,8),_.Qya,2),f=1E3*Date.now();_.u(e,2,f);_.u(c.H,13,d);b.ka.remove(_.x(a.H,12))};_.g.n_=function(){var a=this.O;if(!a.ha||a.H.V){var b=Oec(a.H,691).build();b=Pec(a.H,[b]);a.ka.HA(b)}a.W();this.H.ma=!1;this.V&&(_.ca(this.V),this.V=null)};_.g.o_=function(){var a=this.H,b=Oec(a,716);Qec(a,b);b=b.build();a.H.add(b);a.wa=!0;a.ma=!0;this.O.initialize();this.O.O.ne();this.W&&(this.V=new Lec(this))};_.g.E6=function(){this.O.W();return _.$H(Array.from(this.O.V)).then()};
_.g.NP=function(){var a=this.H;return a.wa&&a.ma&&!0};
var Rec=function(a,b,c,d,e){_.L.call(this);this.H=a;this.ta=b;this.ka=c;this.O=new _.bI(this.W,3E3,this);this.V=new Set;this.ha=d;this.ma=e||6E4};_.J(Rec,_.L);Rec.prototype.initialize=function(){Hec(this.ma,this.O.ne,this.O);Hec(36E5,this.wa,this)};Rec.prototype.W=function(){var a=this;if(0!=this.H.H.$b()&&(!this.ha||this.H.V)){var b=Sec(this.H),c=this.ta.HA(b);c&&(_.ai(c,function(){return void a.V.delete(c)}),this.V.add(c))}};
Rec.prototype.wa=function(){var a=this.H,b=Oec(a,1153).build();a.H.add(b);this.O.ne()};
var Tec=function(a){_.L.call(this);this.H=a;this.Ja(this.H)};_.J(Tec,_.L);_.g=Tec.prototype;_.g.Ko=function(a){a=this.H.Ko(a);this.E6();return a};_.g.eG=function(a,b){return this.H.eG(a,b)};_.g.PL=function(){return this.H.PL()};_.g.Fw=function(a){return this.H.Fw(a)};_.g.n_=function(){return this.H.n_()};_.g.o_=function(){return this.H.o_()};_.g.E6=function(){return this.H.E6()};_.g.NP=function(){return this.H.NP()};
var Uec=function(){};Uec.prototype.fR=function(){return new Fec};
var Vec=function(){this.H=[]};Vec.prototype.add=function(a){this.H.push(a)};Vec.prototype.$b=function(){return this.H.length};
var Wec=function(){this.H={}};Wec.prototype.add=function(a){this.H[_.x(a.H,12)]=a};Wec.prototype.remove=function(a){delete this.H[a]};
var Xec=function(a,b){this.O=a;this.Ba=b;this.ha=1;this.ta=this.W=null;this.ka=new Wec;this.H=new Vec;this.ma=this.wa=this.V=!1},Nec=function(a,b){a=_.qo((new _.po).initialize(new _.mza,a.Ba),Kec);_.u(a.H,10,b);return a},Sec=function(a){var b=a.H,c=b.H;b.H=[];return Pec(a,c)},Pec=function(a,b){var c=new _.sAa;var d=a.O.O.clone();c=_.E(c,2,d);d=a.O;(d=d.V?d.V.clone():null)&&_.E(c,5,d);var e;d=a.O;for(var f,h=b.length-1;0<=h;h--){var k=_.w(b[h],_.jo,5);if(k&&_.w(k,_.mec,1)){k=_.w(k,_.mec,1);_.lj(k,
12)&&void 0===e&&(e=_.P(k,12));k=_.w(k,vec,20);if(void 0!==k&&void 0===f){f=new Cec;var l=_.P(k,2);void 0!==l&&_.u(f,2,l);k=_.P(k,1);void 0!==k&&_.u(f,1,k)}if(void 0!==e&&void 0!==f)break}}d=d.H?d.H.clone():null;if(void 0!==e||void 0!==f)d||(d=new _.cI),void 0!==e&&_.u(d,6,e),void 0!==f&&_.E(d,13,f);(e=d)&&_.E(c,3,e);a=a.O.ha.clone();_.E(c,4,a);_.sj(c,1,b);return c},Oec=function(a,b){var c=Jec(Nec(a,b),0,a.ha++);var d=a.ka;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],p=new yec;k=_.u(p,1,k);l=_.u(k,2,_.x(l.H,10));f.push(l)}d=f}716!=b&&(b=a.ta,_.u(c.H,6,a.W),e=new xec,b=_.u(e,1,b),d&&_.sj(b,2,d),d=_.ro(c),_.E(d,3,b));Qec(a,c);return c},Qec=function(a,b){a.W=_.x(b.H,12);a.ta=_.x(_.w(_.w(b.H,_.eo,8),_.Pya,1),1)};
var Yec=function(){};Yec.prototype.fR=function(){return new Iec};
var Zec=function(){this.H=this.O=null};Zec.prototype.build=function(){null==this.H&&(this.H=new _.Pza);_.to(this.H,Kec,new Yec);_.to(this.H,Gec,new Uec);var a=this.H;var b=this.O;if(!_.lj(_.$ec(b),1)){var c=_.$ec(b),d=new _.eAa;_.E(c,1,d)}b=_.w(_.$ec(b),_.eAa,1);a.H=b;b=_.Wa(a.O);for(c=0;c<b.length;c++)b[c].O(a.H);return new Xec(this.O,this.H)};
var afc=function(){this.O=new _.kc;this.V=null;this.ha=new Bec;_.u(this.ha,1,6);this.H=this.W=null};afc.prototype.setSessionId=function(a){this.O.setSessionId(a);return this};_.bfc=function(a,b){_.u(a.O,2,b);return a};_.cfc=function(a,b){if(null==a.W){a.W=new _.qAa;var c=_.$ec(a);_.E(c,2,a.W)}_.u(a.W,1,b)};_.$ec=function(a){null==a.V&&(a.V=new _.wo);return a.V};_.dfc=function(a){null==a.H&&(a.H=new _.cI);return a.H};
_.efc=function(){this.H=this.ha=null;this.W=new afc;this.V=null;this.ka=this.ma=!1;this.O=null};_.ffc=function(a,b){a.ha=b;return a};_.gfc=function(a,b){a.H=b;return a};_.hfc=function(a,b){a.V=b;return a};_.efc.prototype.setSessionId=function(a){this.W.setSessionId(a);return this};_.ifc=function(a,b){_.u(a.W.O,6,b);return a};
_.efc.prototype.build=function(){var a=new Zec;a.O=this.W;null!=this.V&&(a.H=this.V);a=a.build();if(this.ka){var b=new Eec;this.H=this.ha=b}b=new Rec(a,this.ha,this.H,this.ma,this.O);a=new Mec(a,b,!1);this.ka&&(a=new Tec(a));return a};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1fx");

_.dI=function(a){return _.Q(a,84,!1)};
_.jfc=function(a){_.I.call(this,a)};_.J(_.jfc,_.I);
_.eI=function(a){_.I.call(this,a)};_.J(_.eI,_.I);_.eI.prototype.getOptions=function(){return _.w(this,_.jfc,1)};_.eI.prototype.Xn=function(){return _.x(this,2)};_.eI.prototype.jd=function(){return _.w(this,_.Df,3)};
_.kfc=function(a){_.I.call(this,a)};_.J(_.kfc,_.I);_.fI=[3,4,5,6,7,8,9,10];
_.lfc=new Map([[157,"categoryReferences"],[5,"hidden"]]);
var ofc;_.mfc={drive:1,appDataFolder:2,photos:3,androidBackup:4};_.nfc=_.db(_.mfc);ofc={};_.pfc=(ofc[0]="UNSPECIFIED_FEEDBACK",ofc[1]="IMPLICIT_REJECT",ofc[2]="NOT_HELPFUL_RIGHT_NOW",ofc);
var gI,rfc;gI={};_.qfc=(gI[1]="modifiedDate",gI[2]="modifiedByMeDate",gI[3]="quotaBytesUsed",gI[4]="title",gI[6]="lastViewedByMeDate",gI[10]="createdDate",gI[7]="sharedWithMeDate",gI[9]="starred",gI[11]="recency",gI[5]="relevance",gI[12]="trashedDate",gI[13]="lastViewedByMeDate",gI);rfc={};_.sfc=(rfc[1]="asc",rfc[2]="desc",rfc);
var tfc,vfc;tfc={};_.ufc=(tfc[1]="0",tfc[2]="1",tfc[3]="2",tfc);vfc={};_.wfc=(vfc[1]="asc",vfc[2]="desc",vfc);
_.xfc=new _.lo("drive_dataservice_builder");
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.yfc=_.Hg&&0>_.gb(_.Kg,"533");
_.zfc=new _.Aec("drive_dataservice_invariants");
_.Afc=new Map([[[1],1],[[6],7],[[2],2]]);_.Bfc=new Map([[[1],3],[[2],4],[[3],5],[[4],6],[[5],7],[[6],8],[[10],12],[[7],9],[[8],10],[[9],11]]);
_.Cfc=new Map([[12,function(a){return _.P(a,69)}],[24,function(a){return _.Q(a,3,!1)}],[9,function(a){return _.Q(a,17,!1)}],[21,function(a){return _.dI(a)}],[13,function(a){return _.P(a,60)}],[2,function(a){return _.Q(a,8,!0)}],[6,function(a){return _.Q(a,11,!1)}],[14,function(){return!0}],[16,function(a){return _.Q(a,56,!1)}],[17,function(a){return _.Q(a,57,!1)}],[18,function(a){return _.Q(a,54,!1)}],[19,function(a){return _.Q(a,53,!1)}],[23,function(){return!0}],[28,function(){return!0}]]);
_.Dfc=new Map([[34,function(a){return _.Q(a,9,!1)}],[25,function(a){return _.Q(a,1,!1)}],[33,function(a){return _.Q(a,8,!1)}],[26,function(a){return _.Q(a,2,!1)}],[29,function(a){return _.Q(a,4,!1)}],[32,function(a){return _.Q(a,7,!1)}],[40,function(a){return _.Q(a,15,!1)}],[43,function(a){return _.Q(a,18,!1)}],[42,function(a){return _.Q(a,17,!1)}],[44,function(a){return _.Q(a,19,!1)}],[45,function(a){return _.Q(a,20,!1)}],[30,function(a){return _.Q(a,5,!1)}],[31,function(a){return _.Q(a,6,!1)}],
[35,function(a){return _.Q(a,10,!1)}],[38,function(a){return _.Q(a,13,!1)}],[39,function(a){return _.Q(a,14,!1)}],[41,function(a){return _.Q(a,16,!1)}],[46,function(a){return _.Q(a,21,!1)}]]);_.Efc=new Map([[[1],1],[[2],2],[[3],3],[[4],4],[[5],5]]);
_.Ffc=new Map([[[3,4,5,6,8],3],[[1],1],[[15],15],[[2],2],[[7],4],[[9],5],[[10],6],[[11],7],[[16],16],[[12],8],[[13],9],[[14],10],[[200],200],[[201],201],[[202],202],[[203],203],[[204],204],[[205],205],[[206],206],[[207],207],[[208],208],[[209],209],[[210],210],[[211],211],[[212],212],[[213],213],[[214],214],[[215],215],[[216],216],[[217],217],[[218],218],[[219],219],[[220],220],[[221],221],[[222],222],[[223],223],[[224],224],[[225],225],[[226],226],[[227],227],[[228],228],[[229],229],[[230],230],
[[231],231],[[232],232],[[233],233],[[234],234],[[235],235],[[236],236],[[237],237],[[238],238],[[239],239],[[240],240],[[241],241],[[242],242],[[251],251],[[243],243],[[244],244],[[245],245],[[246],246],[[247],247],[[248],248],[[249],249],[[250],250],[[252],252],[[253],253],[[254],254],[[255],255],[[256],256],[[257],257],[[258],258]]);_.Gfc=new Map([[[2],3],[[1],2],[[0],1]]);_.Hfc=new Map([[[0],1],[[1],2],[[3],3],[[5],4],[[6],5]]);
_.Ifc=new Map([[[_.Lcc],1],[[_.Mcc],2],[[_.Ncc],3],[[_.Occ],4],[[_.Pcc],5],[[_.Qcc],6],[[_.Rcc],7],[[_.Scc],8],[[_.Tcc],10],[[_.Ucc],11],[[_.Vcc],12],[[_.Wcc],13]]);_.Jfc=new Map([[[0],1],[[1],2],[[2],3],[[3],4],[[4],5],[[5],6],[[6],7]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g2");

_.hI=function(a){_.I.call(this,a,-1,Kfc)};_.J(_.hI,_.I);_.hI.prototype.qc=function(){return _.x(this,2)};_.iI=function(a,b){return _.u(a,2,b)};_.g=_.hI.prototype;_.g.Tk=function(){return _.Q(this,3,!1)};_.g.getItem=function(){return _.w(this,_.Bk,4)};_.g.setItem=function(a){return _.E(this,4,a)};_.g.uc=function(){return _.x(this,7)};_.g.Mka=function(){return _.x(this,13)};_.g.hJa=function(a){_.u(this,13,a)};var Kfc=[8,17];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gg");

var Lfc;Lfc="Y Z E P T G M K  m u n".split(" ");_.Mfc=function(a,b){var c=a;a=c;var d="",e=1;0>c&&(c=-c);if(Infinity===c)b=(Infinity*Math.sign(a)).toString();else{for(var f=0;f<Lfc.length;f++){var h=Lfc[f];e=_.Wva[h];if(c>=e||1>=e&&c>.1*e){d=h;break}}d||(e=1);b=Math.pow(10,void 0!==b?b:2);b=Math.round(a/e*b)/b+""+d}return b};_.Nfc=function(a){return _.ge().get(a,16,void 0)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gu");

_.jI=function(a){return a instanceof Error};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g1");

var Qfc;_.mI=function(a){if(a instanceof _.Tc)return a;if(_.jI(a)){if(a=_.Yca(a))return a}else a="string"===typeof a?_.FEa(a):_.FEa("Converting an unexpected reason type to drive.ds.Error which should be drive.ds.Error, Error, or string. Found:"+a);_.kI(a,2);_.lI(a,6);return a};_.Ofc=function(a){var b=a.Uj();a=a.bG();return 15===b||32===b||33===b||401===a};_.Pfc=function(){return _.aa.WorkerGlobalScope&&self instanceof _.aa.WorkerGlobalScope};_.nI=function(a){return _.Bj(a,1,0)};
_.kI=function(a,b){return _.u(a,1,b)};_.lI=function(a,b){return _.u(a,2,b)};Qfc=[8,9,10,13,14,27,28,29,31,32,33,34,38];_.oI=function(a){_.I.call(this,a,-1,Qfc)};_.J(_.oI,_.I);_.g=_.oI.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.yf=function(){return _.x(this,3)};_.g.fl=function(a){return _.u(this,3,a)};_.g.Zv=function(a){return _.u(this,4,a)};
_.g.Nh=function(){return _.P(this,5)};_.g.Mn=function(a){return _.u(this,5,a)};_.g.getMimeType=function(){return _.x(this,6)};_.g.KE=function(a,b){_.vj(this,8,a,b)};_.g.Li=function(){return _.x(this,12)};_.g.se=function(){return _.w(this,_.Pf,17)};_.g.jj=function(){return _.x(this,20)};_.g.uc=function(){return _.x(this,21)};_.pI=function(a,b){return _.u(a,16,b)};
_.qI=function(a){_.I.call(this,a,-1,Rfc)};_.J(_.qI,_.I);_.qI.prototype.qR=function(){return _.Bj(this,2,100)};_.qI.prototype.XO=function(a){return _.u(this,2,a)};_.qI.prototype.se=function(){return _.w(this,_.Pf,6)};_.qI.prototype.uc=function(){return _.x(this,8)};var Rfc=[5];
_.Sfc=new Map([[1,"connected"],[2,"unauthenticated/online"],[3,"offline"]]);
var Tfc;Tfc={};_.Ufc=(Tfc[0]="/drive/v2internal",Tfc[1]="/drive/v2internal.corp",Tfc[2]="/drive/v2internal.scary",Tfc[4]="/drive/v2internal.scary",Tfc[5]="/drive/v2beta",Tfc[6]="/drive/v2.1beta",Tfc);
_.Vfc=new Set([0,1,2,3]);
_.Wfc=_.u(new _.oI,15,!0);_.Xfc=_.pI(new _.oI,!0);_.Yfc=_.pI(new _.oI,!1);
_.Zfc=new Map([["CacheSize","Number of items currently in the in-memory cache."],["SecondaryFields","List of secondary fields"],["CachedCorpusType","Type of corpus cached (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."]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gd");

_.$fc=new Set([7,4,5,9,6,10,11,12]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gv");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.agc=function(a){a=_.lb(a);return 0===a.length?_.Dia:new _.Pg(a,_.Bia)};_.bgc=function(a,b,c){this.blockSize=-1;this.H=a;this.blockSize=c||a.blockSize||16;this.V=Array(this.blockSize);this.O=Array(this.blockSize);a=b;a.length>this.blockSize&&(this.H.update(a),a=this.H.digest(),this.H.reset());for(c=0;c<this.blockSize;c++)b=c<a.length?a[c]:0,this.V[c]=b^92,this.O[c]=b^54;this.H.update(this.O)};_.mg(_.bgc,_.Ecc);_.bgc.prototype.reset=function(){this.H.reset();this.H.update(this.O)};
_.bgc.prototype.update=function(a,b){this.H.update(a,b)};_.bgc.prototype.digest=function(){var a=this.H.digest();this.H.reset();this.H.update(this.V);this.H.update(a);return this.H.digest()};_.cgc=function(a,b){a.reset();a.update(b);return a.digest()};
_.dgc=function(){this.blockSize=-1;this.blockSize=64;this.H=[];this.ha=[];this.ka=[];this.W=[];this.W[0]=128;for(var a=1;a<this.blockSize;++a)this.W[a]=0;this.V=this.O=0;this.reset()};_.mg(_.dgc,_.Ecc);_.dgc.prototype.reset=function(){this.H[0]=1732584193;this.H[1]=4023233417;this.H[2]=2562383102;this.H[3]=271733878;this.H[4]=3285377520;this.V=this.O=0};
var egc=function(a,b,c){c||(c=0);var d=a.ka;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.H[0];c=a.H[1];var h=a.H[2],k=a.H[3],l=a.H[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=k^c&(h^k);var p=1518500249}else f=c^h^k,p=1859775393;else 60>e?(f=c&h|k&(c|h),p=2400959708):
(f=c^h^k,p=3395469782);f=(b<<5|b>>>27)+f+l+p+d[e]&4294967295;l=k;k=h;h=(c<<30|c>>>2)&4294967295;c=b;b=f}a.H[0]=a.H[0]+b&4294967295;a.H[1]=a.H[1]+c&4294967295;a.H[2]=a.H[2]+h&4294967295;a.H[3]=a.H[3]+k&4294967295;a.H[4]=a.H[4]+l&4294967295};
_.dgc.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.blockSize,d=0,e=this.ha,f=this.O;d<b;){if(0==f)for(;d<=c;)egc(this,a,d),d+=this.blockSize;if("string"===typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.blockSize){egc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.blockSize){egc(this,e);f=0;break}}this.O=f;this.V+=b}};
_.dgc.prototype.digest=function(){var a=[],b=8*this.V;56>this.O?this.update(this.W,56-this.O):this.update(this.W,this.blockSize-(this.O-56));for(var c=this.blockSize-1;56<=c;c--)this.ha[c]=b&255,b/=256;egc(this,this.ha);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.H[c]>>d&255,++b;return a};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1fy");

_.rI=function(a,b){return _.u(a,82,b)};_.sI=function(a){return _.u(a,3,!0)};_.fgc=function(a,b){return _.u(a,7,b)};
_.ggc=new Map([[1,6],[2,6],[3,6],[9,6],[4,2],[8,2],[6,7],[7,8]]);
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.tI={R_:"Versions",A7:"Metadata",n6:"Data",IU:"Offline"};_.hgc=new Map([[_.tI.R_,"versionKey"],[_.tI.A7,"k"]]);_.igc=new Set([1004]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gx");

/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
_.jgc=function(a,b,c){c&&(a=_.jh(a));a.length>b&&(a=a.substring(0,b-3)+"...");c&&(a=_.ih(a));return a};_.uI=function(){return"goog_"+_.qja++};_.kgc=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};
_.vI=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};_.vI.prototype.clone=function(){return new _.vI(this.start,this.end)};_.wI=function(a){return a.end-a.start};
_.lgc=function(a,b,c){void 0===c&&(c=a.size);return a.slice?a.slice(b,c):null};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1ge");

_.mgc=function(a){_.I.call(this,a)};_.J(_.mgc,_.I);_.g=_.mgc.prototype;_.g.getKey=function(){return _.x(this,1)};_.g.ot=function(){return _.lj(this,1)};_.g.Ya=function(){return _.x(this,2)};_.g.Hb=function(a){return _.u(this,2,a)};_.g.Bi=function(){return _.wb(this,2)};_.g.Og=function(){return _.lj(this,2)};
_.xI=function(a){_.I.call(this,a,-1,ngc)};_.J(_.xI,_.I);_.xI.prototype.Zz=function(){return _.x(this,1)};_.xI.prototype.getUrl=function(){return _.x(this,3)};var ngc=[2,4,6];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gy");

var rgc,tgc,vgc;_.ogc=function(a){var b={};_.Ra(a,function(c,d){b[d.toLowerCase()]=c});return b};_.pgc=function(a){return(a=a&&_.ogc(a))&&a["x-guploader-uploadid"]};_.qgc=function(a){return(a=a&&_.ogc(a))&&a["x-google-trace"]};rgc=[6];_.yI=function(a){_.I.call(this,a,-1,rgc)};_.J(_.yI,_.I);_.zI=function(a,b){return _.u(a,14,b)};
_.ugc=function(a,b,c,d,e,f,h,k,l){l=void 0===l?!1:l;if(!_.sgc(a))return null;e=tgc(e)||new _.Tc;_.u(e,8,!0);k&&(k=_.Zi(new _.Yi(k),void 0).toString(),_.u(e,19,k));e.bG()||_.u(e,15,a||f);e.getMessage()||_.Gp(e,["HTTP status code: "+a,"HTTP status text: "+b,"XHR error code: "+f,"XHR error text: "+h].join(", "));_.x(e,4)||_.Hp(e,d);e.Uj()||(5===f?_.zI(e,7):0!==a||d?403===a?_.zI(e,22):503===a||429===a?_.zI(e,24):(_.wb(e,14),_.u(e,10,1),_.u(e,8,!0)):l||_.zI(e,2));e.mda(_.pgc(c));e.cda(_.qgc(c));return e};
tgc=function(a){if(!_.Ea(a))return null;var b=new _.Tc,c=a.error;if(!c)return _.Hp(b,JSON.stringify(a)),null;_.u(b,15,c.code);_.Gp(b,c.message);a=c.errors&&c.errors[0];if(!a)return b;c=a.reason;var d=vgc[c];d?_.u(b,10,d):c&&!d&&_.u(b,10,2);(a=a.debugInfo)&&_.Hp(b,a);return b};_.sgc=function(a){return 200===a||204===a||308===a||206===a?!1:!0};
vgc={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,expiredMoveValidationToken:66,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,tooManySourceIdsForMove:65,tooManyUnmovableFiles:54,transientError:13,userCannotCreateFileForMimeType:51,userRateLimitExceeded:7,richContentLimitExceeded:55,numChildrenLimitExceeded:56,
sharedDriveInitializationInProgress:68,shortcutLimitExceeded:57,shortcutPerCreatorLimitExceeded:58,simultaneousPreflightLimitExceeded:67,mimeTypeSizeExceeded:60,onlyCriticalWritesAllowed:61,wrappedKeyExceededLimit:62,permissionDenied:69};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g5");

var wgc,xgc,Bgc,Fgc,Ggc,Hgc,Igc,Jgc,ahc,xJ,bhc,chc,jhc,phc,Bhc,Cgc,Yhc,$hc,bic,dic,zic,Aic,Eic,Fic,Gic,Hic,Jic,UJ,WJ,Nic,Oic,Ric,Sic,Tic,Uic,Vic,Wic,Zic,ajc,bjc,tjc,xjc,zjc,Ajc,Bjc,Gjc,Jjc,qhc,Rjc,Sjc,Njc,Tjc,Ojc,Vjc,Wjc,bkc,akc,$jc,Yjc,Zjc,Ugc,Vgc,dhc,ckc,ehc,fhc,ghc,hhc,ihc,dkc,fkc;_.AI=function(a){for(var b=[],c=0;c<arguments.length;++c)b[c]=arguments[c];return function(d){return b.some(function(e){return e(d)})}};
_.BI=function(a,b,c){var d=new _.Tc,e=_.Fka(_.BI);_.u(d,20,e);_.lI(d,a);_.kI(d,b?b:2);c&&_.zI(d,c);return d};_.CI=function(a){var b;a instanceof _.Tc?b=new _.Uc(null,a):_.jI(a)?b=a:b=_.aa.ErrorEvent&&a instanceof ErrorEvent?a.error instanceof Error?a.error:Error(a.message):"string"===typeof a?Error(a):Error("xb`"+a);b.stack||(b.stack=_.Fka(_.CI));return b};wgc=function(a){return 7===a.Uj()||24===a.Gp()&&(a=a.bG(),503===a||429===a)?!0:!1};xgc=function(a,b){return b?b+"("+a+")":a};
_.DI=function(a,b,c){var d={},e=[];b&&e.push("kind");a.wCb&&e.push("searchResultSource");a.fields.forEach(function(p){if(!_.ygc.includes(p)){var q=_.gdb.get(p);if(q){var r=_.jdb[p];a.YE&&r&&(q=r);a.anonymous&&(a.YE?(p=_.idb[p])&&(q=p):(p=_.hdb[p])&&(q=p));q.split(",").forEach(function(v){var z=_.uja(v,"/",1);1<z.length?(d[z[0]]||(d[z[0]]=[]),d[z[0]].push(z[1])):e.push(v)})}}});for(var f={},h=_.m(Object.entries(d)),k=h.next();!k.done;f={g6:f.g6},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;
f.g6=[];l.forEach(function(p){return function(q){p.g6.push(q)}}(f));"owners"==k&&b&&f.g6.push("kind");e.push(xgc(f.g6.join(","),k))}return xgc(e.join(","),c)};_.zgc=function(a){var b=new _.so;b.append(_.DI(a,!0));return b.toString()};_.Agc=function(a,b){return a.filter(function(c){return b.includes(c)})};Bgc=function(a){a=a.filter(function(b){return!_.gdb.has(b)});if(a.length)throw Error("Zc`"+a.join(", "));};
_.Egc=function(a){if(a){var b=a.getMimeType();b&&_.UF(a,b.toLowerCase());Cgc(a,_.zb(a,Dgc,58).map(function(c){var d=c.getMimeType();d&&_.u(c,1,d.toLowerCase());return c}))}};Fgc=function(a,b){a=_.m(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;_.ej(b,c,d)}};Ggc=function(a,b){b&&Fgc({openDrive:!!_.Q(b,2,!1),reason:_.x(b,1)||0,syncType:_.x(b,3)||0,errorRecovery:!!_.Q(b,4,!1)},a)};Hgc=function(a){return 10>a?"0"+a:""+a};
Igc=function(a){if(_.Za(a))return"\r\n";var b="";_.Ra(a,function(c,d){b+=d+": "+c+"\r\n"});return b};Jgc=function(a){a=_.Gp(_.zI(_.kI(new _.Tc,2),39),"Multiple resource key definitions found for itemId "+a);throw _.Yc(a);};
ahc=function(a){if(a instanceof _.EI)return"request access";if(a instanceof _.FI)return"admin migrate to TD";if(a instanceof _.GI)return"authorize app";if(a instanceof _.HI)return"copy item";if(a instanceof _.II)return"change category links";if(a instanceof _.JI)return"create item";if(a instanceof _.KI)return"create ws";if("undefined"!=typeof _.LI&&a instanceof _.LI)return"delete app";if("undefined"!=typeof _.MI&&a instanceof _.MI)return"delete backup";if(a instanceof _.NI)return"delete item";if("undefined"!=
typeof _.OI&&a instanceof _.OI)return"delete permission";if(a instanceof _.PI)return"delete revision";if(a instanceof _.QI)return"delete TD";if(a instanceof _.gD)return"delete pref";if(a instanceof _.RI)return"delete ws";if(a instanceof _.SI)return"download item";if(a instanceof _.TI||a instanceof _.UI)return"empty trash";if(a instanceof _.VI)return"find by ID";if(a instanceof _.NF)return"find by IDs";if(a instanceof _.Kgc)return"item export start";if("undefined"!=typeof _.WI&&a instanceof _.WI)return"get app";
if("undefined"!=typeof _.XI&&a instanceof _.XI)return"insert app";if("undefined"!=typeof _.YI&&a instanceof _.YI)return"insert permission";if(a instanceof _.eI)return a=a.jd(),_.ZI(a)?"quick access item query":_.$I(a)?"people predict item query":_.aJ(a)?"drive priority query":"item query";if("undefined"!=typeof _.bJ&&a instanceof _.bJ)return"list android backup items request";if(a instanceof _.cJ){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 _.Lgc&&a instanceof _.Lgc?"list backups":a instanceof _.qI?"list changes":a instanceof _.dJ?"list permissions":"undefined"!=typeof _.eJ&&a instanceof _.eJ?"list revisions":a instanceof _.fJ?"migrate to shared drive":a instanceof _.gJ?"partial download item":a instanceof _.hJ?"people api":a instanceof _.MF?"get published category":"undefined"!=typeof _.iJ&&a instanceof _.iJ?"get remaining changes":
a instanceof _.jJ?"remove item":"undefined"!=typeof _.oJ&&a instanceof _.oJ?"reparent item":a instanceof _.pJ?"restore item":a instanceof _.RF?"list suggested workspace items":a instanceof _.Uz?"list suggested workspaces":"undefined"!=typeof _.qJ&&a instanceof _.qJ?"update app":a instanceof _.rJ?"update category metadata":a instanceof _.oI?"update item":a instanceof _.sJ?"update revision":a instanceof _.tJ?"update TD":a instanceof _.hD?"update pref":a instanceof _.uJ?"update ws":a instanceof _.WH?
"get account":a instanceof _.TF?"get workspace":a instanceof _.Mgc?"list activity":a instanceof _.Ngc?"list category metadata":a instanceof _.Ogc?"create TD":"undefined"!=typeof _.Pgc&&a instanceof _.Pgc?"item export cancel":"undefined"!=typeof _.Qgc&&a instanceof _.Qgc?"item export status":"undefined"!=typeof _.Rgc&&a instanceof _.Rgc?"generate cse token":"undefined"!=typeof _.Sgc&&a instanceof _.Sgc?"get largest change ID":a instanceof _.fD?"list prefs":a instanceof _.vJ?"multipart upload":a instanceof
_.Tgc?"list published categories":a instanceof Ugc?"init resumable upload":a instanceof Vgc?"resumable upload chunk":a instanceof _.Wgc?"resumable upload":a instanceof _.SF?"get TD":"undefined"!=typeof _.Xgc&&a instanceof _.Xgc?"move TD preflight":a instanceof _.wJ?"list TDs":"undefined"!=typeof _.Ygc&&a instanceof _.Ygc?"get TD stats":a instanceof _.Zgc?"test connection":"undefined"!=typeof _.$gc&&a instanceof _.$gc?"list workspaces":"unknown"};
xJ=function(a,b,c){null!=c&&(Array.isArray(c)?0<c.length&&a.push(b+": "+c.join(", ")):a.push(b+": "+c))};bhc=function(a){if(a instanceof _.JI||a instanceof _.vJ||a instanceof _.Wgc||a instanceof Ugc||a instanceof Vgc)return(new _.yJ).Bc(8);throw Error("nf");};chc=function(a){if(a instanceof _.oI){var b=_.rj(_.wb(a.clone(),1),17);b=_.Aj(b,_.Wfc)}else b=!1;b||(a instanceof _.oI?(a=_.rj(_.wb(a.clone(),1),17),b=_.Aj(a,_.Xfc)||_.Aj(a,_.Yfc)):b=!1);return b?!1:!0};
_.zJ=function(a){return dhc.includes(a.constructor)?chc(a):!1};
jhc=function(a,b){var c;if(ehc.includes(a.constructor))return!0;if(b){if(_.Q(b,54,!1)&&fhc.includes(a.constructor))return!0;var d=_.AJ(b);if(d&&!_.Q(d,7,!1)&&ghc.includes(a.constructor)&&!_.BJ(a)||_.Q(b,56,!1)&&_.BJ(a)||_.Q(b,57,!1)&&hhc.includes(a.constructor)||!(!_.Q(b,53,!1)||fhc.includes(a.constructor)||ghc.includes(a.constructor)||_.BJ(a)||hhc.includes(a.constructor)||ihc.includes(a.constructor))||(null===(c=_.AJ(b))||void 0===c?0:_.Q(c,20,!1))&&a.constructor===_.hJ)return!0}return!1};
phc=function(a,b){var c,d={};_.Re(_.ph(a.getTitle()))||(_.x(a,12)?d.originalFilename=a.getTitle():d.title=a.getTitle());if(a.getMimeType()&&(d.mimeType=a.getMimeType(),a.qc()&&_.Bfa(a.getMimeType())&&b)){var e=b.O$(),f=b.H(),h={encryptionState:"encrypted"};h.decryptionMetadata={wrappedKey:_.kj(b.V()),kaclsId:null!==(c=b.wa())&&void 0!==c?c:void 0,aes256GcmChunkSize:khc[e?e.H():0],keyFormat:lhc[f?f.H():0]};d.clientEncryptionDetails=h}_.mhc(d,_.oe(a,3));if(b=a.qc())d.id=b;_.x(a,16)&&(d.embeddingParent=
_.x(a,16));a.n2()&&(d.shortcutDetails={targetId:a.n2()});"number"===typeof _.x(a,26)&&(d.modifiedDate=_.nhc(_.ohc(_.x(a,26)||0)));return d};_.mhc=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)}}};
_.CJ=function(a,b,c,d,e){if(_.Q(a,89,!1)){if(c&&c.length&&d){c=b.concat(qhc(d,c));var f=void 0===f?!1:f;a=new Map;b=[];c=_.m(c);for(d=c.next();!d.done;d=c.next()){d=d.value;var h=d.getId();a.has(h)?f&&a.get(h)!==_.cl(d)&&Jgc(h):(a.set(h,_.cl(d)),b.push(d))}f=b}else f=b;f.length&&(f=_.yA(f),f.length&&(e["X-Goog-Drive-Resource-Keys"]=f))}};_.rhc=function(a){var b=new _.nk;return _.u(b,1,a)};_.shc=function(a,b){return _.u(a,7,b)};_.thc=function(a,b){return _.u(a,8,b)};
_.uhc=function(a,b){return _.u(a,11,b)};_.vhc=function(a,b){return _.u(a,16,b)};_.DJ=function(a){_.I.call(this,a)};_.J(_.DJ,_.I);_.whc=function(a){_.I.call(this,a)};_.J(_.whc,_.I);var Dgc=function(a){_.I.call(this,a)};_.J(Dgc,_.I);Dgc.prototype.getMimeType=function(){return _.x(this,1)};Dgc.prototype.getUrl=function(){return _.x(this,2)};_.EJ=function(a){_.I.call(this,a)};_.J(_.EJ,_.I);_.EJ.prototype.Ce=function(){return _.x(this,2)};_.EJ.prototype.lh=function(a){return _.u(this,2,a)};
_.EJ.prototype.yh=function(a){return _.u(this,3,a)};_.xhc=function(a){_.I.call(this,a)};_.J(_.xhc,_.I);_.yhc=function(a,b){return _.u(a,1,b)};_.zhc=function(a,b){return _.sj(a,2,b)};_.Ahc=function(a,b){return _.sj(a,3,b)};Bhc=[2];_.FJ=function(a){_.I.call(this,a,-1,Bhc)};_.J(_.FJ,_.I);_.FJ.prototype.yf=function(){return _.x(this,1)};_.FJ.prototype.fl=function(a){return _.u(this,1,a)};_.FJ.prototype.Mva=function(a,b){return _.vj(this,2,a,b)};_.GJ=function(a){_.I.call(this,a)};_.J(_.GJ,_.I);
_.GJ.prototype.Ce=function(){return _.x(this,1)};_.GJ.prototype.lh=function(a){return _.u(this,1,a)};_.GJ.prototype.yh=function(a){return _.u(this,2,a)};_.HJ=function(a,b){return _.qj(a,2,b)};_.Chc=function(a,b){return _.sj(a,15,b)};_.Dhc=function(a,b){return _.E(a,17,b)};_.Ehc=function(a,b){return _.u(a,19,b)};_.Fhc=function(a,b){_.u(a,34,b)};_.Ghc=function(a,b){_.E(a,47,b)};_.Hhc=function(a,b){return _.u(a,52,b)};Cgc=function(a,b){_.sj(a,58,b)};_.Ihc=function(a,b){return _.u(a,72,b)};
_.IJ=function(a,b){return _.E(a,84,b)};_.Jhc=function(a,b){_.E(a,85,b)};_.Khc=function(a,b){_.E(a,91,b)};_.Lhc=function(a,b){return _.u(a,92,b)};_.Mhc=function(a,b){return _.u(a,93,b)};_.Nhc=function(a,b){_.E(a,95,b)};_.Ohc=function(a,b){return _.u(a,136,b)};_.Phc=function(a){_.I.call(this,a)};_.J(_.Phc,_.I);_.JJ=function(a){return _.Q(a,2,!1)};_.Qhc=function(a){_.I.call(this,a)};_.J(_.Qhc,_.I);var Rhc=[3],Shc=function(a){_.I.call(this,a,-1,Rhc)};_.J(Shc,_.I);
Shc.prototype.wi=function(){var a=_.oe(this,3,!1);this.ka||(this.ka={});if(!this.ka[3]){for(var b=0;b<a.length;b++)a[b]=!!a[b];this.ka[3]=!0}_.pb(this)&&_.qb(a);return a};Shc.prototype.tn=function(a){return _.qj(this,3,a)};var Thc=[3],Uhc=function(a){_.I.call(this,a,-1,Thc)};_.J(Uhc,_.I);Uhc.prototype.wi=function(){return _.oe(this,3)};Uhc.prototype.tn=function(a){return _.qj(this,3,a)};var Vhc=[3],Whc=function(a){_.I.call(this,a,-1,Vhc)};_.J(Whc,_.I);
Whc.prototype.wi=function(){return _.oe(this,3)};Whc.prototype.tn=function(a){return _.qj(this,3,a)};_.KJ=function(a){_.I.call(this,a)};_.J(_.KJ,_.I);_.KJ.prototype.Ya=function(){return _.x(this,1)};_.KJ.prototype.Hb=function(a){return _.u(this,1,a)};_.KJ.prototype.Bi=function(){return _.wb(this,1)};_.KJ.prototype.Og=function(){return _.lj(this,1)};_.LJ=function(a){return _.oj(a,45,1)};_.ZI=function(a){return _.Q(a,47,!1)};_.$I=function(a){return _.Q(a,49,!1)};_.aJ=function(a){return _.Q(a,52,!1)};
_.MJ=function(a){return _.y(a,2,"")};_.AJ=function(a){return _.w(a,_.Qhc,4)};_.Xhc=function(a,b){return _.qj(a,27,b)};_.NJ=function(a){return _.oj(a,39,0)};_.OJ=function(a){return _.Q(a,40,!1)};_.nhc=function(a){return _.ct.prototype.hP.call(a,!0)+"T"+_.nh(a.getHours(),2)+":"+_.nh(a.getMinutes(),2)+":"+_.nh(a.getSeconds(),2)+a.N$()};Yhc=function(a,b){return _.adc(a,"getAllKeys","getting all keys index "+a.getName(),b,void 0)};
_.Zhc=function(a,b){try{a.H.deleteObjectStore(b)}catch(c){throw _.MH(c,"deleting object store "+b);}};$hc=function(){var a=new _.efc;a.O=12E4;a.ma=!0;return a};_.aic=function(a){_.I.call(this,a)};_.J(_.aic,_.I);bic=[3,4,10,18,19,28];_.JI=function(a){_.I.call(this,a,-1,bic)};_.J(_.JI,_.I);_.g=_.JI.prototype;_.g.getMimeType=function(){return _.x(this,1)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.KE=function(a,b){_.vj(this,3,a,b)};
_.g.se=function(){return _.w(this,_.Pf,7)};_.g.ij=function(){return _.x(this,9)};_.g.uc=function(){return _.x(this,14)};_.g.Sz=function(){return _.w(this,_.aic,15)};_.g.n2=function(){return _.x(this,21)};_.g.qc=function(){return _.x(this,23)};_.g.Ui=function(){return _.x(this,33)};_.PJ=function(a,b){return _.u(a,1,b)};_.QJ=function(a,b){return _.qj(a,3,b)};_.cic=function(a,b){return _.u(a,12,b)};_.NI=function(a){_.I.call(this,a)};_.J(_.NI,_.I);_.NI.prototype.getId=function(){return _.x(this,1)};
_.NI.prototype.Nb=function(a){return _.u(this,1,a)};_.NI.prototype.se=function(){return _.w(this,_.Pf,3)};_.QI=function(a){_.I.call(this,a)};_.J(_.QI,_.I);_.QI.prototype.getId=function(){return _.x(this,1)};_.QI.prototype.Nb=function(a){return _.u(this,1,a)};_.QI.prototype.se=function(){return _.w(this,_.Pf,2)};dic=[7,8];_.tJ=function(a){_.I.call(this,a,-1,dic)};_.J(_.tJ,_.I);_.g=_.tJ.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};
_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.se=function(){return _.w(this,_.Pf,4)};_.wJ=function(a){_.I.call(this,a)};_.J(_.wJ,_.I);_.wJ.prototype.getOptions=function(){return _.w(this,_.jfc,1)};_.wJ.prototype.Xn=function(){return _.x(this,2)};_.wJ.prototype.jd=function(){return _.w(this,_.GH,3)};var eic=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}},fic=null,gic=function(){this.O=0;this.H=[]};_.g=gic.prototype;
_.g.add=function(a){var b=this.H[this.O];this.H[this.O]=a;this.O=(this.O+1)%40;return b};_.g.get=function(a){a=hic(this,a);return this.H[a]};_.g.set=function(a,b){a=hic(this,a);this.H[a]=b};_.g.$b=function(){return this.H.length};_.g.lc=function(){return 0==this.H.length};_.g.clear=function(){this.O=this.H.length=0};_.g.hh=function(){var a=this.$b(),b=this.$b(),c=[];for(a=this.$b()-a;a<b;a++)c.push(this.get(a));return c};_.g.Qf=function(){for(var a=[],b=this.$b(),c=0;c<b;c++)a[c]=c;return a};
_.g.nf=function(a){return a<this.$b()};_.g.Lq=function(a){for(var b=this.$b(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};var hic=function(a,b){if(b>=a.H.length)throw Error("ga");return 40>a.H.length?b:(a.O+Number(b))%40},iic=function(a){_.I.call(this,a)};_.J(iic,_.I);_.jic=function(a){_.I.call(this,a)};_.J(_.jic,_.I);_.jic.prototype.Ve=function(){return _.x(this,1)};_.jic.prototype.mi=function(a){return _.u(this,1,a)};_.jic.prototype.Cb=function(){return _.x(this,4)};
_.jic.prototype.Bc=function(a){return _.u(this,4,a)};var kic=function(a){_.I.call(this,a)};_.J(kic,_.I);kic.prototype.Po=function(){return _.x(this,5)};var lic=function(a,b){_.u(a,6,b)},mic=function(a){_.I.call(this,a)};_.J(mic,_.I);_.g=mic.prototype;_.g.ejb=function(a){_.u(this,1,a)};_.g.NQb=function(a){_.u(this,2,a)};_.g.Ly=function(){return _.P(this,3)};_.g.fjb=function(a){_.u(this,3,a)};_.g.rQb=function(a){_.u(this,4,a)};var nic=function(a){_.I.call(this,a)};_.J(nic,_.I);
nic.prototype.Ly=function(){return _.P(this,2)};var oic=function(a,b){return _.u(a,2,b)},pic=function(a,b){_.u(a,3,b)};nic.prototype.EB=function(){return _.x(this,6)};var qic=function(a,b){return _.u(a,8,b)},ric=function(a){_.I.call(this,a)};_.J(ric,_.I);var sic=function(a){_.I.call(this,a)};_.J(sic,_.I);var tic=function(a,b){_.u(a,4,b)},uic=function(a){_.I.call(this,a)};_.J(uic,_.I);uic.prototype.jd=function(){return _.w(this,_.jic,1)};uic.prototype.getState=function(){return _.w(this,kic,2)};
uic.prototype.Jd=function(a){return _.E(this,2,a)};uic.prototype.pt=function(){return _.lj(this,2)};var vic=function(a){_.I.call(this,a)};_.J(vic,_.I);vic.prototype.Fj=function(){return _.x(this,1)};vic.prototype.getEnvironment=function(){return _.x(this,2)};vic.prototype.setEnvironment=function(a){return _.u(this,2,a)};_.ohc=function(a){var b=new _.VMa;b.setTime(a);return b};
_.wic=function(){var a=void 0===a?3E3:a;this.O=new _.Kk;this.H=new _.Kk;this.startTime=Date.now();this.V=!1;this.W=Math.ceil(a/2);this.ha=Math.floor(a/2)};_.xic=function(a){var b=a.O.hh();a.V&&b.push({logName:"...",message:"...",level:"...",totalTime:"..."});_.Ca(b,a.H.hh());return b};_.yic=function(a){var b=[];a=_.xic(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")};
_.wic.prototype.info=function(a,b){_.RJ(this,a,b,"info")};_.wic.prototype.config=function(a,b){_.RJ(this,a,b,"config")};_.wic.prototype.log=function(a,b,c){if(!fic){fic={};for(var d=0,e;e=_.Kka[d];d++)fic[e.value]=e,fic[e.name]=e}_.RJ(this,a,b,c)};_.RJ=function(a,b,c,d){a.H.$b()>=a.ha&&(a.V=!0,_.Lk(a.H));var e=Date.now()-a.startTime;b={logName:b,message:c,level:d,totalTime:1E3<e?(e/1E3).toFixed(1)+"s":e+"ms"};a.O.$b()<a.W?a.O.enqueue(b):a.H.enqueue(b)};_.ygc=[42,1005,20,50,18,1003,1002];zic=[73,71];
_.SJ=function(a){_.I.call(this,a)};_.J(_.SJ,_.I);_.SJ.prototype.getId=function(){return _.x(this,1)};_.SJ.prototype.Nb=function(a){return _.u(this,1,a)};_.SJ.prototype.getMimeType=function(){return _.x(this,2)};Aic=[22];_.yJ=function(a){_.I.call(this,a,-1,Aic)};_.J(_.yJ,_.I);_.g=_.yJ.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.getItem=function(){return _.w(this,_.Bk,2)};_.g.setItem=function(a){return _.E(this,2,a)};
_.g.Vj=function(){return _.x(this,3)};_.g.CB=function(){return _.w(this,_.SJ,4)};_.g.qc=function(){return _.x(this,5)};_.Bic=function(a,b){return _.u(a,5,b)};_.g=_.yJ.prototype;_.g.fK=function(){return _.x(this,7)};_.g.mda=function(a){return _.u(this,7,a)};_.g.Ufa=function(a){_.u(this,9,a)};_.g.ENa=function(a){_.u(this,10,a)};_.g.$M=function(){return _.x(this,16)};_.g.cda=function(a){return _.u(this,16,a)};
var Cic=function(a){var b=new _.bi;a.listen("loadend",_.fb(function(c,d){var e=d.Yj(),f=d.getError();null==e||f?c.Ed(f):c.callback(e);d.dispose()},b,a));return b},Dic=function(a){_.pi.call(this,a);this.connectionState=_.cxb.get(a)};_.J(Dic,_.pi);_.EI=function(a){_.I.call(this,a)};_.J(_.EI,_.I);_.EI.prototype.qc=function(){return _.x(this,1)};_.FI=function(a){_.I.call(this,a)};_.J(_.FI,_.I);_.FI.prototype.getId=function(){return _.x(this,1)};_.FI.prototype.Nb=function(a){return _.u(this,1,a)};
_.FI.prototype.Wj=function(){return _.x(this,2)};_.FI.prototype.H=function(a){_.u(this,4,a)};_.GI=function(a){_.I.call(this,a)};_.J(_.GI,_.I);_.GI.prototype.Hh=function(){return _.x(this,1)};_.GI.prototype.qc=function(){return _.x(this,2)};_.GI.prototype.se=function(){return _.w(this,_.Pf,4)};Eic=[3,7];_.HI=function(a){_.I.call(this,a,-1,Eic)};_.J(_.HI,_.I);_.g=_.HI.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};
_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.KE=function(a,b){_.vj(this,3,a,b)};_.g.se=function(){return _.w(this,_.Pf,5)};_.KI=function(a){_.I.call(this,a)};_.J(_.KI,_.I);_.KI.prototype.getTitle=function(){return _.x(this,1)};_.KI.prototype.setTitle=function(a){return _.u(this,1,a)};_.KI.prototype.se=function(){return _.w(this,_.Pf,2)};_.PI=function(a){_.I.call(this,a)};_.J(_.PI,_.I);_.PI.prototype.qc=function(){return _.x(this,1)};
_.PI.prototype.se=function(){return _.w(this,_.Pf,3)};_.RI=function(a){_.I.call(this,a)};_.J(_.RI,_.I);_.RI.prototype.getId=function(){return _.x(this,1)};_.RI.prototype.Nb=function(a){return _.u(this,1,a)};_.RI.prototype.se=function(){return _.w(this,_.Pf,3)};_.TI=function(a){_.I.call(this,a)};_.J(_.TI,_.I);_.TI.prototype.se=function(){return _.w(this,_.Pf,1)};_.jJ=function(a){_.I.call(this,a)};_.J(_.jJ,_.I);_.g=_.jJ.prototype;_.g.getId=function(){return _.x(this,1)};
_.g.Nb=function(a){return _.u(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Ug=function(a){return _.u(this,2,a)};_.g.se=function(){return _.w(this,_.Pf,3)};_.pJ=function(a){_.I.call(this,a)};_.J(_.pJ,_.I);_.g=_.pJ.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.getParent=function(){return _.x(this,2)};_.g.Ug=function(a){return _.u(this,2,a)};_.g.se=function(){return _.w(this,_.Pf,3)};_.sJ=function(a){_.I.call(this,a)};_.J(_.sJ,_.I);
_.sJ.prototype.qc=function(){return _.x(this,1)};_.sJ.prototype.se=function(){return _.w(this,_.Pf,4)};_.uJ=function(a){_.I.call(this,a)};_.J(_.uJ,_.I);_.g=_.uJ.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.getState=function(){return _.x(this,3)};_.g.Jd=function(a){return _.u(this,3,a)};_.g.pt=function(){return _.lj(this,3)};
_.g.se=function(){return _.w(this,_.Pf,5)};Fic=[2,3];_.II=function(a){_.I.call(this,a,-1,Fic)};_.J(_.II,_.I);_.II.prototype.uc=function(){return _.x(this,1)};_.II.prototype.se=function(){return _.w(this,_.Pf,4)};Gic=[3,4];_.cJ=function(a){_.I.call(this,a,-1,Gic)};_.J(_.cJ,_.I);_.cJ.prototype.getType=function(){return _.x(this,1)};_.cJ.prototype.se=function(){return _.w(this,_.Pf,2)};_.fJ=function(a){_.I.call(this,a)};_.J(_.fJ,_.I);_.fJ.prototype.H=function(a){_.u(this,4,a)};Hic=[1];
_.hJ=function(a){_.I.call(this,a,-1,Hic)};_.J(_.hJ,_.I);_.hJ.prototype.Em=function(){return _.oe(this,1)};_.Iic=function(a){_.I.call(this,a)};_.J(_.Iic,_.I);_.g=_.Iic.prototype;_.g.getKey=function(){return _.x(this,1)};_.g.ot=function(){return _.lj(this,1)};_.g.Ya=function(){return _.x(this,2)};_.g.Hb=function(a){return _.u(this,2,a)};_.g.Bi=function(){return _.wb(this,2)};_.g.Og=function(){return _.lj(this,2)};_.g.yf=function(){return _.x(this,3)};_.g.fl=function(a){return _.u(this,3,a)};
_.g.getType=function(){return _.x(this,4)};Jic=[1];_.Kic=function(a){_.I.call(this,a,-1,Jic)};_.J(_.Kic,_.I);_.Lic=function(a){this.O=new Set;this.H=[].concat(_.ec(_.oe(a,27)));this.initialize(a)};
_.Lic.prototype.initialize=function(a){var b=_.Agc(this.H,_.oe(a,28));if(0<b.length)throw Error("af`"+b.join(","));this.H.push(21);this.H.push(70);this.H.push(83);this.H.push(87);_.FH(_.VH(a))||(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));_.Ga(this.H);this.H.sort();Bgc(this.H)};_.TJ=function(a){return[].concat(_.ec(a.H))};_.Mic={1:"default",2:"teamDrive",3:"default,allTeamDrives"};
UJ=function(a){return"'"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'")+"'"};_.VJ=function(a,b,c){0!==b.length&&(a.zI.length&&a.append(" "+(c||"and")+" "),a.append(b))};WJ=function(a,b,c,d){if(c){var e=[];(void 0===d?0:d)&&e.push("not");e.push(UJ(c));e.push("in");e.push(b);_.VJ(a,e.join(" "))}};_.XJ=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());_.VJ(a,e.join(" "),d)}};
Nic=function(a,b,c){if(b.length){var d=[];d.push(c?"not (":"(");d.push(b.join(" or "));d.push(")");_.VJ(a,d.join(""))}};Oic=function(a,b){b=_.oe(b,33)[0];if(null!=b){var c=[];c.push("teamDriveId");c.push("=");c.push(UJ(b));_.VJ(a,c.join(" "))}};_.Pic=function(a){a=_.zb(a,_.KJ,25);if(null==a||0==a.length)return"";for(var b=[],c=0;c<a.length;c++)b.push(a[c].Ya());return b.join(",")};_.Qic=function(a){a=a.cA();return null==a||0==a.length?"":a.map(function(b){b=b.ER();if(0==b)throw Error("bf");return _.nfc[b]}).join(",")};
Ric=function(a,b){if(a.length){var c=new _.so;a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=[];e.push(b?"shortcutDetails.targetMimeType":"mimeType");e.push("contains");e.push(UJ(d.Ya()));_.VJ(c,e.join(" "),"or")}return c.toString()}return""};Sic=function(a,b,c){if(a.length){var d=[];b&&d.push("not");d.push(c?"shortcutDetails.targetMimeType":"mimeType");d.push("in");a=a.map(function(e){return UJ(e.Ya())});d.push(a.join(", "));return d.join(" ")}return""};
Tic=function(a){if(_.P(a,2))return"any";switch(a.Ya()){case 0:return"mentions";case 1:return"suggestions";case 2:return"todos";default:return""}};Uic=function(a){switch(a){case 1:return"<=";case 2:return"<";case 3:return"=";case 4:return">";case 5:return">=";default:return""}};Vic=function(a,b,c){if(null!=_.x(c,2)){var d=Uic(_.x(c,1));c=UJ(_.nhc(_.ohc(_.x(c,2)||0)));_.VJ(a,[b,d,c].join(" "))}};
Wic=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""};
_.Xic=function(a){for(var b=new _.so,c=_.zb(a,_.al,4),d=0;d<c.length;d++){var e=c[d],f=e.Ya();if(f){var h=_.x(e,1),k=_.Q(e,3,!1),l=[];k&&1==h&&l.push("not");l.push("title");l.push(1==h?"contains":k?"!=":"=");l.push(UJ(f));_.VJ(b,l.join(" "))}}for(var p=_.zb(a,_.$k,5),q=0;q<p.length;q++){var r=p[q],v=r.Ya();if(v){var z=[];_.Q(r,2,!1)&&z.push("not");z.push("fullText");z.push("contains");z.push(UJ(v));_.VJ(b,z.join(" "))}}var A=_.fl(a);if(A&&0!=A.length){for(var B=[],F=[],G=[],M=[],N=[],T=[],Y=0;Y<A.length;Y++){var ba=
A[Y];ba.Ya()&&(1===_.oj(ba,3,0)?_.P(ba,4)?F.push(ba):B.push(ba):_.P(ba,4)?_.Q(ba,2,!1)?T.push(ba):N.push(ba):_.Q(ba,2,!1)?M.push(ba):G.push(ba))}var ea=Ric(B,!1),la=Ric(F,!0),va=Sic(G,!1,!1),Ba=Sic(M,!0,!1),Ja=Sic(N,!1,!0),rb=Sic(T,!0,!0),Zb=new _.so;if(va||Ja||ea||la)_.VJ(Zb,va,"or"),_.VJ(Zb,Ja,"or"),_.VJ(Zb,ea,"or"),_.VJ(Zb,la,"or");Zb.zI.length&&_.VJ(b,"("+Zb.toString()+")","and");var ac=new _.so;if(Ba||rb)_.VJ(ac,Ba,"and"),_.VJ(ac,rb,"and");ac.zI.length&&_.VJ(b,"("+ac.toString()+")","and")}for(var Mc=
_.zb(a,_.Vk,7),Ac=0;Ac<Mc.length;Ac++)Vic(b,"modifiedDate",Mc[Ac]);for(var Cb=_.zb(a,_.Vk,8),ye=0;ye<Cb.length;ye++)Vic(b,"lastViewedByMeDate",Cb[ye]);_.XJ(b,"trashed",a.Nh());_.XJ(b,"explicitlyTrashed",_.P(a,17));_.XJ(b,"starred",_.P(a,10));_.XJ(b,"hidden",_.P(a,11));for(var He=_.gl(a),wh=0;wh<He.length;wh++){var ze=He[wh];WJ(b,"parents",ze.Ya(),_.Q(ze,2,!1))}for(var Ob=_.zb(a,_.Ff,13),gf=0;gf<Ob.length;gf++){var ck=Ob[gf];WJ(b,"owners",ck.Ya(),_.Q(ck,2,!1))}for(var uf=_.zb(a,_.Ff,14),dk=0;dk<uf.length;dk++){var Wk=
uf[dk];WJ(b,"writers",Wk.Ya(),_.Q(Wk,2,!1))}for(var oh=_.zb(a,_.Ff,15),hm=0;hm<oh.length;hm++){var Ri=oh[hm];WJ(b,"readers",Ri.Ya(),_.Q(Ri,2,!1))}_.P(a,16)&&_.VJ(b,"sharedWithMe");_.XJ(b,"unparented",_.P(a,34));for(var Oe=_.zb(a,_.Sk,35)||[],hg=_.m(Oe),zl=hg.next();!zl.done;zl=hg.next())WJ(b,"ancestors",zl.value.Ya(),!1);for(var uj=_.zb(a,_.Sk,38)||[],wk=_.m(uj),Hm=wk.next();!Hm.done;Hm=wk.next())WJ(b,"descendants",Hm.value.Ya(),!1);for(var Os=_.zb(a,_.Zk,37)||[],Xn=_.m(Os),Ps=Xn.next();!Ps.done;Ps=
Xn.next())WJ(b,"folderFeatures",Ps.value.Ya(),!1);for(var Px=_.oe(a,39),Aw=_.m(Px),Si=Aw.next();!Si.done;Si=Aw.next()){var Bu=Si.value,hn=[];hn.push("templateData.description");hn.push("contains");hn.push(UJ(Bu));_.VJ(b,hn.join(" "))}for(var Kp=_.oe(a,40),To=0;To<Kp.length;To++){var im=[];0==To&&im.push("(");im.push(UJ(Kp[To]));im.push("in");im.push("templateData.categories");To==Kp.length-1&&im.push(")");_.VJ(b,im.join(" "),0==To?"and":"or")}var Cu=_.x(a,41);if(null!=Cu){var jn=[];jn.push("templateData.galleryState");
jn.push("=");jn.push(UJ(_.ufc[Cu]||""));_.VJ(b,jn.join(" "))}var jm=_.x(a,42);if(null!=jm){var Al=[];Al.push("visibility");Al.push("=");Al.push(UJ(Wic(jm)));_.VJ(b,Al.join(" "))}for(var Rc=_.zb(a,_.Rk,44),Yn=0;Yn<Rc.length;++Yn){var Qs=Rc[Yn];WJ(b,"actionItems",Tic(Qs),_.Q(Qs,3,!1))}if(_.lj(a,50)){var Dq=[];Dq.push("pairedDocType");Dq.push(_.Q(a,50,!1)?"!=":"=");Dq.push(UJ("NONE"));_.VJ(b,Dq.join(" "))}WJ(b,"workspaceIds",a.Tq(),!1);for(var Eq=_.zb(a,_.Tk,57),Fq=0;Fq<Eq.length;Fq++){var Zn=[];0==
Fq&&Zn.push("(");Zn.push(UJ(Eq[Fq].Ya()));Zn.push("in");Zn.push("approvals");Fq==Eq.length-1&&Zn.push(")");_.VJ(b,Zn.join(" "),0==Fq?"and":"or")}if(_.lj(a,58)){var Im=a.kq(),Lp=Im.Ya();if(Lp){var Uo=[];_.Q(Im,2,!1)&&Uo.push("not");Uo.push("creator");Uo.push("=");Uo.push(UJ(Lp));_.VJ(b,Uo.join(" "))}}var Kr=_.w(a,_.Joa,59);if(Kr)for(var Qx=_.m(_.zb(Kr,_.Goa,1)),Du=Qx.next();!Du.done;Du=Qx.next()){var Rs=Du.value;WJ(b,"categoryMetadata",Rs.Dm());for(var Qz=_.m(Rs.Oj()),Ss=Qz.next();!Ss.done;Ss=Qz.next()){var ek=
Ss.value,Xk=_.x(ek,1),Ts=_.Db(ek,_.Uk);if(10==Ts){_.Ej(ek,_.xoa,10,_.Uk);var Bl=_.P(ek,15);(void 0===Bl?0:Bl)?_.VJ(b,Xk+" is null"):_.VJ(b,"not ("+Xk+" is null)")}else{var dj=new _.so,km=void 0;switch(Ts){case 3:km=_.Ej(ek,Shc,3,_.Uk);for(var Sg=_.m(km.wi()),Eu=Sg.next();!Eu.done;Eu=Sg.next())_.XJ(dj,Xk,Eu.value,"or");break;case 14:for(var Jm=km=_.Ej(ek,_.qoa,14,_.Uk),Us=new Map([[1,"="],[2,">"],[3,"<"]]),Fu=_.m(Jm.wi()),Yk=Fu.next();!Yk.done;Yk=Fu.next()){var Lr=Yk.value,Gu=Us.get(_.x(Jm,2));if(!Gu)throw Error("cf");
_.VJ(dj,[Xk,Gu,UJ(Lr.getYear()+"-"+Hgc(Lr.getMonth())+"-"+Hgc(Lr.getDay()))].join(" "),"or")}break;case 8:for(var Vs=km=_.Ej(ek,_.woa,8,_.Uk),Rx=new Map([[1,"="],[2,">"],[3,"<"]]),Ws=_.m(Vs.wi()),Vo=Ws.next();!Vo.done;Vo=Ws.next()){var Xw=Vo.value,Dt=Rx.get(_.x(Vs,2));if(!Dt)throw Error("cf");_.VJ(dj,[Xk,Dt,Xw].join(" "),"or")}break;case 9:for(var jv=km=_.Ej(ek,Uhc,9,_.Uk),$C=new Map([[1,"in"]]),kv=_.m(jv.wi()),kJ=kv.next();!kJ.done;kJ=kv.next()){var Lg=kJ.value,Yp=$C.get(_.x(jv,2));if(!Yp)throw Error("cf");
_.VJ(dj,[Lg,Yp,Xk].join(" "),"or")}break;case 6:for(var lJ=km=_.Ej(ek,_.Boa,6,_.Uk),hZ=new Map([[1,"="]]),mJ=_.m(lJ.wi()),tN=mJ.next();!tN.done;tN=mJ.next()){var IA=tN.value,fS=hZ.get(_.x(lJ,2));if(!fS)throw Error("cf");_.VJ(dj,[Xk,fS,UJ(IA)].join(" "),"or")}break;case 7:for(var uN=km=_.Ej(ek,_.zoa,7,_.Uk),cha=new Map([[1,"in"]]),gS=_.m(uN.wi()),vN=gS.next();!vN.done;vN=gS.next()){var DF=vN.value,hS=cha.get(_.x(uN,2));if(!hS)throw Error("cf");_.VJ(dj,[UJ(DF),hS,Xk].join(" "),"or")}break;case 4:for(var iZ=
km=_.Ej(ek,_.Doa,4,_.Uk),wN=new Map([[1,"="],[2,"contains"],[3,"starts with"]]),ry=_.m(iZ.wi()),iS=ry.next();!iS.done;iS=ry.next()){var X6=iS.value,jZ=wN.get(_.x(iZ,2));if(!jZ)throw Error("cf");_.VJ(dj,[Xk,jZ,UJ(X6)].join(" "),"or")}break;case 5:for(var kZ=km=_.Ej(ek,Whc,5,_.Uk),dha=new Map([[1,"in"]]),jS=_.m(kZ.wi()),lZ=jS.next();!lZ.done;lZ=jS.next()){var Y6=lZ.value,Z6=dha.get(_.x(kZ,2));if(!Z6)throw Error("cf");_.VJ(dj,[UJ(Y6),Z6,Xk].join(" "),"or")}break;case 12:for(var gwb=km=_.Ej(ek,_.uoa,
12,_.Uk),Ckc=new Map([[1,"="]]),xxa=_.m(gwb.wi()),yxa=xxa.next();!yxa.done;yxa=xxa.next()){var nJ=yxa.value,hwb=Ckc.get(_.x(gwb,2));if(!hwb)throw Error("cf");_.VJ(dj,[Xk,hwb,UJ(nJ)].join(" "),"or")}break;case 11:for(var iwb=km=_.Ej(ek,_.soa,11,_.Uk),$6=new Map([[1,"in"]]),lv=_.m(iwb.wi()),mZ=lv.next();!mZ.done;mZ=lv.next()){var zxa=mZ.value,kS=$6.get(_.x(iwb,2));if(!kS)throw Error("cf");_.VJ(dj,[UJ(zxa),kS,Xk].join(" "),"or")}}_.P(ek,15)?_.VJ(b,"not ("+dj+")"):_.VJ(b,1<km.wi().length?"("+dj+")":""+
dj)}}}null!=_.P(a,60)&&_.XJ(b,"linkShareMetadata.securityUpdateEligible",_.P(a,60));var Axa=_.P(a,65);if(null!=Axa){var eha=[];eha.push("clientEncryptionDetails.encryptionState");eha.push("=");eha.push(UJ(Axa?"encrypted":"unencrypted"));_.VJ(b,eha.join(" "))}var a7=_.zb(a,_.Ff,68);if(a7.length){for(var jwb=[],fha=[],kwb=_.m(a7),xXa=kwb.next();!xXa.done;xXa=kwb.next()){var lwb=xXa.value,mwb="sharedFrom = "+UJ(lwb.Ya());_.Q(lwb,2,!1)?fha.push(mwb):jwb.push(mwb)}Nic(b,jwb,!1);Nic(b,fha,!0)}var Bxa=_.zb(a,
_.Ff,67);if(Bxa.length){for(var nwb=[],b7=[],gha=_.m(Bxa),nZ=gha.next();!nZ.done;nZ=gha.next()){var yXa=nZ.value,owb="sharedTo = "+UJ(yXa.Ya());_.Q(yXa,2,!1)?b7.push(owb):nwb.push(owb)}Nic(b,nwb,!1);Nic(b,b7,!0)}null!=_.P(a,69)&&_.XJ(b,"linkShareMetadata.securityUpdateEnabled",_.P(a,69));null!=_.P(a,72)&&_.XJ(b,"canAcceptOwnership",_.P(a,72));if(_.P(a,73)){var c7=(new _.Hf).Hb("application/vnd.google-apps.shortcut");_.XJ(b,"impactedByMultiparentingMigration",!0);_.VJ(b,Sic([c7],!1,!1))}1==_.LJ(a)&&
Oic(b,a);return b.toString()};
_.Yic=function(a){var b=new _.so(_.Xic(a));_.Q(a,74,!1)?_.VJ(b,"isQuickAccessForSharedFilesRequest"):_.ZI(a)?_.VJ(b,"isQuickAccessRequest"):_.$I(a)?_.VJ(b,"isPeoplePredictRequest"):_.aJ(a)&&_.VJ(b,"isDrivePriorityRequest");var c=a.Kc();if(c){var d=[];d.push("sortBy");d.push(_.qfc[c.getType()]);d.push(_.wfc[c.Vf()]);_.P(c,3)&&d.push("foldersFirst");_.VJ(b,d.join(" "))}_.XJ(b,"domainSearch",_.P(a,18));_.XJ(b,"offline",_.P(a,19));_.zb(a,_.KJ,25).length&&(c=[],c.push("sources"),c.push("contains"),c.push(_.Pic(a)),
_.VJ(b,c.join(" ")));a.cA().length&&(c=[],c.push("spaces"),c.push("contains"),c.push(_.Qic(a)),_.VJ(b,c.join(" ")));if(c=_.LJ(a))d=[],d.push("corpora"),d.push("="),d.push(UJ(_.Mic[c])),_.VJ(b,d.join(" "));_.Q(a,66,!0)||_.XJ(b,"includeItemsFromAllDrives",_.Q(a,66,!0));1!=_.LJ(a)&&Oic(b,a);_.Q(a,48,!1)&&_.VJ(b,"cachedOnly");return b.toString()};
_.BJ=function(a){if(a instanceof _.eI)a=a.jd();else if(!a)return!1;return a instanceof _.Uz||a instanceof _.RF||"undefined"!=typeof _.YJ&&a instanceof _.YJ||a instanceof _.Df&&(_.ZI(a)||_.$I(a)||_.aJ(a))};Zic=function(){_.po.call(this);this.V=this.O=null;this.ka=!1;this.ha=null};_.J(Zic,_.po);_.$ic=function(a){!a.ka&&a.V&&(a.V(),a.ka=!0)};ajc=function(a,b){a.V||(a.V=b)};Zic.prototype.xj=function(){_.$ic(this);(0,this.ha)()};bjc=function(a,b){a.ha||(a.ha=b)};
_.ZJ=function(a){if(!a.O){a.O=new uic;var b=_.ro(a);_.E(b,56,a.O)}return a.O};Zic.prototype.getState=function(){var a=_.ZJ(this).getState();a||(a=new kic,_.ZJ(this).Jd(a));return a};var cjc=function(a,b){var c=new iic;_.u(c,1,b);a=_.ro(a);_.E(a,12,c)};Zic.prototype.ma=function(){var a=_.w(_.ZJ(this),mic,4);if(!a){a=new mic;var b=_.ZJ(this);_.E(b,4,a)}return a};
var djc=function(a){var b=_.w(_.ZJ(a),nic,8);b||(b=new nic,a=_.ZJ(a),_.E(a,8,b));return b},ejc=function(a){var b=_.w(_.ZJ(a),sic,19);b||(b=new sic,a=_.ZJ(a),_.E(a,19,b));return b},fjc=function(a){_.pi.call(this,"ub");this.H=a};_.J(fjc,_.pi);fjc.prototype.Me=function(){return this.H};_.gjc=function(a,b){a=void 0===a?1:a;b=void 0===b?!1:b;_.yi.call(this);this.H=!1;this.connectionState=b?1:a;this.O=b?!0:1===a;this.V=b};_.J(_.gjc,_.yi);_.g=_.gjc.prototype;
_.g.isConnected=function(){return!this.H&&1===this.connectionState};_.g.Fk=function(){return 1===this.connectionState||2===this.connectionState};_.g.Me=function(){return 3===this.connectionState};_.g.get=function(){return this.connectionState};
_.g.update=function(a){if(this.V)return!1;if(this.connectionState!==a||this.H&&1===a){if(2===a)var b=3===this.connectionState?_.OB.JU:_.OB.qha;else 1===a?(b=_.OB.LL,this.O=!0):3===a&&(b=_.OB.IU);if(b)return b=new Dic(b),this.connectionState=a,this.H=!1,this.dispatchEvent(b),!0}return!1};
var hjc=function(a,b){this.userId=a;this.H=b;this.db=null},jjc=function(a,b){a.H.info("drive.ds.sync.logging.ImpressionPersister","Persisting offline impressions.");return ijc(a,function(c){return c.count().then(function(d){return 1E3>d?a.add(c,b):a.handleError(Error("ff"))},function(d){return a.handleError(d)})},"readwrite")};hjc.prototype.add=function(a,b){var c=this,d={};return a.add((d.userId=this.userId,d.tCb=b.toJSON(),d)).then(null,function(e){c.handleError(e)})};
var kjc=function(a){return new _.Wh(function(b){var c=new Map;ijc(a,function(d){return Yhc(d.getIndex("userId"),a.userId).then(function(e){e=new Map(e.map(function(p){return[p,d.get(p)]}));for(var f={},h=_.m(e),k=h.next();!k.done;f={Bra:f.Bra},k=h.next()){var l=_.m(k.value);k=l.next().value;l=l.next().value;f.Bra=k;l.then(function(p){return function(q){q&&c.set(p.Bra,new _.sAa(q.tCb))}}(f))}return _.$H([].concat(_.ec(e.values()))).then(function(){return b(c)})})})})},ljc=function(a,b){return ijc(a,
function(c){return c.remove(b)},"readwrite")},ijc=function(a,b,c){c=void 0===c?"readonly":c;return mjc(a).then(function(d){try{var e=_.idc(d,["OfflineImpressions"],c).objectStore("OfflineImpressions");return b(e)}catch(f){return a.handleError(f?_.CI(f):void 0)}},function(d){return a.handleError(d)})},mjc=function(a){return a.db?_.Xh(a.db):_.kdc("GoogleDriveDsImpressions",2,function(b,c){c.H.objectStoreNames.contains("OfflineImpressions")&&_.Zhc(c,"OfflineImpressions");b=_.hdc(c,"OfflineImpressions",
{autoIncrement:!0});try{b.H.createIndex("userId","userId",void 0)}catch(d){throw _.MH(d,"creating new index userId with key path userId");}},function(){return a.handleError(Error("gf"))}).then(function(b){return a.db=b},function(b){return _.Yh(_.CI(b))})};hjc.prototype.handleError=function(a){a||(a=Error("hf"));_.RJ(this.H,"drive.ds.sync.logging.ImpressionPersister",a.message,"severe");return _.Xh()};
_.njc=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;_.yi.call(this);this.V=b;this.O=null;this.H=b?!1:a};_.J(_.njc,_.yi);_.njc.prototype.Me=function(){return this.H};_.njc.prototype.Il=function(a){var b=this.H!==a;!this.V&&b&&(this.H=a,this.dispatchEvent(new fjc(a)))};_.njc.prototype.gz=function(a){this.O=a};
var pjc=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.V=a;this.H=b;this.connectionState=c;this.O=d;this.Ib=new _.nf(this);this.Ib.listen(b,"ub",function(k){k.Me()||ojc(h)});this.Ib.listen(c,[_.OB.LL,_.OB.JU],function(){return void ojc(h)});this.W=e;f.then(function(){return ojc(h)})};_.J(pjc,_.yi);pjc.prototype.HA=function(a){return(this.H.Me()||this.connectionState.Me())&&this.H.O?jjc(this.O,a):this.V.HA(a)};
var ojc=function(a){return a.H.O?kjc(a.O).then(function(b){b.forEach(function(c,d){a.V.HA(c).then(function(){return qjc(a,d)},function(){a.log("Unable to send offline impression batch "+d+".")})})}):Promise.resolve()},qjc=function(a,b){a.log("Sent offline impression batch "+b+".");a.dispatchEvent("vb");return ljc(a.O,b).then(function(){a.log("Removed offline impression batch "+b+".")},function(){a.log("Unable to remove offline impression batch "+b+".")})};
pjc.prototype.log=function(a){this.W.info("drive.ds.sync.logging.ClearcutOfflineTransport",a)};var rjc=function(){};rjc.prototype.fR=function(){return new Zic};var sjc=function(){this.H=new vic};sjc.prototype.O=function(a){_.E(a,13,this.H)};sjc.prototype.setEnvironment=function(a){this.H.setEnvironment(a);return this};
var ujc=function(a,b,c,d){this.ha=b;this.connectionState=c;this.Gw=d;this.O=this.H=this.V=null;this.client=_.$J(_.Ffc,_.NJ(a));this.ka=_.x(a,94);this.ma=_.$J(_.Jfc,_.oj(a.Tf(),8,0));this.Cxa=_.$J(_.Gfc,_.oj(a.Tf(),9,2));this.ta=_.Q(a,10,!1);this.zu=_.FH(_.VH(a));this.iDa=_.OJ(a);this.W=tjc(a);this.buildLabel=a.Ki()};ujc.prototype.Fj=function(){return this.client};
tjc=function(a){var b=[].concat(_.ec(_.Cfc.keys())),c=[].concat(_.ec(_.Dfc.keys())),d=_.AJ(a);return b.filter(function(e){return _.Cfc.get(e)(a)}).concat(c.filter(function(e){return d&&_.Dfc.get(e)(d)}))};_.$J=function(a,b){a=_.m(a);for(var c=a.next();!c.done;c=a.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;if(c.includes(b))return d}return 0};ujc.prototype.Po=function(a){return null==a?0:a?2:1};var vjc=function(a){if(a.O)return a.O.H("aU7Ts")};
ujc.prototype.Cb=function(a){return a instanceof _.UH||"undefined"!=typeof _.aK&&a instanceof _.aK||"undefined"!=typeof _.bK&&a instanceof _.bK||"undefined"!=typeof _.cK&&a instanceof _.cK?a.Cb():"undefined"!=typeof _.dK&&a instanceof _.dK||"undefined"!=typeof _.eK&&a instanceof _.eK||"undefined"!=typeof _.fK&&a instanceof _.fK||"undefined"!=typeof _.gK&&a instanceof _.gK||"undefined"!=typeof _.hK&&a instanceof _.hK?a.response?a.response.Cb():null:null};ujc.prototype.Ki=function(){return this.buildLabel};
var wjc=function(a){return a.ha.Me()||a.connectionState.Me()?2:1};ujc.prototype.getEnvironment=function(){return this.Gw};xjc=function(a,b){this.H=a;var c=new _.cza;_.dza(c,b.W);a=this.H.PL();var d=_.dfc(a);_.E(d,10,c);(c=b.Ki())&&_.cfc(a,c);this.H.o_();this.O=b};
_.yjc=function(a,b,c){var d=_.qo(a.H.eG(b,c),_.xfc);cjc(d,wjc(a.O));b=vjc(a.O);"boolean"===typeof b&&lic(d.getState(),b);1===c&&ajc(d,function(){return void a.H.Fw(d)});bjc(d,function(){var e;var f=null===(e=a.O.V)||void 0===e?void 0:e.Ad();e=d.getState();_.u(e,1,f);var h,k;f=null===(k=null===(h=a.O.H)||void 0===h?void 0:h.H)||void 0===k?void 0:k.Ad();h=d.getState();_.u(h,2,f);var l,p;h=null===(p=null===(l=a.O.H)||void 0===l?void 0:l.O)||void 0===p?void 0:p.Ad();l=d.getState();_.u(l,7,h);a.H.Ko(d)});
return d};zjc=function(a){var b=new _.Pza,c=new sjc,d=a.Fj();_.u(c.H,1,d);_.u(c.H,8,a.ka);_.u(c.H,3,a.ma);_.u(c.H,4,a.Cxa);_.u(c.H,5,a.ta);_.u(c.H,6,a.zu);_.u(c.H,7,a.iDa);a=c.setEnvironment(a.getEnvironment());_.Wdc(b,_.zfc,a);_.to(b,_.xfc,new rjc);return b};
Ajc=function(a,b,c,d,e,f,h,k){k=void 0===k?!1:k;var l=new _.ZH(906,b,void 0,_.Pfc());l.ha=!1;var p=new _.Xdc(l);b=new Date;l=_.ifc(_.hfc(_.gfc($hc(),new _.Ydc(l)),zjc(c)),109).setSessionId(b.getTime()+"_"+_.qh());if(k){a=new pjc(p,d,e,new hjc(a,f),f,h);_.ffc(l,a);d=l.build();_.bfc(d.PL(),1E3*b.getTime());var q=new xjc(d,c);(new _.nf).listen(a,"vb",function(){_.yjc(q,106008,0).xj()});return q}_.ffc(l,p);a=l.build();_.bfc(a.PL(),1E3*b.getTime());return new xjc(a,c)};
Bjc=function(a,b){this.V=a;this.W=b};Bjc.prototype.O=function(a,b){this.V&&_.Cjc(this)&&(a=_.yjc(this.V,a,0),b&&_.scc(a,b),a.xj())};_.iK=function(a,b){if(a.V&&_.Cjc(a)){a=_.yjc(a.V,106018,0);var c=_.w(_.ZJ(a),ric,15);if(!c){c=new ric;var d=_.ZJ(a);_.E(d,15,c)}c=_.u(c,1,1);_.u(c,2,b);a.xj()}};Bjc.prototype.H=function(a,b){return this.V&&_.Cjc(this)?(a=_.yjc(this.V,a,1),b&&_.scc(a,b),a):null};_.Cjc=function(a){return!(!a.V||!a.V.H.NP())};
_.Djc=function(a,b,c,d,e,f){var h=_.P(a,59),k=_.nI(_.VH(a)).toString(),l=_.MJ(_.VH(a));f=new ujc(a,b,c,f);a=h?Ajc(l,k,f,b,c,d,e,_.Q(a,17,!1)):null;return new Bjc(a,f)};_.VI=function(a){_.I.call(this,a)};_.J(_.VI,_.I);_.Ejc=function(a){_.I.call(this,a)};_.J(_.Ejc,_.I);_.Ejc.prototype.getId=function(){return _.x(this,1)};_.Ejc.prototype.Nb=function(a){return _.u(this,1,a)};_.Ejc.prototype.se=function(){return _.w(this,_.Pf,2)};_.dJ=function(a){_.I.call(this,a)};_.J(_.dJ,_.I);
_.dJ.prototype.Xn=function(){return _.x(this,2)};_.dJ.prototype.jd=function(){return _.w(this,_.Ejc,3)};_.UI=function(a){_.I.call(this,a)};_.J(_.UI,_.I);_.UI.prototype.jd=function(){return _.w(this,_.TI,1)};_.UI.prototype.qda=function(a){return _.u(this,2,a)};_.SI=function(a){_.I.call(this,a)};_.J(_.SI,_.I);_.SI.prototype.getId=function(){return _.x(this,1)};_.SI.prototype.Nb=function(a){return _.u(this,1,a)};_.Fjc=function(a,b){return _.u(a,2,b)};_.gJ=function(a){_.I.call(this,a)};_.J(_.gJ,_.I);
_.gJ.prototype.jd=function(){return _.w(this,_.SI,1)};Gjc=[2];_.rJ=function(a){_.I.call(this,a,-1,Gjc)};_.J(_.rJ,_.I);_.rJ.prototype.qc=function(){return _.x(this,1)};_.rJ.prototype.$V=function(){return _.zb(this,_.LF,2)};_.rJ.prototype.se=function(){return _.w(this,_.Pf,3)};_.Hjc=function(a){_.I.call(this,a)};_.J(_.Hjc,_.I);_.Hjc.prototype.uk=function(){return _.x(this,1)};_.Ijc=function(a){var b=new _.Hjc;return _.u(b,1,a)};Jjc=[1];_.Kgc=function(a){_.I.call(this,a,-1,Jjc)};_.J(_.Kgc,_.I);
_.Kjc=function(a,b){this.O=b;this.H=new Map;this.dma(_.zb(a,_.bl,91))};_.Kjc.prototype.dma=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next()){var c=b.value;b=c.getId();c=_.cl(c);if(!b||!c)break;var d=_.Ljc(this,b);if(d){d!==c&&Jgc(b);break}this.H.set(b,c)}};qhc=function(a,b){return[].concat(_.ec(new Set(b))).map(function(c){var d=(new _.bl).Nb(c);a.H.has(c)?_.dl(d,a.H.get(c)):a.O&&(c=a.O.H(c))&&_.dl(d,_.Hk(c));return d}).filter(function(c){return _.lj(c,2)})};
_.Ljc=function(a,b){return a.H.has(b)?String(a.H.get(b)):a.O&&(a=a.O.H(b))&&_.lj(a,140)?_.Hk(a):null};_.Ngc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Tgc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};_.Zgc=function(){this.H=_.Qf(new _.Pf,312)};_.Mjc=function(a,b){_.NH.call(this,a?a:500,b?b:6E5)};_.J(_.Mjc,_.NH);_.jK=function(a,b,c,d){this.state=a;this.ma=b;this.ka=c;this.Zf=d;this.ha=this.O=this.timeout=this.W=null;this.V=!1;this.H=null};
_.jK.prototype.getState=function(){return this.state};_.jK.prototype.wM=function(a){var b=this;if(this.W)return this.W;var c=_.$h();this.W=c.promise.then(function(){return _.Ijc(1)},function(d){d=_.Yc(d).ug;var e=0;2===d.Gp()?e=3:_.Ofc(d)&&(e=2);return _.Ijc(e)});a&&this.W.then(function(d){3===d.uk()&&_.iK(b.Zf,186469046)});this.H&&(a=_.x(ejc(this.H),4)||0,tic(ejc(this.H),a+1));setTimeout(function(){b.W=null},5E3);Njc(this,c);return this.W};_.Qjc=function(a,b){Ojc(a,3)&&_.Pjc(a,b)};
_.jK.prototype.reset=function(){this.O=null;Rjc(this)};Rjc=function(a){a.timeout&&(clearTimeout(a.timeout),a.timeout=null)};_.Pjc=function(a,b){if(!a.O&&!a.V){a.H=a.Zf.H(106025);if(a.H){var c=ejc(a.H);var d=!(!a.state.isConnected()&&a.state.Fk());c=_.u(c,1,d);c=_.u(c,2,a.state.O);_.u(c,5,!!b)}a.O=new _.Mjc(5E3,6E4);Sjc(a)}};Sjc=function(a){Rjc(a);Njc(a);a.O&&(a.timeout=setTimeout(function(){return void Sjc(a)},a.O.Ya()),_.OH(a.O))};
Njc=function(a,b){_.ai((a.ha?a.ha():_.Xh()).then(null,function(){return null}),function(){if(a.H){var c=_.x(ejc(a.H),3)||0,d=ejc(a.H);_.u(d,3,c+1)}Tjc(a,b)})};Tjc=function(a,b){a.log("Checking connection state.");var c=a.ma.then(function(d){return d.Oe(new _.Zgc)}).then(null,function(d){d=_.Yc(d);_.Ofc(d.ug)&&Ojc(a,2);return _.Yh(d)});b?b.resolve(c):c.then(null,function(){return null})};_.jK.prototype.log=function(a){this.ka.info("drive.ds.sync.connection.StateManager",a)};
Ojc=function(a,b){return!a.V&&a.state.update(b)?(a.log("Connection status: "+_.Sfc.get(b)),!0):!1};_.Ujc=function(){this.H={}};Vjc=function(a,b,c){if(a.H[b])throw Error("jf");a.H[b]=c};_.Ujc.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){_.aa.setTimeout(function(){throw d;},0)}};Wjc=function(a,b){for(var c=0;c<b.length;c++)delete a.H[b[c]]};_.Xjc=function(a,b){this.H=a;this.V=b;this.O=_.Ufc[_.oj(a.Tf(),8,0)];this.W=_.Ufc[_.oj(a.Tf(),51,5)]};
_.Xjc.prototype.kc=function(a,b){if(b.QN)Yjc(this,a,b),Zjc(this,a,b);else{var c={};if(11===a.$m){if(b.xMb){var d=b.QD||_.y(this.H.Tf(),37,"");c.key=d;Fgc(c,a.uri)}Yjc(this,a,b);$jc(this,a,b)}else switch(a.uri=akc(this,a.$m,a.uri),a.$m){case 1:$jc(this,a,b);Yjc(this,a,b);break;case 0:b.zu||_.FH(_.VH(this.H))||_.Q(this.H,83,!1)&&Fgc({dsNonce:_.qh()},a.uri);$jc(this,a,b);Zjc(this,a,b);Yjc(this,a,b);break;case 2:case 3:case 4:case 5:$jc(this,a,b);Zjc(this,a,b);Yjc(this,a,b);break;case 8:case 9:case 10:case 13:case 12:case 7:$jc(this,
a,b);Zjc(this,a,b);break;default:throw Error("kf`"+a.$m);}}};bkc=function(a,b){var c=akc(a,b,new _.Yi);if(!c.lH())throw Error("mf");return(new _.Yi).Lr(c.Lo).Kn(c.hk()).MA(c.Hy()).zi(_.Vfc.has(b)?"/batch"+a.O:"/batch")};
akc=function(a,b,c){var d=_.x(a.H.Tf(),57);switch(b){case 0:a=d+a.O;break;case 1:a=d+"/batch"+a.O;break;case 2:a=d+"/upload"+a.O;break;case 3:a=d+"/upload"+a.O+"/batch";break;case 4:return c;case 5:a=d+a.W;break;case 7:a=_.y(a.H.Tf(),62,"");break;case 8:a=_.x(a.H.Tf(),53);break;case 9:a=_.x(a.H.Tf(),56);break;case 10:a=_.x(a.H.Tf(),22);break;case 13:a=_.x(a.H.Tf(),55);break;case 12:a=_.x(a.H.Tf(),43);break;default:throw Error("kf`"+b);}a&&a.endsWith("/")&&(a=a.slice(0,-1));c=c.toString();if(!c)return new _.Yi(a);
_.ce(c,"/")&&(c=c.slice(1));return new _.Yi(a+"/"+c)};$jc=function(a,b,c){a=_.VH(a.H);c.zu||_.FH(a)||(b.headers.authorization=_.Udc([{key:"u",value:_.MJ(a)}])||"",c=_.nI(a),0<=c&&(b.headers["x-goog-authuser"]=String(c)))};
Yjc=function(a,b,c){var d=_.VH(a.H),e=a.H.Tf(),f=c.m8a||_.Q(e,14,!1),h=11===b.$m;if(c.l8a||_.x(e,13)){c=_.x(e,13);var k={};c&&_.ce(c,"email:")?k.trace=c:c&&"trace:true"===c?k.$trace="true":k.trace=c?"token:"+c:"email:"+d.getEmail().replace(/(@|\+).*$/,"");h||(k["trace.deb"]="genoa:3:all,driveService:3:all"+(2===_.oj(e,9,2)?"":",cospel:3:all,DriveService:3:all"));Fgc(k,b.uri)}f&&!h&&a.V&&a.V.O(b.headers,b.method,b.uri.toString())};
Zjc=function(a,b,c){a=c.zu||_.FH(_.VH(a.H))?_.y(a.H.Tf(),36,""):c.QD||_.y(a.H.Tf(),37,"");Fgc({key:a},b.uri)};_.Mgc=function(a,b,c){this.request=a;this.pageSize=b;this.pageToken=c};_.Ogc=function(a){this.request=a;this.requestId=_.qh()};_.Wgc=function(a,b,c,d){this.request=a;this.file=b;this.GQ=void 0===c?null:c;this.metadata=d};Ugc=function(a,b){this.request=a;this.metadata=b};Vgc=function(a,b,c,d,e,f,h){this.V=a;this.blob=b;this.H=c;this.O=d;this.U_a=e;this.contentType=f;this.revisionId=h};
_.vJ=function(a,b,c,d){this.request=a;this.file=b;this.GQ=void 0===c?null:c;this.metadata=d};dhc=[_.EI,_.GI,_.FI,_.II,_.HI,_.JI,_.KI,_.NI,_.PI,_.QI,_.RI,_.TI,_.UI,_.fJ,_.jJ,_.pJ,_.rJ,_.oI,_.sJ,_.tJ,_.uJ,_.Ogc,_.vJ];ckc=[_.qI];ehc=[_.MF,_.Tgc];fhc=[_.dJ,_.WH,_.fD,_.wJ];ghc=[_.eI,_.VI,_.NF,_.qI,_.Ngc];hhc=[_.wJ,_.SF];ihc=[_.SI,_.Kgc,_.cJ,_.gJ,_.hJ,_.Mgc,_.vJ,Vgc,Ugc];
dkc=function(a){return a instanceof _.eI||a instanceof _.wJ||"undefined"!=typeof _.kK&&a instanceof _.kK||a instanceof _.tJ||a instanceof _.QI||a instanceof _.JI||a instanceof _.NI||a instanceof _.oI&&_.zJ(a)};_.ekc=function(a,b){this.H=b;this.I4={};this.Zi=new gic;b=_.DI({fields:_.oe(a,28),anonymous:_.FH(_.VH(a))});this.Hb("SecondaryFields",b);this.Hb("SdkBackfillEnabled",!!_.Q(a,45,!1)+" (Include corpus cache: "+!!_.Q(a,46,!1)+")")};_.ekc.prototype.Hb=function(a,b){this.I4[a]=fkc(a,b)};
var gkc=function(a,b){var c=a.I4[b];c||(c=fkc(b,0,2),a.I4[b]=c);c.Hb(String(Number(c.Ya())+1))};_.ekc.prototype.Sz=function(a){var b=_.Wa(this.I4);this.H&&b.push(fkc("CacheSize",this.H.Ad()));b.push(fkc("InitialViewDataLoaded",a));a=new _.Kic;_.sj(a,1,b);return _.gi(a)};fkc=function(a,b,c){var d=new _.Iic;_.u(d,1,a);_.u(d,4,c||1);d.Hb(String(b));d.fl(_.Zfc.get(a));return d};
_.hkc=function(a,b,c){var d=new _.kfc;_.u(d,2,"Pending...");b instanceof _.eI?_.xj(d,3,_.fI,b):b instanceof _.wJ?_.xj(d,4,_.fI,b):"undefined"!=typeof _.kK&&b instanceof _.kK?_.xj(d,5,_.fI,b):b instanceof _.tJ?_.xj(d,6,_.fI,b):b instanceof _.QI?_.xj(d,7,_.fI,b):b instanceof _.JI?_.xj(d,8,_.fI,b):b instanceof _.NI?_.xj(d,9,_.fI,b):b instanceof _.oI&&_.xj(d,10,_.fI,b);var e=ahc(b),f=[];if(b instanceof _.FI)xJ(f,"ID",b.getId()),xJ(f,"Parent ID",b.Wj());else if(b instanceof _.QI)xJ(f,"TD ID",b.getId());
else if(b instanceof _.eI)b=_.Yic(b.jd()),xJ(f,"Query",b);else if(b instanceof _.wJ)xJ(f,"Query","All");else if(b instanceof _.tJ)xJ(f,"TD ID",b.getId()),xJ(f,"Title",b.getTitle()),xJ(f,"Theme Image ID",_.x(b,3));else if(b instanceof _.JI)xJ(f,"MimeType",b.getMimeType()),xJ(f,"Title",b.getTitle()),xJ(f,"Parents",_.oe(b,3)),xJ(f,"Convert",_.P(b,8)),xJ(f,"Request ID",b.ij()),xJ(f,"Parent Request IDs",_.oe(b,10)),xJ(f,"Revision Item ID",_.x(b,12)),xJ(f,"Pinned",_.P(b,8));else if(b instanceof _.KI)xJ(f,
"Title",b.getTitle());else if(b instanceof _.NI)xJ(f,"ID",b.getId());else if(b instanceof _.RI)xJ(f,"WS ID",b.getId());else if(b instanceof _.fJ)xJ(f,"Source ID",_.x(b,1)),xJ(f,"Destination Parent ID",_.x(b,2)),xJ(f,"validation token",_.x(b,4));else if(b instanceof _.oI){if(xJ(f,"ID",b.getId()),xJ(f,"Title",b.getTitle()),xJ(f,"Description",b.yf()),xJ(f,"Starred",_.P(b,4)),xJ(f,"Trashed",b.Nh()),xJ(f,"MimeType",b.getMimeType()),xJ(f,"Parents",_.oe(b,8)),xJ(f,"Parents to add",_.oe(b,9)),xJ(f,"Parents to remove",
_.oe(b,10)),xJ(f,"Restricted",_.P(b,11)),xJ(f,"Folder Color",b.Li()),xJ(f,"Update Last Viewed",_.P(b,15)),xJ(f,"Subscribed",_.P(b,16)),xJ(f,"Available Offline",_.P(b,18)),xJ(f,"Wksp to add",_.oe(b,31)),xJ(f,"Wksp to remove",_.oe(b,32)),b=_.w(b,_.vk,25))xJ(f,"Read Only",_.P(b,1)),xJ(f,"Reason",_.x(b,2))}else b instanceof _.uJ?(xJ(f,"WS ID",b.getId()),xJ(f,"Title",b.getTitle()),xJ(f,"State",b.getState())):b instanceof _.Ogc&&xJ(f,"Title",b.request.getTitle());_.u(d,1,"Request: "+e+(c?" ("+c+")":"")+
"\n"+f.join("\n"));a.Zi.add(d);return d};_.ikc=function(a,b){for(var c=new _.so,d=0;d<b.length&&20>d;d++){var e=b[d];c.append(e.getId()+":"+_.jgc(e.getTitle()||"",20)+"\n")}20<b.length&&c.append(b.length-20+" more item(s)");_.u(a,2,c.toString()||"Done.")};_.ekc.prototype.CR=function(){return this.Zi.hh()};_.lK=function(a){_.I.call(this,a)};_.J(_.lK,_.I);_.lK.prototype.ad=function(){return _.w(this,_.UH,1)};_.jkc=function(a,b){return _.E(a,1,b)};_.lK.prototype.Xn=function(){return _.x(this,3)};
_.kkc=function(a,b,c){_.pi.call(this,"Fb");this.requestId=a;this.progress=b;this.totalBytes=c};_.J(_.kkc,_.pi);
_.lkc=function(a,b){this.O=a;this.V=b;this.H=null};
var mK=function(a){_.yi.call(this);this.name=a};_.J(mK,_.yi);_.g=mK.prototype;_.g.v4=function(){};_.g.QFa=function(){};_.g.o2a=function(){};_.g.DNa=function(){};_.g.n2a=function(){};_.g.fG=function(){this.dispatchEvent(new _.pi("Gb"))};_.g.toString=function(){return this.name+": "+this.max(Infinity)};
var mkc=function(a,b){mK.call(this,"Online");var c=this;this.O=a;this.H=b;this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.O,"ub",function(d){d.Me()||c.fG()});this.Nc.listen(this.H,"ib",this.fG)};_.J(mkc,mK);mkc.prototype.max=function(){var a=this.O.Me(),b=this.H.MB();return!a&&b?Infinity:0};mkc.prototype.v4=function(){this.fG()};
var nkc=function(a){mK.call(this,"Online");var b=this;this.connectionState=a;this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.connectionState,[_.OB.LL,_.OB.qha,_.OB.JU],function(){return b.fG()})};_.J(nkc,mK);nkc.prototype.max=function(){return this.connectionState.isConnected()?Infinity:0};nkc.prototype.v4=function(){this.fG()};
_.okc=function(a,b){this.H=a;this.O=b};_.pkc=function(a){return a.H instanceof _.jK?new nkc(a.H.getState()):new mkc(a.O,a.H)};_.okc.prototype.Gj=function(){return this.H instanceof _.jK?this.H.getState():this.O};
var rkc;_.qkc=function(a,b,c){this.HK=c;this.O=!0;this.V=0;this.H=new _.NH(a,b,.5)};rkc=function(a){return a.H.O+a.V};
_.nK=function(a,b){mK.call(this,"Backoff");this.H=a;this.O=b};_.J(_.nK,mK);_.nK.prototype.max=function(){return this.H.O?Infinity:0};_.nK.prototype.DNa=function(){var a=this.H;a.V=0;a.H.reset()};_.nK.prototype.n2a=function(a){var b=this;skc(a)&&this.H.O&&(this.H.O=!1,a=this.H.H.Ya(),this.log("Stopping new requests for "+a+" ms."),_.aa.setTimeout(function(){b.log("Backoff complete, allowing requests.");b.H.O=!0;b.fG()},a),_.OH(this.H.H))};
var skc=function(a){var b;return(a=null===(b=_.ja(a.UD))||void 0===b?void 0:b.response)?wgc(_.Yca(a)):!1};_.nK.prototype.log=function(a){this.O.info("drive.ds.network.queue.BackoffState",a)};
_.tkc=function(a,b){mK.call(this,"Batch");this.O=a;this.V=b;this.H=null};_.J(_.tkc,mK);_.tkc.prototype.max=function(a){return a>=this.O?this.O:null!=this.H?this.V<=Date.now()-this.H?this.O:0:0};_.tkc.prototype.v4=function(a){a>=this.O?this.fG():null==this.H&&ukc(this)};_.tkc.prototype.QFa=function(a,b){0<b?ukc(this):this.H=null};var ukc=function(a){a.H=Date.now()-1;_.aa.setTimeout(a.fG.bind(a),a.V)};
_.oK=function(){this.Zi=[]};_.g=_.oK.prototype;_.g.add=function(a,b){b?this.Zi.unshift(a):this.Zi.push(a);return!0};_.g.dta=function(a){return _.ta(this.Zi,0,a)};_.g.Ad=function(){return this.Zi.length};_.g.cancel=function(a){return _.ya(this.Zi,function(b){return b.Pv.config.requestId===a?(b.he.resolve(bhc(b.Pv.ex)),!0):!1})};_.g.mK=function(){return _.Bg(this.Zi,function(a){return _.zJ(a.Pv.ex)})};
var vkc=function(){mK.call(this,"Immediate")};_.J(vkc,mK);vkc.prototype.max=function(){return Infinity};vkc.prototype.v4=function(){this.fG()};
var wkc=function(){mK.call(this,"One Request")};_.J(wkc,mK);wkc.prototype.max=function(){return 1};
_.pK=function(a){mK.call(this,"Parallel");this.limit=a;this.H=0};_.J(_.pK,mK);_.pK.prototype.max=function(){return Math.max(0,this.limit-this.H)};_.pK.prototype.v4=function(){this.H<this.limit&&this.fG()};_.pK.prototype.QFa=function(a){this.H+=a.length};_.pK.prototype.o2a=function(a){this.H-=a.length;this.H<this.limit&&this.fG()};
var xkc=function(){_.yi.apply(this,arguments)};_.J(xkc,_.yi);var zkc=function(a,b){a.dispatchEvent(new ykc(b))};xkc.prototype.O=function(){};var ykc=function(a){_.pi.call(this,"Hb");this.request=a};_.J(ykc,_.pi);
_.qK=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.ha=a;this.V=b;this.H=c;this.buckets=d;this.O=e;this.ka=0;this.W=new Map;this.Nc=new _.nf(this);this.Ja(this.Nc);for(a=0;a<this.H.length;a++)this.Nc.listen(this.H[a],"Gb",this.u1a);for(a=0;a<this.O.length;a++)this.Nc.listen(this.O[a],"Hb",function(k){Akc(h,!0,k.request)});this.logName=_.Ks("drive.ds.network.queue.Queue [%s]",f)};_.J(_.qK,_.yi);_.qK.prototype.add=function(a){return Akc(this,!1,{Pv:a,he:_.$h(),UD:[]})};
_.qK.prototype.cancel=function(a){var b=this.V.cancel(a),c=this.buckets.some(function(d){return d.cancel(a)});b?this.log("Canceled ID "+a+" during execution."):c&&this.log("Canceled ID "+a+" inside bucket.");return b||c};_.qK.prototype.mK=function(){return this.V.mK()?!0:this.buckets.some(function(a){return a.mK()})};
var Akc=function(a,b,c){if(!a.buckets.some(function(f){return f.add(c,b)}))return a=_.Gp(new _.Tc,"No queue bucket accepted request."),_.Yh(_.Yc(a));for(var d=Bkc(a),e=0;e<a.H.length;e++)a.H[e].v4(d);return c.he.promise};_.g=_.qK.prototype;
_.g.u1a=function(){var a=Bkc(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.buckets.length&&0===c.length;d++)c=this.buckets[d].dta(b);0<c.length&&(this.log("Executing "+c.length+"/"+a+" requests. States: {"+this.H.join(", ")+"}"),this.execute(c))}};
_.g.execute=function(a){var b=this,c=String(this.ka++);this.W.set(c,a);for(var d=this.V.execute(a),e=0;e<a.length;e++)d[e].then(this.wxb.bind(this,a[e]),this.vxb.bind(this,a[e]));e=Bkc(this);for(var f=0;f<this.H.length;f++)this.H[f].QFa(a,e);_.ai(_.$H(d).then(this.uxb.bind(this,a)),function(){b.W.delete(c)});_.aa.setTimeout(this.u1a.bind(this),0)};
_.g.wxb=function(a,b){var c=a.Pv.config;this.log(ahc(a.Pv.ex)+" request completed successfully. xd4: "+!(!c||!c.QN));this.H.forEach(function(d){return d.DNa()});this.O.forEach(function(d){return d.O(a)});a.he.resolve(b)};
_.g.vxb=function(a,b){b=_.Yc(b);this.log(ahc(a.Pv.ex)+(" request failed with error: "+b.ha+"."));a.UD.push({response:b,rTb:Date.now()});for(var c=0;c<this.H.length;c++)this.H[c].n2a(a);a.Pv.config.MFa||!this.O.some(function(d){return d.intercept(a)})?a.he.reject(b):this.log(ahc(a.Pv.ex)+" encountered an error, but was intercepted to be retried.")};_.g.uxb=function(a){Bkc(this);for(var b=0;b<this.H.length;b++)this.H[b].o2a(a)};
var Bkc=function(a){for(var b=0,c=0;c<a.buckets.length;c++)if(a.buckets[c].Ad()){b=a.buckets[c].Ad();break}return b};_.qK.prototype.log=function(a){this.ha.info(this.logName,a)};
_.Dkc=function(a,b,c,d){xkc.call(this);this.V=b;this.ka=c;this.W=d;this.H=new Map;this.ha=_.Bj(a,21,1E3);this.ta=_.Bj(a,1,1);this.ma=function(){return new _.qkc(_.Bj(a,63,1E3),_.Bj(a,64,3E5),_.Bj(a,65,10))}};_.J(_.Dkc,xkc);
_.Dkc.prototype.intercept=function(a){var b=a.UD.length,c=0<b&&_.ja(a.UD).response||null;if(c){c=_.mI(c);if(2===c.Gp())return Ekc(this,a);if(_.Ofc(c))return 2>=b?(zkc(this,a),a=!0):a=!1,a;var d=c.Uj();if(3===d||31===d||13===d||9===d)return Fkc(this,a,b);if(wgc(c))return b=rkc(this.V),c=this.V,rkc(c)<c.HK?(this.log("Backoff number "+b+" for a User Rate Limit error."),zkc(this,a),a=!0):(this.log("Done retrying User Rate Limit errors after "+(b+" backoffs.")),a=!1),a}return!1};
var Ekc=function(a,b){var c=Gkc(a,b),d=rkc(c);if(rkc(c)<c.HK)return a.log("Retry "+(d+1)+" for a failed request due to an offline error."),a.ka.Me()?(d=c.H.Ya(),_.aa.setTimeout(function(){return zkc(a,b)},d),_.OH(c.H)):(_.aa.setTimeout(function(){return zkc(a,b)}),c.V++),!0;a.H.delete(b);return!1},Gkc=function(a,b){a.H.has(b)||a.H.set(b,a.ma());return a.H.get(b)},Fkc=function(a,b,c){var d=a.ta;if(c<=d)return a.log("Retry number "+(c+1)+" for a retryable error."),_.aa.setTimeout(function(){return zkc(a,
b)},a.ha*Math.pow(2,c)),!0;a.log("Done retrying retriable requests after "+d+" retries.");return!1};_.Dkc.prototype.O=function(a){this.H.delete(a)};_.Dkc.prototype.log=function(a){this.W.info("drive.ds.network.queue.RetryInterceptor",a)};
var Hkc=function(a){try{if("undefined"!==typeof FileReaderSync&&_.Pfc()){var b=new FileReaderSync;return Promise.resolve(b.readAsDataURL(a))}var c=new _.Fvb,d=Cic(c);c.H.readAsDataURL(a);return d.then()}catch(e){return Promise.reject(new _.Dvb(_.CI(e),"reading data"))}},Ikc=function(a){return Hkc(a.size?a.slice(0,1):a).then(function(){return null},function(b){return b.name})};
var Jkc=function(a,b,c,d,e,f,h){this.Ia=a;this.H=b;this.Ka=c;this.W=d;this.Pa=e;this.request=f;this.config=h;this.O=this.ta=this.progress=0;this.Fa=this.wa=this.ha=null;this.he=_.$h();this.finished=!1;this.Ba=this.Gu=0;this.ka=null;this.ma=!1;this.V=null;a=f.request.Sz();a=_.Pfc()&&a?_.x(a,1):null;this.fileSize="number"===typeof a?a:f.file.size;this.requestId=h.requestId;this.AO="progress_"+this.requestId;h.AO=this.AO;this.ma=!!f.metadata};
Jkc.prototype.log=function(a){this.Ka.info("drive.ds.sync.request.ResumableUpload",a)};Jkc.prototype.start=function(){var a=this,b=new Ugc(this.request.request,this.request.metadata),c=Kkc(this);this.Ia.then(function(d){return d.Oe(b,c)}).then(function(d){a.ha=d.O;a.wa=d.H;a.Fa=d.V;Lkc(a)},function(d){return void a.he.reject(d)});return _.ai(this.he.promise.then(function(d){Mkc(a,d);return d},function(d){d=_.Yc(d);Mkc(a,d.ug);return _.Yh(d)}),function(){Wjc(a.H,[a.AO])})};
var Kkc=function(a){var b=_.cb(a.config);Vjc(a.H,a.AO,eic(function(){return void a.H.notify([a.requestId],0)}));return b};Jkc.prototype.cancel=function(){return this.finished?!1:(this.finished=!0,this.he.resolve(bhc(this.request)),!0)};
var Lkc=function(a){a.finished||(a.log("Uploading chunk "+a.Ba+" for "+a.ha+"."),Nkc(a,4))},Nkc=function(a,b){Okc(a).then(function(c){if(c){var d=Pkc(a,c.blob.size);a.Ia.then(function(f){return f.Oe(c,d)}).then(function(f){a.V=null;var h=c.blob.size;a.progress+=a.O;a.ta+=h;a.Ba++;f.fK()&&(a.wa=f.fK());f.$M()&&(a.Fa=f.$M());a.progress<a.fileSize?Lkc(a):a.he.resolve(f)},function(f){if(d.MFa)a.cancel();else{var h=_.mI(f);h.zCa()||h.Tla()||a.ma?Qkc(a,b,h,!1):Ikc(c.blob).then(function(k){k=k?_.QEa.get(k)||
25:38;_.zI(h,k);Qkc(a,b,h,38===h.Gp(),38!==h.Gp()&&25!==h.Gp())},function(){})}})}else{var e=_.Yc(_.zI(_.Gp(new _.Tc,"Could not read more of the file. Read "+a.progress+"/"+a.fileSize+" bytes."),5));a.he.reject(e)}})},Qkc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=4-b;c.Ufa(f);!e&&0<b?(a.Gu++,d&&(a.W=Math.max(262144*Math.floor(a.W/262144/2),8388608)),setTimeout(function(){b--;a.log("Retrying chunk "+a.Ba+" with "+b+" attempts remaining "+((d?"and chunk size lowered to "+(a.W+" bytes "):"")+"for ")+
(a.ha+"."));Nkc(a,b)},a.Pa*Math.pow(1.5,f))):a.he.reject(_.Yc(c))},Okc=function(a,b){return a.ma&&a.V?_.Xh(a.V):Rkc(a,b).then(function(c){if(!c)return null;if(a.ma&&0<a.fileSize&&0===c.size)return Okc(a,Math.min(2*a.O,a.fileSize-a.progress));a.ka&&(c=new Blob([a.ka,c]),a.ka=null);var d=c.size%262144;a.finished=a.progress+a.O===a.fileSize;0<d&&!a.finished&&(a.ka=c.slice(-1*d),c=c.slice(0,-1*d));a.V=new Vgc(a.ha,c,a.ta,a.ta+c.size-1,a.finished,a.request.request.getMimeType(),_.x(a.request.request,12)||
void 0);return a.V})},Rkc=function(a,b){a.O=b?b:Math.min(a.fileSize-a.progress,a.W);b=a.progress;return a.request.GQ?a.request.GQ(b,a.O):_.Xh(_.lgc(a.request.file,b,b+a.O))},Pkc=function(a,b){var c=_.cb(a.config);c.OSa=!0;var d=a.progress/a.fileSize,e=b/a.fileSize;Wjc(a.H,[a.AO]);Vjc(a.H,a.AO,function(f){a.H.notify([a.requestId],Math.min(d+e*f,1))});return c},Mkc=function(a,b){b.ENa(3);b.Ufa(a.Gu);b.fK()||b.mda(a.wa);b.$M()||b.cda(a.Fa)};
_.Skc=function(a,b,c,d,e){this.ha=a;this.V=b;this.H=c;this.W=d;this.O=e};_.Skc.prototype.create=function(a,b){return new Jkc(this.ha,this.V,this.H,this.W,this.O,a,b)};
_.Tkc=function(a){this.O=a;this.H={}};_.Tkc.prototype.execute=function(a){for(var b=[],c=0;c<a.length;c++)if(a[c].Pv.ex instanceof _.Wgc)b.push(Ukc(this,a[c].Pv));else{var d=_.Gp(new _.Tc,"ResumableUploadExecutor only supports ResumableUploadRequests.");b.push(Promise.reject(_.Yc(d)))}return b};_.Tkc.prototype.cancel=function(a){return!!this.H[a]&&this.H[a].cancel()};_.Tkc.prototype.mK=function(){return!_.Za(this.H)};
var Ukc=function(a,b){var c=a.O.create(b.ex,b.config),d=c.start(),e=b.config.requestId;a.H[e]=c;return _.ai(d,function(){delete a.H[e]})};
_.Vkc=function(a,b){return new _.qK(b,a,[new vkc],[new _.oK],[],"immediate")};_.Wkc=function(a,b,c,d,e){return new _.qK(e,a,[_.pkc(d),new _.nK(c,e),new wkc],[new _.oK],[new _.Dkc(b,c,d.Gj(),e)],"connected")};_.Xkc=function(a,b,c,d,e,f,h){h=void 0===h?_.Bj(b,10,50):h;return new _.qK(e,a,[_.pkc(d),new _.tkc(h,_.Bj(b,12,10)),new _.pK(3*h),new _.nK(c,e)],[new _.oK],[new _.Dkc(b,c,d.Gj(),e)],f)};_.Ykc=function(a,b,c){return new _.qK(c,a,[new _.pK(_.Bj(b,46,1))],[new _.oK],[],"resumable_upload")};
_.Zkc=function(a,b,c,d,e,f,h,k){this.rI=a;this.ma=b;this.V=c;this.H=d;this.W=e;this.ha=f;this.ka=h;this.O=k};_.Zkc.prototype.Oe=function(a,b){return $kc(this,a,b).then(null,function(c){c=_.Yc(c);var d=c.ug;chc(a)||_.Ip(d);return _.Yh(c)})};
var $kc=function(a,b,c){c=void 0===c?{}:c;var d=a.rI.validate(b);if(d)return _.Yh(_.Yc(d));var e=a.ma.translate(b);e instanceof _.Tc?d=void 0:Array.isArray(e)?(d=e.map(function(f){return a.V.execute(a,f,c)}).filter(function(f){return!!f}),d=0<d.length?Promise.all(d):void 0):d=a.V.execute(a,e,c)||void 0;return _.Xh(d).then(function(){if(e instanceof _.Tc)return _.Yh(_.Yc(e));if(Array.isArray(e)){var f=e.map(function(h){return alc(a,b,h,c)});return _.$H(f)}return alc(a,b,e,c)},function(f){return _.Yh(_.Yc(f))})},
alc=function(a,b,c,d){var e=blc(a,c);if(!e)return b=_.zI(_.Gp(new _.Tc,"Failed to choose a queue for server request."),18),_.Yh(_.Yc(b));if(e===a.H[7]||e===a.H[8])d.QN=!0;d=e.add({ex:c,config:d});(_.zJ(b)||_.zJ(c))&&_.ai(d,function(){var f=a.W;f.O()||(f.H&&(f.H.resolve(),f.H=null),f.V())});b=a.ha.apply(c,d);d.then(function(f){a.ka.apply(c,f)},function(){});return b};_.Zkc.prototype.cancel=function(a){return _.Ua(this.H,function(b){return b.cancel(a)})};
var blc=function(a,b){var c,d=!1;b instanceof _.VI?d=!(null===(c=_.w(b,_.NF,2))||void 0===c||!_.P(c,7)):b instanceof _.NF?d=!!_.P(b,7):b instanceof _.eI&&(d=(d=b.jd())&&!!_.P(d,46));return(b instanceof _.Zgc||b instanceof _.xI&&_.P(b,9))&&a.H[1]?a.H[1]:b instanceof _.Wgc&&a.H[5]?a.H[5]:d&&jhc(b,a.O)&&a.H[7]?a.H[7]:jhc(b,a.O)&&a.H[8]?a.H[8]:d&&(b instanceof _.VI||b instanceof _.NF)&&a.H[6]?a.H[6]:(d||ckc.includes(b.constructor))&&a.H[3]?a.H[3]:dhc.includes(b.constructor)&&a.H[4]?a.H[4]:a.H[2]||a.H[1]};
var clc=function(a){this.H=a};clc.prototype.build=function(a,b){var c="====="+_.qh()+"=====",d=a[0].$m,e=b.every(function(l){return l.QN});if(e){var f=d;var h={"content-type":"text/plain; charset=UTF-8"};d="POST";var k=bkc(this.H,a[0].$m);_.cj(k,"$ct",'multipart/mixed; boundary="'+c+'"')}else f=dlc[d],h=elc[d]||{},h["content-type"]=_.Ks('multipart/mixed; boundary="%s"',c),d=flc[d],k=new _.Yi("");a=glc(this,a,b,c,e);return{$m:f,body:a,headers:h,method:d,uri:k}};
var glc=function(a,b,c,d,e){for(var f=Igc(hlc[b[0].$m]||{}),h="",k=0;k<b.length;k++){e&&$jc(a.H,b[k],c[k]);var l=b[k],p=a.H,q=l,r=c[k];q.uri=akc(p,q.$m,q.uri);switch(q.$m){case 0:case 5:Zjc(p,q,r);Yjc(p,q,r);break;case 2:$jc(p,q,r);Zjc(p,q,r);var v=q,z=_.x(p.H.Tf(),57);v.headers.host=_.gj(z).hk();v.headers.origin=_.aa.location.origin?_.aa.location.origin:_.aa.location.protocol+"//"+_.aa.location.host;Yjc(p,q,r);break;case 12:case 10:case 13:break;case 8:case 7:throw Error("lf`"+q.$m);default:throw Error("kf`"+
q.$m);}p=l;q=p.uri.clone();q.Lr("");q.Kn("");q.MA(null);l=f+"\r\n"+(p.method+" "+q+" HTTP/1.1\r\n")+Igc(l.headers)+"\r\n"+(l.body?l.body+"\r\n":"");h+="--"+d+"\r\n";h+=l}return h+("--"+d+"--\r\n")},ilc={},dlc=(ilc[0]=1,ilc[2]=3,ilc),jlc={},flc=(jlc[0]="POST",jlc[2]="PUT",jlc[12]="POST",jlc),klc={},llc={},elc=(llc[2]=(klc["x-goog-upload-protocol"]="batch",klc),llc),mlc={},nlc={},olc={},plc={},qlc={},hlc=(qlc[0]=(mlc["content-type"]="application/http",mlc["content-transfer-encoding"]="binary",mlc),
qlc[13]=(nlc["content-type"]="application/http",nlc["content-transfer-encoding"]="binary",nlc),qlc[12]=(olc["content-type"]="application/http",olc["content-transfer-encoding"]="binary",olc),qlc[2]=(plc["content-type"]="application/http",plc),qlc);
var rlc=/^HTTP\/1\.1 (\d+) ([\w ]+)/,slc=/^multipart\/mixed; boundary="?([^"]+)"?$/;
var tlc=function(a,b,c,d,e){this.V=a;this.W=b;this.ha=c;this.H=d;this.O=e;this.Zi=new Map};tlc.prototype.add=function(a,b){var c="DEFAULT";b.QN&&(c=bkc(this.V,a.$m).toString());this.Zi.has(c)||this.Zi.set(c,[]);c=this.Zi.get(c);if(1<=c.length&&!b.QN&&!dlc[a.$m])return a=_.Gp(new _.Tc,"Unsupported batch API: "+a.$m),_.Yh(_.Yc(a));var d=_.$h();c.push({request:a,config:b,he:d});return d.promise};
tlc.prototype.send=function(){for(var a={},b=_.m(this.Zi.entries()),c=b.next();!c.done;a={Kra:a.Kra},c=b.next()){var d=_.m(c.value);c=d.next().value;d=d.next().value;try{ulc(this,d)}catch(f){var e=_.CI(f);e=_.Hp(_.Gp(new _.Tc,"Error executing XHR: "+e.message),e.stack);a.Kra=_.Yc(e);d.forEach(function(h){return function(k){k.he.reject(h.Kra)}}(a));this.Zi.delete(c)}}};
var ulc=function(a,b){if(1===b.length){var c=b[0];if(!c.config.fDa&&!c.config.QN){var d=!1;if(dlc[c.request.$m]){var e={$m:c.request.$m,headers:{},method:c.request.method,uri:c.request.uri.clone()};a.V.kc(e,c.config);2E3<e.uri.toString().length&&(d=!0)}if(!d){vlc(a,c);return}}}wlc(a,b)},vlc=function(a,b){var c=b.he;a.W.kh(b.request,b.config).then(function(d){c.resolve(d);xlc(a,b)},function(d){a.handleError(b,d);c.reject(d)})},wlc=function(a,b){var c=[],d=[];b.forEach(function(e){c.push(e.request);
d.push(e.config)});a.W.kh(a.ha.build(c,d),{fDa:!0,QN:d.every(function(e){return e.QN})}).then(function(e){e.headers=_.ogc(e.headers);var f=slc.exec(e.headers["content-type"]);var h=f&&f[1]?"--"+f[1]:null;if(!h)throw new _.Uc("Could not extract batch boundary.",_.zI(_.Hp(new _.Tc,JSON.stringify(e)),14));f=h+"\r\n";h=e.text.split(h+"--");if(2===h.length&&_.ce(_.lja(h[0]),f)&&_.Re(h[1]))h=_.lja(h[0]).substring(f.length);else throw new _.Uc("Could not parse batch response; did not begin and end with boundary.",
_.zI(_.Hp(new _.Tc,JSON.stringify(e)),15));f=h.split(f);h=c.length===f.length;for(var k=[],l=0;l<f.length;l++){var p=h?c[l]:void 0,q=k,r=q.push;var v=void 0;var z,A=e.headers,B=f[l],F=p&&p.uri,G=B.split("\r\n\r\n");if(2>G.length)v=new _.Uc("Individual batch response contained too few parts.",_.zI(_.Hp(new _.Tc,B),17));else{var M=G[1].split("\r\n");if(z=rlc.exec(M[0])){p=_.sh(z[1]);z=z[2];M.shift();A=_.cb(A);for(var N=Object,T=N.assign,Y={},ba=0;ba<M.length;ba++){var ea=_.uja(M[ba],":",1);ea&&2===
ea.length&&(Y[(0,_.Dg)(ea[0])]=(0,_.Dg)(ea[1]))}M=_.ogc(Y);T.call(N,A,M);try{v=_.Re(_.ph(G[2]))?void 0:JSON.parse(G[2])}catch(la){}v=(p=_.ugc(p,z,A,B,v,void 0,void 0,F&&F.toString()))?_.Yc(p):{headers:A,text:B,json:v||void 0}}else v=new _.Uc("Could not extract HTTP status code and text.",_.zI(_.Hp(new _.Tc,B),16))}r.call(q,v)}return k}).then(null,function(e){e=_.Yc(e);return _.Dcc(e,b.length)}).then(function(e){for(var f=!1,h=0;h<b.length;h++){var k=b[h].he,l=e[h];l instanceof _.Tc||l instanceof _.Uc?
(l=_.Yc(l),f||(f=a.handleError(b[h],l)),k.reject(l)):k.resolve(l)}f||xlc(a,b[0])})},xlc=function(a,b){var c=b.request.$m;b=!b.config.zu&&_.pa(ylc,c);if(a.H){if(a=a.H,c=b?1:2,!a.state.isConnected()||b)c=Ojc(a,c),b&&c&&a.reset(),a.H&&c&&(b||!a.state.O)&&(a.H.xj(),a.H=null)}else a.O&&b&&a.O.wa()};
tlc.prototype.handleError=function(a,b){a=_.Yca(b);if(2===a.Gp()){if(this.H)return _.Qjc(this.H),!0}else if(_.Ofc(a)){if(this.H){a=this.H;if(b=!a.V)b=a.state,b=!b.V&&b.isConnected()?b.H=!0:!1;b&&_.Pjc(a);return!0}if(this.O)return this.O.ta(),!0}return!1};var ylc=[0,2,4,7,8];
var zlc=function(){_.Vi.apply(this,arguments)};_.J(zlc,_.Vi);zlc.prototype.getAllResponseHeaders=function(){return _.lja(_.Vi.prototype.getAllResponseHeaders.call(this))};
var Alc=function(a,b){this.W=a;this.V=b;this.O={};this.H={}};
Alc.prototype.kh=function(a,b){var c=this;try{this.W.kc(a,b);var d=new zlc;d.BC=!0;var e=b.requestId||"",f=_.$h();d.listen("complete",function(){var h=b.fDa,k=4===a.$m;h=void 0===h?!1:h;k=void 0===k?!1:k;e&&(delete c.O[e],delete c.H[e]);var l={headers:_.ima(d),text:d.ul()};if((!b.cSb||_.sgc(d.Cb()))&&!h)try{l.json=_.EH(d)}catch(p){}h=_.ugc(d.Cb(),_.fma(d),l.headers,l.text,l.json,d.O,_.jma(d),String(d.ta),k);d.dispose();h?f.reject(_.Yc(h)):f.resolve(l)});e&&b.AO&&!b.QN&&(this.O[e]=d,this.H[e]=b,d.Gb=
!0,d.listen("uploadprogress",function(h){h.lengthComputable&&c.V.notify([b.AO],b.OSa?h.loaded/h.total:h.loaded/h.total/2)}),b.OSa||d.listen("downloadprogress",function(h){h.lengthComputable&&c.V.notify([b.AO],h.loaded/h.total/2+.5)}));d.send(a.uri,a.method,a.body,a.headers);return f.promise}catch(h){return _.Yh(_.Yc(h))}};Alc.prototype.cancel=function(a){var b=this.O[a];a=this.H[a];return b&&b.isActive()?(a.MFa=!0,b.abort(),!0):!1};
_.Blc=function(a,b,c,d,e,f,h){this.O=a;this.wa=b;this.Ba=c;this.ta=d;this.ma=e;this.ha=f;this.H=h;this.V=[];this.ka=new clc(this.O);this.W=new Alc(this.O,this.wa)};_.g=_.Blc.prototype;
_.g.execute=function(a){for(var b=[],c=[],d=0;d<a.length;d++){var e=a[d].Pv;this.V.push(e);b.push(this.Ba.convert(e,a[d].UD));c.push(dkc(e.ex)?_.hkc(this.ma,e.ex):void 0)}if(this.H&&this.H.V){var f=Promise.reject(_.Yc(_.ugc(0,"",{},"",void 0,-99)));return a.map(function(){return f})}var h=new tlc(this.O,this.W,this.ka,this.H||void 0,this.ha||void 0);d=[];e={};for(var k=0;k<a.length;e={pra:e.pra},k++){e.pra=a[k].Pv.config;var l=b[k].then(function(p){return function(q){return h.add(q,p.pra)}}(e));d.push(l)}Promise.allSettled(b).then(function(){h.send()});
b=[];for(e=0;e<a.length;e++)k=a[e].Pv,l=d[e].then(this.apb.bind(this,k.ex,c[e],a[e].UD)).then(null,function(p){return Promise.reject(_.Yc(p))}),l.then(this.FNa.bind(this,k),this.FNa.bind(this,k)),b.push(l);return b};_.g.apb=function(a,b,c,d){a=this.ta.convert(a,d,c);b&&a.then(function(e){e=e.zd?e.zd():[];_.ikc(b,e)});return a};_.g.cancel=function(a){return this.W.cancel(a)};_.g.mK=function(){return this.V.some(function(a){return _.zJ(a.ex)})};_.g.FNa=function(a){_.xa(this.V,a)};
_.Clc=function(){};_.Clc.prototype.execute=function(){return null};
var Dlc=function(){};
var Elc=function(a,b){this.H=a;this.retryCount=b};
_.rK=function(a){return function(b){return b.kind===a}};
_.Flc=function(a,b,c,d,e){this.id=a;this.jwt=b;this.currentKaclsId=c;this.currentKaclsName=void 0===d?"":d;this.customerId=void 0===e?"":e};
var Glc;Glc=function(a){this.H=a};_.sK=function(a,b){if(!_.Ea(b)||null===b)throw new _.Uc("Expected an object, but got a "+_.Aga(b)+".",_.BI(11,void 0,8));if(null===b||void 0===b||void 0===b.kind)throw new _.Uc("Expected 'kind' parameter in response: "+JSON.stringify(b),_.BI(11,void 0,21));var c=b.kind;if(!a(b))throw new _.Uc("Unexpected response type: "+c+".",_.BI(11,void 0,9));};_.tK=function(a){return null!=a?(new Date(a)).getTime():void 0};
_.Hlc=function(a){var b=null!=a.canDelete?a.canDelete:a.canDeleteTeamDrive;var c=new _.tk;c=_.u(c,1,a.canAddChildren);c=_.u(c,18,a.canChangeTeamDriveBackground);c=_.u(c,2,a.canComment);c=_.u(c,3,a.canCopy);b=_.u(c,4,b);b=_.u(b,5,a.canDownload);b=_.u(b,6,a.canEdit);b=_.u(b,10,a.canManageMembers);b=_.u(b,11,a.canManageVisitors);b=_.u(b,20,a.canMoveItemIntoTeamDrive);b=_.u(b,17,a.canMoveTeamDriveItem);b=_.vhc(b,a.canReadTeamDrive);b=_.u(b,7,a.canRemoveChildren);b=_.u(b,12,a.canRename);b=_.u(b,13,a.canRenameTeamDrive);
b=_.u(b,8,a.canShare);b=_.u(b,9,a.canTrash);b=_.u(b,21,a.canUntrash);b=_.u(b,27,a.canModifyContentRestriction);b=_.u(b,26,a.canShareOutsideDomain);b=_.u(b,30,a.canMoveItemWithinTeamDrive);b=_.u(b,31,a.canMoveItemOutOfTeamDrive);b=_.u(b,32,a.canMoveChildrenWithinTeamDrive);b=_.u(b,33,a.canMoveChildrenOutOfTeamDrive);b=_.u(b,34,a.canDeleteChildren);b=_.u(b,35,a.canTrashChildren);b=_.u(b,36,a.canRequestApproval);b=_.u(b,37,a.canReadCategoryMetadata);b=_.u(b,38,a.canEditCategoryMetadata);b=_.u(b,39,a.canChangeCategoryReferences);
b=_.u(b,49,a.canSetMissingRequiredFields);b=_.u(b,40,a.canAddMyDriveParent);b=_.u(b,41,a.canRemoveMyDriveParent);b=_.u(b,42,a.canShareChildFiles);b=_.u(b,43,a.canShareChildFolders);b=_.u(b,44,a.canRead);b=_.u(b,45,a.canMoveItemWithinDrive);b=_.u(b,46,a.canMoveItemOutOfDrive);b=_.u(b,47,a.canMoveChildrenWithinDrive);b=_.u(b,48,a.canAddFolderFromAnotherDrive);b=_.u(b,50,a.canChangeSecurityUpdateEnabled);b=_.u(b,51,a.canRemoveSecureLinkUpdateForAllFiles);b=_.u(b,52,a.canCreateDecryptedCopy);b=_.u(b,
53,a.canCreateEncryptedCopy);b=_.u(b,54,void 0===a.canAddEncryptedChildren?a.canAddChildren:a.canAddEncryptedChildren);return _.u(b,55,a.canBlockOwner)};_.uK=function(a,b){_.sK(_.rK("drive#user"),b);var c=_.thc(_.uhc(_.rhc(1).Nb(b.permissionId),b.id).Yc(b.displayName),b.emailAddress);b.picture&&c.Ln(b.picture.url);_.dI(a.H)&&_.thc(c,b.emailAddressFromAccount||b.emailAddress);_.shc(c,a.jf(b.id));c.Kn(b.domain);return c};Glc.prototype.jf=function(a){if(a)return _.MJ(_.VH(this.H))==a};
var Ilc,Nlc,Vlc,amc,Qlc,Plc,Slc,Ulc,Wlc,Klc,Ylc,Xlc,Zlc,$lc,cmc,dmc,bmc,Tlc;Ilc=function(a,b){this.H=a;this.O=b};
_.Llc=function(a,b,c){var d=new _.lK,e=new _.UH,f=e.cB,h=[];if(_.rK("drive#file")(b))(a=_.Jlc(a,b))&&h.push(a);else if(_.rK("drive#fileList")(b))for(var k=b.items||[],l=0;l<k.length;l++){var p=_.Jlc(a,k[l]);h.push(p)}e=f.call(e,h);if(_.rK("drive#fileList")(b)){_.u(e,8,b.incompleteSearch);if(h=b.spellResponse){f=[];var q=_.m(h.spellCorrections);for(a=q.next();!a.done;a=q.next()){h=[];a=_.m(a.value.spellFragments);for(k=a.next();!k.done;k=a.next())k=k.value,l=(new _.aec).Bc(Klc.get(k.status)),l=_.u(l,
1,k.original),k=_.u(l,3,k.correction),h.push(k);a=new _.eec;h=_.sj(a,1,h);f.push(h)}q=new _.gec;_.sj(q,1,f)}if((f=b.suggestedNlpQueries)&&0<f.length){var r=new _.cec;_.qj(r,1,f)}q||r?(f=new _.hec,q&&_.E(f,1,q),r&&_.E(f,2,r),r=f):r=null;_.E(e,7,r);r=[];f=_.m(b.items||[]);for(q=f.next();!q.done;q=f.next())q=q.value,h=q.id,!h||"1"!=q.searchResultSource&&"3"!=q.searchResultSource||r.push(h);_.qj(e,18,r)}d=_.jkc(d,e);c=_.qgc(c);c=_.u(d,2,c);_.rK("drive#fileList")(b)&&b.nextPageToken&&_.u(c,3,b.nextPageToken);
return c};Nlc=function(a,b,c,d,e){var f=_.Bic(new _.yJ,c);_.rK("drive#adminFile")(b)?(c=(new _.Bk).Nb(b.id),b.parentId&&_.HJ(c,[b.parentId]),_.Ihc(c,b.teamDriveId),f.setItem(c),_.Bic(f,c.getId())):_.rK("drive#file")(b)?(b=_.Jlc(a,b),f.setItem(b),c||_.Bic(f,b.getId())):_.rK("drive#revision")(b)&&(b=_.Mlc(a,b),_.E(f,4,b));f.mda(_.pgc(d));f.cda(_.qgc(d));(d=(d=d&&_.ogc(d))&&d["x-server-object-version"])&&e&&(e=(new _.SJ).Nb(d),_.E(f,4,e));f.Bc(1);return f};_.Olc=function(a,b){return _.Bic(new _.yJ,a).Bc(1).mda(_.pgc(b)).cda(_.qgc(b))};
_.Rlc=function(a,b){var c=_.shc(_.uhc(_.rhc(Plc.get(b.type)).Nb(b.id),b.userId),a.H.jf(b.userId));c=_.u(c,4,b.withLink);c=_.thc(c.Yc(b.name).Ln(b.photoLink),b.emailAddress).Kn(b.domain);c=_.u(c,10,b.deleted);c=_.u(c,12,b.audienceId);c=_.u(c,13,b.customerId);_.dI(a.O)&&c.Yc(b.nameIfNotUser);b.role&&(a=Qlc.get(b.role),2==a&&b.additionalRoles&&"commenter"==b.additionalRoles[0]?a=4:2==a&&"published"==b.view&&(a=6),_.u(c,6,a));return c};
_.Jlc=function(a,b){var c=b.title,d=(new _.Bk).Nb(b.id),e=[];if(b&&b.parents)for(var f=_.m(b.parents),h=f.next();!h.done;h=f.next())e.push(h.value.id);c=_.Ehc(_.UF(_.HJ(d,e).setTitle(c),b.mimeType),b.alternateLink);c=_.u(c,44,b.hasThumbnail);null!=b.thumbnailVersion&&_.u(c,90,Number(b.thumbnailVersion));_.u(c,21,b.iconLink);c.fl(b.description);_.u(c,26,b.explicitlyTrashed);_.u(c,22,b.shared);null!=b.quotaBytesUsed&&_.u(c,28,Number(b.quotaBytesUsed));null!=b.fileSize&&_.u(c,14,Number(b.fileSize));
_.u(c,30,b.copyable);b.labels&&(d=b.labels,c.Zv(d.starred),_.u(c,6,d.hidden),c.Mn(d.trashed),_.u(c,8,d.restricted),_.u(c,9,d.viewed));_.u(c,10,_.tK(b.createdDate));_.u(c,69,_.tK(b.serverCreatedDate));_.u(c,11,_.tK(b.modifiedDate));_.u(c,12,_.tK(b.modifiedByMeDate));_.u(c,13,_.tK(b.lastViewedByMeDate));_.u(c,23,_.tK(b.sharedWithMeDate));_.u(c,62,_.tK(b.Zcc));_.u(c,70,_.tK(b.recency));b.recencyReason&&(d=Slc.get(b.recencyReason)||0,_.u(c,71,d));d=[];if(b&&b.owners)for(e=b.owners,f=0;f<e.length;f++)(h=
_.uK(a.H,e[f]))&&d.push(h);_.Chc(c,d);b.lastModifyingUser&&(d=_.uK(a.H,b.lastModifyingUser),_.Dhc(c,d));b.userPermission&&(d=Qlc.get(b.userPermission.role),_.lVb(c,d));b.imageMediaMetadata&&(e=b.imageMediaMetadata,d=(new _.EJ).lh(e.width).yh(e.height),d=_.u(d,4,e.rotation),e.date&&(e=e.date,f=new _.VMa,f.setMilliseconds(0),Tlc.parse(e,f),_.u(d,1,f.getTime())),_.E(c,27,d));null!=b.folderColor&&_.Fhc(c,Number(b.folderColor));_.u(c,31,b.subscribed);_.u(c,45,b.fileExtension);_.qj(c,50,b.folderFeatures);
_.u(c,36,b.flaggedForAbuse);_.u(c,53,b.gplusMedia);_.u(c,46,b.primarySyncParentId||void 0);_.u(c,35,b.hasChildFolders);b.source&&(_.u(c,42,b.source.client_service_id),_.u(c,43,b.source.value));b.sharingUser&&(d=_.uK(a.H,b.sharingUser),_.Ghc(c,d));b.sources?_.qj(c,56,b.sources):b.gplusMedia&&_.qj(c,56,["GOOGLE_PHOTOS"]);if(b.spaces){d=b.spaces;e=[];for(f=0;f<d.length;f++)h=d[f],_.mfc[h]&&(h=_.Af(new _.zf,_.mfc[h]),e.push(h));c.NA(e)}_.u(c,63,b.ownedByMe);_.u(c,29,b.shareable);b.sourceAppId&&_.u(c,
61,b.sourceAppId);_.u(c,74,b.changed);null!=b.recursiveFileSize&&_.u(c,77,Number(b.recursiveFileSize));null!=b.recursiveFileCount&&_.u(c,79,Number(b.recursiveFileCount));if(b.actionItems){d=b.actionItems;e=[];for(f=0;f<d.length;f++){var k=d[f];k.id&&k.type&&(h=(new _.Rna).Nb(k.id),k=Ulc.get(k.type),h=_.u(h,2,k),e.push(h))}_.sj(c,83,e)}b.capabilities&&_.IJ(c,_.Hlc(b.capabilities));b.permissionsSummary&&_.Jhc(c,Vlc(a,b.permissionsSummary));b.headRevisionId&&_.u(c,78,b.headRevisionId);b.templateData&&
(d=b.templateData,e=(new _.FJ).fl(d.description),f=Wlc.get(d.galleryState),e=_.u(e,3,f),d=_.qj(e,2,d.category),_.E(c,86,d));_.Ihc(c,b.teamDriveId);_.u(c,76,b.hasAugmentedPermissions);_.u(c,137,b.ancestorHasAugmentedPermissions);b.creator&&(d=_.uK(a.H,b.creator),_.Khc(c,d));_.Lhc(c,b.primaryDomainName);_.Mhc(c,b.organizationDisplayName);_.u(c,94,b.passivelySubscribed);b.trashingUser&&_.Nhc(c,_.uK(a.H,b.trashingUser));c.qda(_.tK(b.trashedDate));b.version&&_.u(c,75,Number(b.version));_.u(c,98,b.hasVisitorPermissions);
_.u(c,102,b.hasAppsScriptAddOn);if(d=b.pairedDocType)d=Xlc.get(d),_.u(c,101,d);b.videoMediaMetadata&&(d=b.videoMediaMetadata,e=(new _.GJ).lh(d.width).yh(d.height),d.durationMillis&&_.u(e,3,Number(d.durationMillis)),_.E(c,103,e));_.qj(c,104,b.detectors);_.u(c,108,b.containsUnsubscribedChildren);if(b.contentRestrictions){d=[];e=_.m(b.contentRestrictions);for(f=e.next();!f.done;f=e.next())f=f.value,h=(new _.vk).$O(f.readOnly),f=_.u(h,2,f.reason),d.push(f);_.sj(c,125,d)}if(d=b.publishingInfo)_.u(c,118,
d.published),_.u(c,119,d.publishedUrl);_.qj(c,120,b.workspaceIds);b.approvalMetadata&&b.approvalMetadata.approvalVersion&&_.u(c,126,b.approvalMetadata.approvalVersion);if(b.approvalMetadata&&b.approvalMetadata.approvalSummaries){d=[];e=_.m(b.approvalMetadata.approvalSummaries);for(f=e.next();!f.done;f=e.next())f=f.value,f=(new _.Tna).Nb(f.approvalId).Bc(Ylc.get(f.status)),d.push(f);_.sj(c,127,d)}b.shortcutDetails&&(d=b.shortcutDetails,e=new _.boa,e=_.u(e,1,d.targetId),e=_.u(e,3,d.targetMimeType),
e=_.u(e,6,d.canRequestAccessToTarget),d.targetLookupStatus&&(f=Zlc.get(d.targetLookupStatus)||0,_.u(e,4,f)),d.targetFile&&(d=_.Jlc(a,d.targetFile),_.E(e,5,d)),_.E(c,132,e));b.clientEncryptionDetails&&(d=b.clientEncryptionDetails,e=new _.DJ,f=$lc.get(d.encryptionState),e=_.u(e,1,f),d.decryptionMetadata&&(d=amc(d.decryptionMetadata),_.E(e,2,d)),_.E(c,138,e));b.linkShareMetadata&&(d=b.linkShareMetadata,e=new _.xhc,e=_.u(e,2,d.securityUpdateEligible),e=_.u(e,3,d.securityUpdateEnabled),d=_.u(e,5,d.securityUpdateExplicitlySet),
_.E(c,139,d));_.u(c,140,b.resourceKey);_.qj(c,135,b.authorizedAppIds);_.Ohc(c,b.customerId);_.u(c,144,b.abuseIsAppealable);b.abuseNoticeReason&&(b=bmc.get(b.abuseNoticeReason)||0,_.u(c,145,b));_.Egc(c);_.dI(a.O)&&_.Hhc(c,5);return c};
_.Mlc=function(a,b){var c=(new _.SJ).Nb(b.id);c=_.u(c,2,b.mimeType);c=_.u(c,3,_.tK(b.modifiedDate));c=_.u(c,4,b.pinned);c=_.u(c,5,b.downloadUrl);c=_.u(c,7,b.originalFilename);null!=b.fileSize&&_.u(c,8,Number(b.fileSize));b.lastModifyingUser&&(a=_.uK(a.H,b.lastModifyingUser),_.E(c,9,a));b.decryptionMetadata&&(b=amc(b.decryptionMetadata),_.E(c,10,b));return c};
Vlc=function(a,b){return _.Ahc(_.zhc(_.yhc(new _.Xna,b.entryCount),(b.visibility||[]).map(function(c){var d=_.rhc(Plc.get(c.type)).Kn(c.domain);d=_.u(d,4,c.withLink).Nb(c.type+"|"+(c.domain||"")+"|"+c.withLink);if(c.role){var e=Qlc.get(c.role);2==e&&c.additionalRoles&&"commenter"==c.additionalRoles[0]&&(e=4);_.u(d,6,e)}return d})),(b.selectPermissions||[]).map(function(c){return _.Rlc(a,c)}))};
amc=function(a){var b=a.wrappedKey;var c=new _.whc;b=b?_.kec(b):void 0;c=_.u(c,1,b);c=_.u(c,2,Number(a.kaclsId));c=_.u(c,5,a.kaclsName);b=cmc.get(a.aes256GcmChunkSize);c=_.u(c,3,b);b=dmc.get(a.keyFormat);c=_.u(c,6,b);return _.u(c,4,a.jwt)};Qlc=new Map([["fileOrganizer",7],["organizer",5],["owner",1],["reader",2],["writer",3]]);Plc=new Map([["anyone",4],["audience",5],["domain",3],["group",2],["user",1]]);Slc=new Map([["createdByMe",1],["modifiedByMe",2],["modified",3],["viewedByMe",4]]);
Ulc=new Map([["MENTION",0],["SUGGESTION",1],["ASSIGNMENT",2]]);Wlc=new Map([["UNAVAILABLE",1],["AVAILABLE",2],["PENDING",3]]);Klc=new Map([["CORRECT",1],["INCORRECT",2],["SUSPICIOUS",3]]);Ylc=new Map([["IN_PROGRESS",1],["APPROVED",2],["CANCELLED",3]]);Xlc=new Map([["docs",1],["sheets",2],["slides",3]]);Zlc=new Map([["ok",1],["notFound",2],["permissionDenied",3]]);$lc=new Map([["unencrypted",1],["encrypted",2]]);cmc=new Map([["unset",0],["default",1],["small",2],["size16kb",3]]);
dmc=new Map([["unsetKeyFormat",0],["tinkKeyset",1],["tinkAesGcmKey",2]]);bmc=new Map([["unknownReason",0],["accessibleOnlyToOwner",1],["accessibleOnlyToOwningCustomer",2],["suspiciousOther",3],["suspiciousPhishing",4],["suspiciousMalware",5],["accessibleOnlyToOwnerInSomeRegions",6],["accessibleOnlyToOwningCustomerInSomeRegions",7],["suspiciousInSomeRegions",8]]);Tlc=new _.BVa("yyyy:MM:dd HH:mm:ss");
var emc=function(a,b,c){this.O=a;this.H=b;this.V=c};
var gmc,imc;_.fmc=function(a){this.V=a;this.W=new Glc(a);this.DF=new Ilc(this.W,a);this.V=a};
_.fmc.prototype.convert=function(a,b,c){c=void 0===c?[]:c;try{var d=this.ka(a,b);if(d)var e=Promise.resolve(d);else{if(a instanceof _.JI)var f=Promise.resolve(_.vK(this,a,b));else{if(a instanceof _.SI)var h=gmc(this,0,b,c);else{if(a instanceof _.NF||a instanceof _.VI){var k=Promise,l=k.resolve;if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#fileList"),_.rK("drive#file")),b.json);var p=_.Llc(this.DF,b.json,b.headers);var q=l.call(k,p)}else{if(a instanceof _.vJ)k=Promise.resolve(_.vK(this,a,b));else{if("undefined"!=
typeof _.Rgc&&a instanceof _.Rgc){var r=Promise,v=r.resolve;if(!b.json)throw _.wK();_.sK(_.rK("drive#generateCseTokenResponse"),b.json);var z=b.json;var A=v.call(r,new _.Flc(z.fileId,z.jwt,Number(z.currentKaclsId),z.currentKaclsName,z.customerId))}else{if("undefined"!=typeof _.hmc&&a instanceof _.hmc){var B=Promise,F=B.resolve;if(!b.json)throw _.wK();_.sK(_.rK("drive#revision"),b.json);var G=_.Mlc(this.DF,b.json);r=F.call(B,G)}else{if(a instanceof _.gJ)B=gmc(this,a.jd(),b,c);else{if(a instanceof Vgc){l=
Promise;var M=l.resolve;if(a.U_a){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#file"),_.rK("drive#adminFile"),_.rK("drive#revision")),b.json);var N=Nlc(this.DF,b.json,null,b.headers,!!a.revisionId)}else N=_.Olc(null,b.headers);var T=M.call(l,N)}else{if(a instanceof Ugc){a=Promise;var Y=a.resolve,ba=_.ogc(b.headers),ea=ba.location;if(!ea){var la=_.zI(new _.Tc,10);throw new _.Uc("No upload session URI included.",la);}var va=new emc(ea,_.pgc(ba),_.qgc(ba));var Ba=Y.call(a,va)}else Ba=a instanceof _.Zgc?
Promise.resolve(new Dlc):Promise.reject(new _.Uc("FromXhrConverter: Unsupported request type.",new _.Tc));T=Ba}B=T}r=B}A=r}k=A}q=k}h=q}f=h}e=f}return e}catch(Ja){return Promise.reject(_.Yc(Ja))}};_.fmc.prototype.ka=function(){return null};
gmc=function(a,b,c,d){b=c.headers["x-goog-safety-encoding"];return"base64"===b?0<_.Bj(a.V,95,0)?imc(c.text,_.Bj(a.V,95,0)).then(function(e){return new Elc(e,d.length)}):Promise.resolve(new Elc(_.bba(c.text),d.length)):b?Promise.reject(Error("ig")):Promise.resolve(new Elc(new Uint8Array(_.Bma(c.text)),d.length))};
imc=function(a,b){return new Promise(function(c){for(var d=[],e={OZ:0};e.OZ<Math.floor(a.length/b);e={OZ:e.OZ},e.OZ++)_.Ai(function(f){return function(){d.push(_.bba(a.slice(f.OZ*b,(f.OZ+1)*b)))}}(e),0);_.Ai(function(){d.push(_.bba(a.slice(Math.floor(a.length/b)*b,a.length)))},0);_.Ai(function(){var f=d.map(function(l){return l.byteLength}).reduce(function(l,p){return l+p});f=new Uint8Array(f);for(var h=0,k=0;k<d.length;k++)f.set(d[k],h),h+=d[k].byteLength;c(f)},0)})};
_.vK=function(a,b,c){if(!c.json){if(b instanceof _.oI)return _.Olc(_.jmc(b));throw _.wK();}var d=!1;b instanceof _.vJ&&(d=!!_.x(b.request,12));_.sK(_.AI(_.rK("drive#file"),_.rK("drive#adminFile"),_.rK("drive#revision")),c.json);return Nlc(a.DF,c.json,_.jmc(b),c.headers,d)};_.wK=function(){var a=_.zI(new _.Tc,11);return new _.Uc("FromXhrConverter: JSON required, but none found",a)};_.jmc=function(a){return a.getId?a.getId():a.qc?a.qc():null};
var kmc,mmc,khc,nmc,lhc;kmc={};_.lmc=(kmc[1]="active",kmc[2]="archived",kmc);mmc={};khc=(mmc[0]="unset",mmc[1]="default",mmc[2]="small",mmc[3]="size16kb",mmc);nmc={};lhc=(nmc[0]="unsetKeyFormat",nmc[1]="tinkKeyset",nmc[2]="tinkAesGcmKey",nmc);
var qmc=function(a,b,c){return(a.GQ?a.GQ(0,a.file.size):Promise.resolve(a.file)).then(function(d){return Hkc(d)}).then(function(d){return omc(a,b,d,c)},pmc)},omc=function(a,b,c,d){var e=!!_.x(a.request,12),f={},h="files";e&&(h+="/"+_.x(a.request,12));h=new _.Yi(h);f.uploadType="multipart";f.supportsTeamDrives=!0;f.pinned=!!_.Q(a.request,13,!1);null!=_.P(a.request,8)&&(f.convert=_.P(a.request,8));f.fields=_.zgc({fields:_.TJ(b).filter(function(q){return 194!=q}),anonymous:!1});Fgc(f,h);Ggc(h,a.request.se());
var k=phc(a.request,a.metadata);f=_.qh();b={};b=(b["content-type"]=_.Ks('multipart/related; boundary="%s"',f),b);var l=c.indexOf(",");c=0<=l?c.substring(l+1):"";k=JSON.stringify(k);l={};l=(l["content-type"]="application/json; charset=UTF-8",l);var p={};p=(p["content-transfer-encoding"]="base64",p);a.request.getMimeType()&&(p["content-type"]=a.request.getMimeType());_.CJ(d,_.zb(a.request,_.bl,28),[],null,b);a="--"+f;a=a+"\r\n"+Igc(l)+"\r\n"+k+"\r\n"+a+"\r\n"+Igc(p)+"\r\n"+c+"\r\n"+a+"--";return{$m:2,
headers:b,method:e?"PUT":"POST",uri:h,body:a}},pmc=function(a){if(a instanceof _.Dvb){var b=new _.Tc;_.Gp(b,"fs.Error: "+a.message);a=(a=a.name)?_.QEa.get(a)||25:38;_.zI(b,a);b=_.Yc(b)}else b=_.CI(a);return Promise.reject(b)};
_.xK=function(a,b,c,d){this.H=a;this.Dg=b;this.O=c;this.Zf=d};_.xK.prototype.convert=function(a,b){try{return a.ex instanceof _.vJ?qmc(a.ex,this.Dg,this.H):Promise.resolve(this.V(a.ex,a.config,b))}catch(c){return c instanceof _.Uc?a=c.ug:(a=new _.Tc,_.Gp(a,"Error converting XHR: "+c.message),_.Hp(a,c.stack),_.zI(a,4)),Promise.reject(a)}};
_.xK.prototype.V=function(a,b,c){var d=0,e,f={},h="GET",k={},l=!1,p=!1;if(a instanceof _.JI){h=(e=!!_.x(a,12))?"PUT":"POST";var q="files";e&&(q+="/"+_.x(a,12),k.pinned=!!_.Q(a,13,!1));null!=_.P(a,8)&&(k.convert=_.P(a,8));k.fields=_.zgc({fields:this.dh(c),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)});e=phc(a);f["content-type"]="application/json";var r=a.se();p=!0;k.supportsTeamDrives=!0;_.Q(this.H,3,!1)&&(k.enforceSingleParent=!0);_.CJ(this.H,_.zb(a,_.bl,28),_.oe(a,3).concat([_.x(a,16),a.n2(),a.qc()]),
this.O,f)}else if(a instanceof _.SI||a instanceof _.gJ)a instanceof _.gJ?(l=a.jd(),_.lj(a,2)&&(q="bytes="+_.x(a,2)+"-",_.lj(a,3)&&(q+=_.x(a,3)),f.range=q)):l=a,b.cSb=!0,q="files/"+l.getId(),_.x(l,2)&&(k.revisionId=_.x(l,2)),k.alt="media",f["X-Goog-Encode-Response-If-Executable"]="base64",_.CJ(this.H,[_.dl((new _.bl).Nb(l.getId()),_.x(l,3))],[l.getId()],this.O,f),p=l=!0;else if(a instanceof _.VI||a instanceof _.NF){if(a instanceof _.VI){q=_.x(a,1);var v=_.w(a,_.NF,2)}else if(a instanceof _.NF)q=0,
v=a,a.Em(),_.iK(this.Zf,190196159);else throw Error("jg");var z=v.Em()[q];q="files/"+z;a=_.za(this.dh(c),this.dh(c,v.H()));_.Ga(a);k.fields=_.zgc({fields:a,anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)});k.supportsTeamDrives=!0;_.rmc(this.H,k);_.Q(this.H,14,!1)&&(k.useLegacyDomainPermissionBehavior=!1);this.W(z,k);r=v.se();p=!0;_.P(v,7)&&(b.fDa=!0);_.CJ(this.H,_.zb(v,_.bl,11).filter(function(B){return B.getId()==z}),[z],this.O,f)}else if("undefined"!=typeof _.Rgc&&a instanceof _.Rgc)q="files/generateCseToken",
a.id&&(k.fileId=a.id),k.role=a.role,r=a.H;else if("undefined"!=typeof _.hmc&&a instanceof _.hmc)k.fields="kind,id,modifiedDate,originalFilename,fileSize,mimeType,decryptionMetadata(wrappedKey,kaclsId,aes256GcmChunkSize,jwt,keyFormat)",q="files/"+a.id+"/revisions/"+a.revisionId,p=l=!0;else if(a instanceof Vgc){d=4;h="PUT";q=a.V;a.contentType&&(f["content-type"]=a.contentType);if(a.O>=a.H){var A=a.H;b=a.O;f["content-range"]=a.U_a?_.Ks("bytes %d-%d/%d",A,b,b+1):_.Ks("bytes %d-%d/*",A,b)}A=a.blob;p=!0}else a instanceof
Ugc?(d=2,h=(e=!!_.x(a.request,12))?"PUT":"POST",q="files",e&&(q+="/"+_.x(a.request,12)),k.uploadType="resumable",k.pinned=!!_.Q(a.request,13,!1),null!=_.P(a.request,8)&&(k.convert=_.P(a.request,8)),k.fields=_.zgc({fields:this.dh(c).filter(function(B){return 194!=B}),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)}),k.supportsTeamDrives=!0,e=phc(a.request,a.metadata),f["content-type"]="application/json",null!=a.request.getMimeType()&&(f["x-upload-content-type"]=a.request.getMimeType()),_.CJ(this.H,[],
_.oe(a.request,3),this.O,f),r=a.request.se(),p=!0):a instanceof _.Zgc?(q="about",k.fields="kind",r=a.H,p=!0):_.smc(a);p&&_.tmc(c,k);0!=d||l||r&&_.x(r,1)||_.iK(this.Zf,74438989);return _.umc(this,d,q,k,f,h,r,e,A)};
_.umc=function(a,b,c,d,e,f,h,k,l){c=new _.Yi(c);[10,12,13].includes(b)||Ggc(c,h);(a=a.H.Ki())&&(e["X-Goog-Drive-Client-Version"]=a);d=_.m(Object.entries(d));for(a=d.next();!a.done;a=d.next())h=_.m(a.value),a=h.next().value,h=h.next().value,_.ej(c,a,h);return{$m:b,headers:e,method:f,uri:c,body:k?JSON.stringify(k):l}};_.rmc=function(a,b){_.Q(a.Tf(),23,!1)&&(b.includePermissionsForView="published")};_.xK.prototype.W=function(){};
_.tmc=function(a,b){a&&a.length?(b.retryCount=a.length,b.msSinceLastAttempt=Date.now()-_.ja(a).rTb):b.retryCount=0};_.xK.prototype.dh=function(a,b){b||(b=_.TJ(this.Dg));0<a.length&&(b=b.slice(0),_.jaa(b,function(c){return zic.includes(c)}));return b};_.smc=function(a){var b=_.zI(new _.Tc,4);throw new _.Uc("ToXhrConverter: Unsupported request type: "+ahc(a),b);};
_.yK=function(a,b,c,d,e,f){_.yi.call(this);var h=this;this.O=a;this.V=b;this.Ba=c;this.W=d;this.wa=e;this.ta=f;this.Zi={};this.ha={};this.Zf=null;_.df(this,function(){h.uG()})};_.J(_.yK,_.yi);_.yK.prototype.LQ=function(){return _.uI()};
_.yK.prototype.upload=function(a,b,c,d){gkc(this.V,"UploadTotalCount");var e=a.ij();if(e&&this.Zi[e])throw new _.Uc("Upload requested with a duplicate request ID.");var f=_.oe(a,10);if(f&&f.length){if(1!==f.length)throw new _.Uc("Multi-parented uploads are not supported.");var h=this.Zi[f[0]];if(!h)throw new _.Uc("The parent upload request must precede this request.");}!_.x(a,26)&&b&&b.lastModified&&_.u(a,26,b.lastModified);e||(e=this.LQ(),_.u(a,9,e));a=a.clone();f=vmc(this,e);this.Zi[e]={request:a,
file:b,Ze:f,OM:!1,Gu:0,success:!1,QE:!1,children:[],metadata:c,ema:void 0,GQ:d};h?wmc(this,e,h):this.ka(e);return f.an()};
var vmc=function(a,b){var c=new _.bi;c.Uf(_.fb(a.Fa,b),_.fb(a.Ia,b),a);return c},wmc=function(a,b,c,d){var e=a.Zi[b];c.children.push(b);_.Ga(c.children);c.Ze.then(function(f){if(1===f.Cb()&&(f=f.qc(),_.oe(e.request,3).push(f),_.YH(e.request,10),!c.QE||d)){a.ka(b);return}a.log('[Cancel] Upload of "'+e.request.getTitle()+'" was cancelled due to parent upload cancellation.');a.cancel(b)},function(f){e.Ze.Ed(_.jI(f)?f:Error(f))})};
_.yK.prototype.Fa=function(a,b){gkc(this.V,"UploadSuccessCount");a=this.Zi[a];a.success=1===b.Cb();(b=a.ema)&&!a.QE&&(oic(qic(djc(b),a.Gu),!0),b.xj())};_.yK.prototype.Ia=function(a,b){var c=_.w(this.O,_.yI,58);c&&_.Q(c,1,!1)&&(this.ha[a]=b);gkc(this.V,"UploadFailureCount");c=this.Zi[a];(a=c.ema)&&!c.QE&&(oic(qic(djc(a),c.Gu),!1),b=(c=b&&b.ug)&&c.Uj(),c=c&&c.Gp(),b?pic(djc(a),xmc.get(b)||13):c&&pic(djc(a),ymc.get(c)||0),a.xj())};
_.yK.prototype.ka=function(a){var b=this.Zi[a];if(!b.OM){b.OM=!0;a=this.Zi[a];var c=a.request,d=_.w(this.O,_.yI,58);d&&_.Q(d,4,!1)&&(d=c.getTitle().match(zmc))&&(!d[1]||a.Gu<Number(d[1].substr(1)))&&(c=c.clone(),_.sa(_.oe(c,3),"$#@! Invalid parent ID."));a=c;c=(c=b.request.Sz())?_.x(c,1)||0:0;d=b.file&&b.file.size||c;c=this.O.Tf();var e=_.Bj(c,33,1048576);e=b.file&&b.file&&d>e?2:b.file?1:3;if(this.ta&&3!==e){var f=this.ta.H(106012);f&&(b.ema=f,f=djc(f),f=_.u(f,1,2===e?2:1),f=_.u(f,4,!!b.metadata),
f=_.u(f,5,!!_.x(a,12)),d=_.u(f,6,d),_.u(d,7,_.Bj(c,32,1073741824)))}switch(e){case 2:b.file&&Amc(this,new _.Wgc(a,b.file,b.GQ,b.metadata),b.Ze,a.ij());break;case 1:b.file&&(c=b.Ze,d=b.file,e=b.metadata,b=b.GQ,f=_.w(this.O,_.Phc,2),Amc(this,new _.vJ(a,d,b,f&&_.JJ(f)?e:void 0),c,a.ij()));break;case 3:Amc(this,a,b.Ze,a.ij());break;default:throw new _.Uc("Upload type ${uploadType} not supported.");}}};
var Amc=function(a,b,c,d){Vjc(a.Ba,d,a.ma.bind(a,d));_.ai(a.W.then(function(e){return e.Oe(b,{requestId:d})}).then(null,function(e){return Bmc(a,b,e)}),function(){Wjc(a.Ba,[d])}).then(c.callback,c.Ed,c)},Bmc=function(a,b,c){var d=_.Yc(c),e=b instanceof _.vJ&&b.request.qc()||"";c=d.ug;if(e&&8===c.Uj()){a.log("Create failed with 409 Conflict, re-querying: "+e);var f=_.PF(new _.NF,[e]);return _.hi(a.W.then(function(h){return h.Oe(f)}).then(function(h){h=h.ad().zd()[0];var k=b.request;if(h&&!h.Nh()&&
(h.getMimeType()||"").replace(/\s/g,"")===(k.getMimeType()||"").replace(/\s/g,"")&&h.getTitle()===k.getTitle())return a.log("Matching item found for: "+e),_.Bic((new _.yJ).setItem(h),e).Bc(1);a.log("No matching item found for: "+e);return _.Yh(d)}))}return _.ii(d)};_.g=_.yK.prototype;
_.g.cancel=function(a){var b=this,c=this.Zi[a];if(c&&(!c.QE||0!==c.children.length))if(c.QE=!0,c.Ze.Xf())this.log('[Cancel] Response for "'+c.request.getTitle()+'" already received. Cannot cancel.'+(c.children.length?" Attempting to cancel children.":"")),_.Ma(c.children,this.cancel,this);else{var d=c.ema;d&&(pic(oic(qic(djc(d),c.Gu),!1),2),d.xj());var e=_.$h();c.OM?this.W.then(function(f){return void e.resolve(f.cancel(a))}):(c.OM=!0,c.Ze.callback(bhc(c.request)),e.resolve(!0));e.promise.then(function(f){return b.log('[Cancel] Upload of "'+
c.request.getTitle()+'" was '+(f?"cancelled.":"in-flight. Cannot cancel."))})}};_.g.uG=function(){var a=this;_.Ra(this.Zi,function(b,c){a.cancel(c)})};
_.g.retry=function(a){var b=this,c=new Set(a),d=[],e={};a.forEach(function(f){if(!e[f])if(b.Zi[f]){var h=[];do{h.push(f);var k=(_.oe(b.Zi[f].request,10)||[])[0];if(k){var l=b.Zi[k];if(l.success||!l.Ze.Xf()||e[k])break;else if(!c.has(k)){e[f]=new _.Uc("Unable to retry request due to failed parent upload.");break}}f=k}while(f);_.ka(h,function(p){var q=b.Zi[p];q.Gu++;if(!e[p])if(!q.Ze.Xf()||q.success)e[p]=new _.Uc("Unable to retry request.");else{var r=(_.oe(q.request,10)||[])[0];e[r]instanceof _.Uc?
e[p]=e[r]:(q.Ze=vmc(b,p),q.OM=!1,q.QE=!1,(r=r?b.Zi[r]:null)?wmc(b,p,r,!0):d.push(p),e[p]=q.Ze.an())}})}else e[f]=new _.Uc("Retry request with unknown ID.")});a=a.map(function(f){f=e[f];return f instanceof _.bi?f:_.ii(f)});_.Ma(d,this.ka,this);return a};_.g.log=function(){this.isDisposed()};_.g.jd=function(a){return this.Zi[a]};var zmc=/^uploadTestFailMe(\.[1-9])?$/,ymc=new Map([[2,12],[5,1],[27,3],[29,4],[30,5],[31,6],[35,7],[36,8],[37,9],[38,10],[25,11]]),xmc=new Map([[3,14]]);

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g9");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1ga");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gb");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gw");

_.Cmc=function(a,b){return _.u(a,1,b)};_.Dmc=function(a,b){return _.E(a,1,b)};_.Emc=function(a,b){return _.u(a,2,b)};_.Fmc=function(a,b){return _.E(a,3,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g0");


_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1g6");

var Gmc;_.zK=function(a){_.I.call(this,a,-1,Gmc)};_.J(_.zK,_.I);_.zK.prototype.Cb=function(){return _.x(this,1)};_.zK.prototype.Bc=function(a){return _.u(this,1,a)};_.zK.prototype.Kh=function(){return _.zb(this,_.Bk,2)};_.Hmc=function(a,b){return _.sj(a,2,b)};_.zK.prototype.Jq=function(a,b){return _.yj(this,2,a,_.Bk,b)};_.zK.prototype.Wf=function(){return _.x(this,4)};_.Imc=function(a,b){return _.u(a,4,b)};Gmc=[2];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1gz");

_.AK=function(a,b){_.u(a,1,b)};

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1h0");

var Jmc;_.Kmc=function(a){return _.We(a).dh(_.Q(a.get(_.Co),19,!1)?Jmc:_.Ue)};Jmc=[9,42,41,44,38,20,21,16,12,3,10,11,18,14,32,1,67,68,210,7,24,25,159,154,158,155,55,4,83,19,2,6,27];

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("sy1fz");

var Lmc,Mmc,Nmc,Omc,Pmc,BK,Qmc,Rmc,Smc,Tmc,Umc,Wmc,Xmc,Ymc,Zmc,$mc,EK,enc,fnc,FK,GK,gnc,hnc,jnc,knc,lnc,mnc,nnc,pnc,qnc,rnc,snc,tnc,unc,wnc,ync,Fnc,Hnc,Knc,Lnc,Onc,Rnc,KK,Snc,Tnc,Unc,Vnc,Wnc,Xnc,Ync,Znc,$nc,aoc,boc,coc,doc,eoc,foc,hoc,ioc,joc,moc,loc,poc,roc,toc,voc,zoc,Foc,Eoc,Moc,Noc,Ooc,Poc,Qoc,Uoc,Woc,Xoc,Yoc,CK,Zoc,$oc,bnc,anc,cnc,dnc,wqc,PK,RK,Mqc,Pqc,Qqc,Rqc,Uqc,koc,Vqc,wrc,xrc,yrc,zrc,Arc,Crc,Drc,Erc,SK,Frc,TK,Grc,Hrc,Irc,Jrc,Krc,Lrc,UK,Mrc,Nrc,Orc,Prc,Qrc,Rrc,Src,dsc,Csc,Esc,Fsc,Hsc,Isc,
Jsc,Msc,Osc,Ysc,guc,Bnc,huc,iuc,juc,muc,tuc,uuc,zyc,Ayc,Iyc,Syc,azc,izc,ozc,vzc,xzc,Czc,Izc;Lmc=function(a){a={Title:a.getTitle(),Type:a.getMimeType(),Parents:_.oe(a,3),Convert:_.P(a,8),ID:a.ij()};var b=[];_.Ra(a,function(c,d){c&&b.push(d+": "+c)});return b.join("; ")};
Mmc=function(a){var b=[];b.push(Lmc(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.Gu&&b.push("# of retries by client: "+a.Gu);var d="";a.OM?a.Ze.Xf()?a.Ze.Uf(function(){d="Completed successfully."},function(e){d=e instanceof _.ci?"Canceled.":"Completed with failure. See attachment."}):d="In progress.":d="Not yet executed.";b.push("State: "+
d);return b.join("\n")};
Nmc=function(a,b,c,d,e,f){var h=_.Ks("Drive Upload Report: %d/%d failed",_.Va(f),_.Va(e));a=a.Tf();d.push("Batch query interval: "+_.Bj(a,12,10)+"ms");d.push("Max resumable upload chunk size: "+_.Bj(a,32,1073741824)/1024/1024+" MiB");d.push("Max batch upload file size: "+_.Bj(a,33,1048576)/1024/1024+" MiB");d.push("Max files in an upload batch: "+_.Bj(a,35,10)+" files");d.push("Max files in a non-upload batch: "+_.Bj(a,10,50)+" files");d=d.join("\n");var k=[],l=[];_.Ra(e,function(p){l.push(Mmc(p))});k.push({name:"AllUploadRequests.txt",
content:l.join("\n---------\n")});k.push({name:"DataserviceLogs.txt",content:_.yic(b)});_.Ra(f,function(p,q){var r=k.push;q=e[q].request;q=_.Ks('ErrorResponseFor"%s"(ID:%s).txt',q.getTitle()||"",q.ij()||"");var v=p.ug;r.call(k,{name:q,content:p.toString()+"\n"+(v?_.x(v,4):"No detail.")})});return{title:h,description:d,sQ:k,Dd:152391,E9:c,F0:361003}};Omc=function(a){return Array.prototype.concat.apply([],arguments)};Pmc=function(a,b,c){c=_.Ia(a,b,c);return 0>c?(_.ua(a,b,-(c+1)),!0):!1};
BK=function(a){throw _.Yc(a);};Qmc=function(a,b){var c=new _.SH,d=new Set;if(6===a){a=_.m(b);for(b=a.next();!b.done;b=a.next())(b=b.value)?(b=_.h7a.get(b.Cv()))&&d.add(b):d.add(1);0===d.size&&d.add(0)}_.$dc(c,[].concat(_.ec(d)));return c};
Rmc=function(a){var b=[],c={};a=_.m(a);for(var d=a.next();!d.done;c={rfa:c.rfa},d=a.next())if(d=d.value){c.rfa=new Map;[].concat(_.ec(_.Ck(d)),[d.ym(),d.Vr(),d.kq()]).forEach(function(p){return function(q){q&&p.rfa.set(CK(q),q)}}(c));for(var e=[],f=_.m(c.rfa.values()),h=f.next();!h.done;h=f.next())if(h=h.value){var k=h.getName(),l=h.getEmail();e.push(CK(h)+"-"+((k?k.length:k)+"-")+((l?l.length:l)+"-")+_.pk(h))}b.push(d.getId()+","+d.Cv()+","+(e.length?e.join(","):"-"))}return b.length?"People: "+
b.join("|"):""};Smc=function(a){var b=new _.so;b.append("kind,largestChangeId,nextPageToken,");b.append("items(deleted,fileId,id,kind,");b.append(_.DI(a,!0,"file"));a.O7&&(b.append(",teamDriveId,teamDrive("),b.append(a.O7),b.append(")"));b.append(")");return b.toString()};Tmc=function(a){var b=new _.so;b.append("kind,nextPageToken,items(");b.append(_.DI(a,!0));b.append("),incompleteSearch");a.O7&&(b.append(","),b.append(a.O7));return b.toString()};
Umc=function(a,b){for(var c=0;c<b.length;c++){var d=a,e=b[c],f=d.getCapabilities(),h=_.w(d,_.DJ,138),k=_.w(d,_.vk,111),l=_.w(d,_.EJ,27),p=_.w(d,_.xhc,139),q=d.vf(),r=d.Uh(),v=_.w(d,_.GJ,103);switch(e){case 227:_.wb(d,144);break;case 228:_.wb(d,145);break;case 74:_.tj(d,83);break;case 188:_.wb(d,137);break;case 149:_.YH(d,128);break;case 148:_.tj(d,127);break;case 138:_.wb(d,126);break;case 184:_.YH(d,135);break;case 76:f&&_.wb(f,1);break;case 223:f&&_.wb(f,54);break;case 208:f&&_.wb(f,48);break;case 185:f&&
_.wb(f,40);break;case 224:f&&_.wb(f,55);break;case 213:f&&_.wb(f,50);break;case 156:f&&_.wb(f,39);break;case 61:f&&_.wb(f,2);break;case 216:f&&_.wb(f,52);break;case 217:f&&_.wb(f,53);break;case 77:f&&_.wb(f,4);break;case 134:f&&_.wb(f,34);break;case 147:f&&_.wb(f,38);break;case 81:f&&_.wb(f,10);break;case 82:f&&_.wb(f,11);break;case 114:f&&_.wb(f,27);break;case 133:f&&_.wb(f,33);break;case 202:f&&_.wb(f,47);break;case 132:f&&_.wb(f,32);break;case 101:f&&_.wb(f,20);break;case 201:f&&_.wb(f,46);break;
case 131:f&&_.wb(f,31);break;case 200:f&&_.wb(f,45);break;case 130:f&&_.wb(f,30);break;case 93:f&&_.wb(f,17);break;case 191:f&&_.wb(f,44);break;case 146:f&&_.wb(f,37);break;case 90:f&&_.wb(f,16);break;case 78:f&&_.wb(f,7);break;case 186:f&&_.wb(f,41);break;case 222:f&&_.wb(f,51);break;case 85:f&&_.wb(f,12);break;case 137:f&&_.wb(f,36);break;case 209:f&&_.wb(f,49);break;case 79:f&&_.wb(f,8);break;case 189:f&&_.wb(f,42);break;case 190:f&&_.wb(f,43);break;case 80:f&&_.wb(f,9);break;case 135:f&&_.wb(f,
35);break;case 102:f&&_.wb(f,21);break;case 69:_.wb(d,74);break;case 194:h&&_.rj(h,2);break;case 193:h&&_.wb(h,1);break;case 1004:_.wb(d,108);break;case 136:_.tj(d,125);break;case 115:k&&_.wb(k,1);break;case 116:k&&_.wb(k,2);break;case 34:_.wb(d,30);f&&_.wb(f,3);break;case 9:_.wb(d,10);break;case 91:_.rj(d,91);break;case 43:_.wb(d,42);_.wb(d,43);break;case 187:_.wb(d,136);break;case 26:_.wb(d,24);break;case 108:_.YH(d,104);break;case 41:_.wb(d,40);f&&_.wb(f,5);break;case 42:_.wb(d,41);break;case 1005:_.tj(d,
117);break;case 59:f&&_.wb(f,6);break;case 28:_.wb(d,26);break;case 44:_.wb(d,45);break;case 13:_.wb(d,14);break;case 48:_.wb(d,36);break;case 38:_.wb(d,34);break;case 49:_.YH(d,50);break;case 51:_.wb(d,53);break;case 104:_.wb(d,102);break;case 39:_.wb(d,35);break;case 87:_.wb(d,76);break;case 100:_.wb(d,98);break;case 72:_.wb(d,78);break;case 5:_.wb(d,6);break;case 20:_.wb(d,21);break;case 21:break;case 29:l&&_.wb(l,1);break;case 31:l&&_.wb(l,3);break;case 92:l&&_.wb(l,4);break;case 30:l&&_.wb(l,
2);break;case 16:_.rj(d,17);break;case 12:_.wb(d,13);break;case 211:p&&_.wb(p,2);break;case 212:p&&_.wb(p,3);break;case 220:p&&_.wb(p,5);break;case 157:r&&_.tj(r,8);break;case 3:_.wb(d,4);break;case 11:_.wb(d,12);break;case 10:_.wb(d,11);break;case 50:_.wb(d,49);_.wb(d,51);_.rj(d,81);break;case 18:_.wb(d,19);break;case 95:_.wb(d,93);break;case 58:_.wb(d,63);break;case 14:_.tj(d,15);break;case 103:_.wb(d,101);break;case 1:_.YH(d,2);break;case 96:_.wb(d,94);break;case 1003:_.tj(d,107);break;case 75:_.rj(d,
85);break;case 94:_.wb(d,92);break;case 45:_.wb(d,46);break;case 124:_.wb(d,118);break;case 125:_.wb(d,119);break;case 1002:_.rj(d,100);break;case 32:_.wb(d,28);break;case 67:_.wb(d,70);break;case 68:_.wb(d,71);break;case 73:_.wb(d,79);break;case 71:_.wb(d,77);break;case 221:r&&_.wb(r,9);break;case 210:_.wb(d,140);break;case 7:_.wb(d,8);break;case 122:_.rj(d,109);break;case 66:_.wb(d,69);break;case 33:_.wb(d,29);break;case 24:_.wb(d,22);break;case 25:_.wb(d,23);break;case 46:_.rj(d,47);break;case 192:q&&
_.wb(q,6);break;case 159:q&&_.rj(q,5);break;case 154:q&&_.wb(q,1);break;case 158:q&&_.wb(q,4);break;case 155:q&&_.wb(q,3);break;case 52:_.YH(d,56);break;case 56:_.wb(d,61);break;case 55:_.tj(d,60);break;case 4:_.wb(d,5);break;case 35:_.wb(d,31);break;case 57:_.wb(d,62);break;case 83:_.wb(d,72);break;case 84:_.rj(d,86);break;case 19:_.wb(d,20);_.wb(d,44);_.wb(d,90);break;case 2:_.wb(d,3);break;case 6:_.wb(d,7);break;case 98:_.wb(d,96);break;case 97:_.rj(d,95);break;case 27:_.wb(d,25);break;case 70:_.wb(d,
75);break;case 107:v&&_.wb(v,3);break;case 106:v&&_.wb(v,2);break;case 105:v&&_.wb(v,1);break;case 8:_.wb(d,9);break;case 126:_.YH(d,120);break;default:throw Error("Wc`"+e);}}};Wmc=function(a,b){if(0!=a.length){var c=new Set([].concat(_.ec(a),_.ec(Vmc)));a=[].concat(_.ec(_.gdb.keys())).filter(function(e){return!c.has(e)});for(var d=0;d<b.length;d++)Umc(b[d],a)}};
Xmc=function(a,b){var c=a.getCapabilities()||new _.tk,d=_.w(a,_.DJ,138),e=_.w(a,_.vk,111),f=_.w(a,_.EJ,27),h=_.w(a,_.xhc,139),k=a.vf(),l=a.Uh(),p=_.w(a,_.GJ,103);switch(b){case 227:return null!=_.P(a,144);case 228:return null!=_.x(a,145);case 74:return 0<a.hu().length;case 188:return null!=_.P(a,137);case 149:return 0<_.oe(a,128).length;case 148:return 0<a.Uza().length;case 138:return null!=a.O9();case 184:return 0<_.oe(a,135).length;case 76:return null!=_.uk(c);case 223:return null!=_.P(c,54);case 208:return null!=
_.P(c,48);case 185:return null!=_.P(c,40);case 224:return null!=_.P(c,55);case 213:return null!=_.P(c,50);case 156:return null!=_.P(c,39);case 61:return null!=_.P(c,2);case 216:return null!=_.P(c,52);case 217:return null!=_.P(c,53);case 77:return null!=_.P(c,4);case 134:return null!=_.P(c,34);case 147:return null!=_.P(c,38);case 81:return null!=_.P(c,10);case 82:return null!=_.P(c,11);case 114:return null!=_.P(c,27);case 133:return null!=_.P(c,33);case 202:return null!=_.P(c,47);case 132:return null!=
_.P(c,32);case 101:return null!=_.P(c,20);case 201:return null!=_.P(c,46);case 131:return null!=_.P(c,31);case 200:return null!=_.P(c,45);case 130:return null!=_.P(c,30);case 93:return null!=_.P(c,17);case 191:return null!=_.P(c,44);case 146:return null!=_.P(c,37);case 90:return null!=_.Ne(c);case 78:return null!=_.P(c,7);case 186:return null!=_.P(c,41);case 222:return null!=_.P(c,51);case 85:return null!=_.P(c,12);case 137:return null!=_.P(c,36);case 209:return null!=_.P(c,49);case 79:return null!=
_.P(c,8);case 189:return null!=_.P(c,42);case 190:return null!=_.P(c,43);case 80:return null!=_.P(c,9);case 135:return null!=_.P(c,35);case 102:return null!=_.P(c,21);case 69:return null!=_.P(a,74);case 194:return null!=d&&null!=_.w(d,_.whc,2);case 193:return null!=d&&null!=_.x(d,1);case 1004:return null!=_.P(a,108);case 136:return 0<a.A1().length;case 115:return null!=e&&null!=_.P(e,1);case 116:return null!=e&&null!=_.x(e,2);case 34:return null!=_.P(a,30)||null!=_.P(c,3);case 9:return null!=a.gD();
case 91:return null!=a.kq();case 43:return null!=_.x(a,42)||null!=_.x(a,43);case 187:return null!=a.Ui();case 26:return null!=a.yf();case 108:return 0<_.oe(a,104).length;case 41:return null!=_.P(c,5);case 42:return null!=_.x(a,41);case 1005:return 0<_.Gk(a).length;case 59:return null!=_.P(c,6);case 28:return null!=a.VI();case 44:return null!=_.x(a,45);case 13:return null!=a.dM();case 48:return null!=_.P(a,36);case 38:return null!=a.Li();case 49:return 0<_.oe(a,50).length;case 51:return null!=_.P(a,
53);case 104:return null!=_.P(a,102);case 39:return null!=a.Eka();case 87:return null!=_.Dk(a);case 100:return null!=_.P(a,98);case 72:return null!=_.x(a,78);case 5:return null!=_.P(a,6);case 20:return null!=a.af();case 21:return null!=a.getId();case 29:return!(!f||null==_.x(f,1));case 31:return!(!f||null==_.x(f,3));case 92:return!(!f||null==_.x(f,4));case 30:return!(!f||null==f.Ce());case 16:return null!=a.ym();case 12:return null!=a.xz();case 211:return null!=h&&null!=_.P(h,2);case 212:return null!=
h&&null!=_.P(h,3);case 220:return null!=h&&null!=_.P(h,5);case 157:return!(!l||!_.zb(l,_.zk,8));case 3:return null!=a.getMimeType();case 11:return null!=a.xB();case 10:return null!=a.Iq();case 50:return null!=_.P(a,49)||null!=_.P(a,51)||null!=a.Sm();case 18:return null!=a.mq();case 14:return 0<_.Ck(a).length;case 95:return null!=a.Dl();case 58:return null!=_.P(a,63);case 103:return null!=_.x(a,101);case 1:return 0<a.rk().length;case 96:return null!=_.P(a,94);case 1003:return 0<_.Fk(a).length;case 75:return null!=
a.sw();case 94:return null!=a.nN();case 45:return null!=a.Uw();case 124:return null!=_.P(a,118);case 125:return null!=_.x(a,119);case 1002:return null!=_.Ek(a);case 32:return null!=a.Zu();case 67:return null!=a.cK();case 68:return null!=_.x(a,71);case 73:return null!=_.x(a,79);case 71:return null!=_.x(a,77);case 221:return null!=l&&null!=_.P(l,9);case 210:return null!=_.Hk(a);case 7:return null!=a.z7();case 122:return null!=_.DK(a);case 66:return null!=_.x(a,69);case 33:return null!=_.P(a,29);case 24:return null!=
a.tj();case 25:return null!=a.Ky();case 46:return null!=a.Vr();case 192:return null!=k&&null!=_.P(k,6);case 159:return null!=k&&null!=_.te(k);case 154:return null!=k&&null!=_.x(k,1);case 158:return null!=k&&null!=_.ve(k);case 155:return null!=k&&null!=_.x(k,3);case 52:return 0<_.oe(a,56).length;case 55:return 0<a.cA().length;case 56:return null!=_.x(a,61);case 4:return null!=a.jB();case 35:return null!=_.P(a,31);case 57:return null!=_.x(a,62);case 83:return null!=a.uc();case 84:return null!=_.w(a,
_.FJ,86);case 2:return null!=a.getTitle();case 19:return null!=a.yz()||null!=_.P(a,44)||null!=_.x(a,90);case 6:return null!=a.Nh();case 98:return null!=a.tw();case 97:return null!=a.uD();case 27:return null!=a.xp();case 70:return null!=a.jj();case 107:return null!=p&&null!=_.x(p,3);case 106:return null!=p&&null!=_.x(p,2);case 105:return null!=p&&null!=p.Ce();case 8:return null!=_.P(a,9);case 126:return 0<_.oe(a,120).length;default:throw Error("Xc`"+b);}};
Ymc=function(a,b){return b.every(function(c){return Xmc(a,c)})};Zmc=function(a,b,c){c=void 0===c?[]:c;var d=a.concat(c);return b.every(function(e){return(new Set(d)).has(e)})};$mc=function(a,b){var c=new Set(b.concat(_.ygc));return a.filter(function(d){return!c.has(d)})};
EK=function(a,b,c){var d,e;b=b.clone();var f=b.getCapabilities();c=_.m(c);for(var h=c.next();!h.done;h=c.next())if(h=h.value,Xmc(b,h))if(_.kdb.has(h)){if(f){var k=a.getCapabilities()||new _.tk;_.IJ(a,k);switch(h){case 76:_.u(k,1,_.uk(f));break;case 223:_.u(k,54,_.P(f,54));break;case 208:_.u(k,48,_.P(f,48));break;case 185:_.u(k,40,_.P(f,40));break;case 224:_.u(k,55,_.P(f,55));break;case 213:_.u(k,50,_.P(f,50));break;case 156:_.u(k,39,_.P(f,39));break;case 61:_.u(k,2,_.P(f,2));break;case 216:_.u(k,
52,_.P(f,52));break;case 217:_.u(k,53,_.P(f,53));break;case 77:_.u(k,4,_.P(f,4));break;case 134:_.u(k,34,_.P(f,34));break;case 147:_.u(k,38,_.P(f,38));break;case 81:_.u(k,10,_.P(f,10));break;case 82:_.u(k,11,_.P(f,11));break;case 114:_.u(k,27,_.P(f,27));break;case 133:_.u(k,33,_.P(f,33));break;case 202:_.u(k,47,_.P(f,47));_.u(k,32,_.P(f,32));break;case 132:_.u(k,32,_.P(f,32));break;case 101:_.u(k,20,_.P(f,20));break;case 201:_.u(k,46,_.P(f,46));break;case 131:_.u(k,31,_.P(f,31));break;case 200:_.u(k,
45,_.P(f,45));break;case 130:_.u(k,30,_.P(f,30));break;case 93:_.u(k,17,_.P(f,17));break;case 191:_.u(k,44,_.P(f,44));break;case 146:_.u(k,37,_.P(f,37));break;case 90:_.vhc(k,_.Ne(f));break;case 78:_.u(k,7,_.P(f,7));break;case 186:_.u(k,41,_.P(f,41));break;case 222:_.u(k,51,_.P(f,51));break;case 85:_.u(k,12,_.P(f,12));break;case 137:_.u(k,36,_.P(f,36));break;case 209:_.u(k,49,_.P(f,49));break;case 79:_.u(k,8,_.P(f,8));break;case 189:_.u(k,42,_.P(f,42));break;case 190:_.u(k,43,_.P(f,43));break;case 80:_.u(k,
9,_.P(f,9));break;case 135:_.u(k,35,_.P(f,35));break;case 102:_.u(k,21,_.P(f,21));break;case 34:_.u(a,30,_.P(b,30));_.u(k,3,_.P(f,3));break;case 41:_.u(a,40,_.P(b,40));_.u(k,5,_.P(f,5));break;case 59:_.u(k,6,_.P(f,6))}}}else if(_.ldb.has(h)){var l=_.w(b,_.DJ,138);if(l)switch(k=_.w(a,_.DJ,138)||new _.DJ,_.E(a,138,k),h){case 194:h=_.w(l,_.whc,2);_.E(k,2,h);break;case 193:_.u(k,1,_.x(l,1))}}else if(_.mdb.has(h)){if(k=_.w(b,_.vk,111))switch(l=_.w(a,_.vk,111)||new _.vk,_.E(a,111,l),h){case 115:l.$O(_.P(k,
1));break;case 116:_.u(l,2,_.x(k,2))}}else if(_.ndb.has(h)){if(k=_.w(b,_.EJ,27))switch(l=_.w(a,_.EJ,27)||new _.EJ,_.E(a,27,l),h){case 29:_.u(l,1,_.x(k,1));break;case 31:l.yh(_.x(k,3));break;case 92:_.u(l,4,_.x(k,4));break;case 30:l.lh(k.Ce())}}else if(_.odb.has(h)){if(k=_.w(b,_.xhc,139))switch(l=_.w(a,_.xhc,139)||new _.xhc,_.E(a,139,l),h){case 211:_.u(l,2,_.P(k,2));break;case 212:_.u(l,3,_.P(k,3));break;case 220:_.u(l,5,_.P(k,5))}}else if(_.pdb.has(h)){if(l=b.vf())switch(k=a.vf()||new _.boa,_.E(a,
132,k),h){case 192:_.u(k,6,_.P(l,6));break;case 159:h=_.te(l);_.E(k,5,h);break;case 154:_.u(k,1,_.x(l,1));break;case 158:_.u(k,4,_.ve(l));break;case 155:_.u(k,3,_.x(l,3))}}else if(_.qdb.has(h))switch(k=b.Uh(),h){case 157:k&&(h=a.Uh()||new _.$na,anc(a,h),bnc(h,_.zb(k,_.zk,8)));break;case 221:k&&(h=a.Uh()||new _.$na,anc(a,h),_.u(h,9,_.P(k,9)))}else if(_.rdb.has(h)){if(k=_.w(b,_.GJ,103))switch(l=_.w(a,_.GJ,103)||new _.GJ,_.E(a,103,l),h){case 107:_.u(l,3,_.x(k,3));break;case 106:l.yh(_.x(k,2));break;
case 105:l.lh(k.Ce())}}else switch(h){case 227:_.u(a,144,_.P(b,144));break;case 228:_.u(a,145,_.x(b,145));break;case 74:h=b.hu();_.sj(a,83,h);break;case 188:_.u(a,137,_.P(b,137));break;case 149:h=_.oe(b,128);_.qj(a,128,h);break;case 148:h=b.Uza();_.sj(a,127,h);break;case 138:_.u(a,126,b.O9());break;case 184:h=_.oe(b,135);_.qj(a,135,h);break;case 69:_.u(a,74,_.P(b,74));break;case 1004:_.u(a,108,_.P(b,108));break;case 136:h=b.A1();_.sj(a,125,h);break;case 9:_.u(a,10,b.gD());break;case 91:_.Khc(a,b.kq());
break;case 43:_.u(a,42,_.x(b,42));_.u(a,43,_.x(b,43));break;case 187:_.Ohc(a,b.Ui());break;case 26:a.fl(b.yf());break;case 108:h=_.oe(b,104);_.qj(a,104,h);break;case 42:_.u(a,41,_.x(b,41));break;case 1005:h=_.Gk(b);_.sj(a,117,h);break;case 28:_.u(a,26,b.VI());break;case 44:_.u(a,45,_.x(b,45));break;case 13:_.u(a,14,b.dM());break;case 48:_.u(a,36,_.P(b,36));break;case 38:_.Fhc(a,b.Li());break;case 49:h=_.oe(b,50);_.qj(a,50,h);break;case 51:_.u(a,53,_.P(b,53));break;case 104:_.u(a,102,_.P(b,102));break;
case 39:_.u(a,35,b.Eka());break;case 87:_.u(a,76,_.Dk(b));break;case 100:_.u(a,98,_.P(b,98));break;case 72:_.u(a,78,_.x(b,78));break;case 5:_.u(a,6,_.P(b,6));break;case 20:h=b.af();_.u(a,21,h);break;case 21:a.Nb(b.getId());break;case 16:_.Dhc(a,b.ym());break;case 12:_.u(a,13,b.xz());break;case 3:_.UF(a,b.getMimeType());break;case 11:_.u(a,12,b.xB());break;case 10:_.u(a,11,b.Iq());break;case 50:_.u(a,49,_.P(b,49));_.u(a,51,_.P(b,51));h=b.Sm();_.E(a,81,h);break;case 95:_.Mhc(a,b.Dl());break;case 18:_.Ehc(a,
b.mq());break;case 58:_.u(a,63,_.P(b,63));break;case 14:_.Chc(a,_.Ck(b));break;case 1:_.HJ(a,b.rk());break;case 96:_.u(a,94,_.P(b,94));break;case 103:_.u(a,101,_.x(b,101));break;case 1003:cnc(a,_.Fk(b));break;case 75:_.Jhc(a,b.sw());break;case 94:_.Lhc(a,b.nN());break;case 45:_.u(a,46,b.Uw());break;case 124:_.u(a,118,_.P(b,118));break;case 125:_.u(a,119,_.x(b,119));break;case 1002:h=_.Ek(b).clone();(null===(d=_.Ek(a))||void 0===d?0:_.P(d,3))&&_.u(h,3,!0);(null===(e=_.Ek(a))||void 0===e?0:_.P(e,4))&&
_.u(h,4,!0);_.E(a,100,h);break;case 32:_.u(a,28,b.Zu());break;case 67:_.u(a,70,b.cK());break;case 68:_.u(a,71,_.x(b,71));break;case 73:_.u(a,79,_.x(b,79));break;case 71:_.u(a,77,_.x(b,77));break;case 210:_.u(a,140,_.Hk(b));break;case 7:_.u(a,8,b.z7());break;case 122:dnc(a,_.DK(b));break;case 66:_.u(a,69,_.x(b,69));break;case 33:_.u(a,29,_.P(b,29));break;case 24:_.u(a,22,b.tj());break;case 25:_.u(a,23,b.Ky());break;case 46:_.Ghc(a,b.Vr());break;case 52:h=_.oe(b,56);_.qj(a,56,h);break;case 56:_.u(a,
61,_.x(b,61));break;case 55:a.NA(b.cA());break;case 4:a.Zv(b.jB());break;case 35:_.u(a,31,_.P(b,31));break;case 57:_.u(a,62,_.x(b,62));break;case 83:_.Ihc(a,b.uc());break;case 84:h=_.w(b,_.FJ,86);_.E(a,86,h);break;case 98:a.qda(b.tw());break;case 97:_.Nhc(a,b.uD());break;case 19:_.u(a,20,b.yz());_.u(a,44,_.P(b,44));_.u(a,90,_.x(b,90));break;case 2:a.setTitle(b.getTitle());break;case 6:a.Mn(b.Nh());break;case 27:_.lVb(a,b.xp());break;case 70:_.u(a,75,b.jj());break;case 8:_.u(a,9,_.P(b,9));break;case 126:h=
_.oe(b,120);_.qj(a,120,h);break;default:throw Error("Yc`"+h);}};enc=function(a,b){var c=_.pz[a];return b.filter(function(d){return!c||!c.has(d)})};fnc=function(a,b,c){a=enc(c,a);return Zmc(b,a,_.ygc)};FK=function(a){return a?"application/vnd.google-apps.shortcut"===a.getMimeType():!1};GK=function(a,b){b=void 0===b?!1:b;if(!a)return!1;var c=a.getMimeType();return b&&FK(a)?(a=a.vf(),!!a&&"application/vnd.google-apps.folder"===_.x(a,3)):"application/vnd.google-apps.folder"===c};
gnc=function(a){var b=a&&a.getId()||null;a&&FK(a)&&(a=(a=a.vf())&&_.x(a,1))&&(b=a);return b};hnc=function(a){return!!_.P(a,31)&&!_.P(a,94)};jnc=function(a){return inc.some(function(b){return Xmc(a,b)})};knc=function(a){return a.filter(function(b){return!!b}).some(function(b){return[4,5,2].includes(b.Cv())})};lnc=function(a){return knc(a.filter(function(b){return b}).map(function(b){return b.getItem()}))};
mnc=function(a,b){var c={};a=_.Sa(a,function(d){return!!d});b=_.Sa(b,function(d){return!!d});_.Ra(a,function(d,e){var f=b[e];f?_.Aj(d,f)||(d=_.jEa(4).setItem(f),c[e]=d):(d=_.jEa(2).setItem(d),c[e]=d)});_.Ra(b,function(d,e){a[e]||(d=_.jEa(1).setItem(d),c[e]=d)});return c};nnc=function(a,b){return _.Va(a)!==_.Va(b)||!_.Za(mnc(a,b))};_.onc=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};pnc=function(a,b){return 0<=b?!a||a<=b:!0};
qnc=function(a,b){var c=a.Sm();c||(c=new _.Una,b&&_.E(a,81,c));return c};rnc=function(a){if(GK(a))_.AK(qnc(a,!0),!0);else if(GK(a,!0)){var b=a.vf();if(b=b&&_.te(b))_.AK(qnc(b,!0),!0),_.AK(qnc(a,!0),!0)}};snc=function(a){return!!a.Sm()&&!GK(a)};tnc=function(a){var b=[];_.Ma(a,function(c){if(3!=c.Cv()){if(null!=_.P(c,49)||null!=_.P(c,51)||null!=c.Sm())c=c.clone(),_.wb(c,49),_.wb(c,51),_.rj(c,81);b.push(c)}});return b};
unc=function(a,b){if(b){var c=[];_.P(b,3)&&c.push("folder");var d=_.ycc()&&4===b.getType()?"title_natural":_.qfc[b.getType()];b=_.sfc[b.Vf()];d&&(b&&(d+=" "+b),c.push(d));c.length&&(a.orderBy=c.join(","))}};wnc=function(a){for(var b=0;b<a.length;b++){var c=a[b];c&&c instanceof _.I?a[b]=c.Ic():c&&c instanceof _.aK?a[b]=c.Ic(function(d){return d?d.Ic():null}):c&&c instanceof vnc&&(a[b]=c.Ic())}};ync=function(a){var b=a.slice(0),c=new Set(b);xnc.forEach(function(d){c.has(d)||b.push(d)});b.sort();return b};
Fnc=function(a,b,c){var d=_.w(a,znc,66);if(d){var e=_.OJ(a),f=_.nI(_.VH(a));a=new _.Yi(_.x(d,1));var h=new _.Yi(window.location);var k=h.Lo+"://"+h.hk();null!=h.Io&&(k+=":"+h.Hy());h=_.kj(k,3);_.cj(a,"co",h);h=a.Ge();!e&&0<f&&(h+="u/"+f+"/");a.zi(h+"_/dataservice/cacheproxy");e=_.x(d,5)||"";if(_.tcc(window.location.href,a.toString())&&e)return a=ync(c),c=_.x(d,6),b="#"+b+"_",d=new _.HH,d.update(a.join(",")),b+=_.sec(d.digest()),c&&(b+="&jobset="+c),b=_.Cy(e+"?"+b),_.aa.SharedWorker?(c=new SharedWorker(_.ica(b),
void 0),b=new Anc(c.port),c.port.start()):b=new Anc(new Worker(_.ica(b),void 0)),new Bnc(new Cnc(b,!0),1,e,a);c=a.toString();b="cpiframe_"+_.uI();c=_.Ch("IFRAME",{name:b,id:b,src:c});c.style.cssText=_.Cia(_.agc(_.sg("display: none;")));document.body.appendChild(c);c=_.rec(a.Lo,void 0,a.hk(),a.Hy()).toString();return new Bnc(new Cnc(Dnc(window.frames[b],c),!0),0,a.toString())}a=new Enc;return new Bnc(new Cnc(a.O,!1),2,"inline",c,new Cnc(a.H,!1))};
Hnc=function(a){var b=new Gnc;if(a instanceof _.EI)_.xj(b,16,HK,a);else if(a instanceof _.FI)_.xj(b,1,HK,a);else if(a instanceof _.GI)_.xj(b,2,HK,a);else if(a instanceof IK)_.xj(b,17,HK,a);else if(a instanceof _.JI)_.xj(b,3,HK,a);else if(a instanceof _.kK)_.xj(b,4,HK,a);else if(a instanceof _.HI)_.xj(b,5,HK,a);else if(a instanceof _.NI)_.xj(b,6,HK,a);else if(a instanceof _.PI)_.xj(b,7,HK,a);else if(a instanceof _.QI)_.xj(b,8,HK,a);else if(a instanceof _.TI)_.xj(b,9,HK,a);else if(a instanceof _.fJ)_.xj(b,
18,HK,a);else if(a instanceof _.jJ)_.xj(b,10,HK,a);else if(a instanceof _.oJ)_.xj(b,11,HK,a);else if(a instanceof _.pJ)_.xj(b,12,HK,a);else if(a instanceof _.oI)_.xj(b,13,HK,a);else if(a instanceof _.sJ)_.xj(b,14,HK,a);else if(a instanceof _.tJ)_.xj(b,15,HK,a);else throw new _.Uc("Unsupported request type");return b};
Knc=function(a){a=a.map(function(c){var d=new Inc;if(c instanceof _.EI)_.xj(d,6,JK,c);else if(c instanceof IK)_.xj(d,7,JK,c);else if(c instanceof _.NI)_.xj(d,1,JK,c);else if(c instanceof _.jJ)_.xj(d,2,JK,c);else if(c instanceof _.oJ)_.xj(d,3,JK,c);else if(c instanceof _.oI)_.xj(d,4,JK,c);else if(c instanceof _.tJ)_.xj(d,5,JK,c);else throw new _.Uc("Unsupported request type");return d});var b=new Jnc;_.sj(b,1,a);return b};
Lnc=function(a){return _.zb(a,Inc,1).map(function(b){return _.Ej(b,_.EI,6,JK)||_.Ej(b,_.NI,1,JK)||_.Ej(b,_.jJ,2,JK)||_.Ej(b,_.oJ,3,JK)||_.Ej(b,_.oI,4,JK)||_.Ej(b,_.tJ,5,JK)||_.Ej(b,IK,7,JK)})};Onc=function(a){var b=new Mnc;if(a instanceof _.gD)_.xj(b,1,Nnc,a);else if(a instanceof _.hD)_.xj(b,2,Nnc,a);else throw new _.Uc("Unsupported request type");return b};
Rnc=function(a){var b=new Pnc;if(a instanceof _.KI)_.xj(b,1,Qnc,a);else if(a instanceof _.RI)_.xj(b,2,Qnc,a);else if(a instanceof _.uJ)_.xj(b,3,Qnc,a);else throw new _.Uc("Unsupported request type");return b};KK=function(a,b,c){return b?new c(JSON.parse(a)):a};Snc=function(a){a={t:a.title,d:a.description,c:a.Dd,fi:a.E9,dti:a.F0,a:a.sQ?a.sQ.map(function(b){return JSON.stringify({n:b.name,c:b.content,ct:b.contentType,ec:b.m9})}):void 0};return JSON.stringify(a)};
Tnc=function(a){a=JSON.parse(a);return{title:a.t,description:a.d,Dd:a.c,E9:a.fi,F0:a.dti,sQ:a.a?a.a.map(function(b){b=JSON.parse(b);return{name:b.n,content:b.c,contentType:b.ct,m9:b.ec}}):void 0}};Unc=function(a,b){var c=_.ogc(b||{}),d=new Map;a.forEach(function(e){d.set(e,c[e]||null)});return d};Vnc=function(a,b,c){a=a?1:2;a=_.Fd(_.Ed(new _.Dd,12),a);var d=(new _.Df).Mn(!0);d=_.u(d,17,!0);a=_.Ef(d,a);c&&_.hl(a,c);c=new _.jfc;b&&_.Cmc(c,b);return _.Dmc(_.Fmc(new _.eI,a),c)};Wnc=function(a){return a.map(function(b){return b.getItem()})};
Xnc=function(a){var b={};a.forEach(function(c){b[c.getId()]=c.getItem()});return b};Ync=function(a,b){var c=new _.Yi(_.y(b,16,"")+"/open"),d=a.getId();FK(a)&&(d=gnc(a));_.cj(c,"id",d);_.cj(c,"authuser",_.nI(_.VH(b)));_.Q(b,89,!1)&&_.lj(a,140)&&_.cj(c,"resourcekey",_.Hk(a));return c.toString()};Znc=function(a){return String.fromCharCode(10>a?48+a:87+a)};$nc=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]=Znc(d>>4);b[2*c+3]=Znc(d&15)}return b.join("")};
aoc=function(a){var b={};_.mhc(b,[_.x(a,2)||""]);return b};boc=function(a){var b={};_.Re(_.ph(a.getTitle()))||(b.title=a.getTitle());_.mhc(b,_.oe(a,3));_.P(a,8)&&(b.description="",b.labels={starred:!1});return b};coc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=_.x(a,3)&&(b.workspaceToken=_.x(a,3));return b};
doc=function(a){var b,c={};c.sourceIds=_.oe(a.request,1);c.destinationFolderId=null!==(b=_.x(a.request,2))&&void 0!==b?b:void 0;a.pageToken&&(c.continuationToken=a.pageToken);return c};
eoc=function(a){var b={},c={};_.Re(_.ph(a.getTitle()))||(b.title=a.getTitle());null!=a.yf()&&(b.description=a.yf());null!=_.P(a,4)&&(c.starred=_.P(a,4));null!=a.Nh()&&(c.trashed=a.Nh());_.Re(_.ph(a.getMimeType()))||(b.mimeType=a.getMimeType());"number"===typeof _.x(a,7)&&(b.modifiedDate=_.nhc(_.ohc(_.x(a,7)||0)));null!=_.P(a,11)&&(c.restricted=_.P(a,11));_.Va(c)&&(b.labels=c);null!=a.Li()&&(b.folderColor=a.Li());null!=_.P(a,16)&&(b.subscribed=_.P(a,16));null!=_.P(a,40)&&(b.linkShareMetadata={securityUpdateEnabled:_.P(a,
40)});if(c=_.w(a,_.vk,25)){b.contentRestrictions=[];var d={};null!=_.P(c,1)&&(d.readOnly=_.P(c,1));null!=_.x(c,2)&&(d.reason=_.x(c,2));b.contentRestrictions.push(d)}_.mhc(b,_.oe(a,8));return b};foc=function(a){var b={};null!=_.P(a,3)&&(b.pinned=_.P(a,3));return b};
hoc=function(a){var b={};null!=a.getTitle()&&(b.name=a.getTitle());if(null!=_.x(a,3))b.backgroundImageId=_.x(a,3);else{var c=_.x(a,6);null!=c&&(c=c.toString(16),b.colorRgb="#"+(0,_.mh)("0",6-c.length)+c);c=_.w(a,_.goc,9);if(null!=c){a={};var d=c.getId();d&&(a.id=d);d=_.x(c,2);"number"===typeof d&&(a.xCoordinate=d);d=_.x(c,3);"number"===typeof d&&(a.yCoordinate=d);if(c=c.Ce())a.width=c;b.backgroundImageFile=a}}return b};
ioc=function(a){var b={};null!=a.getTitle()&&(b.title=a.getTitle());null!=a.getState()&&(a=_.lmc[a.getState()])&&(b.state=a);return b};
joc=function(a){_.lg("drive.DebugUtil.printFindById",function(c){a.TM(c).then(function(d){window.console.log(JSON.stringify(d))})});_.lg("drive.DebugUtil.getLogs",function(){return _.yic(a.Be())});_.lg("drive.DebugUtil.printLogs",function(){window.console.log(_.yic(a.Be()))});_.lg("drive.DebugUtil.printRequestHistory",function(){a.CR().then(function(c){c.forEach(function(d){window.console.log(_.x(d,1));window.console.log(_.x(d,2))})})});_.lg("drive.DebugUtil.getState",function(){return a.getState()});
var b=a.La();b&&_.Q(b,1,!1)&&(_.lg("drive.DebugUtil.getContext",function(){return a.getContext()}),_.lg("drive.DebugUtil.setOffline",function(c){return void a.Il(c)}))};moc=function(a,b){b.info("drive.ds.sync.api.Dump","Requesting dump stats.");b=new _.Pf;_.Qf(b,305);_.Rf(b,!0);_.u(b,3,2);var c=new _.fD;_.E(c,1,b);koc(c,[7]);a=a.then(function(d){return d.Oe(c)}).then(loc);return _.hi(a)};
loc=function(a){a=_.zb(a,_.Ko,3);var b=new noc;a.forEach(function(c){var d=c.getKey();"corpusSize"===(d&&_.x(d,2))&&(c=_.sh(c.Ya()),_.u(b,3,c))});return"number"===typeof _.x(b,3)?b:null};poc=function(a,b){var c=ooc(a.Xl,b.qc());if(c){var d=c.getItem(),e=d.sw();if(e){var f=e.GR(),h=_.ya(f,function(k){return k.getId()===_.x(b,2)});_.zhc(e,f);h||(f=_.zb(e,_.nk,3),_.ya(f,function(k){return k.getId()===_.x(b,2)}),_.Ahc(e,f));_.yhc(e,(_.x(e,1)||1)-1);a.Yk([d],c.V)}}};
roc=function(a,b,c){if(b=ooc(a.Xl,b.qc())){var d=b.getItem(),e=d.sw();if(e){if(1===c.getType()||2===c.getType()){var f=_.zb(e,_.nk,3);f.push(c);_.Ka(f,qoc);_.Ahc(e,f)}else f=e.GR(),f.push(c),_.Ka(f,qoc),_.zhc(e,f);_.yhc(e,(_.x(e,1)||0)+1);a.Yk([d],b.V)}}};toc=function(a){return a.map(function(b){var c=new _.Wwb;var d=b.serviceName?soc.get(b.serviceName):void 0;c=_.u(c,3,d);return _.u(c,2,Number(b.bytesUsed))})};
voc=function(a){return(a.quotaBytesByService||[]).reduce(function(b,c){return c.serviceName&&uoc.has(c.serviceName)?b+Number(c.bytesUsed):b},0)};
zoc=function(a){var b=a.exportJob,c=b.status;c=c?woc.get(c)||0:0;var d=Number(a.percentDone),e=b.items?b.items.length:0;a=a.numFetchedFiles||0;var f=0,h=0,k=(b.archives||[]).map(function(l){f+=Number(l.sizeOfContents)||0;h+=Number(l.compressedSize)||0;return l.storagePath});b=(b.failedItemInfos||[]).map(function(l){var p=_.UF((new _.Bk).Nb(l.docId).setTitle(l.title),l.mediaType);p=(new _.xoc).setItem(p);p=_.u(p,3,l.relativePath);return _.u(p,4,l.cause)});return new yoc(c,d,k,f,h,e,a,b)};
Foc=function(a){var b=Aoc(new LK,Boc(a)),c=a.result;a=a.processedFileCount;if(c){var d=c.status;(d=d&&Coc[d])&&b.Bc(d);c.sourceResults&&Doc(b,c.sourceResults.map(function(e){return Eoc(e)}));c.validationToken&&_.u(b,4,c.validationToken)}void 0!==a&&_.u(b,2,a);return b};Eoc=function(a){var b=Goc(Hoc(new _.Ioc,a.sourceId),a.fileCount);a.unmovableFileReasons&&Joc(b,a.unmovableFileReasons.map(function(c){var d=new _.Koc;d=_.u(d,1,c.unmovableReason);return _.u(d,2,c.count)}));return b};
Moc=function(a){var b={},c=a.getKey();b.key=c&&_.x(c,2);b.value=a.Ya();(a=c&&_.Lo(c))&&(b.namespace=Loc[a]);return b};Noc=function(a){for(var b=[],c=0;c<a.length;c++)b.push(Loc[a[c]]);return b};Ooc=function(a){return"kind,defaultAppIds,items("+a+")"};Poc=function(a,b){var c;return(null===(c=_.AJ(b))||void 0===c?0:_.Q(c,16,!1))?a+",individualQuotaBytesTotal,individualQuotaBytesUsedAggregate":a};
Qoc=function(){var a=!(!_.aa.IDBObjectStore||!_.aa.IDBObjectStore.prototype.getAll);return!!(_.aa.indexedDB||_.aa.mozIndexedDB||_.aa.webkitIndexedDB||_.aa.moz_indexedDB)&&a};
Uoc=function(a,b){var c,d,e;b=b.clone();if((null===(c=_.AJ(b))||void 0===c?0:_.Q(c,18,!1))||(null===(d=_.AJ(b))||void 0===d?0:_.Q(d,17,!1)))null===(e=_.AJ(b))||void 0===e?void 0:_.u(e,15,!0);_.u(b,75,1<_.aa.devicePixelRatio);var f=b;var h=_.Q(f,61,!1),k=_.AJ(f),l=!!k&&_.Q(k,10,!1);if(_.FH(_.VH(f))||!h&&!l)_.u(f,61,!1),_.rj(f,66),k&&_.u(k,10,!1),f=!1;else{if(h){_.aa.SharedWorker||(h=!1);var p=_.w(f,znc,66);p&&_.x(p,1)||(h=!1);_.OJ(f)&&!_.Q(f,52,!1)&&(h=!1)}h?k&&_.u(k,10,!1):(_.u(f,61,!1),_.rj(f,66));
f=h||l}if(f)return b=new MK(a,b,_.Q(b,61,!1)?3:5),new Roc(b);f=_.FH(_.VH(b))?2:1;a=new NK(a,b,f,void 0,void 0,void 0);return _.FH(_.VH(b))?new Soc(a):new Toc(a)};Woc=function(a){return _.We(a).dh(_.Q(a.get(_.Co),19,!1)?Voc:_.NUa)};Xoc=function(a,b){a.push(b>>>0&255);a.push(b>>>8&255);a.push(b>>>16&255);a.push(b>>>24&255)};Yoc=function(a,b){return _.sj(a,1,b)};CK=function(a){return _.x(a,11)};Zoc=[1];$oc=function(a){_.I.call(this,a,-1,Zoc)};_.J($oc,_.I);
$oc.prototype.lN=function(){return _.zb(this,_.nk,1)};$oc.prototype.Gha=function(a){_.yj(this,1,a,_.nk,void 0)};var apc=function(a){var b=new $oc;return _.sj(b,1,a)},bpc=function(a,b){return _.E(a,1,b)},cpc=function(a,b){_.sj(a,2,b)},dpc=function(a,b){_.E(a,6,b)},epc=function(a,b){_.E(a,7,b)},fpc=function(a,b){return _.xj(a,3,_.rk,b)},gpc=function(a){_.I.call(this,a)};_.J(gpc,_.I);var hpc=function(a){_.I.call(this,a)};_.J(hpc,_.I);var ipc=function(a){_.I.call(this,a)};_.J(ipc,_.I);
var jpc=function(a){_.I.call(this,a)};_.J(jpc,_.I);var kpc=function(a){_.I.call(this,a)};_.J(kpc,_.I);var lpc=function(a){_.I.call(this,a)};_.J(lpc,_.I);var mpc=function(a){_.I.call(this,a)};_.J(mpc,_.I);var npc=function(a){_.I.call(this,a)};_.J(npc,_.I);var opc=function(a){_.I.call(this,a)};_.J(opc,_.I);var ppc=function(a){_.I.call(this,a)};_.J(ppc,_.I);var qpc=function(a){_.I.call(this,a)};_.J(qpc,_.I);var rpc=function(a){_.I.call(this,a)};_.J(rpc,_.I);var spc=function(a){_.I.call(this,a)};
_.J(spc,_.I);var tpc=function(a){_.I.call(this,a)};_.J(tpc,_.I);var upc=function(a,b){_.sj(a,1,b)},vpc=function(a,b){return _.u(a,2,b)},wpc=function(a,b){return _.E(a,3,b)},xpc=function(a,b){return _.u(a,4,b)},ypc=function(a){_.I.call(this,a)};_.J(ypc,_.I);var zpc=function(a,b){_.sj(a,1,b)},Apc=function(a,b){return _.E(a,2,b)},Bpc=function(a){_.I.call(this,a)};_.J(Bpc,_.I);
var Cpc=function(a,b){_.sj(a,1,b)},Dpc=function(a,b){return _.E(a,4,b)},Epc=function(a,b){_.E(a,5,b)},Fpc=function(a,b){_.sj(a,2,b)},Gpc=function(a,b){_.u(a,3,b)},Hpc=function(a,b){_.sj(a,4,b)},Ipc=function(a,b){return _.E(a,5,b)},Jpc=function(a){_.I.call(this,a)};_.J(Jpc,_.I);var Kpc=function(a,b){_.sj(a,1,b)},Lpc=function(a,b){return _.E(a,2,b)},Mpc=function(a){_.I.call(this,a)};_.J(Mpc,_.I);
var Npc=function(a,b){_.sj(a,2,b)},Opc=function(a){var b=new _.Mna;return _.sj(b,3,a)},Ppc=[1,2],Qpc=function(a){_.I.call(this,a)};_.J(Qpc,_.I);Qpc.prototype.Lf=function(a){return _.xj(this,1,Ppc,a)};var Rpc=[1],Spc=function(a){_.I.call(this,a,-1,Rpc)};_.J(Spc,_.I);Spc.prototype.Tq=function(){return _.x(this,2)};var Tpc=function(a,b){_.sj(a,1,b)},Upc=function(a,b){return _.u(a,2,b)},Vpc=function(a,b){return _.E(a,3,b)},Wpc=function(a){_.I.call(this,a)};_.J(Wpc,_.I);
var Xpc=[2],Ypc=function(a){_.I.call(this,a,-1,Xpc)};_.J(Ypc,_.I);var Zpc=function(a,b){_.sj(a,2,b)},$pc=function(a,b){return _.E(a,3,b)},aqc=[1],bqc=function(a){_.I.call(this,a)};_.J(bqc,_.I);bqc.prototype.Lf=function(a){return _.xj(this,1,aqc,a)};var cqc=function(a,b){_.sj(a,1,b)},dqc=function(a,b){return _.sj(a,2,b)},eqc=function(a){_.I.call(this,a)};_.J(eqc,_.I);var fqc=function(a,b){_.sj(a,1,b)},gqc=function(a,b){return _.E(a,2,b)},hqc=function(a){_.I.call(this,a)};_.J(hqc,_.I);
var iqc=[1,2,3,4],jqc=[1],kqc=[1,2],lqc=[1],mqc=[1],nqc=[1,2],oqc=[1],pqc=function(a,b){return _.E(a,1,b)},qqc=function(a,b){return _.u(a,2,b)},rqc=function(a,b){return _.u(a,3,b)},sqc=function(a,b){return _.u(a,4,b)},tqc=function(a,b){return _.u(a,5,b)},uqc=function(a,b){return _.u(a,6,b)},vqc=function(a){_.I.call(this,a)};_.J(vqc,_.I);bnc=function(a,b){_.sj(a,8,b)};anc=function(a,b){return _.E(a,73,b)};cnc=function(a,b){_.sj(a,107,b)};_.DK=function(a){return _.w(a,vqc,109)};
dnc=function(a,b){_.E(a,109,b)};wqc=function(a){_.I.call(this,a)};_.J(wqc,_.I);var xqc=function(a){_.I.call(this,a)};_.J(xqc,_.I);var yqc=function(a){var b=new _.Rj;_.Xj(b,1,_.x(a,1));_.Xj(b,2,_.x(a,2));_.Gb(a,b);return _.Tj(b)},zqc=function(a){_.I.call(this,a)};_.J(zqc,_.I);var znc=function(a){_.I.call(this,a)};_.J(znc,_.I);var Aqc=[11],Bqc=function(a){_.I.call(this,a,-1,Aqc)};_.J(Bqc,_.I);var OK=function(a){_.I.call(this,a)};_.J(OK,_.I);OK.prototype.getKey=function(){return _.x(this,2)};
OK.prototype.ot=function(){return _.lj(this,2)};PK=function(a){return _.y(a,4,"en")};_.QK=function(a){return _.w(a,Bqc,34,1)};RK=function(a,b,c){if(b.length!=c.length)return!0;for(var d=0;d<b.length;d++)if(!a.O(b[d]||void 0,c[d]||void 0))return!0;return!1};_.Cqc=function(a,b){return _.u(a,2,b)};_.Dqc=function(a,b){return _.u(a,3,b)};_.Eqc=function(a,b){return _.u(a,1,b)};_.Fqc=function(a,b){return _.u(a,2,b)};_.Gqc=function(a,b){return _.sj(a,5,b)};_.Hqc=function(a,b){return _.u(a,6,b)};
_.Iqc=function(a,b){return _.u(a,7,b)};_.Jqc=function(a,b){return _.u(a,8,b)};_.Kqc=function(a,b){return _.u(a,10,b)};_.Lqc=function(a,b){return _.u(a,15,b)};Mqc=[2];_.Nqc=function(a){_.I.call(this,a,-1,Mqc)};_.J(_.Nqc,_.I);_.Nqc.prototype.li=function(){return _.x(this,1)};_.Oqc=function(a,b){return _.E(a,1,b)};Pqc=function(a,b){return _.u(a,2,b)};Qqc=function(a,b){return _.u(a,3,b)};Rqc=function(a,b){_.sj(a,4,b)};_.Sqc=function(a,b){_.E(a,8,b)};_.Tqc=function(a,b){_.E(a,9,b)};
Uqc=function(a){_.I.call(this,a)};_.J(Uqc,_.I);Uqc.prototype.Ya=function(){return _.pj(this,1)};Uqc.prototype.Hb=function(a){return _.xb(this,1,a,0)};koc=function(a,b){_.qj(a,3,b)};Vqc=function(a,b){return _.u(a,5,b)};_.goc=function(a){_.I.call(this,a)};_.J(_.goc,_.I);_.goc.prototype.getId=function(){return _.x(this,1)};_.goc.prototype.Nb=function(a){return _.u(this,1,a)};_.goc.prototype.Ce=function(){return _.x(this,4)};_.goc.prototype.lh=function(a){return _.u(this,4,a)};
_.kK=function(a){_.I.call(this,a)};_.J(_.kK,_.I);_.kK.prototype.getTitle=function(){return _.x(this,1)};_.kK.prototype.setTitle=function(a){return _.u(this,1,a)};_.kK.prototype.se=function(){return _.w(this,_.Pf,2)};
var Wqc=function(a,b){return _.qj(a,9,b)},Xqc=function(a,b){return _.qj(a,10,b)},Yqc=function(a,b){return _.u(a,36,b)},Zqc=function(a,b){return _.sj(a,38,b)},$qc=function(a,b){return _.u(a,2,b)},arc=function(a,b){return _.E(a,3,b)},brc=function(){var a=new _.hI;return _.u(a,5,!0)},crc=function(a){_.I.call(this,a)};_.J(crc,_.I);var drc=function(a){_.I.call(this,a)};_.J(drc,_.I);var erc=function(a){_.I.call(this,a)};_.J(erc,_.I);var frc=function(a){_.I.call(this,a)};_.J(frc,_.I);
var grc=function(a){_.I.call(this,a)};_.J(grc,_.I);var hrc=function(a){_.I.call(this,a)};_.J(hrc,_.I);hrc.prototype.Ly=function(){return _.P(this,1)};hrc.prototype.Po=function(){return _.x(this,5)};hrc.prototype.Rm=function(){return _.x(this,6)};hrc.prototype.Yv=function(a){return _.u(this,6,a)};var irc=function(a,b){return _.u(a,1,b)},jrc=function(a,b){return _.u(a,3,b)},krc=function(a,b){return _.u(a,4,b)},lrc=function(a,b){_.u(a,7,b)},mrc=function(a){_.I.call(this,a)};_.J(mrc,_.I);
mrc.prototype.Ly=function(){return _.P(this,2)};var nrc=function(a,b){_.u(a,1,b)},orc=function(a){_.I.call(this,a)};_.J(orc,_.I);orc.prototype.Rm=function(){return _.x(this,3)};orc.prototype.Yv=function(a){return _.u(this,3,a)};orc.prototype.Po=function(){return _.x(this,4)};var prc=function(a){_.I.call(this,a)};_.J(prc,_.I);var qrc=function(a){_.I.call(this,a)};_.J(qrc,_.I);
var rrc=function(a,b){return _.u(a,1,b)},src=function(a,b){return _.u(a,2,b)},trc=function(a,b){_.u(a,3,b)},urc=[1,3,5],vrc=function(a){_.I.call(this,a,-1,urc)};_.J(vrc,_.I);vrc.prototype.qD=function(){return _.oe(this,1)};vrc.prototype.Ly=function(){return _.P(this,2)};vrc.prototype.Po=function(){return _.x(this,7)};wrc=function(a,b){_.u(a,2,b)};xrc=function(a,b){_.vj(a,5,b,void 0)};yrc=function(a,b){_.u(a,6,b)};zrc=function(a,b){_.u(a,7,b)};Arc=function(a,b,c){_.RJ(a,b,c,"warning")};
_.Brc=function(a,b){_.E(a,2,b)};Crc=function(a){return[].concat(_.ec(a.O))};Drc=function(a){return a.H.concat([].concat(_.ec(a.O)))};Erc=function(a,b){var c=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,a.H.includes(d)||a.O.has(d)||(a.O.add(d),c.add(d));return[].concat(_.ec(c))};SK=function(a){var b=_.ZJ(a).jd();b||(b=new _.jic,a=_.ZJ(a),_.E(a,1,b));return b};Frc=function(a){var b=_.w(_.ZJ(a),vrc,3);b||(b=new vrc,a=_.ZJ(a),_.E(a,3,b));return b};
TK=function(a){var b=_.w(_.ZJ(a),hrc,16);b||(b=new hrc,a=_.ZJ(a),_.E(a,16,b));return b};Grc=function(a){var b=_.w(_.ZJ(a),erc,7);b||(b=new erc,a=_.ZJ(a),_.E(a,7,b));return b};Hrc=function(a){var b=_.w(_.ZJ(a),grc,12);b||(b=new grc,a=_.ZJ(a),_.E(a,12,b));return b};Irc=function(a){var b=_.w(_.ZJ(a),mrc,17);b||(b=new mrc,a=_.ZJ(a),_.E(a,17,b));return b};Jrc=function(a){var b=_.w(_.ZJ(a),qrc,21);b||(b=new qrc,a=_.ZJ(a),_.E(a,21,b));return b};
Krc=function(a){if(a instanceof _.GH)return 2;if(a instanceof _.SF)return 10;if(a instanceof _.Df)return _.ZI(a)?3:_.$I(a)?7:_.aJ(a)?8:1;if(a instanceof _.NF)return 9;if(a instanceof _.$F)return 11;if(a instanceof _.hJ)return 15;if(a instanceof _.WH)return 6;if(a instanceof _.cJ){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 _.Wz)return 12;if(a instanceof _.TF)return 13}return 0};
Lrc=function(a){var b=null;a instanceof _.UH||"undefined"!=typeof _.aK&&a instanceof _.aK||"undefined"!=typeof _.bK&&a instanceof _.bK?b=a.Ve()||0:"undefined"!=typeof _.dK&&a instanceof _.dK||"undefined"!=typeof _.eK&&a instanceof _.eK||"undefined"!=typeof _.fK&&a instanceof _.fK||"undefined"!=typeof _.gK&&a instanceof _.gK||"undefined"!=typeof _.hK&&a instanceof _.hK?b=a.Ne:"undefined"!=typeof _.cK&&a instanceof _.cK&&(b=a.Ve());return b||0};
UK=function(a,b,c){return a.V&&_.Cjc(a)?(a=_.yjc(a.V,b,0),c&&_.scc(a,c),a):null};Mrc=function(a){a.V&&_.Cjc(a)&&(a=a.V,a.H.NP()&&a.H.n_())};Nrc=function(a){var b=new _.VI;return _.u(b,1,a)};Orc=function(a,b){return _.E(a,2,b)};Prc=function(a,b){return _.E(a,1,b)};Qrc=function(a,b){a.ha=b};Rrc=[2];Src=function(a){_.I.call(this,a,-1,Rrc)};_.J(Src,_.I);_.g=Src.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.lN=function(){return _.zb(this,_.nk,2)};
_.g.Gha=function(a){_.yj(this,2,a,_.nk,void 0)};_.g.Vj=function(){return _.x(this,3)};var Trc=function(a,b){return _.sj(a,2,b)},Urc=[2],Vrc=function(a){_.I.call(this,a,-1,Urc)};_.J(Vrc,_.I);Vrc.prototype.Cb=function(){return _.x(this,1)};Vrc.prototype.Bc=function(a){return _.u(this,1,a)};Vrc.prototype.Vj=function(){return _.x(this,3)};
var Wrc=function(a){return a.H?a.H.promise:a.O()?(a.H=new _.dn,a.H.promise):null},Xrc=function(a){for(var b=[],c=_.m(a.W),d=c.next();!d.done;d=c.next()){d=_.m(d.value);d.next();d=d.next().value;d=_.m(d);for(var e=d.next();!e.done;e=d.next())(e=e.value.Pv.config.timestamp)&&b.push(e)}a=_.m(a.buckets);for(d=a.next();!d.done;d=a.next()){c=[];d=_.m(d.value.Zi);for(e=d.next();!e.done;e=d.next())(e=e.value.Pv.config.timestamp)&&c.push(e);_.Ca(b,c)}return b},Yrc=function(a,b){return Trc(new Src,(b.items||
[]).map(function(c){return _.Rlc(a,c)}))},Zrc=function(a,b){return uqc(tqc(sqc(_.Ahc(_.yhc(new _.Xna,b.entryCount),(b.selectPermissions||[]).map(function(c){return _.Rlc(a,c)})),b.memberCount),b.userEntryCount),b.groupEntryCount)},$rc=function(a){if(8192>=a.length)return String.fromCharCode.apply(null,a);for(var b="",c=0;c<a.length;c+=8192)b+=String.fromCharCode.apply(null,Array.prototype.slice.call(a,c,c+8192));return b},asc=function(a,b){if(!(a instanceof b.constructor))throw Error("$");var c=a.Ks(!1);
b=b.Ks(!1);var d=[],e=0,f=c.length>b.length?c.length:b.length;a.constructor.messageId&&(d[0]=a.constructor.messageId,e=1);for(;e<f;e++)_.cba(c[e],b[e])||(d[e]=b[e]);return new a.constructor(d)},bsc=[2],csc=function(a){_.I.call(this,a,-1,bsc)};_.J(csc,_.I);csc.prototype.Cb=function(){return _.x(this,1)};csc.prototype.Bc=function(a){return _.u(this,1,a)};csc.prototype.VWa=function(){return _.zb(this,_.iEa,2)};csc.prototype.Vj=function(){return _.x(this,3)};dsc=[2,6];
_.bK=function(a){_.I.call(this,a,-1,dsc)};_.J(_.bK,_.I);_.g=_.bK.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.zd=function(){return _.zb(this,_.Bk,2)};_.g.cB=function(a){return _.sj(this,2,a)};_.g.ah=function(a,b){return _.yj(this,2,a,_.Bk,b)};_.g.Vj=function(){return _.x(this,3)};_.g.Ql=function(){return _.Q(this,4,!0)};var esc=function(a,b){return _.sj(a,6,b)};_.bK.prototype.Wf=function(){return _.x(this,10)};
_.bK.prototype.MP=function(a){return _.u(this,10,a)};_.bK.prototype.Ve=function(){return _.x(this,9)};_.bK.prototype.mi=function(a){return _.u(this,9,a)};
var fsc={SUCCESS:1,n9b:2,g0b:3,JWb:4,A9b:5,S3b:6,H3b:7,vXb:8,k8b:9,z8b:10,m9b:11,YYb:12,CYb:13,i1b:14,z_b:15,GYb:16,FYb:17,LYb:18,IYb:19,JYb:20,R8b:21,w9b:22,k4b:23,q3b:24,nXb:25,PERMISSION_DENIED:26,F2b:27,AXb:28,zXb:29,INTERRUPTED:30,K4b:31,e5b:32,mZb:33,sZb:34,r8b:35,zZb:36,A_b:37,rZb:38,G3b:39,dYb:40,F4b:41,g5b:42,i8b:43,QXb:44,cYb:45,x_b:46,A2b:47,E3b:48,b4b:49,G4b:50,b8b:51,DYb:52,j8b:53,h8b:54,WXb:55,TXb:56,KZb:57,Z2b:58,H4b:59,X1b:60,v6b:61,j7b:62,Q7b:63,y1b:64,s3b:65,D9b:66,BZb:67,B_b:68,
l9b:69,D1b:70,yXb:71,LXb:72,r7b:73,R7b:74,N7b:75,L7b:76,f7b:190,K7b:191,s7b:192,y7b:126,u7b:128,v7b:129,w7b:130,x7b:131,z7b:132,A7b:133,E6b:127,B6b:134,C6b:135,G6b:136,H6b:137,I6b:138,D6b:194,F6b:195,J6b:196,A6b:197,i7b:189,u6b:139,w6b:140,K6b:141,L6b:142,X6b:143,$6b:144,a7b:145,b7b:146,c7b:147,d7b:148,e7b:149,h7b:150,n7b:151,p7b:152,q7b:153,t7b:154,B7b:155,D7b:156,E7b:157,F7b:158,G7b:159,H7b:160,I7b:161,M7b:162,P7b:163,S7b:164,x6b:165,y6b:166,z6b:167,s6b:168,t6b:169,O6b:170,M6b:171,N6b:172,P6b:173,
Q6b:174,R6b:175,S6b:176,T6b:177,U6b:178,V6b:179,W6b:180,Y6b:181,Z6b:182,g7b:106,o7b:183,C7b:184,J7b:185,k7b:186,l7b:187,m7b:188,O7b:244,E4b:77,q9b:78,v9b:79,M2b:80,n1b:81,p1b:82,JZb:83,w_b:84,G2b:85,K8b:86,qZb:87,F1b:88,E1b:89,V7b:90,T7b:91,U7b:92,r9b:93,sYb:94,rYb:95,oYb:96,qYb:97,pYb:98,C9b:99,e6b:100,OYb:101,HYb:102,MYb:103,KYb:104,NYb:105,C_b:107,w8b:108,Z5b:109,f9b:110,F_b:111,E_b:112,b2b:113,c2b:114,k5b:115,XXb:116,j2b:117,VZb:118,s9b:119,M3b:120,N3b:121,j1b:193,EYb:122,gZb:123,m1b:124,l3b:125,
G1b:198,P4b:199,v1b:200,mWb:201,B1b:202,z1b:203,BXb:204,a$b:205,r2b:206,lYb:207,J3b:208,f5b:209,a6b:210,NWb:211,$1b:212,g2b:213,m8b:214,l8b:215,x1b:216,h1b:217,w1b:218,DZb:219,A8b:220,EZb:221,Y1b:222,t8b:223,M9b:224,w3b:225,s8b:226,iZb:227,p2b:228,IZb:229,gYb:230,I8b:231,n3b:232,FILE_TOO_LARGE:233,C1b:234,CZb:235,t_b:236,a5b:237,t3b:238,YVb:239,hYb:240,A3b:241,l6b:242,oZb:243,kWb:245,q1b:246,d4b:247,o1b:248,L2b:249,r3b:250,y_b:251,n0b:252,a2b:253,UXb:254,D_b:255,B9b:256,$_b:257,V2b:258,s5b:259,O4b:260,
N1b:261,TYb:262,pZb:263,mXb:264,E2b:265,z9b:266,bWb:267,cXb:268,bXb:269,F3b:270,WVb:271,XVb:272,pXb:273,kYb:274,eXb:275,dXb:276,q2b:277,G_b:278,s1b:279,l5b:280,E8b:281,W2b:282,s2b:283,t2b:284,fYb:285},gsc={t9b:0,X2b:1,m4b:2,$3b:3,I1b:4,KWb:5,Y2b:6,a4b:7,P0b:8,lXb:9,Y3b:10},hsc=function(){this.map={};this.status=6;this.Ne=null};_.g=hsc.prototype;_.g.Cb=function(){return this.status};_.g.Bc=function(a){this.status=a};_.g.Ve=function(){return this.Ne};_.g.mi=function(a){this.Ne=a};_.g.et=function(){return this.map};
var isc=function(a,b){a.map=b};hsc.prototype.Ic=function(a){var b=[];_.Ra(this.map,function(c,d){b.push({k:d,v:c?a(c):null})});return JSON.stringify({s:this.status,d:this.Ne,me:b})};var jsc=function(a,b,c){c=JSON.parse(c);a.Bc(c.s);a.mi(c.d);var d={};c.me.forEach(function(e){d[e.k]=e.v?b(e.v):null});a.map=d},ksc=function(){hsc.apply(this,arguments)};_.J(ksc,hsc);_.aK=function(){hsc.apply(this,arguments)};_.J(_.aK,hsc);
var VK=function(a){_.yi.call(this);var b=this;this.ta=a;this.active=!1;_.df(this,function(){b.active=!1})};_.J(VK,_.yi);VK.prototype.Mi=function(){return String(_.Fa(this))};VK.prototype.activate=function(){this.active||(this.log("livelist "+this.Mi()+" activated."),this.active=!0,this.HP())};VK.prototype.isActive=function(){return this.active};VK.prototype.log=function(a,b){this.ta.log(this.logName,a,void 0===b?"info":b)};
_.WK=function(a,b,c,d,e,f){VK.call(this,c);var h=this;this.O=a;this.ma=b;this.request=e;this.wa=f;this.H=[];this.items=[];this.status=6;this.W=_.$dc(new _.SH,[1]);this.V=!0;this.Ne=0;this.Ba=d;this.limit=e.vi();_.df(this,function(){h.H=[]});_.i7a++};_.J(_.WK,VK);_.g=_.WK.prototype;_.g.activate=function(){VK.prototype.activate.call(this);_.qa(this.items)&&6===this.Cb()&&this.kk()||lsc(this)};_.g.HP=function(){};_.g.jd=function(){return this.request};_.g.vi=function(){return this.limit};_.g.Cb=function(){return this.status};
_.g.rs=function(){return this.W};_.g.kk=function(){return this.V};_.g.gs=function(){var a=_.g7a().By(this.H,this.items),b=(new csc).Bc(this.Cb());a=_.sj(b,2,a);this.H=this.items;return a};_.g.yu=function(a){this.isActive()&&(this.limit+=a||50,this.log("incrementMaxCount with "+a+" called on Livelist "+(this.Mi()+". New limit is ")+(this.limit+".")),this.Ba(this.Mi(),this.limit))};
var msc=function(a,b){return a.Cb()!==b.Cb()||RK(_.g7a(),a.items,b.zd())},nsc=function(a,b){a.items=b.zd();a.status=b.Cb();_.dI(a.wa)&&(a.W=Qmc(a.status,a.items));a.V=b.Ql();a.Ne=b.Ve()};_.WK.prototype.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a query after "+a.retryCount+" retries.",a.error)))};_.WK.prototype.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};
_.WK.prototype.Fu=function(a,b){var c=this;b+="\n\n\nQuery:\n"+XK(this.O,this.jd());return this.ma.then(function(d){return d.vOb(a,b,c.jd(),c.vi(),c.items)})};
var lsc=function(a){if(a.isActive()){var b=a.rs().H();a.log("Livelist "+a.Mi()+" returning "+a.items.length+". Status: "+(_.db(fsc)[a.Cb()]+". ")+(6===a.Cb()?"MissingTypes: "+b.join(",")+". ":"")+("Datasource: "+_.db(gsc)[a.Ne]+". Query: ")+(XK(a.O,a.request)+" ")+Rmc(a.items));osc(a,a.items,a.request);a.dispatchEvent(new _.pi(_.fd,a))}},osc=function(a,b,c){if(_.ZI(c))c="quick access";else if(_.$I(c))c="people predict";else if(_.aJ(c))c="drive priority";else return;b=b.map(function(d){return d.getId()}).join(", ");
a.log("Livelist "+a.Mi()+" returning "+a.items.length+" for "+(c+": "+b))};_.WK.prototype.refresh=function(){};_.WK.prototype.Xa=function(){_.j7a++;VK.prototype.Xa.call(this)};
var Vmc=[1004,1005,1002,1003],inc=[1002,1003,1005],psc=function(a,b,c,d,e,f){VK.call(this,c);var h=this;this.O=a;this.W=b;this.ha=d;this.ka=e;this.request=f;this.logName="drive.ds.sync.IdViewCacheLiveMap";this.H={};this.items={};this.status=6;this.V=_.$dc(new _.SH,[1]);this.log("Creating find by ids live map: "+this.request.Em().join(", "));_.df(this,function(){h.H={}});_.Jjb++};_.J(psc,VK);_.g=psc.prototype;_.g.HP=function(){_.Za(this.items)&&6===this.status||qsc(this)};_.g.jd=function(){return this.request};
_.g.getData=function(){this.H=this.items;var a=new _.aK;_.dI(this.O)?a.Bc(knc(Object.values(this.items))?6:this.status):a.Bc(this.status);a.map=this.items;return a};_.g.gs=function(){var a=mnc(this.H,this.items),b=new ksc;b.Bc(this.status);b.map=a;this.H=this.items;return b};_.g.Cb=function(){return this.status};_.g.rs=function(){return this.V};_.g.ET=function(a){rsc(a);var b=this.request;this.request=a;this.ka(this.Mi(),b,a)};
_.g.update=function(a){var b=this;0<=_.oa(this.jd().Em(),"root")?this.ha.addCallback(function(c){var d=a.et()[c];d&&(_.$a(a.map,c),a.map.root=d);ssc(b,a)}):ssc(this,a)};var ssc=function(a,b){if(a.status!==b.Cb()||nnc(a.items,b.et()))a.status=b.Cb(),a.items=b.et(),_.dI(a.O)&&(a.V=Qmc(a.status,Object.values(a.items))),qsc(a)};psc.prototype.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a find-by-IDs query after "+a.retryCount+" retries.",a.error)))};psc.prototype.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};
var qsc=function(a){a.isActive()&&(a.log("Livelist "+a.Mi()+" returning "+(Object.values(a.items).length+". Status: ")+(_.db(fsc)[a.Cb()]+". Query: ")+(XK(a.W,a.request)+" ")+Rmc(Object.values(a.items))),a.dispatchEvent(new _.pi(_.fd,a)))};psc.prototype.Xa=function(){_.Kjb++;VK.prototype.Xa.call(this)};var tsc=[1,2],usc=function(a){_.I.call(this,a,-1,tsc)};_.J(usc,_.I);_.vsc=function(a){_.I.call(this,a)};_.J(_.vsc,_.I);_.vsc.prototype.Cb=function(){return _.x(this,1)};
_.vsc.prototype.Bc=function(a){return _.u(this,1,a)};_.vsc.prototype.mn=function(){return _.w(this,_.TH,2)};var wsc=function(a){_.pi.call(this,a)};_.J(wsc,_.pi);var xsc=[5,7,9],ysc=function(a){_.I.call(this,a,-1,xsc)};_.J(ysc,_.I);_.g=ysc.prototype;_.g.getUser=function(){return _.w(this,_.nk,1)};_.g.dB=function(a){_.u(this,2,a)};_.g.setBooleanValue=function(a){return _.u(this,3,a)};_.g.setTextValue=function(a){return _.u(this,4,a)};_.g.Apa=function(a){return _.qj(this,5,a)};
_.g.addTextValues=function(a,b){return _.vj(this,5,a,b)};_.g.setSelectionValue=function(a){return _.u(this,6,a)};_.g.wpa=function(a){return _.qj(this,7,a)};_.g.addSelectionValues=function(a,b){return _.vj(this,7,a,b)};_.g.setIntegerValue=function(a){return _.u(this,8,a)};_.g.npa=function(a){return _.qj(this,9,a)};_.g.addIntegerValues=function(a,b){return _.vj(this,9,a,b)};var zsc=[7,10,12,16,13,3],YK=function(a){_.I.call(this,a,-1,zsc)};_.J(YK,_.I);var ZK=function(a){return _.x(a,4)};_.g=YK.prototype;
_.g.dB=function(a){_.u(this,4,a)};_.g.setBooleanValue=function(a){return _.u(this,5,a)};_.g.Jab=function(){return _.x(this,6)};_.g.setTextValue=function(a){return _.u(this,6,a)};_.g.Apa=function(a){return _.qj(this,7,a)};_.g.addTextValues=function(a,b){return _.vj(this,7,a,b)};_.g.Hab=function(){return _.x(this,8)};_.g.setLongTextValue=function(a){return _.u(this,8,a)};_.g.Iab=function(){return _.x(this,9)};_.g.setSelectionValue=function(a){return _.u(this,9,a)};
_.g.vNa=function(){return _.oe(this,10)};_.g.wpa=function(a){return _.qj(this,10,a)};_.g.addSelectionValues=function(a,b){return _.vj(this,10,a,b)};_.g.Gab=function(){return _.x(this,11)};_.g.setIntegerValue=function(a){return _.u(this,11,a)};_.g.npa=function(a){return _.qj(this,12,a)};_.g.addIntegerValues=function(a,b){return _.vj(this,12,a,b)};_.g.Kab=function(){return _.w(this,_.nk,15)};_.g.setUserValue=function(a){return _.E(this,15,a)};_.g.tYa=function(){return _.zb(this,_.nk,16)};
var Asc=function(a,b){_.sj(a,16,b)};YK.prototype.addUserValues=function(a,b){return _.yj(this,16,a,_.nk,b)};YK.prototype.H=function(){return _.x(this,17)};YK.prototype.setDateStringValue=function(a){return _.u(this,17,a)};YK.prototype.V=function(){return _.lj(this,17)};var Bsc=function(a,b){_.sj(a,13,b)};YK.prototype.getId=function(){return _.x(this,14)};YK.prototype.Nb=function(a){return _.u(this,14,a)};YK.prototype.getName=function(){return _.x(this,1)};
YK.prototype.Yc=function(a){return _.u(this,1,a)};var IK=function(a){_.I.call(this,a)};_.J(IK,_.I);IK.prototype.getId=function(){return _.x(this,1)};IK.prototype.Nb=function(a){return _.u(this,1,a)};IK.prototype.se=function(){return _.w(this,_.Pf,3)};Csc=[3];_.$K=function(a){_.I.call(this,a,-1,Csc)};_.J(_.$K,_.I);_.$K.prototype.getType=function(){return _.x(this,1)};_.$K.prototype.qc=function(){return _.x(this,2)};_.Dsc=function(a){_.I.call(this,a)};_.J(_.Dsc,_.I);
_.Dsc.prototype.getFeature=function(){return _.x(this,1)};Esc=[1];_.YJ=function(a){_.I.call(this,a,-1,Esc)};_.J(_.YJ,_.I);Fsc=[2,3,8];_.oJ=function(a){_.I.call(this,a,-1,Fsc)};_.J(_.oJ,_.I);_.oJ.prototype.getId=function(){return _.x(this,1)};_.oJ.prototype.Nb=function(a){return _.u(this,1,a)};_.oJ.prototype.se=function(){return _.w(this,_.Pf,4)};_.oJ.prototype.uc=function(){return _.x(this,5)};var Gsc=function(a){_.I.call(this,a)};_.J(Gsc,_.I);Hsc=[1,2,4];
Isc=function(a,b){return new _.Xcc(_.Ycc.bound(a,b,void 0,void 0))};Jsc=function(){var a=new _.bi,b=_.jdc().deleteDatabase("GoogleDriveDs");b.onsuccess=function(){a.callback()};b.onerror=function(c){a.Ed(_.LH(c.target,"deleting database GoogleDriveDs"))};b.onblocked=function(){};return a};_.Ksc=function(a){_.I.call(this,a)};_.J(_.Ksc,_.I);_.Ksc.prototype.Fp=function(){return _.x(this,1)};_.Ksc.prototype.Ad=function(){return _.x(this,2)};_.Ksc.prototype.setSize=function(a){return _.u(this,2,a)};
_.Ksc.prototype.getUrl=function(){return _.x(this,3)};_.Lsc=function(a){_.I.call(this,a)};_.J(_.Lsc,_.I);_.Lsc.prototype.getType=function(){return _.x(this,1)};Msc=[2,3];_.Nsc=function(a){_.I.call(this,a,-1,Msc)};_.J(_.Nsc,_.I);Osc=[4,5,6,17,18,24];_.bL=function(a){_.I.call(this,a,-1,Osc)};_.J(_.bL,_.I);_.bL.prototype.getId=function(){return _.x(this,1)};_.bL.prototype.Nb=function(a){return _.u(this,1,a)};_.bL.prototype.getName=function(){return _.x(this,2)};
_.bL.prototype.Yc=function(a){return _.u(this,2,a)};var Psc=function(a,b){return _.qj(a,4,b)},Qsc=function(a,b){return _.qj(a,5,b)};_.bL.prototype.jR=function(){return _.x(this,8)};_.bL.prototype.getType=function(){return _.x(this,23)};var Rsc=[3],cL=function(a){_.I.call(this,a,-1,Rsc)};_.J(cL,_.I);cL.prototype.pq=function(){return _.x(this,1)};var Ssc=function(a,b){return _.u(a,1,b)};cL.prototype.getTitle=function(){return _.x(this,2)};cL.prototype.setTitle=function(a){return _.u(this,2,a)};
cL.prototype.zd=function(){return _.zb(this,_.Bk,3)};var Tsc=function(a,b){return _.sj(a,3,b)};cL.prototype.ah=function(a,b){return _.yj(this,3,a,_.Bk,b)};cL.prototype.V=function(){return _.x(this,4)};var Usc=function(a,b){return _.u(a,4,b)};cL.prototype.H=function(){return _.w(this,_.qk,5)};var Vsc=function(a,b){return _.E(a,5,b)},noc=function(a){_.I.call(this,a)};_.J(noc,_.I);var Wsc=[2],dL=function(a){_.I.call(this,a,-1,Wsc)};_.J(dL,_.I);dL.prototype.Cb=function(){return _.x(this,1)};
dL.prototype.Bc=function(a){return _.u(this,1,a)};dL.prototype.Wk=function(){return _.zb(this,cL,2)};var Xsc=function(a,b){return _.sj(a,2,b)};dL.prototype.Wf=function(){return _.x(this,4)};Ysc=function(a,b){return _.u(a,4,b)};_.cK=function(a){_.I.call(this,a)};_.J(_.cK,_.I);_.g=_.cK.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.lU=function(){return _.Bb(this,2,void 0,_.TH)};_.g.Vj=function(){return _.x(this,3)};_.g.Ve=function(){return _.x(this,5)};
_.g.mi=function(a){return _.u(this,5,a)};var Zsc=[1],JK=[1,2,3,4,5,6,7],Inc=function(a){_.I.call(this,a)};_.J(Inc,_.I);var Jnc=function(a){_.I.call(this,a,-1,Zsc)};_.J(Jnc,_.I);var eL=function(a){_.I.call(this,a)};_.J(eL,_.I);eL.prototype.getQuery=function(){return _.w(this,_.Df,1,1)};eL.prototype.Vg=function(a){return _.E(this,1,a)};eL.prototype.nK=function(){return _.lj(this,1)};eL.prototype.Xn=function(){return _.x(this,4)};
var $sc=function(a,b){return _.E(a,5,b)},atc=[1,2,5,7,9,10,12,14],fL=function(a){_.I.call(this,a,-1,atc)};_.J(fL,_.I);fL.prototype.zd=function(){return _.zb(this,_.Bk,1)};var btc=function(a,b){return _.sj(a,1,b)};fL.prototype.ah=function(a,b){return _.yj(this,1,a,_.Bk,b)};fL.prototype.lN=function(){return _.zb(this,_.nk,2)};fL.prototype.Gha=function(a){_.yj(this,2,a,_.nk,void 0)};var ctc=function(a,b){return _.u(a,3,b)};fL.prototype.ou=function(){return _.x(this,4)};
fL.prototype.jz=function(a){return _.u(this,4,a)};var dtc=function(a,b){return _.sj(a,5,b)};fL.prototype.Cv=function(){return _.P(this,6)};var etc=function(a,b){return _.u(a,6,b)};fL.prototype.Df=function(){return _.w(this,_.NB,8)};var ftc=function(a,b){return _.qj(a,12,b)};fL.prototype.Po=function(){return _.oj(this,13,0)};var gtc=function(a,b){return _.u(a,13,b)},htc={qXb:0,oXb:1,i2b:2,u8b:3,x8b:4,R3b:5},HK=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],Gnc=function(a){_.I.call(this,a)};
_.J(Gnc,_.I);var Nnc=[1,2],Mnc=function(a){_.I.call(this,a)};_.J(Mnc,_.I);var Qnc=[1,2,3],Pnc=function(a){_.I.call(this,a)};_.J(Pnc,_.I);var itc=function(a,b){return 1<a?2===b:a===b},jtc=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("$e");},gL=function(a,b,c,d,e){this.item=a;this.count=void 0===b?0:b;this.V=void 0===c?1:c;this.O=d;this.H=e};_.g=gL.prototype;
_.g.clone=function(){return new gL(this.item.clone(),this.count,this.V,this.O,this.H)};_.g.getId=function(){return this.item.getId()};_.g.$b=function(){return this.count};_.g.getItem=function(){return this.item};_.g.setItem=function(a){this.item=a;return this};_.g.kz=function(a){this.V=a};_.g.equals=function(a){return this.count===a.$b()&&this.V===a.V&&this.O===a.O&&this.H===a.H&&_.Aj(this.item,a.getItem())};
var ktc=function(a,b){a.H=b;return a},hL=function(a){return a instanceof _.Bk?null!=a.getId()&&a.getId()==a.uc():null!=a.qc()&&a.qc()==a.uc()},ltc=function(a,b,c){c=void 0===c?[]:c;var d=a.clone(),e=b.Uh();null!=e&&anc(a,e.clone());if((e=b.getCapabilities())&&null!=_.P(e,13)){var f=a.getCapabilities()||new _.tk;_.u(f,13,_.P(e,13));_.IJ(a,f)}e&&null!=_.P(e,18)&&(f=a.getCapabilities()||new _.tk,_.u(f,18,_.P(e,18)),_.IJ(a,f));EK(a,b,[76,208,156,61,77,134,81,82,101,93,90,78,222,85,79,189,190,80,135,102,
34,91,41,59,95,75,94,221,122,2]);d.Uh()&&EK(a,d,c)},mtc=function(a,b,c){c=void 0===c?[]:c;if(!b||!hL(a)&&!hL(b))return a;if(2==a.Cv()){c=_.x(a,82);var d=b.clone();ltc(d,a);_.Hhc(d,b.Cv());_.rI(d,c);return d}a=a.clone();ltc(a,b,c);return a},ntc=function(a){return(a=a?a.Uh():null)&&_.P(a,7)||!1},otc=function(a,b){this.V=a;this.items={};this.fields=new Set;this.H={};this.O=new Set;this.W=new Set(b)},ptc=function(a,b,c,d){d.length&&(new Set(d.filter(function(e){return!a.W.has(e)&&!c.has(e)}))).forEach(function(e){a.log("Creating field cache for field: "+
e);c.add(e);b[e]={}})},rtc=function(a,b,c){b.every(function(d){return hL(d)})?qtc(b,c,a.H,a.O):b.every(function(d){return!hL(d)})&&qtc(b,c,a.items,a.fields)},qtc=function(a,b,c,d){b=_.Agc(b,[].concat(_.ec(d)));if(0!==b.length)for(a=_.m(a),d=a.next();!d.done;d=a.next()){d=d.value;var e=d.vf();e=e?_.te(e):null;for(var f=_.m(b),h=f.next();!h.done;h=f.next()){h=h.value;var k=c[h][d.getId()];k&&EK(d,k,[h]);e&&(k=c[h][e.getId()])&&EK(e,k,[h])}}};
otc.prototype.update=function(a,b,c){b&&hL(b)?stc(a,b,this.H,this.O,c):stc(a,b,this.items,this.fields,c)};otc.prototype.BJ=function(a){var b=this;_.Ra(this.items,function(c,d){_.$a(b.items[d],a)});_.Ra(this.H,function(c,d){_.$a(b.H[d],a)})};
var stc=function(a,b,c,d,e){_.Ra(c,function(f,h){h=Number(h);if(e.includes(h)&&(f[a]&&!b?_.$a(f,a):b&&Ymc(b,[h])&&(f[a]=ttc(b,h)),b)){var k=b.vf();(k=k?_.te(k):null)&&Ymc(k,[h])&&(f[k.getId()]=ttc(k,h))}});b&&Umc(b,[].concat(_.ec(d)))},ttc=function(a,b){var c=new _.Bk;c.Nb(a.getId());EK(c,a,[b]);return c};otc.prototype.clear=function(){var a=this;_.Ra(this.items,function(b,c){a.items[c]={}});_.Ra(this.H,function(b,c){a.H[c]={}})};
otc.prototype.log=function(a){this.V.info("drive.ds.sync.cache.FieldsCache",a)};var utc=function(a,b,c){var d=this;this.xt=b;this.Kv=c;this.Cd=new Map;this.rootId="";a.addCallback(function(e){d.rootId=e})};_.g=utc.prototype;_.g.zy=function(){return this.Cd};_.g.Zj=function(a){var b=new Map;a=_.m(a.Em());for(var c=a.next();!c.done;c=a.next())c=c.value,this.Cd.has(c)&&b.set(c,this.Cd.get(c).getItem());return b};
_.g.query=function(a,b){var c=[];if(vtc(a)){for(var d=_.m(this.Cd.values()),e=d.next();!e.done;e=d.next())e=e.value,iL(this.xt,a,e.getItem())&&(void 0===b||itc(e.V,b))&&c.push(e);this.Kv.sort(a,c)}return c};_.g.get=function(a){return this.Cd.get(a)||null};_.g.getAll=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())(c=this.Cd.get(c.value))&&b.push(c);return b};
_.g.update=function(a){a.H?(a.H.count++,a.O&&a.O.count--,wtc(this,a.H)?(this.Cd.delete(a.id),a.H.count--):this.Cd.set(a.id,a.H)):(this.Cd.delete(a.id),a.O.count--)};var wtc=function(a,b){return 1<b.$b()||itc(b.V,2)||b.getItem().VI()||snc(b.getItem())?!1:"root"!==b.getId()&&b.getId()!==a.rootId};utc.prototype.BJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b=b.value,wtc(this,b)&&(this.Cd.delete(b.getId()),b.count--)};
var xtc=function(a,b,c,d){this.Dg=a;this.W=b;this.O=c;this.V=d},ooc=function(a,b){return(b=a.O.get(b))?(b=b.clone(),rtc(a.V,[b.getItem()],Drc(a.Dg)),b):null};xtc.prototype.H=function(a){return(a=ooc(this,a))?a.getItem():null};var ytc=function(a,b){var c={};b.forEach(function(d){var e=ooc(a,d);e&&(c[d]=e)});return c},ztc=function(a,b){return _.Ta(ytc(a,b),function(c){return c.getItem()})},Atc=function(a,b){b=jL(a.W,b);return a.O.query(b).map(function(c){return c.clone()})};
xtc.prototype.query=function(a){return Atc(this,a).map(function(b){return b.getItem()})};xtc.prototype.Ad=function(){return this.O.zy().size};
var Btc=function(a){var b=new Set;a=_.m(a.O.zy().values());for(var c=a.next();!c.done;c=a.next()){c=c.value.getItem();for(var d=_.m(_.Ck(c)),e=d.next();!e.done;e=d.next())e=e.value,b.add(e.getId()||CK(e));(d=c.ym())&&b.add(d.getId()||CK(d));(d=c.Vr())&&b.add(d.getId()||CK(d));(d=c.kq())&&b.add(d.getId()||CK(d));(c=c.uD())&&b.add(c.getId()||CK(c))}return b.size},Ctc=function(a){return[].concat(_.ec(new Set(a.map(function(b){return _.lfc.get(b)}).filter(function(b){return b})))).join(",")},kL=function(a,
b,c){b=void 0===b?[]:b;c=void 0===c?!1:c;b=[].concat(_.ec(b));b=Ctc(b);var d=_.dI(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,customerId":
_.Q(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,customerId":"kind,id,name,colorRgb,backgroundImageLink,creator,permissionsSummary,trusted,primaryDomainName,organizationDisplayName,restrictions,backgroundImageGridViewLink,backgroundImageListViewLink,hidden,customerId";
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";_.Q(a,77,!1)&&(c+=",canChangeCategoryReferences");
return(b.length?d+","+b:d)+",capabilities("+c+")"},Dtc=function(a,b){b=void 0===b?[]:b;return"kind,nextPageToken,items("+kL(a,b,!1)+")"},Etc=function(a){var b=new _.so;_.XJ(b,"hidden",_.P(a,4));a=_.P(a,6);null!=a&&_.XJ(b,"canRemoveSecureLinkUpdateForAllFiles",a);return b.toString()},Ftc=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}},Gtc=function(a,b){switch(a){case 21:return b.getId()||"";case 3:return b.getMimeType()||"";case 4:return b.jB()||!1;case 12:return b.xz()||0;case 11:return b.xB()||0;case 10:return b.Iq()||0;case 2:return(b.getTitle()||"").toLowerCase();case 25:return b.Ky()||0;case 57:return _.x(b,62)||0;case 32:return b.Zu()||0;case 9:return b.gD()||0;case 67:return b.cK()||0;case 98:return b.tw()||0;default:return""}},Htc=function(a){var b=_.ycc(),c={};b&&(c.numeric=b);this.H=_.zcc(a,c)};
Htc.prototype.compare=function(a,b,c){b=Itc(b);c=Itc(c);a=a.Kc();var d=Ftc(a);if(a&&d){d=Jtc(this,a);var e=4===a.getType()?this.H:_.Ha;return Ktc(a,d,e,b,c)}return _.Ha(b.getId(),c.getId())};Htc.prototype.sort=function(a,b,c){a=a.Kc();var d=Ftc(a);a&&d&&(d=Jtc(this,a),d=Ltc(b,d),_.Ka(b,Mtc(this,a,d)));c&&0<c&&_.ta(b,c,b.length-c)};
var Itc=function(a){return a instanceof _.Bk?a:a.getItem()},Jtc=function(a,b){b=Ftc(b);return _.K(a.O,a,b,_.Ha)},Ltc=function(a,b){var c={};a.forEach(function(d){d=Itc(d);var e=d.getId();c[e]=b(d)});return c},Mtc=function(a,b,c){return function(d,e){var f=4===b.getType()?a.H:_.Ha;d=Itc(d);e=Itc(e);return Ktc(b,function(h){return c[h.getId()]},f,d,e)}},Ktc=function(a,b,c,d,e){var f=1===a.Vf()?1:-1;if(_.P(a,3)){a=GK(d,!0);var h=GK(e,!0);a=a===h?0:a?-1:1}else a=0;return a||f*(c(b(d),b(e))||_.Ha(d.getId(),
e.getId()))};Htc.prototype.O=function(a,b,c){for(var d=Gtc(a[0],c),e=1;e<a.length;e++){var f=Gtc(a[e],c);d=1===b(f,d)?f:d}return d};var Ntc=function(a,b){this.fields=a;this.rootId="";this.fields.sort();this.H=b;this.anonymous=_.FH(_.VH(b));a=_.AJ(b);this.V=!(!a||!_.Q(a,1,!1));this.O=!(!a||!_.Q(a,8,!1))};Ntc.prototype.jz=function(a){this.rootId=a||""};
var jL=function(a,b,c){b=b.clone();"root"===b.getId()&&b.Nb(a.rootId);_.gl(b).filter(function(d){return"root"===d.Ya()}).forEach(function(d){return d.Hb(a.rootId)});_.Jf(b,_.fl(b).map(function(d){d.Hb(d.Ya().toLowerCase());return d}));c&&_.el(b,a.fields);b.H().sort();return b},XK=function(a,b,c){if(b instanceof _.Df){b=jL(a,b);var d=_.Yic(b)}else if(b instanceof _.NF)d=b.Em().sort().join(","),_.Q(b,5,!1)&&(d+="|cachedOnly");else{if(b instanceof _.GH)return d=Etc(b),d+"|tdList";if(b instanceof _.SF)return d=
b.Em().sort().join(","),b.H().length&&(d+="|"+Ctc(b.H())),d+"|tdMap";throw Error("df");}return 3===c?d:d+"|"+Otc(a,b.H(),2===c)},Otc=function(a,b,c){var d="default";if(0===b.length)return d;var e=new Set(b),f=new Set(a.fields);c?(f.forEach(function(h){return e.delete(h)}),f.clear()):[].concat(_.ec(e)).filter(function(h){return f.has(h)}).forEach(function(h){e.delete(h);f.delete(h)});f.size&&(d=d+" - "+_.DI({fields:[].concat(_.ec(f)),anonymous:a.anonymous}));e.size&&(d=d+" + "+_.DI({fields:[].concat(_.ec(e)),
anonymous:a.anonymous}));return d};Ntc.prototype.equals=function(a,b,c){var d;c&&(d=3);return XK(this,a,d)===XK(this,b,d)};
var rsc=function(a){if(!a.Em().every(function(b){return!_.Re(b)}))throw new _.Uc("Invalid ids for FindByIdsRequest");},Qtc=function(a,b,c){if(_.$I(b))throw new _.Uc("Did not expect a PeoplePredict request. Use peoplePredictQuery() for PeoplePredict requests. ");Ptc(a,b,c)},Ptc=function(a,b,c){var d;a.O||(d=_.BI(3));if(b.getId())throw new _.Uc("Use findByIds() for find by id queries.",d?d:_.BI(3));if(!b.vi()||0>=b.vi())throw new _.Uc("A positive limit is required on an ItemQueryRequest.",d?d:_.BI(3));
_.oe(b,33);a.V&&c||(d=a.fields.slice(),c&&(d=d.concat(c)),Rtc(a,d,b.H()));if(c=(c=b.Kc())&&Ftc(c))d=b.H().length?b.H():a.fields,Rtc(a,d,c);if(_.ZI(b)){if(a.anonymous)throw new _.Uc("User must be authenticated for a Quick Access request.");if(!Stc(a)&&20<b.vi())throw new _.Uc("Limit must be in the range [1, 20].");c=2===_.LJ(b);d=_.oe(b,33).length;if(c&&1!==d||d&&!c)throw new _.Uc("A Team Drive Quick Access request must specify the Team Drive corpora and a single Team Drive id.");c=_.tj(_.wb(_.rj(_.wb(_.wb(_.wb(_.YH(_.wb(_.rj(_.YH(b.clone(),
1),30),32),33),45),47),74),75),48),6);d=new _.Df;if(!_.Aj(c,d))throw new _.Uc("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: "+asc(d,c));}else if(_.Q(b,74,!1))throw new _.Uc("If is_quick_access_for_shared_files_request is set to true, is_quick_access_request must also be true.");if(_.aJ(b)){if(a.anonymous)throw new _.Uc("User must be authenticated for a DrivePriority request.");
if(2===_.LJ(b))throw new _.Uc("Team Drive corpora is not valid for a Drive Priority request.");a=_.wb(_.wb(_.wb(_.rj(_.YH(b.clone(),1),30),32),45),52);b=new _.Df;if(!_.Aj(a,b))throw new _.Uc("Some fields specified are not valid for a Drive Priority request. Valid: field, request_descriptor, limit, corpora and is_drive_priority_request. Extra: "+asc(b,a));}},Ttc=function(a,b,c){if(!_.$I(b))throw new _.Uc("Expected a PeoplePredict request.");Ptc(a,b,c);if(a.anonymous)throw new _.Uc("User must be authenticated for a People Predict request.");
if(2===_.LJ(b))throw new _.Uc("Team Drive corpora is not valid for a People Predict request.");a=_.wb(_.wb(_.wb(_.rj(_.YH(b.clone(),1),30),32),45),49);b=new _.Df;if(!_.Aj(a,b))throw new _.Uc("Some fields specified are not valid for a People Predict request. Valid: field, request_descriptor, limit, corpora and is_people_predict_request. Extra: "+asc(b,a));},Rtc=function(a,b,c){var d;a.O||(d=_.BI(3));if(!Zmc(b,c,_.ygc)){var e=_.DI({fields:c,anonymous:a.anonymous}),f=_.DI({fields:b,anonymous:a.anonymous});
a=_.DI({fields:$mc(c,b),anonymous:a.anonymous});throw new _.Uc("Requested field was not previously specified. Needed "+e+", but had "+(f+". Missing: "+a+"."),d?d:_.BI(3));}},Stc=function(a){return 200<=_.NJ(a.H)&&300>_.NJ(a.H)},Utc=function(a){var b=new Set;a=_.m(_.fl(a));for(var c=a.next();!c.done;c=a.next())switch(_.sMa(c.value.Ya())){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("DRIVE_FORM")}return[].concat(_.ec(b))},Vtc=function(a){switch(_.NJ(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"}},Wtc=function(a){a=_.gl(a);return 1===a.length?a[0].Ya():null},Xtc=function(a){_.L.call(this);this.H=a};_.mg(Xtc,_.L);_.g=Xtc.prototype;_.g.cancel=function(){this.H.cancel()};_.g.connect=function(a){a&&a()};_.g.isConnected=function(){return!0};_.g.registerService=function(a,b,c){this.H.addCallback(function(d){d.registerService(a,b,c)})};_.g.EO=function(a){this.H.addCallback(function(b){b.EO(a)})};
_.g.send=function(a,b){this.H.addCallback(function(c){c.send(a,b)})};_.g.Xa=function(){this.cancel();Xtc.ub.Xa.call(this)};var Anc=function(a){_.Iy.call(this);this.Io=a;this.H=_.bf(this.Io,"message",this.lqb,!1,this)};_.mg(Anc,_.Iy);_.g=Anc.prototype;_.g.Zf=null;_.g.send=function(a,b){var c=[];b=this.oza(c,b);a={serviceName:a,payload:b,"--goog.messaging.PortChannel":!0};_.yfc&&(a=(0,_.Di)(a));this.Io.postMessage(a,c)};
_.g.lqb=function(a){a=a.ze;var b=a.data;if(_.yfc)try{b=JSON.parse(b)}catch(e){return}if(_.Ea(b)&&b["--goog.messaging.PortChannel"]&&"serviceName"in b&&"payload"in b){var c=b.serviceName;b=b.payload;var d=this.getService(c,b);d&&(b=this.O(c,this.aDa(a.ports||[],b),d.WFa),null!=b&&d.callback(b))}};
_.g.oza=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)?b.map((0,_.K)(this.oza,this,a)):b&&b.constructor==Object?_.Ta(b,function(c,d){c=this.oza(a,c);return"_port"==d?{type:"escaped",val:c}:c},this):b};
_.g.aDa=function(a,b){return Array.isArray(b)?b.map((0,_.K)(this.aDa,this,a)):b&&b.constructor==Object?b._port&&"real"==b._port.type?a[b._port.index]:_.Ta(b,function(c,d){return this.aDa(a,"_port"==d?c.val:c)},this):b};_.g.Xa=function(){_.wi(this.H);"[object MessagePort]"==Object.prototype.toString.call(this.Io)?this.Io.close():"[object Worker]"==Object.prototype.toString.call(this.Io)&&this.Io.terminate();delete this.Io;Anc.ub.Xa.call(this)};
var Dnc=function(a,b){if("*"==b)return new Xtc(_.ii(Error("ef")));var c=new _.zi(50),d=_.fb(_.ca,c),e=new _.bi(d);_.di(e,d);c.start();_.bf(c,"tick",function(){var f=new MessageChannel,h=function(){f.port1.removeEventListener("message",h,!0);c.isDisposed()||e.callback(new Anc(f.port1))};f.port1.start();f.port1.addEventListener("message",h,!0);a.postMessage({"--goog.messaging.PortChannel":!0},b,[f.port2])});return new Xtc(e)},Ytc=function(a){_.L.call(this);this.H=new _.Acc(a);this.V={};this.O=_.Ccc(this.H,
"private");this.W=_.Ccc(this.H,"public");this.O.registerService("mics",(0,_.K)(this.Enb,this),!0)};_.mg(Ytc,_.L);_.g=Ytc.prototype;_.g.HHb=0;_.g.Xa=function(){_.ca(this.H);delete this.H;delete this.W;delete this.O};_.g.send=function(a,b,c){var d=this.HHb++;this.V[d]=c;c={signature:d};c.data=b;this.W.send(a,c)};_.g.Enb=function(a){var b=a.signature;a=a.data;b in this.V&&((0,this.V[b])(a),delete this.V[b])};_.g.registerService=function(a,b){this.W.registerService(a,(0,_.K)(this.Dnb,this,b),!0)};
_.g.Dnb=function(a,b){a=a(b.data);var c=b.signature;_.Xh(a).then((0,_.K)(function(d){var e={};e.data=d;e.signature=c;this.O&&this.O.send("mics",e)},this))};var Ztc=function(a,b){_.L.call(this);this.W=b;this.started=!1;this.V=new _.Acc(a);this.Ja(this.V);this.H=new Ytc(_.Ccc(this.V,"direct"));this.Ja(this.H)};_.J(Ztc,_.L);Ztc.prototype.registerService=function(a,b){this.H.registerService(a,b)};Ztc.prototype.send=function(a,b,c){this.H.send(a,b||{},function(d){return(c||_.ig)(d)})};
var Cnc=function(a,b){Ztc.call(this,a,b);this.O=new Ytc(_.Ccc(this.V,"passthrough"));this.Ja(this.O)};_.J(Cnc,Ztc);var lL=function(a,b,c){a.O.registerService(b,function(d){return c(d)})},mL=function(a,b,c,d){a.O.send(b,c||{},d||_.ig)};Cnc.prototype.start=function(){this.started||(this.started=!0)};var xnc=[],$tc=function(){_.Iy.call(this);this.H=null};_.J($tc,_.Iy);$tc.prototype.send=function(a,b){_.h8a(this.H,a,b)};
var Enc=function(){this.O=new $tc;this.H=new $tc;var a=this.O;a.H||(a.H=this.H);a=this.H;a.H||(a.H=this.O)},auc=function(a,b,c,d){this.clientId=a;this.method=b;this.args=c;this.requestId=d;this.H=void 0},buc=function(a,b){b=void 0===b?!1:b;void 0===a.H&&(a.H=b)&&wnc(a.args);return{c:a.clientId,m:a.method,a:a.args,req:a.requestId,s:a.H}},cuc=function(a){var b=new auc(a.c,a.m,a.a,a.req);b.H=a.s;return b},duc=function(a,b,c){this.data=b?void 0:a;this.error=b;this.O=c;this.H=void 0},euc=function(a,b){b=
void 0===b?!1:b;void 0===a.H&&a.data&&(a.H=b)&&wnc(a.data);return{d:a.data,err:a.error&&b?a.error.Ic():a.error,uid:a.O,s:b}},fuc=function(a){var b=a.s,c=a.err;c=void 0===c?void 0:b?new _.Tc(JSON.parse(a.err)):c;a=new duc(c?void 0:a.d,c,a.uid);c||(a.H=b);return a},vnc=function(a,b){this.H=a;this.UD=b};vnc.prototype.get=function(){for(var a={},b=0;b<this.H.length;b++)a[this.H[b]]=this.UD[b];return a};
vnc.prototype.Ic=function(){for(var a={},b={},c=0;c<this.UD.length;c++){var d=this.UD[c],e=this.H[c];d instanceof Error?b[e]=_.mI(d).Ic():a[e]=d.Ic()}return{r:a,e:b}};guc=function(a,b){if(b){var c=[],d=[];_.Ra(a.r,function(e,f){c.push(f);d.push(new _.yJ(JSON.parse(e)))});_.Ra(a.e,function(e,f){c.push(f);e=new _.Tc(JSON.parse(e));d.push(_.CI(e))});return new vnc(c,d)}return a};Bnc=function(a,b,c,d,e){this.channel=a;this.H=b;this.endpoint=c;this.V=d;this.O=e};
_.dK=function(a,b,c){this.response=a;this.Ne=void 0===b?0:b;this.p0=void 0===c?null:c};_.eK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ne=void 0===d?0:d};huc=function(a){_.eK.call(this,a,void 0,void 0,void 0);this.B5a=new _.dn};_.J(huc,_.eK);iuc=function(a,b){this.response=a;this.pageToken=void 0===b?"":b};_.gK=function(a,b,c){this.response=a;this.Ne=void 0===b?0:b;this.p0=void 0===c?null:c};
_.fK=function(a,b,c){this.response=a;this.Ne=void 0===b?0:b;this.p0=void 0===c?null:c};_.hK=function(a,b,c,d){this.response=a;this.pageToken=void 0===b?"":b;this.H=void 0===c?!1:c;this.Ne=void 0===d?0:d};juc={VVb:0,qWb:1,t1b:3,N9b:5,dkb:6,0:"ACCOUNT",1:"APPS",3:"ITEMS",5:"USER_PREFS",6:"PEOPLE"};_.LI=function(a){_.I.call(this,a)};_.J(_.LI,_.I);_.LI.prototype.Hh=function(){return _.x(this,1)};_.LI.prototype.se=function(){return _.w(this,_.Pf,3)};_.OI=function(a){_.I.call(this,a)};_.J(_.OI,_.I);
_.OI.prototype.qc=function(){return _.x(this,1)};_.OI.prototype.se=function(){return _.w(this,_.Pf,3)};_.WI=function(a){_.I.call(this,a)};_.J(_.WI,_.I);_.WI.prototype.Hh=function(){return _.x(this,1)};_.WI.prototype.se=function(){return _.w(this,_.Pf,2)};_.XI=function(a){_.I.call(this,a)};_.J(_.XI,_.I);_.XI.prototype.Hh=function(){return _.x(this,1)};_.XI.prototype.se=function(){return _.w(this,_.Pf,2)};_.YI=function(a){_.I.call(this,a)};_.J(_.YI,_.I);_.g=_.YI.prototype;
_.g.qc=function(){return _.x(this,1)};_.g.zf=function(){return _.x(this,2)};_.g.getType=function(){return _.x(this,3)};_.g.Ya=function(){return _.x(this,4)};_.g.Hb=function(a){return _.u(this,4,a)};_.g.Bi=function(){return _.wb(this,4)};_.g.Og=function(){return _.lj(this,4)};_.g.se=function(){return _.w(this,_.Pf,7)};_.eJ=function(a){_.I.call(this,a)};_.J(_.eJ,_.I);_.eJ.prototype.qc=function(){return _.x(this,1)};_.eJ.prototype.se=function(){return _.w(this,_.Pf,2)};
_.eJ.prototype.vi=function(){return _.Bj(this,3,1E3)};_.eJ.prototype.Fi=function(a){return _.u(this,3,a)};_.iJ=function(a){_.I.call(this,a)};_.J(_.iJ,_.I);_.iJ.prototype.se=function(){return _.w(this,_.Pf,1)};var kuc=function(){var a=new _.iJ,b=_.Qf(new _.Pf,301);return _.E(a,1,b)};_.iJ.prototype.uc=function(){return _.x(this,3)};_.Ygc=function(a){_.I.call(this,a)};_.J(_.Ygc,_.I);_.Ygc.prototype.uc=function(){return _.x(this,1)};_.qJ=function(a){_.I.call(this,a)};_.J(_.qJ,_.I);
_.qJ.prototype.Hh=function(){return _.x(this,1)};_.qJ.prototype.se=function(){return _.w(this,_.Pf,4)};var luc=function(a){_.I.call(this,a)};_.J(luc,_.I);muc=function(a,b){return _.u(a,1,b)};_.MI=function(a){_.I.call(this,a)};_.J(_.MI,_.I);_.MI.prototype.getId=function(){return _.x(this,1)};_.MI.prototype.Nb=function(a){return _.u(this,1,a)};_.bJ=function(a){_.I.call(this,a)};_.J(_.bJ,_.I);_.bJ.prototype.getId=function(){return _.x(this,1)};_.bJ.prototype.Nb=function(a){return _.u(this,1,a)};
_.Lgc=function(a){_.I.call(this,a)};_.J(_.Lgc,_.I);var nuc=function(a,b,c){_.yi.call(this);this.Ba=a;this.ma=b;this.O=!0;this.ha=this.H=this.timeout=this.W=null;this.V=!1;this.ka=c};_.J(nuc,_.yi);nuc.prototype.MB=function(){return this.O};nuc.prototype.EQ=function(){var a=this;if(this.W)return this.W;var b=_.$h();this.W=b.promise;_.aa.setTimeout(function(){a.W=null},5E3);ouc(this,b);return b.promise};
nuc.prototype.ta=function(){!0===this.O&&(this.log("Became unauthenticated."),this.O=!1,this.V=!0,puc(this))};nuc.prototype.wa=function(){!1===this.O&&(this.log("Became authenticated."),this.O=!0,this.H=null,this.V=!1,this.timeout&&(_.aa.clearTimeout(this.timeout),this.timeout=null),this.dispatchEvent(new wsc("ib")))};
var quc=function(a,b){a.ha=b},puc=function(a){a.H||(a.H=new _.Mjc(5E3),a.timeout=_.aa.setTimeout(function(){return ruc(a)},a.H.Ya()))},ruc=function(a){ouc(a);a.H&&(_.OH(a.H),a.timeout=_.aa.setTimeout(function(){return ruc(a)},a.H.Ya()))},ouc=function(a,b){var c=_.Xh();a.ha&&(c=a.ha());c.then(function(){return suc(a,b)})},suc=function(a,b){a.log("Checking authentication state.");var c=a.Ba.then(function(d){return d.Oe(new _.Zgc)});b?c.then(function(){b.resolve(muc(new luc,1))},function(d){var e=_.Yc(d).ug;
d=0;_.Ofc(e)?(a.log("Checked authentication state: unauthenticated."),d=2):(a.log("Checked authentication state: error occurred."),_.Ip(e),_.u(e,21,"Checked authentication state: error occurred."),a.ka(e));e=new luc;muc(e,d);b.resolve(e)}):c.then(null,function(d){d=_.Yc(d);_.Ofc(d.ug)&&a.V&&(a.dispatchEvent(new wsc("jb")),a.V=!1)})};nuc.prototype.log=function(a){this.ma.info("drive.ds.sync.auth.StateManager",a)};_.$gc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};
_.Pgc=function(a){this.H=a;this.type=1};_.Qgc=function(a){this.H=a;this.type=0};_.Xgc=function(a,b){this.request=a;this.pageToken=void 0===b?"":b};tuc=function(a){return _.Ej(a,_.eI,3,_.fI)||_.Ej(a,_.wJ,4,_.fI)||_.Ej(a,_.kK,5,_.fI)||_.Ej(a,_.tJ,6,_.fI)||_.Ej(a,_.QI,7,_.fI)||_.Ej(a,_.JI,8,_.fI)||_.Ej(a,_.NI,9,_.fI)||_.Ej(a,_.oI,10,_.fI)};uuc=function(a){_.I.call(this,a)};_.J(uuc,_.I);_.g=uuc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};
_.g.Zz=function(){return _.x(this,3)};_.g.Ge=function(){return _.x(this,4)};_.g.zi=function(a){return _.u(this,4,a)};_.g.Ula=function(){return _.lj(this,4)};var vuc=function(a){this.Zf=a;this.H=new Map;this.O=this.Zf.W};
vuc.prototype.create=function(a,b){if(0!=Krc(b)){var c=this.Zf.H(106001);if(c){var d=Krc(b),e=SK(c);_.u(e,2,d);d=SK(c);e=null;if(b instanceof _.$F||b instanceof _.NF||b instanceof _.Df||b instanceof _.cJ||b instanceof _.fD||b instanceof _.SF||b instanceof _.GH||b instanceof _.WH||b instanceof _.TF||b instanceof _.Wz)e=b.se();e=e&&_.Q(e,2,!1);_.u(d,7,"boolean"==typeof e?e:void 0);d=SK(c);b=b instanceof _.Df?0<_.gl(b).length:void 0;_.u(d,8,b);this.H.set(a,c)}}};
var wuc=function(a,b,c){if(a=a.H.get(b))a=SK(a),_.u(a,5,c)},xuc=function(a,b,c){(a=a.H.get(b))&&_.P(SK(a),8)&&(a=SK(a),_.u(a,9,c))},yuc=function(a,b,c,d,e){var f=a.H.get(b);f&&(SK(f).Bc(c),SK(f).mi(d),null!=e&&(c=SK(f),_.u(c,6,e)),f.xj(),a.H.delete(b))},zuc=function(a,b,c){var d=a.H.get(b);if(d){var e=a.O.Cb(c);c=Lrc(c);if(1==e||2==c)e=_.$J(_.Bfc,c),d=SK(d),d=3==e||8==e?!_.P(d,5):0!=e?_.$fc.has(e):null,yuc(a,b,1,e,d)}},Auc=function(a,b,c){var d=a.O.Cb(c);d=_.$J(_.Afc,d||22);var e=Lrc(c);e=_.$J(_.Bfc,
e);yuc(a,b,d,e,"undefined"!=typeof _.dK&&c instanceof _.dK||"undefined"!=typeof _.fK&&c instanceof _.fK||"undefined"!=typeof _.gK&&c instanceof _.gK?c.p0:null)},nL=function(a,b,c){c=void 0===c?3:c;var d=a.H.get(b);d&&(SK(d).Bc(c),d.xj(),a.H.delete(b))},Buc=[2,4],oL=function(a){_.I.call(this,a,-1,Buc)};_.J(oL,_.I);oL.prototype.Cb=function(){return _.x(this,1)};oL.prototype.Bc=function(a){return _.u(this,1,a)};oL.prototype.Vj=function(){return _.x(this,3)};
var Cuc=[2],pL=function(a){_.I.call(this,a,-1,Cuc)};_.J(pL,_.I);pL.prototype.getName=function(){return _.x(this,1)};pL.prototype.Yc=function(a){return _.u(this,1,a)};pL.prototype.H=function(){return _.zb(this,YK,2)};var Duc=function(a,b){_.sj(a,2,b)};pL.prototype.qc=function(){return _.x(this,3)};var Euc=function(a,b){return _.u(a,3,b)},Fuc=[2],qL=function(a){_.I.call(this,a,-1,Fuc)};_.J(qL,_.I);qL.prototype.Cb=function(){return _.x(this,1)};qL.prototype.Bc=function(a){return _.u(this,1,a)};
qL.prototype.H=function(){return _.zb(this,pL,2)};var Guc=function(a,b){return _.sj(a,2,b)};qL.prototype.Vj=function(){return _.x(this,3)};var Huc=[4,9],Iuc=function(a){_.I.call(this,a,-1,Huc)};_.J(Iuc,_.I);_.g=Iuc.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.KXa=function(){return _.x(this,2)};_.g.ANa=function(){return _.x(this,3)};_.g.rub=function(){return _.zb(this,_.hI,4)};
var Juc={u9b:0,W3b:1,Z3b:2,X3b:4,A1b:5,HZb:6,H1b:7,l4b:8},Kuc=function(a){_.I.call(this,a)};_.J(Kuc,_.I);Kuc.prototype.getUrl=function(){return _.x(this,1)};var rL=function(a){_.I.call(this,a)};_.J(rL,_.I);var Luc=function(a,b){return _.u(a,1,b)};rL.prototype.getName=function(){return _.x(this,2)};rL.prototype.Yc=function(a){return _.u(this,2,a)};rL.prototype.getEmail=function(){return _.x(this,3)};var Muc=function(a,b){return _.u(a,3,b)};rL.prototype.sq=function(){return _.lj(this,3)};
var Nuc=[1],Ouc=function(a){_.I.call(this,a,-1,Nuc)};_.J(Ouc,_.I);var Puc=function(a,b){return _.sj(a,1,b)},Quc=[2],sL=function(a){_.I.call(this,a,-1,Quc)};_.J(sL,_.I);sL.prototype.Cb=function(){return _.x(this,1)};sL.prototype.Bc=function(a){return _.u(this,1,a)};sL.prototype.Wk=function(){return _.zb(this,_.TH,2)};var Ruc=function(a,b){return _.sj(a,2,b)};sL.prototype.Vj=function(){return _.x(this,3)};var Suc=function(a){_.I.call(this,a)};_.J(Suc,_.I);_.g=Suc.prototype;
_.g.qc=function(){return _.x(this,1)};_.g.Cb=function(){return _.x(this,2)};_.g.Bc=function(a){return _.u(this,2,a)};_.g.getError=function(){return _.w(this,_.Tc,3)};_.g.Ke=function(a){return _.E(this,3,a)};_.g.ao=function(){return _.lj(this,3)};var Tuc=[1],Uuc=function(a){_.I.call(this,a,-1,Tuc)};_.J(Uuc,_.I);var Vuc=function(a,b){return _.qj(a,1,b)},Wuc=function(a,b){this.O=a|0;this.H=b|0};Wuc.prototype.equals=function(a){return this===a?!0:a instanceof Wuc?this.O===a.O&&this.H===a.H:!1};
Wuc.prototype.zc=function(){return 31*this.O+17*this.H|0};
var Xuc=function(a,b){return new Wuc(a,b)},Yuc=function(a,b){b=~b;a?a=~a+1:b+=1;return Xuc(a,b)},Zuc=function(a){var b="-"===a[0];a=a.slice(b?3:2);return(b?Yuc:Xuc)(parseInt(a.slice(-8),16),parseInt(a.slice(-16,-8)||"",16))},$uc=function(){this.H=this.W=this.O=this.V=null},avc=function(a){this.W=a;this.O=new Map;this.V=new Set;this.enabled=!0;this.error=null;this.started=!1},tL=function(a,b,c){if(a.started)throw Error("of");c={Go:new Set(b),callback:c};b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=
d.value;var e=a.O.get(d)||[];e.push(c);a.O.set(d,e)}},uL=function(a,b){if(!a.started)throw Error("pf");if(!a.enabled)throw Error("qf`"+a.error+"`"+(a.error.stack?"\nOriginal stack: "+a.error.stack:""));a.log("Passing Milestone: "+b);a.V.add(b);var c=a.O.get(b);if(c){a.O.delete(b);for(var d=0;d<c.length;++d){var e=c[d];e.Go.delete(b);if(0===e.Go.size)try{e.callback()}catch(f){throw a.enabled=!1,a.error=f?_.CI(f):null,f;}}}};avc.prototype.H=function(a){return this.V.has(a)};
avc.prototype.start=function(){this.started=!0};avc.prototype.log=function(a){this.W.info("drive.ds.MilestoneManager",a)};var bvc=function(a,b,c){this.id=a;this.O=b;this.H=c},cvc=function(a,b){return new bvc((a?a:b).getId(),a,b)},vL=function(a){return new bvc(a.getId(),null,a)},dvc=function(a,b){this.xt=a;this.Kv=b;this.CD=!0;this.A8=!1;this.Ne=0},wL=function(a,b){(a.CD=b)||a.BJ()};_.g=dvc.prototype;
_.g.zla=function(a,b){if(5===this.OE(a))throw Error("rf");for(var c=[],d=_.m(this.zy()),e=d.next();!e.done;e=d.next())e=e.value,iL(this.xt,a,e.getItem())&&c.push(e);this.Kv.sort(a,c,b);return c};_.g.Ad=function(){return this.zy().length};_.g.Zj=function(a,b){a=this.zla(a,b);a=Wnc(a);b=new _.UH;b.cB(a);b.Bc(this.NN()?6:1);return b};_.g.update=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(!b&&!c)return!1;b&&this.rJ(a.O);c&&this.XR(a.H);return!0};
_.g.OE=function(a){return this.CD&&this.A8?vtc(a)?1:5:5};_.g.BX=function(){this.A8=!0};_.g.xs=function(a){return!!a&&this.CD};_.g.mi=function(a){this.Ne=a};_.g.Ve=function(){return this.Ne};var xL=function(a,b,c,d,e,f){f=void 0===f?"":f;dvc.call(this,a,b);var h=this;this.ha=c;this.nextPageToken=f;this.Cd=[];this.O={};this.request=jL(c,d,!0);this.W=XK(c,d);this.H=!e;evc(this,e);this.V=function(k,l){return h.Kv.compare(h.request,k,l)}};_.J(xL,dvc);_.g=xL.prototype;_.g.jd=function(){return this.request};
_.g.WM=function(){return this.W};_.g.XR=function(a){var b=this.O[a.getId()];b&&this.rJ(b);Pmc(this.Cd,a,this.V);this.O[a.getId()]=a;a.count++;this.Cd.length>this.request.vi()&&(this.rJ(_.ja(this.Cd)),this.H=!1)};_.g.rJ=function(a){var b=this.Cd,c=_.Ia(b,a,this.V);0<=c&&_.wa(b,c);_.$a(this.O,a.getId());a.count--};_.g.BJ=function(){this.Cd.forEach(function(a){a.count--});this.Cd=[];this.O={}};_.g.zy=function(){return this.Cd};
_.g.OE=function(a){var b;if(b=this.ha.equals(this.request,a,!0))a=a.H(),b=this.request.H(),b=Zmc(b,a,_.ygc);return b?this.H?1:6:5};_.g.zla=function(a,b){if(5===this.OE(a))throw Error("rf");b=b?Math.min(b,this.Cd.length):this.Cd.length;return _.Da(this.Cd,0,b)};_.g.xs=function(a){if(!dvc.prototype.xs.call(this,a)||!iL(this.xt,this.request,a.getItem()))return!1;if(this.H||_.Q(this.request,48,!1))return!0;var b=_.ja(this.Cd);return!!b&&0>=this.V(a,b)};_.g.NN=function(){return this.H?!1:!0};
_.g.getType=function(){return"CacheHintCorpusCache"};_.g.Yk=function(a,b){var c=this,d=_.ja(this.Cd);!this.H&&d&&_.na(a,function(e){return e.getId()===d.getId()})&&(b?(this.rJ(d),evc(this,_.ja(a))):this.H=!0);_.Ma(a,function(e){c.update(vL(e))})};var evc=function(a,b){b&&iL(a.xt,a.request,b.getItem())&&a.XR(b)};xL.prototype.Fy=function(){return this.nextPageToken};var yL=function(a,b){dvc.call(this,a,b);this.Cd=new Map};_.J(yL,dvc);yL.prototype.XR=function(a){this.Cd.set(a.getId(),a);a.count++};
yL.prototype.rJ=function(a){this.Cd.delete(a.getId());a.count--};yL.prototype.BJ=function(){for(var a=_.m(this.Cd.values()),b=a.next();!b.done;b=a.next())b.value.count--;this.Cd=new Map};yL.prototype.zy=function(){return Array.from(this.Cd.values())};var fvc=function(a,b){yL.call(this,a,b);this.BX()};_.J(fvc,yL);_.g=fvc.prototype;
_.g.OE=function(a){var b=this,c=yL.prototype.OE.call(this,a);if(5===c)return c;if(0<_.oe(a,33).length)return 5;a=_.gl(a);return 0<a.length?a.every(function(d){return(d=b.Cd.get(d.Ya()))&&!d.getItem().uc()&&d.H})?1:5:5};_.g.xs=function(a){return yL.prototype.xs.call(this,a)&&!(null===a||void 0===a?0:a.getItem().uc())};_.g.zla=function(a,b){for(var c=[],d=_.m(this.zy()),e=d.next();!e.done;e=d.next())e=e.value,iL(this.xt,a,e.getItem())&&c.push(e);this.Kv.sort(a,c,b);return c};_.g.jd=function(){return new _.Df};
_.g.WM=function(){return null};_.g.getType=function(){return"MyDriveCorpusCache"};_.g.NN=function(){return!1};var gvc=function(a){return[].concat(_.ec(a.Cd.values())).filter(function(b){return b.H}).map(function(b){return b.getId()})},zL=function(a,b,c,d){yL.call(this,a,b);var e=this;this.H=d;tL(c,["aU7Ts","BNEDtc"],function(){return e.BX()})};_.J(zL,yL);
zL.prototype.OE=function(a){var b=this,c=yL.prototype.OE.call(this,a);if(5==c)return c;if(0<_.oe(a,33).length)return 5;a=_.gl(a);return 0<a.length&&!a.every(function(d){d=b.Cd.get(d.Ya());return null!=d&&!d.getItem().uc()&&hnc(d.getItem())&&!_.P(d.getItem(),108)})?5:1};zL.prototype.xs=function(a){return yL.prototype.xs.call(this,a)&&hvc(this,a.getItem())};var hvc=function(a,b){if(_.P(b,31)||!a.A8)return!0;var c=a.H();return b.rk().some(function(d){var e=a.Cd.get(d);return d==c||null!=e&&hnc(e.getItem())})};
_.g=zL.prototype;_.g.BX=function(){yL.prototype.BX.call(this);for(var a=_.m(this.Cd),b=a.next();!b.done;b=a.next()){var c=_.m(b.value);b=c.next().value;c=c.next().value;hvc(this,c.getItem())||(c.count--,this.Cd.delete(b))}};_.g.jd=function(){return new _.Df};_.g.WM=function(){return null};_.g.getType=function(){return"SubscribedCorpusCache"};_.g.NN=function(){return!1};
var ivc=/^[\x00-\x7F]*$/,AL=function(){this.H=[this.W,this.O,this.V,this.ha,this.GGb,this.CGb,this.sGb,this.vGb,this.uGb,this.zGb,this.qGb,this.tGb,this.AGb,this.BGb,this.DGb,this.rGb,this.FGb,this.EGb,this.nGb,this.xGb,this.wGb,this.oGb,this.yGb,this.HGb,this.pGb];this.rootId=""};AL.prototype.jz=function(a){this.rootId=a||""};
var vtc=function(a){return jvc(a)&&0==_.oe(a,40).length&&void 0==_.x(a,41)},jvc=function(a){var b=!0;_.zb(a,_.Ff,13).forEach(function(d){"me"!=d.Ya()&&(b=!1)});var c=a.Kc();c=!c||5!=c.getType();return 0==_.zb(a,_.$k,5).length&&0==_.zb(a,_.Ff,14).length&&0==_.zb(a,_.Ff,15).length&&!_.lj(a,58)&&!_.P(a,18)&&!_.P(a,34)&&0==_.zb(a,_.Sk,35).length&&0==_.zb(a,_.Sk,38).length&&c&&b&&0==_.oe(a,39).length&&!_.x(a,42)&&0==_.zb(a,_.Rk,44).length&&!_.ZI(a)&&!_.$I(a)&&!_.aJ(a)&&0==_.zb(a,_.Tk,57).length&&kvc(a)&&
!_.w(a,_.Joa,59)&&null==_.P(a,60)&&0==_.zb(a,_.Ff,68).length&&0==_.zb(a,_.Ff,67).length&&null==_.P(a,69)&&!_.P(a,73)},kvc=function(a){return _.zb(a,_.al,4).every(function(b){b=b.Ya();return!b||!b.includes("*")&&ivc.test(b)})};AL.prototype.w9=function(a,b){var c=this;return b.filter(function(d){return iL(c,a,d)})};var iL=function(a,b,c){return!!c&&lvc(a,c)&&a.H.every(function(d){return d.call(a,b,c)})},lvc=function(a,b){return b.getId()!=a.rootId&&!hL(b)};
AL.prototype.W=function(a,b){var c=!0,d=_.zb(a,_.al,4);if(!kvc(a))return!0;for(a=0;a<d.length&&c;a++){var e=d[a];if(e.Ya()){var f=_.Q(e,3,!1),h=(b.getTitle()||"").toLowerCase(),k=e.Ya().toLowerCase();if(2==_.x(e,1))h=k==h,c=c&&(f?!h:h);else{e=[];if(0<=k.indexOf("-"))for(var l=RegExp("\\w*-[\\w-]*"),p=_.m(k.match(l)||[]),q=p.next();!q.done;q=p.next())e.push(q.value),k=k.replace(l,"");e.push.apply(e,_.ec(k.split(RegExp("\\b"))));for(k=0;k<e.length&&c;k++)l=e[k],p=!0,0!=(0,_.Dg)(l).length&&(0==l.replace(/\./g,
"").length&&(p=!1),l=!!h.match(p?new RegExp("(^|[^\\w])"+_.lh(l)+"($|[^\\w])|(^|[ ])"+_.lh(l)):new RegExp(_.lh(l))),c=c&&(f?!l:l))}}}return c};
AL.prototype.O=function(a,b){var c=_.fl(a),d=0,e=0,f=!1,h=!1;c=_.m(c);for(var k=c.next();!k.done;k=c.next())if(k=k.value,k.Ya()){var l=b.getMimeType()||"";if(_.P(k,4)){var p=b.vf();l=p&&_.x(p,3)||""}p=_.Q(k,2,!1);var q=k.Ya();_.BJ(a)&&(q=q.toLowerCase(),l=l.toLowerCase());k=0===_.oj(k,3,0)?q===l:l.includes(q);p?(e++,h=h||k):(d++,f=f||k)}return d&&!f||e&&h?!1:!0};
AL.prototype.V=function(a,b){var c=!0;a=_.zb(a,_.Vk,7);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.Iq();c=c&&mvc(e,d)}return c};AL.prototype.ha=function(a,b){var c=!0;a=_.zb(a,_.Vk,8);a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=b.xz();c=c&&mvc(e,d)}return c};var mvc=function(a,b){if(null!=_.x(b,2))switch(_.x(b,1)){case 1:return a<=_.x(b,2);case 2:return a<_.x(b,2);case 3:return a==_.x(b,2);case 4:return a>_.x(b,2);case 5:return a>=_.x(b,2);default:return!1}return!0};
_.g=AL.prototype;_.g.GGb=function(a,b){var c=a.Nh();a=_.LJ(a);return null==c||c==!!b.Nh()&&(!c||1==b.xp()||!(!a||2!=a&&3!=a))};_.g.CGb=function(a,b){return null==_.P(a,10)||_.P(a,10)==!!b.jB()};_.g.sGb=function(a,b){return null==_.P(a,11)||_.P(a,11)==!!_.P(b,6)};_.g.vGb=function(a,b){a=_.gl(a);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ya()){var d="root"==c.Ya()&&this.rootId||c.Ya();d=b.rk().includes(d);if(_.Q(c,2,!1)?d:!d)return!1}return!0};
_.g.uGb=function(a,b){a=_.zb(a,_.Ff,13);a=_.m(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,"me"==c.Ya()){var d=1==b.xp();if(_.Q(c,2,!1)?d:!d)return!1}return!0};_.g.zGb=function(a,b){return null==_.P(a,16)||(_.P(a,16)?null!=b.Ky():!0)};_.g.qGb=function(a,b){var c=_.P(a,17);a=_.LJ(a);return null==c||c==!!b.VI()&&(!c||1==b.xp()||!(!a||2!=a&&3!=a))};_.g.tGb=function(a,b){b=qnc(b);return null==_.P(a,19)||_.P(a,19)==!!_.xk(b)};
_.g.AGb=function(a,b){a=_.zb(a,_.KJ,25);if(0==a.length)return!0;var c=new Set(_.oe(b,56));return a.every(function(d){return c.has(d.Ya())})};_.g.BGb=function(a,b){if(0==a.cA().length)return!0;if(0==b.cA().length)return!1;var c=new Set(b.cA().map(function(d){return d.ER()}));return a.cA().some(function(d){return c.has(d.ER())})};_.g.DGb=function(a,b){a=_.oe(a,33);return!a.length||a.includes(b.uc()||"")};_.g.rGb=function(a,b){a=_.zb(a,_.Zk,37);if(0==a.length)return!0;var c=new Set(_.oe(b,50));return a.every(function(d){return c.has(d.Ya())})};
_.g.FGb=function(a,b){return _.x(a,41)?(b=_.w(b,_.FJ,86),null!=b&&_.x(a,41)==_.x(b,3)):!0};_.g.EGb=function(a,b){if(_.oe(a,40).length){if(b=_.w(b,_.FJ,86)){var c=new Set(_.oe(b,2));return _.oe(a,40).some(function(d){return c.has(d)})}return!1}return!0};_.g.nGb=function(a,b){var c=_.LJ(a);return 1==c?(b=_.P(b,31),!!_.gl(a).length||!!_.zb(a,_.Sk,35).length||1==_.P(a,18)||_.ZI(a)||_.$I(a)||_.aJ(a)||!!a.Tq()||null==b||b):2==c?!!b.uc():!0};
_.g.xGb=function(a,b){return _.ZI(a)?!_.lj(b,100)||b.Nh()?!1:_.Q(a,74,!1)?!!_.P(_.Ek(b),4):!!_.P(_.Ek(b),3):!0};_.g.wGb=function(a,b){return _.$I(a)?!!_.Fk(b).length&&!b.Nh():!0};_.g.oGb=function(a,b){return _.aJ(a)?!!_.Gk(b).length&&!b.Nh():!0};_.g.yGb=function(a,b){return _.lj(a,50)?_.Q(a,50,!1)?_.lj(b,101)&&0!==_.x(b,101):!_.lj(b,101):!0};_.g.HGb=function(a,b){a=a.Tq();return!a||_.oe(b,120).includes(a)};
_.g.pGb=function(a,b){b=_.w(b,_.DJ,138);return null==_.P(a,65)||null==b?!0:_.P(a,65)==(2==_.x(b,1))};var BL=function(a,b,c,d){d=void 0===d?5E3:d;yL.call(this,a,b);this.teamDriveId=c;this.limit=d};_.J(BL,yL);_.g=BL.prototype;
_.g.OE=function(a){var b=this,c=yL.prototype.OE.call(this,a);if(5==c)return c;c=_.gl(a);var d=c.every(function(e){var f=e.Ya();return(null!=b.Cd.get(f)||b.teamDriveId==f)&&!_.Q(e,2,!1)});if(0<c.length&&d)return 1;a=_.oe(a,33);return 0!=a.length&&a.includes(this.teamDriveId)?1:5};_.g.xs=function(a){return yL.prototype.xs.call(this,a)&&!!a&&a.getItem().uc()==this.teamDriveId&&!hL(a.getItem())};_.g.NN=function(){return!1};_.g.jd=function(){var a=new _.Df;_.il(a,[this.teamDriveId]);_.jl(a,2);return a};
_.g.WM=function(){return null};_.g.uc=function(){return this.teamDriveId};_.g.getType=function(){return"TeamDriveCorpusCache: "+this.teamDriveId};var nvc=function(a,b){this.W=a;this.ka=b;this.ha=[];this.O=this.H=null;this.V=[];a=new _.Df;_.u(a,48,!0);b=new _.Dd;_.Ed(b,11);_.Fd(b,2);_.Ef(a,b);this.ma=jL(this.W,a,!0)};
nvc.prototype.add=function(a){a instanceof zL?this.H=a:a instanceof fvc?this.O=a:a instanceof xL?(this.log("Adding new cache hint for "+XK(this.W,a.jd(),2)),this.ha.push(a)):a instanceof BL&&this.V.push(a)};
nvc.prototype.remove=function(a){var b=this;if(a instanceof zL)this.H&&(wL(this.H,!1),this.H=null);else if(a instanceof fvc)this.O&&(wL(this.O,!1),this.O=null);else if(a instanceof xL){var c=_.ma(this.ha,function(d){return b.W.equals(d.jd(),a.jd())});0<=c&&(wL(this.ha[c],!1),_.wa(this.ha,c))}else a instanceof BL&&(c=_.ma(this.V,function(d){return b.W.equals(d.jd(),a.jd())}),0<=c&&(wL(this.V[c],!1),_.wa(this.V,c)))};
var ovc=function(a){var b=[];a.H&&b.push(a.H);a.O&&b.push(a.O);_.Ca(b,_.Aa(a.ha));_.Ca(b,_.Aa(a.V));return b},pvc=function(a,b){b=void 0===b?!1:b;return a.ha.filter(function(c){return a.H&&b?(c=c.jd().clone(),_.wb(c,32),_.tj(c,26),!_.Aj(a.ma,c)):!0})};nvc.prototype.vW=function(){return _.Aa(this.V)};var qvc=function(a,b){return _.Bg(a.V,function(c){return c.uc()===b})},rvc=function(a,b){return pvc(a).find(function(c){return a.W.equals(c.jd(),jL(a.W,b,!0))})};
nvc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.CorpusCacheList",a,void 0===b?"info":b)};var svc=function(a,b){_.pi.call(this,"wb");this.ids=a;this.error=b};_.J(svc,_.pi);svc.prototype.getError=function(){return this.error};svc.prototype.H=function(){return this.ids};var tvc=function(a){_.pi.call(this,"xb");this.people=a};_.J(tvc,_.pi);tvc.prototype.getPeople=function(){return this.people};var uvc=function(a){_.pi.call(this,"yb");this.people=a};_.J(uvc,_.pi);
uvc.prototype.getPeople=function(){return this.people};var vvc=function(a,b,c){c=void 0===c?0:c;this.person=a;this.Ne=c;this.O=!1;this.H=new Set(b?[b]:[]);6===c&&(this.O=!0)};vvc.prototype.Ve=function(){return this.Ne};
var wvc=function(a){return 0===a.Ne?1:2===a.Ne||(1===a.Ne||4===a.Ne)&&(a.person.sq()||a.O)?3:2},xvc=function(a,b,c){if(_.x(b,1)!==_.x(a.person.clone(),1))return!1;6===c&&(a.O=!0);var d=wvc(a),e=a.Ve();if(4===c?0:1===e?1===c:5===e||6===e||2===e||4===e?0!==c&&e!==c:1)return b=Muc(b.clone(),a.getEmail(b)),e=!_.Aj(a.person,b),a.person=b,a.Ne=c,e||d!==wvc(a);if(4===c)return a.Ne=c,_.u(a.person,6,_.x(b,6)),d!==wvc(a);c=b;return!a.person.getEmail()&&c.getEmail()?(Muc(a.person,a.getEmail(b)),!0):!1};
vvc.prototype.getEmail=function(a){var b=this.person.getEmail();a=a.getEmail();return!a&&b&&0!==b.length?b:a};var zvc=function(a,b,c,d){var e;_.yi.call(this);var f=this;this.O=a;this.V=b;this.W=c;this.ka=d;this.H=[];this.ha=(null===(e=_.AJ(a))||void 0===e?0:_.Q(e,20,!1))?450:50;this.ma=new _.bI(function(){return yvc(f)},100,this)};_.J(zvc,_.yi);zvc.prototype.kh=function(a){a&&_.dI(this.O)&&(this.H.includes(a)||this.H.push(a),this.ma.ne())};
var yvc=function(a){a.ka.then(function(){for(;a.H.length;){var b=a.H.splice(0,a.ha);a.log("Querying for people. Size: "+b.length+". Pending: "+(a.H.length+" "+b));a.sendRequest(b)}})};zvc.prototype.sendRequest=function(a){var b=this;return this.W.then(function(c){var d=c.Oe;var e=new _.hJ;e=_.qj(e,1,a);return d.call(c,e)}).then(function(c){c=_.zb(c,rL,1);b.dispatchEvent(new tvc(c))},function(c){c=_.Yc(c);b.dispatchEvent(new svc(a,c))})};
zvc.prototype.log=function(a){this.V.info("drive.ds.sync.query.PeopleQueryRunner",a)};
var Cvc=function(a,b,c,d,e){_.yi.call(this);var f=this;this.H=new Map;this.O=new Set;this.V=new Map;this.Nc=new _.nf(this);this.Ja(this.Nc);this.ka=b;this.ha=d;this.ta=_.Bj(_.w(a,zqc,85)||new zqc,1,864E5);this.W=new zvc(a,b,c,e);this.ma=new _.uD(function(){var h,k=null===(h=f.ha)||void 0===h?void 0:UK(h,106015);if(k){h=_.w(_.ZJ(k),frc,11);if(!h){h=new frc;var l=_.ZJ(k);_.E(l,11,h)}h=_.u(h,1,f.H.size);_.u(h,2,f.O.size);k.xj()}},500,this);this.Nc.listen(this.W,"xb",function(h){h=h.getPeople();Avc(f,
h,1);f.ma.ne()});this.Nc.listen(this.W,"wb",function(h){Bvc(f,h)})};_.J(Cvc,_.yi);Cvc.prototype.get=function(a){var b=this.H.get(a);return b?(Dvc(this,b)&&Evc(this,a),b):null};var Evc=function(a,b){if(!b)return Promise.resolve();if(a.V.has(b))return a.V.get(b).promise;a.W.kh(b);var c=new _.dn;a.V.set(b,c);return c.promise};Cvc.prototype.Rb=function(a){var b=this;return Fvc(this,a)?Promise.resolve(this.H.get(a)):Evc(this,a).then(function(){return b.H.get(a)})};
Cvc.prototype.lc=function(){return 0===this.H.size};Cvc.prototype.clear=function(){this.log("Clearing the PeopleCache.");this.H.clear();this.O.clear()};
var Gvc=function(a){return[].concat(_.ec(a.H.values())).filter(function(b){return 3===wvc(b)&&4!==b.Ve()}).map(function(b){return b.person.clone()})},Hvc=function(a,b){return(a=a.H.get(b))?[].concat(_.ec(a.H)):[]},Ivc=function(a,b,c){c=_.m(c);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=a.H.get(d);e&&(e.H.delete(b),0===[].concat(_.ec(e.H)).length&&(a.H.delete(d),a.O.delete(d)))}},Avc=function(a,b,c){if(![1,2].includes(c))throw Error("sf");0!==b.length&&(a.log("Importing "+b.length+" from "+
(Object.keys(Juc)[c]+".")),Jvc(a,b,c))},Lvc=function(a,b,c,d){0!==b.length&&Kvc(a,b,c,void 0===d?0:d)},Fvc=function(a,b){b=a.H.get(b);return!(!b||3!==wvc(b)||Dvc(a,b))},Kvc=function(a,b,c,d){d=void 0===d?0:d;var e=!1;b=_.m(b);for(var f=b.next();!f.done;f=b.next()){f=f.value;var h=_.x(f,1),k=a.H.get(h);if(k)xvc(k,f,d)&&(e=!0),c&&k.H.add(c);else if(4!==d){e=!0;k=a;var l=d,p=c;1!==l&&2!==l&&Evc(k,_.x(f,1));k.H.set(_.x(f,1),new vvc(f,p,l))}e&&1===d&&(f.getName()?a.O.delete(h):a.O.add(h))}return e},Dvc=
function(a,b){switch(b.Ve()){case 1:case 2:return null==_.x(b.person.clone(),5)||Date.now()-Number(_.x(b.person.clone(),5))>a.ta;case 4:return 1E3<Date.now()-Number(_.x(b.person.clone(),6));default:return!0}};Cvc.prototype.log=function(a,b){this.ka.log("drive.ds.sync.cache.PeopleCache",a,void 0===b?"info":b)};
var Bvc=function(a,b){b=b.H().map(function(c){var d=a.H.get(c);return d?d.person.clone():Luc(new rL,c)});Jvc(a,b,4)},Jvc=function(a,b,c){for(var d=Date.now(),e=_.m(b),f=e.next();!f.done;f=e.next()){var h=f.value;f=_.x(h,1);1===c?_.u(h,5,d):4===c&&_.u(h,6,d);if(h=a.V.get(f))h.resolve(),a.V.delete(f)}Kvc(a,b,void 0,c)&&a.dispatchEvent(new uvc(b))},Mvc=function(a,b,c,d,e){_.yi.call(this);var f=this;this.Nc=new _.nf(this);this.Ja(this.Nc);this.H=new Cvc(a,b,c,d,e);this.O=_.AJ(a)||new _.Qhc;this.Nc.listen(this.H,
"yb",function(h){return f.dispatchEvent(h)})};_.J(Mvc,_.yi);Mvc.prototype.oP=function(a){var b=this;if(a.H){var c=a.H.getItem(),d=Nvc(this,[c]).map(function(e){return Ovc(b,e)});Lvc(this.H,d,a.H.getId(),this.Ve(_.x(c,82)))}a.O&&Ivc(this.H,a.id,Pvc(this,a))};Mvc.prototype.Ve=function(a){return _.ggc.get(a)||0};
var Pvc=function(a,b){var c=Qvc(a,b.O),d=Qvc(a,b.H);return c.filter(function(e){return!d.includes(e)})},Qvc=function(a,b){return b?Rvc(a,[b.getItem()]):[]},Tvc=function(a,b){b=b.getUser();Lvc(a.H,[Ovc(a,b)],"ACCOUNT");Svc(a,b)},Vvc=function(a,b){var c=_.zb(b,_.SJ,2).map(function(d){var e=_.w(d,_.nk,9,1);return a.H.Rb(CK(e)).then(function(){return void Uvc(a,[e])})});return Promise.all(c).then(function(){return b})},Wvc=function(a,b){Uvc(a,Nvc(a,b))},Uvc=function(a,b){b=_.m(b);for(var c=b.next();!c.done;c=
b.next())c=c.value,CK(c)&&Svc(a,c)},Xvc=function(a,b,c){for(var d=new Set,e=_.m(b),f=e.next();!f.done;f=e.next())f=f.value,CK(f)&&(d.add(CK(f)),Lvc(a.H,[Ovc(a,f)],c));return Promise.all([].concat(_.ec(d)).map(function(h){return a.H.Rb(h)})).then(function(){return Uvc(a,b)})},Yvc=function(a,b){return Rvc(a,[b]).some(function(c){return!Fvc(a.H,c)})},Rvc=function(a,b){var c=new Set;a=Nvc(a,b);a=_.m(a);for(b=a.next();!b.done;b=a.next())(b=CK(b.value))&&c.add(b);return[].concat(_.ec(c))},Nvc=function(a,
b){return b.map(function(c){var d=c.sw();d=d?[].concat(_.ec(d.GR()),_.ec(_.zb(d,_.nk,3))):[];var e=c.vf();e=(e=e&&_.te(e))?Nvc(a,[e]):[];return[].concat(_.ec(_.Ck(c)),[c.ym(),c.Vr(),c.kq(),c.uD()],_.ec(d),_.ec(e))}).flat().filter(function(c){return c&&!!CK(c)})};Mvc.prototype.Id=function(a){return Hvc(this.H,a).filter(function(b){return"ACCOUNT"!==b})};
var Zvc=function(a){return Puc(new Ouc,Gvc(a.H))},$vc=function(a,b){return b.map(function(c){c=c.clone();var d=Nvc(a,[c]);d=_.m(d);for(var e=d.next();!e.done;e=d.next())e=e.value,_.wb(e,3),_.wb(e,8),_.wb(e,5);return c})},bwc=function(a,b){return b.some(function(c){return awc(a,c)})},awc=function(a,b){return Nvc(a,[b]).some(function(c){return _.lj(c,3)||c.sq()||_.lj(c,5)})},Svc=function(a,b){var c=a.H.get(CK(b));if(c){a=c.person.clone();var d=_.thc(b.Yc(a.getName()),a.getEmail());c=wvc(c);_.u(d,16,
c);(a=_.w(a,Kuc,4))&&b.Ln(a.getUrl())}},Ovc=function(a,b){var c=CK(b);c=Muc(Luc(new rL,c).Yc(b.getName()),b.getEmail());var d=new Kuc;d=_.u(d,1,_.x(b,5));c=_.E(c,4,d);_.Q(a.O,9,!1)&&(_.wb(b,3),_.wb(b,8),_.wb(b,5));return c},cwc=function(){this.suggestionSessionId=this.W=null;this.V=[];this.incompleteSearch=!1;this.O=[];this.H=!0};cwc.prototype.Wf=function(){return this.suggestionSessionId};cwc.prototype.QAa=function(){return this.O};cwc.prototype.lc=function(){return this.H};
var dwc=function(a){if(!a)return null;a=a.split("/");return 2>a.length?null:a[1]},ewc=function(a,b){a=dwc(a);b=dwc(b);return!(!a||!b||a!==b)},fwc=function(a){return a.qc()+"_"+dwc(a.getName())},gwc=function(a,b){var c=_.oe(a,1).map(function(d,e){return b[Number(e)].value.B5a.promise});return Promise.allSettled(c).then(function(d){return _.oe(a,1).map(function(e,f){e=e.toString();var h=new Suc;e=_.u(h,1,e);f=d[Number(f)];"fulfilled"===f.status?e.Bc(1):(e.Bc(3),e.Ke(f.reason.ug));return e})})},CL=function(a,
b){_.L.call(this);this.O=a;this.request=b;this.Uy=new Set;this.status=6;this.W=new Map;this.Ne=0};_.J(CL,_.L);_.g=CL.prototype;_.g.Zh=function(a){var b=this;this.Uy.add(a);return this.resize().then(function(){return b.CO(a)})};_.g.$j=function(a){this.Uy.delete(a);0===this.Uy.size&&this.dispose()};_.g.Ve=function(){return this.Ne};_.g.mi=function(a){this.Ne=a};
_.g.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=!1;a.forEach(function(f){e=d.Pu(f,c)||e});b||(e=1!==this.status||e,this.status=1);return e?this.kY():_.Xh([])};_.g.kY=function(){for(var a=[],b=_.m(this.Uy.values()),c=b.next();!c.done;c=b.next())a.push(this.CO(c.value));return _.Zh(a)};
_.g.jY=function(a){this.status=3;for(var b=[],c={},d=_.m(this.Uy.values()),e=d.next();!e.done;c={ura:c.ura},e=d.next())c.ura=e.value,b.push(this.O.then(function(f){return function(h){return void h.jY(f.ura,a)}}(c)));return _.Zh(b)};_.g.AA=function(){for(var a=this,b=[],c={},d=_.m(this.Uy.values()),e=d.next();!e.done;c={vra:c.vra},e=d.next())c.vra=e.value,b.push(this.O.then(function(f){return function(h){return void h.AA(f.vra)}}(c)));return _.Zh(b).then(function(){a.mi(0===a.Ve()?1:6)})};
_.g.resize=function(){var a=this;return this.O.then(function(b){var c=0;a.Uy.forEach(function(d){d=b.gla(d);c=Math.max(c,d.vi?d.vi()||0:0)});a.Tfa(c)})};var hwc=function(a,b){return b?a.W.get(a.Hka(b))||null:null};_.g=CL.prototype;_.g.iI=function(a,b){var c=hwc(this,a);b=jtc(c,b);this.W.set(this.Hka(a),b)};_.g.Hka=function(a){return a};_.g.BNa=function(){return[]};_.g.CO=function(a){var b=this;return this.O.then(function(c){return void c.CO(a,b.Zj())})};_.g.removeItem=function(){};
var DL=function(a,b){_.pi.call(this,"Db");this.error=a;this.retryCount=b};_.J(DL,_.pi);var EL=function(a,b){_.yi.call(this);this.request=a;this.pageToken="";this.H=this.O=!1;this.data=[];this.limit=0;this.W=b};_.J(EL,_.yi);var iwc=function(a){return!a.O||""!==a.pageToken};EL.prototype.kh=function(a){this.limit=void 0===a?1E5:a;return!this.H&&this.data.length<=this.limit&&iwc(this)?jwc(this):_.Xh()};
var jwc=function(a){a.O=!0;a.H=!0;var b=a.Pia(a.request,a.limit-a.data.length,a.pageToken);return a.W(b).then(function(c){return kwc(a,c)},function(c){return a.handleError(c)})},kwc=function(a,b){a.H=!1;a.pageToken=a.Zka(b);b=a.mka(b);b.forEach(function(c){return a.data.push(c)});a.G6(b);return a.data.length<a.limit&&iwc(a)?_.Zh([_.Xh(b),jwc(a)]).then(function(c){return c[0].concat(c[1])}):_.Xh(b)};
EL.prototype.handleError=function(a){this.H=!1;a=_.mI(a);var b=new DL(a);this.CNa(b);this.dispatchEvent(b);return _.Yh(a)};EL.prototype.G6=function(){};EL.prototype.CNa=function(){};var lwc=function(a,b,c){EL.call(this,c,function(d){return a.then(function(e){return e.Oe(d)}).mg(function(e){return void BK(e)})});this.V=b};_.J(lwc,EL);_.g=lwc.prototype;_.g.Pia=function(a,b,c){a=a.clone();a.Fi(b);return new _.Ngc(a,c)};_.g.Zka=function(a){return a.pageToken||""};_.g.mka=function(a){return a.response.H()};
_.g.G6=function(a){this.V.zD(a,!1,1)};_.g.CNa=function(a){this.V.HB(this.request,a)};var mwc=function(a,b,c,d){CL.call(this,a,d.clone());this.ha=b;this.V=c;this.data=[];this.H=null};_.J(mwc,CL);_.g=mwc.prototype;_.g.refresh=function(){this.AA();this.H=new lwc(this.ha,this.V,this.request);return this.H.kh(this.request.vi()||100)};_.g.Fp=function(a){return this.data.find(function(b){return ewc(b.getName(),a)})};
_.g.Tfa=function(a){this.H&&a===this.request.vi()||(this.request.Fi(a),this.H?this.H.kh(a):this.refresh())};_.g.Zj=function(){var a=this,b=Guc((new qL).Bc(this.status),this.data.filter(function(c){return a.V.eEa(c)}).map(function(c){return c.clone()}));return new _.eK(b,void 0,void 0,this.Ve())};_.g.zD=function(a,b,c){var d=this;a=a.filter(function(e){return e.qc()===d.request.qc()});return CL.prototype.zD.call(this,a,b,c)};
_.g.Pu=function(a,b){b=void 0===b?1:b;if(!pnc(hwc(this,a.getName()),b))return!1;var c=-1===b?0:this.data.length,d=this.data.findIndex(function(e){return ewc(e.getName(),a.getName())});-1<d&&(this.data.splice(d,1),c=d);this.data.splice(c,0,a);this.iI(a.getName(),b);return!0};_.g.removeItem=function(a){_.ya(this.data,function(b){return ewc(b.getName(),a)})&&(this.W.delete(this.Hka(a)),this.kY())};_.g.Hka=function(a){return dwc(a)};_.g.iI=function(a,b){this.Fp(a)&&CL.prototype.iI.call(this,a,b)};
_.g.BNa=function(a){var b=this;return a instanceof _.rJ&&a.qc()===this.request.qc()?a.$V().map(function(c){return b.Fp(c.Dm())}).filter(function(c){return!!c}).map(function(c){return c.clone()}):[]};var FL=function(){this.H=new Map};FL.prototype.Zh=function(a,b){var c=this.getKey(b),d=this.H.get(c),e=!d;d||(d=this.Sia(b),this.H.set(c,d));d.Zh(a);return e};var nwc=function(a,b,c){var d=a.getKey(c),e=a.H.get(d),f=!e;e||(e=a.Lxa(c),a.H.set(d,e));e.Zh(b);return f};
FL.prototype.$j=function(a,b){var c=this.H.get(this.getKey(b));c&&(c.$j(a),c.isDisposed()&&this.H.delete(this.getKey(b)))};var owc=function(a,b,c){var d=a.H.get(a.getKey(c));d&&(d.$j(b),d.isDisposed()&&a.H.delete(a.getKey(c)))},pwc=function(a,b){return a.H.get(b)};FL.prototype.zD=function(a,b,c){var d=this;c=void 0===c?1:c;var e=a.filter(function(f){return d.eEa(f)});this.H.forEach(function(f){f.zD(e,b,c)})};FL.prototype.removeItem=function(a,b){b=b?this.H.get(b):null;(b?[b]:this.H).forEach(function(c){c.removeItem(a)})};
var qwc=function(a,b){a=Array.from(a.H.values()).map(function(c){return c.BNa(b)});return[].concat.apply([],_.ec(a))};FL.prototype.iI=function(a,b){this.H.forEach(function(c){c.iI(a,b)})};FL.prototype.eEa=function(){return!0};FL.prototype.HB=function(a,b){(a=this.H.get(this.getKey(a)))&&a.jY(b)};FL.prototype.h3=function(a,b,c,d){var e=this.getKey(b),f=this.H.get(e);f||(f=this.Sia(b),f.mi(c),this.H.set(e,f),this.zD(a,d))};var rwc=function(){this.V=new Set;this.O=0;this.H=[]},swc=function(a,b){a.V.add(b)};
rwc.prototype.W=function(a){this.V.delete(a)};var twc=function(a,b){var c;if(c=b instanceof _.Bk)c=b.tw(),c=!!(b.Nh()&&c&&c<=Math.max.apply(Math,_.ec([a.O].concat(_.ec(a.H)))));if(c)return!0;b=b instanceof _.Bk?b.getId():b;return a.V.has(b)},uwc=function(a,b){return _.ya(a.H,function(c){return c===b})&&b>a.O?(a.O=b,!0):!1};rwc.prototype.w9=function(a){var b=this;return a.filter(function(c){return!twc(b,c)})};var vwc=function(a,b){this.H=new Map;this.V=a;this.W=b;this.O=new rwc};_.J(vwc,FL);
var wwc=function(a,b){swc(a.O,fwc(b));(a=pwc(a,b.qc()))&&a.kY()};_.g=vwc.prototype;_.g.getKey=function(a){return a.qc()};_.g.Sia=function(a){return new mwc(this.V,this.W,this,a)};_.g.Lxa=function(a){return new mwc(this.V,this.W,this,a)};_.g.yo=function(a){a=_.m(a);for(var b=a.next();!b.done;b=a.next())(b=b.value.getItem())&&(b=pwc(this,b.getId()))&&b.refresh()};_.g.eEa=function(a){return!twc(this.O,fwc(a))};
var xwc=function(a){var b=new _.TH;b.Nb(a);return b},ywc=function(){_.yi.call(this);this.H=Date.now()};_.J(ywc,_.yi);ywc.prototype.zF=function(){this.H=Date.now();this.dispatchEvent("Eb")};
var zwc=function(a,b){this.O=a;this.H=b},Awc=function(a,b){b=_.fWb(b);var c=new lwc(a.O,a.H,b);new Promise(function(d,e){return c.kh(100).then(d,e)})},Bwc=function(){this.Cd={}},GL=function(a,b){Cwc(a,"subscribed");b&&Cwc(a,b);return a.Cd[b||"subscribed"].he.promise},Cwc=function(a,b){a.Cd[b]||(a.Cd[b]={count:0,gS:[],A3a:[],he:_.$h()});a.Cd[b].count++},Ewc=function(a,b){b&&!Dwc(a,b)||Dwc(a,"subscribed")},Dwc=function(a,b){if(!a.Cd[b])return!1;a.Cd[b].count--;0===a.Cd[b].count&&(a.Cd[b].he.resolve({items:a.Cd[b].gS,
qNb:a.Cd[b].A3a}),_.$a(a.Cd,b));return!0};Bwc.prototype.yo=function(a,b){var c=this,d=b||"subscribed";a.forEach(function(e){var f=e.uc();f&&f===e.qc()&&c.Cd[f]&&c.Cd[f].A3a.push(e);c.Cd[d]&&c.Cd[d].gS.push(e)})};var Fwc=function(a,b,c){EL.call(this,a,c);this.V=b};_.J(Fwc,EL);Fwc.prototype.Pia=function(a,b){return a.clone().Fi(b)};Fwc.prototype.Zka=function(){return""};Fwc.prototype.mka=function(a){return[a]};Fwc.prototype.G6=function(a){this.V(a)};
var Gwc=function(a,b,c,d){CL.call(this,a,d.clone());this.ka=b;this.H=this.V=null;this.ha=c};_.J(Gwc,CL);Gwc.prototype.refresh=function(){var a=this;this.AA();this.H=new Fwc(this.request,this.ha,function(b){return a.ka.then(function(c){return c.Oe(b)})});return this.H.kh(this.request.vi()||0)};Gwc.prototype.Tfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Fi(a),this.H?this.H.kh(a):this.refresh())};
Gwc.prototype.Zj=function(){if(this.V)return this.V;var a=new dL;a.Bc(this.status);return a};Gwc.prototype.Pu=function(a){this.V=a;return!0};var Hwc=function(a,b,c){this.H=new Map;this.O=a;this.W=b;this.V=c};_.J(Hwc,FL);_.g=Hwc.prototype;_.g.log=function(a){this.V.info("drive.ds.sync.cache.SuggestedWorkspaceCacheManager",a)};_.g.getKey=function(a){return a.toString()};_.g.Sia=function(a){var b=this;return new Gwc(this.O,this.W,function(c){b.zD(c,!1)},a)};_.g.Lxa=function(){throw Error("tf");};
_.g.h3=function(a,b,c,d){var e=a[0].Wk();this.log("Initialized "+e.length+" suggested workspaces: "+e.map(function(f){return f.pq()}).join(", "));FL.prototype.h3.call(this,a,b,c,d)};var Iwc=function(a,b,c,d){_.yi.call(this);this.request=a;this.Ba=b;this.ta=c;this.wa=d;this.ma=0;this.he=null;this.O=new Set};_.J(Iwc,_.yi);
Iwc.prototype.kh=function(){var a=this;if(this.he)return this.he.promise;this.he=_.$h();for(var b={},c=_.m(this.W(this.request)),d=c.next();!d.done;b={Lra:b.Lra,Zea:b.Zea},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.Zea=d;b.Lra=e;this.ma++;this.Ba.then(function(f){return function(h){return h.Oe(f.Lra)}}(b)).then(function(f){return function(h){var k=f.Zea;a.V(h);Jwc(a,k)}}(b),function(f){return function(h){return void a.handleError(f.Zea,h)}}(b))}return this.he.promise};
var Jwc=function(a,b){a.O.add(b);a.O.size===a.ma?(a.ha(a.request),a.dispatchEvent("Cb"),a.he.resolve()):a.dispatchEvent("zb")};Iwc.prototype.handleError=function(a,b){b=_.Yc(b);var c=b.ug;5===c.wv()||4===c.Uj()?(this.wa.info("drive.ds.sync.query.SimpleFindByIdsRunner","Deleting "+a+" due to: "+b.message),this.ka(a),Jwc(this,a)):(a=new DL(c,_.Bj(this.ta.Tf(),1,1)),this.dispatchEvent(a),this.he.reject(b))};var Kwc=function(a,b,c,d,e){Iwc.call(this,a.clone(),c,d,e);this.H=b};_.J(Kwc,Iwc);
Kwc.prototype.W=function(a){var b=new Map;a.Em().forEach(function(c){var d=_.kVb(a.clone(),[c]);b.set(c,d)});return b};Kwc.prototype.V=function(a){var b=[];a.lU().forEach(function(c){b.push(c)});this.H(b,!0)};Kwc.prototype.ha=function(){this.H([],!1)};Kwc.prototype.ka=function(a){this.H([xwc(a)],!0)};var Lwc=function(a,b,c,d,e,f){CL.call(this,a,f.clone());this.ma=b;this.V=c;this.ka=d;this.ha=e;this.Pk={};this.H=null};_.J(Lwc,CL);
Lwc.prototype.refresh=function(){this.H=new Kwc(this.request,this.ha,this.ma,this.V,this.ka);return this.H.kh()};Lwc.prototype.Tfa=function(){this.H||this.refresh()};Lwc.prototype.Zj=function(){var a=new _.cK;a.Bc(this.status);_.Ra(this.Pk,function(b,c){a.lU().set(c,b||new _.TH)});a.mi(this.Ve());return a};Lwc.prototype.Pu=function(a){var b=a.getId();if(_.Aj(a,xwc(a.getId()))){if(this.Pk[b])return delete this.Pk[b],!0}else if(0<=this.request.Em().indexOf(b))return this.Pk[b]=a,!0;return!1};
var Mwc=function(a,b){a=a.getState();return null==a||b.getState()==a},Nwc=function(a,b,c){EL.call(this,a,c);this.V=b};_.J(Nwc,EL);Nwc.prototype.Pia=function(a,b,c){a=a.clone();a.Fi(b);return new _.$gc(a,c)};Nwc.prototype.Zka=function(a){return a.pageToken||""};Nwc.prototype.mka=function(a){return a.response.Wk()};Nwc.prototype.G6=function(a){this.V(a)};var Owc=function(a){this.H=_.zcc(a,{numeric:!0})};
Owc.prototype.O=function(a,b,c){var d=b.getTitle()||"",e=c.getTitle()||"",f;d!==e?f=this.H(d,e)*(a?1:-1):f=_.Ha(b.getId(),c.getId())*(a?1:-1);return f};Owc.prototype.V=function(a,b,c){var d=_.x(b,4),e=_.x(c,4),f;d!==e?f=_.Ha(d,e)*(a?1:-1):f=_.Ha(b.getId(),c.getId())*(a?1:-1);return f};var Pwc=function(a,b,c,d,e){CL.call(this,a,e.clone());this.ha=b;this.Pk=[];this.H=null;this.V=d;a=new Owc(c);b=(c=this.request.Fx())?c.getType():0;c=c?c.Vf():0;this.ka=1===b?a.O.bind(a,2!==c):a.V.bind(a,1===c)};
_.J(Pwc,CL);Pwc.prototype.refresh=function(){var a=this;this.AA();this.H=new Nwc(this.request,this.V,function(b){return a.ha.then(function(c){return c.Oe(b)})});return this.H.kh(this.request.vi()||0)};Pwc.prototype.Tfa=function(a){1===this.status||this.H&&a===this.request.vi()||(this.request.Fi(a),this.H?this.H.kh(a):this.refresh())};Pwc.prototype.Zj=function(){var a=new sL;a.Bc(this.status);Ruc(a,this.Pk.map(function(b){return b.clone()}));return new _.hK(a,void 0,1!==this.status&&iwc(this.H),this.Ve())};
Pwc.prototype.Pu=function(a){var b=_.ya(this.Pk,function(c){return c.getId()===a.getId()});return a&&Mwc(this.request,a)&&!_.Aj(a,xwc(a.getId()))?Pmc(this.Pk,a,this.ka):b};var Qwc=function(a,b,c,d){this.H=new Map;this.V=a;this.ha=b;this.W=c;this.O=d;this.logName="drive.ds.sync.cache.WorkspaceCacheManager"};_.J(Qwc,FL);_.g=Qwc.prototype;_.g.log=function(a){this.W.info(this.logName,a)};_.g.getKey=function(a){return a.toString()};
_.g.Sia=function(a){var b=this;return new Pwc(this.V,this.ha,PK(_.VH(this.O)),function(c){return void b.zD(c,!1)},a)};_.g.Lxa=function(a){var b=this;return new Lwc(this.V,this.ha,this.O,this.W,function(c,d){return b.zD(c,d)},a)};_.g.h3=function(a,b,c,d){this.log("Initialized "+a.length+" items for workspaces: "+a.map(function(e){return e.getId()}).join(", "));FL.prototype.h3.call(this,a,b,c,d)};
var Rwc=function(a,b){b=void 0===b?!1:b;var c=a.getMimeType();FK(a)&&(c=(c=a.vf())?_.x(c,3):"");GK(a)&&(a.Li()&&(c+="+"+String(a.Li())),a.tj()&&(c+="+shared"));return _.MRa(c,b?"32":"16")},Swc=function(a,b){b=Object.entries(b);return 0===b.length?a:a+"?"+b.map(function(c){var d=_.m(c);c=d.next().value;d=d.next().value;return c+"="+d}).join("&")},Twc=function(a,b){var c=_.P(a,44),d=a.vf();if(d){if(1!==_.ve(d))return null;c=(c=_.te(d))?_.P(c,44):!0}if(!c)return null;c={};d=a.getId();FK(a)&&(d=gnc(a));
d=[_.y(b,65,"https://lh3.google.com"),"u",_.nI(_.VH(b)),"d",d].join("/");_.Q(b,89,!1)&&_.lj(a,140)&&(c.resourcekey=_.Hk(a));return d=Swc(d+"={size}",c)},Uwc=function(a){this.H=a},Wwc=function(a,b,c){if(c.includes(20)&&c.includes(3)){var d=Rwc(b,_.Q(a.H,75,!1));_.u(b,21,d)}c.includes(18)&&_.Ehc(b,Ync(b,a.H));c.includes(19)&&(d=Twc(b,a.H),_.u(b,20,d));Vwc(a,b,c);if(FK(b)){if(d=(d=b.vf())&&_.te(d)){if(c.includes(20)&&c.includes(3)){var e=Rwc(d,_.Q(a.H,75,!1));_.u(d,21,e)}c.includes(18)&&_.Ehc(d,Ync(d,
a.H));c.includes(19)&&(e=Twc(d,a.H),_.u(d,20,e));Vwc(a,d,c)}_.u(b,44,!!b.yz())}},Vwc=function(a,b,c){var d=c.includes(41);c=c.includes(42);if(d||c){var e=b.getMimeType();e&&(e=!GK(b)&&!FK(b)&&!_.be(e)&&(!b.z7()||2!==b.xp()),d&&_.u(b,40,e),e&&c&&(a=a.H,d=b.getId(),FK(b)&&(d=gnc(b)),c=new _.Yi(_.y(a,16,"")+"/uc"),_.cj(c,"id",d),_.cj(c,"authuser",_.nI(_.VH(a))),_.cj(c,"export","download"),_.Q(a,89,!1)&&_.lj(b,140)&&_.cj(c,"resourcekey",_.Hk(b)),_.u(b,41,c.toString())))}},Xwc=function(a,b){this.aja="";
this.startTime=b||new Date;this.H=a;this.oaa=$nc(a)};Xwc.prototype.clone=function(){return new Xwc(this.H,this.startTime)};var Ywc=function(){this.H=null;this.aZ=[]},Zwc=function(a){return _.Bf(a.aZ,function(b){return _.cb(b)})};Ywc.prototype.sN=function(){return this.H};
Ywc.prototype.O=function(a,b,c){if(this.H){var d=this.H;if(!a["X-Google-DapperTraceInfo"]){var e=new $uc;e.V=Zuc(d.oaa);var f=_.qh().substring(0,8);d=$nc(f);f=(new uuc).Nb(f);f=_.u(f,2,d);b=_.u(f,3,b).zi(c);this.aZ.push(b);e.O=Zuc(d);e.H=Xuc(808464432,808464432);e.W=41;b=String.fromCharCode;c=b.apply;d=new _.Rj;if(e.V){f=e.V.O>>>0;var h=e.V.H>>>0;_.Sj(d,1,1);var k=d.O;Xoc(k,f);Xoc(k,h)}e.O&&(f=e.O.O>>>0,h=e.O.H>>>0,_.Sj(d,2,1),k=d.O,Xoc(k,f),Xoc(k,h));f=e.W;null!=f&&(_.Sj(d,3,5),Xoc(d.O,f));e.H&&
(f=e.H.O>>>0,e=e.H.H>>>0,_.Sj(d,4,1),h=d.O,Xoc(h,f),Xoc(h,e));e=_.Tj(d);a["X-Google-DapperTraceInfo"]=_.aa.btoa(c.call(b,null,e))}}};var $wc=function(){this.Fb=[];this.O=this.H=0};$wc.prototype.discard=function(a){for(var b=this.H,c=this.O,d=this.Fb,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.O=c};
var axc=function(a,b){if(!c)var c=b.length;for(var d=a.H,e=a.O,f=a.Fb,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.O=e},bxc=function(a){this.key=a;this.H=new _.dgc;this.O=new _.bgc(new _.dgc,_.Bma(a))};bxc.prototype.encrypt=function(a){for(var b=[],c=0;16>c;c++)b[c]=Math.floor(256*Math.random());b=$rc(b);c=cxc(this,a);return b.concat(c,dxc(this,b,a,!0))};
var exc=function(a,b){var c=dxc(a,b.substring(0,16),b.substring(36),!1);b=b.substring(16,36);a=cxc(a,c);if(b!==a)throw Error("uf");return c},cxc=function(a,b){a=_.cgc(a.O,_.kgc(b));return $rc(a)},dxc=function(a,b,c,d){a.H.reset();a.H.update(b);a.H.update(a.key);b=new $wc;a=a.H.digest();if(!e)var e=a.length;for(var f=b.Fb,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.O=0;b.discard(1536);if(d){d="";for(e=0;e<c.length/8192;e++)a=_.kgc(c.substring(8192*
e,8192*(e+1))),axc(b,a),d+=$rc(a);return d}d=[];for(e=0;e<c.length/8192;e++){a=c.substring(8192*e,8192*(e+1));f=_.aa.Uint8Array?new Uint8Array(a.length):Array(a.length);for(h=0;h<a.length;h++)f[h]=a.charCodeAt(h)&255;a=f;axc(b,a);d.push(a)}if(d.length){for(c=0;c<d.length-1;c++)if(8192!==d[c].length)throw Error("vf");c=8192*(d.length-1)+d[d.length-1].length;b=Array(c);for(a=e=0;e<c;)f=fxc(d,e++),128>f?b[a++]=String.fromCharCode(f):191<f&&224>f?(h=fxc(d,e++),b[a++]=String.fromCharCode((f&31)<<6|h&63)):
239<f&&365>f?(h=fxc(d,e++),k=fxc(d,e++),l=fxc(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=fxc(d,e++),k=fxc(d,e++),b[a++]=String.fromCharCode((f&15)<<12|(h&63)<<6|k&63));b.length=a;d=b.join("")}else d="";return d},fxc=function(a,b){return a[Math.floor(b/8192)][b%8192]},gxc=function(a,b,c){this.data=a;this.w0a=b;this.H=c;this.isEncrypted=!1};gxc.prototype.getData=function(){return this.data};
gxc.prototype.Rm=function(){return this.w0a};var hxc=function(a,b,c,d){this.O=a;this.H=_.$h();this.hp=!1;this.V=_.y(b,7,"");this.W=_.Bj(_.QK(b),6,2E7);this.YE=_.dI(b);this.ha=_.Bj(_.QK(b),12,0);this.ka=c;this.Zf=d||null};hxc.prototype.initialize=function(){var a=this;this.hp||(this.hp=!0,this.O.initialize().then(function(){a.H.resolve()},function(b){a.H.reject(b)}));return _.hi(this.H.promise)};
hxc.prototype.uB=function(a){if(a instanceof _.NB)return 0;if(a instanceof oL)return 1;if(a instanceof usc)return 5;if(a instanceof fL)return 3;if(a instanceof Ouc)return 6;throw new _.Uc("Unsupported dataShard in getDataType");};var ixc=function(a){if(0==a)return _.NB;if(1==a)return oL;if(5==a)return usc;if(3==a)return fL;if(6==a)return Ouc;throw new _.Uc("Unsupported dataType:"+a+" in getDataTypeCtor");};hxc.prototype.Po=function(a){if(a instanceof fL)return a.Po()};
hxc.prototype.Rm=function(a){if(a instanceof fL)return a.zd().length};hxc.prototype.Cv=function(a){if(a instanceof fL)return a=a.Cv(),null!=a?a:void 0};
var nxc=function(a,b,c,d){if(0==c.length)return _.Xh();for(var e=a.uB(c[0]),f=_.m(c),h=f.next();!h.done;h=f.next())a.uB(h.value);var k=a.Po(c[0]),l=0;3==e&&jxc(a,c);var p=!!b;return kxc(a,c).then(function(q){if(p){var r=a.Zf?a.Zf.H(106023,d):null;l=q.reduce(function(z,A){(A=A.Rm())&&(z+=A);return z},0);var v=lxc(a,b,q.map(function(z){return z.getData()})).then(function(z){if(z.length!=q.length)return _.Yh(Error("wf"));z=_.m(z.entries());for(var A=z.next();!A.done;A=z.next()){var B=_.m(A.value);A=
B.next().value;B=B.next().value;A=q[A];A.data=B;A.isEncrypted=!0}return q});r&&(lrc(krc(jrc(TK(r),_.$J(_.Hfc,e)),_.$J(_.Efc,k)),!0),v.then(function(){var z=l;irc(TK(r),!0).Yv(z);r.xj()},function(){var z=l;irc(TK(r),!1).Yv(z);r.xj()}));return v}return q}).then(function(q){return a.H.promise.then(function(){return mxc(a.O,q,e,k,p,d)})})},kxc=function(a,b){return new _.Wh(function(c,d){var e=!1,f=[];b.forEach(function(l){if(!e){var p=l.Ic();p.length>a.W?e=!0:f.push(new gxc(p,a.Rm(l),a.Cv(l)))}});if(e){var h=
Error("xf"),k=new _.Tc;_.kI(k,2);_.zI(k,23);_.u(k,21,h.message);_.Ip(k);a.ka(k);d(h)}c(f)})},jxc=function(a,b){for(var c=_.m(b),d=c.next();!d.done;d=c.next());a.YE||oxc(b);if(a.ha)for(a=a.ha,c=b.length-1;0<=c;c--)if(b[c].Po()){d=[];for(var e=b[c].zd();e.length>a;){var f=_.ta(e,a-1,a);f=btc(new fL,f);d.push(f)}btc(b[c],e);d.length&&_.fb(_.ta,b,c+1,0).apply(null,d)}},HL=function(a,b,c,d,e,f){var h=_.$h(),k;_.ai(a.H.promise.then(function(){return pxc(a.O,c,d,e)}).then(function(l){var p=l.map(function(r){return r.data}),
q=new _.bi;if(l[0]&&l[0].Z0){if(k=a.Zf?a.Zf.H(106022,f):null)lrc(krc(jrc(TK(k),_.$J(_.Hfc,c)),_.$J(_.Efc,d)),!0),q.an().then(function(r){var v=k;r=void 0!=r;irc(TK(v),r);_.$ic(v)});qxc(a,q,b,p)}else q.callback(p);return _.Xh(q)},function(){}).then(function(l){var p=[];if(l){var q=0;l=_.m(l);for(var r=l.next();!r.done;r=l.next())r=r.value,r=new (ixc(c))(JSON.parse(r)),q+=a.Rm(r),p.push(r);3==c&&(a.YE||rxc(p),sxc(p));k&&TK(k).Yv(q)}h.resolve(p)}),function(){k&&k.xj()}).mg(h.reject,h);return h.promise},
oxc=function(a){if(a.length){for(var b=0;b<a.length;b++)if(a[b].lN().length)return;b=new Map;for(var c=new Map,d=_.m(a),e=d.next();!e.done;e=d.next()){e=e.value.zd()||[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Chc(f,txc(_.Ck(f),b,c)),_.Dhc(f,txc([f.ym()],b,c)[0]),_.Ghc(f,txc([f.Vr()],b,c)[0]),_.Khc(f,txc([f.kq()],b,c)[0]),_.Nhc(f,txc([f.uD()],b,c)[0]),f=f.sw())_.zhc(f,txc(f.GR(),b,c)),_.Ahc(f,txc(_.zb(f,_.nk,3),b,c))}var h=[];b.forEach(function(k){h.push(k)});_.sj(a[0],2,h)}},
txc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next()){var f=e.value;f&&f.getId()?(e=f.getId(),b.has(e)?_.Aj(f,b.get(e))?d.push(c.get(e)):d.push(f):(b.set(e,f.clone()),f=new _.nk,f.Nb(e),c.set(e,f),d.push(f))):d.push(f)}return d},rxc=function(a){var b=new Map,c=new Map;a[0]&&a[0].lN()&&a[0].lN().forEach(function(h){b.set(h.getId(),h);h=(new _.nk).Nb(h.getId());c.set(h.getId(),h)});if(b.size){a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.zd()||
[];e=_.m(e);for(var f=e.next();!f.done;f=e.next())if(f=f.value,_.Chc(f,uxc(_.Ck(f),b,c)),_.Dhc(f,uxc([f.ym()],b,c)[0]),_.Ghc(f,uxc([f.Vr()],b,c)[0]),_.Khc(f,uxc([f.kq()],b,c)[0]),_.Nhc(f,uxc([f.uD()],b,c)[0]),f=f.sw())_.zhc(f,uxc(f.GR(),b,c)),_.Ahc(f,uxc(_.zb(f,_.nk,3),b,c));_.tj(d,2)}}},uxc=function(a,b,c){if(!a)return a;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&e.getId()){var f=e.getId();_.Aj(c.get(f),e)?d.push(b.get(f).clone()):d.push(e)}else d.push(e);return d},sxc=
function(a){for(var b={},c=1;c<a.length;b={Hea:b.Hea},c++)if(!a[c].Po()){for(var d=0,e=c;e<a.length&&!a[e].Po();e++)d++;e=a[c-1];d=_.ta(a,c,d);b.Hea=e.zd();d.forEach(function(f){return function(h){_.Ca(f.Hea,h.zd())}}(b));btc(e,b.Hea)}},lxc=function(a,b,c){if(!_.Pfc()&&a.V){var d=new Worker(_.ica(_.Cy(a.V)),void 0),e=new _.bi;d.addEventListener("message",function(k){d.terminate();e.callback(k.data)},!1);d.addEventListener("error",function(k){d.terminate();e.Ed(Error(String(k)))},!1);c=Vuc(new Uuc,
c);d.postMessage({command:"encrypt",data:{request:c.Ic(),key:b}});return e}try{a=[];var f=new bxc(b);for(b=0;b<c.length;b++)a.push(f.encrypt(c[b]));var h=_.gi(a)}catch(k){h=_.ii(k)}return h},qxc=function(a,b,c,d){for(var e=0;e<d.length;e++)if(d[e].length>a.W){b.callback(void 0);return}if(!_.Pfc()&&a.V){var f=new Worker(_.ica(_.Cy(a.V)),void 0);f.addEventListener("message",function(k){f.terminate();b.callback(k.data)},!1);f.addEventListener("error",function(){f.terminate();b.callback(void 0)},!1);
f.postMessage({command:"decrypt",data:{dumps:d,key:c}})}else try{a=[];var h=new bxc(c);for(c=0;c<d.length;c++)a.push(exc(h,d[c]));b.callback(a)}catch(k){b.callback(void 0)}},vxc=/^[\w]+$/,wxc=function(a,b,c){return[a.uu(),a.clientId,b?"#":IL(a)].join(":")+":"+(c||"")},xxc=function(a,b,c){this.global=void 0===c?!1:c;a.match(vxc);this.key=a;this.value=b};xxc.prototype.getKey=function(){return this.key};xxc.prototype.Ya=function(){return this.value};
var yxc=function(a,b){return{k:wxc(b,a.global,a.key),v:a.value}},zxc=function(a,b){a=wxc(a,b);return Isc(a+"A",a+"z")},Axc=function(a,b){this.H=a;this.O=b},Bxc=function(a){return a?new Axc(a.versionKey,a.versionChangeTimestamp):null},Cxc=function(a,b){return a+":"+b},Dxc=function(a,b,c,d,e){this.data=a;this.index=b;this.size=c;this.timestamp=d;this.Z0=void 0===e?null:e},Exc=function(a){return{data:a.data,index:a.index,size:a.size,timestamp:a.timestamp,e:a.Z0}},Fxc=function(a,b,c,d){a=IL(a)+"_"+b;
3===b&&(a+="_"+d);return a+=_.Ks(":%02d",c)},Gxc=function(a,b,c,d){c=Fxc(a,b,void 0===c?0:c,d);a=IL(a)+"_"+b;3===b&&(a+="_"+d);return Isc(c,a+":a")},Hxc=function(a){var b=IL(a)+"_";a=IL(a)+"_A";return Isc(b,a)},Ixc=function(a){return a?new Dxc(a.data,a.index,a.size,a.timestamp,a.e):null},Jxc=function(a,b,c,d,e,f){f=void 0===f?Date.now():f;this.userId=a;this.clientId=b;this.W=c;this.V=d;this.O=null;this.ha=this.ka=!1;this.ma=void 0;this.fields=_.Aa(e);_.Ka(this.fields);_.Ga(this.fields);this.H=f};
Jxc.prototype.uu=function(){return this.userId};Jxc.prototype.dh=function(){return _.Aa(this.fields)};
var IL=function(a){if(!a.O){var b=new _.HH;b.update([a.userId,a.clientId,a.W,a.V].join(":"));b.update(a.fields);a.O=_.sec(b.digest())}return a.O},Kxc=function(a){return{versionKey:IL(a),versionInfo:{u:a.userId,c:a.clientId,pv:a.W,phk:a.V,f:a.fields},lastAccessedTimestamp:a.H}},Lxc=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 Jxc(c.u,c.c,c.pv,c.phk,c.f,a.lastAccessedTimestamp);b?a.O=d:IL(a)!==d&&(a=null);return a},JL=function(a,
b,c,d){c=void 0===c?null:c;d=void 0===d?!1:d;_.L.call(this);var e=this;this.Zf=b;this.W=c;this.readOnly=d;this.H=this.version=null;this.Ba=!1;this.wa=!0;this.V=null;this.ka=!1;this.O="";this.ma=null;this.Pa=a.then(function(f){e.version=f});this.Ib=new _.nf(this);this.Ja(this.Ib)};_.J(JL,_.L);JL.prototype.initialize=function(){return Mxc(this)};
var Mxc=function(a,b){a.V||(a.V=_.$h(),a.Pa.then(function(){b?(a.wa=!1,Nxc(a,b),a.log("Initialized database GoogleDriveDs with existing IndexedDb"),a.V.resolve()):(a.W&&(a.ma=a.W.H(106004)),a.log("Opening database GoogleDriveDs (version 2)"),_.kdc("GoogleDriveDs",2,a.Fa.bind(a),a.ta.bind(a)).Uf(a.Ka.bind(a),a.ta.bind(a)),_.Ci(2E4).then(a.Ia.bind(a)))},function(c){a.V.reject(new _.Uc("Database version error",void 0,_.jI(c)?c:void 0))}));return a.V.promise},Nxc=function(a,b){a.H=b;a.Ib.listen(a.H,"close",
a.ha.bind(a,"Browser closing database"));a.Ib.listen(a.H,"versionchange",a.ha.bind(a,"Database version change detected, closing"))};JL.prototype.Fa=function(a,b){this.log("Upgrading GoogleDriveDs to version "+a.newVersion);this.Ba=!0;_.Ma(b.H.objectStoreNames,function(c){return _.Zhc(b,c)});_.Ra(_.tI,function(c){var d=_.hgc.get(c);_.hdc(b,c,d?{keyPath:d}:void 0)})};
JL.prototype.ta=function(a){var b;a&&a instanceof _.JH&&"InvalidStateError"==a.getName()&&_.jj.Su?b=Error("yf"):_.jI(a)&&(b=a);this.ha("Unable to open database GoogleDriveDs (version 2)");this.V.reject(b);Oxc(this,!1)};JL.prototype.Ka=function(a){this.ka?a.dispose():(Nxc(this,a),this.Ja(this.H),this.readOnly||Pxc(this).then(null,function(){}),this.log("Initialized database GoogleDriveDs"),this.V.resolve(),Oxc(this,!0))};
var Oxc=function(a,b){if(a.ma){var c=a.ma,d=_.w(_.ZJ(c),crc,5);d||(d=new crc,c=_.ZJ(c),_.E(c,5,d));d=_.u(d,1,2);d=_.u(d,2,a.jj().W);d=_.u(d,5,a.jj().ka);b=_.u(d,3,b);b=_.u(b,4,a.Ba);_.u(b,6,a.jj().ma);a.ma.xj();a.ma=null}};JL.prototype.Ia=function(){this.H||this.Ff()||(this.ha("Opening database GoogleDriveDs timed out."),this.ta(Error("zf")))};JL.prototype.ha=function(a){this.log(a);this.ka||(this.ka=!0,this.O="Database disabled: "+a,this.H&&this.wa&&this.H.close())};JL.prototype.Ff=function(){return this.ka};
var Qxc=function(a){return a.ka?a.O:null};JL.prototype.jj=function(){return this.version};
var KL=function(a,b,c){c=void 0===c?"readonly":c;if(a.readOnly&&"readonly"!=c)return null;a=a.H;try{return _.idc(a,[b],c)}catch(d){return null}},Pxc=function(a){var b=_.tI.R_,c=KL(a,b,"readwrite");if(!c)return _.Yh(Error("Af"));c.objectStore(b).put(Kxc(a.jj()));return _.Xh(c.wait()).then(function(){})},Rxc=function(a){if(!a.H)return _.Yh(Error("Bf"));if(a.Ff())return _.Yh(Error(a.O));var b=_.tI.R_,c=KL(a,b,"readwrite");if(!c)return _.Yh(Error("Cf"));b=c.objectStore(b);return _.Xh(b.remove(IL(a.jj())))},
Sxc=function(a,b,c){if(!a.length)return b.resolve([]),null;var d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())(e=Ixc(e.value))&&(d[e.index]=e);if(!d[0])return b.reject(Error("Df")),0;a=d[0].timestamp;if(!a)return b.reject(Error("Ef")),0;e=d[0].size;if(!e)return b.reject(Error("Ff")),0;if(e>d.length)return b.reject(Error("Gf`"+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("Hf`"+e)),0;if(c&&a<c)return b.reject(Error("If`"+a+"`"+c)),d.length>
e?e:null;if(d.length>e)return b.resolve(d.slice(0,e)),e;b.resolve(d);return null},pxc=function(a,b,c,d){if(!a.H||3==b&&void 0==c)return _.Yh(Error("Jf"));if(a.Ff())return _.Yh(Error(a.O));var e=Gxc(a.jj(),b,0,c),f=_.tI.n6,h=KL(a,f);if(!h)return _.Yh(Error("Kf"));e=h.objectStore(f).getAll(e);var k=_.$h();e.Uf(function(l){l=Sxc(l,k,d);a.readOnly||null==l||Txc(a,b,c,l).then(null,function(){})},k.reject);return k.promise},mxc=function(a,b,c,d,e,f){if(a.H){if(a.Ff())return _.Yh(Error(a.O));if(100<b.length||
3==c&&void 0==d)return _.Yh(Error("Lf"))}else return _.Yh(Error("Mf"));var h=Date.now(),k=b.length,l=b.map(function(v,z){return{key:Fxc(a.jj(),c,z,d),data:new Dxc(v.getData(),z,k,h,e),metadata:v}}),p=_.tI.n6;b=KL(a,p,"readwrite");if(!b)return _.Yh(Error("Nf"));p=b.objectStore(p);var q={};l=_.m(l);for(var r=l.next();!r.done;q={$ea:q.$ea},r=l.next())r=r.value,q.$ea=Uxc(a,c,d,r.metadata,f),p.put(Exc(r.data),r.key).then(function(v){return function(){var z=v.$ea;z&&(irc(TK(z),!0),z.xj())}}(q),function(v){return function(z){var A=
v.$ea,B=z instanceof _.JH?z.code:_.Kcc;A&&a.W&&(z=irc(TK(A),!1),B=_.$J(_.Ifc,B),_.u(z,2,B),A.xj())}}(q));return _.Xh(b.wait()).then(function(){})},Uxc=function(a,b,c,d,e){if(a.W){var f=a.W.W;if(a=a.W.H(106019,e))b=krc(jrc(TK(a),_.$J(_.Hfc,b)),_.$J(_.Efc,c)),f=_.u(b,5,f.Po(d.H)),lrc(f,d.isEncrypted),void 0!=d.Rm()&&TK(a).Yv(d.Rm());return a}return null},Txc=function(a,b,c,d){d=void 0===d?0:d;if(a.H){if(a.Ff())return _.Yh(Error(a.O));if(3==b&&void 0==c)return _.Yh(Error("Of"))}else return _.Yh(Error("Pf"));
b=Gxc(a.jj(),b,d,c);c=_.tI.n6;a=KL(a,c,"readwrite");if(!a)return _.Yh(Error("Qf"));a.objectStore(c).remove(b);return _.Xh(a.wait()).then(function(){})},Vxc=function(a){if(!a.H)return _.Yh(Error("Rf"));if(a.Ff())return _.Yh(Error(a.O));var b=Hxc(a.jj()),c=_.tI.n6;a=KL(a,c,"readwrite");if(!a)return _.Yh(Error("Sf"));a.objectStore(c).remove(b);return _.Xh(a.wait()).then(function(){})};
JL.prototype.getMetadata=function(a){if(this.H){if(this.Ff())return _.Yh(Error(this.O));if(a&&0==a.length)return _.Yh(Error("Tf"))}else return _.Yh(Error("Uf"));var b=this.jj(),c=_.tI.A7,d=KL(this,c);if(!d)return _.Yh(Error("Vf"));c=d.objectStore(c);if(a){d=[];a=_.m(a);for(var e=a.next();!e.done;e=a.next())e=e.value,d.push(_.Xh(c.get(wxc(b,e.global,e.key))));c=_.Zh(d)}else c=_.Zh([c.getAll(zxc(b,!1)).then(),c.getAll(zxc(b,!0)).then()]).then(function(f){var h=_.m(f);f=h.next().value;h=h.next().value;
return Omc(f,h)});return c.then(function(f){return f.map(function(h){a:{if(h){var k=h.k.split(":"),l="#"===k[2];if(4===k.length&&(l||k[2]===IL(b))){h=k[0]!==b.uu()||k[1]!==String(b.clientId)?void 0:new xxc(k[3],h.v,l);break a}}h=void 0}return h})})};
var Wxc=function(a,b){if(a.H){if(a.Ff())return _.Yh(Error(a.O));if(0==b.length)return _.Yh(Error("Wf"))}else return _.Yh(Error("Xf"));var c=_.tI.A7,d=KL(a,c,"readwrite");if(!d)return _.Yh(Error("Yf"));c=d.objectStore(c);d=[];b=_.m(b);for(var e=b.next();!e.done;e=b.next())d.push(c.put(yxc(e.value,a.jj())).then());return _.Zh(d).then(function(){})},Xxc=function(a,b){b=void 0===b?!1:b;if(a.H){if(a.Ff())return _.Yh(Error(a.O))}else return _.Yh(Error("$f"));var c=a.jj(),d=_.tI.A7;a=KL(a,d,"readwrite");
if(!a)return _.Yh(Error("ag"));d=a.objectStore(d);a=[];a.push(d.remove(zxc(c,!1)).then());b&&a.push(d.remove(zxc(c,!0)).then());return _.Zh(a).then(function(){})},Yxc=function(a){if(!a.H)return _.Yh(Error("bg"));if(a.Ff())return _.Yh(Error(a.O));var b=Cxc(a.jj().uu(),a.jj().clientId),c=_.tI.IU;a=KL(a,c);if(!a)return _.Yh(Error("cg"));c=a.objectStore(c);return _.Xh(c.get(b)).then(function(d){return Bxc(d)})},Zxc=function(a,b){b=void 0===b?!1:b;if(!a.H)return _.Yh(Error("dg"));if(a.Ff())return _.Yh(Error(a.O));
var c=a.jj(),d=Cxc(c.uu(),c.clientId);b=new Axc(IL(c),b?Date.now():void 0);c=_.tI.IU;a=KL(a,c,"readwrite");if(!a)return _.Yh(Error("eg"));a.objectStore(c).put({versionKey:b.H,versionChangeTimestamp:b.O},d);return _.Xh(a.wait())};JL.prototype.Il=function(a){var b=this;return this.H?this.Ff()?_.Yh(Error(this.O)):Yxc(this).then(function(c){var d=IL(b.jj());if(c)if(a){if(!c.O&&d==c.H&&d!=IL(a))return Zxc(b,!0);if(c.O&&d==IL(a))return Zxc(b)}else{if(d!=c.H)return Zxc(b)}else if(!a)return Zxc(b)}):_.Yh(Error("fg"))};
var $xc=function(a){if(!a.H)return _.Yh(Error("gg"));if(a.Ff())return _.Yh(Error(a.O));var b=a.jj(),c=Cxc(b.uu(),b.clientId);return Yxc(a).then(function(d){if(d){d=_.tI.IU;var e=KL(a,d,"readwrite");if(e)return e.objectStore(d).remove(c).then()}})};
JL.prototype.clear=function(a){var b=this;a=void 0===a?!1:a;return this.H?this.Ff()?_.Yh(Error(this.O)):Yxc(this).then(function(c){var d=c&&c.H==IL(b.jj());return d&&!a?!1:(c&&d?$xc(b):_.Xh()).then(function(){return _.Zh([Xxc(b,a),Vxc(b),Rxc(b)]).then(function(){return!0},function(){return!1})},function(){return!1})}):_.Yh(Error("hg"))};JL.prototype.close=function(){this.ha("Closing database")};JL.prototype.log=function(a){this.Zf.info("drive.ds.sync.storage.VersionedDb",a)};
var ayc=function(a){if(1>=a.jj())return!1;var b=a.H.objectStoreNames;return _.Wa(_.tI).every(function(c){return b&&b.contains(c)})},byc=function(){var a=_.$h();_.kdc("GoogleDriveDs").Uf(function(b){b?ayc(b)?a.resolve(b):(b.close(),_.Xh(Jsc()).then(function(){return void a.resolve(null)},function(){return void a.resolve(null)})):a.resolve(null)},function(){return void a.resolve(null)});return a.promise},cyc=function(a,b,c){var d=_.$h();a?_.idc(a,[_.tI.R_],"readonly").objectStore(_.tI.R_).getAll().Uf(function(e){e=
_.Wa(e).map(function(f){return Lxc(f)}).filter(function(f){return null!=f});d.resolve(e.filter(function(f){return(!b||f.uu()==b)&&(!c||f.clientId==c)}))},d.reject):d.resolve([]);return d.promise},dyc=function(a,b,c){var d=_.$h();byc().then(function(e){if(e){var f=_.tI.IU;_.idc(e,[f],"readonly").objectStore(f).get(a+":"+b).then(function(h){return Bxc(h)}).then(function(h){if(h){var k=0;"number"==typeof c&&"number"==typeof h.O&&(k=c+h.O-Date.now());var l=_.tI.R_,p=_.idc(e,[l],"readonly");p.objectStore(l).get(h.H).then(function(q){(q=
Lxc(q))?(q.ka=!0,0>k?q.ha=!0:0<k&&(q.ma=k),d.resolve(q)):d.resolve(null)});_.di(p.wait(),function(){e.close()})}else d.resolve(null),e.close()},function(h){d.reject(h);e.close()})}else d.resolve(null)},d.reject);return d.promise},eyc=function(a,b,c){var d=_.$h(),e=new JL(_.Xh(a),b);Mxc(e,c).then(function(){return d.resolve(e)},d.reject);return d.promise},fyc=function(a,b,c,d,e){e=void 0===e?!1:e;var f=[];a.forEach(function(h){var k=eyc(h,b,c);f.push(k.then(function(l){return l.clear(e)}).then(function(l){return l?
h:void 0}))});_.Zh(f).then(function(h){var k=[];h.forEach(function(l){l&&(k.push(l),b.info("drive.ds.sync.storage.VersionedDb","Cleared version: "+IL(l)))});d.resolve(k)})},gyc=function(a,b,c){var d=Date.now()-12096E5,e=_.$h();byc().then(function(f){f?(_.ai(e.promise,function(){f.close()}),cyc(f,a,b).then(function(h){return h.filter(function(k){return k.H<d})},function(){return[]}).then(function(h){fyc(h,c,f,e)})):e.resolve([])});return e.promise},hyc=function(a,b,c){var d=_.$h();byc().then(function(e){e?
(_.ai(d.promise,function(){e.close()}),cyc(e,a,b).then(function(f){fyc(f,c,e,d,!0)})):d.resolve([])});return d.promise},iyc=function(a,b,c,d){if(a.length){var e=_.tI.n6,f=a.shift(),h=Fxc(f,3,0,1);try{_.idc(c,[e],"readonly").objectStore(e).get(h).then(function(k){(k=Ixc(k))&&(!k.Z0||k.Z0&&d.has(f.V))?b.resolve(f):iyc(a,b,c,d)},function(){return b.resolve(null)})}catch(k){b.resolve(null)}}else b.resolve(null)},jyc=function(a,b,c,d,e,f,h){var k=_.$h();byc().then(function(l){l?(_.ai(k.promise,function(){l.close()}),
cyc(l,a,b).then(function(p){return p.filter(function(q){return(!h||h!=IL(q))&&q.W==c&&q.H>=e&&fnc(d.filter(function(r){return!_.igc.has(r)}),q.dh(),b)})},function(){return[]}).then(function(p){p.length?(p.sort(function(q,r){return r.H-q.H}),iyc(p,k,l,new Set(f))):k.resolve(null)})):k.resolve(null)});return k.promise},kyc={key:"rid",global:!0},lyc={key:"ooi",global:!0},myc={key:"rtds",global:!1},nyc={key:"dct",global:!1},oyc={key:"pc",global:!1},pyc=function(a){this.H=new _.Wh(function(b){a?a.initialize().then(function(){return b(a)},
function(){return b(null)}):b(null)})};pyc.prototype.get=function(a){return this.H.then(function(b){if(b&&!b.Ff())return b.getMetadata([a]).then(function(c){return(c=c[0])?c.Ya():void 0},function(){})})};pyc.prototype.set=function(a,b){return this.H.then(function(c){return c&&!c.Ff()?Wxc(c,[new xxc(a.key,b,a.global)]).then(function(){return!0},function(){return!1}):!1})};pyc.prototype.ou=function(){return this.get(kyc).then(function(a){return a?a:null})};
pyc.prototype.jz=function(a){return this.set(kyc,a)};var qyc=function(a){return a.get(lyc).then(function(b){return"boolean"===typeof b?b:null})};pyc.prototype.gz=function(a){return this.set(lyc,a)};var ryc=function(a){return a.get(oyc).then(function(b){return"boolean"===typeof b?b:null})},syc=function(a){return a.get(myc).then(function(b){return Array.isArray(b)?b:null})},tyc=function(a){return a.get(nyc).then(function(b){return"number"===typeof b?b:null})},uyc=function(){this.Zi=[]};_.J(uyc,_.oK);
uyc.prototype.add=function(a,b){var c=a.Pv.ex;return c instanceof _.vJ&&_.x(c.request,12)?_.oK.prototype.add.call(this,a,b):!1};uyc.prototype.dta=function(a){return this.Zi.splice(0,Math.min(a,1))};var vyc=function(a,b){this.Zi=[];this.H=b};_.J(vyc,_.oK);vyc.prototype.add=function(a,b){return a.Pv.ex instanceof _.vJ?!1:_.oK.prototype.add.call(this,a,b)};
vyc.prototype.dta=function(a){for(var b=[],c=[],d={},e=0,f=0;f<this.Zi.length&&b.length<a;f++){var h=this.Zi[f],k=h.Pv.ex;k instanceof _.LI||k instanceof _.XI||k instanceof _.qJ?k="app|"+k.Hh():k instanceof _.GI||k instanceof _.HI||k instanceof _.NI||k instanceof _.oI?k="item|"+(k instanceof _.GI?k.qc():k.getId()):k instanceof _.OI||k instanceof _.YI?k="item|"+k.qc():k instanceof _.PI||k instanceof _.sJ?k="item|"+k.qc():k instanceof _.hD||k instanceof _.gD?(k=k instanceof _.hD?_.w(k,_.Ko,1).getKey():
k.getKey(),k="pref|"+_.x(k,2)+"|"+_.Lo(k)):k=k instanceof _.QI?"td|"+k.getId():null;var l=h.Pv.ex;if(l instanceof _.JI)l=!!_.P(l,8);else if(l instanceof _.HI){l=this.H.H(l.getId());var p;if(p=!!l)p=!!(l&&l.getMimeType()&&_.sdb.has(l.getMimeType()));l=p}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++)_.wa(this.Zi,c[a]);return b};
var wyc=function(a,b,c,d,e,f,h,k,l){a=a.Tf();h=new _.Tkc(new _.Skc(k,h,d,_.Bj(a,32,1073741824),_.Bj(a,21,1E3)));k=new _.qkc(_.Bj(a,59,2E3),_.Bj(a,60,2E4),_.Bj(a,61,6));c=new _.okc(l?l:c,l?void 0:e);e={};e[1]=_.Vkc(b,d);e[2]=_.Wkc(b,a,k,c,d);e[3]=_.Xkc(b,a,k,c,d,"batch");l=_.Bj(a,10,50);f=new _.qK(d,b,[_.pkc(c),new _.tkc(l,_.Bj(a,11,100)),new _.pK(l),new _.nK(k,d)],[new vyc(a,f),new uyc,new _.oK],[new _.Dkc(a,k,c.Gj(),d)],"mutation");return e[4]=f,e[5]=_.Ykc(h,a,d),e[6]=_.Xkc(b,a,k,c,d,"find_by_ids_batch"),
e[7]=_.Xkc(b,a,k,c,d,"xd4_batch"),e[8]=_.Xkc(b,a,k,c,d,"xd4_batch_one",1),e},Boc=function(a){return a.nextPageToken?a.nextPageToken:a.continuationToken?a.continuationToken:""},xyc=function(a){_.I.call(this,a)};_.J(xyc,_.I);xyc.prototype.yf=function(){return _.y(this,1)};xyc.prototype.fl=function(a){return _.Hj(this,1,a)};xyc.prototype.getUrl=function(){return _.y(this,2)};_.yyc=function(a){_.I.call(this,a)};_.J(_.yyc,_.I);_.yyc.prototype.getType=function(){return _.oj(this,1,0)};
_.yyc.prototype.getContext=function(){return _.w(this,xyc,2)};zyc=[1];Ayc=[2,4];_.Byc=function(a){_.I.call(this,a,-1,Ayc)};_.J(_.Byc,_.I);_.Byc.prototype.getLabel=function(){return _.y(this,1)};_.Byc.prototype.getTitle=function(){return _.y(this,3)};_.Byc.prototype.setTitle=function(a){return _.Hj(this,3,a)};_.Cyc=function(a){_.I.call(this,a,-1,zyc)};_.J(_.Cyc,_.I);_.Dyc=[2,3,4];_.Eyc=function(a){_.I.call(this,a)};_.J(_.Eyc,_.I);_.Eyc.prototype.ue=function(){return _.y(this,3)};
_.Eyc.prototype.Ln=function(a){return _.Hj(this,4,a)};_.Fyc=function(a){_.I.call(this,a)};_.J(_.Fyc,_.I);_.Gyc=function(a){_.I.call(this,a)};_.J(_.Gyc,_.I);var Hyc=function(a){_.I.call(this,a)};_.J(Hyc,_.I);Iyc=[3,5];_.LL=[8,9,10,11,12,13,14];_.Jyc=function(a){_.I.call(this,a)};_.J(_.Jyc,_.I);_.Kyc=function(a){_.I.call(this,a,-1,Iyc)};_.J(_.Kyc,_.I);_.Kyc.prototype.Cb=function(){return _.oj(this,6,0)};_.Kyc.prototype.Bc=function(a){return _.Ij(this,6,a)};var Lyc=function(a){_.I.call(this,a)};
_.J(Lyc,_.I);var Myc=function(a){_.I.call(this,a)};_.J(Myc,_.I);var Nyc=function(a){_.I.call(this,a)};_.J(Nyc,_.I);var Oyc=[1],Pyc=function(a){_.I.call(this,a,-1,Oyc)};_.J(Pyc,_.I);var Qyc=function(a){_.I.call(this,a)};_.J(Qyc,_.I);var Ryc=function(a){_.I.call(this,a)};_.J(Ryc,_.I);Syc=[7];_.Tyc=[1,2,3];_.Uyc=function(a){_.I.call(this,a)};_.J(_.Uyc,_.I);_.Vyc=function(a){_.I.call(this,a)};_.J(_.Vyc,_.I);_.Wyc=function(a){_.I.call(this,a)};_.J(_.Wyc,_.I);_.Xyc=function(a){_.I.call(this,a,-1,Syc)};
_.J(_.Xyc,_.I);var Yyc=function(a){_.I.call(this,a)};_.J(Yyc,_.I);Yyc.prototype.getName=function(){return _.y(this,1)};Yyc.prototype.Yc=function(a){return _.Hj(this,1,a)};var Zyc=function(a){_.I.call(this,a)};_.J(Zyc,_.I);Zyc.prototype.getName=function(){return _.y(this,1)};Zyc.prototype.Yc=function(a){return _.Hj(this,1,a)};Zyc.prototype.getTitle=function(){return _.y(this,2)};Zyc.prototype.setTitle=function(a){return _.Hj(this,2,a)};_.$yc=[1,4];azc=function(a){_.I.call(this,a)};_.J(azc,_.I);
azc.prototype.getUser=function(){return _.Ej(this,_.Gyc,1,_.$yc)};azc.prototype.hk=function(){return _.w(this,Yyc,3)};azc.prototype.Kn=function(a){return _.E(this,3,a)};azc.prototype.lH=function(){return _.lj(this,3)};var bzc=[8,9,10],czc=function(a){_.I.call(this,a)};_.J(czc,_.I);czc.prototype.getType=function(){return _.oj(this,6,0)};var dzc=function(a){_.I.call(this,a)};_.J(dzc,_.I);_.ezc=function(a){_.I.call(this,a)};_.J(_.ezc,_.I);_.g=_.ezc.prototype;_.g.getName=function(){return _.y(this,1)};
_.g.Yc=function(a){return _.Hj(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.Hj(this,2,a)};_.g.uka=function(){return _.Ej(this,czc,9,bzc)};_.g.bXa=function(){return _.Ej(this,dzc,10,bzc)};_.g.jj=function(){return _.Bj(this,5)};_.g.getMimeType=function(){return _.y(this,6)};_.g.yB=function(){return _.w(this,azc,7)};var fzc=function(a){_.I.call(this,a)};_.J(fzc,_.I);var gzc=[8,9,10],hzc=function(a){_.I.call(this,a)};_.J(hzc,_.I);_.g=hzc.prototype;
_.g.getName=function(){return _.y(this,1)};_.g.Yc=function(a){return _.Hj(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.Hj(this,2,a)};_.g.uka=function(){return _.Ej(this,czc,9,gzc)};_.g.bXa=function(){return _.Ej(this,dzc,10,gzc)};izc=[1,3];_.ML=function(a){_.I.call(this,a)};_.J(_.ML,_.I);_.ML.prototype.Bh=function(){return _.Ej(this,hzc,1,izc)};_.jzc=[1,2,3];_.kzc=function(a){_.I.call(this,a)};_.J(_.kzc,_.I);_.lzc=function(a){_.I.call(this,a)};
_.J(_.lzc,_.I);var mzc=function(a){_.I.call(this,a)};_.J(mzc,_.I);var nzc=function(a){_.I.call(this,a)};_.J(nzc,_.I);ozc=[2,3];_.pzc=function(a){_.I.call(this,a,-1,ozc)};_.J(_.pzc,_.I);_.pzc.prototype.getType=function(){return _.oj(this,1,0)};_.qzc=function(a){_.I.call(this,a)};_.J(_.qzc,_.I);_.qzc.prototype.getType=function(){return _.oj(this,1,0)};var rzc=function(a){_.I.call(this,a)};_.J(rzc,_.I);rzc.prototype.getType=function(){return _.oj(this,1,0)};var szc=function(a){_.I.call(this,a)};
_.J(szc,_.I);_.tzc=function(a){_.I.call(this,a)};_.J(_.tzc,_.I);_.tzc.prototype.H=function(){return _.Q(this,1)};var uzc=function(a){_.I.call(this,a)};_.J(uzc,_.I);vzc=[1,2,4];_.wzc=function(a){_.I.call(this,a)};_.J(_.wzc,_.I);xzc=[1,2];_.yzc=function(a){_.I.call(this,a)};_.J(_.yzc,_.I);_.yzc.prototype.getParent=function(){return _.w(this,_.ML,1)};_.yzc.prototype.Ug=function(a){return _.E(this,1,a)};_.zzc=function(a){_.I.call(this,a,-1,xzc)};_.J(_.zzc,_.I);_.Azc=function(a){_.I.call(this,a,-1,vzc)};
_.J(_.Azc,_.I);_.NL=function(a){_.I.call(this,a)};_.J(_.NL,_.I);_.NL.prototype.getEmail=function(){return _.y(this,1)};_.NL.prototype.getTitle=function(){return _.y(this,2)};_.NL.prototype.setTitle=function(a){return _.Hj(this,2,a)};_.OL=[2,3,4,5];_.PL=function(a){_.I.call(this,a)};_.J(_.PL,_.I);_.g=_.PL.prototype;_.g.zf=function(){return _.oj(this,1,0)};_.g.getUser=function(){return _.Ej(this,_.Gyc,2,_.OL)};_.g.hk=function(){return _.Ej(this,Yyc,4,_.OL)};
_.g.Kn=function(a){return _.xj(this,4,_.OL,a)};_.g.lH=function(){return _.mj(this,4,_.OL)};var Bzc=function(a){_.I.call(this,a)};_.J(Bzc,_.I);Czc=[1,2,3,4];_.Dzc=function(a){_.I.call(this,a,-1,Czc)};_.J(_.Dzc,_.I);_.Ezc=function(a){_.I.call(this,a)};_.J(_.Ezc,_.I);_.Fzc=function(a){_.I.call(this,a)};_.J(_.Fzc,_.I);_.Gzc=function(a){_.I.call(this,a)};_.J(_.Gzc,_.I);_.Hzc=function(a){_.I.call(this,a)};_.J(_.Hzc,_.I);_.Hzc.prototype.getType=function(){return _.oj(this,1,0)};Izc=[1];
_.Jzc=function(a){_.I.call(this,a)};_.J(_.Jzc,_.I);_.Jzc.prototype.getFeature=function(){return _.oj(this,1,0)};_.Kzc=function(a){_.I.call(this,a,-1,Izc)};_.J(_.Kzc,_.I);var Lzc=function(a){_.I.call(this,a)};_.J(Lzc,_.I);var Mzc=function(a){_.I.call(this,a)};_.J(Mzc,_.I);var Nzc=function(a){_.I.call(this,a)};_.J(Nzc,_.I);Nzc.prototype.getType=function(){return _.oj(this,1,0)};_.QL=[1,2,3,4,5,6,7,8,9,10,11,12,13,18,15,16,19,20,21];_.RL=function(a){_.I.call(this,a)};_.J(_.RL,_.I);
_.RL.prototype.Ww=function(){return _.Ej(this,Nzc,10,_.QL)};_.Ozc=function(a){_.I.call(this,a)};_.J(_.Ozc,_.I);var Pzc=function(a){_.I.call(this,a)};_.J(Pzc,_.I);_.Qzc=function(a){_.I.call(this,a)};_.J(_.Qzc,_.I);_.Rzc=function(a){_.I.call(this,a)};_.J(_.Rzc,_.I);_.Rzc.prototype.getType=function(){return _.oj(this,1,0)};_.SL=[1,2,3,4,5];_.Szc=function(a){_.I.call(this,a)};_.J(_.Szc,_.I);_.Szc.prototype.getUser=function(){return _.Ej(this,_.Gyc,1,_.SL)};var Tzc=function(a){_.I.call(this,a)};
_.J(Tzc,_.I);Tzc.prototype.getType=function(){return _.oj(this,2,0)};Tzc.prototype.Hh=function(){return _.y(this,1)};_.Uzc=function(a){_.I.call(this,a)};_.J(_.Uzc,_.I);_.g=_.Uzc.prototype;_.g.getName=function(){return _.y(this,1)};_.g.Yc=function(a){return _.Hj(this,1,a)};_.g.getTitle=function(){return _.y(this,2)};_.g.setTitle=function(a){return _.Hj(this,2,a)};_.g.Ma=function(){return _.w(this,_.ezc,3)};_.Vzc=function(a){_.I.call(this,a)};_.J(_.Vzc,_.I);
_.Vzc.prototype.getParent=function(){return _.w(this,_.ezc,4)};_.Vzc.prototype.Ug=function(a){return _.E(this,4,a)};_.TL=[1,5,3];_.Wzc=function(a){_.I.call(this,a)};_.J(_.Wzc,_.I);_.Wzc.prototype.Bh=function(){return _.Ej(this,_.ezc,1,_.TL)};_.Xzc=function(a){_.I.call(this,a)};_.J(_.Xzc,_.I);_.Xzc.prototype.H=function(){return _.x(this,1)};var Yzc=function(a){_.I.call(this,a)};_.J(Yzc,_.I);Yzc.prototype.H=function(){return _.P(this,1)};Yzc.prototype.V=function(){return _.x(this,2)};
_.UL=function(a){_.I.call(this,a)};_.J(_.UL,_.I);_.g=_.UL.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.getTitle=function(){return _.x(this,2)};_.g.setTitle=function(a){return _.u(this,2,a)};_.g.fta=function(){return _.x(this,3)};_.g.sz=function(){return _.x(this,4)};_.g.S$=function(){return _.w(this,Yzc,6)};_.g.Ctb=function(){return _.w(this,_.Xzc,7)};_.g.gXa=function(){return _.x(this,8)};_.g.eta=function(){return _.P(this,9)};
_.VL=function(a){_.I.call(this,a)};_.J(_.VL,_.I);_.g=_.VL.prototype;_.g.getType=function(){return _.x(this,1)};_.g.getId=function(){return _.x(this,2)};_.g.Nb=function(a){return _.u(this,2,a)};_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.u(this,3,a)};_.g.Ad=function(){return _.x(this,5)};_.g.setSize=function(a){return _.u(this,5,a)};_.g.gbb=function(){return _.x(this,6)};_.Zzc=function(a,b){return _.u(a,6,b)};_.VL.prototype.yf=function(){return _.x(this,8)};
_.VL.prototype.fl=function(a){return _.u(this,8,a)};_.VL.prototype.H=function(){return _.P(this,9)};var $zc=function(a){_.I.call(this,a)};_.J($zc,_.I);$zc.prototype.Cb=function(){return _.x(this,1)};$zc.prototype.Bc=function(a){return _.u(this,1,a)};var aAc=function(a,b){return _.E(a,2,b)},Voc=[90,59,75],bAc=function(a){_.I.call(this,a)};_.J(bAc,_.I);bAc.prototype.H=function(){return _.w(this,_.LC,1)};bAc.prototype.V=function(){return _.w(this,_.LC,2)};
bAc.prototype.wa=function(){return _.w(this,_.LC,3)};
var cAc=function(a){_.I.call(this,a)};_.J(cAc,_.I);cAc.prototype.H=function(){return _.P(this,1)};cAc.prototype.V=function(){return _.P(this,3)};cAc.prototype.wa=function(){return _.P(this,4)};
var dAc=function(a){_.I.call(this,a)};_.J(dAc,_.I);_.g=dAc.prototype;_.g.getId=function(){return _.x(this,1)};_.g.Nb=function(a){return _.u(this,1,a)};_.g.jbb=function(){return _.x(this,2)};_.g.ue=function(){return _.x(this,4)};_.g.ibb=function(){return _.w(this,cAc,5)};_.g.getCapabilities=function(){return _.w(this,eAc,6)};_.g.obb=function(){return _.x(this,7)};_.g.E5a=function(a){return _.xj(this,13,WL,a)};_.g.hbb=function(){return _.Ej(this,fAc,19,WL)};
_.g.LNa=function(a){return _.xj(this,19,WL,a)};_.g.Q5a=function(a){return _.xj(this,12,WL,a)};_.g.R5a=function(a){return _.xj(this,11,WL,a)};_.g.Dub=function(){return _.Ej(this,gAc,10,WL)};_.g.kbb=function(){return _.Ej(this,hAc,15,WL)};_.g.p6a=function(a){return _.xj(this,15,WL,a)};_.g.lbb=function(){return _.Ej(this,iAc,14,WL)};_.g.q6a=function(a){return _.xj(this,14,WL,a)};_.g.E6a=function(a){return _.xj(this,9,WL,a)};_.g.mbb=function(){return _.Ej(this,jAc,8,WL)};
_.g.MNa=function(a){return _.xj(this,8,WL,a)};_.g.nbb=function(){return _.Ej(this,kAc,18,WL)};_.g.NNa=function(a){return _.xj(this,18,WL,a)};_.g.J6a=function(a){return _.xj(this,17,WL,a)};var eAc=function(a){_.I.call(this,a)};_.J(eAc,_.I);eAc.prototype.H=function(){return _.P(this,1)};eAc.prototype.V=function(){return _.P(this,2)};var lAc=function(a){_.I.call(this,a)};_.J(lAc,_.I);var iAc=function(a){_.I.call(this,a,-1,mAc)};_.J(iAc,_.I);iAc.prototype.H=function(){return _.zb(this,nAc,1)};
var oAc=function(a,b){_.sj(a,1,b)},nAc=function(a){_.I.call(this,a)};_.J(nAc,_.I);_.g=nAc.prototype;_.g.getLabel=function(){return _.x(this,1)};_.g.Mp=function(){return _.lj(this,1)};_.g.Ya=function(){return _.x(this,2)};_.g.Hb=function(a){return _.u(this,2,a)};_.g.Bi=function(){return _.wb(this,2)};_.g.Og=function(){return _.lj(this,2)};_.g.yf=function(){return _.x(this,5)};_.g.fl=function(a){return _.u(this,5,a)};_.g.qbb=function(){return _.lj(this,5)};
_.g.getCapabilities=function(){return _.w(this,pAc,3)};_.g.pbb=function(){return _.w(this,qAc,4)};var pAc=function(a){_.I.call(this,a)};_.J(pAc,_.I);pAc.prototype.H=function(){return _.P(this,1)};pAc.prototype.V=function(){return _.P(this,2)};var qAc=function(a){_.I.call(this,a)};_.J(qAc,_.I);_.g=qAc.prototype;_.g.ubb=function(){return _.P(this,1)};_.g.vbb=function(){return _.P(this,2)};_.g.rbb=function(){return _.w(this,bAc,3)};_.g.wbb=function(){return _.lj(this,3)};
_.g.tbb=function(){return _.w(this,bAc,4)};_.g.ybb=function(){return _.lj(this,4)};_.g.sbb=function(){return _.x(this,5)};_.g.xbb=function(){return _.lj(this,5)};var hAc=function(a){_.I.call(this,a)};_.J(hAc,_.I);hAc.prototype.H=function(){return _.x(this,1)};hAc.prototype.IW=function(){return _.lj(this,1)};hAc.prototype.getOptions=function(){return _.w(this,iAc,2)};var jAc=function(a){_.I.call(this,a)};_.J(jAc,_.I);jAc.prototype.V=function(){return _.x(this,1)};
jAc.prototype.H=function(){return _.x(this,2)};var rAc=function(a){_.I.call(this,a)};_.J(rAc,_.I);rAc.prototype.IW=function(){return _.lj(this,1)};rAc.prototype.getOptions=function(){return _.w(this,jAc,2)};var gAc=function(a){_.I.call(this,a)};_.J(gAc,_.I);gAc.prototype.V=function(){return _.x(this,1)};gAc.prototype.H=function(){return _.x(this,2)};var sAc=function(a){_.I.call(this,a)};_.J(sAc,_.I);var tAc=function(a){_.I.call(this,a)};_.J(tAc,_.I);tAc.prototype.IW=function(){return _.lj(this,1)};
tAc.prototype.getOptions=function(){return _.w(this,sAc,2)};var uAc=function(a){_.I.call(this,a)};_.J(uAc,_.I);_.g=uAc.prototype;_.g.MNa=function(a){return _.xj(this,3,XL,a)};_.g.E6a=function(a){return _.xj(this,4,XL,a)};_.g.R5a=function(a){return _.xj(this,5,XL,a)};_.g.Q5a=function(a){return _.xj(this,6,XL,a)};_.g.E5a=function(a){return _.xj(this,7,XL,a)};_.g.q6a=function(a){return _.xj(this,8,XL,a)};_.g.p6a=function(a){return _.xj(this,9,XL,a)};_.g.J6a=function(a){return _.xj(this,10,XL,a)};
_.g.NNa=function(a){return _.xj(this,11,XL,a)};_.g.LNa=function(a){return _.xj(this,12,XL,a)};var vAc=function(a){_.I.call(this,a)};_.J(vAc,_.I);var kAc=function(a){_.I.call(this,a)};_.J(kAc,_.I);kAc.prototype.H=function(){return _.x(this,1)};kAc.prototype.IW=function(){return _.lj(this,1)};kAc.prototype.getOptions=function(){return _.w(this,vAc,2)};var fAc=function(a){_.I.call(this,a)};_.J(fAc,_.I);fAc.prototype.H=function(){return _.x(this,4)};
var WL=[13,19,12,11,10,15,14,9,8,18,17,16],mAc=[1],XL=[3,4,5,6,7,8,9,10,11,12];
var wAc=function(a){_.I.call(this,a)};_.J(wAc,_.I);wAc.prototype.getType=function(){return _.x(this,1)};var xAc=function(a){var b=new wAc;return _.u(b,1,a)},yAc=function(a,b){return _.E(a,2,b)};wAc.prototype.Iy=function(){return _.x(this,3)};wAc.prototype.hz=function(a){return _.u(this,3,a)};wAc.prototype.Di=function(){return _.x(this,4)};wAc.prototype.setPosition=function(a){return _.u(this,4,a)};
var AAc=function(a){_.I.call(this,a,-1,zAc)};_.J(AAc,_.I);AAc.prototype.Cb=function(){return _.x(this,1)};AAc.prototype.Bc=function(a){return _.u(this,1,a)};var zAc=[2];
var BAc=function(a){_.I.call(this,a)};_.J(BAc,_.I);
var CAc=function(a){_.I.call(this,a)};_.J(CAc,_.I);CAc.prototype.getType=function(){return _.x(this,1)};var DAc=function(a){var b=new CAc;return _.u(b,1,a)},EAc=function(a,b){return _.E(a,2,b)};CAc.prototype.Iy=function(){return _.x(this,3)};CAc.prototype.hz=function(a){return _.u(this,3,a)};CAc.prototype.Di=function(){return _.x(this,4)};CAc.prototype.setPosition=function(a){return _.u(this,4,a)};
var YL=function(a){_.I.call(this,a)};_.J(YL,_.I);YL.prototype.getType=function(){return _.x(this,1)};var FAc=function(a){var b=new YL;return _.u(b,1,a)};YL.prototype.mn=function(){return _.w(this,cL,2)};var GAc=function(a,b){return _.E(a,2,b)};YL.prototype.Iy=function(){return _.x(this,3)};YL.prototype.hz=function(a){return _.u(this,3,a)};YL.prototype.Di=function(){return _.x(this,4)};YL.prototype.setPosition=function(a){return _.u(this,4,a)};
var ZL=function(a){_.I.call(this,a)};_.J(ZL,_.I);ZL.prototype.getType=function(){return _.x(this,1)};var HAc=function(a){var b=new ZL;return _.u(b,1,a)};ZL.prototype.mn=function(){return _.w(this,_.TH,2)};var IAc=function(a,b){return _.E(a,2,b)};ZL.prototype.Iy=function(){return _.x(this,3)};ZL.prototype.hz=function(a){return _.u(this,3,a)};ZL.prototype.Di=function(){return _.x(this,4)};ZL.prototype.setPosition=function(a){return _.u(this,4,a)};
var JAc=function(a){_.I.call(this,a)};_.J(JAc,_.I);JAc.prototype.Cb=function(){return _.x(this,1)};JAc.prototype.Bc=function(a){return _.u(this,1,a)};JAc.prototype.ur=function(){return _.w(this,_.bL,2)};
var LAc=function(a){_.I.call(this,a,-1,KAc)};_.J(LAc,_.I);LAc.prototype.Cb=function(){return _.x(this,1)};LAc.prototype.Bc=function(a){return _.u(this,1,a)};LAc.prototype.Vj=function(){return _.x(this,3)};var KAc=[2];
var MAc=function(a){_.I.call(this,a)};_.J(MAc,_.I);MAc.prototype.ad=function(){return _.w(this,Src,1)};MAc.prototype.Xn=function(){return _.x(this,2)};
var NAc=function(a){_.I.call(this,a)};_.J(NAc,_.I);_.g=NAc.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.ur=function(){return _.w(this,_.bL,2)};_.g.Vj=function(){return _.x(this,3)};_.g.Hh=function(){return _.x(this,4)};
var $L=function(a){_.I.call(this,a)};_.J($L,_.I);$L.prototype.Cb=function(){return _.x(this,1)};$L.prototype.Bc=function(a){return _.u(this,1,a)};$L.prototype.Vj=function(){return _.x(this,3)};
var OAc=function(a){_.I.call(this,a)};_.J(OAc,_.I);_.g=OAc.prototype;_.g.Cb=function(){return _.x(this,1)};_.g.Bc=function(a){return _.u(this,1,a)};_.g.Vj=function(){return _.x(this,2)};_.g.GNa=function(){return _.w(this,_.Ko,3)};_.g.getKey=function(){return _.w(this,_.nc,4)};_.g.ot=function(){return _.lj(this,4)};
var PAc=function(a){_.I.call(this,a)};_.J(PAc,_.I);PAc.prototype.getKey=function(){return _.x(this,1)};PAc.prototype.ot=function(){return _.lj(this,1)};var RAc=function(a){_.I.call(this,a,-1,QAc)};_.J(RAc,_.I);var SAc=[2,4,6,10],TAc=[3,5,7,8,9],QAc=[1];
var UAc=function(a){_.I.call(this,a)};_.J(UAc,_.I);
var aM=function(a){_.I.call(this,a,-1,VAc)};_.J(aM,_.I);aM.prototype.getName=function(){return _.x(this,1)};aM.prototype.Yc=function(a){return _.u(this,1,a)};aM.prototype.Dm=function(){return _.x(this,2)};var WAc=function(a,b){return _.u(a,2,b)};aM.prototype.V=function(){return _.x(this,14)};var XAc=function(a,b){return _.u(a,14,b)};_.g=aM.prototype;_.g.getTitle=function(){return _.x(this,3)};_.g.setTitle=function(a){return _.u(this,3,a)};_.g.yf=function(){return _.x(this,4)};
_.g.fl=function(a){return _.u(this,4,a)};_.g.zbb=function(){return _.x(this,15)};_.g.Oj=function(){return _.zb(this,dAc,5)};var YAc=function(a,b){return _.sj(a,5,b)},ZAc=function(a,b){_.E(a,6,b)},$Ac=function(a,b){_.E(a,7,b)},aBc=function(a,b){_.E(a,8,b)},bBc=function(a,b){return _.u(a,9,b)},cBc=function(a,b){return _.u(a,10,b)},dBc=function(a,b){return _.u(a,11,b)};aM.prototype.H=function(){return _.w(this,cAc,12)};var eBc=function(a,b){_.E(a,12,b)};
aM.prototype.getCapabilities=function(){return _.w(this,fBc,13)};var gBc=function(a,b){_.E(a,13,b)};aM.prototype.getCustomer=function(){return _.x(this,16)};var hBc=function(a,b){return _.u(a,16,b)},fBc=function(a){_.I.call(this,a)};_.J(fBc,_.I);fBc.prototype.wa=function(){return _.P(this,1)};fBc.prototype.H=function(){return _.P(this,2)};fBc.prototype.Ba=function(){return _.P(this,3)};fBc.prototype.V=function(){return _.P(this,4)};var VAc=[5];
var bM=function(a){_.I.call(this,a,-1,iBc)};_.J(bM,_.I);bM.prototype.Cb=function(){return _.x(this,1)};bM.prototype.Bc=function(a){return _.u(this,1,a)};bM.prototype.H=function(){return _.zb(this,aM,2)};var jBc=function(a,b){return _.sj(a,2,b)};bM.prototype.Vj=function(){return _.x(this,3)};var iBc=[2];
var kBc=function(a){_.I.call(this,a)};_.J(kBc,_.I);kBc.prototype.Cb=function(){return _.x(this,1)};kBc.prototype.Bc=function(a){return _.u(this,1,a)};kBc.prototype.H=function(){return _.w(this,aM,2)};kBc.prototype.Vj=function(){return _.x(this,3)};
var lBc=function(a){_.I.call(this,a)};_.J(lBc,_.I);lBc.prototype.Fy=function(){return _.x(this,2)};
var nBc=function(a){_.I.call(this,a,-1,mBc)};_.J(nBc,_.I);nBc.prototype.Cb=function(){return _.x(this,1)};nBc.prototype.Bc=function(a){return _.u(this,1,a)};nBc.prototype.Kh=function(){return _.zb(this,_.iEa,2)};nBc.prototype.Jq=function(a,b){return _.yj(this,2,a,_.iEa,b)};var mBc=[2];
var pBc=function(a){_.I.call(this,a,-1,oBc)};_.J(pBc,_.I);pBc.prototype.Cb=function(){return _.x(this,1)};pBc.prototype.Bc=function(a){return _.u(this,1,a)};pBc.prototype.Wk=function(){return _.zb(this,YL,2)};var oBc=[2];
_.rBc=function(a){_.I.call(this,a,-1,qBc)};_.J(_.rBc,_.I);var qBc=[1];
var LK=function(a){_.I.call(this,a,-1,sBc)},Doc;_.J(LK,_.I);LK.prototype.Xn=function(){return _.x(this,1)};var Aoc=function(a,b){return _.u(a,1,b)};LK.prototype.Cb=function(){return _.x(this,3)};LK.prototype.Bc=function(a){return _.u(this,3,a)};Doc=function(a,b){_.sj(a,5,b)};_.Koc=function(a){_.I.call(this,a)};_.J(_.Koc,_.I);_.Koc.prototype.$b=function(){return _.x(this,2)};_.Ioc=function(a){_.I.call(this,a,-1,tBc)};_.J(_.Ioc,_.I);
var Hoc=function(a,b){return _.u(a,1,b)},Goc=function(a,b){return _.u(a,2,b)},Joc=function(a,b){_.sj(a,3,b)},sBc=[5],tBc=[3];
_.cM=function(a){_.I.call(this,a,-1,uBc)};_.J(_.cM,_.I);_.cM.prototype.$V=function(){return _.zb(this,_.LF,2)};_.cM.prototype.se=function(){return _.w(this,_.Pf,3)};var uBc=[1,2];
_.dM=function(a){_.I.call(this,a)};_.J(_.dM,_.I);_.dM.prototype.Cb=function(){return _.x(this,1)};_.dM.prototype.Bc=function(a){return _.u(this,1,a)};_.dM.prototype.Df=function(){return _.w(this,_.NB,2)};_.vBc=function(a,b){return _.E(a,2,b)};_.dM.prototype.Vj=function(){return _.x(this,3)};
var wBc=function(a){_.I.call(this,a)};_.J(wBc,_.I);wBc.prototype.Cb=function(){return _.x(this,1)};wBc.prototype.Bc=function(a){return _.u(this,1,a)};
var yBc=function(a){_.I.call(this,a,-1,xBc)};_.J(yBc,_.I);yBc.prototype.Cb=function(){return _.x(this,1)};yBc.prototype.Bc=function(a){return _.u(this,1,a)};yBc.prototype.Wk=function(){return _.zb(this,ZL,2)};var xBc=[2];
_.eM=function(a){_.I.call(this,a)};_.J(_.eM,_.I);_.eM.prototype.PY=function(a){_.E(this,1,a)};_.eM.prototype.zv=function(){return _.w(this,_.yy,2)};_.eM.prototype.UO=function(a){_.E(this,2,a)};
_.zBc=function(a){_.I.call(this,a)};_.J(_.zBc,_.I);_.zBc.prototype.li=function(){return _.w(this,Tzc,2)};_.zBc.prototype.V=function(a){_.xj(this,5,_.ABc,a)};_.ABc=[5,6];
var BBc;_.CBc=function(a){_.I.call(this,a,-1,BBc)};_.J(_.CBc,_.I);_.CBc.prototype.V=function(a){_.xj(this,6,_.fM,a)};BBc=[3,4,5];_.fM=[6,7];
var DBc=function(a){_.I.call(this,a)};_.J(DBc,_.I);DBc.prototype.getType=function(){return _.x(this,1)};var EBc=function(a){var b=new DBc;return _.u(b,1,a)};DBc.prototype.Iy=function(){return _.x(this,3)};DBc.prototype.hz=function(a){return _.u(this,3,a)};DBc.prototype.Di=function(){return _.x(this,4)};DBc.prototype.setPosition=function(a){return _.u(this,4,a)};
var GBc=function(a){_.I.call(this,a,-1,FBc)};_.J(GBc,_.I);GBc.prototype.Cb=function(){return _.x(this,1)};GBc.prototype.Bc=function(a){return _.u(this,1,a)};GBc.prototype.Vj=function(){return _.x(this,3)};var FBc=[2];
_.HBc=function(a){_.I.call(this,a)};_.J(_.HBc,_.I);_.HBc.prototype.getId=function(){return _.x(this,1)};_.HBc.prototype.Nb=function(a){return _.u(this,1,a)};_.HBc.prototype.se=function(){return _.w(this,_.Pf,4)};
var JBc=function(a){_.I.call(this,a,-1,IBc)};_.J(JBc,_.I);JBc.prototype.Cb=function(){return _.x(this,1)};JBc.prototype.Bc=function(a){return _.u(this,1,a)};JBc.prototype.Vj=function(){return _.x(this,3)};var IBc=[2];
_.gM=function(a){_.I.call(this,a)};_.J(_.gM,_.I);_.gM.prototype.getType=function(){return _.x(this,1)};var KBc=function(a){var b=new _.gM;return _.u(b,1,a)},LBc=function(a,b){return _.E(a,2,b)};_.gM.prototype.Iy=function(){return _.x(this,3)};_.gM.prototype.hz=function(a){return _.u(this,3,a)};_.gM.prototype.Di=function(){return _.x(this,4)};_.gM.prototype.setPosition=function(a){return _.u(this,4,a)};
_.xoc=function(a){_.I.call(this,a)};_.J(_.xoc,_.I);_.g=_.xoc.prototype;_.g.getItem=function(){return _.w(this,_.Bk,1)};_.g.setItem=function(a){return _.E(this,1,a)};_.g.getError=function(){return _.w(this,_.Tc,2)};_.g.Ke=function(a){return _.E(this,2,a)};_.g.ao=function(){return _.lj(this,2)};_.g.wv=function(){return _.x(this,4)};
var NBc=function(a){_.I.call(this,a,-1,MBc)};_.J(NBc,_.I);var MBc=[2,4];
var PBc=function(a){_.I.call(this,a,-1,OBc)};_.J(PBc,_.I);var OBc=[1];
var RBc=function(a){_.I.call(this,a,-1,QBc)};_.J(RBc,_.I);RBc.prototype.Cb=function(){return _.x(this,1)};RBc.prototype.Bc=function(a){return _.u(this,1,a)};RBc.prototype.Vj=function(){return _.x(this,3)};var QBc=[2];
var TBc=function(a){_.I.call(this,a,-1,SBc)};_.J(TBc,_.I);TBc.prototype.Cb=function(){return _.x(this,1)};TBc.prototype.Bc=function(a){return _.u(this,1,a)};TBc.prototype.Vj=function(){return _.x(this,3)};var SBc=[2];
var UBc=function(a){_.I.call(this,a)};_.J(UBc,_.I);
var WBc=function(a){_.I.call(this,a,-1,VBc)};_.J(WBc,_.I);WBc.prototype.H=function(){return _.x(this,2)};var XBc=function(a,b){_.u(a,2,b)},VBc=[1];
var ZBc=function(a){_.I.call(this,a,-1,YBc)};_.J(ZBc,_.I);ZBc.prototype.Fy=function(){return _.y(this,2)};var YBc=[1];
var $Bc=function(a){_.pi.call(this,"Ib");this.dataType=a};_.J($Bc,_.pi);
var aCc=function(a,b){_.pi.call(this,"Jb");this.percentDone=a;this.Iua=b};_.J(aCc,_.pi);
var bCc=function(){};_.g=bCc.prototype;_.g.HM=function(a,b){return yAc(xAc(1),a).setPosition(b)};_.g.GM=function(a,b){return yAc(xAc(2).setPosition(b),a)};_.g.TE=function(a,b,c){return yAc(xAc(3).hz(b).setPosition(c),a)};_.g.MQ=function(a,b){return yAc(xAc(4),a).setPosition(b)};_.g.aN=function(a){return _.w(a,pL,2)};
var cCc=function(){_.Ay.call(this,new bCc,function(a){return a&&a.getName()})};_.J(cCc,_.Ay);
var hM=function(a,b,c,d){d=void 0===d?50:d;VK.call(this,a);var e=this;this.V=b;this.connectionState=c;this.limit=d;this.active=!1;this.status=6;this.wa=_.$dc(new _.SH,[1]);this.ha=this.H=!1;this.Nc=new _.nf(this);this.Ja(this.Nc);_.df(this,function(){e.Nc.removeAll()})};_.J(hM,VK);_.g=hM.prototype;_.g.Me=function(){return this.V.Me()||this.connectionState.Me()};
_.g.HP=function(){var a=this;this.Nc.listen(this.V,"ub",function(){return void a.Yt()});this.Nc.listen(this.connectionState,[].concat(_.ec(Object.values(_.OB))),function(){return void a.Yt()});this.V.Me()?this.Nc.Xc(this.V,"ub",function(b){b.Me()||(a.fH(),a.dispatchEvent(new _.pi(_.Pp)))}):this.connectionState.Me()?this.Nc.Xc(this.connectionState,[_.OB.LL,_.OB.JU],function(){a.fH();a.dispatchEvent(new _.pi(_.Pp))}):(this.fH(),this.dispatchEvent(new _.pi(_.Pp)))};_.g.fH=function(){};
_.g.yu=function(a){var b=this;if(this.kk()){var c=this.limit;this.limit+=a||50;this.$b()>c&&this.Yt();this.V.Me()?this.Nc.Xc(this.V,"ub",function(d){d.Me()||b.kP()}):this.kP()}};_.g.QL=function(){this.Me()&&!this.H?this.status=2:this.status=this.H?1:6};_.g.Cb=function(){return this.status};_.g.rs=function(){return this.wa};_.g.handleError=function(a){this.dispatchEvent(new _.Vc(a))};_.g.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};_.g.kk=function(){return!this.H||this.ha};
_.g.refresh=function(){this.H=this.active=!1;this.status=6;this.Nc.removeAll();this.activate()};_.g.kP=function(){};
var dCc=function(a,b,c,d,e){hM.call(this,c,a,b,e.vi()||void 0);this.request=e;this.logName="drive.ds.sync.CategoryMetadataLiveList";this.W=[];this.data=[];this.changed=!1;this.O=new cCc;this.ka=d};_.J(dCc,hM);_.g=dCc.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.getData=function(){return Guc(new qL,this.data).Bc(this.status)};
_.g.gs=function(){var a=this.O.By(this.W,this.data);this.W=this.data;var b=(new AAc).Bc(this.status);return _.sj(b,2,a)};_.g.kP=function(){this.ka(this.Mi(),this.limit)};_.g.Yt=function(){if(this.active){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,eCc(this)}};_.g.$b=function(){return this.data.length};_.g.jd=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||RK(this.O,this.data,b.H()))this.H=!0,this.status=b.Cb(),this.data=b.H(),this.ha=a.H,eCc(this)};var eCc=function(a){a.log("Livelist "+a.Mi()+" returning "+a.data.length+" for "+(a.request.qc()+". Status: ")+(_.db(fsc)[a.Cb()]+"."));a.dispatchEvent(new _.pi(_.fd,a))};dCc.prototype.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a category metadata query after "+a.retryCount+" retries.",a.error)))};
var fCc=function(a,b,c,d,e,f,h){_.WK.call(this,a,b,c,e,f,d);this.Zf=h;this.logName="drive.ds.sync.ViewCacheLiveList";this.ka=null;this.ha=void 0;this.suggestionSessionId=null};_.J(fCc,_.WK);fCc.prototype.getData=function(){this.H=this.items;var a=Vqc((new _.UH).Bc(this.Cb()).cB(this.items),this.kk());a=_.E(a,7,this.ka).MP(this.suggestionSessionId).mi(this.Ne);return _.qj(a,18,this.ha)};
fCc.prototype.update=function(a){if(msc(this,a)&&(nsc(this,a),this.ka=a.D6(),this.suggestionSessionId=a.Wf(),this.ha=a.Qka(),lsc(this),this.suggestionSessionId&&Stc(this.O)&&(a=this.Zf.H(106027)))){var b=_.w(_.ZJ(a),prc,20);if(!b){b=new prc;var c=_.ZJ(a);_.E(c,20,b)}_.u(b,1,this.suggestionSessionId);a.xj()}};
var gCc=function(a,b){var c={};a=_.Sa(a,function(d){return!!d});b=_.Sa(b,function(d){return!!d});_.Ra(a,function(d,e){var f=b[e];f?_.Aj(d,f)||(d=IAc(HAc(4),f),c[e]=d):(d=IAc(HAc(2),d),c[e]=d)});_.Ra(b,function(d,e){a[e]||(d=IAc(HAc(1),d),c[e]=d)});return c},hCc=function(a,b){return _.Va(a)!==_.Va(b)||!_.Za(gCc(a,b))};
var iCc=function(a,b){VK.call(this,a);this.request=b;this.logName="drive.ds.sync.WorkspaceFindByIdsLiveMap";this.status=6;this.H={};this.data={}};_.J(iCc,VK);_.g=iCc.prototype;_.g.HP=function(){_.Za(this.data)&&6===this.status||this.dispatchEvent(new _.pi(_.fd,this))};_.g.Cb=function(){return this.status};_.g.rs=function(){return new _.SH};_.g.getData=function(){this.H=this.data;var a=(new _.cK).Bc(this.status);_.Ra(this.data,function(b,c){a.lU().set(c,b||new _.TH)});return a};
_.g.gs=function(){var a=gCc(this.H,this.data);this.H=this.data;var b=(new wBc).Bc(this.status);_.Ra(a,function(c,d){_.Bb(b,2,void 0,ZL).set(d,c)});return b};_.g.ET=function(){throw Error("kg");};_.g.jd=function(){return this.request};_.g.update=function(a){var b={};a.lU().forEach(function(c,d){c||(c=xwc(d));b[d]=c});if(this.status!==a.Cb()||hCc(this.H,b))this.status=a.Cb(),this.data=b,this.active&&this.dispatchEvent(new _.pi(_.fd,this))};
_.g.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a Workspace find by id after "+a.retryCount+" retries.",a.error)))};_.g.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};
var jCc=function(a,b,c,d,e,f){_.WK.call(this,a,b,c,d,e,f);this.ha=[];this.suggestionSessionId=null;this.logName="drive.ds.sync.PeoplePredictLiveList"};_.J(jCc,_.WK);jCc.prototype.getData=function(){this.H=this.items;var a=(new _.bK).Bc(this.Cb()).cB(this.items);var b=this.kk();a=_.u(a,4,b);return esc(a,this.ha).MP(this.suggestionSessionId).mi(this.Ne)};jCc.prototype.update=function(a){msc(this,a)&&(nsc(this,a),this.ha=_.zb(a,_.nk,6),this.suggestionSessionId=a.Wf(),lsc(this))};
var kCc=function(){};_.g=kCc.prototype;_.g.HM=function(a,b){return GAc(FAc(1),a).setPosition(b)};_.g.GM=function(a,b){return GAc(FAc(2).setPosition(b),a)};_.g.TE=function(a,b,c){return GAc(FAc(3).hz(b).setPosition(c),a)};_.g.MQ=function(a,b){return GAc(FAc(4),a).setPosition(b)};_.g.aN=function(a){return a.mn()};
var lCc=function(){_.Ay.call(this,new kCc,function(a){return a&&a.pq()})};_.J(lCc,_.Ay);
var mCc=function(a,b,c){hM.call(this,a.Be(),a.Gj(),a.uk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.W=new lCc;this.suggestionSessionId=null;this.ka=c};_.J(mCc,hM);_.g=mCc.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.getData=function(){this.O=this.data;return Ysc(Xsc((new dL).Bc(this.status),this.data.slice(0)),this.suggestionSessionId)};
_.g.gs=function(){var a=this.W.By(this.O,this.data);this.O=this.data;var b=(new pBc).Bc(this.status);return _.sj(b,2,a)};_.g.kP=function(){};_.g.Yt=function(){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))};_.g.$b=function(){return this.data.length};_.g.jd=function(){return this.request};
_.g.update=function(a){if(this.status!==a.Cb()||RK(this.W,this.data,a.Wk())){this.changed=this.H=!0;this.data=a.Wk();if(a=a.Wf())this.suggestionSessionId=a;this.Yt()}};_.g.refresh=function(){this.ka()};_.g.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a Suggested Workspace query after "+(a.retryCount+" retries."),a.error)))};
var nCc=function(a,b,c,d){VK.call(this,a);var e=this;this.request=b;this.ha=c;this.W=d;this.logName="drive.ds.sync.TeamDriveLiveList";this.O=[];this.items=[];this.status=6;this.V=_.$dc(new _.SH,[1]);this.H=!0;this.limit=b.vi();_.df(this,function(){e.O=[]})};_.J(nCc,VK);_.g=nCc.prototype;_.g.HP=function(){_.qa(this.items)&&6===this.status&&this.H||this.dispatchEvent(new _.pi(_.fd,this))};_.g.jd=function(){return this.request};_.g.Cb=function(){return this.status};_.g.rs=function(){return this.V};
_.g.kk=function(){return this.H};_.g.getData=function(){this.O=this.items;return Vqc((new _.UH).Bc(this.status).cB(this.items),this.H)};_.g.gs=function(){var a=_.g7a().By(this.O,this.items),b=(new csc).Bc(this.status);a=_.sj(b,2,a);this.O=this.items;return a};_.g.yu=function(a){this.isActive()&&(this.limit+=a||20,this.ha.UF(this.Mi(),this.limit))};
_.g.update=function(a){if(this.status!==a.Cb()||RK(_.g7a(),this.items,a.zd()))this.items=a.zd(),this.status=a.Cb(),_.dI(this.W)&&(this.V=Qmc(this.status,this.items)),this.H=a.Ql(),this.isActive()&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a Team Drive query after "+a.retryCount+" retries.",a.error)))};_.g.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};_.g.Fu=function(){throw Error("lg");};_.g.refresh=function(){};
var oCc=function(a,b,c){VK.call(this,a.Be());var d=this;this.context=a;this.W=b;this.request=c;this.logName="drive.ds.sync.TeamDriveLiveMap";this.O={};this.H={};this.status=6;this.V=_.$dc(new _.SH,[1]);this.log("Creating TD find by ids live map: "+this.request.Em().join(", "));_.df(this,function(){d.O={}})};_.J(oCc,VK);_.g=oCc.prototype;_.g.HP=function(){(0<Object.values(this.H).length||6!==this.status)&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.jd=function(){return this.request};
_.g.getData=function(){this.O=this.H;var a=new _.aK;a.Bc(this.status);a.map=this.H;return a};_.g.gs=function(){var a=mnc(this.O,this.H),b=new ksc;b.Bc(this.status);b.map=a;this.O=this.H;return b};_.g.Cb=function(){return this.status};_.g.rs=function(){return this.V};_.g.ET=function(a){var b=this.request;this.request=a;this.W.sZ(this.Mi(),b,a)};
_.g.update=function(a){if(this.status!==a.Cb()||nnc(this.H,a.et()))this.status=a.Cb(),this.H=a.et(),_.dI(this.context.Vc)&&(this.V=Qmc(this.status,Object.values(this.H))),this.isActive()&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a team drive find-by-IDs query after "+a.retryCount+" retries.",a.error)))};_.g.GW=function(){this.dispatchEvent(new _.pi(_.OEa))};
var pCc=function(){};_.g=pCc.prototype;_.g.HM=function(a,b){return IAc(HAc(1),a).setPosition(b)};_.g.GM=function(a,b){return IAc(HAc(2).setPosition(b),a)};_.g.TE=function(a,b,c){return IAc(HAc(3).hz(b).setPosition(c),a)};_.g.MQ=function(a,b){return IAc(HAc(4),a).setPosition(b)};_.g.aN=function(a){return a.mn()};
var qCc=function(){_.Ay.call(this,new pCc,function(a){return a&&a.getId()})};_.J(qCc,_.Ay);
var rCc=function(a,b,c){hM.call(this,a.Be(),a.Gj(),a.uk(),b.vi()||10);this.request=b;this.ka=c;this.logName="drive.ds.sync.WorkspaceQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.W=new qCc};_.J(rCc,hM);_.g=rCc.prototype;_.g.fH=function(){(0<this.data.length||6!==this.status)&&this.dispatchEvent(new _.pi(_.fd,this))};_.g.getData=function(){this.O=this.data;return Ruc((new sL).Bc(this.status),this.data.slice(0))};
_.g.gs=function(){var a=this.W.By(this.O,this.data);this.O=this.data;var b=(new yBc).Bc(this.status);return _.sj(b,2,a)};_.g.kP=function(){this.ka.UF(this.Mi(),this.limit)};_.g.Yt=function(){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))};_.g.$b=function(){return this.data.length};_.g.jd=function(){return this.request};
_.g.update=function(a){var b=a.response;if(this.status!==b.Cb()||RK(this.W,this.data,b.Wk()))this.H=!0,this.status=b.Cb(),this.data=b.Wk(),this.ha=a.H,this.dispatchEvent(new _.pi(_.fd,this))};_.g.HB=function(a){this.dispatchEvent(new _.Vc(new _.Uc("Error occurred running a Workspace query after "+a.retryCount+" retries.",a.error)))};
var sCc=function(a,b){this.context=a;this.ha=b;this.H={};this.ka={};this.ma={};this.V=null;this.W=a.Cf;this.O=this.context.Yfa;this.ta=this.context.I6};_.g=sCc.prototype;_.g.Mxa=function(a){var b=this,c=new fCc(this.context.wm,this.context.xQ,this.context.Be(),this.context.Vc,function(d,e){b.UF(d,e)},a,this.context.jk());this.Zh(c);_.df(c,function(){b.$j(c)});return c};
_.g.Pxa=function(a){var b=this,c=new jCc(this.context.wm,this.context.xQ,this.context.Be(),function(d,e){b.UF(d,e)},a,this.context.Vc);this.Zh(c);_.df(c,function(){b.$j(c)});return c};_.g.Jxa=function(a){var b=this,c=new psc(this.context.Vc,this.context.wm,this.context.Be(),this.context.p_,this.sZ.bind(this),a);this.Zh(c);_.df(c,function(){b.$j(c)});return c};_.g.Sxa=function(a){var b=this,c=new nCc(this.context.Be(),a,this,this.context.Vc);this.Zh(c);_.df(c,function(){b.$j(c)});return c};
_.g.Txa=function(a){var b=this,c=new oCc(this.context,this,a);this.Zh(c);_.df(c,function(){b.$j(c)});return c};_.g.Wxa=function(a){var b=this,c=new rCc(this.context,a,this);this.Zh(c);_.df(c,function(){b.$j(c)});return c};_.g.Qxa=function(a){var b=this,c=new mCc(this.context,a,function(){if(a instanceof _.Uz){var d=tCc(b.context);pwc(d,d.getKey(a)).refresh()}});this.Zh(c);_.df(c,function(){b.$j(c)});return c};
_.g.Xxa=function(a){var b=this,c=new iCc(this.context.Be(),a);this.Zh(c);_.df(c,function(){b.$j(c)});return c};_.g.Fxa=function(a){var b=this,c=new dCc(this.context.Gj(),this.context.uk(),this.context.Be(),function(d,e){b.UF(d,e)},a);this.Zh(c);_.df(c,function(){b.$j(c)});return c};
_.g.Zh=function(a){var b=a.Mi();this.H[b]=a;this.ha.create(b,a.jd());if(a.jd()instanceof _.Wz)a=this.O.Zh(b,a.jd());else if(a.jd()instanceof _.TF)a=nwc(this.O,b,a.jd());else if(a.jd()instanceof _.Uz)a=tCc(this.context).Zh(b,a.jd());else if(a.jd()instanceof _.$F)a=this.ta.Zh(b,a.jd());else{var c=a.jd(),d=XK(this.context.wm,c,2);this.log("Registering LiveList "+a.Mi()+" "+d);a=this.W.Zh(b,c)}"boolean"===typeof a&&wuc(this.ha,b,a)};
_.g.$j=function(a){if(a.jd()instanceof _.Wz)this.O.$j(a.Mi(),a.jd());else if(a.jd()instanceof _.TF)owc(this.O,a.Mi(),a.jd());else if(a.jd()instanceof _.Uz)tCc(this.context).$j(a.Mi(),a.jd());else if(a.jd()instanceof _.$F)this.ta.$j(a.Mi(),a.jd());else{var b=a.jd(),c=XK(this.context.wm,b,2);this.log("Unregistering LiveList "+a.Mi()+" "+c);this.W.$j(a.Mi(),b)}nL(this.ha,a.Mi(),4);delete this.H[a.Mi()]};_.g.sZ=function(a,b,c){this.W.$j(a,b);this.W.Zh(a,c)};
_.g.UF=function(a,b){var c=uCc(this,a).jd();c.Fi(b);c instanceof _.Wz?this.O.Zh(a,c):c instanceof _.TF?nwc(this.O,a,c):c instanceof _.$F?this.ta.Zh(a,c):this.W.Zh(a,c)};_.g.CO=function(a,b){var c=this.H[a]&&this.H[a].jd();c&&(c instanceof _.Df?Wmc(c.H(),b.zd().filter(function(d){return!hL(d)})):c instanceof _.NF&&Wmc(c.H(),Object.values(b.et()).filter(function(d){return d&&!hL(d)})));this.ka[a]=b;this.V||(this.V=_.Ai(this.A9,50,this))};
_.g.jY=function(a,b){this.ma[a]=b;this.V||(this.V=_.Ai(this.A9,50,this))};_.g.AA=function(a){(a=this.H[a])&&a.GW()};_.g.A9=function(){_.Bi(this.V);this.V=null;var a=Object.keys(this.ka),b=Object.keys(this.ma);a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=this.ka[c];if(d){delete this.ka[c];var e=this.H[c];e&&(zuc(this.ha,c,d),e.update(d))}}b=_.m(b);for(c=b.next();!c.done;c=b.next())if(a=c.value,c=this.ma[a])if(delete this.ma[a],d=this.H[a])nL(this.ha,a,3),d.HB(c)};
_.g.gla=function(a){return uCc(this,a).jd()};var uCc=function(a,b){if(!a.H[b])throw Error("mg`"+b);return a.H[b]};sCc.prototype.log=function(a,b){this.context.Be().log("drive.ds.sync.cache.LocalLiveRequestManager",a,void 0===b?"info":b)};
var vCc=function(){},wCc=function(a){this.H=a},yoc=function(a,b,c,d,e,f,h,k){this.status=a;this.percentDone=b;this.H=c;this.W=d;this.V=e;this.uA=f;this.numFetchedFiles=h;this.O=k};
var iM=function(a,b){_.yi.call(this);this.O=a;this.request=b;this.he=_.$h();this.complete=!1;this.H=""};_.J(iM,_.yi);iM.prototype.start=function(){var a=this;this.O.then(function(b){return b.Oe(a.request)}).then(this.W.bind(this)).mg(this.handleError.bind(this));return this.he.promise};iM.prototype.W=function(a){this.H=a.H;this.dispatchEvent(new aCc(0,this.H));xCc(this)};
var xCc=function(a){_.aa.setTimeout(function(){a.O.then(function(b){return b.Oe(new _.Qgc(a.H))}).then(function(b){if(a.complete||1!==b.status&&3!==b.status&&2!==b.status){a.complete=!0;if(4===b.status){var c=new NBc;c=_.qj(c,2,b.H);c=_.u(c,3,a.H);c=_.u(c,5,b.W);c=_.u(c,6,b.V);c=_.u(c,7,b.uA);c=_.u(c,8,b.numFetchedFiles);b=_.sj(c,4,b.O);a.he.resolve(b)}else b=_.lI(_.Hp(_.Gp(new _.Tc,"Export failed for request "+a.H+": "+b.status),JSON.stringify(b)),8),a.handleError(b);a.dispose()}else a.dispatchEvent(new aCc(b.percentDone,
a.H)),xCc(a)}).mg(function(b){a.handleError(b)})},5E3)};iM.prototype.cancel=function(){var a=this;this.O.then(function(b){return b.Oe(new _.Pgc(a.H))}).then(this.V.bind(this)).mg(this.handleError.bind(this))};iM.prototype.V=function(){if(!this.complete){var a=new NBc;a=_.u(a,3,this.H);a=_.u(a,1,!0);this.he.resolve(a);this.complete=!0;this.dispose()}};iM.prototype.handleError=function(a){this.complete=!0;this.he.reject(_.CI(a));this.dispose()};
var yCc=function(){_.pi.call(this,"VbxEwf")};_.J(yCc,_.pi);
var zCc=function(a,b){this.context=a;this.H=null;this.oc=b||null};_.g=zCc.prototype;_.g.La=function(){return _.w(this.context.Vc,_.yI,58)};_.g.getContext=function(){return this.context};_.g.Sz=function(){return this.context.eB.Sz(this.H)};_.g.Be=function(){return this.context.Be()};_.g.TM=function(a){return _.gi(this.context.Cf.Xl.H(a))};_.g.CR=function(){return _.gi(this.context.eB.CR())};
_.g.w5=function(a,b,c){var d=new _.bi;if(_.Ej(a,_.eI,3,_.fI)||_.Ej(a,_.wJ,4,_.fI)||_.Ej(a,_.kK,5,_.fI)||_.Ej(a,_.tJ,6,_.fI)||_.Ej(a,_.QI,7,_.fI)||_.Ej(a,_.JI,8,_.fI)||_.Ej(a,_.NI,9,_.fI)||_.Ej(a,_.oI,10,_.fI)){var e=tuc(a);this.context.Hm().then(function(f){return f.Oe(e,{l8a:b,m8a:c})}).then(this.Abb.bind(this,d),d.Ed,d);return d}throw Error("ng");};
_.g.Abb=function(a,b){var c=[],d="";if(b instanceof _.lK){c=b.ad().zd();var e=_.x(b,2);d=b.Xn()}else if(b instanceof _.yJ)b.getItem()&&c.push(b.getItem()),e=b.$M();else throw Error("og");a.callback({items:c,aja:e,pageToken:d})};_.g.sqa=function(){var a=this.context.Vc,b=a.Tf();a="email:"+_.VH(a).getEmail().replace(/@.*$/,"");_.u(b,13,a)};_.g.wia=function(){this.context.Rs.KS();var a=this.context.Vc;hyc(_.MJ(_.VH(a)),_.NJ(a),this.context.Be()).mg(function(){})};
_.g.N9=function(){return _.Ufc[_.oj(this.context.Vc.Tf(),8,0)]};_.g.Kda=function(){this.context.gG.H=new Xwc(_.qh().substring(0,8))};_.g.qT=function(){var a=this.context.gG.sN(),b=null;a&&(b=Zwc(this.context.gG),b={traceId:a,spanRecs:b});a=this.context.gG;a.H=null;a.aZ=[];return _.gi(b)};_.g.sN=function(){return _.gi(this.context.gG.sN())};
_.g.getState=function(a){var b=this.context.Lj,c=b.H.bind(b);b={};b.b=this.context.Vc.Ki();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.context.Cf.Xl.Ad();c=this.context.Cf.Mt;var d=c.H;d&&(b.cs_sutd=d.A8,b.cs_ss=d.Ad());b.cs_ch=pvc(c).length;b.cs_td=c.vW().length;(c=this.context.J6)&&(b.t_cps=c.jYa().getStats().join(","));b.t_id=ACc(this.context);
var e=[];BCc(this.context.AR()).forEach(function(f,h){e.push(h+":"+f.join(";"))});b.t_ct=e.join(",");b.n_a=this.context.uz?this.context.uk().isConnected():this.context.GI.MB();b.n_o=this.context.uz?this.context.uk().Me():this.context.Gj().Me();b.n_csm=!!this.context.uz;a&&(b.csw_cc=_.Va(a.channels),b.csw_ac=a.O,b.csw_mcc=a.H);return _.gi(JSON.stringify(b))};_.g.Opa=function(){this.oc&&(this.oc.dispatchEvent(new yCc),this.oc.Lu())};
_.g.Il=function(a){var b=this.context.uz;b&&a!==b.V&&(b.V=a,b.reset(),a?b.state.update(3):_.Pjc(b))};
var ECc=function(a,b){this.context=a;this.Dg=b;this.H=_.Agc(_.TJ(this.Dg),CCc);this.O=_.Agc(_.TJ(this.Dg),DCc)};
ECc.prototype.Yk=function(a){var b=this,c=this.context.pQ.Df().Df(),d=(c=c?c.getUser():null)?c.getId():null,e={};a.forEach(function(h){_.Egc(h);var k=h.getId(),l=b.context.ou();_.Hhc(h,3);_.rI(h,5);var p=qnc(h,!0);h.getCapabilities()||_.IJ(h,new _.tk);_.P(p,2)&&((p=h.rk())&&p.length?_.u(h,46,p[0]):(_.HJ(h,[l]),_.u(h,46,l)),_.u(h,12,h.Iq()),l=new _.nk,l.Nb(d),_.u(l,6,1),_.shc(l,!0),_.Dhc(h,l),_.Chc(h,[l]),_.lVb(h,1));e[k]=h});a=Object.keys(e);c=this.context.Cf;var f=ytc(c.Xl,a);_.Ra(f,function(h,k){EK(h.getItem(),
e[k],b.H);(b.context.Gj().Me()||b.context.uk().Me()||3===h.getItem().Cv())&&EK(h.getItem(),e[k],b.O);_.$a(e,k)});_.Ra(e,function(h){_.xk(h.Sm())&&(f[h.getId()]=new gL(h))});FCc(c,Object.values(f))};
var GCc=function(a,b){var c=[];b.forEach(function(d){c.push(d.getItem())});a.Yk(c)},HCc=function(a){a=a.context.Cf;var b=new _.Df;b.Il(!0);b=Atc(a.Xl,b);for(var c=[],d=[],e=0;e<b.length;e++){var f=b[e].getItem();if(3===f.Cv()){var h=new _.hI;_.iI(h,f.getId());_.sI(h);d.push(h)}else h=new _.Una,_.AK(h,!1),_.u(h,2,!1),_.E(f,81,h),c.push(b[e])}FCc(a,c);a.yo(d)},CCc=[50],DCc=[12,11,10,67,68];
var ICc=function(a){this.context=a;this.H=null;this.V=!1;this.O=new ECc(a,a.Dg)};_.g=ICc.prototype;_.g.MY=function(a){this.H=a;this.V=!1;if(a){if(this.H){a=this.Cbb.bind(this);var b=this.Bbb.bind(this);this.log("Querying all offline items.");this.H.OV().Uf(a,b);this.V||(this.H.a0((0,_.K)(this.Tyb,this)),this.V=!0)}}else HCc(this.O)};_.g.Cbb=function(a){this.log("Processing all offline item(s): "+a.length);this.O.Yk(a);uL(this.context.Lj,"GZTDpc")};_.g.Bbb=function(){this.log("Error fetching offline items.")};
_.g.Tyb=function(a){this.log("Handling offline change(s): "+a.length);GCc(this.O,a)};_.g.log=function(a){this.context.Be().info("drive.ds.sync.offline.LocalDataService",a)};
var jM=function(a){_.yi.call(this);this.context=a;this.Ba="drive.ds.sync.BaseItemService";this.Nc=new _.nf(this);this.ma=null;this.Ta=this.wa=!1;var b=new ICc(a);this.context.ha=b;this.Fa=new zCc(a,this);joc(this.Fa);_.w(a.Vc,_.yI,58);this.Ja(this.Nc);this.O=this.context.Lj;this.W=a.ita;this.V=new sCc(a,this.W);a=this.context;b=this.V;a.W=b;a.O.resolve(b);this.BTa()};_.J(jM,_.yi);_.g=jM.prototype;_.g.BTa=function(){};
_.g.initialize=function(){var a=this;if(!this.ma){this.ma=_.$h();var b=this.context.jk().H(106E3);this.ma.promise.then(function(){b&&b.xj()},function(){_.iK(a.context.jk(),181008852)});this.context.Be().info(this.Ba,"Initializing "+(_.OJ(this.context.Vc)?"(coldstart) ":"")+" with client build: "+this.context.Vc.Ki());this.Nc.listen(this.context,_.ed,this.ywb);this.Nc.listen(this.context.GI,["ib","jb"],function(c){return void a.dispatchEvent(c)});this.Nc.listen(this.context.uk(),[].concat(_.ec(Object.values(_.OB))),
function(c){return void a.dispatchEvent(c)});this.Za();this.O.start();uL(this.O,"NSockf")}return this.ma.promise};_.g.MYa=function(){this.context.Be().info(this.Ba,"Ready to process requests.");this.wa||(this.wa=!0,this.ma.resolve())};_.g.ywb=function(a){var b=a.error,c=b.ug;c&&3===c.getType()&&!this.wa?(this.wa=!0,this.ma.reject(b)):this.dispatchEvent(a)};_.g.o5=function(){throw kM("teamDriveQuery");};_.g.iqa=function(){throw kM("teamDriveFindByIds");};
_.g.jqa=function(){throw kM("teamDriveMovePreflight");};_.g.WGa=function(){throw kM("peoplePredictQuery");};_.g.query=function(a){Qtc(this.context.wm,a,Crc(this.context.Dg));this.zF();var b=a.clone();b=this.V.Mxa(b);this.Ta||(a=a.se(),a&&121===_.x(a,1)||(this.Ta=!0,this.Nc.listen(b,_.fd,this.HNa)));return b};_.g.HNa=function(a){a=a.currentTarget;if(1===a.Cb()){var b=this.O.H("W6J7De");this.Fa.H=b;this.Nc.Tc(a,_.fd,this.HNa)}};_.g.Zs=function(a){this.zF();rsc(a);return this.V.Jxa(a.clone())};
_.g.Kva=function(){throw kM("activityQuery");};_.g.ywa=function(){throw kM("backupsQuery");};_.g.IHa=function(){throw kM("refreshBackups");};_.g.PV=function(){throw kM("getAndroidBackupItems");};_.g.P8=function(){throw kM("deleteBackup");};_.g.ZGa=function(){throw kM("permissionQuery");};_.g.Caa=function(){throw kM("insertPermission");};_.g.Q8=function(){throw kM("deletePermission");};_.g.hd=function(){throw kM("mutate");};_.g.cO=function(){throw kM("mutateWorkspace");};
_.g.NC=function(){throw kM("bulkMutate");};_.g.Ixa=function(){throw kM("createFileUploader");};_.g.UTa=function(a){return new iM(this.context.Hm(),a)};_.g.bs=function(a){if(3===a.getType())return _.hi(this.context.Hm().then(function(b){return b.Oe(a)}).then(null,BK));throw kM("getApps with type "+a.getType());};_.g.ur=function(){throw kM("getApp");};_.g.Eaa=function(){throw kM("installApp");};_.g.O8=function(){throw kM("deleteApp");};_.g.AT=function(){throw kM("updateApp");};
_.g.yN=function(){throw kM("getUserAccount");};_.g.dH=function(){throw kM("getUserPrefs");};_.g.CS=function(){throw kM("mutateUserPref");};_.g.mu=function(){throw kM("getRevisions");};_.g.DCa=function(){return!1};_.g.Il=function(a){this.context.uz?a?_.Qjc(this.context.uz,!0):this.context.uk().Me()&&this.context.uz.wM(!0).then(null,function(){}):this.context.Gj().Il(a)};_.g.gz=function(){throw kM("setOfflineOptIn");};_.g.MY=function(){throw kM("setLocalItemService");};_.g.zF=function(){};
_.g.ES=function(){this.context.ES();this.context.jk().O(106006)};_.g.f$=function(){return this.Fa};_.g.JY=function(){};_.g.MB=function(){return this.context.GI.MB()};_.g.EQ=function(){return _.Q(this.context.Vc.Tf(),52,!1)?_.Xh(muc(new luc,0)):this.context.GI.EQ()};_.g.isConnected=function(){return 1===this.context.uk().get()};_.g.k8=function(){var a=this.context.uz;return a?a.wM():_.Xh(_.Ijc(0))};_.g.sync=function(){throw kM("sync");};_.g.Lu=function(){return this.context.Lu()};
_.g.Rba=function(){throw kM("offlineDataLoaded");};_.g.roa=function(a){return this.context.Hm().then(function(b){return b.Oe(a)}).then(function(b){return b})};_.g.Zwa=function(){throw kM("categoryMetadataQuery");};_.g.j8=function(){throw kM("changeCategoryLinks");};_.g.nP=function(){throw kM("updateCategoryMetadata");};_.g.tHa=function(){throw kM("publishedCategoriesQuery");};_.g.uHa=function(){throw kM("publishedCategoryQuery");};_.g.dMa=function(){throw kM("workspaceFindByIdsRequest");};
_.g.dra=function(){throw kM("workspaceQueryRequest");};_.g.CKa=function(){throw kM("suggestedWorkspaceItemQueryRequest");};_.g.DKa=function(){throw kM("suggestedWorkspaceQueryRequest");};_.g.Z_=function(){throw kM("addCacheHint");};_.g.A0=function(){throw kM("createUserFeedback");};_.g.yo=function(){throw kM("handleChanges");};var kM=function(a){return new _.Uc(a+" is unsupported",_.BI(3))};
var Soc=function(a){jM.call(this,a);this.Ba="drive.ds.sync.AnonymousItemService";a.jz("")};_.J(Soc,jM);Soc.prototype.Za=function(){tL(this.O,["NSockf"],this.MYa.bind(this))};
var JCc=new Set([1,2,4,5,6]),KCc=function(a,b,c,d,e){this.O=a;this.ka=b;this.ha=c;this.W=d;this.V=e;this.H=null;this.status=3;this.Ne=0};KCc.prototype.Df=function(){var a=new _.dM;a.Bc(this.status);this.H&&_.vBc(a,LCc(this));return a};
var MCc=function(a,b,c,d){d=void 0===d?!1:d;var e=JCc.has(c);if(1===a.status&&!e)return!1;a.Ne=c;var f=a.status;c=!a.H;if(_.dI(a.O)){var h=(h=b&&b.getUser())&&CK(h);h=!(!h||!Fvc(a.ka.H,h));a.status=h&&e||d?1:6}f=!_.Aj(a.H,b)||(_.dI(a.O)?a.status!==f:6===a.status&&e);a.H=b.clone();_.dI(a.O)||(a.status=e||d?1:6);c&&(uL(a.ha,"toquGd"),a.W.info("drive.ds.sync.account.InMemoryAccountCache","Account loaded from "+(e?"server":"cache")));f&&a.V.update(0);return f};KCc.prototype.Ve=function(){return this.Ne};
var LCc=function(a){return a.H?a.H.clone():null};
var NCc=function(a){_.yi.call(this);this.W=a;this.Ne=0};_.J(NCc,_.yi);var OCc=function(a){a=a.clone();var b=function(c){return c.toLowerCase()};Psc(a,_.oe(a,4).map(b));Qsc(a,_.oe(a,5).map(b));return a};_.g=NCc.prototype;_.g.bs=function(){};_.g.put=function(){};_.g.remove=function(){};_.g.yQ=function(){};_.g.kH=function(){return 0!==this.Ne};_.g.Ve=function(){return this.Ne};
var PCc=new Set([1,2,4,5,6]),QCc=function(a,b,c){NCc.call(this,b);this.V=a;this.O=c;this.apps={};this.H=[];this.status=6;this.hp=!1};_.J(QCc,NCc);QCc.prototype.bs=function(){var a=new oL;if(!_.Za(this.apps)){_.qj(a,4,this.H);var b=[];_.Ra(this.apps,function(c){b.push(c.clone())});_.sj(a,2,b)}a.Bc(this.status);return a};QCc.prototype.put=function(a){this.apps[a.getId()]=OCc(a);this.O.update(1);this.dispatchEvent(new _.pi("Kb",this))};QCc.prototype.remove=function(a){_.$a(this.apps,a)&&this.O.update(1)};
QCc.prototype.yQ=function(a,b,c){c=void 0===c?!1:c;var d=!PCc.has(b);1===this.status&&d||(this.Ne=b,RCc(this,a,!d||c),d||this.O.update(1),this.hp||(this.hp=!0,this.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache","Apps initialized."),uL(this.W,"nVUlO")))};
var RCc=function(a,b,c){var d=!1,e=c?1:6;d=e!==a.status;a.status=e;e=_.oe(b,4);if(!d)if(e.length!==a.H.length)d=!0;else{var f=e.concat(a.H);_.Ga(f);d=f.length!==a.H.length}a.H=e;var h=_.cb(a.apps);_.rcc(a.apps);b=_.zb(b,_.bL,2);d||(d=b.length!==_.Va(h));b.forEach(function(k){var l=OCc(k);a.apps[k.getId()]=l;d||(k=h[k.getId()],d=!k||!_.Aj(l,k))});a.V.info("drive.ds.sync.appsettings.InMemoryAppSettingsCache",(c?"Fresh":"Stale")+" apps loaded: "+b.length);d&&a.dispatchEvent(new _.pi("Kb",a))};
var lM=function(a){_.L.call(this);this.context=a;this.Uy=new Set;this.Bp=6;this.wDa=!0;this.Ne=0;this.Nc=new _.nf(this);this.Ja(this.Nc)};_.J(lM,_.L);_.g=lM.prototype;_.g.Zh=function(a){this.NSa(a);this.Uy.add(a);this.resize(!0);this.CO(a)};_.g.NSa=function(){};_.g.$j=function(a){this.Uy.delete(a);0!=this.Uy.size||this.b0a()?this.resize(!1):this.dispose()};_.g.Ve=function(){return this.Ne};_.g.mi=function(a){this.Ne=a};_.g.cT=function(a){this.wDa=!1;this.Bp=a};_.g.VV=function(){return this.Bp};
_.g.refresh=function(){};_.g.Zj=function(){};
var TCc=function(a,b,c){if(Array.isArray(c)){c.forEach(function(k,l,p){p[l]=k.clone()});var d=c}else{d=[];for(var e=_.m(Object.entries(c)),f=e.next();!f.done;f=e.next()){var h=_.m(f.value);f=h.next().value;if(h=h.next().value)h=h.clone(),c[f]=h,d.push(h)}}SCc(a.context.Cf,d,b);d.forEach(function(k){Wwc(a.context.ONa,k,b);if(k.uc()){var l=k.getCapabilities();hL(k)?l&&(_.u(l,12,_.P(l,13)),_.u(l,9,!1),_.u(l,21,!1)):GK(k)?(l&&_.u(l,3,!1),_.u(k,30,!1)):l&&(_.u(l,42,!1),_.u(l,43,!1))}k.getCapabilities()||
_.IJ(k,new _.tk)})};lM.prototype.resize=function(){};lM.prototype.jd=function(){};lM.prototype.Yk=function(a,b){var c=this,d=!1;a.forEach(function(e){e=vL(e);d=c.Pu(e,!0)||d});b||(1!=this.VV()&&(d=!0),this.cT(1));d&&this.kY()};var UCc=function(a,b){var c=!1;b.forEach(function(d){c=a.Pu(d)||c});c&&a.kY();return c};_.g=lM.prototype;_.g.update=function(a){return UCc(this,[a])};_.g.Pu=function(){};_.g.kY=function(){var a=this;this.MSa();this.Uy.forEach(function(b){a.CO(b)})};_.g.MSa=function(){};
_.g.CO=function(a){var b=VCc(this.context).gla(a);this.o_a(b)||(b=this.Zj(b),VCc(this.context).CO(a,b))};_.g.jY=function(a){var b=this;this.cT(3);this.Uy.forEach(function(c){VCc(b.context).jY(c,a)})};_.g.AA=function(){var a=this;this.Uy.forEach(function(b){VCc(a.context).AA(b)});this.mi(0==this.Ve()?1:6)};_.g.b0a=function(){return!1};_.g.o_a=function(){return!1};
var WCc=function(a){_.pi.call(this,"Ab");this.id=a};_.J(WCc,_.pi);
var XCc=function(a,b,c,d){d=void 0===d?!1:d;_.yi.call(this);this.request=a;this.context=b;this.VLa=d;this.he=null;this.items={};this.W=[];this.V=[];this.H=null;this.originalRequest=c||a;this.O=new Set};_.J(XCc,_.yi);
XCc.prototype.kh=function(){var a=this;if(this.he)return this.he.promise;this.he=_.$h();for(var b={},c=_.m(this.request.Em().entries()),d=c.next();!d.done;b={Mra:b.Mra,Rea:b.Rea,wra:b.wra},d=c.next()){var e=_.m(d.value);d=e.next().value;e=e.next().value;b.wra=e;b.Mra=Orc(Nrc(d),this.request);b.Rea=void 0;this.VLa&&(b.Rea={VLa:!0});this.context.Hm().then(function(f){return function(h){return h.Oe(f.Mra,f.Rea)}}(b)).then(function(f){return void YCc(a,f)},function(f){return function(h){var k=f.wra;h=
_.Yc(h);5===h.ug.wv()||4===h.ug.Uj()?(a.context.Be().info("drive.ds.sync.query.ViewCacheFindByIdsRunner","Deleting "+k+" due to: "+h.message),a.V.push(k),ZCc(a)):a.handleError(h)}}(b))}return this.he.promise};var YCc=function(a,b){b.ad().zd().forEach(function(c){_.rI(c,1);a.W.push(c)});ZCc(a)},ZCc=function(a){a.H||(a.H=_.aa.setTimeout(a.ha.bind(a),10))};
XCc.prototype.ha=function(){_.aa.clearTimeout(this.H);this.H=null;$Cc(this);aDc(this);this.O.size===this.request.Em().length?(this.context.Cf.Yk([],1,this.originalRequest,!1),this.dispatchEvent("Cb"),this.he.resolve(this.items)):this.dispatchEvent("zb")};
var $Cc=function(a){var b=a.W;a.W=[];b=a.context.Xfa.w9(b);if(_.FH(_.VH(a.context.Vc))){var c=a.context.Cf.Xl;_.Ma(b,function(d){var e=c.H(d.getId());e&&_.HJ(d,e.rk())})}b.forEach(function(d){a.O.add(d.getId());a.items[d.getId()]=d});a.context.Cf.Yk(b,1,a.originalRequest,!0)},aDc=function(a){var b=a.V;a.V=[];b.forEach(function(c){var d=_.sI(_.iI(new _.hI,c));a.context.Cf.yo([d]);a.O.add(c);a.items[c]=null;a.dispatchEvent(new WCc(c))})};
XCc.prototype.handleError=function(a){var b=new DL(a.ug,_.Bj(this.context.Vc.Tf(),1,1));this.context.Cf.HB(this.request,b);this.dispatchEvent(b);this.he.reject(a)};
var bDc=function(a,b,c,d){lM.call(this,a);this.Dg=b;this.request=c;this.Cd={};this.H=null;this.O=_.AJ(a.Vc)||new _.Qhc;d&&this.Yk(d,!0)};_.J(bDc,lM);
bDc.prototype.refresh=function(){var a=this;if(this.H)return this.H.promise;this.Bp=6;if(_.Q(this.request,5,!1))return this.cT(1),_.Xh();var b=this.wDa?!Zmc(_.TJ(this.Dg),this.request.H()):!1,c=[],d=this.context.ou();this.request.Em().forEach(function(h){if("root"!==h&&h!==d){var k=a.Cd[h],l=k&&k.getItem();if(k=!k||l&&1!==l.Cv()||b)l=l&&l.Sm(),k=!(l&&_.P(l,2));k&&c.push(h)}});if(0===c.length)return this.Yk([],!1),_.Xh();this.H=_.$h();this.H.promise.then(function(){a.H=null},function(){a.H=null});
var e=this.request.clone();_.PF(e,c);var f=new XCc(e,this.context,this.request);this.context.Gj().Me()?(this.Nc.listen(this.context.Gj(),"ub",function(h){h.Me()||(a.Nc.Tc(a.context.Gj(),"ub"),cDc(a,f,a.H))}),this.Bp=0<Object.values(this.Cd).length?1:2):(this.context.uk().Me()&&(this.Bp=0<Object.values(this.Cd).length?1:2),cDc(this,f,this.H));return this.H.promise};var cDc=function(a,b,c){a.Nc.listen(b,"Ab",function(d){a.Cd[d.id]=null});a.AA();b.kh().then(function(){c.resolve()},c.reject)};_.g=bDc.prototype;
_.g.sia=function(a){var b=this;if(this.context.wm.equals(a,this.request,!0)){if(Zmc(_.TJ(this.Dg),a.H()))return!0;if(Zmc(this.request.H(),a.H(),_.TJ(this.Dg))){if(this.wDa)return!0;if(_.Q(this.O,5,!1))return this.request.Em().every(function(c){return(c=b.Cd[c])&&_.P(c.getItem(),31)})}}return!1};
_.g.Zj=function(a){var b=new _.aK;_.dI(this.context.Vc)?b.Bc(lnc(Object.values(this.Cd))?6:this.Bp):b.Bc(this.Bp);b.mi(this.Ve());isc(b,_.Ta(this.Cd,function(c){return c?c.getItem():null}));TCc(this,a.H(),b.et());return b};_.g.resize=function(){};_.g.jd=function(){return this.request};_.g.Ad=function(){return Object.values(this.Cd).length};_.g.Pu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};
_.g.xs=function(a){return!!a&&_.pa(this.request.Em(),a.getId())};
var dDc=function(a,b){_.pi.call(this,a);this.changes=b};_.J(dDc,_.pi);
var eDc=function(a){var b=new cwc;if(a.Wf()){var c=a.Wf();b.H=!1;b.suggestionSessionId=c}a instanceof _.bK&&_.zb(a,_.nk,6).length?(a=_.zb(a,_.nk,6),b.H=!1,b.V=a):a instanceof _.UH&&(a.D6()||a.cta()||a.Qka().length)&&(c=a.D6(),b.H=!1,b.W=c,c=a.cta()||!1,b.H=!1,b.incompleteSearch=c,a=a.Qka(),b.H=!1,b.O=a);return b};
var mM=function(a,b,c,d,e,f,h,k,l){l=void 0===l?"":l;_.yi.call(this);this.Za=a;this.Fa=b;this.Ta=c;this.ta=d;this.kb=e;this.request=f;this.nextPageToken=l;this.W=0;this.Ba=!1;this.V=[];this.O=!1;this.ka=0;this.Ia=new Set;this.ma=h||!1;this.Pa=k||!1;this.Ka=this.qHa(f);this.ha=new cwc};_.J(mM,_.yi);var fDc=function(a){return!a.Ba||""!==a.nextPageToken},hDc=function(a,b){a.W=b;return a.V.length<a.W&&!a.O&&fDc(a)?gDc(a):_.gi()};mM.prototype.$b=function(){return this.V.length};mM.prototype.H=function(){return this.V.slice()};
var gDc=function(a){var b=a.W-a.V.length+a.ka;a.log("Get more items called with limit of "+b);var c=a.nextPageToken,d=new _.bi;d.addCallback(function(f){return void iDc(a,c,f)});var e=_.Emc(_.Fmc(new _.eI,a.Ka),c);b=_.Cmc(new _.jfc,b);a.Pa&&_.u(b,10,!0);_.Dmc(e,b);a.Ba=!0;a.O=!0;a.Fa.then(function(f){return f.Oe(e)}).then(a.wa.bind(a,d),a.handleError.bind(a,d,b));return d};
mM.prototype.wa=function(a,b){this.O=!1;if(b instanceof _.bK)var c=b;else c=b.ad(),this.nextPageToken=b.Xn()||"";this.ha=eDc(c);this.ha.lc()||this.dispatchEvent("Bb");a.callback(c.zd())};
mM.prototype.handleError=function(a,b,c){c=_.Yc(c);this.O=!1;if(5===c.ug.wv())a.callback([]);else{if(10===c.ug.wv()&&(_.Cmc(b,Math.ceil(_.Bj(b,1,1E3)/2-2E-15)),1<_.Bj(b,1,1E3))){var d=_.Dmc(_.Emc(_.Fmc(new _.eI,this.Ka),this.nextPageToken),b);this.O=!0;this.Fa.then(function(e){return e.Oe(d)}).then(this.wa.bind(this,a),this.handleError.bind(this,a,b));return}b=new DL(c.ug,_.Bj(this.Ta.Tf(),1,1));this.INa(b);this.dispatchEvent(b);a.Ed(c)}};
var iDc=function(a,b,c){for(var d=new Set,e=_.m(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: ")+(_.Yic(a.request)+" paginationToken: ")+b;b=_.Ip(_.Gp(_.lI(_.kI(new _.Tc,2),9),f));a.kb(new _.Vc(new _.Uc(f,b)));break}d.add(f.getId())}f=c.filter(function(h){var k=a.Ia.has(h.getId());a.Ia.add(h.getId());return!k});a.ka+=c.length-f.length;c=_.m(f);for(b=c.next();!b.done;b=c.next())_.rI(b.value,a.ma?
2:1);c=[];b=_.m(a.z3a(f));for(f=b.next();!f.done;f=b.next())f=f.value,a.V.push(f.getId()),f=_.iI(new _.hI,f.getId()).setItem(f),c.push(f);c.length&&a.dispatchEvent(new dDc("zb",c));if(a.V.length<a.W&&a.nextPageToken)return gDc(a);a.dispatchEvent("Cb")};_.g=mM.prototype;_.g.z3a=function(a){return a};_.g.INa=function(){};_.g.jd=function(){return this.request};_.g.qHa=function(a){a=a.clone();this.ma&&_.u(a,46,!0);return a};_.g.log=function(a){this.Za.info("drive.ds.sync.query.QueryRunner",a)};
var jDc=function(a,b,c,d){mM.call(this,a.Be(),a.Hm(),a.Vc,a.Cf.Xl,a.dispatchEvent,b,void 0,c,d);this.context=a};_.J(jDc,mM);jDc.prototype.z3a=function(a){a=this.context.Xfa.w9(a);this.context.Cf.Yk(a,1,this.request,fDc(this));return a};jDc.prototype.INa=function(a){this.context.Cf.HB(this.request,a)};jDc.prototype.qHa=function(a){var b=a=mM.prototype.qHa.call(this,a),c=_.gl(b);0===_.oe(b,33).length&&1===c.length&&(c=this.ta.H(c[0].Ya()))&&(c=c.uc())&&(_.il(b,[c]),_.jl(b,2));kDc(this,a);return a};
var kDc=function(a,b){if(_.gl(b).some(function(d){return(d=a.ta.H(d.Ya()))&&_.P(d,108)})){var c=b.se();c||(c=new _.Pf,_.hl(b,c));_.Qf(c,937)}};
var lDc=function(a,b,c,d){this.context=a;this.Dg=b;this.W=d;this.toa=0;this.H=c},pDc=function(a,b){if(b){a.log("Processing potential rejoin for TD: "+b);var c=_.jl(_.el(_.il(new _.Df,[b]),_.TJ(a.Dg)),1),d=_.Qf(new _.Pf,306);_.hl(c,d);mDc(a);c=new jDc(a.context,c);hDc(c,5E3).addCallback(a.V.bind(a,c));nDc(a);oDc(a,b)}},nDc=function(a){var b=_.Wa(a.H);b=b.filter(function(d){return d instanceof bDc});var c=new Set;b.forEach(function(d){d.jd().Em().forEach(function(e){a.W.get(e)||c.add(e)})});b=_.Qf(new _.Pf,
310);a.log("Re-querying missing find-by-ids :"+c.size);a.DO([].concat(_.ec(c)),b)},oDc=function(a,b){var c=[];(a.context.Cf.zHa.KQ[b||"subscribed"]||[]).forEach(function(d){_.Ra(a.H,function(e){_.Aj(e.jd(),d)&&c.push(e)})});_.Ga(c);0<c.length&&(mDc(a),c.forEach(function(d){d=XK(a.context.wm,d.jd(),3);a.log("Refreshing "+b+" cache: "+d)}),_.ai(_.Zh(c.map(function(d){return d.refresh().mg(_.ig)})),a.O.bind(a)))};
lDc.prototype.DO=function(a,b,c,d,e){c=void 0===c?!1:c;a=a.filter(function(f){return!_.Re(f)});if(0===a.length)return _.Xh({});a=_.u(_.OF(_.PF(new _.NF,a),d||_.TJ(this.Dg)),7,!0);_.QF(a,b);e&&e.length&&_.sj(a,11,e);mDc(this);b=new XCc(a,this.context,void 0,c);return _.ai(b.kh(),this.V.bind(this,b))};lDc.prototype.V=function(a){a.dispose();this.O()};var mDc=function(a){a.toa++;a.context.Rs.setActive(!1)};lDc.prototype.O=function(){this.toa--;0===this.toa&&this.context.Rs.setActive(!0)};
lDc.prototype.log=function(a){this.context.Be().info("drive.ds.sync.cache.CacheRefresher",a)};
var qDc=function(a,b,c){_.L.call(this);this.context=a;this.H=b;this.request=c;this.O=this.he=null;a=new _.Pf;_.Rf(a,!1);_.Qf(a,305);_.hl(this.request,a);this.Nc=new _.nf(this);this.Ja(this.Nc)};_.J(qDc,_.L);
qDc.prototype.kh=function(){if(!this.he){this.he=_.$h();if(_.Q(this.request,48,!1))return this.H.mi(9),this.he.resolve(this.H),this.he.promise;this.O=new mM(this.context.Be(),this.context.Hm(),this.context.Vc,this.context.Cf.Xl,this.context.dispatchEvent,this.request,!0);this.Nc.listen(this.O,"zb",this.W);this.Nc.listen(this.O,"Cb",this.V.bind(this));this.Nc.listen(this.O,"Db",this.he.reject.bind(this.he));hDc(this.O,this.request.vi())}return this.he.promise};
qDc.prototype.W=function(a){a=_.m(a.changes);for(var b=a.next();!b.done;b=a.next())b=b.value.getItem(),this.H.update(vL(new gL(b)))};qDc.prototype.V=function(){this.H instanceof xL?this.H.H=!fDc(this.O):fDc(this.O)&&wL(this.H,!1);this.H.mi(5);this.he.resolve(this.H)};
var sDc=function(a,b){_.pi.call(this,rDc);this.cache=a;this.changes=b};_.J(sDc,_.pi);var rDc="Lb";
var tDc=function(a,b){return new _.Wh(function(c,d){b.then(function(e){for(var f=new Map,h=_.m(a.zy()),k=h.next();!k.done;k=h.next()){k=k.value;var l=k.getId();rnc(k.getItem());f.set(l,ktc(new gL(k.getItem()),k.H))}h=_.m(e.items);for(k=h.next();!k.done;k=h.next())k=k.value,l=k.qc(),l=f.get(l)||null,k.Tk()?l&&a.update(new bvc(l.getId(),l,null)):(k=k.getItem(),rnc(k),a.update(cvc(l,ktc(new gL(k),null===l||void 0===l?void 0:l.H))));a.BX();c(e.qNb)},d)})};
var uDc=function(a,b){_.L.call(this);this.context=a;this.Dg=b};_.J(uDc,_.L);
uDc.prototype.kh=function(a){this.log("Running initial view populator (IVDP).");try{var b=new fL(JSON.parse(a))}catch(l){this.handleError("Error parsing initial view dump.",_.CI(l));return}a=_.VH(this.context.Vc);if(!_.FH(a)){var c=b.Df();if(c){var d=c.getUser();d&&d.getId()===_.y(a,6,"")&&MCc(this.context.pQ,c,4)}(a=b.ou())&&this.context.jz(a,6)}var e=_.x(b,3)||void 0;e&&vDc(this.context,e,!0);if((a=_.zb(b,_.Ko,9))&&a.length){c=(c=this.context.Vc.Tf())&&_.oe(c,30)||[];var f=new Set(c);a.forEach(function(l){(l=
(l=l.getKey())&&_.Lo(l))&&f.add(l)});this.context.wE.yQ(a,4,[].concat(_.ec(f.values())))}a=b.zd();a.forEach(function(l){_.Egc(l);_.rI(l,6)});if(c=_.zb(b,eL,5)[0])if(b=this.context.wm,fnc(_.TJ(this.Dg),c.getQuery().H(),_.NJ(this.context.Vc)))if((d=c.getQuery().Kc())&&4===d.getType()&&!_.ycc())this.handleError("Invalid initial view data, natural sort unsupported");else{if(0<a.length){d=jL(b,c.getQuery());d.Fi(_.x(c,2)||void 0);b=a.map(function(l){return new gL(l,void 0,1,e)});var h=_.w(c,_.Bk,3);if(h&&
_.x(c,2)){var k=b[b.length-1];_.rI(h,6);if(!_.Aj(h,k.getItem())){this.handleError("Invalid last item in initial view data.");return}}h=_.AJ(this.context.Vc);k=new xL(this.context.xt,this.context.Kv,this.context.wm,d,k,h&&_.Q(h,2,!1)&&c.Xn()||"");k.mi(4);d=c=0;b=_.m(b);for(h=b.next();!h.done;h=b.next())k.update(vL(h.value))?c++:d++;wDc(this.context.Cf,k);b=k.jd();this.log("Imported "+c+" initial view items (IVDP) successfully ("+d+" failed) into the cache hint corpus cache. Query: "+k.WM());k=new _.eI;
_.Fmc(k,b);k=_.hkc(this.context.eB,k,"IVDP");_.ikc(k,a);uL(this.context.Lj,"W6J7De")}}else this.handleError("Invalid initial view data, fields: "+Otc(b,c.getQuery().H()));else this.handleError("No initial query found")};uDc.prototype.handleError=function(a,b){var c=b?void 0:_.Ip(_.lI(_.kI(new _.Tc,2),6));b=new _.Uc(a,c,b);this.context.vJ(b.ug);this.log("Initial view dump population failed. Message: "+a);uL(this.context.Lj,"DEJoH")};
uDc.prototype.log=function(a){this.context.Be().info("drive.ds.sync.cache.InitialViewPopulator",a)};
var xDc=function(a){_.yi.call(this);this.context=a;this.W="drive.ds.sync.cache.CorpusCachePopulator";this.V=0;this.O=new zL(a.xt,a.Kv,a.Lj,function(){return a.ou()});this.H=this.context.Vc;this.ta=new fvc(a.xt,a.Kv)};_.J(xDc,_.yi);
var yDc=function(a,b){var c=_.Bj(a.H,31,2E4);b="number"===typeof _.x(b,3)?_.x(b,3):c+1;b>c?(wL(a.O,!1),c="partialCorpus",a.log("Too many subscribed items at "+b+"; skipping subscribed cache.")):(c="fullCorpus",a.log("Caching all subscribed items."));a.context.eB.Hb("CachedCorpusType",c)};xDc.prototype.log=function(a,b){this.context.Be().log(this.W,a,b||"info")};var zDc=function(a,b){0===a.V&&(a.V=b)};
var ADc=function(a,b){var c;if(c=!!b&&!!b.Uh())a=_.P(a,4),c=null==a||!!_.P(b.Uh(),7)==a;return c};
var BDc=function(a,b){_.yi.call(this);this.context=a;this.request=b;this.V=[];this.nextPageToken="";this.H=this.O=!1};_.J(BDc,_.yi);BDc.prototype.kh=function(){return this.H||this.O&&""===this.nextPageToken?_.gi():CDc(this)};BDc.prototype.$b=function(){return this.V.length};
var CDc=function(a){a.O=!0;a.H=!0;var b=$qc(arc(new _.wJ,a.request),a.nextPageToken),c=_.hkc(a.context.eB,b);return _.hi(a.context.Hm().then(function(d){return d.Oe(b)}).then(function(d){var e=d.ad().zd();a.nextPageToken=d.Xn()||"";DDc(a,c,e)},function(d){return void a.handleError(d)}))},DDc=function(a,b,c){_.ikc(b,c);for(b=0;b<c.length;b++)_.rI(c[b],1);a.context.Cf.Yk(c,1,a.request,!a.O||""!==a.nextPageToken);var d=[];_.Ma(c,function(e){this.V.push(e.getId());e=_.iI(new _.hI,e.getId()).setItem(e);
d.push(e)},a);d.length&&a.dispatchEvent(new dDc("zb",d));a.nextPageToken?CDc(a):(a.H=!1,a.dispatchEvent("Cb"))};BDc.prototype.handleError=function(a){this.H=!1;a=new DL(_.mI(a),_.Bj(this.context.Vc.Tf(),1,1));this.dispatchEvent(a)};BDc.prototype.jd=function(){return this.request};
var EDc=function(a){this.H=_.zcc(a,{numeric:!0})};EDc.prototype.sort=function(a){_.Ka(a,this.compare.bind(this))};EDc.prototype.compare=function(a,b){a=a.getItem();b=b.getItem();var c=this.H(a.getTitle(),b.getTitle());return 0===c?_.Ha(a.getId(),b.getId()):c};
var FDc=function(a,b,c,d){d=void 0===d?!1:d;lM.call(this,a);this.Dg=b;this.Cd=[];this.he=null;this.request=c.clone();this.Tv=new BDc(a,this.request);this.hSb=new EDc(PK(_.VH(a.Vc)));this.IDa=null!=_.P(this.request,6);_.df(this,this.iob,this);d&&(this.he=_.$h(),this.he.resolve())};_.J(FDc,lM);_.g=FDc.prototype;_.g.refresh=function(){3===this.Bp&&(this.Bp=6,this.he=null);return this.Qca()};_.g.isInitialized=function(){return!!this.he};
_.g.Qca=function(){var a=this;if(this.isInitialized())return this.he.promise;this.he=_.$h();this.context.Gj().Me()?this.Nc.listen(this.context.Gj(),"ub",function(b){b.Me()||(a.Nc.Tc(a.context.Gj(),"ub"),a.AA(),a.Tv.kh().Uf(a.he.resolve,a.he.reject,a.he))}):this.context.uk().Me()?this.Nc.Xc(this.context.uk(),[_.OB.LL,_.OB.JU],function(){a.AA();a.Tv.kh().Uf(a.he.resolve,a.he.reject,a.he)}):(this.AA(),this.Tv.kh().Uf(this.he.resolve,this.he.reject,this.he));return this.he.promise};_.g.resize=function(){};
_.g.jd=function(){return this.request};_.g.zy=function(){return this.Cd};_.g.sia=function(a){return this.context.wm.equals(a,this.request)};_.g.Zj=function(a){a=a.vi();this.hSb.sort(this.Cd);var b=Wnc(_.Da(this.Cd,0,Math.min(a,this.Cd.length)));TCc(this,Drc(this.Dg),b);var c=new _.UH;c.cB(b);c.Bc(this.pxa(a));c.mi(this.Ve());Vqc(c,a<this.Cd.length||!(this.context.Gj().Me()||this.context.uk().Me())&&1!==this.Bp);return c};
_.g.pxa=function(a){return 1===this.Bp||a<=this.Cd.length?1:this.context.Gj().Me()||this.context.uk().Me()?0<this.Cd.length?1:2:6};_.g.Yk=function(a,b){this.isInitialized()&&lM.prototype.Yk.call(this,a,b)};_.g.Pu=function(a,b){b=void 0===b?!1:b;if(!this.isInitialized())return!1;var c=a.id,d=_.na(this.Cd,function(h){return h.getId()===c}),e=!!d;b=this.xs(a.H,b);var f=a.O;d&&(f=d,e=!0);if(e||b)e?b?this.CLa(f,a.H):this.rJ(f):this.XR(a.H);else return!1;return!0};_.g.XR=function(a){this.Cd.push(a);a.count++};
_.g.rJ=function(a){_.xa(this.Cd,a);a.count--};_.g.xza=function(a){return _.oa(this.Cd,a)};_.g.CLa=function(a,b){this.Cd[this.xza(a)]=b;b.count++;a.count--};_.g.xs=function(a,b){b=void 0===b?!1:b;if(!a)return!1;if(this.IDa&&null!=_.P(this.request,6)){if(b)return!0;var c=a.getId();b=!!this.Cd.find(function(d){return c===d.getId()},this);a=hL(a.getItem())&&ADc(this.request,a.getItem());return b&&a}return hL(a.getItem())&&ADc(this.request,a.getItem())};_.g.iob=function(){this.Cd.forEach(function(a){a.count--})};
_.g.b0a=function(){return!0};_.g.getType=function(){return"TeamDriveViewCache"};_.g.Ad=function(){return this.Cd.length};_.g.BX=function(){this.Bp=1};
var GDc=function(a){this.H=a},HDc=function(a,b,c,d,e){if(0===e||null===b){var f=new lBc;_.u(f,2,b);_.u(f,1,d);return _.Xh(f)}var h=kuc();_.u(h,2,b);c&&_.u(h,3,c);return a.H.then(function(k){return k.Oe(h)}).then(function(k){var l,p=null!==(l=k.Fy())&&void 0!==l?l:null;return HDc(a,p,c,d+_.x(k,1),e-1)})};
var IDc=function(a,b){xDc.call(this,a);this.Dg=b;this.ha=void 0;this.ka=null;this.ma=!1;this.RD=void 0;this.W="drive.ds.sync.cache.LocalDumpPopulator"};_.J(IDc,xDc);IDc.prototype.handleError=function(){this.log("Local dump population failed.");uL(this.context.Lj,"mrK8ic")};
IDc.prototype.kh=function(){var a=this;if(this.ka)return this.ka;if(this.context.RQ){var b=new _.bi;this.ka=b;this.initialize().then(function(){var c=_.zb(_.QK(a.H),OK,11);c=c[0]&&c[0].getKey()||"";return JDc(a,a.context.RQ,c,4)}).then(null,function(c){if(_.Q(a.H,8,!0))return KDc(a,c);throw c;}).then(function(){_.dI(a.H)||a.context.Cf.Fq.H.clear();uL(a.context.Lj,"zaOY7");b.callback()},function(c){zDc(a,8);a.handleError();b.Ed(c)});return b}this.handleError();return _.ii(Error("pg"))};
IDc.prototype.initialize=function(){var a=this;return _.Xh(this.context.RQ.initialize()).then(function(){if(!_.OJ(a.H)){var b=_.Bj(_.QK(a.H),7,432E6);b&&(a.ha=Date.now()-b);return new _.Wh(function(c,d){ryc(a.context.JD).then(function(e){e?c():d(Error("qg"))})})}})};
var JDc=function(a,b,c,d){return _.ng(a,function f(){var h=this,k;return _.cg(f,function(l){return 1==l.H?(k=h.ha,LDc(h,b,c,k),MDc(h,b,c,k),NDc(h,b,c,k),_.Wf(l,ODc(h,b,c,k),2)):_.Wf(l,Promise.all([PDc(h,b,c,d,k),QDc(h,b,c,d,k),RDc(h,b,c,d,k),SDc(h,b,c,d,k)]),0)})})},LDc=function(a,b,c,d){var e=function(){return a.log("Failed to load account from storage.")};HL(b,c,0,void 0,d,a.RD).then(function(f){f[0]?MCc(a.context.pQ,f[0],a.Ve(),_.OJ(a.H)):e()},function(){return e()})},MDc=function(a,b,c,d){var e=
function(){return a.log("Failed to load apps from storage.")};HL(b,c,1,void 0,d,a.RD).then(function(f){f[0]?a.context.q_.yQ(f[0],a.Ve(),_.OJ(a.H)):e()},function(){return e()})},NDc=function(a,b,c,d){var e=function(){return a.log("Failed to load user prefs from storage.")};HL(b,c,5,void 0,d,a.RD).then(function(f){if(f[0]){f=f[0];var h=_.zb(f,_.Ko,1);h.length&&a.context.wE.yQ(h,a.Ve(),_.oe(f,2),_.OJ(a.H))}else e()},function(){return e()})},PDc=function(a,b,c,d,e){var f=new _.dn;HL(b,c,3,1,e,a.RD).then(function(h){return TDc(a,
h[0])}).then(function(h){if(h){b!==a.context.RQ||fnc(_.oe(h,12),_.TJ(a.Dg),_.NJ(a.H))||(a.log("Disabling dump updater due to inconsistent fields.","warning"),a.context.Rs.KS());var k=_.x(h,3);if(!k||0>k)throw Error("tg");a.context.jz(h.ou(),d);k=_.x(h,3);"number"===typeof k&&vDc(a.context,Number(k));_.OJ(a.H)&&(a.log("Coldstart: Firing INITIAL_CHANGES_PROCESSED."),a.context.VEa());a.Yk(h,d);f.resolve()}else f.reject("Failed to load cache hints from storage.")},f.reject,f);return f.promise},QDc=function(a,
b,c,d,e){return UDc(a,2,b,c,d,e).then(function(){var f,h;return null===(f=_.AJ(a.H))||void 0===f||!_.Q(f,17,!1)||null!==(h=a.O)&&void 0!==h&&h.CD?Promise.resolve():UDc(a,5,b,c,d,e)},function(){var f;return(null===(f=_.AJ(a.H))||void 0===f?0:_.Q(f,17,!1))?UDc(a,5,b,c,d,e):Promise.reject(Error("rg"))})},UDc=function(a,b,c,d,e,f){var h=new _.dn;HL(c,d,3,b,f,a.RD).then(function(k){k[0]?(a.Yk(k[0],e),h.resolve()):h.reject(Error("sg"))},function(k){return h.reject(k)});return h.promise},RDc=function(a,
b,c,d,e){var f=new _.dn;HL(b,c,3,4,e,a.RD).then(function(h){h.forEach(function(k){a.Yk(k,d)});f.resolve()},function(h){return f.reject(h)});return f.promise},SDc=function(a,b,c,d,e){var f=new _.dn;HL(b,c,3,3,e,a.RD).then(function(h){h.length?h.forEach(function(k){a.Yk(k,d)}):uL(a.context.Lj,"rVezo");f.resolve()},function(h){return f.reject(h)});return f.promise},ODc=function(a,b,c,d){var e=new _.dn;HL(b,c,6,void 0,d,a.RD).then(function(f){f=_.m(f);for(var h=f.next();!h.done;h=f.next())h=h.value,_.zb(h,
rL,1).length&&(a.log("Importing "+_.zb(h,rL,1).length+" people into the PeopleCache."),h=_.zb(h,rL,1),Avc(a.context.Cf.Fq.H,h,2));e.resolve()},function(f){return e.reject(f)});return e.promise},TDc=function(a,b){var c=_.x(b,3);if(c&&!_.OJ(a.H)){var d=new GDc(a.context.Hm()),e=_.Bj(_.QK(a.H),13,5);return HDc(d,c,null,0,e).then(function(f){return _.lj(f,2)?(a.log("Encrypted dump too stale."),a.context.jk().O(106007),zDc(a,9),null):b},function(){return b})}return _.Xh(b)},KDc=function(a,b){var c=IL(a.context.RL.jj()),
d=_.zb(_.QK(a.H),OK,11).filter(function(e){return e.ot()});return jyc(_.MJ(_.VH(a.H)),_.NJ(a.H),_.Bj(_.QK(a.H),10,0)||0,_.TJ(a.Dg),a.ha||0,d.map(function(e){return _.x(e,1)}),c).then(function(e){if(e){var f=d.find(function(l){return e.V===_.x(l,1)}),h=new JL(_.Xh(e),a.context.Be(),null,!0),k=new hxc(h,a.H,function(l){a.context.vJ(l)});k.initialize();a.ma=!0;return JDc(a,k,f?f.getKey():null,8).then(function(){return h.getMetadata([oyc])}).then(function(l){l[0]?(l=l[0].Ya(),l=a.context.JD.set(oyc,l)):
l=Promise.resolve();return l}).then(function(){h.close()})}return _.Yh(new _.Uc("No compatible dumps to forklift were found.",null,b))})},ZDc=function(a,b,c){var d;switch(b.Po()){case 1:return VDc(a,b,c);case 2:return WDc(a,b,a.O);case 5:return(null===(d=_.AJ(a.H))||void 0===d?0:_.Q(d,17,!1))?WDc(a,b,a.ta):null;case 3:return XDc(a,b);case 4:return YDc(a,b);default:return null}},VDc=function(a,b,c){var d=[];_.zb(b,eL,5).forEach(function(e){var f=void 0,h=_.w(e,_.Bk,3);h&&(_.Egc(h),_.P(a.H,67)&&Umc(h,
inc),_.rI(h,c),f=new gL(h));var k=e.getQuery();if(!_.Q(k,48,!1)||_.zb(a.H,_.Df,44).some(function(l){if(!_.Q(l,48,!1))return!1;l=jL(a.context.wm,l,!0);return _.Aj(l,k)}))e=new xL(a.context.xt,a.context.Kv,a.context.wm,k,f),e.mi(a.Ve()),d.push({cache:e,changes:GL(a.context.Jz,null)})});return d},WDc=function(a,b,c){b=_.w(b,noc,11);if(!b)throw Error("ug");yDc(a,b);return c.CD?(c.mi(a.Ve()),[{cache:c,changes:GL(a.context.Jz,null)}]):[]},YDc=function(a,b){return _.zb(b,eL,5).map(function(c){c=new FDc(a.context,
a.Dg,_.w(c,_.GH,5),!0);c.mi(a.Ve());return{cache:c,changes:GL(a.context.Jz,null)}})},XDc=function(a,b){var c=_.oe(_.zb(b,eL,5)[0].getQuery(),33)[0],d=_.x(b,3)||void 0;b=GL(a.context.Jz,c);nM(a.context).addCallback(function(f){f.Uva(c,d)});var e=new BL(a.context.xt,a.context.Kv,c);e.mi(a.Ve());return[{cache:e,changes:b}]};
IDc.prototype.Yk=function(a,b){var c=this,d=ZDc(this,a,b);if(d&&0!==d.length){for(var e=_.m(a.zd()),f=e.next();!f.done;f=e.next()){var h=f.value;_.Egc(h);_.P(this.H,67)&&Umc(h,inc);_.rI(h,b);_.dI(this.H)||this.context.Cf.Fq.H.lc()||Wvc(this.context.Cf.Fq,[h]);f=new gL(h);_.oe(a,14).includes(h.getId())&&ktc(f,!0);for(h=0;h<d.length;h++)d[h].cache.update(vL(f))}d.forEach(function(k){var l=k.cache;c.dispatchEvent(new sDc(l,k.changes));c.log("Imported "+l.Ad()+" items into the "+l.getType());var p=null;
l instanceof BL&&(p=l.uc());c.context.zaa.promise.then(function(){Ewc(c.context.Jz,p)})});1===a.Po()&&uL(this.context.Lj,"ZA9qG")}else this.log("Ignoring corpus cache for "+a.Po()+".")};IDc.prototype.Ve=function(){return this.ma?7:3};
var $Dc=function(a){_.L.call(this);this.context=a};_.J($Dc,_.L);$Dc.prototype.kh=function(a){try{return aEc(this,new PAc(JSON.parse(a)))}catch(b){return this.handleError("Error parsing prefetched request.",b),Promise.resolve()}};
var aEc=function(a,b){a.log("Running prefetched request populator for "+b.getKey()+".");switch(b.getKey()){case 1:case 3:b=bEc(a,b);break;case 4:b=cEc(a,b);break;case 6:b=dEc(a,b);break;case 2:b=eEc(a,b);break;case 7:b=fEc(a,b);break;case 5:b=Promise.all(_.zb(_.Ej(b,RAc,7,TAc),PAc,1).map(function(c){aEc(a,c)}));break;default:return a.handleError("Unsupported prefetched request."),Promise.resolve()}return b},bEc=function(a,b){var c=_.Ej(b,_.Df,2,SAc);b=JSON.parse(_.Dj(b,3,TAc)||"{}");var d=new _.eI;
_.Fmc(d,c);return a.context.AR().hta.convert(d,{headers:{},text:"",json:b}).then(function(e){gEc(a,c,e.ad())})},dEc=function(a,b){return gEc(a,_.Ej(b,_.Df,2,SAc),_.Ej(b,_.UH,9,TAc))},gEc=function(a,b,c){for(var d=c.zd(),e=_.m(d),f=e.next();!f.done;f=e.next())_.rI(f.value,7);c=eDc(c);a=a.context.Cf;b=jL(a.context.wm,b);e=oM(a,b);a.log("Initializing cache with "+d.length+" items for key '"+e+"'");f=a.V[e];f||(f=new pM(a.context,b),f.mi(2),hEc(a,e,f));c.lc()||f.gta(c);a.Yk(d,1,b);return Promise.resolve()},
eEc=function(a,b){b=_.Ej(b,_.Sz,5,TAc);var c=a.context.Vc.Tf();c=c&&_.oe(c,30)||[];var d=new Set(c);_.zb(b,_.Ko,3).forEach(function(e){(e=(e=e.getKey())&&_.Lo(e))&&d.add(e)});a.context.wE.yQ(_.zb(b,_.Ko,3),2,[].concat(_.ec(d.values())));return Promise.resolve()},cEc=function(a,b){a.context.Yfa.h3(_.Ej(b,sL,8,TAc).Wk(),_.Ej(b,_.Wz,6,SAc),2,!1);return Promise.resolve()},fEc=function(a,b){var c=_.Ej(b,_.Uz,10,SAc);b=JSON.parse(_.Dj(b,3,TAc)||"{}");return a.context.AR().hta.convert(c,{headers:{},text:"",
json:b}).then(function(d){tCc(a.context).h3([d],c,2,!1)})};$Dc.prototype.handleError=function(a,b){var c=b?void 0:_.Ip(_.lI(_.kI(new _.Tc,2),6));this.context.dispatchEvent(new _.Vc(new _.Uc(a,c,b)));this.log("Prefetched request population failed.")};$Dc.prototype.log=function(a){this.context.Be().info("drive.ds.sync.cache.PrefetchedRequestPopulator",a)};
var qM=function(a){xDc.call(this,a);this.ha=[];this.ka=[];this.W="drive.ds.sync.cache.SdkCachePopulator";this.wa=Math.ceil(1.1*_.Bj(a.Vc,31,2E4))};_.J(qM,xDc);qM.prototype.kh=function(){if(!_.Q(this.H,45,!1))return zDc(this,5),this.handleError(),_.ii(Error("vg"));this.log("Drive SDK cache population initiated.");return this.context.tXa().addCallback(this.Fa,this).addCallback(this.Ba,this).yg(this.handleError,this)};
qM.prototype.Fa=function(){var a=this;uL(this.context.Lj,"L6uQWd");nM(this.context).addCallback(function(b){b.jea()});if(_.Q(this.H,46,!1))return moc(this.context.Hm(),this.context.Be()).addCallback(function(b){if(!b)throw zDc(a,4),Error("wg");yDc(a,b)});this.log("Subscribed corpus cache population disabled.");wL(this.O,!1);return _.gi()};
qM.prototype.Ba=function(){this.context.VEa();var a=new _.bi;if(this.O.CD){this.log("Starting subscribed corpus cache population.");var b=this.O.jd();b.Fi(this.wa);this.O.mi(5);iEc(this,this.O,b)}b=_.zb(this.H,_.Df,44);b=_.m(b);for(var c=b.next();!c.done;c=b.next())c=new xL(this.context.xt,this.context.Kv,this.context.wm,c.value),c.mi(5),iEc(this,c,c.jd()),c=XK(this.context.wm,c.jd()),this.log("Starting "+c+" cache hint corpus cache population.");_.Zh(this.ka).then(a.callback,this.ma.bind(this,a),
a);return a};var iEc=function(a,b,c){var d=GL(a.context.Jz,null);b=new qDc(a.context,b,c);a.ha.push(b);b=_.ai(b.kh().then(function(e){!e.CD&&e instanceof zL&&(a.log("Subscribed corpus cache disabled, too many backfill items."),a.context.eB.Hb("CachedCorpusType","errorUncachedCorpus"));a.dispatchEvent(new sDc(e,d))}),function(){a.context.zaa.promise.then(function(){Ewc(a.context.Jz,null)})});a.ka.push(b)};
qM.prototype.ma=function(a,b){for(var c=_.m(this.ha),d=c.next();!d.done;d=c.next())d.value.dispose();zDc(this,7);c=b;b instanceof DL?c=_.CI(b.error):_.jI(b)||(c=Error("xg`"+b));a.Ed(c)};qM.prototype.handleError=function(){this.log("Drive SDK cache population failed.");uL(this.context.Lj,"Gv4zef")};qM.prototype.Ve=function(){return 5};
var jEc=function(a,b){_.L.call(this);this.context=a;this.V=b;this.Nc=new _.nf(this);this.impression=null;this.W=[];this.Ja(this.Nc);this.H=new IDc(this.context,this.context.Dg);this.Ja(this.H);this.O=new qM(this.context);this.Ja(this.O)};_.J(jEc,_.L);
jEc.prototype.kh=function(){var a=this;this.log("Corpus cache population initiated.");this.impression=this.context.jk().H(106002);_.aa._DRIVE_dsp&&kEc(this);_.aa._DRIVE_dspc=function(c){kEc(a,c)};GL(this.context.Jz,null);_.Q(this.context.Vc,24,!1)&&!_.OJ(this.context.Vc)&&(_.aa._DRIVE_ivd||null===_.aa._DRIVE_ivd?lEc(this):_.aa._DRIVE_ivdc=function(){lEc(a)});var b=this.context.RQ;if(b)return this.Nc.listen(this.H,rDc,this.ha),this.Nc.listen(this.O,rDc,this.ha),(!_.Q(this.context.Vc,10,!1)&&_.P(this.context.Vc,
69)?this.context.YX.promise:Promise.resolve()).then(function(){return b.initialize().then(function(){a.log("Dump storage initialized.");a.impression&&(a.H.RD=a.impression);return a.H.kh().Uf(function(){return mEc(a,a.H.Ve())},function(){nEc(a,a.H.Ve(),a.H.V);return _.OJ(a.context.Vc)?a.handleError(Error("yg")):a.O.kh().then(function(){return mEc(a,a.O.Ve())},function(c){nEc(a,a.O.Ve(),a.O.V);return a.handleError(c)})})},function(c){a.handleError(_.jI(c)?c:void 0,!0)})});this.handleError(void 0,!0)};
var kEc=function(a,b){var c=new $Dc(a.context);(_.aa._DRIVE_dsp||[]).filter(function(d,e){return d&&[,!0,!0,!0,!0,,!0,!0][e]&&(!b||e===b)}).forEach(function(d){c.kh(d)});c.dispose()};jEc.prototype.ha=function(a){var b=a.cache;this.log("Cache populated: "+b.getType());this.W.push(oEc(this,b,a.changes))};
var mEc=function(a,b){Ewc(a.context.Jz,null);uL(a.context.Lj,"L6uQWd");nM(a.context).addCallback(function(c){c.jea()});return Promise.all(a.W).then(function(){pEc(a,b)})},pEc=function(a,b){if(!a.isDisposed()){_.OJ(a.context.Vc)||qEc(a.V,_.zb(a.context.Vc,_.Df,44));a.log("Corpus cache population complete.");var c=a.context.Lj;c.H("mrK8ic")?c.H("Gv4zef")||a.context.Rs.WEa():ryc(a.context.JD).then(function(d){d&&a.context.Rs.WEa()},function(){});uL(c,"rVezo");uL(c,"BNEDtc");a.impression&&(b=_.$J(_.Bfc,
b),xrc(Frc(a.impression),b),wrc(Frc(a.impression),!0),yrc(Frc(a.impression),Btc(a.V.Xl)),zrc(Frc(a.impression),a.context.Cf.Po()),a.impression.xj());a.dispose()}},nEc=function(a,b,c){a.impression&&(b=_.$J(_.Bfc,b),xrc(Frc(a.impression),b),a=Frc(a.impression),_.vj(a,3,c,void 0))};
jEc.prototype.handleError=function(a,b){b=void 0===b?!1:b;Ewc(this.context.Jz,null);var c=this.context.Lj;uL(c,"L6uQWd");nM(this.context).addCallback(function(d){d.jea()});uL(c,"mrK8ic");uL(c,"Gv4zef");uL(c,"rVezo");uL(c,"BNEDtc");this.context.eB.Hb("CachedCorpusType","partialCorpus");c=!!this.H.context.RQ||_.Q(this.O.H,45,!1);a&&!b&&c?(c=void 0,b="Corpus population failed: ",_.jI(a)?(c=a,b+=c.message):b+=String(a),this.log(b),a=new _.Uc(b,void 0,c),c=a.ug,_.kI(c,_.OJ(this.context.Vc)?3:1),_.lI(c,
6),_.Gp(c,b),_.Ip(c),this.context.dispatchEvent(new _.Vc(a))):this.log("Corpus population skipped");this.impression&&(wrc(Frc(this.impression),!1),this.impression.xj());this.dispose()};var oEc=function(a,b,c){return tDc(b,c).then(function(d){d.some(function(e){return b instanceof BL&&e.Tk()&&e.qc()===b.uc()})||wDc(a.V,b,d)},function(){return a.handleError(Error("zg"))})},lEc=function(a){if(_.aa._DRIVE_ivd){var b=new uDc(a.context,a.context.Dg);a.Ja(b);b.kh(_.aa._DRIVE_ivd)}else uL(a.context.Lj,"DEJoH")};
jEc.prototype.log=function(a){this.context.Be().info("drive.ds.sync.cache.CorpusCachePopulatorManager",a)};
var rEc=function(){yL.apply(this,arguments)};_.J(rEc,yL);_.g=rEc.prototype;_.g.xs=function(a){var b;if(b=yL.prototype.xs.call(this,a))a=a&&a.getItem()&&a.getItem().Sm(),b=!(!a||!_.P(a,3));return b};_.g.jd=function(){};_.g.WM=function(){return null};_.g.getType=function(){};_.g.NN=function(){};
var sEc=function(a,b){this.context=a;this.H=b;this.KQ={}},uEc=function(a,b){if(!_.ZI(b)){var c=_.oe(b,33);if(1===c.length)tEc(a,c[0],b);else{c=_.gl(b);if(1===c.length&&!_.Q(c[0],2,!1)){var d=c[0].Ya();c=a.H.get(d);if(!c){c=a.context.Cf.FI;var e=_.Qf(new _.Pf,310);c.DO([d],e).then(function(f){if((f=f[d])&&f.uc()){var h=f.getCapabilities();h&&_.Ne(h)&&(f=f.uc(),tEc(a,f,b))}else tEc(a,null,b)});return}if(c.getItem().uc()&&_.Ne(c.getItem().getCapabilities())){c=c.getItem().uc();tEc(a,c,b);return}}tEc(a,
null,b)}}},tEc=function(a,b,c){if(b){var d=a.H.get(b);if(d&&!hL(d.getItem()))return}d=b||"subscribed";a.KQ[d]||(a.KQ[d]=[]);a.KQ[d].push(c);b&&(nM(a.context).addCallback(function(e){e.Uva(b)}),vEc(a.context.NKa,b))},wEc=function(a,b){if(!_.ZI(b)){var c={},d;for(d in a.KQ){c.ZT=d;for(var e=0;e<a.KQ[c.ZT].length;e++)if(_.Aj(b,a.KQ[c.ZT][e])){_.wa(a.KQ[c.ZT],e);"subscribed"!==c.ZT&&nM(a.context).addCallback(function(f){return function(h){h.cIa(f.ZT,!1)}}(c));return}c={ZT:c.ZT}}}};
var xEc=function(){this.H=new Map;this.O=[];this.V=[]};
xEc.prototype.update=function(a){var b=this,c=a.id,d=a.O;a=a.H;var e=(d||a).getItem();FK(e)&&(a?(e=a.getItem().vf())&&_.x(e,1)&&(1===_.ve(e)||3===_.ve(e))&&(e=_.x(e,1),this.H.has(e)||this.H.set(e,new Set),this.H.get(e).add(c)):!a&&d&&this.H.forEach(function(f,h,k){f.delete(c)&&0===f.size&&k.delete(h)}));!a&&d&&this.H.has(c)?(this.H.get(c).forEach(function(f){b.O.push(f)}),this.H.delete(c)):this.H.has(c)&&a&&(!d||d&&!_.Aj(a.getItem(),d.getItem()))&&this.H.get(c).forEach(function(f){b.V.push(f)})};
var yEc=function(a){return a.V.filter(function(b){return!a.O.includes(b)})},zEc=function(a){a.O=[];a.V=[]};
var AEc=function(a,b){Iwc.call(this,a.clone(),b.Hm(),b.Vc,b.Be());this.context=b};_.J(AEc,Iwc);AEc.prototype.W=function(a){var b=new Map;a.Em().forEach(function(c){var d=a.clone();d=_.qj(d,2,[c]);b.set(c,d)});return b};AEc.prototype.V=function(a){a=a.zd()[0];this.context.Cf.Yk([a],1,void 0,!0,this.request.H())};AEc.prototype.ha=function(a){this.context.Cf.Yk([],1,a,!1,this.request.H())};AEc.prototype.ka=function(a){a=_.sI(_.iI(new _.hI,a));this.context.Cf.yo([a])};
var BEc=function(a,b,c,d){lM.call(this,a);this.Dg=b;this.request=c;this.Cd={};d&&this.Yk(d,!0)};_.J(BEc,lM);_.g=BEc.prototype;
_.g.refresh=function(){var a=this;this.Bp=6;var b=kL(this.context.Vc)!==kL(this.context.Vc,this.request.H()),c=[];this.request.Em().forEach(function(h){var k=a.Cd[h];k&&k.getItem().Uh()&&!b||c.push(h)});if(0===c.length)return this.Yk([],!1),_.Xh();var d=this.request.clone();_.qj(d,2,c);var e=new AEc(d,this.context),f=_.$h();this.context.Gj().Me()?(this.Nc.listen(this.context.Gj(),"ub",function(h){h.Me()||(a.Nc.Tc(a.context.Gj(),"ub"),a.AA(),e.kh().then(f.resolve,f.reject,f))}),this.Bp=0<_.Va(this.Cd)?
1:2):(this.context.uk().Me()&&(this.Bp=0<_.Va(this.Cd)?1:2),this.AA(),e.kh().then(f.resolve,f.reject,f));return f.promise};_.g.sia=function(a){return this.context.wm.equals(a,this.request)&&Zmc(_.TJ(this.Dg),a.H())};_.g.Zj=function(a){var b=new _.aK;b.Bc(this.Bp);b.mi(this.Ve());isc(b,_.Ta(this.Cd,function(c){return c?c.getItem():null}));TCc(this,a.H(),b.et());return b};_.g.resize=function(){};_.g.jd=function(){return this.request};_.g.Ad=function(){return _.Va(this.Cd)};
_.g.Pu=function(a){var b=this.xs(a.O),c=this.xs(a.H);if(b||c)c?(this.Cd[a.id]=a.H,a.H.count++,b&&a.O.count--):(this.Cd[a.id]=null,a.O.count--);else return!1;return!0};_.g.xs=function(a){return!!a&&this.request.Em().includes(a.getId())};
var pM=function(a,b,c,d,e){lM.call(this,a);var f=this;this.V=0;this.Cd=[];this.O=new Map;this.ka=null;this.incompleteSearch=!1;this.ha=[];this.W=[];this.suggestionSessionId=null;this.count=0;this.ma=this.Ba=null;this.ta=Date.now();this.request=b.clone();this.Fa=XK(this.context.wm,b);this.Tv=new jDc(this.context,this.request,!1,e);b=this.request.Kc()&&Ftc(this.request.Kc());var h=this.context.Kv;this.H=b?function(k,l){return h.compare(f.request,k,l)}:null;this.IDa=!b||!vtc(this.request)||_.FH(_.VH(a.Vc));
this.Ia=jvc(this.request);c&&this.Yk(c,!d);this.wa=_.Bj(a.Vc.Tf(),16,36E5);_.BJ(this.request)&&this.Nc.listen(this.context.Aha,"Eb",this.Ka);_.df(this,function(){_.ca(f.Tv);f.clear()})};_.J(pM,lM);pM.prototype.refresh=function(){this.log(this.WM()+" | Refresh called, currently "+this.Ad()+" items cached");return CEc(this,!1)};
var CEc=function(a,b){a.Bp=6;if(_.Q(a.request,48,!1))return a.Bp=1,_.Xh();if(_.BJ(a.request)){var c=DEc,d=a.context.Aha.H;d=Math.max(Date.now()-d,a.wa);c(a,Math.min(d,2592E5))}return EEc(a,b)};pM.prototype.initialize=function(){return this.count>=this.request.vi()||1===this.Bp?_.Xh():this.refresh()};pM.prototype.clear=function(){FEc(this)};
var FEc=function(a){a.Cd.forEach(function(b){b.count--});a.count=0;a.Cd=[];a.O.clear()},DEc=function(a,b){_.aa.clearTimeout(a.Ba);a.Ba=_.aa.setTimeout(function(){return CEc(a,!0)},b)};pM.prototype.Ka=function(){Date.now()-this.ta>this.wa&&DEc(this,0)};
var EEc=function(a,b){a.Tv&&(a.Nc.Tc(a.Tv,"Bb",a.gta),a.Nc.Tc(a.Tv,"Cb",a.JNa),a.Tv.dispose());var c=a.request.se();c&&_.Rf(c,!1);a.Tv=new jDc(a.context,a.request,b);a.V=0;a.Nc.listen(a.Tv,"Bb",function(){return a.gta(a.Tv.ha)});a.Nc.listen(a.Tv,"Cb",a.JNa);return a.Qca()};
pM.prototype.Qca=function(){var a=this,b=_.$h();this.context.Gj().Me()?this.Nc.listen(this.context.Gj(),"ub",function(c){c.Me()||(a.Nc.Tc(a.context.Gj(),"ub"),GEc(a,b))}):this.context.uk().Me()?this.Nc.Xc(this.context.uk(),[_.OB.LL,_.OB.JU],function(){GEc(a,b)}):GEc(this,b);return b.promise};var GEc=function(a,b){a.AA();_.uka(hDc(a.Tv,a.request.vi()+a.V).Uf(b.resolve,b.reject,b),function(){return a.ta=Date.now()})};_.g=pM.prototype;
_.g.resize=function(a){this.log(this.WM()+" | Resize called");var b=0;for(var c=_.m(new Set([].concat(_.ec(this.Uy)))),d=c.next();!d.done;d=c.next())d=d.value,d=VCc(this.context).gla(d),b=Math.max(b,d.vi());_.BJ(this.request)?(this.request.Fi(b),2!==this.Ve()&&!this.Tv.O&&(b>this.count||a)?this.refresh():this.BJ()):this.request.vi()!==b&&(this.request.Fi(b),b>this.count?this.Qca():this.BJ())};_.g.jd=function(){return this.request};_.g.WM=function(){return this.Fa};_.g.Ad=function(){return this.Cd.length};
_.g.sia=function(a){return this.context.wm.equals(a,this.request)};
_.g.Zj=function(a){var b=a.vi(),c,d=!1;if(_.$I(this.request)){var e=this.Cd.slice();var f=this.W.slice(0,b);if(this.W.length>b){var h=f.map(function(l){return l.getId()});for(c=0;c<e.length;c++){var k=e[c];d=_.Fk(k.getItem()).filter(function(l){return h.includes(_.w(l,_.nk,1).getId())});k=k.clone();cnc(k.getItem(),d);e[c]=k}e=e.filter(function(l){return _.Fk(l.getItem()).length})}d=lnc(e);c=new _.bK;_.u(c,4,!1);esc(c,f)}else e=this.Cd.slice(0,b),c=new _.UH,Vqc(c,b<this.Cd.length||!(this.context.Gj().Me()||
this.context.uk().Me())&&1!==this.Bp),_.E(c,7,this.ka),_.u(c,8,this.incompleteSearch),_.qj(c,18,this.ha),d=lnc(e);e=Wnc(e);TCc(this,a.H(),e);c.cB(e);c.Bc(d?6:this.pxa(b));c.mi(this.Ve());c.MP(this.suggestionSessionId);return c};_.g.pxa=function(a){return 1===this.Bp||a<=this.count?1:this.context.Gj().Me()||this.context.uk().Me()?0<this.Cd.length?1:2:6};_.g.gta=function(a){this.ka=a.W;this.incompleteSearch=a.incompleteSearch;this.ha=a.QAa();this.W=a.V;this.suggestionSessionId=a.Wf()};
_.g.JNa=function(){var a=this.request.vi()-this.count;0<a&&fDc(this.Tv)&&(this.V+=a,this.Qca())};_.g.Yk=function(a,b){_.BJ(this.request)&&FEc(this);var c=!1;a=_.m(a);for(var d=a.next();!d.done;d=a.next())d=vL(d.value),c=this.Pu(d,!0)||c;b||(1!==this.Bp&&(c=!0),this.Bp=1);if(a=this.H){a:{a=this.Cd;d=this.H||_.Ha;for(var e=1;e<a.length;e++)if(0<d(a[e-1],a[e])){a=!1;break a}a=!0}a=!a}a&&(this.jp("ViewCache unsorted after import"),this.context.Kv.sort(this.request,this.Cd));c&&(this.kY(),HEc(this,b))};
var HEc=function(a,b){_.gl(a.request).length&&a.Cd.length&&a.context.p_.then(function(c){var d=UK(a.context.jk(),106024,a.ma);if(d){var e=_.gl(a.request)[0].Ya(),f=_.w(_.ZJ(d),orc,18);if(!f){f=new orc;var h=_.ZJ(d);_.E(h,18,f)}f=_.u(f,1,!b);c=_.u(f,2,c===e).Yv(a.Cd.length);_.u(c,4,a.context.Cf.Po());a.ma=d;d.xj()}})};_.g=pM.prototype;
_.g.Pu=function(a,b){var c=this.O.get(a.id),d=!!c,e=this.xs(a.H,b),f=a.O;c&&(d?a.O&&a.O!==c&&this.jp("Updating different wrapper from the existing one"):this.jp("Updating existing item but old wrapper did not match"),f=c,d=!0);if(d||e)if(d)e?this.CLa(f,a.H):(this.rJ(f),_.BJ(this.request)&&DEc(this,0));else{if(_.BJ(this.request)&&!b)return!1;this.XR(a.H)}else return!1;return!0};_.g.XR=function(a){this.H?Pmc(this.Cd,a,this.H):this.Cd.push(a);a.count++;IEc(a)&&this.count++;this.O.set(a.getId(),a)};
_.g.rJ=function(a){if(this.H){var b=this.Cd,c=_.Ia(b,a,this.H);0<=c&&_.wa(b,c)}else _.xa(this.Cd,a);a.count--;IEc(a)&&this.count--;this.O.delete(a.getId())};_.g.xza=function(a){return this.H?_.Ia(this.Cd,a,this.H):_.oa(this.Cd,a)};_.g.CLa=function(a,b){this.H&&0!==this.H(a,b)?(this.rJ(a),this.XR(b)):(this.Cd[this.xza(a)]=b,b.count++,IEc(b)&&this.count++,a.count--,IEc(a)&&this.count--,this.O.delete(a.getId()),this.O.set(b.getId(),b))};
_.g.xs=function(a,b){if(!a)return!1;if(this.IDa&&!_.BJ(this.request)){if(b)return!0;if(!this.Ia){var c=a.getId();b=!!this.Cd.find(function(e){return c===e.getId()},this);a=iL(this.context.xt,this.request,a.getItem());return b&&a}}if(!iL(this.context.xt,this.request,a.getItem()))return!1;var d=1.2*this.request.vi();if(1===this.Bp||!this.H||itc(a.V,2)||this.count<d||b||snc(a.getItem()))return!0;b=0===this.Cd.length?null:this.Cd[this.Cd.length-1];return!!b&&0>=this.H(a,b)};
_.g.BJ=function(){this.log(this.WM()+" | Evict called");if(1!==this.Bp&&!this.context.Gj().Me()&&!this.context.uk().Me()){var a=1.2*this.request.vi();if(!(a>=this.count||this.Tv&&a>=this.Tv.$b())){a=this.count-this.request.vi();for(var b=this.Cd.length-1;0<=b&&0<a;b--){var c=this.Cd[b];itc(c.V,2)||snc(c.getItem())||(c.count--,IEc(c)&&this.count--,this.O.delete(c.getId()),_.wa(this.Cd,b),a--)}EEc(this,!1)}}};
_.g.jp=function(a){var b=new _.Tc;_.kI(b,2);_.lI(b,6);_.Ip(b);this.context.dispatchEvent(new _.Vc(new _.Uc(a,b)))};var IEc=function(a){return!itc(a.V,2)&&3!==a.getItem().Cv()};pM.prototype.log=function(a,b){this.context.Be().log("drive.ds.sync.cache.ViewCache",a,void 0===b?"info":b)};pM.prototype.NSa=function(a){var b=this,c=_.gl(this.request);c.length&&(c=c.some(function(d){return(d=b.context.Cf.Xl.H(d.Ya()))&&_.P(d,108)}),xuc(this.context.ita,a,c))};pM.prototype.MSa=function(){this.BJ()};
pM.prototype.o_a=function(a){return 1!==this.Bp&&a.vi()>this.count&&this.Tv.O};
var JEc=function(a,b,c,d,e,f){_.L.call(this);this.V=a;this.ka=b;this.H=c;this.W=d;this.O=e;this.ha=f;this.Nc=new _.nf(this);this.Ja(this.Nc)};_.J(JEc,_.L);
var MEc=function(a,b,c){var d,e,f,h;if(null===(d=_.AJ(a.H))||void 0===d?0:_.Q(d,15,!1))if(null===(e=a.O.get(b))||void 0===e||!e.H){if(c&&(null===(h=null===(f=a.H)||void 0===f?void 0:_.AJ(f))||void 0===h?0:_.Q(h,19,!1)))return KEc(a,b);void 0!==c&&LEc(a,b,!c)}return Promise.resolve([])},KEc=function(a,b){var c=_.Jfa(new _.Df,[(new _.Bd).Hb(b)]),d=new mM(a.V,a.ka,a.H,a.W,a.ha,c,!1,!0);a.log("Paginating to cache more items for "+b);var e=new _.dn;a.Nc.listen(d,"zb",function(f){e.resolve(f.changes)});
hDc(d,1E3).then(function(){e.resolve([]);LEc(a,b,!fDc(d))},function(f){e.reject(f);a.log("Error trying to backfill "+b+" "+f)});return e.promise},LEc=function(a,b,c){var d;a.log("Setting hasAllImmediateChildren for "+b+" to "+c);null===(d=a.O.get(b))||void 0===d?void 0:ktc(d,c)};JEc.prototype.log=function(a,b){this.V.log("drive.ds.sync.ProgressiveSyncer",a,void 0===b?"info":b)};
var rM=function(a,b){var c;_.L.call(this);var d=this;this.V={};this.ha=new xEc;this.Nc=new _.nf(this);this.Ja(this.Nc);this.context=a;this.Dg=b;this.H=this.context.Vc;this.Mt=new nvc(a.wm,a.Be());this.context.jk().W.H=this.Mt;if(null===(c=_.AJ(this.H))||void 0===c?0:_.Q(c,15,!1))b=new fvc(a.xt,a.Kv),this.Mt.add(b),a.Wfa.promise.then(function(){var e,f,h,k;null===(f=null===(e=d.Mt)||void 0===e?void 0:e.O)||void 0===f?void 0:wL(f,!(null===(k=null===(h=d.Mt)||void 0===h?void 0:h.H)||void 0===k?0:k.CD))});
this.O=new utc(a.p_,a.xt,a.Kv);_.P(a.Vc,60)&&(this.Ba=new rEc(a.xt,a.Kv));this.W=new otc(a.Be(),_.TJ(this.Dg));NEc(this,_.oe(this.H,28));this.Xl=new xtc(this.Dg,this.context.wm,this.O,this.W);this.context.jk().W.V=this.Xl;this.FI=new lDc(this.context,this.Dg,this.V,this.O);this.zHa=new sEc(this.context,this.O);this.ma=new jEc(this.context,this);_.df(this.ma,function(){d.ma=null});this.wa=_.Agc(_.TJ(this.Dg),OEc);tL(this.context.Lj,["NSockf"],function(){return d.initialize()});tL(this.context.Lj,["NSockf",
"jroI5d"],function(){if(_.w(d.H,_.Bk,12))var e=_.w(d.H,_.Bk,12);else{e=_.shc(_.uhc(new _.nk,_.MJ(_.VH(d.H))),!0);e=_.u(e,6,1);var f=_.y(_.VH(d.H),6,"");f&&e.Nb(f);e=_.lVb(_.Chc(_.Dhc(_.UF((new _.Bk).Nb(d.context.ou()).setTitle(_.y(d.H,38,"My Drive")),"application/vnd.google-apps.folder").Mn(!1),e),[e]),1);e=_.u(e,29,!0);e=_.u(e,63,!0);f=new _.tk;f=_.u(f,1,_.Q(d.H,6,!0));f=_.u(f,2,!1);f=_.u(f,3,!1);f=_.u(f,4,!1);f=_.u(f,5,!1);f=_.u(f,6,!0);f=_.u(f,7,!0);f=_.u(f,10,!1);f=_.u(f,11,!1);f=_.vhc(f,!1);
f=_.u(f,12,!1);f=_.u(f,8,!1);f=_.u(f,9,!1);f=_.u(f,21,!1);e=_.IJ(e,f)}d.Yk([e],1);uL(d.context.Lj,"hVFf7")});this.ka=_.$h();tL(this.context.Lj,["BNEDtc"],function(){d.ka.resolve()});this.Fq=new Mvc(this.H,this.context.Be(),a.Hm(),this.context.jk(),this.context.YX.promise);_.dI(this.H)&&this.Nc.listen(this.Fq,"yb",this.ta);this.KNa=new _.Kjc(this.H,this.Xl);this.Fa=new JEc(a.Be(),a.Hm(),a.Vc,this.Xl,this.O,a.dispatchEvent)};_.J(rM,_.L);
rM.prototype.ta=function(a){var b=a.getPeople();this.log("Handling PeopleCache updated with "+b.length+".");var c=new Set;a=new Set;b=_.m(b);for(var d=b.next();!d.done;d=b.next()){d=_.x(d.value,1);for(var e=this.Fq.Id(d),f=_.m(e),h=f.next();!h.done;h=f.next())c.add(h.value);if(e=h=e[e.length-1])d=this.Fq.H.get(d),e=!(!d||1!==d.Ve()&&4!==d.Ve()||3===wvc(d));e&&a.add(h)}b=[];c=_.m(c);for(h=c.next();!h.done;h=c.next())h=h.value,(d=this.O.get(h))?(h=d.getItem().clone(),PEc(this,h),b.push(cvc(d,new gL(h,
void 0,1)))):this.log("b/154479164 Unexpected missing wrapper for "+h+".","warning");QEc(this,b,[]);this.context.Rs.update(6);a.size&&this.FI.DO([].concat(_.ec(a)),_.Qf(new _.Pf,311))};rM.prototype.initialize=function(){this.ma.kh()};
rM.prototype.Zh=function(a,b){if(b instanceof _.Df)b=jL(this.context.wm,b),REc(this,b.H()),uEc(this.zHa,b),b=SEc(this,b),b.cache.Zh(a);else if(b instanceof _.NF)b=TEc(this,b),REc(this,b.H()),b=UEc(this,b),b.cache.Zh(a);else if(b instanceof _.GH){var c=oM(this,b),d=this.V[c];d?(3==d.VV()?(this.log(c+" | TeamDriveQueryRequest backed by refreshing existing cache"),d.refresh()):this.log(c+" | TeamDriveQueryRequest backed by existing view cache"),b={cache:d,Iv:!1}):(this.log(c+" | ItemQueryRequest backed by new cache"),
d=new FDc(this.context,this.Dg,b),d.refresh().mg(_.ig),hEc(this,c,d),b={cache:d,Iv:!0});b.cache.Zh(a)}else if(b instanceof _.SF)c=b.H(),d=this.W,ptc(d,d.H,d.O,c),b=UEc(this,b),b.cache.Zh(a);else throw Error("Ag");return b.Iv};rM.prototype.$j=function(a,b){if(b instanceof _.Df)b=jL(this.context.wm,b),wEc(this.zHa,b);else if(b instanceof _.NF)b=TEc(this,b);else if(!(b instanceof _.GH||b instanceof _.SF))throw Error("Ag");b=oM(this,b);var c=this.V[b];c&&(c.$j(a),c.isDisposed()&&delete this.V[b])};
var oM=function(a,b){return XK(a.context.wm,b,2)},SEc=function(a,b){var c,d,e=oM(a,b),f=a.V[e];if(f)return 3==f.VV()?(a.log(e+" | ItemQueryRequest backed by refreshing existing cache"),f.refresh()):a.log(e+" | ItemQueryRequest backed by existing view cache"),{cache:f,Iv:!1};var h=[],k=5;f=!1;for(var l=ovc(a.Mt),p=0;p<l.length;p++){var q=l[p];k=q.OE(b);if(5!=k){l=1==k?void 0:b.vi();if((null===(c=_.AJ(a.H))||void 0===c?0:_.Q(c,18,!1))&&q instanceof fvc){f=!0;k=5;a.log("Partial Caching dark launch: Skipped returning from the MyDrive cache for "+
(e+"."));break}h=q.zla(b,l);var r=q.Ve();var v=q instanceof xL?q.Fy():"";a.log(e+" | ItemQueryRequest backed by "+q.getType()+" | size "+(q.Ad()+" | initial "+h.length));break}}5==k&&a.log(e+" | ItemQueryRequest backed by new cache");if(a.context.Gj().Me()||a.context.uk().Me())h=h.concat(a.O.query(b,1)),_.Ga(h,void 0,function(A){return A.getId()}),k=(k=a.Mt.H)&&k.A8&&5!=k.OE(b)?k.OE(b):6,a.log("Offline: Populate with "+h.length+" initial items(s)");var z=new pM(a.context,b,h,1==k,v);r&&z.mi(r);z.Yk(a.O.query(b,
2),1!=k);r=z.initialize();(null===(d=_.AJ(a.H))||void 0===d?0:_.Q(d,18,!1))&&f&&r.then(function(){return nM(a.context)}).then(function(A){return A.jYa().wVb()}).then(function(){var A,B;if(z.isDisposed())a.log("Partial Caching dark launch: ViewCache is disposed skipping match check for "+e);else{var F=z.Zj(b).zd().map(function(T){return T.getId()}),G=(null===(B=null===(A=a.Mt)||void 0===A?void 0:A.O)||void 0===B?void 0:B.Zj(b,b.vi()).zd().map(function(T){return T.getId()}))||[],M=_.La(F.sort(),G.sort()),
N=UK(a.context.jk(),106030);N&&(trc(src(rrc(Jrc(N),F.length),G.length),M),N.xj());M?a.log("Partial Caching dark launch: Network/Cache match for "+e):a.log("Partial Caching dark launch: Network/Cache mismatch for "+e+("\nNetwork: "+F.length+".  Cache: ")+(G.length+".\nNetwork: ")+(F+".\nCache: ")+(G+"."),"warning")}},function(){a.log("Partial Caching dark launch: Error waiting for changelog processing.Won't be checking match for "+e,"warning")});r.mg(function(A){A=_.mI(A);_.Ip(A);a.context.dispatchEvent(new _.Vc(new _.Uc("Error during view cache init",
A)))});hEc(a,e,z);return{cache:z,Iv:!0}},UEc=function(a,b){var c=oM(a,b),d=!1,e=a.V[c];if(e&&e.sia(b))a.log("FindByIdsRequest backed by existing query cache: "+c);else{var f=a.O.getAll(b.Em()),h;b instanceof _.NF?h=new bDc(a.context,a.Dg,b,f):h=new BEc(a.context,a.Dg,b,f);f.length&&h.mi(8);h.refresh().mg(_.ig);b=h;d=!0;hEc(a,c,b);e?(VEc(e,b),e=b,a.log("FindByIdsRequest backed by recreated query cache: "+c)):(e=b,a.log("FindByIdsRequest backed by new query cache: "+c+" with "+(f.length+" initial items.")))}return{cache:e,
Iv:d}};rM.prototype.vW=function(){return Object.values(this.V).filter(function(a){return a.jd()instanceof _.GH})};
rM.prototype.S3a=function(a){for(var b=_.Qf(new _.Pf,309),c=[],d=_.m(Object.entries(this.W.items)),e=d.next();!e.done;e=d.next()){var f=_.m(e.value);e=f.next().value;f=f.next().value;f=_.m(Object.entries(f));for(var h=f.next();!h.done;h=f.next()){h=_.m(h.value);var k=h.next().value;h.next();if(k===a){c.push(Number(e));break}}}c.length&&(d=Otc(this.context.wm,c,!0),this.log("Refreshing "+a+" for secondary fields: "+d+"."),this.FI.DO([a],b,!1,c))};
var SCc=function(a,b,c){c&&c.length&&rtc(a.W,b,c);_.dI(a.H)&&Wvc(a.Fq,b)},wDc=function(a,b,c){var d,e,f;if(b instanceof FDc){var h=oM(a,b.jd());if(a.V[h]){a.log(h+" | Cache already exists, ignoring persisted data");return}}b instanceof dvc&&a.Mt.remove(b);h=new Map;var k=a.O.zy(),l=new Map(k);k=[];for(var p=_.m(b.zy()),q=p.next();!q.done;q=p.next()){q=q.value;var r=q.getId(),v=a.O.get(r);if(v){var z=v.getItem().Cv();(null===(d=_.AJ(a.H))||void 0===d?0:_.Q(d,15,!1))&&!0===q.H&&ktc(v,q.H);3==z||4==
z?h.set(q.getId(),q.getItem()):v!=q&&k.push(new bvc(q.getId(),q,v));l.delete(r)}else{r=vL(q);if(null===(e=_.AJ(a.H))||void 0===e?0:_.Q(e,15,!1))null===(f=a.Mt.O)||void 0===f?void 0:f.update(r);a.O.update(r);a.ha.update(r);_.dI(a.H)&&a.Fq.oP(r)}_.dI(a.H)&&PEc(a,q.getItem())}l=_.m(l.values());for(q=l.next();!q.done;q=l.next())k.push(vL(q.value));a.log("Applying "+k.length+" updates to newly added CorpusCache");k=_.m(k);for(l=k.next();!l.done;l=k.next())b.update(l.value);b instanceof FDc?(k=oM(a,b.jd()),
hEc(a,k,b)):a.Mt.add(b);k=[];h=_.m(h.values());for(l=h.next();!l.done;l=h.next())l=l.value,p=new _.hI,_.iI(p,l.getId()),p.setItem(l),k.push(p);a.yo(k);a.log("Merged cache: "+b.getType());b instanceof BL&&c.forEach(function(A){a.context.jta.propagate(A)});b instanceof xL&&WEc(a,b.jd(),!b.H);a.context.Rs.update(3)},WEc=function(a,b,c){var d;(null===(d=_.AJ(a.H))||void 0===d?0:_.Q(d,15,!1))&&(b=Wtc(b))&&MEc(a.Fa,b,c).then(function(e){a.yo(e)})},VEc=function(a,b){(new Set([].concat(_.ec(a.Uy)))).forEach(function(c){b.Zh(c);
a.$j(c)})};
rM.prototype.Yk=function(a,b,c,d,e){var f=this;this.log("Importing "+a.length+" items");e||(e=c?[].concat(_.ec(c.H().filter(function(A){return!_.TJ(f.Dg).includes(A)}))):[]);c&&c instanceof _.Df&&_.BJ(c)&&XEc(this,a,c);for(var h=[],k=[],l=0;l<a.length;l++){var p=a[l],q=new gL(p,void 0,b),r=this.O.get(p.getId()),v=r?r.getItem():null,z=YEc(this,r,q);if(null!=z)q.kz(z),ZEc(this,v,p),rnc(p),p=mtc(p,v,e),q.setItem(p);else if(null!=r)q=r,p=v;else continue;_.dI(this.H)&&PEc(this,p);!r||$Ec(this,v,p,e)?(k.push(cvc(r,
q)),h.push(q)):h.push(r)}a=null;c&&(c instanceof _.Df&&(WEc(this,c,d),(a=rvc(this.Mt,c))&&a.Yk(h,!!d)),c=oM(this,c),(a=this.V[c])&&a.Yk(h,!!d));0<k.length&&(_.dI(this.H)&&k.forEach(function(A){return f.Fq.oP(A)}),QEc(this,k,e,a?[a]:[]),aFc(this,h));VCc(this.context).A9()};
var PEc=function(a,b){Yvc(a.Fq,b)||5!=b.Cv()||_.Hhc(b,1)},$Ec=function(a,b,c,d){(b=b?_.wb(b.clone(),82):null)&&SCc(a,[b],d);c=_.wb(c.clone(),82);SCc(a,[c],[]);return!_.Aj(b,c)},XEc=function(a,b,c){bFc(a,b,c);b.forEach(function(d,e){var f=a.Xl.H(d.getId());f&&(EK(f,d,[1002]),EK(f,d,[1003]),EK(f,d,[1005]),b[e]=f);_.ZI(c)&&0<_.oe(c,33).length&&_.Ihc(d,_.oe(c,33)[0])})},bFc=function(a,b,c){var d;_.ZI(c)?d="quick access":_.$I(c)?d="people predict":_.aJ(c)&&(d="drive priority");c=b.map(function(e){return e.getId()}).join(", ");
a.log("Got "+b.length+" ItemSuggest items for "+d+": "+c)},FCc=function(a,b){var c=new Map;b=_.m(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c.get(d.V)||c.set(d.V,[]),c.get(d.V).push(d);c=_.m(c);for(b=c.next();!b.done;b=c.next())d=_.m(b.value),b=d.next().value,d=d.next().value,a.Yk(Wnc(d),b)};rM.prototype.dma=function(a){this.KNa.dma(a)};
rM.prototype.yo=function(a){for(var b=this,c=[],d=0;d<a.length;d++){var e=a[d],f=e.Tk()?null:e.getItem(),h=e.qc(),k=(h=this.O.get(h))?h.getItem():null,l=null;if(f){l=new gL(f,void 0,void 0,_.x(e,1)||void 0);var p=YEc(this,h,l);if(null==p)continue;l.kz(p);ZEc(this,k,f);_.Q(e,5,!1)&&Umc(f,inc);rnc(f);f=mtc(f,k);l.setItem(f);_.dI(this.H)&&PEc(this,f)}if(k&&!f||f&&$Ec(this,k,f,[]))this.context.NKa.My(e),c.push(cvc(h,l))}_.dI(this.H)&&c.forEach(function(q){return b.Fq.oP(q)});QEc(this,c,[])};
var ZEc=function(a,b,c){b&&!c.Sm()&&EK(c,b,a.wa);var d=b?b.vf():null,e=c.vf();e=e?_.te(e):null;d&&e&&ZEc(a,_.te(d),e);b&&!_.Ek(c)&&EK(c,b,[1002]);b&&!_.Fk(c).length&&EK(c,b,[1003]);b&&!_.Gk(c).length&&EK(c,b,[1005]);b&&null==_.x(c,77)&&EK(c,b,[71]);b&&null==_.x(c,79)&&EK(c,b,[73]);b&&_.P(b,31)&&!_.P(c,31)&&(Umc(c,inc),a.log("Cleared Item Suggest data for "+b.getId()+"."))};
rM.prototype.HB=function(a,b){if(a instanceof _.Df||a instanceof _.NF||a instanceof _.GH)a=oM(this,a),(a=this.V[a])&&a.jY(b);else throw Error("Ag");};var YEc=function(a,b,c){var d=c.getItem();if(twc(a.context.Xfa,d))return null;if(b){a=b.V;var e=c.V;if(!(0<=e?!a||a<=e:1))return null;a=b.getItem();if(3!=a.Cv()&&!hL(a)&&!hL(d)&&a.uc()==d.uc())if(a.jj()&&d.jj()){if(a.jj()>d.jj())return null}else if(b.O&&c.O){if(b.O>c.O)return null}else if(a.Iq()>d.Iq())return null}return jtc(b&&b.V,c.V)};
rM.prototype.iI=function(a,b){(a=this.O.get(a))&&a.kz(jtc(a.V,b))};
var QEc=function(a,b,c,d){d=void 0===d?[]:d;var e;if(null===(e=_.AJ(a.H))||void 0===e?0:_.Q(e,15,!1))for(var f=_.m(b),h=f.next();!h.done;h=f.next())h=h.value,h.O&&h.H&&ktc(h.H,h.O.H);h=_.m(b);for(f=h.next();!f.done;f=h.next())f=f.value,a.W.update(f.id,f.H?f.H.getItem():null,c);c=Object.values(a.V);d=_.m(d);for(h=d.next();!h.done;h=d.next())_.xa(c,h.value);d=_.m(c);for(h=d.next();!h.done;h=d.next())UCc(h.value,b);d=new Set;h=ovc(a.Mt);c=_.m(h);for(h=c.next();!h.done;h=c.next()){f=h.value;var k=_.m(b);
for(h=k.next();!h.done;h=k.next())h=h.value,f.update(h)&&d.add(h.id);f instanceof BL&&f.Ad()>=1.2*f.limit&&cFc(a.context.NKa,f.uc(),!1)}b=_.m(b);for(h=b.next();!h.done;h=b.next())h=h.value,_.P(a.H,60)&&a.Ba.update(h),a.O.update(h),a.O.get(h.id)||a.W.BJ(h.id),a.ha.update(h);d.size&&a.context.Rs.Qna(d.size);dFc(a)},dFc=function(a){var b=a.ha.O.slice(0),c=yEc(a.ha);zEc(a.ha);if(b.length){a.log("Refreshing shortcuts with unknown targets: "+b.join(", "));var d=new _.Pf;_.Qf(d,308);a.FI.DO(b,d,!0)}if(c.length){a.log("Updating locally stale shortcuts: "+
c.join(", "));b=ytc(a.Xl,c);var e=[];Object.values(b).forEach(function(f){var h=f.getItem().vf(),k=a.Xl.H(_.x(h,1));k&&(_.E(h,5,k),_.u(h,4,1),e.push(f))});FCc(a,e)}},eFc=function(a){VCc(a.context).A9();a.O.BJ()},TEc=function(a,b){_.Ka(b.H());var c=_.oa(b.Em(),"root");if(0>c)return b;b=b.clone();b.Em()[c]=a.context.ou();return b},NEc=function(a,b){var c;null!==(c=_.AJ(a.H))&&void 0!==c&&_.Q(c,1,!1)||(b=Erc(a.Dg,b),a=a.W,ptc(a,a.items,a.fields,b))},REc=function(a,b){var c;if(null===(c=_.AJ(a.H))||void 0===
c?0:_.Q(c,1,!1))b=Erc(a.Dg,b),a=a.W,ptc(a,a.items,a.fields,b)},aFc=function(a,b){a.ka.promise.then(function(){var c=b.filter(function(e){return 4==e.getItem().Cv()});if(c.length){c=c.map(function(e){return e.getId()});a.log("Refreshing "+c.length+" partial items. "+c);var d=_.Qf(new _.Pf,311);a.FI.DO(c,d)}})},qEc=function(a,b){a.ka.promise.then(function(){for(var c={},d=_.m(b),e=d.next();!e.done;c={Q5:c.Q5,ora:c.ora},e=d.next()){e=e.value;if(rvc(a.Mt,e))break;c.Q5=new xL(a.context.xt,a.context.Kv,
a.context.wm,e);e=new qDc(a.context,c.Q5,e);c.ora=GL(a.context.Jz,null);_.ai(e.kh().then(function(f){return function(){tDc(f.Q5,f.ora).then(function(h){wDc(a,f.Q5,h)})}}(c)),function(){Ewc(a.context.Jz,null)})}})};rM.prototype.Po=function(){var a=this.Mt.H;return a&&a.CD?1:2};rM.prototype.log=function(a,b){this.context.Be().log("drive.ds.sync.cache.CacheManager",a,void 0===b?"info":b)};var hEc=function(a,b,c){a.V[b]=c;a.log(b+" | Set cache with "+c.Ad()+" items")},OEc=[50];
var gFc=function(a){_.L.call(this);var b=this;this.context=a;this.H=[];this.V=new _.Kk;this.O=new Map;this.ka=-1;this.ha=0;var c=_.$h();this.wa=c.promise;syc(this.context.JD).then(function(d){b.H=d||[];c.resolve();fFc(b)},function(){return c.resolve()});tL(this.context.Lj,["rVezo"],(0,_.K)(this.W,this))};_.J(gFc,_.L);
var vEc=function(a,b){_.Q(a.context.Vc,46,!1)&&a.wa.then(function(){if(a.H[0]!==b){_.xa(a.H,b);for(ntc(a.context.Cf.Xl.H(b))?a.log(b,"Hidden TD, not tracking in recency list"):_.ua(a.H,b,0);a.H.length>2*_.Bj(a.context.Vc,47,5);)a.H.pop();a.context.JD.set(myc,a.H)}a.context.Cf.Mt.vW().length+a.O.size<_.Bj(a.context.Vc,47,5)&&(fFc(a),a.W())})},hFc=function(a,b){_.xa(a.H,b)&&a.context.JD.set(myc,a.H)};
gFc.prototype.My=function(a){this.context.jta.propagate(a);if(hL(a)){var b=a.uc();a.Tk()?cFc(this,b,!0):(a=a.getItem(),ntc(a)&&hFc(this,b))}};var cFc=function(a,b,c){hFc(a,b);a.V.contains(b)&&a.V.remove(b);var d=a.O.get(b);d&&d.dispose();a.O.delete(b);d=a.context.Cf.Mt;for(var e=d.vW(),f=0;f<e.length;f++){var h=e[f];if(h.uc()===b){a.log(b,"Cache removed");d.remove(h);a.context.Rs.update(3);break}}nM(a.context).addCallback(function(k){k.cIa(b,c)});a.W()};
gFc.prototype.W=function(){if(this.context.Lj.H("rVezo")){var a=this.context.Cf.Mt;iFc(this);for(var b={};this.V.$b()&&!(this.ha>=_.Bj(this.context.Vc,47,5));){var c=_.Lk(this.V);this.ha++;qvc(a,c)||this.O.has(c)||(this.O.set(c,null),b.qfa=new _.Ygc,_.u(b.qfa,1,c),this.context.Hm().then(function(d){return function(e){return e.Oe(d.qfa)}}(b)).then(this.ta.bind(this,c),this.ma.bind(this,c)));b={qfa:b.qfa}}}};
var fFc=function(a){a.H&&a.H.length&&(a.ha=0,a.V.clear(),a.H.forEach(function(b){a.V.enqueue(b)}))},iFc=function(a){_.aa.clearTimeout(a.ka);a.ka=_.aa.setTimeout(function(){fFc(a);a.W()},36E5)};gFc.prototype.ta=function(a,b){var c=_.x(b,1);c&&c>_.Bj(this.context.Vc,48,1E3)?(this.log(a,"Too large to backfill: "+_.x(b,1)),jFc(this,a,!1)):kFc(this,a)};
gFc.prototype.ma=function(a,b){(b=_.mI(b).Uj())&&4===b?(this.log(a,"Non-existent or inaccessible, removing from cache"),a=_.sI(_.fgc(_.iI(new _.hI,a),a)),this.context.Cf.yo([a])):kFc(this,a)};
var kFc=function(a,b){var c=new BL(a.context.xt,a.context.Kv,b),d=c.jd().clone();d.Fi(_.Bj(a.context.Vc,48,1E3));d=new qDc(a.context,c,d);a.O.set(b,d);a.log(b,"Backfill started");var e=GL(a.context.Jz,b);nM(a.context).addCallback(function(f){f.Uva(b)});_.ai(d.kh().then(function(){lFc(a,b,c,e)},function(){a.log(b,"Backfill failed");a.ha--;jFc(a,b,!0)}),function(){Ewc(a.context.Jz,b)})},lFc=function(a,b,c,d){c.CD?(c.BX(),tDc(c,d).then(function(e){a.log(b,"Backfill complete, size: "+c.Ad());wDc(a.context.Cf,
c,e);jFc(a,b,!1)},function(){a.log(b,"Backfill changes failed");jFc(a,b,!0)})):(a.log(b,"Backfill exceeded size limit"),jFc(a,b,!0))},jFc=function(a,b,c){var d=a.O.get(b);d&&d.dispose();a.O.delete(b);c&&nM(a.context).addCallback(function(e){e.cIa(b,!1)});a.W();0<a.O.size||a.context.Cf.Mt.vW().map(function(e){return e.uc()}).filter(function(e){return!a.H.includes(e)}).forEach(function(e){cFc(a,e,!0)})};
gFc.prototype.log=function(a,b){this.context.Be().info("drive.ds.sync.cache.TeamDriveCacheManager",a+" | "+b)};
var mFc=function(){_.L.apply(this,arguments)};_.J(mFc,_.L);
var pFc=function(a,b){b=nFc(b);var c=a.getItem(),d=oFc(c.getCapabilities());b.s4.forEach(function(e){_.lVb(e.getItem(),c.xp());_.IJ(e.getItem(),d.clone())});return b},sFc=function(a,b,c){var d=qFc(c);c=c.find(function(e){return e.getId()===b.getId()});c={yK:c?c:new gL(b),children:[]};rFc(a,d,c);return c},qFc=function(a){var b={};a=_.m(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=_.m(c.getItem().rk()),e=d.next();!e.done;e=d.next())e=e.value,b[e]||(b[e]=[]),b[e].push(c)}return b},rFc=
function(a,b,c){var d=c.yK.getItem();(b[d.getId()]||[]).forEach(function(e){c.children.push(rFc(a,b,{yK:e,parent:c,children:[]}))});return c},uFc=function(a,b){b=b.children.filter(function(l){return!_.Dk(l.yK.getItem())});for(var c=new Map,d=[];b.length;){var e=b.pop(),f=e.yK.getItem();if(!c.has(f.getId())){_.lVb(f,a.xp());tFc(a,f,e.parent?e.parent.yK.getItem():void 0);for(var h=_.m(e.children),k=h.next();!k.done;k=h.next())k=k.value,_.Dk(k.yK.getItem())||b.push(k);c.set(f.getId(),!0);d.push(e.yK)}}return d},
vFc=function(a){a=a.children.filter(function(h){return!_.Dk(h.yK.getItem())});for(var b=new Map,c=[];a.length;){var d=a.pop(),e=d.yK.getItem();if(!b.has(e.getId())){c.push(_.sI(_.iI(new _.hI,e.getId())));d=_.m(d.children);for(var f=d.next();!f.done;f=d.next())f=f.value,_.Dk(f.yK.getItem())||a.push(f);b.set(e.getId(),!0)}}return c},nFc=function(a){var b=[],c=[];a=_.m(a);for(var d=a.next();!d.done;d=a.next()){d=d.value;var e=d.getItem();_.Dk(e)||_.P(e,137)?c.push(e):b.push(d)}return{OQ:c,s4:b}},oFc=
function(a){a=a.clone();var b=null!=_.P(a,34)?_.P(a,34):_.P(a,7),c=null!=_.P(a,35)?_.P(a,35):_.P(a,7);_.u(a,45,c);_.u(a,46,b);_.u(a,30,c);_.u(a,31,b);_.u(a,47,c);_.u(a,32,c);_.u(a,33,b);_.u(a,4,b);_.u(a,9,c);_.u(a,20,b);_.u(a,17,_.P(a,7));_.u(a,8,_.P(a,10)||_.P(a,11));_.u(a,21,_.uk(a));_.wb(a,18);_.wb(a,13);_.wb(a,10);_.u(a,42,_.P(a,42));_.u(a,43,_.P(a,43));_.u(a,48,_.P(a,48));return a},tFc=function(a,b,c){var d=a.getCapabilities(),e=b.getCapabilities();_.u(e,30,_.P(d,30));_.u(e,31,_.P(d,31));_.u(e,
47,_.P(d,47));_.u(e,32,_.P(d,32));_.u(e,33,_.P(d,33));_.u(e,4,_.P(d,4));_.u(e,9,_.P(d,9));_.u(e,21,_.P(d,21));_.u(e,20,_.P(d,20));_.u(e,17,_.P(d,17));_.u(e,1,_.uk(d));_.u(e,7,_.P(d,7));_.u(e,10,_.P(d,10));_.u(e,11,_.P(d,11));_.u(e,45,_.P(d,45));_.u(e,46,_.P(d,46));_.u(e,48,_.P(d,48));_.u(b,137,_.Dk(a));c&&(a=c.getCapabilities(),GK(b)?(_.u(e,8,_.P(a,43)),_.u(e,43,_.P(a,43)),_.u(e,42,_.P(a,42))):_.u(e,8,_.P(a,42)))};
var wFc=function(a){this.context=a;this.V=new mFc;this.logName="drive.ds.sync.change.TdChangeProcessor";this.O=_.Qf(new _.Pf,306);this.H=a.Cf};
wFc.prototype.propagate=function(a){if(hL(a))a.Tk()?xFc(this,a):yFc(this,a);else if(_.Q(this.context.Vc,86,!1)){var b=a.qc(),c=this.H.Xl.H(b);var d=c&&c.uc();var e=a.getItem()&&a.getItem().uc();if(!c||!d||!GK(a.getItem()||c)||e&&e!==d)d=!1;else if(d=!!_.Dk(c),!a.Tk()){e=a.getItem();var f=e.xp()!==c.xp();d=_.Dk(c)!==_.Dk(e)||d&&f}if(d)if(a.Tk()){if(a=zFc(this,c.uc()),c=this.V,d=(new _.Bk).Nb(b),a=(a=sFc(c,d,a))?vFc(a):[],this.context.Cf.yo(a),this.log(b,"SD shared folder delete | Removed "+a.length+
" item(s)"),b=UK(this.context.jk(),106009))c=Grc(b),_.u(c,2,a.length),b.xj()}else if(b=a.getItem(),c=zFc(this,b.uc()),d=this.V,b=a.getItem(),b=(c=sFc(d,b,c))?uFc(b,c):[],FCc(this.context.Cf,b),this.log(a.qc(),"SD shared folder update | Updated "+b.length+" item(s)"),a=UK(this.context.jk(),106010))c=Grc(a),_.u(c,1,b.length),a.xj()}};
var xFc=function(a,b){var c=b.qc();b=zFc(a,c);b=nFc(b);var d=_.Bf(b.s4,function(e){return _.sI(_.iI(new _.hI,e.getId()))});a.context.Cf.yo(d);a.H.FI.DO(b.OQ.map(function(e){return e.getId()}),a.O,void 0,void 0,b.OQ.map(function(e){return _.dl((new _.bl).Nb(e.getId()),_.Hk(e))}));a.log(c,"SD delete | Remove "+d.length+" item(s), "+(b.OQ.length+" divergent items"));if(a=UK(a.context.jk(),106016))c=Hrc(a),_.u(c,1,b.OQ.length),_.u(c,2,b.s4.length),a.xj()},yFc=function(a,b){var c=b.qc(),d=zFc(a,c),e=a.H.Xl.H(c);
b=pFc(b,d);FCc(a.context.Cf,b.s4);a.H.FI.DO(b.OQ.map(function(h){return h.getId()}),a.O,void 0,void 0,b.OQ.map(function(h){return _.dl((new _.bl).Nb(h.getId()),_.Hk(h))}));a.log(c,"SD update | Update "+b.s4.length+" item(s), "+(b.OQ.length+" divergent items"));if(d=UK(a.context.jk(),106017)){var f=Hrc(d);_.u(f,1,b.OQ.length);_.u(f,2,b.s4.length);d.xj()}e||pDc(a.H.FI,c)},zFc=function(a,b){var c=new _.Df;_.il(c,[b]);_.jl(c,2);return Atc(a.H.Xl,c)};
wFc.prototype.log=function(a,b){this.context.Be().info(this.logName,a+": "+b)};
var AFc=function(a,b,c){this.H=a;this.V=b;this.vJ=c},EFc=function(a,b,c){if(b.$V().length){var d=pwc(a.H,b.qc());if(d){var e=d?qwc(a.H,b):[];for(var f={},h=_.m(b.$V()),k=h.next();!k.done;f={EL:f.EL},k=h.next())if(k=k.value,f.EL=BFc(e,k.Dm(),b.qc()),_.P(k,3))wwc(a.H,f.EL),_.ai(c,function(r){return function(){a.H.O.W(fwc(r.EL))}}(f));else{for(var l=_.m(_.zb(k,_.KF,2)),p=l.next();!p.done;p=l.next())CFc(a,f.EL,p.value);k=_.m(_.oe(k,4));for(l=k.next();!l.done;l=k.next())DFc(f.EL,l.value);a.H.zD([f.EL],
!1,-1);c.then(function(r){return function(){return void a.H.iI(r.EL.getName(),-2)}}(f),function(r){return function(){a.H.iI(r.EL.getName(),-2)}}(f))}e=a.ad(d.Zj().response)}}e=e?e:a.ad();var q=e.B5a;c.then(function(r){q.resolve(r)},function(r){q.reject(_.Yc(r));a.handleError(b.qc(),r)});return e};AFc.prototype.ad=function(a){a=void 0===a?new qL:a;return new huc(a.Bc(1))};var BFc=function(a,b,c){var d=a.find(function(e){return ewc(e.getName(),b)});d||(d=Euc((new pL).Yc(b),c),a.push(d));return d};
AFc.prototype.handleError=function(a,b){Awc(this.V,a);a=_.mI(b);_.u(a,21,"Server error updating metadata after optimistic application.");this.vJ(a)};
var CFc=function(a,b,c){var d=b.H().find(function(e){return e.getId()===c.getId()});d||(d=new YK,d.Nb(c.getId()),Duc(b,b.H().concat([d])),FFc(d,c));if(1===ZK(d))d.setBooleanValue(_.P(c,3));else if(12===ZK(d))d.setDateStringValue(_.x(c,17));else if(2===ZK(d))d.setTextValue(_.x(c,4));else if(3===ZK(d))_.oe(c,6).length?d.Apa(_.oe(c,6)):_.oe(c,5).length&&(a=_.oe(d,7).concat(_.oe(c,5)),d.Apa(a));else if(4===ZK(d))d.setLongTextValue(_.x(c,7));else if(5===ZK(d))d.setSelectionValue(_.x(c,8));else if(6===
ZK(d))_.oe(c,10).length?d.wpa(_.oe(c,10)):_.oe(c,9).length&&(a=d.vNa().concat(_.oe(c,9)),d.wpa(a));else if(7===ZK(d))d.setIntegerValue(_.x(c,11));else if(8===ZK(d))_.oe(c,13).length?d.npa(_.oe(c,13)):_.oe(c,12).length&&(a=_.oe(d,12).concat(_.oe(c,12)),d.npa(a));else if(10===ZK(d))d.setUserValue(a.O(_.x(c,14)));else if(11===ZK(d))_.oe(c,16).length?Asc(d,_.oe(c,16).map(a.O)):_.oe(c,15).length&&Asc(d,d.tYa().concat(_.oe(c,15).map(a.O)));else throw new _.Uc("Optimistic Applier: Unsupported value type "+
(ZK(d)+"."),new _.Tc);},DFc=function(a,b){if(a=a.H().find(function(c){return c.getId()===b}))if(1===ZK(a))_.wb(a,5);else if(12===ZK(a))_.wb(a,17);else if(2===ZK(a))_.wb(a,6);else if(3===ZK(a))_.YH(a,7);else if(4===ZK(a))_.wb(a,8);else if(5===ZK(a))_.wb(a,9);else if(6===ZK(a))_.YH(a,10);else if(7===ZK(a))_.wb(a,11);else if(8===ZK(a))_.YH(a,12);else if(10===ZK(a))_.rj(a,15);else if(11===ZK(a))_.tj(a,16);else throw new _.Uc("Optimistic Applier: Unsupported value type "+(ZK(a)+"."),new _.Tc);},FFc=function(a,
b){_.lj(b,3)?a.dB(1):_.lj(b,17)?a.dB(12):_.lj(b,4)?a.dB(2):_.oe(b,6).length||_.oe(b,5).length?a.dB(3):_.lj(b,7)?a.dB(4):_.lj(b,8)?a.dB(5):_.oe(b,10).length||_.oe(b,9).length?a.dB(6):_.lj(b,11)?a.dB(7):_.oe(b,13).length||_.oe(b,12).length?a.dB(8):_.lj(b,14)?a.dB(10):(_.oe(b,16).length||_.oe(b,15).length)&&a.dB(11)};AFc.prototype.O=function(a){return _.thc(_.rhc(1),a)};
var GFc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ha=b;this.wa=c;this.O=d;this.ka=e;this.Dg=f;this.W=0;this.V=k;this.ma=l;this.Ba=h};GFc.prototype.apply=function(a,b){var c=this;if(!_.zJ(a))return b;var d=null;a instanceof _.NI?d=HFc(this,a,b):a instanceof _.UI?d=IFc(this,a,b):a instanceof _.oI?d=JFc(this,a,b):a instanceof _.II?d=KFc(this,a,b):a instanceof _.rJ&&(d=EFc(this.wa,a,b));d&&(this.W++,this.ha.setActive(!1),_.ai(b,function(){c.W--;0==c.W&&c.ha.setActive(!0)}));return d?_.Xh(d):b};
var HFc=function(a,b,c){swc(a.O,b.getId());var d=a.H.Xl.H(b.getId());_.ai(c.then(function(){return void a.ma("VMiG2e")},a.ta.bind(a,b.getId(),d)),a.O.W.bind(a.O,b.getId()));c.then(null,function(e){e=_.mI(e);_.u(e,21,"Server error deleting item after optimistic application.");a.V(e)});return(new _.yJ).Bc(1)},IFc=function(a,b,c){var d=_.x(b,2);d&&a.O.H.push(d);c.then(function(){d&&uwc(a.O,d)&&_.ai(LFc(a,d,new _.Mjc(1E4,3E5),Date.now()+72E5,5),function(){return void a.ma("VMiG2e")})},function(){d&&_.xa(a.O.H,
d)});c.then(null,function(e){e=_.mI(e);_.u(e,21,"Server error emptying trash after optimistic application.");a.V(e)});return(new _.yJ).Bc(1)},LFc=function(a,b,c,d,e){if(Date.now()>d||0>=e)return _.Xh();var f=_.$h(),h=c.Ya();_.OH(c);setTimeout(function(){a.ka.then(function(k){var l=_.Qf(new _.Pf,1425);l=Vnc(!0,1,l);return k.Oe(l).then(function(p){if(p=p.ad())if(p=p.zd()[0],!p||(p.tw()||0)>b){f.resolve();return}_.ai(LFc(a,b,c,d,e),function(){return void f.resolve()})},function(){return _.ai(LFc(a,b,
c,d,e-1),function(){return void f.resolve()})})})},h);return f.promise},KFc=function(a,b,c){var d=b.uc(),e=a.H.Xl.H(d);if(!e)return null;e=e.clone();SCc(a.H,[e],[157]);var f=e.Uh();MFc(f,_.zb(b,_.zk,2));NFc(f,_.zb(b,_.zk,3));a.H.Yk([e],-1,void 0,void 0,[157]);_.ai(c,function(){a.H.iI(d,-2)}).then(function(h){a.H.Yk([_.w(h,_.Bk,2)],1,void 0,void 0,[157])},null);c.then(null,function(h){h=_.mI(h);_.u(h,21,"Server error updating item after optimistic application.");a.V(h)});return aAc(new $zc,e).Bc(1)},
MFc=function(a,b){var c={};b=_.m(b);for(var d=b.next();!d.done;c={gfa:c.gfa},d=b.next())c.gfa=d.value,_.zb(a,_.zk,8).some(function(e){return function(f){return f.Dm()==e.gfa.Dm()}}(c))||_.yj(a,8,c.gfa,_.zk,void 0)},NFc=function(a,b){var c=b.map(function(d){return d.Dm()});b=_.zb(a,_.zk,8).filter(function(d){return!c.includes(d.Dm())});bnc(a,b)},JFc=function(a,b,c){var d=a.H.Xl.H(b.getId());if(!d||d.uc()&&0==b.Nh()||null!=_.P(b,40))return null;var e=_.oe(b,10),f=_.oe(b,9);if(0<e.length&&0<f.length&&
(e=Object.values(ztc(a.H.Xl,e.concat(f))).map(function(k){return k.uc()||"root"}),_.Ga(e),1<e.length))return null;var h=d.clone();OFc(a,b,h);a.H.Yk([h],-1,void 0,void 0,Crc(a.Dg));c.then(function(){return a.H.iI(b.getId(),-2)},function(){a.H.iI(b.getId(),-2);a.ta(b.getId(),d)});c.then(null,function(k){k=_.mI(k);if(63==k.Uj()){var l=h.getId();_.u(k,22,l);_.u(k,23,f[0])}_.u(k,21,"Server error updating item after optimistic application.");a.V(k)});return _.Bic((new _.yJ).setItem(h),h.getId()).Bc(1)},
OFc=function(a,b,c){null!=b.yf()&&c.fl(b.yf());null!=b.Li()&&_.Fhc(c,b.Li());null!=b.getMimeType()&&_.UF(c,b.getMimeType());null!=_.x(b,7)&&_.u(c,11,_.x(b,7));null!=_.P(b,11)&&_.u(c,8,_.P(b,11));null!=_.P(b,4)&&c.Zv(_.P(b,4));null!=_.P(b,16)&&_.u(c,31,_.P(b,16));null!=b.getTitle()&&c.setTitle(b.getTitle());null!=b.Nh()&&(c.Mn(b.Nh()),_.u(c,26,b.Nh()));null!=_.P(b,18)&&_.AK(qnc(c,!0),_.P(b,18));_.oe(b,8).length&&_.HJ(c,_.oe(b,8));if(_.oe(b,9).length){var d=new Set(c.rk());_.oe(b,9).forEach(function(p){return d.add(p)});
_.HJ(c,[].concat(_.ec(d)))}if(_.oe(b,10).length){var e=new Set(c.rk());_.oe(b,10).forEach(function(p){return e.delete(p)});_.HJ(c,[].concat(_.ec(e)));var f=c.Uw();f&&_.oe(b,10).includes(f)&&_.wb(c,46)}if(!c.Uw()){var h=a.Ba();f=c.rk().find(function(p){var q=a.H.Xl.H(p);return q&&!!q.Uw()||p==h});_.u(c,46,f||void 0)}c.rk().length&&(f=a.H.Xl.H(c.rk()[0]))&&_.Ihc(c,f.uc());if(f=_.w(b,_.vk,25)){var k=_.w(c,_.vk,111)||new _.vk;null!=_.P(f,1)&&k.$O(_.P(f,1));null!=_.x(f,2)&&_.u(k,2,_.x(f,2));_.E(c,111,
k)}var l=_.oe(c,120);_.oe(b,31).forEach(function(p){l.includes(p)||l.push(p)});_.oe(b,32).forEach(function(p){_.xa(l,p)});_.qj(c,120,l)};GFc.prototype.ta=function(a,b){var c=this,d=_.PF(new _.NF,[a]);this.ka.then(function(e){return e.Oe(d)}).then(function(e){e=e.ad().zd()[0];c.H.Yk([e.clone()],1)},function(){b&&c.H.Yk([b.clone()],1)})};
var PFc=function(a){this.H=a};_.J(PFc,_.Clc);PFc.prototype.execute=function(a,b,c){var d=_.Clc.prototype.execute.call(this,a,b,c);if(d)return d;if(c.VLa||b instanceof _.eI&&_.BJ(b.jd()))if(c=Wrc(this.H))return c;return b instanceof _.UI?(c=_.Qf(new _.Pf,1424),a.Oe(Vnc(!1,1,c)).then(function(e){(e=e.ad())&&(e=e.zd()[0])&&_.lj(e,96)&&b.qda(e.tw())},function(){})):null};
var qoc=function(a,b){return[QFc,RFc,SFc,TFc].reduce(function(c,d){var e;0!==c?e=c:e=_.Ha(d(a),d(b));return e},0)},QFc=function(a){return UFc[a.zf()]},RFc=function(a){return VFc[a.getType()]},SFc=function(a){return a.getName()||""},TFc=function(a){return a.getId()||""},sM={},UFc=(sM[5]=0,sM[7]=1,sM[1]=2,sM[3]=3,sM[4]=4,sM[2]=5,sM[6]=6,sM),WFc={},VFc=(WFc[1]=0,WFc[2]=1,WFc[3]=2,WFc[4]=3,WFc);
var XFc=function(a,b,c,d,e,f,h,k,l){this.H=a;this.ma=b;this.O=c;this.W=d;this.ha=e;this.V=f;this.ka=h;this.ta=k;this.Dg=l};
XFc.prototype.apply=function(a,b){var c=this;if(!(b instanceof _.yJ&&8===b.Cb()))if(a instanceof _.HI||a instanceof _.JI||a instanceof _.Ogc||a instanceof _.fJ||a instanceof _.oI||a instanceof _.tJ||a instanceof _.Wgc||a instanceof _.vJ||a instanceof IK){var d=_.rI(b.getItem().clone(),9);this.H.Yk([d],1);Wwc(this.ta,b.getItem(),_.TJ(this.Dg))}else if(a instanceof _.NI)b=_.sI(_.iI(new _.hI,a.getId())),this.H.yo([b]);else if(a instanceof _.QI)b=_.sI(_.fgc(_.iI(new _.hI,a.getId()),a.getId())),this.H.yo([b]),
this.ma.propagate(b);else if(a instanceof _.UI)b=Vnc(!0).jd(),b=this.H.Xl.query(b).map(function(e){return _.sI(_.iI(new _.hI,e.getId()))}),this.H.yo(b);else if(a instanceof _.LI)this.O.remove(a.Hh());else if(a instanceof _.XI||a instanceof _.qJ)this.O.put(b.ur());else if(a instanceof _.OI)poc(this.H,a);else if(a instanceof _.gD)this.W.remove(a.getKey());else if(a instanceof _.YI)roc(this.H,a,_.w(b,_.nk,2));else if(a instanceof _.hD)this.W.put(b.GNa());else if(a instanceof _.KI||a instanceof _.uJ)this.ha.zD([b.mn()],
!1);else if(a instanceof _.RI)this.ha.zD([xwc(a.getId())],!1);else if(a instanceof _.Ngc)this.V.zD(b.response.H(),!1,1);else if(a instanceof _.rJ)a.$V().filter(function(e){return _.P(e,3)}).forEach(function(e){return c.V.removeItem(e.Dm()||"",a.qc())}),Awc(this.ka,a.qc()),this.H.S3a(a.qc());else if(a instanceof _.YJ)for(b=_.m(_.zb(a,_.Dsc,1)),d=b.next();!d.done;d=b.next())switch(d=d.value,d.getFeature()){case 3:case 4:case 1:switch(d=_.w(d,_.$K,2),d.getType()){case 1:case 2:if(d=this.H.Xl.H(d.qc()))d=
_.iI(brc(),d.getId()).setItem(d.clone()),this.H.yo([d])}}};
var YFc=function(a){this.H=a};
YFc.prototype.translate=function(a){if(a instanceof _.jJ){var b=this.H.H(a.getId());if(!b)return new _.Tc;var c=(new _.oI).Nb(a.getId());if(b.uc()){var d=b.getCapabilities();_.Ne(d)||_.P(d,9)?c.Mn(!0):_.pI(c,!1)}else d=a.getParent(),1===b.xp()?c.Mn(!0):d?(b=this.H.H(d),!b||_.P(b.getCapabilities(),7)?Xqc(c,[d]):_.pI(c,!1)):_.pI(c,!1);return c}if(a instanceof _.oJ)return Zqc(Yqc(Xqc(Wqc((new _.oI).Nb(a.getId()),_.oe(a,2)),_.oe(a,3)),_.P(a,6)),_.zb(a,_.bl,8));if(a instanceof _.pJ){b=this.H.H(a.getId());
if(!b)return new _.Tc;c=(new _.oI).Nb(a.getId());b.uc()?(d=b.getCapabilities(),_.Ne(d)||_.P(d,9)?c.Mn(!1):_.pI(c,!0)):(d=a.getParent(),1===b.xp()?c.Mn(!1):d?(b=this.H.H(d),!b||_.uk(b.getCapabilities())?Wqc(c,[d]):_.pI(c,!0)):_.pI(c,!0));return c}if(a instanceof _.kK)return new _.Ogc(a);if(a instanceof _.cM)return _.oe(a,1).map(function(f){var h=new _.rJ;f=_.u(h,1,f);h=a.$V();f=_.sj(f,2,h);h=a.se();return _.E(f,3,h)});if(a instanceof _.TI){c=Vnc(!1,1).jd();var e=0;this.H.query(c).forEach(function(f){(f=
f.tw())&&(e=Math.max(e,f))});return Prc(new _.UI,a).qda(e)}return a};
var ZFc=function(){};ZFc.prototype.validate=function(a){var b=null;a instanceof _.bJ?(a=a.getId()||"",_.Re(a)&&(b="Tried to request backup with no id.")):a instanceof _.MI&&(a=a.getId()||"",_.Re(a)&&(b="Tried to delete backup with no id."));return b?_.mI(b):null};
var $Fc=function(a,b){this.H=a;this.O=b},cGc=function(a,b){var c=new _.dM,d=new _.NB;if(b.user){var e=_.uK(a.H,b.user);_.E(d,1,e)}a=aGc(a,b);a=Qqc(Pqc(_.Oqc(new _.$wb,a),b.rootFolderId),b.domainSharingPolicy);b.gsuiteSubscriptionInfo&&(e=b.gsuiteSubscriptionInfo,_.Sqc(a,_.Dqc(_.Cqc((new _.MB).Bc(bGc.get(e.status)),Number(e.trialMillisRemaining)),_.tK(e.trialEndTime))));b.teamDashboardCapabilities&&(e=b.teamDashboardCapabilities,_.Tqc(a,_.Fqc(_.Eqc(new _.Vwb,e.canAdministerTeam),e.canManageInvites)));
b.importFormats&&Rqc(a,b.importFormats.map(function(f){var h=new _.Nqc;h=_.u(h,1,f.source);return _.qj(h,2,f.targets)}));_.E(d,3,a);_.vBc(c,d);b=b.largestChangeId;null!=b&&_.u(c,4,Number(b));return c},aGc=function(a,b){var c;var d=new _.Zwb;d=_.u(d,1,Number(b.quotaBytesTotal));d=_.u(d,2,Number(b.quotaBytesUsed));d=_.u(d,3,Number(b.quotaBytesUsedAggregate));d=_.u(d,4,Number(b.quotaBytesUsedInTrash));d=_.Jqc(_.Iqc(_.Hqc(_.Gqc(d,toc(b.quotaBytesByService||[])),b.quotaType?dGc.get(b.quotaType):void 0),
Number(b.quotaBytesTotal)),"-1"===b.quotaBytesTotal?-1:Math.max(Number(b.quotaBytesTotal)-Number(b.quotaBytesUsedAggregate),0));var e=Number(b.quotaBytesUsedAggregate)-voc(b);d=_.u(d,9,e);d=_.Kqc(d,Number(b.quotaBytesUsedAggregate));d=_.u(d,11,Number(b.quotaBytesUsedInTrash));d=_.u(d,13,_.onc(Number(b.quotaBytesUsedAggregate),Number(b.quotaBytesTotal)));d=_.Lqc(d,eGc.get(b.quotaStatus)||0);if(b.graceQuotaInfo&&b.graceQuotaInfo.endDate){e=new _.Ywb;var f=_.Z6a(new Date(b.graceQuotaInfo.endDate));e=
_.E(e,1,f);e=_.u(e,2,Number(b.graceQuotaInfo.additionalQuotaBytes));_.E(d,12,e)}if(null===(c=_.AJ(a.O))||void 0===c?0:_.Q(c,16,!1)){var h;(a=d.UJ())&&(null===(h=null===b||void 0===b?void 0:b.graceQuotaInfo)||void 0===h?0:h.gracePeriodActive)&&a.setActive(!!b.graceQuotaInfo.gracePeriodActive);isNaN(Number(b.individualQuotaBytesTotal))||(h=_.u(d,16,Number(b.individualQuotaBytesTotal)),_.u(h,17,_.onc(Number(b.individualQuotaBytesUsedAggregate),Number(b.individualQuotaBytesTotal))));b=_.u(d,9,Number(b.individualQuotaBytesUsedAggregate))}else b=
d;return b},eGc=new Map([["softLimitExceeded",2],["hardLimitExceeded",3],["underLimit",1]]),uoc=new Set(["POOLED_STORAGE","FAMILY"]),bGc=new Map([["isInTrial",1],["hasPaidContract",2],["noSubscription",3],["trialExpired",4]]),soc=new Map([["DRIVE",1],["FAMILY",4],["GMAIL",2],["PHOTOS",3],["POOLED_STORAGE",5]]),dGc=new Map([["LIMITED",1],["UNLIMITED",2],["POOLED",3]]);
var fGc=new Map([["TYPE_UNSPECIFIED",0],["MOBILE",1],["SYNC_CLIENT",2],["APP",3]]),gGc=new Map([["TYPE_UNSPECIFIED",0],["MY_DRIVE_ROOT",1],["SHARED_DRIVE_ROOT",2],["STANDARD_FOLDER",3]]),hGc=new Map([["TYPE_UNSPECIFIED",0],["USER_DELETION",1],["TRASH_AUTO_PURGE",2],["MULTIPARENTING_MIGRATION",4]]),iGc=new Map([["TYPE_UNSPECIFIED",0],["TRASH",1],["PERMANENT_DELETE",2]]),jGc=new Map([["TYPE_UNSPECIFIED",0],["UNTRASH",1],["REVIVE",2]]),kGc=new Map([["ROLE_UNSPECIFIED",0],["OWNER",1],["ORGANIZER",2],
["FILE_ORGANIZER",3],["EDITOR",4],["COMMENTER",5],["VIEWER",6],["PUBLISHED_VIEWER",7]]),lGc=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6]]),mGc=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["RESOLVED",5],["REOPENED",6],["REASSIGNED",7]]),nGc=new Map([["SUBTYPE_UNSPECIFIED",0],["ADDED",1],["DELETED",2],["REPLY_ADDED",3],["REPLY_DELETED",4],["ACCEPTED",7],["REJECTED",
8],["ACCEPT_DELETED",9],["REJECT_DELETED",10]]),oGc=new Map([["TYPE_UNSPECIFIED",0],["FLAGGED",1],["CLEARED",2]]),pGc=new Map([["TYPE_UNSPECIFIED",0],["LOADED_FOR_VIEW",1],["VIEWED_MORE_CONTENT",2],["OPEN_WITH_APP_INITIATED",3]]),qGc=new Map([["DOMAIN_VISIBILITY_UNKNOWN",0],["DOMAIN_VISIBILITY_CONSUMER",1],["DOMAIN_VISIBILITY_SAME_DOMAIN",2],["DOMAIN_VISIBILITY_ALL_DOMAINS",3],["DOMAIN_VISIBILITY_RESTRICTED",4]]),rGc=new Map([["NAMED_PARTY_UNKNOWN",0],["NAMED_PARTY_UNNAMED",1],["NAMED_PARTY_NAMED",
2]]),sGc=new Map([["TYPE_UNSPECIFIED",0],["DOWNLOADED",1],["DOWNLOAD_INITIATED",2],["PRINT_INITIATED",3]]),tGc=new Map([["UNSPECIFIED_REFERENCE_TYPE",0],["LINK",1],["DISCUSS",2]]),uGc=new Map([["FEATURE_UNSPECIFIED",0],["SHARING_OUTSIDE_DOMAIN",1],["DIRECT_SHARING",2],["ITEM_DUPLICATION",3],["DRIVE_FILE_STREAM",4]]),vGc=new Map([["RESTRICTION_UNSPECIFIED",0],["UNRESTRICTED",1],["FULLY_RESTRICTED",2]]),wGc=new Map([["STATUS_UNSPECIFIED",0],["IN_PROGRESS",1],["COMPLETED",2],["CANCELLED",3]]),xGc=new Map([["DECISION_UNSPECIFIED",
0],["APPROVED",1],["DECLINED",2]]),yGc=new Map([["TYPE_UNSPECIFIED",0],["LABEL_ADDED",1],["LABEL_REMOVED",2],["LABEL_FIELD_VALUE_CHANGED",3]]),zGc=new Map([["PUBLISH_MODE_UNSPECIFIED",0],["NONE",1],["FIXED",2],["AUTO",3]]),AGc=new Map([["REASON_UNSPECIFIED",0],["ORPHAN_REPARENTED",1]]),HGc=function(a){return a.map(function(b){var c=new _.CBc;if(b.primaryActionDetail){var d=BGc(b.primaryActionDetail);_.E(c,2,d)}b.actors&&(d=CGc(b.actors),_.sj(c,3,d));b.actions&&(d=DGc(b.actions),_.sj(c,4,d));b.targets&&
(d=EGc(b.targets),_.sj(c,5,d));b.timestamp&&c.V(FGc(b.timestamp));b.timeRange&&(b=GGc(b.timeRange),_.xj(c,7,_.fM,b));return c})},DGc=function(a){return a.map(function(b){var c=new _.zBc;if(b.detail){var d=BGc(b.detail);_.E(c,1,d)}if(b.source){d=b.source;var e=new Tzc;if(d.type){var f=fGc.get(d.type);_.Ij(e,2,f)}d.appId&&_.Hj(e,1,d.appId);_.E(c,2,e)}b.actor&&(d=IGc(b.actor),_.E(c,3,d));b.target&&(d=JGc(b.target),_.E(c,4,d));b.timestamp&&c.V(FGc(b.timestamp));b.timeRange&&(b=GGc(b.timeRange),_.xj(c,
6,_.ABc,b));return c})},EGc=function(a){return a.map(function(b){return JGc(b)})},LGc=function(a){return a.map(function(b){return KGc(b)})},MGc=function(a){return a.map(function(b){var c=new _.yzc;b.parent&&c.Ug(KGc(b.parent));b.shortcut&&(b=KGc(b.shortcut),_.E(c,2,b));return c})},JGc=function(a){var b=new _.Wzc;if(a.driveItem){var c=NGc(a.driveItem);_.xj(b,1,_.TL,c)}if(a.drive){var d=a.drive;c=new _.Uzc;d.name&&c.Yc(d.name);d.title&&c.setTitle(d.title);d.root&&(d=NGc(d.root),_.E(c,3,d));_.xj(b,5,
_.TL,c)}a.fileComment&&(a=a.fileComment,c=new _.Vzc,a.legacyCommentId&&_.Hj(c,1,a.legacyCommentId),a.legacyDiscussionId&&_.Hj(c,2,a.legacyDiscussionId),a.linkToDiscussion&&_.Hj(c,3,a.linkToDiscussion),a.parent&&c.Ug(NGc(a.parent)),_.xj(b,3,_.TL,c));return b},KGc=function(a){var b=new _.ML;if(a.driveItem){var c=a.driveItem,d=new hzc;c.name&&d.Yc(c.name);c.title&&d.setTitle(c.title);if(c.driveFile){var e=new fzc;_.xj(d,8,gzc,e)}c.driveFolder&&(e=OGc(c.driveFolder),_.xj(d,9,gzc,e));c.driveShortcut&&
(c=PGc(c.driveShortcut),_.xj(d,10,gzc,c));_.xj(b,1,izc,d)}a.drive&&(a=QGc(a.drive),_.xj(b,3,izc,a));return b},NGc=function(a){var b=new _.ezc;a.name&&b.Yc(a.name);a.title&&b.setTitle(a.title);a.mimeType&&_.Hj(b,6,a.mimeType);var c=Number(a.version);isFinite(c)&&_.Gj(b,5,c);if(a.owner){var d=a.owner;c=new azc;d.domain&&c.Kn(RGc(d.domain));if(d.user){var e=tM(d.user);_.xj(c,1,_.$yc,e)}d.drive&&(d=QGc(d.drive),_.xj(c,4,_.$yc,d));_.E(b,7,c)}a.driveFile&&(c=new fzc,_.xj(b,8,bzc,c));a.driveFolder&&(c=OGc(a.driveFolder),
_.xj(b,9,bzc,c));a.driveShortcut&&(a=PGc(a.driveShortcut),_.xj(b,10,bzc,a));return b},QGc=function(a){var b=new Zyc;a.name&&b.Yc(a.name);a.title&&b.setTitle(a.title);return b},OGc=function(a){var b=new czc;a.type&&(a=gGc.get(a.type),_.Ij(b,6,a));return b},PGc=function(a){var b=new dzc;a.targetName&&_.Hj(b,1,a.targetName);a.targetMimeType&&_.Hj(b,2,a.targetMimeType);return b},CGc=function(a){return a.map(function(b){return IGc(b)})},IGc=function(a){var b=new _.Szc;if(a.user){var c=tM(a.user);_.xj(b,
1,_.SL,c)}a.anonymous&&(c=new Pzc,_.xj(b,2,_.SL,c));if(a.impersonation){var d=a.impersonation;c=new _.Qzc;d.impersonatedUser&&(d=tM(d.impersonatedUser),_.E(c,1,d));_.xj(b,3,_.SL,c)}a.system&&(d=a.system,c=new _.Rzc,d.type&&(d=hGc.get(d.type),_.Ij(c,1,d)),_.xj(b,4,_.SL,c));a.administrator&&(a=new _.Ozc,_.xj(b,5,_.SL,a));return b},SGc=function(a){return a.map(function(b){return tM(b)})},tM=function(a){var b=new _.Gyc;if(a.knownUser){var c=a.knownUser,d=new _.Eyc;c.personName&&_.Hj(d,1,c.personName);
c.isCurrentUser&&_.Fj(d,2,c.isCurrentUser);c.displayName&&_.Hj(d,3,c.displayName);c.photoUrl&&d.Ln(c.photoUrl);_.xj(b,2,_.Dyc,d)}a.unknownUser&&(c=new Hyc,_.xj(b,4,_.Dyc,c));a.deletedUser&&(a=new _.Fyc,_.xj(b,3,_.Dyc,a));return b},FGc=function(a){var b=(new Date(a)).getTime();a=Math.floor(b/1E3);b=b%1E3*1E6;return _.Y6a((new _.yy).setSeconds(a),b)},GGc=function(a){var b=new _.eM;a.startTime&&b.PY(FGc(a.startTime));a.endTime&&b.UO(FGc(a.endTime));return b},RGc=function(a){var b=new Yyc;a.name&&b.Yc(a.name);
a.legacyId&&_.Hj(b,3,a.legacyId);a.audienceDisplayName&&_.Hj(b,4,a.audienceDisplayName);return b},BGc=function(a){var b=new _.RL;if(a.create){var c=a.create,d=new _.lzc;if(c.new){var e=new mzc;_.xj(d,1,_.jzc,e)}c.upload&&(e=new nzc,_.xj(d,2,_.jzc,e));c.copy&&(e=c.copy,c=new _.kzc,e.originalObject&&(e=KGc(e.originalObject),_.E(c,1,e)),_.xj(d,3,_.jzc,c));_.xj(b,1,_.QL,d)}a.edit&&(d=new szc,_.xj(b,2,_.QL,d));if(a.move){c=a.move;d=new _.Azc;c.addedParents&&(e=LGc(c.addedParents),_.sj(d,1,e));c.removedParents&&
(e=LGc(c.removedParents),_.sj(d,2,e));c.fromOwnershipTransfer&&_.Fj(d,3,c.fromOwnershipTransfer);c.reparents&&(e=c.reparents.map(TGc),_.sj(d,4,e));if(c.multiparentingMigration){e=c.multiparentingMigration;c=new _.zzc;if(e.removedParents){var f=LGc(e.removedParents);_.sj(c,2,f)}e.migratedParents&&(e=MGc(e.migratedParents),_.sj(c,1,e));_.E(d,5,c)}_.xj(b,3,_.QL,d)}a.rename&&(d=a.rename,c=new _.Gzc,d.oldTitle&&_.Hj(c,1,d.oldTitle),d.newTitle&&_.Hj(c,2,d.newTitle),_.xj(b,4,_.QL,c));a.delete&&(c=a.delete,
d=new _.qzc,c.type&&(c=iGc.get(c.type),_.Ij(d,1,c)),_.xj(b,5,_.QL,d));a.restore&&(c=a.restore,d=new _.Hzc,c.type&&(c=jGc.get(c.type),_.Ij(d,1,c)),_.xj(b,6,_.QL,d));a.permissionChange&&(c=a.permissionChange,d=new _.Dzc,c.addedPermissions&&(e=UGc(c.addedPermissions),_.sj(d,1,e)),c.removedPermissions&&(e=UGc(c.removedPermissions),_.sj(d,2,e)),c.resharedPermissions&&(e=UGc(c.resharedPermissions),_.sj(d,3,e)),c.otherActivePermissions&&(c=UGc(c.otherActivePermissions),_.sj(d,4,c)),_.xj(b,7,_.QL,d));if(a.comment){c=
a.comment;d=new _.Xyc;c.post&&(f=c.post,e=new _.Uyc,f.subtype&&(f=lGc.get(f.subtype),_.Ij(e,1,f)),_.xj(d,1,_.Tyc,e));if(c.assignment){f=c.assignment;e=new _.Vyc;if(f.subtype){var h=mGc.get(f.subtype);_.Ij(e,1,h)}f.assignedUser&&(f=tM(f.assignedUser),_.E(e,7,f));_.xj(d,2,_.Tyc,e)}c.suggestion&&(f=c.suggestion,e=new _.Wyc,f.subtype&&(f=nGc.get(f.subtype),_.Ij(e,1,f)),_.xj(d,3,_.Tyc,e));c.mentionedUsers&&(c=SGc(c.mentionedUsers),_.sj(d,7,c));_.xj(b,8,_.QL,d)}a.dlpChange&&(c=a.dlpChange,d=new _.pzc,c.type&&
(c=oGc.get(c.type),_.Ij(d,1,c)),_.xj(b,9,_.QL,d));if(c=a.view){d=new Nzc;(e=pGc.get(c.type))&&_.Ij(d,1,e);if(e=c.viewHistoryVisibility)c=new Mzc,(f=qGc.get(e.domainPolicyVisibilityState))&&_.Ij(c,1,f),(e=rGc.get(e.namedPartyState))&&_.Ij(c,2,e),_.E(d,2,c);_.xj(b,10,_.QL,d)}if(c=a.download)d=new rzc,(c=sGc.get(c.type))&&_.Ij(d,1,c),_.xj(b,11,_.QL,d);a.reference&&(c=a.reference,d=new _.yyc,c.type&&(e=tGc.get(c.type),_.Ij(d,1,e)),c.context&&(c=c.context,e=new xyc,c.description&&e.fl(c.description),c.url&&
_.Hj(e,2,c.url),_.E(d,2,e)),_.xj(b,12,_.QL,d));a.settingsChange&&(c=a.settingsChange,d=new _.Kzc,c.restrictionChanges&&(c=VGc(c.restrictionChanges),_.sj(d,1,c)),_.xj(b,13,_.QL,d));a.approvalChange&&(c=a.approvalChange,d=new _.Kyc,c.approvalName&&_.Hj(d,2,c.approvalName),c.approvalEventNames&&_.qj(d,3,c.approvalEventNames),c.initiator&&(e=tM(c.initiator),_.E(d,4,e)),c.reviewers&&(e=SGc(c.reviewers),_.sj(d,5,e)),c.status&&d.Bc(wGc.get(c.status)),c.dueTime&&(e=FGc(c.dueTime),_.E(d,7,e)),c.approvalRequested&&
(e=new Lyc,_.xj(d,8,_.LL,e)),c.approvalCancelled&&(e=new Myc,_.xj(d,9,_.LL,e)),c.reviewerResponded&&(f=c.reviewerResponded,e=new _.Jyc,f.reviewerDecision&&(f=xGc.get(f.reviewerDecision),_.Ij(e,1,f)),_.xj(d,10,_.LL,e)),c.commentAdded&&(e=new Nyc,_.xj(d,11,_.LL,e)),c.reviewersChanged&&(f=c.reviewersChanged,e=new Pyc,f.reviewerChanges&&(f=WGc(f.reviewerChanges),_.sj(e,1,f)),_.xj(d,12,_.LL,e)),c.dueTimeChanged&&(e=c.dueTimeChanged,c=new Ryc,e.oldDueTime&&(e=FGc(e.oldDueTime),_.E(c,1,e)),_.xj(d,13,_.LL,
c)),_.xj(b,18,_.QL,d));a.lock&&(d=new uzc,_.xj(b,15,_.QL,d));a.unlock&&(d=new Lzc,_.xj(b,16,_.QL,d));a.appliedLabelChange&&(c=a.appliedLabelChange,d=new _.Cyc,c.changes&&(c=XGc(c.changes),_.sj(d,1,c)),_.xj(b,19,_.QL,d));a.publishChange&&(c=a.publishChange,d=new _.Fzc,c.oldPublishState&&(e=YGc(c.oldPublishState),_.E(d,1,e)),c.newPublishState&&(c=YGc(c.newPublishState),_.E(d,2,c)),_.xj(b,20,_.QL,d));a.linkShareMetadataChange&&(a=a.linkShareMetadataChange,d=new _.tzc,a.securityUpdateEnabled&&_.Fj(d,
1,a.securityUpdateEnabled),_.xj(b,21,_.QL,d));return b},TGc=function(a){var b=new _.wzc;a.reason&&(a=AGc.get(a.reason),_.Ij(b,1,a));return b},UGc=function(a){return a.map(function(b){var c=new _.PL;if(b.role){var d=kGc.get(b.role);_.Ij(c,1,d)}b.user&&(d=tM(b.user),_.xj(c,2,_.OL,d));if(b.group){d=b.group;var e=new _.NL;d.email&&_.Hj(e,1,d.email);d.title&&e.setTitle(d.title);_.xj(c,3,_.OL,e)}b.domain&&c.Kn(RGc(b.domain));b.anyone&&(d=new Bzc,_.xj(c,5,_.OL,d));b.allowDiscovery&&_.Fj(c,6,b.allowDiscovery);
return c})},VGc=function(a){return a.map(function(b){var c=new _.Jzc;if(b.feature){var d=uGc.get(b.feature);_.Ij(c,1,d)}b.newRestriction&&(b=vGc.get(b.newRestriction),_.Ij(c,2,b));return c})},WGc=function(a){return a.map(function(b){var c=new Qyc;if(b.removedReviewer){var d=tM(b.removedReviewer);_.E(c,3,d)}b.addedReviewer&&(b=tM(b.addedReviewer),_.E(c,4,b));return c})},XGc=function(a){return a.map(function(b){var c=new _.Byc;b.label&&_.Hj(c,1,b.label);b.types&&(b=ZGc(b.types),_.qj(c,2,b));return c})},
ZGc=function(a){return a.map(function(b){return yGc.get(b)})},YGc=function(a){var b=new _.Ezc;if(a.publishMode){var c=zGc.get(a.publishMode);_.Ij(b,1,c)}a.signinRequired&&_.Fj(b,2,a.signinRequired);a.publishedTime&&(a=FGc(a.publishedTime),_.E(b,3,a));return b};
var aHc=function(a){return(a.items||[]).map(function(b){return $Gc(b)})},bHc=function(a,b){var c=new NAc;b=_.u(c,4,b);a&&(a=$Gc(a),_.E(b,2,a));return b},$Gc=function(a){var b=(new _.bL).Nb(a.id);b=_.u(b,3,a.useByDefault).Yc(a.name);b=_.u(b,7,a.openUrlTemplate);b=Qsc(Psc(b,a.primaryMimeTypes),a.secondaryMimeTypes);b=_.u(b,8,a.createUrl);b=_.u(b,9,a.createInFolderTemplate);b=_.u(b,10,a.objectType);b=_.u(b,11,a.supportsCreate);b=_.u(b,12,a.supportsImport);b=_.u(b,13,a.supportsMultiOpen);b=_.u(b,27,a.supportsOfflineCreate);
b=_.u(b,14,a.installed);b=_.u(b,15,a.authorized);b=_.u(b,16,a.productUrl);b=_.qj(b,17,a.primaryFileExtensions);b=_.qj(b,18,a.secondaryFileExtensions);b=_.u(b,19,a.shortDescription);b=_.u(b,20,a.longDescription);b=_.u(b,21,a.productId);b=_.u(b,22,a.removable);var c=cHc.get(a.type);b=_.u(b,23,c);b=_.u(b,25,a.hasAppData);b=_.u(b,26,Number(a.appDataQuotaBytesUsed));b=_.u(b,28,a.requiresAuthorizationBeforeOpenWith);b=_.u(b,30,a.hasDriveWideScope);b=_.u(b,31,a.driveSource);b=_.u(b,32,a.driveBranded);b=
_.u(b,33,a.hidden);b=_.u(b,34,a.supportsMobileBrowser);b=_.u(b,35,a.supportsTeamDrives);b=_.u(b,36,a.hasGsmListing);c=a.icons||[];for(var d=[],e=0;e<c.length;e++){var f=d,h=f.push,k=c[e],l=new _.Ksc;l=_.u(l,3,k.iconUrl).setSize(k.size);k.category&&(k=dHc.get(k.category),_.u(l,1,k));h.call(f,l)}_.sj(b,6,d);c=a.chromeExtensionIds||[];d=[];for(e=0;e<c.length;e++)d.push(c[e]);_.qj(b,24,d);c=a.rankingInfo||{};a=new _.Nsc;d=c.absoluteScore;null!=d&&_.u(a,1,Number(d));d=eHc(c.mimeTypeScores||[]);_.sj(a,
2,d);c=eHc(c.fileExtensionScores||[]);_.sj(a,3,c);_.E(b,29,a);return b},eHc=function(a){return a.map(function(b){var c=b.type;b=b.score;var d=new _.Lsc;c=_.u(d,1,c);return _.u(c,2,Number(b))})},cHc=new Map([["WEB_ONLY",1],["WEB_AND_CHROME_EXTENSION",2],["CHROME_EXTENSION_ONLY",3]]),dHc=new Map([["application",1],["document",2],["documentShared",3]]);
var gHc=function(a){var b=new TBc;if(!a.backups)return b;a=a.backups.map(function(c){var d=(new _.UL).Nb(c.id).setTitle(c.title);d=_.u(d,3,_.tK(c.updateTime));var e=fHc.get(c.backupSource);d=_.u(d,4,e);d=_.u(d,5,c.iconUri);d=_.u(d,8,_.tK(c.expiryTime));d=_.u(d,9,"boolean"===typeof c.hasGoogleoneBackup?c.hasGoogleoneBackup:!1);if(1===d.sz())e=new Yzc,e=_.u(e,1,c.whatsappOngoingBackupEnabled),c=_.u(e,2,c.whatsappPhoneNumber),_.E(d,6,c);else if(2===d.sz()){e=Number(c.deviceAndroidId);var f=new _.Xzc;
f=_.u(f,1,c.deviceName);f=_.u(f,2,c.deviceModelName);c=_.u(f,3,c.shouldIncludeSpecialSyncItems);c=_.u(c,4,isNaN(e)?void 0:e);_.E(d,7,c)}return d});_.sj(b,2,a);return b},iHc=function(a){var b=new PBc;if(!a.backupItems)return b;a=a.backupItems.map(function(c){var d=(new _.VL).Nb(c.id);var e=hHc.get(c.type);d=_.u(d,1,e).setTitle(c.title);d=_.u(d,4,c.iconUri);d=_.Zzc(d.setSize(c.size?Number(c.size):void 0),_.tK(c.updateTime));d=_.u(d,7,c.hasCustomBehavior).fl(c.description);return _.u(d,9,c.ongoingSyncEnabled)});
_.sj(b,1,a);return b},fHc=new Map([["BACKUP_SOURCE_UNSPECIFIED",0],["BACKUP_SOURCE_WHATSAPP",1],["BACKUP_SOURCE_ANDROID",2]]),hHc=new Map([["TYPE_UNSPECIFIED",0],["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]]);
var jHc=function(a,b){this.H=a;this.O=b};
var woc=new Map([["QUEUED",1],["COUNTING",3],["BUILDING",2],["SUCCEEDED",4],["FAILED",5]]);
var kHc=new Map([["READ",2],["WRITE",3],["COMMENT",4]]),lHc=function(a,b,c){var d=c.itemId;c=c.driveItem;d=(new _.Bk).Nb(d);c&&(_.UF(d.setTitle(c.title),c.mimeType),c.userCapabilities&&_.IJ(d,_.Hlc(c.userCapabilities)));_.TJ(b).includes(19)&&_.u(d,44,!0);Wwc(a,d,_.TJ(b));_.Hhc(d,4);return d},oHc=function(a,b,c){for(var d=[],e=[],f={},h=_.m(c.item||[]),k=h.next();!k.done;f={mfa:f.mfa},k=h.next()){var l=k.value;if(l.person){f.mfa=l.itemId;k=mHc(l.person).Nb(f.mfa);var p={};l=_.m(l.childItem||[]);for(var q=
l.next();!q.done;p={zra:p.zra},q=l.next()){var r=q.value;e.some(function(v){return function(z){return z.getId()===v.mfa}}(f))||e.push(k);p.zra=r.itemId;q=d.find(function(v){return function(z){return z.getId()===v.zra}}(p));void 0===q&&(q=lHc(a,b,r),d.push(q));r=rqc(qqc(pqc(new _.Vna,k.clone()),nHc(r)),r.url);_.yj(q,107,r,_.Vna,void 0)}}}return esc((new _.bK).cB(d),e).MP(c.suggestionSessionId)},mHc=function(a){return _.thc((new _.nk).Nb(a.id).Yc(a.displayName),a.emailAddress).Ln(a.photoUrl)},zHc=function(a){var b=
a.action;return b?b.map(function(c){var d=new _.xna,e=pHc(c);e&&_.xj(d,2,_.rk,e);(e=qHc(c))&&fpc(d,e);(e=rHc(c))&&_.xj(d,4,_.rk,e);(e=sHc(c))&&_.xj(d,5,_.rk,e);(e=tHc(c))&&_.xj(d,6,_.rk,e);(e=uHc(c))&&_.xj(d,7,_.rk,e);(e=vHc(c))&&_.xj(d,8,_.rk,e);(e=wHc(c))&&_.xj(d,9,_.rk,e);(e=xHc(c))&&_.xj(d,10,_.rk,e);(c=yHc(c))&&_.xj(d,11,_.rk,c);return d}):(a=uM(a),a=Opc([a]),[fpc(new _.xna,a)])},BHc=function(a){return(a.justification||[]).map(function(b){return AHc(b)})},uM=function(a){return(a=a.justification)?
AHc(a):null},AHc=function(a){var b=bpc(new _.qk,CHc(a.displayText)),c=a.primaryPerson,d=a.allPeople;c?(c=mHc(c),_.xj(b,3,_.wna,c),cpc(b,[c])):d?(c=(d.person||[]).map(function(e){return mHc(e)}),d=apc(c),_.xj(b,4,_.wna,d),cpc(b,c)):(c=(a.person||[]).map(function(e){return mHc(e)}),c.length&&(d=apc(c),_.xj(b,4,_.wna,d),cpc(b,c)));_.u(b,5,_.tK(a.eventTime));dpc(b,CHc(a.justificationDescription));epc(b,CHc(a.unstructuredJustificationDescription));return b},CHc=function(a){if(!a)return null;a=a.textSegment||
[];return Yoc(new _.kk,a.map(function(b){var c=(new _.lk).$g(b.text),d=b.link;if(d){var e=new _.mk;d=_.u(e,1,d.url)}else d=null;c=_.E(c,2,d);c=_.u(c,3,b.bold);return _.u(c,4,b.italic)}))},pHc=function(a){a=a.documentDocosAction;if(!a)return null;var b=Dpc(new _.Fna,uM(a));Cpc(b,(a.subAction||[]).map(function(c){var d=new _.Gna;c.reply?(c=new _.zna,_.xj(d,1,_.sk,c)):c.resolve?(c=new npc,_.xj(d,2,_.sk,c)):c.reassign?(c=new lpc,_.xj(d,3,_.sk,c)):c.acceptSuggestion?(c=new gpc,_.xj(d,4,_.sk,c)):c.rejectSuggestion?
(c=new mpc,_.xj(d,5,_.sk,c)):c.openThread&&(c=new _.yna,_.xj(d,6,_.sk,c));return d}));_.u(b,2,a.discussionId);_.u(b,3,a.postId);Epc(b,CHc(a.anchorText));return b},rHc=function(a){a=a.documentShareAction;if(!a)return null;var b=Ipc(new _.Ina,uM(a));Hpc(b,(a.subAction||[]).map(function(c){var d=new Jpc;c.suggestedShare?(c=new rpc,_.xj(d,1,kqc,c)):c.responseToRequest&&(c=new opc,_.xj(d,2,kqc,c));return d}));Fpc(b,(a.sharee||[]).map(function(c){return mHc(c)}));Gpc(b,kHc.get(a.shareeRole));return b},
qHc=function(a){a=a.documentViewAction;if(!a)return null;var b=Opc(BHc(a));Npc(b,(a.subAction||[]).map(function(c){var d=new Qpc;c.open?d.Lf(new ipc):c.reviewEdits&&(c=new ppc,_.xj(d,2,Ppc,c));return d}));return b},sHc=function(a){a=a.emailViewAction;if(!a)return null;var b=$pc(new Ypc,uM(a));Zpc(b,(a.subAction||[]).map(function(c){var d=new bqc;c.open&&d.Lf(new jpc);return d}));return b},tHc=function(a){a=a.calendarEventAction;if(!a)return null;var b=xpc(wpc(vpc(new _.Bna,a.eventId),uM(a)),a.guestCount);
upc(b,(a.subAction||[]).map(function(c){var d=new ypc;if(c.viewCalendarEvent){var e=new spc;_.xj(d,1,iqc,e)}c.shareWithAttendees&&(e=new qpc,_.xj(d,2,iqc,e));c.present&&(e=new kpc,_.xj(d,3,iqc,e));c.openDocument&&(c=new ipc,_.xj(d,4,iqc,c));return d}));return b},uHc=function(a){a=a.documentWorkspaceAction;if(!a)return null;var b=Vpc(Upc(new Spc,a.workspaceId),uM(a));Tpc(b,(a.subAction||[]).map(function(c){var d=new Wpc;c.addToWorkspace&&(c=new hpc,_.xj(d,1,mqc,c));return d}));return b},vHc=function(a){a=
a.documentTopicAction;if(!a)return null;var b=Lpc(new _.Kna,uM(a));Kpc(b,(a.subAction||[]).map(function(c){var d=new Mpc;c.openDocument&&(c=new ipc,_.xj(d,1,lqc,c));return d}));return b},wHc=function(a){a=a.popularDocumentAction;if(!a)return null;var b=gqc(new _.Qna,uM(a));fqc(b,(a.subAction||[]).map(function(c){var d=new hqc;c.openDocument&&(c=new ipc,_.xj(d,1,oqc,c));return d}));return b},xHc=function(a){a=a.collaboratorActivityAction;if(!a)return null;var b=Apc(new _.Dna,uM(a));zpc(b,(a.subAction||
[]).map(function(c){var d=new Bpc;c.openDocument&&(c=new ipc,_.xj(d,1,jqc,c));return d}));return b},yHc=function(a){a=a.formResponseAction;if(!a)return null;var b=dqc(new _.Ona,BHc(a));cqc(b,(a.subAction||[]).map(function(c){var d=new eqc;c.openDocument?(c=new ipc,_.xj(d,1,nqc,c)):c.viewResponses&&(c=new tpc,_.xj(d,2,nqc,c));return d}));return b},nHc=function(a){a=((a.justification||{}).displayText||{}).textSegment||[];return 0<a.length?(a[0]||{}).text||"":""};
var DHc=function(a,b){this.H=a;this.O=b},FHc=function(a,b,c){var d=new qL,e=Object.values(c.categoryMetadata||{});Guc(d,e.map(function(f){return EHc(a,f,b.qc())}));d.Bc(1);return new _.eK(d,Boc(c))},HHc=function(a,b){var c=new bM;jBc(c,(b.categories||[]).map(function(d){return GHc(a,d)}));c.Bc(1);return new iuc(c,Boc(b))},EHc=function(a,b,c){c=Euc((new pL).Yc(b.categoryName),c);b=Object.values(b.attributeValues||[]);Duc(c,b.map(function(d){return IHc(a,d)}).filter(function(d){return null!==d}));return c},
GHc=function(a,b){var c,d=hBc(YAc(dBc(cBc(bBc(XAc(WAc((new aM).Yc(b.name),b.categoryName),b.latestName).setTitle(b.title).fl(b.description),_.tK(b.createTime)),_.tK(b.updateTime)),_.tK(b.publishTime)),(null!==(c=b.attributes)&&void 0!==c?c:[]).map(function(e){a:{var f=e.type;var h=(new dAc).Nb(e.id);h=_.u(h,2,e.queryGuid);h=_.u(h,3,e.helpText);h=_.u(h,4,e.displayName);if(e.attributeDisplayHints){var k=JHc(e.attributeDisplayHints);_.E(h,5,k)}if(e.capabilities){k=e.capabilities;var l=new eAc;l=_.u(l,
1,k.canSearch);k=_.u(l,2,k.canWrite);_.E(h,6,k)}if(f&&(_.u(h,7,KHc[f]),e=e[LHc(f)+"Options"],!MHc(a,h,f,e))){f=null;break a}f=h}return f}).filter(function(e){return null!==e})),b.customer);b.createdBy&&ZAc(d,NHc(b.createdBy));b.OUb&&$Ac(d,NHc(b.OUb));b.publishedBy&&aBc(d,NHc(b.publishedBy));b.displayHints&&eBc(d,JHc(b.displayHints));b.capabilities&&gBc(d,OHc(b.capabilities));b.learnMoreUri&&_.u(d,15,b.learnMoreUri);return d},IHc=function(a,b){var c=(new YK).Nb(b.id);if(b.userScoped)b=Object.values(b.userScoped),
Bsc(c,b.map(function(d){if(d.scopedUser){var e=new ysc;var f=_.uK(a.H,d.scopedUser);e=_.E(e,1,f);d=a.Hb(e,d)?e:null}else d=null;return d}).filter(function(d){return null!==d})),c.dB(9);else if(!a.Hb(c,b))return null;return c},JHc=function(a){var b=new cAc;b=_.u(b,1,a.disabled);b=_.u(b,2,a.hidden);b=_.u(b,3,a.activatedInAllDrives);return _.u(b,4,!!a.required)},OHc=function(a){var b=new fBc;b=_.u(b,1,a.canSearch);b=_.u(b,2,a.canApply);b=_.u(b,4,a.canRemove);return _.u(b,3,a.canManageSharedDriveActivation)},
MHc=function(a,b,c,d){return PHc(a,function(){QHc(a)[c](b,d)},c,b)},RHc=function(a){a=void 0===a?{}:a;var b=new jAc;b=_.u(b,1,a.minSize);return _.u(b,2,a.maxSize)},THc=function(a){var b=new iAc;oAc(b,(a.choices||[]).map(function(c){var d=new nAc;d=_.u(d,1,c.label).Hb(c.value);c.description&&d.fl(c.description);if(c.capabilities){var e=c.capabilities;var f=new pAc;f=_.u(f,1,e.canSearch);e=_.u(f,2,e.canSelect);_.E(d,3,e)}c.displayHints&&(c=c.displayHints,e=new qAc,e=_.u(e,1,c.disabled),e=_.u(e,2,c.hidden),
c.badgePriority&&_.u(e,5,c.badgePriority),c.badgeColors&&(f=SHc(c.badgeColors),_.E(e,3,f)),c.darkBadgeColors&&(c=SHc(c.darkBadgeColors),_.E(e,4,c)),_.E(d,4,e));return d}));return b},SHc=function(a){var b=new bAc;var c=UHc(a.backgroundColor);b=_.E(b,1,c);c=UHc(a.foregroundColor);b=_.E(b,2,c);a=UHc(a.soloColor);return _.E(b,3,a)},UHc=function(a){var b=new _.LC;b=_.xb(b,1,a.red,0);b=_.xb(b,2,a.green,0);b=_.xb(b,3,a.blue,0);a.alpha&&(a=(new Uqc).Hb(a.alpha),_.E(b,4,a));return b},VHc=function(a){var b=
new sAc;b=_.u(b,1,a.showThousandsSeparator);b=_.u(b,2,Number(a.minValue));return _.u(b,3,Number(a.maxValue))},WHc=function(a){var b=(new _.ooa).setYear(a.year).setMonth(a.month);return _.u(b,3,a.day)};DHc.prototype.Hb=function(a,b){var c=this,d=b.valueType.replace(/([A-Z])/g,"_$1").toLowerCase().toUpperCase();a.dB(KHc[d]);return PHc(this,function(){XHc(c)[d](a,b[b.valueType])},b.valueType)};
var PHc=function(a,b,c,d){try{b()}catch(e){if(e instanceof TypeError&&!(d instanceof uAc))return Arc(a.O,"drive.ds.response.MetadataParser","Response Parser: Error parsing type "+c+"."),!1;throw e;}return!0},NHc=function(a){return _.rhc(1).Nb(a.personName.split("/")[1])},LHc=function(a){return a.toLowerCase().replace(/_([a-z])/g,function(b,c){return c.toUpperCase()})},QHc=function(a){return{BOOLEAN:function(b,c){var d=b.E5a;var e=new lAc;e=_.u(e,1,c.trueLabel);c=_.u(e,2,c.falseLabel);return d.call(b,
c)},TEXT:function(b,c){return b.MNa(RHc(c))},TEXT_LIST:function(b,c){var d=b.E6a;var e=new rAc;e=_.u(e,1,c.maxEntries);c=RHc(c.options);c=_.E(e,2,c);return d.call(b,c)},LONG_TEXT:function(b,c){var d=new gAc;d=_.u(d,1,c.minSize);c=_.u(d,2,c.maxSize);return _.xj(b,10,WL,c)},SELECTION:function(b,c){return b.q6a(THc(c))},SELECTION_LIST:function(b,c){var d=b.p6a;var e=new hAc;e=_.u(e,1,c.maxEntries);c=THc(c.options);c=_.E(e,2,c);return d.call(b,c)},INTEGER:function(b,c){return b.R5a(VHc(c))},INTEGER_LIST:function(b,
c){var d=b.Q5a;var e=new tAc;e=_.u(e,1,c.maxEntries);c=VHc(c.options);c=_.E(e,2,c);return d.call(b,c)},USER:function(b){return b.J6a(new vAc)},USER_LIST:function(b,c){var d=b.NNa,e=new kAc;c=_.u(e,1,c.maxEntries);e=new vAc;c=_.E(c,2,e);return d.call(b,c)},DATE:function(b,c){var d=b.LNa;var e=new fAc;e=_.u(e,4,c.dateFormat);var f=WHc(c.minValue);e=_.E(e,2,f);c=WHc(c.maxValue);c=_.E(e,3,c);return d.call(b,c)},USER_SCOPED:function(b,c){var d=new uAc;d=_.u(d,1,c.canReadCollaboratorValues);var e=c.subtype;
_.u(d,2,KHc[e]);var f=LHc(e)+"Options";MHc(a,d,e,c[f]);return _.xj(b,16,WL,d)}}},XHc=function(a){return{BOOLEAN:function(b,c){return b.setBooleanValue(c)},TEXT:function(b,c){return b.setTextValue(c)},TEXT_LIST:function(b,c){return b.Apa(c)},LONG_TEXT:function(b,c){return b.setLongTextValue(c)},SELECTION:function(b,c){return b.setSelectionValue(c)},SELECTION_LIST:function(b,c){return b.wpa(c)},INTEGER:function(b,c){return b.setIntegerValue(parseInt(c,10))},INTEGER_LIST:function(b,c){return b.npa(c.map(function(d){return parseInt(d,
10)}))},USER:function(b,c){return b.setUserValue(_.uK(a.H,c))},USER_LIST:function(b,c){Asc(b,c.map(function(d){return _.uK(a.H,d)}))},DATE_STRING:function(b,c){return b.setDateStringValue(c)}}},KHc={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};
var Coc={movable:1,deadlineExceeded:2,exceedsSourceLimit:3,exceedsDestinationDepthLimit:4,exceedsDestinationSizeLimit:5,tooManyUnmovableFiles:6,tooHighProportionUnmovableFiles:7};
var ZHc=function(a){a=a.personResponse||[];return Puc(new Ouc,a.map(function(b){var c=b.person;b=Luc(new rL,b.personId);var d=b.Yc;var e=c;e=void 0===e?{}:e;var f,h;e=e.metadata;e=null!==(h=null===(f=null===e||void 0===e?void 0:e.bestDisplayName)||void 0===f?void 0:f.displayName)&&void 0!==h?h:"";f=Muc(d.call(b,e),YHc(c));c=void 0===c?{}:c;c=c.photo?c.photo[0]:null;h=new Kuc;c=_.u(h,1,c&&!c.isDefault?c.url:null);return _.E(f,4,c)}))},YHc=function(a){a=void 0===a?{}:a;var b;a=(a.email||[]).find(function(c){return"SIGNUP_EMAIL"===
c.classification&&!0===c.metadata.primary});return null!==(b=null===a||void 0===a?void 0:a.value)&&void 0!==b?b:""};
var $Hc=function(a){this.H=a},bIc=function(a,b){return(b.items||[]).map(function(c){return aIc(a,c)})},aIc=function(a,b){var c=new _.$na,d=b.colorRgb;d?(d=d.substring(1),d=/^[a-fA-F0-9]+$/.test(d)?parseInt(d,16):0):d=0;_.u(c,2,d);_.u(c,1,b.backgroundImageLink);_.u(c,3,b.trusted);_.u(c,5,b.backgroundImageGridViewLink);_.u(c,6,b.backgroundImageListViewLink);_.u(c,7,b.hidden);_.u(c,9,b.removeSecureLinkUpdateForAllFiles);(d=b.categoryReferences)&&bnc(c,d.map(function(e){var f=new _.zk;return _.u(f,1,
e.category)}));c=_.Ohc(_.Mhc(_.Lhc(_.Hhc(_.Ihc(anc(_.UF((new _.Bk).Nb(b.id).setTitle(b.name),"application/vnd.google-apps.folder"),c),b.id),2),b.primaryDomainName),b.organizationDisplayName),b.customerId);b.capabilities&&(d=_.vhc(_.Hlc(b.capabilities),!0),_.IJ(c,d));b.permissionsSummary&&_.Jhc(c,Zrc(a.H,b.permissionsSummary));b.restrictions&&dnc(c,cIc(b.restrictions));return c},cIc=function(a){var b=new vqc;b=_.u(b,1,a.copyRequiresWriterPermission);b=_.u(b,2,a.disallowDriveFileStream);b=_.u(b,3,a.domainUsersOnly);
"teamMembersOnly"in a&&_.u(b,4,a.teamMembersOnly);return b};
var dIc={DRIVE_FE:2,DRIVE_BE:4,EXPLORER:1,GENERAL:3,PSYNCHO:5,SLACK:6,DRIVE_BE_EX:7,DRIVE_SHARING:9,TEAMKIT:10},Loc=_.db(dIc);
var eIc=function(a){var b=new _.nc;b=_.u(b,2,a.key);b=_.u(b,1,a.namespace?dIc[a.namespace]:void 0);return _.xBa(new _.Ko,b).Hb(a.value)};
var gIc=function(a){var b=a.items||[];b=Ruc(new sL,b.map(function(c){return fIc(c)}));return new _.hK(b,Boc(a))},fIc=function(a){var b=(new _.TH).Nb(a.id).setTitle(a.title);b=_.u(b,3,_.tK(a.createdDate));return _.u(b,4,_.tK(a.modifiedDate)).Jd(a.state?hIc[a.state]:void 0)},iIc=function(a,b,c){var d=c.item||[];return _.Imc(_.Hmc(new _.zK,d.map(function(e){return lHc(a,b,e)})),c.suggestionSessionId)},kIc=function(a,b,c){var d=c.item||[];return Ysc(Xsc(new dL,d.map(function(e){return jIc(a,b,e)})),c.suggestionSessionId)},
jIc=function(a,b,c){var d=c.driveWorkspace,e=c.childItem||[];return Vsc(Tsc(Usc(Ssc(new cL,c.predictionId).setTitle(d&&d.title),d&&d.workspaceToken),e.map(function(f){return lHc(a,b,f)})),uM(c))},lIc=function(a){var b=new _.vsc;a.kind&&(a=fIc(a),_.E(b,2,a));b.Bc(1);return b},hIc={active:1,archived:2};
var mIc=function(a,b,c,d){_.fmc.call(this,b);this.Dg=a;this.ma=c;this.O=d;this.ha=null;this.ta=new $Fc(this.W,b);this.H=new $Hc(this.DF);this.wa=new jHc(this.DF,this.H)};_.J(mIc,_.fmc);var nIc=function(a){a.ha||(a.ha=new DHc(a.W,a.ma));return a.ha};
mIc.prototype.ka=function(a,b){if(a instanceof _.EI)var c=_.Olc(_.jmc(a));else{if(a instanceof _.FI)var d=_.vK(this,a,b);else{if(a instanceof _.Ngc)var e=oIc(this,a.request,b);else{if(a instanceof _.GI)var f=_.vK(this,a,b);else{if(a instanceof _.II){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#teamDrive"),_.rK("drive#drive")),b.json);var h=aAc((new $zc).Bc(1),aIc(this.H,b.json))}else{if(a instanceof _.HI)var k=_.vK(this,a,b);else{if(a instanceof _.YJ)var l=new Gsc;else{if(a instanceof _.KI)var p=
pIc(a,b);else{if(a instanceof _.LI)var q=bHc(void 0,a.Hh());else{if(a instanceof _.MI)var r=new UBc;else{if(a instanceof _.NI)var v=_.Olc(_.jmc(a));else{if(a instanceof _.OI)var z=new $L;else{if(a instanceof _.PI)var A=_.Olc(_.jmc(a));else{if(a instanceof _.QI)var B=_.Olc(_.jmc(a));else{if(a instanceof _.gD){var F=new OAc,G=a.getKey();var M=_.E(F,4,G)}else{if(a instanceof _.RI)var N=pIc(a,b);else{if(a instanceof _.UI)var T=_.Olc(_.jmc(a));else{if(a instanceof _.Kgc){if(!b.json)throw _.wK();var Y=
new wCc(b.json.exportJob.id)}else{if(a instanceof _.WI){if(!b.json)throw _.wK();_.sK(_.rK("drive#app"),b.json);var ba=b.json,ea=new JAc,la=$Gc(ba);var va=_.E(ea,2,la).Bc(1)}else{if(a instanceof _.XI)var Ba=qIc(a,b);else{if(a instanceof _.YI){if(!b.json)throw _.wK();_.sK(_.rK("drive#permission"),b.json);var Ja=(new $L).Bc(1),rb=_.Rlc(this.DF,b.json);var Zb=_.E(Ja,2,rb)}else{if(a instanceof _.eI)a:{if(!b.json)throw _.wK();if(a instanceof _.eI){var ac=a.jd();if(ac&&_.ZI(ac)){for(var Mc=this.O,Ac=this.Dg,
Cb=b.json,ye=[],He=_.m(Cb.item||[]),wh=He.next();!wh.done;wh=He.next()){var ze=wh.value;if(ze.driveItem){var Ob=new _.Yna,gf=_.u(Ob,2,nHc(ze));_.Q(ac,74,!1)?_.u(gf,4,!0):_.u(gf,3,!0);var ck=lHc(Mc,Ac,ze);var uf=_.E(ck,100,gf);ye.push(uf)}}var dk=(new _.UH).cB(ye).MP(Cb.suggestionSessionId);var Wk=_.jkc(new _.lK,dk);break a}if(ac&&_.$I(ac)){Wk=oHc(this.O,this.Dg,b.json);break a}if(ac&&_.aJ(ac)){for(var oh=this.O,hm=this.Dg,Ri=b.json,Oe=[],hg=_.m(Ri.item||[]),zl=hg.next();!zl.done;zl=hg.next()){var uj=
zl.value;if(uj.driveItem){var wk=lHc(oh,hm,uj),Hm=zHc(uj);var Os=_.sj(wk,117,Hm);Oe.push(Os)}}var Xn=(new _.UH).cB(Oe).MP(Ri.suggestionSessionId);Wk=_.jkc(new _.lK,Xn);break a}}_.sK(_.rK("drive#fileList"),b.json);Wk=_.Llc(this.DF,b.json,b.headers)}else{if(a instanceof _.bJ){if(!b.json)throw _.wK();var Ps=iHc(b.json)}else{if(a instanceof _.cJ){if(!b.json)throw _.wK();_.sK(_.rK("drive#appList"),b.json);var Px=b.json,Aw=new oL,Si=aHc(Px);var Bu=_.sj(Aw,2,Si);var hn=_.qj(Bu,4,Px.defaultAppIds).Bc(1)}else{if(a instanceof
_.Lgc){if(!b.json)throw _.wK();var Kp=gHc(b.json)}else{if(a instanceof _.qI)var To=rIc(this,b);else{if(a instanceof _.dJ){var im=b.json;if(!im)throw _.wK();_.sK(_.rK("drive#permissionList"),im);var Cu=new MAc,jn=Yrc(this.DF,im);var jm=_.E(Cu,1,jn);var Al=_.u(jm,2,Boc(im))}else{if(a instanceof _.eJ){if(!b.json)throw _.wK();_.sK(_.rK("drive#revisionList"),b.json);for(var Rc=this.DF,Yn=b.json,Qs=new Vrc,Dq=[],Eq=Yn.items||[],Fq=0;Fq<Eq.length;Fq++){var Zn=_.Mlc(Rc,Eq[Fq]);Dq.push(Zn)}var Im=_.sj(Qs,
2,Dq)}else{if(a instanceof _.fJ)var Lp=_.vK(this,a,b);else{if(a instanceof _.xI)var Uo=sIc(a,b);else{if(a instanceof _.hJ){if(!b.json)throw _.wK();var Kr=ZHc(b.json)}else{if(a instanceof _.Tgc){if(!b.json)throw _.wK();var Qx=HHc(nIc(this),b.json)}else{if(a instanceof _.MF){if(!b.json)throw _.wK();var Du=nIc(this),Rs=b.json,Qz=new kBc,Ss=GHc(Du,Rs);var ek=_.E(Qz,2,Ss).Bc(1)}else{if(a instanceof _.iJ){if(!b.json)throw _.wK();_.sK(_.rK("drive#remainingCount"),b.json);var Xk=b.json,Ts=new lBc,Bl=Xk.nextPageToken;
null!=Bl&&_.u(Ts,2,Number(Bl));_.u(Ts,1,Number(Xk.remainingCount));var dj=Ts}else{if(a instanceof _.SF){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#teamDrive"),_.rK("drive#drive")),b.json);var km=(new _.UH).cB([aIc(this.H,b.json)])}else{if(a instanceof _.wJ){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#teamDriveList"),_.rK("drive#driveList")),b.json);var Sg=(new _.UH).cB(bIc(this.H,b.json)),Eu=_.jkc(new _.lK,Sg);var Jm=_.u(Eu,3,Boc(b.json))}else{if(a instanceof _.qJ)var Us=qIc(a,b);else{if(a instanceof
_.rJ)var Fu=oIc(this,a,b);else{if(a instanceof _.oI)var Yk=_.vK(this,a,b);else{if(a instanceof _.sJ)var Lr=_.vK(this,a,b);else{if(a instanceof _.tJ)var Gu=tIc(this,b);else{if(a instanceof _.hD){if(!b.json)throw _.wK();_.sK(_.rK("drive#setting"),b.json);var Vs=eIc(b.json),Rx=new OAc;var Ws=_.E(Rx,3,Vs);var Vo=Vs.getKey();var Xw=_.E(Ws,4,Vo)}else{if(a instanceof _.uJ)var Dt=pIc(a,b);else{if(a instanceof _.WH){if(!b.json)throw _.wK();_.sK(_.rK("drive#about"),b.json);var jv=cGc(this.ta,b.json)}else{if(a instanceof
_.TF){if(!b.json)throw _.wK();_.sK(_.rK("drive#workspace"),b.json);var $C=fIc(b.json),kv=new _.cK;kv.lU().set($C.getId(),$C);var kJ=kv}else{if(a instanceof _.Mgc){if(!b.json)throw _.wK();var Lg=b.json,Yp;null!==(Yp=_.AJ(this.V))&&void 0!==Yp&&_.Q(Yp,21,!1)&&(hGc.set("HIERARCHY_RECONCILIATION",3),AGc.set("UNMOVABLE_ITEM_REPARENTED",3));var lJ=new ZBc;Lg.nextPageToken&&_.Hj(lJ,2,Lg.nextPageToken);if(Lg.activities){var hZ=HGc(Lg.activities);_.sj(lJ,1,hZ)}var mJ=lJ}else{if(a instanceof _.Ogc)var tN=tIc(this,
b);else{if("undefined"!=typeof _.Sgc&&a instanceof _.Sgc)var IA=rIc(this,b);else{if(a instanceof _.Pgc){if(!b.json)throw _.wK();var fS=new vCc}else{if(a instanceof _.Qgc){if(!b.json)throw _.wK();var uN=zoc(b.json)}else{if(a instanceof _.fD){if(!b.json)throw _.wK();_.sK(_.rK("drive#settingList"),b.json);for(var cha=b.json,gS=new _.Sz,vN=[],DF=cha.items||[],hS=0;hS<DF.length;hS++){var iZ=eIc(DF[hS]);iZ&&vN.push(iZ)}var wN=_.Mjb(gS,vN)}else{if(a instanceof _.Uz){if(!b.json)throw _.wK();var ry=kIc(this.O,
this.Dg,b.json).Bc(1)}else{if(a instanceof _.RF){if(!b.json)throw _.wK();var iS=iIc(this.O,this.Dg,b.json)}else{if(a instanceof _.Ygc){if(!b.json)throw _.wK();_.sK(_.rK("drive#teamDrive"),b.json);var X6=b.json,jZ=X6.recursiveFolderCount,kZ=X6.recursiveFileCount,dha=new BAc;var jS=_.u(dha,1,kZ);var lZ=_.u(jS,2,jZ)}else{if(a instanceof _.Xgc){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#migrateToDrivePreFlightResponse"),_.rK("drive#migrateToTeamDrivePreFlightResponse")),b.json);var Y6=Foc(b.json)}else{if(a instanceof
_.$gc){if(!b.json)throw _.wK();_.sK(_.rK("drive#workspaceList"),b.json);var Z6=gIc(b.json)}else Z6=a instanceof IK?tIc(this,b):null;Y6=Z6}lZ=Y6}iS=lZ}ry=iS}wN=ry}uN=wN}fS=uN}IA=fS}tN=IA}mJ=tN}kJ=mJ}jv=kJ}Dt=jv}Xw=Dt}Gu=Xw}Lr=Gu}Yk=Lr}Fu=Yk}Us=Fu}Jm=Us}km=Jm}dj=km}ek=dj}Qx=ek}Kr=Qx}Uo=Kr}Lp=Uo}Im=Lp}Al=Im}To=Al}Kp=To}hn=Kp}Ps=hn}Wk=Ps}Zb=Wk}Ba=Zb}va=Ba}Y=va}T=Y}N=T}M=N}B=M}A=B}z=A}v=z}r=v}q=r}p=q}l=p}k=l}h=k}f=h}e=f}d=e}c=d}return c};
var pIc=function(a,b){if(!b.json){if(a instanceof _.RI)return lIc({});throw _.wK();}_.sK(_.rK("drive#workspace"),b.json);return lIc(b.json)},tIc=function(a,b){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#teamDrive"),_.rK("drive#drive")),b.json);a=aIc(a.H,b.json);return(new _.yJ).Bc(1).setItem(a)},oIc=function(a,b,c){if(!c.json)throw _.wK();_.sK(_.rK("drive#categoryMetadataList"),c.json);return FHc(nIc(a),b,c.json)},qIc=function(a,b){if(!b.json)throw _.wK();_.sK(_.rK("drive#app"),b.json);return bHc(b.json,
a.Hh())},rIc=function(a,b){if(!b.json)throw _.wK();_.sK(_.AI(_.rK("drive#about"),_.rK("drive#changeList")),b.json);a=a.wa;var c=b.json;b=new Iuc;var d=c.largestChangeId;null!=d&&_.u(b,3,Number(d));if(_.rK("drive#changeList")(c)){d=c.nextPageToken;null!=d&&_.u(b,2,Number(d));d=[];c=c.items||[];for(var e=0;e<c.length;e++){var f=a,h=c[e];var k=new _.hI;k=_.u(k,1,Number(h.id));h.teamDriveId?(_.fgc(k,h.teamDriveId),_.iI(k,h.teamDriveId)):_.iI(k,h.fileId);h.file?k.setItem(_.Jlc(f.H,h.file)):h.teamDrive&&
k.setItem(aIc(f.O,h.teamDrive));h.deleted&&!k.getItem()&&_.sI(k);d.push(k)}_.sj(b,4,d)}return b},sIc=function(a,b){var c=new WBc;if(_.oe(a,6).length){var d=[];Unc(_.oe(a,6),b.headers).forEach(function(e,f){var h=new _.mgc;e=_.u(h,1,f).Hb(e);d.push(e)});_.sj(c,1,d)}XBc(c,b.json?JSON.stringify(b.json):b.text);return c};
var vIc=function(a){var b=new _.so;if(a=a.getState()){var c=[];c.push("state");c.push("=");c.push(uIc[a]);_.VJ(b,c.join(" "))}return b.toString()},wIc={},uIc=(wIc[1]="active",wIc[2]="archived",wIc);
var xIc=function(a,b,c,d){_.xK.call(this,b,c,a.KNa,d);this.ka=a;this.ha=new Ntc(_.TJ(c),b)};_.J(xIc,_.xK);
xIc.prototype.V=function(a,b,c){var d=this,e,f,h,k,l;try{return _.xK.prototype.V.call(this,a,b,c)}catch(la){}var p=0,q={},r="GET",v={},z=!1,A=!1;if(a instanceof _.FI){r="POST";var B="admin/files/"+a.getId()+"/migrateToTeamDrive";_.P(a,3)&&(v.useDomainAdminAccess=!0);v.fields="kind,id,parentId,teamDriveId";v.fileId=a.getId();_.lj(a,4)&&(v.preFlightValidationToken=_.x(a,4));var F={parentId:a.Wj()};q["content-type"]="application/json";z=A=!0;_.CJ(this.H,[],[a.getId(),a.Wj()],this.O,q)}else if(a instanceof
_.GI){r="POST";B="files/"+a.qc()+"/authorize";v.appId=a.Hh();_.P(a,3)&&(v.propagate=!0);var G=a.se();A=!0;v.supportsTeamDrives=!0;_.CJ(this.H,[],[a.qc()],this.O,q)}else if(a instanceof IK)B="drives/"+a.getId(),r="PUT",F={removeSecureLinkUpdateForAllFiles:_.Q(a,2,!1)},q["content-type"]="application/json",v.fields=kL(this.H,[],!0),G=a.se(),A=!0;else if(a instanceof _.Ogc)r="POST",B="teamdrives/"+a.requestId,v.fields=kL(this.H),F={name:a.request.getTitle()},q["content-type"]="application/json",G=a.request.se(),
A=!0;else if(a instanceof _.KI)r="POST",B="workspaces",v.fields="kind,id,title,createdDate,modifiedDate,state",F=coc(a),q["content-type"]="application/json",G=a.se(),A=!0;else if(a instanceof _.HI)r="POST",B="files/"+a.getId()+"/copy",v.fields=_.zgc({fields:this.dh(c),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)}),v.convert=_.Q(a,4,!1),F=boc(a),q["content-type"]="application/json",G=a.se(),a=_.oe(a,3).concat([a.getId()]),_.CJ(this.H,[],a,this.O,q),A=!0,v.supportsTeamDrives=!0,_.Q(this.H,3,!1)&&(v.enforceSingleParent=
!0);else if(a instanceof _.LI)r="DELETE",B="apps/"+a.Hh(),v.appId=a.Hh(),v.deleteAppData=!!_.P(a,2),G=a.se(),A=!0;else if(a instanceof _.MI)r="DELETE",B="backups/"+a.getId(),p=9;else if(a instanceof _.NI)r="DELETE",B="files/"+a.getId(),G=a.se(),A=!0,v.supportsTeamDrives=!0,_.Q(this.H,3,!1)&&(v.enforceSingleParent=!0),_.CJ(this.H,[],[a.getId()],this.O,q);else if(a instanceof _.OI)r="DELETE",B="files/"+a.qc()+"/permissions/"+_.x(a,2),G=a.se(),A=!0,v.supportsTeamDrives=!0;else if(a instanceof _.PI)r=
"DELETE",B="files/"+a.qc()+"/revisions/"+_.x(a,2),G=a.se(),A=!0,_.CJ(this.H,[],[a.qc()],this.O,q);else if(a instanceof _.QI)r="DELETE",B="teamdrives/"+a.getId(),G=a.se(),A=!0;else if(a instanceof _.gD)r="DELETE",G=a.getKey(),B="settings/"+_.x(G,2),_.Lo(G)&&(v.namespace=Loc[_.Lo(G)]),G=a.se(),A=!0;else if(a instanceof _.RI)r="DELETE",B="workspaces/"+a.getId(),G=a.se(),A=!0;else if(a instanceof _.UI)r="DELETE",B="files/trash",G=a.jd().se(),A=!0,_.Q(this.H,3,!1)&&(v.enforceSingleParent=!0);else if(a instanceof
_.WI)B="apps/"+a.Hh(),G=a.se(),A=!0,v.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(a instanceof _.bJ)B="backups/"+a.getId()+"/items",p=9,v.languageCode=PK(_.VH(this.H));else if(a instanceof _.XI)r="POST",B="apps",v.appId=a.Hh(),G=a.se(),A=!0;else if(a instanceof _.YI)r="POST",B="files/"+a.qc()+"/permissions",v.fields=_.dI(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",v.emailMessage=
_.x(a,5)||"",v.sendNotificationEmail=!_.Q(a,6,!1),G={},A=a.zf(),1==A?G.role="owner":3==A?G.role="writer":4==A?(G.role="reader",G.additionalRoles=["commenter"]):2==A&&(G.role="reader"),A=a.getType(),1==A?G.type="user":2==A?G.type="group":3==A?G.type="domain":4==A?G.type="anyone":5==A&&(G.type="audience"),a.Ya()&&(G.value=a.Ya()),G.withLink=!_.Q(a,8,!1),F=G,q["content-type"]="application/json",G=a.se(),A=!0,v.supportsTeamDrives=!0;else if(a instanceof _.Kgc)p=8,r="POST",B="/v1/exports",q["content-type"]=
"application/json",F=_.oe(a,1).map(function(la){if(_.Q(d.H,89,!1)){var va=_.Ljc(d.O,la);if(null!==va)return{id:la,resource_key:{resource_key:va}}}return{id:la}}),F={archiveFormat:null,archivePrefix:_.x(a,2),conversions:null,items:F,locale:null};else if(a instanceof _.eI||a instanceof _.YJ||a instanceof _.Uz||a instanceof _.RF)if(b=a instanceof _.eI?a.jd():a,_.BJ(b)){p=10;r="POST";B="/v1/items";q["content-type"]="application/json";var M=9==_.NJ(this.H)?"WEB_MOBILE":"WEB_DESKTOP",N={};F={};N.applicationType=
Vtc(this.H);N.platformType=M;N.languageCode=PK(_.VH(this.H));N.timeZone=(new _.ct).N$();N.requestType="LIVE_REQUEST";a instanceof _.eI&&(M=a.getOptions())&&_.Q(M,10,!1)&&(N.requestType="BACKGROUND_REQUEST");if(b instanceof _.Df)if(_.ZI(b)){if(Stc(this.ha)){N.scenarioType="ONE_PICK";if(a=null===(f=null===(e=_.w(b,wqc,75))||void 0===e?void 0:_.w(e,xqc,1))||void 0===f?void 0:_.x(f,1))N.clientTags=N.clientTags||[],N.clientTags.push({name:a});this.Zf.O(106026)}else _.Q(b,74,!1)?N.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES":
N.scenarioType="QUICK_ACCESS";2==_.LJ(b)&&(_.oe(b,33),Stc(this.ha)||(N.scenarioType="QUICK_ACCESS_FOR_SHARED_DRIVE"),F.contextFeature=[{type:"DRIVE_TEAM_DRIVE_ROOT_ID",stringValue:_.oe(b,33)[0]}]);_.fl(b).length&&(F.itemType=Utc(b))}else _.$I(b)?N.scenarioType="DRIVE_PEOPLE_WITH_ACTIONS":_.aJ(b)&&(N.scenarioType="DRIVE_PRIORITY");else b instanceof _.YJ?(B="/v1/userfeedback",F.userFeedback=_.zb(b,_.Dsc,1).map(function(la){var va=_.w(la,_.$K,2),Ba={},Ja={};Ja.feedbackType=[_.pfc[va.getType()]];Ba.item=
Ja;Ba.clientInfo=N;switch(la.getFeature()){case 1:N.scenarioType="DRIVE_PRIORITY";Ja.itemId=va.qc();break;case 3:N.scenarioType="QUICK_ACCESS";Ja.itemId=va.qc();break;case 4:N.scenarioType="QUICK_ACCESS_FOR_SHARED_FILES";Ja.itemId=va.qc();break;case 2:N.scenarioType="DRIVE_WORKSPACES",Ja.itemId=va.qc(),Ja.childItem=_.zb(va,_.$K,3).map(function(rb){var Zb;return{itemId:null!==(Zb=rb.qc())&&void 0!==Zb?Zb:void 0}})}return Ba})):b instanceof _.Uz?N.scenarioType="DRIVE_WORKSPACES":b instanceof _.RF?(N.scenarioType=
"ITEMS_FOR_DRIVE_WORKSPACE",F.contextFeature=[{type:"GENERIC_TITLE",stringValue:b.getTitle()||""},{type:"DRIVE_WORKSPACE_ID",stringValue:b.Tq()||""},{type:"DRIVE_EMPTY_WORKSPACE",boolValue:null!==(h=_.P(b,5))&&void 0!==h?h:void 0}]):_.smc(a);b instanceof _.YJ||(F.maxSuggestions=b.vi(),F.clientInfo=N)}else{G=b.se();A=!0;b.getId();B="files";v.q=_.Xic(b);M=[];var T;(T=_.AJ(this.H))&&_.Q(T,4,!1)?(T=_.za(this.dh(c),this.dh(c,b.H())),_.Ga(T)):T=_.Aa(this.dh(c));var Y=void 0,ba=!1;0<_.zb(b,_.$k,5).length&&
(Y=_.x(this.H.Tf(),50),ba=!0);v.fields=Tmc({fields:T,anonymous:_.FH(_.VH(this.H)),O7:Y||void 0,YE:_.dI(this.H),wCb:ba});v.appDataFilter="NO_APP_DATA";0<_.zb(b,_.KJ,25).length&&(v.sources=_.Pic(b));0<b.cA().length&&(v.spaces=_.Qic(b));a.Xn()&&(v.pageToken=a.Xn());(a=a.getOptions())&&_.Bj(a,1,1E3)&&(v.maxResults=_.Bj(a,1,1E3));_.Q(b,36,!1)&&(v.includeUnsubscribed=!0);_.x(b,43)&&(v.rawUserQuery=_.x(b,43));v.supportsTeamDrives=!0;v.includeItemsFromAllDrives=_.Q(b,66,!0);0<_.oe(b,33).length&&2==_.LJ(b)&&
(a=_.oe(b,33)[0],v.teamDriveId=a,M.push(a));v.corpora=_.Mic[_.LJ(b)];_.P(b,18)&&(delete v.corpora,v.corpus="DOMAIN");a=_.gl(b);T=_.zb(b,_.Sk,35);Y=_.zb(b,_.Sk,38);M=M.concat(a.filter(function(la){return!_.Q(la,2,!1)}).map(function(la){return la.Ya()})).concat(T.map(function(la){return la.Ya()})).concat(Y.map(function(la){return la.Ya()}));_.CJ(this.H,_.zb(b,_.bl,63),M,this.O,q);unc(v,b.Kc());_.rmc(this.H,v);_.Q(this.H,14,!1)&&(v.useLegacyDomainPermissionBehavior=!1);_.w(b,_.Loa,64)&&(a=yqc(_.w(b,
_.Loa,64)),a=_.tb(a,4),v.searchSessionData=a)}else if(a instanceof _.cJ){B="apps";switch(a.getType()){case 1:v.fields=yIc;break;case 2:v.fields=zIc;break;case 4:v.fields=AIc;break;case 3:p=5,B="apps",v.fields="items(icons[category='application'],icons(size,iconUrl),id,name,openUrlTemplate,primaryFileExtensions,primaryMimeTypes,productId,rankingInfo,secondaryFileExtensions,secondaryMimeTypes,kind),kind",v.appQueryScope="all_webstore",b.zu=!0}v.languageCode=PK(_.VH(this.H));0<_.oe(a,3).length&&(v.appFilterExtensions=
_.oe(a,3).join(","));0<_.oe(a,4).length&&(v.appFilterMimeTypes=_.oe(a,4).join(","));G=a.se();A=!0}else if(a instanceof _.Lgc)B="backups",p=9,v.languageCode=PK(_.VH(this.H));else if(a instanceof _.qI)B="changes",v.includeDeleted=_.Q(a,3,!0),v.includeSubscribed=_.Q(a,4,!0),v.maxResults=a.qR(),v.startChangeId=_.x(a,1),v.fields=Smc({fields:this.dh(c),O7:kL(this.H,_.oe(a,5)),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)}),v.appDataFilter="NO_APP_DATA",a.uc()||(v.filters="DRIVE_DATASERVICE"),G=_.oe(this.H.Tf(),
31),G.length&&(v.spaces=_.Bf(G,function(la){return _.nfc[la]}).join(",")),v.supportsTeamDrives=!0,v.includeCorpusRemovals=!0,v.includeItemsFromAllDrives=!0,a.uc()&&(v.teamDriveId=a.uc()),G=a.se(),A=!0;else if(a instanceof _.dJ)b=a.jd(),B="files/"+b.getId()+"/permissions",v.fields=_.dI(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.Xn()&&(v.pageToken=a.Xn()),_.x(a,1)&&(v.maxResults=_.x(a,1)),G=b.se(),A=!0,v.supportsTeamDrives=!0,_.rmc(this.H,v),_.Q(this.H,14,!1)&&(v.useLegacyDomainPermissionBehavior=!1),_.CJ(this.H,[],[b.getId()],this.O,q);else if(a instanceof _.eJ)v.fields=_.dI(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))",
v.maxResults=a.vi(),B="files/"+a.qc()+"/revisions",G=a.se(),A=!0,_.CJ(this.H,[],[a.qc()],this.O,q);else if(a instanceof _.fJ)r="POST",B="files/"+(_.x(a,1)||"")+"/migrateToDrive",_.P(a,3)&&(v.useDomainAdminAccess=!0),v.fields=_.zgc({fields:this.dh(c),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)}),v.fileId=null!==(k=_.x(a,1))&&void 0!==k?k:void 0,_.lj(a,4)&&(v.preFlightValidationToken=_.x(a,4)),F=aoc(a),q["content-type"]="application/json",z=A=!0,_.CJ(this.H,[],[_.x(a,1)||"",_.x(a,2)||""],this.O,q);
else if(a instanceof _.SF)a.Em(),B="teamdrives/"+a.Em()[0],v.fields=kL(this.H,a.H()),G=a.se(),A=!0;else if(a instanceof _.Xgc)r="POST",B="admin/files/migrateToTeamDrivePreFlight",_.P(a.request,3)&&(v.useDomainAdminAccess=!0),F=doc(a),q["content-type"]="application/json",A=z=!0,_.CJ(this.H,[],_.oe(a.request,1),this.O,q);else if(a instanceof _.wJ){G=a.jd();B="teamdrives";v.fields=Dtc(this.H,G.H());v.q=Etc(G);a.Xn()&&(v.pageToken=a.Xn());if(G=(G=a.getOptions())&&_.Bj(G,1,1E3))v.maxResults=G;G=a.jd().se();
A=!0}else if(a instanceof _.Ygc)B="teamdrives/"+a.uc(),v.fields="kind,id,recursiveFileCount,recursiveFolderCount",A=z=!0;else if(a instanceof _.qJ)r="PUT",B="apps/"+a.Hh(),v.appId=a.Hh(),A={},A.useByDefault=null!==(l=_.P(a,2))&&void 0!==l?l:void 0,_.P(a,3)&&(A.hasAppData=!1),q["content-type"]="application/json",G=a.se(),F=A,A=!0;else if(a instanceof _.oI)r="PUT",B="files/"+a.getId(),v.fields=_.zgc({fields:this.dh(c),anonymous:_.FH(_.VH(this.H)),YE:_.dI(this.H)}),v.modifiedDateBehavior="DRIVE_UI",
v.updateViewedDate=!!_.P(a,15),v.fileId=a.getId(),_.oe(a,9).length&&(v.addParents=_.oe(a,9).join(",")),_.oe(a,10).length&&(v.removeParents=_.oe(a,10).join(",")),_.oe(a,31).length&&(v.addWorkspaces=_.oe(a,31).join(",")),_.oe(a,32).length&&(v.removeWorkspaces=_.oe(a,32).join(",")),null!=_.P(a,24)&&(v.confirmed=_.P(a,24)),v.languageCode=PK(_.VH(this.H)),F=eoc(a),q["content-type"]="application/json",G=a.se(),A=!0,v.supportsTeamDrives=!0,this.W(a.getId(),v),_.P(a,36)?v.bypassMultiparentingCheck=!0:_.Q(this.H,
3,!1)&&(v.enforceSingleParent=!0),b=_.oe(a,9).concat(_.oe(a,10)),b.push(a.getId()),_.CJ(this.H,_.zb(a,_.bl,38),b,this.O,q);else if(a instanceof _.sJ)r="PUT",B="files/"+a.qc()+"/revisions/"+_.x(a,2),F=foc(a),q["content-type"]="application/json",G=a.se(),_.CJ(this.H,[],[a.qc()],this.O,q);else if(a instanceof _.tJ)B="teamdrives/"+a.getId(),null!=_.P(a,15)?(r="POST",B+="/"+(_.P(a,15)?"hide":"unhide")):(r="PUT",F=hoc(a),q["content-type"]="application/json"),v.fields=kL(this.H),G=a.se(),A=!0;else if(a instanceof
_.uJ)r="PUT",B="workspaces/"+a.getId(),v.fields="kind,id,title,createdDate,modifiedDate,state",F=ioc(a),q["content-type"]="application/json",G=a.se(),A=!0;else if(a instanceof _.hD){r="PUT";G=_.w(a,_.Ko,1);A=G.getKey();B="settings/"+_.x(A,2);if(A=_.Lo(A))v.namespace=Loc[A];F=Moc(G);q["content-type"]="application/json";G=a.se();A=!0}else if(a instanceof _.WH)B="about",v.fields=_.dI(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),graceQuotaInfo,quotaStatus":
"kind,user,quotaBytesTotal,quotaBytesUsed,quotaBytesUsedAggregate,quotaBytesUsedInTrash,quotaBytesByService,quotaType,rootFolderId,domainSharingPolicy,largestChangeId,importFormats,gsuiteSubscriptionInfo(trialMillisRemaining,trialEndTime,status),teamDashboardCapabilities(canAdministerTeam,canManageInvites),graceQuotaInfo,quotaStatus",v.fields=Poc(v.fields,this.H),G=a.se(),A=!0;else if(a instanceof _.xI){p=11;r=a.Zz();B=a.getUrl();var ea=_.x(a,5)||"";_.zb(a,_.mgc,2).forEach(function(la){q[la.getKey()]=
la.Ya()});M=_.m(_.zb(a,_.mgc,4));for(T=M.next();!T.done;T=M.next())T=T.value,v[T.getKey()]=T.Ya();_.P(a,7)&&(b.xMb=!0);_.P(a,8)&&(b.zu=!0);_.P(a,9)&&(b.MFa=!0)}else if(a instanceof _.Ngc)b=a.request.qc(),B="files/"+b+"/listCategoryMetadata",G=a.request.se(),a.pageToken&&(v.pageToken=a.pageToken),a.request.vi()&&(v.maxResults=a.request.vi()),v.fields="kind,nextPageToken,categoryMetadata",_.CJ(this.H,[],[b],this.O,q);else if(a instanceof _.rJ)q["content-type"]="application/json",r="POST",b=a.qc(),B=
"files/"+b+"/updateCategoryMetadata",G=a.se(),F={categoryMetadata:a.$V().map(function(la){var va=_.zb(la,_.KF,2).map(function(Ja){return{id:Ja.getId(),userId:Ja.uu(),setBooleanValue:_.P(Ja,3),setTextValue:_.x(Ja,4),setTextValues:_.oe(Ja,6),addTextValues:_.oe(Ja,5),setLongTextValue:_.x(Ja,7),setSelectionValue:_.x(Ja,8),setSelectionValues:_.oe(Ja,10),addSelectionValues:_.oe(Ja,9),setIntegerValue:_.x(Ja,11),setIntegerValues:_.oe(Ja,13),addIntegerValues:_.oe(Ja,12),setUserValue:_.x(Ja,14),setUserValues:_.oe(Ja,
16),addUserValues:_.oe(Ja,15),setDateStringValue:_.x(Ja,17)}}),Ba={categoryName:la.Dm()};va.length?Ba.categoryAttributeValueDeltas=va:_.oe(la,4).length?Ba.revertAttributeIds=_.oe(la,4):_.P(la,3)&&(Ba.removeCategory=_.P(la,3));return Ba})},_.CJ(this.H,[],[b],this.O,q);else if(a instanceof _.hJ)p=13,B=_.FH(_.VH(this.H))?"/v2/people/public":"/v2/people",q["content-type"]="application/json",v.person_id=a.Em(),v["request_mask.include_container"]=["PROFILE","DOMAIN_PROFILE"],v["request_mask.include_field.paths"]=
["person.metadata.best_display_name","person.photo","person.email"],v["merged_person_source_options.included_profile_states"]=["DASHER_ADMIN_DISABLED"],_.FH(_.VH(this.H))||(v["core_id_params.enable_private_names"]=!0);else if(a instanceof _.Tgc)p=12,B="/v1/categories/-/published",q["content-type"]="application/json",a.pageToken&&(v.pageToken=a.pageToken),a.request.vi()&&(v.maxResults=a.request.vi()),a.request.getCustomer()&&(v.customer=a.request.getCustomer()),v.$outputDefaults=!0,v.languageCode=
PK(_.VH(this.H));else if(a instanceof _.MF)p=12,B="/v1/"+a.getName(),q["content-type"]="application/json",v.$outputDefaults=!0,v.languageCode=PK(_.VH(this.H));else if(a instanceof _.II)q["content-type"]="application/json",r="POST",B="drives/"+a.uc()+"/changeCategoryReferences",G=a.se(),A=!0,v.fields=kL(this.H,[157],!0),F={},b=_.zb(a,_.zk,2),b.length&&(F.addCategoryReferences=b.map(function(la){return{category:la.Dm()}})),a=_.zb(a,_.zk,3),a.length&&(F.removeCategoryReferences=a.map(function(la){return la.Dm()}));
else if(a instanceof _.TF)a.Em(),B="workspaces/"+a.Em()[0],v.fields="kind,id,title,createdDate,modifiedDate,state",G=a.se(),A=!0;else if(a instanceof _.Mgc){if(p=7,r="POST",B="/v2/activity:query",q["content-type"]="application/json",F={},F.pageSize=a.pageSize,a.pageToken&&(F.pageToken=a.pageToken),b="items/"+a.request.getId(),_.Q(a.request,2,!1)?F.ancestorName=b:F.itemName=b,F.consolidationStrategy={legacy:{}},a=_.AJ(this.H),(null===a||void 0===a?0:_.Q(a,13,!1))||(null===a||void 0===a?0:_.Q(a,21,
!1)))b=[],(null===a||void 0===a?0:_.Q(a,13,!1))&&b.push("MULTIPARENTING_MIGRATION"),(null===a||void 0===a?0:_.Q(a,21,!1))&&b.push("HIERARCHY_RECONCILIATION"),F.filter="actor.type_case:(USER IMPERSONATION ADMINISTRATOR SYSTEM) actor.system.type:("+(b.join(" ")+")")}else a instanceof _.Pgc?(p=8,r="POST",B="/v1/exports/"+a.H+":cancel"):a instanceof _.Qgc?(p=8,B="/v1/exports/"+a.H):"undefined"!=typeof _.Sgc&&a instanceof _.Sgc?(B="changes",v.fields="kind,largestChangeId",v.supportsTeamDrives=!0,v.includeItemsFromAllDrives=
!0,a.teamDriveId&&(v.teamDriveId=a.teamDriveId),G=a.H,A=!0):a instanceof _.fD?(B="settings",G=_.oe(a,3),v.namespace=Noc(G),G=a.se(),A=!0):a instanceof _.$gc?(B="workspaces",v.fields="kind,nextPageToken,items(kind,id,title,createdDate,modifiedDate,state)",a.pageToken&&(v.pageToken=a.pageToken),a.request.vi()&&(v.maxResults=a.request.vi()),v.q=vIc(a.request),(G=a.request.Fx())&&1==G.getType()&&(v.orderBy="title"),G=a.request.se(),A=!0):a instanceof _.iJ?(B="changes/getRemainingCount",v.pageToken=_.x(a,
2),_.lj(a,3)&&(v.supportsTeamDrives=!0,v.includeItemsFromAllDrives=!0,v.teamDriveId=a.uc()),G=a.se()):a instanceof _.EI?(q["content-type"]="application/json",r="POST",B="files/"+a.qc()+"/sendAccessRequest",F={},z=!0):_.smc(a);A&&_.tmc(c,v);0!=p||z||G&&_.x(G,1)||_.iK(this.Zf,74438989);return _.umc(this,p,B,v,q,r,G,F,ea)};xIc.prototype.W=function(a,b){a=this.ka.Xl.H(a);b.expectedParentIds=a?a.rk().join(","):[]};
var yIc=Ooc("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"),zIc=
Ooc("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"),
AIc=Ooc("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");
var BIc=function(a,b,c,d,e,f,h,k,l,p,q,r,v,z,A,B,F,G,M,N,T,Y,ba){this.cpa=_.$h();this.Vfa=new _.Ujc;var ea=new _.lkc(this.mK.bind(this),function(){return T("w8KrJc")}),la=new YFc(b.Xl),va=new PFc(ea);c=new GFc(b,f,new AFc(d,e,c),h,this.cpa.promise,k,l,c,T);d=new XFc(b,p,q,r,v,d,e,B,k);this.O=new _.Xjc(a,z);z=new xIc(b,a,k,Y);this.hta=new mIc(k,a,A,B);this.H=wyc(a,new _.Blc(this.O,this.Vfa,z,this.hta,F,G,M),G,A,N,b.Xl,this.Vfa,this.cpa.promise,M||void 0);this.cpa.resolve(ba?ba:new _.Zkc(new ZFc,la,
va,this.H,ea,c,d,a))};BIc.prototype.mK=function(){return _.Ua(this.H,function(a){return a.mK()})};var BCc=function(a){var b=new Map,c=Date.now();_.Ra(a.H,function(d,e){d=Xrc(d);d.length&&b.set(e,d.map(function(f){return f?c-f:null}))});return b};
var CIc=function(a,b){var c=this;this.context=a;this.Dg=b;this.ka=null;this.gS=0;this.ma=this.active=!1;this.H=this.wa=null;this.W={};this.Ia=this.Fa=!1;this.Zf=a.jk();this.ha=_.$h();this.O=a.Vc;this.Ka=_.AJ(this.O)||new _.Qhc;b=_.QK(this.O);this.Ba=new _.Mjc(_.Bj(b,2,37500),_.Bj(b,3,6E5));this.ta=a.RQ;_.Ra(juc,function(d){c.W[d]=[]});this.V=a.Cf.Mt;tL(a.Lj,["hVFf7","T8oKm","BNEDtc"],function(){c.log("Initializing: loaded from local dump");c.initialize()});tL(a.Lj,["hVFf7","T8oKm","mrK8ic"],function(){c.log("Initializing: loaded from sdk backfill");
c.initialize()});tL(a.Lj,["mrK8ic","BNEDtc"],function(){c.log("Updating: sdk backfill complete");c.tL().mg(_.ig)})};_.g=CIc.prototype;_.g.initialize=function(){var a=this;this.Fa||(this.Fa=!0,nM(this.context).addCallback(function(b){a.ta.initialize().Uf(function(){a.ka=b;a.setActive(!0)},function(c){c&&Arc(a.context.Be(),"drive.ds.sync.storage.LiveDumpUpdater","Error initializing dump storage",_.CI(c));a.log("Error initializing dump storage");a.KS()})}))};
_.g.isInitialized=function(){return!!this.ka||this.ma};_.g.Qna=function(a){this.active&&(this.gS+=a,this.gS>_.Bj(_.QK(this.O),1,500)&&this.update(3))};_.g.setActive=function(a){if(this.isInitialized()&&this.active!==a){var b=this.context;a&&(b.AR().mK()||0<b.Cf.FI.toa||b.Gj().Me()||b.uk().Me())||((this.active=a)?(this.ha.resolve(),this.H||this.tL().mg(_.ig)):(this.ha=_.$h(),_.aa.clearTimeout(this.wa)))}};_.g.KS=function(){this.ma=!0};_.g.sYa=function(){return this.H?this.H.promise:_.Xh()};
_.g.tL=function(){var a=this;if(this.H)return this.H.promise;this.H=_.$h();_.ai(this.H.promise,function(){a.H=null});var b=this.Zf.H(106021)||void 0;this.ha.promise.then(function(){return qyc(a.context.JD)}).then(function(c){var d=!c;return a.ma?d:_.Zh([DIc(a,3,d,void 0,void 0,b),DIc(a,0,d,void 0,!0,b),DIc(a,1,d,void 0,!0,b),DIc(a,5,d,void 0,!0,b),DIc(a,6,d,void 0,!0,b)]).then(function(){return d},function(e){e=new _.Uc("Failed to update dump",void 0,_.CI(e));return _.Yh(e)})},function(){return _.Yh(Error("Bg"))}).then(function(c){a.H.resolve(c);
b&&(c=Irc(b),_.u(c,2,!0),b.xj())},function(c){a.H.reject(c);b&&(c=Irc(b),_.u(c,2,!1),b.xj())});return this.H.promise};_.g.update=function(a,b){var c=this,d=new _.bi,e=this.Zf.H(106021)||void 0;e&&(nrc(Irc(e),_.$J(_.Hfc,a)),d.then(function(){var f=Irc(e);_.u(f,2,!0);e.xj()},function(){var f=Irc(e);_.u(f,2,!1);e.xj()}));this.ha.promise.then(function(){return qyc(c.context.JD)}).then(function(f){f=!f;c.ma?d.callback():_.ei(DIc(c,a,f,b,void 0,e),d)});return d};
var DIc=function(a,b,c,d,e,f){var h=_.ja(a.W[b]);if(h){if(h.encrypt===c&&1<a.W[b].length)return h.Ze.an();var k=new _.bi;_.di(h.Ze,function(){_.ei(a.Pu(b,c,d,e,f),k)})}else k=a.Pu(b,c,d,e,f);var l={encrypt:c,Ze:k};a.W[b].push(l);_.di(k,function(){_.ya(a.W[b],function(p){return l===p})});k.yg(function(p){a.ta.O.Ff()?a.KS():p instanceof _.Uc&&(p=p.O||null,p instanceof _.JH&&"InvalidStateError"==p.getName()&&p.message&&-1<p.message.indexOf("The database connection is closing.")&&a.KS());return null});
return k};
CIc.prototype.Pu=function(a,b,c,d,e){var f=this,h=new _.bi;this.ha.promise.then(function(){if(3===a)_.ei(EIc(f,c||!1,b,e),h);else{switch(a){case 0:var k=LCc(f.context.pQ);break;case 1:k=f.context.q_.bs();break;case 5:k=FIc(f.context.wE);break;case 6:k=Zvc(f.context.Cf.Fq);break;default:h.Ed("Invalid data type to write to storage.");return}if(k){var l=_.zb(_.QK(f.O),OK,11)[0].getKey();!l&&b?(f.log("Skipping dump update, encrypted and no key"),h.callback()):nxc(f.ta,b?l:null,[k],e).then(function(){return void h.callback()},function(p){return void h.Ed(p)})}else d?
(f.log("Skipping dump update: "+a),h.callback()):h.Ed("Failed to get data to write to dump.")}});return h};
var EIc=function(a,b,c,d){_.aa.clearTimeout(a.wa);a.wa=_.aa.setTimeout((0,_.K)(a.Pa,a),a.Ba.Ya());if(b&&0===a.gS)return _.gi();a.gS=0;b=_.zb(_.QK(a.O),OK,11)[0].getKey();if(!b&&c)return a.log("Skipping dump update, encrypted and no key"),_.gi();for(var e=[],f=_.m(GIc(a)),h=f.next();!h.done;h=f.next())h=HIc(a,h.value),h.length&&e.push(nxc(a.ta,c?b:null,h,d));var k=new _.bi;Promise.all(e).then(function(){a.Ia&&a.context.JD.set(oyc,!0);k.callback()},function(l){return void k.Ed(l)});return k},GIc=function(a){var b,
c,d,e=Object.values(htc).filter(function(f){return 0<f&&!IIc.includes(f)});(null===(b=_.AJ(a.context.Vc))||void 0===b?0:_.Q(b,17,!1))?(null===(c=a.V.H)||void 0===c?0:c.CD)||null===(d=a.V.O)||void 0===d||!d.CD?e.push(2):e.push(5):e.push(2);return e};CIc.prototype.Pa=function(){_.OH(this.Ba);this.update(3,!0)};
var HIc=function(a,b){switch(b){case 1:return[JIc(a)];case 2:return b=a.V.H,a=gtc(KIc(a,b),2),b&&etc(a,b.NN()),[a];case 5:return b=a.V.O,a=gtc(KIc(a,b),5),b&&(etc(a,b.NN()),b=gvc(b),_.qj(a,14,b)),[a];case 3:return LIc(a);case 4:return MIc(a);default:throw new _.Uc("Unsupported CacheType");}},JIc=function(a){for(var b={},c=[],d=pvc(a.V,!0),e=!0,f=0;f<d.length;f++){var h=d[f],k=h.zy(),l=NIc(a,Wnc(k));k=l.length;var p=0<k?l[k-1]:null;_.Ma(l,function(q){b[q.getId()]=q});if(0<k||h.H)l=(new eL).Vg(h.jd()),
h.H||(_.u(l,2,k),_.E(l,3,p),e=!1),c.push(l)}d=_.Wa(b);a.log("Exporting "+d.length+" initial dump items.");return etc(gtc(dtc(btc(ctc(ftc((new fL).jz(a.context.ou()),_.TJ(a.Dg)),a.ka.xR(null)),OIc(d)),c),1),!e)},KIc=function(a,b){var c=b?b.zy():[];c=NIc(a,_.Wa(Xnc(c)));a.log("Exporting "+c.length+" secondary dump items.");c.length>_.Bj(_.QK(a.O),5,2E4)&&(b&&wL(b,!1),c=[]);c=btc(new fL,OIc(c));var d=new noc;(a=a.V.H)&&a.CD&&(a=a.zy(),_.u(d,3,a.length));a=_.E(c,11,d);b&&etc(a,b.NN());return a},LIc=function(a){var b=
[],c=a.ka;a.V.vW().forEach(function(d){var e=c.xR(d.uc());if(e){var f=NIc(a,Wnc(d.zy()));a.log("Exporting "+f.length+" TD dump items for: "+d.uc());e=etc(gtc(ctc(btc(new fL,OIc(f)),e),3),d.NN());d=(new eL).Vg(d.jd());dtc(e,[d]);b.push(e)}});return b},MIc=function(a){var b={},c=[];a.context.Cf.vW().forEach(function(d){1===d.VV()&&null==_.P(d.jd(),6)&&(Wnc(d.zy()).forEach(function(e){b[e.getId()]=e}),d=$sc((new eL).Vg(new _.Df),d.jd()),c.push(d))});return[etc(gtc(dtc(btc(new fL,OIc(Object.values(b))),
c),4),!1)]},NIc=function(a,b){b=tnc(b);_.P(a.O,67)&&(b=PIc(b));_.dI(a.O)&&(_.Q(a.Ka,9,!1)?bwc(a.context.Cf.Fq,b)&&(_.iK(a.Zf,179490965),a.log("b/179490965 Unexpected people data when writing to disk cache.","warning"),b=$vc(a.context.Cf.Fq,b)):b=$vc(a.context.Cf.Fq,b));return b.filter(function(c){return 4!==c.Cv()})},PIc=function(a){var b=[];a=_.m(a);for(var c=a.next();!c.done;c=a.next())c=c.value,jnc(c)?(c=c.clone(),Umc(c,inc),b.push(c)):b.push(c);return b},OIc=function(a){return a.map(function(b){return b.clone()})};
CIc.prototype.log=function(a,b){this.context.Be().log("drive.ds.sync.storage.LiveDumpUpdater",a,void 0===b?"info":b)};CIc.prototype.WEa=function(){this.Ia=!0};var IIc=[2,5];
var QIc=function(){};_.g=QIc.prototype;_.g.setActive=function(){};_.g.KS=function(){};_.g.update=function(){return _.gi()};_.g.sYa=function(){return _.Xh()};_.g.tL=function(){return _.Xh()};_.g.Qna=function(){};_.g.WEa=function(){};
var MK=function(a,b,c,d){_.yi.call(this);var e=this;this.Aa=a;this.Gw=c;this.rootId=null;this.Fa=!0;this.ha=null;this.ma=[];this.wa=d||new _.wic;this.Vc=b.clone();(a=_.AJ(this.Vc))&&_.Q(a,1,!1)&&_.YH(this.Vc,28);this.Dg=new _.Lic(this.Vc);this.wm=new Ntc(_.TJ(this.Dg),this.Vc);RIc(this);this.YX=new _.dn;this.ob=_.aa.setTimeout(function(){e.Be().info("drive.ds.sync.ThinContext","Page stable timed out.");e.YX.resolve();e.jk().O(106020)},1E4);this.p_=new _.bi;this.Ba=new _.njc(_.OJ(this.Vc),_.Q(this.Vc.Tf(),
52,!1));this.connectionState=new _.gjc(_.OJ(this.Vc)?3:1,!_.Q(this.Vc.Tf(),52,!1));this.Zf=_.Djc(this.Vc,this.Ba,this.connectionState,this.wa,this.YX.promise,this.Gw);this.ita=new vuc(this.Zf);this.xQ=new _.bi;this.log("Enabled experiments: "+this.jk().W.W);SIc(this)};_.J(MK,_.yi);MK.prototype.getEnvironment=function(){return this.Gw};MK.prototype.ES=function(){this.Be().info("drive.ds.sync.ThinContext","Notified of page stable.");_.aa.clearTimeout(this.ob);this.YX.resolve()};
var SIc=function(a){var b=function(){a.Lu().mg(_.ig)},c=a.Aa;(c=c&&_.Pc(c,_.Cl))?_.ti(c,"w",b):_.Pfc()||_.ti(_.aa,"unload",b)};MK.prototype.Lu=function(){this.Zf.O(106005);Mrc(this.Zf);var a=this.ma.map(function(b){return b()});_.ra(this.ma);return _.$H(a).then()};var TIc=function(a,b){a.ma.push(b)};_.g=MK.prototype;_.g.Be=function(){return this.wa};_.g.jz=function(a,b){"string"===typeof a&&null===this.rootId&&(this.rootId=a,this.p_.callback(a),a.length&&this.l6a(a,b||null))};_.g.l6a=function(){};
_.g.ou=function(){return this.rootId};_.g.jk=function(){return this.Zf};var UIc=function(a){if(!a.ha)throw Error("Cg");return a.ha},VIc=function(a,b){a.ha=b};MK.prototype.MB=function(){return this.Fa||this.connectionState.isConnected()};MK.prototype.Gj=function(){return this.Ba};MK.prototype.uk=function(){return this.connectionState};MK.prototype.UPb=function(a){this.xQ.callback(a)};
var RIc=function(a){var b=a.Vc.Tf();0===_.oe(b,30).length&&(a.log("No user pref namespaces provided, user prefs disabled."),_.u(b,19,3));if(!_.y(b,37,""))throw Error("Dg");_.x(b,57)||(a.log("No root URI provided; using prod default."),_.u(b,57,"https://clients6.google.com"));if(_.Q(_.QK(a.Vc),9,!1))if(b=_.zb(_.QK(a.Vc),OK,11),0<b.length){if(!_.x(b[0],1)||!b[0].getKey()&&!_.OJ(a.Vc)&&!_.Q(a.Vc,10,!1))throw Error("Eg");}else _.u(_.QK(a.Vc),9,!1),a.log("Disabling IndexedDB support, missing configuration.");
if(!_.Q(_.QK(a.Vc),9,!1)&&(_.OJ(a.Vc)||_.Q(a.Vc,10,!1)))throw Error("Fg");var c=_.VH(a.Vc);b=!(!c||!_.FH(c));c=c&&_.MJ(c)||"";if(!b&&!c)throw Error("Gg");b&&_.tj(a.Vc,44);_.zb(a.Vc,_.Df,44).forEach(function(d){try{Qtc(a.wm,d)}catch(e){if(e instanceof _.Uc&&(d=e.ug)&&3===d.wv())throw Error("Hg");throw e;}})};MK.prototype.vJ=function(a){this.dispatchEvent(new _.Vc(new _.Uc(void 0,a)))};MK.prototype.log=function(a){this.Be().info("drive.ds.sync.ThinContext",a)};
var WIc=function(a,b){this.H=a;this.Ne=b};
var XIc=new Set([5,4,1,6,2]),YIc=new Map([[3,1],[7,1],[2,2],[4,2],[5,3],[1,4],[6,5]]),ZIc=function(a,b,c){_.yi.call(this);this.ha=a;this.V=b;this.W=c;this.VF=new Map;this.O=new Map;this.status=6;this.H=null};_.J(ZIc,_.yi);
ZIc.prototype.yQ=function(a,b,c,d){var e=this;if((d=void 0===d?!1:d)&&!c.length){var f=new Set;a.forEach(function(q){(q=(q=q.getKey())&&_.Lo(q))&&f.add(q)});[].concat(_.ec(f.values())).forEach(function(q){return void c.push(q)})}if(c.length){var h=XIc.has(b),k=new Map;c.forEach(function(q){k.set(q,new Map)});a.forEach(function(q){var r=q.getKey(),v=r&&_.x(r,2);r=k.get(r&&_.Lo(r));v&&r&&r.set(v,$Ic(q))});var l=0,p=0;[].concat(_.ec(k.keys())).forEach(function(q){var r=k.get(q),v=e.VF.get(q);v?h&&(r.forEach(function(z){var A=
z.getKey();(A=v.get(A&&_.x(A,2)))&&_.Aj(z,A)||l++}),[].concat(_.ec(v.values())).forEach(function(z){z=z.getKey();r.has(_.x(z,2))||p++}),e.VF.set(q,r),e.O.set(q,b)):(l+=r.size,e.VF.set(q,r),e.O.set(q,b))});this.ha.info("drive.ds.sync.userprefs.InMemoryUserPrefsCache","Loaded "+l+"/"+a.length+" user prefs from "+b+(p?" (removed "+p+")":""));if(1!==this.status||l){if(h||d)this.status=1,uL(this.V,"px2C2c");uL(this.V,"rkYxSd")}(l||p)&&aJc(this,!h)}};ZIc.prototype.kH=function(){return 0<this.VF.size};
var aJc=function(a,b){b||a.H||(a.H=_.aa.setTimeout(function(){_.aa.clearTimeout(a.H);a.H=null;a.W.update(5)},1E3));a.dispatchEvent(new _.pi("WPi0i"))};ZIc.prototype.put=function(a){var b=a.getKey(),c=b&&_.Lo(b);b=b&&_.x(b,2);if(c&&b&&(c=this.VF.get(c))){var d=c.get(b);a=$Ic(a);d&&_.Aj(a,d)||(c.set(b,a),aJc(this))}};ZIc.prototype.remove=function(a){var b=a&&_.Lo(a);a=a&&_.x(a,2);b&&a&&(b=this.VF.get(b))&&b.delete(a)&&aJc(this)};
var FIc=function(a,b){var c=[];(b||[].concat(_.ec(a.VF.keys()))).forEach(function(e){(e=a.VF.get(e))&&[].concat(_.ec(e.values())).forEach(function(f){return void c.push(f.clone())})});b=b?b.filter(function(e){return a.VF.has(e)}):[].concat(_.ec(a.VF.keys()));var d=new usc;_.sj(d,1,c);_.qj(d,2,b);return d};
ZIc.prototype.dH=function(a){var b=this,c=FIc(this,a),d=new _.Sz;d.Bc(this.status);_.Mjb(d,_.zb(c,_.Ko,1));_.E(d,4,c);var e=0;a.forEach(function(f){f=b.O.get(f);YIc.has(f)&&Infinity>YIc.get(f)&&(e=f)});return new WIc(d,e)};var $Ic=function(a){a=a.clone();a.Og()||a.Hb("");return a};
/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var bJc=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},dJc=function(a,b){return cJc(a[b])+(cJc(a[b+1])<<8)+(cJc(a[b+2])<<16)+(cJc(a[b+3])<<24)},cJc=function(a){return 127<a?a-256:a};
var NK=function(a,b,c,d,e,f){MK.call(this,a,b,c,d);var h=this;this.Ta=_.$h();this.xt=new AL;this.W=null;this.O=_.$h();this.Ia=new _.bi;this.J6=null;this.Xfa=new rwc;this.V=null;this.Za=_.$h();this.ta=new _.bi;this.gG=new Ywc;this.Jz=new Bwc;this.Aha=new ywc;this.zaa=new _.dn;this.Ka=!1;this.Wfa=new _.dn;this.H={};this.ka=null;this.Ib=new _.nf;this.Ja(this.Ib);this.Lj=e?e:new avc(this.Be());this.jk().W.O=this.Lj;this.RL=_.Q(_.QK(b),9,!1)&&Qoc()?eJc(this,b):null;this.Kv=new Htc(PK(_.VH(b)));this.JD=
fJc(this,this.RL);this.RQ=gJc(this,this.RL,b);this.Cf=new rM(this,this.Dg);this.Rs=hJc(this);(a=(a=_.w(this.Vc,_.Bk,12))&&a.getId())&&this.jz(a,6);this.pQ=new KCc(this.Vc,this.Cf.Fq,this.Lj,this.Be(),this.Rs);this.q_=new QCc(this.Be(),this.Lj,this.Rs);this.wE=new ZIc(this.Be(),this.Lj,this.Rs);this.GI=new nuc(this.Hm(),this.Be(),function(k){return void h.vJ(k)});this.uz=_.Q(this.Vc.Tf(),52,!1)?new _.jK(this.uk(),this.Hm(),this.Be(),this.jk()):null;tL(this.Lj,["mrK8ic"],function(){h.Za.promise.then(function(){vDc(h,
h.V)})});this.ONa=new Uwc(this.Vc);this.eB=new _.ekc(this.Vc,this.Cf.Xl);this.jta=new wFc(this);this.I6=new vwc(this.O.promise,this.Hm());this.kb=new zwc(this.Hm(),this.I6);this.Yfa=new Qwc(this.O.promise,this.Hm(),this.Be(),this.Vc);this.Pa=new BIc(this.Vc,this.Cf,this.vJ.bind(this),this.I6,this.kb,this.Rs,this.Xfa,this.Dg,this.ou.bind(this),this.jta,this.q_,this.wE,this.Yfa,this.gG,this.Be(),this.ONa,this.eB,this.GI,this.uz,this.Gj(),this.Nqb.bind(this),this.jk(),f);this.Ta.resolve(this.Pa);this.NKa=
new gFc(this);tL(this.Lj,["BNEDtc"],function(){return h.Wfa.resolve()});TIc(this,function(){h.Rs.KS();return _.Xh()})};_.J(NK,MK);
var eJc=function(a,b){var c=_.MJ(_.VH(b)),d=_.NJ(b),e=function(){},f=_.zb(_.QK(b),OK,11);f=f[0]&&_.x(f[0],1);var h=new Jxc(c,d,_.Bj(_.QK(b),10,0)||0,f||"",_.TJ(a.Dg));_.OJ(b)?c=dyc(c,d).then(function(l){return l?l:h}):_.Q(b,10,!1)&&0<_.Bj(_.QK(b),8,432E6)?(b=iJc(a,c),c=dyc(c,d,b).then(function(l){return l&&(e=function(p){return p.Il(h).mg(function(){return null})},!l.ha)?l:h})):c=_.Xh(h);var k=new JL(c,a.Be(),a.jk());k.initialize().then(function(){return e(k)},function(){return null});return k},iJc=
function(a,b){var c=_.Bj(_.QK(a.Vc),8,432E6);if(!_.OJ(a.Vc)&&0<c){a=Math;var d=a.abs;b=_.Bma(b);var e=0,f=b.length,h={a:-1640531527,b:-1640531527,c:314159265},k;for(k=f;12<=k;k-=12,e+=12)h.a+=dJc(b,e),h.b+=dJc(b,e+4),h.c+=dJc(b,e+8),bJc(h);h.c+=f;switch(k){case 11:h.c+=b[e+10]<<24;case 10:h.c+=(b[e+9]&255)<<16;case 9:h.c+=(b[e+8]&255)<<8;case 8:h.b+=dJc(b,e+4);h.a+=dJc(b,e);break;case 7:h.b+=(b[e+6]&255)<<16;case 6:h.b+=(b[e+5]&255)<<8;case 5:h.b+=b[e+4]&255;case 4:h.a+=dJc(b,e);break;case 3:h.a+=
(b[e+2]&255)<<16;case 2:h.a+=(b[e+1]&255)<<8;case 1:h.a+=b[e]&255}b=bJc(h);return d.call(a,b)%c}};NK.prototype.gz=function(a){var b=this;return this.RL?this.RL.Ff()?_.Yh(Error("Ig`"+Qxc(this.RL))):qyc(this.JD).then(function(c){var d=b.RL,e=[];e.push(b.Rs.sYa());e.push(a?d.Il():$xc(d));if(a===c)return _.Zh(e).then(function(){return!1});!1===a&&(e.push(Pxc(d)),(c=b.ou())&&e.push(b.JD.jz(c)));return _.Zh(e).then(function(){return b.JD.gz(a)},function(){return!1})}):_.Yh(Error("Jg"))};
var gJc=function(a,b,c){var d=null;b&&(d=new hxc(b,c,function(e){a.vJ(e)},a.jk()),d.initialize());return d},fJc=function(a,b){var c=new pyc(b||void 0);c.ou().then(function(d){d&&a.jz(d,5)});b&&(qyc(c).then(function(d){a.Gj().gz(d)}),_.Zh([b.initialize(),a.YX.promise]).then(function(){jJc(a,c)},function(){}));return c},jJc=function(a,b){tyc(b).then(function(c){(!c||c<Date.now()-864E5)&&gyc(_.MJ(_.VH(a.Vc)),_.NJ(a.Vc),a.Be()).then(function(d){d&&(d=Date.now(),b.set(nyc,d))},function(){})})},hJc=function(a){if(!a.RQ)return new QIc;
var b=new CIc(a,a.Dg);a.Ib.listen(a.Gj(),"ub",function(c){return void b.setActive(!c.Me())});a.Ib.listen(a.uk(),[].concat(_.ec(Object.values(_.OB))),function(){return void b.setActive(a.uk().isConnected())});return b};NK.prototype.JY=function(a){this.J6=a;this.Ia.callback(a)};var nM=function(a){return a.Ia.an()},ACc=function(a){return a.RL?a.RL.Ff():null},kJc=function(a,b){a.Lj.H("NSockf")?uL(a.Lj,b):tL(a.Lj,["NSockf"],function(){uL(a.Lj,b)})};
NK.prototype.l6a=function(a,b){this.log("Setting Root ID: "+a);a&&(this.xt.jz(a),this.wm.jz(a),6!==b&&1!==b||this.JD.jz(a),kJc(this,"jroI5d"))};NK.prototype.tXa=function(){return this.ta.an()};var vDc=function(a,b,c){0>b||((void 0===c?0:c)?a.V?a.V=Math.max(a.V,b):(a.V=b,a.Za.resolve()):a.ta.Xf()||(a.ta.callback(b),kJc(a,"T8oKm")))},VCc=function(a){if(!a.W)throw Error("Kg");return a.W};_.g=NK.prototype;_.g.AR=function(){return this.Pa};_.g.Hm=function(){return this.Ta.promise.then(function(a){return a.cpa.promise})};
_.g.VEa=function(){this.Ka||(this.Ka=!0,this.zaa.resolve(),uL(this.Lj,"aU7Ts"))};_.g.MB=function(){throw Error("Lg");};_.g.Nqb=function(a){this.dispatchEvent(a)};var lJc=function(a,b){NEc(a.Cf,b)},mJc=function(a,b,c){a.H[b]=c},tCc=function(a){a.ka||(a.ka=new Hwc(a.O.promise,a.Hm(),a.Be()));return a.ka};
var vM=function(a,b,c){_.yi.call(this);var d=this;this.Fa=a;this.logName=b;this.wa=_.$h();this.Ba=this.channel=this.clientId=null;c.then(function(e){return nJc(d,e)})};_.J(vM,_.yi);var nJc=function(a,b){a.clientId=b.clientId;a.channel=b.channel;a.Ba=b.H;lL(a.channel,a.Fa,function(c){c=fuc(c);a.faa(c.O,!(!c.data||!c.H),c.data,c.error)});a.log("Service initialized: "+a.Fa);a.wa.resolve()};vM.prototype.faa=function(){};
vM.prototype.send=function(a,b,c,d){var e=this,f=_.$h();this.wa.promise.then(function(){var h=e.channel;mL(h,e.Fa,buc(new auc(e.clientId,a,b,d),h.W),function(k){return void oJc(k,a,f,c||function(){})})});return f.promise};var oJc=function(a,b,c,d){a=fuc(a);a.data?c.resolve(d(a.data,a.H)):(a.error?d=a.error:(d=new _.Tc,_.kI(d,2),_.lI(d,6),_.u(d,21,"Worker["+b+"]: An invalid response was received")),c.reject(new _.Uc(void 0,d)))};vM.prototype.log=function(a){this.Ba&&this.Ba.info(this.logName,a)};
var pJc=function(a,b,c,d){this.clientId=a;this.channel=b;this.H=c;this.O=d};
var wM=function(a,b){_.L.call(this);this.V=a;this.wa=b;this.Ka=this.jV()};_.J(wM,_.L);wM.prototype.registerService=function(a){var b=this;lL(a,this.V,function(c){return b.Yw(c)})};
wM.prototype.Yw=function(a){var b=this;a=cuc(a);var c=a.H,d=this.Ka[a.method],e=null;if(d)try{var f=d(a);if(f instanceof duc)return euc(f,c);if(f.then)return f.then(function(h){return euc(h,c)},function(h){h=_.mI(h);return euc(b.ad(void 0,h),c)})}catch(h){e=_.CI(h)}f=new _.Tc;_.kI(f,2);_.lI(f,3);_.Gp(f,this.V+":"+a.method+": "+(e?e.message:"unsupported method"));e&&e.stack&&_.u(f,20,e.stack);return euc(this.ad(void 0,f),c)};
wM.prototype.ad=function(a,b,c){if(a&&!b)return new duc(a,void 0,c);a=_.mI(b);return new duc(void 0,a,c)};wM.prototype.update=function(a,b,c,d){(a=this.wa.channels[a]||null)&&mL(a,this.V,euc(this.ad(c,d,b),a.W))};
var qJc=function(){this.channels={};this.H=this.O=this.V=0},rJc=function(a,b){var c=a.V++;a.channels[c]=b;a.O++;a.H=Math.max(a.H,_.Va(a.channels));return c},sJc=function(a,b){var c=a.channels[b];return c?(delete a.channels[b],c):null};
var tJc=function(a,b){wM.call(this,"LRM",b);this.context=a;this.H={};a=this.context;a.W=this;a.O.resolve(this);this.ha=this.context.Cf;this.O=this.context.Yfa;this.W=tCc(this.context);this.ka=this.context.I6};_.J(tJc,wM);
tJc.prototype.jV=function(){var a=this,b={};return b["4.1"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.Df);return a.Zh(d,c)},b["4.9"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.GH);return a.Zh(d,c)},b["4.2"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.NF);return a.Zh(d,c)},b["4.10"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.SF);return a.Zh(d,c)},b["4.3"]=function(c){var d=c.clientId+":"+c.requestId;
c=KK(c.args[0],!!c.H,_.Df);return a.$j(d,c)},b["4.11"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.GH);return a.$j(d,c)},b["4.4"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.NF);return a.$j(d,c)},b["4.12"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.SF);return a.$j(d,c)},b["4.5"]=function(c){var d=c.clientId+":"+c.requestId,e=KK(c.args[0],!!c.H,_.NF);c=KK(c.args[1],!!c.H,_.NF);return a.sZ(d,e,c)},b["4.6"]=function(c){var d=c.clientId+
":"+c.requestId,e=KK(c.args[0],!!c.H,_.SF);c=KK(c.args[1],!!c.H,_.SF);return a.sZ(d,e,c)},b["4.7"]=function(c){return a.UF(c)},b["4.8"]=function(c){return a.UF(c)},b["4.13"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.Wz);return a.Zh(d,c)},b["4.14"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.TF);return a.Zh(d,c)},b["4.15"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.Wz);return a.$j(d,c)},b["4.16"]=function(c){var d=c.clientId+
":"+c.requestId;c=KK(c.args[0],!!c.H,_.TF);return a.$j(d,c)},b["4.18"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.$F);return a.Zh(d,c)},b["4.19"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.$F);return a.$j(d,c)},b["4.22"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.Uz);return a.Zh(d,c)},b["4.23"]=function(c){var d=c.clientId+":"+c.requestId;c=KK(c.args[0],!!c.H,_.Uz);return a.$j(d,c)},b["4.21"]=function(c){c=a.H[c.clientId+":"+
c.requestId].query;if(c instanceof _.Uz){var d=a.W;pwc(d,d.getKey(c)).refresh()}return a.ad([])},b};tJc.prototype.Zh=function(a,b){var c=this,d=new _.dn;this.H[a]={query:b,gVb:d.promise};b instanceof _.Wz?d.resolve(this.O.Zh(a,b)):b instanceof _.TF?d.resolve(nwc(this.O,a,b)):b instanceof _.Uz?d.resolve(this.W.Zh(a,b)):b instanceof _.$F?d.resolve(this.ka.Zh(a,b)):d.resolve(this.ha.Zh(a,b));return d.promise.then(function(){return c.ad([])})};tJc.prototype.$j=function(a,b){uJc(this,a,b);return this.ad([])};
var uJc=function(a,b,c){delete a.H[b];c instanceof _.Wz?a.O.$j(b,c):c instanceof _.TF?owc(a.O,b,c):c instanceof _.Uz?a.W.$j(b,c):c instanceof _.$F?a.ka.$j(b,c):a.ha.$j(b,c)};_.g=tJc.prototype;_.g.sZ=function(a,b,c){uJc(this,a,b);return this.Zh(a,c)};_.g.UF=function(a){var b=a.clientId+":"+a.requestId,c=this.H[b].query;c.Fi(a.args[0]);c instanceof _.Wz?this.O.Zh(b,c):c instanceof _.TF?nwc(this.O,b,c):c instanceof _.Uz?this.W.Zh(b,c):c instanceof _.$F?this.ka.Zh(b,c):this.ha.Zh(b,c);return this.ad([])};
_.g.CO=function(a,b){var c=this,d=this.H[a];if(d){a=a.split(":");var e=_.rh(a[0]),f=a[1];d.gVb.then(function(h){b instanceof _.hK||b instanceof _.eK?c.update(e,f,[b.response,b.pageToken,b.H,b.Ne,h]):(d.query instanceof _.Df?Wmc(d.query.H(),b.zd().filter(function(k){return!hL(k)})):d.query instanceof _.NF&&Wmc(d.query.H(),Object.values(b.et()).filter(function(k){return k&&!hL(k)})),c.update(e,f,[b,h]))})}};
_.g.jY=function(a,b){if(this.H[a]){var c=a.split(":");a=_.rh(c[0]);c=c[1];var d=b.error;d.Ufa(b.retryCount);this.update(a,c,void 0,d)}};_.g.AA=function(a){this.H[a]&&(a=a.split(":"),this.update(_.rh(a[0]),a[1],["cacheRefresh"]))};_.g.A9=function(){};_.g.gla=function(a){if(!this.H[a])throw Error("mg`"+a);return this.H[a].query};var vJc=function(a,b){_.Ra(a.H,function(c,d){_.rh(d.split(":")[0])===b&&uJc(a,d,c.query)})};
var wJc=function(a,b,c){vM.call(this,"LRM","drive.ds.sync.cache.LiveRequestManagerProxy",a);this.context=b;this.H=c;this.O={}};_.J(wJc,vM);wJc.prototype.Mxa=function(a){var b=this;a=new fCc(this.context.wm,this.context.xQ,this.context.Be(),this.context.Vc,function(c,d){return b.UF(c,d)},a,this.context.jk());xJc(this,a);return a};wJc.prototype.Pxa=function(a){var b=this;a=new jCc(this.context.wm,this.context.xQ,this.context.Be(),function(c,d){return b.UF(c,d)},a,this.context.Vc);xJc(this,a);return a};
var xJc=function(a,b){a.Zh(b);_.df(b,function(){a.$j(b);a.send("4.3",[b.jd()],void 0,b.Mi())});a.send("4.1",[b.jd()],void 0,b.Mi())};_.g=wJc.prototype;_.g.Jxa=function(a){var b=this,c=new psc(this.context.Vc,this.context.wm,this.context.Be(),this.context.p_,this.sZ.bind(this),a);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.4",[c.jd()],void 0,c.Mi())});this.send("4.2",[c.jd()],void 0,c.Mi());return c};
_.g.Sxa=function(a){var b=this,c=new nCc(this.context.Be(),a,this,this.context.Vc);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.11",[c.jd()],void 0,c.Mi())});this.send("4.9",[c.jd()],void 0,c.Mi());return c};_.g.Txa=function(a){var b=this,c=new oCc(this.context,this,a);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.12",[c.jd()],void 0,c.Mi())});this.send("4.10",[c.jd()],void 0,c.Mi());return c};
_.g.Wxa=function(a){var b=this,c=new rCc(this.context,a,this);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.15",[c.jd()],void 0,c.Mi())});this.send("4.13",[c.jd()],void 0,c.Mi());return c};_.g.Xxa=function(a){var b=this,c=new iCc(this.context.Be(),a);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.16",[c.jd()],void 0,c.Mi())});this.send("4.14",[c.jd()],void 0,c.Mi());return c};
_.g.Qxa=function(a){var b=this,c=new mCc(this.context,a,function(){b.send("4.21",[],void 0,c.Mi())});this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.23",[c.jd()],void 0,c.Mi())});this.send("4.22",[c.jd()],void 0,c.Mi());return c};_.g.Fxa=function(a){var b=this,c=new dCc(this.context.Gj(),this.context.uk(),this.context.Be(),function(d,e){return b.UF(d,e)},a);this.Zh(c);_.df(c,function(){b.$j(c);b.send("4.19",[c.jd()],void 0,c.Mi())});this.send("4.18",[c.jd()],void 0,c.Mi());return c};
_.g.Zh=function(a){this.H.create(a.Mi(),a.jd());this.O[a.Mi()]=a};_.g.$j=function(a){nL(this.H,a.Mi(),4);delete this.O[a.Mi()]};_.g.sZ=function(a,b,c){if(b instanceof _.NF&&c instanceof _.NF)this.send("4.5",[b,c],void 0,a);else if(b instanceof _.SF&&c instanceof _.SF)this.send("4.6",[b,c],void 0,a);else throw Error("Mg");};
_.g.UF=function(a,b){if(!this.O[a])throw Error("mg`"+a);var c=this.O[a];if(c.jd()instanceof _.Df)var d="4.7";else if(c.jd()instanceof _.GH)d="4.8";else if(c.jd()instanceof _.$F)d="4.20";else if(c.jd()instanceof _.Wz)d="4.17";else throw Error("Ng");c.jd().Fi(b);this.send(d,[b],void 0,a)};
_.g.faa=function(a,b,c,d){if(a=this.O[a]){var e,f=0;if(d)a.HB(new DL(d,d.t6())),nL(this.H,a.Mi(),3);else if(c&&c[f]){d=c[f++];if("cacheRefresh"===d){a.GW();return}var h=a.jd();if(h instanceof _.Df||h instanceof _.GH)h instanceof _.Df&&_.$I(h)?e=KK(d,b,_.bK):e=KK(d,b,_.UH);else if(h instanceof _.NF||h instanceof _.SF)b?(e=new _.aK,jsc(e,function(k){return new _.Bk(JSON.parse(k))},d)):e=d;else if(h instanceof _.$F)e=new _.eK(KK(d,b,qL),c[f++],c[f++],c[f++]);else if(h instanceof _.Wz)e=new _.hK(KK(d,
b,sL),c[f++],c[f++],c[f++]);else if(h instanceof _.TF)e=KK(d,b,_.cK);else if(h instanceof _.Uz)e=KK(d,b,dL);else throw Error("Og");}e&&(b=f,c&&"boolean"===typeof c[b]&&wuc(this.H,a.Mi(),!!c[b]),zuc(this.H,a.Mi(),e),a.update(e))}};
var xM=function(){_.yi.apply(this,arguments);this.commands=new _.Kk;this.ha=this.active=this.hp=!1};_.J(xM,_.yi);xM.prototype.initialize=function(){this.hp||(this.hp=!0,this.V(),this.setActive(!0))};xM.prototype.V=function(){};xM.prototype.setActive=function(a){this.active=a;yJc(this)};var yJc=function(a){if(a.active&&!a.ha){var b=_.Lk(a.commands);if(b)if(a.wa()){do a.ka(b);while(b=_.Lk(a.commands))}else a.ha=!0,_.ai(a.Ba(b),function(){a.ha=!1;yJc(a)})}};xM.prototype.ka=function(){};
xM.prototype.Ba=function(){};xM.prototype.wa=function(){return!0};xM.prototype.enqueue=function(a){try{var b=new _.bi;this.commands.enqueue(new zJc(a,b));yJc(this);return b}catch(c){return _.ii(_.CI(c))}};var zJc=function(a,b){this.H=a;this.Ze=b};zJc.prototype.getCommand=function(){return this.H};zJc.prototype.QG=function(){return this.Ze};
var CJc=function(a){xM.call(this);var b=this;this.context=a;this.O=null;this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.context,"VMiG2e",function(){return void AJc(b)});this.H=this.context.Cf.Fq;_.dI(this.context.Vc)&&this.Nc.listen(this.H,"yb",this.W);var c=a.Lj;tL(c,["toquGd"],function(){return b.initialize()});var d=["NSockf"];1!==_.oj(a.Vc.Tf(),17,1)&&(d.push("iuEtc"),tL(c,["mrK8ic"],function(){uL(c,"iuEtc")}));tL(c,d,function(){BJc(b)})};_.J(CJc,xM);CJc.prototype.V=function(){DJc(this)};
var BJc=function(a){if(1===a.context.pQ.Df().Cb())Promise.resolve();else{var b=_.Qf(_.Rf(new _.Pf,!0),301);b=_.XH(new _.WH,b);a.refresh(b).then(null,function(c){c=_.mI(c);_.u(c,21,"Initial account request failed.");a.context.vJ(c)})}},AJc=function(a){var b=_.Qf(new _.Pf,304);b=_.XH(new _.WH,b);a.refresh(b).then(null,function(){})};
CJc.prototype.refresh=function(a,b){var c=this;this.O||(this.O=_.ai(this.context.Hm().then(function(d){return d.Oe(a,b)}).then(function(d){var e=d.Df(),f=e.getUser();if(f&&!1===_.ok(f))d=_.nI(_.VH(c.context.Vc)),d=Error("Pg`"+d+"`"+CK(f)),_.Mb(d),_.iK(c.context.jk(),73301807),d=Promise.reject(d);else{f=c.context.pQ;var h=0===f.Ve()?1:6;_.dI(c.context.Vc)&&Tvc(c.H,e);h=MCc(f,e,h);(e=e.getMetadata())&&c.context.jz(_.x(e,2),1);(d=_.x(d,4))&&vDc(c.context,d,!0);h&&c.dispatchEvent(new _.pi("WPi0i"));d=
Promise.resolve(new _.gK(f.Df(),f.Ve(),!1))}return d}).then(function(d){return d},function(d){d=_.mI(d);_.u(d,5,1);return Promise.reject(new _.Uc("Error fetching account from server.",d))}),function(){c.O=null}));return this.O};
CJc.prototype.ka=function(a){var b=a.getCommand();if(b.H){var c={};b.QD&&(c.QD=b.QD);this.refresh(b.request,c).then(function(e){return a.QG().callback(e)},function(e){return void a.QG().Ed(e)})}else if(b=this.context.pQ,c=b.Df(),_.dI(this.context.Vc)){c=c.Df();var d=c.getUser();d=Fvc(this.H.H,CK(d));Tvc(this.H,c);MCc(b,c,b.Ve())&&this.dispatchEvent(new _.pi("WPi0i"));a.QG().callback(new _.gK(b.Df(),b.Ve(),d))}else c.Cb(),b=new _.gK(c,b.Ve(),!0),a.QG().callback(b)};
var DJc=function(a){var b=a.context.Vc.Tf();_.aa.setTimeout(function(){var c=_.Qf(new _.Pf,306);c=_.XH(new _.WH,c);a.refresh(c).then(function(){DJc(a)},function(){DJc(a)})},Math.ceil(_.Bj(b,7,9E5)*Math.random())+_.Bj(b,3,72E5))};CJc.prototype.W=function(a){var b=this.context.pQ,c=b.Df().Df();c&&a.getPeople().find(function(d){return _.x(d,1)===CK(c.getUser())})&&(Tvc(this.H,c),MCc(b,c,b.Ve())&&this.dispatchEvent(new _.pi("WPi0i")))};var EJc=function(a,b,c){this.request=a;this.H=!!b;this.QD=c||null};
var GJc=function(a){xM.call(this);this.context=a;this.ta=this.W=!1;this.O=null;this.H=1;this.ma=0;this.error=null;this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.context.q_,"Kb",_.fb(this.dispatchEvent,new _.pi("Kb",this)));FJc(this)};_.J(GJc,xM);
var FJc=function(a){var b=a.context.Lj;tL(b,["nVUlO"],function(){a.ta=!0;a.setActive(!0)});if(!_.OJ(a.context.Vc)){var c=_.oj(a.context.Vc.Tf(),18,1);tL(b,["NSockf"],function(){1===c?HJc(a):a.setActive(!0)});2===c&&tL(b,["mrK8ic"],function(){a.W||HJc(a)})}},HJc=function(a){var b=new _.Pf;_.Rf(b,!0);_.Qf(b,301);var c=new _.cJ;_.Brc(c,b);_.u(c,1,1);a.refresh(c).mg(function(){return null})};
GJc.prototype.refresh=function(a,b){var c=this;_.aa.clearTimeout(this.ma);this.ma=0;var d=_.$h();this.O=d.promise;_.ai(this.O,function(){c.O=null;IJc(c)});var e=this.H;this.H=a.getType()||e;var f=!this.W;this.W=!0;var h=new _.cJ;_.u(h,1,this.H);_.Brc(h,a.se());this.context.Hm().then(function(k){return k.Oe(h,b)}).then(function(k){c.error=null;var l=c.context.q_;l.yQ(k,l.kH()?6:1);d.resolve()},function(k){c.H=e;k=_.Yc(k);var l=k.ug;_.u(l,5,2);f?(_.kI(l,1),k.message="Initial app settings refresh failed.",
_.u(k.ug,21,"Initial app settings refresh failed."),c.context.vJ(l),c.setActive(!0)):(_.kI(l,2),k.message="Error occurred while loading the latest set of apps.",_.u(k.ug,21,"Error occurred while loading the latest set of apps."));c.error=k;d.reject(k)});return this.O};GJc.prototype.wa=function(){return!1};
GJc.prototype.Ba=function(a){var b=this,c=a.getCommand(),d=c.request,e=c.Yja,f=c.QD?{QD:c.QD}:void 0;if(!JJc(d))return this.context.Hm().then(function(l){return l.Oe(d,f)}).then(function(l){a.QG().callback(new _.dK(l,1,!1))},function(l){a.QG().Ed(_.CI(l))}),_.Xh();c=_.Xh();var h=!1;this.O?KJc(this,d.getType())?e=this.O:c=e=new _.Wh(function(l,p){b.O.then(function(){b.refresh(d,f).then(function(){return l()},p)})}):!e&&this.ta&&KJc(this,d.getType())&&!this.error?(h=!0,e=_.Xh()):e=this.refresh(d,f);
var k=a.QG();e.then(function(){var l=b.context.q_;k.callback(new _.dK(l.bs(),l.Ve(),h))},function(l){k.Ed(l)});return c.then()};
var JJc=function(a){var b=a.getType();return 1===b||2===b||4===b?(b=_.oe(a,4),a=_.oe(a,3),!(b&&b.length)&&!(a&&a.length)):!1},KJc=function(a,b){return a.H===b||4===a.H||2===a.H&&1===b},IJc=function(a){var b=a.context.Vc.Tf(),c=new _.Pf;_.Qf(c,306);var d=new _.cJ;_.u(d,1,1);_.Brc(d,c);a.ma=_.aa.setTimeout(function(){return void a.refresh(d)},Math.ceil(_.Bj(b,7,9E5)*Math.random())+_.Bj(b,4,72E5))},LJc=function(a,b,c){this.request=a;this.Yja=!!b;this.QD=c||null};
var NJc=function(a){xM.call(this);var b=this;this.context=a;this.error=null;this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.context.wE,"WPi0i",function(){return b.dispatchEvent(new _.pi("WPi0i"))});this.H=_.$h();this.O=_.oe(this.context.Vc.Tf(),30);MJc(this)};_.J(NJc,xM);
var MJc=function(a){var b=a.context.Lj;tL(b,["rkYxSd"],function(){return a.initialize()});tL(b,["px2C2c"],function(){a.context.Be().info("drive.ds.sync.userprefs.UserPrefsManager","All user prefs loaded.");a.H.resolve();a.H=null});var c=["NSockf"],d=_.oj(a.context.Vc.Tf(),19,1);1!==d&&(c.push("OZvrNc"),2===d&&tL(b,["mrK8ic"],function(){uL(b,"OZvrNc")}));!_.Q(a.context.Vc,11,!1)&&_.Q(a.context.Vc,24,!1)&&(c.push("DEJoH"),_.aa.setTimeout(function(){0<_.zb(FIc(a.context.wE),_.Ko,1).length||(b.H("NSockf")?
uL(b,"DEJoH"):tL(b,["NSockf"],function(){uL(b,"DEJoH")}))},12E3));tL(b,c,function(){if(!b.H("px2C2c")){var e=new _.Pf;_.Rf(e,!0);_.Qf(e,301);var f=new _.fD;_.E(f,1,e);koc(f,OJc(a));a.query(f).mg(function(){a.initialize()})}})};NJc.prototype.V=function(){var a="User prefs detected: "+_.zb(FIc(this.context.wE),_.Ko,1).length;this.context.Be().info("drive.ds.sync.userprefs.UserPrefsManager",a);PJc(this)};
NJc.prototype.query=function(a,b){var c=this,d=b?{QD:b}:void 0;return this.context.Hm().then(function(e){return e.Oe(a,d)}).then(function(e){c.error=null;var f=c.context.wE;f.yQ(_.zb(e,_.Ko,3),f.kH()?6:1,_.oe(a,3))}).then(null,function(e){e=_.Yc(e);_.u(e.ug,5,4);0<c.commands.$b()||c.context.vJ(e.ug);c.error=e;throw e;})};
NJc.prototype.ka=function(a){var b=this,c=a.getCommand(),d=a.QG(),e=new Set([].concat(_.ec(this.context.wE.VF.keys()))),f=_.oe(c.request,3);f.find(function(h){return!e.has(h)})&&(c.Yja=!0);this.error?d.Ed(this.error):c.Yja?(koc(c.request,OJc(this,f)),_.ai(this.H?this.H.promise:this.query(c.request,c.QD||void 0),function(){b.getData(d,f,!1)})):this.getData(d,f,!0)};var OJc=function(a,b){b=void 0===b?[]:b;a=new Set([].concat(_.ec(a.O),_.ec([].concat(_.ec(a.context.wE.VF.keys()))),_.ec(b)));return[].concat(_.ec(a.values()))};
NJc.prototype.getData=function(a,b,c){b=this.context.wE.dH(b);a.callback(new _.fK(b.H,b.Ne,c))};var PJc=function(a){var b=a.context.Vc.Tf();_.aa.setTimeout(function(){var c=new _.fD,d=new _.Pf;_.Qf(d,306);_.E(c,1,d);koc(c,OJc(a));_.ai(a.query(c).mg(_.ig),function(){PJc(a)})},Math.ceil(_.Bj(b,7,9E5)*Math.random())+_.Bj(b,5,72E5))},QJc=function(a,b,c){this.request=a;this.Yja=!!b;this.QD=c||null};
var RJc=function(a,b,c,d){wM.call(this,"IS",b);this.context=a;this.Nc=new _.nf(this);this.Ba=_.$h();this.O=null;this.ha=!1;this.W=null;this.Fa=new zCc(a);joc(this.Fa);this.Ja(this.Nc);this.ka=new CJc(a);this.Ja(this.ka);this.Nc.listen(this.ka,"WPi0i",function(){return c(new $Bc(1))});this.ma=new GJc(a);this.Ja(this.ma);this.Nc.listen(this.ma,"Kb",function(){return c(new $Bc(2))});this.ta=new NJc(a);this.Ja(this.ta);this.Nc.listen(this.ta,"WPi0i",function(){return c(new $Bc(4))});this.Ia=d;this.H=
this.context.Hm()};_.J(RJc,wM);_.g=RJc.prototype;
_.g.jV=function(){var a={};return a["3.43"]=this.Z_.bind(this),a["3.42"]=this.j8.bind(this),a["3.1"]=this.yN.bind(this),a["3.2"]=this.dH.bind(this),a["3.3"]=this.hd.bind(this),a["3.35"]=this.cO.bind(this),a["3.4"]=this.NC.bind(this),a["3.5"]=this.bs.bind(this),a["3.6"]=this.CS.bind(this),a["3.8"]=this.Il.bind(this),a["3.36"]=this.gz.bind(this),a["3.9"]=this.zF.bind(this),a["3.10"]=this.ur.bind(this),a["3.11"]=this.Eaa.bind(this),a["3.12"]=this.O8.bind(this),a["3.13"]=this.AT.bind(this),a["3.14"]=
this.Caa.bind(this),a["3.15"]=this.Q8.bind(this),a["3.16"]=this.mu.bind(this),a["3.17"]=this.jFb.bind(this),a["3.18"]=this.nFb.bind(this),a["3.19"]=this.EQ.bind(this),a["3.20"]=this.lFb.bind(this),a["3.25"]=this.kFb.bind(this),a["3.22"]=this.P8.bind(this),a["3.28"]=this.sync.bind(this),a["3.30"]=this.roa.bind(this),a["3.29"]=this.mzb.bind(this),a["3.40"]=this.pFb.bind(this),a["3.33"]=this.qFb.bind(this),a["3.39"]=this.nP.bind(this),a["3.37"]=this.oFb.bind(this),a["3.38"]=this.Dbb.bind(this),a["3.41"]=
this.ES.bind(this),a["3.44"]=this.A0.bind(this),a["3.45"]=this.yo.bind(this),a["3.46"]=this.k8.bind(this),a};_.g.yN=function(a){var b=this,c=KK(a.args[0],!!a.H,_.WH);a=new EJc(c,a.args[1],this.context.H[a.clientId]);uL(this.context.Lj,"iuEtc");return this.ka.enqueue(a).then(function(d){return b.ad([d.response,d.Ne,d.p0])},function(d){return b.ad(void 0,d)})};
_.g.dH=function(a){var b=this,c=KK(a.args[0],!!a.H,_.fD);a=new QJc(c,a.args[1],this.context.H[a.clientId]);uL(this.context.Lj,"OZvrNc");return this.ta.enqueue(a).then(function(d){return b.ad([d.response,d.Ne,d.p0])},function(d){return b.ad(void 0,d)})};
_.g.hd=function(a){var b=this,c=KK(a.args[0],!!a.H,Gnc),d=_.Ej(c,_.EI,16,HK)||_.Ej(c,_.FI,1,HK)||_.Ej(c,_.GI,2,HK)||_.Ej(c,_.JI,3,HK)||_.Ej(c,_.kK,4,HK)||_.Ej(c,_.HI,5,HK)||_.Ej(c,_.NI,6,HK)||_.Ej(c,_.PI,7,HK)||_.Ej(c,_.QI,8,HK)||_.Ej(c,_.TI,9,HK)||_.Ej(c,_.fJ,18,HK)||_.Ej(c,_.jJ,10,HK)||_.Ej(c,_.oJ,11,HK)||_.Ej(c,_.pJ,12,HK)||_.Ej(c,_.oI,13,HK)||_.Ej(c,_.sJ,14,HK)||_.Ej(c,_.tJ,15,HK)||_.Ej(c,IK,17,HK),e=yM(this,a);return this.H.then(function(f){return f.Oe(d,e)}).then(function(f){return b.ad([f])},
function(f){return b.ad(void 0,f)})};_.g.cO=function(a){var b=this,c=KK(a.args[0],!!a.H,Pnc),d=_.Ej(c,_.KI,1,Qnc)||_.Ej(c,_.RI,2,Qnc)||_.Ej(c,_.uJ,3,Qnc),e=yM(this,a);return this.H.then(function(f){return f.Oe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.NC=function(a){var b=this,c=KK(a.args[0],!!a.H,Jnc),d=yM(this,a),e=[],f=[];Lnc(c).forEach(function(h){h instanceof _.EI?e.push(String(h.qc())):e.push(String(h.getId()));f.push(b.H.then(function(k){return k.Oe(h,d)}))});a=_.$H(f).then(function(h){return h.map(function(k){return k.value||k.reason})});_.ai(a,function(){return void eFc(b.context.Cf)});return a.then(function(h){return b.ad([new vnc(e,h)])})};
_.g.bs=function(a){var b=this,c=KK(a.args[0],!!a.H,_.cJ),d=a.args[1];if(3===c.getType())if(!d&&this.W)a=this.W;else{var e=yM(this,a);a=this.H.then(function(f){return f.Oe(c,e)}).then(function(f){return new _.dK(f,1,!1)});this.W||(this.W=a.then(function(f){return new _.dK(f.response,f.Ne,!0)}),setTimeout(function(){b.W=null},9E5))}else a=new LJc(c,d,this.context.H[a.clientId]),uL(this.context.Lj,"Qubz4b"),a=this.ma.enqueue(a);return a.then(function(f){return b.ad([f.response,f.Ne,f.p0])},function(f){return b.ad(void 0,
f)})};_.g.CS=function(a){var b=this,c=KK(a.args[0],!!a.H,Mnc),d=_.Ej(c,_.gD,1,Nnc)||_.Ej(c,_.hD,2,Nnc),e=yM(this,a);return this.H.then(function(f){return f.Oe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};_.g.Il=function(a){a=a.args[0];if(this.context.uz)a?_.Qjc(this.context.uz,!0):this.context.uk().Me()&&this.context.uz.wM(!0).then(null,function(){});else try{this.context.Gj().Il(a)}catch(b){return this.ad(void 0,b)}return this.ad([])};
_.g.gz=function(a){var b=this,c=a.args[0];return this.context.gz(c).then(function(d){return d?(b.context.Gj().gz(c),b.Ia(c),b.context.Rs.tL().mg(function(){return!c})):_.Xh(!c)}).then(function(d){return b.ad([d])},function(d){return b.ad(void 0,d)})};_.g.sync=function(){var a=this;return _.Zh([this.context.zaa.promise,this.context.Wfa.promise]).then(function(){return a.context.Rs.tL()}).then(function(){return a.ad([])},function(b){return a.ad(void 0,b)})};
_.g.zF=function(){try{var a=this.context.J6;a&&a.Xoa();this.context.Aha.zF();return this.ad([])}catch(b){return this.ad(void 0,b)}};_.g.ES=function(){this.context.ES();return this.ad([])};_.g.ur=function(a){var b=this,c=KK(a.args[0],!!a.H,_.WI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.Eaa=function(a){var b=this,c=KK(a.args[0],!!a.H,_.XI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.O8=function(a){var b=this,c=KK(a.args[0],!!a.H,_.LI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.AT=function(a){var b=this,c=KK(a.args[0],!!a.H,_.qJ),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Caa=function(a){var b=this,c=KK(a.args[0],!!a.H,_.YI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return _.dI(b.context.Vc)?Xvc(b.context.Cf.Fq,[_.w(e,_.nk,2)],c.qc()).then(function(){return e}):e}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.Q8=function(a){var b=this,c=KK(a.args[0],!!a.H,_.OI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.mu=function(a){var b=this,c=KK(a.args[0],!!a.H,_.eJ),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d).then(function(f){return _.dI(b.context.Vc)?Vvc(b.context.Cf.Fq,f):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.jFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.HBc),d=new _.Mgc(c,a.args[1],a.args[2]||void 0),e=yM(this,a);return this.H.then(function(f){return f.Oe(d,e)}).then(function(f){return b.ad([f])},function(f){return b.ad(void 0,f)})};
_.g.nFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.dJ),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d).then(function(f){return _.dI(b.context.Vc)?Xvc(b.context.Cf.Fq,f.ad().lN(),c.jd().getId()).then(function(){return f}):f})}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.EQ=function(){var a=this;return(_.Q(this.context.Vc.Tf(),52,!1)?_.Xh(muc(new luc,0)):this.context.GI.EQ()).then(function(b){return a.ad([b])},function(b){return a.ad(void 0,b)})};
_.g.lFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.Lgc),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.kFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.bJ),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.P8=function(a){var b=this,c=KK(a.args[0],!!a.H,_.MI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.roa=function(a){var b=this,c=KK(a.args[0],!!a.H,_.xI),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e,null])},function(e){return b.ad([null,_.mI(e)])})};_.g.mzb=function(){return this.ad([!0])};
_.g.pFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.RF),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.qFb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.Uz),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.Z_=function(a){a=KK(a.args[0],!!a.H,_.Df);qEc(this.context.Cf,[a]);return this.ad([])};
_.g.j8=function(a){var b=this,c=KK(a.args[0],!!a.H,_.II),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.nP=function(a){var b=this,c=KK(a.args[0],!!a.H,_.cM),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return gwc(c,e)}).then(function(e){return b.ad(e)},function(e){return b.ad(void 0,e)})};
_.g.oFb=function(a){var b=this,c=new _.Tgc(KK(a.args[0],!!a.H,_.mVb),a.args[1]),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e.response,e.pageToken])},function(e){return b.ad(void 0,e)})};_.g.Dbb=function(a){var b=this,c=KK(a.args[0],!!a.H,_.MF),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};
_.g.A0=function(a){var b=this,c=KK(a.args[0],!!a.H,_.YJ),d=yM(this,a);return this.H.then(function(e){return e.Oe(c,d)}).then(function(e){return b.ad([e])},function(e){return b.ad(void 0,e)})};_.g.yo=function(a){var b=a.args.map(function(c){return KK(c,!!a.H,_.hI)});this.context.Cf.yo(b);eFc(this.context.Cf);return this.ad([])};_.g.k8=function(){var a=this,b=this.context.uz;return(b?b.wM():_.Xh(_.Ijc(0))).then(function(c){return a.ad([c])},function(c){return a.ad(void 0,c)})};
_.g.initialize=function(){var a=this;if(!this.O){this.O=_.$h();this.context.Be().info("drive.ds.sync.cacheproxy.WorkerSyncedItemService","Initializing with client build: "+this.context.Vc.Ki());this.Nc.listen(this.context,_.ed,function(e){e=e.error;var f=e.ug;f&&3===f.getType()&&!a.ha?(a.ha=!0,a.O.reject(e)):Arc(a.context.Be(),"drive.ds.sync.cacheproxy.WorkerSyncedItemService","An error occurred in the Shared Worker")});var b=this.context.Lj,c=["hVFf7"];_.OJ(this.context.Vc)&&c.push("BNEDtc");tL(b,
c,function(){a.ha||(a.ha=!0,a.O.resolve())});tL(b,["GZTDpc"],function(){return a.Ba.resolve()});var d=function(){nM(a.context).then(function(e){return void e.start()})};tL(b,["T8oKm","ZA9qG"],function(){return void d()});tL(b,["T8oKm","mrK8ic"],function(){return void d()});b.start();uL(b,"NSockf")}return this.O.promise};_.g.Rba=function(){return this.Ba.promise};_.g.Lu=function(){var a=this.context.J6;a&&a.dispose();return this.context.Lu()};
var yM=function(a,b){return(a=a.context.H[b.clientId])?{QD:a}:{}};
var SJc=function(a,b,c){wM.call(this,"DU",b);this.context=a;this.O=c;this.H=new zCc(a)};_.J(SJc,wM);_.g=SJc.prototype;
_.g.jV=function(){var a=this,b={};return b["5.1"]=function(){return a.wia()},b["5.2"]=function(c){return a.TM(c)},b["5.4"]=function(c){return a.Sz(c)},b["5.5"]=function(){return a.CR()},b["5.10"]=function(){return a.sN()},b["5.6"]=function(){return a.Kda()},b["5.7"]=function(){return a.qT()},b["5.9"]=function(c){return a.sqa(c)},b["5.8"]=function(c){return a.w5(c)},b["5.11"]=function(){return a.Opa()},b["5.12"]=function(c){return a.getState(c)},b["5.13"]=function(c){return a.Il(c)},b};
_.g.wia=function(){var a=this;this.context.Rs.KS();var b=this.context.Vc;return hyc(_.MJ(_.VH(b)),_.NJ(b),this.context.Be()).mg(function(){}).then(function(){return a.ad([])})};_.g.TM=function(a){a=this.context.Cf.Xl.H(a.args[0]);return this.ad([a])};_.g.Sz=function(a){var b=this;return this.context.eB.Sz(a.args[0]).then(function(c){return b.ad([c])})};_.g.CR=function(){return this.ad(this.context.eB.CR())};
_.g.w5=function(a){var b=this,c=KK(a.args[0],!!a.H,_.kfc),d=a.args[1],e=a.args[2];if(_.Ej(c,_.eI,3,_.fI)||_.Ej(c,_.wJ,4,_.fI)||_.Ej(c,_.kK,5,_.fI)||_.Ej(c,_.tJ,6,_.fI)||_.Ej(c,_.QI,7,_.fI)||_.Ej(c,_.JI,8,_.fI)||_.Ej(c,_.NI,9,_.fI)||_.Ej(c,_.oI,10,_.fI)){var f=tuc(c);return this.context.Hm().then(function(h){return h.Oe(f,{l8a:d,m8a:e})}).then(function(h){a:{var k=[],l="";if(h instanceof _.lK){k=h.ad().zd();var p=_.x(h,2);l=h.Xn()}else if(h instanceof _.yJ)h.getItem()&&k.push(h.getItem()),p=h.$M();
else{h=b.ad(void 0,Error("og"));break a}h=b.ad([p,l].concat(_.ec(k)))}return h},function(h){return b.ad(void 0,h)})}return _.Xh(this.ad(void 0,Error("ng")))};_.g.sqa=function(){var a=this.context.Vc,b=a.Tf();a="email:"+_.VH(a).getEmail().replace(/@.*$/,"");_.u(b,13,a);return this.ad([])};_.g.Kda=function(){this.context.gG.H=new Xwc(_.qh().substring(0,8));return this.ad([])};
_.g.qT=function(){var a=this.context.gG.sN();if(a){var b=Zwc(this.context.gG);a=[a.H,a.startTime].concat(_.ec(b))}else a=[];b=this.context.gG;b.H=null;b.aZ=[];return this.ad(a)};_.g.sN=function(){var a=this.context.gG.sN();return this.ad(a?[a.H,a.startTime]:[])};_.g.getState=function(){var a=this;return this.H.getState(this.wa).then(function(b){return a.ad([b])})};_.g.Opa=function(){var a=[this.O.Lu(),_.Ci(3E4)];_.ai(_.fka(a),function(){_.aa.setTimeout(function(){self.close()})});return this.ad([])};
_.g.Il=function(a){this.H.Il(a.args[0]);return this.ad([])};
var TJc=function(a,b,c,d,e,f,h){_.yK.call(this,a,b,c,d,f,h);this.H=e;this.Zf=null};_.J(TJc,_.yK);TJc.prototype.FM=function(a,b){var c=this;return _.hi(this.H.then(function(d){return d.z4a(Nmc(c.O,c.wa,a,b,c.Zi,c.ha))},null))};TJc.prototype.ma=function(a,b){var c=this.jd(a);if(c){var d=0;if(c.file){var e=c.request&&c.request.Sz();e&&(d=_.x(e,1));0===d&&(d=c.file.size)}this.dispatchEvent(new _.kkc(a,b,d))}};
var UJc=function(a,b,c,d,e,f,h,k){wM.call(this,"FU",k);this.ka=a;this.ha=b;this.ta=c;this.Ba=d;this.W=e;this.ma=f;this.Zf=h;this.H={};this.O={};this.Nc=new _.nf(this);this.Ja(this.Nc)};_.J(UJc,wM);_.g=UJc.prototype;
_.g.jV=function(){var a=this,b={};return b["7.1"]=function(c){return a.upload(c)},b["7.2"]=function(c){return a.cancel(c)},b["7.3"]=function(c){return a.uG(c)},b["7.4"]=function(c){return a.retry(c)},b["7.5"]=function(c){return a.FM(c)},b["7.6"]=function(c){c=c.clientId+":"+c.requestId;a.H[c]&&(a.H[c].dispose(),delete a.H[c]);return a.ad([])},b["7.7"]=function(c){c=c.args;var d=c[0];a.O[d].resolve(null!=c[1]?c[1]:null);delete a.O[d];return a.ad([])},b};
_.g.upload=function(a){var b=this,c=a.clientId+":"+a.requestId,d=KK(a.args[0],!!a.H,_.JI),e=a.args[1];if(!this.H[c]){var f=new TJc(this.ka,this.ha,this.ta,this.Ba,this.W,this.ma,this.Zf);this.Nc.listen(f,"Fb",_.fb(this.Ebb,a.clientId,a.requestId));this.Ja(f);this.H[c]=f}return this.H[c].upload(d,e,void 0,function(h,k){var l=a.clientId,p=a.requestId,q=d.ij(),r=_.$h();b.O[q]=r;b.update(l,p,VJc(3,q,[h,k]));return r.promise}).then(function(h){return b.ad([h])},function(h){return b.ad(void 0,h)})};
_.g.cancel=function(a){var b=a.clientId+":"+a.requestId;this.H[b]&&this.H[b].cancel(a.args[0]);return this.ad([])};_.g.uG=function(a){a=a.clientId+":"+a.requestId;this.H[a]&&this.H[a].uG();return this.ad([])};
_.g.retry=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c;if(this.H[d]){var e=a.args[0],f=a.args.slice(1),h=this.H[d].retry(f),k={},l=0;_.Ma(f,function(p){k[p]=h[l++]});_.Ra(k,function(p,q){p.Uf(function(r){b.update(a.clientId,c,VJc(0,e,[q,r]))},function(r){b.update(a.clientId,c,VJc(1,e,[q,r.ug]))})});return this.ad([])}return this.ad(void 0,_.mI("Could not retry upload."))};
_.g.FM=function(a){var b=a.clientId+":"+a.requestId,c=a.args[0];a=a.args.slice(1);return this.H[b]?(b=this.H[b],c=Nmc(b.O,b.wa,c,a,b.Zi,b.ha),this.ad([Snc(c)])):this.ad(void 0,_.mI("FileUploader not found."))};_.g.Ebb=function(a,b,c){this.update(a,b,VJc(2,c.requestId,[c.progress,c.totalBytes]))};var VJc=function(a,b,c){return[Number(a),b].concat(_.ec(c))};
var WJc=function(a,b){wM.call(this,"IE",b);this.O=a;this.H=new Map};_.J(WJc,wM);WJc.prototype.jV=function(){var a=this,b={};return b["9.1"]=function(c){return a.export(c)},b["9.2"]=function(c){return a.cancel(c)},b};
WJc.prototype.export=function(a){var b=this,c=a.requestId,d=a.clientId+":"+c,e=KK(a.args[0],!!a.H,_.Kgc);e=new iM(this.O,e);var f=_.bf(e,"Jb",function(h){b.update(a.clientId,c,[h.percentDone,h.Iua])});_.df(e,function(){_.wi(f);b.H.delete(d)});this.H.set(d,e);return e.start().then(function(h){return b.ad([h])},function(h){return b.ad(void 0,h)})};WJc.prototype.cancel=function(a){(a=this.H.get(a.clientId+":"+a.requestId))&&a.cancel();return this.ad([])};
var XJc=function(a,b){wM.call(this,"ODS",b);this.context=a;this.H=!1;this.W=_.$h();this.O=new ECc(a,a.Dg)};_.J(XJc,wM);XJc.prototype.jV=function(){var a=this,b={};return b["6.1"]=function(c){return YJc(a,c)},b["6.2"]=function(c){return ZJc(a,c)},b["6.3"]=function(){a.H&&(HCc(a.O),a.H=!1,a.W=_.$h());return a.ad([])},b};
var YJc=function(a,b){if(!a.H){a.H=!0;var c=b.args.map(function(d){return KK(d,!!b.H,_.Bk)});a.O.Yk(c);uL(a.context.Lj,"GZTDpc");a.W.resolve()}return a.ad([])},ZJc=function(a,b){return a.W.promise.then(function(){var c=b.args.map(function(d){return KK(d,!!b.H,_.hI)});GCc(a.O,c);return a.ad([])})};
var $Jc=function(){var a=this;this.services=new Map;"IS LRM DU ODS FU IE TM".split(" ").forEach(function(b){if(a.services.has(b))throw Error("Qg`"+b);a.services.set(b,new _.bi)})};$Jc.prototype.activate=function(a){var b=this.services.get(a.V);if(b&&!b.Xf())b.callback(a);else throw Error("Rg`"+a.V);};var aKc=function(a,b){a=_.m(a.services);for(var c=a.next();!c.done;c=a.next())c=_.m(c.value),c.next(),c.next().value.addCallback(function(d){d.registerService(b)})};$Jc.prototype.Co=function(){return[].concat(_.ec(this.services.values())).every(function(a){return a.Xf()})};
var bKc=function(){},cKc={0:2E3,1:3E3,2:5E3},dKc=function(a,b){this.request=a;this.ha=b;this.O=_.$h();this.continuationToken="";this.V=0;this.QE=this.W=!1;this.H=bKc};dKc.prototype.kh=function(a){var b=this;this.W||(this.W=!0,this.sendRequest());a&&(this.H=a);return this.O.promise.then(function(c){b.H=bKc;b.V=0;return c},function(c){b.H=bKc;b.V=0;return Promise.reject(c)})};
dKc.prototype.sendRequest=function(){var a=this;if(this.QE)this.O.resolve((new LK).Bc(8));else{var b=new _.Xgc(this.request,this.continuationToken);this.ha.then(function(c){return c.Oe(b)}).then(function(c){eKc(a,c)},function(c){a.handleError(c)})}};var eKc=function(a,b){var c;a.continuationToken=null!==(c=b.Xn())&&void 0!==c?c:"";a.H(b);a.continuationToken?setTimeout(function(){a.sendRequest()},fKc(a.V++,a.ka)):a.O.resolve(b)};dKc.prototype.handleError=function(a){a=_.Yc(a);this.O.reject(a)};
dKc.prototype.cancel=function(){this.QE=!0};var fKc=function(a,b){return b?b:(a=cKc[a])?a:1E4};
var gKc=function(a,b){wM.call(this,"TM",b);this.O=a;this.H=new Map};_.J(gKc,wM);gKc.prototype.jV=function(){var a=this,b={};return b["10.1"]=function(c){return hKc(a,c)},b["10.2"]=function(c){return a.cancel(c)},b};
var hKc=function(a,b){var c=b.clientId+":"+b.requestId,d=KK(b.args[0],!!b.H,_.rBc);d=new dKc(d,a.O);a.H.set(c,d);return _.ai(d.kh(function(e){var f;a.update(b.clientId,null!==(f=b.requestId)&&void 0!==f?f:"",[e])}).then(function(e){return a.ad([e])},function(e){return a.ad(void 0,e)}),function(){a.H.delete(c)})};gKc.prototype.cancel=function(a){this.H.get(a.clientId+":"+a.requestId).cancel();return this.ad([])};
var zM=function(a,b,c){_.L.call(this);this.H=a;this.Gw=b;this.kb=c;this.fields=null;this.Ia=!1;this.Ka=_.$h();this.W=!1;this.Ba=_.$h();this.O=_.$h();this.ta=null;this.wa=this.Ta=!1;this.yb=_.$h();this.ha=new Set;this.Fa=new Set;this.V=new Map;this.ma=new Set;this.lz=Date.now();this.services=new $Jc;this.Ib=new _.nf(this);this.Ja(this.Ib)};_.J(zM,_.L);zM.prototype.JY=function(a){this.O.promise.then(function(b){b.J6||a.gOa(b)})};
var lKc=function(a,b){var c=rJc(a.H,b),d=a.Qb.bind(a,c);lL(b,"8.1",d);b.registerService("8.1",d);lL(b,"8.4",a.Pa.bind(a,c));b.registerService("8.5",function(f){return iKc(a,c,f)});lL(b,"8.2",a.Gb.bind(a,c));lL(b,"8.3",a.Kb.bind(a,c));aKc(a.services,b);b.start();jKc(a,c,b);a.ka(c,b);var e=[];a.ta||(a.ta=_.Zh([a.Ka.promise,a.Ba.promise]).then((0,_.K)(a.initialize,a)));e.push(a.ta);_.Zh(e).then(function(){return void kKc(a,c,b)},function(f){a.Ta=!0;mL(b,"2.2",{err:_.mI(f).Ic()},d)})},mKc=function(a){return Math.floor((Date.now()-
a.lz)/1E3)},nKc=function(a,b,c){var d=function(e){mL(b,"2.8",{au:"ib"===e.type})};a.Ib.listen(c.GI,["ib","jb"],d);_.df(b,a.Ib.Tc.bind(a.Ib,c.GI,["ib","jb"],d))},oKc=function(a,b,c){var d=c.uk(),e=[].concat(_.ec(Object.values(_.OB))),f=function(h){mL(b,"2.19",{cs:h.connectionState})};a.Ib.listen(d,e,f);_.df(b,function(){a.Ib.Tc(d,e,f)})};
zM.prototype.Qb=function(a){var b=sJc(this.H,a);if(b&&((this.services.services.get("LRM")||null).addCallback(function(d){vJc(d,a)}),b.dispose(),this.log(_.Ks("Client %d disconnected (num clients remaining: %d)",a,_.Va(this.H.channels))),0===_.Va(this.H.channels))){var c=function(){_.aa.setTimeout(function(){self.close()})};this.Ta?c():(this.services.services.get("IS")||null).addCallback(function(d){_.ai(d.Lu(),c)})}};
zM.prototype.Pa=function(a,b){if(this.ha.has(a))return _.Xh();var c=new _.rc(JSON.parse(b.dsc));_.u(c,24,!1);this.Ia||(this.Ia=!0,this.Ka.resolve(c));this.ha.add(a);return this.O.promise.then(function(d){mJc(d,a,_.y(c.Tf(),37,""));lJc(d,_.oe(c,28));d.Cf.dma(_.zb(c,_.bl,91));return d.YX.promise.then(function(){qEc(d.Cf,_.zb(c,_.Df,44))})},function(){})};
zM.prototype.Gb=function(a,b){var c=this;if(!this.ma.has(a)){this.ma.add(a);var d=b.ivd;d&&this.O.promise.then(function(e){e=new uDc(e,e.Dg);e.kh(d);e.dispose();(e=c.H.channels[a]||null)&&mL(e,"2.16")})}};zM.prototype.Kb=function(a,b){var c=this;this.V.has(a)||this.V.set(a,new Set);var d=this.V.get(a),e=b.dsp;if(e){var f=[];for(b=0;b<e.length;b++)e[b]&&(d.has(b)?e[b]=void 0:(f.push(b),d.add(b)));f.length&&this.O.promise.then(function(h){pKc(new $Dc(h),e);(h=c.H.channels[a]||null)&&mL(h,"2.17",{t:f})})}};
var pKc=function(a,b){b.filter(function(c){return c}).forEach(function(c){return a.kh(c)});a.dispose()};zM.prototype.Za=function(){for(var a=[],b={},c=_.m(_.Wa(this.H.channels)),d=c.next();!d.done;b={Kea:b.Kea,ofa:b.ofa},d=c.next())b.Kea=d.value,b.ofa=_.$h(),mL(b.Kea,"2.12",void 0,function(e){return function(){e.Kea.dispose();e.ofa.resolve()}}(b)),a.push(b.ofa.promise);return _.Zh(a).then()};
zM.prototype.initialize=function(a){var b=this;a=a[0];_.Xhc(a,this.fields);var c=_.w(a,_.yI,58);c=c&&_.Q(c,1,!1)?this.kb:void 0;try{var d=new NK(null,a,this.Gw,c,void 0,void 0),e=d.jk().H(106E3);TIc(d,this.Za.bind(this));this.Ib.listen(d.Gj(),"ub",function(k){k={os:k.Me()};for(var l=_.m(_.Wa(b.H.channels)),p=l.next();!p.done;p=l.next())mL(p.value,"2.6",k)});this.Ib.listen(d,_.ed,this.ob);this.Ib.listen(d,"w8KrJc",this.Dc);quc(d.GI,this.ka.bind(this));var f=d.uz;f&&Qrc(f,function(){return b.ka()});
this.O.resolve(d);var h=qKc(this,d,new RJc(d,this.H,(0,_.K)(this.jc,this),(0,_.K)(this.tc,this)));e&&h.then(function(){return e&&e.xj()});return h}catch(k){return _.Yh(k)}};
var qKc=function(a,b,c){a.services.activate(c);a.services.activate(new tJc(b,a.H));a.services.activate(new SJc(b,a.H,c));a.services.activate(new XJc(b,a.H));a.services.activate(new UJc(b.Vc,b.eB,b.AR().Vfa,b.Hm(),b.xQ,b.Be(),b.jk(),a.H));a.services.activate(new WJc(b.Hm(),a.H));a.services.activate(new gKc(b.Hm(),a.H));return c.initialize()},kKc=function(a,b,c){var d=_.Va(a.H.channels);a.log(_.Ks("Client %d connected (num clients: %d, added: %d, max concurrent: %d)",b,d,a.H.O,a.H.H));mL(c,"2.2",{id:b,
clients:d,uptimeSec:mKc(a),dsp:!a.V.has(b),ivd:!a.ma.has(b)});a.O.promise.then(function(e){e.p_.addCallback(function(f){c.isDisposed()||mL(c,"2.5",{id:f})});1<d&&nM(e).addCallback(function(f){return f.cxa()});(a.services.services.get("IS")||null).addCallback(function(f){f.Rba().then(function(){c.isDisposed()||mL(c,"2.14")})});nKc(a,c,e);oKc(a,c,e)})};zM.prototype.jc=function(a){a={dt:a.dataType};for(var b=_.m(_.Wa(this.H.channels)),c=b.next();!c.done;c=b.next())mL(c.value,"2.15",a)};
zM.prototype.tc=function(a){var b={oois:a};_.Wa(this.H.channels).forEach(function(c){mL(c,"2.18",b)})};zM.prototype.ob=function(a){a={p:a.error.ug.Ic()};for(var b=_.m(_.Wa(this.H.channels)),c=b.next();!c.done;c=b.next())mL(c.value,"2.10",a)};zM.prototype.Dc=function(){for(var a=_.m(_.Wa(this.H.channels)),b=a.next();!b.done;b=a.next())mL(b.value,"2.7")};var jKc=function(a,b,c){a.ha.has(b)?_.Xh():new _.Wh(function(d){mL(c,"2.1",void 0,function(e){d(a.Pa(b,e))})})};
zM.prototype.ka=function(a,b){var c=this;if("number"===typeof a){if(!b)return _.Yh(Error("Sg"));if(this.W&&this.Fa.has(a))return _.Xh()}b=b||_.Wa(this.H.channels)[0];if(!b)return _.Yh(Error("Tg"));var d=_.$h();b.send("1.1",void 0,function(e){iKc(c,a,e);d.resolve()});return d.promise};var iKc=function(a,b,c){_.Ra(c.ac,function(d,e){_.aa[e]=d});"number"===typeof b&&a.Fa.add(b);a.W||(c.bl&&!a.wa&&(a.wa=!0,a.yb.resolve(c.bl)),a.fields||(a.fields=c.ufds),a.W=!0,a.Ba.resolve())};
zM.prototype.log=function(a){this.O.promise.then(function(b){return b.Be().info("drive.ds.sync.cacheproxy.Worker",a)})};
var rKc=function(a,b){vM.call(this,"DU","drive.ds.sync.DebugUtilProxy",a);this.context=b;this.H=null};_.J(rKc,vM);_.g=rKc.prototype;_.g.La=function(){return _.w(this.context.Vc,_.yI,58)};_.g.getContext=function(){return this.context};_.g.Sz=function(){return _.hi(this.send("5.4",[this.H],function(a,b){return KK(a[0],b,_.Kic)}))};_.g.Be=function(){return this.context.Be()};_.g.TM=function(a){return _.hi(this.send("5.2",[a],function(b,c){return b[0]?KK(b[0],c,_.Bk):null}))};
_.g.CR=function(){return _.hi(this.send("5.5",[],function(a,b){return a.map(function(c){return KK(c,b,_.kfc)})}))};_.g.w5=function(a,b,c){return _.hi(this.send("5.8",[a,b,c],function(d,e){var f=d[0],h=d[1];return{items:d.slice(2).map(function(k){return KK(k,e,_.Bk)}),aja:f,pageToken:h}}))};_.g.sqa=function(){this.send("5.9",[])};_.g.wia=function(){this.send("5.1",[])};_.g.N9=function(){return _.Ufc[_.oj(this.context.Vc.Tf(),8,0)]};_.g.Kda=function(){this.send("5.6",[])};
_.g.qT=function(){return _.hi(this.send("5.7",[],function(a,b){if(0===a.length)return null;var c=a[0],d=new Date(a[1]);a=a.slice(2).map(function(e){return KK(e,b,uuc)});return{traceId:new Xwc(c,d),spanRecs:a}}))};_.g.sN=function(){return _.hi(this.send("5.10",[],function(a){return 0===a.length?null:new Xwc(a[0],new Date(a[1]))}))};_.g.getState=function(){return _.hi(this.send("5.12",[],function(a){return a[0]}))};_.g.Opa=function(){this.send("5.11",[])};_.g.Il=function(a){this.send("5.13",[a])};
var sKc=function(a,b){vM.call(this,"IE","drive.ds.sync.itemexport.ItemExportSessionProxy",a);this.request=b;this.promise=null;this.id=String(_.Fa(this))};_.J(sKc,vM);sKc.prototype.start=function(){var a=this;this.promise||(this.promise=this.send("9.1",[this.request],function(b,c){return KK(b[0],c,NBc)},this.id).then(),this.promise.then(function(){return a.dispose()},function(){return a.dispose()}));return this.promise};sKc.prototype.cancel=function(){this.send("9.2",[],void 0,this.id)};
sKc.prototype.faa=function(a,b,c){this.dispatchEvent(new aCc(c[0],c[1]))};
var tKc=function(a){vM.call(this,"ODS","drive.ds.sync.offline.DataServiceProxy",a);this.H=null};_.J(tKc,vM);tKc.prototype.MY=function(a){var b=this;(this.H=a)?(this.log("Querying all offline items."),this.H.OV().Uf(function(c){b.log("Forwarding all offline items response, count:"+c.length);b.send("6.1",c)},function(){b.log("Error fetching offline items.")}),this.H.a0(function(c){b.log("Forwarding offline items changes, count:"+c.length);b.send("6.2",c)})):this.send("6.3",[])};
var uKc=function(a,b){EL.call(this,a,b)};_.J(uKc,EL);uKc.prototype.Pia=function(a,b,c){return new _.Tgc(a,c)};uKc.prototype.Zka=function(a){return a.pageToken||""};uKc.prototype.mka=function(a){return a.response.H()};uKc.prototype.G6=function(){};
var vKc=function(a,b,c){hM.call(this,a.Be(),a.Gj(),a.uk(),b.vi()||void 0);this.request=b;this.logName="drive.ds.sync.PublishedCategoriesLiveList";this.O=[];this.changed=!1;this.ka=c;this.W=new uKc(this.request,this.ka)};_.J(vKc,hM);_.g=vKc.prototype;_.g.fH=function(){this.W.kh().then(this.Fbb.bind(this),this.handleError.bind(this))};_.g.getData=function(){return jBc(new bM,this.O).Bc(this.status)};_.g.gs=function(){return new UAc};_.g.kk=function(){return!this.Me()&&(!this.H||iwc(this.W))};
_.g.Fbb=function(a){this.changed=this.H=!0;this.O=a;this.Yt()};_.g.Yt=function(){if(this.active){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))}};_.g.$b=function(){return this.O.length};
var wKc=function(a,b,c){hM.call(this,a.Be(),a.Gj(),a.uk(),b.vi()||10);this.request=b;this.logName="drive.ds.sync.SuggestedWorkspaceItemQueryLiveList";this.O=[];this.data=[];this.changed=!1;this.W=new _.e7a;this.suggestionSessionId=null;this.ka=c};_.J(wKc,hM);_.g=wKc.prototype;_.g.fH=function(){var a=this;this.ka(this.request).then(function(b){a.H=!0;a.changed=!0;a.data=b.Kh();a.suggestionSessionId=b.Wf();a.Yt()},this.handleError.bind(this))};
_.g.getData=function(){this.O=this.data;return _.Imc(_.Hmc((new _.zK).Bc(this.status),this.data.slice(0)),this.suggestionSessionId)};_.g.gs=function(){var a=this.W.By(this.O,this.data);this.O=this.data;var b=(new nBc).Bc(this.status);return _.sj(b,2,a)};_.g.kP=function(){};_.g.Yt=function(){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))};_.g.$b=function(){return this.data.length};
var xKc=function(){};_.g=xKc.prototype;_.g.HM=function(a,b){b=EBc(1).setPosition(b);_.E(b,2,a);return b};_.g.GM=function(a,b){b=EBc(2).setPosition(b);_.E(b,2,a);return b};_.g.TE=function(a,b,c){b=EBc(3).hz(b).setPosition(c);_.E(b,2,a);return b};_.g.MQ=function(a,b){b=EBc(4).setPosition(b);_.E(b,2,a);return b};_.g.aN=function(a){return _.w(a,_.CBc,2)};
var yKc=function(){_.Ay.call(this,new xKc,function(a){a:switch(_.Db(a,_.fM)){case 6:a=_.zy(_.Ej(a,_.yy,6,_.fM)).getTime().toString();break a;case 7:var b=_.Ej(a,_.eM,7,_.fM);a=_.w(b,_.yy,1);b=b.zv();a=a&&b?_.zy(b).getTime()+"--"+_.zy(a).getTime():"";break a;default:a=""}return a})};_.J(yKc,_.Ay);var AKc=function(){zKc||(zKc=new yKc);return zKc},zKc;
var BKc=function(a,b,c,d){hM.call(this,b.Be(),b.Gj(),b.uk(),d);this.request=a;this.logName="drive.ds.sync.SyncedActivityQueryLiveList";this.O=!1;this.W=[];this.activities=[];this.token="";this.changed=!1;this.ka=new _.Mjc(_.Bj(b.Vc.Tf(),6,1E3));this.ma=c};_.J(BKc,hM);_.g=BKc.prototype;_.g.HP=function(){hM.prototype.HP.call(this);this.Yt()};_.g.fH=function(){_.P(this.request,3)?this.page():this.poll()};
_.g.yu=function(a){if(a=a||50,this.activities.length>this.limit)this.changed=!0;hM.prototype.yu.call(this,a)};_.g.getData=function(){var a=(new JBc).Bc(this.status);_.sj(a,2,this.activities.slice(0,this.limit));this.W=_.Aa(this.activities);return a};_.g.gs=function(){var a=AKc().By(this.W,this.activities),b=new GBc;a=_.sj(b,2,a).Bc(this.status);this.W=_.Aa(this.activities);return a};_.g.kk=function(){return!this.Me()&&(!this.H||this.activities.length>this.limit||!!this.token)};_.g.jd=function(){return this.request};
_.g.page=function(a){var b=this;this.active?(this.O=!0,this.kk()&&this.activities.length<this.limit?this.ma(this.request,this.limit-this.activities.length,this.token).then(function(c){b.H=!0;var d=_.zb(c,_.CBc,1);b.activities=b.activities.concat(d);b.token=c.Fy()||"";0<d.length&&(b.changed=!0);b.Yt();b.page(a)},function(c){b.dispatchEvent(new _.Vc(c));b.O=!1}):(this.O=!1,a&&a.callback(),CKc(this))):this.O=!1};
_.g.poll=function(){var a=this;this.active&&(this.O=!0,this.ma(this.request,this.limit).then(function(b){var c=AKc();a.H=!0;var d=_.zb(b,_.CBc,1);RK(c,a.activities.slice(0,d.length),d)?(a.activities=d,a.token=b.Fy()||"",a.changed=!0,a.Yt(),a.page()):(a.O=!1,CKc(a))},function(b){a.dispatchEvent(new _.Vc(b));a.O=!1}))};_.g.Yt=function(){if(this.active){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))}};
_.g.QL=function(){this.Me()&&!this.H?this.status=2:this.status=this.activities.length<this.limit&&(!this.H||this.token)?6:1};_.g.kP=function(){this.active&&this.kk()&&!this.O&&this.page(new _.bi)};var CKc=function(a){_.P(a.request,3)||(_.OH(a.ka),_.aa.setTimeout((0,_.K)(a.poll,a),a.ka.Ya()))};BKc.prototype.$b=function(){return this.activities.length};
var DKc=function(){};_.g=DKc.prototype;_.g.HM=function(a,b){return LBc(KBc(1),a).setPosition(b)};_.g.GM=function(a,b){return LBc(KBc(2).setPosition(b),a)};_.g.TE=function(a,b,c){return LBc(KBc(3).hz(b).setPosition(c),a)};_.g.MQ=function(a,b){return LBc(KBc(4),a).setPosition(b)};_.g.aN=function(a){return _.w(a,_.UL,2)};
var EKc=function(){_.Ay.call(this,new DKc,function(a){return a.getId()})};_.J(EKc,_.Ay);var GKc=function(){FKc||(FKc=new EKc);return FKc},FKc;
var HKc=function(a,b,c){hM.call(this,b.Be(),b.Gj(),b.uk());this.request=a;this.logName="drive.ds.sync.SyncedBackupsQueryLiveList";this.W=[];this.backups=[];this.changed=!1;this.O=new _.Mjc(_.Bj(b.Vc.Tf(),54,1E3));this.ka=c};_.J(HKc,hM);_.g=HKc.prototype;_.g.activate=function(){hM.prototype.activate.call(this);this.Yt()};_.g.fH=function(){this.poll()};_.g.getData=function(){var a=new TBc;a=_.sj(a,2,this.backups).Bc(this.status);this.W=_.Aa(this.backups);return a};
_.g.gs=function(){var a=GKc().By(this.W,this.backups),b=new RBc;a=_.sj(b,2,a).Bc(this.status);this.W=_.Aa(this.backups);return a};_.g.kk=function(){return!this.Me()&&!this.H};_.g.poll=function(){var a=this,b=new _.bi;this.ka(this.request).then(function(c){a.H=!0;c=_.zb(c,_.UL,2);RK(GKc(),a.backups,c)&&(a.changed=!0,a.backups=c,a.O.reset());a.Yt();b.callback();IKc(a)},function(c){a.dispatchEvent(new _.Vc(c));b.Ed(c);IKc(a)});return b};
_.g.Yt=function(){if(this.active){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))}};_.g.kP=function(){};var IKc=function(a){a.active&&(_.aa.setTimeout((0,_.K)(a.poll,a),a.O.Ya()),_.OH(a.O))};HKc.prototype.$b=function(){return this.backups.length};
var JKc=function(){};_.g=JKc.prototype;_.g.HM=function(a,b){return EAc(DAc(1),a).setPosition(b)};_.g.GM=function(a,b){return EAc(DAc(2).setPosition(b),a)};_.g.TE=function(a,b,c){return EAc(DAc(3).hz(b).setPosition(c),a)};_.g.MQ=function(a,b){return EAc(DAc(4),a).setPosition(b)};_.g.aN=function(a){return _.w(a,_.nk,2)};
var KKc=function(){_.Ay.call(this,new JKc,function(a){return a.getId()})};_.J(KKc,_.Ay);_.jg(KKc);
var AM=function(a,b,c){_.yi.call(this);this.context=a;this.request=b;this.nextPageToken="";this.H=this.O=!1;this.limit=0;this.permissions=[];this.V=c};_.J(AM,_.yi);AM.prototype.Fi=function(a){this.limit=a};AM.prototype.kh=function(){return this.H||this.O&&""===this.nextPageToken?Promise.resolve():LKc(this)};AM.prototype.ala=function(){return this.permissions};
var LKc=function(a){a.O=!0;a.H=!0;var b=Math.min(a.limit-a.permissions.length,100);var c=new _.dJ;c=_.E(c,3,a.request);c=_.u(c,2,a.nextPageToken);b=_.u(c,1,b);return a.V(b).then(a.W.bind(a)).then(null,a.handleError.bind(a))};AM.prototype.W=function(a){this.H=!1;this.nextPageToken=a.Xn()||"";a=a.ad().lN();this.permissions=_.za(this.permissions,a);a.length&&this.dispatchEvent("zb");if(this.nextPageToken&&this.permissions.length<this.limit)return LKc(this);this.dispatchEvent("Cb")};
AM.prototype.handleError=function(a){this.H=!1;a=new DL(_.mI(a),_.Bj(this.context.Vc.Tf(),1,1));this.dispatchEvent(a)};
var MKc=function(a,b,c,d){hM.call(this,b.Be(),b.Gj(),b.uk(),d||100);var e=this;this.request=a;this.context=b;this.logName="drive.ds.sync.SyncedPermissionQueryLiveList";this.ka=[];this.permissions=[];this.changed=!1;this.W=null;this.ma=c;this.O=new AM(b,this.request,this.ma);_.df(this,function(){e.W&&(_.aa.clearTimeout(e.W),e.W=null)})};_.J(MKc,hM);_.g=MKc.prototype;_.g.activate=function(){hM.prototype.activate.call(this);this.Yt()};_.g.fH=function(){this.query()};
_.g.yu=function(a){hM.prototype.yu.call(this,a||100)};_.g.getData=function(){var a=Trc(new Src,this.permissions.slice(0,this.limit)).Bc(this.status);this.ka=_.Aa(this.permissions);return a};_.g.gs=function(){var a=KKc.rb().By(this.ka,this.permissions),b=new LAc;a=_.sj(b,2,a).Bc(this.status);this.ka=_.Aa(this.permissions);return a};_.g.kk=function(){var a;(a=!this.Me())&&!(a=!this.H)&&(a=this.O,a=!a.O||""!==a.nextPageToken);return a};_.g.jd=function(){return this.request};
_.g.query=function(){var a=this;this.O=new AM(this.context,this.request,this.ma);this.O.Fi(this.limit);return this.O.kh().then(function(){return NKc(a)},function(b){return a.handleError(b)})};_.g.handleError=function(a){hM.prototype.handleError.call(this,a);OKc(this)};var NKc=function(a){a.H=!0;var b=a.O.ala();RK(KKc.rb(),a.permissions,b)&&(a.changed=!0,a.permissions=b);a.Yt();OKc(a)};
MKc.prototype.Yt=function(){if(this.active){var a=this.status;this.QL();if(this.changed||a!==this.status)this.changed=!1,this.dispatchEvent(new _.pi(_.fd,this))}};MKc.prototype.kP=function(){var a=this;this.O.Fi(this.limit);this.O.kh().then(function(){return NKc(a)},function(b){return a.handleError(b)})};var OKc=function(a){if(a.active){var b=a.context.Vc.Tf();a.W=_.aa.setTimeout((0,_.K)(a.query,a),Math.ceil(_.Bj(b,7,9E5)*Math.random())+_.Bj(b,15,36E5))}};MKc.prototype.$b=function(){return this.permissions.length};
var PKc=function(a){6!==a.status&&_.aa.setTimeout(function(){a.dispatchEvent(new _.pi(_.fd,a))},0)};
var QKc=function(){},RKc=function(a,b){vM.call(this,"TM","drive.ds.sync.TeamDriveMovePreflightRunnerProxy",a);this.request=b;this.O=QKc;this.H=null;this.id=String(_.Fa(this))};_.J(RKc,vM);RKc.prototype.faa=function(a,b,c){a===this.id&&(a=_.m(c).next().value,this.O(KK(a,b,LK)))};RKc.prototype.kh=function(a){a=void 0===a?QKc:a;if(!this.H){this.O=a;var b=_.$h();this.H=b;this.send("10.1",[this.request],function(c,d){return KK(c[0],d,LK)},this.id).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)})}return this.H.promise};
RKc.prototype.cancel=function(){this.send("10.2",[this.request],void 0,this.id)};
var SKc=function(a,b,c){_.yi.call(this);var d=this;this.instanceId=a;this.H=b;this.O=c;this.Gu={};this.files={};_.df(this,function(){d.H("7.6",[])})};_.J(SKc,_.yi);_.g=SKc.prototype;_.g.getId=function(){return this.instanceId};_.g.LQ=function(){return _.uI()};
_.g.upload=function(a,b){!_.x(a,26)&&b&&b.lastModified&&_.u(a,26,b.lastModified);var c;b&&(c=b.type?b:new File([b],b.name,{type:b.type}));if(b){var d=new _.aic;_.u(d,1,b.size);_.E(a,15,d);this.files[a.ij()]=b}return _.hi(this.H("7.1",[a,c],function(e,f){return KK(e[0],f,_.yJ)}))};_.g.cancel=function(a){this.H("7.2",[a])};_.g.uG=function(){this.H("7.3",[])};
_.g.retry=function(a){for(var b={},c=_.m(a),d=c.next();!d.done;d=c.next())b[d.value]=new _.bi;c=this.LQ();this.Gu[c]=b;b=_.Wa(b);this.H("7.4",[c].concat(_.ec(a)));return b};_.g.FM=function(a,b){var c=this;return _.hi(this.H("7.5",[a].concat(_.ec(b)),function(d){return Tnc(d[0])}).then(function(d){return c.O.addCallback(function(e){return e.z4a(d)})}))};var TKc=function(a,b,c,d){if(a.Gu[b]&&a.Gu[b][c]){var e=a.Gu[b][c];d instanceof _.yJ?e.callback(d):e.Ed(d);delete a.Gu[b][c];_.Za(a.Gu[b])&&delete a.Gu[b]}};
var UKc=function(a,b){vM.call(this,"FU","drive.ds.sync.upload.FileUploaderProxyManager",a);this.O=b;this.H=new Map};_.J(UKc,vM);var VKc=function(a){var b=_.uI(),c=new SKc(b,function(d,e,f){return a.send(d,e,f,b)},a.O);a.H.set(b,c);_.df(c,function(){return void a.H.delete(b)});return c};
UKc.prototype.faa=function(a,b,c){if((a=this.H.get(a))&&c){var d=c[1],e=c.slice(2);switch(c[0]){case 3:b=e[0];e=e[1];e=Math.min(e,1073741824);c=a.files[d];a.H("7.7",[d,_.lgc(c,b,Math.min(c.size,b+e))]);break;case 0:b=KK(e[1],b,_.yJ);TKc(a,d,e[0],b);break;case 1:b=new _.Uc(void 0,KK(e[1],b,_.Tc));TKc(a,d,e[0],b);break;case 2:a.dispatchEvent(new _.kkc(d,e[0],e[1]));break;default:throw Error("Ug");}}};
var WKc=function(a,b){if(0===a.length)throw new _.Uc("mutateUserPref requires a namespace.",_.BI(3));var c=null;b instanceof _.hD?c=(b=(b=_.w(b,_.Ko,1))&&b.getKey())&&_.Lo(b)||null:b instanceof _.gD&&(c=(b=b.getKey())&&_.Lo(b)||null);if(!c||!a.find(function(d){return d===c}))throw new _.Uc("mutateUserPref unsupported for namespace: "+c,_.BI(3));};
var XKc=function(a){this.H=a};
var Roc=function(a){vM.call(this,"IS","drive.ds.sync.ItemServiceProxy",(YKc=_.$h()).promise);var b=this;this.ta=null;this.Pa=this.Ta=this.Za=this.ma=!1;this.ha=this.ka=this.W=null;this.kb=new _.dn;this.Ka=new _.dn;this.V=YKc;YKc=void 0;this.context=a;VIc(this.context,new tKc(this.V.promise));Erc(this.context.Dg,_.oe(this.context.Vc,28));this.H=this.context.ita;this.O=new wJc(this.V.promise,this.context,this.H);this.ob=new UKc(this.V.promise,this.context.xQ);this.Ia=new rKc(this.V.promise,this.context);
this.Nc=new _.nf(this);this.Ja(this.Nc);this.Nc.listen(this.context.uk(),[].concat(_.ec(Object.values(_.OB))),function(c){return void b.dispatchEvent(c)})},YKc;_.J(Roc,vM);
Roc.prototype.initialize=function(){var a=this;if(!this.ta){this.ta=this.wa.promise;var b=this.context.jk().H(106E3);this.ta.then(function(){b&&b.xj();a.l3a()},function(){_.iK(a.context.jk(),181008852)});this.context.Be().info("drive.ds.sync.ItemServiceProxy","Initializing "+(_.OJ(this.context.Vc)?"(coldstart) ":"")+"with client build: "+this.context.Vc.Ki());var c=Fnc(this.context.Vc,this.Mi(),_.TJ(this.context.Dg));ZKc(this,c);if(2===c.H){var d=new zM(new qJc,6,this.context.Be());lKc(d,c.O);this.Ka.resolve(d)}else joc(this.Ia);
this.context.Be().info("drive.ds.sync.ItemServiceProxy","Connecting to worker: "+c.endpoint);c.channel.start();TIc(this.context,function(){return $Kc(c.channel)})}return this.ta};
var $Kc=function(a){return _.fka([new _.Wh(function(b){a.isDisposed()||mL(a,"8.1",void 0,function(){a.dispose();b()})}),_.Ci(1E4)])},ZKc=function(a,b){var c=b.channel;0===b.H?c.registerService("2.0",function(){return{uid:a.Mi(),fds:_.TJ(a.context.Dg)}}):c.registerService("1.1",function(){return aLc(a,b)});2===b.H?a.Ka.promise.then(function(){return void bLc(a,b)}):bLc(a,b);lL(c,"2.1",function(){return{dsc:a.context.Vc.Ic()}});lL(c,"2.2",function(d){"number"===typeof d.id?(a.V.resolve(new pJc(d.id,
c,a.context.Be(),d.clients)),d.dsp&&cLc(c),d.ivd&&dLc(a,c)):(d=new _.Tc(JSON.parse(d.err)),a.wa.reject(new _.Uc("Unable to initialize dataservice.",d)))});lL(c,"2.15",function(d){a.dispatchEvent(new $Bc(d.dt))});lL(c,"2.5",function(d){a.context.jz(d.id)});lL(c,"2.6",function(d){a.context.Gj().Il(d.os)});lL(c,"2.18",function(d){a.context.Gj().gz(d.oois)});lL(c,"2.7",function(){a.ma=!1});lL(c,"2.8",function(d){a.context.Fa=d.au;a.dispatchEvent(new wsc(d.au?"ib":"jb"))});lL(c,"2.19",function(d){a.context.uk().update(d.cs)});
lL(c,"2.9",function(d){var e=d.logName,f=d.level;d=_.Ks("[CSW %s] %s",d.totalTime,d.message);switch(f){case "config":a.context.Be().config(e,d);break;case "fine":_.RJ(a.context.Be(),e,d,"fine");break;case "finer":_.RJ(a.context.Be(),e,d,"finer");break;case "finest":_.RJ(a.context.Be(),e,d,"finest");break;case "info":a.context.Be().info(e,d);break;case "warning":case "severe":Arc(a.context.Be(),e,d);break;default:Arc(a.context.Be(),"drive.ds.sync.ItemServiceProxy","Unknown log level: "+f),Arc(a.context.Be(),
e,d)}});lL(c,"2.10",function(d){return void a.baa(d)});lL(c,"2.12",function(){a.Pa=!0;BM(a)});lL(c,"2.14",function(){return a.kb.resolve()});lL(c,"2.16",function(){return a.Za=!0});lL(c,"2.17",function(d){a.context.Be().info("drive.ds.sync.ItemServiceProxy","Prefetched request loaded for: "+d.t.join(","))})},bLc=function(a,b){1!==b.H&&2!==b.H||b.channel.send("8.5",aLc(a,b));mL(b.channel,"8.4",{dsc:a.context.Vc.Ic()});cLc(b.channel);dLc(a,b.channel)},cLc=function(a){_.aa._DRIVE_dsp&&mL(a,"8.3",{dsp:eLc(_.aa._DRIVE_dsp)});
_.aa._DRIVE_dspc=function(b){if(_.aa._DRIVE_dsp){var c=[];c[b]=_.aa._DRIVE_dsp[b];mL(a,"8.3",{dsp:eLc(c)})}}},dLc=function(a,b){_.Q(a.context.Vc,24,!1)&&(_.aa._DRIVE_ivd?mL(b,"8.2",{ivd:_.aa._DRIVE_ivd}):void 0===_.aa._DRIVE_ivd&&(_.aa._DRIVE_ivdc=function(){_.aa._DRIVE_ivd&&mL(b,"8.2",{ivd:_.aa._DRIVE_ivd})}))},aLc=function(a,b){var c={};if(1===b.H){var d=new _.qNa(document);c.__SAPISID=d.get("SAPISID")||d.get("__Secure-3PAPISID");c.__APISID=d.get("APISID")||d.get("__Secure-APISID")}return{ac:c,
bl:a.context.Vc.Ki(),ufds:b.V}};Roc.prototype.Mi=function(){var a=_.tj(_.tj(_.YH(this.context.Vc.clone(),28),44),91),b=new _.HH;b.update(_.MJ(_.VH(a)));b.update(String(_.nI(_.VH(a))));b.update(a.Ic());return _.sec(b.digest())};var eLc=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=Roc.prototype;_.g.baa=function(a){this.dispatchEvent(new _.Vc(new _.Uc(void 0,new _.Tc(JSON.parse(a.p)))))};
_.g.query=function(a){BM(this);Qtc(this.context.wm,a,Crc(this.context.Dg));this.zF();var b=this.O.Mxa(a);this.Ta||(a=a.se(),a&&121===_.x(a,1)||(this.Ta=!0,this.Nc.listen(b,_.fd,this.PNa)));return b};_.g.PNa=function(a){a=a.currentTarget;1===a.Cb()&&(this.Ia.H=this.Za,this.Nc.Tc(a,_.fd,this.PNa))};_.g.Zs=function(a){BM(this);rsc(a);this.zF();return this.O.Jxa(a)};
_.g.Kva=function(a,b){var c=this;BM(this);if(this.ka&&_.Aj(this.ka.jd(),a))return this.ka;this.ka=new BKc(a.clone(),this.context,function(d,e,f){return c.send("3.17",[d,e,f],function(h,k){return KK(h[0],k,ZBc)})},b);_.aa.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.ZGa=function(a,b){var c=this;BM(this);if(this.ha&&_.Aj(this.ha.jd(),a))return PKc(this.ha),this.ha;this.ha=new MKc(a,this.context,function(d){return c.send("3.18",[d],function(e,f){return KK(e[0],f,MAc)})},b);_.aa.setTimeout(function(){c.ha=null},3E3);return this.ha};_.g.Caa=function(a){BM(this);return _.hi(this.send("3.14",[a],function(b,c){return KK(b[0],c,$L)}))};_.g.Q8=function(a){BM(this);return _.hi(this.send("3.15",[a],function(b,c){return KK(b[0],c,$L)}))};
_.g.hd=function(a){BM(this);!this.ma&&_.zJ(a)&&(this.ma=!0);a=Hnc(a);return _.hi(this.send("3.3",[a],function(b,c){return KK(b[0],c,_.yJ)}))};_.g.cO=function(a){BM(this);a=Rnc(a);return this.send("3.35",[a],function(b,c){return KK(b[0],c,_.vsc)})};_.g.NC=function(a){BM(this);for(var b=0;b<a.length;b++)!this.ma&&_.zJ(a[b])&&(this.ma=!0);a=Knc(a);return _.hi(this.send("3.4",[a],function(c,d){return guc(c[0],d).get()}))};_.g.Ixa=function(){BM(this);return VKc(this.ob)};
_.g.UTa=function(a){BM(this);return new sKc(this.V.promise,a)};_.g.bs=function(a,b){var c=this;BM(this);var d=_.qh();this.H.create(d,a);return _.hi(this.send("3.5",[a,!!b],function(e,f){f=KK(e[0],f,oL);return new _.dK(f,e[1],e[2])})).addCallback(function(e){Auc(c.H,d,e);return e.response}).yg(function(e){nL(c.H,d);return e})};_.g.ur=function(a){BM(this);return this.send("3.10",[a],function(b,c){return KK(b[0],c,JAc)})};
_.g.Eaa=function(a){BM(this);return _.hi(this.send("3.11",[a],function(b,c){return KK(b[0],c,NAc)}))};_.g.O8=function(a){BM(this);return _.hi(this.send("3.12",[a],function(b,c){return KK(b[0],c,NAc)}))};_.g.AT=function(a){BM(this);return _.hi(this.send("3.13",[a],function(b,c){return KK(b[0],c,NAc)}))};
_.g.yN=function(a,b){var c=this;BM(this);var d=_.qh();this.H.create(d,a);return _.hi(this.send("3.1",[a,!!b],function(e,f){f=KK(e[0],f,_.dM);return new _.gK(f,e[1],e[2])})).addCallback(function(e){Auc(c.H,d,e);return e.response}).yg(function(e){nL(c.H,d);return e})};
_.g.dH=function(a,b){var c=this,d=_.oe(this.context.Vc.Tf(),30);if(!d||0===d.length)return _.ii(new _.Uc("getUserPrefs requires a namespace.",_.BI(3)));0===_.oe(a,3).length&&koc(a,d);BM(this);var e=_.qh();this.H.create(e,a);return _.hi(this.send("3.2",[a,!!b],function(f,h){h=KK(f[0],h,_.Sz);return new _.fK(h,f[1],f[2])})).addCallback(function(f){Auc(c.H,e,f);return f.response}).yg(function(f){nL(c.H,e);return f})};
_.g.CS=function(a){BM(this);WKc(_.oe(this.context.Vc.Tf(),30),a);a=Onc(a);return this.send("3.6",[a],function(b,c){return KK(b[0],c,OAc)})};_.g.mu=function(a){BM(this);return _.hi(this.send("3.16",[a],function(b,c){return KK(b[0],c,Vrc)}))};_.g.DCa=function(){return this.ma};_.g.Il=function(a){BM(this);this.send("3.8",[a])};_.g.gz=function(a){BM(this);return _.Xh(this.send("3.36",[a],function(b){return!!b[0]}))};_.g.MY=function(a){BM(this);UIc(this.context).MY(a);this.gz(!!a)};
_.g.zF=function(){BM(this);this.send("3.9",[])};_.g.ES=function(){BM(this);this.send("3.41",[]);this.context.ES();var a=UK(this.context.jk(),106006);a&&this.V.promise.then(function(b){var c=_.w(_.ZJ(a),drc,6);if(!c){c=new drc;var d=_.ZJ(a);_.E(d,6,c)}c=_.u(c,1,b.clientId);_.u(c,2,b.O);a.xj()},function(){})};_.g.MB=function(){BM(this);return this.context.MB()};_.g.EQ=function(){BM(this);return _.Xh(this.send("3.19",[],function(a,b){return KK(a[0],b,luc)}))};_.g.isConnected=function(){return this.context.uk().isConnected()};
_.g.k8=function(){return this.send("3.46",[],function(a,b){return KK(a[0],b,_.Hjc)})};_.g.f$=function(){return this.Ia};_.g.sync=function(){BM(this);return _.Xh(this.send("3.28",[]))};_.g.Lu=function(){return this.context.Lu()};_.g.JY=function(a){this.Ka.promise.then(function(b){return void b.JY(a)})};_.g.iqa=function(a){BM(this);return this.O.Txa(a)};_.g.o5=function(a){BM(this);return this.O.Sxa(a)};_.g.WGa=function(a){BM(this);Ttc(this.context.wm,a,Crc(this.context.Dg));return this.O.Pxa(a)};
_.g.jqa=function(a){BM(this);return new RKc(this.V.promise,a)};_.g.ywa=function(a){var b=this;BM(this);if(!this.W||this.W.isDisposed())this.W=new HKc(a,this.context,function(c){return b.send("3.20",[c],function(d,e){return KK(d[0],e,TBc)})});return this.W};_.g.IHa=function(){this.W&&!this.W.isDisposed()?this.W.poll():_.Xh()};_.g.P8=function(a){BM(this);return _.hi(this.send("3.22",[a],function(b,c){return KK(b[0],c,UBc)}))};
_.g.PV=function(a){BM(this);return _.hi(this.send("3.25",[a],function(b,c){return KK(b[0],c,PBc)}))};_.g.Rba=function(){return this.kb.promise};_.g.roa=function(a){var b=_.$h();_.hi(this.send("3.30",[a],function(c,d){c[0]?b.resolve(KK(c[0],d,WBc)):b.reject(new _.Uc(void 0,KK(c[1],d,_.Tc)))})).yg(function(c){return void b.reject(c)});return b.promise};_.g.Zwa=function(a){BM(this);return this.O.Fxa(a)};_.g.j8=function(a){BM(this);return this.send("3.42",[a],function(b,c){return KK(b[0],c,$zc)})};
_.g.nP=function(a){BM(this);var b=new _.dn;this.send("3.39",[a],function(c,d){return c.map(function(e){return KK(e,d,Suc)})}).then(function(c){return void b.resolve(c)},function(c){return void b.reject(c)});return Promise.resolve(new XKc(b.promise))};_.g.tHa=function(a){var b=this;BM(this);return new vKc(this.context,a,function(c){return _.Xh(b.send("3.37",[c.request,c.pageToken],function(d,e){return new iuc(KK(d[0],e,bM),d[1])}))})};
_.g.uHa=function(a){BM(this);return this.send("3.38",[a],function(b,c){return KK(b[0],c,kBc)})};_.g.dMa=function(a){BM(this);return this.O.Xxa(a)};_.g.dra=function(a){BM(this);return this.O.Wxa(a)};_.g.CKa=function(a){var b=this;BM(this);return new wKc(this.context,a,function(){return _.Xh(b.send("3.40",[a],function(c,d){return KK(c[0],d,_.zK)}))})};_.g.DKa=function(a){BM(this);return this.O.Qxa(a)};_.g.Z_=function(a){BM(this);this.send("3.43",[a])};
_.g.A0=function(a){BM(this);return _.Xh(this.send("3.44",[a],function(b,c){return KK(b[0],c,Gsc)}))};_.g.yo=function(a){BM(this);if(1!==_.NJ(this.context.Vc))return Promise.reject(Error("Vg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Wg"));if(!c.Tk()&&!c.getItem())return Promise.reject(Error("Xg"))}return Promise.resolve(this.send("3.45",a))};
_.g.l3a=function(){var a=this;if(3===this.context.getEnvironment()){var b=[_.Ci(1E4,!1),this.send("3.29",[],function(c){return!!c[0]}).then()];_.fka(b).then(function(c){c?_.Ai(a.l3a.bind(a),6E4):(a.Pa=!0,BM(a))})}};var BM=function(a){a.Pa&&a.dispatchEvent(new yCc)};
var Toc=function(a){jM.call(this,a);this.ha=this.ka=this.ta=null;this.kb=_.$h();this.logName="drive.ds.sync.SyncedItemService";this.H=a.Hm()};_.J(Toc,jM);Toc.prototype.BTa=function(){this.Ia=new CJc(this.context);this.Ja(this.Ia);this.Ka=new GJc(this.context);this.Ja(this.Ka);this.Pa=new NJc(this.context);this.Ja(this.Pa)};
Toc.prototype.Za=function(){var a=this,b=["hVFf7"];_.OJ(this.context.Vc)&&b.push("BNEDtc");tL(this.O,b,function(){return void a.MYa()});tL(this.O,["T8oKm","ZA9qG"],function(){return void fLc(a)});tL(this.O,["T8oKm","mrK8ic"],function(){return void fLc(a)});this.Nc.listen(this.Ia,"WPi0i",this.kta.bind(this,1));this.Nc.listen(this.Ka,"Kb",this.kta.bind(this,2));this.Nc.listen(this.Pa,"WPi0i",this.kta.bind(this,4));tL(this.O,["GZTDpc"],function(){return a.kb.resolve()})};var fLc=function(a){nM(a.context).addCallback(function(b){b.start()})};
_.g=Toc.prototype;_.g.kta=function(a){_.pa(Hsc,a)&&this.dispatchEvent(new $Bc(a))};_.g.o5=function(a){return this.V.Sxa(a.clone())};_.g.WGa=function(a){Ttc(this.context.wm,a,Crc(this.context.Dg));return this.V.Pxa(a.clone())};_.g.iqa=function(a){return this.V.Txa(a.clone())};_.g.jqa=function(a){return new dKc(a,this.context.Hm())};
_.g.Kva=function(a,b){var c=this;if(this.ta&&_.Aj(this.ta.jd(),a))return this.ta;this.ta=new BKc(a.clone(),this.context,this.rlb.bind(this),b);_.aa.setTimeout(function(){c.ta=null},3E3);return this.ta};_.g.rlb=function(a,b,c){var d=new _.Mgc(a,b,c);return _.hi(this.H.then(function(e){return e.Oe(d)}).mg(function(e){return BK(e)}))};_.g.ywa=function(a){var b=this;if(!this.ha||this.ha.isDisposed())this.ha=new HKc(a,this.context,function(c){return gLc(b,c)});return this.ha};var gLc=function(a,b){return _.hi(a.H.then(function(c){return c.Oe(b)}).mg(function(c){return BK(c)}))};
_.g=Toc.prototype;_.g.IHa=function(){this.ha&&!this.ha.isDisposed()?this.ha.poll().then():_.Xh()};_.g.PV=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}))};_.g.P8=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}))};_.g.ZGa=function(a,b){var c=this;if(this.ka&&_.Aj(this.ka.jd(),a))return PKc(this.ka),this.ka;this.ka=new MKc(a.clone(),this.context,this.MMb.bind(this),b);_.aa.setTimeout(function(){c.ka=null},3E3);return this.ka};
_.g.MMb=function(a){var b=this;return this.H.then(function(c){return c.Oe(a)}).then(function(c){return _.dI(b.context.Vc)?Xvc(b.context.Cf.Fq,c.ad().lN(),a.jd().getId()).then(function(){return c}):c},BK)};_.g.Caa=function(a){var b=this;return _.hi(this.H.then(function(c){return c.Oe(a)}).then(function(c){return _.dI(b.context.Vc)?Xvc(b.context.Cf.Fq,[_.w(c,_.nk,2)],a.qc()).then(function(){return c}):c},BK))};_.g.Q8=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};
_.g.Zwa=function(a){return this.V.Fxa(a.clone())};_.g.j8=function(a){return this.H.then(function(b){return b.Oe(a)}).then(null,BK)};_.g.nP=function(a){return this.H.then(function(b){return b.Oe(a)}).then(function(b){var c=new _.dn;gwc(a,b).then(function(d){return c.resolve(d)});return new XKc(c.promise)},function(b){return void BK(b)})};_.g.tHa=function(a){var b=this;return new vKc(this.context,a,function(c){return b.H.then(function(d){return d.Oe(c)}).mg(function(d){return BK(d)})})};
_.g.uHa=function(a){return this.H.then(function(b){return b.Oe(a)}).then(null,BK)};_.g.hd=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};_.g.cO=function(a){return this.H.then(function(b){return b.Oe(a)}).then(null,BK)};_.g.NC=function(a){var b=this,c=[],d=[];a.forEach(function(f){f instanceof _.EI?c.push(String(f.qc())):c.push(String(f.getId()));d.push(b.hd(f))});a=new _.Rn(d);var e=new _.bi;a.addCallback(this.Snb.bind(this,e,c));return e};
_.g.Ixa=function(){return new TJc(this.context.Vc,this.context.eB,this.context.AR().Vfa,this.context.Hm(),this.context.xQ,this.context.Be(),this.context.jk())};_.g.bs=function(a,b){var c=this,d=_.qh();this.W.create(d,a);3===a.getType()?a=jM.prototype.bs.call(this,a).addCallback(function(e){return new _.dK(e,1,!1)}):(uL(this.O,"Qubz4b"),a=this.Ka.enqueue(new LJc(a,b)));return a.addCallback(function(e){Auc(c.W,d,e);return e.response}).yg(function(){nL(c.W,d)})};
_.g.ur=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};_.g.Eaa=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};_.g.O8=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};_.g.AT=function(a){return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};
_.g.yN=function(a,b){var c=this;uL(this.O,"iuEtc");var d=_.qh();this.W.create(d,a);return this.Ia.enqueue(new EJc(a,b)).addCallback(function(e){Auc(c.W,d,e);return e.response}).yg(function(){nL(c.W,d)})};
_.g.dH=function(a,b){var c=this,d=_.oe(this.context.Vc.Tf(),30);if(!d||0===d.length)return _.ii(new _.Uc("getUserPrefs requires a namespace.",_.BI(3)));0===_.oe(a,3).length&&koc(a,d);var e=_.qh();this.W.create(e,a);uL(this.O,"OZvrNc");return this.Pa.enqueue(new QJc(a,b)).addCallback(function(f){Auc(c.W,e,f);return f.response}).yg(function(){nL(c.W,e)})};_.g.CS=function(a){WKc(_.oe(this.context.Vc.Tf(),30),a);return _.hi(this.H.then(function(b){return b.Oe(a)}).then(null,BK))};
_.g.mu=function(a){var b=this;return _.hi(this.H.then(function(c){return c.Oe(a)}).then(function(c){return _.dI(b.context.Vc)?Vvc(b.context.Cf.Fq,c):c},BK))};_.g.dMa=function(a){return this.V.Xxa(a.clone())};_.g.dra=function(a){return this.V.Wxa(a.clone())};_.g.CKa=function(a){var b=this;return new wKc(this.context,a,function(c){return b.H.then(function(d){return d.Oe(c)}).mg(function(d){return BK(d)})})};_.g.DKa=function(a){return this.V.Qxa(a.clone())};_.g.Z_=function(a){qEc(this.context.Cf,[a])};
_.g.A0=function(a){return this.H.then(function(b){return b.Oe(a)}).then(null,BK)};_.g.yo=function(a){if(1!==_.NJ(this.context.Vc))return Promise.reject(Error("Vg"));for(var b=_.m(a),c=b.next();!c.done;c=b.next()){c=c.value;if(!c.qc())return Promise.reject(Error("Wg"));if(!c.Tk()&&!c.getItem())return Promise.reject(Error("Xg"))}this.context.Cf.yo(a);eFc(this.context.Cf);return Promise.resolve()};_.g.DCa=function(){return this.context.AR().mK()};
_.g.gz=function(a){var b=this;return this.context.gz(a).then(function(c){return c?(b.context.Gj().gz(a),b.context.Rs.tL()):_.Xh(!a)})};_.g.MY=function(a){UIc(this.context).MY(a);this.gz(!!a)};_.g.zF=function(){nM(this.context).addCallback(function(a){a&&a.Xoa()});this.context.Aha.zF()};_.g.JY=function(a){a.gOa(this.context)};_.g.Snb=function(a,b,c){for(var d={},e=0;e<c.length;e++)d[b[e]]=c[e][1];eFc(this.context.Cf);a.callback(d)};
_.g.sync=function(){var a=this;return _.Zh([this.context.zaa.promise,this.context.Wfa.promise]).then(function(){return a.context.Rs.tL()}).then()};_.g.Lu=function(){nM(this.context).addCallback(function(a){a&&a.dispose()});return jM.prototype.Lu.call(this)};_.g.Rba=function(){return this.kb.promise};
var hLc=function(){var a='<div class="'+_.C("la-r")+'">';a=a+'Something went wrong. Please reload.</div><button class="'+(_.C("la-Y-A")+" "+_.C("kc-A")+'" data-target="reload">');return(0,_.D)(a+"Reload</button>")};
_.bn({id:_.Dl,callback:function(a){var b=_.Kmc(a),c=Woc(a),d=_.w(a.get(_.yd),_.rc,10);_.Xhc(d,b);_.qj(d,28,c);b=Uoc(a,d);a.registerService(_.El,b.f$());_.ti(b,"VbxEwf",function(){var e={};_.cd(_.Yq.getService(a),new _.Sp(new _.Rp(hLc,{}),"d",(e.reload=function(){_.aa.window.location.reload()},e),4))});return b}});

_.t();

}catch(e){_._DumpException(e)}
try{
_.n("RsR2Mc");

_.iLc=function(a,b){return _.u(a,2,b)};_.jLc=function(a,b){return _.u(a,1,b)};_.kLc=function(a,b){return _.E(a,2,b)};_.lLc=function(a,b){return _.sj(a,1,b)};_.mLc=function(a,b){return _.qj(a,1,b)};_.nLc=function(a,b){return _.sj(a,2,b)};_.oLc=function(a,b){return _.E(a,3,b)};

_.t();

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