$wnd.jsme.runAsyncCallback5('function HQ(){this.pb=jn("file");this.pb[hd]="gwt-FileUpload"}r(355,336,Nh,HQ);_.yd=function(a){Yu(this,a)};function IQ(a){var b=$doc.createElement(Hd);jK(qg,b.tagName);this.pb=b;this.b=new SK(this.pb);this.pb[hd]="gwt-HTML";RK(this.b,a,!0);$K(this)}r(359,360,Nh,IQ);function JQ(){Gx();var a=$doc.createElement("textarea");!vt&&(vt=new ut);!tt&&(tt=new st);dw();this.pb=a;this.pb[hd]="gwt-TextArea"}r(399,400,Nh,JQ);\nfunction KQ(a,b){var c,d;c=$doc.createElement(Qg);d=$doc.createElement(Ag);d[Bc]=a.a.a;d.style[Wg]=a.b.a;var e=(xt(),yt(d));c.appendChild(e);wt(a.d,c);jv(a,b,d)}function OQ(){lw.call(this);this.a=(pw(),ww);this.b=(xw(),Aw);this.e[Xc]=$a;this.e[Wc]=$a}r(408,352,Vh,OQ);_.Td=function(a){var b;b=ln(a.pb);(a=nv(this,a))&&this.d.removeChild(ln(b));return a};r(414,1,{});_.je=function(a){a.focus()};r(415,416,{});_.je=function(a){Yw(a)};\nfunction PQ(a){try{a.w=!1;var b,c,d,e,f;d=a.hb;c=a.ab;d||(a.pb.style[Xg]=se,a.ab=!1,a.ee());b=a.pb;b.style[Ce]=0+(So(),Pf);b.style[Ig]=ab;e=~~(tn()-en(a.pb,wf))>>1;f=~~(sn()-en(a.pb,vf))>>1;AM(a,bj(on($doc.body)+e,0),bj(($doc.body.scrollTop||0)+f,0));d||((a.ab=c)?(a.pb.style[ld]=Vf,a.pb.style[Xg]=Yg,Ai(a.gb,200)):a.pb.style[Xg]=Yg)}finally{a.w=!0}}function QQ(a){a.i=(new NL(a.j)).rc.We();Uu(a.i,new RQ(a),(Xp(),Xp(),Yp));a.d=F(Tx,q,40,[a.i])}\nfunction SQ(){VM();var a,b,c,d,e;rN.call(this,(JN(),KN),null,!0);this.Ug();this.db=!0;a=new IQ(this.k);this.f=new JQ;this.f.pb.style[$g]=cb;Gu(this.f,cb);this.Sg();MM(this,"400px");e=new OQ;e.pb.style[re]=cb;e.e[Xc]=10;c=(pw(),qw);e.a=c;KQ(e,a);KQ(e,this.f);this.e=new Ew;this.e.e[Xc]=20;for(b=this.d,c=0,d=b.length;c<d;++c)a=b[c],Bw(this.e,a);KQ(e,this.e);$M(this,e);WL(this,!1);this.Tg()}r(667,668,qI,SQ);_.Sg=function(){QQ(this)};\n_.Tg=function(){var a=this.f;a.pb.readOnly=!0;var b=Ku(a.pb)+"-readonly";Fu(a.Gd(),b,!0)};_.Ug=function(){VL(this.I.b,"Copy")};_.d=null;_.e=null;_.f=null;_.i=null;_.j="Close";_.k="Press Ctrl-C (Command-C on Mac) or right click (Option-click on Mac) on the selected text to copy it, then paste into another program.";function RQ(a){this.a=a}r(670,1,{},RQ);_.ed=function(){bN(this.a,!1)};_.a=null;function TQ(a){this.a=a}r(671,1,{},TQ);\n_.Ic=function(){Pu(this.a.f.pb,!0);ew.je(this.a.f.pb);var a=this.a.f,b;b=fn(a.pb,Vg).length;if(0<b&&a.kb){if(0>b)throw new KF("Length must be a positive integer. Length: "+b);if(b>fn(a.pb,Vg).length)throw new KF("From Index: 0  To Index: "+b+"  Text Length: "+fn(a.pb,Vg).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.a=null;function UQ(a){QQ(a);a.a=(new NL(a.b)).rc.We();Uu(a.a,new VQ(a),(Xp(),Xp(),Yp));a.d=F(Tx,q,40,[a.a,a.i])}\nfunction WQ(a){a.j="Cancel";a.k="Paste the text to import into the text area below.";a.b="Accept";VL(a.I.b,"Paste")}function XQ(a){VM();SQ.call(this);this.c=a}r(673,667,qI,XQ);_.Sg=function(){UQ(this)};_.Tg=function(){Gu(this.f,"150px")};_.Ug=function(){WQ(this)};_.ee=function(){qN(this);Vm((Sm(),Tm),new YQ(this))};_.a=null;_.b=null;_.c=null;function ZQ(a){VM();XQ.call(this,a)}r(672,673,qI,ZQ);_.Sg=function(){var a;UQ(this);a=new HQ;Uu(a,new $Q(this),(DJ(),DJ(),EJ));this.d=F(Tx,q,40,[this.a,a,this.i])};\n_.Tg=function(){Gu(this.f,"150px");rB(new aR(this),this.f)};_.Ug=function(){WQ(this);this.k+=" Or drag and drop a file on it."};function $Q(a){this.a=a}r(674,1,{},$Q);_.dd=function(a){var b,c;b=new FileReader;a=(c=qn(a.a),c.files[0]);bR(b,new cR(this));b.readAsText(a)};_.a=null;function cR(a){this.a=a}r(675,1,{},cR);_.ff=function(a){LA();Fx(this.a.a.f,a)};_.a=null;function aR(a){this.a=a;this.b=new dR(this);this.c=this.d=1}r(676,506,{},aR);_.a=null;function dR(a){this.a=a}r(677,1,{},dR);\n_.ff=function(a){this.a.a.f.pb[Vg]=null!=a?a:j};_.a=null;function VQ(a){this.a=a}r(681,1,{},VQ);_.ed=function(){if(this.a.c){var a=this.a.c,b;b=new IA(a.a,0,fn(this.a.f.pb,Vg));yB(a.a.a,b.a)}bN(this.a,!1)};_.a=null;function YQ(a){this.a=a}r(682,1,{},YQ);_.Ic=function(){Pu(this.a.f.pb,!0);ew.je(this.a.f.pb)};_.a=null;r(683,1,Th);_.Xc=function(){var a,b;a=new eR(this.a);void 0!=$wnd.FileReader?b=new ZQ(a):b=new XQ(a);OM(b);PQ(b)};function eR(a){this.a=a}r(684,1,{},eR);_.a=null;r(685,1,Th);\n_.Xc=function(){var a;a=new SQ;var b=this.a,c;Fx(a.f,b);b=(c=PF(b,"\\r\\n|\\r|\\n|\\n\\r"),c.length);Gu(a.f,20*(10>b?b:10)+Pf);Vm((Sm(),Tm),new TQ(a));OM(a);PQ(a)};function bR(a,b){a.onload=function(a){b.ff(a.target.result)}}V(667);V(673);V(672);V(684);V(670);V(671);V(681);V(682);V(674);V(675);V(676);V(677);V(359);V(408);V(399);V(355);x(oI)(5);\n//@ sourceURL=5.js\n')
