$wnd.showcase.runAsyncCallback7("function Pmc(){Qmc.call(this,false)}\nfunction jnc(a,b){lnc.call(this,a,false);this.b=b}\nfunction knc(a,b){lnc.call(this,a,false);inc(this,b)}\nfunction mnc(a){lnc.call(this,'GWT',true);inc(this,a)}\nfunction eSb(a){this.c=a;this.b=SFb(this.c.a)}\nfunction smc(a,b){return Amc(a,b,a.a.a.length)}\nfunction inc(a,b){a.e=b;!!a.d&&Omc(a.d,a);(Mac(),b.hb).tabIndex=-1;De();Ob(a.hb)}\nfunction Ob(a){Wb((rd(),md),a,veb(peb(cAb,1),bNc,223,8,[(WAc(),WAc(),true)]))}\nfunction Amc(a,b,c){if(c<0||c>a.a.a.length){throw RBb(new PAc)}a.o&&((Mac(),b.hb)[GSc]=2,undefined);rmc(a,c,(Mac(),b.hb));OGc(a.a,c,b);return b}\nfunction OFb(a){var b,c;b=ifb(OEc(a.a,_Sc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['New','Open','Close',aTc,'Exit']);REc(a.a,_Sc,c);return c}else{return b}}\nfunction NFb(a){var b,c;b=ifb(OEc(a.a,$Sc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['Undo','Redo','Cut','Copy','Paste']);REc(a.a,$Sc,c);return c}else{return b}}\nfunction RFb(a){var b,c;b=ifb(OEc(a.a,dTc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['Contents','Fortune Cookie','About GWT']);REc(a.a,dTc,c);return c}else{return b}}\nfunction QFb(a){var b,c;b=ifb(OEc(a.a,cTc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['Download','Examples',$Pc,\"GWT wit' the program\"]);REc(a.a,cTc,c);return c}else{return b}}\nfunction PFb(a){var b,c;b=ifb(OEc(a.a,bTc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);REc(a.a,bTc,c);return c}else{return b}}\nfunction nnc(){var a;mh(this,(Mac(),$doc.createElement(zRc)));this.hb.className='gwt-MenuItemSeparator';a=$doc.createElement(zNc);so(this.hb,Tac(a));a.className='menuSeparatorInner'}\nfunction SFb(a){var b,c;b=ifb(OEc(a.a,eTc),5);if(b==null){c=veb(peb(wAb,1),dPc,2,6,['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']);REc(a.a,eTc,c);return c}else{return b}}\nfunction bSb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new eSb(a);o=new Pmc;o.b=true;(Mac(),o.hb).style[tNc]='500px';o.e=true;r=new Qmc(true);q=PFb(a.a);for(k=0;k<q.length;k++){qmc(r,new jnc(q[k],p))}d=new Qmc(true);d.e=true;qmc(o,new knc('File',d));e=OFb(a.a);for(l=0;l<e.length;l++){if(l==3){smc(d,new nnc);qmc(d,new knc(e[3],r));smc(d,new nnc)}else{qmc(d,new jnc(e[l],p))}}b=new Qmc(true);qmc(o,new knc('Edit',b));c=NFb(a.a);for(m=0;m<c.length;m++){qmc(b,new jnc(c[m],p))}f=new Qmc(true);qmc(o,new mnc(f));g=QFb(a.a);for(n=0;n<g.length;n++){qmc(f,new jnc(g[n],p))}h=new Qmc(true);smc(o,new nnc);qmc(o,new knc('Help',h));i=RFb(a.a);for(j=0;j<i.length;j++){qmc(h,new jnc(i[j],p))}Fuc(o.hb,'','cwMenuBar');Nmc(o,'cwMenuBar');return o}\nvar $Sc='cwMenuBarEditOptions',_Sc='cwMenuBarFileOptions',bTc='cwMenuBarFileRecents',cTc='cwMenuBarGWTOptions',dTc='cwMenuBarHelpOptions',eTc='cwMenuBarPrompts';uCb(437,1,{},eSb);_.Dc=function fSb(){Jbc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var orb=oBc(jQc,'CwMenuBar/1',437);uCb(438,1,eQc);_.Bc=function iSb(){KEb(this.b,bSb(this.a))};uCb(148,6,xNc,Pmc);uCb(86,7,fTc,jnc,knc,mnc);uCb(196,7,{9:1,196:1,7:1},nnc);var dxb=oBc(wNc,'MenuItemSeparator',196);IMc(zl)(7);\n//# sourceURL=showcase-7.js\n")
