d list | toggle numbered list | start numbered list"),"editors-ia-list-numbered").oa();ZE(a,Bmg).label(QXf).Ia(41119).hint(QXf).oa();ZE(a,wng).label("Bullet styles").Ia(722).hint("Bullet styles").oa();ZE(a,Ang).label("More bullets").Ia(725).hint("More bullets").mc("custom | list | glyphs ||").oa();ZE(a,yng).label(yZf).Ia(742).hint(yZf).mc("bullet | list | numbered | custom |").oa();ZE(a,
vmg).Ia(741).oa();ZE(a,wmg).Ia(747).oa();nSc(a,vng);ZE(a,Bog).label(o4f).Ia(745).hint(o4f).key(cy(["E","I"],Vb)).mc(yTh()).Jg(!0).category(Ub).oa();ZE(a,Dog).label(p4f).Ia(746).hint(p4f).key(cy(["E","O"],Vb)).mc(yTh()).Jg(!0).category(Ub).oa();ZE(a,Cog).label(o4f).Ia(41111).category(Ub).oa();ZE(a,Eog).label(p4f).Ia(41112).category(Ub).oa();Xx(ZE(a,nog).label("Paragraph Indent First Line").Ia(41057).hint("Set paragraph first line indent"),function(c,e){En(e)&&Qq(c.D,5,e)}).oa()}
function zTh(a){Yx(ZE(a,log).label(Z_f).Ia(154).hint(Z_f),Lpg,!0).key("Ctrl+close-square-bracket").mc("tab | increase paragraph indent |||").category(dP).oa();Yx(ZE(a,qog).label(WYf).Ia(157).hint(WYf),"editors-ia-indent-decrease",!0).key("Ctrl+open-square-bracket").mc("decrease paragraph indent | unindent | outdent | dedent |").category(dP).oa();Xx(ZE(a,pog).label("Paragraph Indent Start").Ia(156).hint("Set paragraph start indent"),function(c,e){if(e){var f=e.ps_ifl;f!=null&&Qq(c.D,5,f);e=e.ps_il;
e!=null&&Qq(c.D,6,e)}}).oa();Xx(ZE(a,mog).label("Paragraph Indent End").Ia(155).hint("Set paragraph end indent"),function(c,e){e!=null&&Qq(c.D,7,e)}).oa();$x(ZE(a,tog).label("Paragraph styles").Ia(160),Jpg).oa();$x(YE(a,dog,cog).label(lda).Ia(149).hint("Centre align"),"editors-ia-align-center").key("Ctrl+Shift+E").value(O(1)).Ae("Centre align text").mc("align centre | centre alignment | centre align ||").category(dP).Lba(!1).oa();$x(YE(a,eog,cog).label("Justified").Ia(150).hint("Justify"),Jpg).key("Ctrl+Shift+J").value(O(3)).Ae("Justify text").mc("align justified | justified alignment | justify ||").category(dP).Lba(!1).oa();
$x(YE(a,fog,cog).label(yb).Ia(151).hint("Left align"),"editors-ia-align-left").key("Ctrl+Shift+L").value(O(0)).Ae("Left align text").mc("align left | left alignment | left align ||").category(dP).Lba(!1).oa();$x(YE(a,hog,cog).label(Mb).Ia(153).hint("Right align"),"editors-ia-align-right").key("Ctrl+Shift+R").value(O(2)).Ae("Right align text").mc("align right | right alignment | right align ||").category(dP).Lba(!1).oa();ZE(a,lng).label($_f).Ia(41064).mc("indent | hanging | first line ||").oa();ZE(a,
oog).Ia(41065).oa();Yx(ZE(a,gog).label("Align and indent").Ia(152),Lpg,!0).oa();nSc(a,cog)}
function ATh(a){Xx(ZE(a,ing).label(Z4f).Ia(200).hint(Z4f),function(f,g){yn(g)&&Nq(f.D,8,ku(g))}).oa();for(var c=[],e=0;e<=6;e=e+1|0)Au(c,e,["Ctrl+Alt+"+e,"Ctrl+Alt+Num-"+e]);Wx(YE(a,bng,ang).label("Apply 'Normal text'").value(0).Ia(193).hint(E4f).keys(c[0]).category(dP),(Ox(),vy),!0).oa();Wx(YE(a,cng,ang).label("Apply 'Heading 1'").value(1).Ia(194).hint(E4f).keys(c[1]).mc("apply header 1 | apply h1 |||").category(dP),vy,!0).oa();Wx(YE(a,dng,ang).label("Apply 'Heading 2'").value(2).Ia(195).hint(E4f).keys(c[2]).mc("apply header 2 | apply h2 |||").category(dP),
vy,!0).oa();Wx(YE(a,eng,ang).value(3).label("Apply 'Heading 3'").Ia(196).hint(E4f).keys(c[3]).mc("apply header 3 | apply h3 |||").category(dP),vy,!0).oa();Wx(YE(a,fng,ang).label("Apply 'Heading 4'").value(4).Ia(197).hint(E4f).keys(c[4]).mc("apply header 4 | apply h4 |||").category(dP),vy,!0).oa();Wx(YE(a,gng,ang).label("Apply 'Heading 5'").value(5).Ia(198).hint(E4f).keys(c[5]).mc("apply header 5 | apply h5 |||").category(dP),vy,!0).oa();Wx(YE(a,hng,ang).label("Apply 'Heading 6'").value(6).Ia(199).hint(E4f).keys(c[6]).mc("apply header 6 | apply h6 |||").category(dP),
vy,!0).oa();Wx(YE(a,kng,ang).label("Apply 'Title'").value(100).Ia(321).hint(E4f).mc("apply title style ||||"),vy,!0).oa();Wx(YE(a,jng,ang).label("Apply 'Subtitle'").value(101).Ia(322).hint(E4f).mc("apply subtitle style ||||"),vy,!0).oa();Wx(YE(a,"docstext-heading-small-text",ang).label("Apply 'Small text'").value(102).Ia(41074).hint(E4f).mc("apply small text style ||||"),vy,!0).oa();nSc(a,ang)}
function BTh(a){ZE(a,Dng).Ia(138).key(dy?HYf:"Alt+Shift+Down").Jg(!0).oa();ZE(a,Eng).Ia(139).key(dy?IYf:"Alt+Shift+Up").Jg(!0).oa()}function CTh(a){var c=ZE(a,Jng).label(w1f).Ia(1112).hint(w1f).key(ey(["N","W"])).Jg(!0).category(Cb);c.mc.call(c,"go to next formatting change ||||").oa();a=ZE(a,Kng).label(K1f).Ia(1113).hint(K1f).key(ey(["P","W"])).Jg(!0).category(Cb);a.mc.call(a,"go to previous formatting change ||||").oa()}
function DTh(a){var c=YE(a,Tog,kog);c=c.label.call(c,"Left-to-right text").Ia(163);$x(c.hint.call(c,"Set text direction to left-to-right."),"text-ltr").value(!0).mc(ETh()).oa();c=YE(a,Uog,kog);c=c.label.call(c,"Right-to-left text").Ia(164);$x(c.hint.call(c,"Set text direction to right-to-left."),"text-rtl").value(!1).mc(ETh()).oa();nSc(a,kog)}
function FTh(a){ZE(a,ong).label("Line spacing").Ia(1199).mc("set line spacing | paragraph spacing | change line spacing ||").oa();Xx(ZE(a,Kmg).Ia(751),function(c,e){e!=null&&d8a in e&&Qq(c.D,10,e.ps_ls)}).oa();ZE(a,Lmg).label(NYf).Ia(752).hint(NYf).Ae("Custom line and paragraph spacing").mc("custom line spacing | custom paragraph spacing |||").oa();YE(a,png,ong).label(LYf).Ia(755).hint(LYf).Ae("Line spacing: Custom").mc("custom spacing | custom space |||").oa();YE(a,qng,ong).label(gZf).Ia(131).hint("Double spaced").value(2).Ae("Line spacing: Double").mc("double spacing | double space |||").category(dP).oa();
YE(a,sng,ong).label("1.5").Ia(133).hint("1.5 lines spaced").value(1.5).Ae("Line spacing: 1.5").mc(QLg).oa();YE(a,tng,ong).label("1.15").Ia(134).hint("1.15 lines spaced").value(1.15).Ae("Line spacing: 1.15").mc(QLg).oa();YE(a,ung,ong).label("Single").Ia(135).hint("Single spaced").value(1).Ae("Line spacing: Single").mc("single spacing | single space |||").oa();Xx(Yx(ZE(a,rng).label(J0f).Ia(132).hint(J0f),"editors-ia-line-spacing",!0),function(c,e){yn(e)&&(e=ju(e),Qq(c.D,10,e))}).oa();nSc(a,ong)}
function GTh(a){ZE(a,sog).label(D3f).Ia(159).hint(D3f).mc(QLg).oa();ZE(a,rog).label(C3f).Ia(158).hint(C3f).mc(QLg).category(dP).oa()}
function HTh(a,c,e){var f=gk in e?e.ps_sb:0,g=fk in e?e.ps_sa:0,h=!1;c&&(h=c.Aa(),c=c.hb().Bh(),Auh(h,c,!0)||(f=0),Auh(h,c,!1)||(g=0),h=fG(h,c));var k=a.Lb(sog);k&&(f>0?(f=h?"Remove space before list item":D3f,c=0):(f=h?"Add space before list item":"Add space before paragraph",c=10),k.Nr((Ox(),Sx),f),k.Nr(Tx,c));if(k=a.Lb(rog))g>0?(f=h?"Remove space after list item":C3f,c=0):(f=h?"Add space after list item":"Add space after paragraph",c=10),k.Nr((Ox(),Sx),f),k.Nr(Tx,c);g=wmh(e);e=g!=null?Wv(g*100)/
100:0;(h=a.Lb(ong))&&e!=0&&h.setValue(e);if(a=a.Lb(png))h=g!=null&&!(e==1||e==1.15||e==1.5||e==2),a.Ab(h,null),a.Ka(h),h&&(a.setValue(g),g=a.Nr,h=(Ox(),Sx),g.call(a,h,"Custom: "+e))}function ITh(a){a=[a.Lb(ung),a.Lb(tng),a.Lb(sng),a.Lb(qng),a.Lb(png),null,a.Lb(sog),a.Lb(rog),null,a.Lb(Lmg)];var c=[O(83),O(49),O(53),O(68),O(77),null,O(66),O(65),null,O(67)];Flh(a,c);return a}
function JTh(a,c){c=[a.Lb(c?hog:fog),a.Lb(dog),a.Lb(c?fog:hog),a.Lb(eog),null,a.Lb(log),a.Lb(qog)];Elh(a.Lb(fog),O(76));Elh(a.Lb(hog),O(82));Elh(a.Lb(dog),O(67));Elh(a.Lb(eog),O(74));Elh(a.Lb(log),O(73));Elh(a.Lb(qog),O(68));return c}function KTh(a,c){return[a.Lb(c?Uog:Tog),a.Lb(c?Tog:Uog)]}function LTh(a){var c=a.Lb(Uog);c&&c.Nr((Ox(),cLb),71);(a=a.Lb(Tog))&&a.Nr((Ox(),cLb),69)}
function MTh(a,c){var e=ZE(a,Rng);e=e.label.call(e,"Move to next misspelling").Ia(140).key(KYf);e.mc.call(e,"go to next misspelling | move to next misspelling |||").category(Cb).oa();e=ZE(a,Sng);e=e.label.call(e,"Move to previous misspelling").Ia(141).key(JYf);e.mc.call(e,"go to previous misspelling | move to previous misspelling |||").category(Cb).oa();e=ZE(a,Qog);var f=e.label;var g=c.Ha(vf)?"Spelling suggestions":"Show spelling suggestions";e=f.call(e,g).Ia(161).enabled(!0);e.mc.call(e,"grammar | check spelling |||").oa();
e=ZE(a,Rog);e.label.call(e,"Show spelling and grammar underlines").Ia(41132).enabled(!0).oa();e=ZE(a,Mog);f=e.label;g=c.Ha(vf)?"Grammar suggestions":"Show grammar suggestions";f.call(e,g).Ia(41068).enabled(!0).oa();e=ZE(a,Sog);f=e.label;g=c.Ha(vf)?"Wording suggestions":"Show word choice";f.call(e,g).Ia(41097).enabled(!0).oa();e=ZE(a,Nog);f=e.label;g=c.Ha(vf)?"Inclusiveness suggestions":"Show inclusiveness suggestions";f.call(e,g).Ia(41114).enabled(!0).oa();e=ZE(a,Log);f=e.label;g=c.Ha(vf)?"Conciseness suggestions":
"Show concise suggestions";f.call(e,g).Ia(41117).enabled(!0).oa();e=ZE(a,Pog);f=e.label;g=c.Ha(vf)?"Sentence split suggestions":"Show sentence splitting suggestions";f.call(e,g).Ia(41124).enabled(!0).oa();e=ZE(a,Oog);f=e.label;c=c.Ha(vf)?"Active voice suggestions":"Show voice suggestions";f.call(e,c).Ia(41116).enabled(!0).oa();c=ZE(a,Vog);c.label.call(c,"Turn off grammar suggestions").Ia(41069).enabled(!0).oa();a=ZE(a,Wog);a.label.call(a,"Turn off spelling suggestions").Ia(41131).enabled(!0).oa()}
function NTh(a){var c=ZE(a,Emg);c=c.label.call(c,"Title Case").Ia(41039);c.mc.call(c,"Capitalisation | Capitalise |||").oa();c=ZE(a,Cmg);c=c.label.call(c,"lower case").Ia(41040);c.mc.call(c,"Capitalisation ||||").oa();c=ZE(a,Fmg);c=c.label.call(c,"UPPER CASE").Ia(41042);c.mc.call(c,"Capitalisation | All caps |||").oa();a=ZE(a,Dmg);a.label.call(a,"Capitalisation").Ia(41041).oa()}function OTh(a){a=[a.Lb(Cmg),a.Lb(Fmg),a.Lb(Emg)];var c=[O(76),O(85),O(84)];Flh(a,c);return a}
function PTh(a){ZE(a,iog).Ia(41047).oa();a=ZE(a,jog);a=a.label.call(a,NXf).Ia(41048);a=a.hint.call(a,"Update borders and shading.");a.mc.call(a,"paragraph borders | paragraph shading |||").oa()}function QTh(a){ZE(a,fSa).Ia(47019).oa()};function yTh(){return"select checklist | select tick box | select bullet ||"}function ETh(){return"direction | reverse | bidirectional text | hebrew | arabic"};function RTh(a){a:{var c=a.Aa();a=a.hb().getSelection();a=Ish(c,a);if(a.length==0)c=null;else{for(var e=o5b(c.getStyle(Jj,+a[0]|0)),f=0;f<a.length;f++){var g=o5b(c.getStyle(Jj,a[f]));if(e!=g){c=null;break a}}c=O(e)}}return c}function STh(a){a=wmh(a);return a!=null?hM(a,2):null}function TTh(a){return(a=UTh(a))?bB(a)?O(3):$0b(a)?O(17):O(0):null}
function UTh(a){var c=a.Aa();a=pG(c,a.hb().getSelection());if(!msh(c,a))return null;for(var e=null,f=null,g=0;g<a.length;g++){e=a[g];if(!fG(c,e))return null;e=c.Eg(Mi,e);var h=c.Dd(MC(e));e=gG(h,NC(e));if(f!=null&&f!=X0b(e.D))return null;f=X0b(e.D)}return e}function VTh(a){var c=null;if(a=WTh(a))a=a.Kd,a.gH()&&(c=a.R);return c}function WTh(a){return TG(a.Aa(),a.hb().getSelection(),!0)};function XTh(a){var c=ZE(a,Fng).label(u1f);c.mc.call(c,"Go to next character | Move to next letter | Go to next letter | Move forwards a character | Go forwards a character").Ia(1977).hint(u1f).category(Cb).oa();c=ZE(a,Gng).label(I1f);c.mc.call(c,"Go to previous character | Move to previous letter | Go to previous letter | Move backwards a character | Go backwards a character").Ia(1978).hint(I1f).category(Cb).oa();c=ZE(a,Hng).label(Y1f);c.mc.call(c,"Go to the end of the document ||||").Ia(2511).hint(Y1f).category(Cb).oa();
c=ZE(a,Ing).label($1f);c.mc.call(c,"Go to the start of the document | Move to the beginning of the document | Go to the beginning of the document ||").Ia(2512).hint($1f).category(Cb).oa();c=ZE(a,Lng).label(q1f);c.mc.call(c,"Go down lines | Go to next line | Move to next line | Next line ||").Ia(2047).hint(q1f).category(Cb).oa();c=ZE(a,Mng).label(s1f);c.mc.call(c,"Go to end of line ||||").Ia(1974).hint(s1f).category(Cb).oa();c=ZE(a,Nng).label(V1f);c.mc.call(c,"Go to start of line | Go to beginning of line | Move to beginning of line | Home |").Ia(1975).hint(V1f).category(Cb).oa();
c=ZE(a,Ong).label(W1f);c.mc.call(c,"Go to start of next line | Move to the beginning of next line | Go to the beginning of next line ||").Ia(41138).hint(W1f).category(Cb).oa();c=ZE(a,Png).label(X1f);c.mc.call(c,"Go to start of previous line | Go to beginning of previous line | Move to beginning of previous line ||").Ia(41139).hint(X1f).category(Cb).oa();c=ZE(a,Qng).label(b2f);c.mc.call(c,"Go up line | Go to previous line | Move to previous line | Previous line |").Ia(2048).hint(b2f).category(Cb).oa();
c=ZE(a,Tng).label(Z1f);c.mc.call(c,"Go to the end of the paragraph ||||").Ia(2494).hint(Z1f).category(Cb).oa();c=ZE(a,Ung).label(F1f);c.mc.call(c,"Go to next paragraph | Move down paragraphs |Move down a paragraph | Go down a paragraph | Go down paragraphs").Ia(1971).hint(F1f).category(Cb).oa();c=ZE(a,Vng).label(T1f);c.mc.call(c,"Go to previous paragraph | Move up a paragraph |Move up paragraphs | Go up paragraphs | Go up a paragraph").Ia(1972).hint(T1f).category(Cb).oa();c=ZE(a,Wng).label(a2f);c.mc.call(c,
"Go to the start of the paragraph | Move to the beginning of the paragraph | Go to the beginning of the paragraph ||").Ia(2495).hint(a2f).category(Cb).oa();c=ZE(a,Xng).label("Scroll down");c.mc.call(c,"Go to next page | Next page | Page down | Move to next page | Go down a page").Ia(2110).hint("Scroll down").category(Cb).oa();c=ZE(a,Yng).label("Scroll up");c.mc.call(c,"Go to previous page | Previous page | Page up | Move to previous page | Go up a page").Ia(2111).hint("Scroll up").category(Cb).oa();
c=ZE(a,Zng).label(G1f);c.mc.call(c,"Go to next word | Next word | Move forwards a word | Go forwards a word |").Ia(1940).hint(G1f).category(Cb).oa();c=ZE(a,$ng).label(U1f);c.mc.call(c,"Go to previous word | Previous word | Move backward words | Go backward words | Go back words").Ia(1973).hint(U1f).category(Cb).oa();a=ZE(a,uog).label("Resume with");a.mc.call(a,"Go to | Move to |||").Ia(2497).hint("Resume with").category(Cb).oa()}
function YTh(a){var c=ZE(a,wog).label(q4f);c.mc.call(c,"Select next letter | Select next characters | Select next letters ||").Ia(1983).hint(q4f).category(Ub).oa();c=ZE(a,xog).label(v4f);c.mc.call(c,"Select last letters | Select last characters | Select previous letters | Select previous characters | Select last character").Ia(1984).hint(v4f).category(Ub).oa();c=ZE(a,yog).label(n4f);c.mc.call(c,"Select this line | Select current line |||").Ia(2065).hint(n4f).category(Ub).oa();c=ZE(a,zog).label(r4f);
c.mc.call(c,"Select line below | Select next lines |||").Ia(2051).hint(r4f).category(Ub).oa();c=ZE(a,Aog).label(w4f);c.mc.call(c,"Select lines above | Select previous lines | Select last line | Select last lines |").Ia(2052).hint(w4f).category(Ub).oa();c=ZE(a,Fog).label(u4f);c.mc.call(c,"Select this paragraph | Select current paragraph |||").Ia(2068).hint(u4f).category(Ub).oa();c=ZE(a,Gog).label(s4f);c.mc.call(c,"Select next paragraphs ||||").Ia(2107).hint(s4f).category(Ub).oa();c=ZE(a,Hog).label(x4f);
c.mc.call(c,"Select last paragraph | Select previous paragraphs | Select last paragraphs ||").Ia(2108).hint(x4f).category(Ub).oa();c=ZE(a,Iog).label("Select word");c.mc.call(c,"Select current word | Select this word |||").Ia(2189).hint("Select word").category(Ub).oa();c=ZE(a,Jog).label(t4f);c.mc.call(c,"Select next words ||||").Ia(1979).hint(t4f).category(Ub).oa();c=ZE(a,Kog).label(y4f);c.mc.call(c,"Select last words | Select previous words | Select last word ||").Ia(1980).hint(y4f).category(Ub).oa();
ZE(a,vog).label(l4f).Ia(2484).hint(l4f).category(Ub).oa();c=ZE(a,jSa).label("Multi-select");c.mc.call(c,"Make multiple selections | Select discontinuous text | Make more than one selection | Make discontinous selections | Select multiple sections of discontinous text").Ia(41095).hint("Multi-select").category(Ub).oa();c=ZE(a,Tmg).label(OZf);c.mc.call(c,"Expand selection by a character | Increment the selection |||").Ia(2517).hint(OZf).category(Ub).oa();c=ZE(a,Umg).label(SZf);c.mc.call(c,"Shrink selection by a character | Decrement the selection |||").Ia(2518).hint(SZf).category(Ub).oa();
c=ZE(a,Xmg).label(QZf);c.mc.call(c,"Expand selection by a paragraph ||||").Ia(2515).hint(QZf).category(Ub).oa();c=ZE(a,Ymg).label(UZf);c.mc.call(c,"Shrink selection by a paragraph ||||").Ia(2516).hint(UZf).category(Ub).oa();c=ZE(a,Zmg).label(RZf);c.mc.call(c,"Expand selection by a word ||||").Ia(2513).hint(RZf).category(Ub).oa();c=ZE(a,$mg).label(VZf);c.mc.call(c,"Shrink selection by a word ||||").Ia(2514).hint(VZf).category(Ub).oa();c=ZE(a,Vmg).label(PZf);c.mc.call(c,"Expand selection by a line ||||").Ia(41045).hint(PZf).category(Cb).oa();
c=ZE(a,Wmg).label(TZf);c.mc.call(c,"Shrink selection by a line ||||").Ia(41046).hint(TZf).category(Cb).oa();ZE(a,Mmg).label(ab).Ia(41036).hint(ab).category(fb).oa()};function ZTh(a){this.F=a}H(ZTh,K);ZTh.prototype.O=function(a){return LG(a)||lod(a)||a instanceof ILd};ZTh.prototype.D=function(a){return this.F.F(a)};ZTh.prototype.J=function(a){return this.D(a)?a.V.lgs_l||null:null};ZTh.prototype.H=function(a){return[new EG(Pk,0,xA(a.Xa())-1|0,SXb((lFd(),wFd)).xd())]};function $Th(){}H($Th,K);function aUh(a,c,e,f,g){this.F=!1;bUh(this,a,c,e,f,g)}H(aUh,tw);function bUh(a,c,e,f,g,h){a.D=c;a.J=e;a.O=f;a.R=g;a.H=h;c=new hx;a.xa(c);c.Pa(a.D.O,function(){cUh(a)});c.Pa(a.D.J,function(k){dUh(a,k.D)})}function cUh(a){var c=a.H.ir("awrosc"),e=a.J.filter(function(f){return f.Tta()});eUh(a,e);c.zv()}function dUh(a,c){var e=a.H.ir("awrof"),f=a.J.filter(function(g){return g.aY(c)});eUh(a,f);e.zv()}
function eUh(a,c){if(c.length!=0){var e=Hn((new aD).D()),f=a.D.CE();if(!(f<1)){for(var g=[],h=0;h<c.length;h=h+1|0)g.push(c[h].Sta());var k=fUh(a,g),l=new $Th;for(h=0;h<c.length;h=h+1|0)c[h].DCa(l);h=a.H.ir("awrsr");g=a.O.fetch(k,g);h.zv();g.addCallback(function(p){for(var q=a.H.ir("awrhr"),u=new gUh(f,k,(Hn((new aD).D())-e)*1E3,l),w=0;w<c.length;w=w+1|0)c[w].fH(p,u);q.zv()});yw(g,function(){for(var p=0;p<c.length;p=p+1|0)c[p].handleError();a.R.Db(30117,null)})}}}
function fUh(a,c){for(var e=a.D.CE()-1|0,f=a.D,g=f.Z4,h=a.D.CE()-1|0,k=!0,l=0;l<c.length;l++)k=!!(+k&+(c[l]===2));return g.call(f,Math.max(a.D.oya(),h-(k?49:999)|0),e)};function hUh(a,c){this.F=!1;this.J=a;this.W=c}H(hUh,tw);hUh.prototype.fetch=function(a,c){Ot(c,1)&&this.J.Db(30797,(new RC).Mb(this.W).oa());return iUh(this,a,c)};function jUh(a,c){this.D=a;this.F=c}H(jUh,K);jUh.prototype.getResponse=x("F");function gUh(a,c,e,f){this.J=a;this.H=c;this.D=e;this.F=f}H(gUh,K);gUh.prototype.getContext=x("H");function kUh(a,c,e,f,g){lUh(this,a,c,e,f,g)}H(kUh,K);function lUh(a,c,e,f,g,h){a.V=c;a.ea=e;a.W=f;a.R=g;a.J=h}kUh.prototype.createRequest=function(a,c,e){e=w5g(this.V,this.W,this.R,this.ea,this.J,e);y3g(e,a);this.H(e);this.F(e);a=new A3g;a.xm(e);Vq(a,2,c);return a};kUh.prototype.lb=x("J");function mUh(){}H(mUh,K);mUh.prototype.D=B(!1);mUh.prototype.F=B(null);function nUh(a,c,e,f,g,h,k,l){this.D=a;this.V=c;this.R=e;this.ea=f;this.va=g;this.W=h;this.J=k;this.O=l;(a=a.ub().Aa().getStyle(Mc,ew(c)))&&a.va!=null&&(this.R=a.va)}H(nUh,BG);
nUh.prototype.H=function(){var a=this.getContext().ub().Aa().eg(Mc);if(a.length>1){var c=+a[1]|0;a=(+a[2]|0)-1|0;jF(this,DG(this.getContext(),Mc,(kGd(),sGd).xd(),c,a))}c={};av(c,fma,this.R);av(c,dma,this.ea);c.ac_type=this.va;av(c,ema,kF(Mc));a=vv();this.W!=null&&xv(a,hoa,this.W);this.J!=null&&yv(a,ioa,this.J);this.O!=null&&zv(a,goa,this.O);a=a.oa();cv(c,gma,a);jF(this,DG(this.getContext(),Mc,c,ew(this.V),fw(this.V)))};function oUh(a,c){BR.call(this,5,c)}H(oUh,BR);function pUh(a,c,e,f,g,h,k){this.D=a;this.F=c;this.V=e;this.J=f;this.O=g;this.R=h;this.H=k}H(pUh,K);pUh.prototype.getType=x("V");function qUh(a){switch(a){case 0:return 1;case 1:return 7;case 2:return 6;default:throw Vm("lP`"+a).Ea;}}pUh.prototype.Va=function(a){return L(a,this)?!0:a instanceof pUh?L(this.D,a.D)&&L(this.F,a.F)&&go(this.V,a.getType())&&go(this.J,a.J)&&go(this.O,a.O)&&go(this.R,a.R)&&L(this.H,a.H):!1};function rUh(a,c){this.D=a;this.O=c}H(rUh,koh);rUh.prototype.El=function(){var a=this.V(),c=this.R();a&&FD(this,a);return c};function sUh(a,c,e){rUh.call(this,a,c);this.W=!1;this.F=e}H(sUh,rUh);sUh.prototype.V=function(){var a=this.getContext(),c=a.ub(),e=c.Aa().Xa();c=c.hb().Jd();this.J=e.slice(this.F,this.F);this.H=Po(this.J,(So(),Ro));c=c-2|0;if(c<0)return null;e=e.slice(this.F,c);if(s7g(this.O,e))return this.W=!0,null;c=M(this.H)+M(e.substr(1));return new nUh(a,new Yv(this.F,this.F+c.length-1|0),e,c,0,null,null,null)};
sUh.prototype.R=function(){if(this.W)return null;var a=new Yv(this.F,this.F);FD(this,j_g(this.getContext(),this.H,a));a=this.getContext().ub().hb().Jd()+(this.H.length-1)|0;ED(this,BC(tC(a)),!0);a=foh(1);return new oUh(this.J,a)};function tUh(a){uUh();YS.call(this,"autocap",new vUh(wUh,["\n","\t","\v"," "]),xG(0),yG([5,17]),!0,41024,[nMg]);this.F=a}var xUh={'"':!0,"'":!0,"\u2018":!0,"\u2019":!0,"\u201c":!0,"\u201d":!0},yUh;H(tUh,YS);tUh.prototype.D=function(a){return a.hb().getSelection().zc.getType()!=0?!1:zUh(this,a)};function AUh(a){var c=a.Aa().Xa();var e=a.Aa();var f=a.hb().Jd();e=jth(f-2|0,e);e=ew(e);for(a=a.hb().Jd();e<a&&c.slice(e,e)in xUh;e=e+1|0);return e}
tUh.prototype.AN=function(a,c,e){c=AUh(a.ub());return new sUh(a,e,c,this.F)};
function zUh(a,c){var e=c.Aa(),f=e.Xa(),g=c.hb().Jd()-2|0;g=jth(g,e);var h=f.slice(ew(g),fw(g)),k=a.F.Ha(ffg);a=a.F.Ha(Bfg);if(qQh(h,k,a)||sQh(h,a)||!Lo(Oo(h,(So(),Ro)),h)||(BUh(),CUh).exec(h))return!1;c=BA(f,AUh(c));Co(c)?a=!1:(a=c.charCodeAt(0),a=4256<=a&&a<=4351);if(a||Lo(c,Po(c,(So(),Ro))))return!1;for(g=ew(g)-1|0;g>=1&&DA(f,g);)if(c=BA(f,g),mZb(c)||c===" ")g=g-1|0;else break;if(g<1||!DA(f,g))return!0;c=BA(f,g);if(lZb(c))return!0;e=jth(g,e);f=f.slice(ew(e),fw(e));return DUh(f,yUh)}
function uUh(){uUh=r();yUh=Ny(EUh)};function FUh(a,c){this.F=a;this.D=c}var wUh=[CNa,KNa,LNa,yOa,Clg,Dlg];H(FUh,loh);function vUh(a,c){this.F="sp";this.D=a;this.H=Ny(c)}H(vUh,FUh);var EUh=["dr",mj,"mrs",g5a,"jr",Qk,"phd","sc","ic","avg","ger","lat","lit","sq",ai,"ft","km","m","gal","oz","lb","etc","eg","cf",eh,"al","ie","c",Bab,"mt","av","ave","rd",fsa,zl,"co","ltd","inc","jan",wqg,eQ,V9f,uAg,tAg,p$f,"sep",uQg,"oct",NNg,"dec","mo","mon","tu","tue","we","wed",HQ,"thu",th,"fri",H9a,"sat","su","sun",sj,"pron","feat","est","abbr","fem","colloq","approx","pop","ret","v","vs","e.g","i.e"];var GUh,HUh={".":!0,"!":!0,"?":!0},IUh,JUh,CUh;function KUh(a,c){if(By(c,Oo(a,(So(),Ro))))return!0;c=gy(a,0);return a.length<=4&&GUh.test(c)?!0:!1}
function DUh(a,c){BUh();if(a.length==0)return!1;a=a.replace(JUh,"");var e=gy(a,a.length-1|0);if(HUh[e]==null)return!1;e=Hj;for(var f="",g=0;g<a.length;g=g+1|0){var h=gy(a,g);HUh[h]!=null?(f.length>0&&(e=KUh(f,c)&&h==="."?Hj:"endSeen"),f=""):(f=M(f)+M(gy(a,g)),e=Hj)}if(Lo(gy(a,a.length-1|0),".")&&KUh(Cn(a,0,a.length-1|0),c))return!1;c=0;for(f=a.length-1|0;f>=0;f=f-1|0)if(Lo(gy(a,f),"."))c=c+1|0;else break;return c>0&&(c%3|0)==0?!1:e==="endSeen"}
function BUh(){BUh=r();JUh=RegExp("^['{\"\\(\\[\\u2018\\u201C]*");CUh=RegExp("[@#$%^&*<>/=()]");GUh=RegExp("^[A-Z]$");IUh=Ny(EUh)};function LUh(a,c,e,f,g){this.D=a;this.O=c;this.J=e;this.H=f;this.F=g}H(LUh,koh);
LUh.prototype.El=function(){var a=this.getContext().ub(),c=a.Aa(),e=c.Xa();a=a.hb().Jd()-2|0;a=jth(a,c);var f=e.slice(ew(a),fw(a)),g=1;if(this.H||this.F){var h=qQh(f,this.H,this.F);var k=h?h:nQh("")}else MUh(),h=NUh.exec(f),k=nQh(h?h[0]:"");h=k.D;k=k.F;L(h,k)||(g=4);if(!h){g=sQh(f,this.F);if(!g)return null;h=$mh(g);k=g;g=2}e=wA(e,k,ew(a));a.start=e;a.end=a.start+k.length-1;e=null;if(this.J){var l=h,p=c.Xa(),q=ew(a);e=fw(a)+1|0;var u=q-1|0;f=u-1|0;if(")"!==BA(p,e)||"("!==BA(p,u)||"]"!==BA(p,f))e=null;
else{q=Math.max(rG(c,q),q-100|0);u=1;for(c=f-1|0;c>=q;c=c-1|0){switch(BA(p,c)){case "[":u=u-1|0;break;case "]":u=u+1|0}if(u==0)break}c<q?e=null:(q=new Yv(c+1|0,f-1|0),l=OUh(this,q,p.slice(ew(q),fw(q)),l,3),FD(this,new Pnd(this.getContext(),[new Yv(c,c),new Yv(f,e)],[],!0)),e=l)}}!e&&this.O&&(e=OUh(this,a,k,h,g));return e};
function OUh(a,c,e,f,g){var h=jVg(f);FD(a,new PUh(a.getContext(),c,h,null));a=new by;c=new hKb;Sq(c,1,2);Sq(c,9,g);kq(a,hKb,113,c);g=vD((new RC).Mb(45),a).oa();return new QUh(e,f,g)};function QUh(a,c,e){BR.call(this,0,e);this.D=a;this.H=c}H(QUh,BR);QUh.prototype.Ic=x("D");QUh.prototype.getUrl=x("H");function PUh(a,c,e,f){this.D=a;this.O=!1;this.J=c;this.R=e;this.O=!0===f}H(PUh,BG);PUh.prototype.H=function(){var a=this.getContext().ub().Aa(),c=a.yp(Li,ew(this.J));a=a.getStyle(Li,c).Ni();c=c==fw(this.J)&&!!a;this.F(new EG(Li,ew(this.J),fw(this.J),this.R));c&&!this.O||this.F(new EG(ml,ew(this.J),fw(this.J),this.getContext().F.D()))};var NUh;function MUh(){MUh=r();NUh=RegExp("(?:https?:\\/\\/|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}\\/)(?:[^\\s()<>]+|\\(([^\\s()<>]|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:'\".,<>?\u00ab\u00bb\u201c\u201d\u2018\u2019])","i")};function RUh(a,c){YS.call(this,"links",new vUh(wUh,["\n","\t","\v"," "]),xG(0),yG([5]),!0,41027,null);this.F=this.J=!1;this.V=a;this.H=c}H(RUh,YS);RUh.prototype.D=function(a){var c=a.Aa(),e=c.Xa();a=a.hb().Jd()-2|0;a=jth(a,c);var f=c.eg(Li),g=Hu(f,ew(a));for(g=g<0?-g-1|0:g;f[g]!=null&&(+f[g]|0)<fw(a);g=g+1|0)if(c.getStyle(Li,+f[g]|0).Ni())return!1;c=e.slice(ew(a),fw(a));return!!qQh(c,this.V,this.H)||!!sQh(c,this.H)};RUh.prototype.AN=function(a){return new LUh(a,this.J,this.F,this.V,this.H)};function SUh(a,c,e){this.D=a;this.H=c;this.F=e}H(SUh,koh);SUh.prototype.El=function(){var a=this.getContext(),c=a.ub(),e=c.hb().Jd()-1|0,f=Msh(c.Aa(),c.hb().getSelection());FD(this,new Pnd(a,[new Yv(f,e)],[],!0));e=ygd(c.Aa(),c.hb().getSelection());FD(this,new TUh(a,[fw(e)],this.H,this.F));a=c.Aa().getStyle(Mi,c.hb().Jd());c=efd(c.Aa(),MC(a)).length>1;a=foh(3);return new UUh(VUh(this.F,0),c,a)};function UUh(a,c,e){BR.call(this,4,e);this.D=a;this.H=c}H(UUh,BR);function WUh(a,c,e,f,g,h){this.D=a;this.R=c;this.J=e;this.H=g;this.F=f;this.O=h?h:[]}H(WUh,AG);function XUh(a,c,e,f){return new WUh(a,c,e,0,f,null)}WUh.prototype.El=function(){var a=kF(ui),c={le_nb:this.J};FD(this,new YUh(this.getContext(),a,c));if(this.H){c={le_nb:this.H};var e=null;Kv(this.getContext().lb(),lg)&&(e=Mi);DD(this,new FG(e,a,c))}c=this.F==0;e=this.getContext();var f=this.R,g=O(this.F);return FD(this,new xah(e,f,a,!0,!0,g,c,this.O))};function YUh(a,c,e){this.D=a;this.O=c;this.J=e}H(YUh,BG);YUh.prototype.H=function(){var a=this.getContext().ub().Aa().nca(this.J,Mi);this.F(dM(Mi,this.O,a,this.getContext().lb().Ha(mg)))};function TUh(a,c,e,f){this.D=a;this.H=c;this.J=e;this.F=f}H(TUh,AG);TUh.prototype.El=function(){var a=this.getContext().ub().Aa(),c=a.getStyle(Mi,this.J),e=MC(c);var f=this.F;f=e?(a=a.Dd(e))?!!e&&ZUh(f,a):!1:!1;if(f){f=this.H;a=this.F;c=NC(c);var g=this.getContext(),h=O(c);e=FD(this,new xah(g,f,e,!0,!0,h,null,null)).D;e=new $Uh(2,f.length,VUh(a,c),e)}else e=this.H,c=this.F,f=Ezd(this.getContext().O),f=XUh(this.getContext(),e,aVh(c,f),bVh(c,f)),f=FD(this,f).D,e=new $Uh(1,e.length,VUh(c,0),f);return e};function $Uh(a,c,e,f){this.J=a;this.H=c;this.F=e;this.D=f}H($Uh,K);$Uh.prototype.getType=x("J");$Uh.prototype.kK=x("H");function cVh(a,c,e,f){this.D={};this.D.b_gt=c;av(this.D,Joa,a);this.D.b_a=e;!f||av(this.D,Loa,f)}H(cVh,K);cVh.prototype.Jc=x("D");function dVh(a,c,e,f){eVh();this.F=this.H=!1;if(a.length!=9)throw en("mP`"+a.length).Ea;this.D=a;this.H=c;this.F=e;this.J=f?f:[fVh]}var fVh;H(dVh,K);function gVh(a,c,e){return vz(Y0b(c.D)?hVh(c,e):c,a.D[e].Jc())}function ZUh(a,c){for(var e=0;e<=8;e=e+1|0)if(!gVh(a,gG(c,e),e))return!1;return!0}function aVh(a,c){for(var e={},f=0;f<=8;f=f+1|0){var g=iVh(a,f,c);cv(e,kG(f),g)}return e}
function bVh(a,c){var e={},f=z2b().xd();a.F||a1b(f,!0);for(var g=W0b().F,h=g.W,k=0;k<=8;k=k+1|0){for(var l={b_ts:Xu(f)},p=kG(k),q=iVh(a,k,c),u=h,w=0;w<u.length;w++){var y=u[w];q[y]==null&&(y=nz(g,y),l[y]=!0)}cv(e,p,l)}return e}function iVh(a,c,e){var f=Xu(a.D[c].Jc());a.H&&(a=Dxf(c,e),f.b_ifl=a.D,f.b_il=a.F);return f}function VUh(a,c){return X0b(a.D[c].D.b_gt)?1:Z0b(a.D[c].D.b_gt)?2:0}function eVh(){eVh=r();fVh=RegExp("^$")};function hVh(a,c){c={b_gt:P5g[a.D]|0,b_gf:tfd(a,c).D};bB(a)||av(c,Loa,tmh(a.D));a=a.clone();a.Oc(c);return a};function jVh(){kVh();YS.call(this,nMg,new vUh(wUh,[" "]),xG(0),yG([5,17]),!0,41028,null)}var lVh,mVh;H(jVh,YS);
jVh.prototype.D=function(a){if(!this.F)return!1;var c=a.Aa(),e=c.Xa();if(a.hb().getSelection().zc.getType()!=0)return!1;var f=ygd(a.Aa(),a.hb().getSelection()),g=a.hb().Jd()-2|0;a=ew(f);e=e.slice(a,g);for(var h=g=0;h<e.length;h=h+1|0)if(!SKb(lVh,gy(e,h))){g=h;break}e=Cn(e,g,e.length);if(!ny(mVh,e))return!1;f=c.getStyle(Mi,fw(f));if(MC(f)||e==="*"&&c.Qk(di,a+g|0).length>0||e==="-"&&c.Lm(Jh)&&c.Eg(Jh,a))return!1;f=nVh(c,a,e);return!!oVh(this,e,c,a,f)};
jVh.prototype.AN=function(a){var c=a.ub(),e=c.Aa(),f=c.Aa().Xa();c=c.hb();var g=c.Jd()-1|0;c=Msh(e,c.getSelection());g=f.slice(c,g);lVh.lastIndex=0;g=g.replace(lVh,"");f=nVh(e,c,g);e=oVh(this,g,e,c,f);return new SUh(a,f,e)};
function oVh(a,c,e,f,g){if(f==1)var h=!1;else{h=e.Xa();f=f-1|0;for(var k=rG(e,f);k<f&&SKb(lVh,BA(h,k));k=k+1|0);h=wA(h,c,k)==k}if(h)return null;h=a.F.V;h=h.concat(a.F.O);a:{a=h;if(f=MC(e.getStyle(Mi,g)))if(f=e.Dd(f))if(e=Duh(e,g),L(c,e))for(e=0;e<a.length;e++)if(g=a[e].D,ZUh(g,f)){e=g;break a}e=null}if(e)c=e;else a:{e=h;for(g=0;g<e.length;g++)for(h=e[g].D,a=h.J,f=0;f<a.length;f++)if(ny(a[f],c)){c=h;break a}c=null}return c}
function nVh(a,c,e){a:{var f=a.eg(Mi);for(var g=yA(a.Xa(),c),h=f.length-1|0;h>=0;h=h-1|0){var k=+f[h]|0;if(k<g)break;if(c>k){var l=a.getStyle(Mi,k);if(MC(l)&&jfd(a,k)){f=MC(l);break a}}}f=null}if(!f)return c-1|0;f=efd(a,f);l=9;for(g=f.length-1|0;g>=0;g=g-1|0)if(h=+f[g]|0,k=a.Pm(Mi,h),h<c&&NC(k)<l){l=Duh(a,h);if(L(e,l))return h;l=NC(k)}return c-1|0}function kVh(){kVh=r();mVh=RegExp("^\\s*[^\\s]+$","g");lVh=RegExp("\\s","g")};function pVh(a,c,e,f,g,h){this.D=a;this.J=c;this.H=e;this.F=f;this.O=g;this.R=h}H(pVh,K);pVh.prototype.getId=x("J");pVh.prototype.Ie=x("H");pVh.prototype.kh=x("F");pVh.prototype.Bi=x("R");function qVh(a,c,e){this.D=a;this.H=c;this.F=e}H(qVh,koh);qVh.prototype.El=function(){var a=this.getContext(),c=a.ub().hb().Jd()-1|0;FD(this,new Pnd(a,[new Yv(c-3-this.F.length|0,c)],[],!0));c=this.H;var e=Puh(this.F,a.lb());a=new rVh(a,c.D,c.F,e,LWg(a.W,e));FD(this,a);a=foh(11);return new sVh(this.F,a)};function sVh(a,c){BR.call(this,14,c);this.D=a}H(sVh,BR);function tVh(){this.D=0}H(tVh,K);function uVh(a,c){a.F=new xJb(null);var e=new zkh;nu(c,function(f){e.D=Math.max(e.D,f.length);a.F.add(ly("```"+M(f),"").reverse().join(""),f)});a.D=e.D};function vVh(a,c){YS.call(this,"markdownCodeBlock",new vUh(wUh,["\n"]),xG(0),yG((wVh(),xVh)),!0,41130,null);this.H=a;a=new tVh;uVh(a,c);this.J=a}H(vVh,YS);vVh.prototype.D=function(a){var c=a.Aa(),e=a.hb().Jd()-1|0;var f=this.J,g=c.Xa();a=e-3|0;a<0?c=null:(e=e-1|0,Lo(g.slice(a,e),"```")?c=Agd(c,a-1|0)?"":null:(g=Oo(ly(g.slice(Math.max(0,a-f.D|0),e),"").reverse().join(""),(So(),Ro)),f=I4g(f.F,g),Pu(f),Wu(f)?c=null:(f=Tu(f)[0],c=Agd(c,a-f.length-1|0)?f:null)));this.F=c;return this.F!=null};
vVh.prototype.AN=function(a){return new qVh(a,this.H,this.F)};function yVh(a,c){this.D=a;this.F=c}H(yVh,koh);yVh.prototype.El=function(){var a=this.getContext(),c=a.ub().hb().Jd()-1-this.F|0;FD(this,new Pnd(a,[new Yv(c,c+this.F|0)],[],!0));FD(this,new Bah(a,this.F,!1,2));a=foh(9);return new zVh(this.F,a)};function zVh(a,c){BR.call(this,8,c);this.D=a}H(zVh,BR);function AVh(){YS.call(this,"markdownHeading",new vUh(wUh,[" "]),xG(0),yG([5,17]),!0,41121,null);this.F=0}H(AVh,YS);AVh.prototype.D=function(a){var c=a.Aa(),e=c.Xa();a=a.hb().Jd()-2|0;for(this.F=0;this.F<6&&a>=1&&Lo(BA(e,a),"#")&&(!c.Lm(sh)||!c.Eg(sh,a));a=a-1|0)this.F=this.F+1|0;if(this.F==0)return!1;if(a==0||BA(e,a)!=="#"&&Agd(c,a))return!0;this.F=0;return!1};AVh.prototype.AN=function(a){return new yVh(a,this.F)};function BVh(a,c,e,f,g){this.D=a;this.H=c;this.F=e;this.O=f;this.J=g}H(BVh,koh);BVh.prototype.El=function(){var a=this.getContext();FD(this,DG(a,ml,this.O,ew(this.F),fw(this.F)));FD(this,new Pnd(a,[new Yv(ew(this.H),ew(this.F)-1|0),new Yv(fw(this.F)+1|0,fw(this.H))],[],!0));a=foh(10);return new CVh(this.J,a)};function CVh(a,c){BR.call(this,a,c)}H(CVh,BR);function DVh(){this.D=0}H(DVh,Rm);function EVh(a,c){var e=new DVh;e.H=a;e.D=c;return e}var FVh=EVh("INDETERMINATE",0),GVh=EVh("OUTER",1),HVh=EVh("INNER",2);function IVh(){JVh();YS.call(this,"markdownTextFormatting",new vUh(wUh,["*","_","~","`"]),xG(0),yG([5,17]),!0,41122,null)}var KVh,LVh={"*":9,_:9,"**":10,__:10,"***":11,___:11,"-":12,"~":12,"~~":12,"`":13},MVh={"*":function(a,c){return Mt(a.Qk(di,c.yb()))},"-":function(a,c){return!a.Lm(Jh)||!a.Eg(Jh,c.yb())}},NVh={"*":!0,_:!0,"~":!0},OVh={ts_it:!0},PVh={ts_bd:!0},QVh={ts_it:!0,ts_bd:!0},RVh={ts_st:!0},SVh;H(IVh,YS);
IVh.prototype.D=function(a){var c=a.Aa(),e=c.Xa(),f=a.hb().Jd()-1|0;a=TVh(c,BA(e,f));var g=UVh(e,f,a);if(!g)return!1;var h=VVh(c,g);if(!h)return!1;f=ew(g);e=e.slice(f,fw(g));h=h.yb();a=h==1?WVh(c,f,e,a):h==-1?XVh(c,f,e,a):(h=XVh(c,f,e,a))?h:WVh(c,f,e,a);if(!a)return!1;f=new Yv(ew(a)+e.length|0,fw(a)-e.length|0);h=KVh[e];a:{c=c.yn(ml,ew(f),fw(f),null,null,null).D;g=c.Yc();for(var k=0;k<g.length;k++)if(!vz(c.get(g[k]).zd(),h)){c=!1;break a}c=!0}if(c)return!1;this.J=a;this.H=f;this.V=Xu(h);this.F=O(LVh[e]|
0);return!0};function TVh(a,c){var e=MVh[c];return e?function(f){return Lo(c,BA(a.Xa(),f.yb()))&&e(a,f)}:function(f){return Lo(c,BA(a.Xa(),f.yb()))}}function UVh(a,c,e){if(!e(O(c)))return null;if(!By(NVh,BA(a,c)))return e(O(c-1|0))||e(O(c+1|0))?null:new Yv(c,c);for(var f=c;f>1&&e(O(f-1|0));)if(f=f-1|0,(c-f+1|0)>3)return null;for(;c<(xA(a)-1|0)&&e(O(c+1|0));)if(c=c+1|0,(c-f+1|0)>3)return null;return new Yv(f,c)}
function WVh(a,c,e,f){var g=e.length;e=g-1|0;for(var h=c+g|0,k=Math.min(oG(a.Xa(),c)-g|0,h+200|0);h<=k;h=h+1|0){var l,p=h+g|0;for(l=h;l<p&&f(O(l));l=l+1|0);if(l!=p)h=l;else{a=VVh(a,new Yv(h,h+g-1|0));if(!a||a.yb()==1)break;return new Yv(c,h+e|0)}}return null}
function XVh(a,c,e,f){var g=e.length;e=g-1|0;for(var h=c-2|0,k=Math.max(rG(a,c)+e|0,h-200|0);h>=k;h=h-1|0){var l,p=h-g|0;for(l=h;l>p&&f(O(l));l=l-1|0);if(l!=p)h=l;else{a=VVh(a,new Yv(h,h-g+1|0));if(!a||a.yb()==-1)break;return new Yv(h-e|0,c+e|0)}}return null}function VVh(a,c){var e=YVh(a,ew(c)-1|0);a=YVh(a,fw(c)+1|0);return L(e,FVh)&&L(a,FVh)?O(0):L(e,FVh)?O(L(a,GVh)?-1:1):L(a,FVh)?O(L(e,GVh)?1:-1):L(e,a)?null:O(L(e,GVh)?1:-1)}
function YVh(a,c){if(c==0||c==xA(a.Xa()))return GVh;var e=BA(a.Xa(),c);return lZb(e)||Agd(a,c)?GVh:aih(e.charCodeAt(0))||e in KVh?HVh:FVh}IVh.prototype.AN=function(a){return new BVh(a,this.J,this.H,this.V,this.F.yb())};function JVh(){JVh=r();SVh=Jwh();KVh={"*":OVh,_:OVh,"**":PVh,__:PVh,"***":QVh,___:QVh,"-":RVh,"~":RVh,"~~":RVh,"`":SVh}};function ZVh(a,c){this.D=a;this.F=c}H(ZVh,koh);ZVh.prototype.El=function(){var a=this.getContext(),c=a.ub(),e=c.Aa();c=c.hb().getSelection();var f={};f.ps_ltr=this.F;Nsh(e,c,this.F)&&(f.ps_al=0);FD(this,czd(a,f,null));a=foh(4);return new $Vh(this.F,a)};function $Vh(a,c){BR.call(this,3,c);this.D=a}H($Vh,BR);function aWh(a,c,e,f){YS.call(this,"paragraphDirection",a,xG(0),xG(5),!1,41029,null);this.F=!0;this.J=f;this.H=c;this.V=e}H(aWh,YS);aWh.prototype.D=function(a){if(!this.V.isEnabled())return!1;var c=a.Aa();a=a.hb().Jd();a=oG(c.Xa(),a);var e=bWh(this.H);if(e<0)return!1;if(e!=a)return sx(this.J,en("pP`"+a+"`"+e)),!1;e=this.H.O;if(e===Db)return!1;this.F=e==="LTR";c=yB(c.getStyle(Jj,a));return this.F!=c};aWh.prototype.AN=function(a){return new ZVh(a,this.F)};function cWh(a,c,e){this.F=!1;this.H=a;this.D=e!=null?e:"ParagraphStateCache";this.J=kP;this.O=Db;this.R=c}H(cWh,tw);function bWh(a){return a.H.hc(a.D)}function dWh(a){a.O=Db}function eWh(a){dWh(a);a.J=kP;a.H.unregister(a.D)}cWh.prototype.clone=function(){var a=new cWh(this.H,this.R,this.D);fWh(this,a);return a};function fWh(a,c){var e=bWh(a);e<0?c.H.unregister(c.D):(c.H.unregister(c.D),c.H.register(c.D,e));c.J=a.J;c.O=a.O}
cWh.prototype.fd=function(a){var c=bWh(this);this.D=a;c>=0&&this.H.register(this.D,c)};cWh.prototype.fb=function(){this.H.unregister(this.D);tw.prototype.fb.call(this)};function gWh(a,c){this.O=this.F=!1;hWh(this,a,c)}H(gWh,tw);function hWh(a,c,e){a.J=c;a.D=e;a.ea=new gx;a.H=new hx;a.xa(a.ea);a.xa(a.H);a.R=function(f){a.J.Qlb(a.D.Aa(),f.ih,f.D)};a.W=function(){a.J.Rlb(a.D.Aa(),a.D.hb())};a.V=function(f){f.Gk()?a.J.WFb(f):a.J.UFb(a.D.Aa(),a.D.hb())}}
gWh.prototype.Ab=function(a){a!=this.O&&(this.J.reset(),a?(this.H.Pa(this.D.Ph(),this.R),this.H.Pa(this.D.gg(),this.W),this.H.Pa(this.D.Ji(),this.V)):(this.H.qn(this.D.Ph(),this.R),this.H.qn(this.D.gg(),this.W),this.H.qn(this.D.Ji(),this.V)),this.O=a)};gWh.prototype.isEnabled=x("O");function iWh(a){var c=[klg,xOa,wlg];Xt(c,wUh);a&&Xt(c,a);this.F=gdb;this.D=c}H(iWh,FUh);function jWh(a){Hx.call(this);kWh(this,a)}H(jWh,Hx);function kWh(a,c){a.H=c;Ix(a,lWh(a));var e=new hx;a.xa(e);e.Pa(c.V,function(){Jx(a,lWh(a))})}function lWh(a){var c=new Kx;c.put(BXf,end(a.H));return c};function mWh(a){this.D=a}H(mWh,koh);mWh.prototype.El=function(){var a=this.getContext().ub(),c=a.Aa();a=a.hb().Jd()-1|0;if(!yB(c.getStyle(Jj,a)))return null;var e=c.Xa(),f=sG(c,a);c=BA(e,a);var g=c==="'",h=c==='"';f?e=!0:(e=BA(e,a-1|0),e=lZb(e)||e==="("||e==="["||e==="{"||e==="\u2018"&&h||e==="\u201c"&&g);h=h?e?"\u201c":"\u201d":e?"\u2018":"\u2019";FD(this,j_g(this.getContext(),h,new Yv(a,a)));a=foh(5);return new nWh(c,h,a)};function nWh(a,c,e){BR.call(this,1,e);this.H=a;this.D=c}H(nWh,BR);function oWh(a){var c=iu(wUh);a&&eDb(c,Dlg);YS.call(this,"smartQuotes",new vUh(c,["'",'"']),xG(0),yG([5,17]),!1,41030,null)}H(oWh,YS);oWh.prototype.D=B(!0);oWh.prototype.AN=function(a){return new mWh(a)};function pWh(a,c,e,f,g){rUh.call(this,a,c);this.ea=!1;this.H=e;this.F=f;this.W=g}H(pWh,rUh);pWh.prototype.V=function(){var a=this.getContext(),c=a.ub().Aa().Xa().slice(ew(this.H),fw(this.H));if(!Lo(this.F.D,Oo(c,(So(),Ro))))return null;if(s7g(this.O,Ky(c)))return this.ea=!0,null;this.J=qWh(c,this.F.F);return new nUh(a,new Yv(ew(this.H),ew(this.H)+this.J.length-1|0),c,this.J,2,this.F.J,this.F.O,this.F.H)};
pWh.prototype.R=function(){if(this.ea)return null;FD(this,j_g(this.getContext(),this.J,this.H));ED(this,BC(tC(ew(this.H)+this.J.length+1|0)),!0);var a=this.F.O,c=this.F.J!=null?this.F.J:0;a=a!=null?this.W.Ci(7,6,c,a,this.F.H,null,null,null):this.W.Ci(7,6,c,0,this.F.H,null,null,null);return new nWh(this.F.D,this.F.F,a)};function qWh(a,c){var e=gy(a,0);!Lo(Po(e,(So(),Ro)),Oo(e,Ro))&&Lo(Po(e,(So(),Ro)),e)&&(Lo(Po(a,(So(),Ro)),a)?c=Po(c,(So(),Ro)):(a=Po(gy(c,0),(So(),Ro)),c=M(a)+M(c.substr(1))));return c};function rWh(a,c,e,f,g,h,k){YS.call(this,RQg,new sWh,xG(0),yG([5,17]),!1,41077,null);this.ea=a;this.J=c;this.Ja=e;this.H=f;this.Ca=g;this.F=h;this.V=k}H(rWh,YS);
rWh.prototype.D=function(a,c){var e=a.Aa(),f=e.Xa();a=a.hb().Jd()-2|0;if(a<1||Ky(f.slice(a+1|0,a+1|0))==="@")return!1;e=jth(a,e);f=f.slice(ew(e),fw(e));f=Ky(f);if(this.Ja.YS(f))return!1;if(Gn(!0,this.F.vh(q$f))&&this.F.H!=null&&L(f,this.F.H))return e=f,f=this.J.Ci(7,6,null,null,this.F.O,2,null,null),this.Ca.Db(41078,f),t7g(c,e),BJh(this.F),!1;a=f;a==null?c=null:(c=tWh(this.ea,a))?this.V.Ha("docs-eac")&&(a=this.H,a.getItem(c.D)||(a.D.length==1E3&&a.removeItem(),a.D.push(c))):c=this.V.Ha("docs-eac")?
this.H.getItem(a):null;if(c&&L(f,c.D))return this.Na=e,this.ma=c,BJh(this.F),!0;BJh(this.F);return!1};rWh.prototype.AN=function(a,c,e){return this.ma?(uWh(this.ea),new pWh(a,e,this.Na,this.ma,this.J)):null};function vWh(){this.F=this.D=null}H(vWh,K);function tWh(a,c){if(!a.F)return null;for(var e=0;e<a.F.length;e=e+1|0)if(Lo(Ky(a.F[e][0]),c))return new pUh(c,a.F[e][1],6,a.D.H,a.D.F,null,a.D.D);return null}function uWh(a){a.F=null;a.D=null};function wWh(a,c,e,f){this.H=a;this.F=c;this.D=f}H(wWh,K);function sWh(){var a=wUh;this.F=gm;this.D=a}H(sWh,FUh);function xWh(a,c,e,f,g){rUh.call(this,a,e);this.W=!1;this.ea=c;this.H=f;this.F=g}H(xWh,rUh);xWh.prototype.V=function(){var a=this.getContext(),c=a.ub().Aa().Xa().slice(ew(this.H),fw(this.H));if(!Lo(this.F.getKey(),Oo(c,(So(),Ro))))return null;if(s7g(this.O,c))return this.W=!0,null;this.J=qWh(c,this.F.D);return new nUh(a,new Yv(ew(this.H),ew(this.H)+this.J.length-1|0),c,this.J,1,null,null,null)};
xWh.prototype.R=function(){if(this.W)return null;var a=this.getContext().ub().hb().Bh();FD(this,j_g(this.getContext(),this.J,this.H));ED(this,BC(tC(a-this.F.getKey().length+this.J.length|0)),!0);a=foh(7);var c=new nWh(this.F.getKey(),this.F.D,a),e=this.F.getKey(),f=this.F.D;(e=e===wa&&f==="\u2013"?ljh:e==="---"&&f==="\u2014"?mjh:null)&&this.ea.Db(e.F(),a);return c};function yWh(a){YS.call(this,Kab,new sWh,xG(0),yG([5,17]),!0,41031,null);this.H=a}H(yWh,YS);function zWh(a,c){var e=new by;Nq(e,139,c.GG());c=AWh(c);Nq(e,140,c.GG());a.H.Db(41120,vD((new RC).Mb(7),e).oa());a.F=c}
function AWh(a){var c=qu(),e=new xJb(null);a.forEach(function(f,g){e.add(f,g)});a.forEach(function(f,g){if(f){var h=null,k=null,l=I4g(e,f),p;for(p in l){var q=so(p)+1|0;L(Cn(f,0,q),f)||(h=O(q),k=l[p])}h&&k&&(f=M(k.D)+M(f.substr(h.yb())),c.Eh(f,new zG(f,g.D,g.isEnabled()&&k.isEnabled())))}});blh(c,a);return c}yWh.prototype.D=function(a){return this.F?!!BWh(this,a):!1};
yWh.prototype.AN=function(a,c,e){var f=a.ub();c=f.Aa().Xa();f=BWh(this,f);if(!f)return null;c=this.F.xR(Oo(c.slice(ew(f),fw(f)),(So(),Ro)));return new xWh(a,this.H,e,f,c)};
function BWh(a,c){var e=c.Aa(),f=e.Xa();c=c.hb().Jd()-2|0;e=thd(e);c=ith(rhd(e,c),e);c=new jah(shd(e,c.F),shd(e,c.D));e=c.F;c=c.D;var g=Oo(f.slice(ew(c),fw(c)+1|0),(So(),Ro));if(CWh(a,g))return new Yv(c.start,c.end+1);g=Oo(f.slice(ew(e),fw(e)+1|0),Ro);if(CWh(a,g))return new Yv(e.start,e.end+1);g=Oo(f.slice(ew(c),fw(c)),Ro);if(CWh(a,g))return c;f=Oo(f.slice(ew(e),fw(e)),Ro);return CWh(a,f)?e:null}function CWh(a,c){return a.F.contains(c)&&a.F.get(c).isEnabled()};function DWh(a,c){this.D=a;this.F=c}H(DWh,K);function EWh(){}H(EWh,fH);EWh.prototype.D=function(a){return new FWh(a)};EWh.prototype.Ul=B(Mk);function FWh(a){GWh();nF.call(this,elg,a)}var HWh;H(FWh,gH);FWh.prototype.Vc=function(){qF(this,new IWh(this.getContext()))};FWh.prototype.Ar=B(!1);function GWh(){GWh=r();HWh=new EWh};function IWh(a){this.D=a}H(IWh,BG);IWh.prototype.H=function(){for(var a=this.getContext().ub().Aa(),c=a.eg(Mc),e=0;e<c.length;e++){var f=c[e],g=a.getStyle(Mc,f);if(g&&g.va){c=a.gr(Mc,f);a=a.yp(Mc,f);this.F(new EG(Mc,c,a,(kGd(),sGd).xd()));break}}};function JWh(a,c,e){this.O=this.F=!1;this.R=a;this.ma=c;this.W=e}H(JWh,tw);JWh.prototype.V=function(a){this.R.V(a);this.W.Ha("docs-eaurbsmc")&&this.O&&this.D&&(this.O=!1,this.oqb(this.D),this.D=null,this.reset())};JWh.prototype.H=function(a,c){this.Mib(a)&&(a=this.gPb(a),this.R.H(a,this.I6b(c)))};
JWh.prototype.J=function(a,c){if(this.W.Ha("docs-eaurbsmc")){var e=this.ma.ir(new wG(Td,"autocorrectUiHandlerOnSelectionChange")),f=a.H.xj(),g=c.getSelection().xj();g.jb()?f.jb()||KWh(this,a,f):f.jb()||(g=g.Fh(),Nn(g,f.Fh())||KWh(this,a,f),this.R.J(a,c.OD()));e.zv()}};function KWh(a,c,e){c.F?(a.O=!0,a.D=e.Fh()):(a.oqb(e.Fh()),a.reset())}JWh.prototype.Mib=function(a){return Lo(a.getType(),Sf)};function LWh(a,c,e){this.J=this.F=!1;this.D=a;this.R=new mud(c);this.O=e;this.V=new xud}H(LWh,tw);D=LWh.prototype;D.reset=function(){MWh(this);eWh(this.D);this.J=!1};function NWh(a,c,e,f){var g=c.Xa();e=Math.min(xA(c.Xa())-1|0,e);g=oG(g,e);g!=bWh(a)&&(!0===f||eWh(a),c=oG(c.Xa(),g),a.H.unregister(a.D),a.H.register(a.D,c))}D.Rlb=function(a,c){this.H&&(sx(this.O,en("tP")),MWh(this));c=c.Jd();NWh(this.D,a,c,null)};
D.Qlb=function(a,c,e){nud(this.R,c);this.J||(dWh(this.D),this.J=!0,this.H&&(sx(this.O,en("uP")),MWh(this)),this.H=this.D.clone(),this.H.fd("TentativeCache"),dWh(this.H));var f=this.H;if(LG(c)){if(e=c.O,c=c.Xa(),c!=="\n"||!sG(a,e))if(NWh(f,a,e+c.length|0,null),f=this.H,Jo(c,"\n"))eWh(f);else if(f.J===kP&&f.O===Db){var g=a.Xa();c=e+c.length-1|0;a=Wnd(g,O(rG(a,e)),O(oG(g,c)),O(e),O(c));a!=0&&(f.J="Strong",a==3?f.O="LTR":a==4&&(f.O="RTL"))}}else if(lod(c))e=c.F,(c=bWh(this.D)<0)&&NWh(this.D,a,e,!0),NWh(f,
a,e,c),a=this.H,dWh(a),a.J==="Strong"&&(a.J=kP);else for(e=this.V.Ay(Jj,c,e),c=0;c<e.length;c=c+1|0)g=e[c],h8a in g.D&&bWh(f)<0&&NWh(f,a,g.F,null)};D.WFb=function(a){this.H&&fWh(this.H,this.D);var c;if(c=bWh(this.D)>=0&&this.D.J!=="Explicit")if(a=a.D,c=a.Gq(),c===qf)c=OWh(this,a);else if(c===tg||c===Zf){a=a.dK;b:{if(a.Xc===ANa){c=a.Hq();for(var e=0;e<c.length;e=e+1|0)if(c[e].getType()==3){c=!0;break b}}c=!1}c=c||OWh(this,a)}else c=!1;c&&(a=this.D,dWh(a),a.J="Explicit");MWh(this);this.J=!1};
D.UFb=function(a,c){NWh(this.D,a,c.Jd(),!0);MWh(this);this.J=!1};function OWh(a,c){JYc(c)&&(c=c.D);if(c.Xc!==Vkg)return!1;a=J5g(c.D,bWh(a.D));return!!a&&h8a in a}function MWh(a){uw(a.H);a.H=null};function PWh(a,c,e,f){this.Xc=a;this.D=c;this.F=f}H(PWh,GD);function QWh(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C){this.F=!1;this.H=a;this.D=c;this.J=e;this.ma=f;this.W=g;this.wa=h;this.ea=k;this.Ca=l;this.za=p;this.V=q;this.va=u;this.R=w;this.Da=y;this.Na=z;this.Fa=A;this.Ja=C;this.O=new hx;this.xa(this.O)}H(QWh,tw);
QWh.prototype.initialize=function(a){var c=this;this.H.ATa("sp",new RWh);this.H.ATa(gm,new SWh(this.Fa));this.H.ATa(gdb,new HJh);TWh(this,a);this.O.Pa(this.Da.Hf(),function(){UWh(c)});this.O.Pa(this.D.W,function(){UWh(c)});this.O.Pa(this.D.ea,function(){if(c.J){var e=$md(c.D),f=end(c.D);c.J.J=e;f||(e?dU(c,c.J):c.H.NP(c.J))}});this.O.Pa(this.D.ma,function(){and(c.D)?dU(c,c.ma):c.H.NP(c.ma)});this.O.Pa(this.D.va,function(){c.W&&(bnd(c.D)?dU(c,c.W):c.H.NP(c.W))});this.O.Pa(this.D.wa,function(){nah(c.D)?
dU(c,c.wa):c.H.NP(c.wa)});this.O.Pa(this.D.Ca,function(){cnd(c.D)?dU(c,c.ea):c.H.NP(c.ea)});this.O.Pa(this.D.za,function(){dnd(c.D)?dU(c,c.za):c.H.NP(c.za)});this.O.Pa(this.D.V,function(){var e=end(c.D);e?(c.V&&dU(c,c.V),dU(c,c.va),c.R&&dU(c,c.R)):(c.V&&c.H.NP(c.V),c.H.NP(c.va),c.R&&c.H.NP(c.R));if(c.J){var f=$md(c.D);c.J.F=e;f||(e?dU(c,c.J):c.H.NP(c.J))}});this.O.Pa(this.D.O,function(){var e=c.D.D;e&&zWh(c.ea,e)})};
function VWh(a,c,e){var f=a.D;1!=cnd(f)&&(ond(f,!0),f.H.dispatchEvent(new mRc(new lRc(Iva,{acESR:!0}),uF(f))));c=new zG(c,e,!0);e=oah(a.D);a=a.D;c=e.concat([c]);sah(a,$md(a),and(a),bnd(a),nah(a),cnd(a),c,Zmd(a),dnd(a),end(a))}function UWh(a){a.H.NP(a.Ca);Zmd(a.D)&&a.Da.H()&&dU(a,a.Ca)}
function TWh(a,c){UWh(a);nah(a.D)&&dU(a,a.wa);var e=end(a.D);if(a.J){var f=$md(a.D);if(f||e)a.J.J=f,a.J.F=e,dU(a,a.J)}and(a.D)&&dU(a,a.ma);a.ma.F=c;a.W&&bnd(a.D)&&dU(a,a.W);cnd(a.D)&&dU(a,a.ea);(c=a.D.D)&&zWh(a.ea,c);dnd(a.D)&&dU(a,a.za);c=a.Ja&&fnd(a.D);if(e||c)a.V&&dU(a,a.V),dU(a,a.va),a.R&&dU(a,a.R)}QWh.prototype.fb=function(){uw(this.O);tw.prototype.fb.call(this)};function dU(a,c){a.H.UCa(c);c instanceof YS&&(c.O=Hmd(a.Na.D(),c.W,c.R))}
function WWh(a,c,e,f,g,h,k,l,p,q,u,w,y,z,A,C,E,F,I,J,N){return new QWh(a,c,C,new jVh,new aWh(e,f,g,h),new oWh(!0===J),new yWh(w),new tUh(A),new rWh(p,q,z,u,w,y,A),E,new IVh,F,k,I?I:(zmd(),Amd),l,go(N,!0))};function RWh(){}H(RWh,K);RWh.prototype.D=function(a,c){var e=c.Aa().Xa();c=c.hb().Jd()-1|0;e=BA(e,c);c=[];for(var f=0;f<a.length;f=f+1|0)e in a[f].mca().H&&c.push(a[f]);return c};RWh.prototype.F=function(a,c){var e=c.Aa().Xa();c=c.hb().Jd()-1|0;return BA(e,c)in a.mca().H};function SWh(){}H(SWh,K);SWh.prototype.D=function(a,c){var e=c.Aa();c=c.hb().Jd()-1|0;return kth(c,e)?a:[]};SWh.prototype.F=function(a,c){a=c.Aa();c=c.hb().Jd()-1|0;return kth(c,a)};function XWh(){this.D=[]}H(XWh,K);XWh.prototype.clear=function(){zu(this.D)};XWh.prototype.removeItem=function(){this.D.pop()};XWh.prototype.getItem=function(a){for(var c=0;c<this.D.length;c=c+1|0)if(L(this.D[c].D,a))return this.D[c];return null};XWh.prototype.getSize=function(){return O(this.D.length)};function YWh(a,c,e,f,g,h,k,l,p,q){this.J=0;this.wa=!1;this.F=a;this.O=c;this.D=e;this.R=f;this.H=g;this.V=h;this.ea=k;this.ma=q?q:new aD;this.J=Hn(this.ma.D());this.va=p;this.wa=l.Ha(pf)}H(YWh,K);D=YWh.prototype;D.Sta=B(2);D.Tta=function(){var a=this.V.ir(new wG(Td,"spellAutocorrectOnSelectionChange")),c=ZWh(this,!1);a.zv();return c};D.aY=function(a){var c=this.V.ir(new wG(Td,"spellAutocorrectOnFlush"));a=ZWh(this,a);c.zv();return a};D.DCa=function(a){a.D=this.J};
D.fH=function(a,c){a=a.getResponse();var e=this.O.D;e&&(e=this.R.Ci(this.H,6,e.H,e.F,e.D,null,null,null),this.D.Db(41089,e),uWh(this.O));var f=R(a,RGh,2);if(f&&SGh(f).length!=0&&Aq(f4g(SGh(f),0),1)){e=this.V.ir(new wG(Td,"spellAutocorrectHandleSuccessfulResponse"));var g=Aq(a,3);if(g!=null){this.va=g;var h=this.R,k=this.H,l=c.D,p=Bq(f,4);g=h.Ci(k,6,l,p,g,null,null,null)}else g=this.R,h=this.H,k=c.D,l=Bq(f,4),g=g.Ci(h,6,k,l,null,null,null,null);this.D.Db(41081,g);h=c.F.D;if(h!=null&&h<this.J)$Wh(this,
f,g);else{g=[];for(h=0;h<SGh(f).length;h=h+1|0)k=f4g(SGh(f),h),g.push([Aq(k,1),Aq(k,2)]);h=this.O;k=c.D;c=c.F.D;f=Bq(f,4);a=Aq(a,3);h.F=VAb(g);a==null&&(a="");h.D=new wWh(k,f,c,a);e.zv()}}else uWh(this.O)};D.handleError=r();
function ZWh(a,c){if(a.ea&&!dnd(a.ea))return!1;var e=a.F.CE()-1|0;if(a.F.Ebc(e)){a.J=Hn(a.ma.D());a.W=Ky(a.F.eta(e-1|0));if(c=!a.wa)e<=a.F.oya()?c=!1:(e=a.F.jM(e-1|0),c=e!==" "&&e!=="\t");if(c){e=new by;c=a.va;var f=sn(1),g=rtb(e,125,dsb,csb),h=g.set;a:{switch(typeof f){case zj:case Wk:case Qc:f=on(f);break a}f=f.isSafeInteger()?on(f.Aw()):on(f.toString())}h.call(g,c,f);a.D.Db(41085,vD((new RC).Mb(a.H),e).oa())}return!1}return c}
function $Wh(a,c,e){!a.W||(No(a.W,Aq(c,1))?SGh(c).some(function(f){return L(a.W,Aq(f,1))})?a.D.Db(41086,e):a.D.Db(41087,e):a.D.Db(41088,e))};function aXh(a){bXh();this.D=a}var cXh;H(aXh,K);
aXh.prototype.qd=function(){var a=this.D.D();if(!a)return null;var c=a.hb(),e=c.getSelection();if(e.zc.getType()!=0&&e.zc.getType()!=6)return null;a=a.Aa();if(e.Qd){e=e.Qd;c=e.D;e=e.Cg();zR(a.Xa(),c)&&(c=c+1|0);zR(a.Xa(),e)&&(e=e-1|0);if(c>e)return null;c=a.gr(Mc,c);e=a.gr(Mc,e);if(c!=e)return null}else c=c.Jd(),kth(c,a)&&(c=c-1|0);a=a.getStyle(Mc,c);e=null;a&&(e=a.va);if(e)if(Obh(a)==2){c=a.D.get().H;var f=a.O,g=qUh(Obh(a)),h=a.D.get().W;a=a.D.get().uh();a=new pUh(e,f,g,h,a,null,c)}else c=e,e=a.O,
a=qUh(Obh(a)),a=new pUh(c,e,a,null,null,null,"");else a=null;return a};function dXh(a){var c=a.D.D();if(!c)return null;a=c.Aa();var e=a.Xa();c=c.hb().Jd()-1|0;c=jth(c,a);var f=ew(c),g=a.getStyle(Mc,fw(c));if(g.va==null)return null;g=g.O;var h=f-1|0;if(h<1||!DA(e,h))return g;var k=f,l=0,p=rG(a,h);for(h=h-1|0;l<=7&&h>=p;){var q=jth(h,a);h=ew(q);if(h==p){k=h;break}h=e.slice(ew(q),fw(q));if(DUh(h,cXh)){k=ew(c);break}h=ew(q)-2|0;c=q;l=l+1|0}return e.slice(k,f+g.length-1|0)}
function bXh(){bXh=r();cXh=Ny(EUh)};function eXh(a,c){this.F=!1;fXh(this,a,c)}H(eXh,tw);function fXh(a,c,e){a.D=e;a.H=c;c=new hx;c.Pa(a.D.Ph(),function(f){a.H.H(f.ih,f.D)});c.Pa(a.D.bj(),function(f){a.H.V(f.D)});a.xa(c);c.Pa(a.D.gg(),function(f){a.H.J(f,a.D.hb())});a.xa(c)};function gXh(a,c,e,f,g){this.ea=this.F=!1;this.D=Xlb();this.ma=a;this.R=c;this.W=e;this.O=f;this.ea=g}var hXh={markdownHeading:!0,markdownTextFormatting:!0,markdownCodeBlock:!0};H(gXh,tw);
gXh.prototype.V=function(a){if(a.Gq()===qf){JYc(a)&&(a=a.D);var c=a.Xc;if(c===ANa){if(this.D=Zlb(0),!end(this.W)&&iXh(a))for(this.R.qa(gLa).Ff(null,null),a=this.W,0!=fnd(a)&&(c={},nnd(a,!1),c.acShowMarkdownPromo=!1,a.H.dispatchEvent(new mRc(new lRc(Iva,c),uF(a)))),a=this.O.u5a(),c=0;c<a.length;c++){var e=a[c];By(hXh,e.getType())&&(this.ea?this.O.NP(e.D):this.O.NP(e))}}else this.D.D&&c===yOa&&(this.D=Zlb(Z2g(this.D)+1|0),Z2g(this.D)>=4&&(this.R.qa(Bwa).Ff(null,null),this.D=Xlb()))}};
gXh.prototype.H=function(a,c){c&&(Lo(a.getType(),yi)?jXh(this,c.F.autocorrect):Lo(a.getType(),l0a)&&jXh(this,c.D.autocorrect))};gXh.prototype.J=r();function jXh(a,c){if(c){var e=c.D;c=c.H;if(e)e=e.getStyle();else if(c)e=c.getStyle();else return;c=e.va;var f=e.D.get().H;c!=null&&Obh(e)==2&&AJh(a.ma,Ky(c),f)}}function iXh(a){return a.D.D.some(function(c){return By(hXh,c.getType())})}gXh.prototype.reset=function(){this.D=Xlb()};function kXh(a){Hx.call(this);lXh(this,a)}H(kXh,Hx);function lXh(a,c){var e=new Mx;Nx(e,c,(Ox(),Px),function(f){f=f.newValue;var g=new Kx;g.put(pNg,f);g.put(oNg,!f);Jx(a,g)});a.xa(e);e=new Kx;e.put(pNg,c.Gc());e.put(oNg,!c.Gc());Ix(a,e)};function mXh(){}H(mXh,fH);mXh.prototype.H_=B(1);function nXh(a,c,e,f,g){this.D=a;this.J=0;this.W=!1;this.O=0;this.R=c;this.J=c.length;this.V=e;this.W=!0===f;this.O=g?g.yb():this.J-1|0}H(nXh,BG);nXh.prototype.H=function(){if(!(this.J<=0)){for(var a=1,c=this.J-1|0;c>=0;c=c-1|0)jF(this,j_g(this.getContext(),this.V,this.R[c])),c<=this.O&&(a=a+(this.V.length-((Zv(this.R[c])|0)+1))|0);iF(this,BC(tC(fw(this.R[this.O])+a|0)),!this.W)}};function oXh(a){this.F=a}H(oXh,K);oXh.prototype.D=function(a){ZE(a,cSa).enabled(!1).oa();var c,e,f;a.Pb((c=this.F,c(cMa)));a.Pb((e=this.F,e(bMa)));a.Pb((f=this.F,f(aMa)))};function pXh(a,c){this.F=a;this.H=c}H(pXh,K);pXh.prototype.D=function(a){Fo(a);this.F&&ZE(a,xmg).Ia(122).enabled(!0).oa();this.H&&(a.Pb(yy(Nva)),a.Pb(yy(Kva)),a.Pb(yy(Jva)),a.Pb(yy(Ova)),a.Pb(yy(Lva)),a.Pb(yy(Bwa)));ZE(a,ymg).Ia(41078).enabled(!0).oa()};function qXh(a){this.D=a}H(qXh,K);function rXh(a,c,e,f){this.F=!1;this.R=a;this.V=c;this.J=e;this.O=f}H(rXh,tw);rXh.prototype.D=function(){return kD(this.J,2,0)};rXh.prototype.H=function(a){return(a=sXh(this,a))?a:[]};function sXh(a,c){return GAd(a.R,a.V,Mc,EOa,c,function(e){return a.O.D.D()?e.va?!0:!1:!1},!0,null,null,null)};function tXh(a){this.D=a}H(tXh,K);function uXh(){}H(uXh,fH);uXh.prototype.D=function(a){return new vXh(a)};function vXh(a){wXh();nF.call(this,alg,a)}var xXh;H(vXh,gH);
vXh.prototype.Vc=function(a){var c=this.getContext().ub().Aa(),e=this.getContext().ub().hb(),f=e.getSelection();f.Qd?e=f.Qd.D:(e=e.Jd(),kth(e,c)&&(e=e-1|0));f=c.gr(Mc,e);var g=c.yp(Mc,e),h=c.getStyle(Mc,e);e=h.va;e!=null&&(qF(this,j_g(this.getContext(),e,new Yv(f,g))),Obh(h)==2&&c.Lm(Xh)&&(c=Hjc(tC(f),[new Yv(f,f+e.length-1|0)]),c=new Arh(new Urh(e,[h.O],[],null),c,null),qF(this,new yXh(this.getContext(),c))),a.D&&t7g(a.D,Ky(e)),this.D=new EJh(a.F,null))};function wXh(){wXh=r();xXh=new uXh};function yXh(a,c){this.D=a;this.J=c}H(yXh,BG);yXh.prototype.H=function(){var a={isc_osh:awh(this.J.Fe.D)},c=Uvh(this.J);jF(this,DG(this.getContext(),Xh,a,ew(c),fw(c)))};function zXh(a,c){this.F=!1;AXh(this,a,c)}H(zXh,tw);function AXh(a,c,e){a.D=c;a.J=e;a.H=new hx;a.xa(a.H);a.H.Pa(c.gg(),function(f){var g=a.D.Aa(),h=a.D.hb().Jd();h=vuh(g.Xa(),h);var k=[];h&&k.push(new Yv(h.start,h.start));var l=null;if(f=f.H)f=g.og(f.zc),(l=vuh(g.Xa(),f))&&k.push(new Yv(l.start,l.start));(h||l)&&a.J.D(FOa,k)})};function BXh(){}H(BXh,K);function CXh(a){DXh();this.D=a}var EXh;H(CXh,K);CXh.prototype.qd=function(){var a=this.D.Aa(),c=a.Xa(),e=zA(c,1);c=uZb(c,1,e);for(e=0;e<c.length;e=e+1|0){var f=e>0?(+c[e-1|0]|0)+1|0:1,g=+c[e]|0;f=(new gC).ig(a,eC(dC(fC(),f),g).oa());if((g=EXh.exec(f))&&g.length>0)return g[0];if(f.length>0)return f}return null};function DXh(){DXh=r();EXh=RegExp("[^\\.\\?!\\u000b]+")};function FXh(a,c,e){Hx.call(this);this.O=this.H=!1;GXh(this,a,c,e)}H(FXh,Hx);function GXh(a,c,e,f){function g(){HXh(a)&&(Jx(a,IXh(a)),a.D.qn(a.R.Zna(),a.V))}a.H=c;a.O=e;a.R=f;a.V=g;HXh(a)||a.D.Pa(f.Zna(),g);Ix(a,IXh(a))}function HXh(a){return a.O||a.H||a.R.YH()}function IXh(a){var c=new Kx;c.put(K$f,HXh(a));return c};function JXh(a,c,e,f){var g=a.D,h={};for(p in g){var k=g[p].zd();if(Lo(k.getType(),Mi)){iEb(h,p,{});for(var l=0;l<=8;l=l+1|0)$0b(gG(k,l))&&(h[p][l]=!0)}}if(Wu(h))return a;g=[];var p=a.J;for(k=0;k<p.length;k++){var q=p[k];if(Lo(q.getType(),ml)){l=a;q=h;var u=c,w=e,y=f,z=l.yn(Mi),A=l.yn(ml);if(z){var C=l.Xa();A=Ifc(u);A.insert(0,C);u=wZg(l,u);C=new LB;for(var E=u.Yc(),F=0;F<E.length;F++){var I=E[F],J=u.get(I).zd(),N=oG(A,I);if(N=z.D.get(N)?z.D.get(N):z.F){N=N.zd();var W=MC(N);W!=null&&W in q&&NC(N)in
q[W]&&LC(N)&&LC(N).D==1&&KXh(l,N,w,y)&&(J=J.clone(),J.Oc({ts_st:!0}))}C.set(I,J)}l=BWg(ml,(jB(),kB),C)}else l=A;g.push(l)}else if(Lo(q.getType(),Mi)){l=a;w=q;y=h;z=e;A=f;u=w.D;C=u.Yc();q=new LB;for(E=0;E<C.length;E++)F=C[E],I=u.get(F).zd(),q.set(F,LXh(l,I,y,z,A));u=w.H&&w.H.zd()?LXh(l,w.H.zd(),y,z,A):null;l=w.F&&w.F.zd()?LXh(l,w.F.zd(),y,z,A):null;l=AWg(Mi,(Vmc(),Ymc),q,u,l);g.push(l)}else g.push(q)}return new WB(a.Xa(),ru(g),a.V,a.O,a.W,a.F,a.D,a.R,a.ea,a.H)}
function LXh(a,c,e,f,g){var h=MC(c);if(!(h!=null&&h in e&&NC(c)in e[h]&&LC(c)&&LC(c).D==1&&KXh(a,c,f,g)))return c;a=c.clone();c=OC(c).xd();c.ts_st=!0;a.Oc({ls_ts:c});return a}function KXh(a,c,e,f){(e=!f||!e)||(e=gG(a.D[MC(c)].zd(),NC(c)).D!=18);return e};function MXh(){}H(MXh,fH);MXh.prototype.D=function(a){return new NXh(a)};function NXh(a){OXh();nF.call(this,jlg,a)}var PXh;H(NXh,gH);
NXh.prototype.Vc=function(){var a=this.getContext().ub().Aa(),c=this.getContext().ub().hb().getSelection(),e=c.D;c=c.zc;switch(c.getType()){case 1:a=c.getId();qF(this,new Rnd(this.getContext(),a));this.D=new QXh(!0);break;case 5:case 6:a=a.og(c);a!=-1&&(qF(this,GG(this.getContext(),[new Yv(a,a)])),pF(this,BC(tC(a)),!0));this.D=new QXh(!0);break;case 4:e=XZg(this.getContext().ub().Aa(),c).D;qF(this,new cAd(this.getContext(),e,!0));this.D=new QXh(!0);break;default:e.length==0?this.D=new QXh(null):(qF(this,
new cAd(this.getContext(),e,!0)),this.D=new QXh(!0))}};function OXh(){OXh=r();PXh=new MXh};function QXh(a){this.Xc=jlg;this.D=!1;this.D=!0===a}H(QXh,GD);QXh.prototype.FQ=function(a){return a instanceof QXh?new QXh(this.D||a.D):null};function RXh(a,c){var e=new ksc,f=0,g=0,h=a.D,k;for(k in h){var l=h[k].zd();hec(l)&&(l=l.Kd.getType(),l==0?f=f+1|0:l==2&&(g=g+1|0))}Mq(e,1,f);Mq(e,3,g);a=a.Xa();Mq(e,4,a.length);a=OKb(a,"\u0010");Mq(e,2,a);Lq(e,5,!0);switch(c){case ui:c=1;break;case ik:c=2;break;case wk:c=3;break;case U$a:c=4;break;default:c=0}Sq(e,6,c);return e};function SXh(a,c){this.D=a;this.ke=c}H(SXh,K);SXh.prototype.Hb=function(a){var c={};cv(c,OPg,this.D.Hb(a.D));var e=a.H;e&&cv(c,"concrete",this.D.Hb(e));(e=a.J)&&cv(c,"raw",this.D.Hb(e));cv(c,x$f,xuh(a.F));return c};SXh.prototype.ud=function(a){var c=this.D.ud(a.resolved),e=$u(a,"concrete");e=e&&this.ke.Ha(tPa)?this.D.ud(e):null;var f=$u(a,"raw");f=f&&this.ke.Ha(tPa)?this.D.ud(f):null;a=yuh(a.autotext_content);return new l_g(c,e,f,a)};function TXh(){}H(TXh,K);TXh.prototype.otd=function(a){return UXh(this.Vgb,a)};function VXh(a,c){c.Vgb=a.Vgb;c.NPd=!0};function WXh(a,c,e){XXh();var f=new TXh;f.Vgb=this;this.J=Om(TXh.prototype.otd,f,VXh);this.D=a;this.F=c;this.H=e}H(WXh,K);
WXh.prototype.Hb=function(a){for(var c={dsl_spacers:a.Xa()},e=[],f=a.J,g=0;g<f.length;g++)e.push(f[g].Hb());bv(c,vpg,e);e=[];f=a.V;for(g=0;g<f.length;g++)e.push(f[g].Hb());bv(c,spg,e);cv(c,xpg,a.O.Hb());cv(c,wpg,a.W.Hb());e={};for(var h in a.F){f=a.F[h];g=[];for(var k in f){var l=Number(k),p=g,q=l;l=tv(f[l]);p[q]=l}bv(e,h,g)}cv(c,qpg,e);h={};k={};e={};f=a.D;for(var u in f)g=f[u],(p=g.zd())?(cv(h,u,p.xd()),av(k,u,p.getType()),g=g.J,g!=null&&av(e,u,g)):(h[u]=null,k[u]=null);cv(c,ppg,h);cv(c,rpg,k);
cv(c,opg,e);u={};h=a.R;for(var w in h)cv(u,w,this.Hb(h[w]));cv(c,upg,u);cv(c,tpg,a.H);return c};
WXh.prototype.ud=function(a){this.H.Ha(XNa)||(a=UXh(this,a));for(var c=a.dsl_spacers,e=$u(a,vpg),f=[],g=0;g<e.length;g=g+1|0){var h=Nmh(e[g],this.F);h&&f.push(h)}g=$u(a,spg);e=[];for(h=0;h<g.length;h=h+1|0){var k=Nmh(g[h],this.F);k&&e.push(k)}g=a.dsl_suggestedinsertions==null?null:Omh(a.dsl_suggestedinsertions);h=a.dsl_suggesteddeletions==null?null:Omh(a.dsl_suggesteddeletions);var l=$u(a,qpg);k={};for(var p in l)if(this.D.isEnabled(p)){for(var q=$u(l,p),u=[],w=0;w<q.length;w=w+1|0)if(q[w]!=null){var y=
u,z=w,A=uv(q[w]);Lt(y,z,A)}Ru(k,p,u)}l=$u(a,ppg);q=$u(a,rpg);u=opg in a?$u(a,opg):{};p={};for(var C in l)y=q[C],this.D.isEnabled(y)&&(w=l[C],y=Uid(this.D,y,C,w),y.Oc(w),Ru(p,C,new inc(y,u[C])));l=$u(a,upg);C={};for(var E in l)q=C,u=E,w=this.ud(l[E]),Ru(q,u,w);a=$u(a,tpg);return new WB(c,ru(f),ru(e),g,h,k,p,C,null,a)};function YXh(a,c){XXh();try{var e=y5g(c);return e?a.ud(e):null}catch(g){var f=Zm(g);if(an(f))return null;throw f.Ea;}}
function UXh(a,c){var e={},f;for(f in c)switch(f){case "b_a_i":case Koa:case Moa:case Ooa:case Qoa:case Soa:case Uoa:break;default:var g=c[f];g==null?e[f]=null:Array.isArray(g)?bv(e,f,ZXh(a,g,a.J)):Ju(g)?cv(e,f,UXh(a,g)):dv(e,f,g)}return e}function ZXh(a,c,e){for(var f=[],g=0;g<c.length;g++){var h=c[g];Array.isArray(h)?f.push(ZXh(a,h,e)):Ju(h)?f.push(e(h)):Nu(f,h)}return f}
function XXh(){XXh=r();vx(ux(ux(ux(ux(ux(ux(ux(ux(ux(ux(ux(RIb(),"dsl_spacers"),vpg),spg),xpg),wpg),qpg),ppg),rpg),opg),upg),tpg))};function $Xh(a){this.D=a}H($Xh,K);function aYh(a,c){var e=c.D,f=[],g;for(g in e){var h=e[g],k=fuh(h.zd(),0);if(k){!DB(k)||f.push(DB(k));k=uA(h);for(var l=0;l<k.length;l++){var p=h.Rk(k[l]);p&&(p=p.Kd,!DB(p)||f.push(DB(p)))}}else h=idc(h),no(h)&&(k=oo(h).getType(),l=c.H[k][g],a.D&&(h=f,k=AE(a.D,k).D(l),Xt(h,k)))}return f};function bYh(a,c,e,f,g,h,k,l,p,q,u){this.ma=a;this.J=c;this.F=e;this.H=h;this.O=f;this.ea=p;this.R=g;this.va=k;this.V=l;this.W=q;this.D=u?u:[]}H(bYh,K);bYh.prototype.ug=x(Vi);function cYh(){}H(cYh,fH);cYh.prototype.D=function(a){return new dYh(a)};function dYh(a){eYh();nF.call(this,klg,a)}var fYh;H(dYh,gH);dYh.prototype.Vc=function(a){var c=a.ug();c.getType()==0&&qF(this,new gYh(this.getContext(),c,a.J,a.F,a.O,a.R,a.H,a.va,a.V,a.ea,a.W,a.D))};function eYh(){eYh=r();fYh=new cYh};function gYh(a,c,e,f,g,h,k,l,p,q,u,w){this.D=a;this.J=c;this.ea=e;this.V=f;this.R=g;this.va=h;this.W=k;this.Da=l;this.wa=p;this.Ca=q;this.za=u;this.O=w?w:[]}H(gYh,BG);
gYh.prototype.H=function(){var a=this.getContext().ub(),c=a.Aa(),e=c.Xa();a=a.hb();for(var f=a.getSelection(),g=$gd(f.D),h=this.J.D,k=[],l=0;l<this.O.length;l=l+1|0){var p=this.O[l],q=c.Te(p);q==-1||g.contains(q,q)||(Lo(BA(e,q),"*")?g.add(q,q):k.push(p))}g=g.D;(e=g.length>0)&&(f=Hjc(tC(Ln(g[0].start)),iu(g)));l=f.zc.getType()==6;if(!e&&k.length==0&&!l||Ejc(f,this.J))Apd(c,f,null)||iF(this,BC(this.J),!0);else{q=new BXh;p=null;if(e||l)p=hYh(c,f,this.R,q,null);for(var u=0;u<k.length;u=u+1|0)p=hYh(c,
BC(new Und(k[u])),this.R,q,p);q=this.za;u=this.Ca;if(q){var w=p.Rh(),y=w.D,z={},A;for(A in y){var C=y[A];if(hec(C.zd())){var E=C.zd();if(E.Kd instanceof Zdc){C=QB.prototype.dC.call(C);E=E.Kd;var F=E.getId();F!=null&&