$wnd.showcase.runAsyncCallback7("function toc(){uoc.call(this,false)}\nfunction Qoc(a,b){Soc.call(this,a,false);this.b=b}\nfunction Roc(a,b){Soc.call(this,a,false);Poc(this,b)}\nfunction Toc(a){Soc.call(this,'GWT',true);Poc(this,a)}\nfunction lTb(a){this.c=a;this.b=$Gb(this.c.a)}\nfunction Ync(a,b){return eoc(a,b,a.a.b.length)}\nfunction Poc(a,b){a.e=b;!!a.d&&soc(a.d,a);zp((Wbc(),b.hb),-1);Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,Dfb(Bfb(MAb,1),BOc,112,0,[(KCc(),KCc(),JCc)]))}\nfunction eoc(a,b,c){if(c<0||c>a.a.b.length){throw new DCc}a.o&&wp((Wbc(),b.hb),jUc,2);Xnc(a,c,(Wbc(),b.hb));EIc(a.a,c,b);return b}\nfunction WGb(a){var b,c;b=Kfb(a.a.Uh(DUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['New','Open','Close',EUc,'Exit']);a.a.Vh(DUc,c);return c}else{return b}}\nfunction VGb(a){var b,c;b=Kfb(a.a.Uh(CUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.Vh(CUc,c);return c}else{return b}}\nfunction ZGb(a){var b,c;b=Kfb(a.a.Uh(HUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['Contents','Fortune Cookie','About GWT']);a.a.Vh(HUc,c);return c}else{return b}}\nfunction YGb(a){var b,c;b=Kfb(a.a.Uh(GUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['Download','Examples',yRc,\"GWT wit' the program\"]);a.a.Vh(GUc,c);return c}else{return b}}\nfunction XGb(a){var b,c;b=Kfb(a.a.Uh(FUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.Vh(FUc,c);return c}else{return b}}\nfunction Voc(){var a;lh(this,(Wbc(),$doc.createElement(hTc)));tp(this.hb,'gwt-MenuItemSeparator');a=$doc.createElement(YOc);$o(this.hb,bcc(a));tp(a,'menuSeparatorInner')}\nfunction $Gb(a){var b,c;b=Kfb(a.a.Uh(IUc),5);if(b==null){c=Dfb(Bfb(cBb,1),FQc,2,4,['Thank you for selecting a menu item','A fine selection indeed',\"Don't you have anything better to do than select menu items?\",'Try something else','this is just a menu!','Another wasted click']);a.a.Vh(IUc,c);return c}else{return b}}\nfunction iTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new lTb(a);o=new toc;o.b=true;(Wbc(),o.hb).style[SOc]='500px';o.e=true;r=new uoc(true);q=XGb(a.a);for(k=0;k<q.length;k++){Wnc(r,new Qoc(q[k],p))}d=new uoc(true);d.e=true;Wnc(o,new Roc('File',d));e=WGb(a.a);for(l=0;l<e.length;l++){if(l==3){Ync(d,new Voc);Wnc(d,new Roc(e[3],r));Ync(d,new Voc)}else{Wnc(d,new Qoc(e[l],p))}}b=new uoc(true);Wnc(o,new Roc('Edit',b));c=VGb(a.a);for(m=0;m<c.length;m++){Wnc(b,new Qoc(c[m],p))}f=new uoc(true);Wnc(o,new Toc(f));g=YGb(a.a);for(n=0;n<g.length;n++){Wnc(f,new Qoc(g[n],p))}h=new uoc(true);Ync(o,new Voc);Wnc(o,new Roc('Help',h));i=ZGb(a.a);for(j=0;j<i.length;j++){Wnc(h,new Qoc(i[j],p))}rwc(o.hb,'','cwMenuBar');roc(o,'cwMenuBar');return o}\nvar CUc='cwMenuBarEditOptions',DUc='cwMenuBarFileOptions',FUc='cwMenuBarFileRecents',GUc='cwMenuBarGWTOptions',HUc='cwMenuBarHelpOptions',IUc='cwMenuBarPrompts';CCb(423,1,{},lTb);_.zc=function mTb(){Ucc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var Wrb=gDc(HRc,'CwMenuBar/1',423);CCb(424,1,ERc);_.xc=function pTb(){RFb(this.b,iTb(this.a))};CCb(146,6,WOc,toc);CCb(85,7,JUc,Qoc,Roc,Toc);CCb(194,7,{9:1,194:1,7:1},Voc);var Lxb=gDc(VOc,'MenuItemSeparator',194);gOc(Jl)(7);\n//# sourceURL=showcase-7.js\n")
