$wnd.showcase.runAsyncCallback7("function yoc(){zoc.call(this,false)}\nfunction Uoc(a,b){Woc.call(this,a,false);this.b=b}\nfunction Voc(a,b){Woc.call(this,a,false);Toc(this,b)}\nfunction Xoc(a){Woc.call(this,'GWT',true);Toc(this,a)}\nfunction yTb(a){this.c=a;this.b=lHb(this.c.a)}\nfunction coc(a,b){return joc(a,b,a.a.b.length)}\nfunction Toc(a,b){a.e=b;!!a.d&&xoc(a.d,a);tp(b.hb,-1);Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,Kfb(Ifb(VAb,1),NOc,112,0,[(WCc(),WCc(),VCc)]))}\nfunction joc(a,b,c){if(c<0||c>a.a.b.length){throw new PCc}a.o&&qp(b.hb,wUc,2);boc(a,c,b.hb);QIc(a.a,c,b);return b}\nfunction Zoc(){var a;hh(this,Sp($doc,rTc));np(this.hb,'gwt-MenuItemSeparator');a=Sp($doc,jPc);To(this.hb,Acc(a));np(a,'menuSeparatorInner')}\nfunction hHb(a){var b,c;b=Rfb(a.a.Wh(QUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,2,4,['New','Open','Close',RUc,'Exit']);a.a.Xh(QUc,c);return c}else{return b}}\nfunction gHb(a){var b,c;b=Rfb(a.a.Wh(PUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.Xh(PUc,c);return c}else{return b}}\nfunction kHb(a){var b,c;b=Rfb(a.a.Wh(UUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,2,4,['Contents','Fortune Cookie','About GWT']);a.a.Xh(UUc,c);return c}else{return b}}\nfunction jHb(a){var b,c;b=Rfb(a.a.Wh(TUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,2,4,['Download','Examples',KRc,\"GWT wit' the program\"]);a.a.Xh(TUc,c);return c}else{return b}}\nfunction iHb(a){var b,c;b=Rfb(a.a.Wh(SUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.Xh(SUc,c);return c}else{return b}}\nfunction lHb(a){var b,c;b=Rfb(a.a.Wh(VUc),5);if(b==null){c=Kfb(Ifb(lBb,1),RQc,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.Xh(VUc,c);return c}else{return b}}\nfunction vTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new yTb(a);o=new yoc;o.b=true;Jq(o.hb.style,bPc,'500px');o.e=true;r=new zoc(true);q=iHb(a.a);for(k=0;k<q.length;k++){aoc(r,new Uoc(q[k],p))}d=new zoc(true);d.e=true;aoc(o,new Voc('File',d));e=hHb(a.a);for(l=0;l<e.length;l++){if(l==3){coc(d,new Zoc);aoc(d,new Voc(e[3],r));coc(d,new Zoc)}else{aoc(d,new Uoc(e[l],p))}}b=new zoc(true);aoc(o,new Voc('Edit',b));c=gHb(a.a);for(m=0;m<c.length;m++){aoc(b,new Uoc(c[m],p))}f=new zoc(true);aoc(o,new Xoc(f));g=jHb(a.a);for(n=0;n<g.length;n++){aoc(f,new Uoc(g[n],p))}h=new zoc(true);coc(o,new Zoc);aoc(o,new Voc('Help',h));i=kHb(a.a);for(j=0;j<i.length;j++){aoc(h,new Uoc(i[j],p))}xwc(o.hb,'','cwMenuBar');woc(o,'cwMenuBar');return o}\nvar PUc='cwMenuBarEditOptions',QUc='cwMenuBarFileOptions',SUc='cwMenuBarFileRecents',TUc='cwMenuBarGWTOptions',UUc='cwMenuBarHelpOptions',VUc='cwMenuBarPrompts';LCb(423,1,{},yTb);_.zc=function zTb(){pdc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var csb=sDc(TRc,'CwMenuBar/1',423);LCb(424,1,QRc);_.xc=function CTb(){cGb(this.b,vTb(this.a))};LCb(146,6,hPc,yoc);LCb(85,7,WUc,Uoc,Voc,Xoc);LCb(194,7,{9:1,194:1,7:1},Zoc);var Uxb=sDc(fPc,'MenuItemSeparator',194);sOc(Cl)(7);\n//# sourceURL=showcase-7.js\n")
