unction hvj(a,c,e,f,g){fvj.call(this,a,c,e);this.O=f;this.D=g}H(hvj,fvj);hvj.prototype.Wa=function(){var a=this;fvj.prototype.Wa.call(this);this.bb().listen(this,mc,function(){a.dispatchEvent(jm);REh(a.O,a.D)})};function ivj(a,c,e,f,g,h){NU.call(this);this.V=this.F=this.GF=this.O=this.R="";this.D=null;this.ea=a;this.H=c;this.wa=e;this.ma=f;this.va=g;this.W=h}H(ivj,NU);ivj.prototype.Wa=function(){NU.prototype.Wa.call(this);this.bb().listen(this.Ba(),yd,this.J);this.Ka(!1)};
ivj.prototype.J=function(){var a=this;if(!this.D||this.D.isDisposed()){var c=this.F?new hvj(this.Ma(),xb,!0,this.F,this.va):void 0,e=new gvj(this.Ma(),k7f,this.W.qa(tRa),this.ea,(new RC).Mb(222).oa());this.D=new bvj(this.O,this.GF,this.V,this.La(),this.Ma(),this.wa,this.ma,e,c,this.R,"docs-icon-label-outline",void 0,!1,void 0);this.D.render();this.xa(this.D);vU(e.La(),"View labels applied to this file");this.F&&vU(c.La(),"Link to your organisation's policy");this.bb().listen(this.D,"ya",function(){a.H.Db(30194)});
this.H.Db(30193)}};ivj.prototype.Ai=function(a){return a.keyCode==13||a.keyCode==32?(this.Qp(a),this.J(),!0):!1};ivj.prototype.Ka=function(a,c){a||!this.D||this.D.isDisposed()||this.D.Uo();hJ(Uyb(this.Ba()),"docs-titlebar-badge-container-hidden",!a);return NU.prototype.Ka.call(this,a,c)};function jvj(a,c,e){T.call(this);var f=this;this.D=a;this.H=e;this.F=new hx;this.xa(this.F);kvj(this,c);this.F.Pa(this.D.Dq,function(){return void kvj(f,c)});mD(this.D.H)||jx(this.F,this.D.H.H,function(){return void kvj(f,c)})}H(jvj,T);
function kvj(a,c){if(mD(a.D.H)){var e=a.D.wB;if(e!=null){c.R=e.H;var f=e.F;c.O=f;Ss(c.Ba(),f);vU(c.La(),f);c.Uf(f+" badge");f=e.D;c.Ba().style.backgroundColor=f;f=e.J;c.Ba().style.color=f;c.V=e.O;c.GF=e.Ie();c.F=e.getUrl();c.D&&!c.D.isDisposed()&&c.D.isVisible()&&c.D.Uo();c.Ka(!0);a.H.Db(30192)}else c.Ka(!1),a.H.Db(30199)}};function lvj(a,c,e,f){fvj.call(this,a,c,!1);this.O=e;this.D=f}H(lvj,fvj);lvj.prototype.Wa=function(){var a=this;fvj.prototype.Wa.call(this);this.bb().listen(this,mc,function(){a.D&&a.D.Db(133801,a.O);a.dispatchEvent(jm)})};function mvj(a,c,e,f,g,h){NU.call(this);this.V=a;this.ea=c;this.W=e;this.D=null;this.O=f;this.H=g;this.R=h;this.J=$Ec((new RC).Mb(93),C6g(new VC,!0)).oa()}H(mvj,NU);mvj.prototype.Wa=function(){var a=this;NU.prototype.Wa.call(this);var c=this.La();vU(c,g6f,g6f);eK(c,dd);this.bb().we(c,yL,function(){return nvj(a,!1)})};
function nvj(a,c){if(ovj(a))a.D.Ka(!1);else{a.D&&a.D.dispose();var e=a.O&&mD(a.O.H);if(c||!e)a:{var f=a.R;switch(f){case nBa:case pBa:case oBa:f=a.H.qa(f);break a;default:throw Error("aU");}}else f=a.H.qa(CFa);if(c||!e)a:switch(a.R){case nBa:e="Create new encrypted document";break a;case pBa:e="Create new encrypted spreadsheet";break a;case oBa:e="Create new encrypted presentation";break a;default:throw Error("aU");}else e=pha;e=new gvj(a.Ma(),e,f,a.V,a.J);f=new lvj(a.Ma(),lb,a.J);var g=new xs;var h=
"Your organisation recommends using additional encryption for most files. "+ys(g,"a",{href:Osg,target:ic,"class":tSg})+"Learn more about additional encryption"+zs(g,"a");g=g.format(h);a.D=new bvj(g6f,g,ja,a.Ba(),a.Ma(),a.ea,a.W,f,e,void 0,void 0,void 0,c,void 0,["extra-long-popout"]);a.xa(a.D);a.D.render();a.D.Ka(!0)}}function ovj(a){return a.D!=null&&!a.D.isDisposed()&&tEh(a.D.D)}mvj.prototype.F=function(){ovj(this)&&this.D.Uo()};function pvj(a,c,e,f,g,h,k){Quj.call(this,a,c,f);this.Da=g||new Dkj;this.Ja=h||new FUc;this.J=k||null;this.Fa=e;this.W=this.H=this.D=null;this.V=!0;this.wa=this.O=this.va=null}H(pvj,Quj);D=pvj.prototype;D.ZXb=function(){this.bb().listen(this.D,ph,this.ild).listen(this.D,Tc,this.hld).listen(this.D,ei,this.Juc).listen(this.va,pi,this.jld);this.ea.subscribe(this.jc.qa($Ia),mc,this.aid)};
D.qIb=function(a){this.H&&this.D&&(this.H.style.maxWidth=Math.max(a-16,0)+jk,a=parseInt(bt(this.H,hm),10)+5,this.D.style.width=a+jk)};function Uuj(a){if(a.W&&a.H&&a.D){var c=a.Ma(),e=a.jc.qa($Ia).isEnabled(),f=a.F.Ua==null?a.F.Wb():A7c(a.F);vU(a.D,e?Yia:f);c.hn()!==a.D&&(a.D.value=f,Ss(a.W,f));hJ(a.H,"docs-title-untitled",z7c(a.F))}}D.KLb=function(){if(this.H&&this.D){var a=this.jc.qa($Ia).isEnabled();this.D.style.visibility=a?am:Eh;this.H.style.pointerEvents=a?tj:Lc;Uuj(this)}};
D.ild=function(){this.J&&this.J.Ld(3);this.H.style.visibility=Eh;this.wa=this.D.value;z7c(this.F)&&(this.O=this.Da.qd(),this.O!=null&&(this.D.value=this.O,Ss(this.W,this.O),this.dispatchEvent(zSg)),wI(this.D.select,0,this.D));this.dispatchEvent(ySg)};
D.hld=function(){this.H.style.visibility=am;Ap&&lwi(this.D,!0)[0]!=lwi(this.D,!1)[1]&&(jwi(this.D,0),mwi(this.D,0));this.D.value===this.wa&&(this.V=!1);this.wa=null;if(this.V){var a=this.D.value;if(!a||Yo(a)==""){if(z7c(this.F)){this.kG();this.V=!0;return}a=this.Fa.get(wGa)}var c=this.F.Ua;c&&(a+="."+c);Ekj(this.F,r(),!1,this.Ja,8,this.O,a)}else this.kG();this.V=!0;this.O=null;this.dispatchEvent(wSg)};D.aid=function(){this.D.focus();this.D.select()};D.Juc=function(){Ss(this.W,this.D.value);this.dispatchEvent(zSg)};
D.jld=function(a){switch(a.keyCode){case 13:this.D.blur();this.J&&this.J.Ld(2);break;case 27:this.V=!1,a.stopPropagation(),a.preventDefault(),this.D.blur(),this.J&&this.J.Ld(2)}};function qvj(a,c,e,f){NU.call(this);this.O=a;this.H=c;this.R=e;this.J=f;this.D=null}H(qvj,NU);qvj.prototype.Wa=function(){var a=this;NU.prototype.Wa.call(this);var c=this.La();vU(c,this.O,this.O);eK(c,dd);this.bb().we(c,yL,function(){return rvj(a,!1)})};function rvj(a,c,e){if(svj(a))a.D.Ka(!1);else{var f=a.H,g=a.La(),h=a.Ma(),k=f.O.D(),l=f.V.D();c=new bvj(f.F,f.D,ja,g,h,f.J,f.H,l,k,void 0,void 0,f.R,c,e);a.D=c;a.xa(a.D);a.D.render();a.D.Ka(!0);a.J&&a.R.Db(a.J)}}function tvj(a){svj(a)&&a.D.wd()}
function svj(a){return a.D!=null&&!a.D.isDisposed()&&tEh(a.D.D)}qvj.prototype.F=function(){svj(this)&&this.D.Uo()};function uvj(a,c,e,f,g){this.R=a;this.F=c;this.J=e;this.H=f;this.O=g}uvj.prototype.D=function(){return new gvj(this.R,this.F,this.J,this.H,this.O)};function vvj(a,c,e){this.J=a;this.F=lb;this.H=c;this.O=e}vvj.prototype.D=function(){return new lvj(this.J,this.F,this.H,this.O)};function wvj(a,c,e,f,g,h,k){this.F=a;this.D=c;this.J=e;this.H=f;this.O=g;this.V=h;this.R=k};function xvj(a,c,e){this.H=a;this.J=c;this.F=xb;this.O=e}xvj.prototype.D=function(){return new hvj(this.H,this.F,!1,this.O,this.J)};function yvj(a,c,e,f,g,h,k,l,p,q){return new wvj(c,e,f,g,new uvj(a,h,k,l,p),new vvj(a,p,q))};function zvj(a,c,e,f){oJ.call(this,c);this.W=a;this.O=f!==void 0?f:2E3;this.V=e!==void 0?e:2E3;this.J=new kJ(this);this.R=!1;this.F=this.D=this.H=null}H(zvj,oJ);D=zvj.prototype;D.Wa=function(){var a=this;oJ.prototype.Wa.call(this);var c=this.Ba();this.D=new aje(c,this.V);this.F=new $ie(c,this.O+this.V,function(e){var f=a.O/(a.O+a.V);return e<=f?0:(e-f)/Math.max(0,1-f)});lt(this.Ba(),!1);this.J.listen(this.F,Nma,this.wd).listen(this.D,Nma,this.wd).listen(this.F,lWa,this.f7b).listen(this.D,lWa,this.f7b)};
D.jy=function(a,c){this.wc();c?this.H==null&&this.cmc(a):(this.H!=null&&(this.H?this.D.stop(!1):this.F.stop(!1),this.H=null),kt(this.Ba(),""),lt(this.Ba(),a));this.wd();this.R=a};D.f7b=function(){var a=this.H;this.H=null;a!=this.R&&wI(Km(this.cmc,this,this.R),0)};D.cmc=function(a){a?this.D.play():this.F.play();this.H=a};
D.wd=function(){for(var a=null,c=0;c<this.W.length;c++){var e=jt(this.W[c]);a?nzb(a,e):a=e}ct(this.Ba(),a.left,a.top);c=this.Ba();Y3g(c,new Lr(a.width,a.height),Z$f);$s(this.Ba(),RLg,a.height+jk)};D.fb=function(){Iw(this.J);delete this.J;Iw(this.D);delete this.D;Iw(this.F);delete this.F;oJ.prototype.fb.call(this)};function Avj(){uI.call(this);this.xc=tj}Nm(Avj,uI);Avj.prototype.Ld=function(a){var c=this.xc!=a;c&&(this.xc=a,this.dispatchEvent(sd));return c};Avj.prototype.getState=x(im);function Bvj(a,c,e){e=e===void 0?!1:e;oJ.call(this,c);this.V=e;this.D=sa;this.J=0;this.F=a}Nm(Bvj,oJ);var Cvj={yve:0,Eva:1,GZd:2,vla:3};D=Bvj.prototype;D.setSize=function(a){this.Ba();this.J=a};D.Oa=function(){Bvj.Sc.Oa.call(this);var a=this.Ma();this.O=a.createElement(Wa);this.R=a.Oa(Wa,"jfk-activityIndicator-icon");var c=["jfk-activityIndicator"];this.J==1&&c.push("jfk-activityIndicator-small");this.Zb(a.Oa(Wa,c,this.O,this.R))};D.Pc=x("O");
D.Wa=function(){Bvj.Sc.Wa.call(this);this.bb().listen(this.F,sd,this.kjc)};
D.kjc=function(){if(!this.H||this.H.complete){this.dh(!0);var a,c=a=this.D,e=2,f=this.H;f&&(a=f.y4a,c=f.z4a,e=f.direction,jp(Pr(Cvj),e),e=(e+1)%4,jp(Pr(Cvj),e));f=this.F.getState();switch(f){case Qi:var g=Dvj[e];var h=g[0];g=g[1];break;case tj:g=h=this.D;break;case Y5a:h="#999",g="#777"}a=new Evj(f,e,h,a,a,c,h,g,this.J,this.Ma());this.H={complete:!1,y4a:a.y4a,z4a:a.z4a,direction:a.direction};this.eb(a,!0);this.bb().Se(a,"Aa",this.Kuc);wI(Lm(this.xTc,a),0,this);Fvj(this)}};
D.xTc=function(a){this.wc()&&(a.play(),wI(function(){!this.isDisposed()&&this.wc()&&this.ea&&!this.complete&&this.W()},500,a))};D.Kuc=function(a){this.H.complete=!0;a=a.target;var c=this.F.getState();c==a.state&&c!=Qi||this.kjc();Fvj(this);this.V||Iw(a)};function Fvj(a){a.R.style.opacity=a.F.getState()==Y5a?1:0}var Dvj={0:["#00B15F","#008948"],1:["#3C78F8","#2159bd"],2:["#FA2424","#9e1212"],3:["#FFD34B","#dea11a"]};
function Evj(a,c,e,f,g,h,k,l,p,q){oJ.call(this,q);this.state=a;this.complete=!1;this.direction=c;this.va=e;this.ma=f;this.wa=g;this.za=h;this.y4a=k;this.z4a=l;this.O=p==1?16:19}Nm(Evj,oJ);
Evj.prototype.Oa=function(){Evj.Sc.Oa.call(this);var a=this.Ba(),c=this.Ma();eJ(a,"jfk-activityIndicator-circle-transition");var e=c.Oa(Wa,eAg),f=c.Oa(Wa,eAg);c.append(a,e,f);var g=c.Oa(Wa,dAg);c.appendChild(e,g);$s(g,C$f,this.va);var h=c.Oa(Wa,dAg);c.appendChild(f,h);$s(h,C$f,this.ma);a=c.Oa(Wa,dAg);var k=c.Oa(Wa,dAg);c.appendChild(e,a);c.appendChild(f,k);$s(a,C$f,this.wa);$s(k,C$f,this.z4a);this.F=a;this.D=k;this.R=g;this.V=h;this.H=e;this.J=f;c=this.O+jk;e=Math.ceil(this.O/2)+jk;f="-"+e;switch(this.direction){case 1:$s(this.H,
{left:0,top:0});$s(this.J,{left:e,top:0});$s(this.F,{left:0,top:0});$s(this.D,{width:0,left:0});$s(this.R,{left:0,top:0});$s(this.V,{left:f});break;case 3:$s(this.H,{left:e,top:0});$s(this.J,{left:0,top:0});$s(this.F,{left:f,top:0});$s(this.D,{width:0,left:e});$s(this.R,{left:f,top:0});break;case 0:$s(this.H,{left:0,top:e});$s(this.J,{left:0,top:0});$s(this.F,{left:0,top:f});$s(this.D,{top:e,height:0});$s(this.R,{left:0,top:f});break;case 2:$s(this.H,{left:0,top:0}),$s(this.J,{left:0,top:e}),$s(this.F,
{left:0,top:0}),$s(this.D,{left:0,height:0}),$s(this.R,{left:0,top:0}),$s(this.V,{top:f})}f=this.direction;c=f==0||f==2?{width:c,height:e}:{width:e,height:c};$s(this.H,c);$s(this.J,c);eJ(a,"jfk-activityIndicator-transition");eJ(k,"jfk-activityIndicator-transition-second")};
Evj.prototype.play=function(){this.wc();Ap&&it(this.Ba());this.ea=!0;Gvj(this,this.D,this.W);$s(this.F,C$f,this.za);$s(this.D,C$f,this.y4a);var a=this.O+jk,c=Math.ceil(this.O/2)+jk,e="-"+c;switch(this.direction){case 1:$s(this.F,{width:0,left:c});$s(this.D,{left:e,width:a});break;case 3:$s(this.F,{width:0,left:0});$s(this.D,{width:a,left:0});break;case 0:$s(this.F,{top:0,height:0});$s(this.D,{top:0,height:a});break;case 2:$s(this.F,{top:c,height:0}),$s(this.D,{top:e,height:a})}};
function Gvj(a,c,e){var f=!1;a.bb().Se(c,[Efb,Adb],function(){f||(f=!0,e.call(a))})}Evj.prototype.W=function(){this.complete=!0;this.dispatchEvent("Aa");lt(this.V,!1)};function Hvj(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C,E,F,I,J,N){var W=this;w=w===void 0?!1:w;z=z===void 0?!1:z;C=C===void 0?null:C;I=I===void 0?null:I;oJ.call(this);this.D=a;this.jc=c;this.F=e;this.Ja=f;this.Fa=g;this.kc=h;this.Ub=k||null;this.Sa=l||null;this.V=q||new FUc;this.J=new OJ(this);this.ma=new aV(void 0,void 0,!0,XV());this.ib=new zJ(this.eQb,200,this);this.Za=new Huj(this.D,this.jc,e);this.xa(this.Za);this.Ra=null;this.Kb=nge(e);this.R=new pvj(this.D,this.jc,this.F,this.Ma(),p,q,u);this.xa(this.R);
this.W=new hx;this.xa(this.W);this.ea=null;this.Cc=(this.wb=w)?y:null;this.Na=null;this.yc=z;this.fc=A||null;this.Ca=C||void 0;this.Eb=F||null;this.ob=I;this.Qb=J||void 0;this.qc=N||void 0;this.H=this.Ua=this.O=this.za=this.wa=this.va=null;this.Ib=!1;E&&E.addCallback(function(Y){return Ivj(W,Y)})}Nm(Hvj,oJ);D=Hvj.prototype;D.fY=null;D.tCa=!1;D.XFa=null;D.G1a=null;D.U1c=function(){var a=wR(this.Ma(),qgg),c=wR(this.Ma(),PCa),e=this.Ma().Ba(XGa);return this.tCa?this.fY.La():!qt(c)&&e?e:a};
D.fb=function(){Hvj.Sc.fb.call(this);Iw(this.ma);Iw(this.ib);Iw(this.Ra);Iw(this.J);this.Na&&Iw(this.Na);delete this.G1a};
D.Wa=function(){var a=this;Hvj.Sc.Wa.call(this);var c=this.bb(),e=this.Ma(),f=this.F;xL(e.Xb(DPa));xL(e.Xb(Slg));var g=e.Xb("docs-templates-badge");g&&lt(g,!0);f.Ha("docs-cse-ecw")&&(this.Ua=new ivj(this.ma,this.V,this.Ja,this.Fa,this.F,this.jc),g=wR(e,"docs-classification-badge"),this.Ua.Sb(g),g=new jvj(this.D,this.Ua,this.V),this.xa(g));f.Ha("docs-eobew")&&(this.W.Pa(this.D.bB,function(){a.D.Da==1||a.D.Da==2?Jvj(a):Kvj(a)}),this.D.Da==1||this.D.Da==2?Jvj(this):Kvj(this));g=new Ouj(this.ma,this.J,
this.jc);var h=wR(e,jg);g.Sb(h);g=e.Xb("docs-parent-collections-container-outer");this.fY=this.D.O?new vtj(this.D,this.F):new utj(this.D);this.fY.Sb(g);this.fY.Ka(!1);g=Ur(eV);Tr(g,am);h=(new RC).Mb(61).oa();cV(this.ma,this.fY,this.jc.qa(Vf),g,void 0,h);g=this.Za.F;f.Ha(mfg)&&g?this.Sa&&(this.ea=new Ntj(this.D,g,this.Sa,this.ma,this.V,this.fc,this.wb,this.jc,this.kc,Yoi.Cb(),this.F,this.Ub||void 0,this.Cc||void 0,void 0,this.Ca,this.Qb,this.qc),f=e.Ba(Akg),this.ea.Sb(f),this.xa(this.ea)):(this.G1a=
wR(this.fe,"docs-activity-indicator"),this.Sa&&(this.XFa=new Avj,f=new Bvj(this.XFa,void 0,!0),f.setSize(1),f.render(this.G1a),this.xa(this.XFa),this.xa(f)));Ruj(this.R,this.La());Tuj(this.R);c.listen(this.R,zSg,function(){return void a.Tyb()});c.listen(this.R,wSg,function(){qx(a.W,a.D.Bd);a.tCa||Lvj(a,!1)}).listen(this.R,ySg,function(){return Mvj(a)});this.J.subscribe(this.jc.qa(gIa),mc,function(){a.tCa&&(Lvj(a,!1),a.tCa=!1)});c.listen(this.R,xSg,function(){return Nvj(a)});this.D.Zc()&&(Ovj(this),
Pvj(this));Qvj(this)&&(Rvj(this),Svj(this));this.F.Ha("docs-sdb")&&!this.D.Zc()&&(Tvj(this),!mD(this.D.H)&&Qvj(this)||Uvj(this));this.F.Ha("docs-sdb")&&!this.D.Zc()||!this.F.Ha(rBa)||(Vvj(this),Wvj(this));this.Za.init();if(f=BEi())c.listen(f,[rk,"f"],this.Tyb),this.Tyb();(c=(c=e.Ba("docs-branding-container"))?c.firstChild:null)&&Ydi(c);if(this.XFa||this.ea)this.eQb(!0),this.W.Pa(this.Sa.D,function(){return a.ib.start.call(a.ib)});this.Ca&&this.W.Pa(this.Ca.Hf(),function(){Xvj(a)});Nvj(this);Xvj(this);
this.yc&&(c=e.Ba(fig),e=new QU(c,new RU),e.Sb(c),c=(new jW).F().oa(),this.xa(c),cV(c,e,this.jc.qa(Rya),{enabled:!0,value:!0,visible:!0,hint:!0},void 0,(new RC).Mb(93).oa()),this.xa(e));this.J.jd(this.jc.qa(bf),qy,function(){var k=Es(Seg);if(k){var l=a.jc.qa(bf).Gc();k=k.getElementsByClassName(Af)[0];hJ(k,Lgg,l);hJ(k,Mgg,!l)}})};
function Yvj(a,c){if(Zvj(a)){var e;c=(e=c.O)==null?void 0:e.D;for(var f=e=!1,g=0;g<c.length;g=g+1|0){var h=c[g];h.D===1?f=!0:h.D===2&&(e=!0);if(f&&e)break}c=f&&e?3:e?2:f?1:0;c==3?(c="Limitations are applied based on the file owner\u2019s organisation policies, while permissions are set by the shared drive or file owner",e=!0):c==2?(c="Limitations are applied based on the file owner\u2019s organisation policies",e=!0):c==1?(c="Limitations are applied based on permissions set by the shared drive or file owner",
e=!0):(c="",e=!1);a.O.H.D=c;lt(wR(a.Ma(),Tjg),e);e&&a.jc.qa(sIa).xb()}else a.O.H.D="",a.O.F(),lt(wR(a.Ma(),Tjg),!1)}function Nvj(a){var c=a.Ma().Ya(XNg),e=a.D.Ua;e?(vU(c,$vj(e)),FLe(a.D,a.F)?(a=a.Ma().Ya("office-editing-file-extension-text"),ls(a,us("."+e)),lt(a,!0)):ls(c,us("."+e)),lt(c,!0)):lt(c,!1)}
function Vvj(a){var c=yvj(a.Ma(),wja,"",a.Ja,a.Fa,"View all limitations",a.jc.qa(vRa),a.ma,(new RC).Mb(220).oa());a.O=new qvj(wja,c,a.V,1337528);a.xa(a.O);awj(a,Tjg,"docs-policy-indicator-badge",a.O,!1);a.W.Pa(a.D.J.W,function(){return void Yvj(a,a.D.J)});mD(a.D.H)||jx(a.W,a.D.H.H,function(){return void Yvj(a,a.D.J)});a.bb().listen(a.O.La(),yd,function(){var e=Mv(a.F,"docs-pvct");e&&ZU(YU.Cb(),e,a.F)});a.jc.qa(vRa).MY(function(e){e.property===Yg&&Yvj(a,a.D.J)})}
function Tvj(a){var c=a.Ma();a.za=new qvj(Q4f,new wvj(Q4f,"Some features are unavailable due to a setting applied by your organisation.",a.Ja,a.Fa,new xvj(c,a.F,Nsg),new vvj(c)),a.V,null);a.xa(a.za);awj(a,"docs-disablement-doc-indicator","docs-disablement-doc-indicator-badge",a.za,!0)}
function Jvj(a){var c=a.jc.qa(wJa);c.Ka(a.D.Da==2);a.H!=null&&Kvj(a);a:switch(a.D.Da){case 1:var e="This document is shared with people outside your organisation";break a;case 2:e="This document is owned by someone outside your organisation";break a;default:throw Error("bU");}a:switch(a.D.Da){case 1:var f="Shared externally";break a;case 2:f="Owned externally";break a;default:throw Error("bU");}c=yvj(a.Ma(),e,"Be cautious about sharing sensitive information",a.Ja,a.Fa,$ia,c,a.ma,(new RC).Mb(250).oa(),
a.V);a.H=new qvj(f,c,a.V,133779);a.xa(a.H);awj(a,Nfg,Mfg,a.H,!0);a.V.Db(133778);var g=a.jc.qa(RBa);if(!g.Gc()){var h=Fs("docs-external-badge-text"),k=Fs(Mfg);h.classList.add(Pfg);k.classList.add(Ofg);a.bb().Se(k,t$d,function(){h.classList.remove(Pfg);k.classList.remove(Ofg);tvj(a.H);g.xb()})}}function Kvj(a){a.H!=null&&(a.H.F(),lt(wR(a.Ma(),Nfg),!1),a.H.dispose(),a.H=null)}
function Ovj(a){var c=Mv(a.F,reg);c=c==""?"Additionally encrypted":(new $R("Additional encryption by {orgName}")).format({orgName:c});var e=a.Ma();a.va=new qvj(c,new wvj(c,"",a.Ja,a.Fa,new xvj(e,a.F,Osg),new vvj(e),"Some features like offline editing and real-time collaboration aren't supported"),a.V,null);a.xa(a.va);awj(a,"docs-encrypted-doc-indicator","docs-encrypted-doc-indicator-badge",a.va,!0)}function Pvj(a){var c=a.jc.qa(Uxa);a.J.jd(a.jc.qa(Txa),ty,function(){rvj(a.va,!0,c)})}
function Svj(a){a.J.jd(a.jc.qa(cya),ty,function(){nvj(a.wa,!0)})}function Uvj(a){a.J.jd(a.jc.qa(sya),ty,function(){var c=a.za,e=a.jc.qa(tya);rvj(c,!0,e)})}function Wvj(a){var c=a.jc.qa(uIa);a.J.jd(a.jc.qa(tIa),ty,function(){!Qvj(a)&&Zvj(a)&&rvj(a.O,!0,c)})}function Zvj(a){if(!mD(a.D.H)||!a.jc.qa(vRa).isEnabled())return!1;var c;return((c=a.D.J.O)==null?void 0:c.D)!=null}
function Qvj(a){if(a.D.Zc()||mD(a.D.H)&&!a.Da||a.D.O||a.F.Ha(yBa)&&a.D.kd)return!1;var c=a.F.Ha(Meg)&&kD(a.D.J,22,0),e=a.F.Ha(Fjg),f=!mD(a.D.H)||!a.Da.HK();return c&&e&&!!a.ob&&f}function Rvj(a){qt(wR(a.Ma(),Qeg))||(a.wa=new mvj(a.ma,a.Ja,a.Fa,a.D,a.jc,a.ob),a.xa(a.wa),awj(a,Qeg,"docs-default-to-cse-indicator-badge",a.wa,!0))}function awj(a,c,e,f,g){lt(wR(a.Ma(),c),g);c=wR(a.Ma(),e);f.Sb(c);a.J.jd(a.jc.qa(eg),py,function(){return void f.F()})}
D.Ef=function(){Hvj.Sc.Ef.call(this);kx(this.W);nye(this.J);var a=this.R;nye(a.ea);lJ(a.ma);kx(a.R)};
D.Tyb=function(){var a=$jh(Qlg),c=$jh(DPa);a&&c&&(a=a.offsetWidth,a-=$jh(Slg).offsetWidth,a-=bwj(c),this.R.qIb(a));if(!oE().ll()&&(a=Yjh(PCa),c=$jh(Qlg),a&&c&&qt(a))){c=c.offsetWidth<500;hJ(a,Tlg,c);(a=Yjh(Ulg))&&hJ(a,Tlg,c);(a=Yjh(Ujg))&&hJ(a,Tlg,c);a=Yjh($Fa);var e=Yjh(QFa);a&&e&&(lt(a,!c),lt(e,!c))}a=Yjh(PCa);c=Yjh(QFa);e=$jh(DPa);a&&c&&e&&(a=a.offsetWidth-e.offsetWidth-GS(c).left,c.style.maxWidth=Math.max(a,0)+jk);cwj(this);this.ea&&(c=this.ea.D,c.isVisible()&&c.D.wd());this.va&&tvj(this.va);
this.wa&&(c=this.wa,ovj(c)&&c.D.wd());this.za&&tvj(this.za);this.Ua!=null&&(c=this.Ua,c.D!=null&&!c.D.isDisposed()&&tEh(c.D.D)&&c.D.wd());this.O!=null&&tvj(this.O);this.H!=null&&tvj(this.H)};function cwj(a){if(a.Da){var c=$jh(Qlg);if(c){c=c.offsetWidth;var e=dwj(a),f=a.Ib?a.Da.plb():0;c=c<500||e!=null&&e<=f;a.Da.EUa(c);a.Ib=c}}}
function Mvj(a){a.jc.qa(Vf).isEnabled()&&a.jc.qa(Vf).isVisible()&&a.jc.qa(Vf).getValue()==hOg&&(a.D.xf.dispatchEvent(null),jx(a.W,a.D.Bd,function(){a.bb().Se(a.fY.La(),ej,a.Cfd,!0);a.bb().listen(a.fY.La(),kj,a.Ifd,!0);Lvj(a,!0)}))}D.Cfd=function(){this.tCa=!0;this.bb().listen(this.fY.La(),Tc,this.ayb)};D.ayb=function(){Lvj(this,!1);this.tCa=!1;this.bb().De(this.fY.La(),Tc,this.ayb)};D.Ifd=function(){this.bb().De(this.fY.La(),Tc,this.ayb)};
function Ivj(a,c){a.Da=c;cwj(a);a.D.Zc()||(Qvj(a)&&Rvj(a),a.Da.listen(h8f,function(){Qvj(a)?Rvj(a):qt(wR(a.Ma(),Qeg))&&(a.wa.F(),lt(wR(a.Ma(),Qeg),!1),a.wa.fb())}))}function Lvj(a,c){hJ(Fs(Slg),"docs-badges-hidden-with-width",c);c&&(a.va!=null&&a.va.F(),a.za!=null&&a.za.F(),a.H!=null&&a.H.F());a.fY.update();a.fY.Ka(c)}function dwj(a){var c=BEi();if(!c)return null;c=c.Eo().width;if(!c)return null;a=Math.max(c-ych(a.Kb),0);c=bwj(Yjh(QFa),!0);var e=bwj($jh(DPa));return a-(c+e)}
function bwj(a,c){c=c===void 0?!1:c;if(!a)return 0;var e=GS(a);return(c?a.scrollWidth:a.offsetWidth)+e.left+e.right}D.wZc=function(a){this.Na=a;this.xa(this.Na);this.ea&&$tj(this.ea,this.Na.F);(a=Fs("blob-state-indicator"))&&this.Na.Sb(a)};D.k6b=function(){return this.Ma().Ba("docs-titlebar-share-client-button")};
D.MId=function(){if(this.wc()){if(!this.Ra){var a=this.Ma(),c=[this.Ba(),a.Ba(Pva)];this.Ra=new zvj(c,a);c=a.Oa(Wa,"docs-fading-toolbar-message","Offline mode (View only)");a.appendChild(document.body,c);this.Ra.Sb(c)}this.Ra.jy(!0,!1);this.Ra.jy(!1,!0)}};D.eQb=function(a){if(!this.ea){var c=!this.Sa.Dh(),e=this.XFa.Ld(c?tj:Y5a),f=this.G1a;f&&(a||e)&&(f.setAttribute(Gcg,c?"":G7f),hK(f,c?"You are online":G7f))}};
function Xvj(a){var c=$jh(DPa);c&&hJ(c,"docs-titlebar-buttons-view-mode",!!a.Ca&&!a.Ca.Xf()&&!a.Ca.yMa())}function $vj(a){switch(a){case "docx":case zdg:case "docm":case "dot":return l1f;case "xlsx":case "xls":case "xlt":case "xlsm":return h1f;case "pptx":case "ppt":case "pot":case "pps":case "pptm":return j1f;default:return""}}
function ewj(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C,E,F,I,J,N,W){y=y===void 0?!1:y;A=A===void 0?!1:A;E=E===void 0?null:E;var Y=Es(CPa);if(!Y)return null;c=new Hvj(a,c,e,g,h,k,l,f,p,q,w,y,z,A,C,E,F,I,J,N,W);a=u||new oef(a.H,f,a.Zc());c.wc();c.Za.F=a;c.Sb(Y);(Y=Es("docs-debug-integrated-label"))&&c.Eb&&(Ss(Y,"| "+c.Eb),lt(Y,!0));return c};function fwj(a){To.call(this,"CopyError with SafeHtmlMessage: ("+a.toString()+")");this.D=a}H(fwj,To);function gwj(a){return a.id||a.copySourceId};function hwj(a,c,e){this.H=a;this.D=c===void 0?null:c;this.F=e===void 0?null:e}hwj.prototype.mj=x("H");function iwj(a){switch(a){case 3:case 4:return"Can't add additional encryption because the copy will reach the max. file size limit";case 5:return"Can't add additional encryption because the copy will reach the max. number of images";case 6:return"Can't add additional encryption because the total image size is too large.  Consider removing images for more space.";default:return"Can't add additional encryption due to an unknown error"}};function jwj(a,c,e,f,g,h,k,l,p,q,u){T.call(this);this.R=a;this.ea=c;this.H=e;this.F=f;this.D=g;this.va=h;this.K5=k;this.V=l;this.O=p;this.W=q;this.ma=u;this.J=null}H(jwj,T);jwj.prototype.jg=function(a){var c=this,e=this.H.Hh("cc"),f=bx();yw(f,function(h){c.F.Db(30886,kwj());var k={};c.R.Ec(h.Ea,(k.upgradeDowngradeError=!0,k),null)});var g=this.H.Hh("cuep");iK().bYa(this.K5);iK().load(this.K5);lwj(this)?mwj(this,f,a,e,g):nwj(this,f,a,e,g);return f};
function nwj(a,c,e,f,g){var h=lwj(a)?rfh(a.O.qh("/encrypted/upgrade")).withCredentials():a.O.qh("/encrypted/upgradenouc"),k=a.H.Hh("cus");wF(xF(yF(dG(h,Gb).GP(eoa).setTimeout(6E4),1),function(l){return owj(a,l,e,c,f,g,k)}),function(l){a.F.Db(133183);c.Ad(yrh(l))});h.Kh()}
function mwj(a,c,e,f,g){var h=Ph+Mv(a.D,bQa)+Mv(a.D,OMa)+"/authonly";nlh([Am.fetch(h,{credentials:etg,mode:"no-cors"}),DI(15E3).then(function(){throw Error("dU");})]).then(function(){nwj(a,c,e,f,g)},function(){return void c.Ad(new lw("Error fetching OSID auth"))})}
function owj(a,c,e,f,g,h,k){k.complete();if(c.Sq()!==Yma)f.Ad(new lw("Unexpected response type received from server: "+c.Sq()));else{c=new Uint8Array(c.H);try{var l=FFh(c)}catch(q){f.Ad(new lw("Unable to deserialize upgrade proto from server"));return}if(l.getStatus()!==1)c=(new xs).format(iwj(l.getStatus())),c=new fwj(c),f.Ad(yFb(c));else{var p=$Ec((new RC).Mb(12),B6g(new VC,c3g(l.getData()))).oa();a.ma.log("cusp",nR(l,4),!1,p,!1);dL(iK(),a.K5,function(){return pwj(a,l,e,f,g,h,p)},void 0,!0,void 0,
!0)}}}
function pwj(a,c,e,f,g,h,k){h.complete(k);h=bL(a.K5).Kn;a.J||(a.J=h.Ywb(a.ea,a.F,a.R,a.H,a.va,a.D,a.O,new gKh,a.W,r(),r()),Ueh(a.V,a.J.Z_a()));var l=a.J.kKa(h.e6c(e.title,gwj(e),e.copyDestination));e=c.getData();e=kFb(b3g(e));zw(l.F(e).transform(function(){var p=kwj(l.getResponse());g.complete(p);var q=l.getResponse();if(Dq(c,3,cq()).length){var u=[];q.F!=null&&u.push(q.F);if(Dq(c,3,cq()).length){var w=u.push;var y=new xs;var z="Some features couldn't be converted. "+ys(y,"a",{href:"https://support.google.com/docs?p=add_encryption",target:ic})+
xb+zs(y,"a");y=y.format(z);w.call(u,y)}q=new hwj(q.mj(),q.D,vs(u))}a.F.Db(q.F?133128:30885,p);f.callback(q)}),function(p){a.F.Db(133184);f.Ad(p);return null})}function lwj(a){return a.D.Ha("docs-ecuuiuce")&&!!Mv(a.D,bQa)&&!!Mv(a.D,OMa)}function kwj(a){var c=j6g(k6g(new i6g,1),1);c=wD((new RC).Mb(12),z6g(new UC,c));if(a&&a.D){var e=new VC;a=Pq(e,9,a.D);$Ec(c,a)}return c.oa()};function qwj(a,c,e,f,g){T.call(this);this.F=a;this.J=c;this.R=e;this.H=f;this.O=g;this.D=new hx;this.xa(this.D)}H(qwj,T);qwj.prototype.initialize=function(){var a=this;rwj(this)||this.D.Pa(this.F.D.H,function(){rwj(a)})};
function rwj(a){var c=Lv(a.O,"docs-ccwt");if(Object.keys(a.F.H()).length>=c){a.R.Db(30144,(new RC).Mb(6).oa());if(a.H.qa(QIa).isEnabled()){c=new xs;var e=(new $R("Due to heavy collaborator use, some tools for this {docType} may become unavailable for larger audiences. Publishing can make files more accessible. {startLink}Learn more{endLink}")).format({docType:swj(a),startLink:ys(c,"a",{"class":awa,href:"https://support.google.com/docs/answer/183965",target:ic}),endLink:zs(c,"a")});c=AS(c.format(e));
zL.Cb().postMessage(BL(c,F7a,!0))}else c=new xs,e=(new $R("Some tools might become unavailable due to heavy collaborator use of this {docType}. {startLink}Learn more{endLink}")).format({docType:swj(a),startLink:ys(c,"a",{"class":awa,href:"https://support.google.com/docs/answer/2494822#share_with_many_people",target:ic}),endLink:zs(c,"a")}),c=AS(c.format(e)),zL.Cb().postMessage(BL(c,F7a,!0));Iw(a.D);return!0}return!1}
function swj(a){switch(a.J){case v7c:return Dg;case Eph:return Jg;case Fph:return Zl;case Dph:return Vj;case Cph:return TQg;default:return lh}};function twj(a){a=a||{};var c=a.gY,e=a.iWc,f=a.ood;a=a.bqd;return U(Ha+V(Wjg)+" "+V(SP)+'"'+(VJ(f)||VJ(a)?"":ZRf)+(VJ(c)?wRf+V(c)+'"':"")+(VJ(e)?yRf+V(e)+'"':"")+BO+V(Vjg)+ia+V("docs-presence-plus-collab-widget-color-block")+(VJ(a)?" "+V("docs-cse-presence-collab-widget"):"")+" "+V(SP)+ia+V(Zjg)+ia+V("docs-presence-plus-collab-widget-image-border")+UN+V(Yjg)+" "+V("docsshared-no-select")+mTf+V(akg)+" "+V(SP)+ea)}
function uwj(a){a=a.aUc;a=U(Ha+V("docs-presence-plus-collab-widget-label")+" "+V("docs-presence-plus-collab-widget-leader-label")+LSf+V(qT(a))+ia+V("docs-presence-plus-collab-widget-label-text")+n+sT("Following")+Fa);return U('<div class="docs-presence-plus-collab-widget-leader-label-container">'+a+'<div class="docs-presence-plus-collab-widget-leader-label-background"></div></div>')};function vwj(a,c,e,f,g,h,k){h=h===void 0?!1:h;k=k===void 0?!1:k;T.call(this);this.F=a;this.ea=c;this.W=e;this.O=f;this.fe=g||Bs();this.nPa=mJ.Cb();this.J=new qJ;this.xa(this.J);this.RD=!1;this.D=this.od=null;this.V=!1;this.H=h;this.ma=k;this.R=null;this.H||(this.R=new OJ(this),this.xa(this.R))}H(vwj,T);
vwj.prototype.render=function(a){var c=this,e=this.F,f=this.fe,g={gY:this.O.Ha(uf)?e.R:null,iWc:this.O.Ha(uf)&&!e.ai()?e.D:null,ood:this.H,bqd:this.ma};g=aS(twj,g);g.id=nJ(this.nPa);this.H||(f.zo(g,!0),eJ(g,"docs-presence-plus-collab-widget-focus"));g.setAttribute(Ccg,e.F);var h=f.Xb(Yjg,g);h.src=e.Fk();h.setAttribute(uc,e.D);h=this.fe.Xb(Zjg,g);e=e.yd();h.style.backgroundColor=e;this.V&&ls(f.Ya(akg,g),wwj(this));var k=f.Xb(Vjg,g);a&&(eJ(k,Xjg),this.J.Fn(function(){return gJ(k,Xjg)},200));this.od=
k;this.D=g;this.RD=!0;xwj(this);this.setActive(this.H||ywj(this));this.H||this.R.jd(this.W.qa(Lwa),ry,function(){return xwj(c)})};function ywj(a){return uOc(a.ea,a.F,!0)}function xwj(a){if(!a.H&&!a.V){var c=a.D,e=a.F.D+" (idle)",f=new xs;e=a.W.qa(Lwa).isEnabled()&&ywj(a)?f.text(a.F.D)+ys(f,ad)+f.text("Click to see live edit details"):ywj(a)?f.text(a.F.D):f.text(e);a.O.Ha(uf)?(hK(c,f.format(e).toString()),a.F.ai()&&(a=f.format(e),vU(c,a))):(a=f.format(e),vU(c,a))}}
function wwj(a){var c=new xs;a=c.text(a.F.D)+ys(c,Nk,{"class":"docs-presence-plus-collab-widget-idle-text"})+"Idle"+zs(c,Nk);return c.format(a)}vwj.prototype.wc=x("RD");function zwj(a,c){a.wc()&&c?(a.D.removeAttribute(Ccg),eJ(a.od,"docs-presence-plus-collab-widget-exit-material"),a.J.Fn(function(){return a.dispose()},200)):a.dispose()}vwj.prototype.setActive=function(a){this.wc()&&hJ(this.od,"docs-presence-plus-collab-widget-active",a);xwj(this)};
vwj.prototype.fb=function(){this.D&&(Ps(this.D),this.D=this.od=null);T.prototype.fb.call(this)};function Awj(a,c,e,f,g,h){wV.call(this,c,e,f,g,h);this.F=a}H(Awj,wV);Awj.prototype.Ai=function(a){var c=this.F.Ha(uf)&&a&&a.keyCode==39&&a.altKey&&this.isOpen()?(c=pV(this.Hd()))&&c.La().hasAttribute(DP)?!0:!1:!1;if(!c)return wV.prototype.Ai.call(this,a);a=pV(this.Hd()).La();c=a.getBoundingClientRect();var e=bU().J;c=new Kr(c.x+e,c.y+e);e=lSh(new gSh(Kij.Cb()),!0).oa();bU().O6(Jm(a).toString(),a.getAttribute(DP),Date.now(),c,e);return!0};function Bwj(){}H(Bwj,bW);Bwj.prototype.Eca=function(){return cK(TT,{icon:"docs-icon-img docs-icon-expand-less-20",Fm:this.Yd()+qUf})};function Cwj(a,c,e,f,g){this.H=a;this.J=c;this.O=e;this.D=f;this.F=g};function Dwj(a,c,e){return U(Ha+V("docs-sidebar-gm-titlebar-icon-button")+" "+V(JP)+" "+V(e)+ESf+V(c)+EN+V(c)+n+VT(a)+fO)}function Ewj(a,c){a=""+Dwj(IP+(a?"docs-icon-close-24":Jgg),Ra,"docs-sidebar-gm-close-button "+c);return U(a)};function Fwj(a){a=a||{};var c=a.Zc;a=a.dTc;a=Ha+V("docs-chat-pane-container")+" "+V(JP)+'" aria-labelledby="docs-chat-title-string"><div class="'+V("docs-chat-pane")+ia+V(Ieg)+ia+V("docs-chat-title")+'"><h2 id="docs-chat-title-string">'+sT(a)+RVf+V("docs-chat-title-message")+n+VT(lhg)+"<h2>";a+=cZf;var e="</h2></div></div>"+Ewj(void 0,xeg)+iO+V(ueg)+OSf;var f=U('<a target="_blank" href="http://support.google.com/drive/?hl=en&p=anonymous_users">');var g=U(eO);f="Why are some users anonymous? "+sT(f)+
xb+sT(g);f=U(f);a+=e+f+iO+V(Eeg)+'" role="log" aria-live="off" aria-atomic="false" aria-label="';a+=WJ("Chat History");a+=aTf;VJ(c)&&(a+=Ha+V(Feg)+EN,a+=WJ(bZf),a+='" tabIndex=0 role="alert"><div class="'+V("docs-chat-not-encrypted-warning-badge")+n+VT(phg)+iO+V("docs-chat-not-encrypted-warning-label")+n,a+="Document chats are not encrypted</div></div>");a+=Ha+V(yeg)+n+U('<textarea class="'+V(pwa)+'" role="textbox" aria-controls="docs-chat-messages" tabIndex="0"></textarea>')+gO;return U(a)}
function Gwj(a,c){a=a||{};return Hwj(c,a.OAe)}function Hwj(a,c){return U(gV({id:VJ(c)?""+c:teg,Fb:teg,width:1,content:U(VT("docs-icon-img docs-icon-chat-person-wide-grey900")+Ha+V(weg)+da),disabled:!0},a))}function Iwj(){var a=Ha+V("docs-chat-message-tooltip")+ia+V(Deg)+QN+V(Ceg)+QN+V(zeg)+n;return U(a+"Join chat</div></div>")}function Jwj(a){a=a.jKd;return U(Ha+V("docs-presence-plus-widget")+" "+V(SP)+ia+V("docs-presence-plus-widget-inner")+" "+V(SP)+ia+V(bkg)+" "+V(SP)+mSf+V(a)+ea)}
function Kwj(){return U(Ha+V(fkg)+QN+V(weg)+da)}function Lwj(a,c){a=yO+V("docs-overflow-chat-label")+n+Hwj(c,"docs-overflow-chat-icon");a=a+'Join chat</span><div class="'+(V("docs-overflow-chat-badge")+da);return U(a)};function Mwj(a,c,e,f,g,h,k,l,p,q,u){k=k===void 0?!1:k;l=l===void 0?null:l;p=p===void 0?!1:p;q=q===void 0?null:q;u=u===void 0?null:u;oJ.call(this,h);var w=this;this.wa=null;this.Ua=!1;this.R=this.Fa=this.Ca=this.ea=this.va=this.D=this.H=null;this.Ja="";this.Qb=a;this.wb=c;this.V=f;this.ob=e;this.Ub=k;this.F=q;this.O={};this.Ib={};this.Ra={};this.Da={};this.Eb=[];this.J=!1;this.W=l;this.Kb=p;this.ma=new qJ;this.xa(this.ma);this.Sa=new gx;this.xa(this.Sa);this.za=g;this.Na=u;this.AT=5;this.Na&&(this.Za=
new hx,this.xa(this.Za),this.Za.Pa(this.Na.D.R,function(y){y=y.Lj;w.Na.D.F.hj()==y.hj()||w.V.qa(rwa).isVisible()||Nwj(w,!0)}),this.ib=new OJ(this),this.xa(this.ib),this.ib.jd(this.V.qa(rwa),py,function(){Nwj(w,!1)}).jd(this.V.qa(qwa),ry,function(){return Owj(w)}));a=BEi();this.W&&a&&this.bb().listen(a,["d"],this.ADb);this.ADb()}H(Mwj,oJ);function Pwj(a){var c=Object.keys(a.O).length;return a.J?c-(Qwj(a)?1:0):Math.max(c-a.AT,0)}
function Rwj(a,c,e,f,g){if(a.wc()){var h=function(){return Swj(a,c,e,f,g)};if(a.Ua){var k=new Ww;k.addCallback(h);a.Eb.push(k)}else h()}}function Twj(a){Rwj(a,Object.values(a.O),{},{},!1)}
function Swj(a,c,e,f,g){a.Ua=!0;var h=0;Sr(f)||(a.ma.Fn(function(){return Uwj(a,f,!0,a.wb.getState()!=Eh)},h),h+=200);var k=a.J?(Qwj(a)?50:0)+38:Vwj(a,c.length);k!==parseInt(a.Ba().style.width,10)&&(a.ma.Fn(function(){a.Ba().style.width=k+jk;var l=BEi();l&&(l.dispatchEvent("d"),l.dispatchEvent("f"))},h),h+=200);a.ma.Fn(function(){Wwj(a,c.length);var l=Xwj(c.length,0);l=String(l);a.wc()&&(a.va&&a.va.bd(l),a.D&&!a.D.isVisible()&&Ywj(a,l));a.Ja=l;l=Qwj(a);for(var p=0;p<c.length;p++){var q=c[p],u=q.F,
w=u in e&&!g,y=!!a.F&&a.F.D(q)||!(a.F&&a.F.H())&&!!a.F&&a.F.W(q);l=l&&!y;if(a.J||c.length>a.AT){Zwj(a,q,!0,w);var z=a.AT;y||!a.J&&p<z-(l?1:0)?Zwj(a,q,!1,w):$wj(a,u,!1,!1)}else Zwj(a,q,!1,w)}a.D&&a.D.Ba()&&(l=["docs-presence-plus-widget-overflow-menu","jfk-scrollbar",JP],a.F&&l.push(ckg),a.za.Ha("docs-elctf")&&l.push("docs-presence-plus-widget-expanded-width-overflow-menu"),fJ(a.D.La(),l));axj(a);bxj(a,e,!0)},h);Sr(e)||(h+=200);a.ma.Fn(function(){var l=Object.values(e),p=Object.values(f);a.Sa.dispatchEvent(new Cwj(c,
l,p,g,a.J||c.length>a.AT));a.Ua=!1;(l=a.Eb.shift())&&l.callback()},h)}
function Zwj(a,c,e,f){var g=c.F,h=e?a.Ra:a.Ib;g=h[g]||(h[g]=new vwj(c,a.ob,a.V,a.za,a.Ma(),!1,a.Kb));g.H||(g.V=e);g.wc()||(g.render(f),e?cxj(a,c,g):a.Ca.appendChild(g.D));g.setActive(uOc(a.ob,c,!0));f=!!a.F&&a.F.D(c);if(g.wc()){h=g.D;hJ(h,$jg,f);var k=g.fe.Xb("docs-presence-plus-collab-widget-leader-label-container",h);if(f){var l=new xs,p=l.text(g.F.D)+" (following)",q=l.text(g.F.D)+" (idle) (following)";p=ywj(g)?p:q;hK(h,l.format(p).toString());k||(g=aS(uwj,{aUc:g.F.yd()}),h.appendChild(g));$di(h,
!0)}else Ps(k),$di(h,!1)}(a=e?a.Da[c.F]:null)&&a.MB($jg,f)}function cxj(a,c,e){var f=new qV("");if(a.ea){var g=a.D.Qc();a.D.Uk(f,g-2,!0);a.Ma().appendChild(a.ea,f.Ba())}else a.D.eb(f,!0);f.bd(e.D);f.re("docs-presence-plus-collab-widget-menuitem");a.Da[c.F]=f;e.addOnDisposeCallback(function(){f.isDisposed()||(a.ea.removeChild(f.Ba()),a.D.removeChild(f),f.dispose())});a.za.Ha(uf)&&(e=f.La(),e.setAttribute(DP,c.R),c.ai()||e.setAttribute(zcg,c.D))}
function Vwj(a,c){var e=5;if(a.Ba()&&a.W&&dwj(a.W)!=null){e=dwj(a.W)+a.Ba().offsetWidth;e-=38;var f=c>a.AT;dxj(a,c)&&!f&&(e-=38);e=Math.floor(e/38);e=Math.min(Math.max(e,Qwj(a)?1:0),5);a.AT=e}a=c>a.AT;c=(a?e:c)*38;a&&(c+=38);return c}function $wj(a,c,e,f){var g=e?a.Ra:a.Ib,h=g[c];h&&(zwj(h,f),delete g[c]);e&&a.Da[c]&&delete a.Da[c]}
function Wwj(a,c){c=a.J||c>a.AT;if(!a.H)if(c)exj(a);else return;if(c){var e=Fs(fkg,a.La()),f=Pwj(a),g=Object.keys(a.O).length;Ss(e,f==g||a.J&&!Qwj(a)?g.toString():"+"+f)}else for(e in a.Ra)$wj(a,e,!0,!1);a.H.Ka(c);a.dispatchEvent(new fxj(c))}
function exj(a){var c=new uV(a.Ma()),e=cK(Kwj),f=HF(Bwj);e=new Awj(a.za,e,c,f,a.Ma());e.re(dkg);e.OM=!1;e.DH=!0;a.xa(c);a.eb(e,!0);a.H=e;a.D=c;Ywj(a,a.Ja);a.va=new oji(a.Ja,a.Ma());a.D.eb(a.va,!0);axj(a);a.D.render(a.Ba());a.ea=a.Ma().Oa(Wa,"docs-presence-plus-widget-overflow-collaborators");a.Ma().appendChild(a.D.Ba(),a.ea);a.Fa=new tV;a.D.eb(a.Fa,!0);a.R=new qV(aS(Lwj));a.R.re(ekg);a.bb().listen(a.R,mc,a.xgd);a.D.eb(a.R,!0);Owj(a);e.Qb=new Xs(0,0,0,0);a.bb().listen(c,Fh,function(g){return gxj(a,
g,!1)}).listen(c,Ik,function(g){return gxj(a,g,!0)});lEh(e.Ba(),{delay:0,duration:.5,property:A$f,timing:"ease"})}function axj(a){if(a.H&&a.H.Ba()&&a.H.isVisible()){var c=BEi().Eo().width-et(a.H.Ba()).x>=325?1:5;c=new cji(a.H.Ba(),c);Fji(a.H,c)}}function gxj(a,c,e){c.target instanceof uV&&(c=Object.keys(a.O).length,(a.J||c>a.AT)&&Wwj(a,c),hJ(a.Ba(),"docs-presence-plus-widget-open",e),e=a.H.isOpen()?"":a.Ja,Ywj(a,e))}D=Mwj.prototype;
D.Wa=function(){oJ.prototype.Wa.call(this);this.Ca=this.Ma().Xb(bkg,this.La());this.F&&eJ(this.Ca,ckg);this.Ba().style.width=Aa;var a=new Hgi(this.Ba());this.bb().listen(a,mc,this.lhd);this.xa(a)};D.Oa=function(){var a={jKd:VR(this,"presenceStatusContent")};a=aS(Jwj,a);this.Zb(a)};D.lhd=function(a){var c=this.Ba();a=this.Ma().p4b(a.target,function(e){return e.hasAttribute&&e.hasAttribute(Ccg)||e==c},!0);hxj(this,a)};function hxj(a,c){(c=c&&c.getAttribute(Ccg))&&a.dispatchEvent(new ixj(c))}
D.xgd=function(a){var c=this.V.qa(rwa);c.isVisible()||c.Ka(!0);a.stopPropagation()};function Owj(a){if(a.Fa&&a.R){var c=a.V.qa(qwa).isEnabled();a.Fa.Ka(c);a.R.Ka(c)}}function Nwj(a,c){a.R&&hJ(a.R.Ba(),"unread-chat",c);a.H&&hJ(Fs(weg,a.La()),"unread-chat",c)}function Ywj(a,c){if(a.H){var e=a.H.Ba();vU(e,c);c=Xwj(Object.keys(a.O).length,Pwj(a));a.H.Uf(c)}}
function Xwj(a,c){return(c?c+" hidden ":"")+(new $R("{NUM_COLLABORATORS,plural, =0{No other viewers}=1{1 viewer}other{# total viewers}}")).format({NUM_COLLABORATORS:a})}function bxj(a,c,e){var f=owb(c),g=a.wb.getState(),h=a.Qb.D;a.Ub||f==0||h||g==Eh||(g=Gjh(c),c=g.D+" has joined the document.",g=g.D+" has left the document.",e=f==1?e?c:g:e?f+" collaborators have joined the document.":f+" collaborators have left the document.",a.wa||(a.wa=new GU(a.Ma())),HU(a.wa,e))}
D.Ka=function(a){var c=a!=qt(this.Ba());c&&hJ(Es(Ujg),"docs-presence-plus-widget-visible",a);lt(this.Ba(),a);return c};function Qwj(a){return!!a.F&&a.F.H()||!!a.F&&a.F.R()}D.ADb=function(){var a=Object.values(this.O).length,c=this.AT,e=Vwj(this,a)+(dxj(this,a)?38:0);var f=Vwj(this,a)+1E3;!this.Ba()||!this.W||dwj(this.W)==null||a<=1?a=f:(f=dwj(this.W)+this.Ba().offsetWidth,dxj(this,a)&&!this.J&&(f+=38),a=f);c!=this.AT&&Twj(this);this.J?a>=e&&(this.J=!1,Twj(this)):a<e&&(this.J=!0,Twj(this))};
function dxj(a,c){return a.V.qa(qwa).isEnabled()&&c<=a.AT}D.i$=G(1660);function Uwj(a,c,e,f){for(var g in c)$wj(a,g,!0,e),$wj(a,g,!1,e);f&&bxj(a,c,!1)}D.fb=function(){Uwj(this,this.O,!1,!1);Ywj(this,"");Iw(this.wa);Iw(this.H);Iw(this.va);Iw(this.D);this.ea=this.Ca=null;oJ.prototype.fb.call(this)};function ixj(a){oI.call(this,"Ba");this.sessionId=a}H(ixj,oI);function fxj(a){oI.call(this,Na);this.isVisible=a}H(fxj,oI);function jxj(){}H(jxj,vii);jxj.prototype.Yd=B("docs-material-button-flat-primary");jxj.Cb=function(){return HF(jxj)};function kxj(a,c){var e=jxj.Cb();QU.call(this,a,e,c)}H(kxj,zii);function lxj(a,c,e,f){oJ.call(this,a);var g=this;this.J=a;this.va=c;this.wa=e;this.R=f;this.Ra=this.H=this.F=null;this.Na=this.Da=this.ea=this.W=!1;this.O=0;this.Sa=new oge(this.J.getWindow());this.ma=new OJ(this);this.xa(this.ma);this.Ja=null;this.D=new HT(this.J);this.D.re("docs-chat-message-tooltip-container");CEh(this.D,!0);JT(this.D,!1);IT(this.D,1,1,void 0,-20);this.D.Tg(!0);this.D.ly(!1);this.xa(this.D);this.Ca=new zJ(function(){mxj(g,29381)},5E3,this);this.D.xa(this.Ca);this.V=new zJ(function(){return nxj(g)},
200,this);this.D.xa(this.V);this.za=new hx;this.xa(this.za);this.Fa=new kxj;this.xa(this.Fa)}H(lxj,oJ);D=lxj.prototype;D.Oa=function(){oJ.prototype.Oa.call(this);eJ(this.Ba(),SP);this.F=cK(Gwj,void 0,void 0,this.J);this.J.appendChild(this.Ba(),this.F);this.Ra=this.Ya(weg);xL(this.F);var a=cK(Iwj,{},void 0,this.J);this.D.Rp(this.F);this.D.bd(a);this.D.render();this.Fa.Sb(this.D.Ya(zeg));this.H=new aW(null,this.J);this.xa(this.H);this.H.Sb(this.F);this.H.Oi(16,!0);this.H.Qj(this)};
D.Wa=function(){var a=this;oJ.prototype.Wa.call(this);this.Ka(this.ea);this.Ab(this.Na);this.Ke(this.Da);oxj(this,this.W);pxj(this,!1,this.W);this.za.Pa(this.va.D,function(){a.va.getState()!=1&&!a.D.isDisposed()&&a.D.isVisible()&&Dch(a.Ca)});this.bb().listen(this.Sa,rk,this.Luc).listen(this.D,Fh,this.Xfd).listen(this.Fa,mc,function(){var c=a.R.qa(rwa);c.isVisible();c.Ka(!0)});this.ma.jd(this.R.qa(wg),qy,this.q7b);this.ma.jd(this.R.qa(zf),qy,this.q7b)};D.Ef=function(){oJ.prototype.Ef.call(this);kx(this.za)};
D.Ab=function(a){this.Na=a;this.wc()&&this.H.Ab(a)};D.Ka=function(a){this.ea=a;this.wc()&&(lt(this.Ba(),a),a&&!this.V.isDisposed()?this.V.start():mxj(this,29381))};D.isVisible=x(Pg);D.Ke=function(a){this.Da=a;this.wc()&&this.H.Ke(this.Da)};D.Xfd=function(){this.wa.Db(29382)};function oxj(a,c){a.W=c;a.wc()&&hJ(a.Ra,"docs-chat-badge-visible",a.W)}function pxj(a,c,e){a.wc()&&a.H.Uf(c?"Hide chat":e?"Show new chat messages":G4f)}D.q7b=function(){DEi(this.R)?mxj(this,29381):this.V.isDisposed()||this.V.start()};
D.Luc=function(){this.D.isDisposed()||this.D.wd()};function mxj(a,c){!a.D.isDisposed()&&a.O>0&&(a.D.isVisible()&&a.wa.Db(c),qxj(a))}function qxj(a){a.D.dispose();a.O=0;a.Ja=""}
function nxj(a){if(a.isVisible())a.D.Rp(a.F);else{var c=a.J.Xb(ekg);if(c&&qt(c))return;a.D.Rp(a.J.Xb(dkg)||a.F)}if(!a.D.isDisposed()&&a.O>0&&!DEi(a.R)){c=a.D.Ya(Deg);var e=a.D.Ya(Ceg),f=(new $R("{NUM_MESSAGES,plural, =1{# unread message}other{# unread messages}}")).format({NUM_MESSAGES:a.O}),g=a.Ja;Ss(c,f);Ss(e,g);a.D.isVisible()||(a.D.Ka(!0),a.wa.Db(29383));a.va.getState()!=1&&Dch(a.Ca)}};function rxj(a){oI.call(this,Yag);this.message=a}H(rxj,oI);function PX(a,c,e,f,g,h,k,l){e=e===void 0?null:e;f=f===void 0?!1:f;g=g===void 0?!0:g;h=h===void 0?!1:h;l=l===void 0?r():l;uI.call(this);this.H=a;this.R=!1;this.O=a.ea+=1;this.ea=e;this.V=f;this.va=g;this.l5a=!0;this.Fa=h;this.ma=l;this.H.Lcb(c,this.O,!0);k&&k.Qj(this)}H(PX,uI);D=PX.prototype;D.LX=x(Ul);D.isEnabled=B(!0);D.Ab=r();D.isVisible=x("R");D.resize=r();
D.Ka=function(a,c){if(a&&!this.R)return a=Object.assign({Ta:this.H.F.get(mK)},this.ea),a=this.H.zaa(this.O,this.l5a,2,a,this.ma,function(){return c==null?void 0:c.start()},function(){return c==null?void 0:c.complete()}),this.dispatchEvent(Ik),this.R=!0,a;if(!a&&this.R)return this.H.C3(this.O,2,this.V),this.R=!1,this.dispatchEvent(Fh),$w(-1)};D.Iga=x(ib);D.Y1a=B(!1);D.oo=B(0);D.ujb=r();D.Jb=function(){var a=this.Ba();return a?it(a).width:0};D.focus=function(){this.isVisible()&&Wdh(this.H,this.O)};
D.Ba=function(){return document.getElementById("docs-wiz-sidebar-placeholder")};D.q5=G(1621);D.Uh=B(!1);D.eea=G(1661);function QX(a,c,e,f,g,h,k){T.call(this);this.D=a;this.O=c;this.Ja=e;this.Lc=g!==void 0?g:Kw(0);this.kc=a.Iga();this.Wc=!!h;this.Bd=k||function(){return dx(null)};this.Cc=nge(f);this.Fc=f;this.Qb=a instanceof PX;this.ib=null;this.V=new Mx;a=this.H=new kJ(this);(this.Na=BEi())&&a.listen(this.Na,[rk,"f"],this.Muc);sxj(this);txj(this);uxj(this)}Nm(QX,T);function vxj(a){if(a.Wc)var c=0;else if(a.Na){c=a.D.oo();a=a.Na;var e=a.D?a.D.D():0;a=xch(a.H)+e;c+=a}else c=a.D.oo()+xch(a.Cc);return c}D=QX.prototype;
D.lb=x("Fc");function sxj(a){var c=a.O;wy(a.V,c,function(e){e.property==am?a.Vq(e.newValue):e.property==Yg&&wxj(a,e.newValue)});a.H.listen(a.D,Ik,function(e){return xxj(a,c,!0,e)});a.H.listen(a.D,Fh,function(e){return xxj(a,c,!1,e)});a.H.listen(a.D,"W",function(){if(CEi()){var e=XCi(CEi(),1337480,a.O);e.start();a.ib=e}});a.H.listen(a.D,"X",function(){a.ib&&(a.ib.complete(),a.ib=null)})}
function txj(a){var c=a.O;xy(a.V,a.Ja,function(e){c.isVisible()?a.Ox(e.data):a.Bd().addCallback(function(){c.Ka(!0);a.Ox(e.data)})})}D.Ox=function(){this.D.focus()};function uxj(a){var c=CEi();c&&c.HGb(a.D,a.O)}D.Muc=function(){this.D.isVisible()&&(yxj(this),this.D.resize())};D.Vq=function(a){var c=CEi(),e=c?XCi(c,1337483,this.O):void 0;e&&e.start();this.Qb?(c=c?XCi(c,1337480,this.O):void 0,c=this.D.Ka(a,c)):(c=this.D.Ka(a))&&c.Ei();this.eE(a);a&&c&&e&&c.addCallback(function(f){f>0&&e.complete()})};
function wxj(a,c){c?(a.D.Ab(!0),a.Ira(!0)):(a.Ira(!1),a.D.Ab(!1))}function yxj(a){var c=a.D.Ba();c.style.top=(a.kc?0:bCi())+jk;var e;if(e=BEi()){e=e.Eo();var f=a.kc?0:bCi(),g=Ezb(a.D.Ba());e=e.height-f-g.top-g.bottom-a.Lc();e-=GS(a.D.Ba()).bottom;e-=GS(a.D.Ba()).top;e=Math.max(e,0)}else e=0;e>0&&gt(c,e);a.D.Uh()?c.style.left=vxj(a)+jk:c.style.right=vxj(a)+jk}function xxj(a,c,e,f){(f instanceof oI&&f.target==a.D||f instanceof nEe)&&c.Ka(e);e&&(yxj(a),a.D.resize())}D.eE=r();D.Ira=r();
D.fb=function(){QX.Sc.fb.call(this);this.D.dispose();this.V.dispose();this.H.dispose();delete this.D;delete this.V;delete this.H};function zxj(a){T.call(this);this.H=a;this.J=this.D="";this.O=!1;this.F=new vI(2E3);this.R=new kJ(this);this.R.listen(this.F,rl,this.V);this.xa(this.R);this.xa(this.F)}H(zxj,T);function Axj(a){if(a.O){a.O=!1;a.F.stop();var c=a.D;a.H.hd().title=c}}zxj.prototype.V=function(){var a=this.H.hd().title;a!=this.D&&a!=this.J&&(this.D=a);a=a!=this.D?this.D:this.J;this.H.hd().title=a};zxj.prototype.fb=function(){Axj(this);T.prototype.fb.call(this)};function Bxj(a,c,e,f,g,h,k,l,p){QX.call(this,c,h.qa(rwa),h.qa(qwa),k,p);var q=this;this.R=a;this.ma=e;this.va=f;this.Ca=g;this.J=h;this.za=l||Bs();this.wa=new zxj(this.za);this.F=new lxj(this.za,this.ma,this.va,h);this.F.render(Es(Ujg));this.ea=c;this.Da=this.Fa=!1;this.W=new hx;this.xa(this.W);this.W.Pa(a.D.H,function(u){return Cxj(q,!1,u)});this.W.Pa(a.D.O,function(u){return Cxj(q,!0,u)});this.W.Pa(a.D.R,function(u){var w=u.Lj,y=q.R.D.F.hj()==w.hj();u=u.message;q.ea.PXb(w,u);y?qxj(q.F):(q.O.isVisible()?
qxj(q.F):(y=q.F,y.O+=1,oxj(y,!0),pxj(y,!1,!0),y.Ja=u,nxj(y)),q.za.hd().hasFocus()||(y=q.wa,w=w.D+" says\u2026",Axj(y),y.J=w,y.O=!0,y.F.start(),y.V()))});this.W.Pa(this.ma.D,function(){q.ma.getState()!=1&&Axj(q.wa)});this.W.Pa(this.Ca.D,function(){Dxj(q);q.ea.Fv(!CF(q.Ca,1))});this.H.listen(c,Yag,this.Nuc).listen(c,"UFhwrb",this.D9c);Exj(this);this.Ra=this.ea.Rg();this.Oj=new IU;this.Oj.attach(this.Ra);this.H.listen(this.Oj,pi,this.Ouc);Nx(Nx(Nx(this.V,this.J.qa(eg),(Ox(),Ux),function(){return Dxj(q)}),
this.J.qa(Uf),Px,function(){return Dxj(q)}),this.J.qa(qwa),Rx,function(){var u=q.J.qa(qwa).isEnabled();q.F.Ka(!q.Da&&u);u&&(q.va.Db(29309),q.Fa=!0)})}H(Bxj,QX);D=Bxj.prototype;D.Nuc=function(a){if(Fxj(this)&&a.message.trim().length>0){var c=this.R;a=a.message;var e=c.D.F;e&&(c.D.R.dispatchEvent(new xoh(e,a)),a={sid:e.F,msg:a},XF(yF(zF(c.ea.qh("/chat"),Wh,c.W),2),a).MH().Kh());this.va.Db(29385)}};
function Exj(a){a.F.Ab(!0);var c=a.H,e=a.F;e.wc()&&vU(e.F,G4f);c.listen(a.F,mc,a.B9c);a.F.Ka(!1);Gxj(a)}function Dxj(a){if(a.R.D.F){var c=Fxj(a);a.J.qa(qwa).Ab(c);a.J.qa(rwa).Ab(c)}}function Fxj(a){var c=Hxj(a.R);return CF(a.Ca,1)&&!a.R.D.F.ai()&&!a.J.qa(eg).isVisible()&&!a.J.qa(Uf).Gc()&&(a.Fa||c.length>1)}
function Cxj(a,c,e){var f=a.R.D.F.hj(),g=e.Lj.hj(),h=e.Lj.ai(),k=!e.Lj.isMe()&&Ixj(e.Lj);f=g!=f||h;if(!h){a:{h=!c;for(var l=fp(Pr(a.R.H()),Ixj),p=0,q=0;q<l.length;q++)if(l[q].hj()==g&&(p++,!h&&p>0||p>1)){g=!0;break a}g=h?p!=1:p>0}h=!g}k&&f&&h&&(e.Op||c)&&a.ea.dYb(e.Lj,!c);Gxj(a)}function Gxj(a){a.R.D.F&&(Dxj(a),a.ea.wlc(woh(a.R)))}D.D9c=function(){Jxj(this)};function Jxj(a){Axj(a.wa);var c=a.F;a=a.O.isVisible();oxj(c,!1);pxj(c,a,!1);mxj(c,29384)}
D.B9c=function(){var a=this.O.isVisible();this.O.Ka(!a);var c=(new RC).Mb(58).oa();this.va.Db(a?29386:3,c)};D.Ouc=function(a){a.keyCode==27&&(this.ma.Ld(2),this.J.qa(xf).xb(),a.preventDefault())};D.eE=function(a){this.F.Ke(a);var c=this.F;c.wc()&&vU(c.F,a?"Hide chat":G4f);oxj(this.F,!1);Jxj(this);a||this.J.qa(xf).xb()};D.fb=function(){this.F.dispose();Jw(this.Oj,this.wa);delete this.Oj;QX.prototype.fb.call(this)};
function Hxj(a){var c=fp(Pr(a.H()),Ixj);c.push(a.D.F);Kxj(c);Zob(c,function(e,f){return e.D>f.D?1:e.D<f.D?-1:0});return c}function Kxj(a){for(var c=0,e=0,f={};e<a.length;){var g=a[e++],h=g.hj();if(g.ai()||!f[h])a[c++]=g,f[h]=g}a.length=c}function Ixj(a){return a.ma==1};function Lxj(a,c,e,f,g,h){g=g===void 0?!1:g;hW.call(this,h);this.wa=new kJ(this);this.F=new kJ(this);this.R=a;this.ea=g;this.Ca=e;this.Da=f;this.va=c;this.O=!1}H(Lxj,hW);D=Lxj.prototype;D.Oa=function(){this.Zb.call(this,cK(Fwj,{Zc:this.ea,dTc:xda}))};
D.Wa=function(){hW.prototype.Wa.call(this);this.D=this.Ya(pwa);if(!this.D)throw Error("eU`"+this.isDisposed());this.W=this.Ya(xeg);this.ma=this.Ya(Ieg);this.J=this.Ya(Eeg);vU(this.W,Ra);Mxj(this,!0);this.F.we(this.Ba(),yL,this.C9c);this.F.we(this.W,yL,this.Puc);this.V=new $V;this.V.Sb(this.D);this.H=new Tvi;this.H.Sb(this.D);this.xa(this.H);this.Fv(!1);this.bb().listen(this.J,Bk,this.Suc)};D.Rg=x("D");
function Mxj(a,c){var e=a.wa;if(c){if(!a.D)throw Error("fU`"+a.isDisposed());e.listen(a.D,qi,a.Quc).listen(a.D,ph,Km(a.fQb,a,!0)).listen(a.D,Tc,Km(a.fQb,a,!1)).listen(a.Ba(),qi,a.E9c)}else lJ(e)}D.Ab=function(a){this.isEnabled()!=a&&Mxj(this,a);hW.prototype.Ab.call(this,a);a&&this.isVisible()&&(this.O=!0);this.D.disabled=a?"":We};D.Fv=function(a){this.V.pb(a?"No connection":z6f);a&&(this.D.value="")};D.Ka=function(a){hW.prototype.Ka.call(this,a);a&&this.isEnabled()&&(this.O=!0,this.D.focus())};
D.focus=function(){Bs().Ba(QFa).focus();this.D.focus()};D.Quc=function(a){var c=this,e=this.D.value;if((a.keyCode||a.charCode)==13&&!a.altKey&&!a.ctrlKey&&!a.shiftKey){if(e.trim().length>0){this.dispatchEvent(new rxj(e));e=xci(e,{aN:!0}).toString().split(eO).length-1;for(var f=0;f<e;f++)this.R.Db(30432)}wI(function(){c.H.isDisposed()||c.H.setValue("")},0);a.preventDefault()}};D.fQb=function(a){hJ(this.D,"docs-chat-edit-box-focus",a)};
function Nxj(a,c,e,f,g){var h=a.J,k=a.fe,l=k.Oa(Wa,"docs-chat-message");g&&eJ(l,"docs-chat-status-message");h.appendChild(l);ls(l,c);g||(k.Ya(veg,l).appendChild(f),ep(k.getElementsByTagName("A",k.Ya(Beg,l)),function(p){return void a.F.we(p,yL,a.Ruc)}));a.isVisible()&&(c=wR(k,Aeg),ls(c,ws(Nk,{},e)));a.resize();a.O=!0}
D.PXb=function(a,c){var e=new vwj(a,this.Ca,this.va,this.Da,this.Ma(),!0);e.render(!1);this.xa(e);var f=a.ai()&&a.isMe()?a.D+" (me)":a.D;var g=xci(c,{aN:!0});a=hOb(a.yd(),ta,.1);g=U('<dl class="'+V("docs-chat-message-wrapper")+'"><dt><span class="'+V(veg)+sTf+V("docs-chat-nametag")+n+sT(f)+'</span></dt><dd><div class="'+V("docs-chat-message-bubble")+ia+V("docs-chat-message-tip")+NSf+V(qT(a))+LVf+V(Beg)+MSf+V(qT(a))+KVf+sT(g)+"</div></div></dd></dl>").Du();c=us(f+Ea+c,{aN:!0});Nxj(this,g,c,e.D)};
D.dYb=function(a,c){this.isEnabled()&&this.O&&(a=a.D,c?(c=yO+V(Heg)+n,a=sT(a)+" has opened the document.",a=U(c+a+Ga)):(c=yO+V(Heg)+n,a=sT(a)+" has left.",a=U(c+a+Ga)),a=a.Du(),Nxj(this,a,a,void 0,!0))};D.resize=function(){if(this.isEnabled()){var a=this.Ya(ueg),c=this.J,e=0;this.ea&&(e=(e=this.Ya(Feg))?e.offsetHeight:0);a=this.Ba().offsetHeight-a.offsetHeight-this.D.parentNode.offsetHeight-this.ma.offsetHeight-e;c.style.height=Math.max(0,a)+jk;wI(function(){c.scrollTop=c.scrollHeight},0)}};
D.Puc=function(){this.Ka(!1);this.R.Db(29386,(new RC).Mb(10).oa());this.va.qa(xf).xb()};D.Ruc=function(a){var c=a.target.getAttribute(Mh);c=zgc(c)?c:Gw(Amh(c,!1),hab,Ipg);vL.Ev(c);a.preventDefault();this.R.Db(30433)};D.C9c=function(){this.dispatchEvent("UFhwrb")};D.E9c=function(){this.dispatchEvent("UFhwrb")};D.wlc=function(a){lt(this.Ya(ueg),a);this.resize()};D.Suc=function(){var a=this.J.scrollTop!=0;Oxj(a,this.ma);Oxj(a,this.Ya(yeg))};function Oxj(a,c){a?eJ(c,Geg):gJ(c,Geg)}
D.fb=function(){hW.prototype.fb.call(this);this.wa.dispose();this.F.dispose();Iw(this.V)};function Pxj(a){uI.call(this);this.F=[];this.H=this.D=!1;this.J=a}H(Pxj,uI);function Qxj(a,c){a.F.push(c);a.dispatchEvent(rbg)}function Rxj(a){var c=a.D+" (me)";return a.ai()&&a.isMe()?c:a.D}function Sxj(a){oI.call(this,tbg);this.message=a}H(Sxj,oI);function Txj(a,c,e,f,g,h,k,l,p,q,u){T.call(this);var w=this;this.J=a;this.F=e;this.W=f;this.Ja=g;this.va=h;this.Fa=k;this.V=p;this.H=q;this.za=u;this.Na=l;this.wa=new kJ(this);this.ma=new OJ(this);this.R=c.D==2;this.ea=null;this.Ca=!1;this.Da=0;this.O=!1;this.D=new hx;this.xa(this.D);this.D.Pa(a.D.H,function(y){Uxj(w,y,!1)});this.D.Pa(a.D.O,function(y){Uxj(w,y,!0)});this.D.Pa(a.D.J,function(){Vxj(w)});Wxj(this);this.D.Pa(g.D,function(){var y=CF(w.Ja,1);w.F.Ka(y&&w.Ca)});this.H&&this.D.Pa(this.H.O,
function(){Vxj(w)})}H(Txj,T);function Wxj(a){var c=a.F;c.render(a.W);a.wa.listen(c,"Ba",a.Fid);a.ma.jd(a.va.qa(wg),sy,a.fmd);Xxj(a,a.R);c.Ka(!1);Vxj(a)}function Uxj(a,c,e){var f=!c.Lj.isMe();f?c.Op&&(a.O=!0):e||(a.O=!1);Vxj(a,f)}function Vxj(a,c){var e=Yxj(Zxj(a));if(c||e.length>0)a.F.Ka(!0),a.Ca=!0;CI(a.Da);a.Da=wI(Km(a.RNd,a,e),0)}
function $xj(a,c){var e=a.H,f=a.Na;e.D(c)?e.J(1):c.ai()?e.ea(c):e.V(c)?e.ma(c.hj()):(ayj(a),a=new Woi("Couldn't follow "+c.D+". Only editors can be followed.",xb,function(){return DK("https://support.google.com/docs?p=follow_a_collaborator")}),a.Tg(!0),a.render(),a.Ka(!0),XU(f,a))}D=Txj.prototype;D.PDd=lm(Pg);D.Fid=function(a){a=this.J.H()[a.sessionId];this.H?$xj(this,a):this.ea&&(this.ea(a),a=(new RC).Mb(93),this.za.Db(133124,a.oa()))};
function ayj(a){var c=(new RC).Mb(140);a.za.Db(133048,c.oa())}D.RNd=function(a){for(var c=this.F,e=!this.O,f=a,g={},h=0,k=0;h<f.length;){var l=f[h++],p=l.hj();if(l.ai()||!g[p])f[k++]=l,l.ai()||(g[p]=l)}f.length=k;h=c.O;k={};f={};g={};for(l=0;l<a.length;l++)p=a[l].F,k[p]=a[l],h[p]||(f[p]=a[l]);for(var q in h)k[q]||(g[q]=h[q]);c.O=k;q=[];h=[];for(k=0;k<a.length;k++)(a[k].isActive()||c.F&&c.F.D(a[k])?q:h).push(a[k]);a=q.concat(h);c.ADb();Rwj(c,a,f,g,e)};
D.fmd=function(){this.R=this.va.qa(wg).Gc();Xxj(this,this.R)};function Xxj(a,c){if(!a.Fa.Ha(eVa)&&a.V){var e=a.F.Ba(),f=c?a.V:a.W;a=c?a.W:a.V;e.parentNode!=f&&(a.removeChild(e),f.appendChild(e))}}function Zxj(a){return fp(Pr(a.J.H()),function(c){if(c.ai())return!0;var e=a.J.D.F;return!e||e.hj()!=c.hj()})}D.fb=function(){Iw(this.F);Iw(this.ma);Iw(this.wa);T.prototype.fb.call(this)};function Yxj(a){a=qp(a);Zob(a,function(c,e){return c.D>e.D?1:c.D<e.D?-1:0});return a};/*

 Copyright Google LLC All Rights Reserved.

 Use of this source code is governed by an MIT-style license that can be
 found in the LICENSE file at https://angular.dev/license
*/
function byj(a,c){return Object.is(a,c)};var RX=null,cyj=!1,dyj=1,eyj=Symbol("gU");function fyj(a){var c=RX;RX=a;return c}var gyj={version:0,Sbc:0,dirty:!1,hC:void 0,Yqa:void 0,iY:void 0,Oab:0,UM:void 0,Tga:void 0,Lma:!1,Pqb:!1,kind:Ol,XFb:B(!1),YFb:r(),Qqb:r(),bBe:r()};function hyj(a){if(cyj)throw Error(pb);if(RX!==null){var c=RX.Oab++;iyj(RX);c<RX.hC.length&&RX.hC[c]!==a&&jyj(RX)&&kyj(RX.hC[c],RX.iY[c]);RX.hC[c]!==a&&(RX.hC[c]=a,RX.iY[c]=jyj(RX)?lyj(a,RX,c):0);RX.Yqa[c]=a.version}}
function myj(a){if(!jyj(a)||a.dirty)if(a.dirty||a.Sbc!==dyj)(a.XFb(a)||nyj(a))&&a.YFb(a),a.dirty=!1,a.Sbc=dyj}function oyj(a){if(a.UM!==void 0){var c=cyj;cyj=!0;try{for(var e=pm(a.UM),f=e.next();!f.done;f=e.next()){var g=f.value;g.dirty||(a=void 0,g.dirty=!0,oyj(g),(a=g.Qqb)==null||a.call(g,g))}}finally{cyj=c}}}function pyj(){var a;return((a=RX)==null?void 0:a.Lma)!==!1}function qyj(a){a&&(a.Oab=0);return fyj(a)}
function ryj(a,c){fyj(c);if(a&&a.hC!==void 0&&a.iY!==void 0&&a.Yqa!==void 0){if(jyj(a))for(c=a.Oab;c<a.hC.length;c++)kyj(a.hC[c],a.iY[c]);for(;a.hC.length>a.Oab;)a.hC.pop(),a.Yqa.pop(),a.iY.pop()}}function nyj(a){iyj(a);for(var c=0;c<a.hC.length;c++){var e=a.hC[c],f=a.Yqa[c];if(f!==e.version)return!0;myj(e);if(f!==e.version)return!0}return!1}function lyj(a,c,e){syj(a);if(a.UM.length===0&&a.hC!==void 0)for(var f=0;f<a.hC.length;f++)a.iY[f]=lyj(a.hC[f],a,f);a.Tga.push(e);return a.UM.push(c)-1}
function kyj(a,c){syj(a);if(a.UM.length===1&&a.hC!==void 0)for(var e=0;e<a.hC.length;e++)kyj(a.hC[e],a.iY[e]);e=a.UM.length-1;a.UM[c]=a.UM[e];a.Tga[c]=a.Tga[e];a.UM.length--;a.Tga.length--;c<a.UM.length&&(e=a.Tga[c],a=a.UM[c],iyj(a),a.iY[e]=c)}function jyj(a){var c,e;return a.Pqb||((e=a==null?void 0:(c=a.UM)==null?void 0:c.length)!=null?e:0)>0}function iyj(a){a.hC!=null||(a.hC=[]);a.iY!=null||(a.iY=[]);a.Yqa!=null||(a.Yqa=[])}function syj(a){a.UM!=null||(a.UM=[]);a.Tga!=null||(a.Tga=[])};function tyj(a){function c(){myj(e);hyj(e);if(e.value===uyj)throw e.error;return e.value}var e=Object.create(vyj);e.V_b=a;c[eyj]=e;return c}
var wyj=Symbol("hU"),xyj=Symbol("iU"),uyj=Symbol("jU"),vyj=Object.assign({},gyj,{value:wyj,dirty:!0,error:null,Iea:byj,kind:"computed",XFb:function(a){return a.value===wyj||a.value===xyj},YFb:function(a){if(a.value===xyj)throw Error("kU");var c=a.value;a.value=xyj;var e=qyj(a),f=!1;try{var g=a.V_b();fyj(null);f=c!==wyj&&c!==uyj&&g!==uyj&&a.Iea(c,g)}catch(h){g=uyj,a.error=h}finally{ryj(a,e)}f?a.value=c:(a.value=g,a.version++)}});function yyj(){throw Error();};var zyj=null;function Ayj(a){function c(){hyj(e);return e.value}var e=Object.create(Byj);e.value=a;c[eyj]=e;return c}function Cyj(a,c){pyj()||yyj(a);if(!a.Iea(a.value,c)){a.value=c;a.version++;dyj++;oyj(a);var e;(e=zyj)==null||e()}}var Byj=Object.assign({},gyj,{Iea:byj,value:void 0,kind:"signal"});Object.assign({},gyj,{value:wyj,dirty:!0,error:null,Iea:byj,XFb:function(a){return a.value===wyj||a.value===xyj},YFb:function(a){if(a.value===xyj)throw Error("kU");var c=a.value;a.value=xyj;var e=qyj(a);try{var f=a.source();var g=a.V_b(f,c===wyj||c===uyj?void 0:{source:a.OJd,value:c});a.OJd=f}catch(h){g=uyj,a.error=h}finally{ryj(a,e)}c!==wyj&&g!==uyj&&a.Iea(c,g)?a.value=c:(a.value=g,a.version++)}});Object.assign({},gyj,{Pqb:!0,Lma:!1,Qqb:function(a){a.ix!==null&&a.ix(a.Uhc)},r8a:!1,RAe:r()});function Dyj(a){return Object.create(Object.assign({},gyj,a))}function Eyj(a){var c=fyj(a);a={};return a[Symbol.dispose]=function(){fyj(c)},a};var Fyj;function Gyj(){var a;var c=(a=Fyj)!=null?a:Fyj=Dyj({Lma:!0});return Eyj(c)};var Hyj={sZc:!0,FZc:!0,HZc:!1,TZc:!1,Ord:!1,APc:!1,wVc:!1,TBe:lob};var SX=Object.assign({},{attributes:{},handleError:function(a){throw a;}},Hyj);function Iyj(){var a=Object.assign({},Hyj);Object.getOwnPropertyNames(Hyj).forEach(function(c){SX[c]!==void 0&&(a[c]=SX[c])});return a};var Jyj=[],Kyj,Lyj,Myj;function Nyj(a){var c=a.component;var e=a.debugInstance;a=a.OB;var f,g=(f=c.GW)!=null?f:c.name;Jyj.push({name:e?g+ca+e+")":g,hbc:!0});c=a();Jyj.pop();return c}
function Oyj(a,c){c=c===void 0?{}:c;var e=Jyj.length;c.stack&&(Jyj=[].concat(qm(c.stack)));try{return a()}catch(h){a=h;Pyj(a);if(a!==Kyj){Lyj=Jyj.slice();c=[];for(var f=mFe;f;){var g=void 0;c.push((g=f.GW)!=null?g:"[context]");g=void 0;f=(g=f.parent)!=null?g:null}Myj=c.reverse()}Kyj=a;throw a;}finally{e=Jyj.length-e,e>0&&Jyj.splice(-e)}}
function Pyj(a){var c=Jyj;if(c.length!==0&&!a.ZJa){var e=c.slice(-20).reverse().map(function(f){return f.name}).join(" > ");e=a.message+"\n\nComponent stack: "+e;try{a.ZJa=c.slice(),SX.FZc&&(a.stack&&(a.stack=a.stack.replace(a.message,e)),a.message=e)}catch(f){}}};function Qyj(a){CFe=Gyj;var c=mFe;if(c){var e=Jyj.slice();zFe(c,function(){return void Oyj(function(){return void a()},{stack:e})})}};var Ryj=0,Syj=0,Tyj=0,Uyj=0,Vyj=0,Wyj=0,Xyj=0;var Yyj=Symbol("mU"),Zyj=Symbol("nU"),$yj=Symbol("oU"),azj=nn(function(a){return Rhb(a)&&Yyj in a});function bzj(a,c,e){var f;return a&&c?a+"__"+c:(f=a!=null?a:c)!=null?f:e};function czj(){this.D=new Set}czj.prototype.ix=function(a){this.D.add(a)};czj.prototype.remove=function(a){this.D.delete(a)};function dzj(){czj.apply(this,arguments)}H(dzj,czj);dzj.prototype.flush=function(){if(this.D.size){var a=this.D;this.D=new Set;ezj(a)}};var fzj=new dzj;function gzj(){czj.apply(this,arguments)}H(gzj,czj);gzj.prototype.flush=function(){var a=this,c;return ym(function(e){if(e.D==1){if(!a.D.size)return e.return();c=a.D;a.D=new Set;return sm(e,Promise.resolve(),2)}ezj(c);tm(e)})};
var hzj=new gzj,izj=[fzj,hzj];zyj=function(){jzj()};function jzj(){for(var a=pm(izj),c=a.next();!c.done;c=a.next())c.value.flush()}function ezj(a){for(var c=pm(a),e=c.next();!e.done;e=c.next()){var f=e.value;for(e=[f];f.parent!==void 0;)f=f.parent,azj(f)&&a.has(f)&&e.push(f);for(;e.length>0;){f=e.pop();try{f.run()}finally{a.delete(f)}}}}function kzj(a){if(!a.isDisposed){switch(a.fLa){case Zyj:fzj.ix(a);break;case $yj:hzj.ix(a);break;default:hrb(a.fLa)}a.r8a||jzj()}};function lzj(a,c){var e=SX.TZc;if(e){var f,g;(g=(f=performance).mark)==null||g.call(f,a+"Start__"+c)}f={};return f[Symbol.dispose]=function(){if(e){var h,k;(k=(h=performance).measure)==null||k.call(h,a+"__"+c,a+"Start__"+c)}},f};var mzj={},nzj=Object.assign({},gyj,(mzj[Yyj]=!0,mzj.fLa=Zyj,mzj.uDe=!0,mzj.hC=void 0,mzj.r8a=!1,mzj.tGb=null,mzj.Pqb=!0,mzj.Lma=!1,mzj.Qqb=kzj,mzj.run=function(){var a={stack:[],error:void 0,hasError:!1};try{if(this.tGb!==null&&!this.isDisposed){if(cyj)throw Error("pU");this.dirty=!1;if(!this.r8a||nyj(this)){this.r8a=!0;Xyj++;DFe(this);ln(a,oFe(this));var c=qyj(this);try{var e={stack:[],error:void 0,hasError:!1};try{ln(e,lzj("reactionRun",this.GW)),Oyj(this.tGb,{stack:this.ZJa})}catch(f){e.error=
f,e.hasError=!0}finally{mn(e)}}finally{ryj(this,c)}}}}catch(f){a.error=f,a.hasError=!0}finally{mn(a)}},mzj.ZJa=void 0,mzj.GW="[reaction]",mzj[Symbol.dispose]=function(){iyj(this);if(jyj(this))for(var a=0;a<this.hC.length;a++)kyj(this.hC[a],this.iY[a]);this.hC.length=this.Yqa.length=this.iY.length=0;this.UM&&(this.UM.length=this.Tga.length=0);a=pm(izj);for(var c=a.next();!c.done;c=a.next())c.value.remove(this);BFe(this)},mzj));
function ozj(a,c,e){Wyj++;c=Object.create(c);c.ZJa=Jyj.slice();c.tGb=a;e&&(c.GW=e);AFe(c);return c};function pzj(a,c,e){e=e===void 0?3:e;var f,g;var h=(g=(f=Lyj)==null?void 0:f.slice())!=null?g:[];var k,l;f=(l=(k=Myj)==null?void 0:k.slice())!=null?l:[];c={ZJa:h,fBe:f,aCe:e,gCe:Iyj(),tagName:c};return[a,c]};var qzj=Object.assign({},nzj,{fLa:Zyj});function TX(a,c){a=ozj(a,qzj,c);c=RX;if(azj(c)&&c.fLa===$yj){var e;(e=SX.handleError)==null||e.call.apply(e,[SX].concat(qm(pzj(Error("eD")))))}kzj(a)};var rzj=new Set([I8f,koa,Aoa,Doa,ud,Rd,Qe,"defer",We,"formnovalidate",Eh,"ismap","itemscope",ni,oi,"loop",k5a,"muted","novalidate",Ej,"playsinline",B8a,U8a,d9a,"scoped","seamless",Ek,Pk,"sortable","typemustmatch"]);/*

 Copyright 2017 Google LLC
 SPDX-License-Identifier: BSD-3-Clause
*/
function szj(a,c,e){if(Object.hasOwnProperty.call(tzj,a)&&(a=tzj[a],Object.hasOwnProperty.call(a,c)&&(a=a[c],a instanceof Array))){for(var f=null,g=!1,h=0,k=a.length;h<k;++h){var l=a[h],p=l.