diff options
author | Artur Signell <artur@vaadin.com> | 2015-01-22 11:03:22 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2015-01-22 11:03:22 +0200 |
commit | ddb087f67e30f7d64835c7faa622c40748c1287c (patch) | |
tree | 86d6cf048ac2eefe198036ae89ecdf88dd3101f0 | |
parent | dc36fe54dc56c51e465fab2449dcee5a208cbddd (diff) | |
download | vaadin-core-ddb087f67e30f7d64835c7faa622c40748c1287c.tar.gz vaadin-core-ddb087f67e30f7d64835c7faa622c40748c1287c.zip |
Upgrading version 0.1.0
-rw-r--r-- | vaadin-components.html | 22544 |
1 files changed, 22018 insertions, 526 deletions
diff --git a/vaadin-components.html b/vaadin-components.html index 8fd42cc..bc47dbd 100644 --- a/vaadin-components.html +++ b/vaadin-components.html @@ -2,532 +2,22024 @@ <html> <head> <script> -$wnd = window; $doc = document;function VaadinComponents(){var N='bootstrap',O='begin',P='gwt.codesvr.VaadinComponents=',Q='gwt.codesvr=',R='VaadinComponents',S='startup',T='DUMMY',U=0,V=1,W='iframe',X='javascript:""',Y='position:absolute; width:0; height:0; border:none; left: -1000px;',Z=' top: -1000px;',$='CSS1Compat',_='<!doctype html>',ab='',bb='<html><head><\/head><body><\/body><\/html>',cb='_',db='$1',eb='script',fb='javascript',gb='meta',hb='name',ib='VaadinComponents::',jb='::',kb='gwt:property',lb='content',mb='=',nb='gwt:onPropertyErrorFn',ob='Bad handler "',pb='" for "gwt:onPropertyErrorFn"',qb='gwt:onLoadErrorFn',rb='" for "gwt:onLoadErrorFn"',sb='#',tb='?',ub='/',vb='img',wb='clear.cache.gif',xb='baseUrl',yb='VaadinComponents.nocache.js',zb='base',Ab='//',Bb='modernie',Cb='MSIE',Db='Trident',Eb='yes',Fb='none',Gb='selectorCapability',Hb='function',Ib='native',Jb='js',Kb='user.agent',Lb='webkit',Mb='safari',Nb='msie',Ob=10,Pb=11,Qb='ie10',Rb=9,Sb='ie9',Tb=8,Ub='ie8',Vb='gecko',Wb='gecko1_8',Xb=2,Yb=3,Zb=4,$b='selectingPermutation',_b='VaadinComponents.devmode.js',ac='C7324F422385CEA394B679DE61F65514',bc=':1',cc=':2',dc=':3',ec=':4',fc=':',gc='.cache.js',hc='loadExternalRefs',ic='end',jc='http:',kc='file:',lc='_gwt_dummy_',mc='__gwtDevModeHook:VaadinComponents',nc='Ignoring non-whitelisted Dev Mode URL: ',oc=':moduleBase',pc='head';var n=window;var o=document;q(N,O);function p(){var a=n.location.search;return a.indexOf(P)!=-1||a.indexOf(Q)!=-1} -function q(a,b){if(n.__gwtStatsEvent){n.__gwtStatsEvent({moduleName:R,sessionId:n.__gwtStatsSessionId,subSystem:S,evtGroup:a,millis:(new Date).getTime(),type:b})}} -VaadinComponents.__sendStats=q;VaadinComponents.__moduleName=R;VaadinComponents.__errFn=null;VaadinComponents.__moduleBase=T;VaadinComponents.__softPermutationId=U;VaadinComponents.__computePropValue=null;VaadinComponents.__getPropMap=null;VaadinComponents.__installRunAsyncCode=function(){};VaadinComponents.__gwtStartLoadingFragment=function(){return null};VaadinComponents.__gwt_isKnownPropertyValue=function(){return false};VaadinComponents.__gwt_getMetaProperty=function(){return null};var r=null;var s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[R]={moduleName:R};VaadinComponents.__moduleStartupDone=function(e){var f=s[R].bindings;s[R].bindings=function(){var a=f?f():{};var b=e[VaadinComponents.__softPermutationId];for(var c=U;c<b.length;c++){var d=b[c];a[d[U]]=d[V]}return a}};var t;function u(){v();return t} -function v(){if(t){return}var a=o.createElement(W);a.src=X;a.id=R;a.style.cssText=Y+Z;a.tabIndex=-1;o.body.appendChild(a);t=a.contentDocument;if(!t){t=a.contentWindow.document}t.open();var b=document.compatMode==$?_:ab;t.write(b+bb);t.close()} -function w(a){this[cb+a.replace(/.*([\dA-F]{32}).cache.js/,db)]()} -VaadinComponents.__startLoadingFragment=function(a){return C(a)};VaadinComponents.__installRunAsyncCode=function(a){var b=u();var c=b.body;var d=b.createElement(eb);d.language=fb;d.text=a;c.appendChild(d);c.removeChild(d)};function A(){var c={};var d;var e;var f=o.getElementsByTagName(gb);for(var g=U,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(hb),k;if(j){j=j.replace(ib,ab);if(j.indexOf(jb)>=U){continue}if(j==kb){k=i.getAttribute(lb);if(k){var l,m=k.indexOf(mb);if(m>=U){j=k.substring(U,m);l=k.substring(m+V)}else{j=k;l=ab}c[j]=l}}else if(j==nb){k=i.getAttribute(lb);if(k){try{d=eval(k)}catch(a){alert(ob+k+pb)}}}else if(j==qb){k=i.getAttribute(lb);if(k){try{e=eval(k)}catch(a){alert(ob+k+rb)}}}}}__gwt_getMetaProperty=function(a){var b=c[a];return b==null?null:b};r=d;VaadinComponents.__errFn=e} -function B(){function e(a){var b=a.lastIndexOf(sb);if(b==-1){b=a.length}var c=a.indexOf(tb);if(c==-1){c=a.length}var d=a.lastIndexOf(ub,Math.min(c,b));return d>=U?a.substring(U,d+V):ab} -function f(a){if(a.match(/^\w+:\/\//)){}else{var b=o.createElement(vb);b.src=a+wb;a=e(b.src)}return a} -function g(){var a=__gwt_getMetaProperty(xb);if(a!=null){return a}return ab} -function h(){var a=o.getElementsByTagName(eb);for(var b=U;b<a.length;++b){if(a[b].src.indexOf(yb)!=-1){return e(a[b].src)}}return ab} -function i(){var a=o.getElementsByTagName(zb);if(a.length>U){return a[a.length-V].href}return ab} -function j(){var a=o.location;return a.href==a.protocol+Ab+a.host+a.pathname+a.search+a.hash} -var k=g();if(k==ab){k=h()}if(k==ab){k=i()}if(k==ab&&j()){k=e(o.location.href)}k=f(k);return k} -function C(a){if(a.match(/^\//)){return a}if(a.match(/^[a-zA-Z]+:\/\//)){return a}return VaadinComponents.__moduleBase+a} -function D(){var f=[];var g=U;function h(a,b){var c=f;for(var d=U,e=a.length-V;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b} -var i=[];var j=[];function k(a){var b=j[a](),c=i[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(r){r(a,d,b)}throw null} -j[Bb]=function(){{var a=n.navigator.userAgent;if(a.indexOf(Cb)==-1&&a.indexOf(Db)!=-1){return Eb}return Fb}};i[Bb]={none:U,yes:V};j[Gb]=function(){return !/_force_no_native/.test(document.location.search)&&typeof document.querySelectorAll==Hb?Ib:Jb};i[Gb]={js:U,'native':V};j[Kb]=function(){var a=navigator.userAgent.toLowerCase();var b=o.documentMode;if(function(){return a.indexOf(Lb)!=-1}())return Mb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Ob&&b<Pb)}())return Qb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Rb&&b<Pb)}())return Sb;if(function(){return a.indexOf(Nb)!=-1&&(b>=Tb&&b<Pb)}())return Ub;if(function(){return a.indexOf(Vb)!=-1||b>=Pb}())return Wb;return ab};i[Kb]={gecko1_8:U,ie10:V,ie8:Xb,ie9:Yb,safari:Zb};__gwt_isKnownPropertyValue=function(a,b){return b in i[a]};VaadinComponents.__getPropMap=function(){var a={};for(var b in i){if(i.hasOwnProperty(b)){a[b]=k(b)}}return a};VaadinComponents.__computePropValue=k;n.__gwt_activeModules[R].bindings=VaadinComponents.__getPropMap;q(N,$b);if(p()){return C(_b)}var l;try{h([Fb,Jb,Wb],ac);h([Fb,Ib,Wb],ac+bc);h([Eb,Jb,Wb],ac+cc);h([Eb,Ib,Wb],ac+dc);h([Fb,Ib,Mb],ac+ec);l=f[k(Bb)][k(Gb)][k(Kb)];var m=l.indexOf(fc);if(m!=-1){g=parseInt(l.substring(m+V),Ob);l=l.substring(U,m)}}catch(a){}VaadinComponents.__softPermutationId=g;return C(l+gc)} -function F(){if(!n.__gwt_stylesLoaded){n.__gwt_stylesLoaded={}}q(hc,O);q(hc,ic)} -A();VaadinComponents.__moduleBase=B();s[R].moduleBase=VaadinComponents.__moduleBase;var G=D();if(n){var H=!!(n.location.protocol==jc||n.location.protocol==kc);n.__gwt_activeModules[R].canRedirect=H;function I(){var b=lc;try{n.sessionStorage.setItem(b,b);n.sessionStorage.removeItem(b);return true}catch(a){return false}} -if(H&&I()){var J=mc;var K=n.sessionStorage[J];if(!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(K)){if(K&&(window.console&&console.log)){console.log(nc+K)}K=ab}if(K&&!n[J]){n[J]=true;n[J+oc]=B();var L=o.createElement(eb);L.src=K;var M=o.getElementsByTagName(pc)[U];M.insertBefore(L,M.firstElementChild||M.children[U]);return false}}}F();q(N,ic);w(G);return true} -VaadinComponents.succeeded=VaadinComponents(); -function _C7324F422385CEA394B679DE61F65514(){ -var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.VaadinComponents;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats('moduleStartup', 'moduleEvalStart');var $gwt_version = "2.8.0-SNAPSHOT";var $strongName = 'C7324F422385CEA394B679DE61F65514';var $gwt = {};var $doc = $wnd.document;var $moduleName, $moduleBase;function __gwtStartLoadingFragment(frag) {var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js';return __gwtModuleFunction.__startLoadingFragment(fragFile);}function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);}function __gwt_isKnownPropertyValue(propName, propValue) {return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue);}function __gwt_getMetaProperty(name) {return __gwtModuleFunction.__gwt_getMetaProperty(name);}var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;var aa=3.141592653589793,h={3:1},ba={3:1,13:1},ca={3:1,12:1,13:1},da={3:1,12:1,10:1,13:1},ea={40:1,9:1,3:1,5:1,4:1},fa={14:1,9:1,3:1,5:1,4:1},ga={9:1,48:1,3:1,5:1,4:1},ha={9:1,49:1,3:1,5:1,4:1},ia={9:1,50:1,3:1,5:1,4:1},ja={27:1,3:1,5:1,4:1},ka={9:1,70:1,3:1,5:1,4:1},la={9:1,41:1,3:1,5:1,4:1},ma={82:1,71:1,3:1,12:1,10:1,13:1},na=4194303,oa=1048575,pa=524288,qa=4194304,ra=17592186044416,sa=-9223372036854775E3,ta={6:1},ua={44:1,45:1},va={84:1},wa={26:1,21:1,19:1,24:1,22:1,20:1,17:1},xa={26:1,21:1,19:1, -24:1,37:1,22:1,35:1,20:1,17:1},za={26:1,21:1,19:1,72:1,24:1,37:1,22:1,35:1,20:1,17:1},Ba=65536,Ca=131072,Da=1048576,Ea=2097152,Fa=8388608,Ga=16777216,Ha=33554432,Ia=67108864,Ja={26:1,21:1,19:1,85:1,24:1,37:1,22:1,35:1,20:1,17:1},Ka={42:1},La={58:1,3:1,5:1,4:1},Ma={61:1},Na={65:1},Oa={55:1},Pa={3:1,42:1,86:1},Qa={3:1,65:1},_,Ra,Sa={},Ta=-1;function Ua(){} -function Va(a){var b=this;if("$wnd"==a)return $wnd;if(""===a)return b;"$wnd."==a.substring(0,5)&&(b=$wnd,a=a.substring(5));a=a.split(".");a[0]in b||!b.execScript||b.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)b[d]?b=b[d]:b=b[d]={};return b}function Wa(a){function b(){}b.prototype=a||{};return new b}function Xa(a){var b=[!1];return function(){for(var d=[],e=0;e<arguments.length;e++){var f;f=arguments[e];f=b[e]?"number"==typeof f?Ya(f):f:f;d.push(f)}return a.apply(this,d)}} -function m(){}function s(a,b,d){var e=Sa[a],f=e instanceof Array?e[0]:null;e&&!f?_=e:(_=Sa[a]=b?Wa(Sa[b]):{},_.cM=d,_.constructor=_,!b&&(_.tM=Ua));for(e=3;e<arguments.length;++e)arguments[e].prototype=_;f&&(_.cZ=f)}function Za(a){return $a(ab(a))+"@"+(bb(a)>>>0).toString(16)}function cb(){}function db(a,b){return eb(a)?a===b:fb(a)?a.eQ(b):(gb(a),a===b)}function ab(a){return eb(a)?hb:fb(a)?a.cZ:gb(a)?a.cZ:ib}function bb(a){return eb(a)?jb(a):fb(a)?a.hC():(gb(a),kb(a))}s(1,null,{},cb);_.eQ=lb; -_.gC=function(){return this.cZ};_.hC=mb;_.tS=function(){return Za(this)};_.toString=function(){return this.tS()};nb={3:1,555:1,5:1,2:1};!Array.isArray&&(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});function ob(){return function(){}}function fb(a){return!Array.isArray(a)&&a.tM===Ua}function t(a,b){return null!=a&&(eb(a)&&!!nb[b]||a.cM&&!!a.cM[b])}function pb(a){return null!=a&&!eb(a)&&a.tM!==Ua}function gb(a){return Array.isArray(a)&&a.tM===Ua} -function eb(a){return"string"===typeof a}function qb(a){return null==a?null:a}function v(a){return Math.max(Math.min(a,2147483647),-2147483648)|0}var nb;function rb(a){if(null==a.k)if(a.Le()){var b=a.c;b.Me()?a.k="["+b.j:b.Le()?a.k="["+b.Je():a.k="[L"+b.Je()+";";a.b=b.Ie()+"[]";a.i=b.Ke()+"[]"}else{var b=a.f,d=a.d,d=d.split("/");a.k=sb(".",[b,sb("$",d)]);a.b=sb(".",[b,sb(".",d)]);a.i=d[d.length-1]}}function $a(a){rb(a);return a.k}function tb(a){rb(a);return a.i} -function ub(){this.g=vb++;this.a=this.j=this.b=this.d=this.f=this.i=this.k=null}function wb(a){var b;b=new ub;b.k="Class$"+(a?"S"+a:""+b.g);b.b=b.k;b.i=b.k;return b}function w(a){var b;b=wb(a);xb(a,b);return b}function x(a,b){var d;d=wb(a);xb(a,d);d.e=b?8:0;return d}function yb(){var a;a=wb(null);a.e=2;return a}function y(a,b){var d=a.a=a.a||[];return d[b]||(d[b]=a.He(b))}function sb(a,b){for(var d=0;!b[d]||""==b[d];)d++;for(var e=b[d++];d<b.length;d++)b[d]&&""!=b[d]&&(e+=a+b[d]);return e} -function xb(a,b){if(a){b.j=a;var d=b.Me()?null:Sa[b.j];d?d.cZ=b:Sa[a]=[b]}}s(125,1,{},ub);_.He=function(a){var b;b=new ub;b.e=4;1<a?b.c=y(this,a-1):b.c=this;return b};_.Ie=function(){rb(this);return this.b};_.Je=function(){return $a(this)};_.Ke=function(){return tb(this)};_.Le=function(){return 0!=(this.e&4)};_.Me=function(){return 0!=(this.e&1)};_.tS=function(){return(0!=(this.e&2)?"interface ":0!=(this.e&1)?"":"class ")+(rb(this),this.k)};_.e=0;_.g=0;var vb=1,z=w(1),ib=w(0);w(125); -function zb(a){a.p&&(a.v=a.q,a.o=null,a.p=!1,a.q=!1,a.r&&(a.r.U(),a.r=null),a.v&&a.P())}function Ab(a){var b=Bb();zb(a);a.p=!0;a.q=!1;a.n=200;a.u=b;a.o=null;++a.s;Cb(a.k,Bb())}function Db(a,b){var d,e;d=a.s;e=b>=a.u+a.n;return a.q&&!e?(e=(b-a.u)/a.n,a.R((1+Math.cos(aa+e*aa))/2),a.p&&a.s==d):!a.q&&b>=a.u&&(a.q=!0,a.Q(),!a.p||a.s!=d)?!1:e?(a.p=!1,a.q=!1,a.P(),!1):!0}function Eb(){var a=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb);this.k=new Jb(this);this.t=a}s(102,1,{}); -_.P=function(){this.R((1+Math.cos(6.283185307179586))/2)};_.Q=function(){this.R((1+Math.cos(aa))/2)};_.n=-1;_.p=!1;_.q=!1;_.s=-1;_.u=-1;_.v=!1;w(102);function Cb(a,b){Db(a.a,b)?a.a.r=a.a.t.T(a.a.k,a.a.o):a.a.r=null}function Jb(a){this.a=a}s(277,1,{},Jb);_.S=function(a){Cb(this,a)};w(277);s(535,1,{});var Fb;w(535);s(99,1,{99:1});w(99);function Gb(){return!!$wnd.requestAnimationFrame&&!!$wnd.cancelAnimationFrame}function Hb(){} -function Kb(a,b){var d=A(function(){var b=Bb();a.S(b)});return{id:$wnd.requestAnimationFrame(d,b)}}s(53,535,{},Hb);_.T=function(a,b){var d;d=Kb(a,b);return new Lb(d)};w(53);function Lb(a){this.a=a}s(486,99,{99:1},Lb);_.U=function(){$wnd.cancelAnimationFrame(this.a.id)};w(486);function Ib(){this.a=new C;this.b=new Mb(this)}s(54,535,{},Ib);_.T=function(a){a=new Nb(this,a);Ob(this.a,a);1==this.a.b.length&&Pb(this.b,16);return a};w(54); -function Qb(a){a.e&&(++a.c,a.d?$wnd.clearInterval(a.e.a):$wnd.clearTimeout(a.e.a),a.e=null)}function Pb(a,b){if(0>b)throw new D("must be non-negative");a.e&&Qb(a);a.d=!1;var d;d=Rb(a,a.c);d=$wnd.setTimeout(d,b);a.e=E(d)}function Rb(a,b){return A(function(){a.V(b)})}s(39,1,{});_.V=function(a){a==this.c&&(this.d||(this.e=null),this.W())};_.c=0;_.d=!1;_.e=null;w(39);function Mb(a){this.a=a}s(487,39,{},Mb); -_.W=function(){var a=this.a,b,d,e,f,g;b=F(Sb,h,123,a.a.b.length,0);b=Tb(a.a,b);d=new Ub;f=0;for(g=b.length;f<g;++f)e=b[f],Vb(a.a,e),e.a.S(d.a);0<a.a.b.length&&Pb(a.b,Wb(5,16-(Bb()-d.a)))};w(487);function Nb(a,b){this.b=a;this.a=b}s(123,99,{99:1,123:1},Nb);_.U=function(){var a=this.b;Vb(a.a,this);0==a.a.b.length&&Qb(a.b)};var Sb=w(123);function Xb(a){a.g=null;Yb()} -function Zb(a){for(var b,d;a;a=a.e){if(null==a.g){d=a;Yb();b=F($b,h,667,0,0);a:for(var e=void 0,f=void 0,f=ac(b.length,5),e=0;e<f;e++)if(null.of()){b=(b.length>=e+1&&b.splice(0,e+1),b);break a}d.g=b}b=a.g;d=0;for(b=b.length;d<b;++d);}}function bc(a){var b;b=$a(a.cZ);a=a.Z();return null!=a?b+": "+a:b}s(13,1,ba);_.Z=cc;_.tS=function(){return bc(this)};w(13);function dc(a){this.f=a;Xb(this)}s(12,13,ca,dc);w(12);function ec(a){dc.call(this,a)}s(10,12,da,ec);w(10);function fc(a){dc.call(this,a)} -s(554,10,da,fc);w(554);function Ub(){this.a=Bb()}s(161,1,{},Ub);_.a=0;w(161);var gc=null;function hc(){hc=m;ic=new cb}function jc(a){hc();this.f=this.e=null;this.a="";this.b=a;this.a=""}s(56,10,{56:1,3:1,12:1,10:1,13:1},jc);_.Z=function(){var a;null==this.c&&(a=qb(this.b)===qb(ic)?null:this.b,this.d=null==a?"null":pb(a)?null==a?null:a.name:eb(a)?"String":$a(ab(a)),this.a=this.a+": "+(pb(a)?null==a?null:a.message:a+""),this.c="("+this.d+") "+this.a);return this.c}; -_.$=function(){return qb(this.b)===qb(ic)?null:this.b};var ic;w(56);function Bb(){return Date.now?Date.now():(new Date).getTime()}s(512,1,{});w(512);function kc(){kc=m;lc=$wnd} -function mc(a,b){var d=!1;function e(){a.onerror=a.onreadystatechange=a.onload=null;if(d){var b=a;kc();b.parentNode.removeChild(b)}}kc();a.onload=A(function(){e();b&&b.Y(null)});a.onerror=A(function(){e();if(b){var a=new fc("onerror() called.");b.X(a)}});a.onreadystatechange=A(function(){/loaded|complete/.test(a.readyState)&&a.onload()})}function nc(){kc();return window}function oc(a){kc();return a.createElement("script")}var lc;function pc(a){var b=(G(),qc);a.c=b;return a} -function rc(a){this.b=a}s(324,1,{},rc);_.a=!0;w(324);function sc(a){this.b=a}s(325,1,{},sc);w(325);function kb(a){return a.$H||(a.$H=++tc)}function uc(a){$wnd.setTimeout(function(){throw a;},0)}function vc(a){var b;(b=gc)?b!=wc&&xc(b,a,!1):uc(t(a,56)?a.$():a)}function yc(){0!=zc&&(zc=0);Ac=-1}var zc=0,tc=0,wc,Bc=0,Ac=-1;function Cc(){Cc=m;Dc=new Ec}function Fc(a){a.j||(a.j=!0,!a.f&&(a.f=new Gc(a)),Hc(a.f,1),!a.i&&(a.i=new Ic(a)),Hc(a.i,50))}function Jc(a,b){a.d=Kc(a.d,[b,!1])} -function Lc(a){return a._()}function Kc(a,b){!a&&(a=[]);a[a.length]=b;return a}function Mc(a,b){var d,e,f;e=0;for(f=a.length;e<f;e++){d=a[e];try{d[1]?d[0]._()&&(b=Kc(b,d)):d[0].ab()}catch(g){if(g=H(g),t(g,13))d=g,vc(d);else throw I(g);}}return b}function Hc(a,b){function d(){A(Lc)(a)&&$wnd.setTimeout(d,b)}Cc();$wnd.setTimeout(d,b)}s(411,512,{});_.e=!1;_.j=!1;var Dc;w(411);function Gc(a){this.a=a}s(412,1,{},Gc); -_._=function(){this.a.e=!0;var a=this.a,b;a.b&&(b=a.b,a.b=null,!a.g&&(a.g=[]),Mc(b,a.g));if(a.g){b=a.g;var d,e,f,g,l,n;l=b.length;if(0==l)b=null;else{d=!1;for(e=new Ub;16>Bb()-e.a;){f=!1;for(g=0;g<l;g++)if(n=b[g])f=!0,n[0]._()||(b[g]=null,d=!0);if(!f)break}if(d){d=[];for(g=0;g<l;g++)b[g]&&(d[d.length]=b[g]);b=0==d.length?null:d}}a.g=b}this.a.e=!1;a=this.a;return this.a.j=!!a.b||!!a.g};w(412);function Ic(a){this.a=a}s(413,1,{},Ic);_._=function(){this.a.e&&Hc(this.a.f,1);return this.a.j};w(413); -function Yb(){Yb=m}function Nc(a,b){if(!a)throw new D(""+b);}function J(a){if(!a)throw new Oc;}function Pc(a,b){if(0>a||a>=b)throw new Qc("Index: "+a+", Size: "+b);}function Rc(a){if(null==a)throw new Sc;}function Tc(a,b){if(0>a||a>b)throw new Qc("Index: "+a+", Size: "+b);}function Uc(a){if(!a)throw new Vc;} -function Wc(a){var b,d,e,f,g;b="Enum constant undefined: %s";d=new Xc;for(e=g=0;e<a.length;){f=b.indexOf("%s",g);if(-1==f)break;Yc(d,b.substr(g,f-g));Yc(d,a[e++]);g=f+2}Yc(d,b.substr(g,b.length-g));if(e<a.length){d.a+=" [";for(Yc(d,a[e++]);e<a.length;)d.a+=", ",Yc(d,a[e++]);d.a+="]"}return d.a}function Zc(a){return $c((K(),a))}function ad(a,b){return(K(),L).ob(a,b)}function bd(a){var b;(b=$c((K(),a)))&&b.removeChild(a)} -function cd(a,b){var d;b=dd(b);d=a.className||"";-1==ed(d,b)&&(0<d.length?fd(a,d+" "+b):fd(a,b))}function gd(a){return(K(),L).db(a)}function hd(a){return(K(),L).eb(a)}function id(a,b){return(K(),a).getAttribute(b)||""}function jd(a){return kd((K(),a))}function ld(a){return(K(),a).innerHTML}function md(a,b){return parseInt(a[b])|0}function nd(a,b){return null==a[b]?null:String(a[b])}function od(a){return(K(),L).ib(a)} -function pd(a,b){var d,e,f,g;b=dd(b);g=a.className||"";e=ed(g,b);-1!=e&&(d=qd(g.substr(0,e)),e=qd(rd(g,e+b.length)),0==d.length?f=e:0==e.length?f=d:f=d+" "+e,fd(a,f))}function fd(a,b){a.className=b||""}function ed(a,b){var d,e,f;for(d=a.indexOf(b);-1!=d;){if(0==d||32==a.charCodeAt(d-1))if(e=d+b.length,f=a.length,e==f||e<f&&32==a.charCodeAt(e))break;d=a.indexOf(b,d+1)}return d}function sd(a){var b;try{b=!!a&&!!a.nodeType}catch(d){b=!1}return b?!!a&&1==a.nodeType:!1}function dd(a){return a=qd(a)} -function K(){K=m;L=4==Ta?new td:new ud}function kd(a){for(a=a.firstChild;a&&1!=a.nodeType;)a=a.nextSibling;return a}function vd(a){for(a=a.nextSibling;a&&1!=a.nodeType;)a=a.nextSibling;return a}function $c(a){(a=a.parentNode)&&1==a.nodeType||(a=null);return a}function wd(a){for(a=a.previousSibling;a&&1!=a.nodeType;)a=a.previousSibling;return a}function xd(a){K();return a|0}s(543,1,{});_.bb=function(a){return a.currentTarget}; -_.db=function(a){for(var b=0,d=a;d.offsetParent;)b-=d.scrollLeft,d=d.parentNode;for(;a;)b+=a.offsetLeft,a=a.offsetParent;return xd(b)};_.eb=function(a){for(var b=0,d=a;d.offsetParent;)b-=d.scrollTop,d=d.parentNode;for(;a;)b+=a.offsetTop,a=a.offsetParent;return xd(b)};_.fb=function(){return 0};_.gb=function(){return 0};_.hb=function(a){return od("CSS1Compat"===a.compatMode?a.documentElement:a.body)};_.ib=function(a){return xd(a.scrollLeft||0)};_.jb=function(a){return a.tabIndex}; -_.kb=function(a,b){a.scrollLeft=b};_.lb=function(a){return a.outerHTML};var L;w(543);s(544,543,{});_.mb=function(a){return a.relatedTarget};_.nb=function(a){return a.target};_.ob=function(a,b){return a.contains(b)};w(544);function ud(){K()}function yd(){var a;a=(a=/rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase()))&&3<=a.length?1E6*parseInt(a[1])+1E3*parseInt(a[2])+parseInt(5<=a.length&&!isNaN(a[4])?a[4]:0):-1;return-1!=a&&1009E3<=a}s(394,544,{},ud); -_.cb=function(a){return a.detail||0};_.mb=function(a){return(a=a.relatedTarget)?a:null};_.db=function(a){var b=zd(a.ownerDocument);Element.prototype.getBoundingClientRect?a=a.getBoundingClientRect().left+b.scrollLeft|0:(b=a.ownerDocument,a=b.getBoxObjectFor(a).screenX-b.getBoxObjectFor(b.documentElement).screenX);return a}; -_.eb=function(a){var b=zd(a.ownerDocument);Element.prototype.getBoundingClientRect?a=a.getBoundingClientRect().top+b.scrollTop|0:(b=a.ownerDocument,a=b.getBoxObjectFor(a).screenY-b.getBoxObjectFor(b.documentElement).screenY);return a};_.fb=function(a){a=$wnd.getComputedStyle(a.documentElement,null);return null==a?0:parseInt(a.marginLeft,10)+parseInt(a.borderLeftWidth,10)}; -_.gb=function(a){a=$wnd.getComputedStyle(a.documentElement,null);return null==a?0:parseInt(a.marginTop,10)+parseInt(a.borderTopWidth,10)};_.ib=function(a){return yd()||"rtl"!=a.ownerDocument.defaultView.getComputedStyle(a,null).direction?xd(a.scrollLeft||0):xd(a.scrollLeft||0)-(((a.scrollWidth||0)|0)-(a.clientWidth|0))};_.ob=function(a,b){return a===b||!!(a.compareDocumentPosition(b)&16)}; -_.kb=function(a,b){!yd()&&"rtl"==a.ownerDocument.defaultView.getComputedStyle(a,null).direction&&(b+=((a.scrollWidth||0)|0)-(a.clientWidth|0));a.scrollLeft=b};_.lb=function(a){var b=a.ownerDocument;a=a.cloneNode(!0);b=b.createElement("DIV");b.appendChild(a);outer=b.innerHTML;a.innerHTML="";return outer};w(394);s(545,544,{});_.bb=function(a){return a.currentTarget||$wnd};_.cb=function(a){return Math.round(-a.wheelDelta/40)||0}; -_.db=function(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.left+od(a.ownerDocument.body);else if(null==a.offsetLeft)a=0;else{b=0;var d=a.ownerDocument,e=a.parentNode;if(e)for(;e.offsetParent;)b-=e.scrollLeft,"rtl"==d.defaultView.getComputedStyle(e,"").getPropertyValue("direction")&&(b+=e.scrollWidth-e.clientWidth),e=e.parentNode;for(;a;){b+=a.offsetLeft;if("fixed"==d.defaultView.getComputedStyle(a,"").position){b+=d.body.scrollLeft;break}(e=a.offsetParent)&&$wnd.devicePixelRatio&& -(b+=parseInt(d.defaultView.getComputedStyle(e,"").getPropertyValue("border-left-width")));if(e&&"BODY"==e.tagName&&"absolute"==a.style.position)break;a=e}a=b}return xd(a)}; -_.eb=function(a){var b;if(b=a.getBoundingClientRect&&a.getBoundingClientRect())a=b.top+((a.ownerDocument.body.scrollTop||0)|0);else if(null==a.offsetTop)a=0;else{b=0;var d=a.ownerDocument,e=a.parentNode;if(e)for(;e.offsetParent;)b-=e.scrollTop,e=e.parentNode;for(;a;){b+=a.offsetTop;if("fixed"==d.defaultView.getComputedStyle(a,"").position){b+=d.body.scrollTop;break}(e=a.offsetParent)&&$wnd.devicePixelRatio&&(b+=parseInt(d.defaultView.getComputedStyle(e,"").getPropertyValue("border-top-width")));if(e&& -"BODY"==e.tagName&&"absolute"==a.style.position)break;a=e}a=b}return xd(a)};_.hb=function(a){return a.documentElement.scrollLeft||a.body.scrollLeft};_.ib=function(a){return Ad("body",(K(),a).tagName)||"rtl"!=a.ownerDocument.defaultView.getComputedStyle(a,"").direction?xd(a.scrollLeft||0):xd(a.scrollLeft||0)-(((a.scrollWidth||0)|0)-(a.clientWidth|0))};_.jb=function(a){return"undefined"!=typeof a.tabIndex?a.tabIndex:-1}; -_.kb=function(a,b){!Ad("body",(K(),a).tagName)&&"rtl"==a.ownerDocument.defaultView.getComputedStyle(a,"").direction&&(b+=((a.scrollWidth||0)|0)-(a.clientWidth|0));a.scrollLeft=b};w(545);function td(){K()}s(395,545,{},td);_.nb=function(a){(a=a.target)&&3==a.nodeType&&(a=a.parentNode);return a};w(395);function Bd(){var a=$doc,b;return b=(K(),a).createElement("INPUT"),b.type="checkbox",b.value="on",b}function M(){var a=$doc;return(K(),a).createElement("div")} -function Cd(){var a=$doc;return(K(),a).createElement("tr")}function Dd(){var a=$doc;return(K(),L).fb(a)}function Ed(){var a=$doc;return(K(),L).gb(a)}function Fd(){var a=$doc;return("CSS1Compat"===a.compatMode?a.documentElement:a.body).clientHeight|0}function Gd(){var a=$doc;return("CSS1Compat"===a.compatMode?a.documentElement:a.body).clientWidth|0}function zd(a){return"CSS1Compat"===a.compatMode?a.documentElement:a.body}function Hd(a){return(K(),L).nb(a)}function Id(a){return(K(),a).keyCode|0} -function Jd(a){return(K(),a).touches}function Kd(a,b){return(K(),a)[b]}function N(a,b){this.a=a;this.b=b}function Ld(a){var b,d,e,f;b={};e=0;for(f=a.length;e<f;++e)d=a[e],b[":"+(null!=d.a?d.a:""+d.b)]=d;return b}function Md(a,b){var d;Rc(b);d=a[":"+b];var e=O(y(z,1),h,1,3,[b]);if(!d)throw new D(Wc(e));return d}s(4,1,{3:1,5:1,4:1});_.eQ=lb;_.hC=mb;_.tS=function(){return null!=this.a?this.a:""+this.b};_.b=0;w(4);function Nd(){Nd=m;Od=new Pd;Qd=new Rd;Sd=new Td;Ud=new Vd;Wd=new Xd}s(40,4,ea); -var Sd,Qd,Ud,Od,Wd,Yd=x(40,function(){Nd();return O(y(Yd,1),h,40,0,[Od,Qd,Sd,Ud,Wd])});function Pd(){N.call(this,"NONE",0)}s(335,40,ea,Pd);x(335,null);function Rd(){N.call(this,"DOTTED",1)}s(336,40,ea,Rd);x(336,null);function Td(){N.call(this,"DASHED",2)}s(337,40,ea,Td);x(337,null);function Vd(){N.call(this,"HIDDEN",3)}s(338,40,ea,Vd);x(338,null);function Xd(){N.call(this,"SOLID",4)}s(339,40,ea,Xd);x(339,null); -function Zd(){Zd=m;$d=new ae;be=new ce;de=new ee;fe=new ge;he=new ie;je=new ke;le=new me;ne=new oe;pe=new qe;re=new se;te=new ue;ve=new we;xe=new ye;ze=new Ae;Be=new Ce;De=new Ee;Fe=new Ge}s(14,4,fa);var be,Fe,de,fe,he,je,$d,le,ne,pe,ze,Be,re,ve,te,De,xe,He=x(14,function(){Zd();return O(y(He,1),h,14,0,[$d,be,de,fe,he,je,le,ne,pe,re,te,ve,xe,ze,Be,De,Fe])});function ae(){N.call(this,"NONE",0)}s(340,14,fa,ae);x(340,null);function se(){N.call(this,"TABLE_COLUMN_GROUP",9)}s(349,14,fa,se);x(349,null); -function ue(){N.call(this,"TABLE_HEADER_GROUP",10)}s(350,14,fa,ue);x(350,null);function we(){N.call(this,"TABLE_FOOTER_GROUP",11)}s(351,14,fa,we);x(351,null);function ye(){N.call(this,"TABLE_ROW_GROUP",12)}s(352,14,fa,ye);x(352,null);function Ae(){N.call(this,"TABLE_CELL",13)}s(353,14,fa,Ae);x(353,null);function Ce(){N.call(this,"TABLE_COLUMN",14)}s(354,14,fa,Ce);x(354,null);function Ee(){N.call(this,"TABLE_ROW",15)}s(355,14,fa,Ee);x(355,null);function Ge(){N.call(this,"INITIAL",16)}s(356,14,fa,Ge); -x(356,null);function ce(){N.call(this,"BLOCK",1)}s(341,14,fa,ce);x(341,null);function ee(){N.call(this,"INLINE",2)}s(342,14,fa,ee);x(342,null);function ge(){N.call(this,"INLINE_BLOCK",3)}s(343,14,fa,ge);x(343,null);function ie(){N.call(this,"INLINE_TABLE",4)}s(344,14,fa,ie);x(344,null);function ke(){N.call(this,"LIST_ITEM",5)}s(345,14,fa,ke);x(345,null);function me(){N.call(this,"RUN_IN",6)}s(346,14,fa,me);x(346,null);function oe(){N.call(this,"TABLE",7)}s(347,14,fa,oe);x(347,null); -function qe(){N.call(this,"TABLE_CAPTION",8)}s(348,14,fa,qe);x(348,null);function Ie(){Ie=m;Je=new Ke;Le=new Me;Ne=new Oe;Pe=new Qe}s(48,4,ga);var Pe,Le,Ne,Je,Re=x(48,function(){Ie();return O(y(Re,1),h,48,0,[Je,Le,Ne,Pe])});function Ke(){N.call(this,"VISIBLE",0)}s(357,48,ga,Ke);x(357,null);function Me(){N.call(this,"HIDDEN",1)}s(358,48,ga,Me);x(358,null);function Oe(){N.call(this,"SCROLL",2)}s(359,48,ga,Oe);x(359,null);function Qe(){N.call(this,"AUTO",3)}s(360,48,ga,Qe);x(360,null); -function Se(){Se=m;Te=new Ue;Ve=new We;Xe=new Ye;Ze=new $e}s(49,4,ha);var Xe,Ze,Ve,Te,af=x(49,function(){Se();return O(y(af,1),h,49,0,[Te,Ve,Xe,Ze])});function Ue(){N.call(this,"STATIC",0)}s(361,49,ha,Ue);x(361,null);function We(){N.call(this,"RELATIVE",1)}s(362,49,ha,We);x(362,null);function Ye(){N.call(this,"ABSOLUTE",2)}s(363,49,ha,Ye);x(363,null);function $e(){N.call(this,"FIXED",3)}s(364,49,ha,$e);x(364,null);function bf(){bf=m;cf=new df;ef=new ff;gf=new hf;jf=new kf}s(50,4,ia); -var cf,ef,gf,jf,lf=x(50,function(){bf();return O(y(lf,1),h,50,0,[cf,ef,gf,jf])});function df(){N.call(this,"CENTER",0)}s(365,50,ia,df);x(365,null);function ff(){N.call(this,"JUSTIFY",1)}s(366,50,ia,ff);x(366,null);function hf(){N.call(this,"LEFT",2)}s(367,50,ia,hf);x(367,null);function kf(){N.call(this,"RIGHT",3)}s(368,50,ia,kf);x(368,null);function Q(){Q=m;mf=new nf;of=new pf;qf=new rf;sf=new tf;uf=new vf;wf=new xf;yf=new zf;Af=new Bf;Cf=new Df}s(27,4,ja); -var Af,qf,sf,yf,Cf,wf,of,uf,mf,Ef=x(27,function(){Q();return O(y(Ef,1),h,27,0,[mf,of,qf,sf,uf,wf,yf,Af,Cf])});function nf(){N.call(this,"PX",0)}s(326,27,ja,nf);x(326,null);function pf(){N.call(this,"PCT",1)}s(327,27,ja,pf);x(327,null);function rf(){N.call(this,"EM",2)}s(328,27,ja,rf);x(328,null);function tf(){N.call(this,"EX",3)}s(329,27,ja,tf);x(329,null);function vf(){N.call(this,"PT",4)}s(330,27,ja,vf);x(330,null);function xf(){N.call(this,"PC",5)}s(331,27,ja,xf);x(331,null); -function zf(){N.call(this,"IN",6)}s(332,27,ja,zf);x(332,null);function Bf(){N.call(this,"CM",7)}s(333,27,ja,Bf);x(333,null);function Df(){N.call(this,"MM",8)}s(334,27,ja,Df);x(334,null);function Ff(){Ff=m;Gf=new Hf;If=new Jf}s(70,4,ka);var If,Gf,Kf=x(70,function(){Ff();return O(y(Kf,1),h,70,0,[Gf,If])});function Hf(){N.call(this,"VISIBLE",0)}s(369,70,ka,Hf);x(369,null);function Jf(){N.call(this,"HIDDEN",1)}s(370,70,ka,Jf);x(370,null); -function Lf(){Lf=m;Mf=new Nf;Of=new Pf;Qf=new Rf;Sf=new Tf;Uf=new Vf}s(41,4,la);var Mf,Of,Qf,Sf,Uf,Wf=x(41,function(){Lf();return O(y(Wf,1),h,41,0,[Mf,Of,Qf,Sf,Uf])});function Nf(){N.call(this,"NORMAL",0)}s(371,41,la,Nf);x(371,null);function Pf(){N.call(this,"NOWRAP",1)}s(372,41,la,Pf);x(372,null);function Rf(){N.call(this,"PRE",2)}s(373,41,la,Rf);x(373,null);function Tf(){N.call(this,"PRE_LINE",3)}s(374,41,la,Tf);x(374,null);function Vf(){N.call(this,"PRE_WRAP",4)}s(375,41,la,Vf);x(375,null); -function Xf(a){return xd((K(),a).clientX||0)}s(526,1,{});_.tS=function(){return"An event type"};w(526);s(527,526,{});_.rb=Yf;_.sb=function(){this.f=!1;this.g=null};_.f=!1;w(527);s(531,527,{});_.qb=function(){return this.tb()};var Zf;w(531);s(533,531,{});w(533);s(534,533,{});w(534);function $f(){$f=m;ag=new bg("click",new cg)}function cg(){}s(493,534,{},cg);_.pb=function(a){var b=a.a;a=a.a;a=a.K?(dg(),a.a.checked?eg:fg):(dg(),a.a.defaultChecked?eg:fg);gg(b,a)};_.tb=function(){return ag};var ag;w(493); -s(189,1,{});_.hC=function(){return this.c};_.tS=function(){return"Event type"};var hg=_.c=0;w(189);function ig(){this.c=++hg}s(29,189,{},ig);w(29);function bg(a,b){var d;this.c=++hg;this.a=b;!Zf&&(Zf=new jg);d=Zf.a[a];d||(d=new C,Zf.a[a]=d);d.Cd(this);this.b=a}s(98,29,{},bg);w(98);s(532,531,{});w(532);function jg(){this.a={}}s(430,1,{},jg);w(430);function kg(){}function lg(a){var b;mg&&(b=new kg,a.M&&ng(a.M,b))}s(188,527,{},kg);_.pb=function(a){a.ub(this)};_.qb=function(){return mg};var mg;w(188); -function og(){}function pg(a){var b;qg&&(b=new og,a.xb(b))}s(462,527,{},og);_.pb=function(a){a.vb(this)};_.qb=function(){return qg};var qg;w(462);function rg(){}s(483,527,{},rg);_.pb=function(){sg()};_.qb=function(){return tg};var tg;w(483);function ug(a){this.a=a}function gg(a,b){var d;vg&&(d=new ug(b),a.xb(d))}s(227,527,{},ug);_.pb=function(a){a.wb(this)};_.qb=function(){return vg};var vg;w(227); -function wg(a,b,d){a=a.a;if(!b)throw new xg("Cannot add a handler with a null type");if(!d)throw new xg("Cannot add a null handler");if(0<a.b){var e=new yg(a,b,d);!a.a&&(a.a=new C);Ob(a.a,e)}else zg(a,b,null,d);return new Ag(new Bg(a,b,d))} -function ng(a,b){var d;!b.f||b.sb();d=b.rb();b.g=a.b;try{var e=a.a,f,g,l,n,p;if(!b)throw new xg("Cannot fire null event");try{++e.b;var q=b.qb();n=Cg(e,q,null);f=null;for(p=e.c?n.Hd(n.Yc()):n.Gd();e.c?p.Ye():p.Gc();){l=e.c?p.Ze():p.Hc();try{b.pb(l)}catch(r){if(r=H(r),t(r,13))g=r,!f&&(f=new Dg),Eg(f,g);else throw I(r);}}if(f)throw new Fg(f);}finally{if(--e.b,0==e.b){var u,B;if(e.a)try{for(B=new Gg(e.a);B.b<B.d.Yc();)u=(J(B.b<B.d.Yc()),B.d.Ed(B.c=B.b++)),u.ab()}finally{e.a=null}}}}catch(P){P=H(P);if(t(P, -71))throw d=P,new Hg(d.a);throw I(P);}finally{null==d?(b.f=!0,b.g=null):b.g=d}}function Ig(a){Jg.call(this,a,!1)}function Jg(a,b){this.a=new Kg(b);this.b=a}s(47,1,{21:1},Ig,Jg);_.xb=function(a){ng(this,a)};w(47);s(542,1,{});w(542);function zg(a,b,d,e){var f;f=a.d.Qe(b);f||(f=new Lg,a.d.Re(b,f));a=f.Qe(d);a||(a=new C,f.Re(d,a));a.Cd(e)}function Mg(a,b,d,e){var f,g;f=Cg(a,b,d);f.Id(e)&&f.Fd()&&(g=a.d.Qe(b),g.Se(d),g.Fd()&&a.d.Se(b))} -function Cg(a,b,d){a=a.d.Qe(b);return a?(d=a.Qe(d))?d:(R(),R(),Ng):(R(),R(),Ng)}s(311,542,{});_.b=0;_.c=!1;w(311);function Kg(a){this.d=new Lg;this.c=a}s(312,311,{},Kg);w(312);function Ag(a){this.a=a}s(427,1,{},Ag);w(427);function Fg(a){var b;var d,e,f;b=a.Yc();if(0==b)b=null;else{b=new Og(1==b?"Exception caught: ":b+" exceptions caught: ");d=!0;for(f=a.vc();f.Gc();)e=f.Hc(),d?d=!1:b.a+="; ",Yc(b,e.Z());b=b.a}d=a.vc();this.e=d=d.Gc()?d.Hc():null;this.f=b;Xb(this);this.a=a} -s(71,10,{71:1,3:1,12:1,10:1,13:1},Fg);w(71);function Hg(a){Fg.call(this,a)}s(82,71,ma,Hg);w(82);function Pg(a,b,d){this.c=new Qg(this);if(!a)throw new Sc;if(!d)throw new Sc;if(0>b)throw new Rg;this.a=d;this.b=b;this.d=a;0<b&&Pb(this.c,b)}s(549,1,{},Pg); -_.yb=function(a){var b;if(this.d){Qb(this.c);b=this.d;this.d=null;b=new Sg(b);var d,e;d=b.a.status;0>=d||400<=d?(e=0>=d?"Bad CORS":b.a.statusText,b=new Tg("HTTP ERROR: "+d+" "+e+"\n"+b.a.responseText),Ug(a.c,O(y(z,1),h,1,3,[b,this]))):Vg(a.c,O(y(z,1),h,1,3,[b,this]))}};_.b=0;var Wg=w(549);function Qg(a){this.a=a}s(494,39,{},Qg);_.W=function(){var a=this.a;if(a.d){var b;a.d&&(Qb(a.c),b=a.d,a.d=null,Xg(b),b.abort());b=new Yg(a.b);Ug(a.a.c,O(y(z,1),h,1,3,[b,a]))}};w(494); -function Tg(a){dc.call(this,a)}s(92,12,ca,Tg);w(92);function Zg(a){dc.call(this,"The URL "+a+" is invalid or violates the same-origin security restriction")}s(503,92,ca,Zg);w(503);function Yg(a){dc.call(this,"A request timeout has expired after "+a+" ms")}s(508,92,ca,Yg);w(508);s(553,1,{});w(553);function Sg(a){this.a=a}s(495,553,{},Sg);w(495);function $g(a){a=nd(a,"dir");return Ad("rtl",a)?(ah(),bh):Ad("ltr",a)?(ah(),ch):(ah(),dh)} -function ah(){ah=m;bh=new eh("RTL",0);ch=new eh("LTR",1);dh=new eh("DEFAULT",2)}function eh(a,b){N.call(this,a,b)}s(81,4,{81:1,3:1,5:1,4:1},eh);var dh,ch,bh,fh=x(81,function(){ah();return O(y(fh,1),h,81,0,[bh,ch,dh])});function gh(){gh=m;hh=new ih}function ih(){}s(316,1,{},ih);var hh;w(316);function jh(){jh=m;var a=(gh(),gh(),hh);!a.a&&(a.a=new kh)} -function lh(a,b,d,e,f){var g,l,n,p;mh(e,0,e.a.length);l=!1;n=b.length;for(p=d;p<n;++p)if(g=b.charCodeAt(p),39==g)p+1<n&&39==b.charCodeAt(p+1)?(++p,e.a+="'"):l=!l;else if(l)e.a+=String.fromCharCode(g);else switch(g){case 35:case 48:case 44:case 46:case 59:return p-d;case 164:a.g=!0;p+1<n&&164==b.charCodeAt(p+1)?(++p,p<n-2&&164==b.charCodeAt(p+1)&&164==b.charCodeAt(p+2)?(p+=2,g=a.a,Yc(e,g[4]||g[1])):Yc(e,a.a[0])):Yc(e,a.a[1]);break;case 37:if(!f){if(1!=a.p)throw new D('Too many percent/per mille characters in pattern "'+ -b+'"');a.p=100}e.a+="%";break;case 8240:if(!f){if(1!=a.p)throw new D('Too many percent/per mille characters in pattern "'+b+'"');a.p=1E3}e.a+="\u2030";break;case 45:e.a+="-";break;default:e.a+=String.fromCharCode(g)}return n-d} -function nh(a,b,d,e){var f,g,l,n,p,q,r,u,B;g=-1;n=u=l=0;p=-1;q=b.length;B=d;for(r=!0;B<q&&r;++B)switch(f=b.charCodeAt(B),f){case 35:0<u?++n:++l;0<=p&&0>g&&++p;break;case 48:if(0<n)throw new D("Unexpected '0' in pattern \""+b+'"');++u;0<=p&&0>g&&++p;break;case 44:p=0;break;case 46:if(0<=g)throw new D('Multiple decimal separators in pattern "'+b+'"');g=l+u+n;break;case 69:if(!e){if(a.v)throw new D('Multiple exponential symbols in pattern "'+b+'"');a.v=!0;a.k=0}for(;B+1<q&&48==b.charCodeAt(B+1);)++B, -e||++a.k;if(!e&&1>l+u||1>a.k)throw new D('Malformed exponential pattern "'+b+'"');r=!1;break;default:--B,r=!1}0==u&&0<l&&0<=g&&(u=g,0==g&&++u,n=l-u,l=u-1,u=1);if(0>g&&0<n||0<=g&&(g<l||g>l+u)||0==p)throw new D('Malformed pattern "'+b+'"');if(e)return B-d;b=l+u+n;a.i=0<=g?b-g:0;0<=g&&(a.n=l+u-g,0>a.n&&(a.n=0));a.o=(0<=g?g:b)-l;a.v&&(a.j=l+a.o,0==a.i&&0==a.o&&(a.o=1));a.f=0<p?p:0;a.c=0==g||g==b;return B-d} -function oh(a,b,d){var e,f;for(e=!0;e&&0<=d;)if(f=b.a.charCodeAt(d),57==f){f=d--;var g=b,l=f+1,n=String.fromCharCode(48);g.a=g.a.substr(0,f)+n+rd(g.a,l)}else e=b,g=d+1,f=String.fromCharCode(f+1&65535),e.a=e.a.substr(0,d)+f+rd(e.a,g),e=!1;e&&(b.a=b.a.substr(0,0)+"1"+rd(b.a,0),++a.b,++a.d)} -function ph(a){jh();if(!a)throw new D("Unknown currency code");this.s="\u00a4#,##0.00";this.a=a;a=this.s;var b,d;b=new qh;d=0+lh(this,a,0,b,!1);this.t=b.a;d+=nh(this,a,d,!1);d+=lh(this,a,d,b,!1);this.u=b.a;d<a.length&&59==a.charCodeAt(d)?(++d,d+=lh(this,a,d,b,!0),this.q=b.a,d+=nh(this,a,d,!0),lh(this,a,d,b,!0),this.r=b.a):(this.q="-"+this.t,this.r=this.u);this.g&&(this.i=this.n=this.a[2]&7)}s(138,1,{},ph);_.b=0;_.c=!1;_.d=0;_.e=0;_.f=3;_.g=!1;_.i=3;_.j=40;_.k=0;_.n=0;_.o=1;_.p=1;_.q="-";_.r=""; -_.t="";_.u="";_.v=!1;var rh;w(138);function kh(){}s(446,1,{},kh);w(446);function sh(){sh=m;$wnd.__gwt_jsonp__||($wnd.__gwt_jsonp__={},$wnd.__gwt_jsonp__.__gwt_jsonp_counter__=0);th=$wnd.__gwt_jsonp__}function uh(a,b){Qb(a.i);try{a.a&&a.a.cc(b)}finally{vh((Cc(),Dc),new wh(a))}} -function xh(a,b){var d=th,e={};e.onSuccess=A(function(b){"boolean"==typeof b?b=new yh(b):"number"==typeof b&&(a.e?b=new zh(b):b=new S(b));a.Ab(b)});a.f&&(e.onFailure=A(function(b){a.zb(b)}));if(b){var f=d[a.b];f||(f={callbackList:[],onSuccess:function(a){for(;0<f.callbackList.length;)f.callbackList.shift().onSuccess(a)},onFailure:function(a){for(;0<f.callbackList.length;)f.callbackList.shift().onFailure(a)}},d[a.b]=f);f.callbackList.push(e)}else d[a.b]=e} -function Ah(a,b,d,e){sh();this.b="P"+$wnd.__gwt_jsonp__.__gwt_jsonp_counter__++;this.a=a;this.g=b;this.e=d;this.c=e;this.f=null;this.d=!1}s(505,1,{},Ah);_.zb=function(a){uh(this,new dc(a))};_.Ab=function(a){Qb(this.i);try{this.a&&this.a.Y(a)}finally{vh((Cc(),Dc),new wh(this))}};_.tS=function(){return"JsonpRequest(id\x3d"+this.b+")"};_.d=!1;_.e=!1;_.g=0;var th;w(505);function Bh(a,b){this.a=a;this.b=b}s(506,39,{},Bh);_.W=function(){uh(this.a,new Ch("Timeout while calling "+this.b))};w(506); -function wh(a){this.a=a}s(172,1,{},wh);_.ab=function(){var a;this.a.d||(a=this.a,delete (sh(),th)[a.b]);(a=$doc.getElementById(this.a.b))&&(sh(),$doc.getElementsByTagName("head")[0]).removeChild(a)};w(172);function Dh(){}s(504,1,{},Dh); -_.Bb=function(a,b){var d,e,f;d=new Ah(b,this.b,!1,this.a);xh(d,d.d);e=new Og(a);Yc(e,-1!=a.indexOf("?")?"\x26":"?");f="__gwt_jsonp__."+d.b;Yc(Yc(Yc(Yc(e,d.c),"\x3d"),f),".onSuccess");f=$doc;f=(K(),f).createElement("script");f.type="text/javascript";f.id=d.b;f.src=e.a;d.i=new Bh(d,a);Pb(d.i,d.g);$doc.getElementsByTagName("head")[0].appendChild(f)};_.a="callback";_.b=1E4;w(504);function Ch(a){dc.call(this,a)}s(507,12,ca,Ch);w(507); -function Eh(a,b){var d;d=a.slice(0,b);O(ab(a),a.cM,a.__elementTypeId$,a.__elementTypeCategory$,d);return d}function Fh(a,b){var d;d=Gh(0,b);O(ab(a),a.cM,a.__elementTypeId$,a.__elementTypeCategory$,d);return d}function F(a,b,d,e,f){e=Gh(f,e);O(y(a,1),b,d,f,e);return e}function O(a,b,d,e,f){f.cZ=a;f.cM=b;f.tM=Ua;f.__elementTypeId$=d;f.__elementTypeCategory$=e;return f} -function Gh(a,b){var d=Array(b),e;switch(a){case 6:e={l:0,m:0,h:0};break;case 7:e=0;break;case 8:e=!1;break;default:return d}for(var f=0;f<b;++f)d[f]=e;return d}function Hh(a,b,d,e){var f=0;a===b&&(a=a.slice(f,f+e),f=0);for(var g=f,f=f+e;g<f;){var l=Math.min(g+1E4,f);e=l-g;Array.prototype.splice.apply(b,[d,0].concat(a.slice(g,l)));g=l;d+=e}}function I(a){return t(a,56)&&qb(a.b)!==qb((hc(),ic))?qb(a.b)===qb(ic)?null:a.b:a} -function H(a){var b;if(t(a,13))return a;b=a&&a.__gwt$exception;if(!b&&(b=new jc(a),Yb(),a&&"object"==typeof a))try{a.__gwt$exception=b}catch(d){}return b}function Ih(a){return Jh(a.l,a.m,a.h)}function Jh(a,b,d){return{l:a,m:b,h:d}} -function Kh(a,b){var d,e,f,g,l,n,p,q;if(0==b.l&&0==b.m&&0==b.h)throw new Lh;if(0==a.l&&0==a.m&&0==a.h)return Mh=Jh(0,0,0),Jh(0,0,0);if(b.h==pa&&0==b.m&&0==b.l)return q=a,q.h==pa&&0==q.m&&0==q.l?(Mh=Jh(0,0,0),q=Ih((Nh(),Oh))):(Mh=Jh(q.l,q.m,q.h),q=Jh(0,0,0)),q;q=!1;0!=b.h>>19&&(b=Ph(b),q=!0);n=b.l;0!=(n&n-1)?p=-1:(l=b.m,0!=(l&l-1)?p=-1:(g=b.h,p=0!=(g&g-1)||0==g&&0==l&&0==n?-1:0==g&&0==l&&0!=n?Qh(n):0==g&&0!=l&&0==n?Qh(l)+22:0!=g&&0==l&&0==n?Qh(g)+44:-1));g=l=n=!1;if(a.h==pa&&0==a.m&&0==a.l)if(n=l= -!0,-1==p)a=Ih((Nh(),Rh)),g=!0,q=!q;else return g=Sh(a,p),q&&Th(g),Mh=Jh(0,0,0),g;else 0!=a.h>>19&&(n=!0,a=Ph(a),g=!0,q=!q);if(-1!=p){g=a;l=p;p=Sh(g,l);q&&Th(p);var r;22>=l?(q=g.l&(1<<l)-1,r=g=0):44>=l?(q=g.l,r=g.m&(1<<l-22)-1,g=0):(q=g.l,r=g.m,g=g.h&(1<<l-44)-1);g=Jh(q,r,g);n?Mh=Ph(g):Mh=Jh(g.l,g.m,g.h);return p}if(!Uh(a,b))return n?Mh=Ph(a):Mh=Jh(a.l,a.m,a.h),Jh(0,0,0);g=g?a:Jh(a.l,a.m,a.h);var u;r=Vh(b)-Vh(g);e=r&63;22>e?(d=b.l<<e,p=b.m<<e|b.l>>22-e,f=b.h<<e|b.m>>22-e):44>e?(d=0,p=b.l<<e-22,f=b.m<< -e-22|b.l>>44-e):(p=d=0,f=b.l<<e-44);d&=na;e=p&na;f&=oa;for(p=Jh(0,0,0);0<=r;){u=g;var B=void 0,P=void 0,ya=void 0,ya=u.h-f;0>ya?u=!1:(B=u.l-d,P=u.m-e+(B>>22),ya+=P>>22,0>ya?u=!1:(u.l=B&na,u.m=P&na,u.h=ya&oa,u=!0));if(u&&(22>r?p.l|=1<<r:44>r?p.m|=1<<r-22:p.h|=1<<r-44,0==g.l&&0==g.m&&0==g.h))break;u=e;e=f;f=e>>>1;e=u>>>1|(e&1)<<21;d=d>>>1|(u&1)<<21;--r}q&&Th(p);n?(Mh=Ph(g),l&&(q=Mh,g=(Nh(),Oh),n=q.l-g.l,l=q.m-g.m+(n>>22),Mh={l:n&na,m:l&na,h:q.h-g.h+(l>>22)&oa})):Mh=Jh(g.l,g.m,g.h);return p} -function Th(a){var b,d,e;b=~a.l+1&na;d=~a.m+(0==b?1:0)&na;e=~a.h+(0==b&&0==d?1:0)&oa;a.l=b;a.m=d;a.h=e}function Vh(a){var b;b=Wh(a.h);return 32==b?(b=Wh(a.m),32==b?Wh(a.l)+32:b+20-10):b-12}var Mh;function Xh(a,b){return a.l==b.l&&a.m==b.m&&a.h==b.h}function Ya(a){var b,d,e;if(isNaN(a))return Nh(),Yh;if(a<sa)return Nh(),Zh;if(9223372036854775E3<=a)return Nh(),Rh;e=!1;0>a&&(e=!0,a=-a);d=0;a>=ra&&(d=v(a/ra),a-=d*ra);b=0;a>=qa&&(b=v(a/qa),a-=b*qa);a=v(a);b=Jh(a,b,d);e&&Th(b);return b} -function $h(a){var b;return-129<a&&128>a?(b=a+128,null==ai&&(ai=F(bi,h,569,256,0)),a=ai[b]=Jh(a&na,a>>22&na,0>a?oa:0)):Jh(a&na,a>>22&na,0>a?oa:0)}function Uh(a,b){var d,e;d=a.h>>19;e=b.h>>19;return 0==d?0!=e||a.h>b.h||a.h==b.h&&a.m>b.m||a.h==b.h&&a.m==b.m&&a.l>=b.l:!(0==e||a.h<b.h||a.h==b.h&&a.m<b.m||a.h==b.h&&a.m==b.m&&a.l<b.l)}function Ph(a){var b,d;b=~a.l+1&na;d=~a.m+(0==b?1:0)&na;return Jh(b,d,~a.h+(0==b&&0==d?1:0)&oa)} -function Sh(a,b){var d,e,f;b&=63;d=a.h;(e=0!=(d&pa))&&(d|=-1048576);22>b?(f=d>>b,e=a.m>>b|d<<22-b,d=a.l>>b|a.m<<22-b):44>b?(f=e?oa:0,e=d>>b-22,d=a.m>>b-22|d<<44-b):(f=e?oa:0,e=e?na:0,d>>=b-44);return{l:d&na,m:e&na,h:f&oa}}function ci(a){Xh(a,(Nh(),Zh))?a=sa:Uh(a,Yh)?a=a.l+a.m*qa+a.h*ra:(a=Ph(a),a=-(a.l+a.m*qa+a.h*ra));return a}function di(a){return a.l|a.m<<22} -function ei(a){var b,d,e;if(0==a.l&&0==a.m&&0==a.h)return"0";if(a.h==pa&&0==a.m&&0==a.l)return"-9223372036854775808";if(0!=a.h>>19)return"-"+ei(Ph(a));for(d="";0!=a.l||0!=a.m||0!=a.h;){b=$h(1E9);a=Kh(a,b);b=""+di(Mh);if(0!=a.l||0!=a.m||0!=a.h)for(e=9-b.length;0<e;e--)b="0"+b;d=b+d}return d}var ai;function Nh(){Nh=m;Rh=Jh(na,na,524287);Zh=Jh(0,0,pa);Oh=$h(1);$h(2);Yh=$h(0)}var Rh,Zh,Oh,Yh;function fi(){fi=m}s(175,1,{},function(){});w(175); -function gi(){this.a=this.Cb();this.b=this.Db();this.c=this.Eb();this.d=this.Fb();this.e=this.Gb();this.f=this.Hb();this.Ib();this.g=this.Ib()}s(142,1,{});_.a=!1;_.b=!1;_.c=!1;_.d=!1;_.e=!1;_.f=!1;_.g=!1;w(142);function hi(){gi.call(this)}s(318,142,{},hi);_.Cb=ii;_.Db=ii;_.Eb=ii;_.Fb=ji;_.Gb=ii;_.Hb=ii;_.Ib=ii;_.tS=ki;w(318);function li(){gi.call(this)}s(317,142,{},li);_.Cb=ii;_.Db=ii;_.Eb=ii;_.Fb=ii;_.Gb=ii;_.Hb=ii;_.Ib=ji;_.tS=ki;w(317); -function mi(a,b){var d;(d=(a.g=b)?ni(b):null)?(a.i=!0,oi(a,d)):a.Jb()}function oi(a,b){var d=(T(),b.O);a.g=d;a.i?(a.i=!1,a.Jb()):(d=b.O,a.g=d,mi(a,d))}function pi(a,b){var d;if(gc)try{a.g=b,mi(a,b)}catch(e){if(e=H(e),t(e,12))d=e,xc(gc,d,!1);else throw I(e);}else a.g=b,mi(a,b)}function qi(a,b){var d;if(gc){try{return a.Kb(b)}catch(e){if(e=H(e),t(e,12))d=e,xc(gc,d,!1);else throw I(e);}return dg(),dg(),eg}return a.Kb(b)} -function ri(a,b,d){a=a.f;a=null!=a?0!=(ab(a).e&4)?a:O(y(z,1),h,1,3,[a]):F(z,h,1,0,3);b=a.length>b?a[b]:null;return null!=b&&(!d||ab(b)==d||d==ib&&pb(b))?b:null}function si(a,b){a.f=b;return a}function ti(){this.f=F(z,h,1,0,3)}s(6,1,ta);_.Jb=function(){throw new ec("You have to override the adequate method to handle this action, or you have to override 'public void f()' to avoid this error");};_.Kb=function(a){this.f=a;this.Jb();return dg(),dg(),eg};_.Lb=function(a){qi(this,O(y(z,1),h,1,3,[a]))}; -_.Mb=function(a){return qi(this,a)};_.Nb=function(a){si(this,a)};_.g=null;_.i=!1;var ui=w(6);function vi(a){var b=wi,b=(!U&&(U=new xi),yi(b));zi(b,a);return b}var Ai,U;function G(){G=m;Bi=4==Ta?new li:new hi;Ci=new Di;Ei=$doc;Fi();Gi();Hi=/<([\w:-]+)/;Ii=(Ji(),Ki);qc=(kc(),lc)}function Li(a){a.c=F(ib,h,0,0,2);a.d=[]} -function Mi(a){var b,d,e;if(!a)return new Ni(Oi(null));if(Pi(a))return a=new Qi(a),qi(a,a.f),new Ni(Oi(null));if(!Ri(a,"alert")&&!Si(a)&&Ti(a)){b=Oi(null);for(d=0;d<a.length;d++)(e=null!=a[d]?Object(a[d]):null)&&Ui(b,e);return new Vi(b)}return Ri(a,"alert")?new V(a):Si(a)?new V(a):Ri(a,"currentTarget")?a?new V((K(),L).bb(a)):new Ni(Oi(null)):(b=Object.prototype.toString.call(a),"[object HTMLCollection]"==b||"[object NodeList]"==b||"object"==typeof a&&a.length&&a[0].tagName?0:1)?new V(a):new Vi(a)} -function Wi(a){G();if(a){if(Si(a))return new V(a);if(t(a,22))return Xi(new Yi(O(y(z,1),h,1,3,[a])));Zi($i(O(y(z,1),h,1,3,["Error: GQuery.$(Object o) could not wrap the type : ",$a(a.cZ),a])))}return new Ni(Oi(null))} -function aj(a,b){G();var d;d=null;if(null==a||0==(d=qd(a)).length)d=new Ni(Oi(null));else if(bj(d.substr(0,1),"\x3c")){d=b&&Si(b)?9==b.nodeType?b:b.ownerDocument:null;var e,f,g,l;if(e=Hi.exec(a)){e=e[1];cj||(f=new dj(1,"\x3ctable\x3e","\x3c/table\x3e"),g=new dj(1,'\x3cselect multiple\x3d"multiple"\x3e',"\x3c/select\x3e"),l=new dj(3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"),cj={},ej(cj,"option",g),ej(cj,"optgroup",g),g=new dj(1,"\x3cfieldset\x3e","\x3c/fieldset\x3e"), -ej(cj,"legend",g),ej(cj,"thead",f),ej(cj,"tbody",f),ej(cj,"tfoot",f),ej(cj,"colgroup",f),ej(cj,"caption",f),f=new dj(2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"),ej(cj,"tr",f),ej(cj,"td",l),ej(cj,"th",l),l=new dj(2,"\x3ctable\x3e\x3ctbody\x3e\x3c/tbody\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"),ej(cj,"col",l),l=new dj(1,"\x3cmap\x3e","\x3c/map\x3e"),ej(cj,"area",l));e=e.toLowerCase();e=fj(cj,e);!e&&(e=(gj(),hj));d=(K(),d).createElement("div");l=e.b+qd(a)+e.a;d.innerHTML= -l||"";for(e=e.c;0!=e--;)d=d.lastChild;d=ij(Mi(d.childNodes),!1)}else d=new V(d.createTextNode(a))}else d=new jj,e=kj((!lj&&(lj=new mj),lj),a,b?b:Ei),d.b=a,d.a=b?b:Ei,d=nj(d,e);return d}function Xi(a){G();var b,d;b=Oi(null);for(d=a.vc();d.Gc();)a=d.Hc(),pb(a)?Ui(b,a):t(a,22)&&Ui(b,oj(a.hc()));return new Ni(b)}function pj(a,b){var d;if(b==qj)return a;if(rj&&(d=sj(rj,kb(b))))return d._b(a);throw new ec((rb(b),"No plugin registered for class "+b.k));} -function tj(a,b){return 0==a.c.length?"":id(uj(a,0),b)}function vj(a){var b,d,e,f;f=Oi(null);a=a.c;d=0;for(e=a.length;d<e;++d){b=a[d];b=kd((K(),b));for(var g=f;b;)b&&wj(g,O(y(ib,1),h,0,2,[b])),b=vd((K(),b))}return new Ni(xj(f))}function yj(a){var b=O(y(hb,1),h,2,4,["th"]);return zj(vj(a),b)}function Aj(a,b){var d,e,f,g;e=0;for(f=b.length;e<f;++e){d=b[e];try{Bj(),Bj(),Cj(a,d,null)}catch(l){if(l=H(l),t(l,12))d=l,Zb((g=d,g));else throw I(l);}}} -function Dj(a,b){var d;d=Ej((!lj&&(lj=new mj),a.d),b);return Fj(a,d,a.b)} -function zj(a,b){var d;d=Gj(", ",b);var e=(!lj&&(lj=new mj),lj);var f=a.d,g=e.a,l,n,p,q,r,u,B,P;P=Oi(null);if(d.length){p=null;B=new Dg;n=new Dg;q=0;for(r=f.length;q<r;q++)l=f[q],l==(G(),qc)||l==Ei||null==l.nodeName||Ad("html",l.nodeName)||(Eg(n,l),g?(u=$c((K(),l)))?B.a.Oe(u)||Eg(B,u):(p||(p=M(),Eg(B,p)),u=p,u.appendChild(l)):0==B.a.Yc()&&Eg(B,Ei));for(f=Hj(new Ij(B.a));f.a.Gc();)for(l=Jj(f),r=kj(e,d,l),g=0,q=r.length;g<q;g++)l=r[g],null!=n.a.Se(l)&&wj(P,O(y(ib,1),h,0,2,[l]));p&&(p.innerHTML="")}return Fj(a, -P,d)}function Kj(a,b){var d,e,f,g,l,n,p,q,r,u,B;d=Oi(null);u=0;for(B=b.length;u<B;++u)for(r=b[u],n=a.c,p=0,q=n.length;p<q;++p)for(e=n[p],f=aj(r,e).c,g=0,l=f.length;g<l;++g)e=f[g],wj(d,O(y(ib,1),h,0,2,[e]));return Fj(a,xj(d),b[0])}function uj(a,b){var d;d=a.c.length;return 0<=b&&b<d?a.c[b]:0>b&&0<=d+b?a.c[d+b]:null}function Lj(a){return 0==a.c.length?"":ld(uj(a,0))}function Gj(a,b){var d,e;e="";for(d=0;d<b.length;d++)e+=0<d?a+b[d]:b[d];return e} -function Mj(a){var b,d,e,f,g;g=Oi(null);a=a.c;d=0;for(e=a.length;d<e;++d)for(b=a[d],f=0,b=b.parentNode;b&&b!=Ei;)wj(g,O(y(ib,1),h,0,2,[b])),b=b.parentNode,++f;return new Ni(xj(g))}function Nj(a,b){return 0==a.c.length?null:Oj(uj(a,0),b)}function Fj(a,b,d){b=new Ni(b);b.b=d;b.a=a.a;return b}function ij(a,b){var d,e,f,g,l;e=a.c;f=0;for(g=e.length;f<g;++f)d=e[f],b&&(Aj(a,aj("*",d).c),Aj(a,O(y(ib,1),h,0,2,[d]))),(l=ni(d))?Pj(l):bd(d);return a} -function Cj(a,b,d){var e;Qj||(Rj={},Qj={});b=b==qc||null==b.nodeName?Rj:b;e=kb(b);if(null!=d){if(Qj[E(e)]){delete fj(Qj,E(e))[d];a:{d=fj(Qj,E(e));for(k in d)if(d.hasOwnProperty(k)){d=!1;break a}d=!0}d&&Cj(a,b,null)}}else a=E(e),delete Qj[a]}function nj(a,b){var d,e;if(b){d=a.d;var f,g,l;f=Sj(d);g=0;for(l=f.length;g<l;++g)e=f[g],delete d[e];e=b.length;a.c=F(ib,h,0,e,2);for(d=0;d<e;d++)a.c[d]=b[d],wj(a.d,O(y(ib,1),h,0,2,[b[d]]))}return a} -function Tj(a){var b,d,e,f,g;g="";b=a.c;d=0;for(e=b.length;d<e;++d)if(a=b[d],qc!=a){try{f=a&&"HTML"!==(a&&Si(a)?9==a.nodeType?a:a.ownerDocument:null).documentElement.nodeName?(new XMLSerializer).serializeToString(a):(K(),L).lb(a)}catch(l){if(l=H(l),t(l,12))f=l,f="\x3c "+(a?a.nodeName:"null")+"(gquery, error getting the element string representation: "+f.Z()+")/\x3e";else throw I(l);}g+=""+f}return g} -function Uj(a){var b=0,d,e,f;a=a.c;e=0;for(f=a.length;e<f;++e)if(d=a[e],d=ni(d)){if(0==b)return d;--b}return null}function jj(){Li(this)}function V(a){G();Ni.call(this,Oi(a))}function Vi(a){Li(this);nj(this,a)}function Vj(a){G();Li(this);this.c=a.c;this.d=a.d;this.b=a.b;this.a=a.a}function Ni(a){G();Vi.call(this,a)} -function Wj(a,b,d){G();Qj||(Rj={},Qj={});if((a=a==qc||null==a.nodeName?Rj:a)&&null!=b){a=kb(a);if(null==d)return Qj[E(a)]?Xj(fj(Qj,E(a)),b,null):null;Qj[E(a)]||ej(Qj,E(a),{});ej(fj(Qj,E(a)),b,d)}return d}function ni(a){G();var b;try{b=(T(),Yj(a));if(!b)return null;if(t(b,17))return b}catch(d){if(d=H(d),t(d,12))a=d,Zb(a);else throw I(d);}return null}function Zj(a,b){G();!rj&&(rj={});ak(rj,a,b);return a}s(7,1,{},jj,V,Vi,Ni);_.Ob=function(a,b){var d=pj(this,(bk(),ck));return dk(d,a,b)};_.tS=function(){return Tj(this)}; -var Ii,ek,Bi,Ci,Qj=null,Ei,lj,rj,fk,Hi,qc,Rj=null,cj,qj=w(7);function gj(){gj=m;hj=new dj(0,"","")}function dj(a,b,d){gj();this.c=a;this.a=d;this.b=b}s(57,1,{},dj);_.c=0;var hj;w(57);s(528,1,{});_.Sb=function(){return!1};w(528);function gk(a,b){var d;return d=Xj(a,""+b,hk),d?d.a:0}function ik(a,b){var d,e;e=fj(a,""+b);if(null!=e){if(t(e,6))return e;if(pb(e))return d=fj(e,"__f"),null!=d&&t(d,6)?d:new Qi(e)}return null}function W(a,b){return nd(a,""+b)}function jk(a,b,d){ej(a,""+b,d);return a} -var kk=yb();function zi(a,b){if(null!=b&&eb(b))return zi(a,lk(b));null!=b&&(a.a=b);return a}function mk(a,b,d){var e,f,g,l;if(0<d.length&&t(d[0],45))for(e=[],g=0,l=d.length;g<l;++g)f=d[g],f=f.Pb(),e[e.length]=f;else e=[],wj(e,d);jk(a.a,b,e)}s(43,1,ua);_.Pb=nk;_.Qb=function(a){return zi(this,a)};_.Wb=function(a){return zi(this,lk(a))};_.Rb=function(a,b){return null!=b&&(!eb(b)&&b.tM!==Ua||eb(b)&&nb[44]||b.cM&&b.cM[44])?jk(this.a,a,fb(b)?b.Pb():b):jk(this.a,a,b),this};_.tS=function(){return $wnd.JSON.stringify(this.a)}; -w(43);function ok(){this.a={}}s(451,43,ua,ok);w(451);function yi(a){return a==kk?new ok:a==pk?new qk:a==wi?new rk:a==sk?new tk:a==uk?new vk:a==wk?new xk:a==yk?new zk:a==Ak?new Bk:a==Ck?new Dk:a==Ek?new Fk:a==Gk?new Hk:null}function xi(){}s(30,1,{},xi);w(30);function Ik(){Ik=m;Jk=RegExp("^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$","i")}function Kk(){Ik()}s(169,1,{},Kk);var Jk;w(169);function Lk(){}s(488,1,{},Lk); -_.Xb=function(a){return null==a};_.Yb=function(a,b,d){a.setAttribute(b,""+d)};var Mk;w(488);function Nk(){}s(490,488,{},Nk);_.Xb=function(a){return null==a||Ok((dg(),fg),a)};_.Yb=function(a,b){Ri(a,b)&&(a[b]=!0);var d=b.toLowerCase();a.setAttribute(b,""+d)};var Pk;w(490);function Qk(){}s(491,488,{},Qk);_.Yb=function(a,b,d){var e=null==d?null:eb(d)?d:fb(d)?d.tS():gb(d)?Za(d):d.toString?d.toString():"[JavaScriptObject]";a.id=e;a.setAttribute(b,""+d)};var Rk;w(491); -function Sk(){Sk=m;Tk=/^(?:button|input)$/i}function Uk(){Sk()}s(492,488,{},Uk);_.Yb=function(a,b,d){var e;e=a.nodeName;var f;if(f=Tk.test(e)){f=(G(),new V(a));var g=O(y(hb,1),h,2,4,["body"]);f=0<zj(Mj(f),g).c.length}if(f)throw new ec("You cannot change type of button or input element if the element is already attached to the dom");bj("input",e.toLowerCase())&&"radio"===d?(b=a.value,a.setAttribute("type",""+d),a.value=b):a.setAttribute(b,""+d)};var Vk,Tk;w(492);function Wk(){}s(489,488,{},Wk); -_.Yb=function(a,b,d){a.value=""+d;a.setAttribute(b,""+d)};var Xk;w(489);function $i(a){var b,d,e,f;f=[];d=0;for(e=a.length;d<e;++d)b=a[d],wj(f,O(y(z,1),h,1,3,[b]));return f}function Di(){this.a=(G(),Bi).b?new Yk:Bi.c?new Zk:new $k}s(319,1,{},Di);w(319);function Zi(a){$wnd.console.log.apply($wnd.console,a)}function $k(){}s(320,1,{},$k);_.Zb=function(a){$wnd.console.error.apply($wnd.console,a)};w(320);function Zk(){this.$b()}s(143,320,{},Zk); -_.Zb=function(a){this.a&&$wnd.console.error.apply($wnd.console,a)};_.$b=function(){try{"log info warn error dir clear profile profileEnd".split(" ").forEach(function(a){$wnd.console[a]=this.call($wnd.console[a],$wnd.console)},Function.prototype.bind),this.a=!0}catch(a){}};_.a=!1;w(143);function Yk(){this.$b()}s(321,143,{},Yk);_.$b=function(){try{Function.prototype.call.call($wnd.console.log,$wnd.console,Array.prototype.slice.call(arguments)),this.a=!0}catch(a){}};w(321); -function al(){al=m;bl=/^(fillOpacity|fontWeight|lineHeight|opacity|orphans|widows|zIndex|zoom)$/i;cl=/^(client|offset|)(width|height)$/i} -function dl(a,b,d,e){var f,g;if(!b)return"";d=el(d);f=Kd(b.style,d);if(e){e=null;if(Ad("html",b.nodeName)?0:!ad((b&&Si(b)?9==b.nodeType?b:b.ownerDocument:null).body,b))e=Mj((G(),new V(b))),e=new V(uj(e,e.c.length-1)),e=uj(e,0),!e&&(e=b),$doc.body.appendChild(e);if(cl.test(d)){var l;sj((fl(),gl),jb("visible")).Sb(b,0)?a=hl(a,b,d):(f=dl(a,b,"display",!1),g=dl(a,b,"position",!1),l=dl(a,b,"visibility",!1),il(b,"display","block"),il(b,"position","absolute"),il(b,"visibility","hidden"),a=hl(a,b,d),il(b, -"display",f),il(b,"position",g),il(b,"visibility",l));f=a+"px"}else if(Ad("opacity",d))b=b.style,f=""+(g=(K(),b).opacity,g?jl(g):1);else{a=d.replace(/([A-Z])/g,"-$1").toLowerCase();try{f=(l=$doc.defaultView.getComputedStyle(b,null))&&l.getPropertyValue?l.getPropertyValue(a):null}catch(n){f=null}}e&&bd(e)}return null==f?"":f}function kl(a,b){0==(b.clientHeight|0)&&0==(b.clientWidth|0)&&bj("inline",dl(a,b,"display",!0))&&(il(b,"display","inline-block"),il(b,"width","auto"),il(b,"height","auto"))} -function el(a){return Ad("float",a)?"cssFloat":Ad("for",a)?"htmlFor":ll(a)}function hl(a,b,d){var e;e=0;"width"===d?e=(kl(a,b),v((b.clientWidth|0)-jl(dl(a,b,"paddingLeft",!0))-jl(dl(a,b,"paddingRight",!0)))):"height"===d?e=(kl(a,b),v((b.clientHeight|0)-jl(dl(a,b,"paddingTop",!0))-jl(dl(a,b,"paddingBottom",!0)))):"clientWidth"===d?e=b.clientWidth|0:"clientHeight"===d?e=b.clientHeight|0:"offsetWidth"===d?e=(b.offsetWidth||0)|0:"offsetHeight"===d&&(e=(b.offsetHeight||0)|0);return e} -function jl(a){return(a=ml(qd(a),"[^\\d\\.\\-]+.*$",""))?nl(a):0}function il(a,b,d){a&&null!=b&&(b=el(b),ol(b,"^[A-Z]+$")&&(b=b.toLowerCase()),b=ll(b),null==d||0==qd(d).length?a.style[b]="":(ol(d,"-?[\\d\\.]+")&&!bl.test(b)&&(d+="px"),a.style[b]=d))}function pl(){al()}s(376,1,{},pl);var bl,cl,ql=w(376);function fl(){fl=m;$doc.location.href.indexOf("_force_no_native");gl={};ak(gl,"visible",new rl);ak(gl,"hidden",new sl);ak(gl,"selected",new tl);ak(gl,"input",new ul);ak(gl,"header",new vl)} -function Ej(a,b){var d,e,f,g,l;l=Oi(null);e=0;g=a.length;for(f=0;e<g;e++)if(d=a[e],b.Sb(d,e)){var n=f++;ej(l,E(n),d)}return l} -function kj(a,b,d){var e,f,g,l,n,p,q;if(a.c.test(b))for(;l=a.c.exec(b);)b=l[1]+":"+l[3],l[3]===l[2]||(b+=":"+l[2]),b+=l[4];if(a.b.test(b)){n=Oi(null);b=wl(qd(b),"\\s*,\\s*",0);l=0;for(q=b.length;l<q;++l)p=b[l],(e=a.b.exec(p))?(p=e[1].length?e[1]:"*",g=e[2],(e=sj(gl,jb(g.toLowerCase())))?f=Ej(kj(a,p,d),e):a.c.test(g)?f=kj(a,p,d):f=kj(a,p+"[type\x3d"+g+"]",d)):f=kj(a,p,d),xl(n,f,!1);return n}a=b;try{n=(fl(),d.querySelectorAll(a))}catch(r){if(r=H(r),t(r,12))f=r,d=(G(),Ci),a="GwtQuery: Selector '"+a+ -"' is unsupported in this SelectorEngineNativeMin engine. Do not use this syntax or configure your module to use a JS fallback. "+f.Z(),d.a.Zb($i(O(y(z,1),h,1,3,[a]))),n=null;else throw I(r);}return n}function mj(){fl();this.b=RegExp("(.*):((visible|hidden|selected|input|header)|((button|checkbox|file|hidden|image|password|radio|reset|submit|text)\\s*(,|$)))(.*)","i");this.c=/(.*):([\w]+):(disabled|checked|enabled|empty|focus)\s*([:,].*|$)/i;rb(yl);zl=new pl;rb(ql)}s(89,1,{},mj);_.a=!0;var gl,zl; -w(89);function rl(){}s(402,528,{},rl);_.Sb=function(a){return 0<((a.offsetWidth||0)|0)+((a.offsetHeight||0)|0)&&!Ad("none",dl((fl(),zl),a,"display",!0))};w(402);function sl(){}s(403,528,{},sl);_.Sb=function(a,b){return!sj((fl(),gl),jb("visible")).Sb(a,b)};w(403);function tl(){}s(404,528,{},tl);_.Sb=function(a){return!!a.selected};w(404);function ul(){}s(405,528,{},ul);_.Sb=function(a){return ol(a.nodeName.toLowerCase(),"input|select|textarea|button")};w(405);function vl(){}s(406,528,{},vl); -_.Sb=function(a){return ol(a.nodeName.toLowerCase(),"h\\d")};w(406);var yl=w(null);function fj(a,b){return Al([a&&a[b]])} -function Xj(a,b,d){b=fj(a,b);if(null!=b&&d)if(t(b,15))if(a=b,d==hk)b=new Bl(a.a);else if(d==Cl)b=E(v(a.a));else if(d==Dl){d=Ya(a.a);a=na;b=oa;var e,f;e=d.h>>19;f=b>>19;(0==e?!(0!=f||d.h>b||d.h==b&&d.m>a||d.h==b&&d.m==a&&4194175<d.l):0==f||d.h<b||d.h==b&&d.m<a||d.h==b&&d.m==a&&4194175>=d.l)||Uh(d,{l:128,m:0,h:0})?b=new El(d):(a=di(d)+128,b=(Fl(),Gl)[a],!b&&(b=Gl[a]=new El(d)))}else d==Hl?(d=v(a.a)<<16>>16,-129<d&&128>d?(a=d+128,b=(Il(),Jl)[a],!b&&(b=Jl[a]=new Kl(d))):b=new Kl(d)):d==Ll&&(d=v(a.a)<< -24>>24,a=d+128,b=(Ml(),Nl)[a],!b&&(b=Nl[a]=new Ol(d)));else d!=Pl||t(b,59)?d==hb&&!eb(b)&&(b=""+b):b=(dg(),Ad("true",""+b)?eg:fg);return b}function Ql(a,b){var d=a[b];return"[object Array]"==Object.prototype.toString.call(d)?d:null}function Rl(a,b){var d;return(d=Xj(a,b,Sl))?d.a:0}function Tl(a,b){var d;d=fj(a,b);return null!=d&&pb(d)?d:null} -function Sj(a){var b,d=[];for(b in a)a.hasOwnProperty(b)&&"__gwt_ObjectId"!=b&&"$H"!=b&&d.push(String(b));b=F(hb,h,2,d.length,4);for(a=0;a<d.length;a++)b[a]=d[a];return b}function Ul(a){if("number"==typeof a.length)return a.length;var b,d=0;for(b in a)"__gwt_ObjectId"!=b&&d++;return d}function ej(a,b,d){t(d,59)?a[b]=d.a:(t(d,51)&&(d=d.Ge()),a[b]=d)} -function Al(a){if("object"==typeof a&&1==a.length){a=a[0];var b=typeof a;if("boolean"==b)return dg(),a?eg:fg;if("number"==b)return new S(a)}return a||null}function sj(a,b){return fj(a,E(b))}function ak(a,b,d){ej(a,E(bb(b)),d)}function Ui(a,b){wj(a,O(y(ib,1),h,0,2,[b]))}function Oi(a){return a?[a]:[]}function wj(a,b){var d,e,f;e=0;for(f=b.length;e<f;++e)if(d=b[e],t(d,51)){var g=E(Ul(a));d=d.Ge();a[g]=d}else t(d,59)?(g=E(Ul(a)),a[g]=d.a):ej(a,E(Ul(a)),d);return a} -function ll(a){return a.replace(/\-(\w)/g,function(a,d){return d.toUpperCase()})}function xl(a,b,d){var e,f,g,l;l=!a||d?Oi(null):a;g={};for(f=0;a&&f<a.length;f++)e=a[f],ej(g,E(kb(e)),E(1)),d&&ej(l,E(f),e);a=0;f=b.length;for(d=l.length;a<f;a++)if(e=b[a],!g[E(kb(e))]){e=b[a];var n=d++;ej(l,E(n),e)}return l}function Ri(a,b){var d=b.split("."),e;for(e in d){if(!(a&&d[e]in a))return!1;a=a[d[e]]}return!0} -function Ti(a){return"[object Array]"==Object.prototype.toString.call(a)||"number"==typeof a.length}function Si(a){return!!a&&"nodeType"in a&&"nodeName"in a}function Pi(a){return"[object Function]"==Object.prototype.toString.call(a)}function lk(a){try{var b;try{b=JSON.parse(a)}catch(d){throw new D("Error parsing JSON: "+d+"\n"+a);}return b}catch(e){e=H(e);if(t(e,12))return{};throw I(e);}}function Oj(a,b){return a?fj(a,b):null} -function Vl(a,b,d){var e;a:{d=wj([],d);var f=a||$wnd;b=b.split(".");for(e in b)if(a=f,f=f[b[e]],!f){e=null;break a}e=Pi(f)&&Al([f.apply(a,d)])}return e}function Wl(a){return function(b){var d=new C;for(i in arguments)b=Al([arguments[i]]),d.Cd(b);d=d.Jd();a.Nb(d);return a.Mb(d)}}function Qi(a){ti.call(this);this.a=null;Pi(a)&&(this.a=a)}s(141,6,ta,Qi);_.eQ=function(a){return qb(this.a)===qb(a)};_.ab=Xl;_.Jb=Xl;_.hC=function(){return kb(this.a)};w(141); -function xj(a){var b,d,e,f,g;g=[];b={};for(e=0;e<a.length;e++)d=a[e],f=kb(d),b[E(f)]||(f=E(f),b[f]=1,g[g.length]=d);return g}function Gi(){Gi=m;G();Zj(Yl,new Zl)}function $l(a){Gi();Vj.call(this,a)}s(127,7,{},$l);var Yl=w(127);function am(){am=m;Gi();bm=Zj(cm,new dm)}function em(a){am();$l.call(this,a)} -function fm(a,b,d){if($wnd.MutationObserver){var e=new $wnd.MutationObserver(function(a){a=jk({},"mutations",a);t(d,6)?d.Kb(O(y(z,1),h,1,3,[a])):t(d,556)&&d.onMutation(gm(vi(a)))});(a.__gq_obs||(a.__gq_obs=[])).push(e);e.observe(a,b)}else $wnd.console.log("ERROR: this browser does not support MutationObserver: "+$wnd.navigator.userAgent)}s(190,127,{},em);var bm,cm=w(190);function dm(){}s(191,1,{},dm);_._b=function(a){return new em(a)};w(191);var pk=yb(),wi=yb(),sk=yb();function qk(){this.a={}} -s(452,43,ua,qk);w(452);function gm(a){var b,d,e,f,g;b=Ql(a.a,"mutations");b=F(sk,h,557,b?b.length:0,0);a=Ql(a.a,"mutations");f=b.length;for(d=0;d<f;d++)g=fj(a,E(d)),e=new tk,b[d]=zi(e,g);return new Yi(b)}function rk(){this.a={}}s(453,43,ua,rk);w(453);function tk(){this.a={}}s(162,43,{44:1,45:1,557:1},tk);w(162);function bk(){bk=m;G();ck=Zj(hm,new im);rb(hm);jm=(rb(hm),hm.k+".Queue-");km=jm+"fx"} -function dk(a,b,d){var e=km,f,g,l,n;g=a.c;l=0;for(n=g.length;l<n;++l)f=g[l],lm(a,f,e,new mm(a,f,e,b,d));return a}function lm(a,b,d,e){var f;return b?(f=(G(),Wj(b,d,null)),e&&(!f&&(f=Wj(b,d,new nm)),om(f,e,f.c.b,f.c),1==f.b&&pm(a,b,d,f)),f):null}function pm(a,b,d,e){var f,g;(e=0==e.b?null:(J(0!=e.b),e.a.a.c))?pi(e,b):(qm((f=d+".Empty",g=(G(),Wj(b,f,null)),!g&&(g=Wj(b,f,new rm("once memory"))),g),O(y(z,1),h,1,3,[])),Cj(a,b,d),Cj(a,b,d+".Empty"))}function sm(a){bk();Vj.call(this,a)}s(108,7,{},sm); -_.Ob=function(a,b){return dk(this,a,b)};var km,jm,ck,hm=w(108);function Fi(){Fi=m;bk();Zj(tm,new um)}function vm(a){Fi();sm.call(this,a)}s(322,108,{},vm);var tm=w(322);function um(){}s(323,1,{},um);_._b=function(a){return new vm(a)};w(323);function Zl(){}s(192,1,{},Zl);_._b=function(a){return new $l(a)};w(192);function im(){}s(305,1,{},im);_._b=function(a){return new sm(a)};w(305);function mm(a,b,d,e,f){this.e=a;ti.call(this);this.b=b;this.a=e;this.c=f;this.d=d}s(303,6,ta,mm); -_.Jb=function(){Pb(new wm(this),this.a)};_.a=0;w(303);function wm(a){this.a=a}s(304,39,{},wm);_.W=function(){var a,b,d,e;b=this.a.c;d=0;for(e=b.length;d<e;++d)a=b[d],pi(a,this.a.b);a=this.a.e;b=this.a.b;d=this.a.d;e=this.a;var f;(f=lm(a,b,d,null))&&qb(e)===qb(0==f.b?null:(J(0!=f.b),f.a.a.c))&&(e=lm(a,b,d,null))&&(0==e.b||(J(0!=e.b),xm(e,e.a.a)),pm(a,b,d,e))};w(304); -function Ji(){Ji=m;bk();ym=O(y(hb,1),h,2,4,"html body head tr thead tfoot options script noscript style title".split(" "));Zj(Ki,new zm)}function Am(a){var b,d,e,f;f=new C;a=a.c;d=0;for(e=a.length;d<e;++d){for(var g=b=a[d],l=ym,n=void 0,p=void 0,q=void 0,p=new Og("^("),q=null!=l?l.length:0,n=0;n<q;n++)Yc(p,l[n].toUpperCase()),n<q-1&&(p.a+="|");p.a+=")$";(b=ol((K(),g).tagName.toUpperCase(),p.a)?null:new Bm(b))&&Ob(f,(T(),b.O))}return pj(Xi(f),Ki)}function Cm(a){Ji();sm.call(this,a)}s(301,108,{},Cm); -var ym,Ki=w(301);function zm(){}s(302,1,{},zm);_._b=function(a){return new Cm(a)};w(302);function Dm(){Dm=m;G();Zj(Em,new Fm)}function Gm(a){Dm();Vj.call(this,a)}s(398,7,{},Gm);var Em=w(398);function Fm(){}s(399,1,{},Fm);_._b=function(a){return new Gm(a)};w(399);function Hm(a){this.a=a;ti.call(this)}s(400,6,ta,Hm); -_.Kb=function(){var a,b,d,e;d=ri(this,0,null);b=ri(this,1,null);e=d.a.responseText;if(null!=e&&""!==e)try{if(Ad("xml",this.a))a=d.a.responseText,e=(new DOMParser).parseFromString(a,"text/xml").documentElement;else if(Ad("json",this.a)){var f=d.a.responseText;e=(!U&&(U=new xi),lk(f))}else if(e=d.a.responseText,Ad("script",this.a)){var g=pc((kc(),new rc(e))),l,n,p=g.c?g.c:nc();kc();l=p.document;n=oc(l);var q=g.b;kc();n.text=q;kc();(l.head||l.getElementsByTagName("head")[0]).appendChild(n);g.a&&(kc(), -n.parentNode.removeChild(n))}}catch(r){if(r=H(r),t(r,12))a=r,gc?xc(gc,a,!1):Zb(a);else throw I(r);}return O(y(z,1),h,1,3,[e,"success",b,d])};w(400);function Im(){ti.call(this)}s(401,6,ta,Im);_.Kb=function(){var a,b,d;a=ri(this,0,null);d=ri(this,1,Wg);b=""+a;return O(y(z,1),h,1,3,[null,b,d,null,a])};w(401);var uk=yb();function Jm(){}s(122,1,{},Jm);w(122);function Km(a,b){Lm(a.c.d,b);return a}function Mm(){new Nm(this);new Om(this);this.c=new Pm}function Qm(a){new Nm(this);new Om(this);this.c=a} -s(73,1,va,Qm);_.Tb=function(a){Lm(this.c.d,a);Lm(this.c.c,a)};_.Ub=function(){return"resolved"===this.c.e};_.Vb=function(a){Lm(this.c.a,a)};_.tS=function(){return"Promise this\x3d"+kb(this)+" "+this.c};w(73);s(128,73,va);w(128);function Rm(a){this.b=a;Mm.call(this);this.ac(this.c)}s(478,128,va,Rm); -_.ac=function(a){var b=pc((kc(),new sc(W(this.b.a,"url"))));b.a=new Sm(this,a);var d;a=b.c?b.c:nc();kc();a=a.document;d=oc(a);b.a&&mc(d,b.a);b=b.b;kc();d.src=b;kc();(a.head||a.getElementsByTagName("head")[0]).appendChild(d);this.a=d};w(478);function Tm(a){(G(),new V(qc)).Ob(0,O(y(ui,1),h,6,0,[new Um(a,a.b)]))}function Sm(a,b){this.a=a;this.b=b}s(479,1,{561:1},Sm);_.X=function(a){var b=this.b;a=O(y(z,1),h,1,3,[a]);"pending"==b.e&&qm(b.c,a)};_.Y=function(){Tm(this)};w(479); -function Um(a,b){this.a=a;this.b=b;ti.call(this)}s(480,6,ta,Um);_.Jb=function(){Vm(this.b,O(y(z,1),h,1,3,[this.a.a.a]))};w(480);function vk(){this.a={}}s(454,43,ua,vk);w(454);function Lm(a,b){var d,e,f;e=0;for(f=b.length;e<f;++e)d=b[e],a.a||!a.f||!d||a.d&&-1!=Wm(a.f,d)||Ob(a.f,d),a.b&&a.e&&Xm(d,Ym(a.e))}function Zm(a){a.f=null;a.a=!0} -function qm(a,b){var d,e;if(!a.a&&(a.a=a.c,a.b&&(a.e=new $m(new Yi(b))),a.f))for(e=new Gg(a.f);e.b<e.d.Yc()&&(d=(J(e.b<e.d.Yc()),e.d.Ed(e.c=e.b++)),Xm(d,b)||!a.g););}function Xm(a,b){var d;null!=b&&1==b.length&&null!=b[0]&&0!=(ab(b[0]).e&4)&&(b=b[0]);if(t(a,6))return d=a.Kb(b),!t(d,59)||d.a;t(a,561)&&Tm(a);return!0}function rm(a){this.f=new C;this.c=-1!=a.indexOf("once");this.b=-1!=a.indexOf("memory");this.d=-1!=a.indexOf("unique");this.g=-1!=a.indexOf("stopOnFalse")}s(91,1,{},rm);_.a=!1;_.b=!1; -_.c=!1;_.d=!1;_.e=null;_.g=!1;w(91);function Ug(a,b){"pending"==a.e&&qm(a.c,b)}function Vm(a,b){"pending"==a.e&&qm(a.d,b)}function Vg(a,b){"pending"==a.e&&qm(a.d,b)}function Pm(){this.a=new rm("memory");this.c=new rm("once memory");this.d=new rm("once memory");Lm(this.d,O(y(ui,1),h,6,0,[new an(this)]));Lm(this.c,O(y(ui,1),h,6,0,[new bn(this)]))}s(129,1,{},Pm); -_.tS=function(){var a="Deferred this\x3d"+kb(this)+" promise\x3d"+(!this.b&&(this.b=new Qm(this)),kb(this.b))+" state\x3d"+this.b.c.e+" restatus\x3d",b;b=this.d;b="stack\x3d"+(b.f?E(b.f.b.length):"null")+" "+b.a;return a+b};_.b=null;_.e="pending";w(129);function an(a){this.a=a;ti.call(this)}s(195,6,ta,an);_.Jb=function(){this.a.e="resolved";Zm(this.a.d);var a=this.a.a;a.b||Zm(a);a.f=null};w(195);function bn(a){this.a=a;ti.call(this)}s(196,6,ta,bn); -_.Jb=function(){this.a.e="rejected";Zm(this.a.c);var a=this.a.a;a.b||Zm(a);a.f=null};w(196);function Nm(a){this.a=a;ti.call(this)}s(130,6,ta,Nm);_.Jb=function(){Vg(this.a.c,this.f)};w(130);function Om(a){this.a=a;ti.call(this)}s(131,6,ta,Om);_.Jb=function(){Ug(this.a.c,this.f)};w(131);function cn(a,b,d){0==b&&Vm(a.b,d);if(1==b){var e=a.b;"pending"==e.e&&qm(e.c,d)}2==b&&(a=a.b,"pending"==a.e&&qm(a.a,d))} -function dn(a,b,d){ti.call(this);this.a=!1;this.d=d;this.c=b.length>this.d?b[this.d]:null;this.b=a;this.a=!1}s(95,6,ta,dn);_.Jb=function(){var a,b;b=this.f;this.c?(a=si(this.c,b).Kb(b),t(a,84)?2==this.d?a.Vb(O(y(ui,1),h,6,0,[new en(this)])):a.Tb(O(y(ui,1),h,6,0,[new fn(this,a)])):(a=Ok((dg(),eg),a)?b:(null!=a&&ab(a),a),cn(this,this.d,O(y(z,1),h,1,3,[a])))):cn(this,this.d,b)};_.a=!1;_.d=0;w(95);function en(a){this.a=a;ti.call(this)}s(193,6,ta,en);_.Jb=function(){cn(this.a,2,this.f)};w(193); -function fn(a,b){this.a=a;this.b=b;ti.call(this)}s(194,6,ta,fn);_.Jb=function(){cn(this.a,(0==this.a.d||1==this.a.d&&this.a.a)&&this.b.Ub()?0:1,this.f)};w(194); -function gn(a){var b,d,e,f,g,l,n,p,q,r;Mm.call(this);p=W(a.a,"type");e=W(a.a,"url");d=(!Tl(a.a,"data")&&jk(a.a,"data",{}),Tl(a.a,"data"));b=W(a.a,"contentType");q=(dg(),d&&"[object FormData]"==Object.prototype.toString.call(d)?eg:fg);r=new $wnd.XMLHttpRequest;try{null!=W(a.a,"username")&&null!=W(a.a,"password")?r.open(p,e,!0,W(a.a,"username"),W(a.a,"password")):null!=W(a.a,"username")?r.open(p,e,!0,W(a.a,"username")):r.open(p,e,!0)}catch(u){u=H(u);if(t(u,56)){a=u;d=new Zg(e);q=new Tg(a.Z());if(d.e)throw new X("Can't overwrite cause"); -Nc(q!=d,"Self-causation not permitted");d.e=q;Ug(this.c,O(y(z,1),h,1,3,[a,null]));return}throw I(u);}e=Wl(new hn(this));r&&ej(r,"onprogress",e);e=r?fj(r,"upload"):null;f=Wl(new jn(this));e&&ej(e,"onprogress",f);if(n=(!Tl(a.a,"headers")&&jk(a.a,"headers",{}),Tl(a.a,"headers")))for(f=Sj(n),g=0,l=f.length;g<l;++g){e=f[g];var B=""+fj(n,""+e);r.setRequestHeader(e,B)}!d||q.a||Ad("GET",p)||r.setRequestHeader("Content-Type",b);b=Xj(a.a,"withCredentials",Pl);b=!!b&&b.a;r&&ej(r,"withCredentials",b?eg:fg);b= -v(gk(a.a,"timeout"));b=new Pg(r,b,this);kn(r,new ln(this,b));try{Vl(r,"send",O(y(z,1),h,1,3,[q.a?d:W(a.a,"dataString")]))}catch(P){if(P=H(P),t(P,56))a=P,Ug(this.c,O(y(z,1),h,1,3,[a,null]));else throw I(P);}}s(498,73,va,gn);w(498);function hn(a){this.a=a;ti.call(this)}s(499,6,ta,hn);_.Jb=function(){var a,b,d,e;b=ri(this,0,null);e=Rl(b,"total");a=Rl(b,"loaded");d=0==a?0:0==e?100:100*a/e;b=this.a.c;e=O(y(z,1),h,1,3,[new S(e),new S(a),new S(d),"download"]);"pending"==b.e&&qm(b.a,e)};w(499); -function jn(a){this.a=a;ti.call(this)}s(500,6,ta,jn);_.Jb=function(){var a,b,d,e;b=ri(this,0,null);e=Rl(b,"total");a=Rl(b,"loaded");d=100*a/e;b=this.a.c;e=O(y(z,1),h,1,3,[new S(e),new S(a),new S(d),"upload"]);"pending"==b.e&&qm(b.a,e)};w(500);function ln(a,b){this.a=a;this.b=b}s(501,1,{},ln);_.bc=function(a){4==a.readyState&&(Xg(a),this.b.yb(this.a))};w(501);function mn(){mn=m;nn=/^(.+[\?&])([^=]+)=\?(.*)$/} -function on(a,b){mn();var d=a,e=null,f,g;Mm.call(this);f=new Dh;0<b&&(f.b=b);null==e&&(g=nn.exec(d))&&4==g.length&&(e=g[2],d=g[1]+g[3]);null!=e&&(f.a=e);f.Bb(d,new pn(this))}s(171,73,va,on);var nn;w(171);function pn(a){this.a=a}s(497,1,{},pn);_.cc=function(a){Ug(this.a.c,O(y(z,1),h,1,3,[a]))};_.Y=function(a){Vg(this.a.c,O(y(z,1),h,1,3,[a]))};w(497);function Bj(){Bj=m;qn=new Lg;qn.Re(rn,new sn);qn.Re(tn,new sn)}var rn="mouseenter",tn="mouseleave",qn;s(431,1,{});w(431);function sn(){new un;new vn} -s(155,431,{},sn);w(155);function vn(){ti.call(this)}s(432,6,ta,vn);w(432);function un(){ti.call(this)}s(433,6,ta,un);w(433);function oj(a){return T(),a.O}function wn(a,b){xn(a,yn((zn(),An).Mc(Bn((T(),a.O))))+"-"+b,!1)}function xn(a,b,d){Cn((zn(),An).Mc(Bn((T(),a.O))),b,d)}function yn(a){var b;a=a.className||"";b=Dn(a,En(32));return 0<=b?a.substr(0,b):a} -function Cn(a,b,d){if(!a)throw new ec("Null widget handle. If you are creating a composite, ensure that initWidget() has been called.");b=qd(b);if(0==b.length)throw new D("Style names cannot be empty");d?cd(a,b):pd(a,b)} -function Fn(a,b){if(!a)throw new ec("Null widget handle. If you are creating a composite, ensure that initWidget() has been called.");b=qd(b);if(0==b.length)throw new D("Style names cannot be empty");var d=b,e=(a.className||"").split(/\s+/);if(e){var f=e[0],g=f.length;e[0]=d;for(var l=1,n=e.length;l<n;l++){var p=e[l];p.length>g&&"-"==p.charAt(g)&&0==p.indexOf(f)&&(e[l]=d+p.substring(g))}a.className=e.join(" ")}}s(20,1,{24:1,20:1});_.dc=Gn;_.ec=function(){throw new Hn;}; -_.fc=function(a){(T(),this.O).style.height=a};_.gc=function(a){(T(),this.O).style.width=a};_.tS=function(){var a;this.O?(a=(T(),this.O),a=(K(),L).lb(a)):a="(null handle)";return a};w(20);function In(a,b,d){return wg(a.M?a.M:a.M=new Ig(a),d,b)}function Jn(a,b){a.M&&ng(a.M,b)}function Kn(a){var b;if(a.kc())throw new X("Should only call onAttach when the widget is detached from the browser's document");a.K=!0;T();a.O.__listener=a;b=a.L;a.L=-1;0<b&&a.rc(b);a.ic();a.oc();lg(a)} -function Ln(a,b){var d;switch(T(),Mn((K(),b).type)){case 16:case 32:if((d=L.mb(b))&&ad(a.O,d))return}d=a.O;var e,f,g,l;if(Zf&&(e=(K(),b).type,e=Zf.a[e]))for(l=e.vc();l.Gc();)g=l.Hc(),e=g.a.d,f=g.a.e,g.a.d=b,g.a.e=d,Jn(a,g.a),g.a.d=e,g.a.e=f}function Nn(a){if(!a.kc())throw new X("Should only call onDetach when the widget is attached to the browser's document");try{a.pc(),lg(a)}finally{try{a.jc()}finally{T(),a.O.__listener=null,a.K=!1}}} -function Pj(a){if(!a.N)On(),Pn.a.Oe(a)&&Qn(a);else if(t(a.N,37))a.N.tc(a);else if(a.N)throw new X("This widget's parent does not implement HasWidgets");}function Rn(a,b){var d;d=a.N;if(b){if(d)throw new X("Cannot set a new parent without first clearing the old parent");a.N=b;b.kc()&&a.lc()}else try{d&&d.kc()&&a.nc()}finally{a.N=null}}function Sn(a,b){-1==a.L?Tn((T(),a.O),b|(a.O.__eventBits||0)):a.L|=b}s(17,20,wa);_.hc=function(){return this};_.ic=Un;_.jc=Un;_.xb=function(a){Jn(this,a)};_.kc=function(){return this.K}; -_.lc=function(){Kn(this)};_.mc=function(a){Ln(this,a)};_.nc=function(){Nn(this)};_.oc=Un;_.pc=Un;_.qc=function(a){Rn(this,a)};_.rc=function(a){Sn(this,a)};_.K=!1;_.L=0;var Vn=w(17);s(35,17,xa);_.sc=function(){throw new Wn("This panel does not support no-arg add()");};_.ic=function(){Xn(this,(Yn(),Zn))};_.jc=function(){Xn(this,(Yn(),$n))};w(35);function ao(a,b,d){Pj(b);bo(a.a,b);T();var e=co(b.O);d.appendChild(e);Rn(b,a)} -function eo(a,b){var d;if(b.N!=a)return!1;try{Rn(b,null)}finally{d=(T(),b.O),$c((K(),d)).removeChild(d),fo(a.a,b)}return!0}s(154,35,xa);_.uc=nk;_.vc=function(){return new go(this.a)};_.tc=function(a){return eo(this,a)};w(154);s(72,154,za);_.sc=function(a){ao(this,a,(T(),this.O))};w(72); -function ho(a,b){var d,e,f,g,l;e=vj((G(),new V(b))).c;f=0;for(g=e.length;f<g;++f)if(d=e[f],l=Uj(new V(d))){d=a;var n=void 0,p=void 0,p=l.N,n=!1;if(p)if(t(p,72)){var p=l,q=void 0,q=p.N;if(t(q,72))fo(q.uc(),p),p.qc(null);else throw new X("You can only use this method to detach a child from an HTMLPanel");}else Pj(l),n=!0;else On(),Pn.a.Oe(l)&&Qn(l);bo(d.a,l);n&&(T(),n=co(l.O),d.O.appendChild(n));Rn(l,d)}else ho(a,d)} -function Bm(a){var b,d;this.a=new io(this);this.O=(T(),M());this.O.innerHTML="";a&&((d=Uj((G(),new V(a))))?(b=d.N,t(b,35)?(ao(this,d,this.O),b.sc(this)):(b=$c((K(),a)),b.appendChild(this.O),this.O.appendChild(a),jo(this,null))):(this.O=a,jo(this,null)));ho(this,this.O)}s(475,72,za,Bm);w(475); -function jo(a,b){var d,e;if(a&&!a.N)if(b)if(t(b,72))d=b,(e=Zc((T(),a.O)))?ao(d,a,e):ao(d,a,d.O);else if(t(b,85))b.Bc(a);else if(t(b,37))try{b.sc(a)}catch(f){if(f=H(f),t(f,25))a.qc(b);else throw I(f);}else a.qc(b);else{a:{var g;e=Zc((T(),a.O));for(d=$doc.body;e&&d!=e;){if(Yj(e)&&(g=Uj((G(),new V(e))))){b=g;break a}e=$c((K(),e))}b=null}b?jo(a,b):(On(),Eg(Pn,a),a.lc())}}function T(){T=m;ko=4==Ta?new lo:new mo}function no(a){T();var b=$doc;return(K(),b).createElement(a)} -function oo(a,b,d){T();b==po&&8192==Mn((K(),a).type)&&(po=null);d.mc(a)}function Bn(a){T();return kd((K(),a))}function qo(a){T();var b;var d=ro,e,f,g;so&&d&&d.a.d.Oe(so)?(b=to.a,e=to.b,f=to.c,g=to.d,uo(to),to.d=a,ng(d,to),d=!(to.a&&!to.b),to.a=b,to.b=e,to.c=f,to.d=g,b=d):b=!0;!b&&a&&((K(),a).stopPropagation(),a.preventDefault());return b}function co(a){T();return a.__gwt_resolve?a.__gwt_resolve():a}function vo(a,b){T();var d;wo(ko);d=xo;a.addEventListener(b,d[b]||d._default_,!1)} -function Tn(a,b){T();ko.yc(a,b)}var ko,po;function yo(a){return T(),Mn((K(),a).type)}function zo(a){T();wo(ko);!so&&(so=new ig);ro||(ro=new Jg(null,!0),to=new Ao);return wg(ro,so,a)}var ro;function uo(a){a.f=!1;a.g=null;a.a=!1;a.b=!1;a.c=!0;a.d=null}function Ao(){}s(278,527,{},Ao);_.pb=function(a){a.wc(this);to.c=!1};_.qb=function(){return so};_.sb=function(){uo(this)};_.a=!1;_.b=!1;_.c=!1;var so,to;w(278);function Bo(){Bo=m;new Co;Do=new Eo;Fo=Go()} -function Go(){var a;a=(Ho(),Io).zc();null!=a&&a.length?(a=a.substr(1,a.length-1),a=$wnd.decodeURI(a.replace("%23","#"))):a="";return a}function Jo(){Bo();var a;a=Go();a!==Fo&&(Fo=a,gg(Do,a))}var Do,Fo;function Eo(){this.a=new Ig(null)}s(481,1,{21:1},Eo);_.xb=function(a){ng(this.a,a)};w(481);function Co(){var a;a=A(Jo);$wnd.addEventListener("hashchange",a,!1)}s(482,1,{},Co);w(482);function Ho(){Ho=m;Io=4==Ta?new Ko:new Lo}function Mo(a,b){return wg((!No&&(No=new Oo),No),a,b)} -function Po(){Ho();var a;Qo&&(a=new Ro,No&&ng(No,a));return null}var Qo=!1,No,Io,So=0,To=0,Uo=!1;function Vo(){Vo=m;Wo=new ig}function Ro(){Vo()}s(310,527,{},Ro);_.pb=Xo;_.qb=function(){return Wo};var Wo;w(310);var Yo="",Zo;function Oo(){Jg.call(this,null,!1)}s(111,47,{21:1},Oo);w(111); -function Mn(a){switch(a){case "blur":return 4096;case "change":return 1024;case "click":return 1;case "dblclick":return 2;case "focus":return 2048;case "keydown":return 128;case "keypress":return 256;case "keyup":return 512;case "load":return 32768;case "losecapture":return 8192;case "mousedown":return 4;case "mousemove":return 64;case "mouseout":return 32;case "mouseover":return 16;case "mouseup":return 8;case "scroll":return 16384;case "error":return Ba;case "DOMMouseScroll":case "mousewheel":return Ca; -case "contextmenu":return 262144;case "paste":return pa;case "touchstart":return Da;case "touchmove":return Ea;case "touchend":return qa;case "touchcancel":return Fa;case "gesturestart":return Ga;case "gesturechange":return Ha;case "gestureend":return Ia;default:return-1}}function wo(a){$o||(a.xc(),$o=!0)}function Yj(a){a=a.__listener;return!pb(a)&&t(a,19)?a:null}s(546,1,{});var $o=!1;w(546); -function ap(){ap=m;xo={_default_:bp,dragenter:cp,dragover:cp};dp={click:ep,dblclick:ep,mousedown:ep,mouseup:ep,mousemove:ep,mouseover:ep,mouseout:ep,mousewheel:ep,keydown:fp,keyup:fp,keypress:fp,touchstart:ep,touchend:ep,touchmove:ep,touchcancel:ep,gesturestart:ep,gestureend:ep,gesturechange:ep}}function gp(a,b){for(var d=0,e=a.firstChild;e;){if(1==e.nodeType){if(b==d)return e;++d}e=e.nextSibling}return null} -function hp(){Y=A(bp);ip=A(jp);var a=xo;kp(a,function(b,e){a[b]=A(e)});var b=dp;kp(b,function(a,e){b[a]=A(e)});kp(b,function(a,b){$wnd.addEventListener(a,b,!0)})} -function lp(a,b){var d=(a.__eventBits||0)^b;a.__eventBits=b;d&&(d&1&&(a.onclick=b&1?Y:null),d&2&&(a.ondblclick=b&2?Y:null),d&4&&(a.onmousedown=b&4?Y:null),d&8&&(a.onmouseup=b&8?Y:null),d&16&&(a.onmouseover=b&16?Y:null),d&32&&(a.onmouseout=b&32?Y:null),d&64&&(a.onmousemove=b&64?Y:null),d&128&&(a.onkeydown=b&128?Y:null),d&256&&(a.onkeypress=b&256?Y:null),d&512&&(a.onkeyup=b&512?Y:null),d&1024&&(a.onchange=b&1024?Y:null),d&2048&&(a.onfocus=b&2048?Y:null),d&4096&&(a.onblur=b&4096?Y:null),d&8192&&(a.onlosecapture= -b&8192?Y:null),d&16384&&(a.onscroll=b&16384?Y:null),d&32768&&(a.onload=b&32768?ip:null),d&Ba&&(a.onerror=b&Ba?Y:null),d&Ca&&(a.onmousewheel=b&Ca?Y:null),d&262144&&(a.oncontextmenu=b&262144?Y:null),d&pa&&(a.onpaste=b&pa?Y:null),d&Da&&(a.ontouchstart=b&Da?Y:null),d&Ea&&(a.ontouchmove=b&Ea?Y:null),d&qa&&(a.ontouchend=b&qa?Y:null),d&Fa&&(a.ontouchcancel=b&Fa?Y:null),d&Ga&&(a.ongesturestart=b&Ga?Y:null),d&Ha&&(a.ongesturechange=b&Ha?Y:null),d&Ia&&(a.ongestureend=b&Ia?Y:null))}function fp(a){qo(a)} -function ep(a){ap();if(qo(a)&&mp){var b;b=mp;T();var d;(d=Yj(b))?(oo(a,b,d),b=!0):b=!1;b&&(K(),a).stopPropagation()}}function cp(a){(K(),a).preventDefault();bp(a)}function bp(a){var b;for(b=(K(),L).bb(a);b&&!Yj(b);)b=b.parentNode;b&&oo(a,1!=b.nodeType?null:b,Yj(b))}function jp(a){(K(),L).bb(a).__gwtLastUnhandledEvent=a.type;bp(a)}s(547,546,{});_.xc=function(){hp()};_.yc=function(a,b){wo(this);lp(a,b)};var xo,mp,dp,Y,ip;w(547);function np(){np=m;ap();dp.DOMMouseScroll=ep} -function op(){$wnd.addEventListener("mouseout",A(function(a){var b=(ap(),mp);if(b&&!a.relatedTarget&&"html"==a.target.tagName.toLowerCase()){var d=$doc.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,$wnd,0,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,null);b.dispatchEvent(d)}}),!0)}function mo(){np()}s(397,547,{},mo);_.xc=function(){hp();op()};_.yc=function(a,b){wo(this);lp(a,b);b&Ca&&a.addEventListener("DOMMouseScroll",(ap(),Y),!1)};w(397); -s(548,547,{});w(548);function lo(){ap()}s(396,548,{},lo);w(396);function kp(a,b){for(var d in a)a.hasOwnProperty(d)&&b(d,a[d])}function pp(){var a=$wnd.onbeforeunload,b=$wnd.onunload;$wnd.onbeforeunload=function(b){var e;try{e=A(Po)()}finally{b=a&&a(b)}if(null!=e)return e;if(null!=b)return b};$wnd.onunload=A(function(a){try{Ho(),Qo&&pg((!No&&(No=new Oo),No))}finally{b&&b(a),$wnd.onresize=null,$wnd.onscroll=null,$wnd.onbeforeunload=null,$wnd.onunload=null}})} -function qp(){var a=$wnd.onresize;$wnd.onresize=A(function(b){try{Ho();var d,e;if(Uo&&(e=Gd(),d=Fd(),To!=e||So!=d)){To=e;So=d;var f=(!No&&(No=new Oo),No),g;tg&&(g=new rg,ng(f,g))}}finally{a&&a(b)}})}function Ko(){}s(440,1,{},Ko);_.zc=function(){return $wnd.location.hash};w(440);function Lo(){}s(458,440,{},Lo);_.zc=function(){var a=$wnd.location.href,b=a.indexOf("#");return 0<b?a.substring(b):""};w(458); -function rp(a,b){var d;if(d=eo(a,b)){var e=(T(),b.O);e.style.left="";e.style.top="";e.style.position=""}return d}s(419,154,xa);_.sc=function(a){ao(this,a,(T(),this.O))};_.tc=function(a){return rp(this,a)};w(419);function Yn(){Yn=m;Zn=new sp;$n=new tp}function up(a){Fg.call(this,a)}function Xn(a,b){Yn();var d,e,f;d=null;for(f=a.vc();f.Gc();){e=f.Hc();try{b.Ac(e)}catch(g){if(g=H(g),t(g,13))e=g,!d&&(d=new Dg),Eg(d,e);else throw I(g);}}if(d)throw new up(d);}s(424,82,ma,up);var Zn,$n;w(424); -function sp(){}s(425,1,{},sp);_.Ac=function(a){a.lc()};w(425);function tp(){}s(426,1,{},tp);_.Ac=function(a){a.nc()};w(426);function vp(){vp=m;wp()}s(448,17,wa);_.lc=function(){Kn(this);var a=this.a;-1==(K(),L).jb(a)&&this.a&&(this.a.tabIndex=0)};w(448);s(449,448,wa);w(449); -function xp(){vp();var a=(T(),Bd());T();var b=$doc,b=(K(),b).createElement("span");this.O=(T(),b);this.a=a;a=$doc;this.b=(K(),a).createElement("label");this.O.appendChild(this.a);this.O.appendChild(this.b);a=$doc;!a.gwt_uid&&(a.gwt_uid=1);a="gwt-uid-"+a.gwt_uid++;this.a.id=a;this.b.htmlFor=a;new yp(this.b);this.a&&(this.a.tabIndex=0);fd(this.O,"gwt-CheckBox")}s(159,449,wa,xp);_.oc=function(){T();this.a.__listener=this}; -_.pc=function(){T();this.a.__listener=null;var a=this.K?(dg(),this.a.checked?eg:fg):(dg(),this.a.defaultChecked?eg:fg);!a&&(a=(dg(),fg));dg();this.a.checked=a.a;this.a.defaultChecked=a.a};_.rc=function(a){-1==this.L?Tn(this.a,a|(T(),this.a.__eventBits||0)):-1==this.L?Tn((T(),this.O),a|(this.O.__eventBits||0)):this.L|=a};_.c=!1;w(159);function zp(a){this.a=a}s(450,1,{},zp);w(450); -function Ap(a){if(!a.J)throw new X("initWidget() is not called yet");-1!=a.L&&(Sn(a.J,a.L),a.L=-1);Kn(a.J);T();a.O.__listener=a;lg(a)}s(529,17,wa);_.kc=function(){return this.J?this.J.K:!1};_.lc=function(){Ap(this)};_.mc=function(a){Ln(this,a);Ln(this.J,a)};_.nc=function(){try{lg(this)}finally{Nn(this.J)}};_.ec=function(){T();throw new Hn;};w(529); -function Bp(a,b,d){d?a.a.innerHTML=b||"":(d=a.a,(K(),d).textContent=b||"");if(a.c!=a.b)switch(a.c=a.b,b=a.a,a.b.b){case 0:b.dir="rtl";break;case 1:b.dir="ltr";break;case 2:$g(b)!=(ah(),dh)&&(b.dir="")}}function yp(a){this.a=a;this.c=this.b=$g(a)}s(157,1,{},yp);w(157);s(144,17,wa);w(144);s(377,144,wa);w(377);function Cp(){var a=M(),a=(Ad("span",(K(),a).tagName),a);this.O=(T(),a);this.a=new yp(this.O);fd((T(),this.O),"gwt-HTML");Bp(this.a,"",!0);this.O.style.whiteSpace=(Lf(),"nowrap")} -s(112,377,wa,Cp);w(112);function Dp(a,b){if(a.D!=b)return!1;try{Rn(b,null)}finally{var d=a.Cc(),e=(T(),b.O);d.removeChild(e);a.D=null}return!0}function Ep(a,b){if(b!=a.D&&(b&&Pj(b),a.D&&Dp(a,a.D),a.D=b)){T();var d=a.Cc(),e=co(oj(a.D));d.appendChild(e);Rn(b,a)}}s(100,35,Ja);_.sc=function(a){if(this.D)throw new X("SimplePanel can only contain one child widget");this.Bc(a)};_.Cc=Gn;_.vc=function(){return new Fp(this)};_.tc=function(a){return Dp(this,a)};_.Bc=function(a){Ep(this,a)};w(100); -function zn(){zn=m;An=4==Ta?new Gp:new Hp}function Ip(a){a.B&&(Jp(a.A,!1,!1),pg(a))}function Kp(a){var b;if(b=a.D)null!=a.j&&b.fc(a.j),null!=a.k&&b.gc(a.k)}function Lp(a,b,d){a.s=b;a.C=d;b-=Dd();d-=Ed();a=(T(),a.O);a.style.left=b+(Q(),"px");a.style.top=d+"px"}s(101,100,Ja);_.Cc=function(){return An.Lc(Bn((T(),this.O)))};_.dc=function(){return An.Mc(Bn((T(),this.O)))};_.Dc=function(){this.Ec(!1)};_.Ec=function(){Ip(this)};_.pc=function(){this.B&&Jp(this.A,!1,!0)}; -_.fc=function(a){this.j=a;Kp(this);0==a.length&&(this.j=null)};_.Fc=function(a,b){Lp(this,a,b)};_.Bc=function(a){Ep(this,a);Kp(this)};_.gc=function(a){this.k=a;Kp(this);0==a.length&&(this.k=null)};_.g=!1;_.i=!1;_.q=!1;_.r=!1;_.s=0;_.t=!1;_.w=!1;_.B=!1;_.C=0;var An;w(101); -function sg(){var a,b,d,e;null.of();e=(Ho(),Gd());d=Fd();null.of((Zd(),"none"));null.of((Q(),"0.0px"));null.of("0.0px");b=$doc;b=(("CSS1Compat"===b.compatMode?b.documentElement:b.body).scrollWidth||0)|0;a=$doc;a=(("CSS1Compat"===a.compatMode?a.documentElement:a.body).scrollHeight||0)|0;null.of((b>e?b:e)+"px");null.of((a>d?a:d)+"px");null.of("block")}function Mp(){}s(274,1,{},Mp);w(274);function Np(a){this.a=a}s(275,1,{},Np); -_.wc=function(a){var b=this.a,d,e,f;if(a.a||!b.w&&a.b)b.t&&(a.a=!0);else if(!a.a)switch(e=a.d,d=(K(),L).nb(e),(d=sd(d)?ad((T(),b.O),d)||!!d.shadowRoot&&d.shadowRoot.contains(b.O):!1)&&(a.b=!0),b.t&&(a.a=!0),f=(T(),Mn((K(),e).type)),f){case 4:case Da:if(po){a.b=!0;break}if(!d&&b.g){b.Ec(!0);break}break;case 8:case 64:case 1:case 2:case qa:if(po){a.b=!0;break}break;case 2048:e=L.nb(e),b.t&&!d&&e&&(e.blur&&e!=$doc.body&&e.blur(),a.a=!0)}};w(275);function Op(a){this.a=a}s(276,1,{},Op); -_.wb=function(){this.a.i&&this.a.Dc()};w(276);function Pp(a){if(a.i){if(a.a.r){$doc.body.appendChild(a.a.n);var b;b=a.a.o;Ho();Qo||(pp(),Qo=!0);Uo||(qp(),Uo=!0);b=Mo((!tg&&(tg=new ig),tg),b);a.f=b;sg();a.b=!0}}else a.b&&($doc.body.removeChild(a.a.n),Qp(a.f.a),a.f=null,a.b=!1)}function Rp(a){a.i||(Pp(a),a.c||rp(a.j.v,a.a));(zn(),An).Nc(oj(a.a),"rect(auto, auto, auto, auto)");oj(a.a).style.overflow="visible"} -function Sp(a,b){var d,e,f,g;a.i||(b=1-b);d=v(b*a.d);f=v(b*a.e);g=a.d-d>>1;e=a.e-f>>1;f=e+f;d=g+d;(zn(),An).Nc(oj(a.a),"rect("+g+"px, "+f+"px, "+d+"px, "+e+"px)")} -function Jp(a,b,d){a.c=d;zb(a);a.g&&(Qb(a.g),a.g=null,Rp(a));a.a.B=b;var e=a.a;e.u&&(Qp(e.u.a),e.u=null);e.p&&(Qp(e.p.a),e.p=null);if(e.B){e.u=zo(new Np(e));var f;f=new Op(e);Bo();f=wg(Do.a,(!vg&&(vg=new ig),vg),f);e.p=f}d=!d&&a.a.q;a.i=b;d?b?(Pp(a),oj(a.a).style.position="fixed",-1!=a.a.C&&a.a.Fc(a.a.s,a.a.C),(zn(),An).Nc(oj(a.a),"rect(0px, 0px, 0px, 0px)"),b=a.j.v,ao(b,a.a,(T(),b.O)),a.g=new Tp(a),Pb(a.g,1)):Ab(a):(Pp(a),a.i?(oj(a.a).style.position="absolute",-1!=a.a.C&&a.a.Fc(a.a.s,a.a.C),b=a.j.v, -ao(b,a.a,(T(),b.O))):a.c||rp(a.j.v,a.a),oj(a.a).style.overflow="visible")}function Up(a,b){this.j=a;Eb.call(this);this.a=null;this.e=-1;this.a=b}s(272,102,{},Up);_.P=function(){Rp(this)};_.Q=function(){this.d=md((T(),this.a.O),"offsetHeight");this.e=md(this.a.O,"offsetWidth");this.a.O.style.overflow="hidden";Sp(this,(1+Math.cos(aa))/2)};_.R=function(a){Sp(this,a)};_.b=!1;_.c=!1;_.d=0;_.e=0;_.i=!1;w(272);function Tp(a){this.a=a}s(273,39,{},Tp);_.W=function(){this.a.g=null;Ab(this.a)};w(273); -function Vp(){Vp=m;Wp()}function Xp(a){return function(){this.__gwt_resolve=Yp;return a.ec()}}function Yp(){throw"A PotentialElement cannot be resolved twice.";}function Wp(){function a(){}a.prototype={className:"",clientHeight:0,clientWidth:0,dir:"",getAttribute:function(a){return this[a]},href:"",id:"",lang:"",nodeType:1,removeAttribute:function(a){this[a]=void 0},setAttribute:function(a,d){this[a]=d},src:"",style:{},title:""};$wnd.GwtPotentialElementShim=a}s(530,529,wa);w(530); -function On(){On=m;Zp=new $p;aq=new Lg;Pn=new Dg}function Qn(a){On();try{a.nc()}finally{Pn.a.Se(a)}}function bq(){On();var a;if(a=aq.Qe(null))return a;0==aq.Yc()&&(a=new cq,Ho(),Qo||(pp(),Qo=!0),Mo(qg?qg:qg=new ig,a),gh());a=new dq;aq.Re(null,a);Eg(Pn,a);return a}function eq(){On();return $doc.body}s(420,419,xa);var Zp,aq,Pn;w(420);function $p(){}s(422,1,{},$p);_.Ac=function(a){a.kc()&&a.nc()};w(422);function cq(){}s(423,1,{},cq);_.vb=function(){On();try{Xn(Pn,Zp)}finally{Pn.a.Te(),aq.Te()}};w(423); -function dq(){var a=eq();this.a=new io(this);this.O=(T(),a);Kn(this)}s(421,420,xa,dq);w(421);function Fp(a){this.c=a;this.a=!!this.c.D}s(266,1,{},Fp);_.Gc=nk;_.Hc=function(){if(!this.a||!this.c.D)throw new Oc;this.a=!1;return this.b=this.c.D};_.Ic=function(){this.b&&Dp(this.c,this.b)};_.a=!1;_.b=null;w(266); -function bo(a,b){var d=a.c,e,f;if(0>d||d>a.c)throw new fq;if(a.c==a.a.length){f=F(Vn,h,17,2*a.a.length,0);for(e=0;e<a.a.length;++e)f[e]=a.a[e];a.a=f}++a.c;for(e=a.c-1;e>d;--e)a.a[e]=a.a[e-1];a.a[d]=b}function fo(a,b){var d;a:{for(d=0;d<a.c;++d)if(a.a[d]==b)break a;d=-1}if(-1==d)throw new Oc;if(0>d||d>=a.c)throw new fq;for(--a.c;d<a.c;++d)a.a[d]=a.a[d+1];a.a[a.c]=null}function io(a){this.b=a;this.a=F(Vn,h,17,4,0)}s(496,1,{},io);_.vc=function(){return new go(this)};_.c=0;w(496); -function go(a){this.c=a}s(170,1,{},go);_.Gc=function(){return this.b<this.c.c};_.Hc=function(){if(this.b>=this.c.c)throw new Oc;this.a=this.c.a[this.b];++this.b;return this.a};_.Ic=function(){if(!this.a)throw new Vc;this.c.b.tc(this.a);--this.b;this.a=null};_.b=0;w(170);function wp(){wp=m;gq=4==Ta?new hq:new iq}s(476,1,{},function(){});_.Jc=function(a){a.focus()};var gq;w(476);function iq(){wp()}s(484,476,{},iq);w(484);function hq(){wp()}s(485,484,{},hq); -_.Jc=function(a){$wnd.setTimeout(function(){a.focus()},0)};w(485);function Gp(){}s(459,1,{},Gp);_.Kc=function(){return M()};_.Lc=jq;_.Mc=function(a){return $c((K(),a))};_.Nc=function(a,b){a.style.clip=b};w(459);function kq(){kq=m;a:{var a=navigator.userAgent;if(-1!=a.indexOf("Macintosh")&&(a=/rv:([0-9]+)\.([0-9]+)/.exec(a))&&3==a.length&&1008>=1E3*parseInt(a[1])+parseInt(a[2])){lq=!0;break a}lq=!1}}function Hp(){kq()}s(460,459,{},Hp); -_.Kc=function(){var a;a=(T(),M());lq&&(a.innerHTML="\x3cdiv\x3e\x3c/div\x3e",vh((Cc(),Dc),new mq(a)));return a};_.Lc=function(a){return lq?kd((K(),a)):a};_.Mc=function(a){return lq?a:$c((K(),a))};_.Nc=function(a,b){a.style.clip=b;var d=(Zd(),"none");a.style.display=d;a.style.display=""};var lq=!1;w(460);function mq(a){this.a=a}s(461,1,{},mq);_.ab=function(){this.a.style.overflow=(Ie(),"auto")};w(461);function nq(){var a,b;b=4==Ta?new oq:new pq;a=b.Oc();b=b.Pc();if(a!==b)throw new qq(a,b);} -s(94,13,ba);w(94);s(32,94,ba);w(32); -function qq(a,b){this.e=t("Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+b+").\nExpect more errors.",13)?"Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+b+").\nExpect more errors.":null;this.f=""+("Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value ("+a+") does not match the runtime user.agent value ("+ -b+").\nExpect more errors.");Xb(this)}s(174,32,ba,qq);w(174);function pq(){}s(444,1,{},pq);_.Oc=function(){return"gecko1_8"};_.Pc=function(){var a=navigator.userAgent.toLowerCase(),b=$doc.documentMode;return-1!=a.indexOf("webkit")?"safari":-1!=a.indexOf("msie")&&10<=b&&11>b?"ie10":-1!=a.indexOf("msie")&&9<=b&&11>b?"ie9":-1!=a.indexOf("msie")&&8<=b&&11>b?"ie8":-1!=a.indexOf("gecko")||11<=b?"gecko1_8":"unknown"};w(444);function oq(){}s(445,1,{},oq);_.Oc=function(){return"safari"}; -_.Pc=function(){var a=navigator.userAgent.toLowerCase(),b=$doc.documentMode;return-1!=a.indexOf("webkit")?"safari":-1!=a.indexOf("msie")&&10<=b&&11>b?"ie10":-1!=a.indexOf("msie")&&9<=b&&11>b?"ie9":-1!=a.indexOf("msie")&&8<=b&&11>b?"ie8":-1!=a.indexOf("gecko")||11<=b?"gecko1_8":"unknown"};w(445);function Xg(a){a.onreadystatechange=function(){}}function kn(a,b){a.onreadystatechange=A(function(){b.bc(a)})} -function Qp(a){var b=a.a,d=a.d,e=a.c;a=a.b;0<b.b?(d=new rq(b,d,e,a),!b.a&&(b.a=new C),Ob(b.a,d)):Mg(b,d,e,a)}function Bg(a,b,d){this.a=a;this.d=b;this.c=null;this.b=d}s(313,1,{},Bg);w(313);function yg(a,b,d){this.a=a;this.d=b;this.c=null;this.b=d}s(314,1,{},yg);_.ab=function(){zg(this.a,this.d,this.c,this.b)};w(314);function rq(a,b,d,e){this.a=a;this.d=b;this.c=d;this.b=e}s(315,1,{},rq);_.ab=function(){Mg(this.a,this.d,this.c,this.b)};w(315); -function sq(){sq=m;a:{var a=document.createElement("fakeelement"),b={animationName:"animationend",OAnimationName:"oAnimationEnd",MozAnimation:"animationend",WebkitAnimation:"webkitAnimationEnd"},d;for(d in b)if(void 0!==a.style[d]){tq=b[d];break a}tq=void 0}a:for(a=document.createElement("fakeelement"),b=["animation","oAnimation","mozAnimation","webkitAnimation"],d=0;d<b.length;d++)if(void 0!==a.style[b[d]])break a} -function uq(a,b){sq();var d=A(function(a){b.Qc(a)});a.addEventListener(tq,d,!1);!a._vaadin_animationend_callbacks&&(a._vaadin_animationend_callbacks=[]);a._vaadin_animationend_callbacks.push(d);return d}function vq(a){sq();return a.webkitAnimationName?a.webkitAnimationName:a.animationName?a.animationName:a.mozAnimationName?a.mozAnimationName:a.oAnimationName?a.oAnimationName:""} -function wq(a){sq();a=a.a;return a.getPropertyValue?a.getPropertyValue("-webkit-animation-name")?a.getPropertyValue("-webkit-animation-name"):a.getPropertyValue("animation-name")?a.getPropertyValue("animation-name"):a.getPropertyValue("-moz-animation-name")?a.getPropertyValue("-moz-animation-name"):a.getPropertyValue("-o-animation-name")?a.getPropertyValue("-o-animation-name"):"":""}var tq;function xq(){xq=m;new nm;yq=new C}var yq; -function zq(){zq=m;var a;a=(!Z&&(Z=new Aq),Z);var b,d,e,f;null==Bq&&(b=f=e=d="",a.a.d?(d="ff",e="ff"+a.a.a,f=e+a.a.b,b="gecko"):a.a.c?(d="sa",e="ch",b="webkit"):a.a.k?(d="sa",e="sa"+a.a.a,f=e+a.a.b,b="webkit"):a.a.f?(d="ie",e="ie"+a.a.a,f=e+a.a.b,b="trident"):a.a.j&&(d="op",e="op"+a.a.a,f=e+a.a.b,b="presto"),Bq="v-"+d,""===e||(Bq=Bq+" v-"+e),""===f||(Bq=Bq+" v-"+f),""===b||(Bq=Bq+" v-"+b),b=5==a.a.p?"v-android":4==a.a.p?"v-ios v-ios"+a.a.q:1==a.a.p?"v-win":3==a.a.p?"v-lin":2==a.a.p?"v-mac":null,null!= -b&&(Bq=Bq+" "+b),a.b&&(Bq+=" v-touch"));a=Bq;b=(On(),bq());Cn(b.dc(),a,!0)}function Cq(){var a=(zq(),!Z&&(Z=new Aq),zq(),Z);return a.a.f&&8==a.a.a}function Dq(a){return a.a.f&&9==a.a.a} -function Aq(){zq();var a;this.a=new Eq($wnd.navigator.userAgent);if(this.a.f&&(a=(a=$wnd.document.documentMode)?a:-1,-1!=a)){var b=this.a;b.a=a;b.b=0}if(this.a.c)this.b="ontouchstart"in window;else if(this.a.f)this.b=!!navigator.msMaxTouchPoints;else{var d;try{document.createEvent("TouchEvent"),d=!0}catch(e){d=!1}this.b=d}}s(31,1,{},Aq);_.b=!1;var Bq=null,Z;w(31); -function Fq(a){a=1!=a.nodeType?{}:$wnd.document.defaultView&&$wnd.document.defaultView.getComputedStyle?$wnd.document.defaultView.getComputedStyle(a,null):a.currentStyle?a.currentStyle:void 0;this.a=a}s(166,1,{},Fq);w(166);function vh(a,b){++a.a;a.b=Kc(a.b,[b,!1]);Fc(a);a.b=Kc(a.b,[new Gq(a),!1]);Fc(a)}function Ec(){this.a=0}s(441,411,{},Ec);_.a=0;w(441);function Gq(a){this.a=a}s(442,1,{},Gq);_.ab=function(){--this.a.a};w(442);function Hq(){Hq=m;T();M()} -function Iq(){Hq();var a;0>Jq&&(a=(T(),M()),a.style.width="50px",a.style.height="50px",a.style.overflow="scroll",a.style.position="absolute",a.style.marginLeft="-5000px",eq().appendChild(a),Jq=((a.offsetWidth||0)|0)-md(a,"clientWidth"),eq().removeChild(a));return Jq}function Kq(a){Hq();null!=a.getBoundingClientRect?(a=a.getBoundingClientRect(),a=Math.ceil(a.bottom-a.top)):a=a.offsetHeight;return a} -function Lq(a){Hq();return a.getBoundingClientRect?(a=a.getBoundingClientRect(),Math.ceil(a.right-a.left)):a.offsetWidth}var Jq=-1;function Mq(a){var b;b=Nq(a.e,Oq(a));Pq(a,b[0]);a.e=b[1];Pq(a,b[2])}function Pq(a,b){var d,e;for(d=b.b;d<b.a;d++)e=a.k.Se(E(d)),a.n.Se(a.Uc(e))}function Qq(a){a.f||(a.f=!0,vh((Cc(),Dc),a.g))}function Rq(a){var b;b=a.Yc();-1==b&&(b=Sq(a.q));return $(0,b)}function Oq(a){var b;b=Rq(a);var d=a.q;a=(d.a-d.b)*a.d.a;return Tq(new Uq(d.b-a,d.a+a),b)} -function Vq(a,b){b.b>=b.a||(a.i=new Wq,a.Wc(b.b,b.a-b.b,a.i))}s(284,1,{});_.Rc=function(a,b){this.q=$(a,b);Qq(this)};_.Sc=function(a){var b;b=this.Uc(a);if(null==b)throw new xg("key may not be null (row: "+a+")");if(this.p.Oe(b))return this.p.Qe(b);if(this.n.Oe(b))return new Xq(this,a,b);throw new X("The cache of this DataSource does not currently contain the row "+a);};_.Tc=function(a){return this.k.Qe(E(a))};_.Vc=function(a){a=this.Uc(a);return this.n.Oe(a)?this.n.Qe(a).a:-1}; -_.Xc=function(a){(this.j=a)&&!Yq(this.e)&&(Zq(a.a.o.a,this.e.b,Sq(this.e)),$q(a,this.e.b,Sq(this.e)))};_.Yc=ar;_.f=!1;_.r=-1;w(284);function br(a){this.a=a}s(289,1,{},br);_.ab=function(){this.a.f=!1;var a=this.a,b;if(!a.i){b=Rq(a);var d=a.q,e;e=(d.a-d.b)*a.d.b;b=Tq(new Uq(d.b-e,d.a+e),b);!cr(b,a.e)||Yq(a.e)?(a.k.Te(),a.n.Te(),a.e=new Uq(0,0),Vq(a,Oq(a))):(Mq(a),d=a.e,b.b>=b.a&&d.b>=d.a||d.b<=b.b&&b.a<=d.a?$q(a.j,a.e.b,Sq(a.e)):(b=Nq(Oq(a),a.e),Vq(a,b[0]),Vq(a,b[2])))}};w(289); -function Wq(){this.a=Bb()}s(288,1,{},Wq);_.a=0;w(288);s(538,1,{});_.eQ=function(a){return this.Zc(a)};_.hC=function(){return this._c()};w(538);function dr(a){if(a.c.p.Oe(a.a))return a.b;throw new X("The row handle for key "+a.a+" was not pinned");}function Xq(a,b,d){this.c=a;this.b=b;this.a=d}s(107,538,{107:1},Xq);_.Zc=function(a){return t(a,107)?db(this.a,a.a):!1};_.$c=function(){return dr(this)};_._c=er; -_.ad=function(){var a=this.c,b,d;d=this.a;b=a.o.Qe(d);b||(b=E(0),a.p.Re(d,this));a.o.Re(d,E(b.a+1))};_.bd=function(){var a=this.c,b,d;d=this.a;if(b=a.o.Qe(d)){var e=E(1);t(e,76)&&e.a==b.a?(a.p.Se(d),a.o.Se(d)):a.o.Re(d,E(b.a-1))}else throw new X("Row "+dr(this)+" with key "+d+" was not pinned to begin with");};w(107);s(552,1,{});w(552);function fr(){this.b=3;this.a=4}s(160,552,{},fr);_.a=0;_.b=0;w(160); -function gr(a,b){var d,e,f;d=a.a.c;for(f=0;f<d.childNodes.length;f++)if((e=d.childNodes[f])&&1==e.nodeType)if(b)e.style.visibility="";else{var g=(Ff(),"hidden");e.style.visibility=g}}s(66,1,{66:1});w(66);s(259,100,Ja);w(259);function hr(a){!a.c&&(a.c=new ir(a));Pb(a.c,a.b)}function jr(a){this.b=100;this.a=a}s(414,1,{},jr);_.b=0;w(414);function ir(a){this.a=a}s(415,39,{},ir);_.W=function(){this.a.c=null;var a=this.a.a,b=a.a;gg(b,b.r);a.a.a=1};w(415); -function kr(a,b){var d;Cq()||Dq((!Z&&(Z=new Aq),Z))?Ip(a):-1!=(An.Mc(Bn((T(),a.O))).className||"").indexOf("animate-in")?uq(a.O,new lr(a,b)):(xn(a,yn(An.Mc(Bn(a.O)))+"-animate-out",!0),a.e&&cd(a.e,"v-shadow-animate-out"),d=new Fq(a.O),d=wq(d),null==d&&(d=""),-1!=d.indexOf("animate-out")?(a.q=!1,uq(a.O,new mr(a,b)),a.w=!1):(xn(a,yn(An.Mc(Bn(a.O)))+"-animate-out",!1),a.e&&pd(a.e,"v-shadow-animate-out"),Ip(a)))} -function nr(){var a;a=(zq(),!Z&&(Z=new Aq),zq(),Z);return a.a.f&&(8==a.a.a?0<=a.a.b:8<a.a.a)} -function or(a,b){var d,e,f,g;if(a.K){try{var l=(T(),a.O).style;e=(K(),l).zIndex;f=pr(e)}catch(n){if(n=H(n),t(n,12))f=1E3;else throw I(n);}-1==f&&(f=qr);(zq(),!Z&&(Z=new Aq),zq(),Z).a.f&&T();if(a.e||nr())e=new rr((d=gd((T(),a.O)),d-=Dd(),d-=(-1==sr&&(sr=tr("left")),sr),d),(g=hd(a.O),g-=Ed(),g-=(-1==ur&&(ur=tr("top")),ur),g),md(a.O,"offsetWidth"),md(a.O,"offsetHeight")),e.b+=v(e.d*(1-b)/2),e.c+=v(e.a*(1-b)/2),e.d=v(e.d*b),e.a=v(e.a*b),d=Zc(a.O),a.e&&((zq(),!Z&&(Z=new Aq),zq(),Z).a.j&&((T(),gp(a.e,3)).style.height= -"auto",gp(a.e,4).style.height="auto",gp(a.e,5).style.height="auto"),vr(a.e,e),a.e.style.zIndex=f+"",a.e.style.display=0.9>b?"none":"",(!Z&&(Z=new Aq),Z).a.j&&((T(),gp(a.e,3)).style.height=((gp(a.e,3).offsetHeight||0)|0)+(Q(),"px"),gp(a.e,4).style.height=((gp(a.e,4).offsetHeight||0)|0)+"px",gp(a.e,5).style.height=((gp(a.e,5).offsetHeight||0)|0)+"px"),!Zc(a.e)&&d.insertBefore(a.e,a.O)),nr()&&(!a.f&&nr()&&(f=$doc,f=(K(),f).createElement("iframe"),a.f=f,a.f.style.position=(Se(),"absolute"),a.f.style.borderStyle= -(Nd(),"none"),a.f.tabIndex=-1,a.f.frameBorder=0,a.f.marginHeight=0),vr(a.f,e),!Zc(a.f)&&d.insertBefore(a.f,a.O));(e=Dq((!Z&&(Z=new Aq),Z)))||(e=(!Z&&(Z=new Aq),Z),e=e.a.f&&10==e.a.a);e&&(e=(T(),a.O),Hq(),(zq(),!Z&&(Z=new Aq),zq(),Z).a.f&&(e=e.style,f=(K(),e).zoom,e.zoom="1",e.zoom=f))}}function wr(a){a.e&&Zc(a.e)&&(a.e&&Zc(a.e)&&(T(),a.e.__listener=null,Tn(a.e,0)),bd(a.e))} -function xr(a,b,d){var e;e=(T(),a.O).style;e.marginLeft=(-1==sr&&(sr=tr("left")),-sr+(Q(),"px"));e.marginTop=(-1==ur&&(ur=tr("top")),-ur+"px");Lp(a,b,d);or(a,a.q?0:1)}function yr(a,b){(T(),a.O).style.visibility=b?"visible":"hidden";a.e&&(a.e.style.visibility=b?"visible":"hidden");a.f&&(a.f.style.visibility=b?"visible":"hidden")}function vr(a,b){a.style.left=b.b+(Q(),"px");a.style.top=b.c+"px";a.style.width=b.d+"px";a.style.height=b.a+"px"} -function tr(a){try{var b=$wnd.document.body,d=b.currentStyle?b.currentStyle:getComputedStyle(b);if(d&&"relative"==d.position)return b.getBoundingClientRect()[a]}catch(e){}return 0}s(261,101,Ja);_.Dc=function(){kr(this,!1)};_.Ec=function(a){kr(this,a)};_.lc=function(){var a;if(a=zr){if(a.d)for(a=(xq(),xq(),yq),a=new Gg(a);a.b<a.d.Yc();)J(a.b<a.d.Yc()),a.d.Ed(a.c=a.b++),null.of(),null.of();a=(rb(Ar),oj((On(),bq())));var b=(T(),this.O);a.appendChild(b)}Kn(this)};_.vb=function(){wr(this)}; -_.nc=function(){Nn(this);wr(this);this.f&&bd(this.f)};_.fc=function(a){this.j=a;Kp(this);0==a.length&&(this.j=null);or(this,1)};_.Fc=function(a,b){xr(this,a,b)};_.gc=function(a){this.k=a;Kp(this);0==a.length&&(this.k=null);or(this,1)};_.rc=function(a){-1==this.L?Tn((T(),this.O),a|(this.O.__eventBits||0)):this.L|=a};var qr=2E4,zr,sr=-1,ur=-1;w(261);function Br(a){this.a=a}s(269,1,{},Br); -_.Qc=function(a){if(-1!=vq(a).indexOf("animate-in")){a=oj(this.a);var b=this.a.c;sq();a.removeEventListener(tq,b,!1);wn(this.a,"animate-in");this.a.e&&pd(this.a.e,"v-shadow-animate-in")}};w(269);function lr(a,b){this.a=a;this.b=b}s(270,1,{},lr);_.Qc=function(a){-1!=vq(a).indexOf("animate-in")&&kr(this.a,this.b)};_.b=!1;w(270);function mr(a,b){this.a=a;this.b=b}s(271,1,{},mr); -_.Qc=function(a){if(-1!=vq(a).indexOf("animate-out")){a=oj(this.a);sq();if(a._vaadin_animationend_callbacks)for(var b=a._vaadin_animationend_callbacks,d=0;d<b.length;d++)a.removeEventListener(tq,b[d],!1);wn(this.a,"animate-in");wn(this.a,"animate-out");this.a.e&&(pd(this.a.e,"v-shadow-animate-in"),pd(this.a.e,"v-shadow-animate-out"));Ip(this.a)}};_.b=!1;w(271);function rr(a,b,d,e){this.b=a;this.c=b;a=d;0>a&&(a=0);this.d=a;0>e&&(e=0);this.a=e}s(267,1,{},rr);_.a=0;_.b=0;_.c=0;_.d=0;w(267); -function Cr(a){this.a=a;Eb.call(this)}s(268,102,{},Cr);_.R=function(a){or(this.a,a)};w(268);function Dr(a,b){var d;d=Math.round(100*b);a.a.style.width=d+(Q(),"%")}function Er(){this.b=(T(),M());this.a=M();this.O=M();this.O.appendChild(this.b);this.b.appendChild(this.a);Fn(this.O,"v-progressbar");fd(this.a,yn(this.O)+"-indicator");fd(this.b,yn(this.O)+"-wrapper")}s(258,17,wa,Er);w(258); -function Fr(a,b){var d,e,f,g;b.a<a.n?b=new S(a.n):b.a>a.k&&(b=new S(a.k));e=md(a.b,"offsetWidth")-2-md(a.j,"offsetWidth");f=b.a;0<a.p?(f*=Gr(a.p),f=Math.round(f),f=ci(Ya(f)),f/=Gr(a.p)):f=ci(Ya(Math.round(f)));g=a.k-a.n;d=0;0<g&&(d=(f-a.n)/g*e);0>d&&(d=0);a.j.style.marginLeft=di(Ya(Math.round(d)))+(Q(),"px");a.r=new S(f);e=""+f;0==a.p&&(e=""+v((new S(f)).a));Bp(a.g.a,e,!1)}function Hr(a,b,d){b&&(Fr(a,b),d&&gg(a,a.r))} -function Ir(a,b,d){var e,f;e=(Hq(),-1!=(K(),b).type.indexOf("touch")?Xf(b.changedTouches[0]):xd(b.clientX||0));f=(a.j.offsetWidth||0)|0;b=(a.b.offsetWidth||0)|0;var g=gd(a.b);Ho();var l;l=$doc;l=(K(),L).hb(l);b=(e-(g-l+(f/2|0)))/(b-f)*(a.k-a.n)+a.n;b<a.n?b=a.n:b>a.k&&(b=a.k);Hr(a,new S(b),d)} -function Jr(){var a=(T(),M());this.O=(T(),a);(T(),this.O).tabIndex=0;this.a=1;this.g=new Cp;this.i=new Kr(this);this.f=!1;this.d=new jr(new Lr(this));this.b=M();this.j=M();this.q=M();this.c=M();a=yn(this.O)+"-feedback";Cn(this.i.dc(),a,!1);a=yn(this.O)+"-vertical";Cn(this.dc(),a,!1);fd(this.O,"v-slider");a=yn(this.O)+"-feedback";Cn(this.i.dc(),a,!0);fd(this.b,yn(this.O)+"-base");fd(this.j,yn(this.O)+"-handle");fd(this.q,yn(this.O)+"-smaller");fd(this.c,yn(this.O)+"-bigger");this.O.appendChild(this.c); -this.O.appendChild(this.q);this.O.appendChild(this.b);this.b.appendChild(this.j);this.q.style.display=(Zd(),"none");this.c.style.display="none";-1==this.L?Tn(this.O,15866876|(this.O.__eventBits||0)):this.L|=15866876;a=this.i;Ep(a,this.g);Kp(a)}s(260,259,Ja,Jr); -_.mc=function(a){var b;if(!this.e&&!this.o){b=(T(),(K(),L).nb(a));if(Mn(a.type)==Ca)b=L.cb(a),0>b?Hr(this,new S(this.r.a+Gr(-this.p)),!1):Hr(this,new S(this.r.a-Gr(-this.p)),!1),hr(this.d),a.preventDefault(),a.cancelBubble=!0;else if(this.f||b==this.j)switch(T(),Mn((K(),a).type)){case 4:case Da:this.e||this.o||((wp(),wp(),gq).Jc(this.O),Mr(this.i),this.f=!0,fd(this.j,yn(this.O)+"-handle"),cd(this.j,yn(this.O)+"-handle-active"),b=this.O,T(),po=b,wo(ko),mp=b,a.preventDefault(),a.cancelBubble=!0,a.stopPropagation()); -break;case 64:case Ea:this.f&&(Ir(this,a,!1),xr(this.i,gd(this.j)+(((this.j.offsetWidth||0)|0)/2|0)-(md(this.i.O,"offsetWidth")/2|0),hd(this.j)-md(this.i.O,"offsetHeight")),a.stopPropagation());break;case qa:kr(this.i,!1);case 8:this.f=!1,fd(this.j,yn(this.O)+"-handle"),b=this.O,T(),po&&b==po&&(po=null),wo(ko),mp==b&&(mp=null),Ir(this,a,!0),a.stopPropagation()}else if(b==this.q)Hr(this,new S(this.r.a-Gr(-this.p)),!0);else if(b==this.c)Hr(this,new S(this.r.a+Gr(-this.p)),!0);else if(124==Mn(a.type))T(), -4!=Mn((K(),a).type)||this.e||this.o||this.f||(Ir(this,a,!0),a.cancelBubble=!0);else if((zq(),!Z&&(Z=new Aq),zq(),Z).a.e&&256==Mn(a.type)||!(!Z&&(Z=new Aq),Z).a.e&&128==Mn(a.type)){b=a.keyCode|0;var d=!!a.shiftKey;if(a.ctrlKey)b=!1;else if(39==b){if(d){for(b=0;b<this.a;b++)Hr(this,new S(this.r.a+Gr(-this.p)),!1);++this.a}else Hr(this,new S(this.r.a+Gr(-this.p)),!1);b=!0}else if(37==b){if(d){for(b=0;b<this.a;b++)Hr(this,new S(this.r.a-Gr(-this.p)),!1);++this.a}else Hr(this,new S(this.r.a-Gr(-this.p)), -!1);b=!0}else b=!1;b&&(Mr(this.i),hr(this.d),a.preventDefault(),a.cancelBubble=!0)}else b==this.O&&2048==Mn(a.type)?Mr(this.i):b==this.O&&4096==Mn(a.type)?kr(this.i,!1):4==Mn(a.type)&&Mr(this.i);Hq();-1!=a.type.indexOf("touch")&&(a.preventDefault(),a.stopPropagation())}};_.a=0;_.e=!1;_.f=!1;_.k=0;_.n=0;_.o=!1;_.p=0;w(260); -function Mr(a){zr=a;var b;b=a.K&&a.B;a.B||(a.K&&Pj(a),Jp(a.A,!0,!1));b||Cq()||Dq((zq(),!Z&&(Z=new Aq),zq(),Z))||(yr(a,!1),xn(a,yn(An.Mc(Bn((T(),a.O))))+"-animate-in",!0),a.e&&cd(a.e,"v-shadow-animate-in"),b=new Fq(a.O),b=wq(b),null==b&&(b=""),yr(a,!0),-1!=b.indexOf("animate-in")?(a.q=!1,a.c=uq(a.O,new Br(a))):(xn(a,yn(An.Mc(Bn(a.O)))+"-animate-in",!1),a.e&&pd(a.e,"v-shadow-animate-in")));a.q?Ab(new Cr(a)):or(a,1);zr=null;a=a.a;xr(a.i,gd(a.j)+(((a.j.offsetWidth||0)|0)/2|0)-(md((T(),a.i.O),"offsetWidth")/ -2|0),hd(a.j)-md(a.i.O,"offsetHeight"))} -function Kr(a){zn();this.a=a;a=(T(),M());this.O=(T(),a);this.o=new Mp;this.q=!1;this.s=-1;this.A=new Up(this,this);this.C=-1;this.v=(On(),bq());a=(T(),this.O);var b=An.Kc();a.appendChild(b);this.Fc(0,0);fd(An.Mc(Bn(this.O)),"gwt-PopupPanel");fd(An.Lc(Bn(this.O)),"popupContent");this.i=this.g=!0;this.t=!1;a=Cq();a!=!!this.e&&(a?(this.e=(T(),M()),fd(this.e,"v-shadow"),this.e.innerHTML='\x3cdiv aria-hidden\x3d"true" class\x3d"top-left"\x3e\x3c/div\x3e\x3cdiv class\x3d"top"\x3e\x3c/div\x3e\x3cdiv class\x3d"top-right"\x3e\x3c/div\x3e\x3cdiv class\x3d"left"\x3e\x3c/div\x3e\x3cdiv class\x3d"center"\x3e\x3c/div\x3e\x3cdiv class\x3d"right"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom-left"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom"\x3e\x3c/div\x3e\x3cdiv class\x3d"bottom-right"\x3e\x3c/div\x3e',this.e.style.position= -(Se(),"absolute"),In(this,this,qg?qg:qg=new ig)):(wr(this),this.e=null));a=qr;(T(),this.O).style.zIndex=a+"";this.e&&(this.e.style.zIndex=a+"");this.d=this.a}s(262,261,Ja,Kr);var Ar=w(262);function Lr(a){this.a=a}s(263,1,{},Lr);_.ab=function(){var a=this.a;gg(a,a.r);this.a.a=1};w(263);function Nr(a){this.a=a;this.b="offsetWidth";this.c="width"}s(264,1,{},Nr);_.ab=function(){var a;a=Zc(oj(this.a));55<md(a,this.b)&&(this.a.b.style[this.c]="",Hr(this.a,this.a.r,!1))};w(264);function Or(a){this.a=a} -s(265,1,{},Or);_.ab=function(){var a=this.a;a.j.style.marginLeft="0";a.j.style.marginTop="";Hr(this.a,this.a.r,!1)};w(265);function Pr(a,b,d){this.c=a;this.a=b;this.b=d}s(116,1,{},Pr);_.a=0;_.c=0;w(116);function Qr(){Qr=m;Rr=new Sr}var Rr;function Sr(){}s(226,1,{},Sr);_.dd=Tr;_.ed=Tr;_.fd=Tr;_.gd=Tr;_.hd=Tr;w(226);function Ur(a,b){var d;a.b=b;b.b&&(d=a.d.c.cells[a.a],d.colSpan=1,0<=a.d.b[a.a]&&(d.style.width=a.d.b[a.a]+(Q(),"px")),d.style.display="",a.c=d)}function Vr(a,b){this.d=a;this.a=b} -s(75,1,{75:1},Vr);_.a=0;_.b=null;_.c=null;var Wr=w(75);function Xr(a){return new Yr(a,0,a.a.b.length)}function Zr(a,b,d,e){a.c=b;a.d=d;a.b=e}function $r(a,b){var d;for(d=b;d<a.a.b.length;d++){var e=a.a,f=d,g=new Vr(a,d);Pc(f,e.b.length);e.b[f]=g}}function as(){this.a=new C}s(447,1,{},as);_.b=null;_.d=0;w(447);function Yr(a,b,d){this.a=a;this.c=b;this.b=d}s(120,1,{},Yr);_.vc=function(){return new bs(new cs(this.a.a,this.c,this.c+this.b),!0)};_.b=0;_.c=0;w(120); -function ds(a,b){this.a=a;this.c=b;this.b=1}s(158,1,{},ds);_.vc=function(){return new bs(new cs(this.a.a,this.c,this.c+this.b),!1)};_.b=0;_.c=0;w(158);function es(a){var b;for(b=0;b<a.d;b++)a.a.Xe(a.c);a.d=0;b=fs(a.a,a.c++);Ur(b,a);return b}function gs(a,b){var d,e,f;f=new cs(a.a,ac(a.c,a.a.b.length),ac(a.c+b,a.a.b.length));for(e=new Gg(f);e.b<e.d.Yc();)d=(J(e.b<e.d.Yc()),e.d.Ed(e.c=e.b++)),Ur(d,a);return f}function bs(a,b){this.a=new $m(a);this.b=b}s(83,1,{},bs); -_.Gc=function(){return this.c+this.d<this.a.b.length};_.Hc=function(){return es(this)};_.Ic=function(){throw new Wn("Cannot remove cells via iterator");};_.b=!1;_.c=0;_.d=0;w(83);function hs(){}s(90,1,{90:1},hs);_.jd=function(a){a.style.left="";a.style.top=""};_.kd=function(a,b,d){a.style.left=b+(Q(),"px");a.style.top=d+"px"};w(90);function is(){}s(416,1,{},is);_.jd=js;_.kd=function(a,b,d){a.style.transform="translate3d("+b+"px, "+d+"px, 0)"};w(416);function ks(){}s(417,1,{},ks);_.jd=js; -_.kd=function(a,b,d){a.style.transform="translate("+b+"px,"+d+"px)"};w(417);function ls(){}s(418,1,{},ls);_.jd=function(a){a.style.webkitTransform=""};_.kd=function(a,b,d){a.style.webkitTransform="translate3d("+b+"px,"+d+"px,0)"};w(418);function ms(){ms=m;ns=new ig}function os(a,b){ms();this.a=a;this.b=b}s(151,527,{},os);_.pb=function(a){a.a.j&&0!=a.a.j.Yc()&&(a.a.i=!0,a.a.j.Rc(this.a,this.b))};_.qb=function(){return ns};_.a=0;_.b=0;var ns;w(151); -function ps(a,b){return wg((!a.a&&(a.a=new Ig(a)),a.a),(qs(),rs),b)}function ss(a){var b;b=a.i;a.i=ts(a.rd())<ts(a.td());b!=a.i&&(b=new us,ng((!a.a&&(a.a=new Ig(a)),a.a),b))}function vs(a,b){a.f.style.display=b?"":(Zd(),"none");a.qd(b)}function ws(a){return a.c?0:ts(a.ud())}function xs(a){var b,d;d=ts(a.td());b=ts(a.rd());a.d=0>d-b?0:d-b;ys(a,a.j)}function zs(a,b){var d;d=b>ts(a.td());ts(a.rd())<ts(a.td())&&d&&0!=a.j?(a.e=ps(a,new As(a,b)),ys(a,0)):Bs(a,b)} -function Bs(a,b){a.vd(Wb(0,0<b?Math.floor(b):Math.ceil(b)));xs(a);vs(a,ts(a.rd())<ts(a.td()));ss(a)}function ys(a,b){var d;d=a.j;a.j=Wb(0,ac(a.d,0<b?Math.floor(b):Math.ceil(b)));var e=a.j;Hq();0.49>=(0>=d-e?0-(d-e):d-e)||(a.c&&(d=a.b,d.a.yd(13),Pb(d.b,1E3)),a.wd(a.j|0))}function Cs(a,b){var d;d=b<=ts(a.rd());ts(a.rd())<ts(a.td())&&d&&0!=a.j?(a.n=ps(a,new Ds(a,b)),ys(a,0)):Es(a,b)}function Es(a,b){a.xd(0>b?0:b);xs(a);vs(a,ts(a.rd())<ts(a.td()));ss(a)} -function Fs(a){var b=Iq();a.c=0==b;a.c?(Tn(a.f,16384),T(),a.f.__listener=new Gs(a)):(Tn(a.f,0),T(),a.f.__listener=null);a.yd(1>b?1:b)}function Hs(a){return ts(a.rd())<ts(a.td())}function Is(a){var b;b=a.sd();a.j=b;a=a.g;a.b||(vh((Cc(),Dc),a.a),a.b=!0)}function Js(){this.f=(T(),M());this.k=M();this.b=new Ks(this);this.g=new Ls(this);this.f.appendChild(this.k);this.f.style.display=(Zd(),"none");this.f.tabIndex=-1}function ts(a){return a.length?nl(a.substr(0,a.length-2)):0}s(137,1,{});_.pd=cc;_.zd=function(){Is(this)}; -_.c=!1;_.d=0;_.i=!1;_.j=0;w(137);function As(a,b){this.a=a;this.b=b}s(255,1,{},As);_.Ad=function(){Bs(this.a,this.b);Qp(this.a.e.a);this.a.e=null};_.b=0;w(255);function Ds(a,b){this.a=a;this.b=b}s(256,1,{},Ds);_.Ad=function(){Es(this.a,this.b);Qp(this.a.n.a);this.a.n=null};_.b=0;w(256);function Gs(a){this.a=a}s(257,1,{19:1},Gs);_.mc=function(){var a=this.a.b;a.a.yd(13);Pb(a.b,1E3)};w(257);function Ms(){Js.call(this)}s(251,137,{},Ms);_.qd=function(a){this.f.style.overflowX=a?(Ie(),"scroll"):""}; -_.rd=Ns;_.sd=function(){return od(this.f)};_.td=function(){return Kd(this.k.style,"width")};_.ud=Os;_.vd=function(a){this.f.style.width=a+(Q(),"px")};_.wd=function(a){var b=this.f;(K(),L).kb(b,a)};_.xd=function(a){this.k.style.width=a+(Q(),"px")};_.yd=function(a){this.f.style.height=a+(Q(),"px");this.k.style.height=a+"px"};w(251);function Ls(a){this.c=a;this.a=new Ps(this)}s(247,1,{},Ls);_.b=!1;w(247);function Ps(a){this.a=a}s(252,1,{},Ps); -_.ab=function(){Is(this.a.c);var a=this.a.c;!a.a&&(a.a=new Ig(a));ng(a.a,new Qs);this.a.b=!1};w(252);function Ks(a){this.a=a;this.b=new Rs(this)}s(248,1,{},Ks);w(248);function Rs(a){this.a=a}s(253,39,{},Rs);_.W=function(){this.a.a.yd(1)};w(253);function Ss(){Js.call(this)}s(250,137,{},Ss);_.qd=function(a){this.f.style.overflowY=a?(Ie(),"scroll"):""};_.rd=Os;_.sd=function(){return(this.f.scrollTop||0)|0};_.td=function(){return Kd(this.k.style,"height")};_.ud=Ns; -_.vd=function(a){this.f.style.height=a+(Q(),"px")};_.wd=function(a){this.f.scrollTop=a};_.xd=function(a){this.k.style.height=a+(Q(),"px")};_.yd=function(a){this.f.style.width=a+(Q(),"px");this.k.style.width=a+"px"};w(250);function Ts(){Ts=m;Us=new Vs}function us(){Ts()}s(249,527,{},us);_.pb=function(a){Ws(a.a)};_.qb=function(){return Us};var Us;w(249);function Vs(){this.c=++hg}s(254,29,{},Vs);_.tS=function(){return"VisibilityChangeEvent"};w(254);s(114,1,{},function(a){this.e=a});_.d=0;w(114); -function Xs(){Xs=m;Ys=new ig}function Zs(a){Xs();this.a=a}s(152,527,{},Zs);_.pb=function(a){a.Bd(this)};_.qb=function(){return Ys};var Ys;w(152);function $s(a){this.e=new at;this.b=a}s(387,114,{},$s);w(387);function bt(a){this.e=a}s(393,114,{},bt);w(393);function at(){}s(150,1,{},at);_.b=0;w(150);function ct(a){if(!a)throw new D("datasource cannot be null");this.b=new $m(a)}s(140,1,{},ct);_.Rc=function(a,b){if(a>=this.b.b.length)throw new X("Trying to fetch rows outside of array");$q(this.a,a,b)}; -_.Sc=function(a){return new dt(a)};_.Tc=function(a){return fs(this.b,a)};_.Vc=function(a){return Wm(this.b,a)};_.Xc=function(a){this.a=a};_.Yc=function(){return this.b.b.length};w(140);function et(a,b){return et(a,b)}function ft(a,b){return ft(a,b)}s(280,1,Ka,function(a){this.a=a});_.Cd=function(a){if(Ob(this.a.b,a)){if(this.a.a){var b=this.a.a;a=this.a.b.b.length-1;gt(b.a.o.a,a,1);a=$(a,1);var b=b.a.b,d,e;d=b.c==b.j.o.a;e=a.b<=b.g;d&&e&&(b.g+=a.a-a.b,b.c.od(b.g))}return!0}return!1}; -_.Dd=function(a){return et(this,a)};_.Ed=function(a){return fs(this.a.b,a)};_.Vc=function(a){return Wm(this.a.b,a)};_.Fd=function(){return 0==this.a.b.b.length};_.vc=function(){return new ht(new Gg(this.a.b))};_.Gd=function(){throw new Wn("List iterators not supported at this time.");};_.Hd=function(){throw new Wn("List iterators not supported at this time.");}; -_.Id=function(a){var b;b=Wm(this.a.b,a);if(Vb(this.a.b,a)){if(this.a.a)a:if(a=this.a.a,it(a.a.o.a,b,1),b=$(b,1),a=a.a.b,a.c==a.j.o.a){if(jt(b,a.g))a.c.n>b.a?a.g=b.b:0<b.b?a.g=b.b-1:0<a.j.o.k.n?(a.g=a.f,a.c=a.j.o.k):0<a.j.o.g.n&&(a.g=a.e,a.c=a.j.o.g);else{if(b.b>a.g)break a;a.g-=b.a-b.b}a.c.od(a.g)}return!0}return!1};_.Yc=function(){return this.a.b.b.length};_.Jd=function(){return Ym(this.a.b)};_.Kd=function(a){return ft(this,a)};w(280);function ht(a){this.a=a}s(281,1,{},ht); -_.Gc=function(){var a=this.a;return a.b<a.d.Yc()};_.Hc=function(){return kt(this.a)};_.Ic=function(){throw new Wn("Iterator.remove() is not supported by this iterator.");};w(281);function dt(a){this.a=a}s(106,538,{106:1},dt);_.Zc=function(a){return t(a,106)?lt(this.a,a.a):!1};_.$c=nk;_._c=er;_.ad=Un;_.bd=Un;w(106);s(133,534,{});_.pb=function(a){var b,d;b=Hd(this.d);sd(b)&&!mt(this.b,b)&&(b=nt(this.b.o,b))&&(d=(ot(),pt),b==this.b.o.k?d=qt:b==this.b.o.a&&(d=rt),this.Md(a,d))};_.tb=nk;w(133); -function st(a,b){this.a=new bg(this.Nd(),this);this.b=a;this.c=b}s(391,133,{},st);_.Md=function(a,b){var d;b==(ot(),rt)&&a&&(d=this.c.e.a,a.a.b.G.Sd(d)||tt(a.a.b,d))};_.Nd=function(){return"click"};w(391);function ut(a,b){this.a=new bg(this.Nd(),this);this.b=a;this.c=b}s(392,133,{},ut);_.Md=vt;_.Nd=function(){return"dblclick"};w(392);function wt(a,b){this.a=new bg(this.Nd(),this);this.b=a;this.c=b}s(96,532,{}); -_.pb=function(a){var b,d;b=Hd(this.d);sd(b)&&!mt(this.b,b)&&(d=(ot(),pt),b=this.b.b.c,b==this.b.o.k?d=qt:b==this.b.o.a&&(d=rt),this.Od(a,d))};_.tb=nk;w(96);function xt(a,b){wt.call(this,a,b)}s(388,96,{},xt);_.Od=function(a,b){if(b==(ot(),rt)&&a){var d;32!=Id(this.d)||a.b.b||(d=this.d,(K(),d).preventDefault(),a.b.b=!0,d=this.c.e.b,a.a&&(Qp(a.a.a),a.a=null),a.a=yt(a.b.a,new zt(a,d)),At(a.b.a,d))}};_.Nd=function(){return"keydown"};w(388);function Bt(a,b){wt.call(this,a,b)}s(390,96,{},Bt);_.Od=vt; -_.Nd=function(){return"keypress"};w(390);function Ct(a,b){wt.call(this,a,b)}s(389,96,{},Ct);_.Od=function(a,b){(b==(ot(),rt)&&t(a,560)||b==qt&&t(a,558))&&a.Ld(this)};_.Nd=function(){return"keyup"};w(389);function qs(){qs=m;rs=new ig}function Qs(){qs()}s(115,527,{},Qs);_.pb=function(a){a.Ad(this)};_.qb=function(){return rs};var rs;w(115);function Dt(){Dt=m;Et=new ig}function Ft(){Dt()}s(477,527,{},Ft);_.pb=Xo;_.qb=function(){return Et};var Et;w(477);s(539,1,{});w(539); -function Gt(a){this.b=a;this.a=In(a,new Ht(this),a.e.a)}s(466,1,{},Gt);w(466);function Ht(a){this.a=a}s(467,1,{},Ht);w(467);function It(a){var b;for(b=0;a;)b+=(a.offsetTop||0)|0,a=a.offsetParent;return b}function Jt(){var a;a=new Dg;Eg(a,"mousedown");Eg(a,"touchstart");return a}function Kt(a,b){var d;if(!b)return-1;d=Lt(a);for(d=kd((K(),d));d;){if(L.ob(d,b))return d=kd(d),d=kd(d),md(d,"vEscalatorLogicalRow");d=vd(d)}return-1}function Mt(a){return(a=oj(a.b).childNodes[2])?kd((K(),a)):null} -function Lt(a){return(a=Mt(a))?a.tBodies[0]:null}function Nt(a){return(a=Mt(a))?a.tFoot:null}function Ot(a){return(a=Mt(a))?a.tHead:null}function Pt(a){a.c&&(Qp(a.c.a),a.c=null)}function Qt(a,b){var d;d=jd(a.a.c);d.checked=b.a;d.vEscalatorLogicalRow=a.e.b}function Rt(a,b,d){b=a.b.j.Tc(b);d?tt(a.b,b):St(a.b,b)}function Tt(a){this.a=new Ut(this);this.b=a}s(470,66,{66:1},Tt);_.cd=function(a,b){Qt(a,b)};w(470); -function Vt(a){var b;a.d&&(Qp(a.d.a),a.d=null);a.a&&(b=a.a,b.p=!1,b.g&&(b.g.U(),b.g=null),a.a=null);b=a.f.b.G;if(t(b,511)){var d,e,f,g;if(b.a){b.a=!1;d=Wt(b.f);b.f.a.Te();g=Wt(b.b);for(f=Hj(new Ij(b.b.a));f.a.Gc();)e=Jj(f),e.bd();b.b.a.Te();Jn(b.c,new Xt(b.c,d,g))}}Pt(a.f)}function Ut(a){this.f=a;this.e=new Yt(this)}s(473,1,{},Ut);_.b=-1;_.c=0;_.g=-1;w(473);function Yt(a){this.a=a}s(474,1,{},Yt); -_.wc=function(a){var b;if(this.a.a)switch(b=a.d,yo(a.d)){case 64:case Ea:Hq();Hq();-1!=(K(),b).type.indexOf("touch")?(a=b.changedTouches[0],a=xd((K(),a).clientY||0)):a=xd(b.clientY||0);b=-1!=b.type.indexOf("touch")?Xf(b.changedTouches[0]):xd(b.clientX||0);var d=this.a.a,e,f,g;-1==d.u?(d.u=ac(d.e,a),d.c=Wb(d.d,a)):(f=d.u,d.u<d.e&&(d.u=Wb(d.u,ac(d.e,a))),e=d.c,d.c>d.d&&(d.c=ac(d.c,Wb(d.d,a))),f=f==d.u,e=e==d.c,g=a!=d.k,d.q=f&&e&&g);Zt(d,a);d.k=a;-1==d.i&&(d.i=b);break;case 8:case qa:case Fa:Vt(this.a)}else Vt(this.a)}; -w(474);function Zt(a,b){var d;b<a.u?(d=b-a.u,d=Wb(-1,d/a.f)):b>a.c?(d=b-a.c,d=ac(1,d/a.f)):d=0;a.r=500*d}function $t(a,b,d,e,f){this.t=a;this.e=b;this.d=d;this.f=e;this.s=f;this.b=It(oj(a.b))+((Ot(a).offsetHeight||0)|0);this.a=It(Nt(a))-1}s(472,1,{},$t); -_.S=function(a){var b;b=a-this.o;this.o=a;this.q&&(a=v(Math.ceil(0.001*b)),this.u<this.e?(this.u+=a,this.u=ac(this.u,this.e),Zt(this,this.k)):this.c>this.d&&(this.c-=a,this.c=Wb(this.c,this.d),Zt(this,this.k)));this.n+=b/1E3*this.r;b=v(this.n);this.n-=b;0!=b&&ys(this.t.b.o.C,this.t.b.o.C.j+b);b=this.t;a=this.i;var d=Wb(this.b,ac(this.a,this.k));Hq();var e=$wnd.document.elementFromPoint(a,d),e=$wnd.document.elementFromPoint(a,d);null!=e&&3==e.nodeType&&(e=e.parentNode);a=Kt(b,e);for(b=a>this.j?1:-1;-1!= -a&&this.j!=a;)this.j+=b,Rt(this.t,this.j,this.s);this.p&&10<=this.f&&(this.g=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(this,oj(this.t.b)))};_.a=0;_.b=0;_.c=-1;_.d=0;_.e=0;_.f=0;_.i=-1;_.j=-1;_.k=0;_.n=0;_.o=0;_.p=!1;_.q=!1;_.r=0;_.s=!1;_.u=-1;w(472);function au(a){this.a=a}s(471,1,{},au); -_.wc=function(a){var b;switch(yo(a.d)){case Da:1==Jd(a.d).length&&Vt(this.a.a);break;case Ea:a.a=!0;break;case qa:case Fa:b=Hd(a.d);var d;if(b)if((d=Lt(this.a))&&(K(),L).ob(d,b)){for(;$c((K(),b))&&Zc($c(b))!=d;)b=$c(b);d=kd($c(b))==b}else d=!1;else d=!1;d&&(Pt(this.a),a.a=!0)}};w(471);function bu(){bu=m;cu=new ig}function du(a,b,d){bu();this.a=a;null!=b?R():(R(),R());null!=d?R():(R(),R())}function Xt(a,b,d){bu();this.a=a;b?new $m(b):(R(),R());d?new $m(d):(R(),R())}s(69,527,{},du,Xt);_.pb=function(a){a.Pd(this)}; -_.qb=function(){return cu};_.rb=nk;var cu;w(69);function eu(a){var b,d;0<a.e.a.Yc()&&(d=new fu(a.e),b=new Xt(a.c,null,gu(a)),a.e.a.Te(),a.a&&(a.f.a.Te(),a.b.a.Te(),hu(a.b,d)),Jn(a.c,b))}function gu(a){var b,d;d=new iu;for(b=Hj(new Ij(a.e.a));b.a.Gc();)a=Jj(b),Eg(d,a.$c());return R(),new ju(d)}function Wt(a){var b,d;d=new ku(a.a.Yc());for(b=Hj(new Ij(a.a));b.a.Gc();)a=Jj(b),Ob(d,a.$c());return d}function lu(){this.f=new iu;this.b=new iu;this.d=this.c=null;this.e=new iu} -s(105,539,{173:1,511:1,105:1},lu);_.Qd=function(){return gu(this)};_.Rd=mu;_.Sd=function(a){a=this.c.j.Sc(a);return this.e.a.Oe(a)};_.Td=function(){eu(this)};_.Ud=function(a){if(this.c&&a)throw new X("Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.");(this.c=a)?(this.g=new nu(a),this.d=new Tt(a)):(a=this.g,Qp(a.c.a),Qp(a.d.a),this.d=this.g=null)};_.a=!1;w(105);function ou(){}s(428,539,{},ou);_.Qd=function(){return R(),R(),pu};_.Rd=qu; -_.Sd=ru;_.Td=Un;_.Ud=su;w(428);function tu(a,b){if(null==b)throw new D("Row cannot be null");a.c&&a.c.Zc(a.b.j.Sc(b))&&(uu(a,a.c),Jn(a.b,new du(a.b,null,b)))}function uu(a,b){b&&b.Zc(a.c)&&(a.c.bd(),a.c=null)}function vu(){}s(104,539,{124:1,104:1},vu);_.Qd=function(){var a;if(null!=(this.c?this.c.$c():null)){a=this.c?this.c.$c():null;R();var b;b=new wu;Eg(b,a);a=new ju(b)}else a=(R(),R(),pu);return a};_.Rd=qu;_.Sd=function(a){return!!this.c&&this.c.Zc(this.b.j.Sc(a))}; -_.Td=function(){this.c&&tu(this,this.c?this.c.$c():null)};_.Ud=function(a){if(this.b&&a)throw new X("Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.");(this.b=a)?(this.d=new nu(a),this.a=new Gt(a)):(a=this.d,Qp(a.c.a),Qp(a.d.a),Qp(this.a.a.a),this.a=this.d=null)};w(104);function nu(a){this.a=a;this.c=In(a,new xu(this),a.s.a);this.d=In(a,new yu(this),a.t.a)}s(167,1,{},nu);_.b=!1;w(167);function yu(a){this.a=a}s(465,1,{560:1},yu); -_.Ld=function(a){32==Id(a.d)&&(this.a.b=!1)};w(465);function xu(a){this.b=a}s(463,1,{},xu);_.a=null;w(463);function zt(a,b){this.a=a;this.b=b}s(464,1,{},zt);_.Bd=function(a){if(jt(a.a,this.b)){a=this.a.b.a;var b;b=a.j.Tc(this.b);a.G.Sd(b)?St(a,b):tt(a,b);Qp(this.a.a.a);this.a.a=null}};_.b=0;w(464);function zu(){zu=m;Au=1/Math.sqrt(3);Bu=Math.tan(0.6981317007977318)}function Ws(a){var b,d,e,f;a.q==(Cu(),Du)&&(e=a.k.g,d=a.g.g,b=a.a.e*a.p,f=Hs(a.s)?ws(a.s):0,Eu(a,e+b+f+d+"px"))} -function nt(a,b){return a.k.j!=b&&ad(a.k.j,b)?a.k:a.a.j!=b&&ad(a.a.j,b)?a.a:a.g.j!=b&&ad(a.g.j,b)?a.g:null}function Fu(a){var b,d;0==a.a.d.b?Jn(a,new os(0,0)):(d=Gu(a.a,Hu(a.a.d)),b=Gu(a.a,Iu(a.a.d))+1,Jn(a,new os(d,b-d)))}function Ju(a){return 0==a.a.d.b?$(0,0):$(Gu(a.a,Hu(a.a.d)),a.a.d.b)}function Ku(a){return(0<a.k.n||0<a.a.n||0<a.g.n)&&0<a.d.a.b.length}function Lu(a){return a.j.hasChildNodes()||a.b.hasChildNodes()||a.f.hasChildNodes()} -function Mu(a){a.K&&(a.D=Wb(0,Lq((T(),a.O))),a.r=Wb(0,Kq(a.O)),Nu(a.k),Nu(a.g),Ou(a.v),Pu(a.a))}function Qu(a,b){null!=b&&b.length?a.o=b:a.o="400.0px";a.q==(Cu(),Ru)&&Eu(a,b)}function Su(a,b){if(0>=b)throw new D("The number of rows must be a positive number.");if(!isFinite(b)&&!isNaN(b))throw new D("The number of rows must be finite.");if(isNaN(b))throw new D("The number must not be NaN.");a.p=b;Ws(a)} -function Eu(a,b){var d;d=a.a.d.b;null!=b&&b.length?(T(),a.O).style.height=b:(T(),a.O).style.height="400.0px";Mu(a);d!=a.a.d.b&&Fu(a)}function Tu(a,b){if(b!=a.q)switch(a.q=b,a.q.b){case 0:Qu(a,a.o);break;case 1:Su(a,a.p);break;default:throw new X("Unimplemented feature - unknown HeightMode: "+a.q);}} -function Uu(a,b){Fn((T(),a.O),b);var d=a.C;fd(d.f,b+"-scroller");cd(d.f,b+"-scroller-vertical");d=a.s;fd(d.f,b+"-scroller");cd(d.f,b+"-scroller-horizontal");Fn(a.B,b+"-tablewrapper");Fn(a.n,b+"-header-deco");Fn(a.i,b+"-footer-deco");Fn(a.t,b+"-horizontal-scrollbar-deco");d=a.k;Vu(d,b);Fn(d.j,b+"-header");d=a.a;Vu(d,b);Fn(d.j,b+"-body");d=a.g;Vu(d,b);Fn(d.j,b+"-footer")}function Wu(a,b){null!=b&&b.length?(T(),a.O).style.width=b:(T(),a.O).style.width="500.0px";Mu(a)} -function Xu(){zu();var a,b;this.e=new as;T();b=$doc;this.j=(K(),b).createElement("thead");b=$doc;this.b=(K(),b).createElement("tbody");b=$doc;this.f=(K(),b).createElement("tfoot");this.C=new Ss;this.s=new Ms;this.k=new Yu(this,this.j);this.a=new Zu(this,this.b);this.g=new $u(this,this.f);this.v=new av(this);this.d=new bv(this);this.t=M();this.n=M();this.i=M();this.q=(Cu(),Ru);this.c=new cv(this);-1!=$wnd.navigator.userAgent.indexOf("Firefox")?this.u=new hs:(b=$doc.body.style,void 0!==b.transform? -void 0!==b.transformStyle?this.u=new is:this.u=new ks:void 0!==b.webkitTransform?this.u=new ls:this.u=new hs);rb(dv);tb(this.u.cZ);this.O=b=M();a=new ev(this);b.appendChild(this.C.f);ps(this.C,a);Fs(this.C);b.appendChild(this.s.f);ps(this.s,a);Fs(this.s);a=this.s;var d=new fv(this);wg((!a.a&&(a.a=new Ig(a)),a.a),(Ts(),Us),d);this.B=M();b.appendChild(this.B);a=$doc;a=(K(),a).createElement("table");this.B.appendChild(a);a.appendChild(this.j);a.appendChild(this.b);a.appendChild(this.f);a=this.n.style; -a.width=Iq()+(Q(),"px");d=(Zd(),"none");a.display=d;b.appendChild(this.n);a=this.i.style;a.width=Iq()+"px";a.display="none";b.appendChild(this.i);a=this.t.style;a.display="none";a.height=Iq()+"px";b.appendChild(this.t);Uu(this,"v-escalator");this.o="400.0px";this.q==Ru&&Eu(this,null);this.O.style.width="500.0px";Mu(this)}function gv(a,b,d,e,f){zu();var g;g=a-f;a=b+f-(e-d);return g<d?g:b+f>e?a:d} -function hv(a,b,d){zu();var e,f,g;g=F(iv,h,0,2,7);0!=a&&0!=b?(e=0>=a?0-a:a,f=0>=b?0-b:b,g[0]=e/f<d?0:a,g[1]=f/e<d?0:b):(g[0]=a,g[1]=b);return g}s(229,17,wa,Xu); -_.oc=function(){var a,b,d;jv(this.k);jv(this.a);jv(this.g);kv(this.k,0,this.k.n);kv(this.g,0,this.g.n);Mu(this);d=!1;for(b=new Gg(this.d.a);b.b<b.d.Yc();)a=(J(b.b<b.d.Yc()),b.d.Ed(b.c=b.b++)),a.c?(a.c=!1,lv(a,a.b),a=!0):a=!1,a&&(d=!0);d&&(mv(this.k),mv(this.a),mv(this.g));nv(this.v,this.C.f);nv(this.v,this.s.f);b=this.v;d=(T(),this.O);d.addEventListener?d.addEventListener(void 0===d.onwheel?"mousewheel":"wheel",b.d):d.attachEvent("onmousewheel",b.d);b=this.v;d=this.O;d.addEventListener&&(d.addEventListener("touchstart", -b.j),d.addEventListener("touchmove",b.i),d.addEventListener("touchend",b.f),d.addEventListener("touchcancel",b.f))}; -_.pc=function(){var a,b,d,e;ov(this.v,this.C.f);ov(this.v,this.s.f);a=this.v;b=(T(),this.O);b.addEventListener?b.removeEventListener(void 0===b.onwheel?"mousewheel":"wheel",a.d):b.detachEvent("onmousewheel",a.d);a=this.v;b=this.O;b.removeEventListener&&(b.removeEventListener("touchstart",a.j),b.removeEventListener("touchmove",a.i),b.removeEventListener("touchend",a.f),b.removeEventListener("touchcancel",a.f));pv(this.k,0,this.k.n);pv(this.g,0,this.g.n);d=this.b.childNodes.length;for(a=0;a<d;a++)b= -d-a-1,e=this.b.rows[b],qv(this.a,e,b),this.a.k.Se(e);rv(this.a.d);a=this.a;fi();a.c=0};_.fc=function(a){Qu(this,a)};_.gc=function(a){Wu(this,a)};_.o="";_.p=10;_.r=0;_.w=0;_.A=0;var Au=_.D=0,Bu=0,dv=w(229);s(244,1,{},function(a){this.a=a});_.ab=function(){Mu(this.a)};w(244);function ev(a){this.a=a}s(245,1,{},ev);_.Ad=function(){sv(this.a.v);Jn(this.a,new Qs)};w(245);function fv(a){this.a=a}s(246,1,{},fv);w(246); -function tv(a,b,d){if(1>d)throw new D("Number of rows must be 1 or greater (was "+d+")");if(0>b||b+d>a.n)throw new Qc("The given row range ("+b+".."+(b+d)+") was outside of the current number of rows ("+a.n+")");}function jv(a){vh((Cc(),Dc),new uv(a))}function vv(a,b){var d;d=no(a.Wd());d.style.height=a.e+(Q(),"px");0<=b&&(d.style.width=b+"px");cd(d,a.i+"-cell");return d} -function wv(a,b){var d,e,f,g;if(!b)throw new D("Element cannot be null");if(a.j==b||$c((K(),b))==a.j||!ad(a.j,b))return null;for(d=b;Zc($c((K(),d)))!=a.j;)d=$c(d);e=-1;for(f=d;f;f=wd(f))++e;f=-1;for(g=$c(d);g;g=wd(g))++f;return new Pr(f,e,d)} -function xv(a,b){var d,e,f,g,l,n,p;f=-1;n=a.j.rows;for(g=0;g<n.length;g++){l=n[g];e=l.cells[b];d=1<e.colSpan;var q=(Zd(),"none"),r;r=e.style;r=(K(),r).display;(p=q===r,d||p)||(d=e.cloneNode(!0),d.style.height="",d.style.width="",l.insertBefore(d,e),e=Lq(d),Dq((zq(),!Z&&(Z=new Aq),zq(),Z))&&(e+=1),f=e>f?e:f,bd(d))}return f}function yv(a,b){return a.k.Qe(b).a}function zv(a,b,d){d?(d=d?d.nextSibling:null)?a.insertBefore(b,d):a.appendChild(b):a.insertBefore(b,a.firstChild);return b} -function gt(a,b,d){if(0>b||b>a.n)throw new Qc("The given index ("+b+") was outside of the current number of rows (0.."+a.n+")");if(1>d)throw new D("Number of rows must be 1 or greater (was "+d+")");a.n+=d;a.o.K&&(a.Yd(b,d),a.n==d&&(a=a.o.c,a.a||(a.a=!0,Jc((Cc(),Dc),a.c))))} -function Av(a,b,d){var e,f;for(e=0;e<a.j.childNodes.length;e++){f=a.Xd(e);var g=a,l=b,n=void 0,p=void 0,q=p=void 0,r=void 0,u=q=void 0;Zr(g.o.e,f,e,Bv(g.o.d));r=new ds(g.o.e,l);for(p=new bs(new cs(r.a.a,r.c,r.c+r.b),!1);p.c+p.d<p.a.b.length;)n=es(p),q=Cv(g.o.d,n.a),q=vv(g,q),n.c=q;g.p.fd(g.o.e,r);0!=l?u=f.childNodes[l-1]:u=null;for(p=new bs(new cs(r.a.a,r.c,r.c+r.b),!1);p.c+p.d<p.a.b.length;)n=es(p),u=zv(f,n.c,u);g.p.dd(g.o.e,r);g.p.hd(g.o.e,r)}Dv(a);if(d)for(d=b;d<b+1;d++)Ev(a,d,!0)} -function kv(a,b,d){var e,f,g,l,n,p;e=new C;if(1>d)return e;0!=a.j.childNodes.length&&0!=b?l=a.j.childNodes[b-1]:l=null;for(n=b;n<b+d;n++){p=(T(),Cd());e.b[e.b.length]=p;cd(p,a.i+"-row");for(g=0;g<a.o.d.a.b.length;g++)f=Cv(a.o.d,g),f=vv(a,f),p.appendChild(f),g<a.o.d.b&&(cd(f,"frozen"),a.o.u.kd(f,a.o.v.b,0));g=a;Zr(g.o.e,p,n,Bv(g.o.d));g.p.fd(g.o.e,Xr(g.o.e));l=zv(g.j,p,l);g.p.dd(g.o.e,Xr(g.o.e));g.p.hd(g.o.e,Xr(g.o.e))}Dv(a);a._d();return e} -function Fv(a,b){var d,e,f;for(f=0;f<a.j.childNodes.length;f++){e=a.Xd(f);Zr(a.o.e,e,f,Bv(a.o.d));d=new Yr(a.o.e,b,1);a.p.gd(a.o.e,d);for(d=0;1>d;d++)bd(e.cells[b]);e=new ds(a.o.e,b);a.p.ed(a.o.e,e)}}function qv(a,b,d){Zr(a.o.e,b,d,Bv(a.o.d));a.p.gd(a.o.e,Xr(a.o.e));bd(b);a.p.ed(a.o.e,Xr(a.o.e))} -function mv(a){var b,d,e,f,g,l;for(e=jd(a.j);e;){b=kd((K(),e));for(d=0;b;)f=(g=md(b,"colSpan"),l=$(d,g),l.a>a.o.d.a.b.length&&(l=new Uq(d,a.o.d.a.b.length)),Gv(a.o.d,l)),b.style.width=f+(Q(),"px"),b=vd(b),++d;e=vd(e)}Dv(a)}function Hv(a,b){var d;for(d=kd((K(),a));d;)d.style.height=b+(Q(),"px"),d=vd(d)}function Dv(a){var b;b=Iv(a.o.d);for(a=jd(a.j);a;)0<=b&&(a.style.width=b+(Q(),"px")),a=vd((K(),a))}function Jv(a,b,d,e){Zr(a.o.e,b,d,Bv(a.o.d));a.p.hd(a.o.e,new Yr(a.o.e,e.b,e.a-e.b))} -function Zq(a,b,d){d=$(b,d);b=$(0,a.o.d.a.b.length);a.ae(d,b)}function it(a,b,d){tv(a,b,d);a.n-=d;a.o.K&&Lu(a.o)&&a.Zd(b,d)}function Ev(a,b,d){var e,f,g;f=a.j.rows;for(g=0;g<f.length;g++)e=f[g],e=e.cells[b],d?cd(e,"frozen"):(pd(e,"frozen"),a.o.u.jd(e));d&&Kv(a,b,a.o.v.b)}function Lv(a,b){a.p=b;Ku(a.o)&&0<a.n&&Zq(a,0,a.n)}function Mv(a,b,d){a.o.u.kd(b,0,d);a.k.Re(b,new S(d))} -function Vu(a,b){var d,e;if(!lt(a.i,b))for(a.i=b,e=a.j.rows[0];e;){Fn(e,b+"-row");for(d=e.cells[0];d;)Fn(d,b+"-cell"),d=vd((K(),d));e=vd((K(),e))}}function Kv(a,b,d){var e,f,g;f=a.j.rows;for(g=0;g<f.length;g++)e=f[g],e=e.cells[b],a.o.u.kd(e,d,0)}function Nv(a,b){this.o=a;this.p=(Qr(),Rr);this.k=new Lg;this.j=b}s(135,1,{});_.Vd=function(){jv(this)};_.ld=function(a){return wv(this,a)};_.md=function(){return this.n};_.nd=function(a){return this.Xd(a)};_.od=function(a){Zq(this,a,1)};_.e=20;_.f=!0; -_.g=0;_.i=null;_.n=0;w(135);function uv(a){this.a=a}s(242,1,{},uv);_.ab=function(){if(this.a.f&&this.a.o.K){var a=this.a,b,d;a.o.K?(d=(T(),Cd()),fd(d,a.i+"-row"),b=no(a.Wd()),fd(b,a.i+"-cell"),(K(),b).textContent="Ij",d.appendChild(b),a.j.appendChild(d),b=Kq(b),a.e=1>b?1:b,a.j.removeChild(d),a.j.hasChildNodes()&&(a.$d(),Ws(a.o))):a.f=!0;this.a.f=!1}};w(242);function Ov(a,b){if(0<=b&&b<a.j.childNodes.length)return a.j.rows[b];throw new Qc("No such visual index: "+b);} -function pv(a,b,d){var e,f;for(e=b;e<b+d;e++)f=a.j.rows[b],qv(a,f,b);Nu(a)}function Nu(a){var b;b=a.e*a.n;b!=a.g&&(a.g=b,a.be(),Pu(a.b.a))}s(136,135,{});_.Xd=function(a){return Ov(this,a)};_.Yd=function(a,b){kv(this,a,b)};_.Zd=function(a,b){pv(this,a,b)};_.$d=function(){var a;if(0!=this.j.childNodes.length){for(a=this.j.rows[0];a;)Hv(a,this.e),a=vd((K(),a));Nu(this)}};_._d=function(){Nu(this)}; -_.ae=function(a,b){var d,e;tv(this,a.b,a.a-a.b);if(this.b.K&&Ku(this.b))for(d=a.b;d<a.a;d++)e=Ov(this,d),Jv(this,e,d,b)};w(136);function Pv(a,b){var d,e,f;if(0!=b){d=a.b.C;0!=b&&ys(d,d.j+b);d=b-b%a.e;for(f=Qv(a.d,0);f.b!=f.d.c;)e=(J(f.b!=f.d.c),f.c=f.b,f.b=f.b.a,++f.a,f.c.c),Mv(a,e,a.k.Qe(e).a+d);Rv(a,a.b.w,a.b.A+b)}}function Sv(a){return((a.b.B.offsetHeight||0)|0)-a.b.g.g-a.b.k.g} -function Tv(a,b){var d,e;if(b.b>=b.a)return b;if(0==a.d.b)return $(0,0);e=Uv(a);d=Gu(a,Hu(a.d));e=Nq(b,$(d,e))[1];return 0==-d?e:new Uq(e.b+-d,e.a+-d)}function Vv(a,b,d){var e;e=Uv(a)-a.j.childNodes.length;d=d<e?d:e;if(0<d){d=kv(a,b,d);Wv(a.d,b,d);for(e=0;e<d.b.length;e++)Mv(a,(Pc(e,d.b.length),d.b[e]),(b+e)*a.e);for(b+=d.b.length;b<a.d.b;b++)e=Xv(a.d,b),Mv(a,e,b*a.e);return d}return new C}function Gu(a,b){var d;d=Yv(a.d,b);return a.c+d}function Uv(a){a=v(Math.ceil(Sv(a)/a.e))+1;return 0>a?0:a} -function Zv(a,b){var d;if(0>b||b>=a.n)throw new Qc("No such logical index: "+b);d=b-Gu(a,Hu(a.d));if(0<=d&&d<a.d.b)return $v(a,d);throw new X("Row with logical index "+b+" is currently not available in the DOM");}function $v(a,b){if(0<=b&&b<a.d.b)return Xv(a.d,b);throw new Qc("No such visual index: "+b);} -function aw(a,b,d,e){var f,g,l;if(!(b.b>=b.a)){if(0>b.b)throw new D("Logical source start must be 0 or greater (was "+b.b+")");if(0>e)throw new D("Logical target must be 0 or greater");if(0>d)throw new D("Visual target must be 0 or greater");if(d>a.j.childNodes.length)throw new D("Visual target must not be greater than the number of escalator rows");if(e+(b.a-b.b)>a.n)throw a=e+(b.a-b.b)-1,new D("Logical target leads to rows outside of the data range ("+e+".."+a+")");b.b<d?f=d-(b.a-b.b):f=d;if(b.b!= -f){l=new ku(b.a-b.b);for(g=0;g<b.a-b.b;g++)d=bw(a.d,b.b),l.b[l.b.length]=d;Wv(a.d,f,l)}l=Qv(a.d,f);for(g=e;g<e+(b.a-b.b);g++)d=(J(l.b!=l.d.c),l.c=l.b,l.b=l.b.a,++l.a,l.c.c),Jv(a,d,g,$(0,a.o.d.a.b.length));e*=a.e;l=Qv(a.d,f);for(g=0;g<b.a-b.b;g++)d=(J(l.b!=l.d.c),l.c=l.b,l.b=l.b.a,++l.a,l.c.c),a.o.u.kd(d,0,e),a.k.Re(d,new S(e)),e+=a.e}}function Rv(a,b,d){a.b.w=b;a.b.A=d;a.b.u.kd(a.b.b,-a.b.w,-a.b.A)} -function cw(a){var b,d,e,f;b=null;Hq();if((d=$wnd.document.activeElement?$wnd.document.activeElement:null)&&ad(a.j,d))for(;d&&d!=a.j;)d&&Ad("tr",(K(),d).tagName)&&(b=d),d=$c((K(),d));e=!b;for(d=Qv(a.d,a.d.b);d.b.b!=d.d.a;)if(f=(J(d.b.b!=d.d.a),d.c=d.b=d.b.b,--d.a,d.c.c),f==b)e=!0;else if(e){var g=a.j;g.insertBefore(f,g.firstChild)}else{var g=a.j,l=void 0;(l=b?b.nextSibling:null)?g.insertBefore(f,l):g.appendChild(f)}} -function Pu(a){var b,d,e,f;if(a.b.K){f=Uv(a);f=ac(f,a.b.a.n);f-=a.d.b;if(0<f)e=a.d.b,0==a.d.b?d=0:d=Gu(a,Iu(a.d))+1,(b=d<a.n-f)?(b=Vv(a,e,f),aw(a,$(e,b.b.length),e,d)):(d=a.b.C.j,ys(a.b.C,0),sv(a.b.v),Vv(a,e,f),ys(a.b.C,d),sv(a.b.v));else if(0>f){e=Qv(a.d,a.d.b);for(d=0;d<-f;d++)b=(J(e.b.b!=e.d.a),e.c=e.b=e.b.b,--e.a,e.c.c),bd(b),dw(e);0!=a.d.b&&(e=yv(a,Hu(a.d)),d=a.b.A-a.e,e<d&&(d=Gu(a,Iu(a.d))+1,aw(a,new Uq(0,1),a.d.b,d)))}0!=f&&Fu(a.b)}} -function Zu(a,b){this.b=a;Nv.call(this,a,b);this.d=new nm;this.c=0;this.a=new ew(this)}s(236,135,{},Zu);_.ld=function(a){var b;a=wv(this,a);if(!a)return null;b=Zc(a.b);return new Pr(Gu(this,b),a.a,a.b)};_.Wd=fw;_.nd=function(a){return Zv(this,a)};_.Xd=function(a){return $v(this,a)}; -_.Yd=function(a,b){var d,e,f,g;if(0!=b)if(d=Vv(this,a,b),Ou(this.b.v),e=a*this.e<this.b.C.j,f=a*this.e>this.b.C.j+Sv(this),e)e=b*this.e,Pv(this,e),e=this.c+b,fi(),this.c=e;else if(!f){e=a+d.b.length;f=Gu(this,Hu(this.d));d=b-d.b.length;g=Tv(this,$(e,d));d=this.j.childNodes.length;g=d-(g.a-g.b);f=e-f;aw(this,new Uq(g,d),f,e);e=(e+(d-g))*this.e;for(d=Qv(this.d,f+(d-g));d.b!=d.d.c;)f=(J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c),this.o.u.kd(f,0,e),this.k.Re(f,new S(e)),e+=this.e;Fu(this.b);cw(this)}}; -_.Zd=function(a,b){var d,e,f,g,l,n,p,q;if(0!=b){f=Ju(this.b);p=$(a,b);f=Nq(p,f);p=f[0];d=f[1];f=Tv(this,d);g=f.b<f.a&&0==f.b;if(p.b<p.a||g)e=(p.a-p.b)*this.e,l=this.e,l=this.b.C.j-e<l,!(f.b>=f.a)||l&&g?l&&Pv(this,-this.b.C.j):Pv(this,-e);if(f.b<f.a){g=this.b.b.childNodes.length;e=this.n;if(e<g){e=g-e;for(n=0;n<e;n++)l=bw(this.d,f.b),qv(this,l,a),this.k.Se(l);g-=e;Rv(this.b.a,this.b.w,0);for(f=d.b;f<g;f++)l=Xv(this.d,f),Mv(this,l,f*this.e);f=b-e;for(n=0>g-f?0:g-f;n<g;n++)l=Xv(this.d,n),Jv(this,l,n, -$(0,this.o.d.a.b.length))}else if(e=this.n*this.e,q=this.b.A+Sv(this),q<=e)for(g=this.d.b,e=Gu(this,Iu(this.d))-(f.a-f.b-1),aw(this,f,g,e),e=Qv(this.d,f.b),l=d.b*this.e,d=f.b;d<g-(f.a-f.b);d++)q=(J(e.b!=e.d.c),e.c=e.b,e.b=e.b.a,++e.a,e.c.c),this.o.u.kd(q,0,l),this.k.Re(q,new S(l)),l+=this.e;else if(0>=f.b&&0<f.a&&b>=this.d.b)f=this.b.s.j,d=e-this.d.b*this.e,Rv(this,f,d),d=$(0,this.d.b),f=this.n-(d.a-d.b),aw(this,d,0,f);else if(e+b*this.e-q<this.e){g=Gu(this,Hu(this.d))-(f.a-f.b);aw(this,f,0,g);f= -Qv(this.d,f.a);for(g=d.b*this.e;f.b!=f.d.c;)e=(J(f.b!=f.d.c),f.c=f.b,f.b=f.b.a,++f.a,f.c.c),this.o.u.kd(e,0,g),this.k.Re(e,new S(g)),g+=this.e;f=this.c+-(d.a-d.b);fi();this.c=f}else{d=yv(this,Xv(this.d,f.b));for(n=0;n<f.a-f.b;n++){l=bw(this.d,f.b);var r=this.d;om(r,l,r.c.b,r.c)}for(n=f.b;n<g;n++)l=Xv(this.d,n),Mv(this,l,v(d)),d+=this.e;d=e-Sv(this);ys(this.b.C,d);sv(this.b.v);aw(this,new Uq(g-1,g-1+1),0,Gu(this,Hu(this.d))-1);d=this.c+-1;fi();this.c=d;d=v(Math.ceil((q-e)/this.e));d=g-(f.a-f.b-d); -g=new Uq(d,g);f=Gu(this,Hu(this.d))+d;aw(this,g,d,f)}Fu(this.b);cw(this)}p=this.c+-(p.a-p.b);fi();this.c=p;Ou(this.b.v)}};_.$d=function(){var a,b,d;if(0!=this.d.b){for(a=0;a<this.d.b;a++)d=Xv(this.d,a),Hv(d,this.e),b=this.c+a,Mv(this,d,b*this.e);a=this.b.C.j/ts(Kd(this.b.C.k.style,"height"));Ou(this.b.v);ys(this.b.C,v(this.e*this.n*a));Rv(this,this.b.s.j,this.b.C.j);sv(this.b.v);Pu(this);a=v(yv(this,Hu(this.d))/this.e);fi();this.c=a}};_._d=Un; -_.ae=function(a,b){var d,e,f;f=Tv(this,a);if(f.b<f.a)for(d=Gu(this,Hu(this.d)),e=f.b;e<f.a;e++)Jv(this,Xv(this.d,e),d+e,b)};_.c=0;w(236);function gw(a){hw(a);a.a=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(a.b,null)}function hw(a){a.a&&(a.a.U(),a.a=null);a.d=Bb();a.c=0}function ew(a){this.e=a;this.b=new iw(this)}s(237,1,{},ew);_.c=0;_.d=0;w(237);function iw(a){this.a=a}s(243,1,{},iw); -_.S=function(){++this.a.c;var a=this.a,b,d;b=3<=a.c;d=50<=Bb()-a.d;if(b=b&&d)hw(a),cw(a.e);b||(this.a.a=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(this,null))};w(243);function cv(a){this.b=a;this.c=new jw(this)}s(233,1,{},cv);_.a=!1;w(233);function jw(a){this.a=a}s(241,1,{},jw);_.ab=function(){var a,b,d;if(this.a.a)for(this.a.a=!1,a=this.a.b.d,b=0;b<a.a.b.length;b++)d=fs(a.a,b),d.e||(kw(a,b,-1),d.d.c.c.a=!1,d.e=!0)};w(241);function Iv(a){return Gv(a,new Uq(0,a.a.b.length))} -function lw(a,b){if(!jt($(0,a.a.b.length),b))throw new D("The given column index ("+b+") does not exist");}function Bv(a){var b;if(null==a.d||a.d.length!=a.a.b.length)for(a.d=F(iv,h,0,a.a.b.length,7),b=0;b<a.a.b.length;b++)a.d[b]=mw(fs(a.a,b));return a.d}function Gv(a,b){var d,e,f;f=0;for(e=b.b;e<b.a;e++)d=mw(fs(a.a,e)),f+=d;return f}function Cv(a,b){return mw(fs(a.a,b))}function kw(a,b,d){lw(a,b);lv(fs(a.a,b),d);b=fs(a.a,b);b.d.c.c.a=!1;b.e=!0;a.d=null;mv(a.c.k);mv(a.c.a);mv(a.c.g);Mu(a.c)} -function bv(a){this.c=a;this.a=new C}s(238,1,{},bv);_.b=0;_.d=null;w(238);function mw(a){return a.c?-1:a.a}function lv(a,b){a.b=b;if(0>b)if(a.d.c.K){var d=a.d,e=Wm(a.d.a,a),f,g;g=xv(d.c.k,e);f=xv(d.c.a,e);d=xv(d.c.g,e);a.a=g>(f>d?f:d)?g:f>d?f:d}else a.c=!0;else a.a=b}function nw(a){this.d=a}s(239,1,{},nw);_.a=100;_.b=-1;_.c=!1;_.e=!1;w(239); -function ow(a,b,d,e){var f;this.f=a;f=Bb();this.g=-7<(7>b/(f-e)?b/(f-e):7)?7>b/(f-e)?b/(f-e):7:-7;this.i=-7<(7>d/(f-e)?d/(f-e):7)?7>d/(f-e)?d/(f-e):7:-7;this.b=a.s.j;this.c=a.C.j;a=hv(this.g,this.i,(zu(),Au));this.g=a[0];this.i=a[1];0.005<this.g*this.g+this.i*this.i?(this.d=1500,this.j=this.g/this.d,this.k=this.i/this.d):this.d=0}s(231,1,{},ow); -_.S=function(){var a,b,d,e,f;0>=this.d||this.a?this.f.v.a=null:(f=Bb(),0==this.e?this.e=f:(a=this.f.s.j,b=this.f.C.j,e=f-this.e,d=a-this.g*e,ys(this.f.s,d),this.g-=this.j*e,d=b-this.i*e,ys(this.f.C,d),this.i-=this.k*e,this.b==this.f.s.j&&this.c==this.f.C.j&&(this.a=!0),this.e=f,this.d=v(this.d-e),this.b=a,this.c=b),(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(this,null))};_.a=!1;_.b=0;_.c=0;_.d=0;_.e=0;_.g=0;_.i=0;_.j=0;_.k=0;w(231);function $u(a,b){this.b=this.a=a;Nv.call(this,a,b)}s(235,136,{},$u); -_.Wd=fw;_.be=function(){var a;a=v(Math.floor(this.a.r-this.a.k.g-this.a.g.g));Iv(this.a.d)>this.a.D&&(a=v(a-ws(this.a.s)));this.a.i.style.height=this.a.g.g+(Q(),"px");zs(this.a.C,a)};w(235);function Yu(a,b){this.b=this.a=a;Nv.call(this,a,b)}s(234,136,{},Yu);_.Wd=function(){return"th"};_.be=function(){this.a.b.style.marginTop=this.g+(Q(),"px");this.a.C.f.style.top=this.g+"px";this.a.n.style.height=this.g+"px"};w(234); -function pw(a,b,d,e){if(!isNaN(b)){var f=a.s;0!=b&&ys(f,f.j+b)}isNaN(d)||(f=a.C,0!=d&&ys(f,f.j+d));d=0!=d&&Hs(a.C);a=0!=b&&Hs(a.s);(d||a)&&(K(),e).preventDefault()}function qw(a){return A(function(b){a.ce(b)})}function rw(a){return A(function(b){a.de(b)})}function sw(a){return A(function(b){a.ee(b)})}function tw(a){this.j=new uw(this);this.d=a}s(230,1,{},tw); -_.ce=function(a){this.n=Jd(a).length;0==this.n&&(a=this.d.v,a.a=new ow(a.c,this.b,this.c,this.e),(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(a.a,null),gw(this.d.a.a))};_.de=function(a){var b;this.i=a;this.a&&this.a.U();this.a=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(this.j,this.d.b);(K(),a).preventDefault();vw((b=this.j,Bb(),b))};_.ee=function(a){this.n=Jd(a).length;if(1==this.n){var b=this.d.v;b.a&&(b.a.a=!0);this.f=a.targetTouches[0].pageX;this.g=a.targetTouches[0].pageY;this.k=!0}};_.b=0;_.c=0;_.e=0;_.f=0; -_.g=0;_.k=!0;_.n=0;w(230);function vw(a){var b,d,e;1==a.a.n&&(b=a.a.i.targetTouches[0].pageX,d=a.a.i.targetTouches[0].pageY,a.a.b=b-a.a.f,a.a.c=d-a.a.g,a.a.f=b,a.a.g=d,a.a.e=Bb(),a.a.k&&(b=a.a.b,d=a.a.c,e=hv(a.a.b,a.a.c,(zu(),Bu)),a.a.b=e[0],a.a.c=e[1],0!=b&&a.a.b==b&&0!=d&&a.a.c==d&&(a.a.k=!1)),pw(a.a.d,-a.a.b,-a.a.c,a.a.i))}function uw(a){this.a=a}s(240,1,{},uw);_.S=function(){vw(this)};w(240);s(228,1,{});w(228); -function nv(a,b){b.addEventListener?b.addEventListener("scroll",a.e):b.attachEvent("onscroll",a.e)}function ww(a){return A(function(b){var d=b.deltaX?b.deltaX:-0.5*b.wheelDeltaX,e=b.deltaY?b.deltaY:-0.5*b.wheelDeltaY;isNaN(e)&&(e=-0.5*b.wheelDelta);pw(a,d,e,b)})}function xw(a){var b=a.C,d=b.pd(),e=a.s,f=e.pd();return A(function(a){a=a.target||a.srcElement;a===d?b.zd():a===f?e.zd():$wnd.console.error("unexpected scroll target: "+a)})} -function ov(a,b){b.addEventListener?b.removeEventListener("scroll",a.e):b.detachEvent("onscroll",a.e)} -function sv(a){var b,d,e;e=a.c.C.j;d=a.c.s.j;if(a.b!=d){for(b=0;b<a.c.d.b;b++)Kv(a.c.k,b,d),Kv(a.c.a,b,d),Kv(a.c.g,b,d);a.c.u.kd(a.c.j,-d,0);t(a.c.u,90)?a.c.f.style.left=-d+(Q(),"px"):a.c.u.kd(a.c.f,-d,0);a.b=d}Rv(a.c.a,d,e);a=a.c.a;var f,g;0!=a.d.b&&(d=!1,e=yv(a,Hu(a.d)),b=a.b.A,e-=b,0<e?(d=v(Math.ceil(e/a.e)),e=ac(d,a.j.childNodes.length),d=a.j.childNodes.length,e=d-e,f=v(b/a.e),aw(a,new Uq(e,d),0,f),fi(),a.c=f,d=!0):0>=e+a.e&&(d=e/a.e,d=v(0>=d?0-d:d),e=ac(d,a.j.childNodes.length),e<a.j.childNodes.length? -f=Gu(a,Iu(a.d))+1:f=v(b/a.e),g=a.j.childNodes.length,b=!1,f+e>a.n&&(--e,b=!0),aw(a,new Uq(0,e),g,f),b&&(f=new Uq(0,1),b=a.n-a.d.b,aw(a,f,0,b)),b=a.c+d,f=a.n-a.d.b,fi(),a.c=b<f?b:f,d=!0),d&&(Fu(a.b),0==a.b.v.g.n&&gw(a.a)))} -function Ou(a){var b,d,e,f,g,l;b=a.c.a;f=b.e*b.n;d=Iv(a.c.d);g=a.c.r;b=a.c.D;l=f>g-a.c.k.g-a.c.g.g;e=d>b;l!=e&&(!l&&e?l=f>g-a.c.k.g-a.c.g.g-ws(a.c.s):e=d>b-ws(a.c.C));l&&(b-=ws(a.c.C),b=0>b?0:b);e&&(g-=ws(a.c.s),g=0>g?0:g);a.c.B.style.height=g+(Q(),"px");a.c.B.style.width=b+"px";zs(a.c.C,Wb(0,g-a.c.g.g-a.c.k.g));Cs(a.c.C,f);e=a.c.s.j;f=Gv(a.c.d,new Uq(a.c.d.b,a.c.d.a.b.length));d-=f;zs(a.c.s,b-d);Cs(a.c.s,f);a.c.s.f.style.left=d+"px";ys(a.c.s,e);Hs(a.c.s)?a.c.t.style.display="":a.c.t.style.display= -(Zd(),"none");d=a.c.n.style;b=a.c.i.style;Hs(a.c.C)?(d.display="",b.display="",Hs(a.c.s)?(a=ws(a.c.s),b.bottom=a+"px"):b.bottom=""):(a=(Zd(),"none"),d.display=a,b.display="none")}function av(a){this.c=a;this.e=xw(a);this.d=ww(a);this.g=new tw(a);this.j=sw(this.g);this.i=rw(this.g);this.f=qw(this.g)}s(232,228,{},av);_.b=0;w(232); -function yw(a,b,d){var e;zw(a.f,d,b);Aw(a.r,b);Aw(a.q,b);Bw(b,a);e=a.o.d;var f,g,l;if(0>d||d>e.a.b.length)throw new Qc("The given index("+d+") was outside of the current number of columns (0.."+e.a.b.length+")");f=e.c.e;for(l=0;1>l;l++)g=d+l,zw(f.a,g,new Vr(f,g));$r(f,d+1);for(f=0;1>f;f++)zw(e.a,d,new nw(e));(f=d<e.b)&&(e.b+=1);l=ts(Kd(e.c.s.f.style,"width"))<ts(Kd(e.c.s.k.style,"width"));Ou(e.c.v);g=ts(Kd(e.c.s.f.style,"width"))<ts(Kd(e.c.s.k.style,"width"));!l&&g&&Pu(e.c.a);Av(e.c.k,d,f);Av(e.c.a, -d,f);Av(e.c.g,d,f);if(0<e.c.k.n||0<e.c.a.n||0<e.c.g.n)for(f=d;f<d+1;f++)kw(e.c.d,f,-1),g=fs(e.c.d.a,f),g.d.c.c.a=!1,g.e=!0;f=Gv(e.c.d,$(0,d));e.c.v.b>f&&(d=Gv(e.c.d,$(d,1)),ys(e.c.s,e.c.v.b+d));b.je(b.j);e=new Dg;e.Ne(Cw(b.c));Dw(a,e)}function yt(a,b){Jc((Cc(),Dc),new Ew(a,b));return In(a,b,(Xs(),Ys))} -function St(a,b){if(t(a.G,124))tu(a.G,b);else if(t(a.G,173)){var d=a.G,e=new Yi(O(y(z,1),h,1,3,[b])),f,g,l;g=new iu;for(l=new Gg(e);l.b<l.d.Yc();){e=(J(l.b<l.d.Yc()),l.d.Ed(l.c=l.b++));f=d.c.j.Sc(e);var n;n=d;null!=n.e.a.Se(f)?(n.a?(n.f.a.Se(f),Eg(n.b,f)):f.bd(),n=!0):n=!1;n&&Eg(g,e)}0<g.a.Yc()&&Jn(d.c,new Xt(d.c,null,g))}else throw new X("Unsupported selection model");}function Fw(a,b){if(0>b||b>=a.f.b.length)throw new X("Column not found.");return fs(a.f,b)} -function Cw(a){var b;b=new Dg;t(a,66)&&(a=Jt(),b.Ne(a));return b}function Gw(a){var b,d,e;d=Ju(a.o).b;b=a.o.k.j;e=(K(),L).eb(b)+((b.offsetHeight||0)|0);for(b=Zv(a.o.a,d);(K(),L).eb(b)+((b.offsetHeight||0)|0)<e;)b=Zv(a.o.a,++d);return d}function Hw(a){var b,d,e;e=Ju(a.o).a;b=hd(a.o.g.j);do d=Zv(a.o.a,--e);while((K(),L).eb(d)>b);return e}function Iw(a){if(t(a.G,124))return a=a.G,a.c?a.c.$c():null;throw new X("Unsupported selection model; can not get single selected row");} -function mt(a,b){var d;a:{d=b;Hq();var e;if(d){for(e=null;!e&&d;)e=(T(),Yj(d)),!e&&(d=$c((K(),d)));if(t(e,17))for(d=e;d;)break a}d=null}if(d==a)return!1;for(;d&&d!=a;)d=d.N;return!!d}function Jw(a){Kw(a.o.k,a.r)}function Kw(a,b){var d;d=(b.e?b.d.b.length:0)-a.n;0<d?(gt(a,0,d),Mu(a.b),Ws(a.b)):0>d&&(it(a,0,-d),Mu(a.b),Ws(a.b));0<a.n&&Zq(a,0,a.n)} -function Lw(a,b){var d;d=Wm(a.f,b);var e=a.o.d;if(0>d||d+1>e.a.b.length)throw new Qc("The given column range ("+d+".."+(d+1)+") was outside of the current number of columns ("+e.a.b.length+")");var f,g,l;ts(Kd(e.c.s.f.style,"width"))>=ts(Kd(e.c.s.k.style,"width"))||(f=Gv(e,new Uq(0,d)),l=Gv(e,$(d,1)),g=e.c.s.j,g<=f||ys(e.c.s,f>g-l?f:g-l));Fv(e.c.k,d);Fv(e.c.a,d);Fv(e.c.g,d);f=e.c.e;Mw(new cs(f.a,d,d+1));$r(f,d);Mw(new cs(e.a,d,d+1));d<e.b&&(d+1<e.b?e.b-=1:e.b=d);Ou(e.c.v);Pu(e.c.a);0<e.c.d.a.b.length&& -(f=e.c.k,0<f.n&&Dv(f),f=e.c.a,0<f.n&&Dv(f),e=e.c.g,0<e.n&&Dv(e));Nw(a);Ow(a.r,b);Ow(a.q,b);Bw(b,null);a.f.Xe(d)}function At(a,b){var d;d=a.o.a.n-1;if(0>b)throw new D("Row index ("+b+") is below zero!");if(b>d)throw new D("Row index ("+b+") is above maximum ("+d+")!");d=a.o;if(0>b||b>=d.a.n)throw new Qc("The given row index "+b+" does not exist.");d=d.v;var e,f,g;f=d.c.a.e*b;e=f+d.c.a.e;g=d.c.C.j;e=gv(f,e,g,g+Sv(d.c.a),0);ys(d.c.C,e)} -function tt(a,b){if(t(a.G,124)){var d=a.G,e;if(null==b)throw new D("Row cannot be null");e=d.c?d.c.$c():null;var f;(f=d.b.j.Sc(b))&&!f.Zc(d.c)?(uu(d,d.c),d.c=f,d.c.ad(),f=!0):f=!1;f&&Jn(d.b,new du(d.b,b,e))}else if(t(a.G,173)){d=a.G;f=new Yi(O(y(z,1),h,1,3,[b]));var g,l;e=new iu;for(l=new Gg(f);l.b<l.d.Yc();){f=(J(l.b<l.d.Yc()),l.d.Ed(l.c=l.b++));g=d.c.j.Sc(f);var n;n=d;Eg(n.e,g)?(g.ad(),n.a&&(n.b.a.Se(g),Eg(n.f,g)),n=!0):n=!1;n&&Eg(e,f)}0<e.a.Yc()&&Jn(d.c,new Xt(d.c,e,null))}else throw new X("Unsupported selection model"); -}function Pw(a,b){var d;if(!b)throw new D("dataSource can't be null.");a.G.Td();a.j&&a.j.Xc(null);a.j=b;b.Xc(new Qw(a,b));d=a.o.a.n;0!=d&&it(a.o.a,0,d);Rw(a)}function Rw(a){var b;b=a.j.Yc();-1==b&&a.J&&a.J.K&&(b=Uv(a.o.a));0<b&>(a.o.a,0,b)} -function Sw(a,b){var d;d=b.ke();a.G&&a.G.Ud(null);a.G=d;d.Ud(a);d=a.G.Rd();var e;if(a.D!=d){a.D&&(a.D&&(e=a.D,e.c&&Pt(e)),e=a.F,a.F=null,Lw(a,e),e=a.b,e.a=Tw(e.a,-1));if(a.D=d){e=a.b;e.a=Tw(e.a,1);a.F=new Uw(a,d);yw(a,a.F,0);d=a.F;var f;if(t(d.b.G,173)&&d.b.r.a){f=d.b.G;e=new xp;f=new Vw(d,f);if(!e.c){var g=new zp(e),l=($f(),$f(),ag),n;n=l.b;n=Mn((T(),n));-1==n?(n=l.b,vo((T(),e.O),n)):-1==e.L?Tn(e.a,n|(T(),e.a.__eventBits||0)):-1==e.L?Tn((T(),e.O),n|(e.O.__eventBits||0)):e.L|=n;wg(e.M?e.M:e.M=new Ig(e), -l,g);e.c=!0}In(e,f,(!vg&&(vg=new ig),vg));f=Ww(d.b.r.a,d);f.b=e;f.d=(Xw(),Yw);Zw(f.c)}$w(d,-1);d.a=!0}else a.F=null,Zq(a.o.a,0,a.o.a.n);Nw(a)}}function Dw(a,b){var d,e,f,g;d=0;for(g=b.vc();g.Gc();)f=g.Hc(),e=Mn((T(),f)),0>e?vo(a.O,f):d|=e;0<d&&(-1==a.L?Tn((T(),a.O),d|(a.O.__eventBits||0)):a.L|=d)} -function Nw(a){var b;b=0;a.F&&++b;a=a.o.d;var d=b,e,f;if(0>d||d>a.a.b.length)throw new D("count must be between 0 and the current number of columns ("+a.a.b.length+")");f=a.b;if(d!=f){a.b=d;if(Lu(a.c))for((b=d>f)?e=f:(e=d,d=f);e<d;e++)Ev(a.c.k,e,b),Ev(a.c.a,e,b),Ev(a.c.g,e,b);Ou(a.c.v)}} -function ax(){var a;this.p=new $s(this);this.s=new xt(this,this.p);this.t=new Ct(this,this.p);new Bt(this,this.p);this.e=new st(this,this.p);new ut(this,this.p);this.o=new Xu;this.r=new bx;this.q=new cx;this.f=new C;this.g=$(0,0);this.H=new C;this.I=new dx(this);this.k=new ex;this.a=new fx(this);this.A=new at;this.u=new bt(this.A);a=this.o;var b;if(this.J)throw new X("Composite.initWidget() may only be called once.");Pj(a);this.O=b=(T(),a.O);Vp();var d;T();try{d=!!b&&!!b.__gwt_resolve}catch(e){d= -!1}d&&(Vp(),b.__gwt_resolve=Xp(this));this.J=a;Rn(a,this);(T(),this.O).tabIndex=0;this.b=new gx(this);Fn((T(),this.O),"v-grid");Uu(this.o,"v-grid");a=this.k;null!=a.c&&pd(a.a,a.c);a.c="v-grid-editor";cd(a.a,a.c);a=yn(this.O)+"-row";this.w=a+"-has-data";this.B=a+"-selected";this.C=a+"-stripe";this.c=yn(this.O)+"-cell-focused";this.v=yn(this.O)+"-row-focused";this.J&&this.J.K&&(Kw(this.o.k,this.r),Zq(this.o.a,0,this.o.a.n),Kw(this.o.g,this.q));Lv(this.o.k,new hx(this,this.r,this.o.k));Lv(this.o.a,new ix(this)); -Lv(this.o.g,new hx(this,this.q,this.o.g));this.r.c=this;a=jx(this.r);kx(this.r,a);this.q.c=this;yt(this,new lx(this.k));Sw(this,(mx(),nx));In(this.o,new ox(this),(qs(),rs));In(this.o,new px(this),(ms(),ns));In(this,new qx(this),(bu(),bu(),cu));Dw(this,new Yi(O(y(hb,1),h,2,4,["touchstart","touchmove","touchend","touchcancel","click"])));Dw(this,new Yi(O(y(hb,1),h,2,4,["keydown","keyup","keypress","dblclick"])));In(this,new rx(this),this.t.a);yt(this,new sx(this))} -function tx(a){var b;b=nd(a,"customStyle");lt(b,null)||(null!=b&&pd(a,b),a.customStyle=null)}s(197,530,{26:1,21:1,19:1,24:1,37:1,22:1,20:1,17:1},ax);_.sc=function(){throw new Wn("Cannot add widgets to Grid with this method");};_.vc=function(){throw new Wn("Cannot iterate through widgets in Grid this way");};_.lc=function(){Ap(this);0==this.o.a.n&&this.j&&Rw(this)}; -_.mc=function(a){var b,d,e,f;if(this.n&&(f=(K(),L).nb(a),sd(f))){d=nt(this.o,f);e=a.type;if(d)b=d.ld(f),"mousedown"===e?this.d=b:!b&&"click"===e&&(b=this.d);else if("keydown"===e||"keyup"===e||"keypress"===e)d=this.b,b=new Pr(d.g,d.a.b,d.b),d=this.b.c;else return;e=this.p;var g,l;l=b.c;g=b.a;var n=e.e,p=e.b.j.Tc(l);n.b=l;n.a=p;l=Fw(e.b,g);e.d=g;e.c=l;e.a=b.b;Ln(this,a);Ln(this.J,a);(f=mt(this,f))||(d==this.o.k&&ux(this.r,this.p.e.b),f=!1);if(!f){a:{if(d==this.o.a&&(d=this.p.c,K(),t(d.c,66))){f=d.c; -if(d=Jt().a.Oe(a.type))if(!(d=bj("touchstart",(K(),a).type))&&(d="mousedown"===a.type)&&(d=a.button,d=1==(1==d?4:2==d?2:1)),d){Pt(f);f.c=zo(new au(f));d=Kt(f,L.nb(a));f=f.a;e=f.f.b.G;t(e,511)&&(e.a=!0);e=f.f;b=It(oj(e.b))+((Ot(e).offsetHeight||0)|0);e=It(Nt(f.f))-1;g=(T(),f.f.b.O);for(l=0;g;)l-=(g.scrollTop||0)|0,g=$c((K(),g));g=l;f.g=g+b+100;f.b=g+e-100;f.c=100;50>f.b-f.g&&(e=50-(f.b-f.g),f.g-=e/2|0,f.b+=e/2|0,f.c-=e/2|0);f.d=zo(f.e);e=f.f;b=f.g;g=f.b;l=f.c;n=f.f;p=n.b.j.Tc(d);n=n.b.G.Sd(p);f.a= -new $t(e,b,g,l,!n);f=f.a;f.p=!0;Rt(f.t,d,f.s);f.j=d;f.p&&10<=f.f&&(f.g=(!Fb&&(Fb=Gb()?new Hb:new Ib),Fb).T(f,oj(f.t.b)));a.preventDefault();a.stopPropagation();d=!0}else throw new X("received unexpected event: "+a.type);if(d){d=!0;break a}}d=!1}if(!d)a:if(bj((K(),a).type,"keydown")){e=-1;f=this.o.a;switch(a.keyCode|0){case 36:0<f.n&&(e=0);break;case 35:0<f.n&&(e=f.n-1);break;case 33:d=Ju(this.o);d.b<d.a&&(f=Gw(this),e=f-(d.a-d.b),0>e&&(e=0));break;case 34:d=Ju(this.o);d.b<d.a&&(e=Hw(this),e+=d.a- -d.b,e>=f.n&&(e=f.n-1));break;default:d=!1;break a}At(this,e);d=!0}else d=!1;f=d}if(!f&&(d=new Yi(O(y(hb,1),h,2,4,["keydown","click"])),-1!=Yv(d,a.type)))a:if(d=this.b,f=this.p,bj((K(),a).type,"click"))vx(d,f.e.b,f.d,nt(d.j.o,f.a)),oj(d.j).focus();else if("keydown"===a.type){b=d.g;e=d.c;f=d.a.b;switch(a.keyCode|0){case 40:++b;break;case 38:--b;break;case 39:if(d.a.a>=wx(new $m(d.j.f)).Yc())break a;f=d.a.a;break;case 37:if(0==f)break a;--f;break;case 9:a.shiftKey?e=xx(d,d.c):e=yx(d,d.c);if(e==d.c)break a; -break;default:break a}e!=d.c?e==d.j.o.a?b=d.d:e==d.j.o.k?b=d.f:b=d.e:0>b?(e=xx(d,e),e==d.c?b=0:e==d.j.o.a?b=Hw(d.j):b=e.n-1):b>=d.c.n&&(e=yx(d,e),e==d.c?b=d.c.n-1:e==d.j.o.a?b=Gw(d.j):b=0);0!=e.n&&(a.preventDefault(),a.stopPropagation(),vx(d,b,f,e))}}};_.tc=ru;_.fc=function(a){Qu(this.o,a)};_.gc=function(a){Wu(this.o,a)};_.i=!1;_.n=!0;_.D=null;var zx=w(197);function ox(a){this.a=a}s(219,1,{},ox);_.Ad=function(){Jn(this.a,new Qs)};w(219);function px(a){this.a=a}s(220,1,{},px);w(220); -function qx(a){this.a=a}s(221,1,{},qx);_.Pd=function(){var a=this.a;Zq(a.o.a,0,a.o.a.n)};w(221);function rx(a){this.a=a}s(222,1,{558:1},rx);_.Ld=function(a){if(13==Id(a.d)){var b=this.a.I;a=a.c.c;K();Ax(b,a)}};w(222);function sx(a){this.a=a}s(223,1,{},sx);_.Bd=function(){this.a.i=!1};w(223);function $q(a,b,d){a.a.g=$(b,d);Jn(a.a,new Zs(a.a.g))}function Qw(a,b){this.a=a;this.b=b}s(224,1,{},Qw);w(224);function Ew(a,b){this.a=a;this.b=b}s(225,1,{},Ew);_.ab=function(){this.a.i||this.b.Bd(new Zs(this.a.g))}; -w(225);function Bx(a){a=a.fe();return 0<a?a:0>a?1:0}function Cx(a){a=a.ge();return 0<=a?a:1.7976931348623157E308}function Dx(a){a=a.he();return 0<=a?a:4.9E-324}function Ex(a){a.b||(a.b=!0,Jc((Cc(),Dc),a.a))}function fx(a){this.d=a;this.a=new Fx(this)}s(208,1,{},fx);_.b=!1;_.c=0;w(208);function Fx(a){this.a=a}s(215,1,{},Fx); -_.ab=function(){if(this.a.b)if(this.a.d.r.b)10>this.a.c?(Jc((Cc(),Dc),this),++this.a.c):(this.a.c=0,vh((Cc(),Dc),this));else if(this.a.d.i)vh((Cc(),Dc),this);else{var a=this.a,b,d,e,f,g,l,n,p,q,r,u;a.b=!1;a.c=0;l=Lq(a.d.o.B);for(f=new Gx(wx(new $m(a.d.f)).b.vc());f.b.Gc();)e=f.b.Hc(),0<=e.j?l-=e.j:0<=e.he()&&(l-=e.he());if(0>l)for(f=new Gx(wx(new $m(a.d.f)).b.vc());f.b.Gc();)e=f.b.Hc(),Hx(e,e.j),g=0>=e.j,n=Cv(e.e.o.d,Wm(e.e.f,e))<Dx(e),g&&n&&Hx(e,e.he());if(!(0>l)){p=!1;d=f=0;l=new Dg;for(b=new Gx(wx(new $m(a.d.f)).b.vc());b.b.Gc();){e= -b.b.Hc();n=e.j;g=0<=n;q=Wb(n,e.he());n=e.fe();if(g)Hx(e,q);else if(Hx(e,-1),q=Cv(e.e.o.d,Wm(e.e.f,e)),g=Cx(e),g=q<g&&0<n)f+=n,Eg(l,e),p=!0;d+=Cv(e.e.o.d,Wm(e.e.f,e))}if(!p)for(g=new Gx(wx(new $m(a.d.f)).b.vc());g.b.Gc();)e=g.b.Hc(),b=e.j,n=e.fe(),0>b&&0>n&&(++f,Eg(l,e));q=Lq(a.d.o.B)-d;if(!(0>=q||0>=f)){do for(b=!1,u=q/f,p=Hj(new Ij(l.a));p.a.Gc();)e=Jj(p),n=Bx(e),d=Cv(e.e.o.d,Wm(e.e.f,e)),g=Cx(e),r=d+u*n,g<=r&&(Hx(e,g),f-=n,q-=g-d,p.a.Ic(),b=!0);while(b);if(!(0>=f&&0==l.a.Yc())){b=q/f;for(g=Hj(new Ij(l.a));g.a.Gc();)e= -Jj(g),n=Bx(e),d=Cv(e.e.o.d,Wm(e.e.f,e)),d+=b*n,Hx(e,d),f-=n;do{n=!1;d=0;for(g=new Gx(wx(new $m(a.d.f)).b.vc());g.b.Gc();)e=g.b.Hc(),p=Dx(e),f=Cv(e.e.o.d,Wm(e.e.f,e)),(b=0>e.j)&&f<p&&(Hx(e,p),d+=p-f,n=!0,l.a.Se(e));f=0;for(g=Hj(new Ij(l.a));g.a.Gc();)e=Jj(g),f+=Bx(e);d/=f;for(f=Hj(new Ij(l.a));f.a.Gc();)e=Jj(f),g=d*Bx(e),Hx(e,Cv(e.e.o.d,Wm(e.e.f,e))-g)}while(n)}}}}};w(215);function ix(a){this.a=a}s(209,1,{},ix);_.dd=function(a,b){var d,e;for(e=b.vc();e.Gc();)d=e.Hc(),Fw(this.a,d.a)}; -_.ed=function(a,b){var d,e,f;e=this.a.A;e.b=a.d;e.a=null;for(e=b.vc();e.Gc();)if(d=e.Hc(),f=Fw(this.a,d.a).c,t(f,66))try{var g=this.a.u;f=d;var l=Fw(this.a,d.a);g.a=f;d=g;var n=l;d.d=f.a;d.c=n}catch(p){if(p=H(p),t(p,10))rb(zx);else throw I(p);}}; -_.fd=function(a,b){var d,e,f;e=a.d;f=this.a.A;d=this.a.j.Tc(e);f.b=e;f.a=d;for(e=b.vc();e.Gc();)if(d=e.Hc(),f=Fw(this.a,d.a).c,t(f,66))try{var g=this.a.u;f=d;var l=Fw(this.a,d.a);g.a=f;d=g;var n=l;d.d=f.a;d.c=n;var p=this.a.u;f=void 0;f=(T(),Bd());for(var q=p.a.c;q.lastChild;)q.removeChild(q.lastChild);p.a.c.appendChild(f)}catch(r){if(r=H(r),t(r,10))rb(zx);else throw I(r);}};_.gd=function(a,b){var d,e;for(e=new bs(new cs(b.a.a,b.c,b.c+b.b),!0);e.c+e.d<e.a.b.length;)d=es(e),Fw(this.a,d.a)}; -_.hd=function(a,b){var d,e,f,g,l,n,p,q;e=a.d;d=a.c;n=this.a.j.Tc(e);g=null!=n;p=this.a.w;p=dd(p);p=-1!=ed(d.className||"",p);p!=g&&Cn(d,this.a.w,g);Cn(d,this.a.C,0!=a.d%2);f=this.a.A;f.b=e;f.a=n;g?(Cn(d,this.a.B,this.a.G.Sd(n)),tx(d)):p&&(Cn(d,this.a.B,!1),tx(d));d=this.a.b;if(d.g==a.d&&d.c==d.j.o.a)a.c!=d.i&&(d.i&&Cn(d.i,d.j.v,!1),d.i=a.c,Cn(d.i,d.j.v,!0));else if(d.i==a.c||d.c!=d.j.o.a&&d.i)Cn(d.i,d.j.v,!1),d.i=null;for(e=b.vc();e.Gc();){d=e.Hc();f=Fw(this.a,d.a);Ix(this.a.b,d,this.a.o.a);(g||p)&& -tx(d.c);l=f.c;try{var r=this.a.u,u=d,B=f;r.a=u;var P=r;P.d=u.a;P.c=B;if(t(l,66))g?(p||gr(this.a.u,!0),q=f.ie(n),Qt(this.a.u,q)):gr(this.a.u,!1);else if(g)q=f.ie(n),l.cd(this.a.u,q);else for(var ya=d.c;ya.lastChild;)ya.removeChild(ya.lastChild)}catch(Aa){if(Aa=H(Aa),t(Aa,10))rb(zx);else throw I(Aa);}}};w(209);function yx(a,b){if(b==a.j.o.k)b=a.j.o.a;else if(b==a.j.o.a)b=a.j.o.g;else return b;return 0==b.n?yx(a,b):b} -function xx(a,b){if(b==a.j.o.g)b=a.j.o.a;else if(b==a.j.o.a)b=a.j.o.k;else return b;return 0==b.n?xx(a,b):b} -function vx(a,b,d,e){var f,g,l,n;if(b!=a.g||!jt(a.a,d)||e!=a.c){n=a.g;a.g=b;b=a.a;if(e==a.j.o.a)At(a.j,a.g),a.a=$(d,1);else{l=0;f=jd(e.nd(a.g));do{g=md(f,"colSpan");g=$(l,g);if(g.b<=d&&d<g.a){a.a=g;break}f=vd((K(),f));++l}while(f)}if(d>=a.j.o.d.b){f=a.j.o;if(0>d||d>=f.d.a.b.length)throw new Qc("The given column index "+d+" does not exist.");if(d<f.d.b)throw new D("The given column index "+d+" is frozen.");f=f.v;var p;g=Gv(f.c.d,$(0,f.c.d.b));l=Gv(f.c.d,$(0,d))-g;d=l+Cv(f.c.d,d);p=f.c.s.j;g=p+Lq(oj(f.c))- -g;Hs(f.c.C)&&(g-=Iq());d=gv(l,d,p,g,10);ys(f.c.s,d)}a.c==e?Jx(b,a.a)&&n!=a.g?a.c.od(n):(Jw(a.j),n=a.j,Kw(n.o.g,n.q)):(d=a.c,a.c=e,d==a.j.o.a?a.d=n:d==a.j.o.k?a.f=n:a.e=n,Jx(b,a.a)?d.od(n):(Jw(a.j),e=a.j,Kw(e.o.g,e.q),d==a.j.o.a&&d.od(n)))}a.c.od(a.g)}function Ix(a,b,d){var e,f;e=b.d.d;f=cr($(b.a,md(b.c,"colSpan")),a.a);d==a.c&&(e==a.g&&f?a.b!=b.c&&(a.b&&Cn(a.b,a.j.c,!1),a.b=b.c,Cn(a.b,a.j.c,!0)):a.b==b.c&&(Cn(a.b,a.j.c,!1),a.b=null))} -function gx(a){this.j=a;this.c=this.j.o.a;this.a=$(0,1);Dw(a,new Yi(O(y(hb,1),h,2,4,["keydown","click"])))}s(205,1,{},gx);_.b=null;_.d=0;_.e=0;_.f=0;_.g=0;_.i=null;w(205);function Hx(a,b){var d,e;a.e&&(e=Wm(a.e.f,a),d=a.e.o.d,kw(d,e,b))}function Bw(a,b){var d;if(a.e&&b)throw new X("Column already is attached to a grid. Remove the column first from the grid and then add it. (in: "+Kx(a)+")");a.e&&Ex(a.e.a);a.e=b;a.e&&(Ex(a.e.a),d=a.e.r.a)&&(d=Ww(d,a),d.b=a.f,d.d=(Xw(),Lx),Zw(d.c))} -function Mx(a,b){if(!b)throw new D("Renderer cannot be null.");a.c=b;if(a.e){var d=a.e;Zq(d.o.a,0,d.o.a.n)}}function Nx(a,b){a.j!=b&&(a.j=b,a.e&&Ex(a.e.a));return a}function Kx(a){var b,d;b="";a.f.length?b+='header:"'+a.f+'" ':b+="header:empty ";a.e?(d=wx(new $m(a.e.f)).a.Vc(a),-1!=d?b+="attached:#"+d+" ":b+="attached:unindexed "):b+="detached ";b+="sortable:false ";return tb(a.cZ)+"["+qd(b)+"]"}s(126,1,{});_.fe=mu;_.ge=Yf;_.he=function(){return this.i};_.je=function(a){return Nx(this,a)};_.tS=function(){return Kx(this)}; -_.d=-1;_.f="";_.g=-1;_.i=10;_.j=-1;w(126);function ex(){this.a=(T(),M());new Lg}s(204,1,{},ex);_.b=-1;_.c=null;w(204);s(210,39,{},function(){});_.W=Ox;w(210);s(211,39,{},function(){});_.W=Ox;w(211);function lx(a){this.a=a}s(212,1,{},lx);_.Bd=function(){};w(212);function Aw(a,b){var d,e;for(e=new Gg(a.d);e.b<e.d.Yc();)d=(J(e.b<e.d.Yc()),e.d.Ed(e.c=e.b++)),Px(d,b)} -function jx(a){var b=a.d.b.length,d,e;e=new Qx;e.d=a;for(d=0;d<a.c.f.b.length;++d)Px(e,Fw(a.c,d));zw(a.d,b,e);a.b=!0;Jc((Cc(),Dc),new Rx(a));return e}function ux(a,b){try{return fs(a.d,b)}catch(d){d=H(d);if(t(d,28))throw new D("Row with index "+b+" does not exist");throw I(d);}}function Ow(a,b){var d,e;for(e=new Gg(a.d);e.b<e.d.Yc();)d=(J(e.b<e.d.Yc()),e.d.Ed(e.c=e.b++)),d.c.Se(b)}s(132,1,{});_.e=!0;w(132);function cx(){this.d=new C}s(203,132,{},cx);w(203); -function Zw(a){a.b=!0;Jc((Cc(),Dc),new Rx(a))}function kx(a,b){if(b!=a.a){if(b&&-1==Wm(a.d,b))throw new D("Cannot set a default row that does not exist in the container");a.a&&(a.a.a=!1);b&&(b.a=!0);a.a=b;a.b=!0;Jc((Cc(),Dc),new Rx(a))}}function bx(){this.d=new C;this.b=!1}s(200,132,{},bx);_.b=!1;w(200);function Rx(a){this.a=a}s(97,1,{},Rx);_.ab=function(){this.a.b&&(this.a.b=!1,Jw(this.a.c))};w(97); -function Sx(a){if(a.d!=(Xw(),Yw))throw new X("Cannot fetch Widget from a cell with type "+a.d);return a.b}s(198,1,{});_.a=1;_.b=null;w(198);function Tx(){this.d=(Xw(),Lx)}s(202,198,{},Tx);w(202);function Px(a,b){var d;d=new Tx;d.c=a.d;a.c.Re(b,d)}function Ww(a,b){var d;a:{var e;for(e=Hj(new Ij(a.b));e.a.Gc();)if(d=Jj(e),d.Dd(b))break a;d=null}return d?a.b.Qe(d):a.c.Qe(b)}s(199,1,{});w(199);function Qx(){this.c=new Lg;this.b=new Lg;this.a=!1}s(201,199,{},Qx);_.a=!1;w(201); -function ot(){ot=m;qt=new Ux("HEADER",0);rt=new Ux("BODY",1);pt=new Ux("FOOTER",2)}function Ux(a,b){N.call(this,a,b)}s(74,4,{74:1,3:1,5:1,4:1},Ux);var rt,pt,qt,Vx=x(74,function(){ot();return O(y(Vx,1),h,74,0,[qt,rt,pt])});function $w(a,b){if(b!=a.j&&a.a)throw new Wn("The selection column cannot be modified after init");Nx(a,b);return a}function Uw(a,b){this.b=a;Mx(this,b);this.a=!1}s(206,126,{},Uw);_.fe=Wx;_.ge=Xx;_.he=Xx;_.ie=function(a){return dg(),this.b.G.Sd(a)?eg:fg}; -_.je=function(a){return $w(this,a)};_.a=!1;w(206);function Vw(a,b){this.a=a;this.b=b}s(213,1,{},Vw);_.wb=function(a){a.a.a?Jn(this.a.b,new Ft):eu(this.b)};w(213);function mx(){mx=m;nx=new Yx;Zx=new $x;ay=new by}s(58,4,La);var Zx,ay,nx,cy=x(58,function(){mx();return O(y(cy,1),h,58,0,[nx,Zx,ay])});function Yx(){N.call(this,"SINGLE",0)}s(216,58,La,Yx);_.ke=function(){return new vu};x(216,null);function $x(){N.call(this,"MULTI",1)}s(217,58,La,$x);_.ke=function(){return new lu};x(217,null); -function by(){N.call(this,"NONE",2)}s(218,58,La,by);_.ke=function(){return new ou};x(218,null);function dy(a,b,d){var e,f,g;f=ux(a.b,b.d);b=wx(new $m(a.c.f));for(d=d.vc();d.Gc();)if(e=d.Hc(),g=Ww(f,b.a.Ed(e.a)),(Xw(),Yw)==g.d&&(g=Sx(g),e=e.c,!g.kc())){var l=(T(),g.O);e.appendChild(l);g.qc(a.c)}}function ey(a,b,d){var e;if(a.b.d.b.length>b.d)for(b=ux(a.b,b.d),a=wx(new $m(a.c.f)),d=d.vc();d.Gc();)e=d.Hc(),e=Ww(b,a.a.Ed(e.a)),(Xw(),Yw)==e.d&&Sx(e).kc()&&(e=Sx(e),e.qc(null),bd((T(),e.O)))} -function hx(a,b,d){this.c=a;this.b=b;this.a=d}s(134,1,{},hx);_.dd=function(a,b){dy(this,a,b)};_.ed=Tr;_.fd=Tr;_.gd=function(a,b){ey(this,a,b)}; -_.hd=function(a,b){var d,e,f,g,l,n;n=ux(this.b,a.d);f=wx(new $m(this.c.f));tx(a.c);for(e=b.vc();e.Gc();){d=e.Hc();l=Ww(n,f.a.Ed(d.a));if(n){g=d.c;g.removeAttribute("sort-order");pd(g,"sort-desc");pd(g,"sort-asc");g=Fw(this.c,d.a);a:for(var p=void 0,p=new Gx(wx(this.c.H).b.vc());p.b.Gc();)if(p.b.Hc(),null.pf==g)break a}g=d;var p=l.a,q=void 0;if(1>p)throw new D("Number of cells should be more than 0");q=md(g.c,"colSpan");if(1!=p||1!=q){g.c.colSpan=p;for(var r=g,u=void 0,B=void 0,P=void 0,ya=void 0, -u=gs(r.b,p-1).b,P=r.d.b[r.a],B=ya=0;B<u;B++)ya+=r.d.b[r.a+B+1];r.c.style.width=P+ya+(Q(),"px");r=p;B=u=void 0;u=gs(g.b,(q>r?q:r)-1);if(q<r)for(B=0;B<u.b;B++)(Pc(q+B-1,u.b),fs(u.c,u.a+(q+B-1))).c.style.display=(Zd(),"none");else if(q>r)for(B=0;B<u.b;B++)(Pc(r+B-1,u.b),fs(u.c,u.a+(r+B-1))).c.style.display="";g.b.d=p-1}g=d.c;switch(l.d.b){case 0:p=g;if(l.d!=(Xw(),Lx))throw new X("Cannot fetch Text from a cell with type "+l.d);l=l.b;(K(),p).textContent=l||"";break;case 1:p=g;if(l.d!=(Xw(),fy))throw new X("Cannot fetch HTML from a cell with type "+ -l.d);p.innerHTML=l.b||"";break;case 2:ey(this,a,new Yi(O(y(Wr,1),h,75,0,[d]))),g.innerHTML="",dy(this,a,new Yi(O(y(Wr,1),h,75,0,[d])))}tx(g);Ix(this.c.b,d,this.a)}};w(134);function Ax(a,b){if(-1==Wm(a.b.f,b))throw new D("Given column is not a column in this grid. "+Kx(b));}function dx(a){this.b=a}s(207,1,{},dx);w(207);s(214,39,{},function(a){this.a=a});_.W=function(){Ax(this.a,this.a.a)};w(214);function gy(){ti.call(this)}s(177,6,ta,gy); -_.Jb=function(){var a,b,d,e;b=(G(),aj("v-grid",Ei)).c;d=0;for(e=b.length;d<e;++d)a=b[d],a.of()};w(177);s(523,1,{});_.addEventListener=function(a,b){this.addEventListener(a,b)};_.appendChild=function(a){this.appendChild(a)};_.children=function(){return this.children};_.className=function(){return this.className};_.className=function(a){return _=this,_.className=a,_};_.createShadowRoot=function(){return this.createShadowRoot()};_.dispatchEvent=function(a){this.dispatchEvent(a)};_.getAttribute=function(a){return this.getAttribute(a)}; -_.innerHTML=function(a){this.innerHTML=a};_.innerText=function(){return this.innerText};_.innerText=function(a){this.innerText=a};_.setAttribute=function(a,b){this.setAttribute(a,b)};_.shadowRoot=function(){return this.shadowRoot};_.style=function(){return this.style};w(523);s(524,523,{});w(524);function hy(){hy=m;iy=$wnd}var iy;function jy(){jy=m;ky=new Lg;ly=new Lg;my=new Lg;ny=new Lg;oy=py();qy=ry()} -function ry(){var a=$wnd.cancelAnimationFrame||$wnd.mozCancelAnimationFrame||$wnd.webkitCancelAnimationFrame||$wnd.clearTimeout;return function(b){return a(b)}}function sy(a){jy();return ny.Qe(a)}function py(){var a=$wnd.requestAnimationFrame||$wnd.mozRequestAnimationFrame||$wnd.webkitRequestAnimationFrame||function(a){return $wnd.setTimeout(a,20)};return function(b){return a(b)}} -function ty(a){var b=a.currentTarget;uy(b);(a=my.Qe(b))&&qy(a);a=oy(function(){var a=sy(b);if(b.offsetWidth!=a.width||b.offsetHeight!=a.height){var a=new vy,e,f,g;rb(wy);for(f=ky.Qe(b).vc();f.Gc();)e=f.Hc(),g=e.a.r,0==g&&(e.a.t?g=e.a.t.Yc():e.a.e.j&&(g=e.a.e.j.Yc())),xy(e.a,g);jy();ny.Re(b,a)}});my.Re(b,a)} -function uy(a){jy();var b=ly.Qe(a);a=b.firstElementChild;var b=b.lastElementChild,d=a.firstElementChild;b.scrollLeft=b.scrollWidth;b.scrollTop=b.scrollHeight;d.style.width=a.offsetWidth+1+"px";d.style.height=a.offsetHeight+1+"px";a.scrollLeft=a.scrollWidth;a.scrollTop=a.scrollHeight}var qy,my,ky,ny,ly,oy,wy=w(null);function yy(a){this.a=a}s(283,39,{},yy);_.W=function(){uy(this.a);if(!sy(this.a)){var a=this.a,b=new vy;jy();ny.Re(a,b)}a=this.a;jy();a.addEventListener("scroll",ty,!0)};w(283); -function vy(){}s(282,1,{},vy);w(282);function zy(){zy=m;new Dg;Ay=(hy(),iy);By=Ay.document;Cy()} -function Dy(a){var b=$wnd.Object.create($wnd.HTMLElement.prototype);a=$wnd.Object.getPrototypeOf(a);(function(a,b){for(var f in b)if(b.hasOwnProperty(f)){var g=/^jsProperty([A-Z].+)$/.exec(f);if(g){var l=g[1].charAt(0).toLowerCase()+g[1].slice(1),n="get"+g[1],g="set"+g[1];void 0===b[l]&&Object.defineProperty(a,l,{get:b[n]||function(){},set:b[g]||function(){},enumerable:!0,configurable:!0});delete a[n];delete a[g]}else a[f]=b[f]}})(b,a);$wnd.__addEventListener_patched&&(b.addEventListener=$wnd.__addEventListener_patched); -return{prototype:b}}function Cy(){$wnd.__addEventListener_org||(console.log("Monkey Patched HTMLElement.addEventListener"),$wnd.__addEventListener_org=$wnd.HTMLElement.prototype.addEventListener,$wnd.__addEventListener_patched=function(a,b,d){$wnd.__addEventListener_org.call(this,a,t(b,19)?function(a){b.mc(a)}:b,d)},$wnd.HTMLElement.prototype.addEventListener=$wnd.__addEventListener_patched)}function Ey(a,b){zy();var d;d=Dy(b);By.registerElement(a,d)}var By,Ay; -function Fy(){(console.groupEnd||function(){}).call(console)}function xc(a,b,d){var e;e=bc(b);d&&(e="caused by: "+e);(console.groupCollapsed||console.group||console.error||console.log).call(console,e);d=console.error||console.log;e=b.__gwt$backingJsError;d.call(console,e&&e.stack);if(t(b,82))for(d=b.a.vc();d.Gc();)b=d.Hc(),xc(a,b,!0);else b.e&&xc(a,b.e,!0);Fy()}function Gy(){}s(176,1,{},Gy);w(176);s(525,1,{},function(){});w(525); -function Hy(a,b,d){try{return(new Iy(Jy(a,b,""+d))).a}catch(e){e=H(e);if(t(e,62))return 0;throw I(e);}}function Jy(a,b,d){a=a.getAttribute(b);return null!=a&&a.length?a:d} -function Ky(a){var b,d,e,f,g,l;g=Kj(a,O(y(hb,1),h,2,4,["link[rel\x3d'import'], script[src]"]));a=O(y(ui,1),h,6,0,[new Ly(a)]);var n,p,q;b=0;for(p=a.length;b<p;++b)if(d=a[b])for(q=0,e=g.c,f=0,l=e.length;f<l;++f){n=e[f];var r=d,u=(++q,n);n=void 0;r.g=u;r.g=u;(n=ni(u))?(u=(T(),n.O),r.g=u,oi(r,n)):(r.g=u,mi(r,u))}l=(G(),new Ni(Oi(null)));a=g.c;e=0;for(f=a.length;e<f;++e)if(d=a[e],b=Nj(new V(d),"import"))d=l,b=Ky(new V(b)),Fj(d,xl(d.d,b.d,!0),Gj(",",O(y(hb,1),h,2,4,[d.b,b.b])));return Fj(g,xl(g.d,l.d, -!0),Gj(",",O(y(hb,1),h,2,4,[g.b,l.b])))} -function My(a,b,d){var e,f,g,l,n,p;e=Ky((G(),new V(Ei)));f=Dj(e,new Ny);g=Dj(e,new Oy);l=Dj(e,new Py);e=Qy((p="__gwtDevModeHook:"+$moduleName+":moduleBase",n=$wnd||self,n[p]||$moduleBase),$moduleName+"/","");0==f.c.length?-1!=e.indexOf("VAADIN/widgetsets")?e+="../themes/":0==l.c.length?0==g.c.length||(e+="VAADIN/themes/"):e=Qy(0==l.c.length?"":id(uj(l,0),"src"),"vaadin-components.js","themes/"):(e=Ry(0==f.c.length?"":id(uj(f,0),"href"),"[\\w\\-]+\\.html",""),ol(e,"^(|/|.*[\\w\\-]/)$")?e+="../vaadin-": -e+="VAADIN/themes/");e+=d+"/styles.css";d=O(y(hb,1),h,2,4,[d]);var q;p=a.c;l=0;for(q=p.length;l<q;++l)if((n=p[l])&&1==n.nodeType)for(f=0,g=d.length;f<g;++f)a=d[f],cd(n,a);e="@import url('"+e+"')";a=b.c;d=0;for(f=a.length;d<f;++d)b=a[d],(K(),b).textContent=e||""}function Sy(a,b,d,e){b=Jy(b,"theme",null);var f;if(f=null!=b){var g=Wi(d),l,n,p;f="";l=g.c;n=0;for(p=l.length;n<p;++n)g=l[n],f+=(K(),g).textContent;f=-1==f.indexOf(b)}f&&(My(Wi(a),Wi(d),b),Ty(Wi(d),e))} -function Uy(a,b){function d(){b.mc(null)}a.__fnc=d;Object.observe(a,d)}function Vy(a){a&&a.__fnc&&(Object.unobserve(a,a.__fnc),a.__fnc=void 0)}function Ty(a,b){var d;if((d=0==a.c.length?null:Oj(uj(a,0),"sheet"))&&(d=d?fj(d,"rules"):null)&&0<d.length){var e=(Cc(),Dc);e.b=Kc(e.b,[new Wy(d,a,b),!0]);Fc(e)}}function Xy(a,b){"complete"===Nj((G(),G(),new V(Ei)),"readyState")?Vm(b,O(y(z,1),h,1,3,[])):Pb(new Yy(a,b),5)}function Zy(){Mm.call(this);this.ac(this.c)}s(293,128,va,Zy); -_.ac=function(a){Xy(this,a)};w(293);function Yy(a,b){this.a=a;this.b=b}s(294,39,{},Yy);_.W=function(){Xy(this.a,this.b)};w(294);function $y(a){this.a=a;ti.call(this)}s(295,6,ta,$y); -_.Jb=function(){var a,b,d;a=(G(),aj("body",Ei));d=0==a.c.length?"":id(uj(a,0),"vaadin-theme");Zi($i(O(y(z,1),h,1,3,[d])));if(d.length){b=aj("#__vaadin-style",Ei);if(0==b.c.length){b=aj("\x3cstyle id\x3d'__vaadin-style' language\x3d'text/css'\x3e\x3c/style\x3e",Ei);var e=aj("head",Ei),f=O(y(ib,1),h,0,2,[]),g,l,n,p,q,r;q=Oi(null);0==f.length&&(f=e.c);g=0;for(n=f.length;g<n;g++)for(e=f[g],9==e.nodeType&&(e=e.body),l=0,r=b.c.length;l<r;l++)p=uj(b,l),0<g&&(p=p.cloneNode(!0)),Ui(q,e.appendChild(p)),Bj(), -Bj();Ul(q)>=b.c.length&&nj(b,q)}My(a,b,d);Ty(b,this.a)}};w(295);function Wy(a,b,d){this.b=a;this.c=b;this.a=d}s(296,1,{},Wy);_._=function(){var a;(a=this.b[0])&&fj(a,"styleSheet");return this.b&&0<this.b.length?(Zi($i(O(y(z,1),h,1,3,[(G(),"Theme fully loaded: "+this.c)]))),this.a&&this.a.Jb(),!1):!0};w(296);function Ly(a){this.a=a;ti.call(this)}s(297,6,ta,Ly); -_.Jb=function(){var a,b;a=aj("\x3ca\x3e",uj(this.a,0));b=null!=Nj((G(),new V(this.g)),"href")?"href":"src";var d=tj(new V(this.g),b),e,f,g,l;f=a.c;g=0;for(l=f.length;g<l;++g)(e=f[g])&&ej(e,"href",d);d=new V(this.g);a=0==a.c.length?null:Oj(uj(a,0),"href");e=(!ek&&(ek=new Kk),d);var n,d=Ad("type",b)?(Sk(),!Vk&&(Vk=new Uk),Sk(),Vk):"id"===b?(!Rk&&(Rk=new Qk),Rk):"value"===b?(!Xk&&(Xk=new Wk),Xk):Jk.test(b)?(!Pk&&(Pk=new Nk),Pk):(!Mk&&(Mk=new Lk),Mk);if(d.Xb(a))for(d=(!(G(),ek)&&(ek=new Kk),e).c,e=0, -f=d.length;e<f;++e)a=d[e],1==a.nodeType&&(Ri(a,b)&&(Jk.test(b)?a[b]=!1:a[b]=null),a.removeAttribute(b));else for(f=e.c,g=0,l=f.length;g<l;++g)e=f[g],n=e.nodeType,3!=n&&8!=n&&2!=n&&d.Yb(e,b,a)};w(297);function Ny(){}s(298,528,{},Ny);_.Sb=function(a){a=tj((G(),new V(a)),"href");return ol(a,"^(|.*/)(vaadin-[\\w\\-]+)\\.html")};w(298);function Oy(){}s(299,528,{},Oy);_.Sb=function(a){a=tj((G(),new V(a)),"src");return ol(a,"^.*\\.nocache.js.*")};w(299);function Py(){}s(300,528,{},Py); -_.Sb=function(a){a=tj((G(),new V(a)),"src");return bj(a.substr(a.length-20,20),"vaadin-components.js")};w(300);function az(a){a.r=a.e.j.Yc();xy(a,a.r)} -function xy(a,b){var d,e;e=(Ho(),$wnd.location.search);if(!Zo||Yo!==e){var f,g,l,n,p,q,r,u;r=new Lg;if(null!=e&&1<e.length)for(g=e.substr(1,e.length-1),g=wl(g,"\x26",0),p=0,q=g.length;p<q;++p)if(l=g[p],n=wl(l,"\x3d",2),l=n[0],l.length){n=1<n.length?n[1]:"";try{if(null==n)throw new xg("encodedURLComponent cannot be null");n=(f=/\+/g,decodeURIComponent(n.replace(f,"%20")))}catch(B){if(B=H(B),!t(B,56))throw I(B);}u=r.Qe(l);u||(u=new C,r.Re(l,u));u.Cd(n)}for(g=r.Pe().vc();g.Gc();)f=g.Hc(),f.af(wx(f._e())); -Zo=r=(R(),new bz(r));Yo=e}null!=(d=Zo.Qe("resize"),d?d.Ed(d.Yc()-1):null)&&0<b&&(a.r=b,d=(Cu(),Du),Tu(a.e.o,d),Su(a.e.o,10>b?b:10))}function cz(a){a.e||(a.a=!0,dz(a));return a.e} -function dz(a){var b,d,e,f,g,l,n,p,q,r,u;if(a.a){a.a=!1;g=a.e.j;for(t(a.e.G,104)&&bj(tj(Wi(a),"selectionMode"),"multi")?Sw(a.e,(mx(),Zx)):t(a.e.G,105)&&!bj(tj(Wi(a),"selectionMode"),"multi")&&Sw(a.e,(mx(),nx));0<a.f.b.length;){b=a.e;if((e=a.f.Xe(0))&&e==b.F)throw new D("The selection column may not be removed manually.");Lw(b,e)}if(a.b){n=0;for(q=a.b.Yc();n<q;n++){b=a.b.Ed(n);e=(u=RegExp("\\{\\{data\\}\\}","ig"),new ez(new fz(b,u),b,n));p=d=a.e;l=e;d=d.f.b.length;if(l==p.F)throw new D("The selection column many not be added manually"); -if(p.F&&0==d)throw new X("A column cannot be inserted before the selection column");yw(p,l,d);Ob(a.f,e);for(p=0;p<gz(b).a.length;p++){a.e.r.d.b.length<gz(b).a.length&&jx(a.e.r);l=hz(gz(b),p);for(d=f=0;d<=p+f;d++)r=ux(a.e.r,d),1!=Ww(r,Fw(a.e,n)).a&&++f;f=d=Ww(ux(a.e.r,p+f),e);r=v(gk(l.a,"colSpan"));if(1>r)throw new D("Colspan cannot be less than 1");f.a=r;Zw(f.c);f=fj(l.a,"content");l=W(l.a,"format");iz();switch(Md((jz(),kz),l).b){case 1:d.b=f;d.d=(Xw(),fy);Zw(d.c);break;case 2:l=d;l.b=f;l.d=(Xw(), -Yw);Zw(l.c);break;case 0:l=d,l.b=f,l.d=(Xw(),Lx),Zw(l.c)}}}u=ux(a.e.r,a.g);kx(a.e.r,u)}a.ue();a.t&&!a.t.Fd()&&(g=new ct(a.t));g&&Pw(a.e,g);g=oj(a.e);a=new lz(a);jy();u=g.style;u=(K(),u).position;bj(u,(Se(),Te))&&(g.style.position="relative");b=ky.Qe(g);b||(b=new Dg,ky.Re(g,b));ly.Qe(g)||(u=(T(),M()),cd(u,"v-resize-helper"),e=M(),cd(e,"v-resize-helper-expand"),n=M(),e.appendChild(n),u.appendChild(e),e=M(),cd(e,"v-resize-helper-contract"),u.appendChild(e),ly.Re(g,u),g.appendChild(u),Pb(new yy(g),1)); -b.Cd(a)}}function mz(){this.le()}s(180,524,{556:1},mz);_.le=Un;_.me=function(){az(this)};_.ne=function(a){xy(this,a)};_.attachedCallback=function(){this.re();this.we()};_.attributeChangedCallback=function(){this.n||this.we()}; -_.createdCallback=function(){this.s=(zy(),By.createElement("style"));this.s.setAttribute("language","text/css");this.o=By.createEvent("HTMLEvents");this.o.initEvent("select",!1,!1);this.o.srcElement=this;this.d=By.createElement("div");this.b=new C;this.t=new C;this.f=new C;this.e=new ax;In(this.e,this,(bu(),bu(),cu))};_.oe=nz; -_.getColumns=function(){var a,b;if(this.c)for(a=0,b=this.c.length;a<b;a++)Vy(this.c[a]);a=(!U&&(U=new xi),yi(wk));mk(a,"columns",this.b.Kd(F(Ek,h,509,0,0)));this.c=fj(a.a,"columns");a=0;for(b=this.c.length;a<b;a++)Uy(this.c[a],new oz(this));return this.c};_.getDataSource=function(){return ob()};_.pe=function(){return cz(this)};_.getHeightMode=function(){var a=this.e.o.q;return null!=a.a?a.a:""+a.b};_.getRowCount=ar; -_.getSelectedRow=function(){return this.e&&this.e.G&&t(this.e.G,124)&&null!=Iw(this.e)?this.e.j.Vc(Iw(this.e)):-1};_.getSelectedRows=function(){var a;if(!this.q){!this.p&&(this.p=[]);this.p.length=0;a=this.e.G.Qd();for(a=a.vc();a.Gc();){var b=this.p,d=this.e.j.Vc(a.Hc());b[b.length]=d}Vy(this.p);Uy(this.p,new pz(this))}return this.p};_.getTheme=qz;_.qe=function(){dz(this)}; -_.re=function(){var a;if(!this.i){a=vj(Wi(this));var b,d,e,f,g,l;e=a.c;f=0;for(g=e.length;f<g;++f)d=e[f],b=dl((!fk&&(fk=(!lj&&(lj=new mj),fl(),zl)),fk),d,"display",!1),l=Wj(d,"old-display",null),null==l&&0!=b.length&&"none"!==b&&Wj(d,"old-display",b);b=a.c;e=0;for(f=b.length;e<f;++e)d=b[e],g=(Zd(),"none"),d.style.display=g;a=pj(a,(am(),bm));d=(!U&&(U=new xi),yi(pk));d.a.attributes=!0;d.a.characterData=!0;d.a.childList=!0;d.a.subtree=!0;d=d.a;e=a.c;f=0;for(g=e.length;f<g;++f)b=e[f],fm(b,d,this);this.k= -a}this.i||(this.i=!0,a=Uj(Wi(this)),!a&&(a=Uj(Am(pj(Wi(this),(G(),Ii))))),In(a,this,(!mg&&(mg=new ig),mg)),(dg(),Ad("true",Jy(this,"shadow","false"))?eg:fg).a?(a=this.createShadowRoot(),a.appendChild(this.s),a.appendChild(this.d)):(this.appendChild(this.s),this.appendChild(this.d)),a=Uj(Am(pj(Wi(this.d),(G(),Ii)))),a.sc(this.e))};_.jsPropertyColumns=Un;_.jsPropertyDataSource=Un;_.jsPropertyHeight=Un;_.jsPropertyHeightMode=Un;_.jsPropertyRowCount=Un;_.jsPropertySelectedRow=Un; -_.jsPropertySelectedRows=Un;_.jsPropertyTheme=Un;_.se=function(){this.t&&!this.t.Fd()&&Pw(this.e,new ct(this.t))}; -_.te=function(){var a,b,d,e,f,g,l,n,p,q,r,u;a=Kj(this.k,O(y(hb,1),h,2,4,["thead tr"]));e=Tj(a);if(0!=a.c.length&&e!==this.j){this.j=e;e=new C;p=new Lg;a:{n=uj(Kj(this.k,O(y(hb,1),h,2,4,["tr[default]"])),0);l=0;b=a.c;f=0;for(g=b.length;f<g;++f){d=b[f];if(d==n){n=l;break a}++l}n=-1}this.g=n;-1==this.g&&(this.g=0);for(b=0;b<a.c.length;b++)for(d=yj(new V(uj(a,b)));e.b.length<d.c.length;)n=(!U&&(U=new xi),yi(Ek)),p.Re(n,new C),e.b[e.b.length]=n;for(r=0;r<a.c.length;r++)for(d=yj(new V(uj(a,r))),u=f=0;u< -d.c.length;u++)n=(Pc(u+f,e.b.length),e.b[u+f]),q=(!U&&(U=new xi),yi(Gk)),b=new V(uj(d,u)),rz(n,0==b.c.length?"":id(uj(b,0),"name")),g=1,l=0==b.c.length?"":id(uj(b,0),"colspan"),l.length&&(g=pr(l),f+=g-1),q.a.colSpan=g,sz(tz(q,0==b.c.length?"":ld(uj(b,0)))),p.Qe(n).Cd(q);f=Hj(new Ij(p));ij(Kj(this.k,O(y(hb,1),h,2,4,["div[v-wc-container]"])),!0);a=Kj(this.k,O(y(hb,1),h,2,4,["tr[template] td"]));for(b=0;f.a.Gc();b++)n=Jj(f),uz(n,p.Qe(n)),b<a.c.length&&(d=Lj(new V(uj(a,b))),jk(n.a,"template",d));this.a= -!0;this.b=e}};_.ue=function(){var a,b,d,e,f,g;b=Kj(this.k,O(y(hb,1),h,2,4,["tbody tr:not([template])"]));if(0!=b.c.length)for(this.ye(),e=b.c,f=0,g=e.length;f<g;++f)for(a=e[f],b=[],this.t.Cd(b),a=Kj((G(),new V(a)),O(y(hb,1),h,2,4,["td"])),d=0;d<a.c.length;d++){var l=Lj(new V(uj(a,d)));b[b.length]=l}};_.ub=su;_.onAttachOrDetach=Xa(_.ub);_.onMutation=function(){this.we()}; -_.Pd=function(){this.n||(this.n=!0,this.dispatchEvent(this.o),this.setAttribute("selectedRow",""+(0>this.selectedRow?"":E(this.selectedRow))),this.n=!1)};_.onSelect=Xa(_.Pd);_.wb=su;_.onValueChange=Xa(_.wb); -_.ve=function(){var a,b,d,e;a=this.getAttribute("dataSource");e=/\{\{\s*(\w+)\s*\}\}/;if(d=e.exec(a))b=Oj((G(),qc),d[1]),Pi(b)?(a=this.getAttribute("rowCount"),(d=e.exec(a))&&(a=""+Oj(qc,d[1])),null!=a&&ol(a,"[\\d\\.\\+]+")&&(this.rowCount=E(pr(a)).a),this.dataSource=b):Ti(b)?(this.t=vz((!U&&(U=new xi),yi(wk)).Rb("values",b)),this.se()):Zi($i(O(y(z,1),h,1,3,["Unknown type of datasource: "+b])))}; -_.we=function(){var a,b;Sy(this.d,this,this.s,new wz);this.te();this.ue();dz(this);this.ve();this.selectedRow=v(Hy(this,"selectedRow",-1));a=Jy(this,"type",null);b=Jy(this,"url",null);"ajax"===a&&null!=b&&(a={},ej(a,"url",b),this.dataSource=a)};_.redraw=function(){var a,b;a=this.e.o;b=a.k;b.f=!0;b.Vd();b=a.g;b.f=!0;b.Vd();b=a.a;b.f=!0;b.Vd();a=a.d;for(b=0;b<a.a.b.length;b++)kw(a,b,(lw(a,b),fs(a.a,b).b))}; -_.refresh=function(){var a;if(t(this.e.j,61)){a=this.selectedRow;var b=this.e.j,d=b.b;b.r=d;Pq(b,b.e);b.e=$(0,0);var b=b.j,e,f;e=b.a.o.a;f=e.n;d>f?gt(e,f,d-f):d<f&&it(e,d,f-d);0<d&&(b.a.i=!0,d=Ju(b.a.o),b.b.Rc(d.b,d.a-d.b));0<a&&(this.n=!0,Wi(this).Ob(5,O(y(ui,1),h,6,0,[new xz(this,a)])))}else this.e.j&&Pw(this.e,this.e.j)};_.xe=function(a){this.a=!0;this.b=a};_.setColumnWidth=function(a,b){Fw(this.e,a).je(b)}; -_.setColumns=function(a){this.a=!0;var b=(!U&&(U=new xi),yi(wk)).Rb("columns",a),d,e,f,g;a=Ql(b.a,"columns");a=F(Ek,h,509,a?a.length:0,0);b=Ql(b.a,"columns");f=a.length;for(d=0;d<f;d++)g=fj(b,E(d)),e=new Fk,a[d]=zi(e,g);this.b=new Yi(a)};_.setDataSource=function(a){if(Pi(a))Pw(this.e,new yz(a,this.r,this));else if(Ti(a))this.te(),Pw(this.e,new zz(a,this));else if(null!=(a?fj(a,"url"):null))this.te(),new Az(a,this);else throw new ec("Unknown jso: "+a);};_.setHeight=function(a){Qu(this.e.o,a)}; -_.setHeightMode=function(a){a=(Cu(),Md((Bz(),Cz),a));Tu(this.e.o,a)};_.setRowCount=function(a){this.r=v(a);xy(this,this.r)};_.setSelectedRow=function(a){0>a||a>=this.e.j.Yc()?0<=this.selectedRow&&St(this.e,this.e.j.Tc(this.selectedRow)):tt(this.e,this.e.j.Tc(a));(eb(this)||this.tM===Ua?this.Pd:this.onSelect).bind(this)(null)};_.setSelectedRows=function(a){var b;a!=this.p&&Vy(this.p);this.p=a;this.q=!0;this.e.G.Td();a=0;for(b=this.p.length;a<b;a++)tt(this.e,this.e.j.Tc(this.p[a]));this.q=!1}; -_.setTheme=Dz;_.ye=function(){var a=new C;this.a=!0;this.t=a};_.a=!0;_.g=0;_.i=!1;_.j=null;_.n=!1;_.q=!1;_.r=0;w(180);function lz(a){this.a=a}s(181,1,{},lz);w(181);function fz(a,b){this.a=a;this.b=b}s(182,1,{},fz); -_.cd=function(a,b){var d,e;e=Tl(this.a.a,"renderer");d=a.a.c;if(e)if(Pi(e))Vl(e,"call",O(y(z,1),h,1,3,[e,d,b,a.e.a]));else{var f=(G(),new V(d));if(null==(0==f.c.length?null:Wj(uj(f,0),"init",null))){var g=new V(d),f=(dg(),dg(),eg),l,n,p;l=g.c;n=0;for(p=l.length;n<p;++n)g=l[n],Wj(g,"init",f);Vl(e,"init",O(y(z,1),h,1,3,[d]))}Vl(e,"render",O(y(z,1),h,1,3,[d,b]))}else null!=W(this.a.a,"template")?(e=W(this.a.a,"template").replace(this.b,""+b),d.innerHTML=e||""):d.innerHTML=""+b||""};w(182); -function ez(a,b,d){this.a=b;this.b=d;Mx(this,a)}s(183,126,{},ez);_.ie=function(a){var b;b=fj(this.a.a,"value");pb(b)&&Pi(b)?a=Vl(b,"call",O(y(z,1),h,1,3,[b,a,E(this.b)])):eb(b)?a=a?fj(a,b):null:Ti(a)?(b=this.b,a=null!=a[b]?Object(a[b]):null):(b=Sj(a)[this.b],a=fj(a,""+b));return a};_.b=0;w(183);function wz(){ti.call(this)}s(184,6,ta,wz);_.Jb=function(){Zi($i(O(y(z,1),h,1,3,[(G(),"LOADED...")])))};w(184);function xz(a,b){this.a=a;this.b=b;ti.call(this)}s(185,6,ta,xz); -_.Jb=function(){this.a.selectedRow=this.b;this.a.n=!1};_.b=0;w(185);function oz(a){this.a=a}s(186,1,{19:1},oz);_.mc=function(){this.a.refresh()};w(186);function pz(a){this.a=a}s(187,1,{19:1},pz);_.mc=function(){this.a.selectedRows=this.a.p};w(187);function Ez(){this.ze()}s(178,523,{},Ez);_.ze=Un;_.attachedCallback=function(){this.Ae()};_.attributeChangedCallback=function(){this.Be()}; -_.createdCallback=function(){this.e=(zy(),By.createElement("style"));this.d=new Er;this.a=By.createEvent("HTMLEvents");this.a.initEvent("change",!1,!1);this.a.srcElement=this;this.b=By.createElement("div");this.b.setAttribute("v-wc-container","");this.Be()};_.getTheme=qz;_.getValue=Wx;_.Ae=Fz;_.jsPropertyTheme=Un;_.jsPropertyValue=Un;_.ub=su;_.onAttachOrDetach=Xa(_.ub);_.Be=function(){Dr(this.d,Hy(this,"value",0));Sy(this.b,this,this.e,null)};_.setTheme=Dz;_.setValue=function(a){Dr(this.d,a)}; -_.c=!1;w(178);function Gz(){this.Ce()}s(179,523,{},Gz);_.Ce=Un;_.attachedCallback=function(){this.De();var a=this.d,b;a.b.style.height="";b=(T(),a.O);$c((K(),b))&&(b=Zc(a.O),50<md(b,"offsetWidth")?a.b.style.width="":(a.b.style.width=(Q(),"50.0px"),vh((Cc(),Dc),new Nr(a))));vh((Cc(),Dc),new Or(a))};_.attributeChangedCallback=function(){this.Ee()}; -_.createdCallback=function(){this.e=(zy(),By.createElement("style"));this.d=new Jr;In(this.d,this,(!vg&&(vg=new ig),vg));this.a=By.createEvent("HTMLEvents");this.a.initEvent("change",!1,!1);this.a.srcElement=this;this.b=By.createElement("div");this.Ee()};_.getTheme=qz;_.getValue=function(){return this.d.r.a};_.De=Fz;_.jsPropertyTheme=Un;_.jsPropertyValue=Un;_.ub=su;_.onAttachOrDetach=Xa(_.ub); -_.wb=function(a){a=""+a.a.a;bj(a,this.getAttribute("value"))||(this.setAttribute("value",a),this.dispatchEvent(this.a),this.value=(new Hz(a)).a)};_.onValueChange=Xa(_.wb);_.Ee=function(){Sy(this.b,this,this.e,null);var a=Hy(this,"min",0);this.d.n=a;a=Hy(this,"max",100);this.d.k=a;Fr(this.d,new S(Hy(this,"value",0)))};_.setTheme=Dz;_.setValue=function(a){Fr(this.d,new S(a))};_.c=!1;w(179);var wk=yb(),yk=yb(),Ak=yb(),Ck=yb(),Ek=yb(),Gk=yb(); -function iz(){iz=m;Iz=new Jz("TEXT",0);Kz=new Jz("HTML",1);Lz=new Jz("WIDGET",2)}function Jz(a,b){N.call(this,a,b)}s(68,4,{68:1,3:1,5:1,4:1},Jz);var Kz,Iz,Lz,Mz=x(68,function(){iz();return O(y(Mz,1),h,68,0,[Iz,Kz,Lz])});function jz(){jz=m;kz=Ld((iz(),O(y(Mz,1),h,68,0,[Iz,Kz,Lz])))}var kz; -function Nz(a,b,d){d=(!U&&(U=new xi),yi(wk)).Rb("values",d);d=vz(d);var e,f,g;e=$(b,d.a.length);a.i&&(Bb(),a.i=null);f=Oq(a);f=Nq(e,f)[1];if(f.b<f.a){for(e=f.b;e<f.a;e++)g=(Pc(e-b,d.a.length),d.a[e-b]),a.k.Re(E(e),g),a.n.Re(a.Fe(g),E(e));a.j&&Zq(a.j.a.o.a,f.b,f.a-f.b);if(Yq(a.e))a.e=f;else if(Mq(a),Yq(a.e))a.e=f;else{b=a.e;if(b.b>f.a||f.b>b.a)throw new D("There is a gap between "+b+" and "+f);b=new Uq(ac(b.b,f.b),Wb(b.a,f.a));a.e=b}$q(a.j,a.e.b,Sq(a.e));for(d=new Gg(d);d.b<d.d.Yc();)b=(J(d.b<d.d.Yc()), -d.d.Ed(d.c=d.b++)),f=a.Fe(b),(f=a.p.Qe(f))&&(f.b=b)}Qq(a)}function Oz(a,b,d,e,f){if(0<f.length){if(!(Ti(f[0])||e&&!e.Fd())){var g=f[0],l,n,p,q;e=new C;l=Sj(g);n=0;for(p=l.length;n<p;++n)g=l[n],q=new C,Ob(q,Pz(sz(tz((!U&&(U=new xi),yi(Gk)),g)))),Ob(e,uz(rz((!U&&(U=new xi),yi(Ek)),g),q));a.c&&(g=a.c,g.a=!0,g.b=e,dz(a.c))}Nz(a,b,f.slice(b,b+d))}} -function Qz(a){this.q=new Uq(0,0);this.e=new Uq(0,0);this.k=new Lg;this.n=new Lg;this.d=new fr;this.g=new br(this);this.o=new Lg;this.p=new Lg;R();this.b=300;this.c=a}s(61,284,Ma);_.Fe=jq;_.Uc=function(a){return this.Fe(a)};_.Yc=nz;_.b=0;w(61);function Dk(){this.a={}}s(163,43,{44:1,45:1,559:1},Dk);w(163);function Bk(){this.a={}}s(457,43,ua,Bk);w(457);function zk(){this.a={}}s(456,43,ua,zk);w(456);function Pz(a){a.a.colSpan=1;return a}function tz(a,b){jk(a.a,"content",b);return a} -function sz(a){var b=(iz(),Kz);jk(a.a,"format",null!=b.a?b.a:""+b.b);return a}function Hk(){this.a={}}s(165,43,{44:1,45:1,510:1},Hk);w(165);function gz(a){var b,d,e,f,g;b=Ql(a.a,"headerData");b=F(Gk,h,510,b?b.length:0,0);a=Ql(a.a,"headerData");f=b.length;for(d=0;d<f;d++)g=fj(a,E(d)),e=new Hk,b[d]=zi(e,g);return new Yi(b)}function uz(a,b){mk(a,"headerData",b.Kd(F(Gk,h,510,0,0)));return a}function rz(a,b){jk(a.a,"value",b);return a}function Fk(){this.a={}}s(164,43,{44:1,45:1,509:1},Fk);w(164); -function vz(a){var b;b=Ql(a.a,"values");b=F(ib,h,0,b?b.length:0,2);var d=ib,e,f,g,l;a=Ql(a.a,"values");g=b.length;for(f=0;f<g;f++)l=fj(a,E(f)),e=ab(l),e==d&&(b[f]=l);return new Yi(b)}function xk(){this.a={}}s(455,43,ua,xk);w(455);function Rz(a,b,d,e){return a(b,d,function(a){e.Y(a)})}function yz(a,b,d){Qz.call(this,d);this.a=a;this.b=b}s(290,61,Ma,yz);_.Fe=function(a){return $wnd.JSON.stringify(a)};_.Wc=function(a,b){var d;(d=Rz(this.a,a,b,new Sz(this,a)))&&Nz(this,a,d)};w(290); -function Sz(a,b){this.a=a;this.b=b}s(291,1,{},Sz);_.cc=su;_.Y=function(a){Nz(this.a,this.b,a)};_.b=0;w(291);function zz(a,b){Qz.call(this,b);this.a=a;this.b=a.length}s(292,61,Ma,zz);_.Wc=function(a,b){Oz(this,a,b,this.c.b,this.a)};w(292); -function Tz(a,b,d){var e,f,g,l,n;e=Qy(Qy(W(a.a.a,"url"),"{START}",""+b),"{LENGTH}",""+d);Zi($i(O(y(z,1),h,1,3,[(G(),e)])));Dm();f=(!U&&(U=new xi),yi(uk));jk(f.a,"url",e);jk(f.a,"dataType","txt");jk(f.a,"type","post");jk(f.a,"data",null);g=W(f.a,"url");l="POST";null!=W(f.a,"type")&&(l=W(f.a,"type").toUpperCase());Ad("jsonp",W(f.a,"dataType"))&&(l="GET");jk(f.a,"type",l);if(l=(!Tl(f.a,"data")&&jk(f.a,"data",{}),Tl(f.a,"data"))){if("[object FormData]"==Object.prototype.toString.call(l))n=null,l="application/x-www-form-urlencoded"; -else if(ol(W(f.a,"type"),"(POST|PUT)")&&Ad("json",W(f.a,"dataType")))n=$wnd.JSON.stringify(l),l="application/json; charset\x3dutf-8";else{var p,q,r,u,B,P,ya,Aa;Aa="";q=Sj(l);r=0;for(u=q.length;r<u;++r)if(n=q[r],Aa+=Aa.length?"\x26":"",P=Ql(l,""+n))for(p=0,B=Ul(P);p<B;p++)Aa+=0<p?"\x26":"",(ya=Tl(P,E(p)))?Aa+=n+"[]\x3d"+$wnd.JSON.stringify(ya):Aa+=n+"[]\x3d"+nd(P,E(p));else(ya=Tl(l,""+n))?Aa+=n+"\x3d"+$wnd.JSON.stringify(ya):(p=nd(l,""+n),null!=p&&p.length&&!Ad("null",p)&&(Aa+=n+"\x3d"+p));n=Aa;l= -"application/x-www-form-urlencoded"}jk(f.a,"dataString",n);jk(f.a,"contentType",l)}"GET"===W(f.a,"type")&&null!=W(f.a,"dataString")&&(g+=(-1!=g.indexOf("?")?"\x26":"?")+W(f.a,"dataString"),jk(f.a,"url",g));if(g=ik(f.a,"success"))l=Tl(f.a,"context"),g.g=l;if(l=ik(f.a,"error"))n=Tl(f.a,"context"),l.g=n;n=W(f.a,"dataType");Ad("jsonp",n)?f=(!Ai&&(Ai=new Jm),new on(W(f.a,"url"),v(gk(f.a,"timeout")))):Ad("loadscript",n)?f=(!Ai&&(Ai=new Jm),new Rm(f)):(!Ai&&(Ai=new Jm),f=new gn(f),q=O(y(ui,1),h,6,0,[new Hm(n), -new Im]),n=new Pm,Km(f,O(y(ui,1),h,6,0,[new dn(n,q,0)])),r=O(y(ui,1),h,6,0,[new dn(n,q,1)]),Lm(f.c.c,r),q=O(y(ui,1),h,6,0,[new dn(n,q,2)]),Lm(f.c.a,q),f=(!n.b&&(n.b=new Qm(n)),n.b));g&&Km(f,O(y(ui,1),h,6,0,[g]));l&&(g=O(y(ui,1),h,6,0,[l]),Lm(f.c.c,g));a=Km(f,O(y(ui,1),h,6,0,[new Uz(a,d,b)]));e=O(y(ui,1),h,6,0,[new Vz(e)]);Lm(a.c.c,e)}function Az(a,b){Qz.call(this,b);this.a=(!U&&(U=new xi),yi(yk)).Qb(a);Tz(this,0,0)}s(285,61,Ma,Az);_.Wc=function(a,b){Tz(this,a,b)};w(285); -function Uz(a,b,d){this.a=a;this.c=b;this.b=d;ti.call(this)}s(286,6,ta,Uz); -_.Jb=function(){var a,b,d;d=ri(this,0,null);d=(!U&&(U=new xi),yi(Ak)).Wb(d);this.a.b=v(gk(d.a,"size"));var e,f,g,l;b=Ql(d.a,"columns");g=F(Ck,h,559,b?b.length:0,0);b=Ql(d.a,"columns");f=g.length;for(e=0;e<f;e++)l=fj(b,E(e)),a=new Dk,g[e]=zi(a,l);a=new Yi(g);b=this.a.c.b;if(!(a.Fd()||b&&!b.Fd())){b=this.a;e=new C;for(f=new Gg(a);f.b<f.d.Yc();)a=(J(f.b<f.d.Yc()),f.d.Ed(f.c=f.b++)),g=new C,Ob(g,Pz(sz(tz((!U&&(U=new xi),yi(Gk)),W(a.a,"title"))))),Ob(e,uz(rz((!U&&(U=new xi),yi(Ek)),W(a.a,"name")),g)); -b.c&&(a=b.c,a.a=!0,a.b=e,dz(b.c));b=e}0==this.c?Pw(cz(this.a.c),this.a):(d=Tl(d.a,"data"),Oz(this.a,this.b,this.c,b,d));az(this.a.c)};_.b=0;_.c=0;w(286);function Vz(a){this.a=a;ti.call(this)}s(287,6,ta,Vz);_.Jb=function(){var a="Error getting datasources "+this.a;Ho();$wnd.alert(a)};w(287); -function Wz(a,b){a.q=-1;a.r=-1;if(1<=b.length)try{a.q=pr(b[0])}catch(d){if(d=H(d),!t(d,12))throw I(d);}if(2<=b.length){try{a.r=pr(b[1])}catch(e){if(e=H(e),!t(e,12))throw I(e);}if(-1==a.r&&-1!=b[1].indexOf("-"))try{var f,g=Dn(b[1],En(45));f=b[1].substr(0,g);a.r=pr(f)}catch(l){if(l=H(l),!t(l,12))throw I(l);}}} -function Xz(a,b){var d,e;d=Dn(b,En(46));0>d&&(d=b.length);a.a=pr(Yz(b,0,d));e=En(46);e=b.indexOf(e,d+1);0>e&&(e=b.length);try{a.b=pr(ml(Yz(b,d+1,e),"[^0-9].*",""))}catch(f){if(f=H(f),!t(f,62))throw I(f);}}function Yz(a,b,d){0>b&&(b=0);(0>d||d>a.length)&&(d=a.length);return a.substr(b,d-b)} -function Eq(a){var b,d,e,f,g;a=a.toLowerCase();this.e=-1!=a.indexOf("gecko")&&-1==a.indexOf("webkit")&&-1==a.indexOf("trident/");a.indexOf(" presto/");this.n=-1!=a.indexOf("trident/");this.o=!this.n&&-1!=a.indexOf("applewebkit");this.c=-1!=a.indexOf(" chrome/");this.j=-1!=a.indexOf("opera");this.f=(this.f=-1!=a.indexOf("msie")&&!this.j&&-1==a.indexOf("webtv"))||this.n;this.k=!this.c&&!this.f&&-1!=a.indexOf("safari");this.d=-1!=a.indexOf(" firefox/");a.indexOf("chromeframe");try{this.e?(e=a.indexOf("rv:"), -0<=e&&(f=a.substr(e+3,a.length-(e+3)),f=Ry(f,"(\\.[0-9]+).+","$1"),Zz(f))):this.o?(f=rd(a,a.indexOf("webkit/")+7),f=Ry(f,"([0-9]+)[^0-9].+","$1"),Zz(f)):this.f&&(g=a.indexOf("trident/"),0<=g&&(f=a.substr(g+8,a.length-(g+8)),f=Ry(f,"([0-9]+\\.[0-9]+).*","$1"),Zz(f)))}catch(l){if(l=H(l),!t(l,12))throw I(l);}try{this.f?-1==a.indexOf("msie")?(e=a.indexOf("rv:"),0<=e&&(f=a.substr(e+3,a.length-(e+3)),f=Ry(f,"(\\.[0-9]+).+","$1"),Xz(this,f))):(d=rd(a,a.indexOf("msie ")+5),d=Yz(d,0,d.indexOf(";")),Xz(this, -d)):this.d?(b=a.indexOf(" firefox/")+9,Xz(this,Yz(a,b,b+5))):this.c?(b=a.indexOf(" chrome/")+8,Xz(this,Yz(a,b,b+5))):this.k?(b=a.indexOf(" version/")+9,Xz(this,Yz(a,b,b+5))):this.j&&(b=a.indexOf(" version/"),-1!=b?b+=9:b=a.indexOf("opera/")+6,Xz(this,Yz(a,b,b+5)))}catch(n){if(n=H(n),!t(n,12))throw I(n);}if(-1!=a.indexOf("windows "))this.p=1,a.indexOf("windows phone");else if(-1!=a.indexOf("android"))this.p=5,-1!=a.indexOf("android")&&(a=Yz(a,a.indexOf("android ")+8,a.length),a=Yz(a,0,a.indexOf(";")), -a=wl(a,"\\.",0),Wz(this,a));else if(-1!=a.indexOf("linux"))this.p=3;else if(-1!=a.indexOf("macintosh")||-1!=a.indexOf("mac osx")||-1!=a.indexOf("mac os x"))this.g=-1!=a.indexOf("ipad"),this.i=-1!=a.indexOf("iphone"),this.g||-1!=a.indexOf("ipod")||this.i?(this.p=4,-1!=a.indexOf("os ")&&-1!=a.indexOf(" like mac")&&(a=Yz(a,a.indexOf("os ")+3,a.indexOf(" like mac")),a=wl(a,"_",0),Wz(this,a))):this.p=2}s(443,1,h,Eq);_.a=-1;_.b=-1;_.c=!1;_.d=!1;_.e=!1;_.f=!1;_.g=!1;_.i=!1;_.j=!1;_.k=!1;_.n=!1;_.o=!1; -_.p=0;_.q=-1;_.r=-1;w(443);function Xw(){Xw=m;Lx=new $z("TEXT",0);fy=new $z("HTML",1);Yw=new $z("WIDGET",2)}function $z(a,b){N.call(this,a,b)}s(80,4,{80:1,3:1,5:1,4:1},$z);var fy,Lx,Yw,aA=x(80,function(){Xw();return O(y(aA,1),h,80,0,[Lx,fy,Yw])});function Cu(){Cu=m;Ru=new bA("CSS",0);Du=new bA("ROW",1)}function bA(a,b){N.call(this,a,b)}s(79,4,{79:1,3:1,5:1,4:1},bA);var Ru,Du,cA=x(79,function(){Cu();return O(y(cA,1),h,79,0,[Ru,Du])});function Bz(){Bz=m;Cz=Ld((Cu(),O(y(cA,1),h,79,0,[Ru,Du])))}var Cz; -function jt(a,b){return a.b<=b&&b<a.a}function Jx(a,b){return a===b?!0:null==b||dA!=ab(b)||a.a!=b.a||a.b!=b.b?!1:!0}function cr(a,b){return a.b<b.a&&b.b<a.a}function Yq(a){return a.b>=a.a}function Sq(a){return a.a-a.b}function Tw(a,b){return 0==b?a:new Uq(a.b+b,a.a+b)}function Nq(a,b){var d,e,f;f=eA(a,b.b);e=f[0];d=eA(f[1],b.a);f=d[0];d=d[1];return O(y(dA,1),h,18,0,[e,f,d])} -function Tq(a,b){var d,e,f;f=jt(b,a.b);e=jt(b,a.a);d=a.b<b.b&&a.a>=b.a;return f?e?a:new Uq(a.b,b.a):e?new Uq(b.b,a.a):d?b:$(a.b,0)}function eA(a,b){return b<a.b?O(y(dA,1),h,18,0,[$(a.b,0),a]):b>=a.a?O(y(dA,1),h,18,0,[a,$(a.a,0)]):O(y(dA,1),h,18,0,[new Uq(a.b,b),new Uq(b,a.a)])}function Uq(a,b){if(a>b)throw new D("start must not be greater than end");this.b=a;this.a=b}function $(a,b){if(0>b)throw new D("length must not be negative");return new Uq(a,a+b)}s(18,1,{18:1,3:1},Uq); -_.eQ=function(a){return Jx(this,a)};_.hC=function(){var a;a=31+this.a;return a=31*a+this.b};_.tS=function(){return rb(dA),dA.i+" ["+this.b+".."+this.a+"["+(this.b>=this.a?" (empty)":"")};_.a=0;_.b=0;var dA=w(18);function lt(a,b){return null==a?null==b:db(a,b)}s(103,1,{});_.tS=nk;w(103);function Lh(){dc.call(this,"divide by zero")}s(379,10,da,Lh);w(379);function dg(){dg=m;fg=new yh(!1);eg=new yh(!0)}function Ok(a,b){return t(b,59)&&b.a==a.a}function yh(a){dg();this.a=a}s(59,1,{3:1,59:1,5:1},yh); -_.eQ=function(a){return Ok(this,a)};_.hC=function(){return this.a?1231:1237};_.tS=fA;_.a=!1;var fg,eg,Pl=w(59);function nl(a){var b;if(b=gA,!b&&(b=gA=/^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/),!b.test(a))throw new hA('For input string: "'+a+'"');return parseFloat(a)} -function pr(a){var b,d;if(null==a)throw new hA("null");d=a.length;for(b=0<d&&(45==a.charCodeAt(0)||43==a.charCodeAt(0))?1:0;b<d;b++){var e=a.charCodeAt(b);if(-1==(48<=e&&58>e?e-48:97<=e&&97>e?e-97+10:65<=e&&65>e?e-65+10:-1))throw new hA('For input string: "'+a+'"');}d=parseInt(a,10);b=-2147483648>d;if(isNaN(d))throw new hA('For input string: "'+a+'"');if(b||2147483647<d)throw new hA('For input string: "'+a+'"');return d}s(51,1,{3:1,51:1});var gA;w(51);function Ol(a){this.a=a} -s(87,51,{3:1,87:1,5:1,51:1},Ol);_.Ge=nk;_.eQ=function(a){return t(a,87)&&a.a==this.a};_.hC=nk;_.tS=fA;_.a=0;var Ll=w(87);function Ml(){Ml=m;Nl=F(Ll,h,87,256,0)}var Nl;function S(a){this.a=a}function Hz(a){this.a=nl(a)}s(15,51,{3:1,5:1,15:1,51:1},S,Hz);_.Ge=nk;_.eQ=function(a){return t(a,15)&&a.a==this.a};_.hC=iA;_.tS=fA;_.a=0;var Sl=w(15);function Bl(a){this.a=a}function Iy(a){this.a=Zz(a)}function Zz(a){a=nl(a);return 3.4028234663852886E38<a?Infinity:-3.4028234663852886E38>a?-Infinity:a} -s(88,51,{3:1,5:1,88:1,51:1},Bl,Iy);_.Ge=nk;_.eQ=function(a){return t(a,88)&&a.a==this.a};_.hC=iA;_.tS=fA;_.a=0;var hk=w(88);function Rg(){Xb(this)}function D(a){dc.call(this,a)}s(8,10,da,Rg,D);w(8);function Vc(){Xb(this)}function X(a){dc.call(this,a)}s(16,10,da,Vc,X);w(16);function fq(){Xb(this)}function Qc(a){dc.call(this,a)}s(28,10,{3:1,12:1,28:1,10:1,13:1},fq,Qc);w(28);function zh(a){this.a=a} -function Wh(a){var b,d;if(0>a)return 0;if(0==a)return 32;b=-(a>>16)>>16&16;d=16-b;a>>=b;b=a-256>>16&8;d+=b;a<<=b;b=a-4096>>16&4;d+=b;a<<=b;b=a-16384>>16&2;d+=b;a=a<<b>>14;b=a&~(a>>1);return d+2-b}function Qh(a){var b,d;if(0==a)return 32;d=0;for(b=1;0==(b&a);b<<=1)++d;return d}function E(a){var b,d;return-129<a&&128>a?(b=a+128,d=(jA(),kA)[b],!d&&(d=kA[b]=new zh(a)),d):new zh(a)}s(76,51,{3:1,5:1,76:1,51:1},zh);_.Ge=nk;_.eQ=function(a){return t(a,76)&&a.a==this.a};_.hC=nk;_.tS=fA;_.a=0;var Cl=w(76); -function jA(){jA=m;kA=F(Cl,h,76,256,0)}var kA;function El(a){this.a=a}s(77,51,{3:1,5:1,77:1,51:1},El);_.Ge=function(){return ci(this.a)};_.eQ=function(a){return t(a,77)&&Xh(a.a,this.a)};_.hC=function(){return di(this.a)};_.tS=function(){return""+ei(this.a)};_.a={l:0,m:0,h:0};var Dl=w(77);function Fl(){Fl=m;Gl=F(Dl,h,77,256,0)}var Gl;function Wb(a,b){return a>b?a:b}function ac(a,b){return a<b?a:b}function Gr(a){return Math.pow(10,a)}function Sc(){Xb(this)}function xg(a){dc.call(this,a)} -s(64,10,da,Sc,xg);w(64);function hA(a){dc.call(this,a)}s(62,8,{3:1,12:1,62:1,10:1,13:1},hA);w(62);function Kl(a){this.a=a}s(78,51,{3:1,5:1,51:1,78:1},Kl);_.Ge=nk;_.eQ=function(a){return t(a,78)&&a.a==this.a};_.hC=nk;_.tS=fA;_.a=0;var Hl=w(78);function Il(){Il=m;Jl=F(Hl,h,78,256,0)}var Jl;function bj(a,b){return a===b}function Ad(a,b){return null==b?!1:a==b?!0:a.length==b.length&&a.toLowerCase()==b.toLowerCase()}function Dn(a,b){return a.indexOf(b)} -function ol(a,b){return RegExp("^("+b+")$").test(a)}function Qy(a,b,d){b=ml(b,"([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])","\\\\$1");d=ml(ml(d,"\\\\","\\\\\\\\"),"\\$","\\\\$");return ml(a,b,d)}function ml(a,b,d){d=lA(d);return a.replace(RegExp(b,"g"),d)}function Ry(a,b,d){d=lA(d);return a.replace(RegExp(b),d)} -function wl(a,b,d){var e=RegExp(b,"g");b=[];for(var f=0,g=a,l=null;;){var n=e.exec(g);if(null==n||""==g||f==d-1&&0<d){b[f]=g;break}else b[f]=g.substring(0,n.index),g=g.substring(n.index+n[0].length,g.length),e.lastIndex=0,l==g&&(b[f]=g.substring(0,1),g=g.substring(1)),l=g,f++}if(0==d&&0<a.length){for(a=b.length;0<a&&""==b[a-1];)--a;a<b.length&&b.splice(a,b.length-a)}a=F(hb,h,2,b.length,4);for(d=0;d<b.length;++d)a[d]=b[d];return a}function rd(a,b){return a.substr(b,a.length-b)} -function qd(a){var b,d,e;d=a.length;for(e=0;e<d&&32>=a.charCodeAt(e);)++e;for(b=d;b>e&&32>=a.charCodeAt(b-1);)--b;return 0<e||b<d?a.substr(e,b-e):a}function lA(a){var b;for(b=0;0<=(b=a.indexOf("\\",b));)36==a.charCodeAt(b+1)?a=a.substr(0,b)+"$"+rd(a,++b):a=a.substr(0,b)+rd(a,++b);return a}function En(a){var b;return a>=Ba?(b=55296+(a-Ba>>10&1023)&65535,a=56320+(a-Ba&1023)&65535,String.fromCharCode(b)+String.fromCharCode(a)):String.fromCharCode(a&65535)}var hb=w(2);function mA(){mA=m;nA={};oA={}} -function jb(a){mA();var b=":"+a,d=oA[b];if(null!=d)return d;d=nA[b];if(null==d){var e,f,g;e=0;f=a.length;g=f-4;for(d=0;d<g;)e=a.charCodeAt(d+3)+31*(a.charCodeAt(d+2)+31*(a.charCodeAt(d+1)+31*(a.charCodeAt(d)+31*e))),e|=0,d+=4;for(;d<f;)e*=31,g=d++,g=a.charCodeAt(g),e+=g;d=e|0}256==pA&&(nA=oA,oA={},pA=0);++pA;return oA[b]=d}var nA,pA=0,oA;function Yc(a,b){a.a+=b;return a}function mh(a,b,d){a.a=a.a.substr(0,b)+""+rd(a.a,d)}function qA(a,b,d){a.a=a.a.substr(0,b)+d+rd(a.a,b)}function qh(){this.a=""} -function Xc(){this.a=""}function Og(a){this.a=a}s(46,103,{555:1},qh,Xc,Og);w(46);function Hn(){Xb(this)}function Wn(a){dc.call(this,a)}s(25,10,{3:1,12:1,10:1,13:1,25:1},Hn,Wn);w(25);function hu(a,b){var d,e,f;Rc(b);d=!1;for(f=Hj(new Ij(b.a));f.a.Gc();)e=Jj(f),d|=a.Cd(e);return d}function rA(a,b,d){var e;for(e=a.vc();e.Gc();)if(a=e.Hc(),qb(b)===qb(a)||null!=b&&db(b,a))return d&&e.Ic(),!0;return!1} -function sA(a,b){var d,e,f;f=a.Yc();b.length<f&&(b=Fh(b,f));e=a.vc();for(d=0;d<f;++d)b[d]=e.Hc();b.length>f&&(b[f]=null);return b}function tA(a){var b,d,e,f;f=new Og("[");b=!1;for(e=a.vc();e.Gc();)d=e.Hc(),b?f.a+=", ":b=!0,f.a+=d===a?"(this Collection)":""+d;f.a+="]";return f.a}s(536,1,{});_.Cd=function(){throw new Wn("Add not supported on this collection");};_.Ne=function(a){return hu(this,a)};_.Dd=function(a){return rA(this,a,!1)};_.Fd=uA;_.Id=function(a){return rA(this,a,!0)}; -_.Jd=function(){return this.Kd(F(z,h,1,this.Yc(),3))};_.Kd=function(a){return sA(this,a)};_.tS=function(){return tA(this)};w(536);function vA(a,b){var d,e,f;d=b.$e();f=b._e();e=a.Qe(d);return!(qb(f)===qb(e)||null!=f&&db(f,e))||null==e&&!a.Oe(d)?!1:!0}function wA(a,b,d){var e,f;for(e=a.Pe().vc();e.Gc();)if(a=e.Hc(),f=a.$e(),qb(b)===qb(f)||null!=b&&db(b,f))return d&&(a=new xA(a.$e(),a._e()),e.Ic()),a;return null}function yA(a,b){return b===a?"(this Map)":""+b}function zA(a){return a?a._e():null} -s(540,1,{93:1});_.Oe=function(a){return!!wA(this,a,!1)};_.eQ=function(a){var b;if(a===this)return!0;if(!t(a,93)||this.Yc()!=a.Yc())return!1;for(b=a.Pe().vc();b.Gc();)if(a=b.Hc(),!vA(this,a))return!1;return!0};_.Qe=function(a){return zA(wA(this,a,!1))};_.hC=function(){return AA(this.Pe())};_.Fd=uA;_.Re=function(){throw new Wn("Put not supported on this map");};_.Se=function(a){return zA(wA(this,a,!0))};_.Yc=function(){return this.Pe().Yc()}; -_.tS=function(){var a,b,d,e;e=new Og("{");a=!1;for(d=this.Pe().vc();d.Gc();)b=d.Hc(),a?e.a+=", ":a=!0,Yc(e,yA(this,b.$e())),e.a+="\x3d",Yc(e,yA(this,b._e()));e.a+="}";return e.a};w(540);function BA(a){CA();a.d=DA.ef();a.d.b=a;a.f=DA.ff();a.f.b=a;a.e=0;EA(a)}s(109,540,{93:1});_.Te=function(){BA(this)};_.Oe=function(a){return eb(a)?null==a?!!FA(this.d,null):void 0!==this.f.hf(a):!!FA(this.d,a)};_.Pe=function(){return new GA(this)}; -_.Qe=function(a){return eb(a)?null==a?zA(FA(this.d,null)):this.f.hf(a):zA(FA(this.d,a))};_.Re=function(a,b){return eb(a)?null==a?HA(this.d,null,b):this.f.lf(a,b):HA(this.d,a,b)};_.Se=function(a){return eb(a)?null==a?IA(this.d,null):this.f.mf(a):IA(this.d,a)};_.Yc=JA;_.e=0;w(109);s(541,536,Na);_.eQ=function(a){if(a===this)a=!0;else if(t(a,65)&&a.Yc()==this.Yc())a:{var b;Rc(a);for(b=a.vc();b.Gc();)if(a=b.Hc(),!this.Dd(a)){a=!1;break a}a=!0}else a=!1;return a};_.hC=function(){return AA(this)};w(541); -function KA(a,b){return t(b,55)?vA(a.a,b):!1}function GA(a){this.a=a}s(306,541,Na,GA);_.Dd=function(a){return KA(this,a)};_.vc=function(){return new LA(this.a)};_.Id=function(a){return KA(this,a)?(a=a.$e(),this.a.Se(a),!0):!1};_.Yc=MA;w(306);function NA(a){if(a.a.Gc())return!0;if(a.a!=a.c)return!1;a.a=a.d.d.cf();return a.a.Gc()}function LA(a){this.d=a;this.a=this.c=this.d.f.cf();this._gwt_modCount=a._gwt_modCount}s(307,1,{},LA);_.Gc=function(){return NA(this)}; -_.Hc=function(){return OA(this.d,this),J(NA(this)),this.b=this.a,this.a.Hc()};_.Ic=function(){Uc(!!this.b);OA(this.d,this);this.b.Ic();this.b=null;this._gwt_modCount=this.d._gwt_modCount};w(307);function Mw(a){var b=a.b,d;d=new PA(a,0);for(a=0;a<b;++a)d.Hc(),d.Ic()}function Yv(a,b){var d,e;d=0;for(e=a.Yc();d<e;++d)if(QA(b,a.Ed(d)))return d;return-1}s(537,536,Ka);_.We=function(){throw new Wn("Add not supported on this list");};_.Cd=function(a){this.We(this.Yc(),a);return!0}; -_.eQ=function(a){var b,d,e;if(a===this)return!0;if(!t(a,42)||this.Yc()!=a.Yc())return!1;e=a.vc();for(b=this.vc();b.Gc();)if(a=b.Hc(),d=e.Hc(),!(qb(a)===qb(d)||null!=a&&db(a,d)))return!1;return!0};_.hC=function(){R();var a,b,d;d=1;for(b=this.vc();b.Gc();)a=b.Hc(),d=31*d+(null!=a?bb(a):0),d|=0;return d};_.Vc=function(a){return Yv(this,a)};_.vc=function(){return new Gg(this)};_.Gd=function(){return this.Hd(0)};_.Hd=function(a){return new PA(this,a)}; -_.Xe=function(){throw new Wn("Remove not supported on this list");};w(537);function kt(a){J(a.b<a.d.Yc());return a.d.Ed(a.c=a.b++)}function Gg(a){this.d=a}s(33,1,{},Gg);_.Gc=function(){return this.b<this.d.Yc()};_.Hc=function(){return kt(this)};_.Ic=function(){Uc(-1!=this.c);this.d.Xe(this.c);this.b=this.c;this.c=-1};_.b=0;_.c=-1;w(33);function PA(a,b){this.d=this.a=a;Tc(b,a.Yc());this.b=b}s(139,33,{},PA);_.Ye=function(){return 0<this.b};_.Ze=function(){J(0<this.b);return this.a.Ed(this.c=--this.b)}; -w(139);function cs(a,b,d){var e=a.b.length;if(0>b)throw new Qc("fromIndex: "+b+" \x3c 0");if(d>e)throw new Qc("toIndex: "+d+" \x3e size "+e);if(b>d)throw new D("fromIndex: "+b+" \x3e toIndex: "+d);this.c=a;this.a=b;this.b=d-b}s(60,537,Ka,cs);_.We=function(a,b){Tc(a,this.b);zw(this.c,this.a+a,b);++this.b};_.Ed=function(a){return Pc(a,this.b),fs(this.c,this.a+a)};_.Xe=function(a){Pc(a,this.b);a=this.c.Xe(this.a+a);--this.b;return a};_.Yc=nz;_.a=0;_.b=0;w(60); -function Hj(a){a=a.a.Pe().vc();return new RA(a)}function Ij(a){this.a=a}s(38,541,Na,Ij);_.Dd=function(a){return this.a.Oe(a)};_.vc=function(){return Hj(this)};_.Id=function(a){return this.a.Oe(a)?(this.a.Se(a),!0):!1};_.Yc=MA;w(38);function Jj(a){return a.a.Hc().$e()}function RA(a){this.a=a}s(309,1,{},RA);_.Gc=SA;_.Hc=function(){return Jj(this)};_.Ic=function(){this.a.Ic()};w(309);function TA(a,b){var d;d=a.e;a.e=b;return d}s(308,1,Oa); -_.eQ=function(a){return t(a,55)?QA(this.d,a.$e())&&QA(this.e,a._e()):!1};_.$e=mu;_._e=JA;_.hC=function(){return UA(this.d)^UA(this.e)};_.af=function(a){return TA(this,a)};_.tS=function(){return this.d+"\x3d"+this.e};w(308);function xA(a,b){this.d=a;this.e=b}s(110,308,Oa,xA);w(110);s(550,1,Oa);_.eQ=function(a){return t(a,55)?QA(this.$e(),a.$e())&&QA(this._e(),a._e()):!1};_.hC=function(){return UA(this.$e())^UA(this._e())};_.tS=function(){return this.$e()+"\x3d"+this._e()};w(550); -function Wv(a,b,d){Rc(d);a=Qv(a,b);for(b=new Gg(d);b.b<b.d.Yc();)d=(J(b.b<b.d.Yc()),b.d.Ed(b.c=b.b++)),VA(a,d)}function Xv(a,b){var d;d=Qv(a,b);try{return J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c}catch(e){e=H(e);if(t(e,52))throw new Qc("Can't get element "+b);throw I(e);}}function bw(a,b){var d,e;d=Qv(a,b);try{return e=(J(d.b!=d.d.c),d.c=d.b,d.b=d.b.a,++d.a,d.c.c),dw(d),e}catch(f){f=H(f);if(t(f,52))throw new Qc("Can't remove element "+b);throw I(f);}}s(551,537,Ka); -_.We=function(a,b){var d;d=Qv(this,a);VA(d,b)};_.Ed=function(a){return Xv(this,a)};_.vc=function(){return Qv(this,0)};_.Xe=function(a){return bw(this,a)};w(551);function WA(a){a.b=F(z,h,1,0,3)}function zw(a,b,d){Tc(b,a.b.length);a.b.splice(b,0,d)}function Ob(a,b){a.b[a.b.length]=b;return!0}function fs(a,b){Pc(b,a.b.length);return a.b[b]}function Wm(a,b){for(var d=0;d<a.b.length;++d)if(QA(b,a.b[d]))return d;return-1}function XA(a,b){var d;d=(Pc(b,a.b.length),a.b[b]);a.b.splice(b,1);return d} -function Vb(a,b){var d;d=Wm(a,b);if(-1==d)return!1;a.Xe(d);return!0}function Ym(a){return Eh(a.b,a.b.length)}function Tb(a,b){var d,e;e=a.b.length;b.length<e&&(b=Fh(b,e));for(d=0;d<e;++d)b[d]=a.b[d];b.length>e&&(b[e]=null);return b}function C(){WA(this)}function ku(a){WA(this);Nc(0<=a,"Initial capacity must not be negative")}function $m(a){WA(this);a=a.Jd();Hh(a,this.b,0,a.length)}s(11,537,Pa,C,ku,$m);_.We=function(a,b){zw(this,a,b)};_.Cd=function(a){return Ob(this,a)}; -_.Ne=function(a){a=sA(a,F(z,h,1,a.a.Yc(),3));if(0==a.length)return!1;Hh(a,this.b,this.b.length,a.length);return!0};_.Dd=function(a){return-1!=Wm(this,a)};_.Ed=function(a){return fs(this,a)};_.Vc=function(a){return Wm(this,a)};_.Fd=function(){return 0==this.b.length};_.Xe=function(a){return XA(this,a)};_.Id=function(a){return Vb(this,a)};_.Yc=function(){return this.b.length};_.Jd=function(){return Ym(this)};_.Kd=function(a){return Tb(this,a)};w(11);function hz(a,b){Pc(b,a.a.length);return a.a[b]} -function Yi(a){this.a=a}s(34,537,Pa,Yi);_.Dd=function(a){return-1!=Yv(this,a)};_.Ed=function(a){return hz(this,a)};_.Yc=function(){return this.a.length};_.Jd=function(){var a=this.a;return Eh(a,a.length)};_.Kd=function(a){var b,d;d=this.a.length;a.length<d&&(a=Fh(a,d));for(b=0;b<d;++b)a[b]=this.a[b];a.length>d&&(a[d]=null);return a};w(34);function R(){R=m;Ng=new YA;pu=new ZA}function AA(a){R();var b,d;d=0;for(b=a.vc();b.Gc();)a=b.Hc(),d+=null!=a?bb(a):0,d|=0;return d} -function wx(a){R();return t(a,86)?new $A(a):new aB(a)}var Ng,pu;function YA(){}s(380,537,Pa,YA);_.Dd=ru;_.Ed=function(a){Pc(a,0);return null};_.vc=bB;_.Gd=bB;_.Yc=Wx;w(380);function cB(){cB=m;dB=new eB}function eB(){}s(381,1,{},eB);_.Gc=ii;_.Ye=ii;_.Hc=fB;_.Ze=fB;_.Ic=function(){throw new Vc;};var dB;w(381);function ZA(){}s(382,541,Qa,ZA);_.Dd=ru;_.vc=bB;_.Yc=Wx;w(382);s(145,537,{3:1,42:1},function(a){this.a=a});_.Dd=function(a){return QA(this.a,a)};_.Ed=function(a){Pc(a,1);return this.a};_.Yc=function(){return 1}; -w(145);s(146,1,{});_.Cd=gB;_.Ne=gB;_.Dd=hB;_.vc=function(){return new Gx(this.b.vc())};_.Id=gB;_.Yc=iB;_.Jd=function(){return this.b.Jd()};_.Kd=function(a){return this.b.Kd(a)};_.tS=jB;w(146);function Gx(a){this.b=a}s(63,1,{},Gx);_.Gc=function(){return this.b.Gc()};_.Hc=function(){return this.b.Hc()};_.Ic=kB;w(63);function aB(a){this.a=this.b=a}s(147,146,Ka,aB);_.eQ=lB;_.Ed=function(a){return this.a.Ed(a)};_.hC=mB;_.Vc=function(a){return this.a.Vc(a)};_.Fd=function(){return this.a.Fd()};_.Gd=function(){return new nB(this.a.Hd(0))}; -_.Hd=function(a){return new nB(this.a.Hd(a))};w(147);function nB(a){this.a=this.b=a}s(149,63,{},nB);_.Ye=function(){return this.a.Ye()};_.Ze=function(){return this.a.Ze()};w(149);function bz(a){this.b=a}s(383,1,{93:1},bz);_.Pe=function(){!this.a&&(this.a=new oB(this.b.Pe()));return this.a};_.eQ=pB;_.Qe=function(a){return this.b.Qe(a)};_.hC=qB;_.Fd=function(){return this.b.Fd()};_.Re=function(){throw new Hn;};_.Se=gB;_.Yc=iB;_.tS=jB;w(383);function ju(a){this.b=a}s(113,146,Na,ju);_.eQ=pB;_.hC=qB;w(113); -function rB(a,b){var d;for(d=0;d<b;++d)a[d]=new sB(a[d])}function oB(a){this.b=a}s(384,113,Na,oB);_.Dd=hB;_.vc=function(){var a;a=this.b.vc();return new tB(a)};_.Jd=function(){var a;a=this.b.Jd();rB(a,a.length);return a};_.Kd=function(a){a=this.b.Kd(a);rB(a,this.b.Yc());return a};w(384);function tB(a){this.a=a}s(386,1,{},tB);_.Gc=SA;_.Hc=function(){return new sB(this.a.Hc())};_.Ic=kB;w(386);function sB(a){this.a=a}s(148,1,Oa,sB);_.eQ=lB;_.$e=function(){return this.a.$e()};_._e=function(){return this.a._e()}; -_.hC=mB;_.af=gB;_.tS=function(){return this.a.tS()};w(148);function $A(a){aB.call(this,a)}s(385,147,{42:1,86:1},$A);w(385);function OA(a,b){if(b._gwt_modCount!=a._gwt_modCount)throw new uB;}function EA(a){a._gwt_modCount=(a._gwt_modCount|0)+1}function uB(){Xb(this)}s(502,10,da,uB);w(502);function Lg(){BA(this)}function vB(){Nc(!0,"Negative initial capacity");Nc(!0,"Non-positive load factor");BA(this)}s(23,109,{3:1,93:1},Lg,vB);_.Ue=function(a,b){return qb(a)===qb(b)||null!=a&&db(a,b)}; -_.Ve=function(a){return bb(a)|0};w(23);function Eg(a,b){return null==a.a.Re(b,a)}function Dg(){this.a=new Lg}function wu(){this.a=new vB}s(36,541,Qa,Dg,wu);_.Cd=function(a){return Eg(this,a)};_.Dd=function(a){return this.a.Oe(a)};_.Fd=function(){return 0==this.a.Yc()};_.vc=function(){return Hj(new Ij(this.a))};_.Id=function(a){return null!=this.a.Se(a)};_.Yc=MA;_.tS=function(){return tA(new Ij(this.a))};w(36); -function FA(a,b){var d,e,f,g;d=null==b?"0":""+a.b.Ve(b);e=a.a[d]||[];f=0;for(g=e.length;f<g;++f)if(d=e[f],a.b.Ue(b,d.$e()))return d;return null}function HA(a,b,d){var e,f,g,l;e=null==b?"0":""+a.b.Ve(b);f=a.a;e=f[e]||(f[e]=[]);g=0;for(l=e.length;g<l;++g)if(f=e[g],a.b.Ue(b,f.$e()))return f.af(d);e[e.length]=new xA(b,d);a=a.b;++a.e;EA(a);return null} -function IA(a,b){var d,e,f,g;f=null==b?"0":""+a.b.Ve(b);d=a.a[f]||[];for(g=0;g<d.length;g++)if(e=d[g],a.b.Ue(b,e.$e()))return 1==d.length?delete a.a[f]:d.splice(g,1),d=a.b,--d.e,EA(d),e._e();return null}function wB(){this.a=this.bf()}s(156,1,{},wB);_.bf=function(){return Object.create(null)};_.cf=function(){return new xB(this)};w(156);function yB(a){if(a.c<a.a.length)return!0;if(a.b<a.d.length-1){var b=a.d[++a.b];a.a=a.g.a[b];a.c=0;return!0}return!1} -function xB(a){this.g=a;this.d=Object.getOwnPropertyNames(this.g.a);this.a=F(zB,h,55,0,0)}s(439,1,{},xB);_.Gc=function(){return yB(this)};_.Hc=function(){return J(yB(this)),this.e=this.a,this.f=this.a[this.c++],this.f};_.Ic=function(){Uc(!!this.f);IA(this.g,this.f.$e());qb(this.a)===qb(this.e)&&1!=this.a.length&&--this.c;this.f=null};_.b=-1;_.c=0;_.e=null;_.f=null;w(439);function AB(){wB.call(this)}s(437,156,{},AB);_.bf=function(){return{}}; -_.cf=function(){var a=this.df(),b=this.a,d;for(d in b)if(d==parseInt(d,10))for(var e=b[d],f=0,g=e.length;f<g;++f)a.Cd(e[f]);return a.vc()};_.df=function(){return new BB(this)};w(437);function BB(a){this.a=a;WA(this)}s(438,11,Pa,BB);_.Xe=function(a){var b;return b=XA(this,a),IA(this.a,b.$e()),b};w(438);function CB(){}s(434,1,{},CB);_.ef=function(){return new wB};_.ff=function(){return new DB};w(434); -function CA(){CA=m;var a,b;if(b=Object.create&&Object.getOwnPropertyNames)b=Object.create(null),void 0!==b.__proto__||0!=Object.getOwnPropertyNames(b).length?b=!1:(b.__proto__=42,b=42!==b.__proto__?!1:!0);DA=b?(a=Object.create(null),a.__proto__=42,0==Object.getOwnPropertyNames(a).length)?new EB:new CB:new FB}var DA;function EB(){}s(436,434,{},EB);_.ff=function(){return new GB};w(436);function FB(){}s(435,434,{},FB);_.ef=function(){return new AB};_.ff=function(){return new HB};w(435); -function IB(a,b,d){var e;e=a.a[b];if(void 0===e){var f=a.b;++f.e;EA(f)}a.a[b]=void 0===d?null:d;return e}function JB(a,b){var d;d=a.a[b];if(void 0!==d){delete a.a[b];var e=a.b;--e.e;EA(e)}return d}function DB(){this.a=this.gf()}s(117,1,{},DB);_.gf=function(){return Object.create(null)};_.cf=function(){var a;a=this.jf();return new KB(this,a)};_.hf=function(a){return this.a[a]};_.jf=function(){return Object.getOwnPropertyNames(this.a)};_.kf=function(a){return new LB(this,a)}; -_.lf=function(a,b){return IB(this,a,b)};_.mf=function(a){return JB(this,a)};w(117);function KB(a,b){this.c=a;this.d=b}s(410,1,{},KB);_.Gc=function(){return this.a<this.d.length};_.Hc=function(){return J(this.a<this.d.length),new LB(this.c,this.d[this.b=this.a++])};_.Ic=function(){Uc(-1!=this.b);this.c.mf(this.d[this.b]);this.b=-1};_.a=0;_.b=-1;w(410);function LB(a,b){this.a=a;this.b=b}s(153,550,Oa,LB);_.$e=nz;_._e=function(){return this.a.hf(this.b)};_.af=function(a){return this.a.lf(this.b,a)};w(153); -function HB(){DB.call(this)}s(407,117,{},HB);_.gf=function(){return{}};_.cf=function(){var a=this.nf(),b;for(b in this.a)if(58==b.charCodeAt(0)){var d=this.kf(b.substring(1));a.Cd(d)}return a.vc()};_.hf=function(a){return this.a[":"+a]};_.nf=function(){return new MB(this)};_.lf=function(a,b){return IB(this,":"+a,b)};_.mf=function(a){return JB(this,":"+a)};w(407);function MB(a){this.a=a;WA(this)}s(409,11,Pa,MB);_.Xe=function(a){var b;return b=XA(this,a),JB(this.a,":"+b.$e()),b};w(409); -function GB(){DB.call(this)}s(408,117,{},GB);_.jf=function(){var a;a=Object.getOwnPropertyNames(this.a);void 0!==this.a.__proto__&&(a[a.length]="__proto__");return a};w(408);function NB(a,b){var d;return(d=a.c.Se(b))?(OB(d),d.e):null}function PB(){BA(this);this.b=new QB(this);this.c=new Lg;this.b.b=this.b;this.b.a=this.b}s(168,23,{3:1,93:1},PB);_.Te=function(){this.c.Te();this.b.b=this.b;this.b.a=this.b};_.Oe=function(a){return this.c.Oe(a)};_.Pe=function(){return new RB(this)}; -_.Qe=function(a){return(a=this.c.Qe(a))?(this.a&&(OB(a),SB(a)),a.e):null};_.Re=function(a,b){var d,e;if(d=this.c.Qe(a))return e=TA(d,b),this.a&&(OB(d),SB(d)),e;d=new TB(this,a,b);this.c.Re(a,d);SB(d);return null};_.Se=function(a){return NB(this,a)};_.Yc=function(){return this.c.Yc()};_.a=!1;w(168);function SB(a){var b;b=a.c.b.b;a.b=b;a.a=a.c.b;b.a=a.c.b.b=a}function OB(a){a.a.b=a.b;a.b.a=a.a;a.a=a.b=null}function QB(a){TB.call(this,a,null,null)}function TB(a,b,d){this.c=a;xA.call(this,b,d)} -s(121,110,Oa,QB,TB);w(121);function RB(a){this.a=a}s(468,541,Na,RB);_.Dd=function(a){return KA(this,a)};_.vc=function(){return new UB(this)};_.Id=function(a){return KA(this,a)?(a=a.$e(),NB(this.a,a),!0):!1};_.Yc=function(){return this.a.c.Yc()};w(468);function UB(a){this.c=a;this.b=a.a.b.a;this._gwt_modCount=a.a.c._gwt_modCount}s(469,1,{},UB);_.Gc=function(){return this.b!=this.c.a.b};_.Hc=function(){return OA(this.c.a.c,this),J(this.b!=this.c.a.b),this.a=this.b,this.b=this.b.a,this.a}; -_.Ic=function(){Uc(!!this.a);OA(this.c.a.c,this);OB(this.a);this.c.a.c.Se(this.a.d);this._gwt_modCount=this.c.a.c._gwt_modCount;this.a=null};w(469);function iu(){this.a=new PB}function fu(a){this.a=new PB;hu(this,a)}s(67,36,Qa,iu,fu);w(67);function om(a,b,d,e){var f;f=new VB;f.c=b;f.b=d;f.a=e;e.b=d.a=f;++a.b}function Hu(a){J(0!=a.b);return a.a.a.c}function Iu(a){J(0!=a.b);return a.c.b.c} -function Qv(a,b){var d,e;Tc(b,a.b);if(b>=a.b>>1)for(e=a.c,d=a.b;d>b;--d)e=e.b;else for(e=a.a.a,d=0;d<b;++d)e=e.a;return new WB(a,b,e)}function xm(a,b){b.a.b=b.b;b.b.a=b.a;b.a=b.b=null;b.c=null;--a.b}function rv(a){a.a.a=a.c;a.c.b=a.a;a.a.b=a.c.a=null;a.b=0}function nm(){this.a=new VB;this.c=new VB;rv(this)}s(118,551,{3:1,42:1},nm);_.Cd=function(a){return om(this,a,this.c.b,this.c),!0};_.Hd=function(a){return Qv(this,a)};_.Yc=nz;_.b=0;w(118);function VA(a,b){om(a.d,b,a.b.b,a.b);++a.a;a.c=null} -function dw(a){var b;Uc(!!a.c);b=a.c.a;xm(a.d,a.c);a.b==a.c?a.b=b:--a.a;a.c=null}function WB(a,b,d){this.d=a;this.b=d;this.a=b}s(429,1,{},WB);_.Gc=function(){return this.b!=this.d.c};_.Ye=function(){return this.b.b!=this.d.a};_.Hc=function(){return J(this.b!=this.d.c),this.c=this.b,this.b=this.b.a,++this.a,this.c.c};_.Ze=function(){return J(this.b.b!=this.d.a),this.c=this.b=this.b.b,--this.a,this.c.c};_.Ic=function(){dw(this)};_.a=0;_.c=null;w(429);function VB(){}s(119,1,{},VB);w(119);var zB=yb(); -function Oc(){Xb(this)}s(52,10,{3:1,12:1,10:1,13:1,52:1},Oc);w(52);function QA(a,b){return qb(a)===qb(b)||null!=a&&db(a,b)}function UA(a){return null!=a?bb(a):0}w(514);w(516);var bi=w(null);w(519);var wk=yb(),Ek=yb(),Gk=yb(),pk=yb(),wi=yb(),XB=yb(),iv,YB;YB=wb("D");YB.j="D";YB.e=1;iv=YB;var yk=yb(),Ak=yb(),$b=w(null),uk=yb(),kk=yb(),sk=yb(),Ck=yb(),zB=yb();_=Va("$wnd.wc.WCFormat"); -_.formatCurrency=function(a){var b;b=(jh(),!rh&&(rh=new ph(["USD","US$",2,"US$","$"])),jh(),rh);var d=a,e,f;if(isNaN(d))b="NaN";else{(e=0>d||0==d&&0>1/d)&&(d=-d);a=new qh;if(isFinite(d)||isNaN(d)){var d=d*b.p,g,l;f=a.a.length;Yc(a,d.toPrecision(20));d=0;l=a.a.indexOf("e",f);0>l&&(l=a.a.indexOf("E",f));0<=l&&(g=l+1,g<a.a.length&&43==a.a.charCodeAt(g)&&++g,g<a.a.length&&(d=pr(rd(a.a,g))),mh(a,l,a.a.length));f=a.a.indexOf(".",f);0<=f&&(a.a=a.a.substr(0,f)+""+rd(a.a,f+1),d-=a.a.length-f);f=d;d=a.a.length+ -f+b.i+3;0<d&&d<a.a.length&&57==a.a.charCodeAt(d)&&(oh(b,a,d-1),f+=a.a.length-d,mh(a,d,a.a.length));b.e=0;b.d=a.a.length;b.b=b.d+f;d=b.v;f=b.f;1024<b.b&&(d=!0);if(d){for(g=0;g<b.d-1&&48==a.a.charCodeAt(g);)++g;0<g&&(a.a=a.a.substr(0,0)+""+rd(a.a,g),b.d-=g,b.e-=g);b.j>b.o&&0<b.j?(b.e+=b.b-1,g=b.e%b.j,0>g&&(g+=b.j),b.b=g+1,b.e-=g):(b.e+=b.b-b.o,b.b=b.o);1==b.d&&48==a.a.charCodeAt(0)&&(b.e=0,b.b=b.o)}if(b.b>b.d)for(;b.d<b.b;)a.a+="0",++b.d;if(!b.v)if(b.b<b.o){for(g=new qh;b.b<b.o;)g.a+="0",++b.b,++b.d; -qA(a,0,g.tS())}else if(b.b>b.o){l=b.b-b.o;for(g=0;g<l;++g)if(48!=a.a.charCodeAt(g)){l=g;break}0<l&&(a.a=a.a.substr(0,0)+""+rd(a.a,l),b.d-=l,b.b-=l)}b.d>b.b+b.i&&53<=a.a.charCodeAt(b.b+b.i)&&(g=b.b+b.i-1,oh(b,a,g));if(0<f)for(g=f;g<b.b;g+=f+1)qA(a,b.b-g,","),++b.b,++b.d;f=b.b+b.n;if(b.d<f)for(;b.d<f;)a.a+="0",++b.d;else{g=b.b+b.i;for(g>b.d&&(g=b.d);g>f&&48==a.a.charCodeAt(g-1);)--g;g<b.d&&(mh(a,g,b.d),b.d=g)}0==b.d&&(a.a=a.a.substr(0,0)+"0"+rd(a.a,0),++b.b,++b.d);if(b.b<b.d||b.c)qA(a,b.b,"."),++b.d; -if(d){a.a+="E";0>b.e&&(b.e=-b.e,a.a+="-");d=""+b.e;for(f=d.length;f<b.k;++f)a.a+="0";a.a+=d}qA(a,0,e?b.q:b.t)}else Yc(a,e?b.q:b.t),a.a+="\u221e";Yc(a,e?b.r:b.u);b=a.a}return b};_=Va("$wnd.wc");_.WCVGrid=mz;_=Va("$wnd.wc.WCVGrid");_.createGridColumn=function(a,b){return new ez(new fz(a,RegExp("\\{\\{data\\}\\}","ig")),a,b)};_.TAG="v-grid";_=Va("$wnd.wc");_.WCVProgress=Ez;_=Va("$wnd.wc.WCVProgress");_.TAG="v-progress";_=Va("$wnd.wc");_.WCVSlider=Gz;_=Va("$wnd.wc.WCVSlider");_.TAG="v-slider"; -function A(a){return function(){var b;a:{var d=arguments,e,f;0!=zc&&(e=Bb(),2E3<e-Bc&&(Bc=e,Ac=$wnd.setTimeout(yc,10)));if(0==zc++){e=(Cc(),Dc);var g,l;if(e.c){l=null;do g=e.c,e.c=null,l=Mc(g,l);while(e.c);e.c=l}e=!0}else e=!1;try{if(gc)try{b=a.apply(this,d);break a}catch(n){if(n=H(n),t(n,13))f=n,vc(f);else throw I(n);}else{b=a.apply(this,d);break a}}finally{if(d=e)if(f=(Cc(),Dc),f.d){g=null;do e=f.d,f.d=null,g=Mc(e,g);while(f.d);f.d=g}--zc;d&&-1!=Ac&&($wnd.clearTimeout(Ac),Ac=-1)}b=void 0}return b}} -var gwtOnLoad=gwtOnLoad=function(a,b,d,e){function f(){for(var a=0;a<g.length;a++)g[a]()}null==Ra&&(Ra=[]);var g=Ra;$moduleName=b;$moduleBase=d;Ta=e;if(a)try{A(f)()}catch(l){a(b,l)}else A(f)()}; -(function(){null==Ra&&(Ra=[]);for(var a=Ra,b=0;b<arguments.length;b++)a.push(arguments[b])})(function(){var a;$wnd.setTimeout(A(nq));var b,d;b=$doc.compatMode;a=O(y(hb,1),h,2,4,["CSS1Compat"]);for(d=0;d<a.length&&a[d]!==b;d++);fi();gc=new Gy;a=new gy;b=O(y(ui,1),h,6,0,[]);b=Km(new Zy,b);Km(b,O(y(ui,1),h,6,0,[new $y(a)]));a=new Ez;Ey("v-progress",a);Ey("v-progress-bar",a);Ey("v-slider",new Gz);Ey("v-grid",new mz);Vl(null,"onVaadinX",O(y(z,1),h,1,3,[]))}); -var ZB=[[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","gecko1_8"]],[["locale","default"],["user.agent","safari"]]];"object"===typeof window&&"object"===typeof window.$gwt&&(window.$gwt.permProps=ZB);function lb(a){return this===a}function mb(){return kb(this)}function ii(){return!1}function ji(){return!0} -function ki(){return"Browser: webkit\x3d"+this.g+" mozilla\x3d"+this.d+" opera\x3d"+this.f+" msie\x3d"+this.e+" ie6\x3d"+this.a+" ie8\x3d"+this.b+" ie9\x3d"+this.c}function Xl(){if(this.a){var a=y(z,1),b=h,d;d=ri(this,0,null);d=Al([this.a(d)]);si(this,O(a,b,1,3,[d]))}}function Un(){}function nk(){return this.a}function Gn(){return T(),this.O}function Tr(){}function js(a){a.style.transform=""}function cc(){return this.f}function Os(){return Kd(this.f.style,"height")} -function Ns(){return Kd(this.f.style,"width")}function er(){return bb(this.a)}function vt(){ot()}function Xo(){null.of()}function qu(){return null}function fw(){return"td"}function ru(){return!1}function mu(){return this.d}function Yf(){return this.g}function Ox(){rb(zx);rb(XB)}function Xx(){return-1}function ar(){return this.r}function su(){}function qz(){this.getAttribute("theme")}function Wx(){return 0}function Dz(a){this.setAttribute("theme",a)} -function Fz(){var a;this.c||(this.c=!0,a=Uj(Wi(this)),!a&&(a=Uj(Am(pj(Wi(this),(G(),Ii))))),In(a,this,(!mg&&(mg=new ig),mg)),null!=this.getAttribute("shadow")?(a=this.createShadowRoot(),a.appendChild(this.e),a.appendChild(this.b)):(this.appendChild(this.e),this.appendChild(this.b)),a=Uj(Am(pj(Wi(this.b),(G(),Ii)))),a.sc(this.d))}function jq(a){return a}function nz(){return this.b}function fA(){return""+this.a}function iA(){return v(this.a)}function uA(){return 0==this.Yc()} -function MA(){return this.a.Yc()}function JA(){return this.e}function bB(){return R(),cB(),dB}function fB(){throw new Oc;}function gB(){throw new Hn;}function iB(){return this.b.Yc()}function jB(){return this.b.tS()}function pB(a){return this.b.eQ(a)}function qB(){return this.b.hC()}function hB(a){return this.b.Dd(a)}function SA(){return this.a.Gc()}function kB(){throw new Hn;}function lB(a){return this.a.eQ(a)}function mB(){return this.a.hC()};window.gwtOnLoad=gwtOnLoad; -$sendStats('moduleStartup', 'moduleEvalEnd');gwtOnLoad(__gwtModuleFunction.__errFn, __gwtModuleFunction.__moduleName, __gwtModuleFunction.__moduleBase, __gwtModuleFunction.__softPermutationId,__gwtModuleFunction.__computePropValue);$sendStats('moduleStartup', 'end');$gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps); +$wnd = window; $doc = document;function VaadinComponents(){ + var $intern_0 = 'bootstrap', $intern_1 = 'begin', $intern_2 = 'gwt.codesvr.VaadinComponents=', $intern_3 = 'gwt.codesvr=', $intern_4 = 'VaadinComponents', $intern_5 = 'startup', $intern_6 = 'DUMMY', $intern_7 = 0, $intern_8 = 1, $intern_9 = 'iframe', $intern_10 = 'javascript:""', $intern_11 = 'position:absolute; width:0; height:0; border:none; left: -1000px;', $intern_12 = ' top: -1000px;', $intern_13 = 'CSS1Compat', $intern_14 = '<!doctype html>', $intern_15 = '', $intern_16 = '<html><head><\/head><body><\/body><\/html>', $intern_17 = '_', $intern_18 = '$1', $intern_19 = 'script', $intern_20 = 'javascript', $intern_21 = 'meta', $intern_22 = 'name', $intern_23 = 'VaadinComponents::', $intern_24 = '::', $intern_25 = 'gwt:property', $intern_26 = 'content', $intern_27 = '=', $intern_28 = 'gwt:onPropertyErrorFn', $intern_29 = 'Bad handler "', $intern_30 = '" for "gwt:onPropertyErrorFn"', $intern_31 = 'gwt:onLoadErrorFn', $intern_32 = '" for "gwt:onLoadErrorFn"', $intern_33 = '#', $intern_34 = '?', $intern_35 = '/', $intern_36 = 'img', $intern_37 = 'clear.cache.gif', $intern_38 = 'baseUrl', $intern_39 = 'VaadinComponents.nocache.js', $intern_40 = 'base', $intern_41 = '//', $intern_42 = 'modernie', $intern_43 = 'MSIE', $intern_44 = 'Trident', $intern_45 = 'yes', $intern_46 = 'none', $intern_47 = 'selectorCapability', $intern_48 = 'function', $intern_49 = 'native', $intern_50 = 'js', $intern_51 = 'user.agent', $intern_52 = 'webkit', $intern_53 = 'safari', $intern_54 = 'msie', $intern_55 = 10, $intern_56 = 11, $intern_57 = 'ie10', $intern_58 = 9, $intern_59 = 'ie9', $intern_60 = 8, $intern_61 = 'ie8', $intern_62 = 'gecko', $intern_63 = 'gecko1_8', $intern_64 = 2, $intern_65 = 3, $intern_66 = 4, $intern_67 = 'selectingPermutation', $intern_68 = 'VaadinComponents.devmode.js', $intern_69 = '4C5B3F4CF5F51540CE684187B86B96AA', $intern_70 = ':1', $intern_71 = ':2', $intern_72 = ':3', $intern_73 = ':4', $intern_74 = ':', $intern_75 = '.cache.js', $intern_76 = 'loadExternalRefs', $intern_77 = 'end', $intern_78 = 'http:', $intern_79 = 'file:', $intern_80 = '_gwt_dummy_', $intern_81 = '__gwtDevModeHook:VaadinComponents', $intern_82 = 'Ignoring non-whitelisted Dev Mode URL: ', $intern_83 = ':moduleBase', $intern_84 = 'head'; + var $wnd = window; + var $doc = document; + sendStats($intern_0, $intern_1); + function isHostedMode(){ + var query = $wnd.location.search; + return query.indexOf($intern_2) != -1 || query.indexOf($intern_3) != -1; + } + + function sendStats(evtGroupString, typeString){ + if ($wnd.__gwtStatsEvent) { + $wnd.__gwtStatsEvent({moduleName:$intern_4, sessionId:$wnd.__gwtStatsSessionId, subSystem:$intern_5, evtGroup:evtGroupString, millis:(new Date).getTime(), type:typeString}); + } + } + + VaadinComponents.__sendStats = sendStats; + VaadinComponents.__moduleName = $intern_4; + VaadinComponents.__errFn = null; + VaadinComponents.__moduleBase = $intern_6; + VaadinComponents.__softPermutationId = $intern_7; + VaadinComponents.__computePropValue = null; + VaadinComponents.__getPropMap = null; + VaadinComponents.__installRunAsyncCode = function(){ + } + ; + VaadinComponents.__gwtStartLoadingFragment = function(){ + return null; + } + ; + VaadinComponents.__gwt_isKnownPropertyValue = function(){ + return false; + } + ; + VaadinComponents.__gwt_getMetaProperty = function(){ + return null; + } + ; + var __propertyErrorFunction = null; + var activeModules = $wnd.__gwt_activeModules = $wnd.__gwt_activeModules || {}; + activeModules[$intern_4] = {moduleName:$intern_4}; + VaadinComponents.__moduleStartupDone = function(permProps){ + var oldBindings = activeModules[$intern_4].bindings; + activeModules[$intern_4].bindings = function(){ + var props = oldBindings?oldBindings():{}; + var embeddedProps = permProps[VaadinComponents.__softPermutationId]; + for (var i = $intern_7; i < embeddedProps.length; i++) { + var pair = embeddedProps[i]; + props[pair[$intern_7]] = pair[$intern_8]; + } + return props; + } + ; + } + ; + var frameDoc; + function getInstallLocationDoc(){ + setupInstallLocation(); + return frameDoc; + } + + function setupInstallLocation(){ + if (frameDoc) { + return; + } + var scriptFrame = $doc.createElement($intern_9); + scriptFrame.src = $intern_10; + scriptFrame.id = $intern_4; + scriptFrame.style.cssText = $intern_11 + $intern_12; + scriptFrame.tabIndex = -1; + $doc.body.appendChild(scriptFrame); + frameDoc = scriptFrame.contentDocument; + if (!frameDoc) { + frameDoc = scriptFrame.contentWindow.document; + } + frameDoc.open(); + var doctype = document.compatMode == $intern_13?$intern_14:$intern_15; + frameDoc.write(doctype + $intern_16); + frameDoc.close(); + } + + function installScript(filename){ + this[$intern_17 + filename.replace(/.*([\dA-F]{32}).cache.js/, $intern_18)](); + } + + VaadinComponents.__startLoadingFragment = function(fragmentFile){ + return computeUrlForResource(fragmentFile); + } + ; + VaadinComponents.__installRunAsyncCode = function(code_0){ + var doc = getInstallLocationDoc(); + var docbody = doc.body; + var script = doc.createElement($intern_19); + script.language = $intern_20; + script.text = code_0; + docbody.appendChild(script); + } + ; + function processMetas(){ + var metaProps = {}; + var propertyErrorFunc; + var onLoadErrorFunc; + var metas = $doc.getElementsByTagName($intern_21); + for (var i = $intern_7, n = metas.length; i < n; ++i) { + var meta = metas[i], name_0 = meta.getAttribute($intern_22), content; + if (name_0) { + name_0 = name_0.replace($intern_23, $intern_15); + if (name_0.indexOf($intern_24) >= $intern_7) { + continue; + } + if (name_0 == $intern_25) { + content = meta.getAttribute($intern_26); + if (content) { + var value_0, eq = content.indexOf($intern_27); + if (eq >= $intern_7) { + name_0 = content.substring($intern_7, eq); + value_0 = content.substring(eq + $intern_8); + } + else { + name_0 = content; + value_0 = $intern_15; + } + metaProps[name_0] = value_0; + } + } + else if (name_0 == $intern_28) { + content = meta.getAttribute($intern_26); + if (content) { + try { + propertyErrorFunc = eval(content); + } + catch (e) { + alert($intern_29 + content + $intern_30); + } + } + } + else if (name_0 == $intern_31) { + content = meta.getAttribute($intern_26); + if (content) { + try { + onLoadErrorFunc = eval(content); + } + catch (e) { + alert($intern_29 + content + $intern_32); + } + } + } + } + } + __gwt_getMetaProperty = function(name_0){ + var value_0 = metaProps[name_0]; + return value_0 == null?null:value_0; + } + ; + __propertyErrorFunction = propertyErrorFunc; + VaadinComponents.__errFn = onLoadErrorFunc; + } + + function computeScriptBase(){ + function getDirectoryOfFile(path){ + var hashIndex = path.lastIndexOf($intern_33); + if (hashIndex == -1) { + hashIndex = path.length; + } + var queryIndex = path.indexOf($intern_34); + if (queryIndex == -1) { + queryIndex = path.length; + } + var slashIndex = path.lastIndexOf($intern_35, Math.min(queryIndex, hashIndex)); + return slashIndex >= $intern_7?path.substring($intern_7, slashIndex + $intern_8):$intern_15; + } + + function ensureAbsoluteUrl(url_0){ + if (url_0.match(/^\w+:\/\//)) { + } + else { + var img = $doc.createElement($intern_36); + img.src = url_0 + $intern_37; + url_0 = getDirectoryOfFile(img.src); + } + return url_0; + } + + function tryMetaTag(){ + var metaVal = __gwt_getMetaProperty($intern_38); + if (metaVal != null) { + return metaVal; + } + return $intern_15; + } + + function tryNocacheJsTag(){ + var scriptTags = $doc.getElementsByTagName($intern_19); + for (var i = $intern_7; i < scriptTags.length; ++i) { + if (scriptTags[i].src.indexOf($intern_39) != -1) { + return getDirectoryOfFile(scriptTags[i].src); + } + } + return $intern_15; + } + + function tryBaseTag(){ + var baseElements = $doc.getElementsByTagName($intern_40); + if (baseElements.length > $intern_7) { + return baseElements[baseElements.length - $intern_8].href; + } + return $intern_15; + } + + function isLocationOk(){ + var loc = $doc.location; + return loc.href == loc.protocol + $intern_41 + loc.host + loc.pathname + loc.search + loc.hash; + } + + var tempBase = tryMetaTag(); + if (tempBase == $intern_15) { + tempBase = tryNocacheJsTag(); + } + if (tempBase == $intern_15) { + tempBase = tryBaseTag(); + } + if (tempBase == $intern_15 && isLocationOk()) { + tempBase = getDirectoryOfFile($doc.location.href); + } + tempBase = ensureAbsoluteUrl(tempBase); + return tempBase; + } + + function computeUrlForResource(resource){ + if (resource.match(/^\//)) { + return resource; + } + if (resource.match(/^[a-zA-Z]+:\/\//)) { + return resource; + } + return VaadinComponents.__moduleBase + resource; + } + + function getCompiledCodeFilename(){ + var answers = []; + var softPermutationId = $intern_7; + function unflattenKeylistIntoAnswers(propValArray, value_0){ + var answer = answers; + for (var i = $intern_7, n = propValArray.length - $intern_8; i < n; ++i) { + answer = answer[propValArray[i]] || (answer[propValArray[i]] = []); + } + answer[propValArray[n]] = value_0; + } + + var values = []; + var providers = []; + function computePropValue(propName){ + var value_0 = providers[propName](), allowedValuesMap = values[propName]; + if (value_0 in allowedValuesMap) { + return value_0; + } + var allowedValuesList = []; + for (var k in allowedValuesMap) { + allowedValuesList[allowedValuesMap[k]] = k; + } + if (__propertyErrorFunction) { + __propertyErrorFunction(propName, allowedValuesList, value_0); + } + throw null; + } + + providers[$intern_42] = function(){ + { + var ua = $wnd.navigator.userAgent; + if (ua.indexOf($intern_43) == -1 && ua.indexOf($intern_44) != -1) { + return $intern_45; + } + return $intern_46; + } + } + ; + values[$intern_42] = {none:$intern_7, yes:$intern_8}; + providers[$intern_47] = function(){ + return !/_force_no_native/.test(document.location.search) && typeof document.querySelectorAll == $intern_48?$intern_49:$intern_50; + } + ; + values[$intern_47] = {js:$intern_7, 'native':$intern_8}; + providers[$intern_51] = function(){ + var ua = navigator.userAgent.toLowerCase(); + var docMode = $doc.documentMode; + if (function(){ + return ua.indexOf($intern_52) != -1; + } + ()) + return $intern_53; + if (function(){ + return ua.indexOf($intern_54) != -1 && (docMode >= $intern_55 && docMode < $intern_56); + } + ()) + return $intern_57; + if (function(){ + return ua.indexOf($intern_54) != -1 && (docMode >= $intern_58 && docMode < $intern_56); + } + ()) + return $intern_59; + if (function(){ + return ua.indexOf($intern_54) != -1 && (docMode >= $intern_60 && docMode < $intern_56); + } + ()) + return $intern_61; + if (function(){ + return ua.indexOf($intern_62) != -1 || docMode >= $intern_56; + } + ()) + return $intern_63; + return $intern_15; + } + ; + values[$intern_51] = {gecko1_8:$intern_7, ie10:$intern_8, ie8:$intern_64, ie9:$intern_65, safari:$intern_66}; + __gwt_isKnownPropertyValue = function(propName, propValue){ + return propValue in values[propName]; + } + ; + VaadinComponents.__getPropMap = function(){ + var result = {}; + for (var key in values) { + if (values.hasOwnProperty(key)) { + result[key] = computePropValue(key); + } + } + return result; + } + ; + VaadinComponents.__computePropValue = computePropValue; + $wnd.__gwt_activeModules[$intern_4].bindings = VaadinComponents.__getPropMap; + sendStats($intern_0, $intern_67); + if (isHostedMode()) { + return computeUrlForResource($intern_68); + } + var strongName; + try { + unflattenKeylistIntoAnswers([$intern_46, $intern_50, $intern_63], $intern_69); + unflattenKeylistIntoAnswers([$intern_46, $intern_49, $intern_63], $intern_69 + $intern_70); + unflattenKeylistIntoAnswers([$intern_45, $intern_50, $intern_63], $intern_69 + $intern_71); + unflattenKeylistIntoAnswers([$intern_45, $intern_49, $intern_63], $intern_69 + $intern_72); + unflattenKeylistIntoAnswers([$intern_46, $intern_49, $intern_53], $intern_69 + $intern_73); + strongName = answers[computePropValue($intern_42)][computePropValue($intern_47)][computePropValue($intern_51)]; + var idx = strongName.indexOf($intern_74); + if (idx != -1) { + softPermutationId = parseInt(strongName.substring(idx + $intern_8), $intern_55); + strongName = strongName.substring($intern_7, idx); + } + } + catch (e) { + } + VaadinComponents.__softPermutationId = softPermutationId; + return computeUrlForResource(strongName + $intern_75); + } + + function loadExternalStylesheets(){ + if (!$wnd.__gwt_stylesLoaded) { + $wnd.__gwt_stylesLoaded = {}; + } + sendStats($intern_76, $intern_1); + sendStats($intern_76, $intern_77); + } + + processMetas(); + VaadinComponents.__moduleBase = computeScriptBase(); + activeModules[$intern_4].moduleBase = VaadinComponents.__moduleBase; + var filename = getCompiledCodeFilename(); + if ($wnd) { + var devModePermitted = !!($wnd.location.protocol == $intern_78 || $wnd.location.protocol == $intern_79); + $wnd.__gwt_activeModules[$intern_4].canRedirect = devModePermitted; + function supportsSessionStorage(){ + var key = $intern_80; + try { + $wnd.sessionStorage.setItem(key, key); + $wnd.sessionStorage.removeItem(key); + return true; + } + catch (e) { + return false; + } + } + + if (devModePermitted && supportsSessionStorage()) { + var devModeKey = $intern_81; + var devModeUrl = $wnd.sessionStorage[devModeKey]; + if (!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(devModeUrl)) { + if (devModeUrl && (window.console && console.log)) { + console.log($intern_82 + devModeUrl); + } + devModeUrl = $intern_15; + } + if (devModeUrl && !$wnd[devModeKey]) { + $wnd[devModeKey] = true; + $wnd[devModeKey + $intern_83] = computeScriptBase(); + var devModeScript = $doc.createElement($intern_19); + devModeScript.src = devModeUrl; + var head = $doc.getElementsByTagName($intern_84)[$intern_7]; + head.insertBefore(devModeScript, head.firstElementChild || head.children[$intern_7]); + return false; + } + } + } + loadExternalStylesheets(); + sendStats($intern_0, $intern_77); + installScript(filename); + return true; +} + +VaadinComponents.succeeded = VaadinComponents(); + +function _4C5B3F4CF5F51540CE684187B86B96AA(){ +var $wnd = $wnd || window.parent; +var __gwtModuleFunction = $wnd.VaadinComponents; +var $sendStats = __gwtModuleFunction.__sendStats; +$sendStats('moduleStartup', 'moduleEvalStart'); +var $gwt_version = "2.8.0-SNAPSHOT"; +var $strongName = '4C5B3F4CF5F51540CE684187B86B96AA'; +var $gwt = {}; +var $doc = $wnd.document; +var $moduleName, $moduleBase; +function __gwtStartLoadingFragment(frag) { +var fragFile = 'deferredjs/' + $strongName + '/' + frag + '.cache.js'; +return __gwtModuleFunction.__startLoadingFragment(fragFile); +} +function __gwtInstallCode(code) {return __gwtModuleFunction.__installRunAsyncCode(code);} +function __gwt_isKnownPropertyValue(propName, propValue) { +return __gwtModuleFunction.__gwt_isKnownPropertyValue(propName, propValue); +} +function __gwt_getMetaProperty(name) { +return __gwtModuleFunction.__gwt_getMetaProperty(name); +} +var $stats = $wnd.__gwtStatsEvent ? function(a) { +return $wnd.__gwtStatsEvent && $wnd.__gwtStatsEvent(a); +} : null; +var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null; +var $intern_0 = 3.141592653589793, $intern_1 = {3:1}, $intern_2 = {3:1, 13:1}, $intern_3 = {3:1, 12:1, 13:1}, $intern_4 = {3:1, 12:1, 10:1, 13:1}, $intern_5 = {40:1, 9:1, 3:1, 5:1, 4:1}, $intern_6 = {14:1, 9:1, 3:1, 5:1, 4:1}, $intern_7 = {9:1, 48:1, 3:1, 5:1, 4:1}, $intern_8 = {9:1, 49:1, 3:1, 5:1, 4:1}, $intern_9 = {9:1, 50:1, 3:1, 5:1, 4:1}, $intern_10 = {27:1, 3:1, 5:1, 4:1}, $intern_11 = {9:1, 70:1, 3:1, 5:1, 4:1}, $intern_12 = {9:1, 41:1, 3:1, 5:1, 4:1}, $intern_13 = {82:1, 71:1, 3:1, 12:1, 10:1, 13:1}, $intern_14 = 4194303, $intern_15 = 1048575, $intern_16 = 524288, $intern_17 = 4194304, $intern_18 = 17592186044416, $intern_19 = -9223372036854775808, $intern_20 = {6:1}, $intern_21 = {44:1, 45:1}, $intern_22 = {84:1}, $intern_23 = {26:1, 21:1, 19:1, 24:1, 22:1, 20:1, 17:1}, $intern_24 = {26:1, 21:1, 19:1, 24:1, 37:1, 22:1, 35:1, 20:1, 17:1}, $intern_25 = {26:1, 21:1, 19:1, 72:1, 24:1, 37:1, 22:1, 35:1, 20:1, 17:1}, $intern_26 = 65536, $intern_27 = 131072, $intern_28 = 1048576, $intern_29 = 2097152, $intern_30 = 8388608, $intern_31 = 16777216, $intern_32 = 33554432, $intern_33 = 67108864, $intern_34 = {26:1, 21:1, 19:1, 85:1, 24:1, 37:1, 22:1, 35:1, 20:1, 17:1}, $intern_35 = {42:1}, $intern_36 = {58:1, 3:1, 5:1, 4:1}, $intern_37 = {61:1}, $intern_38 = {65:1}, $intern_39 = {55:1}, $intern_40 = {3:1, 42:1, 86:1}, $intern_41 = {3:1, 65:1}; +var _, com_google_gwt_lang_ModuleUtils_initFnList, com_google_gwt_lang_JavaClassHierarchySetupUtil_prototypesByTypeId = {}, com_google_gwt_lang_CollapsedPropertyHolder_permutationId = -1; +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1useragent_1client_1UserAgent__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_useragent_client_UserAgentImplSafari_UserAgentImplSafari__V; + } + return new com_google_gwt_useragent_client_UserAgentImplGecko1_18_UserAgentImplGecko1_18__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1ui_1impl_1PopupImpl__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_user_client_ui_impl_PopupImpl_PopupImpl__V; + } + return new com_google_gwt_user_client_ui_impl_PopupImplMozilla_PopupImplMozilla__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1ui_1impl_1FocusImpl__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_user_client_ui_impl_FocusImplSafari_FocusImplSafari__V; + } + return new com_google_gwt_user_client_ui_impl_FocusImplStandard_FocusImplStandard__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1impl_1WindowImpl__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_user_client_impl_WindowImpl_WindowImpl__V; + } + return new com_google_gwt_user_client_impl_WindowImplMozilla_WindowImplMozilla__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1impl_1DOMImpl__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_user_client_impl_DOMImplWebkit_DOMImplWebkit__V; + } + return new com_google_gwt_user_client_impl_DOMImplMozilla_DOMImplMozilla__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1query_1client_1Browser__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_query_client_Browser_1safari_Browser_1safari__V; + } + return new com_google_gwt_query_client_Browser_1gecko1_18_Browser_1gecko1_18__V; +} + +function com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1dom_1client_1DOMImpl__Ljava_lang_Object_2(){ + if (com_google_gwt_lang_CollapsedPropertyHolder_permutationId == 4) { + return new com_google_gwt_dom_client_DOMImplWebkit_DOMImplWebkit__V; + } + return new com_google_gwt_dom_client_DOMImplMozilla_DOMImplMozilla__V; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_typeMarkerFn__V(){ +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_trampolineBridgeMethod__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Z(o, bridgeRef, nonbridgeRef){ + return !com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(o) && !com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(o)?bridgeRef:nonbridgeRef; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(namespace){ + var cur = this; + if (namespace == '$wnd') { + return $wnd; + } + else if (namespace === '') { + return cur; + } + if (namespace.substring(0, 5) == '$wnd.') { + cur = $wnd; + namespace = namespace.substring(5); + } + var parts = namespace.split('.'); + !(parts[0] in cur) && cur.execScript && cur.execScript('var ' + parts[0]); + for (var part; parts.length && (part = parts.shift());) { + cur[part]?(cur = cur[part]):(cur = cur[part] = {}); + } + return cur; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_portableObjCreate__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(obj){ + function F(){ + } + + ; + F.prototype = obj || {}; + return new F; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_modernizeBrowser__V(){ + !Array.isArray && (Array.isArray = function(vArg){ + return Object.prototype.toString.call(vArg) === '[object Array]'; + } + ); +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeGetClassLiteralFromPlaceHolder__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(entry){ + return entry instanceof Array?entry[0]:null; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeCoerceToLong__Ljava_lang_Object_2ZLjava_lang_Object_2(o, isLong){ + if (!isLong) { + return o; + } + if (typeof o == 'number') { + return com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(o); + } + return o; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeCoerceFromLong__Ljava_lang_Object_2ZLjava_lang_Object_2(o, isLong){ + if (!isLong) { + return o; + } + return com_google_gwt_lang_LongLib_toDouble__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(o); +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(methodRef, returnsLong, longParams){ + return function(){ + var args = []; + for (var i = 0; i < arguments.length; i++) { + var maybeCoerced = com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeCoerceToLong__Ljava_lang_Object_2ZLjava_lang_Object_2(arguments[i], longParams[i]); + args.push(maybeCoerced); + } + var result = methodRef.apply(this, args); + return returnsLong?com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeCoerceFromLong__Ljava_lang_Object_2ZLjava_lang_Object_2(result, returnsLong):result; + } + ; +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V(){ +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(typeId, superTypeId, castableTypeMap){ + var prototypesByTypeId = com_google_gwt_lang_JavaClassHierarchySetupUtil_prototypesByTypeId; + var createSubclassPrototype = com_google_gwt_lang_JavaClassHierarchySetupUtil_createSubclassPrototype__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2; + var maybeGetClassLiteralFromPlaceHolder = com_google_gwt_lang_JavaClassHierarchySetupUtil_maybeGetClassLiteralFromPlaceHolder__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2; + var prototype = prototypesByTypeId[typeId]; + var clazz = maybeGetClassLiteralFromPlaceHolder(prototype); + if (prototype && !clazz) { + _ = prototype; + } + else { + _ = prototypesByTypeId[typeId] = !superTypeId?{}:createSubclassPrototype(superTypeId); + _.java_lang_Object_castableTypeMap$ = castableTypeMap; + _.constructor = _; + !superTypeId && (_.java_lang_Object_typeMarker$ = com_google_gwt_lang_JavaClassHierarchySetupUtil_typeMarkerFn__V); + } + for (var i = 3; i < arguments.length; ++i) { + arguments[i].prototype = _; + } + clazz && (_.java_lang_Object__1_1_1clazz$ = clazz); +} + +function com_google_gwt_lang_JavaClassHierarchySetupUtil_createSubclassPrototype__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(superTypeId){ + var prototypesByTypeId = com_google_gwt_lang_JavaClassHierarchySetupUtil_prototypesByTypeId; + return com_google_gwt_lang_JavaClassHierarchySetupUtil_portableObjCreate__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(prototypesByTypeId[superTypeId]); +} + +function com_google_gwt_lang_ModuleUtils_setGwtProperty__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2V(propertyName, propertyValue){ + typeof window === 'object' && typeof window['$gwt'] === 'object' && (window['$gwt'][propertyName] = propertyValue); +} + +function com_google_gwt_lang_ModuleUtils_gwtOnLoad__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V(errFn, modName, modBase, softPermutationId){ + com_google_gwt_lang_ModuleUtils_ensureModuleInit__V(); + var initFnList = com_google_gwt_lang_ModuleUtils_initFnList; + $moduleName = modName; + $moduleBase = modBase; + com_google_gwt_lang_CollapsedPropertyHolder_permutationId = softPermutationId; + function initializeModules(){ + for (var i = 0; i < initFnList.length; i++) { + initFnList[i](); + } + } + + if (errFn) { + try { + $entry(initializeModules)(); + } + catch (e) { + errFn(modName, e); + } + } + else { + $entry(initializeModules)(); + } +} + +function com_google_gwt_lang_ModuleUtils_ensureModuleInit__V(){ + com_google_gwt_lang_ModuleUtils_initFnList == null && (com_google_gwt_lang_ModuleUtils_initFnList = []); +} + +function com_google_gwt_lang_ModuleUtils_addInitFunctions__V(){ + com_google_gwt_lang_ModuleUtils_ensureModuleInit__V(); + var initFnList = com_google_gwt_lang_ModuleUtils_initFnList; + for (var i = 0; i < arguments.length; i++) { + initFnList.push(arguments[i]); + } +} + +function java_lang_Object_$toString__Ljava_lang_Object_2Ljava_lang_String_2(this$static){ + return java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(this$static)) + '@' + (java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(this$static) >>> 0).toString(16); +} + +function java_lang_Object_Object__V(){ +} + +function java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(this$static, other){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(this$static)?java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static, other):com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(this$static)?this$static.equals__Ljava_lang_Object_2Z$(other):com_google_gwt_lang_Cast_isJavaArray__Ljava_lang_Object_2Z(this$static)?this$static === other:this$static === other; +} + +function java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(this$static){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(this$static)?com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit:com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(this$static)?this$static.java_lang_Object__1_1_1clazz$:com_google_gwt_lang_Cast_isJavaArray__Ljava_lang_Object_2Z(this$static)?this$static.java_lang_Object__1_1_1clazz$:com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit; +} + +function java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(this$static){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(this$static)?java_lang_String$HashCache_getHashCode__Ljava_lang_String_2I(this$static):com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(this$static)?this$static.hashCode__I$():com_google_gwt_lang_Cast_isJavaArray__Ljava_lang_Object_2Z(this$static)?com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this$static):com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this$static); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(1, null, {}, java_lang_Object_Object__V); +_.equals__Ljava_lang_Object_2Z$ = function(other){ + return this === other; +} +; +_.getClass__Ljava_lang_Class_2$ = function(){ + return this.java_lang_Object__1_1_1clazz$; +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_lang_Object_$toString__Ljava_lang_Object_2Ljava_lang_String_2(this); +} +; +_.toString = function(){ + return this.toString__Ljava_lang_String_2$(); +} +; +com_google_gwt_lang_Cast_stringCastMap = {3:1, 555:1, 5:1, 2:1}; +com_google_gwt_lang_JavaClassHierarchySetupUtil_modernizeBrowser__V(); +function com_google_gwt_core_client_JavaScriptObject_createFunction__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + return function(){ + } + ; +} + +function com_google_gwt_lang_Cast_canCast__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(src_0, dstId){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(src_0) && !!com_google_gwt_lang_Cast_stringCastMap[dstId] || src_0.java_lang_Object_castableTypeMap$ && !!src_0.java_lang_Object_castableTypeMap$[dstId]; +} + +function com_google_gwt_lang_Cast_charToString__CLjava_lang_String_2(x_0){ + return String.fromCharCode(x_0); +} + +function com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(src_0){ + return !com_google_gwt_lang_Cast_instanceofArray__Ljava_lang_Object_2Z(src_0) && com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(src_0); +} + +function com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(src_0, dstId){ + return src_0 != null && com_google_gwt_lang_Cast_canCast__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(src_0, dstId); +} + +function com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(src_0){ + return src_0 != null && !com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(src_0) && !com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(src_0); +} + +function com_google_gwt_lang_Cast_instanceofArray__Ljava_lang_Object_2Z(src_0){ + return Array.isArray(src_0); +} + +function com_google_gwt_lang_Cast_isJavaArray__Ljava_lang_Object_2Z(src_0){ + return com_google_gwt_lang_Cast_instanceofArray__Ljava_lang_Object_2Z(src_0) && com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(src_0); +} + +function com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(src_0){ + return typeof src_0 === 'string'; +} + +function com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(src_0){ + return src_0 == null?null:src_0; +} + +function com_google_gwt_lang_Cast_round_1byte__DB(x_0){ + return com_google_gwt_lang_Cast_round_1int__DI(x_0) << 24 >> 24; +} + +function com_google_gwt_lang_Cast_round_1int__DI(x_0){ + return Math.max(Math.min(x_0, 2147483647), -2147483648) | 0; +} + +function com_google_gwt_lang_Cast_round_1short__DS(x_0){ + return com_google_gwt_lang_Cast_round_1int__DI(x_0) << 16 >> 16; +} + +var com_google_gwt_lang_Cast_stringCastMap; +function java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(this$static){ + if (this$static.java_lang_Class_typeName != null) { + return; + } + java_lang_Class_initializeNames__Ljava_lang_Class_2V(this$static); +} + +function java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(this$static){ + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(this$static); + return this$static.java_lang_Class_typeName; +} + +function java_lang_Class_$getSimpleName__Ljava_lang_Class_2Ljava_lang_String_2(this$static){ + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(this$static); + return this$static.java_lang_Class_simpleName; +} + +function java_lang_Class_Class__V(){ + this.java_lang_Class_sequentialId = java_lang_Class_nextSequentialId++; + this.java_lang_Class_typeName = null; + this.java_lang_Class_simpleName = null; + this.java_lang_Class_packageName = null; + this.java_lang_Class_compoundName = null; + this.java_lang_Class_canonicalName = null; + this.java_lang_Class_typeId = null; + this.java_lang_Class_arrayLiterals = null; +} + +function java_lang_Class_createClassObject__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(typeId){ + var clazz; + clazz = new java_lang_Class_Class__V; + clazz.java_lang_Class_typeName = 'Class$' + (typeId?'S' + typeId:'' + clazz.java_lang_Class_sequentialId); + clazz.java_lang_Class_canonicalName = clazz.java_lang_Class_typeName; + clazz.java_lang_Class_simpleName = clazz.java_lang_Class_typeName; + return clazz; +} + +function java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(typeId){ + var clazz; + clazz = java_lang_Class_createClassObject__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(typeId); + java_lang_Class_maybeSetClassLiteral__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2V(typeId, clazz); + return clazz; +} + +function java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(typeId, enumConstantsFunc){ + var clazz; + clazz = java_lang_Class_createClassObject__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(typeId); + java_lang_Class_maybeSetClassLiteral__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2V(typeId, clazz); + clazz.java_lang_Class_modifiers = enumConstantsFunc?8:0; + return clazz; +} + +function java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(){ + var clazz; + clazz = java_lang_Class_createClassObject__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(null); + clazz.java_lang_Class_modifiers = 2; + return clazz; +} + +function java_lang_Class_createForPrimitive__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(primitiveTypeId){ + var clazz; + clazz = java_lang_Class_createClassObject__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(primitiveTypeId); + clazz.java_lang_Class_typeId = primitiveTypeId; + clazz.java_lang_Class_modifiers = 1; + return clazz; +} + +function java_lang_Class_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(leafClass, dimensions){ + var arrayLiterals = leafClass.java_lang_Class_arrayLiterals = leafClass.java_lang_Class_arrayLiterals || []; + return arrayLiterals[dimensions] || (arrayLiterals[dimensions] = leafClass.private$java_lang_Class$createClassLiteralForArray__ILjava_lang_Class_2(dimensions)); +} + +function java_lang_Class_getPrototypeForClass__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2(clazz){ + if (clazz.isPrimitive__Z()) { + return null; + } + var typeId = clazz.java_lang_Class_typeId; + var prototype = com_google_gwt_lang_JavaClassHierarchySetupUtil_prototypesByTypeId[typeId]; + return prototype; +} + +function java_lang_Class_initializeNames__Ljava_lang_Class_2V(clazz){ + if (clazz.isArray__Z()) { + var componentType = clazz.java_lang_Class_componentType; + componentType.isPrimitive__Z()?(clazz.java_lang_Class_typeName = '[' + componentType.java_lang_Class_typeId):!componentType.isArray__Z()?(clazz.java_lang_Class_typeName = '[L' + componentType.getName__Ljava_lang_String_2() + ';'):(clazz.java_lang_Class_typeName = '[' + componentType.getName__Ljava_lang_String_2()); + clazz.java_lang_Class_canonicalName = componentType.getCanonicalName__Ljava_lang_String_2() + '[]'; + clazz.java_lang_Class_simpleName = componentType.getSimpleName__Ljava_lang_String_2() + '[]'; + return; + } + var packageName = clazz.java_lang_Class_packageName; + var compoundName = clazz.java_lang_Class_compoundName; + compoundName = compoundName.split('/'); + clazz.java_lang_Class_typeName = java_lang_Class_join__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2('.', [packageName, java_lang_Class_join__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2('$', compoundName)]); + clazz.java_lang_Class_canonicalName = java_lang_Class_join__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2('.', [packageName, java_lang_Class_join__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2('.', compoundName)]); + clazz.java_lang_Class_simpleName = compoundName[compoundName.length - 1]; +} + +function java_lang_Class_join__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(separator, strings){ + var i = 0; + while (!strings[i] || strings[i] == '') { + i++; + } + var result = strings[i++]; + for (; i < strings.length; i++) { + if (!strings[i] || strings[i] == '') { + continue; + } + result += separator + strings[i]; + } + return result; +} + +function java_lang_Class_maybeSetClassLiteral__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2V(typeId, clazz){ + var proto; + if (!typeId) { + return; + } + clazz.java_lang_Class_typeId = typeId; + var prototype = java_lang_Class_getPrototypeForClass__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2(clazz); + if (!prototype) { + com_google_gwt_lang_JavaClassHierarchySetupUtil_prototypesByTypeId[typeId] = [clazz]; + return; + } + prototype.java_lang_Object__1_1_1clazz$ = clazz; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(125, 1, {}, java_lang_Class_Class__V); +_.private$java_lang_Class$createClassLiteralForArray__ILjava_lang_Class_2 = function(dimensions){ + var clazz; + clazz = new java_lang_Class_Class__V; + clazz.java_lang_Class_modifiers = 4; + dimensions > 1?(clazz.java_lang_Class_componentType = java_lang_Class_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(this, dimensions - 1)):(clazz.java_lang_Class_componentType = this); + return clazz; +} +; +_.getCanonicalName__Ljava_lang_String_2 = function(){ + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(this); + return this.java_lang_Class_canonicalName; +} +; +_.getName__Ljava_lang_String_2 = function(){ + return java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(this); +} +; +_.getSimpleName__Ljava_lang_String_2 = function(){ + return java_lang_Class_$getSimpleName__Ljava_lang_Class_2Ljava_lang_String_2(this); +} +; +_.isArray__Z = function(){ + return (this.java_lang_Class_modifiers & 4) != 0; +} +; +_.isPrimitive__Z = function(){ + return (this.java_lang_Class_modifiers & 1) != 0; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return ((this.java_lang_Class_modifiers & 2) != 0?'interface ':(this.java_lang_Class_modifiers & 1) != 0?'':'class ') + (java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(this) , this.java_lang_Class_typeName); +} +; +_.java_lang_Class_modifiers = 0; +_.java_lang_Class_sequentialId = 0; +var java_lang_Class_nextSequentialId = 1; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(1), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(0), com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Class_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(125); +function com_google_gwt_animation_client_Animation_$cancel__Lcom_google_gwt_animation_client_Animation_2V(this$static){ + if (!this$static.com_google_gwt_animation_client_Animation_isRunning) { + return; + } + this$static.com_google_gwt_animation_client_Animation_wasStarted = this$static.com_google_gwt_animation_client_Animation_isStarted; + this$static.com_google_gwt_animation_client_Animation_element = null; + this$static.com_google_gwt_animation_client_Animation_isRunning = false; + this$static.com_google_gwt_animation_client_Animation_isStarted = false; + if (this$static.com_google_gwt_animation_client_Animation_requestHandle) { + this$static.com_google_gwt_animation_client_Animation_requestHandle.cancel__V(); + this$static.com_google_gwt_animation_client_Animation_requestHandle = null; + } + this$static.com_google_gwt_animation_client_Animation_wasStarted && this$static.onComplete__V(); +} + +function com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDLcom_google_gwt_dom_client_Element_2V(this$static, startTime){ + com_google_gwt_animation_client_Animation_$cancel__Lcom_google_gwt_animation_client_Animation_2V(this$static); + this$static.com_google_gwt_animation_client_Animation_isRunning = true; + this$static.com_google_gwt_animation_client_Animation_isStarted = false; + this$static.com_google_gwt_animation_client_Animation_duration = 200; + this$static.com_google_gwt_animation_client_Animation_startTime = startTime; + this$static.com_google_gwt_animation_client_Animation_element = null; + ++this$static.com_google_gwt_animation_client_Animation_runId; + com_google_gwt_animation_client_Animation$1_$execute__Lcom_google_gwt_animation_client_Animation$1_2DV(this$static.com_google_gwt_animation_client_Animation_callback, com_google_gwt_core_client_JsDate_now__D()); +} + +function com_google_gwt_animation_client_Animation_$update__Lcom_google_gwt_animation_client_Animation_2DZ(this$static, curTime){ + var curRunId, finished, progress; + curRunId = this$static.com_google_gwt_animation_client_Animation_runId; + finished = curTime >= this$static.com_google_gwt_animation_client_Animation_startTime + this$static.com_google_gwt_animation_client_Animation_duration; + if (this$static.com_google_gwt_animation_client_Animation_isStarted && !finished) { + progress = (curTime - this$static.com_google_gwt_animation_client_Animation_startTime) / this$static.com_google_gwt_animation_client_Animation_duration; + this$static.onUpdate__DV((1 + Math.cos($intern_0 + progress * $intern_0)) / 2); + return this$static.com_google_gwt_animation_client_Animation_isRunning && this$static.com_google_gwt_animation_client_Animation_runId == curRunId; + } + if (!this$static.com_google_gwt_animation_client_Animation_isStarted && curTime >= this$static.com_google_gwt_animation_client_Animation_startTime) { + this$static.com_google_gwt_animation_client_Animation_isStarted = true; + this$static.onStart__V(); + if (!(this$static.com_google_gwt_animation_client_Animation_isRunning && this$static.com_google_gwt_animation_client_Animation_runId == curRunId)) { + return false; + } + } + if (finished) { + this$static.com_google_gwt_animation_client_Animation_isRunning = false; + this$static.com_google_gwt_animation_client_Animation_isStarted = false; + this$static.onComplete__V(); + return false; + } + return true; +} + +function com_google_gwt_animation_client_Animation_Animation__V(){ + com_google_gwt_animation_client_Animation_Animation__Lcom_google_gwt_animation_client_AnimationScheduler_2V.call(this, (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance)); +} + +function com_google_gwt_animation_client_Animation_Animation__Lcom_google_gwt_animation_client_AnimationScheduler_2V(scheduler){ + this.com_google_gwt_animation_client_Animation_callback = new com_google_gwt_animation_client_Animation$1_Animation$1__Lcom_google_gwt_animation_client_Animation_2V(this); + this.com_google_gwt_animation_client_Animation_scheduler = scheduler; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(102, 1, {}); +_.onComplete__V = function(){ + this.onUpdate__DV((1 + java_lang_Math_cos__DD(6.283185307179586)) / 2); +} +; +_.onStart__V = function(){ + this.onUpdate__DV((1 + java_lang_Math_cos__DD($intern_0)) / 2); +} +; +_.com_google_gwt_animation_client_Animation_duration = -1; +_.com_google_gwt_animation_client_Animation_isRunning = false; +_.com_google_gwt_animation_client_Animation_isStarted = false; +_.com_google_gwt_animation_client_Animation_runId = -1; +_.com_google_gwt_animation_client_Animation_startTime = -1; +_.com_google_gwt_animation_client_Animation_wasStarted = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1Animation_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(102); +function com_google_gwt_animation_client_Animation$1_$execute__Lcom_google_gwt_animation_client_Animation$1_2DV(this$static, timestamp){ + com_google_gwt_animation_client_Animation_$update__Lcom_google_gwt_animation_client_Animation_2DZ(this$static.com_google_gwt_animation_client_Animation$1_this$01, timestamp)?(this$static.com_google_gwt_animation_client_Animation$1_this$01.com_google_gwt_animation_client_Animation_requestHandle = this$static.com_google_gwt_animation_client_Animation$1_this$01.com_google_gwt_animation_client_Animation_scheduler.requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this$static.com_google_gwt_animation_client_Animation$1_this$01.com_google_gwt_animation_client_Animation_callback, this$static.com_google_gwt_animation_client_Animation$1_this$01.com_google_gwt_animation_client_Animation_element)):(this$static.com_google_gwt_animation_client_Animation$1_this$01.com_google_gwt_animation_client_Animation_requestHandle = null); +} + +function com_google_gwt_animation_client_Animation$1_Animation$1__Lcom_google_gwt_animation_client_Animation_2V(this$0){ + this.com_google_gwt_animation_client_Animation$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(277, 1, {}, com_google_gwt_animation_client_Animation$1_Animation$1__Lcom_google_gwt_animation_client_Animation_2V); +_.execute__DV = function(timestamp){ + com_google_gwt_animation_client_Animation$1_$execute__Lcom_google_gwt_animation_client_Animation$1_2DV(this, timestamp); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1Animation$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(277); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(535, 1, {}); +var com_google_gwt_animation_client_AnimationScheduler_instance; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationScheduler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(535); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(99, 1, {99:1}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationScheduler$AnimationHandle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(99); +function com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z(){ + return !!$wnd.requestAnimationFrame && !!$wnd.cancelAnimationFrame; +} + +function com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V(){ +} + +function com_google_gwt_animation_client_AnimationSchedulerImplStandard_cancelImpl__Lcom_google_gwt_core_client_JavaScriptObject_2V(holder){ + $wnd.cancelAnimationFrame(holder.id); +} + +function com_google_gwt_animation_client_AnimationSchedulerImplStandard_requestImpl__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(cb, element){ + var callback = $entry(function(){ + var time = com_google_gwt_core_client_JsDate_now__D(); + cb.execute__DV(time); + } + ); + var handle = $wnd.requestAnimationFrame(callback, element); + return {id:handle}; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(53, 535, {}, com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V); +_.requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2 = function(callback, element){ + var handle; + handle = com_google_gwt_animation_client_AnimationSchedulerImplStandard_requestImpl__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(callback, element); + return new com_google_gwt_animation_client_AnimationSchedulerImplStandard$1_AnimationSchedulerImplStandard$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard_2V(handle); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplStandard_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(53); +function com_google_gwt_animation_client_AnimationSchedulerImplStandard$1_AnimationSchedulerImplStandard$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard_2V(val$handle){ + this.com_google_gwt_animation_client_AnimationSchedulerImplStandard$1_val$handle2 = val$handle; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(486, 99, {99:1}, com_google_gwt_animation_client_AnimationSchedulerImplStandard$1_AnimationSchedulerImplStandard$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard_2V); +_.cancel__V = function(){ + com_google_gwt_animation_client_AnimationSchedulerImplStandard_cancelImpl__Lcom_google_gwt_core_client_JavaScriptObject_2V(this.com_google_gwt_animation_client_AnimationSchedulerImplStandard$1_val$handle2); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplStandard$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(486); +function com_google_gwt_animation_client_AnimationSchedulerImplTimer_$cancelAnimationFrame__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2V(this$static, requestId){ + java_util_ArrayList_$remove__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests, requestId); + this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests.java_util_ArrayList_array.length == 0 && com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_timer); +} + +function com_google_gwt_animation_client_AnimationSchedulerImplTimer_$updateAnimations__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2V(this$static){ + var curAnimations, duration, requestId, requestId$index, requestId$max; + curAnimations = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplTimer$AnimationHandleImpl_12_1classLit, $intern_1, 123, this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests.java_util_ArrayList_array.length, 0, 1); + curAnimations = java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests, curAnimations); + duration = new com_google_gwt_core_client_Duration_Duration__V; + for (requestId$index = 0 , requestId$max = curAnimations.length; requestId$index < requestId$max; ++requestId$index) { + requestId = curAnimations[requestId$index]; + java_util_ArrayList_$remove__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests, requestId); + requestId.com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_callback.execute__DV(duration.com_google_gwt_core_client_Duration_start); + } + this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests.java_util_ArrayList_array.length > 0 && com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static.com_google_gwt_animation_client_AnimationSchedulerImplTimer_timer, java_lang_Math_max__III(5, 16 - (com_google_gwt_core_client_JsDate_now__D() - duration.com_google_gwt_core_client_Duration_start))); +} + +function com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V(){ + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests = new java_util_ArrayList_ArrayList__V; + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer_timer = new com_google_gwt_animation_client_AnimationSchedulerImplTimer$1_AnimationSchedulerImplTimer$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(54, 535, {}, com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V); +_.requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2 = function(callback, element){ + var requestId; + requestId = new com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_AnimationSchedulerImplTimer$AnimationHandleImpl__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2V(this, callback); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests, requestId); + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer_animationRequests.java_util_ArrayList_array.length == 1 && com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this.com_google_gwt_animation_client_AnimationSchedulerImplTimer_timer, 16); + return requestId; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplTimer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(54); +function com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static){ + if (!this$static.com_google_gwt_user_client_Timer_timerId) { + return; + } + ++this$static.com_google_gwt_user_client_Timer_cancelCounter; + this$static.com_google_gwt_user_client_Timer_isRepeating?com_google_gwt_user_client_Timer_clearInterval__IV(this$static.com_google_gwt_user_client_Timer_timerId.java_lang_Integer_value):com_google_gwt_user_client_Timer_clearTimeout__IV(this$static.com_google_gwt_user_client_Timer_timerId.java_lang_Integer_value); + this$static.com_google_gwt_user_client_Timer_timerId = null; +} + +function com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static, delayMillis){ + if (delayMillis < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('must be non-negative'); + } + !!this$static.com_google_gwt_user_client_Timer_timerId && com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static); + this$static.com_google_gwt_user_client_Timer_isRepeating = false; + this$static.com_google_gwt_user_client_Timer_timerId = java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_user_client_Timer_setTimeout__Lcom_google_gwt_core_client_JavaScriptObject_2II(com_google_gwt_user_client_Timer_createCallback__Lcom_google_gwt_user_client_Timer_2ILcom_google_gwt_core_client_JavaScriptObject_2(this$static, this$static.com_google_gwt_user_client_Timer_cancelCounter), delayMillis)); +} + +function com_google_gwt_user_client_Timer_Timer__V(){ +} + +function com_google_gwt_user_client_Timer_clearInterval__IV(timerId){ + $wnd.clearInterval(timerId); +} + +function com_google_gwt_user_client_Timer_clearTimeout__IV(timerId){ + $wnd.clearTimeout(timerId); +} + +function com_google_gwt_user_client_Timer_createCallback__Lcom_google_gwt_user_client_Timer_2ILcom_google_gwt_core_client_JavaScriptObject_2(timer, cancelCounter){ + return $entry(function(){ + timer.package_private$com_google_gwt_user_client_Timer$fire__IV(cancelCounter); + } + ); +} + +function com_google_gwt_user_client_Timer_setTimeout__Lcom_google_gwt_core_client_JavaScriptObject_2II(func, time){ + return $wnd.setTimeout(func, time); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(39, 1, {}); +_.package_private$com_google_gwt_user_client_Timer$fire__IV = function(scheduleCancelCounter){ + if (scheduleCancelCounter != this.com_google_gwt_user_client_Timer_cancelCounter) { + return; + } + this.com_google_gwt_user_client_Timer_isRepeating || (this.com_google_gwt_user_client_Timer_timerId = null); + this.run__V(); +} +; +_.com_google_gwt_user_client_Timer_cancelCounter = 0; +_.com_google_gwt_user_client_Timer_isRepeating = false; +_.com_google_gwt_user_client_Timer_timerId = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1Timer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(39); +function com_google_gwt_animation_client_AnimationSchedulerImplTimer$1_AnimationSchedulerImplTimer$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2V(this$0){ + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer$1_this$01 = this$0; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(487, 39, {}, com_google_gwt_animation_client_AnimationSchedulerImplTimer$1_AnimationSchedulerImplTimer$1__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2V); +_.run__V = function(){ + com_google_gwt_animation_client_AnimationSchedulerImplTimer_$updateAnimations__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2V(this.com_google_gwt_animation_client_AnimationSchedulerImplTimer$1_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplTimer$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(487); +function com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_AnimationSchedulerImplTimer$AnimationHandleImpl__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2V(this$0, callback){ + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_this$01 = this$0; + this.com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_callback = callback; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(123, 99, {99:1, 123:1}, com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_AnimationSchedulerImplTimer$AnimationHandleImpl__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2V); +_.cancel__V = function(){ + com_google_gwt_animation_client_AnimationSchedulerImplTimer_$cancelAnimationFrame__Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2V(this.com_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_this$01, this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1animation_1client_1AnimationSchedulerImplTimer$AnimationHandleImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(123); +function java_lang_Throwable_$fillInStackTrace__Ljava_lang_Throwable_2Ljava_lang_Throwable_2(this$static){ + this$static.java_lang_Throwable_stackTrace = null; + com_google_gwt_core_client_impl_StackTraceCreator_captureStackTrace__Ljava_lang_Throwable_2Ljava_lang_Object_2V(); + return this$static; +} + +function java_lang_Throwable_$initCause__Ljava_lang_Throwable_2Ljava_lang_Throwable_2Ljava_lang_Throwable_2(this$static, cause){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZLjava_lang_Object_2V(!this$static.java_lang_Throwable_cause); + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_Object_2V(cause != this$static, 'Self-causation not permitted'); + this$static.java_lang_Throwable_cause = cause; + return this$static; +} + +function java_lang_Throwable_$printStackTrace__Ljava_lang_Throwable_2Ljava_io_PrintStream_2V(this$static){ + var element$array, element$index, element$max, t, com_google_gwt_core_client_impl_StackTraceCreator_constructJavaStackTrace__Ljava_lang_Throwable_2_3Ljava_lang_StackTraceElement_2_stackTrace_0; + for (t = this$static; t; t = t.java_lang_Throwable_cause) { + for (element$array = (t.java_lang_Throwable_stackTrace == null && (t.java_lang_Throwable_stackTrace = (com_google_gwt_core_client_impl_StackTraceCreator_$clinit__V() , com_google_gwt_core_client_impl_StackTraceCreator_constructJavaStackTrace__Ljava_lang_Throwable_2_3Ljava_lang_StackTraceElement_2_stackTrace_0 = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1StackTraceElement_12_1classLit, $intern_1, 667, 0, 0, 1) , com_google_gwt_core_client_impl_StackTraceCreator_dropInternalFrames___3Ljava_lang_StackTraceElement_2_3Ljava_lang_StackTraceElement_2(com_google_gwt_core_client_impl_StackTraceCreator_constructJavaStackTrace__Ljava_lang_Throwable_2_3Ljava_lang_StackTraceElement_2_stackTrace_0))) , t.java_lang_Throwable_stackTrace) , element$index = 0 , element$max = element$array.length; element$index < element$max; ++element$index) + ; + } +} + +function java_lang_Throwable_$toString__Ljava_lang_Throwable_2Ljava_lang_String_2(this$static){ + var className, msg; + className = java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(this$static.java_lang_Object__1_1_1clazz$); + msg = this$static.getMessage__Ljava_lang_String_2(); + return msg != null?className + ': ' + msg:className; +} + +function java_lang_Throwable_Throwable__Ljava_lang_String_2Ljava_lang_Throwable_2V(message, cause){ + this.java_lang_Throwable_cause = cause; + this.java_lang_Throwable_detailMessage = message; + java_lang_Throwable_$fillInStackTrace__Ljava_lang_Throwable_2Ljava_lang_Throwable_2(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(13, 1, $intern_2); +_.getMessage__Ljava_lang_String_2 = function(){ + return this.java_lang_Throwable_detailMessage; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_lang_Throwable_$toString__Ljava_lang_Throwable_2Ljava_lang_String_2(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Throwable_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(13); +function java_lang_Exception_Exception__Ljava_lang_String_2V(message){ + this.java_lang_Throwable_detailMessage = message; + java_lang_Throwable_$fillInStackTrace__Ljava_lang_Throwable_2Ljava_lang_Throwable_2(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(12, 13, $intern_3, java_lang_Exception_Exception__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Exception_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(12); +function java_lang_RuntimeException_RuntimeException__V(){ + java_lang_Throwable_$fillInStackTrace__Ljava_lang_Throwable_2Ljava_lang_Throwable_2(this); +} + +function java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V(message){ + java_lang_Exception_Exception__Ljava_lang_String_2V.call(this, message); +} + +function java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2Ljava_lang_Throwable_2V(message, cause){ + java_lang_Throwable_Throwable__Ljava_lang_String_2Ljava_lang_Throwable_2V.call(this, message, cause); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(10, 12, $intern_4, java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1RuntimeException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(10); +function com_google_gwt_core_client_CodeDownloadException_CodeDownloadException__Ljava_lang_String_2V(message){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(554, 10, $intern_4, com_google_gwt_core_client_CodeDownloadException_CodeDownloadException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1CodeDownloadException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(554); +function com_google_gwt_core_client_Duration_Duration__V(){ + this.com_google_gwt_core_client_Duration_start = com_google_gwt_core_client_JsDate_now__D(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(161, 1, {}, com_google_gwt_core_client_Duration_Duration__V); +_.com_google_gwt_core_client_Duration_start = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1Duration_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(161); +function com_google_gwt_core_client_GWT_isScript__Z(){ + return true; +} + +function com_google_gwt_core_client_GWT_setUncaughtExceptionHandler__Lcom_google_gwt_core_client_GWT$UncaughtExceptionHandler_2V(handler){ + com_google_gwt_core_client_GWT_uncaughtExceptionHandler = handler; +} + +var com_google_gwt_core_client_GWT_uncaughtExceptionHandler = null; +function com_google_gwt_core_client_JavaScriptException_$clinit__V(){ + com_google_gwt_core_client_JavaScriptException_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_core_client_JavaScriptException_NOT_1SET = new java_lang_Object_Object__V; +} + +function com_google_gwt_core_client_JavaScriptException_$ensureInit__Lcom_google_gwt_core_client_JavaScriptException_2V(this$static){ + var exception; + if (this$static.com_google_gwt_core_client_JavaScriptException_message == null) { + exception = com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_google_gwt_core_client_JavaScriptException_e) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_core_client_JavaScriptException_NOT_1SET)?null:this$static.com_google_gwt_core_client_JavaScriptException_e; + this$static.com_google_gwt_core_client_JavaScriptException_name = exception == null?'null':com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(exception)?exception == null?null:exception.name:com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(exception)?'String':java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(exception)); + this$static.com_google_gwt_core_client_JavaScriptException_description = this$static.com_google_gwt_core_client_JavaScriptException_description + ': ' + (com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(exception)?exception == null?null:exception.message:exception + ''); + this$static.com_google_gwt_core_client_JavaScriptException_message = '(' + this$static.com_google_gwt_core_client_JavaScriptException_name + ') ' + this$static.com_google_gwt_core_client_JavaScriptException_description; + } +} + +function com_google_gwt_core_client_JavaScriptException_JavaScriptException__Ljava_lang_Object_2V(e){ + com_google_gwt_core_client_JavaScriptException_$clinit__V(); + this.java_lang_Throwable_cause = null; + this.java_lang_Throwable_detailMessage = null; + this.com_google_gwt_core_client_JavaScriptException_description = ''; + this.com_google_gwt_core_client_JavaScriptException_e = e; + this.com_google_gwt_core_client_JavaScriptException_description = ''; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(56, 10, {56:1, 3:1, 12:1, 10:1, 13:1}, com_google_gwt_core_client_JavaScriptException_JavaScriptException__Ljava_lang_Object_2V); +_.getMessage__Ljava_lang_String_2 = function(){ + return com_google_gwt_core_client_JavaScriptException_$ensureInit__Lcom_google_gwt_core_client_JavaScriptException_2V(this) , this.com_google_gwt_core_client_JavaScriptException_message; +} +; +_.getThrown__Ljava_lang_Object_2 = function(){ + return com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(this.com_google_gwt_core_client_JavaScriptException_e) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_core_client_JavaScriptException_NOT_1SET)?null:this.com_google_gwt_core_client_JavaScriptException_e; +} +; +var com_google_gwt_core_client_JavaScriptException_NOT_1SET; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(56); +function com_google_gwt_core_client_JsArray_$push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JavaScriptObject_2V(this$static, value_0){ + this$static[this$static.length] = value_0; +} + +function com_google_gwt_core_client_JsArrayInteger_$push__Lcom_google_gwt_core_client_JsArrayInteger_2IV(this$static, value_0){ + this$static[this$static.length] = value_0; +} + +function com_google_gwt_core_client_JsArrayMixed_$getObject__Lcom_google_gwt_core_client_JsArrayMixed_2ILcom_google_gwt_core_client_JavaScriptObject_2(this$static, index_0){ + return this$static[index_0] != null?Object(this$static[index_0]):null; +} + +function com_google_gwt_core_client_JsArrayMixed_$push__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_String_2V(this$static, value_0){ + this$static[this$static.length] = value_0; +} + +function com_google_gwt_core_client_JsDate_now__D(){ + if (Date.now) { + return Date.now(); + } + return (new Date).getTime(); +} + +function com_google_gwt_core_client_JsonUtils_safeEval__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2(json){ + try { + return JSON.parse(json); + } + catch (e) { + return com_google_gwt_core_client_JsonUtils_throwIllegalArgumentException__Ljava_lang_String_2Ljava_lang_String_2V('Error parsing JSON: ' + e, json); + } +} + +function com_google_gwt_core_client_JsonUtils_throwIllegalArgumentException__Ljava_lang_String_2Ljava_lang_String_2V(message, data_0){ + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V(message + '\n' + data_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(512, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1Scheduler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(512); +function com_google_gwt_core_client_ScriptInjector_$clinit__V(){ + com_google_gwt_core_client_ScriptInjector_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_core_client_ScriptInjector_TOP_1WINDOW = $wnd; +} + +function com_google_gwt_core_client_ScriptInjector_attachListeners__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_Callback_2ZV(scriptElement, callback, removeTag){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + function clearCallbacks(){ + scriptElement.onerror = scriptElement.onreadystatechange = scriptElement.onload = null; + removeTag && com_google_gwt_core_client_ScriptInjector_nativeRemove__Lcom_google_gwt_core_client_JavaScriptObject_2V(scriptElement); + } + + scriptElement.onload = $entry(function(){ + clearCallbacks(); + callback && callback.onSuccess__Ljava_lang_Object_2V(null); + } + ); + scriptElement.onerror = $entry(function(){ + clearCallbacks(); + if (callback) { + var ex = new com_google_gwt_core_client_CodeDownloadException_CodeDownloadException__Ljava_lang_String_2V('onerror() called.'); + callback.onFailure__Ljava_lang_Object_2V(ex); + } + } + ); + scriptElement.onreadystatechange = $entry(function(){ + /loaded|complete/.test(scriptElement.readyState) && scriptElement.onload(); + } + ); +} + +function com_google_gwt_core_client_ScriptInjector_nativeAttachToHead__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V(doc, scriptElement){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + (doc.head || doc.getElementsByTagName('head')[0]).appendChild(scriptElement); +} + +function com_google_gwt_core_client_ScriptInjector_nativeDefaultWindow__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + return window; +} + +function com_google_gwt_core_client_ScriptInjector_nativeGetDocument__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(wnd){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + return wnd.document; +} + +function com_google_gwt_core_client_ScriptInjector_nativeMakeScriptElement__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(doc){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + return doc.createElement('script'); +} + +function com_google_gwt_core_client_ScriptInjector_nativeRemove__Lcom_google_gwt_core_client_JavaScriptObject_2V(scriptElement){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + scriptElement.parentNode.removeChild(scriptElement); +} + +function com_google_gwt_core_client_ScriptInjector_nativeSetSrc__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2V(element, url_0){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + element.src = url_0; +} + +function com_google_gwt_core_client_ScriptInjector_nativeSetText__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2V(element, scriptBody){ + com_google_gwt_core_client_ScriptInjector_$clinit__V(); + element.text = scriptBody; +} + +var com_google_gwt_core_client_ScriptInjector_TOP_1WINDOW; +function com_google_gwt_core_client_ScriptInjector$FromString_$inject__Lcom_google_gwt_core_client_ScriptInjector$FromString_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static){ + var doc, scriptElement, wnd; + wnd = !this$static.com_google_gwt_core_client_ScriptInjector$FromString_window?com_google_gwt_core_client_ScriptInjector_nativeDefaultWindow__Lcom_google_gwt_core_client_JavaScriptObject_2():this$static.com_google_gwt_core_client_ScriptInjector$FromString_window; + doc = com_google_gwt_core_client_ScriptInjector_nativeGetDocument__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(wnd); + scriptElement = com_google_gwt_core_client_ScriptInjector_nativeMakeScriptElement__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(doc); + com_google_gwt_core_client_ScriptInjector_nativeSetText__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2V(scriptElement, this$static.com_google_gwt_core_client_ScriptInjector$FromString_scriptBody); + com_google_gwt_core_client_ScriptInjector_nativeAttachToHead__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V(doc, scriptElement); + this$static.com_google_gwt_core_client_ScriptInjector$FromString_removeTag && com_google_gwt_core_client_ScriptInjector_nativeRemove__Lcom_google_gwt_core_client_JavaScriptObject_2V(scriptElement); + return scriptElement; +} + +function com_google_gwt_core_client_ScriptInjector$FromString_$setWindow__Lcom_google_gwt_core_client_ScriptInjector$FromString_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_ScriptInjector$FromString_2(this$static, window_0){ + this$static.com_google_gwt_core_client_ScriptInjector$FromString_window = window_0; + return this$static; +} + +function com_google_gwt_core_client_ScriptInjector$FromString_ScriptInjector$FromString__Ljava_lang_String_2V(scriptBody){ + this.com_google_gwt_core_client_ScriptInjector$FromString_scriptBody = scriptBody; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(324, 1, {}, com_google_gwt_core_client_ScriptInjector$FromString_ScriptInjector$FromString__Ljava_lang_String_2V); +_.com_google_gwt_core_client_ScriptInjector$FromString_removeTag = true; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1ScriptInjector$FromString_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(324); +function com_google_gwt_core_client_ScriptInjector$FromUrl_$inject__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static){ + var doc, scriptElement, wnd; + wnd = !this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_window?com_google_gwt_core_client_ScriptInjector_nativeDefaultWindow__Lcom_google_gwt_core_client_JavaScriptObject_2():this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_window; + doc = com_google_gwt_core_client_ScriptInjector_nativeGetDocument__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(wnd); + scriptElement = com_google_gwt_core_client_ScriptInjector_nativeMakeScriptElement__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(doc); + !!this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_callback && com_google_gwt_core_client_ScriptInjector_attachListeners__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_Callback_2ZV(scriptElement, this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_callback, false); + com_google_gwt_core_client_ScriptInjector_nativeSetSrc__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2V(scriptElement, this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_scriptUrl); + com_google_gwt_core_client_ScriptInjector_nativeAttachToHead__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V(doc, scriptElement); + return scriptElement; +} + +function com_google_gwt_core_client_ScriptInjector$FromUrl_$setCallback__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_Callback_2Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2(this$static, callback){ + this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_callback = callback; + return this$static; +} + +function com_google_gwt_core_client_ScriptInjector$FromUrl_$setWindow__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2(this$static, window_0){ + this$static.com_google_gwt_core_client_ScriptInjector$FromUrl_window = window_0; + return this$static; +} + +function com_google_gwt_core_client_ScriptInjector$FromUrl_ScriptInjector$FromUrl__Ljava_lang_String_2V(scriptUrl){ + this.com_google_gwt_core_client_ScriptInjector$FromUrl_scriptUrl = scriptUrl; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(325, 1, {}, com_google_gwt_core_client_ScriptInjector$FromUrl_ScriptInjector$FromUrl__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1ScriptInjector$FromUrl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(325); +function com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, thisObj, args){ + return jsFunction.apply(thisObj, args); + var _; +} + +function com_google_gwt_core_client_impl_Impl_enter__Z(){ + var now_0; + if (com_google_gwt_core_client_impl_Impl_entryDepth != 0) { + now_0 = com_google_gwt_core_client_JsDate_now__D(); + if (now_0 - com_google_gwt_core_client_impl_Impl_watchdogEntryDepthLastScheduled > 2000) { + com_google_gwt_core_client_impl_Impl_watchdogEntryDepthLastScheduled = now_0; + com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId = $wnd.setTimeout(com_google_gwt_core_client_impl_Impl_watchdogEntryDepthRun__V, 10); + } + } + if (com_google_gwt_core_client_impl_Impl_entryDepth++ == 0) { + com_google_gwt_core_client_impl_SchedulerImpl_$flushEntryCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE)); + return true; + } + return false; +} + +function com_google_gwt_core_client_impl_Impl_entry__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(jsFunction){ + return function(){ + if (com_google_gwt_core_client_GWT_isScript__Z()) { + return com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, this, arguments); + } + else { + var _ = com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, this, arguments); + _ != null && (_ = _.val); + return _; + } + } + ; +} + +function com_google_gwt_core_client_impl_Impl_entry0__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, thisObj, args){ + var initialEntry, t; + initialEntry = com_google_gwt_core_client_impl_Impl_enter__Z(); + try { + if (com_google_gwt_core_client_GWT_uncaughtExceptionHandler) { + try { + return com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, thisObj, args); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 13)) { + t = $e0; + com_google_gwt_core_client_impl_Impl_reportUncaughtException__Ljava_lang_Throwable_2V(t); + return undefined; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + else { + return com_google_gwt_core_client_impl_Impl_apply__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(jsFunction, thisObj, args); + } + } + finally { + com_google_gwt_core_client_impl_Impl_exit__ZV(initialEntry); + } +} + +function com_google_gwt_core_client_impl_Impl_exit__ZV(initialEntry){ + initialEntry && com_google_gwt_core_client_impl_SchedulerImpl_$flushFinallyCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE)); + --com_google_gwt_core_client_impl_Impl_entryDepth; + if (initialEntry) { + if (com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId != -1) { + com_google_gwt_core_client_impl_Impl_watchdogEntryDepthCancel__IV(com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId); + com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId = -1; + } + } +} + +function com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(o){ + return o.$H || (o.$H = ++com_google_gwt_core_client_impl_Impl_sNextHashId); +} + +function com_google_gwt_core_client_impl_Impl_reportToBrowser__Ljava_lang_Object_2V(e){ + $wnd.setTimeout(function(){ + throw e; + } + , 0); +} + +function com_google_gwt_core_client_impl_Impl_reportUncaughtException__Ljava_lang_Throwable_2V(e){ + var handler; + handler = com_google_gwt_core_client_GWT_uncaughtExceptionHandler; + if (handler) { + if (handler == com_google_gwt_core_client_impl_Impl_uncaughtExceptionHandlerForTest) { + return; + } + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(handler, e, false); + return; + } + com_google_gwt_core_client_impl_Impl_reportToBrowser__Ljava_lang_Object_2V(com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(e, 56)?e.getThrown__Ljava_lang_Object_2():e); +} + +function com_google_gwt_core_client_impl_Impl_watchdogEntryDepthCancel__IV(timerId){ + $wnd.clearTimeout(timerId); +} + +function com_google_gwt_core_client_impl_Impl_watchdogEntryDepthRun__V(){ + com_google_gwt_core_client_impl_Impl_entryDepth != 0 && (com_google_gwt_core_client_impl_Impl_entryDepth = 0); + com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId = -1; +} + +var com_google_gwt_core_client_impl_Impl_entryDepth = 0, com_google_gwt_core_client_impl_Impl_sNextHashId = 0, com_google_gwt_core_client_impl_Impl_uncaughtExceptionHandlerForTest, com_google_gwt_core_client_impl_Impl_watchdogEntryDepthLastScheduled = 0, com_google_gwt_core_client_impl_Impl_watchdogEntryDepthTimerId = -1; +function com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V(){ + com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE = new com_vaadin_client_VSchedulerImpl_VSchedulerImpl__V; +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$flushEntryCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static){ + var oldQueue, rescheduled; + if (this$static.com_google_gwt_core_client_impl_SchedulerImpl_entryCommands) { + rescheduled = null; + do { + oldQueue = this$static.com_google_gwt_core_client_impl_SchedulerImpl_entryCommands; + this$static.com_google_gwt_core_client_impl_SchedulerImpl_entryCommands = null; + rescheduled = com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(oldQueue, rescheduled); + } + while (this$static.com_google_gwt_core_client_impl_SchedulerImpl_entryCommands); + this$static.com_google_gwt_core_client_impl_SchedulerImpl_entryCommands = rescheduled; + } +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$flushFinallyCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static){ + var oldQueue, rescheduled; + if (this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands) { + rescheduled = null; + do { + oldQueue = this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands; + this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands = null; + rescheduled = com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(oldQueue, rescheduled); + } + while (this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands); + this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands = rescheduled; + } +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$flushPostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static){ + var oldDeferred; + if (this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands) { + oldDeferred = this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands; + this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands = null; + !this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands && (this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands = []); + com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(oldDeferred, this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands); + } + !!this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands && (this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands = com_google_gwt_core_client_impl_SchedulerImpl_$runRepeatingTasks__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands)); +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$isWorkQueued__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Z(this$static){ + return !!this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands || !!this$static.com_google_gwt_core_client_impl_SchedulerImpl_incrementalCommands; +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$maybeSchedulePostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static){ + if (!this$static.com_google_gwt_core_client_impl_SchedulerImpl_shouldBeRunning) { + this$static.com_google_gwt_core_client_impl_SchedulerImpl_shouldBeRunning = true; + !this$static.com_google_gwt_core_client_impl_SchedulerImpl_flusher && (this$static.com_google_gwt_core_client_impl_SchedulerImpl_flusher = new com_google_gwt_core_client_impl_SchedulerImpl$Flusher_SchedulerImpl$Flusher__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static)); + com_google_gwt_core_client_impl_SchedulerImpl_scheduleFixedDelayImpl__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2IV(this$static.com_google_gwt_core_client_impl_SchedulerImpl_flusher, 1); + !this$static.com_google_gwt_core_client_impl_SchedulerImpl_rescue && (this$static.com_google_gwt_core_client_impl_SchedulerImpl_rescue = new com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_SchedulerImpl$Rescuer__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static)); + com_google_gwt_core_client_impl_SchedulerImpl_scheduleFixedDelayImpl__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2IV(this$static.com_google_gwt_core_client_impl_SchedulerImpl_rescue, 50); + } +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$runRepeatingTasks__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(tasks){ + var canceledSomeTasks, duration, executedSomeTask, i, length_0, newTasks, t; + length_0 = tasks.length; + if (length_0 == 0) { + return null; + } + canceledSomeTasks = false; + duration = new com_google_gwt_core_client_Duration_Duration__V; + while (com_google_gwt_core_client_JsDate_now__D() - duration.com_google_gwt_core_client_Duration_start < 16) { + executedSomeTask = false; + for (i = 0; i < length_0; i++) { + t = tasks[i]; + if (!t) { + continue; + } + executedSomeTask = true; + if (!t[0].execute__Z()) { + tasks[i] = null; + canceledSomeTasks = true; + } + } + if (!executedSomeTask) { + break; + } + } + if (canceledSomeTasks) { + newTasks = []; + for (i = 0; i < length_0; i++) { + !!tasks[i] && com_google_gwt_core_client_JsArray_$push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JavaScriptObject_2V(newTasks, tasks[i]); + } + return newTasks.length == 0?null:newTasks; + } + else { + return tasks; + } +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$scheduleDeferred__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(this$static, cmd){ + this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands, [cmd, false]); + com_google_gwt_core_client_impl_SchedulerImpl_$maybeSchedulePostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static); +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(this$static, cmd){ + this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(this$static.com_google_gwt_core_client_impl_SchedulerImpl_finallyCommands, [cmd, false]); +} + +function com_google_gwt_core_client_impl_SchedulerImpl_$scheduleIncremental__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2V(this$static, cmd){ + this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands, [cmd, true]); + com_google_gwt_core_client_impl_SchedulerImpl_$maybeSchedulePostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static); +} + +function com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z(cmd){ + return cmd.execute__Z(); +} + +function com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(queue, task){ + !queue && (queue = []); + com_google_gwt_core_client_JsArray_$push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JavaScriptObject_2V(queue, task); + return queue; +} + +function com_google_gwt_core_client_impl_SchedulerImpl_runScheduledTasks__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(tasks, rescheduled){ + var e, i, j, t; + for (i = 0 , j = tasks.length; i < j; i++) { + t = tasks[i]; + try { + t[1]?t[0].execute__Z() && (rescheduled = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(rescheduled, t)):t[0].execute__V(); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 13)) { + e = $e0; + com_google_gwt_core_client_impl_Impl_reportUncaughtException__Ljava_lang_Throwable_2V(e); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + return rescheduled; +} + +function com_google_gwt_core_client_impl_SchedulerImpl_scheduleFixedDelayImpl__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2IV(cmd, delayMs){ + com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V(); + function callback(){ + var ret = $entry(com_google_gwt_core_client_impl_SchedulerImpl_execute__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2Z)(cmd); + !com_google_gwt_core_client_GWT_isScript__Z() && (ret = ret == true); + ret && $wnd.setTimeout(callback, delayMs); + } + + $wnd.setTimeout(callback, delayMs); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(411, 512, {}); +_.com_google_gwt_core_client_impl_SchedulerImpl_flushRunning = false; +_.com_google_gwt_core_client_impl_SchedulerImpl_shouldBeRunning = false; +var com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1impl_1SchedulerImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(411); +function com_google_gwt_core_client_impl_SchedulerImpl$Flusher_SchedulerImpl$Flusher__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$0){ + this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(412, 1, {}, com_google_gwt_core_client_impl_SchedulerImpl$Flusher_SchedulerImpl$Flusher__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V); +_.execute__Z = function(){ + this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01.com_google_gwt_core_client_impl_SchedulerImpl_flushRunning = true; + com_google_gwt_core_client_impl_SchedulerImpl_$flushPostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01); + this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01.com_google_gwt_core_client_impl_SchedulerImpl_flushRunning = false; + return this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01.com_google_gwt_core_client_impl_SchedulerImpl_shouldBeRunning = com_google_gwt_core_client_impl_SchedulerImpl_$isWorkQueued__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Z(this.com_google_gwt_core_client_impl_SchedulerImpl$Flusher_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1impl_1SchedulerImpl$Flusher_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(412); +function com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_SchedulerImpl$Rescuer__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$0){ + this.com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(413, 1, {}, com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_SchedulerImpl$Rescuer__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V); +_.execute__Z = function(){ + this.com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_this$01.com_google_gwt_core_client_impl_SchedulerImpl_flushRunning && com_google_gwt_core_client_impl_SchedulerImpl_scheduleFixedDelayImpl__Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2IV(this.com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_this$01.com_google_gwt_core_client_impl_SchedulerImpl_flusher, 1); + return this.com_google_gwt_core_client_impl_SchedulerImpl$Rescuer_this$01.com_google_gwt_core_client_impl_SchedulerImpl_shouldBeRunning; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1impl_1SchedulerImpl$Rescuer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(413); +function com_google_gwt_core_client_impl_StackTraceCreator_$clinit__V(){ + com_google_gwt_core_client_impl_StackTraceCreator_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + !(!!Error.stackTraceLimit || 'stack' in new Error); +} + +function com_google_gwt_core_client_impl_StackTraceCreator_captureStackTrace__Ljava_lang_Throwable_2Ljava_lang_Object_2V(){ + com_google_gwt_core_client_impl_StackTraceCreator_$clinit__V(); +} + +function com_google_gwt_core_client_impl_StackTraceCreator_dropInternalFrames___3Ljava_lang_StackTraceElement_2_3Ljava_lang_StackTraceElement_2(stackTrace){ + var i, numberOfFrameToSearch; + numberOfFrameToSearch = java_lang_Math_min__III(stackTrace.length, 5); + for (i = 0; i < numberOfFrameToSearch; i++) { + if (null.nullMethod()) { + return stackTrace.length >= i + 1 && stackTrace.splice(0, i + 1) , stackTrace; + } + } + return stackTrace; +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_Object_2V(expression, errorMessage){ + if (!expression) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('' + errorMessage); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_String_2_3Ljava_lang_Object_2V(expression, errorMessageArgs){ + if (!expression) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V(com_google_gwt_core_shared_impl_InternalPreconditions_format__Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_String_2('Enum constant undefined: %s', errorMessageArgs)); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(expression){ + if (!expression) { + throw new java_util_NoSuchElementException_NoSuchElementException__V; + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalPositionIndexes__IIIV(start_0, end, size_0){ + if (start_0 < 0) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('fromIndex: ' + start_0 + ' < 0'); + } + if (end > size_0) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('toIndex: ' + end + ' > size ' + size_0); + } + if (start_0 > end) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('fromIndex: ' + start_0 + ' > toIndex: ' + end); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, size_0){ + if (index_0 < 0 || index_0 >= size_0) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('Index: ' + index_0 + ', Size: ' + size_0); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkNotNull__Ljava_lang_Object_2Ljava_lang_Object_2(reference){ + if (reference == null) { + throw new java_lang_NullPointerException_NullPointerException__V; + } + return reference; +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkPositionIndex__IIV(index_0, size_0){ + if (index_0 < 0 || index_0 > size_0) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('Index: ' + index_0 + ', Size: ' + size_0); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(expression){ + if (!expression) { + throw new java_lang_IllegalStateException_IllegalStateException__V; + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZLjava_lang_Object_2V(expression){ + if (!expression) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V("Can't overwrite cause"); + } +} + +function com_google_gwt_core_shared_impl_InternalPreconditions_format__Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_String_2(template, args){ + var builder, i, placeholderStart, templateStart; + template = '' + template; + builder = (template.length + 16 * args.length , new java_lang_StringBuilder_StringBuilder__IV); + templateStart = 0; + i = 0; + while (i < args.length) { + placeholderStart = template.indexOf('%s', templateStart); + if (placeholderStart == -1) { + break; + } + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(builder, template.substr(templateStart, placeholderStart - templateStart)); + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_Object_2Ljava_lang_StringBuilder_2(builder, args[i++]); + templateStart = placeholderStart + 2; + } + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(builder, java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(template, templateStart, template.length - templateStart)); + if (i < args.length) { + builder.java_lang_AbstractStringBuilder_string += ' ['; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_Object_2Ljava_lang_StringBuilder_2(builder, args[i++]); + while (i < args.length) { + builder.java_lang_AbstractStringBuilder_string += ', '; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_Object_2Ljava_lang_StringBuilder_2(builder, args[i++]); + } + builder.java_lang_AbstractStringBuilder_string += ']'; + } + return builder.java_lang_AbstractStringBuilder_string; +} + +function com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, newChild){ + return this$static.appendChild(newChild); +} + +function com_google_gwt_dom_client_Node_$getChild__Lcom_google_gwt_dom_client_Node_2ILcom_google_gwt_dom_client_Node_2(this$static, index_0){ + return this$static.childNodes[index_0]; +} + +function com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static){ + return com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)); +} + +function com_google_gwt_dom_client_Node_$hasParentElement__Lcom_google_gwt_dom_client_Node_2Z(this$static){ + return !!com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)); +} + +function com_google_gwt_dom_client_Node_$insertAfter__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, newChild, refChild){ + var next; + next = !refChild?null:refChild.nextSibling; + return !next?this$static.appendChild(newChild):this$static.insertBefore(newChild, next); +} + +function com_google_gwt_dom_client_Node_$insertBefore__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, newChild, refChild){ + return this$static.insertBefore(newChild, refChild); +} + +function com_google_gwt_dom_client_Node_$insertFirst__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, child){ + return com_google_gwt_dom_client_Node_$insertBefore__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, child, this$static.firstChild); +} + +function com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static, child){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static, child); +} + +function com_google_gwt_dom_client_Node_$removeAllChildren__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static){ + while (this$static.lastChild) { + this$static.removeChild(this$static.lastChild); + } +} + +function com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static, oldChild){ + return this$static.removeChild(oldChild); +} + +function com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(this$static){ + var parent_0; + parent_0 = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)); + !!parent_0 && parent_0.removeChild(this$static); +} + +function com_google_gwt_dom_client_Node_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + try { + return !!o && !!o.nodeType; + } + catch (e) { + return false; + } +} + +function com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static, className){ + var idx, oldClassName; + className = com_google_gwt_dom_client_Element_trimClassName__Ljava_lang_String_2Ljava_lang_String_2(className); + oldClassName = com_google_gwt_dom_client_Element_$getClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static); + idx = com_google_gwt_dom_client_Element_indexOfName__Ljava_lang_String_2Ljava_lang_String_2I(oldClassName, className); + if (idx == -1) { + oldClassName.length > 0?com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, oldClassName + ' ' + className):com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, className); + return true; + } + return false; +} + +function com_google_gwt_dom_client_Element_$focus__Lcom_google_gwt_dom_client_Element_2V(this$static){ + this$static.focus(); +} + +function com_google_gwt_dom_client_Element_$getAbsoluteBottom__Lcom_google_gwt_dom_client_Element_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static) + (com_google_gwt_dom_client_Element_$getSubPixelOffsetHeight__Lcom_google_gwt_dom_client_Element_2D(this$static) | 0); +} + +function com_google_gwt_dom_client_Element_$getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I(this$static); +} + +function com_google_gwt_dom_client_Element_$getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static); +} + +function com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(this$static, name_0){ + return com_google_gwt_dom_client_DOMImpl_$getAttribute__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static), name_0); +} + +function com_google_gwt_dom_client_Element_$getClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static){ + return this$static.className || ''; +} + +function com_google_gwt_dom_client_Element_$getFirstChildElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this$static){ + return com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)); +} + +function com_google_gwt_dom_client_Element_$getInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).innerHTML; +} + +function com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, name_0){ + return parseInt(this$static[name_0]) | 0; +} + +function com_google_gwt_dom_client_Element_$getPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(this$static, name_0){ + return this$static[name_0] == null?null:String(this$static[name_0]); +} + +function com_google_gwt_dom_client_Element_$getScrollLeft__Lcom_google_gwt_dom_client_Element_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getScrollLeft__Lcom_google_gwt_dom_client_Element_2I(this$static); +} + +function com_google_gwt_dom_client_Element_$getString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static); +} + +function com_google_gwt_dom_client_Element_$getSubPixelOffsetHeight__Lcom_google_gwt_dom_client_Element_2D(this$static){ + return this$static.offsetHeight || 0; +} + +function com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(this$static){ + return this$static.offsetWidth || 0; +} + +function com_google_gwt_dom_client_Element_$getSubPixelScrollTop__Lcom_google_gwt_dom_client_Element_2D(this$static){ + return this$static.scrollTop || 0; +} + +function com_google_gwt_dom_client_Element_$getSubPixelScrollWidth__Lcom_google_gwt_dom_client_Element_2D(this$static){ + return this$static.scrollWidth || 0; +} + +function com_google_gwt_dom_client_Element_$getTabIndex__Lcom_google_gwt_dom_client_Element_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getTabIndex__Lcom_google_gwt_dom_client_Element_2I(this$static); +} + +function com_google_gwt_dom_client_Element_$hasClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static, className){ + var idx; + className = com_google_gwt_dom_client_Element_trimClassName__Ljava_lang_String_2Ljava_lang_String_2(className); + idx = com_google_gwt_dom_client_Element_indexOfName__Ljava_lang_String_2Ljava_lang_String_2I(com_google_gwt_dom_client_Element_$getClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static), className); + return idx != -1; +} + +function com_google_gwt_dom_client_Element_$removeAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, name_0){ + this$static.removeAttribute(name_0); +} + +function com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static, className){ + var begin, end, idx, newClassName, oldStyle; + className = com_google_gwt_dom_client_Element_trimClassName__Ljava_lang_String_2Ljava_lang_String_2(className); + oldStyle = com_google_gwt_dom_client_Element_$getClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static); + idx = com_google_gwt_dom_client_Element_indexOfName__Ljava_lang_String_2Ljava_lang_String_2I(oldStyle, className); + if (idx != -1) { + begin = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(oldStyle.substr(0, idx)); + end = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(oldStyle, idx + className.length)); + begin.length == 0?(newClassName = end):end.length == 0?(newClassName = begin):(newClassName = begin + ' ' + end); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, newClassName); + return true; + } + return false; +} + +function com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, name_0, value_0){ + this$static.setAttribute(name_0, value_0); +} + +function com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, className){ + this$static.className = className || ''; +} + +function com_google_gwt_dom_client_Element_$setId__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, id_0){ + this$static.id = id_0; +} + +function com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, html){ + this$static.innerHTML = html || ''; +} + +function com_google_gwt_dom_client_Element_$setInnerText__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, text_0){ + com_google_gwt_dom_client_DOMImplStandard_$setInnerText__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static), text_0); +} + +function com_google_gwt_dom_client_Element_$setPropertyBoolean__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static, name_0, value_0){ + this$static[name_0] = value_0; +} + +function com_google_gwt_dom_client_Element_$setPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2IV(this$static, name_0, value_0){ + this$static[name_0] = value_0; +} + +function com_google_gwt_dom_client_Element_$setPropertyObject__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, name_0, value_0){ + this$static[name_0] = value_0; +} + +function com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, name_0, value_0){ + this$static[name_0] = value_0; +} + +function com_google_gwt_dom_client_Element_$setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV(this$static, scrollLeft){ + (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV(this$static, scrollLeft); +} + +function com_google_gwt_dom_client_Element_$setScrollTop__Lcom_google_gwt_dom_client_Element_2IV(this$static, scrollTop){ + this$static.scrollTop = scrollTop; +} + +function com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV(this$static, tabIndex){ + this$static.tabIndex = tabIndex; +} + +function com_google_gwt_dom_client_Element_indexOfName__Ljava_lang_String_2Ljava_lang_String_2I(nameList, name_0){ + var idx, last, lastPos; + idx = nameList.indexOf(name_0); + while (idx != -1) { + if (idx == 0 || nameList.charCodeAt(idx - 1) == 32) { + last = idx + name_0.length; + lastPos = nameList.length; + if (last == lastPos || last < lastPos && nameList.charCodeAt(last) == 32) { + break; + } + } + idx = nameList.indexOf(name_0, idx + 1); + } + return idx; +} + +function com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + if (com_google_gwt_dom_client_Node_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o)) { + return !!o && o.nodeType == 1; + } + return false; +} + +function com_google_gwt_dom_client_Element_trimClassName__Ljava_lang_String_2Ljava_lang_String_2(className){ + className = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(className); + return className; +} + +function com_google_gwt_dom_client_DOMImpl_$clinit__V(){ + com_google_gwt_dom_client_DOMImpl_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_DOMImpl_impl = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1dom_1client_1DOMImpl__Ljava_lang_Object_2(); +} + +function com_google_gwt_dom_client_DOMImpl_$createElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2(doc, tag){ + return doc.createElement(tag); +} + +function com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(evt){ + evt.stopPropagation(); +} + +function com_google_gwt_dom_client_DOMImpl_$getAttribute__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(elem, name_0){ + return elem.getAttribute(name_0) || ''; +} + +function com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(elem){ + var child = elem.firstChild; + while (child && child.nodeType != 1) + child = child.nextSibling; + return child; +} + +function com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(elem){ + var sib = elem.nextSibling; + while (sib && sib.nodeType != 1) + sib = sib.nextSibling; + return sib; +} + +function com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(node){ + var parent_0 = node.parentNode; + (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null); + return parent_0; +} + +function com_google_gwt_dom_client_DOMImpl_$getPreviousSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(elem){ + var sib = elem.previousSibling; + while (sib && sib.nodeType != 1) + sib = sib.previousSibling; + return sib; +} + +function com_google_gwt_dom_client_DOMImpl_$getSubPixelAbsoluteLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem){ + var left = 0; + var curr = elem; + while (curr.offsetParent) { + left -= curr.scrollLeft; + curr = curr.parentNode; + } + while (elem) { + left += elem.offsetLeft; + elem = elem.offsetParent; + } + return left; +} + +function com_google_gwt_dom_client_DOMImpl_$getSubPixelAbsoluteTop__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem){ + var top_0 = 0; + var curr = elem; + while (curr.offsetParent) { + top_0 -= curr.scrollTop; + curr = curr.parentNode; + } + while (elem) { + top_0 += elem.offsetTop; + elem = elem.offsetParent; + } + return top_0; +} + +function com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem){ + return elem.scrollLeft || 0; +} + +function com_google_gwt_dom_client_DOMImpl_$setScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2IV(elem, left){ + elem.scrollLeft = left; +} + +function com_google_gwt_dom_client_DOMImpl_toInt32__DI(val){ + com_google_gwt_dom_client_DOMImpl_$clinit__V(); + return val | 0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(543, 1, {}); +_.eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImpl_eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0){ + return event_0.currentTarget; +} +; +_.getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelAbsoluteLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)); +} +; +_.getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelAbsoluteTop__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)); +} +; +_.getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I = function com_google_gwt_dom_client_DOMImpl_getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I(doc){ + return 0; +} +; +_.getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I = function com_google_gwt_dom_client_DOMImpl_getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I(doc){ + return 0; +} +; +_.getScrollLeft__Lcom_google_gwt_dom_client_Document_2I = function(doc){ + return com_google_gwt_dom_client_Element_$getScrollLeft__Lcom_google_gwt_dom_client_Element_2I(java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(doc.compatMode, 'CSS1Compat')?doc.documentElement:doc.body); +} +; +_.getScrollLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)); +} +; +_.getTabIndex__Lcom_google_gwt_dom_client_Element_2I = function com_google_gwt_dom_client_DOMImpl_getTabIndex__Lcom_google_gwt_dom_client_Element_2I(elem){ + return elem.tabIndex; +} +; +_.setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV = function(elem, left){ + com_google_gwt_dom_client_DOMImpl_$setScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2IV(elem, left); +} +; +_.toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2 = function com_google_gwt_dom_client_DOMImpl_toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(elem){ + return elem.outerHTML; +} +; +var com_google_gwt_dom_client_DOMImpl_impl; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1DOMImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(543); +function com_google_gwt_dom_client_DOMImplStandard_$eventGetButton__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2I(evt){ + var button = evt.button; + if (button == 1) { + return 4; + } + else if (button == 2) { + return 2; + } + return 1; +} + +function com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(evt){ + evt.preventDefault(); +} + +function com_google_gwt_dom_client_DOMImplStandard_$setInnerText__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, text_0){ + elem.textContent = text_0 || ''; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(544, 543, {}); +_.eventGetRelatedTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImplStandard_eventGetRelatedTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt){ + return evt.relatedTarget; +} +; +_.eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImplStandard_eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt){ + return evt.target; +} +; +_.isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z = function com_google_gwt_dom_client_DOMImplStandard_isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(parent_0, child){ + return parent_0.contains(child); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1DOMImplStandard_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(544); +function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeftImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(viewport, elem){ + if (Element.prototype.getBoundingClientRect) { + return elem.getBoundingClientRect().left + viewport.scrollLeft | 0; + } + else { + var doc = elem.ownerDocument; + return doc.getBoxObjectFor(elem).screenX - doc.getBoxObjectFor(doc.documentElement).screenX; + } +} + +function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTopImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(viewport, elem){ + if (Element.prototype.getBoundingClientRect) { + return elem.getBoundingClientRect().top + viewport.scrollTop | 0; + } + else { + var doc = elem.ownerDocument; + return doc.getBoxObjectFor(elem).screenY - doc.getBoxObjectFor(doc.documentElement).screenY; + } +} + +function com_google_gwt_dom_client_DOMImplMozilla_$isRTL__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Z(elem){ + var style = elem.ownerDocument.defaultView.getComputedStyle(elem, null); + return style.direction == 'rtl'; +} + +function com_google_gwt_dom_client_DOMImplMozilla_DOMImplMozilla__V(){ + com_google_gwt_dom_client_DOMImpl_$clinit__V(); +} + +function com_google_gwt_dom_client_DOMImplMozilla_getGeckoVersion__I(){ + var result = /rv:([0-9]+)\.([0-9]+)(\.([0-9]+))?.*?/.exec(navigator.userAgent.toLowerCase()); + if (result && result.length >= 3) { + var version = parseInt(result[1]) * 1000000 + parseInt(result[2]) * 1000 + parseInt(result.length >= 5 && !isNaN(result[4])?result[4]:0); + return version; + } + return -1; +} + +function com_google_gwt_dom_client_DOMImplMozilla_isGecko19__Z(){ + var geckoVersion; + geckoVersion = com_google_gwt_dom_client_DOMImplMozilla_getGeckoVersion__I(); + return geckoVersion != -1 && geckoVersion >= 1009000; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(394, 544, {}, com_google_gwt_dom_client_DOMImplMozilla_DOMImplMozilla__V); +_.eventGetMouseWheelVelocityY__Lcom_google_gwt_dom_client_NativeEvent_2I = function com_google_gwt_dom_client_DOMImplMozilla_eventGetMouseWheelVelocityY__Lcom_google_gwt_dom_client_NativeEvent_2I(evt){ + return evt.detail || 0; +} +; +_.eventGetRelatedTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImplMozilla_eventGetRelatedTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt){ + var relatedTarget = evt.relatedTarget; + if (!relatedTarget) { + return null; + } + try { + var nodeName = relatedTarget.nodeName; + return relatedTarget; + } + catch (e) { + return null; + } +} +; +_.getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + return com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeftImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(elem.ownerDocument), elem); +} +; +_.getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + return com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTopImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(elem.ownerDocument), elem); +} +; +_.getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I = function com_google_gwt_dom_client_DOMImplMozilla_getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I(doc){ + var style = $wnd.getComputedStyle(doc.documentElement, null); + if (style == null) { + return 0; + } + return parseInt(style.marginLeft, 10) + parseInt(style.borderLeftWidth, 10); +} +; +_.getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I = function com_google_gwt_dom_client_DOMImplMozilla_getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I(doc){ + var style = $wnd.getComputedStyle(doc.documentElement, null); + if (style == null) { + return 0; + } + return parseInt(style.marginTop, 10) + parseInt(style.borderTopWidth, 10); +} +; +_.getScrollLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + if (!com_google_gwt_dom_client_DOMImplMozilla_isGecko19__Z() && com_google_gwt_dom_client_DOMImplMozilla_$isRTL__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Z(elem)) { + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)) - ((com_google_gwt_dom_client_Element_$getSubPixelScrollWidth__Lcom_google_gwt_dom_client_Element_2D(elem) | 0) - (elem.clientWidth | 0)); + } + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)); +} +; +_.isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z = function com_google_gwt_dom_client_DOMImplMozilla_isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(parent_0, child){ + return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16); +} +; +_.setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV = function(elem, left){ + !com_google_gwt_dom_client_DOMImplMozilla_isGecko19__Z() && com_google_gwt_dom_client_DOMImplMozilla_$isRTL__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Z(elem) && (left += (com_google_gwt_dom_client_Element_$getSubPixelScrollWidth__Lcom_google_gwt_dom_client_Element_2D(elem) | 0) - (elem.clientWidth | 0)); + com_google_gwt_dom_client_DOMImpl_$setScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2IV(elem, left); +} +; +_.toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2 = function com_google_gwt_dom_client_DOMImplMozilla_toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(elem){ + var doc = elem.ownerDocument; + var temp = elem.cloneNode(true); + var tempDiv = doc.createElement('DIV'); + tempDiv.appendChild(temp); + outer = tempDiv.innerHTML; + temp.innerHTML = ''; + return outer; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1DOMImplMozilla_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(394); +function com_google_gwt_dom_client_DOMImplStandardBase_$isRTL__Lcom_google_gwt_dom_client_DOMImplStandardBase_2Lcom_google_gwt_dom_client_Element_2Z(elem){ + return elem.ownerDocument.defaultView.getComputedStyle(elem, '').direction == 'rtl'; +} + +function com_google_gwt_dom_client_DOMImplStandardBase_getAbsoluteLeftUsingOffsets__Lcom_google_gwt_dom_client_Element_2D(elem){ + if (elem.offsetLeft == null) { + return 0; + } + var left = 0; + var doc = elem.ownerDocument; + var curr = elem.parentNode; + if (curr) { + while (curr.offsetParent) { + left -= curr.scrollLeft; + doc.defaultView.getComputedStyle(curr, '').getPropertyValue('direction') == 'rtl' && (left += curr.scrollWidth - curr.clientWidth); + curr = curr.parentNode; + } + } + while (elem) { + left += elem.offsetLeft; + if (doc.defaultView.getComputedStyle(elem, '')['position'] == 'fixed') { + left += doc.body.scrollLeft; + return left; + } + var parent_0 = elem.offsetParent; + parent_0 && $wnd.devicePixelRatio && (left += parseInt(doc.defaultView.getComputedStyle(parent_0, '').getPropertyValue('border-left-width'))); + if (parent_0 && parent_0.tagName == 'BODY' && elem.style.position == 'absolute') { + break; + } + elem = parent_0; + } + return left; +} + +function com_google_gwt_dom_client_DOMImplStandardBase_getAbsoluteTopUsingOffsets__Lcom_google_gwt_dom_client_Element_2D(elem){ + if (elem.offsetTop == null) { + return 0; + } + var top_0 = 0; + var doc = elem.ownerDocument; + var curr = elem.parentNode; + if (curr) { + while (curr.offsetParent) { + top_0 -= curr.scrollTop; + curr = curr.parentNode; + } + } + while (elem) { + top_0 += elem.offsetTop; + if (doc.defaultView.getComputedStyle(elem, '')['position'] == 'fixed') { + top_0 += doc.body.scrollTop; + return top_0; + } + var parent_0 = elem.offsetParent; + parent_0 && $wnd.devicePixelRatio && (top_0 += parseInt(doc.defaultView.getComputedStyle(parent_0, '').getPropertyValue('border-top-width'))); + if (parent_0 && parent_0.tagName == 'BODY' && elem.style.position == 'absolute') { + break; + } + elem = parent_0; + } + return top_0; +} + +function com_google_gwt_dom_client_DOMImplStandardBase_getBoundingClientRect__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_DOMImplStandardBase$ClientRect_2(element){ + return element.getBoundingClientRect && element.getBoundingClientRect(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(545, 544, {}); +_.eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImplStandardBase_eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0){ + return event_0.currentTarget || $wnd; +} +; +_.eventGetMouseWheelVelocityY__Lcom_google_gwt_dom_client_NativeEvent_2I = function com_google_gwt_dom_client_DOMImplStandardBase_eventGetMouseWheelVelocityY__Lcom_google_gwt_dom_client_NativeEvent_2I(evt){ + return Math.round(-evt.wheelDelta / 40) || 0; +} +; +_.getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + var left, rect; + rect = com_google_gwt_dom_client_DOMImplStandardBase_getBoundingClientRect__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_DOMImplStandardBase$ClientRect_2(elem); + left = rect?rect.left + com_google_gwt_dom_client_Element_$getScrollLeft__Lcom_google_gwt_dom_client_Element_2I(elem.ownerDocument.body):com_google_gwt_dom_client_DOMImplStandardBase_getAbsoluteLeftUsingOffsets__Lcom_google_gwt_dom_client_Element_2D(elem); + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(left); +} +; +_.getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + var rect, top_0, com_google_gwt_dom_client_DOMImplStandardBase$ClientRect_$getSubPixelTop__Lcom_google_gwt_dom_client_DOMImplStandardBase$ClientRect_2D_top_0; + rect = com_google_gwt_dom_client_DOMImplStandardBase_getBoundingClientRect__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_DOMImplStandardBase$ClientRect_2(elem); + top_0 = rect?rect.top + ((elem.ownerDocument.body.scrollTop || 0) | 0):com_google_gwt_dom_client_DOMImplStandardBase_getAbsoluteTopUsingOffsets__Lcom_google_gwt_dom_client_Element_2D(elem); + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(top_0); +} +; +_.getScrollLeft__Lcom_google_gwt_dom_client_Document_2I = function com_google_gwt_dom_client_DOMImplStandardBase_getScrollLeft__Lcom_google_gwt_dom_client_Document_2I(doc){ + return doc.documentElement.scrollLeft || doc.body.scrollLeft; +} +; +_.getScrollLeft__Lcom_google_gwt_dom_client_Element_2I = function(elem){ + if (!java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('body', (com_google_gwt_dom_client_DOMImpl_$clinit__V() , elem).tagName) && com_google_gwt_dom_client_DOMImplStandardBase_$isRTL__Lcom_google_gwt_dom_client_DOMImplStandardBase_2Lcom_google_gwt_dom_client_Element_2Z(elem)) { + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)) - ((com_google_gwt_dom_client_Element_$getSubPixelScrollWidth__Lcom_google_gwt_dom_client_Element_2D(elem) | 0) - (elem.clientWidth | 0)); + } + return com_google_gwt_dom_client_DOMImpl_toInt32__DI(com_google_gwt_dom_client_DOMImpl_$getSubPixelScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2D(elem)); +} +; +_.getTabIndex__Lcom_google_gwt_dom_client_Element_2I = function com_google_gwt_dom_client_DOMImplStandardBase_getTabIndex__Lcom_google_gwt_dom_client_Element_2I(elem){ + return typeof elem.tabIndex != 'undefined'?elem.tabIndex:-1; +} +; +_.setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV = function(elem, left){ + !java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('body', (com_google_gwt_dom_client_DOMImpl_$clinit__V() , elem).tagName) && com_google_gwt_dom_client_DOMImplStandardBase_$isRTL__Lcom_google_gwt_dom_client_DOMImplStandardBase_2Lcom_google_gwt_dom_client_Element_2Z(elem) && (left += (com_google_gwt_dom_client_Element_$getSubPixelScrollWidth__Lcom_google_gwt_dom_client_Element_2D(elem) | 0) - (elem.clientWidth | 0)); + com_google_gwt_dom_client_DOMImpl_$setScrollLeft__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2IV(elem, left); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1DOMImplStandardBase_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(545); +function com_google_gwt_dom_client_DOMImplWebkit_DOMImplWebkit__V(){ + com_google_gwt_dom_client_DOMImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(395, 545, {}, com_google_gwt_dom_client_DOMImplWebkit_DOMImplWebkit__V); +_.eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2 = function com_google_gwt_dom_client_DOMImplWebkit_eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt){ + var target = evt.target; + target && target.nodeType == 3 && (target = target.parentNode); + return target; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1DOMImplWebkit_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(395); +function com_google_gwt_dom_client_Document_$createCheckInputElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2(this$static){ + var com_google_gwt_dom_client_DOMImpl_$createCheckInputElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2_e_0; + return com_google_gwt_dom_client_DOMImpl_$createCheckInputElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2_e_0 = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('INPUT') , com_google_gwt_dom_client_DOMImpl_$createCheckInputElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2_e_0.type = 'checkbox' , com_google_gwt_dom_client_DOMImpl_$createCheckInputElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2_e_0.value = 'on' , com_google_gwt_dom_client_DOMImpl_$createCheckInputElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2_e_0; +} + +function com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('div'); +} + +function com_google_gwt_dom_client_Document_$createElement__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2(this$static, tagName){ + return com_google_gwt_dom_client_DOMImpl_$createElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static), tagName); +} + +function com_google_gwt_dom_client_Document_$createIFrameElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_IFrameElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('iframe'); +} + +function com_google_gwt_dom_client_Document_$createLabelElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_LabelElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('label'); +} + +function com_google_gwt_dom_client_Document_$createScriptElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_ScriptElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('script'); +} + +function com_google_gwt_dom_client_Document_$createSpanElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_SpanElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('span'); +} + +function com_google_gwt_dom_client_Document_$createTBodyElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('tbody'); +} + +function com_google_gwt_dom_client_Document_$createTFootElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('tfoot'); +} + +function com_google_gwt_dom_client_Document_$createTHeadElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('thead'); +} + +function com_google_gwt_dom_client_Document_$createTRElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableRowElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('tr'); +} + +function com_google_gwt_dom_client_Document_$createTableElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableElement_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).createElement('table'); +} + +function com_google_gwt_dom_client_Document_$createUniqueId__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2(this$static){ + !this$static.gwt_uid && (this$static.gwt_uid = 1); + return 'gwt-uid-' + this$static.gwt_uid++; +} + +function com_google_gwt_dom_client_Document_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I(this$static); +} + +function com_google_gwt_dom_client_Document_$getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I(this$static); +} + +function com_google_gwt_dom_client_Document_$getClientHeight__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientHeight | 0; +} + +function com_google_gwt_dom_client_Document_$getClientWidth__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientWidth | 0; +} + +function com_google_gwt_dom_client_Document_$getElementById__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2(this$static, elementId){ + return this$static.getElementById(elementId); +} + +function com_google_gwt_dom_client_Document_$getScrollHeight__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return ((java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollHeight || 0) | 0; +} + +function com_google_gwt_dom_client_Document_$getScrollLeft__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getScrollLeft__Lcom_google_gwt_dom_client_Document_2I(this$static); +} + +function com_google_gwt_dom_client_Document_$getScrollWidth__Lcom_google_gwt_dom_client_Document_2I(this$static){ + return ((java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollWidth || 0) | 0; +} + +function com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(this$static){ + return java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body; +} + +function com_google_gwt_dom_client_InputElement_$isChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static){ + return !!this$static.checked; +} + +function com_google_gwt_dom_client_InputElement_$isDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static){ + return !!this$static.defaultChecked; +} + +function com_google_gwt_dom_client_InputElement_$setChecked__Lcom_google_gwt_dom_client_InputElement_2ZV(this$static, checked){ + this$static.checked = checked; +} + +function com_google_gwt_dom_client_InputElement_$setDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2ZV(this$static, defaultChecked){ + this$static.defaultChecked = defaultChecked; +} + +function com_google_gwt_dom_client_LabelElement_$setHtmlFor__Lcom_google_gwt_dom_client_LabelElement_2Ljava_lang_String_2V(this$static, htmlFor){ + this$static.htmlFor = htmlFor; +} + +function com_google_gwt_dom_client_NativeEvent_$getEventTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(this$static); +} + +function com_google_gwt_dom_client_NativeEvent_$getKeyCode__Lcom_google_gwt_dom_client_NativeEvent_2I(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).keyCode | 0; +} + +function com_google_gwt_dom_client_NativeEvent_$getShiftKey__Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static){ + return !!(com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).shiftKey; +} + +function com_google_gwt_dom_client_NativeEvent_$getTouches__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_core_client_JsArray_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).touches; +} + +function com_google_gwt_dom_client_NativeEvent_$preventDefault__Lcom_google_gwt_dom_client_NativeEvent_2V(this$static){ + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)); +} + +function com_google_gwt_dom_client_ScriptElement_$setSrc__Lcom_google_gwt_dom_client_ScriptElement_2Ljava_lang_String_2V(this$static, src_0){ + this$static.src = src_0; +} + +function com_google_gwt_dom_client_Style_$getDisplay__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)['display']; +} + +function com_google_gwt_dom_client_Style_$getOpacity__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)['opacity']; +} + +function com_google_gwt_dom_client_Style_$getPosition__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)['position']; +} + +function com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static, name_0){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)[name_0]; +} + +function com_google_gwt_dom_client_Style_$getZIndex__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(this$static){ + return (com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static)['zIndex']; +} + +function com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, name_0, value_0){ + this$static[name_0] = value_0; +} + +function java_lang_Enum_$toString__Ljava_lang_Enum_2Ljava_lang_String_2(this$static){ + return this$static.java_lang_Enum_name != null?this$static.java_lang_Enum_name:'' + this$static.java_lang_Enum_ordinal; +} + +function java_lang_Enum_Enum__Ljava_lang_String_2IV(name_0, ordinal){ + this.java_lang_Enum_name = name_0; + this.java_lang_Enum_ordinal = ordinal; +} + +function java_lang_Enum_createValueOfMap___3Ljava_lang_Enum_2Lcom_google_gwt_core_client_JavaScriptObject_2(enumConstants){ + var result, value_0, value$index, value$max; + result = {}; + for (value$index = 0 , value$max = enumConstants.length; value$index < value$max; ++value$index) { + value_0 = enumConstants[value$index]; + result[':' + (value_0.java_lang_Enum_name != null?value_0.java_lang_Enum_name:'' + value_0.java_lang_Enum_ordinal)] = value_0; + } + return result; +} + +function java_lang_Enum_valueOf__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Ljava_lang_Enum_2(map_0, name_0){ + var result; + com_google_gwt_core_shared_impl_InternalPreconditions_checkNotNull__Ljava_lang_Object_2Ljava_lang_Object_2(name_0); + result = map_0[':' + name_0]; + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_String_2_3Ljava_lang_Object_2V(!!result, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [name_0])); + return result; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(4, 1, {3:1, 5:1, 4:1}); +_.equals__Ljava_lang_Object_2Z$ = function(other){ + return this === other; +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_lang_Enum_$toString__Ljava_lang_Enum_2Ljava_lang_String_2(this); +} +; +_.java_lang_Enum_ordinal = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Enum_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(4); +function com_google_gwt_dom_client_Style$BorderStyle_$clinit__V(){ + com_google_gwt_dom_client_Style$BorderStyle_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$BorderStyle_NONE = new com_google_gwt_dom_client_Style$BorderStyle$1_Style$BorderStyle$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$BorderStyle_DOTTED = new com_google_gwt_dom_client_Style$BorderStyle$2_Style$BorderStyle$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$BorderStyle_DASHED = new com_google_gwt_dom_client_Style$BorderStyle$3_Style$BorderStyle$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$BorderStyle_HIDDEN = new com_google_gwt_dom_client_Style$BorderStyle$4_Style$BorderStyle$4__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$BorderStyle_SOLID = new com_google_gwt_dom_client_Style$BorderStyle$5_Style$BorderStyle$5__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$BorderStyle_values___3Lcom_google_gwt_dom_client_Style$BorderStyle_2(){ + com_google_gwt_dom_client_Style$BorderStyle_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle_12_1classLit, 1), $intern_1, 40, 0, [com_google_gwt_dom_client_Style$BorderStyle_NONE, com_google_gwt_dom_client_Style$BorderStyle_DOTTED, com_google_gwt_dom_client_Style$BorderStyle_DASHED, com_google_gwt_dom_client_Style$BorderStyle_HIDDEN, com_google_gwt_dom_client_Style$BorderStyle_SOLID]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(40, 4, $intern_5); +var com_google_gwt_dom_client_Style$BorderStyle_DASHED, com_google_gwt_dom_client_Style$BorderStyle_DOTTED, com_google_gwt_dom_client_Style$BorderStyle_HIDDEN, com_google_gwt_dom_client_Style$BorderStyle_NONE, com_google_gwt_dom_client_Style$BorderStyle_SOLID; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(40, com_google_gwt_dom_client_Style$BorderStyle_values___3Lcom_google_gwt_dom_client_Style$BorderStyle_2); +function com_google_gwt_dom_client_Style$BorderStyle$1_Style$BorderStyle$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV.call(this, 'NONE', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(335, 40, $intern_5, com_google_gwt_dom_client_Style$BorderStyle$1_Style$BorderStyle$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(335, null); +function com_google_gwt_dom_client_Style$BorderStyle$2_Style$BorderStyle$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV.call(this, 'DOTTED', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(336, 40, $intern_5, com_google_gwt_dom_client_Style$BorderStyle$2_Style$BorderStyle$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(336, null); +function com_google_gwt_dom_client_Style$BorderStyle$3_Style$BorderStyle$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV.call(this, 'DASHED', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(337, 40, $intern_5, com_google_gwt_dom_client_Style$BorderStyle$3_Style$BorderStyle$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(337, null); +function com_google_gwt_dom_client_Style$BorderStyle$4_Style$BorderStyle$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV.call(this, 'HIDDEN', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(338, 40, $intern_5, com_google_gwt_dom_client_Style$BorderStyle$4_Style$BorderStyle$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(338, null); +function com_google_gwt_dom_client_Style$BorderStyle$5_Style$BorderStyle$5__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$BorderStyle_Style$BorderStyle__Ljava_lang_String_2IV.call(this, 'SOLID', 4); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(339, 40, $intern_5, com_google_gwt_dom_client_Style$BorderStyle$5_Style$BorderStyle$5__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$BorderStyle$5_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(339, null); +function com_google_gwt_dom_client_Style$Display_$clinit__V(){ + com_google_gwt_dom_client_Style$Display_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$Display_NONE = new com_google_gwt_dom_client_Style$Display$1_Style$Display$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_BLOCK = new com_google_gwt_dom_client_Style$Display$2_Style$Display$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_INLINE = new com_google_gwt_dom_client_Style$Display$3_Style$Display$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_INLINE_1BLOCK = new com_google_gwt_dom_client_Style$Display$4_Style$Display$4__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_INLINE_1TABLE = new com_google_gwt_dom_client_Style$Display$5_Style$Display$5__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_LIST_1ITEM = new com_google_gwt_dom_client_Style$Display$6_Style$Display$6__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_RUN_1IN = new com_google_gwt_dom_client_Style$Display$7_Style$Display$7__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE = new com_google_gwt_dom_client_Style$Display$8_Style$Display$8__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1CAPTION = new com_google_gwt_dom_client_Style$Display$9_Style$Display$9__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN_1GROUP = new com_google_gwt_dom_client_Style$Display$10_Style$Display$10__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1HEADER_1GROUP = new com_google_gwt_dom_client_Style$Display$11_Style$Display$11__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1FOOTER_1GROUP = new com_google_gwt_dom_client_Style$Display$12_Style$Display$12__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1ROW_1GROUP = new com_google_gwt_dom_client_Style$Display$13_Style$Display$13__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1CELL = new com_google_gwt_dom_client_Style$Display$14_Style$Display$14__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN = new com_google_gwt_dom_client_Style$Display$15_Style$Display$15__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_TABLE_1ROW = new com_google_gwt_dom_client_Style$Display$16_Style$Display$16__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Display_INITIAL = new com_google_gwt_dom_client_Style$Display$17_Style$Display$17__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$Display_values___3Lcom_google_gwt_dom_client_Style$Display_2(){ + com_google_gwt_dom_client_Style$Display_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display_12_1classLit, 1), $intern_1, 14, 0, [com_google_gwt_dom_client_Style$Display_NONE, com_google_gwt_dom_client_Style$Display_BLOCK, com_google_gwt_dom_client_Style$Display_INLINE, com_google_gwt_dom_client_Style$Display_INLINE_1BLOCK, com_google_gwt_dom_client_Style$Display_INLINE_1TABLE, com_google_gwt_dom_client_Style$Display_LIST_1ITEM, com_google_gwt_dom_client_Style$Display_RUN_1IN, com_google_gwt_dom_client_Style$Display_TABLE, com_google_gwt_dom_client_Style$Display_TABLE_1CAPTION, com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1HEADER_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1FOOTER_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1ROW_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1CELL, com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN, com_google_gwt_dom_client_Style$Display_TABLE_1ROW, com_google_gwt_dom_client_Style$Display_INITIAL]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(14, 4, $intern_6); +var com_google_gwt_dom_client_Style$Display_BLOCK, com_google_gwt_dom_client_Style$Display_INITIAL, com_google_gwt_dom_client_Style$Display_INLINE, com_google_gwt_dom_client_Style$Display_INLINE_1BLOCK, com_google_gwt_dom_client_Style$Display_INLINE_1TABLE, com_google_gwt_dom_client_Style$Display_LIST_1ITEM, com_google_gwt_dom_client_Style$Display_NONE, com_google_gwt_dom_client_Style$Display_RUN_1IN, com_google_gwt_dom_client_Style$Display_TABLE, com_google_gwt_dom_client_Style$Display_TABLE_1CAPTION, com_google_gwt_dom_client_Style$Display_TABLE_1CELL, com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN, com_google_gwt_dom_client_Style$Display_TABLE_1COLUMN_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1FOOTER_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1HEADER_1GROUP, com_google_gwt_dom_client_Style$Display_TABLE_1ROW, com_google_gwt_dom_client_Style$Display_TABLE_1ROW_1GROUP; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(14, com_google_gwt_dom_client_Style$Display_values___3Lcom_google_gwt_dom_client_Style$Display_2); +function com_google_gwt_dom_client_Style$Display$1_Style$Display$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'NONE', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(340, 14, $intern_6, com_google_gwt_dom_client_Style$Display$1_Style$Display$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(340, null); +function com_google_gwt_dom_client_Style$Display$10_Style$Display$10__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_COLUMN_GROUP', 9); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(349, 14, $intern_6, com_google_gwt_dom_client_Style$Display$10_Style$Display$10__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$10_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(349, null); +function com_google_gwt_dom_client_Style$Display$11_Style$Display$11__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_HEADER_GROUP', 10); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(350, 14, $intern_6, com_google_gwt_dom_client_Style$Display$11_Style$Display$11__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$11_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(350, null); +function com_google_gwt_dom_client_Style$Display$12_Style$Display$12__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_FOOTER_GROUP', 11); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(351, 14, $intern_6, com_google_gwt_dom_client_Style$Display$12_Style$Display$12__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$12_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(351, null); +function com_google_gwt_dom_client_Style$Display$13_Style$Display$13__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_ROW_GROUP', 12); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(352, 14, $intern_6, com_google_gwt_dom_client_Style$Display$13_Style$Display$13__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$13_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(352, null); +function com_google_gwt_dom_client_Style$Display$14_Style$Display$14__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_CELL', 13); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(353, 14, $intern_6, com_google_gwt_dom_client_Style$Display$14_Style$Display$14__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$14_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(353, null); +function com_google_gwt_dom_client_Style$Display$15_Style$Display$15__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_COLUMN', 14); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(354, 14, $intern_6, com_google_gwt_dom_client_Style$Display$15_Style$Display$15__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$15_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(354, null); +function com_google_gwt_dom_client_Style$Display$16_Style$Display$16__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_ROW', 15); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(355, 14, $intern_6, com_google_gwt_dom_client_Style$Display$16_Style$Display$16__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$16_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(355, null); +function com_google_gwt_dom_client_Style$Display$17_Style$Display$17__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'INITIAL', 16); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(356, 14, $intern_6, com_google_gwt_dom_client_Style$Display$17_Style$Display$17__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$17_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(356, null); +function com_google_gwt_dom_client_Style$Display$2_Style$Display$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'BLOCK', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(341, 14, $intern_6, com_google_gwt_dom_client_Style$Display$2_Style$Display$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(341, null); +function com_google_gwt_dom_client_Style$Display$3_Style$Display$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'INLINE', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(342, 14, $intern_6, com_google_gwt_dom_client_Style$Display$3_Style$Display$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(342, null); +function com_google_gwt_dom_client_Style$Display$4_Style$Display$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'INLINE_BLOCK', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(343, 14, $intern_6, com_google_gwt_dom_client_Style$Display$4_Style$Display$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(343, null); +function com_google_gwt_dom_client_Style$Display$5_Style$Display$5__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'INLINE_TABLE', 4); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(344, 14, $intern_6, com_google_gwt_dom_client_Style$Display$5_Style$Display$5__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$5_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(344, null); +function com_google_gwt_dom_client_Style$Display$6_Style$Display$6__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'LIST_ITEM', 5); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(345, 14, $intern_6, com_google_gwt_dom_client_Style$Display$6_Style$Display$6__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$6_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(345, null); +function com_google_gwt_dom_client_Style$Display$7_Style$Display$7__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'RUN_IN', 6); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(346, 14, $intern_6, com_google_gwt_dom_client_Style$Display$7_Style$Display$7__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$7_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(346, null); +function com_google_gwt_dom_client_Style$Display$8_Style$Display$8__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE', 7); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(347, 14, $intern_6, com_google_gwt_dom_client_Style$Display$8_Style$Display$8__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$8_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(347, null); +function com_google_gwt_dom_client_Style$Display$9_Style$Display$9__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Display_Style$Display__Ljava_lang_String_2IV.call(this, 'TABLE_CAPTION', 8); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(348, 14, $intern_6, com_google_gwt_dom_client_Style$Display$9_Style$Display$9__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Display$9_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(348, null); +function com_google_gwt_dom_client_Style$Overflow_$clinit__V(){ + com_google_gwt_dom_client_Style$Overflow_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$Overflow_VISIBLE = new com_google_gwt_dom_client_Style$Overflow$1_Style$Overflow$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Overflow_HIDDEN = new com_google_gwt_dom_client_Style$Overflow$2_Style$Overflow$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Overflow_SCROLL = new com_google_gwt_dom_client_Style$Overflow$3_Style$Overflow$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Overflow_AUTO = new com_google_gwt_dom_client_Style$Overflow$4_Style$Overflow$4__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$Overflow_Style$Overflow__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$Overflow_values___3Lcom_google_gwt_dom_client_Style$Overflow_2(){ + com_google_gwt_dom_client_Style$Overflow_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow_12_1classLit, 1), $intern_1, 48, 0, [com_google_gwt_dom_client_Style$Overflow_VISIBLE, com_google_gwt_dom_client_Style$Overflow_HIDDEN, com_google_gwt_dom_client_Style$Overflow_SCROLL, com_google_gwt_dom_client_Style$Overflow_AUTO]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(48, 4, $intern_7); +var com_google_gwt_dom_client_Style$Overflow_AUTO, com_google_gwt_dom_client_Style$Overflow_HIDDEN, com_google_gwt_dom_client_Style$Overflow_SCROLL, com_google_gwt_dom_client_Style$Overflow_VISIBLE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(48, com_google_gwt_dom_client_Style$Overflow_values___3Lcom_google_gwt_dom_client_Style$Overflow_2); +function com_google_gwt_dom_client_Style$Overflow$1_Style$Overflow$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Overflow_Style$Overflow__Ljava_lang_String_2IV.call(this, 'VISIBLE', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(357, 48, $intern_7, com_google_gwt_dom_client_Style$Overflow$1_Style$Overflow$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(357, null); +function com_google_gwt_dom_client_Style$Overflow$2_Style$Overflow$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Overflow_Style$Overflow__Ljava_lang_String_2IV.call(this, 'HIDDEN', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(358, 48, $intern_7, com_google_gwt_dom_client_Style$Overflow$2_Style$Overflow$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(358, null); +function com_google_gwt_dom_client_Style$Overflow$3_Style$Overflow$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Overflow_Style$Overflow__Ljava_lang_String_2IV.call(this, 'SCROLL', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(359, 48, $intern_7, com_google_gwt_dom_client_Style$Overflow$3_Style$Overflow$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(359, null); +function com_google_gwt_dom_client_Style$Overflow$4_Style$Overflow$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Overflow_Style$Overflow__Ljava_lang_String_2IV.call(this, 'AUTO', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(360, 48, $intern_7, com_google_gwt_dom_client_Style$Overflow$4_Style$Overflow$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Overflow$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(360, null); +function com_google_gwt_dom_client_Style$Position_$clinit__V(){ + com_google_gwt_dom_client_Style$Position_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$Position_STATIC = new com_google_gwt_dom_client_Style$Position$1_Style$Position$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Position_RELATIVE = new com_google_gwt_dom_client_Style$Position$2_Style$Position$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Position_ABSOLUTE = new com_google_gwt_dom_client_Style$Position$3_Style$Position$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Position_FIXED = new com_google_gwt_dom_client_Style$Position$4_Style$Position$4__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$Position_Style$Position__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$Position_values___3Lcom_google_gwt_dom_client_Style$Position_2(){ + com_google_gwt_dom_client_Style$Position_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position_12_1classLit, 1), $intern_1, 49, 0, [com_google_gwt_dom_client_Style$Position_STATIC, com_google_gwt_dom_client_Style$Position_RELATIVE, com_google_gwt_dom_client_Style$Position_ABSOLUTE, com_google_gwt_dom_client_Style$Position_FIXED]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(49, 4, $intern_8); +var com_google_gwt_dom_client_Style$Position_ABSOLUTE, com_google_gwt_dom_client_Style$Position_FIXED, com_google_gwt_dom_client_Style$Position_RELATIVE, com_google_gwt_dom_client_Style$Position_STATIC; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(49, com_google_gwt_dom_client_Style$Position_values___3Lcom_google_gwt_dom_client_Style$Position_2); +function com_google_gwt_dom_client_Style$Position$1_Style$Position$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Position_Style$Position__Ljava_lang_String_2IV.call(this, 'STATIC', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(361, 49, $intern_8, com_google_gwt_dom_client_Style$Position$1_Style$Position$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(361, null); +function com_google_gwt_dom_client_Style$Position$2_Style$Position$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Position_Style$Position__Ljava_lang_String_2IV.call(this, 'RELATIVE', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(362, 49, $intern_8, com_google_gwt_dom_client_Style$Position$2_Style$Position$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(362, null); +function com_google_gwt_dom_client_Style$Position$3_Style$Position$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Position_Style$Position__Ljava_lang_String_2IV.call(this, 'ABSOLUTE', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(363, 49, $intern_8, com_google_gwt_dom_client_Style$Position$3_Style$Position$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(363, null); +function com_google_gwt_dom_client_Style$Position$4_Style$Position$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Position_Style$Position__Ljava_lang_String_2IV.call(this, 'FIXED', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(364, 49, $intern_8, com_google_gwt_dom_client_Style$Position$4_Style$Position$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Position$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(364, null); +function com_google_gwt_dom_client_Style$TextAlign_$clinit__V(){ + com_google_gwt_dom_client_Style$TextAlign_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$TextAlign_CENTER = new com_google_gwt_dom_client_Style$TextAlign$1_Style$TextAlign$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$TextAlign_JUSTIFY = new com_google_gwt_dom_client_Style$TextAlign$2_Style$TextAlign$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$TextAlign_LEFT = new com_google_gwt_dom_client_Style$TextAlign$3_Style$TextAlign$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$TextAlign_RIGHT = new com_google_gwt_dom_client_Style$TextAlign$4_Style$TextAlign$4__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$TextAlign_Style$TextAlign__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$TextAlign_values___3Lcom_google_gwt_dom_client_Style$TextAlign_2(){ + com_google_gwt_dom_client_Style$TextAlign_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign_12_1classLit, 1), $intern_1, 50, 0, [com_google_gwt_dom_client_Style$TextAlign_CENTER, com_google_gwt_dom_client_Style$TextAlign_JUSTIFY, com_google_gwt_dom_client_Style$TextAlign_LEFT, com_google_gwt_dom_client_Style$TextAlign_RIGHT]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(50, 4, $intern_9); +var com_google_gwt_dom_client_Style$TextAlign_CENTER, com_google_gwt_dom_client_Style$TextAlign_JUSTIFY, com_google_gwt_dom_client_Style$TextAlign_LEFT, com_google_gwt_dom_client_Style$TextAlign_RIGHT; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(50, com_google_gwt_dom_client_Style$TextAlign_values___3Lcom_google_gwt_dom_client_Style$TextAlign_2); +function com_google_gwt_dom_client_Style$TextAlign$1_Style$TextAlign$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$TextAlign_Style$TextAlign__Ljava_lang_String_2IV.call(this, 'CENTER', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(365, 50, $intern_9, com_google_gwt_dom_client_Style$TextAlign$1_Style$TextAlign$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(365, null); +function com_google_gwt_dom_client_Style$TextAlign$2_Style$TextAlign$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$TextAlign_Style$TextAlign__Ljava_lang_String_2IV.call(this, 'JUSTIFY', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(366, 50, $intern_9, com_google_gwt_dom_client_Style$TextAlign$2_Style$TextAlign$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(366, null); +function com_google_gwt_dom_client_Style$TextAlign$3_Style$TextAlign$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$TextAlign_Style$TextAlign__Ljava_lang_String_2IV.call(this, 'LEFT', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(367, 50, $intern_9, com_google_gwt_dom_client_Style$TextAlign$3_Style$TextAlign$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(367, null); +function com_google_gwt_dom_client_Style$TextAlign$4_Style$TextAlign$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$TextAlign_Style$TextAlign__Ljava_lang_String_2IV.call(this, 'RIGHT', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(368, 50, $intern_9, com_google_gwt_dom_client_Style$TextAlign$4_Style$TextAlign$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$TextAlign$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(368, null); +function com_google_gwt_dom_client_Style$Unit_$clinit__V(){ + com_google_gwt_dom_client_Style$Unit_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$Unit_PX = new com_google_gwt_dom_client_Style$Unit$1_Style$Unit$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_PCT = new com_google_gwt_dom_client_Style$Unit$2_Style$Unit$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_EM = new com_google_gwt_dom_client_Style$Unit$3_Style$Unit$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_EX = new com_google_gwt_dom_client_Style$Unit$4_Style$Unit$4__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_PT = new com_google_gwt_dom_client_Style$Unit$5_Style$Unit$5__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_PC = new com_google_gwt_dom_client_Style$Unit$6_Style$Unit$6__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_IN = new com_google_gwt_dom_client_Style$Unit$7_Style$Unit$7__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_CM = new com_google_gwt_dom_client_Style$Unit$8_Style$Unit$8__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Unit_MM = new com_google_gwt_dom_client_Style$Unit$9_Style$Unit$9__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$Unit_values___3Lcom_google_gwt_dom_client_Style$Unit_2(){ + com_google_gwt_dom_client_Style$Unit_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit_12_1classLit, 1), $intern_1, 27, 0, [com_google_gwt_dom_client_Style$Unit_PX, com_google_gwt_dom_client_Style$Unit_PCT, com_google_gwt_dom_client_Style$Unit_EM, com_google_gwt_dom_client_Style$Unit_EX, com_google_gwt_dom_client_Style$Unit_PT, com_google_gwt_dom_client_Style$Unit_PC, com_google_gwt_dom_client_Style$Unit_IN, com_google_gwt_dom_client_Style$Unit_CM, com_google_gwt_dom_client_Style$Unit_MM]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(27, 4, $intern_10); +var com_google_gwt_dom_client_Style$Unit_CM, com_google_gwt_dom_client_Style$Unit_EM, com_google_gwt_dom_client_Style$Unit_EX, com_google_gwt_dom_client_Style$Unit_IN, com_google_gwt_dom_client_Style$Unit_MM, com_google_gwt_dom_client_Style$Unit_PC, com_google_gwt_dom_client_Style$Unit_PCT, com_google_gwt_dom_client_Style$Unit_PT, com_google_gwt_dom_client_Style$Unit_PX; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(27, com_google_gwt_dom_client_Style$Unit_values___3Lcom_google_gwt_dom_client_Style$Unit_2); +function com_google_gwt_dom_client_Style$Unit$1_Style$Unit$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'PX', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(326, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$1_Style$Unit$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(326, null); +function com_google_gwt_dom_client_Style$Unit$2_Style$Unit$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'PCT', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(327, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$2_Style$Unit$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(327, null); +function com_google_gwt_dom_client_Style$Unit$3_Style$Unit$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'EM', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(328, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$3_Style$Unit$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(328, null); +function com_google_gwt_dom_client_Style$Unit$4_Style$Unit$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'EX', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(329, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$4_Style$Unit$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(329, null); +function com_google_gwt_dom_client_Style$Unit$5_Style$Unit$5__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'PT', 4); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(330, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$5_Style$Unit$5__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$5_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(330, null); +function com_google_gwt_dom_client_Style$Unit$6_Style$Unit$6__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'PC', 5); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(331, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$6_Style$Unit$6__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$6_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(331, null); +function com_google_gwt_dom_client_Style$Unit$7_Style$Unit$7__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'IN', 6); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(332, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$7_Style$Unit$7__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$7_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(332, null); +function com_google_gwt_dom_client_Style$Unit$8_Style$Unit$8__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'CM', 7); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(333, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$8_Style$Unit$8__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$8_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(333, null); +function com_google_gwt_dom_client_Style$Unit$9_Style$Unit$9__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Unit_Style$Unit__Ljava_lang_String_2IV.call(this, 'MM', 8); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(334, 27, $intern_10, com_google_gwt_dom_client_Style$Unit$9_Style$Unit$9__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Unit$9_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(334, null); +function com_google_gwt_dom_client_Style$Visibility_$clinit__V(){ + com_google_gwt_dom_client_Style$Visibility_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$Visibility_VISIBLE = new com_google_gwt_dom_client_Style$Visibility$1_Style$Visibility$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$Visibility_HIDDEN = new com_google_gwt_dom_client_Style$Visibility$2_Style$Visibility$2__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$Visibility_Style$Visibility__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$Visibility_values___3Lcom_google_gwt_dom_client_Style$Visibility_2(){ + com_google_gwt_dom_client_Style$Visibility_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Visibility_12_1classLit, 1), $intern_1, 70, 0, [com_google_gwt_dom_client_Style$Visibility_VISIBLE, com_google_gwt_dom_client_Style$Visibility_HIDDEN]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(70, 4, $intern_11); +var com_google_gwt_dom_client_Style$Visibility_HIDDEN, com_google_gwt_dom_client_Style$Visibility_VISIBLE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Visibility_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(70, com_google_gwt_dom_client_Style$Visibility_values___3Lcom_google_gwt_dom_client_Style$Visibility_2); +function com_google_gwt_dom_client_Style$Visibility$1_Style$Visibility$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Visibility_Style$Visibility__Ljava_lang_String_2IV.call(this, 'VISIBLE', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(369, 70, $intern_11, com_google_gwt_dom_client_Style$Visibility$1_Style$Visibility$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Visibility$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(369, null); +function com_google_gwt_dom_client_Style$Visibility$2_Style$Visibility$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$Visibility_Style$Visibility__Ljava_lang_String_2IV.call(this, 'HIDDEN', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(370, 70, $intern_11, com_google_gwt_dom_client_Style$Visibility$2_Style$Visibility$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$Visibility$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(370, null); +function com_google_gwt_dom_client_Style$WhiteSpace_$clinit__V(){ + com_google_gwt_dom_client_Style$WhiteSpace_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$WhiteSpace_NORMAL = new com_google_gwt_dom_client_Style$WhiteSpace$1_Style$WhiteSpace$1__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$WhiteSpace_NOWRAP = new com_google_gwt_dom_client_Style$WhiteSpace$2_Style$WhiteSpace$2__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$WhiteSpace_PRE = new com_google_gwt_dom_client_Style$WhiteSpace$3_Style$WhiteSpace$3__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$WhiteSpace_PRE_1LINE = new com_google_gwt_dom_client_Style$WhiteSpace$4_Style$WhiteSpace$4__Ljava_lang_String_2IV; + com_google_gwt_dom_client_Style$WhiteSpace_PRE_1WRAP = new com_google_gwt_dom_client_Style$WhiteSpace$5_Style$WhiteSpace$5__Ljava_lang_String_2IV; +} + +function com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_dom_client_Style$WhiteSpace_values___3Lcom_google_gwt_dom_client_Style$WhiteSpace_2(){ + com_google_gwt_dom_client_Style$WhiteSpace_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace_12_1classLit, 1), $intern_1, 41, 0, [com_google_gwt_dom_client_Style$WhiteSpace_NORMAL, com_google_gwt_dom_client_Style$WhiteSpace_NOWRAP, com_google_gwt_dom_client_Style$WhiteSpace_PRE, com_google_gwt_dom_client_Style$WhiteSpace_PRE_1LINE, com_google_gwt_dom_client_Style$WhiteSpace_PRE_1WRAP]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(41, 4, $intern_12); +var com_google_gwt_dom_client_Style$WhiteSpace_NORMAL, com_google_gwt_dom_client_Style$WhiteSpace_NOWRAP, com_google_gwt_dom_client_Style$WhiteSpace_PRE, com_google_gwt_dom_client_Style$WhiteSpace_PRE_1LINE, com_google_gwt_dom_client_Style$WhiteSpace_PRE_1WRAP; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(41, com_google_gwt_dom_client_Style$WhiteSpace_values___3Lcom_google_gwt_dom_client_Style$WhiteSpace_2); +function com_google_gwt_dom_client_Style$WhiteSpace$1_Style$WhiteSpace$1__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV.call(this, 'NORMAL', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(371, 41, $intern_12, com_google_gwt_dom_client_Style$WhiteSpace$1_Style$WhiteSpace$1__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(371, null); +function com_google_gwt_dom_client_Style$WhiteSpace$2_Style$WhiteSpace$2__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV.call(this, 'NOWRAP', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(372, 41, $intern_12, com_google_gwt_dom_client_Style$WhiteSpace$2_Style$WhiteSpace$2__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(372, null); +function com_google_gwt_dom_client_Style$WhiteSpace$3_Style$WhiteSpace$3__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV.call(this, 'PRE', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(373, 41, $intern_12, com_google_gwt_dom_client_Style$WhiteSpace$3_Style$WhiteSpace$3__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(373, null); +function com_google_gwt_dom_client_Style$WhiteSpace$4_Style$WhiteSpace$4__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV.call(this, 'PRE_LINE', 3); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(374, 41, $intern_12, com_google_gwt_dom_client_Style$WhiteSpace$4_Style$WhiteSpace$4__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace$4_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(374, null); +function com_google_gwt_dom_client_Style$WhiteSpace$5_Style$WhiteSpace$5__Ljava_lang_String_2IV(){ + com_google_gwt_dom_client_Style$WhiteSpace_Style$WhiteSpace__Ljava_lang_String_2IV.call(this, 'PRE_WRAP', 4); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(375, 41, $intern_12, com_google_gwt_dom_client_Style$WhiteSpace$5_Style$WhiteSpace$5__Ljava_lang_String_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1dom_1client_1Style$WhiteSpace$5_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(375, null); +function com_google_gwt_dom_client_Touch_$getClientX__Lcom_google_gwt_dom_client_Touch_2I(this$static){ + return com_google_gwt_dom_client_DOMImpl_toInt32__DI((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).clientX || 0); +} + +function com_google_gwt_dom_client_Touch_$getClientY__Lcom_google_gwt_dom_client_Touch_2I(this$static){ + return com_google_gwt_dom_client_DOMImpl_toInt32__DI((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).clientY || 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(526, 1, {}); +_.toString__Ljava_lang_String_2$ = function(){ + return 'An event type'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1Event_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(526); +function com_google_gwt_event_shared_GwtEvent_$overrideSource__Lcom_google_gwt_event_shared_GwtEvent_2Ljava_lang_Object_2V(this$static, source){ + this$static.com_google_web_bindery_event_shared_Event_source = source; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(527, 526, {}); +_.getSource__Ljava_lang_Object_2 = function(){ + return this.com_google_web_bindery_event_shared_Event_source; +} +; +_.revive__V = function(){ + this.com_google_gwt_event_shared_GwtEvent_dead = false; + this.com_google_web_bindery_event_shared_Event_source = null; +} +; +_.com_google_gwt_event_shared_GwtEvent_dead = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1GwtEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(527); +function com_google_gwt_event_dom_client_DomEvent_$setNativeEvent__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_NativeEvent_2V(this$static, nativeEvent){ + this$static.com_google_gwt_event_dom_client_DomEvent_nativeEvent = nativeEvent; +} + +function com_google_gwt_event_dom_client_DomEvent_$setRelativeElement__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_Element_2V(this$static, relativeElem){ + this$static.com_google_gwt_event_dom_client_DomEvent_relativeElem = relativeElem; +} + +function com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_gwt_dom_client_Element_2V(nativeEvent, handlerSource, relativeElem){ + var currentNative, currentRelativeElem, type_0, type$iterator, types; + if (com_google_gwt_event_dom_client_DomEvent_registered) { + types = com_google_gwt_event_dom_client_PrivateMap_$unsafeGet__Lcom_google_gwt_event_dom_client_PrivateMap_2Ljava_lang_String_2Ljava_lang_Object_2(com_google_gwt_event_dom_client_DomEvent_registered, (com_google_gwt_dom_client_DOMImpl_$clinit__V() , nativeEvent).type); + if (types) { + for (type$iterator = types.iterator__Ljava_util_Iterator_2(); type$iterator.hasNext__Z();) { + type_0 = type$iterator.next__Ljava_lang_Object_2(); + currentNative = type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight.com_google_gwt_event_dom_client_DomEvent_nativeEvent; + currentRelativeElem = type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight.com_google_gwt_event_dom_client_DomEvent_relativeElem; + com_google_gwt_event_dom_client_DomEvent_$setNativeEvent__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_NativeEvent_2V(type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight, nativeEvent); + com_google_gwt_event_dom_client_DomEvent_$setRelativeElement__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_Element_2V(type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight, relativeElem); + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(handlerSource, type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight); + com_google_gwt_event_dom_client_DomEvent_$setNativeEvent__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_NativeEvent_2V(type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight, currentNative); + com_google_gwt_event_dom_client_DomEvent_$setRelativeElement__Lcom_google_gwt_event_dom_client_DomEvent_2Lcom_google_gwt_dom_client_Element_2V(type_0.com_google_gwt_event_dom_client_DomEvent$Type_flyweight, currentRelativeElem); + } + } + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(531, 527, {}); +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return this.getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2(); +} +; +var com_google_gwt_event_dom_client_DomEvent_registered; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1DomEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(531); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(533, 531, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1HumanInputEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(533); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(534, 533, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1MouseEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(534); +function com_google_gwt_event_dom_client_ClickEvent_$clinit__V(){ + com_google_gwt_event_dom_client_ClickEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_event_dom_client_ClickEvent_TYPE = new com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V('click', new com_google_gwt_event_dom_client_ClickEvent_ClickEvent__V); +} + +function com_google_gwt_event_dom_client_ClickEvent_ClickEvent__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(493, 534, {}, com_google_gwt_event_dom_client_ClickEvent_ClickEvent__V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_google_gwt_event_logical_shared_ValueChangeEvent_fire__Lcom_google_gwt_event_logical_shared_HasValueChangeHandlers_2Ljava_lang_Object_2V(handler.com_google_gwt_user_client_ui_CheckBox$1_this$01, com_google_gwt_user_client_ui_CheckBox_$getValue__Lcom_google_gwt_user_client_ui_CheckBox_2Ljava_lang_Boolean_2(handler.com_google_gwt_user_client_ui_CheckBox$1_this$01)); +} +; +_.getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2 = function(){ + return com_google_gwt_event_dom_client_ClickEvent_TYPE; +} +; +var com_google_gwt_event_dom_client_ClickEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1ClickEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(493); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(189, 1, {}); +_.hashCode__I$ = function(){ + return this.com_google_web_bindery_event_shared_Event$Type_index; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return 'Event type'; +} +; +_.com_google_web_bindery_event_shared_Event$Type_index = 0; +var com_google_web_bindery_event_shared_Event$Type_nextHashCode = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1Event$Type_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(189); +function com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V(){ + this.com_google_web_bindery_event_shared_Event$Type_index = ++com_google_web_bindery_event_shared_Event$Type_nextHashCode; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(29, 189, {}, com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1GwtEvent$Type_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(29); +function com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V(eventName, flyweight){ + var types; + com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V.call(this); + this.com_google_gwt_event_dom_client_DomEvent$Type_flyweight = flyweight; + !com_google_gwt_event_dom_client_DomEvent_registered && (com_google_gwt_event_dom_client_DomEvent_registered = new com_google_gwt_event_dom_client_PrivateMap_PrivateMap__V); + types = com_google_gwt_event_dom_client_PrivateMap_$unsafeGet__Lcom_google_gwt_event_dom_client_PrivateMap_2Ljava_lang_String_2Ljava_lang_Object_2(com_google_gwt_event_dom_client_DomEvent_registered, eventName); + if (!types) { + types = new java_util_ArrayList_ArrayList__V; + com_google_gwt_event_dom_client_PrivateMap_$unsafePut__Lcom_google_gwt_event_dom_client_PrivateMap_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_event_dom_client_DomEvent_registered, eventName, types); + } + types.add__Ljava_lang_Object_2Z(this); + this.com_google_gwt_event_dom_client_DomEvent$Type_name = eventName; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(98, 29, {}, com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1DomEvent$Type_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(98); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(532, 531, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1KeyEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(532); +function com_google_gwt_event_dom_client_PrivateMap_$unsafeGet__Lcom_google_gwt_event_dom_client_PrivateMap_2Ljava_lang_String_2Ljava_lang_Object_2(this$static, key){ + return this$static.com_google_gwt_event_dom_client_PrivateMap_map[key]; +} + +function com_google_gwt_event_dom_client_PrivateMap_$unsafePut__Lcom_google_gwt_event_dom_client_PrivateMap_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, key, value_0){ + this$static.com_google_gwt_event_dom_client_PrivateMap_map[key] = value_0; +} + +function com_google_gwt_event_dom_client_PrivateMap_PrivateMap__V(){ + this.com_google_gwt_event_dom_client_PrivateMap_map = {}; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(430, 1, {}, com_google_gwt_event_dom_client_PrivateMap_PrivateMap__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1PrivateMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(430); +function com_google_gwt_event_logical_shared_AttachEvent_AttachEvent__ZV(){ +} + +function com_google_gwt_event_logical_shared_AttachEvent_fire__Lcom_google_gwt_event_logical_shared_HasAttachHandlers_2ZV(source){ + var event_0; + if (com_google_gwt_event_logical_shared_AttachEvent_TYPE) { + event_0 = new com_google_gwt_event_logical_shared_AttachEvent_AttachEvent__ZV; + !!source.com_google_gwt_user_client_ui_Widget_handlerManager && com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(source.com_google_gwt_user_client_ui_Widget_handlerManager, event_0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(188, 527, {}, com_google_gwt_event_logical_shared_AttachEvent_AttachEvent__ZV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_event_logical_shared_AttachEvent_TYPE; +} +; +var com_google_gwt_event_logical_shared_AttachEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1logical_1shared_1AttachEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(188); +function com_google_gwt_event_logical_shared_CloseEvent_CloseEvent__Ljava_lang_Object_2ZV(){ +} + +function com_google_gwt_event_logical_shared_CloseEvent_fire__Lcom_google_gwt_event_logical_shared_HasCloseHandlers_2Ljava_lang_Object_2ZV(source){ + var event_0; + if (com_google_gwt_event_logical_shared_CloseEvent_TYPE) { + event_0 = new com_google_gwt_event_logical_shared_CloseEvent_CloseEvent__Ljava_lang_Object_2ZV; + source.fireEvent__Lcom_google_gwt_event_shared_GwtEvent_2V(event_0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(462, 527, {}, com_google_gwt_event_logical_shared_CloseEvent_CloseEvent__Ljava_lang_Object_2ZV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onClose__Lcom_google_gwt_event_logical_shared_CloseEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_event_logical_shared_CloseEvent_TYPE; +} +; +var com_google_gwt_event_logical_shared_CloseEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1logical_1shared_1CloseEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(462); +function com_google_gwt_event_logical_shared_ResizeEvent_ResizeEvent__IIV(){ +} + +function com_google_gwt_event_logical_shared_ResizeEvent_fire__Lcom_google_gwt_event_logical_shared_HasResizeHandlers_2IIV(source){ + var event_0; + if (com_google_gwt_event_logical_shared_ResizeEvent_TYPE) { + event_0 = new com_google_gwt_event_logical_shared_ResizeEvent_ResizeEvent__IIV; + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(source, event_0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(483, 527, {}, com_google_gwt_event_logical_shared_ResizeEvent_ResizeEvent__IIV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V(); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_event_logical_shared_ResizeEvent_TYPE; +} +; +var com_google_gwt_event_logical_shared_ResizeEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1logical_1shared_1ResizeEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(483); +function com_google_gwt_event_logical_shared_ValueChangeEvent_ValueChangeEvent__Ljava_lang_Object_2V(value_0){ + this.com_google_gwt_event_logical_shared_ValueChangeEvent_value = value_0; +} + +function com_google_gwt_event_logical_shared_ValueChangeEvent_fire__Lcom_google_gwt_event_logical_shared_HasValueChangeHandlers_2Ljava_lang_Object_2V(source, value_0){ + var event_0; + if (com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE) { + event_0 = new com_google_gwt_event_logical_shared_ValueChangeEvent_ValueChangeEvent__Ljava_lang_Object_2V(value_0); + source.fireEvent__Lcom_google_gwt_event_shared_GwtEvent_2V(event_0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(227, 527, {}, com_google_gwt_event_logical_shared_ValueChangeEvent_ValueChangeEvent__Ljava_lang_Object_2V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE; +} +; +var com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1logical_1shared_1ValueChangeEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(227); +function com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, type_0, handler){ + return new com_google_gwt_event_shared_LegacyHandlerWrapper_LegacyHandlerWrapper__Lcom_google_web_bindery_event_shared_HandlerRegistration_2V(com_google_web_bindery_event_shared_SimpleEventBus_$doAdd__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_web_bindery_event_shared_HandlerRegistration_2(this$static.com_google_gwt_event_shared_HandlerManager_eventBus, type_0, handler)); +} + +function com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static, event_0){ + var e, oldSource; + !event_0.com_google_gwt_event_shared_GwtEvent_dead || event_0.revive__V(); + oldSource = event_0.getSource__Ljava_lang_Object_2(); + com_google_gwt_event_shared_GwtEvent_$overrideSource__Lcom_google_gwt_event_shared_GwtEvent_2Ljava_lang_Object_2V(event_0, this$static.com_google_gwt_event_shared_HandlerManager_source); + try { + com_google_web_bindery_event_shared_SimpleEventBus_$doFire__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event_2Ljava_lang_Object_2V(this$static.com_google_gwt_event_shared_HandlerManager_eventBus, event_0); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 71)) { + e = $e0; + throw new com_google_gwt_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V(e.com_google_web_bindery_event_shared_UmbrellaException_causes); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + finally { + oldSource == null?(event_0.com_google_gwt_event_shared_GwtEvent_dead = true , event_0.com_google_web_bindery_event_shared_Event_source = null):(event_0.com_google_web_bindery_event_shared_Event_source = oldSource); + } +} + +function com_google_gwt_event_shared_HandlerManager_$isEventHandled__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Z(this$static, e){ + return com_google_web_bindery_event_shared_SimpleEventBus_$isEventHandled__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Z(this$static.com_google_gwt_event_shared_HandlerManager_eventBus, e); +} + +function com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(source){ + com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2ZV.call(this, source, false); +} + +function com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2ZV(source, fireInReverseOrder){ + this.com_google_gwt_event_shared_HandlerManager_eventBus = new com_google_gwt_event_shared_HandlerManager$Bus_HandlerManager$Bus__ZV(fireInReverseOrder); + this.com_google_gwt_event_shared_HandlerManager_source = source; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(47, 1, {21:1}, com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V, com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2ZV); +_.fireEvent__Lcom_google_gwt_event_shared_GwtEvent_2V = function(event_0){ + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(this, event_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1HandlerManager_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(47); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(542, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1EventBus_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(542); +function com_google_web_bindery_event_shared_SimpleEventBus_$defer__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_SimpleEventBus$Command_2V(this$static, command){ + !this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas && (this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas = new java_util_ArrayList_ArrayList__V); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas, command); +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$doAdd__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_web_bindery_event_shared_HandlerRegistration_2(this$static, type_0, handler){ + if (!type_0) { + throw new java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V('Cannot add a handler with a null type'); + } + if (!handler) { + throw new java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V('Cannot add a null handler'); + } + this$static.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth > 0?com_google_web_bindery_event_shared_SimpleEventBus_$defer__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_SimpleEventBus$Command_2V(this$static, new com_google_web_bindery_event_shared_SimpleEventBus$2_SimpleEventBus$2__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$static, type_0, handler)):com_google_web_bindery_event_shared_SimpleEventBus_$doAddNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, type_0, null, handler); + return new com_google_web_bindery_event_shared_SimpleEventBus$1_SimpleEventBus$1__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$static, type_0, handler); +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$doAddNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, type_0, source, handler){ + var l; + l = com_google_web_bindery_event_shared_SimpleEventBus_$ensureHandlerList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0, source); + l.add__Ljava_lang_Object_2Z(handler); +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$doFire__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event_2Ljava_lang_Object_2V(this$static, event_0){ + var causes, e, handler, handlers, it; + if (!event_0) { + throw new java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V('Cannot fire null event'); + } + try { + ++this$static.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth; + handlers = com_google_web_bindery_event_shared_SimpleEventBus_$getDispatchList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, event_0.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2()); + causes = null; + it = this$static.com_google_web_bindery_event_shared_SimpleEventBus_isReverseOrder?handlers.listIterator__ILjava_util_ListIterator_2(handlers.size__I()):handlers.listIterator__Ljava_util_ListIterator_2(); + while (this$static.com_google_web_bindery_event_shared_SimpleEventBus_isReverseOrder?it.hasPrevious__Z():it.hasNext__Z()) { + handler = this$static.com_google_web_bindery_event_shared_SimpleEventBus_isReverseOrder?it.previous__Ljava_lang_Object_2():it.next__Ljava_lang_Object_2(); + try { + event_0.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V(handler); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 13)) { + e = $e0; + !causes && (causes = new java_util_HashSet_HashSet__V); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(causes, e); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + if (causes) { + throw new com_google_web_bindery_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V(causes); + } + } + finally { + --this$static.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth; + this$static.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth == 0 && com_google_web_bindery_event_shared_SimpleEventBus_$handleQueuedAddsAndRemoves__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$static); + } +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$doRemoveNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, type_0, source, handler){ + var l, removed, com_google_web_bindery_event_shared_SimpleEventBus_$prune__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2V_sourceMap_0; + l = com_google_web_bindery_event_shared_SimpleEventBus_$getHandlerList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0, source); + removed = l.remove__Ljava_lang_Object_2Z(handler); + removed && l.isEmpty__Z() && (com_google_web_bindery_event_shared_SimpleEventBus_$prune__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2V_sourceMap_0 = this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(type_0) , com_google_web_bindery_event_shared_SimpleEventBus_$prune__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2V_sourceMap_0.remove__Ljava_lang_Object_2Ljava_lang_Object_2(source) , com_google_web_bindery_event_shared_SimpleEventBus_$prune__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2V_sourceMap_0.isEmpty__Z() && this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(type_0) , undefined); +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$ensureHandlerList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0, source){ + var handlers, sourceMap; + sourceMap = this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(type_0); + if (!sourceMap) { + sourceMap = new java_util_HashMap_HashMap__V; + this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(type_0, sourceMap); + } + handlers = sourceMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(source); + if (!handlers) { + handlers = new java_util_ArrayList_ArrayList__V; + sourceMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(source, handlers); + } + return handlers; +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$getDispatchList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0){ + var directHandlers; + directHandlers = com_google_web_bindery_event_shared_SimpleEventBus_$getHandlerList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0, null); + return directHandlers; +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$getHandlerList__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_util_List_2(this$static, type_0, source){ + var handlers, sourceMap; + sourceMap = this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(type_0); + if (!sourceMap) { + return java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST; + } + handlers = sourceMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(source); + if (!handlers) { + return java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST; + } + return handlers; +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$handleQueuedAddsAndRemoves__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$static){ + var c, c$iterator; + if (this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas) { + try { + for (c$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas); c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + c = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , c$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(c$iterator.java_util_AbstractList$IteratorImpl_last = c$iterator.java_util_AbstractList$IteratorImpl_i++)); + c.execute__V(); + } + } + finally { + this$static.com_google_web_bindery_event_shared_SimpleEventBus_deferredDeltas = null; + } + } +} + +function com_google_web_bindery_event_shared_SimpleEventBus_$isEventHandled__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Z(this$static, eventKey){ + return this$static.com_google_web_bindery_event_shared_SimpleEventBus_map.containsKey__Ljava_lang_Object_2Z(eventKey); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(311, 542, {}); +_.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth = 0; +_.com_google_web_bindery_event_shared_SimpleEventBus_isReverseOrder = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1SimpleEventBus_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(311); +function com_google_gwt_event_shared_HandlerManager$Bus_$doRemove__Lcom_google_gwt_event_shared_HandlerManager$Bus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, type_0, source, handler){ + this$static.com_google_web_bindery_event_shared_SimpleEventBus_firingDepth > 0?com_google_web_bindery_event_shared_SimpleEventBus_$defer__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_SimpleEventBus$Command_2V(this$static, new com_google_web_bindery_event_shared_SimpleEventBus$3_SimpleEventBus$3__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$static, type_0, source, handler)):com_google_web_bindery_event_shared_SimpleEventBus_$doRemoveNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, type_0, source, handler); +} + +function com_google_gwt_event_shared_HandlerManager$Bus_HandlerManager$Bus__ZV(fireInReverseOrder){ + this.com_google_web_bindery_event_shared_SimpleEventBus_map = new java_util_HashMap_HashMap__V; + this.com_google_web_bindery_event_shared_SimpleEventBus_isReverseOrder = fireInReverseOrder; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(312, 311, {}, com_google_gwt_event_shared_HandlerManager$Bus_HandlerManager$Bus__ZV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1HandlerManager$Bus_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(312); +function com_google_gwt_event_shared_LegacyHandlerWrapper_LegacyHandlerWrapper__Lcom_google_web_bindery_event_shared_HandlerRegistration_2V(real){ + this.com_google_gwt_event_shared_LegacyHandlerWrapper_real = real; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(427, 1, {}, com_google_gwt_event_shared_LegacyHandlerWrapper_LegacyHandlerWrapper__Lcom_google_web_bindery_event_shared_HandlerRegistration_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1LegacyHandlerWrapper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(427); +function com_google_web_bindery_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V(causes){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2Ljava_lang_Throwable_2V.call(this, com_google_web_bindery_event_shared_UmbrellaException_makeMessage__Ljava_util_Set_2Ljava_lang_String_2(causes), com_google_web_bindery_event_shared_UmbrellaException_makeCause__Ljava_util_Set_2Ljava_lang_Throwable_2(causes)); + this.com_google_web_bindery_event_shared_UmbrellaException_causes = causes; +} + +function com_google_web_bindery_event_shared_UmbrellaException_makeCause__Ljava_util_Set_2Ljava_lang_Throwable_2(causes){ + var iterator; + iterator = causes.iterator__Ljava_util_Iterator_2(); + if (!iterator.hasNext__Z()) { + return null; + } + return iterator.next__Ljava_lang_Object_2(); +} + +function com_google_web_bindery_event_shared_UmbrellaException_makeMessage__Ljava_util_Set_2Ljava_lang_String_2(causes){ + var b, count, first, t, t$iterator; + count = causes.size__I(); + if (count == 0) { + return null; + } + b = new java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V(count == 1?'Exception caught: ':count + ' exceptions caught: '); + first = true; + for (t$iterator = causes.iterator__Ljava_util_Iterator_2(); t$iterator.hasNext__Z();) { + t = t$iterator.next__Ljava_lang_Object_2(); + first?(first = false):(b.java_lang_AbstractStringBuilder_string += '; ' , b); + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(b, t.getMessage__Ljava_lang_String_2()); + } + return b.java_lang_AbstractStringBuilder_string; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(71, 10, {71:1, 3:1, 12:1, 10:1, 13:1}, com_google_web_bindery_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1UmbrellaException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(71); +function com_google_gwt_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V(causes){ + com_google_web_bindery_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V.call(this, causes); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(82, 71, $intern_13, com_google_gwt_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1shared_1UmbrellaException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(82); +function com_google_gwt_http_client_Request_$cancel__Lcom_google_gwt_http_client_Request_2V(this$static){ + var xhr; + if (!this$static.com_google_gwt_http_client_Request_xmlHttpRequest) { + return; + } + com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static.com_google_gwt_http_client_Request_timer); + xhr = this$static.com_google_gwt_http_client_Request_xmlHttpRequest; + this$static.com_google_gwt_http_client_Request_xmlHttpRequest = null; + com_google_gwt_xhr_client_XMLHttpRequest_$clearOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(xhr); + xhr.abort(); +} + +function com_google_gwt_http_client_Request_$fireOnTimeout__Lcom_google_gwt_http_client_Request_2V(this$static){ + if (!this$static.com_google_gwt_http_client_Request_xmlHttpRequest) { + return; + } + com_google_gwt_http_client_Request_$cancel__Lcom_google_gwt_http_client_Request_2V(this$static); + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$onError__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Ljava_lang_Throwable_2V(this$static.com_google_gwt_http_client_Request_callback, this$static, new com_google_gwt_http_client_RequestTimeoutException_RequestTimeoutException__Lcom_google_gwt_http_client_Request_2IV(this$static.com_google_gwt_http_client_Request_timeoutMillis)); +} + +function com_google_gwt_http_client_Request_Request__Lcom_google_gwt_xhr_client_XMLHttpRequest_2ILcom_google_gwt_http_client_RequestCallback_2V(xmlHttpRequest, timeoutMillis, callback){ + this.com_google_gwt_http_client_Request_timer = new com_google_gwt_http_client_Request$1_Request$1__Lcom_google_gwt_http_client_Request_2V(this); + if (!xmlHttpRequest) { + throw new java_lang_NullPointerException_NullPointerException__V; + } + if (!callback) { + throw new java_lang_NullPointerException_NullPointerException__V; + } + if (timeoutMillis < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__V; + } + this.com_google_gwt_http_client_Request_callback = callback; + this.com_google_gwt_http_client_Request_timeoutMillis = timeoutMillis; + this.com_google_gwt_http_client_Request_xmlHttpRequest = xmlHttpRequest; + timeoutMillis > 0 && com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this.com_google_gwt_http_client_Request_timer, timeoutMillis); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(549, 1, {}, com_google_gwt_http_client_Request_Request__Lcom_google_gwt_xhr_client_XMLHttpRequest_2ILcom_google_gwt_http_client_RequestCallback_2V); +_.package_private$com_google_gwt_http_client_Request$fireOnResponseReceived__Lcom_google_gwt_http_client_RequestCallback_2V = function(callback){ + var response, xhr; + if (!this.com_google_gwt_http_client_Request_xmlHttpRequest) { + return; + } + com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this.com_google_gwt_http_client_Request_timer); + xhr = this.com_google_gwt_http_client_Request_xmlHttpRequest; + this.com_google_gwt_http_client_Request_xmlHttpRequest = null; + response = new com_google_gwt_http_client_ResponseImpl_ResponseImpl__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(xhr); + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$onResponseReceived__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(callback, this, response); +} +; +_.com_google_gwt_http_client_Request_timeoutMillis = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1Request_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(549); +function com_google_gwt_http_client_Request$1_Request$1__Lcom_google_gwt_http_client_Request_2V(this$0){ + this.com_google_gwt_http_client_Request$1_this$01 = this$0; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(494, 39, {}, com_google_gwt_http_client_Request$1_Request$1__Lcom_google_gwt_http_client_Request_2V); +_.run__V = function(){ + com_google_gwt_http_client_Request_$fireOnTimeout__Lcom_google_gwt_http_client_Request_2V(this.com_google_gwt_http_client_Request$1_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1Request$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(494); +function com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V(message){ + java_lang_Exception_Exception__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(92, 12, $intern_3, com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1RequestException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(92); +function com_google_gwt_http_client_RequestPermissionException_RequestPermissionException__Ljava_lang_String_2V(url_0){ + com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V.call(this, 'The URL ' + url_0 + ' is invalid or violates the same-origin security restriction'); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(503, 92, $intern_3, com_google_gwt_http_client_RequestPermissionException_RequestPermissionException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1RequestPermissionException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(503); +function com_google_gwt_http_client_RequestTimeoutException_RequestTimeoutException__Lcom_google_gwt_http_client_Request_2IV(timeoutMillis){ + com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V.call(this, 'A request timeout has expired after ' + timeoutMillis + ' ms'); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(508, 92, $intern_3, com_google_gwt_http_client_RequestTimeoutException_RequestTimeoutException__Lcom_google_gwt_http_client_Request_2IV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1RequestTimeoutException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(508); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(553, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1Response_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(553); +function com_google_gwt_http_client_ResponseImpl_ResponseImpl__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(xmlHttpRequest){ + this.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest = xmlHttpRequest; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(495, 553, {}, com_google_gwt_http_client_ResponseImpl_ResponseImpl__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1ResponseImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(495); +function com_google_gwt_http_client_StringValidator_throwIfNull__Ljava_lang_String_2Ljava_lang_Object_2V(value_0){ + if (null == value_0) { + throw new java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V('encodedURLComponent cannot be null'); + } +} + +function com_google_gwt_i18n_client_BidiUtils_getDirectionOnElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_i18n_client_HasDirection$Direction_2(elem){ + var dirPropertyValue; + dirPropertyValue = com_google_gwt_dom_client_Element_$getPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(elem, 'dir'); + if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('rtl', dirPropertyValue)) { + return com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V() , com_google_gwt_i18n_client_HasDirection$Direction_RTL; + } + else if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('ltr', dirPropertyValue)) { + return com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V() , com_google_gwt_i18n_client_HasDirection$Direction_LTR; + } + return com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V() , com_google_gwt_i18n_client_HasDirection$Direction_DEFAULT; +} + +function com_google_gwt_i18n_client_BidiUtils_setDirectionOnElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_i18n_client_HasDirection$Direction_2V(elem, direction){ + switch (direction.java_lang_Enum_ordinal) { + case 0: + { + com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(elem, 'dir', 'rtl'); + break; + } + + case 1: + { + com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(elem, 'dir', 'ltr'); + break; + } + + case 2: + { + com_google_gwt_i18n_client_BidiUtils_getDirectionOnElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_i18n_client_HasDirection$Direction_2(elem) != (com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V() , com_google_gwt_i18n_client_HasDirection$Direction_DEFAULT) && com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(elem, 'dir', ''); + break; + } + + } +} + +function com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V(){ + com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_i18n_client_HasDirection$Direction_RTL = new com_google_gwt_i18n_client_HasDirection$Direction_HasDirection$Direction__Ljava_lang_String_2IV('RTL', 0); + com_google_gwt_i18n_client_HasDirection$Direction_LTR = new com_google_gwt_i18n_client_HasDirection$Direction_HasDirection$Direction__Ljava_lang_String_2IV('LTR', 1); + com_google_gwt_i18n_client_HasDirection$Direction_DEFAULT = new com_google_gwt_i18n_client_HasDirection$Direction_HasDirection$Direction__Ljava_lang_String_2IV('DEFAULT', 2); +} + +function com_google_gwt_i18n_client_HasDirection$Direction_HasDirection$Direction__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_google_gwt_i18n_client_HasDirection$Direction_values___3Lcom_google_gwt_i18n_client_HasDirection$Direction_2(){ + com_google_gwt_i18n_client_HasDirection$Direction_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1i18n_1client_1HasDirection$Direction_12_1classLit, 1), $intern_1, 81, 0, [com_google_gwt_i18n_client_HasDirection$Direction_RTL, com_google_gwt_i18n_client_HasDirection$Direction_LTR, com_google_gwt_i18n_client_HasDirection$Direction_DEFAULT]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(81, 4, {81:1, 3:1, 5:1, 4:1}, com_google_gwt_i18n_client_HasDirection$Direction_HasDirection$Direction__Ljava_lang_String_2IV); +var com_google_gwt_i18n_client_HasDirection$Direction_DEFAULT, com_google_gwt_i18n_client_HasDirection$Direction_LTR, com_google_gwt_i18n_client_HasDirection$Direction_RTL; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1i18n_1client_1HasDirection$Direction_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(81, com_google_gwt_i18n_client_HasDirection$Direction_values___3Lcom_google_gwt_i18n_client_HasDirection$Direction_2); +function com_google_gwt_i18n_client_LocaleInfo_$clinit__V(){ + com_google_gwt_i18n_client_LocaleInfo_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_i18n_client_LocaleInfo_instance = new com_google_gwt_i18n_client_LocaleInfo_LocaleInfo__Lcom_google_gwt_i18n_client_impl_LocaleInfoImpl_2Lcom_google_gwt_i18n_client_impl_CldrImpl_2V; +} + +function com_google_gwt_i18n_client_LocaleInfo_$getNumberConstants__Lcom_google_gwt_i18n_client_LocaleInfo_2Lcom_google_gwt_i18n_client_constants_NumberConstants_2(this$static){ + !this$static.com_google_gwt_i18n_client_LocaleInfo_numberConstants && (this$static.com_google_gwt_i18n_client_LocaleInfo_numberConstants = new com_google_gwt_i18n_client_constants_NumberConstantsImpl_1_NumberConstantsImpl_1__V); + return this$static.com_google_gwt_i18n_client_LocaleInfo_numberConstants; +} + +function com_google_gwt_i18n_client_LocaleInfo_LocaleInfo__Lcom_google_gwt_i18n_client_impl_LocaleInfoImpl_2Lcom_google_gwt_i18n_client_impl_CldrImpl_2V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(316, 1, {}, com_google_gwt_i18n_client_LocaleInfo_LocaleInfo__Lcom_google_gwt_i18n_client_impl_LocaleInfoImpl_2Lcom_google_gwt_i18n_client_impl_CldrImpl_2V); +var com_google_gwt_i18n_client_LocaleInfo_instance; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1i18n_1client_1LocaleInfo_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(316); +function com_google_gwt_i18n_client_NumberFormat_$clinit__V(){ + com_google_gwt_i18n_client_NumberFormat_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_i18n_client_LocaleInfo_$getNumberConstants__Lcom_google_gwt_i18n_client_LocaleInfo_2Lcom_google_gwt_i18n_client_constants_NumberConstants_2((com_google_gwt_i18n_client_LocaleInfo_$clinit__V() , com_google_gwt_i18n_client_LocaleInfo_$clinit__V() , com_google_gwt_i18n_client_LocaleInfo_instance)); +} + +function com_google_gwt_i18n_client_NumberFormat_$addExponent__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, digits){ + var exponentDigits, i; + digits.java_lang_AbstractStringBuilder_string += 'E'; + if (this$static.com_google_gwt_i18n_client_NumberFormat_exponent < 0) { + this$static.com_google_gwt_i18n_client_NumberFormat_exponent = -this$static.com_google_gwt_i18n_client_NumberFormat_exponent; + digits.java_lang_AbstractStringBuilder_string += '-'; + } + exponentDigits = '' + this$static.com_google_gwt_i18n_client_NumberFormat_exponent; + for (i = exponentDigits.length; i < this$static.com_google_gwt_i18n_client_NumberFormat_minExponentDigits; ++i) { + digits.java_lang_AbstractStringBuilder_string += '0'; + } + digits.java_lang_AbstractStringBuilder_string += exponentDigits; +} + +function com_google_gwt_i18n_client_NumberFormat_$addZeroAndDecimal__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2CV(this$static, digits){ + if (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength == 0) { + digits.java_lang_AbstractStringBuilder_string = digits.java_lang_AbstractStringBuilder_string.substr(0, 0) + '0' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(digits.java_lang_AbstractStringBuilder_string, 0); + ++this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } + if (this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition < this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength || this$static.com_google_gwt_i18n_client_NumberFormat_decimalSeparatorAlwaysShown) { + java_lang_StringBuilder_$insert__Ljava_lang_StringBuilder_2ILjava_lang_String_2Ljava_lang_StringBuilder_2(digits, this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition, '.'); + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } +} + +function com_google_gwt_i18n_client_NumberFormat_$adjustFractionDigits__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, digits){ + var requiredDigits, toRemove; + requiredDigits = this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition + this$static.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits; + if (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength < requiredDigits) { + while (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength < requiredDigits) { + digits.java_lang_AbstractStringBuilder_string += '0'; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } + } + else { + toRemove = this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits; + toRemove > this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength && (toRemove = this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength); + while (toRemove > requiredDigits && java_lang_String_$charAt__Ljava_lang_String_2IC(digits.java_lang_AbstractStringBuilder_string, toRemove - 1) == 48) { + --toRemove; + } + if (toRemove < this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength) { + java_lang_StringBuilder_$delete__Ljava_lang_StringBuilder_2IILjava_lang_StringBuilder_2(digits, toRemove, this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength); + this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength = toRemove; + } + } +} + +function com_google_gwt_i18n_client_NumberFormat_$computeExponent__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, digits){ + var remainder, strip; + strip = 0; + while (strip < this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength - 1 && java_lang_String_$charAt__Ljava_lang_String_2IC(digits.java_lang_AbstractStringBuilder_string, strip) == 48) { + ++strip; + } + if (strip > 0) { + digits.java_lang_AbstractStringBuilder_string = digits.java_lang_AbstractStringBuilder_string.substr(0, 0) + '' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(digits.java_lang_AbstractStringBuilder_string, strip); + this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength -= strip; + this$static.com_google_gwt_i18n_client_NumberFormat_exponent -= strip; + } + if (this$static.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits > this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits && this$static.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits > 0) { + this$static.com_google_gwt_i18n_client_NumberFormat_exponent += this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition - 1; + remainder = this$static.com_google_gwt_i18n_client_NumberFormat_exponent % this$static.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits; + remainder < 0 && (remainder += this$static.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits); + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition = remainder + 1; + this$static.com_google_gwt_i18n_client_NumberFormat_exponent -= remainder; + } + else { + this$static.com_google_gwt_i18n_client_NumberFormat_exponent += this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition - this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition = this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits; + } + if (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength == 1 && digits.java_lang_AbstractStringBuilder_string.charCodeAt(0) == 48) { + this$static.com_google_gwt_i18n_client_NumberFormat_exponent = 0; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition = this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits; + } +} + +function com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2DLjava_lang_String_2(this$static, number){ + var buf, isNegative, preRound, scale, com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_useExponent_0, com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_currentGroupingSize_0; + if (isNaN(number)) { + return 'NaN'; + } + isNegative = number < 0 || number == 0 && 1 / number < 0; + isNegative && (number = -number); + buf = new java_lang_StringBuilder_StringBuilder__V; + if (java_lang_Double_isInfinite__DZ(number)) { + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(buf, isNegative?this$static.com_google_gwt_i18n_client_NumberFormat_negativePrefix:this$static.com_google_gwt_i18n_client_NumberFormat_positivePrefix); + buf.java_lang_AbstractStringBuilder_string += '\u221E'; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(buf, isNegative?this$static.com_google_gwt_i18n_client_NumberFormat_negativeSuffix:this$static.com_google_gwt_i18n_client_NumberFormat_positiveSuffix); + return buf.java_lang_AbstractStringBuilder_string; + } + number *= this$static.com_google_gwt_i18n_client_NumberFormat_multiplier; + scale = com_google_gwt_i18n_client_NumberFormat_toScaledString__Ljava_lang_StringBuilder_2DI(buf, number); + preRound = buf.java_lang_AbstractStringBuilder_string.length + scale + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits + 3; + if (preRound > 0 && preRound < buf.java_lang_AbstractStringBuilder_string.length && java_lang_String_$charAt__Ljava_lang_String_2IC(buf.java_lang_AbstractStringBuilder_string, preRound) == 57) { + com_google_gwt_i18n_client_NumberFormat_$propagateCarry__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2IV(this$static, buf, preRound - 1); + scale += buf.java_lang_AbstractStringBuilder_string.length - preRound; + java_lang_StringBuilder_$delete__Ljava_lang_StringBuilder_2IILjava_lang_StringBuilder_2(buf, preRound, buf.java_lang_AbstractStringBuilder_string.length); + } + this$static.com_google_gwt_i18n_client_NumberFormat_exponent = 0; + this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength = buf.java_lang_AbstractStringBuilder_string.length; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition = this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength + scale; + com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_useExponent_0 = this$static.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation; + com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_currentGroupingSize_0 = this$static.com_google_gwt_i18n_client_NumberFormat_groupingSize; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition > 1024 && (com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_useExponent_0 = true); + com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_useExponent_0 && com_google_gwt_i18n_client_NumberFormat_$computeExponent__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, buf); + com_google_gwt_i18n_client_NumberFormat_$processLeadingZeros__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, buf); + com_google_gwt_i18n_client_NumberFormat_$roundValue__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, buf); + com_google_gwt_i18n_client_NumberFormat_$insertGroupingSeparators__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2CIV(this$static, buf, com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_currentGroupingSize_0); + com_google_gwt_i18n_client_NumberFormat_$adjustFractionDigits__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, buf); + com_google_gwt_i18n_client_NumberFormat_$addZeroAndDecimal__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2CV(this$static, buf); + com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2ZLjava_lang_StringBuilder_2IV_useExponent_0 && com_google_gwt_i18n_client_NumberFormat_$addExponent__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, buf); + java_lang_StringBuilder_$insert__Ljava_lang_StringBuilder_2ILjava_lang_String_2Ljava_lang_StringBuilder_2(buf, 0, isNegative?this$static.com_google_gwt_i18n_client_NumberFormat_negativePrefix:this$static.com_google_gwt_i18n_client_NumberFormat_positivePrefix); + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(buf, isNegative?this$static.com_google_gwt_i18n_client_NumberFormat_negativeSuffix:this$static.com_google_gwt_i18n_client_NumberFormat_positiveSuffix); + return buf.java_lang_AbstractStringBuilder_string; +} + +function com_google_gwt_i18n_client_NumberFormat_$insertGroupingSeparators__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2CIV(this$static, digits, g){ + var i; + if (g > 0) { + for (i = g; i < this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition; i += g + 1) { + java_lang_StringBuilder_$insert__Ljava_lang_StringBuilder_2ILjava_lang_String_2Ljava_lang_StringBuilder_2(digits, this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition - i, ','); + ++this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } + } +} + +function com_google_gwt_i18n_client_NumberFormat_$parseAffix__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2ILjava_lang_StringBuilder_2ZI(this$static, pattern, start_0, affix, inNegativePattern){ + var ch_0, inQuote, len, pos; + java_lang_StringBuilder_$delete__Ljava_lang_StringBuilder_2IILjava_lang_StringBuilder_2(affix, 0, affix.java_lang_AbstractStringBuilder_string.length); + inQuote = false; + len = pattern.length; + for (pos = start_0; pos < len; ++pos) { + ch_0 = pattern.charCodeAt(pos); + if (ch_0 == 39) { + if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 39) { + ++pos; + affix.java_lang_AbstractStringBuilder_string += "'"; + } + else { + inQuote = !inQuote; + } + continue; + } + if (inQuote) { + affix.java_lang_AbstractStringBuilder_string += com_google_gwt_lang_Cast_charToString__CLjava_lang_String_2(ch_0); + } + else { + switch (ch_0) { + case 35: + case 48: + case 44: + case 46: + case 59: + return pos - start_0; + case 164: + this$static.com_google_gwt_i18n_client_NumberFormat_isCurrencyFormat = true; + if (pos + 1 < len && pattern.charCodeAt(pos + 1) == 164) { + ++pos; + if (pos < len - 2 && pattern.charCodeAt(pos + 1) == 164 && pattern.charCodeAt(pos + 2) == 164) { + pos += 2; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(affix, com_google_gwt_i18n_client_impl_CurrencyDataJso_$getSimpleCurrencySymbol__Lcom_google_gwt_i18n_client_impl_CurrencyDataJso_2Ljava_lang_String_2(this$static.com_google_gwt_i18n_client_NumberFormat_currencyData)); + } + else { + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(affix, this$static.com_google_gwt_i18n_client_NumberFormat_currencyData[0]); + } + } + else { + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(affix, this$static.com_google_gwt_i18n_client_NumberFormat_currencyData[1]); + } + + break; + case 37: + if (!inNegativePattern) { + if (this$static.com_google_gwt_i18n_client_NumberFormat_multiplier != 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Too many percent/per mille characters in pattern "' + pattern + '"'); + } + this$static.com_google_gwt_i18n_client_NumberFormat_multiplier = 100; + } + + affix.java_lang_AbstractStringBuilder_string += '%'; + break; + case 8240: + if (!inNegativePattern) { + if (this$static.com_google_gwt_i18n_client_NumberFormat_multiplier != 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Too many percent/per mille characters in pattern "' + pattern + '"'); + } + this$static.com_google_gwt_i18n_client_NumberFormat_multiplier = 1000; + } + + affix.java_lang_AbstractStringBuilder_string += '\u2030'; + break; + case 45: + affix.java_lang_AbstractStringBuilder_string += '-'; + break; + default:affix.java_lang_AbstractStringBuilder_string += com_google_gwt_lang_Cast_charToString__CLjava_lang_String_2(ch_0); + } + } + } + return len - start_0; +} + +function com_google_gwt_i18n_client_NumberFormat_$parsePattern__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2V(this$static, pattern){ + var affix, pos; + pos = 0; + affix = new java_lang_StringBuilder_StringBuilder__V; + pos += com_google_gwt_i18n_client_NumberFormat_$parseAffix__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2ILjava_lang_StringBuilder_2ZI(this$static, pattern, 0, affix, false); + this$static.com_google_gwt_i18n_client_NumberFormat_positivePrefix = affix.java_lang_AbstractStringBuilder_string; + pos += com_google_gwt_i18n_client_NumberFormat_$parseTrunk__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2IZI(this$static, pattern, pos, false); + pos += com_google_gwt_i18n_client_NumberFormat_$parseAffix__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2ILjava_lang_StringBuilder_2ZI(this$static, pattern, pos, affix, false); + this$static.com_google_gwt_i18n_client_NumberFormat_positiveSuffix = affix.java_lang_AbstractStringBuilder_string; + if (pos < pattern.length && pattern.charCodeAt(pos) == 59) { + ++pos; + pos += com_google_gwt_i18n_client_NumberFormat_$parseAffix__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2ILjava_lang_StringBuilder_2ZI(this$static, pattern, pos, affix, true); + this$static.com_google_gwt_i18n_client_NumberFormat_negativePrefix = affix.java_lang_AbstractStringBuilder_string; + pos += com_google_gwt_i18n_client_NumberFormat_$parseTrunk__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2IZI(this$static, pattern, pos, true); + pos += com_google_gwt_i18n_client_NumberFormat_$parseAffix__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2ILjava_lang_StringBuilder_2ZI(this$static, pattern, pos, affix, true); + this$static.com_google_gwt_i18n_client_NumberFormat_negativeSuffix = affix.java_lang_AbstractStringBuilder_string; + } + else { + this$static.com_google_gwt_i18n_client_NumberFormat_negativePrefix = '-' + this$static.com_google_gwt_i18n_client_NumberFormat_positivePrefix; + this$static.com_google_gwt_i18n_client_NumberFormat_negativeSuffix = this$static.com_google_gwt_i18n_client_NumberFormat_positiveSuffix; + } +} + +function com_google_gwt_i18n_client_NumberFormat_$parseTrunk__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2IZI(this$static, pattern, start_0, ignorePattern){ + var ch_0, decimalPos, digitLeftCount, digitRightCount, effectiveDecimalPos, groupingCount, len, loop, n, pos, totalDigits, zeroDigitCount; + decimalPos = -1; + digitLeftCount = 0; + zeroDigitCount = 0; + digitRightCount = 0; + groupingCount = -1; + len = pattern.length; + pos = start_0; + loop = true; + for (; pos < len && loop; ++pos) { + ch_0 = pattern.charCodeAt(pos); + switch (ch_0) { + case 35: + zeroDigitCount > 0?++digitRightCount:++digitLeftCount; + groupingCount >= 0 && decimalPos < 0 && ++groupingCount; + break; + case 48: + if (digitRightCount > 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V("Unexpected '0' in pattern \"" + pattern + '"'); + } + + ++zeroDigitCount; + groupingCount >= 0 && decimalPos < 0 && ++groupingCount; + break; + case 44: + groupingCount = 0; + break; + case 46: + if (decimalPos >= 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Multiple decimal separators in pattern "' + pattern + '"'); + } + + decimalPos = digitLeftCount + zeroDigitCount + digitRightCount; + break; + case 69: + if (!ignorePattern) { + if (this$static.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Multiple exponential symbols in pattern "' + pattern + '"'); + } + this$static.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation = true; + this$static.com_google_gwt_i18n_client_NumberFormat_minExponentDigits = 0; + } + + while (pos + 1 < len && pattern.charCodeAt(pos + 1) == 48) { + ++pos; + ignorePattern || ++this$static.com_google_gwt_i18n_client_NumberFormat_minExponentDigits; + } + + if (!ignorePattern && digitLeftCount + zeroDigitCount < 1 || this$static.com_google_gwt_i18n_client_NumberFormat_minExponentDigits < 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Malformed exponential pattern "' + pattern + '"'); + } + + loop = false; + break; + default:--pos; + loop = false; + } + } + if (zeroDigitCount == 0 && digitLeftCount > 0 && decimalPos >= 0) { + n = decimalPos; + decimalPos == 0 && ++n; + digitRightCount = digitLeftCount - n; + digitLeftCount = n - 1; + zeroDigitCount = 1; + } + if (decimalPos < 0 && digitRightCount > 0 || decimalPos >= 0 && (decimalPos < digitLeftCount || decimalPos > digitLeftCount + zeroDigitCount) || groupingCount == 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Malformed pattern "' + pattern + '"'); + } + if (ignorePattern) { + return pos - start_0; + } + totalDigits = digitLeftCount + zeroDigitCount + digitRightCount; + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits = decimalPos >= 0?totalDigits - decimalPos:0; + if (decimalPos >= 0) { + this$static.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits = digitLeftCount + zeroDigitCount - decimalPos; + this$static.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits < 0 && (this$static.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits = 0); + } + effectiveDecimalPos = decimalPos >= 0?decimalPos:totalDigits; + this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits = effectiveDecimalPos - digitLeftCount; + if (this$static.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation) { + this$static.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits = digitLeftCount + this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits; + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits == 0 && this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits == 0 && (this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits = 1); + } + this$static.com_google_gwt_i18n_client_NumberFormat_groupingSize = groupingCount > 0?groupingCount:0; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalSeparatorAlwaysShown = decimalPos == 0 || decimalPos == totalDigits; + return pos - start_0; +} + +function com_google_gwt_i18n_client_NumberFormat_$processLeadingZeros__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, digits){ + var i, prefix, strip; + if (this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition > this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength) { + while (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength < this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition) { + digits.java_lang_AbstractStringBuilder_string += '0'; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } + } + if (!this$static.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation) { + if (this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition < this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits) { + prefix = new java_lang_StringBuilder_StringBuilder__V; + while (this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition < this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits) { + prefix.java_lang_AbstractStringBuilder_string += '0'; + ++this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } + java_lang_StringBuilder_$insert__Ljava_lang_StringBuilder_2ILjava_lang_String_2Ljava_lang_StringBuilder_2(digits, 0, prefix.toString__Ljava_lang_String_2$()); + } + else if (this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition > this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits) { + strip = this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition - this$static.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits; + for (i = 0; i < strip; ++i) { + if (java_lang_String_$charAt__Ljava_lang_String_2IC(digits.java_lang_AbstractStringBuilder_string, i) != 48) { + strip = i; + break; + } + } + if (strip > 0) { + digits.java_lang_AbstractStringBuilder_string = digits.java_lang_AbstractStringBuilder_string.substr(0, 0) + '' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(digits.java_lang_AbstractStringBuilder_string, strip); + this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength -= strip; + this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition -= strip; + } + } + } +} + +function com_google_gwt_i18n_client_NumberFormat_$propagateCarry__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2IV(this$static, digits, i){ + var carry, digit; + carry = true; + while (carry && i >= 0) { + digit = java_lang_String_$charAt__Ljava_lang_String_2IC(digits.java_lang_AbstractStringBuilder_string, i); + if (digit == 57) { + java_lang_AbstractStringBuilder_$setCharAt__Ljava_lang_AbstractStringBuilder_2ICV(digits, i--, 48); + } + else { + java_lang_AbstractStringBuilder_$setCharAt__Ljava_lang_AbstractStringBuilder_2ICV(digits, i, digit + 1 & 65535); + carry = false; + } + } + if (carry) { + digits.java_lang_AbstractStringBuilder_string = digits.java_lang_AbstractStringBuilder_string.substr(0, 0) + '1' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(digits.java_lang_AbstractStringBuilder_string, 0); + ++this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition; + ++this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength; + } +} + +function com_google_gwt_i18n_client_NumberFormat_$roundValue__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2V(this$static, digits){ + var i; + if (this$static.com_google_gwt_i18n_client_NumberFormat_digitsLength > this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits && java_lang_AbstractStringBuilder_$charAt__Ljava_lang_AbstractStringBuilder_2IC(digits, this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits) >= 53) { + i = this$static.com_google_gwt_i18n_client_NumberFormat_decimalPosition + this$static.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits - 1; + com_google_gwt_i18n_client_NumberFormat_$propagateCarry__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_StringBuilder_2IV(this$static, digits, i); + } +} + +function com_google_gwt_i18n_client_NumberFormat_NumberFormat__Lcom_google_gwt_i18n_client_constants_NumberConstants_2Ljava_lang_String_2Lcom_google_gwt_i18n_client_CurrencyData_2ZV(cdata, userSuppliedPattern){ + if (!cdata) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Unknown currency code'); + } + this.com_google_gwt_i18n_client_NumberFormat_pattern = '\xA4#,##0.00'; + this.com_google_gwt_i18n_client_NumberFormat_currencyData = cdata; + com_google_gwt_i18n_client_NumberFormat_$parsePattern__Lcom_google_gwt_i18n_client_NumberFormat_2Ljava_lang_String_2V(this, this.com_google_gwt_i18n_client_NumberFormat_pattern); + if (!userSuppliedPattern && this.com_google_gwt_i18n_client_NumberFormat_isCurrencyFormat) { + this.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits = this.com_google_gwt_i18n_client_NumberFormat_currencyData[2] & 7; + this.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits = this.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits; + } +} + +function com_google_gwt_i18n_client_NumberFormat_NumberFormat__Ljava_lang_String_2Lcom_google_gwt_i18n_client_CurrencyData_2ZV(cdata){ + com_google_gwt_i18n_client_NumberFormat_$clinit__V(); + com_google_gwt_i18n_client_NumberFormat_NumberFormat__Lcom_google_gwt_i18n_client_constants_NumberConstants_2Ljava_lang_String_2Lcom_google_gwt_i18n_client_CurrencyData_2ZV.call(this, cdata, false); +} + +function com_google_gwt_i18n_client_NumberFormat_toScaledString__Ljava_lang_StringBuilder_2DI(buf, val){ + var dot, expDigits, expIdx, scale, startLen; + startLen = buf.java_lang_AbstractStringBuilder_string.length; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(buf, val.toPrecision(20)); + scale = 0; + expIdx = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2II(buf.java_lang_AbstractStringBuilder_string, 'e', startLen); + expIdx < 0 && (expIdx = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2II(buf.java_lang_AbstractStringBuilder_string, 'E', startLen)); + if (expIdx >= 0) { + expDigits = expIdx + 1; + expDigits < buf.java_lang_AbstractStringBuilder_string.length && java_lang_String_$charAt__Ljava_lang_String_2IC(buf.java_lang_AbstractStringBuilder_string, expDigits) == 43 && ++expDigits; + expDigits < buf.java_lang_AbstractStringBuilder_string.length && (scale = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(buf.java_lang_AbstractStringBuilder_string, expDigits))); + java_lang_StringBuilder_$delete__Ljava_lang_StringBuilder_2IILjava_lang_StringBuilder_2(buf, expIdx, buf.java_lang_AbstractStringBuilder_string.length); + } + dot = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2II(buf.java_lang_AbstractStringBuilder_string, '.', startLen); + if (dot >= 0) { + buf.java_lang_AbstractStringBuilder_string = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(buf.java_lang_AbstractStringBuilder_string, 0, dot) + '' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(buf.java_lang_AbstractStringBuilder_string, dot + 1); + scale -= buf.java_lang_AbstractStringBuilder_string.length - dot; + } + return scale; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(138, 1, {}, com_google_gwt_i18n_client_NumberFormat_NumberFormat__Ljava_lang_String_2Lcom_google_gwt_i18n_client_CurrencyData_2ZV); +_.com_google_gwt_i18n_client_NumberFormat_decimalPosition = 0; +_.com_google_gwt_i18n_client_NumberFormat_decimalSeparatorAlwaysShown = false; +_.com_google_gwt_i18n_client_NumberFormat_digitsLength = 0; +_.com_google_gwt_i18n_client_NumberFormat_exponent = 0; +_.com_google_gwt_i18n_client_NumberFormat_groupingSize = 3; +_.com_google_gwt_i18n_client_NumberFormat_isCurrencyFormat = false; +_.com_google_gwt_i18n_client_NumberFormat_maximumFractionDigits = 3; +_.com_google_gwt_i18n_client_NumberFormat_maximumIntegerDigits = 40; +_.com_google_gwt_i18n_client_NumberFormat_minExponentDigits = 0; +_.com_google_gwt_i18n_client_NumberFormat_minimumFractionDigits = 0; +_.com_google_gwt_i18n_client_NumberFormat_minimumIntegerDigits = 1; +_.com_google_gwt_i18n_client_NumberFormat_multiplier = 1; +_.com_google_gwt_i18n_client_NumberFormat_negativePrefix = '-'; +_.com_google_gwt_i18n_client_NumberFormat_negativeSuffix = ''; +_.com_google_gwt_i18n_client_NumberFormat_positivePrefix = ''; +_.com_google_gwt_i18n_client_NumberFormat_positiveSuffix = ''; +_.com_google_gwt_i18n_client_NumberFormat_useExponentialNotation = false; +var com_google_gwt_i18n_client_NumberFormat_cachedCurrencyFormat; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1i18n_1client_1NumberFormat_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(138); +function com_google_gwt_i18n_client_constants_NumberConstantsImpl_1_NumberConstantsImpl_1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(446, 1, {}, com_google_gwt_i18n_client_constants_NumberConstantsImpl_1_NumberConstantsImpl_1__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1i18n_1client_1constants_1NumberConstantsImpl_11_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(446); +function com_google_gwt_i18n_client_impl_CurrencyDataJso_$getSimpleCurrencySymbol__Lcom_google_gwt_i18n_client_impl_CurrencyDataJso_2Ljava_lang_String_2(this$static){ + return this$static[4] || this$static[1]; +} + +function com_google_gwt_jsonp_client_JsonpRequest_$clinit__V(){ + com_google_gwt_jsonp_client_JsonpRequest_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_jsonp_client_JsonpRequest_CALLBACKS = com_google_gwt_jsonp_client_JsonpRequest_getOrCreateCallbacksObject__Lcom_google_gwt_core_client_JavaScriptObject_2(); +} + +function com_google_gwt_jsonp_client_JsonpRequest_$onFailure__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_Throwable_2V(this$static, ex){ + com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static.com_google_gwt_jsonp_client_JsonpRequest_timer); + try { + !!this$static.com_google_gwt_jsonp_client_JsonpRequest_callback && this$static.com_google_gwt_jsonp_client_JsonpRequest_callback.onFailure__Ljava_lang_Throwable_2V(ex); + } + finally { + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_google_gwt_jsonp_client_JsonpRequest$2_JsonpRequest$2__Lcom_google_gwt_jsonp_client_JsonpRequest_2V(this$static)); + } +} + +function com_google_gwt_jsonp_client_JsonpRequest_$registerCallbacks__Lcom_google_gwt_jsonp_client_JsonpRequest_2Lcom_google_gwt_core_client_JavaScriptObject_2ZV(this$static, callbacks, canHaveMultipleRequestsForId){ + var self_0 = this$static; + var callback = new Object; + callback.onSuccess = $entry(function(data_0){ + typeof data_0 == 'boolean'?(data_0 = new java_lang_Boolean_Boolean__ZV(data_0)):typeof data_0 == 'number' && (self_0.com_google_gwt_jsonp_client_JsonpRequest_expectInteger?(data_0 = new java_lang_Integer_Integer__IV(data_0)):(data_0 = new java_lang_Double_Double__DV(data_0))); + self_0.private$com_google_gwt_jsonp_client_JsonpRequest$onSuccess__Ljava_lang_Object_2V(data_0); + } + ); + this$static.com_google_gwt_jsonp_client_JsonpRequest_failureCallbackParam && (callback.onFailure = $entry(function(message){ + self_0.private$com_google_gwt_jsonp_client_JsonpRequest$onFailure__Ljava_lang_String_2V(message); + } + )); + if (canHaveMultipleRequestsForId) { + var callbackWrapper = callbacks[this$static.com_google_gwt_jsonp_client_JsonpRequest_callbackId]; + if (!callbackWrapper) { + callbackWrapper = new Object; + callbackWrapper.callbackList = new Array; + callbackWrapper.onSuccess = function(data_0){ + while (callbackWrapper.callbackList.length > 0) { + callbackWrapper.callbackList.shift().onSuccess(data_0); + } + } + ; + callbackWrapper.onFailure = function(data_0){ + while (callbackWrapper.callbackList.length > 0) { + callbackWrapper.callbackList.shift().onFailure(data_0); + } + } + ; + callbacks[this$static.com_google_gwt_jsonp_client_JsonpRequest_callbackId] = callbackWrapper; + } + callbackWrapper.callbackList.push(callback); + } + else { + callbacks[this$static.com_google_gwt_jsonp_client_JsonpRequest_callbackId] = callback; + } +} + +function com_google_gwt_jsonp_client_JsonpRequest_$unregisterCallbacks__Lcom_google_gwt_jsonp_client_JsonpRequest_2Lcom_google_gwt_core_client_JavaScriptObject_2V(this$static, callbacks){ + delete callbacks[this$static.com_google_gwt_jsonp_client_JsonpRequest_callbackId]; +} + +function com_google_gwt_jsonp_client_JsonpRequest_JsonpRequest__Lcom_google_gwt_user_client_rpc_AsyncCallback_2IZLjava_lang_String_2Ljava_lang_String_2V(callback, timeout, expectInteger, callbackParam){ + var com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_name_0, com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_ctr_0; + com_google_gwt_jsonp_client_JsonpRequest_$clinit__V(); + this.com_google_gwt_jsonp_client_JsonpRequest_callbackId = 'P' + (com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_name_0 = '__gwt_jsonp__' , com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_ctr_0 = '__gwt_jsonp_counter__' , $wnd[com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_name_0][com_google_gwt_jsonp_client_JsonpRequest_getAndIncrementCallbackCounter__I_ctr_0]++); + this.com_google_gwt_jsonp_client_JsonpRequest_callback = callback; + this.com_google_gwt_jsonp_client_JsonpRequest_timeout = timeout; + this.com_google_gwt_jsonp_client_JsonpRequest_expectInteger = expectInteger; + this.com_google_gwt_jsonp_client_JsonpRequest_callbackParam = callbackParam; + this.com_google_gwt_jsonp_client_JsonpRequest_failureCallbackParam = null; + this.com_google_gwt_jsonp_client_JsonpRequest_canHaveMultipleRequestsForSameId = false; +} + +function com_google_gwt_jsonp_client_JsonpRequest_getOrCreateCallbacksObject__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + var name_0 = '__gwt_jsonp__'; + if (!$wnd[name_0]) { + $wnd[name_0] = new Object; + $wnd[name_0]['__gwt_jsonp_counter__'] = 0; + } + return $wnd[name_0]; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(505, 1, {}, com_google_gwt_jsonp_client_JsonpRequest_JsonpRequest__Lcom_google_gwt_user_client_rpc_AsyncCallback_2IZLjava_lang_String_2Ljava_lang_String_2V); +_.private$com_google_gwt_jsonp_client_JsonpRequest$onFailure__Ljava_lang_String_2V = function(message){ + com_google_gwt_jsonp_client_JsonpRequest_$onFailure__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_Throwable_2V(this, new java_lang_Exception_Exception__Ljava_lang_String_2V(message)); +} +; +_.private$com_google_gwt_jsonp_client_JsonpRequest$onSuccess__Ljava_lang_Object_2V = function(data_0){ + com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this.com_google_gwt_jsonp_client_JsonpRequest_timer); + try { + !!this.com_google_gwt_jsonp_client_JsonpRequest_callback && this.com_google_gwt_jsonp_client_JsonpRequest_callback.onSuccess__Ljava_lang_Object_2V(data_0); + } + finally { + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_google_gwt_jsonp_client_JsonpRequest$2_JsonpRequest$2__Lcom_google_gwt_jsonp_client_JsonpRequest_2V(this)); + } +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return 'JsonpRequest(id=' + this.com_google_gwt_jsonp_client_JsonpRequest_callbackId + ')'; +} +; +_.com_google_gwt_jsonp_client_JsonpRequest_canHaveMultipleRequestsForSameId = false; +_.com_google_gwt_jsonp_client_JsonpRequest_expectInteger = false; +_.com_google_gwt_jsonp_client_JsonpRequest_timeout = 0; +var com_google_gwt_jsonp_client_JsonpRequest_CALLBACKS; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1jsonp_1client_1JsonpRequest_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(505); +function com_google_gwt_jsonp_client_JsonpRequest$1_JsonpRequest$1__Lcom_google_gwt_jsonp_client_JsonpRequest_2V(this$0, val$baseUri){ + this.com_google_gwt_jsonp_client_JsonpRequest$1_this$01 = this$0; + this.com_google_gwt_jsonp_client_JsonpRequest$1_val$baseUri2 = val$baseUri; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(506, 39, {}, com_google_gwt_jsonp_client_JsonpRequest$1_JsonpRequest$1__Lcom_google_gwt_jsonp_client_JsonpRequest_2V); +_.run__V = function(){ + com_google_gwt_jsonp_client_JsonpRequest_$onFailure__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_Throwable_2V(this.com_google_gwt_jsonp_client_JsonpRequest$1_this$01, new com_google_gwt_jsonp_client_TimeoutException_TimeoutException__Ljava_lang_String_2V('Timeout while calling ' + this.com_google_gwt_jsonp_client_JsonpRequest$1_val$baseUri2)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1jsonp_1client_1JsonpRequest$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(506); +function com_google_gwt_jsonp_client_JsonpRequest$2_JsonpRequest$2__Lcom_google_gwt_jsonp_client_JsonpRequest_2V(this$0){ + this.com_google_gwt_jsonp_client_JsonpRequest$2_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(172, 1, {}, com_google_gwt_jsonp_client_JsonpRequest$2_JsonpRequest$2__Lcom_google_gwt_jsonp_client_JsonpRequest_2V); +_.execute__V = function(){ + var script; + this.com_google_gwt_jsonp_client_JsonpRequest$2_this$01.com_google_gwt_jsonp_client_JsonpRequest_canHaveMultipleRequestsForSameId || com_google_gwt_jsonp_client_JsonpRequest_$unregisterCallbacks__Lcom_google_gwt_jsonp_client_JsonpRequest_2Lcom_google_gwt_core_client_JavaScriptObject_2V(this.com_google_gwt_jsonp_client_JsonpRequest$2_this$01, (com_google_gwt_jsonp_client_JsonpRequest_$clinit__V() , com_google_gwt_jsonp_client_JsonpRequest_CALLBACKS)); + script = com_google_gwt_dom_client_Document_$getElementById__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2($doc, this.com_google_gwt_jsonp_client_JsonpRequest$2_this$01.com_google_gwt_jsonp_client_JsonpRequest_callbackId); + !!script && com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2((com_google_gwt_jsonp_client_JsonpRequest_$clinit__V() , $doc.getElementsByTagName('head')[0]), script); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1jsonp_1client_1JsonpRequest$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(172); +function com_google_gwt_jsonp_client_JsonpRequestBuilder_JsonpRequestBuilder__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(504, 1, {}, com_google_gwt_jsonp_client_JsonpRequestBuilder_JsonpRequestBuilder__V); +_.private$com_google_gwt_jsonp_client_JsonpRequestBuilder$send__Ljava_lang_String_2Lcom_google_gwt_user_client_rpc_AsyncCallback_2ZLcom_google_gwt_jsonp_client_JsonpRequest_2 = function(url_0, callback, expectInteger){ + var request, com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_uri_0, com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_prefix_0, com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0; + request = new com_google_gwt_jsonp_client_JsonpRequest_JsonpRequest__Lcom_google_gwt_user_client_rpc_AsyncCallback_2IZLjava_lang_String_2Ljava_lang_String_2V(callback, this.com_google_gwt_jsonp_client_JsonpRequestBuilder_timeout, expectInteger, this.com_google_gwt_jsonp_client_JsonpRequestBuilder_callbackParam); + com_google_gwt_jsonp_client_JsonpRequest_$registerCallbacks__Lcom_google_gwt_jsonp_client_JsonpRequest_2Lcom_google_gwt_core_client_JavaScriptObject_2ZV(request, com_google_gwt_jsonp_client_JsonpRequest_CALLBACKS, request.com_google_gwt_jsonp_client_JsonpRequest_canHaveMultipleRequestsForSameId); + com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_uri_0 = new java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V(url_0); + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_uri_0, url_0.indexOf('?') != -1?'&':'?'); + com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_prefix_0 = '__gwt_jsonp__.' + request.com_google_gwt_jsonp_client_JsonpRequest_callbackId; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_uri_0, request.com_google_gwt_jsonp_client_JsonpRequest_callbackParam), '='), com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_prefix_0), '.onSuccess'); + com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0 = com_google_gwt_dom_client_Document_$createScriptElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_ScriptElement_2($doc); + com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0.type = 'text/javascript'; + com_google_gwt_dom_client_Element_$setId__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0, request.com_google_gwt_jsonp_client_JsonpRequest_callbackId); + com_google_gwt_dom_client_ScriptElement_$setSrc__Lcom_google_gwt_dom_client_ScriptElement_2Ljava_lang_String_2V(com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0, com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_uri_0.java_lang_AbstractStringBuilder_string); + request.com_google_gwt_jsonp_client_JsonpRequest_timer = new com_google_gwt_jsonp_client_JsonpRequest$1_JsonpRequest$1__Lcom_google_gwt_jsonp_client_JsonpRequest_2V(request, url_0); + com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(request.com_google_gwt_jsonp_client_JsonpRequest_timer, request.com_google_gwt_jsonp_client_JsonpRequest_timeout); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2($doc.getElementsByTagName('head')[0], com_google_gwt_jsonp_client_JsonpRequest_$send__Lcom_google_gwt_jsonp_client_JsonpRequest_2Ljava_lang_String_2V_script_0); + return request; +} +; +_.com_google_gwt_jsonp_client_JsonpRequestBuilder_callbackParam = 'callback'; +_.com_google_gwt_jsonp_client_JsonpRequestBuilder_timeout = 10000; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1jsonp_1client_1JsonpRequestBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(504); +function com_google_gwt_jsonp_client_TimeoutException_TimeoutException__Ljava_lang_String_2V(s){ + java_lang_Exception_Exception__Ljava_lang_String_2V.call(this, s); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(507, 12, $intern_3, com_google_gwt_jsonp_client_TimeoutException_TimeoutException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1jsonp_1client_1TimeoutException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(507); +function com_google_gwt_lang_Array_clone___3Ljava_lang_Object_2_3Ljava_lang_Object_2(array){ + return com_google_gwt_lang_Array_cloneSubrange___3Ljava_lang_Object_2II_3Ljava_lang_Object_2(array, array.length); +} + +function com_google_gwt_lang_Array_cloneSubrange___3Ljava_lang_Object_2II_3Ljava_lang_Object_2(array, toIndex){ + var result; + result = array.slice(0, toIndex); + com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(array), array.java_lang_Object_castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result); + return result; +} + +function com_google_gwt_lang_Array_createFrom___3Ljava_lang_Object_2I_3Ljava_lang_Object_2(array, length_0){ + var result; + result = com_google_gwt_lang_Array_initializeArrayElementsWithDefaults__IILjava_lang_Object_2(0, length_0); + com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(array), array.java_lang_Object_castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result); + return result; +} + +function com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(clazz, dimensions){ + return java_lang_Class_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(clazz, dimensions); +} + +function com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions){ + var result; + result = com_google_gwt_lang_Array_initializeArrayElementsWithDefaults__IILjava_lang_Object_2(elementTypeCategory, length_0); + com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(leafClassLiteral, dimensions), castableTypeMap, elementTypeId, elementTypeCategory, result); + return result; +} + +function com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(arrayClass, castableTypeMap, elementTypeId, elementTypeCategory, array){ + array.java_lang_Object__1_1_1clazz$ = arrayClass; + array.java_lang_Object_castableTypeMap$ = castableTypeMap; + array.java_lang_Object_typeMarker$ = com_google_gwt_lang_JavaClassHierarchySetupUtil_typeMarkerFn__V; + array.__elementTypeId$ = elementTypeId; + array.__elementTypeCategory$ = elementTypeCategory; + return array; +} + +function com_google_gwt_lang_Array_initializeArrayElementsWithDefaults__IILjava_lang_Object_2(elementTypeCategory, length_0){ + var array = new Array(length_0); + var initValue; + switch (elementTypeCategory) { + case 6: + initValue = {l:0, m:0, h:0}; + break; + case 7: + initValue = 0; + break; + case 8: + initValue = false; + break; + default:return array; + } + for (var i = 0; i < length_0; ++i) { + array[i] = initValue; + } + return array; +} + +function com_google_gwt_lang_Array_nativeArraySplice__Ljava_lang_Object_2ILjava_lang_Object_2IIZV(src_0, srcOfs, dest, destOfs, len, overwrite){ + if (src_0 === dest) { + src_0 = src_0.slice(srcOfs, srcOfs + len); + srcOfs = 0; + } + for (var batchStart = srcOfs, end = srcOfs + len; batchStart < end;) { + var batchEnd = Math.min(batchStart + 10000, end); + len = batchEnd - batchStart; + Array.prototype.splice.apply(dest, [destOfs, overwrite?len:0].concat(src_0.slice(batchStart, batchEnd))); + batchStart = batchEnd; + destOfs += len; + } +} + +function com_google_gwt_lang_Exceptions_cacheJavaScriptException__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptException_2V(e, jse){ + if (e && typeof e == 'object') { + try { + e.__gwt$exception = jse; + } + catch (ignored) { + } + } +} + +function com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2(e){ + var jse; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(e, 56)) { + jse = e; + if (com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(jse.com_google_gwt_core_client_JavaScriptException_e) !== com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2((com_google_gwt_core_client_JavaScriptException_$clinit__V() , com_google_gwt_core_client_JavaScriptException_NOT_1SET))) { + return com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(jse.com_google_gwt_core_client_JavaScriptException_e) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_core_client_JavaScriptException_NOT_1SET)?null:jse.com_google_gwt_core_client_JavaScriptException_e; + } + } + return e; +} + +function com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2(e){ + var jse; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(e, 13)) { + return e; + } + jse = e && e.__gwt$exception; + if (!jse) { + jse = new com_google_gwt_core_client_JavaScriptException_JavaScriptException__Ljava_lang_Object_2V(e); + com_google_gwt_core_client_impl_StackTraceCreator_captureStackTrace__Ljava_lang_Throwable_2Ljava_lang_Object_2V(); + com_google_gwt_lang_Exceptions_cacheJavaScriptException__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptException_2V(e, jse); + } + return jse; +} + +function com_google_gwt_lang_LongLibBase_create__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(value_0){ + var a0, a1, a2; + a0 = value_0 & $intern_14; + a1 = value_0 >> 22 & $intern_14; + a2 = value_0 < 0?$intern_15:0; + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a0, a1, a2); +} + +function com_google_gwt_lang_LongLibBase_create__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a){ + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h); +} + +function com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(l, m, h){ + return {l:l, m:m, h:h}; +} + +function com_google_gwt_lang_LongLibBase_divMod__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, b, computeRemainder){ + var aIsCopy, aIsMinValue, aIsNegative, bpower, c, negative; + if (b.l == 0 && b.m == 0 && b.h == 0) { + throw new java_lang_ArithmeticException_ArithmeticException__Ljava_lang_String_2V; + } + if (a.l == 0 && a.m == 0 && a.h == 0) { + computeRemainder && (com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0)); + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0); + } + if (b.h == $intern_16 && b.m == 0 && b.l == 0) { + return com_google_gwt_lang_LongLibBase_divModByMinValue__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, computeRemainder); + } + negative = false; + if (b.h >> 19 != 0) { + b = com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(b); + negative = true; + } + bpower = com_google_gwt_lang_LongLibBase_powerOfTwo__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(b); + aIsNegative = false; + aIsMinValue = false; + aIsCopy = false; + if (a.h == $intern_16 && a.m == 0 && a.l == 0) { + aIsMinValue = true; + aIsNegative = true; + if (bpower == -1) { + a = com_google_gwt_lang_LongLibBase_create__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2((com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_MAX_1VALUE)); + aIsCopy = true; + negative = !negative; + } + else { + c = com_google_gwt_lang_LongLib_shr__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bpower); + negative && com_google_gwt_lang_LongLibBase_negate__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V(c); + computeRemainder && (com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0)); + return c; + } + } + else if (a.h >> 19 != 0) { + aIsNegative = true; + a = com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a); + aIsCopy = true; + negative = !negative; + } + if (bpower != -1) { + return com_google_gwt_lang_LongLibBase_divModByShift__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IZZZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bpower, negative, aIsNegative, computeRemainder); + } + if (!com_google_gwt_lang_LongLib_gte__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b)) { + computeRemainder && (aIsNegative?(com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a)):(com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h))); + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0); + } + return com_google_gwt_lang_LongLibBase_divModHelper__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZZZZLcom_google_gwt_lang_LongLibBase$LongEmul_2(aIsCopy?a:com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h), b, negative, aIsNegative, aIsMinValue, computeRemainder); +} + +function com_google_gwt_lang_LongLibBase_divModByMinValue__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, computeRemainder){ + if (a.h == $intern_16 && a.m == 0 && a.l == 0) { + computeRemainder && (com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0)); + return com_google_gwt_lang_LongLibBase_create__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2((com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_ONE)); + } + computeRemainder && (com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h)); + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0); +} + +function com_google_gwt_lang_LongLibBase_divModByShift__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IZZZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bpower, negative, aIsNegative, computeRemainder){ + var c; + c = com_google_gwt_lang_LongLib_shr__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bpower); + negative && com_google_gwt_lang_LongLibBase_negate__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V(c); + if (computeRemainder) { + a = com_google_gwt_lang_LongLibBase_maskRight__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bpower); + aIsNegative?(com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a)):(com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h)); + } + return c; +} + +function com_google_gwt_lang_LongLibBase_divModHelper__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZZZZLcom_google_gwt_lang_LongLibBase$LongEmul_2(a, b, negative, aIsNegative, aIsMinValue, computeRemainder){ + var bshift, gte, quotient, shift_0, com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a1_0, com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a2_0, com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a0_0; + shift_0 = com_google_gwt_lang_LongLibBase_numberOfLeadingZeros__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(b) - com_google_gwt_lang_LongLibBase_numberOfLeadingZeros__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(a); + bshift = com_google_gwt_lang_LongLib_shl__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(b, shift_0); + quotient = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, 0); + while (shift_0 >= 0) { + gte = com_google_gwt_lang_LongLibBase_trialSubtract__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, bshift); + if (gte) { + shift_0 < 22?(quotient.l |= 1 << shift_0 , undefined):shift_0 < 44?(quotient.m |= 1 << shift_0 - 22 , undefined):(quotient.h |= 1 << shift_0 - 44 , undefined); + if (a.l == 0 && a.m == 0 && a.h == 0) { + break; + } + } + com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a1_0 = bshift.m; + com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a2_0 = bshift.h; + com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a0_0 = bshift.l; + com_google_gwt_lang_LongLibBase_setH__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(bshift, com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a2_0 >>> 1); + bshift.m = com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a1_0 >>> 1 | (com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a2_0 & 1) << 21; + bshift.l = com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a0_0 >>> 1 | (com_google_gwt_lang_LongLibBase_toShru1__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V_a1_0 & 1) << 21; + --shift_0; + } + negative && com_google_gwt_lang_LongLibBase_negate__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V(quotient); + if (computeRemainder) { + if (aIsNegative) { + com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a); + aIsMinValue && (com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLib_sub__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(com_google_gwt_lang_LongLibBase_remainder, (com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_ONE))); + } + else { + com_google_gwt_lang_LongLibBase_remainder = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a.l, a.m, a.h); + } + } + return quotient; +} + +function com_google_gwt_lang_LongLibBase_maskRight__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, bits){ + var b0, b1, b2; + if (bits <= 22) { + b0 = a.l & (1 << bits) - 1; + b1 = b2 = 0; + } + else if (bits <= 44) { + b0 = a.l; + b1 = a.m & (1 << bits - 22) - 1; + b2 = 0; + } + else { + b0 = a.l; + b1 = a.m; + b2 = a.h & (1 << bits - 44) - 1; + } + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(b0, b1, b2); +} + +function com_google_gwt_lang_LongLibBase_negate__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V(a){ + var neg0, neg1, neg2; + neg0 = ~a.l + 1 & $intern_14; + neg1 = ~a.m + (neg0 == 0?1:0) & $intern_14; + neg2 = ~a.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_15; + com_google_gwt_lang_LongLibBase_setL__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, neg0); + com_google_gwt_lang_LongLibBase_setM__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, neg1); + com_google_gwt_lang_LongLibBase_setH__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, neg2); +} + +function com_google_gwt_lang_LongLibBase_numberOfLeadingZeros__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(a){ + var b1, b2; + b2 = java_lang_Integer_numberOfLeadingZeros__II(a.h); + if (b2 == 32) { + b1 = java_lang_Integer_numberOfLeadingZeros__II(a.m); + return b1 == 32?java_lang_Integer_numberOfLeadingZeros__II(a.l) + 32:b1 + 20 - 10; + } + else { + return b2 - 12; + } +} + +function com_google_gwt_lang_LongLibBase_powerOfTwo__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(a){ + var h, l, m; + l = a.l; + if ((l & l - 1) != 0) { + return -1; + } + m = a.m; + if ((m & m - 1) != 0) { + return -1; + } + h = a.h; + if ((h & h - 1) != 0) { + return -1; + } + if (h == 0 && m == 0 && l == 0) { + return -1; + } + if (h == 0 && m == 0 && l != 0) { + return java_lang_Integer_numberOfTrailingZeros__II(l); + } + if (h == 0 && m != 0 && l == 0) { + return java_lang_Integer_numberOfTrailingZeros__II(m) + 22; + } + if (h != 0 && m == 0 && l == 0) { + return java_lang_Integer_numberOfTrailingZeros__II(h) + 44; + } + return -1; +} + +function com_google_gwt_lang_LongLibBase_setH__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, x_0){ + a.h = x_0; +} + +function com_google_gwt_lang_LongLibBase_setL__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, x_0){ + a.l = x_0; +} + +function com_google_gwt_lang_LongLibBase_setM__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, x_0){ + a.m = x_0; +} + +function com_google_gwt_lang_LongLibBase_toDoubleHelper__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(a){ + return a.l + a.m * $intern_17 + a.h * $intern_18; +} + +function com_google_gwt_lang_LongLibBase_trialSubtract__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b){ + var sum0, sum1, sum2; + sum2 = a.h - b.h; + if (sum2 < 0) { + return false; + } + sum0 = a.l - b.l; + sum1 = a.m - b.m + (sum0 >> 22); + sum2 += sum1 >> 22; + if (sum2 < 0) { + return false; + } + com_google_gwt_lang_LongLibBase_setL__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, sum0 & $intern_14); + com_google_gwt_lang_LongLibBase_setM__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, sum1 & $intern_14); + com_google_gwt_lang_LongLibBase_setH__Lcom_google_gwt_lang_LongLibBase$LongEmul_2IV(a, sum2 & $intern_15); + return true; +} + +var com_google_gwt_lang_LongLibBase_remainder; +function com_google_gwt_lang_LongLib_eq__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b){ + return a.l == b.l && a.m == b.m && a.h == b.h; +} + +function com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(value_0){ + var a0, a1, a2, negative, result; + if (isNaN(value_0)) { + return com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_ZERO; + } + if (value_0 < $intern_19) { + return com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_MIN_1VALUE; + } + if (value_0 >= 9223372036854775807) { + return com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_MAX_1VALUE; + } + negative = false; + if (value_0 < 0) { + negative = true; + value_0 = -value_0; + } + a2 = 0; + if (value_0 >= $intern_18) { + a2 = com_google_gwt_lang_Cast_round_1int__DI(value_0 / $intern_18); + value_0 -= a2 * $intern_18; + } + a1 = 0; + if (value_0 >= $intern_17) { + a1 = com_google_gwt_lang_Cast_round_1int__DI(value_0 / $intern_17); + value_0 -= a1 * $intern_17; + } + a0 = com_google_gwt_lang_Cast_round_1int__DI(value_0); + result = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(a0, a1, a2); + negative && com_google_gwt_lang_LongLibBase_negate__Lcom_google_gwt_lang_LongLibBase$LongEmul_2V(result); + return result; +} + +function com_google_gwt_lang_LongLib_fromInt__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(value_0){ + var rebase, result; + if (value_0 > -129 && value_0 < 128) { + rebase = value_0 + 128; + com_google_gwt_lang_LongLib_boxedValues == null && (com_google_gwt_lang_LongLib_boxedValues = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1LongLibBase$LongEmul_12_1classLit, $intern_1, 569, 256, 0, 1)); + result = com_google_gwt_lang_LongLib_boxedValues[rebase] = com_google_gwt_lang_LongLibBase_create__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(value_0); + return result; + } + return com_google_gwt_lang_LongLibBase_create__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(value_0); +} + +function com_google_gwt_lang_LongLib_gt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b){ + var signa, signb; + signa = a.h >> 19; + signb = b.h >> 19; + return signa == 0?signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l > b.l:!(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l <= b.l); +} + +function com_google_gwt_lang_LongLib_gte__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b){ + var signa, signb; + signa = a.h >> 19; + signb = b.h >> 19; + return signa == 0?signb != 0 || a.h > b.h || a.h == b.h && a.m > b.m || a.h == b.h && a.m == b.m && a.l >= b.l:!(signb == 0 || a.h < b.h || a.h == b.h && a.m < b.m || a.h == b.h && a.m == b.m && a.l < b.l); +} + +function com_google_gwt_lang_LongLib_lt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b){ + return !com_google_gwt_lang_LongLib_gte__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, b); +} + +function com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a){ + var neg0, neg1, neg2; + neg0 = ~a.l + 1 & $intern_14; + neg1 = ~a.m + (neg0 == 0?1:0) & $intern_14; + neg2 = ~a.h + (neg0 == 0 && neg1 == 0?1:0) & $intern_15; + return com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(neg0, neg1, neg2); +} + +function com_google_gwt_lang_LongLib_shl__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, n){ + var res0, res1, res2; + n &= 63; + if (n < 22) { + res0 = a.l << n; + res1 = a.m << n | a.l >> 22 - n; + res2 = a.h << n | a.m >> 22 - n; + } + else if (n < 44) { + res0 = 0; + res1 = a.l << n - 22; + res2 = a.m << n - 22 | a.l >> 44 - n; + } + else { + res0 = 0; + res1 = 0; + res2 = a.l << n - 44; + } + return {l:res0 & $intern_14, m:res1 & $intern_14, h:res2 & $intern_15}; +} + +function com_google_gwt_lang_LongLib_shr__Lcom_google_gwt_lang_LongLibBase$LongEmul_2ILcom_google_gwt_lang_LongLibBase$LongEmul_2(a, n){ + var a2, negative, res0, res1, res2; + n &= 63; + a2 = a.h; + negative = (a2 & $intern_16) != 0; + negative && (a2 |= -1048576); + if (n < 22) { + res2 = a2 >> n; + res1 = a.m >> n | a2 << 22 - n; + res0 = a.l >> n | a.m << 22 - n; + } + else if (n < 44) { + res2 = negative?$intern_15:0; + res1 = a2 >> n - 22; + res0 = a.m >> n - 22 | a2 << 44 - n; + } + else { + res2 = negative?$intern_15:0; + res1 = negative?$intern_14:0; + res0 = a2 >> n - 44; + } + return {l:res0 & $intern_14, m:res1 & $intern_14, h:res2 & $intern_15}; +} + +function com_google_gwt_lang_LongLib_sub__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a, b){ + var sum0, sum1, sum2; + sum0 = a.l - b.l; + sum1 = a.m - b.m + (sum0 >> 22); + sum2 = a.h - b.h + (sum1 >> 22); + return {l:sum0 & $intern_14, m:sum1 & $intern_14, h:sum2 & $intern_15}; +} + +function com_google_gwt_lang_LongLib_toDouble__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(a){ + if (com_google_gwt_lang_LongLib_eq__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, (com_google_gwt_lang_LongLib$Const_$clinit__V() , com_google_gwt_lang_LongLib$Const_MIN_1VALUE))) { + return $intern_19; + } + if (!com_google_gwt_lang_LongLib_gte__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(a, com_google_gwt_lang_LongLib$Const_ZERO)) { + return -com_google_gwt_lang_LongLibBase_toDoubleHelper__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a)); + } + return a.l + a.m * $intern_17 + a.h * $intern_18; +} + +function com_google_gwt_lang_LongLib_toInt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(a){ + return a.l | a.m << 22; +} + +function com_google_gwt_lang_LongLib_toString__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Ljava_lang_String_2(a){ + var digits, rem, res, tenPowerLong, zeroesNeeded; + if (a.l == 0 && a.m == 0 && a.h == 0) { + return '0'; + } + if (a.h == $intern_16 && a.m == 0 && a.l == 0) { + return '-9223372036854775808'; + } + if (a.h >> 19 != 0) { + return '-' + com_google_gwt_lang_LongLib_toString__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Ljava_lang_String_2(com_google_gwt_lang_LongLib_neg__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2(a)); + } + rem = a; + res = ''; + while (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) { + tenPowerLong = com_google_gwt_lang_LongLib_fromInt__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(1000000000); + rem = com_google_gwt_lang_LongLibBase_divMod__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2ZLcom_google_gwt_lang_LongLibBase$LongEmul_2(rem, tenPowerLong, true); + digits = '' + com_google_gwt_lang_LongLib_toInt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(com_google_gwt_lang_LongLibBase_remainder); + if (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) { + zeroesNeeded = 9 - digits.length; + for (; zeroesNeeded > 0; zeroesNeeded--) { + digits = '0' + digits; + } + } + res = digits + res; + } + return res; +} + +var com_google_gwt_lang_LongLib_boxedValues; +function com_google_gwt_lang_LongLib$Const_$clinit__V(){ + com_google_gwt_lang_LongLib$Const_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_lang_LongLib$Const_MAX_1VALUE = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2($intern_14, $intern_14, 524287); + com_google_gwt_lang_LongLib$Const_MIN_1VALUE = com_google_gwt_lang_LongLibBase_create0__IIILcom_google_gwt_lang_LongLibBase$LongEmul_2(0, 0, $intern_16); + com_google_gwt_lang_LongLib$Const_ONE = com_google_gwt_lang_LongLib_fromInt__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(1); + com_google_gwt_lang_LongLib_fromInt__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(2); + com_google_gwt_lang_LongLib$Const_ZERO = com_google_gwt_lang_LongLib_fromInt__ILcom_google_gwt_lang_LongLibBase$LongEmul_2(0); +} + +var com_google_gwt_lang_LongLib$Const_MAX_1VALUE, com_google_gwt_lang_LongLib$Const_MIN_1VALUE, com_google_gwt_lang_LongLib$Const_ONE, com_google_gwt_lang_LongLib$Const_ZERO; +function com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(o){ + return o.java_lang_Object_typeMarker$ === com_google_gwt_lang_JavaClassHierarchySetupUtil_typeMarkerFn__V; +} + +function com_google_gwt_lang_com_100046vaadin_100046prototype_100046wc_100046gwt_100046VaadinComponents_1_1EntryMethodHolder_init__V(){ + var com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_$onModuleLoad__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V_progress_0; + $wnd.setTimeout($entry(com_google_gwt_useragent_client_UserAgentAsserter_assertCompileTimeUserAgent__V)); + com_google_gwt_user_client_DocumentModeAsserter_$onModuleLoad__Lcom_google_gwt_user_client_DocumentModeAsserter_2V(); + com_google_gwt_logging_client_LogConfiguration_$clinit__V(); + com_google_gwt_core_client_GWT_setUncaughtExceptionHandler__Lcom_google_gwt_core_client_GWT$UncaughtExceptionHandler_2V(new com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_SuperDevModeUncaughtExceptionHandler__V); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinGlobalTheme__Lcom_google_gwt_query_client_Function_2V(new com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents$1_VaadinComponents$1__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V); + com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_$onModuleLoad__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V_progress_0 = new com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_WCVProgress__V; + com_vaadin_prototype_wc_gwt_client_util_Elements_registerElement__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2V('v-progress', com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_$onModuleLoad__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V_progress_0); + com_vaadin_prototype_wc_gwt_client_util_Elements_registerElement__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2V('v-progress-bar', com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_$onModuleLoad__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V_progress_0); + com_vaadin_prototype_wc_gwt_client_util_Elements_registerElement__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2V('v-slider', new com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_WCVSlider__V); + com_vaadin_prototype_wc_gwt_client_util_Elements_registerElement__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2V('v-grid', new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_WCVGrid__V); + com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(null, 'onVaadinX', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [])); +} + +function com_google_gwt_logging_client_LogConfiguration_$clinit__V(){ + com_google_gwt_logging_client_LogConfiguration_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_logging_client_LogConfiguration_impl = new com_google_gwt_logging_client_LogConfiguration$LogConfigurationImplNull_LogConfiguration$LogConfigurationImplNull__V; +} + +function com_google_gwt_logging_client_LogConfiguration_loggingIsEnabled__Ljava_util_logging_Level_2Z(){ + com_google_gwt_logging_client_LogConfiguration_$clinit__V(); + if (!com_google_gwt_logging_client_LogConfiguration_impl) { + return true; + } + return false; +} + +var com_google_gwt_logging_client_LogConfiguration_impl; +function com_google_gwt_logging_client_LogConfiguration$LogConfigurationImplNull_LogConfiguration$LogConfigurationImplNull__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(175, 1, {}, com_google_gwt_logging_client_LogConfiguration$LogConfigurationImplNull_LogConfiguration$LogConfigurationImplNull__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1logging_1client_1LogConfiguration$LogConfigurationImplNull_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(175); +function com_google_gwt_query_client_Browser_Browser__V(){ + this.com_google_gwt_query_client_Browser_ie6 = this.isIe6__Z(); + this.com_google_gwt_query_client_Browser_ie8 = this.isIe8__Z(); + this.com_google_gwt_query_client_Browser_ie9 = this.isIe9__Z(); + this.com_google_gwt_query_client_Browser_mozilla = this.isMozilla__Z(); + this.com_google_gwt_query_client_Browser_msie = this.isMsie__Z(); + this.com_google_gwt_query_client_Browser_opera = this.isOpera__Z(); + this.isWebkit__Z(); + this.com_google_gwt_query_client_Browser_webkit = this.isWebkit__Z(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(142, 1, {}); +_.com_google_gwt_query_client_Browser_ie6 = false; +_.com_google_gwt_query_client_Browser_ie8 = false; +_.com_google_gwt_query_client_Browser_ie9 = false; +_.com_google_gwt_query_client_Browser_mozilla = false; +_.com_google_gwt_query_client_Browser_msie = false; +_.com_google_gwt_query_client_Browser_opera = false; +_.com_google_gwt_query_client_Browser_webkit = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Browser_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(142); +function com_google_gwt_query_client_Browser_1gecko1_18_Browser_1gecko1_18__V(){ + com_google_gwt_query_client_Browser_Browser__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(318, 142, {}, com_google_gwt_query_client_Browser_1gecko1_18_Browser_1gecko1_18__V); +_.isIe6__Z = function(){ + return false; +} +; +_.isIe8__Z = function(){ + return false; +} +; +_.isIe9__Z = function(){ + return false; +} +; +_.isMozilla__Z = function(){ + return true; +} +; +_.isMsie__Z = function(){ + return false; +} +; +_.isOpera__Z = function(){ + return false; +} +; +_.isWebkit__Z = function(){ + return false; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return 'Browser: webkit=' + this.com_google_gwt_query_client_Browser_webkit + ' mozilla=' + this.com_google_gwt_query_client_Browser_mozilla + ' opera=' + this.com_google_gwt_query_client_Browser_opera + ' msie=' + this.com_google_gwt_query_client_Browser_msie + ' ie6=' + this.com_google_gwt_query_client_Browser_ie6 + ' ie8=' + this.com_google_gwt_query_client_Browser_ie8 + ' ie9=' + this.com_google_gwt_query_client_Browser_ie9; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Browser_11gecko1_118_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(318); +function com_google_gwt_query_client_Browser_1safari_Browser_1safari__V(){ + com_google_gwt_query_client_Browser_Browser__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(317, 142, {}, com_google_gwt_query_client_Browser_1safari_Browser_1safari__V); +_.isIe6__Z = function(){ + return false; +} +; +_.isIe8__Z = function(){ + return false; +} +; +_.isIe9__Z = function(){ + return false; +} +; +_.isMozilla__Z = function(){ + return false; +} +; +_.isMsie__Z = function(){ + return false; +} +; +_.isOpera__Z = function(){ + return false; +} +; +_.isWebkit__Z = function(){ + return true; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return 'Browser: webkit=' + this.com_google_gwt_query_client_Browser_webkit + ' mozilla=' + this.com_google_gwt_query_client_Browser_mozilla + ' opera=' + this.com_google_gwt_query_client_Browser_opera + ' msie=' + this.com_google_gwt_query_client_Browser_msie + ' ie6=' + this.com_google_gwt_query_client_Browser_ie6 + ' ie8=' + this.com_google_gwt_query_client_Browser_ie8 + ' ie9=' + this.com_google_gwt_query_client_Browser_ie9; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Browser_11safari_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(317); +function com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2V(this$static, e){ + this$static.com_google_gwt_query_client_Function_element = e; + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2V(this$static, e); +} + +function com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2ILjava_lang_Object_2(this$static, e){ + var com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2ILjava_lang_Object_2_w_0; + this$static.com_google_gwt_query_client_Function_element = e; + return this$static.com_google_gwt_query_client_Function_element = e , com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2ILjava_lang_Object_2_w_0 = com_google_gwt_query_client_GQuery_getAssociatedWidget__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_ui_Widget_2(e) , com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2ILjava_lang_Object_2_w_0?(com_google_gwt_query_client_Function_$setElement__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_Function_2(this$static, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2ILjava_lang_Object_2_w_0.com_google_gwt_user_client_ui_UIObject_element)) , com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2ILjava_lang_Object_2_w_0) , null):(this$static.com_google_gwt_query_client_Function_element = e , com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2V(this$static, e)) , null; +} + +function com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2V(this$static, e){ + var w; + this$static.com_google_gwt_query_client_Function_element = e; + w = e?com_google_gwt_query_client_GQuery_getAssociatedWidget__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_ui_Widget_2(e):null; + if (w) { + this$static.com_google_gwt_query_client_Function_loop = true; + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w); + } + else { + this$static.f__V(); + } +} + +function com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + com_google_gwt_query_client_Function_$setElement__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_Function_2(this$static, (com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element)); + if (this$static.com_google_gwt_query_client_Function_loop) { + this$static.com_google_gwt_query_client_Function_loop = false; + this$static.f__V(); + } + else { + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2V(this$static, w.com_google_gwt_user_client_ui_UIObject_element); + } +} + +function com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2V(this$static){ + com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Ljava_lang_Object_2(this$static, this$static.com_google_gwt_query_client_Function_arguments); +} + +function com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2V(this$static, elem){ + var e; + if (com_google_gwt_core_client_GWT_uncaughtExceptionHandler) { + try { + this$static.com_google_gwt_query_client_Function_element = elem; + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2V(this$static, elem); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e = $e0; + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(com_google_gwt_core_client_GWT_uncaughtExceptionHandler, e, false); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + return; + } + this$static.com_google_gwt_query_client_Function_element = elem; + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_user_client_Element_2V(this$static, elem); +} + +function com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Ljava_lang_Object_2(this$static, args){ + var e; + if (com_google_gwt_core_client_GWT_uncaughtExceptionHandler) { + try { + return this$static.f___3Ljava_lang_Object_2Ljava_lang_Object_2(args); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e = $e0; + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(com_google_gwt_core_client_GWT_uncaughtExceptionHandler, e, false); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + return java_lang_Boolean_$clinit__V() , java_lang_Boolean_$clinit__V() , java_lang_Boolean_TRUE; + } + return this$static.f___3Ljava_lang_Object_2Ljava_lang_Object_2(args); +} + +function com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this$static, pos, type_0){ + var o, objs; + objs = com_google_gwt_query_client_Function_$getArgumentArray__Lcom_google_gwt_query_client_Function_2I_3Ljava_lang_Object_2(this$static); + o = objs.length > pos?objs[pos]:null; + if (o != null && (!type_0 || java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(o) == type_0 || type_0 == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit && com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(o))) { + return o; + } + return null; +} + +function com_google_gwt_query_client_Function_$getArgumentArray__Lcom_google_gwt_query_client_Function_2I_3Ljava_lang_Object_2(this$static){ + var o; + o = this$static.com_google_gwt_query_client_Function_arguments; + if (o != null) { + return (java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(o).java_lang_Class_modifiers & 4) != 0?o:com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [o]); + } + return com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, $intern_1, 1, 0, 3, 1); +} + +function com_google_gwt_query_client_Function_$setArguments__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this$static, arguments){ + this$static.com_google_gwt_query_client_Function_arguments = arguments; + return this$static; +} + +function com_google_gwt_query_client_Function_$setElement__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_Function_2(this$static, e){ + this$static.com_google_gwt_query_client_Function_element = e; + return this$static; +} + +function com_google_gwt_query_client_Function_Function__V(){ + this.com_google_gwt_query_client_Function_arguments = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, $intern_1, 1, 0, 3, 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(6, 1, $intern_20); +_.f__V = function(){ + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V("You have to override the adequate method to handle this action, or you have to override 'public void f()' to avoid this error"); +} +; +_.f___3Ljava_lang_Object_2Ljava_lang_Object_2 = function(args){ + this.com_google_gwt_query_client_Function_arguments = args; + this.f__V(); + return java_lang_Boolean_$clinit__V() , java_lang_Boolean_$clinit__V() , java_lang_Boolean_TRUE; +} +; +_.fe__Ljava_lang_Object_2V = function(arg){ + com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Ljava_lang_Object_2(this, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [arg])); +} +; +_.fe___3Ljava_lang_Object_2Ljava_lang_Object_2 = function(args){ + return com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Ljava_lang_Object_2(this, args); +} +; +_.setArguments___3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2 = function(arguments){ + return com_google_gwt_query_client_Function_$setArguments__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this, arguments); +} +; +_.com_google_gwt_query_client_Function_element = null; +_.com_google_gwt_query_client_Function_loop = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(6); +function com_google_gwt_query_client_GQ_create__Ljava_lang_Class_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(clz, obj){ + var ret; + ret = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(clz)); + com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(ret, obj); + return ret; +} + +function com_google_gwt_query_client_GQ_create__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2(s){ + return !com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_js_JsUtils_parseJSON__Ljava_lang_String_2Lcom_google_gwt_query_client_Properties_2(s); +} + +var com_google_gwt_query_client_GQ_ajaxTransport, com_google_gwt_query_client_GQ_jsonFactory; +function com_google_gwt_query_client_GQuery_$clinit__V(){ + com_google_gwt_query_client_GQuery_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + $doc.body; + com_google_gwt_query_client_GQuery_browser = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1query_1client_1Browser__Ljava_lang_Object_2(); + com_google_gwt_query_client_GQuery_console = new com_google_gwt_query_client_impl_ConsoleBrowser_ConsoleBrowser__V; + com_google_gwt_query_client_GQuery_document = $doc; + com_google_gwt_query_client_plugins_Effects_$clinit__V(); + com_google_gwt_query_client_plugins_Events_$clinit__V(); + new RegExp('^:(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\))?(?=[^\\-]|$)$'); + com_google_gwt_query_client_GQuery_tagNameRegex = new RegExp('<([\\w:-]+)'); + com_google_gwt_query_client_GQuery_Widgets = (com_google_gwt_query_client_plugins_Widgets_$clinit__V() , com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Widgets_12_1classLit); + com_google_gwt_query_client_GQuery_window = (com_google_gwt_core_client_ScriptInjector_$clinit__V() , com_google_gwt_core_client_ScriptInjector_TOP_1WINDOW); +} + +function com_google_gwt_query_client_GQuery_$$init__Lcom_google_gwt_query_client_GQuery_2V(this$static){ + this$static.com_google_gwt_query_client_GQuery_elements = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, $intern_1, 0, 0, 2, 1); + this$static.com_google_gwt_query_client_GQuery_nodeList = []; +} + +function com_google_gwt_query_client_GQuery_$__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_query_client_GQuery_2(jso){ + var c, elms, i, obj, com_google_gwt_query_client_js_JsUtils_isNodeList__Lcom_google_gwt_core_client_JavaScriptObject_2Z_r_0; + if (!jso) { + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null)); + } + if (com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2V(new com_google_gwt_query_client_js_JsUtils$JsFunction_JsUtils$JsFunction__Lcom_google_gwt_core_client_JavaScriptObject_2V(jso)); + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null)); + } + if (!com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(jso, 'alert') && !com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(jso) && com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + c = jso; + elms = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (i = 0; i < c.length; i++) { + obj = com_google_gwt_core_client_JsArrayMixed_$getObject__Lcom_google_gwt_core_client_JsArrayMixed_2ILcom_google_gwt_core_client_JavaScriptObject_2(c, i); + !!obj && com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2V(elms, obj); + } + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_NodeList_2V(elms); + } + return com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(jso, 'alert')?new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(jso):com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(jso)?new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(jso):com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(jso, 'currentTarget')?!jso?new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null)):new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(jso)):(com_google_gwt_query_client_js_JsUtils_isNodeList__Lcom_google_gwt_core_client_JavaScriptObject_2Z_r_0 = Object.prototype.toString.call(jso) , com_google_gwt_query_client_js_JsUtils_isNodeList__Lcom_google_gwt_core_client_JavaScriptObject_2Z_r_0 == '[object HTMLCollection]' || com_google_gwt_query_client_js_JsUtils_isNodeList__Lcom_google_gwt_core_client_JavaScriptObject_2Z_r_0 == '[object NodeList]' || typeof jso == 'object' && jso.length && jso[0].tagName?true:false)?new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_NodeList_2V(jso):new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(jso); +} + +function com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(o){ + com_google_gwt_query_client_GQuery_$clinit__V(); + if (o) { + if (com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(o)) { + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(o); + } + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 22)) { + return com_google_gwt_query_client_GQuery_$__Ljava_util_List_2Lcom_google_gwt_query_client_GQuery_2(new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [o]))); + } + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, ['Error: GQuery.$(Object o) could not wrap the type : ', java_lang_Class_$getName__Ljava_lang_Class_2Ljava_lang_String_2(o.java_lang_Object__1_1_1clazz$), o]))); + } + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null)); +} + +function com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2(selectorOrHtml, ctx){ + com_google_gwt_query_client_GQuery_$clinit__V(); + var selector; + selector = null; + if (selectorOrHtml == null || (selector = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(selectorOrHtml)).length == 0) { + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null)); + } + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(selector.substr(0, 1), '<')) { + return com_google_gwt_query_client_GQuery_cleanHtmlString__Ljava_lang_String_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_query_client_GQuery_2(selectorOrHtml, !ctx || !com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(ctx)?null:ctx.nodeType == 9?ctx:ctx.ownerDocument); + } + return com_google_gwt_query_client_GQuery_$select__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__V, selectorOrHtml, ctx); +} + +function com_google_gwt_query_client_GQuery_$__Ljava_util_List_2Lcom_google_gwt_query_client_GQuery_2(nodesOrWidgets){ + com_google_gwt_query_client_GQuery_$clinit__V(); + var elms, o, o$iterator; + elms = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (o$iterator = nodesOrWidgets.iterator__Ljava_util_Iterator_2(); o$iterator.hasNext__Z();) { + o = o$iterator.next__Ljava_lang_Object_2(); + com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(o)?com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2V(elms, o):com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 22) && com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2V(elms, com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(o.asWidget__Lcom_google_gwt_user_client_ui_Widget_2())); + } + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(elms); +} + +function com_google_gwt_query_client_GQuery_$add__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static, elementsToAdd){ + return com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, com_google_gwt_query_client_js_JsUtils_copyNodeList__Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_dom_client_NodeList_2ZLcom_google_gwt_dom_client_NodeList_2(this$static.com_google_gwt_query_client_GQuery_nodeList, elementsToAdd.com_google_gwt_query_client_GQuery_nodeList, true), com_google_gwt_query_client_GQuery_$join__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(',', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, [this$static.com_google_gwt_query_client_GQuery_currentSelector, elementsToAdd.com_google_gwt_query_client_GQuery_currentSelector]))); +} + +function com_google_gwt_query_client_GQuery_$addClass__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, classes){ + var clz, clz$index, clz$max, e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + if (!!e && e.nodeType == 1) { + for (clz$index = 0 , clz$max = classes.length; clz$index < clz$max; ++clz$index) { + clz = classes[clz$index]; + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(e, clz); + } + } + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$allNextSiblingElements__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(firstChildElement, result){ + while (firstChildElement) { + !!firstChildElement && com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(result, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [firstChildElement])); + firstChildElement = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , firstChildElement)); + } +} + +function com_google_gwt_query_client_GQuery_$appendTo__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static, other){ + com_google_gwt_query_client_GQuery_$domManip__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery$DomMan_2_3Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_GQuery_2(other, this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [])); + return this$static; +} + +function com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(this$static, plugin){ + var p; + if (plugin == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1GQuery_12_1classLit) { + return this$static; + } + else if (com_google_gwt_query_client_GQuery_plugins) { + p = com_google_gwt_query_client_js_JsMap_$get__Lcom_google_gwt_query_client_js_JsMap_2ILjava_lang_Object_2(com_google_gwt_query_client_GQuery_plugins, com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(plugin)); + if (p) { + return p.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static); + } + } + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V((java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(plugin) , 'No plugin registered for class ' + plugin.java_lang_Class_typeName)); +} + +function com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2(this$static, name_0){ + return this$static.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, 0), name_0); +} + +function com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this$static, key, value_0){ + com_google_gwt_query_client_impl_AttributeImpl_$setAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2V((!com_google_gwt_query_client_GQuery_attributeImpl && (com_google_gwt_query_client_GQuery_attributeImpl = new com_google_gwt_query_client_impl_AttributeImpl_AttributeImpl__V) , this$static), key, value_0); + return this$static; +} + +function com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static){ + var e, e$array, e$index, e$max, result; + result = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_query_client_GQuery_$allNextSiblingElements__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e)), result); + } + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$unique__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(result)); +} + +function com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, filters){ + return com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static), filters); +} + +function com_google_gwt_query_client_GQuery_$cleanGQData__Lcom_google_gwt_query_client_GQuery_2_3Lcom_google_gwt_dom_client_Element_2V(this$static, elements){ + var e, el, el$index, el$max, lastArg; + for (el$index = 0 , el$max = elements.length; el$index < el$max; ++el$index) { + el = elements[el$index]; + try { + com_google_gwt_query_client_plugins_events_EventsListener_$clinit__V(); + com_google_gwt_query_client_plugins_events_EventsListener_getGQueryEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_plugins_events_EventsListener_2(el); + com_google_gwt_query_client_GQuery_$removeData__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, el, null); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e = $e0; + java_lang_Throwable_$printStackTrace__Ljava_lang_Throwable_2Ljava_io_PrintStream_2V((lastArg = e , lastArg)); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } +} + +function com_google_gwt_query_client_GQuery_$data__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2(this$static){ + return this$static.com_google_gwt_query_client_GQuery_elements.length == 0?null:com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, 0), 'init', null); +} + +function com_google_gwt_query_client_GQuery_$data__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this$static, value_0){ + var e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(e, 'init', value_0); + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$domManip__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery$DomMan_2_3Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_GQuery_2(this$static, g, elms){ + var e, i, j, l, n, newNodes, size_0; + newNodes = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + elms.length == 0 && (elms = this$static.com_google_gwt_query_client_GQuery_elements); + for (i = 0 , l = elms.length; i < l; i++) { + e = elms[i]; + e.nodeType == 9 && (e = e.body); + for (j = 0 , size_0 = g.com_google_gwt_query_client_GQuery_elements.length; j < size_0; j++) { + n = com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(g, j); + i > 0 && (n = n.cloneNode(true)); + com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2V(newNodes, e.appendChild(n)); + com_google_gwt_query_client_plugins_events_EventsListener_$clinit__V(); + com_google_gwt_query_client_plugins_events_EventsListener_getGQueryEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_plugins_events_EventsListener_2(n); + } + } + com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(newNodes) >= g.com_google_gwt_query_client_GQuery_elements.length && com_google_gwt_query_client_GQuery_$setArray__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_GQuery_2(g, newNodes); + return this$static; +} + +function com_google_gwt_query_client_GQuery_$each__Lcom_google_gwt_query_client_GQuery_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2(this$static, f){ + var e, e$array, e$index, e$max, f1, f1$index, f1$max, i; + for (f1$index = 0 , f1$max = f.length; f1$index < f1$max; ++f1$index) { + f1 = f[f1$index]; + if (f1) { + i = 0; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_query_client_Function_$f__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2ILjava_lang_Object_2(f1, (++i , e)); + } + } + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(this$static, filterFn){ + var result; + result = com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_dom_client_NodeList_2((!com_google_gwt_query_client_GQuery_engine && (com_google_gwt_query_client_GQuery_engine = new com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V) , this$static.com_google_gwt_query_client_GQuery_nodeList), filterFn); + return com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, result, this$static.com_google_gwt_query_client_GQuery_currentSelector); +} + +function com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, filters){ + var result, selector; + selector = com_google_gwt_query_client_GQuery_$join__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(', ', filters); + result = com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Ljava_lang_String_2Lcom_google_gwt_dom_client_NodeList_2((!com_google_gwt_query_client_GQuery_engine && (com_google_gwt_query_client_GQuery_engine = new com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V) , com_google_gwt_query_client_GQuery_engine), this$static.com_google_gwt_query_client_GQuery_nodeList, selector); + return com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, result, selector); +} + +function com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, filters){ + var array, c, c$array, c$index, c$max, e, e$array, e$index, e$max, selector, selector$index, selector$max; + array = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (selector$index = 0 , selector$max = filters.length; selector$index < selector$max; ++selector$index) { + selector = filters[selector$index]; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + for (c$array = com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2(selector, e).com_google_gwt_query_client_GQuery_elements , c$index = 0 , c$max = c$array.length; c$index < c$max; ++c$index) { + c = c$array[c$index]; + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(array, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [c])); + } + } + } + return com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$unique__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(array), filters[0]); +} + +function com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, i){ + var l; + l = this$static.com_google_gwt_query_client_GQuery_elements.length; + if (i >= 0 && i < l) { + return this$static.com_google_gwt_query_client_GQuery_elements[i]; + } + if (i < 0 && l + i >= 0) { + return this$static.com_google_gwt_query_client_GQuery_elements[l + i]; + } + return null; +} + +function com_google_gwt_query_client_GQuery_$hide__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static){ + var currentDisplay, e, e$array, e$array0, e$index, e$index0, e$max, e$max0, old; + for (e$array0 = this$static.com_google_gwt_query_client_GQuery_elements , e$index0 = 0 , e$max0 = e$array0.length; e$index0 < e$max0; ++e$index0) { + e = e$array0[e$index0]; + currentDisplay = com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2((!com_google_gwt_query_client_GQuery_styleImpl && (com_google_gwt_query_client_GQuery_styleImpl = (!com_google_gwt_query_client_GQuery_engine && (com_google_gwt_query_client_GQuery_engine = new com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V) , com_google_gwt_query_client_impl_SelectorEngine_$clinit__V() , com_google_gwt_query_client_impl_SelectorEngine_styleImpl)) , com_google_gwt_query_client_GQuery_styleImpl), e, 'display', false); + old = com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(e, 'old-display', null); + old == null && currentDisplay.length != 0 && !java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('none', currentDisplay) && com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(e, 'old-display', currentDisplay); + } + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'display', (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none')); + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$html__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2(this$static){ + return this$static.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, 0)); +} + +function com_google_gwt_query_client_GQuery_$index__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2I(this$static, element){ + var e, e$array, e$index, e$max, i; + i = 0; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + if (e == element) { + return i; + } + ++i; + } + return -1; +} + +function com_google_gwt_query_client_GQuery_$join__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(chr, values){ + var i, value_0; + value_0 = ''; + for (i = 0; i < values.length; i++) { + value_0 += i > 0?chr + values[i]:values[i]; + } + return value_0; +} + +function com_google_gwt_query_client_GQuery_$last__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(this$static){ + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, this$static.com_google_gwt_query_client_GQuery_elements.length - 1)); +} + +function com_google_gwt_query_client_GQuery_$parents__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, filters){ + return com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$parentsUntil__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(this$static), filters); +} + +function com_google_gwt_query_client_GQuery_$parentsUntil__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(this$static){ + var e, e$array, e$index, e$max, i, par, result; + result = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + i = 0; + par = e.parentNode; + while (!!par && par != com_google_gwt_query_client_GQuery_document) { + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(result, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [par])); + par = par.parentNode; + ++i; + } + } + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$unique__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(result)); +} + +function com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2(this$static, key){ + return this$static.com_google_gwt_query_client_GQuery_elements.length == 0?null:com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this$static, 0), key); +} + +function com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this$static, value_0){ + var e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + !!e && com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(e, 'href', value_0); + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, elts, selector){ + var g; + g = new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(elts); + g.com_google_gwt_query_client_GQuery_currentSelector = selector; + g.com_google_gwt_query_client_GQuery_currentContext = this$static.com_google_gwt_query_client_GQuery_currentContext; + return g; +} + +function com_google_gwt_query_client_GQuery_$remove__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2ZLcom_google_gwt_query_client_GQuery_2(this$static, clean){ + var e, e$array, e$index, e$max, w; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + if (clean) { + com_google_gwt_query_client_GQuery_$cleanGQData__Lcom_google_gwt_query_client_GQuery_2_3Lcom_google_gwt_dom_client_Element_2V(this$static, com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('*', e).com_google_gwt_query_client_GQuery_elements); + com_google_gwt_query_client_GQuery_$cleanGQData__Lcom_google_gwt_query_client_GQuery_2_3Lcom_google_gwt_dom_client_Element_2V(this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [e])); + } + w = com_google_gwt_query_client_GQuery_getAssociatedWidget__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_ui_Widget_2(e); + w?com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(w):com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(e); + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$removeData__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, item_0, name_0){ + var id_0; + if (!com_google_gwt_query_client_GQuery_dataCache) { + com_google_gwt_query_client_GQuery_windowData = {}; + com_google_gwt_query_client_GQuery_dataCache = {}; + } + item_0 = item_0 == com_google_gwt_query_client_GQuery_window || item_0.nodeName == null?com_google_gwt_query_client_GQuery_windowData:item_0; + id_0 = com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(item_0); + if (name_0 != null) { + if (com_google_gwt_query_client_GQuery_dataCache[java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)]) { + com_google_gwt_query_client_js_JsCache_$delete__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2V(com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)), name_0); + com_google_gwt_query_client_js_JsCache_$isEmpty__Lcom_google_gwt_query_client_js_JsCache_2Z(com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0))) && com_google_gwt_query_client_GQuery_$removeData__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, item_0, null); + } + } + else { + com_google_gwt_query_client_js_JsCache_$delete__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)); + } +} + +function com_google_gwt_query_client_GQuery_$select__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2(this$static, selector, context){ + var n; + n = com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2((!com_google_gwt_query_client_GQuery_engine && (com_google_gwt_query_client_GQuery_engine = new com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V) , com_google_gwt_query_client_GQuery_engine), selector, !context?com_google_gwt_query_client_GQuery_document:context); + this$static.com_google_gwt_query_client_GQuery_currentSelector = selector; + this$static.com_google_gwt_query_client_GQuery_currentContext = context?context:com_google_gwt_query_client_GQuery_document; + return com_google_gwt_query_client_GQuery_$setArray__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_GQuery_2(this$static, n); +} + +function com_google_gwt_query_client_GQuery_$setArray__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_GQuery_2(this$static, list){ + var i, l; + if (list) { + com_google_gwt_query_client_js_JsCache_$clear__Lcom_google_gwt_query_client_js_JsCache_2V(this$static.com_google_gwt_query_client_GQuery_nodeList); + l = list.length; + this$static.com_google_gwt_query_client_GQuery_elements = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, $intern_1, 0, l, 2, 1); + for (i = 0; i < l; i++) { + this$static.com_google_gwt_query_client_GQuery_elements[i] = list[i]; + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(this$static.com_google_gwt_query_client_GQuery_nodeList, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [list[i]])); + } + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$text__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2(this$static){ + var e, e$array, e$index, e$max, result; + result = ''; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + result += (com_google_gwt_dom_client_DOMImpl_$clinit__V() , e).textContent; + } + return result; +} + +function com_google_gwt_query_client_GQuery_$text__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this$static, txt){ + var e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_dom_client_DOMImplStandard_$setInnerText__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e), txt); + } + return this$static; +} + +function com_google_gwt_query_client_GQuery_$toString__Lcom_google_gwt_query_client_GQuery_2ZLjava_lang_String_2(this$static){ + var e, e$array, e$index, e$max, e2, elStr, r; + r = ''; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + if (com_google_gwt_query_client_GQuery_window == e) { + continue; + } + try { + elStr = !!e && !java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('HTML', (!e || !com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(e)?null:e.nodeType == 9?e:e.ownerDocument).documentElement.nodeName)?(new XMLSerializer).serializeToString(e):(com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).toString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(e); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e2 = $e0; + elStr = '< ' + (!e?'null':e.nodeName) + '(gquery, error getting the element string representation: ' + e2.getMessage__Ljava_lang_String_2() + ')/>'; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + r += '' + elStr; + } + return r; +} + +function com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(this$static, n){ + var e, e$array, e$index, e$max, w; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + w = com_google_gwt_query_client_GQuery_getAssociatedWidget__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_ui_Widget_2(e); + if (w) { + if (n == 0) { + return w; + } + --n; + } + } + return null; +} + +function com_google_gwt_query_client_GQuery_GQuery__V(){ + com_google_gwt_query_client_GQuery_$$init__Lcom_google_gwt_query_client_GQuery_2V(this); +} + +function com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(element){ + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V.call(this, com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(element)); +} + +function com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_NodeList_2V(list){ + com_google_gwt_query_client_GQuery_$$init__Lcom_google_gwt_query_client_GQuery_2V(this); + com_google_gwt_query_client_GQuery_$setArray__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_GQuery_2(this, list); +} + +function com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_GQuery_$$init__Lcom_google_gwt_query_client_GQuery_2V(this); + this.com_google_gwt_query_client_GQuery_elements = gq.com_google_gwt_query_client_GQuery_elements; + this.com_google_gwt_query_client_GQuery_nodeList = gq.com_google_gwt_query_client_GQuery_nodeList; + this.com_google_gwt_query_client_GQuery_currentSelector = gq.com_google_gwt_query_client_GQuery_currentSelector; + this.com_google_gwt_query_client_GQuery_currentContext = gq.com_google_gwt_query_client_GQuery_currentContext; +} + +function com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(nodes){ + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_NodeList_2V.call(this, nodes); +} + +function com_google_gwt_query_client_GQuery_cleanHtmlString__Ljava_lang_String_2Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_query_client_GQuery_2(elem, doc){ + var depth, div, mResult, n, tag, wrapper, com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0, com_google_gwt_query_client_GQuery_initWrapperMap__V_selectWrapper_0, com_google_gwt_query_client_GQuery_initWrapperMap__V_trWrapper_0; + mResult = com_google_gwt_regexp_shared_RegExp_$exec__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Lcom_google_gwt_regexp_shared_MatchResult_2(com_google_gwt_query_client_GQuery_tagNameRegex, elem); + if (!mResult) { + return new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(doc.createTextNode(elem)); + } + tag = mResult[1]; + !com_google_gwt_query_client_GQuery_wrapperMap && (com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0 = new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(1, '<table>', '<\/table>') , com_google_gwt_query_client_GQuery_initWrapperMap__V_selectWrapper_0 = new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(1, '<select multiple="multiple">', '<\/select>') , com_google_gwt_query_client_GQuery_initWrapperMap__V_trWrapper_0 = new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(3, '<table><tbody><tr>', '<\/tr><\/tbody><\/table>') , com_google_gwt_query_client_GQuery_wrapperMap = {} , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'option', com_google_gwt_query_client_GQuery_initWrapperMap__V_selectWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'optgroup', com_google_gwt_query_client_GQuery_initWrapperMap__V_selectWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'legend', new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(1, '<fieldset>', '<\/fieldset>')) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'thead', com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'tbody', com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'tfoot', com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'colgroup', com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'caption', com_google_gwt_query_client_GQuery_initWrapperMap__V_tableWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'tr', new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(2, '<table><tbody>', '<\/tbody><\/table>')) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'td', com_google_gwt_query_client_GQuery_initWrapperMap__V_trWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'th', com_google_gwt_query_client_GQuery_initWrapperMap__V_trWrapper_0) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'col', new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(2, '<table><tbody><\/tbody><colgroup>', '<\/colgroup><\/table>')) , com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_wrapperMap, 'area', new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(1, '<map>', '<\/map>')) , undefined); + wrapper = com_google_gwt_query_client_js_JsNamedArray_$get__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_wrapperMap, tag.toLowerCase()); + !wrapper && (wrapper = (com_google_gwt_query_client_GQuery$TagWrapper_$clinit__V() , com_google_gwt_query_client_GQuery$TagWrapper_DEFAULT)); + div = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , doc).createElement('div'); + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(div, wrapper.com_google_gwt_query_client_GQuery$TagWrapper_preWrap + java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(elem) + wrapper.com_google_gwt_query_client_GQuery$TagWrapper_postWrap); + n = div; + depth = wrapper.com_google_gwt_query_client_GQuery$TagWrapper_wrapDepth; + while (depth-- != 0) { + n = n.lastChild; + } + return com_google_gwt_query_client_GQuery_$remove__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2ZLcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_query_client_GQuery_2(n.childNodes), false); +} + +function com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(element, key, value_0){ + com_google_gwt_query_client_GQuery_$clinit__V(); + var id_0; + if (!com_google_gwt_query_client_GQuery_dataCache) { + com_google_gwt_query_client_GQuery_windowData = {}; + com_google_gwt_query_client_GQuery_dataCache = {}; + } + element = element == com_google_gwt_query_client_GQuery_window || element.nodeName == null?com_google_gwt_query_client_GQuery_windowData:element; + if (!!element && key != null) { + id_0 = com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(element); + if (value_0 == null) { + return com_google_gwt_query_client_GQuery_dataCache[java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)]?com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)), key, null):null; + } + !!com_google_gwt_query_client_GQuery_dataCache[java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)] || com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0), {}); + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_dataCache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)), key, value_0); + } + return value_0; +} + +function com_google_gwt_query_client_GQuery_getAssociatedWidget__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_ui_Widget_2(e){ + com_google_gwt_query_client_GQuery_$clinit__V(); + var e2, lastArg, listener; + try { + listener = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(e)); + if (!listener) { + return null; + } + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(listener, 17)) { + return listener; + } + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e2 = $e0; + java_lang_Throwable_$printStackTrace__Ljava_lang_Throwable_2Ljava_io_PrintStream_2V((lastArg = e2 , lastArg)); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + return null; +} + +function com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(plugin, pluginFactory){ + com_google_gwt_query_client_GQuery_$clinit__V(); + !com_google_gwt_query_client_GQuery_plugins && (com_google_gwt_query_client_GQuery_plugins = {}); + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_GQuery_plugins, plugin, pluginFactory); + return plugin; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(7, 1, {}, com_google_gwt_query_client_GQuery_GQuery__V, com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V, com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_NodeList_2V, com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V); +_.delay__I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2 = function(milliseconds, f){ + return com_google_gwt_query_client_plugins_QueuePlugin_$delay__Lcom_google_gwt_query_client_plugins_QueuePlugin_2I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_QueuePlugin_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(this, (com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V() , com_google_gwt_query_client_plugins_QueuePlugin_Queue)), milliseconds, f); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return com_google_gwt_query_client_GQuery_$toString__Lcom_google_gwt_query_client_GQuery_2ZLjava_lang_String_2(this); +} +; +var com_google_gwt_query_client_GQuery_Widgets, com_google_gwt_query_client_GQuery_attributeImpl, com_google_gwt_query_client_GQuery_browser, com_google_gwt_query_client_GQuery_console, com_google_gwt_query_client_GQuery_dataCache = null, com_google_gwt_query_client_GQuery_document, com_google_gwt_query_client_GQuery_engine, com_google_gwt_query_client_GQuery_plugins, com_google_gwt_query_client_GQuery_styleImpl, com_google_gwt_query_client_GQuery_tagNameRegex, com_google_gwt_query_client_GQuery_window, com_google_gwt_query_client_GQuery_windowData = null, com_google_gwt_query_client_GQuery_wrapperMap; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1GQuery_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(7); +function com_google_gwt_query_client_GQuery$TagWrapper_$clinit__V(){ + com_google_gwt_query_client_GQuery$TagWrapper_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_GQuery$TagWrapper_DEFAULT = new com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(0, '', ''); +} + +function com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V(wrapDepth, preWrap, postWrap){ + com_google_gwt_query_client_GQuery$TagWrapper_$clinit__V(); + this.com_google_gwt_query_client_GQuery$TagWrapper_wrapDepth = wrapDepth; + this.com_google_gwt_query_client_GQuery$TagWrapper_postWrap = postWrap; + this.com_google_gwt_query_client_GQuery$TagWrapper_preWrap = preWrap; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(57, 1, {}, com_google_gwt_query_client_GQuery$TagWrapper_GQuery$TagWrapper__ILjava_lang_String_2Ljava_lang_String_2V); +_.com_google_gwt_query_client_GQuery$TagWrapper_wrapDepth = 0; +var com_google_gwt_query_client_GQuery$TagWrapper_DEFAULT; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1GQuery$TagWrapper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(57); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(528, 1, {}); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return false; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Predicate_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(528); +function com_google_gwt_query_client_Properties_$get__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, name_0){ + return com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, '' + name_0); +} + +function com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static, name_0){ + return com_google_gwt_query_client_js_JsCache_$getArray__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static, '' + name_0); +} + +function com_google_gwt_query_client_Properties_$getFloat__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2F(this$static, name_0){ + var com_google_gwt_query_client_js_JsCache_$getFloat__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2F_r_0; + return com_google_gwt_query_client_js_JsCache_$getFloat__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2F_r_0 = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(this$static, '' + name_0, com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Float_12_1classLit) , !com_google_gwt_query_client_js_JsCache_$getFloat__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2F_r_0?0:com_google_gwt_query_client_js_JsCache_$getFloat__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2F_r_0.java_lang_Float_value; +} + +function com_google_gwt_query_client_Properties_$getFunction__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this$static, name_0){ + var f, o; + o = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, '' + name_0); + if (o != null) { + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 6)) { + return o; + } + else if (com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(o)) { + f = com_google_gwt_query_client_Properties_$getObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(o, '__f'); + if (f != null && com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(f, 6)) { + return f; + } + return new com_google_gwt_query_client_js_JsUtils$JsFunction_JsUtils$JsFunction__Lcom_google_gwt_core_client_JavaScriptObject_2V(o); + } + } + return null; +} + +function com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static, name_0){ + return com_google_gwt_query_client_js_JsCache_$getJavaScriptObject__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static, '' + name_0); +} + +function com_google_gwt_query_client_Properties_$getObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, name_0){ + return com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, '' + name_0); +} + +function com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(this$static, name_0){ + return com_google_gwt_query_client_js_JsCache_$getString__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_String_2(this$static, '' + name_0); +} + +function com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static, name_0, val){ + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, '' + name_0, val); + return this$static; +} + +function com_google_gwt_query_client_Properties_$setBoolean__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2ZV(this$static, name_0){ + com_google_gwt_query_client_js_JsCache_$putBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2ZLcom_google_gwt_query_client_js_JsCache_2(this$static, name_0, true); +} + +function com_google_gwt_query_client_Properties_$setFunction__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2V(this$static, name_0, f){ + if (!f) + return; + this$static[name_0] = function(){ + f.fe__Ljava_lang_Object_2V(arguments); + } + ; + this$static[name_0].__f = f; +} + +function com_google_gwt_query_client_Properties_$setNumber__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2DV(this$static, val){ + com_google_gwt_query_client_js_JsCache_$putNumber__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2DLcom_google_gwt_query_client_js_JsCache_2(this$static, 'colSpan', val); +} + +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonBuilder_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +function com_google_gwt_query_client_builders_JsonBuilderBase_$getArrayBase__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Class_2_3Ljava_lang_Object_2(this$static, r, clazz){ + var a, c, i, l, w; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'values'); + l = r.length; + for (i = 0; i < l; i++) { + w = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(a, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + c = java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(w); + do { + if (c == clazz) { + r[i] = w; + break; + } + c = null; + } + while (false); + } + return r; +} + +function com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(this$static, prp){ + if (prp != null && com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(prp)) { + return com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(this$static, com_google_gwt_query_client_js_JsUtils_parseJSON__Ljava_lang_String_2Lcom_google_gwt_query_client_Properties_2(prp)); + } + prp != null && (this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p = prp); + return this$static; +} + +function com_google_gwt_query_client_builders_JsonBuilderBase_$setArrayBase__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_String_2_3Ljava_lang_Object_2V(this$static, n, r){ + var a, o, o$index, o$max; + if (r.length > 0 && com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(r[0], 45)) { + a = []; + for (o$index = 0 , o$max = r.length; o$index < o$max; ++o$index) { + o = r[o$index]; + com_google_gwt_core_client_JsArray_$push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JavaScriptObject_2V(a, o.getDataImpl__Ljava_lang_Object_2()); + } + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, n, a); + } + else { + a = []; + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(a, r); + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, n, a); + } +} + +function com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V(){ + this.com_google_gwt_query_client_builders_JsonBuilderBase_p = {}; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(43, 1, $intern_21); +_.getDataImpl__Ljava_lang_Object_2 = function(){ + return this.com_google_gwt_query_client_builders_JsonBuilderBase_p; +} +; +_.load__Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2 = function(prp){ + return com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(this, prp); +} +; +_.parse__Ljava_lang_String_2ZLjava_lang_Object_2 = function(json, fix){ + return fix?com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(this, com_google_gwt_query_client_js_JsUtils_parseJSON__Ljava_lang_String_2Lcom_google_gwt_query_client_Properties_2((com_google_gwt_query_client_Properties_wrapPropertiesString__Ljava_lang_String_2Ljava_lang_String_2_ret_0 = java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(json, '\\s*/\\*[\\s\\S]*?\\*/\\s*', ''), '([:\\)\\(,;}{\'"])\\s+', '$1'), '\\s+([:\\)\\(,;}{\'"])', '$1'), '^[\\(]+(.*)[\\)]+$', '$1'), '\\(["\']([^\\)]+)["\']\\)', '($1)'), '[;,]+([\\w-\\$]+:|$)', ';$1'), '([^,;])([\\]}])', '$1;$2'), ':\\s*["\']?([^;\\{\\}\\[\\]"\']*)["\']?\\s*([;,]+|$)', ':"$1";'), '[;,]+([\\w-]+):', ';$1:'), "(^|[^\\w-\\$'])([\\w-\\$]+):(['\"\\[{])", '$1"$2":$3'), "(^|[^\\w-\\$'])([\\w-\\$]+):(['\"\\[{])", '$1"$2":$3'), "(|[\\[\\]\\{\\},\\(])'([^']*)'", '$1"$2"'), ';([^:]+):', ',$1:'), ';([^:]+):', ',$1:'), ':"(-?\\d[\\d\\.]*|null|false|true)"[;,]', ':$1,'), '[;,]+([\\]\\}]|$)', '$1') , java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(com_google_gwt_query_client_Properties_wrapPropertiesString__Ljava_lang_String_2Ljava_lang_String_2_ret_0, '(^[\\[\\{].*[\\]\\}]$)')?com_google_gwt_query_client_Properties_wrapPropertiesString__Ljava_lang_String_2Ljava_lang_String_2_ret_0:'{' + com_google_gwt_query_client_Properties_wrapPropertiesString__Ljava_lang_String_2Ljava_lang_String_2_ret_0 + '}'))):com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(this, com_google_gwt_query_client_js_JsUtils_parseJSON__Ljava_lang_String_2Lcom_google_gwt_query_client_Properties_2(json)); +} +; +_.set__Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2 = function(key, val){ + return val != null && (!com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(val) && !com_google_gwt_lang_Util_hasTypeMarker__Ljava_lang_Object_2Z(val) || com_google_gwt_lang_Cast_canCast__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(val, 44))?com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this.com_google_gwt_query_client_builders_JsonBuilderBase_p, key, com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(val)?val.getDataImpl__Ljava_lang_Object_2():val):com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this.com_google_gwt_query_client_builders_JsonBuilderBase_p, key, val) , this; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(this.com_google_gwt_query_client_builders_JsonBuilderBase_p); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonBuilderBase_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(43); +function com_google_gwt_query_client_builders_JsonBuilder_1JsonBuilder_JsonBuilder_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(451, 43, $intern_21, com_google_gwt_query_client_builders_JsonBuilder_1JsonBuilder_JsonBuilder_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonBuilder_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(451); +function com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(clz){ + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonBuilder_12_1classLit) + return new com_google_gwt_query_client_builders_JsonBuilder_1JsonBuilder_JsonBuilder_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationObserverInit_12_1classLit) + return new com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_Observe_1MutationObserverInit_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords_12_1classLit) + return new com_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_Observe_1MutationRecords_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords$MutationRecord_12_1classLit) + return new com_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_Observe_1MutationRecords_1MutationRecord_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$Settings_12_1classLit) + return new com_google_gwt_query_client_plugins_ajax_Ajax_1Settings_1JsonBuilder_Ajax_1Settings_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_GData_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1JsonBuilder_GData_1GAjaxConf_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse$GAjaxColumn_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_GData_1GColumn_1JsonBuilder__V; + if (clz == com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit) + return new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_GData_1GColumn_1GHeader_1JsonBuilder__V; + return null; +} + +function com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(30, 1, {}, com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonFactory_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(30); +function com_google_gwt_query_client_impl_AttributeImpl_$clinit__V(){ + com_google_gwt_query_client_impl_AttributeImpl_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_impl_AttributeImpl_BOOLEAN_1ATTR_1REGEX = new RegExp('^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$', 'i'); +} + +function com_google_gwt_query_client_impl_AttributeImpl_$getAttributeSetter__Lcom_google_gwt_query_client_impl_AttributeImpl_2Ljava_lang_String_2Lcom_google_gwt_query_client_impl_AttributeImpl$AttributeSetter_2(key){ + if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('type', key)) { + return com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_$clinit__V() , !com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_INSTANCE && (com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_INSTANCE = new com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_AttributeImpl$TypeAttrSetter__V) , com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_$clinit__V() , com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_INSTANCE; + } + else if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('id', key)) { + return !com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_INSTANCE && (com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_INSTANCE = new com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_AttributeImpl$IdAttrSetter__V) , com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_INSTANCE; + } + else if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('value', key)) { + return !com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_INSTANCE && (com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_INSTANCE = new com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_AttributeImpl$ValueAttrSetter__V) , com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_INSTANCE; + } + else if (com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(com_google_gwt_query_client_impl_AttributeImpl_BOOLEAN_1ATTR_1REGEX, key)) { + return !com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_INSTANCE && (com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_INSTANCE = new com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_AttributeImpl$BooleanAttrSetter__V) , com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_INSTANCE; + } + return !com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_INSTANCE && (com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_INSTANCE = new com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_AttributeImpl$DefaultSetter__V) , com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_INSTANCE; +} + +function com_google_gwt_query_client_impl_AttributeImpl_$removeAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(gQuery, key){ + var e, e$array, e$index, e$max; + for (e$array = gQuery.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + if (e.nodeType != 1) { + continue; + } + com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(e, key) && (com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(com_google_gwt_query_client_impl_AttributeImpl_BOOLEAN_1ATTR_1REGEX, key)?com_google_gwt_dom_client_Element_$setPropertyBoolean__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(e, key, false):com_google_gwt_dom_client_Element_$setPropertyObject__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, key, null)); + com_google_gwt_dom_client_Element_$removeAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(e, key); + } +} + +function com_google_gwt_query_client_impl_AttributeImpl_$setAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2V(gQuery, key, value_0){ + var e, e$array, e$index, e$max, nodeType, setter; + setter = com_google_gwt_query_client_impl_AttributeImpl_$getAttributeSetter__Lcom_google_gwt_query_client_impl_AttributeImpl_2Ljava_lang_String_2Lcom_google_gwt_query_client_impl_AttributeImpl$AttributeSetter_2(key); + if (setter.isRemoval__Ljava_lang_Object_2Z(value_0)) { + com_google_gwt_query_client_impl_AttributeImpl_$removeAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V((!(com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_attributeImpl) && (com_google_gwt_query_client_GQuery_attributeImpl = new com_google_gwt_query_client_impl_AttributeImpl_AttributeImpl__V) , gQuery), key); + return; + } + value_0 = value_0; + for (e$array = gQuery.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + nodeType = e.nodeType; + if (nodeType == 3 || nodeType == 8 || nodeType == 2) { + continue; + } + setter.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, key, value_0); + } +} + +function com_google_gwt_query_client_impl_AttributeImpl_AttributeImpl__V(){ + com_google_gwt_query_client_impl_AttributeImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(169, 1, {}, com_google_gwt_query_client_impl_AttributeImpl_AttributeImpl__V); +var com_google_gwt_query_client_impl_AttributeImpl_BOOLEAN_1ATTR_1REGEX; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(169); +function com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_$setAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, key, value_0){ + com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, key, '' + value_0); +} + +function com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_AttributeImpl$DefaultSetter__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(488, 1, {}, com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_AttributeImpl$DefaultSetter__V); +_.isRemoval__Ljava_lang_Object_2Z = function(value_0){ + return value_0 == null; +} +; +_.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V = function(e, key, value_0){ + com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_$setAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, key, value_0); +} +; +var com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl$DefaultSetter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(488); +function com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_AttributeImpl$BooleanAttrSetter__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(490, 488, {}, com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_AttributeImpl$BooleanAttrSetter__V); +_.isRemoval__Ljava_lang_Object_2Z = function(value_0){ + return value_0 == null || java_lang_Boolean_$equals__Ljava_lang_Boolean_2Ljava_lang_Object_2Z((java_lang_Boolean_$clinit__V() , java_lang_Boolean_FALSE), value_0); +} +; +_.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V = function(e, key, value_0){ + com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(e, key) && com_google_gwt_dom_client_Element_$setPropertyBoolean__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(e, key, true); + com_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_$setAttribute__Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, key, key.toLowerCase()); +} +; +var com_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl$BooleanAttrSetter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(490); +function com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_AttributeImpl$IdAttrSetter__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(491, 488, {}, com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_AttributeImpl$IdAttrSetter__V); +_.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V = function(e, key, value_0){ + com_google_gwt_dom_client_Element_$setId__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(e, value_0 == null?null:com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(value_0)?value_0:com_google_gwt_lang_Cast_hasJavaObjectVirtualDispatch__Ljava_lang_Object_2Z(value_0)?value_0.toString__Ljava_lang_String_2$():com_google_gwt_lang_Cast_isJavaArray__Ljava_lang_Object_2Z(value_0)?java_lang_Object_$toString__Ljava_lang_Object_2Ljava_lang_String_2(value_0):value_0.toString?value_0.toString():'[JavaScriptObject]'); + com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, key, '' + value_0); +} +; +var com_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl$IdAttrSetter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(491); +function com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_$clinit__V(){ + com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_NOT_1AUTHORIZED_1NODE = new RegExp('^(?:button|input)$', 'i'); +} + +function com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_AttributeImpl$TypeAttrSetter__V(){ + com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(492, 488, {}, com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_AttributeImpl$TypeAttrSetter__V); +_.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V = function(e, name_0, value_0){ + var ie, keepValue, tag; + tag = e.nodeName; + if (com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_NOT_1AUTHORIZED_1NODE, tag) && com_google_gwt_query_client_GQuery_$parents__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['body'])).com_google_gwt_query_client_GQuery_elements.length > 0) { + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V('You cannot change type of button or input element if the element is already attached to the dom'); + } + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('input', tag.toLowerCase()) && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('radio', value_0)) { + ie = e; + keepValue = ie.value; + com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(ie, 'type', '' + value_0); + ie.value = keepValue; + } + else { + com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, name_0, '' + value_0); + } +} +; +var com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_INSTANCE, com_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_NOT_1AUTHORIZED_1NODE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl$TypeAttrSetter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(492); +function com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_AttributeImpl$ValueAttrSetter__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(489, 488, {}, com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_AttributeImpl$ValueAttrSetter__V); +_.setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V = function(e, key, value_0){ + com_google_gwt_dom_client_Element_$setPropertyObject__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(e, 'value', '' + value_0); + com_google_gwt_dom_client_Element_$setAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, key, '' + value_0); +} +; +var com_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1AttributeImpl$ValueAttrSetter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(489); +function com_google_gwt_query_client_impl_ConsoleBrowser_$error__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2Ljava_lang_Object_2V(this$static, arg){ + this$static.com_google_gwt_query_client_impl_ConsoleBrowser_impl.error__Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [arg]))); +} + +function com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(arg){ + var o, o$index, o$max, ret; + ret = []; + for (o$index = 0 , o$max = arg.length; o$index < o$max; ++o$index) { + o = arg[o$index]; + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(ret, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [o])); + } + return ret; +} + +function com_google_gwt_query_client_impl_ConsoleBrowser_ConsoleBrowser__V(){ + this.com_google_gwt_query_client_impl_ConsoleBrowser_impl = (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_browser).com_google_gwt_query_client_Browser_ie8?new com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_ConsoleBrowser$ConsoleIe8__V:com_google_gwt_query_client_GQuery_browser.com_google_gwt_query_client_Browser_ie9?new com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_ConsoleBrowser$ConsoleIe9__V:new com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_ConsoleBrowser$ConsoleImpl__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(319, 1, {}, com_google_gwt_query_client_impl_ConsoleBrowser_ConsoleBrowser__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1ConsoleBrowser_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(319); +function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$error__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(arg){ + $wnd.console.error.apply($wnd.console, arg); +} + +function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(arg){ + $wnd.console.log.apply($wnd.console, arg); +} + +function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_ConsoleBrowser$ConsoleImpl__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(320, 1, {}, com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_ConsoleBrowser$ConsoleImpl__V); +_.error__Lcom_google_gwt_core_client_JavaScriptObject_2V = function(arg){ + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$error__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(arg); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1ConsoleBrowser$ConsoleImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(320); +function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_ConsoleBrowser$ConsoleIe9__V(){ + this.init__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(143, 320, {}, com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_ConsoleBrowser$ConsoleIe9__V); +_.error__Lcom_google_gwt_core_client_JavaScriptObject_2V = function(arg){ + this.com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_initialized && com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$error__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(arg); +} +; +_.init__V = function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_init__V(){ + try { + ['log', 'info', 'warn', 'error', 'dir', 'clear', 'profile', 'profileEnd'].forEach(function(method){ + $wnd.console[method] = this.call($wnd.console[method], $wnd.console); + } + , Function.prototype.bind); + this.com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_initialized = true; + } + catch (e) { + } +} +; +_.com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_initialized = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1ConsoleBrowser$ConsoleIe9_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(143); +function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_ConsoleBrowser$ConsoleIe8__V(){ + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_ConsoleBrowser$ConsoleIe9__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(321, 143, {}, com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_ConsoleBrowser$ConsoleIe8__V); +_.init__V = function com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_init__V(){ + try { + Function.prototype.call.call($wnd.console.log, $wnd.console, Array.prototype.slice.call(arguments)); + this.com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_initialized = true; + } + catch (e) { + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1ConsoleBrowser$ConsoleIe8_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(321); +function com_google_gwt_query_client_impl_DocumentStyleImpl_$clinit__V(){ + com_google_gwt_query_client_impl_DocumentStyleImpl_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_impl_DocumentStyleImpl_cssNumberRegex = new RegExp('^(fillOpacity|fontWeight|lineHeight|opacity|orphans|widows|zIndex|zoom)$', 'i'); + com_google_gwt_query_client_impl_DocumentStyleImpl_sizeRegex = new RegExp('^(client|offset|)(width|height)$', 'i'); +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, elem, name_0, force){ + var ret, toDetach, com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0, com_google_gwt_query_client_impl_DocumentStyleImpl_$getOpacity__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2D_o_0; + if (!elem) { + return ''; + } + name_0 = com_google_gwt_query_client_impl_DocumentStyleImpl_$fixPropertyName__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2Ljava_lang_String_2(name_0); + ret = com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(elem.style, name_0); + if (force) { + toDetach = null; + com_google_gwt_query_client_js_JsUtils_isDetached__Lcom_google_gwt_dom_client_Node_2Z(elem) && (toDetach = (com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0 = com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(com_google_gwt_query_client_GQuery_$last__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$parentsUntil__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(elem)))), 0) , !com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0 && (com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0 = elem) , com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2($doc.body, com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0) , com_google_gwt_query_client_impl_DocumentStyleImpl_$attachTemporary__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2_lastParent_0)); + com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(com_google_gwt_query_client_impl_DocumentStyleImpl_sizeRegex, name_0)?(ret = com_google_gwt_query_client_impl_DocumentStyleImpl_$getVisibleSize__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, elem, name_0) + 'px'):java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('opacity', name_0)?(ret = '' + (com_google_gwt_query_client_impl_DocumentStyleImpl_$getOpacity__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2D_o_0 = com_google_gwt_dom_client_Style_$getOpacity__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(elem.style) , com_google_gwt_query_client_js_JsUtils_truth__Ljava_lang_Object_2Z(com_google_gwt_query_client_impl_DocumentStyleImpl_$getOpacity__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2D_o_0)?com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(com_google_gwt_query_client_impl_DocumentStyleImpl_$getOpacity__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2D_o_0):1)):(ret = com_google_gwt_query_client_impl_DocumentStyleImpl_$getComputedStyle__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(elem, name_0.replace(/([A-Z])/g, '-$1').toLowerCase(), null)); + !!toDetach && com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(toDetach); + } + return ret == null?'':ret; +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$fixInlineElement__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2V(this$static, e){ + if ((e.clientHeight | 0) == 0 && (e.clientWidth | 0) == 0 && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('inline', com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'display', true))) { + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'display', 'inline-block'); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'width', 'auto'); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'height', 'auto'); + } +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$fixPropertyName__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2Ljava_lang_String_2(name_0){ + if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('float', name_0)) { + return 'cssFloat'; + } + else if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('for', name_0)) { + return 'htmlFor'; + } + return com_google_gwt_query_client_js_JsUtils_camelize__Ljava_lang_String_2Ljava_lang_String_2(name_0); +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$getComputedStyle__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(elem, hyphenName, pseudo){ + try { + var cStyle = $doc.defaultView.getComputedStyle(elem, pseudo); + return cStyle && cStyle.getPropertyValue?cStyle.getPropertyValue(hyphenName):null; + } + catch (e) { + return null; + } +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$getSize__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, e, name_0){ + var ret; + ret = 0; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('width', name_0)?(ret = (com_google_gwt_query_client_impl_DocumentStyleImpl_$fixInlineElement__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2V(this$static, e) , com_google_gwt_lang_Cast_round_1int__DI((e.clientWidth | 0) - com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'paddingLeft', true)) - com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'paddingRight', true))))):java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('height', name_0)?(ret = (com_google_gwt_query_client_impl_DocumentStyleImpl_$fixInlineElement__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2V(this$static, e) , com_google_gwt_lang_Cast_round_1int__DI((e.clientHeight | 0) - com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'paddingTop', true)) - com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'paddingBottom', true))))):java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('clientWidth', name_0)?(ret = e.clientWidth | 0):java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('clientHeight', name_0)?(ret = e.clientHeight | 0):java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('offsetWidth', name_0)?(ret = com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(e) | 0):java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('offsetHeight', name_0) && (ret = com_google_gwt_dom_client_Element_$getSubPixelOffsetHeight__Lcom_google_gwt_dom_client_Element_2D(e) | 0); + return ret; +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$getVisibleSize__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, e, name_0){ + var display, position, ret, visibility; + if (com_google_gwt_query_client_js_JsMap_$get__Lcom_google_gwt_query_client_js_JsMap_2ILjava_lang_Object_2((com_google_gwt_query_client_impl_SelectorEngine_$clinit__V() , com_google_gwt_query_client_impl_SelectorEngine_filters), java_lang_String$HashCache_getHashCode__Ljava_lang_String_2I('visible')).f__Lcom_google_gwt_dom_client_Element_2IZ(e, 0)) { + ret = com_google_gwt_query_client_impl_DocumentStyleImpl_$getSize__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, e, name_0); + } + else { + display = com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'display', false); + position = com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'position', false); + visibility = com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2(this$static, e, 'visibility', false); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'display', 'block'); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'position', 'absolute'); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'visibility', 'hidden'); + ret = com_google_gwt_query_client_impl_DocumentStyleImpl_$getSize__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static, e, name_0); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'display', display); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'position', position); + com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, 'visibility', visibility); + } + return ret; +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$num__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2D(val){ + val = java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(val), '[^\\d\\.\\-]+.*$', ''); + return com_google_gwt_query_client_js_JsUtils_truth__Ljava_lang_Object_2Z(val)?java_lang_Number__1_1parseAndValidateDouble__Ljava_lang_String_2D(val):0; +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_$setStyleProperty__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(e, prop, val){ + if (!e || prop == null) { + return; + } + prop = com_google_gwt_query_client_impl_DocumentStyleImpl_$fixPropertyName__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Ljava_lang_String_2Ljava_lang_String_2(prop); + java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(prop, '^[A-Z]+$') && (prop = prop.toLowerCase()); + prop = com_google_gwt_query_client_js_JsUtils_camelize__Ljava_lang_String_2Ljava_lang_String_2(prop); + if (val == null || java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(val).length == 0) { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, prop, ''); + } + else { + java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(val, '-?[\\d\\.]+') && !com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(com_google_gwt_query_client_impl_DocumentStyleImpl_cssNumberRegex, prop) && (val += 'px'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, prop, val); + } +} + +function com_google_gwt_query_client_impl_DocumentStyleImpl_DocumentStyleImpl__V(){ + com_google_gwt_query_client_impl_DocumentStyleImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(376, 1, {}, com_google_gwt_query_client_impl_DocumentStyleImpl_DocumentStyleImpl__V); +var com_google_gwt_query_client_impl_DocumentStyleImpl_cssNumberRegex, com_google_gwt_query_client_impl_DocumentStyleImpl_sizeRegex; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1DocumentStyleImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(376); +function com_google_gwt_query_client_impl_SelectorEngine_$clinit__V(){ + com_google_gwt_query_client_impl_SelectorEngine_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + $doc.location.href.indexOf('_force_no_native') < 0 && typeof $doc.querySelectorAll == 'function'; + com_google_gwt_query_client_impl_SelectorEngine_filters = {}; + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_impl_SelectorEngine_filters, 'visible', new com_google_gwt_query_client_impl_SelectorEngine$1_SelectorEngine$1__V); + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_impl_SelectorEngine_filters, 'hidden', new com_google_gwt_query_client_impl_SelectorEngine$2_SelectorEngine$2__V); + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_impl_SelectorEngine_filters, 'selected', new com_google_gwt_query_client_impl_SelectorEngine$3_SelectorEngine$3__V); + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_impl_SelectorEngine_filters, 'input', new com_google_gwt_query_client_impl_SelectorEngine$4_SelectorEngine$4__V); + com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(com_google_gwt_query_client_impl_SelectorEngine_filters, 'header', new com_google_gwt_query_client_impl_SelectorEngine$5_SelectorEngine$5__V); +} + +function com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_dom_client_NodeList_2(nodes, p){ + var e, i, j, l, res; + res = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (i = 0 , l = nodes.length , j = 0; i < l; i++) { + e = nodes[i]; + p.f__Lcom_google_gwt_dom_client_Element_2IZ(e, i) && com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2IV(res, e, j++); + } + return res; +} + +function com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Ljava_lang_String_2Lcom_google_gwt_dom_client_NodeList_2(this$static, nodes, selector){ + return com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Ljava_lang_String_2ZLcom_google_gwt_dom_client_NodeList_2(this$static, nodes, selector, this$static.com_google_gwt_query_client_impl_SelectorEngine_filterDetached); +} + +function com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Ljava_lang_String_2ZLcom_google_gwt_dom_client_NodeList_2(this$static, nodes, selector, filterDetached){ + var e, e$iterator, el, elmList, ghostParent, i, i0, l, l0, n, p, parents, res; + res = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + if (!selector.length) { + return res; + } + ghostParent = null; + parents = new java_util_HashSet_HashSet__V; + elmList = new java_util_HashSet_HashSet__V; + for (i0 = 0 , l0 = nodes.length; i0 < l0; i0++) { + e = nodes[i0]; + if (e == (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_window) || e == com_google_gwt_query_client_GQuery_document || e.nodeName == null || java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('html', e.nodeName)) { + continue; + } + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(elmList, e); + if (filterDetached) { + p = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e)); + if (!p) { + if (!ghostParent) { + ghostParent = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(parents, ghostParent); + } + p = ghostParent; + p.appendChild(e); + } + else + parents.java_util_HashSet_map.containsKey__Ljava_lang_Object_2Z(p) || java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(parents, p); + } + else + parents.java_util_HashSet_map.size__I() == 0 && java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(parents, com_google_gwt_query_client_GQuery_document); + } + for (e$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(parents.java_util_HashSet_map)); e$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + e = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(e$iterator); + n = com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, selector, e); + for (i = 0 , l = n.length; i < l; i++) { + el = n[i]; + elmList.java_util_HashSet_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(el) != null && com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(res, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [el])); + } + } + !!ghostParent && com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(ghostParent, null); + return res; +} + +function com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, selector, ctx){ + var a, nodes, pred, pseudo, r, res, s, s$array, s$index, s$max, select; + if (com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(this$static.com_google_gwt_query_client_impl_SelectorEngine_nativePseudo, selector)) { + while (r = com_google_gwt_regexp_shared_RegExp_$exec__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Lcom_google_gwt_regexp_shared_MatchResult_2(this$static.com_google_gwt_query_client_impl_SelectorEngine_nativePseudo, selector)) { + selector = r[1] + ':' + r[3]; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(r[3], r[2]) || (selector += ':' + r[2]); + selector += r[4]; + } + } + if (com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(this$static.com_google_gwt_query_client_impl_SelectorEngine_gQueryPseudo, selector)) { + res = com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null); + for (s$array = java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(selector), '\\s*,\\s*', 0) , s$index = 0 , s$max = s$array.length; s$index < s$max; ++s$index) { + s = s$array[s$index]; + a = com_google_gwt_regexp_shared_RegExp_$exec__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Lcom_google_gwt_regexp_shared_MatchResult_2(this$static.com_google_gwt_query_client_impl_SelectorEngine_gQueryPseudo, s); + if (a) { + select = !a[1].length?'*':a[1]; + pseudo = a[2]; + pred = com_google_gwt_query_client_js_JsMap_$get__Lcom_google_gwt_query_client_js_JsMap_2ILjava_lang_Object_2(com_google_gwt_query_client_impl_SelectorEngine_filters, java_lang_String$HashCache_getHashCode__Ljava_lang_String_2I(pseudo.toLowerCase())); + pred?(nodes = com_google_gwt_query_client_impl_SelectorEngine_$filter__Lcom_google_gwt_query_client_impl_SelectorEngine_2Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_dom_client_NodeList_2(com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, select, ctx), pred)):com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(this$static.com_google_gwt_query_client_impl_SelectorEngine_nativePseudo, pseudo)?(nodes = com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, select, ctx)):(nodes = com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, select + '[type=' + pseudo + ']', ctx)); + } + else { + nodes = com_google_gwt_query_client_impl_SelectorEngine_$select__Lcom_google_gwt_query_client_impl_SelectorEngine_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(this$static, s, ctx); + } + com_google_gwt_query_client_js_JsUtils_copyNodeList__Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_dom_client_NodeList_2ZLcom_google_gwt_dom_client_NodeList_2(res, nodes, false); + } + return res; + } + else { + return com_google_gwt_query_client_impl_SelectorEngineNativeMin_$select__Lcom_google_gwt_query_client_impl_SelectorEngineNativeMin_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(selector, ctx); + } +} + +function com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V(){ + com_google_gwt_query_client_impl_SelectorEngine_$clinit__V(); + this.com_google_gwt_query_client_impl_SelectorEngine_gQueryPseudo = new RegExp('(.*):((visible|hidden|selected|input|header)|((button|checkbox|file|hidden|image|password|radio|reset|submit|text)\\s*(,|$)))(.*)', 'i'); + this.com_google_gwt_query_client_impl_SelectorEngine_nativePseudo = new RegExp('(.*):([\\w]+):(disabled|checked|enabled|empty|focus)\\s*([:,].*|$)', 'i'); + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngineNativeMin_12_1classLit); + com_google_gwt_query_client_impl_SelectorEngine_styleImpl = new com_google_gwt_query_client_impl_DocumentStyleImpl_DocumentStyleImpl__V; + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1DocumentStyleImpl_12_1classLit); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(89, 1, {}, com_google_gwt_query_client_impl_SelectorEngine_SelectorEngine__V); +_.com_google_gwt_query_client_impl_SelectorEngine_filterDetached = true; +var com_google_gwt_query_client_impl_SelectorEngine_filters, com_google_gwt_query_client_impl_SelectorEngine_styleImpl; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(89); +function com_google_gwt_query_client_impl_SelectorEngine$1_SelectorEngine$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(402, 528, {}, com_google_gwt_query_client_impl_SelectorEngine$1_SelectorEngine$1__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return (com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(e) | 0) + (com_google_gwt_dom_client_Element_$getSubPixelOffsetHeight__Lcom_google_gwt_dom_client_Element_2D(e) | 0) > 0 && !java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('none', com_google_gwt_query_client_impl_DocumentStyleImpl_$curCSS__Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZLjava_lang_String_2((com_google_gwt_query_client_impl_SelectorEngine_$clinit__V() , com_google_gwt_query_client_impl_SelectorEngine_styleImpl), e, 'display', true)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(402); +function com_google_gwt_query_client_impl_SelectorEngine$2_SelectorEngine$2__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(403, 528, {}, com_google_gwt_query_client_impl_SelectorEngine$2_SelectorEngine$2__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return !com_google_gwt_query_client_js_JsMap_$get__Lcom_google_gwt_query_client_js_JsMap_2ILjava_lang_Object_2((com_google_gwt_query_client_impl_SelectorEngine_$clinit__V() , com_google_gwt_query_client_impl_SelectorEngine_filters), java_lang_String$HashCache_getHashCode__Ljava_lang_String_2I('visible')).f__Lcom_google_gwt_dom_client_Element_2IZ(e, index_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(403); +function com_google_gwt_query_client_impl_SelectorEngine$3_SelectorEngine$3__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(404, 528, {}, com_google_gwt_query_client_impl_SelectorEngine$3_SelectorEngine$3__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return !!e['selected']; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(404); +function com_google_gwt_query_client_impl_SelectorEngine$4_SelectorEngine$4__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(405, 528, {}, com_google_gwt_query_client_impl_SelectorEngine$4_SelectorEngine$4__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(e.nodeName.toLowerCase(), 'input|select|textarea|button'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(405); +function com_google_gwt_query_client_impl_SelectorEngine$5_SelectorEngine$5__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(406, 528, {}, com_google_gwt_query_client_impl_SelectorEngine$5_SelectorEngine$5__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + return java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(e.nodeName.toLowerCase(), 'h\\d'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngine$5_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(406); +function com_google_gwt_query_client_impl_SelectorEngineNativeMin_$select__Lcom_google_gwt_query_client_impl_SelectorEngineNativeMin_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_NodeList_2(selector, ctx){ + var e; + try { + return com_google_gwt_query_client_impl_SelectorEngine_$clinit__V() , ctx.querySelectorAll(selector); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e = $e0; + com_google_gwt_query_client_impl_ConsoleBrowser_$error__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2Ljava_lang_Object_2V((com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_console), "GwtQuery: Selector '" + selector + "' is unsupported in this SelectorEngineNativeMin engine." + ' Do not use this syntax or configure your module to use a JS fallback. ' + e.getMessage__Ljava_lang_String_2()); + return null; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1impl_1SelectorEngineNativeMin_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(null); +function com_google_gwt_query_client_js_JsCache_$clear__Lcom_google_gwt_query_client_js_JsCache_2V(this$static){ + var k, k$array, k$index, k$max; + for (k$array = com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(this$static) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) { + k = k$array[k$index]; + com_google_gwt_query_client_js_JsCache_$delete__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2V(this$static, k); + } +} + +function com_google_gwt_query_client_js_JsCache_$delete__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2V(this$static, name_0){ + delete this$static[name_0]; +} + +function com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, id_0){ + return com_google_gwt_query_client_js_JsCache_gwtBox__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2([this$static && this$static[id_0]]); +} + +function com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(this$static, id_0, clz){ + var d, o; + o = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, id_0); + if (o != null && !!clz) { + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 15)) { + d = o; + clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Float_12_1classLit?(o = new java_lang_Float_Float__FV(d.java_lang_Double_value)):clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Integer_12_1classLit?(o = java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_lang_Cast_round_1int__DI(d.java_lang_Double_value))):clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Long_12_1classLit?(o = java_lang_Long_valueOf__JLjava_lang_Long_2(com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(d.java_lang_Double_value))):clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Short_12_1classLit?(o = java_lang_Short_valueOf__SLjava_lang_Short_2(com_google_gwt_lang_Cast_round_1short__DS(d.java_lang_Double_value))):clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Byte_12_1classLit && (o = java_lang_Byte_valueOf__BLjava_lang_Byte_2(com_google_gwt_lang_Cast_round_1byte__DB(d.java_lang_Double_value))); + } + else + clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Boolean_12_1classLit && !com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 59)?(o = (java_lang_Boolean_$clinit__V() , java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('true', '' + o)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE)):clz == com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit && !com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(o) && (o = '' + o); + } + return o; +} + +function com_google_gwt_query_client_js_JsCache_$getArray__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static, id_0){ + var r = this$static[id_0]; + if (Object.prototype.toString.call(r) == '[object Array]') { + return r; + } + return null; +} + +function com_google_gwt_query_client_js_JsCache_$getBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Z(this$static){ + var r; + r = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(this$static, 'withCredentials', com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Boolean_12_1classLit); + return !!r && r.java_lang_Boolean_value; +} + +function com_google_gwt_query_client_js_JsCache_$getDouble__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2D(this$static, id_0){ + var r; + r = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(this$static, id_0, com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Double_12_1classLit); + return !r?0:r.java_lang_Double_value; +} + +function com_google_gwt_query_client_js_JsCache_$getJavaScriptObject__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static, name_0){ + var o; + o = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, name_0); + return o != null && com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(o)?o:null; +} + +function com_google_gwt_query_client_js_JsCache_$getString__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_String_2(this$static, id_0){ + return this$static[id_0] == null?null:String(this$static[id_0]); +} + +function com_google_gwt_query_client_js_JsCache_$isEmpty__Lcom_google_gwt_query_client_js_JsCache_2Z(this$static){ + for (k in this$static) { + if (this$static.hasOwnProperty(k)) + return false; + } + return true; +} + +function com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(this$static){ + var a, i, ret; + a = com_google_gwt_query_client_js_JsCache_$keysImpl__Lcom_google_gwt_query_client_js_JsCache_2Lcom_google_gwt_core_client_JsArrayString_2(this$static); + ret = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, $intern_1, 2, a.length, 4, 1); + for (i = 0; i < a.length; i++) { + ret[i] = a[i]; + } + return ret; +} + +function com_google_gwt_query_client_js_JsCache_$keysImpl__Lcom_google_gwt_query_client_js_JsCache_2Lcom_google_gwt_core_client_JsArrayString_2(this$static){ + var key, keys_0 = []; + for (key in this$static) { + this$static.hasOwnProperty(key) && key != '__gwt_ObjectId' && key != '$H' && keys_0.push(String(key)); + } + return keys_0; +} + +function com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(this$static){ + if (typeof this$static.length == 'number') + return this$static.length; + var key, ret = 0; + for (key in this$static) { + key != '__gwt_ObjectId' && ret++; + } + return ret; +} + +function com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, id_0, obj){ + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(obj, 59)?com_google_gwt_query_client_js_JsCache_$putBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2ZLcom_google_gwt_query_client_js_JsCache_2(this$static, id_0, obj.java_lang_Boolean_value):com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(obj, 51)?com_google_gwt_query_client_js_JsCache_$putNumber__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2DLcom_google_gwt_query_client_js_JsCache_2(this$static, id_0, obj.doubleValue__D()):(this$static[id_0] = obj , this$static); + return this$static; +} + +function com_google_gwt_query_client_js_JsCache_$putBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2ZLcom_google_gwt_query_client_js_JsCache_2(this$static, id_0, b){ + this$static[id_0] = b; + return this$static; +} + +function com_google_gwt_query_client_js_JsCache_$putNumber__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2DLcom_google_gwt_query_client_js_JsCache_2(this$static, id_0, n){ + this$static[id_0] = n; + return this$static; +} + +function com_google_gwt_query_client_js_JsCache_gwtBox__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2(oneElementArray){ + var r = oneElementArray; + if (typeof r == 'object' && r.length == 1) { + var r = r[0], t = typeof r; + if (t == 'boolean') + return java_lang_Boolean_$clinit__V() , r?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE; + if (t == 'number') + return new java_lang_Double_Double__DV(r); + } + return r || null; +} + +function com_google_gwt_query_client_js_JsMap_$get__Lcom_google_gwt_query_client_js_JsMap_2ILjava_lang_Object_2(this$static, hashCode){ + return com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(hashCode)); +} + +function com_google_gwt_query_client_js_JsMap_$put__Lcom_google_gwt_query_client_js_JsMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static, key, val){ + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(key)), val); +} + +function com_google_gwt_query_client_js_JsNamedArray_$get__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2(this$static, key){ + return com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, key); +} + +function com_google_gwt_query_client_js_JsNamedArray_$put__Lcom_google_gwt_query_client_js_JsNamedArray_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, key, val){ + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, key, val); +} + +function com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2V(this$static, n){ + com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, 1), $intern_1, 0, 2, [n])); +} + +function com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2IV(this$static, n, i){ + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i), n); +} + +function com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(node){ + return node?[node]:[]; +} + +function com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(this$static, vals){ + var t, t$index, t$max; + for (t$index = 0 , t$max = vals.length; t$index < t$max; ++t$index) { + t = vals[t$index]; + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(t, 51)?com_google_gwt_query_client_js_JsCache_$putNumber__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2DLcom_google_gwt_query_client_js_JsCache_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(this$static)), t.doubleValue__D()):com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(t, 59)?com_google_gwt_query_client_js_JsCache_$putBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2ZLcom_google_gwt_query_client_js_JsCache_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(this$static)), t.java_lang_Boolean_value):com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(this$static, java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(this$static)), t); + } + return this$static; +} + +function com_google_gwt_query_client_js_JsUtils_camelize__Ljava_lang_String_2Ljava_lang_String_2(s){ + return s.replace(/\-(\w)/g, function(all, letter){ + return letter.toUpperCase(); + } + ); +} + +function com_google_gwt_query_client_js_JsUtils_copyNodeList__Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_dom_client_NodeList_2ZLcom_google_gwt_dom_client_NodeList_2(oldNodes, newNodes, create){ + var e, i, i0, idlist, j, l, ret; + ret = !oldNodes || create?com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null):oldNodes; + idlist = {}; + for (i0 = 0; !!oldNodes && i0 < oldNodes.length; i0++) { + e = oldNodes[i0]; + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(idlist, java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(e)), java_lang_Integer_valueOf__ILjava_lang_Integer_2(1)); + create && com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2IV(ret, e, i0); + } + for (i = 0 , l = newNodes.length , j = ret.length; i < l; i++) { + e = newNodes[i]; + !!idlist[java_lang_Integer_valueOf__ILjava_lang_Integer_2(com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(e))] || com_google_gwt_query_client_js_JsNodeArray_$addNode__Lcom_google_gwt_query_client_js_JsNodeArray_2Lcom_google_gwt_dom_client_Node_2IV(ret, newNodes[i], j++); + } + return ret; +} + +function com_google_gwt_query_client_js_JsUtils_hasProperty__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Z(o, name_0){ + var p = name_0.split('.'); + for (var i in p) { + if (!(o && p[i] in o)) + return false; + o = o[p[i]]; + } + return true; +} + +function com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + return Object.prototype.toString.call(o) == '[object Array]' || typeof o.length == 'number'; +} + +function com_google_gwt_query_client_js_JsUtils_isDetached__Lcom_google_gwt_dom_client_Node_2Z(n){ + if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('html', n.nodeName)) { + return false; + } + return !com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z((!n || !com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(n)?null:n.nodeType == 9?n:n.ownerDocument).body, n); +} + +function com_google_gwt_query_client_js_JsUtils_isElement__Ljava_lang_Object_2Z(o){ + return !!o && 'nodeType' in o && 'nodeName' in o; +} + +function com_google_gwt_query_client_js_JsUtils_isFormData__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + return Object.prototype.toString.call(o) == '[object FormData]'; +} + +function com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + return Object.prototype.toString.call(o) == '[object Function]'; +} + +function com_google_gwt_query_client_js_JsUtils_param__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(js){ + var i, k, k$array, k$index, k$max, l, o, p, ret, v; + ret = ''; + for (k$array = com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(js) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) { + k = k$array[k$index]; + ret += !ret.length?'':'&'; + o = com_google_gwt_query_client_js_JsCache_$getArray__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(js, '' + k); + if (o) { + for (i = 0 , l = com_google_gwt_query_client_js_JsCache_$length__Lcom_google_gwt_query_client_js_JsCache_2I(o); i < l; i++) { + ret += i > 0?'&':''; + p = com_google_gwt_query_client_js_JsCache_$getJavaScriptObject__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(o, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + p?(ret += k + '[]=' + com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(p)):(ret += k + '[]=' + com_google_gwt_query_client_js_JsCache_$getString__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_String_2(o, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i))); + } + } + else { + p = com_google_gwt_query_client_js_JsCache_$getJavaScriptObject__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(js, '' + k); + if (p) { + ret += k + '=' + com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(p); + } + else { + v = com_google_gwt_query_client_js_JsCache_$getString__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_String_2(js, '' + k); + v != null && !!v.length && !java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('null', v) && (ret += k + '=' + v); + } + } + } + return ret; +} + +function com_google_gwt_query_client_js_JsUtils_parseJSON__Ljava_lang_String_2Lcom_google_gwt_query_client_Properties_2(json){ + try { + return com_google_gwt_core_client_JsonUtils_safeEval__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2(json); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + return {}; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +function com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(o, id_0){ + return !o?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(o, id_0); +} + +function com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2V(o, id_0, val){ + !!o && com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(o, id_0, val); +} + +function com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(o, meth, args){ + return com_google_gwt_query_client_js_JsUtils_runJavascriptFunctionImpl__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(o, meth, com_google_gwt_query_client_js_JsObjectArray_$add__Lcom_google_gwt_query_client_js_JsObjectArray_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2([], args)); +} + +function com_google_gwt_query_client_js_JsUtils_runJavascriptFunctionImpl__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(o, meth, args){ + var f = o || $wnd, p = meth.split('.'); + for (var i in p) { + o = f; + f = f[p[i]]; + if (!f) + return null; + } + return com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(f) && com_google_gwt_query_client_js_JsCache_gwtBox__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2([f.apply(o, args)]); +} + +function com_google_gwt_query_client_js_JsUtils_truth__Ljava_lang_Object_2Z(a){ + return a?true:false; +} + +function com_google_gwt_query_client_js_JsUtils_wrapFunction__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_core_client_JavaScriptObject_2(f){ + return function(r){ + var o = new java_util_ArrayList_ArrayList__V; + for (i in arguments) { + r = com_google_gwt_query_client_js_JsCache_gwtBox__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2([arguments[i]]); + o.add__Ljava_lang_Object_2Z(r); + } + o = o.toArray___3Ljava_lang_Object_2(); + f.setArguments___3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(o); + return f.fe___3Ljava_lang_Object_2Ljava_lang_Object_2(o); + } + ; +} + +function com_google_gwt_query_client_js_JsUtils$JsFunction_$exec__Lcom_google_gwt_query_client_js_JsUtils$JsFunction_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(f, data_0){ + return com_google_gwt_query_client_js_JsCache_gwtBox__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2([f(data_0)]); +} + +function com_google_gwt_query_client_js_JsUtils$JsFunction_JsUtils$JsFunction__Lcom_google_gwt_core_client_JavaScriptObject_2V(f){ + com_google_gwt_query_client_Function_Function__V.call(this); + this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso = null; + com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(f) && (this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso = f); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(141, 6, $intern_20, com_google_gwt_query_client_js_JsUtils$JsFunction_JsUtils$JsFunction__Lcom_google_gwt_core_client_JavaScriptObject_2V); +_.equals__Ljava_lang_Object_2Z$ = function(obj){ + return com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(obj); +} +; +_.execute__V = function(){ + !!this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso && com_google_gwt_query_client_Function_$setArguments__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [com_google_gwt_query_client_js_JsUtils$JsFunction_$exec__Lcom_google_gwt_query_client_js_JsUtils$JsFunction_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso, com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null))])); +} +; +_.f__V = function(){ + !!this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso && com_google_gwt_query_client_Function_$setArguments__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [com_google_gwt_query_client_js_JsUtils$JsFunction_$exec__Lcom_google_gwt_query_client_js_JsUtils$JsFunction_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso, com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null))])); +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this.com_google_gwt_query_client_js_JsUtils$JsFunction_jso); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1js_1JsUtils$JsFunction_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(141); +function com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(o){ + return $wnd.JSON.stringify(o); +} + +function com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$parseXML__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2(xml){ + return (new DOMParser).parseFromString(xml, 'text/xml').documentElement; +} + +function com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$unique__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JsArray_2(a){ + var cache, e, i, id_0, ret; + ret = []; + cache = {}; + for (i = 0; i < a.length; i++) { + e = a[i]; + id_0 = com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(e); + if (!cache[java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0)]) { + com_google_gwt_query_client_js_JsCache_$putNumber__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2DLcom_google_gwt_query_client_js_JsCache_2(cache, java_lang_Integer_valueOf__ILjava_lang_Integer_2(id_0), 1); + com_google_gwt_core_client_JsArray_$push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_JavaScriptObject_2V(ret, e); + } + } + return ret; +} + +function com_google_gwt_query_client_plugins_Events_$clinit__V(){ + com_google_gwt_query_client_plugins_Events_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Events_12_1classLit, new com_google_gwt_query_client_plugins_Events$1_Events$1__V); +} + +function com_google_gwt_query_client_plugins_Events_Events__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugins_Events_$clinit__V(); + com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(127, 7, {}, com_google_gwt_query_client_plugins_Events_Events__Lcom_google_gwt_query_client_GQuery_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Events_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(127); +function com_google_gwt_query_client_plugin_Observe_$clinit__V(){ + com_google_gwt_query_client_plugin_Observe_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_plugins_Events_$clinit__V(); + com_google_gwt_query_client_plugin_Observe_Observe = com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe_12_1classLit, new com_google_gwt_query_client_plugin_Observe$1_Observe$1__V); +} + +function com_google_gwt_query_client_plugin_Observe_$observe__Lcom_google_gwt_query_client_plugin_Observe_2Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_plugin_Observe_2(this$static, p, handler){ + var e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_query_client_plugin_Observe_observeImpl__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2V(e, p, handler); + } + return this$static; +} + +function com_google_gwt_query_client_plugin_Observe_$observe__Lcom_google_gwt_query_client_plugin_Observe_2Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2Lcom_google_gwt_query_client_plugin_Observe$MutationListener_2Lcom_google_gwt_query_client_plugin_Observe_2(this$static, init, f){ + return com_google_gwt_query_client_plugin_Observe_$observe__Lcom_google_gwt_query_client_plugin_Observe_2Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_plugin_Observe_2(this$static, init.com_google_gwt_query_client_builders_JsonBuilderBase_p, f); +} + +function com_google_gwt_query_client_plugin_Observe_Observe__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugin_Observe_$clinit__V(); + com_google_gwt_query_client_plugins_Events_Events__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +function com_google_gwt_query_client_plugin_Observe_observeImpl__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2V(e, cfg, handler){ + if ($wnd.MutationObserver) { + var observer = new $wnd.MutationObserver(function(mutations){ + com_google_gwt_query_client_plugin_Observe_onMutation__Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArray_2V(handler, mutations); + } + ); + (e.__gq_obs || (e.__gq_obs = [])).push(observer); + observer.observe(e, cfg); + } + else { + $wnd.console.log('ERROR: this browser does not support MutationObserver: ' + $wnd.navigator.userAgent); + } +} + +function com_google_gwt_query_client_plugin_Observe_onMutation__Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArray_2V(handler, mutations){ + var p; + p = com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2({}, 'mutations', mutations); + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(handler, 6)?handler.f___3Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [p])):com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(handler, 556) && handler.onMutation(com_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_$mutations__Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_2Ljava_util_List_2(com_google_gwt_query_client_GQ_create__Ljava_lang_Class_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords_12_1classLit, p))); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(190, 127, {}, com_google_gwt_query_client_plugin_Observe_Observe__Lcom_google_gwt_query_client_GQuery_2V); +var com_google_gwt_query_client_plugin_Observe_Observe; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(190); +function com_google_gwt_query_client_plugin_Observe$1_Observe$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(191, 1, {}, com_google_gwt_query_client_plugin_Observe$1_Observe$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugin_Observe_Observe__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(191); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationObserverInit_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords$MutationRecord_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +function com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$attributes__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(this$static){ + com_google_gwt_query_client_Properties_$setBoolean__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2ZV(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'attributes'); + return this$static; +} + +function com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$characterData__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(this$static){ + com_google_gwt_query_client_Properties_$setBoolean__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2ZV(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'characterData'); + return this$static; +} + +function com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$childList__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(this$static){ + com_google_gwt_query_client_Properties_$setBoolean__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2ZV(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'childList'); + return this$static; +} + +function com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$subtree__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(this$static){ + com_google_gwt_query_client_Properties_$setBoolean__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2ZV(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'subtree'); + return this$static; +} + +function com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_Observe_1MutationObserverInit_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(452, 43, $intern_21, com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_Observe_1MutationObserverInit_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe_11MutationObserverInit_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(452); +function com_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_$mutations__Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_2Ljava_util_List_2(this$static){ + var a, a1, i, instance, l, l1, r, w; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'mutations'); + l = !a?0:a.length; + r = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords$MutationRecord_12_1classLit, $intern_1, 557, l, 0, 1); + a1 = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'mutations'); + l1 = r.length; + for (i = 0; i < l1; i++) { + w = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(a1, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + instance = new com_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_Observe_1MutationRecords_1MutationRecord_1JsonBuilder__V; + r[i] = com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(instance, w); + } + return new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(r); +} + +function com_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_Observe_1MutationRecords_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(453, 43, $intern_21, com_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_Observe_1MutationRecords_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe_11MutationRecords_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(453); +function com_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_Observe_1MutationRecords_1MutationRecord_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(162, 43, {44:1, 45:1, 557:1}, com_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_Observe_1MutationRecords_1MutationRecord_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe_11MutationRecords_11MutationRecord_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(162); +function com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V(){ + com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_plugins_QueuePlugin_Queue = com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin_12_1classLit, new com_google_gwt_query_client_plugins_QueuePlugin$1_QueuePlugin$1__V); + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin_12_1classLit); + com_google_gwt_query_client_plugins_QueuePlugin_QUEUE_1DATA_1PREFIX = (java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin_12_1classLit) , com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin_12_1classLit.java_lang_Class_typeName + '.Queue-'); + com_google_gwt_query_client_plugins_QueuePlugin_DEFAULT_1NAME = com_google_gwt_query_client_plugins_QueuePlugin_QUEUE_1DATA_1PREFIX + 'fx'; +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$delay__Lcom_google_gwt_query_client_plugins_QueuePlugin_2ILjava_lang_String_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_QueuePlugin_2(this$static, milliseconds, name_0, funcs){ + var e, e$array, e$index, e$max; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + com_google_gwt_query_client_plugins_QueuePlugin_$queue__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2Ljava_util_Queue_2(this$static, e, name_0, new com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_QueuePlugin$DelayFunction__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I_3Lcom_google_gwt_query_client_Function_2V(this$static, e, name_0, milliseconds, funcs)); + } + return this$static; +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$delay__Lcom_google_gwt_query_client_plugins_QueuePlugin_2I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_QueuePlugin_2(this$static, milliseconds, f){ + return com_google_gwt_query_client_plugins_QueuePlugin_$delay__Lcom_google_gwt_query_client_plugins_QueuePlugin_2ILjava_lang_String_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_QueuePlugin_2(this$static, milliseconds, com_google_gwt_query_client_plugins_QueuePlugin_DEFAULT_1NAME, f); +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$dequeueCurrentAndRunNext__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, elem, name_0){ + var q; + q = com_google_gwt_query_client_plugins_QueuePlugin_$queue__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2Ljava_util_Queue_2(this$static, elem, name_0, null); + if (q) { + q.java_util_LinkedList_size == 0?null:(com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(q.java_util_LinkedList_size != 0) , java_util_LinkedList_$removeNode__Ljava_util_LinkedList_2Ljava_util_LinkedList$Node_2Ljava_lang_Object_2(q, q.java_util_LinkedList_header.java_util_LinkedList$Node_next)); + com_google_gwt_query_client_plugins_QueuePlugin_$runNext__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_util_Queue_2V(this$static, elem, name_0, q); + } +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$dequeueIfNotDoneYet__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, elem, name_0, object){ + var queue; + queue = com_google_gwt_query_client_plugins_QueuePlugin_$queue__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2Ljava_util_Queue_2(this$static, elem, name_0, null); + !!queue && com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(object) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(queue.java_util_LinkedList_size == 0?null:(com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(queue.java_util_LinkedList_size != 0) , queue.java_util_LinkedList_header.java_util_LinkedList$Node_next.java_util_LinkedList$Node_value)) && com_google_gwt_query_client_plugins_QueuePlugin_$dequeueCurrentAndRunNext__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, elem, name_0); +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$queue__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2Ljava_util_Queue_2(this$static, elem, name_0, func){ + var q; + if (elem) { + q = (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(elem, name_0, null)); + if (func) { + !q && (q = com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(elem, name_0, new java_util_LinkedList_LinkedList__V)); + java_util_LinkedList_$addNode__Ljava_util_LinkedList_2Ljava_lang_Object_2Ljava_util_LinkedList$Node_2Ljava_util_LinkedList$Node_2V(q, func, q.java_util_LinkedList_tail.java_util_LinkedList$Node_prev, q.java_util_LinkedList_tail); + q.java_util_LinkedList_size == 1 && com_google_gwt_query_client_plugins_QueuePlugin_$runNext__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_util_Queue_2V(this$static, elem, name_0, q); + } + return q; + } + return null; +} + +function com_google_gwt_query_client_plugins_QueuePlugin_$runNext__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_util_Queue_2V(this$static, elem, name_0, q){ + var f, com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_key_0, com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_c_0; + f = q.java_util_LinkedList_size == 0?null:(com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(q.java_util_LinkedList_size != 0) , q.java_util_LinkedList_header.java_util_LinkedList$Node_next.java_util_LinkedList$Node_value); + if (f) { + com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2V(f, elem); + } + else { + com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2((com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_key_0 = name_0 + '.Empty' , com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_c_0 = (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(elem, com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_key_0, null)) , !com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_c_0 && (com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_c_0 = com_google_gwt_query_client_GQuery_data__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Class_2Ljava_lang_Object_2(elem, com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_key_0, new com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V('once memory'))) , com_google_gwt_query_client_plugins_QueuePlugin_$emptyHooks__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_c_0), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [])); + com_google_gwt_query_client_GQuery_$removeData__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, elem, name_0); + com_google_gwt_query_client_GQuery_$removeData__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, elem, name_0 + '.Empty'); + } +} + +function com_google_gwt_query_client_plugins_QueuePlugin_QueuePlugin__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V(); + com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(108, 7, {}, com_google_gwt_query_client_plugins_QueuePlugin_QueuePlugin__Lcom_google_gwt_query_client_GQuery_2V); +_.delay__I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2 = function(milliseconds, f){ + return com_google_gwt_query_client_plugins_QueuePlugin_$delay__Lcom_google_gwt_query_client_plugins_QueuePlugin_2ILjava_lang_String_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_QueuePlugin_2(this, milliseconds, com_google_gwt_query_client_plugins_QueuePlugin_DEFAULT_1NAME, f); +} +; +var com_google_gwt_query_client_plugins_QueuePlugin_DEFAULT_1NAME, com_google_gwt_query_client_plugins_QueuePlugin_QUEUE_1DATA_1PREFIX, com_google_gwt_query_client_plugins_QueuePlugin_Queue; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(108); +function com_google_gwt_query_client_plugins_Effects_$clinit__V(){ + com_google_gwt_query_client_plugins_Effects_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V(); + com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Effects_12_1classLit, new com_google_gwt_query_client_plugins_Effects$1_Effects$1__V); + com_google_gwt_query_client_GQuery_browser.com_google_gwt_query_client_Browser_msie?'ms':com_google_gwt_query_client_GQuery_browser.com_google_gwt_query_client_Browser_opera?'o':com_google_gwt_query_client_GQuery_browser.com_google_gwt_query_client_Browser_mozilla?'moz':com_google_gwt_query_client_GQuery_browser.com_google_gwt_query_client_Browser_webkit?'webkit':''; +} + +function com_google_gwt_query_client_plugins_Effects_Effects__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugins_Effects_$clinit__V(); + com_google_gwt_query_client_plugins_QueuePlugin_QueuePlugin__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(322, 108, {}, com_google_gwt_query_client_plugins_Effects_Effects__Lcom_google_gwt_query_client_GQuery_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Effects_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(322); +function com_google_gwt_query_client_plugins_Effects$1_Effects$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(323, 1, {}, com_google_gwt_query_client_plugins_Effects$1_Effects$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugins_Effects_Effects__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Effects$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(323); +function com_google_gwt_query_client_plugins_Events$1_Events$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(192, 1, {}, com_google_gwt_query_client_plugins_Events$1_Events$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugins_Events_Events__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Events$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(192); +function com_google_gwt_query_client_plugins_QueuePlugin$1_QueuePlugin$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(305, 1, {}, com_google_gwt_query_client_plugins_QueuePlugin$1_QueuePlugin$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugins_QueuePlugin_QueuePlugin__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(305); +function com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_QueuePlugin$DelayFunction__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I_3Lcom_google_gwt_query_client_Function_2V(this$0, elem, name_0, delay, f){ + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_this$01 = this$0; + com_google_gwt_query_client_Function_Function__V.call(this); + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_elem = elem; + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_delay = delay; + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_funcs = f; + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_name = name_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(303, 6, $intern_20, com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_QueuePlugin$DelayFunction__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I_3Lcom_google_gwt_query_client_Function_2V); +_.f__V = function(){ + com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(new com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_QueuePlugin$DelayFunction$SimpleTimer__Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_2V(this), this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_delay); +} +; +_.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_delay = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin$DelayFunction_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(303); +function com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_QueuePlugin$DelayFunction$SimpleTimer__Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_2V(this$1){ + this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11 = this$1; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(304, 39, {}, com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_QueuePlugin$DelayFunction$SimpleTimer__Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_2V); +_.run__V = function(){ + var f, f$array, f$index, f$max; + for (f$array = this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_funcs , f$index = 0 , f$max = f$array.length; f$index < f$max; ++f$index) { + f = f$array[f$index]; + com_google_gwt_query_client_Function_$fe__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2V(f, this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_elem); + } + com_google_gwt_query_client_plugins_QueuePlugin_$dequeueIfNotDoneYet__Lcom_google_gwt_query_client_plugins_QueuePlugin_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_Object_2V(this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_this$01, this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_elem, this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_name, this.com_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_this$11); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1QueuePlugin$DelayFunction$SimpleTimer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(304); +function com_google_gwt_query_client_plugins_Widgets_$clinit__V(){ + com_google_gwt_query_client_plugins_Widgets_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_plugins_QueuePlugin_$clinit__V(); + com_google_gwt_query_client_plugins_Widgets_excludedTags = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['html', 'body', 'head', 'tr', 'thead', 'tfoot', 'options', 'script', 'noscript', 'style', 'title']); + com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Widgets_12_1classLit, new com_google_gwt_query_client_plugins_Widgets$1_Widgets$1__V); +} + +function com_google_gwt_query_client_plugins_Widgets_$widget__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_user_client_ui_Widget_2(e){ + var widget; + if (com_google_gwt_query_client_plugins_widgets_WidgetsUtils_matchesTags__Lcom_google_gwt_dom_client_Element_2_3Ljava_lang_String_2Z(e, com_google_gwt_query_client_plugins_Widgets_excludedTags)) { + return null; + } + widget = new com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_WidgetsHtmlPanel__Lcom_google_gwt_dom_client_Element_2V(e); + return widget; +} + +function com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(this$static){ + var e, e$array, e$index, e$max, result, w; + result = new java_util_ArrayList_ArrayList__V; + for (e$array = this$static.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + w = com_google_gwt_query_client_plugins_Widgets_$widget__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_user_client_ui_Widget_2(e); + !!w && java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(result, (com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element)); + } + return com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_util_List_2Lcom_google_gwt_query_client_GQuery_2(result), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Widgets_12_1classLit); +} + +function com_google_gwt_query_client_plugins_Widgets_Widgets__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugins_Widgets_$clinit__V(); + com_google_gwt_query_client_plugins_QueuePlugin_QueuePlugin__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(301, 108, {}, com_google_gwt_query_client_plugins_Widgets_Widgets__Lcom_google_gwt_query_client_GQuery_2V); +var com_google_gwt_query_client_plugins_Widgets_excludedTags; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Widgets_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(301); +function com_google_gwt_query_client_plugins_Widgets$1_Widgets$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(302, 1, {}, com_google_gwt_query_client_plugins_Widgets$1_Widgets$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugins_Widgets_Widgets__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1Widgets$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(302); +function com_google_gwt_query_client_plugins_ajax_Ajax_$clinit__V(){ + com_google_gwt_query_client_plugins_ajax_Ajax_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_GQuery_$clinit__V(); + com_google_gwt_query_client_GQuery_registerPlugin__Ljava_lang_Class_2Lcom_google_gwt_query_client_plugins_Plugin_2Ljava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax_12_1classLit, new com_google_gwt_query_client_plugins_ajax_Ajax$1_Ajax$1__V); +} + +function com_google_gwt_query_client_plugins_ajax_Ajax_Ajax__Lcom_google_gwt_query_client_GQuery_2V(gq){ + com_google_gwt_query_client_plugins_ajax_Ajax_$clinit__V(); + com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_GQuery_2V.call(this, gq); +} + +function com_google_gwt_query_client_plugins_ajax_Ajax_resolveSettings__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2V(settings){ + var contentType, data_0, dataString, type_0, url_0; + url_0 = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url'); + type_0 = 'POST'; + com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type') != null && (type_0 = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type').toUpperCase()); + java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('jsonp', com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataType')) && (type_0 = 'GET'); + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type', type_0); + data_0 = (!com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data') && com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data', {}) , com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data')); + if (data_0) { + if (com_google_gwt_query_client_js_JsUtils_isFormData__Lcom_google_gwt_core_client_JavaScriptObject_2Z(data_0)) { + dataString = null; + contentType = 'application/x-www-form-urlencoded'; + } + else if (java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type'), '(POST|PUT)') && java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('json', com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataType'))) { + dataString = com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(data_0); + contentType = 'application/json; charset=utf-8'; + } + else { + dataString = com_google_gwt_query_client_js_JsUtils_param__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(data_0); + contentType = 'application/x-www-form-urlencoded'; + } + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataString', dataString); + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'contentType', contentType); + } + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('GET', com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type')) && com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataString') != null) { + url_0 += (url_0.indexOf('?') != -1?'&':'?') + com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataString'); + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url', url_0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(398, 7, {}, com_google_gwt_query_client_plugins_ajax_Ajax_Ajax__Lcom_google_gwt_query_client_GQuery_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(398); +function com_google_gwt_query_client_plugins_ajax_Ajax$1_Ajax$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(399, 1, {}, com_google_gwt_query_client_plugins_ajax_Ajax$1_Ajax$1__V); +_.init__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2 = function(gq){ + return new com_google_gwt_query_client_plugins_ajax_Ajax_Ajax__Lcom_google_gwt_query_client_GQuery_2V(gq); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(399); +function com_google_gwt_query_client_plugins_ajax_Ajax$2_Ajax$2__V(val$dataType){ + this.com_google_gwt_query_client_plugins_ajax_Ajax$2_val$dataType1 = val$dataType; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(400, 6, $intern_20, com_google_gwt_query_client_plugins_ajax_Ajax$2_Ajax$2__V); +_.f___3Ljava_lang_Object_2Ljava_lang_Object_2 = function(args){ + var e, lastArg, request, response, retData; + response = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null); + request = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 1, null); + retData = response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.responseText; + if (retData != null && !java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('', retData)) { + try { + if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('xml', this.com_google_gwt_query_client_plugins_ajax_Ajax$2_val$dataType1)) { + retData = com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$parseXML__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2(response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.responseText); + } + else if (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('json', this.com_google_gwt_query_client_plugins_ajax_Ajax$2_val$dataType1)) { + retData = com_google_gwt_query_client_GQ_create__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2(response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.responseText); + } + else { + retData = response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.responseText; + java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('script', this.com_google_gwt_query_client_plugins_ajax_Ajax$2_val$dataType1) && com_google_gwt_core_client_ScriptInjector$FromString_$inject__Lcom_google_gwt_core_client_ScriptInjector$FromString_2Lcom_google_gwt_core_client_JavaScriptObject_2(com_google_gwt_core_client_ScriptInjector$FromString_$setWindow__Lcom_google_gwt_core_client_ScriptInjector$FromString_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_ScriptInjector$FromString_2((com_google_gwt_core_client_ScriptInjector_$clinit__V() , new com_google_gwt_core_client_ScriptInjector$FromString_ScriptInjector$FromString__Ljava_lang_String_2V(retData)), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_window))); + } + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + e = $e0; + com_google_gwt_core_client_GWT_uncaughtExceptionHandler?com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(com_google_gwt_core_client_GWT_uncaughtExceptionHandler, e, false):java_lang_Throwable_$printStackTrace__Ljava_lang_Throwable_2Ljava_io_PrintStream_2V((lastArg = e , lastArg)); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [retData, 'success', request, response]); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(400); +function com_google_gwt_query_client_plugins_ajax_Ajax$3_Ajax$3__V(){ + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(401, 6, $intern_20, com_google_gwt_query_client_plugins_ajax_Ajax$3_Ajax$3__V); +_.f___3Ljava_lang_Object_2Ljava_lang_Object_2 = function(args){ + var exception, msg, request; + exception = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null); + request = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 1, com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1http_1client_1Request_12_1classLit); + msg = '' + exception; + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [null, msg, request, null, exception]); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(401); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$Settings_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +function com_google_gwt_query_client_plugins_ajax_AjaxTransportJs_AjaxTransportJs__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(122, 1, {}, com_google_gwt_query_client_plugins_ajax_AjaxTransportJs_AjaxTransportJs__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1AjaxTransportJs_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(122); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, f){ + com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_resolve, f); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$fail__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, f){ + com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_reject, f); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$progress__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, f){ + com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_notify, f); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$then__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2Z_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, f){ + var newDfd; + newDfd = new com_google_gwt_query_client_plugins_deferred_Deferred_Deferred__V; + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_Deferred$DeferredPromiseImpl$ThenFunction__Lcom_google_gwt_query_client_Promise$Deferred_2_3Lcom_google_gwt_query_client_Function_2IZV(newDfd, f, 0)])); + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$fail__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_Deferred$DeferredPromiseImpl$ThenFunction__Lcom_google_gwt_query_client_Promise$Deferred_2_3Lcom_google_gwt_query_client_Function_2IZV(newDfd, f, 1)])); + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$progress__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this$static, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_Deferred$DeferredPromiseImpl$ThenFunction__Lcom_google_gwt_query_client_Promise$Deferred_2_3Lcom_google_gwt_query_client_Function_2IZV(newDfd, f, 2)])); + return !newDfd.com_google_gwt_query_client_plugins_deferred_Deferred_promise && (newDfd.com_google_gwt_query_client_plugins_deferred_Deferred_promise = new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(newDfd)) , newDfd.com_google_gwt_query_client_plugins_deferred_Deferred_promise; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__V(){ + new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_Deferred$DeferredPromiseImpl$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this); + new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_Deferred$DeferredPromiseImpl$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this); + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd = new com_google_gwt_query_client_plugins_deferred_Deferred_Deferred__V; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(o){ + new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_Deferred$DeferredPromiseImpl$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this); + new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_Deferred$DeferredPromiseImpl$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this); + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd = o; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(73, 1, $intern_22, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V); +_.always___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2 = function(f){ + return com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_resolve, f) , com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_reject, f) , this; +} +; +_.isResolved__Z = function(){ + return java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('resolved', this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_state); +} +; +_.progress___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2 = function(f){ + return com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$progress__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(this, f); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return 'Promise this=' + com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this) + ' ' + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(73); +function com_google_gwt_query_client_plugins_deferred_PromiseFunction_PromiseFunction__V(){ + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__V.call(this); + this.f__Lcom_google_gwt_query_client_Promise$Deferred_2V(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(128, 73, $intern_22); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseFunction_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(128); +function com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_AjaxTransportJs$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs_2V(val$settings){ + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_val$settings2 = val$settings; + com_google_gwt_query_client_plugins_deferred_PromiseFunction_PromiseFunction__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(478, 128, $intern_22, com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_AjaxTransportJs$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs_2V); +_.f__Lcom_google_gwt_query_client_Promise$Deferred_2V = function(dfd){ + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_scriptElement = com_google_gwt_core_client_ScriptInjector$FromUrl_$inject__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_JavaScriptObject_2(com_google_gwt_core_client_ScriptInjector$FromUrl_$setCallback__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_Callback_2Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2(com_google_gwt_core_client_ScriptInjector$FromUrl_$setWindow__Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2((com_google_gwt_core_client_ScriptInjector_$clinit__V() , new com_google_gwt_core_client_ScriptInjector$FromUrl_ScriptInjector$FromUrl__Ljava_lang_String_2V(com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_val$settings2.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url'))), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_window)), new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_AjaxTransportJs$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_2V(this, dfd))); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1AjaxTransportJs$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(478); +function com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_$onSuccess__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2Ljava_lang_Object_2V(this$static, result){ + (com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_window)).delay__I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2(0, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_AjaxTransportJs$1$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2V(this$static, this$static.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_val$dfd2)])); +} + +function com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_AjaxTransportJs$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_2V(this$1, val$dfd){ + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_this$11 = this$1; + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_val$dfd2 = val$dfd; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(479, 1, {561:1}, com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_AjaxTransportJs$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_2V); +_.onFailure__Ljava_lang_Object_2V = function(reason){ + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_val$dfd2, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [reason])); +} +; +_.onSuccess__Ljava_lang_Object_2V = function(result){ + com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_$onSuccess__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2Ljava_lang_Object_2V(this, result); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1AjaxTransportJs$1$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(479); +function com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_AjaxTransportJs$1$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2V(this$2, val$dfd){ + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_this$21 = this$2; + this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_val$dfd2 = val$dfd; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(480, 6, $intern_20, com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_AjaxTransportJs$1$1$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2V); +_.f__V = function(){ + com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_val$dfd2, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [this.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_this$21.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_this$11.com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_scriptElement])); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1AjaxTransportJs$1$1$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(480); +function com_google_gwt_query_client_plugins_ajax_Ajax_1Settings_1JsonBuilder_Ajax_1Settings_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(454, 43, $intern_21, com_google_gwt_query_client_plugins_ajax_Ajax_1Settings_1JsonBuilder_Ajax_1Settings_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax_11Settings_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(454); +function com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static, f){ + com_google_gwt_query_client_plugins_deferred_Callbacks_$addAll__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2V(this$static, f); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$addAll__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2V(this$static, o){ + var c, c$index, c$max; + for (c$index = 0 , c$max = o.length; c$index < c$max; ++c$index) { + c = o[c$index]; + !this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_done && !!this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack && !!c && (!this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_isUnique || java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack, c, 0) == -1) && java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack, c); + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_isMemory && !!this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_memory && com_google_gwt_query_client_plugins_deferred_Callbacks_$run__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Ljava_lang_Object_2_3Ljava_lang_Object_2Z(c, java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2(this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_memory)); + } +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$disable__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static){ + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack = null; + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_done = true; + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static, o){ + var c, c$iterator; + if (!this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_done) { + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_done = this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_isOnce; + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_isMemory && (this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_memory = new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(o))); + if (this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack) + for (c$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack); c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + c = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , c$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(c$iterator.java_util_AbstractList$IteratorImpl_last = c$iterator.java_util_AbstractList$IteratorImpl_i++)); + if (!com_google_gwt_query_client_plugins_deferred_Callbacks_$run__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Ljava_lang_Object_2_3Ljava_lang_Object_2Z(c, o) && this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stopOnFalse) { + break; + } + } + } + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$lock__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static){ + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_isMemory || com_google_gwt_query_client_plugins_deferred_Callbacks_$disable__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static); + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack = null; + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$run__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Ljava_lang_Object_2_3Ljava_lang_Object_2Z(c, o){ + var r; + o != null && o.length == 1 && o[0] != null && (java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(o[0]).java_lang_Class_modifiers & 4) != 0 && (o = o[0]); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(c, 6)) { + r = c.f___3Ljava_lang_Object_2Ljava_lang_Object_2(o); + return !com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(r, 59) || r.java_lang_Boolean_value; + } + else + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(c, 561) && com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_$onSuccess__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2Ljava_lang_Object_2V(c, o); + return true; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_$status__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Ljava_lang_String_2(this$static){ + return 'stack=' + (!this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack?'null':java_lang_Integer_valueOf__ILjava_lang_Integer_2(this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_stack.java_util_ArrayList_array.length)) + ' ' + this$static.com_google_gwt_query_client_plugins_deferred_Callbacks_done; +} + +function com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V(options){ + this.com_google_gwt_query_client_plugins_deferred_Callbacks_stack = new java_util_ArrayList_ArrayList__V; + this.com_google_gwt_query_client_plugins_deferred_Callbacks_isOnce = options.indexOf('once') != -1; + this.com_google_gwt_query_client_plugins_deferred_Callbacks_isMemory = options.indexOf('memory') != -1; + this.com_google_gwt_query_client_plugins_deferred_Callbacks_isUnique = options.indexOf('unique') != -1; + this.com_google_gwt_query_client_plugins_deferred_Callbacks_stopOnFalse = options.indexOf('stopOnFalse') != -1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(91, 1, {}, com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V); +_.com_google_gwt_query_client_plugins_deferred_Callbacks_done = false; +_.com_google_gwt_query_client_plugins_deferred_Callbacks_isMemory = false; +_.com_google_gwt_query_client_plugins_deferred_Callbacks_isOnce = false; +_.com_google_gwt_query_client_plugins_deferred_Callbacks_isUnique = false; +_.com_google_gwt_query_client_plugins_deferred_Callbacks_memory = null; +_.com_google_gwt_query_client_plugins_deferred_Callbacks_stopOnFalse = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Callbacks_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(91); +function com_google_gwt_query_client_plugins_deferred_Deferred_$notify__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static, o){ + return this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_notify, o) , this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_$notify__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this$static, o){ + this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_notify, o); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static, o){ + return this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_reject, o) , this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this$static, o){ + this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_reject, o); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static, o){ + return this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_resolve, o) , this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this$static, o){ + this$static.com_google_gwt_query_client_plugins_deferred_Deferred_state == 'pending' && com_google_gwt_query_client_plugins_deferred_Callbacks_$fire__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred_resolve, o); + return this$static; +} + +function com_google_gwt_query_client_plugins_deferred_Deferred_Deferred__V(){ + this.com_google_gwt_query_client_plugins_deferred_Deferred_notify = new com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V('memory'); + this.com_google_gwt_query_client_plugins_deferred_Deferred_reject = new com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V('once memory'); + this.com_google_gwt_query_client_plugins_deferred_Deferred_resolve = new com_google_gwt_query_client_plugins_deferred_Callbacks_Callbacks__Ljava_lang_String_2V('once memory'); + com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred_resolve, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$2_Deferred$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(this)])); + com_google_gwt_query_client_plugins_deferred_Callbacks_$add__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred_reject, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$3_Deferred$3__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(this)])); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(129, 1, {}, com_google_gwt_query_client_plugins_deferred_Deferred_Deferred__V); +_.toString__Ljava_lang_String_2$ = function(){ + return 'Deferred this=' + com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this) + ' promise=' + (!this.com_google_gwt_query_client_plugins_deferred_Deferred_promise && (this.com_google_gwt_query_client_plugins_deferred_Deferred_promise = new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(this)) , com_google_gwt_core_client_impl_Impl_getHashCode__Ljava_lang_Object_2I(this.com_google_gwt_query_client_plugins_deferred_Deferred_promise)) + ' state=' + this.com_google_gwt_query_client_plugins_deferred_Deferred_promise.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd.com_google_gwt_query_client_plugins_deferred_Deferred_state + ' restatus=' + com_google_gwt_query_client_plugins_deferred_Callbacks_$status__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Ljava_lang_String_2(this.com_google_gwt_query_client_plugins_deferred_Deferred_resolve); +} +; +_.com_google_gwt_query_client_plugins_deferred_Deferred_promise = null; +_.com_google_gwt_query_client_plugins_deferred_Deferred_state = 'pending'; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(129); +function com_google_gwt_query_client_plugins_deferred_Deferred$2_Deferred$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(this$0){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$2_this$01 = this$0; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(195, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$2_Deferred$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V); +_.f__V = function(){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$2_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_state = 'resolved'; + com_google_gwt_query_client_plugins_deferred_Callbacks_$disable__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$2_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_resolve); + com_google_gwt_query_client_plugins_deferred_Callbacks_$lock__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$2_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_notify); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(195); +function com_google_gwt_query_client_plugins_deferred_Deferred$3_Deferred$3__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V(this$0){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$3_this$01 = this$0; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(196, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$3_Deferred$3__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2V); +_.f__V = function(){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$3_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_state = 'rejected'; + com_google_gwt_query_client_plugins_deferred_Callbacks_$disable__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$3_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_reject); + com_google_gwt_query_client_plugins_deferred_Callbacks_$lock__Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$3_this$01.com_google_gwt_query_client_plugins_deferred_Deferred_notify); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(196); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_Deferred$DeferredPromiseImpl$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this$1){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_this$11 = this$1; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(130, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_Deferred$DeferredPromiseImpl$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V); +_.f__V = function(){ + com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_this$11.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, this.com_google_gwt_query_client_Function_arguments); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(130); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_Deferred$DeferredPromiseImpl$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V(this$1){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_this$11 = this$1; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(131, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_Deferred$DeferredPromiseImpl$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2V); +_.f__V = function(){ + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_this$11.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, this.com_google_gwt_query_client_Function_arguments); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(131); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_$settle__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2I_3Ljava_lang_Object_2V(this$static, action, args){ + action == 0 && com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_dfd, args); + action == 1 && com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_dfd, args); + action == 2 && com_google_gwt_query_client_plugins_deferred_Deferred_$notify__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_dfd, args); +} + +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_Deferred$DeferredPromiseImpl$ThenFunction__Lcom_google_gwt_query_client_Promise$Deferred_2_3Lcom_google_gwt_query_client_Function_2IZV(newDfd, subordinates, funcType){ + com_google_gwt_query_client_Function_Function__V.call(this); + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_cont = false; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type = funcType; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_filter = subordinates.length > this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type?subordinates[this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type]:null; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_dfd = newDfd; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_cont = false; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(95, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_Deferred$DeferredPromiseImpl$ThenFunction__Lcom_google_gwt_query_client_Promise$Deferred_2_3Lcom_google_gwt_query_client_Function_2IZV); +_.f__V = function(){ + var newArgs, oldArgs, p; + oldArgs = this.com_google_gwt_query_client_Function_arguments; + if (this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_filter) { + newArgs = com_google_gwt_query_client_Function_$setArguments__Lcom_google_gwt_query_client_Function_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_filter, oldArgs).f___3Ljava_lang_Object_2Ljava_lang_Object_2(oldArgs); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(newArgs, 84)) { + p = newArgs; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type == 2?p.progress___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_Deferred$DeferredPromiseImpl$ThenFunction$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V(this)])):p.always___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_Deferred$DeferredPromiseImpl$ThenFunction$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V(this, p)])); + } + else { + newArgs = java_lang_Boolean_$equals__Ljava_lang_Boolean_2Ljava_lang_Object_2Z((java_lang_Boolean_$clinit__V() , java_lang_Boolean_TRUE), newArgs)?oldArgs:newArgs != null && (java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(newArgs).java_lang_Class_modifiers & 4) != 0?newArgs:newArgs; + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_$settle__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2I_3Ljava_lang_Object_2V(this, this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [newArgs])); + } + } + else { + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_$settle__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2I_3Ljava_lang_Object_2V(this, this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type, oldArgs); + } +} +; +_.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_cont = false; +_.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl$ThenFunction_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(95); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_Deferred$DeferredPromiseImpl$ThenFunction$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V(this$2){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_this$21 = this$2; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(193, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_Deferred$DeferredPromiseImpl$ThenFunction$1__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V); +_.f__V = function(){ + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_$settle__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2I_3Ljava_lang_Object_2V(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_this$21, 2, this.com_google_gwt_query_client_Function_arguments); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl$ThenFunction$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(193); +function com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_Deferred$DeferredPromiseImpl$ThenFunction$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V(this$2, val$p){ + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_this$21 = this$2; + this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_val$p2 = val$p; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(194, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_Deferred$DeferredPromiseImpl$ThenFunction$2__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2V); +_.f__V = function(){ + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_$settle__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2I_3Ljava_lang_Object_2V(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_this$21, (this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_this$21.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type == 0 || this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_this$21.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_type == 1 && this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_this$21.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_cont) && this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_val$p2.isResolved__Z()?0:1, this.com_google_gwt_query_client_Function_arguments); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1Deferred$DeferredPromiseImpl$ThenFunction$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(194); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$createRequestVltr__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_xhr_client_XMLHttpRequest_2ILcom_google_gwt_http_client_RequestCallback_2Lcom_google_gwt_http_client_Request_2(rq, ms, cb){ + return new com_google_gwt_http_client_Request_Request__Lcom_google_gwt_xhr_client_XMLHttpRequest_2ILcom_google_gwt_http_client_RequestCallback_2V(rq, ms, cb); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$fireOnResponseReceivedVltr__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(rq, cb){ + rq.package_private$com_google_gwt_http_client_Request$fireOnResponseReceived__Lcom_google_gwt_http_client_RequestCallback_2V(cb); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$onError__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Ljava_lang_Throwable_2V(this$static, request, exception){ + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [exception, request])); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$onResponseReceived__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_Response_2V(this$static, request, response){ + var status_0, statusText, com_google_gwt_xhr_client_XMLHttpRequest_$getStatus__Lcom_google_gwt_xhr_client_XMLHttpRequest_2I_status_0; + status_0 = response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.status; + if (status_0 <= 0 || status_0 >= 400) { + statusText = status_0 <= 0?'Bad CORS':response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.statusText; + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$onError__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Ljava_lang_Throwable_2V(this$static, request, new com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V('HTTP ERROR: ' + status_0 + ' ' + statusText + '\n' + response.com_google_gwt_http_client_ResponseImpl_xmlHttpRequest.responseText)); + } + else { + com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this$static.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [response, request])); + } +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_PromiseReqBuilder__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2V(settings){ + var ctype, data_0, e, headerKey, headerKey$array, headerKey$index, headerKey$max, headers, httpMethod, isFormData, request, requestPermissionException, upload, url_0, xmlHttpRequest; + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__V.call(this); + httpMethod = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type'); + url_0 = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url'); + data_0 = (!com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data') && com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data', {}) , com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data')); + ctype = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'contentType'); + isFormData = (java_lang_Boolean_$clinit__V() , !!data_0 && com_google_gwt_query_client_js_JsUtils_isFormData__Lcom_google_gwt_core_client_JavaScriptObject_2Z(data_0)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE); + xmlHttpRequest = new $wnd.XMLHttpRequest; + try { + com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'username') != null && com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'password') != null?com_google_gwt_xhr_client_XMLHttpRequest_$open__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2V(xmlHttpRequest, httpMethod, url_0, com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'username'), com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'password')):com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'username') != null?com_google_gwt_xhr_client_XMLHttpRequest_$open__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2V(xmlHttpRequest, httpMethod, url_0, com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'username')):(xmlHttpRequest.open(httpMethod, url_0, true) , undefined); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 56)) { + e = $e0; + requestPermissionException = new com_google_gwt_http_client_RequestPermissionException_RequestPermissionException__Ljava_lang_String_2V(url_0); + java_lang_Throwable_$initCause__Ljava_lang_Throwable_2Ljava_lang_Throwable_2Ljava_lang_Throwable_2(requestPermissionException, new com_google_gwt_http_client_RequestException_RequestException__Ljava_lang_String_2V(e.getMessage__Ljava_lang_String_2())); + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [e, null])); + return; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2V(xmlHttpRequest, 'onprogress', com_google_gwt_query_client_js_JsUtils_wrapFunction__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_core_client_JavaScriptObject_2(new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_PromiseReqBuilder$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this))); + upload = !xmlHttpRequest?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(xmlHttpRequest, 'upload'); + com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2V(upload, 'onprogress', com_google_gwt_query_client_js_JsUtils_wrapFunction__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_core_client_JavaScriptObject_2(new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_PromiseReqBuilder$2__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this))); + headers = (!com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'headers') && com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'headers', {}) , com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'headers')); + if (headers) { + for (headerKey$array = com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(headers) , headerKey$index = 0 , headerKey$max = headerKey$array.length; headerKey$index < headerKey$max; ++headerKey$index) { + headerKey = headerKey$array[headerKey$index]; + com_google_gwt_xhr_client_XMLHttpRequest_$setRequestHeader__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2V(xmlHttpRequest, headerKey, '' + com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(headers, '' + headerKey)); + } + } + !!data_0 && !isFormData.java_lang_Boolean_value && !java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('GET', httpMethod) && com_google_gwt_xhr_client_XMLHttpRequest_$setRequestHeader__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2V(xmlHttpRequest, 'Content-Type', ctype); + com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2V(xmlHttpRequest, 'withCredentials', com_google_gwt_query_client_js_JsCache_$getBoolean__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Z(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE); + request = com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$createRequestVltr__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_xhr_client_XMLHttpRequest_2ILcom_google_gwt_http_client_RequestCallback_2Lcom_google_gwt_http_client_Request_2(xmlHttpRequest, com_google_gwt_lang_Cast_round_1int__DI(com_google_gwt_query_client_Properties_$getFloat__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2F(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'timeout')), this); + com_google_gwt_xhr_client_XMLHttpRequest_$setOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Lcom_google_gwt_xhr_client_ReadyStateChangeHandler_2V(xmlHttpRequest, new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_PromiseReqBuilder$3__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this, request)); + try { + com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(xmlHttpRequest, 'send', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [isFormData.java_lang_Boolean_value?data_0:com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(settings.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataString')])); + } + catch ($e1) { + $e1 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e1, 56)) { + e = $e1; + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [e, null])); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(498, 73, $intern_22, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_PromiseReqBuilder__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(498); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_PromiseReqBuilder$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this$0){ + this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_this$01 = this$0; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(499, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_PromiseReqBuilder$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V); +_.f__V = function(){ + var loaded, p, percent, total; + p = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null); + total = com_google_gwt_query_client_js_JsCache_$getDouble__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2D(p, 'total'); + loaded = com_google_gwt_query_client_js_JsCache_$getDouble__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2D(p, 'loaded'); + percent = loaded == 0?0:total == 0?100:100 * loaded / total; + com_google_gwt_query_client_plugins_deferred_Deferred_$notify__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_this$01.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [new java_lang_Double_Double__DV(total), new java_lang_Double_Double__DV(loaded), new java_lang_Double_Double__DV(percent), 'download'])); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilder$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(499); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_PromiseReqBuilder$2__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this$0){ + this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_this$01 = this$0; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(500, 6, $intern_20, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_PromiseReqBuilder$2__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V); +_.f__V = function(){ + var loaded, p, percent, total; + p = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null); + total = com_google_gwt_query_client_js_JsCache_$getDouble__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2D(p, 'total'); + loaded = com_google_gwt_query_client_js_JsCache_$getDouble__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2D(p, 'loaded'); + percent = 100 * loaded / total; + com_google_gwt_query_client_plugins_deferred_Deferred_$notify__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_this$01.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [new java_lang_Double_Double__DV(total), new java_lang_Double_Double__DV(loaded), new java_lang_Double_Double__DV(percent), 'upload'])); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilder$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(500); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_PromiseReqBuilder$3__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V(this$0, val$request){ + this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_this$01 = this$0; + this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_val$request2 = val$request; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(501, 1, {}, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_PromiseReqBuilder$3__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2V); +_.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V = function(xhr){ + if (xhr.readyState == 4) { + com_google_gwt_xhr_client_XMLHttpRequest_$clearOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(xhr); + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_$fireOnResponseReceivedVltr__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2Lcom_google_gwt_http_client_Request_2Lcom_google_gwt_http_client_RequestCallback_2V(this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_val$request2, this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_this$01); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilder$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(501); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_$clinit__V(){ + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_callbackRegex = new RegExp('^(.+[\\?&])([^=]+)=\\?(.*)$'); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_$send__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2Lcom_google_gwt_jsonp_client_JsonpRequestBuilder_2Ljava_lang_String_2Lcom_google_gwt_user_client_rpc_AsyncCallback_2V(bld, url_0, cb){ + bld.private$com_google_gwt_jsonp_client_JsonpRequestBuilder$send__Ljava_lang_String_2Lcom_google_gwt_user_client_rpc_AsyncCallback_2ZLcom_google_gwt_jsonp_client_JsonpRequest_2(url_0, cb, false); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_PromiseReqBuilderJSONP__Ljava_lang_String_2IV(url_0, timeout){ + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_$clinit__V(); + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_PromiseReqBuilderJSONP__Ljava_lang_String_2Ljava_lang_String_2IV.call(this, url_0, null, timeout); +} + +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_PromiseReqBuilderJSONP__Ljava_lang_String_2Ljava_lang_String_2IV(url_0, callbackParam, timeout){ + var builder, tmp; + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_Deferred$DeferredPromiseImpl__V.call(this); + builder = new com_google_gwt_jsonp_client_JsonpRequestBuilder_JsonpRequestBuilder__V; + timeout > 0 && (builder.com_google_gwt_jsonp_client_JsonpRequestBuilder_timeout = timeout); + if (callbackParam == null) { + tmp = com_google_gwt_regexp_shared_RegExp_$exec__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Lcom_google_gwt_regexp_shared_MatchResult_2(com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_callbackRegex, url_0); + if (!!tmp && tmp.length == 4) { + callbackParam = tmp[2]; + url_0 = tmp[1] + tmp[3]; + } + } + callbackParam != null && (builder.com_google_gwt_jsonp_client_JsonpRequestBuilder_callbackParam = callbackParam); + com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_$send__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2Lcom_google_gwt_jsonp_client_JsonpRequestBuilder_2Ljava_lang_String_2Lcom_google_gwt_user_client_rpc_AsyncCallback_2V(builder, url_0, new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_PromiseReqBuilderJSONP$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2V(this)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(171, 73, $intern_22, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_PromiseReqBuilderJSONP__Ljava_lang_String_2IV); +var com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_callbackRegex; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilderJSONP_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(171); +function com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_PromiseReqBuilderJSONP$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2V(this$0){ + this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(497, 1, {}, com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_PromiseReqBuilderJSONP$1__Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2V); +_.onFailure__Ljava_lang_Throwable_2V = function(caught){ + com_google_gwt_query_client_plugins_deferred_Deferred_$reject__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_this$01.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [caught])); +} +; +_.onSuccess__Ljava_lang_Object_2V = function(result){ + com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_plugins_deferred_Deferred_2(this.com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_this$01.com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [result])); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1deferred_1PromiseReqBuilderJSONP$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(497); +function com_google_gwt_query_client_plugins_events_EventsListener_$clinit__V(){ + com_google_gwt_query_client_plugins_events_EventsListener_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_query_client_plugins_events_EventsListener_special = new java_util_HashMap_HashMap__V; + com_google_gwt_query_client_plugins_events_EventsListener_special.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_plugins_events_EventsListener_MOUSEENTER, new com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_EventsListener$MouseSpecialEvent__Ljava_lang_String_2Ljava_lang_String_2V); + com_google_gwt_query_client_plugins_events_EventsListener_special.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_plugins_events_EventsListener_MOUSELEAVE, new com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_EventsListener$MouseSpecialEvent__Ljava_lang_String_2Ljava_lang_String_2V); +} + +function com_google_gwt_query_client_plugins_events_EventsListener_getGQueryEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_plugins_events_EventsListener_2(elem){ + com_google_gwt_query_client_plugins_events_EventsListener_$clinit__V(); + return elem.__gqueryevent; +} + +var com_google_gwt_query_client_plugins_events_EventsListener_MOUSEENTER = 'mouseenter', com_google_gwt_query_client_plugins_events_EventsListener_MOUSELEAVE = 'mouseleave', com_google_gwt_query_client_plugins_events_EventsListener_special; +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(431, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1events_1SpecialEvent$DefaultSpecialEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(431); +function com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_EventsListener$MouseSpecialEvent__Ljava_lang_String_2Ljava_lang_String_2V(){ + new com_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent$1_SpecialEvent$DefaultSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2V; + new com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent$1_EventsListener$MouseSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_2V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(155, 431, {}, com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_EventsListener$MouseSpecialEvent__Ljava_lang_String_2Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1events_1EventsListener$MouseSpecialEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(155); +function com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent$1_EventsListener$MouseSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_2V(){ + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(432, 6, $intern_20, com_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent$1_EventsListener$MouseSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1events_1EventsListener$MouseSpecialEvent$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(432); +function com_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent$1_SpecialEvent$DefaultSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2V(){ + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(433, 6, $intern_20, com_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent$1_SpecialEvent$DefaultSpecialEvent$1__Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1events_1SpecialEvent$DefaultSpecialEvent$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(433); +function com_google_gwt_user_client_ui_UIObject_$addStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this$static, style){ + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.getStyleElement__Lcom_google_gwt_user_client_Element_2(), style, true); +} + +function com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static){ + return com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element; +} + +function com_google_gwt_user_client_ui_UIObject_$removeStyleDependentName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this$static, styleSuffix){ + com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2((com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , com_google_gwt_user_client_ui_PopupPanel_impl).getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element)))) + '-' + styleSuffix, false); +} + +function com_google_gwt_user_client_ui_UIObject_$removeStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this$static, style){ + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.getStyleElement__Lcom_google_gwt_user_client_Element_2(), style, false); +} + +function com_google_gwt_user_client_ui_UIObject_$resolvePotentialElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_dom_client_Element_2(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} + +function com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this$static, elem){ + this$static.com_google_gwt_user_client_ui_UIObject_element = elem; +} + +function com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, style, add_0){ + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV((com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , com_google_gwt_user_client_ui_PopupPanel_impl).getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element))), style, add_0); +} + +function com_google_gwt_user_client_ui_UIObject_$sinkBitlessEvent__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this$static, eventTypeName){ + com_google_gwt_user_client_DOM_sinkBitlessEvent__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), eventTypeName); +} + +function com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(elem){ + var fullClassName, spaceIdx; + fullClassName = com_google_gwt_dom_client_Element_$getClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(elem); + spaceIdx = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2I(fullClassName, java_lang_String_fromCodePoint__ILjava_lang_String_2(32)); + if (spaceIdx >= 0) { + return fullClassName.substr(0, spaceIdx); + } + return fullClassName; +} + +function com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(elem, style, add_0){ + if (!elem) { + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.'); + } + style = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(style); + if (style.length == 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Style names cannot be empty'); + } + add_0?com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(elem, style):com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(elem, style); +} + +function com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, style){ + if (!elem) { + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.'); + } + style = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(style); + if (style.length == 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Style names cannot be empty'); + } + com_google_gwt_user_client_ui_UIObject_updatePrimaryAndDependentStyleNames__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, style); +} + +function com_google_gwt_user_client_ui_UIObject_updatePrimaryAndDependentStyleNames__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, newPrimaryStyle){ + var classes = (elem.className || '').split(/\s+/); + if (!classes) { + return; + } + var oldPrimaryStyle = classes[0]; + var oldPrimaryStyleLen = oldPrimaryStyle.length; + classes[0] = newPrimaryStyle; + for (var i = 1, n = classes.length; i < n; i++) { + var name_0 = classes[i]; + name_0.length > oldPrimaryStyleLen && name_0.charAt(oldPrimaryStyleLen) == '-' && name_0.indexOf(oldPrimaryStyle) == 0 && (classes[i] = newPrimaryStyle + name_0.substring(oldPrimaryStyleLen)); + } + elem.className = classes.join(' '); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(20, 1, {24:1, 20:1}); +_.getStyleElement__Lcom_google_gwt_user_client_Element_2 = function(){ + return com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element; +} +; +_.resolvePotentialElement__Lcom_google_gwt_dom_client_Element_2 = function(){ + return com_google_gwt_user_client_ui_UIObject_$resolvePotentialElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_dom_client_Element_2(); +} +; +_.setHeight__Ljava_lang_String_2V = function(height){ + (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element).style['height'] = height; +} +; +_.setWidth__Ljava_lang_String_2V = function(width_0){ + (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element).style['width'] = width_0; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + if (!this.com_google_gwt_user_client_ui_UIObject_element) { + return '(null handle)'; + } + return com_google_gwt_dom_client_Element_$getString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1UIObject_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(20); +function com_google_gwt_user_client_ui_Widget_$addDomHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_dom_client_DomEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, type_0){ + var typeInt; + typeInt = com_google_gwt_user_client_Event_getTypeInt__Ljava_lang_String_2I(type_0.com_google_gwt_event_dom_client_DomEvent$Type_name); + typeInt == -1?com_google_gwt_user_client_ui_UIObject_$sinkBitlessEvent__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this$static, type_0.com_google_gwt_event_dom_client_DomEvent$Type_name):this$static.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_Event_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem, typeInt | (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$getEventsSunk__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem))):this$static.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), typeInt | (this$static.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this$static.com_google_gwt_user_client_ui_Widget_eventsToSink |= typeInt); + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(!this$static.com_google_gwt_user_client_ui_Widget_handlerManager?(this$static.com_google_gwt_user_client_ui_Widget_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)):this$static.com_google_gwt_user_client_ui_Widget_handlerManager, type_0, handler); +} + +function com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, type_0){ + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(!this$static.com_google_gwt_user_client_ui_Widget_handlerManager?(this$static.com_google_gwt_user_client_ui_Widget_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)):this$static.com_google_gwt_user_client_ui_Widget_handlerManager, type_0, handler); +} + +function com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static, event_0){ + !!this$static.com_google_gwt_user_client_ui_Widget_handlerManager && com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_google_gwt_user_client_ui_Widget_handlerManager, event_0); +} + +function com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this$static){ + var bitsToAdd; + if (this$static.isAttached__Z()) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V("Should only call onAttach when the widget is detached from the browser's document"); + } + this$static.com_google_gwt_user_client_ui_Widget_attached = true; + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_google_gwt_user_client_ui_UIObject_element, this$static); + bitsToAdd = this$static.com_google_gwt_user_client_ui_Widget_eventsToSink; + this$static.com_google_gwt_user_client_ui_Widget_eventsToSink = -1; + bitsToAdd > 0 && this$static.sinkEvents__IV(bitsToAdd); + this$static.doAttachChildren__V(); + this$static.onLoad__V(); + com_google_gwt_event_logical_shared_AttachEvent_fire__Lcom_google_gwt_event_logical_shared_HasAttachHandlers_2ZV(this$static); +} + +function com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this$static, event_0){ + var related; + switch (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type)) { + case 16: + case 32: + related = com_google_gwt_dom_client_DOMImpl_impl.eventGetRelatedTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0); + if (!!related && com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_google_gwt_user_client_ui_UIObject_element, related)) { + return; + } + + } + com_google_gwt_event_dom_client_DomEvent_fireNativeEvent__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_event_shared_HasHandlers_2Lcom_google_gwt_dom_client_Element_2V(event_0, this$static, this$static.com_google_gwt_user_client_ui_UIObject_element); +} + +function com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this$static){ + if (!this$static.isAttached__Z()) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V("Should only call onDetach when the widget is attached to the browser's document"); + } + try { + this$static.onUnload__V(); + com_google_gwt_event_logical_shared_AttachEvent_fire__Lcom_google_gwt_event_logical_shared_HasAttachHandlers_2ZV(this$static); + } + finally { + try { + this$static.doDetachChildren__V(); + } + finally { + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_google_gwt_user_client_ui_UIObject_element, null); + this$static.com_google_gwt_user_client_ui_Widget_attached = false; + } + } +} + +function com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(this$static){ + if (!this$static.com_google_gwt_user_client_ui_Widget_parent) { + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, this$static) && com_google_gwt_user_client_ui_RootPanel_detachNow__Lcom_google_gwt_user_client_ui_Widget_2V(this$static); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_google_gwt_user_client_ui_Widget_parent, 37)) { + this$static.com_google_gwt_user_client_ui_Widget_parent.remove__Lcom_google_gwt_user_client_ui_Widget_2Z(this$static); + } + else if (this$static.com_google_gwt_user_client_ui_Widget_parent) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V("This widget's parent does not implement HasWidgets"); + } +} + +function com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, parent_0){ + var oldParent; + oldParent = this$static.com_google_gwt_user_client_ui_Widget_parent; + if (!parent_0) { + try { + !!oldParent && oldParent.isAttached__Z() && this$static.onDetach__V(); + } + finally { + this$static.com_google_gwt_user_client_ui_Widget_parent = null; + } + } + else { + if (oldParent) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Cannot set a new parent without first clearing the old parent'); + } + this$static.com_google_gwt_user_client_ui_Widget_parent = parent_0; + parent_0.isAttached__Z() && this$static.onAttach__V(); + } +} + +function com_google_gwt_user_client_ui_Widget_$sinkEvents__Lcom_google_gwt_user_client_ui_Widget_2IV(this$static, eventBitsToAdd){ + this$static.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), eventBitsToAdd | (this$static.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this$static.com_google_gwt_user_client_ui_Widget_eventsToSink |= eventBitsToAdd); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(17, 20, $intern_23); +_.asWidget__Lcom_google_gwt_user_client_ui_Widget_2 = function(){ + return this; +} +; +_.doAttachChildren__V = function(){ +} +; +_.doDetachChildren__V = function(){ +} +; +_.fireEvent__Lcom_google_gwt_event_shared_GwtEvent_2V = function(event_0){ + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this, event_0); +} +; +_.isAttached__Z = function(){ + return this.com_google_gwt_user_client_ui_Widget_attached; +} +; +_.onAttach__V = function(){ + com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this); +} +; +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this, event_0); +} +; +_.onDetach__V = function(){ + com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this); +} +; +_.onLoad__V = function(){ +} +; +_.onUnload__V = function(){ +} +; +_.package_private$com_google_gwt_user_client_ui_Widget$setParent__Lcom_google_gwt_user_client_ui_Widget_2V = function(parent_0){ + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(this, parent_0); +} +; +_.sinkEvents__IV = function(eventBitsToAdd){ + com_google_gwt_user_client_ui_Widget_$sinkEvents__Lcom_google_gwt_user_client_ui_Widget_2IV(this, eventBitsToAdd); +} +; +_.com_google_gwt_user_client_ui_Widget_attached = false; +_.com_google_gwt_user_client_ui_Widget_eventsToSink = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Widget_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(17); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(35, 17, $intern_24); +_.add__Lcom_google_gwt_user_client_ui_Widget_2V = function(child){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('This panel does not support no-arg add()'); +} +; +_.doAttachChildren__V = function(){ + com_google_gwt_user_client_ui_AttachDetachException_tryCommand__Ljava_lang_Iterable_2Lcom_google_gwt_user_client_ui_AttachDetachException$Command_2V(this, (com_google_gwt_user_client_ui_AttachDetachException_$clinit__V() , com_google_gwt_user_client_ui_AttachDetachException_attachCommand)); +} +; +_.doDetachChildren__V = function(){ + com_google_gwt_user_client_ui_AttachDetachException_tryCommand__Ljava_lang_Iterable_2Lcom_google_gwt_user_client_ui_AttachDetachException$Command_2V(this, (com_google_gwt_user_client_ui_AttachDetachException_$clinit__V() , com_google_gwt_user_client_ui_AttachDetachException_detachCommand)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Panel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(35); +function com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(this$static, child, container){ + com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(child); + com_google_gwt_user_client_ui_WidgetCollection_$add__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_ComplexPanel_children, child); + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(container, com_google_gwt_user_client_DOM_resolve__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(child.com_google_gwt_user_client_ui_UIObject_element)); + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(child, this$static); +} + +function com_google_gwt_user_client_ui_ComplexPanel_$remove__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static, w){ + var elem; + if (w.com_google_gwt_user_client_ui_Widget_parent != this$static) { + return false; + } + try { + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, null); + } + finally { + elem = (com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element); + com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2((null , com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , elem))), elem); + com_google_gwt_user_client_ui_WidgetCollection_$remove__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_ComplexPanel_children, w); + } + return true; +} + +function com_google_gwt_user_client_ui_ComplexPanel_ComplexPanel__V(){ + this.com_google_gwt_user_client_ui_ComplexPanel_children = new com_google_gwt_user_client_ui_WidgetCollection_WidgetCollection__Lcom_google_gwt_user_client_ui_HasWidgets_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(154, 35, $intern_24); +_.getChildren__Lcom_google_gwt_user_client_ui_WidgetCollection_2 = function(){ + return this.com_google_gwt_user_client_ui_ComplexPanel_children; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_WidgetCollection$WidgetIterator__Lcom_google_gwt_user_client_ui_WidgetCollection_2V(this.com_google_gwt_user_client_ui_ComplexPanel_children); +} +; +_.remove__Lcom_google_gwt_user_client_ui_Widget_2Z = function(w){ + return com_google_gwt_user_client_ui_ComplexPanel_$remove__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this, w); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ComplexPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(154); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(72, 154, $intern_25); +_.add__Lcom_google_gwt_user_client_ui_Widget_2V = function(widget){ + com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(this, widget, (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1HTMLPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(72); +function com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_$adoptSubWidgets__Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2Lcom_google_gwt_dom_client_Element_2V(this$static, root){ + var child, child$array, child$index, child$max, children, w; + children = com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(root))); + for (child$array = children.com_google_gwt_query_client_GQuery_elements , child$index = 0 , child$max = child$array.length; child$index < child$max; ++child$index) { + child = child$array[child$index]; + w = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(child), 0); + w?com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_$doAdopt__Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w):com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_$adoptSubWidgets__Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2Lcom_google_gwt_dom_client_Element_2V(this$static, child); + } +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_$doAdopt__Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + var mustBePhysicallyReattach, parent_0; + parent_0 = w.com_google_gwt_user_client_ui_Widget_parent; + mustBePhysicallyReattach = false; + if (!parent_0) { + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, w) && com_google_gwt_user_client_ui_RootPanel_detachNow__Lcom_google_gwt_user_client_ui_Widget_2V(w); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(parent_0, 72)) { + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_doLogicalDetachFromHtmlPanel__Lcom_google_gwt_user_client_ui_Widget_2V(w); + } + else { + com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(w); + mustBePhysicallyReattach = true; + } + com_google_gwt_user_client_ui_WidgetCollection_$add__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_ComplexPanel_children, w); + mustBePhysicallyReattach && (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_google_gwt_user_client_ui_UIObject_element, com_google_gwt_user_client_DOM_resolve__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(w.com_google_gwt_user_client_ui_UIObject_element))); + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, this$static); +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_WidgetsHtmlPanel__Lcom_google_gwt_dom_client_Element_2V(e){ + var n, p, w; + com_google_gwt_user_client_ui_ComplexPanel_ComplexPanel__V.call(this); + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc))); + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, ''); + if (e) { + w = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), 0); + if (!w) { + this.com_google_gwt_user_client_ui_UIObject_element = e; + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_attachWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(this, null); + } + else { + p = w.com_google_gwt_user_client_ui_Widget_parent; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(p, 35)) { + com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(this, w, this.com_google_gwt_user_client_ui_UIObject_element); + p.add__Lcom_google_gwt_user_client_ui_Widget_2V(this); + } + else { + n = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e)); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(n, this.com_google_gwt_user_client_ui_UIObject_element); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, e); + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_attachWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(this, null); + } + } + } + com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_$adoptSubWidgets__Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2Lcom_google_gwt_dom_client_Element_2V(this, this.com_google_gwt_user_client_ui_UIObject_element); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(475, 72, $intern_25, com_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_WidgetsHtmlPanel__Lcom_google_gwt_dom_client_Element_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1widgets_1WidgetsHtmlPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(475); +function com_google_gwt_query_client_plugins_widgets_WidgetsUtils_attachWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(widget, firstParentWidget){ + var h, p; + if (!!widget && !widget.com_google_gwt_user_client_ui_Widget_parent) { + if (!firstParentWidget) { + firstParentWidget = com_google_gwt_query_client_plugins_widgets_WidgetsUtils_getFirstParentWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2(widget); + if (!firstParentWidget) { + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, widget); + widget.onAttach__V(); + } + else { + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_attachWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(widget, firstParentWidget); + } + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(firstParentWidget, 72)) { + h = firstParentWidget; + p = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , widget.com_google_gwt_user_client_ui_UIObject_element)); + p?com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(h, widget, p):com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(h, widget, h.com_google_gwt_user_client_ui_UIObject_element); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(firstParentWidget, 85)) { + firstParentWidget.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(widget); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(firstParentWidget, 37)) { + try { + firstParentWidget.add__Lcom_google_gwt_user_client_ui_Widget_2V(widget); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 25)) { + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_widgetSetParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(widget, firstParentWidget); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + else { + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_widgetSetParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(widget, firstParentWidget); + } + } +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsUtils_doLogicalDetachFromHtmlPanel__Lcom_google_gwt_user_client_ui_Widget_2V(w){ + var parent_0; + parent_0 = w.com_google_gwt_user_client_ui_Widget_parent; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(parent_0, 72)) { + com_google_gwt_user_client_ui_WidgetCollection_$remove__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(parent_0.getChildren__Lcom_google_gwt_user_client_ui_WidgetCollection_2(), w); + com_google_gwt_query_client_plugins_widgets_WidgetsUtils_widgetSetParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, null); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('You can only use this method to detach a child from an HTMLPanel'); + } +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsUtils_getFirstParentWidget__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2(w){ + var body_0, e, p; + e = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element)); + body_0 = $doc.body; + while (!!e && body_0 != e) { + if (com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(e)) { + p = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), 0); + if (p) { + return p; + } + } + e = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e)); + } + return null; +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsUtils_matchesTags__Lcom_google_gwt_dom_client_Element_2_3Ljava_lang_String_2Z(e, tagNames){ + var i, regExp, tagNameLenght; + regExp = new java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V('^('); + tagNameLenght = tagNames != null?tagNames.length:0; + for (i = 0; i < tagNameLenght; i++) { + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(regExp, tagNames[i].toUpperCase()); + i < tagNameLenght - 1 && (regExp.java_lang_AbstractStringBuilder_string += '|' , regExp); + } + regExp.java_lang_AbstractStringBuilder_string += ')$'; + return java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e).tagName.toUpperCase(), regExp.java_lang_AbstractStringBuilder_string); +} + +function com_google_gwt_query_client_plugins_widgets_WidgetsUtils_widgetSetParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, p){ + w.package_private$com_google_gwt_user_client_ui_Widget$setParent__Lcom_google_gwt_user_client_ui_Widget_2V(p); +} + +function com_google_gwt_regexp_shared_RegExp_$exec__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Lcom_google_gwt_regexp_shared_MatchResult_2(this$static, input_0){ + return this$static.exec(input_0); +} + +function com_google_gwt_regexp_shared_RegExp_$replace__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this$static, input_0, replacement){ + return input_0.replace(this$static, replacement); +} + +function com_google_gwt_regexp_shared_RegExp_$test__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Z(this$static, input_0){ + return this$static.test(input_0); +} + +function com_google_gwt_user_client_DOM_$clinit__V(){ + com_google_gwt_user_client_DOM_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_DOM_impl = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1impl_1DOMImpl__Ljava_lang_Object_2(); +} + +function com_google_gwt_user_client_DOM_createElement__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(tagName){ + com_google_gwt_user_client_DOM_$clinit__V(); + return com_google_gwt_dom_client_Document_$createElement__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2Lcom_google_gwt_dom_client_Element_2($doc, tagName); +} + +function com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2Z(evt, elem){ + com_google_gwt_user_client_DOM_$clinit__V(); + var eventListener; + eventListener = com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(elem); + if (!eventListener) { + return false; + } + com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(evt, elem, eventListener); + return true; +} + +function com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(evt, elem, listener){ + com_google_gwt_user_client_DOM_$clinit__V(); + var prevCurrentEvent; + prevCurrentEvent = com_google_gwt_user_client_DOM_currentEvent; + com_google_gwt_user_client_DOM_currentEvent = evt; + elem == com_google_gwt_user_client_DOM_sCaptureElem && com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , evt).type) == 8192 && (com_google_gwt_user_client_DOM_sCaptureElem = null); + listener.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(evt); + com_google_gwt_user_client_DOM_currentEvent = prevCurrentEvent; +} + +function com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(elem){ + com_google_gwt_user_client_DOM_$clinit__V(); + return com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , elem)); +} + +function com_google_gwt_user_client_DOM_isPotential__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o){ + com_google_gwt_user_client_DOM_$clinit__V(); + try { + return !!o && !!o.__gwt_resolve; + } + catch (e) { + return false; + } +} + +function com_google_gwt_user_client_DOM_previewEvent__Lcom_google_gwt_user_client_Event_2Z(evt){ + com_google_gwt_user_client_DOM_$clinit__V(); + var ret; + ret = com_google_gwt_user_client_Event$NativePreviewEvent_fire__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_dom_client_NativeEvent_2Z(com_google_gwt_user_client_Event_handlers, evt); + if (!ret && !!evt) { + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , evt)); + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(evt); + } + return ret; +} + +function com_google_gwt_user_client_DOM_releaseCapture__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_user_client_DOM_$clinit__V(); + !!com_google_gwt_user_client_DOM_sCaptureElem && elem == com_google_gwt_user_client_DOM_sCaptureElem && (com_google_gwt_user_client_DOM_sCaptureElem = null); + com_google_gwt_user_client_impl_DOMImplStandard_$releaseCapture__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_user_client_DOM_impl, elem); +} + +function com_google_gwt_user_client_DOM_resolve__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(maybePotential){ + com_google_gwt_user_client_DOM_$clinit__V(); + return maybePotential.__gwt_resolve?maybePotential.__gwt_resolve():maybePotential; +} + +function com_google_gwt_user_client_DOM_setCapture__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_DOM_sCaptureElem = elem; + com_google_gwt_user_client_impl_DOMImplStandard_$setCapture__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_user_client_DOM_impl, elem); +} + +function com_google_gwt_user_client_DOM_sinkBitlessEvent__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, eventTypeName){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEvent__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_DOM_impl, elem, eventTypeName); +} + +function com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(elem, eventBits){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_DOM_impl.sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(elem, eventBits); +} + +var com_google_gwt_user_client_DOM_currentEvent = null, com_google_gwt_user_client_DOM_impl, com_google_gwt_user_client_DOM_sCaptureElem; +function com_google_gwt_user_client_DocumentModeAsserter_$onModuleLoad__Lcom_google_gwt_user_client_DocumentModeAsserter_2V(){ + var allowedModes, currentMode, i; + currentMode = $doc.compatMode; + allowedModes = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['CSS1Compat']); + for (i = 0; i < allowedModes.length; i++) { + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(allowedModes[i], currentMode)) { + return; + } + } + allowedModes.length == 1 && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('CSS1Compat', allowedModes[0]) && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('BackCompat', currentMode)?"GWT no longer supports Quirks Mode (document.compatMode=' BackCompat').<br>Make sure your application's host HTML page has a Standards Mode (document.compatMode=' CSS1Compat') doctype,<br>e.g. by using <!doctype html> at the start of your application's HTML page.<br><br>To continue using this unsupported rendering mode and risk layout problems, suppress this message by adding<br>the following line to your*.gwt.xml module file:<br> <extend-configuration-property name=\"document.compatMode\" value=\"" + currentMode + '"/>':"Your *.gwt.xml module configuration prohibits the use of the current document rendering mode (document.compatMode=' " + currentMode + "').<br>Modify your application's host HTML page doctype, or update your custom " + "'document.compatMode' configuration property settings."; +} + +function com_google_gwt_user_client_Event_$getTypeInt__Lcom_google_gwt_user_client_Event_2I(this$static){ + return com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , this$static).type); +} + +function com_google_gwt_user_client_Event_addNativePreviewHandler__Lcom_google_gwt_user_client_Event$NativePreviewHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(handler){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(com_google_gwt_user_client_DOM_impl); + !com_google_gwt_user_client_Event$NativePreviewEvent_TYPE && (com_google_gwt_user_client_Event$NativePreviewEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V); + if (!com_google_gwt_user_client_Event_handlers) { + com_google_gwt_user_client_Event_handlers = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2ZV(null, true); + com_google_gwt_user_client_Event$NativePreviewEvent_singleton = new com_google_gwt_user_client_Event$NativePreviewEvent_Event$NativePreviewEvent__V; + } + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(com_google_gwt_user_client_Event_handlers, com_google_gwt_user_client_Event$NativePreviewEvent_TYPE, handler); +} + +function com_google_gwt_user_client_Event_getTypeInt__Ljava_lang_String_2I(typeName){ + return com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_user_client_DOM_$clinit__V() , typeName)); +} + +function com_google_gwt_user_client_Event_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(elem, eventBits){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_DOM_impl.sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(elem, eventBits); +} + +var com_google_gwt_user_client_Event_handlers; +function com_google_gwt_user_client_Event$NativePreviewEvent_$revive__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this$static){ + this$static.com_google_gwt_event_shared_GwtEvent_dead = false; + this$static.com_google_web_bindery_event_shared_Event_source = null; + this$static.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = false; + this$static.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = false; + this$static.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler = true; + this$static.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent = null; +} + +function com_google_gwt_user_client_Event$NativePreviewEvent_$setNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2Lcom_google_gwt_dom_client_NativeEvent_2V(this$static, nativeEvent){ + this$static.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent = nativeEvent; +} + +function com_google_gwt_user_client_Event$NativePreviewEvent_Event$NativePreviewEvent__V(){ +} + +function com_google_gwt_user_client_Event$NativePreviewEvent_fire__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_dom_client_NativeEvent_2Z(handlers, nativeEvent){ + var lastIsCanceled, lastIsConsumed, lastIsFirstHandler, lastNativeEvent, ret; + if (!!com_google_gwt_user_client_Event$NativePreviewEvent_TYPE && !!handlers && com_google_gwt_event_shared_HandlerManager_$isEventHandled__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Z(handlers, com_google_gwt_user_client_Event$NativePreviewEvent_TYPE)) { + lastIsCanceled = com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled; + lastIsConsumed = com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed; + lastIsFirstHandler = com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler; + lastNativeEvent = com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent; + com_google_gwt_user_client_Event$NativePreviewEvent_$revive__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(com_google_gwt_user_client_Event$NativePreviewEvent_singleton); + com_google_gwt_user_client_Event$NativePreviewEvent_$setNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2Lcom_google_gwt_dom_client_NativeEvent_2V(com_google_gwt_user_client_Event$NativePreviewEvent_singleton, nativeEvent); + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(handlers, com_google_gwt_user_client_Event$NativePreviewEvent_singleton); + ret = !(com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled && !com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed); + com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = lastIsCanceled; + com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = lastIsConsumed; + com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler = lastIsFirstHandler; + com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent = lastNativeEvent; + return ret; + } + return true; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(278, 527, {}, com_google_gwt_user_client_Event$NativePreviewEvent_Event$NativePreviewEvent__V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this); + com_google_gwt_user_client_Event$NativePreviewEvent_singleton.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler = false; +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_user_client_Event$NativePreviewEvent_TYPE; +} +; +_.revive__V = function(){ + com_google_gwt_user_client_Event$NativePreviewEvent_$revive__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this); +} +; +_.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = false; +_.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = false; +_.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler = false; +var com_google_gwt_user_client_Event$NativePreviewEvent_TYPE, com_google_gwt_user_client_Event$NativePreviewEvent_singleton; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1Event$NativePreviewEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(278); +function com_google_gwt_user_client_History_$clinit__V(){ + com_google_gwt_user_client_History_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + new com_google_gwt_user_client_History$HistoryImpl_History$HistoryImpl__V; + com_google_gwt_user_client_History_historyEventSource = new com_google_gwt_user_client_History$HistoryEventSource_History$HistoryEventSource__V; + com_google_gwt_user_client_History_token = com_google_gwt_user_client_History_getDecodedHash__Ljava_lang_String_2(); +} + +function com_google_gwt_user_client_History_addValueChangeHandler__Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(handler){ + com_google_gwt_user_client_History_$clinit__V(); + return com_google_gwt_user_client_History$HistoryEventSource_$addValueChangeHandler__Lcom_google_gwt_user_client_History$HistoryEventSource_2Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(com_google_gwt_user_client_History_historyEventSource, handler); +} + +function com_google_gwt_user_client_History_getDecodedHash__Ljava_lang_String_2(){ + var hashToken; + hashToken = (com_google_gwt_user_client_Window_$clinit__V() , com_google_gwt_user_client_Window_impl).getHash__Ljava_lang_String_2(); + if (hashToken == null || !hashToken.length) { + return ''; + } + return com_google_gwt_user_client_History$HistoryTokenEncoder_$decode__Lcom_google_gwt_user_client_History$HistoryTokenEncoder_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(hashToken, 1, hashToken.length - 1)); +} + +function com_google_gwt_user_client_History_onHashChanged__V(){ + com_google_gwt_user_client_History_$clinit__V(); + var hashToken; + hashToken = com_google_gwt_user_client_History_getDecodedHash__Ljava_lang_String_2(); + if (!java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(hashToken, com_google_gwt_user_client_History_token)) { + com_google_gwt_user_client_History_token = hashToken; + com_google_gwt_event_logical_shared_ValueChangeEvent_fire__Lcom_google_gwt_event_logical_shared_HasValueChangeHandlers_2Ljava_lang_Object_2V(com_google_gwt_user_client_History_historyEventSource, hashToken); + } +} + +var com_google_gwt_user_client_History_historyEventSource, com_google_gwt_user_client_History_token; +function com_google_gwt_user_client_History$HistoryEventSource_$addValueChangeHandler__Lcom_google_gwt_user_client_History$HistoryEventSource_2Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_google_gwt_user_client_History$HistoryEventSource_handlers, (!com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE && (com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE), handler); +} + +function com_google_gwt_user_client_History$HistoryEventSource_History$HistoryEventSource__V(){ + this.com_google_gwt_user_client_History$HistoryEventSource_handlers = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(null); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(481, 1, {21:1}, com_google_gwt_user_client_History$HistoryEventSource_History$HistoryEventSource__V); +_.fireEvent__Lcom_google_gwt_event_shared_GwtEvent_2V = function(event_0){ + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(this.com_google_gwt_user_client_History$HistoryEventSource_handlers, event_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1History$HistoryEventSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(481); +function com_google_gwt_user_client_History$HistoryImpl_History$HistoryImpl__V(){ + var com_google_gwt_user_client_History$HistoryImpl_$attachListener__Lcom_google_gwt_user_client_History$HistoryImpl_2V_handler_0; + com_google_gwt_user_client_History$HistoryImpl_$attachListener__Lcom_google_gwt_user_client_History$HistoryImpl_2V_handler_0 = $entry(com_google_gwt_user_client_History_onHashChanged__V); + $wnd.addEventListener('hashchange', com_google_gwt_user_client_History$HistoryImpl_$attachListener__Lcom_google_gwt_user_client_History$HistoryImpl_2V_handler_0, false); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(482, 1, {}, com_google_gwt_user_client_History$HistoryImpl_History$HistoryImpl__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1History$HistoryImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(482); +function com_google_gwt_user_client_History$HistoryTokenEncoder_$decode__Lcom_google_gwt_user_client_History$HistoryTokenEncoder_2Ljava_lang_String_2Ljava_lang_String_2(toDecode){ + return $wnd.decodeURI(toDecode.replace('%23', '#')); +} + +function com_google_gwt_user_client_Window_$clinit__V(){ + com_google_gwt_user_client_Window_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_Window_impl = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1impl_1WindowImpl__Ljava_lang_Object_2(); +} + +function com_google_gwt_user_client_Window_addCloseHandler__Lcom_google_gwt_event_logical_shared_CloseHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(handler){ + com_google_gwt_user_client_Window_$clinit__V(); + com_google_gwt_user_client_Window_maybeInitializeCloseHandlers__V(); + return com_google_gwt_user_client_Window_addHandler__Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(com_google_gwt_event_logical_shared_CloseEvent_TYPE?com_google_gwt_event_logical_shared_CloseEvent_TYPE:(com_google_gwt_event_logical_shared_CloseEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V), handler); +} + +function com_google_gwt_user_client_Window_addHandler__Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(type_0, handler){ + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2((!com_google_gwt_user_client_Window_handlers && (com_google_gwt_user_client_Window_handlers = new com_google_gwt_user_client_Window$WindowHandlers_Window$WindowHandlers__V) , com_google_gwt_user_client_Window_handlers), type_0, handler); +} + +function com_google_gwt_user_client_Window_addResizeHandler__Lcom_google_gwt_event_logical_shared_ResizeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(handler){ + com_google_gwt_user_client_Window_$clinit__V(); + com_google_gwt_user_client_Window_maybeInitializeCloseHandlers__V(); + com_google_gwt_user_client_Window_maybeInitializeResizeHandlers__V(); + return com_google_gwt_user_client_Window_addHandler__Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2((!com_google_gwt_event_logical_shared_ResizeEvent_TYPE && (com_google_gwt_event_logical_shared_ResizeEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_ResizeEvent_TYPE), handler); +} + +function com_google_gwt_user_client_Window_alert__Ljava_lang_String_2V(msg){ + com_google_gwt_user_client_Window_$clinit__V(); + $wnd.alert(msg); +} + +function com_google_gwt_user_client_Window_maybeInitializeCloseHandlers__V(){ + if (!com_google_gwt_user_client_Window_closeHandlersInitialized) { + com_google_gwt_user_client_impl_WindowImpl_$initWindowCloseHandler__Lcom_google_gwt_user_client_impl_WindowImpl_2V(); + com_google_gwt_user_client_Window_closeHandlersInitialized = true; + } +} + +function com_google_gwt_user_client_Window_maybeInitializeResizeHandlers__V(){ + if (!com_google_gwt_user_client_Window_resizeHandlersInitialized) { + com_google_gwt_user_client_impl_WindowImpl_$initWindowResizeHandler__Lcom_google_gwt_user_client_impl_WindowImpl_2V(); + com_google_gwt_user_client_Window_resizeHandlersInitialized = true; + } +} + +function com_google_gwt_user_client_Window_onClosing__Ljava_lang_String_2(){ + com_google_gwt_user_client_Window_$clinit__V(); + var event_0; + if (com_google_gwt_user_client_Window_closeHandlersInitialized) { + event_0 = new com_google_gwt_user_client_Window$ClosingEvent_Window$ClosingEvent__V; + !!com_google_gwt_user_client_Window_handlers && com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(com_google_gwt_user_client_Window_handlers, event_0); + return null; + } + return null; +} + +function com_google_gwt_user_client_Window_onResize__V(){ + com_google_gwt_user_client_Window_$clinit__V(); + var height, width_0; + if (com_google_gwt_user_client_Window_resizeHandlersInitialized) { + width_0 = com_google_gwt_dom_client_Document_$getClientWidth__Lcom_google_gwt_dom_client_Document_2I($doc); + height = com_google_gwt_dom_client_Document_$getClientHeight__Lcom_google_gwt_dom_client_Document_2I($doc); + if (com_google_gwt_user_client_Window_lastResizeWidth != width_0 || com_google_gwt_user_client_Window_lastResizeHeight != height) { + com_google_gwt_user_client_Window_lastResizeWidth = width_0; + com_google_gwt_user_client_Window_lastResizeHeight = height; + com_google_gwt_event_logical_shared_ResizeEvent_fire__Lcom_google_gwt_event_logical_shared_HasResizeHandlers_2IIV((!com_google_gwt_user_client_Window_handlers && (com_google_gwt_user_client_Window_handlers = new com_google_gwt_user_client_Window$WindowHandlers_Window$WindowHandlers__V) , com_google_gwt_user_client_Window_handlers)); + } + } +} + +var com_google_gwt_user_client_Window_closeHandlersInitialized = false, com_google_gwt_user_client_Window_handlers, com_google_gwt_user_client_Window_impl, com_google_gwt_user_client_Window_lastResizeHeight = 0, com_google_gwt_user_client_Window_lastResizeWidth = 0, com_google_gwt_user_client_Window_resizeHandlersInitialized = false; +function com_google_gwt_user_client_Window$ClosingEvent_$clinit__V(){ + com_google_gwt_user_client_Window$ClosingEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_Window$ClosingEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_google_gwt_user_client_Window$ClosingEvent_Window$ClosingEvent__V(){ + com_google_gwt_user_client_Window$ClosingEvent_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(310, 527, {}, com_google_gwt_user_client_Window$ClosingEvent_Window$ClosingEvent__V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + null.nullMethod(); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_google_gwt_user_client_Window$ClosingEvent_TYPE; +} +; +var com_google_gwt_user_client_Window$ClosingEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1Window$ClosingEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(310); +function com_google_gwt_user_client_Window$Location_buildListParamMap__Ljava_lang_String_2Ljava_util_Map_2(queryString){ + var entry, entry$iterator, key, kv, kvPair, kvPair$array, kvPair$index, kvPair$max, out, qs, val, values, com_google_gwt_http_client_URL_decodeQueryStringImpl__Ljava_lang_String_2Ljava_lang_String_2_regexp_0; + out = new java_util_HashMap_HashMap__V; + if (queryString != null && queryString.length > 1) { + qs = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(queryString, 1, queryString.length - 1); + for (kvPair$array = java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(qs, '&', 0) , kvPair$index = 0 , kvPair$max = kvPair$array.length; kvPair$index < kvPair$max; ++kvPair$index) { + kvPair = kvPair$array[kvPair$index]; + kv = java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(kvPair, '=', 2); + key = kv[0]; + if (!key.length) { + continue; + } + val = kv.length > 1?kv[1]:''; + try { + val = (com_google_gwt_http_client_StringValidator_throwIfNull__Ljava_lang_String_2Ljava_lang_Object_2V(val) , com_google_gwt_http_client_URL_decodeQueryStringImpl__Ljava_lang_String_2Ljava_lang_String_2_regexp_0 = /\+/g , decodeURIComponent(val.replace(com_google_gwt_http_client_URL_decodeQueryStringImpl__Ljava_lang_String_2Ljava_lang_String_2_regexp_0, '%20'))); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 56)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + values = out.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (!values) { + values = new java_util_ArrayList_ArrayList__V; + out.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(key, values); + } + values.add__Ljava_lang_Object_2Z(val); + } + } + for (entry$iterator = out.entrySet__Ljava_util_Set_2().iterator__Ljava_util_Iterator_2(); entry$iterator.hasNext__Z();) { + entry = entry$iterator.next__Ljava_lang_Object_2(); + entry.setValue__Ljava_lang_Object_2Ljava_lang_Object_2(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(entry.getValue__Ljava_lang_Object_2())); + } + out = (java_util_Collections_$clinit__V() , new java_util_Collections$UnmodifiableMap_Collections$UnmodifiableMap__Ljava_util_Map_2V(out)); + return out; +} + +function com_google_gwt_user_client_Window$Location_ensureListParameterMap__V(){ + var currentQueryString; + currentQueryString = (com_google_gwt_user_client_Window_$clinit__V() , $wnd.location.search); + if (!com_google_gwt_user_client_Window$Location_listParamMap || !java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(com_google_gwt_user_client_Window$Location_cachedQueryString, currentQueryString)) { + com_google_gwt_user_client_Window$Location_listParamMap = com_google_gwt_user_client_Window$Location_buildListParamMap__Ljava_lang_String_2Ljava_util_Map_2(currentQueryString); + com_google_gwt_user_client_Window$Location_cachedQueryString = currentQueryString; + } +} + +var com_google_gwt_user_client_Window$Location_cachedQueryString = '', com_google_gwt_user_client_Window$Location_listParamMap; +function com_google_gwt_user_client_Window$WindowHandlers_Window$WindowHandlers__V(){ + com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V.call(this, null); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(111, 47, {21:1}, com_google_gwt_user_client_Window$WindowHandlers_Window$WindowHandlers__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1Window$WindowHandlers_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(111); +function com_google_gwt_user_client_impl_DOMImpl_$eventCancelBubble__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_user_client_Event_2ZV(evt, cancel){ + evt.cancelBubble = cancel; +} + +function com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(eventType){ + switch (eventType) { + case 'blur': + return 4096; + case 'change': + return 1024; + case 'click': + return 1; + case 'dblclick': + return 2; + case 'focus': + return 2048; + case 'keydown': + return 128; + case 'keypress': + return 256; + case 'keyup': + return 512; + case 'load': + return 32768; + case 'losecapture': + return 8192; + case 'mousedown': + return 4; + case 'mousemove': + return 64; + case 'mouseout': + return 32; + case 'mouseover': + return 16; + case 'mouseup': + return 8; + case 'scroll': + return 16384; + case 'error': + return $intern_26; + case 'DOMMouseScroll': + case 'mousewheel': + return $intern_27; + case 'contextmenu': + return 262144; + case 'paste': + return $intern_16; + case 'touchstart': + return $intern_28; + case 'touchmove': + return $intern_29; + case 'touchend': + return $intern_17; + case 'touchcancel': + return $intern_30; + case 'gesturestart': + return $intern_31; + case 'gesturechange': + return $intern_32; + case 'gestureend': + return $intern_33; + default:return -1; + } +} + +function com_google_gwt_user_client_impl_DOMImpl_$getEventsSunk__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_dom_client_Element_2I(elem){ + return elem.__eventBits || 0; +} + +function com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this$static){ + if (!com_google_gwt_user_client_impl_DOMImpl_eventSystemIsInitialized) { + this$static.initEventSystem__V(); + com_google_gwt_user_client_impl_DOMImpl_eventSystemIsInitialized = true; + } +} + +function com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(elem){ + var maybeListener = elem.__listener; + return !com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(maybeListener) && com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(maybeListener, 19)?maybeListener:null; +} + +function com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(elem, listener){ + elem.__listener = listener; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(546, 1, {}); +var com_google_gwt_user_client_impl_DOMImpl_eventSystemIsInitialized = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1DOMImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(546); +function com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V(){ + com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_impl_DOMImplStandard_bitlessEventDispatchers = {_default_:com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V, dragenter:com_google_gwt_user_client_impl_DOMImplStandard_dispatchDragEvent__Lcom_google_gwt_user_client_Event_2V, dragover:com_google_gwt_user_client_impl_DOMImplStandard_dispatchDragEvent__Lcom_google_gwt_user_client_Event_2V}; + com_google_gwt_user_client_impl_DOMImplStandard_captureEventDispatchers = {click:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, dblclick:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mousedown:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mouseup:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mousemove:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mouseover:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mouseout:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, mousewheel:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, keydown:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedEvent__Lcom_google_gwt_user_client_Event_2V, keyup:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedEvent__Lcom_google_gwt_user_client_Event_2V, keypress:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedEvent__Lcom_google_gwt_user_client_Event_2V, touchstart:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, touchend:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, touchmove:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, touchcancel:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, gesturestart:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, gestureend:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V, gesturechange:com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V}; +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(elem, index_0){ + var count = 0, child = elem.firstChild; + while (child) { + if (child.nodeType == 1) { + if (index_0 == count) + return child; + ++count; + } + child = child.nextSibling; + } + return null; +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$initEventSystem__Lcom_google_gwt_user_client_impl_DOMImplStandard_2V(){ + com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent = $entry(com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V); + com_google_gwt_user_client_impl_DOMImplStandard_dispatchUnhandledEvent = $entry(com_google_gwt_user_client_impl_DOMImplStandard_dispatchUnhandledEvent__Lcom_google_gwt_user_client_Event_2V); + var foreach = com_google_gwt_user_client_impl_EventMap_foreach__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V; + var bitlessEvents = com_google_gwt_user_client_impl_DOMImplStandard_bitlessEventDispatchers; + foreach(bitlessEvents, function(e, fn){ + bitlessEvents[e] = $entry(fn); + } + ); + var captureEvents = com_google_gwt_user_client_impl_DOMImplStandard_captureEventDispatchers; + foreach(captureEvents, function(e, fn){ + captureEvents[e] = $entry(fn); + } + ); + foreach(captureEvents, function(e, fn){ + $wnd.addEventListener(e, fn, true); + } + ); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$releaseCapture__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2V(this$static, elem){ + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this$static); + com_google_gwt_user_client_impl_DOMImplStandard_captureElem == elem && (com_google_gwt_user_client_impl_DOMImplStandard_captureElem = null); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$setCapture__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2V(this$static, elem){ + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this$static); + com_google_gwt_user_client_impl_DOMImplStandard_captureElem = elem; +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEvent__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static, elem, eventTypeName){ + var com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatchMap_0, com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatcher_0; + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this$static); + com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatchMap_0 = com_google_gwt_user_client_impl_DOMImplStandard_bitlessEventDispatchers; + com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatcher_0 = com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatchMap_0[eventTypeName] || com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatchMap_0['_default_']; + elem.addEventListener(eventTypeName, com_google_gwt_user_client_impl_DOMImplStandard_$sinkBitlessEventImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V_dispatcher_0, false); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_$sinkEventsImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2IV(elem, bits){ + var chMask = (elem.__eventBits || 0) ^ bits; + elem.__eventBits = bits; + if (!chMask) + return; + chMask & 1 && (elem.onclick = bits & 1?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 2 && (elem.ondblclick = bits & 2?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 4 && (elem.onmousedown = bits & 4?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 8 && (elem.onmouseup = bits & 8?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 16 && (elem.onmouseover = bits & 16?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 32 && (elem.onmouseout = bits & 32?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 64 && (elem.onmousemove = bits & 64?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 128 && (elem.onkeydown = bits & 128?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 256 && (elem.onkeypress = bits & 256?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 512 && (elem.onkeyup = bits & 512?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 1024 && (elem.onchange = bits & 1024?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 2048 && (elem.onfocus = bits & 2048?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 4096 && (elem.onblur = bits & 4096?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 8192 && (elem.onlosecapture = bits & 8192?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 16384 && (elem.onscroll = bits & 16384?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 32768 && (elem.onload = bits & 32768?com_google_gwt_user_client_impl_DOMImplStandard_dispatchUnhandledEvent:null); + chMask & $intern_26 && (elem.onerror = bits & $intern_26?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_27 && (elem.onmousewheel = bits & $intern_27?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & 262144 && (elem.oncontextmenu = bits & 262144?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_16 && (elem.onpaste = bits & $intern_16?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_28 && (elem.ontouchstart = bits & $intern_28?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_29 && (elem.ontouchmove = bits & $intern_29?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_17 && (elem.ontouchend = bits & $intern_17?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_30 && (elem.ontouchcancel = bits & $intern_30?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_31 && (elem.ongesturestart = bits & $intern_31?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_32 && (elem.ongesturechange = bits & $intern_32?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); + chMask & $intern_33 && (elem.ongestureend = bits & $intern_33?com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent:null); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedEvent__Lcom_google_gwt_user_client_Event_2V(evt){ + com_google_gwt_user_client_DOM_previewEvent__Lcom_google_gwt_user_client_Event_2Z(evt); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V(evt){ + com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V(); + var cancelled; + cancelled = !com_google_gwt_user_client_DOM_previewEvent__Lcom_google_gwt_user_client_Event_2Z(evt); + if (cancelled || !com_google_gwt_user_client_impl_DOMImplStandard_captureElem) { + return; + } + com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2Z(evt, com_google_gwt_user_client_impl_DOMImplStandard_captureElem) && com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , evt)); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_dispatchDragEvent__Lcom_google_gwt_user_client_Event_2V(evt){ + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , evt)); + com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V(evt); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V(evt){ + var element; + element = com_google_gwt_user_client_impl_DOMImplStandard_getFirstAncestorWithListener__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2(evt); + if (!element) { + return; + } + com_google_gwt_user_client_DOM_dispatchEvent__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(evt, element.nodeType != 1?null:element, com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(element)); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_dispatchUnhandledEvent__Lcom_google_gwt_user_client_Event_2V(evt){ + var element; + element = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt); + com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(element, '__gwtLastUnhandledEvent', evt.type); + com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent__Lcom_google_gwt_user_client_Event_2V(evt); +} + +function com_google_gwt_user_client_impl_DOMImplStandard_getFirstAncestorWithListener__Lcom_google_gwt_user_client_Event_2Lcom_google_gwt_dom_client_Element_2(evt){ + var curElem; + curElem = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetCurrentTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(evt); + while (!!curElem && !com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(curElem)) { + curElem = curElem.parentNode; + } + return curElem; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(547, 546, {}); +_.initEventSystem__V = function(){ + com_google_gwt_user_client_impl_DOMImplStandard_$initEventSystem__Lcom_google_gwt_user_client_impl_DOMImplStandard_2V(); +} +; +_.sinkEvents__Lcom_google_gwt_dom_client_Element_2IV = function(elem, bits){ + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this); + com_google_gwt_user_client_impl_DOMImplStandard_$sinkEventsImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2IV(elem, bits); +} +; +var com_google_gwt_user_client_impl_DOMImplStandard_bitlessEventDispatchers, com_google_gwt_user_client_impl_DOMImplStandard_captureElem, com_google_gwt_user_client_impl_DOMImplStandard_captureEventDispatchers, com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent, com_google_gwt_user_client_impl_DOMImplStandard_dispatchUnhandledEvent; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1DOMImplStandard_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(547); +function com_google_gwt_user_client_impl_DOMImplMozilla_$clinit__V(){ + com_google_gwt_user_client_impl_DOMImplMozilla_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V(); + com_google_gwt_user_client_impl_DOMImplStandard_captureEventDispatchers['DOMMouseScroll'] = com_google_gwt_user_client_impl_DOMImplStandard_dispatchCapturedMouseEvent__Lcom_google_gwt_user_client_Event_2V; +} + +function com_google_gwt_user_client_impl_DOMImplMozilla_$initSyntheticMouseUpEvents__Lcom_google_gwt_user_client_impl_DOMImplMozilla_2V(){ + $wnd.addEventListener('mouseout', $entry(function(evt){ + var cap = (com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V() , com_google_gwt_user_client_impl_DOMImplStandard_captureElem); + if (cap && !evt.relatedTarget) { + if ('html' == evt.target.tagName.toLowerCase()) { + var muEvent = $doc.createEvent('MouseEvents'); + muEvent.initMouseEvent('mouseup', true, true, $wnd, 0, evt.screenX, evt.screenY, evt.clientX, evt.clientY, evt.ctrlKey, evt.altKey, evt.shiftKey, evt.metaKey, evt.button, null); + cap.dispatchEvent(muEvent); + } + } + } + ), true); +} + +function com_google_gwt_user_client_impl_DOMImplMozilla_DOMImplMozilla__V(){ + com_google_gwt_user_client_impl_DOMImplMozilla_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(397, 547, {}, com_google_gwt_user_client_impl_DOMImplMozilla_DOMImplMozilla__V); +_.initEventSystem__V = function(){ + com_google_gwt_user_client_impl_DOMImplStandard_$initEventSystem__Lcom_google_gwt_user_client_impl_DOMImplStandard_2V(); + com_google_gwt_user_client_impl_DOMImplMozilla_$initSyntheticMouseUpEvents__Lcom_google_gwt_user_client_impl_DOMImplMozilla_2V(); +} +; +_.sinkEvents__Lcom_google_gwt_dom_client_Element_2IV = function(elem, bits){ + com_google_gwt_user_client_impl_DOMImpl_$maybeInitializeEventSystem__Lcom_google_gwt_user_client_impl_DOMImpl_2V(this); + com_google_gwt_user_client_impl_DOMImplStandard_$sinkEventsImpl__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2IV(elem, bits); + bits & $intern_27 && elem.addEventListener('DOMMouseScroll', (com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V() , com_google_gwt_user_client_impl_DOMImplStandard_dispatchEvent), false); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1DOMImplMozilla_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(397); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(548, 547, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1DOMImplStandardBase_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(548); +function com_google_gwt_user_client_impl_DOMImplWebkit_DOMImplWebkit__V(){ + com_google_gwt_user_client_impl_DOMImplStandard_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(396, 548, {}, com_google_gwt_user_client_impl_DOMImplWebkit_DOMImplWebkit__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1DOMImplWebkit_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(396); +function com_google_gwt_user_client_impl_EventMap_foreach__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V(map_0, fn){ + for (var e in map_0) { + map_0.hasOwnProperty(e) && fn(e, map_0[e]); + } +} + +function com_google_gwt_user_client_impl_WindowImpl_$initWindowCloseHandler__Lcom_google_gwt_user_client_impl_WindowImpl_2V(){ + var oldOnBeforeUnload = $wnd.onbeforeunload; + var oldOnUnload = $wnd.onunload; + $wnd.onbeforeunload = function(evt){ + var ret, oldRet; + try { + ret = $entry(com_google_gwt_user_client_Window_onClosing__Ljava_lang_String_2)(); + } + finally { + oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt); + } + if (ret != null) { + return ret; + } + if (oldRet != null) { + return oldRet; + } + } + ; + $wnd.onunload = $entry(function(evt){ + try { + com_google_gwt_user_client_Window_$clinit__V(); + com_google_gwt_user_client_Window_closeHandlersInitialized && com_google_gwt_event_logical_shared_CloseEvent_fire__Lcom_google_gwt_event_logical_shared_HasCloseHandlers_2Ljava_lang_Object_2ZV((!com_google_gwt_user_client_Window_handlers && (com_google_gwt_user_client_Window_handlers = new com_google_gwt_user_client_Window$WindowHandlers_Window$WindowHandlers__V) , com_google_gwt_user_client_Window_handlers)); + } + finally { + oldOnUnload && oldOnUnload(evt); + $wnd.onresize = null; + $wnd.onscroll = null; + $wnd.onbeforeunload = null; + $wnd.onunload = null; + } + } + ); +} + +function com_google_gwt_user_client_impl_WindowImpl_$initWindowResizeHandler__Lcom_google_gwt_user_client_impl_WindowImpl_2V(){ + var oldOnResize = $wnd.onresize; + $wnd.onresize = $entry(function(evt){ + try { + com_google_gwt_user_client_Window_onResize__V(); + } + finally { + oldOnResize && oldOnResize(evt); + } + } + ); +} + +function com_google_gwt_user_client_impl_WindowImpl_WindowImpl__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(440, 1, {}, com_google_gwt_user_client_impl_WindowImpl_WindowImpl__V); +_.getHash__Ljava_lang_String_2 = function com_google_gwt_user_client_impl_WindowImpl_getHash__Ljava_lang_String_2(){ + return $wnd.location.hash; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1WindowImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(440); +function com_google_gwt_user_client_impl_WindowImplMozilla_WindowImplMozilla__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(458, 440, {}, com_google_gwt_user_client_impl_WindowImplMozilla_WindowImplMozilla__V); +_.getHash__Ljava_lang_String_2 = function com_google_gwt_user_client_impl_WindowImplMozilla_getHash__Ljava_lang_String_2(){ + var href_0 = $wnd.location.href; + var hashLoc = href_0.indexOf('#'); + return hashLoc > 0?href_0.substring(hashLoc):''; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1impl_1WindowImplMozilla_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(458); +function com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + com_google_gwt_user_client_ui_ComplexPanel_$add__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Element_2V(this$static, w, (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element)); +} + +function com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static, w){ + var removed; + removed = com_google_gwt_user_client_ui_ComplexPanel_$remove__Lcom_google_gwt_user_client_ui_ComplexPanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static, w); + removed && com_google_gwt_user_client_ui_AbsolutePanel_changeToStaticPositioning__Lcom_google_gwt_dom_client_Element_2V((com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element)); + return removed; +} + +function com_google_gwt_user_client_ui_AbsolutePanel_changeToStaticPositioning__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(elem.style, 'left', ''); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(elem.style, 'top', ''); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(elem.style, 'position', ''); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(419, 154, $intern_24); +_.add__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, w); +} +; +_.remove__Lcom_google_gwt_user_client_ui_Widget_2Z = function(w){ + return com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this, w); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1AbsolutePanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(419); +function com_google_gwt_user_client_ui_AttachDetachException_$clinit__V(){ + com_google_gwt_user_client_ui_AttachDetachException_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_AttachDetachException_attachCommand = new com_google_gwt_user_client_ui_AttachDetachException$1_AttachDetachException$1__V; + com_google_gwt_user_client_ui_AttachDetachException_detachCommand = new com_google_gwt_user_client_ui_AttachDetachException$2_AttachDetachException$2__V; +} + +function com_google_gwt_user_client_ui_AttachDetachException_AttachDetachException__Ljava_util_Set_2V(causes){ + com_google_gwt_event_shared_UmbrellaException_UmbrellaException__Ljava_util_Set_2V.call(this, causes); +} + +function com_google_gwt_user_client_ui_AttachDetachException_tryCommand__Ljava_lang_Iterable_2Lcom_google_gwt_user_client_ui_AttachDetachException$Command_2V(hasWidgets, c){ + com_google_gwt_user_client_ui_AttachDetachException_$clinit__V(); + var caught, e, w, w$iterator; + caught = null; + for (w$iterator = hasWidgets.iterator__Ljava_util_Iterator_2(); w$iterator.hasNext__Z();) { + w = w$iterator.next__Ljava_lang_Object_2(); + try { + c.execute__Lcom_google_gwt_user_client_ui_Widget_2V(w); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 13)) { + e = $e0; + !caught && (caught = new java_util_HashSet_HashSet__V); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(caught, e); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + if (caught) { + throw new com_google_gwt_user_client_ui_AttachDetachException_AttachDetachException__Ljava_util_Set_2V(caught); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(424, 82, $intern_13, com_google_gwt_user_client_ui_AttachDetachException_AttachDetachException__Ljava_util_Set_2V); +var com_google_gwt_user_client_ui_AttachDetachException_attachCommand, com_google_gwt_user_client_ui_AttachDetachException_detachCommand; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1AttachDetachException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(424); +function com_google_gwt_user_client_ui_AttachDetachException$1_AttachDetachException$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(425, 1, {}, com_google_gwt_user_client_ui_AttachDetachException$1_AttachDetachException$1__V); +_.execute__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + w.onAttach__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1AttachDetachException$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(425); +function com_google_gwt_user_client_ui_AttachDetachException$2_AttachDetachException$2__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(426, 1, {}, com_google_gwt_user_client_ui_AttachDetachException$2_AttachDetachException$2__V); +_.execute__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + w.onDetach__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1AttachDetachException$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(426); +function com_google_gwt_user_client_ui_FocusWidget_$clinit__V(){ + com_google_gwt_user_client_ui_FocusWidget_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(448, 17, $intern_23); +_.onAttach__V = function(){ + var tabIndex; + com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this); + tabIndex = com_google_gwt_dom_client_Element_$getTabIndex__Lcom_google_gwt_dom_client_Element_2I(this.com_google_gwt_user_client_ui_CheckBox_inputElem); + -1 == tabIndex && !!this.com_google_gwt_user_client_ui_CheckBox_inputElem && com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV(this.com_google_gwt_user_client_ui_CheckBox_inputElem, 0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1FocusWidget_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(448); +function com_google_gwt_user_client_ui_ButtonBase_ButtonBase__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , elem)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(449, 448, $intern_23); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ButtonBase_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(449); +function com_google_gwt_user_client_ui_CheckBox_$addValueChangeHandler__Lcom_google_gwt_user_client_ui_CheckBox_2Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + if (!this$static.com_google_gwt_user_client_ui_CheckBox_valueChangeHandlerInitialized) { + com_google_gwt_user_client_ui_Widget_$addDomHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_dom_client_DomEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, new com_google_gwt_user_client_ui_CheckBox$1_CheckBox$1__Lcom_google_gwt_user_client_ui_CheckBox_2V(this$static), (com_google_gwt_event_dom_client_ClickEvent_$clinit__V() , com_google_gwt_event_dom_client_ClickEvent_$clinit__V() , com_google_gwt_event_dom_client_ClickEvent_TYPE)); + this$static.com_google_gwt_user_client_ui_CheckBox_valueChangeHandlerInitialized = true; + } + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, (!com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE && (com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE)); +} + +function com_google_gwt_user_client_ui_CheckBox_$getValue__Lcom_google_gwt_user_client_ui_CheckBox_2Ljava_lang_Boolean_2(this$static){ + return this$static.com_google_gwt_user_client_ui_Widget_attached?(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE):(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE); +} + +function com_google_gwt_user_client_ui_CheckBox_$setValue__Lcom_google_gwt_user_client_ui_CheckBox_2Ljava_lang_Boolean_2ZV(this$static, value_0){ + var oldValue; + !value_0 && (value_0 = (java_lang_Boolean_$clinit__V() , java_lang_Boolean_FALSE)); + oldValue = this$static.com_google_gwt_user_client_ui_Widget_attached?(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE):(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE); + com_google_gwt_dom_client_InputElement_$setChecked__Lcom_google_gwt_dom_client_InputElement_2ZV(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem, value_0.java_lang_Boolean_value); + com_google_gwt_dom_client_InputElement_$setDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2ZV(this$static.com_google_gwt_user_client_ui_CheckBox_inputElem, value_0.java_lang_Boolean_value); + if (!!oldValue && oldValue.java_lang_Boolean_value == value_0.java_lang_Boolean_value) { + return; + } +} + +function com_google_gwt_user_client_ui_CheckBox_CheckBox__V(){ + com_google_gwt_user_client_ui_FocusWidget_$clinit__V(); + com_google_gwt_user_client_ui_CheckBox_CheckBox__Lcom_google_gwt_dom_client_Element_2V.call(this, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createCheckInputElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2($doc))); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, 'gwt-CheckBox'); +} + +function com_google_gwt_user_client_ui_CheckBox_CheckBox__Lcom_google_gwt_dom_client_Element_2V(elem){ + var uid; + com_google_gwt_user_client_ui_ButtonBase_ButtonBase__Lcom_google_gwt_dom_client_Element_2V.call(this, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createSpanElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_SpanElement_2($doc))); + this.com_google_gwt_user_client_ui_CheckBox_inputElem = elem; + this.com_google_gwt_user_client_ui_CheckBox_labelElem = com_google_gwt_dom_client_Document_$createLabelElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_LabelElement_2($doc); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_google_gwt_user_client_ui_CheckBox_inputElem); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_google_gwt_user_client_ui_CheckBox_labelElem); + uid = com_google_gwt_dom_client_Document_$createUniqueId__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2($doc); + com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_CheckBox_inputElem, 'id', uid); + com_google_gwt_dom_client_LabelElement_$setHtmlFor__Lcom_google_gwt_dom_client_LabelElement_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_CheckBox_labelElem, uid); + new com_google_gwt_user_client_ui_DirectionalTextHelper_DirectionalTextHelper__Lcom_google_gwt_dom_client_Element_2ZV(this.com_google_gwt_user_client_ui_CheckBox_labelElem); + !!this.com_google_gwt_user_client_ui_CheckBox_inputElem && com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV(this.com_google_gwt_user_client_ui_CheckBox_inputElem, 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(159, 449, $intern_23, com_google_gwt_user_client_ui_CheckBox_CheckBox__V); +_.onLoad__V = function(){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this.com_google_gwt_user_client_ui_CheckBox_inputElem, this); +} +; +_.onUnload__V = function(){ + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this.com_google_gwt_user_client_ui_CheckBox_inputElem, null); + com_google_gwt_user_client_ui_CheckBox_$setValue__Lcom_google_gwt_user_client_ui_CheckBox_2Ljava_lang_Boolean_2ZV(this, this.com_google_gwt_user_client_ui_Widget_attached?(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE):(java_lang_Boolean_$clinit__V() , com_google_gwt_dom_client_InputElement_$isDefaultChecked__Lcom_google_gwt_dom_client_InputElement_2Z(this.com_google_gwt_user_client_ui_CheckBox_inputElem)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE)); +} +; +_.sinkEvents__IV = function(eventBitsToAdd){ + this.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_Event_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this.com_google_gwt_user_client_ui_CheckBox_inputElem, eventBitsToAdd | (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$getEventsSunk__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_dom_client_Element_2I(this.com_google_gwt_user_client_ui_CheckBox_inputElem))):this.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), eventBitsToAdd | (this.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this.com_google_gwt_user_client_ui_Widget_eventsToSink |= eventBitsToAdd); +} +; +_.com_google_gwt_user_client_ui_CheckBox_valueChangeHandlerInitialized = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1CheckBox_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(159); +function com_google_gwt_user_client_ui_CheckBox$1_CheckBox$1__Lcom_google_gwt_user_client_ui_CheckBox_2V(this$0){ + this.com_google_gwt_user_client_ui_CheckBox$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(450, 1, {}, com_google_gwt_user_client_ui_CheckBox$1_CheckBox$1__Lcom_google_gwt_user_client_ui_CheckBox_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1CheckBox$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(450); +function com_google_gwt_user_client_ui_Composite_$checkInit__Lcom_google_gwt_user_client_ui_Composite_2V(this$static){ + if (!this$static.com_google_gwt_user_client_ui_Composite_widget) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('initWidget() is not called yet'); + } +} + +function com_google_gwt_user_client_ui_Composite_$initWidget__Lcom_google_gwt_user_client_ui_Composite_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, widget){ + var elem; + if (this$static.com_google_gwt_user_client_ui_Composite_widget) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Composite.initWidget() may only be called once.'); + } + com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(widget); + elem = (com_google_gwt_user_client_DOM_$clinit__V() , widget.com_google_gwt_user_client_ui_UIObject_element); + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this$static, elem); + (com_google_gwt_user_client_ui_PotentialElement_$clinit__V() , com_google_gwt_user_client_DOM_isPotential__Lcom_google_gwt_core_client_JavaScriptObject_2Z(elem)) && com_google_gwt_user_client_ui_PotentialElement_$setResolver__Lcom_google_gwt_user_client_ui_PotentialElement_2Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_dom_client_Element_2(elem, this$static); + this$static.com_google_gwt_user_client_ui_Composite_widget = widget; + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(widget, this$static); +} + +function com_google_gwt_user_client_ui_Composite_$isAttached__Lcom_google_gwt_user_client_ui_Composite_2Z(this$static){ + if (this$static.com_google_gwt_user_client_ui_Composite_widget) { + return this$static.com_google_gwt_user_client_ui_Composite_widget.com_google_gwt_user_client_ui_Widget_attached; + } + return false; +} + +function com_google_gwt_user_client_ui_Composite_$onAttach__Lcom_google_gwt_user_client_ui_Composite_2V(this$static){ + com_google_gwt_user_client_ui_Composite_$checkInit__Lcom_google_gwt_user_client_ui_Composite_2V(this$static); + if (this$static.com_google_gwt_user_client_ui_Widget_eventsToSink != -1) { + com_google_gwt_user_client_ui_Widget_$sinkEvents__Lcom_google_gwt_user_client_ui_Widget_2IV(this$static.com_google_gwt_user_client_ui_Composite_widget, this$static.com_google_gwt_user_client_ui_Widget_eventsToSink); + this$static.com_google_gwt_user_client_ui_Widget_eventsToSink = -1; + } + com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_Composite_widget); + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_google_gwt_user_client_ui_UIObject_element, this$static); + com_google_gwt_event_logical_shared_AttachEvent_fire__Lcom_google_gwt_event_logical_shared_HasAttachHandlers_2ZV(this$static); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(529, 17, $intern_23); +_.isAttached__Z = function(){ + return com_google_gwt_user_client_ui_Composite_$isAttached__Lcom_google_gwt_user_client_ui_Composite_2Z(this); +} +; +_.onAttach__V = function(){ + com_google_gwt_user_client_ui_Composite_$onAttach__Lcom_google_gwt_user_client_ui_Composite_2V(this); +} +; +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this, event_0); + com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this.com_google_gwt_user_client_ui_Composite_widget, event_0); +} +; +_.onDetach__V = function(){ + try { + com_google_gwt_event_logical_shared_AttachEvent_fire__Lcom_google_gwt_event_logical_shared_HasAttachHandlers_2ZV(this); + } + finally { + com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_google_gwt_user_client_ui_Composite_widget); + } +} +; +_.resolvePotentialElement__Lcom_google_gwt_dom_client_Element_2 = function(){ + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_ui_UIObject_$resolvePotentialElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_dom_client_Element_2())); + return this.com_google_gwt_user_client_ui_UIObject_element; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Composite_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(529); +function com_google_gwt_user_client_ui_DirectionalTextHelper_$setTextOrHtml__Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2Ljava_lang_String_2ZV(this$static, content, isHtml){ + isHtml?com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_element, content):com_google_gwt_dom_client_Element_$setInnerText__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_element, content); + if (this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_textDir != this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_initialElementDir) { + this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_textDir = this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_initialElementDir; + com_google_gwt_i18n_client_BidiUtils_setDirectionOnElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_i18n_client_HasDirection$Direction_2V(this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_element, this$static.com_google_gwt_user_client_ui_DirectionalTextHelper_initialElementDir); + } +} + +function com_google_gwt_user_client_ui_DirectionalTextHelper_DirectionalTextHelper__Lcom_google_gwt_dom_client_Element_2ZV(element){ + this.com_google_gwt_user_client_ui_DirectionalTextHelper_element = element; + this.com_google_gwt_user_client_ui_DirectionalTextHelper_initialElementDir = com_google_gwt_i18n_client_BidiUtils_getDirectionOnElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_i18n_client_HasDirection$Direction_2(element); + this.com_google_gwt_user_client_ui_DirectionalTextHelper_textDir = this.com_google_gwt_user_client_ui_DirectionalTextHelper_initialElementDir; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(157, 1, {}, com_google_gwt_user_client_ui_DirectionalTextHelper_DirectionalTextHelper__Lcom_google_gwt_dom_client_Element_2ZV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1DirectionalTextHelper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(157); +function com_google_gwt_user_client_ui_LabelBase_LabelBase__Lcom_google_gwt_dom_client_Element_2ZV(element){ + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , element)); + this.com_google_gwt_user_client_ui_LabelBase_directionalTextHelper = new com_google_gwt_user_client_ui_DirectionalTextHelper_DirectionalTextHelper__Lcom_google_gwt_dom_client_Element_2ZV(this.com_google_gwt_user_client_ui_UIObject_element); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(144, 17, $intern_23); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1LabelBase_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(144); +function com_google_gwt_user_client_ui_Label_$setText__Lcom_google_gwt_user_client_ui_Label_2Ljava_lang_String_2V(this$static, text_0){ + com_google_gwt_user_client_ui_DirectionalTextHelper_$setTextOrHtml__Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2Ljava_lang_String_2ZV(this$static.com_google_gwt_user_client_ui_LabelBase_directionalTextHelper, text_0, false); +} + +function com_google_gwt_user_client_ui_Label_Label__Lcom_google_gwt_dom_client_Element_2V(element){ + com_google_gwt_user_client_ui_LabelBase_LabelBase__Lcom_google_gwt_dom_client_Element_2ZV.call(this, (java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('span', (com_google_gwt_dom_client_DOMImpl_$clinit__V() , element).tagName) , element)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(377, 144, $intern_23); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Label_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(377); +function com_google_gwt_user_client_ui_HTML_HTML__Ljava_lang_String_2ZV(){ + com_google_gwt_user_client_ui_Label_Label__Lcom_google_gwt_dom_client_Element_2V.call(this, com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), 'gwt-HTML'); + com_google_gwt_user_client_ui_DirectionalTextHelper_$setTextOrHtml__Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2Ljava_lang_String_2ZV(this.com_google_gwt_user_client_ui_LabelBase_directionalTextHelper, '', true); + this.com_google_gwt_user_client_ui_UIObject_element.style['whiteSpace'] = (com_google_gwt_dom_client_Style$WhiteSpace_$clinit__V() , 'nowrap'); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(112, 377, $intern_23, com_google_gwt_user_client_ui_HTML_HTML__Ljava_lang_String_2ZV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1HTML_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(112); +function com_google_gwt_user_client_ui_HasHorizontalAlignment_$clinit__V(){ + com_google_gwt_user_client_ui_HasHorizontalAlignment_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_dom_client_Style$TextAlign_$clinit__V(); + com_google_gwt_i18n_client_LocaleInfo_$clinit__V(); +} + +function com_google_gwt_user_client_ui_SimplePanel_$remove__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static, w){ + if (this$static.com_google_gwt_user_client_ui_SimplePanel_widget != w) { + return false; + } + try { + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, null); + } + finally { + com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.getContainerElement__Lcom_google_gwt_user_client_Element_2(), (com_google_gwt_user_client_DOM_$clinit__V() , w.com_google_gwt_user_client_ui_UIObject_element)); + this$static.com_google_gwt_user_client_ui_SimplePanel_widget = null; + } + return true; +} + +function com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + if (w == this$static.com_google_gwt_user_client_ui_SimplePanel_widget) { + return; + } + !!w && com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(w); + !!this$static.com_google_gwt_user_client_ui_SimplePanel_widget && com_google_gwt_user_client_ui_SimplePanel_$remove__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static, this$static.com_google_gwt_user_client_ui_SimplePanel_widget); + this$static.com_google_gwt_user_client_ui_SimplePanel_widget = w; + if (w) { + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.getContainerElement__Lcom_google_gwt_user_client_Element_2(), com_google_gwt_user_client_DOM_resolve__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_SimplePanel_widget))); + com_google_gwt_user_client_ui_Widget_$setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_ui_Widget_2V(w, this$static); + } +} + +function com_google_gwt_user_client_ui_SimplePanel_SimplePanel__V(){ + com_google_gwt_user_client_ui_SimplePanel_SimplePanel__Lcom_google_gwt_dom_client_Element_2V.call(this, (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc))); +} + +function com_google_gwt_user_client_ui_SimplePanel_SimplePanel__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , elem)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(100, 35, $intern_34); +_.add__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + if (this.com_google_gwt_user_client_ui_SimplePanel_widget) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('SimplePanel can only contain one child widget'); + } + this.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(w); +} +; +_.getContainerElement__Lcom_google_gwt_user_client_Element_2 = function(){ + return com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_google_gwt_user_client_ui_SimplePanel$1_SimplePanel$1__Lcom_google_gwt_user_client_ui_SimplePanel_2V(this); +} +; +_.remove__Lcom_google_gwt_user_client_ui_Widget_2Z = function(w){ + return com_google_gwt_user_client_ui_SimplePanel_$remove__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this, w); +} +; +_.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, w); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1SimplePanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(100); +function com_google_gwt_user_client_ui_PopupPanel_$clinit__V(){ + com_google_gwt_user_client_ui_PopupPanel_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_PopupPanel_impl = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1ui_1impl_1PopupImpl__Ljava_lang_Object_2(); +} + +function com_google_gwt_user_client_ui_PopupPanel_$eventTargetsPopup__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static, event_0){ + var target; + target = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0); + if (com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(target)) { + return com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), target) || com_google_gwt_user_client_ui_PopupPanel_$isInShadowRoot__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2Z(target, this$static.com_google_gwt_user_client_ui_UIObject_element); + } + return false; +} + +function com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static){ + if (!this$static.com_google_gwt_user_client_ui_PopupPanel_showing) { + return; + } + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, false, false); + com_google_gwt_event_logical_shared_CloseEvent_fire__Lcom_google_gwt_event_logical_shared_HasCloseHandlers_2Ljava_lang_Object_2ZV(this$static); +} + +function com_google_gwt_user_client_ui_PopupPanel_$isInShadowRoot__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2Z(wc, popup){ + return !!wc.shadowRoot && wc.shadowRoot.contains(popup); +} + +function com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){ + var w; + w = this$static.com_google_gwt_user_client_ui_SimplePanel_widget; + if (w) { + this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight != null && w.setHeight__Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight); + this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth != null && w.setWidth__Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth); + } +} + +function com_google_gwt_user_client_ui_PopupPanel_$previewNativeEvent__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this$static, event_0){ + var eventTargetsPopupOrPartner, nativeEvent, target, type_0; + if (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled || !this$static.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents && event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed) { + this$static.com_google_gwt_user_client_ui_PopupPanel_modal && (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true); + return; + } + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler && (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent , false) && (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true); + if (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled) { + return; + } + nativeEvent = event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent; + eventTargetsPopupOrPartner = com_google_gwt_user_client_ui_PopupPanel_$eventTargetsPopup__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static, nativeEvent); + eventTargetsPopupOrPartner && (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = true); + this$static.com_google_gwt_user_client_ui_PopupPanel_modal && (event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true); + type_0 = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , nativeEvent).type)); + switch (type_0) { + case 512: + case 256: + case 128: + { + (nativeEvent.keyCode | 0) & 65535; + (nativeEvent.shiftKey?1:0) | (nativeEvent.metaKey?8:0) | (nativeEvent.ctrlKey?2:0) | (nativeEvent.altKey?4:0); + return; + } + + case 4: + case $intern_28: + { + if (com_google_gwt_user_client_DOM_sCaptureElem) { + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = true; + return; + } + } + + if (!eventTargetsPopupOrPartner && this$static.com_google_gwt_user_client_ui_PopupPanel_autoHide) { + this$static.hide__ZV(true); + return; + } + + break; + case 8: + case 64: + case 1: + case 2: + case $intern_17: + { + if (com_google_gwt_user_client_DOM_sCaptureElem) { + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = true; + return; + } + break; + } + + case 2048: + { + target = com_google_gwt_dom_client_DOMImpl_impl.eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(nativeEvent); + if (this$static.com_google_gwt_user_client_ui_PopupPanel_modal && !eventTargetsPopupOrPartner && !!target) { + target.blur && target != $doc.body && target.blur(); + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true; + return; + } + break; + } + + } +} + +function com_google_gwt_user_client_ui_PopupPanel_$setHeight__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this$static, height){ + this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight = height; + com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static); + height.length == 0 && (this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight = null); +} + +function com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static, left, top_0){ + var elem; + this$static.com_google_gwt_user_client_ui_PopupPanel_leftPosition = left; + this$static.com_google_gwt_user_client_ui_PopupPanel_topPosition = top_0; + left -= com_google_gwt_dom_client_Document_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I($doc); + top_0 -= com_google_gwt_dom_client_Document_$getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I($doc); + elem = (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element); + elem.style['left'] = left + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + elem.style['top'] = top_0 + 'px'; +} + +function com_google_gwt_user_client_ui_PopupPanel_$setWidget__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w); + com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static); +} + +function com_google_gwt_user_client_ui_PopupPanel_$setWidth__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this$static, width_0){ + this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth = width_0; + com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static); + width_0.length == 0 && (this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth = null); +} + +function com_google_gwt_user_client_ui_PopupPanel_$show__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){ + if (this$static.com_google_gwt_user_client_ui_PopupPanel_showing) { + return; + } + else + this$static.com_google_gwt_user_client_ui_Widget_attached && com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(this$static); + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, true, false); +} + +function com_google_gwt_user_client_ui_PopupPanel_$updateHandlers__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){ + if (this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration) { + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration = null; + } + if (this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration) { + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration = null; + } + if (this$static.com_google_gwt_user_client_ui_PopupPanel_showing) { + this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration = com_google_gwt_user_client_Event_addNativePreviewHandler__Lcom_google_gwt_user_client_Event$NativePreviewHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static)); + this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration = com_google_gwt_user_client_History_addValueChangeHandler__Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static)); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(101, 100, $intern_34); +_.getContainerElement__Lcom_google_gwt_user_client_Element_2 = function(){ + return com_google_gwt_user_client_ui_PopupPanel_impl.getContainerElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element))); +} +; +_.getStyleElement__Lcom_google_gwt_user_client_Element_2 = function(){ + return com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element))); +} +; +_.hide__V = function(){ + this.hide__ZV(false); +} +; +_.hide__ZV = function(autoClosed){ + com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this); +} +; +_.onUnload__V = function(){ + this.com_google_gwt_user_client_ui_PopupPanel_showing && com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, false, true); +} +; +_.setHeight__Ljava_lang_String_2V = function(height){ + com_google_gwt_user_client_ui_PopupPanel_$setHeight__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this, height); +} +; +_.setPopupPosition__IIV = function(left, top_0){ + com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this, left, top_0); +} +; +_.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + com_google_gwt_user_client_ui_PopupPanel_$setWidget__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, w); +} +; +_.setWidth__Ljava_lang_String_2V = function(width_0){ + com_google_gwt_user_client_ui_PopupPanel_$setWidth__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this, width_0); +} +; +_.com_google_gwt_user_client_ui_PopupPanel_autoHide = false; +_.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents = false; +_.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = false; +_.com_google_gwt_user_client_ui_PopupPanel_isGlassEnabled = false; +_.com_google_gwt_user_client_ui_PopupPanel_leftPosition = 0; +_.com_google_gwt_user_client_ui_PopupPanel_modal = false; +_.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = false; +_.com_google_gwt_user_client_ui_PopupPanel_showing = false; +_.com_google_gwt_user_client_ui_PopupPanel_topPosition = 0; +var com_google_gwt_user_client_ui_PopupPanel_impl; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(101); +function com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V(){ + var height, width_0, winHeight, winWidth; + null.nullMethod(); + winWidth = (com_google_gwt_user_client_Window_$clinit__V() , com_google_gwt_dom_client_Document_$getClientWidth__Lcom_google_gwt_dom_client_Document_2I($doc)); + winHeight = com_google_gwt_dom_client_Document_$getClientHeight__Lcom_google_gwt_dom_client_Document_2I($doc); + null.nullMethod((com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none')); + null.nullMethod((com_google_gwt_dom_client_Style$Unit_$clinit__V() , '0.0px')); + null.nullMethod('0.0px'); + width_0 = com_google_gwt_dom_client_Document_$getScrollWidth__Lcom_google_gwt_dom_client_Document_2I($doc); + height = com_google_gwt_dom_client_Document_$getScrollHeight__Lcom_google_gwt_dom_client_Document_2I($doc); + null.nullMethod((width_0 > winWidth?width_0:winWidth) + 'px'); + null.nullMethod((height > winHeight?height:winHeight) + 'px'); + null.nullMethod('block'); +} + +function com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(274, 1, {}, com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(274); +function com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$0){ + this.com_google_gwt_user_client_ui_PopupPanel$3_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(275, 1, {}, com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V); +_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function(event_0){ + com_google_gwt_user_client_ui_PopupPanel_$previewNativeEvent__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this.com_google_gwt_user_client_ui_PopupPanel$3_this$01, event_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(275); +function com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$0){ + this.com_google_gwt_user_client_ui_PopupPanel$4_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(276, 1, {}, com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V); +_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V = function(event_0){ + this.com_google_gwt_user_client_ui_PopupPanel$4_this$01.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents && this.com_google_gwt_user_client_ui_PopupPanel$4_this$01.hide__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(276); +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){ + if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) { + if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_isGlassEnabled) { + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2($doc.body, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glass); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration = com_google_gwt_user_client_Window_addResizeHandler__Lcom_google_gwt_event_logical_shared_ResizeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glassResizer); + com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V(); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = true; + } + } + else if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing) { + com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2($doc.body, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glass); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration = null; + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = false; + } +} + +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){ + if (!this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) { + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading || com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_this$01.com_google_gwt_user_client_ui_PopupPanel_parentPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel); + } + (com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , com_google_gwt_user_client_ui_PopupPanel_impl).setClip__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel), 'rect(auto, auto, auto, auto)'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel).style, 'overflow', 'visible'); +} + +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onInstantaneousRun__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){ + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel).style, 'position', 'absolute'); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition != -1 && this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.setPopupPosition__IIV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_leftPosition, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition); + com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_this$01.com_google_gwt_user_client_ui_PopupPanel_parentPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel); + } + else { + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading || com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_this$01.com_google_gwt_user_client_ui_PopupPanel_parentPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel); + } + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel).style, 'overflow', 'visible'); +} + +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this$static, progress){ + var bottom, height, left, right, top_0, width_0; + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing || (progress = 1 - progress); + top_0 = 0; + left = 0; + right = 0; + bottom = 0; + height = com_google_gwt_lang_Cast_round_1int__DI(progress * this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight); + width_0 = com_google_gwt_lang_Cast_round_1int__DI(progress * this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth); + switch (0) { + case 0: + top_0 = this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight - height >> 1; + left = this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth - width_0 >> 1; + right = left + width_0; + bottom = top_0 + height; + } + (com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , com_google_gwt_user_client_ui_PopupPanel_impl).setClip__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel), 'rect(' + top_0 + 'px, ' + right + 'px, ' + bottom + 'px, ' + left + 'px)'); +} + +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static, showing, isUnloading){ + var animate; + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading = isUnloading; + com_google_gwt_animation_client_Animation_$cancel__Lcom_google_gwt_animation_client_Animation_2V(this$static); + if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer) { + com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = null; + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + } + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_showing = showing; + com_google_gwt_user_client_ui_PopupPanel_$updateHandlers__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel); + animate = !isUnloading && this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled; + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing = showing; + if (animate) { + if (showing) { + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel).style, 'position', 'fixed'); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition != -1 && this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.setPopupPosition__IIV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_leftPosition, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition); + (com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , com_google_gwt_user_client_ui_PopupPanel_impl).setClip__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel), 'rect(0px, 0px, 0px, 0px)'); + com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_this$01.com_google_gwt_user_client_ui_PopupPanel_parentPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel); + this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = new com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer, 1); + } + else { + com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDLcom_google_gwt_dom_client_Element_2V(this$static, com_google_gwt_core_client_JsDate_now__D()); + } + } + else { + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onInstantaneousRun__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static); + } +} + +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$0, panel){ + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_this$01 = this$0; + com_google_gwt_animation_client_Animation_Animation__V.call(this); + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel = null; + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth = -1; + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel = panel; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(272, 102, {}, com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_PopupPanel_2V); +_.onComplete__V = function(){ + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this); +} +; +_.onStart__V = function(){ + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element), 'offsetHeight'); + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element, 'offsetWidth'); + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style['overflow'] = 'hidden'; + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this, (1 + java_lang_Math_cos__DD($intern_0)) / 2); +} +; +_.onUpdate__DV = function(progress){ + com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this, progress); +} +; +_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = false; +_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading = false; +_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight = 0; +_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth = 0; +_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(272); +function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$1){ + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$11 = this$1; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(273, 39, {}, com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V); +_.run__V = function(){ + this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$11.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = null; + com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDLcom_google_gwt_dom_client_Element_2V(this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$11, com_google_gwt_core_client_JsDate_now__D()); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(273); +function com_google_gwt_user_client_ui_PotentialElement_$clinit__V(){ + com_google_gwt_user_client_ui_PotentialElement_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_PotentialElement_declareShim__V(); +} + +function com_google_gwt_user_client_ui_PotentialElement_$setResolver__Lcom_google_gwt_user_client_ui_PotentialElement_2Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_dom_client_Element_2(this$static, resolver){ + com_google_gwt_user_client_ui_PotentialElement_$clinit__V(); + this$static.__gwt_resolve = com_google_gwt_user_client_ui_PotentialElement_buildResolveCallback__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(resolver); +} + +function com_google_gwt_user_client_ui_PotentialElement_buildResolveCallback__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(resolver){ + return function(){ + this.__gwt_resolve = com_google_gwt_user_client_ui_PotentialElement_cannotResolveTwice__V; + return resolver.resolvePotentialElement__Lcom_google_gwt_dom_client_Element_2(); + } + ; +} + +function com_google_gwt_user_client_ui_PotentialElement_cannotResolveTwice__V(){ + throw 'A PotentialElement cannot be resolved twice.'; +} + +function com_google_gwt_user_client_ui_PotentialElement_declareShim__V(){ + var shim = function(){ + } + ; + shim.prototype = {className:'', clientHeight:0, clientWidth:0, dir:'', getAttribute:function(name_0, value_0){ + return this[name_0]; + } + , href:'', id:'', lang:'', nodeType:1, removeAttribute:function(name_0, value_0){ + this[name_0] = undefined; + } + , setAttribute:function(name_0, value_0){ + this[name_0] = value_0; + } + , src:'', style:{}, title:''}; + $wnd.GwtPotentialElementShim = shim; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(530, 529, $intern_23); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ResizeComposite_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(530); +function com_google_gwt_user_client_ui_RootPanel_$clinit__V(){ + com_google_gwt_user_client_ui_RootPanel_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_RootPanel_maybeDetachCommand = new com_google_gwt_user_client_ui_RootPanel$1_RootPanel$1__V; + com_google_gwt_user_client_ui_RootPanel_rootPanels = new java_util_HashMap_HashMap__V; + com_google_gwt_user_client_ui_RootPanel_widgetsToDetach = new java_util_HashSet_HashSet__V; +} + +function com_google_gwt_user_client_ui_RootPanel_RootPanel__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_google_gwt_user_client_ui_ComplexPanel_ComplexPanel__V.call(this); + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, (com_google_gwt_user_client_DOM_$clinit__V() , elem)); + com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this); +} + +function com_google_gwt_user_client_ui_RootPanel_detachNow__Lcom_google_gwt_user_client_ui_Widget_2V(widget){ + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + try { + widget.onDetach__V(); + } + finally { + java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, widget); + } +} + +function com_google_gwt_user_client_ui_RootPanel_detachWidgets__V(){ + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + try { + com_google_gwt_user_client_ui_AttachDetachException_tryCommand__Ljava_lang_Iterable_2Lcom_google_gwt_user_client_ui_AttachDetachException$Command_2V(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, com_google_gwt_user_client_ui_RootPanel_maybeDetachCommand); + } + finally { + com_google_gwt_user_client_ui_RootPanel_widgetsToDetach.java_util_HashSet_map.clear__V(); + com_google_gwt_user_client_ui_RootPanel_rootPanels.clear__V(); + } +} + +function com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2(){ + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + var rp; + rp = com_google_gwt_user_client_ui_RootPanel_rootPanels.get__Ljava_lang_Object_2Ljava_lang_Object_2(null); + if (rp) { + return rp; + } + if (com_google_gwt_user_client_ui_RootPanel_rootPanels.size__I() == 0) { + com_google_gwt_user_client_Window_addCloseHandler__Lcom_google_gwt_event_logical_shared_CloseHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_google_gwt_user_client_ui_RootPanel$2_RootPanel$2__V); + com_google_gwt_i18n_client_LocaleInfo_$clinit__V(); + } + rp = new com_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_RootPanel$DefaultRootPanel__V; + com_google_gwt_user_client_ui_RootPanel_rootPanels.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(null, rp); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_google_gwt_user_client_ui_RootPanel_widgetsToDetach, rp); + return rp; +} + +function com_google_gwt_user_client_ui_RootPanel_getBodyElement__Lcom_google_gwt_user_client_Element_2(){ + com_google_gwt_user_client_ui_RootPanel_$clinit__V(); + return $doc.body; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(420, 419, $intern_24); +var com_google_gwt_user_client_ui_RootPanel_maybeDetachCommand, com_google_gwt_user_client_ui_RootPanel_rootPanels, com_google_gwt_user_client_ui_RootPanel_widgetsToDetach; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1RootPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(420); +function com_google_gwt_user_client_ui_RootPanel$1_RootPanel$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(422, 1, {}, com_google_gwt_user_client_ui_RootPanel$1_RootPanel$1__V); +_.execute__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + w.isAttached__Z() && w.onDetach__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1RootPanel$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(422); +function com_google_gwt_user_client_ui_RootPanel$2_RootPanel$2__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(423, 1, {}, com_google_gwt_user_client_ui_RootPanel$2_RootPanel$2__V); +_.onClose__Lcom_google_gwt_event_logical_shared_CloseEvent_2V = function(closeEvent){ + com_google_gwt_user_client_ui_RootPanel_detachWidgets__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1RootPanel$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(423); +function com_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_RootPanel$DefaultRootPanel__V(){ + com_google_gwt_user_client_ui_RootPanel_RootPanel__Lcom_google_gwt_dom_client_Element_2V.call(this, com_google_gwt_user_client_ui_RootPanel_getBodyElement__Lcom_google_gwt_user_client_Element_2()); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(421, 420, $intern_24, com_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_RootPanel$DefaultRootPanel__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1RootPanel$DefaultRootPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(421); +function com_google_gwt_user_client_ui_SimplePanel$1_$next__Lcom_google_gwt_user_client_ui_SimplePanel$1_2Lcom_google_gwt_user_client_ui_Widget_2(this$static){ + if (!this$static.com_google_gwt_user_client_ui_SimplePanel$1_hasElement || !this$static.com_google_gwt_user_client_ui_SimplePanel$1_this$01.com_google_gwt_user_client_ui_SimplePanel_widget) { + throw new java_util_NoSuchElementException_NoSuchElementException__V; + } + this$static.com_google_gwt_user_client_ui_SimplePanel$1_hasElement = false; + return this$static.com_google_gwt_user_client_ui_SimplePanel$1_returned = this$static.com_google_gwt_user_client_ui_SimplePanel$1_this$01.com_google_gwt_user_client_ui_SimplePanel_widget; +} + +function com_google_gwt_user_client_ui_SimplePanel$1_SimplePanel$1__Lcom_google_gwt_user_client_ui_SimplePanel_2V(this$0){ + this.com_google_gwt_user_client_ui_SimplePanel$1_this$01 = this$0; + this.com_google_gwt_user_client_ui_SimplePanel$1_hasElement = !!this.com_google_gwt_user_client_ui_SimplePanel$1_this$01.com_google_gwt_user_client_ui_SimplePanel_widget; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(266, 1, {}, com_google_gwt_user_client_ui_SimplePanel$1_SimplePanel$1__Lcom_google_gwt_user_client_ui_SimplePanel_2V); +_.hasNext__Z = function(){ + return this.com_google_gwt_user_client_ui_SimplePanel$1_hasElement; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_google_gwt_user_client_ui_SimplePanel$1_$next__Lcom_google_gwt_user_client_ui_SimplePanel$1_2Lcom_google_gwt_user_client_ui_Widget_2(this); +} +; +_.remove__V = function(){ + !!this.com_google_gwt_user_client_ui_SimplePanel$1_returned && com_google_gwt_user_client_ui_SimplePanel_$remove__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this.com_google_gwt_user_client_ui_SimplePanel$1_this$01, this.com_google_gwt_user_client_ui_SimplePanel$1_returned); +} +; +_.com_google_gwt_user_client_ui_SimplePanel$1_hasElement = false; +_.com_google_gwt_user_client_ui_SimplePanel$1_returned = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1SimplePanel$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(266); +function com_google_gwt_user_client_ui_WidgetCollection_$add__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + com_google_gwt_user_client_ui_WidgetCollection_$insert__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2IV(this$static, w, this$static.com_google_gwt_user_client_ui_WidgetCollection_size); +} + +function com_google_gwt_user_client_ui_WidgetCollection_$indexOf__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2I(this$static, w){ + var i; + for (i = 0; i < this$static.com_google_gwt_user_client_ui_WidgetCollection_size; ++i) { + if (this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i] == w) { + return i; + } + } + return -1; +} + +function com_google_gwt_user_client_ui_WidgetCollection_$insert__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2IV(this$static, w, beforeIndex){ + var i, i0, newArray; + if (beforeIndex < 0 || beforeIndex > this$static.com_google_gwt_user_client_ui_WidgetCollection_size) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V; + } + if (this$static.com_google_gwt_user_client_ui_WidgetCollection_size == this$static.com_google_gwt_user_client_ui_WidgetCollection_array.length) { + newArray = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Widget_12_1classLit, $intern_1, 17, this$static.com_google_gwt_user_client_ui_WidgetCollection_array.length * 2, 0, 1); + for (i0 = 0; i0 < this$static.com_google_gwt_user_client_ui_WidgetCollection_array.length; ++i0) { + newArray[i0] = this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i0]; + } + this$static.com_google_gwt_user_client_ui_WidgetCollection_array = newArray; + } + ++this$static.com_google_gwt_user_client_ui_WidgetCollection_size; + for (i = this$static.com_google_gwt_user_client_ui_WidgetCollection_size - 1; i > beforeIndex; --i) { + this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i] = this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i - 1]; + } + this$static.com_google_gwt_user_client_ui_WidgetCollection_array[beforeIndex] = w; +} + +function com_google_gwt_user_client_ui_WidgetCollection_$remove__Lcom_google_gwt_user_client_ui_WidgetCollection_2IV(this$static, index_0){ + var i; + if (index_0 < 0 || index_0 >= this$static.com_google_gwt_user_client_ui_WidgetCollection_size) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V; + } + --this$static.com_google_gwt_user_client_ui_WidgetCollection_size; + for (i = index_0; i < this$static.com_google_gwt_user_client_ui_WidgetCollection_size; ++i) { + this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i] = this$static.com_google_gwt_user_client_ui_WidgetCollection_array[i + 1]; + } + this$static.com_google_gwt_user_client_ui_WidgetCollection_array[this$static.com_google_gwt_user_client_ui_WidgetCollection_size] = null; +} + +function com_google_gwt_user_client_ui_WidgetCollection_$remove__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, w){ + var index_0; + index_0 = com_google_gwt_user_client_ui_WidgetCollection_$indexOf__Lcom_google_gwt_user_client_ui_WidgetCollection_2Lcom_google_gwt_user_client_ui_Widget_2I(this$static, w); + if (index_0 == -1) { + throw new java_util_NoSuchElementException_NoSuchElementException__V; + } + com_google_gwt_user_client_ui_WidgetCollection_$remove__Lcom_google_gwt_user_client_ui_WidgetCollection_2IV(this$static, index_0); +} + +function com_google_gwt_user_client_ui_WidgetCollection_WidgetCollection__Lcom_google_gwt_user_client_ui_HasWidgets_2V(parent_0){ + this.com_google_gwt_user_client_ui_WidgetCollection_parent = parent_0; + this.com_google_gwt_user_client_ui_WidgetCollection_array = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1Widget_12_1classLit, $intern_1, 17, 4, 0, 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(496, 1, {}, com_google_gwt_user_client_ui_WidgetCollection_WidgetCollection__Lcom_google_gwt_user_client_ui_HasWidgets_2V); +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_WidgetCollection$WidgetIterator__Lcom_google_gwt_user_client_ui_WidgetCollection_2V(this); +} +; +_.com_google_gwt_user_client_ui_WidgetCollection_size = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1WidgetCollection_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(496); +function com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_$next__Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2Lcom_google_gwt_user_client_ui_Widget_2(this$static){ + if (this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index >= this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_this$01.com_google_gwt_user_client_ui_WidgetCollection_size) { + throw new java_util_NoSuchElementException_NoSuchElementException__V; + } + this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_currentWidget = this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_this$01.com_google_gwt_user_client_ui_WidgetCollection_array[this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index]; + ++this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index; + return this$static.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_currentWidget; +} + +function com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_WidgetCollection$WidgetIterator__Lcom_google_gwt_user_client_ui_WidgetCollection_2V(this$0){ + this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(170, 1, {}, com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_WidgetCollection$WidgetIterator__Lcom_google_gwt_user_client_ui_WidgetCollection_2V); +_.hasNext__Z = function(){ + return this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index < this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_this$01.com_google_gwt_user_client_ui_WidgetCollection_size; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_$next__Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2Lcom_google_gwt_user_client_ui_Widget_2(this); +} +; +_.remove__V = function(){ + if (!this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_currentWidget) { + throw new java_lang_IllegalStateException_IllegalStateException__V; + } + this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_this$01.com_google_gwt_user_client_ui_WidgetCollection_parent.remove__Lcom_google_gwt_user_client_ui_Widget_2Z(this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_currentWidget); + --this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index; + this.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_currentWidget = null; +} +; +_.com_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_index = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1WidgetCollection$WidgetIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(170); +function com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V(){ + com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_impl_FocusImpl_implPanel = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1user_1client_1ui_1impl_1FocusImpl__Ljava_lang_Object_2(); + com_google_gwt_user_client_ui_impl_FocusImpl_implPanel?new com_google_gwt_user_client_ui_impl_FocusImpl_FocusImpl__V:com_google_gwt_user_client_ui_impl_FocusImpl_implPanel; +} + +function com_google_gwt_user_client_ui_impl_FocusImpl_FocusImpl__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(476, 1, {}, com_google_gwt_user_client_ui_impl_FocusImpl_FocusImpl__V); +_.focus__Lcom_google_gwt_dom_client_Element_2V = function(elem){ + com_google_gwt_dom_client_Element_$focus__Lcom_google_gwt_dom_client_Element_2V(elem); +} +; +var com_google_gwt_user_client_ui_impl_FocusImpl_implPanel; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1FocusImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(476); +function com_google_gwt_user_client_ui_impl_FocusImplStandard_FocusImplStandard__V(){ + com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(484, 476, {}, com_google_gwt_user_client_ui_impl_FocusImplStandard_FocusImplStandard__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1FocusImplStandard_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(484); +function com_google_gwt_user_client_ui_impl_FocusImplSafari_FocusImplSafari__V(){ + com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(485, 484, {}, com_google_gwt_user_client_ui_impl_FocusImplSafari_FocusImplSafari__V); +_.focus__Lcom_google_gwt_dom_client_Element_2V = function com_google_gwt_user_client_ui_impl_FocusImplSafari_focus__Lcom_google_gwt_dom_client_Element_2V(elem){ + $wnd.setTimeout(function(){ + elem.focus(); + } + , 0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1FocusImplSafari_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(485); +function com_google_gwt_user_client_ui_impl_PopupImpl_PopupImpl__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(459, 1, {}, com_google_gwt_user_client_ui_impl_PopupImpl_PopupImpl__V); +_.createElement__Lcom_google_gwt_dom_client_Element_2 = function(){ + return com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); +} +; +_.getContainerElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2 = function(popup){ + return popup; +} +; +_.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2 = function(popup){ + return com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , popup)); +} +; +_.setClip__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V = function(popup, rect){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(popup.style, 'clip', rect); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1PopupImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(459); +function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V(){ + com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac = com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac__Z(); +} + +function com_google_gwt_user_client_ui_impl_PopupImplMozilla_PopupImplMozilla__V(){ + com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V(); +} + +function com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac__Z(){ + function makeVersion(result){ + return parseInt(result[1]) * 1000 + parseInt(result[2]); + } + + var ua = navigator.userAgent; + if (ua.indexOf('Macintosh') != -1) { + var result = /rv:([0-9]+)\.([0-9]+)/.exec(ua); + if (result && result.length == 3) { + if (makeVersion(result) <= 1008) { + return true; + } + } + } + return false; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(460, 459, {}, com_google_gwt_user_client_ui_impl_PopupImplMozilla_PopupImplMozilla__V); +_.createElement__Lcom_google_gwt_dom_client_Element_2 = function(){ + var outerElem; + outerElem = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + if (com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac) { + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(outerElem, '<div><\/div>'); + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V(outerElem)); + } + return outerElem; +} +; +_.getContainerElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2 = function(outerElem){ + return com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac?com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , outerElem)):outerElem; +} +; +_.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2 = function(outerElem){ + return com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac?outerElem:com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , outerElem)); +} +; +_.setClip__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V = function(popup, rect){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(popup.style, 'clip', rect); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(popup.style, 'display', (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none')); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(popup.style, 'display', ''); +} +; +var com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1PopupImplMozilla_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(460); +function com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V(val$outerElem){ + this.com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_val$outerElem2 = val$outerElem; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(461, 1, {}, com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V); +_.execute__V = function(){ + this.com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_val$outerElem2.style['overflow'] = (com_google_gwt_dom_client_Style$Overflow_$clinit__V() , 'auto'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1PopupImplMozilla$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(461); +function com_google_gwt_useragent_client_UserAgentAsserter_assertCompileTimeUserAgent__V(){ + var compileTimeValue, impl, runtimeValue; + impl = com_google_gwt_lang_CollapsedPropertyHolder_com_1google_1gwt_1useragent_1client_1UserAgent__Ljava_lang_Object_2(); + compileTimeValue = impl.getCompileTimeValue__Ljava_lang_String_2(); + runtimeValue = impl.getRuntimeValue__Ljava_lang_String_2(); + if (!java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(compileTimeValue, runtimeValue)) { + throw new com_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_UserAgentAsserter$UserAgentAssertionError__Ljava_lang_String_2Ljava_lang_String_2V(compileTimeValue, runtimeValue); + } +} + +function java_lang_Error_Error__Ljava_lang_String_2Ljava_lang_Throwable_2V(message, cause){ + java_lang_Throwable_Throwable__Ljava_lang_String_2Ljava_lang_Throwable_2V.call(this, message, cause); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(94, 13, $intern_2); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Error_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(94); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(32, 94, $intern_2); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1AssertionError_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(32); +function com_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_UserAgentAsserter$UserAgentAssertionError__Ljava_lang_String_2Ljava_lang_String_2V(compileTimeValue, runtimeValue){ + java_lang_Error_Error__Ljava_lang_String_2Ljava_lang_Throwable_2V.call(this, '' + ('Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.'), com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z('Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.', 13)?'Possible problem with your *.gwt.xml module file.\nThe compile time user.agent value (' + compileTimeValue + ') ' + 'does not match the runtime user.agent value (' + runtimeValue + ').\n' + 'Expect more errors.':null); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(174, 32, $intern_2, com_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_UserAgentAsserter$UserAgentAssertionError__Ljava_lang_String_2Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1useragent_1client_1UserAgentAsserter$UserAgentAssertionError_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(174); +function com_google_gwt_useragent_client_UserAgentImplGecko1_18_UserAgentImplGecko1_18__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(444, 1, {}, com_google_gwt_useragent_client_UserAgentImplGecko1_18_UserAgentImplGecko1_18__V); +_.getCompileTimeValue__Ljava_lang_String_2 = function(){ + return 'gecko1_8'; +} +; +_.getRuntimeValue__Ljava_lang_String_2 = function com_google_gwt_useragent_client_UserAgentImplGecko1_18_getRuntimeValue__Ljava_lang_String_2(){ + var ua = navigator.userAgent.toLowerCase(); + var docMode = $doc.documentMode; + if (function(){ + return ua.indexOf('webkit') != -1; + } + ()) + return 'safari'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; + } + ()) + return 'ie10'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; + } + ()) + return 'ie9'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; + } + ()) + return 'ie8'; + if (function(){ + return ua.indexOf('gecko') != -1 || docMode >= 11; + } + ()) + return 'gecko1_8'; + return 'unknown'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1useragent_1client_1UserAgentImplGecko1_118_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(444); +function com_google_gwt_useragent_client_UserAgentImplSafari_UserAgentImplSafari__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(445, 1, {}, com_google_gwt_useragent_client_UserAgentImplSafari_UserAgentImplSafari__V); +_.getCompileTimeValue__Ljava_lang_String_2 = function(){ + return 'safari'; +} +; +_.getRuntimeValue__Ljava_lang_String_2 = function com_google_gwt_useragent_client_UserAgentImplSafari_getRuntimeValue__Ljava_lang_String_2(){ + var ua = navigator.userAgent.toLowerCase(); + var docMode = $doc.documentMode; + if (function(){ + return ua.indexOf('webkit') != -1; + } + ()) + return 'safari'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 10 && docMode < 11; + } + ()) + return 'ie10'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 9 && docMode < 11; + } + ()) + return 'ie9'; + if (function(){ + return ua.indexOf('msie') != -1 && docMode >= 8 && docMode < 11; + } + ()) + return 'ie8'; + if (function(){ + return ua.indexOf('gecko') != -1 || docMode >= 11; + } + ()) + return 'gecko1_8'; + return 'unknown'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1useragent_1client_1UserAgentImplSafari_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(445); +function com_google_gwt_xhr_client_XMLHttpRequest_$clearOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(this$static){ + this$static.onreadystatechange = function(){ + } + ; +} + +function com_google_gwt_xhr_client_XMLHttpRequest_$open__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, httpMethod, url_0, user){ + this$static.open(httpMethod, url_0, true, user); +} + +function com_google_gwt_xhr_client_XMLHttpRequest_$open__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, httpMethod, url_0, user, password){ + this$static.open(httpMethod, url_0, true, user, password); +} + +function com_google_gwt_xhr_client_XMLHttpRequest_$setOnReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Lcom_google_gwt_xhr_client_ReadyStateChangeHandler_2V(this$static, handler){ + var _this = this$static; + this$static.onreadystatechange = $entry(function(){ + handler.onReadyStateChange__Lcom_google_gwt_xhr_client_XMLHttpRequest_2V(_this); + } + ); +} + +function com_google_gwt_xhr_client_XMLHttpRequest_$setRequestHeader__Lcom_google_gwt_xhr_client_XMLHttpRequest_2Ljava_lang_String_2Ljava_lang_String_2V(this$static, header, value_0){ + this$static.setRequestHeader(header, value_0); +} + +function com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static){ + com_google_gwt_event_shared_HandlerManager$Bus_$doRemove__Lcom_google_gwt_event_shared_HandlerManager$Bus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$static.com_google_web_bindery_event_shared_SimpleEventBus$1_this$01, this$static.com_google_web_bindery_event_shared_SimpleEventBus$1_val$type2, this$static.com_google_web_bindery_event_shared_SimpleEventBus$1_val$source3, this$static.com_google_web_bindery_event_shared_SimpleEventBus$1_val$handler4); +} + +function com_google_web_bindery_event_shared_SimpleEventBus$1_SimpleEventBus$1__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$0, val$type, val$handler){ + this.com_google_web_bindery_event_shared_SimpleEventBus$1_this$01 = this$0; + this.com_google_web_bindery_event_shared_SimpleEventBus$1_val$type2 = val$type; + this.com_google_web_bindery_event_shared_SimpleEventBus$1_val$source3 = null; + this.com_google_web_bindery_event_shared_SimpleEventBus$1_val$handler4 = val$handler; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(313, 1, {}, com_google_web_bindery_event_shared_SimpleEventBus$1_SimpleEventBus$1__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1SimpleEventBus$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(313); +function com_google_web_bindery_event_shared_SimpleEventBus$2_SimpleEventBus$2__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$0, val$type, val$handler){ + this.com_google_web_bindery_event_shared_SimpleEventBus$2_this$01 = this$0; + this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$type2 = val$type; + this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$source3 = null; + this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$handler4 = val$handler; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(314, 1, {}, com_google_web_bindery_event_shared_SimpleEventBus$2_SimpleEventBus$2__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V); +_.execute__V = function(){ + com_google_web_bindery_event_shared_SimpleEventBus_$doAddNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this.com_google_web_bindery_event_shared_SimpleEventBus$2_this$01, this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$type2, this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$source3, this.com_google_web_bindery_event_shared_SimpleEventBus$2_val$handler4); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1SimpleEventBus$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(314); +function com_google_web_bindery_event_shared_SimpleEventBus$3_SimpleEventBus$3__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V(this$0, val$type, val$source, val$handler){ + this.com_google_web_bindery_event_shared_SimpleEventBus$3_this$01 = this$0; + this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$type2 = val$type; + this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$source3 = val$source; + this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$handler4 = val$handler; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(315, 1, {}, com_google_web_bindery_event_shared_SimpleEventBus$3_SimpleEventBus$3__Lcom_google_web_bindery_event_shared_SimpleEventBus_2V); +_.execute__V = function(){ + com_google_web_bindery_event_shared_SimpleEventBus_$doRemoveNow__Lcom_google_web_bindery_event_shared_SimpleEventBus_2Lcom_google_web_bindery_event_shared_Event$Type_2Ljava_lang_Object_2Ljava_lang_Object_2V(this.com_google_web_bindery_event_shared_SimpleEventBus$3_this$01, this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$type2, this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$source3, this.com_google_web_bindery_event_shared_SimpleEventBus$3_val$handler4); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1web_1bindery_1event_1shared_1SimpleEventBus$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(315); +function com_vaadin_client_AnimationUtil_$clinit__V(){ + com_vaadin_client_AnimationUtil_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_AnimationUtil_ANIMATION_1END_1EVENT_1NAME = com_vaadin_client_AnimationUtil_whichAnimationEndEvent__Ljava_lang_String_2(); + com_vaadin_client_AnimationUtil_whichAnimationProperty__Ljava_lang_String_2(); +} + +function com_vaadin_client_AnimationUtil_addAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_AnimationUtil$AnimationEndListener_2Lcom_google_gwt_core_client_JavaScriptObject_2(elem, listener){ + com_vaadin_client_AnimationUtil_$clinit__V(); + var callbackFunc = $entry(function(e){ + listener.onAnimationEnd__Lcom_google_gwt_dom_client_NativeEvent_2V(e); + } + ); + elem.addEventListener(com_vaadin_client_AnimationUtil_ANIMATION_1END_1EVENT_1NAME, callbackFunc, false); + !elem._vaadin_animationend_callbacks && (elem._vaadin_animationend_callbacks = []); + elem._vaadin_animationend_callbacks.push(callbackFunc); + return callbackFunc; +} + +function com_vaadin_client_AnimationUtil_getAnimationName__Lcom_google_gwt_dom_client_NativeEvent_2Ljava_lang_String_2(event_0){ + com_vaadin_client_AnimationUtil_$clinit__V(); + if (event_0.webkitAnimationName) + return event_0.webkitAnimationName; + else if (event_0.animationName) + return event_0.animationName; + else if (event_0.mozAnimationName) + return event_0.mozAnimationName; + else if (event_0.oAnimationName) + return event_0.oAnimationName; + return ''; +} + +function com_vaadin_client_AnimationUtil_getAnimationName__Lcom_vaadin_client_ComputedStyle_2Ljava_lang_String_2(cstyle){ + com_vaadin_client_AnimationUtil_$clinit__V(); + var cs = cstyle.com_vaadin_client_ComputedStyle_computedStyle; + if (!cs.getPropertyValue) + return ''; + if (cs.getPropertyValue('-webkit-animation-name')) + return cs.getPropertyValue('-webkit-animation-name'); + else if (cs.getPropertyValue('animation-name')) + return cs.getPropertyValue('animation-name'); + else if (cs.getPropertyValue('-moz-animation-name')) + return cs.getPropertyValue('-moz-animation-name'); + else if (cs.getPropertyValue('-o-animation-name')) + return cs.getPropertyValue('-o-animation-name'); + return ''; +} + +function com_vaadin_client_AnimationUtil_removeAllAnimationEndListeners__Lcom_google_gwt_dom_client_Element_2V(elem){ + com_vaadin_client_AnimationUtil_$clinit__V(); + if (elem._vaadin_animationend_callbacks) { + var callbacks = elem._vaadin_animationend_callbacks; + for (var i = 0; i < callbacks.length; i++) { + elem.removeEventListener(com_vaadin_client_AnimationUtil_ANIMATION_1END_1EVENT_1NAME, callbacks[i], false); + } + } +} + +function com_vaadin_client_AnimationUtil_removeAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2V(elem, listener){ + com_vaadin_client_AnimationUtil_$clinit__V(); + elem.removeEventListener(com_vaadin_client_AnimationUtil_ANIMATION_1END_1EVENT_1NAME, listener, false); +} + +function com_vaadin_client_AnimationUtil_whichAnimationEndEvent__Ljava_lang_String_2(){ + var el = document.createElement('fakeelement'); + var anims = {animationName:'animationend', OAnimationName:'oAnimationEnd', MozAnimation:'animationend', WebkitAnimation:'webkitAnimationEnd'}; + for (var a in anims) { + if (el.style[a] !== undefined) { + return anims[a]; + } + } +} + +function com_vaadin_client_AnimationUtil_whichAnimationProperty__Ljava_lang_String_2(){ + var el = document.createElement('fakeelement'); + var anims = ['animation', 'oAnimation', 'mozAnimation', 'webkitAnimation']; + for (var i = 0; i < anims.length; i++) { + if (el.style[anims[i]] !== undefined) { + return anims[i]; + } + } +} + +var com_vaadin_client_AnimationUtil_ANIMATION_1END_1EVENT_1NAME; +function com_vaadin_client_ApplicationConfiguration_$clinit__V(){ + com_vaadin_client_ApplicationConfiguration_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + new java_util_LinkedList_LinkedList__V; + com_vaadin_client_ApplicationConfiguration_runningApplications = new java_util_ArrayList_ArrayList__V; +} + +var com_vaadin_client_ApplicationConfiguration_runningApplications; +function com_vaadin_client_BrowserInfo_$clinit__V(){ + com_vaadin_client_BrowserInfo_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + var browserClassnames; + browserClassnames = com_vaadin_client_BrowserInfo_$getCSSClass__Lcom_vaadin_client_BrowserInfo_2Ljava_lang_String_2((!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance)); + com_google_gwt_user_client_ui_UIObject_$addStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()), browserClassnames); +} + +function com_vaadin_client_BrowserInfo_$detectTouchDevice__Lcom_vaadin_client_BrowserInfo_2Z(){ + try { + document.createEvent('TouchEvent'); + return true; + } + catch (e) { + return false; + } +} + +function com_vaadin_client_BrowserInfo_$getCSSClass__Lcom_vaadin_client_BrowserInfo_2Ljava_lang_String_2(this$static){ + var browserEngineClass, browserIdentifier, majorVersionClass, minorVersionClass, osClass; + if (com_vaadin_client_BrowserInfo_cssClass == null) { + browserIdentifier = ''; + majorVersionClass = ''; + minorVersionClass = ''; + browserEngineClass = ''; + if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isFirefox) { + browserIdentifier = 'ff'; + majorVersionClass = 'ff' + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion; + minorVersionClass = majorVersionClass + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMinorVersion; + browserEngineClass = 'gecko'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isChrome) { + browserIdentifier = 'sa'; + majorVersionClass = 'ch'; + browserEngineClass = 'webkit'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isSafari) { + browserIdentifier = 'sa'; + majorVersionClass = 'sa' + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion; + minorVersionClass = majorVersionClass + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMinorVersion; + browserEngineClass = 'webkit'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE) { + browserIdentifier = 'ie'; + majorVersionClass = 'ie' + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion; + minorVersionClass = majorVersionClass + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMinorVersion; + browserEngineClass = 'trident'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isOpera) { + browserIdentifier = 'op'; + majorVersionClass = 'op' + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion; + minorVersionClass = majorVersionClass + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMinorVersion; + browserEngineClass = 'presto'; + } + com_vaadin_client_BrowserInfo_cssClass = 'v-' + browserIdentifier; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('', majorVersionClass) || (com_vaadin_client_BrowserInfo_cssClass = com_vaadin_client_BrowserInfo_cssClass + ' ' + 'v-' + majorVersionClass); + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('', minorVersionClass) || (com_vaadin_client_BrowserInfo_cssClass = com_vaadin_client_BrowserInfo_cssClass + ' ' + 'v-' + minorVersionClass); + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('', browserEngineClass) || (com_vaadin_client_BrowserInfo_cssClass = com_vaadin_client_BrowserInfo_cssClass + ' ' + 'v-' + browserEngineClass); + osClass = com_vaadin_client_BrowserInfo_$getOperatingSystemClass__Lcom_vaadin_client_BrowserInfo_2Ljava_lang_String_2(this$static); + osClass != null && (com_vaadin_client_BrowserInfo_cssClass = com_vaadin_client_BrowserInfo_cssClass + ' ' + osClass); + this$static.com_vaadin_client_BrowserInfo_touchDevice && (com_vaadin_client_BrowserInfo_cssClass = com_vaadin_client_BrowserInfo_cssClass + ' ' + 'v-' + 'touch'); + } + return com_vaadin_client_BrowserInfo_cssClass; +} + +function com_vaadin_client_BrowserInfo_$getIEDocumentMode__Lcom_vaadin_client_BrowserInfo_2I(){ + var mode = $wnd.document.documentMode; + if (!mode) + return -1; + return mode; +} + +function com_vaadin_client_BrowserInfo_$getOperatingSystemClass__Lcom_vaadin_client_BrowserInfo_2Ljava_lang_String_2(this$static){ + if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_os == 5) { + return 'v-android'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_os == 4) { + return 'v-ios v-ios' + this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_osMajorVersion; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_os == 1) { + return 'v-win'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_os == 3) { + return 'v-lin'; + } + else if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_os == 2) { + return 'v-mac'; + } + return null; +} + +function com_vaadin_client_BrowserInfo_$isBrowserVersionNewerOrEqual__Lcom_vaadin_client_BrowserInfo_2IIZ(this$static){ + if (this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion == 8) { + return this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMinorVersion >= 0; + } + return this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion > 8; +} + +function com_vaadin_client_BrowserInfo_$isIE10__Lcom_vaadin_client_BrowserInfo_2Z(this$static){ + return this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE && this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion == 10; +} + +function com_vaadin_client_BrowserInfo_$isIE8__Lcom_vaadin_client_BrowserInfo_2Z(this$static){ + return this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE && this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion == 8; +} + +function com_vaadin_client_BrowserInfo_$isIE9__Lcom_vaadin_client_BrowserInfo_2Z(this$static){ + return this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE && this$static.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_browserMajorVersion == 9; +} + +function com_vaadin_client_BrowserInfo_BrowserInfo__V(){ + com_vaadin_client_BrowserInfo_$clinit__V(); + var documentMode; + this.com_vaadin_client_BrowserInfo_browserDetails = new com_vaadin_shared_VBrowserDetails_VBrowserDetails__Ljava_lang_String_2V($wnd.navigator.userAgent); + if (this.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE) { + documentMode = com_vaadin_client_BrowserInfo_$getIEDocumentMode__Lcom_vaadin_client_BrowserInfo_2I(); + documentMode != -1 && com_vaadin_shared_VBrowserDetails_$setIEMode__Lcom_vaadin_shared_VBrowserDetails_2IV(this.com_vaadin_client_BrowserInfo_browserDetails, documentMode); + } + this.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isChrome?(this.com_vaadin_client_BrowserInfo_touchDevice = 'ontouchstart' in window):this.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE?(this.com_vaadin_client_BrowserInfo_touchDevice = !!navigator.msMaxTouchPoints):(this.com_vaadin_client_BrowserInfo_touchDevice = com_vaadin_client_BrowserInfo_$detectTouchDevice__Lcom_vaadin_client_BrowserInfo_2Z()); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(31, 1, {}, com_vaadin_client_BrowserInfo_BrowserInfo__V); +_.com_vaadin_client_BrowserInfo_touchDevice = false; +var com_vaadin_client_BrowserInfo_cssClass = null, com_vaadin_client_BrowserInfo_instance; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1BrowserInfo_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(31); +function com_vaadin_client_ComputedStyle_ComputedStyle__Lcom_google_gwt_dom_client_Element_2V(elem){ + this.com_vaadin_client_ComputedStyle_computedStyle = com_vaadin_client_ComputedStyle_getComputedStyle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(elem); +} + +function com_vaadin_client_ComputedStyle_getComputedStyle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(elem){ + if (elem.nodeType != 1) { + return {}; + } + if ($wnd.document.defaultView && $wnd.document.defaultView.getComputedStyle) { + return $wnd.document.defaultView.getComputedStyle(elem, null); + } + if (elem.currentStyle) { + return elem.currentStyle; + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(166, 1, {}, com_vaadin_client_ComputedStyle_ComputedStyle__Lcom_google_gwt_dom_client_Element_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ComputedStyle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(166); +function com_vaadin_client_Util_findConnectorFor__Lcom_google_gwt_user_client_ui_Widget_2Lcom_vaadin_client_ComponentConnector_2(){ + var applicationConnection$iterator, runningApplications; + runningApplications = (com_vaadin_client_ApplicationConfiguration_$clinit__V() , com_vaadin_client_ApplicationConfiguration_$clinit__V() , com_vaadin_client_ApplicationConfiguration_runningApplications); + for (applicationConnection$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(runningApplications); applicationConnection$iterator.java_util_AbstractList$IteratorImpl_i < applicationConnection$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(applicationConnection$iterator.java_util_AbstractList$IteratorImpl_i < applicationConnection$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()); + applicationConnection$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(applicationConnection$iterator.java_util_AbstractList$IteratorImpl_last = applicationConnection$iterator.java_util_AbstractList$IteratorImpl_i++); + null.nullMethod(); + null.nullMethod(); + continue; + } + return null; +} + +function com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(this$static, cmd){ + ++this$static.com_vaadin_client_VSchedulerImpl_deferredCommandTrackers; + this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands = com_google_gwt_core_client_impl_SchedulerImpl_push__Lcom_google_gwt_core_client_JsArray_2Lcom_google_gwt_core_client_impl_SchedulerImpl$Task_2Lcom_google_gwt_core_client_JsArray_2(this$static.com_google_gwt_core_client_impl_SchedulerImpl_deferredCommands, [cmd, false]); + com_google_gwt_core_client_impl_SchedulerImpl_$maybeSchedulePostEventPumpCommands__Lcom_google_gwt_core_client_impl_SchedulerImpl_2V(this$static); + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleDeferred__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(this$static, new com_vaadin_client_VSchedulerImpl$1_VSchedulerImpl$1__Lcom_vaadin_client_VSchedulerImpl_2V(this$static)); +} + +function com_vaadin_client_VSchedulerImpl_VSchedulerImpl__V(){ + this.com_vaadin_client_VSchedulerImpl_deferredCommandTrackers = 0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(441, 411, {}, com_vaadin_client_VSchedulerImpl_VSchedulerImpl__V); +_.com_vaadin_client_VSchedulerImpl_deferredCommandTrackers = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1VSchedulerImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(441); +function com_vaadin_client_VSchedulerImpl$1_VSchedulerImpl$1__Lcom_vaadin_client_VSchedulerImpl_2V(this$0){ + this.com_vaadin_client_VSchedulerImpl$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(442, 1, {}, com_vaadin_client_VSchedulerImpl$1_VSchedulerImpl$1__Lcom_vaadin_client_VSchedulerImpl_2V); +_.execute__V = function(){ + --this.com_vaadin_client_VSchedulerImpl$1_this$01.com_vaadin_client_VSchedulerImpl_deferredCommandTrackers; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1VSchedulerImpl$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(442); +function com_vaadin_client_WidgetUtil_$clinit__V(){ + com_vaadin_client_WidgetUtil_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); +} + +function com_vaadin_client_WidgetUtil_findWidget__Lcom_google_gwt_dom_client_Element_2Ljava_lang_Class_2Ljava_lang_Object_2(element){ + com_vaadin_client_WidgetUtil_$clinit__V(); + var eventListener, w; + if (element) { + eventListener = null; + while (!eventListener && !!element) { + eventListener = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_getEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2(element)); + !eventListener && (element = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , element))); + } + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(eventListener, 17)) { + w = eventListener; + while (w) { + return w; + } + } + } + return null; +} + +function com_vaadin_client_WidgetUtil_forceIERedraw__Lcom_google_gwt_dom_client_Element_2V(e){ + var com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_style_0, com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_currentValue_0; + com_vaadin_client_WidgetUtil_$clinit__V(); + (com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE && (com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_style_0 = e.style , com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_currentValue_0 = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_style_0)['zoom'] , com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_style_0, 'zoom', '1') , com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(e) | 0 , com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_style_0, 'zoom', com_vaadin_client_WidgetUtil_setStyleTemporarily__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V_currentValue_0) , undefined); +} + +function com_vaadin_client_WidgetUtil_getElementFromPoint__IILcom_google_gwt_dom_client_Element_2(clientX, clientY){ + com_vaadin_client_WidgetUtil_$clinit__V(); + var el = $wnd.document.elementFromPoint(clientX, clientY); + el = $wnd.document.elementFromPoint(clientX, clientY); + el != null && el.nodeType == 3 && (el = el.parentNode); + return el; +} + +function com_vaadin_client_WidgetUtil_getFocusedElement__Lcom_google_gwt_dom_client_Element_2(){ + com_vaadin_client_WidgetUtil_$clinit__V(); + if ($wnd.document.activeElement) { + return $wnd.document.activeElement; + } + return null; +} + +function com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I(){ + com_vaadin_client_WidgetUtil_$clinit__V(); + var scroller; + if (com_vaadin_client_WidgetUtil_detectedScrollbarSize < 0) { + scroller = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(scroller.style, 'width', '50px'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(scroller.style, 'height', '50px'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(scroller.style, 'overflow', 'scroll'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(scroller.style, 'position', 'absolute'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(scroller.style, 'marginLeft', '-5000px'); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(com_google_gwt_user_client_ui_RootPanel_getBodyElement__Lcom_google_gwt_user_client_Element_2(), scroller); + com_vaadin_client_WidgetUtil_detectedScrollbarSize = (com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(scroller) | 0) - com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(scroller, 'clientWidth'); + com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(com_google_gwt_user_client_ui_RootPanel_getBodyElement__Lcom_google_gwt_user_client_Element_2(), scroller); + } + return com_vaadin_client_WidgetUtil_detectedScrollbarSize; +} + +function com_vaadin_client_WidgetUtil_getRequiredHeightBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(element){ + com_vaadin_client_WidgetUtil_$clinit__V(); + var height; + if (element.getBoundingClientRect != null) { + var rect = element.getBoundingClientRect(); + height = Math.ceil(rect.bottom - rect.top); + } + else { + height = element.offsetHeight; + } + return height; +} + +function com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(element){ + com_vaadin_client_WidgetUtil_$clinit__V(); + if (element.getBoundingClientRect) { + var rect = element.getBoundingClientRect(); + return Math.ceil(rect.right - rect.left); + } + else { + return element.offsetWidth; + } +} + +function com_vaadin_client_WidgetUtil_pixelValuesEqual__DDZ(num1, num2){ + com_vaadin_client_WidgetUtil_$clinit__V(); + return (num1 - num2 <= 0?0 - (num1 - num2):num1 - num2) <= 0.49; +} + +var com_vaadin_client_WidgetUtil_detectedScrollbarSize = -1; +function com_vaadin_client_data_AbstractRemoteDataSource_$checkCacheCoverage__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static){ + var minCacheRange, missingCachePartition, com_vaadin_client_data_AbstractRemoteDataSource_$getMinCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2_availableDataRange_0; + if (this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback) { + return; + } + minCacheRange = (com_vaadin_client_data_AbstractRemoteDataSource_$getMinCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2_availableDataRange_0 = com_vaadin_client_data_AbstractRemoteDataSource_$getAvailableRangeForCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static) , com_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_$getMinCacheRange__Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cacheStrategy, this$static.com_vaadin_client_data_AbstractRemoteDataSource_requestedAvailability, com_vaadin_client_data_AbstractRemoteDataSource_$getMinCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2_availableDataRange_0)); + if (!com_vaadin_shared_ui_grid_Range_$intersects__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Z(minCacheRange, this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached) || com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)) { + this$static.com_vaadin_client_data_AbstractRemoteDataSource_indexToRowMap.clear__V(); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.clear__V(); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = new com_vaadin_shared_ui_grid_Range_Range__IIV(0, 0); + com_vaadin_client_data_AbstractRemoteDataSource_$handleMissingRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, com_vaadin_client_data_AbstractRemoteDataSource_$getMaxCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static)); + } + else { + com_vaadin_client_data_AbstractRemoteDataSource_$discardStaleCacheEntries__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static); + if (com_vaadin_shared_ui_grid_Range_$isSubsetOf__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Z(minCacheRange, this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)) { + com_vaadin_client_widgets_Grid$6_$dataAvailable__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler, this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached.com_vaadin_shared_ui_grid_Range_start, com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)); + } + else { + missingCachePartition = com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(com_vaadin_client_data_AbstractRemoteDataSource_$getMaxCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static), this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached); + com_vaadin_client_data_AbstractRemoteDataSource_$handleMissingRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, missingCachePartition[0]); + com_vaadin_client_data_AbstractRemoteDataSource_$handleMissingRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, missingCachePartition[2]); + } + } +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$discardStaleCacheEntries__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static){ + var cacheParition; + cacheParition = com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached, com_vaadin_client_data_AbstractRemoteDataSource_$getMaxCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static)); + com_vaadin_client_data_AbstractRemoteDataSource_$dropFromCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, cacheParition[0]); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = cacheParition[1]; + com_vaadin_client_data_AbstractRemoteDataSource_$dropFromCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, cacheParition[2]); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$dropFromCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, range){ + var i, removed; + for (i = range.com_vaadin_shared_ui_grid_Range_start; i < range.com_vaadin_shared_ui_grid_Range_end; i++) { + removed = this$static.com_vaadin_client_data_AbstractRemoteDataSource_indexToRowMap.remove__Ljava_lang_Object_2Ljava_lang_Object_2(java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.remove__Ljava_lang_Object_2Ljava_lang_Object_2(this$static.getRowKey__Ljava_lang_Object_2Ljava_lang_Object_2(removed)); + } +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$ensureCoverageCheck__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static){ + if (!this$static.com_vaadin_client_data_AbstractRemoteDataSource_coverageCheckPending) { + this$static.com_vaadin_client_data_AbstractRemoteDataSource_coverageCheckPending = true; + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this$static.com_vaadin_client_data_AbstractRemoteDataSource_coverageChecker); + } +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$getAvailableRangeForCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static){ + var upperBound; + upperBound = this$static.size__I(); + upperBound == -1 && (upperBound = com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this$static.com_vaadin_client_data_AbstractRemoteDataSource_requestedAvailability)); + return com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, upperBound); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$getMaxCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static){ + var availableDataRange, maxCacheRange; + availableDataRange = com_vaadin_client_data_AbstractRemoteDataSource_$getAvailableRangeForCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static); + maxCacheRange = com_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_$getMaxCacheRange__Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cacheStrategy, this$static.com_vaadin_client_data_AbstractRemoteDataSource_requestedAvailability, availableDataRange); + return maxCacheRange; +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$handleMissingRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, range){ + if (range.com_vaadin_shared_ui_grid_Range_start >= range.com_vaadin_shared_ui_grid_Range_end) { + return; + } + this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback = new com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_AbstractRemoteDataSource$RequestRowsCallback__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V; + this$static.requestRows__IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V(range.com_vaadin_shared_ui_grid_Range_start, range.com_vaadin_shared_ui_grid_Range_end - range.com_vaadin_shared_ui_grid_Range_start, this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$pinHandle__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2V(this$static, handle){ + var count, key; + key = handle.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key; + count = this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (!count) { + count = java_lang_Integer_valueOf__ILjava_lang_Integer_2(0); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(key, handle); + } + this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(key, java_lang_Integer_valueOf__ILjava_lang_Integer_2(count.java_lang_Integer_value + 1)); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$resetDataAndSize__Lcom_vaadin_client_data_AbstractRemoteDataSource_2IV(this$static, newSize){ + this$static.com_vaadin_client_data_AbstractRemoteDataSource_size = newSize; + com_vaadin_client_data_AbstractRemoteDataSource_$dropFromCache__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, 0); + com_vaadin_client_widgets_Grid$6_$resetDataAndSize__Lcom_vaadin_client_widgets_Grid$6_2IV(this$static.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler, newSize); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$setRowData__Lcom_vaadin_client_data_AbstractRemoteDataSource_2ILjava_util_List_2V(this$static, firstRowIndex, rowData){ + var i, maxCacheRange, newUsefulData, partition, received, row; + received = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(firstRowIndex, rowData.java_util_Arrays$ArrayList_array.length); + if (this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback) { + com_google_gwt_core_client_JsDate_now__D() - this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback.com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_requestStart; + this$static.com_vaadin_client_data_AbstractRemoteDataSource_currentRequestCallback = null; + } + maxCacheRange = com_vaadin_client_data_AbstractRemoteDataSource_$getMaxCacheRange__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2(this$static); + partition = com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(received, maxCacheRange); + newUsefulData = partition[1]; + if (newUsefulData.com_vaadin_shared_ui_grid_Range_start < newUsefulData.com_vaadin_shared_ui_grid_Range_end) { + for (i = newUsefulData.com_vaadin_shared_ui_grid_Range_start; i < newUsefulData.com_vaadin_shared_ui_grid_Range_end; i++) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(i - firstRowIndex, rowData.java_util_Arrays$ArrayList_array.length) , rowData.java_util_Arrays$ArrayList_array[i - firstRowIndex]); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_indexToRowMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(java_lang_Integer_valueOf__ILjava_lang_Integer_2(i), row); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.getRowKey__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(row), java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + } + !!this$static.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler && com_vaadin_client_widgets_Grid$6_$dataUpdated__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler, newUsefulData.com_vaadin_shared_ui_grid_Range_start, newUsefulData.com_vaadin_shared_ui_grid_Range_end - newUsefulData.com_vaadin_shared_ui_grid_Range_start); + if (com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)) { + this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = newUsefulData; + } + else { + com_vaadin_client_data_AbstractRemoteDataSource_$discardStaleCacheEntries__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static); + com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)?(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = newUsefulData):(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached = com_vaadin_shared_ui_grid_Range_$combineWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached, newUsefulData)); + } + com_vaadin_client_widgets_Grid$6_$dataAvailable__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler, this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached.com_vaadin_shared_ui_grid_Range_start, com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this$static.com_vaadin_client_data_AbstractRemoteDataSource_cached)); + com_vaadin_client_data_AbstractRemoteDataSource_$updatePinnedRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Ljava_util_List_2V(this$static, rowData); + } + !com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(partition[0]) || !com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(partition[2]); + com_vaadin_client_data_AbstractRemoteDataSource_$ensureCoverageCheck__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$static); +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$unpinHandle__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2V(this$static, handle){ + var count, key; + key = handle.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key; + count = this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (!count) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Row ' + com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_$getRow__Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2Ljava_lang_Object_2(handle) + ' with key ' + key + ' was not pinned to begin with'); + } + else if (java_lang_Integer_$equals__Ljava_lang_Integer_2Ljava_lang_Object_2Z(count, java_lang_Integer_valueOf__ILjava_lang_Integer_2(1))) { + this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.remove__Ljava_lang_Object_2Ljava_lang_Object_2(key); + this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts.remove__Ljava_lang_Object_2Ljava_lang_Object_2(key); + } + else { + this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(key, java_lang_Integer_valueOf__ILjava_lang_Integer_2(count.java_lang_Integer_value - 1)); + } +} + +function com_vaadin_client_data_AbstractRemoteDataSource_$updatePinnedRows__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Ljava_util_List_2V(this$static, rowData){ + var handle, key, row, row$iterator; + for (row$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(rowData); row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , row$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(row$iterator.java_util_AbstractList$IteratorImpl_last = row$iterator.java_util_AbstractList$IteratorImpl_i++)); + key = this$static.getRowKey__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(row); + handle = this$static.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + !!handle && (handle.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_row = row); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(284, 1, {}); +_.ensureAvailability__IIV = function(firstRowIndex, numberOfRows){ + this.com_vaadin_client_data_AbstractRemoteDataSource_requestedAvailability = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(firstRowIndex, numberOfRows); + com_vaadin_client_data_AbstractRemoteDataSource_$ensureCoverageCheck__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this); +} +; +_.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2 = function(row){ + var key; + key = this.getRowKey__Ljava_lang_Object_2Ljava_lang_Object_2(row); + if (key == null) { + throw new java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V('key may not be null (row: ' + row + ')'); + } + if (this.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.containsKey__Ljava_lang_Object_2Z(key)) { + return this.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + } + else if (this.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.containsKey__Ljava_lang_Object_2Z(key)) { + return new com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_AbstractRemoteDataSource$RowHandleImpl__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Ljava_lang_Object_2Ljava_lang_Object_2V(this, row, key); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('The cache of this DataSource does not currently contain the row ' + row); + } +} +; +_.getRow__ILjava_lang_Object_2 = function(rowIndex){ + return this.com_vaadin_client_data_AbstractRemoteDataSource_indexToRowMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(java_lang_Integer_valueOf__ILjava_lang_Integer_2(rowIndex)); +} +; +_.indexOf__Ljava_lang_Object_2I = function(row){ + var key; + key = this.getRowKey__Ljava_lang_Object_2Ljava_lang_Object_2(row); + if (this.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.containsKey__Ljava_lang_Object_2Z(key)) { + return this.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(key).java_lang_Integer_value; + } + return -1; +} +; +_.setDataChangeHandler__Lcom_vaadin_client_data_DataChangeHandler_2V = function(dataChangeHandler){ + this.com_vaadin_client_data_AbstractRemoteDataSource_dataChangeHandler = dataChangeHandler; + if (!!dataChangeHandler && !com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(this.com_vaadin_client_data_AbstractRemoteDataSource_cached)) { + com_vaadin_client_widgets_Grid$6_$dataUpdated__Lcom_vaadin_client_widgets_Grid$6_2IIV(dataChangeHandler, this.com_vaadin_client_data_AbstractRemoteDataSource_cached.com_vaadin_shared_ui_grid_Range_start, com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this.com_vaadin_client_data_AbstractRemoteDataSource_cached)); + com_vaadin_client_widgets_Grid$6_$dataAvailable__Lcom_vaadin_client_widgets_Grid$6_2IIV(dataChangeHandler, this.com_vaadin_client_data_AbstractRemoteDataSource_cached.com_vaadin_shared_ui_grid_Range_start, com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this.com_vaadin_client_data_AbstractRemoteDataSource_cached)); + } +} +; +_.size__I = function(){ + return this.com_vaadin_client_data_AbstractRemoteDataSource_size; +} +; +_.com_vaadin_client_data_AbstractRemoteDataSource_coverageCheckPending = false; +_.com_vaadin_client_data_AbstractRemoteDataSource_size = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1AbstractRemoteDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(284); +function com_vaadin_client_data_AbstractRemoteDataSource$1_AbstractRemoteDataSource$1__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this$0){ + this.com_vaadin_client_data_AbstractRemoteDataSource$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(289, 1, {}, com_vaadin_client_data_AbstractRemoteDataSource$1_AbstractRemoteDataSource$1__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V); +_.execute__V = function(){ + this.com_vaadin_client_data_AbstractRemoteDataSource$1_this$01.com_vaadin_client_data_AbstractRemoteDataSource_coverageCheckPending = false; + com_vaadin_client_data_AbstractRemoteDataSource_$checkCacheCoverage__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this.com_vaadin_client_data_AbstractRemoteDataSource$1_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1AbstractRemoteDataSource$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(289); +function com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_AbstractRemoteDataSource$RequestRowsCallback__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V(){ + this.com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_requestStart = com_google_gwt_core_client_JsDate_now__D(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(288, 1, {}, com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_AbstractRemoteDataSource$RequestRowsCallback__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_shared_ui_grid_Range_2V); +_.com_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_requestStart = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1AbstractRemoteDataSource$RequestRowsCallback_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(288); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(538, 1, {}); +_.equals__Ljava_lang_Object_2Z$ = function(obj){ + return this.equalsExplicit__Ljava_lang_Object_2Z(obj); +} +; +_.hashCode__I$ = function(){ + return this.hashCodeExplicit__I(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1DataSource$RowHandle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(538); +function com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_$getRow__Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2Ljava_lang_Object_2(this$static){ + if (this$static.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_this$01.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows.containsKey__Ljava_lang_Object_2Z(this$static.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key)) { + return this$static.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_row; + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('The row handle for key ' + this$static.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key + ' was not pinned'); + } +} + +function com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_AbstractRemoteDataSource$RowHandleImpl__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$0, row, key){ + this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_this$01 = this$0; + this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_row = row; + this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key = key; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(107, 538, {107:1}, com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_AbstractRemoteDataSource$RowHandleImpl__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Ljava_lang_Object_2Ljava_lang_Object_2V); +_.equalsExplicit__Ljava_lang_Object_2Z = function(obj){ + var rhi; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(obj, 107)) { + rhi = obj; + return java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key, rhi.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key); + } + else { + return false; + } +} +; +_.getRow__Ljava_lang_Object_2 = function(){ + return com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_$getRow__Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2Ljava_lang_Object_2(this); +} +; +_.hashCodeExplicit__I = function(){ + return java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_key); +} +; +_.pin__V = function(){ + com_vaadin_client_data_AbstractRemoteDataSource_$pinHandle__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2V(this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_this$01, this); +} +; +_.unpin__V = function(){ + com_vaadin_client_data_AbstractRemoteDataSource_$unpinHandle__Lcom_vaadin_client_data_AbstractRemoteDataSource_2Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2V(this.com_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_this$01, this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1AbstractRemoteDataSource$RowHandleImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(107); +function com_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_$getMaxCacheRange__Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static, displayedRange, estimatedAvailableRange){ + var cacheSize; + cacheSize = com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_$getMaximumCacheSize__Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2II(this$static, displayedRange.com_vaadin_shared_ui_grid_Range_end - displayedRange.com_vaadin_shared_ui_grid_Range_start); + return com_vaadin_shared_ui_grid_Range_$restrictTo__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(new com_vaadin_shared_ui_grid_Range_Range__IIV(displayedRange.com_vaadin_shared_ui_grid_Range_start - cacheSize, displayedRange.com_vaadin_shared_ui_grid_Range_end + cacheSize), estimatedAvailableRange); +} + +function com_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_$getMinCacheRange__Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static, displayedRange, estimatedAvailableRange){ + var cacheSize; + cacheSize = com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_$getMinimumCacheSize__Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2II(this$static, displayedRange.com_vaadin_shared_ui_grid_Range_end - displayedRange.com_vaadin_shared_ui_grid_Range_start); + return com_vaadin_shared_ui_grid_Range_$restrictTo__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(new com_vaadin_shared_ui_grid_Range_Range__IIV(displayedRange.com_vaadin_shared_ui_grid_Range_start - cacheSize, displayedRange.com_vaadin_shared_ui_grid_Range_end + cacheSize), estimatedAvailableRange); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(552, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1CacheStrategy$AbstractBasicSymmetricalCacheStrategy_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(552); +function com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_$getMaximumCacheSize__Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2II(this$static, pageSize){ + return pageSize * this$static.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_maximumRatio; +} + +function com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_$getMinimumCacheSize__Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2II(this$static, pageSize){ + return pageSize * this$static.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_minimumRatio; +} + +function com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_CacheStrategy$DefaultCacheStrategy__V(){ + this.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_minimumRatio = 3; + this.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_maximumRatio = 4; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(160, 552, {}, com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_CacheStrategy$DefaultCacheStrategy__V); +_.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_maximumRatio = 0; +_.com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_minimumRatio = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1data_1CacheStrategy$DefaultCacheStrategy_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(160); +function com_vaadin_client_renderers_ComplexRenderer_$setContentVisible__Lcom_vaadin_client_renderers_ComplexRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2ZV(cell, hasData){ + var cellElement, e, n, node; + cellElement = cell.com_vaadin_client_widget_grid_RendererCellReference_cell.com_vaadin_client_widget_escalator_FlyweightCell_element; + for (n = 0; n < cellElement.childNodes.length; n++) { + node = cellElement.childNodes[n]; + if (!!node && node.nodeType == 1) { + e = node; + hasData?com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'visibility', ''):com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'visibility', (com_google_gwt_dom_client_Style$Visibility_$clinit__V() , 'hidden')); + } + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(66, 1, {66:1}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1renderers_1ComplexRenderer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(66); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(259, 100, $intern_34); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1SimpleFocusablePanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(259); +function com_vaadin_client_ui_VLazyExecutor_$trigger__Lcom_vaadin_client_ui_VLazyExecutor_2V(this$static){ + !this$static.com_vaadin_client_ui_VLazyExecutor_timer && (this$static.com_vaadin_client_ui_VLazyExecutor_timer = new com_vaadin_client_ui_VLazyExecutor$1_VLazyExecutor$1__Lcom_vaadin_client_ui_VLazyExecutor_2V(this$static)); + com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static.com_vaadin_client_ui_VLazyExecutor_timer, this$static.com_vaadin_client_ui_VLazyExecutor_delayMs); +} + +function com_vaadin_client_ui_VLazyExecutor_VLazyExecutor__ILcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(cmd){ + this.com_vaadin_client_ui_VLazyExecutor_delayMs = 100; + this.com_vaadin_client_ui_VLazyExecutor_cmd = cmd; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(414, 1, {}, com_vaadin_client_ui_VLazyExecutor_VLazyExecutor__ILcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V); +_.com_vaadin_client_ui_VLazyExecutor_delayMs = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VLazyExecutor_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(414); +function com_vaadin_client_ui_VLazyExecutor$1_VLazyExecutor$1__Lcom_vaadin_client_ui_VLazyExecutor_2V(this$0){ + this.com_vaadin_client_ui_VLazyExecutor$1_this$01 = this$0; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(415, 39, {}, com_vaadin_client_ui_VLazyExecutor$1_VLazyExecutor$1__Lcom_vaadin_client_ui_VLazyExecutor_2V); +_.run__V = function(){ + this.com_vaadin_client_ui_VLazyExecutor$1_this$01.com_vaadin_client_ui_VLazyExecutor_timer = null; + com_vaadin_client_ui_VSlider$2_$execute__Lcom_vaadin_client_ui_VSlider$2_2V(this.com_vaadin_client_ui_VLazyExecutor$1_this$01.com_vaadin_client_ui_VLazyExecutor_cmd); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VLazyExecutor$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(415); +function com_vaadin_client_ui_VOverlay_$getApplicationConnection__Lcom_vaadin_client_ui_VOverlay_2Lcom_vaadin_client_ApplicationConnection_2(this$static){ + if (this$static.com_vaadin_client_ui_VOverlay_owner) { + com_vaadin_client_Util_findConnectorFor__Lcom_google_gwt_user_client_ui_Widget_2Lcom_vaadin_client_ComponentConnector_2(); + return this$static.com_vaadin_client_ui_VOverlay_ac; + } + else { + return null; + } +} + +function com_vaadin_client_ui_VOverlay_$getShimElement__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_dom_client_IFrameElement_2(this$static){ + if (!this$static.com_vaadin_client_ui_VOverlay_shimElement && com_vaadin_client_ui_VOverlay_$needsShimElement__Lcom_vaadin_client_ui_VOverlay_2Z()) { + this$static.com_vaadin_client_ui_VOverlay_shimElement = com_google_gwt_dom_client_Document_$createIFrameElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_IFrameElement_2($doc); + this$static.com_vaadin_client_ui_VOverlay_shimElement.style['position'] = (com_google_gwt_dom_client_Style$Position_$clinit__V() , 'absolute'); + this$static.com_vaadin_client_ui_VOverlay_shimElement.style['borderStyle'] = (com_google_gwt_dom_client_Style$BorderStyle_$clinit__V() , 'none'); + com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV(this$static.com_vaadin_client_ui_VOverlay_shimElement, -1); + this$static.com_vaadin_client_ui_VOverlay_shimElement.frameBorder = 0; + this$static.com_vaadin_client_ui_VOverlay_shimElement.marginHeight = 0; + } + return this$static.com_vaadin_client_ui_VOverlay_shimElement; +} + +function com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this$static, autoClosed){ + var animationName, cs; + if (com_vaadin_client_BrowserInfo_$isIE8__Lcom_vaadin_client_BrowserInfo_2Z((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance)) || com_vaadin_client_BrowserInfo_$isIE9__Lcom_vaadin_client_BrowserInfo_2Z((!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance))) { + com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static); + } + else { + if ((com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element))).className || '').indexOf('animate-in') != -1) { + com_vaadin_client_AnimationUtil_addAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_AnimationUtil$AnimationEndListener_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static.com_google_gwt_user_client_ui_UIObject_element, new com_vaadin_client_ui_VOverlay$2_VOverlay$2__Lcom_vaadin_client_ui_VOverlay_2V(this$static, autoClosed)); + } + else { + com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_UIObject_element))) + '-' + 'animate-out', true); + !!this$static.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-out'); + cs = new com_vaadin_client_ComputedStyle_ComputedStyle__Lcom_google_gwt_dom_client_Element_2V(this$static.com_google_gwt_user_client_ui_UIObject_element); + animationName = com_vaadin_client_AnimationUtil_getAnimationName__Lcom_vaadin_client_ComputedStyle_2Ljava_lang_String_2(cs); + animationName == null && (animationName = ''); + if (animationName.indexOf('animate-out') != -1) { + this$static.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = false; + com_vaadin_client_AnimationUtil_addAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_AnimationUtil$AnimationEndListener_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static.com_google_gwt_user_client_ui_UIObject_element, new com_vaadin_client_ui_VOverlay$3_VOverlay$3__Lcom_vaadin_client_ui_VOverlay_2V(this$static, autoClosed)); + this$static.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = false; + } + else { + com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_UIObject_element))) + '-' + 'animate-out', false); + !!this$static.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-out'); + com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static); + } + } + } +} + +function com_vaadin_client_ui_VOverlay_$maybeShowWithAnimation__Lcom_vaadin_client_ui_VOverlay_2Z(this$static){ + var animationName, cs, isAttached; + isAttached = this$static.com_google_gwt_user_client_ui_Widget_attached && this$static.com_google_gwt_user_client_ui_PopupPanel_showing; + com_google_gwt_user_client_ui_PopupPanel_$show__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static); + if (isAttached || com_vaadin_client_BrowserInfo_$isIE8__Lcom_vaadin_client_BrowserInfo_2Z((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance)) || com_vaadin_client_BrowserInfo_$isIE9__Lcom_vaadin_client_BrowserInfo_2Z((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance))) { + return false; + } + else { + com_vaadin_client_ui_VOverlay_$setVisible__Lcom_vaadin_client_ui_VOverlay_2ZV(this$static, false); + com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element)))) + '-' + 'animate-in', true); + !!this$static.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-in'); + cs = new com_vaadin_client_ComputedStyle_ComputedStyle__Lcom_google_gwt_dom_client_Element_2V(this$static.com_google_gwt_user_client_ui_UIObject_element); + animationName = com_vaadin_client_AnimationUtil_getAnimationName__Lcom_vaadin_client_ComputedStyle_2Ljava_lang_String_2(cs); + animationName == null && (animationName = ''); + com_vaadin_client_ui_VOverlay_$setVisible__Lcom_vaadin_client_ui_VOverlay_2ZV(this$static, true); + if (animationName.indexOf('animate-in') != -1) { + this$static.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = false; + this$static.com_vaadin_client_ui_VOverlay_animateInListener = com_vaadin_client_AnimationUtil_addAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_AnimationUtil$AnimationEndListener_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static.com_google_gwt_user_client_ui_UIObject_element, new com_vaadin_client_ui_VOverlay$1_VOverlay$1__Lcom_vaadin_client_ui_VOverlay_2V(this$static)); + return true; + } + else { + com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_UIObject_element))) + '-' + 'animate-in', false); + !!this$static.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-in'); + return false; + } + } +} + +function com_vaadin_client_ui_VOverlay_$needsShimElement__Lcom_vaadin_client_ui_VOverlay_2Z(){ + var info; + info = (com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance); + return info.com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE && com_vaadin_client_BrowserInfo_$isBrowserVersionNewerOrEqual__Lcom_vaadin_client_BrowserInfo_2IIZ(info); +} + +function com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this$static, progress){ + var container, positionAndSize, zIndex, com_vaadin_client_ui_VOverlay_$getActualLeft__Lcom_vaadin_client_ui_VOverlay_2I_x_0, com_vaadin_client_ui_VOverlay_$getActualTop__Lcom_vaadin_client_ui_VOverlay_2I_y_0; + if (!this$static.com_google_gwt_user_client_ui_Widget_attached) { + return; + } + try { + zIndex = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(com_google_gwt_dom_client_Style_$getZIndex__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style)); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) { + zIndex = 1000; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + zIndex == -1 && (zIndex = com_vaadin_client_ui_VOverlay_Z_1INDEX); + if ((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isIE) { + com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), 'offsetHeight'); + com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_google_gwt_user_client_ui_UIObject_element, 'offsetWidth'); + } + if (!!this$static.com_vaadin_client_ui_VOverlay_shadow || com_vaadin_client_ui_VOverlay_$needsShimElement__Lcom_vaadin_client_ui_VOverlay_2Z()) { + positionAndSize = new com_vaadin_client_ui_VOverlay$PositionAndSize_VOverlay$PositionAndSize__IIIIV((com_vaadin_client_ui_VOverlay_$getActualLeft__Lcom_vaadin_client_ui_VOverlay_2I_x_0 = com_google_gwt_dom_client_Element_$getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element)) , com_vaadin_client_ui_VOverlay_$getActualLeft__Lcom_vaadin_client_ui_VOverlay_2I_x_0 -= com_google_gwt_dom_client_Document_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_Document_2I($doc) , com_vaadin_client_ui_VOverlay_$getActualLeft__Lcom_vaadin_client_ui_VOverlay_2I_x_0 -= (com_vaadin_client_ui_VOverlay_leftFix == -1 && (com_vaadin_client_ui_VOverlay_leftFix = com_vaadin_client_ui_VOverlay_detectRelativeBodyFixes__Ljava_lang_String_2I('left')) , com_vaadin_client_ui_VOverlay_leftFix) , com_vaadin_client_ui_VOverlay_$getActualLeft__Lcom_vaadin_client_ui_VOverlay_2I_x_0), (com_vaadin_client_ui_VOverlay_$getActualTop__Lcom_vaadin_client_ui_VOverlay_2I_y_0 = com_google_gwt_dom_client_Element_$getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_UIObject_element) , com_vaadin_client_ui_VOverlay_$getActualTop__Lcom_vaadin_client_ui_VOverlay_2I_y_0 -= com_google_gwt_dom_client_Document_$getBodyOffsetTop__Lcom_google_gwt_dom_client_Document_2I($doc) , com_vaadin_client_ui_VOverlay_$getActualTop__Lcom_vaadin_client_ui_VOverlay_2I_y_0 -= (com_vaadin_client_ui_VOverlay_topFix == -1 && (com_vaadin_client_ui_VOverlay_topFix = com_vaadin_client_ui_VOverlay_detectRelativeBodyFixes__Ljava_lang_String_2I('top')) , com_vaadin_client_ui_VOverlay_topFix) , com_vaadin_client_ui_VOverlay_$getActualTop__Lcom_vaadin_client_ui_VOverlay_2I_y_0), com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_google_gwt_user_client_ui_UIObject_element, 'offsetWidth'), com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_google_gwt_user_client_ui_UIObject_element, 'offsetHeight')); + positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_left += com_google_gwt_lang_Cast_round_1int__DI(positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_width * (1 - progress) / 2); + positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_top += com_google_gwt_lang_Cast_round_1int__DI(positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_height * (1 - progress) / 2); + positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_width = com_google_gwt_lang_Cast_round_1int__DI(positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_width * progress); + positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_height = com_google_gwt_lang_Cast_round_1int__DI(positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_height * progress); + container = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_google_gwt_user_client_ui_UIObject_element); + if (this$static.com_vaadin_client_ui_VOverlay_shadow) { + com_vaadin_client_ui_VOverlay_$updateShadowPosition__Lcom_vaadin_client_ui_VOverlay_2DILcom_vaadin_client_ui_VOverlay$PositionAndSize_2V(this$static, progress, zIndex, positionAndSize); + !com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow) && com_google_gwt_dom_client_Node_$insertBefore__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(container, this$static.com_vaadin_client_ui_VOverlay_shadow, this$static.com_google_gwt_user_client_ui_UIObject_element); + } + if (com_vaadin_client_ui_VOverlay_$needsShimElement__Lcom_vaadin_client_ui_VOverlay_2Z()) { + com_vaadin_client_ui_VOverlay_$updatePositionAndSize__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2V(com_vaadin_client_ui_VOverlay_$getShimElement__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_dom_client_IFrameElement_2(this$static), positionAndSize); + !com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shimElement) && com_google_gwt_dom_client_Node_$insertBefore__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(container, this$static.com_vaadin_client_ui_VOverlay_shimElement, this$static.com_google_gwt_user_client_ui_UIObject_element); + } + } + (com_vaadin_client_BrowserInfo_$isIE9__Lcom_vaadin_client_BrowserInfo_2Z((!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance)) || com_vaadin_client_BrowserInfo_$isIE10__Lcom_vaadin_client_BrowserInfo_2Z((!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance))) && com_vaadin_client_WidgetUtil_forceIERedraw__Lcom_google_gwt_dom_client_Element_2V((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element)); +} + +function com_vaadin_client_ui_VOverlay_$removeShadowIfPresent__Lcom_vaadin_client_ui_VOverlay_2V(this$static){ + if (!!this$static.com_vaadin_client_ui_VOverlay_shadow && !!com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow)) { + com_vaadin_client_ui_VOverlay_$unsinkShadowEvents__Lcom_vaadin_client_ui_VOverlay_2V(this$static); + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(this$static.com_vaadin_client_ui_VOverlay_shadow); + } +} + +function com_vaadin_client_ui_VOverlay_$setOwner__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, owner){ + this$static.com_vaadin_client_ui_VOverlay_owner = owner; +} + +function com_vaadin_client_ui_VOverlay_$setPopupPosition__Lcom_vaadin_client_ui_VOverlay_2IIV(this$static, left, top_0){ + var style; + style = (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style; + style['marginLeft'] = (com_vaadin_client_ui_VOverlay_leftFix == -1 && (com_vaadin_client_ui_VOverlay_leftFix = com_vaadin_client_ui_VOverlay_detectRelativeBodyFixes__Ljava_lang_String_2I('left')) , -com_vaadin_client_ui_VOverlay_leftFix + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px')); + style['marginTop'] = (com_vaadin_client_ui_VOverlay_topFix == -1 && (com_vaadin_client_ui_VOverlay_topFix = com_vaadin_client_ui_VOverlay_detectRelativeBodyFixes__Ljava_lang_String_2I('top')) , -com_vaadin_client_ui_VOverlay_topFix + 'px'); + com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static, left, top_0); + com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this$static, this$static.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled?0:1); +} + +function com_vaadin_client_ui_VOverlay_$setShadowEnabled__Lcom_vaadin_client_ui_VOverlay_2ZV(this$static, enabled){ + if (enabled != !!this$static.com_vaadin_client_ui_VOverlay_shadow) { + if (enabled) { + this$static.com_vaadin_client_ui_VOverlay_shadow = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow'); + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VOverlay_shadow, '<div aria-hidden="true" class="top-left"><\/div><div class="top"><\/div><div class="top-right"><\/div><div class="left"><\/div><div class="center"><\/div><div class="right"><\/div><div class="bottom-left"><\/div><div class="bottom"><\/div><div class="bottom-right"><\/div>'); + this$static.com_vaadin_client_ui_VOverlay_shadow.style['position'] = (com_google_gwt_dom_client_Style$Position_$clinit__V() , 'absolute'); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, this$static, com_google_gwt_event_logical_shared_CloseEvent_TYPE?com_google_gwt_event_logical_shared_CloseEvent_TYPE:(com_google_gwt_event_logical_shared_CloseEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V)); + } + else { + com_vaadin_client_ui_VOverlay_$removeShadowIfPresent__Lcom_vaadin_client_ui_VOverlay_2V(this$static); + this$static.com_vaadin_client_ui_VOverlay_shadow = null; + } + } +} + +function com_vaadin_client_ui_VOverlay_$setVisible__Lcom_vaadin_client_ui_VOverlay_2ZV(this$static, visible){ + (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['visibility'] = visible?'visible':'hidden'; + !!this$static.com_vaadin_client_ui_VOverlay_shadow && (this$static.com_vaadin_client_ui_VOverlay_shadow.style['visibility'] = visible?'visible':'hidden' , undefined); + !!this$static.com_vaadin_client_ui_VOverlay_shimElement && (this$static.com_vaadin_client_ui_VOverlay_shimElement.style['visibility'] = visible?'visible':'hidden' , undefined); +} + +function com_vaadin_client_ui_VOverlay_$setZIndex__Lcom_vaadin_client_ui_VOverlay_2IV(this$static, zIndex){ + (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['zIndex'] = zIndex + ''; + !!this$static.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VOverlay_shadow.style, 'zIndex', zIndex + ''); +} + +function com_vaadin_client_ui_VOverlay_$unsinkShadowEvents__Lcom_vaadin_client_ui_VOverlay_2V(this$static){ + if (!!this$static.com_vaadin_client_ui_VOverlay_shadow && !!com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow)) { + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_vaadin_client_ui_VOverlay_shadow, null); + com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this$static.com_vaadin_client_ui_VOverlay_shadow, 0); + } +} + +function com_vaadin_client_ui_VOverlay_$updatePositionAndSize__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2V(e, positionAndSize){ + e.style['left'] = positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_left + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + e.style['top'] = positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_top + 'px'; + e.style['width'] = positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_width + 'px'; + e.style['height'] = positionAndSize.com_vaadin_client_ui_VOverlay$PositionAndSize_height + 'px'; +} + +function com_vaadin_client_ui_VOverlay_$updateShadowPosition__Lcom_vaadin_client_ui_VOverlay_2DILcom_vaadin_client_ui_VOverlay$PositionAndSize_2V(this$static, progress, zIndex, positionAndSize){ + if ((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isOpera) { + (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 3)).style['height'] = 'auto'; + com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 4).style['height'] = 'auto'; + com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 5).style['height'] = 'auto'; + } + com_vaadin_client_ui_VOverlay_$updatePositionAndSize__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2V(this$static.com_vaadin_client_ui_VOverlay_shadow, positionAndSize); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VOverlay_shadow.style, 'zIndex', zIndex + ''); + this$static.com_vaadin_client_ui_VOverlay_shadow.style['display'] = progress < 0.9?'none':''; + if ((!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isOpera) { + (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 3)).style['height'] = ((com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 3).offsetHeight || 0) | 0) + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 4).style['height'] = ((com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 4).offsetHeight || 0) | 0) + 'px'; + com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 5).style['height'] = ((com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2ILcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_ui_VOverlay_shadow, 5).offsetHeight || 0) | 0) + 'px'; + } +} + +function com_vaadin_client_ui_VOverlay_detectRelativeBodyFixes__Ljava_lang_String_2I(axis_0){ + try { + var b = $wnd.document.body; + var cstyle = b.currentStyle?b.currentStyle:getComputedStyle(b); + if (cstyle && cstyle.position == 'relative') { + return b.getBoundingClientRect()[axis_0]; + } + } + catch (e) { + } + return 0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(261, 101, $intern_34); +_.hide__V = function(){ + com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this, false); +} +; +_.hide__ZV = function(autoClosed){ + com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this, autoClosed); +} +; +_.onAttach__V = function(){ + var e, overlay; + overlay = com_vaadin_client_ui_VOverlay_current; + if (overlay) { + e = (com_vaadin_client_ui_VOverlay_$getApplicationConnection__Lcom_vaadin_client_ui_VOverlay_2Lcom_vaadin_client_ApplicationConnection_2(overlay) , java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider$1_12_1classLit) , com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()))); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(e, (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element)); + } + com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this); +} +; +_.onClose__Lcom_google_gwt_event_logical_shared_CloseEvent_2V = function(event_0){ + com_vaadin_client_ui_VOverlay_$removeShadowIfPresent__Lcom_vaadin_client_ui_VOverlay_2V(this); +} +; +_.onDetach__V = function(){ + com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this); + com_vaadin_client_ui_VOverlay_$removeShadowIfPresent__Lcom_vaadin_client_ui_VOverlay_2V(this); + !!this.com_vaadin_client_ui_VOverlay_shimElement && com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(this.com_vaadin_client_ui_VOverlay_shimElement); +} +; +_.setHeight__Ljava_lang_String_2V = function(height){ + com_google_gwt_user_client_ui_PopupPanel_$setHeight__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this, height); + com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this, 1); +} +; +_.setPopupPosition__IIV = function(left, top_0){ + com_vaadin_client_ui_VOverlay_$setPopupPosition__Lcom_vaadin_client_ui_VOverlay_2IIV(this, left, top_0); +} +; +_.setWidth__Ljava_lang_String_2V = function(width_0){ + com_google_gwt_user_client_ui_PopupPanel_$setWidth__Lcom_google_gwt_user_client_ui_PopupPanel_2Ljava_lang_String_2V(this, width_0); + com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this, 1); +} +; +_.sinkEvents__IV = function(eventBitsToAdd){ + this.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), eventBitsToAdd | (this.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this.com_google_gwt_user_client_ui_Widget_eventsToSink |= eventBitsToAdd); +} +; +var com_vaadin_client_ui_VOverlay_Z_1INDEX = 20000, com_vaadin_client_ui_VOverlay_current, com_vaadin_client_ui_VOverlay_leftFix = -1, com_vaadin_client_ui_VOverlay_topFix = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(261); +function com_vaadin_client_ui_VOverlay$1_VOverlay$1__Lcom_vaadin_client_ui_VOverlay_2V(this$0){ + this.com_vaadin_client_ui_VOverlay$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(269, 1, {}, com_vaadin_client_ui_VOverlay$1_VOverlay$1__Lcom_vaadin_client_ui_VOverlay_2V); +_.onAnimationEnd__Lcom_google_gwt_dom_client_NativeEvent_2V = function(event_0){ + var animationName; + animationName = com_vaadin_client_AnimationUtil_getAnimationName__Lcom_google_gwt_dom_client_NativeEvent_2Ljava_lang_String_2(event_0); + if (animationName.indexOf('animate-in') != -1) { + com_vaadin_client_AnimationUtil_removeAnimationEndListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this.com_vaadin_client_ui_VOverlay$1_this$01), this.com_vaadin_client_ui_VOverlay$1_this$01.com_vaadin_client_ui_VOverlay_animateInListener); + com_google_gwt_user_client_ui_UIObject_$removeStyleDependentName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VOverlay$1_this$01, 'animate-in'); + !!this.com_vaadin_client_ui_VOverlay$1_this$01.com_vaadin_client_ui_VOverlay_shadow && com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this.com_vaadin_client_ui_VOverlay$1_this$01.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-in'); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(269); +function com_vaadin_client_ui_VOverlay$2_VOverlay$2__Lcom_vaadin_client_ui_VOverlay_2V(this$0, val$autoClosed){ + this.com_vaadin_client_ui_VOverlay$2_this$01 = this$0; + this.com_vaadin_client_ui_VOverlay$2_val$autoClosed2 = val$autoClosed; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(270, 1, {}, com_vaadin_client_ui_VOverlay$2_VOverlay$2__Lcom_vaadin_client_ui_VOverlay_2V); +_.onAnimationEnd__Lcom_google_gwt_dom_client_NativeEvent_2V = function(event_0){ + com_vaadin_client_AnimationUtil_getAnimationName__Lcom_google_gwt_dom_client_NativeEvent_2Ljava_lang_String_2(event_0).indexOf('animate-in') != -1 && com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this.com_vaadin_client_ui_VOverlay$2_this$01, this.com_vaadin_client_ui_VOverlay$2_val$autoClosed2); +} +; +_.com_vaadin_client_ui_VOverlay$2_val$autoClosed2 = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(270); +function com_vaadin_client_ui_VOverlay$3_VOverlay$3__Lcom_vaadin_client_ui_VOverlay_2V(this$0, val$autoClosed){ + this.com_vaadin_client_ui_VOverlay$3_this$01 = this$0; + this.com_vaadin_client_ui_VOverlay$3_val$autoClosed2 = val$autoClosed; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(271, 1, {}, com_vaadin_client_ui_VOverlay$3_VOverlay$3__Lcom_vaadin_client_ui_VOverlay_2V); +_.onAnimationEnd__Lcom_google_gwt_dom_client_NativeEvent_2V = function(event_0){ + var animationName; + animationName = com_vaadin_client_AnimationUtil_getAnimationName__Lcom_google_gwt_dom_client_NativeEvent_2Ljava_lang_String_2(event_0); + if (animationName.indexOf('animate-out') != -1) { + com_vaadin_client_AnimationUtil_removeAllAnimationEndListeners__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this.com_vaadin_client_ui_VOverlay$3_this$01)); + com_google_gwt_user_client_ui_UIObject_$removeStyleDependentName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VOverlay$3_this$01, 'animate-in'); + com_google_gwt_user_client_ui_UIObject_$removeStyleDependentName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VOverlay$3_this$01, 'animate-out'); + if (this.com_vaadin_client_ui_VOverlay$3_this$01.com_vaadin_client_ui_VOverlay_shadow) { + com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this.com_vaadin_client_ui_VOverlay$3_this$01.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-in'); + com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this.com_vaadin_client_ui_VOverlay$3_this$01.com_vaadin_client_ui_VOverlay_shadow, 'v-shadow-animate-out'); + } + com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_vaadin_client_ui_VOverlay$3_this$01); + } +} +; +_.com_vaadin_client_ui_VOverlay$3_val$autoClosed2 = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(271); +function com_vaadin_client_ui_VOverlay$PositionAndSize_$setHeight__Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2IV(this$static, height){ + height < 0 && (height = 0); + this$static.com_vaadin_client_ui_VOverlay$PositionAndSize_height = height; +} + +function com_vaadin_client_ui_VOverlay$PositionAndSize_$setWidth__Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2IV(this$static, width_0){ + width_0 < 0 && (width_0 = 0); + this$static.com_vaadin_client_ui_VOverlay$PositionAndSize_width = width_0; +} + +function com_vaadin_client_ui_VOverlay$PositionAndSize_VOverlay$PositionAndSize__IIIIV(left, top_0, width_0, height){ + this.com_vaadin_client_ui_VOverlay$PositionAndSize_left = left; + this.com_vaadin_client_ui_VOverlay$PositionAndSize_top = top_0; + com_vaadin_client_ui_VOverlay$PositionAndSize_$setWidth__Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2IV(this, width_0); + com_vaadin_client_ui_VOverlay$PositionAndSize_$setHeight__Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2IV(this, height); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(267, 1, {}, com_vaadin_client_ui_VOverlay$PositionAndSize_VOverlay$PositionAndSize__IIIIV); +_.com_vaadin_client_ui_VOverlay$PositionAndSize_height = 0; +_.com_vaadin_client_ui_VOverlay$PositionAndSize_left = 0; +_.com_vaadin_client_ui_VOverlay$PositionAndSize_top = 0; +_.com_vaadin_client_ui_VOverlay$PositionAndSize_width = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay$PositionAndSize_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(267); +function com_vaadin_client_ui_VOverlay$ResizeAnimation_VOverlay$ResizeAnimation__Lcom_vaadin_client_ui_VOverlay_2V(this$0){ + this.com_vaadin_client_ui_VOverlay$ResizeAnimation_this$01 = this$0; + com_google_gwt_animation_client_Animation_Animation__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(268, 102, {}, com_vaadin_client_ui_VOverlay$ResizeAnimation_VOverlay$ResizeAnimation__Lcom_vaadin_client_ui_VOverlay_2V); +_.onUpdate__DV = function(progress){ + com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this.com_vaadin_client_ui_VOverlay$ResizeAnimation_this$01, progress); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VOverlay$ResizeAnimation_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(268); +function com_vaadin_client_ui_VProgressBar_$setState__Lcom_vaadin_client_ui_VProgressBar_2FV(this$static, state){ + var size_0; + size_0 = Math.round(100 * state); + this$static.com_vaadin_client_ui_VProgressBar_indicator.style['width'] = size_0 + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , '%'); +} + +function com_vaadin_client_ui_VProgressBar_VProgressBar__V(){ + this.com_vaadin_client_ui_VProgressBar_wrapper = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + this.com_vaadin_client_ui_VProgressBar_indicator = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_vaadin_client_ui_VProgressBar_wrapper); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_vaadin_client_ui_VProgressBar_wrapper, this.com_vaadin_client_ui_VProgressBar_indicator); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, 'v-progressbar'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VProgressBar_indicator, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-indicator'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VProgressBar_wrapper, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-wrapper'); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(258, 17, $intern_23, com_vaadin_client_ui_VProgressBar_VProgressBar__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VProgressBar_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(258); +function com_vaadin_client_ui_VSlider_$buildBase__Lcom_vaadin_client_ui_VSlider_2V(this$static){ + var p; + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_base.style, 'height', ''); + if (com_google_gwt_dom_client_Node_$hasParentElement__Lcom_google_gwt_dom_client_Node_2Z((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element))) { + p = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(this$static.com_google_gwt_user_client_ui_UIObject_element); + if (com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(p, 'offsetWidth') > 50) { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_base.style, 'width', ''); + } + else { + this$static.com_vaadin_client_ui_VSlider_base.style['width'] = (com_google_gwt_dom_client_Style$Unit_$clinit__V() , '50.0px'); + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_ui_VSlider$3_VSlider$3__Lcom_vaadin_client_ui_VSlider_2V(this$static)); + } + } + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_ui_VSlider$4_VSlider$4__Lcom_vaadin_client_ui_VSlider_2V(this$static)); +} + +function com_vaadin_client_ui_VSlider_$buildHandle__Lcom_vaadin_client_ui_VSlider_2V(this$static){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_handle.style, 'marginLeft', '0'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_handle.style, 'marginTop', ''); +} + +function com_vaadin_client_ui_VSlider_$fireValueChanged__Lcom_vaadin_client_ui_VSlider_2V(this$static){ + com_google_gwt_event_logical_shared_ValueChangeEvent_fire__Lcom_google_gwt_event_logical_shared_HasValueChangeHandlers_2Ljava_lang_Object_2V(this$static, this$static.com_vaadin_client_ui_VSlider_value); +} + +function com_vaadin_client_ui_VSlider_$handleNavigation__Lcom_vaadin_client_ui_VSlider_2IZZZ(this$static, keycode, ctrl, shift_0){ + var a; + if (ctrl) { + return false; + } + if (keycode == 39) { + if (shift_0) { + for (a = 0; a < this$static.com_vaadin_client_ui_VSlider_acceleration; a++) { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_value.java_lang_Double_value + java_lang_Math_pow__DDD(10, -this$static.com_vaadin_client_ui_VSlider_resolution)), false); + } + ++this$static.com_vaadin_client_ui_VSlider_acceleration; + } + else { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_value.java_lang_Double_value + java_lang_Math_pow__DDD(10, -this$static.com_vaadin_client_ui_VSlider_resolution)), false); + } + return true; + } + else if (keycode == 37) { + if (shift_0) { + for (a = 0; a < this$static.com_vaadin_client_ui_VSlider_acceleration; a++) { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_value.java_lang_Double_value - java_lang_Math_pow__DDD(10, -this$static.com_vaadin_client_ui_VSlider_resolution)), false); + } + ++this$static.com_vaadin_client_ui_VSlider_acceleration; + } + else { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_value.java_lang_Double_value - java_lang_Math_pow__DDD(10, -this$static.com_vaadin_client_ui_VSlider_resolution)), false); + } + return true; + } + return false; +} + +function com_vaadin_client_ui_VSlider_$processBaseEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V(this$static, event_0){ + com_google_gwt_user_client_DOM_$clinit__V(); + if (com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type) == 4) { + if (!this$static.com_vaadin_client_ui_VSlider_disabled && !this$static.com_vaadin_client_ui_VSlider_readonly && !this$static.com_vaadin_client_ui_VSlider_dragging) { + com_vaadin_client_ui_VSlider_$setValueByEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2ZV(this$static, event_0, true); + com_google_gwt_user_client_impl_DOMImpl_$eventCancelBubble__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_user_client_Event_2ZV(event_0, true); + } + } +} + +function com_vaadin_client_ui_VSlider_$processHandleEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V(this$static, event_0){ + switch (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type)) { + case 4: + case $intern_28: + if (!this$static.com_vaadin_client_ui_VSlider_disabled && !this$static.com_vaadin_client_ui_VSlider_readonly) { + (com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V() , com_google_gwt_user_client_ui_impl_FocusImpl_$clinit__V() , com_google_gwt_user_client_ui_impl_FocusImpl_implPanel).focus__Lcom_google_gwt_dom_client_Element_2V(this$static.com_google_gwt_user_client_ui_UIObject_element); + com_vaadin_client_ui_VSlider$1_$show__Lcom_vaadin_client_ui_VSlider$1_2V(this$static.com_vaadin_client_ui_VSlider_feedbackPopup); + this$static.com_vaadin_client_ui_VSlider_dragging = true; + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_handle, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-handle'); + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_ui_VSlider_handle, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-handle-active'); + com_google_gwt_user_client_DOM_setCapture__Lcom_google_gwt_dom_client_Element_2V(this$static.com_google_gwt_user_client_ui_UIObject_element); + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_user_client_impl_DOMImpl_$eventCancelBubble__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_user_client_Event_2ZV(event_0, true); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + } + + break; + case 64: + case $intern_29: + if (this$static.com_vaadin_client_ui_VSlider_dragging) { + com_vaadin_client_ui_VSlider_$setValueByEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2ZV(this$static, event_0, false); + com_vaadin_client_ui_VOverlay_$setPopupPosition__Lcom_vaadin_client_ui_VOverlay_2IIV(this$static.com_vaadin_client_ui_VSlider_feedbackPopup, com_google_gwt_dom_client_Element_$getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_ui_VSlider_handle) + ((com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_ui_VSlider_handle) | 0) / 2 | 0) - (com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_ui_VSlider_feedbackPopup.com_google_gwt_user_client_ui_UIObject_element, 'offsetWidth') / 2 | 0), com_google_gwt_dom_client_Element_$getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_ui_VSlider_handle) - com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_ui_VSlider_feedbackPopup.com_google_gwt_user_client_ui_UIObject_element, 'offsetHeight')); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + } + + break; + case $intern_17: + com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this$static.com_vaadin_client_ui_VSlider_feedbackPopup, false); + case 8: + this$static.com_vaadin_client_ui_VSlider_dragging = false; + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_handle, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-handle'); + com_google_gwt_user_client_DOM_releaseCapture__Lcom_google_gwt_dom_client_Element_2V(this$static.com_google_gwt_user_client_ui_UIObject_element); + com_vaadin_client_ui_VSlider_$setValueByEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2ZV(this$static, event_0, true); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + } +} + +function com_vaadin_client_ui_VSlider_$setMaxValue__Lcom_vaadin_client_ui_VSlider_2DV(this$static, value_0){ + this$static.com_vaadin_client_ui_VSlider_max = value_0; +} + +function com_vaadin_client_ui_VSlider_$setMinValue__Lcom_vaadin_client_ui_VSlider_2DV(this$static, value_0){ + this$static.com_vaadin_client_ui_VSlider_min = value_0; +} + +function com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2V(this$static, value_0){ + var baseSize, handleSize, p, range, v, valueRange, com_vaadin_client_ui_VSlider_$setFeedbackValue__Lcom_vaadin_client_ui_VSlider_2DV_currentValue_0; + value_0.java_lang_Double_value < this$static.com_vaadin_client_ui_VSlider_min?(value_0 = new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_min)):value_0.java_lang_Double_value > this$static.com_vaadin_client_ui_VSlider_max && (value_0 = new java_lang_Double_Double__DV(this$static.com_vaadin_client_ui_VSlider_max)); + handleSize = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_ui_VSlider_handle, 'offsetWidth'); + baseSize = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_ui_VSlider_base, 'offsetWidth') - 2; + range = baseSize - handleSize; + v = value_0.java_lang_Double_value; + if (this$static.com_vaadin_client_ui_VSlider_resolution > 0) { + v = com_google_gwt_lang_LongLib_toDouble__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(java_lang_Math_round0__DD(v * java_lang_Math_pow__DDD(10, this$static.com_vaadin_client_ui_VSlider_resolution)))); + v = v / java_lang_Math_pow__DDD(10, this$static.com_vaadin_client_ui_VSlider_resolution); + } + else { + v = com_google_gwt_lang_LongLib_toDouble__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(java_lang_Math_round0__DD(v))); + } + valueRange = this$static.com_vaadin_client_ui_VSlider_max - this$static.com_vaadin_client_ui_VSlider_min; + p = 0; + valueRange > 0 && (p = range * ((v - this$static.com_vaadin_client_ui_VSlider_min) / valueRange)); + p < 0 && (p = 0); + this$static.com_vaadin_client_ui_VSlider_handle.style['marginLeft'] = com_google_gwt_lang_LongLib_toInt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(com_google_gwt_lang_LongLib_fromDouble__DLcom_google_gwt_lang_LongLibBase$LongEmul_2(java_lang_Math_round0__DD(p))) + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + this$static.com_vaadin_client_ui_VSlider_value = new java_lang_Double_Double__DV(v); + com_vaadin_client_ui_VSlider_$setFeedbackValue__Lcom_vaadin_client_ui_VSlider_2DV_currentValue_0 = '' + v; + this$static.com_vaadin_client_ui_VSlider_resolution == 0 && (com_vaadin_client_ui_VSlider_$setFeedbackValue__Lcom_vaadin_client_ui_VSlider_2DV_currentValue_0 = '' + com_google_gwt_lang_Cast_round_1int__DI((new java_lang_Double_Double__DV(v)).java_lang_Double_value)); + com_google_gwt_user_client_ui_Label_$setText__Lcom_google_gwt_user_client_ui_Label_2Ljava_lang_String_2V(this$static.com_vaadin_client_ui_VSlider_feedback, com_vaadin_client_ui_VSlider_$setFeedbackValue__Lcom_vaadin_client_ui_VSlider_2DV_currentValue_0); +} + +function com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, value_0, fireEvents){ + if (!value_0) { + return; + } + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2V(this$static, value_0); + fireEvents && com_google_gwt_event_logical_shared_ValueChangeEvent_fire__Lcom_google_gwt_event_logical_shared_HasValueChangeHandlers_2Ljava_lang_Object_2V(this$static, this$static.com_vaadin_client_ui_VSlider_value); +} + +function com_vaadin_client_ui_VSlider_$setValueByEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2ZV(this$static, event_0, updateToServer){ + var baseOffset, baseSize, coord, handleSize, v; + coord = (com_vaadin_client_WidgetUtil_$clinit__V() , (com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type.indexOf('touch') != -1?com_google_gwt_dom_client_Touch_$getClientX__Lcom_google_gwt_dom_client_Touch_2I(event_0.changedTouches[0]):com_google_gwt_dom_client_DOMImpl_toInt32__DI(event_0.clientX || 0)); + handleSize = com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_ui_VSlider_handle) | 0; + baseSize = com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_ui_VSlider_base) | 0; + baseOffset = com_google_gwt_dom_client_Element_$getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_ui_VSlider_base) - (com_google_gwt_user_client_Window_$clinit__V() , com_google_gwt_dom_client_Document_$getScrollLeft__Lcom_google_gwt_dom_client_Document_2I($doc)) + (handleSize / 2 | 0); + v = (coord - baseOffset) / (baseSize - handleSize) * (this$static.com_vaadin_client_ui_VSlider_max - this$static.com_vaadin_client_ui_VSlider_min) + this$static.com_vaadin_client_ui_VSlider_min; + v < this$static.com_vaadin_client_ui_VSlider_min?(v = this$static.com_vaadin_client_ui_VSlider_min):v > this$static.com_vaadin_client_ui_VSlider_max && (v = this$static.com_vaadin_client_ui_VSlider_max); + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this$static, new java_lang_Double_Double__DV(v), updateToServer); +} + +function com_vaadin_client_ui_VSlider_$updateFeedbackPosition__Lcom_vaadin_client_ui_VSlider_2V(this$static){ + com_vaadin_client_ui_VOverlay_$setPopupPosition__Lcom_vaadin_client_ui_VOverlay_2IIV(this$static.com_vaadin_client_ui_VSlider_feedbackPopup, com_google_gwt_dom_client_Element_$getAbsoluteLeft__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_ui_VSlider_handle) + ((com_google_gwt_dom_client_Element_$getSubPixelOffsetWidth__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_ui_VSlider_handle) | 0) / 2 | 0) - (com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_vaadin_client_ui_VSlider_feedbackPopup.com_google_gwt_user_client_ui_UIObject_element), 'offsetWidth') / 2 | 0), com_google_gwt_dom_client_Element_$getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_ui_VSlider_handle) - com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_ui_VSlider_feedbackPopup.com_google_gwt_user_client_ui_UIObject_element, 'offsetHeight')); +} + +function com_vaadin_client_ui_VSlider_VSlider__V(){ + com_google_gwt_user_client_ui_SimplePanel_SimplePanel__V.call(this); + com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), 0); + this.com_vaadin_client_ui_VSlider_acceleration = 1; + this.com_vaadin_client_ui_VSlider_feedback = new com_google_gwt_user_client_ui_HTML_HTML__Ljava_lang_String_2ZV; + this.com_vaadin_client_ui_VSlider_feedbackPopup = new com_vaadin_client_ui_VSlider$1_VSlider$1__Lcom_vaadin_client_ui_VSlider_2ZZZV(this); + this.com_vaadin_client_ui_VSlider_dragging = false; + this.com_vaadin_client_ui_VSlider_delayedValueUpdater = new com_vaadin_client_ui_VLazyExecutor_VLazyExecutor__ILcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V(new com_vaadin_client_ui_VSlider$2_VSlider$2__Lcom_vaadin_client_ui_VSlider_2V(this)); + this.com_vaadin_client_ui_VSlider_base = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_ui_VSlider_handle = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_ui_VSlider_smaller = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_ui_VSlider_bigger = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + com_google_gwt_user_client_ui_UIObject_$removeStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-feedback'); + com_google_gwt_user_client_ui_UIObject_$removeStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-vertical'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, 'v-slider'); + com_google_gwt_user_client_ui_UIObject_$addStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-feedback'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_base, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-base'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_handle, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-handle'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_smaller, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-smaller'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider_bigger, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + '-bigger'); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_vaadin_client_ui_VSlider_bigger); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_vaadin_client_ui_VSlider_smaller); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_google_gwt_user_client_ui_UIObject_element, this.com_vaadin_client_ui_VSlider_base); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_vaadin_client_ui_VSlider_base, this.com_vaadin_client_ui_VSlider_handle); + this.com_vaadin_client_ui_VSlider_smaller.style['display'] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none'); + this.com_vaadin_client_ui_VSlider_bigger.style['display'] = 'none'; + this.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this.com_google_gwt_user_client_ui_UIObject_element, 15866876 | (this.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this.com_google_gwt_user_client_ui_Widget_eventsToSink |= 15866876); + com_google_gwt_user_client_ui_PopupPanel_$setWidget__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup, this.com_vaadin_client_ui_VSlider_feedback); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(260, 259, $intern_34, com_vaadin_client_ui_VSlider_VSlider__V); +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + var targ, com_vaadin_client_ui_VSlider_$processMouseWheelEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V_dir_0; + if (this.com_vaadin_client_ui_VSlider_disabled || this.com_vaadin_client_ui_VSlider_readonly) { + return; + } + targ = (com_google_gwt_user_client_DOM_$clinit__V() , (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0)); + if (com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == $intern_27) { + com_vaadin_client_ui_VSlider_$processMouseWheelEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V_dir_0 = com_google_gwt_dom_client_DOMImpl_impl.eventGetMouseWheelVelocityY__Lcom_google_gwt_dom_client_NativeEvent_2I(event_0); + com_vaadin_client_ui_VSlider_$processMouseWheelEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V_dir_0 < 0?com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this, new java_lang_Double_Double__DV(this.com_vaadin_client_ui_VSlider_value.java_lang_Double_value + java_lang_Math_pow__DDD(10, -this.com_vaadin_client_ui_VSlider_resolution)), false):com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this, new java_lang_Double_Double__DV(this.com_vaadin_client_ui_VSlider_value.java_lang_Double_value - java_lang_Math_pow__DDD(10, -this.com_vaadin_client_ui_VSlider_resolution)), false); + com_vaadin_client_ui_VLazyExecutor_$trigger__Lcom_vaadin_client_ui_VLazyExecutor_2V(this.com_vaadin_client_ui_VSlider_delayedValueUpdater); + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_user_client_impl_DOMImpl_$eventCancelBubble__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_user_client_Event_2ZV(event_0, true); + } + else if (this.com_vaadin_client_ui_VSlider_dragging || targ == this.com_vaadin_client_ui_VSlider_handle) { + com_vaadin_client_ui_VSlider_$processHandleEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V(this, event_0); + } + else if (targ == this.com_vaadin_client_ui_VSlider_smaller) { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this, new java_lang_Double_Double__DV(this.com_vaadin_client_ui_VSlider_value.java_lang_Double_value - java_lang_Math_pow__DDD(10, -this.com_vaadin_client_ui_VSlider_resolution)), true); + } + else if (targ == this.com_vaadin_client_ui_VSlider_bigger) { + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this, new java_lang_Double_Double__DV(this.com_vaadin_client_ui_VSlider_value.java_lang_Double_value + java_lang_Math_pow__DDD(10, -this.com_vaadin_client_ui_VSlider_resolution)), true); + } + else { + if (com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 124) { + com_vaadin_client_ui_VSlider_$processBaseEvent__Lcom_vaadin_client_ui_VSlider_2Lcom_google_gwt_user_client_Event_2V(this, event_0); + } + else if ((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isGecko && com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 256 || !(!com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_instance).com_vaadin_client_BrowserInfo_browserDetails.com_vaadin_shared_VBrowserDetails_isGecko && com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 128) { + if (com_vaadin_client_ui_VSlider_$handleNavigation__Lcom_vaadin_client_ui_VSlider_2IZZZ(this, event_0.keyCode | 0, !!event_0.ctrlKey, !!event_0.shiftKey)) { + com_vaadin_client_ui_VSlider$1_$show__Lcom_vaadin_client_ui_VSlider$1_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup); + com_vaadin_client_ui_VLazyExecutor_$trigger__Lcom_vaadin_client_ui_VLazyExecutor_2V(this.com_vaadin_client_ui_VSlider_delayedValueUpdater); + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_user_client_impl_DOMImpl_$eventCancelBubble__Lcom_google_gwt_user_client_impl_DOMImpl_2Lcom_google_gwt_user_client_Event_2ZV(event_0, true); + } + } + else + targ == this.com_google_gwt_user_client_ui_UIObject_element && com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 2048?com_vaadin_client_ui_VSlider$1_$show__Lcom_vaadin_client_ui_VSlider$1_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup):targ == this.com_google_gwt_user_client_ui_UIObject_element && com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 4096?com_vaadin_client_ui_VOverlay_$hide__Lcom_vaadin_client_ui_VOverlay_2ZZZV(this.com_vaadin_client_ui_VSlider_feedbackPopup, false):com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event_0.type) == 4 && com_vaadin_client_ui_VSlider$1_$show__Lcom_vaadin_client_ui_VSlider$1_2V(this.com_vaadin_client_ui_VSlider_feedbackPopup); + } + com_vaadin_client_WidgetUtil_$clinit__V(); + if (event_0.type.indexOf('touch') != -1) { + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + } +} +; +_.com_vaadin_client_ui_VSlider_acceleration = 0; +_.com_vaadin_client_ui_VSlider_disabled = false; +_.com_vaadin_client_ui_VSlider_dragging = false; +_.com_vaadin_client_ui_VSlider_max = 0; +_.com_vaadin_client_ui_VSlider_min = 0; +_.com_vaadin_client_ui_VSlider_readonly = false; +_.com_vaadin_client_ui_VSlider_resolution = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(260); +function com_vaadin_client_ui_VSlider$1_$show__Lcom_vaadin_client_ui_VSlider$1_2V(this$static){ + com_vaadin_client_ui_VOverlay_current = this$static; + com_vaadin_client_ui_VOverlay_$maybeShowWithAnimation__Lcom_vaadin_client_ui_VOverlay_2Z(this$static); + this$static.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled?com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDLcom_google_gwt_dom_client_Element_2V(new com_vaadin_client_ui_VOverlay$ResizeAnimation_VOverlay$ResizeAnimation__Lcom_vaadin_client_ui_VOverlay_2V(this$static), com_google_gwt_core_client_JsDate_now__D()):com_vaadin_client_ui_VOverlay_$positionOrSizeUpdated__Lcom_vaadin_client_ui_VOverlay_2DV(this$static, 1); + com_vaadin_client_ui_VOverlay_current = null; + com_vaadin_client_ui_VSlider_$updateFeedbackPosition__Lcom_vaadin_client_ui_VSlider_2V(this$static.com_vaadin_client_ui_VSlider$1_this$01); +} + +function com_vaadin_client_ui_VSlider$1_VSlider$1__Lcom_vaadin_client_ui_VSlider_2ZZZV(this$0){ + com_google_gwt_user_client_ui_PopupPanel_$clinit__V(); + this.com_vaadin_client_ui_VSlider$1_this$01 = this$0; + com_google_gwt_user_client_ui_SimplePanel_SimplePanel__V.call(this); + this.com_google_gwt_user_client_ui_PopupPanel_glassResizer = new com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V; + this.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = false; + this.com_google_gwt_user_client_ui_PopupPanel_leftPosition = -1; + this.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation = new com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_PopupPanel_2V(this, this); + this.com_google_gwt_user_client_ui_PopupPanel_topPosition = -1; + this.com_google_gwt_user_client_ui_PopupPanel_parentPanel = (com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), com_google_gwt_user_client_ui_PopupPanel_impl.createElement__Lcom_google_gwt_dom_client_Element_2()); + this.setPopupPosition__IIV(0, 0); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_PopupPanel_impl.getStyleElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element)), 'gwt-PopupPanel'); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_PopupPanel_impl.getContainerElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_DOM_getFirstChild__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element)), 'popupContent'); + this.com_google_gwt_user_client_ui_PopupPanel_autoHide = true; + this.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents = true; + this.com_google_gwt_user_client_ui_PopupPanel_modal = false; + com_vaadin_client_ui_VOverlay_$setShadowEnabled__Lcom_vaadin_client_ui_VOverlay_2ZV(this, com_vaadin_client_BrowserInfo_$isIE8__Lcom_vaadin_client_BrowserInfo_2Z((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance))); + com_vaadin_client_ui_VOverlay_$setZIndex__Lcom_vaadin_client_ui_VOverlay_2IV(this, com_vaadin_client_ui_VOverlay_Z_1INDEX); + com_vaadin_client_ui_VOverlay_$setOwner__Lcom_vaadin_client_ui_VOverlay_2Lcom_google_gwt_user_client_ui_Widget_2V(this, this.com_vaadin_client_ui_VSlider$1_this$01); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(262, 261, $intern_34, com_vaadin_client_ui_VSlider$1_VSlider$1__Lcom_vaadin_client_ui_VSlider_2ZZZV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(262); +function com_vaadin_client_ui_VSlider$2_$execute__Lcom_vaadin_client_ui_VSlider$2_2V(this$static){ + com_vaadin_client_ui_VSlider_$fireValueChanged__Lcom_vaadin_client_ui_VSlider_2V(this$static.com_vaadin_client_ui_VSlider$2_this$01); + this$static.com_vaadin_client_ui_VSlider$2_this$01.com_vaadin_client_ui_VSlider_acceleration = 1; +} + +function com_vaadin_client_ui_VSlider$2_VSlider$2__Lcom_vaadin_client_ui_VSlider_2V(this$0){ + this.com_vaadin_client_ui_VSlider$2_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(263, 1, {}, com_vaadin_client_ui_VSlider$2_VSlider$2__Lcom_vaadin_client_ui_VSlider_2V); +_.execute__V = function(){ + com_vaadin_client_ui_VSlider$2_$execute__Lcom_vaadin_client_ui_VSlider$2_2V(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(263); +function com_vaadin_client_ui_VSlider$3_VSlider$3__Lcom_vaadin_client_ui_VSlider_2V(this$0){ + this.com_vaadin_client_ui_VSlider$3_this$01 = this$0; + this.com_vaadin_client_ui_VSlider$3_val$domProperty2 = 'offsetWidth'; + this.com_vaadin_client_ui_VSlider$3_val$styleAttribute3 = 'width'; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(264, 1, {}, com_vaadin_client_ui_VSlider$3_VSlider$3__Lcom_vaadin_client_ui_VSlider_2V); +_.execute__V = function(){ + var p; + p = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this.com_vaadin_client_ui_VSlider$3_this$01)); + if (com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(p, this.com_vaadin_client_ui_VSlider$3_val$domProperty2) > 55) { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_vaadin_client_ui_VSlider$3_this$01.com_vaadin_client_ui_VSlider_base.style, this.com_vaadin_client_ui_VSlider$3_val$styleAttribute3, ''); + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this.com_vaadin_client_ui_VSlider$3_this$01, this.com_vaadin_client_ui_VSlider$3_this$01.com_vaadin_client_ui_VSlider_value, false); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(264); +function com_vaadin_client_ui_VSlider$4_VSlider$4__Lcom_vaadin_client_ui_VSlider_2V(this$0){ + this.com_vaadin_client_ui_VSlider$4_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(265, 1, {}, com_vaadin_client_ui_VSlider$4_VSlider$4__Lcom_vaadin_client_ui_VSlider_2V); +_.execute__V = function(){ + com_vaadin_client_ui_VSlider_$buildHandle__Lcom_vaadin_client_ui_VSlider_2V(this.com_vaadin_client_ui_VSlider$4_this$01); + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2ZV(this.com_vaadin_client_ui_VSlider$4_this$01, this.com_vaadin_client_ui_VSlider$4_this$01.com_vaadin_client_ui_VSlider_value, false); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1ui_1VSlider$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(265); +function com_vaadin_client_widget_escalator_Cell_Cell__IILcom_google_gwt_dom_client_TableCellElement_2V(row, column, element){ + this.com_vaadin_client_widget_escalator_Cell_row = row; + this.com_vaadin_client_widget_escalator_Cell_column = column; + this.com_vaadin_client_widget_escalator_Cell_element = element; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(116, 1, {}, com_vaadin_client_widget_escalator_Cell_Cell__IILcom_google_gwt_dom_client_TableCellElement_2V); +_.com_vaadin_client_widget_escalator_Cell_column = 0; +_.com_vaadin_client_widget_escalator_Cell_row = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1Cell_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(116); +function com_vaadin_client_widget_escalator_EscalatorUpdater_$clinit__V(){ + com_vaadin_client_widget_escalator_EscalatorUpdater_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_escalator_EscalatorUpdater_NULL = new com_vaadin_client_widget_escalator_EscalatorUpdater$1_EscalatorUpdater$1__V; +} + +var com_vaadin_client_widget_escalator_EscalatorUpdater_NULL; +function com_vaadin_client_widget_escalator_EscalatorUpdater$1_EscalatorUpdater$1__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(226, 1, {}, com_vaadin_client_widget_escalator_EscalatorUpdater$1_EscalatorUpdater$1__V); +_.postAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, attachedCells){ +} +; +_.postDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, detachedCells){ +} +; +_.preAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToAttach){ +} +; +_.preDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToDetach){ +} +; +_.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToUpdate){ +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1EscalatorUpdater$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(226); +function com_vaadin_client_widget_escalator_FlyweightCell_$adjustCellWidthForSpan__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IV(this$static, numberOfCells){ + var cellsToTheRight, i, selfWidth, widthsOfColumnsToTheRight; + cellsToTheRight = com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$rawPeekNext__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2ILjava_util_List_2(this$static.com_vaadin_client_widget_escalator_FlyweightCell_currentIterator, numberOfCells - 1).java_util_AbstractList$SubList_size; + selfWidth = com_vaadin_client_widget_escalator_FlyweightRow_$getColumnWidth__Lcom_vaadin_client_widget_escalator_FlyweightRow_2ID(this$static.com_vaadin_client_widget_escalator_FlyweightCell_row, this$static.com_vaadin_client_widget_escalator_FlyweightCell_column); + widthsOfColumnsToTheRight = 0; + for (i = 0; i < cellsToTheRight; i++) { + widthsOfColumnsToTheRight += com_vaadin_client_widget_escalator_FlyweightRow_$getColumnWidth__Lcom_vaadin_client_widget_escalator_FlyweightRow_2ID(this$static.com_vaadin_client_widget_escalator_FlyweightCell_row, this$static.com_vaadin_client_widget_escalator_FlyweightCell_column + i + 1); + } + this$static.com_vaadin_client_widget_escalator_FlyweightCell_element.style['width'] = selfWidth + widthsOfColumnsToTheRight + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); +} + +function com_vaadin_client_widget_escalator_FlyweightCell_$hideOrRevealAdjacentCellElements__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IIV(this$static, numberOfCells, prevColSpan){ + var affectedCells, affectedCellsNumber, i; + affectedCellsNumber = prevColSpan > numberOfCells?prevColSpan:numberOfCells; + affectedCells = com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$rawPeekNext__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2ILjava_util_List_2(this$static.com_vaadin_client_widget_escalator_FlyweightCell_currentIterator, affectedCellsNumber - 1); + if (prevColSpan < numberOfCells) { + for (i = 0; i < affectedCells.java_util_AbstractList$SubList_size; i++) { + (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(prevColSpan + i - 1, affectedCells.java_util_AbstractList$SubList_size) , java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(affectedCells.java_util_AbstractList$SubList_wrapped, affectedCells.java_util_AbstractList$SubList_fromIndex + (prevColSpan + i - 1))).com_vaadin_client_widget_escalator_FlyweightCell_element.style['display'] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none'); + } + } + else if (prevColSpan > numberOfCells) { + for (i = 0; i < affectedCells.java_util_AbstractList$SubList_size; i++) { + (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(numberOfCells + i - 1, affectedCells.java_util_AbstractList$SubList_size) , java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(affectedCells.java_util_AbstractList$SubList_wrapped, affectedCells.java_util_AbstractList$SubList_fromIndex + (numberOfCells + i - 1))).com_vaadin_client_widget_escalator_FlyweightCell_element.style['display'] = ''; + } + } +} + +function com_vaadin_client_widget_escalator_FlyweightCell_$setColSpan__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IV(this$static, numberOfCells){ + var prevColSpan; + if (numberOfCells < 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Number of cells should be more than 0'); + } + prevColSpan = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(this$static.com_vaadin_client_widget_escalator_FlyweightCell_element, 'colSpan'); + if (numberOfCells == 1 && prevColSpan == 1) { + return; + } + com_google_gwt_dom_client_Element_$setPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2IV(this$static.com_vaadin_client_widget_escalator_FlyweightCell_element, 'colSpan', numberOfCells); + com_vaadin_client_widget_escalator_FlyweightCell_$adjustCellWidthForSpan__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IV(this$static, numberOfCells); + com_vaadin_client_widget_escalator_FlyweightCell_$hideOrRevealAdjacentCellElements__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IIV(this$static, numberOfCells, prevColSpan); + com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$setSkipNext__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2IV(this$static.com_vaadin_client_widget_escalator_FlyweightCell_currentIterator, numberOfCells - 1); +} + +function com_vaadin_client_widget_escalator_FlyweightCell_$setup__Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2V(this$static, iterator){ + var e; + this$static.com_vaadin_client_widget_escalator_FlyweightCell_currentIterator = iterator; + if (iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cellsAttached) { + e = this$static.com_vaadin_client_widget_escalator_FlyweightCell_row.com_vaadin_client_widget_escalator_FlyweightRow_element.cells[this$static.com_vaadin_client_widget_escalator_FlyweightCell_column]; + com_google_gwt_dom_client_Element_$setPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2IV(e, 'colSpan', 1); + com_vaadin_client_widget_escalator_FlyweightRow_$getColumnWidth__Lcom_vaadin_client_widget_escalator_FlyweightRow_2ID(this$static.com_vaadin_client_widget_escalator_FlyweightCell_row, this$static.com_vaadin_client_widget_escalator_FlyweightCell_column) >= 0 && (e.style['width'] = com_vaadin_client_widget_escalator_FlyweightRow_$getColumnWidth__Lcom_vaadin_client_widget_escalator_FlyweightRow_2ID(this$static.com_vaadin_client_widget_escalator_FlyweightCell_row, this$static.com_vaadin_client_widget_escalator_FlyweightCell_column) + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px') , undefined); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'display', ''); + this$static.com_vaadin_client_widget_escalator_FlyweightCell_element = e; + } +} + +function com_vaadin_client_widget_escalator_FlyweightCell_FlyweightCell__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(row, column){ + this.com_vaadin_client_widget_escalator_FlyweightCell_row = row; + this.com_vaadin_client_widget_escalator_FlyweightCell_column = column; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(75, 1, {75:1}, com_vaadin_client_widget_escalator_FlyweightCell_FlyweightCell__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV); +_.com_vaadin_client_widget_escalator_FlyweightCell_column = 0; +_.com_vaadin_client_widget_escalator_FlyweightCell_currentIterator = null; +_.com_vaadin_client_widget_escalator_FlyweightCell_element = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightCell_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(75); +function com_vaadin_client_widget_escalator_FlyweightRow_$addCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IIV(this$static, index_0){ + var col, i; + for (i = 0; i < 1; i++) { + col = index_0 + i; + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_vaadin_client_widget_escalator_FlyweightRow_cells, col, new com_vaadin_client_widget_escalator_FlyweightCell_FlyweightCell__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(this$static, col)); + } + com_vaadin_client_widget_escalator_FlyweightRow_$updateRestOfCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(this$static, index_0 + 1); +} + +function com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static){ + return new com_vaadin_client_widget_escalator_FlyweightRow$1_FlyweightRow$1__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$static, 0, this$static.com_vaadin_client_widget_escalator_FlyweightRow_cells.java_util_ArrayList_array.length); +} + +function com_vaadin_client_widget_escalator_FlyweightRow_$getColumnWidth__Lcom_vaadin_client_widget_escalator_FlyweightRow_2ID(this$static, column){ + return this$static.com_vaadin_client_widget_escalator_FlyweightRow_columnWidths[column]; +} + +function com_vaadin_client_widget_escalator_FlyweightRow_$removeCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IIV(this$static, index_0){ + java_util_AbstractList_$clear__Ljava_util_AbstractList_2V(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(this$static.com_vaadin_client_widget_escalator_FlyweightRow_cells, index_0, index_0 + 1)); + com_vaadin_client_widget_escalator_FlyweightRow_$updateRestOfCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(this$static, index_0); +} + +function com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static, e, row, columnWidths){ + this$static.com_vaadin_client_widget_escalator_FlyweightRow_element = e; + this$static.com_vaadin_client_widget_escalator_FlyweightRow_row = row; + this$static.com_vaadin_client_widget_escalator_FlyweightRow_columnWidths = columnWidths; +} + +function com_vaadin_client_widget_escalator_FlyweightRow_$updateRestOfCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(this$static, startPos){ + var col; + for (col = startPos; col < this$static.com_vaadin_client_widget_escalator_FlyweightRow_cells.java_util_ArrayList_array.length; col++) { + java_util_ArrayList_$set__Ljava_util_ArrayList_2ILjava_lang_Object_2Ljava_lang_Object_2(this$static.com_vaadin_client_widget_escalator_FlyweightRow_cells, col, new com_vaadin_client_widget_escalator_FlyweightCell_FlyweightCell__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IV(this$static, col)); + } +} + +function com_vaadin_client_widget_escalator_FlyweightRow_FlyweightRow__V(){ + this.com_vaadin_client_widget_escalator_FlyweightRow_cells = new java_util_ArrayList_ArrayList__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(447, 1, {}, com_vaadin_client_widget_escalator_FlyweightRow_FlyweightRow__V); +_.com_vaadin_client_widget_escalator_FlyweightRow_columnWidths = null; +_.com_vaadin_client_widget_escalator_FlyweightRow_row = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightRow_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(447); +function com_vaadin_client_widget_escalator_FlyweightRow$1_FlyweightRow$1__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$0, val$offset, val$numberOfCells){ + this.com_vaadin_client_widget_escalator_FlyweightRow$1_this$01 = this$0; + this.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2 = val$offset; + this.com_vaadin_client_widget_escalator_FlyweightRow$1_val$numberOfCells3 = val$numberOfCells; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(120, 1, {}, com_vaadin_client_widget_escalator_FlyweightRow$1_FlyweightRow$1__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V); +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(this.com_vaadin_client_widget_escalator_FlyweightRow$1_this$01.com_vaadin_client_widget_escalator_FlyweightRow_cells, this.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2, this.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2 + this.com_vaadin_client_widget_escalator_FlyweightRow$1_val$numberOfCells3), true); +} +; +_.com_vaadin_client_widget_escalator_FlyweightRow$1_val$numberOfCells3 = 0; +_.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightRow$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(120); +function com_vaadin_client_widget_escalator_FlyweightRow$2_FlyweightRow$2__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$0, val$offset){ + this.com_vaadin_client_widget_escalator_FlyweightRow$2_this$01 = this$0; + this.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2 = val$offset; + this.com_vaadin_client_widget_escalator_FlyweightRow$2_val$numberOfCells3 = 1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(158, 1, {}, com_vaadin_client_widget_escalator_FlyweightRow$2_FlyweightRow$2__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V); +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(this.com_vaadin_client_widget_escalator_FlyweightRow$2_this$01.com_vaadin_client_widget_escalator_FlyweightRow_cells, this.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2, this.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2 + this.com_vaadin_client_widget_escalator_FlyweightRow$2_val$numberOfCells3), false); +} +; +_.com_vaadin_client_widget_escalator_FlyweightRow$2_val$numberOfCells3 = 0; +_.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightRow$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(158); +function com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$next__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2(this$static){ + var cell, i; + for (i = 0; i < this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext; i++) { + this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.remove__ILjava_lang_Object_2(this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor); + } + this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext = 0; + cell = java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells, this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor++); + com_vaadin_client_widget_escalator_FlyweightCell_$setup__Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2V(cell, this$static); + return cell; +} + +function com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$rawPeekNext__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2ILjava_util_List_2(this$static, n){ + var cell, cell$iterator, from, nextCells, to; + from = java_lang_Math_min__III(this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor, this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length); + to = java_lang_Math_min__III(this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor + n, this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length); + nextCells = new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells, from, to); + for (cell$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(nextCells); cell$iterator.java_util_AbstractList$IteratorImpl_i < cell$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + cell = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(cell$iterator.java_util_AbstractList$IteratorImpl_i < cell$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , cell$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(cell$iterator.java_util_AbstractList$IteratorImpl_last = cell$iterator.java_util_AbstractList$IteratorImpl_i++)); + com_vaadin_client_widget_escalator_FlyweightCell_$setup__Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2V(cell, this$static); + } + return nextCells; +} + +function com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$setSkipNext__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2IV(this$static, colspan){ + this$static.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext = colspan; +} + +function com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(cells_0, attached){ + this.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells = new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(cells_0); + this.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cellsAttached = attached; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(83, 1, {}, com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV); +_.hasNext__Z = function(){ + return this.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor + this.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext < this.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$next__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2(this); +} +; +_.remove__V = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Cannot remove cells via iterator'); +} +; +_.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cellsAttached = false; +_.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor = 0; +_.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightRow$CellIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(83); +function com_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_PositionFunction$AbsolutePosition__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(90, 1, {90:1}, com_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_PositionFunction$AbsolutePosition__V); +_.reset__Lcom_google_gwt_dom_client_Element_2V = function(e){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'left', ''); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'top', ''); +} +; +_.set__Lcom_google_gwt_dom_client_Element_2DDV = function(e, x_0, y_0){ + e.style['left'] = x_0 + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + e.style['top'] = y_0 + 'px'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1PositionFunction$AbsolutePosition_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(90); +function com_vaadin_client_widget_escalator_PositionFunction$Translate3DPosition_PositionFunction$Translate3DPosition__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(416, 1, {}, com_vaadin_client_widget_escalator_PositionFunction$Translate3DPosition_PositionFunction$Translate3DPosition__V); +_.reset__Lcom_google_gwt_dom_client_Element_2V = function(e){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'transform', ''); +} +; +_.set__Lcom_google_gwt_dom_client_Element_2DDV = function(e, x_0, y_0){ + e.style['transform'] = 'translate3d(' + x_0 + 'px, ' + y_0 + 'px, 0)'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1PositionFunction$Translate3DPosition_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(416); +function com_vaadin_client_widget_escalator_PositionFunction$TranslatePosition_PositionFunction$TranslatePosition__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(417, 1, {}, com_vaadin_client_widget_escalator_PositionFunction$TranslatePosition_PositionFunction$TranslatePosition__V); +_.reset__Lcom_google_gwt_dom_client_Element_2V = function(e){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'transform', ''); +} +; +_.set__Lcom_google_gwt_dom_client_Element_2DDV = function(e, x_0, y_0){ + e.style['transform'] = 'translate(' + x_0 + 'px,' + y_0 + 'px)'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1PositionFunction$TranslatePosition_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(417); +function com_vaadin_client_widget_escalator_PositionFunction$WebkitTranslate3DPosition_PositionFunction$WebkitTranslate3DPosition__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(418, 1, {}, com_vaadin_client_widget_escalator_PositionFunction$WebkitTranslate3DPosition_PositionFunction$WebkitTranslate3DPosition__V); +_.reset__Lcom_google_gwt_dom_client_Element_2V = function(e){ + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(e.style, 'webkitTransform', ''); +} +; +_.set__Lcom_google_gwt_dom_client_Element_2DDV = function(e, x_0, y_0){ + e.style['webkitTransform'] = 'translate3d(' + x_0 + 'px,' + y_0 + 'px,0)'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1PositionFunction$WebkitTranslate3DPosition_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(418); +function com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_$clinit__V(){ + com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_RowVisibilityChangeEvent__IIV(firstVisibleRow, visibleRowCount){ + com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_$clinit__V(); + this.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_firstVisibleRow = firstVisibleRow; + this.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_visibleRowCount = visibleRowCount; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(151, 527, {}, com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_RowVisibilityChangeEvent__IIV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_vaadin_client_widgets_Grid$2_$onRowVisibilityChange__Lcom_vaadin_client_widgets_Grid$2_2Lcom_vaadin_client_widget_escalator_RowVisibilityChangeEvent_2V(handler, this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_TYPE; +} +; +_.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_firstVisibleRow = 0; +_.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_visibleRowCount = 0; +var com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1RowVisibilityChangeEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(151); +function com_vaadin_client_widget_escalator_ScrollbarBundle_$addScrollHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_grid_events_ScrollHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2((!this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager && (this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)) , this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager), (com_vaadin_client_widget_grid_events_ScrollEvent_$clinit__V() , com_vaadin_client_widget_grid_events_ScrollEvent_TYPE), handler); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$addVisibilityHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_event_shared_HandlerManager_$addHandler__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2((!this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager && (this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)) , this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager), (com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_$clinit__V() , com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_TYPE), handler); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$fireVisibilityChangeIfNeeded__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static){ + var event_0, oldHandleIsVisible; + oldHandleIsVisible = this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollHandleIsVisible; + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollHandleIsVisible = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()); + if (oldHandleIsVisible != this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollHandleIsVisible) { + event_0 = new com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_ScrollbarBundle$VisibilityChangeEvent__ZV; + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V((!this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager && (this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)) , this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager), event_0); + } +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$forceScrollbar__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2ZV(this$static, enable){ + enable?com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'display', ''):(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['display'] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none') , undefined); + this$static.internalForceScrollbar__ZV(enable); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$getHandlerManager__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_google_gwt_event_shared_HandlerManager_2(this$static){ + !this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager && (this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager = new com_google_gwt_event_shared_HandlerManager_HandlerManager__Ljava_lang_Object_2V(this$static)); + return this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_handlerManager; +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static){ + return this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_isInvisibleScrollbar?0:com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollbarThickness__Ljava_lang_String_2()); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$recalculateMaxScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static){ + var offsetSize, scrollSize; + scrollSize = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()); + offsetSize = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()); + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_maxScrollPos = 0 > scrollSize - offsetSize?0:scrollSize - offsetSize; + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + var newOffsetSizeIsGreaterThanScrollSize, offsetSizeBecomesGreaterThanScrollSize; + newOffsetSizeIsGreaterThanScrollSize = px > com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()); + offsetSizeBecomesGreaterThanScrollSize = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()) && newOffsetSizeIsGreaterThanScrollSize; + if (offsetSizeBecomesGreaterThanScrollSize && this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos != 0) { + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_offsetSizeTemporaryScrollHandler = com_vaadin_client_widget_escalator_ScrollbarBundle_$addScrollHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_grid_events_ScrollHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, new com_vaadin_client_widget_escalator_ScrollbarBundle$1_ScrollbarBundle$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static, px)); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, 0); + } + else { + com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px); + } +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + this$static.internalSetOffsetSize__DV(java_lang_Math_max__DDD(0, px > 0?java_lang_Math_floor__DD(px):java_lang_Math_ceil__DD(px))); + com_vaadin_client_widget_escalator_ScrollbarBundle_$recalculateMaxScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static); + com_vaadin_client_widget_escalator_ScrollbarBundle_$forceScrollbar__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2ZV(this$static, com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2())); + com_vaadin_client_widget_escalator_ScrollbarBundle_$fireVisibilityChangeIfNeeded__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + var oldScrollPos; + oldScrollPos = this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos = java_lang_Math_max__DDD(0, java_lang_Math_min__DDD(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_maxScrollPos, px > 0?java_lang_Math_floor__DD(px):java_lang_Math_ceil__DD(px))); + if (!com_vaadin_client_WidgetUtil_pixelValuesEqual__DDZ(oldScrollPos, this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos)) { + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_isInvisibleScrollbar && com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_$show__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_invisibleScrollbarTemporaryResizer); + this$static.internalSetScrollPos__IV(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos | 0); + } +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPosByDelta__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, delta){ + delta != 0 && com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos + delta); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + var newScrollSizeIsSmallerThanOffsetSize, scrollSizeBecomesSmallerThanOffsetSize; + newScrollSizeIsSmallerThanOffsetSize = px <= com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()); + scrollSizeBecomesSmallerThanOffsetSize = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()) && newScrollSizeIsSmallerThanOffsetSize; + if (scrollSizeBecomesSmallerThanOffsetSize && this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos != 0) { + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeTemporaryScrollHandler = com_vaadin_client_widget_escalator_ScrollbarBundle_$addScrollHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_grid_events_ScrollHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, new com_vaadin_client_widget_escalator_ScrollbarBundle$2_ScrollbarBundle$2__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static, px)); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, 0); + } + else { + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px); + } +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + this$static.internalSetScrollSize__DV(0 > px?0:px); + com_vaadin_client_widget_escalator_ScrollbarBundle_$recalculateMaxScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static); + com_vaadin_client_widget_escalator_ScrollbarBundle_$forceScrollbar__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2ZV(this$static, com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2())); + com_vaadin_client_widget_escalator_ScrollbarBundle_$fireVisibilityChangeIfNeeded__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static, px){ + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_isInvisibleScrollbar = px == 0; + if (this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_isInvisibleScrollbar) { + com_google_gwt_user_client_Event_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, 16384); + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, new com_vaadin_client_widget_escalator_ScrollbarBundle$3_ScrollbarBundle$3__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static)); + } + else { + com_google_gwt_user_client_Event_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, 0); + com_google_gwt_user_client_DOM_$clinit__V(); + com_google_gwt_user_client_impl_DOMImpl_setEventListener__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_user_client_EventListener_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, null); + } + this$static.internalSetScrollbarThickness__DV(1 > px?1:px); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static){ + return com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetOffsetSize__Ljava_lang_String_2()) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(this$static.internalGetScrollSize__Ljava_lang_String_2()); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_$updateScrollPosFromDom__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$static){ + var newScrollPos; + newScrollPos = this$static.internalGetScrollPos__I(); + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos = newScrollPos; + com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_$scheduleEvent__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollEventFirer); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_ScrollbarBundle__V(){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_invisibleScrollbarTemporaryResizer = new com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_ScrollbarBundle$TemporaryResizer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollEventFirer = new com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_ScrollbarBundle$ScrollEventFirer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root, this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['display'] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none'); + com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root, -1); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(size_0){ + return !size_0.length?0:java_lang_Number__1_1parseAndValidateDouble__Ljava_lang_String_2D(java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(size_0, 0, size_0.length - 2)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(137, 1, {}); +_.getElement__Lcom_google_gwt_dom_client_Element_2 = function(){ + return this.com_vaadin_client_widget_escalator_ScrollbarBundle_root; +} +; +_.private$com_vaadin_client_widget_escalator_ScrollbarBundle$updateScrollPosFromDom__V = function(){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$updateScrollPosFromDom__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this); +} +; +_.com_vaadin_client_widget_escalator_ScrollbarBundle_isInvisibleScrollbar = false; +_.com_vaadin_client_widget_escalator_ScrollbarBundle_maxScrollPos = 0; +_.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollHandleIsVisible = false; +_.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(137); +function com_vaadin_client_widget_escalator_ScrollbarBundle$1_ScrollbarBundle$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$0, val$px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_this$01 = this$0; + this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_val$px2 = val$px; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(255, 1, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$1_ScrollbarBundle$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V); +_.onScroll__Lcom_vaadin_client_widget_grid_events_ScrollEvent_2V = function(event_0){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_this$01, this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_val$px2); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_this$01.com_vaadin_client_widget_escalator_ScrollbarBundle_offsetSizeTemporaryScrollHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this.com_vaadin_client_widget_escalator_ScrollbarBundle$1_this$01.com_vaadin_client_widget_escalator_ScrollbarBundle_offsetSizeTemporaryScrollHandler = null; +} +; +_.com_vaadin_client_widget_escalator_ScrollbarBundle$1_val$px2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(255); +function com_vaadin_client_widget_escalator_ScrollbarBundle$2_ScrollbarBundle$2__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$0, val$px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_this$01 = this$0; + this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_val$px2 = val$px; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(256, 1, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$2_ScrollbarBundle$2__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V); +_.onScroll__Lcom_vaadin_client_widget_grid_events_ScrollEvent_2V = function(event_0){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSizeNow__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_this$01, this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_val$px2); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_this$01.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeTemporaryScrollHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this.com_vaadin_client_widget_escalator_ScrollbarBundle$2_this$01.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeTemporaryScrollHandler = null; +} +; +_.com_vaadin_client_widget_escalator_ScrollbarBundle$2_val$px2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(256); +function com_vaadin_client_widget_escalator_ScrollbarBundle$3_ScrollbarBundle$3__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$0){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$3_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(257, 1, {19:1}, com_vaadin_client_widget_escalator_ScrollbarBundle$3_ScrollbarBundle$3__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V); +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_$show__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle$3_this$01.com_vaadin_client_widget_escalator_ScrollbarBundle_invisibleScrollbarTemporaryResizer); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(257); +function com_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_$setStylePrimaryName__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_2Ljava_lang_String_2V(this$static, primaryStyleName){ + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, primaryStyleName + '-scroller'); + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, primaryStyleName + '-scroller-horizontal'); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_ScrollbarBundle$HorizontalScrollbarBundle__V(){ + com_vaadin_client_widget_escalator_ScrollbarBundle_ScrollbarBundle__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(251, 137, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_ScrollbarBundle$HorizontalScrollbarBundle__V); +_.internalForceScrollbar__ZV = function(enable){ + enable?(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['overflowX'] = (com_google_gwt_dom_client_Style$Overflow_$clinit__V() , 'scroll') , undefined):com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'overflowX', ''); +} +; +_.internalGetOffsetSize__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'width'); +} +; +_.internalGetScrollPos__I = function(){ + return com_google_gwt_dom_client_Element_$getScrollLeft__Lcom_google_gwt_dom_client_Element_2I(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root); +} +; +_.internalGetScrollSize__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'width'); +} +; +_.internalGetScrollbarThickness__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'height'); +} +; +_.internalSetOffsetSize__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['width'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); +} +; +_.internalSetScrollPos__IV = function(px){ + com_google_gwt_dom_client_Element_$setScrollLeft__Lcom_google_gwt_dom_client_Element_2IV(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root, px); +} +; +_.internalSetScrollSize__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style['width'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); +} +; +_.internalSetScrollbarThickness__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['height'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style['height'] = px + 'px'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$HorizontalScrollbarBundle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(251); +function com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_$scheduleEvent__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2V(this$static){ + if (!this$static.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_isBeingFired) { + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this$static.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_fireEventCommand); + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_isBeingFired = true; + } +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_ScrollbarBundle$ScrollEventFirer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$0){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_this$01 = this$0; + this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_fireEventCommand = new com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_ScrollbarBundle$ScrollEventFirer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(247, 1, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_ScrollbarBundle$ScrollEventFirer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V); +_.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_isBeingFired = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$ScrollEventFirer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(247); +function com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_ScrollbarBundle$ScrollEventFirer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2V(this$1){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(252, 1, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_ScrollbarBundle$ScrollEventFirer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2V); +_.execute__V = function(){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$updateScrollPosFromDom__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_this$11.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_this$01); + com_google_gwt_event_shared_HandlerManager_$fireEvent__Lcom_google_gwt_event_shared_HandlerManager_2Lcom_google_gwt_event_shared_GwtEvent_2V(com_vaadin_client_widget_escalator_ScrollbarBundle_$getHandlerManager__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_google_gwt_event_shared_HandlerManager_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_this$11.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_this$01), new com_vaadin_client_widget_grid_events_ScrollEvent_ScrollEvent__V); + this.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_this$11.com_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_isBeingFired = false; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$ScrollEventFirer$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(252); +function com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_$show__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V(this$static){ + this$static.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_this$01.internalSetScrollbarThickness__DV(13); + com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_timer, 1000); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_ScrollbarBundle$TemporaryResizer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V(this$0){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_this$01 = this$0; + this.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_timer = new com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_ScrollbarBundle$TemporaryResizer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(248, 1, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_ScrollbarBundle$TemporaryResizer__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$TemporaryResizer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(248); +function com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_ScrollbarBundle$TemporaryResizer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V(this$1){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_this$11 = this$1; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(253, 39, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_ScrollbarBundle$TemporaryResizer$1__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2V); +_.run__V = function(){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_this$11.com_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_this$01.internalSetScrollbarThickness__DV(1); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$TemporaryResizer$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(253); +function com_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_$setStylePrimaryName__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_2Ljava_lang_String_2V(this$static, primaryStyleName){ + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, primaryStyleName + '-scroller'); + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_widget_escalator_ScrollbarBundle_root, primaryStyleName + '-scroller-vertical'); +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_ScrollbarBundle$VerticalScrollbarBundle__V(){ + com_vaadin_client_widget_escalator_ScrollbarBundle_ScrollbarBundle__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(250, 137, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_ScrollbarBundle$VerticalScrollbarBundle__V); +_.internalForceScrollbar__ZV = function(enable){ + enable?(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['overflowY'] = (com_google_gwt_dom_client_Style$Overflow_$clinit__V() , 'scroll') , undefined):com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'overflowY', ''); +} +; +_.internalGetOffsetSize__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'height'); +} +; +_.internalGetScrollPos__I = function(){ + return com_google_gwt_dom_client_Element_$getSubPixelScrollTop__Lcom_google_gwt_dom_client_Element_2D(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root) | 0; +} +; +_.internalGetScrollSize__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'height'); +} +; +_.internalGetScrollbarThickness__Ljava_lang_String_2 = function(){ + return com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'width'); +} +; +_.internalSetOffsetSize__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['height'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); +} +; +_.internalSetScrollPos__IV = function(px){ + com_google_gwt_dom_client_Element_$setScrollTop__Lcom_google_gwt_dom_client_Element_2IV(this.com_vaadin_client_widget_escalator_ScrollbarBundle_root, px); +} +; +_.internalSetScrollSize__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style['height'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); +} +; +_.internalSetScrollbarThickness__DV = function(px){ + this.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['width'] = px + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + this.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style['width'] = px + 'px'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$VerticalScrollbarBundle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(250); +function com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_$clinit__V(){ + com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_TYPE = new com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent$1_ScrollbarBundle$VisibilityChangeEvent$1__V; +} + +function com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_ScrollbarBundle$VisibilityChangeEvent__ZV(){ + com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(249, 527, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_ScrollbarBundle$VisibilityChangeEvent__ZV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(handler.com_vaadin_client_widgets_Escalator$3_this$01); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_TYPE; +} +; +var com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$VisibilityChangeEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(249); +function com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent$1_ScrollbarBundle$VisibilityChangeEvent$1__V(){ + com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(254, 29, {}, com_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent$1_ScrollbarBundle$VisibilityChangeEvent$1__V); +_.toString__Ljava_lang_String_2$ = function(){ + return 'VisibilityChangeEvent'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1ScrollbarBundle$VisibilityChangeEvent$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(254); +function com_vaadin_client_widget_grid_CellReference_$set__Lcom_vaadin_client_widget_grid_CellReference_2ILcom_vaadin_client_widgets_Grid$Column_2V(this$static, columnIndex, column){ + this$static.com_vaadin_client_widget_grid_CellReference_columnIndex = columnIndex; + this$static.com_vaadin_client_widget_grid_CellReference_column = column; +} + +function com_vaadin_client_widget_grid_CellReference_CellReference__Lcom_vaadin_client_widget_grid_RowReference_2V(rowReference){ + this.com_vaadin_client_widget_grid_CellReference_rowReference = rowReference; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(114, 1, {}, com_vaadin_client_widget_grid_CellReference_CellReference__Lcom_vaadin_client_widget_grid_RowReference_2V); +_.com_vaadin_client_widget_grid_CellReference_columnIndex = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1CellReference_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(114); +function com_vaadin_client_widget_grid_DataAvailableEvent_$clinit__V(){ + com_vaadin_client_widget_grid_DataAvailableEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_grid_DataAvailableEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_vaadin_client_widget_grid_DataAvailableEvent_DataAvailableEvent__Lcom_vaadin_shared_ui_grid_Range_2V(rowsAvailable){ + com_vaadin_client_widget_grid_DataAvailableEvent_$clinit__V(); + this.com_vaadin_client_widget_grid_DataAvailableEvent_rowsAvailable = rowsAvailable; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(152, 527, {}, com_vaadin_client_widget_grid_DataAvailableEvent_DataAvailableEvent__Lcom_vaadin_shared_ui_grid_Range_2V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onDataAvailable__Lcom_vaadin_client_widget_grid_DataAvailableEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_grid_DataAvailableEvent_TYPE; +} +; +var com_vaadin_client_widget_grid_DataAvailableEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1DataAvailableEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(152); +function com_vaadin_client_widget_grid_EventCellReference_$set__Lcom_vaadin_client_widget_grid_EventCellReference_2Lcom_vaadin_client_widget_escalator_Cell_2V(this$static, targetCell){ + var column, row; + row = targetCell.com_vaadin_client_widget_escalator_Cell_row; + column = targetCell.com_vaadin_client_widget_escalator_Cell_column; + com_vaadin_client_widget_grid_RowReference_$set__Lcom_vaadin_client_widget_grid_RowReference_2ILjava_lang_Object_2Lcom_google_gwt_dom_client_TableRowElement_2V(this$static.com_vaadin_client_widget_grid_CellReference_rowReference, row, this$static.com_vaadin_client_widget_grid_EventCellReference_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(row)); + com_vaadin_client_widget_grid_CellReference_$set__Lcom_vaadin_client_widget_grid_CellReference_2ILcom_vaadin_client_widgets_Grid$Column_2V(this$static, column, com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static.com_vaadin_client_widget_grid_EventCellReference_grid, column)); + this$static.com_vaadin_client_widget_grid_EventCellReference_element = targetCell.com_vaadin_client_widget_escalator_Cell_element; +} + +function com_vaadin_client_widget_grid_EventCellReference_EventCellReference__Lcom_vaadin_client_widgets_Grid_2V(grid){ + com_vaadin_client_widget_grid_CellReference_CellReference__Lcom_vaadin_client_widget_grid_RowReference_2V.call(this, new com_vaadin_client_widget_grid_RowReference_RowReference__Lcom_vaadin_client_widgets_Grid_2V); + this.com_vaadin_client_widget_grid_EventCellReference_grid = grid; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(387, 114, {}, com_vaadin_client_widget_grid_EventCellReference_EventCellReference__Lcom_vaadin_client_widgets_Grid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1EventCellReference_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(387); +function com_vaadin_client_widget_grid_RendererCellReference_$set__Lcom_vaadin_client_widget_grid_RendererCellReference_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, cell, column){ + this$static.com_vaadin_client_widget_grid_RendererCellReference_cell = cell; + com_vaadin_client_widget_grid_CellReference_$set__Lcom_vaadin_client_widget_grid_CellReference_2ILcom_vaadin_client_widgets_Grid$Column_2V(this$static, cell.com_vaadin_client_widget_escalator_FlyweightCell_column, column); +} + +function com_vaadin_client_widget_grid_RendererCellReference_RendererCellReference__Lcom_vaadin_client_widget_grid_RowReference_2V(rowReference){ + com_vaadin_client_widget_grid_CellReference_CellReference__Lcom_vaadin_client_widget_grid_RowReference_2V.call(this, rowReference); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(393, 114, {}, com_vaadin_client_widget_grid_RendererCellReference_RendererCellReference__Lcom_vaadin_client_widget_grid_RowReference_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1RendererCellReference_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(393); +function com_vaadin_client_widget_grid_RowReference_$set__Lcom_vaadin_client_widget_grid_RowReference_2ILjava_lang_Object_2Lcom_google_gwt_dom_client_TableRowElement_2V(this$static, rowIndex, row){ + this$static.com_vaadin_client_widget_grid_RowReference_rowIndex = rowIndex; + this$static.com_vaadin_client_widget_grid_RowReference_row = row; +} + +function com_vaadin_client_widget_grid_RowReference_RowReference__Lcom_vaadin_client_widgets_Grid_2V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(150, 1, {}, com_vaadin_client_widget_grid_RowReference_RowReference__Lcom_vaadin_client_widgets_Grid_2V); +_.com_vaadin_client_widget_grid_RowReference_rowIndex = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1RowReference_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(150); +function com_vaadin_client_widget_grid_datasources_ListDataSource_ListDataSource__Ljava_util_List_2V(datasource){ + if (!datasource) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('datasource cannot be null'); + } + this.com_vaadin_client_widget_grid_datasources_ListDataSource_ds = new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(datasource); + new com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_ListDataSource$ListWrapper__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(140, 1, {}, com_vaadin_client_widget_grid_datasources_ListDataSource_ListDataSource__Ljava_util_List_2V); +_.ensureAvailability__IIV = function(firstRowIndex, numberOfRows){ + if (firstRowIndex >= this.com_vaadin_client_widget_grid_datasources_ListDataSource_ds.java_util_ArrayList_array.length) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Trying to fetch rows outside of array'); + } + com_vaadin_client_widgets_Grid$6_$dataAvailable__Lcom_vaadin_client_widgets_Grid$6_2IIV(this.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler, firstRowIndex, numberOfRows); +} +; +_.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2 = function(row){ + return new com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_ListDataSource$RowHandleImpl__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_lang_Object_2V(row); +} +; +_.getRow__ILjava_lang_Object_2 = function(rowIndex){ + return java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, rowIndex); +} +; +_.indexOf__Ljava_lang_Object_2I = function(row){ + return java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, row, 0); +} +; +_.setDataChangeHandler__Lcom_vaadin_client_data_DataChangeHandler_2V = function(dataChangeHandler){ + this.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler = dataChangeHandler; +} +; +_.size__I = function(){ + return this.com_vaadin_client_widget_grid_datasources_ListDataSource_ds.java_util_ArrayList_array.length; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1datasources_1ListDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(140); +function com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$contains__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2Ljava_lang_Object_2Z(this$static, o){ + return com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$contains__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2Ljava_lang_Object_2Z(this$static, o); +} + +function com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$toArray__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this$static, a){ + return com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$toArray__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this$static, a); +} + +function com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_ListDataSource$ListWrapper__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2V(this$0){ + this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(280, 1, $intern_35, com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_ListDataSource$ListWrapper__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2V); +_.add__Ljava_lang_Object_2Z = function(e){ + if (java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, e)) { + !!this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler && com_vaadin_client_widgets_Grid$6_$dataAdded__Lcom_vaadin_client_widgets_Grid$6_2IIV(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler, this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds.java_util_ArrayList_array.length - 1); + return true; + } + return false; +} +; +_.contains__Ljava_lang_Object_2Z = function(o){ + return com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$contains__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2Ljava_lang_Object_2Z(this, o); +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, index_0); +} +; +_.indexOf__Ljava_lang_Object_2I = function(o){ + return java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, o, 0); +} +; +_.isEmpty__Z = function(){ + return this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds.java_util_ArrayList_array.length == 0; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_ListDataSource$ListWrapperIterator__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_util_Iterator_2V(new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds)); +} +; +_.listIterator__Ljava_util_ListIterator_2 = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('List iterators not supported at this time.'); +} +; +_.listIterator__ILjava_util_ListIterator_2 = function(index_0){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('List iterators not supported at this time.'); +} +; +_.remove__Ljava_lang_Object_2Z = function(o){ + var index_0; + index_0 = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, o, 0); + if (java_util_ArrayList_$remove__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds, o)) { + !!this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler && com_vaadin_client_widgets_Grid$6_$dataRemoved__Lcom_vaadin_client_widgets_Grid$6_2IIV(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_changeHandler, index_0); + return true; + } + return false; +} +; +_.size__I = function(){ + return this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds.java_util_ArrayList_array.length; +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + return java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_this$01.com_vaadin_client_widget_grid_datasources_ListDataSource_ds); +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(a){ + return com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_$toArray__Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this, a); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1datasources_1ListDataSource$ListWrapper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(280); +function com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_ListDataSource$ListWrapperIterator__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_util_Iterator_2V(iterator){ + this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_iterator = iterator; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(281, 1, {}, com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_ListDataSource$ListWrapperIterator__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_util_Iterator_2V); +_.hasNext__Z = function(){ + return java_util_AbstractList$IteratorImpl_$hasNext__Ljava_util_AbstractList$IteratorImpl_2Z(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_iterator); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(this.com_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_iterator); +} +; +_.remove__V = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Iterator.remove() is not supported by this iterator.'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1datasources_1ListDataSource$ListWrapperIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(281); +function com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_ListDataSource$RowHandleImpl__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_lang_Object_2V(row){ + this.com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_row = row; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(106, 538, {106:1}, com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_ListDataSource$RowHandleImpl__Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2Ljava_lang_Object_2V); +_.equalsExplicit__Ljava_lang_Object_2Z = function(obj){ + var rhi; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(obj, 106)) { + rhi = obj; + return com_vaadin_shared_util_SharedUtil_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_row, rhi.com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_row); + } + else { + return false; + } +} +; +_.getRow__Ljava_lang_Object_2 = function(){ + return this.com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_row; +} +; +_.hashCodeExplicit__I = function(){ + return java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(this.com_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_row); +} +; +_.pin__V = function(){ +} +; +_.unpin__V = function(){ +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1datasources_1ListDataSource$RowHandleImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(106); +function com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_$dispatch__Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2Lcom_vaadin_client_widget_grid_events_AbstractGridMouseEventHandler_2V(this$static, handler){ + var container, section, target, targetElement; + target = com_google_gwt_dom_client_NativeEvent_$getEventTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(this$static.com_google_gwt_event_dom_client_DomEvent_nativeEvent); + if (!com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(target)) { + return; + } + targetElement = target; + if (com_vaadin_client_widgets_Grid_$isElementInChildWidget__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_dom_client_Element_2Z(this$static.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_grid, targetElement)) { + return; + } + container = com_vaadin_client_widgets_Escalator_$findRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_grid.com_vaadin_client_widgets_Grid_escalator, targetElement); + if (!container) { + return; + } + section = (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_FOOTER); + container == this$static.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header?(section = com_vaadin_client_widgets_Grid$Section_HEADER):container == this$static.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body && (section = com_vaadin_client_widgets_Grid$Section_BODY); + this$static.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridMouseEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V(handler, section); +} + +function com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_Grid$AbstractGridMouseEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + this.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_associatedType = new com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V(this.getBrowserEventType__Ljava_lang_String_2(), this); + this.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_grid = grid; + this.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_targetCell = targetCell; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(133, 534, {}); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_$dispatch__Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2Lcom_vaadin_client_widget_grid_events_AbstractGridMouseEventHandler_2V(this, handler); +} +; +_.getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2 = function(){ + return this.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_associatedType; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$AbstractGridMouseEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(133); +function com_vaadin_client_widget_grid_events_GridClickEvent_GridClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_Grid$AbstractGridMouseEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V.call(this, grid, targetCell); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(391, 133, {}, com_vaadin_client_widget_grid_events_GridClickEvent_GridClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V); +_.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridMouseEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V = function(handler, section){ + var com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_$onClick__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2Lcom_vaadin_client_widget_grid_events_GridClickEvent_2V_row_0; + (section == (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_BODY) && !!handler || section == com_vaadin_client_widgets_Grid$Section_HEADER && false || section == com_vaadin_client_widgets_Grid$Section_FOOTER && false) && (com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_$onClick__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2Lcom_vaadin_client_widget_grid_events_GridClickEvent_2V_row_0 = this.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_targetCell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_row , com_vaadin_client_widgets_Grid_$isSelected__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(handler.com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_this$01.com_vaadin_client_widget_grid_selection_ClickSelectHandler_grid, com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_$onClick__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2Lcom_vaadin_client_widget_grid_events_GridClickEvent_2V_row_0) || com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(handler.com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_this$01.com_vaadin_client_widget_grid_selection_ClickSelectHandler_grid, com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_$onClick__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2Lcom_vaadin_client_widget_grid_events_GridClickEvent_2V_row_0) , undefined); +} +; +_.getBrowserEventType__Ljava_lang_String_2 = function(){ + return 'click'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1GridClickEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(391); +function com_vaadin_client_widget_grid_events_GridDoubleClickEvent_GridDoubleClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_Grid$AbstractGridMouseEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V.call(this, grid, targetCell); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(392, 133, {}, com_vaadin_client_widget_grid_events_GridDoubleClickEvent_GridDoubleClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V); +_.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridMouseEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V = function(handler, section){ + (section == (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_BODY) && false || section == com_vaadin_client_widgets_Grid$Section_HEADER && false || section == com_vaadin_client_widgets_Grid$Section_FOOTER && false) && null.nullMethod(); +} +; +_.getBrowserEventType__Ljava_lang_String_2 = function(){ + return 'dblclick'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1GridDoubleClickEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(392); +function com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_$dispatch__Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2V(this$static, handler){ + var container, section, target; + target = com_google_gwt_dom_client_NativeEvent_$getEventTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(this$static.com_google_gwt_event_dom_client_DomEvent_nativeEvent); + if (com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(target) && !com_vaadin_client_widgets_Grid_$isElementInChildWidget__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_dom_client_Element_2Z(this$static.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_grid, target)) { + section = (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_FOOTER); + container = this$static.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_grid.com_vaadin_client_widgets_Grid_cellFocusHandler.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus; + container == this$static.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header?(section = com_vaadin_client_widgets_Grid$Section_HEADER):container == this$static.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body && (section = com_vaadin_client_widgets_Grid$Section_BODY); + this$static.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V(handler, section); + } +} + +function com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_Grid$AbstractGridKeyEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + this.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_associatedType = new com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V(this.getBrowserEventType__Ljava_lang_String_2(), this); + this.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_grid = grid; + this.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_targetCell = targetCell; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(96, 532, {}); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_$dispatch__Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2V(this, handler); +} +; +_.getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2 = function(){ + return this.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_associatedType; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$AbstractGridKeyEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(96); +function com_vaadin_client_widget_grid_events_GridKeyDownEvent_GridKeyDownEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_Grid$AbstractGridKeyEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V.call(this, grid, targetCell); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(388, 96, {}, com_vaadin_client_widget_grid_events_GridKeyDownEvent_GridKeyDownEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V); +_.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V = function(handler, section){ + (section == (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_BODY) && !!handler || section == com_vaadin_client_widgets_Grid$Section_HEADER && false || section == com_vaadin_client_widgets_Grid$Section_FOOTER && false) && com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_$onKeyDown__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2Lcom_vaadin_client_widget_grid_events_GridKeyDownEvent_2V(handler, this); +} +; +_.getBrowserEventType__Ljava_lang_String_2 = function(){ + return 'keydown'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1GridKeyDownEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(388); +function com_vaadin_client_widget_grid_events_GridKeyPressEvent_GridKeyPressEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_Grid$AbstractGridKeyEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V.call(this, grid, targetCell); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(390, 96, {}, com_vaadin_client_widget_grid_events_GridKeyPressEvent_GridKeyPressEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V); +_.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V = function(handler, section){ + (section == (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_BODY) && false || section == com_vaadin_client_widgets_Grid$Section_HEADER && false || section == com_vaadin_client_widgets_Grid$Section_FOOTER && false) && null.nullMethod(); +} +; +_.getBrowserEventType__Ljava_lang_String_2 = function(){ + return 'keypress'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1GridKeyPressEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(390); +function com_vaadin_client_widget_grid_events_GridKeyUpEvent_GridKeyUpEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(grid, targetCell){ + com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_Grid$AbstractGridKeyEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V.call(this, grid, targetCell); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(389, 96, {}, com_vaadin_client_widget_grid_events_GridKeyUpEvent_GridKeyUpEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V); +_.doDispatch__Lcom_vaadin_client_widget_grid_events_AbstractGridKeyEventHandler_2Lcom_vaadin_client_widgets_Grid$Section_2V = function(handler, section){ + (section == (com_vaadin_client_widgets_Grid$Section_$clinit__V() , com_vaadin_client_widgets_Grid$Section_BODY) && com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(handler, 560) || section == com_vaadin_client_widgets_Grid$Section_HEADER && com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(handler, 558) || section == com_vaadin_client_widgets_Grid$Section_FOOTER && false) && handler.onKeyUp__Lcom_vaadin_client_widget_grid_events_GridKeyUpEvent_2V(this); +} +; +_.getBrowserEventType__Ljava_lang_String_2 = function(){ + return 'keyup'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1GridKeyUpEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(389); +function com_vaadin_client_widget_grid_events_ScrollEvent_$clinit__V(){ + com_vaadin_client_widget_grid_events_ScrollEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_grid_events_ScrollEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_vaadin_client_widget_grid_events_ScrollEvent_ScrollEvent__V(){ + com_vaadin_client_widget_grid_events_ScrollEvent_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(115, 527, {}, com_vaadin_client_widget_grid_events_ScrollEvent_ScrollEvent__V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onScroll__Lcom_vaadin_client_widget_grid_events_ScrollEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_grid_events_ScrollEvent_TYPE; +} +; +var com_vaadin_client_widget_grid_events_ScrollEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1ScrollEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(115); +function com_vaadin_client_widget_grid_events_SelectAllEvent_$clinit__V(){ + com_vaadin_client_widget_grid_events_SelectAllEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_grid_events_SelectAllEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_vaadin_client_widget_grid_events_SelectAllEvent_SelectAllEvent__Lcom_vaadin_client_widget_grid_selection_SelectionModel$Multi_2V(){ + com_vaadin_client_widget_grid_events_SelectAllEvent_$clinit__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(477, 527, {}, com_vaadin_client_widget_grid_events_SelectAllEvent_SelectAllEvent__Lcom_vaadin_client_widget_grid_selection_SelectionModel$Multi_2V); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + null.nullMethod(); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_grid_events_SelectAllEvent_TYPE; +} +; +var com_vaadin_client_widget_grid_events_SelectAllEvent_TYPE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1events_1SelectAllEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(477); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(539, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1AbstractRowHandleSelectionModel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(539); +function com_vaadin_client_widget_grid_selection_ClickSelectHandler_ClickSelectHandler__Lcom_vaadin_client_widgets_Grid_2V(grid){ + this.com_vaadin_client_widget_grid_selection_ClickSelectHandler_grid = grid; + this.com_vaadin_client_widget_grid_selection_ClickSelectHandler_clickHandler = com_vaadin_client_widgets_Grid_$addBodyClickHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyClickHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(grid, new com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_ClickSelectHandler$RowClickHandler__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler_2V(this)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(466, 1, {}, com_vaadin_client_widget_grid_selection_ClickSelectHandler_ClickSelectHandler__Lcom_vaadin_client_widgets_Grid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1ClickSelectHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(466); +function com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_ClickSelectHandler$RowClickHandler__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler_2V(this$0){ + this.com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(467, 1, {}, com_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_ClickSelectHandler$RowClickHandler__Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1ClickSelectHandler$RowClickHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(467); +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$destroy__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static){ + !!this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_nativePreviewHandlerRegistration && com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$removeNativeHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getBodyClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2I(this$static){ + return com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid)) + ((com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTheadElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static).offsetHeight || 0) | 0); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(e){ + var cursor, top_0; + cursor = e; + top_0 = 0; + while (cursor) { + top_0 += (cursor.offsetTop || 0) | 0; + cursor = cursor.offsetParent; + } + return top_0; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getConsumedEvents__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Ljava_util_Collection_2(){ + var events; + events = new java_util_HashSet_HashSet__V; + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(events, 'mousedown'); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(events, 'touchstart'); + return events; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getLogicalRowIndex__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(this$static, target){ + var checkbox, tbody, td, tr; + if (!target) { + return -1; + } + tbody = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTbodyElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static); + tr = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , tbody)); + while (tr) { + if (com_google_gwt_dom_client_DOMImpl_impl.isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(tr, target)) { + td = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(tr); + checkbox = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(td); + return com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(checkbox, 'vEscalatorLogicalRow'); + } + tr = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(tr); + } + return -1; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTableElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableElement_2(this$static){ + var root, tablewrapper; + root = com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid); + tablewrapper = root.childNodes[2]; + return tablewrapper?com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , tablewrapper)):null; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTbodyElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + var table; + table = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTableElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableElement_2(this$static); + return table?table.tBodies[0]:null; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTfootElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + var table; + table = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTableElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableElement_2(this$static); + return table?table.tFoot:null; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTheadElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static){ + var table; + table = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTableElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableElement_2(this$static); + return table?table.tHead:null; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$init__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2V(cell){ + var checkbox; + checkbox = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createCheckInputElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_InputElement_2($doc)); + com_google_gwt_dom_client_Node_$removeAllChildren__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(cell.com_vaadin_client_widget_grid_RendererCellReference_cell.com_vaadin_client_widget_escalator_FlyweightCell_element); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(cell.com_vaadin_client_widget_grid_RendererCellReference_cell.com_vaadin_client_widget_escalator_FlyweightCell_element, checkbox); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$isSelected__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IZ(this$static, logicalRow){ + return com_vaadin_client_widgets_Grid_$isSelected__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(logicalRow)); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$onBrowserEvent__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_CellReference_2Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static, event_0){ + var logicalRowIndex; + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('touchstart', (com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type) || java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('mousedown', event_0.type) && com_google_gwt_dom_client_DOMImplStandard_$eventGetButton__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2I(event_0) == 1) { + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$removeNativeHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_nativePreviewHandlerRegistration = com_google_gwt_user_client_Event_addNativePreviewHandler__Lcom_google_gwt_user_client_Event$NativePreviewHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_MultiSelectionRenderer$TouchEventHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static)); + logicalRowIndex = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getLogicalRowIndex__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(this$static, com_google_gwt_dom_client_DOMImpl_impl.eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0)); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$start__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2IV(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_autoScrollHandler, logicalRowIndex); + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + return true; + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('received unexpected event: ' + event_0.type); + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$removeNativeHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static){ + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_nativePreviewHandlerRegistration) { + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_nativePreviewHandlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_nativePreviewHandlerRegistration = null; + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V(cell, data_0){ + var com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Boolean_2V_checkbox_0; + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Boolean_2V_checkbox_0 = com_google_gwt_dom_client_Element_$getFirstChildElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(cell.com_vaadin_client_widget_grid_RendererCellReference_cell.com_vaadin_client_widget_escalator_FlyweightCell_element); + com_google_gwt_dom_client_InputElement_$setChecked__Lcom_google_gwt_dom_client_InputElement_2ZV(com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Boolean_2V_checkbox_0, data_0.java_lang_Boolean_value); + com_google_gwt_dom_client_Element_$setPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2IV(com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Boolean_2V_checkbox_0, 'vEscalatorLogicalRow', cell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_rowIndex); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$setSelected__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IZV(this$static, logicalRow, select){ + var row; + row = this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(logicalRow); + select?com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid, row):com_vaadin_client_widgets_Grid_$deselect__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid, row); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_MultiSelectionRenderer__Lcom_vaadin_client_widgets_Grid_2V(grid){ + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_autoScrollHandler = new com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_MultiSelectionRenderer$AutoScrollHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this); + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid = grid; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(470, 66, {66:1}, com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_MultiSelectionRenderer__Lcom_vaadin_client_widgets_Grid_2V); +_.render__Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V = function(cell, data_0){ + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V(cell, data_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1MultiSelectionRenderer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(470); +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$getScrollCompensation__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2I(this$static){ + var cursor, scroll; + cursor = (com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_google_gwt_user_client_ui_UIObject_element); + scroll = 0; + while (cursor) { + scroll -= com_google_gwt_dom_client_Element_$getSubPixelScrollTop__Lcom_google_gwt_dom_client_Element_2D(cursor) | 0; + cursor = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cursor)); + } + return scroll; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$start__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2IV(this$static, logicalRowIndex){ + var batchedModel, model; + model = this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_vaadin_client_widgets_Grid_selectionModel; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(model, 511)) { + batchedModel = model; + batchedModel.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted = true; + } + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$updateScrollBounds__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this$static); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_handlerRegistration = com_google_gwt_user_client_Event_addNativePreviewHandler__Lcom_google_gwt_user_client_Event$NativePreviewHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_scrollPreviewHandler); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller = new com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_MultiSelectionRenderer$AutoScrollerAndSelector__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IIIZV(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_gradientArea, !com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$isSelected__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IZ(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01, logicalRowIndex)); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$start__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller, logicalRowIndex); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this$static){ + var batchedModel, model; + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_handlerRegistration) { + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_handlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_handlerRegistration = null; + } + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller) { + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2V(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller = null; + } + model = this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_vaadin_client_widgets_Grid_selectionModel; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(model, 511)) { + batchedModel = model; + com_vaadin_client_widget_grid_selection_SelectionModelMulti_$commitBatchSelect__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2V(batchedModel); + } + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$removeNativeHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$updateScrollBounds__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this$static){ + var adjustment, bottomBorder, scrollCompensation, topBorder; + topBorder = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getBodyClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2I(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01); + bottomBorder = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTfootElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01)) - 1; + scrollCompensation = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$getScrollCompensation__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2I(this$static); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound = scrollCompensation + topBorder + 100; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound = scrollCompensation + bottomBorder - 100; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_gradientArea = 100; + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound - this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound < 50) { + adjustment = 50 - (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound - this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound -= adjustment / 2 | 0; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound += adjustment / 2 | 0; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_gradientArea -= adjustment / 2 | 0; + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_MultiSelectionRenderer$AutoScrollHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$0){ + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_this$01 = this$0; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_scrollPreviewHandler = new com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_MultiSelectionRenderer$AutoScrollHandler$1__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(473, 1, {}, com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_MultiSelectionRenderer$AutoScrollHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V); +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_bottomBound = -1; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_gradientArea = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_topBound = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1MultiSelectionRenderer$AutoScrollHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(473); +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_MultiSelectionRenderer$AutoScrollHandler$1__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this$1){ + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(474, 1, {}, com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_MultiSelectionRenderer$AutoScrollHandler$1__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V); +_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function(event_0){ + var nativeEvent, pageX, pageY; + if (!this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_this$11.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller) { + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_this$11); + return; + } + nativeEvent = event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent; + switch (com_google_gwt_user_client_Event_$getTypeInt__Lcom_google_gwt_user_client_Event_2I(event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent)) { + case 64: + case $intern_29: + pageY = (com_vaadin_client_WidgetUtil_$clinit__V() , com_vaadin_client_WidgetUtil_$clinit__V() , (com_google_gwt_dom_client_DOMImpl_$clinit__V() , nativeEvent).type.indexOf('touch') != -1?com_google_gwt_dom_client_Touch_$getClientY__Lcom_google_gwt_dom_client_Touch_2I(nativeEvent.changedTouches[0]):com_google_gwt_dom_client_DOMImpl_toInt32__DI(nativeEvent.clientY || 0)); + pageX = (null , nativeEvent.type.indexOf('touch') != -1?com_google_gwt_dom_client_Touch_$getClientX__Lcom_google_gwt_dom_client_Touch_2I(nativeEvent.changedTouches[0]):com_google_gwt_dom_client_DOMImpl_toInt32__DI(nativeEvent.clientX || 0)); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updatePointerCoords__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IIV(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_this$11.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_autoScroller, pageX, pageY); + break; + case 8: + case $intern_17: + case $intern_30: + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_this$11); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1MultiSelectionRenderer$AutoScrollHandler$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(474); +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$doScrollAreaChecks__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, pageY){ + var bottomDidNotMove, oldBottomBound, oldTopBound, topDidNotMove, wasVerticalMovement; + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound == -1) { + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound = java_lang_Math_min__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound, pageY); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound = java_lang_Math_max__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound, pageY); + } + else { + oldTopBound = this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound < this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound && (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound = java_lang_Math_max__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound, java_lang_Math_min__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound, pageY))); + oldBottomBound = this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound > this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound && (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound = java_lang_Math_min__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound, java_lang_Math_max__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound, pageY))); + topDidNotMove = oldTopBound == this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound; + bottomDidNotMove = oldBottomBound == this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound; + wasVerticalMovement = pageY != this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollAreaShouldRebound = topDidNotMove && bottomDidNotMove && wasVerticalMovement; + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$reboundScrollArea__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2DV(this$static, timeDiff){ + var reboundPx; + if (!this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollAreaShouldRebound) { + return; + } + reboundPx = com_google_gwt_lang_Cast_round_1int__DI(Math.ceil(0.001 * timeDiff)); + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound < this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound) { + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound += reboundPx; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound = java_lang_Math_min__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updateScrollSpeed__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY); + } + else if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound > this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound) { + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound -= reboundPx; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound = java_lang_Math_max__III(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updateScrollSpeed__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY); + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$start__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, logicalRowIndex){ + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_running = true; + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$setSelected__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IZV(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01, logicalRowIndex, this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_selectionPaint); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow = logicalRowIndex; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_running && this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea >= 10 && (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_handle = (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this$static, com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid))); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2V(this$static){ + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_running = false; + if (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_handle) { + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_handle.cancel__V(); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_handle = null; + } +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updatePointerCoords__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IIV(this$static, pageX, pageY){ + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$doScrollAreaChecks__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, pageY); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updateScrollSpeed__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, pageY); + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY = pageY; + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_initialPageX == -1 && (this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_initialPageX = pageX); +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$updateScrollSpeed__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2IV(this$static, pointerPageY){ + var distance, ratio; + if (pointerPageY < this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound) { + distance = pointerPageY - this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound; + ratio = java_lang_Math_max__DDD(-1, distance / this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea); + } + else if (pointerPageY > this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound) { + distance = pointerPageY - this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound; + ratio = java_lang_Math_min__DDD(1, distance / this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea); + } + else { + ratio = 0; + } + this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollSpeed = ratio * 500; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_MultiSelectionRenderer$AutoScrollerAndSelector__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IIIZV(this$0, topBound, bottomBound, gradientArea, selectionPaint){ + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01 = this$0; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound = topBound; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound = bottomBound; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea = gradientArea; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_selectionPaint = selectionPaint; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteTop = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$0.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid)) + ((com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTheadElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$0).offsetHeight || 0) | 0); + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteBottom = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getClientTop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTfootElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$0)) - 1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(472, 1, {}, com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_MultiSelectionRenderer$AutoScrollerAndSelector__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IIIZV); +_.execute__DV = function(timestamp){ + var constrainedPageY, incrementOrDecrement, intPixelsToScroll, logicalRow, timeDiff; + timeDiff = timestamp - this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_prevTimestamp; + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_prevTimestamp = timestamp; + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_$reboundScrollArea__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2DV(this, timeDiff); + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pixelsToScroll += this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollSpeed * (timeDiff / 1000); + intPixelsToScroll = com_google_gwt_lang_Cast_round_1int__DI(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pixelsToScroll); + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pixelsToScroll -= intPixelsToScroll; + intPixelsToScroll != 0 && com_vaadin_client_widgets_Grid_$setScrollTop__Lcom_vaadin_client_widgets_Grid_2DV(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid, this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos + intPixelsToScroll); + constrainedPageY = java_lang_Math_max__III(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteTop, java_lang_Math_min__III(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteBottom, this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY)); + logicalRow = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getLogicalRowIndex__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_Element_2I(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01, com_vaadin_client_WidgetUtil_getElementFromPoint__IILcom_google_gwt_dom_client_Element_2(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_initialPageX, constrainedPageY)); + incrementOrDecrement = logicalRow > this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow?1:-1; + while (logicalRow != -1 && this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow != logicalRow) { + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow += incrementOrDecrement; + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$setSelected__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2IZV(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01, this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow, this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_selectionPaint); + } + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_running && this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea >= 10 && (this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_handle = (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this, com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_grid))); +} +; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteBottom = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bodyAbsoluteTop = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_bottomBound = -1; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalBottomBound = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_finalTopBound = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_gradientArea = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_initialPageX = -1; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_lastModifiedLogicalRow = -1; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pageY = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_pixelsToScroll = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_prevTimestamp = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_running = false; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollAreaShouldRebound = false; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_scrollSpeed = 0; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_selectionPaint = false; +_.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_topBound = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1MultiSelectionRenderer$AutoScrollerAndSelector_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(472); +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_$isInFirstColumn__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_2Lcom_google_gwt_dom_client_Element_2Z(this$static, element){ + var cursor, tbody, tr; + if (!element) { + return false; + } + tbody = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getTbodyElement__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_google_gwt_dom_client_TableSectionElement_2(this$static.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_this$01); + if (!tbody || !(com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(tbody, element)) { + return false; + } + cursor = element; + while (!!com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cursor)) && com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cursor)) != tbody) { + cursor = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cursor); + } + tr = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cursor); + return com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(tr) == cursor; +} + +function com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_MultiSelectionRenderer$TouchEventHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$0){ + this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(471, 1, {}, com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_MultiSelectionRenderer$TouchEventHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V); +_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function(event_0){ + var targetElement; + switch (com_google_gwt_user_client_Event_$getTypeInt__Lcom_google_gwt_user_client_Event_2I(event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent)) { + case $intern_28: + { + com_google_gwt_dom_client_NativeEvent_$getTouches__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_core_client_JsArray_2(event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent).length == 1 && com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_$stop__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2V(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_this$01.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_autoScrollHandler); + break; + } + + case $intern_29: + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true; + break; + case $intern_17: + case $intern_30: + targetElement = com_google_gwt_dom_client_NativeEvent_$getEventTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent); + if (com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_$isInFirstColumn__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_2Lcom_google_gwt_dom_client_Element_2Z(this, targetElement)) { + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$removeNativeHandler__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this.com_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_this$01); + event_0.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true; + } + + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1MultiSelectionRenderer$TouchEventHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(471); +function com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V(){ + com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widget_grid_selection_SelectionEvent_eventType = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V; +} + +function com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Ljava_lang_Object_2ZV(grid, added, removed){ + com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V(); + this.com_vaadin_client_widget_grid_selection_SelectionEvent_grid = grid; + added != null?(java_util_Collections_$clinit__V() , new java_util_Collections$SingletonList_Collections$SingletonList__Ljava_lang_Object_2V(added)):(java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST); + removed != null?(java_util_Collections_$clinit__V() , new java_util_Collections$SingletonList_Collections$SingletonList__Ljava_lang_Object_2V(removed)):(java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST); +} + +function com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV(grid, added, removed){ + com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V(); + this.com_vaadin_client_widget_grid_selection_SelectionEvent_grid = grid; + added?new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(added):(java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST); + removed?new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(removed):(java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1LIST); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(69, 527, {}, com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Ljava_lang_Object_2ZV, com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV); +_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function(handler){ + handler.onSelect__Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2V(this); +} +; +_.getAssociatedType__Lcom_google_gwt_event_shared_GwtEvent$Type_2 = function(){ + return com_vaadin_client_widget_grid_selection_SelectionEvent_eventType; +} +; +_.getSource__Ljava_lang_Object_2 = function(){ + return this.com_vaadin_client_widget_grid_selection_SelectionEvent_grid; +} +; +var com_vaadin_client_widget_grid_selection_SelectionEvent_eventType; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SelectionEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(69); +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$commitBatchSelect__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2V(this$static){ + var added, handle, handle$iterator, removed; + if (!this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted) { + return; + } + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted = false; + added = com_vaadin_client_widget_grid_selection_SelectionModelMulti_$rowHandlesToRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Ljava_util_ArrayList_2(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch); + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch.java_util_HashSet_map.clear__V(); + removed = com_vaadin_client_widget_grid_selection_SelectionModelMulti_$rowHandlesToRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Ljava_util_ArrayList_2(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch); + for (handle$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch.java_util_HashSet_map)); handle$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + handle = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(handle$iterator); + handle.unpin__V(); + } + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch.java_util_HashSet_map.clear__V(); + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, added, removed)); +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselect__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Z(this$static, rows_0){ + var handle, removed, row, row$iterator; + removed = new java_util_LinkedHashSet_LinkedHashSet__V; + for (row$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(rows_0); row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , row$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(row$iterator.java_util_AbstractList$IteratorImpl_last = row$iterator.java_util_AbstractList$IteratorImpl_i++)); + handle = this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row); + com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle) && java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(removed, row); + } + if (removed.java_util_HashSet_map.size__I() > 0) { + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, null, removed)); + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselectAll__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Z(this$static){ + var event_0, selectedRowsClone; + if (this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows.java_util_HashSet_map.size__I() > 0) { + selectedRowsClone = new java_util_LinkedHashSet_LinkedHashSet__Ljava_util_Collection_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows); + event_0 = new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, null, com_vaadin_client_widget_grid_selection_SelectionModelMulti_$getSelectedRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2(this$static)); + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows.java_util_HashSet_map.clear__V(); + if (this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted) { + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch.java_util_HashSet_map.clear__V(); + this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch.java_util_HashSet_map.clear__V(); + java_util_AbstractCollection_$addAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch, selectedRowsClone); + } + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, event_0); + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle){ + if (java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows, handle)) { + if (this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted) { + java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch, handle); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch, handle); + } + else { + handle.unpin__V(); + } + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$getSelectedRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2(this$static){ + var handle, handle$iterator, selected; + selected = new java_util_LinkedHashSet_LinkedHashSet__V; + for (handle$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows.java_util_HashSet_map)); handle$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + handle = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(handle$iterator); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(selected, handle.getRow__Ljava_lang_Object_2()); + } + return java_util_Collections_$clinit__V() , new java_util_Collections$UnmodifiableSet_Collections$UnmodifiableSet__Ljava_util_Set_2V(selected); +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$isSelectedByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle){ + return java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows, handle); +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$rowHandlesToRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Ljava_util_ArrayList_2(rowHandles){ + var handle, handle$iterator, rows_0; + rows_0 = new java_util_ArrayList_ArrayList__IV(rowHandles.java_util_HashSet_map.size__I()); + for (handle$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(rowHandles.java_util_HashSet_map)); handle$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + handle = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(handle$iterator); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(rows_0, handle.getRow__Ljava_lang_Object_2()); + } + return rows_0; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$select__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Z(this$static, rows_0){ + var added, handle, row, row$iterator; + added = new java_util_LinkedHashSet_LinkedHashSet__V; + for (row$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(rows_0); row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , row$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(row$iterator.java_util_AbstractList$IteratorImpl_last = row$iterator.java_util_AbstractList$IteratorImpl_i++)); + handle = this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row); + com_vaadin_client_widget_grid_selection_SelectionModelMulti_$selectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle) && java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(added, row); + } + if (added.java_util_HashSet_map.size__I() > 0) { + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2Ljava_util_Collection_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid, added, null)); + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_$selectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle){ + if (java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows, handle)) { + handle.pin__V(); + if (this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted) { + java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch, handle); + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch, handle); + } + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelMulti_SelectionModelMulti__V(){ + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectionBatch = new java_util_LinkedHashSet_LinkedHashSet__V; + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_deselectionBatch = new java_util_LinkedHashSet_LinkedHashSet__V; + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid = null; + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_renderer = null; + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_selectedRows = new java_util_LinkedHashSet_LinkedHashSet__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(105, 539, {173:1, 511:1, 105:1}, com_vaadin_client_widget_grid_selection_SelectionModelMulti_SelectionModelMulti__V); +_.getSelectedRows__Ljava_util_Collection_2 = function(){ + return com_vaadin_client_widget_grid_selection_SelectionModelMulti_$getSelectedRows__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2(this); +} +; +_.getSelectionColumnRenderer__Lcom_vaadin_client_renderers_Renderer_2 = function(){ + return this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_renderer; +} +; +_.isSelected__Ljava_lang_Object_2Z = function(row){ + return com_vaadin_client_widget_grid_selection_SelectionModelMulti_$isSelectedByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this, this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row)); +} +; +_.reset__V = function(){ + com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselectAll__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Z(this); +} +; +_.setGrid__Lcom_vaadin_client_widgets_Grid_2V = function(grid){ + if (!!this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid && !!grid) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.'); + } + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid = grid; + if (this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_grid) { + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_spaceSelectHandler = new com_vaadin_client_widget_grid_selection_SpaceSelectHandler_SpaceSelectHandler__Lcom_vaadin_client_widgets_Grid_2V(grid); + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_renderer = new com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_MultiSelectionRenderer__Lcom_vaadin_client_widgets_Grid_2V(grid); + } + else { + com_vaadin_client_widget_grid_selection_SpaceSelectHandler_$removeHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_spaceSelectHandler); + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_spaceSelectHandler = null; + this.com_vaadin_client_widget_grid_selection_SelectionModelMulti_renderer = null; + } +} +; +_.com_vaadin_client_widget_grid_selection_SelectionModelMulti_batchStarted = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SelectionModelMulti_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(105); +function com_vaadin_client_widget_grid_selection_SelectionModelNone_SelectionModelNone__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(428, 539, {}, com_vaadin_client_widget_grid_selection_SelectionModelNone_SelectionModelNone__V); +_.getSelectedRows__Ljava_util_Collection_2 = function(){ + return java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1SET; +} +; +_.getSelectionColumnRenderer__Lcom_vaadin_client_renderers_Renderer_2 = function(){ + return null; +} +; +_.isSelected__Ljava_lang_Object_2Z = function(row){ + return false; +} +; +_.reset__V = function(){ +} +; +_.setGrid__Lcom_vaadin_client_widgets_Grid_2V = function(grid){ +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SelectionModelNone_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(428); +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselect__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2Z(this$static, row){ + if (row == null) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Row cannot be null'); + } + if (!!this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow && this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.equalsExplicit__Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row))) { + com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow); + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid, new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Ljava_lang_Object_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid, null, row)); + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle){ + if (!!handle && handle.equalsExplicit__Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow)) { + this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.unpin__V(); + this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow = null; + return true; + } + else { + return false; + } +} + +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_$getSelectedRow__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2(this$static){ + return this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow?this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.getRow__Ljava_lang_Object_2():null; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_$select__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2Z(this$static, row){ + var removed; + if (row == null) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Row cannot be null'); + } + removed = this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow?this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.getRow__Ljava_lang_Object_2():null; + if (com_vaadin_client_widget_grid_selection_SelectionModelSingle_$selectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row))) { + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid, new com_vaadin_client_widget_grid_selection_SelectionEvent_SelectionEvent__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Ljava_lang_Object_2ZV(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid, row, removed)); + return true; + } + return false; +} + +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_$selectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, handle){ + if (!!handle && !handle.equalsExplicit__Ljava_lang_Object_2Z(this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow)) { + com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselectByHandle__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Lcom_vaadin_client_data_DataSource$RowHandle_2Z(this$static, this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow); + this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow = handle; + this$static.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.pin__V(); + return true; + } + else { + return false; + } +} + +function com_vaadin_client_widget_grid_selection_SelectionModelSingle_SelectionModelSingle__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(104, 539, {124:1, 104:1}, com_vaadin_client_widget_grid_selection_SelectionModelSingle_SelectionModelSingle__V); +_.getSelectedRows__Ljava_util_Collection_2 = function(){ + if ((this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow?this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.getRow__Ljava_lang_Object_2():null) != null) { + return java_util_Collections_singleton__Ljava_lang_Object_2Ljava_util_Set_2(this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow?this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.getRow__Ljava_lang_Object_2():null); + } + return java_util_Collections_$clinit__V() , java_util_Collections_$clinit__V() , java_util_Collections_EMPTY_1SET; +} +; +_.getSelectionColumnRenderer__Lcom_vaadin_client_renderers_Renderer_2 = function(){ + return null; +} +; +_.isSelected__Ljava_lang_Object_2Z = function(row){ + return !!this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow && this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.equalsExplicit__Ljava_lang_Object_2Z(this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid.com_vaadin_client_widgets_Grid_dataSource.getHandle__Ljava_lang_Object_2Lcom_vaadin_client_data_DataSource$RowHandle_2(row)); +} +; +_.reset__V = function(){ + !!this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow && com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselect__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2Z(this, this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow?this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_selectedRow.getRow__Ljava_lang_Object_2():null); +} +; +_.setGrid__Lcom_vaadin_client_widgets_Grid_2V = function(grid){ + if (!!this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid && !!grid) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.'); + } + this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid = grid; + if (this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_grid) { + this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_spaceSelectHandler = new com_vaadin_client_widget_grid_selection_SpaceSelectHandler_SpaceSelectHandler__Lcom_vaadin_client_widgets_Grid_2V(grid); + this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_clickSelectHandler = new com_vaadin_client_widget_grid_selection_ClickSelectHandler_ClickSelectHandler__Lcom_vaadin_client_widgets_Grid_2V(grid); + } + else { + com_vaadin_client_widget_grid_selection_SpaceSelectHandler_$removeHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_spaceSelectHandler); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_clickSelectHandler.com_vaadin_client_widget_grid_selection_ClickSelectHandler_clickHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_spaceSelectHandler = null; + this.com_vaadin_client_widget_grid_selection_SelectionModelSingle_clickSelectHandler = null; + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SelectionModelSingle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(104); +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler_$removeHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this$static){ + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDownHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceUpHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); +} + +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler_SpaceSelectHandler__Lcom_vaadin_client_widgets_Grid_2V(grid){ + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_grid = grid; + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDownHandler = com_vaadin_client_widgets_Grid_$addBodyKeyDownHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyKeyDownHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(grid, new com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_SpaceSelectHandler$SpaceKeyDownHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this)); + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceUpHandler = com_vaadin_client_widgets_Grid_$addBodyKeyUpHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyKeyUpHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(grid, new com_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_SpaceSelectHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this)); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(167, 1, {}, com_vaadin_client_widget_grid_selection_SpaceSelectHandler_SpaceSelectHandler__Lcom_vaadin_client_widgets_Grid_2V); +_.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDown = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SpaceSelectHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(167); +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_SpaceSelectHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this$0){ + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(465, 1, {560:1}, com_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_SpaceSelectHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V); +_.onKeyUp__Lcom_vaadin_client_widget_grid_events_GridKeyUpEvent_2V = function(event_0){ + com_google_gwt_dom_client_NativeEvent_$getKeyCode__Lcom_google_gwt_dom_client_NativeEvent_2I(event_0.com_google_gwt_event_dom_client_DomEvent_nativeEvent) == 32 && (this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDown = false); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SpaceSelectHandler$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(465); +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_$onKeyDown__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2Lcom_vaadin_client_widget_grid_events_GridKeyDownEvent_2V(this$static, event_0){ + var rowIndex; + if (com_google_gwt_dom_client_NativeEvent_$getKeyCode__Lcom_google_gwt_dom_client_NativeEvent_2I(event_0.com_google_gwt_event_dom_client_DomEvent_nativeEvent) != 32 || this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDown) { + return; + } + com_google_gwt_dom_client_NativeEvent_$preventDefault__Lcom_google_gwt_dom_client_NativeEvent_2V(event_0.com_google_gwt_event_dom_client_DomEvent_nativeEvent); + this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_spaceDown = true; + rowIndex = event_0.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_targetCell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_rowIndex; + if (this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler) { + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler = null; + } + this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler = com_vaadin_client_widgets_Grid_$addDataAvailableHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_DataAvailableHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_grid, new com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_SpaceSelectHandler$SpaceKeyDownHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2V(this$static, rowIndex)); + com_vaadin_client_widgets_Grid_$scrollToRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_grid, rowIndex); +} + +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_$setSelected__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2Lcom_vaadin_client_widgets_Grid_2IV(grid, rowIndex){ + var row; + row = grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(rowIndex); + grid.com_vaadin_client_widgets_Grid_selectionModel.isSelected__Ljava_lang_Object_2Z(row)?com_vaadin_client_widgets_Grid_$deselect__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(grid, row):com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(grid, row); +} + +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_SpaceSelectHandler$SpaceKeyDownHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V(this$0){ + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(463, 1, {}, com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_SpaceSelectHandler$SpaceKeyDownHandler__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2V); +_.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SpaceSelectHandler$SpaceKeyDownHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(463); +function com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_SpaceSelectHandler$SpaceKeyDownHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2V(this$1, val$rowIndex){ + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_this$11 = this$1; + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_val$rowIndex2 = val$rowIndex; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(464, 1, {}, com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_SpaceSelectHandler$SpaceKeyDownHandler$1__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2V); +_.onDataAvailable__Lcom_vaadin_client_widget_grid_DataAvailableEvent_2V = function(dataAvailableEvent){ + if (com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(dataAvailableEvent.com_vaadin_client_widget_grid_DataAvailableEvent_rowsAvailable, this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_val$rowIndex2)) { + com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_$setSelected__Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2Lcom_vaadin_client_widgets_Grid_2IV(this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_this$11.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_this$01.com_vaadin_client_widget_grid_selection_SpaceSelectHandler_grid, this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_val$rowIndex2); + com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_this$11.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler.com_google_gwt_event_shared_LegacyHandlerWrapper_real); + this.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_this$11.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_scrollHandler = null; + } +} +; +_.com_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_val$rowIndex2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1selection_1SpaceSelectHandler$SpaceKeyDownHandler$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(464); +function com_vaadin_client_widgets_Escalator_$clinit__V(){ + com_vaadin_client_widgets_Escalator_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widgets_Escalator_RATIO_1OF_130_1DEGREES = 1 / Math.sqrt(3); + com_vaadin_client_widgets_Escalator_RATIO_1OF_140_1DEGREES = Math.tan(0.6981317007977318); +} + +function com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(this$static){ + var bodyHeight, footerHeight, headerHeight, scrollbar, totalHeight; + if (this$static.com_vaadin_client_widgets_Escalator_heightMode != (com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , com_vaadin_shared_ui_grid_HeightMode_ROW)) { + return; + } + headerHeight = this$static.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection; + footerHeight = this$static.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection; + bodyHeight = this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight * this$static.com_vaadin_client_widgets_Escalator_heightByRows; + scrollbar = com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static.com_vaadin_client_widgets_Escalator_horizontalScrollbar)?com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator_horizontalScrollbar):0; + totalHeight = headerHeight + bodyHeight + scrollbar + footerHeight; + com_vaadin_client_widgets_Escalator_$setHeightInternal__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, totalHeight + 'px'); +} + +function com_vaadin_client_widgets_Escalator_$detectAndApplyPositionFunction__Lcom_vaadin_client_widgets_Escalator_2V(this$static){ + var docStyle; + if ($wnd.navigator.userAgent.indexOf('Firefox') != -1) { + this$static.com_vaadin_client_widgets_Escalator_position = new com_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_PositionFunction$AbsolutePosition__V; + return; + } + docStyle = $doc.body.style; + com_vaadin_client_widgets_Escalator_hasProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Z(docStyle, 'transform')?com_vaadin_client_widgets_Escalator_hasProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Z(docStyle, 'transformStyle')?(this$static.com_vaadin_client_widgets_Escalator_position = new com_vaadin_client_widget_escalator_PositionFunction$Translate3DPosition_PositionFunction$Translate3DPosition__V):(this$static.com_vaadin_client_widgets_Escalator_position = new com_vaadin_client_widget_escalator_PositionFunction$TranslatePosition_PositionFunction$TranslatePosition__V):com_vaadin_client_widgets_Escalator_hasProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Z(docStyle, 'webkitTransform')?(this$static.com_vaadin_client_widgets_Escalator_position = new com_vaadin_client_widget_escalator_PositionFunction$WebkitTranslate3DPosition_PositionFunction$WebkitTranslate3DPosition__V):(this$static.com_vaadin_client_widgets_Escalator_position = new com_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_PositionFunction$AbsolutePosition__V); +} + +function com_vaadin_client_widgets_Escalator_$findRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, element){ + if (this$static.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root != element && com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, element)) { + return this$static.com_vaadin_client_widgets_Escalator_header; + } + else if (this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root != element && com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, element)) { + return this$static.com_vaadin_client_widgets_Escalator_body; + } + else if (this$static.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root != element && com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, element)) { + return this$static.com_vaadin_client_widgets_Escalator_footer; + } + return null; +} + +function com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this$static){ + var visibleRangeEnd, visibleRangeStart, visibleRowCount; + if (this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0) { + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static, new com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_RowVisibilityChangeEvent__IIV(0, 0)); + } + else { + visibleRangeStart = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_widgets_Escalator_body, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + visibleRangeEnd = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_widgets_Escalator_body, java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) + 1; + visibleRowCount = visibleRangeEnd - visibleRangeStart; + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static, new com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_RowVisibilityChangeEvent__IIV(visibleRangeStart, visibleRowCount)); + } +} + +function com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static){ + return this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0?com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, 0):com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_widgets_Escalator_body, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)), this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size); +} + +function com_vaadin_client_widgets_Escalator_$hasColumnAndRowData__Lcom_vaadin_client_widgets_Escalator_2Z(this$static){ + return (this$static.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 || this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 || this$static.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0) && this$static.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length > 0; +} + +function com_vaadin_client_widgets_Escalator_$hasSomethingInDom__Lcom_vaadin_client_widgets_Escalator_2Z(this$static){ + return this$static.com_vaadin_client_widgets_Escalator_headElem.hasChildNodes() || this$static.com_vaadin_client_widgets_Escalator_bodyElem.hasChildNodes() || this$static.com_vaadin_client_widgets_Escalator_footElem.hasChildNodes(); +} + +function com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this$static){ + if (!this$static.com_google_gwt_user_client_ui_Widget_attached) { + return; + } + this$static.com_vaadin_client_widgets_Escalator_widthOfEscalator = java_lang_Math_max__DDD(0, com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element))); + this$static.com_vaadin_client_widgets_Escalator_heightOfEscalator = java_lang_Math_max__DDD(0, com_vaadin_client_WidgetUtil_getRequiredHeightBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(this$static.com_google_gwt_user_client_ui_UIObject_element)); + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator_header); + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator_footer); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator_body); +} + +function com_vaadin_client_widgets_Escalator_$scrollToColumn__Lcom_vaadin_client_widgets_Escalator_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static, columnIndex){ + com_vaadin_client_widgets_Escalator_$verifyValidColumnIndex__Lcom_vaadin_client_widgets_Escalator_2IV(this$static, columnIndex); + if (columnIndex < this$static.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The given column index ' + columnIndex + ' is frozen.'); + } + com_vaadin_client_widgets_Escalator$Scroller_$scrollToColumn__Lcom_vaadin_client_widgets_Escalator$Scroller_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static.com_vaadin_client_widgets_Escalator_scroller, columnIndex); +} + +function com_vaadin_client_widgets_Escalator_$scrollToRow__Lcom_vaadin_client_widgets_Escalator_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static, rowIndex){ + com_vaadin_client_widgets_Escalator_$verifyValidRowIndex__Lcom_vaadin_client_widgets_Escalator_2IV(this$static, rowIndex); + com_vaadin_client_widgets_Escalator$Scroller_$scrollToRow__Lcom_vaadin_client_widgets_Escalator$Scroller_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2DV(this$static.com_vaadin_client_widgets_Escalator_scroller, rowIndex); +} + +function com_vaadin_client_widgets_Escalator_$setHeight__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, height){ + height != null && !!height.length?(this$static.com_vaadin_client_widgets_Escalator_heightByCss = height):(this$static.com_vaadin_client_widgets_Escalator_heightByCss = '400.0px'); + this$static.com_vaadin_client_widgets_Escalator_heightMode == (com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , com_vaadin_shared_ui_grid_HeightMode_CSS) && com_vaadin_client_widgets_Escalator_$setHeightInternal__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, height); +} + +function com_vaadin_client_widgets_Escalator_$setHeightByRows__Lcom_vaadin_client_widgets_Escalator_2DV(this$static, rows_0){ + if (rows_0 <= 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The number of rows must be a positive number.'); + } + else if (java_lang_Double_isInfinite__DZ(rows_0)) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The number of rows must be finite.'); + } + else if (isNaN(rows_0)) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The number must not be NaN.'); + } + this$static.com_vaadin_client_widgets_Escalator_heightByRows = rows_0; + com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(this$static); +} + +function com_vaadin_client_widgets_Escalator_$setHeightInternal__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, height){ + var escalatorRowsBefore; + escalatorRowsBefore = this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + height != null && !!height.length?((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['height'] = height , undefined):((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['height'] = '400.0px' , undefined); + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this$static); + escalatorRowsBefore != this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size && com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this$static); +} + +function com_vaadin_client_widgets_Escalator_$setHeightMode__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_HeightMode_2V(this$static, heightMode){ + if (heightMode != this$static.com_vaadin_client_widgets_Escalator_heightMode) { + this$static.com_vaadin_client_widgets_Escalator_heightMode = heightMode; + switch (this$static.com_vaadin_client_widgets_Escalator_heightMode.java_lang_Enum_ordinal) { + case 0: + com_vaadin_client_widgets_Escalator_$setHeight__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, this$static.com_vaadin_client_widgets_Escalator_heightByCss); + break; + case 1: + com_vaadin_client_widgets_Escalator_$setHeightByRows__Lcom_vaadin_client_widgets_Escalator_2DV(this$static, this$static.com_vaadin_client_widgets_Escalator_heightByRows); + break; + default:throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Unimplemented feature - unknown HeightMode: ' + this$static.com_vaadin_client_widgets_Escalator_heightMode); + } + } +} + +function com_vaadin_client_widgets_Escalator_$setScrollLeft__Lcom_vaadin_client_widgets_Escalator_2DV(this$static, scrollLeft){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator_horizontalScrollbar, scrollLeft); +} + +function com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this$static, scrollTop){ + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator_verticalScrollbar, scrollTop); +} + +function com_vaadin_client_widgets_Escalator_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, style){ + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), style); + com_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_$setStylePrimaryName__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_verticalScrollbar, style); + com_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_$setStylePrimaryName__Lcom_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_horizontalScrollbar, style); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_tableWrapper, style + '-tablewrapper'); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_headerDeco, style + '-header-deco'); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_footerDeco, style + '-footer-deco'); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco, style + '-horizontal-scrollbar-deco'); + com_vaadin_client_widgets_Escalator$HeaderRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$HeaderRowContainer_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_header, style); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_body, style); + com_vaadin_client_widgets_Escalator$FooterRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$FooterRowContainer_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator_footer, style); +} + +function com_vaadin_client_widgets_Escalator_$setWidth__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static, width_0){ + width_0 != null && !!width_0.length?((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['width'] = width_0 , undefined):((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element).style['width'] = '500.0px' , undefined); + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this$static); +} + +function com_vaadin_client_widgets_Escalator_$verifyValidColumnIndex__Lcom_vaadin_client_widgets_Escalator_2IV(this$static, columnIndex){ + if (columnIndex < 0 || columnIndex >= this$static.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given column index ' + columnIndex + ' does not exist.'); + } +} + +function com_vaadin_client_widgets_Escalator_$verifyValidRowIndex__Lcom_vaadin_client_widgets_Escalator_2IV(this$static, rowIndex){ + if (rowIndex < 0 || rowIndex >= this$static.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given row index ' + rowIndex + ' does not exist.'); + } +} + +function com_vaadin_client_widgets_Escalator_Escalator__V(){ + com_vaadin_client_widgets_Escalator_$clinit__V(); + var fCornerStyle, hCornerStyle, hWrapperStyle, root, scrollHandler, table; + this.com_vaadin_client_widgets_Escalator_flyweightRow = new com_vaadin_client_widget_escalator_FlyweightRow_FlyweightRow__V; + this.com_vaadin_client_widgets_Escalator_headElem = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createTHeadElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2($doc)); + this.com_vaadin_client_widgets_Escalator_bodyElem = com_google_gwt_dom_client_Document_$createTBodyElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2($doc); + this.com_vaadin_client_widgets_Escalator_footElem = com_google_gwt_dom_client_Document_$createTFootElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableSectionElement_2($doc); + this.com_vaadin_client_widgets_Escalator_verticalScrollbar = new com_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_ScrollbarBundle$VerticalScrollbarBundle__V; + this.com_vaadin_client_widgets_Escalator_horizontalScrollbar = new com_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_ScrollbarBundle$HorizontalScrollbarBundle__V; + this.com_vaadin_client_widgets_Escalator_header = new com_vaadin_client_widgets_Escalator$HeaderRowContainer_Escalator$HeaderRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this, this.com_vaadin_client_widgets_Escalator_headElem); + this.com_vaadin_client_widgets_Escalator_body = new com_vaadin_client_widgets_Escalator$BodyRowContainer_Escalator$BodyRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this, this.com_vaadin_client_widgets_Escalator_bodyElem); + this.com_vaadin_client_widgets_Escalator_footer = new com_vaadin_client_widgets_Escalator$FooterRowContainer_Escalator$FooterRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this, this.com_vaadin_client_widgets_Escalator_footElem); + this.com_vaadin_client_widgets_Escalator_scroller = new com_vaadin_client_widgets_Escalator$Scroller_Escalator$Scroller__Lcom_vaadin_client_widgets_Escalator_2V(this); + this.com_vaadin_client_widgets_Escalator_columnConfiguration = new com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_Escalator$ColumnConfigurationImpl__Lcom_vaadin_client_widgets_Escalator_2V(this); + this.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_widgets_Escalator_headerDeco = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_widgets_Escalator_footerDeco = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + this.com_vaadin_client_widgets_Escalator_heightMode = (com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , com_vaadin_shared_ui_grid_HeightMode_CSS); + new com_vaadin_client_widgets_Escalator$1_Escalator$1__Lcom_vaadin_client_widgets_Escalator_2V(this); + this.com_vaadin_client_widgets_Escalator_columnAutoWidthAssignScheduler = new com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_Escalator$ColumnAutoWidthAssignScheduler__Lcom_vaadin_client_widgets_Escalator_2V(this); + com_vaadin_client_widgets_Escalator_$detectAndApplyPositionFunction__Lcom_vaadin_client_widgets_Escalator_2V(this); + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator_12_1classLit); + 'Using ' + java_lang_Class_$getSimpleName__Ljava_lang_Class_2Ljava_lang_String_2(this.com_vaadin_client_widgets_Escalator_position.java_lang_Object__1_1_1clazz$) + ' for position'; + root = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + com_google_gwt_user_client_ui_UIObject_$setElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2V(this, root); + scrollHandler = new com_vaadin_client_widgets_Escalator$2_Escalator$2__Lcom_vaadin_client_widgets_Escalator_2V(this); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widget_escalator_ScrollbarBundle_$addScrollHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_grid_events_ScrollHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_client_widgets_Escalator_verticalScrollbar, scrollHandler); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widgets_Escalator_verticalScrollbar, com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I()); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widget_escalator_ScrollbarBundle_$addScrollHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_grid_events_ScrollHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_client_widgets_Escalator_horizontalScrollbar, scrollHandler); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widgets_Escalator_horizontalScrollbar, com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I()); + com_vaadin_client_widget_escalator_ScrollbarBundle_$addVisibilityHandler__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_client_widgets_Escalator_horizontalScrollbar, new com_vaadin_client_widgets_Escalator$3_Escalator$3__Lcom_vaadin_client_widgets_Escalator_2V(this)); + this.com_vaadin_client_widgets_Escalator_tableWrapper = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_tableWrapper); + table = com_google_gwt_dom_client_Document_$createTableElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableElement_2($doc); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this.com_vaadin_client_widgets_Escalator_tableWrapper, table); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(table, this.com_vaadin_client_widgets_Escalator_headElem); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(table, this.com_vaadin_client_widgets_Escalator_bodyElem); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(table, this.com_vaadin_client_widgets_Escalator_footElem); + hCornerStyle = this.com_vaadin_client_widgets_Escalator_headerDeco.style; + hCornerStyle['width'] = com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I() + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(hCornerStyle, 'display', (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none')); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_headerDeco); + fCornerStyle = this.com_vaadin_client_widgets_Escalator_footerDeco.style; + fCornerStyle['width'] = com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I() + 'px'; + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(fCornerStyle, 'display', 'none'); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_footerDeco); + hWrapperStyle = this.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco.style; + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(hWrapperStyle, 'display', 'none'); + hWrapperStyle['height'] = com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I() + 'px'; + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(root, this.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco); + com_vaadin_client_widgets_Escalator_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this, 'v-escalator'); + this.com_vaadin_client_widgets_Escalator_heightByCss = '400.0px'; + this.com_vaadin_client_widgets_Escalator_heightMode == com_vaadin_shared_ui_grid_HeightMode_CSS && com_vaadin_client_widgets_Escalator_$setHeightInternal__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this, null); + this.com_google_gwt_user_client_ui_UIObject_element.style['width'] = '500.0px'; + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this); +} + +function com_vaadin_client_widgets_Escalator_getScrollPos__Lcom_vaadin_shared_ui_grid_ScrollDestination_2DDDDDD(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, padding){ + com_vaadin_client_widgets_Escalator_$clinit__V(); + var endScrollPos, startScrollPos, viewportLength; + viewportLength = viewportEndPx - viewportStartPx; + startScrollPos = targetStartPx - padding; + endScrollPos = targetEndPx + padding - viewportLength; + return startScrollPos < viewportStartPx?startScrollPos:targetEndPx + padding > viewportEndPx?endScrollPos:viewportStartPx; +} + +function com_vaadin_client_widgets_Escalator_hasProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Z(style, name_0){ + return style[name_0] !== undefined; +} + +function com_vaadin_client_widgets_Escalator_snapDeltas__DDD_3D(deltaX, deltaY, thresholdRatio){ + com_vaadin_client_widgets_Escalator_$clinit__V(); + var aDeltaX, aDeltaY, array, xRatio, yRatio; + array = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_D_1classLit, $intern_1, 0, 2, 7, 1); + if (deltaX != 0 && deltaY != 0) { + aDeltaX = deltaX <= 0?0 - deltaX:deltaX; + aDeltaY = deltaY <= 0?0 - deltaY:deltaY; + yRatio = aDeltaY / aDeltaX; + xRatio = aDeltaX / aDeltaY; + array[0] = xRatio < thresholdRatio?0:deltaX; + array[1] = yRatio < thresholdRatio?0:deltaY; + } + else { + array[0] = deltaX; + array[1] = deltaY; + } + return array; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(229, 17, $intern_23, com_vaadin_client_widgets_Escalator_Escalator__V); +_.onLoad__V = function(){ + var column, column$iterator, columnChanged, columnsChanged; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightLater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_header); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightLater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_body); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightLater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_footer); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertStaticRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IILjava_util_List_2(this.com_vaadin_client_widgets_Escalator_header, 0, this.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertStaticRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IILjava_util_List_2(this.com_vaadin_client_widgets_Escalator_footer, 0, this.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this); + columnsChanged = false; + for (column$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns); column$iterator.java_util_AbstractList$IteratorImpl_i < column$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + column = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(column$iterator.java_util_AbstractList$IteratorImpl_i < column$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , column$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(column$iterator.java_util_AbstractList$IteratorImpl_last = column$iterator.java_util_AbstractList$IteratorImpl_i++)); + columnChanged = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$measureAndSetWidthIfNeeded__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2Z(column); + columnChanged && (columnsChanged = true); + } + if (columnsChanged) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_header); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_body); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator_footer); + } + com_vaadin_client_widgets_Escalator$Scroller_$attachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widgets_Escalator$Scroller_$attachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widgets_Escalator$Scroller_$attachMousewheelListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element)); + com_vaadin_client_widgets_Escalator$Scroller_$attachTouchListeners__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_google_gwt_user_client_ui_UIObject_element); +} +; +_.onUnload__V = function(){ + var i, index_0, rowsToRemove, tr; + com_vaadin_client_widgets_Escalator$Scroller_$detachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widgets_Escalator$Scroller_$detachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root); + com_vaadin_client_widgets_Escalator$Scroller_$detachMousewheelListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, (com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element)); + com_vaadin_client_widgets_Escalator$Scroller_$detachTouchListeners__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_client_widgets_Escalator_scroller, this.com_google_gwt_user_client_ui_UIObject_element); + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$paintRemoveRows__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2IIV(this.com_vaadin_client_widgets_Escalator_header, 0, this.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$paintRemoveRows__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2IIV(this.com_vaadin_client_widgets_Escalator_footer, 0, this.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + rowsToRemove = this.com_vaadin_client_widgets_Escalator_bodyElem.childNodes.length; + for (i = 0; i < rowsToRemove; i++) { + index_0 = rowsToRemove - i - 1; + tr = this.com_vaadin_client_widgets_Escalator_bodyElem.rows[index_0]; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IV(this.com_vaadin_client_widgets_Escalator_body, tr, index_0); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2V(this.com_vaadin_client_widgets_Escalator_body, tr); + } + java_util_LinkedList_$reset__Ljava_util_LinkedList_2V(this.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this.com_vaadin_client_widgets_Escalator_body, 0); +} +; +_.setHeight__Ljava_lang_String_2V = function(height){ + com_vaadin_client_widgets_Escalator_$setHeight__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this, height); +} +; +_.setWidth__Ljava_lang_String_2V = function(width_0){ + com_vaadin_client_widgets_Escalator_$setWidth__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this, width_0); +} +; +_.com_vaadin_client_widgets_Escalator_heightByCss = ''; +_.com_vaadin_client_widgets_Escalator_heightByRows = 10; +_.com_vaadin_client_widgets_Escalator_heightOfEscalator = 0; +_.com_vaadin_client_widgets_Escalator_tBodyScrollLeft = 0; +_.com_vaadin_client_widgets_Escalator_tBodyScrollTop = 0; +_.com_vaadin_client_widgets_Escalator_widthOfEscalator = 0; +var com_vaadin_client_widgets_Escalator_RATIO_1OF_130_1DEGREES = 0, com_vaadin_client_widgets_Escalator_RATIO_1OF_140_1DEGREES = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(229); +function com_vaadin_client_widgets_Escalator$1_Escalator$1__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(244, 1, {}, com_vaadin_client_widgets_Escalator$1_Escalator$1__Lcom_vaadin_client_widgets_Escalator_2V); +_.execute__V = function(){ + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this.com_vaadin_client_widgets_Escalator$1_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(244); +function com_vaadin_client_widgets_Escalator$2_Escalator$2__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$2_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(245, 1, {}, com_vaadin_client_widgets_Escalator$2_Escalator$2__Lcom_vaadin_client_widgets_Escalator_2V); +_.onScroll__Lcom_vaadin_client_widget_grid_events_ScrollEvent_2V = function(event_0){ + com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$2_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this.com_vaadin_client_widgets_Escalator$2_this$01, new com_vaadin_client_widget_grid_events_ScrollEvent_ScrollEvent__V); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(245); +function com_vaadin_client_widgets_Escalator$3_Escalator$3__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$3_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(246, 1, {}, com_vaadin_client_widgets_Escalator$3_Escalator$3__Lcom_vaadin_client_widgets_Escalator_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(246); +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$assertArgumentsAreValidAndWithinRange__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, index_0, numberOfRows){ + if (numberOfRows < 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Number of rows must be 1 or greater (was ' + numberOfRows + ')'); + } + if (index_0 < 0 || index_0 + numberOfRows > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given row range (' + index_0 + '..' + (index_0 + numberOfRows) + ') was outside of the current number of rows (' + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows + ')'); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightLater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static){ + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_Escalator$AbstractRowContainer$1__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static)); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightNow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static){ + var boundingHeight, cellElem, detectionTr; + if (!this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeightShouldBeAutodetected = true; + return; + } + detectionTr = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createTRElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableRowElement_2($doc)); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(detectionTr, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName + '-row'); + cellElem = com_google_gwt_user_client_DOM_createElement__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(this$static.getCellElementTagName__Ljava_lang_String_2()); + com_google_gwt_dom_client_Element_$setClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(cellElem, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName + '-cell'); + com_google_gwt_dom_client_DOMImplStandard_$setInnerText__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cellElem), 'Ij'); + detectionTr.appendChild(cellElem); + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, detectionTr); + boundingHeight = com_vaadin_client_WidgetUtil_getRequiredHeightBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(cellElem); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight = 1 > boundingHeight?1:boundingHeight; + com_google_gwt_dom_client_Node_$removeChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, detectionTr); + if (this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.hasChildNodes()) { + this$static.reapplyDefaultRowHeights__V(); + com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$calculateEstimatedTotalRowHeight__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2D(this$static){ + return this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$createCellElement__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2DLcom_google_gwt_dom_client_TableCellElement_2(this$static, width_0){ + var cellElem, height; + cellElem = com_google_gwt_user_client_DOM_createElement__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(this$static.getCellElementTagName__Ljava_lang_String_2()); + height = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + cellElem.style['height'] = height + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + width_0 >= 0 && (cellElem.style['width'] = width_0 + 'px' , undefined); + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(cellElem, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName + '-cell'); + return cellElem; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCell__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2(this$static, element){ + var cellElement, cellElementCandidate, domColumnIndex, domRowIndex, e, e0; + if (!element) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Element cannot be null'); + } + if (this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root == element || com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , element)) == this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root || !com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, element)) { + return null; + } + cellElementCandidate = element; + while (com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cellElementCandidate))) != this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root) { + cellElementCandidate = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cellElementCandidate); + } + cellElement = cellElementCandidate; + domColumnIndex = -1; + for (e0 = cellElement; e0; e0 = com_google_gwt_dom_client_DOMImpl_$getPreviousSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(e0)) { + ++domColumnIndex; + } + domRowIndex = -1; + for (e = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cellElement); e; e = com_google_gwt_dom_client_DOMImpl_$getPreviousSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(e)) { + ++domRowIndex; + } + return new com_vaadin_client_widget_escalator_Cell_Cell__IILcom_google_gwt_dom_client_TableCellElement_2V(domRowIndex, domColumnIndex, cellElement); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2ID(this$static, colIndex){ + var cellClone, cellOriginal, maxCellWidth, requiredWidth, row, rowElement, rows_0, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellHasColspan_0, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellIsHidden_0; + maxCellWidth = -1; + rows_0 = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows; + for (row = 0; row < rows_0.length; row++) { + rowElement = rows_0[row]; + cellOriginal = rowElement.cells[colIndex]; + if (com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellHasColspan_0 = cellOriginal.colSpan > 1 , com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellIsHidden_0 = java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z((com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none'), com_google_gwt_dom_client_Style_$getDisplay__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(cellOriginal.style)) , com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellHasColspan_0 || com_vaadin_client_widgets_Escalator$AbstractRowContainer_$cellIsPartOfSpan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableCellElement_2Z_cellIsHidden_0) { + continue; + } + cellClone = cellOriginal.cloneNode(true); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(cellClone.style, 'height', ''); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(cellClone.style, 'width', ''); + rowElement.insertBefore(cellClone, cellOriginal); + requiredWidth = com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(cellClone); + com_vaadin_client_BrowserInfo_$isIE9__Lcom_vaadin_client_BrowserInfo_2Z((com_vaadin_client_BrowserInfo_$clinit__V() , !com_vaadin_client_BrowserInfo_instance && (com_vaadin_client_BrowserInfo_instance = new com_vaadin_client_BrowserInfo_BrowserInfo__V) , com_vaadin_client_BrowserInfo_$clinit__V() , com_vaadin_client_BrowserInfo_instance)) && (requiredWidth += 1); + maxCellWidth = requiredWidth > maxCellWidth?requiredWidth:maxCellWidth; + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(cellClone); + } + return maxCellWidth; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getRowTop__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2D(this$static, tr){ + return this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(tr).java_lang_Double_value; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertAfterReferenceAndUpdateIt__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(parent_0, elem, referenceNode){ + referenceNode?com_google_gwt_dom_client_Node_$insertAfter__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(parent_0, elem, referenceNode):com_google_gwt_dom_client_Node_$insertBefore__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(parent_0, elem, parent_0.firstChild); + return elem; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, index_0, numberOfRows){ + if (index_0 < 0 || index_0 > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given index (' + index_0 + ') was outside of the current number of rows (0..' + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows + ')'); + } + if (numberOfRows < 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Number of rows must be 1 or greater (was ' + numberOfRows + ')'); + } + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows += numberOfRows; + if (this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + this$static.paintInsertRows__IIV(index_0, numberOfRows); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows == numberOfRows && com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_$reschedule__Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnAutoWidthAssignScheduler); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertCells__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IIIV(this$static, tr, logicalRowIndex, offset){ + var cell, cell$iterator, cell$iterator0, cellElem, cells_0, colWidth, referenceCell; + com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, tr, logicalRowIndex, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration)); + cells_0 = new com_vaadin_client_widget_escalator_FlyweightRow$2_FlyweightRow$2__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, offset); + for (cell$iterator0 = new com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_this$01.com_vaadin_client_widget_escalator_FlyweightRow_cells, cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2, cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2 + cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$numberOfCells3), false); cell$iterator0.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor + cell$iterator0.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext < cell$iterator0.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length;) { + cell = com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$next__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2(cell$iterator0); + colWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, cell.com_vaadin_client_widget_escalator_FlyweightCell_column); + cellElem = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$createCellElement__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2DLcom_google_gwt_dom_client_TableCellElement_2(this$static, colWidth); + cell.com_vaadin_client_widget_escalator_FlyweightCell_element = cellElem; + } + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.preAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, cells_0); + offset != 0?(referenceCell = tr.childNodes[offset - 1]):(referenceCell = null); + for (cell$iterator = new com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_this$01.com_vaadin_client_widget_escalator_FlyweightRow_cells, cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2, cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$offset2 + cells_0.com_vaadin_client_widget_escalator_FlyweightRow$2_val$numberOfCells3), false); cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor + cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext < cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length;) { + cell = com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$next__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2(cell$iterator); + referenceCell = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertAfterReferenceAndUpdateIt__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(tr, cell.com_vaadin_client_widget_escalator_FlyweightCell_element, referenceCell); + } + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.postAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, cells_0); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, cells_0); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIZV(this$static, offset, frozen){ + var col, row, tr; + for (row = 0; row < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; row++) { + tr = this$static.getTrByVisualIndex__ILcom_google_gwt_dom_client_TableRowElement_2(row); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertCells__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IIIV(this$static, tr, row, offset); + } + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static); + if (frozen) { + for (col = offset; col < offset + 1; col++) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setColumnFrozen__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IZV(this$static, col, true); + } + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_google_gwt_dom_client_Node_2(this$static, referenceRow, tr, logicalRowIndex){ + com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, tr, logicalRowIndex, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration)); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.preAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow)); + referenceRow = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertAfterReferenceAndUpdateIt__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, tr, referenceRow); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.postAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow)); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow)); + return referenceRow; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertStaticRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IILjava_util_List_2(this$static, visualIndex, numberOfRows){ + var addedRows, cellElem, col, colWidth, referenceRow, row, tr; + addedRows = new java_util_ArrayList_ArrayList__V; + if (numberOfRows < 1) { + return addedRows; + } + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length != 0 && visualIndex != 0?(referenceRow = com_google_gwt_dom_client_Node_$getChild__Lcom_google_gwt_dom_client_Node_2ILcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, visualIndex - 1)):(referenceRow = null); + for (row = visualIndex; row < visualIndex + numberOfRows; row++) { + tr = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createTRElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_TableRowElement_2($doc)); + addedRows.java_util_ArrayList_array[addedRows.java_util_ArrayList_array.length] = tr; + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(tr, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName + '-row'); + for (col = 0; col < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length; col++) { + colWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, col); + cellElem = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$createCellElement__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2DLcom_google_gwt_dom_client_TableCellElement_2(this$static, colWidth); + tr.appendChild(cellElem); + if (col < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns) { + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(cellElem, 'frozen'); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(cellElem, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft, 0); + } + } + referenceRow = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_google_gwt_dom_client_Node_2(this$static, referenceRow, tr, row); + } + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static); + this$static.recalculateSectionHeight__V(); + return addedRows; +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, offset){ + var attachedCells, detachedCells, i, j, row; + for (i = 0; i < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; i++) { + row = this$static.getTrByVisualIndex__ILcom_google_gwt_dom_client_TableRowElement_2(i); + com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, row, i, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration)); + attachedCells = new com_vaadin_client_widget_escalator_FlyweightRow$1_FlyweightRow$1__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, offset, 1); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.preDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, attachedCells); + for (j = 0; j < 1; j++) { + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(row.cells[offset]); + } + detachedCells = new com_vaadin_client_widget_escalator_FlyweightRow$2_FlyweightRow$2__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, offset); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.postDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, detachedCells); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IV(this$static, tr, logicalRowIndex){ + com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, tr, logicalRowIndex, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration)); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.preDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow)); + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(tr); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.postDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, com_vaadin_client_widget_escalator_FlyweightRow_$getCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Ljava_lang_Iterable_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow)); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static){ + var cell, columnIndex, row, width_0, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_colspan_0, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_spannedColumns_0; + row = com_google_gwt_dom_client_Element_$getFirstChildElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root); + while (row) { + cell = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , row)); + columnIndex = 0; + while (cell) { + width_0 = (com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_colspan_0 = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(cell, 'colSpan') , com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_spannedColumns_0 = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(columnIndex, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_colspan_0) , com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_spannedColumns_0.com_vaadin_shared_ui_grid_Range_end > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length && (com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_spannedColumns_0 = new com_vaadin_shared_ui_grid_Range_Range__IIV(columnIndex, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length)) , com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCalculatedColumnWidthWithColspan__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2ID_spannedColumns_0)); + cell.style['width'] = width_0 + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + cell = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(cell); + ++columnIndex; + } + row = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(row); + } + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowHeight__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2DV(tr, heightPx){ + var cellElem; + cellElem = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , tr)); + while (cellElem) { + cellElem.style['height'] = heightPx + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + cellElem = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(cellElem); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static){ + var row, rowWidth; + rowWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$calculateRowWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration); + row = com_google_gwt_dom_client_Element_$getFirstChildElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root); + while (row) { + rowWidth >= 0 && (row.style['width'] = rowWidth + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px') , undefined); + row = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , row)); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_vaadin_shared_ui_grid_Range_2V(this$static, tr, logicalRowIndex, colRange){ + var cellsToUpdate; + com_vaadin_client_widget_escalator_FlyweightRow_$setup__Lcom_vaadin_client_widget_escalator_FlyweightRow_2Lcom_google_gwt_dom_client_TableRowElement_2I_3DV(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, tr, logicalRowIndex, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration)); + cellsToUpdate = new com_vaadin_client_widget_escalator_FlyweightRow$1_FlyweightRow$1__Lcom_vaadin_client_widget_escalator_FlyweightRow_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, colRange.com_vaadin_shared_ui_grid_Range_start, colRange.com_vaadin_shared_ui_grid_Range_end - colRange.com_vaadin_shared_ui_grid_Range_start); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, cellsToUpdate); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, index_0, numberOfRows){ + var colRange, rowRange; + rowRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(index_0, numberOfRows); + colRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length); + this$static.refreshCells__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2V(rowRange, colRange); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2V(this$static, tr){ + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.remove__Ljava_lang_Object_2Ljava_lang_Object_2(tr); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, index_0, numberOfRows){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$assertArgumentsAreValidAndWithinRange__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, index_0, numberOfRows); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows -= numberOfRows; + if (!this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + return; + } + com_vaadin_client_widgets_Escalator_$hasSomethingInDom__Lcom_vaadin_client_widgets_Escalator_2Z(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01) && this$static.paintRemoveRows__IIV(index_0, numberOfRows); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setColumnFrozen__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IZV(this$static, column, frozen){ + var cell, childRows, row, tr; + childRows = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows; + for (row = 0; row < childRows.length; row++) { + tr = childRows[row]; + cell = tr.cells[column]; + if (frozen) { + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(cell, 'frozen'); + } + else { + com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(cell, 'frozen'); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.reset__Lcom_google_gwt_dom_client_Element_2V(cell); + } + } + frozen && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$updateFreezePosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IDV(this$static, column, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setEscalatorUpdater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_vaadin_client_widget_escalator_EscalatorUpdater_2V(this$static, escalatorUpdater){ + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater = escalatorUpdater; + com_vaadin_client_widgets_Escalator_$hasColumnAndRowData__Lcom_vaadin_client_widgets_Escalator_2Z(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01) && this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static, 0, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this$static, tr, y_0){ + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(tr, 0, y_0); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(tr, new java_lang_Double_Double__DV(y_0)); +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName){ + var cell, oldStyle, row; + oldStyle = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName; + if (com_vaadin_shared_util_SharedUtil_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(oldStyle, primaryStyleName)) { + return; + } + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName = primaryStyleName; + row = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows[0]; + while (row) { + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(row, primaryStyleName + '-row'); + cell = row.cells[0]; + while (cell) { + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(cell, primaryStyleName + '-cell'); + cell = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cell)); + } + row = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , row)); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_$updateFreezePosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IDV(this$static, column, scrollLeft){ + var cell, childRows, row, tr; + childRows = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows; + for (row = 0; row < childRows.length; row++) { + tr = childRows[row]; + cell = tr.cells[column]; + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(cell, scrollLeft, 0); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractRowContainer_Escalator$AbstractRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this$0, rowContainerElement){ + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01 = this$0; + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_updater = (com_vaadin_client_widget_escalator_EscalatorUpdater_$clinit__V() , com_vaadin_client_widget_escalator_EscalatorUpdater_NULL); + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root = rowContainerElement; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(135, 1, {}); +_.autodetectRowHeightLater__V = function(){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightLater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this); +} +; +_.getCell__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2 = function(element){ + return com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCell__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2(this, element); +} +; +_.getRowCount__I = function(){ + return this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; +} +; +_.getRowElement__ILcom_google_gwt_dom_client_TableRowElement_2 = function(index_0){ + return this.getTrByVisualIndex__ILcom_google_gwt_dom_client_TableRowElement_2(index_0); +} +; +_.refreshRows__IIV = function(index_0, numberOfRows){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this, index_0, numberOfRows); +} +; +_.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight = 20; +_.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeightShouldBeAutodetected = true; +_.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection = 0; +_.com_vaadin_client_widgets_Escalator$AbstractRowContainer_primaryStyleName = null; +_.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$AbstractRowContainer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(135); +function com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_Escalator$AbstractRowContainer$1__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$1){ + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(242, 1, {}, com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_Escalator$AbstractRowContainer$1__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V); +_.execute__V = function(){ + if (this.com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_this$11.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeightShouldBeAutodetected && this.com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_this$11.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$autodetectRowHeightNow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this.com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_this$11); + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer$1_this$11.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeightShouldBeAutodetected = false; + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$AbstractRowContainer$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(242); +function com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static, index_0){ + if (index_0 >= 0 && index_0 < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length) { + return this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows[index_0]; + } + else { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('No such visual index: ' + index_0); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$paintRemoveRows__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2IIV(this$static, index_0, numberOfRows){ + var i, tr; + for (i = index_0; i < index_0 + numberOfRows; i++) { + tr = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows[index_0]; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IV(this$static, tr, index_0); + } + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this$static); +} + +function com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this$static){ + var newHeight; + newHeight = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; + if (newHeight != this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection) { + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection = newHeight; + this$static.sectionHeightCalculated__V(); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01.com_vaadin_client_widgets_Escalator_body); + } +} + +function com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_Escalator$AbstractStaticRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this$0, headElement){ + this.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01 = this$0; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_Escalator$AbstractRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V.call(this, this$0, headElement); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(136, 135, {}); +_.getTrByVisualIndex__ILcom_google_gwt_dom_client_TableRowElement_2 = function(index_0){ + return com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this, index_0); +} +; +_.paintInsertRows__IIV = function(visualIndex, numberOfRows){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertStaticRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IILjava_util_List_2(this, visualIndex, numberOfRows); +} +; +_.paintRemoveRows__IIV = function(index_0, numberOfRows){ + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$paintRemoveRows__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2IIV(this, index_0, numberOfRows); +} +; +_.reapplyDefaultRowHeights__V = function(){ + var tr; + if (this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length == 0) { + return; + } + tr = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.rows[0]; + while (tr) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowHeight__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2DV(tr, this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + tr = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , tr)); + } + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this); +} +; +_.recalculateSectionHeight__V = function(){ + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$recalculateSectionHeight__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2V(this); +} +; +_.refreshCells__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2V = function(logicalRowRange, colRange){ + var row, tr; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$assertArgumentsAreValidAndWithinRange__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this, logicalRowRange.com_vaadin_shared_ui_grid_Range_start, logicalRowRange.com_vaadin_shared_ui_grid_Range_end - logicalRowRange.com_vaadin_shared_ui_grid_Range_start); + if (!this.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + return; + } + if (com_vaadin_client_widgets_Escalator_$hasColumnAndRowData__Lcom_vaadin_client_widgets_Escalator_2Z(this.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01)) { + for (row = logicalRowRange.com_vaadin_shared_ui_grid_Range_start; row < logicalRowRange.com_vaadin_shared_ui_grid_Range_end; row++) { + tr = com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this, row); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_vaadin_shared_ui_grid_Range_2V(this, tr, row, colRange); + } + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$AbstractStaticRowContainer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(136); +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$adjustScrollPosIgnoreEvents__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DV(this$static, yDelta){ + var rowTopPos, tr, tr$iterator; + if (yDelta == 0) { + return; + } + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPosByDelta__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar, yDelta); + rowTopPos = yDelta - yDelta % this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + for (tr$iterator = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, 0); tr$iterator.java_util_LinkedList$ListIteratorImpl_currentNode != tr$iterator.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail;) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(tr$iterator.java_util_LinkedList$ListIteratorImpl_currentNode != tr$iterator.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , tr$iterator.java_util_LinkedList$ListIteratorImpl_lastNode = tr$iterator.java_util_LinkedList$ListIteratorImpl_currentNode , tr$iterator.java_util_LinkedList$ListIteratorImpl_currentNode = tr$iterator.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++tr$iterator.java_util_LinkedList$ListIteratorImpl_currentIndex , tr$iterator.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this$static, tr, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(tr).java_lang_Double_value + rowTopPos); + } + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this$static, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollLeft, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop + yDelta); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this$static){ + var footerHeight, headerHeight, tableHeight; + tableHeight = (this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tableWrapper.offsetHeight || 0) | 0; + footerHeight = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection; + headerHeight = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection; + return tableHeight - footerHeight - headerHeight; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$convertToVisual__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static, logicalRange){ + var currentTopRowIndex, insideRange, maxEscalatorRows, partitions; + if (logicalRange.com_vaadin_shared_ui_grid_Range_start >= logicalRange.com_vaadin_shared_ui_grid_Range_end) { + return logicalRange; + } + else if (this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0) { + return com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, 0); + } + maxEscalatorRows = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getMaxEscalatorRowCapacity__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2I(this$static); + currentTopRowIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + partitions = com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(logicalRange, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(currentTopRowIndex, maxEscalatorRows)); + insideRange = partitions[1]; + return -currentTopRowIndex == 0?insideRange:new com_vaadin_shared_ui_grid_Range_Range__IIV(insideRange.com_vaadin_shared_ui_grid_Range_start + -currentTopRowIndex, insideRange.com_vaadin_shared_ui_grid_Range_end + -currentTopRowIndex); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$fillAndPopulateEscalatorRowsIfNeeded__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IILjava_util_List_2(this$static, index_0, numberOfRows){ + var addedRows, escalatorRowsNeeded, escalatorRowsStillFit, i, i0, tr; + escalatorRowsStillFit = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getMaxEscalatorRowCapacity__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2I(this$static) - this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; + escalatorRowsNeeded = numberOfRows < escalatorRowsStillFit?numberOfRows:escalatorRowsStillFit; + if (escalatorRowsNeeded > 0) { + addedRows = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertStaticRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IILjava_util_List_2(this$static, index_0, escalatorRowsNeeded); + java_util_AbstractSequentialList_$addAll__Ljava_util_AbstractSequentialList_2ILjava_util_Collection_2Z(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, index_0, addedRows); + for (i0 = 0; i0 < addedRows.java_util_ArrayList_array.length; i0++) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this$static, (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(i0, addedRows.java_util_ArrayList_array.length) , addedRows.java_util_ArrayList_array[i0]), (index_0 + i0) * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + } + for (i = index_0 + addedRows.java_util_ArrayList_array.length; i < this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; i++) { + tr = java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, i); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this$static, tr, i * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + } + return addedRows; + } + else { + return new java_util_ArrayList_ArrayList__V; + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$getEscalatorRowWithFocus__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2(this$static){ + var e, focusedElement, rowContainingFocus; + rowContainingFocus = null; + focusedElement = com_vaadin_client_WidgetUtil_getFocusedElement__Lcom_google_gwt_dom_client_Element_2(); + if (!!focusedElement && com_google_gwt_dom_client_Node_$isOrHasChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, focusedElement)) { + e = focusedElement; + while (!!e && e != this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root) { + !!e && java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('tr', (com_google_gwt_dom_client_DOMImpl_$clinit__V() , e).tagName) && (rowContainingFocus = e); + e = com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , e)); + } + } + return rowContainingFocus; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, tr){ + var internalIndex; + internalIndex = java_util_AbstractList_$indexOf__Ljava_util_AbstractList_2Ljava_lang_Object_2I(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, tr); + return this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + internalIndex; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$getMaxEscalatorRowCapacity__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2I(this$static){ + var maxEscalatorRowCapacity; + maxEscalatorRowCapacity = com_google_gwt_lang_Cast_round_1int__DI(java_lang_Math_ceil__DD(com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this$static) / this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight)) + 1; + return 0 > maxEscalatorRowCapacity?0:maxEscalatorRowCapacity; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$getRowElement__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static, index_0){ + var visualIndex; + if (index_0 < 0 || index_0 >= this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('No such logical index: ' + index_0); + } + visualIndex = index_0 - com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + if (visualIndex >= 0 && visualIndex < this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size) { + return com_vaadin_client_widgets_Escalator$BodyRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static, visualIndex); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Row with logical index ' + index_0 + ' is currently not available in the DOM'); + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static, index_0){ + if (index_0 >= 0 && index_0 < this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size) { + return java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, index_0); + } + else { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('No such visual index: ' + index_0); + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, visualSourceRange, visualTargetIndex, logicalTargetIndex){ + var adjustedVisualTargetIndex, i, iter, logicalEndIndex, logicalIndex, newRowTop, removedRows, tr; + if (visualSourceRange.com_vaadin_shared_ui_grid_Range_start >= visualSourceRange.com_vaadin_shared_ui_grid_Range_end) { + return; + } + if (visualSourceRange.com_vaadin_shared_ui_grid_Range_start < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Logical source start must be 0 or greater (was ' + visualSourceRange.com_vaadin_shared_ui_grid_Range_start + ')'); + } + else if (logicalTargetIndex < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Logical target must be 0 or greater'); + } + else if (visualTargetIndex < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Visual target must be 0 or greater'); + } + else if (visualTargetIndex > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Visual target must not be greater than the number of escalator rows'); + } + else if (logicalTargetIndex + (visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start) > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + logicalEndIndex = logicalTargetIndex + (visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start) - 1; + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Logical target leads to rows outside of the data range (' + logicalTargetIndex + '..' + logicalEndIndex + ')'); + } + visualSourceRange.com_vaadin_shared_ui_grid_Range_start < visualTargetIndex?(adjustedVisualTargetIndex = visualTargetIndex - (visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start)):(adjustedVisualTargetIndex = visualTargetIndex); + if (visualSourceRange.com_vaadin_shared_ui_grid_Range_start != adjustedVisualTargetIndex) { + removedRows = new java_util_ArrayList_ArrayList__IV(visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start); + for (i = 0; i < visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start; i++) { + tr = java_util_AbstractSequentialList_$remove__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, visualSourceRange.com_vaadin_shared_ui_grid_Range_start); + removedRows.java_util_ArrayList_array[removedRows.java_util_ArrayList_array.length] = tr; + } + java_util_AbstractSequentialList_$addAll__Ljava_util_AbstractSequentialList_2ILjava_util_Collection_2Z(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, adjustedVisualTargetIndex, removedRows); + } + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, adjustedVisualTargetIndex); + for (logicalIndex = logicalTargetIndex; logicalIndex < logicalTargetIndex + (visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start); logicalIndex++) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iter.java_util_LinkedList$ListIteratorImpl_currentNode != iter.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iter.java_util_LinkedList$ListIteratorImpl_lastNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode , iter.java_util_LinkedList$ListIteratorImpl_currentNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iter.java_util_LinkedList$ListIteratorImpl_currentIndex , iter.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_vaadin_shared_ui_grid_Range_2V(this$static, tr, logicalIndex, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length)); + } + newRowTop = logicalTargetIndex * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, adjustedVisualTargetIndex); + for (i = 0; i < visualSourceRange.com_vaadin_shared_ui_grid_Range_end - visualSourceRange.com_vaadin_shared_ui_grid_Range_start; i++) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iter.java_util_LinkedList$ListIteratorImpl_currentNode != iter.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iter.java_util_LinkedList$ListIteratorImpl_lastNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode , iter.java_util_LinkedList$ListIteratorImpl_currentNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iter.java_util_LinkedList$ListIteratorImpl_currentIndex , iter.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(tr, 0, newRowTop); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(tr, new java_lang_Double_Double__DV(newRowTop)); + newRowTop += this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$paintRemoveRowsAtBottom__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, removedLogicalInside, removedVisualInside){ + var iterator, logicalTargetIndex, rowTop, tr; + logicalTargetIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) - (removedVisualInside.com_vaadin_shared_ui_grid_Range_end - removedVisualInside.com_vaadin_shared_ui_grid_Range_start); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, removedVisualInside, 0, logicalTargetIndex); + iterator = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, removedVisualInside.com_vaadin_shared_ui_grid_Range_end); + rowTop = removedLogicalInside.com_vaadin_shared_ui_grid_Range_start * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + while (iterator.java_util_LinkedList$ListIteratorImpl_currentNode != iterator.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iterator.java_util_LinkedList$ListIteratorImpl_currentNode != iterator.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iterator.java_util_LinkedList$ListIteratorImpl_lastNode = iterator.java_util_LinkedList$ListIteratorImpl_currentNode , iterator.java_util_LinkedList$ListIteratorImpl_currentNode = iterator.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iterator.java_util_LinkedList$ListIteratorImpl_currentIndex , iterator.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(tr, 0, rowTop); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(tr, new java_lang_Double_Double__DV(rowTop)); + rowTop += this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$paintRemoveRowsAtMiddle__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2IV(this$static, removedLogicalInside, removedVisualInside){ + var escalatorRowCount, i, iterator, logicalTargetIndex, rowTop, tr; + escalatorRowCount = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + logicalTargetIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) - (removedVisualInside.com_vaadin_shared_ui_grid_Range_end - removedVisualInside.com_vaadin_shared_ui_grid_Range_start - 1); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, removedVisualInside, escalatorRowCount, logicalTargetIndex); + iterator = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, removedVisualInside.com_vaadin_shared_ui_grid_Range_start); + rowTop = removedLogicalInside.com_vaadin_shared_ui_grid_Range_start * this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + for (i = removedVisualInside.com_vaadin_shared_ui_grid_Range_start; i < escalatorRowCount - (removedVisualInside.com_vaadin_shared_ui_grid_Range_end - removedVisualInside.com_vaadin_shared_ui_grid_Range_start); i++) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iterator.java_util_LinkedList$ListIteratorImpl_currentNode != iterator.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iterator.java_util_LinkedList$ListIteratorImpl_lastNode = iterator.java_util_LinkedList$ListIteratorImpl_currentNode , iterator.java_util_LinkedList$ListIteratorImpl_currentNode = iterator.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iterator.java_util_LinkedList$ListIteratorImpl_currentIndex , iterator.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(tr, 0, rowTop); + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(tr, new java_lang_Double_Double__DV(rowTop)); + rowTop += this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this$static, scrollLeft, scrollTop){ + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollLeft = scrollLeft; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop = scrollTop; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_bodyElem, -this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollLeft, -this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, primaryStyleName + '-body'); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$setTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this$static, topRowLogicalIndex){ + com_google_gwt_logging_client_LogConfiguration_loggingIsEnabled__Ljava_util_logging_Level_2Z() && undefined; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = topRowLogicalIndex; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$sortDomElements__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static){ + var focusedRow, i, insertFirst, tr; + focusedRow = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getEscalatorRowWithFocus__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2(this$static); + insertFirst = !focusedRow; + i = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size); + while (i.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev != i.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_header) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(i.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev != i.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_header) , i.java_util_LinkedList$ListIteratorImpl_lastNode = i.java_util_LinkedList$ListIteratorImpl_currentNode = i.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev , --i.java_util_LinkedList$ListIteratorImpl_currentIndex , i.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + tr == focusedRow?(insertFirst = true):insertFirst?com_google_gwt_dom_client_Node_$insertFirst__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, tr):com_google_gwt_dom_client_Node_$insertAfter__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, tr, focusedRow); + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$updateEscalatorRowsOnScroll__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static){ + var aRowWasLeftBehind, end, logicalRowIndex, maxLogicalIndex, naiveNewLogicalIndex, originalRowsToMove, rowsToMove, rowsWereMoved, scrollTop, start_0, strayRow, targetVisualIndex, topLogicalIndex, topRowPos, viewportOffset; + if (this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0) { + return; + } + rowsWereMoved = false; + topRowPos = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getRowTop__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2D(this$static, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + scrollTop = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop; + viewportOffset = topRowPos - scrollTop; + if (viewportOffset > 0) { + originalRowsToMove = com_google_gwt_lang_Cast_round_1int__DI(java_lang_Math_ceil__DD(viewportOffset / this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight)); + rowsToMove = java_lang_Math_min__III(originalRowsToMove, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length); + end = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; + start_0 = end - rowsToMove; + logicalRowIndex = com_google_gwt_lang_Cast_round_1int__DI(scrollTop / this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, new com_vaadin_shared_ui_grid_Range_Range__IIV(start_0, end), 0, logicalRowIndex); + com_google_gwt_logging_client_LogConfiguration_loggingIsEnabled__Ljava_util_logging_Level_2Z() && undefined; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = logicalRowIndex; + rowsWereMoved = true; + } + else if (viewportOffset + this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight <= 0) { + originalRowsToMove = com_google_gwt_lang_Cast_round_1int__DI(java_lang_Math_abs__DD(viewportOffset / this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight)); + rowsToMove = java_lang_Math_min__III(originalRowsToMove, this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length); + rowsToMove < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length?(logicalRowIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) + 1):(logicalRowIndex = com_google_gwt_lang_Cast_round_1int__DI(scrollTop / this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight)); + targetVisualIndex = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; + aRowWasLeftBehind = false; + if (logicalRowIndex + rowsToMove > this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows) { + --rowsToMove; + aRowWasLeftBehind = true; + } + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, new com_vaadin_shared_ui_grid_Range_Range__IIV(0, rowsToMove), targetVisualIndex, logicalRowIndex); + if (aRowWasLeftBehind) { + strayRow = new com_vaadin_shared_ui_grid_Range_Range__IIV(0, 1); + topLogicalIndex = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, strayRow, 0, topLogicalIndex); + } + naiveNewLogicalIndex = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + originalRowsToMove; + maxLogicalIndex = this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + com_google_gwt_logging_client_LogConfiguration_loggingIsEnabled__Ljava_util_logging_Level_2Z() && undefined; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = naiveNewLogicalIndex < maxLogicalIndex?naiveNewLogicalIndex:maxLogicalIndex; + rowsWereMoved = true; + } + if (rowsWereMoved) { + com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01); + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_JsniWorkaround_touchHandlerBundle.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches == 0 && com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$reschedule__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_domSorter); + } +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$updateTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this$static, diff){ + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this$static, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + diff); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static){ + var addedRows, contentWillFit, firstRowMinTop, firstRowTop, i, index_0, iter, last, maxEscalatorRows, neededEscalatorRows, neededEscalatorRowsDiff, newLogicalIndex, nextLastLogicalIndex, oldScrollTop; + if (!this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_google_gwt_user_client_ui_Widget_attached) { + return; + } + maxEscalatorRows = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getMaxEscalatorRowCapacity__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2I(this$static); + neededEscalatorRows = java_lang_Math_min__III(maxEscalatorRows, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + neededEscalatorRowsDiff = neededEscalatorRows - this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + if (neededEscalatorRowsDiff > 0) { + index_0 = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0?(nextLastLogicalIndex = 0):(nextLastLogicalIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) + 1); + contentWillFit = nextLastLogicalIndex < this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - neededEscalatorRowsDiff; + if (contentWillFit) { + addedRows = com_vaadin_client_widgets_Escalator$BodyRowContainer_$fillAndPopulateEscalatorRowsIfNeeded__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IILjava_util_List_2(this$static, index_0, neededEscalatorRowsDiff); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(index_0, addedRows.java_util_ArrayList_array.length), index_0, nextLastLogicalIndex); + } + else { + oldScrollTop = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01, 0); + com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$fillAndPopulateEscalatorRowsIfNeeded__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IILjava_util_List_2(this$static, index_0, neededEscalatorRowsDiff); + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01, oldScrollTop); + com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + } + } + else if (neededEscalatorRowsDiff < 0) { + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size); + for (i = 0; i < -neededEscalatorRowsDiff; i++) { + last = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev != iter.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_header) , iter.java_util_LinkedList$ListIteratorImpl_lastNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev , --iter.java_util_LinkedList$ListIteratorImpl_currentIndex , iter.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V(last); + java_util_LinkedList$ListIteratorImpl_$remove__Ljava_util_LinkedList$ListIteratorImpl_2V(iter); + } + if (this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size != 0) { + firstRowTop = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getRowTop__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2D(this$static, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + firstRowMinTop = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop - this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + if (firstRowTop < firstRowMinTop) { + newLogicalIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this$static, java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) + 1; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this$static, new com_vaadin_shared_ui_grid_Range_Range__IIV(0, 1), this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size, newLogicalIndex); + } + } + } + neededEscalatorRowsDiff != 0 && com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer_Escalator$BodyRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this$0, bodyElement){ + this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01 = this$0; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_Escalator$AbstractRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V.call(this, this$0, bodyElement); + this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder = new java_util_LinkedList_LinkedList__V; + this.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = 0; + this.com_vaadin_client_widgets_Escalator$BodyRowContainer_domSorter = new com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_Escalator$BodyRowContainer$DeferredDomSorter__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(236, 135, {}, com_vaadin_client_widgets_Escalator$BodyRowContainer_Escalator$BodyRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V); +_.getCell__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2 = function(element){ + var cell, rowElement; + cell = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getCell__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2(this, element); + if (!cell) { + return null; + } + rowElement = com_google_gwt_dom_client_Node_$getParentElement__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(cell.com_vaadin_client_widget_escalator_Cell_element); + return new com_vaadin_client_widget_escalator_Cell_Cell__IILcom_google_gwt_dom_client_TableCellElement_2V(com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this, rowElement), cell.com_vaadin_client_widget_escalator_Cell_column, cell.com_vaadin_client_widget_escalator_Cell_element); +} +; +_.getCellElementTagName__Ljava_lang_String_2 = function(){ + return 'td'; +} +; +_.getRowElement__ILcom_google_gwt_dom_client_TableRowElement_2 = function(index_0){ + return com_vaadin_client_widgets_Escalator$BodyRowContainer_$getRowElement__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this, index_0); +} +; +_.getTrByVisualIndex__ILcom_google_gwt_dom_client_TableRowElement_2 = function(index_0){ + return com_vaadin_client_widgets_Escalator$BodyRowContainer_$getTrByVisualIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this, index_0); +} +; +_.paintInsertRows__IIV = function(index_0, numberOfRows){ + var addedRows, addedRowsAboveCurrentViewport, addedRowsBelowCurrentViewport, end, i, rowTop, rowsStillNeeded, start_0, tr, unupdatedLogicalStart, unupdatedVisual, visualOffset, visualTargetIndex, yDelta; + if (numberOfRows == 0) { + return; + } + addedRows = com_vaadin_client_widgets_Escalator$BodyRowContainer_$fillAndPopulateEscalatorRowsIfNeeded__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IILjava_util_List_2(this, index_0, numberOfRows); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + addedRowsAboveCurrentViewport = index_0 * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight < this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + addedRowsBelowCurrentViewport = index_0 * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight > this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos + com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this); + if (addedRowsAboveCurrentViewport) { + yDelta = numberOfRows * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$adjustScrollPosIgnoreEvents__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DV(this, yDelta); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + numberOfRows); + } + else if (addedRowsBelowCurrentViewport) + ; + else { + unupdatedLogicalStart = index_0 + addedRows.java_util_ArrayList_array.length; + visualOffset = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + rowsStillNeeded = numberOfRows - addedRows.java_util_ArrayList_array.length; + unupdatedVisual = com_vaadin_client_widgets_Escalator$BodyRowContainer_$convertToVisual__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(unupdatedLogicalStart, rowsStillNeeded)); + end = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root.childNodes.length; + start_0 = end - (unupdatedVisual.com_vaadin_shared_ui_grid_Range_end - unupdatedVisual.com_vaadin_shared_ui_grid_Range_start); + visualTargetIndex = unupdatedLogicalStart - visualOffset; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this, new com_vaadin_shared_ui_grid_Range_Range__IIV(start_0, end), visualTargetIndex, unupdatedLogicalStart); + rowTop = (unupdatedLogicalStart + (end - start_0)) * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + i = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, visualTargetIndex + (end - start_0)); + while (i.java_util_LinkedList$ListIteratorImpl_currentNode != i.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) { + tr = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(i.java_util_LinkedList$ListIteratorImpl_currentNode != i.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , i.java_util_LinkedList$ListIteratorImpl_lastNode = i.java_util_LinkedList$ListIteratorImpl_currentNode , i.java_util_LinkedList$ListIteratorImpl_currentNode = i.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++i.java_util_LinkedList$ListIteratorImpl_currentIndex , i.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(tr, 0, rowTop); + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(tr, new java_lang_Double_Double__DV(rowTop)); + rowTop += this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + } + com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$sortDomElements__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this); + } +} +; +_.paintRemoveRows__IIV = function(index_0, numberOfRows){ + var allEscalatorRows, contentBottom, dirtyRowsStart, escalatorRowCount, escalatorRowsToRemove, firstLogicalRowHeight, firstVisualRowIsRemoved, i, i0, i1, left, logicalTargetIndex, newScrollTop, newTop, partitions, removalScrollsToShowFirstLogicalRow, removedAbove, removedLogicalInside, removedRowsRange, removedVisualInside, rowsLeft, rowsScrolled, rowsToUpdateDataOn, start_0, top_0, tr, viewportBottom, viewportRange, visualRefreshRange, yDelta; + if (numberOfRows == 0) { + return; + } + viewportRange = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01); + removedRowsRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(index_0, numberOfRows); + partitions = com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(removedRowsRange, viewportRange); + removedAbove = partitions[0]; + removedLogicalInside = partitions[1]; + removedVisualInside = com_vaadin_client_widgets_Escalator$BodyRowContainer_$convertToVisual__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this, removedLogicalInside); + firstVisualRowIsRemoved = removedVisualInside.com_vaadin_shared_ui_grid_Range_start < removedVisualInside.com_vaadin_shared_ui_grid_Range_end && removedVisualInside.com_vaadin_shared_ui_grid_Range_start == 0; + if (removedAbove.com_vaadin_shared_ui_grid_Range_start < removedAbove.com_vaadin_shared_ui_grid_Range_end || firstVisualRowIsRemoved) { + yDelta = (removedAbove.com_vaadin_shared_ui_grid_Range_end - removedAbove.com_vaadin_shared_ui_grid_Range_start) * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + firstLogicalRowHeight = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + removalScrollsToShowFirstLogicalRow = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos - yDelta < firstLogicalRowHeight; + removedVisualInside.com_vaadin_shared_ui_grid_Range_start >= removedVisualInside.com_vaadin_shared_ui_grid_Range_end && (!removalScrollsToShowFirstLogicalRow || !firstVisualRowIsRemoved)?com_vaadin_client_widgets_Escalator$BodyRowContainer_$adjustScrollPosIgnoreEvents__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DV(this, -yDelta):removalScrollsToShowFirstLogicalRow && com_vaadin_client_widgets_Escalator$BodyRowContainer_$adjustScrollPosIgnoreEvents__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DV(this, -this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos); + } + if (removedVisualInside.com_vaadin_shared_ui_grid_Range_start < removedVisualInside.com_vaadin_shared_ui_grid_Range_end) { + escalatorRowCount = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_bodyElem.childNodes.length; + rowsLeft = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; + if (rowsLeft < escalatorRowCount) { + escalatorRowsToRemove = escalatorRowCount - rowsLeft; + for (i0 = 0; i0 < escalatorRowsToRemove; i0++) { + tr = java_util_AbstractSequentialList_$remove__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, removedVisualInside.com_vaadin_shared_ui_grid_Range_start); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IV(this, tr, index_0); + this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rowTopPositionMap.remove__Ljava_lang_Object_2Ljava_lang_Object_2(tr); + } + escalatorRowCount -= escalatorRowsToRemove; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_body, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollLeft, 0); + dirtyRowsStart = removedLogicalInside.com_vaadin_shared_ui_grid_Range_start; + for (i1 = dirtyRowsStart; i1 < escalatorRowCount; i1++) { + tr = java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, i1); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this, tr, i1 * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + } + rowsToUpdateDataOn = numberOfRows - escalatorRowsToRemove; + start_0 = 0 > escalatorRowCount - rowsToUpdateDataOn?0:escalatorRowCount - rowsToUpdateDataOn; + for (i = start_0; i < escalatorRowCount; i++) { + tr = java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, i); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_vaadin_shared_ui_grid_Range_2V(this, tr, i, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length)); + } + } + else { + contentBottom = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + viewportBottom = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_tBodyScrollTop + com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this); + if (viewportBottom <= contentBottom) { + com_vaadin_client_widgets_Escalator$BodyRowContainer_$paintRemoveRowsAtMiddle__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2IV(this, removedLogicalInside, removedVisualInside); + } + else if (removedVisualInside.com_vaadin_shared_ui_grid_Range_start <= 0 && 0 < removedVisualInside.com_vaadin_shared_ui_grid_Range_end && numberOfRows >= this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size) { + left = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + top_0 = contentBottom - this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this, left, top_0); + allEscalatorRows = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size); + logicalTargetIndex = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - (allEscalatorRows.com_vaadin_shared_ui_grid_Range_end - allEscalatorRows.com_vaadin_shared_ui_grid_Range_start); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this, allEscalatorRows, 0, logicalTargetIndex); + } + else if (contentBottom + numberOfRows * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight - viewportBottom < this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight) { + com_vaadin_client_widgets_Escalator$BodyRowContainer_$paintRemoveRowsAtBottom__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2V(this, removedLogicalInside, removedVisualInside); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$updateTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this, -(removedLogicalInside.com_vaadin_shared_ui_grid_Range_end - removedLogicalInside.com_vaadin_shared_ui_grid_Range_start)); + } + else { + newTop = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getRowTop__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2D(this, java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, removedVisualInside.com_vaadin_shared_ui_grid_Range_start)); + for (i0 = 0; i0 < removedVisualInside.com_vaadin_shared_ui_grid_Range_end - removedVisualInside.com_vaadin_shared_ui_grid_Range_start; i0++) { + tr = java_util_AbstractSequentialList_$remove__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, removedVisualInside.com_vaadin_shared_ui_grid_Range_start); + java_util_LinkedList_$addLast__Ljava_util_LinkedList_2Ljava_lang_Object_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, tr); + } + for (i = removedVisualInside.com_vaadin_shared_ui_grid_Range_start; i < escalatorRowCount; i++) { + tr = java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, i); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this, tr, com_google_gwt_lang_Cast_round_1int__DI(newTop)); + newTop += this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + } + newScrollTop = contentBottom - com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this); + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01, newScrollTop); + com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this, new com_vaadin_shared_ui_grid_Range_Range__IIV(escalatorRowCount - 1, escalatorRowCount - 1 + 1), 0, com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) - 1); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + -1); + rowsScrolled = com_google_gwt_lang_Cast_round_1int__DI(java_lang_Math_ceil__DD((viewportBottom - contentBottom) / this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight)); + start_0 = escalatorRowCount - (removedVisualInside.com_vaadin_shared_ui_grid_Range_end - removedVisualInside.com_vaadin_shared_ui_grid_Range_start - rowsScrolled); + visualRefreshRange = new com_vaadin_shared_ui_grid_Range_Range__IIV(start_0, escalatorRowCount); + logicalTargetIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) + start_0; + com_vaadin_client_widgets_Escalator$BodyRowContainer_$moveAndUpdateEscalatorRows__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2IIV(this, visualRefreshRange, start_0, logicalTargetIndex); + } + } + com_vaadin_client_widgets_Escalator_$fireRowVisibilityChangeEvent__Lcom_vaadin_client_widgets_Escalator_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$sortDomElements__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this); + } + com_vaadin_client_widgets_Escalator$BodyRowContainer_$updateTopRowLogicalIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2IV(this, -(removedAbove.com_vaadin_shared_ui_grid_Range_end - removedAbove.com_vaadin_shared_ui_grid_Range_start)); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); +} +; +_.reapplyDefaultRowHeights__V = function(){ + var i, logicalIndex, logicalLogical, scrollRatio, tr; + if (this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size == 0) { + return; + } + for (i = 0; i < this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder.java_util_LinkedList_size; i++) { + tr = java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, i); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowHeight__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2DV(tr, this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + logicalIndex = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex + i; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setRowPosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2IDV(this, tr, logicalIndex * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + } + scrollRatio = this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos / com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'height')); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar, com_google_gwt_lang_Cast_round_1int__DI(this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight * this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows * scrollRatio)); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos, this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos); + com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this); + logicalLogical = com_google_gwt_lang_Cast_round_1int__DI(com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getRowTop__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2D(this, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)) / this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight); + com_google_gwt_logging_client_LogConfiguration_loggingIsEnabled__Ljava_util_logging_Level_2Z() && undefined; + this.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = logicalLogical; +} +; +_.recalculateSectionHeight__V = function(){ +} +; +_.refreshCells__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2V = function(logicalRowRange, colRange){ + var firstLogicalRowIndex, rowNumber, visualRange; + visualRange = com_vaadin_client_widgets_Escalator$BodyRowContainer_$convertToVisual__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this, logicalRowRange); + if (visualRange.com_vaadin_shared_ui_grid_Range_start < visualRange.com_vaadin_shared_ui_grid_Range_end) { + firstLogicalRowIndex = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getLogicalRowIndex__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2Lcom_google_gwt_dom_client_Element_2I(this, java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder)); + for (rowNumber = visualRange.com_vaadin_shared_ui_grid_Range_start; rowNumber < visualRange.com_vaadin_shared_ui_grid_Range_end; rowNumber++) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRow__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_google_gwt_dom_client_TableRowElement_2ILcom_vaadin_shared_ui_grid_Range_2V(this, java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this.com_vaadin_client_widgets_Escalator$BodyRowContainer_visualRowOrder, rowNumber), firstLogicalRowIndex + rowNumber, colRange); + } + } +} +; +_.com_vaadin_client_widgets_Escalator$BodyRowContainer_topRowLogicalIndex = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$BodyRowContainer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(236); +function com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$reschedule__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$static){ + com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$resetConditions__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$static); + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_animationHandle = (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_frameCounter, null); +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$resetConditions__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$static){ + if (this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_animationHandle) { + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_animationHandle.cancel__V(); + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_animationHandle = null; + } + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_startTime = com_google_gwt_core_client_JsDate_now__D(); + this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_framesPassed = 0; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$sortIfConditionsMet__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2Z(this$static){ + var conditionsMet, enoughFramesHavePassed, enoughTimeHasPassed; + enoughFramesHavePassed = this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_framesPassed >= 3; + enoughTimeHasPassed = com_google_gwt_core_client_JsDate_now__D() - this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_startTime >= 50; + conditionsMet = enoughFramesHavePassed && enoughTimeHasPassed; + if (conditionsMet) { + com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$resetConditions__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$static); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$sortDomElements__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_this$11); + } + return conditionsMet; +} + +function com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_Escalator$BodyRowContainer$DeferredDomSorter__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$1){ + this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_this$11 = this$1; + this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_frameCounter = new com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_Escalator$BodyRowContainer$DeferredDomSorter$1__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(237, 1, {}, com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_Escalator$BodyRowContainer$DeferredDomSorter__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V); +_.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_framesPassed = 0; +_.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_startTime = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$BodyRowContainer$DeferredDomSorter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(237); +function com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_Escalator$BodyRowContainer$DeferredDomSorter$1__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this$2){ + this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_this$21 = this$2; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(243, 1, {}, com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_Escalator$BodyRowContainer$DeferredDomSorter$1__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V); +_.execute__DV = function(timestamp){ + var domWasSorted; + ++this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_this$21.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_framesPassed; + domWasSorted = com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$sortIfConditionsMet__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2Z(this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_this$21); + domWasSorted || (this.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_this$21.com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_animationHandle = (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this, null)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$BodyRowContainer$DeferredDomSorter$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(243); +function com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_$reschedule__Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2V(this$static){ + if (!this$static.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled) { + this$static.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled = true; + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this$static.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_widthCommand); + } +} + +function com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_Escalator$ColumnAutoWidthAssignScheduler__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_this$01 = this$0; + this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_widthCommand = new com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_Escalator$ColumnAutoWidthAssignScheduler$1__Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(233, 1, {}, com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_Escalator$ColumnAutoWidthAssignScheduler__Lcom_vaadin_client_widgets_Escalator_2V); +_.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$ColumnAutoWidthAssignScheduler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(233); +function com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_Escalator$ColumnAutoWidthAssignScheduler$1__Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2V(this$1){ + this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(241, 1, {}, com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_Escalator$ColumnAutoWidthAssignScheduler$1__Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2V); +_.execute__V = function(){ + var cc, col, column; + if (!this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_this$11.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled) { + return; + } + this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_this$11.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled = false; + cc = this.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_this$11.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration; + for (col = 0; col < cc.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length; col++) { + column = java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(cc.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, col); + if (!column.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_widthHasBeenFinalized) { + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setColumnWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IDV(cc, col, -1); + column.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnAutoWidthAssignScheduler.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled = false; + column.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_widthHasBeenFinalized = true; + } + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$ColumnAutoWidthAssignScheduler$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(241); +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$assertArgumentsAreValidAndWithinRange__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0){ + if (index_0 < 0 || index_0 + 1 > this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given column range (' + index_0 + '..' + (index_0 + 1) + ') was outside of the current ' + 'number of columns (' + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length + ')'); + } +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$calculateRowWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2D(this$static){ + return com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static, new com_vaadin_shared_ui_grid_Range_Range__IIV(0, this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length)); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$checkValidColumnIndex__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IV(this$static, index_0){ + if (!com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length), index_0)) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The given column index (' + index_0 + ') does not exist'); + } +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_3D(this$static){ + var i; + if (this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray == null || this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray.length != this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length) { + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_D_1classLit, $intern_1, 0, this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length, 7, 1); + for (i = 0; i < this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length; i++) { + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray[i] = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$getCalculatedWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2D(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, i)); + } + } + return this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static, columns){ + var columnWidthActual, i, sum; + sum = 0; + for (i = columns.com_vaadin_shared_ui_grid_Range_start; i < columns.com_vaadin_shared_ui_grid_Range_end; i++) { + columnWidthActual = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$getCalculatedWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2D(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, i)); + sum += columnWidthActual; + } + return sum; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static, index_0){ + return com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$getCalculatedWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2D(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, index_0)); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static, colIndex){ + var bodyWidth, footerWidth, headerWidth, maxWidth; + headerWidth = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2ID(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header, colIndex); + bodyWidth = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2ID(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body, colIndex); + footerWidth = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2ID(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer, colIndex); + maxWidth = headerWidth > (bodyWidth > footerWidth?bodyWidth:footerWidth)?headerWidth:bodyWidth > footerWidth?bodyWidth:footerWidth; + return maxWidth; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$insertColumns__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0){ + var col, columnsWereAddedToTheLeftOfViewport, frozen, i, insertedColumnsWidth, pixelsToInsertedColumn, scrollbarIsNowNeeded, scrollbarWasNeeded; + if (index_0 < 0 || index_0 > this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V('The given index(' + index_0 + ') was outside of the current number of columns (0..' + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length + ')'); + } + com_vaadin_client_widget_escalator_FlyweightRow_$addCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, index_0); + for (i = 0; i < 1; i++) { + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, index_0, new com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_Escalator$ColumnConfigurationImpl$Column__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2V(this$static)); + } + frozen = index_0 < this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns; + frozen && (this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns += 1); + scrollbarWasNeeded = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'width')) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'width')); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_scroller); + scrollbarIsNowNeeded = com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'width')) < com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'width')); + !scrollbarWasNeeded && scrollbarIsNowNeeded && com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header, index_0, frozen); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body, index_0, frozen); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintInsertColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer, index_0, frozen); + if (this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 || this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 || this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0) { + for (col = index_0; col < index_0 + 1; col++) { + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setColumnWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IDV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, col, -1); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$widthIsFinalized__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2V(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, col)); + } + } + pixelsToInsertedColumn = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, index_0)); + columnsWereAddedToTheLeftOfViewport = this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft > pixelsToInsertedColumn; + if (columnsWereAddedToTheLeftOfViewport) { + insertedColumnsWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(index_0, 1)); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar, this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft + insertedColumnsWidth); + } +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(container){ + container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(container); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$removeColumns__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0){ + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$assertArgumentsAreValidAndWithinRange__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$removeColumnsAdjustScrollbar__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header, index_0); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body, index_0); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$paintRemoveColumns__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer, index_0); + com_vaadin_client_widget_escalator_FlyweightRow_$removeCells__Lcom_vaadin_client_widget_escalator_FlyweightRow_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_flyweightRow, index_0); + java_util_AbstractList_$clear__Ljava_util_AbstractList_2V(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, index_0, index_0 + 1)); + index_0 < this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns && (index_0 + 1 < this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns?(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns -= 1):(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns = index_0)); + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_scroller); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$verifyEscalatorCount__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body); + if (this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length > 0) { + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$reapplyRowWidths__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer); + } +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$removeColumnsAdjustScrollbar__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static, index_0){ + var adjustedScrollLeft, leftPosOfFirstColumnToRemove, scrollLeft, widthOfColumnsToRemove; + if (com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style, 'width')) >= com_vaadin_client_widget_escalator_ScrollbarBundle_parseCssDimensionToPixels__Ljava_lang_String_2D(com_google_gwt_dom_client_Style_$getProperty__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollSizeElement.style, 'width'))) { + return; + } + leftPosOfFirstColumnToRemove = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static, new com_vaadin_shared_ui_grid_Range_Range__IIV(0, index_0)); + widthOfColumnsToRemove = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(index_0, 1)); + scrollLeft = this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + if (scrollLeft <= leftPosOfFirstColumnToRemove) { + return; + } + adjustedScrollLeft = leftPosOfFirstColumnToRemove > scrollLeft - widthOfColumnsToRemove?leftPosOfFirstColumnToRemove:scrollLeft - widthOfColumnsToRemove; + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar, adjustedScrollLeft); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setColumnWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IDV(this$static, index_0, px){ + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$checkValidColumnIndex__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IV(this$static, index_0); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$setWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2DV(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, index_0), px); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$widthIsFinalized__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2V(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, index_0)); + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray = null; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$reapplyColumnWidths__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer); + com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setFrozenColumnCount__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IV(this$static, count){ + var col, firstAffectedCol, firstUnaffectedCol, frozen, oldCount; + if (count < 0 || count > this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('count must be between 0 and the current number of columns (' + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length + ')'); + } + oldCount = this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns; + if (count == oldCount) { + return; + } + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns = count; + if (com_vaadin_client_widgets_Escalator_$hasSomethingInDom__Lcom_vaadin_client_widgets_Escalator_2Z(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01)) { + frozen = count > oldCount; + if (frozen) { + firstAffectedCol = oldCount; + firstUnaffectedCol = count; + } + else { + firstAffectedCol = count; + firstUnaffectedCol = oldCount; + } + for (col = firstAffectedCol; col < firstUnaffectedCol; col++) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setColumnFrozen__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_header, col, frozen); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setColumnFrozen__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_body, col, frozen); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setColumnFrozen__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IZV(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_footer, col, frozen); + } + } + com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_scroller); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_Escalator$ColumnConfigurationImpl__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01 = this$0; + this.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns = new java_util_ArrayList_ArrayList__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(238, 1, {}, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_Escalator$ColumnConfigurationImpl__Lcom_vaadin_client_widgets_Escalator_2V); +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns = 0; +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_widthsArray = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$ColumnConfigurationImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(238); +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$getCalculatedWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2D(this$static){ + return this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_measuringRequested?-1:this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_calculatedWidth; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$measureAndSetWidthIfNeeded__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2Z(this$static){ + if (this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_measuringRequested) { + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_measuringRequested = false; + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$setWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2DV(this$static, this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_definedWidth); + return true; + } + return false; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$setWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2DV(this$static, px){ + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_definedWidth = px; + px < 0?this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_google_gwt_user_client_ui_Widget_attached?(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_calculatedWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getMaxCellWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, this$static, 0))):(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_measuringRequested = true):(this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_calculatedWidth = px); +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_$widthIsFinalized__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2V(this$static){ + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_this$01.com_vaadin_client_widgets_Escalator_columnAutoWidthAssignScheduler.com_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_isScheduled = false; + this$static.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_widthHasBeenFinalized = true; +} + +function com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_Escalator$ColumnConfigurationImpl$Column__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2V(this$1){ + this.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(239, 1, {}, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_Escalator$ColumnConfigurationImpl$Column__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2V); +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_calculatedWidth = 100; +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_definedWidth = -1; +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_measuringRequested = false; +_.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_widthHasBeenFinalized = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$ColumnConfigurationImpl$Column_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(239); +function com_vaadin_client_widgets_Escalator$FlickScrollAnimator_Escalator$FlickScrollAnimator__Lcom_vaadin_client_widgets_Escalator_2DDDV(this$0, deltaX, deltaY, lastTime){ + var currentTimeMillis, snapDeltas; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01 = this$0; + currentTimeMillis = com_google_gwt_core_client_JsDate_now__D(); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX = (deltaX / (currentTimeMillis - lastTime) < 7?deltaX / (currentTimeMillis - lastTime):7) > -7?deltaX / (currentTimeMillis - lastTime) < 7?deltaX / (currentTimeMillis - lastTime):7:-7; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY = (deltaY / (currentTimeMillis - lastTime) < 7?deltaY / (currentTimeMillis - lastTime):7) > -7?deltaY / (currentTimeMillis - lastTime) < 7?deltaY / (currentTimeMillis - lastTime):7:-7; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastLeft = this$0.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastTop = this$0.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + snapDeltas = com_vaadin_client_widgets_Escalator_snapDeltas__DDD_3D(this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX, this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY, (com_vaadin_client_widgets_Escalator_$clinit__V() , com_vaadin_client_widgets_Escalator_RATIO_1OF_130_1DEGREES)); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX = snapDeltas[0]; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY = snapDeltas[1]; + if (this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX * this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY * this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY > 0.005) { + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft = 1500; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_xFric = this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX / this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_yFric = this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY / this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft; + } + else { + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft = 0; + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(231, 1, {}, com_vaadin_client_widgets_Escalator$FlickScrollAnimator_Escalator$FlickScrollAnimator__Lcom_vaadin_client_widgets_Escalator_2DDDV); +_.execute__DV = function(doNotUseThisTimestamp){ + var currentLeft, currentTop, left, timeDiff, timestamp, top_0; + if (this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft <= 0 || this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_cancelled) { + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01.com_vaadin_client_widgets_Escalator_scroller.com_vaadin_client_widgets_Escalator$Scroller_currentFlickScroller = null; + return; + } + timestamp = com_google_gwt_core_client_JsDate_now__D(); + if (this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_prevTime == 0) { + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_prevTime = timestamp; + (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this, null); + return; + } + currentLeft = this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + currentTop = this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + timeDiff = timestamp - this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_prevTime; + left = currentLeft - this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX * timeDiff; + com_vaadin_client_widgets_Escalator_$setScrollLeft__Lcom_vaadin_client_widgets_Escalator_2DV(this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01, left); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX -= this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_xFric * timeDiff; + top_0 = currentTop - this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY * timeDiff; + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01, top_0); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY -= this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_yFric * timeDiff; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastLeft == this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos && this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastTop == this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos && (this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_cancelled = true); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_prevTime = timestamp; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft = com_google_gwt_lang_Cast_round_1int__DI(this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft - timeDiff); + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastLeft = currentLeft; + this.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastTop = currentTop; + (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this, null); +} +; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_cancelled = false; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastLeft = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_lastTop = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_millisLeft = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_prevTime = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velX = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_velY = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_xFric = 0; +_.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_yFric = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$FlickScrollAnimator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(231); +function com_vaadin_client_widgets_Escalator$FooterRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$FooterRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, primaryStyleName + '-footer'); +} + +function com_vaadin_client_widgets_Escalator$FooterRowContainer_Escalator$FooterRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this$0, footElement){ + this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01 = this$0; + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_Escalator$AbstractStaticRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V.call(this, this$0, footElement); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(235, 136, {}, com_vaadin_client_widgets_Escalator$FooterRowContainer_Escalator$FooterRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V); +_.getCellElementTagName__Ljava_lang_String_2 = function(){ + return 'td'; +} +; +_.sectionHeightCalculated__V = function(){ + var horizontalScrollbarNeeded, vscrollHeight; + vscrollHeight = com_google_gwt_lang_Cast_round_1int__DI(java_lang_Math_floor__DD(this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_heightOfEscalator - this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection - this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection)); + horizontalScrollbarNeeded = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$calculateRowWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2D(this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration) > this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_widthOfEscalator; + horizontalScrollbarNeeded && (vscrollHeight = com_google_gwt_lang_Cast_round_1int__DI(vscrollHeight - com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar))); + this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_footerDeco.style['height'] = this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this.com_vaadin_client_widgets_Escalator$FooterRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar, vscrollHeight); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$FooterRowContainer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(235); +function com_vaadin_client_widgets_Escalator$HeaderRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$HeaderRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Ljava_lang_String_2V(this$static, primaryStyleName); + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root, primaryStyleName + '-header'); +} + +function com_vaadin_client_widgets_Escalator$HeaderRowContainer_Escalator$HeaderRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V(this$0, headElement){ + this.com_vaadin_client_widgets_Escalator$HeaderRowContainer_this$01 = this$0; + com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_Escalator$AbstractStaticRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V.call(this, this$0, headElement); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(234, 136, {}, com_vaadin_client_widgets_Escalator$HeaderRowContainer_Escalator$HeaderRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_TableSectionElement_2V); +_.getCellElementTagName__Ljava_lang_String_2 = function(){ + return 'th'; +} +; +_.sectionHeightCalculated__V = function(){ + this.com_vaadin_client_widgets_Escalator$HeaderRowContainer_this$01.com_vaadin_client_widgets_Escalator_bodyElem.style['marginTop'] = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + this.com_vaadin_client_widgets_Escalator$HeaderRowContainer_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['top'] = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection + 'px'; + this.com_vaadin_client_widgets_Escalator$HeaderRowContainer_this$01.com_vaadin_client_widgets_Escalator_headerDeco.style['height'] = this.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection + 'px'; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$HeaderRowContainer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(234); +function com_vaadin_client_widgets_Escalator$JsniUtil_moveScrollFromEvent__Lcom_vaadin_client_widgets_Escalator_2DDLcom_google_gwt_dom_client_NativeEvent_2V(escalator, deltaX, deltaY, event_0){ + var warrantedXScroll, warrantedYScroll; + isNaN(deltaX) || com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPosByDelta__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(escalator.com_vaadin_client_widgets_Escalator_horizontalScrollbar, deltaX); + isNaN(deltaY) || com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPosByDelta__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(escalator.com_vaadin_client_widgets_Escalator_verticalScrollbar, deltaY); + warrantedYScroll = deltaY != 0 && com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(escalator.com_vaadin_client_widgets_Escalator_verticalScrollbar); + warrantedXScroll = deltaX != 0 && com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(escalator.com_vaadin_client_widgets_Escalator_horizontalScrollbar); + (warrantedYScroll || warrantedXScroll) && com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0)); +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchEndHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static){ + var self_0 = this$static; + return $entry(function(e){ + self_0.touchEnd__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V(e); + } + ); +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchMoveHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static){ + var self_0 = this$static; + return $entry(function(e){ + self_0.touchMove__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V(e); + } + ); +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchStartHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$static){ + var self_0 = this$static; + return $entry(function(e){ + self_0.touchStart__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V(e); + } + ); +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_Escalator$JsniUtil$TouchHandlerBundle__Lcom_vaadin_client_widgets_Escalator_2V(escalator){ + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_mover = new com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_Escalator$JsniUtil$TouchHandlerBundle$1__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2V(this); + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator = escalator; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(230, 1, {}, com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_Escalator$JsniUtil$TouchHandlerBundle__Lcom_vaadin_client_widgets_Escalator_2V); +_.touchEnd__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V = function(event_0){ + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches = com_google_gwt_dom_client_NativeEvent_$getTouches__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_core_client_JsArray_2(event_0).length; + if (this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches == 0) { + com_vaadin_client_widgets_Escalator$Scroller_$handleFlickScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2DDDV(this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator.com_vaadin_client_widgets_Escalator_scroller, this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX, this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY, this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastTime); + com_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_$reschedule__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2V(this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$BodyRowContainer_domSorter); + } +} +; +_.touchMove__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V = function(event_0){ + var lastArg; + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_latestTouchMoveEvent = event_0; + !!this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_animationHandle && this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_animationHandle.cancel__V(); + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_animationHandle = (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_mover, this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator.com_vaadin_client_widgets_Escalator_bodyElem); + com_google_gwt_dom_client_NativeEvent_$preventDefault__Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_$execute__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_2DV((lastArg = this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_mover , com_google_gwt_core_client_JsDate_now__D() , lastArg)); +} +; +_.touchStart__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2V = function(event_0){ + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches = com_google_gwt_dom_client_NativeEvent_$getTouches__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_core_client_JsArray_2(event_0).length; + if (this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches != 1) { + return; + } + com_vaadin_client_widgets_Escalator$Scroller_$cancelFlickScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator.com_vaadin_client_widgets_Escalator_scroller); + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastX = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageX__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(event_0); + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastY = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageY__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(event_0); + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_snappedScrollEnabled = true; +} +; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX = 0; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY = 0; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastTime = 0; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastX = 0; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastY = 0; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_snappedScrollEnabled = true; +_.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$JsniUtil$TouchHandlerBundle_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(230); +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_$execute__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_2DV(this$static){ + var oldDeltaX, oldDeltaY, snapped, x_0, y_0; + if (this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_touches != 1) { + return; + } + x_0 = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageX__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_latestTouchMoveEvent); + y_0 = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageY__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_latestTouchMoveEvent); + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX = x_0 - this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastX; + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY = y_0 - this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastY; + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastX = x_0; + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastY = y_0; + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_lastTime = com_google_gwt_core_client_JsDate_now__D(); + if (this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_snappedScrollEnabled) { + oldDeltaX = this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX; + oldDeltaY = this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY; + snapped = com_vaadin_client_widgets_Escalator_snapDeltas__DDD_3D(this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX, this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY, (com_vaadin_client_widgets_Escalator_$clinit__V() , com_vaadin_client_widgets_Escalator_RATIO_1OF_140_1DEGREES)); + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX = snapped[0]; + this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY = snapped[1]; + oldDeltaX != 0 && this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX == oldDeltaX && oldDeltaY != 0 && this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY == oldDeltaY && (this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_snappedScrollEnabled = false); + } + com_vaadin_client_widgets_Escalator$JsniUtil_moveScrollFromEvent__Lcom_vaadin_client_widgets_Escalator_2DDLcom_google_gwt_dom_client_NativeEvent_2V(this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_escalator, -this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaX, -this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_deltaY, this$static.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_latestTouchMoveEvent); +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_Escalator$JsniUtil$TouchHandlerBundle$1__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2V(this$2){ + this.com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_this$21 = this$2; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(240, 1, {}, com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_Escalator$JsniUtil$TouchHandlerBundle$1__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2V); +_.execute__DV = function(doNotUseThisTimestamp){ + com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_$execute__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_2DV(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$JsniUtil$TouchHandlerBundle$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(240); +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageX__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(this$static){ + return this$static.targetTouches[0].pageX; +} + +function com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_$getPageY__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$CustomTouchEvent_2I(this$static){ + return this$static.targetTouches[0].pageY; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(228, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1JsniWorkaround_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(228); +function com_vaadin_client_widgets_Escalator$Scroller_$attachMousewheelListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + if (element.addEventListener) { + var eventName = element.onwheel === undefined?'mousewheel':'wheel'; + element.addEventListener(eventName, this$static.com_vaadin_client_widgets_JsniWorkaround_mousewheelListenerFunction); + } + else { + element.attachEvent('onmousewheel', this$static.com_vaadin_client_widgets_JsniWorkaround_mousewheelListenerFunction); + } +} + +function com_vaadin_client_widgets_Escalator$Scroller_$attachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + element.addEventListener?element.addEventListener('scroll', this$static.com_vaadin_client_widgets_JsniWorkaround_scrollListenerFunction):element.attachEvent('onscroll', this$static.com_vaadin_client_widgets_JsniWorkaround_scrollListenerFunction); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$attachTouchListeners__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + if (element.addEventListener) { + element.addEventListener('touchstart', this$static.com_vaadin_client_widgets_JsniWorkaround_touchStartFunction); + element.addEventListener('touchmove', this$static.com_vaadin_client_widgets_JsniWorkaround_touchMoveFunction); + element.addEventListener('touchend', this$static.com_vaadin_client_widgets_JsniWorkaround_touchEndFunction); + element.addEventListener('touchcancel', this$static.com_vaadin_client_widgets_JsniWorkaround_touchEndFunction); + } +} + +function com_vaadin_client_widgets_Escalator$Scroller_$cancelFlickScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static){ + !!this$static.com_vaadin_client_widgets_Escalator$Scroller_currentFlickScroller && (this$static.com_vaadin_client_widgets_Escalator$Scroller_currentFlickScroller.com_vaadin_client_widgets_Escalator$FlickScrollAnimator_cancelled = true); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$createMousewheelListenerFunction__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_core_client_JavaScriptObject_2(esc){ + return $entry(function(e){ + var deltaX = e.deltaX?e.deltaX:-0.5 * e.wheelDeltaX; + var deltaY = e.deltaY?e.deltaY:-0.5 * e.wheelDeltaY; + isNaN(deltaY) && (deltaY = -0.5 * e.wheelDelta); + com_vaadin_client_widgets_Escalator$JsniUtil_moveScrollFromEvent__Lcom_vaadin_client_widgets_Escalator_2DDLcom_google_gwt_dom_client_NativeEvent_2V(esc, deltaX, deltaY, e); + } + ); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$createScrollListenerFunction__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_core_client_JavaScriptObject_2(esc){ + var vScroll = esc.com_vaadin_client_widgets_Escalator_verticalScrollbar; + var vScrollElem = vScroll.getElement__Lcom_google_gwt_dom_client_Element_2(); + var hScroll = esc.com_vaadin_client_widgets_Escalator_horizontalScrollbar; + var hScrollElem = hScroll.getElement__Lcom_google_gwt_dom_client_Element_2(); + return $entry(function(e){ + var target = e.target || e.srcElement; + target === vScrollElem?vScroll.private$com_vaadin_client_widget_escalator_ScrollbarBundle$updateScrollPosFromDom__V():target === hScrollElem?hScroll.private$com_vaadin_client_widget_escalator_ScrollbarBundle$updateScrollPosFromDom__V():$wnd.console.error('unexpected scroll target: ' + target); + } + ); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$detachMousewheelListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + if (element.addEventListener) { + var eventName = element.onwheel === undefined?'mousewheel':'wheel'; + element.removeEventListener(eventName, this$static.com_vaadin_client_widgets_JsniWorkaround_mousewheelListenerFunction); + } + else { + element.detachEvent('onmousewheel', this$static.com_vaadin_client_widgets_JsniWorkaround_mousewheelListenerFunction); + } +} + +function com_vaadin_client_widgets_Escalator$Scroller_$detachScrollListener__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + element.addEventListener?element.removeEventListener('scroll', this$static.com_vaadin_client_widgets_JsniWorkaround_scrollListenerFunction):element.detachEvent('onscroll', this$static.com_vaadin_client_widgets_JsniWorkaround_scrollListenerFunction); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$detachTouchListeners__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_google_gwt_dom_client_Element_2V(this$static, element){ + if (element.removeEventListener) { + element.removeEventListener('touchstart', this$static.com_vaadin_client_widgets_JsniWorkaround_touchStartFunction); + element.removeEventListener('touchmove', this$static.com_vaadin_client_widgets_JsniWorkaround_touchMoveFunction); + element.removeEventListener('touchend', this$static.com_vaadin_client_widgets_JsniWorkaround_touchEndFunction); + element.removeEventListener('touchcancel', this$static.com_vaadin_client_widgets_JsniWorkaround_touchEndFunction); + } +} + +function com_vaadin_client_widgets_Escalator$Scroller_$handleFlickScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2DDDV(this$static, deltaX, deltaY, lastTime){ + this$static.com_vaadin_client_widgets_Escalator$Scroller_currentFlickScroller = new com_vaadin_client_widgets_Escalator$FlickScrollAnimator_Escalator$FlickScrollAnimator__Lcom_vaadin_client_widgets_Escalator_2DDDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01, deltaX, deltaY, lastTime); + (!com_google_gwt_animation_client_AnimationScheduler_instance && (com_google_gwt_animation_client_AnimationScheduler_instance = com_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_$isNativelySupported__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationSupportDetector_2Z()?new com_google_gwt_animation_client_AnimationSchedulerImplStandard_AnimationSchedulerImplStandard__V:new com_google_gwt_animation_client_AnimationSchedulerImplTimer_AnimationSchedulerImplTimer__V) , com_google_gwt_animation_client_AnimationScheduler_instance).requestAnimationFrame__Lcom_google_gwt_animation_client_AnimationScheduler$AnimationCallback_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2(this$static.com_vaadin_client_widgets_Escalator$Scroller_currentFlickScroller, null); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$onScroll__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static){ + var i, scrollLeft, scrollTop; + scrollTop = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + scrollLeft = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + if (this$static.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft != scrollLeft) { + for (i = 0; i < this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns; i++) { + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$updateFreezePosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_header, i, scrollLeft); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$updateFreezePosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body, i, scrollLeft); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$updateFreezePosition__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footer, i, scrollLeft); + } + this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_headElem, -scrollLeft, 0); + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_position, 90)?(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footElem.style['left'] = -scrollLeft + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px') , undefined):this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_position.set__Lcom_google_gwt_dom_client_Element_2DDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footElem, -scrollLeft, 0); + this$static.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft = scrollLeft; + } + com_vaadin_client_widgets_Escalator$BodyRowContainer_$setBodyScrollPosition__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2DDV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body, scrollLeft, scrollTop); + com_vaadin_client_widgets_Escalator$BodyRowContainer_$updateEscalatorRowsOnScroll__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2V(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$recalculateScrollbarsForVirtualViewport__Lcom_vaadin_client_widgets_Escalator$Scroller_2V(this$static){ + var fCornerStyle, frozenPixels, hCornerStyle, hScrollOffsetWidth, horizontalScrollNeeded, offset, prevScrollPos, scrollContentHeight, scrollContentWidth, tableWrapperHeight, tableWrapperWidth, unfrozenPixels, vScrollbarHeight, verticalScrollNeeded; + scrollContentHeight = com_vaadin_client_widgets_Escalator$AbstractRowContainer_$calculateEstimatedTotalRowHeight__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body); + scrollContentWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$calculateRowWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration); + tableWrapperHeight = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_heightOfEscalator; + tableWrapperWidth = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_widthOfEscalator; + verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection; + horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth; + verticalScrollNeeded != horizontalScrollNeeded && (!verticalScrollNeeded && horizontalScrollNeeded?(verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection - com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar)):(horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth - com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar))); + if (verticalScrollNeeded) { + tableWrapperWidth -= com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar); + tableWrapperWidth = 0 > tableWrapperWidth?0:tableWrapperWidth; + } + if (horizontalScrollNeeded) { + tableWrapperHeight -= com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar); + tableWrapperHeight = 0 > tableWrapperHeight?0:tableWrapperHeight; + } + this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_tableWrapper.style['height'] = tableWrapperHeight + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , 'px'); + this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_tableWrapper.style['width'] = tableWrapperWidth + 'px'; + vScrollbarHeight = java_lang_Math_max__DDD(0, tableWrapperHeight - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection - this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_heightOfSection); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar, vScrollbarHeight); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar, scrollContentHeight); + prevScrollPos = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + unfrozenPixels = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, new com_vaadin_shared_ui_grid_Range_Range__IIV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns, this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length)); + frozenPixels = scrollContentWidth - unfrozenPixels; + hScrollOffsetWidth = tableWrapperWidth - frozenPixels; + com_vaadin_client_widget_escalator_ScrollbarBundle_$setOffsetSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar, hScrollOffsetWidth); + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollSize__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar, unfrozenPixels); + this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_root.style['left'] = frozenPixels + 'px'; + com_vaadin_client_widget_escalator_ScrollbarBundle_$setScrollPos__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar, prevScrollPos); + com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar)?com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco.style, 'display', ''):(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbarDeco.style['display'] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none') , undefined); + hCornerStyle = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_headerDeco.style; + fCornerStyle = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_footerDeco.style; + if (com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar)) { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(hCornerStyle, 'display', ''); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(fCornerStyle, 'display', ''); + if (com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar)) { + offset = com_vaadin_client_widget_escalator_ScrollbarBundle_$getScrollbarThickness__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar); + fCornerStyle['bottom'] = offset + 'px'; + } + else { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(fCornerStyle, 'bottom', ''); + } + } + else { + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(hCornerStyle, 'display', (com_google_gwt_dom_client_Style$Display_$clinit__V() , 'none')); + com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(fCornerStyle, 'display', 'none'); + } +} + +function com_vaadin_client_widgets_Escalator$Scroller_$scrollToColumn__Lcom_vaadin_client_widgets_Escalator$Scroller_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static, columnIndex){ + var frozenPixels, scrollLeft, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx; + frozenPixels = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns)); + targetStartPx = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getCalculatedColumnsWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2Lcom_vaadin_shared_ui_grid_Range_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, columnIndex)) - frozenPixels; + targetEndPx = targetStartPx + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_columnConfiguration, columnIndex); + viewportStartPx = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_horizontalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + viewportEndPx = viewportStartPx + com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01)) - frozenPixels; + com_vaadin_client_widget_escalator_ScrollbarBundle_$showsScrollHandle__Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2Z(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar) && (viewportEndPx -= com_vaadin_client_WidgetUtil_getNativeScrollbarSize__I()); + scrollLeft = com_vaadin_client_widgets_Escalator_getScrollPos__Lcom_vaadin_shared_ui_grid_ScrollDestination_2DDDDDD(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 10); + com_vaadin_client_widgets_Escalator_$setScrollLeft__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01, scrollLeft); +} + +function com_vaadin_client_widgets_Escalator$Scroller_$scrollToRow__Lcom_vaadin_client_widgets_Escalator$Scroller_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2DV(this$static, rowIndex){ + var scrollTop, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx; + targetStartPx = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight * rowIndex; + targetEndPx = targetStartPx + this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeight; + viewportStartPx = this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_verticalScrollbar.com_vaadin_client_widget_escalator_ScrollbarBundle_scrollPos; + viewportEndPx = viewportStartPx + com_vaadin_client_widgets_Escalator$BodyRowContainer_$calculateHeight__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2D(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01.com_vaadin_client_widgets_Escalator_body); + scrollTop = com_vaadin_client_widgets_Escalator_getScrollPos__Lcom_vaadin_shared_ui_grid_ScrollDestination_2DDDDDD(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 0); + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Escalator$Scroller_this$01, scrollTop); +} + +function com_vaadin_client_widgets_Escalator$Scroller_Escalator$Scroller__Lcom_vaadin_client_widgets_Escalator_2V(this$0){ + this.com_vaadin_client_widgets_Escalator$Scroller_this$01 = this$0; + this.com_vaadin_client_widgets_JsniWorkaround_scrollListenerFunction = com_vaadin_client_widgets_Escalator$Scroller_$createScrollListenerFunction__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$0); + this.com_vaadin_client_widgets_JsniWorkaround_mousewheelListenerFunction = com_vaadin_client_widgets_Escalator$Scroller_$createMousewheelListenerFunction__Lcom_vaadin_client_widgets_Escalator$Scroller_2Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_core_client_JavaScriptObject_2(this$0); + this.com_vaadin_client_widgets_JsniWorkaround_touchHandlerBundle = new com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_Escalator$JsniUtil$TouchHandlerBundle__Lcom_vaadin_client_widgets_Escalator_2V(this$0); + this.com_vaadin_client_widgets_JsniWorkaround_touchStartFunction = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchStartHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this.com_vaadin_client_widgets_JsniWorkaround_touchHandlerBundle); + this.com_vaadin_client_widgets_JsniWorkaround_touchMoveFunction = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchMoveHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this.com_vaadin_client_widgets_JsniWorkaround_touchHandlerBundle); + this.com_vaadin_client_widgets_JsniWorkaround_touchEndFunction = com_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_$getTouchEndHandler__Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2Lcom_google_gwt_core_client_JavaScriptObject_2(this.com_vaadin_client_widgets_JsniWorkaround_touchHandlerBundle); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(232, 228, {}, com_vaadin_client_widgets_Escalator$Scroller_Escalator$Scroller__Lcom_vaadin_client_widgets_Escalator_2V); +_.com_vaadin_client_widgets_Escalator$Scroller_lastScrollLeft = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Escalator$Scroller_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(232); +function com_vaadin_client_widgets_Grid_$addBodyClickHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyClickHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, this$static.com_vaadin_client_widgets_Grid_clickEvent.com_vaadin_client_widgets_Grid$AbstractGridMouseEvent_associatedType); +} + +function com_vaadin_client_widgets_Grid_$addBodyKeyDownHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyKeyDownHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, this$static.com_vaadin_client_widgets_Grid_keyDown.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_associatedType); +} + +function com_vaadin_client_widgets_Grid_$addBodyKeyUpHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_BodyKeyUpHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, this$static.com_vaadin_client_widgets_Grid_keyUp.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_associatedType); +} + +function com_vaadin_client_widgets_Grid_$addColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$Column_2(this$static, column){ + com_vaadin_client_widgets_Grid_$addColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static, column, this$static.com_vaadin_client_widgets_Grid_columns.java_util_ArrayList_array.length); + return column; +} + +function com_vaadin_client_widgets_Grid_$addColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static, column, index_0){ + if (column == this$static.com_vaadin_client_widgets_Grid_selectionColumn) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The selection column many not be added manually'); + } + else if (!!this$static.com_vaadin_client_widgets_Grid_selectionColumn && index_0 == 0) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('A column cannot be inserted before the selection column'); + } + com_vaadin_client_widgets_Grid_$addColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2IV(this$static, column, index_0); + return column; +} + +function com_vaadin_client_widgets_Grid_$addColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2IV(this$static, column, index_0){ + var events; + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_vaadin_client_widgets_Grid_columns, index_0, column); + com_vaadin_client_widgets_Grid$StaticSection_$addColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static.com_vaadin_client_widgets_Grid_header, column); + com_vaadin_client_widgets_Grid$StaticSection_$addColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static.com_vaadin_client_widgets_Grid_footer, column); + com_vaadin_client_widgets_Grid$Column_$setGrid__Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid_2V(column, this$static); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$insertColumns__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, index_0); + column.setWidth__DLcom_vaadin_client_widgets_Grid$Column_2(column.com_vaadin_client_widgets_Grid$Column_widthUser); + events = new java_util_HashSet_HashSet__V; + events.addAll__Ljava_util_Collection_2Z(com_vaadin_client_widgets_Grid_$getConsumedEventsForRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2Ljava_util_Set_2(column.com_vaadin_client_widgets_Grid$Column_bodyRenderer)); + com_vaadin_client_widgets_Grid_$sinkEvents__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2V(this$static, events); +} + +function com_vaadin_client_widgets_Grid_$addDataAvailableHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_DataAvailableHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_widgets_Grid$7_Grid$7__Lcom_vaadin_client_widgets_Grid_2V(this$static, handler)); + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, (com_vaadin_client_widget_grid_DataAvailableEvent_$clinit__V() , com_vaadin_client_widget_grid_DataAvailableEvent_TYPE)); +} + +function com_vaadin_client_widgets_Grid_$addHeaderKeyUpHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_HeaderKeyUpHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler){ + return com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, handler, this$static.com_vaadin_client_widgets_Grid_keyUp.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_associatedType); +} + +function com_vaadin_client_widgets_Grid_$deselect__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static, row){ + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, 124)) { + return com_vaadin_client_widget_grid_selection_SelectionModelSingle_$deselect__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, row); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, 173)) { + return com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselect__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [row]))); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Unsupported selection model'); + } +} + +function com_vaadin_client_widgets_Grid_$findRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_renderers_Renderer_2(this$static, cell){ + var column; + column = com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static, cell.com_vaadin_client_widget_escalator_FlyweightCell_column); + return column.com_vaadin_client_widgets_Grid$Column_bodyRenderer; +} + +function com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static, index_0){ + if (index_0 < 0 || index_0 >= this$static.com_vaadin_client_widgets_Grid_columns.java_util_ArrayList_array.length) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Column not found.'); + } + return java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Grid_columns, index_0); +} + +function com_vaadin_client_widgets_Grid_$getConsumedEventsForRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2Ljava_util_Set_2(renderer){ + var consumedEvents, events; + events = new java_util_HashSet_HashSet__V; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(renderer, 66)) { + consumedEvents = com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getConsumedEvents__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Ljava_util_Collection_2(); + events.addAll__Ljava_util_Collection_2Z(consumedEvents); + } + return events; +} + +function com_vaadin_client_widgets_Grid_$getFirstVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static){ + var firstRow, firstRowIndex, headerBottom; + firstRowIndex = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid_escalator).com_vaadin_shared_ui_grid_Range_start; + headerBottom = com_google_gwt_dom_client_Element_$getAbsoluteBottom__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root); + firstRow = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getRowElement__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, firstRowIndex); + while ((com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(firstRow) + (com_google_gwt_dom_client_Element_$getSubPixelOffsetHeight__Lcom_google_gwt_dom_client_Element_2D(firstRow) | 0) < headerBottom) { + firstRow = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getRowElement__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, ++firstRowIndex); + } + return firstRowIndex; +} + +function com_vaadin_client_widgets_Grid_$getHeaderRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$HeaderRow_2(this$static, rowIndex){ + return com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static.com_vaadin_client_widgets_Grid_header, rowIndex); +} + +function com_vaadin_client_widgets_Grid_$getLastVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static){ + var footerTop, lastRow, lastRowIndex; + lastRowIndex = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid_escalator).com_vaadin_shared_ui_grid_Range_end; + footerTop = com_google_gwt_dom_client_Element_$getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_root); + do { + lastRow = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getRowElement__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2ILcom_google_gwt_dom_client_TableRowElement_2(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, --lastRowIndex); + } + while ((com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).getAbsoluteTop__Lcom_google_gwt_dom_client_Element_2I(lastRow) > footerTop); + return lastRowIndex; +} + +function com_vaadin_client_widgets_Grid_$getSelectedRow__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2(this$static){ + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, 124)) { + return com_vaadin_client_widget_grid_selection_SelectionModelSingle_$getSelectedRow__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2(this$static.com_vaadin_client_widgets_Grid_selectionModel); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Unsupported selection model; can not get single selected row'); + } +} + +function com_vaadin_client_widgets_Grid_$handleHeaderDefaultRowEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this$static, container){ + if (container != this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header) { + return false; + } + if (!com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static.com_vaadin_client_widgets_Grid_header, this$static.com_vaadin_client_widgets_Grid_eventCell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_rowIndex).com_vaadin_client_widgets_Grid$HeaderRow_isDefault) { + return false; + } + return false; +} + +function com_vaadin_client_widgets_Grid_$handleNavigationEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this$static, event_0){ + var container, firstIndex, lastIndex, newRow, range; + if (!java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type, 'keydown')) { + return false; + } + newRow = -1; + container = this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + switch (event_0.keyCode | 0) { + case 36: + container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 && (newRow = 0); + break; + case 35: + container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 && (newRow = container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - 1); + break; + case 33: + { + range = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid_escalator); + if (range.com_vaadin_shared_ui_grid_Range_start < range.com_vaadin_shared_ui_grid_Range_end) { + firstIndex = com_vaadin_client_widgets_Grid_$getFirstVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static); + newRow = firstIndex - (range.com_vaadin_shared_ui_grid_Range_end - range.com_vaadin_shared_ui_grid_Range_start); + newRow < 0 && (newRow = 0); + } + break; + } + + case 34: + { + range = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid_escalator); + if (range.com_vaadin_shared_ui_grid_Range_start < range.com_vaadin_shared_ui_grid_Range_end) { + lastIndex = com_vaadin_client_widgets_Grid_$getLastVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static); + newRow = lastIndex + (range.com_vaadin_shared_ui_grid_Range_end - range.com_vaadin_shared_ui_grid_Range_start); + newRow >= container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows && (newRow = container.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - 1); + } + break; + } + + default:return false; + } + com_vaadin_client_widgets_Grid_$scrollToRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static, newRow); + return true; +} + +function com_vaadin_client_widgets_Grid_$handleRendererEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this$static, event_0, container){ + var cplxRenderer, gridColumn; + if (container == this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + gridColumn = this$static.com_vaadin_client_widgets_Grid_eventCell.com_vaadin_client_widget_grid_CellReference_column; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type, 'keydown') && (event_0.keyCode | 0) == 13; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(event_0.type, 'dblclick'); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(gridColumn.com_vaadin_client_widgets_Grid$Column_bodyRenderer, 66)) { + cplxRenderer = gridColumn.com_vaadin_client_widgets_Grid$Column_bodyRenderer; + if (java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$getConsumedEvents__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Ljava_util_Collection_2(), event_0.type)) { + if (com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$onBrowserEvent__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_CellReference_2Lcom_google_gwt_dom_client_NativeEvent_2Z(cplxRenderer, event_0)) { + return true; + } + } + } + } + return false; +} + +function com_vaadin_client_widgets_Grid_$isElementInChildWidget__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_dom_client_Element_2Z(this$static, e){ + var w; + w = com_vaadin_client_WidgetUtil_findWidget__Lcom_google_gwt_dom_client_Element_2Ljava_lang_Class_2Ljava_lang_Object_2(e); + if (w == this$static) { + return false; + } + while (!!w && w != this$static) { + w = w.com_google_gwt_user_client_ui_Widget_parent; + } + return !!w; +} + +function com_vaadin_client_widgets_Grid_$isSelected__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static, row){ + return this$static.com_vaadin_client_widgets_Grid_selectionModel.isSelected__Ljava_lang_Object_2Z(row); +} + +function com_vaadin_client_widgets_Grid_$refreshBody__Lcom_vaadin_client_widgets_Grid_2V(this$static){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, 0, this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); +} + +function com_vaadin_client_widgets_Grid_$refreshFooter__Lcom_vaadin_client_widgets_Grid_2V(this$static){ + com_vaadin_client_widgets_Grid_$refreshRowContainer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer, this$static.com_vaadin_client_widgets_Grid_footer); +} + +function com_vaadin_client_widgets_Grid_$refreshHeader__Lcom_vaadin_client_widgets_Grid_2V(this$static){ + com_vaadin_client_widgets_Grid_$refreshRowContainer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header, this$static.com_vaadin_client_widgets_Grid_header); +} + +function com_vaadin_client_widgets_Grid_$refreshRowContainer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(rows_0, section){ + var rowDiff; + rowDiff = (section.com_vaadin_client_widgets_Grid$StaticSection_visible?section.com_vaadin_client_widgets_Grid$StaticSection_rows.java_util_ArrayList_array.length:0) - rows_0.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; + rowDiff > 0?(com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(rows_0, 0, rowDiff) , com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(rows_0.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01) , com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(rows_0.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01) , undefined):rowDiff < 0 && (com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(rows_0, 0, -rowDiff) , com_vaadin_client_widgets_Escalator_$recalculateElementSizes__Lcom_vaadin_client_widgets_Escalator_2V(rows_0.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01) , com_vaadin_client_widgets_Escalator_$applyHeightByRows__Lcom_vaadin_client_widgets_Escalator_2V(rows_0.com_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_this$01) , undefined); + rows_0.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0 && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(rows_0, 0, rows_0.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); +} + +function com_vaadin_client_widgets_Grid_$removeColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column){ + if (!!column && column == this$static.com_vaadin_client_widgets_Grid_selectionColumn) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('The selection column may not be removed manually.'); + } + com_vaadin_client_widgets_Grid_$removeColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column); +} + +function com_vaadin_client_widgets_Grid_$removeColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column){ + var columnIndex; + columnIndex = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_vaadin_client_widgets_Grid_columns, column, 0); + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$removeColumns__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, columnIndex); + com_vaadin_client_widgets_Grid_$updateFrozenColumns__Lcom_vaadin_client_widgets_Grid_2V(this$static); + com_vaadin_client_widgets_Grid$StaticSection_$removeColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static.com_vaadin_client_widgets_Grid_header, column); + com_vaadin_client_widgets_Grid$StaticSection_$removeColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static.com_vaadin_client_widgets_Grid_footer, column); + com_vaadin_client_widgets_Grid$Column_$setGrid__Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid_2V(column, null); + this$static.com_vaadin_client_widgets_Grid_columns.remove__ILjava_lang_Object_2(columnIndex); +} + +function com_vaadin_client_widgets_Grid_$scrollToRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static, rowIndex){ + var maxsize; + maxsize = this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows - 1; + if (rowIndex < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Row index (' + rowIndex + ') is below zero!'); + } + if (rowIndex > maxsize) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Row index (' + rowIndex + ') is above maximum (' + maxsize + ')!'); + } + com_vaadin_client_widgets_Escalator_$scrollToRow__Lcom_vaadin_client_widgets_Escalator_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static.com_vaadin_client_widgets_Grid_escalator, rowIndex); +} + +function com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this$static, row){ + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, 124)) { + return com_vaadin_client_widget_grid_selection_SelectionModelSingle_$select__Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2Ljava_lang_Object_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, row); + } + else if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, 173)) { + return com_vaadin_client_widget_grid_selection_SelectionModelMulti_$select__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Ljava_util_Collection_2Z(this$static.com_vaadin_client_widgets_Grid_selectionModel, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [row]))); + } + else { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Unsupported selection model'); + } +} + +function com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this$static, dataSource){ + var previousRowCount; + if (!dataSource) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V("dataSource can't be null."); + } + this$static.com_vaadin_client_widgets_Grid_selectionModel.reset__V(); + !!this$static.com_vaadin_client_widgets_Grid_dataSource && this$static.com_vaadin_client_widgets_Grid_dataSource.setDataChangeHandler__Lcom_vaadin_client_data_DataChangeHandler_2V(null); + this$static.com_vaadin_client_widgets_Grid_dataSource = dataSource; + dataSource.setDataChangeHandler__Lcom_vaadin_client_data_DataChangeHandler_2V(new com_vaadin_client_widgets_Grid$6_Grid$6__Lcom_vaadin_client_widgets_Grid_2V(this$static, dataSource)); + previousRowCount = this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; + previousRowCount != 0 && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, 0, previousRowCount); + com_vaadin_client_widgets_Grid_$setEscalatorSizeFromDataSource__Lcom_vaadin_client_widgets_Grid_2V(this$static); +} + +function com_vaadin_client_widgets_Grid_$setDefaultHeaderRow__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2V(this$static, row){ + com_vaadin_client_widgets_Grid$Header_$setDefaultRow__Lcom_vaadin_client_widgets_Grid$Header_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2V(this$static.com_vaadin_client_widgets_Grid_header, row); +} + +function com_vaadin_client_widgets_Grid_$setEscalatorSizeFromDataSource__Lcom_vaadin_client_widgets_Grid_2V(this$static){ + var size_0; + size_0 = this$static.com_vaadin_client_widgets_Grid_dataSource.size__I(); + size_0 == -1 && com_google_gwt_user_client_ui_Composite_$isAttached__Lcom_google_gwt_user_client_ui_Composite_2Z(this$static) && (size_0 = com_vaadin_client_widgets_Escalator$BodyRowContainer_$getMaxEscalatorRowCapacity__Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2I(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body)); + size_0 > 0 && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, 0, size_0); +} + +function com_vaadin_client_widgets_Grid_$setHeight__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_String_2V(this$static, height){ + com_vaadin_client_widgets_Escalator_$setHeight__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Grid_escalator, height); +} + +function com_vaadin_client_widgets_Grid_$setHeightByRows__Lcom_vaadin_client_widgets_Grid_2DV(this$static, rows_0){ + com_vaadin_client_widgets_Escalator_$setHeightByRows__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Grid_escalator, rows_0); +} + +function com_vaadin_client_widgets_Grid_$setHeightMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_shared_ui_grid_HeightMode_2V(this$static, heightMode){ + com_vaadin_client_widgets_Escalator_$setHeightMode__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_HeightMode_2V(this$static.com_vaadin_client_widgets_Grid_escalator, heightMode); +} + +function com_vaadin_client_widgets_Grid_$setScrollTop__Lcom_vaadin_client_widgets_Grid_2DV(this$static, px){ + com_vaadin_client_widgets_Escalator_$setScrollTop__Lcom_vaadin_client_widgets_Escalator_2DV(this$static.com_vaadin_client_widgets_Grid_escalator, px); +} + +function com_vaadin_client_widgets_Grid_$setSelectColumnRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2V(this$static, selectColumnRenderer){ + var colToRemove; + if (this$static.com_vaadin_client_widgets_Grid_selectColumnRenderer == selectColumnRenderer) { + return; + } + if (this$static.com_vaadin_client_widgets_Grid_selectColumnRenderer) { + !!this$static.com_vaadin_client_widgets_Grid_selectColumnRenderer && com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$destroy__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2V(this$static.com_vaadin_client_widgets_Grid_selectColumnRenderer); + colToRemove = this$static.com_vaadin_client_widgets_Grid_selectionColumn; + this$static.com_vaadin_client_widgets_Grid_selectionColumn = null; + com_vaadin_client_widgets_Grid_$removeColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, colToRemove); + com_vaadin_client_widgets_Grid$CellFocusHandler_$offsetRangeBy__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static.com_vaadin_client_widgets_Grid_cellFocusHandler, -1); + } + this$static.com_vaadin_client_widgets_Grid_selectColumnRenderer = selectColumnRenderer; + if (selectColumnRenderer) { + com_vaadin_client_widgets_Grid$CellFocusHandler_$offsetRangeBy__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static.com_vaadin_client_widgets_Grid_cellFocusHandler, 1); + this$static.com_vaadin_client_widgets_Grid_selectionColumn = new com_vaadin_client_widgets_Grid$SelectionColumn_Grid$SelectionColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2V(this$static, selectColumnRenderer); + com_vaadin_client_widgets_Grid_$addColumnSkipSelectionColumnCheck__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2IV(this$static, this$static.com_vaadin_client_widgets_Grid_selectionColumn, 0); + com_vaadin_client_widgets_Grid$SelectionColumn_$initDone__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2V(this$static.com_vaadin_client_widgets_Grid_selectionColumn); + } + else { + this$static.com_vaadin_client_widgets_Grid_selectionColumn = null; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, 0, this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + } + com_vaadin_client_widgets_Grid_$updateFrozenColumns__Lcom_vaadin_client_widgets_Grid_2V(this$static); +} + +function com_vaadin_client_widgets_Grid_$setSelectionMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$SelectionMode_2V(this$static, mode){ + var model; + model = mode.createModel__Lcom_vaadin_client_widget_grid_selection_SelectionModel_2(); + !!this$static.com_vaadin_client_widgets_Grid_selectionModel && this$static.com_vaadin_client_widgets_Grid_selectionModel.setGrid__Lcom_vaadin_client_widgets_Grid_2V(null); + this$static.com_vaadin_client_widgets_Grid_selectionModel = model; + model.setGrid__Lcom_vaadin_client_widgets_Grid_2V(this$static); + com_vaadin_client_widgets_Grid_$setSelectColumnRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2V(this$static, this$static.com_vaadin_client_widgets_Grid_selectionModel.getSelectionColumnRenderer__Lcom_vaadin_client_renderers_Renderer_2()); +} + +function com_vaadin_client_widgets_Grid_$setStylePrimaryName__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_String_2V(this$static){ + var rowStyle; + com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), 'v-grid'); + com_vaadin_client_widgets_Escalator_$setStylePrimaryName__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Grid_escalator, 'v-grid'); + com_vaadin_client_widgets_Grid$Editor_$setStylePrimaryName__Lcom_vaadin_client_widgets_Grid$Editor_2Ljava_lang_String_2V(this$static.com_vaadin_client_widgets_Grid_editor); + rowStyle = com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-row'; + this$static.com_vaadin_client_widgets_Grid_rowHasDataStyleName = rowStyle + '-has-data'; + this$static.com_vaadin_client_widgets_Grid_rowSelectedStyleName = rowStyle + '-selected'; + this$static.com_vaadin_client_widgets_Grid_rowStripeStyleName = rowStyle + '-stripe'; + this$static.com_vaadin_client_widgets_Grid_cellFocusStyleName = com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-cell-focused'; + this$static.com_vaadin_client_widgets_Grid_rowFocusStyleName = com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-row-focused'; + if (com_google_gwt_user_client_ui_Composite_$isAttached__Lcom_google_gwt_user_client_ui_Composite_2Z(this$static)) { + com_vaadin_client_widgets_Grid_$refreshRowContainer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header, this$static.com_vaadin_client_widgets_Grid_header); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, 0, this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows); + com_vaadin_client_widgets_Grid_$refreshRowContainer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer, this$static.com_vaadin_client_widgets_Grid_footer); + } +} + +function com_vaadin_client_widgets_Grid_$sinkEvents__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2V(this$static, events){ + var eventsToSink, typeInt, typeName, typeName$iterator; + eventsToSink = 0; + for (typeName$iterator = events.iterator__Ljava_util_Iterator_2(); typeName$iterator.hasNext__Z();) { + typeName = typeName$iterator.next__Ljava_lang_Object_2(); + typeInt = com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I((com_google_gwt_user_client_DOM_$clinit__V() , typeName)); + typeInt < 0?com_google_gwt_user_client_DOM_sinkBitlessEvent__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_UIObject_element, typeName):(eventsToSink |= typeInt); + } + eventsToSink > 0 && (this$static.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_DOM_sinkEvents__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this$static.com_google_gwt_user_client_ui_UIObject_element), eventsToSink | (this$static.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this$static.com_google_gwt_user_client_ui_Widget_eventsToSink |= eventsToSink)); +} + +function com_vaadin_client_widgets_Grid_$updateFrozenColumns__Lcom_vaadin_client_widgets_Grid_2V(this$static){ + var numberOfColumns; + numberOfColumns = 0; + !!this$static.com_vaadin_client_widgets_Grid_selectionColumn && ++numberOfColumns; + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setFrozenColumnCount__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IV(this$static.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, numberOfColumns); +} + +function com_vaadin_client_widgets_Grid_Grid__V(){ + var defaultRow; + this.com_vaadin_client_widgets_Grid_eventCell = new com_vaadin_client_widget_grid_EventCellReference_EventCellReference__Lcom_vaadin_client_widgets_Grid_2V(this); + this.com_vaadin_client_widgets_Grid_keyDown = new com_vaadin_client_widget_grid_events_GridKeyDownEvent_GridKeyDownEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(this, this.com_vaadin_client_widgets_Grid_eventCell); + this.com_vaadin_client_widgets_Grid_keyUp = new com_vaadin_client_widget_grid_events_GridKeyUpEvent_GridKeyUpEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(this, this.com_vaadin_client_widgets_Grid_eventCell); + new com_vaadin_client_widget_grid_events_GridKeyPressEvent_GridKeyPressEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(this, this.com_vaadin_client_widgets_Grid_eventCell); + this.com_vaadin_client_widgets_Grid_clickEvent = new com_vaadin_client_widget_grid_events_GridClickEvent_GridClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(this, this.com_vaadin_client_widgets_Grid_eventCell); + new com_vaadin_client_widget_grid_events_GridDoubleClickEvent_GridDoubleClickEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_CellReference_2V(this, this.com_vaadin_client_widgets_Grid_eventCell); + this.com_vaadin_client_widgets_Grid_escalator = new com_vaadin_client_widgets_Escalator_Escalator__V; + this.com_vaadin_client_widgets_Grid_header = new com_vaadin_client_widgets_Grid$Header_Grid$Header__V; + this.com_vaadin_client_widgets_Grid_footer = new com_vaadin_client_widgets_Grid$Footer_Grid$Footer__V; + this.com_vaadin_client_widgets_Grid_columns = new java_util_ArrayList_ArrayList__V; + this.com_vaadin_client_widgets_Grid_currentDataAvailable = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, 0); + this.com_vaadin_client_widgets_Grid_sortOrder = new java_util_ArrayList_ArrayList__V; + this.com_vaadin_client_widgets_Grid_sorter = new com_vaadin_client_widgets_Grid$UserSorter_Grid$UserSorter__Lcom_vaadin_client_widgets_Grid_2V(this); + this.com_vaadin_client_widgets_Grid_editor = new com_vaadin_client_widgets_Grid$Editor_Grid$Editor__V; + this.com_vaadin_client_widgets_Grid_autoColumnWidthsRecalculator = new com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_Grid$AutoColumnWidthsRecalculator__Lcom_vaadin_client_widgets_Grid_2V(this); + this.com_vaadin_client_widgets_Grid_rowReference = new com_vaadin_client_widget_grid_RowReference_RowReference__Lcom_vaadin_client_widgets_Grid_2V; + new com_vaadin_client_widget_grid_CellReference_CellReference__Lcom_vaadin_client_widget_grid_RowReference_2V(this.com_vaadin_client_widgets_Grid_rowReference); + this.com_vaadin_client_widgets_Grid_rendererCellReference = new com_vaadin_client_widget_grid_RendererCellReference_RendererCellReference__Lcom_vaadin_client_widget_grid_RowReference_2V(this.com_vaadin_client_widgets_Grid_rowReference); + com_google_gwt_user_client_ui_Composite_$initWidget__Lcom_google_gwt_user_client_ui_Composite_2Lcom_google_gwt_user_client_ui_Widget_2V(this, this.com_vaadin_client_widgets_Grid_escalator); + com_google_gwt_dom_client_Element_$setTabIndex__Lcom_google_gwt_dom_client_Element_2IV((com_google_gwt_user_client_DOM_$clinit__V() , this.com_google_gwt_user_client_ui_UIObject_element), 0); + this.com_vaadin_client_widgets_Grid_cellFocusHandler = new com_vaadin_client_widgets_Grid$CellFocusHandler_Grid$CellFocusHandler__Lcom_vaadin_client_widgets_Grid_2V(this); + com_vaadin_client_widgets_Grid_$setStylePrimaryName__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_String_2V(this); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setEscalatorUpdater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_vaadin_client_widget_escalator_EscalatorUpdater_2V(this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header, new com_vaadin_client_widgets_Grid$StaticSectionUpdater_Grid$StaticSectionUpdater__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this, this.com_vaadin_client_widgets_Grid_header, this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header)); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setEscalatorUpdater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_vaadin_client_widget_escalator_EscalatorUpdater_2V(this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, new com_vaadin_client_widgets_Grid$BodyUpdater_Grid$BodyUpdater__Lcom_vaadin_client_widgets_Grid_2V(this)); + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$setEscalatorUpdater__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2Lcom_vaadin_client_widget_escalator_EscalatorUpdater_2V(this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer, new com_vaadin_client_widgets_Grid$StaticSectionUpdater_Grid$StaticSectionUpdater__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this, this.com_vaadin_client_widgets_Grid_footer, this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer)); + com_vaadin_client_widgets_Grid$StaticSection_$setGrid__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid_2V(this.com_vaadin_client_widgets_Grid_header, this); + defaultRow = com_vaadin_client_widgets_Grid$StaticSection_$appendRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this.com_vaadin_client_widgets_Grid_header); + com_vaadin_client_widgets_Grid$Header_$setDefaultRow__Lcom_vaadin_client_widgets_Grid$Header_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2V(this.com_vaadin_client_widgets_Grid_header, defaultRow); + com_vaadin_client_widgets_Grid$StaticSection_$setGrid__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid_2V(this.com_vaadin_client_widgets_Grid_footer, this); + com_vaadin_client_widgets_Grid$Editor_$setGrid__Lcom_vaadin_client_widgets_Grid$Editor_2Lcom_vaadin_client_widgets_Grid_2V(this.com_vaadin_client_widgets_Grid_editor, this); + com_vaadin_client_widgets_Grid_$setSelectionMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$SelectionMode_2V(this, (com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V() , com_vaadin_client_widgets_Grid$SelectionMode_SINGLE)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_client_widgets_Grid_escalator, new com_vaadin_client_widgets_Grid$1_Grid$1__Lcom_vaadin_client_widgets_Grid_2V(this), (com_vaadin_client_widget_grid_events_ScrollEvent_$clinit__V() , com_vaadin_client_widget_grid_events_ScrollEvent_TYPE)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_client_widgets_Grid_escalator, new com_vaadin_client_widgets_Grid$2_Grid$2__Lcom_vaadin_client_widgets_Grid_2V(this), (com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_$clinit__V() , com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_TYPE)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this, new com_vaadin_client_widgets_Grid$3_Grid$3__Lcom_vaadin_client_widgets_Grid_2V(this), (com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V() , com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V() , com_vaadin_client_widget_grid_selection_SelectionEvent_eventType)); + com_vaadin_client_widgets_Grid_$sinkEvents__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2V(this, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['touchstart', 'touchmove', 'touchend', 'touchcancel', 'click']))); + com_vaadin_client_widgets_Grid_$sinkEvents__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2V(this, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['keydown', 'keyup', 'keypress', 'dblclick']))); + com_vaadin_client_widgets_Grid_$addHeaderKeyUpHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_events_HeaderKeyUpHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this, new com_vaadin_client_widgets_Grid$4_Grid$4__Lcom_vaadin_client_widgets_Grid_2V(this)); + com_vaadin_client_widgets_Grid_$addDataAvailableHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_DataAvailableHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this, new com_vaadin_client_widgets_Grid$5_Grid$5__Lcom_vaadin_client_widgets_Grid_2V(this)); +} + +function com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(element){ + var oldStyleName; + oldStyleName = com_google_gwt_dom_client_Element_$getPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(element, 'customStyle'); + if (!com_vaadin_shared_util_SharedUtil_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(oldStyleName, null)) { + oldStyleName != null && com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(element, oldStyleName); + com_google_gwt_dom_client_Element_$setPropertyString__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(element, 'customStyle', null); + } +} + +function com_vaadin_client_widgets_Grid_setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_vaadin_client_widgets_Grid_2V(widget, parent_0){ + widget.package_private$com_google_gwt_user_client_ui_Widget$setParent__Lcom_google_gwt_user_client_ui_Widget_2V(parent_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(197, 530, {26:1, 21:1, 19:1, 24:1, 37:1, 22:1, 20:1, 17:1}, com_vaadin_client_widgets_Grid_Grid__V); +_.add__Lcom_google_gwt_user_client_ui_Widget_2V = function(w){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Cannot add widgets to Grid with this method'); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Cannot iterate through widgets in Grid this way'); +} +; +_.onAttach__V = function(){ + com_google_gwt_user_client_ui_Composite_$onAttach__Lcom_google_gwt_user_client_ui_Composite_2V(this); + this.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows == 0 && !!this.com_vaadin_client_widgets_Grid_dataSource && com_vaadin_client_widgets_Grid_$setEscalatorSizeFromDataSource__Lcom_vaadin_client_widgets_Grid_2V(this); +} +; +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + var cell, container, e, eventType, target, com_vaadin_client_widgets_Grid_$handleCellFocusEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z_navigation_0; + if (!this.com_vaadin_client_widgets_Grid_enabled) { + return; + } + target = (com_google_gwt_dom_client_DOMImpl_$clinit__V() , com_google_gwt_dom_client_DOMImpl_impl).eventGetTarget__Lcom_google_gwt_dom_client_NativeEvent_2Lcom_google_gwt_dom_client_EventTarget_2(event_0); + if (!com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(target)) { + return; + } + e = target; + container = com_vaadin_client_widgets_Escalator_$findRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this.com_vaadin_client_widgets_Grid_escalator, e); + eventType = event_0.type; + if (!container) { + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(eventType, 'keydown') || java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(eventType, 'keyup') || java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(eventType, 'keypress')) { + cell = com_vaadin_client_widgets_Grid$CellFocusHandler_$getFocusedCell__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_Cell_2(this.com_vaadin_client_widgets_Grid_cellFocusHandler); + container = this.com_vaadin_client_widgets_Grid_cellFocusHandler.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus; + } + else { + return; + } + } + else { + cell = container.getCell__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_Cell_2(e); + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(eventType, 'mousedown')?(this.com_vaadin_client_widgets_Grid_cellOnPrevMouseDown = cell):!cell && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(eventType, 'click') && (cell = this.com_vaadin_client_widgets_Grid_cellOnPrevMouseDown); + } + com_vaadin_client_widget_grid_EventCellReference_$set__Lcom_vaadin_client_widget_grid_EventCellReference_2Lcom_vaadin_client_widget_escalator_Cell_2V(this.com_vaadin_client_widgets_Grid_eventCell, cell); + com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this, event_0); + com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this.com_google_gwt_user_client_ui_Composite_widget, event_0); + if (!com_vaadin_client_widgets_Grid_$isElementInChildWidget__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_dom_client_Element_2Z(this, e)) { + if (com_vaadin_client_widgets_Grid_$handleHeaderDefaultRowEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this, container)) { + return; + } + if (com_vaadin_client_widgets_Grid_$handleRendererEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this, event_0, container)) { + return; + } + if (com_vaadin_client_widgets_Grid_$handleNavigationEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z(this, event_0)) { + return; + } + if (com_vaadin_client_widgets_Grid_$handleCellFocusEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z_navigation_0 = new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['keydown', 'click'])) , java_util_AbstractList_$indexOf__Ljava_util_AbstractList_2Ljava_lang_Object_2I(com_vaadin_client_widgets_Grid_$handleCellFocusEvent__Lcom_vaadin_client_widgets_Grid_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_escalator_RowContainer_2Z_navigation_0, event_0.type) != -1 && com_vaadin_client_widgets_Grid$CellFocusHandler_$handleNavigationEvent__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_grid_CellReference_2V(this.com_vaadin_client_widgets_Grid_cellFocusHandler, event_0, this.com_vaadin_client_widgets_Grid_eventCell) , false) { + return; + } + } +} +; +_.remove__Lcom_google_gwt_user_client_ui_Widget_2Z = function(w){ + return false; +} +; +_.setHeight__Ljava_lang_String_2V = function(height){ + com_vaadin_client_widgets_Grid_$setHeight__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_String_2V(this, height); +} +; +_.setWidth__Ljava_lang_String_2V = function(width_0){ + com_vaadin_client_widgets_Escalator_$setWidth__Lcom_vaadin_client_widgets_Escalator_2Ljava_lang_String_2V(this.com_vaadin_client_widgets_Grid_escalator, width_0); +} +; +_.com_vaadin_client_widgets_Grid_dataIsBeingFetched = false; +_.com_vaadin_client_widgets_Grid_enabled = true; +_.com_vaadin_client_widgets_Grid_selectColumnRenderer = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(197); +function com_vaadin_client_widgets_Grid$1_Grid$1__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(219, 1, {}, com_vaadin_client_widgets_Grid$1_Grid$1__Lcom_vaadin_client_widgets_Grid_2V); +_.onScroll__Lcom_vaadin_client_widget_grid_events_ScrollEvent_2V = function(event_0){ + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this.com_vaadin_client_widgets_Grid$1_this$01, new com_vaadin_client_widget_grid_events_ScrollEvent_ScrollEvent__V); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(219); +function com_vaadin_client_widgets_Grid$2_$onRowVisibilityChange__Lcom_vaadin_client_widgets_Grid$2_2Lcom_vaadin_client_widget_escalator_RowVisibilityChangeEvent_2V(this$static, event_0){ + if (!!this$static.com_vaadin_client_widgets_Grid$2_this$01.com_vaadin_client_widgets_Grid_dataSource && this$static.com_vaadin_client_widgets_Grid$2_this$01.com_vaadin_client_widgets_Grid_dataSource.size__I() != 0) { + this$static.com_vaadin_client_widgets_Grid$2_this$01.com_vaadin_client_widgets_Grid_dataIsBeingFetched = true; + this$static.com_vaadin_client_widgets_Grid$2_this$01.com_vaadin_client_widgets_Grid_dataSource.ensureAvailability__IIV(event_0.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_firstVisibleRow, event_0.com_vaadin_client_widget_escalator_RowVisibilityChangeEvent_visibleRowCount); + } +} + +function com_vaadin_client_widgets_Grid$2_Grid$2__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$2_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(220, 1, {}, com_vaadin_client_widgets_Grid$2_Grid$2__Lcom_vaadin_client_widgets_Grid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(220); +function com_vaadin_client_widgets_Grid$3_Grid$3__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$3_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(221, 1, {}, com_vaadin_client_widgets_Grid$3_Grid$3__Lcom_vaadin_client_widgets_Grid_2V); +_.onSelect__Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2V = function(event_0){ + com_vaadin_client_widgets_Grid_$refreshBody__Lcom_vaadin_client_widgets_Grid_2V(this.com_vaadin_client_widgets_Grid$3_this$01); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(221); +function com_vaadin_client_widgets_Grid$4_Grid$4__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$4_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(222, 1, {558:1}, com_vaadin_client_widgets_Grid$4_Grid$4__Lcom_vaadin_client_widgets_Grid_2V); +_.onKeyUp__Lcom_vaadin_client_widget_grid_events_GridKeyUpEvent_2V = function(event_0){ + var lastArg; + if (com_google_gwt_dom_client_NativeEvent_$getKeyCode__Lcom_google_gwt_dom_client_NativeEvent_2I(event_0.com_google_gwt_event_dom_client_DomEvent_nativeEvent) != 13) { + return; + } + com_vaadin_client_widgets_Grid$UserSorter_$sort__Lcom_vaadin_client_widgets_Grid$UserSorter_2Lcom_vaadin_client_widgets_Grid$Column_2ZV(this.com_vaadin_client_widgets_Grid$4_this$01.com_vaadin_client_widgets_Grid_sorter, (lastArg = event_0.com_vaadin_client_widgets_Grid$AbstractGridKeyEvent_targetCell.com_vaadin_client_widget_grid_CellReference_column , com_google_gwt_dom_client_NativeEvent_$getShiftKey__Lcom_google_gwt_dom_client_NativeEvent_2Z(event_0.com_google_gwt_event_dom_client_DomEvent_nativeEvent) , lastArg)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(222); +function com_vaadin_client_widgets_Grid$5_Grid$5__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$5_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(223, 1, {}, com_vaadin_client_widgets_Grid$5_Grid$5__Lcom_vaadin_client_widgets_Grid_2V); +_.onDataAvailable__Lcom_vaadin_client_widget_grid_DataAvailableEvent_2V = function(event_0){ + this.com_vaadin_client_widgets_Grid$5_this$01.com_vaadin_client_widgets_Grid_dataIsBeingFetched = false; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$5_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(223); +function com_vaadin_client_widgets_Grid$6_$dataAdded__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static, firstIndex){ + var added; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, firstIndex, 1); + added = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(firstIndex, 1); + com_vaadin_client_widgets_Grid$CellFocusHandler_$rowsAddedToBody__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_cellFocusHandler, added); +} + +function com_vaadin_client_widgets_Grid$6_$dataAvailable__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static, firstIndex, numberOfItems){ + this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_currentDataAvailable = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(firstIndex, numberOfItems); + com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this$static.com_vaadin_client_widgets_Grid$6_this$01, new com_vaadin_client_widget_grid_DataAvailableEvent_DataAvailableEvent__Lcom_vaadin_shared_ui_grid_Range_2V(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_currentDataAvailable)); +} + +function com_vaadin_client_widgets_Grid$6_$dataRemoved__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static, firstIndex){ + var removed; + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, firstIndex, 1); + removed = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(firstIndex, 1); + com_vaadin_client_widgets_Grid$CellFocusHandler_$rowsRemovedFromBody__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_cellFocusHandler, removed); +} + +function com_vaadin_client_widgets_Grid$6_$dataUpdated__Lcom_vaadin_client_widgets_Grid$6_2IIV(this$static, firstIndex, numberOfItems){ + com_vaadin_client_widgets_Escalator$AbstractRowContainer_$refreshRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body, firstIndex, numberOfItems); +} + +function com_vaadin_client_widgets_Grid$6_$resetDataAndSize__Lcom_vaadin_client_widgets_Grid$6_2IV(this$static, newSize){ + var body_0, oldSize, visibleRowRange; + body_0 = this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + oldSize = body_0.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows; + newSize > oldSize?com_vaadin_client_widgets_Escalator$AbstractRowContainer_$insertRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(body_0, oldSize, newSize - oldSize):newSize < oldSize && com_vaadin_client_widgets_Escalator$AbstractRowContainer_$removeRows__Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2IIV(body_0, newSize, oldSize - newSize); + if (newSize > 0) { + this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_dataIsBeingFetched = true; + visibleRowRange = com_vaadin_client_widgets_Escalator_$getVisibleRowRange__Lcom_vaadin_client_widgets_Escalator_2Lcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid$6_this$01.com_vaadin_client_widgets_Grid_escalator); + this$static.com_vaadin_client_widgets_Grid$6_val$dataSource2.ensureAvailability__IIV(visibleRowRange.com_vaadin_shared_ui_grid_Range_start, visibleRowRange.com_vaadin_shared_ui_grid_Range_end - visibleRowRange.com_vaadin_shared_ui_grid_Range_start); + } +} + +function com_vaadin_client_widgets_Grid$6_Grid$6__Lcom_vaadin_client_widgets_Grid_2V(this$0, val$dataSource){ + this.com_vaadin_client_widgets_Grid$6_this$01 = this$0; + this.com_vaadin_client_widgets_Grid$6_val$dataSource2 = val$dataSource; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(224, 1, {}, com_vaadin_client_widgets_Grid$6_Grid$6__Lcom_vaadin_client_widgets_Grid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$6_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(224); +function com_vaadin_client_widgets_Grid$7_Grid$7__Lcom_vaadin_client_widgets_Grid_2V(this$0, val$handler){ + this.com_vaadin_client_widgets_Grid$7_this$01 = this$0; + this.com_vaadin_client_widgets_Grid$7_val$handler2 = val$handler; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(225, 1, {}, com_vaadin_client_widgets_Grid$7_Grid$7__Lcom_vaadin_client_widgets_Grid_2V); +_.execute__V = function(){ + this.com_vaadin_client_widgets_Grid$7_this$01.com_vaadin_client_widgets_Grid_dataIsBeingFetched || this.com_vaadin_client_widgets_Grid$7_val$handler2.onDataAvailable__Lcom_vaadin_client_widget_grid_DataAvailableEvent_2V(new com_vaadin_client_widget_grid_DataAvailableEvent_DataAvailableEvent__Lcom_vaadin_shared_ui_grid_Range_2V(this.com_vaadin_client_widgets_Grid$7_this$01.com_vaadin_client_widgets_Grid_currentDataAvailable)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$7_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(225); +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$calculate__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$static){ + var aColumnHasMaxedOut, autoWidth, column, column$iterator, column$iterator0, column$iterator1, column$iterator2, column$iterator3, columnsToExpand, currentWidth, expandRatio, hasAutoWidth, i, isFixedWidth, maxWidth, minWidth, minWidthsCausedReflows, newWidth, pixelsToDistribute, pixelsToRemove, pixelsToRemoveFromOtherColumns, pixelsToRemovePerRatio, reservedPixels, shouldExpand, someColumnExpands, totalRatios, totalWidth, width_0, widthAsIs, widthCandidate, widthFixed, widthPerRatio, widthPerRatio0; + this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_isScheduled = false; + this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_rescheduleCount = 0; + if (com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$gridWasTooNarrowAndEverythingWasFixedAlready__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Z(this$static)) { + return; + } + someColumnExpands = false; + totalRatios = 0; + reservedPixels = 0; + columnsToExpand = new java_util_HashSet_HashSet__V; + for (column$iterator0 = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_columns)).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); column$iterator0.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + column = column$iterator0.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + widthAsIs = column.com_vaadin_client_widgets_Grid$Column_widthUser; + isFixedWidth = widthAsIs >= 0; + widthFixed = java_lang_Math_max__DDD(widthAsIs, column.getMinimumWidth__D()); + expandRatio = column.getExpandRatio__I(); + if (isFixedWidth) { + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, widthFixed); + } + else { + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, -1); + newWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)); + maxWidth = com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMaxWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column); + shouldExpand = newWidth < maxWidth && expandRatio > 0; + if (shouldExpand) { + totalRatios += expandRatio; + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(columnsToExpand, column); + someColumnExpands = true; + } + } + reservedPixels += com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)); + } + if (!someColumnExpands) { + for (column$iterator1 = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_columns)).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); column$iterator1.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + column = column$iterator1.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + width_0 = column.com_vaadin_client_widgets_Grid$Column_widthUser; + expandRatio = column.getExpandRatio__I(); + if (width_0 < 0 && expandRatio < 0) { + ++totalRatios; + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(columnsToExpand, column); + } + } + } + pixelsToDistribute = com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_tableWrapper) - reservedPixels; + if (pixelsToDistribute <= 0 || totalRatios <= 0) { + return; + } + do { + aColumnHasMaxedOut = false; + widthPerRatio0 = pixelsToDistribute / totalRatios; + i = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(columnsToExpand.java_util_HashSet_map)); + while (i.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z()) { + column = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(i); + expandRatio = com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getExpandRatio__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2ZI(column); + autoWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)); + maxWidth = com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMaxWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column); + widthCandidate = autoWidth + widthPerRatio0 * expandRatio; + if (maxWidth <= widthCandidate) { + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, maxWidth); + totalRatios -= expandRatio; + pixelsToDistribute -= maxWidth - autoWidth; + i.java_util_AbstractMap$1$1_val$outerIter2.remove__V(); + aColumnHasMaxedOut = true; + } + } + } + while (aColumnHasMaxedOut); + if (totalRatios <= 0 && columnsToExpand.java_util_HashSet_map.size__I() == 0) { + return; + } + widthPerRatio = pixelsToDistribute / totalRatios; + for (column$iterator2 = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(columnsToExpand.java_util_HashSet_map)); column$iterator2.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + column = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(column$iterator2); + expandRatio = com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getExpandRatio__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2ZI(column); + autoWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)); + totalWidth = autoWidth + widthPerRatio * expandRatio; + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, totalWidth); + totalRatios -= expandRatio; + } + do { + minWidthsCausedReflows = false; + pixelsToRemoveFromOtherColumns = 0; + for (column$iterator1 = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_columns)).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); column$iterator1.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + column = column$iterator1.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + minWidth = com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMinWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column); + currentWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)); + hasAutoWidth = column.com_vaadin_client_widgets_Grid$Column_widthUser < 0; + if (hasAutoWidth && currentWidth < minWidth) { + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, minWidth); + pixelsToRemoveFromOtherColumns += minWidth - currentWidth; + minWidthsCausedReflows = true; + columnsToExpand.java_util_HashSet_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(column) != null; + } + } + totalRatios = 0; + for (column$iterator3 = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(columnsToExpand.java_util_HashSet_map)); column$iterator3.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + column = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(column$iterator3); + totalRatios += com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getExpandRatio__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2ZI(column); + } + pixelsToRemovePerRatio = pixelsToRemoveFromOtherColumns / totalRatios; + for (column$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(columnsToExpand.java_util_HashSet_map)); column$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + column = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(column$iterator); + pixelsToRemove = pixelsToRemovePerRatio * com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getExpandRatio__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2ZI(column); + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)) - pixelsToRemove); + } + } + while (minWidthsCausedReflows); +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getExpandRatio__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2ZI(column){ + var expandRatio; + expandRatio = column.getExpandRatio__I(); + return expandRatio > 0?expandRatio:expandRatio < 0?1:0; +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMaxWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column){ + var maxWidth; + maxWidth = column.getMaximumWidth__D(); + return maxWidth >= 0?maxWidth:1.7976931348623157E308; +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMinWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column){ + var minWidth; + minWidth = column.getMinimumWidth__D(); + return minWidth >= 0?minWidth:4.9E-324; +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$gridWasTooNarrowAndEverythingWasFixedAlready__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Z(this$static){ + var column, column$iterator, column$iterator0, freeSpace, newWidthIsSmallerThanMinWidth, wasFixedWidth; + freeSpace = com_vaadin_client_WidgetUtil_getRequiredWidthBoundingClientRectDouble__Lcom_google_gwt_dom_client_Element_2D(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_tableWrapper); + for (column$iterator0 = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_columns)).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); column$iterator0.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + column = column$iterator0.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + column.com_vaadin_client_widgets_Grid$Column_widthUser >= 0?(freeSpace -= column.com_vaadin_client_widgets_Grid$Column_widthUser):column.getMinimumWidth__D() >= 0 && (freeSpace -= column.getMinimumWidth__D()); + } + if (freeSpace < 0) { + for (column$iterator = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_columns)).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); column$iterator.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + column = column$iterator.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, column.com_vaadin_client_widgets_Grid$Column_widthUser); + wasFixedWidth = column.com_vaadin_client_widgets_Grid$Column_widthUser <= 0; + newWidthIsSmallerThanMinWidth = com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$getColumnWidthActual__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2ID(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration, java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(column.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, column, 0)) < com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$getMinWidth__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2Lcom_vaadin_client_widgets_Grid$Column_2D(column); + wasFixedWidth && newWidthIsSmallerThanMinWidth && com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(column, column.getMinimumWidth__D()); + } + } + return freeSpace < 0; +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$schedule__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$static){ + if (!this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_isScheduled) { + this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_isScheduled = true; + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this$static.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_calculateCommand); + } +} + +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_Grid$AutoColumnWidthsRecalculator__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01 = this$0; + this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_calculateCommand = new com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_Grid$AutoColumnWidthsRecalculator$1__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(208, 1, {}, com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_Grid$AutoColumnWidthsRecalculator__Lcom_vaadin_client_widgets_Grid_2V); +_.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_isScheduled = false; +_.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_rescheduleCount = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$AutoColumnWidthsRecalculator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(208); +function com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_Grid$AutoColumnWidthsRecalculator$1__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$1){ + this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(215, 1, {}, com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_Grid$AutoColumnWidthsRecalculator$1__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V); +_.execute__V = function(){ + if (!this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_isScheduled) { + return; + } + if (this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_header.com_vaadin_client_widgets_Grid$Header_markAsDirty) { + if (this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_rescheduleCount < 10) { + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this); + ++this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_rescheduleCount; + } + else { + this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_rescheduleCount = 0; + com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this); + } + } + else + this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_this$01.com_vaadin_client_widgets_Grid_dataIsBeingFetched?com_vaadin_client_VSchedulerImpl_$scheduleDeferred__Lcom_vaadin_client_VSchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), this):com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$calculate__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this.com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_this$11); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$AutoColumnWidthsRecalculator$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(215); +function com_vaadin_client_widgets_Grid$BodyUpdater_Grid$BodyUpdater__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(209, 1, {}, com_vaadin_client_widgets_Grid$BodyUpdater_Grid$BodyUpdater__Lcom_vaadin_client_widgets_Grid_2V); +_.postAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, attachedCells){ + var cell, cell$iterator; + for (cell$iterator = attachedCells.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + com_vaadin_client_widgets_Grid_$findRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_renderers_Renderer_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell); + } +} +; +_.postDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, detachedCells){ + var cell, cell$iterator, renderer, rowIndex; + rowIndex = row.com_vaadin_client_widget_escalator_FlyweightRow_row; + com_vaadin_client_widget_grid_RowReference_$set__Lcom_vaadin_client_widget_grid_RowReference_2ILjava_lang_Object_2Lcom_google_gwt_dom_client_TableRowElement_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowReference, rowIndex, null); + for (cell$iterator = detachedCells.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + renderer = com_vaadin_client_widgets_Grid_$findRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_renderers_Renderer_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(renderer, 66)) { + try { + com_vaadin_client_widget_grid_RendererCellReference_$set__Lcom_vaadin_client_widget_grid_RendererCellReference_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widgets_Grid$Column_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, cell, com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell.com_vaadin_client_widget_escalator_FlyweightCell_column)); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 10)) { + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + } +} +; +_.preAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToAttach){ + var cell, cell$iterator, renderer, rowIndex; + rowIndex = row.com_vaadin_client_widget_escalator_FlyweightRow_row; + com_vaadin_client_widget_grid_RowReference_$set__Lcom_vaadin_client_widget_grid_RowReference_2ILjava_lang_Object_2Lcom_google_gwt_dom_client_TableRowElement_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowReference, rowIndex, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(rowIndex)); + for (cell$iterator = cellsToAttach.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + renderer = com_vaadin_client_widgets_Grid_$findRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_renderers_Renderer_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(renderer, 66)) { + try { + com_vaadin_client_widget_grid_RendererCellReference_$set__Lcom_vaadin_client_widget_grid_RendererCellReference_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widgets_Grid$Column_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, cell, com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell.com_vaadin_client_widget_escalator_FlyweightCell_column)); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$init__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 10)) { + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + } +} +; +_.preDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToDetach){ + var cell, cell$iterator; + for (cell$iterator = new com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_FlyweightRow$CellIterator__Ljava_util_Collection_2ZV(new java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(cellsToDetach.com_vaadin_client_widget_escalator_FlyweightRow$1_this$01.com_vaadin_client_widget_escalator_FlyweightRow_cells, cellsToDetach.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2, cellsToDetach.com_vaadin_client_widget_escalator_FlyweightRow$1_val$offset2 + cellsToDetach.com_vaadin_client_widget_escalator_FlyweightRow$1_val$numberOfCells3), true); cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cursor + cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_skipNext < cell$iterator.com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_cells.java_util_ArrayList_array.length;) { + cell = com_vaadin_client_widget_escalator_FlyweightRow$CellIterator_$next__Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2(cell$iterator); + com_vaadin_client_widgets_Grid_$findRenderer__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_renderers_Renderer_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell); + } +} +; +_.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToUpdate){ + var cell, cell$iterator, clxRenderer, column, hasData, isEvenIndex, renderer, rowData, rowElement, rowIndex, usedToHaveData, value_0; + rowIndex = row.com_vaadin_client_widget_escalator_FlyweightRow_row; + rowElement = row.com_vaadin_client_widget_escalator_FlyweightRow_element; + rowData = this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(rowIndex); + hasData = rowData != null; + usedToHaveData = com_google_gwt_dom_client_Element_$hasClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(rowElement, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowHasDataStyleName); + usedToHaveData != hasData && com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(rowElement, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowHasDataStyleName, hasData); + isEvenIndex = row.com_vaadin_client_widget_escalator_FlyweightRow_row % 2 == 0; + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(rowElement, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowStripeStyleName, !isEvenIndex); + com_vaadin_client_widget_grid_RowReference_$set__Lcom_vaadin_client_widget_grid_RowReference_2ILjava_lang_Object_2Lcom_google_gwt_dom_client_TableRowElement_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowReference, rowIndex, rowData); + if (hasData) { + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(rowElement, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowSelectedStyleName, com_vaadin_client_widgets_Grid_$isSelected__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, rowData)); + com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(rowElement); + } + else if (usedToHaveData) { + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(rowElement, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rowSelectedStyleName, false); + com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(rowElement); + } + com_vaadin_client_widgets_Grid$CellFocusHandler_$updateFocusedRowStyle__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_Row_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_cellFocusHandler, row); + for (cell$iterator = cellsToUpdate.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + column = com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01, cell.com_vaadin_client_widget_escalator_FlyweightCell_column); + com_vaadin_client_widgets_Grid$CellFocusHandler_$updateFocusedCellStyle__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_cellFocusHandler, cell, this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body); + (hasData || usedToHaveData) && com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(cell.com_vaadin_client_widget_escalator_FlyweightCell_element); + renderer = column.com_vaadin_client_widgets_Grid$Column_bodyRenderer; + try { + com_vaadin_client_widget_grid_RendererCellReference_$set__Lcom_vaadin_client_widget_grid_RendererCellReference_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widgets_Grid$Column_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, cell, column); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(renderer, 66)) { + clxRenderer = renderer; + if (hasData) { + usedToHaveData || com_vaadin_client_renderers_ComplexRenderer_$setContentVisible__Lcom_vaadin_client_renderers_ComplexRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2ZV(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, true); + value_0 = column.getValue__Ljava_lang_Object_2Ljava_lang_Object_2(rowData); + com_vaadin_client_widget_grid_selection_MultiSelectionRenderer_$render__Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, value_0); + } + else { + com_vaadin_client_renderers_ComplexRenderer_$setContentVisible__Lcom_vaadin_client_renderers_ComplexRenderer_2Lcom_vaadin_client_widget_grid_RendererCellReference_2ZV(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, false); + } + } + else if (hasData) { + value_0 = column.getValue__Ljava_lang_Object_2Ljava_lang_Object_2(rowData); + renderer.render__Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V(this.com_vaadin_client_widgets_Grid$BodyUpdater_this$01.com_vaadin_client_widgets_Grid_rendererCellReference, value_0); + } + else { + com_google_gwt_dom_client_Node_$removeAllChildren__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(cell.com_vaadin_client_widget_escalator_FlyweightCell_element); + } + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 10)) { + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$BodyUpdater_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(209); +function com_vaadin_client_widgets_Grid$CellFocusHandler_$getFocusedCell__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_Cell_2(this$static){ + return new com_vaadin_client_widget_escalator_Cell_Cell__IILcom_google_gwt_dom_client_TableCellElement_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange.com_vaadin_shared_ui_grid_Range_start, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle); +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$getNextContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, current){ + if (current == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header) { + current = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + } + else if (current == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + current = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer; + } + else { + return current; + } + if (current.getRowCount__I() == 0) { + return com_vaadin_client_widgets_Grid$CellFocusHandler_$getNextContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, current); + } + return current; +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$getPreviousContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, current){ + if (current == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer) { + current = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + } + else if (current == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + current = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header; + } + else { + return current; + } + if (current.getRowCount__I() == 0) { + return com_vaadin_client_widgets_Grid$CellFocusHandler_$getPreviousContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, current); + } + return current; +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$handleNavigationEvent__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_google_gwt_user_client_Event_2Lcom_vaadin_client_widget_grid_CellReference_2V(this$static, event_0, cell){ + var newColumn, newContainer, newRow; + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z((com_google_gwt_dom_client_DOMImpl_$clinit__V() , event_0).type, 'click')) { + com_vaadin_client_widgets_Grid$CellFocusHandler_$setCellFocus__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IILcom_vaadin_client_widget_escalator_RowContainer_2V(this$static, cell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_rowIndex, cell.com_vaadin_client_widget_grid_CellReference_columnIndex, com_vaadin_client_widgets_Escalator_$findRowContainer__Lcom_vaadin_client_widgets_Escalator_2Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator, cell.com_vaadin_client_widget_grid_EventCellReference_element)); + com_google_gwt_dom_client_Element_$focus__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01)); + } + else if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(event_0.type, 'keydown')) { + newRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus; + newContainer = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus; + newColumn = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange.com_vaadin_shared_ui_grid_Range_start; + switch (event_0.keyCode | 0) { + case 40: + ++newRow; + break; + case 38: + --newRow; + break; + case 39: + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange.com_vaadin_shared_ui_grid_Range_end >= java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_columns)).size__I()) { + return; + } + + newColumn = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange.com_vaadin_shared_ui_grid_Range_end; + break; + case 37: + if (newColumn == 0) { + return; + } + + --newColumn; + break; + case 9: + event_0.shiftKey?(newContainer = com_vaadin_client_widgets_Grid$CellFocusHandler_$getPreviousContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus)):(newContainer = com_vaadin_client_widgets_Grid$CellFocusHandler_$getNextContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus)); + if (newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus) { + return; + } + + break; + default:return; + } + if (newContainer != this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus) { + newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body?(newRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedBodyRow):newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header?(newRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedHeaderRow):(newRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedFooterRow); + } + else if (newRow < 0) { + newContainer = com_vaadin_client_widgets_Grid$CellFocusHandler_$getPreviousContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, newContainer); + newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus?(newRow = 0):newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body?(newRow = com_vaadin_client_widgets_Grid_$getLastVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01)):(newRow = newContainer.getRowCount__I() - 1); + } + else if (newRow >= this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus.getRowCount__I()) { + newContainer = com_vaadin_client_widgets_Grid$CellFocusHandler_$getNextContainer__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widget_escalator_RowContainer_2(this$static, newContainer); + newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus?(newRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus.getRowCount__I() - 1):newContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body?(newRow = com_vaadin_client_widgets_Grid_$getFirstVisibleRowIndex__Lcom_vaadin_client_widgets_Grid_2I(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01)):(newRow = 0); + } + if (newContainer.getRowCount__I() == 0) { + return; + } + com_google_gwt_dom_client_DOMImplStandard_$eventPreventDefault__Lcom_google_gwt_dom_client_DOMImplStandard_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_google_gwt_dom_client_DOMImpl_$eventStopPropagation__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_NativeEvent_2V(event_0); + com_vaadin_client_widgets_Grid$CellFocusHandler_$setCellFocus__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IILcom_vaadin_client_widget_escalator_RowContainer_2V(this$static, newRow, newColumn, newContainer); + } +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$offsetRangeBy__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, offset){ + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange = com_vaadin_shared_ui_grid_Range_$offsetBy__Lcom_vaadin_shared_ui_grid_Range_2ILcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange, offset); +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$refreshRow__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, row){ + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus.refreshRows__IIV(row, 1); +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$rowsAddedToBody__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, added){ + var bodyHasFocus, insertionIsAboveFocusedCell; + bodyHasFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + insertionIsAboveFocusedCell = added.com_vaadin_shared_ui_grid_Range_start <= this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus; + if (bodyHasFocus && insertionIsAboveFocusedCell) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus += added.com_vaadin_shared_ui_grid_Range_end - added.com_vaadin_shared_ui_grid_Range_start; + com_vaadin_client_widgets_Grid$CellFocusHandler_$refreshRow__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus); + } +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$rowsRemovedFromBody__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_shared_ui_grid_Range_2V(this$static, removed){ + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus != this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + return; + } + else if (com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(removed, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus)) { + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus.getRowCount__I() > removed.com_vaadin_shared_ui_grid_Range_end) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = removed.com_vaadin_shared_ui_grid_Range_start; + } + else if (removed.com_vaadin_shared_ui_grid_Range_start > 0) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = removed.com_vaadin_shared_ui_grid_Range_start - 1; + } + else { + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedHeaderRow; + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header; + } + else if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer.com_vaadin_client_widgets_Escalator$AbstractRowContainer_rows > 0) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedFooterRow; + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_footer; + } + } + } + else { + if (removed.com_vaadin_shared_ui_grid_Range_start > this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus) { + return; + } + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus - (removed.com_vaadin_shared_ui_grid_Range_end - removed.com_vaadin_shared_ui_grid_Range_start); + } + com_vaadin_client_widgets_Grid$CellFocusHandler_$refreshRow__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus); +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$setCellFocus__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IILcom_vaadin_client_widget_escalator_RowContainer_2V(this$static, row, column, container){ + var cell, cellRange, colSpan, i, oldContainer, oldRange, oldRow; + if (row == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus && com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange, column) && container == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus) { + com_vaadin_client_widgets_Grid$CellFocusHandler_$refreshRow__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus); + return; + } + oldRow = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus; + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = row; + oldRange = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange; + if (container == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + com_vaadin_client_widgets_Grid_$scrollToRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus); + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(column, 1); + } + else { + i = 0; + cell = com_google_gwt_dom_client_Element_$getFirstChildElement__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(container.getRowElement__ILcom_google_gwt_dom_client_TableRowElement_2(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus)); + do { + colSpan = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(cell, 'colSpan'); + cellRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(i, colSpan); + if (cellRange.com_vaadin_shared_ui_grid_Range_start <= column && column < cellRange.com_vaadin_shared_ui_grid_Range_end) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange = cellRange; + break; + } + cell = com_google_gwt_dom_client_DOMImpl_$getNextSiblingElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2((com_google_gwt_dom_client_DOMImpl_$clinit__V() , cell)); + ++i; + } + while (cell); + } + column >= this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_frozenColumns && com_vaadin_client_widgets_Escalator_$scrollToColumn__Lcom_vaadin_client_widgets_Escalator_2ILcom_vaadin_shared_ui_grid_ScrollDestination_2IV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator, column); + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus == container) { + if (com_vaadin_shared_ui_grid_Range_$equals__Lcom_vaadin_shared_ui_grid_Range_2Ljava_lang_Object_2Z(oldRange, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange) && oldRow != this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus) { + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus.refreshRows__IIV(oldRow, 1); + } + else { + com_vaadin_client_widgets_Grid_$refreshHeader__Lcom_vaadin_client_widgets_Grid_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01); + com_vaadin_client_widgets_Grid_$refreshFooter__Lcom_vaadin_client_widgets_Grid_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01); + } + } + else { + oldContainer = this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus; + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus = container; + oldContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body?(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedBodyRow = oldRow):oldContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_header?(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedHeaderRow = oldRow):(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedFooterRow = oldRow); + if (com_vaadin_shared_ui_grid_Range_$equals__Lcom_vaadin_shared_ui_grid_Range_2Ljava_lang_Object_2Z(oldRange, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange)) { + oldContainer.refreshRows__IIV(oldRow, 1); + } + else { + com_vaadin_client_widgets_Grid_$refreshHeader__Lcom_vaadin_client_widgets_Grid_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01); + com_vaadin_client_widgets_Grid_$refreshFooter__Lcom_vaadin_client_widgets_Grid_2V(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01); + oldContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body && oldContainer.refreshRows__IIV(oldRow, 1); + } + } + com_vaadin_client_widgets_Grid$CellFocusHandler_$refreshRow__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2IV(this$static, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus); +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$updateFocusedCellStyle__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this$static, cell, cellContainer){ + var cellColumn, cellRow, colSpan, columnHasFocus; + cellRow = cell.com_vaadin_client_widget_escalator_FlyweightCell_row.com_vaadin_client_widget_escalator_FlyweightRow_row; + cellColumn = cell.com_vaadin_client_widget_escalator_FlyweightCell_column; + colSpan = com_google_gwt_dom_client_Element_$getPropertyInt__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2I(cell.com_vaadin_client_widget_escalator_FlyweightCell_element, 'colSpan'); + columnHasFocus = com_vaadin_shared_ui_grid_Range_$intersects__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Z(com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(cellColumn, colSpan), this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange); + if (cellContainer == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus) { + if (cellRow == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus && columnHasFocus) { + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle != cell.com_vaadin_client_widget_escalator_FlyweightCell_element) { + !!this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle && com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_cellFocusStyleName, false); + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle = cell.com_vaadin_client_widget_escalator_FlyweightCell_element; + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_cellFocusStyleName, true); + } + } + else if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle == cell.com_vaadin_client_widget_escalator_FlyweightCell_element) { + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_cellFocusStyleName, false); + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle = null; + } + } +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_$updateFocusedRowStyle__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_Row_2V(this$static, row){ + if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus == row.com_vaadin_client_widget_escalator_FlyweightRow_row && this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus == this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body) { + if (row.com_vaadin_client_widget_escalator_FlyweightRow_element != this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle) { + !!this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle && com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_rowFocusStyleName, false); + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle = row.com_vaadin_client_widget_escalator_FlyweightRow_element; + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_rowFocusStyleName, true); + } + } + else if (this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle == row.com_vaadin_client_widget_escalator_FlyweightRow_element || this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus != this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body && !!this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle) { + com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle, this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_rowFocusStyleName, false); + this$static.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle = null; + } +} + +function com_vaadin_client_widgets_Grid$CellFocusHandler_Grid$CellFocusHandler__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01 = this$0; + this.com_vaadin_client_widgets_Grid$CellFocusHandler_containerWithFocus = this.com_vaadin_client_widgets_Grid$CellFocusHandler_this$01.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_body; + this.com_vaadin_client_widgets_Grid$CellFocusHandler_cellFocusRange = com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(0, 1); + com_vaadin_client_widgets_Grid_$sinkEvents__Lcom_vaadin_client_widgets_Grid_2Ljava_util_Collection_2V(this$0, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['keydown', 'click']))); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(205, 1, {}, com_vaadin_client_widgets_Grid$CellFocusHandler_Grid$CellFocusHandler__Lcom_vaadin_client_widgets_Grid_2V); +_.com_vaadin_client_widgets_Grid$CellFocusHandler_cellWithFocusStyle = null; +_.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedBodyRow = 0; +_.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedFooterRow = 0; +_.com_vaadin_client_widgets_Grid$CellFocusHandler_lastFocusedHeaderRow = 0; +_.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocus = 0; +_.com_vaadin_client_widgets_Grid$CellFocusHandler_rowWithFocusStyle = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$CellFocusHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(205); +function com_vaadin_client_widgets_Grid$Column_$doSetWidth__Lcom_vaadin_client_widgets_Grid$Column_2DV(this$static, pixels){ + var conf, index_0; + if (this$static.com_vaadin_client_widgets_Grid$Column_grid) { + index_0 = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns, this$static, 0); + conf = this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_columnConfiguration; + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setColumnWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IDV(conf, index_0, pixels); + } +} + +function com_vaadin_client_widgets_Grid$Column_$setGrid__Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid_2V(this$static, grid){ + var com_vaadin_client_widgets_Grid$Column_$updateHeader__Lcom_vaadin_client_widgets_Grid$Column_2V_row_0; + if (!!this$static.com_vaadin_client_widgets_Grid$Column_grid && !!grid) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Column already is attached to a grid. Remove the column first from the grid and then add it. (in: ' + com_vaadin_client_widgets_Grid$Column_$toString__Lcom_vaadin_client_widgets_Grid$Column_2Ljava_lang_String_2(this$static) + ')'); + } + !!this$static.com_vaadin_client_widgets_Grid$Column_grid && com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$schedule__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_autoColumnWidthsRecalculator); + this$static.com_vaadin_client_widgets_Grid$Column_grid = grid; + if (this$static.com_vaadin_client_widgets_Grid$Column_grid) { + com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$schedule__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_autoColumnWidthsRecalculator); + com_vaadin_client_widgets_Grid$Column_$updateHeader__Lcom_vaadin_client_widgets_Grid$Column_2V_row_0 = this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_header.com_vaadin_client_widgets_Grid$Header_defaultRow; + !!com_vaadin_client_widgets_Grid$Column_$updateHeader__Lcom_vaadin_client_widgets_Grid$Column_2V_row_0 && com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setText__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2V(com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(com_vaadin_client_widgets_Grid$Column_$updateHeader__Lcom_vaadin_client_widgets_Grid$Column_2V_row_0, this$static), this$static.com_vaadin_client_widgets_Grid$Column_headerCaption); + } +} + +function com_vaadin_client_widgets_Grid$Column_$setRenderer__Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_renderers_Renderer_2Lcom_vaadin_client_widgets_Grid$Column_2(this$static, renderer){ + if (!renderer) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Renderer cannot be null.'); + } + this$static.com_vaadin_client_widgets_Grid$Column_bodyRenderer = renderer; + !!this$static.com_vaadin_client_widgets_Grid$Column_grid && com_vaadin_client_widgets_Grid_$refreshBody__Lcom_vaadin_client_widgets_Grid_2V(this$static.com_vaadin_client_widgets_Grid$Column_grid); + return this$static; +} + +function com_vaadin_client_widgets_Grid$Column_$setWidth__Lcom_vaadin_client_widgets_Grid$Column_2DLcom_vaadin_client_widgets_Grid$Column_2(this$static, pixels){ + if (this$static.com_vaadin_client_widgets_Grid$Column_widthUser != pixels) { + this$static.com_vaadin_client_widgets_Grid$Column_widthUser = pixels; + !!this$static.com_vaadin_client_widgets_Grid$Column_grid && com_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_$schedule__Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2V(this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_autoColumnWidthsRecalculator); + } + return this$static; +} + +function com_vaadin_client_widgets_Grid$Column_$toString__Lcom_vaadin_client_widgets_Grid$Column_2Ljava_lang_String_2(this$static){ + var details, index_0; + details = ''; + !this$static.com_vaadin_client_widgets_Grid$Column_headerCaption.length?(details += 'header:empty '):(details += 'header:"' + this$static.com_vaadin_client_widgets_Grid$Column_headerCaption + '" '); + if (this$static.com_vaadin_client_widgets_Grid$Column_grid) { + index_0 = java_util_Collections$UnmodifiableList_$indexOf__Ljava_util_Collections$UnmodifiableList_2Ljava_lang_Object_2I(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$Column_grid.com_vaadin_client_widgets_Grid_columns)), this$static); + index_0 != -1?(details += 'attached:#' + index_0 + ' '):(details += 'attached:unindexed '); + } + else { + details += 'detached '; + } + details += 'sortable:false '; + return java_lang_Class_$getSimpleName__Ljava_lang_Class_2Ljava_lang_String_2(this$static.java_lang_Object__1_1_1clazz$) + '[' + java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(details) + ']'; +} + +function com_vaadin_client_widgets_Grid$Column_Grid$Column__Lcom_vaadin_client_renderers_Renderer_2V(renderer){ + com_vaadin_client_widgets_Grid$Column_$setRenderer__Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_renderers_Renderer_2Lcom_vaadin_client_widgets_Grid$Column_2(this, renderer); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(126, 1, {}); +_.getExpandRatio__I = function(){ + return this.com_vaadin_client_widgets_Grid$Column_expandRatio; +} +; +_.getMaximumWidth__D = function(){ + return this.com_vaadin_client_widgets_Grid$Column_maximumWidthPx; +} +; +_.getMinimumWidth__D = function(){ + return this.com_vaadin_client_widgets_Grid$Column_minimumWidthPx; +} +; +_.setWidth__DLcom_vaadin_client_widgets_Grid$Column_2 = function(pixels){ + return com_vaadin_client_widgets_Grid$Column_$setWidth__Lcom_vaadin_client_widgets_Grid$Column_2DLcom_vaadin_client_widgets_Grid$Column_2(this, pixels); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return com_vaadin_client_widgets_Grid$Column_$toString__Lcom_vaadin_client_widgets_Grid$Column_2Ljava_lang_String_2(this); +} +; +_.com_vaadin_client_widgets_Grid$Column_expandRatio = -1; +_.com_vaadin_client_widgets_Grid$Column_headerCaption = ''; +_.com_vaadin_client_widgets_Grid$Column_maximumWidthPx = -1; +_.com_vaadin_client_widgets_Grid$Column_minimumWidthPx = 10; +_.com_vaadin_client_widgets_Grid$Column_widthUser = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Column_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(126); +function com_vaadin_client_widgets_Grid$Editor_$setGrid__Lcom_vaadin_client_widgets_Grid$Editor_2Lcom_vaadin_client_widgets_Grid_2V(this$static, grid){ + com_vaadin_client_widgets_Grid_$addDataAvailableHandler__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widget_grid_DataAvailableHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(grid, new com_vaadin_client_widgets_Grid$Editor$5_Grid$Editor$5__Lcom_vaadin_client_widgets_Grid$Editor_2V(this$static)); +} + +function com_vaadin_client_widgets_Grid$Editor_$setStylePrimaryName__Lcom_vaadin_client_widgets_Grid$Editor_2Ljava_lang_String_2V(this$static){ + this$static.com_vaadin_client_widgets_Grid$Editor_styleName != null && com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_widgets_Grid$Editor_editorOverlay, this$static.com_vaadin_client_widgets_Grid$Editor_styleName); + this$static.com_vaadin_client_widgets_Grid$Editor_styleName = 'v-grid-editor'; + com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(this$static.com_vaadin_client_widgets_Grid$Editor_editorOverlay, this$static.com_vaadin_client_widgets_Grid$Editor_styleName); +} + +function com_vaadin_client_widgets_Grid$Editor_Grid$Editor__V(){ + this.com_vaadin_client_widgets_Grid$Editor_editorOverlay = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)); + new java_util_HashMap_HashMap__V; + new com_vaadin_client_widgets_Grid$Editor$1_Grid$Editor$1__Lcom_vaadin_client_widgets_Grid$Editor_2V; + new com_vaadin_client_widgets_Grid$Editor$3_Grid$Editor$3__Lcom_vaadin_client_widgets_Grid$Editor_2V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(204, 1, {}, com_vaadin_client_widgets_Grid$Editor_Grid$Editor__V); +_.com_vaadin_client_widgets_Grid$Editor_rowIndex = -1; +_.com_vaadin_client_widgets_Grid$Editor_styleName = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Editor_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(204); +function com_vaadin_client_widgets_Grid$Editor$1_Grid$Editor$1__Lcom_vaadin_client_widgets_Grid$Editor_2V(){ + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(210, 39, {}, com_vaadin_client_widgets_Grid$Editor$1_Grid$Editor$1__Lcom_vaadin_client_widgets_Grid$Editor_2V); +_.run__V = function(){ + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit); + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1EditorHandler_12_1classLit); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Editor$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(210); +function com_vaadin_client_widgets_Grid$Editor$3_Grid$Editor$3__Lcom_vaadin_client_widgets_Grid$Editor_2V(){ + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(211, 39, {}, com_vaadin_client_widgets_Grid$Editor$3_Grid$Editor$3__Lcom_vaadin_client_widgets_Grid$Editor_2V); +_.run__V = function(){ + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid_12_1classLit); + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1EditorHandler_12_1classLit); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Editor$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(211); +function com_vaadin_client_widgets_Grid$Editor$5_Grid$Editor$5__Lcom_vaadin_client_widgets_Grid$Editor_2V(this$1){ + this.com_vaadin_client_widgets_Grid$Editor$5_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(212, 1, {}, com_vaadin_client_widgets_Grid$Editor$5_Grid$Editor$5__Lcom_vaadin_client_widgets_Grid$Editor_2V); +_.onDataAvailable__Lcom_vaadin_client_widget_grid_DataAvailableEvent_2V = function(event_0){ + com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(event_0.com_vaadin_client_widget_grid_DataAvailableEvent_rowsAvailable, this.com_vaadin_client_widgets_Grid$Editor$5_this$11.com_vaadin_client_widgets_Grid$Editor_rowIndex) && undefined; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Editor$5_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(212); +function com_vaadin_client_widgets_Grid$StaticSection_$addColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column){ + var row, row$iterator; + for (row$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection_rows); row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , row$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(row$iterator.java_util_AbstractList$IteratorImpl_last = row$iterator.java_util_AbstractList$IteratorImpl_i++)); + com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$addCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2V(row, column); + } +} + +function com_vaadin_client_widgets_Grid$StaticSection_$addRowAt__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static, index_0){ + var i, row; + row = new com_vaadin_client_widgets_Grid$HeaderRow_Grid$HeaderRow__V; + row.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_section = this$static; + for (i = 0; i < this$static.com_vaadin_client_widgets_Grid$StaticSection_grid.com_vaadin_client_widgets_Grid_columns.java_util_ArrayList_array.length; ++i) { + com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$addCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2V(row, com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static.com_vaadin_client_widgets_Grid$StaticSection_grid, i)); + } + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection_rows, index_0, row); + this$static.com_vaadin_client_widgets_Grid$Header_markAsDirty = true; + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_widgets_Grid$Header$1_Grid$Header$1__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static)); + return row; +} + +function com_vaadin_client_widgets_Grid$StaticSection_$appendRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static){ + return com_vaadin_client_widgets_Grid$StaticSection_$addRowAt__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static, this$static.com_vaadin_client_widgets_Grid$StaticSection_rows.java_util_ArrayList_array.length); +} + +function com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static, index_0){ + try { + return java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_vaadin_client_widgets_Grid$StaticSection_rows, index_0); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 28)) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Row with index ' + index_0 + ' does not exist'); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +function com_vaadin_client_widgets_Grid$StaticSection_$removeColumn__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column){ + var row, row$iterator; + for (row$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection_rows); row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + row = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(row$iterator.java_util_AbstractList$IteratorImpl_i < row$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , row$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(row$iterator.java_util_AbstractList$IteratorImpl_last = row$iterator.java_util_AbstractList$IteratorImpl_i++)); + row.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cells.remove__Ljava_lang_Object_2Ljava_lang_Object_2(column); + } +} + +function com_vaadin_client_widgets_Grid$StaticSection_$setGrid__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid_2V(this$static, grid){ + this$static.com_vaadin_client_widgets_Grid$StaticSection_grid = grid; +} + +function com_vaadin_client_widgets_Grid$StaticSection_Grid$StaticSection__V(){ + this.com_vaadin_client_widgets_Grid$StaticSection_rows = new java_util_ArrayList_ArrayList__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(132, 1, {}); +_.com_vaadin_client_widgets_Grid$StaticSection_visible = true; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$StaticSection_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(132); +function com_vaadin_client_widgets_Grid$Footer_Grid$Footer__V(){ + com_vaadin_client_widgets_Grid$StaticSection_Grid$StaticSection__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(203, 132, {}, com_vaadin_client_widgets_Grid$Footer_Grid$Footer__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Footer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(203); +function com_vaadin_client_widgets_Grid$Header_$requestSectionRefresh__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static){ + this$static.com_vaadin_client_widgets_Grid$Header_markAsDirty = true; + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_widgets_Grid$Header$1_Grid$Header$1__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static)); +} + +function com_vaadin_client_widgets_Grid$Header_$setDefaultRow__Lcom_vaadin_client_widgets_Grid$Header_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2V(this$static, row){ + if (row == this$static.com_vaadin_client_widgets_Grid$Header_defaultRow) { + return; + } + if (!!row && java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_vaadin_client_widgets_Grid$StaticSection_rows, row, 0) == -1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Cannot set a default row that does not exist in the container'); + } + !!this$static.com_vaadin_client_widgets_Grid$Header_defaultRow && (this$static.com_vaadin_client_widgets_Grid$Header_defaultRow.com_vaadin_client_widgets_Grid$HeaderRow_isDefault = false); + !!row && (row.com_vaadin_client_widgets_Grid$HeaderRow_isDefault = true); + this$static.com_vaadin_client_widgets_Grid$Header_defaultRow = row; + this$static.com_vaadin_client_widgets_Grid$Header_markAsDirty = true; + com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_client_widgets_Grid$Header$1_Grid$Header$1__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static)); +} + +function com_vaadin_client_widgets_Grid$Header_Grid$Header__V(){ + com_vaadin_client_widgets_Grid$StaticSection_Grid$StaticSection__V.call(this); + this.com_vaadin_client_widgets_Grid$Header_markAsDirty = false; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(200, 132, {}, com_vaadin_client_widgets_Grid$Header_Grid$Header__V); +_.com_vaadin_client_widgets_Grid$Header_markAsDirty = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Header_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(200); +function com_vaadin_client_widgets_Grid$Header$1_Grid$Header$1__Lcom_vaadin_client_widgets_Grid$Header_2V(this$1){ + this.com_vaadin_client_widgets_Grid$Header$1_this$11 = this$1; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(97, 1, {}, com_vaadin_client_widgets_Grid$Header$1_Grid$Header$1__Lcom_vaadin_client_widgets_Grid$Header_2V); +_.execute__V = function(){ + if (this.com_vaadin_client_widgets_Grid$Header$1_this$11.com_vaadin_client_widgets_Grid$Header_markAsDirty) { + this.com_vaadin_client_widgets_Grid$Header$1_this$11.com_vaadin_client_widgets_Grid$Header_markAsDirty = false; + com_vaadin_client_widgets_Grid_$refreshHeader__Lcom_vaadin_client_widgets_Grid_2V(this.com_vaadin_client_widgets_Grid$Header$1_this$11.com_vaadin_client_widgets_Grid$StaticSection_grid); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Header$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(97); +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getHtml__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2(this$static){ + if (this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type != (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_HTML)) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Cannot fetch HTML from a cell with type ' + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type); + } + return this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content; +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getText__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2(this$static){ + if (this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type != (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_TEXT)) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Cannot fetch Text from a cell with type ' + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type); + } + return this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content; +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2(this$static){ + if (this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type != (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET)) { + throw new java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V('Cannot fetch Widget from a cell with type ' + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type); + } + return this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content; +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setColspan__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2IV(this$static, colspan){ + if (colspan < 1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Colspan cannot be less than 1'); + } + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_colspan = colspan; + com_vaadin_client_widgets_Grid$Header_$requestSectionRefresh__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_section); +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setSection__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(this$static, section){ + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_section = section; +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setText__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2V(this$static, text_0){ + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content = text_0; + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type = (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_TEXT); + com_vaadin_client_widgets_Grid$Header_$requestSectionRefresh__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_section); +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, widget){ + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content = widget; + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type = (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET); + com_vaadin_client_widgets_Grid$Header_$requestSectionRefresh__Lcom_vaadin_client_widgets_Grid$Header_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_section); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(198, 1, {}); +_.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_colspan = 1; +_.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content = null; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$StaticSection$StaticCell_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(198); +function com_vaadin_client_widgets_Grid$HeaderCell_Grid$HeaderCell__V(){ + this.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type = (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_TEXT); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(202, 198, {}, com_vaadin_client_widgets_Grid$HeaderCell_Grid$HeaderCell__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$HeaderCell_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(202); +function com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$addCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static, column){ + var cell; + cell = new com_vaadin_client_widgets_Grid$HeaderCell_Grid$HeaderCell__V; + com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setSection__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_vaadin_client_widgets_Grid$StaticSection_2V(cell, this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_section); + this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cells.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(column, cell); +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(this$static, column){ + var cellGroup; + cellGroup = com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCellGroupForColumn__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Ljava_util_Set_2(this$static, column); + if (cellGroup) { + return this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cellGroups.get__Ljava_lang_Object_2Ljava_lang_Object_2(cellGroup); + } + return this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cells.get__Ljava_lang_Object_2Ljava_lang_Object_2(column); +} + +function com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCellGroupForColumn__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Ljava_util_Set_2(this$static, column){ + var group, group$iterator; + for (group$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this$static.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cellGroups)); group$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + group = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(group$iterator); + if (group.contains__Ljava_lang_Object_2Z(column)) { + return group; + } + } + return null; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(199, 1, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$StaticSection$StaticRow_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(199); +function com_vaadin_client_widgets_Grid$HeaderRow_Grid$HeaderRow__V(){ + this.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cells = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_widgets_Grid$StaticSection$StaticRow_cellGroups = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_widgets_Grid$HeaderRow_isDefault = false; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(201, 199, {}, com_vaadin_client_widgets_Grid$HeaderRow_Grid$HeaderRow__V); +_.com_vaadin_client_widgets_Grid$HeaderRow_isDefault = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$HeaderRow_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(201); +function com_vaadin_client_widgets_Grid$Section_$clinit__V(){ + com_vaadin_client_widgets_Grid$Section_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widgets_Grid$Section_HEADER = new com_vaadin_client_widgets_Grid$Section_Grid$Section__Ljava_lang_String_2IV('HEADER', 0); + com_vaadin_client_widgets_Grid$Section_BODY = new com_vaadin_client_widgets_Grid$Section_Grid$Section__Ljava_lang_String_2IV('BODY', 1); + com_vaadin_client_widgets_Grid$Section_FOOTER = new com_vaadin_client_widgets_Grid$Section_Grid$Section__Ljava_lang_String_2IV('FOOTER', 2); +} + +function com_vaadin_client_widgets_Grid$Section_Grid$Section__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_vaadin_client_widgets_Grid$Section_values___3Lcom_vaadin_client_widgets_Grid$Section_2(){ + com_vaadin_client_widgets_Grid$Section_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Section_12_1classLit, 1), $intern_1, 74, 0, [com_vaadin_client_widgets_Grid$Section_HEADER, com_vaadin_client_widgets_Grid$Section_BODY, com_vaadin_client_widgets_Grid$Section_FOOTER]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(74, 4, {74:1, 3:1, 5:1, 4:1}, com_vaadin_client_widgets_Grid$Section_Grid$Section__Ljava_lang_String_2IV); +var com_vaadin_client_widgets_Grid$Section_BODY, com_vaadin_client_widgets_Grid$Section_FOOTER, com_vaadin_client_widgets_Grid$Section_HEADER; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$Section_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(74, com_vaadin_client_widgets_Grid$Section_values___3Lcom_vaadin_client_widgets_Grid$Section_2); +function com_vaadin_client_widgets_Grid$SelectionColumn_$initDone__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2V(this$static){ + var checkBox, model; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_client_widgets_Grid$SelectionColumn_this$01.com_vaadin_client_widgets_Grid_selectionModel, 173) && !!this$static.com_vaadin_client_widgets_Grid$SelectionColumn_this$01.com_vaadin_client_widgets_Grid_header.com_vaadin_client_widgets_Grid$Header_defaultRow) { + model = this$static.com_vaadin_client_widgets_Grid$SelectionColumn_this$01.com_vaadin_client_widgets_Grid_selectionModel; + checkBox = new com_google_gwt_user_client_ui_CheckBox_CheckBox__V; + com_google_gwt_user_client_ui_CheckBox_$addValueChangeHandler__Lcom_google_gwt_user_client_ui_CheckBox_2Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(checkBox, new com_vaadin_client_widgets_Grid$SelectionColumn$1_Grid$SelectionColumn$1__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2V(this$static, model)); + com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2V(com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(this$static.com_vaadin_client_widgets_Grid$SelectionColumn_this$01.com_vaadin_client_widgets_Grid_header.com_vaadin_client_widgets_Grid$Header_defaultRow, this$static), checkBox); + } + com_vaadin_client_widgets_Grid$SelectionColumn_$setWidth__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2DLcom_vaadin_client_widgets_Grid$Column_2(this$static, -1); + this$static.com_vaadin_client_widgets_Grid$SelectionColumn_initDone = true; +} + +function com_vaadin_client_widgets_Grid$SelectionColumn_$setWidth__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2DLcom_vaadin_client_widgets_Grid$Column_2(this$static, pixels){ + if (pixels != this$static.com_vaadin_client_widgets_Grid$Column_widthUser && this$static.com_vaadin_client_widgets_Grid$SelectionColumn_initDone) { + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('The selection column cannot be modified after init'); + } + else { + com_vaadin_client_widgets_Grid$Column_$setWidth__Lcom_vaadin_client_widgets_Grid$Column_2DLcom_vaadin_client_widgets_Grid$Column_2(this$static, pixels); + } + return this$static; +} + +function com_vaadin_client_widgets_Grid$SelectionColumn_Grid$SelectionColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2V(this$0, selectColumnRenderer){ + this.com_vaadin_client_widgets_Grid$SelectionColumn_this$01 = this$0; + com_vaadin_client_widgets_Grid$Column_Grid$Column__Lcom_vaadin_client_renderers_Renderer_2V.call(this, selectColumnRenderer); + this.com_vaadin_client_widgets_Grid$SelectionColumn_initDone = false; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(206, 126, {}, com_vaadin_client_widgets_Grid$SelectionColumn_Grid$SelectionColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_renderers_Renderer_2V); +_.getExpandRatio__I = function(){ + return 0; +} +; +_.getMaximumWidth__D = function(){ + return -1; +} +; +_.getMinimumWidth__D = function(){ + return -1; +} +; +_.getValue__Ljava_lang_Object_2Ljava_lang_Object_2 = function(row){ + return java_lang_Boolean_$clinit__V() , com_vaadin_client_widgets_Grid_$isSelected__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this.com_vaadin_client_widgets_Grid$SelectionColumn_this$01, row)?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE; +} +; +_.setWidth__DLcom_vaadin_client_widgets_Grid$Column_2 = function(pixels){ + return com_vaadin_client_widgets_Grid$SelectionColumn_$setWidth__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2DLcom_vaadin_client_widgets_Grid$Column_2(this, pixels); +} +; +_.com_vaadin_client_widgets_Grid$SelectionColumn_initDone = false; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionColumn_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(206); +function com_vaadin_client_widgets_Grid$SelectionColumn$1_Grid$SelectionColumn$1__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2V(this$1, val$model){ + this.com_vaadin_client_widgets_Grid$SelectionColumn$1_this$11 = this$1; + this.com_vaadin_client_widgets_Grid$SelectionColumn$1_val$model2 = val$model; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(213, 1, {}, com_vaadin_client_widgets_Grid$SelectionColumn$1_Grid$SelectionColumn$1__Lcom_vaadin_client_widgets_Grid$SelectionColumn_2V); +_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V = function(event_0){ + event_0.com_google_gwt_event_logical_shared_ValueChangeEvent_value.java_lang_Boolean_value?com_google_gwt_user_client_ui_Widget_$fireEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_GwtEvent_2V(this.com_vaadin_client_widgets_Grid$SelectionColumn$1_this$11.com_vaadin_client_widgets_Grid$SelectionColumn_this$01, new com_vaadin_client_widget_grid_events_SelectAllEvent_SelectAllEvent__Lcom_vaadin_client_widget_grid_selection_SelectionModel$Multi_2V):com_vaadin_client_widget_grid_selection_SelectionModelMulti_$deselectAll__Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2Z(this.com_vaadin_client_widgets_Grid$SelectionColumn$1_val$model2); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionColumn$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(213); +function com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V(){ + com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_client_widgets_Grid$SelectionMode_SINGLE = new com_vaadin_client_widgets_Grid$SelectionMode$1_Grid$SelectionMode$1__Ljava_lang_String_2IV; + com_vaadin_client_widgets_Grid$SelectionMode_MULTI = new com_vaadin_client_widgets_Grid$SelectionMode$2_Grid$SelectionMode$2__Ljava_lang_String_2IV; + com_vaadin_client_widgets_Grid$SelectionMode_NONE = new com_vaadin_client_widgets_Grid$SelectionMode$3_Grid$SelectionMode$3__Ljava_lang_String_2IV; +} + +function com_vaadin_client_widgets_Grid$SelectionMode_Grid$SelectionMode__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_vaadin_client_widgets_Grid$SelectionMode_values___3Lcom_vaadin_client_widgets_Grid$SelectionMode_2(){ + com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionMode_12_1classLit, 1), $intern_1, 58, 0, [com_vaadin_client_widgets_Grid$SelectionMode_SINGLE, com_vaadin_client_widgets_Grid$SelectionMode_MULTI, com_vaadin_client_widgets_Grid$SelectionMode_NONE]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(58, 4, $intern_36); +var com_vaadin_client_widgets_Grid$SelectionMode_MULTI, com_vaadin_client_widgets_Grid$SelectionMode_NONE, com_vaadin_client_widgets_Grid$SelectionMode_SINGLE; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionMode_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(58, com_vaadin_client_widgets_Grid$SelectionMode_values___3Lcom_vaadin_client_widgets_Grid$SelectionMode_2); +function com_vaadin_client_widgets_Grid$SelectionMode$1_Grid$SelectionMode$1__Ljava_lang_String_2IV(){ + com_vaadin_client_widgets_Grid$SelectionMode_Grid$SelectionMode__Ljava_lang_String_2IV.call(this, 'SINGLE', 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(216, 58, $intern_36, com_vaadin_client_widgets_Grid$SelectionMode$1_Grid$SelectionMode$1__Ljava_lang_String_2IV); +_.createModel__Lcom_vaadin_client_widget_grid_selection_SelectionModel_2 = function(){ + return new com_vaadin_client_widget_grid_selection_SelectionModelSingle_SelectionModelSingle__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionMode$1_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(216, null); +function com_vaadin_client_widgets_Grid$SelectionMode$2_Grid$SelectionMode$2__Ljava_lang_String_2IV(){ + com_vaadin_client_widgets_Grid$SelectionMode_Grid$SelectionMode__Ljava_lang_String_2IV.call(this, 'MULTI', 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(217, 58, $intern_36, com_vaadin_client_widgets_Grid$SelectionMode$2_Grid$SelectionMode$2__Ljava_lang_String_2IV); +_.createModel__Lcom_vaadin_client_widget_grid_selection_SelectionModel_2 = function(){ + return new com_vaadin_client_widget_grid_selection_SelectionModelMulti_SelectionModelMulti__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionMode$2_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(217, null); +function com_vaadin_client_widgets_Grid$SelectionMode$3_Grid$SelectionMode$3__Ljava_lang_String_2IV(){ + com_vaadin_client_widgets_Grid$SelectionMode_Grid$SelectionMode__Ljava_lang_String_2IV.call(this, 'NONE', 2); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(218, 58, $intern_36, com_vaadin_client_widgets_Grid$SelectionMode$3_Grid$SelectionMode$3__Ljava_lang_String_2IV); +_.createModel__Lcom_vaadin_client_widget_grid_selection_SelectionModel_2 = function(){ + return new com_vaadin_client_widget_grid_selection_SelectionModelNone_SelectionModelNone__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$SelectionMode$3_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(218, null); +function com_vaadin_client_widgets_Grid$StaticSectionUpdater_$getSortOrder__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widget_grid_sort_SortOrder_2(this$static, column){ + var order, order$iterator; + for (order$iterator = new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01.com_vaadin_client_widgets_Grid_sortOrder).java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); order$iterator.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z();) { + order = order$iterator.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); + if (null.nullField == column) { + return order; + } + } + return null; +} + +function com_vaadin_client_widgets_Grid$StaticSectionUpdater_$postAttach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static, row, attachedCells){ + var cell, cell$iterator, cellElement, columns, gridRow, metadata, widget; + gridRow = com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_section, row.com_vaadin_client_widget_escalator_FlyweightRow_row); + columns = java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01.com_vaadin_client_widgets_Grid_columns)); + for (cell$iterator = attachedCells.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + metadata = com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(gridRow, java_util_Collections$UnmodifiableList_$get__Ljava_util_Collections$UnmodifiableList_2ILjava_lang_Object_2(columns, cell.com_vaadin_client_widget_escalator_FlyweightCell_column)); + if ((com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET) == metadata.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type) { + widget = com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2(metadata); + cellElement = cell.com_vaadin_client_widget_escalator_FlyweightCell_element; + if (!widget.isAttached__Z()) { + com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(cellElement, (com_google_gwt_user_client_DOM_$clinit__V() , widget.com_google_gwt_user_client_ui_UIObject_element)); + com_vaadin_client_widgets_Grid_setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_vaadin_client_widgets_Grid_2V(widget, this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01); + } + } + } +} + +function com_vaadin_client_widgets_Grid$StaticSectionUpdater_$preDetach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this$static, row, cellsToDetach){ + var cell, cell$iterator, columns, gridRow, metadata, widget; + if (this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_section.com_vaadin_client_widgets_Grid$StaticSection_rows.java_util_ArrayList_array.length > row.com_vaadin_client_widget_escalator_FlyweightRow_row) { + gridRow = com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_section, row.com_vaadin_client_widget_escalator_FlyweightRow_row); + columns = java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this$static.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01.com_vaadin_client_widgets_Grid_columns)); + for (cell$iterator = cellsToDetach.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + metadata = com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(gridRow, java_util_Collections$UnmodifiableList_$get__Ljava_util_Collections$UnmodifiableList_2ILjava_lang_Object_2(columns, cell.com_vaadin_client_widget_escalator_FlyweightCell_column)); + if ((com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET) == metadata.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type && com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2(metadata).isAttached__Z()) { + widget = com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2(metadata); + com_vaadin_client_widgets_Grid_setParent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_vaadin_client_widgets_Grid_2V(widget, null); + com_google_gwt_dom_client_Node_$removeFromParent__Lcom_google_gwt_dom_client_Node_2V((com_google_gwt_user_client_DOM_$clinit__V() , widget.com_google_gwt_user_client_ui_UIObject_element)); + } + } + } +} + +function com_vaadin_client_widgets_Grid$StaticSectionUpdater_Grid$StaticSectionUpdater__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this$0, section, container){ + this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01 = this$0; + this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_section = section; + this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_container = container; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(134, 1, {}, com_vaadin_client_widgets_Grid$StaticSectionUpdater_Grid$StaticSectionUpdater__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widget_escalator_RowContainer_2V); +_.postAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, attachedCells){ + com_vaadin_client_widgets_Grid$StaticSectionUpdater_$postAttach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this, row, attachedCells); +} +; +_.postDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, detachedCells){ +} +; +_.preAttach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToAttach){ +} +; +_.preDetach__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToDetach){ + com_vaadin_client_widgets_Grid$StaticSectionUpdater_$preDetach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this, row, cellsToDetach); +} +; +_.update__Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V = function(row, cellsToUpdate){ + var cell, cell$iterator, columns, element, metadata, staticRow, com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_com_vaadin_client_widgets_Grid$StaticSectionUpdater_$cleanup__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_cellElement_0_0, com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_column_0; + staticRow = com_vaadin_client_widgets_Grid$StaticSection_$getRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2ILcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_section, row.com_vaadin_client_widget_escalator_FlyweightRow_row); + columns = java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(new java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01.com_vaadin_client_widgets_Grid_columns)); + com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(row.com_vaadin_client_widget_escalator_FlyweightRow_element); + for (cell$iterator = cellsToUpdate.iterator__Ljava_util_Iterator_2(); cell$iterator.hasNext__Z();) { + cell = cell$iterator.next__Ljava_lang_Object_2(); + metadata = com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(staticRow, java_util_Collections$UnmodifiableList_$get__Ljava_util_Collections$UnmodifiableList_2ILjava_lang_Object_2(columns, cell.com_vaadin_client_widget_escalator_FlyweightCell_column)); + !!staticRow && (com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_com_vaadin_client_widgets_Grid$StaticSectionUpdater_$cleanup__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_cellElement_0_0 = cell.com_vaadin_client_widget_escalator_FlyweightCell_element , com_google_gwt_dom_client_Element_$removeAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_com_vaadin_client_widgets_Grid$StaticSectionUpdater_$cleanup__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_cellElement_0_0, 'sort-order') , com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_com_vaadin_client_widgets_Grid$StaticSectionUpdater_$cleanup__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_cellElement_0_0, 'sort-desc') , com_google_gwt_dom_client_Element_$removeClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_com_vaadin_client_widgets_Grid$StaticSectionUpdater_$cleanup__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_cellElement_0_0, 'sort-asc') , com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_column_0 = com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01, cell.com_vaadin_client_widget_escalator_FlyweightCell_column) , com_vaadin_client_widgets_Grid$StaticSectionUpdater_$getSortOrder__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widget_grid_sort_SortOrder_2(this, com_vaadin_client_widgets_Grid$StaticSectionUpdater_$addSortingIndicatorsToHeaderRow__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2V_column_0) , undefined); + com_vaadin_client_widget_escalator_FlyweightCell_$setColSpan__Lcom_vaadin_client_widget_escalator_FlyweightCell_2IV(cell, metadata.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_colspan); + element = cell.com_vaadin_client_widget_escalator_FlyweightCell_element; + switch (metadata.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type.java_lang_Enum_ordinal) { + case 0: + com_google_gwt_dom_client_Element_$setInnerText__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(element, com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getText__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2(metadata)); + break; + case 1: + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(element, com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$getHtml__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2(metadata)); + break; + case 2: + com_vaadin_client_widgets_Grid$StaticSectionUpdater_$preDetach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this, row, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightCell_12_1classLit, 1), $intern_1, 75, 0, [cell]))); + com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(element, ''); + com_vaadin_client_widgets_Grid$StaticSectionUpdater_$postAttach__Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2Lcom_vaadin_client_widget_escalator_Row_2Ljava_lang_Iterable_2V(this, row, new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1escalator_1FlyweightCell_12_1classLit, 1), $intern_1, 75, 0, [cell]))); + } + com_vaadin_client_widgets_Grid_setCustomStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(element); + com_vaadin_client_widgets_Grid$CellFocusHandler_$updateFocusedCellStyle__Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2Lcom_vaadin_client_widget_escalator_FlyweightCell_2Lcom_vaadin_client_widget_escalator_RowContainer_2V(this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_this$01.com_vaadin_client_widgets_Grid_cellFocusHandler, cell, this.com_vaadin_client_widgets_Grid$StaticSectionUpdater_container); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$StaticSectionUpdater_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(134); +function com_vaadin_client_widgets_Grid$UserSorter_$sort__Lcom_vaadin_client_widgets_Grid$UserSorter_2Lcom_vaadin_client_widgets_Grid$Column_2ZV(this$static, column){ + if (java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_vaadin_client_widgets_Grid$UserSorter_this$01.com_vaadin_client_widgets_Grid_columns, column, 0) == -1) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('Given column is not a column in this grid. ' + com_vaadin_client_widgets_Grid$Column_$toString__Lcom_vaadin_client_widgets_Grid$Column_2Ljava_lang_String_2(column)); + } + return; +} + +function com_vaadin_client_widgets_Grid$UserSorter_Grid$UserSorter__Lcom_vaadin_client_widgets_Grid_2V(this$0){ + this.com_vaadin_client_widgets_Grid$UserSorter_this$01 = this$0; + new com_vaadin_client_widgets_Grid$UserSorter$1_Grid$UserSorter$1__Lcom_vaadin_client_widgets_Grid$UserSorter_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(207, 1, {}, com_vaadin_client_widgets_Grid$UserSorter_Grid$UserSorter__Lcom_vaadin_client_widgets_Grid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$UserSorter_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(207); +function com_vaadin_client_widgets_Grid$UserSorter$1_Grid$UserSorter$1__Lcom_vaadin_client_widgets_Grid$UserSorter_2V(this$1){ + this.com_vaadin_client_widgets_Grid$UserSorter$1_this$11 = this$1; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(214, 39, {}, com_vaadin_client_widgets_Grid$UserSorter$1_Grid$UserSorter$1__Lcom_vaadin_client_widgets_Grid$UserSorter_2V); +_.run__V = function(){ + com_vaadin_client_widgets_Grid$UserSorter_$sort__Lcom_vaadin_client_widgets_Grid$UserSorter_2Lcom_vaadin_client_widgets_Grid$Column_2ZV(this.com_vaadin_client_widgets_Grid$UserSorter$1_this$11, this.com_vaadin_client_widgets_Grid$UserSorter$1_this$11.com_vaadin_client_widgets_Grid$UserSorter_column); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widgets_1Grid$UserSorter$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(214); +function com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents$1_VaadinComponents$1__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V(){ + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(177, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents$1_VaadinComponents$1__Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents_2V); +_.f__V = function(){ + var e, e$array, e$index, e$max; + for (e$array = (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('v-grid', com_google_gwt_query_client_GQuery_document)).com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + e.nullMethod(); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1entrypoints_1VaadinComponents$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(177); +function com_vaadin_prototype_wc_gwt_client_html_HTMLDocument_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_html_HTMLDocument_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(523, 1, {}); +_.addEventListener = function(event_0, listener){ + this.addEventListener(event_0, listener); +} +; +_.appendChild = function(element){ + this.appendChild(element); +} +; +_.children = function(){ + return this.children; +} +; +_.className = function(){ + return this.className; +} +; +_.className = function(string){ + return _ = this , _.className = string , _; +} +; +_.createShadowRoot = function(){ + return this.createShadowRoot(); +} +; +_.dispatchEvent = function(ev){ + this.dispatchEvent(ev); +} +; +_.getAttribute = function(name_0){ + return this.getAttribute(name_0); +} +; +_.innerHTML = function(string){ + this.innerHTML = string; +} +; +_.innerText = function(){ + return this.innerText; +} +; +_.innerText = function(string){ + this.innerText = string; +} +; +_.setAttribute = function(name_0, value_0){ + this.setAttribute(name_0, value_0); +} +; +_.shadowRoot = function(){ + return this.shadowRoot; +} +; +_.style = function(){ + return this.style; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1html_1HTMLElement$Prototype_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(523); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(524, 523, {}); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1html_1HTMLTableElement$Prototype_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(524); +function com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_window = $wnd; +} + +var com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_window; +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_elementResizeListeners = new java_util_HashMap_HashMap__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resizeHelpers = new java_util_HashMap_HashMap__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_deferHandles = new java_util_HashMap_HashMap__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_previousSizes = new java_util_HashMap_HashMap__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_scheduleFrame = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getScheduleFrame__Lcom_google_gwt_core_client_JavaScriptObject_2(); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_cancelFrame = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getCancelFrame__Lcom_google_gwt_core_client_JavaScriptObject_2(); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeListener_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeListener_2(element, listener){ + var com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_expandDiv_0, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_contractDiv_0; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(); + var listeners; + java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(com_google_gwt_dom_client_Style_$getPosition__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2(element.style), (com_google_gwt_dom_client_Style$Position_$clinit__V() , com_google_gwt_dom_client_Style$Position_STATIC)) && com_google_gwt_dom_client_Style_$setPropertyImpl__Lcom_google_gwt_dom_client_Style_2Ljava_lang_String_2Ljava_lang_String_2V(element.style, 'position', 'relative'); + listeners = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_elementResizeListeners.get__Ljava_lang_Object_2Ljava_lang_Object_2(element); + if (!listeners) { + listeners = new java_util_HashSet_HashSet__V; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_elementResizeListeners.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(element, listeners); + } + !!com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resizeHelpers.get__Ljava_lang_Object_2Ljava_lang_Object_2(element) || (com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0 = (com_google_gwt_user_client_DOM_$clinit__V() , com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)) , com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0, 'v-resize-helper') , com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_expandDiv_0 = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc) , com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_expandDiv_0, 'v-resize-helper-expand') , com_google_gwt_dom_client_Node_$appendChild__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_expandDiv_0, com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc)) , com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0.appendChild(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_expandDiv_0) , com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_contractDiv_0 = com_google_gwt_dom_client_Document_$createDivElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_DivElement_2($doc) , com_google_gwt_dom_client_Element_$addClassName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Z(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_contractDiv_0, 'v-resize-helper-contract') , com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0.appendChild(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_contractDiv_0) , com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resizeHelpers.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(element, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0) , element.appendChild(com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeHelper__Lcom_google_gwt_dom_client_Element_2V_helper_0) , com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(new com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_ElementResizeManager$1__V(element), 1) , undefined); + listeners.add__Ljava_lang_Object_2Z(listener); + return listener; +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addScrollListener__Lcom_google_gwt_dom_client_Element_2V(element){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(); + element.addEventListener('scroll', com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_onElementScroll__Lcom_google_gwt_core_client_JavaScriptObject_2V, true); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getCancelFrame__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + var cancelFunction = $wnd.cancelAnimationFrame || $wnd.mozCancelAnimationFrame || $wnd.webkitCancelAnimationFrame || $wnd.clearTimeout; + return function(id_0){ + return cancelFunction(id_0); + } + ; +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getDeferHandle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(element){ + return com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_deferHandles.get__Ljava_lang_Object_2Ljava_lang_Object_2(element); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2(element){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(); + return com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_previousSizes.get__Ljava_lang_Object_2Ljava_lang_Object_2(element); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getScheduleFrame__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + var frameFunction = $wnd.requestAnimationFrame || $wnd.mozRequestAnimationFrame || $wnd.webkitRequestAnimationFrame || function(deferredFunction){ + return $wnd.setTimeout(deferredFunction, 20); + } + ; + return function(deferredFunction){ + return frameFunction(deferredFunction); + } + ; +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_onElementScroll__Lcom_google_gwt_core_client_JavaScriptObject_2V(event_0){ + var target = event_0.currentTarget; + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resetHelpers__Lcom_google_gwt_dom_client_Element_2V(target); + var deferHandle = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getDeferHandle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2(target); + if (deferHandle) { + var cancelFrameFunction = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_cancelFrame; + cancelFrameFunction(deferHandle); + } + var scheduleFrameFunction = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_scheduleFrame; + deferHandle = scheduleFrameFunction(function(){ + var previousSize = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2(target); + if (target.offsetWidth != previousSize.width || target.offsetHeight != previousSize.height) { + var currentSize = new com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_ElementResizeManager$Size__FFV(target.offsetWidth, target.offsetHeight); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_triggerResize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2V(target, previousSize, currentSize); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_setPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2V(target, currentSize); + } + } + ); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_setDeferHandle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2V(target, deferHandle); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resetHelpers__Lcom_google_gwt_dom_client_Element_2V(element){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(); + var helpers = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resizeHelpers.get__Ljava_lang_Object_2Ljava_lang_Object_2(element); + var expand = helpers.firstElementChild; + var contract = helpers.lastElementChild; + var expandChild = expand.firstElementChild; + contract.scrollLeft = contract.scrollWidth; + contract.scrollTop = contract.scrollHeight; + expandChild.style.width = expand.offsetWidth + 1 + 'px'; + expandChild.style.height = expand.offsetHeight + 1 + 'px'; + expand.scrollLeft = expand.scrollWidth; + expand.scrollTop = expand.scrollHeight; +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_setDeferHandle__Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_core_client_JavaScriptObject_2V(element, handle){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_deferHandles.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(element, handle); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_setPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2V(element, size_0){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_$clinit__V(); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_previousSizes.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(element, size_0); +} + +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_triggerResize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2V(element, previousSize, newSize){ + var listener, listener$iterator, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0; + java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1ui_1ElementResizeManager_12_1classLit); + for (listener$iterator = com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_elementResizeListeners.get__Ljava_lang_Object_2Ljava_lang_Object_2(element).iterator__Ljava_util_Iterator_2(); listener$iterator.hasNext__Z();) { + listener = listener$iterator.next__Ljava_lang_Object_2(); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0 = listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size; + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0 == 0 && (listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals?(com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0 = listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals.size__I()):!!listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource && (com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0 = listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.size__I())); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2IV(listener.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_$onElementResize__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeEvent_2V_rowCount_0); + } +} + +var com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_cancelFrame, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_deferHandles, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_elementResizeListeners, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_previousSizes, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resizeHelpers, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_scheduleFrame; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1ui_1ElementResizeManager_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(null); +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_ElementResizeManager$1__V(val$element){ + this.com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_val$element1 = val$element; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(283, 39, {}, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_ElementResizeManager$1__V); +_.run__V = function(){ + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_resetHelpers__Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_val$element1); + !com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_getPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2(this.com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_val$element1) && com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_setPreviousSize__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2V(this.com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_val$element1, new com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_ElementResizeManager$Size__FFV(0, 0)); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addScrollListener__Lcom_google_gwt_dom_client_Element_2V(this.com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_val$element1); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1ui_1ElementResizeManager$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(283); +function com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_ElementResizeManager$Size__FFV(width_0, height){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(282, 1, {}, com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_ElementResizeManager$Size__FFV); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1ui_1ElementResizeManager$Size_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(282); +function com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + new java_util_HashSet_HashSet__V; + com_vaadin_prototype_wc_gwt_client_util_Elements_window = (com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_$clinit__V() , com_vaadin_prototype_wc_gwt_client_html_HTMLWindow_window); + com_vaadin_prototype_wc_gwt_client_util_Elements_document = com_vaadin_prototype_wc_gwt_client_util_Elements_window.document; + com_vaadin_prototype_wc_gwt_client_util_Elements_document.head; + com_vaadin_prototype_wc_gwt_client_util_Elements_document.body; + com_vaadin_prototype_wc_gwt_client_util_Elements_monkeyPatchHTMLElement__V(); +} + +function com_vaadin_prototype_wc_gwt_client_util_Elements_getWCOptions__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_google_gwt_core_client_JavaScriptObject_2(elem){ + function mixin(dest, src_0){ + for (var k in src_0) { + if (src_0.hasOwnProperty(k)) { + var r = /^jsProperty([A-Z].+)$/.exec(k); + if (r) { + var prpName = r[1].charAt(0).toLowerCase() + r[1].slice(1); + var getName = 'get' + r[1]; + var setName = 'set' + r[1]; + src_0[prpName] === undefined && Object.defineProperty(dest, prpName, {get:src_0[getName] || function(){ + } + , set:src_0[setName] || function(){ + } + , enumerable:true, configurable:true}); + delete dest[getName]; + delete dest[setName]; + } + else { + dest[k] = src_0[k]; + } + } + } + } + + var eproto = $wnd.Object.create($wnd.HTMLElement.prototype); + var cproto = $wnd.Object.getPrototypeOf(elem); + mixin(eproto, cproto); + $wnd.__addEventListener_patched && (eproto.addEventListener = $wnd.__addEventListener_patched); + return {prototype:eproto}; +} + +function com_vaadin_prototype_wc_gwt_client_util_Elements_isEventListener__Ljava_lang_Object_2Z(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 19); +} + +function com_vaadin_prototype_wc_gwt_client_util_Elements_monkeyPatchHTMLElement__V(){ + if ($wnd.__addEventListener_org) + return; + console.log('Monkey Patched HTMLElement.addEventListener'); + $wnd.__addEventListener_org = $wnd.HTMLElement.prototype.addEventListener; + $wnd.__addEventListener_patched = function(name_0, obj, bol){ + var fnc = com_vaadin_prototype_wc_gwt_client_util_Elements_isEventListener__Ljava_lang_Object_2Z(obj)?function(e){ + obj.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(e); + } + :obj; + $wnd.__addEventListener_org.call(this, name_0, fnc, bol); + } + ; + $wnd.HTMLElement.prototype.addEventListener = $wnd.__addEventListener_patched; +} + +function com_vaadin_prototype_wc_gwt_client_util_Elements_registerElement__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2V(tag, elem){ + com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V(); + var js; + js = com_vaadin_prototype_wc_gwt_client_util_Elements_getWCOptions__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_google_gwt_core_client_JavaScriptObject_2(elem); + com_vaadin_prototype_wc_gwt_client_util_Elements_document.registerElement(tag, js); +} + +var com_vaadin_prototype_wc_gwt_client_util_Elements_document, com_vaadin_prototype_wc_gwt_client_util_Elements_window; +function com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$groupEnd__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2V(){ + var groupEnd = console.groupEnd || function(){ + } + ; + groupEnd.call(console); +} + +function com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(this$static, t, isCause){ + var cause, cause$iterator, msg, umbrella, com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$groupStart__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_String_2V_groupStart_0, com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_logError_0, com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_backingError_0; + msg = java_lang_Throwable_$toString__Ljava_lang_Throwable_2Ljava_lang_String_2(t); + isCause && (msg = 'caused by: ' + msg); + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$groupStart__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_String_2V_groupStart_0 = console.groupCollapsed || console.group || console.error || console.log; + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$groupStart__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_String_2V_groupStart_0.call(console, msg); + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_logError_0 = console.error || console.log; + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_backingError_0 = t.__gwt$backingJsError; + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_logError_0.call(console, com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_backingError_0 && com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$log__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2V_backingError_0.stack); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(t, 82)) { + umbrella = t; + for (cause$iterator = umbrella.com_google_web_bindery_event_shared_UmbrellaException_causes.iterator__Ljava_util_Iterator_2(); cause$iterator.hasNext__Z();) { + cause = cause$iterator.next__Ljava_lang_Object_2(); + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(this$static, cause, true); + } + } + else + !!t.java_lang_Throwable_cause && com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$logException__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2Ljava_lang_Throwable_2ZV(this$static, t.java_lang_Throwable_cause, true); + com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_$groupEnd__Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2V(); +} + +function com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_SuperDevModeUncaughtExceptionHandler__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(176, 1, {}, com_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_SuperDevModeUncaughtExceptionHandler__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1util_1SuperDevModeUncaughtExceptionHandler_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(176); +function com_vaadin_prototype_wc_gwt_client_widgets_WCFormat_WCFormat__V(){ +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCFormat_formatCurrency__DLjava_lang_String_2(val){ + var fmt; + fmt = (com_google_gwt_i18n_client_NumberFormat_$clinit__V() , !com_google_gwt_i18n_client_NumberFormat_cachedCurrencyFormat && (com_google_gwt_i18n_client_NumberFormat_cachedCurrencyFormat = new com_google_gwt_i18n_client_NumberFormat_NumberFormat__Ljava_lang_String_2Lcom_google_gwt_i18n_client_CurrencyData_2ZV(['USD', 'US$', 2, 'US$', '$'])) , com_google_gwt_i18n_client_NumberFormat_$clinit__V() , com_google_gwt_i18n_client_NumberFormat_cachedCurrencyFormat); + return com_google_gwt_i18n_client_NumberFormat_$format__Lcom_google_gwt_i18n_client_NumberFormat_2DLjava_lang_String_2(fmt, val); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(525, 1, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCFormat_WCFormat__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCFormat_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(525); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(el, attr, def){ + try { + return (new java_lang_Float_Float__Ljava_lang_String_2V(com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(el, attr, '' + def))).java_lang_Float_value; + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 62)) { + return 0; + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(el, attr, def){ + var val; + val = el.getAttribute(attr); + return val == null || !val.length?def:val; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_linksAndScripts__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(g){ + var d, e, e$array, e$index, e$max, imports, toAdd; + imports = com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(g, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ["link[rel='import'], script[src]"])); + com_google_gwt_query_client_GQuery_$each__Lcom_google_gwt_query_client_GQuery_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2(imports, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_WCUtils$4__V(g)])); + toAdd = (com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_query_client_js_JsNodeArray_2V(com_google_gwt_query_client_js_JsNodeArray_create__Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_js_JsNodeArray_2(null))); + for (e$array = imports.com_google_gwt_query_client_GQuery_elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) { + e = e$array[e$index]; + d = com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e), 'import'); + !!d && com_google_gwt_query_client_GQuery_$add__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(toAdd, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_linksAndScripts__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(d))); + } + return com_google_gwt_query_client_GQuery_$pushStack__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_js_JsNodeArray_2Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(imports, com_google_gwt_query_client_js_JsUtils_copyNodeList__Lcom_google_gwt_dom_client_NodeList_2Lcom_google_gwt_dom_client_NodeList_2ZLcom_google_gwt_dom_client_NodeList_2(imports.com_google_gwt_query_client_GQuery_nodeList, toAdd.com_google_gwt_query_client_GQuery_nodeList, true), com_google_gwt_query_client_GQuery_$join__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(',', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, [imports.com_google_gwt_query_client_GQuery_currentSelector, toAdd.com_google_gwt_query_client_GQuery_currentSelector]))); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadTheme__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(container, style, theme){ + var base, l, links_0, s, v, com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_global_0, com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_key_0; + links_0 = com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_linksAndScripts__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_document))); + l = com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(links_0, new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$5_WCUtils$5__V); + s = com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(links_0, new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$6_WCUtils$6__V); + v = com_google_gwt_query_client_GQuery_$filter__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Predicate_2Lcom_google_gwt_query_client_GQuery_2(links_0, new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$7_WCUtils$7__V); + base = java_lang_String_$replace__Ljava_lang_String_2Ljava_lang_CharSequence_2Ljava_lang_CharSequence_2Ljava_lang_String_2((com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_key_0 = '__gwtDevModeHook:' + $moduleName + ':moduleBase' , com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_global_0 = $wnd || self , com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_global_0[com_google_gwt_core_client_impl_Impl_getModuleBaseURL__Ljava_lang_String_2_key_0] || $moduleBase), $moduleName + '/', ''); + if (l.com_google_gwt_query_client_GQuery_elements.length == 0) { + base.indexOf('VAADIN/widgetsets') != -1?(base += '../themes/'):v.com_google_gwt_query_client_GQuery_elements.length == 0?s.com_google_gwt_query_client_GQuery_elements.length == 0 || (base += 'VAADIN/themes/'):(base = java_lang_String_$replace__Ljava_lang_String_2Ljava_lang_CharSequence_2Ljava_lang_CharSequence_2Ljava_lang_String_2(v.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(v, 0), 'src'), 'vaadin-components.js', 'themes/')); + } + else { + base = java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(l.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(l, 0), 'href'), '[\\w\\-]+\\.html', ''); + java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(base, '^(|/|.*[\\w\\-]/)$')?(base += '../vaadin-'):(base += 'VAADIN/themes/'); + } + base += theme + '/styles.css'; + com_google_gwt_query_client_GQuery_$addClass__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(container, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, [theme])); + com_google_gwt_query_client_GQuery_$text__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(style, "@import url('" + base + "')"); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinGlobalTheme__Lcom_google_gwt_query_client_Function_2V(f){ + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_ready___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [])), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_WCUtils$2__V(f)])); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinTheme__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2V(container, el, style, f){ + var theme; + theme = com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(el, 'theme', null); + if (theme == null) { + return; + } + if (java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2I(com_google_gwt_query_client_GQuery_$text__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(style)), theme) != -1) { + return; + } + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadTheme__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(container), com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(style), theme); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_waitUntilThemeLoaded__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Function_2V(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(style), f); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_observe__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_user_client_EventListener_2V(jso, ev){ + var fnc = function(changes){ + ev.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(null); + } + ; + jso.__fnc = fnc; + Object.observe(jso, fnc); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_ready___3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(fncs){ + return com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_WCUtils$1__V, fncs); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_unobserve__Lcom_google_gwt_core_client_JavaScriptObject_2V(jso){ + if (jso && jso.__fnc) { + Object.unobserve(jso, jso.__fnc); + jso.__fnc = undefined; + } +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_waitUntilThemeLoaded__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Function_2V(style, f){ + var r, s; + s = style.com_google_gwt_query_client_GQuery_elements.length == 0?null:com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(style, 0), 'sheet'); + if (s) { + r = !s?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(s, 'rules'); + !!r && r.length > 0 && com_google_gwt_core_client_impl_SchedulerImpl_$scheduleIncremental__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$RepeatingCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_WCUtils$3__V(r, style, f)); + } +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_$f__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2Lcom_google_gwt_query_client_Promise$Deferred_2V(this$static, dfd){ + 'complete' === com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2((com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_document)), 'readyState')?com_google_gwt_query_client_plugins_deferred_Deferred_$resolve__Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_Promise$Deferred_2(dfd, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [])):com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(new com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_WCUtils$1$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2V(this$static, dfd), 5); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_WCUtils$1__V(){ + com_google_gwt_query_client_plugins_deferred_PromiseFunction_PromiseFunction__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(293, 128, $intern_22, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_WCUtils$1__V); +_.f__Lcom_google_gwt_query_client_Promise$Deferred_2V = function(dfd){ + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_$f__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2Lcom_google_gwt_query_client_Promise$Deferred_2V(this, dfd); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(293); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_WCUtils$1$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2V(this$1, val$dfd){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_this$11 = this$1; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_val$dfd2 = val$dfd; + com_google_gwt_user_client_Timer_Timer__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(294, 39, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_WCUtils$1$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2V); +_.run__V = function(){ + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_$f__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2Lcom_google_gwt_query_client_Promise$Deferred_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_this$11, this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_val$dfd2); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$1$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(294); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_WCUtils$2__V(val$f){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_val$f1 = val$f; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(295, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_WCUtils$2__V); +_.f__V = function(){ + var body_0, style, theme; + body_0 = (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('body', com_google_gwt_query_client_GQuery_document)); + theme = body_0.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(body_0, 0), 'vaadin-theme'); + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [theme]))); + if (theme.length) { + style = com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('#__vaadin-style', com_google_gwt_query_client_GQuery_document); + style.com_google_gwt_query_client_GQuery_elements.length == 0 && (style = com_google_gwt_query_client_GQuery_$appendTo__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2("<style id='__vaadin-style' language='text/css'><\/style>", com_google_gwt_query_client_GQuery_document), com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('head', com_google_gwt_query_client_GQuery_document))); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadTheme__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2V(body_0, style, theme); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_waitUntilThemeLoaded__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_Function_2V(style, this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_val$f1); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(295); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_WCUtils$3__V(val$r, val$style, val$f){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$r1 = val$r; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$style2 = val$style; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$f3 = val$f; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(296, 1, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_WCUtils$3__V); +_.execute__Z = function(){ + var s; + s = this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$r1[0]; + !s?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(s, 'styleSheet'); + if (!!this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$r1 && this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$r1.length > 0) { + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [(com_google_gwt_query_client_GQuery_$clinit__V() , 'Theme fully loaded: ' + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$style2)]))); + !!this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$f3 && this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_val$f3.f__V(); + return false; + } + return true; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(296); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_WCUtils$4__V(val$g){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_val$g1 = val$g; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(297, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_WCUtils$4__V); +_.f__V = function(){ + var a, attr; + a = com_google_gwt_query_client_GQuery_$__Ljava_lang_String_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_query_client_GQuery_2('<a>', com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_val$g1, 0)); + attr = com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(this.com_google_gwt_query_client_Function_element)), 'href') != null?'href':'src'; + com_google_gwt_query_client_GQuery_$prop__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(a, com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(this.com_google_gwt_query_client_Function_element), attr)); + com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(this.com_google_gwt_query_client_Function_element), attr, a.com_google_gwt_query_client_GQuery_elements.length == 0?null:com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(a, 0), 'href')); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(297); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$5_WCUtils$5__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(298, 528, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$5_WCUtils$5__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + var h; + h = com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), 'href'); + return java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(h, '^(|.*/)(vaadin-[\\w\\-]+)\\.html'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$5_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(298); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$6_WCUtils$6__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(299, 528, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$6_WCUtils$6__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + var h; + h = com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), 'src'); + return java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(h, '^.*\\.nocache.js.*'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$6_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(299); +function com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$7_WCUtils$7__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(300, 528, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils$7_WCUtils$7__V); +_.f__Lcom_google_gwt_dom_client_Element_2IZ = function(e, index_0){ + var h; + h = com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(e)), 'src'); + return java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(h, h.length - 20, 20), 'vaadin-components.js'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCUtils$7_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(300); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static){ + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size = this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.size__I(); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2IV(this$static, this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2IV(this$static, size_0){ + var com_google_gwt_user_client_Window$Location_getParameter__Ljava_lang_String_2Ljava_lang_String_2_paramsForName_0; + if ((com_google_gwt_user_client_Window$Location_ensureListParameterMap__V() , com_google_gwt_user_client_Window$Location_getParameter__Ljava_lang_String_2Ljava_lang_String_2_paramsForName_0 = com_google_gwt_user_client_Window$Location_listParamMap.get__Ljava_lang_Object_2Ljava_lang_Object_2('resize') , !com_google_gwt_user_client_Window$Location_getParameter__Ljava_lang_String_2Ljava_lang_String_2_paramsForName_0?null:com_google_gwt_user_client_Window$Location_getParameter__Ljava_lang_String_2Ljava_lang_String_2_paramsForName_0.get__ILjava_lang_Object_2(com_google_gwt_user_client_Window$Location_getParameter__Ljava_lang_String_2Ljava_lang_String_2_paramsForName_0.size__I() - 1)) != null && size_0 > 0) { + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size = size_0; + com_vaadin_client_widgets_Grid_$setHeightMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_shared_ui_grid_HeightMode_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, (com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , com_vaadin_shared_ui_grid_HeightMode_ROW)); + com_vaadin_client_widgets_Grid_$setHeightByRows__Lcom_vaadin_client_widgets_Grid_2DV(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, size_0 < 10?size_0:10); + } +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$getGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Lcom_vaadin_client_widgets_Grid_2(this$static){ + if (!this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid) { + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static); + } + return this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static){ + var c, cell, col, content, dataSource, header, i, j, k, l, offset, row, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_createGridColumn__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2ILcom_vaadin_client_widgets_Grid$Column_2_templateRegexp_0; + if (!this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed) { + return; + } + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = false; + dataSource = this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource; + com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel, 104) && java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this$static), 'selectionMode'), 'multi')?com_vaadin_client_widgets_Grid_$setSelectionMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$SelectionMode_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, (com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V() , com_vaadin_client_widgets_Grid$SelectionMode_MULTI)):com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel, 105) && !java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(com_google_gwt_query_client_GQuery_$attr__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this$static), 'selectionMode'), 'multi') && com_vaadin_client_widgets_Grid_$setSelectionMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$SelectionMode_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, (com_vaadin_client_widgets_Grid$SelectionMode_$clinit__V() , com_vaadin_client_widgets_Grid$SelectionMode_SINGLE)); + while (this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_gridColumns.java_util_ArrayList_array.length > 0) { + com_vaadin_client_widgets_Grid_$removeColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_gridColumns.remove__ILjava_lang_Object_2(0)); + } + if (this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols) { + for (i = 0 , l = this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols.size__I(); i < l; i++) { + c = this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols.get__ILjava_lang_Object_2(i); + col = (com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_createGridColumn__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2ILcom_vaadin_client_widgets_Grid$Column_2_templateRegexp_0 = new RegExp('\\{\\{data\\}\\}', 'ig') , new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_WCVGrid$3__Lcom_vaadin_client_renderers_Renderer_2V(new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_WCVGrid$2__V(c, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_createGridColumn__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2ILcom_vaadin_client_widgets_Grid$Column_2_templateRegexp_0), c, i)); + com_vaadin_client_widgets_Grid_$addColumn__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$Column_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, col); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_gridColumns, col); + for (j = 0; j < com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$headerData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2(c).java_util_Arrays$ArrayList_array.length; j++) { + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_header.com_vaadin_client_widgets_Grid$StaticSection_rows.java_util_ArrayList_array.length < com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$headerData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2(c).java_util_Arrays$ArrayList_array.length && com_vaadin_client_widgets_Grid$StaticSection_$appendRow__Lcom_vaadin_client_widgets_Grid$StaticSection_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_header); + header = java_util_Arrays$ArrayList_$get__Ljava_util_Arrays$ArrayList_2ILjava_lang_Object_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$headerData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2(c), j); + offset = 0; + for (k = 0; k <= j + offset; k++) { + row = com_vaadin_client_widgets_Grid_$getHeaderRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$HeaderRow_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, k); + com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(row, com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, i)).com_vaadin_client_widgets_Grid$StaticSection$StaticCell_colspan != 1 && ++offset; + } + cell = com_vaadin_client_widgets_Grid$StaticSection$StaticRow_$getCell__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2Lcom_vaadin_client_widgets_Grid$Column_2Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2(com_vaadin_client_widgets_Grid_$getHeaderRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$HeaderRow_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, j + offset), col); + com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setColspan__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2IV(cell, com_google_gwt_lang_Cast_round_1int__DI(com_google_gwt_query_client_Properties_$getFloat__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2F(header.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'colSpan'))); + content = com_google_gwt_query_client_Properties_$get__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(header.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'content'); + switch (com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_valueOf__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2(com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(header.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'format')).java_lang_Enum_ordinal) { + case 1: + cell.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_content = content; + cell.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_type = (com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V() , com_vaadin_shared_ui_grid_GridStaticCellType_HTML); + com_vaadin_client_widgets_Grid$Header_$requestSectionRefresh__Lcom_vaadin_client_widgets_Grid$Header_2V(cell.com_vaadin_client_widgets_Grid$StaticSection$StaticCell_section); + break; + case 2: + com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setWidget__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Lcom_google_gwt_user_client_ui_Widget_2V(cell, content); + break; + case 0: + com_vaadin_client_widgets_Grid$StaticSection$StaticCell_$setText__Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2Ljava_lang_String_2V(cell, content); + } + } + } + com_vaadin_client_widgets_Grid_$setDefaultHeaderRow__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_widgets_Grid$HeaderRow_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, com_vaadin_client_widgets_Grid_$getHeaderRow__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$HeaderRow_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_headerDefaultRowIndex)); + } + this$static.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadRows__V(); + !!this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals && !this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals.isEmpty__Z() && (dataSource = new com_vaadin_client_widget_grid_datasources_ListDataSource_ListDataSource__Ljava_util_List_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals)); + !!dataSource && com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, dataSource); + com_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_addResizeListener__Lcom_google_gwt_dom_client_Element_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeListener_2Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeListener_2(com_google_gwt_user_client_ui_UIObject_$getElement__Lcom_google_gwt_user_client_ui_UIObject_2Lcom_google_gwt_user_client_Element_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid), new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_WCVGrid$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static)); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$setCols__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Ljava_util_List_2V(this$static, cols_0){ + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; + this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols = cols_0; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_WCVGrid__V(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$$init__V(); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_c__Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Escalator_2(r){ + r.com_vaadin_client_widgets_Escalator$AbstractRowContainer_defaultRowHeightShouldBeAutodetected = true; + r.autodetectRowHeightLater__V(); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_createGridColumn__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2ILcom_vaadin_client_widgets_Grid$Column_2(gColumn, idx){ + var templateRegexp; + templateRegexp = new RegExp('\\{\\{data\\}\\}', 'ig'); + return new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_WCVGrid$3__Lcom_vaadin_client_renderers_Renderer_2V(new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_WCVGrid$2__V(gColumn, templateRegexp), gColumn, idx); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(180, 524, {556:1}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_WCVGrid__V); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$$init__V = function(){ +} +; +_.adjustHeight__V = function(){ + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this); +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$adjustHeight__IV = function(size_0){ + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2IV(this, size_0); +} +; +_.attachedCallback = function(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$initWidgetSystem__V(); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$readAttributes__V(); +} +; +_.attributeChangedCallback = function(){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing || this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$readAttributes__V(); +} +; +_.createdCallback = function(){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_style = (com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V() , com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('style')); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_style.setAttribute('language', 'text/css'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectEvent = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createEvent('HTMLEvents'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectEvent.initEvent('select', false, false); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectEvent.srcElement = this; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_container = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('div'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols = new java_util_ArrayList_ArrayList__V; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals = new java_util_ArrayList_ArrayList__V; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_gridColumns = new java_util_ArrayList_ArrayList__V; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid = new com_vaadin_client_widgets_Grid_Grid__V; + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this, (com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V() , com_vaadin_client_widget_grid_selection_SelectionEvent_$clinit__V() , com_vaadin_client_widget_grid_selection_SelectionEvent_eventType)); +} +; +_.getCols__Ljava_util_List_2 = function(){ + return this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols; +} +; +_.getColumns = function(){ + var i, i0, l, l0; + if (this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso) { + for (i0 = 0 , l0 = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso.length; i0 < l0; i0++) { + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_unobserve__Lcom_google_gwt_core_client_JavaScriptObject_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso[i0]); + } + } + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso = com_google_gwt_query_client_Properties_$get__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$setColumns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit)), this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols).com_google_gwt_query_client_builders_JsonBuilderBase_p, 'columns'); + for (i = 0 , l = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso.length; i < l; i++) { + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_observe__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_user_client_EventListener_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso[i], new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_WCVGrid$6__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this)); + } + return this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_columnsJso; +} +; +_.getDataSource = function(){ + return com_google_gwt_core_client_JavaScriptObject_createFunction__Lcom_google_gwt_core_client_JavaScriptObject_2(); +} +; +_.getGrid__Lcom_vaadin_client_widgets_Grid_2 = function(){ + return com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$getGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Lcom_vaadin_client_widgets_Grid_2(this); +} +; +_.getHeightMode = function(){ + return java_lang_Enum_$toString__Ljava_lang_Enum_2Ljava_lang_String_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_escalator.com_vaadin_client_widgets_Escalator_heightMode); +} +; +_.getRowCount = function(){ + return this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size; +} +; +_.getSelectedRow = function(){ + return !this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid || !this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel || !com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel, 124) || com_vaadin_client_widgets_Grid_$getSelectedRow__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid) == null?-1:this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.indexOf__Ljava_lang_Object_2I(com_vaadin_client_widgets_Grid_$getSelectedRow__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid)); +} +; +_.getSelectedRows = function(){ + var c, i; + if (!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedLock) { + !this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso && (this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso = []); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso.length = 0; + c = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel.getSelectedRows__Ljava_util_Collection_2(); + for (i = c.iterator__Ljava_util_Iterator_2(); i.hasNext__Z();) { + com_google_gwt_core_client_JsArrayInteger_$push__Lcom_google_gwt_core_client_JsArrayInteger_2IV(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.indexOf__Ljava_lang_Object_2I(i.next__Ljava_lang_Object_2())); + } + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_unobserve__Lcom_google_gwt_core_client_JavaScriptObject_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_observe__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_user_client_EventListener_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso, new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_WCVGrid$7__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this)); + } + return this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso; +} +; +_.getTheme = function(){ + this.getAttribute('theme'); +} +; +_.initGrid__V = function(){ + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this); +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$initWidgetSystem__V = function(){ + var elementWidget, shadow, shadowPanel; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_initialized || (this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom = com_google_gwt_query_client_plugin_Observe_$observe__Lcom_google_gwt_query_client_plugin_Observe_2Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2Lcom_google_gwt_query_client_plugin_Observe$MutationListener_2Lcom_google_gwt_query_client_plugin_Observe_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$hide__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this))), (com_google_gwt_query_client_plugin_Observe_$clinit__V() , com_google_gwt_query_client_plugin_Observe_Observe)), com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$subtree__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$childList__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$characterData__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2(com_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_$attributes__Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2ZLcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationObserverInit_12_1classLit)))))), this)); + if (!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_initialized) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_initialized = true; + elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), 0); + !elementWidget && (elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(elementWidget, this, (!com_google_gwt_event_logical_shared_AttachEvent_TYPE && (com_google_gwt_event_logical_shared_AttachEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_AttachEvent_TYPE)); + if ((java_lang_Boolean_$clinit__V() , java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('true', com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this, 'shadow', 'false'))?java_lang_Boolean_TRUE:java_lang_Boolean_FALSE).java_lang_Boolean_value) { + shadow = this.createShadowRoot(); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_style); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_container); + } + else { + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_style); + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_container); + } + shadowPanel = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_container), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0); + shadowPanel.add__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid); + } +} +; +_.jsPropertyColumns = function(){ +} +; +_.jsPropertyDataSource = function(){ +} +; +_.jsPropertyHeight = function(){ +} +; +_.jsPropertyHeightMode = function(){ +} +; +_.jsPropertyRowCount = function(){ +} +; +_.jsPropertySelectedRow = function(){ +} +; +_.jsPropertySelectedRows = function(){ +} +; +_.jsPropertyTheme = function(){ +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadData__V = function(){ + !!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals && !this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals.isEmpty__Z() && com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, new com_vaadin_client_widget_grid_datasources_ListDataSource_ListDataSource__Ljava_util_List_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals)); +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadHeaders__V = function(){ + var $templateRow, $th, $theadRows, $ths, colList, colOffset, colSpan, colString, column, contentsMap, header, html, i, i0, i1, iterator, j, txt; + $theadRows = com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['thead tr'])); + txt = com_google_gwt_query_client_GQuery_$toString__Lcom_google_gwt_query_client_GQuery_2ZLjava_lang_String_2($theadRows); + if ($theadRows.com_google_gwt_query_client_GQuery_elements.length == 0 || java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(txt, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lastHeaders)) { + return; + } + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lastHeaders = txt; + colList = new java_util_ArrayList_ArrayList__V; + contentsMap = new java_util_HashMap_HashMap__V; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_headerDefaultRowIndex = com_google_gwt_query_client_GQuery_$index__Lcom_google_gwt_query_client_GQuery_2Lcom_google_gwt_dom_client_Element_2I($theadRows, com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2(com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['tr[default]'])), 0)); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_headerDefaultRowIndex == -1 && (this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_headerDefaultRowIndex = 0); + for (i0 = 0; i0 < $theadRows.com_google_gwt_query_client_GQuery_elements.length; i0++) { + $ths = com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($theadRows, i0)), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['th'])); + while (colList.java_util_ArrayList_array.length < $ths.com_google_gwt_query_client_GQuery_elements.length) { + column = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit)); + contentsMap.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(column, new java_util_ArrayList_ArrayList__V); + colList.java_util_ArrayList_array[colList.java_util_ArrayList_array.length] = column; + } + } + for (i1 = 0; i1 < $theadRows.com_google_gwt_query_client_GQuery_elements.length; i1++) { + $ths = com_google_gwt_query_client_GQuery_$children__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($theadRows, i1)), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['th'])); + colOffset = 0; + for (j = 0; j < $ths.com_google_gwt_query_client_GQuery_elements.length; j++) { + column = (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(j + colOffset, colList.java_util_ArrayList_array.length) , colList.java_util_ArrayList_array[j + colOffset]); + header = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit)); + $th = new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($ths, j)); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(column, $th.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($th, 0), 'name')); + colSpan = 1; + colString = $th.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getAttribute__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($th, 0), 'colspan'); + if (colString.length) { + colSpan = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(colString); + colOffset += colSpan - 1; + } + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setFormat__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setContent__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2((com_google_gwt_query_client_Properties_$setNumber__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2DV(header.com_google_gwt_query_client_builders_JsonBuilderBase_p, colSpan) , header), $th.com_google_gwt_query_client_GQuery_elements.length == 0?'':com_google_gwt_dom_client_Element_$getInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($th, 0))), (com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V() , com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML)); + contentsMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(column).add__Ljava_lang_Object_2Z(header); + } + } + iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(contentsMap)); + com_google_gwt_query_client_GQuery_$remove__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2ZLcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['div[v-wc-container]'])), true); + $templateRow = com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['tr[template] td'])); + for (i = 0; iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z(); i++) { + column = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(iterator); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setHeaderData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(column, contentsMap.get__Ljava_lang_Object_2Ljava_lang_Object_2(column)); + if (i < $templateRow.com_google_gwt_query_client_GQuery_elements.length) { + html = com_google_gwt_query_client_GQuery_$html__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($templateRow, i))); + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(column.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'template', html); + } + } + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols = colList; +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadRows__V = function(){ + var $td, $tr, a, i, tr, tr$array, tr$index, tr$max; + $tr = com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lightDom, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['tbody tr:not([template])'])); + if ($tr.com_google_gwt_query_client_GQuery_elements.length != 0) { + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$setVals__Ljava_util_List_2V(new java_util_ArrayList_ArrayList__V); + for (tr$array = $tr.com_google_gwt_query_client_GQuery_elements , tr$index = 0 , tr$max = tr$array.length; tr$index < tr$max; ++tr$index) { + tr = tr$array[tr$index]; + a = []; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals.add__Ljava_lang_Object_2Z(a); + $td = com_google_gwt_query_client_GQuery_$find__Lcom_google_gwt_query_client_GQuery_2_3Ljava_lang_String_2Lcom_google_gwt_query_client_GQuery_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(tr)), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, 1), $intern_1, 2, 4, ['td'])); + for (i = 0; i < $td.com_google_gwt_query_client_GQuery_elements.length; i++) { + com_google_gwt_core_client_JsArrayMixed_$push__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_String_2V(a, com_google_gwt_query_client_GQuery_$html__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(com_google_gwt_query_client_GQuery_$get__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_dom_client_Element_2($td, i)))); + } + } + } +} +; +_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V = function(event_0){ +} +; +_.onAttachOrDetach = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V, false, [false]); +_.onMutation = function(mutations){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$readAttributes__V(); +} +; +_.onSelect__Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2V = function(ev){ + if (!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing = true; + this.dispatchEvent(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectEvent); + this.setAttribute('selectedRow', '' + (this.selectedRow < 0?'':java_lang_Integer_valueOf__ILjava_lang_Integer_2(this.selectedRow))); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing = false; + } +} +; +_.onSelect = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onSelect__Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2V, false, [false]); +_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V = function(ev){ +} +; +_.onValueChange = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V, false, [false]); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$parseAttributeDeclarations__V = function(){ + var count, dataPath, jso, match_0, regex; + dataPath = this.getAttribute('dataSource'); + regex = new RegExp('\\{\\{\\s*(\\w+)\\s*\\}\\}'); + match_0 = regex.exec(dataPath); + if (match_0) { + jso = com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2((com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_window), match_0[1]); + if (com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + count = this.getAttribute('rowCount'); + match_0 = regex.exec(count); + !!match_0 && (count = '' + com_google_gwt_query_client_js_JsUtils_prop__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_query_client_GQuery_window, match_0[1])); + count != null && java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(count, '[\\d\\.\\+]+') && (this.rowCount = java_lang_Integer_valueOf__ILjava_lang_Integer_2(java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(count)).java_lang_Integer_value); + this.dataSource = jso; + } + else if (com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals = com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$values__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit)).set__Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2('values', jso)); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadData__V(); + } + else { + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, ['Unknown type of datasource: ' + jso]))); + } + } +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$readAttributes__V = function(){ + var p, type_0, url_0; + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinTheme__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_container, this, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_style, new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$4_WCVGrid$4__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadHeaders__V(); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadRows__V(); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$parseAttributeDeclarations__V(); + this.selectedRow = com_google_gwt_lang_Cast_round_1int__DI(com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(this, 'selectedRow', -1)); + type_0 = com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this, 'type', null); + url_0 = com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this, 'url', null); + if (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z('ajax', type_0) && url_0 != null) { + p = {}; + com_google_gwt_query_client_js_JsCache_$put__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsCache_2(p, 'url', url_0); + this.dataSource = p; + } +} +; +_.redraw = function(){ + var columnConfiguration, e, i; + e = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_escalator; + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_c__Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Escalator_2(e.com_vaadin_client_widgets_Escalator_header); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_c__Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Escalator_2(e.com_vaadin_client_widgets_Escalator_footer); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_c__Lcom_vaadin_client_widget_escalator_RowContainer_2Lcom_vaadin_client_widgets_Escalator_2(e.com_vaadin_client_widgets_Escalator_body); + columnConfiguration = e.com_vaadin_client_widgets_Escalator_columnConfiguration; + for (i = 0; i < columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns.java_util_ArrayList_array.length; i++) { + com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$setColumnWidth__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IDV(columnConfiguration, i, (com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_$checkValidColumnIndex__Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2IV(columnConfiguration, i) , java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(columnConfiguration.com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_columns, i).com_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_definedWidth)); + } +} +; +_.refresh = function(){ + var a; + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource, 61)) { + a = this.selectedRow; + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$refresh__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource); + if (a > 0) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing = true; + com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this).delay__I_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_GQuery_2(5, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_WCVGrid$5__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this, a)])); + } + } + else + !!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource && com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource); +} +; +_.setCols__Ljava_util_List_2V = function(cols_0){ + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$setCols__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Ljava_util_List_2V(this, cols_0); +} +; +_.setColumnWidth = function(column, widht){ + com_vaadin_client_widgets_Grid_$getColumn__Lcom_vaadin_client_widgets_Grid_2ILcom_vaadin_client_widgets_Grid$Column_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, column).setWidth__DLcom_vaadin_client_widgets_Grid$Column_2(widht); +} +; +_.setColumns = function(newCols){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols = com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$columns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit)).set__Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2('columns', newCols)); +} +; +_.setDataSource = function(jso){ + if (com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, new com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_GJsFuncDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(jso, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size, this)); + } + else if (com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(jso)) { + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadHeaders__V(); + com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, new com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_GJsObjectDataSource__Lcom_google_gwt_core_client_JsArray_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(jso, this)); + } + else { + if ((!jso?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(jso, 'url')) != null) { + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$loadHeaders__V(); + new com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_GRestDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(jso, this); + } + else { + throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V('Unknown jso: ' + jso); + } + } +} +; +_.setHeight = function(height){ + com_vaadin_client_widgets_Grid_$setHeight__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_String_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, height); +} +; +_.setHeightMode = function(mode){ + com_vaadin_client_widgets_Grid_$setHeightMode__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_shared_ui_grid_HeightMode_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, (com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , java_lang_Enum_valueOf__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Ljava_lang_Enum_2((com_vaadin_shared_ui_grid_HeightMode$Map_$clinit__V() , com_vaadin_shared_ui_grid_HeightMode$Map_$MAP), mode))); +} +; +_.setRowCount = function(rows_0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size = com_google_gwt_lang_Cast_round_1int__DI(rows_0); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2IV(this, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size); +} +; +_.setSelectedRow = function(idx){ + var $tmp$0; + idx < 0 || idx >= this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.size__I()?this.selectedRow >= 0 && com_vaadin_client_widgets_Grid_$deselect__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(this.selectedRow)):com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(idx)); + $tmp$0 = this; + com_google_gwt_lang_JavaClassHierarchySetupUtil_trampolineBridgeMethod__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2Z($tmp$0, $tmp$0.onSelect, $tmp$0.onSelect__Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2V).bind($tmp$0)(null); +} +; +_.setSelectedRows = function(arr){ + var i, l; + arr != this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso && com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_unobserve__Lcom_google_gwt_core_client_JavaScriptObject_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso = arr; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedLock = true; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_selectionModel.reset__V(); + for (i = 0 , l = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso.length; i < l; i++) { + com_vaadin_client_widgets_Grid_$select__Lcom_vaadin_client_widgets_Grid_2Ljava_lang_Object_2Z(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_grid.com_vaadin_client_widgets_Grid_dataSource.getRow__ILjava_lang_Object_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso[i])); + } + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedLock = false; +} +; +_.setTheme = function(value_0){ + this.setAttribute('theme', value_0); +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$setVals__Ljava_util_List_2V = function(vals){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_vals = vals; +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_changed = true; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_headerDefaultRowIndex = 0; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_initialized = false; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_lastHeaders = null; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing = false; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedLock = false; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_size = 0; +var com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_TAG = 'v-grid'; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(180); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_WCVGrid$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(181, 1, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_WCVGrid$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(181); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_WCVGrid$2__V(val$gColumn, val$templateRegexp){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$gColumn1 = val$gColumn; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$templateRegexp2 = val$templateRegexp; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(182, 1, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_WCVGrid$2__V); +_.render__Lcom_vaadin_client_widget_grid_RendererCellReference_2Ljava_lang_Object_2V = function(cell, data_0){ + var elm, o; + o = com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$gColumn1.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'renderer'); + elm = cell.com_vaadin_client_widget_grid_RendererCellReference_cell.com_vaadin_client_widget_escalator_FlyweightCell_element; + if (o) { + if (com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o)) { + com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(o, 'call', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [o, elm, data_0, cell.com_vaadin_client_widget_grid_CellReference_rowReference.com_vaadin_client_widget_grid_RowReference_row])); + } + else { + if (com_google_gwt_query_client_GQuery_$data__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2((com_google_gwt_query_client_GQuery_$clinit__V() , new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(elm))) == null) { + com_google_gwt_query_client_GQuery_$data__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_String_2Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(new com_google_gwt_query_client_GQuery_GQuery__Lcom_google_gwt_dom_client_Element_2V(elm), (java_lang_Boolean_$clinit__V() , java_lang_Boolean_$clinit__V() , java_lang_Boolean_TRUE)); + com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(o, 'init', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [elm])); + } + com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(o, 'render', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [elm, data_0])); + } + } + else { + com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$gColumn1.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'template') != null?com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elm, com_google_gwt_regexp_shared_RegExp_$replace__Lcom_google_gwt_regexp_shared_RegExp_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$templateRegexp2, com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_val$gColumn1.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'template'), '' + data_0)):com_google_gwt_dom_client_Element_$setInnerHTML__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elm, '' + data_0); + } +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(182); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_$getValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_2Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(this$static, row){ + var o, p; + o = com_google_gwt_query_client_Properties_$get__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$gColumn2.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'value'); + if (com_google_gwt_lang_Cast_instanceOfJso__Ljava_lang_Object_2Z(o) && com_google_gwt_query_client_js_JsUtils_isFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Z(o)) { + o = com_google_gwt_query_client_js_JsUtils_runJavascriptFunction__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Object_2(o, 'call', com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [o, row, java_lang_Integer_valueOf__ILjava_lang_Integer_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$idx3)])); + } + else if (com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(o)) { + o = !row?null:com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(row, o); + } + else { + if (com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(row)) { + o = com_google_gwt_core_client_JsArrayMixed_$getObject__Lcom_google_gwt_core_client_JsArrayMixed_2ILcom_google_gwt_core_client_JavaScriptObject_2(row, this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$idx3); + } + else { + p = row; + o = com_google_gwt_query_client_Properties_$getObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2(p, com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(p)[this$static.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$idx3]); + } + } + return o; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_WCVGrid$3__Lcom_vaadin_client_renderers_Renderer_2V($anonymous0, val$gColumn, val$idx){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$gColumn2 = val$gColumn; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$idx3 = val$idx; + com_vaadin_client_widgets_Grid$Column_Grid$Column__Lcom_vaadin_client_renderers_Renderer_2V.call(this, $anonymous0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(183, 126, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_WCVGrid$3__Lcom_vaadin_client_renderers_Renderer_2V); +_.getValue__Ljava_lang_Object_2Ljava_lang_Object_2 = function(row){ + return com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_$getValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_2Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(this, row); +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_val$idx3 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(183); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$4_WCVGrid$4__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(){ + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(184, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$4_WCVGrid$4__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.f__V = function(){ + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [(com_google_gwt_query_client_GQuery_$clinit__V() , 'LOADED...')]))); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(184); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_WCVGrid$5__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$0, val$a){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_this$01 = this$0; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_val$a2 = val$a; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(185, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_WCVGrid$5__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.f__V = function(){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_this$01.selectedRow = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_val$a2; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_refreshing = false; +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_val$a2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$5_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(185); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_WCVGrid$6__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(186, 1, {19:1}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_WCVGrid$6__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_this$01.refresh(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$6_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(186); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_WCVGrid$7__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(187, 1, {19:1}, com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_WCVGrid$7__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function(event_0){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_this$01.selectedRows = this.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_this$01.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_selectedJso; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVGrid$7_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(187); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_WCVProgress__V(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$$init__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(178, 523, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_WCVProgress__V); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$$init__V = function(){ +} +; +_.attachedCallback = function(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$initWidgetSystem__V(); +} +; +_.attributeChangedCallback = function(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$readAttributes__V(); +} +; +_.createdCallback = function(){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_style = (com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V() , com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('style')); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_progress = new com_vaadin_client_ui_VProgressBar_VProgressBar__V; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_changeEvent = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createEvent('HTMLEvents'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_changeEvent.initEvent('change', false, false); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_changeEvent.srcElement = this; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('div'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container.setAttribute('v-wc-container', ''); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$readAttributes__V(); +} +; +_.getTheme = function(){ + this.getAttribute('theme'); +} +; +_.getValue = function(){ + return 0; +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$initWidgetSystem__V = function(){ + var elementWidget, shadow, shadowPanel; + if (!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_initialized) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_initialized = true; + elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), 0); + !elementWidget && (elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(elementWidget, this, (!com_google_gwt_event_logical_shared_AttachEvent_TYPE && (com_google_gwt_event_logical_shared_AttachEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_AttachEvent_TYPE)); + if (this.getAttribute('shadow') != null) { + shadow = this.createShadowRoot(); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_style); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container); + } + else { + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_style); + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container); + } + shadowPanel = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0); + shadowPanel.add__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_progress); + } +} +; +_.jsPropertyTheme = function(){ +} +; +_.jsPropertyValue = function(){ +} +; +_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V = function(event_0){ +} +; +_.onAttachOrDetach = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V, false, [false]); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress$readAttributes__V = function(){ + com_vaadin_client_ui_VProgressBar_$setState__Lcom_vaadin_client_ui_VProgressBar_2FV(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_progress, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(this, 'value', 0)); + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinTheme__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_container, this, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_style, null); +} +; +_.setTheme = function(value_0){ + this.setAttribute('theme', value_0); +} +; +_.setValue = function(value_0){ + com_vaadin_client_ui_VProgressBar_$setState__Lcom_vaadin_client_ui_VProgressBar_2FV(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_progress, value_0); +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_initialized = false; +var com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_TAG = 'v-progress'; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVProgress_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(178); +function com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_WCVSlider__V(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$$init__V(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(179, 523, {}, com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_WCVSlider__V); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$$init__V = function(){ +} +; +_.attachedCallback = function(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$initWidgetSystem__V(); + com_vaadin_client_ui_VSlider_$buildBase__Lcom_vaadin_client_ui_VSlider_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider); +} +; +_.attributeChangedCallback = function(){ + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$readAttributes__V(); +} +; +_.createdCallback = function(){ + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_style = (com_vaadin_prototype_wc_gwt_client_util_Elements_$clinit__V() , com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('style')); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider = new com_vaadin_client_ui_VSlider_VSlider__V; + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider, this, (!com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE && (com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_ValueChangeEvent_TYPE)); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_changeEvent = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createEvent('HTMLEvents'); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_changeEvent.initEvent('change', false, false); + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_changeEvent.srcElement = this; + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_container = com_vaadin_prototype_wc_gwt_client_util_Elements_document.createElement('div'); + this.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$readAttributes__V(); +} +; +_.getTheme = function(){ + this.getAttribute('theme'); +} +; +_.getValue = function(){ + return this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider.com_vaadin_client_ui_VSlider_value.java_lang_Double_value; +} +; +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$initWidgetSystem__V = function(){ + var elementWidget, shadow, shadowPanel; + if (!this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_initialized) { + this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_initialized = true; + elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), 0); + !elementWidget && (elementWidget = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0)); + com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(elementWidget, this, (!com_google_gwt_event_logical_shared_AttachEvent_TYPE && (com_google_gwt_event_logical_shared_AttachEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V) , com_google_gwt_event_logical_shared_AttachEvent_TYPE)); + if (this.getAttribute('shadow') != null) { + shadow = this.createShadowRoot(); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_style); + shadow.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_container); + } + else { + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_style); + this.appendChild(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_container); + } + shadowPanel = com_google_gwt_query_client_GQuery_$widget__Lcom_google_gwt_query_client_GQuery_2ILcom_google_gwt_user_client_ui_Widget_2(com_google_gwt_query_client_plugins_Widgets_$widgets__Lcom_google_gwt_query_client_plugins_Widgets_2Lcom_google_gwt_query_client_plugins_widgets_WidgetFactory_2Lcom_google_gwt_query_client_plugins_widgets_WidgetInitializer_2Lcom_google_gwt_query_client_plugins_Widgets_2(com_google_gwt_query_client_GQuery_$as__Lcom_google_gwt_query_client_GQuery_2Ljava_lang_Class_2Lcom_google_gwt_query_client_GQuery_2(com_google_gwt_query_client_GQuery_$__Ljava_lang_Object_2Lcom_google_gwt_query_client_GQuery_2(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_container), (com_google_gwt_query_client_GQuery_$clinit__V() , com_google_gwt_query_client_GQuery_Widgets))), 0); + shadowPanel.add__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider); + } +} +; +_.jsPropertyTheme = function(){ +} +; +_.jsPropertyValue = function(){ +} +; +_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V = function(event_0){ +} +; +_.onAttachOrDetach = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onAttachOrDetach__Lcom_google_gwt_event_logical_shared_AttachEvent_2V, false, [false]); +_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V = function(ev){ + var val; + val = '' + ev.com_google_gwt_event_logical_shared_ValueChangeEvent_value.java_lang_Double_value; + if (!java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(val, this.getAttribute('value'))) { + this.setAttribute('value', val); + this.dispatchEvent(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_changeEvent); + this.value = (new java_lang_Double_Double__Ljava_lang_String_2V(val)).java_lang_Double_value; + } +} +; +_.onValueChange = com_google_gwt_lang_JavaClassHierarchySetupUtil_makeBridgeMethod__Lcom_google_gwt_core_client_JavaScriptObject_2Z_3ZLcom_google_gwt_core_client_JavaScriptObject_2(_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V, false, [false]); +_.private$com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider$readAttributes__V = function(){ + com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_loadVaadinTheme__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2Lcom_google_gwt_query_client_Function_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_container, this, this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_style, null); + com_vaadin_client_ui_VSlider_$setMinValue__Lcom_vaadin_client_ui_VSlider_2DV(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(this, 'min', 0)); + com_vaadin_client_ui_VSlider_$setMaxValue__Lcom_vaadin_client_ui_VSlider_2DV(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider, com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(this, 'max', 100)); + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider, new java_lang_Double_Double__DV(com_vaadin_prototype_wc_gwt_client_widgets_WCUtils_getAttrFloatValue__Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement_2Ljava_lang_String_2FF(this, 'value', 0))); +} +; +_.setTheme = function(value_0){ + this.setAttribute('theme', value_0); +} +; +_.setValue = function(value_0){ + com_vaadin_client_ui_VSlider_$setValue__Lcom_vaadin_client_ui_VSlider_2Ljava_lang_Double_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_slider, new java_lang_Double_Double__DV(value_0)); +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_initialized = false; +var com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_TAG = 'v-slider'; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1WCVSlider_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(179); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse$GAjaxColumn_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_TEXT = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_GData$GColumn$GHeader$Format__Ljava_lang_String_2IV('TEXT', 0); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_GData$GColumn$GHeader$Format__Ljava_lang_String_2IV('HTML', 1); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_WIDGET = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_GData$GColumn$GHeader$Format__Ljava_lang_String_2IV('WIDGET', 2); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_GData$GColumn$GHeader$Format__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_valueOf__Ljava_lang_String_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2(name_0){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V(); + return java_lang_Enum_valueOf__Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2Ljava_lang_Enum_2((com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$clinit__V() , com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$MAP), name_0); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_values___3Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2(){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader$Format_12_1classLit, 1), $intern_1, 68, 0, [com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_TEXT, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_WIDGET]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(68, 4, {68:1, 3:1, 5:1, 4:1}, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_GData$GColumn$GHeader$Format__Ljava_lang_String_2IV); +var com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_TEXT, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_WIDGET; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader$Format_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(68, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_values___3Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$clinit__V(){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$MAP = java_lang_Enum_createValueOfMap___3Ljava_lang_Enum_2Lcom_google_gwt_core_client_JavaScriptObject_2((com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V() , com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader$Format_12_1classLit, 1), $intern_1, 68, 0, [com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_TEXT, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_WIDGET]))); +} + +var com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format$Map_$MAP; +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$configColumnsFromFirstDataRow__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2Lcom_google_gwt_query_client_Properties_2Ljava_util_List_2(this$static, p){ + var colList, k, k$array, k$index, k$max, l; + colList = new java_util_ArrayList_ArrayList__V; + for (k$array = com_google_gwt_query_client_js_JsCache_$keys__Lcom_google_gwt_query_client_js_JsCache_2_3Ljava_lang_String_2(p) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) { + k = k$array[k$index]; + l = new java_util_ArrayList_ArrayList__V; + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(l, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setColSpan__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2ILcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setFormat__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setContent__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit)), k), (com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V() , com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML)))); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(colList, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setHeaderData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit)), k), l)); + } + if (this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid) { + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$setCols__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Ljava_util_List_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid, colList); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid); + } + return colList; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$configColumsFromAjaxResponse__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2Ljava_util_List_2Ljava_util_List_2(this$static, cfgs){ + var c, c$iterator, colList, l; + colList = new java_util_ArrayList_ArrayList__V; + for (c$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(cfgs); c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + c = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(c$iterator.java_util_AbstractList$IteratorImpl_i < c$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , c$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(c$iterator.java_util_AbstractList$IteratorImpl_last = c$iterator.java_util_AbstractList$IteratorImpl_i++)); + l = new java_util_ArrayList_ArrayList__V; + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(l, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setColSpan__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2ILcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setFormat__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setContent__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit)), com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(c.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'title')), (com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_$clinit__V() , com_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_HTML)))); + java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(colList, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setHeaderData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2((!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit)), com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(c.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'name')), l)); + } + if (this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid) { + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$setCols__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Ljava_util_List_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid, colList); + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$initGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid); + } + return colList; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$refresh__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2V(this$static){ + com_vaadin_client_data_AbstractRemoteDataSource_$resetDataAndSize__Lcom_vaadin_client_data_AbstractRemoteDataSource_2IV(this$static, this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2ILcom_google_gwt_core_client_JavaScriptObject_2V(this$static, idx, array){ + var g; + g = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit)).set__Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2('values', array); + com_vaadin_client_data_AbstractRemoteDataSource_$setRowData__Lcom_vaadin_client_data_AbstractRemoteDataSource_2ILjava_util_List_2V(this$static, idx, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$values__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2(g)); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowDataFromJs__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2IILjava_util_List_2Lcom_google_gwt_core_client_JsArray_2Ljava_util_List_2(this$static, idx, count, cols_0, data_0){ + if (data_0.length > 0) { + !com_google_gwt_query_client_js_JsUtils_isArray__Lcom_google_gwt_core_client_JavaScriptObject_2Z(data_0[0]) && (!cols_0 || cols_0.isEmpty__Z()) && (cols_0 = com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$configColumnsFromFirstDataRow__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2Lcom_google_gwt_query_client_Properties_2Ljava_util_List_2(this$static, data_0[0])); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2ILcom_google_gwt_core_client_JavaScriptObject_2V(this$static, idx, data_0.slice(idx, idx + count)); + } + return cols_0; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_GDataSource__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(grid){ + this.com_vaadin_client_data_AbstractRemoteDataSource_requestedAvailability = new com_vaadin_shared_ui_grid_Range_Range__IIV(0, 0); + this.com_vaadin_client_data_AbstractRemoteDataSource_cached = new com_vaadin_shared_ui_grid_Range_Range__IIV(0, 0); + this.com_vaadin_client_data_AbstractRemoteDataSource_indexToRowMap = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_data_AbstractRemoteDataSource_keyToIndexMap = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_data_AbstractRemoteDataSource_cacheStrategy = new com_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_CacheStrategy$DefaultCacheStrategy__V; + this.com_vaadin_client_data_AbstractRemoteDataSource_coverageChecker = new com_vaadin_client_data_AbstractRemoteDataSource$1_AbstractRemoteDataSource$1__Lcom_vaadin_client_data_AbstractRemoteDataSource_2V(this); + this.com_vaadin_client_data_AbstractRemoteDataSource_pinnedCounts = new java_util_HashMap_HashMap__V; + this.com_vaadin_client_data_AbstractRemoteDataSource_pinnedRows = new java_util_HashMap_HashMap__V; + java_util_Collections_$clinit__V(); + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size = 300; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid = grid; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(61, 284, $intern_37); +_.getRowKey__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2 = function(row){ + return row; +} +; +_.getRowKey__Ljava_lang_Object_2Ljava_lang_Object_2 = function(row){ + return this.getRowKey__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2(row); +} +; +_.size__I = function(){ + return this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size; +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(61); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(163, 43, {44:1, 45:1, 559:1}, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11GAjaxConf_11GAjaxResponse_11GAjaxColumn_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(163); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_$columns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_2Ljava_util_List_2(this$static){ + var a, a1, i, instance, l, l1, r, w; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'columns'); + l = !a?0:a.length; + r = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse$GAjaxColumn_12_1classLit, $intern_1, 559, l, 0, 1); + a1 = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'columns'); + l1 = r.length; + for (i = 0; i < l1; i++) { + w = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(a1, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + instance = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder__V; + r[i] = com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(instance, w); + } + return new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(r); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(457, 43, $intern_21, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11GAjaxConf_11GAjaxResponse_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(457); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1JsonBuilder_GData_1GAjaxConf_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(456, 43, $intern_21, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1JsonBuilder_GData_1GAjaxConf_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11GAjaxConf_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(456); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setColSpan__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2ILcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(this$static){ + com_google_gwt_query_client_Properties_$setNumber__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2DV(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 1); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setContent__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(this$static, a){ + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'content', a); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_$setFormat__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2(this$static, a){ + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'format', a.java_lang_Enum_name != null?a.java_lang_Enum_name:'' + a.java_lang_Enum_ordinal); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_GData_1GColumn_1GHeader_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(165, 43, {44:1, 45:1, 510:1}, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_GData_1GColumn_1GHeader_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11GColumn_11GHeader_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(165); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$headerData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2(this$static){ + var a, a1, i, instance, l, l1, r, w; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'headerData'); + l = !a?0:a.length; + r = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit, $intern_1, 510, l, 0, 1); + a1 = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'headerData'); + l1 = r.length; + for (i = 0; i < l1; i++) { + w = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(a1, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + instance = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_GData_1GColumn_1GHeader_1JsonBuilder__V; + r[i] = com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(instance, w); + } + return new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(r); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setHeaderData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(this$static, a){ + com_google_gwt_query_client_builders_JsonBuilderBase_$setArrayBase__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_String_2_3Ljava_lang_Object_2V(this$static, 'headerData', a.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2(com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit, $intern_1, 510, 0, 0, 1))); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_$setValue__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2Ljava_lang_Object_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2(this$static, a){ + com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'value', a); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_GData_1GColumn_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(164, 43, {44:1, 45:1, 509:1}, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_GData_1GColumn_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11GColumn_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(164); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$columns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2(this$static){ + var a, a1, i, instance, l, l1, r, w; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'columns'); + l = !a?0:a.length; + r = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit, $intern_1, 509, l, 0, 1); + a1 = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'columns'); + l1 = r.length; + for (i = 0; i < l1; i++) { + w = com_google_gwt_query_client_js_JsCache_$get__Lcom_google_gwt_query_client_js_JsCache_2Ljava_lang_Object_2Ljava_lang_Object_2(a1, java_lang_Integer_valueOf__ILjava_lang_Integer_2(i)); + instance = new com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_GData_1GColumn_1JsonBuilder__V; + r[i] = com_google_gwt_query_client_builders_JsonBuilderBase_$load__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_Object_2Lcom_google_gwt_query_client_builders_JsonBuilderBase_2(instance, w); + } + return new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(r); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$setColumns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2(this$static, a){ + com_google_gwt_query_client_builders_JsonBuilderBase_$setArrayBase__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_String_2_3Ljava_lang_Object_2V(this$static, 'columns', a.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2(com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit, $intern_1, 509, 0, 0, 1))); + return this$static; +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_$values__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2Ljava_util_List_2(this$static){ + var a, l; + a = com_google_gwt_query_client_Properties_$getArray__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JsArrayMixed_2(this$static.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'values'); + l = !a?0:a.length; + return new java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(com_google_gwt_query_client_builders_JsonBuilderBase_$getArrayBase__Lcom_google_gwt_query_client_builders_JsonBuilderBase_2Ljava_lang_String_2_3Ljava_lang_Object_2Ljava_lang_Class_2_3Ljava_lang_Object_2(this$static, com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit, $intern_1, 0, l, 2, 1), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1core_1client_1JavaScriptObject_12_1classLit)); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_GData_1JsonBuilder__V(){ + com_google_gwt_query_client_builders_JsonBuilderBase_JsonBuilderBase__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(455, 43, $intern_21, com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_GData_1JsonBuilder__V); +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_11JsonBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(455); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_$exec__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2Lcom_google_gwt_core_client_JavaScriptObject_2IILcom_google_gwt_user_client_rpc_AsyncCallback_2Lcom_google_gwt_core_client_JavaScriptObject_2(f, idx, count, cb){ + return f(idx, count, function(r){ + cb.onSuccess__Ljava_lang_Object_2V(r); + } + ); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_GJsFuncDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(jso, rows_0, grid){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_GDataSource__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V.call(this, grid); + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_f = jso; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size = rows_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(290, 61, $intern_37, com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_GJsFuncDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.getRowKey__Lcom_google_gwt_core_client_JsArrayMixed_2Ljava_lang_Object_2 = function(row){ + return com_google_gwt_query_client_js_JsUtils$JsUtilsImpl_$JSON2String__Lcom_google_gwt_query_client_js_JsUtils$JsUtilsImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_String_2(row); +} +; +_.requestRows__IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V = function(firstRowIndex, numberOfRows, callback){ + var o; + o = com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_$exec__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2Lcom_google_gwt_core_client_JavaScriptObject_2IILcom_google_gwt_user_client_rpc_AsyncCallback_2Lcom_google_gwt_core_client_JavaScriptObject_2(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_f, firstRowIndex, numberOfRows, new com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_GJsFuncDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2V(this, firstRowIndex)); + !!o && com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2ILcom_google_gwt_core_client_JavaScriptObject_2V(this, firstRowIndex, o); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GJsFuncDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(290); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_GJsFuncDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2V(this$0, val$firstRowIndex){ + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_this$01 = this$0; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_val$firstRowIndex2 = val$firstRowIndex; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(291, 1, {}, com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_GJsFuncDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2V); +_.onFailure__Ljava_lang_Throwable_2V = function(caught){ +} +; +_.onSuccess__Ljava_lang_Object_2V = function(result){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowData__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2ILcom_google_gwt_core_client_JavaScriptObject_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_this$01, this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_val$firstRowIndex2, result); +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_val$firstRowIndex2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GJsFuncDataSource$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(291); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_GJsObjectDataSource__Lcom_google_gwt_core_client_JsArray_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(jso, grid){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_GDataSource__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V.call(this, grid); + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_jso = jso; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size = jso.length; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(292, 61, $intern_37, com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_GJsObjectDataSource__Lcom_google_gwt_core_client_JsArray_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.requestRows__IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V = function(firstRowIndex, numberOfRows, callback){ + var cols_0; + cols_0 = this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols; + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowDataFromJs__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2IILjava_util_List_2Lcom_google_gwt_core_client_JsArray_2Ljava_util_List_2(this, firstRowIndex, numberOfRows, cols_0, this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_jso); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GJsObjectDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(292); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_$requestRows__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V(this$static, firstRowIndex, numberOfRows){ + var url_0, com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0, com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0, com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0, com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_dataType_0_0, com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0; + url_0 = java_lang_String_$replace__Ljava_lang_String_2Ljava_lang_CharSequence_2Ljava_lang_CharSequence_2Ljava_lang_String_2(java_lang_String_$replace__Ljava_lang_String_2Ljava_lang_CharSequence_2Ljava_lang_CharSequence_2Ljava_lang_String_2(com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(this$static.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_ajaxCfg.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url'), '{START}', '' + firstRowIndex), '{LENGTH}', '' + numberOfRows); + com_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_$log__Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2Lcom_google_gwt_core_client_JavaScriptObject_2V(com_google_gwt_query_client_impl_ConsoleBrowser_$toJs__Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_3Ljava_lang_Object_2Lcom_google_gwt_query_client_js_JsObjectArray_2(com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, 1), $intern_1, 1, 3, [(com_google_gwt_query_client_GQuery_$clinit__V() , url_0)]))); + com_google_gwt_query_client_plugins_ajax_Ajax_$clinit__V(); + com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$fail__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2((com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0 = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$Settings_12_1classLit)) , com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url', url_0) , com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataType', 'txt') , com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'type', 'post') , com_google_gwt_query_client_Properties_$set__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Properties_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data', null) , com_google_gwt_query_client_Properties_$setFunction__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2V(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'success', null) , com_google_gwt_query_client_plugins_ajax_Ajax_resolveSettings__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2V(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0) , com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0 = com_google_gwt_query_client_Properties_$getFunction__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'success') , !!com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0 && com_google_gwt_query_client_Function_$setElement__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_Function_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0, com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'context')) , com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0 = com_google_gwt_query_client_Properties_$getFunction__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_query_client_Function_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'error') , !!com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0 && com_google_gwt_query_client_Function_$setElement__Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_query_client_Function_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0, com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'context')) , com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_dataType_0_0 = com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'dataType') , java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('jsonp', com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_dataType_0_0)?(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0 = (!com_google_gwt_query_client_GQ_ajaxTransport && (com_google_gwt_query_client_GQ_ajaxTransport = new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs_AjaxTransportJs__V) , new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_PromiseReqBuilderJSONP__Ljava_lang_String_2IV(com_google_gwt_query_client_Properties_$getStr__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Ljava_lang_String_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'url'), com_google_gwt_lang_Cast_round_1int__DI(com_google_gwt_query_client_Properties_$getFloat__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2F(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'timeout'))))):java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z('loadscript', com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_dataType_0_0)?(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0 = (!com_google_gwt_query_client_GQ_ajaxTransport && (com_google_gwt_query_client_GQ_ajaxTransport = new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs_AjaxTransportJs__V) , new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_AjaxTransportJs$1__Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs_2V(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0))):(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0 = (!com_google_gwt_query_client_GQ_ajaxTransport && (com_google_gwt_query_client_GQ_ajaxTransport = new com_google_gwt_query_client_plugins_ajax_AjaxTransportJs_AjaxTransportJs__V) , com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$then__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2Z_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(new com_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_PromiseReqBuilder__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2V(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_s_0), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_google_gwt_query_client_plugins_ajax_Ajax$2_Ajax$2__V(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_dataType_0_0), new com_google_gwt_query_client_plugins_ajax_Ajax$3_Ajax$3__V])))) , !!com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0 && com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$done__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onSuccess_0_0])) , !!com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0 && com_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_$fail__Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_3Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2(com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0, com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_onError_0_0])) , com_google_gwt_query_client_plugins_ajax_Ajax_post__Ljava_lang_String_2Lcom_google_gwt_query_client_IsProperties_2Lcom_google_gwt_query_client_Function_2Lcom_google_gwt_query_client_Promise_2_com_google_gwt_query_client_plugins_ajax_Ajax_ajax__Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2Lcom_google_gwt_query_client_Promise_2_ret_0_0), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_GRestDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V(this$static, numberOfRows, firstRowIndex)])), com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1Function_12_1classLit, 1), $intern_1, 6, 0, [new com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_GRestDataSource$2__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V(url_0)])); +} + +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_GRestDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(cfg, grid){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_GDataSource__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V.call(this, grid); + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_ajaxCfg = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf_12_1classLit)).load__Ljava_lang_Object_2Lcom_google_gwt_query_client_IsProperties_2(cfg); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_$requestRows__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V(this, 0, 0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(285, 61, $intern_37, com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_GRestDataSource__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V); +_.requestRows__IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V = function(firstRowIndex, numberOfRows, callback){ + com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_$requestRows__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2IILcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2V(this, firstRowIndex, numberOfRows); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GRestDataSource_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(285); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_GRestDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V(this$0, val$numberOfRows, val$firstRowIndex){ + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01 = this$0; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$numberOfRows2 = val$numberOfRows; + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$firstRowIndex3 = val$firstRowIndex; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(286, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_GRestDataSource$1__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V); +_.f__V = function(){ + var cfgs, cols_0, data_0, json, r; + json = com_google_gwt_query_client_Function_$getArgument__Lcom_google_gwt_query_client_Function_2IILjava_lang_Class_2Ljava_lang_Object_2(this, 0, null); + r = (!com_google_gwt_query_client_GQ_jsonFactory && (com_google_gwt_query_client_GQ_jsonFactory = new com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_JsonFactory_1JsonBuilder__V) , com_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_$create__Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2Ljava_lang_Class_2Lcom_google_gwt_query_client_builders_JsonBuilder_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse_12_1classLit)).parse__Ljava_lang_String_2ZLjava_lang_Object_2(json, false); + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_size = com_google_gwt_lang_Cast_round_1int__DI(com_google_gwt_query_client_Properties_$getFloat__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2F(r.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'size')); + cfgs = com_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_$columns__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_2Ljava_util_List_2(r); + cols_0 = this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid.com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_cols; + !cfgs.isEmpty__Z() && (!cols_0 || cols_0.isEmpty__Z()) && (cols_0 = com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$configColumsFromAjaxResponse__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2Ljava_util_List_2Ljava_util_List_2(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01, cfgs)); + if (this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$numberOfRows2 == 0) { + com_vaadin_client_widgets_Grid_$setDataSource__Lcom_vaadin_client_widgets_Grid_2Lcom_vaadin_client_data_DataSource_2V(com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$getGrid__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2Lcom_vaadin_client_widgets_Grid_2(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid), this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01); + } + else { + data_0 = com_google_gwt_query_client_Properties_$getJavaScriptObject__Lcom_google_gwt_query_client_Properties_2Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2(r.com_google_gwt_query_client_builders_JsonBuilderBase_p, 'data'); + com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_$setRowDataFromJs__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2IILjava_util_List_2Lcom_google_gwt_core_client_JsArray_2Ljava_util_List_2(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01, this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$firstRowIndex3, this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$numberOfRows2, cols_0, data_0); + } + com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_$adjustHeight__Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2V(this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_this$01.com_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_wcGrid); +} +; +_.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$firstRowIndex3 = 0; +_.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_val$numberOfRows2 = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GRestDataSource$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(286); +function com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_GRestDataSource$2__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V(val$url){ + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_val$url2 = val$url; + com_google_gwt_query_client_Function_Function__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(287, 6, $intern_20, com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_GRestDataSource$2__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2V); +_.f__V = function(){ + com_google_gwt_user_client_Window_alert__Ljava_lang_String_2V('Error getting datasources ' + this.com_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_val$url2); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GRestDataSource$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(287); +function com_vaadin_shared_VBrowserDetails_$parseAndroidVersion__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this$static, userAgent){ + var osVersionString, parts; + if (userAgent.indexOf('android') == -1) { + return; + } + osVersionString = com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, userAgent.indexOf('android ') + 8, userAgent.length); + osVersionString = com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(osVersionString, 0, osVersionString.indexOf(';')); + parts = java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(osVersionString, '\\.', 0); + com_vaadin_shared_VBrowserDetails_$parseOsVersion__Lcom_vaadin_shared_VBrowserDetails_2_3Ljava_lang_String_2V(this$static, parts); +} + +function com_vaadin_shared_VBrowserDetails_$parseIOSVersion__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this$static, userAgent){ + var osVersionString, parts; + if (userAgent.indexOf('os ') == -1 || userAgent.indexOf(' like mac') == -1) { + return; + } + osVersionString = com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, userAgent.indexOf('os ') + 3, userAgent.indexOf(' like mac')); + parts = java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(osVersionString, '_', 0); + com_vaadin_shared_VBrowserDetails_$parseOsVersion__Lcom_vaadin_shared_VBrowserDetails_2_3Ljava_lang_String_2V(this$static, parts); +} + +function com_vaadin_shared_VBrowserDetails_$parseOsVersion__Lcom_vaadin_shared_VBrowserDetails_2_3Ljava_lang_String_2V(this$static, parts){ + this$static.com_vaadin_shared_VBrowserDetails_osMajorVersion = -1; + this$static.com_vaadin_shared_VBrowserDetails_osMinorVersion = -1; + if (parts.length >= 1) { + try { + this$static.com_vaadin_shared_VBrowserDetails_osMajorVersion = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(parts[0]); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + } + if (parts.length >= 2) { + try { + this$static.com_vaadin_shared_VBrowserDetails_osMinorVersion = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(parts[1]); + } + catch ($e1) { + $e1 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e1, 12)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + } + if (this$static.com_vaadin_shared_VBrowserDetails_osMinorVersion == -1 && parts[1].indexOf('-') != -1) { + try { + this$static.com_vaadin_shared_VBrowserDetails_osMinorVersion = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(parts[1], 0, java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2I(parts[1], java_lang_String_fromCodePoint__ILjava_lang_String_2(45)))); + } + catch ($e2) { + $e2 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e2); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e2, 12)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e2); + } + } + } +} + +function com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this$static, versionString){ + var idx, idx2; + idx = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2I(versionString, java_lang_String_fromCodePoint__ILjava_lang_String_2(46)); + idx < 0 && (idx = versionString.length); + this$static.com_vaadin_shared_VBrowserDetails_browserMajorVersion = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(versionString, 0, idx)); + idx2 = java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2II(versionString, java_lang_String_fromCodePoint__ILjava_lang_String_2(46), idx + 1); + idx2 < 0 && (idx2 = versionString.length); + try { + this$static.com_vaadin_shared_VBrowserDetails_browserMinorVersion = java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(versionString, idx + 1, idx2), '[^0-9].*', '')); + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 62)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +function com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(string, beginIndex, endIndex){ + beginIndex < 0 && (beginIndex = 0); + (endIndex < 0 || endIndex > string.length) && (endIndex = string.length); + return string.substr(beginIndex, endIndex - beginIndex); +} + +function com_vaadin_shared_VBrowserDetails_$setIEMode__Lcom_vaadin_shared_VBrowserDetails_2IV(this$static, documentMode){ + this$static.com_vaadin_shared_VBrowserDetails_browserMajorVersion = documentMode; + this$static.com_vaadin_shared_VBrowserDetails_browserMinorVersion = 0; +} + +function com_vaadin_shared_VBrowserDetails_VBrowserDetails__Ljava_lang_String_2V(userAgent){ + var i, ieVersionString, rvPos, tmp, tridentPos; + userAgent = userAgent.toLowerCase(); + this.com_vaadin_shared_VBrowserDetails_isGecko = userAgent.indexOf('gecko') != -1 && userAgent.indexOf('webkit') == -1 && userAgent.indexOf('trident/') == -1; + userAgent.indexOf(' presto/') != -1; + this.com_vaadin_shared_VBrowserDetails_isTrident = userAgent.indexOf('trident/') != -1; + this.com_vaadin_shared_VBrowserDetails_isWebKit = !this.com_vaadin_shared_VBrowserDetails_isTrident && userAgent.indexOf('applewebkit') != -1; + this.com_vaadin_shared_VBrowserDetails_isChrome = userAgent.indexOf(' chrome/') != -1; + this.com_vaadin_shared_VBrowserDetails_isOpera = userAgent.indexOf('opera') != -1; + this.com_vaadin_shared_VBrowserDetails_isIE = userAgent.indexOf('msie') != -1 && !this.com_vaadin_shared_VBrowserDetails_isOpera && userAgent.indexOf('webtv') == -1; + this.com_vaadin_shared_VBrowserDetails_isIE = this.com_vaadin_shared_VBrowserDetails_isIE || this.com_vaadin_shared_VBrowserDetails_isTrident; + this.com_vaadin_shared_VBrowserDetails_isSafari = !this.com_vaadin_shared_VBrowserDetails_isChrome && !this.com_vaadin_shared_VBrowserDetails_isIE && userAgent.indexOf('safari') != -1; + this.com_vaadin_shared_VBrowserDetails_isFirefox = userAgent.indexOf(' firefox/') != -1; + userAgent.indexOf('chromeframe') != -1; + try { + if (this.com_vaadin_shared_VBrowserDetails_isGecko) { + rvPos = userAgent.indexOf('rv:'); + if (rvPos >= 0) { + tmp = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(userAgent, rvPos + 3, userAgent.length - (rvPos + 3)); + tmp = java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(tmp, '(\\.[0-9]+).+', '$1'); + java_lang_Float_parseFloat__Ljava_lang_String_2F(tmp); + } + } + else if (this.com_vaadin_shared_VBrowserDetails_isWebKit) { + tmp = java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(userAgent, userAgent.indexOf('webkit/') + 7); + tmp = java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(tmp, '([0-9]+)[^0-9].+', '$1'); + java_lang_Float_parseFloat__Ljava_lang_String_2F(tmp); + } + else if (this.com_vaadin_shared_VBrowserDetails_isIE) { + tridentPos = userAgent.indexOf('trident/'); + if (tridentPos >= 0) { + tmp = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(userAgent, tridentPos + 8, userAgent.length - (tridentPos + 8)); + tmp = java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(tmp, '([0-9]+\\.[0-9]+).*', '$1'); + java_lang_Float_parseFloat__Ljava_lang_String_2F(tmp); + } + } + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 12)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } + try { + if (this.com_vaadin_shared_VBrowserDetails_isIE) { + if (userAgent.indexOf('msie') == -1) { + rvPos = userAgent.indexOf('rv:'); + if (rvPos >= 0) { + tmp = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(userAgent, rvPos + 3, userAgent.length - (rvPos + 3)); + tmp = java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(tmp, '(\\.[0-9]+).+', '$1'); + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, tmp); + } + } + else { + ieVersionString = java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(userAgent, userAgent.indexOf('msie ') + 5); + ieVersionString = com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(ieVersionString, 0, ieVersionString.indexOf(';')); + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, ieVersionString); + } + } + else if (this.com_vaadin_shared_VBrowserDetails_isFirefox) { + i = userAgent.indexOf(' firefox/') + 9; + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, i, i + 5)); + } + else if (this.com_vaadin_shared_VBrowserDetails_isChrome) { + i = userAgent.indexOf(' chrome/') + 8; + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, i, i + 5)); + } + else if (this.com_vaadin_shared_VBrowserDetails_isSafari) { + i = userAgent.indexOf(' version/') + 9; + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, i, i + 5)); + } + else if (this.com_vaadin_shared_VBrowserDetails_isOpera) { + i = userAgent.indexOf(' version/'); + i != -1?(i += 9):(i = userAgent.indexOf('opera/') + 6); + com_vaadin_shared_VBrowserDetails_$parseVersionString__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, com_vaadin_shared_VBrowserDetails_$safeSubstring__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2IILjava_lang_String_2(userAgent, i, i + 5)); + } + } + catch ($e1) { + $e1 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e1, 12)) + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e1); + } + if (userAgent.indexOf('windows ') != -1) { + this.com_vaadin_shared_VBrowserDetails_os = 1; + userAgent.indexOf('windows phone') != -1; + } + else if (userAgent.indexOf('android') != -1) { + this.com_vaadin_shared_VBrowserDetails_os = 5; + com_vaadin_shared_VBrowserDetails_$parseAndroidVersion__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, userAgent); + } + else if (userAgent.indexOf('linux') != -1) { + this.com_vaadin_shared_VBrowserDetails_os = 3; + } + else if (userAgent.indexOf('macintosh') != -1 || userAgent.indexOf('mac osx') != -1 || userAgent.indexOf('mac os x') != -1) { + this.com_vaadin_shared_VBrowserDetails_isIPad = userAgent.indexOf('ipad') != -1; + this.com_vaadin_shared_VBrowserDetails_isIPhone = userAgent.indexOf('iphone') != -1; + if (this.com_vaadin_shared_VBrowserDetails_isIPad || userAgent.indexOf('ipod') != -1 || this.com_vaadin_shared_VBrowserDetails_isIPhone) { + this.com_vaadin_shared_VBrowserDetails_os = 4; + com_vaadin_shared_VBrowserDetails_$parseIOSVersion__Lcom_vaadin_shared_VBrowserDetails_2Ljava_lang_String_2V(this, userAgent); + } + else { + this.com_vaadin_shared_VBrowserDetails_os = 2; + } + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(443, 1, $intern_1, com_vaadin_shared_VBrowserDetails_VBrowserDetails__Ljava_lang_String_2V); +_.com_vaadin_shared_VBrowserDetails_browserMajorVersion = -1; +_.com_vaadin_shared_VBrowserDetails_browserMinorVersion = -1; +_.com_vaadin_shared_VBrowserDetails_isChrome = false; +_.com_vaadin_shared_VBrowserDetails_isFirefox = false; +_.com_vaadin_shared_VBrowserDetails_isGecko = false; +_.com_vaadin_shared_VBrowserDetails_isIE = false; +_.com_vaadin_shared_VBrowserDetails_isIPad = false; +_.com_vaadin_shared_VBrowserDetails_isIPhone = false; +_.com_vaadin_shared_VBrowserDetails_isOpera = false; +_.com_vaadin_shared_VBrowserDetails_isSafari = false; +_.com_vaadin_shared_VBrowserDetails_isTrident = false; +_.com_vaadin_shared_VBrowserDetails_isWebKit = false; +_.com_vaadin_shared_VBrowserDetails_os = 0; +_.com_vaadin_shared_VBrowserDetails_osMajorVersion = -1; +_.com_vaadin_shared_VBrowserDetails_osMinorVersion = -1; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1VBrowserDetails_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(443); +function com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V(){ + com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_shared_ui_grid_GridStaticCellType_TEXT = new com_vaadin_shared_ui_grid_GridStaticCellType_GridStaticCellType__Ljava_lang_String_2IV('TEXT', 0); + com_vaadin_shared_ui_grid_GridStaticCellType_HTML = new com_vaadin_shared_ui_grid_GridStaticCellType_GridStaticCellType__Ljava_lang_String_2IV('HTML', 1); + com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET = new com_vaadin_shared_ui_grid_GridStaticCellType_GridStaticCellType__Ljava_lang_String_2IV('WIDGET', 2); +} + +function com_vaadin_shared_ui_grid_GridStaticCellType_GridStaticCellType__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_vaadin_shared_ui_grid_GridStaticCellType_values___3Lcom_vaadin_shared_ui_grid_GridStaticCellType_2(){ + com_vaadin_shared_ui_grid_GridStaticCellType_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1GridStaticCellType_12_1classLit, 1), $intern_1, 80, 0, [com_vaadin_shared_ui_grid_GridStaticCellType_TEXT, com_vaadin_shared_ui_grid_GridStaticCellType_HTML, com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(80, 4, {80:1, 3:1, 5:1, 4:1}, com_vaadin_shared_ui_grid_GridStaticCellType_GridStaticCellType__Ljava_lang_String_2IV); +var com_vaadin_shared_ui_grid_GridStaticCellType_HTML, com_vaadin_shared_ui_grid_GridStaticCellType_TEXT, com_vaadin_shared_ui_grid_GridStaticCellType_WIDGET; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1GridStaticCellType_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(80, com_vaadin_shared_ui_grid_GridStaticCellType_values___3Lcom_vaadin_shared_ui_grid_GridStaticCellType_2); +function com_vaadin_shared_ui_grid_HeightMode_$clinit__V(){ + com_vaadin_shared_ui_grid_HeightMode_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_shared_ui_grid_HeightMode_CSS = new com_vaadin_shared_ui_grid_HeightMode_HeightMode__Ljava_lang_String_2IV('CSS', 0); + com_vaadin_shared_ui_grid_HeightMode_ROW = new com_vaadin_shared_ui_grid_HeightMode_HeightMode__Ljava_lang_String_2IV('ROW', 1); +} + +function com_vaadin_shared_ui_grid_HeightMode_HeightMode__Ljava_lang_String_2IV(enum$name, enum$ordinal){ + java_lang_Enum_Enum__Ljava_lang_String_2IV.call(this, enum$name, enum$ordinal); +} + +function com_vaadin_shared_ui_grid_HeightMode_values___3Lcom_vaadin_shared_ui_grid_HeightMode_2(){ + com_vaadin_shared_ui_grid_HeightMode_$clinit__V(); + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1HeightMode_12_1classLit, 1), $intern_1, 79, 0, [com_vaadin_shared_ui_grid_HeightMode_CSS, com_vaadin_shared_ui_grid_HeightMode_ROW]); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(79, 4, {79:1, 3:1, 5:1, 4:1}, com_vaadin_shared_ui_grid_HeightMode_HeightMode__Ljava_lang_String_2IV); +var com_vaadin_shared_ui_grid_HeightMode_CSS, com_vaadin_shared_ui_grid_HeightMode_ROW; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1HeightMode_12_1classLit = java_lang_Class_createForEnum__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2(79, com_vaadin_shared_ui_grid_HeightMode_values___3Lcom_vaadin_shared_ui_grid_HeightMode_2); +function com_vaadin_shared_ui_grid_HeightMode$Map_$clinit__V(){ + com_vaadin_shared_ui_grid_HeightMode$Map_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + com_vaadin_shared_ui_grid_HeightMode$Map_$MAP = java_lang_Enum_createValueOfMap___3Ljava_lang_Enum_2Lcom_google_gwt_core_client_JavaScriptObject_2((com_vaadin_shared_ui_grid_HeightMode_$clinit__V() , com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1HeightMode_12_1classLit, 1), $intern_1, 79, 0, [com_vaadin_shared_ui_grid_HeightMode_CSS, com_vaadin_shared_ui_grid_HeightMode_ROW]))); +} + +var com_vaadin_shared_ui_grid_HeightMode$Map_$MAP; +function com_vaadin_shared_ui_grid_Range_$combineWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static, other){ + if (this$static.com_vaadin_shared_ui_grid_Range_start > other.com_vaadin_shared_ui_grid_Range_end || other.com_vaadin_shared_ui_grid_Range_start > this$static.com_vaadin_shared_ui_grid_Range_end) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('There is a gap between ' + this$static + ' and ' + other); + } + return new com_vaadin_shared_ui_grid_Range_Range__IIV(java_lang_Math_min__III(this$static.com_vaadin_shared_ui_grid_Range_start, other.com_vaadin_shared_ui_grid_Range_start), java_lang_Math_max__III(this$static.com_vaadin_shared_ui_grid_Range_end, other.com_vaadin_shared_ui_grid_Range_end)); +} + +function com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(this$static, integer){ + return this$static.com_vaadin_shared_ui_grid_Range_start <= integer && integer < this$static.com_vaadin_shared_ui_grid_Range_end; +} + +function com_vaadin_shared_ui_grid_Range_$equals__Lcom_vaadin_shared_ui_grid_Range_2Ljava_lang_Object_2Z(this$static, obj){ + var other; + if (this$static === obj) { + return true; + } + if (obj == null) { + return false; + } + if (com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit != java_lang_Object_getClass_1_1Ljava_1lang_1Class_1_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Class_2(obj)) { + return false; + } + other = obj; + if (this$static.com_vaadin_shared_ui_grid_Range_end != other.com_vaadin_shared_ui_grid_Range_end) { + return false; + } + if (this$static.com_vaadin_shared_ui_grid_Range_start != other.com_vaadin_shared_ui_grid_Range_start) { + return false; + } + return true; +} + +function com_vaadin_shared_ui_grid_Range_$intersects__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Z(this$static, other){ + return this$static.com_vaadin_shared_ui_grid_Range_start < other.com_vaadin_shared_ui_grid_Range_end && other.com_vaadin_shared_ui_grid_Range_start < this$static.com_vaadin_shared_ui_grid_Range_end; +} + +function com_vaadin_shared_ui_grid_Range_$isEmpty__Lcom_vaadin_shared_ui_grid_Range_2Z(this$static){ + return this$static.com_vaadin_shared_ui_grid_Range_start >= this$static.com_vaadin_shared_ui_grid_Range_end; +} + +function com_vaadin_shared_ui_grid_Range_$isSubsetOf__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Z(this$static, other){ + if (this$static.com_vaadin_shared_ui_grid_Range_start >= this$static.com_vaadin_shared_ui_grid_Range_end && other.com_vaadin_shared_ui_grid_Range_start >= other.com_vaadin_shared_ui_grid_Range_end) { + return true; + } + return other.com_vaadin_shared_ui_grid_Range_start <= this$static.com_vaadin_shared_ui_grid_Range_start && this$static.com_vaadin_shared_ui_grid_Range_end <= other.com_vaadin_shared_ui_grid_Range_end; +} + +function com_vaadin_shared_ui_grid_Range_$length__Lcom_vaadin_shared_ui_grid_Range_2I(this$static){ + return this$static.com_vaadin_shared_ui_grid_Range_end - this$static.com_vaadin_shared_ui_grid_Range_start; +} + +function com_vaadin_shared_ui_grid_Range_$offsetBy__Lcom_vaadin_shared_ui_grid_Range_2ILcom_vaadin_shared_ui_grid_Range_2(this$static, offset){ + return offset == 0?this$static:new com_vaadin_shared_ui_grid_Range_Range__IIV(this$static.com_vaadin_shared_ui_grid_Range_start + offset, this$static.com_vaadin_shared_ui_grid_Range_end + offset); +} + +function com_vaadin_shared_ui_grid_Range_$partitionWith__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2_3Lcom_vaadin_shared_ui_grid_Range_2(this$static, other){ + var rangeAfter, rangeBefore, rangeInside, splitAfter, splitBefore; + splitBefore = com_vaadin_shared_ui_grid_Range_$splitAt__Lcom_vaadin_shared_ui_grid_Range_2I_3Lcom_vaadin_shared_ui_grid_Range_2(this$static, other.com_vaadin_shared_ui_grid_Range_start); + rangeBefore = splitBefore[0]; + splitAfter = com_vaadin_shared_ui_grid_Range_$splitAt__Lcom_vaadin_shared_ui_grid_Range_2I_3Lcom_vaadin_shared_ui_grid_Range_2(splitBefore[1], other.com_vaadin_shared_ui_grid_Range_end); + rangeInside = splitAfter[0]; + rangeAfter = splitAfter[1]; + return com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit, 1), $intern_1, 18, 0, [rangeBefore, rangeInside, rangeAfter]); +} + +function com_vaadin_shared_ui_grid_Range_$restrictTo__Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2Lcom_vaadin_shared_ui_grid_Range_2(this$static, bounds){ + var boundsWithin, endWithin, startWithin; + startWithin = com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(bounds, this$static.com_vaadin_shared_ui_grid_Range_start); + endWithin = com_vaadin_shared_ui_grid_Range_$contains__Lcom_vaadin_shared_ui_grid_Range_2IZ(bounds, this$static.com_vaadin_shared_ui_grid_Range_end); + boundsWithin = this$static.com_vaadin_shared_ui_grid_Range_start < bounds.com_vaadin_shared_ui_grid_Range_start && this$static.com_vaadin_shared_ui_grid_Range_end >= bounds.com_vaadin_shared_ui_grid_Range_end; + return startWithin?endWithin?this$static:new com_vaadin_shared_ui_grid_Range_Range__IIV(this$static.com_vaadin_shared_ui_grid_Range_start, bounds.com_vaadin_shared_ui_grid_Range_end):endWithin?new com_vaadin_shared_ui_grid_Range_Range__IIV(bounds.com_vaadin_shared_ui_grid_Range_start, this$static.com_vaadin_shared_ui_grid_Range_end):boundsWithin?bounds:com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_shared_ui_grid_Range_start, 0); +} + +function com_vaadin_shared_ui_grid_Range_$splitAt__Lcom_vaadin_shared_ui_grid_Range_2I_3Lcom_vaadin_shared_ui_grid_Range_2(this$static, integer){ + return integer < this$static.com_vaadin_shared_ui_grid_Range_start?com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit, 1), $intern_1, 18, 0, [com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_shared_ui_grid_Range_start, 0), this$static]):integer >= this$static.com_vaadin_shared_ui_grid_Range_end?com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit, 1), $intern_1, 18, 0, [this$static, com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(this$static.com_vaadin_shared_ui_grid_Range_end, 0)]):com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2ILjava_lang_Object_2Ljava_lang_Object_2(com_google_gwt_lang_Array_getClassLiteralForArray__Ljava_lang_Class_2ILjava_lang_Class_2(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit, 1), $intern_1, 18, 0, [new com_vaadin_shared_ui_grid_Range_Range__IIV(this$static.com_vaadin_shared_ui_grid_Range_start, integer), new com_vaadin_shared_ui_grid_Range_Range__IIV(integer, this$static.com_vaadin_shared_ui_grid_Range_end)]); +} + +function com_vaadin_shared_ui_grid_Range_Range__IIV(start_0, end){ + if (start_0 > end) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('start must not be greater than end'); + } + this.com_vaadin_shared_ui_grid_Range_start = start_0; + this.com_vaadin_shared_ui_grid_Range_end = end; +} + +function com_vaadin_shared_ui_grid_Range_withLength__IILcom_vaadin_shared_ui_grid_Range_2(start_0, length_0){ + if (length_0 < 0) { + throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V('length must not be negative'); + } + return new com_vaadin_shared_ui_grid_Range_Range__IIV(start_0, start_0 + length_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(18, 1, {18:1, 3:1}, com_vaadin_shared_ui_grid_Range_Range__IIV); +_.equals__Ljava_lang_Object_2Z$ = function(obj){ + return com_vaadin_shared_ui_grid_Range_$equals__Lcom_vaadin_shared_ui_grid_Range_2Ljava_lang_Object_2Z(this, obj); +} +; +_.hashCode__I$ = function(){ + var result; + result = 31 + this.com_vaadin_shared_ui_grid_Range_end; + result = 31 * result + this.com_vaadin_shared_ui_grid_Range_start; + return result; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_lang_Class_$ensureNamesAreInitialized__Ljava_lang_Class_2V(com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit) , com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit.java_lang_Class_simpleName + ' [' + this.com_vaadin_shared_ui_grid_Range_start + '..' + this.com_vaadin_shared_ui_grid_Range_end + '[' + (this.com_vaadin_shared_ui_grid_Range_start >= this.com_vaadin_shared_ui_grid_Range_end?' (empty)':''); +} +; +_.com_vaadin_shared_ui_grid_Range_end = 0; +_.com_vaadin_shared_ui_grid_Range_start = 0; +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1shared_1ui_1grid_1Range_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(18); +function com_vaadin_shared_util_SharedUtil_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(o1, o2){ + if (o1 == null) { + return o2 == null; + } + return java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(o1, o2); +} + +function java_lang_AbstractStringBuilder_$charAt__Ljava_lang_AbstractStringBuilder_2IC(this$static, index_0){ + return java_lang_String_$charAt__Ljava_lang_String_2IC(this$static.java_lang_AbstractStringBuilder_string, index_0); +} + +function java_lang_AbstractStringBuilder_$replace0__Ljava_lang_AbstractStringBuilder_2IILjava_lang_String_2V(this$static, start_0, end, toInsert){ + this$static.java_lang_AbstractStringBuilder_string = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, 0, start_0) + toInsert + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, end); +} + +function java_lang_AbstractStringBuilder_$setCharAt__Ljava_lang_AbstractStringBuilder_2ICV(this$static, index_0, x_0){ + java_lang_AbstractStringBuilder_$replace0__Ljava_lang_AbstractStringBuilder_2IILjava_lang_String_2V(this$static, index_0, index_0 + 1, java_lang_String_valueOf__CLjava_lang_String_2(x_0)); +} + +function java_lang_AbstractStringBuilder_AbstractStringBuilder__Ljava_lang_String_2V(string){ + this.java_lang_AbstractStringBuilder_string = string; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(103, 1, {}); +_.toString__Ljava_lang_String_2$ = function(){ + return this.java_lang_AbstractStringBuilder_string; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1AbstractStringBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(103); +function java_lang_ArithmeticException_ArithmeticException__Ljava_lang_String_2V(){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, 'divide by zero'); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(379, 10, $intern_4, java_lang_ArithmeticException_ArithmeticException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1ArithmeticException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(379); +function java_lang_Boolean_$clinit__V(){ + java_lang_Boolean_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_Boolean_FALSE = new java_lang_Boolean_Boolean__ZV(false); + java_lang_Boolean_TRUE = new java_lang_Boolean_Boolean__ZV(true); +} + +function java_lang_Boolean_$equals__Ljava_lang_Boolean_2Ljava_lang_Object_2Z(this$static, o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 59) && o.java_lang_Boolean_value == this$static.java_lang_Boolean_value; +} + +function java_lang_Boolean_Boolean__ZV(value_0){ + java_lang_Boolean_$clinit__V(); + this.java_lang_Boolean_value = value_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(59, 1, {3:1, 59:1, 5:1}, java_lang_Boolean_Boolean__ZV); +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return java_lang_Boolean_$equals__Ljava_lang_Boolean_2Ljava_lang_Object_2Z(this, o); +} +; +_.hashCode__I$ = function(){ + return this.java_lang_Boolean_value?1231:1237; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Boolean_value; +} +; +_.java_lang_Boolean_value = false; +var java_lang_Boolean_FALSE, java_lang_Boolean_TRUE; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Boolean_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(59); +function java_lang_Number__1_1parseAndValidateDouble__Ljava_lang_String_2D(s){ + var java_lang_Number__1_1isValidDouble__Ljava_lang_String_2Z_floatRegex_0; + if (!(java_lang_Number__1_1isValidDouble__Ljava_lang_String_2Z_floatRegex_0 = java_lang_Number_floatRegex , !java_lang_Number__1_1isValidDouble__Ljava_lang_String_2Z_floatRegex_0 && (java_lang_Number__1_1isValidDouble__Ljava_lang_String_2Z_floatRegex_0 = java_lang_Number_floatRegex = /^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/) , java_lang_Number__1_1isValidDouble__Ljava_lang_String_2Z_floatRegex_0.test(s))) { + throw new java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V('For input string: "' + s + '"'); + } + return parseFloat(s); +} + +function java_lang_Number__1_1parseAndValidateInt__Ljava_lang_String_2IIII(s){ + var i, isTooLow, length_0, startIndex, toReturn; + if (s == null) { + throw new java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V('null'); + } + length_0 = s.length; + startIndex = length_0 > 0 && (s.charCodeAt(0) == 45 || s.charCodeAt(0) == 43)?1:0; + for (i = startIndex; i < length_0; i++) { + if (java_lang_Character_digit__CII(s.charCodeAt(i)) == -1) { + throw new java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V('For input string: "' + s + '"'); + } + } + toReturn = parseInt(s, 10); + isTooLow = toReturn < -2147483648; + if (isNaN(toReturn)) { + throw new java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V('For input string: "' + s + '"'); + } + else if (isTooLow || toReturn > 2147483647) { + throw new java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V('For input string: "' + s + '"'); + } + return toReturn; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(51, 1, {3:1, 51:1}); +var java_lang_Number_floatRegex; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Number_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(51); +function java_lang_Byte_Byte__BV(value_0){ + this.java_lang_Byte_value = value_0; +} + +function java_lang_Byte_valueOf__BLjava_lang_Byte_2(b){ + var rebase, result; + rebase = b + 128; + result = (java_lang_Byte$BoxedValues_$clinit__V() , java_lang_Byte$BoxedValues_boxedValues)[rebase]; + !result && (result = java_lang_Byte$BoxedValues_boxedValues[rebase] = new java_lang_Byte_Byte__BV(b)); + return result; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(87, 51, {3:1, 87:1, 5:1, 51:1}, java_lang_Byte_Byte__BV); +_.doubleValue__D = function(){ + return this.java_lang_Byte_value; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 87) && o.java_lang_Byte_value == this.java_lang_Byte_value; +} +; +_.hashCode__I$ = function(){ + return this.java_lang_Byte_value; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Byte_value; +} +; +_.java_lang_Byte_value = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Byte_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(87); +function java_lang_Byte$BoxedValues_$clinit__V(){ + java_lang_Byte$BoxedValues_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_Byte$BoxedValues_boxedValues = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Byte_12_1classLit, $intern_1, 87, 256, 0, 1); +} + +var java_lang_Byte$BoxedValues_boxedValues; +function java_lang_Character_digit__CII(c){ + if (c >= 48 && c < 58) { + return c - 48; + } + if (c >= 97 && c < 97) { + return c - 97 + 10; + } + if (c >= 65 && c < 65) { + return c - 65 + 10; + } + return -1; +} + +function java_lang_Double_Double__DV(value_0){ + this.java_lang_Double_value = value_0; +} + +function java_lang_Double_Double__Ljava_lang_String_2V(s){ + this.java_lang_Double_value = java_lang_Number__1_1parseAndValidateDouble__Ljava_lang_String_2D(s); +} + +function java_lang_Double_isInfinite__DZ(x_0){ + return !isFinite(x_0) && !isNaN(x_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(15, 51, {3:1, 5:1, 15:1, 51:1}, java_lang_Double_Double__DV, java_lang_Double_Double__Ljava_lang_String_2V); +_.doubleValue__D = function(){ + return this.java_lang_Double_value; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 15) && o.java_lang_Double_value == this.java_lang_Double_value; +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_lang_Cast_round_1int__DI(this.java_lang_Double_value); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Double_value; +} +; +_.java_lang_Double_value = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Double_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(15); +function java_lang_Float_Float__FV(value_0){ + this.java_lang_Float_value = value_0; +} + +function java_lang_Float_Float__Ljava_lang_String_2V(s){ + this.java_lang_Float_value = java_lang_Float_parseFloat__Ljava_lang_String_2F(s); +} + +function java_lang_Float_parseFloat__Ljava_lang_String_2F(s){ + var doubleValue; + doubleValue = java_lang_Number__1_1parseAndValidateDouble__Ljava_lang_String_2D(s); + if (doubleValue > 3.4028234663852886E38) { + return Infinity; + } + else if (doubleValue < -3.4028234663852886E38) { + return -Infinity; + } + return doubleValue; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(88, 51, {3:1, 5:1, 88:1, 51:1}, java_lang_Float_Float__FV, java_lang_Float_Float__Ljava_lang_String_2V); +_.doubleValue__D = function(){ + return this.java_lang_Float_value; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 88) && o.java_lang_Float_value == this.java_lang_Float_value; +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_lang_Cast_round_1int__DI(this.java_lang_Float_value); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Float_value; +} +; +_.java_lang_Float_value = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Float_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(88); +function java_lang_IllegalArgumentException_IllegalArgumentException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +function java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V(message){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(8, 10, $intern_4, java_lang_IllegalArgumentException_IllegalArgumentException__V, java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1IllegalArgumentException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(8); +function java_lang_IllegalStateException_IllegalStateException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +function java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V(s){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, s); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(16, 10, $intern_4, java_lang_IllegalStateException_IllegalStateException__V, java_lang_IllegalStateException_IllegalStateException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1IllegalStateException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(16); +function java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +function java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V(message){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(28, 10, {3:1, 12:1, 28:1, 10:1, 13:1}, java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V, java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1IndexOutOfBoundsException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(28); +function java_lang_Integer_$equals__Ljava_lang_Integer_2Ljava_lang_Object_2Z(this$static, o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 76) && o.java_lang_Integer_value == this$static.java_lang_Integer_value; +} + +function java_lang_Integer_Integer__IV(value_0){ + this.java_lang_Integer_value = value_0; +} + +function java_lang_Integer_numberOfLeadingZeros__II(i){ + var m, n, y_0; + if (i < 0) { + return 0; + } + else if (i == 0) { + return 32; + } + else { + y_0 = -(i >> 16); + m = y_0 >> 16 & 16; + n = 16 - m; + i = i >> m; + y_0 = i - 256; + m = y_0 >> 16 & 8; + n += m; + i <<= m; + y_0 = i - 4096; + m = y_0 >> 16 & 4; + n += m; + i <<= m; + y_0 = i - 16384; + m = y_0 >> 16 & 2; + n += m; + i <<= m; + y_0 = i >> 14; + m = y_0 & ~(y_0 >> 1); + return n + 2 - m; + } +} + +function java_lang_Integer_numberOfTrailingZeros__II(i){ + var r, rtn; + if (i == 0) { + return 32; + } + else { + rtn = 0; + for (r = 1; (r & i) == 0; r <<= 1) { + ++rtn; + } + return rtn; + } +} + +function java_lang_Integer_valueOf__ILjava_lang_Integer_2(i){ + var rebase, result; + if (i > -129 && i < 128) { + rebase = i + 128; + result = (java_lang_Integer$BoxedValues_$clinit__V() , java_lang_Integer$BoxedValues_boxedValues)[rebase]; + !result && (result = java_lang_Integer$BoxedValues_boxedValues[rebase] = new java_lang_Integer_Integer__IV(i)); + return result; + } + return new java_lang_Integer_Integer__IV(i); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(76, 51, {3:1, 5:1, 76:1, 51:1}, java_lang_Integer_Integer__IV); +_.doubleValue__D = function(){ + return this.java_lang_Integer_value; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return java_lang_Integer_$equals__Ljava_lang_Integer_2Ljava_lang_Object_2Z(this, o); +} +; +_.hashCode__I$ = function(){ + return this.java_lang_Integer_value; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Integer_value; +} +; +_.java_lang_Integer_value = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Integer_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(76); +function java_lang_Integer$BoxedValues_$clinit__V(){ + java_lang_Integer$BoxedValues_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_Integer$BoxedValues_boxedValues = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Integer_12_1classLit, $intern_1, 76, 256, 0, 1); +} + +var java_lang_Integer$BoxedValues_boxedValues; +function java_lang_Long_Long__JV(value_0){ + this.java_lang_Long_value = value_0; +} + +function java_lang_Long_valueOf__JLjava_lang_Long_2(i){ + var rebase, result; + if (com_google_gwt_lang_LongLib_gt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(i, {l:4194175, m:$intern_14, h:$intern_15}) && com_google_gwt_lang_LongLib_lt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(i, {l:128, m:0, h:0})) { + rebase = com_google_gwt_lang_LongLib_toInt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(i) + 128; + result = (java_lang_Long$BoxedValues_$clinit__V() , java_lang_Long$BoxedValues_boxedValues)[rebase]; + !result && (result = java_lang_Long$BoxedValues_boxedValues[rebase] = new java_lang_Long_Long__JV(i)); + return result; + } + return new java_lang_Long_Long__JV(i); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(77, 51, {3:1, 5:1, 77:1, 51:1}, java_lang_Long_Long__JV); +_.doubleValue__D = function(){ + return com_google_gwt_lang_LongLib_toDouble__Lcom_google_gwt_lang_LongLibBase$LongEmul_2D(this.java_lang_Long_value); +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 77) && com_google_gwt_lang_LongLib_eq__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Lcom_google_gwt_lang_LongLibBase$LongEmul_2Z(o.java_lang_Long_value, this.java_lang_Long_value); +} +; +_.hashCode__I$ = function(){ + return com_google_gwt_lang_LongLib_toInt__Lcom_google_gwt_lang_LongLibBase$LongEmul_2I(this.java_lang_Long_value); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + com_google_gwt_lang_LongLib_toString__Lcom_google_gwt_lang_LongLibBase$LongEmul_2Ljava_lang_String_2(this.java_lang_Long_value); +} +; +_.java_lang_Long_value = {l:0, m:0, h:0}; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Long_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(77); +function java_lang_Long$BoxedValues_$clinit__V(){ + java_lang_Long$BoxedValues_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_Long$BoxedValues_boxedValues = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Long_12_1classLit, $intern_1, 77, 256, 0, 1); +} + +var java_lang_Long$BoxedValues_boxedValues; +function java_lang_Math_abs__DD(x_0){ + return x_0 <= 0?0 - x_0:x_0; +} + +function java_lang_Math_ceil__DD(x_0){ + return Math.ceil(x_0); +} + +function java_lang_Math_cos__DD(x_0){ + return Math.cos(x_0); +} + +function java_lang_Math_floor__DD(x_0){ + return Math.floor(x_0); +} + +function java_lang_Math_max__DDD(x_0, y_0){ + return x_0 > y_0?x_0:y_0; +} + +function java_lang_Math_max__III(x_0, y_0){ + return x_0 > y_0?x_0:y_0; +} + +function java_lang_Math_min__DDD(x_0, y_0){ + return x_0 < y_0?x_0:y_0; +} + +function java_lang_Math_min__III(x_0, y_0){ + return x_0 < y_0?x_0:y_0; +} + +function java_lang_Math_pow__DDD(x_0, exp_0){ + return Math.pow(x_0, exp_0); +} + +function java_lang_Math_round0__DD(x_0){ + return Math.round(x_0); +} + +function java_lang_NullPointerException_NullPointerException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +function java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V(message){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(64, 10, $intern_4, java_lang_NullPointerException_NullPointerException__V, java_lang_NullPointerException_NullPointerException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1NullPointerException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(64); +function java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V(message){ + java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(62, 8, {3:1, 12:1, 62:1, 10:1, 13:1}, java_lang_NumberFormatException_NumberFormatException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1NumberFormatException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(62); +function java_lang_Short_Short__SV(value_0){ + this.java_lang_Short_value = value_0; +} + +function java_lang_Short_valueOf__SLjava_lang_Short_2(s){ + var rebase, result; + if (s > -129 && s < 128) { + rebase = s + 128; + result = (java_lang_Short$BoxedValues_$clinit__V() , java_lang_Short$BoxedValues_boxedValues)[rebase]; + !result && (result = java_lang_Short$BoxedValues_boxedValues[rebase] = new java_lang_Short_Short__SV(s)); + return result; + } + return new java_lang_Short_Short__SV(s); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(78, 51, {3:1, 5:1, 51:1, 78:1}, java_lang_Short_Short__SV); +_.doubleValue__D = function(){ + return this.java_lang_Short_value; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 78) && o.java_lang_Short_value == this.java_lang_Short_value; +} +; +_.hashCode__I$ = function(){ + return this.java_lang_Short_value; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return '' + this.java_lang_Short_value; +} +; +_.java_lang_Short_value = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Short_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(78); +function java_lang_Short$BoxedValues_$clinit__V(){ + java_lang_Short$BoxedValues_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_Short$BoxedValues_boxedValues = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Short_12_1classLit, $intern_1, 78, 256, 0, 1); +} + +var java_lang_Short$BoxedValues_boxedValues; +function java_lang_String_$charAt__Ljava_lang_String_2IC(this$static, index_0){ + return this$static.charCodeAt(index_0); +} + +function java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static, other){ + return this$static === other; +} + +function java_lang_String_$equalsIgnoreCase__Ljava_lang_String_2Ljava_lang_String_2Z(this$static, other){ + if (other == null) { + return false; + } + if (this$static == other) { + return true; + } + return this$static.length == other.length && this$static.toLowerCase() == other.toLowerCase(); +} + +function java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2I(this$static, str){ + return this$static.indexOf(str); +} + +function java_lang_String_$indexOf__Ljava_lang_String_2Ljava_lang_String_2II(this$static, str, startIndex){ + return this$static.indexOf(str, startIndex); +} + +function java_lang_String_$matches__Ljava_lang_String_2Ljava_lang_String_2Z(this$static, regex){ + return (new RegExp('^(' + regex + ')$')).test(this$static); +} + +function java_lang_String_$replace__Ljava_lang_String_2Ljava_lang_CharSequence_2Ljava_lang_CharSequence_2Ljava_lang_String_2(this$static, from, to){ + var regex, replacement; + regex = java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(from, '([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])', '\\\\$1'); + replacement = java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(to, '\\\\', '\\\\\\\\'), '\\$', '\\\\$'); + return java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this$static, regex, replacement); +} + +function java_lang_String_$replaceAll__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this$static, regex, replace){ + replace = java_lang_String__1_1translateReplaceString__Ljava_lang_String_2Ljava_lang_String_2(replace); + return this$static.replace(RegExp(regex, 'g'), replace); +} + +function java_lang_String_$replaceFirst__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(this$static, regex, replace){ + replace = java_lang_String__1_1translateReplaceString__Ljava_lang_String_2Ljava_lang_String_2(replace); + return this$static.replace(RegExp(regex), replace); +} + +function java_lang_String_$split__Ljava_lang_String_2Ljava_lang_String_2I_3Ljava_lang_String_2(this$static, regex, maxMatch){ + var compiled = new RegExp(regex, 'g'); + var out = []; + var count = 0; + var trail = this$static; + var lastTrail = null; + while (true) { + var matchObj = compiled.exec(trail); + if (matchObj == null || trail == '' || count == maxMatch - 1 && maxMatch > 0) { + out[count] = trail; + break; + } + else { + out[count] = trail.substring(0, matchObj.index); + trail = trail.substring(matchObj.index + matchObj[0].length, trail.length); + compiled.lastIndex = 0; + if (lastTrail == trail) { + out[count] = trail.substring(0, 1); + trail = trail.substring(1); + } + lastTrail = trail; + count++; + } + } + if (maxMatch == 0 && this$static.length > 0) { + var lastNonEmpty = out.length; + while (lastNonEmpty > 0 && out[lastNonEmpty - 1] == '') { + --lastNonEmpty; + } + lastNonEmpty < out.length && out.splice(lastNonEmpty, out.length - lastNonEmpty); + } + var jr = java_lang_String__1_1createArray__I_3Ljava_lang_String_2(out.length); + for (var i = 0; i < out.length; ++i) { + jr[i] = out[i]; + } + return jr; +} + +function java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(this$static, beginIndex){ + return java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(this$static, beginIndex, this$static.length - beginIndex); +} + +function java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(this$static){ + var end, length_0, start_0; + length_0 = this$static.length; + start_0 = 0; + while (start_0 < length_0 && this$static.charCodeAt(start_0) <= 32) { + ++start_0; + } + end = length_0; + while (end > start_0 && this$static.charCodeAt(end - 1) <= 32) { + --end; + } + return start_0 > 0 || end < length_0?this$static.substr(start_0, end - start_0):this$static; +} + +function java_lang_String__1_1createArray__I_3Ljava_lang_String_2(numElements){ + return com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit, $intern_1, 2, numElements, 4, 1); +} + +function java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(str, beginIndex, len){ + return str.substr(beginIndex, len); +} + +function java_lang_String__1_1translateReplaceString__Ljava_lang_String_2Ljava_lang_String_2(replaceStr){ + var pos; + pos = 0; + while (0 <= (pos = replaceStr.indexOf('\\', pos))) { + replaceStr.charCodeAt(pos + 1) == 36?(replaceStr = replaceStr.substr(0, pos) + '$' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(replaceStr, ++pos)):(replaceStr = replaceStr.substr(0, pos) + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(replaceStr, ++pos)); + } + return replaceStr; +} + +function java_lang_String_fromCodePoint__ILjava_lang_String_2(codePoint){ + var hiSurrogate, loSurrogate; + if (codePoint >= $intern_26) { + hiSurrogate = 55296 + (codePoint - $intern_26 >> 10 & 1023) & 65535; + loSurrogate = 56320 + (codePoint - $intern_26 & 1023) & 65535; + return java_lang_String_valueOf__CLjava_lang_String_2(hiSurrogate) + java_lang_String_valueOf__CLjava_lang_String_2(loSurrogate); + } + else { + return String.fromCharCode(codePoint & 65535); + } +} + +function java_lang_String_valueOf__CLjava_lang_String_2(x_0){ + return String.fromCharCode(x_0); +} + +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1String_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(2); +function java_lang_String$HashCache_$clinit__V(){ + java_lang_String$HashCache_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_lang_String$HashCache_back = {}; + java_lang_String$HashCache_front = {}; +} + +function java_lang_String$HashCache_compute__Ljava_lang_String_2I(str){ + var hashCode, i, n, nBatch; + hashCode = 0; + n = str.length; + nBatch = n - 4; + i = 0; + while (i < nBatch) { + hashCode = str.charCodeAt(i + 3) + 31 * (str.charCodeAt(i + 2) + 31 * (str.charCodeAt(i + 1) + 31 * (str.charCodeAt(i) + 31 * hashCode))); + hashCode = hashCode | 0; + i += 4; + } + while (i < n) { + hashCode = hashCode * 31 + java_lang_String_$charAt__Ljava_lang_String_2IC(str, i++); + } + hashCode = hashCode | 0; + return hashCode; +} + +function java_lang_String$HashCache_getHashCode__Ljava_lang_String_2I(str){ + java_lang_String$HashCache_$clinit__V(); + var key = ':' + str; + var result = java_lang_String$HashCache_front[key]; + if (result != null) { + return result; + } + result = java_lang_String$HashCache_back[key]; + result == null && (result = java_lang_String$HashCache_compute__Ljava_lang_String_2I(str)); + java_lang_String$HashCache_increment__V(); + return java_lang_String$HashCache_front[key] = result; +} + +function java_lang_String$HashCache_increment__V(){ + if (java_lang_String$HashCache_count == 256) { + java_lang_String$HashCache_back = java_lang_String$HashCache_front; + java_lang_String$HashCache_front = {}; + java_lang_String$HashCache_count = 0; + } + ++java_lang_String$HashCache_count; +} + +var java_lang_String$HashCache_back, java_lang_String$HashCache_count = 0, java_lang_String$HashCache_front; +function java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_Object_2Ljava_lang_StringBuilder_2(this$static, x_0){ + this$static.java_lang_AbstractStringBuilder_string += x_0; + return this$static; +} + +function java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(this$static, x_0){ + this$static.java_lang_AbstractStringBuilder_string += x_0; + return this$static; +} + +function java_lang_StringBuilder_$delete__Ljava_lang_StringBuilder_2IILjava_lang_StringBuilder_2(this$static, start_0, end){ + this$static.java_lang_AbstractStringBuilder_string = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, 0, start_0) + '' + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, end); + return this$static; +} + +function java_lang_StringBuilder_$insert__Ljava_lang_StringBuilder_2ILjava_lang_String_2Ljava_lang_StringBuilder_2(this$static, index_0, x_0){ + this$static.java_lang_AbstractStringBuilder_string = java_lang_String__1_1substr__Ljava_lang_String_2IILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, 0, index_0) + x_0 + java_lang_String_$substring__Ljava_lang_String_2ILjava_lang_String_2(this$static.java_lang_AbstractStringBuilder_string, index_0); + return this$static; +} + +function java_lang_StringBuilder_StringBuilder__V(){ + java_lang_AbstractStringBuilder_AbstractStringBuilder__Ljava_lang_String_2V.call(this, ''); +} + +function java_lang_StringBuilder_StringBuilder__IV(){ + java_lang_AbstractStringBuilder_AbstractStringBuilder__Ljava_lang_String_2V.call(this, ''); +} + +function java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V(s){ + java_lang_AbstractStringBuilder_AbstractStringBuilder__Ljava_lang_String_2V.call(this, s); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(46, 103, {555:1}, java_lang_StringBuilder_StringBuilder__V, java_lang_StringBuilder_StringBuilder__IV, java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1StringBuilder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(46); +function java_lang_UnsupportedOperationException_UnsupportedOperationException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +function java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V(message){ + java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V.call(this, message); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(25, 10, {3:1, 12:1, 10:1, 13:1, 25:1}, java_lang_UnsupportedOperationException_UnsupportedOperationException__V, java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1UnsupportedOperationException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(25); +function java_util_AbstractCollection_$addAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this$static, c){ + var changed, e, e$iterator; + com_google_gwt_core_shared_impl_InternalPreconditions_checkNotNull__Ljava_lang_Object_2Ljava_lang_Object_2(c); + changed = false; + for (e$iterator = java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(c.java_util_HashSet_map)); e$iterator.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z();) { + e = java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(e$iterator); + changed = changed | this$static.add__Ljava_lang_Object_2Z(e); + } + return changed; +} + +function java_util_AbstractCollection_$advanceToFind__Ljava_util_AbstractCollection_2Ljava_lang_Object_2ZZ(this$static, o, remove){ + var e, iter; + for (iter = this$static.iterator__Ljava_util_Iterator_2(); iter.hasNext__Z();) { + e = iter.next__Ljava_lang_Object_2(); + if (com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(o) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(e) || o != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(o, e)) { + remove && iter.remove__V(); + return true; + } + } + return false; +} + +function java_util_AbstractCollection_$containsAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this$static, c){ + var e, e$iterator; + com_google_gwt_core_shared_impl_InternalPreconditions_checkNotNull__Ljava_lang_Object_2Ljava_lang_Object_2(c); + for (e$iterator = c.iterator__Ljava_util_Iterator_2(); e$iterator.hasNext__Z();) { + e = e$iterator.next__Ljava_lang_Object_2(); + if (!this$static.contains__Ljava_lang_Object_2Z(e)) { + return false; + } + } + return true; +} + +function java_util_AbstractCollection_$toArray__Ljava_util_AbstractCollection_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this$static, a){ + var i, it, size_0; + size_0 = this$static.size__I(); + a.length < size_0 && (a = com_google_gwt_lang_Array_createFrom___3Ljava_lang_Object_2I_3Ljava_lang_Object_2(a, size_0)); + it = this$static.iterator__Ljava_util_Iterator_2(); + for (i = 0; i < size_0; ++i) { + a[i] = it.next__Ljava_lang_Object_2(); + } + a.length > size_0 && (a[size_0] = null); + return a; +} + +function java_util_AbstractCollection_$toString__Ljava_util_AbstractCollection_2Ljava_lang_String_2(this$static){ + var comma, e, e$iterator, sb; + sb = new java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V('['); + comma = false; + for (e$iterator = this$static.iterator__Ljava_util_Iterator_2(); e$iterator.hasNext__Z();) { + e = e$iterator.next__Ljava_lang_Object_2(); + comma?(sb.java_lang_AbstractStringBuilder_string += ', ' , sb):(comma = true); + sb.java_lang_AbstractStringBuilder_string += e === this$static?'(this Collection)':'' + e; + } + sb.java_lang_AbstractStringBuilder_string += ']'; + return sb.java_lang_AbstractStringBuilder_string; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(536, 1, {}); +_.add__Ljava_lang_Object_2Z = function(o){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Add not supported on this collection'); +} +; +_.addAll__Ljava_util_Collection_2Z = function(c){ + return java_util_AbstractCollection_$addAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this, c); +} +; +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_AbstractCollection_$advanceToFind__Ljava_util_AbstractCollection_2Ljava_lang_Object_2ZZ(this, o, false); +} +; +_.isEmpty__Z = function(){ + return this.size__I() == 0; +} +; +_.remove__Ljava_lang_Object_2Z = function(o){ + return java_util_AbstractCollection_$advanceToFind__Ljava_util_AbstractCollection_2Ljava_lang_Object_2ZZ(this, o, true); +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + return this.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2(com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, $intern_1, 1, this.size__I(), 3, 1)); +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(a){ + return java_util_AbstractCollection_$toArray__Ljava_util_AbstractCollection_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this, a); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_util_AbstractCollection_$toString__Ljava_util_AbstractCollection_2Ljava_lang_String_2(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractCollection_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(536); +function java_util_AbstractMap_$containsEntry__Ljava_util_AbstractMap_2Ljava_util_Map$Entry_2Z(this$static, entry){ + var key, ourValue, value_0; + key = entry.getKey__Ljava_lang_Object_2(); + value_0 = entry.getValue__Ljava_lang_Object_2(); + ourValue = this$static.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (!(com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(value_0) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(ourValue) || value_0 != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(value_0, ourValue))) { + return false; + } + if (ourValue == null && !this$static.containsKey__Ljava_lang_Object_2Z(key)) { + return false; + } + return true; +} + +function java_util_AbstractMap_$implFindEntry__Ljava_util_AbstractMap_2Ljava_lang_Object_2ZLjava_util_Map$Entry_2(this$static, key, remove){ + var entry, iter, k; + for (iter = this$static.entrySet__Ljava_util_Set_2().iterator__Ljava_util_Iterator_2(); iter.hasNext__Z();) { + entry = iter.next__Ljava_lang_Object_2(); + k = entry.getKey__Ljava_lang_Object_2(); + if (com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(key) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(k) || key != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(key, k)) { + if (remove) { + entry = new java_util_AbstractMap$SimpleEntry_AbstractMap$SimpleEntry__Ljava_lang_Object_2Ljava_lang_Object_2V(entry.getKey__Ljava_lang_Object_2(), entry.getValue__Ljava_lang_Object_2()); + iter.remove__V(); + } + return entry; + } + } + return null; +} + +function java_util_AbstractMap_$toString__Ljava_util_AbstractMap_2Ljava_lang_Object_2Ljava_lang_String_2(this$static, o){ + return o === this$static?'(this Map)':'' + o; +} + +function java_util_AbstractMap_getEntryValueOrNull__Ljava_util_Map$Entry_2Ljava_lang_Object_2(entry){ + return !entry?null:entry.getValue__Ljava_lang_Object_2(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(540, 1, {93:1}); +_.containsKey__Ljava_lang_Object_2Z = function(key){ + return !!java_util_AbstractMap_$implFindEntry__Ljava_util_AbstractMap_2Ljava_lang_Object_2ZLjava_util_Map$Entry_2(this, key, false); +} +; +_.equals__Ljava_lang_Object_2Z$ = function(obj){ + var entry, entry$iterator, otherMap; + if (obj === this) { + return true; + } + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(obj, 93)) { + return false; + } + otherMap = obj; + if (this.size__I() != otherMap.size__I()) { + return false; + } + for (entry$iterator = otherMap.entrySet__Ljava_util_Set_2().iterator__Ljava_util_Iterator_2(); entry$iterator.hasNext__Z();) { + entry = entry$iterator.next__Ljava_lang_Object_2(); + if (!java_util_AbstractMap_$containsEntry__Ljava_util_AbstractMap_2Ljava_util_Map$Entry_2Z(this, entry)) { + return false; + } + } + return true; +} +; +_.get__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return java_util_AbstractMap_getEntryValueOrNull__Ljava_util_Map$Entry_2Ljava_lang_Object_2(java_util_AbstractMap_$implFindEntry__Ljava_util_AbstractMap_2Ljava_lang_Object_2ZLjava_util_Map$Entry_2(this, key, false)); +} +; +_.hashCode__I$ = function(){ + return java_util_Collections_hashCode__Ljava_lang_Iterable_2I(this.entrySet__Ljava_util_Set_2()); +} +; +_.isEmpty__Z = function(){ + return this.size__I() == 0; +} +; +_.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Put not supported on this map'); +} +; +_.remove__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return java_util_AbstractMap_getEntryValueOrNull__Ljava_util_Map$Entry_2Ljava_lang_Object_2(java_util_AbstractMap_$implFindEntry__Ljava_util_AbstractMap_2Ljava_lang_Object_2ZLjava_util_Map$Entry_2(this, key, true)); +} +; +_.size__I = function(){ + return this.entrySet__Ljava_util_Set_2().size__I(); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + var comma, entry, entry$iterator, sb; + sb = new java_lang_StringBuilder_StringBuilder__Ljava_lang_String_2V('{'); + comma = false; + for (entry$iterator = this.entrySet__Ljava_util_Set_2().iterator__Ljava_util_Iterator_2(); entry$iterator.hasNext__Z();) { + entry = entry$iterator.next__Ljava_lang_Object_2(); + comma?(sb.java_lang_AbstractStringBuilder_string += ', ' , sb):(comma = true); + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(sb, java_util_AbstractMap_$toString__Ljava_util_AbstractMap_2Ljava_lang_Object_2Ljava_lang_String_2(this, entry.getKey__Ljava_lang_Object_2())); + sb.java_lang_AbstractStringBuilder_string += '='; + java_lang_StringBuilder_$append__Ljava_lang_StringBuilder_2Ljava_lang_String_2Ljava_lang_StringBuilder_2(sb, java_util_AbstractMap_$toString__Ljava_util_AbstractMap_2Ljava_lang_Object_2Ljava_lang_String_2(this, entry.getValue__Ljava_lang_Object_2())); + } + sb.java_lang_AbstractStringBuilder_string += '}'; + return sb.java_lang_AbstractStringBuilder_string; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(540); +function java_util_AbstractHashMap_$elementAdded__Ljava_util_AbstractHashMap_2V(this$static){ + ++this$static.java_util_AbstractHashMap_size; + java_util_ConcurrentModificationDetector_structureChanged__Ljava_lang_Object_2V(this$static); +} + +function java_util_AbstractHashMap_$elementRemoved__Ljava_util_AbstractHashMap_2V(this$static){ + --this$static.java_util_AbstractHashMap_size; + java_util_ConcurrentModificationDetector_structureChanged__Ljava_lang_Object_2V(this$static); +} + +function java_util_AbstractHashMap_$reset__Ljava_util_AbstractHashMap_2V(this$static){ + java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_$clinit__V(); + this$static.java_util_AbstractHashMap_hashCodeMap = java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_delegate.createJsHashCodeMap__Ljava_util_InternalJsHashCodeMap_2(); + this$static.java_util_AbstractHashMap_hashCodeMap.java_util_InternalJsHashCodeMap_host = this$static; + this$static.java_util_AbstractHashMap_stringMap = java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_delegate.createJsStringMap__Ljava_util_InternalJsStringMap_2(); + this$static.java_util_AbstractHashMap_stringMap.java_util_InternalJsStringMap_host = this$static; + this$static.java_util_AbstractHashMap_size = 0; + java_util_ConcurrentModificationDetector_structureChanged__Ljava_lang_Object_2V(this$static); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(109, 540, {93:1}); +_.clear__V = function(){ + java_util_AbstractHashMap_$reset__Ljava_util_AbstractHashMap_2V(this); +} +; +_.containsKey__Ljava_lang_Object_2Z = function(key){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(key)?key == null?!!java_util_InternalJsHashCodeMap_$getEntry__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_util_Map$Entry_2(this.java_util_AbstractHashMap_hashCodeMap, null):!(this.java_util_AbstractHashMap_stringMap.get__Ljava_lang_String_2Ljava_lang_Object_2(key) === undefined):!!java_util_InternalJsHashCodeMap_$getEntry__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_util_Map$Entry_2(this.java_util_AbstractHashMap_hashCodeMap, key); +} +; +_.entrySet__Ljava_util_Set_2 = function(){ + return new java_util_AbstractHashMap$EntrySet_AbstractHashMap$EntrySet__Ljava_util_AbstractHashMap_2V(this); +} +; +_.get__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(key)?key == null?java_util_AbstractMap_getEntryValueOrNull__Ljava_util_Map$Entry_2Ljava_lang_Object_2(java_util_InternalJsHashCodeMap_$getEntry__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_util_Map$Entry_2(this.java_util_AbstractHashMap_hashCodeMap, null)):this.java_util_AbstractHashMap_stringMap.get__Ljava_lang_String_2Ljava_lang_Object_2(key):java_util_AbstractMap_getEntryValueOrNull__Ljava_util_Map$Entry_2Ljava_lang_Object_2(java_util_InternalJsHashCodeMap_$getEntry__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_util_Map$Entry_2(this.java_util_AbstractHashMap_hashCodeMap, key)); +} +; +_.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(key)?key == null?java_util_InternalJsHashCodeMap_$put__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_AbstractHashMap_hashCodeMap, null, value_0):this.java_util_AbstractHashMap_stringMap.put__Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2(key, value_0):java_util_InternalJsHashCodeMap_$put__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_AbstractHashMap_hashCodeMap, key, value_0); +} +; +_.remove__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return com_google_gwt_lang_Cast_isJavaString__Ljava_lang_Object_2Z(key)?key == null?java_util_InternalJsHashCodeMap_$remove__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_AbstractHashMap_hashCodeMap, null):this.java_util_AbstractHashMap_stringMap.remove__Ljava_lang_String_2Ljava_lang_Object_2(key):java_util_InternalJsHashCodeMap_$remove__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_AbstractHashMap_hashCodeMap, key); +} +; +_.size__I = function(){ + return this.java_util_AbstractHashMap_size; +} +; +_.java_util_AbstractHashMap_size = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractHashMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(109); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(541, 536, $intern_38); +_.equals__Ljava_lang_Object_2Z$ = function(o){ + var other; + if (o === this) { + return true; + } + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 65)) { + return false; + } + other = o; + if (other.size__I() != this.size__I()) { + return false; + } + return java_util_AbstractCollection_$containsAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this, other); +} +; +_.hashCode__I$ = function(){ + return java_util_Collections_hashCode__Ljava_lang_Iterable_2I(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractSet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(541); +function java_util_AbstractHashMap$EntrySet_$contains__Ljava_util_AbstractHashMap$EntrySet_2Ljava_lang_Object_2Z(this$static, o){ + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 55)) { + return java_util_AbstractMap_$containsEntry__Ljava_util_AbstractMap_2Ljava_util_Map$Entry_2Z(this$static.java_util_AbstractHashMap$EntrySet_this$01, o); + } + return false; +} + +function java_util_AbstractHashMap$EntrySet_AbstractHashMap$EntrySet__Ljava_util_AbstractHashMap_2V(this$0){ + this.java_util_AbstractHashMap$EntrySet_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(306, 541, $intern_38, java_util_AbstractHashMap$EntrySet_AbstractHashMap$EntrySet__Ljava_util_AbstractHashMap_2V); +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_AbstractHashMap$EntrySet_$contains__Ljava_util_AbstractHashMap$EntrySet_2Ljava_lang_Object_2Z(this, o); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new java_util_AbstractHashMap$EntrySetIterator_AbstractHashMap$EntrySetIterator__Ljava_util_AbstractHashMap_2V(this.java_util_AbstractHashMap$EntrySet_this$01); +} +; +_.remove__Ljava_lang_Object_2Z = function(entry){ + var key; + if (java_util_AbstractHashMap$EntrySet_$contains__Ljava_util_AbstractHashMap$EntrySet_2Ljava_lang_Object_2Z(this, entry)) { + key = entry.getKey__Ljava_lang_Object_2(); + this.java_util_AbstractHashMap$EntrySet_this$01.remove__Ljava_lang_Object_2Ljava_lang_Object_2(key); + return true; + } + return false; +} +; +_.size__I = function(){ + return this.java_util_AbstractHashMap$EntrySet_this$01.size__I(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractHashMap$EntrySet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(306); +function java_util_AbstractHashMap$EntrySetIterator_$hasNext__Ljava_util_AbstractHashMap$EntrySetIterator_2Z(this$static){ + if (this$static.java_util_AbstractHashMap$EntrySetIterator_current.hasNext__Z()) { + return true; + } + if (this$static.java_util_AbstractHashMap$EntrySetIterator_current != this$static.java_util_AbstractHashMap$EntrySetIterator_stringMapEntries) { + return false; + } + this$static.java_util_AbstractHashMap$EntrySetIterator_current = this$static.java_util_AbstractHashMap$EntrySetIterator_this$01.java_util_AbstractHashMap_hashCodeMap.entries__Ljava_util_Iterator_2(); + return this$static.java_util_AbstractHashMap$EntrySetIterator_current.hasNext__Z(); +} + +function java_util_AbstractHashMap$EntrySetIterator_AbstractHashMap$EntrySetIterator__Ljava_util_AbstractHashMap_2V(this$0){ + this.java_util_AbstractHashMap$EntrySetIterator_this$01 = this$0; + this.java_util_AbstractHashMap$EntrySetIterator_stringMapEntries = this.java_util_AbstractHashMap$EntrySetIterator_this$01.java_util_AbstractHashMap_stringMap.entries__Ljava_util_Iterator_2(); + this.java_util_AbstractHashMap$EntrySetIterator_current = this.java_util_AbstractHashMap$EntrySetIterator_stringMapEntries; + java_util_ConcurrentModificationDetector_setModCount__Ljava_lang_Object_2IV(this, this$0._gwt_modCount); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(307, 1, {}, java_util_AbstractHashMap$EntrySetIterator_AbstractHashMap$EntrySetIterator__Ljava_util_AbstractHashMap_2V); +_.hasNext__Z = function(){ + return java_util_AbstractHashMap$EntrySetIterator_$hasNext__Ljava_util_AbstractHashMap$EntrySetIterator_2Z(this); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return java_util_ConcurrentModificationDetector_checkStructuralChange__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_AbstractHashMap$EntrySetIterator_this$01, this) , com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(java_util_AbstractHashMap$EntrySetIterator_$hasNext__Ljava_util_AbstractHashMap$EntrySetIterator_2Z(this)) , this.java_util_AbstractHashMap$EntrySetIterator_last = this.java_util_AbstractHashMap$EntrySetIterator_current , this.java_util_AbstractHashMap$EntrySetIterator_current.next__Ljava_lang_Object_2(); +} +; +_.remove__V = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(!!this.java_util_AbstractHashMap$EntrySetIterator_last); + java_util_ConcurrentModificationDetector_checkStructuralChange__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_AbstractHashMap$EntrySetIterator_this$01, this); + this.java_util_AbstractHashMap$EntrySetIterator_last.remove__V(); + this.java_util_AbstractHashMap$EntrySetIterator_last = null; + java_util_ConcurrentModificationDetector_recordLastKnownStructure__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_AbstractHashMap$EntrySetIterator_this$01, this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractHashMap$EntrySetIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(307); +function java_util_AbstractList_$clear__Ljava_util_AbstractList_2V(this$static){ + java_util_AbstractList_$removeRange__Ljava_util_AbstractList_2IIV(this$static, this$static.java_util_AbstractList$SubList_size); +} + +function java_util_AbstractList_$indexOf__Ljava_util_AbstractList_2Ljava_lang_Object_2I(this$static, toFind){ + var i, n; + for (i = 0 , n = this$static.size__I(); i < n; ++i) { + if (java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(toFind, this$static.get__ILjava_lang_Object_2(i))) { + return i; + } + } + return -1; +} + +function java_util_AbstractList_$removeRange__Ljava_util_AbstractList_2IIV(this$static, endIndex){ + var i, iter; + iter = new java_util_AbstractList$ListIteratorImpl_AbstractList$ListIteratorImpl__Ljava_util_AbstractList_2IV(this$static, 0); + for (i = 0; i < endIndex; ++i) { + iter.next__Ljava_lang_Object_2(); + iter.remove__V(); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(537, 536, $intern_35); +_.add__ILjava_lang_Object_2V = function(index_0, element){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Add not supported on this list'); +} +; +_.add__Ljava_lang_Object_2Z = function(obj){ + this.add__ILjava_lang_Object_2V(this.size__I(), obj); + return true; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + var elem, elem$iterator, elemOther, iterOther, other; + if (o === this) { + return true; + } + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 42)) { + return false; + } + other = o; + if (this.size__I() != other.size__I()) { + return false; + } + iterOther = other.iterator__Ljava_util_Iterator_2(); + for (elem$iterator = this.iterator__Ljava_util_Iterator_2(); elem$iterator.hasNext__Z();) { + elem = elem$iterator.next__Ljava_lang_Object_2(); + elemOther = iterOther.next__Ljava_lang_Object_2(); + if (!(com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(elem) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(elemOther) || elem != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(elem, elemOther))) { + return false; + } + } + return true; +} +; +_.hashCode__I$ = function(){ + return java_util_Collections_hashCode__Ljava_util_List_2I(this); +} +; +_.indexOf__Ljava_lang_Object_2I = function(toFind){ + return java_util_AbstractList_$indexOf__Ljava_util_AbstractList_2Ljava_lang_Object_2I(this, toFind); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this); +} +; +_.listIterator__Ljava_util_ListIterator_2 = function(){ + return this.listIterator__ILjava_util_ListIterator_2(0); +} +; +_.listIterator__ILjava_util_ListIterator_2 = function(from){ + return new java_util_AbstractList$ListIteratorImpl_AbstractList$ListIteratorImpl__Ljava_util_AbstractList_2IV(this, from); +} +; +_.remove__ILjava_lang_Object_2 = function(index_0){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__Ljava_lang_String_2V('Remove not supported on this list'); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(537); +function java_util_AbstractList$IteratorImpl_$hasNext__Ljava_util_AbstractList$IteratorImpl_2Z(this$static){ + return this$static.java_util_AbstractList$IteratorImpl_i < this$static.java_util_AbstractList$IteratorImpl_this$01.size__I(); +} + +function java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(this$static){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this$static.java_util_AbstractList$IteratorImpl_i < this$static.java_util_AbstractList$IteratorImpl_this$01.size__I()); + return this$static.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(this$static.java_util_AbstractList$IteratorImpl_last = this$static.java_util_AbstractList$IteratorImpl_i++); +} + +function java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$0){ + this.java_util_AbstractList$IteratorImpl_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(33, 1, {}, java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V); +_.hasNext__Z = function(){ + return java_util_AbstractList$IteratorImpl_$hasNext__Ljava_util_AbstractList$IteratorImpl_2Z(this); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(this); +} +; +_.remove__V = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(this.java_util_AbstractList$IteratorImpl_last != -1); + this.java_util_AbstractList$IteratorImpl_this$01.remove__ILjava_lang_Object_2(this.java_util_AbstractList$IteratorImpl_last); + this.java_util_AbstractList$IteratorImpl_i = this.java_util_AbstractList$IteratorImpl_last; + this.java_util_AbstractList$IteratorImpl_last = -1; +} +; +_.java_util_AbstractList$IteratorImpl_i = 0; +_.java_util_AbstractList$IteratorImpl_last = -1; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractList$IteratorImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(33); +function java_util_AbstractList$ListIteratorImpl_AbstractList$ListIteratorImpl__Ljava_util_AbstractList_2IV(this$0, start_0){ + this.java_util_AbstractList$ListIteratorImpl_this$01 = this$0; + java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V.call(this, this$0); + com_google_gwt_core_shared_impl_InternalPreconditions_checkPositionIndex__IIV(start_0, this$0.size__I()); + this.java_util_AbstractList$IteratorImpl_i = start_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(139, 33, {}, java_util_AbstractList$ListIteratorImpl_AbstractList$ListIteratorImpl__Ljava_util_AbstractList_2IV); +_.hasPrevious__Z = function(){ + return this.java_util_AbstractList$IteratorImpl_i > 0; +} +; +_.previous__Ljava_lang_Object_2 = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this.java_util_AbstractList$IteratorImpl_i > 0); + return this.java_util_AbstractList$ListIteratorImpl_this$01.get__ILjava_lang_Object_2(this.java_util_AbstractList$IteratorImpl_last = --this.java_util_AbstractList$IteratorImpl_i); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractList$ListIteratorImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(139); +function java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV(wrapped, fromIndex, toIndex){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalPositionIndexes__IIIV(fromIndex, toIndex, wrapped.java_util_ArrayList_array.length); + this.java_util_AbstractList$SubList_wrapped = wrapped; + this.java_util_AbstractList$SubList_fromIndex = fromIndex; + this.java_util_AbstractList$SubList_size = toIndex - fromIndex; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(60, 537, $intern_35, java_util_AbstractList$SubList_AbstractList$SubList__Ljava_util_List_2IIV); +_.add__ILjava_lang_Object_2V = function(index_0, element){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkPositionIndex__IIV(index_0, this.java_util_AbstractList$SubList_size); + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this.java_util_AbstractList$SubList_wrapped, this.java_util_AbstractList$SubList_fromIndex + index_0, element); + ++this.java_util_AbstractList$SubList_size; +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this.java_util_AbstractList$SubList_size) , java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this.java_util_AbstractList$SubList_wrapped, this.java_util_AbstractList$SubList_fromIndex + index_0); +} +; +_.remove__ILjava_lang_Object_2 = function(index_0){ + var result; + com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this.java_util_AbstractList$SubList_size); + result = this.java_util_AbstractList$SubList_wrapped.remove__ILjava_lang_Object_2(this.java_util_AbstractList$SubList_fromIndex + index_0); + --this.java_util_AbstractList$SubList_size; + return result; +} +; +_.size__I = function(){ + return this.java_util_AbstractList$SubList_size; +} +; +_.java_util_AbstractList$SubList_fromIndex = 0; +_.java_util_AbstractList$SubList_size = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractList$SubList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(60); +function java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(this$static){ + var outerIter; + outerIter = this$static.java_util_AbstractMap$1_this$01.entrySet__Ljava_util_Set_2().iterator__Ljava_util_Iterator_2(); + return new java_util_AbstractMap$1$1_AbstractMap$1$1__Ljava_util_AbstractMap$1_2V(outerIter); +} + +function java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this$0){ + this.java_util_AbstractMap$1_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(38, 541, $intern_38, java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V); +_.contains__Ljava_lang_Object_2Z = function(key){ + return this.java_util_AbstractMap$1_this$01.containsKey__Ljava_lang_Object_2Z(key); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(this); +} +; +_.remove__Ljava_lang_Object_2Z = function(key){ + if (this.java_util_AbstractMap$1_this$01.containsKey__Ljava_lang_Object_2Z(key)) { + this.java_util_AbstractMap$1_this$01.remove__Ljava_lang_Object_2Ljava_lang_Object_2(key); + return true; + } + return false; +} +; +_.size__I = function(){ + return this.java_util_AbstractMap$1_this$01.size__I(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMap$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(38); +function java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(this$static){ + var entry; + entry = this$static.java_util_AbstractMap$1$1_val$outerIter2.next__Ljava_lang_Object_2(); + return entry.getKey__Ljava_lang_Object_2(); +} + +function java_util_AbstractMap$1$1_AbstractMap$1$1__Ljava_util_AbstractMap$1_2V(val$outerIter){ + this.java_util_AbstractMap$1$1_val$outerIter2 = val$outerIter; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(309, 1, {}, java_util_AbstractMap$1$1_AbstractMap$1$1__Ljava_util_AbstractMap$1_2V); +_.hasNext__Z = function(){ + return this.java_util_AbstractMap$1$1_val$outerIter2.hasNext__Z(); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return java_util_AbstractMap$1$1_$next__Ljava_util_AbstractMap$1$1_2Ljava_lang_Object_2(this); +} +; +_.remove__V = function(){ + this.java_util_AbstractMap$1$1_val$outerIter2.remove__V(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMap$1$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(309); +function java_util_AbstractMap$AbstractEntry_$setValue__Ljava_util_AbstractMap$AbstractEntry_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, value_0){ + var oldValue; + oldValue = this$static.java_util_AbstractMap$AbstractEntry_value; + this$static.java_util_AbstractMap$AbstractEntry_value = value_0; + return oldValue; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(308, 1, $intern_39); +_.equals__Ljava_lang_Object_2Z$ = function(other){ + var entry; + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(other, 55)) { + return false; + } + entry = other; + return java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.java_util_AbstractMap$AbstractEntry_key, entry.getKey__Ljava_lang_Object_2()) && java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.java_util_AbstractMap$AbstractEntry_value, entry.getValue__Ljava_lang_Object_2()); +} +; +_.getKey__Ljava_lang_Object_2 = function(){ + return this.java_util_AbstractMap$AbstractEntry_key; +} +; +_.getValue__Ljava_lang_Object_2 = function(){ + return this.java_util_AbstractMap$AbstractEntry_value; +} +; +_.hashCode__I$ = function(){ + return java_util_Objects_hashCode__Ljava_lang_Object_2I(this.java_util_AbstractMap$AbstractEntry_key) ^ java_util_Objects_hashCode__Ljava_lang_Object_2I(this.java_util_AbstractMap$AbstractEntry_value); +} +; +_.setValue__Ljava_lang_Object_2Ljava_lang_Object_2 = function(value_0){ + return java_util_AbstractMap$AbstractEntry_$setValue__Ljava_util_AbstractMap$AbstractEntry_2Ljava_lang_Object_2Ljava_lang_Object_2(this, value_0); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return this.java_util_AbstractMap$AbstractEntry_key + '=' + this.java_util_AbstractMap$AbstractEntry_value; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMap$AbstractEntry_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(308); +function java_util_AbstractMap$SimpleEntry_AbstractMap$SimpleEntry__Ljava_lang_Object_2Ljava_lang_Object_2V(key, value_0){ + this.java_util_AbstractMap$AbstractEntry_key = key; + this.java_util_AbstractMap$AbstractEntry_value = value_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(110, 308, $intern_39, java_util_AbstractMap$SimpleEntry_AbstractMap$SimpleEntry__Ljava_lang_Object_2Ljava_lang_Object_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMap$SimpleEntry_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(110); +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(550, 1, $intern_39); +_.equals__Ljava_lang_Object_2Z$ = function(other){ + var entry; + if (!com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(other, 55)) { + return false; + } + entry = other; + return java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.getKey__Ljava_lang_Object_2(), entry.getKey__Ljava_lang_Object_2()) && java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.getValue__Ljava_lang_Object_2(), entry.getValue__Ljava_lang_Object_2()); +} +; +_.hashCode__I$ = function(){ + return java_util_Objects_hashCode__Ljava_lang_Object_2I(this.getKey__Ljava_lang_Object_2()) ^ java_util_Objects_hashCode__Ljava_lang_Object_2I(this.getValue__Ljava_lang_Object_2()); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return this.getKey__Ljava_lang_Object_2() + '=' + this.getValue__Ljava_lang_Object_2(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractMapEntry_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(550); +function java_util_AbstractSequentialList_$addAll__Ljava_util_AbstractSequentialList_2ILjava_util_Collection_2Z(this$static, index_0, c){ + var e, e$iterator, iter, modified; + com_google_gwt_core_shared_impl_InternalPreconditions_checkNotNull__Ljava_lang_Object_2Ljava_lang_Object_2(c); + modified = false; + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static, index_0); + for (e$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(c); e$iterator.java_util_AbstractList$IteratorImpl_i < e$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I();) { + e = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(e$iterator.java_util_AbstractList$IteratorImpl_i < e$iterator.java_util_AbstractList$IteratorImpl_this$01.size__I()) , e$iterator.java_util_AbstractList$IteratorImpl_this$01.get__ILjava_lang_Object_2(e$iterator.java_util_AbstractList$IteratorImpl_last = e$iterator.java_util_AbstractList$IteratorImpl_i++)); + java_util_LinkedList$ListIteratorImpl_$add__Ljava_util_LinkedList$ListIteratorImpl_2Ljava_lang_Object_2V(iter, e); + modified = true; + } + return modified; +} + +function java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this$static, index_0){ + var iter; + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static, index_0); + try { + return com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iter.java_util_LinkedList$ListIteratorImpl_currentNode != iter.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iter.java_util_LinkedList$ListIteratorImpl_lastNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode , iter.java_util_LinkedList$ListIteratorImpl_currentNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iter.java_util_LinkedList$ListIteratorImpl_currentIndex , iter.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value; + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 52)) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V("Can't get element " + index_0); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +function java_util_AbstractSequentialList_$remove__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this$static, index_0){ + var iter, old; + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static, index_0); + try { + old = (com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(iter.java_util_LinkedList$ListIteratorImpl_currentNode != iter.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , iter.java_util_LinkedList$ListIteratorImpl_lastNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode , iter.java_util_LinkedList$ListIteratorImpl_currentNode = iter.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++iter.java_util_LinkedList$ListIteratorImpl_currentIndex , iter.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value); + java_util_LinkedList$ListIteratorImpl_$remove__Ljava_util_LinkedList$ListIteratorImpl_2V(iter); + return old; + } + catch ($e0) { + $e0 = com_google_gwt_lang_Exceptions_wrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z($e0, 52)) { + throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__Ljava_lang_String_2V("Can't remove element " + index_0); + } + else + throw com_google_gwt_lang_Exceptions_unwrap__Ljava_lang_Object_2Ljava_lang_Object_2($e0); + } +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(551, 537, $intern_35); +_.add__ILjava_lang_Object_2V = function(index_0, element){ + var iter; + iter = java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this, index_0); + java_util_LinkedList$ListIteratorImpl_$add__Ljava_util_LinkedList$ListIteratorImpl_2Ljava_lang_Object_2V(iter, element); +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return java_util_AbstractSequentialList_$get__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this, index_0); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this, 0); +} +; +_.remove__ILjava_lang_Object_2 = function(index_0){ + return java_util_AbstractSequentialList_$remove__Ljava_util_AbstractSequentialList_2ILjava_lang_Object_2(this, index_0); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1AbstractSequentialList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(551); +function java_util_ArrayList_$$init__Ljava_util_ArrayList_2V(this$static){ + this$static.java_util_ArrayList_array = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, $intern_1, 1, 0, 3, 1); +} + +function java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static, index_0, o){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkPositionIndex__IIV(index_0, this$static.java_util_ArrayList_array.length); + java_util_ArrayList_splice___3Ljava_lang_Object_2IILjava_lang_Object_2V(this$static.java_util_ArrayList_array, index_0, 0, o); +} + +function java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static, o){ + this$static.java_util_ArrayList_array[this$static.java_util_ArrayList_array.length] = o; + return true; +} + +function java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static, index_0){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this$static.java_util_ArrayList_array.length); + return this$static.java_util_ArrayList_array[index_0]; +} + +function java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static, o, index_0){ + for (; index_0 < this$static.java_util_ArrayList_array.length; ++index_0) { + if (java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(o, this$static.java_util_ArrayList_array[index_0])) { + return index_0; + } + } + return -1; +} + +function java_util_ArrayList_$insertAt__Ljava_util_ArrayList_2I_3Ljava_lang_Object_2V(this$static, index_0, values){ + com_google_gwt_lang_Array_nativeArraySplice__Ljava_lang_Object_2ILjava_lang_Object_2IIZV(values, 0, this$static.java_util_ArrayList_array, index_0, values.length, false); +} + +function java_util_ArrayList_$remove__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static, index_0){ + var previous; + previous = (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this$static.java_util_ArrayList_array.length) , this$static.java_util_ArrayList_array[index_0]); + java_util_ArrayList_splice___3Ljava_lang_Object_2IIV(this$static.java_util_ArrayList_array, index_0, 1); + return previous; +} + +function java_util_ArrayList_$remove__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this$static, o){ + var i; + i = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static, o, 0); + if (i == -1) { + return false; + } + this$static.remove__ILjava_lang_Object_2(i); + return true; +} + +function java_util_ArrayList_$set__Ljava_util_ArrayList_2ILjava_lang_Object_2Ljava_lang_Object_2(this$static, index_0, o){ + var previous; + previous = (com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this$static.java_util_ArrayList_array.length) , this$static.java_util_ArrayList_array[index_0]); + this$static.java_util_ArrayList_array[index_0] = o; + return previous; +} + +function java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2(this$static){ + return com_google_gwt_lang_Array_cloneSubrange___3Ljava_lang_Object_2II_3Ljava_lang_Object_2(this$static.java_util_ArrayList_array, this$static.java_util_ArrayList_array.length); +} + +function java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this$static, out){ + var i, size_0; + size_0 = this$static.java_util_ArrayList_array.length; + out.length < size_0 && (out = com_google_gwt_lang_Array_createFrom___3Ljava_lang_Object_2I_3Ljava_lang_Object_2(out, size_0)); + for (i = 0; i < size_0; ++i) { + out[i] = this$static.java_util_ArrayList_array[i]; + } + out.length > size_0 && (out[size_0] = null); + return out; +} + +function java_util_ArrayList_ArrayList__V(){ + java_util_ArrayList_$$init__Ljava_util_ArrayList_2V(this); +} + +function java_util_ArrayList_ArrayList__IV(initialCapacity){ + java_util_ArrayList_$$init__Ljava_util_ArrayList_2V(this); + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_Object_2V(initialCapacity >= 0, 'Initial capacity must not be negative'); +} + +function java_util_ArrayList_ArrayList__Ljava_util_Collection_2V(c){ + java_util_ArrayList_$$init__Ljava_util_ArrayList_2V(this); + java_util_ArrayList_$insertAt__Ljava_util_ArrayList_2I_3Ljava_lang_Object_2V(this, 0, c.toArray___3Ljava_lang_Object_2()); +} + +function java_util_ArrayList_splice___3Ljava_lang_Object_2IIV(array, index_0, deleteCount){ + array.splice(index_0, deleteCount); +} + +function java_util_ArrayList_splice___3Ljava_lang_Object_2IILjava_lang_Object_2V(array, index_0, deleteCount, value_0){ + array.splice(index_0, deleteCount, value_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(11, 537, $intern_40, java_util_ArrayList_ArrayList__V, java_util_ArrayList_ArrayList__IV, java_util_ArrayList_ArrayList__Ljava_util_Collection_2V); +_.add__ILjava_lang_Object_2V = function(index_0, o){ + java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this, index_0, o); +} +; +_.add__Ljava_lang_Object_2Z = function(o){ + return java_util_ArrayList_$add__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this, o); +} +; +_.addAll__Ljava_util_Collection_2Z = function(c){ + var cArray, len; + cArray = java_util_AbstractCollection_$toArray__Ljava_util_AbstractCollection_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(c, com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1Object_12_1classLit, $intern_1, 1, c.java_util_HashSet_map.size__I(), 3, 1)); + len = cArray.length; + if (len == 0) { + return false; + } + java_util_ArrayList_$insertAt__Ljava_util_ArrayList_2I_3Ljava_lang_Object_2V(this, this.java_util_ArrayList_array.length, cArray); + return true; +} +; +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this, o, 0) != -1; +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this, index_0); +} +; +_.indexOf__Ljava_lang_Object_2I = function(o){ + return java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this, o, 0); +} +; +_.isEmpty__Z = function(){ + return this.java_util_ArrayList_array.length == 0; +} +; +_.remove__ILjava_lang_Object_2 = function(index_0){ + return java_util_ArrayList_$remove__Ljava_util_ArrayList_2ILjava_lang_Object_2(this, index_0); +} +; +_.remove__Ljava_lang_Object_2Z = function(o){ + return java_util_ArrayList_$remove__Ljava_util_ArrayList_2Ljava_lang_Object_2Z(this, o); +} +; +_.size__I = function(){ + return this.java_util_ArrayList_array.length; +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + return java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2(this); +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(out){ + return java_util_ArrayList_$toArray__Ljava_util_ArrayList_2_3Ljava_lang_Object_2_3Ljava_lang_Object_2(this, out); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1ArrayList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(11); +function java_util_Arrays$ArrayList_$get__Ljava_util_Arrays$ArrayList_2ILjava_lang_Object_2(this$static, index_0){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, this$static.java_util_Arrays$ArrayList_array.length); + return this$static.java_util_Arrays$ArrayList_array[index_0]; +} + +function java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V(array){ + this.java_util_Arrays$ArrayList_array = array; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(34, 537, $intern_40, java_util_Arrays$ArrayList_Arrays$ArrayList___3Ljava_lang_Object_2V); +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_AbstractList_$indexOf__Ljava_util_AbstractList_2Ljava_lang_Object_2I(this, o) != -1; +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return java_util_Arrays$ArrayList_$get__Ljava_util_Arrays$ArrayList_2ILjava_lang_Object_2(this, index_0); +} +; +_.size__I = function(){ + return this.java_util_Arrays$ArrayList_array.length; +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + return com_google_gwt_lang_Array_clone___3Ljava_lang_Object_2_3Ljava_lang_Object_2(this.java_util_Arrays$ArrayList_array); +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(out){ + var i, size_0; + size_0 = this.java_util_Arrays$ArrayList_array.length; + out.length < size_0 && (out = com_google_gwt_lang_Array_createFrom___3Ljava_lang_Object_2I_3Ljava_lang_Object_2(out, size_0)); + for (i = 0; i < size_0; ++i) { + out[i] = this.java_util_Arrays$ArrayList_array[i]; + } + out.length > size_0 && (out[size_0] = null); + return out; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Arrays$ArrayList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(34); +function java_util_Collections_$clinit__V(){ + java_util_Collections_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_util_Collections_EMPTY_1LIST = new java_util_Collections$EmptyList_Collections$EmptyList__V; + java_util_Collections_EMPTY_1SET = new java_util_Collections$EmptySet_Collections$EmptySet__V; +} + +function java_util_Collections_hashCode__Ljava_lang_Iterable_2I(collection){ + java_util_Collections_$clinit__V(); + var e, e$iterator, hashCode; + hashCode = 0; + for (e$iterator = collection.iterator__Ljava_util_Iterator_2(); e$iterator.hasNext__Z();) { + e = e$iterator.next__Ljava_lang_Object_2(); + hashCode = hashCode + (e != null?java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(e):0); + hashCode = hashCode | 0; + } + return hashCode; +} + +function java_util_Collections_hashCode__Ljava_util_List_2I(list){ + java_util_Collections_$clinit__V(); + var e, e$iterator, hashCode; + hashCode = 1; + for (e$iterator = list.iterator__Ljava_util_Iterator_2(); e$iterator.hasNext__Z();) { + e = e$iterator.next__Ljava_lang_Object_2(); + hashCode = 31 * hashCode + (e != null?java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(e):0); + hashCode = hashCode | 0; + } + return hashCode; +} + +function java_util_Collections_singleton__Ljava_lang_Object_2Ljava_util_Set_2(o){ + java_util_Collections_$clinit__V(); + var set_0; + set_0 = new java_util_HashSet_HashSet__IV; + java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(set_0, o); + return new java_util_Collections$UnmodifiableSet_Collections$UnmodifiableSet__Ljava_util_Set_2V(set_0); +} + +function java_util_Collections_unmodifiableList__Ljava_util_List_2Ljava_util_List_2(list){ + java_util_Collections_$clinit__V(); + return com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(list, 86)?new java_util_Collections$UnmodifiableRandomAccessList_Collections$UnmodifiableRandomAccessList__Ljava_util_List_2V(list):new java_util_Collections$UnmodifiableList_Collections$UnmodifiableList__Ljava_util_List_2V(list); +} + +var java_util_Collections_EMPTY_1LIST, java_util_Collections_EMPTY_1SET; +function java_util_Collections$EmptyList_Collections$EmptyList__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(380, 537, $intern_40, java_util_Collections$EmptyList_Collections$EmptyList__V); +_.contains__Ljava_lang_Object_2Z = function(object){ + return false; +} +; +_.get__ILjava_lang_Object_2 = function(location_0){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(location_0, 0); + return null; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return java_util_Collections_$clinit__V() , java_util_Collections$EmptyListIterator_$clinit__V() , java_util_Collections$EmptyListIterator_INSTANCE; +} +; +_.listIterator__Ljava_util_ListIterator_2 = function(){ + return java_util_Collections_$clinit__V() , java_util_Collections$EmptyListIterator_$clinit__V() , java_util_Collections$EmptyListIterator_INSTANCE; +} +; +_.size__I = function(){ + return 0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$EmptyList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(380); +function java_util_Collections$EmptyListIterator_$clinit__V(){ + java_util_Collections$EmptyListIterator_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_util_Collections$EmptyListIterator_INSTANCE = new java_util_Collections$EmptyListIterator_Collections$EmptyListIterator__V; +} + +function java_util_Collections$EmptyListIterator_Collections$EmptyListIterator__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(381, 1, {}, java_util_Collections$EmptyListIterator_Collections$EmptyListIterator__V); +_.hasNext__Z = function(){ + return false; +} +; +_.hasPrevious__Z = function(){ + return false; +} +; +_.next__Ljava_lang_Object_2 = function(){ + throw new java_util_NoSuchElementException_NoSuchElementException__V; +} +; +_.previous__Ljava_lang_Object_2 = function(){ + throw new java_util_NoSuchElementException_NoSuchElementException__V; +} +; +_.remove__V = function(){ + throw new java_lang_IllegalStateException_IllegalStateException__V; +} +; +var java_util_Collections$EmptyListIterator_INSTANCE; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$EmptyListIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(381); +function java_util_Collections$EmptySet_Collections$EmptySet__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(382, 541, $intern_41, java_util_Collections$EmptySet_Collections$EmptySet__V); +_.contains__Ljava_lang_Object_2Z = function(object){ + return false; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return java_util_Collections_$clinit__V() , java_util_Collections$EmptyListIterator_$clinit__V() , java_util_Collections$EmptyListIterator_INSTANCE; +} +; +_.size__I = function(){ + return 0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$EmptySet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(382); +function java_util_Collections$SingletonList_Collections$SingletonList__Ljava_lang_Object_2V(element){ + this.java_util_Collections$SingletonList_element = element; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(145, 537, {3:1, 42:1}, java_util_Collections$SingletonList_Collections$SingletonList__Ljava_lang_Object_2V); +_.contains__Ljava_lang_Object_2Z = function(item_0){ + return java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(this.java_util_Collections$SingletonList_element, item_0); +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkElementIndex__IIV(index_0, 1); + return this.java_util_Collections$SingletonList_element; +} +; +_.size__I = function(){ + return 1; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$SingletonList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(145); +function java_util_Collections$UnmodifiableCollection_Collections$UnmodifiableCollection__Ljava_util_Collection_2V(coll){ + this.java_util_Collections$UnmodifiableCollection_coll = coll; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(146, 1, {}); +_.add__Ljava_lang_Object_2Z = function(o){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.addAll__Ljava_util_Collection_2Z = function(c){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.contains__Ljava_lang_Object_2Z = function(o){ + return this.java_util_Collections$UnmodifiableCollection_coll.contains__Ljava_lang_Object_2Z(o); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(this.java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2()); +} +; +_.remove__Ljava_lang_Object_2Z = function(o){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.size__I = function(){ + return this.java_util_Collections$UnmodifiableCollection_coll.size__I(); +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + return this.java_util_Collections$UnmodifiableCollection_coll.toArray___3Ljava_lang_Object_2(); +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(a){ + return this.java_util_Collections$UnmodifiableCollection_coll.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2(a); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return this.java_util_Collections$UnmodifiableCollection_coll.toString__Ljava_lang_String_2$(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableCollection_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(146); +function java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V(it){ + this.java_util_Collections$UnmodifiableCollectionIterator_it = it; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(63, 1, {}, java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V); +_.hasNext__Z = function(){ + return this.java_util_Collections$UnmodifiableCollectionIterator_it.hasNext__Z(); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return this.java_util_Collections$UnmodifiableCollectionIterator_it.next__Ljava_lang_Object_2(); +} +; +_.remove__V = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableCollectionIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(63); +function java_util_Collections$UnmodifiableList_$get__Ljava_util_Collections$UnmodifiableList_2ILjava_lang_Object_2(this$static, index_0){ + return this$static.java_util_Collections$UnmodifiableList_list.get__ILjava_lang_Object_2(index_0); +} + +function java_util_Collections$UnmodifiableList_$indexOf__Ljava_util_Collections$UnmodifiableList_2Ljava_lang_Object_2I(this$static, o){ + return this$static.java_util_Collections$UnmodifiableList_list.indexOf__Ljava_lang_Object_2I(o); +} + +function java_util_Collections$UnmodifiableList_Collections$UnmodifiableList__Ljava_util_List_2V(list){ + java_util_Collections$UnmodifiableCollection_Collections$UnmodifiableCollection__Ljava_util_Collection_2V.call(this, list); + this.java_util_Collections$UnmodifiableList_list = list; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(147, 146, $intern_35, java_util_Collections$UnmodifiableList_Collections$UnmodifiableList__Ljava_util_List_2V); +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return this.java_util_Collections$UnmodifiableList_list.equals__Ljava_lang_Object_2Z$(o); +} +; +_.get__ILjava_lang_Object_2 = function(index_0){ + return java_util_Collections$UnmodifiableList_$get__Ljava_util_Collections$UnmodifiableList_2ILjava_lang_Object_2(this, index_0); +} +; +_.hashCode__I$ = function(){ + return this.java_util_Collections$UnmodifiableList_list.hashCode__I$(); +} +; +_.indexOf__Ljava_lang_Object_2I = function(o){ + return java_util_Collections$UnmodifiableList_$indexOf__Ljava_util_Collections$UnmodifiableList_2Ljava_lang_Object_2I(this, o); +} +; +_.isEmpty__Z = function(){ + return this.java_util_Collections$UnmodifiableList_list.isEmpty__Z(); +} +; +_.listIterator__Ljava_util_ListIterator_2 = function(){ + return new java_util_Collections$UnmodifiableListIterator_Collections$UnmodifiableListIterator__Ljava_util_ListIterator_2V(this.java_util_Collections$UnmodifiableList_list.listIterator__ILjava_util_ListIterator_2(0)); +} +; +_.listIterator__ILjava_util_ListIterator_2 = function(from){ + return new java_util_Collections$UnmodifiableListIterator_Collections$UnmodifiableListIterator__Ljava_util_ListIterator_2V(this.java_util_Collections$UnmodifiableList_list.listIterator__ILjava_util_ListIterator_2(from)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(147); +function java_util_Collections$UnmodifiableListIterator_Collections$UnmodifiableListIterator__Ljava_util_ListIterator_2V(lit){ + java_util_Collections$UnmodifiableCollectionIterator_Collections$UnmodifiableCollectionIterator__Ljava_util_Iterator_2V.call(this, lit); + this.java_util_Collections$UnmodifiableListIterator_lit = lit; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(149, 63, {}, java_util_Collections$UnmodifiableListIterator_Collections$UnmodifiableListIterator__Ljava_util_ListIterator_2V); +_.hasPrevious__Z = function(){ + return this.java_util_Collections$UnmodifiableListIterator_lit.hasPrevious__Z(); +} +; +_.previous__Ljava_lang_Object_2 = function(){ + return this.java_util_Collections$UnmodifiableListIterator_lit.previous__Ljava_lang_Object_2(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableListIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(149); +function java_util_Collections$UnmodifiableMap_Collections$UnmodifiableMap__Ljava_util_Map_2V(map_0){ + this.java_util_Collections$UnmodifiableMap_map = map_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(383, 1, {93:1}, java_util_Collections$UnmodifiableMap_Collections$UnmodifiableMap__Ljava_util_Map_2V); +_.entrySet__Ljava_util_Set_2 = function(){ + !this.java_util_Collections$UnmodifiableMap_entrySet && (this.java_util_Collections$UnmodifiableMap_entrySet = new java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_Collections$UnmodifiableMap$UnmodifiableEntrySet__Ljava_util_Set_2V(this.java_util_Collections$UnmodifiableMap_map.entrySet__Ljava_util_Set_2())); + return this.java_util_Collections$UnmodifiableMap_entrySet; +} +; +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return this.java_util_Collections$UnmodifiableMap_map.equals__Ljava_lang_Object_2Z$(o); +} +; +_.get__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return this.java_util_Collections$UnmodifiableMap_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); +} +; +_.hashCode__I$ = function(){ + return this.java_util_Collections$UnmodifiableMap_map.hashCode__I$(); +} +; +_.isEmpty__Z = function(){ + return this.java_util_Collections$UnmodifiableMap_map.isEmpty__Z(); +} +; +_.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.remove__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.size__I = function(){ + return this.java_util_Collections$UnmodifiableMap_map.size__I(); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return this.java_util_Collections$UnmodifiableMap_map.toString__Ljava_lang_String_2$(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(383); +function java_util_Collections$UnmodifiableSet_Collections$UnmodifiableSet__Ljava_util_Set_2V(set_0){ + java_util_Collections$UnmodifiableCollection_Collections$UnmodifiableCollection__Ljava_util_Collection_2V.call(this, set_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(113, 146, $intern_38, java_util_Collections$UnmodifiableSet_Collections$UnmodifiableSet__Ljava_util_Set_2V); +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return this.java_util_Collections$UnmodifiableCollection_coll.equals__Ljava_lang_Object_2Z$(o); +} +; +_.hashCode__I$ = function(){ + return this.java_util_Collections$UnmodifiableCollection_coll.hashCode__I$(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableSet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(113); +function java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_$wrap__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_3Ljava_lang_Object_2IV(array, size_0){ + var i; + for (i = 0; i < size_0; ++i) { + array[i] = new java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry__Ljava_util_Map$Entry_2V(array[i]); + } +} + +function java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_Collections$UnmodifiableMap$UnmodifiableEntrySet__Ljava_util_Set_2V(s){ + java_util_Collections$UnmodifiableSet_Collections$UnmodifiableSet__Ljava_util_Set_2V.call(this, s); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(384, 113, $intern_38, java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_Collections$UnmodifiableMap$UnmodifiableEntrySet__Ljava_util_Set_2V); +_.contains__Ljava_lang_Object_2Z = function(o){ + return this.java_util_Collections$UnmodifiableCollection_coll.contains__Ljava_lang_Object_2Z(o); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + var it; + it = this.java_util_Collections$UnmodifiableCollection_coll.iterator__Ljava_util_Iterator_2(); + return new java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_Collections$UnmodifiableMap$UnmodifiableEntrySet$1__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2V(it); +} +; +_.toArray___3Ljava_lang_Object_2 = function(){ + var array; + array = this.java_util_Collections$UnmodifiableCollection_coll.toArray___3Ljava_lang_Object_2(); + java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_$wrap__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_3Ljava_lang_Object_2IV(array, array.length); + return array; +} +; +_.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2 = function(a){ + var result; + result = this.java_util_Collections$UnmodifiableCollection_coll.toArray___3Ljava_lang_Object_2_3Ljava_lang_Object_2(a); + java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_$wrap__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_3Ljava_lang_Object_2IV(result, this.java_util_Collections$UnmodifiableCollection_coll.size__I()); + return result; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableMap$UnmodifiableEntrySet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(384); +function java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_Collections$UnmodifiableMap$UnmodifiableEntrySet$1__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2V(val$it){ + this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_val$it2 = val$it; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(386, 1, {}, java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_Collections$UnmodifiableMap$UnmodifiableEntrySet$1__Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2V); +_.hasNext__Z = function(){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_val$it2.hasNext__Z(); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return new java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry__Ljava_util_Map$Entry_2V(this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_val$it2.next__Ljava_lang_Object_2()); +} +; +_.remove__V = function(){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableMap$UnmodifiableEntrySet$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(386); +function java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry__Ljava_util_Map$Entry_2V(entry){ + this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry = entry; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(148, 1, $intern_39, java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry__Ljava_util_Map$Entry_2V); +_.equals__Ljava_lang_Object_2Z$ = function(o){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry.equals__Ljava_lang_Object_2Z$(o); +} +; +_.getKey__Ljava_lang_Object_2 = function(){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry.getKey__Ljava_lang_Object_2(); +} +; +_.getValue__Ljava_lang_Object_2 = function(){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry.getValue__Ljava_lang_Object_2(); +} +; +_.hashCode__I$ = function(){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry.hashCode__I$(); +} +; +_.setValue__Ljava_lang_Object_2Ljava_lang_Object_2 = function(value_0){ + throw new java_lang_UnsupportedOperationException_UnsupportedOperationException__V; +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return this.java_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_entry.toString__Ljava_lang_String_2$(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(148); +function java_util_Collections$UnmodifiableRandomAccessList_Collections$UnmodifiableRandomAccessList__Ljava_util_List_2V(list){ + java_util_Collections$UnmodifiableList_Collections$UnmodifiableList__Ljava_util_List_2V.call(this, list); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(385, 147, {42:1, 86:1}, java_util_Collections$UnmodifiableRandomAccessList_Collections$UnmodifiableRandomAccessList__Ljava_util_List_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Collections$UnmodifiableRandomAccessList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(385); +function java_util_ConcurrentModificationDetector_checkStructuralChange__Ljava_lang_Object_2Ljava_util_Iterator_2V(host, iterator){ + if (iterator._gwt_modCount != host._gwt_modCount) { + throw new java_util_ConcurrentModificationException_ConcurrentModificationException__V; + } +} + +function java_util_ConcurrentModificationDetector_recordLastKnownStructure__Ljava_lang_Object_2Ljava_util_Iterator_2V(host, iterator){ + java_util_ConcurrentModificationDetector_setModCount__Ljava_lang_Object_2IV(iterator, host._gwt_modCount); +} + +function java_util_ConcurrentModificationDetector_setModCount__Ljava_lang_Object_2IV(o, modCount){ + o._gwt_modCount = modCount; +} + +function java_util_ConcurrentModificationDetector_structureChanged__Ljava_lang_Object_2V(map_0){ + var modCount; + modCount = map_0._gwt_modCount | 0; + java_util_ConcurrentModificationDetector_setModCount__Ljava_lang_Object_2IV(map_0, modCount + 1); +} + +function java_util_ConcurrentModificationException_ConcurrentModificationException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(502, 10, $intern_4, java_util_ConcurrentModificationException_ConcurrentModificationException__V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1ConcurrentModificationException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(502); +function java_util_HashMap_HashMap__V(){ + java_util_AbstractHashMap_$reset__Ljava_util_AbstractHashMap_2V(this); +} + +function java_util_HashMap_HashMap__IV(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_Object_2V(true, 'Negative initial capacity'); + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalArgument__ZLjava_lang_Object_2V(true, 'Non-positive load factor'); + java_util_AbstractHashMap_$reset__Ljava_util_AbstractHashMap_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(23, 109, {3:1, 93:1}, java_util_HashMap_HashMap__V, java_util_HashMap_HashMap__IV); +_.package_private$java_util_AbstractHashMap$equals__Ljava_lang_Object_2Ljava_lang_Object_2Z = function(value1, value2){ + return com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(value1) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(value2) || value1 != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(value1, value2); +} +; +_.package_private$java_util_AbstractHashMap$getHashCode__Ljava_lang_Object_2I = function(key){ + var hashCode; + hashCode = java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(key); + return hashCode | 0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1HashMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(23); +function java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static, o){ + var old; + old = this$static.java_util_HashSet_map.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(o, this$static); + return old == null; +} + +function java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static, o){ + return this$static.java_util_HashSet_map.containsKey__Ljava_lang_Object_2Z(o); +} + +function java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this$static, o){ + return this$static.java_util_HashSet_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(o) != null; +} + +function java_util_HashSet_HashSet__V(){ + this.java_util_HashSet_map = new java_util_HashMap_HashMap__V; +} + +function java_util_HashSet_HashSet__IV(){ + this.java_util_HashSet_map = new java_util_HashMap_HashMap__IV; +} + +function java_util_HashSet_HashSet__Ljava_util_HashMap_2V(map_0){ + this.java_util_HashSet_map = map_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(36, 541, $intern_41, java_util_HashSet_HashSet__V, java_util_HashSet_HashSet__IV); +_.add__Ljava_lang_Object_2Z = function(o){ + return java_util_HashSet_$add__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this, o); +} +; +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_HashSet_$contains__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this, o); +} +; +_.isEmpty__Z = function(){ + return this.java_util_HashSet_map.size__I() == 0; +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return java_util_AbstractMap$1_$iterator__Ljava_util_AbstractMap$1_2Ljava_util_Iterator_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this.java_util_HashSet_map)); +} +; +_.remove__Ljava_lang_Object_2Z = function(o){ + return java_util_HashSet_$remove__Ljava_util_HashSet_2Ljava_lang_Object_2Z(this, o); +} +; +_.size__I = function(){ + return this.java_util_HashSet_map.size__I(); +} +; +_.toString__Ljava_lang_String_2$ = function(){ + return java_util_AbstractCollection_$toString__Ljava_util_AbstractCollection_2Ljava_lang_String_2(new java_util_AbstractMap$1_AbstractMap$1__Ljava_util_AbstractMap_2V(this.java_util_HashSet_map)); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1HashSet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(36); +function java_util_InternalJsHashCodeMap_$ensureChain__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, hashCode){ + var map_0 = this$static.java_util_InternalJsHashCodeMap_backingMap; + return map_0[hashCode] || (map_0[hashCode] = []); +} + +function java_util_InternalJsHashCodeMap_$getChain__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, hashCode){ + return this$static.java_util_InternalJsHashCodeMap_backingMap[hashCode]; +} + +function java_util_InternalJsHashCodeMap_$getChainOrEmpty__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, hashCode){ + return this$static.java_util_InternalJsHashCodeMap_backingMap[hashCode] || []; +} + +function java_util_InternalJsHashCodeMap_$getEntry__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_util_Map$Entry_2(this$static, key){ + var entry, entry$array, entry$index, entry$max; + for (entry$array = java_util_InternalJsHashCodeMap_$getChainOrEmpty__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, key == null?'0':'' + this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$getHashCode__Ljava_lang_Object_2I(key)) , entry$index = 0 , entry$max = entry$array.length; entry$index < entry$max; ++entry$index) { + entry = entry$array[entry$index]; + if (this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(key, entry.getKey__Ljava_lang_Object_2())) { + return entry; + } + } + return null; +} + +function java_util_InternalJsHashCodeMap_$keys__Ljava_util_InternalJsHashCodeMap_2_3Ljava_lang_String_2(this$static){ + return Object.getOwnPropertyNames(this$static.java_util_InternalJsHashCodeMap_backingMap); +} + +function java_util_InternalJsHashCodeMap_$put__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, key, value_0){ + var chain, entry, entry$index, entry$max; + chain = java_util_InternalJsHashCodeMap_$ensureChain__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, key == null?'0':'' + this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$getHashCode__Ljava_lang_Object_2I(key)); + for (entry$index = 0 , entry$max = chain.length; entry$index < entry$max; ++entry$index) { + entry = chain[entry$index]; + if (this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(key, entry.getKey__Ljava_lang_Object_2())) { + return entry.setValue__Ljava_lang_Object_2Ljava_lang_Object_2(value_0); + } + } + chain[chain.length] = new java_util_AbstractMap$SimpleEntry_AbstractMap$SimpleEntry__Ljava_lang_Object_2Ljava_lang_Object_2V(key, value_0); + java_util_AbstractHashMap_$elementAdded__Ljava_util_AbstractHashMap_2V(this$static.java_util_InternalJsHashCodeMap_host); + return null; +} + +function java_util_InternalJsHashCodeMap_$remove__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, key){ + var chain, entry, hashCode, i; + hashCode = key == null?'0':'' + this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$getHashCode__Ljava_lang_Object_2I(key); + chain = java_util_InternalJsHashCodeMap_$getChainOrEmpty__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static, hashCode); + for (i = 0; i < chain.length; i++) { + entry = chain[i]; + if (this$static.java_util_InternalJsHashCodeMap_host.package_private$java_util_AbstractHashMap$equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(key, entry.getKey__Ljava_lang_Object_2())) { + chain.length == 1?(delete this$static.java_util_InternalJsHashCodeMap_backingMap[hashCode] , undefined):(chain.splice(i, 1) , undefined); + java_util_AbstractHashMap_$elementRemoved__Ljava_util_AbstractHashMap_2V(this$static.java_util_InternalJsHashCodeMap_host); + return entry.getValue__Ljava_lang_Object_2(); + } + } + return null; +} + +function java_util_InternalJsHashCodeMap_InternalJsHashCodeMap__V(){ + this.java_util_InternalJsHashCodeMap_backingMap = this.package_private$java_util_InternalJsHashCodeMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(156, 1, {}, java_util_InternalJsHashCodeMap_InternalJsHashCodeMap__V); +_.package_private$java_util_InternalJsHashCodeMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2 = function java_util_InternalJsHashCodeMap_createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + return Object.create(null); +} +; +_.entries__Ljava_util_Iterator_2 = function(){ + return new java_util_InternalJsHashCodeMap$1_InternalJsHashCodeMap$1__Ljava_util_InternalJsHashCodeMap_2V(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsHashCodeMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(156); +function java_util_InternalJsHashCodeMap$1_$hasNext__Ljava_util_InternalJsHashCodeMap$1_2Z(this$static){ + if (this$static.java_util_InternalJsHashCodeMap$1_itemIndex < this$static.java_util_InternalJsHashCodeMap$1_chain.length) { + return true; + } + if (this$static.java_util_InternalJsHashCodeMap$1_chainIndex < this$static.java_util_InternalJsHashCodeMap$1_keys.length - 1) { + this$static.java_util_InternalJsHashCodeMap$1_chain = java_util_InternalJsHashCodeMap_$getChain__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_String_2_3Ljava_util_Map$Entry_2(this$static.java_util_InternalJsHashCodeMap$1_this$01, this$static.java_util_InternalJsHashCodeMap$1_keys[++this$static.java_util_InternalJsHashCodeMap$1_chainIndex]); + this$static.java_util_InternalJsHashCodeMap$1_itemIndex = 0; + return true; + } + return false; +} + +function java_util_InternalJsHashCodeMap$1_InternalJsHashCodeMap$1__Ljava_util_InternalJsHashCodeMap_2V(this$0){ + this.java_util_InternalJsHashCodeMap$1_this$01 = this$0; + this.java_util_InternalJsHashCodeMap$1_keys = java_util_InternalJsHashCodeMap_$keys__Ljava_util_InternalJsHashCodeMap_2_3Ljava_lang_String_2(this.java_util_InternalJsHashCodeMap$1_this$01); + this.java_util_InternalJsHashCodeMap$1_chain = com_google_gwt_lang_Array_initDim__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2IIILjava_lang_Object_2(com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Map$Entry_12_1classLit, $intern_1, 55, 0, 0, 1); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(439, 1, {}, java_util_InternalJsHashCodeMap$1_InternalJsHashCodeMap$1__Ljava_util_InternalJsHashCodeMap_2V); +_.hasNext__Z = function(){ + return java_util_InternalJsHashCodeMap$1_$hasNext__Ljava_util_InternalJsHashCodeMap$1_2Z(this); +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(java_util_InternalJsHashCodeMap$1_$hasNext__Ljava_util_InternalJsHashCodeMap$1_2Z(this)) , this.java_util_InternalJsHashCodeMap$1_lastChain = this.java_util_InternalJsHashCodeMap$1_chain , this.java_util_InternalJsHashCodeMap$1_lastEntry = this.java_util_InternalJsHashCodeMap$1_chain[this.java_util_InternalJsHashCodeMap$1_itemIndex++] , this.java_util_InternalJsHashCodeMap$1_lastEntry; +} +; +_.remove__V = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(!!this.java_util_InternalJsHashCodeMap$1_lastEntry); + java_util_InternalJsHashCodeMap_$remove__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_InternalJsHashCodeMap$1_this$01, this.java_util_InternalJsHashCodeMap$1_lastEntry.getKey__Ljava_lang_Object_2()); + com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_InternalJsHashCodeMap$1_chain) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_InternalJsHashCodeMap$1_lastChain) && this.java_util_InternalJsHashCodeMap$1_chain.length != 1 && --this.java_util_InternalJsHashCodeMap$1_itemIndex; + this.java_util_InternalJsHashCodeMap$1_lastEntry = null; +} +; +_.java_util_InternalJsHashCodeMap$1_chainIndex = -1; +_.java_util_InternalJsHashCodeMap$1_itemIndex = 0; +_.java_util_InternalJsHashCodeMap$1_lastChain = null; +_.java_util_InternalJsHashCodeMap$1_lastEntry = null; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsHashCodeMap$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(439); +function java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy__V(){ + java_util_InternalJsHashCodeMap_InternalJsHashCodeMap__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(437, 156, {}, java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy__V); +_.package_private$java_util_InternalJsHashCodeMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2 = function java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + return {}; +} +; +_.entries__Ljava_util_Iterator_2 = function java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_entries__Ljava_util_Iterator_2(){ + var list = this.private$java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$newEntryList__Ljava_util_ArrayList_2(); + var map_0 = this.java_util_InternalJsHashCodeMap_backingMap; + for (var hashCode in map_0) { + if (hashCode == parseInt(hashCode, 10)) { + var array = map_0[hashCode]; + for (var i = 0, c = array.length; i < c; ++i) { + list.add__Ljava_lang_Object_2Z(array[i]); + } + } + } + return list.iterator__Ljava_util_Iterator_2(); +} +; +_.private$java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$newEntryList__Ljava_util_ArrayList_2 = function(){ + return new java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2V(this); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(437); +function java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2V(this$1){ + this.java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_this$11 = this$1; + java_util_ArrayList_ArrayList__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(438, 11, $intern_40, java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2V); +_.remove__ILjava_lang_Object_2 = function(index_0){ + var java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_$remove__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0; + return java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_$remove__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0 = java_util_ArrayList_$remove__Ljava_util_ArrayList_2ILjava_lang_Object_2(this, index_0) , java_util_InternalJsHashCodeMap_$remove__Ljava_util_InternalJsHashCodeMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_this$11, java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_$remove__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0.getKey__Ljava_lang_Object_2()) , java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_$remove__Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(438); +function java_util_InternalJsMapFactory_InternalJsMapFactory__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(434, 1, {}, java_util_InternalJsMapFactory_InternalJsMapFactory__V); +_.createJsHashCodeMap__Ljava_util_InternalJsHashCodeMap_2 = function(){ + return new java_util_InternalJsHashCodeMap_InternalJsHashCodeMap__V; +} +; +_.createJsStringMap__Ljava_util_InternalJsStringMap_2 = function(){ + return new java_util_InternalJsStringMap_InternalJsStringMap__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsMapFactory_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(434); +function java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_$clinit__V(){ + java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_$clinit__V = com_google_gwt_lang_JavaClassHierarchySetupUtil_emptyMethod__V; + java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_delegate = java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_createFactory__Ljava_util_InternalJsMapFactory_2(); +} + +function java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_canHandleProto__Z(){ + var protoField = '__proto__'; + var map_0 = Object.create(null); + if (map_0[protoField] !== undefined) { + return false; + } + var keys_0 = Object.getOwnPropertyNames(map_0); + if (keys_0.length != 0) { + return false; + } + map_0[protoField] = 42; + if (map_0[protoField] !== 42) { + return false; + } + return true; +} + +function java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_createFactory__Ljava_util_InternalJsMapFactory_2(){ + var java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_needsKeysWorkaround__Z_map_0; + if (Object.create && Object.getOwnPropertyNames && java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_canHandleProto__Z()) { + return (java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_needsKeysWorkaround__Z_map_0 = Object.create(null) , java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_needsKeysWorkaround__Z_map_0['__proto__'] = 42 , Object.getOwnPropertyNames(java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_needsKeysWorkaround__Z_map_0).length == 0)?new java_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_InternalJsMapFactory$KeysWorkaroundJsMapFactory__V:new java_util_InternalJsMapFactory_InternalJsMapFactory__V; + } + return new java_util_InternalJsMapFactory$LegacyInternalJsMapFactory_InternalJsMapFactory$LegacyInternalJsMapFactory__V; +} + +var java_util_InternalJsMapFactory$BackwardCompatibleJsMapFactory_delegate; +function java_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_InternalJsMapFactory$KeysWorkaroundJsMapFactory__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(436, 434, {}, java_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_InternalJsMapFactory$KeysWorkaroundJsMapFactory__V); +_.createJsStringMap__Ljava_util_InternalJsStringMap_2 = function(){ + return new java_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsMapFactory$KeysWorkaroundJsMapFactory_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(436); +function java_util_InternalJsMapFactory$LegacyInternalJsMapFactory_InternalJsMapFactory$LegacyInternalJsMapFactory__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(435, 434, {}, java_util_InternalJsMapFactory$LegacyInternalJsMapFactory_InternalJsMapFactory$LegacyInternalJsMapFactory__V); +_.createJsHashCodeMap__Ljava_util_InternalJsHashCodeMap_2 = function(){ + return new java_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy__V; +} +; +_.createJsStringMap__Ljava_util_InternalJsStringMap_2 = function(){ + return new java_util_InternalJsStringMap$InternalJsStringMapLegacy_InternalJsStringMap$InternalJsStringMapLegacy__V; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsMapFactory$LegacyInternalJsMapFactory_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(435); +function java_util_InternalJsStringMap_$keys__Ljava_util_InternalJsStringMap_2_3Ljava_lang_String_2(this$static){ + return Object.getOwnPropertyNames(this$static.java_util_InternalJsStringMap_backingMap); +} + +function java_util_InternalJsStringMap_$put__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, key, value_0){ + var oldValue; + oldValue = this$static.java_util_InternalJsStringMap_backingMap[key]; + oldValue === undefined && java_util_AbstractHashMap_$elementAdded__Ljava_util_AbstractHashMap_2V(this$static.java_util_InternalJsStringMap_host); + java_util_InternalJsStringMap_$set__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, key, value_0 === undefined?null:value_0); + return oldValue; +} + +function java_util_InternalJsStringMap_$remove__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2(this$static, key){ + var value_0; + value_0 = this$static.java_util_InternalJsStringMap_backingMap[key]; + if (!(value_0 === undefined)) { + delete this$static.java_util_InternalJsStringMap_backingMap[key]; + java_util_AbstractHashMap_$elementRemoved__Ljava_util_AbstractHashMap_2V(this$static.java_util_InternalJsStringMap_host); + } + return value_0; +} + +function java_util_InternalJsStringMap_$set__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2V(this$static, key, value_0){ + this$static.java_util_InternalJsStringMap_backingMap[key] = value_0; +} + +function java_util_InternalJsStringMap_InternalJsStringMap__V(){ + this.java_util_InternalJsStringMap_backingMap = this.package_private$java_util_InternalJsStringMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(117, 1, {}, java_util_InternalJsStringMap_InternalJsStringMap__V); +_.package_private$java_util_InternalJsStringMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2 = function java_util_InternalJsStringMap_createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + return Object.create(null); +} +; +_.entries__Ljava_util_Iterator_2 = function(){ + var keys_0; + keys_0 = this.keys___3Ljava_lang_String_2(); + return new java_util_InternalJsStringMap$1_InternalJsStringMap$1__Ljava_util_InternalJsStringMap_2V(this, keys_0); +} +; +_.get__Ljava_lang_String_2Ljava_lang_Object_2 = function(key){ + return this.java_util_InternalJsStringMap_backingMap[key]; +} +; +_.keys___3Ljava_lang_String_2 = function(){ + return java_util_InternalJsStringMap_$keys__Ljava_util_InternalJsStringMap_2_3Ljava_lang_String_2(this); +} +; +_.newMapEntry__Ljava_lang_String_2Ljava_util_Map$Entry_2 = function(key){ + return new java_util_InternalJsStringMap$2_InternalJsStringMap$2__Ljava_util_InternalJsStringMap_2V(this, key); +} +; +_.put__Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + return java_util_InternalJsStringMap_$put__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2(this, key, value_0); +} +; +_.remove__Ljava_lang_String_2Ljava_lang_Object_2 = function(key){ + return java_util_InternalJsStringMap_$remove__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2(this, key); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(117); +function java_util_InternalJsStringMap$1_InternalJsStringMap$1__Ljava_util_InternalJsStringMap_2V(this$0, val$keys){ + this.java_util_InternalJsStringMap$1_this$01 = this$0; + this.java_util_InternalJsStringMap$1_val$keys2 = val$keys; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(410, 1, {}, java_util_InternalJsStringMap$1_InternalJsStringMap$1__Ljava_util_InternalJsStringMap_2V); +_.hasNext__Z = function(){ + return this.java_util_InternalJsStringMap$1_i < this.java_util_InternalJsStringMap$1_val$keys2.length; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this.java_util_InternalJsStringMap$1_i < this.java_util_InternalJsStringMap$1_val$keys2.length) , new java_util_InternalJsStringMap$2_InternalJsStringMap$2__Ljava_util_InternalJsStringMap_2V(this.java_util_InternalJsStringMap$1_this$01, this.java_util_InternalJsStringMap$1_val$keys2[this.java_util_InternalJsStringMap$1_last = this.java_util_InternalJsStringMap$1_i++]); +} +; +_.remove__V = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(this.java_util_InternalJsStringMap$1_last != -1); + this.java_util_InternalJsStringMap$1_this$01.remove__Ljava_lang_String_2Ljava_lang_Object_2(this.java_util_InternalJsStringMap$1_val$keys2[this.java_util_InternalJsStringMap$1_last]); + this.java_util_InternalJsStringMap$1_last = -1; +} +; +_.java_util_InternalJsStringMap$1_i = 0; +_.java_util_InternalJsStringMap$1_last = -1; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(410); +function java_util_InternalJsStringMap$2_InternalJsStringMap$2__Ljava_util_InternalJsStringMap_2V(this$0, val$key){ + this.java_util_InternalJsStringMap$2_this$01 = this$0; + this.java_util_InternalJsStringMap$2_val$key2 = val$key; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(153, 550, $intern_39, java_util_InternalJsStringMap$2_InternalJsStringMap$2__Ljava_util_InternalJsStringMap_2V); +_.getKey__Ljava_lang_Object_2 = function(){ + return this.java_util_InternalJsStringMap$2_val$key2; +} +; +_.getValue__Ljava_lang_Object_2 = function(){ + return this.java_util_InternalJsStringMap$2_this$01.get__Ljava_lang_String_2Ljava_lang_Object_2(this.java_util_InternalJsStringMap$2_val$key2); +} +; +_.setValue__Ljava_lang_Object_2Ljava_lang_Object_2 = function(object){ + return this.java_util_InternalJsStringMap$2_this$01.put__Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_InternalJsStringMap$2_val$key2, object); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(153); +function java_util_InternalJsStringMap$InternalJsStringMapLegacy_InternalJsStringMap$InternalJsStringMapLegacy__V(){ + java_util_InternalJsStringMap_InternalJsStringMap__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(407, 117, {}, java_util_InternalJsStringMap$InternalJsStringMapLegacy_InternalJsStringMap$InternalJsStringMapLegacy__V); +_.package_private$java_util_InternalJsStringMap$createMap__Lcom_google_gwt_core_client_JavaScriptObject_2 = function java_util_InternalJsStringMap$InternalJsStringMapLegacy_createMap__Lcom_google_gwt_core_client_JavaScriptObject_2(){ + return {}; +} +; +_.entries__Ljava_util_Iterator_2 = function java_util_InternalJsStringMap$InternalJsStringMapLegacy_entries__Ljava_util_Iterator_2(){ + var list = this.private$java_util_InternalJsStringMap$InternalJsStringMapLegacy$newEntryList__Ljava_util_ArrayList_2(); + for (var key in this.java_util_InternalJsStringMap_backingMap) { + if (key.charCodeAt(0) == 58) { + var entry = this.newMapEntry__Ljava_lang_String_2Ljava_util_Map$Entry_2(key.substring(1)); + list.add__Ljava_lang_Object_2Z(entry); + } + } + return list.iterator__Ljava_util_Iterator_2(); +} +; +_.get__Ljava_lang_String_2Ljava_lang_Object_2 = function(key){ + return this.java_util_InternalJsStringMap_backingMap[':' + key]; +} +; +_.private$java_util_InternalJsStringMap$InternalJsStringMapLegacy$newEntryList__Ljava_util_ArrayList_2 = function(){ + return new java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_InternalJsStringMap$InternalJsStringMapLegacy$1__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2V(this); +} +; +_.put__Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + return java_util_InternalJsStringMap_$put__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2Ljava_lang_Object_2(this, ':' + key, value_0); +} +; +_.remove__Ljava_lang_String_2Ljava_lang_Object_2 = function(key){ + return java_util_InternalJsStringMap_$remove__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2(this, ':' + key); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap$InternalJsStringMapLegacy_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(407); +function java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_InternalJsStringMap$InternalJsStringMapLegacy$1__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2V(this$1){ + this.java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_this$11 = this$1; + java_util_ArrayList_ArrayList__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(409, 11, $intern_40, java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_InternalJsStringMap$InternalJsStringMapLegacy$1__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2V); +_.remove__ILjava_lang_Object_2 = function(index_0){ + var java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_$remove__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0; + return java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_$remove__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0 = java_util_ArrayList_$remove__Ljava_util_ArrayList_2ILjava_lang_Object_2(this, index_0) , java_util_InternalJsStringMap_$remove__Ljava_util_InternalJsStringMap_2Ljava_lang_String_2Ljava_lang_Object_2(this.java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_this$11, ':' + java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_$remove__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0.getKey__Ljava_lang_Object_2()) , java_util_InternalJsStringMap$InternalJsStringMapLegacy$1_$remove__Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2ILjava_util_Map$Entry_2_removed_0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap$InternalJsStringMapLegacy$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(409); +function java_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround__V(){ + java_util_InternalJsStringMap_InternalJsStringMap__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(408, 117, {}, java_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround__V); +_.keys___3Ljava_lang_String_2 = function(){ + var keys_0; + keys_0 = java_util_InternalJsStringMap_$keys__Ljava_util_InternalJsStringMap_2_3Ljava_lang_String_2(this); + !(this.java_util_InternalJsStringMap_backingMap['__proto__'] === undefined) && (keys_0[keys_0.length] = '__proto__'); + return keys_0; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(408); +function java_util_LinkedHashMap_$recordAccess__Ljava_util_LinkedHashMap_2Ljava_util_LinkedHashMap$ChainEntry_2V(this$static, entry){ + if (this$static.java_util_LinkedHashMap_accessOrder) { + java_util_LinkedHashMap$ChainEntry_$remove__Ljava_util_LinkedHashMap$ChainEntry_2V(entry); + java_util_LinkedHashMap$ChainEntry_$addToEnd__Ljava_util_LinkedHashMap$ChainEntry_2V(entry); + } +} + +function java_util_LinkedHashMap_$remove__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static, key){ + var entry; + entry = this$static.java_util_LinkedHashMap_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (entry) { + java_util_LinkedHashMap$ChainEntry_$remove__Ljava_util_LinkedHashMap$ChainEntry_2V(entry); + return entry.java_util_AbstractMap$AbstractEntry_value; + } + return null; +} + +function java_util_LinkedHashMap_LinkedHashMap__V(){ + java_util_HashMap_HashMap__V.call(this); + this.java_util_LinkedHashMap_head = new java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2V(this); + this.java_util_LinkedHashMap_map = new java_util_HashMap_HashMap__V; + this.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_prev = this.java_util_LinkedHashMap_head; + this.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_next = this.java_util_LinkedHashMap_head; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(168, 23, {3:1, 93:1}, java_util_LinkedHashMap_LinkedHashMap__V); +_.clear__V = function(){ + this.java_util_LinkedHashMap_map.clear__V(); + this.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_prev = this.java_util_LinkedHashMap_head; + this.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_next = this.java_util_LinkedHashMap_head; +} +; +_.containsKey__Ljava_lang_Object_2Z = function(key){ + return this.java_util_LinkedHashMap_map.containsKey__Ljava_lang_Object_2Z(key); +} +; +_.entrySet__Ljava_util_Set_2 = function(){ + return new java_util_LinkedHashMap$EntrySet_LinkedHashMap$EntrySet__Ljava_util_LinkedHashMap_2V(this); +} +; +_.get__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + var entry; + entry = this.java_util_LinkedHashMap_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (entry) { + java_util_LinkedHashMap_$recordAccess__Ljava_util_LinkedHashMap_2Ljava_util_LinkedHashMap$ChainEntry_2V(this, entry); + return entry.java_util_AbstractMap$AbstractEntry_value; + } + return null; +} +; +_.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2 = function(key, value_0){ + var newEntry, old, oldValue; + old = this.java_util_LinkedHashMap_map.get__Ljava_lang_Object_2Ljava_lang_Object_2(key); + if (!old) { + newEntry = new java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(this, key, value_0); + this.java_util_LinkedHashMap_map.put__Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(key, newEntry); + java_util_LinkedHashMap$ChainEntry_$addToEnd__Ljava_util_LinkedHashMap$ChainEntry_2V(newEntry); + return null; + } + else { + oldValue = java_util_AbstractMap$AbstractEntry_$setValue__Ljava_util_AbstractMap$AbstractEntry_2Ljava_lang_Object_2Ljava_lang_Object_2(old, value_0); + java_util_LinkedHashMap_$recordAccess__Ljava_util_LinkedHashMap_2Ljava_util_LinkedHashMap$ChainEntry_2V(this, old); + return oldValue; + } +} +; +_.remove__Ljava_lang_Object_2Ljava_lang_Object_2 = function(key){ + return java_util_LinkedHashMap_$remove__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this, key); +} +; +_.size__I = function(){ + return this.java_util_LinkedHashMap_map.size__I(); +} +; +_.java_util_LinkedHashMap_accessOrder = false; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedHashMap_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(168); +function java_util_LinkedHashMap$ChainEntry_$addToEnd__Ljava_util_LinkedHashMap$ChainEntry_2V(this$static){ + var tail; + tail = this$static.java_util_LinkedHashMap$ChainEntry_this$01.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_prev; + this$static.java_util_LinkedHashMap$ChainEntry_prev = tail; + this$static.java_util_LinkedHashMap$ChainEntry_next = this$static.java_util_LinkedHashMap$ChainEntry_this$01.java_util_LinkedHashMap_head; + tail.java_util_LinkedHashMap$ChainEntry_next = this$static.java_util_LinkedHashMap$ChainEntry_this$01.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_prev = this$static; +} + +function java_util_LinkedHashMap$ChainEntry_$remove__Ljava_util_LinkedHashMap$ChainEntry_2V(this$static){ + this$static.java_util_LinkedHashMap$ChainEntry_next.java_util_LinkedHashMap$ChainEntry_prev = this$static.java_util_LinkedHashMap$ChainEntry_prev; + this$static.java_util_LinkedHashMap$ChainEntry_prev.java_util_LinkedHashMap$ChainEntry_next = this$static.java_util_LinkedHashMap$ChainEntry_next; + this$static.java_util_LinkedHashMap$ChainEntry_next = this$static.java_util_LinkedHashMap$ChainEntry_prev = null; +} + +function java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2V(this$0){ + java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2V.call(this, this$0, null, null); +} + +function java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2V(this$0, key, value_0){ + this.java_util_LinkedHashMap$ChainEntry_this$01 = this$0; + java_util_AbstractMap$SimpleEntry_AbstractMap$SimpleEntry__Ljava_lang_Object_2Ljava_lang_Object_2V.call(this, key, value_0); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(121, 110, $intern_39, java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2V, java_util_LinkedHashMap$ChainEntry_LinkedHashMap$ChainEntry__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedHashMap$ChainEntry_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(121); +function java_util_LinkedHashMap$EntrySet_$contains__Ljava_util_LinkedHashMap$EntrySet_2Ljava_lang_Object_2Z(this$static, o){ + if (com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2Lcom_google_gwt_core_client_JavaScriptObject_2Z(o, 55)) { + return java_util_AbstractMap_$containsEntry__Ljava_util_AbstractMap_2Ljava_util_Map$Entry_2Z(this$static.java_util_LinkedHashMap$EntrySet_this$01, o); + } + return false; +} + +function java_util_LinkedHashMap$EntrySet_LinkedHashMap$EntrySet__Ljava_util_LinkedHashMap_2V(this$0){ + this.java_util_LinkedHashMap$EntrySet_this$01 = this$0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(468, 541, $intern_38, java_util_LinkedHashMap$EntrySet_LinkedHashMap$EntrySet__Ljava_util_LinkedHashMap_2V); +_.contains__Ljava_lang_Object_2Z = function(o){ + return java_util_LinkedHashMap$EntrySet_$contains__Ljava_util_LinkedHashMap$EntrySet_2Ljava_lang_Object_2Z(this, o); +} +; +_.iterator__Ljava_util_Iterator_2 = function(){ + return new java_util_LinkedHashMap$EntrySet$EntryIterator_LinkedHashMap$EntrySet$EntryIterator__Ljava_util_LinkedHashMap$EntrySet_2V(this); +} +; +_.remove__Ljava_lang_Object_2Z = function(entry){ + var key; + if (java_util_LinkedHashMap$EntrySet_$contains__Ljava_util_LinkedHashMap$EntrySet_2Ljava_lang_Object_2Z(this, entry)) { + key = entry.getKey__Ljava_lang_Object_2(); + java_util_LinkedHashMap_$remove__Ljava_util_LinkedHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_LinkedHashMap$EntrySet_this$01, key); + return true; + } + return false; +} +; +_.size__I = function(){ + return this.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map.size__I(); +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedHashMap$EntrySet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(468); +function java_util_LinkedHashMap$EntrySet$EntryIterator_LinkedHashMap$EntrySet$EntryIterator__Ljava_util_LinkedHashMap$EntrySet_2V(this$1){ + this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11 = this$1; + this.java_util_LinkedHashMap$EntrySet$EntryIterator_next = this$1.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_head.java_util_LinkedHashMap$ChainEntry_next; + java_util_ConcurrentModificationDetector_recordLastKnownStructure__Ljava_lang_Object_2Ljava_util_Iterator_2V(this$1.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map, this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(469, 1, {}, java_util_LinkedHashMap$EntrySet$EntryIterator_LinkedHashMap$EntrySet$EntryIterator__Ljava_util_LinkedHashMap$EntrySet_2V); +_.hasNext__Z = function(){ + return this.java_util_LinkedHashMap$EntrySet$EntryIterator_next != this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_head; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return java_util_ConcurrentModificationDetector_checkStructuralChange__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map, this) , com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this.java_util_LinkedHashMap$EntrySet$EntryIterator_next != this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_head) , this.java_util_LinkedHashMap$EntrySet$EntryIterator_last = this.java_util_LinkedHashMap$EntrySet$EntryIterator_next , this.java_util_LinkedHashMap$EntrySet$EntryIterator_next = this.java_util_LinkedHashMap$EntrySet$EntryIterator_next.java_util_LinkedHashMap$ChainEntry_next , this.java_util_LinkedHashMap$EntrySet$EntryIterator_last; +} +; +_.remove__V = function(){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(!!this.java_util_LinkedHashMap$EntrySet$EntryIterator_last); + java_util_ConcurrentModificationDetector_checkStructuralChange__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map, this); + java_util_LinkedHashMap$ChainEntry_$remove__Ljava_util_LinkedHashMap$ChainEntry_2V(this.java_util_LinkedHashMap$EntrySet$EntryIterator_last); + this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map.remove__Ljava_lang_Object_2Ljava_lang_Object_2(this.java_util_LinkedHashMap$EntrySet$EntryIterator_last.java_util_AbstractMap$AbstractEntry_key); + java_util_ConcurrentModificationDetector_recordLastKnownStructure__Ljava_lang_Object_2Ljava_util_Iterator_2V(this.java_util_LinkedHashMap$EntrySet$EntryIterator_this$11.java_util_LinkedHashMap$EntrySet_this$01.java_util_LinkedHashMap_map, this); + this.java_util_LinkedHashMap$EntrySet$EntryIterator_last = null; +} +; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedHashMap$EntrySet$EntryIterator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(469); +function java_util_LinkedHashSet_LinkedHashSet__V(){ + java_util_HashSet_HashSet__Ljava_util_HashMap_2V.call(this, new java_util_LinkedHashMap_LinkedHashMap__V); +} + +function java_util_LinkedHashSet_LinkedHashSet__Ljava_util_Collection_2V(c){ + java_util_HashSet_HashSet__Ljava_util_HashMap_2V.call(this, new java_util_LinkedHashMap_LinkedHashMap__V); + java_util_AbstractCollection_$addAll__Ljava_util_AbstractCollection_2Ljava_util_Collection_2Z(this, c); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(67, 36, $intern_41, java_util_LinkedHashSet_LinkedHashSet__V, java_util_LinkedHashSet_LinkedHashSet__Ljava_util_Collection_2V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedHashSet_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(67); +function java_util_LinkedList_$addLast__Ljava_util_LinkedList_2Ljava_lang_Object_2V(this$static, o){ + java_util_LinkedList_$addNode__Ljava_util_LinkedList_2Ljava_lang_Object_2Ljava_util_LinkedList$Node_2Ljava_util_LinkedList$Node_2V(this$static, o, this$static.java_util_LinkedList_tail.java_util_LinkedList$Node_prev, this$static.java_util_LinkedList_tail); +} + +function java_util_LinkedList_$addNode__Ljava_util_LinkedList_2Ljava_lang_Object_2Ljava_util_LinkedList$Node_2Ljava_util_LinkedList$Node_2V(this$static, o, prev, next){ + var node; + node = new java_util_LinkedList$Node_LinkedList$Node__V; + node.java_util_LinkedList$Node_value = o; + node.java_util_LinkedList$Node_prev = prev; + node.java_util_LinkedList$Node_next = next; + next.java_util_LinkedList$Node_prev = prev.java_util_LinkedList$Node_next = node; + ++this$static.java_util_LinkedList_size; +} + +function java_util_LinkedList_$getFirst__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this$static.java_util_LinkedList_size != 0); + return this$static.java_util_LinkedList_header.java_util_LinkedList$Node_next.java_util_LinkedList$Node_value; +} + +function java_util_LinkedList_$getLast__Ljava_util_LinkedList_2Ljava_lang_Object_2(this$static){ + com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this$static.java_util_LinkedList_size != 0); + return this$static.java_util_LinkedList_tail.java_util_LinkedList$Node_prev.java_util_LinkedList$Node_value; +} + +function java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this$static, index_0){ + var i, node; + com_google_gwt_core_shared_impl_InternalPreconditions_checkPositionIndex__IIV(index_0, this$static.java_util_LinkedList_size); + if (index_0 >= this$static.java_util_LinkedList_size >> 1) { + node = this$static.java_util_LinkedList_tail; + for (i = this$static.java_util_LinkedList_size; i > index_0; --i) { + node = node.java_util_LinkedList$Node_prev; + } + } + else { + node = this$static.java_util_LinkedList_header.java_util_LinkedList$Node_next; + for (i = 0; i < index_0; ++i) { + node = node.java_util_LinkedList$Node_next; + } + } + return new java_util_LinkedList$ListIteratorImpl_LinkedList$ListIteratorImpl__Ljava_util_LinkedList_2ILjava_util_LinkedList$Node_2V(this$static, index_0, node); +} + +function java_util_LinkedList_$removeNode__Ljava_util_LinkedList_2Ljava_util_LinkedList$Node_2Ljava_lang_Object_2(this$static, node){ + var oldValue; + oldValue = node.java_util_LinkedList$Node_value; + node.java_util_LinkedList$Node_next.java_util_LinkedList$Node_prev = node.java_util_LinkedList$Node_prev; + node.java_util_LinkedList$Node_prev.java_util_LinkedList$Node_next = node.java_util_LinkedList$Node_next; + node.java_util_LinkedList$Node_next = node.java_util_LinkedList$Node_prev = null; + node.java_util_LinkedList$Node_value = null; + --this$static.java_util_LinkedList_size; + return oldValue; +} + +function java_util_LinkedList_$reset__Ljava_util_LinkedList_2V(this$static){ + this$static.java_util_LinkedList_header.java_util_LinkedList$Node_next = this$static.java_util_LinkedList_tail; + this$static.java_util_LinkedList_tail.java_util_LinkedList$Node_prev = this$static.java_util_LinkedList_header; + this$static.java_util_LinkedList_header.java_util_LinkedList$Node_prev = this$static.java_util_LinkedList_tail.java_util_LinkedList$Node_next = null; + this$static.java_util_LinkedList_size = 0; +} + +function java_util_LinkedList_LinkedList__V(){ + this.java_util_LinkedList_header = new java_util_LinkedList$Node_LinkedList$Node__V; + this.java_util_LinkedList_tail = new java_util_LinkedList$Node_LinkedList$Node__V; + java_util_LinkedList_$reset__Ljava_util_LinkedList_2V(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(118, 551, {3:1, 42:1}, java_util_LinkedList_LinkedList__V); +_.add__Ljava_lang_Object_2Z = function(o){ + return java_util_LinkedList_$addNode__Ljava_util_LinkedList_2Ljava_lang_Object_2Ljava_util_LinkedList$Node_2Ljava_util_LinkedList$Node_2V(this, o, this.java_util_LinkedList_tail.java_util_LinkedList$Node_prev, this.java_util_LinkedList_tail) , true; +} +; +_.listIterator__ILjava_util_ListIterator_2 = function(index_0){ + return java_util_LinkedList_$listIterator__Ljava_util_LinkedList_2ILjava_util_ListIterator_2(this, index_0); +} +; +_.size__I = function(){ + return this.java_util_LinkedList_size; +} +; +_.java_util_LinkedList_size = 0; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedList_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(118); +function java_util_LinkedList$ListIteratorImpl_$add__Ljava_util_LinkedList$ListIteratorImpl_2Ljava_lang_Object_2V(this$static, o){ + java_util_LinkedList_$addNode__Ljava_util_LinkedList_2Ljava_lang_Object_2Ljava_util_LinkedList$Node_2Ljava_util_LinkedList$Node_2V(this$static.java_util_LinkedList$ListIteratorImpl_this$01, o, this$static.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev, this$static.java_util_LinkedList$ListIteratorImpl_currentNode); + ++this$static.java_util_LinkedList$ListIteratorImpl_currentIndex; + this$static.java_util_LinkedList$ListIteratorImpl_lastNode = null; +} + +function java_util_LinkedList$ListIteratorImpl_$remove__Ljava_util_LinkedList$ListIteratorImpl_2V(this$static){ + var nextNode; + com_google_gwt_core_shared_impl_InternalPreconditions_checkState__ZV(!!this$static.java_util_LinkedList$ListIteratorImpl_lastNode); + nextNode = this$static.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_next; + java_util_LinkedList_$removeNode__Ljava_util_LinkedList_2Ljava_util_LinkedList$Node_2Ljava_lang_Object_2(this$static.java_util_LinkedList$ListIteratorImpl_this$01, this$static.java_util_LinkedList$ListIteratorImpl_lastNode); + this$static.java_util_LinkedList$ListIteratorImpl_currentNode == this$static.java_util_LinkedList$ListIteratorImpl_lastNode?(this$static.java_util_LinkedList$ListIteratorImpl_currentNode = nextNode):--this$static.java_util_LinkedList$ListIteratorImpl_currentIndex; + this$static.java_util_LinkedList$ListIteratorImpl_lastNode = null; +} + +function java_util_LinkedList$ListIteratorImpl_LinkedList$ListIteratorImpl__Ljava_util_LinkedList_2ILjava_util_LinkedList$Node_2V(this$0, index_0, startNode){ + this.java_util_LinkedList$ListIteratorImpl_this$01 = this$0; + this.java_util_LinkedList$ListIteratorImpl_currentNode = startNode; + this.java_util_LinkedList$ListIteratorImpl_currentIndex = index_0; +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(429, 1, {}, java_util_LinkedList$ListIteratorImpl_LinkedList$ListIteratorImpl__Ljava_util_LinkedList_2ILjava_util_LinkedList$Node_2V); +_.hasNext__Z = function(){ + return this.java_util_LinkedList$ListIteratorImpl_currentNode != this.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail; +} +; +_.hasPrevious__Z = function(){ + return this.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev != this.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_header; +} +; +_.next__Ljava_lang_Object_2 = function(){ + return com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this.java_util_LinkedList$ListIteratorImpl_currentNode != this.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_tail) , this.java_util_LinkedList$ListIteratorImpl_lastNode = this.java_util_LinkedList$ListIteratorImpl_currentNode , this.java_util_LinkedList$ListIteratorImpl_currentNode = this.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_next , ++this.java_util_LinkedList$ListIteratorImpl_currentIndex , this.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value; +} +; +_.previous__Ljava_lang_Object_2 = function(){ + return com_google_gwt_core_shared_impl_InternalPreconditions_checkCriticalElement__ZV(this.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev != this.java_util_LinkedList$ListIteratorImpl_this$01.java_util_LinkedList_header) , this.java_util_LinkedList$ListIteratorImpl_lastNode = this.java_util_LinkedList$ListIteratorImpl_currentNode = this.java_util_LinkedList$ListIteratorImpl_currentNode.java_util_LinkedList$Node_prev , --this.java_util_LinkedList$ListIteratorImpl_currentIndex , this.java_util_LinkedList$ListIteratorImpl_lastNode.java_util_LinkedList$Node_value; +} +; +_.remove__V = function(){ + java_util_LinkedList$ListIteratorImpl_$remove__Ljava_util_LinkedList$ListIteratorImpl_2V(this); +} +; +_.java_util_LinkedList$ListIteratorImpl_currentIndex = 0; +_.java_util_LinkedList$ListIteratorImpl_lastNode = null; +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedList$ListIteratorImpl_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(429); +function java_util_LinkedList$Node_LinkedList$Node__V(){ +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(119, 1, {}, java_util_LinkedList$Node_LinkedList$Node__V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1LinkedList$Node_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(119); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Map$Entry_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +function java_util_NoSuchElementException_NoSuchElementException__V(){ + java_lang_RuntimeException_RuntimeException__V.call(this); +} + +com_google_gwt_lang_JavaClassHierarchySetupUtil_defineClass__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2(52, 10, {3:1, 12:1, 10:1, 13:1, 52:1}, java_util_NoSuchElementException_NoSuchElementException__V); +var com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1NoSuchElementException_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(52); +function java_util_Objects_equals__Ljava_lang_Object_2Ljava_lang_Object_2Z(a, b){ + return com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(a) === com_google_gwt_lang_Cast_maskUndefined__Ljava_lang_Object_2Ljava_lang_Object_2(b) || a != null && java_lang_Object_equals_1Ljava_1lang_1Object_1_1Z_1_1devirtual$__Ljava_lang_Object_2Ljava_lang_Object_2Z(a, b); +} + +function java_util_Objects_hashCode__Ljava_lang_Object_2I(o){ + return o != null?java_lang_Object_hashCode_1_1I_1_1devirtual$__Ljava_lang_Object_2I(o):0; +} + +var com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1CollapsedPropertyHolder_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(514), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1JavaClassHierarchySetupUtil_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(516), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1LongLibBase$LongEmul_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(null), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1ModuleUtils_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(519), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GColumn$GHeader_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationObserverInit_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1client_1widget_1grid_1EditorHandler_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_D_1classLit = java_lang_Class_createForPrimitive__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2('D'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Ljava_1lang_1StackTraceElement_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2Ljava_lang_Class_2Ljava_lang_Class_2(null), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugins_1ajax_1Ajax$Settings_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1builders_1JsonBuilder_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1query_1client_1plugin_1Observe$MutationRecords$MutationRecord_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Lcom_1vaadin_1prototype_1wc_1gwt_1client_1widgets_1grid_1GData$GAjaxConf$GAjaxResponse$GAjaxColumn_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(), com_google_gwt_lang_ClassLiteralHolder_Ljava_1util_1Map$Entry_12_1classLit = java_lang_Class_createForInterface__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2(); +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc.WCFormat'); +_.formatCurrency = com_vaadin_prototype_wc_gwt_client_widgets_WCFormat_formatCurrency__DLjava_lang_String_2; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc'); +_.WCVGrid = com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_WCVGrid__V; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc.WCVGrid'); +_.createGridColumn = com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_createGridColumn__Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2ILcom_vaadin_client_widgets_Grid$Column_2; +_.TAG = com_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_TAG; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc'); +_.WCVProgress = com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_WCVProgress__V; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc.WCVProgress'); +_.TAG = com_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_TAG; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc'); +_.WCVSlider = com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_WCVSlider__V; +_ = com_google_gwt_lang_JavaClassHierarchySetupUtil_provide__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2('$wnd.wc.WCVSlider'); +_.TAG = com_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_TAG; +var $entry = com_google_gwt_core_client_impl_Impl_entry__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2; +var gwtOnLoad = gwtOnLoad = com_google_gwt_lang_ModuleUtils_gwtOnLoad__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_core_client_JavaScriptObject_2V; +com_google_gwt_lang_ModuleUtils_addInitFunctions__V(com_google_gwt_lang_com_100046vaadin_100046prototype_100046wc_100046gwt_100046VaadinComponents_1_1EntryMethodHolder_init__V); +com_google_gwt_lang_ModuleUtils_setGwtProperty__Ljava_lang_String_2Lcom_google_gwt_core_client_JavaScriptObject_2V('permProps', [[['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'gecko1_8']], [['locale', 'default'], ['user.agent', 'safari']]]); + +$sendStats('moduleStartup', 'moduleEvalEnd'); +gwtOnLoad(__gwtModuleFunction.__errFn, __gwtModuleFunction.__moduleName, __gwtModuleFunction.__moduleBase, __gwtModuleFunction.__softPermutationId,__gwtModuleFunction.__computePropValue); +$sendStats('moduleStartup', 'end'); +$gwt && $gwt.permProps && __gwtModuleFunction.__moduleStartupDone($gwt.permProps); //# sourceURL=VaadinComponents-0.js } |