$wnd.showcase.runAsyncCallback7("function BJb(){CJb.call(this,false)}\nfunction YJb(a,b){$Jb.call(this,a,false);this.b=b}\nfunction ZJb(a,b){$Jb.call(this,a,false);XJb(this,b)}\nfunction _Jb(a){$Jb.call(this,'GWT',true);XJb(this,a)}\nfunction scb(a){this.c=a;this.b=f0(this.c.a)}\nfunction eJb(a,b){return mJb(a,b,a.a.b.length)}\nfunction XJb(a,b){a.e=b;!!a.d&&AJb(a.d,a);zp((cxb(),b.hb),-1);Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,EC(CC(TV,1),I7b,85,0,[(RXb(),RXb(),QXb)]))}\nfunction mJb(a,b,c){if(c<0||c>a.a.b.length){throw new KXb}a.o&&wp((cxb(),b.hb),zcc,2);dJb(a,c,(cxb(),b.hb));L1b(a.a,c,b);return b}\nfunction b0(a){var b,c;b=LC(a.a.$g(Tcc),5);if(b==null){c=EC(CC(jW,1),L9b,2,4,['New','Open','Close',Ucc,'Exit']);a.a._g(Tcc,c);return c}else{return b}}\nfunction a0(a){var b,c;b=LC(a.a.$g(Scc),5);if(b==null){c=EC(CC(jW,1),L9b,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a._g(Scc,c);return c}else{return b}}\nfunction e0(a){var b,c;b=LC(a.a.$g(Xcc),5);if(b==null){c=EC(CC(jW,1),L9b,2,4,['Contents','Fortune Cookie','About GWT']);a.a._g(Xcc,c);return c}else{return b}}\nfunction d0(a){var b,c;b=LC(a.a.$g(Wcc),5);if(b==null){c=EC(CC(jW,1),L9b,2,4,['Download','Examples',eac,\"GWT wit' the program\"]);a.a._g(Wcc,c);return c}else{return b}}\nfunction c0(a){var b,c;b=LC(a.a.$g(Vcc),5);if(b==null){c=EC(CC(jW,1),L9b,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a._g(Vcc,c);return c}else{return b}}\nfunction bKb(){var a;lh(this,(cxb(),$doc.createElement(Pbc)));tp(this.hb,'gwt-MenuItemSeparator');a=$doc.createElement(d8b);$o(this.hb,jxb(a));tp(a,'menuSeparatorInner')}\nfunction f0(a){var b,c;b=LC(a.a.$g(Ycc),5);if(b==null){c=EC(CC(jW,1),L9b,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._g(Ycc,c);return c}else{return b}}\nfunction pcb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new scb(a);o=new BJb;o.b=true;(cxb(),o.hb).style[Z7b]='500px';o.e=true;r=new CJb(true);q=c0(a.a);for(k=0;k<q.length;k++){cJb(r,new YJb(q[k],p))}d=new CJb(true);d.e=true;cJb(o,new ZJb('File',d));e=b0(a.a);for(l=0;l<e.length;l++){if(l==3){eJb(d,new bKb);cJb(d,new ZJb(e[3],r));eJb(d,new bKb)}else{cJb(d,new YJb(e[l],p))}}b=new CJb(true);cJb(o,new ZJb('Edit',b));c=a0(a.a);for(m=0;m<c.length;m++){cJb(b,new YJb(c[m],p))}f=new CJb(true);cJb(o,new _Jb(f));g=d0(a.a);for(n=0;n<g.length;n++){cJb(f,new YJb(g[n],p))}h=new CJb(true);eJb(o,new bKb);cJb(o,new ZJb('Help',h));i=e0(a.a);for(j=0;j<i.length;j++){cJb(h,new YJb(i[j],p))}yRb(o.hb,'','cwMenuBar');zJb(o,'cwMenuBar');return o}\nvar Scc='cwMenuBarEditOptions',Tcc='cwMenuBarFileOptions',Vcc='cwMenuBarFileRecents',Wcc='cwMenuBarGWTOptions',Xcc='cwMenuBarHelpOptions',Ycc='cwMenuBarPrompts';JX(393,1,{},scb);_.zc=function tcb(){ayb(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var cN=nYb(nac,'CwMenuBar/1',393);JX(394,1,kac);_.xc=function wcb(){Y$(this.b,pcb(this.a))};JX(119,6,b8b,BJb);JX(58,7,Zcc,YJb,ZJb,_Jb);JX(167,7,{9:1,167:1,7:1},bKb);var SS=nYb(a8b,'MenuItemSeparator',167);n7b(Jl)(7);\n//# sourceURL=showcase-7.js\n")
