function sQ(a){var b=$doc.createElement(Ad);GJ(fg,b.tagName);this.ob=b;this.b=new oK(this.ob);this.ob[fd]="gwt-HTML";nK(this.b,a,!0);wK(this)}q(346,347,{14:1,16:1,18:1,19:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,31:1,32:1,33:1,37:1,38:1,39:1,40:1,41:1,42:1,43:1,44:1,45:1,46:1,48:1,50:1,54:1,59:1,69:1,70:1,71:1,74:1,78:1,81:1,82:1,84:1},sQ);function tQ(){Uw();var a=$doc.createElement("textarea");!Js&&(Js=new Is);!Hs&&(Hs=new Gs);rv();this.ob=a;this.ob[fd]="gwt-TextArea"}q(386,387,Fh,tQ);
function uQ(a,b){var c,d;c=$doc.createElement(Cg);d=$doc.createElement(pg);d[yc]=a.a.a;d.style[Lg]=a.b.a;var e=(Ls(),Ms(d));c.appendChild(e);Ks(a.d,c);wu(a,b,d)}function vQ(){zv.call(this);this.a=(Dv(),Kv);this.b=(Lv(),Ov);this.e[Vc]=$a;this.e[Uc]=$a}q(395,340,wh,vQ);_.Ld=function(a){var b;b=Tm(a.ob);(a=Au(this,a))&&this.d.removeChild(Tm(b));return a};q(401,1,{});_.be=function(a){a.focus()};q(402,403,{});_.be=function(a){lw(a)};
function wQ(a){try{a.v=!1;var b,c,d,e,f;d=a.gb;c=a._;d||(a.ob.style[Mg]=ke,a._=!1,a.Yd());b=a.ob;b.style[ue]=0+(Ao(),zf);b.style[xg]=ab;e=~~(an()-G(a.ob,nf))>>1;f=~~($m()-G(a.ob,mf))>>1;YL(a,Ti(Wm($doc.body)+e,0),Ti(($doc.body.scrollTop||0)+f,0));d||((a._=c)?(a.ob.style[id]=Mf,a.ob.style[Mg]=Ng,ri(a.fb,200)):a.ob.style[Mg]=Ng)}finally{a.v=!0}}function xQ(a){a.f=(new jL(a.i)).mc.Oe();gu(a.f,new yQ(a),(mp(),mp(),np));a.d=E(zQ,m,61,[a.f])}
function AQ(){sM();var a,b,c,d,e,f;PM.call(this,(gN(),hN),null,!0);this.Ig();this.cb=!0;a=new sQ(this.j);this.e=new tQ;this.e.ob.style[Pg]=eb;Tt(this.e,eb);this.Gg();jM(this,"400px");f=new vQ;f.ob.style[je]=eb;f.e[Vc]=10;c=(Dv(),Ev);f.a=c;uQ(f,a);uQ(f,this.e);e=new Sv;e.e[Vc]=20;for(b=this.d,c=0,d=b.length;c<d;++c)a=b[c],Pv(e,a);uQ(f,e);xM(this,f);sL(this,!1);this.Hg()}q(647,648,NH,AQ);_.Gg=function(){xQ(this)};_.Hg=function(){var a=this.e;a.ob.readOnly=!0;var b=Xt(a.ob)+"-readonly";St(a.yd(),b,!0)};
_.Ig=function(){rL(this.H.b,"Copy")};_.d=null;_.e=null;_.f=null;_.i="Close";_.j="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 yQ(a){this.a=a}q(650,1,{},yQ);_.Yc=function(){zM(this.a,!1)};_.a=null;function BQ(a){this.a=a}q(651,1,{},BQ);
_.Cc=function(){bu(this.a.e.ob,!0);sv.be(this.a.e.ob);var a=this.a.e,b;b=Pm(a.ob,Kg).length;if(0<b&&a.jb){if(0>b)throw new IE("Length must be a positive integer. Length: "+b);if(b>Pm(a.ob,Kg).length)throw new IE("From Index: 0  To Index: "+b+"  Text Length: "+Pm(a.ob,Kg).length);try{a.ob.setSelectionRange(0,0+b)}catch(c){}}};_.a=null;function CQ(a){a.i="Cancel";a.j="Paste the text to import into the text area below.";a.b="Accept";rL(a.H.b,"Paste")}function DQ(a){sM();AQ.call(this);this.c=a}
q(653,647,NH,DQ);_.Gg=function(){xQ(this);this.a=(new jL(this.b)).mc.Oe();gu(this.a,new EQ(this),(mp(),mp(),np));this.d=E(zQ,m,61,[this.a,this.f])};_.Hg=function(){Tt(this.e,"150px")};_.Ig=function(){CQ(this)};_.Yd=function(){OM(this);Em((Bm(),Cm),new FQ(this))};_.a=null;_.b=null;_.c=null;function GQ(a){sM();DQ.call(this,a)}q(652,653,NH,GQ);_.Hg=function(){Tt(this.e,"150px");AA(new HQ(this),this.e)};_.Ig=function(){CQ(this);this.j+=" Or drag and drop a file on it."};
function HQ(a){this.a=a;this.b=new IQ(this);this.c=this.d=1}q(654,494,{},HQ);_.a=null;function IQ(a){this.a=a}q(655,1,{},IQ);_.Ze=function(a){this.a.a.e.ob[Kg]=null!=a?a:l};_.a=null;function EQ(a){this.a=a}q(659,1,{},EQ);_.Yc=function(){if(this.a.c){var a=this.a.c,b;b=new Rz(a.a,0,Pm(this.a.e.ob,Kg));HA(a.a.a,b.a)}zM(this.a,!1)};_.a=null;function FQ(a){this.a=a}q(660,1,{},FQ);_.Cc=function(){bu(this.a.e.ob,!0);sv.be(this.a.e.ob)};_.a=null;q(661,1,Eh);_.Oc=XD;
_.Pc=function(){var a,b;a=new JQ(this.a);void 0!=$wnd.FileReader?b=new GQ(a):b=new DQ(a);lM(b);wQ(b)};_.a=null;function JQ(a){this.a=a}q(662,1,{},JQ);_.a=null;q(663,1,Eh);_.Oc=XD;_.Pc=function(){var a;a=new AQ;var b=this.a,c;Tw(a.e,b);b=(c=ME(b,"\r\n|\r|\n|\n\r"),c.length);Tt(a.e,20*(10>b?b:10)+zf);Em((Bm(),Cm),new BQ(a));lM(a);wQ(a)};_.a=null;X(647);var zQ=wE(810,qP);X(653);X(652);X(661);X(662);X(663);X(650);X(651);X(659);X(660);X(654);X(655);X(346);X(395);X(386);x(KH)(5);function XD(){};