$wnd.jsme.runAsyncCallback5('function qQ(){this.pb=Ym("file");this.pb[Zc]="gwt-FileUpload";this.a=new rQ;this.a.c=this;if(-1==this.lb){var a=this.pb,b=4096|(this.pb.__eventBits||0);ut();su(a,b)}else this.lb|=4096}r(350,331,Zh,qQ);_.ud=function(a){var b;a:{b=this.a;switch(st(a.type)){case 1024:if(!b.a){b.b=!0;b=!1;break a}break;case 4096:if(b.b){b.a=!0;var c=b.c.pb,d=an(Xc,!0);c.dispatchEvent(d);b.a=!1;b.b=!1}}b=!0}b&&Ou(this,a)};_.a=null;r(351,1,{});function rQ(){}r(352,351,{},rQ);_.a=!1;_.b=!1;_.c=null;\nfunction sQ(a){var b=$doc.createElement(Fd);SJ(kg,b.tagName);this.pb=b;this.b=new AK(this.pb);this.pb[Zc]="gwt-HTML";zK(this.b,a,!0);IK(this)}r(356,357,Zh,sQ);function tQ(){qx();var a=$doc.createElement("textarea");!lt&&(lt=new kt);!jt&&(jt=new it);this.pb=a;this.pb[Zc]="gwt-TextArea"}r(396,397,Zh,tQ);function uQ(a,b){var c,d;c=$doc.createElement(Hg);d=$doc.createElement(ug);d[Bc]=a.a.a;d.style[Qg]=a.b.a;var e=(nt(),ot(d));c.appendChild(e);mt(a.d,c);$u(a,b,d)}\nfunction yQ(){Yv.call(this);this.a=(aw(),hw);this.b=(iw(),lw);this.e[Vc]=$a;this.e[Uc]=$a}r(405,347,yh,yQ);_.Pd=function(a){var b;b=$m(a.pb);(a=dv(this,a))&&this.d.removeChild($m(b));return a};\nfunction zQ(a){try{a.w=!1;var b,c,d;d=a.hb;c=a.ab;d||(a.pb.style[Rg]=pe,a.ab=!1,a.ae());b=a.pb;b.style[ze]=0+(Io(),Ff);b.style[Cg]=ab;iM(a,Ui(hn($doc)+(gn()-Vm(a.pb,tf)>>1),0),Ui(jn($doc)+(fn()-Vm(a.pb,sf)>>1),0));d||((a.ab=c)?(a.pb.style[jd]=Sf,a.pb.style[Rg]=Sg,vi(a.gb,200)):a.pb.style[Rg]=Sg)}finally{a.w=!0}}function AQ(a){a.i=(new vL(a.j)).rc.Re();Ku(a.i,new BQ(a),(Np(),Np(),Op));a.d=F(Dx,q,40,[a.i])}\nfunction CQ(){DM();var a,b,c,d,e;$M.call(this,(rN(),sN),null,!0);this.Pg();this.db=!0;a=new sQ(this.k);this.f=new tQ;this.f.pb.style[Ug]=cb;wu(this.f,cb);this.Ng();uM(this,"400px");e=new yQ;e.pb.style[oe]=cb;e.e[Vc]=10;c=(aw(),bw);e.a=c;uQ(e,a);uQ(e,this.f);this.e=new pw;this.e.e[Vc]=20;for(b=this.d,c=0,d=b.length;c<d;++c)a=b[c],mw(this.e,a);uQ(e,this.e);IM(this,e);EL(this,!1);this.Og()}r(662,663,WH,CQ);_.Ng=function(){AQ(this)};\n_.Og=function(){var a=this.f;a.pb.readOnly=!0;var b=Au(a.pb)+"-readonly";vu(a.Cd(),b,!0)};_.Pg=function(){DL(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 BQ(a){this.a=a}r(665,1,{},BQ);_.ad=function(){KM(this.a,!1)};_.a=null;function DQ(a){this.a=a}r(666,1,{},DQ);\n_.Ic=function(){Fu(this.a.f.pb,!0);this.a.f.pb.focus();var a=this.a.f,b;b=Wm(a.pb,Pg).length;if(0<b&&a.kb){if(0>b)throw new oF("Length must be a positive integer. Length: "+b);if(b>Wm(a.pb,Pg).length)throw new oF("From Index: 0  To Index: "+b+"  Text Length: "+Wm(a.pb,Pg).length);try{a.pb.setSelectionRange(0,0+b)}catch(c){}}};_.a=null;function EQ(a){AQ(a);a.a=(new vL(a.b)).rc.Re();Ku(a.a,new FQ(a),(Np(),Np(),Op));a.d=F(Dx,q,40,[a.a,a.i])}\nfunction GQ(a){a.j="Cancel";a.k="Paste the text to import into the text area below.";a.b="Accept";DL(a.I.b,"Paste")}function HQ(a){DM();CQ.call(this);this.c=a}r(668,662,WH,HQ);_.Ng=function(){EQ(this)};_.Og=function(){wu(this.f,"150px")};_.Pg=function(){GQ(this)};_.ae=function(){ZM(this);Lm((Im(),Jm),new IQ(this))};_.a=null;_.b=null;_.c=null;function JQ(a){DM();HQ.call(this,a)}r(667,668,WH,JQ);_.Ng=function(){var a;EQ(this);a=new qQ;Ku(a,new KQ(this),(lJ(),lJ(),mJ));this.d=F(Dx,q,40,[this.a,a,this.i])};\n_.Og=function(){wu(this.f,"150px");XA(new LQ(this),this.f)};_.Pg=function(){GQ(this);this.k+=" Or drag and drop a file on it."};function KQ(a){this.a=a}r(669,1,{},KQ);_._c=function(a){var b,c;b=new FileReader;a=(c=a.a.target,c.files[0]);MQ(b,new NQ(this));b.readAsText(a)};_.a=null;function NQ(a){this.a=a}r(670,1,{},NQ);_.af=function(a){qA();px(this.a.a.f,a)};_.a=null;function LQ(a){this.a=a;this.b=new OQ(this);this.c=this.d=1}r(671,501,{},LQ);_.a=null;function OQ(a){this.a=a}r(672,1,{},OQ);\n_.af=function(a){this.a.a.f.pb[Pg]=null!=a?a:l};_.a=null;function FQ(a){this.a=a}r(676,1,{},FQ);_.ad=function(){if(this.a.c){var a=this.a.c,b;b=new nA(a.a,0,Wm(this.a.f.pb,Pg));dB(a.a.a,b.a)}KM(this.a,!1)};_.a=null;function IQ(a){this.a=a}r(677,1,{},IQ);_.Ic=function(){Fu(this.a.f.pb,!0);this.a.f.pb.focus()};_.a=null;r(678,1,vh);_.Tc=function(){var a,b;a=new PQ(this.a);void 0!=$wnd.FileReader?b=new JQ(a):b=new HQ(a);wM(b);zQ(b)};function PQ(a){this.a=a}r(679,1,{},PQ);_.a=null;r(680,1,vh);\n_.Tc=function(){var a;a=new CQ;var b=this.a,c;px(a.f,b);b=(c=tF(b,"\\r\\n|\\r|\\n|\\n\\r"),c.length);wu(a.f,20*(10>b?b:10)+Ff);Lm((Im(),Jm),new DQ(a));wM(a);zQ(a)};function MQ(a,b){a.onload=function(a){b.af(a.target.result)}}V(662);V(668);V(667);V(679);V(665);V(666);V(676);V(677);V(669);V(670);V(671);V(672);V(356);V(405);V(396);V(350);V(351);V(352);x(TH)(5);\n//@ sourceURL=5.js\n')
