ction t4i(){}H(t4i,K);t4i.prototype.D=function(a,c){var e=c.getType();return e!=0&&e!=6?!1:QI(a.Xa(),a.og(c))};t4i.prototype.F=B(9);function s4i(a){this.F=!1;this.D=a}H(s4i,tw);function L4i(a,c){var e=a.D.hb(),f=a.D.Aa();e=e.Jd();a=f.Xa();!0===c?(f=f.ld().Kc(e),f=a.lastIndexOf("\u0010",f?f.D-1|0:e)):f=wA(a,"\u0010",e);if(f==-1){var g;!0===c?g=a.lastIndexOf("\u0010",null):g=a.indexOf("\u0010",null);f=g}g=f+3|0;return f==-1||g==e?null:WG(tC(g),!0,!0===c?URg:KRg)}
function M4i(a,c){if(!OI(a.D))return null;a=PI(a.D);if(!0===c)a=a.D+3|0;else{var e=RG(a,a.F-1|0);if(!e)return null;a=Hzh(a,e.D,e.F).Dk}return WG(tC(a),!0,!0===c?aSg:zRg)}function O4i(a,c){if(!OI(a.D))return null;var e=!0===c?VRg:LRg,f=ywh(a.D.hb());a=PI(a.D);var g=RG(a,f);f=g.D;g=g.F;var h=a.Bc(f,g);c=g+(!0===c?-1:h.Ge())|0;if(!Dzh(a,h,e,f,g,f,c))return null;c=Hzh(a,f,c).ce+1|0;return WG(tC(c),!0,e)}
function N4i(a,c){if(!OI(a.D))return null;var e=ywh(a.D.hb());a=PI(a.D);var f=RG(a,e);e=!0===c?0:a.Id()-1|0;f=f.F;if(a.Bc(e,f)==null)return null;a=Hzh(a,e,f).ce+1|0;return WG(tC(a),!0,!0===c?bSg:ARg)}function Q4i(a,c){if(!OI(a.D))return null;var e=!0===c?WRg:MRg,f=ywh(a.D.hb());a=PI(a.D);var g=RG(a,f);f=g.D;g=g.F;var h=a.Bc(f,g);c=f+(!0===c?-1:h.ve())|0;if(!Dzh(a,h,e,f,g,c,g))return null;c=Hzh(a,c,g).ce+1|0;return WG(tC(c),!0,e)}
function P4i(a,c){if(!OI(a.D))return null;var e=ywh(a.D.hb());a=PI(a.D);e=RG(a,e).D;var f=!0===c?0:a.ae()-1|0;if(a.Bc(e,f)==null)return null;a=Hzh(a,e,f).ce+1|0;return WG(tC(a),!0,!0===c?cSg:BRg)};function K4i(){this.F=!1;this.F=mv().Ha(pf)}H(K4i,K);
K4i.prototype.D=function(a){for(var c=new Kx,e=0;e<fUi.length;e++)c.put(fUi[e],!1);e=!!a&&OI(a);c.put(N5f,e);if(a){c.put(M5f,cce(a));if(this.F){var f=Syh(a);e=!!f&&f.yb()!=0;var g=!!f&&f.yb()==2;var h=!!f&&Tyh(f.yb());var k=!!f&&Uyh(f.yb());var l=!!f&&f.yb()==1;f=!!f&&f.yb()==4}else e=Syh(a),e=!!e&&e.yb()!=0,g=Syh(a),g=!!g&&g.yb()==2,h=Syh(a),h=!!h&&Tyh(h.yb()),k=Syh(a),k=!!k&&Uyh(k.yb()),f=Syh(a),l=!!f&&f.yb()==1,f=!!f&&f.yb()==4;c.put(H5f,e);c.put(F5f,g);c.put(E5f,h);c.put(D5f,k);c.put(C5f,l);c.put(I5f,
f)}if(!a||!c.get(M5f))return c.put(A5f,!0),c.put(B5f,!0),c.put(t5f,!1),c;e=I_g(a);g=tce(a.Aa(),+e[0]|0,+e[e.length-1|0]|0);h=a.Aa().ld().Kc(g);g=tzh(e,h).length>0;h=szh(a.Aa(),e,h);c.put(w5f,g);c.put(z5f,h);h=a.hb().getSelection().D;k=ece(a);c.put(q5f,k);c.put(A5f,!k);g=!0;if(k)for(g=AC(a.hb().getSelection()),h=c.put,l=a.Aa(),Cfd(l,g)?(k=l.ld().Kc(l.og(g.zc)),l=GVg(l,g,[k.D]),l=Vyh(l,k),k=l.Vb()==0&&l.bottom==(k.Id()-1|0)):k=!1,h.call(c,u5f,k),h=c.put,l=a.Aa(),Cfd(l,g)?(k=l.ld().Kc(l.og(g.zc)),g=
GVg(l,g,[k.D]),g=Vyh(g,k),g=g.Rb()==0&&g.right==(k.ae()-1|0)):g=!1,h.call(c,v5f,g),g=!1,h=0;h<e.length;h++){if(k=e[h],(k+1|0)!=VI(a.Aa().Xa(),k)){g=!0;break}}else h.length==1&&e.length==1&&c.put(r5f,Iu(Xyh(a.Aa(),ew(h[0])),Xyh(a.Aa(),fw(h[0]))));c.put(B5f,g);c.put(J5f,dzh(a));c.put(L5f,czh(a));c.put(K5f,e.length==1);c.put(x5f,Ezh(a));c.put(y5f,Gzh(a));e=c.put;(g=PI(a))?(h=$yh(a),h=WI(a.Aa(),h),g=K_g(a.Aa(),g,h)):g=!1;e.call(c,t5f,g);h=UI(a.Aa().Xa(),a.hb().Jd());e=c.put;g=a.Aa();kDh();h=g.Eg(zk,h);
g=h.O.D!=1?!1:!!g.Ir(h.O.H);e.call(c,s5f,g);a:{e=lzh(a.Aa(),a.hb().getSelection());for(g=0;g<e.length;g++)if(l=e[g],h=a.Aa(),k=l.D,l=l.jh(),h=h.getStyle(ll,k),h.Vh()[l]?(h=h.Vh()[l].H,h=h.jb()?"":h.getName()):h="",h in bDh){a=!0;break a}a=!1}c.put(G5f,a);return c};function R4i(){}H(R4i,fH);R4i.prototype.D=function(a){return new S4i(a)};function S4i(a){I4i();nF.call(this,nKg,a)}var J4i;H(S4i,gH);S4i.prototype.Vc=function(){var a=this.getContext().ub();if(cce(a)){var c=I_g(a);a=a.Aa().ld().Kc(+c[0]|0);c=tzh(c,a);c.length!=0&&(c=qF(this,new o4i(this.getContext(),c)).yb(),this.D=new sTh(nKg,c,!1))}};function I4i(){I4i=r();J4i=new R4i};function H4i(a){this.F=a}H(H4i,fH);H4i.prototype.D=function(a){return new T4i(a,this.F)};function T4i(a,c){nF.call(this,tKg,a);this.H=c}H(T4i,gH);T4i.prototype.Vc=function(a){var c=this.getContext().ub();OI(c)&&Ezh(c)&&Gzh(c);var e=a.F,f=a.D;if(f!=null||e!=null){a=SI(c);c=c.Aa().getStyle(ll,a).D.D;var g=this.H.tFa(a),h=null;f!=null&&(h=y1i(c.D.D,1,null,f));f=null;e!=null&&(c.H.D==0&&(e-=g.D),f=z1i(c.H.D,1,null,e));e={tbls_ftp:{ft_p:E1i(h,f,null)}};qF(this,new RCh(this.getContext(),e,O(a)))}};function E4i(a,c,e,f,g,h,k,l,p){this.F=a;this.H=c;this.R=e;this.V=f;this.J=g;this.W=h;this.O=k;this.ea=l;this.ma=p}H(E4i,fH);E4i.prototype.D=function(a){return new U4i(a,this.F,this.H,this.R,this.V,this.J,this.W,this.O,this.ea,this.ma)};function U4i(a,c,e,f,g,h,k,l,p,q){nF.call(this,uKg,a);this.wa=c;this.ea=e;this.ma=f;this.va=g;this.za=h;this.Fa=k;this.Ca=l;this.Da=p;this.H=q}H(U4i,gH);
U4i.prototype.Vc=function(a){var c=this.getContext().ub();OI(c)&&Ezh(c)&&Gzh(c);var e=a.D;a=a.F;var f=SI(c);c=c.Aa().getStyle(ll,f).D.D;if(c.D.D!=e||c.H.D!=a)if(c=this.Fa.D(tC(f)),e==4)qF(this,new S3i(this.getContext(),f,c,D1i(f,c,this.ma,this.va,this.H),e,a,this.Ca,this.za,this.wa,this.ea,this.ma,this.va,this.Da,this.H));else{a=f;e=J1i(c);f=y1i(1,1,null,e.x);var g=z1i(1,1,null,e.y),h=this.getContext().ub(),k=a;FH(h.Aa(),k).D&&(qF(this,new C1i(this.getContext(),a,D1i(a,c,this.ma,this.va,this.H),!0,
!1,this.Ca,this.za,this.wa,this.ea,this.Da,this.H)),a=SI(this.getContext().ub()),f=y1i(0,1,null,e.x-J8b(this.getContext().ub().Aa().Wf())),g=z1i(0,0,O(2),null));qF(this,new B1i(this.getContext(),a,c,this.ea,f,g,null))}};function V4i(){}H(V4i,fH);V4i.prototype.D=function(a){return new W4i(a)};function W4i(a){B4i();nF.call(this,vKg,a)}var C4i;H(W4i,gH);W4i.prototype.Vc=function(a){var c=this.getContext().ub();OI(c)&&Ezh(c)&&Gzh(c);c={};var e=a.J;e!=null&&(c.ft_mt=e);e=a.D;e!=null&&(c.ft_mb=e);e=a.F;e!=null&&(c.ft_ml=e);a=a.H;a!=null&&(c.ft_mr=a);a={tbls_ftp:c};qF(this,new RCh(this.getContext(),a,null))};function B4i(){B4i=r();C4i=new V4i};function X4i(){}H(X4i,fH);X4i.prototype.D=function(a){return new Y4i(a)};function Y4i(a){F4i();nF.call(this,wKg,a)}var G4i;H(Y4i,gH);Y4i.prototype.Vc=function(a){var c=this.getContext().ub();OI(c)&&Ezh(c)&&Gzh(c);var e=a.D;Jt(wpc,e);a=SI(c);c.Aa().getStyle(ll,a).D.D.J.D!=e&&(c={tbls_ftp:{ft_p:E1i(null,null,A1i(O(2),O(e)))}},qF(this,new RCh(this.getContext(),c,O(a))))};function F4i(){F4i=r();G4i=new X4i};function D4i(a,c,e,f,g,h,k,l,p){this.F=a;this.H=c;this.J=e;this.O=f;this.R=g;this.V=h;this.W=k;this.ea=l;this.ma=p}H(D4i,fH);D4i.prototype.D=function(a){return new Z4i(a,this.F,this.H,this.J,this.O,this.R,this.V,this.W,this.ea,this.ma)};function Z4i(a,c,e,f,g,h,k,l,p,q){nF.call(this,AKg,a);this.ma=c;this.H=e;this.va=f;this.wa=g;this.za=h;this.Ca=k;this.Da=l;this.Fa=p;this.ea=q}H(Z4i,gH);
Z4i.prototype.Vc=function(a){var c=this.getContext().ub();OI(c)&&Gzh(c);var e=a.D;a=SI(c);var f=c.Aa().getStyle(ll,a);if((c=this.Da.D(tC(a)))&&f.O!=e)switch(e){case 0:qF(this,new l2i(this.getContext(),a));break;case 1:qF(this,new C1i(this.getContext(),a,D1i(a,c,this.za,this.Ca,this.ea),!0,!0,this.wa,this.va,this.ma,this.H,this.Fa,this.ea));e=ZA(WA(),c.YA().H);e=y1i(4,1,null,e);f=z1i(4,1,null,0);var g=A1i(O(2),O(2));qF(this,new B1i(this.getContext(),a,c,this.H,e,f,g));break;default:throw Vm("wS").Ea;
}};function $4i(){}H($4i,fH);$4i.prototype.D=function(a){return new a5i(a)};function a5i(a){b5i();nF.call(this,kKg,a)}var c5i;H(a5i,gH);a5i.prototype.Vc=function(a){var c=a.D;a=!this.getContext().ub().Aa().getStyle(zk,c).ma;qF(this,new d5i(this.getContext(),a,c));var e=this.getContext().ub().Aa();c=WI(e,c);this.D=new e5i(a,c)};function b5i(){b5i=r();c5i=new $4i};function f5i(){this.D=this.F=0}H(f5i,K);f5i.prototype.oa=function(){if(this.D!=1)throw un().Ea;var a=new g5i;a.D=this.F;return a};function g5i(){this.D=0}H(g5i,gw);function e5i(a,c){this.Xc=kKg;this.D=c;this.F=a}H(e5i,GD);function d5i(a,c,e){this.D=a;this.J=e;this.O=c}H(d5i,BG);d5i.prototype.H=function(){this.F(new EG(zk,this.J,this.J,{row_cs:this.O}))};function h5i(a){switch(a){case "SHARE_SUBMENU":case "EMAIL_MENU_STATE_UNDEFINED":case "":return 1;case "EMAIL_SUBMENU":return 2;case "ONLY_COLLABORATORS":return 3;default:throw Error("xS");}};function i5i(a){var c=a.SU;var e=a.flc;var f=a.jc;var g=a.ke;var h=a.Rrb===void 0?!1:a.Rrb;var k=a.QFb===void 0?null:a.QFb;var l=a.r2b===void 0?!1:a.r2b;var p=a.bOd===void 0?!1:a.bOd;var q=a.r1b===void 0?!1:a.r1b;var u=a.D2b===void 0?!0:a.D2b;var w=a.u2b===void 0?!1:a.u2b;var y=a.ltb===void 0?!1:a.ltb;var z=a.XZc===void 0?!0:a.XZc;var A=a.cOd===void 0?!0:a.cOd;var C=a.iOd===void 0?!1:a.iOd;var E=a.YNd===void 0?!0:a.YNd;a=a.y2b===void 0?!1:a.y2b;var F=(new RC).Mb(3).oa();j5i(c,e,F,f,g,k,l,p,q,w,z,
A,C,E,a);p=g.Ha(rBa);VV(c,KAa,[p?[]:f.qa(PBa),null,f.qa(tg),f.qa(Zf),null,f.qa(Xxa),f.qa(Axa),f.qa(Bxa),f.qa(nIa),f.qa(Xf),f.qa(pIa),Qri(c,Gxa),null,f.qa(TKa),Qri(c,HAa)],void 0,F,cPg);VV(c,uRa,[Qri(c,sRa),f.qa(zf)],void 0,F,cPg);p=g.Ha(lfg);VV(c,XPa,[Qri(c,YPa),f.qa(MBa),p?f.qa(dxa):[],f.qa(rya),Qri(c,WPa),f.qa(ZHa),f.qa(xIa),f.qa(gHa),null,g.Ha(Cfg)?f.qa(QHa):[],f.qa(Uua),f.qa(Vua)],void 0,F,cPg);VV(c,G3a,[f.qa(R3a),f.qa(S3a),null,f.qa(B3a)],void 0,F,FQ);c.Ze(QBa,[f.qa(G3a),Qri(c,RVa),null,c.Wh(yFa)],
void 0,F,cPg);p=g.Ha(qBa);c.Ze(SCa,[CLe(g)?f.qa(VGa):c.Wh(TCa),CLe(g)?null:[],f.qa(ICa),u?[f.qa(XCa),f.qa(YCa)]:[],null,f.qa(TBa),y?f.qa(wJa):f.qa(vJa),null,p?[f.qa(UCa),f.qa(WCa)]:[],null,Qri(c,RCa),f.qa(VCa)],void 0,F,cPg);VV(c,MKa,Qri(c,NKa),void 0,F,cPg);VV(c,bya,[Qri(c,aya)],void 0,F,cPg);h&&(g.Ha(rBa)||DW(f.qa(PBa),88),DW(e.OI(),83),DW(f.qa(pQa),74),DW(f.qa(tva),113),l&&DW(f.qa(Fwa),70),DW(f.qa(CGa),78),DW(f.qa(lAa),68),DW(f.qa(nBa),69),DW(f.qa(IMa),83),DW(f.qa(pBa),78),DW(f.qa(yIa),80),DW(f.qa(oBa),
67),DW(f.qa(uCa),70),DW(f.qa(qAa),82),DW(f.qa(Dva),73),DW(f.qa(DGa),86),c=k&&k.getId(),c===lAa&&g.Ha(FAa)&&DW(f.qa(uHa),51),c===lAa&&g.Ha(rfg)?DW(f.qa(vHa),84):DW(f.qa(yNa),84),DW(f.qa(fHa),79),DW(f.qa($Ia),82),DW(f.qa(BFa),67),DW(f.qa(AFa),67),DW(f.qa(CFa),78),DW(f.qa(kAa),85),DW(f.qa(gf),188),DW(f.qa(Of),77),DW(f.qa(ZPa),84),DW(f.qa(iKa),78),q?DW(f.qa(dg),72):(DW(f.qa(VJa),72),DW(f.qa(dg),83)),DW(f.qa(A2a),76),E&&DW(f.qa(oAa),68),DW(f.qa(ZAa),69),DW(f.qa(tJa),82),DW(f.qa(uJa),76),DW(f.qa(qLa),79),
DW(f.qa(YBa),83),DW(f.qa(QIa),87),DW(f.qa(LAa),68),DW(e.H,69),DW(e.F,65),DW(f.qa(sf),68),DW(f.qa(Rya),66),g.Ha(Mjg)&&DW(f.qa(tRa),81),g.Ha(rBa)&&DW(f.qa(vRa),89),z&&(DW(f.qa(BIa),80),DW(f.qa(FIa),86),a&&(DW(f.qa(EIa),87),DW(f.qa(HIa),65))),DW(f.qa(zFa),75),DW(f.qa(tg),85),DW(f.qa(Zf),82),DW(f.qa(Xxa),84),DW(f.qa(Axa),67),DW(f.qa(Bxa),86),DW(f.qa(nIa),80),DW(f.qa(Xf),79),DW(f.qa(pIa),81),DW(f.qa(TKa),65),DW(f.qa(zf),85),DW(f.qa(MBa),82),DW(f.qa(ZHa),79),DW(f.qa(xIa),80),DW(f.qa(gHa),67),g.Ha(lfg)&&
DW(f.qa(dxa),76),DW(f.qa(rya),68),DW(f.qa(jLa),67),DW(f.qa(Uua),90),DW(f.qa(Vua),89),DW(f.qa(G3a),65),DW(f.qa(B3a),65),DW(f.qa(R3a),71),DW(f.qa(S3a),77),DW(f.qa(ICa),72),CLe(g)&&DW(f.qa(VGa),77),DW(f.qa(XCa),84),DW(f.qa(YCa),85),g.Ha(qBa)&&(DW(f.qa(UCa),80),DW(f.qa(WCa),83)),DW(f.qa(TBa),82),DW(f.qa(vJa),65),DW(f.qa(wJa),65),DW(f.qa(VCa),75))}
function j5i(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A){var C=isNaN(Lv(g,nya)),E=g.Ha(Mjg),F=g.Ha(rBa),I=h5i(Mv(g,"docs-ems")),J=g.Ha(aSa),N=g.Ha("docs_dgrwl"),W=g.Ha(hfg),Y=g.Ha(Meg),aa=null,fa=h&&h.getId();Y&&fa===lAa?aa=f.qa(nBa):Y&&fa===IMa?aa=f.qa(pBa):Y&&fa===yIa&&(aa=f.qa(oBa));Y=g.Ha(Fjg)&&aa;var ka=aa?aa:[];Y&&PCh(aa);var qa=null;aa&&(qa=$Ec(yD(e),C6g(new VC,g.Ha(Fjg))).oa());var va=fa===lAa&&g.Ha(FAa),za=va?ZIh().Mb(7).oa():void 0,la;VV(a,CGa,[Qri(a,zGa),Y?[aa,null,h]:[h,ka],va?f.qa(uHa):[],fa===qAa?
[]:g.Ha(rfg)&&fa===lAa?f.qa(vHa):f.qa(yNa)],function(){return za},(la=qa)!=null?la:e,EQ);if(I==2){var Ya=eBi("Original email");g=W?new tVi(function(){return Ya}):Ya;var ra=eBi("Compose new message");aa=W?new tVi(function(){return ra}):ra;k5i([Ya,ra],f,a,W);f.qa(tJa).jd(py,function(){return k5i([Ya,ra],f,a,W)});f.qa(uJa).jd(py,function(){return k5i([Ya,ra],f,a,W)});f.qa(qLa).jd(py,function(){return k5i([Ya,ra],f,a,W)});VV(a,ZAa,[J?[g,f.qa(tJa),N?[]:f.qa(uJa),f.qa(qLa),null,aa]:[],c.F,c.H,q?f.qa(sf):
[]],void 0,e,FQ)}VV(a,YBa,[c.OI(),f.qa(QIa),f.qa(LAa),I==1?[null,c.F,c.H]:[]],void 0,e,EQ);p||VV(a,VJa,[f.qa(iKa),f.qa(dg),Qri(a,PJa)],void 0,e,FQ);switch(I){case 1:var Va=[];break;case 2:Va=f.qa(ZAa);break;case 3:Va=c.H}VV(a,XBa,[F?[]:f.qa(PBa),null,w?f.qa(CGa):h,f.qa(fHa),k?f.qa(Fwa):[],Qri(a,$Qa),l?f.qa(BFa):f.qa(AFa),f.qa(kAa),null,y?c.OI():f.qa(YBa),Va,z?f.qa(oAa):[],f.qa(tva),f.qa(pQa),Qri(a,WBa),null,E?f.qa(tRa):[],f.qa($Ia),f.qa(Of),f.qa(gf),f.qa(ZPa),null,p?f.qa(dg):f.qa(VJa),f.qa(zFa),null,
C?f.qa(Rya):[],F?f.qa(vRa):[],Qri(a,mAa),f.qa(A2a),f.qa(FIa).isVisible()||f.qa(HIa).isVisible()?null:[],Qri(a,Wxa),u?l5i(f,A):[]],void 0,e,cPg)}function l5i(a,c){return c?[a.qa(FIa),a.qa(HIa),a.qa(BIa),a.qa(EIa)]:[a.qa(FIa),a.qa(BIa)]}function k5i(a,c,e,f){c=c.qa(tJa).isVisible()||c.qa(uJa).isVisible()||c.qa(qLa).isVisible();a=pm(a);for(var g=a.next();!g.done;g=a.next())g.value.Ka(c);e.Ux(ZAa)&&!f&&e.Hd(ZAa,!0)}function DW(a,c){a.setProperty($4a,c)};function m5i(a,c){a.OK({title:W5f,content:c,buttons:Pli()})};function n5i(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C,E){r4i.call(this,a,e,g,h,y,w,k.F,k,k.Eb,k,k,k,k.va,u,l.J||l.R,E);this.ea=a;this.za=c;this.Ub=f;this.Ja=k;this.Eb=p;this.Lc=q;this.kc=u;this.Cc=z;this.fc=k.Eb;this.Qb=A;this.Fc=C}H(n5i,r4i);
n5i.prototype.Td=function(a){var c=this;r4i.prototype.Td.call(this,a);var e=new x0i(this.J,a.F,this.Ja.F,new L0g(this.za,this.lb().Ha(of)),this.lb());a.J.Ze(pJg,[e]);a.J.Ze(fNa,[new w0i(this.J,a.F,this.lb())],void 0,void 0,FQ);a.J.Ze(VMa,[new v0i(this.J,a.F,this.lb())],void 0,void 0,FQ);a.J.Ze(YMa,[this.ea.qa(ZMa),this.ea.qa(XMa)],void 0,void 0,FQ);a.J.Ze(OJg,[this.ea.qa(NJg),this.ea.qa(PJg)],void 0,void 0,EQ);e=[this.ea.qa(xJg),null,this.ea.qa(tJg),this.ea.qa(uJg),this.ea.qa(wJg),this.ea.qa(yJg)];
this.lb().Ha(KP)&&this.lb().Ha(Gfg)&&e.push(this.ea.qa(vJg));a.J.Ze(qJg,e,void 0,void 0,EQ);if(a.getContext().kb().V){e=a.getContext().J;var f=new C0i(this.ea,this.Eb,this.Ja,this.J,this.kc,new z0i(this.J,this.Ib),this.Kb,!1,this.Ub,e);a.V.register(f,jl);this.xa(f);e=new C0i(this.ea,this.Eb,this.Ja,this.J,this.kc,new z0i(this.J,this.Ib),this.Kb,!0,this.Ub,e);a.W.register(e,jl);this.xa(e)}if(e=a.O)oEi(e,this.D),e.Xj(this.D.qa(YHg)),e.Xj(this.D.qa(qKg)),qBi(e,YHg,function(){return Izh(c.za.Aa(),5).oa()}),
qBi(e,qKg,function(){return Izh(c.za.Aa(),5).oa()});e=new s0i(this.Ja,this.Eb,this.ea,this.Lc,this.za);this.xa(e);this.Fc.D=e;a.D.register("kix-bubble-cell-validation-help",e)};
n5i.prototype.ye=function(a,c,e){var f=this;r4i.prototype.ye.call(this,a,c,e);var g=Lth(13);IE(IE(EE(a,MR(e,function(h){var k=f.Cc,l=h.Kc(),p=xzh(k.D,l,h.D),q=h.H,u=h.jh();p==2?q=q+1|0:p==8&&(u=u+1|0);p=new eM(q,u,p==2||p==9?0:1);p=QDh(k,l,[p])[0];q=PI(k.D);L(q,l)?(l=k.D.hb().getSelection().zc,l=l.getType()==4?l.F:[]):l=[];du(l,k.F);q=ZTb(l,p,!0,k.F);u=[];h.J?u.push(p):(u=iu(l),q>=0?Bu(u,q):TTb(u,p,k.F));k.D.yv(Cjc(u.length==0?tC(p.D):new nG(u)),!0,!0)}).D(qBg)),LE(ME(SE(e,(J0i(),K0i)),XMa,function(){return new L0i(f.fc)}),
[DE(2,0),g,M5f,xbg])),LE(ME(SE(e,(O0i(),P0i)),ZMa,function(){return new Q0i(f.fc)}),[DE(2,0),g,M5f,xbg]));ER(a,fNa,[dNa,eNa]);ER(a,VMa,[WMa,UMa]);ER(a,YMa,[XMa,ZMa]);HE(c,this.D.qa(jIg),OE(TE(e).concat(g,xbg)));c=[DE(2,0)];IE(a,KE(LE(ME(SE(e,(T0i(),U0i)),XHg,function(h){return O5i(f,h)}),c)));IE(a,LE(ME(SE(e,U0i),YHg,function(h){return O5i(f,h)}),c.concat(M5f)));IE(a,KE(LE(ME(SE(e,U0i),pKg,function(h){return P5i(f,h)}),c)));IE(a,LE(ME(SE(e,U0i),qKg,function(h){return P5i(f,h)}),c.concat(M5f)));IE(a,
LE(ME(SE(e,(b5i(),c5i)),hKg,function(){var h=$yh(f.za),k=new f5i;k.F=h;k.D=Kn(k.D|1);return k.oa()}),[g,DE(2,0),Eg]));c=Poh([OS(H5f),E5f,D5f,F5f]);c=GE([DE(1,0),al,c]);IE(a,GR(ME(SE(e,(e1i(),f1i)),RJg,function(h){return Q5i(f,!0,h)}),c));IE(a,GR(ME(SE(e,f1i),SJg,function(h){return Q5i(f,!1,h)}),c));c=GE([c,g]);IE(a,GR(ME(SE(e,f1i),NJg,function(){return R5i(f,!0)}),c));IE(a,GR(ME(SE(e,f1i),PJg,function(){return R5i(f,!1)}),c));ER(a,OJg,[NJg,PJg]);EE(a,KE(GR(QE(e,function(){return void S5i(f)}).F(qNa),
GE([DE(2,0),g,K5f,OS(H5f),OS(t5f)]))))};function O5i(a,c){if(c)return c;c=SI(a.za);var e=a.za.hb().getSelection().D;e=e.length==0?a.za.hb().Jd():e[e.length-1].end;a=WI(a.za.Aa(),e);return Z0i(Y0i(c),a+1).oa()}function P5i(a,c){if(c)return c;a=SI(a.za);return Z0i(Y0i(a),0).oa()}function Q5i(a,c,e){e.F=c;e.H=a.W;e.Xm(Xg);T5i(a,e.D);return e}
function R5i(a,c){var e=a.J,f=OI(e)?SI(e):-1,g=e.Aa();e=f==-1?[]:GVg(g,e.hb().getSelection(),[f]);g=e.length==0?-1:pce(g,e[0]);f=new p1i(f,g);f.F=c;f.H=a.W;f.Xm(Xg);T5i(a,f.D);return f}function T5i(a,c){var e=a.J.Aa(),f=e.ld().Kc(c);c=Lce(e,c);f===null||g1i(c,f)||m5i(a.Qb,J7f)}
function S5i(a){a.Qb.openDialog(G0i,{},function(c){if(c.Xd==Cj){var e=c.Hl;c=a.ea;var f=e.columns;e=e.rows;if(f!==1||e!==1){var g=new g5g;Mq(g,2,f);Mq(g,1,e);var h=new h5g;kq(h,g5g,3,g);g=new by;kq(g,h5g,142,h);f=new Lr(f,e);e=vD((new RC).Mb(1),g).oa();c.qa(pNa).xb(f,e)}}})};function U5i(a,c,e,f){fT.call(this,a);this.Ca=WS([],[5,16],Eth(Cth(["\n"]),[Jj]).oa());this.J=c;this.wa=e;this.W=f}H(U5i,fT);
U5i.prototype.ye=function(a,c,e){var f=this,g=this.D,h=[HNg,jQg],k=[iQg],l=g.Lb(sog),p=g.Lb(rog);IE(a,ME(ME(LE(UE(e,(CYh(),DYh)),k),sog,function(){return new zYh(l.getValue(),!1)}),rog,function(){return new zYh(p.getValue(),!0)}));IE(a,ME(ME(ME(ME(ME(ME(ME(LE(UE(e,(HYh(),IYh)),k),Kmg,function(A){return new EYh(A,!0)}),ong,function(A){return V5i(A)}),qng,function(){return V5i(2)}),sng,function(){return V5i(1.5)}),tng,function(){return V5i(1.15)}),ung,function(){return V5i(1)}),iog,function(A){return new EYh(A,
!0)}));IE(a,ME(ME(ME(LE(UE(e,IYh),k.concat([Eg])),aKg,function(){return W5i(g.Lb(aKg),$7a)}),bKg,function(){return W5i(g.Lb(bKg),b8a)}),gKg,function(){return W5i(g.Lb(gKg),L7a)}));var q=OE([Eg]);IR(IR(IR(c,g.qa(aKg),q),g.qa(bKg),q),g.qa(gKg),q);var u=this.H.H(8),w=this.H.H(6),y=this.H.H(7),z=this.H.H(13);IE(a,ME(LE(UE(e,IYh),k.concat([Eg,u,w,y,z])),eKg,function(){return W5i(g.Lb(eKg),i8a)}));IR(c,g.qa(eKg),q);IE(a,ME(ME(ME(LE(UE(e,(wYh(),xYh)),[hQg]),nog,function(A){return X5i(f.J,xv(vv(),U7a,A).oa())}),
pog,function(A){return X5i(f.J,A)}),mog,function(A){return X5i(f.J,xv(vv(),Y7a,A).oa())}));IE(a,LE(ME(UE(e,xYh),oog,function(A){return X5i(f.J,A)}),[iQg]));q=d8g(e).concat([iQg]);HE(c,c.qa(rng),OE(q));FR(a,gog,[fog,dog,hog,eog,log,qog,lng]);IE(a,ME(ME(LE(UE(e,(n_h(),o_h)),h),Dng,function(){return new k_h(ASa,f.wa)}),Eng,function(){return new k_h(Reb,f.wa)}));IE(a,ME(ME(LE(UE(e,(WZh(),XZh)),h.concat([EMg])),log,function(){return new TZh(!0,f.W)}),qog,function(){return new TZh(!1,f.W)}));IE(a,ME(ME(ME(ME(LE(UE(e,
(qYh(),rYh)),k.concat([EMg])),fog,function(){return new nYh(0)}),dog,function(){return new nYh(1)}),hog,function(){return new nYh(2)}),eog,function(){return new nYh(3)}))};U5i.prototype.bz=function(a){var c=this.D;aT(a,c,[qng,ung,dog,eog,fog,hog,log,qog,lng]);Wxh(a,c.qa(ong),function(e){return vTh(e)},zj)};U5i.prototype.VC=function(a){$S(a,this.Ca)};U5i.prototype.aS=function(a){SR(a,new zwh(Jj))};function V5i(a){var c={};c.ps_ls=a;return new EYh(c,null)}
function W5i(a,c){var e={};a=a.Gc();e[c]=a;return new EYh(e,null)}function X5i(a,c){var e=a.hb().getSelection().zc;switch(e.getType()){case 3:a=!0;break;case 2:a=Bsh(a.Aa(),e);break;default:a=!1}return new tYh($u(c,W7a),$u(c,Y7a),$u(c,U7a),a,!0)};function Y5i(a,c){var e=""+RV(void 0,sXf),f=uO+V("FVLFfb")+zSf+V("iY88xb")+KVf,g=a.YBb,h=a.P5;a=a.Aaa;var k=Ha+V(ccg)+n;k+=LV(c,"Line spacing",void 0,void 0,void 0,"cZvoLc",dcg,void 0,void 0,void 0,void 0,void 0,g,"",void 0,!0,!1);k+=iO+V("customSpacingDialogHeading")+n;k+=sT("Paragraph spacing (pts)")+iO+V(ccg)+wTf+V(dcg)+n;k+=LV(c,"Before","Before Paragraph spacing (pts)",void 0,void 0,"CNWWMb",void 0,void 0,void 0,void 0,void 0,void 0,h,"",void 0,!0,!1)+'</div></div><div><div class="'+V(dcg)+n;
k+=LV(c,"After","After Paragraph spacing (pts)",void 0,void 0,"tcoRtf",void 0,void 0,void 0,void 0,void 0,void 0,a,"",void 0,!0,!1)+gO;c=U(k);e=""+KV(U(f+c+fO),NYf,void 0,U(e));return U(e)};function Z5i(a,c,e,f,g){g=g===void 0?AGb:g;var h=c.Aa(),k=c.hb(),l=k.Bh(),p=h.getStyle(Jj,l);c=CGi(g(u5b(p)));var q=p.D.W;Auh(h,l,!0)||(q=0);q=CGi(q);p=p.D.R;Auh(h,l,!1)||(p=0);h=CGi(p);l=zGi(a);c=l.format(c);q=l.format(q);h=l.format(h);f.openDialog(Y5i,{YBb:c,P5:q,Aaa:h},function(u){var w=g;if(u.Xd==Cj){var y=k.OG(Jj),z=wmh(y);z=z==null?null:w(z);w=y.ps_sb;y=y.ps_sa;var A=u.Hl,C=CGi(BGi(a,A.YBb));u=CGi(BGi(a,A.P5));A=CGi(BGi(a,A.Aaa));var E=(new RC).Mb(1).oa(),F={},I=!1;C!=z&&(F.ps_ls=C,I=!0);z=
!1;u!=w&&(F.ps_sb=u,z=!0);A!=y&&(F.ps_sa=A,z=!0);z&&(F.ps_sm=1);(I||z)&&e.Lb(Kmg).xb(F,E)}},!0)};function $5i(a){switch(a.getType()){case ai:return XTf;case Ad:return WTf;case jk:return"(pixels)";default:return"(points)"}}function a6i(a){if(a=="")return null;a=Number(a);return isFinite(a)?Math.round(a*100)/100:NaN};function b6i(a,c){var e=a.hb().getSelection().zc,f=c.D(e),g=a.hb().getSelection().Qd;return g!=null?(a=a.Aa().Xa(),g=uZb(a,g.D,oG(a,g.Cg())),c6i(f,c,g)):e.getType()==3?(g=hfd(a.Aa(),e.J,e.F,2147483647),c6i(f,c,g)):f}function c6i(a,c,e){for(var f=0;f<e.length;f++){var g=c.D(new sC(e[f]));a>g&&(a=g)}return a};function d6i(a,c){var e=a.Uud,f=a.Htd,g=a.iXc,h=a.vWc,k=a.cNd,l=a.QAd,p=""+RV(void 0,sXf);e=uO+V("DGp3M")+zSf+V("IMUgab")+";"+V(B2f)+":"+V("S5vrib")+';" data-min-indent-display="'+V(e)+'" data-max-total-indent-value="'+V(f)+'" data-direction-key="'+V(g)+'" data-default-indents-points-key="'+V(h)+'" data-units-key="'+V(k)+'" data-orig-selection-indents-points-key="'+V(l)+n;var q=a.eNd;f=a.bKd;g=a.r_c;h=a.RBb;k=a.eLb;l=Ha+V(ntg)+n;q="Indentation<span>   "+(sT(q)+Ga);q=U(q);l+=q+iO+V(mtg)+n+LV(c,f,void 0,
void 0,void 0,PLg,ltg,void 0,void 0,void 0,void 0,void 0,h)+LV(c,g,void 0,void 0,void 0,n_f,ltg,void 0,void 0,void 0,void 0,void 0,k)+iO+V(mtg)+ia+V(ktg)+MN+V(YMg)+WSf+V(ktg)+"  "+V("indentationDialogWizRightError")+MN+V(z7f)+VSf;f=U(l);e+=f;f=a.PJb;h=a.OJb;a=tWf;g=sU();a+=tO+V(g)+FN+V(ntg)+" "+V("indentationDialogWizSpecial")+n;a=a+'Special indent</div></div><div class="'+(V(mtg)+TN);k=""+PV(Db,"0",void 0,void 0,void 0,void 0,void 0,void 0,h===0);k+=PV("First line","1",void 0,void 0,void 0,void 0,
void 0,void 0,h===1);k+=PV("Hanging","2",void 0,void 0,void 0,void 0,void 0,void 0,h===2);h=""+qni(U(k),"Special indentation type",void 0,void 0,void 0,!0);a+=sni(c,U(h),void 0,void 0,g,void 0,void 0,void 0,"bXuH1",void 0,ltg);a=a+OVf+LV(c,void 0,"Special indentation",void 0,void 0,E7f,ltg,void 0,void 0,void 0,void 0,void 0,f);a+=hO+V(ktg)+MN+V(yAg)+VSf;c=U(a);p=""+KV(U(e+c+fO),$_f,void 0,U(p));return U(p)};function e6i(){return U("Start indent must be numeric")}function f6i(a){a="Start indent must be at least "+sT(UU(a.LRa));return U(a)}function g6i(){return U("End indent must be numeric")}function h6i(a){a="End indent must be at least "+sT(UU(a.LRa));return U(a)}function i6i(){return U("Left indent must be numeric")}function j6i(a){a="Left indent must be at least "+sT(UU(a.LRa));return U(a)}function k6i(){return U("Right indent must be numeric")}
function l6i(a){a="Right indent must be at least "+sT(UU(a.LRa));return U(a)}function m6i(){return U("Special indent must be numeric")}function n6i(){return U("Special indent must not be negative")}function o6i(a){var c=a.zDb;a="Total indent is "+sT(UU(a.Drb))+rVf+sT(UU(c));return U(a)}function p6i(a){var c=a.zDb;a="Total first line indent is "+sT(UU(a.Drb))+rVf+sT(UU(c));return U(a)}function q6i(){return U("For this selection, the start and special indents must both be set")};function r6i(a,c,e){typeof a!==zj||typeof e!==zj?(this.F=null,this.H=-1,this.D=null):e==a?(this.F=a,this.D=this.H=0):e>a?(this.F=a,this.H=1,this.D=e-a):(this.F=e,this.H=2,this.D=a-e);this.end=typeof c===zj?c:null}var s6i=new lK("ra");function t6i(a,c,e){this.D=a;this.F=c;this.H=e}var u6i=new lK(H9a);function v6i(a,c,e,f,g){var h=w6i(a),k=$5i(f);switch(h){case Ui:var l=yb;var p=Mb;break;case Ak:l=Mb;p=yb;break;default:l="Start",p=NO}var q=a.hb().OG(Jj),u=q.ps_il,w=q.ps_ir;q=q.ps_ifl;var y=x6i(a);if(y){var z=y.R;u!=y.H&&(u=null);q!=z&&(q=null)}var A=new r6i(u,w,q);u=a.Aa().getStyle(Jj,a.hb().Bh());z=new r6i(u.D.H,u.D.V,u.D.J);u=y6i(A.F,f);w=y6i(A.end,f);q=A.H==1||A.H==2?y6i(A.D,f):"";y=Math.round(-800/f.D*2)/2;h=kS(c.D,u6i,h);z=kS(c.D,s6i,z);var C=kS(c.D,wmi,f),E=kS(c.D,s6i,A);a=Math.round(UR(f,
b6i(a,g)-36)*100)/100;c.openDialog(d6i,{eNd:k,bKd:l,r_c:p,OJb:A.H,RBb:u,eLb:w,PJb:q,Uud:y,Htd:a,iXc:h,vWc:z,cNd:C,QAd:E},function(F){if(F.Xd==Cj){var I=F.Hl;F=!1;var J=a6i(I.RBb);J==null?J=A.F:(J*=f.D,J!=A.F&&(F=!0));var N=!1;var W=a6i(I.eLb);W==null?W=A.end:(W*=f.D,W!=A.end&&(N=!0));var Y=I.OJb;I=Y==1||Y==2?a6i(I.PJb):0;if(I==null||Y<=-1)Y=A.H,I=A.D;else if(I*=f.D,I!=A.D||Y!=A.H)F=!0;if(J==null||I==null||Y<=-1)Y=null;else switch(Y){default:Y=J;break;case 1:Y=J+I;break;case 2:Y=J,J+=I}if(F||N)I={},
F&&J!=null&&(I.ps_il=J),N&&W!=null&&(I.ps_ir=W),F&&Y!=null&&(I.ps_ifl=Y),F=(new RC).Mb(1).oa(),e.xb(I,F)}},!0)}function x6i(a){var c=a.hb().getSelection();switch(c.zc.getType()){case 3:var e=c.zc;c=e.J;e=e.F;break;case 2:c=c.zc;if(!Bsh(a.Aa(),c))return null;e=a.Aa().getStyle(Mi,c.H);c=MC(e);e=NC(e);break;default:return null}a=a.Aa().Dd(c);a.getType();return gG(a,e)}function y6i(a,c){return a==null?"":(Math.round(a/c.D*100)/100).toString()}
function w6i(a){a=a.hb().OG(Jj).ps_ltr;return typeof a!==Wc?X4a:a?Ui:Ak};function z6i(a,c,e,f,g,h,k){U5i.call(this,a,c,e,g);this.za=f;this.ea=k}H(z6i,U5i);z6i.prototype.ye=function(a,c,e){var f=this;U5i.prototype.ye.call(this,a,c,e);c=[DE(2,0),iQg];EE(a,LE(KE(QE(e,function(){v6i(f.J,f.ea,f.D.Lb(oog),f.za,f.W)}).F(lng)),c));EE(a,LE(KE(QE(e,function(){Z5i(f.lb(),f.J,f.D,f.ea)}).F(Lmg)),c))};function A6i(a){T.call(this);this.D=a}H(A6i,T);D=A6i.prototype;D.lla=function(){var a=B6i(this),c=this.D.JE();return this.F!=null&&a.start==REi(this.F)&&c-a.end==SEi(this.F)?!1:!0};function B6i(a){var c=a.D.lX(),e=a.D.kX();return{start:c,end:e,G6:a.D.G6()}}D.mva=function(){var a=B6i(this),c=this.D.JE();return this.F=new QEi([{start:a.start,size:c-a.start-a.end}],0,a.G6)};D.lva=function(){return[]};D.ova=r();D.mpa=r();D.nva=r();D.kla=r();function C6i(){this.F=!1}H(C6i,K);function D6i(a,c){a.J=c;return a}C6i.prototype.oa=function(){return new E6i(this.H,this.J,this.O,this.R,this.V,this.W,this.za,this.ma,this.ea,this.D,this.va,this.wa,this.F)};function E6i(a,c,e,f,g,h,k,l,p,q,u,w,y){this.D=a;this.F=c;this.R=e;this.V=f;this.W=g;this.ea=h;this.va=k;this.wa=l;this.ma=p;this.H=q;this.J=u;this.O=w;this.za=y}H(E6i,K);E6i.prototype.J_=x("O");function F6i(){}H(F6i,fH);F6i.prototype.D=function(a){return new G6i(a)};function G6i(a){H6i();nF.call(this,MAg,a)}var I6i;H(G6i,gH);G6i.prototype.Vc=function(a){var c=qF(this,new J6i(this.getContext(),a));this.D=new PWh(MAg,Bmh(c),!1,a.za)};function H6i(){H6i=r();I6i=new F6i};function J6i(a,c){this.D=a;this.F=c}H(J6i,AG);
J6i.prototype.El=function(){var a=this.getContext().ub().Aa(),c=[0];Eu(c,a.Xa().F("\ue905"));var e={},f=this.F.F;if(f!=null){var g=new S7b(null);g.Oc({df_dm:Ln(f)});cv(e,ZSa,g.xd())}if(f=this.F.D)g=vv(),Av(g,jpa,fA(f)),cv(e,XSa,g.oa());g=this.F.wa;f=this.F.ma;g!=null&&(e.ds_pw=g);f!=null&&(e.ds_ph=f);var h=this.F.va,k=h!=null;k&&(e.ds_pnsi=Ln(h));var l=this.F.H;(h=l!=null)&&(e.ds_fpo=l);var p=this.F.J;p!=null&&(e.ds_lhs=p);(p=this.F.J_())&&cv(e,hTa,p.xd());p=a.Wf();var q=h?l:p.wa,u=f!=null?f:P8b(p),
w=g!=null?g:N8b(p);l=h||!q&&g!=null||q&&f!=null;var y=this.F.V;p=this.F.W;if(l||y!=null||p!=null){a:{var z=q?u:w;var A=y!=null,C=p!=null,E=J8b(a.Wf()),F=L8b(a.Wf()),I=A?y:E,J=C?p:F;if(K6i(a,c,I,J,z))z=new VXi(y,p);else{if(A||C){var N=RXi(a,c,y,p,z);if(K6i(a,c,A?N.Rb():E,C?N.D:F,z)){z=N;break a}}z=RXi(a,c,I,J,z)}}c=z.Rb();z=z.D;c!=null&&(e.ds_ml=c);z!=null&&(e.ds_mr=z)}A=this.F.ea;z=this.F.R;c=.4*(q?w:u);u=A==null?M8b(a.Wf()):A;w=z==null?H8b(a.Wf()):z;q=h||!q&&f!=null||q&&g!=null;if(A!=null||q&&u>
c)e.ds_mt=Math.min(c,u);if(z!=null||q&&w>c)e.ds_mb=Math.min(c,w);DD(this,new EG(Dg,0,0,e));c=y!=null;p=p!=null;q=A!=null;y=z!=null;u=[0];Eu(u,a.Xa().F("\ue905"));for(w=0;w<u.length;w++){z=u[w];A=LI(a,z);I=a;J=A;var W=z;N=c;var Y=p;C={};N&&(C.css_ml=null);Y&&(C.css_mr=null);F=!N&&J.D!=null;E=!Y&&J.O!=null;if(F||E){var aa=J8b(I.Wf()),fa=L8b(I.Wf());W=[W];K6i(I,W,F?J.D:aa,E?J.O:fa,null)||(I=L6i(I,W,N?null:J.D,Y?null:J.O),F&&(F=C,J=I.Rb(),F.css_ml=J),E&&(C.css_mr=I.D))}E=g0g(this.getContext().ub(),NI(a,
z));F=A.Sa;A=A.Ra;q?C.css_mt=null:F!=null&&F>E&&(C.css_mt=E);y?C.css_mb=null:A!=null&&A>E&&(C.css_mb=E);k&&(C.css_pnsi=null);h&&(C.css_fpo=null);DD(this,new EG(Fd,z,z,C));(l||c||p||h)&&FD(this,new FXi(this.getContext(),(new GXi).oa(),z))}if(g!=null||f!=null)a=a.Wf(),g==null&&(g=N8b(a),e.ds_pw=g),f==null&&(a=P8b(a),e.ds_ph=a);return e};function K6i(a,c,e,f,g){g=g!=null?g:N8b(a.Wf());a=WXi(a,c);g=Math.max(0,g-a);return e>=0&&f>=0&&e+f<=g}
function L6i(a,c,e,f){var g=N8b(a.Wf());c=WXi(a,c);if(e==null)return e=J8b(a.Wf()),f=Math.min(f,g-c-e),new VXi(null,f);if(f==null)return f=L8b(a.Wf()),e=Math.min(e,g-c-f),new VXi(e,null);g=Math.max(0,g-c);if(e+f<=g)return new VXi(e,f);e=Math.floor(Math.min(e,e/(e+f)*g));return new VXi(e,g-e)};function M6i(a,c,e,f){fT.call(this,a);N6i(this,c,e,f)}H(M6i,fT);function N6i(a,c,e,f){a.W=c;a.J=e;a.wa=new MZh(function(){return c});a.Ca=f}D=M6i.prototype;
D.ye=function(a,c,e){var f=this;EE(EE(a,KE(HR(JR(e,function(){f.D.qa(zf).Gc()?f.D.qa(zf).wm():f.D.qa(SUa).isEnabled()?f.D.qa(SUa).wm():f.D.qa(jf).Gc()?f.D.qa(jf).wm():f.D.qa(eg).isVisible()?f.D.qa(dg).wm():f.D.qa(Uf).Gc()?f.D.qa(Hwa).wm():f.D.qa(yg).Gc()?f.D.qa(RRa).wm():f.D.qa(jSa).Gc()&&f.D.qa(Smg).wm()}),"kix-escape"))),LE(JR(e,function(h){var k=!1,l=f.W.Aa().Wf(),p=new C6i;p.F=!1;"mb"in h&&(p.O=h.mb,k=!0);dj in h&&(p.R=h.ml,k=!0);mj in h&&(p.V=h.mr,k=!0);"mt"in h&&(p.W=h.mt,k=!0);"fpo"in h&&(p.D=
h.fpo,k=!0);if("ph"in h){var q=h.ph;q>0&&q!=P8b(l)&&(p.ea=q,k=!0)}"pw"in h&&(q=h.pw,q>0&&q!=N8b(l)&&(p.ma=q,k=!0));"col"in h&&(q=h.col,(q=q!=null?SNb(q):null)&&!Eo(q,l.ma.yd().Jf())&&(p.H=q,k=!0));"dm"in h&&(D6i(p,h.dm),k=!0);k&&(h=p.oa(),f.R.apply((H6i(),I6i),h))}).D(LHg),[DE(2,0)]));HE(c,this.D.qa(jSa),OE(KR(e)));var g=[oNg,A5f,zQ];EE(a,LE(HR(JR(e,function(){O6i(f,!0)}),Rmg),g));EE(a,LE(HR(JR(e,function(){O6i(f,!1)}),Qmg),g));EE(a,KE(LE(HR(JR(e,function(){var h=f.D.qa(jSa);h.Ud(!1);h.wm()}),gSa),
[pNg])));EE(a,LE(HR(JR(e,function(){f.D.qa(gSa).wm();f.D.qa(Img).wm()}),Smg),[pNg]));IE(a,LE(UE(e,(H6i(),I6i)).D(IHg),[DE(2,0)]));IE(a,LE(HR(UE(e,(KZh(),LZh)),Cwa),[nQg,AQ,jd,fQ]));IE(IE(a,UE(e,(kZh(),lZh)).D(eSa)),UE(e,(MYh(),NYh)).D(dSa));IE(a,LE(ME(ME(UE(e,($Yh(),aZh)),NMa,P6i()),QMa,Q6i()),[nQg,AQ,jd,rQg]));IE(a,LE(ME(UE(e,aZh),LMa,R6i(Jl)),[nQg,AQ,jd,EMg,fQ]));IE(a,LE(ME(ME(UE(e,aZh),kg,S6i()),ng,T6i()),[jd,nQg,AQ,fQ]));g=this.H.H(5);IE(a,LE(ME(UE(e,aZh),Kf,R6i(Il)),[jd,nQg,mQg,AQ,g,EMg,fQ]));
Glh(this.D.qa(hf),this.ma);IE(a,LE(ME(UE(e,(C_h(),I_h)),hf,U6i(this)),[jd,nQg,mQg,AQ,g,EMg,fQ]));IE(a,LE(ME(UE(e,aZh),sg,R6i(Kl)),[wj,nQg,jd,rQg,AQ,g,EMg,fQ]));HE(c,this.D.qa(qRa),OE(KR(e).concat([yQ])));EE(EE(a,LR(e,function(){OZh(f.wa,!1)}).D(Jng)),LR(e,function(){OZh(f.wa,!0)}).D(Kng));IE(a,UE(e,(hzd(),izd)).F(Nmg,new ezd(!1,!0,null)));g=[nQg,zQ,jd];IE(a,LE(ME(UE(e,(DZh(),EZh)),Fmg,function(h){return V6i(f,h,2)}),g));IE(a,LE(ME(UE(e,EZh),Cmg,function(h){return V6i(f,h,1)}),g));IE(a,LE(ME(UE(e,
EZh),Emg,function(h){return V6i(f,h,0)}),g));HE(c,c.qa(Dmg),OE(g.concat(d8g(e))))};
D.mma=function(a,c){var e=this,f=iu(c.H);a.bind(Fng,KR(c),function(){return e.J.H(!0,null,null,null)}).bind(Gng,KR(c),function(){return e.J.J(!0,null,null,null)}).bind(Hng,f,function(){return mrd(e.J,!0)}).bind(Ing,f,function(){return krd(!0)}).bind(Lng,KR(c),function(){return zrd(e.J,!0)}).bind(Mng,KR(c),function(){return brd(e.J,!0)}).bind(Nng,KR(c),function(){return $qd(e.J,!0)}).bind(Qng,KR(c),function(){return wrd(e.J,!0)}).bind(Ong,f,function(){return Vah(e.J,!0)}).bind(Png,f,function(){return Uah(e.J,
!0)}).bind(Xng,f,function(){return Brd(e.J,1,!0,scb)}).bind(Yng,f,function(){return Brd(e.J,-1,!0,Ocb)}).bind(Tng,f,function(){return hrd(e.J,!0)}).bind(Ung,f,function(){return ird(e.J,!0)}).bind(Vng,f,function(){return frd(e.J,!0,null)}).bind(Wng,f,function(){return drd(e.J,!0)}).bind(Zng,f,function(){return e.J.H(!0,!0,!1,null)}).bind($ng,f,function(){return e.J.J(!0,!0,!1,null)});c=f.concat([eQg]);var g,h,k,l,p,q,u,w;luh(luh(luh(luh(luh(luh(luh(luh(a.bind(wog,f,W6i(this.W,(g=this.J,function(y){y=
O(y&&y.yb()!=0?y.yb():1);var z=g.D.Aa(),A=XG(g).Qd;A?(A=A.Cg(),A=qrd(z,A,!1,g.O,null)):A=YG(g);y=qrd(z,A,!1,g.O,y);return new ZG(uC(y,!0),!1,Bcb,!1,tC(A))}))).bind(xog,f,W6i(this.W,(h=this.J,function(y){y=O(y&&y.yb()!=0?y.yb():1);var z=h.D.Aa(),A=XG(h).Qd;A=A?A.D:YG(h);var C=vrd(z,A,!0,h.O,y),E=C;C==1&&(E=qrd(z,E,!0,h.O,null));for(var F=0;F<y.yb();F=F+1|0){var I=qrd(z,E,!0,h.O,null);if(I<=A)E=I;else break}return new ZG(uC(E,!0),!1,qcb,!1,tC(C))}))).bind(yog,f,W6i(this.W,function(){var y=(y=ard(e.J))?
new ZG(uC(fw(y),y.start!=y.end),!1,ucb,null,tC(ew(y))):null;return y})).bind(zog,f,W6i(this.W,(k=this.J,function(y){var z=y;z=O(z?z.yb():1);var A=Wah(k),C=crd(k,tC(A));(y=Xah(k,null))&&A!=C.start||(y=tC(ew(C)));A=y;for(C=1;C<z.yb();C=C+1|0){var E=Xah(k,A);if(E)A=E;else break}z=crd(k,A);return new ZG(tC(fw(z)),!1,ucb,null,y)}))).bind(Aog,f,W6i(this.W,(l=this.J,function(y){var z=y;z=O(z?z.yb():1);var A=Yah(l),C=crd(l,tC(A));(y=Zah(l,null))&&A!=C.end||(y=tC(fw(C)));A=y;for(C=1;C<z.yb();C=C+1|0){var E=
Zah(l,A);if(E)A=E;else break}A?(z=crd(l,A),y=new ZG(tC(ew(z)),!1,ucb,null,y)):y=null;return y}))).bind(UKa,f,function(){return WG(abh(e.J),!0,"text-selectNone")}).bind(Fog,f,W6i(this.W,function(){var y=(y=erd(e.J))?new ZG(tC(fw(y)),!1,wcb,null,tC(ew(y))):null;return y})).bind(Gog,f,W6i(this.W,(p=this.J,function(y){y=O(y?y.yb():1);var z=YG(p),A=erd(p),C=z==A.start,E=z==A.end;A=C?XG(p).zc:ird(p,!1).ug();var F=XG(p).Qd;z=F?F.Cg():z;y=C||E?gbh(p,z,y):gbh(p,z,O(y.yb()+1|0));return new ZG(tC(y),!1,wcb,
null,A)}))).bind(Hog,f,W6i(this.W,(q=this.J,function(y){y=O(y?y.yb():1);var z=YG(q),A=erd(q),C=z==A.start;z=z==A.end;A.start!=1||z?(A=z?XG(q).zc:tC(ew(A)-1|0),y=C||z?frd(q,!1,y):frd(q,!1,O(y.yb()+1|0)),y=new ZG(y.ug(),!1,y.H,!y.F,A)):y=null;return y}))).bind(Iog,c,W6i(this.W,function(){a:{var y=e.J;var z=y.D.Aa(),A=z.Xa(),C=YG(y),E=y.V.D();if(Lo(vG(BA(A,C)),"w"))y=lah(C,z,E),y=new ZG(tC(fw(y)+1|0),!1,YRg,!1,tC(ew(y)));else{var F=C-1|0,I=thd(z);if(cid(rhd(I,F),I)&&(z=yhd(C,z,E),Lo(vG(BA(A,z)),"w"))){y=
new ZG(XG(y).zc,!1,YRg,!1,tC(z));break a}y=null}}return y})).bind(Jog,f,W6i(this.W,(u=this.J,function(y){y=O(y&&y.yb()!=0?y.yb():1);var z=u.D.Aa(),A=z.Xa(),C=XG(u).Qd,E=C?C.Cg()+1|0:YG(u);C=ebh(u,E-1|0,z);var F=zA(A,E);C>=F&&(A=yA(A,E),C=Math.max(fbh(u,C,z),A+1|0));var I=C;for(A=0;A<y.yb();A=A+1|0){E=Math;var J=E.min,N=u,W=z,Y=W.Xa(),aa=xA(Y);N=N.V.D();do I=Bhd(I,W,N);while(I<aa&&!Lo(vG(BA(Y,I-1|0)),"w"));I=J.call(E,I,F)}return new ZG(tC(I),!1,ycb,!1,tC(C))}))).bind(Kog,f,W6i(this.W,(w=this.J,function(y){y=
O(y&&y.yb()!=0?y.yb():1);var z=w.D.Aa(),A=z.Xa(),C=w.V.D(),E=XG(w).Qd,F=E?E.D:YG(w);E=fbh(w,F,z);F<Bhd(E,z,C)&&(E=fbh(w,E,z));A=yA(A,F);E<=A&&(E=ebh(w,A,z));E=C=Bhd(E,z,C);for(F=0;F<y.yb();F=F+1|0)E=Math.max(fbh(w,E,z),A+1|0);return new ZG(tC(E),!1,Mcb,!1,tC(C))}))),Tmg,f,1,function(){return e.J.H(!1,!1,!1,null)}),Umg,f,2,function(){return e.J.J(!1,!1,!1,null)}),Xmg,f,1,function(){var y=e.J,z=YG(y),A=dbh(y),C=YG(y);y=gbh(y,C,null);return $ah(WG(tC(y),!1,wcb),A,z)}),Ymg,f,2,function(){var y=e.J,z=
YG(y),A=dbh(y),C=YG(y),E=null;y=y.D.Aa();var F=rG(y,C);E=O(E?E.yb():1);for(E=E.yb();C>=1&&E>0;E=E-1|0)C=C>F?F:rG(y,C-1|0);return $ah(WG(tC(C),!1,Kcb),A,z)}),Zmg,f,1,function(){var y=e.J,z=YG(y),A=dbh(y);y=y.H(!1,!1,!0,null);return $ah(y,A,z)}),$mg,f,2,function(){var y=e.J,z=YG(y),A=dbh(y);y=y.J(!1,!0,!1,null);return $ah(y,A,z)}),Vmg,f,1,function(){var y=e.J;var z=YG(y);if(!XG(y).Qd||srd(y,z,!1)){var A=ard(y);var C=YG(y),E=XG(y).zc;E=E.getType()==0&&E.F;A=y.R(C,E,!1,!1,E&&A&&C==A.end?2:1);(A=(A=A<
0?null:crd(y,uC(A,E)))?WG(uC(fw(A)+1|0,!0),!1,ucb):null)||(A=y.H(!1,null,null,null))}else A=Vah(y,!1);A?(y=dbh(y),z=$ah(A,y,z)):z=null;return z}),Wmg,f,2,function(){var y=e.J;var z=YG(y);var A;XG(y).Qd&&srd(y,z,!1)?((A=ard(y))?(A=y.ma(ew(A),!1,!1,!1,1),A=A<0?null:WG(uC(A+1|0,!0),!1,ucb)):A=null,A||(A=y.J(!1,null,null,null))):A=Uah(y,!1);A?(y=dbh(y),z=$ah(A,y,z)):z=null;return z});a.bind(Img,f,function(){var y=XG(e.J).zc;return new ZG(y,!1,xRg,!1,null)})};
D.bz=function(a){function c(f){if(yn(f)){var g=ju(f);if(Number.isInteger(g)&&g>0)return f}return null}var e=this.D;aT(a,e,[hf,Cwa,Kf,LMa,NMa,QMa,sg,Nmg,Hng,Ing,Jng,Kng,Mng,Nng,Xng,Yng,yog,Fog,Iog]);aT(a,e,[Tmg,Umg,Xmg,Ymg,Zmg,$mg,Vmg,Wmg,Fng,Gng,Lng,Qng,Ong,Png,Tng,Ung,Vng,Wng,Zng,$ng,wog,xog,zog,Aog,Gog,Hog,Jog,Kog,Zmg,$mg,qRa,Emg,Fmg,Cmg]);Yxh(a,e,[Emg,Fmg,Cmg],null,Wk);Yxh(a,e,[Tmg,Umg,Xmg,Ymg,Zmg,$mg,Vmg,Wmg,Fng,Gng,Lng,Qng,Ong,Png,Ung,Vng,Zng,$ng,wog,xog,zog,Aog,Gog,Hog,Jog,Kog,Zmg,$mg],c,zj);
aT(a,e,[Img]);Yxh(a,e,[Img],c,zj);X6i(this,a);Y6i(a,[this.D.qa(hf),this.D.qa(Kf),this.D.qa(LMa),this.D.qa(sg)]);Z6i(this,a)};D.Wq=function(a){var c=new kXh(a.qa(jSa));NE(a,c);this.xa(c)};
function X6i(a,c){function e(p,q){a:{WT();try{var u=XNb(q,!1);var w=sIh[u.D]||null;break a}catch(y){q=Zm(y);if(an(q)){w=null;break a}throw q.Ea;}w=void 0}return Jxh(p,w)}function f(p,q){return Jxh(p,UIh(q))}var g=Lxh(a.D.qa(ng),zKh(),f),h=Lxh(a.D.qa(ng),BKh(),e),k=Lxh(a.D.qa(kg),zKh().concat([""]),f),l=Lxh(a.D.qa(kg),BKh(),e);Xt(g,h);Xt(k,l);Uxh(c,a.D.qa(ng),g);Uxh(c,a.D.qa(kg),k);g=SNb(dDb((pPc(),lPc),3));Uxh(c,a.D.qa(kg),[new Ixh("Highlight",g,[])]);g=Lxh(a.D.qa(kg),[],function(p){return B3f+p});
Uxh(c,a.D.qa(kg),g)}function Y6i(a,c){for(var e=0;e<c.length;e++){var f=c[e],g=f.GC();Uxh(a,f,[new Ixh("Apply "+g,!0,[]),new Ixh(B3f+g,!1,[]),new Ixh("Toggle "+g,null,[])])}}function Z6i(a,c){a=a.D.qa(Tng);Uxh(c,a,[new Ixh("Resume",null,[])])}D.VC=function(a){var c=new XS;vA();var e=rmh(IYb,Rt);c.H=e;$S(a,WS([],[22],c.oa()))};D.aS=function(a){SR(a,new Bwh)};D.hra=function(a){Sbh(a,0,new y5h)};
function O6i(a,c){var e=a.D.qa(jSa);e.Ud(!0);e.wm();e=a.W.hb().getSelection();e.Qd&&(c=yB(a.W.Aa().getStyle(Jj,e.Qd.F.D))?c?Fng:Gng:c?Gng:Fng,a.D.qa(c).wm())}function S6i(){return function(a){a=a||null;a=a!=null?SNb(a):null;return new WYh(El,fA(a),new PH,null)}}function T6i(){return function(a){return new WYh(Gl,fA(a),new PH,null)}}function Q6i(){return function(){return new WYh(Ll,cl,new PH,!0)}}function P6i(){return function(){return new WYh(Ll,Mab,new PH,!0)}}
function R6i(a){return function(c){var e=c==null;return new WYh(a,e||c,new PH,e)}}function U6i(a){function c(){return!e.qa(hf).getValue()}var e=a.D;return function(){return new u_h(c)}}function V6i(a,c,e){c=c!=null?c:"";return Co(c)?wZh(e):new vZh(e,a.J,a.Ca,c)};function W6i(a,c){return function(){var e=zm.apply(0,arguments);e=c(e&&e.length>0&&e[0]!=null?O(ku(e[0])):null);return $6i(a,e)}}function $6i(a,c){if(!c||c.J||c.ug().getType()!=0)return c;var e=a.hb().getSelection();e=c.D?c.D:e.F?e.F.F:e.zc;if(e.getType()!=0)return c;e=e.D;a=a.Aa().ld().Kc(e);if(!a)return c;e=iG(a,e);if(!e)return c;a=e.ce;var f=e.Dk;e=c.ug();var g=e.D;f=e.F?f+1|0:f;if(g<=a)g=a+1|0;else if(g>f)g=f;else return c;return new ZG(new sC(g,e.F,e.J),c.J,c.H,!c.F,c.D)};function a7i(a){T.call(this);this.D=a}H(a7i,MV);a7i.prototype.qd=function(a){var c=this;return this.D.qa(zf).Gc()?[function(e){Pmi("Exit full screen",c.D.qa(zf),a,e,void 0,"editors-ia-fullscreen-exit")},null]:[]};function b7i(a,c,e,f){f=f===void 0?!1:f;T.call(this);this.F=a;this.D=c;this.H=e;this.J=f}H(b7i,MV);
b7i.prototype.qd=function(a){var c=this,e=[],f=!1;this.F&&(e.push(this.D.qa(Xxa)),f=f||this.D.qa(Xxa).isEnabled());e.push(this.D.qa(Axa));e.push(this.D.qa(Bxa));f=f||this.D.qa(Axa).isEnabled()||this.D.qa(Bxa).isEnabled();if(this.F){e.push(this.D.qa(nIa));e.push(this.D.qa(Xf));e.push(this.D.qa(pIa));f=f||this.D.qa(nIa).isEnabled()||this.D.qa(Xf).isEnabled()||this.D.qa(pIa).isEnabled();if(this.J){var g=this.H.Aa(),h=this.H.hb().getSelection(),k=Eah(g,h);Bfd(g,h)&&k?e.push(function(l){return Pmi("Delete image",
c.D.qa(dya),a,l,void 0,ZTa)}):e.push(this.D.qa(dya))}else e.push(this.D.qa(dya));f=f||this.D.qa(dya).isEnabled()}return f?e:[]};function c7i(a,c,e,f,g,h){M6i.call(this,a,c,g,h);this.ea=e;this.za=f}H(c7i,M6i);c7i.prototype.Td=function(a){M6i.prototype.Td.call(this,a);var c=a.J,e=new a7i(this.D,this.lb());this.xa(e);c.Ze(tgg,[e]);e=kD(a.getContext().O.J,2,1);c.Ze(clg,[new b7i(e,this.D,this.W,!0)]);a.getContext().kb().V&&(c=new A6i(teh(this.ea,!1)),this.xa(c),a.V.register(c,zdg),c=new A6i(teh(this.ea,!0)),this.xa(c),a.W.register(c,zdg));if(a=a.O)a.Xj(this.D.qa(UKa)),a.Xj(this.D.qa(Rmg)),a.Xj(this.D.qa(Smg)),a.Xj(this.D.qa(iCa))};
c7i.prototype.ye=function(a,c,e){var f=this;M6i.prototype.ye.call(this,a,c,e);EE(EE(EE(a,KE(NR(e,function(g){qeh(f.ea,g.x,g.y)}).D(fxa))),KE(NR(e,function(){a:{var g=f.W,h=f.ea;var k=f.ea;var l=f.za,p=g.hb().getSelection(),q=p.zc;h.r6(p);h=k.xl(q);if(!h){(p=k.xs(q))&&(h=new Kr(p.Rb(),p.Vb()));if(!h){k=void 0;break a}l||(g=spd(g.Aa(),q))&&aA(g.getType())&&(h.x+=Qpd(g.Kd).Jb())}g=k.HC();l=seh(k);qeh(k,h.x+g.left,h.y+g.top-l.start);k=void 0}return k}).F(gxa))),KE(c8g(e,function(){f.ea.Dj()}).F(iCa)));
a=this.B1;this.D.qa(fxa).setProperty(Iua,Km(a.D,a));this.D.qa(gxa).setProperty(Iua,Km(a.D,a))};function d7i(a){T.call(this);this.D=a}H(d7i,MV);d7i.prototype.qd=function(){var a=[],c=this.D.Lb(ZJg);c.isEnabled()&&a.push(c);c=this.D.Lb(aIg);c.isEnabled()&&a.push(c);c=this.D.Lb(uCg);c.isEnabled()&&a.push(c);return a};function e7i(a,c){return U('<div class="kix-toc-bubble goog-inline-block docs-material" role="toolbar"><div class="kix-toc-bubble-reload-bubble goog-inline-block">'+sii(c,Hhg,void 0,XJg)+'</div><div class="kix-toc-bubble-add-heading-bubble goog-inline-block">'+sii(c,"docs-icon-add",void 0,WJg)+'</div><div class="kix-toc-bubble-overflow-menu-bubble goog-inline-block">'+sii(c,Dhg,void 0,ASg)+Fa)};function f7i(a){var c=a.className;a=a.color;return U(Ha+V(c)+" "+V(SP)+FTf+V(c+uUf)+'" width="20px" height="20px" viewBox="0 0 20 20"><path class="'+V("gm3-dropdown-arrow-path")+'" d="M10 12 6 8h8Z" fill="'+V(a!=null?a:daa)+'"/></svg></div>')};function g7i(){}H(g7i,bW);g7i.prototype.Yd=B("docs-material-menu-button-flat-primary");g7i.prototype.Eca=function(){return cK(f7i,{className:"docs-material-menu-button-flat-primary-dropdown"})};g7i.Cb=function(){return HF(g7i)};function h7i(a,c,e,f,g){e=e===void 0?g7i.Cb():e;wV.call(this,a,c,e,f,g)}H(h7i,wV);function i7i(a,c,e,f,g,h,k){jV.call(this,f);this.ma=a;this.ea=c;this.va=e;this.W=g;this.F=this.H=this.J=null;this.wa=h;this.O=k;this.V=new hx;this.xa(this.V)}H(i7i,jV);
i7i.prototype.Oa=function(){jV.prototype.Oa.call(this);var a=this.La();a.classList.add(rg,"docs-toc-menu-bubble");var c=cK(e7i);a.appendChild(c);this.J=new QU(void 0,RU.Cb());this.eb(this.J);this.J.Sb(this.Ya(XJg));this.H=new QU(void 0,RU.Cb());this.eb(this.H);this.H.Sb(this.Ya(WJg));this.F=new j7i(this.D,this.va,this.ea,void 0,void 0,void 0,this.Ma(),void 0);Kji(this.F,!0);this.eb(this.F);this.F.Sb(this.Ya(ASg));this.F.DH=!0;vU(this.F.La(),"More table of contents options");k7i(this);this.F.Hd().La().classList.add("toc-options-menu")};
i7i.prototype.Wa=function(){var a=this;jV.prototype.Wa.call(this);var c=this.D.qa(aIg);cV(this.W,this.J,c,fV,void 0,function(){return l7i(a)});this.H&&cV(this.W,this.H,this.D.qa(jFg),fV,void 0,function(){return l7i(a)});this.F&&this.V.Pa(this.ma.OJ(),function(){a.F.wc()&&a.F.uf(!1)});this.bb().listen(this.La(),yd,function(e){return e.stopPropagation()})};i7i.prototype.focus=function(){this.J.La().focus()};
function k7i(a){a.F.Gl(new qV("Remove table of contents","remove-toc",a.Ma()));a.O.Xf()&&!a.O.xg()&&a.F.Gl(new qV(aP,jNg,a.Ma()))}function l7i(a){var c=new by;a=Myh(a.wa)?2:1;Sq(c,149,a);return vD((new RC).Mb(9),c).oa()}function j7i(a,c,e,f,g,h,k,l){h7i.call(this,f,g,h,k,l);this.F=a;this.R=c;this.J=e;this.O=!1}H(j7i,h7i);
j7i.prototype.Ps=function(a){h7i.prototype.Ps.call(this,a);var c=a.target;if(c.getValue()==="remove-toc")c=(new RC).Mb(9).oa(),this.F.qa(uCg).xb(c);else if(c.getValue()===jNg){c=this.O?this.R.Jq()?1:0:void 0;var e=(new RC).Mb(9).oa();this.F.qa(ZJg).xb(c,e)}a.stopPropagation()};j7i.prototype.Ui=function(a){h7i.prototype.Ui.call(this,a);this.J.Fd([].concat(qm(U8d),[VZa]))};j7i.prototype.Ai=function(a){(a=h7i.prototype.Ai.call(this,a))&&this.J.Fd([].concat(qm(U8d),[VZa]));return a};function m7i(a,c,e,f,g,h,k){T.call(this);this.H=a;this.O=c;this.F=e;this.J=f;this.W=g;this.V=h;this.ea=k;this.D=null;this.R=new gC}H(m7i,T);D=m7i.prototype;D.Fd=function(){this.D&&this.D.Ka(!1)};
D.update=function(){this.Fd();var a=kD(this.F.getContext().R,2,0),c=Wbe(this.H);if(a&&c){this.D||(this.D=new i7i(this.F.O,this.F.Na,this.W,this.J,this.V,this.H,this.ea),this.F.J.eb(this.D,!0));a=Myh(this.H);var e=this.H.Aa();a||(c=Oyh(c,e.Xa()));var f=c.start;c=Hfi(e,this.R,f).length===0;e=this.F.lx(new sC(f+1));e==null?e=null:(e=e.Sg(),e=new FB(e.Vb(),RD(e),SD(e),e.Rb()));var g=e;if(g){e=new Kr(g.Rb(),g.Vb());f=this.O.Jn();g=g.right-g.Rb();a=a?XA(WA(),3):0;var h=this.D;c=!c;h.H&&h.H.Ka(h.O.Xf()&&
!h.O.xg()&&!c);h.J&&h.J.Ka(c);if(h.F){for(;Iji(h.F)>0;)h.F.rY(0);k7i(h);h.F.O=c}this.D.Ka(!0);c=-this.D.La().offsetWidth-4-a;this.D.dj(e.x+(f?g+4+a:c),e.y-a)}}};D.wd=function(){this.update()};D.Dj=function(){return this.D&&FT(this.D)?(this.D.focus(),!0):!1};D.Ch=function(){return!!this.D&&FT(this.D)};D.Ol=function(){return this.D!=null&&this.D.Ah()};D.scroll=r();D.hm=r();D.bm=r();D.Om=r();function n7i(a,c){nF.call(this,c,a)}var o7i={};H(n7i,gH);function p7i(a,c){Su(o7i,a,c)};function q7i(){}H(q7i,fH);q7i.prototype.D=function(a){return new r7i(a)};function r7i(a){s7i();nF.call(this,nCg,a)}var t7i;H(r7i,gH);r7i.prototype.Vc=function(){var a=this.getContext().ub(),c=Wbe(a);c&&(Mkc(a.Aa(),a.hb().getSelection(),5)?qF(this,new r5h(this.getContext())):(qF(this,HG(this.getContext(),[new Yv(c.start,c.end)],null,null,!0)),pF(this,BC(tC(Ln(c.start))),!0)))};function s7i(){s7i=r();t7i=new q7i};function u7i(a,c,e){nF.call(this,c,a);this.H=e}H(u7i,n7i);
u7i.prototype.Vc=function(){var a=this.getContext().ub(),c=a.Aa(),e=a.hb(),f=xA(c.Xa());a=qF(this,new uH(this.getContext(),"\n\uefff\n\ueffe\n")).D;var g=a+1|0,h={autogen_type:this.H};oF(this,new EG(Boa,g,g,h));oF(this,new EG(ml,g,g+2|0,z2b().xd()));h=g-2|0;var k=c.Xa();h>1&&DA(k,h)&&(h={ts_fgc2:c.getStyle(ml,h).getValue(Gl).xd(),ts_fgc2_i:!1},oF(this,new EG(ml,g,g+2|0,h)));oF(this,new EG(Jj,g+1|0,g+1|0,Qnd(this.getContext())));oF(this,new EG(Jj,a+4|0,a+4|0,Qnd(this.getContext())));e.sW();e=a+2|0;
g=this.H;if(!(g in o7i))throw en("yS`"+g).Ea;qF(this,(0,o7i[g])(this.getContext(),e,{}));c=xA(c.Xa())-f|0;pF(this,BC(tC(a+c-3|0)),!0)};function v7i(){this.F=w7i()}H(v7i,fH);v7i.prototype.wp=function(){return this.F.F};v7i.prototype.vr=function(){return this.F.D};v7i.prototype.D=function(a){return new x7i(a)};function w7i(){return WS([],[3,5,6,7,8,14,19,17,18],Eth(Cth(["\ueffe","\uefff"]),[Boa]).oa())};function x7i(a){y7i();u7i.call(this,a,BEg,1)}H(x7i,u7i);function y7i(){y7i=r();new v7i};function z7i(a,c){this.D=a;this.wa=c;this.va=new gC}H(z7i,BG);z7i.prototype.H=function(){var a=this.wa,c=A7i(this);if(Mt(c))jF(this,gR(this.getContext(),"Add headings (Format > Paragraph styles) and they will appear in your table of contents.\n",tC(a))),a=a+88|0,jF(this,new CG(this.getContext(),Jj,Qnd(this.getContext()),a,a,!0));else{var e=Ifi(c);this.R(a,c,e)}};function B7i(a,c,e){e=Efi(a.getContext(),e,!0);jF(a,new CG(a.getContext(),Jj,e,c,c,!0))}
function A7i(a){var c=a.getContext().ub(),e=Ffi(c,a.va,null);c=c.Aa();for(var f=0;f<e.length;f=f+1|0)if(!xB(e[f].getStyle())){var g={};av(g,T7a,kF("h"));jF(a,DG(a.getContext(),Jj,g,e[f].hc(),e[f].hc()));g=e;var h=f,k=new gJd(c.getStyle(Jj,e[f].hc()),e[f].Ic(),e[f].hc());g[h]=k}return e};function C7i(a,c,e,f,g,h,k){z7i.call(this,a,c);this.W=e;this.ea=f;this.O=g;this.V=h;this.J=k}H(C7i,z7i);
C7i.prototype.R=function(a,c,e){for(var f=[],g=[],h=[],k=this.getContext().ub().Aa(),l=this.V.D(tC(a)),p={ts_bd:!0,ts_bd_i:!1},q=$u(this.W,"preSty"),u=0;u<c.length;u=u+1|0){var w=c[u],y=rG(k,w.hc()),z=""+this.O.ys(tC(y)).F;h.push(z);y=w.Ic();y=wnb(y,"\t"," ");y=M(y)+("\t"+M(z));var A=w.getStyle();z=a+y.length|0;u<(c.length-1|0)&&(y=M(y)+"\n");jF(this,gR(this.getContext(),y,tC(a)));var C=jVg(BZe(this.J,xB(A),null));this.F(new EG(Li,a,a+w.Ic().length-1|0,C));w=vmh(wB(A));g.push((w-e|0)==1);g[u]&&this.F(new EG(ml,
a,z-1|0,p));B7i(this,z,w-e|0);jF(this,new CG(this.getContext(),Jj,Lfi(l,Ln((J4b(),V4b).Gb)),z,z,!0));q&&$u(q,xB(A))&&(w=$u(q,xB(A)))&&this.F(new EG(ml,a,z,w));a=a+y.length|0;f.push(u==(c.length-1|0)?a:a-1|0);this.F(new EG(Jj,+f[u]|0,+f[u]|0,Kfi(u,c,g[u])))}this.ea.Taa();c=A7i(this);for(e=a=0;e<c.length;e=e+1|0)l=rG(k,c[e].hc()),l=""+this.O.ys(tC(l)).F,u=(+f[e]|0)+a|0,q=u-h[e].length|0,y=[],y.push(new Yv(q,u-1|0)),jF(this,HG(this.getContext(),y,!1,!0,!0)),jF(this,gR(this.getContext(),l,tC(q))),u=this.J,
y=xB(c[e].getStyle()),u=BZe(u,y,null),this.F(new EG(Li,q,q+l.length-1|0,jVg(u))),g[e]&&this.F(new EG(ml,q,q+l.length-1|0,p)),a=a+(l.length-h[e].length)|0};function D7i(){this.F=w7i()}H(D7i,fH);D7i.prototype.D=function(a){return new E7i(a)};D7i.prototype.wp=function(){return this.F.F};D7i.prototype.vr=function(){return this.F.D};function E7i(a){F7i();u7i.call(this,a,HEg,0)}H(E7i,u7i);function F7i(){F7i=r();new D7i};function G7i(a,c,e,f){z7i.call(this,a,c);this.O=e;this.J=f}H(G7i,z7i);
G7i.prototype.R=function(a,c,e){for(var f=$u(this.J,"preSty"),g=0;g<c.length;g=g+1|0){var h=c[g],k=h.Ic(),l=h.getStyle();h=a+k.length|0;g<(c.length-1|0)&&(k=M(k)+"\n");jF(this,gR(this.getContext(),k,tC(a)));var p=jVg(BZe(this.O,xB(l),null));this.F(new EG(Li,a,h-1|0,p));p=this.getContext().F.D();jF(this,new CG(this.getContext(),ml,p,a,h,!0));p=vmh(wB(l));B7i(this,h,p-e|0);f&&$u(f,xB(l))&&(l=$u(f,xB(l)))&&this.F(new EG(ml,a,h,l));this.F(new EG(Jj,h,h,Kfi(g,c,(p-e|0)==1)));a=a+k.length|0}};function H7i(a){this.H=w7i();this.F=a}H(H7i,fH);H7i.prototype.D=function(a){return new I7i(a,this.F)};H7i.prototype.vr=function(){return this.H.D};function I7i(a,c){nF.call(this,IEg,a);this.H=c}H(I7i,gH);I7i.prototype.Vc=function(a){var c=this.getContext(),e=a.H;c=qF(this,new u5h(this.getContext(),c.R,Cfi(e,this.getContext()),null)).yb();Ffi(this.getContext().ub(),new gC,O(c)).length>0&&e!==gMg&&(a.D.Taa(),a=new J7i(this.getContext(),a.F,this.H,c),qF(this,a))};function K7i(a,c,e){this.H=a;this.F=c;this.D=e}H(K7i,K);function J7i(a,c,e,f){this.D=a;this.R=c;this.O=e;this.J=f;this.V=new gC}H(J7i,BG);
J7i.prototype.H=function(){var a=this.getContext().ub(),c=a.Aa(),e=Ekc(c.Xa(),this.J+1|0),f=c.getStyle(kh,this.J).D;a=Ffi(a,this.V,O(this.J));e=Hsh(this.getContext().ub().Aa(),new Yv(this.J,e-1|0));if(!Mt(a)&&!It(e))for(var g=0,h=this.J+1|0,k=f.D?Ifi(a):0,l=0;l<a.length;l=l+1|0){var p=a[l],q=p.getStyle(),u=vmh(wB(q))-k|0;if(!Z5g(f,u).D){p=rG(c,p.hc());p=""+this.R.ys(tC(p)).F;u=(+e[l]|0)+g|0;a:{for(var w=u,y=c.Xa(),z=w;z>=h;z=z-1|0)if(Jfc(y,z)==9){h=w-(z+1)|0;break a}h=0}w=u-h|0;y=[];y.push(new Yv(w,
u-1|0));jF(this,HG(this.getContext(),y,!1,!0,!0));jF(this,gR(this.getContext(),p,tC(w)));q=jVg(BZe(this.O,xB(q),null));this.F(new EG(Li,w,w+p.length-1|0,q));g=g+(p.length-h)|0;h=(+e[l]|0)+1|0}}};function L7i(a,c,e,f,g,h,k,l,p){fT.call(this,a);M7i(this,c,e,f,g,h,k,l,p)}H(L7i,fT);function M7i(a,c,e,f,g,h,k,l,p){a.ea=c;a.wa=k;a.Za=w7i();a.Sa=new N7i;a.W=e;a.J=f;a.Ja=g;a.za=h;a.Ua=l;a.Na=p;p7i(1,function(q,u,w){y7i();return new C7i(q,u,w,e,f,g,h)});p7i(0,function(q,u,w){F7i();return new G7i(q,u,h,w)})}D=L7i.prototype;D.Wq=function(a){var c=this,e=new r_h(this.ea,function(){return c.ea},new O7i);NE(a,e);this.xa(e)};
D.ye=function(a,c,e){var f=this,g=[wj,jd,bl,this.H.H(16)],h=new H7i(this.za);IE(IE(IE(IE(IE(IE(IE(IE(IE(IE(IE(a,LE(UE(e,h).F(IFg,new K7i(gMg,this.J,this.W)),g.concat([Eg]))),LE(UE(e,h).F(KFg,new K7i(gMg,this.J,this.W)),g.concat([vSa,AQ]))),LE(UE(e,h).F(uFg,new K7i(MOg,this.J,this.W)),g.concat(this.wa).concat([Eg]))),LE(ME(UE(e,(P7i(),Q7i)),aIg,function(){var k=sJ(f.ea.Aa())&&f.Na.Ha(TCg)?Ofi(!0):null;return new R7i(!1,!1,k)}),[o6f,bl].concat(this.wa))),LE(HR(UE(e,(s7i(),t7i)),uCg),[o6f,bl])),LE(UE(e,
h).F(JFg,new K7i(ipg,this.J,this.W)),g.concat(this.wa).concat([Eg]))),KE(LE(ME(UE(e,Q7i),VAg,function(k){a:switch(k){case MOg:k=MOg;break a;case gMg:k=gMg;break a;case ipg:k=ipg;break a;default:throw Lzb("Invalid QuickLayoutStyleType enum constant").Ea;}k=Cfi(k,f.Ua);return new R7i(!0,!1,k)}),[Zk,o6f]))),KE(LE(ME(UE(e,Q7i),MDg,function(k){k=Ofi(!k);return new R7i(!1,!1,k)}),[Zk,o6f]))),KE(LE(ME(UE(e,Q7i),NDg,function(k){var l=ku(k);k=yv(vv(),JWa,5);yv(k,Wcb,l);if(l!=0)for(l=1;l<=6;l=l+1|0){var p=
vv();xR(p,ndb,!1);Av(k,Dmh(l),p.oa())}k=k.oa();return new R7i(!1,!1,k)}),[Zk,o6f]))),KE(LE(UE(e,Q7i).D(OKg),[Zk,o6f]))),KE(LE(UE(e,Q7i).F(jFg,new R7i(!1,!0,null)),[o6f,Zk])));IR(c,c.qa(KJg),OE([Eg]));IR(c,c.qa(IFg),OE([Eg]));IR(c,c.qa(uFg),OE([Eg]));IR(c,c.qa(JFg),OE([Eg]));IR(c,c.qa(KFg),OE([vSa]));d8g(e);FR(a,KJg,[IFg,uFg,JFg])};D.hra=function(a){var c=this.ea,e=this.za,f=this.J,g=this.Ja,h=this.lb();S7i();var k=new T7i;k.D=c;k.J=e;k.O=f;k.F=g;k.H=h;k.R=new gC;Sbh(a,5,k)};
D.VC=function(a){$S(a,this.Za)};D.eJ=function(a){RR(a,14,this.Sa)};D.aS=function(a){SR(a,new uwh(new uOd(null)))};D.bz=function(a){aT(a,this.D,[uCg,IFg,KFg,uFg,aIg,JFg])};D.fb=function(){fT.prototype.fb.call(this);Vu(o7i,1);Vu(o7i,0)};function N7i(){}H(N7i,K);N7i.prototype.D=function(a,c){if(c.getType()!=0&&c.getType()!=6)return!1;c=a.og(c);return!!Zbe(a,c)};N7i.prototype.F=B(10);function T7i(){}var U7i;H(T7i,K);
T7i.prototype.getValue=function(a,c){zt(a.getType()==5);var e=new KS(this.H);e.R=YVb;for(var f in znh(),tnh)NS(e,f,Cv((znh(),tnh),f)());NS(e,Mi,dnc());f=Ffi(this.D,this.R,oo(c));if(Mt(f))return MS(e,"Add headings (Format > Paragraph styles) and they will appear in your table of contents."),Dnh(e),e.oa();c=this.F.D(tC(oo(c).yb()));for(var g=a.D?Ifi(f):0,h=0;h<f.length;h=h+1|0){var k=f[h],l=k.getStyle(),p=vmh(wB(l))-g|0,q;if(q=V7i(a,p)){var u=q.W;p=u.H.Hb(Vz);var w=u.D.Hb(Vz);u=k.Ic();u=u.replace(U7i,
" ");q.D||(q=this.D.Aa(),k=rG(q,k.hc()),k=this.O.ys(tC(k)).F,u=M(u)+("\t"+k),iv(w,Lfi(c,a.H)));l=jVg(BZe(this.J,xB(l),null));NS(e,Li,new Fdc(l));NS(e,Jj,new vB(w));l=z2b();l.Oc(p);NS(e,ml,l);MS(e,u);NS(e,Li,null);LS(e,!0)}}Co(e.Xa())&&(MS(e,"Make sure to select headings in the sidebar to see a table of contents."),Dnh(e));return e.oa()};function S7i(){S7i=r();U7i=RegExp("\t+","g")};function V7i(a,c){return(c=W7i(a,c))?Z5g(a,c.yb()):null}function W7i(a,c){c=Tbc(c);for(var e=1;e<=6;e=e+1|0){var f=Z5g(a,e);if(f.H&&(f=ly(f.O,","),Ot(f,c)))return O(e)}return null};function O7i(){}H(O7i,K);O7i.prototype.D=function(a){for(var c=new Kx,e=0;e<vZi.length;e++)c.put(vZi[e],!1);a&&(e=!!Wbe(a),c.put(o6f,e),c.put(m6f,!e),c.put(n6f,Myh(a)));return c};function X7i(a,c,e){this.D=a;this.O=c;this.J=e;this.R=new gC}H(X7i,BG);
X7i.prototype.H=function(){var a=this.getContext().ub(),c=a.Aa(),e=Ekc(c.Xa(),this.J+1|0),f=c.getStyle(kh,this.J).D;a=Ffi(a,this.R,O(this.J));a=oXg(a,Mzb(function(k){k=V7i(f,wB(k.getStyle()));return!(!k||!k.H)}));if(!Mt(a)){e=Hsh(this.getContext().ub().Aa(),new Yv(this.J,e-1|0));At(a.length==e.length,"AS");c=this.J+1|0;for(var g=0;g<a.length;g=g+1|0){var h=a[g];Co(Qo(h.Ic()))||(h=xB(h.getStyle()),$u(this.O,h)&&(h=$u(this.O,h))&&this.F(new EG(ml,c,(+e[g]|0)-1|0,h)),c=(+e[g]|0)+1|0)}}};function Y7i(){}H(Y7i,fH);Y7i.prototype.D=function(a){return new Z7i(a)};function Z7i(a){P7i();nF.call(this,zKg,a)}var Q7i;H(Z7i,gH);
Z7i.prototype.Vc=function(a){var c=this.getContext().ub(),e=c.Aa(),f=Wbe(c);if(f){if(a.F){var g=c.hb().getSelection(),h=M(yWi(1))+"\n",k=fw(f)+1|0;qF(this,gR(this.getContext(),h,tC(k)));pF(this,BC(tC(k)),!1);h=Cah(this.getContext(),1,!0);qF(this,h);pF(this,g,!1)}g=a.H;a=a.D;if(h=Xbe(c)){h=Oyh(f,e.Xa());e=e.Xa();c=h;f=ew(c);k=fw(c);c=Mfi(this.getContext(),f,k);h=sOd(this.getContext().ub().Aa().getStyle(Boa,f))==1?MOg:gMg;var l=k;AA(e,k+1|0)&&(l=k+1|0);qF(this,HG(this.getContext(),[new Yv(f,l)],null,
null,!0));pF(this,BC(tC(f-1|0)),!0);f=this.getContext();h=Cfi(h,this.getContext());g&&(a?h=g:Qyh(h,g));g=qF(this,new u5h(this.getContext(),f.R,h,null)).yb();a||(a=new X7i(this.getContext(),c,g),qF(this,a));a=Ekc(e,g);pF(this,BC(tC(a-1|0)),!0)}else if(h=Mkc(e,c.hb().getSelection(),5))f=ew(h),h=Mfi(this.getContext(),f,fw(h)),g&&(a||(c=IC(c.Aa(),f).Hb(Vz),Qyh(c,g),g=c),qF(this,DG(this.getContext(),kh,{flds_f:g},f,f))),g=this.getContext(),g=v5h(this.getContext(),g.R,f,null),qF(this,g),a||(a=new X7i(this.getContext(),
h,f),qF(this,a)),a=e.Xa(),a=Ekc(a,f),pF(this,BC(tC(a-1|0)),!0)}};function P7i(){P7i=r();Q7i=new Y7i};function R7i(a,c,e){this.D=a;this.F=c;this.H=e}H(R7i,K);function $7i(a,c,e,f,g,h,k,l,p,q,u){L7i.call(this,a,c,f,h,k,l,[],q,u);this.Da=g;this.Ca=p;this.Fa=e}H($7i,L7i);$7i.prototype.Td=function(a){L7i.prototype.Td.call(this,a);var c=a.F;a.J.Ze(TJg,[new d7i(c)]);var e=a.O;e&&(e.Xj(c.qa(uCg)),e.Xj(c.qa(IFg)),e.Xj(c.qa(KFg)),e.Xj(c.qa(uFg)),e.Xj(c.qa(JFg)),e.Xj(c.qa(aIg)));c=new m7i(a.getContext().D,a.getContext().kb(),a.H,a.F,this.Da,this.Ca,this.Fa);this.xa(c);a.D.register(VZa,c)};function a8i(){var a=[{name:mXf,code:"af"},{name:"Albanian",code:"sq"},{name:"Amharic",code:vc},{name:"Arabic",code:Hna},{name:wXf,code:"hy"},{name:"Azerbaijani",code:"az"},{name:"Basque",code:"eu"},{name:"Belarusian",code:bpa},{name:"Bengali",code:mpa},{name:"Bosnian",code:"bs"},{name:"Bulgarian",code:Oc},{name:e2f,code:"my"},{name:"Catalan",code:ed},{name:"Cebuano",code:"ceb"},{name:fYf,code:QQ},{name:gYf,code:oUg},{name:BYf,code:"co"},{name:"Croatian",code:Kh},{name:"Czech",code:Xbg},{name:"Danish",
code:He},{name:"Dutch",code:uNg},{name:CZf,code:Vg},{name:JZf,code:"eo"},{name:"Estonian",code:eh},{name:"Finnish",code:eWa},{name:"French",code:th},{name:"Frisian",code:"fy"},{name:"Galician",code:"gl"},{name:q_f,code:$Ya},{name:"German",code:Pe},{name:"Greek",code:Rg},{name:C_f,code:yh},{name:G_f,code:"ht"},{name:"Hawaiian",code:"haw"},{name:"Hausa",code:"ha"},{name:"Hebrew",code:"iw"},{name:"Hindi",code:Dh},{name:"Hmong",code:"hmn"},{name:"Hungarian",code:"hu"},{name:"Icelandic",code:FYa},{name:"Igbo",
code:"ig"},{name:"Indonesian",code:Wh},{name:"Irish",code:"ga"},{name:"Italian",code:hi},{name:"Japanese",code:SYa},{name:t0f,code:"jw"},{name:"Kannada",code:Ei},{name:"Kazakh",code:"kk"},{name:"Khmer",code:"km"},{name:"Korean",code:w2a},{name:"Kurdish",code:"ku"},{name:"Kyrgyz",code:"ky"},{name:"Laotian",code:"lo"},{name:"Latin",code:"la"},{name:"Latvian",code:"lv"},{name:"Lithuanian",code:"lt"},{name:"Luxembourgish",code:"lb"},{name:"Macedonian",code:fNg},{name:Z0f,code:"mg"},{name:"Malay",code:g5a},
{name:$0f,code:dj},{name:"Maltese",code:"mt"},{name:"Maori",code:"mi"},{name:"Marathi",code:mj},{name:n1f,code:"mn"},{name:"Nepali",code:pj},{name:"Norwegian",code:sj},{name:"Chichewa",code:"ny"},{name:"Pashto",code:"ps"},{name:"Persian",code:fh},{name:"Polish",code:GOg},{name:"Portuguese",code:hk},{name:"Punjabi",code:Ij},{name:"Romanian",code:yvf},{name:"Russian",code:E9a},{name:c4f,code:"sm"},{name:"Scots Gaelic",code:"gd"},{name:"Serbian",code:Qk},{name:"Sesotho",code:Bab},{name:"Shona",code:"sn"},
{name:"Sindhi",code:d$a},{name:"Sinhala",code:Jk},{name:"Slovak",code:CQ},{name:"Slovenian",code:HQg},{name:"Somali",code:"so"},{name:"Spanish",code:FVa},{name:"Sundanese",code:"su"},{name:"Swahili",code:"sw"},{name:"Swedish",code:"sv"},{name:d_f,code:"tl"},{name:"Tajik",code:"tg"},{name:"Tamil",code:fl},{name:"Telugu",code:hcb},{name:"Thai",code:HQ},{name:"Turkish",code:zl},{name:"Ukrainian",code:Nl},{name:"Urdu",code:"ur"},{name:"Uzbek",code:"uz"},{name:"Vietnamese",code:Yl},{name:"Welsh",code:"cy"},
{name:"Xhosa",code:"xh"},{name:"Yiddish",code:"yi"},{name:"Yoruba",code:"yo"},{name:"Zulu",code:"zu"}],c=Bhi();a.sort(function(e,f){return c(e.name,f.name)});return a};function b8i(a,c){var e=a.WAd,f=a.pGd,g=a.JJd;a=uO+V("uUvLjb")+JN+V(B2f)+":"+V(d7f)+qVf+V(d7f)+";"+V(mk)+":"+V(pQ)+TN;a=a+'Create a translated copy of the current document</div><div class="'+(V(CLg)+da);a+=LV(c,"New document title",void 0,void 0,void 0,uPg,"kixTranslateDialogTitleInput",void 0,void 0,void 0,void 0,void 0,"Translated copy of "+e);a+=Ha+V(CLg)+da;e="";for(var h=g.length,k=0;k<h;k++){var l=g[k];e+=PV(l[0],l[1])}g=""+qni(U(e),"Languages",void 0,void 0,void 0,!0);a+=sni(c,U(g),f,void 0,
void 0,void 0,void 0,void 0,"hhB0V",void 0,"kixTranslateDialogLanguageSelect");a+=fO;c=""+RV(void 0,"Translate",!0);c=""+KV(U(a),r6f,void 0,U(c));return U(c)};function c8i(a,c,e,f){fT.call(this,a);this.J=c;this.ea=e;this.W=f}H(c8i,fT);c8i.prototype.ye=function(a,c,e){var f=this,g=[oQ,JNg],h=g.concat([DE(2,0),$T(),kQ,GP,Vtg,Pag]);EE(a,LE(KE(QE(e,function(){return d8i(f)}).D(iKg)),h));(a=c.Lb(iKg))&&IR(c,a,OE(g.concat([bl])))};
function d8i(a){var c=a8i();c=e8i(c);var e=a.W,f=e.openDialog,g=a.J.Wb();f.call(e,b8i,{WAd:g,pGd:"Choose a language",JJd:c},function(h){if(h.Xd==Cj){var k=h.Hl;h=a.J.D;var l=a.ea,p=a.lb();k={title:k.uaa,lang:k.languageCode};for(var q in l.D)k[q]=String(l.D[q]);q=kch(g9d(lch(u9d(window.location.href,p),h),Dg),k).oa(Bdb);DK(q,{target:ic})}})}function e8i(a){for(var c=[],e=0;e<a.length;e++){var f=a[e];c.push([f.name,f.code])}return c};function f8i(a,c){EYh.call(this,a,c)}H(f8i,EYh);function g8i(){}H(g8i,fH);g8i.prototype.D=function(a){return new h8i(a)};function h8i(a){i8i();GYh.call(this,a)}var j8i;H(h8i,GYh);
h8i.prototype.Vc=function(a){GYh.prototype.Vc.call(this,a);a=a.F;if(h8a in a){var c=a.ps_ltr,e=this.getContext().ub(),f={};f.tbls_ltr=c;c=D_g(e);for(e=0;e<c.length;e++){var g=c[e];qF(this,DG(this.getContext(),ll,f,g,g))}f=this.getContext().ea;if(!f||!f.xg()){a=a.ps_ltr;f=this.getContext().ub();g=f.Aa();var h=f.hb().getSelection();f={};f.css_ltr=a;c=g.Xa();e=h.D;if(e.length==0)e=g.og(h.zc),c=e>zA(c,0)?[]:[gZb(c,e)];else{g=pu(UBb);for(h=0;h<e.length;h++){for(var k=e[h],l=c.H("\ue905",O(ew(k)),O(fw(k))),
p=0;p<l.length;p++)ou(g,O(l[p]));k.start<=zA(c,0)&&ou(g,O(gZb(c,ew(k))))}c=qXg(mu(g))}for(e=0;e<c.length;e++)