$wnd.jsme.runAsyncCallback10('var $9="data-selenium-id";function a$(){this.ob=Xx("file");this.ob[qi]="gwt-FileUpload"}y(407,388,Bn,a$);_.Je=function(a){yF(this,a)};function b$(a){var b=$doc.createElement(Ji);Kr(Gl,b.tagName);this.ob=b;this.b=new D2(this.ob);this.ob[qi]="gwt-HTML";C2(this.b,a,!0);L2(this)}y(411,412,Bn,b$);function c$(a,b){var c,d;c=$doc.createElement(dm);d=$doc.createElement(Ql);d[Sh]=a.a.a;d.style[lm]=a.b.a;var e=(oE(),pE(d));c.appendChild(e);nE(a.d,c);KF(a,b,d)}\nfunction d$(){MG.call(this);this.a=(PG(),WG);this.b=(XG(),$G);this.e[li]=kd;this.e[ki]=kd}y(460,404,yn,d$);_.cf=function(a){var b;b=Zx(a.ob);(a=OF(this,a))&&this.d.removeChild(Zx(b));return a};\nfunction e$(a){try{a.s=!1;var b,c,d,e,f;d=a.gb;c=a._;d||(a.ob.style[mm]=vj,a._=!1,a.qf());b=a.ob;b.style[Hj]=0+(Jz(),Wk);b.style[Zl]=ld;e=iy()-Tx(a.ob,Dk)>>1;f=hy()-Tx(a.ob,Ck)>>1;G4(a,m0(jy($doc)+e,0),m0(ky($doc)+f,0));d||((a._=c)?(UH(a.ob,dl),a.ob.style[mm]=nm,vt(a.fb,200)):a.ob.style[mm]=nm)}finally{a.s=!0}}function f$(a,b){var c;c=(new w3(a)).wd.qg();c.ob.setAttribute($9,"jsa_clipboard/button/"+b);return c}\nfunction g$(a){var b;b=f$("Close (ESC)","close");uF(b,new h$(a),(QA(),QA(),RA));return b}\nfunction i$(){t4();var a,b,c,d,e;S4.call(this,(k5(),l5),null,!0);this.Bj();this.cb=!0;this.ob.setAttribute($9,"jsa_clipboard/window");this.U=!0;a=new b$(this.e);this.d=new iI;this.d.ob.setAttribute($9,"jsa_clipboard/text_area");nF(this.d,qd);jF(this.d,qd);k4(this,"400px");e=new d$;e.ob.style[uj]=qd;e.e[li]=10;c=(PG(),QG);e.a=c;c$(e,a);c$(e,this.d);this.c=new dH;this.c.e[li]=20;for(b=this.zj(),c=0,d=b.length;c<d;++c)a=b[c],aH(this.c,a);c$(e,this.c);y4(this,e);I4(this,!1);uF(this.d,new j$(this),(DB(),\nDB(),EB));this.Aj()}y(825,826,p0,i$);_.zj=function(){return A(uI,o,52,[g$(this)])};_.Aj=function(){var a=this.d;a.ob.readOnly=!0;var b=oF(a.ob)+"-readonly";iF(a.Re(),b,!0)};_.Bj=function(){j5(this.H.b,"Copy")};_.qf=function(){R4(this);this.ob.style[rm]=zd};_.c=null;_.d=null;_.e="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 j$(a){this.a=a}y(828,1,{},j$);\n_.ye=function(a){27==(a.a.keyCode||0)&&A4(this.a,!1)};_.a=null;function h$(a){this.a=a}y(829,1,{},h$);_.pe=function(){A4(this.a,!1)};_.a=null;function k$(a){this.a=a}y(830,1,{},k$);_.Td=function(){pF(this.a.d.ob,!0);HG(this.a.d,!0);var a=this.a.d,b;b=Ux(a.ob,km).length;if(0<b&&a.jb){if(0>b)throw new IU("Length must be a positive integer. Length: "+b);if(b>Ux(a.ob,km).length)throw new IU("From Index: 0  To Index: "+b+"  Text Length: "+Ux(a.ob,km).length);try{a.ob.setSelectionRange(0,0+b)}catch(c){}}};\n_.a=null;function l$(a){var b;b=f$(a.a,"accept");uF(b,new m$(a),(QA(),QA(),RA));return b}function n$(a){a.e="Paste the text to import into the text area below.";a.a="Accept";j5(a.H.b,"Paste")}function o$(a){t4();i$.call(this);this.b=a}y(832,825,p0,o$);_.zj=function(){return A(uI,o,52,[l$(this),g$(this)])};_.Aj=function(){jF(this.d,"150px")};_.Bj=function(){n$(this)};_.qf=function(){R4(this);this.ob.style[rm]=zd;Cx((zx(),Ax),new p$(this))};_.a=null;_.b=null;function q$(a){t4();o$.call(this,a)}\ny(831,832,p0,q$);_.zj=function(){var a;return A(uI,o,52,[l$(this),(a=new a$,a.ob.setAttribute($9,"jsa_clipboard/button/browse_upload"),uF(a,new r$(this),(x1(),x1(),y1)),a),g$(this)])};_.Aj=function(){jF(this.d,"150px");ZM(new s$(this),this.d)};_.Bj=function(){n$(this);this.e+=" Or drag and drop a file on it."};function r$(a){this.a=a}y(833,1,{},r$);_.oe=function(a){var b,c;b=new FileReader;a=(c=a.a.target,c.files[0]);t$(b,new u$(this));b.readAsText(a)};_.a=null;function u$(a){this.a=a}\ny(834,1,{},u$);_.Gg=function(a){fI(this.a.a.d,a)};_.a=null;function s$(a){this.a=a;this.b=new v$(this);this.c=this.d=1}y(835,580,{},s$);_.a=null;function v$(a){this.a=a}y(836,1,{},v$);_.Gg=function(a){this.a.a.d.ob[km]=null!=a?a:m};_.a=null;function m$(a){this.a=a}y(840,1,{},m$);_.pe=function(){if(this.a.b){var a=this.a.b,b;b=new yL(a.a,0,Ux(this.a.d.ob,km));kS(a.a.a,b.a)}A4(this.a,!1)};_.a=null;function p$(a){this.a=a}y(841,1,{},p$);_.Td=function(){pF(this.a.d.ob,!0);HG(this.a.d,!0)};_.a=null;\ny(842,1,Fn);_.ge=function(){var a,b;a=new w$(this.a);void 0!=$wnd.FileReader?b=new q$(a):b=new o$(a);m4(b);e$(b)};function w$(a){this.a=a}y(843,1,{},w$);_.a=null;y(844,1,Fn);_.ge=function(){var a;a=new i$;var b=this.a,c,d;fI(a.d,b);c=(d=fV(b,"\\r\\n|\\r|\\n|\\n\\r"),d.length);1>=c&&(c=~~(b.length/16));jF(a.d,20*(10>c+1?c+1:10)+Wk);Cx((zx(),Ax),new k$(a));m4(a);e$(a)};function t$(a,b){a.onload=function(a){b.Gg(a.target.result)}}Y(825);Y(832);Y(831);Y(843);Y(828);Y(829);Y(830);Y(840);Y(841);Y(833);Y(834);\nY(835);Y(836);Y(411);Y(460);Y(407);N(o0)(10);\n//@ sourceURL=10.js\n')
