function qQ(a){var b=$doc.createElement(Ad);FJ(fg,b.tagName);this.ob=b;this.b=new nK(this.ob);this.ob[fd]="gwt-HTML";mK(this.b,a,!0);vK(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},qQ);function rQ(){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,rQ);
function sQ(a,b){var c,d;c=$doc.createElement(Fg);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 tQ(){zv.call(this);this.a=(Dv(),Kv);this.b=(Lv(),Ov);this.e[Vc]=$a;this.e[Uc]=$a}q(395,340,wh,tQ);_.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 uQ(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;XL(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 vQ(a){a.f=(new iL(a.i)).mc.Oe();gu(a.f,new wQ(a),(mp(),mp(),np));a.d=E(xQ,m,61,[a.f])}
function yQ(){rM();var a,b,c,d,e,f;OM.call(this,(fN(),gN),null,!0);this.Ig();this.cb=!0;a=new qQ(this.j);this.e=new rQ;this.e.ob.style[Pg]=eb;Tt(this.e,eb);this.Gg();iM(this,"400px");f=new tQ;f.ob.style[je]=eb;f.e[Vc]=10;c=(Dv(),Ev);f.a=c;sQ(f,a);sQ(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);sQ(f,e);wM(this,f);rL(this,!1);this.Hg()}q(647,648,NH,yQ);_.Gg=function(){vQ(this)};_.Hg=function(){var a=this.e;a.ob.readOnly=!0;var b=Xt(a.ob)+"-readonly";St(a.yd(),b,!0)};
_.Ig=function(){qL(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 wQ(a){this.a=a}q(650,1,{},wQ);_.Yc=function(){yM(this.a,!1)};_.a=null;function zQ(a){this.a=a}q(651,1,{},zQ);
_.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 AQ(a){a.i="Cancel";a.j="Paste the text to import into the text area below.";a.b="Accept";qL(a.H.b,"Paste")}function BQ(a){rM();yQ.call(this);this.c=a}
q(653,647,NH,BQ);_.Gg=function(){vQ(this);this.a=(new iL(this.b)).mc.Oe();gu(this.a,new CQ(this),(mp(),mp(),np));this.d=E(xQ,m,61,[this.a,this.f])};_.Hg=function(){Tt(this.e,"150px")};_.Ig=function(){AQ(this)};_.Yd=function(){NM(this);Em((Bm(),Cm),new DQ(this))};_.a=null;_.b=null;_.c=null;function EQ(a){rM();BQ.call(this,a)}q(652,653,NH,EQ);_.Hg=function(){Tt(this.e,"150px");AA(new FQ(this),this.e)};_.Ig=function(){AQ(this);this.j+=" Or drag and drop a file on it."};
function FQ(a){this.a=a;this.b=new GQ(this);this.c=this.d=1}q(654,494,{},FQ);_.a=null;function GQ(a){this.a=a}q(655,1,{},GQ);_.Ze=function(a){this.a.a.e.ob[Kg]=null!=a?a:l};_.a=null;function CQ(a){this.a=a}q(659,1,{},CQ);_.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)}yM(this.a,!1)};_.a=null;function DQ(a){this.a=a}q(660,1,{},DQ);_.Cc=function(){bu(this.a.e.ob,!0);sv.be(this.a.e.ob)};_.a=null;q(661,1,Eh);_.Oc=Dq;
_.Pc=function(){var a,b;a=new HQ(this.a);void 0!=$wnd.FileReader?b=new EQ(a):b=new BQ(a);kM(b);uQ(b)};_.a=null;function HQ(a){this.a=a}q(662,1,{},HQ);_.a=null;q(663,1,Eh);_.Oc=Dq;_.Pc=function(){var a;a=new yQ;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 zQ(a));kM(a);uQ(a)};_.a=null;X(647);var xQ=wE(810,oP);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 Dq(){};