summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-01-22 16:11:03 +0200
committerArtur Signell <artur@vaadin.com>2015-01-22 16:11:03 +0200
commit52801f2515174fc59c5cf3e1f781b3ea872302f2 (patch)
treede172d4fc57b4ff79c004bcad463a3e6eb64305e
parent8ff16dcd3e116cb6a53dc1c039468a7a049bf5b5 (diff)
downloadvaadin-core-52801f2515174fc59c5cf3e1f781b3ea872302f2.tar.gz
vaadin-core-52801f2515174fc59c5cf3e1f781b3ea872302f2.zip
Upgrading version 0.1.0
-rw-r--r--vaadin-components.html22670
1 files changed, 22144 insertions, 526 deletions
diff --git a/vaadin-components.html b/vaadin-components.html
index 107722d..f32e836 100644
--- a/vaadin-components.html
+++ b/vaadin-components.html
@@ -2,532 +2,22150 @@
<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='AC3A6DD04C6DD26789A6B126F5FE16D2',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 _AC3A6DD04C6DD26789A6B126F5FE16D2(){
-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 = 'AC3A6DD04C6DD26789A6B126F5FE16D2';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&&gt(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],$wnd.console.log("Redrawing "+a),setTimeout(a.redraw(),10)};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,"cssRules"):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 $wnd_0 = window;
+ var $doc_0 = document;
+ sendStats('bootstrap', 'begin');
+ function isHostedMode(){
+ var query = $wnd_0.location.search;
+ return query.indexOf('gwt.codesvr.VaadinComponents=') != -1 || query.indexOf('gwt.codesvr=') != -1;
+ }
+
+ function sendStats(evtGroupString, typeString){
+ if ($wnd_0.__gwtStatsEvent) {
+ $wnd_0.__gwtStatsEvent({moduleName:'VaadinComponents', sessionId:$wnd_0.__gwtStatsSessionId, subSystem:'startup', evtGroup:evtGroupString, millis:(new Date).getTime(), type:typeString});
+ }
+ }
+
+ VaadinComponents.__sendStats = sendStats;
+ VaadinComponents.__moduleName = 'VaadinComponents';
+ VaadinComponents.__errFn = null;
+ VaadinComponents.__moduleBase = 'DUMMY';
+ VaadinComponents.__softPermutationId = 0;
+ 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_0.__gwt_activeModules = $wnd_0.__gwt_activeModules || {};
+ activeModules['VaadinComponents'] = {moduleName:'VaadinComponents'};
+ VaadinComponents.__moduleStartupDone = function(permProps){
+ var oldBindings = activeModules['VaadinComponents'].bindings;
+ activeModules['VaadinComponents'].bindings = function(){
+ var props = oldBindings?oldBindings():{};
+ var embeddedProps = permProps[VaadinComponents.__softPermutationId];
+ for (var i = 0; i < embeddedProps.length; i++) {
+ var pair = embeddedProps[i];
+ props[pair[0]] = pair[1];
+ }
+ return props;
+ }
+ ;
+ }
+ ;
+ var frameDoc;
+ function getInstallLocationDoc(){
+ setupInstallLocation();
+ return frameDoc;
+ }
+
+ function setupInstallLocation(){
+ if (frameDoc) {
+ return;
+ }
+ var scriptFrame = $doc_0.createElement('iframe');
+ scriptFrame.src = 'javascript:""';
+ scriptFrame.id = 'VaadinComponents';
+ scriptFrame.style.cssText = 'position:absolute; width:0; height:0; border:none; left: -1000px;' + ' top: -1000px;';
+ scriptFrame.tabIndex = -1;
+ $doc_0.body.appendChild(scriptFrame);
+ frameDoc = scriptFrame.contentDocument;
+ if (!frameDoc) {
+ frameDoc = scriptFrame.contentWindow.document;
+ }
+ frameDoc.open();
+ var doctype = document.compatMode == 'CSS1Compat'?'<!doctype html>':'';
+ frameDoc.write(doctype + '<html><head><\/head><body><\/body><\/html>');
+ frameDoc.close();
+ }
+
+ function installScript(filename){
+ this['_' + filename.replace(/.*([\dA-F]{32}).cache.js/, '$1')]();
+ }
+
+ VaadinComponents.__startLoadingFragment = function(fragmentFile){
+ return computeUrlForResource(fragmentFile);
+ }
+ ;
+ VaadinComponents.__installRunAsyncCode = function(code_0){
+ var doc = getInstallLocationDoc();
+ var docbody = doc.body;
+ var script = doc.createElement('script');
+ script.language = 'javascript';
+ script.text = code_0;
+ docbody.appendChild(script);
+ }
+ ;
+ function processMetas(){
+ var metaProps = {};
+ var propertyErrorFunc;
+ var onLoadErrorFunc;
+ var metas = $doc_0.getElementsByTagName('meta');
+ for (var i = 0, n = metas.length; i < n; ++i) {
+ var meta = metas[i], name_1 = meta.getAttribute('name'), content_0;
+ if (name_1) {
+ name_1 = name_1.replace('VaadinComponents::', '');
+ if (name_1.indexOf('::') >= 0) {
+ continue;
+ }
+ if (name_1 == 'gwt:property') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ var value_1, eq = content_0.indexOf('=');
+ if (eq >= 0) {
+ name_1 = content_0.substring(0, eq);
+ value_1 = content_0.substring(eq + 1);
+ }
+ else {
+ name_1 = content_0;
+ value_1 = '';
+ }
+ metaProps[name_1] = value_1;
+ }
+ }
+ else if (name_1 == 'gwt:onPropertyErrorFn') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ try {
+ propertyErrorFunc = eval(content_0);
+ }
+ catch (e) {
+ alert('Bad handler "' + content_0 + '" for "gwt:onPropertyErrorFn"');
+ }
+ }
+ }
+ else if (name_1 == 'gwt:onLoadErrorFn') {
+ content_0 = meta.getAttribute('content');
+ if (content_0) {
+ try {
+ onLoadErrorFunc = eval(content_0);
+ }
+ catch (e) {
+ alert('Bad handler "' + content_0 + '" for "gwt:onLoadErrorFn"');
+ }
+ }
+ }
+ }
+ }
+ __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('#');
+ if (hashIndex == -1) {
+ hashIndex = path.length;
+ }
+ var queryIndex = path.indexOf('?');
+ if (queryIndex == -1) {
+ queryIndex = path.length;
+ }
+ var slashIndex = path.lastIndexOf('/', Math.min(queryIndex, hashIndex));
+ return slashIndex >= 0?path.substring(0, slashIndex + 1):'';
+ }
+
+ function ensureAbsoluteUrl(url_0){
+ if (url_0.match(/^\w+:\/\//)) {
+ }
+ else {
+ var img = $doc_0.createElement('img');
+ img.src = url_0 + 'clear.cache.gif';
+ url_0 = getDirectoryOfFile(img.src);
+ }
+ return url_0;
+ }
+
+ function tryMetaTag(){
+ var metaVal = __gwt_getMetaProperty('baseUrl');
+ if (metaVal != null) {
+ return metaVal;
+ }
+ return '';
+ }
+
+ function tryNocacheJsTag(){
+ var scriptTags = $doc_0.getElementsByTagName('script');
+ for (var i = 0; i < scriptTags.length; ++i) {
+ if (scriptTags[i].src.indexOf('VaadinComponents.nocache.js') != -1) {
+ return getDirectoryOfFile(scriptTags[i].src);
+ }
+ }
+ return '';
+ }
+
+ function tryBaseTag(){
+ var baseElements = $doc_0.getElementsByTagName('base');
+ if (baseElements.length > 0) {
+ return baseElements[baseElements.length - 1].href;
+ }
+ return '';
+ }
+
+ function isLocationOk(){
+ var loc = $doc_0.location;
+ return loc.href == loc.protocol + '//' + loc.host + loc.pathname + loc.search + loc.hash;
+ }
+
+ var tempBase = tryMetaTag();
+ if (tempBase == '') {
+ tempBase = tryNocacheJsTag();
+ }
+ if (tempBase == '') {
+ tempBase = tryBaseTag();
+ }
+ if (tempBase == '' && isLocationOk()) {
+ tempBase = getDirectoryOfFile($doc_0.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 = 0;
+ function unflattenKeylistIntoAnswers(propValArray, value_0){
+ var answer = answers;
+ for (var i = 0, n = propValArray.length - 1; 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['modernie'] = function(){
+ {
+ var ua = $wnd_0.navigator.userAgent;
+ if (ua.indexOf('MSIE') == -1 && ua.indexOf('Trident') != -1) {
+ return 'yes';
+ }
+ return 'none';
+ }
+ }
+ ;
+ values['modernie'] = {none:0, yes:1};
+ providers['selectorCapability'] = function(){
+ return !/_force_no_native/.test(document.location.search) && typeof document.querySelectorAll == 'function'?'native':'js';
+ }
+ ;
+ values['selectorCapability'] = {js:0, 'native':1};
+ providers['user.agent'] = function(){
+ var ua = navigator.userAgent.toLowerCase();
+ var docMode = $doc_0.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 '';
+ }
+ ;
+ values['user.agent'] = {gecko1_8:0, ie10:1, ie8:2, ie9:3, safari:4};
+ __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_0.__gwt_activeModules['VaadinComponents'].bindings = VaadinComponents.__getPropMap;
+ sendStats('bootstrap', 'selectingPermutation');
+ if (isHostedMode()) {
+ return computeUrlForResource('VaadinComponents.devmode.js');
+ }
+ var strongName;
+ try {
+ unflattenKeylistIntoAnswers(['none', 'js', 'gecko1_8'], '0D60281FF49138074D5821397A9136BF');
+ unflattenKeylistIntoAnswers(['none', 'native', 'gecko1_8'], '0D60281FF49138074D5821397A9136BF' + ':1');
+ unflattenKeylistIntoAnswers(['yes', 'js', 'gecko1_8'], '0D60281FF49138074D5821397A9136BF' + ':2');
+ unflattenKeylistIntoAnswers(['yes', 'native', 'gecko1_8'], '0D60281FF49138074D5821397A9136BF' + ':3');
+ unflattenKeylistIntoAnswers(['none', 'native', 'safari'], '0D60281FF49138074D5821397A9136BF' + ':4');
+ strongName = answers[computePropValue('modernie')][computePropValue('selectorCapability')][computePropValue('user.agent')];
+ var idx = strongName.indexOf(':');
+ if (idx != -1) {
+ softPermutationId = parseInt(strongName.substring(idx + 1), 10);
+ strongName = strongName.substring(0, idx);
+ }
+ }
+ catch (e) {
+ }
+ VaadinComponents.__softPermutationId = softPermutationId;
+ return computeUrlForResource(strongName + '.cache.js');
+ }
+
+ function loadExternalStylesheets(){
+ if (!$wnd_0.__gwt_stylesLoaded) {
+ $wnd_0.__gwt_stylesLoaded = {};
+ }
+ sendStats('loadExternalRefs', 'begin');
+ sendStats('loadExternalRefs', 'end');
+ }
+
+ processMetas();
+ VaadinComponents.__moduleBase = computeScriptBase();
+ activeModules['VaadinComponents'].moduleBase = VaadinComponents.__moduleBase;
+ var filename_0 = getCompiledCodeFilename();
+ if ($wnd_0) {
+ var devModePermitted = !!($wnd_0.location.protocol == 'http:' || $wnd_0.location.protocol == 'file:');
+ $wnd_0.__gwt_activeModules['VaadinComponents'].canRedirect = devModePermitted;
+ function supportsSessionStorage(){
+ var key = '_gwt_dummy_';
+ try {
+ $wnd_0.sessionStorage.setItem(key, key);
+ $wnd_0.sessionStorage.removeItem(key);
+ return true;
+ }
+ catch (e) {
+ return false;
+ }
+ }
+
+ if (devModePermitted && supportsSessionStorage()) {
+ var devModeKey = '__gwtDevModeHook:VaadinComponents';
+ var devModeUrl = $wnd_0.sessionStorage[devModeKey];
+ if (!/^http:\/\/(localhost|127\.0\.0\.1)(:\d+)?\/.*$/.test(devModeUrl)) {
+ if (devModeUrl && (window.console && console.log)) {
+ console.log('Ignoring non-whitelisted Dev Mode URL: ' + devModeUrl);
+ }
+ devModeUrl = '';
+ }
+ if (devModeUrl && !$wnd_0[devModeKey]) {
+ $wnd_0[devModeKey] = true;
+ $wnd_0[devModeKey + ':moduleBase'] = computeScriptBase();
+ var devModeScript = $doc_0.createElement('script');
+ devModeScript.src = devModeUrl;
+ var head = $doc_0.getElementsByTagName('head')[0];
+ head.insertBefore(devModeScript, head.firstElementChild || head.children[0]);
+ return false;
+ }
+ }
+ }
+ loadExternalStylesheets();
+ sendStats('bootstrap', 'end');
+ installScript(filename_0);
+ return true;
+}
+
+VaadinComponents.succeeded = VaadinComponents();
+
+function _0D60281FF49138074D5821397A9136BF(){
+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 = '0D60281FF49138074D5821397A9136BF';
+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, 12:1}, $intern_2 = {3:1, 13:1, 12:1}, $intern_3 = {3:1, 13:1, 11:1, 12:1}, $intern_4 = {3:1, 4:1}, $intern_5 = {49:1, 10:1, 3:1, 6:1, 5:1}, $intern_6 = {16:1, 10:1, 3:1, 6:1, 5:1}, $intern_7 = {10:1, 61:1, 3:1, 6:1, 5:1}, $intern_8 = {10:1, 62:1, 3:1, 6:1, 5:1}, $intern_9 = {10:1, 63:1, 3:1, 6:1, 5:1}, $intern_10 = {32:1, 3:1, 6:1, 5:1}, $intern_11 = {10:1, 92:1, 3:1, 6:1, 5:1}, $intern_12 = {10:1, 50:1, 3:1, 6:1, 5:1}, $intern_13 = {94:1, 93:1, 3:1, 13:1, 11:1, 12:1}, $intern_14 = 4194303, $intern_15 = 1048575, $intern_16 = 524288, $intern_17 = 4194304, $intern_18 = 17592186044416, $intern_19 = -9223372036854775808, $intern_20 = {7:1}, $intern_21 = {47:1}, $intern_22 = {52:1, 53:1}, $intern_23 = {110:1}, $intern_24 = {98:1}, $intern_25 = {31:1, 24:1, 20:1, 27:1, 23:1, 21:1, 17:1}, $intern_26 = {31:1, 24:1, 20:1, 27:1, 40:1, 23:1, 36:1, 21:1, 17:1}, $intern_27 = {31:1, 24:1, 20:1, 76:1, 27:1, 40:1, 23:1, 36:1, 21:1, 17:1}, $intern_28 = 65536, $intern_29 = 131072, $intern_30 = 1048576, $intern_31 = 2097152, $intern_32 = 8388608, $intern_33 = 16777216, $intern_34 = 33554432, $intern_35 = 67108864, $intern_36 = {31:1, 24:1, 20:1, 99:1, 27:1, 40:1, 23:1, 36:1, 21:1, 17:1}, $intern_37 = {22:1, 200:1}, $intern_38 = {146:1, 22:1}, $intern_39 = {31:1, 24:1, 20:1, 27:1, 40:1, 23:1, 36:1, 116:1, 21:1, 17:1}, $intern_40 = {201:1, 31:1, 22:1, 24:1, 20:1, 99:1, 27:1, 40:1, 23:1, 36:1, 21:1, 17:1}, $intern_41 = {22:1, 147:1}, $intern_42 = {28:1, 30:1}, $intern_43 = {22:1, 198:1}, $intern_44 = {71:1, 3:1, 6:1, 5:1}, $intern_45 = {66:1}, $intern_46 = {539:1, 3:1, 4:1}, $intern_47 = {538:1, 3:1, 4:1}, $intern_48 = {28:1, 64:1}, $intern_49 = {25:1}, $intern_50 = {3:1, 28:1, 30:1, 112:1}, $intern_51 = {3:1, 28:1, 64:1};
+var _, initFnList_0, prototypesByTypeId_0 = {}, permutationId = -1;
+function com_google_gwt_useragent_client_UserAgent(){
+ if (permutationId == 4) {
+ return new UserAgentImplSafari;
+ }
+ return new UserAgentImplGecko1_8;
+}
+
+function com_google_gwt_user_client_ui_impl_PopupImpl(){
+ if (permutationId == 4) {
+ return new PopupImpl;
+ }
+ return new PopupImplMozilla;
+}
+
+function com_google_gwt_user_client_ui_impl_FocusImpl(){
+ if (permutationId == 4) {
+ return new FocusImplSafari;
+ }
+ return new FocusImplStandard;
+}
+
+function com_google_gwt_user_client_impl_WindowImpl(){
+ if (permutationId == 4) {
+ return new WindowImpl;
+ }
+ return new WindowImplMozilla;
+}
+
+function com_google_gwt_user_client_impl_DOMImpl(){
+ if (permutationId == 4) {
+ return new DOMImplWebkit_0;
+ }
+ return new DOMImplMozilla_0;
+}
+
+function com_google_gwt_query_client_Browser(){
+ if (permutationId == 4) {
+ return new Browser_safari;
+ }
+ return new Browser_gecko1_8;
+}
+
+function com_google_gwt_dom_client_DOMImpl(){
+ if (permutationId == 4) {
+ return new DOMImplWebkit;
+ }
+ return new DOMImplMozilla;
+}
+
+function typeMarkerFn(){
+}
+
+function trampolineBridgeMethod(o, bridgeRef, nonbridgeRef){
+ return !isJavaString(o) && !hasTypeMarker(o)?bridgeRef:nonbridgeRef;
+}
+
+function provide(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 portableObjCreate(obj){
+ function F(){
+ }
+
+ ;
+ F.prototype = obj || {};
+ return new F;
+}
+
+function modernizeBrowser(){
+ !Array.isArray && (Array.isArray = function(vArg){
+ return Object.prototype.toString.call(vArg) === '[object Array]';
+ }
+ );
+}
+
+function maybeGetClassLiteralFromPlaceHolder_0(entry){
+ return entry instanceof Array?entry[0]:null;
+}
+
+function maybeCoerceToLong(o, isLong){
+ if (!isLong) {
+ return o;
+ }
+ if (typeof o == 'number') {
+ return fromDouble(o);
+ }
+ return o;
+}
+
+function maybeCoerceFromLong(o, isLong){
+ if (!isLong) {
+ return o;
+ }
+ return toDouble(o);
+}
+
+function makeBridgeMethod(methodRef, returnsLong, longParams){
+ return function(){
+ var args = [];
+ for (var i_0 = 0; i_0 < arguments.length; i_0++) {
+ var maybeCoerced = maybeCoerceToLong(arguments[i_0], longParams[i_0]);
+ args.push(maybeCoerced);
+ }
+ var result = methodRef.apply(this, args);
+ return returnsLong?maybeCoerceFromLong(result, returnsLong):result;
+ }
+ ;
+}
+
+function emptyMethod(){
+}
+
+function defineClass(typeId, superTypeId, castableTypeMap){
+ var prototypesByTypeId = prototypesByTypeId_0;
+ var createSubclassPrototype = createSubclassPrototype_0;
+ var maybeGetClassLiteralFromPlaceHolder = maybeGetClassLiteralFromPlaceHolder_0;
+ var prototype_0 = prototypesByTypeId[typeId];
+ var clazz = maybeGetClassLiteralFromPlaceHolder(prototype_0);
+ if (prototype_0 && !clazz) {
+ _ = prototype_0;
+ }
+ else {
+ _ = prototypesByTypeId[typeId] = !superTypeId?{}:createSubclassPrototype(superTypeId);
+ _.castableTypeMap$ = castableTypeMap;
+ _.constructor = _;
+ !superTypeId && (_.typeMarker$ = typeMarkerFn);
+ }
+ for (var i_0 = 3; i_0 < arguments.length; ++i_0) {
+ arguments[i_0].prototype = _;
+ }
+ clazz && (_.___clazz$ = clazz);
+}
+
+function createSubclassPrototype_0(superTypeId){
+ var prototypesByTypeId = prototypesByTypeId_0;
+ return portableObjCreate(prototypesByTypeId[superTypeId]);
+}
+
+function setGwtProperty(propertyName, propertyValue){
+ typeof window === 'object' && typeof window['$gwt'] === 'object' && (window['$gwt'][propertyName] = propertyValue);
+}
+
+function gwtOnLoad_0(errFn, modName, modBase, softPermutationId){
+ ensureModuleInit();
+ var initFnList = initFnList_0;
+ $moduleName = modName;
+ $moduleBase = modBase;
+ permutationId = softPermutationId;
+ function initializeModules(){
+ for (var i_0 = 0; i_0 < initFnList.length; i_0++) {
+ initFnList[i_0]();
+ }
+ }
+
+ if (errFn) {
+ try {
+ $entry(initializeModules)();
+ }
+ catch (e) {
+ errFn(modName, e);
+ }
+ }
+ else {
+ $entry(initializeModules)();
+ }
+}
+
+function ensureModuleInit(){
+ initFnList_0 == null && (initFnList_0 = []);
+}
+
+function addInitFunctions(){
+ ensureModuleInit();
+ var initFnList = initFnList_0;
+ for (var i_0 = 0; i_0 < arguments.length; i_0++) {
+ initFnList.push(arguments[i_0]);
+ }
+}
+
+function $toString(this$static){
+ return $getName(getClass__Ljava_lang_Class___devirtual$(this$static)) + '@' + (hashCode__I__devirtual$(this$static) >>> 0).toString(16);
+}
+
+function Object_0(){
+}
+
+function equals_Ljava_lang_Object__Z__devirtual$(this$static, other){
+ return isJavaString(this$static)?$equals_2(this$static, other):hasJavaObjectVirtualDispatch(this$static)?this$static.equals$(other):isJavaArray(this$static)?this$static === other:this$static === other;
+}
+
+function getClass__Ljava_lang_Class___devirtual$(this$static){
+ return isJavaString(this$static)?Ljava_lang_String_2_classLit:hasJavaObjectVirtualDispatch(this$static)?this$static.___clazz$:isJavaArray(this$static)?this$static.___clazz$:Lcom_google_gwt_core_client_JavaScriptObject_2_classLit;
+}
+
+function hashCode__I__devirtual$(this$static){
+ return isJavaString(this$static)?getHashCode_0(this$static):hasJavaObjectVirtualDispatch(this$static)?this$static.hashCode$():isJavaArray(this$static)?getHashCode(this$static):getHashCode(this$static);
+}
+
+defineClass(1, null, {}, Object_0);
+_.equals$ = function(other){
+ return this === other;
+}
+;
+_.getClass$ = function(){
+ return this.___clazz$;
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this);
+}
+;
+_.toString$ = function(){
+ return $toString(this);
+}
+;
+_.toString = function(){
+ return this.toString$();
+}
+;
+stringCastMap = {3:1, 580:1, 6:1, 2:1};
+modernizeBrowser();
+function createFunction(){
+ return function(){
+ }
+ ;
+}
+
+function canCast(src_0, dstId){
+ return isJavaString(src_0) && !!stringCastMap[dstId] || src_0.castableTypeMap$ && !!src_0.castableTypeMap$[dstId];
+}
+
+function charToString(x_0){
+ return String.fromCharCode(x_0);
+}
+
+function dynamicCast(src_0, dstId){
+ checkType(src_0 == null || canCast(src_0, dstId));
+ return src_0;
+}
+
+function dynamicCastJso(src_0){
+ checkType(src_0 == null || !isJavaString(src_0) && !hasTypeMarker(src_0));
+ return src_0;
+}
+
+function dynamicCastToString(src_0){
+ checkType(src_0 == null || isJavaString(src_0));
+ return src_0;
+}
+
+function hasJavaObjectVirtualDispatch(src_0){
+ return !instanceofArray(src_0) && hasTypeMarker(src_0);
+}
+
+function instanceOf(src_0, dstId){
+ return src_0 != null && canCast(src_0, dstId);
+}
+
+function instanceOfJso(src_0){
+ return src_0 != null && !isJavaString(src_0) && !hasTypeMarker(src_0);
+}
+
+function instanceofArray(src_0){
+ return Array.isArray(src_0);
+}
+
+function isJavaArray(src_0){
+ return instanceofArray(src_0) && hasTypeMarker(src_0);
+}
+
+function isJavaString(src_0){
+ return typeof src_0 === 'string';
+}
+
+function maskUndefined(src_0){
+ return src_0 == null?null:src_0;
+}
+
+function round_byte(x_0){
+ return round_int(x_0) << 24 >> 24;
+}
+
+function round_int(x_0){
+ return Math.max(Math.min(x_0, 2147483647), -2147483648) | 0;
+}
+
+function round_short(x_0){
+ return round_int(x_0) << 16 >> 16;
+}
+
+function throwClassCastExceptionUnlessNull(o){
+ checkType(o == null);
+ return o;
+}
+
+var stringCastMap;
+function $ensureNamesAreInitialized(this$static){
+ if (this$static.typeName != null) {
+ return;
+ }
+ initializeNames(this$static);
+}
+
+function $getName(this$static){
+ $ensureNamesAreInitialized(this$static);
+ return this$static.typeName;
+}
+
+function $getSimpleName(this$static){
+ $ensureNamesAreInitialized(this$static);
+ return this$static.simpleName;
+}
+
+function Class(){
+ ++nextSequentialId;
+ this.typeName = null;
+ this.simpleName = null;
+ this.packageName = null;
+ this.compoundName = null;
+ this.canonicalName = null;
+ this.typeId = null;
+ this.arrayLiterals = null;
+}
+
+function createClassObject(packageName, compoundClassName){
+ var clazz;
+ clazz = new Class;
+ clazz.packageName = packageName;
+ clazz.compoundName = compoundClassName;
+ return clazz;
+}
+
+function createForClass(packageName, compoundClassName, typeId, superclass){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ maybeSetClassLiteral(typeId, clazz);
+ clazz.superclass = superclass;
+ return clazz;
+}
+
+function createForEnum(packageName, compoundClassName, typeId, superclass, enumConstantsFunc){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ maybeSetClassLiteral(typeId, clazz);
+ clazz.modifiers = enumConstantsFunc?8:0;
+ clazz.superclass = superclass;
+ return clazz;
+}
+
+function createForInterface(packageName, compoundClassName){
+ var clazz;
+ clazz = createClassObject(packageName, compoundClassName);
+ clazz.modifiers = 2;
+ return clazz;
+}
+
+function createForPrimitive(className, primitiveTypeId){
+ var clazz;
+ clazz = createClassObject('', className);
+ clazz.typeId = primitiveTypeId;
+ clazz.modifiers = 1;
+ return clazz;
+}
+
+function getClassLiteralForArray_0(leafClass, dimensions){
+ var arrayLiterals = leafClass.arrayLiterals = leafClass.arrayLiterals || [];
+ return arrayLiterals[dimensions] || (arrayLiterals[dimensions] = leafClass.createClassLiteralForArray(dimensions));
+}
+
+function getPrototypeForClass(clazz){
+ if (clazz.isPrimitive()) {
+ return null;
+ }
+ var typeId = clazz.typeId;
+ var prototype_0 = prototypesByTypeId_0[typeId];
+ return prototype_0;
+}
+
+function initializeNames(clazz){
+ if (clazz.isArray_0()) {
+ var componentType = clazz.componentType;
+ componentType.isPrimitive()?(clazz.typeName = '[' + componentType.typeId):!componentType.isArray_0()?(clazz.typeName = '[L' + componentType.getName_0() + ';'):(clazz.typeName = '[' + componentType.getName_0());
+ clazz.canonicalName = componentType.getCanonicalName() + '[]';
+ clazz.simpleName = componentType.getSimpleName() + '[]';
+ return;
+ }
+ var packageName = clazz.packageName;
+ var compoundName = clazz.compoundName;
+ compoundName = compoundName.split('/');
+ clazz.typeName = join_0('.', [packageName, join_0('$', compoundName)]);
+ clazz.canonicalName = join_0('.', [packageName, join_0('.', compoundName)]);
+ clazz.simpleName = compoundName[compoundName.length - 1];
+}
+
+function join_0(separator, strings){
+ var i_0 = 0;
+ while (!strings[i_0] || strings[i_0] == '') {
+ i_0++;
+ }
+ var result = strings[i_0++];
+ for (; i_0 < strings.length; i_0++) {
+ if (!strings[i_0] || strings[i_0] == '') {
+ continue;
+ }
+ result += separator + strings[i_0];
+ }
+ return result;
+}
+
+function maybeSetClassLiteral(typeId, clazz){
+ var proto;
+ if (!typeId) {
+ return;
+ }
+ clazz.typeId = typeId;
+ var prototype_0 = getPrototypeForClass(clazz);
+ if (!prototype_0) {
+ prototypesByTypeId_0[typeId] = [clazz];
+ return;
+ }
+ prototype_0.___clazz$ = clazz;
+}
+
+defineClass(149, 1, {}, Class);
+_.createClassLiteralForArray = function(dimensions){
+ var clazz;
+ clazz = new Class;
+ clazz.modifiers = 4;
+ clazz.superclass = Ljava_lang_Object_2_classLit;
+ dimensions > 1?(clazz.componentType = getClassLiteralForArray_0(this, dimensions - 1)):(clazz.componentType = this);
+ return clazz;
+}
+;
+_.getCanonicalName = function(){
+ $ensureNamesAreInitialized(this);
+ return this.canonicalName;
+}
+;
+_.getName_0 = function(){
+ return $getName(this);
+}
+;
+_.getSimpleName = function(){
+ return $getSimpleName(this);
+}
+;
+_.isArray_0 = function(){
+ return (this.modifiers & 4) != 0;
+}
+;
+_.isPrimitive = function(){
+ return (this.modifiers & 1) != 0;
+}
+;
+_.toString$ = function(){
+ return ((this.modifiers & 2) != 0?'interface ':(this.modifiers & 1) != 0?'':'class ') + ($ensureNamesAreInitialized(this) , this.typeName);
+}
+;
+_.modifiers = 0;
+var nextSequentialId = 1;
+var Ljava_lang_Object_2_classLit = createForClass('java.lang', 'Object', 1, null), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptObject$', 0, Ljava_lang_Object_2_classLit), Ljava_lang_Class_2_classLit = createForClass('java.lang', 'Class', 149, Ljava_lang_Object_2_classLit);
+function $cancel(this$static){
+ if (!this$static.isRunning) {
+ return;
+ }
+ this$static.wasStarted = this$static.isStarted;
+ this$static.element = null;
+ this$static.isRunning = false;
+ this$static.isStarted = false;
+ if (this$static.requestHandle) {
+ this$static.requestHandle.cancel();
+ this$static.requestHandle = null;
+ }
+ this$static.wasStarted && this$static.onComplete();
+}
+
+function $run(this$static, startTime){
+ $cancel(this$static);
+ this$static.isRunning = true;
+ this$static.isStarted = false;
+ this$static.duration = 200;
+ this$static.startTime = startTime;
+ this$static.element = null;
+ ++this$static.runId;
+ $execute(this$static.callback, now_1());
+}
+
+function $update(this$static, curTime){
+ var curRunId, finished, progress;
+ curRunId = this$static.runId;
+ finished = curTime >= this$static.startTime + this$static.duration;
+ if (this$static.isStarted && !finished) {
+ progress = (curTime - this$static.startTime) / this$static.duration;
+ this$static.onUpdate((1 + Math.cos($intern_0 + progress * $intern_0)) / 2);
+ return this$static.isRunning && this$static.runId == curRunId;
+ }
+ if (!this$static.isStarted && curTime >= this$static.startTime) {
+ this$static.isStarted = true;
+ this$static.onStart();
+ if (!(this$static.isRunning && this$static.runId == curRunId)) {
+ return false;
+ }
+ }
+ if (finished) {
+ this$static.isRunning = false;
+ this$static.isStarted = false;
+ this$static.onComplete();
+ return false;
+ }
+ return true;
+}
+
+function Animation(){
+ Animation_0.call(this, (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0));
+}
+
+function Animation_0(scheduler){
+ this.callback = new Animation$1(this);
+ this.scheduler = scheduler;
+}
+
+defineClass(126, 1, {});
+_.onComplete = function(){
+ this.onUpdate((1 + cos_0(6.283185307179586)) / 2);
+}
+;
+_.onStart = function(){
+ this.onUpdate((1 + cos_0($intern_0)) / 2);
+}
+;
+_.duration = -1;
+_.isRunning = false;
+_.isStarted = false;
+_.runId = -1;
+_.startTime = -1;
+_.wasStarted = false;
+var Lcom_google_gwt_animation_client_Animation_2_classLit = createForClass('com.google.gwt.animation.client', 'Animation', 126, Ljava_lang_Object_2_classLit);
+function $execute(this$static, timestamp){
+ $update(this$static.this$01, timestamp)?(this$static.this$01.requestHandle = this$static.this$01.scheduler.requestAnimationFrame_0(this$static.this$01.callback, this$static.this$01.element)):(this$static.this$01.requestHandle = null);
+}
+
+function Animation$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(301, 1, {}, Animation$1);
+_.execute = function(timestamp){
+ $execute(this, timestamp);
+}
+;
+var Lcom_google_gwt_animation_client_Animation$1_2_classLit = createForClass('com.google.gwt.animation.client', 'Animation/1', 301, Ljava_lang_Object_2_classLit);
+defineClass(563, 1, {});
+var instance_0;
+var Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationScheduler', 563, Ljava_lang_Object_2_classLit);
+defineClass(123, 1, {123:1});
+var Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationScheduler/AnimationHandle', 123, Ljava_lang_Object_2_classLit);
+function $isNativelySupported(){
+ return !!$wnd.requestAnimationFrame && !!$wnd.cancelAnimationFrame;
+}
+
+function AnimationSchedulerImplStandard(){
+}
+
+function cancelImpl(holder){
+ $wnd.cancelAnimationFrame(holder.id);
+}
+
+function requestImpl(cb, element){
+ var callback = $entry(function(){
+ var time = now_1();
+ cb.execute(time);
+ }
+ );
+ var handle = $wnd.requestAnimationFrame(callback, element);
+ return {id:handle};
+}
+
+defineClass(69, 563, {}, AnimationSchedulerImplStandard);
+_.requestAnimationFrame_0 = function(callback, element){
+ var handle;
+ handle = requestImpl(callback, element);
+ return new AnimationSchedulerImplStandard$1(handle);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplStandard', 69, Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit);
+function AnimationSchedulerImplStandard$1(val$handle){
+ this.val$handle2 = val$handle;
+}
+
+defineClass(507, 123, {123:1}, AnimationSchedulerImplStandard$1);
+_.cancel = function(){
+ cancelImpl(this.val$handle2);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplStandard$1_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplStandard/1', 507, Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit);
+function $cancelAnimationFrame(this$static, requestId){
+ $remove_7(this$static.animationRequests, requestId);
+ this$static.animationRequests.array.length == 0 && $cancel_0(this$static.timer);
+}
+
+function $updateAnimations(this$static){
+ var curAnimations, duration, requestId, requestId$index, requestId$max;
+ curAnimations = initDim(Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_2_classLit, {594:1, 3:1, 4:1}, 144, this$static.animationRequests.array.length, 0, 1);
+ curAnimations = dynamicCast($toArray_2(this$static.animationRequests, curAnimations), 594);
+ duration = new Duration;
+ for (requestId$index = 0 , requestId$max = curAnimations.length; requestId$index < requestId$max; ++requestId$index) {
+ requestId = curAnimations[requestId$index];
+ $remove_7(this$static.animationRequests, requestId);
+ requestId.callback.execute(duration.start_0);
+ }
+ this$static.animationRequests.array.length > 0 && $schedule(this$static.timer, max_1(5, 16 - (now_1() - duration.start_0)));
+}
+
+function AnimationSchedulerImplTimer(){
+ this.animationRequests = new ArrayList;
+ this.timer = new AnimationSchedulerImplTimer$1(this);
+}
+
+defineClass(70, 563, {}, AnimationSchedulerImplTimer);
+_.requestAnimationFrame_0 = function(callback, element){
+ var requestId;
+ requestId = new AnimationSchedulerImplTimer$AnimationHandleImpl(this, callback);
+ $add_6(this.animationRequests, requestId);
+ this.animationRequests.array.length == 1 && $schedule(this.timer, 16);
+ return requestId;
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer', 70, Lcom_google_gwt_animation_client_AnimationScheduler_2_classLit);
+function $cancel_0(this$static){
+ if (!this$static.timerId) {
+ return;
+ }
+ ++this$static.cancelCounter;
+ this$static.isRepeating?clearInterval_0(this$static.timerId.value_0):clearTimeout_0(this$static.timerId.value_0);
+ this$static.timerId = null;
+}
+
+function $schedule(this$static, delayMillis){
+ if (delayMillis < 0) {
+ throw new IllegalArgumentException_0('must be non-negative');
+ }
+ !!this$static.timerId && $cancel_0(this$static);
+ this$static.isRepeating = false;
+ this$static.timerId = valueOf_2(setTimeout_0(createCallback(this$static, this$static.cancelCounter), delayMillis));
+}
+
+function Timer(){
+}
+
+function clearInterval_0(timerId){
+ $wnd.clearInterval(timerId);
+}
+
+function clearTimeout_0(timerId){
+ $wnd.clearTimeout(timerId);
+}
+
+function createCallback(timer, cancelCounter){
+ return $entry(function(){
+ timer.fire(cancelCounter);
+ }
+ );
+}
+
+function setTimeout_0(func, time){
+ return $wnd.setTimeout(func, time);
+}
+
+defineClass(48, 1, {});
+_.fire = function(scheduleCancelCounter){
+ if (scheduleCancelCounter != this.cancelCounter) {
+ return;
+ }
+ this.isRepeating || (this.timerId = null);
+ this.run();
+}
+;
+_.cancelCounter = 0;
+_.isRepeating = false;
+_.timerId = null;
+var Lcom_google_gwt_user_client_Timer_2_classLit = createForClass('com.google.gwt.user.client', 'Timer', 48, Ljava_lang_Object_2_classLit);
+function AnimationSchedulerImplTimer$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(508, 48, {}, AnimationSchedulerImplTimer$1);
+_.run = function(){
+ $updateAnimations(this.this$01);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$1_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer/1', 508, Lcom_google_gwt_user_client_Timer_2_classLit);
+function AnimationSchedulerImplTimer$AnimationHandleImpl(this$0, callback){
+ this.this$01 = this$0;
+ this.callback = callback;
+}
+
+defineClass(144, 123, {123:1, 144:1}, AnimationSchedulerImplTimer$AnimationHandleImpl);
+_.cancel = function(){
+ $cancelAnimationFrame(this.this$01, this);
+}
+;
+var Lcom_google_gwt_animation_client_AnimationSchedulerImplTimer$AnimationHandleImpl_2_classLit = createForClass('com.google.gwt.animation.client', 'AnimationSchedulerImplTimer/AnimationHandleImpl', 144, Lcom_google_gwt_animation_client_AnimationScheduler$AnimationHandle_2_classLit);
+function $fillInStackTrace(this$static){
+ this$static.stackTrace = null;
+ captureStackTrace();
+ return this$static;
+}
+
+function $initCause(this$static, cause){
+ checkState_0(!this$static.cause);
+ checkCriticalArgument(cause != this$static, 'Self-causation not permitted');
+ this$static.cause = cause;
+ return this$static;
+}
+
+function $printStackTrace(this$static){
+ var element$array, element$index, element$max, t, stackTrace;
+ for (t = this$static; t; t = t.cause) {
+ for (element$array = (t.stackTrace == null && (t.stackTrace = ($clinit_StackTraceCreator() , stackTrace = initDim(Ljava_lang_StackTraceElement_2_classLit, {3:1, 4:1, 591:1}, 676, 0, 0, 1) , dropInternalFrames(stackTrace))) , t.stackTrace) , element$index = 0 , element$max = element$array.length; element$index < element$max; ++element$index)
+ ;
+ }
+}
+
+function $toString_0(this$static){
+ var className, msg;
+ className = $getName(this$static.___clazz$);
+ msg = this$static.getMessage();
+ return msg != null?className + ': ' + msg:className;
+}
+
+function Throwable(message, cause){
+ this.cause = cause;
+ this.detailMessage = message;
+ $fillInStackTrace(this);
+}
+
+defineClass(12, 1, $intern_1);
+_.getMessage = function(){
+ return this.detailMessage;
+}
+;
+_.toString$ = function(){
+ return $toString_0(this);
+}
+;
+var Ljava_lang_Throwable_2_classLit = createForClass('java.lang', 'Throwable', 12, Ljava_lang_Object_2_classLit);
+function Exception(message){
+ this.detailMessage = message;
+ $fillInStackTrace(this);
+}
+
+defineClass(13, 12, $intern_2, Exception);
+var Ljava_lang_Exception_2_classLit = createForClass('java.lang', 'Exception', 13, Ljava_lang_Throwable_2_classLit);
+function RuntimeException(){
+ $fillInStackTrace(this);
+}
+
+function RuntimeException_0(message){
+ Exception.call(this, message);
+}
+
+function RuntimeException_1(message, cause){
+ Throwable.call(this, message, cause);
+}
+
+defineClass(11, 13, $intern_3, RuntimeException_0);
+var Ljava_lang_RuntimeException_2_classLit = createForClass('java.lang', 'RuntimeException', 11, Ljava_lang_Exception_2_classLit);
+function CodeDownloadException(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(579, 11, $intern_3, CodeDownloadException);
+var Lcom_google_gwt_core_client_CodeDownloadException_2_classLit = createForClass('com.google.gwt.core.client', 'CodeDownloadException', 579, Ljava_lang_RuntimeException_2_classLit);
+function Duration(){
+ this.start_0 = now_1();
+}
+
+defineClass(184, 1, {}, Duration);
+_.start_0 = 0;
+var Lcom_google_gwt_core_client_Duration_2_classLit = createForClass('com.google.gwt.core.client', 'Duration', 184, Ljava_lang_Object_2_classLit);
+function isScript(){
+ return true;
+}
+
+function setUncaughtExceptionHandler(handler){
+ uncaughtExceptionHandler = handler;
+}
+
+var uncaughtExceptionHandler = null;
+function $clinit_JavaScriptException(){
+ $clinit_JavaScriptException = emptyMethod;
+ NOT_SET = new Object_0;
+}
+
+function $ensureInit(this$static){
+ var exception;
+ if (this$static.message_0 == null) {
+ exception = maskUndefined(this$static.e) === maskUndefined(NOT_SET)?null:this$static.e;
+ this$static.name_0 = exception == null?'null':instanceOfJso(exception)?getExceptionName0(dynamicCastJso(exception)):isJavaString(exception)?'String':$getName(getClass__Ljava_lang_Class___devirtual$(exception));
+ this$static.description = this$static.description + ': ' + (instanceOfJso(exception)?getExceptionDescription0(dynamicCastJso(exception)):exception + '');
+ this$static.message_0 = '(' + this$static.name_0 + ') ' + this$static.description;
+ }
+}
+
+function JavaScriptException(e){
+ $clinit_JavaScriptException();
+ this.cause = null;
+ this.detailMessage = null;
+ this.description = '';
+ this.e = e;
+ this.description = '';
+}
+
+function getExceptionDescription0(e){
+ return e == null?null:e.message;
+}
+
+function getExceptionName0(e){
+ return e == null?null:e.name;
+}
+
+defineClass(57, 11, {57:1, 3:1, 13:1, 11:1, 12:1}, JavaScriptException);
+_.getMessage = function(){
+ return $ensureInit(this) , this.message_0;
+}
+;
+_.getThrown = function(){
+ return maskUndefined(this.e) === maskUndefined(NOT_SET)?null:this.e;
+}
+;
+var NOT_SET;
+var Lcom_google_gwt_core_client_JavaScriptException_2_classLit = createForClass('com.google.gwt.core.client', 'JavaScriptException', 57, Ljava_lang_RuntimeException_2_classLit);
+function $push(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function $push_0(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function $getObject(this$static, index_0){
+ return this$static[index_0] != null?Object(this$static[index_0]):null;
+}
+
+function $push_1(this$static, value_0){
+ this$static[this$static.length] = value_0;
+}
+
+function now_1(){
+ if (Date.now) {
+ return Date.now();
+ }
+ return (new Date).getTime();
+}
+
+function safeEval(json){
+ try {
+ return JSON.parse(json);
+ }
+ catch (e) {
+ return throwIllegalArgumentException('Error parsing JSON: ' + e, json);
+ }
+}
+
+function throwIllegalArgumentException(message, data_0){
+ throw new IllegalArgumentException_0(message + '\n' + data_0);
+}
+
+defineClass(541, 1, {});
+var Lcom_google_gwt_core_client_Scheduler_2_classLit = createForClass('com.google.gwt.core.client', 'Scheduler', 541, Ljava_lang_Object_2_classLit);
+function $clinit_ScriptInjector(){
+ $clinit_ScriptInjector = emptyMethod;
+ TOP_WINDOW = $wnd;
+}
+
+function attachListeners(scriptElement, callback, removeTag){
+ $clinit_ScriptInjector();
+ function clearCallbacks(){
+ scriptElement.onerror = scriptElement.onreadystatechange = scriptElement.onload = null;
+ removeTag && nativeRemove(scriptElement);
+ }
+
+ scriptElement.onload = $entry(function(){
+ clearCallbacks();
+ callback && callback.onSuccess_0(null);
+ }
+ );
+ scriptElement.onerror = $entry(function(){
+ clearCallbacks();
+ if (callback) {
+ var ex = new CodeDownloadException('onerror() called.');
+ callback.onFailure_0(ex);
+ }
+ }
+ );
+ scriptElement.onreadystatechange = $entry(function(){
+ /loaded|complete/.test(scriptElement.readyState) && scriptElement.onload();
+ }
+ );
+}
+
+function nativeAttachToHead(doc, scriptElement){
+ $clinit_ScriptInjector();
+ (doc.head || doc.getElementsByTagName('head')[0]).appendChild(scriptElement);
+}
+
+function nativeDefaultWindow(){
+ $clinit_ScriptInjector();
+ return window;
+}
+
+function nativeGetDocument(wnd){
+ $clinit_ScriptInjector();
+ return wnd.document;
+}
+
+function nativeMakeScriptElement(doc){
+ $clinit_ScriptInjector();
+ return doc.createElement('script');
+}
+
+function nativeRemove(scriptElement){
+ $clinit_ScriptInjector();
+ scriptElement.parentNode.removeChild(scriptElement);
+}
+
+function nativeSetSrc(element, url_0){
+ $clinit_ScriptInjector();
+ element.src = url_0;
+}
+
+function nativeSetText(element, scriptBody){
+ $clinit_ScriptInjector();
+ element.text = scriptBody;
+}
+
+var TOP_WINDOW;
+function $inject(this$static){
+ var doc, scriptElement, wnd;
+ wnd = !this$static.window_0?nativeDefaultWindow():this$static.window_0;
+ doc = nativeGetDocument(wnd);
+ scriptElement = nativeMakeScriptElement(doc);
+ nativeSetText(scriptElement, this$static.scriptBody);
+ nativeAttachToHead(doc, scriptElement);
+ this$static.removeTag && nativeRemove(scriptElement);
+ return scriptElement;
+}
+
+function $setWindow(this$static, window_0){
+ this$static.window_0 = window_0;
+ return this$static;
+}
+
+function ScriptInjector$FromString(scriptBody){
+ this.scriptBody = scriptBody;
+}
+
+defineClass(346, 1, {}, ScriptInjector$FromString);
+_.removeTag = true;
+var Lcom_google_gwt_core_client_ScriptInjector$FromString_2_classLit = createForClass('com.google.gwt.core.client', 'ScriptInjector/FromString', 346, Ljava_lang_Object_2_classLit);
+function $inject_0(this$static){
+ var doc, scriptElement, wnd;
+ wnd = !this$static.window_0?nativeDefaultWindow():this$static.window_0;
+ doc = nativeGetDocument(wnd);
+ scriptElement = nativeMakeScriptElement(doc);
+ !!this$static.callback && attachListeners(scriptElement, this$static.callback, false);
+ nativeSetSrc(scriptElement, this$static.scriptUrl);
+ nativeAttachToHead(doc, scriptElement);
+ return scriptElement;
+}
+
+function $setCallback(this$static, callback){
+ this$static.callback = callback;
+ return this$static;
+}
+
+function $setWindow_0(this$static, window_0){
+ this$static.window_0 = window_0;
+ return this$static;
+}
+
+function ScriptInjector$FromUrl(scriptUrl){
+ this.scriptUrl = scriptUrl;
+}
+
+defineClass(347, 1, {}, ScriptInjector$FromUrl);
+var Lcom_google_gwt_core_client_ScriptInjector$FromUrl_2_classLit = createForClass('com.google.gwt.core.client', 'ScriptInjector/FromUrl', 347, Ljava_lang_Object_2_classLit);
+function apply_0(jsFunction, thisObj, args){
+ return jsFunction.apply(thisObj, args);
+ var __0;
+}
+
+function enter(){
+ var now_0;
+ if (entryDepth != 0) {
+ now_0 = now_1();
+ if (now_0 - watchdogEntryDepthLastScheduled > 2000) {
+ watchdogEntryDepthLastScheduled = now_0;
+ watchdogEntryDepthTimerId = $wnd.setTimeout(watchdogEntryDepthRun, 10);
+ }
+ }
+ if (entryDepth++ == 0) {
+ $flushEntryCommands(($clinit_SchedulerImpl() , INSTANCE));
+ return true;
+ }
+ return false;
+}
+
+function entry_0(jsFunction){
+ return function(){
+ if (isScript()) {
+ return entry0(jsFunction, this, arguments);
+ }
+ else {
+ var __0 = entry0(jsFunction, this, arguments);
+ __0 != null && (__0 = __0.val);
+ return __0;
+ }
+ }
+ ;
+}
+
+function entry0(jsFunction, thisObj, args){
+ var initialEntry, t;
+ initialEntry = enter();
+ try {
+ if (uncaughtExceptionHandler) {
+ try {
+ return apply_0(jsFunction, thisObj, args);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 12)) {
+ t = $e0;
+ reportUncaughtException(t);
+ return undefined;
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ else {
+ return apply_0(jsFunction, thisObj, args);
+ }
+ }
+ finally {
+ exit(initialEntry);
+ }
+}
+
+function exit(initialEntry){
+ initialEntry && $flushFinallyCommands(($clinit_SchedulerImpl() , INSTANCE));
+ --entryDepth;
+ if (initialEntry) {
+ if (watchdogEntryDepthTimerId != -1) {
+ watchdogEntryDepthCancel(watchdogEntryDepthTimerId);
+ watchdogEntryDepthTimerId = -1;
+ }
+ }
+}
+
+function getHashCode(o){
+ return o.$H || (o.$H = ++sNextHashId);
+}
+
+function reportToBrowser(e){
+ $wnd.setTimeout(function(){
+ throw e;
+ }
+ , 0);
+}
+
+function reportUncaughtException(e){
+ var handler;
+ handler = uncaughtExceptionHandler;
+ if (handler) {
+ if (handler == uncaughtExceptionHandlerForTest) {
+ return;
+ }
+ $logException(handler, e, false);
+ return;
+ }
+ reportToBrowser(instanceOf(e, 57)?dynamicCast(e, 57).getThrown():e);
+}
+
+function watchdogEntryDepthCancel(timerId){
+ $wnd.clearTimeout(timerId);
+}
+
+function watchdogEntryDepthRun(){
+ entryDepth != 0 && (entryDepth = 0);
+ watchdogEntryDepthTimerId = -1;
+}
+
+var entryDepth = 0, sNextHashId = 0, uncaughtExceptionHandlerForTest, watchdogEntryDepthLastScheduled = 0, watchdogEntryDepthTimerId = -1;
+function $clinit_SchedulerImpl(){
+ $clinit_SchedulerImpl = emptyMethod;
+ INSTANCE = new VSchedulerImpl;
+}
+
+function $flushEntryCommands(this$static){
+ var oldQueue, rescheduled;
+ if (this$static.entryCommands) {
+ rescheduled = null;
+ do {
+ oldQueue = this$static.entryCommands;
+ this$static.entryCommands = null;
+ rescheduled = runScheduledTasks(oldQueue, rescheduled);
+ }
+ while (this$static.entryCommands);
+ this$static.entryCommands = rescheduled;
+ }
+}
+
+function $flushFinallyCommands(this$static){
+ var oldQueue, rescheduled;
+ if (this$static.finallyCommands) {
+ rescheduled = null;
+ do {
+ oldQueue = this$static.finallyCommands;
+ this$static.finallyCommands = null;
+ rescheduled = runScheduledTasks(oldQueue, rescheduled);
+ }
+ while (this$static.finallyCommands);
+ this$static.finallyCommands = rescheduled;
+ }
+}
+
+function $flushPostEventPumpCommands(this$static){
+ var oldDeferred;
+ if (this$static.deferredCommands) {
+ oldDeferred = this$static.deferredCommands;
+ this$static.deferredCommands = null;
+ !this$static.incrementalCommands && (this$static.incrementalCommands = []);
+ runScheduledTasks(oldDeferred, this$static.incrementalCommands);
+ }
+ !!this$static.incrementalCommands && (this$static.incrementalCommands = $runRepeatingTasks(this$static.incrementalCommands));
+}
+
+function $isWorkQueued(this$static){
+ return !!this$static.deferredCommands || !!this$static.incrementalCommands;
+}
+
+function $maybeSchedulePostEventPumpCommands(this$static){
+ if (!this$static.shouldBeRunning) {
+ this$static.shouldBeRunning = true;
+ !this$static.flusher && (this$static.flusher = new SchedulerImpl$Flusher(this$static));
+ scheduleFixedDelayImpl(this$static.flusher, 1);
+ !this$static.rescue && (this$static.rescue = new SchedulerImpl$Rescuer(this$static));
+ scheduleFixedDelayImpl(this$static.rescue, 50);
+ }
+}
+
+function $runRepeatingTasks(tasks){
+ var canceledSomeTasks, duration, executedSomeTask, i_0, length_0, newTasks, t;
+ length_0 = tasks.length;
+ if (length_0 == 0) {
+ return null;
+ }
+ canceledSomeTasks = false;
+ duration = new Duration;
+ while (now_1() - duration.start_0 < 16) {
+ executedSomeTask = false;
+ for (i_0 = 0; i_0 < length_0; i_0++) {
+ t = tasks[i_0];
+ if (!t) {
+ continue;
+ }
+ executedSomeTask = true;
+ if (!t[0].execute_0()) {
+ tasks[i_0] = null;
+ canceledSomeTasks = true;
+ }
+ }
+ if (!executedSomeTask) {
+ break;
+ }
+ }
+ if (canceledSomeTasks) {
+ newTasks = [];
+ for (i_0 = 0; i_0 < length_0; i_0++) {
+ !!tasks[i_0] && $push(newTasks, tasks[i_0]);
+ }
+ return newTasks.length == 0?null:newTasks;
+ }
+ else {
+ return tasks;
+ }
+}
+
+function $scheduleDeferred(this$static, cmd){
+ this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, false]);
+ $maybeSchedulePostEventPumpCommands(this$static);
+}
+
+function $scheduleFinally(this$static, cmd){
+ this$static.finallyCommands = push_0(this$static.finallyCommands, [cmd, false]);
+}
+
+function $scheduleIncremental(this$static, cmd){
+ this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, true]);
+ $maybeSchedulePostEventPumpCommands(this$static);
+}
+
+function execute(cmd){
+ return cmd.execute_0();
+}
+
+function push_0(queue, task){
+ !queue && (queue = []);
+ $push(queue, task);
+ return queue;
+}
+
+function runScheduledTasks(tasks, rescheduled){
+ var e, i_0, j, t;
+ for (i_0 = 0 , j = tasks.length; i_0 < j; i_0++) {
+ t = tasks[i_0];
+ try {
+ t[1]?t[0].execute_0() && (rescheduled = push_0(rescheduled, t)):t[0].execute_1();
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 12)) {
+ e = $e0;
+ reportUncaughtException(e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ return rescheduled;
+}
+
+function scheduleFixedDelayImpl(cmd, delayMs){
+ $clinit_SchedulerImpl();
+ function callback(){
+ var ret = $entry(execute)(cmd);
+ !isScript() && (ret = ret == true);
+ ret && $wnd.setTimeout(callback, delayMs);
+ }
+
+ $wnd.setTimeout(callback, delayMs);
+}
+
+defineClass(433, 541, {});
+_.flushRunning = false;
+_.shouldBeRunning = false;
+var INSTANCE;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl', 433, Lcom_google_gwt_core_client_Scheduler_2_classLit);
+function SchedulerImpl$Flusher(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(434, 1, {}, SchedulerImpl$Flusher);
+_.execute_0 = function(){
+ this.this$01.flushRunning = true;
+ $flushPostEventPumpCommands(this.this$01);
+ this.this$01.flushRunning = false;
+ return this.this$01.shouldBeRunning = $isWorkQueued(this.this$01);
+}
+;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl$Flusher_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Flusher', 434, Ljava_lang_Object_2_classLit);
+function SchedulerImpl$Rescuer(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(435, 1, {}, SchedulerImpl$Rescuer);
+_.execute_0 = function(){
+ this.this$01.flushRunning && scheduleFixedDelayImpl(this.this$01.flusher, 1);
+ return this.this$01.shouldBeRunning;
+}
+;
+var Lcom_google_gwt_core_client_impl_SchedulerImpl$Rescuer_2_classLit = createForClass('com.google.gwt.core.client.impl', 'SchedulerImpl/Rescuer', 435, Ljava_lang_Object_2_classLit);
+function $clinit_StackTraceCreator(){
+ $clinit_StackTraceCreator = emptyMethod;
+ !(!!Error.stackTraceLimit || 'stack' in new Error);
+}
+
+function captureStackTrace(){
+ $clinit_StackTraceCreator();
+}
+
+function dropInternalFrames(stackTrace){
+ var i_0, numberOfFrameToSearch;
+ numberOfFrameToSearch = min_1(stackTrace.length, 5);
+ for (i_0 = 0; i_0 < numberOfFrameToSearch; i_0++) {
+ if (null.nullMethod()) {
+ return dynamicCast((stackTrace.length >= i_0 + 1 && stackTrace.splice(0, i_0 + 1) , stackTrace), 591);
+ }
+ }
+ return stackTrace;
+}
+
+function checkArrayType(expression){
+ if (!expression) {
+ throw new ArrayStoreException;
+ }
+}
+
+function checkCriticalArgument(expression, errorMessage){
+ if (!expression) {
+ throw new IllegalArgumentException_0('' + errorMessage);
+ }
+}
+
+function checkCriticalArgument_0(expression, errorMessageArgs){
+ if (!expression) {
+ throw new IllegalArgumentException_0(format('Enum constant undefined: %s', errorMessageArgs));
+ }
+}
+
+function checkCriticalElement(expression){
+ if (!expression) {
+ throw new NoSuchElementException;
+ }
+}
+
+function checkCriticalPositionIndexes(start_0, end, size_0){
+ if (start_0 < 0) {
+ throw new IndexOutOfBoundsException_0('fromIndex: ' + start_0 + ' < 0');
+ }
+ if (end > size_0) {
+ throw new IndexOutOfBoundsException_0('toIndex: ' + end + ' > size ' + size_0);
+ }
+ if (start_0 > end) {
+ throw new IllegalArgumentException_0('fromIndex: ' + start_0 + ' > toIndex: ' + end);
+ }
+}
+
+function checkElementIndex(index_0, size_0){
+ if (index_0 < 0 || index_0 >= size_0) {
+ throw new IndexOutOfBoundsException_0('Index: ' + index_0 + ', Size: ' + size_0);
+ }
+}
+
+function checkNotNull(reference){
+ if (reference == null) {
+ throw new NullPointerException;
+ }
+ return reference;
+}
+
+function checkPositionIndex(index_0, size_0){
+ if (index_0 < 0 || index_0 > size_0) {
+ throw new IndexOutOfBoundsException_0('Index: ' + index_0 + ', Size: ' + size_0);
+ }
+}
+
+function checkState(expression){
+ if (!expression) {
+ throw new IllegalStateException;
+ }
+}
+
+function checkState_0(expression){
+ if (!expression) {
+ throw new IllegalStateException_0("Can't overwrite cause");
+ }
+}
+
+function checkType(expression){
+ if (!expression) {
+ throw new ClassCastException;
+ }
+}
+
+function format(template, args){
+ var builder, i_0, placeholderStart, templateStart;
+ template = '' + template;
+ builder = (template.length + 16 * args.length , new StringBuilder_0);
+ templateStart = 0;
+ i_0 = 0;
+ while (i_0 < args.length) {
+ placeholderStart = template.indexOf('%s', templateStart);
+ if (placeholderStart == -1) {
+ break;
+ }
+ $append_0(builder, template.substr(templateStart, placeholderStart - templateStart));
+ $append(builder, args[i_0++]);
+ templateStart = placeholderStart + 2;
+ }
+ $append_0(builder, __substr(template, templateStart, template.length - templateStart));
+ if (i_0 < args.length) {
+ builder.string += ' [';
+ $append(builder, args[i_0++]);
+ while (i_0 < args.length) {
+ builder.string += ', ';
+ $append(builder, args[i_0++]);
+ }
+ builder.string += ']';
+ }
+ return builder.string;
+}
+
+function $appendChild(this$static, newChild){
+ return this$static.appendChild(newChild);
+}
+
+function $getChild(this$static, index_0){
+ return this$static.childNodes[index_0];
+}
+
+function $getParentElement(this$static){
+ return $getParentElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $hasParentElement(this$static){
+ return !!$getParentElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $insertAfter(this$static, newChild, refChild){
+ var next;
+ next = !refChild?null:refChild.nextSibling;
+ return !next?this$static.appendChild(newChild):this$static.insertBefore(newChild, next);
+}
+
+function $insertBefore(this$static, newChild, refChild){
+ return this$static.insertBefore(newChild, refChild);
+}
+
+function $insertFirst(this$static, child){
+ return $insertBefore(this$static, child, this$static.firstChild);
+}
+
+function $isOrHasChild(this$static, child){
+ return ($clinit_DOMImpl() , impl_0).isOrHasChild(this$static, child);
+}
+
+function $removeAllChildren(this$static){
+ while (this$static.lastChild) {
+ this$static.removeChild(this$static.lastChild);
+ }
+}
+
+function $removeChild(this$static, oldChild){
+ return this$static.removeChild(oldChild);
+}
+
+function $removeFromParent(this$static){
+ var parent_0;
+ parent_0 = $getParentElement_0(($clinit_DOMImpl() , this$static));
+ !!parent_0 && parent_0.removeChild(this$static);
+}
+
+function is(o){
+ try {
+ return !!o && !!o.nodeType;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function $addClassName(this$static, className){
+ var idx, oldClassName;
+ className = trimClassName(className);
+ oldClassName = $getClassName(this$static);
+ idx = indexOfName(oldClassName, className);
+ if (idx == -1) {
+ oldClassName.length > 0?$setClassName(this$static, oldClassName + ' ' + className):$setClassName(this$static, className);
+ return true;
+ }
+ return false;
+}
+
+function $focus(this$static){
+ this$static.focus();
+}
+
+function $getAbsoluteBottom(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteTop(this$static) + ($getSubPixelOffsetHeight(this$static) | 0);
+}
+
+function $getAbsoluteLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteLeft(this$static);
+}
+
+function $getAbsoluteTop(this$static){
+ return ($clinit_DOMImpl() , impl_0).getAbsoluteTop(this$static);
+}
+
+function $getAttribute(this$static, name_0){
+ return $getAttribute_0(($clinit_DOMImpl() , this$static), name_0);
+}
+
+function $getClassName(this$static){
+ return this$static.className || '';
+}
+
+function $getFirstChildElement(this$static){
+ return $getFirstChildElement_0(($clinit_DOMImpl() , this$static));
+}
+
+function $getInnerHTML(this$static){
+ return ($clinit_DOMImpl() , this$static).innerHTML;
+}
+
+function $getPropertyInt(this$static, name_0){
+ return parseInt(this$static[name_0]) | 0;
+}
+
+function $getPropertyString(this$static, name_0){
+ return this$static[name_0] == null?null:String(this$static[name_0]);
+}
+
+function $getScrollLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getScrollLeft_0(this$static);
+}
+
+function $getString(this$static){
+ return ($clinit_DOMImpl() , impl_0).toString_0(this$static);
+}
+
+function $getSubPixelOffsetHeight(this$static){
+ return this$static.offsetHeight || 0;
+}
+
+function $getSubPixelOffsetWidth(this$static){
+ return this$static.offsetWidth || 0;
+}
+
+function $getSubPixelScrollTop(this$static){
+ return this$static.scrollTop || 0;
+}
+
+function $getSubPixelScrollWidth(this$static){
+ return this$static.scrollWidth || 0;
+}
+
+function $getTabIndex(this$static){
+ return ($clinit_DOMImpl() , impl_0).getTabIndex(this$static);
+}
+
+function $hasClassName(this$static, className){
+ var idx;
+ className = trimClassName(className);
+ idx = indexOfName($getClassName(this$static), className);
+ return idx != -1;
+}
+
+function $removeAttribute(this$static, name_0){
+ this$static.removeAttribute(name_0);
+}
+
+function $removeClassName(this$static, className){
+ var begin, end, idx, newClassName, oldStyle;
+ className = trimClassName(className);
+ oldStyle = $getClassName(this$static);
+ idx = indexOfName(oldStyle, className);
+ if (idx != -1) {
+ begin = $trim(oldStyle.substr(0, idx));
+ end = $trim($substring(oldStyle, idx + className.length));
+ begin.length == 0?(newClassName = end):end.length == 0?(newClassName = begin):(newClassName = begin + ' ' + end);
+ $setClassName(this$static, newClassName);
+ return true;
+ }
+ return false;
+}
+
+function $setAttribute(this$static, name_0, value_0){
+ this$static.setAttribute(name_0, value_0);
+}
+
+function $setClassName(this$static, className){
+ this$static.className = className || '';
+}
+
+function $setId(this$static, id_0){
+ this$static.id = id_0;
+}
+
+function $setInnerHTML(this$static, html){
+ this$static.innerHTML = html || '';
+}
+
+function $setInnerText(this$static, text_0){
+ $setInnerText_0(($clinit_DOMImpl() , this$static), text_0);
+}
+
+function $setPropertyBoolean(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyInt(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyObject(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setPropertyString(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $setScrollLeft(this$static, scrollLeft){
+ ($clinit_DOMImpl() , impl_0).setScrollLeft(this$static, scrollLeft);
+}
+
+function $setScrollTop(this$static, scrollTop){
+ this$static.scrollTop = scrollTop;
+}
+
+function $setTabIndex(this$static, tabIndex){
+ this$static.tabIndex = tabIndex;
+}
+
+function indexOfName(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 is_0(o){
+ if (is(o)) {
+ return !!o && o.nodeType == 1;
+ }
+ return false;
+}
+
+function trimClassName(className){
+ className = $trim(className);
+ return className;
+}
+
+function $clinit_DOMImpl(){
+ $clinit_DOMImpl = emptyMethod;
+ impl_0 = com_google_gwt_dom_client_DOMImpl();
+}
+
+function $createElement(doc, tag){
+ return doc.createElement(tag);
+}
+
+function $eventStopPropagation(evt){
+ evt.stopPropagation();
+}
+
+function $getAttribute_0(elem, name_0){
+ return elem.getAttribute(name_0) || '';
+}
+
+function $getFirstChildElement_0(elem){
+ var child = elem.firstChild;
+ while (child && child.nodeType != 1)
+ child = child.nextSibling;
+ return child;
+}
+
+function $getNextSiblingElement(elem){
+ var sib = elem.nextSibling;
+ while (sib && sib.nodeType != 1)
+ sib = sib.nextSibling;
+ return sib;
+}
+
+function $getParentElement_0(node){
+ var parent_0 = node.parentNode;
+ (!parent_0 || parent_0.nodeType != 1) && (parent_0 = null);
+ return parent_0;
+}
+
+function $getPreviousSiblingElement(elem){
+ var sib = elem.previousSibling;
+ while (sib && sib.nodeType != 1)
+ sib = sib.previousSibling;
+ return sib;
+}
+
+function $getSubPixelAbsoluteLeft(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 $getSubPixelAbsoluteTop(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 $getSubPixelScrollLeft(elem){
+ return elem.scrollLeft || 0;
+}
+
+function $setScrollLeft_0(elem, left){
+ elem.scrollLeft = left;
+}
+
+function toInt32(val){
+ $clinit_DOMImpl();
+ return val | 0;
+}
+
+defineClass(570, 1, {});
+_.eventGetCurrentTarget = function eventGetCurrentTarget(event_0){
+ return event_0.currentTarget;
+}
+;
+_.getAbsoluteLeft = function(elem){
+ return toInt32($getSubPixelAbsoluteLeft(elem));
+}
+;
+_.getAbsoluteTop = function(elem){
+ return toInt32($getSubPixelAbsoluteTop(elem));
+}
+;
+_.getBodyOffsetLeft = function getBodyOffsetLeft(doc){
+ return 0;
+}
+;
+_.getBodyOffsetTop = function getBodyOffsetTop(doc){
+ return 0;
+}
+;
+_.getScrollLeft = function(doc){
+ return $getScrollLeft($equals_2(doc.compatMode, 'CSS1Compat')?doc.documentElement:doc.body);
+}
+;
+_.getScrollLeft_0 = function(elem){
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.getTabIndex = function getTabIndex(elem){
+ return elem.tabIndex;
+}
+;
+_.setScrollLeft = function(elem, left){
+ $setScrollLeft_0(elem, left);
+}
+;
+_.toString_0 = function toString_0(elem){
+ return elem.outerHTML;
+}
+;
+var impl_0;
+var Lcom_google_gwt_dom_client_DOMImpl_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImpl', 570, Ljava_lang_Object_2_classLit);
+function $eventGetButton(evt){
+ var button = evt.button;
+ if (button == 1) {
+ return 4;
+ }
+ else if (button == 2) {
+ return 2;
+ }
+ return 1;
+}
+
+function $eventPreventDefault(evt){
+ evt.preventDefault();
+}
+
+function $setInnerText_0(elem, text_0){
+ elem.textContent = text_0 || '';
+}
+
+defineClass(571, 570, {});
+_.eventGetRelatedTarget = function eventGetRelatedTarget(evt){
+ return evt.relatedTarget;
+}
+;
+_.eventGetTarget = function eventGetTarget(evt){
+ return evt.target;
+}
+;
+_.isOrHasChild = function isOrHasChild(parent_0, child){
+ return parent_0.contains(child);
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplStandard', 571, Lcom_google_gwt_dom_client_DOMImpl_2_classLit);
+function $getAbsoluteLeftImpl(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 $getAbsoluteTopImpl(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 $isRTL(elem){
+ var style = elem.ownerDocument.defaultView.getComputedStyle(elem, null);
+ return style.direction == 'rtl';
+}
+
+function DOMImplMozilla(){
+ $clinit_DOMImpl();
+}
+
+function getGeckoVersion(){
+ 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 isGecko19(){
+ var geckoVersion;
+ geckoVersion = getGeckoVersion();
+ return geckoVersion != -1 && geckoVersion >= 1009000;
+}
+
+defineClass(416, 571, {}, DOMImplMozilla);
+_.eventGetMouseWheelVelocityY = function eventGetMouseWheelVelocityY(evt){
+ return evt.detail || 0;
+}
+;
+_.eventGetRelatedTarget = function eventGetRelatedTarget_0(evt){
+ var relatedTarget = evt.relatedTarget;
+ if (!relatedTarget) {
+ return null;
+ }
+ try {
+ var nodeName = relatedTarget.nodeName;
+ return relatedTarget;
+ }
+ catch (e) {
+ return null;
+ }
+}
+;
+_.getAbsoluteLeft = function(elem){
+ return $getAbsoluteLeftImpl($getViewportElement(elem.ownerDocument), elem);
+}
+;
+_.getAbsoluteTop = function(elem){
+ return $getAbsoluteTopImpl($getViewportElement(elem.ownerDocument), elem);
+}
+;
+_.getBodyOffsetLeft = function getBodyOffsetLeft_0(doc){
+ var style = $wnd.getComputedStyle(doc.documentElement, null);
+ if (style == null) {
+ return 0;
+ }
+ return parseInt(style.marginLeft, 10) + parseInt(style.borderLeftWidth, 10);
+}
+;
+_.getBodyOffsetTop = function getBodyOffsetTop_0(doc){
+ var style = $wnd.getComputedStyle(doc.documentElement, null);
+ if (style == null) {
+ return 0;
+ }
+ return parseInt(style.marginTop, 10) + parseInt(style.borderTopWidth, 10);
+}
+;
+_.getScrollLeft_0 = function(elem){
+ if (!isGecko19() && $isRTL(elem)) {
+ return toInt32($getSubPixelScrollLeft(elem)) - (($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ }
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.isOrHasChild = function isOrHasChild_0(parent_0, child){
+ return parent_0 === child || !!(parent_0.compareDocumentPosition(child) & 16);
+}
+;
+_.setScrollLeft = function(elem, left){
+ !isGecko19() && $isRTL(elem) && (left += ($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ $setScrollLeft_0(elem, left);
+}
+;
+_.toString_0 = function toString_1(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 Lcom_google_gwt_dom_client_DOMImplMozilla_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplMozilla', 416, Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit);
+function $isRTL_0(elem){
+ return elem.ownerDocument.defaultView.getComputedStyle(elem, '').direction == 'rtl';
+}
+
+function getAbsoluteLeftUsingOffsets(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 getAbsoluteTopUsingOffsets(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 getBoundingClientRect(element){
+ return element.getBoundingClientRect && element.getBoundingClientRect();
+}
+
+defineClass(572, 571, {});
+_.eventGetCurrentTarget = function eventGetCurrentTarget_0(event_0){
+ return event_0.currentTarget || $wnd;
+}
+;
+_.eventGetMouseWheelVelocityY = function eventGetMouseWheelVelocityY_0(evt){
+ return Math.round(-evt.wheelDelta / 40) || 0;
+}
+;
+_.getAbsoluteLeft = function(elem){
+ var left, rect;
+ rect = getBoundingClientRect(elem);
+ left = rect?rect.left + $getScrollLeft(elem.ownerDocument.body):getAbsoluteLeftUsingOffsets(elem);
+ return toInt32(left);
+}
+;
+_.getAbsoluteTop = function(elem){
+ var rect, top_0, top_1;
+ rect = getBoundingClientRect(elem);
+ top_0 = rect?rect.top + ((elem.ownerDocument.body.scrollTop || 0) | 0):getAbsoluteTopUsingOffsets(elem);
+ return toInt32(top_0);
+}
+;
+_.getScrollLeft = function getScrollLeft(doc){
+ return doc.documentElement.scrollLeft || doc.body.scrollLeft;
+}
+;
+_.getScrollLeft_0 = function(elem){
+ if (!$equalsIgnoreCase('body', ($clinit_DOMImpl() , elem).tagName) && $isRTL_0(elem)) {
+ return toInt32($getSubPixelScrollLeft(elem)) - (($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ }
+ return toInt32($getSubPixelScrollLeft(elem));
+}
+;
+_.getTabIndex = function getTabIndex_0(elem){
+ return typeof elem.tabIndex != 'undefined'?elem.tabIndex:-1;
+}
+;
+_.setScrollLeft = function(elem, left){
+ !$equalsIgnoreCase('body', ($clinit_DOMImpl() , elem).tagName) && $isRTL_0(elem) && (left += ($getSubPixelScrollWidth(elem) | 0) - (elem.clientWidth | 0));
+ $setScrollLeft_0(elem, left);
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplStandardBase_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplStandardBase', 572, Lcom_google_gwt_dom_client_DOMImplStandard_2_classLit);
+function DOMImplWebkit(){
+ $clinit_DOMImpl();
+}
+
+defineClass(417, 572, {}, DOMImplWebkit);
+_.eventGetTarget = function eventGetTarget_0(evt){
+ var target = evt.target;
+ target && target.nodeType == 3 && (target = target.parentNode);
+ return target;
+}
+;
+var Lcom_google_gwt_dom_client_DOMImplWebkit_2_classLit = createForClass('com.google.gwt.dom.client', 'DOMImplWebkit', 417, Lcom_google_gwt_dom_client_DOMImplStandardBase_2_classLit);
+function $createCheckInputElement(this$static){
+ var e;
+ return e = ($clinit_DOMImpl() , this$static).createElement('INPUT') , e.type = 'checkbox' , e.value = 'on' , e;
+}
+
+function $createDivElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('div');
+}
+
+function $createElement_0(this$static, tagName){
+ return $createElement(($clinit_DOMImpl() , this$static), tagName);
+}
+
+function $createIFrameElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('iframe');
+}
+
+function $createLabelElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('label');
+}
+
+function $createScriptElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('script');
+}
+
+function $createSpanElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('span');
+}
+
+function $createTBodyElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tbody');
+}
+
+function $createTFootElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tfoot');
+}
+
+function $createTHeadElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('thead');
+}
+
+function $createTRElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('tr');
+}
+
+function $createTableElement(this$static){
+ return ($clinit_DOMImpl() , this$static).createElement('table');
+}
+
+function $createUniqueId(this$static){
+ !this$static.gwt_uid && (this$static.gwt_uid = 1);
+ return 'gwt-uid-' + this$static.gwt_uid++;
+}
+
+function $getBodyOffsetLeft(this$static){
+ return ($clinit_DOMImpl() , impl_0).getBodyOffsetLeft(this$static);
+}
+
+function $getBodyOffsetTop(this$static){
+ return ($clinit_DOMImpl() , impl_0).getBodyOffsetTop(this$static);
+}
+
+function $getClientHeight(this$static){
+ return ($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientHeight | 0;
+}
+
+function $getClientWidth(this$static){
+ return ($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).clientWidth | 0;
+}
+
+function $getElementById(this$static, elementId){
+ return this$static.getElementById(elementId);
+}
+
+function $getScrollHeight(this$static){
+ return (($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollHeight || 0) | 0;
+}
+
+function $getScrollLeft_0(this$static){
+ return ($clinit_DOMImpl() , impl_0).getScrollLeft(this$static);
+}
+
+function $getScrollWidth(this$static){
+ return (($equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body).scrollWidth || 0) | 0;
+}
+
+function $getViewportElement(this$static){
+ return $equals_2(this$static.compatMode, 'CSS1Compat')?this$static.documentElement:this$static.body;
+}
+
+function $isChecked(this$static){
+ return !!this$static.checked;
+}
+
+function $isDefaultChecked(this$static){
+ return !!this$static.defaultChecked;
+}
+
+function $setChecked(this$static, checked){
+ this$static.checked = checked;
+}
+
+function $setDefaultChecked(this$static, defaultChecked){
+ this$static.defaultChecked = defaultChecked;
+}
+
+function $setHtmlFor(this$static, htmlFor){
+ this$static.htmlFor = htmlFor;
+}
+
+function $getEventTarget(this$static){
+ return ($clinit_DOMImpl() , impl_0).eventGetTarget(this$static);
+}
+
+function $getKeyCode(this$static){
+ return ($clinit_DOMImpl() , this$static).keyCode | 0;
+}
+
+function $getShiftKey(this$static){
+ return !!($clinit_DOMImpl() , this$static).shiftKey;
+}
+
+function $getTouches(this$static){
+ return ($clinit_DOMImpl() , this$static).touches;
+}
+
+function $preventDefault(this$static){
+ $eventPreventDefault(($clinit_DOMImpl() , this$static));
+}
+
+function $setSrc(this$static, src_0){
+ this$static.src = src_0;
+}
+
+function $getDisplay(this$static){
+ return ($clinit_DOMImpl() , this$static)['display'];
+}
+
+function $getOpacity(this$static){
+ return ($clinit_DOMImpl() , this$static)['opacity'];
+}
+
+function $getPosition(this$static){
+ return ($clinit_DOMImpl() , this$static)['position'];
+}
+
+function $getProperty(this$static, name_0){
+ return ($clinit_DOMImpl() , this$static)[name_0];
+}
+
+function $getZIndex(this$static){
+ return ($clinit_DOMImpl() , this$static)['zIndex'];
+}
+
+function $setPropertyImpl(this$static, name_0, value_0){
+ this$static[name_0] = value_0;
+}
+
+function $toString_1(this$static){
+ return this$static.name_0 != null?this$static.name_0:'' + this$static.ordinal;
+}
+
+function Enum(name_0, ordinal){
+ this.name_0 = name_0;
+ this.ordinal = ordinal;
+}
+
+function createValueOfMap(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.name_0 != null?value_0.name_0:'' + value_0.ordinal)] = value_0;
+ }
+ return result;
+}
+
+function valueOf(map_0, name_0){
+ var result;
+ checkNotNull(name_0);
+ result = map_0[':' + name_0];
+ checkCriticalArgument_0(!!result, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [name_0]));
+ return result;
+}
+
+defineClass(5, 1, {3:1, 6:1, 5:1});
+_.equals$ = function(other){
+ return this === other;
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this);
+}
+;
+_.toString$ = function(){
+ return $toString_1(this);
+}
+;
+_.ordinal = 0;
+var Ljava_lang_Enum_2_classLit = createForClass('java.lang', 'Enum', 5, Ljava_lang_Object_2_classLit);
+function $clinit_Style$BorderStyle(){
+ $clinit_Style$BorderStyle = emptyMethod;
+ NONE = new Style$BorderStyle$1;
+ DOTTED = new Style$BorderStyle$2;
+ DASHED = new Style$BorderStyle$3;
+ HIDDEN = new Style$BorderStyle$4;
+ SOLID = new Style$BorderStyle$5;
+}
+
+function Style$BorderStyle(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_0(){
+ $clinit_Style$BorderStyle();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, 1), $intern_4, 49, 0, [NONE, DOTTED, DASHED, HIDDEN, SOLID]);
+}
+
+defineClass(49, 5, $intern_5);
+var DASHED, DOTTED, HIDDEN, NONE, SOLID;
+var Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle', 49, Ljava_lang_Enum_2_classLit, values_0);
+function Style$BorderStyle$1(){
+ Style$BorderStyle.call(this, 'NONE', 0);
+}
+
+defineClass(357, 49, $intern_5, Style$BorderStyle$1);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/1', 357, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$2(){
+ Style$BorderStyle.call(this, 'DOTTED', 1);
+}
+
+defineClass(358, 49, $intern_5, Style$BorderStyle$2);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/2', 358, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$3(){
+ Style$BorderStyle.call(this, 'DASHED', 2);
+}
+
+defineClass(359, 49, $intern_5, Style$BorderStyle$3);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/3', 359, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$4(){
+ Style$BorderStyle.call(this, 'HIDDEN', 3);
+}
+
+defineClass(360, 49, $intern_5, Style$BorderStyle$4);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/4', 360, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function Style$BorderStyle$5(){
+ Style$BorderStyle.call(this, 'SOLID', 4);
+}
+
+defineClass(361, 49, $intern_5, Style$BorderStyle$5);
+var Lcom_google_gwt_dom_client_Style$BorderStyle$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/BorderStyle/5', 361, Lcom_google_gwt_dom_client_Style$BorderStyle_2_classLit, null);
+function $clinit_Style$Display(){
+ $clinit_Style$Display = emptyMethod;
+ NONE_0 = new Style$Display$1;
+ BLOCK = new Style$Display$2;
+ INLINE = new Style$Display$3;
+ INLINE_BLOCK = new Style$Display$4;
+ INLINE_TABLE = new Style$Display$5;
+ LIST_ITEM = new Style$Display$6;
+ RUN_IN = new Style$Display$7;
+ TABLE = new Style$Display$8;
+ TABLE_CAPTION = new Style$Display$9;
+ TABLE_COLUMN_GROUP = new Style$Display$10;
+ TABLE_HEADER_GROUP = new Style$Display$11;
+ TABLE_FOOTER_GROUP = new Style$Display$12;
+ TABLE_ROW_GROUP = new Style$Display$13;
+ TABLE_CELL = new Style$Display$14;
+ TABLE_COLUMN = new Style$Display$15;
+ TABLE_ROW = new Style$Display$16;
+ INITIAL = new Style$Display$17;
+}
+
+function Style$Display(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_1(){
+ $clinit_Style$Display();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Display_2_classLit, 1), $intern_4, 16, 0, [NONE_0, BLOCK, INLINE, INLINE_BLOCK, INLINE_TABLE, LIST_ITEM, RUN_IN, TABLE, TABLE_CAPTION, TABLE_COLUMN_GROUP, TABLE_HEADER_GROUP, TABLE_FOOTER_GROUP, TABLE_ROW_GROUP, TABLE_CELL, TABLE_COLUMN, TABLE_ROW, INITIAL]);
+}
+
+defineClass(16, 5, $intern_6);
+var BLOCK, INITIAL, INLINE, INLINE_BLOCK, INLINE_TABLE, LIST_ITEM, NONE_0, RUN_IN, TABLE, TABLE_CAPTION, TABLE_CELL, TABLE_COLUMN, TABLE_COLUMN_GROUP, TABLE_FOOTER_GROUP, TABLE_HEADER_GROUP, TABLE_ROW, TABLE_ROW_GROUP;
+var Lcom_google_gwt_dom_client_Style$Display_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display', 16, Ljava_lang_Enum_2_classLit, values_1);
+function Style$Display$1(){
+ Style$Display.call(this, 'NONE', 0);
+}
+
+defineClass(362, 16, $intern_6, Style$Display$1);
+var Lcom_google_gwt_dom_client_Style$Display$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/1', 362, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$10(){
+ Style$Display.call(this, 'TABLE_COLUMN_GROUP', 9);
+}
+
+defineClass(371, 16, $intern_6, Style$Display$10);
+var Lcom_google_gwt_dom_client_Style$Display$10_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/10', 371, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$11(){
+ Style$Display.call(this, 'TABLE_HEADER_GROUP', 10);
+}
+
+defineClass(372, 16, $intern_6, Style$Display$11);
+var Lcom_google_gwt_dom_client_Style$Display$11_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/11', 372, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$12(){
+ Style$Display.call(this, 'TABLE_FOOTER_GROUP', 11);
+}
+
+defineClass(373, 16, $intern_6, Style$Display$12);
+var Lcom_google_gwt_dom_client_Style$Display$12_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/12', 373, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$13(){
+ Style$Display.call(this, 'TABLE_ROW_GROUP', 12);
+}
+
+defineClass(374, 16, $intern_6, Style$Display$13);
+var Lcom_google_gwt_dom_client_Style$Display$13_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/13', 374, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$14(){
+ Style$Display.call(this, 'TABLE_CELL', 13);
+}
+
+defineClass(375, 16, $intern_6, Style$Display$14);
+var Lcom_google_gwt_dom_client_Style$Display$14_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/14', 375, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$15(){
+ Style$Display.call(this, 'TABLE_COLUMN', 14);
+}
+
+defineClass(376, 16, $intern_6, Style$Display$15);
+var Lcom_google_gwt_dom_client_Style$Display$15_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/15', 376, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$16(){
+ Style$Display.call(this, 'TABLE_ROW', 15);
+}
+
+defineClass(377, 16, $intern_6, Style$Display$16);
+var Lcom_google_gwt_dom_client_Style$Display$16_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/16', 377, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$17(){
+ Style$Display.call(this, 'INITIAL', 16);
+}
+
+defineClass(378, 16, $intern_6, Style$Display$17);
+var Lcom_google_gwt_dom_client_Style$Display$17_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/17', 378, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$2(){
+ Style$Display.call(this, 'BLOCK', 1);
+}
+
+defineClass(363, 16, $intern_6, Style$Display$2);
+var Lcom_google_gwt_dom_client_Style$Display$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/2', 363, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$3(){
+ Style$Display.call(this, 'INLINE', 2);
+}
+
+defineClass(364, 16, $intern_6, Style$Display$3);
+var Lcom_google_gwt_dom_client_Style$Display$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/3', 364, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$4(){
+ Style$Display.call(this, 'INLINE_BLOCK', 3);
+}
+
+defineClass(365, 16, $intern_6, Style$Display$4);
+var Lcom_google_gwt_dom_client_Style$Display$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/4', 365, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$5(){
+ Style$Display.call(this, 'INLINE_TABLE', 4);
+}
+
+defineClass(366, 16, $intern_6, Style$Display$5);
+var Lcom_google_gwt_dom_client_Style$Display$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/5', 366, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$6(){
+ Style$Display.call(this, 'LIST_ITEM', 5);
+}
+
+defineClass(367, 16, $intern_6, Style$Display$6);
+var Lcom_google_gwt_dom_client_Style$Display$6_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/6', 367, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$7(){
+ Style$Display.call(this, 'RUN_IN', 6);
+}
+
+defineClass(368, 16, $intern_6, Style$Display$7);
+var Lcom_google_gwt_dom_client_Style$Display$7_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/7', 368, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$8(){
+ Style$Display.call(this, 'TABLE', 7);
+}
+
+defineClass(369, 16, $intern_6, Style$Display$8);
+var Lcom_google_gwt_dom_client_Style$Display$8_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/8', 369, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function Style$Display$9(){
+ Style$Display.call(this, 'TABLE_CAPTION', 8);
+}
+
+defineClass(370, 16, $intern_6, Style$Display$9);
+var Lcom_google_gwt_dom_client_Style$Display$9_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Display/9', 370, Lcom_google_gwt_dom_client_Style$Display_2_classLit, null);
+function $clinit_Style$Overflow(){
+ $clinit_Style$Overflow = emptyMethod;
+ VISIBLE = new Style$Overflow$1;
+ HIDDEN_0 = new Style$Overflow$2;
+ SCROLL = new Style$Overflow$3;
+ AUTO = new Style$Overflow$4;
+}
+
+function Style$Overflow(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_2(){
+ $clinit_Style$Overflow();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, 1), $intern_4, 61, 0, [VISIBLE, HIDDEN_0, SCROLL, AUTO]);
+}
+
+defineClass(61, 5, $intern_7);
+var AUTO, HIDDEN_0, SCROLL, VISIBLE;
+var Lcom_google_gwt_dom_client_Style$Overflow_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow', 61, Ljava_lang_Enum_2_classLit, values_2);
+function Style$Overflow$1(){
+ Style$Overflow.call(this, 'VISIBLE', 0);
+}
+
+defineClass(379, 61, $intern_7, Style$Overflow$1);
+var Lcom_google_gwt_dom_client_Style$Overflow$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/1', 379, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$2(){
+ Style$Overflow.call(this, 'HIDDEN', 1);
+}
+
+defineClass(380, 61, $intern_7, Style$Overflow$2);
+var Lcom_google_gwt_dom_client_Style$Overflow$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/2', 380, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$3(){
+ Style$Overflow.call(this, 'SCROLL', 2);
+}
+
+defineClass(381, 61, $intern_7, Style$Overflow$3);
+var Lcom_google_gwt_dom_client_Style$Overflow$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/3', 381, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function Style$Overflow$4(){
+ Style$Overflow.call(this, 'AUTO', 3);
+}
+
+defineClass(382, 61, $intern_7, Style$Overflow$4);
+var Lcom_google_gwt_dom_client_Style$Overflow$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Overflow/4', 382, Lcom_google_gwt_dom_client_Style$Overflow_2_classLit, null);
+function $clinit_Style$Position(){
+ $clinit_Style$Position = emptyMethod;
+ STATIC = new Style$Position$1;
+ RELATIVE = new Style$Position$2;
+ ABSOLUTE = new Style$Position$3;
+ FIXED = new Style$Position$4;
+}
+
+function Style$Position(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_3(){
+ $clinit_Style$Position();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Position_2_classLit, 1), $intern_4, 62, 0, [STATIC, RELATIVE, ABSOLUTE, FIXED]);
+}
+
+defineClass(62, 5, $intern_8);
+var ABSOLUTE, FIXED, RELATIVE, STATIC;
+var Lcom_google_gwt_dom_client_Style$Position_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position', 62, Ljava_lang_Enum_2_classLit, values_3);
+function Style$Position$1(){
+ Style$Position.call(this, 'STATIC', 0);
+}
+
+defineClass(383, 62, $intern_8, Style$Position$1);
+var Lcom_google_gwt_dom_client_Style$Position$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/1', 383, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$2(){
+ Style$Position.call(this, 'RELATIVE', 1);
+}
+
+defineClass(384, 62, $intern_8, Style$Position$2);
+var Lcom_google_gwt_dom_client_Style$Position$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/2', 384, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$3(){
+ Style$Position.call(this, 'ABSOLUTE', 2);
+}
+
+defineClass(385, 62, $intern_8, Style$Position$3);
+var Lcom_google_gwt_dom_client_Style$Position$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/3', 385, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function Style$Position$4(){
+ Style$Position.call(this, 'FIXED', 3);
+}
+
+defineClass(386, 62, $intern_8, Style$Position$4);
+var Lcom_google_gwt_dom_client_Style$Position$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Position/4', 386, Lcom_google_gwt_dom_client_Style$Position_2_classLit, null);
+function $clinit_Style$TextAlign(){
+ $clinit_Style$TextAlign = emptyMethod;
+ CENTER = new Style$TextAlign$1;
+ JUSTIFY = new Style$TextAlign$2;
+ LEFT = new Style$TextAlign$3;
+ RIGHT = new Style$TextAlign$4;
+}
+
+function Style$TextAlign(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_4(){
+ $clinit_Style$TextAlign();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, 1), $intern_4, 63, 0, [CENTER, JUSTIFY, LEFT, RIGHT]);
+}
+
+defineClass(63, 5, $intern_9);
+var CENTER, JUSTIFY, LEFT, RIGHT;
+var Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign', 63, Ljava_lang_Enum_2_classLit, values_4);
+function Style$TextAlign$1(){
+ Style$TextAlign.call(this, 'CENTER', 0);
+}
+
+defineClass(387, 63, $intern_9, Style$TextAlign$1);
+var Lcom_google_gwt_dom_client_Style$TextAlign$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/1', 387, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$2(){
+ Style$TextAlign.call(this, 'JUSTIFY', 1);
+}
+
+defineClass(388, 63, $intern_9, Style$TextAlign$2);
+var Lcom_google_gwt_dom_client_Style$TextAlign$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/2', 388, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$3(){
+ Style$TextAlign.call(this, 'LEFT', 2);
+}
+
+defineClass(389, 63, $intern_9, Style$TextAlign$3);
+var Lcom_google_gwt_dom_client_Style$TextAlign$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/3', 389, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function Style$TextAlign$4(){
+ Style$TextAlign.call(this, 'RIGHT', 3);
+}
+
+defineClass(390, 63, $intern_9, Style$TextAlign$4);
+var Lcom_google_gwt_dom_client_Style$TextAlign$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/TextAlign/4', 390, Lcom_google_gwt_dom_client_Style$TextAlign_2_classLit, null);
+function $clinit_Style$Unit(){
+ $clinit_Style$Unit = emptyMethod;
+ PX = new Style$Unit$1;
+ PCT = new Style$Unit$2;
+ EM = new Style$Unit$3;
+ EX = new Style$Unit$4;
+ PT = new Style$Unit$5;
+ PC = new Style$Unit$6;
+ IN = new Style$Unit$7;
+ CM = new Style$Unit$8;
+ MM = new Style$Unit$9;
+}
+
+function Style$Unit(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_5(){
+ $clinit_Style$Unit();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Unit_2_classLit, 1), $intern_4, 32, 0, [PX, PCT, EM, EX, PT, PC, IN, CM, MM]);
+}
+
+defineClass(32, 5, $intern_10);
+var CM, EM, EX, IN, MM, PC, PCT, PT, PX;
+var Lcom_google_gwt_dom_client_Style$Unit_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit', 32, Ljava_lang_Enum_2_classLit, values_5);
+function Style$Unit$1(){
+ Style$Unit.call(this, 'PX', 0);
+}
+
+defineClass(348, 32, $intern_10, Style$Unit$1);
+var Lcom_google_gwt_dom_client_Style$Unit$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/1', 348, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$2(){
+ Style$Unit.call(this, 'PCT', 1);
+}
+
+defineClass(349, 32, $intern_10, Style$Unit$2);
+var Lcom_google_gwt_dom_client_Style$Unit$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/2', 349, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$3(){
+ Style$Unit.call(this, 'EM', 2);
+}
+
+defineClass(350, 32, $intern_10, Style$Unit$3);
+var Lcom_google_gwt_dom_client_Style$Unit$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/3', 350, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$4(){
+ Style$Unit.call(this, 'EX', 3);
+}
+
+defineClass(351, 32, $intern_10, Style$Unit$4);
+var Lcom_google_gwt_dom_client_Style$Unit$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/4', 351, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$5(){
+ Style$Unit.call(this, 'PT', 4);
+}
+
+defineClass(352, 32, $intern_10, Style$Unit$5);
+var Lcom_google_gwt_dom_client_Style$Unit$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/5', 352, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$6(){
+ Style$Unit.call(this, 'PC', 5);
+}
+
+defineClass(353, 32, $intern_10, Style$Unit$6);
+var Lcom_google_gwt_dom_client_Style$Unit$6_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/6', 353, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$7(){
+ Style$Unit.call(this, 'IN', 6);
+}
+
+defineClass(354, 32, $intern_10, Style$Unit$7);
+var Lcom_google_gwt_dom_client_Style$Unit$7_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/7', 354, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$8(){
+ Style$Unit.call(this, 'CM', 7);
+}
+
+defineClass(355, 32, $intern_10, Style$Unit$8);
+var Lcom_google_gwt_dom_client_Style$Unit$8_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/8', 355, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function Style$Unit$9(){
+ Style$Unit.call(this, 'MM', 8);
+}
+
+defineClass(356, 32, $intern_10, Style$Unit$9);
+var Lcom_google_gwt_dom_client_Style$Unit$9_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Unit/9', 356, Lcom_google_gwt_dom_client_Style$Unit_2_classLit, null);
+function $clinit_Style$Visibility(){
+ $clinit_Style$Visibility = emptyMethod;
+ VISIBLE_0 = new Style$Visibility$1;
+ HIDDEN_1 = new Style$Visibility$2;
+}
+
+function Style$Visibility(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_6(){
+ $clinit_Style$Visibility();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, 1), $intern_4, 92, 0, [VISIBLE_0, HIDDEN_1]);
+}
+
+defineClass(92, 5, $intern_11);
+var HIDDEN_1, VISIBLE_0;
+var Lcom_google_gwt_dom_client_Style$Visibility_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility', 92, Ljava_lang_Enum_2_classLit, values_6);
+function Style$Visibility$1(){
+ Style$Visibility.call(this, 'VISIBLE', 0);
+}
+
+defineClass(391, 92, $intern_11, Style$Visibility$1);
+var Lcom_google_gwt_dom_client_Style$Visibility$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility/1', 391, Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, null);
+function Style$Visibility$2(){
+ Style$Visibility.call(this, 'HIDDEN', 1);
+}
+
+defineClass(392, 92, $intern_11, Style$Visibility$2);
+var Lcom_google_gwt_dom_client_Style$Visibility$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/Visibility/2', 392, Lcom_google_gwt_dom_client_Style$Visibility_2_classLit, null);
+function $clinit_Style$WhiteSpace(){
+ $clinit_Style$WhiteSpace = emptyMethod;
+ NORMAL = new Style$WhiteSpace$1;
+ NOWRAP = new Style$WhiteSpace$2;
+ PRE = new Style$WhiteSpace$3;
+ PRE_LINE = new Style$WhiteSpace$4;
+ PRE_WRAP = new Style$WhiteSpace$5;
+}
+
+function Style$WhiteSpace(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_7(){
+ $clinit_Style$WhiteSpace();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, 1), $intern_4, 50, 0, [NORMAL, NOWRAP, PRE, PRE_LINE, PRE_WRAP]);
+}
+
+defineClass(50, 5, $intern_12);
+var NORMAL, NOWRAP, PRE, PRE_LINE, PRE_WRAP;
+var Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace', 50, Ljava_lang_Enum_2_classLit, values_7);
+function Style$WhiteSpace$1(){
+ Style$WhiteSpace.call(this, 'NORMAL', 0);
+}
+
+defineClass(393, 50, $intern_12, Style$WhiteSpace$1);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$1_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/1', 393, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$2(){
+ Style$WhiteSpace.call(this, 'NOWRAP', 1);
+}
+
+defineClass(394, 50, $intern_12, Style$WhiteSpace$2);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$2_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/2', 394, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$3(){
+ Style$WhiteSpace.call(this, 'PRE', 2);
+}
+
+defineClass(395, 50, $intern_12, Style$WhiteSpace$3);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$3_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/3', 395, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$4(){
+ Style$WhiteSpace.call(this, 'PRE_LINE', 3);
+}
+
+defineClass(396, 50, $intern_12, Style$WhiteSpace$4);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$4_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/4', 396, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function Style$WhiteSpace$5(){
+ Style$WhiteSpace.call(this, 'PRE_WRAP', 4);
+}
+
+defineClass(397, 50, $intern_12, Style$WhiteSpace$5);
+var Lcom_google_gwt_dom_client_Style$WhiteSpace$5_2_classLit = createForEnum('com.google.gwt.dom.client', 'Style/WhiteSpace/5', 397, Lcom_google_gwt_dom_client_Style$WhiteSpace_2_classLit, null);
+function $getClientX(this$static){
+ return toInt32(($clinit_DOMImpl() , this$static).clientX || 0);
+}
+
+function $getClientY(this$static){
+ return toInt32(($clinit_DOMImpl() , this$static).clientY || 0);
+}
+
+defineClass(555, 1, {});
+_.toString$ = function(){
+ return 'An event type';
+}
+;
+var Lcom_google_web_bindery_event_shared_Event_2_classLit = createForClass('com.google.web.bindery.event.shared', 'Event', 555, Ljava_lang_Object_2_classLit);
+function $overrideSource(this$static, source){
+ this$static.source = source;
+}
+
+defineClass(556, 555, {});
+_.getSource = function(){
+ return this.source;
+}
+;
+_.revive = function(){
+ this.dead = false;
+ this.source = null;
+}
+;
+_.dead = false;
+var Lcom_google_gwt_event_shared_GwtEvent_2_classLit = createForClass('com.google.gwt.event.shared', 'GwtEvent', 556, Lcom_google_web_bindery_event_shared_Event_2_classLit);
+function $setNativeEvent(this$static, nativeEvent){
+ this$static.nativeEvent = nativeEvent;
+}
+
+function $setRelativeElement(this$static, relativeElem){
+ this$static.relativeElem = relativeElem;
+}
+
+function fireNativeEvent(nativeEvent, handlerSource, relativeElem){
+ var currentNative, currentRelativeElem, type_0, type$iterator, types;
+ if (registered) {
+ types = dynamicCast($unsafeGet(registered, ($clinit_DOMImpl() , nativeEvent).type), 30);
+ if (types) {
+ for (type$iterator = types.iterator_0(); type$iterator.hasNext();) {
+ type_0 = dynamicCast(type$iterator.next_0(), 103);
+ currentNative = type_0.flyweight.nativeEvent;
+ currentRelativeElem = type_0.flyweight.relativeElem;
+ $setNativeEvent(type_0.flyweight, nativeEvent);
+ $setRelativeElement(type_0.flyweight, relativeElem);
+ $fireEvent_0(handlerSource, type_0.flyweight);
+ $setNativeEvent(type_0.flyweight, currentNative);
+ $setRelativeElement(type_0.flyweight, currentRelativeElem);
+ }
+ }
+ }
+}
+
+defineClass(559, 556, {});
+_.getAssociatedType = function(){
+ return this.getAssociatedType_0();
+}
+;
+var registered;
+var Lcom_google_gwt_event_dom_client_DomEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'DomEvent', 559, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+defineClass(561, 559, {});
+var Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'HumanInputEvent', 561, Lcom_google_gwt_event_dom_client_DomEvent_2_classLit);
+defineClass(562, 561, {});
+var Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'MouseEvent', 562, Lcom_google_gwt_event_dom_client_HumanInputEvent_2_classLit);
+function $clinit_ClickEvent(){
+ $clinit_ClickEvent = emptyMethod;
+ TYPE = new DomEvent$Type('click', new ClickEvent);
+}
+
+function $dispatch(handler){
+ fire_2(handler.this$01, $getValue(handler.this$01));
+}
+
+function ClickEvent(){
+}
+
+defineClass(514, 562, {}, ClickEvent);
+_.dispatch = function(handler){
+ $dispatch(dynamicCast(handler, 585));
+}
+;
+_.getAssociatedType_0 = function(){
+ return TYPE;
+}
+;
+var TYPE;
+var Lcom_google_gwt_event_dom_client_ClickEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'ClickEvent', 514, Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit);
+defineClass(218, 1, {});
+_.hashCode$ = function(){
+ return this.index_0;
+}
+;
+_.toString$ = function(){
+ return 'Event type';
+}
+;
+_.index_0 = 0;
+var nextHashCode = 0;
+var Lcom_google_web_bindery_event_shared_Event$Type_2_classLit = createForClass('com.google.web.bindery.event.shared', 'Event/Type', 218, Ljava_lang_Object_2_classLit);
+function GwtEvent$Type(){
+ this.index_0 = ++nextHashCode;
+}
+
+defineClass(35, 218, {}, GwtEvent$Type);
+var Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit = createForClass('com.google.gwt.event.shared', 'GwtEvent/Type', 35, Lcom_google_web_bindery_event_shared_Event$Type_2_classLit);
+function DomEvent$Type(eventName, flyweight){
+ var types;
+ GwtEvent$Type.call(this);
+ this.flyweight = flyweight;
+ !registered && (registered = new PrivateMap);
+ types = dynamicCast($unsafeGet(registered, eventName), 30);
+ if (!types) {
+ types = new ArrayList;
+ $unsafePut(registered, eventName, types);
+ }
+ types.add_1(this);
+ this.name_0 = eventName;
+}
+
+defineClass(103, 35, {103:1}, DomEvent$Type);
+var Lcom_google_gwt_event_dom_client_DomEvent$Type_2_classLit = createForClass('com.google.gwt.event.dom.client', 'DomEvent/Type', 103, Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit);
+defineClass(560, 559, {});
+var Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit = createForClass('com.google.gwt.event.dom.client', 'KeyEvent', 560, Lcom_google_gwt_event_dom_client_DomEvent_2_classLit);
+function $unsafeGet(this$static, key){
+ return this$static.map_0[key];
+}
+
+function $unsafePut(this$static, key, value_0){
+ this$static.map_0[key] = value_0;
+}
+
+function PrivateMap(){
+ this.map_0 = {};
+}
+
+defineClass(451, 1, {}, PrivateMap);
+var Lcom_google_gwt_event_dom_client_PrivateMap_2_classLit = createForClass('com.google.gwt.event.dom.client', 'PrivateMap', 451, Ljava_lang_Object_2_classLit);
+function AttachEvent(){
+}
+
+function fire(source){
+ var event_0;
+ if (TYPE_0) {
+ event_0 = new AttachEvent;
+ !!source.handlerManager && $fireEvent(source.handlerManager, event_0);
+ }
+}
+
+defineClass(217, 556, {}, AttachEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 196).onAttachOrDetach_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_0;
+}
+;
+var TYPE_0;
+var Lcom_google_gwt_event_logical_shared_AttachEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'AttachEvent', 217, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function CloseEvent_0(){
+}
+
+function fire_0(source){
+ var event_0;
+ if (TYPE_1) {
+ event_0 = new CloseEvent_0;
+ source.fireEvent(event_0);
+ }
+}
+
+defineClass(483, 556, {}, CloseEvent_0);
+_.dispatch = function(handler){
+ dynamicCast(handler, 201).onClose(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_1;
+}
+;
+var TYPE_1;
+var Lcom_google_gwt_event_logical_shared_CloseEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'CloseEvent', 483, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ResizeEvent(){
+}
+
+function fire_1(source){
+ var event_0;
+ if (TYPE_2) {
+ event_0 = new ResizeEvent;
+ $fireEvent(source, event_0);
+ }
+}
+
+defineClass(504, 556, {}, ResizeEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 590);
+ $onResize();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_2;
+}
+;
+var TYPE_2;
+var Lcom_google_gwt_event_logical_shared_ResizeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'ResizeEvent', 504, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ValueChangeEvent(value_0){
+ this.value_0 = value_0;
+}
+
+function fire_2(source, value_0){
+ var event_0;
+ if (TYPE_3) {
+ event_0 = new ValueChangeEvent(value_0);
+ source.fireEvent(event_0);
+ }
+}
+
+defineClass(252, 556, {}, ValueChangeEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 146).onValueChange_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_3;
+}
+;
+var TYPE_3;
+var Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2_classLit = createForClass('com.google.gwt.event.logical.shared', 'ValueChangeEvent', 252, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $addHandler(this$static, type_0, handler){
+ return new LegacyHandlerWrapper($doAdd(this$static.eventBus, type_0, handler));
+}
+
+function $fireEvent(this$static, event_0){
+ var e, oldSource;
+ !event_0.dead || event_0.revive();
+ oldSource = event_0.getSource();
+ $overrideSource(event_0, this$static.source);
+ try {
+ $doFire(this$static.eventBus, event_0);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 93)) {
+ e = $e0;
+ throw new UmbrellaException_0(e.causes);
+ }
+ else
+ throw unwrap($e0);
+ }
+ finally {
+ oldSource == null?(event_0.dead = true , event_0.source = null):(event_0.source = oldSource);
+ }
+}
+
+function $isEventHandled(this$static, e){
+ return $isEventHandled_0(this$static.eventBus, e);
+}
+
+function HandlerManager(source){
+ HandlerManager_0.call(this, source, false);
+}
+
+function HandlerManager_0(source, fireInReverseOrder){
+ this.eventBus = new HandlerManager$Bus(fireInReverseOrder);
+ this.source = source;
+}
+
+defineClass(60, 1, {24:1}, HandlerManager, HandlerManager_0);
+_.fireEvent = function(event_0){
+ $fireEvent(this, event_0);
+}
+;
+var Lcom_google_gwt_event_shared_HandlerManager_2_classLit = createForClass('com.google.gwt.event.shared', 'HandlerManager', 60, Ljava_lang_Object_2_classLit);
+defineClass(569, 1, {});
+var Lcom_google_web_bindery_event_shared_EventBus_2_classLit = createForClass('com.google.web.bindery.event.shared', 'EventBus', 569, Ljava_lang_Object_2_classLit);
+function $defer(this$static, command){
+ !this$static.deferredDeltas && (this$static.deferredDeltas = new ArrayList);
+ $add_6(this$static.deferredDeltas, command);
+}
+
+function $doAdd(this$static, type_0, handler){
+ if (!type_0) {
+ throw new NullPointerException_0('Cannot add a handler with a null type');
+ }
+ if (!handler) {
+ throw new NullPointerException_0('Cannot add a null handler');
+ }
+ this$static.firingDepth > 0?$defer(this$static, new SimpleEventBus$2(this$static, type_0, handler)):$doAddNow(this$static, type_0, null, handler);
+ return new SimpleEventBus$1(this$static, type_0, handler);
+}
+
+function $doAddNow(this$static, type_0, source, handler){
+ var l;
+ l = $ensureHandlerList(this$static, type_0, source);
+ l.add_1(handler);
+}
+
+function $doFire(this$static, event_0){
+ var causes, e, handler, handlers, it;
+ if (!event_0) {
+ throw new NullPointerException_0('Cannot fire null event');
+ }
+ try {
+ ++this$static.firingDepth;
+ handlers = $getDispatchList(this$static, event_0.getAssociatedType());
+ causes = null;
+ it = this$static.isReverseOrder?handlers.listIterator_0(handlers.size_2()):handlers.listIterator();
+ while (this$static.isReverseOrder?it.hasPrevious():it.hasNext()) {
+ handler = this$static.isReverseOrder?it.previous():it.next_0();
+ try {
+ event_0.dispatch(dynamicCast(handler, 22));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 12)) {
+ e = $e0;
+ !causes && (causes = new HashSet);
+ $add_7(causes, e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ if (causes) {
+ throw new UmbrellaException(causes);
+ }
+ }
+ finally {
+ --this$static.firingDepth;
+ this$static.firingDepth == 0 && $handleQueuedAddsAndRemoves(this$static);
+ }
+}
+
+function $doRemoveNow(this$static, type_0, source, handler){
+ var l, removed, sourceMap;
+ l = $getHandlerList(this$static, type_0, source);
+ removed = l.remove_1(handler);
+ removed && l.isEmpty() && (sourceMap = dynamicCast(this$static.map_0.get_1(type_0), 78) , dynamicCast(sourceMap.remove_2(source), 30) , sourceMap.isEmpty() && this$static.map_0.remove_2(type_0) , undefined);
+}
+
+function $ensureHandlerList(this$static, type_0, source){
+ var handlers, sourceMap;
+ sourceMap = dynamicCast(this$static.map_0.get_1(type_0), 78);
+ if (!sourceMap) {
+ sourceMap = new HashMap;
+ this$static.map_0.put(type_0, sourceMap);
+ }
+ handlers = dynamicCast(sourceMap.get_1(source), 30);
+ if (!handlers) {
+ handlers = new ArrayList;
+ sourceMap.put(source, handlers);
+ }
+ return handlers;
+}
+
+function $getDispatchList(this$static, type_0){
+ var directHandlers;
+ directHandlers = $getHandlerList(this$static, type_0, null);
+ return directHandlers;
+}
+
+function $getHandlerList(this$static, type_0, source){
+ var handlers, sourceMap;
+ sourceMap = dynamicCast(this$static.map_0.get_1(type_0), 78);
+ if (!sourceMap) {
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_LIST;
+ }
+ handlers = dynamicCast(sourceMap.get_1(source), 30);
+ if (!handlers) {
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_LIST;
+ }
+ return handlers;
+}
+
+function $handleQueuedAddsAndRemoves(this$static){
+ var c, c$iterator;
+ if (this$static.deferredDeltas) {
+ try {
+ for (c$iterator = new AbstractList$IteratorImpl(this$static.deferredDeltas); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , dynamicCast(c$iterator.this$01_0.get_0(c$iterator.last = c$iterator.i++), 537));
+ c.execute_1();
+ }
+ }
+ finally {
+ this$static.deferredDeltas = null;
+ }
+ }
+}
+
+function $isEventHandled_0(this$static, eventKey){
+ return this$static.map_0.containsKey(eventKey);
+}
+
+defineClass(333, 569, {});
+_.firingDepth = 0;
+_.isReverseOrder = false;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus', 333, Lcom_google_web_bindery_event_shared_EventBus_2_classLit);
+function $doRemove(this$static, type_0, source, handler){
+ this$static.firingDepth > 0?$defer(this$static, new SimpleEventBus$3(this$static, type_0, source, handler)):$doRemoveNow(this$static, type_0, source, handler);
+}
+
+function HandlerManager$Bus(fireInReverseOrder){
+ this.map_0 = new HashMap;
+ this.isReverseOrder = fireInReverseOrder;
+}
+
+defineClass(334, 333, {}, HandlerManager$Bus);
+var Lcom_google_gwt_event_shared_HandlerManager$Bus_2_classLit = createForClass('com.google.gwt.event.shared', 'HandlerManager/Bus', 334, Lcom_google_web_bindery_event_shared_SimpleEventBus_2_classLit);
+function LegacyHandlerWrapper(real){
+ this.real = real;
+}
+
+defineClass(448, 1, {}, LegacyHandlerWrapper);
+var Lcom_google_gwt_event_shared_LegacyHandlerWrapper_2_classLit = createForClass('com.google.gwt.event.shared', 'LegacyHandlerWrapper', 448, Ljava_lang_Object_2_classLit);
+function UmbrellaException(causes){
+ RuntimeException_1.call(this, makeMessage(causes), makeCause(causes));
+ this.causes = causes;
+}
+
+function makeCause(causes){
+ var iterator;
+ iterator = causes.iterator_0();
+ if (!iterator.hasNext()) {
+ return null;
+ }
+ return dynamicCast(iterator.next_0(), 12);
+}
+
+function makeMessage(causes){
+ var b, count, first, t, t$iterator;
+ count = causes.size_2();
+ if (count == 0) {
+ return null;
+ }
+ b = new StringBuilder_1(count == 1?'Exception caught: ':count + ' exceptions caught: ');
+ first = true;
+ for (t$iterator = causes.iterator_0(); t$iterator.hasNext();) {
+ t = dynamicCast(t$iterator.next_0(), 12);
+ first?(first = false):(b.string += '; ' , b);
+ $append_0(b, t.getMessage());
+ }
+ return b.string;
+}
+
+defineClass(93, 11, {93:1, 3:1, 13:1, 11:1, 12:1}, UmbrellaException);
+var Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit = createForClass('com.google.web.bindery.event.shared', 'UmbrellaException', 93, Ljava_lang_RuntimeException_2_classLit);
+function UmbrellaException_0(causes){
+ UmbrellaException.call(this, causes);
+}
+
+defineClass(94, 93, $intern_13, UmbrellaException_0);
+var Lcom_google_gwt_event_shared_UmbrellaException_2_classLit = createForClass('com.google.gwt.event.shared', 'UmbrellaException', 94, Lcom_google_web_bindery_event_shared_UmbrellaException_2_classLit);
+function $cancel_1(this$static){
+ var xhr;
+ if (!this$static.xmlHttpRequest) {
+ return;
+ }
+ $cancel_0(this$static.timer);
+ xhr = this$static.xmlHttpRequest;
+ this$static.xmlHttpRequest = null;
+ $clearOnReadyStateChange(xhr);
+ xhr.abort();
+}
+
+function $fireOnTimeout(this$static){
+ if (!this$static.xmlHttpRequest) {
+ return;
+ }
+ $cancel_1(this$static);
+ $onError(this$static.callback, this$static, new RequestTimeoutException(this$static.timeoutMillis));
+}
+
+function Request(xmlHttpRequest, timeoutMillis, callback){
+ this.timer = new Request$1(this);
+ if (!xmlHttpRequest) {
+ throw new NullPointerException;
+ }
+ if (!callback) {
+ throw new NullPointerException;
+ }
+ if (timeoutMillis < 0) {
+ throw new IllegalArgumentException;
+ }
+ this.callback = callback;
+ this.timeoutMillis = timeoutMillis;
+ this.xmlHttpRequest = xmlHttpRequest;
+ timeoutMillis > 0 && $schedule(this.timer, timeoutMillis);
+}
+
+defineClass(137, 1, {137:1}, Request);
+_.fireOnResponseReceived = function(callback){
+ var response, xhr;
+ if (!this.xmlHttpRequest) {
+ return;
+ }
+ $cancel_0(this.timer);
+ xhr = this.xmlHttpRequest;
+ this.xmlHttpRequest = null;
+ response = new ResponseImpl(xhr);
+ $onResponseReceived(callback, this, response);
+}
+;
+_.timeoutMillis = 0;
+var Lcom_google_gwt_http_client_Request_2_classLit = createForClass('com.google.gwt.http.client', 'Request', 137, Ljava_lang_Object_2_classLit);
+function Request$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(515, 48, {}, Request$1);
+_.run = function(){
+ $fireOnTimeout(this.this$01);
+}
+;
+var Lcom_google_gwt_http_client_Request$1_2_classLit = createForClass('com.google.gwt.http.client', 'Request/1', 515, Lcom_google_gwt_user_client_Timer_2_classLit);
+function RequestException(message){
+ Exception.call(this, message);
+}
+
+defineClass(117, 13, $intern_2, RequestException);
+var Lcom_google_gwt_http_client_RequestException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestException', 117, Ljava_lang_Exception_2_classLit);
+function RequestPermissionException(url_0){
+ RequestException.call(this, 'The URL ' + url_0 + ' is invalid or violates the same-origin security restriction');
+}
+
+defineClass(524, 117, $intern_2, RequestPermissionException);
+var Lcom_google_gwt_http_client_RequestPermissionException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestPermissionException', 524, Lcom_google_gwt_http_client_RequestException_2_classLit);
+function RequestTimeoutException(timeoutMillis){
+ RequestException.call(this, 'A request timeout has expired after ' + timeoutMillis + ' ms');
+}
+
+defineClass(529, 117, $intern_2, RequestTimeoutException);
+var Lcom_google_gwt_http_client_RequestTimeoutException_2_classLit = createForClass('com.google.gwt.http.client', 'RequestTimeoutException', 529, Lcom_google_gwt_http_client_RequestException_2_classLit);
+defineClass(145, 1, {145:1});
+var Lcom_google_gwt_http_client_Response_2_classLit = createForClass('com.google.gwt.http.client', 'Response', 145, Ljava_lang_Object_2_classLit);
+function ResponseImpl(xmlHttpRequest){
+ this.xmlHttpRequest = xmlHttpRequest;
+}
+
+defineClass(516, 145, {145:1}, ResponseImpl);
+var Lcom_google_gwt_http_client_ResponseImpl_2_classLit = createForClass('com.google.gwt.http.client', 'ResponseImpl', 516, Lcom_google_gwt_http_client_Response_2_classLit);
+function throwIfNull(value_0){
+ if (null == value_0) {
+ throw new NullPointerException_0('encodedURLComponent cannot be null');
+ }
+}
+
+function getDirectionOnElement(elem){
+ var dirPropertyValue;
+ dirPropertyValue = $getPropertyString(elem, 'dir');
+ if ($equalsIgnoreCase('rtl', dirPropertyValue)) {
+ return $clinit_HasDirection$Direction() , RTL;
+ }
+ else if ($equalsIgnoreCase('ltr', dirPropertyValue)) {
+ return $clinit_HasDirection$Direction() , LTR;
+ }
+ return $clinit_HasDirection$Direction() , DEFAULT;
+}
+
+function setDirectionOnElement(elem, direction){
+ switch (direction.ordinal) {
+ case 0:
+ {
+ $setPropertyString(elem, 'dir', 'rtl');
+ break;
+ }
+
+ case 1:
+ {
+ $setPropertyString(elem, 'dir', 'ltr');
+ break;
+ }
+
+ case 2:
+ {
+ getDirectionOnElement(elem) != ($clinit_HasDirection$Direction() , DEFAULT) && $setPropertyString(elem, 'dir', '');
+ break;
+ }
+
+ }
+}
+
+function $clinit_HasDirection$Direction(){
+ $clinit_HasDirection$Direction = emptyMethod;
+ RTL = new HasDirection$Direction('RTL', 0);
+ LTR = new HasDirection$Direction('LTR', 1);
+ DEFAULT = new HasDirection$Direction('DEFAULT', 2);
+}
+
+function HasDirection$Direction(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_8(){
+ $clinit_HasDirection$Direction();
+ return initValues(getClassLiteralForArray(Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit, 1), $intern_4, 108, 0, [RTL, LTR, DEFAULT]);
+}
+
+defineClass(108, 5, {108:1, 3:1, 6:1, 5:1}, HasDirection$Direction);
+var DEFAULT, LTR, RTL;
+var Lcom_google_gwt_i18n_client_HasDirection$Direction_2_classLit = createForEnum('com.google.gwt.i18n.client', 'HasDirection/Direction', 108, Ljava_lang_Enum_2_classLit, values_8);
+function $clinit_LocaleInfo(){
+ $clinit_LocaleInfo = emptyMethod;
+ instance_1 = new LocaleInfo;
+}
+
+function $getNumberConstants(this$static){
+ !this$static.numberConstants && (this$static.numberConstants = new NumberConstantsImpl_);
+ return this$static.numberConstants;
+}
+
+function LocaleInfo(){
+}
+
+defineClass(338, 1, {}, LocaleInfo);
+var instance_1;
+var Lcom_google_gwt_i18n_client_LocaleInfo_2_classLit = createForClass('com.google.gwt.i18n.client', 'LocaleInfo', 338, Ljava_lang_Object_2_classLit);
+function $clinit_NumberFormat(){
+ $clinit_NumberFormat = emptyMethod;
+ $getNumberConstants(($clinit_LocaleInfo() , $clinit_LocaleInfo() , instance_1));
+}
+
+function $addExponent(this$static, digits){
+ var exponentDigits, i_0;
+ digits.string += 'E';
+ if (this$static.exponent < 0) {
+ this$static.exponent = -this$static.exponent;
+ digits.string += '-';
+ }
+ exponentDigits = '' + this$static.exponent;
+ for (i_0 = exponentDigits.length; i_0 < this$static.minExponentDigits; ++i_0) {
+ digits.string += '0';
+ }
+ digits.string += exponentDigits;
+}
+
+function $addZeroAndDecimal(this$static, digits){
+ if (this$static.digitsLength == 0) {
+ digits.string = digits.string.substr(0, 0) + '0' + $substring(digits.string, 0);
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ if (this$static.decimalPosition < this$static.digitsLength || this$static.decimalSeparatorAlwaysShown) {
+ $insert_0(digits, this$static.decimalPosition, '.');
+ ++this$static.digitsLength;
+ }
+}
+
+function $adjustFractionDigits(this$static, digits){
+ var requiredDigits, toRemove;
+ requiredDigits = this$static.decimalPosition + this$static.minimumFractionDigits;
+ if (this$static.digitsLength < requiredDigits) {
+ while (this$static.digitsLength < requiredDigits) {
+ digits.string += '0';
+ ++this$static.digitsLength;
+ }
+ }
+ else {
+ toRemove = this$static.decimalPosition + this$static.maximumFractionDigits;
+ toRemove > this$static.digitsLength && (toRemove = this$static.digitsLength);
+ while (toRemove > requiredDigits && $charAt_0(digits.string, toRemove - 1) == 48) {
+ --toRemove;
+ }
+ if (toRemove < this$static.digitsLength) {
+ $delete_0(digits, toRemove, this$static.digitsLength);
+ this$static.digitsLength = toRemove;
+ }
+ }
+}
+
+function $computeExponent(this$static, digits){
+ var remainder, strip;
+ strip = 0;
+ while (strip < this$static.digitsLength - 1 && $charAt_0(digits.string, strip) == 48) {
+ ++strip;
+ }
+ if (strip > 0) {
+ digits.string = digits.string.substr(0, 0) + '' + $substring(digits.string, strip);
+ this$static.digitsLength -= strip;
+ this$static.exponent -= strip;
+ }
+ if (this$static.maximumIntegerDigits > this$static.minimumIntegerDigits && this$static.maximumIntegerDigits > 0) {
+ this$static.exponent += this$static.decimalPosition - 1;
+ remainder = this$static.exponent % this$static.maximumIntegerDigits;
+ remainder < 0 && (remainder += this$static.maximumIntegerDigits);
+ this$static.decimalPosition = remainder + 1;
+ this$static.exponent -= remainder;
+ }
+ else {
+ this$static.exponent += this$static.decimalPosition - this$static.minimumIntegerDigits;
+ this$static.decimalPosition = this$static.minimumIntegerDigits;
+ }
+ if (this$static.digitsLength == 1 && digits.string.charCodeAt(0) == 48) {
+ this$static.exponent = 0;
+ this$static.decimalPosition = this$static.minimumIntegerDigits;
+ }
+}
+
+function $format(this$static, number){
+ var buf, isNegative, preRound, scale, useExponent, currentGroupingSize;
+ if (isNaN(number)) {
+ return 'NaN';
+ }
+ isNegative = number < 0 || number == 0 && 1 / number < 0;
+ isNegative && (number = -number);
+ buf = new StringBuilder;
+ if (isInfinite(number)) {
+ $append_0(buf, isNegative?this$static.negativePrefix:this$static.positivePrefix);
+ buf.string += '\u221E';
+ $append_0(buf, isNegative?this$static.negativeSuffix:this$static.positiveSuffix);
+ return buf.string;
+ }
+ number *= this$static.multiplier;
+ scale = toScaledString(buf, number);
+ preRound = buf.string.length + scale + this$static.maximumFractionDigits + 3;
+ if (preRound > 0 && preRound < buf.string.length && $charAt_0(buf.string, preRound) == 57) {
+ $propagateCarry(this$static, buf, preRound - 1);
+ scale += buf.string.length - preRound;
+ $delete_0(buf, preRound, buf.string.length);
+ }
+ this$static.exponent = 0;
+ this$static.digitsLength = buf.string.length;
+ this$static.decimalPosition = this$static.digitsLength + scale;
+ useExponent = this$static.useExponentialNotation;
+ currentGroupingSize = this$static.groupingSize;
+ this$static.decimalPosition > 1024 && (useExponent = true);
+ useExponent && $computeExponent(this$static, buf);
+ $processLeadingZeros(this$static, buf);
+ $roundValue(this$static, buf);
+ $insertGroupingSeparators(this$static, buf, currentGroupingSize);
+ $adjustFractionDigits(this$static, buf);
+ $addZeroAndDecimal(this$static, buf);
+ useExponent && $addExponent(this$static, buf);
+ $insert_0(buf, 0, isNegative?this$static.negativePrefix:this$static.positivePrefix);
+ $append_0(buf, isNegative?this$static.negativeSuffix:this$static.positiveSuffix);
+ return buf.string;
+}
+
+function $insertGroupingSeparators(this$static, digits, g){
+ var i_0;
+ if (g > 0) {
+ for (i_0 = g; i_0 < this$static.decimalPosition; i_0 += g + 1) {
+ $insert_0(digits, this$static.decimalPosition - i_0, ',');
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ }
+}
+
+function $parseAffix(this$static, pattern, start_0, affix, inNegativePattern){
+ var ch_0, inQuote, len, pos;
+ $delete_0(affix, 0, affix.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.string += "'";
+ }
+ else {
+ inQuote = !inQuote;
+ }
+ continue;
+ }
+ if (inQuote) {
+ affix.string += charToString(ch_0);
+ }
+ else {
+ switch (ch_0) {
+ case 35:
+ case 48:
+ case 44:
+ case 46:
+ case 59:
+ return pos - start_0;
+ case 164:
+ this$static.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;
+ $append_0(affix, $getSimpleCurrencySymbol(this$static.currencyData));
+ }
+ else {
+ $append_0(affix, this$static.currencyData[0]);
+ }
+ }
+ else {
+ $append_0(affix, this$static.currencyData[1]);
+ }
+
+ break;
+ case 37:
+ if (!inNegativePattern) {
+ if (this$static.multiplier != 1) {
+ throw new IllegalArgumentException_0('Too many percent/per mille characters in pattern "' + pattern + '"');
+ }
+ this$static.multiplier = 100;
+ }
+
+ affix.string += '%';
+ break;
+ case 8240:
+ if (!inNegativePattern) {
+ if (this$static.multiplier != 1) {
+ throw new IllegalArgumentException_0('Too many percent/per mille characters in pattern "' + pattern + '"');
+ }
+ this$static.multiplier = 1000;
+ }
+
+ affix.string += '\u2030';
+ break;
+ case 45:
+ affix.string += '-';
+ break;
+ default:affix.string += charToString(ch_0);
+ }
+ }
+ }
+ return len - start_0;
+}
+
+function $parsePattern(this$static, pattern){
+ var affix, pos;
+ pos = 0;
+ affix = new StringBuilder;
+ pos += $parseAffix(this$static, pattern, 0, affix, false);
+ this$static.positivePrefix = affix.string;
+ pos += $parseTrunk(this$static, pattern, pos, false);
+ pos += $parseAffix(this$static, pattern, pos, affix, false);
+ this$static.positiveSuffix = affix.string;
+ if (pos < pattern.length && pattern.charCodeAt(pos) == 59) {
+ ++pos;
+ pos += $parseAffix(this$static, pattern, pos, affix, true);
+ this$static.negativePrefix = affix.string;
+ pos += $parseTrunk(this$static, pattern, pos, true);
+ pos += $parseAffix(this$static, pattern, pos, affix, true);
+ this$static.negativeSuffix = affix.string;
+ }
+ else {
+ this$static.negativePrefix = '-' + this$static.positivePrefix;
+ this$static.negativeSuffix = this$static.positiveSuffix;
+ }
+}
+
+function $parseTrunk(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 IllegalArgumentException_0("Unexpected '0' in pattern \"" + pattern + '"');
+ }
+
+ ++zeroDigitCount;
+ groupingCount >= 0 && decimalPos < 0 && ++groupingCount;
+ break;
+ case 44:
+ groupingCount = 0;
+ break;
+ case 46:
+ if (decimalPos >= 0) {
+ throw new IllegalArgumentException_0('Multiple decimal separators in pattern "' + pattern + '"');
+ }
+
+ decimalPos = digitLeftCount + zeroDigitCount + digitRightCount;
+ break;
+ case 69:
+ if (!ignorePattern) {
+ if (this$static.useExponentialNotation) {
+ throw new IllegalArgumentException_0('Multiple exponential symbols in pattern "' + pattern + '"');
+ }
+ this$static.useExponentialNotation = true;
+ this$static.minExponentDigits = 0;
+ }
+
+ while (pos + 1 < len && pattern.charCodeAt(pos + 1) == 48) {
+ ++pos;
+ ignorePattern || ++this$static.minExponentDigits;
+ }
+
+ if (!ignorePattern && digitLeftCount + zeroDigitCount < 1 || this$static.minExponentDigits < 1) {
+ throw new IllegalArgumentException_0('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 IllegalArgumentException_0('Malformed pattern "' + pattern + '"');
+ }
+ if (ignorePattern) {
+ return pos - start_0;
+ }
+ totalDigits = digitLeftCount + zeroDigitCount + digitRightCount;
+ this$static.maximumFractionDigits = decimalPos >= 0?totalDigits - decimalPos:0;
+ if (decimalPos >= 0) {
+ this$static.minimumFractionDigits = digitLeftCount + zeroDigitCount - decimalPos;
+ this$static.minimumFractionDigits < 0 && (this$static.minimumFractionDigits = 0);
+ }
+ effectiveDecimalPos = decimalPos >= 0?decimalPos:totalDigits;
+ this$static.minimumIntegerDigits = effectiveDecimalPos - digitLeftCount;
+ if (this$static.useExponentialNotation) {
+ this$static.maximumIntegerDigits = digitLeftCount + this$static.minimumIntegerDigits;
+ this$static.maximumFractionDigits == 0 && this$static.minimumIntegerDigits == 0 && (this$static.minimumIntegerDigits = 1);
+ }
+ this$static.groupingSize = groupingCount > 0?groupingCount:0;
+ this$static.decimalSeparatorAlwaysShown = decimalPos == 0 || decimalPos == totalDigits;
+ return pos - start_0;
+}
+
+function $processLeadingZeros(this$static, digits){
+ var i_0, prefix, strip;
+ if (this$static.decimalPosition > this$static.digitsLength) {
+ while (this$static.digitsLength < this$static.decimalPosition) {
+ digits.string += '0';
+ ++this$static.digitsLength;
+ }
+ }
+ if (!this$static.useExponentialNotation) {
+ if (this$static.decimalPosition < this$static.minimumIntegerDigits) {
+ prefix = new StringBuilder;
+ while (this$static.decimalPosition < this$static.minimumIntegerDigits) {
+ prefix.string += '0';
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+ $insert_0(digits, 0, prefix.toString$());
+ }
+ else if (this$static.decimalPosition > this$static.minimumIntegerDigits) {
+ strip = this$static.decimalPosition - this$static.minimumIntegerDigits;
+ for (i_0 = 0; i_0 < strip; ++i_0) {
+ if ($charAt_0(digits.string, i_0) != 48) {
+ strip = i_0;
+ break;
+ }
+ }
+ if (strip > 0) {
+ digits.string = digits.string.substr(0, 0) + '' + $substring(digits.string, strip);
+ this$static.digitsLength -= strip;
+ this$static.decimalPosition -= strip;
+ }
+ }
+ }
+}
+
+function $propagateCarry(this$static, digits, i_0){
+ var carry, digit;
+ carry = true;
+ while (carry && i_0 >= 0) {
+ digit = $charAt_0(digits.string, i_0);
+ if (digit == 57) {
+ $setCharAt(digits, i_0--, 48);
+ }
+ else {
+ $setCharAt(digits, i_0, digit + 1 & 65535);
+ carry = false;
+ }
+ }
+ if (carry) {
+ digits.string = digits.string.substr(0, 0) + '1' + $substring(digits.string, 0);
+ ++this$static.decimalPosition;
+ ++this$static.digitsLength;
+ }
+}
+
+function $roundValue(this$static, digits){
+ var i_0;
+ if (this$static.digitsLength > this$static.decimalPosition + this$static.maximumFractionDigits && $charAt(digits, this$static.decimalPosition + this$static.maximumFractionDigits) >= 53) {
+ i_0 = this$static.decimalPosition + this$static.maximumFractionDigits - 1;
+ $propagateCarry(this$static, digits, i_0);
+ }
+}
+
+function NumberFormat(cdata, userSuppliedPattern){
+ if (!cdata) {
+ throw new IllegalArgumentException_0('Unknown currency code');
+ }
+ this.pattern = '\xA4#,##0.00';
+ this.currencyData = cdata;
+ $parsePattern(this, this.pattern);
+ if (!userSuppliedPattern && this.isCurrencyFormat) {
+ this.minimumFractionDigits = this.currencyData[2] & 7;
+ this.maximumFractionDigits = this.minimumFractionDigits;
+ }
+}
+
+function NumberFormat_0(cdata){
+ $clinit_NumberFormat();
+ NumberFormat.call(this, cdata, false);
+}
+
+function toScaledString(buf, val){
+ var dot, expDigits, expIdx, scale, startLen;
+ startLen = buf.string.length;
+ $append_0(buf, val.toPrecision(20));
+ scale = 0;
+ expIdx = $indexOf_1(buf.string, 'e', startLen);
+ expIdx < 0 && (expIdx = $indexOf_1(buf.string, 'E', startLen));
+ if (expIdx >= 0) {
+ expDigits = expIdx + 1;
+ expDigits < buf.string.length && $charAt_0(buf.string, expDigits) == 43 && ++expDigits;
+ expDigits < buf.string.length && (scale = __parseAndValidateInt($substring(buf.string, expDigits)));
+ $delete_0(buf, expIdx, buf.string.length);
+ }
+ dot = $indexOf_1(buf.string, '.', startLen);
+ if (dot >= 0) {
+ buf.string = __substr(buf.string, 0, dot) + '' + $substring(buf.string, dot + 1);
+ scale -= buf.string.length - dot;
+ }
+ return scale;
+}
+
+defineClass(161, 1, {}, NumberFormat_0);
+_.decimalPosition = 0;
+_.decimalSeparatorAlwaysShown = false;
+_.digitsLength = 0;
+_.exponent = 0;
+_.groupingSize = 3;
+_.isCurrencyFormat = false;
+_.maximumFractionDigits = 3;
+_.maximumIntegerDigits = 40;
+_.minExponentDigits = 0;
+_.minimumFractionDigits = 0;
+_.minimumIntegerDigits = 1;
+_.multiplier = 1;
+_.negativePrefix = '-';
+_.negativeSuffix = '';
+_.positivePrefix = '';
+_.positiveSuffix = '';
+_.useExponentialNotation = false;
+var cachedCurrencyFormat;
+var Lcom_google_gwt_i18n_client_NumberFormat_2_classLit = createForClass('com.google.gwt.i18n.client', 'NumberFormat', 161, Ljava_lang_Object_2_classLit);
+function NumberConstantsImpl_(){
+}
+
+defineClass(467, 1, {}, NumberConstantsImpl_);
+var Lcom_google_gwt_i18n_client_constants_NumberConstantsImpl_1_2_classLit = createForClass('com.google.gwt.i18n.client.constants', 'NumberConstantsImpl_', 467, Ljava_lang_Object_2_classLit);
+function $getSimpleCurrencySymbol(this$static){
+ return this$static[4] || this$static[1];
+}
+
+function $clinit_JsonpRequest(){
+ $clinit_JsonpRequest = emptyMethod;
+ CALLBACKS = getOrCreateCallbacksObject();
+}
+
+function $onFailure(this$static, ex){
+ $cancel_0(this$static.timer);
+ try {
+ !!this$static.callback && this$static.callback.onFailure_2(ex);
+ }
+ finally {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new JsonpRequest$2(this$static));
+ }
+}
+
+function $registerCallbacks(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 Boolean_0(data_0)):typeof data_0 == 'number' && (self_0.expectInteger?(data_0 = new Integer(data_0)):(data_0 = new Double(data_0)));
+ self_0.onSuccess_1(data_0);
+ }
+ );
+ this$static.failureCallbackParam && (callback.onFailure = $entry(function(message){
+ self_0.onFailure_1(message);
+ }
+ ));
+ if (canHaveMultipleRequestsForId) {
+ var callbackWrapper = callbacks[this$static.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.callbackId] = callbackWrapper;
+ }
+ callbackWrapper.callbackList.push(callback);
+ }
+ else {
+ callbacks[this$static.callbackId] = callback;
+ }
+}
+
+function $unregisterCallbacks(this$static, callbacks){
+ delete callbacks[this$static.callbackId];
+}
+
+function JsonpRequest(callback, timeout, expectInteger, callbackParam){
+ var name_0, ctr;
+ $clinit_JsonpRequest();
+ this.callbackId = 'P' + (name_0 = '__gwt_jsonp__' , ctr = '__gwt_jsonp_counter__' , $wnd[name_0][ctr]++);
+ this.callback = callback;
+ this.timeout = timeout;
+ this.expectInteger = expectInteger;
+ this.callbackParam = callbackParam;
+ this.failureCallbackParam = null;
+ this.canHaveMultipleRequestsForSameId = false;
+}
+
+function getOrCreateCallbacksObject(){
+ 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];
+}
+
+defineClass(526, 1, {}, JsonpRequest);
+_.onFailure_1 = function(message){
+ $onFailure(this, new Exception(message));
+}
+;
+_.onSuccess_1 = function(data_0){
+ $cancel_0(this.timer);
+ try {
+ !!this.callback && this.callback.onSuccess_0(data_0);
+ }
+ finally {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new JsonpRequest$2(this));
+ }
+}
+;
+_.toString$ = function(){
+ return 'JsonpRequest(id=' + this.callbackId + ')';
+}
+;
+_.canHaveMultipleRequestsForSameId = false;
+_.expectInteger = false;
+_.timeout = 0;
+var CALLBACKS;
+var Lcom_google_gwt_jsonp_client_JsonpRequest_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest', 526, Ljava_lang_Object_2_classLit);
+function JsonpRequest$1(this$0, val$baseUri){
+ this.this$01 = this$0;
+ this.val$baseUri2 = val$baseUri;
+ Timer.call(this);
+}
+
+defineClass(527, 48, {}, JsonpRequest$1);
+_.run = function(){
+ $onFailure(this.this$01, new TimeoutException('Timeout while calling ' + this.val$baseUri2));
+}
+;
+var Lcom_google_gwt_jsonp_client_JsonpRequest$1_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest/1', 527, Lcom_google_gwt_user_client_Timer_2_classLit);
+function JsonpRequest$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(195, 1, {}, JsonpRequest$2);
+_.execute_1 = function(){
+ var script;
+ this.this$01.canHaveMultipleRequestsForSameId || $unregisterCallbacks(this.this$01, ($clinit_JsonpRequest() , CALLBACKS));
+ script = $getElementById($doc, this.this$01.callbackId);
+ !!script && $removeChild(($clinit_JsonpRequest() , $doc.getElementsByTagName('head')[0]), script);
+}
+;
+var Lcom_google_gwt_jsonp_client_JsonpRequest$2_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequest/2', 195, Ljava_lang_Object_2_classLit);
+function JsonpRequestBuilder(){
+}
+
+defineClass(525, 1, {}, JsonpRequestBuilder);
+_.send = function(url_0, callback, expectInteger){
+ var request, uri_0, prefix, script;
+ request = new JsonpRequest(callback, this.timeout, expectInteger, this.callbackParam);
+ $registerCallbacks(request, CALLBACKS, request.canHaveMultipleRequestsForSameId);
+ uri_0 = new StringBuilder_1(url_0);
+ $append_0(uri_0, url_0.indexOf('?') != -1?'&':'?');
+ prefix = '__gwt_jsonp__.' + request.callbackId;
+ $append_0($append_0($append_0($append_0(uri_0, request.callbackParam), '='), prefix), '.onSuccess');
+ script = $createScriptElement($doc);
+ script.type = 'text/javascript';
+ $setId(script, request.callbackId);
+ $setSrc(script, uri_0.string);
+ request.timer = new JsonpRequest$1(request, url_0);
+ $schedule(request.timer, request.timeout);
+ $appendChild($doc.getElementsByTagName('head')[0], script);
+ return request;
+}
+;
+_.callbackParam = 'callback';
+_.timeout = 10000;
+var Lcom_google_gwt_jsonp_client_JsonpRequestBuilder_2_classLit = createForClass('com.google.gwt.jsonp.client', 'JsonpRequestBuilder', 525, Ljava_lang_Object_2_classLit);
+function TimeoutException(s){
+ Exception.call(this, s);
+}
+
+defineClass(528, 13, $intern_2, TimeoutException);
+var Lcom_google_gwt_jsonp_client_TimeoutException_2_classLit = createForClass('com.google.gwt.jsonp.client', 'TimeoutException', 528, Ljava_lang_Exception_2_classLit);
+function canSet(array, value_0){
+ switch (array.__elementTypeCategory$) {
+ case 4:
+ return isJavaString(value_0);
+ case 0:
+ return canCast(value_0, array.__elementTypeId$);
+ case 2:
+ return !isJavaString(value_0) && !hasTypeMarker(value_0);
+ case 1:
+ return !isJavaString(value_0) && !hasTypeMarker(value_0) || canCast(value_0, array.__elementTypeId$);
+ default:return true;
+ }
+}
+
+function clone(array){
+ return cloneSubrange(array, array.length);
+}
+
+function cloneSubrange(array, toIndex){
+ var result;
+ result = array.slice(0, toIndex);
+ initValues(getClass__Ljava_lang_Class___devirtual$(array), array.castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result);
+ return result;
+}
+
+function createFrom(array, length_0){
+ var result;
+ result = initializeArrayElementsWithDefaults(0, length_0);
+ initValues(getClass__Ljava_lang_Class___devirtual$(array), array.castableTypeMap$, array.__elementTypeId$, array.__elementTypeCategory$, result);
+ return result;
+}
+
+function getClassLiteralForArray(clazz, dimensions){
+ return getClassLiteralForArray_0(clazz, dimensions);
+}
+
+function initDim(leafClassLiteral, castableTypeMap, elementTypeId, length_0, elementTypeCategory, dimensions){
+ var result;
+ result = initializeArrayElementsWithDefaults(elementTypeCategory, length_0);
+ initValues(getClassLiteralForArray(leafClassLiteral, dimensions), castableTypeMap, elementTypeId, elementTypeCategory, result);
+ return result;
+}
+
+function initValues(arrayClass, castableTypeMap, elementTypeId, elementTypeCategory, array){
+ array.___clazz$ = arrayClass;
+ array.castableTypeMap$ = castableTypeMap;
+ array.typeMarker$ = typeMarkerFn;
+ array.__elementTypeId$ = elementTypeId;
+ array.__elementTypeCategory$ = elementTypeCategory;
+ return array;
+}
+
+function initializeArrayElementsWithDefaults(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 = 0; i_0 < length_0; ++i_0) {
+ array[i_0] = initValue;
+ }
+ return array;
+}
+
+function nativeArraySplice(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 setCheck(array, index_0, value_0){
+ checkArrayType(value_0 == null || canSet(array, value_0));
+ return array[index_0] = value_0;
+}
+
+function cacheJavaScriptException(e, jse){
+ if (e && typeof e == 'object') {
+ try {
+ e.__gwt$exception = jse;
+ }
+ catch (ignored) {
+ }
+ }
+}
+
+function unwrap(e){
+ var jse;
+ if (instanceOf(e, 57)) {
+ jse = dynamicCast(e, 57);
+ if (maskUndefined(jse.e) !== maskUndefined(($clinit_JavaScriptException() , NOT_SET))) {
+ return maskUndefined(jse.e) === maskUndefined(NOT_SET)?null:jse.e;
+ }
+ }
+ return e;
+}
+
+function wrap(e){
+ var jse;
+ if (instanceOf(e, 12)) {
+ return e;
+ }
+ jse = e && e.__gwt$exception;
+ if (!jse) {
+ jse = new JavaScriptException(e);
+ captureStackTrace();
+ cacheJavaScriptException(e, jse);
+ }
+ return jse;
+}
+
+function create_0(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 create0(a0, a1, a2);
+}
+
+function create_1(a){
+ return create0(a.l, a.m, a.h);
+}
+
+function create0(l, m, h){
+ return {l:l, m:m, h:h};
+}
+
+function divMod(a, b, computeRemainder){
+ var aIsCopy, aIsMinValue, aIsNegative, bpower, c, negative;
+ if (b.l == 0 && b.m == 0 && b.h == 0) {
+ throw new ArithmeticException;
+ }
+ if (a.l == 0 && a.m == 0 && a.h == 0) {
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return create0(0, 0, 0);
+ }
+ if (b.h == $intern_16 && b.m == 0 && b.l == 0) {
+ return divModByMinValue(a, computeRemainder);
+ }
+ negative = false;
+ if (b.h >> 19 != 0) {
+ b = neg(b);
+ negative = true;
+ }
+ bpower = powerOfTwo(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 = create_1(($clinit_LongLib$Const() , MAX_VALUE));
+ aIsCopy = true;
+ negative = !negative;
+ }
+ else {
+ c = shr(a, bpower);
+ negative && negate(c);
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return c;
+ }
+ }
+ else if (a.h >> 19 != 0) {
+ aIsNegative = true;
+ a = neg(a);
+ aIsCopy = true;
+ negative = !negative;
+ }
+ if (bpower != -1) {
+ return divModByShift(a, bpower, negative, aIsNegative, computeRemainder);
+ }
+ if (!gte_0(a, b)) {
+ computeRemainder && (aIsNegative?(remainder_0 = neg(a)):(remainder_0 = create0(a.l, a.m, a.h)));
+ return create0(0, 0, 0);
+ }
+ return divModHelper(aIsCopy?a:create0(a.l, a.m, a.h), b, negative, aIsNegative, aIsMinValue, computeRemainder);
+}
+
+function divModByMinValue(a, computeRemainder){
+ if (a.h == $intern_16 && a.m == 0 && a.l == 0) {
+ computeRemainder && (remainder_0 = create0(0, 0, 0));
+ return create_1(($clinit_LongLib$Const() , ONE));
+ }
+ computeRemainder && (remainder_0 = create0(a.l, a.m, a.h));
+ return create0(0, 0, 0);
+}
+
+function divModByShift(a, bpower, negative, aIsNegative, computeRemainder){
+ var c;
+ c = shr(a, bpower);
+ negative && negate(c);
+ if (computeRemainder) {
+ a = maskRight(a, bpower);
+ aIsNegative?(remainder_0 = neg(a)):(remainder_0 = create0(a.l, a.m, a.h));
+ }
+ return c;
+}
+
+function divModHelper(a, b, negative, aIsNegative, aIsMinValue, computeRemainder){
+ var bshift, gte, quotient, shift_0, a1, a2, a0;
+ shift_0 = numberOfLeadingZeros(b) - numberOfLeadingZeros(a);
+ bshift = shl(b, shift_0);
+ quotient = create0(0, 0, 0);
+ while (shift_0 >= 0) {
+ gte = trialSubtract(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;
+ }
+ }
+ a1 = bshift.m;
+ a2 = bshift.h;
+ a0 = bshift.l;
+ setH(bshift, a2 >>> 1);
+ bshift.m = a1 >>> 1 | (a2 & 1) << 21;
+ bshift.l = a0 >>> 1 | (a1 & 1) << 21;
+ --shift_0;
+ }
+ negative && negate(quotient);
+ if (computeRemainder) {
+ if (aIsNegative) {
+ remainder_0 = neg(a);
+ aIsMinValue && (remainder_0 = sub_0(remainder_0, ($clinit_LongLib$Const() , ONE)));
+ }
+ else {
+ remainder_0 = create0(a.l, a.m, a.h);
+ }
+ }
+ return quotient;
+}
+
+function maskRight(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 create0(b0, b1, b2);
+}
+
+function negate(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;
+ setL(a, neg0);
+ setM(a, neg1);
+ setH(a, neg2);
+}
+
+function numberOfLeadingZeros(a){
+ var b1, b2;
+ b2 = numberOfLeadingZeros_0(a.h);
+ if (b2 == 32) {
+ b1 = numberOfLeadingZeros_0(a.m);
+ return b1 == 32?numberOfLeadingZeros_0(a.l) + 32:b1 + 20 - 10;
+ }
+ else {
+ return b2 - 12;
+ }
+}
+
+function powerOfTwo(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 numberOfTrailingZeros(l);
+ }
+ if (h == 0 && m != 0 && l == 0) {
+ return numberOfTrailingZeros(m) + 22;
+ }
+ if (h != 0 && m == 0 && l == 0) {
+ return numberOfTrailingZeros(h) + 44;
+ }
+ return -1;
+}
+
+function setH(a, x_0){
+ a.h = x_0;
+}
+
+function setL(a, x_0){
+ a.l = x_0;
+}
+
+function setM(a, x_0){
+ a.m = x_0;
+}
+
+function toDoubleHelper(a){
+ return a.l + a.m * $intern_17 + a.h * $intern_18;
+}
+
+function trialSubtract(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;
+ }
+ setL(a, sum0 & $intern_14);
+ setM(a, sum1 & $intern_14);
+ setH(a, sum2 & $intern_15);
+ return true;
+}
+
+var remainder_0;
+function eq(a, b){
+ return a.l == b.l && a.m == b.m && a.h == b.h;
+}
+
+function fromDouble(value_0){
+ var a0, a1, a2, negative, result;
+ if (isNaN(value_0)) {
+ return $clinit_LongLib$Const() , ZERO;
+ }
+ if (value_0 < $intern_19) {
+ return $clinit_LongLib$Const() , MIN_VALUE;
+ }
+ if (value_0 >= 9223372036854775807) {
+ return $clinit_LongLib$Const() , MAX_VALUE;
+ }
+ negative = false;
+ if (value_0 < 0) {
+ negative = true;
+ value_0 = -value_0;
+ }
+ a2 = 0;
+ if (value_0 >= $intern_18) {
+ a2 = round_int(value_0 / $intern_18);
+ value_0 -= a2 * $intern_18;
+ }
+ a1 = 0;
+ if (value_0 >= $intern_17) {
+ a1 = round_int(value_0 / $intern_17);
+ value_0 -= a1 * $intern_17;
+ }
+ a0 = round_int(value_0);
+ result = create0(a0, a1, a2);
+ negative && negate(result);
+ return result;
+}
+
+function fromInt(value_0){
+ var rebase, result;
+ if (value_0 > -129 && value_0 < 128) {
+ rebase = value_0 + 128;
+ boxedValues == null && (boxedValues = initDim(Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit, $intern_4, 602, 256, 0, 1));
+ result = boxedValues[rebase] = create_0(value_0);
+ return result;
+ }
+ return create_0(value_0);
+}
+
+function gt(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 gte_0(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 lt(a, b){
+ return !gte_0(a, b);
+}
+
+function neg(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 create0(neg0, neg1, neg2);
+}
+
+function shl(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 shr(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 sub_0(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 toDouble(a){
+ if (eq(a, ($clinit_LongLib$Const() , MIN_VALUE))) {
+ return $intern_19;
+ }
+ if (!gte_0(a, ZERO)) {
+ return -toDoubleHelper(neg(a));
+ }
+ return a.l + a.m * $intern_17 + a.h * $intern_18;
+}
+
+function toInt(a){
+ return a.l | a.m << 22;
+}
+
+function toString_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 '-' + toString_2(neg(a));
+ }
+ rem = a;
+ res = '';
+ while (!(rem.l == 0 && rem.m == 0 && rem.h == 0)) {
+ tenPowerLong = fromInt(1000000000);
+ rem = divMod(rem, tenPowerLong, true);
+ digits = '' + toInt(remainder_0);
+ 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 boxedValues;
+function $clinit_LongLib$Const(){
+ $clinit_LongLib$Const = emptyMethod;
+ MAX_VALUE = create0($intern_14, $intern_14, 524287);
+ MIN_VALUE = create0(0, 0, $intern_16);
+ ONE = fromInt(1);
+ fromInt(2);
+ ZERO = fromInt(0);
+}
+
+var MAX_VALUE, MIN_VALUE, ONE, ZERO;
+function hasTypeMarker(o){
+ return o.typeMarker$ === typeMarkerFn;
+}
+
+function init_0(){
+ var progress;
+ $wnd.setTimeout($entry(assertCompileTimeUserAgent));
+ $onModuleLoad();
+ $clinit_LogConfiguration();
+ setUncaughtExceptionHandler(new SuperDevModeUncaughtExceptionHandler);
+ loadVaadinGlobalTheme(new VaadinComponents$1);
+ progress = new WCVProgress;
+ registerElement('v-progress', progress);
+ registerElement('v-progress-bar', progress);
+ registerElement('v-slider', new WCVSlider);
+ registerElement('v-grid', new WCVGrid);
+ runJavascriptFunction(null, 'onVaadinX', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, []));
+}
+
+function $clinit_LogConfiguration(){
+ $clinit_LogConfiguration = emptyMethod;
+ impl_1 = new LogConfiguration$LogConfigurationImplNull;
+}
+
+function loggingIsEnabled(){
+ $clinit_LogConfiguration();
+ if (!impl_1) {
+ return true;
+ }
+ return false;
+}
+
+var impl_1;
+function LogConfiguration$LogConfigurationImplNull(){
+}
+
+defineClass(204, 1, {}, LogConfiguration$LogConfigurationImplNull);
+var Lcom_google_gwt_logging_client_LogConfiguration$LogConfigurationImplNull_2_classLit = createForClass('com.google.gwt.logging.client', 'LogConfiguration/LogConfigurationImplNull', 204, Ljava_lang_Object_2_classLit);
+function Browser(){
+ this.ie6 = this.isIe6();
+ this.ie8 = this.isIe8();
+ this.ie9 = this.isIe9();
+ this.mozilla = this.isMozilla();
+ this.msie = this.isMsie();
+ this.opera = this.isOpera_0();
+ this.isWebkit();
+ this.webkit = this.isWebkit();
+}
+
+defineClass(165, 1, {});
+_.ie6 = false;
+_.ie8 = false;
+_.ie9 = false;
+_.mozilla = false;
+_.msie = false;
+_.opera = false;
+_.webkit = false;
+var Lcom_google_gwt_query_client_Browser_2_classLit = createForClass('com.google.gwt.query.client', 'Browser', 165, Ljava_lang_Object_2_classLit);
+function Browser_gecko1_8(){
+ Browser.call(this);
+}
+
+defineClass(340, 165, {}, Browser_gecko1_8);
+_.isIe6 = function(){
+ return false;
+}
+;
+_.isIe8 = function(){
+ return false;
+}
+;
+_.isIe9 = function(){
+ return false;
+}
+;
+_.isMozilla = function(){
+ return true;
+}
+;
+_.isMsie = function(){
+ return false;
+}
+;
+_.isOpera_0 = function(){
+ return false;
+}
+;
+_.isWebkit = function(){
+ return false;
+}
+;
+_.toString$ = function(){
+ return 'Browser: webkit=' + this.webkit + ' mozilla=' + this.mozilla + ' opera=' + this.opera + ' msie=' + this.msie + ' ie6=' + this.ie6 + ' ie8=' + this.ie8 + ' ie9=' + this.ie9;
+}
+;
+var Lcom_google_gwt_query_client_Browser_1gecko1_18_2_classLit = createForClass('com.google.gwt.query.client', 'Browser_gecko1_8', 340, Lcom_google_gwt_query_client_Browser_2_classLit);
+function Browser_safari(){
+ Browser.call(this);
+}
+
+defineClass(339, 165, {}, Browser_safari);
+_.isIe6 = function(){
+ return false;
+}
+;
+_.isIe8 = function(){
+ return false;
+}
+;
+_.isIe9 = function(){
+ return false;
+}
+;
+_.isMozilla = function(){
+ return false;
+}
+;
+_.isMsie = function(){
+ return false;
+}
+;
+_.isOpera_0 = function(){
+ return false;
+}
+;
+_.isWebkit = function(){
+ return true;
+}
+;
+_.toString$ = function(){
+ return 'Browser: webkit=' + this.webkit + ' mozilla=' + this.mozilla + ' opera=' + this.opera + ' msie=' + this.msie + ' ie6=' + this.ie6 + ' ie8=' + this.ie8 + ' ie9=' + this.ie9;
+}
+;
+var Lcom_google_gwt_query_client_Browser_1safari_2_classLit = createForClass('com.google.gwt.query.client', 'Browser_safari', 339, Lcom_google_gwt_query_client_Browser_2_classLit);
+function $f(this$static, e){
+ this$static.element = e;
+ $f_1(this$static, e);
+}
+
+function $f_0(this$static, e){
+ var w;
+ this$static.element = e;
+ return this$static.element = e , w = getAssociatedWidget(e) , w?($setElement(this$static, ($clinit_DOM() , w.element)) , $f_2(this$static, w) , null):(this$static.element = e , $f_1(this$static, e)) , null;
+}
+
+function $f_1(this$static, e){
+ var w;
+ this$static.element = e;
+ w = e?getAssociatedWidget(e):null;
+ if (w) {
+ this$static.loop = true;
+ $f_2(this$static, w);
+ }
+ else {
+ this$static.f_0();
+ }
+}
+
+function $f_2(this$static, w){
+ $setElement(this$static, ($clinit_DOM() , w.element));
+ if (this$static.loop) {
+ this$static.loop = false;
+ this$static.f_0();
+ }
+ else {
+ $f(this$static, w.element);
+ }
+}
+
+function $fe(this$static){
+ $fe_1(this$static, this$static.arguments_0);
+}
+
+function $fe_0(this$static, elem){
+ var e;
+ if (uncaughtExceptionHandler) {
+ try {
+ this$static.element = elem;
+ $f_1(this$static, elem);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ $logException(uncaughtExceptionHandler, e, false);
+ }
+ else
+ throw unwrap($e0);
+ }
+ return;
+ }
+ this$static.element = elem;
+ $f_1(this$static, elem);
+}
+
+function $fe_1(this$static, args){
+ var e;
+ if (uncaughtExceptionHandler) {
+ try {
+ return this$static.f_1(args);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ $logException(uncaughtExceptionHandler, e, false);
+ }
+ else
+ throw unwrap($e0);
+ }
+ return $clinit_Boolean() , $clinit_Boolean() , TRUE;
+ }
+ return this$static.f_1(args);
+}
+
+function $getArgument(this$static, pos, type_0){
+ var o, objs;
+ objs = $getArgumentArray(this$static);
+ o = objs.length > pos?objs[pos]:null;
+ if (o != null && (!type_0 || getClass__Ljava_lang_Class___devirtual$(o) == type_0 || type_0 == Lcom_google_gwt_core_client_JavaScriptObject_2_classLit && instanceOfJso(o))) {
+ return o;
+ }
+ return null;
+}
+
+function $getArgumentArray(this$static){
+ var o;
+ o = this$static.arguments_0;
+ if (o != null) {
+ return (getClass__Ljava_lang_Class___devirtual$(o).modifiers & 4) != 0?o:initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [o]);
+ }
+ return initDim(Ljava_lang_Object_2_classLit, $intern_4, 1, 0, 3, 1);
+}
+
+function $setArguments(this$static, arguments_0){
+ this$static.arguments_0 = arguments_0;
+ return this$static;
+}
+
+function $setElement(this$static, e){
+ this$static.element = e;
+ return this$static;
+}
+
+function Function_0(){
+ this.arguments_0 = initDim(Ljava_lang_Object_2_classLit, $intern_4, 1, 0, 3, 1);
+}
+
+defineClass(7, 1, $intern_20);
+_.f_0 = function(){
+ throw new RuntimeException_0("You have to override the adequate method to handle this action, or you have to override 'public void f()' to avoid this error");
+}
+;
+_.f_1 = function(args){
+ this.arguments_0 = args;
+ this.f_0();
+ return $clinit_Boolean() , $clinit_Boolean() , TRUE;
+}
+;
+_.fe = function(arg){
+ $fe_1(this, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [arg]));
+}
+;
+_.fe_0 = function(args){
+ return $fe_1(this, args);
+}
+;
+_.setArguments = function(arguments_0){
+ return $setArguments(this, arguments_0);
+}
+;
+_.element = null;
+_.loop = false;
+var Lcom_google_gwt_query_client_Function_2_classLit = createForClass('com.google.gwt.query.client', 'Function', 7, Ljava_lang_Object_2_classLit);
+function create_2(clz, obj){
+ var ret;
+ ret = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , $create(clz));
+ $load(ret, obj);
+ return ret;
+}
+
+function create_3(s){
+ return !jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , parseJSON(s);
+}
+
+var ajaxTransport, jsonFactory;
+function $clinit_GQuery(){
+ $clinit_GQuery = emptyMethod;
+ $doc.body;
+ browser = com_google_gwt_query_client_Browser();
+ console_0 = new ConsoleBrowser;
+ document_0 = $doc;
+ $clinit_Effects();
+ $clinit_Events();
+ new RegExp('^:(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\))?(?=[^\\-]|$)$');
+ tagNameRegex = new RegExp('<([\\w:-]+)');
+ Widgets = ($clinit_Widgets() , Lcom_google_gwt_query_client_plugins_Widgets_2_classLit);
+ window_1 = ($clinit_ScriptInjector() , TOP_WINDOW);
+}
+
+function $$init(this$static){
+ this$static.elements = initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_4, 0, 0, 2, 1);
+ this$static.nodeList = [];
+}
+
+function $(jso){
+ var c, elms, i_0, obj, r;
+ if (!jso) {
+ return new GQuery_3(create_4(null));
+ }
+ if (isFunction(jso)) {
+ $fe(new JsUtils$JsFunction(jso));
+ return new GQuery_3(create_4(null));
+ }
+ if (!hasProperty(jso, 'alert') && !isElement(jso) && isArray(jso)) {
+ c = jso;
+ elms = create_4(null);
+ for (i_0 = 0; i_0 < c.length; i_0++) {
+ obj = $getObject(c, i_0);
+ !!obj && $addNode(elms, obj);
+ }
+ return new GQuery_1(elms);
+ }
+ return hasProperty(jso, 'alert')?new GQuery_0(jso):isElement(jso)?new GQuery_0(jso):hasProperty(jso, 'currentTarget')?!jso?new GQuery_3(create_4(null)):new GQuery_0(($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(jso)):(r = Object.prototype.toString.call(jso) , r == '[object HTMLCollection]' || r == '[object NodeList]' || typeof jso == 'object' && jso.length && jso[0].tagName?true:false)?new GQuery_1(jso):new GQuery_0(jso);
+}
+
+function $_0(o){
+ $clinit_GQuery();
+ if (o) {
+ if (isElement(o)) {
+ return new GQuery_0(dynamicCastJso(o));
+ }
+ if (instanceOf(o, 23)) {
+ return $_2(new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [o])));
+ }
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, ['Error: GQuery.$(Object o) could not wrap the type : ', $getName(o.___clazz$), o])));
+ }
+ return new GQuery_3(create_4(null));
+}
+
+function $_1(selectorOrHtml, ctx){
+ $clinit_GQuery();
+ var selector;
+ selector = null;
+ if (selectorOrHtml == null || (selector = $trim(selectorOrHtml)).length == 0) {
+ return new GQuery_3(create_4(null));
+ }
+ if ($equals_2(selector.substr(0, 1), '<')) {
+ return cleanHtmlString(selectorOrHtml, !ctx || !isElement(ctx)?null:ctx.nodeType == 9?ctx:ctx.ownerDocument);
+ }
+ return $select(new GQuery, selectorOrHtml, ctx);
+}
+
+function $_2(nodesOrWidgets){
+ $clinit_GQuery();
+ var elms, o, o$iterator;
+ elms = create_4(null);
+ for (o$iterator = nodesOrWidgets.iterator_0(); o$iterator.hasNext();) {
+ o = o$iterator.next_0();
+ instanceOfJso(o)?$addNode(elms, dynamicCastJso(o)):instanceOf(o, 23) && $addNode(elms, $getElement(dynamicCast(o, 23).asWidget()));
+ }
+ return new GQuery_3(elms);
+}
+
+function $add(this$static, elementsToAdd){
+ return $pushStack(this$static, copyNodeList(this$static.nodeList, elementsToAdd.nodeList, true), $join(',', initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, [this$static.currentSelector, elementsToAdd.currentSelector])));
+}
+
+function $addClass(this$static, classes){
+ var clz, clz$index, clz$max, e, e$array, e$index, e$max;
+ for (e$array = this$static.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];
+ $addClassName(e, clz);
+ }
+ }
+ }
+ return this$static;
+}
+
+function $allNextSiblingElements(firstChildElement, result){
+ while (firstChildElement) {
+ !!firstChildElement && $add_0(result, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [firstChildElement]));
+ firstChildElement = $getNextSiblingElement(($clinit_DOMImpl() , firstChildElement));
+ }
+}
+
+function $appendTo(this$static, other){
+ $domManip(other, this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, []));
+ return this$static;
+}
+
+function $as(this$static, plugin){
+ var p;
+ if (plugin == Lcom_google_gwt_query_client_GQuery_2_classLit) {
+ return this$static;
+ }
+ else if (plugins) {
+ p = dynamicCast($get_3(plugins, getHashCode(plugin)), 110);
+ if (p) {
+ return p.init_0(this$static);
+ }
+ }
+ throw new RuntimeException_0(($ensureNamesAreInitialized(plugin) , 'No plugin registered for class ' + plugin.typeName));
+}
+
+function $attr(this$static, name_0){
+ return this$static.elements.length == 0?'':$getAttribute($get(this$static, 0), name_0);
+}
+
+function $attr_0(this$static, key, value_0){
+ $setAttribute_0((!attributeImpl && (attributeImpl = new AttributeImpl) , this$static), key, value_0);
+ return this$static;
+}
+
+function $children(this$static){
+ var e, e$array, e$index, e$max, result;
+ result = create_4(null);
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $allNextSiblingElements($getFirstChildElement_0(($clinit_DOMImpl() , e)), result);
+ }
+ return new GQuery_3($unique(result));
+}
+
+function $children_0(this$static, filters){
+ return $filter_0($children(this$static), filters);
+}
+
+function $cleanGQData(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 {
+ $clinit_EventsListener();
+ getGQueryEventListener(el);
+ $removeData(this$static, el, null);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ $printStackTrace((lastArg = e , lastArg));
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+}
+
+function $data(this$static){
+ return this$static.elements.length == 0?null:data_1($get(this$static, 0), 'init', null);
+}
+
+function $data_0(this$static, value_0){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ data_1(e, 'init', value_0);
+ }
+ return this$static;
+}
+
+function $domManip(this$static, g, elms){
+ var e, i_0, j, l, n, newNodes, size_0;
+ newNodes = create_4(null);
+ elms.length == 0 && (elms = this$static.elements);
+ for (i_0 = 0 , l = elms.length; i_0 < l; i_0++) {
+ e = elms[i_0];
+ e.nodeType == 9 && (e = e.body);
+ for (j = 0 , size_0 = g.elements.length; j < size_0; j++) {
+ n = $get(g, j);
+ i_0 > 0 && (n = n.cloneNode(true));
+ $addNode(newNodes, e.appendChild(n));
+ $clinit_EventsListener();
+ getGQueryEventListener(n);
+ }
+ }
+ $length(newNodes) >= g.elements.length && $setArray(g, newNodes);
+ return this$static;
+}
+
+function $each(this$static, f){
+ var e, e$array, e$index, e$max, f1, f1$index, f1$max, i_0;
+ for (f1$index = 0 , f1$max = f.length; f1$index < f1$max; ++f1$index) {
+ f1 = f[f1$index];
+ if (f1) {
+ i_0 = 0;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $f_0(f1, (++i_0 , e));
+ }
+ }
+ }
+ return this$static;
+}
+
+function $filter(this$static, filterFn){
+ var result;
+ result = $filter_1((!engine && (engine = new SelectorEngine) , this$static.nodeList), filterFn);
+ return $pushStack(this$static, result, this$static.currentSelector);
+}
+
+function $filter_0(this$static, filters){
+ var result, selector;
+ selector = $join(', ', filters);
+ result = $filter_2((!engine && (engine = new SelectorEngine) , engine), this$static.nodeList, selector);
+ return $pushStack(this$static, result, selector);
+}
+
+function $find(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 = create_4(null);
+ for (selector$index = 0 , selector$max = filters.length; selector$index < selector$max; ++selector$index) {
+ selector = filters[selector$index];
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ for (c$array = $_1(selector, e).elements , c$index = 0 , c$max = c$array.length; c$index < c$max; ++c$index) {
+ c = c$array[c$index];
+ $add_0(array, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [c]));
+ }
+ }
+ }
+ return $pushStack(this$static, $unique(array), filters[0]);
+}
+
+function $get(this$static, i_0){
+ var l;
+ l = this$static.elements.length;
+ if (i_0 >= 0 && i_0 < l) {
+ return this$static.elements[i_0];
+ }
+ if (i_0 < 0 && l + i_0 >= 0) {
+ return this$static.elements[l + i_0];
+ }
+ return null;
+}
+
+function $hide(this$static){
+ var currentDisplay, e, e$array, e$array0, e$index, e$index0, e$max, e$max0, old;
+ for (e$array0 = this$static.elements , e$index0 = 0 , e$max0 = e$array0.length; e$index0 < e$max0; ++e$index0) {
+ e = e$array0[e$index0];
+ currentDisplay = $curCSS((!styleImpl && (styleImpl = (!engine && (engine = new SelectorEngine) , $clinit_SelectorEngine() , styleImpl_0)) , styleImpl), e, 'display', false);
+ old = data_1(e, 'old-display', null);
+ old == null && currentDisplay.length != 0 && !$equals_2('none', currentDisplay) && data_1(e, 'old-display', currentDisplay);
+ }
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $setPropertyImpl(e.style, 'display', ($clinit_Style$Display() , 'none'));
+ }
+ return this$static;
+}
+
+function $html(this$static){
+ return this$static.elements.length == 0?'':$getInnerHTML($get(this$static, 0));
+}
+
+function $index(this$static, element){
+ var e, e$array, e$index, e$max, i_0;
+ i_0 = 0;
+ for (e$array = this$static.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_0;
+ }
+ ++i_0;
+ }
+ return -1;
+}
+
+function $join(chr, values){
+ var i_0, value_0;
+ value_0 = '';
+ for (i_0 = 0; i_0 < values.length; i_0++) {
+ value_0 += i_0 > 0?chr + values[i_0]:values[i_0];
+ }
+ return value_0;
+}
+
+function $last(this$static){
+ return new GQuery_0($get(this$static, this$static.elements.length - 1));
+}
+
+function $parents(this$static, filters){
+ return $filter_0($parentsUntil(this$static), filters);
+}
+
+function $parentsUntil(this$static){
+ var e, e$array, e$index, e$max, i_0, par, result;
+ result = create_4(null);
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ i_0 = 0;
+ par = e.parentNode;
+ while (!!par && par != document_0) {
+ $add_0(result, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [par]));
+ par = par.parentNode;
+ ++i_0;
+ }
+ }
+ return new GQuery_3($unique(result));
+}
+
+function $prop(this$static, key){
+ return this$static.elements.length == 0?null:prop_0($get(this$static, 0), key);
+}
+
+function $prop_0(this$static, value_0){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ !!e && $put(e, 'href', value_0);
+ }
+ return this$static;
+}
+
+function $pushStack(this$static, elts, selector){
+ var g;
+ g = new GQuery_3(elts);
+ g.currentSelector = selector;
+ g.currentContext = this$static.currentContext;
+ return g;
+}
+
+function $remove(this$static, clean){
+ var e, e$array, e$index, e$max, w;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (clean) {
+ $cleanGQData(this$static, $_1('*', e).elements);
+ $cleanGQData(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [e]));
+ }
+ w = getAssociatedWidget(e);
+ w?$removeFromParent_0(w):$removeFromParent(e);
+ }
+ return this$static;
+}
+
+function $removeData(this$static, item_0, name_0){
+ var id_0;
+ if (!dataCache) {
+ windowData = {};
+ dataCache = {};
+ }
+ item_0 = item_0 == window_1 || item_0.nodeName == null?windowData:item_0;
+ id_0 = getHashCode(item_0);
+ if (name_0 != null) {
+ if (dataCache[valueOf_2(id_0)]) {
+ delete dynamicCastJso($get_1(dataCache, valueOf_2(id_0)))[name_0];
+ $isEmpty(dynamicCastJso($get_1(dataCache, valueOf_2(id_0)))) && $removeData(this$static, item_0, null);
+ }
+ }
+ else {
+ $delete(dataCache, valueOf_2(id_0));
+ }
+}
+
+function $select(this$static, selector, context){
+ var n;
+ n = $select_0((!engine && (engine = new SelectorEngine) , engine), selector, !context?document_0:context);
+ this$static.currentSelector = selector;
+ this$static.currentContext = context?context:document_0;
+ return $setArray(this$static, n);
+}
+
+function $setArray(this$static, list){
+ var i_0, l;
+ if (list) {
+ $clear(this$static.nodeList);
+ l = list.length;
+ this$static.elements = initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_4, 0, l, 2, 1);
+ for (i_0 = 0; i_0 < l; i_0++) {
+ setCheck(this$static.elements, i_0, list[i_0]);
+ $add_0(this$static.nodeList, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [list[i_0]]));
+ }
+ }
+ return this$static;
+}
+
+function $text(this$static){
+ var e, e$array, e$index, e$max, result;
+ result = '';
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ result += ($clinit_DOMImpl() , e).textContent;
+ }
+ return result;
+}
+
+function $text_0(this$static, txt){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $setInnerText_0(($clinit_DOMImpl() , e), txt);
+ }
+ return this$static;
+}
+
+function $toString_2(this$static){
+ var e, e$array, e$index, e$max, e2, elStr, r;
+ r = '';
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ if (window_1 == e) {
+ continue;
+ }
+ try {
+ elStr = !!e && !$equals_2('HTML', (!e || !isElement(e)?null:e.nodeType == 9?e:e.ownerDocument).documentElement.nodeName)?(new XMLSerializer).serializeToString(e):($clinit_DOMImpl() , impl_0).toString_0(e);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e2 = $e0;
+ elStr = '< ' + (!e?'null':e.nodeName) + '(gquery, error getting the element string representation: ' + e2.getMessage() + ')/>';
+ }
+ else
+ throw unwrap($e0);
+ }
+ r += '' + elStr;
+ }
+ return r;
+}
+
+function $widget(this$static, n){
+ var e, e$array, e$index, e$max, w;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ w = getAssociatedWidget(e);
+ if (w) {
+ if (n == 0) {
+ return w;
+ }
+ --n;
+ }
+ }
+ return null;
+}
+
+function GQuery(){
+ $$init(this);
+}
+
+function GQuery_0(element){
+ $clinit_GQuery();
+ GQuery_3.call(this, create_4(element));
+}
+
+function GQuery_1(list){
+ $$init(this);
+ $setArray(this, list);
+}
+
+function GQuery_2(gq){
+ $clinit_GQuery();
+ $$init(this);
+ this.elements = gq.elements;
+ this.nodeList = gq.nodeList;
+ this.currentSelector = gq.currentSelector;
+ this.currentContext = gq.currentContext;
+}
+
+function GQuery_3(nodes){
+ $clinit_GQuery();
+ GQuery_1.call(this, nodes);
+}
+
+function cleanHtmlString(elem, doc){
+ var depth, div, mResult, n, tag, wrapper, tableWrapper, selectWrapper, trWrapper;
+ mResult = $exec_0(tagNameRegex, elem);
+ if (!mResult) {
+ return new GQuery_0(doc.createTextNode(elem));
+ }
+ tag = mResult[1];
+ !wrapperMap && (tableWrapper = new GQuery$TagWrapper(1, '<table>', '<\/table>') , selectWrapper = new GQuery$TagWrapper(1, '<select multiple="multiple">', '<\/select>') , trWrapper = new GQuery$TagWrapper(3, '<table><tbody><tr>', '<\/tr><\/tbody><\/table>') , wrapperMap = {} , $put_1(wrapperMap, 'option', selectWrapper) , $put_1(wrapperMap, 'optgroup', selectWrapper) , $put_1(wrapperMap, 'legend', new GQuery$TagWrapper(1, '<fieldset>', '<\/fieldset>')) , $put_1(wrapperMap, 'thead', tableWrapper) , $put_1(wrapperMap, 'tbody', tableWrapper) , $put_1(wrapperMap, 'tfoot', tableWrapper) , $put_1(wrapperMap, 'colgroup', tableWrapper) , $put_1(wrapperMap, 'caption', tableWrapper) , $put_1(wrapperMap, 'tr', new GQuery$TagWrapper(2, '<table><tbody>', '<\/tbody><\/table>')) , $put_1(wrapperMap, 'td', trWrapper) , $put_1(wrapperMap, 'th', trWrapper) , $put_1(wrapperMap, 'col', new GQuery$TagWrapper(2, '<table><tbody><\/tbody><colgroup>', '<\/colgroup><\/table>')) , $put_1(wrapperMap, 'area', new GQuery$TagWrapper(1, '<map>', '<\/map>')) , undefined);
+ wrapper = dynamicCast($get_4(wrapperMap, tag.toLowerCase()), 58);
+ !wrapper && (wrapper = ($clinit_GQuery$TagWrapper() , DEFAULT_0));
+ div = ($clinit_DOMImpl() , doc).createElement('div');
+ $setInnerHTML(div, wrapper.preWrap + $trim(elem) + wrapper.postWrap);
+ n = div;
+ depth = wrapper.wrapDepth;
+ while (depth-- != 0) {
+ n = n.lastChild;
+ }
+ return $remove($(n.childNodes), false);
+}
+
+function data_1(element, key, value_0){
+ $clinit_GQuery();
+ var id_0;
+ if (!dataCache) {
+ windowData = {};
+ dataCache = {};
+ }
+ element = element == window_1 || element.nodeName == null?windowData:element;
+ if (!!element && key != null) {
+ id_0 = getHashCode(element);
+ if (value_0 == null) {
+ return dataCache[valueOf_2(id_0)]?$get_2(dynamicCastJso($get_1(dataCache, valueOf_2(id_0))), key, null):null;
+ }
+ !!dataCache[valueOf_2(id_0)] || $put(dataCache, valueOf_2(id_0), {});
+ $put(dynamicCastJso($get_1(dataCache, valueOf_2(id_0))), key, value_0);
+ }
+ return value_0;
+}
+
+function getAssociatedWidget(e){
+ $clinit_GQuery();
+ var e2, lastArg, listener;
+ try {
+ listener = ($clinit_DOM() , getEventListener(e));
+ if (!listener) {
+ return null;
+ }
+ if (instanceOf(listener, 17)) {
+ return dynamicCast(listener, 17);
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e2 = $e0;
+ $printStackTrace((lastArg = e2 , lastArg));
+ }
+ else
+ throw unwrap($e0);
+ }
+ return null;
+}
+
+function registerPlugin(plugin, pluginFactory){
+ $clinit_GQuery();
+ !plugins && (plugins = {});
+ $put_0(plugins, plugin, pluginFactory);
+ return plugin;
+}
+
+defineClass(8, 1, {}, GQuery, GQuery_0, GQuery_1, GQuery_3);
+_.delay_0 = function(milliseconds, f){
+ return $delay_0(dynamicCast($as(this, ($clinit_QueuePlugin() , Queue)), 80), milliseconds, f);
+}
+;
+_.toString$ = function(){
+ return $toString_2(this);
+}
+;
+var Widgets, attributeImpl, browser, console_0, dataCache = null, document_0, engine, plugins, styleImpl, tagNameRegex, window_1, windowData = null, wrapperMap;
+var Lcom_google_gwt_query_client_GQuery_2_classLit = createForClass('com.google.gwt.query.client', 'GQuery', 8, Ljava_lang_Object_2_classLit);
+function $clinit_GQuery$TagWrapper(){
+ $clinit_GQuery$TagWrapper = emptyMethod;
+ DEFAULT_0 = new GQuery$TagWrapper(0, '', '');
+}
+
+function GQuery$TagWrapper(wrapDepth, preWrap, postWrap){
+ $clinit_GQuery$TagWrapper();
+ this.wrapDepth = wrapDepth;
+ this.postWrap = postWrap;
+ this.preWrap = preWrap;
+}
+
+defineClass(58, 1, {58:1}, GQuery$TagWrapper);
+_.wrapDepth = 0;
+var DEFAULT_0;
+var Lcom_google_gwt_query_client_GQuery$TagWrapper_2_classLit = createForClass('com.google.gwt.query.client', 'GQuery/TagWrapper', 58, Ljava_lang_Object_2_classLit);
+defineClass(47, 1, $intern_21);
+_.f_2 = function(e, index_0){
+ return false;
+}
+;
+var Lcom_google_gwt_query_client_Predicate_2_classLit = createForClass('com.google.gwt.query.client', 'Predicate', 47, Ljava_lang_Object_2_classLit);
+function $get_0(this$static, name_0){
+ return $get_1(this$static, '' + name_0);
+}
+
+function $getArray(this$static, name_0){
+ return $getArray_0(this$static, '' + name_0);
+}
+
+function $getFloat(this$static, name_0){
+ var r;
+ return r = dynamicCast($get_2(this$static, '' + name_0, Ljava_lang_Float_2_classLit), 88) , !r?0:r.value_0;
+}
+
+function $getFunction(this$static, name_0){
+ var f, o;
+ o = $get_1(this$static, '' + name_0);
+ if (o != null) {
+ if (instanceOf(o, 7)) {
+ return dynamicCast(o, 7);
+ }
+ else if (instanceOfJso(o)) {
+ f = $getObject_0(dynamicCastJso(o), '__f');
+ if (f != null && instanceOf(f, 7)) {
+ return dynamicCast(f, 7);
+ }
+ return new JsUtils$JsFunction(dynamicCastJso(o));
+ }
+ }
+ return null;
+}
+
+function $getJavaScriptObject(this$static, name_0){
+ return $getJavaScriptObject_0(this$static, '' + name_0);
+}
+
+function $getObject_0(this$static, name_0){
+ return $get_1(this$static, '' + name_0);
+}
+
+function $getStr(this$static, name_0){
+ return $getString_0(this$static, '' + name_0);
+}
+
+function $set(this$static, name_0, val){
+ $put(this$static, '' + name_0, val);
+ return this$static;
+}
+
+function $setBoolean(this$static, name_0){
+ $putBoolean(this$static, name_0, true);
+}
+
+function $setFunction(this$static, name_0, f){
+ if (!f)
+ return;
+ this$static[name_0] = function(){
+ f.fe(arguments);
+ }
+ ;
+ this$static[name_0].__f = f;
+}
+
+function $setNumber(this$static, val){
+ $putNumber(this$static, 'colSpan', val);
+}
+
+function getDataImpl__Ljava_lang_Object___devirtual$(this$static){
+ return hasJavaObjectVirtualDispatch(this$static)?this$static.getDataImpl():this$static;
+}
+
+var Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit = createForInterface('com.google.gwt.query.client.builders', 'JsonBuilder');
+function $getArrayBase(this$static, r, clazz){
+ var a, c, i_0, l, w;
+ a = $getArray(this$static.p, 'values');
+ l = r.length;
+ for (i_0 = 0; i_0 < l; i_0++) {
+ w = $get_1(a, valueOf_2(i_0));
+ c = getClass__Ljava_lang_Class___devirtual$(w);
+ do {
+ if (c == clazz) {
+ setCheck(r, i_0, w);
+ break;
+ }
+ c = c.superclass;
+ }
+ while (c);
+ }
+ return r;
+}
+
+function $load(this$static, prp){
+ if (prp != null && isJavaString(prp)) {
+ return $load(this$static, parseJSON(dynamicCastToString(prp)));
+ }
+ prp != null && (this$static.p = dynamicCastJso(prp));
+ return this$static;
+}
+
+function $setArrayBase(this$static, n, r){
+ var a, o, o$index, o$max;
+ if (r.length > 0 && instanceOf(r[0], 53)) {
+ a = [];
+ for (o$index = 0 , o$max = r.length; o$index < o$max; ++o$index) {
+ o = r[o$index];
+ $push(a, dynamicCast(o, 53).getDataImpl());
+ }
+ $set(this$static.p, n, a);
+ }
+ else {
+ a = [];
+ $add_0(a, r);
+ $set(this$static.p, n, a);
+ }
+}
+
+function JsonBuilderBase(){
+ this.p = {};
+}
+
+defineClass(56, 1, $intern_22);
+_.getDataImpl = function(){
+ return this.p;
+}
+;
+_.load = function(prp){
+ return $load(this, prp);
+}
+;
+_.parse_0 = function(json, fix){
+ return fix?$load(this, parseJSON((ret = $replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceAll($replaceFirst($replaceAll($replaceAll($replaceAll(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') , $matches(ret, '(^[\\[\\{].*[\\]\\}]$)')?ret:'{' + ret + '}'))):$load(this, parseJSON(json));
+}
+;
+_.set_0 = function(key, val){
+ return val != null && (!isJavaString(val) && !hasTypeMarker(val) || canCast(val, 52))?$set(this.p, key, getDataImpl__Ljava_lang_Object___devirtual$((checkType(val == null || !isJavaString(val) && !hasTypeMarker(val) || canCast(val, 52)) , val))):$set(this.p, key, val) , this;
+}
+;
+_.toString$ = function(){
+ return $JSON2String(this.p);
+}
+;
+var Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonBuilderBase', 56, Ljava_lang_Object_2_classLit);
+function JsonBuilder_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(472, 56, $intern_22, JsonBuilder_JsonBuilder);
+var Lcom_google_gwt_query_client_builders_JsonBuilder_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonBuilder_JsonBuilder', 472, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $create(clz){
+ if (clz == Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit)
+ return new JsonBuilder_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit)
+ return new Observe_MutationObserverInit_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit)
+ return new Observe_MutationRecords_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit)
+ return new Observe_MutationRecords_MutationRecord_JsonBuilder;
+ if (clz == Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit)
+ return new Ajax_Settings_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit)
+ return new GData_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit)
+ return new GData_GAjaxConf_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit)
+ return new GData_GAjaxConf_GAjaxResponse_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit)
+ return new GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit)
+ return new GData_GColumn_JsonBuilder;
+ if (clz == Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit)
+ return new GData_GColumn_GHeader_JsonBuilder;
+ return null;
+}
+
+function JsonFactory_JsonBuilder(){
+}
+
+defineClass(38, 1, {}, JsonFactory_JsonBuilder);
+var Lcom_google_gwt_query_client_builders_JsonFactory_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.builders', 'JsonFactory_JsonBuilder', 38, Ljava_lang_Object_2_classLit);
+function $clinit_AttributeImpl(){
+ $clinit_AttributeImpl = emptyMethod;
+ BOOLEAN_ATTR_REGEX = new RegExp('^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$', 'i');
+}
+
+function $getAttributeSetter(key){
+ if ($equalsIgnoreCase('type', key)) {
+ return $clinit_AttributeImpl$TypeAttrSetter() , !INSTANCE_3 && (INSTANCE_3 = new AttributeImpl$TypeAttrSetter) , $clinit_AttributeImpl$TypeAttrSetter() , INSTANCE_3;
+ }
+ else if ($equals_2('id', key)) {
+ return !INSTANCE_2 && (INSTANCE_2 = new AttributeImpl$IdAttrSetter) , INSTANCE_2;
+ }
+ else if ($equals_2('value', key)) {
+ return !INSTANCE_4 && (INSTANCE_4 = new AttributeImpl$ValueAttrSetter) , INSTANCE_4;
+ }
+ else if ($test(BOOLEAN_ATTR_REGEX, key)) {
+ return !INSTANCE_1 && (INSTANCE_1 = new AttributeImpl$BooleanAttrSetter) , INSTANCE_1;
+ }
+ return !INSTANCE_0 && (INSTANCE_0 = new AttributeImpl$DefaultSetter) , INSTANCE_0;
+}
+
+function $removeAttribute_0(gQuery, key){
+ var e, e$array, e$index, e$max;
+ for (e$array = 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;
+ }
+ hasProperty(e, key) && ($test(BOOLEAN_ATTR_REGEX, key)?$setPropertyBoolean(e, key, false):$setPropertyObject(e, key, null));
+ $removeAttribute(e, key);
+ }
+}
+
+function $setAttribute_0(gQuery, key, value_0){
+ var e, e$array, e$index, e$max, nodeType, setter;
+ setter = $getAttributeSetter(key);
+ if (setter.isRemoval(value_0)) {
+ $removeAttribute_0((!($clinit_GQuery() , attributeImpl) && (attributeImpl = new AttributeImpl) , gQuery), key);
+ return;
+ }
+ value_0 = value_0;
+ for (e$array = 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_0(e, key, value_0);
+ }
+}
+
+function AttributeImpl(){
+ $clinit_AttributeImpl();
+}
+
+defineClass(192, 1, {}, AttributeImpl);
+var BOOLEAN_ATTR_REGEX;
+var Lcom_google_gwt_query_client_impl_AttributeImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl', 192, Ljava_lang_Object_2_classLit);
+function $setAttribute_1(e, key, value_0){
+ $setAttribute(e, key, '' + value_0);
+}
+
+function AttributeImpl$DefaultSetter(){
+}
+
+defineClass(509, 1, {}, AttributeImpl$DefaultSetter);
+_.isRemoval = function(value_0){
+ return value_0 == null;
+}
+;
+_.setAttribute_0 = function(e, key, value_0){
+ $setAttribute_1(e, key, value_0);
+}
+;
+var INSTANCE_0;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/DefaultSetter', 509, Ljava_lang_Object_2_classLit);
+function AttributeImpl$BooleanAttrSetter(){
+}
+
+defineClass(511, 509, {}, AttributeImpl$BooleanAttrSetter);
+_.isRemoval = function(value_0){
+ return value_0 == null || $equals_0(($clinit_Boolean() , FALSE), value_0);
+}
+;
+_.setAttribute_0 = function(e, key, value_0){
+ hasProperty(e, key) && $setPropertyBoolean(e, key, true);
+ $setAttribute_1(e, key, key.toLowerCase());
+}
+;
+var INSTANCE_1;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$BooleanAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/BooleanAttrSetter', 511, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function AttributeImpl$IdAttrSetter(){
+}
+
+defineClass(512, 509, {}, AttributeImpl$IdAttrSetter);
+_.setAttribute_0 = function(e, key, value_0){
+ $setId(e, value_0 == null?null:isJavaString(value_0)?value_0:hasJavaObjectVirtualDispatch(value_0)?value_0.toString$():isJavaArray(value_0)?$toString(value_0):value_0.toString?value_0.toString():'[JavaScriptObject]');
+ $setAttribute(e, key, '' + value_0);
+}
+;
+var INSTANCE_2;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$IdAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/IdAttrSetter', 512, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function $clinit_AttributeImpl$TypeAttrSetter(){
+ $clinit_AttributeImpl$TypeAttrSetter = emptyMethod;
+ NOT_AUTHORIZED_NODE = new RegExp('^(?:button|input)$', 'i');
+}
+
+function AttributeImpl$TypeAttrSetter(){
+ $clinit_AttributeImpl$TypeAttrSetter();
+}
+
+defineClass(513, 509, {}, AttributeImpl$TypeAttrSetter);
+_.setAttribute_0 = function(e, name_0, value_0){
+ var ie, keepValue, tag;
+ tag = e.nodeName;
+ if ($test(NOT_AUTHORIZED_NODE, tag) && $parents(($clinit_GQuery() , new GQuery_0(e)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['body'])).elements.length > 0) {
+ throw new RuntimeException_0('You cannot change type of button or input element if the element is already attached to the dom');
+ }
+ if ($equals_2('input', tag.toLowerCase()) && $equals_2('radio', value_0)) {
+ ie = e;
+ keepValue = ie.value;
+ $setAttribute(ie, 'type', '' + value_0);
+ ie.value = keepValue;
+ }
+ else {
+ $setAttribute(e, name_0, '' + value_0);
+ }
+}
+;
+var INSTANCE_3, NOT_AUTHORIZED_NODE;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$TypeAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/TypeAttrSetter', 513, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function AttributeImpl$ValueAttrSetter(){
+}
+
+defineClass(510, 509, {}, AttributeImpl$ValueAttrSetter);
+_.setAttribute_0 = function(e, key, value_0){
+ $setPropertyObject(e, 'value', '' + value_0);
+ $setAttribute(e, key, '' + value_0);
+}
+;
+var INSTANCE_4;
+var Lcom_google_gwt_query_client_impl_AttributeImpl$ValueAttrSetter_2_classLit = createForClass('com.google.gwt.query.client.impl', 'AttributeImpl/ValueAttrSetter', 510, Lcom_google_gwt_query_client_impl_AttributeImpl$DefaultSetter_2_classLit);
+function $error(this$static, arg){
+ this$static.impl.error_0($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [arg])));
+}
+
+function $toJs(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];
+ $add_0(ret, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [o]));
+ }
+ return ret;
+}
+
+function ConsoleBrowser(){
+ this.impl = ($clinit_GQuery() , browser).ie8?new ConsoleBrowser$ConsoleIe8:browser.ie9?new ConsoleBrowser$ConsoleIe9:new ConsoleBrowser$ConsoleImpl;
+}
+
+defineClass(341, 1, {}, ConsoleBrowser);
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser', 341, Ljava_lang_Object_2_classLit);
+function $error_0(arg){
+ $wnd.console.error.apply($wnd.console, arg);
+}
+
+function $log(arg){
+ $wnd.console.log.apply($wnd.console, arg);
+}
+
+function ConsoleBrowser$ConsoleImpl(){
+}
+
+defineClass(342, 1, {}, ConsoleBrowser$ConsoleImpl);
+_.error_0 = function(arg){
+ $error_0(arg);
+}
+;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleImpl', 342, Ljava_lang_Object_2_classLit);
+function ConsoleBrowser$ConsoleIe9(){
+ this.init();
+}
+
+defineClass(166, 342, {}, ConsoleBrowser$ConsoleIe9);
+_.error_0 = function(arg){
+ this.initialized && $error_0(arg);
+}
+;
+_.init = function init_1(){
+ 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.initialized = true;
+ }
+ catch (e) {
+ }
+}
+;
+_.initialized = false;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleIe9', 166, Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleImpl_2_classLit);
+function ConsoleBrowser$ConsoleIe8(){
+ ConsoleBrowser$ConsoleIe9.call(this);
+}
+
+defineClass(343, 166, {}, ConsoleBrowser$ConsoleIe8);
+_.init = function init_2(){
+ try {
+ Function.prototype.call.call($wnd.console.log, $wnd.console, Array.prototype.slice.call(arguments));
+ this.initialized = true;
+ }
+ catch (e) {
+ }
+}
+;
+var Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe8_2_classLit = createForClass('com.google.gwt.query.client.impl', 'ConsoleBrowser/ConsoleIe8', 343, Lcom_google_gwt_query_client_impl_ConsoleBrowser$ConsoleIe9_2_classLit);
+function $clinit_DocumentStyleImpl(){
+ $clinit_DocumentStyleImpl = emptyMethod;
+ cssNumberRegex = new RegExp('^(fillOpacity|fontWeight|lineHeight|opacity|orphans|widows|zIndex|zoom)$', 'i');
+ sizeRegex = new RegExp('^(client|offset|)(width|height)$', 'i');
+}
+
+function $curCSS(this$static, elem, name_0, force){
+ var ret, toDetach, lastParent, o;
+ if (!elem) {
+ return '';
+ }
+ name_0 = $fixPropertyName(name_0);
+ ret = $getProperty(elem.style, name_0);
+ if (force) {
+ toDetach = null;
+ isDetached(elem) && (toDetach = (lastParent = $get($last($parentsUntil(($clinit_GQuery() , new GQuery_0(elem)))), 0) , !lastParent && (lastParent = elem) , $appendChild($doc.body, lastParent) , lastParent));
+ $test(sizeRegex, name_0)?(ret = $getVisibleSize(this$static, elem, name_0) + 'px'):$equalsIgnoreCase('opacity', name_0)?(ret = '' + (o = $getOpacity(elem.style) , truth(o)?$num(o):1)):(ret = $getComputedStyle(elem, name_0.replace(/([A-Z])/g, '-$1').toLowerCase(), null));
+ !!toDetach && $removeFromParent(toDetach);
+ }
+ return ret == null?'':ret;
+}
+
+function $fixInlineElement(this$static, e){
+ if ((e.clientHeight | 0) == 0 && (e.clientWidth | 0) == 0 && $equals_2('inline', $curCSS(this$static, e, 'display', true))) {
+ $setStyleProperty(e, 'display', 'inline-block');
+ $setStyleProperty(e, 'width', 'auto');
+ $setStyleProperty(e, 'height', 'auto');
+ }
+}
+
+function $fixPropertyName(name_0){
+ if ($equalsIgnoreCase('float', name_0)) {
+ return 'cssFloat';
+ }
+ else if ($equalsIgnoreCase('for', name_0)) {
+ return 'htmlFor';
+ }
+ return camelize(name_0);
+}
+
+function $getComputedStyle(elem, hyphenName, pseudo){
+ try {
+ var cStyle = $doc.defaultView.getComputedStyle(elem, pseudo);
+ return cStyle && cStyle.getPropertyValue?cStyle.getPropertyValue(hyphenName):null;
+ }
+ catch (e) {
+ return null;
+ }
+}
+
+function $getSize(this$static, e, name_0){
+ var ret;
+ ret = 0;
+ $equals_2('width', name_0)?(ret = ($fixInlineElement(this$static, e) , round_int((e.clientWidth | 0) - $num($curCSS(this$static, e, 'paddingLeft', true)) - $num($curCSS(this$static, e, 'paddingRight', true))))):$equals_2('height', name_0)?(ret = ($fixInlineElement(this$static, e) , round_int((e.clientHeight | 0) - $num($curCSS(this$static, e, 'paddingTop', true)) - $num($curCSS(this$static, e, 'paddingBottom', true))))):$equals_2('clientWidth', name_0)?(ret = e.clientWidth | 0):$equals_2('clientHeight', name_0)?(ret = e.clientHeight | 0):$equals_2('offsetWidth', name_0)?(ret = $getSubPixelOffsetWidth(e) | 0):$equals_2('offsetHeight', name_0) && (ret = $getSubPixelOffsetHeight(e) | 0);
+ return ret;
+}
+
+function $getVisibleSize(this$static, e, name_0){
+ var display, position, ret, visibility;
+ if (dynamicCast($get_3(($clinit_SelectorEngine() , filters_0), getHashCode_0('visible')), 47).f_2(e, 0)) {
+ ret = $getSize(this$static, e, name_0);
+ }
+ else {
+ display = $curCSS(this$static, e, 'display', false);
+ position = $curCSS(this$static, e, 'position', false);
+ visibility = $curCSS(this$static, e, 'visibility', false);
+ $setStyleProperty(e, 'display', 'block');
+ $setStyleProperty(e, 'position', 'absolute');
+ $setStyleProperty(e, 'visibility', 'hidden');
+ ret = $getSize(this$static, e, name_0);
+ $setStyleProperty(e, 'display', display);
+ $setStyleProperty(e, 'position', position);
+ $setStyleProperty(e, 'visibility', visibility);
+ }
+ return ret;
+}
+
+function $num(val){
+ val = $replaceAll($trim(val), '[^\\d\\.\\-]+.*$', '');
+ return truth(val)?__parseAndValidateDouble(val):0;
+}
+
+function $setStyleProperty(e, prop, val){
+ if (!e || prop == null) {
+ return;
+ }
+ prop = $fixPropertyName(prop);
+ $matches(prop, '^[A-Z]+$') && (prop = prop.toLowerCase());
+ prop = camelize(prop);
+ if (val == null || $trim(val).length == 0) {
+ $setPropertyImpl(e.style, prop, '');
+ }
+ else {
+ $matches(val, '-?[\\d\\.]+') && !$test(cssNumberRegex, prop) && (val += 'px');
+ $setPropertyImpl(e.style, prop, val);
+ }
+}
+
+function DocumentStyleImpl(){
+ $clinit_DocumentStyleImpl();
+}
+
+defineClass(398, 1, {}, DocumentStyleImpl);
+var cssNumberRegex, sizeRegex;
+var Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'DocumentStyleImpl', 398, Ljava_lang_Object_2_classLit);
+function $clinit_SelectorEngine(){
+ $clinit_SelectorEngine = emptyMethod;
+ $doc.location.href.indexOf('_force_no_native') < 0 && typeof $doc.querySelectorAll == 'function';
+ filters_0 = {};
+ $put_0(filters_0, 'visible', new SelectorEngine$1);
+ $put_0(filters_0, 'hidden', new SelectorEngine$2);
+ $put_0(filters_0, 'selected', new SelectorEngine$3);
+ $put_0(filters_0, 'input', new SelectorEngine$4);
+ $put_0(filters_0, 'header', new SelectorEngine$5);
+}
+
+function $filter_1(nodes, p){
+ var e, i_0, j, l, res;
+ res = create_4(null);
+ for (i_0 = 0 , l = nodes.length , j = 0; i_0 < l; i_0++) {
+ e = nodes[i_0];
+ p.f_2(e, i_0) && $addNode_0(res, e, j++);
+ }
+ return res;
+}
+
+function $filter_2(this$static, nodes, selector){
+ return $filter_3(this$static, nodes, selector, this$static.filterDetached);
+}
+
+function $filter_3(this$static, nodes, selector, filterDetached){
+ var e, e$iterator, el, elmList, ghostParent, i_0, i0, l, l0, n, p, parents, res;
+ res = create_4(null);
+ if (!selector.length) {
+ return res;
+ }
+ ghostParent = null;
+ parents = new HashSet;
+ elmList = new HashSet;
+ for (i0 = 0 , l0 = nodes.length; i0 < l0; i0++) {
+ e = nodes[i0];
+ if (e == ($clinit_GQuery() , window_1) || e == document_0 || e.nodeName == null || $equalsIgnoreCase('html', e.nodeName)) {
+ continue;
+ }
+ $add_7(elmList, e);
+ if (filterDetached) {
+ p = $getParentElement_0(($clinit_DOMImpl() , e));
+ if (!p) {
+ if (!ghostParent) {
+ ghostParent = $createDivElement($doc);
+ $add_7(parents, ghostParent);
+ }
+ p = ghostParent;
+ p.appendChild(e);
+ }
+ else
+ parents.map_0.containsKey(p) || $add_7(parents, p);
+ }
+ else
+ parents.map_0.size_2() == 0 && $add_7(parents, document_0);
+ }
+ for (e$iterator = $iterator(new AbstractMap$1(parents.map_0)); e$iterator.val$outerIter2.hasNext();) {
+ e = dynamicCastJso($next_3(e$iterator));
+ n = $select_0(this$static, selector, e);
+ for (i_0 = 0 , l = n.length; i_0 < l; i_0++) {
+ el = n[i_0];
+ elmList.map_0.remove_2(el) != null && $add_0(res, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [el]));
+ }
+ }
+ !!ghostParent && $setInnerHTML(ghostParent, null);
+ return res;
+}
+
+function $select_0(this$static, selector, ctx){
+ var a, nodes, pred, pseudo, r, res, s, s$array, s$index, s$max, select;
+ if ($test(this$static.nativePseudo, selector)) {
+ while (r = $exec_0(this$static.nativePseudo, selector)) {
+ selector = r[1] + ':' + r[3];
+ $equals_2(r[3], r[2]) || (selector += ':' + r[2]);
+ selector += r[4];
+ }
+ }
+ if ($test(this$static.gQueryPseudo, selector)) {
+ res = create_4(null);
+ for (s$array = $split($trim(selector), '\\s*,\\s*', 0) , s$index = 0 , s$max = s$array.length; s$index < s$max; ++s$index) {
+ s = s$array[s$index];
+ a = $exec_0(this$static.gQueryPseudo, s);
+ if (a) {
+ select = !a[1].length?'*':a[1];
+ pseudo = a[2];
+ pred = dynamicCast($get_3(filters_0, getHashCode_0(pseudo.toLowerCase())), 47);
+ pred?(nodes = $filter_1($select_0(this$static, select, ctx), pred)):$test(this$static.nativePseudo, pseudo)?(nodes = $select_0(this$static, select, ctx)):(nodes = $select_0(this$static, select + '[type=' + pseudo + ']', ctx));
+ }
+ else {
+ nodes = $select_0(this$static, s, ctx);
+ }
+ copyNodeList(res, nodes, false);
+ }
+ return res;
+ }
+ else {
+ return $select_1(selector, ctx);
+ }
+}
+
+function SelectorEngine(){
+ $clinit_SelectorEngine();
+ this.gQueryPseudo = new RegExp('(.*):((visible|hidden|selected|input|header)|((button|checkbox|file|hidden|image|password|radio|reset|submit|text)\\s*(,|$)))(.*)', 'i');
+ this.nativePseudo = new RegExp('(.*):([\\w]+):(disabled|checked|enabled|empty|focus)\\s*([:,].*|$)', 'i');
+ $ensureNamesAreInitialized(Lcom_google_gwt_query_client_impl_SelectorEngineNativeMin_2_classLit);
+ styleImpl_0 = new DocumentStyleImpl;
+ $ensureNamesAreInitialized(Lcom_google_gwt_query_client_impl_DocumentStyleImpl_2_classLit);
+}
+
+defineClass(114, 1, {}, SelectorEngine);
+_.filterDetached = true;
+var filters_0, styleImpl_0;
+var Lcom_google_gwt_query_client_impl_SelectorEngine_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine', 114, Ljava_lang_Object_2_classLit);
+function SelectorEngine$1(){
+}
+
+defineClass(424, 47, $intern_21, SelectorEngine$1);
+_.f_2 = function(e, index_0){
+ return ($getSubPixelOffsetWidth(e) | 0) + ($getSubPixelOffsetHeight(e) | 0) > 0 && !$equalsIgnoreCase('none', $curCSS(($clinit_SelectorEngine() , styleImpl_0), e, 'display', true));
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$1_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/1', 424, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$2(){
+}
+
+defineClass(425, 47, $intern_21, SelectorEngine$2);
+_.f_2 = function(e, index_0){
+ return !dynamicCast($get_3(($clinit_SelectorEngine() , filters_0), getHashCode_0('visible')), 47).f_2(e, index_0);
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$2_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/2', 425, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$3(){
+}
+
+defineClass(426, 47, $intern_21, SelectorEngine$3);
+_.f_2 = function(e, index_0){
+ return !!e['selected'];
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$3_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/3', 426, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$4(){
+}
+
+defineClass(427, 47, $intern_21, SelectorEngine$4);
+_.f_2 = function(e, index_0){
+ return $matches(e.nodeName.toLowerCase(), 'input|select|textarea|button');
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$4_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/4', 427, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function SelectorEngine$5(){
+}
+
+defineClass(428, 47, $intern_21, SelectorEngine$5);
+_.f_2 = function(e, index_0){
+ return $matches(e.nodeName.toLowerCase(), 'h\\d');
+}
+;
+var Lcom_google_gwt_query_client_impl_SelectorEngine$5_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngine/5', 428, Lcom_google_gwt_query_client_Predicate_2_classLit);
+var Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineImpl', null, Ljava_lang_Object_2_classLit);
+function $select_1(selector, ctx){
+ var e;
+ try {
+ return $clinit_SelectorEngine() , ctx.querySelectorAll(selector);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ $error(($clinit_GQuery() , console_0), "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());
+ return null;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+var Lcom_google_gwt_query_client_impl_SelectorEngineNativeMin_2_classLit = createForClass('com.google.gwt.query.client.impl', 'SelectorEngineNativeMin', null, Lcom_google_gwt_query_client_impl_SelectorEngineImpl_2_classLit);
+function $clear(this$static){
+ var k_0, k$array, k$index, k$max;
+ for (k$array = $keys(this$static) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ $delete(this$static, k_0);
+ }
+}
+
+function $delete(this$static, name_0){
+ delete this$static[name_0];
+}
+
+function $get_1(this$static, id_0){
+ return gwtBox([this$static && this$static[id_0]]);
+}
+
+function $get_2(this$static, id_0, clz){
+ var d, o;
+ o = $get_1(this$static, id_0);
+ if (o != null && !!clz) {
+ if (instanceOf(o, 15)) {
+ d = dynamicCast(o, 15);
+ clz == Ljava_lang_Float_2_classLit?(o = new Float(d.value_0)):clz == Ljava_lang_Integer_2_classLit?(o = valueOf_2(round_int(d.value_0))):clz == Ljava_lang_Long_2_classLit?(o = valueOf_3(fromDouble(d.value_0))):clz == Ljava_lang_Short_2_classLit?(o = valueOf_4(round_short(d.value_0))):clz == Ljava_lang_Byte_2_classLit && (o = valueOf_1(round_byte(d.value_0)));
+ }
+ else
+ clz == Ljava_lang_Boolean_2_classLit && !instanceOf(o, 42)?(o = ($clinit_Boolean() , $equalsIgnoreCase('true', '' + o)?TRUE:FALSE)):clz == Ljava_lang_String_2_classLit && !isJavaString(o) && (o = '' + o);
+ }
+ return o;
+}
+
+function $getArray_0(this$static, id_0){
+ var r = this$static[id_0];
+ if (Object.prototype.toString.call(r) == '[object Array]') {
+ return r;
+ }
+ return null;
+}
+
+function $getBoolean(this$static){
+ var r;
+ r = dynamicCast($get_2(this$static, 'withCredentials', Ljava_lang_Boolean_2_classLit), 42);
+ return !!r && r.value_0;
+}
+
+function $getDouble(this$static, id_0){
+ var r;
+ r = dynamicCast($get_2(this$static, id_0, Ljava_lang_Double_2_classLit), 15);
+ return !r?0:r.value_0;
+}
+
+function $getJavaScriptObject_0(this$static, name_0){
+ var o;
+ o = $get_1(this$static, name_0);
+ return o != null && instanceOfJso(o)?dynamicCastJso(o):null;
+}
+
+function $getString_0(this$static, id_0){
+ return this$static[id_0] == null?null:String(this$static[id_0]);
+}
+
+function $isEmpty(this$static){
+ for (k in this$static) {
+ if (this$static.hasOwnProperty(k))
+ return false;
+ }
+ return true;
+}
+
+function $keys(this$static){
+ var a, i_0, ret;
+ a = $keysImpl(this$static);
+ ret = initDim(Ljava_lang_String_2_classLit, $intern_4, 2, a.length, 4, 1);
+ for (i_0 = 0; i_0 < a.length; i_0++) {
+ ret[i_0] = a[i_0];
+ }
+ return ret;
+}
+
+function $keysImpl(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 $length(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 $put(this$static, id_0, obj){
+ instanceOf(obj, 42)?$putBoolean(this$static, id_0, dynamicCast(obj, 42).value_0):instanceOf(obj, 55)?$putNumber(this$static, id_0, dynamicCast(obj, 55).doubleValue()):(this$static[id_0] = obj , this$static);
+ return this$static;
+}
+
+function $putBoolean(this$static, id_0, b){
+ this$static[id_0] = b;
+ return this$static;
+}
+
+function $putNumber(this$static, id_0, n){
+ this$static[id_0] = n;
+ return this$static;
+}
+
+function gwtBox(oneElementArray){
+ var r = oneElementArray;
+ if (typeof r == 'object' && r.length == 1) {
+ var r = r[0], t = typeof r;
+ if (t == 'boolean')
+ return $clinit_Boolean() , r?TRUE:FALSE;
+ if (t == 'number')
+ return new Double(r);
+ }
+ return r || null;
+}
+
+function $get_3(this$static, hashCode){
+ return $get_1(this$static, valueOf_2(hashCode));
+}
+
+function $put_0(this$static, key, val){
+ $put(this$static, valueOf_2(hashCode__I__devirtual$(key)), val);
+}
+
+function $get_4(this$static, key){
+ return $get_1(this$static, key);
+}
+
+function $put_1(this$static, key, val){
+ $put(this$static, key, val);
+}
+
+function $addNode(this$static, n){
+ $add_0(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, 1), $intern_4, 0, 2, [n]));
+}
+
+function $addNode_0(this$static, n, i_0){
+ $put(this$static, valueOf_2(i_0), n);
+}
+
+function create_4(node){
+ return node?[node]:[];
+}
+
+function $add_0(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];
+ instanceOf(t, 55)?$putNumber(this$static, valueOf_2($length(this$static)), dynamicCast(t, 55).doubleValue()):instanceOf(t, 42)?$putBoolean(this$static, valueOf_2($length(this$static)), dynamicCast(t, 42).value_0):$put(this$static, valueOf_2($length(this$static)), t);
+ }
+ return this$static;
+}
+
+function camelize(s){
+ return s.replace(/\-(\w)/g, function(all, letter){
+ return letter.toUpperCase();
+ }
+ );
+}
+
+function copyNodeList(oldNodes, newNodes, create){
+ var e, i_0, i0, idlist, j, l, ret;
+ ret = !oldNodes || create?create_4(null):oldNodes;
+ idlist = {};
+ for (i0 = 0; !!oldNodes && i0 < oldNodes.length; i0++) {
+ e = oldNodes[i0];
+ $put(idlist, valueOf_2(getHashCode(e)), valueOf_2(1));
+ create && $addNode_0(ret, e, i0);
+ }
+ for (i_0 = 0 , l = newNodes.length , j = ret.length; i_0 < l; i_0++) {
+ e = newNodes[i_0];
+ !!idlist[valueOf_2(getHashCode(e))] || $addNode_0(ret, newNodes[i_0], j++);
+ }
+ return ret;
+}
+
+function hasProperty(o, name_0){
+ var p = name_0.split('.');
+ for (var i_0 in p) {
+ if (!(o && p[i_0] in o))
+ return false;
+ o = o[p[i_0]];
+ }
+ return true;
+}
+
+function isArray(o){
+ return Object.prototype.toString.call(o) == '[object Array]' || typeof o.length == 'number';
+}
+
+function isDetached(n){
+ if ($equalsIgnoreCase('html', n.nodeName)) {
+ return false;
+ }
+ return !$isOrHasChild((!n || !isElement(n)?null:n.nodeType == 9?n:n.ownerDocument).body, n);
+}
+
+function isElement(o){
+ return !!o && 'nodeType' in o && 'nodeName' in o;
+}
+
+function isFormData_0(o){
+ return Object.prototype.toString.call(o) == '[object FormData]';
+}
+
+function isFunction(o){
+ return Object.prototype.toString.call(o) == '[object Function]';
+}
+
+function param(js){
+ var i_0, k_0, k$array, k$index, k$max, l, o, p, ret, v;
+ ret = '';
+ for (k$array = $keys(js) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ ret += !ret.length?'':'&';
+ o = $getArray_0(js, '' + k_0);
+ if (o) {
+ for (i_0 = 0 , l = $length(o); i_0 < l; i_0++) {
+ ret += i_0 > 0?'&':'';
+ p = $getJavaScriptObject_0(o, valueOf_2(i_0));
+ p?(ret += k_0 + '[]=' + $JSON2String(p)):(ret += k_0 + '[]=' + $getString_0(o, valueOf_2(i_0)));
+ }
+ }
+ else {
+ p = $getJavaScriptObject_0(js, '' + k_0);
+ if (p) {
+ ret += k_0 + '=' + $JSON2String(p);
+ }
+ else {
+ v = $getString_0(js, '' + k_0);
+ v != null && !!v.length && !$equalsIgnoreCase('null', v) && (ret += k_0 + '=' + v);
+ }
+ }
+ }
+ return ret;
+}
+
+function parseJSON(json){
+ try {
+ return safeEval(json);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ return {};
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function prop_0(o, id_0){
+ return !o?null:$get_1(o, id_0);
+}
+
+function prop_1(o, id_0, val){
+ !!o && $put(o, id_0, val);
+}
+
+function runJavascriptFunction(o, meth, args){
+ return runJavascriptFunctionImpl(o, meth, $add_0([], args));
+}
+
+function runJavascriptFunctionImpl(o, meth, args){
+ var f = o || $wnd, p = meth.split('.');
+ for (var i_0 in p) {
+ o = f;
+ f = f[p[i_0]];
+ if (!f)
+ return null;
+ }
+ return isFunction(f) && gwtBox([f.apply(o, args)]);
+}
+
+function truth(a){
+ return a?true:false;
+}
+
+function wrapFunction(f){
+ return function(r){
+ var o = new ArrayList;
+ for (i in arguments) {
+ r = gwtBox([arguments[i]]);
+ o.add_1(r);
+ }
+ o = o.toArray();
+ f.setArguments(o);
+ return f.fe_0(o);
+ }
+ ;
+}
+
+function $exec(f, data_0){
+ return gwtBox([f(data_0)]);
+}
+
+function JsUtils$JsFunction(f){
+ Function_0.call(this);
+ this.jso = null;
+ isFunction(f) && (this.jso = f);
+}
+
+defineClass(164, 7, $intern_20, JsUtils$JsFunction);
+_.equals$ = function(obj){
+ return maskUndefined(this.jso) === maskUndefined(obj);
+}
+;
+_.execute_1 = function(){
+ !!this.jso && $setArguments(this, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [$exec(this.jso, $getArgument(this, 0, null))]));
+}
+;
+_.f_0 = function(){
+ !!this.jso && $setArguments(this, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [$exec(this.jso, $getArgument(this, 0, null))]));
+}
+;
+_.hashCode$ = function(){
+ return getHashCode(this.jso);
+}
+;
+var Lcom_google_gwt_query_client_js_JsUtils$JsFunction_2_classLit = createForClass('com.google.gwt.query.client.js', 'JsUtils/JsFunction', 164, Lcom_google_gwt_query_client_Function_2_classLit);
+function $JSON2String(o){
+ return $wnd.JSON.stringify(o);
+}
+
+function $parseXML(xml){
+ return (new DOMParser).parseFromString(xml, 'text/xml').documentElement;
+}
+
+function $unique(a){
+ var cache, e, i_0, id_0, ret;
+ ret = [];
+ cache = {};
+ for (i_0 = 0; i_0 < a.length; i_0++) {
+ e = a[i_0];
+ id_0 = getHashCode(e);
+ if (!cache[valueOf_2(id_0)]) {
+ $putNumber(cache, valueOf_2(id_0), 1);
+ $push(ret, e);
+ }
+ }
+ return ret;
+}
+
+function $clinit_Events(){
+ $clinit_Events = emptyMethod;
+ $clinit_GQuery();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Events_2_classLit, new Events$1);
+}
+
+function Events(gq){
+ $clinit_Events();
+ GQuery_2.call(this, gq);
+}
+
+defineClass(150, 8, {}, Events);
+var Lcom_google_gwt_query_client_plugins_Events_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Events', 150, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function $clinit_Observe(){
+ $clinit_Observe = emptyMethod;
+ $clinit_Events();
+ Observe = registerPlugin(Lcom_google_gwt_query_client_plugin_Observe_2_classLit, new Observe$1);
+}
+
+function $observe(this$static, p, handler){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ observeImpl(e, p, handler);
+ }
+ return this$static;
+}
+
+function $observe_0(this$static, init, f){
+ return $observe(this$static, init.p, f);
+}
+
+function Observe_0(gq){
+ $clinit_Observe();
+ Events.call(this, gq);
+}
+
+function observeImpl(e, cfg, handler){
+ if ($wnd.MutationObserver) {
+ var observer = new $wnd.MutationObserver(function(mutations){
+ onMutation(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 onMutation(handler, mutations){
+ var p;
+ p = $set({}, 'mutations', mutations);
+ instanceOf(handler, 7)?dynamicCast(handler, 7).f_1(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [p])):instanceOf(handler, 531) && dynamicCast(handler, 531).onMutation($mutations(dynamicCast(create_2(Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit, p), 582)));
+}
+
+defineClass(119, 150, {119:1}, Observe_0);
+var Observe;
+var Lcom_google_gwt_query_client_plugin_Observe_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe', 119, Lcom_google_gwt_query_client_plugins_Events_2_classLit);
+function Observe$1(){
+}
+
+defineClass(219, 1, $intern_23, Observe$1);
+_.init_0 = function(gq){
+ return new Observe_0(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugin_Observe$1_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe/1', 219, Ljava_lang_Object_2_classLit);
+var Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationObserverInit');
+var Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords');
+var Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords/MutationRecord');
+function $attributes(this$static){
+ $setBoolean(this$static.p, 'attributes');
+ return this$static;
+}
+
+function $characterData(this$static){
+ $setBoolean(this$static.p, 'characterData');
+ return this$static;
+}
+
+function $childList(this$static){
+ $setBoolean(this$static.p, 'childList');
+ return this$static;
+}
+
+function $subtree(this$static){
+ $setBoolean(this$static.p, 'subtree');
+ return this$static;
+}
+
+function Observe_MutationObserverInit_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(473, 56, {52:1, 53:1, 581:1}, Observe_MutationObserverInit_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationObserverInit_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationObserverInit_JsonBuilder', 473, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $mutations(this$static){
+ var a, a1, i_0, instance, l, l1, r, w;
+ a = $getArray(this$static.p, 'mutations');
+ l = !a?0:a.length;
+ r = initDim(Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit, $intern_4, 532, l, 0, 1);
+ a1 = $getArray(this$static.p, 'mutations');
+ l1 = r.length;
+ for (i_0 = 0; i_0 < l1; i_0++) {
+ w = $get_1(a1, valueOf_2(i_0));
+ instance = new Observe_MutationRecords_MutationRecord_JsonBuilder;
+ setCheck(r, i_0, dynamicCast($load(instance, w), 532));
+ }
+ return new Arrays$ArrayList(r);
+}
+
+function Observe_MutationRecords_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(474, 56, {52:1, 53:1, 582:1}, Observe_MutationRecords_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationRecords_JsonBuilder', 474, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function Observe_MutationRecords_MutationRecord_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(185, 56, {52:1, 53:1, 532:1}, Observe_MutationRecords_MutationRecord_JsonBuilder);
+var Lcom_google_gwt_query_client_plugin_Observe_1MutationRecords_1MutationRecord_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugin', 'Observe_MutationRecords_MutationRecord_JsonBuilder', 185, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $clinit_QueuePlugin(){
+ $clinit_QueuePlugin = emptyMethod;
+ $clinit_GQuery();
+ Queue = registerPlugin(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit, new QueuePlugin$1);
+ $ensureNamesAreInitialized(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+ QUEUE_DATA_PREFIX = ($ensureNamesAreInitialized(Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit) , Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit.typeName + '.Queue-');
+ DEFAULT_NAME = QUEUE_DATA_PREFIX + 'fx';
+}
+
+function $delay(this$static, milliseconds, name_0, funcs){
+ var e, e$array, e$index, e$max;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $queue(this$static, e, name_0, new QueuePlugin$DelayFunction(this$static, e, name_0, milliseconds, funcs));
+ }
+ return this$static;
+}
+
+function $delay_0(this$static, milliseconds, f){
+ return $delay(this$static, milliseconds, DEFAULT_NAME, f);
+}
+
+function $dequeueCurrentAndRunNext(this$static, elem, name_0){
+ var q;
+ q = $queue(this$static, elem, name_0, null);
+ if (q) {
+ q.size_0 == 0?null:(checkCriticalElement(q.size_0 != 0) , $removeNode(q, q.header.next));
+ $runNext(this$static, elem, name_0, q);
+ }
+}
+
+function $dequeueIfNotDoneYet(this$static, elem, name_0, object){
+ var queue;
+ queue = $queue(this$static, elem, name_0, null);
+ !!queue && maskUndefined(object) === maskUndefined(queue.size_0 == 0?null:(checkCriticalElement(queue.size_0 != 0) , queue.header.next.value_0)) && $dequeueCurrentAndRunNext(this$static, elem, name_0);
+}
+
+function $queue(this$static, elem, name_0, func){
+ var q;
+ if (elem) {
+ q = ($clinit_GQuery() , dynamicCast(data_1(elem, name_0, null), 536));
+ if (func) {
+ !q && (q = dynamicCast(data_1(elem, name_0, new LinkedList), 536));
+ $addNode_1(q, func, q.tail.prev, q.tail);
+ q.size_0 == 1 && $runNext(this$static, elem, name_0, q);
+ }
+ return q;
+ }
+ return null;
+}
+
+function $runNext(this$static, elem, name_0, q){
+ var f, key, c;
+ f = dynamicCast(q.size_0 == 0?null:(checkCriticalElement(q.size_0 != 0) , q.header.next.value_0), 7);
+ if (f) {
+ $fe_0(f, elem);
+ }
+ else {
+ $fire((key = name_0 + '.Empty' , c = ($clinit_GQuery() , dynamicCast(data_1(elem, key, null), 82)) , !c && (c = dynamicCast(data_1(elem, key, new Callbacks('once memory')), 82)) , c), initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, []));
+ $removeData(this$static, elem, name_0);
+ $removeData(this$static, elem, name_0 + '.Empty');
+ }
+}
+
+function QueuePlugin(gq){
+ $clinit_QueuePlugin();
+ GQuery_2.call(this, gq);
+}
+
+defineClass(80, 8, {80:1}, QueuePlugin);
+_.delay_0 = function(milliseconds, f){
+ return $delay(this, milliseconds, DEFAULT_NAME, f);
+}
+;
+var DEFAULT_NAME, QUEUE_DATA_PREFIX, Queue;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin', 80, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function $clinit_Effects(){
+ $clinit_Effects = emptyMethod;
+ $clinit_QueuePlugin();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Effects_2_classLit, new Effects$1);
+ browser.msie?'ms':browser.opera?'o':browser.mozilla?'moz':browser.webkit?'webkit':'';
+}
+
+function Effects(gq){
+ $clinit_Effects();
+ QueuePlugin.call(this, gq);
+}
+
+defineClass(344, 80, {80:1}, Effects);
+var Lcom_google_gwt_query_client_plugins_Effects_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Effects', 344, Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+function Effects$1(){
+}
+
+defineClass(345, 1, $intern_23, Effects$1);
+_.init_0 = function(gq){
+ return new Effects(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Effects$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Effects/1', 345, Ljava_lang_Object_2_classLit);
+function Events$1(){
+}
+
+defineClass(220, 1, $intern_23, Events$1);
+_.init_0 = function(gq){
+ return new Events(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Events$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Events/1', 220, Ljava_lang_Object_2_classLit);
+function QueuePlugin$1(){
+}
+
+defineClass(327, 1, $intern_23, QueuePlugin$1);
+_.init_0 = function(gq){
+ return new QueuePlugin(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/1', 327, Ljava_lang_Object_2_classLit);
+function QueuePlugin$DelayFunction(this$0, elem, name_0, delay, f){
+ this.this$01 = this$0;
+ Function_0.call(this);
+ this.elem = elem;
+ this.delay = delay;
+ this.funcs = f;
+ this.name_0 = name_0;
+}
+
+defineClass(325, 7, $intern_20, QueuePlugin$DelayFunction);
+_.f_0 = function(){
+ $schedule(new QueuePlugin$DelayFunction$SimpleTimer(this), this.delay);
+}
+;
+_.delay = 0;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/DelayFunction', 325, Lcom_google_gwt_query_client_Function_2_classLit);
+function QueuePlugin$DelayFunction$SimpleTimer(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(326, 48, {}, QueuePlugin$DelayFunction$SimpleTimer);
+_.run = function(){
+ var f, f$array, f$index, f$max;
+ for (f$array = this.this$11.funcs , f$index = 0 , f$max = f$array.length; f$index < f$max; ++f$index) {
+ f = f$array[f$index];
+ $fe_0(f, this.this$11.elem);
+ }
+ $dequeueIfNotDoneYet(this.this$11.this$01, this.this$11.elem, this.this$11.name_0, this.this$11);
+}
+;
+var Lcom_google_gwt_query_client_plugins_QueuePlugin$DelayFunction$SimpleTimer_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'QueuePlugin/DelayFunction/SimpleTimer', 326, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $clinit_Widgets(){
+ $clinit_Widgets = emptyMethod;
+ $clinit_QueuePlugin();
+ excludedTags = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['html', 'body', 'head', 'tr', 'thead', 'tfoot', 'options', 'script', 'noscript', 'style', 'title']);
+ registerPlugin(Lcom_google_gwt_query_client_plugins_Widgets_2_classLit, new Widgets$1);
+}
+
+function $widget_0(e){
+ var widget;
+ if (matchesTags(e, excludedTags)) {
+ return null;
+ }
+ widget = new WidgetsHtmlPanel(e);
+ return widget;
+}
+
+function $widgets(this$static){
+ var e, e$array, e$index, e$max, result, w;
+ result = new ArrayList;
+ for (e$array = this$static.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ w = $widget_0(e);
+ !!w && $add_6(result, ($clinit_DOM() , w.element));
+ }
+ return dynamicCast($as($_2(result), Lcom_google_gwt_query_client_plugins_Widgets_2_classLit), 67);
+}
+
+function Widgets_0(gq){
+ $clinit_Widgets();
+ QueuePlugin.call(this, gq);
+}
+
+defineClass(67, 80, {80:1, 67:1}, Widgets_0);
+var excludedTags;
+var Lcom_google_gwt_query_client_plugins_Widgets_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Widgets', 67, Lcom_google_gwt_query_client_plugins_QueuePlugin_2_classLit);
+function Widgets$1(){
+}
+
+defineClass(324, 1, $intern_23, Widgets$1);
+_.init_0 = function(gq){
+ return new Widgets_0(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_Widgets$1_2_classLit = createForClass('com.google.gwt.query.client.plugins', 'Widgets/1', 324, Ljava_lang_Object_2_classLit);
+function $clinit_Ajax(){
+ $clinit_Ajax = emptyMethod;
+ $clinit_GQuery();
+ registerPlugin(Lcom_google_gwt_query_client_plugins_ajax_Ajax_2_classLit, new Ajax$1);
+}
+
+function Ajax(gq){
+ $clinit_Ajax();
+ GQuery_2.call(this, gq);
+}
+
+function resolveSettings(settings){
+ var contentType, data_0, dataString, type_0, url_0;
+ url_0 = $getStr(settings.p, 'url');
+ type_0 = 'POST';
+ $getStr(settings.p, 'type') != null && (type_0 = $getStr(settings.p, 'type').toUpperCase());
+ $equalsIgnoreCase('jsonp', $getStr(settings.p, 'dataType')) && (type_0 = 'GET');
+ $set(settings.p, 'type', type_0);
+ data_0 = (!$getJavaScriptObject(settings.p, 'data') && $set(settings.p, 'data', {}) , $getJavaScriptObject(settings.p, 'data'));
+ if (data_0) {
+ if (isFormData_0(data_0)) {
+ dataString = null;
+ contentType = 'application/x-www-form-urlencoded';
+ }
+ else if ($matches($getStr(settings.p, 'type'), '(POST|PUT)') && $equalsIgnoreCase('json', $getStr(settings.p, 'dataType'))) {
+ dataString = $JSON2String(data_0);
+ contentType = 'application/json; charset=utf-8';
+ }
+ else {
+ dataString = param(data_0);
+ contentType = 'application/x-www-form-urlencoded';
+ }
+ $set(settings.p, 'dataString', dataString);
+ $set(settings.p, 'contentType', contentType);
+ }
+ if ($equals_2('GET', $getStr(settings.p, 'type')) && $getStr(settings.p, 'dataString') != null) {
+ url_0 += (url_0.indexOf('?') != -1?'&':'?') + $getStr(settings.p, 'dataString');
+ $set(settings.p, 'url', url_0);
+ }
+}
+
+defineClass(420, 8, {}, Ajax);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax', 420, Lcom_google_gwt_query_client_GQuery_2_classLit);
+function Ajax$1(){
+}
+
+defineClass(421, 1, $intern_23, Ajax$1);
+_.init_0 = function(gq){
+ return new Ajax(gq);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/1', 421, Ljava_lang_Object_2_classLit);
+function Ajax$2(val$dataType){
+ this.val$dataType1 = val$dataType;
+ Function_0.call(this);
+}
+
+defineClass(422, 7, $intern_20, Ajax$2);
+_.f_1 = function(args){
+ var e, lastArg, request, response, retData;
+ response = dynamicCast($getArgument(this, 0, null), 145);
+ request = dynamicCast($getArgument(this, 1, null), 137);
+ retData = response.xmlHttpRequest.responseText;
+ if (retData != null && !$equals_2('', retData)) {
+ try {
+ if ($equalsIgnoreCase('xml', this.val$dataType1)) {
+ retData = $parseXML(response.xmlHttpRequest.responseText);
+ }
+ else if ($equalsIgnoreCase('json', this.val$dataType1)) {
+ retData = create_3(response.xmlHttpRequest.responseText);
+ }
+ else {
+ retData = response.xmlHttpRequest.responseText;
+ $equalsIgnoreCase('script', this.val$dataType1) && $inject($setWindow(($clinit_ScriptInjector() , new ScriptInjector$FromString(dynamicCastToString(retData))), ($clinit_GQuery() , window_1)));
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ e = $e0;
+ uncaughtExceptionHandler?$logException(uncaughtExceptionHandler, e, false):$printStackTrace((lastArg = e , lastArg));
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ return initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [retData, 'success', request, response]);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/2', 422, Lcom_google_gwt_query_client_Function_2_classLit);
+function Ajax$3(){
+ Function_0.call(this);
+}
+
+defineClass(423, 7, $intern_20, Ajax$3);
+_.f_1 = function(args){
+ var exception, msg, request;
+ exception = dynamicCast($getArgument(this, 0, null), 12);
+ request = dynamicCast($getArgument(this, 1, Lcom_google_gwt_http_client_Request_2_classLit), 137);
+ msg = '' + exception;
+ return initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [null, msg, request, null, exception]);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax/3', 423, Lcom_google_gwt_query_client_Function_2_classLit);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit = createForInterface('com.google.gwt.query.client.plugins.ajax', 'Ajax/Settings');
+function AjaxTransportJs(){
+}
+
+defineClass(143, 1, {}, AjaxTransportJs);
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs', 143, Ljava_lang_Object_2_classLit);
+function $done(this$static, f){
+ $add_1(this$static.dfd.resolve, f);
+ return this$static;
+}
+
+function $fail(this$static, f){
+ $add_1(this$static.dfd.reject, f);
+ return this$static;
+}
+
+function $progress(this$static, f){
+ $add_1(this$static.dfd.notify, f);
+ return this$static;
+}
+
+function $then(this$static, f){
+ var newDfd;
+ newDfd = new Deferred;
+ $done(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 0)]));
+ $fail(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 1)]));
+ $progress(this$static, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$DeferredPromiseImpl$ThenFunction(newDfd, f, 2)]));
+ return !newDfd.promise && (newDfd.promise = new Deferred$DeferredPromiseImpl_0(newDfd)) , newDfd.promise;
+}
+
+function Deferred$DeferredPromiseImpl(){
+ new Deferred$DeferredPromiseImpl$1(this);
+ new Deferred$DeferredPromiseImpl$2(this);
+ this.dfd = new Deferred;
+}
+
+function Deferred$DeferredPromiseImpl_0(o){
+ new Deferred$DeferredPromiseImpl$1(this);
+ new Deferred$DeferredPromiseImpl$2(this);
+ this.dfd = o;
+}
+
+defineClass(100, 1, $intern_24, Deferred$DeferredPromiseImpl_0);
+_.always = function(f){
+ return $add_1(this.dfd.resolve, f) , $add_1(this.dfd.reject, f) , this;
+}
+;
+_.isResolved = function(){
+ return $equals_2('resolved', this.dfd.state);
+}
+;
+_.progress_0 = function(f){
+ return $progress(this, f);
+}
+;
+_.toString$ = function(){
+ return 'Promise this=' + getHashCode(this) + ' ' + this.dfd;
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl', 100, Ljava_lang_Object_2_classLit);
+function PromiseFunction(){
+ Deferred$DeferredPromiseImpl.call(this);
+ this.f_3(this.dfd);
+}
+
+defineClass(151, 100, $intern_24);
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseFunction', 151, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function AjaxTransportJs$1(val$settings){
+ this.val$settings2 = val$settings;
+ PromiseFunction.call(this);
+}
+
+defineClass(499, 151, $intern_24, AjaxTransportJs$1);
+_.f_3 = function(dfd){
+ this.scriptElement = $inject_0($setCallback($setWindow_0(($clinit_ScriptInjector() , new ScriptInjector$FromUrl($getStr(this.val$settings2.p, 'url'))), ($clinit_GQuery() , window_1)), new AjaxTransportJs$1$1(this, dfd)));
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1', 499, Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit);
+function $onFailure_0(this$static, reason){
+ $reject(this$static.val$dfd2, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [reason]));
+}
+
+function $onSuccess(this$static, result){
+ $onSuccess_0((throwClassCastExceptionUnlessNull(result) , this$static));
+}
+
+function $onSuccess_0(this$static){
+ ($clinit_GQuery() , new GQuery_0(window_1)).delay_0(0, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new AjaxTransportJs$1$1$1(this$static, this$static.val$dfd2)]));
+}
+
+function AjaxTransportJs$1$1(this$1, val$dfd){
+ this.this$11 = this$1;
+ this.val$dfd2 = val$dfd;
+}
+
+defineClass(500, 1, {540:1}, AjaxTransportJs$1$1);
+_.onFailure_0 = function(reason){
+ $onFailure_0(this, dynamicCast(reason, 13));
+}
+;
+_.onSuccess_0 = function(result){
+ $onSuccess(this, result);
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1/1', 500, Ljava_lang_Object_2_classLit);
+function AjaxTransportJs$1$1$1(this$2, val$dfd){
+ this.this$21 = this$2;
+ this.val$dfd2 = val$dfd;
+ Function_0.call(this);
+}
+
+defineClass(501, 7, $intern_20, AjaxTransportJs$1$1$1);
+_.f_0 = function(){
+ $resolve(this.val$dfd2, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [this.this$21.this$11.scriptElement]));
+}
+;
+var Lcom_google_gwt_query_client_plugins_ajax_AjaxTransportJs$1$1$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'AjaxTransportJs/1/1/1', 501, Lcom_google_gwt_query_client_Function_2_classLit);
+function Ajax_Settings_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(475, 56, {52:1, 53:1, 593:1}, Ajax_Settings_JsonBuilder);
+var Lcom_google_gwt_query_client_plugins_ajax_Ajax_1Settings_1JsonBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugins.ajax', 'Ajax_Settings_JsonBuilder', 475, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $add_1(this$static, f){
+ $addAll(this$static, f);
+ return this$static;
+}
+
+function $addAll(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.done && !!this$static.stack_0 && !!c && (!this$static.isUnique || $indexOf_3(this$static.stack_0, c, 0) == -1) && $add_6(this$static.stack_0, c);
+ this$static.isMemory && !!this$static.memory && $run_0(c, $toArray_1(this$static.memory));
+ }
+}
+
+function $disable(this$static){
+ this$static.stack_0 = null;
+ this$static.done = true;
+ return this$static;
+}
+
+function $fire(this$static, o){
+ var c, c$iterator;
+ if (!this$static.done) {
+ this$static.done = this$static.isOnce;
+ this$static.isMemory && (this$static.memory = new ArrayList_1(new Arrays$ArrayList(o)));
+ if (this$static.stack_0)
+ for (c$iterator = new AbstractList$IteratorImpl(this$static.stack_0); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , c$iterator.this$01_0.get_0(c$iterator.last = c$iterator.i++));
+ if (!$run_0(c, o) && this$static.stopOnFalse) {
+ break;
+ }
+ }
+ }
+ return this$static;
+}
+
+function $lock(this$static){
+ this$static.isMemory || $disable(this$static);
+ this$static.stack_0 = null;
+ return this$static;
+}
+
+function $run_0(c, o){
+ var r;
+ o != null && o.length == 1 && o[0] != null && (getClass__Ljava_lang_Class___devirtual$(o[0]).modifiers & 4) != 0 && (o = dynamicCast(o[0], 4));
+ if (instanceOf(c, 7)) {
+ r = dynamicCast(c, 7).f_1(o);
+ return !instanceOf(r, 42) || dynamicCast(r, 42).value_0;
+ }
+ else
+ instanceOf(c, 540) && $onSuccess(dynamicCast(c, 540), o);
+ return true;
+}
+
+function $status(this$static){
+ return 'stack=' + (!this$static.stack_0?'null':valueOf_2(this$static.stack_0.array.length)) + ' ' + this$static.done;
+}
+
+function Callbacks(options){
+ this.stack_0 = new ArrayList;
+ this.isOnce = options.indexOf('once') != -1;
+ this.isMemory = options.indexOf('memory') != -1;
+ this.isUnique = options.indexOf('unique') != -1;
+ this.stopOnFalse = options.indexOf('stopOnFalse') != -1;
+}
+
+defineClass(82, 1, {82:1}, Callbacks);
+_.done = false;
+_.isMemory = false;
+_.isOnce = false;
+_.isUnique = false;
+_.memory = null;
+_.stopOnFalse = false;
+var Lcom_google_gwt_query_client_plugins_deferred_Callbacks_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Callbacks', 82, Ljava_lang_Object_2_classLit);
+function $notify(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.notify, o) , this$static;
+}
+
+function $notify_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.notify, o);
+ return this$static;
+}
+
+function $reject(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.reject, o) , this$static;
+}
+
+function $reject_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.reject, o);
+ return this$static;
+}
+
+function $resolve(this$static, o){
+ return this$static.state == 'pending' && $fire(this$static.resolve, o) , this$static;
+}
+
+function $resolve_0(this$static, o){
+ this$static.state == 'pending' && $fire(this$static.resolve, o);
+ return this$static;
+}
+
+function Deferred(){
+ this.notify = new Callbacks('memory');
+ this.reject = new Callbacks('once memory');
+ this.resolve = new Callbacks('once memory');
+ $add_1(this.resolve, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$2(this)]));
+ $add_1(this.reject, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$3(this)]));
+}
+
+defineClass(152, 1, {}, Deferred);
+_.toString$ = function(){
+ return 'Deferred this=' + getHashCode(this) + ' promise=' + (!this.promise && (this.promise = new Deferred$DeferredPromiseImpl_0(this)) , getHashCode(this.promise)) + ' state=' + this.promise.dfd.state + ' restatus=' + $status(this.resolve);
+}
+;
+_.promise = null;
+_.state = 'pending';
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred', 152, Ljava_lang_Object_2_classLit);
+function Deferred$2(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(223, 7, $intern_20, Deferred$2);
+_.f_0 = function(){
+ this.this$01.state = 'resolved';
+ $disable(this.this$01.resolve);
+ $lock(this.this$01.notify);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/2', 223, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$3(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(224, 7, $intern_20, Deferred$3);
+_.f_0 = function(){
+ this.this$01.state = 'rejected';
+ $disable(this.this$01.reject);
+ $lock(this.this$01.notify);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/3', 224, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$1(this$1){
+ this.this$11 = this$1;
+ Function_0.call(this);
+}
+
+defineClass(153, 7, $intern_20, Deferred$DeferredPromiseImpl$1);
+_.f_0 = function(){
+ $resolve_0(this.this$11.dfd, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/1', 153, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$2(this$1){
+ this.this$11 = this$1;
+ Function_0.call(this);
+}
+
+defineClass(154, 7, $intern_20, Deferred$DeferredPromiseImpl$2);
+_.f_0 = function(){
+ $reject_0(this.this$11.dfd, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/2', 154, Lcom_google_gwt_query_client_Function_2_classLit);
+function $settle(this$static, action, args){
+ action == 0 && $resolve(this$static.dfd, args);
+ action == 1 && $reject(this$static.dfd, args);
+ action == 2 && $notify(this$static.dfd, args);
+}
+
+function Deferred$DeferredPromiseImpl$ThenFunction(newDfd, subordinates, funcType){
+ Function_0.call(this);
+ this.cont = false;
+ this.type_0 = funcType;
+ this.filter_0 = subordinates.length > this.type_0?subordinates[this.type_0]:null;
+ this.dfd = newDfd;
+ this.cont = false;
+}
+
+defineClass(120, 7, $intern_20, Deferred$DeferredPromiseImpl$ThenFunction);
+_.f_0 = function(){
+ var newArgs, oldArgs, p;
+ oldArgs = this.arguments_0;
+ if (this.filter_0) {
+ newArgs = $setArguments(this.filter_0, oldArgs).f_1(oldArgs);
+ if (instanceOf(newArgs, 98)) {
+ p = dynamicCast(newArgs, 98);
+ this.type_0 == 2?p.progress_0(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$DeferredPromiseImpl$ThenFunction$1(this)])):p.always(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Deferred$DeferredPromiseImpl$ThenFunction$2(this, p)]));
+ }
+ else {
+ newArgs = $equals_0(($clinit_Boolean() , TRUE), newArgs)?oldArgs:newArgs != null && (getClass__Ljava_lang_Class___devirtual$(newArgs).modifiers & 4) != 0?dynamicCast(newArgs, 4):newArgs;
+ $settle(this, this.type_0, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [newArgs]));
+ }
+ }
+ else {
+ $settle(this, this.type_0, oldArgs);
+ }
+}
+;
+_.cont = false;
+_.type_0 = 0;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction', 120, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$ThenFunction$1(this$2){
+ this.this$21 = this$2;
+ Function_0.call(this);
+}
+
+defineClass(221, 7, $intern_20, Deferred$DeferredPromiseImpl$ThenFunction$1);
+_.f_0 = function(){
+ $settle(this.this$21, 2, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction/1', 221, Lcom_google_gwt_query_client_Function_2_classLit);
+function Deferred$DeferredPromiseImpl$ThenFunction$2(this$2, val$p){
+ this.this$21 = this$2;
+ this.val$p2 = val$p;
+ Function_0.call(this);
+}
+
+defineClass(222, 7, $intern_20, Deferred$DeferredPromiseImpl$ThenFunction$2);
+_.f_0 = function(){
+ $settle(this.this$21, (this.this$21.type_0 == 0 || this.this$21.type_0 == 1 && this.this$21.cont) && this.val$p2.isResolved()?0:1, this.arguments_0);
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl$ThenFunction$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'Deferred/DeferredPromiseImpl/ThenFunction/2', 222, Lcom_google_gwt_query_client_Function_2_classLit);
+function $createRequestVltr(rq, ms, cb){
+ return new Request(rq, ms, cb);
+}
+
+function $fireOnResponseReceivedVltr(rq, cb){
+ rq.fireOnResponseReceived(cb);
+}
+
+function $onError(this$static, request, exception){
+ $reject_0(this$static.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [exception, request]));
+}
+
+function $onResponseReceived(this$static, request, response){
+ var status_0, statusText, status_1;
+ status_0 = response.xmlHttpRequest.status;
+ if (status_0 <= 0 || status_0 >= 400) {
+ statusText = status_0 <= 0?'Bad CORS':response.xmlHttpRequest.statusText;
+ $onError(this$static, request, new RequestException('HTTP ERROR: ' + status_0 + ' ' + statusText + '\n' + response.xmlHttpRequest.responseText));
+ }
+ else {
+ $resolve_0(this$static.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [response, request]));
+ }
+}
+
+function PromiseReqBuilder(settings){
+ var ctype, data_0, e, headerKey, headerKey$array, headerKey$index, headerKey$max, headers, httpMethod, isFormData, request, requestPermissionException, upload, url_0, xmlHttpRequest;
+ Deferred$DeferredPromiseImpl.call(this);
+ httpMethod = $getStr(settings.p, 'type');
+ url_0 = $getStr(settings.p, 'url');
+ data_0 = (!$getJavaScriptObject(settings.p, 'data') && $set(settings.p, 'data', {}) , $getJavaScriptObject(settings.p, 'data'));
+ ctype = $getStr(settings.p, 'contentType');
+ isFormData = ($clinit_Boolean() , !!data_0 && isFormData_0(data_0)?TRUE:FALSE);
+ xmlHttpRequest = new $wnd.XMLHttpRequest;
+ try {
+ $getStr(settings.p, 'username') != null && $getStr(settings.p, 'password') != null?$open_0(xmlHttpRequest, httpMethod, url_0, $getStr(settings.p, 'username'), $getStr(settings.p, 'password')):$getStr(settings.p, 'username') != null?$open(xmlHttpRequest, httpMethod, url_0, $getStr(settings.p, 'username')):(xmlHttpRequest.open(httpMethod, url_0, true) , undefined);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 57)) {
+ e = $e0;
+ requestPermissionException = new RequestPermissionException(url_0);
+ $initCause(requestPermissionException, new RequestException(e.getMessage()));
+ $reject_0(this.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [e, null]));
+ return;
+ }
+ else
+ throw unwrap($e0);
+ }
+ prop_1(xmlHttpRequest, 'onprogress', wrapFunction(new PromiseReqBuilder$1(this)));
+ upload = dynamicCastJso(!xmlHttpRequest?null:$get_1(xmlHttpRequest, 'upload'));
+ prop_1(upload, 'onprogress', wrapFunction(new PromiseReqBuilder$2(this)));
+ headers = (!$getJavaScriptObject(settings.p, 'headers') && $set(settings.p, 'headers', {}) , $getJavaScriptObject(settings.p, 'headers'));
+ if (headers) {
+ for (headerKey$array = $keys(headers) , headerKey$index = 0 , headerKey$max = headerKey$array.length; headerKey$index < headerKey$max; ++headerKey$index) {
+ headerKey = headerKey$array[headerKey$index];
+ $setRequestHeader(xmlHttpRequest, headerKey, '' + $get_1(headers, '' + headerKey));
+ }
+ }
+ !!data_0 && !isFormData.value_0 && !$equalsIgnoreCase('GET', httpMethod) && $setRequestHeader(xmlHttpRequest, 'Content-Type', ctype);
+ prop_1(xmlHttpRequest, 'withCredentials', $getBoolean(settings.p)?TRUE:FALSE);
+ request = $createRequestVltr(xmlHttpRequest, round_int($getFloat(settings.p, 'timeout')), this);
+ $setOnReadyStateChange(xmlHttpRequest, new PromiseReqBuilder$3(this, request));
+ try {
+ runJavascriptFunction(xmlHttpRequest, 'send', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [isFormData.value_0?data_0:$getStr(settings.p, 'dataString')]));
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (instanceOf($e1, 57)) {
+ e = $e1;
+ $reject_0(this.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [e, null]));
+ }
+ else
+ throw unwrap($e1);
+ }
+}
+
+defineClass(519, 100, $intern_24, PromiseReqBuilder);
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder', 519, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function PromiseReqBuilder$1(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(520, 7, $intern_20, PromiseReqBuilder$1);
+_.f_0 = function(){
+ var loaded, p, percent, total;
+ p = dynamicCastJso($getArgument(this, 0, null));
+ total = $getDouble(p, 'total');
+ loaded = $getDouble(p, 'loaded');
+ percent = loaded == 0?0:total == 0?100:100 * loaded / total;
+ $notify_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [new Double(total), new Double(loaded), new Double(percent), 'download']));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/1', 520, Lcom_google_gwt_query_client_Function_2_classLit);
+function PromiseReqBuilder$2(this$0){
+ this.this$01 = this$0;
+ Function_0.call(this);
+}
+
+defineClass(521, 7, $intern_20, PromiseReqBuilder$2);
+_.f_0 = function(){
+ var loaded, p, percent, total;
+ p = dynamicCastJso($getArgument(this, 0, null));
+ total = $getDouble(p, 'total');
+ loaded = $getDouble(p, 'loaded');
+ percent = 100 * loaded / total;
+ $notify_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [new Double(total), new Double(loaded), new Double(percent), 'upload']));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$2_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/2', 521, Lcom_google_gwt_query_client_Function_2_classLit);
+function PromiseReqBuilder$3(this$0, val$request){
+ this.this$01 = this$0;
+ this.val$request2 = val$request;
+}
+
+defineClass(522, 1, {}, PromiseReqBuilder$3);
+_.onReadyStateChange = function(xhr){
+ if (xhr.readyState == 4) {
+ $clearOnReadyStateChange(xhr);
+ $fireOnResponseReceivedVltr(this.val$request2, this.this$01);
+ }
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilder$3_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilder/3', 522, Ljava_lang_Object_2_classLit);
+function $clinit_PromiseReqBuilderJSONP(){
+ $clinit_PromiseReqBuilderJSONP = emptyMethod;
+ callbackRegex = new RegExp('^(.+[\\?&])([^=]+)=\\?(.*)$');
+}
+
+function $send(bld, url_0, cb){
+ bld.send(url_0, cb, false);
+}
+
+function PromiseReqBuilderJSONP(url_0, timeout){
+ $clinit_PromiseReqBuilderJSONP();
+ PromiseReqBuilderJSONP_0.call(this, url_0, null, timeout);
+}
+
+function PromiseReqBuilderJSONP_0(url_0, callbackParam, timeout){
+ var builder, tmp;
+ Deferred$DeferredPromiseImpl.call(this);
+ builder = new JsonpRequestBuilder;
+ timeout > 0 && (builder.timeout = timeout);
+ if (callbackParam == null) {
+ tmp = $exec_0(callbackRegex, url_0);
+ if (!!tmp && tmp.length == 4) {
+ callbackParam = tmp[2];
+ url_0 = tmp[1] + tmp[3];
+ }
+ }
+ callbackParam != null && (builder.callbackParam = callbackParam);
+ $send(builder, url_0, new PromiseReqBuilderJSONP$1(this));
+}
+
+defineClass(194, 100, $intern_24, PromiseReqBuilderJSONP);
+var callbackRegex;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilderJSONP', 194, Lcom_google_gwt_query_client_plugins_deferred_Deferred$DeferredPromiseImpl_2_classLit);
+function PromiseReqBuilderJSONP$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(518, 1, {}, PromiseReqBuilderJSONP$1);
+_.onFailure_2 = function(caught){
+ $reject_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [caught]));
+}
+;
+_.onSuccess_0 = function(result){
+ $resolve_0(this.this$01.dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [result]));
+}
+;
+var Lcom_google_gwt_query_client_plugins_deferred_PromiseReqBuilderJSONP$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.deferred', 'PromiseReqBuilderJSONP/1', 518, Ljava_lang_Object_2_classLit);
+function $clinit_EventsListener(){
+ $clinit_EventsListener = emptyMethod;
+ special = new HashMap;
+ special.put(MOUSEENTER, new EventsListener$MouseSpecialEvent);
+ special.put(MOUSELEAVE, new EventsListener$MouseSpecialEvent);
+}
+
+function getGQueryEventListener(elem){
+ $clinit_EventsListener();
+ return elem.__gqueryevent;
+}
+
+var MOUSEENTER = 'mouseenter', MOUSELEAVE = 'mouseleave', special;
+defineClass(452, 1, {});
+var Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'SpecialEvent/DefaultSpecialEvent', 452, Ljava_lang_Object_2_classLit);
+function EventsListener$MouseSpecialEvent(){
+ new SpecialEvent$DefaultSpecialEvent$1;
+ new EventsListener$MouseSpecialEvent$1;
+}
+
+defineClass(178, 452, {}, EventsListener$MouseSpecialEvent);
+var Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'EventsListener/MouseSpecialEvent', 178, Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent_2_classLit);
+function EventsListener$MouseSpecialEvent$1(){
+ Function_0.call(this);
+}
+
+defineClass(453, 7, $intern_20, EventsListener$MouseSpecialEvent$1);
+var Lcom_google_gwt_query_client_plugins_events_EventsListener$MouseSpecialEvent$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'EventsListener/MouseSpecialEvent/1', 453, Lcom_google_gwt_query_client_Function_2_classLit);
+function SpecialEvent$DefaultSpecialEvent$1(){
+ Function_0.call(this);
+}
+
+defineClass(454, 7, $intern_20, SpecialEvent$DefaultSpecialEvent$1);
+var Lcom_google_gwt_query_client_plugins_events_SpecialEvent$DefaultSpecialEvent$1_2_classLit = createForClass('com.google.gwt.query.client.plugins.events', 'SpecialEvent/DefaultSpecialEvent/1', 454, Lcom_google_gwt_query_client_Function_2_classLit);
+function $addStyleName(this$static, style){
+ setStyleName(this$static.getStyleElement(), style, true);
+}
+
+function $getElement(this$static){
+ return $clinit_DOM() , this$static.element;
+}
+
+function $removeStyleDependentName(this$static, styleSuffix){
+ $setStyleName(this$static, getStylePrimaryName(($clinit_PopupPanel() , impl_4).getStyleElement_0(getFirstChild(($clinit_DOM() , this$static.element)))) + '-' + styleSuffix, false);
+}
+
+function $removeStyleName(this$static, style){
+ setStyleName(this$static.getStyleElement(), style, false);
+}
+
+function $resolvePotentialElement(){
+ throw new UnsupportedOperationException;
+}
+
+function $setElement_0(this$static, elem){
+ this$static.element = elem;
+}
+
+function $setStyleName(this$static, style, add_0){
+ setStyleName(($clinit_PopupPanel() , impl_4).getStyleElement_0(getFirstChild(($clinit_DOM() , this$static.element))), style, add_0);
+}
+
+function $sinkBitlessEvent(this$static, eventTypeName){
+ sinkBitlessEvent(($clinit_DOM() , this$static.element), eventTypeName);
+}
+
+function getStylePrimaryName(elem){
+ var fullClassName, spaceIdx;
+ fullClassName = $getClassName(elem);
+ spaceIdx = $indexOf_0(fullClassName, fromCodePoint(32));
+ if (spaceIdx >= 0) {
+ return fullClassName.substr(0, spaceIdx);
+ }
+ return fullClassName;
+}
+
+function setStyleName(elem, style, add_0){
+ if (!elem) {
+ throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
+ }
+ style = $trim(style);
+ if (style.length == 0) {
+ throw new IllegalArgumentException_0('Style names cannot be empty');
+ }
+ add_0?$addClassName(elem, style):$removeClassName(elem, style);
+}
+
+function setStylePrimaryName(elem, style){
+ if (!elem) {
+ throw new RuntimeException_0('Null widget handle. If you are creating a composite, ensure that initWidget() has been called.');
+ }
+ style = $trim(style);
+ if (style.length == 0) {
+ throw new IllegalArgumentException_0('Style names cannot be empty');
+ }
+ updatePrimaryAndDependentStyleNames(elem, style);
+}
+
+function updatePrimaryAndDependentStyleNames(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_0 = 1, n = classes.length; i_0 < n; i_0++) {
+ var name_0 = classes[i_0];
+ name_0.length > oldPrimaryStyleLen && name_0.charAt(oldPrimaryStyleLen) == '-' && name_0.indexOf(oldPrimaryStyle) == 0 && (classes[i_0] = newPrimaryStyle + name_0.substring(oldPrimaryStyleLen));
+ }
+ elem.className = classes.join(' ');
+}
+
+defineClass(21, 1, {27:1, 21:1});
+_.getStyleElement = function(){
+ return $clinit_DOM() , this.element;
+}
+;
+_.resolvePotentialElement = function(){
+ return $resolvePotentialElement();
+}
+;
+_.setHeight_0 = function(height){
+ ($clinit_DOM() , this.element).style['height'] = height;
+}
+;
+_.setWidth = function(width_0){
+ ($clinit_DOM() , this.element).style['width'] = width_0;
+}
+;
+_.toString$ = function(){
+ if (!this.element) {
+ return '(null handle)';
+ }
+ return $getString(($clinit_DOM() , this.element));
+}
+;
+var Lcom_google_gwt_user_client_ui_UIObject_2_classLit = createForClass('com.google.gwt.user.client.ui', 'UIObject', 21, Ljava_lang_Object_2_classLit);
+function $addDomHandler(this$static, handler, type_0){
+ var typeInt;
+ typeInt = getTypeInt(type_0.name_0);
+ typeInt == -1?$sinkBitlessEvent(this$static, type_0.name_0):this$static.eventsToSink == -1?sinkEvents_0(this$static.inputElem, typeInt | ($clinit_DOM() , $getEventsSunk(this$static.inputElem))):this$static.eventsToSink == -1?sinkEvents(($clinit_DOM() , this$static.element), typeInt | (this$static.element.__eventBits || 0)):(this$static.eventsToSink |= typeInt);
+ return $addHandler(!this$static.handlerManager?(this$static.handlerManager = new HandlerManager(this$static)):this$static.handlerManager, type_0, handler);
+}
+
+function $addHandler_0(this$static, handler, type_0){
+ return $addHandler(!this$static.handlerManager?(this$static.handlerManager = new HandlerManager(this$static)):this$static.handlerManager, type_0, handler);
+}
+
+function $fireEvent_0(this$static, event_0){
+ !!this$static.handlerManager && $fireEvent(this$static.handlerManager, event_0);
+}
+
+function $onAttach(this$static){
+ var bitsToAdd;
+ if (this$static.isAttached()) {
+ throw new IllegalStateException_0("Should only call onAttach when the widget is detached from the browser's document");
+ }
+ this$static.attached = true;
+ $clinit_DOM();
+ setEventListener(this$static.element, this$static);
+ bitsToAdd = this$static.eventsToSink;
+ this$static.eventsToSink = -1;
+ bitsToAdd > 0 && this$static.sinkEvents(bitsToAdd);
+ this$static.doAttachChildren();
+ this$static.onLoad();
+ fire(this$static);
+}
+
+function $onBrowserEvent(this$static, event_0){
+ var related;
+ switch ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , event_0).type)) {
+ case 16:
+ case 32:
+ related = impl_0.eventGetRelatedTarget(event_0);
+ if (!!related && $isOrHasChild(this$static.element, related)) {
+ return;
+ }
+
+ }
+ fireNativeEvent(event_0, this$static, this$static.element);
+}
+
+function $onDetach(this$static){
+ if (!this$static.isAttached()) {
+ throw new IllegalStateException_0("Should only call onDetach when the widget is attached to the browser's document");
+ }
+ try {
+ this$static.onUnload();
+ fire(this$static);
+ }
+ finally {
+ try {
+ this$static.doDetachChildren();
+ }
+ finally {
+ $clinit_DOM();
+ setEventListener(this$static.element, null);
+ this$static.attached = false;
+ }
+ }
+}
+
+function $removeFromParent_0(this$static){
+ if (!this$static.parent_0) {
+ $clinit_RootPanel();
+ $contains_2(widgetsToDetach, this$static) && detachNow(this$static);
+ }
+ else if (instanceOf(this$static.parent_0, 40)) {
+ dynamicCast(this$static.parent_0, 40).remove(this$static);
+ }
+ else if (this$static.parent_0) {
+ throw new IllegalStateException_0("This widget's parent does not implement HasWidgets");
+ }
+}
+
+function $setParent(this$static, parent_0){
+ var oldParent;
+ oldParent = this$static.parent_0;
+ if (!parent_0) {
+ try {
+ !!oldParent && oldParent.isAttached() && this$static.onDetach();
+ }
+ finally {
+ this$static.parent_0 = null;
+ }
+ }
+ else {
+ if (oldParent) {
+ throw new IllegalStateException_0('Cannot set a new parent without first clearing the old parent');
+ }
+ this$static.parent_0 = parent_0;
+ parent_0.isAttached() && this$static.onAttach();
+ }
+}
+
+function $sinkEvents(this$static, eventBitsToAdd){
+ this$static.eventsToSink == -1?sinkEvents(($clinit_DOM() , this$static.element), eventBitsToAdd | (this$static.element.__eventBits || 0)):(this$static.eventsToSink |= eventBitsToAdd);
+}
+
+defineClass(17, 21, $intern_25);
+_.asWidget = function(){
+ return this;
+}
+;
+_.doAttachChildren = function(){
+}
+;
+_.doDetachChildren = function(){
+}
+;
+_.fireEvent = function(event_0){
+ $fireEvent_0(this, event_0);
+}
+;
+_.isAttached = function(){
+ return this.attached;
+}
+;
+_.onAttach = function(){
+ $onAttach(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ $onBrowserEvent(this, event_0);
+}
+;
+_.onDetach = function(){
+ $onDetach(this);
+}
+;
+_.onLoad = function(){
+}
+;
+_.onUnload = function(){
+}
+;
+_.setParent = function(parent_0){
+ $setParent(this, parent_0);
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ $sinkEvents(this, eventBitsToAdd);
+}
+;
+_.attached = false;
+_.eventsToSink = 0;
+var Lcom_google_gwt_user_client_ui_Widget_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Widget', 17, Lcom_google_gwt_user_client_ui_UIObject_2_classLit);
+defineClass(36, 17, $intern_26);
+_.add_0 = function(child){
+ throw new UnsupportedOperationException_0('This panel does not support no-arg add()');
+}
+;
+_.doAttachChildren = function(){
+ tryCommand(this, ($clinit_AttachDetachException() , attachCommand));
+}
+;
+_.doDetachChildren = function(){
+ tryCommand(this, ($clinit_AttachDetachException() , detachCommand));
+}
+;
+var Lcom_google_gwt_user_client_ui_Panel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Panel', 36, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $add_2(this$static, child, container){
+ $removeFromParent_0(child);
+ $add_4(this$static.children_0, child);
+ $clinit_DOM();
+ $appendChild(container, resolve(child.element));
+ $setParent(child, this$static);
+}
+
+function $remove_0(this$static, w){
+ var elem;
+ if (w.parent_0 != this$static) {
+ return false;
+ }
+ try {
+ $setParent(w, null);
+ }
+ finally {
+ elem = ($clinit_DOM() , w.element);
+ $removeChild((null , $getParentElement_0(($clinit_DOMImpl() , elem))), elem);
+ $remove_4(this$static.children_0, w);
+ }
+ return true;
+}
+
+function ComplexPanel(){
+ this.children_0 = new WidgetCollection(this);
+}
+
+defineClass(177, 36, $intern_26);
+_.getChildren = function(){
+ return this.children_0;
+}
+;
+_.iterator_0 = function(){
+ return new WidgetCollection$WidgetIterator(this.children_0);
+}
+;
+_.remove = function(w){
+ return $remove_0(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ComplexPanel', 177, Lcom_google_gwt_user_client_ui_Panel_2_classLit);
+defineClass(76, 177, $intern_27);
+_.add_0 = function(widget){
+ $add_2(this, widget, ($clinit_DOM() , this.element));
+}
+;
+var Lcom_google_gwt_user_client_ui_HTMLPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'HTMLPanel', 76, Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit);
+function $adoptSubWidgets(this$static, root){
+ var child, child$array, child$index, child$max, children, w;
+ children = $children(($clinit_GQuery() , new GQuery_0(root)));
+ for (child$array = children.elements , child$index = 0 , child$max = child$array.length; child$index < child$max; ++child$index) {
+ child = child$array[child$index];
+ w = $widget(new GQuery_0(child), 0);
+ w?$doAdopt(this$static, w):$adoptSubWidgets(this$static, child);
+ }
+}
+
+function $doAdopt(this$static, w){
+ var mustBePhysicallyReattach, parent_0;
+ parent_0 = w.parent_0;
+ mustBePhysicallyReattach = false;
+ if (!parent_0) {
+ $clinit_RootPanel();
+ $contains_2(widgetsToDetach, w) && detachNow(w);
+ }
+ else if (instanceOf(parent_0, 76)) {
+ doLogicalDetachFromHtmlPanel(w);
+ }
+ else {
+ $removeFromParent_0(w);
+ mustBePhysicallyReattach = true;
+ }
+ $add_4(this$static.children_0, w);
+ mustBePhysicallyReattach && ($clinit_DOM() , $appendChild(this$static.element, resolve(w.element)));
+ $setParent(w, this$static);
+}
+
+function WidgetsHtmlPanel(e){
+ var n, p, w;
+ ComplexPanel.call(this);
+ $setElement_0(this, ($clinit_DOM() , $createDivElement($doc)));
+ $setInnerHTML(this.element, '');
+ if (e) {
+ w = $widget(($clinit_GQuery() , new GQuery_0(e)), 0);
+ if (!w) {
+ this.element = e;
+ attachWidget(this, null);
+ }
+ else {
+ p = w.parent_0;
+ if (instanceOf(p, 36)) {
+ $add_2(this, w, this.element);
+ dynamicCast(p, 36).add_0(this);
+ }
+ else {
+ n = $getParentElement_0(($clinit_DOMImpl() , e));
+ $appendChild(n, this.element);
+ $appendChild(this.element, e);
+ attachWidget(this, null);
+ }
+ }
+ }
+ $adoptSubWidgets(this, this.element);
+}
+
+defineClass(496, 76, $intern_27, WidgetsHtmlPanel);
+var Lcom_google_gwt_query_client_plugins_widgets_WidgetsHtmlPanel_2_classLit = createForClass('com.google.gwt.query.client.plugins.widgets', 'WidgetsHtmlPanel', 496, Lcom_google_gwt_user_client_ui_HTMLPanel_2_classLit);
+function attachWidget(widget, firstParentWidget){
+ var h, p;
+ if (!!widget && !widget.parent_0) {
+ if (!firstParentWidget) {
+ firstParentWidget = getFirstParentWidget(widget);
+ if (!firstParentWidget) {
+ $clinit_RootPanel();
+ $add_7(widgetsToDetach, widget);
+ widget.onAttach();
+ }
+ else {
+ attachWidget(widget, firstParentWidget);
+ }
+ }
+ else if (instanceOf(firstParentWidget, 76)) {
+ h = dynamicCast(firstParentWidget, 76);
+ p = $getParentElement(($clinit_DOM() , widget.element));
+ p?$add_2(h, widget, p):$add_2(h, widget, h.element);
+ }
+ else if (instanceOf(firstParentWidget, 99)) {
+ dynamicCast(firstParentWidget, 99).setWidget(widget);
+ }
+ else if (instanceOf(firstParentWidget, 40)) {
+ try {
+ dynamicCast(firstParentWidget, 40).add_0(widget);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 29)) {
+ widgetSetParent(widget, firstParentWidget);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ else {
+ widgetSetParent(widget, firstParentWidget);
+ }
+ }
+}
+
+function doLogicalDetachFromHtmlPanel(w){
+ var parent_0;
+ parent_0 = w.parent_0;
+ if (instanceOf(parent_0, 76)) {
+ $remove_4(dynamicCast(parent_0, 76).getChildren(), w);
+ widgetSetParent(w, null);
+ }
+ else {
+ throw new IllegalStateException_0('You can only use this method to detach a child from an HTMLPanel');
+ }
+}
+
+function getFirstParentWidget(w){
+ var body_0, e, p;
+ e = $getParentElement(($clinit_DOM() , w.element));
+ body_0 = $doc.body;
+ while (!!e && body_0 != e) {
+ if (getEventListener(e)) {
+ p = $widget(($clinit_GQuery() , new GQuery_0(e)), 0);
+ if (p) {
+ return p;
+ }
+ }
+ e = $getParentElement_0(($clinit_DOMImpl() , e));
+ }
+ return null;
+}
+
+function matchesTags(e, tagNames){
+ var i_0, regExp, tagNameLenght;
+ regExp = new StringBuilder_1('^(');
+ tagNameLenght = tagNames != null?tagNames.length:0;
+ for (i_0 = 0; i_0 < tagNameLenght; i_0++) {
+ $append_0(regExp, tagNames[i_0].toUpperCase());
+ i_0 < tagNameLenght - 1 && (regExp.string += '|' , regExp);
+ }
+ regExp.string += ')$';
+ return $matches(($clinit_DOMImpl() , e).tagName.toUpperCase(), regExp.string);
+}
+
+function widgetSetParent(w, p){
+ w.setParent(p);
+}
+
+function $exec_0(this$static, input_0){
+ return this$static.exec(input_0);
+}
+
+function $replace(this$static, input_0, replacement){
+ return input_0.replace(this$static, replacement);
+}
+
+function $test(this$static, input_0){
+ return this$static.test(input_0);
+}
+
+function $clinit_DOM(){
+ $clinit_DOM = emptyMethod;
+ impl_2 = com_google_gwt_user_client_impl_DOMImpl();
+}
+
+function createElement(tagName){
+ $clinit_DOM();
+ return $createElement_0($doc, tagName);
+}
+
+function dispatchEvent_0(evt, elem){
+ $clinit_DOM();
+ var eventListener;
+ eventListener = getEventListener(elem);
+ if (!eventListener) {
+ return false;
+ }
+ dispatchEvent_1(evt, elem, eventListener);
+ return true;
+}
+
+function dispatchEvent_1(evt, elem, listener){
+ $clinit_DOM();
+ var prevCurrentEvent;
+ prevCurrentEvent = currentEvent;
+ currentEvent = evt;
+ elem == sCaptureElem && $eventGetTypeInt(($clinit_DOMImpl() , evt).type) == 8192 && (sCaptureElem = null);
+ listener.onBrowserEvent(evt);
+ currentEvent = prevCurrentEvent;
+}
+
+function getFirstChild(elem){
+ $clinit_DOM();
+ return $getFirstChildElement_0(($clinit_DOMImpl() , elem));
+}
+
+function isPotential(o){
+ $clinit_DOM();
+ try {
+ return !!o && !!o.__gwt_resolve;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function previewEvent(evt){
+ $clinit_DOM();
+ var ret;
+ ret = fire_3(handlers_0, evt);
+ if (!ret && !!evt) {
+ $eventStopPropagation(($clinit_DOMImpl() , evt));
+ $eventPreventDefault(evt);
+ }
+ return ret;
+}
+
+function releaseCapture(elem){
+ $clinit_DOM();
+ !!sCaptureElem && elem == sCaptureElem && (sCaptureElem = null);
+ $releaseCapture(impl_2, elem);
+}
+
+function resolve(maybePotential){
+ $clinit_DOM();
+ return maybePotential.__gwt_resolve?maybePotential.__gwt_resolve():maybePotential;
+}
+
+function setCapture(elem){
+ $clinit_DOM();
+ sCaptureElem = elem;
+ $setCapture(impl_2, elem);
+}
+
+function sinkBitlessEvent(elem, eventTypeName){
+ $clinit_DOM();
+ $sinkBitlessEvent_0(impl_2, elem, eventTypeName);
+}
+
+function sinkEvents(elem, eventBits){
+ $clinit_DOM();
+ impl_2.sinkEvents_0(elem, eventBits);
+}
+
+var currentEvent = null, impl_2, sCaptureElem;
+function $onModuleLoad(){
+ var allowedModes, currentMode, i_0;
+ currentMode = $doc.compatMode;
+ allowedModes = initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['CSS1Compat']);
+ for (i_0 = 0; i_0 < allowedModes.length; i_0++) {
+ if ($equals_2(allowedModes[i_0], currentMode)) {
+ return;
+ }
+ }
+ allowedModes.length == 1 && $equals_2('CSS1Compat', allowedModes[0]) && $equals_2('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 &lt;!doctype html&gt; 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>&nbsp;&nbsp;&lt;extend-configuration-property name=\"document.compatMode\" value=\"" + currentMode + '"/&gt;':"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 $getTypeInt(this$static){
+ return $clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , this$static).type);
+}
+
+function addNativePreviewHandler(handler){
+ $clinit_DOM();
+ $maybeInitializeEventSystem(impl_2);
+ !TYPE_4 && (TYPE_4 = new GwtEvent$Type);
+ if (!handlers_0) {
+ handlers_0 = new HandlerManager_0(null, true);
+ singleton = new Event$NativePreviewEvent;
+ }
+ return $addHandler(handlers_0, TYPE_4, handler);
+}
+
+function getTypeInt(typeName){
+ return $eventGetTypeInt(($clinit_DOM() , typeName));
+}
+
+function sinkEvents_0(elem, eventBits){
+ $clinit_DOM();
+ impl_2.sinkEvents_0(elem, eventBits);
+}
+
+var handlers_0;
+function $revive(this$static){
+ this$static.dead = false;
+ this$static.source = null;
+ this$static.isCanceled = false;
+ this$static.isConsumed = false;
+ this$static.isFirstHandler = true;
+ this$static.nativeEvent = null;
+}
+
+function $setNativeEvent_0(this$static, nativeEvent){
+ this$static.nativeEvent = nativeEvent;
+}
+
+function Event$NativePreviewEvent(){
+}
+
+function fire_3(handlers, nativeEvent){
+ var lastIsCanceled, lastIsConsumed, lastIsFirstHandler, lastNativeEvent, ret;
+ if (!!TYPE_4 && !!handlers && $isEventHandled(handlers, TYPE_4)) {
+ lastIsCanceled = singleton.isCanceled;
+ lastIsConsumed = singleton.isConsumed;
+ lastIsFirstHandler = singleton.isFirstHandler;
+ lastNativeEvent = singleton.nativeEvent;
+ $revive(singleton);
+ $setNativeEvent_0(singleton, nativeEvent);
+ $fireEvent(handlers, singleton);
+ ret = !(singleton.isCanceled && !singleton.isConsumed);
+ singleton.isCanceled = lastIsCanceled;
+ singleton.isConsumed = lastIsConsumed;
+ singleton.isFirstHandler = lastIsFirstHandler;
+ singleton.nativeEvent = lastNativeEvent;
+ return ret;
+ }
+ return true;
+}
+
+defineClass(302, 556, {}, Event$NativePreviewEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 200).onPreviewNativeEvent(this);
+ singleton.isFirstHandler = false;
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_4;
+}
+;
+_.revive = function(){
+ $revive(this);
+}
+;
+_.isCanceled = false;
+_.isConsumed = false;
+_.isFirstHandler = false;
+var TYPE_4, singleton;
+var Lcom_google_gwt_user_client_Event$NativePreviewEvent_2_classLit = createForClass('com.google.gwt.user.client', 'Event/NativePreviewEvent', 302, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $clinit_History(){
+ $clinit_History = emptyMethod;
+ new History$HistoryImpl;
+ historyEventSource = new History$HistoryEventSource;
+ token = getDecodedHash();
+}
+
+function addValueChangeHandler(handler){
+ $clinit_History();
+ return $addValueChangeHandler(historyEventSource, handler);
+}
+
+function getDecodedHash(){
+ var hashToken;
+ hashToken = ($clinit_Window() , impl_3).getHash();
+ if (hashToken == null || !hashToken.length) {
+ return '';
+ }
+ return $decode(__substr(hashToken, 1, hashToken.length - 1));
+}
+
+function onHashChanged(){
+ $clinit_History();
+ var hashToken;
+ hashToken = getDecodedHash();
+ if (!$equals_2(hashToken, token)) {
+ token = hashToken;
+ fire_2(historyEventSource, hashToken);
+ }
+}
+
+var historyEventSource, token;
+function $addValueChangeHandler(this$static, handler){
+ return $addHandler(this$static.handlers, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3), handler);
+}
+
+function History$HistoryEventSource(){
+ this.handlers = new HandlerManager(null);
+}
+
+defineClass(502, 1, {24:1}, History$HistoryEventSource);
+_.fireEvent = function(event_0){
+ $fireEvent(this.handlers, event_0);
+}
+;
+var Lcom_google_gwt_user_client_History$HistoryEventSource_2_classLit = createForClass('com.google.gwt.user.client', 'History/HistoryEventSource', 502, Ljava_lang_Object_2_classLit);
+function History$HistoryImpl(){
+ var handler;
+ handler = $entry(onHashChanged);
+ $wnd.addEventListener('hashchange', handler, false);
+}
+
+defineClass(503, 1, {}, History$HistoryImpl);
+var Lcom_google_gwt_user_client_History$HistoryImpl_2_classLit = createForClass('com.google.gwt.user.client', 'History/HistoryImpl', 503, Ljava_lang_Object_2_classLit);
+function $decode(toDecode){
+ return $wnd.decodeURI(toDecode.replace('%23', '#'));
+}
+
+function $clinit_Window(){
+ $clinit_Window = emptyMethod;
+ impl_3 = com_google_gwt_user_client_impl_WindowImpl();
+}
+
+function addCloseHandler(handler){
+ $clinit_Window();
+ maybeInitializeCloseHandlers();
+ return addHandler(TYPE_1?TYPE_1:(TYPE_1 = new GwtEvent$Type), handler);
+}
+
+function addHandler(type_0, handler){
+ return $addHandler((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1), type_0, handler);
+}
+
+function addResizeHandler(handler){
+ $clinit_Window();
+ maybeInitializeCloseHandlers();
+ maybeInitializeResizeHandlers();
+ return addHandler((!TYPE_2 && (TYPE_2 = new GwtEvent$Type) , TYPE_2), handler);
+}
+
+function alert_0(msg){
+ $clinit_Window();
+ $wnd.alert(msg);
+}
+
+function maybeInitializeCloseHandlers(){
+ if (!closeHandlersInitialized) {
+ $initWindowCloseHandler();
+ closeHandlersInitialized = true;
+ }
+}
+
+function maybeInitializeResizeHandlers(){
+ if (!resizeHandlersInitialized) {
+ $initWindowResizeHandler();
+ resizeHandlersInitialized = true;
+ }
+}
+
+function onClosing(){
+ $clinit_Window();
+ var event_0;
+ if (closeHandlersInitialized) {
+ event_0 = new Window$ClosingEvent;
+ !!handlers_1 && $fireEvent(handlers_1, event_0);
+ return null;
+ }
+ return null;
+}
+
+function onResize(){
+ $clinit_Window();
+ var height, width_0;
+ if (resizeHandlersInitialized) {
+ width_0 = $getClientWidth($doc);
+ height = $getClientHeight($doc);
+ if (lastResizeWidth != width_0 || lastResizeHeight != height) {
+ lastResizeWidth = width_0;
+ lastResizeHeight = height;
+ fire_1((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1));
+ }
+ }
+}
+
+var closeHandlersInitialized = false, handlers_1, impl_3, lastResizeHeight = 0, lastResizeWidth = 0, resizeHandlersInitialized = false;
+function $clinit_Window$ClosingEvent(){
+ $clinit_Window$ClosingEvent = emptyMethod;
+ TYPE_5 = new GwtEvent$Type;
+}
+
+function Window$ClosingEvent(){
+ $clinit_Window$ClosingEvent();
+}
+
+defineClass(332, 556, {}, Window$ClosingEvent);
+_.dispatch = function(handler){
+ throwClassCastExceptionUnlessNull(handler);
+ null.nullMethod();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_5;
+}
+;
+var TYPE_5;
+var Lcom_google_gwt_user_client_Window$ClosingEvent_2_classLit = createForClass('com.google.gwt.user.client', 'Window/ClosingEvent', 332, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function buildListParamMap(queryString){
+ var entry, entry$iterator, key, kv, kvPair, kvPair$array, kvPair$index, kvPair$max, out, qs, val, values, regexp;
+ out = new HashMap;
+ if (queryString != null && queryString.length > 1) {
+ qs = __substr(queryString, 1, queryString.length - 1);
+ for (kvPair$array = $split(qs, '&', 0) , kvPair$index = 0 , kvPair$max = kvPair$array.length; kvPair$index < kvPair$max; ++kvPair$index) {
+ kvPair = kvPair$array[kvPair$index];
+ kv = $split(kvPair, '=', 2);
+ key = kv[0];
+ if (!key.length) {
+ continue;
+ }
+ val = kv.length > 1?kv[1]:'';
+ try {
+ val = (throwIfNull(val) , regexp = /\+/g , decodeURIComponent(val.replace(regexp, '%20')));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 57))
+ throw unwrap($e0);
+ }
+ values = dynamicCast(out.get_1(key), 30);
+ if (!values) {
+ values = new ArrayList;
+ out.put(key, values);
+ }
+ values.add_1(val);
+ }
+ }
+ for (entry$iterator = out.entrySet_0().iterator_0(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 25);
+ entry.setValue_0(unmodifiableList(dynamicCast(entry.getValue_1(), 30)));
+ }
+ out = ($clinit_Collections() , new Collections$UnmodifiableMap(out));
+ return out;
+}
+
+function ensureListParameterMap(){
+ var currentQueryString;
+ currentQueryString = ($clinit_Window() , $wnd.location.search);
+ if (!listParamMap || !$equals_2(cachedQueryString, currentQueryString)) {
+ listParamMap = buildListParamMap(currentQueryString);
+ cachedQueryString = currentQueryString;
+ }
+}
+
+var cachedQueryString = '', listParamMap;
+function Window$WindowHandlers(){
+ HandlerManager.call(this, null);
+}
+
+defineClass(132, 60, {24:1}, Window$WindowHandlers);
+var Lcom_google_gwt_user_client_Window$WindowHandlers_2_classLit = createForClass('com.google.gwt.user.client', 'Window/WindowHandlers', 132, Lcom_google_gwt_event_shared_HandlerManager_2_classLit);
+function $eventCancelBubble(evt, cancel){
+ evt.cancelBubble = cancel;
+}
+
+function $eventGetTypeInt(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_28;
+ case 'DOMMouseScroll':
+ case 'mousewheel':
+ return $intern_29;
+ case 'contextmenu':
+ return 262144;
+ case 'paste':
+ return $intern_16;
+ case 'touchstart':
+ return $intern_30;
+ case 'touchmove':
+ return $intern_31;
+ case 'touchend':
+ return $intern_17;
+ case 'touchcancel':
+ return $intern_32;
+ case 'gesturestart':
+ return $intern_33;
+ case 'gesturechange':
+ return $intern_34;
+ case 'gestureend':
+ return $intern_35;
+ default:return -1;
+ }
+}
+
+function $getEventsSunk(elem){
+ return elem.__eventBits || 0;
+}
+
+function $maybeInitializeEventSystem(this$static){
+ if (!eventSystemIsInitialized) {
+ this$static.initEventSystem();
+ eventSystemIsInitialized = true;
+ }
+}
+
+function getEventListener(elem){
+ var maybeListener = elem.__listener;
+ return !instanceOfJso(maybeListener) && instanceOf(maybeListener, 20)?maybeListener:null;
+}
+
+function setEventListener(elem, listener){
+ elem.__listener = listener;
+}
+
+defineClass(573, 1, {});
+var eventSystemIsInitialized = false;
+var Lcom_google_gwt_user_client_impl_DOMImpl_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImpl', 573, Ljava_lang_Object_2_classLit);
+function $clinit_DOMImplStandard(){
+ $clinit_DOMImplStandard = emptyMethod;
+ bitlessEventDispatchers = {_default_:dispatchEvent_3, dragenter:dispatchDragEvent, dragover:dispatchDragEvent};
+ captureEventDispatchers = {click:dispatchCapturedMouseEvent, dblclick:dispatchCapturedMouseEvent, mousedown:dispatchCapturedMouseEvent, mouseup:dispatchCapturedMouseEvent, mousemove:dispatchCapturedMouseEvent, mouseover:dispatchCapturedMouseEvent, mouseout:dispatchCapturedMouseEvent, mousewheel:dispatchCapturedMouseEvent, keydown:dispatchCapturedEvent, keyup:dispatchCapturedEvent, keypress:dispatchCapturedEvent, touchstart:dispatchCapturedMouseEvent, touchend:dispatchCapturedMouseEvent, touchmove:dispatchCapturedMouseEvent, touchcancel:dispatchCapturedMouseEvent, gesturestart:dispatchCapturedMouseEvent, gestureend:dispatchCapturedMouseEvent, gesturechange:dispatchCapturedMouseEvent};
+}
+
+function $getChild_0(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 $initEventSystem(){
+ dispatchEvent_2 = $entry(dispatchEvent_3);
+ dispatchUnhandledEvent = $entry(dispatchUnhandledEvent_0);
+ var foreach = foreach_0;
+ var bitlessEvents = bitlessEventDispatchers;
+ foreach(bitlessEvents, function(e, fn){
+ bitlessEvents[e] = $entry(fn);
+ }
+ );
+ var captureEvents_0 = captureEventDispatchers;
+ foreach(captureEvents_0, function(e, fn){
+ captureEvents_0[e] = $entry(fn);
+ }
+ );
+ foreach(captureEvents_0, function(e, fn){
+ $wnd.addEventListener(e, fn, true);
+ }
+ );
+}
+
+function $releaseCapture(this$static, elem){
+ $maybeInitializeEventSystem(this$static);
+ captureElem == elem && (captureElem = null);
+}
+
+function $setCapture(this$static, elem){
+ $maybeInitializeEventSystem(this$static);
+ captureElem = elem;
+}
+
+function $sinkBitlessEvent_0(this$static, elem, eventTypeName){
+ var dispatchMap, dispatcher;
+ $maybeInitializeEventSystem(this$static);
+ dispatchMap = bitlessEventDispatchers;
+ dispatcher = dispatchMap[eventTypeName] || dispatchMap['_default_'];
+ elem.addEventListener(eventTypeName, dispatcher, false);
+}
+
+function $sinkEventsImpl(elem, bits){
+ var chMask = (elem.__eventBits || 0) ^ bits;
+ elem.__eventBits = bits;
+ if (!chMask)
+ return;
+ chMask & 1 && (elem.onclick = bits & 1?dispatchEvent_2:null);
+ chMask & 2 && (elem.ondblclick = bits & 2?dispatchEvent_2:null);
+ chMask & 4 && (elem.onmousedown = bits & 4?dispatchEvent_2:null);
+ chMask & 8 && (elem.onmouseup = bits & 8?dispatchEvent_2:null);
+ chMask & 16 && (elem.onmouseover = bits & 16?dispatchEvent_2:null);
+ chMask & 32 && (elem.onmouseout = bits & 32?dispatchEvent_2:null);
+ chMask & 64 && (elem.onmousemove = bits & 64?dispatchEvent_2:null);
+ chMask & 128 && (elem.onkeydown = bits & 128?dispatchEvent_2:null);
+ chMask & 256 && (elem.onkeypress = bits & 256?dispatchEvent_2:null);
+ chMask & 512 && (elem.onkeyup = bits & 512?dispatchEvent_2:null);
+ chMask & 1024 && (elem.onchange = bits & 1024?dispatchEvent_2:null);
+ chMask & 2048 && (elem.onfocus = bits & 2048?dispatchEvent_2:null);
+ chMask & 4096 && (elem.onblur = bits & 4096?dispatchEvent_2:null);
+ chMask & 8192 && (elem.onlosecapture = bits & 8192?dispatchEvent_2:null);
+ chMask & 16384 && (elem.onscroll = bits & 16384?dispatchEvent_2:null);
+ chMask & 32768 && (elem.onload = bits & 32768?dispatchUnhandledEvent:null);
+ chMask & $intern_28 && (elem.onerror = bits & $intern_28?dispatchEvent_2:null);
+ chMask & $intern_29 && (elem.onmousewheel = bits & $intern_29?dispatchEvent_2:null);
+ chMask & 262144 && (elem.oncontextmenu = bits & 262144?dispatchEvent_2:null);
+ chMask & $intern_16 && (elem.onpaste = bits & $intern_16?dispatchEvent_2:null);
+ chMask & $intern_30 && (elem.ontouchstart = bits & $intern_30?dispatchEvent_2:null);
+ chMask & $intern_31 && (elem.ontouchmove = bits & $intern_31?dispatchEvent_2:null);
+ chMask & $intern_17 && (elem.ontouchend = bits & $intern_17?dispatchEvent_2:null);
+ chMask & $intern_32 && (elem.ontouchcancel = bits & $intern_32?dispatchEvent_2:null);
+ chMask & $intern_33 && (elem.ongesturestart = bits & $intern_33?dispatchEvent_2:null);
+ chMask & $intern_34 && (elem.ongesturechange = bits & $intern_34?dispatchEvent_2:null);
+ chMask & $intern_35 && (elem.ongestureend = bits & $intern_35?dispatchEvent_2:null);
+}
+
+function dispatchCapturedEvent(evt){
+ previewEvent(evt);
+}
+
+function dispatchCapturedMouseEvent(evt){
+ $clinit_DOMImplStandard();
+ var cancelled;
+ cancelled = !previewEvent(evt);
+ if (cancelled || !captureElem) {
+ return;
+ }
+ dispatchEvent_0(evt, captureElem) && $eventStopPropagation(($clinit_DOMImpl() , evt));
+}
+
+function dispatchDragEvent(evt){
+ $eventPreventDefault(($clinit_DOMImpl() , evt));
+ dispatchEvent_3(evt);
+}
+
+function dispatchEvent_3(evt){
+ var element;
+ element = getFirstAncestorWithListener(evt);
+ if (!element) {
+ return;
+ }
+ dispatchEvent_1(evt, element.nodeType != 1?null:element, getEventListener(element));
+}
+
+function dispatchUnhandledEvent_0(evt){
+ var element;
+ element = ($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(evt);
+ $setPropertyString(element, '__gwtLastUnhandledEvent', evt.type);
+ dispatchEvent_3(evt);
+}
+
+function getFirstAncestorWithListener(evt){
+ var curElem;
+ curElem = ($clinit_DOMImpl() , impl_0).eventGetCurrentTarget(evt);
+ while (!!curElem && !getEventListener(curElem)) {
+ curElem = curElem.parentNode;
+ }
+ return curElem;
+}
+
+defineClass(574, 573, {});
+_.initEventSystem = function(){
+ $initEventSystem();
+}
+;
+_.sinkEvents_0 = function(elem, bits){
+ $maybeInitializeEventSystem(this);
+ $sinkEventsImpl(elem, bits);
+}
+;
+var bitlessEventDispatchers, captureElem, captureEventDispatchers, dispatchEvent_2, dispatchUnhandledEvent;
+var Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplStandard', 574, Lcom_google_gwt_user_client_impl_DOMImpl_2_classLit);
+function $clinit_DOMImplMozilla(){
+ $clinit_DOMImplMozilla = emptyMethod;
+ $clinit_DOMImplStandard();
+ captureEventDispatchers['DOMMouseScroll'] = dispatchCapturedMouseEvent;
+}
+
+function $initSyntheticMouseUpEvents(){
+ $wnd.addEventListener('mouseout', $entry(function(evt){
+ var cap = ($clinit_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 DOMImplMozilla_0(){
+ $clinit_DOMImplMozilla();
+}
+
+defineClass(419, 574, {}, DOMImplMozilla_0);
+_.initEventSystem = function(){
+ $initEventSystem();
+ $initSyntheticMouseUpEvents();
+}
+;
+_.sinkEvents_0 = function(elem, bits){
+ $maybeInitializeEventSystem(this);
+ $sinkEventsImpl(elem, bits);
+ bits & $intern_29 && elem.addEventListener('DOMMouseScroll', ($clinit_DOMImplStandard() , dispatchEvent_2), false);
+}
+;
+var Lcom_google_gwt_user_client_impl_DOMImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplMozilla', 419, Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit);
+defineClass(575, 574, {});
+var Lcom_google_gwt_user_client_impl_DOMImplStandardBase_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplStandardBase', 575, Lcom_google_gwt_user_client_impl_DOMImplStandard_2_classLit);
+function DOMImplWebkit_0(){
+ $clinit_DOMImplStandard();
+}
+
+defineClass(418, 575, {}, DOMImplWebkit_0);
+var Lcom_google_gwt_user_client_impl_DOMImplWebkit_2_classLit = createForClass('com.google.gwt.user.client.impl', 'DOMImplWebkit', 418, Lcom_google_gwt_user_client_impl_DOMImplStandardBase_2_classLit);
+function foreach_0(map_0, fn){
+ for (var e in map_0) {
+ map_0.hasOwnProperty(e) && fn(e, map_0[e]);
+ }
+}
+
+function $initWindowCloseHandler(){
+ var oldOnBeforeUnload = $wnd.onbeforeunload;
+ var oldOnUnload = $wnd.onunload;
+ $wnd.onbeforeunload = function(evt){
+ var ret, oldRet;
+ try {
+ ret = $entry(onClosing)();
+ }
+ finally {
+ oldRet = oldOnBeforeUnload && oldOnBeforeUnload(evt);
+ }
+ if (ret != null) {
+ return ret;
+ }
+ if (oldRet != null) {
+ return oldRet;
+ }
+ }
+ ;
+ $wnd.onunload = $entry(function(evt){
+ try {
+ $clinit_Window();
+ closeHandlersInitialized && fire_0((!handlers_1 && (handlers_1 = new Window$WindowHandlers) , handlers_1));
+ }
+ finally {
+ oldOnUnload && oldOnUnload(evt);
+ $wnd.onresize = null;
+ $wnd.onscroll = null;
+ $wnd.onbeforeunload = null;
+ $wnd.onunload = null;
+ }
+ }
+ );
+}
+
+function $initWindowResizeHandler(){
+ var oldOnResize = $wnd.onresize;
+ $wnd.onresize = $entry(function(evt){
+ try {
+ onResize();
+ }
+ finally {
+ oldOnResize && oldOnResize(evt);
+ }
+ }
+ );
+}
+
+function WindowImpl(){
+}
+
+defineClass(461, 1, {}, WindowImpl);
+_.getHash = function getHash(){
+ return $wnd.location.hash;
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImpl', 461, Ljava_lang_Object_2_classLit);
+function WindowImplMozilla(){
+}
+
+defineClass(479, 461, {}, WindowImplMozilla);
+_.getHash = function getHash_0(){
+ var href_0 = $wnd.location.href;
+ var hashLoc = href_0.indexOf('#');
+ return hashLoc > 0?href_0.substring(hashLoc):'';
+}
+;
+var Lcom_google_gwt_user_client_impl_WindowImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.impl', 'WindowImplMozilla', 479, Lcom_google_gwt_user_client_impl_WindowImpl_2_classLit);
+function $add_3(this$static, w){
+ $add_2(this$static, w, ($clinit_DOM() , this$static.element));
+}
+
+function $remove_1(this$static, w){
+ var removed;
+ removed = $remove_0(this$static, w);
+ removed && changeToStaticPositioning(($clinit_DOM() , w.element));
+ return removed;
+}
+
+function changeToStaticPositioning(elem){
+ $setPropertyImpl(elem.style, 'left', '');
+ $setPropertyImpl(elem.style, 'top', '');
+ $setPropertyImpl(elem.style, 'position', '');
+}
+
+defineClass(441, 177, $intern_26);
+_.add_0 = function(w){
+ $add_3(this, w);
+}
+;
+_.remove = function(w){
+ return $remove_1(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AbsolutePanel', 441, Lcom_google_gwt_user_client_ui_ComplexPanel_2_classLit);
+function $clinit_AttachDetachException(){
+ $clinit_AttachDetachException = emptyMethod;
+ attachCommand = new AttachDetachException$1;
+ detachCommand = new AttachDetachException$2;
+}
+
+function AttachDetachException(causes){
+ UmbrellaException_0.call(this, causes);
+}
+
+function tryCommand(hasWidgets, c){
+ $clinit_AttachDetachException();
+ var caught, e, w, w$iterator;
+ caught = null;
+ for (w$iterator = hasWidgets.iterator_0(); w$iterator.hasNext();) {
+ w = dynamicCast(w$iterator.next_0(), 17);
+ try {
+ c.execute_2(w);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 12)) {
+ e = $e0;
+ !caught && (caught = new HashSet);
+ $add_7(caught, e);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ if (caught) {
+ throw new AttachDetachException(caught);
+ }
+}
+
+defineClass(445, 94, $intern_13, AttachDetachException);
+var attachCommand, detachCommand;
+var Lcom_google_gwt_user_client_ui_AttachDetachException_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException', 445, Lcom_google_gwt_event_shared_UmbrellaException_2_classLit);
+function AttachDetachException$1(){
+}
+
+defineClass(446, 1, {}, AttachDetachException$1);
+_.execute_2 = function(w){
+ w.onAttach();
+}
+;
+var Lcom_google_gwt_user_client_ui_AttachDetachException$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException/1', 446, Ljava_lang_Object_2_classLit);
+function AttachDetachException$2(){
+}
+
+defineClass(447, 1, {}, AttachDetachException$2);
+_.execute_2 = function(w){
+ w.onDetach();
+}
+;
+var Lcom_google_gwt_user_client_ui_AttachDetachException$2_2_classLit = createForClass('com.google.gwt.user.client.ui', 'AttachDetachException/2', 447, Ljava_lang_Object_2_classLit);
+function $clinit_FocusWidget(){
+ $clinit_FocusWidget = emptyMethod;
+ $clinit_FocusImpl();
+}
+
+defineClass(469, 17, $intern_25);
+_.onAttach = function(){
+ var tabIndex;
+ $onAttach(this);
+ tabIndex = $getTabIndex(this.inputElem);
+ -1 == tabIndex && !!this.inputElem && $setTabIndex(this.inputElem, 0);
+}
+;
+var Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit = createForClass('com.google.gwt.user.client.ui', 'FocusWidget', 469, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function ButtonBase(elem){
+ $setElement_0(this, ($clinit_DOM() , elem));
+}
+
+defineClass(470, 469, $intern_25);
+var Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ButtonBase', 470, Lcom_google_gwt_user_client_ui_FocusWidget_2_classLit);
+function $addValueChangeHandler_0(this$static, handler){
+ if (!this$static.valueChangeHandlerInitialized) {
+ $addDomHandler(this$static, new CheckBox$1(this$static), ($clinit_ClickEvent() , $clinit_ClickEvent() , TYPE));
+ this$static.valueChangeHandlerInitialized = true;
+ }
+ return $addHandler_0(this$static, handler, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3));
+}
+
+function $getValue(this$static){
+ return this$static.attached?($clinit_Boolean() , $isChecked(this$static.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this$static.inputElem)?TRUE:FALSE);
+}
+
+function $setValue(this$static, value_0){
+ var oldValue;
+ !value_0 && (value_0 = ($clinit_Boolean() , FALSE));
+ oldValue = this$static.attached?($clinit_Boolean() , $isChecked(this$static.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this$static.inputElem)?TRUE:FALSE);
+ $setChecked(this$static.inputElem, value_0.value_0);
+ $setDefaultChecked(this$static.inputElem, value_0.value_0);
+ if (!!oldValue && oldValue.value_0 == value_0.value_0) {
+ return;
+ }
+}
+
+function CheckBox(){
+ $clinit_FocusWidget();
+ CheckBox_0.call(this, ($clinit_DOM() , $createCheckInputElement($doc)));
+ $setClassName(this.element, 'gwt-CheckBox');
+}
+
+function CheckBox_0(elem){
+ var uid;
+ ButtonBase.call(this, ($clinit_DOM() , $createSpanElement($doc)));
+ this.inputElem = elem;
+ this.labelElem = $createLabelElement($doc);
+ $appendChild(this.element, this.inputElem);
+ $appendChild(this.element, this.labelElem);
+ uid = $createUniqueId($doc);
+ $setPropertyString(this.inputElem, 'id', uid);
+ $setHtmlFor(this.labelElem, uid);
+ new DirectionalTextHelper(this.labelElem);
+ !!this.inputElem && $setTabIndex(this.inputElem, 0);
+}
+
+defineClass(182, 470, $intern_25, CheckBox);
+_.onLoad = function(){
+ $clinit_DOM();
+ setEventListener(this.inputElem, this);
+}
+;
+_.onUnload = function(){
+ $clinit_DOM();
+ setEventListener(this.inputElem, null);
+ $setValue(this, this.attached?($clinit_Boolean() , $isChecked(this.inputElem)?TRUE:FALSE):($clinit_Boolean() , $isDefaultChecked(this.inputElem)?TRUE:FALSE));
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ this.eventsToSink == -1?sinkEvents_0(this.inputElem, eventBitsToAdd | ($clinit_DOM() , $getEventsSunk(this.inputElem))):this.eventsToSink == -1?sinkEvents(($clinit_DOM() , this.element), eventBitsToAdd | (this.element.__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
+}
+;
+_.valueChangeHandlerInitialized = false;
+var Lcom_google_gwt_user_client_ui_CheckBox_2_classLit = createForClass('com.google.gwt.user.client.ui', 'CheckBox', 182, Lcom_google_gwt_user_client_ui_ButtonBase_2_classLit);
+function CheckBox$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(471, 1, {585:1, 22:1}, CheckBox$1);
+var Lcom_google_gwt_user_client_ui_CheckBox$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'CheckBox/1', 471, Ljava_lang_Object_2_classLit);
+function $checkInit(this$static){
+ if (!this$static.widget) {
+ throw new IllegalStateException_0('initWidget() is not called yet');
+ }
+}
+
+function $initWidget(this$static, widget){
+ var elem;
+ if (this$static.widget) {
+ throw new IllegalStateException_0('Composite.initWidget() may only be called once.');
+ }
+ $removeFromParent_0(widget);
+ elem = ($clinit_DOM() , widget.element);
+ $setElement_0(this$static, elem);
+ ($clinit_PotentialElement() , isPotential(elem)) && $setResolver(elem, this$static);
+ this$static.widget = widget;
+ $setParent(widget, this$static);
+}
+
+function $isAttached(this$static){
+ if (this$static.widget) {
+ return this$static.widget.attached;
+ }
+ return false;
+}
+
+function $onAttach_0(this$static){
+ $checkInit(this$static);
+ if (this$static.eventsToSink != -1) {
+ $sinkEvents(this$static.widget, this$static.eventsToSink);
+ this$static.eventsToSink = -1;
+ }
+ $onAttach(this$static.widget);
+ $clinit_DOM();
+ setEventListener(this$static.element, this$static);
+ fire(this$static);
+}
+
+defineClass(557, 17, $intern_25);
+_.isAttached = function(){
+ return $isAttached(this);
+}
+;
+_.onAttach = function(){
+ $onAttach_0(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ $onBrowserEvent(this, event_0);
+ $onBrowserEvent(this.widget, event_0);
+}
+;
+_.onDetach = function(){
+ try {
+ fire(this);
+ }
+ finally {
+ $onDetach(this.widget);
+ }
+}
+;
+_.resolvePotentialElement = function(){
+ $setElement_0(this, ($clinit_DOM() , $resolvePotentialElement()));
+ return this.element;
+}
+;
+var Lcom_google_gwt_user_client_ui_Composite_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Composite', 557, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $setTextOrHtml(this$static, content_0, isHtml){
+ isHtml?$setInnerHTML(this$static.element, content_0):$setInnerText(this$static.element, content_0);
+ if (this$static.textDir != this$static.initialElementDir) {
+ this$static.textDir = this$static.initialElementDir;
+ setDirectionOnElement(this$static.element, this$static.initialElementDir);
+ }
+}
+
+function DirectionalTextHelper(element){
+ this.element = element;
+ this.initialElementDir = getDirectionOnElement(element);
+ this.textDir = this.initialElementDir;
+}
+
+defineClass(180, 1, {}, DirectionalTextHelper);
+var Lcom_google_gwt_user_client_ui_DirectionalTextHelper_2_classLit = createForClass('com.google.gwt.user.client.ui', 'DirectionalTextHelper', 180, Ljava_lang_Object_2_classLit);
+function LabelBase(element){
+ $setElement_0(this, ($clinit_DOM() , element));
+ this.directionalTextHelper = new DirectionalTextHelper(this.element);
+}
+
+defineClass(167, 17, $intern_25);
+var Lcom_google_gwt_user_client_ui_LabelBase_2_classLit = createForClass('com.google.gwt.user.client.ui', 'LabelBase', 167, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $setText(this$static, text_0){
+ $setTextOrHtml(this$static.directionalTextHelper, text_0, false);
+}
+
+function Label(element){
+ LabelBase.call(this, ($equalsIgnoreCase('span', ($clinit_DOMImpl() , element).tagName) , element));
+}
+
+defineClass(399, 167, $intern_25);
+var Lcom_google_gwt_user_client_ui_Label_2_classLit = createForClass('com.google.gwt.user.client.ui', 'Label', 399, Lcom_google_gwt_user_client_ui_LabelBase_2_classLit);
+function HTML(){
+ Label.call(this, $createDivElement($doc));
+ $setClassName(($clinit_DOM() , this.element), 'gwt-HTML');
+ $setTextOrHtml(this.directionalTextHelper, '', true);
+ this.element.style['whiteSpace'] = ($clinit_Style$WhiteSpace() , 'nowrap');
+}
+
+defineClass(133, 399, $intern_25, HTML);
+var Lcom_google_gwt_user_client_ui_HTML_2_classLit = createForClass('com.google.gwt.user.client.ui', 'HTML', 133, Lcom_google_gwt_user_client_ui_Label_2_classLit);
+function $clinit_HasHorizontalAlignment(){
+ $clinit_HasHorizontalAlignment = emptyMethod;
+ $clinit_Style$TextAlign();
+ $clinit_LocaleInfo();
+}
+
+function $remove_2(this$static, w){
+ if (this$static.widget != w) {
+ return false;
+ }
+ try {
+ $setParent(w, null);
+ }
+ finally {
+ $removeChild(this$static.getContainerElement(), ($clinit_DOM() , w.element));
+ this$static.widget = null;
+ }
+ return true;
+}
+
+function $setWidget(this$static, w){
+ if (w == this$static.widget) {
+ return;
+ }
+ !!w && $removeFromParent_0(w);
+ !!this$static.widget && $remove_2(this$static, this$static.widget);
+ this$static.widget = w;
+ if (w) {
+ $clinit_DOM();
+ $appendChild(this$static.getContainerElement(), resolve($getElement(this$static.widget)));
+ $setParent(w, this$static);
+ }
+}
+
+function SimplePanel(){
+ SimplePanel_0.call(this, ($clinit_DOM() , $createDivElement($doc)));
+}
+
+function SimplePanel_0(elem){
+ $setElement_0(this, ($clinit_DOM() , elem));
+}
+
+defineClass(124, 36, $intern_36);
+_.add_0 = function(w){
+ if (this.widget) {
+ throw new IllegalStateException_0('SimplePanel can only contain one child widget');
+ }
+ this.setWidget(w);
+}
+;
+_.getContainerElement = function(){
+ return $clinit_DOM() , this.element;
+}
+;
+_.iterator_0 = function(){
+ return new SimplePanel$1(this);
+}
+;
+_.remove = function(w){
+ return $remove_2(this, w);
+}
+;
+_.setWidget = function(w){
+ $setWidget(this, w);
+}
+;
+var Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'SimplePanel', 124, Lcom_google_gwt_user_client_ui_Panel_2_classLit);
+function $clinit_PopupPanel(){
+ $clinit_PopupPanel = emptyMethod;
+ impl_4 = com_google_gwt_user_client_ui_impl_PopupImpl();
+}
+
+function $eventTargetsPopup(this$static, event_0){
+ var target;
+ target = ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0);
+ if (is_0(target)) {
+ return $isOrHasChild(($clinit_DOM() , this$static.element), target) || $isInShadowRoot(target, this$static.element);
+ }
+ return false;
+}
+
+function $hide_0(this$static){
+ if (!this$static.showing) {
+ return;
+ }
+ $setState(this$static.resizeAnimation, false, false);
+ fire_0(this$static);
+}
+
+function $isInShadowRoot(wc, popup){
+ return !!wc.shadowRoot && wc.shadowRoot.contains(popup);
+}
+
+function $maybeUpdateSize(this$static){
+ var w;
+ w = this$static.widget;
+ if (w) {
+ this$static.desiredHeight != null && w.setHeight_0(this$static.desiredHeight);
+ this$static.desiredWidth != null && w.setWidth(this$static.desiredWidth);
+ }
+}
+
+function $previewNativeEvent(this$static, event_0){
+ var eventTargetsPopupOrPartner, nativeEvent, target, type_0;
+ if (event_0.isCanceled || !this$static.previewAllNativeEvents && event_0.isConsumed) {
+ this$static.modal && (event_0.isCanceled = true);
+ return;
+ }
+ event_0.isFirstHandler && (event_0.nativeEvent , false) && (event_0.isCanceled = true);
+ if (event_0.isCanceled) {
+ return;
+ }
+ nativeEvent = event_0.nativeEvent;
+ eventTargetsPopupOrPartner = $eventTargetsPopup(this$static, nativeEvent);
+ eventTargetsPopupOrPartner && (event_0.isConsumed = true);
+ this$static.modal && (event_0.isCanceled = true);
+ type_0 = ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , 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_30:
+ {
+ if (sCaptureElem) {
+ event_0.isConsumed = true;
+ return;
+ }
+ }
+
+ if (!eventTargetsPopupOrPartner && this$static.autoHide) {
+ this$static.hide_0(true);
+ return;
+ }
+
+ break;
+ case 8:
+ case 64:
+ case 1:
+ case 2:
+ case $intern_17:
+ {
+ if (sCaptureElem) {
+ event_0.isConsumed = true;
+ return;
+ }
+ break;
+ }
+
+ case 2048:
+ {
+ target = impl_0.eventGetTarget(nativeEvent);
+ if (this$static.modal && !eventTargetsPopupOrPartner && !!target) {
+ target.blur && target != $doc.body && target.blur();
+ event_0.isCanceled = true;
+ return;
+ }
+ break;
+ }
+
+ }
+}
+
+function $setHeight(this$static, height){
+ this$static.desiredHeight = height;
+ $maybeUpdateSize(this$static);
+ height.length == 0 && (this$static.desiredHeight = null);
+}
+
+function $setPopupPosition(this$static, left, top_0){
+ var elem;
+ this$static.leftPosition = left;
+ this$static.topPosition = top_0;
+ left -= $getBodyOffsetLeft($doc);
+ top_0 -= $getBodyOffsetTop($doc);
+ elem = ($clinit_DOM() , this$static.element);
+ elem.style['left'] = left + ($clinit_Style$Unit() , 'px');
+ elem.style['top'] = top_0 + 'px';
+}
+
+function $setWidget_0(this$static, w){
+ $setWidget(this$static, w);
+ $maybeUpdateSize(this$static);
+}
+
+function $setWidth(this$static, width_0){
+ this$static.desiredWidth = width_0;
+ $maybeUpdateSize(this$static);
+ width_0.length == 0 && (this$static.desiredWidth = null);
+}
+
+function $show(this$static){
+ if (this$static.showing) {
+ return;
+ }
+ else
+ this$static.attached && $removeFromParent_0(this$static);
+ $setState(this$static.resizeAnimation, true, false);
+}
+
+function $updateHandlers(this$static){
+ if (this$static.nativePreviewHandlerRegistration) {
+ $removeHandler(this$static.nativePreviewHandlerRegistration.real);
+ this$static.nativePreviewHandlerRegistration = null;
+ }
+ if (this$static.historyHandlerRegistration) {
+ $removeHandler(this$static.historyHandlerRegistration.real);
+ this$static.historyHandlerRegistration = null;
+ }
+ if (this$static.showing) {
+ this$static.nativePreviewHandlerRegistration = addNativePreviewHandler(new PopupPanel$3(this$static));
+ this$static.historyHandlerRegistration = addValueChangeHandler(new PopupPanel$4(this$static));
+ }
+}
+
+defineClass(125, 124, $intern_36);
+_.getContainerElement = function(){
+ return impl_4.getContainerElement_0(getFirstChild(($clinit_DOM() , this.element)));
+}
+;
+_.getStyleElement = function(){
+ return impl_4.getStyleElement_0(getFirstChild(($clinit_DOM() , this.element)));
+}
+;
+_.hide = function(){
+ this.hide_0(false);
+}
+;
+_.hide_0 = function(autoClosed){
+ $hide_0(this);
+}
+;
+_.onUnload = function(){
+ this.showing && $setState(this.resizeAnimation, false, true);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight(this, height);
+}
+;
+_.setPopupPosition = function(left, top_0){
+ $setPopupPosition(this, left, top_0);
+}
+;
+_.setWidget = function(w){
+ $setWidget_0(this, w);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth(this, width_0);
+}
+;
+_.autoHide = false;
+_.autoHideOnHistoryEvents = false;
+_.isAnimationEnabled = false;
+_.isGlassEnabled = false;
+_.leftPosition = 0;
+_.modal = false;
+_.previewAllNativeEvents = false;
+_.showing = false;
+_.topPosition = 0;
+var impl_4;
+var Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel', 125, Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit);
+function $onResize(){
+ var height, width_0, winHeight, winWidth;
+ null.nullMethod();
+ winWidth = ($clinit_Window() , $getClientWidth($doc));
+ winHeight = $getClientHeight($doc);
+ null.nullMethod(($clinit_Style$Display() , 'none'));
+ null.nullMethod(($clinit_Style$Unit() , '0.0px'));
+ null.nullMethod('0.0px');
+ width_0 = $getScrollWidth($doc);
+ height = $getScrollHeight($doc);
+ null.nullMethod((width_0 > winWidth?width_0:winWidth) + 'px');
+ null.nullMethod((height > winHeight?height:winHeight) + 'px');
+ null.nullMethod('block');
+}
+
+function PopupPanel$1(){
+}
+
+defineClass(298, 1, {590:1, 22:1}, PopupPanel$1);
+var Lcom_google_gwt_user_client_ui_PopupPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/1', 298, Ljava_lang_Object_2_classLit);
+function PopupPanel$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(299, 1, $intern_37, PopupPanel$3);
+_.onPreviewNativeEvent = function(event_0){
+ $previewNativeEvent(this.this$01, event_0);
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$3_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/3', 299, Ljava_lang_Object_2_classLit);
+function PopupPanel$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(300, 1, $intern_38, PopupPanel$4);
+_.onValueChange_0 = function(event_0){
+ this.this$01.autoHideOnHistoryEvents && this.this$01.hide();
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$4_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/4', 300, Ljava_lang_Object_2_classLit);
+function $maybeShowGlass(this$static){
+ if (this$static.showing) {
+ if (this$static.curPanel.isGlassEnabled) {
+ $appendChild($doc.body, this$static.curPanel.glass);
+ this$static.resizeRegistration = addResizeHandler(this$static.curPanel.glassResizer);
+ $onResize();
+ this$static.glassShowing = true;
+ }
+ }
+ else if (this$static.glassShowing) {
+ $removeChild($doc.body, this$static.curPanel.glass);
+ $removeHandler(this$static.resizeRegistration.real);
+ this$static.resizeRegistration = null;
+ this$static.glassShowing = false;
+ }
+}
+
+function $onComplete(this$static){
+ if (!this$static.showing) {
+ $maybeShowGlass(this$static);
+ this$static.isUnloading || $remove_1(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ ($clinit_PopupPanel() , impl_4).setClip($getElement(this$static.curPanel), 'rect(auto, auto, auto, auto)');
+ $setPropertyImpl($getElement(this$static.curPanel).style, 'overflow', 'visible');
+}
+
+function $onInstantaneousRun(this$static){
+ $maybeShowGlass(this$static);
+ if (this$static.showing) {
+ $setPropertyImpl($getElement(this$static.curPanel).style, 'position', 'absolute');
+ this$static.curPanel.topPosition != -1 && this$static.curPanel.setPopupPosition(this$static.curPanel.leftPosition, this$static.curPanel.topPosition);
+ $add_3(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ else {
+ this$static.isUnloading || $remove_1(this$static.this$01.parentPanel, this$static.curPanel);
+ }
+ $setPropertyImpl($getElement(this$static.curPanel).style, 'overflow', 'visible');
+}
+
+function $onUpdate(this$static, progress){
+ var bottom, height, left, right, top_0, width_0;
+ this$static.showing || (progress = 1 - progress);
+ top_0 = 0;
+ left = 0;
+ right = 0;
+ bottom = 0;
+ height = round_int(progress * this$static.offsetHeight_0);
+ width_0 = round_int(progress * this$static.offsetWidth_0);
+ switch (0) {
+ case 0:
+ top_0 = this$static.offsetHeight_0 - height >> 1;
+ left = this$static.offsetWidth_0 - width_0 >> 1;
+ right = left + width_0;
+ bottom = top_0 + height;
+ }
+ ($clinit_PopupPanel() , impl_4).setClip($getElement(this$static.curPanel), 'rect(' + top_0 + 'px, ' + right + 'px, ' + bottom + 'px, ' + left + 'px)');
+}
+
+function $setState(this$static, showing, isUnloading){
+ var animate;
+ this$static.isUnloading = isUnloading;
+ $cancel(this$static);
+ if (this$static.showTimer) {
+ $cancel_0(this$static.showTimer);
+ this$static.showTimer = null;
+ $onComplete(this$static);
+ }
+ this$static.curPanel.showing = showing;
+ $updateHandlers(this$static.curPanel);
+ animate = !isUnloading && this$static.curPanel.isAnimationEnabled;
+ this$static.showing = showing;
+ if (animate) {
+ if (showing) {
+ $maybeShowGlass(this$static);
+ $setPropertyImpl($getElement(this$static.curPanel).style, 'position', 'fixed');
+ this$static.curPanel.topPosition != -1 && this$static.curPanel.setPopupPosition(this$static.curPanel.leftPosition, this$static.curPanel.topPosition);
+ ($clinit_PopupPanel() , impl_4).setClip($getElement(this$static.curPanel), 'rect(0px, 0px, 0px, 0px)');
+ $add_3(this$static.this$01.parentPanel, this$static.curPanel);
+ this$static.showTimer = new PopupPanel$ResizeAnimation$1(this$static);
+ $schedule(this$static.showTimer, 1);
+ }
+ else {
+ $run(this$static, now_1());
+ }
+ }
+ else {
+ $onInstantaneousRun(this$static);
+ }
+}
+
+function PopupPanel$ResizeAnimation(this$0, panel){
+ this.this$01 = this$0;
+ Animation.call(this);
+ this.curPanel = null;
+ this.offsetWidth_0 = -1;
+ this.curPanel = panel;
+}
+
+defineClass(296, 126, {}, PopupPanel$ResizeAnimation);
+_.onComplete = function(){
+ $onComplete(this);
+}
+;
+_.onStart = function(){
+ this.offsetHeight_0 = $getPropertyInt(($clinit_DOM() , this.curPanel.element), 'offsetHeight');
+ this.offsetWidth_0 = $getPropertyInt(this.curPanel.element, 'offsetWidth');
+ this.curPanel.element.style['overflow'] = 'hidden';
+ $onUpdate(this, (1 + cos_0($intern_0)) / 2);
+}
+;
+_.onUpdate = function(progress){
+ $onUpdate(this, progress);
+}
+;
+_.glassShowing = false;
+_.isUnloading = false;
+_.offsetHeight_0 = 0;
+_.offsetWidth_0 = 0;
+_.showing = false;
+var Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/ResizeAnimation', 296, Lcom_google_gwt_animation_client_Animation_2_classLit);
+function PopupPanel$ResizeAnimation$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(297, 48, {}, PopupPanel$ResizeAnimation$1);
+_.run = function(){
+ this.this$11.showTimer = null;
+ $run(this.this$11, now_1());
+}
+;
+var Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'PopupPanel/ResizeAnimation/1', 297, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $clinit_PotentialElement(){
+ $clinit_PotentialElement = emptyMethod;
+ declareShim();
+}
+
+function $setResolver(this$static, resolver){
+ $clinit_PotentialElement();
+ this$static.__gwt_resolve = buildResolveCallback(resolver);
+}
+
+function buildResolveCallback(resolver){
+ return function(){
+ this.__gwt_resolve = cannotResolveTwice;
+ return resolver.resolvePotentialElement();
+ }
+ ;
+}
+
+function cannotResolveTwice(){
+ throw 'A PotentialElement cannot be resolved twice.';
+}
+
+function declareShim(){
+ 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;
+}
+
+defineClass(558, 557, $intern_25);
+var Lcom_google_gwt_user_client_ui_ResizeComposite_2_classLit = createForClass('com.google.gwt.user.client.ui', 'ResizeComposite', 558, Lcom_google_gwt_user_client_ui_Composite_2_classLit);
+function $clinit_RootPanel(){
+ $clinit_RootPanel = emptyMethod;
+ maybeDetachCommand = new RootPanel$1;
+ rootPanels = new HashMap;
+ widgetsToDetach = new HashSet;
+}
+
+function RootPanel(elem){
+ ComplexPanel.call(this);
+ $setElement_0(this, ($clinit_DOM() , elem));
+ $onAttach(this);
+}
+
+function detachNow(widget){
+ $clinit_RootPanel();
+ try {
+ widget.onDetach();
+ }
+ finally {
+ $remove_8(widgetsToDetach, widget);
+ }
+}
+
+function detachWidgets(){
+ $clinit_RootPanel();
+ try {
+ tryCommand(widgetsToDetach, maybeDetachCommand);
+ }
+ finally {
+ widgetsToDetach.map_0.clear_0();
+ rootPanels.clear_0();
+ }
+}
+
+function get_0(){
+ $clinit_RootPanel();
+ var rp;
+ rp = dynamicCast(rootPanels.get_1(null), 116);
+ if (rp) {
+ return rp;
+ }
+ if (rootPanels.size_2() == 0) {
+ addCloseHandler(new RootPanel$2);
+ $clinit_LocaleInfo();
+ }
+ rp = new RootPanel$DefaultRootPanel;
+ rootPanels.put(null, rp);
+ $add_7(widgetsToDetach, rp);
+ return rp;
+}
+
+function getBodyElement(){
+ $clinit_RootPanel();
+ return $doc.body;
+}
+
+defineClass(116, 441, $intern_39);
+var maybeDetachCommand, rootPanels, widgetsToDetach;
+var Lcom_google_gwt_user_client_ui_RootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel', 116, Lcom_google_gwt_user_client_ui_AbsolutePanel_2_classLit);
+function RootPanel$1(){
+}
+
+defineClass(443, 1, {}, RootPanel$1);
+_.execute_2 = function(w){
+ w.isAttached() && w.onDetach();
+}
+;
+var Lcom_google_gwt_user_client_ui_RootPanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/1', 443, Ljava_lang_Object_2_classLit);
+function RootPanel$2(){
+}
+
+defineClass(444, 1, {201:1, 22:1}, RootPanel$2);
+_.onClose = function(closeEvent){
+ detachWidgets();
+}
+;
+var Lcom_google_gwt_user_client_ui_RootPanel$2_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/2', 444, Ljava_lang_Object_2_classLit);
+function RootPanel$DefaultRootPanel(){
+ RootPanel.call(this, getBodyElement());
+}
+
+defineClass(442, 116, $intern_39, RootPanel$DefaultRootPanel);
+var Lcom_google_gwt_user_client_ui_RootPanel$DefaultRootPanel_2_classLit = createForClass('com.google.gwt.user.client.ui', 'RootPanel/DefaultRootPanel', 442, Lcom_google_gwt_user_client_ui_RootPanel_2_classLit);
+function $next(this$static){
+ if (!this$static.hasElement || !this$static.this$01.widget) {
+ throw new NoSuchElementException;
+ }
+ this$static.hasElement = false;
+ return this$static.returned = this$static.this$01.widget;
+}
+
+function SimplePanel$1(this$0){
+ this.this$01 = this$0;
+ this.hasElement = !!this.this$01.widget;
+}
+
+defineClass(290, 1, {}, SimplePanel$1);
+_.hasNext = function(){
+ return this.hasElement;
+}
+;
+_.next_0 = function(){
+ return $next(this);
+}
+;
+_.remove_0 = function(){
+ !!this.returned && $remove_2(this.this$01, this.returned);
+}
+;
+_.hasElement = false;
+_.returned = null;
+var Lcom_google_gwt_user_client_ui_SimplePanel$1_2_classLit = createForClass('com.google.gwt.user.client.ui', 'SimplePanel/1', 290, Ljava_lang_Object_2_classLit);
+function $add_4(this$static, w){
+ $insert(this$static, w, this$static.size_0);
+}
+
+function $indexOf(this$static, w){
+ var i_0;
+ for (i_0 = 0; i_0 < this$static.size_0; ++i_0) {
+ if (this$static.array[i_0] == w) {
+ return i_0;
+ }
+ }
+ return -1;
+}
+
+function $insert(this$static, w, beforeIndex){
+ var i_0, i0, newArray;
+ if (beforeIndex < 0 || beforeIndex > this$static.size_0) {
+ throw new IndexOutOfBoundsException;
+ }
+ if (this$static.size_0 == this$static.array.length) {
+ newArray = initDim(Lcom_google_gwt_user_client_ui_Widget_2_classLit, $intern_4, 17, this$static.array.length * 2, 0, 1);
+ for (i0 = 0; i0 < this$static.array.length; ++i0) {
+ setCheck(newArray, i0, this$static.array[i0]);
+ }
+ this$static.array = newArray;
+ }
+ ++this$static.size_0;
+ for (i_0 = this$static.size_0 - 1; i_0 > beforeIndex; --i_0) {
+ setCheck(this$static.array, i_0, this$static.array[i_0 - 1]);
+ }
+ setCheck(this$static.array, beforeIndex, w);
+}
+
+function $remove_3(this$static, index_0){
+ var i_0;
+ if (index_0 < 0 || index_0 >= this$static.size_0) {
+ throw new IndexOutOfBoundsException;
+ }
+ --this$static.size_0;
+ for (i_0 = index_0; i_0 < this$static.size_0; ++i_0) {
+ setCheck(this$static.array, i_0, this$static.array[i_0 + 1]);
+ }
+ setCheck(this$static.array, this$static.size_0, null);
+}
+
+function $remove_4(this$static, w){
+ var index_0;
+ index_0 = $indexOf(this$static, w);
+ if (index_0 == -1) {
+ throw new NoSuchElementException;
+ }
+ $remove_3(this$static, index_0);
+}
+
+function WidgetCollection(parent_0){
+ this.parent_0 = parent_0;
+ this.array = initDim(Lcom_google_gwt_user_client_ui_Widget_2_classLit, $intern_4, 17, 4, 0, 1);
+}
+
+defineClass(517, 1, {}, WidgetCollection);
+_.iterator_0 = function(){
+ return new WidgetCollection$WidgetIterator(this);
+}
+;
+_.size_0 = 0;
+var Lcom_google_gwt_user_client_ui_WidgetCollection_2_classLit = createForClass('com.google.gwt.user.client.ui', 'WidgetCollection', 517, Ljava_lang_Object_2_classLit);
+function $next_0(this$static){
+ if (this$static.index_0 >= this$static.this$01.size_0) {
+ throw new NoSuchElementException;
+ }
+ this$static.currentWidget = this$static.this$01.array[this$static.index_0];
+ ++this$static.index_0;
+ return this$static.currentWidget;
+}
+
+function WidgetCollection$WidgetIterator(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(193, 1, {}, WidgetCollection$WidgetIterator);
+_.hasNext = function(){
+ return this.index_0 < this.this$01.size_0;
+}
+;
+_.next_0 = function(){
+ return $next_0(this);
+}
+;
+_.remove_0 = function(){
+ if (!this.currentWidget) {
+ throw new IllegalStateException;
+ }
+ this.this$01.parent_0.remove(this.currentWidget);
+ --this.index_0;
+ this.currentWidget = null;
+}
+;
+_.index_0 = 0;
+var Lcom_google_gwt_user_client_ui_WidgetCollection$WidgetIterator_2_classLit = createForClass('com.google.gwt.user.client.ui', 'WidgetCollection/WidgetIterator', 193, Ljava_lang_Object_2_classLit);
+function $clinit_FocusImpl(){
+ $clinit_FocusImpl = emptyMethod;
+ implPanel = com_google_gwt_user_client_ui_impl_FocusImpl();
+ implPanel?new FocusImpl:implPanel;
+}
+
+function FocusImpl(){
+}
+
+defineClass(497, 1, {}, FocusImpl);
+_.focus_0 = function(elem){
+ $focus(elem);
+}
+;
+var implPanel;
+var Lcom_google_gwt_user_client_ui_impl_FocusImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImpl', 497, Ljava_lang_Object_2_classLit);
+function FocusImplStandard(){
+ $clinit_FocusImpl();
+}
+
+defineClass(505, 497, {}, FocusImplStandard);
+var Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImplStandard', 505, Lcom_google_gwt_user_client_ui_impl_FocusImpl_2_classLit);
+function FocusImplSafari(){
+ $clinit_FocusImpl();
+}
+
+defineClass(506, 505, {}, FocusImplSafari);
+_.focus_0 = function focus_0(elem){
+ $wnd.setTimeout(function(){
+ elem.focus();
+ }
+ , 0);
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_FocusImplSafari_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'FocusImplSafari', 506, Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2_classLit);
+function PopupImpl(){
+}
+
+defineClass(480, 1, {}, PopupImpl);
+_.createElement_0 = function(){
+ return $createDivElement($doc);
+}
+;
+_.getContainerElement_0 = function(popup){
+ return popup;
+}
+;
+_.getStyleElement_0 = function(popup){
+ return $getParentElement_0(($clinit_DOMImpl() , popup));
+}
+;
+_.setClip = function(popup, rect){
+ $setPropertyImpl(popup.style, 'clip', rect);
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_PopupImpl_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImpl', 480, Ljava_lang_Object_2_classLit);
+function $clinit_PopupImplMozilla(){
+ $clinit_PopupImplMozilla = emptyMethod;
+ isFF2Mac = isFF2Mac_0();
+}
+
+function PopupImplMozilla(){
+ $clinit_PopupImplMozilla();
+}
+
+function isFF2Mac_0(){
+ function makeVersion(result){
+ return parseInt(result[1]) * 1000 + parseInt(result[2]);
+ }
+
+ var ua = navigator.userAgent;
+ if (ua.indexOf('Macintosh') != -1) {
+ var result_0 = /rv:([0-9]+)\.([0-9]+)/.exec(ua);
+ if (result_0 && result_0.length == 3) {
+ if (makeVersion(result_0) <= 1008) {
+ return true;
+ }
+ }
+ }
+ return false;
+}
+
+defineClass(481, 480, {}, PopupImplMozilla);
+_.createElement_0 = function(){
+ var outerElem;
+ outerElem = ($clinit_DOM() , $createDivElement($doc));
+ if (isFF2Mac) {
+ $setInnerHTML(outerElem, '<div><\/div>');
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new PopupImplMozilla$1(outerElem));
+ }
+ return outerElem;
+}
+;
+_.getContainerElement_0 = function(outerElem){
+ return isFF2Mac?$getFirstChildElement_0(($clinit_DOMImpl() , outerElem)):outerElem;
+}
+;
+_.getStyleElement_0 = function(outerElem){
+ return isFF2Mac?outerElem:$getParentElement_0(($clinit_DOMImpl() , outerElem));
+}
+;
+_.setClip = function(popup, rect){
+ $setPropertyImpl(popup.style, 'clip', rect);
+ $setPropertyImpl(popup.style, 'display', ($clinit_Style$Display() , 'none'));
+ $setPropertyImpl(popup.style, 'display', '');
+}
+;
+var isFF2Mac = false;
+var Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImplMozilla', 481, Lcom_google_gwt_user_client_ui_impl_PopupImpl_2_classLit);
+function PopupImplMozilla$1(val$outerElem){
+ this.val$outerElem2 = val$outerElem;
+}
+
+defineClass(482, 1, {}, PopupImplMozilla$1);
+_.execute_1 = function(){
+ this.val$outerElem2.style['overflow'] = ($clinit_Style$Overflow() , 'auto');
+}
+;
+var Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla$1_2_classLit = createForClass('com.google.gwt.user.client.ui.impl', 'PopupImplMozilla/1', 482, Ljava_lang_Object_2_classLit);
+function assertCompileTimeUserAgent(){
+ var compileTimeValue, impl, runtimeValue;
+ impl = dynamicCast(com_google_gwt_useragent_client_UserAgent(), 202);
+ compileTimeValue = impl.getCompileTimeValue();
+ runtimeValue = impl.getRuntimeValue();
+ if (!$equals_2(compileTimeValue, runtimeValue)) {
+ throw new UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue);
+ }
+}
+
+function Error_0(message, cause){
+ Throwable.call(this, message, cause);
+}
+
+defineClass(118, 12, $intern_1);
+var Ljava_lang_Error_2_classLit = createForClass('java.lang', 'Error', 118, Ljava_lang_Throwable_2_classLit);
+defineClass(41, 118, $intern_1);
+var Ljava_lang_AssertionError_2_classLit = createForClass('java.lang', 'AssertionError', 41, Ljava_lang_Error_2_classLit);
+function UserAgentAsserter$UserAgentAssertionError(compileTimeValue, runtimeValue){
+ Error_0.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.'), instanceOf('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.', 12)?dynamicCast('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.', 12):null);
+}
+
+defineClass(203, 41, $intern_1, UserAgentAsserter$UserAgentAssertionError);
+var Lcom_google_gwt_useragent_client_UserAgentAsserter$UserAgentAssertionError_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentAsserter/UserAgentAssertionError', 203, Ljava_lang_AssertionError_2_classLit);
+function UserAgentImplGecko1_8(){
+}
+
+defineClass(465, 1, {202:1}, UserAgentImplGecko1_8);
+_.getCompileTimeValue = function(){
+ return 'gecko1_8';
+}
+;
+_.getRuntimeValue = function getRuntimeValue(){
+ 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 Lcom_google_gwt_useragent_client_UserAgentImplGecko1_18_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplGecko1_8', 465, Ljava_lang_Object_2_classLit);
+function UserAgentImplSafari(){
+}
+
+defineClass(466, 1, {202:1}, UserAgentImplSafari);
+_.getCompileTimeValue = function(){
+ return 'safari';
+}
+;
+_.getRuntimeValue = function getRuntimeValue_0(){
+ 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 Lcom_google_gwt_useragent_client_UserAgentImplSafari_2_classLit = createForClass('com.google.gwt.useragent.client', 'UserAgentImplSafari', 466, Ljava_lang_Object_2_classLit);
+function $clearOnReadyStateChange(this$static){
+ this$static.onreadystatechange = function(){
+ }
+ ;
+}
+
+function $open(this$static, httpMethod, url_0, user){
+ this$static.open(httpMethod, url_0, true, user);
+}
+
+function $open_0(this$static, httpMethod, url_0, user, password){
+ this$static.open(httpMethod, url_0, true, user, password);
+}
+
+function $setOnReadyStateChange(this$static, handler){
+ var _this = this$static;
+ this$static.onreadystatechange = $entry(function(){
+ handler.onReadyStateChange(_this);
+ }
+ );
+}
+
+function $setRequestHeader(this$static, header, value_0){
+ this$static.setRequestHeader(header, value_0);
+}
+
+function $removeHandler(this$static){
+ $doRemove(this$static.this$01, this$static.val$type2, this$static.val$source3, this$static.val$handler4);
+}
+
+function SimpleEventBus$1(this$0, val$type, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = null;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(335, 1, {}, SimpleEventBus$1);
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/1', 335, Ljava_lang_Object_2_classLit);
+function SimpleEventBus$2(this$0, val$type, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = null;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(336, 1, {537:1}, SimpleEventBus$2);
+_.execute_1 = function(){
+ $doAddNow(this.this$01, this.val$type2, this.val$source3, this.val$handler4);
+}
+;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$2_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/2', 336, Ljava_lang_Object_2_classLit);
+function SimpleEventBus$3(this$0, val$type, val$source, val$handler){
+ this.this$01 = this$0;
+ this.val$type2 = val$type;
+ this.val$source3 = val$source;
+ this.val$handler4 = val$handler;
+}
+
+defineClass(337, 1, {537:1}, SimpleEventBus$3);
+_.execute_1 = function(){
+ $doRemoveNow(this.this$01, this.val$type2, this.val$source3, this.val$handler4);
+}
+;
+var Lcom_google_web_bindery_event_shared_SimpleEventBus$3_2_classLit = createForClass('com.google.web.bindery.event.shared', 'SimpleEventBus/3', 337, Ljava_lang_Object_2_classLit);
+function $clinit_AnimationUtil(){
+ $clinit_AnimationUtil = emptyMethod;
+ ANIMATION_END_EVENT_NAME = whichAnimationEndEvent();
+ whichAnimationProperty();
+}
+
+function addAnimationEndListener(elem, listener){
+ $clinit_AnimationUtil();
+ var callbackFunc = $entry(function(e){
+ listener.onAnimationEnd(e);
+ }
+ );
+ elem.addEventListener(ANIMATION_END_EVENT_NAME, callbackFunc, false);
+ !elem._vaadin_animationend_callbacks && (elem._vaadin_animationend_callbacks = []);
+ elem._vaadin_animationend_callbacks.push(callbackFunc);
+ return callbackFunc;
+}
+
+function getAnimationName(event_0){
+ $clinit_AnimationUtil();
+ 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 getAnimationName_0(cstyle){
+ $clinit_AnimationUtil();
+ var cs = cstyle.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 removeAllAnimationEndListeners(elem){
+ $clinit_AnimationUtil();
+ if (elem._vaadin_animationend_callbacks) {
+ var callbacks = elem._vaadin_animationend_callbacks;
+ for (var i_0 = 0; i_0 < callbacks.length; i_0++) {
+ elem.removeEventListener(ANIMATION_END_EVENT_NAME, callbacks[i_0], false);
+ }
+ }
+}
+
+function removeAnimationEndListener(elem, listener){
+ $clinit_AnimationUtil();
+ elem.removeEventListener(ANIMATION_END_EVENT_NAME, listener, false);
+}
+
+function whichAnimationEndEvent(){
+ 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 whichAnimationProperty(){
+ var el = document.createElement('fakeelement');
+ var anims = ['animation', 'oAnimation', 'mozAnimation', 'webkitAnimation'];
+ for (var i_0 = 0; i_0 < anims.length; i_0++) {
+ if (el.style[anims[i_0]] !== undefined) {
+ return anims[i_0];
+ }
+ }
+}
+
+var ANIMATION_END_EVENT_NAME;
+function $clinit_ApplicationConfiguration(){
+ $clinit_ApplicationConfiguration = emptyMethod;
+ new LinkedList;
+ runningApplications_0 = new ArrayList;
+}
+
+var runningApplications_0;
+function $clinit_BrowserInfo(){
+ $clinit_BrowserInfo = emptyMethod;
+ var browserClassnames;
+ browserClassnames = $getCSSClass((!instance_2 && (instance_2 = new BrowserInfo) , instance_2));
+ $addStyleName(($clinit_RootPanel() , get_0()), browserClassnames);
+}
+
+function $detectTouchDevice(){
+ try {
+ document.createEvent('TouchEvent');
+ return true;
+ }
+ catch (e) {
+ return false;
+ }
+}
+
+function $getCSSClass(this$static){
+ var browserEngineClass, browserIdentifier, majorVersionClass, minorVersionClass, osClass;
+ if (cssClass == null) {
+ browserIdentifier = '';
+ majorVersionClass = '';
+ minorVersionClass = '';
+ browserEngineClass = '';
+ if (this$static.browserDetails.isFirefox) {
+ browserIdentifier = 'ff';
+ majorVersionClass = 'ff' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'gecko';
+ }
+ else if (this$static.browserDetails.isChrome) {
+ browserIdentifier = 'sa';
+ majorVersionClass = 'ch';
+ browserEngineClass = 'webkit';
+ }
+ else if (this$static.browserDetails.isSafari) {
+ browserIdentifier = 'sa';
+ majorVersionClass = 'sa' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'webkit';
+ }
+ else if (this$static.browserDetails.isIE) {
+ browserIdentifier = 'ie';
+ majorVersionClass = 'ie' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'trident';
+ }
+ else if (this$static.browserDetails.isOpera) {
+ browserIdentifier = 'op';
+ majorVersionClass = 'op' + this$static.browserDetails.browserMajorVersion;
+ minorVersionClass = majorVersionClass + this$static.browserDetails.browserMinorVersion;
+ browserEngineClass = 'presto';
+ }
+ cssClass = 'v-' + browserIdentifier;
+ $equals_2('', majorVersionClass) || (cssClass = cssClass + ' ' + 'v-' + majorVersionClass);
+ $equals_2('', minorVersionClass) || (cssClass = cssClass + ' ' + 'v-' + minorVersionClass);
+ $equals_2('', browserEngineClass) || (cssClass = cssClass + ' ' + 'v-' + browserEngineClass);
+ osClass = $getOperatingSystemClass(this$static);
+ osClass != null && (cssClass = cssClass + ' ' + osClass);
+ this$static.touchDevice && (cssClass = cssClass + ' ' + 'v-' + 'touch');
+ }
+ return cssClass;
+}
+
+function $getIEDocumentMode(){
+ var mode = $wnd.document.documentMode;
+ if (!mode)
+ return -1;
+ return mode;
+}
+
+function $getOperatingSystemClass(this$static){
+ if (this$static.browserDetails.os == 5) {
+ return 'v-android';
+ }
+ else if (this$static.browserDetails.os == 4) {
+ return 'v-ios v-ios' + this$static.browserDetails.osMajorVersion;
+ }
+ else if (this$static.browserDetails.os == 1) {
+ return 'v-win';
+ }
+ else if (this$static.browserDetails.os == 3) {
+ return 'v-lin';
+ }
+ else if (this$static.browserDetails.os == 2) {
+ return 'v-mac';
+ }
+ return null;
+}
+
+function $isBrowserVersionNewerOrEqual(this$static){
+ if (this$static.browserDetails.browserMajorVersion == 8) {
+ return this$static.browserDetails.browserMinorVersion >= 0;
+ }
+ return this$static.browserDetails.browserMajorVersion > 8;
+}
+
+function $isIE10(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 10;
+}
+
+function $isIE8(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 8;
+}
+
+function $isIE9(this$static){
+ return this$static.browserDetails.isIE && this$static.browserDetails.browserMajorVersion == 9;
+}
+
+function BrowserInfo(){
+ $clinit_BrowserInfo();
+ var documentMode;
+ this.browserDetails = new VBrowserDetails($wnd.navigator.userAgent);
+ if (this.browserDetails.isIE) {
+ documentMode = $getIEDocumentMode();
+ documentMode != -1 && $setIEMode(this.browserDetails, documentMode);
+ }
+ this.browserDetails.isChrome?(this.touchDevice = 'ontouchstart' in window):this.browserDetails.isIE?(this.touchDevice = !!navigator.msMaxTouchPoints):(this.touchDevice = $detectTouchDevice());
+}
+
+defineClass(39, 1, {}, BrowserInfo);
+_.touchDevice = false;
+var cssClass = null, instance_2;
+var Lcom_vaadin_client_BrowserInfo_2_classLit = createForClass('com.vaadin.client', 'BrowserInfo', 39, Ljava_lang_Object_2_classLit);
+function ComputedStyle(elem){
+ this.computedStyle = getComputedStyle_0(elem);
+}
+
+function getComputedStyle_0(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;
+ }
+}
+
+defineClass(189, 1, {}, ComputedStyle);
+var Lcom_vaadin_client_ComputedStyle_2_classLit = createForClass('com.vaadin.client', 'ComputedStyle', 189, Ljava_lang_Object_2_classLit);
+function findConnectorFor(){
+ var applicationConnection$iterator, runningApplications;
+ runningApplications = ($clinit_ApplicationConfiguration() , $clinit_ApplicationConfiguration() , runningApplications_0);
+ for (applicationConnection$iterator = new AbstractList$IteratorImpl(runningApplications); applicationConnection$iterator.i < applicationConnection$iterator.this$01_0.size_2();) {
+ checkCriticalElement(applicationConnection$iterator.i < applicationConnection$iterator.this$01_0.size_2());
+ throwClassCastExceptionUnlessNull(applicationConnection$iterator.this$01_0.get_0(applicationConnection$iterator.last = applicationConnection$iterator.i++));
+ null.nullMethod();
+ null.nullMethod();
+ continue;
+ }
+ return null;
+}
+
+function $scheduleDeferred_0(this$static, cmd){
+ ++this$static.deferredCommandTrackers;
+ this$static.deferredCommands = push_0(this$static.deferredCommands, [cmd, false]);
+ $maybeSchedulePostEventPumpCommands(this$static);
+ $scheduleDeferred(this$static, new VSchedulerImpl$1(this$static));
+}
+
+function VSchedulerImpl(){
+ this.deferredCommandTrackers = 0;
+}
+
+defineClass(462, 433, {}, VSchedulerImpl);
+_.deferredCommandTrackers = 0;
+var Lcom_vaadin_client_VSchedulerImpl_2_classLit = createForClass('com.vaadin.client', 'VSchedulerImpl', 462, Lcom_google_gwt_core_client_impl_SchedulerImpl_2_classLit);
+function VSchedulerImpl$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(463, 1, {}, VSchedulerImpl$1);
+_.execute_1 = function(){
+ --this.this$01.deferredCommandTrackers;
+}
+;
+var Lcom_vaadin_client_VSchedulerImpl$1_2_classLit = createForClass('com.vaadin.client', 'VSchedulerImpl/1', 463, Ljava_lang_Object_2_classLit);
+function $clinit_WidgetUtil(){
+ $clinit_WidgetUtil = emptyMethod;
+ $clinit_DOM();
+ $createDivElement($doc);
+}
+
+function findWidget(element){
+ $clinit_WidgetUtil();
+ var eventListener, w;
+ if (element) {
+ eventListener = null;
+ while (!eventListener && !!element) {
+ eventListener = ($clinit_DOM() , getEventListener(element));
+ !eventListener && (element = $getParentElement_0(($clinit_DOMImpl() , element)));
+ }
+ if (instanceOf(eventListener, 17)) {
+ w = dynamicCast(eventListener, 17);
+ while (w) {
+ return w;
+ }
+ }
+ }
+ return null;
+}
+
+function forceIERedraw(e){
+ var style, currentValue;
+ $clinit_WidgetUtil();
+ ($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isIE && (style = e.style , currentValue = ($clinit_DOMImpl() , style)['zoom'] , $setPropertyImpl(style, 'zoom', '1') , $getSubPixelOffsetWidth(e) | 0 , $setPropertyImpl(style, 'zoom', currentValue) , undefined);
+}
+
+function getElementFromPoint(clientX, clientY){
+ $clinit_WidgetUtil();
+ var el = $wnd.document.elementFromPoint(clientX, clientY);
+ el = $wnd.document.elementFromPoint(clientX, clientY);
+ el != null && el.nodeType == 3 && (el = el.parentNode);
+ return el;
+}
+
+function getFocusedElement(){
+ $clinit_WidgetUtil();
+ if ($wnd.document.activeElement) {
+ return $wnd.document.activeElement;
+ }
+ return null;
+}
+
+function getNativeScrollbarSize(){
+ $clinit_WidgetUtil();
+ var scroller;
+ if (detectedScrollbarSize < 0) {
+ scroller = ($clinit_DOM() , $createDivElement($doc));
+ $setPropertyImpl(scroller.style, 'width', '50px');
+ $setPropertyImpl(scroller.style, 'height', '50px');
+ $setPropertyImpl(scroller.style, 'overflow', 'scroll');
+ $setPropertyImpl(scroller.style, 'position', 'absolute');
+ $setPropertyImpl(scroller.style, 'marginLeft', '-5000px');
+ $appendChild(getBodyElement(), scroller);
+ detectedScrollbarSize = ($getSubPixelOffsetWidth(scroller) | 0) - $getPropertyInt(scroller, 'clientWidth');
+ $removeChild(getBodyElement(), scroller);
+ }
+ return detectedScrollbarSize;
+}
+
+function getRequiredHeightBoundingClientRectDouble(element){
+ $clinit_WidgetUtil();
+ var height;
+ if (element.getBoundingClientRect != null) {
+ var rect = element.getBoundingClientRect();
+ height = Math.ceil(rect.bottom - rect.top);
+ }
+ else {
+ height = element.offsetHeight;
+ }
+ return height;
+}
+
+function getRequiredWidthBoundingClientRectDouble(element){
+ $clinit_WidgetUtil();
+ if (element.getBoundingClientRect) {
+ var rect = element.getBoundingClientRect();
+ return Math.ceil(rect.right - rect.left);
+ }
+ else {
+ return element.offsetWidth;
+ }
+}
+
+function pixelValuesEqual(num1, num2){
+ $clinit_WidgetUtil();
+ return (num1 - num2 <= 0?0 - (num1 - num2):num1 - num2) <= 0.49;
+}
+
+var detectedScrollbarSize = -1;
+function $checkCacheCoverage(this$static){
+ var minCacheRange, missingCachePartition, availableDataRange;
+ if (this$static.currentRequestCallback) {
+ return;
+ }
+ minCacheRange = (availableDataRange = $getAvailableRangeForCache(this$static) , $getMinCacheRange(this$static.cacheStrategy, this$static.requestedAvailability, availableDataRange));
+ if (!$intersects(minCacheRange, this$static.cached) || $isEmpty_0(this$static.cached)) {
+ this$static.indexToRowMap.clear_0();
+ this$static.keyToIndexMap.clear_0();
+ this$static.cached = new Range_0(0, 0);
+ $handleMissingRows(this$static, $getMaxCacheRange(this$static));
+ }
+ else {
+ $discardStaleCacheEntries(this$static);
+ if ($isSubsetOf(minCacheRange, this$static.cached)) {
+ $dataAvailable(this$static.dataChangeHandler, this$static.cached.start_0, $length_0(this$static.cached));
+ }
+ else {
+ missingCachePartition = $partitionWith($getMaxCacheRange(this$static), this$static.cached);
+ $handleMissingRows(this$static, missingCachePartition[0]);
+ $handleMissingRows(this$static, missingCachePartition[2]);
+ }
+ }
+}
+
+function $discardStaleCacheEntries(this$static){
+ var cacheParition;
+ cacheParition = $partitionWith(this$static.cached, $getMaxCacheRange(this$static));
+ $dropFromCache(this$static, cacheParition[0]);
+ this$static.cached = cacheParition[1];
+ $dropFromCache(this$static, cacheParition[2]);
+}
+
+function $dropFromCache(this$static, range){
+ var i_0, removed;
+ for (i_0 = range.start_0; i_0 < range.end; i_0++) {
+ removed = this$static.indexToRowMap.remove_2(valueOf_2(i_0));
+ this$static.keyToIndexMap.remove_2(this$static.getRowKey(removed));
+ }
+}
+
+function $ensureCoverageCheck(this$static){
+ if (!this$static.coverageCheckPending) {
+ this$static.coverageCheckPending = true;
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this$static.coverageChecker);
+ }
+}
+
+function $getAvailableRangeForCache(this$static){
+ var upperBound;
+ upperBound = this$static.size_2();
+ upperBound == -1 && (upperBound = $length_0(this$static.requestedAvailability));
+ return withLength(0, upperBound);
+}
+
+function $getMaxCacheRange(this$static){
+ var availableDataRange, maxCacheRange;
+ availableDataRange = $getAvailableRangeForCache(this$static);
+ maxCacheRange = $getMaxCacheRange_0(this$static.cacheStrategy, this$static.requestedAvailability, availableDataRange);
+ return maxCacheRange;
+}
+
+function $handleMissingRows(this$static, range){
+ if (range.start_0 >= range.end) {
+ return;
+ }
+ this$static.currentRequestCallback = new AbstractRemoteDataSource$RequestRowsCallback;
+ this$static.requestRows(range.start_0, range.end - range.start_0, this$static.currentRequestCallback);
+}
+
+function $pinHandle(this$static, handle){
+ var count, key;
+ key = handle.key;
+ count = dynamicCast(this$static.pinnedCounts.get_1(key), 65);
+ if (!count) {
+ count = valueOf_2(0);
+ this$static.pinnedRows.put(key, handle);
+ }
+ this$static.pinnedCounts.put(key, valueOf_2(count.value_0 + 1));
+}
+
+function $resetDataAndSize(this$static, newSize){
+ this$static.size_1 = newSize;
+ $dropFromCache(this$static, this$static.cached);
+ this$static.cached = withLength(0, 0);
+ $resetDataAndSize_0(this$static.dataChangeHandler, newSize);
+}
+
+function $setRowData(this$static, firstRowIndex, rowData){
+ var i_0, maxCacheRange, newUsefulData, partition, received, row;
+ received = withLength(firstRowIndex, rowData.array.length);
+ if (this$static.currentRequestCallback) {
+ now_1() - this$static.currentRequestCallback.requestStart;
+ this$static.currentRequestCallback = null;
+ }
+ maxCacheRange = $getMaxCacheRange(this$static);
+ partition = $partitionWith(received, maxCacheRange);
+ newUsefulData = partition[1];
+ if (newUsefulData.start_0 < newUsefulData.end) {
+ for (i_0 = newUsefulData.start_0; i_0 < newUsefulData.end; i_0++) {
+ row = (checkElementIndex(i_0 - firstRowIndex, rowData.array.length) , rowData.array[i_0 - firstRowIndex]);
+ this$static.indexToRowMap.put(valueOf_2(i_0), row);
+ this$static.keyToIndexMap.put(this$static.getRowKey_0(dynamicCastJso(row)), valueOf_2(i_0));
+ }
+ !!this$static.dataChangeHandler && $dataUpdated(this$static.dataChangeHandler, newUsefulData.start_0, newUsefulData.end - newUsefulData.start_0);
+ if ($isEmpty_0(this$static.cached)) {
+ this$static.cached = newUsefulData;
+ }
+ else {
+ $discardStaleCacheEntries(this$static);
+ $isEmpty_0(this$static.cached)?(this$static.cached = newUsefulData):(this$static.cached = $combineWith(this$static.cached, newUsefulData));
+ }
+ $dataAvailable(this$static.dataChangeHandler, this$static.cached.start_0, $length_0(this$static.cached));
+ $updatePinnedRows(this$static, rowData);
+ }
+ !$isEmpty_0(partition[0]) || !$isEmpty_0(partition[2]);
+ $ensureCoverageCheck(this$static);
+}
+
+function $unpinHandle(this$static, handle){
+ var count, key;
+ key = handle.key;
+ count = dynamicCast(this$static.pinnedCounts.get_1(key), 65);
+ if (!count) {
+ throw new IllegalStateException_0('Row ' + $getRow(handle) + ' with key ' + key + ' was not pinned to begin with');
+ }
+ else if ($equals_1(count, valueOf_2(1))) {
+ this$static.pinnedRows.remove_2(key);
+ this$static.pinnedCounts.remove_2(key);
+ }
+ else {
+ this$static.pinnedCounts.put(key, valueOf_2(count.value_0 - 1));
+ }
+}
+
+function $updatePinnedRows(this$static, rowData){
+ var handle, key, row, row$iterator;
+ for (row$iterator = new AbstractList$IteratorImpl(rowData); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , row$iterator.this$01_0.get_0(row$iterator.last = row$iterator.i++));
+ key = this$static.getRowKey_0(dynamicCastJso(row));
+ handle = dynamicCast(this$static.pinnedRows.get_1(key), 106);
+ !!handle && (handle.row = row);
+ }
+}
+
+defineClass(307, 1, {});
+_.ensureAvailability = function(firstRowIndex, numberOfRows){
+ this.requestedAvailability = withLength(firstRowIndex, numberOfRows);
+ $ensureCoverageCheck(this);
+}
+;
+_.getHandle = function(row){
+ var key;
+ key = this.getRowKey(row);
+ if (key == null) {
+ throw new NullPointerException_0('key may not be null (row: ' + row + ')');
+ }
+ if (this.pinnedRows.containsKey(key)) {
+ return dynamicCast(this.pinnedRows.get_1(key), 79);
+ }
+ else if (this.keyToIndexMap.containsKey(key)) {
+ return new AbstractRemoteDataSource$RowHandleImpl(this, row, key);
+ }
+ else {
+ throw new IllegalStateException_0('The cache of this DataSource does not currently contain the row ' + row);
+ }
+}
+;
+_.getRow = function(rowIndex){
+ return this.indexToRowMap.get_1(valueOf_2(rowIndex));
+}
+;
+_.indexOf_0 = function(row){
+ var key;
+ key = this.getRowKey(row);
+ if (this.keyToIndexMap.containsKey(key)) {
+ return dynamicCast(this.keyToIndexMap.get_1(key), 65).value_0;
+ }
+ return -1;
+}
+;
+_.setDataChangeHandler = function(dataChangeHandler){
+ this.dataChangeHandler = dataChangeHandler;
+ if (!!dataChangeHandler && !$isEmpty_0(this.cached)) {
+ $dataUpdated(dataChangeHandler, this.cached.start_0, $length_0(this.cached));
+ $dataAvailable(dataChangeHandler, this.cached.start_0, $length_0(this.cached));
+ }
+}
+;
+_.size_2 = function(){
+ return this.size_1;
+}
+;
+_.coverageCheckPending = false;
+_.size_1 = -1;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource', 307, Ljava_lang_Object_2_classLit);
+function AbstractRemoteDataSource$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(312, 1, {}, AbstractRemoteDataSource$1);
+_.execute_1 = function(){
+ this.this$01.coverageCheckPending = false;
+ $checkCacheCoverage(this.this$01);
+}
+;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$1_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/1', 312, Ljava_lang_Object_2_classLit);
+function AbstractRemoteDataSource$RequestRowsCallback(){
+ this.requestStart = now_1();
+}
+
+defineClass(311, 1, {}, AbstractRemoteDataSource$RequestRowsCallback);
+_.requestStart = 0;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$RequestRowsCallback_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/RequestRowsCallback', 311, Ljava_lang_Object_2_classLit);
+defineClass(79, 1, {79:1});
+_.equals$ = function(obj){
+ return this.equalsExplicit(obj);
+}
+;
+_.hashCode$ = function(){
+ return this.hashCodeExplicit();
+}
+;
+var Lcom_vaadin_client_data_DataSource$RowHandle_2_classLit = createForClass('com.vaadin.client.data', 'DataSource/RowHandle', 79, Ljava_lang_Object_2_classLit);
+function $getRow(this$static){
+ if (this$static.this$01.pinnedRows.containsKey(this$static.key)) {
+ return this$static.row;
+ }
+ else {
+ throw new IllegalStateException_0('The row handle for key ' + this$static.key + ' was not pinned');
+ }
+}
+
+function AbstractRemoteDataSource$RowHandleImpl(this$0, row, key){
+ this.this$01 = this$0;
+ this.row = row;
+ this.key = key;
+}
+
+defineClass(106, 79, {106:1, 79:1}, AbstractRemoteDataSource$RowHandleImpl);
+_.equalsExplicit = function(obj){
+ var rhi;
+ if (instanceOf(obj, 106)) {
+ rhi = dynamicCast(obj, 106);
+ return equals_Ljava_lang_Object__Z__devirtual$(this.key, rhi.key);
+ }
+ else {
+ return false;
+ }
+}
+;
+_.getRow_0 = function(){
+ return $getRow(this);
+}
+;
+_.hashCodeExplicit = function(){
+ return hashCode__I__devirtual$(this.key);
+}
+;
+_.pin = function(){
+ $pinHandle(this.this$01, this);
+}
+;
+_.unpin = function(){
+ $unpinHandle(this.this$01, this);
+}
+;
+var Lcom_vaadin_client_data_AbstractRemoteDataSource$RowHandleImpl_2_classLit = createForClass('com.vaadin.client.data', 'AbstractRemoteDataSource/RowHandleImpl', 106, Lcom_vaadin_client_data_DataSource$RowHandle_2_classLit);
+function $getMaxCacheRange_0(this$static, displayedRange, estimatedAvailableRange){
+ var cacheSize;
+ cacheSize = $getMaximumCacheSize(this$static, displayedRange.end - displayedRange.start_0);
+ return $restrictTo(new Range_0(displayedRange.start_0 - cacheSize, displayedRange.end + cacheSize), estimatedAvailableRange);
+}
+
+function $getMinCacheRange(this$static, displayedRange, estimatedAvailableRange){
+ var cacheSize;
+ cacheSize = $getMinimumCacheSize(this$static, displayedRange.end - displayedRange.start_0);
+ return $restrictTo(new Range_0(displayedRange.start_0 - cacheSize, displayedRange.end + cacheSize), estimatedAvailableRange);
+}
+
+defineClass(578, 1, {});
+var Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2_classLit = createForClass('com.vaadin.client.data', 'CacheStrategy/AbstractBasicSymmetricalCacheStrategy', 578, Ljava_lang_Object_2_classLit);
+function $getMaximumCacheSize(this$static, pageSize){
+ return pageSize * this$static.maximumRatio;
+}
+
+function $getMinimumCacheSize(this$static, pageSize){
+ return pageSize * this$static.minimumRatio;
+}
+
+function CacheStrategy$DefaultCacheStrategy(){
+ this.minimumRatio = 3;
+ this.maximumRatio = 4;
+}
+
+defineClass(183, 578, {}, CacheStrategy$DefaultCacheStrategy);
+_.maximumRatio = 0;
+_.minimumRatio = 0;
+var Lcom_vaadin_client_data_CacheStrategy$DefaultCacheStrategy_2_classLit = createForClass('com.vaadin.client.data', 'CacheStrategy/DefaultCacheStrategy', 183, Lcom_vaadin_client_data_CacheStrategy$AbstractBasicSymmetricalCacheStrategy_2_classLit);
+function $setContentVisible(cell, hasData){
+ var cellElement, e, n, node;
+ cellElement = cell.cell.element;
+ for (n = 0; n < cellElement.childNodes.length; n++) {
+ node = cellElement.childNodes[n];
+ if (!!node && node.nodeType == 1) {
+ e = node;
+ hasData?$setPropertyImpl(e.style, 'visibility', ''):$setPropertyImpl(e.style, 'visibility', ($clinit_Style$Visibility() , 'hidden'));
+ }
+ }
+}
+
+defineClass(51, 1, {51:1});
+var Lcom_vaadin_client_renderers_ComplexRenderer_2_classLit = createForClass('com.vaadin.client.renderers', 'ComplexRenderer', 51, Ljava_lang_Object_2_classLit);
+defineClass(283, 124, $intern_36);
+var Lcom_vaadin_client_ui_SimpleFocusablePanel_2_classLit = createForClass('com.vaadin.client.ui', 'SimpleFocusablePanel', 283, Lcom_google_gwt_user_client_ui_SimplePanel_2_classLit);
+function $trigger(this$static){
+ !this$static.timer && (this$static.timer = new VLazyExecutor$1(this$static));
+ $schedule(this$static.timer, this$static.delayMs);
+}
+
+function VLazyExecutor(cmd){
+ this.delayMs = 100;
+ this.cmd = cmd;
+}
+
+defineClass(436, 1, {}, VLazyExecutor);
+_.delayMs = 0;
+var Lcom_vaadin_client_ui_VLazyExecutor_2_classLit = createForClass('com.vaadin.client.ui', 'VLazyExecutor', 436, Ljava_lang_Object_2_classLit);
+function VLazyExecutor$1(this$0){
+ this.this$01 = this$0;
+ Timer.call(this);
+}
+
+defineClass(437, 48, {}, VLazyExecutor$1);
+_.run = function(){
+ this.this$01.timer = null;
+ $execute_0(this.this$01.cmd);
+}
+;
+var Lcom_vaadin_client_ui_VLazyExecutor$1_2_classLit = createForClass('com.vaadin.client.ui', 'VLazyExecutor/1', 437, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $getApplicationConnection(this$static){
+ if (this$static.owner) {
+ findConnectorFor();
+ return this$static.ac;
+ }
+ else {
+ return null;
+ }
+}
+
+function $getShimElement(this$static){
+ if (!this$static.shimElement && $needsShimElement()) {
+ this$static.shimElement = $createIFrameElement($doc);
+ this$static.shimElement.style['position'] = ($clinit_Style$Position() , 'absolute');
+ this$static.shimElement.style['borderStyle'] = ($clinit_Style$BorderStyle() , 'none');
+ $setTabIndex(this$static.shimElement, -1);
+ this$static.shimElement.frameBorder = 0;
+ this$static.shimElement.marginHeight = 0;
+ }
+ return this$static.shimElement;
+}
+
+function $hide_1(this$static, autoClosed){
+ var animationName, cs;
+ if ($isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) || $isIE9((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))) {
+ $hide_0(this$static);
+ }
+ else {
+ if ((impl_4.getStyleElement_0(getFirstChild(($clinit_DOM() , this$static.element))).className || '').indexOf('animate-in') != -1) {
+ addAnimationEndListener(this$static.element, new VOverlay$2(this$static, autoClosed));
+ }
+ else {
+ $setStyleName(this$static, getStylePrimaryName(impl_4.getStyleElement_0(getFirstChild(this$static.element))) + '-' + 'animate-out', true);
+ !!this$static.shadow && $addClassName(this$static.shadow, 'v-shadow-animate-out');
+ cs = new ComputedStyle(this$static.element);
+ animationName = getAnimationName_0(cs);
+ animationName == null && (animationName = '');
+ if (animationName.indexOf('animate-out') != -1) {
+ this$static.isAnimationEnabled = false;
+ addAnimationEndListener(this$static.element, new VOverlay$3(this$static, autoClosed));
+ this$static.previewAllNativeEvents = false;
+ }
+ else {
+ $setStyleName(this$static, getStylePrimaryName(impl_4.getStyleElement_0(getFirstChild(this$static.element))) + '-' + 'animate-out', false);
+ !!this$static.shadow && $removeClassName(this$static.shadow, 'v-shadow-animate-out');
+ $hide_0(this$static);
+ }
+ }
+ }
+}
+
+function $maybeShowWithAnimation(this$static){
+ var animationName, cs, isAttached;
+ isAttached = this$static.attached && this$static.showing;
+ $show(this$static);
+ if (isAttached || $isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) || $isIE9(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2))) {
+ return false;
+ }
+ else {
+ $setVisible(this$static, false);
+ $setStyleName(this$static, getStylePrimaryName(impl_4.getStyleElement_0(getFirstChild(($clinit_DOM() , this$static.element)))) + '-' + 'animate-in', true);
+ !!this$static.shadow && $addClassName(this$static.shadow, 'v-shadow-animate-in');
+ cs = new ComputedStyle(this$static.element);
+ animationName = getAnimationName_0(cs);
+ animationName == null && (animationName = '');
+ $setVisible(this$static, true);
+ if (animationName.indexOf('animate-in') != -1) {
+ this$static.isAnimationEnabled = false;
+ this$static.animateInListener = addAnimationEndListener(this$static.element, new VOverlay$1(this$static));
+ return true;
+ }
+ else {
+ $setStyleName(this$static, getStylePrimaryName(impl_4.getStyleElement_0(getFirstChild(this$static.element))) + '-' + 'animate-in', false);
+ !!this$static.shadow && $removeClassName(this$static.shadow, 'v-shadow-animate-in');
+ return false;
+ }
+ }
+}
+
+function $needsShimElement(){
+ var info;
+ info = ($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2);
+ return info.browserDetails.isIE && $isBrowserVersionNewerOrEqual(info);
+}
+
+function $positionOrSizeUpdated(this$static, progress){
+ var container, positionAndSize, zIndex, x_0, y_0;
+ if (!this$static.attached) {
+ return;
+ }
+ try {
+ zIndex = __parseAndValidateInt($getZIndex(($clinit_DOM() , this$static.element).style));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 13)) {
+ zIndex = 1000;
+ }
+ else
+ throw unwrap($e0);
+ }
+ zIndex == -1 && (zIndex = Z_INDEX);
+ if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isIE) {
+ $getPropertyInt(($clinit_DOM() , this$static.element), 'offsetHeight');
+ $getPropertyInt(this$static.element, 'offsetWidth');
+ }
+ if (!!this$static.shadow || $needsShimElement()) {
+ positionAndSize = new VOverlay$PositionAndSize((x_0 = $getAbsoluteLeft(($clinit_DOM() , this$static.element)) , x_0 -= $getBodyOffsetLeft($doc) , x_0 -= (leftFix == -1 && (leftFix = detectRelativeBodyFixes('left')) , leftFix) , x_0), (y_0 = $getAbsoluteTop(this$static.element) , y_0 -= $getBodyOffsetTop($doc) , y_0 -= (topFix == -1 && (topFix = detectRelativeBodyFixes('top')) , topFix) , y_0), $getPropertyInt(this$static.element, 'offsetWidth'), $getPropertyInt(this$static.element, 'offsetHeight'));
+ positionAndSize.left_0 += round_int(positionAndSize.width_0 * (1 - progress) / 2);
+ positionAndSize.top_0 += round_int(positionAndSize.height_0 * (1 - progress) / 2);
+ positionAndSize.width_0 = round_int(positionAndSize.width_0 * progress);
+ positionAndSize.height_0 = round_int(positionAndSize.height_0 * progress);
+ container = $getParentElement(this$static.element);
+ if (this$static.shadow) {
+ $updateShadowPosition(this$static, progress, zIndex, positionAndSize);
+ !$getParentElement(this$static.shadow) && $insertBefore(container, this$static.shadow, this$static.element);
+ }
+ if ($needsShimElement()) {
+ $updatePositionAndSize($getShimElement(this$static), positionAndSize);
+ !$getParentElement(this$static.shimElement) && $insertBefore(container, this$static.shimElement, this$static.element);
+ }
+ }
+ ($isIE9((!instance_2 && (instance_2 = new BrowserInfo) , instance_2)) || $isIE10((!instance_2 && (instance_2 = new BrowserInfo) , instance_2))) && forceIERedraw(($clinit_DOM() , this$static.element));
+}
+
+function $removeShadowIfPresent(this$static){
+ if (!!this$static.shadow && !!$getParentElement(this$static.shadow)) {
+ $unsinkShadowEvents(this$static);
+ $removeFromParent(this$static.shadow);
+ }
+}
+
+function $setOwner(this$static, owner){
+ this$static.owner = owner;
+}
+
+function $setPopupPosition_0(this$static, left, top_0){
+ var style;
+ style = ($clinit_DOM() , this$static.element).style;
+ style['marginLeft'] = (leftFix == -1 && (leftFix = detectRelativeBodyFixes('left')) , -leftFix + ($clinit_Style$Unit() , 'px'));
+ style['marginTop'] = (topFix == -1 && (topFix = detectRelativeBodyFixes('top')) , -topFix + 'px');
+ $setPopupPosition(this$static, left, top_0);
+ $positionOrSizeUpdated(this$static, this$static.isAnimationEnabled?0:1);
+}
+
+function $setShadowEnabled(this$static, enabled){
+ if (enabled != !!this$static.shadow) {
+ if (enabled) {
+ this$static.shadow = ($clinit_DOM() , $createDivElement($doc));
+ $setClassName(this$static.shadow, 'v-shadow');
+ $setInnerHTML(this$static.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.shadow.style['position'] = ($clinit_Style$Position() , 'absolute');
+ $addHandler_0(this$static, this$static, TYPE_1?TYPE_1:(TYPE_1 = new GwtEvent$Type));
+ }
+ else {
+ $removeShadowIfPresent(this$static);
+ this$static.shadow = null;
+ }
+ }
+}
+
+function $setVisible(this$static, visible){
+ ($clinit_DOM() , this$static.element).style['visibility'] = visible?'visible':'hidden';
+ !!this$static.shadow && (this$static.shadow.style['visibility'] = visible?'visible':'hidden' , undefined);
+ !!this$static.shimElement && (this$static.shimElement.style['visibility'] = visible?'visible':'hidden' , undefined);
+}
+
+function $setZIndex(this$static, zIndex){
+ ($clinit_DOM() , this$static.element).style['zIndex'] = zIndex + '';
+ !!this$static.shadow && $setPropertyImpl(this$static.shadow.style, 'zIndex', zIndex + '');
+}
+
+function $unsinkShadowEvents(this$static){
+ if (!!this$static.shadow && !!$getParentElement(this$static.shadow)) {
+ $clinit_DOM();
+ setEventListener(this$static.shadow, null);
+ sinkEvents(this$static.shadow, 0);
+ }
+}
+
+function $updatePositionAndSize(e, positionAndSize){
+ e.style['left'] = positionAndSize.left_0 + ($clinit_Style$Unit() , 'px');
+ e.style['top'] = positionAndSize.top_0 + 'px';
+ e.style['width'] = positionAndSize.width_0 + 'px';
+ e.style['height'] = positionAndSize.height_0 + 'px';
+}
+
+function $updateShadowPosition(this$static, progress, zIndex, positionAndSize){
+ if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isOpera) {
+ ($clinit_DOM() , $getChild_0(this$static.shadow, 3)).style['height'] = 'auto';
+ $getChild_0(this$static.shadow, 4).style['height'] = 'auto';
+ $getChild_0(this$static.shadow, 5).style['height'] = 'auto';
+ }
+ $updatePositionAndSize(this$static.shadow, positionAndSize);
+ $setPropertyImpl(this$static.shadow.style, 'zIndex', zIndex + '');
+ this$static.shadow.style['display'] = progress < 0.9?'none':'';
+ if ((!instance_2 && (instance_2 = new BrowserInfo) , instance_2).browserDetails.isOpera) {
+ ($clinit_DOM() , $getChild_0(this$static.shadow, 3)).style['height'] = (($getChild_0(this$static.shadow, 3).offsetHeight || 0) | 0) + ($clinit_Style$Unit() , 'px');
+ $getChild_0(this$static.shadow, 4).style['height'] = (($getChild_0(this$static.shadow, 4).offsetHeight || 0) | 0) + 'px';
+ $getChild_0(this$static.shadow, 5).style['height'] = (($getChild_0(this$static.shadow, 5).offsetHeight || 0) | 0) + 'px';
+ }
+}
+
+function detectRelativeBodyFixes(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;
+}
+
+defineClass(285, 125, $intern_40);
+_.hide = function(){
+ $hide_1(this, false);
+}
+;
+_.hide_0 = function(autoClosed){
+ $hide_1(this, autoClosed);
+}
+;
+_.onAttach = function(){
+ var e, overlay;
+ overlay = current_0;
+ if (overlay) {
+ e = ($getApplicationConnection(overlay) , $ensureNamesAreInitialized(Lcom_vaadin_client_ui_VSlider$1_2_classLit) , $getElement(($clinit_RootPanel() , get_0())));
+ $appendChild(e, ($clinit_DOM() , this.element));
+ }
+ $onAttach(this);
+}
+;
+_.onClose = function(event_0){
+ $removeShadowIfPresent(this);
+}
+;
+_.onDetach = function(){
+ $onDetach(this);
+ $removeShadowIfPresent(this);
+ !!this.shimElement && $removeFromParent(this.shimElement);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight(this, height);
+ $positionOrSizeUpdated(this, 1);
+}
+;
+_.setPopupPosition = function(left, top_0){
+ $setPopupPosition_0(this, left, top_0);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth(this, width_0);
+ $positionOrSizeUpdated(this, 1);
+}
+;
+_.sinkEvents = function(eventBitsToAdd){
+ this.eventsToSink == -1?sinkEvents(($clinit_DOM() , this.element), eventBitsToAdd | (this.element.__eventBits || 0)):(this.eventsToSink |= eventBitsToAdd);
+}
+;
+var Z_INDEX = 20000, current_0, leftFix = -1, topFix = -1;
+var Lcom_vaadin_client_ui_VOverlay_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay', 285, Lcom_google_gwt_user_client_ui_PopupPanel_2_classLit);
+function VOverlay$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(293, 1, {}, VOverlay$1);
+_.onAnimationEnd = function(event_0){
+ var animationName;
+ animationName = getAnimationName(event_0);
+ if (animationName.indexOf('animate-in') != -1) {
+ removeAnimationEndListener($getElement(this.this$01), this.this$01.animateInListener);
+ $removeStyleDependentName(this.this$01, 'animate-in');
+ !!this.this$01.shadow && $removeClassName(this.this$01.shadow, 'v-shadow-animate-in');
+ }
+}
+;
+var Lcom_vaadin_client_ui_VOverlay$1_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/1', 293, Ljava_lang_Object_2_classLit);
+function VOverlay$2(this$0, val$autoClosed){
+ this.this$01 = this$0;
+ this.val$autoClosed2 = val$autoClosed;
+}
+
+defineClass(294, 1, {}, VOverlay$2);
+_.onAnimationEnd = function(event_0){
+ getAnimationName(event_0).indexOf('animate-in') != -1 && $hide_1(this.this$01, this.val$autoClosed2);
+}
+;
+_.val$autoClosed2 = false;
+var Lcom_vaadin_client_ui_VOverlay$2_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/2', 294, Ljava_lang_Object_2_classLit);
+function VOverlay$3(this$0, val$autoClosed){
+ this.this$01 = this$0;
+ this.val$autoClosed2 = val$autoClosed;
+}
+
+defineClass(295, 1, {}, VOverlay$3);
+_.onAnimationEnd = function(event_0){
+ var animationName;
+ animationName = getAnimationName(event_0);
+ if (animationName.indexOf('animate-out') != -1) {
+ removeAllAnimationEndListeners($getElement(this.this$01));
+ $removeStyleDependentName(this.this$01, 'animate-in');
+ $removeStyleDependentName(this.this$01, 'animate-out');
+ if (this.this$01.shadow) {
+ $removeClassName(this.this$01.shadow, 'v-shadow-animate-in');
+ $removeClassName(this.this$01.shadow, 'v-shadow-animate-out');
+ }
+ $hide_0(this.this$01);
+ }
+}
+;
+_.val$autoClosed2 = false;
+var Lcom_vaadin_client_ui_VOverlay$3_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/3', 295, Ljava_lang_Object_2_classLit);
+function $setHeight_0(this$static, height){
+ height < 0 && (height = 0);
+ this$static.height_0 = height;
+}
+
+function $setWidth_0(this$static, width_0){
+ width_0 < 0 && (width_0 = 0);
+ this$static.width_0 = width_0;
+}
+
+function VOverlay$PositionAndSize(left, top_0, width_0, height){
+ this.left_0 = left;
+ this.top_0 = top_0;
+ $setWidth_0(this, width_0);
+ $setHeight_0(this, height);
+}
+
+defineClass(291, 1, {}, VOverlay$PositionAndSize);
+_.height_0 = 0;
+_.left_0 = 0;
+_.top_0 = 0;
+_.width_0 = 0;
+var Lcom_vaadin_client_ui_VOverlay$PositionAndSize_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/PositionAndSize', 291, Ljava_lang_Object_2_classLit);
+function VOverlay$ResizeAnimation(this$0){
+ this.this$01 = this$0;
+ Animation.call(this);
+}
+
+defineClass(292, 126, {}, VOverlay$ResizeAnimation);
+_.onUpdate = function(progress){
+ $positionOrSizeUpdated(this.this$01, progress);
+}
+;
+var Lcom_vaadin_client_ui_VOverlay$ResizeAnimation_2_classLit = createForClass('com.vaadin.client.ui', 'VOverlay/ResizeAnimation', 292, Lcom_google_gwt_animation_client_Animation_2_classLit);
+function $setState_0(this$static, state){
+ var size_0;
+ size_0 = Math.round(100 * state);
+ this$static.indicator.style['width'] = size_0 + ($clinit_Style$Unit() , '%');
+}
+
+function VProgressBar(){
+ this.wrapper = ($clinit_DOM() , $createDivElement($doc));
+ this.indicator = $createDivElement($doc);
+ $setElement_0(this, $createDivElement($doc));
+ $appendChild(this.element, this.wrapper);
+ $appendChild(this.wrapper, this.indicator);
+ setStylePrimaryName(this.element, 'v-progressbar');
+ $setClassName(this.indicator, getStylePrimaryName(this.element) + '-indicator');
+ $setClassName(this.wrapper, getStylePrimaryName(this.element) + '-wrapper');
+}
+
+defineClass(282, 17, $intern_25, VProgressBar);
+var Lcom_vaadin_client_ui_VProgressBar_2_classLit = createForClass('com.vaadin.client.ui', 'VProgressBar', 282, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function $buildBase(this$static){
+ var p;
+ $setPropertyImpl(this$static.base.style, 'height', '');
+ if ($hasParentElement(($clinit_DOM() , this$static.element))) {
+ p = $getParentElement(this$static.element);
+ if ($getPropertyInt(p, 'offsetWidth') > 50) {
+ $setPropertyImpl(this$static.base.style, 'width', '');
+ }
+ else {
+ this$static.base.style['width'] = ($clinit_Style$Unit() , '50.0px');
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new VSlider$3(this$static));
+ }
+ }
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new VSlider$4(this$static));
+}
+
+function $buildHandle(this$static){
+ $setPropertyImpl(this$static.handle.style, 'marginLeft', '0');
+ $setPropertyImpl(this$static.handle.style, 'marginTop', '');
+}
+
+function $fireValueChanged(this$static){
+ fire_2(this$static, this$static.value_0);
+}
+
+function $handleNavigation(this$static, keycode, ctrl, shift_0){
+ var a;
+ if (ctrl) {
+ return false;
+ }
+ if (keycode == 39) {
+ if (shift_0) {
+ for (a = 0; a < this$static.acceleration; a++) {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 + pow_0(10, -this$static.resolution)), false);
+ }
+ ++this$static.acceleration;
+ }
+ else {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 + pow_0(10, -this$static.resolution)), false);
+ }
+ return true;
+ }
+ else if (keycode == 37) {
+ if (shift_0) {
+ for (a = 0; a < this$static.acceleration; a++) {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 - pow_0(10, -this$static.resolution)), false);
+ }
+ ++this$static.acceleration;
+ }
+ else {
+ $setValue_1(this$static, new Double(this$static.value_0.value_0 - pow_0(10, -this$static.resolution)), false);
+ }
+ return true;
+ }
+ return false;
+}
+
+function $processBaseEvent(this$static, event_0){
+ $clinit_DOM();
+ if ($eventGetTypeInt(($clinit_DOMImpl() , event_0).type) == 4) {
+ if (!this$static.disabled && !this$static.readonly && !this$static.dragging) {
+ $setValueByEvent(this$static, event_0, true);
+ $eventCancelBubble(event_0, true);
+ }
+ }
+}
+
+function $processHandleEvent(this$static, event_0){
+ switch ($clinit_DOM() , $eventGetTypeInt(($clinit_DOMImpl() , event_0).type)) {
+ case 4:
+ case $intern_30:
+ if (!this$static.disabled && !this$static.readonly) {
+ ($clinit_FocusImpl() , $clinit_FocusImpl() , implPanel).focus_0(this$static.element);
+ $show_0(this$static.feedbackPopup);
+ this$static.dragging = true;
+ $setClassName(this$static.handle, getStylePrimaryName(this$static.element) + '-handle');
+ $addClassName(this$static.handle, getStylePrimaryName(this$static.element) + '-handle-active');
+ setCapture(this$static.element);
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ $eventStopPropagation(event_0);
+ }
+
+ break;
+ case 64:
+ case $intern_31:
+ if (this$static.dragging) {
+ $setValueByEvent(this$static, event_0, false);
+ $setPopupPosition_0(this$static.feedbackPopup, $getAbsoluteLeft(this$static.handle) + (($getSubPixelOffsetWidth(this$static.handle) | 0) / 2 | 0) - ($getPropertyInt(this$static.feedbackPopup.element, 'offsetWidth') / 2 | 0), $getAbsoluteTop(this$static.handle) - $getPropertyInt(this$static.feedbackPopup.element, 'offsetHeight'));
+ $eventStopPropagation(event_0);
+ }
+
+ break;
+ case $intern_17:
+ $hide_1(this$static.feedbackPopup, false);
+ case 8:
+ this$static.dragging = false;
+ $setClassName(this$static.handle, getStylePrimaryName(this$static.element) + '-handle');
+ releaseCapture(this$static.element);
+ $setValueByEvent(this$static, event_0, true);
+ $eventStopPropagation(event_0);
+ }
+}
+
+function $setMaxValue(this$static, value_0){
+ this$static.max_0 = value_0;
+}
+
+function $setMinValue(this$static, value_0){
+ this$static.min_0 = value_0;
+}
+
+function $setValue_0(this$static, value_0){
+ var baseSize, handleSize, p, range, v, valueRange, currentValue;
+ value_0.value_0 < this$static.min_0?(value_0 = new Double(this$static.min_0)):value_0.value_0 > this$static.max_0 && (value_0 = new Double(this$static.max_0));
+ handleSize = $getPropertyInt(this$static.handle, 'offsetWidth');
+ baseSize = $getPropertyInt(this$static.base, 'offsetWidth') - 2;
+ range = baseSize - handleSize;
+ v = value_0.value_0;
+ if (this$static.resolution > 0) {
+ v = toDouble(fromDouble(round0(v * pow_0(10, this$static.resolution))));
+ v = v / pow_0(10, this$static.resolution);
+ }
+ else {
+ v = toDouble(fromDouble(round0(v)));
+ }
+ valueRange = this$static.max_0 - this$static.min_0;
+ p = 0;
+ valueRange > 0 && (p = range * ((v - this$static.min_0) / valueRange));
+ p < 0 && (p = 0);
+ this$static.handle.style['marginLeft'] = toInt(fromDouble(round0(p))) + ($clinit_Style$Unit() , 'px');
+ this$static.value_0 = new Double(v);
+ currentValue = '' + v;
+ this$static.resolution == 0 && (currentValue = '' + round_int((new Double(v)).value_0));
+ $setText(this$static.feedback, currentValue);
+}
+
+function $setValue_1(this$static, value_0, fireEvents){
+ if (!value_0) {
+ return;
+ }
+ $setValue_0(this$static, value_0);
+ fireEvents && fire_2(this$static, this$static.value_0);
+}
+
+function $setValueByEvent(this$static, event_0, updateToServer){
+ var baseOffset, baseSize, coord, handleSize, v;
+ coord = ($clinit_WidgetUtil() , ($clinit_DOMImpl() , event_0).type.indexOf('touch') != -1?$getClientX(event_0.changedTouches[0]):toInt32(event_0.clientX || 0));
+ handleSize = $getSubPixelOffsetWidth(this$static.handle) | 0;
+ baseSize = $getSubPixelOffsetWidth(this$static.base) | 0;
+ baseOffset = $getAbsoluteLeft(this$static.base) - ($clinit_Window() , $getScrollLeft_0($doc)) + (handleSize / 2 | 0);
+ v = (coord - baseOffset) / (baseSize - handleSize) * (this$static.max_0 - this$static.min_0) + this$static.min_0;
+ v < this$static.min_0?(v = this$static.min_0):v > this$static.max_0 && (v = this$static.max_0);
+ $setValue_1(this$static, new Double(v), updateToServer);
+}
+
+function $updateFeedbackPosition(this$static){
+ $setPopupPosition_0(this$static.feedbackPopup, $getAbsoluteLeft(this$static.handle) + (($getSubPixelOffsetWidth(this$static.handle) | 0) / 2 | 0) - ($getPropertyInt(($clinit_DOM() , this$static.feedbackPopup.element), 'offsetWidth') / 2 | 0), $getAbsoluteTop(this$static.handle) - $getPropertyInt(this$static.feedbackPopup.element, 'offsetHeight'));
+}
+
+function VSlider(){
+ SimplePanel.call(this);
+ $setTabIndex(($clinit_DOM() , this.element), 0);
+ this.acceleration = 1;
+ this.feedback = new HTML;
+ this.feedbackPopup = new VSlider$1(this);
+ this.dragging = false;
+ this.delayedValueUpdater = new VLazyExecutor(new VSlider$2(this));
+ this.base = $createDivElement($doc);
+ this.handle = $createDivElement($doc);
+ this.smaller = $createDivElement($doc);
+ this.bigger = $createDivElement($doc);
+ $removeStyleName(this.feedbackPopup, getStylePrimaryName(this.element) + '-feedback');
+ $removeStyleName(this, getStylePrimaryName(this.element) + '-vertical');
+ $setClassName(this.element, 'v-slider');
+ $addStyleName(this.feedbackPopup, getStylePrimaryName(this.element) + '-feedback');
+ $setClassName(this.base, getStylePrimaryName(this.element) + '-base');
+ $setClassName(this.handle, getStylePrimaryName(this.element) + '-handle');
+ $setClassName(this.smaller, getStylePrimaryName(this.element) + '-smaller');
+ $setClassName(this.bigger, getStylePrimaryName(this.element) + '-bigger');
+ $appendChild(this.element, this.bigger);
+ $appendChild(this.element, this.smaller);
+ $appendChild(this.element, this.base);
+ $appendChild(this.base, this.handle);
+ this.smaller.style['display'] = ($clinit_Style$Display() , 'none');
+ this.bigger.style['display'] = 'none';
+ this.eventsToSink == -1?sinkEvents(this.element, 15866876 | (this.element.__eventBits || 0)):(this.eventsToSink |= 15866876);
+ $setWidget_0(this.feedbackPopup, this.feedback);
+}
+
+defineClass(284, 283, $intern_36, VSlider);
+_.onBrowserEvent = function(event_0){
+ var targ, dir_0;
+ if (this.disabled || this.readonly) {
+ return;
+ }
+ targ = ($clinit_DOM() , ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0));
+ if ($eventGetTypeInt(event_0.type) == $intern_29) {
+ dir_0 = impl_0.eventGetMouseWheelVelocityY(event_0);
+ dir_0 < 0?$setValue_1(this, new Double(this.value_0.value_0 + pow_0(10, -this.resolution)), false):$setValue_1(this, new Double(this.value_0.value_0 - pow_0(10, -this.resolution)), false);
+ $trigger(this.delayedValueUpdater);
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ }
+ else if (this.dragging || targ == this.handle) {
+ $processHandleEvent(this, event_0);
+ }
+ else if (targ == this.smaller) {
+ $setValue_1(this, new Double(this.value_0.value_0 - pow_0(10, -this.resolution)), true);
+ }
+ else if (targ == this.bigger) {
+ $setValue_1(this, new Double(this.value_0.value_0 + pow_0(10, -this.resolution)), true);
+ }
+ else {
+ if ($eventGetTypeInt(event_0.type) == 124) {
+ $processBaseEvent(this, event_0);
+ }
+ else if (($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2).browserDetails.isGecko && $eventGetTypeInt(event_0.type) == 256 || !(!instance_2 && (instance_2 = new BrowserInfo) , instance_2).browserDetails.isGecko && $eventGetTypeInt(event_0.type) == 128) {
+ if ($handleNavigation(this, event_0.keyCode | 0, !!event_0.ctrlKey, !!event_0.shiftKey)) {
+ $show_0(this.feedbackPopup);
+ $trigger(this.delayedValueUpdater);
+ $eventPreventDefault(event_0);
+ $eventCancelBubble(event_0, true);
+ }
+ }
+ else
+ targ == this.element && $eventGetTypeInt(event_0.type) == 2048?$show_0(this.feedbackPopup):targ == this.element && $eventGetTypeInt(event_0.type) == 4096?$hide_1(this.feedbackPopup, false):$eventGetTypeInt(event_0.type) == 4 && $show_0(this.feedbackPopup);
+ }
+ $clinit_WidgetUtil();
+ if (event_0.type.indexOf('touch') != -1) {
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ }
+}
+;
+_.acceleration = 0;
+_.disabled = false;
+_.dragging = false;
+_.max_0 = 0;
+_.min_0 = 0;
+_.readonly = false;
+_.resolution = 0;
+var Lcom_vaadin_client_ui_VSlider_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider', 284, Lcom_vaadin_client_ui_SimpleFocusablePanel_2_classLit);
+function $show_0(this$static){
+ current_0 = this$static;
+ $maybeShowWithAnimation(this$static);
+ this$static.isAnimationEnabled?$run(new VOverlay$ResizeAnimation(this$static), now_1()):$positionOrSizeUpdated(this$static, 1);
+ current_0 = null;
+ $updateFeedbackPosition(this$static.this$01);
+}
+
+function VSlider$1(this$0){
+ $clinit_PopupPanel();
+ this.this$01 = this$0;
+ SimplePanel.call(this);
+ this.glassResizer = new PopupPanel$1;
+ this.isAnimationEnabled = false;
+ this.leftPosition = -1;
+ this.resizeAnimation = new PopupPanel$ResizeAnimation(this, this);
+ this.topPosition = -1;
+ this.parentPanel = ($clinit_RootPanel() , get_0());
+ $appendChild(($clinit_DOM() , this.element), impl_4.createElement_0());
+ this.setPopupPosition(0, 0);
+ $setClassName(impl_4.getStyleElement_0(getFirstChild(this.element)), 'gwt-PopupPanel');
+ $setClassName(impl_4.getContainerElement_0(getFirstChild(this.element)), 'popupContent');
+ this.autoHide = true;
+ this.autoHideOnHistoryEvents = true;
+ this.modal = false;
+ $setShadowEnabled(this, $isIE8(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)));
+ $setZIndex(this, Z_INDEX);
+ $setOwner(this, this.this$01);
+}
+
+defineClass(286, 285, $intern_40, VSlider$1);
+var Lcom_vaadin_client_ui_VSlider$1_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/1', 286, Lcom_vaadin_client_ui_VOverlay_2_classLit);
+function $execute_0(this$static){
+ $fireValueChanged(this$static.this$01);
+ this$static.this$01.acceleration = 1;
+}
+
+function VSlider$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(287, 1, {}, VSlider$2);
+_.execute_1 = function(){
+ $execute_0(this);
+}
+;
+var Lcom_vaadin_client_ui_VSlider$2_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/2', 287, Ljava_lang_Object_2_classLit);
+function VSlider$3(this$0){
+ this.this$01 = this$0;
+ this.val$domProperty2 = 'offsetWidth';
+ this.val$styleAttribute3 = 'width';
+}
+
+defineClass(288, 1, {}, VSlider$3);
+_.execute_1 = function(){
+ var p;
+ p = $getParentElement($getElement(this.this$01));
+ if ($getPropertyInt(p, this.val$domProperty2) > 55) {
+ $setPropertyImpl(this.this$01.base.style, this.val$styleAttribute3, '');
+ $setValue_1(this.this$01, this.this$01.value_0, false);
+ }
+}
+;
+var Lcom_vaadin_client_ui_VSlider$3_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/3', 288, Ljava_lang_Object_2_classLit);
+function VSlider$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(289, 1, {}, VSlider$4);
+_.execute_1 = function(){
+ $buildHandle(this.this$01);
+ $setValue_1(this.this$01, this.this$01.value_0, false);
+}
+;
+var Lcom_vaadin_client_ui_VSlider$4_2_classLit = createForClass('com.vaadin.client.ui', 'VSlider/4', 289, Ljava_lang_Object_2_classLit);
+function Cell(row, column, element){
+ this.row = row;
+ this.column = column;
+ this.element = element;
+}
+
+defineClass(138, 1, {}, Cell);
+_.column = 0;
+_.row = 0;
+var Lcom_vaadin_client_widget_escalator_Cell_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'Cell', 138, Ljava_lang_Object_2_classLit);
+function $clinit_EscalatorUpdater(){
+ $clinit_EscalatorUpdater = emptyMethod;
+ NULL = new EscalatorUpdater$1;
+}
+
+var NULL;
+function EscalatorUpdater$1(){
+}
+
+defineClass(251, 1, {}, EscalatorUpdater$1);
+_.postAttach = function(row, attachedCells){
+}
+;
+_.postDetach = function(row, detachedCells){
+}
+;
+_.preAttach = function(row, cellsToAttach){
+}
+;
+_.preDetach = function(row, cellsToDetach){
+}
+;
+_.update = function(row, cellsToUpdate){
+}
+;
+var Lcom_vaadin_client_widget_escalator_EscalatorUpdater$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'EscalatorUpdater/1', 251, Ljava_lang_Object_2_classLit);
+function $adjustCellWidthForSpan(this$static, numberOfCells){
+ var cellsToTheRight, i_0, selfWidth, widthsOfColumnsToTheRight;
+ cellsToTheRight = $rawPeekNext(this$static.currentIterator, numberOfCells - 1).size_0;
+ selfWidth = $getColumnWidth(this$static.row, this$static.column);
+ widthsOfColumnsToTheRight = 0;
+ for (i_0 = 0; i_0 < cellsToTheRight; i_0++) {
+ widthsOfColumnsToTheRight += $getColumnWidth(this$static.row, this$static.column + i_0 + 1);
+ }
+ this$static.element.style['width'] = selfWidth + widthsOfColumnsToTheRight + ($clinit_Style$Unit() , 'px');
+}
+
+function $hideOrRevealAdjacentCellElements(this$static, numberOfCells, prevColSpan){
+ var affectedCells, affectedCellsNumber, i_0;
+ affectedCellsNumber = prevColSpan > numberOfCells?prevColSpan:numberOfCells;
+ affectedCells = $rawPeekNext(this$static.currentIterator, affectedCellsNumber - 1);
+ if (prevColSpan < numberOfCells) {
+ for (i_0 = 0; i_0 < affectedCells.size_0; i_0++) {
+ (checkElementIndex(prevColSpan + i_0 - 1, affectedCells.size_0) , dynamicCast($get_6(affectedCells.wrapped, affectedCells.fromIndex + (prevColSpan + i_0 - 1)), 37)).element.style['display'] = ($clinit_Style$Display() , 'none');
+ }
+ }
+ else if (prevColSpan > numberOfCells) {
+ for (i_0 = 0; i_0 < affectedCells.size_0; i_0++) {
+ (checkElementIndex(numberOfCells + i_0 - 1, affectedCells.size_0) , dynamicCast($get_6(affectedCells.wrapped, affectedCells.fromIndex + (numberOfCells + i_0 - 1)), 37)).element.style['display'] = '';
+ }
+ }
+}
+
+function $setColSpan(this$static, numberOfCells){
+ var prevColSpan;
+ if (numberOfCells < 1) {
+ throw new IllegalArgumentException_0('Number of cells should be more than 0');
+ }
+ prevColSpan = $getPropertyInt(this$static.element, 'colSpan');
+ if (numberOfCells == 1 && prevColSpan == 1) {
+ return;
+ }
+ $setPropertyInt(this$static.element, 'colSpan', numberOfCells);
+ $adjustCellWidthForSpan(this$static, numberOfCells);
+ $hideOrRevealAdjacentCellElements(this$static, numberOfCells, prevColSpan);
+ $setSkipNext(this$static.currentIterator, numberOfCells - 1);
+}
+
+function $setup(this$static, iterator){
+ var e;
+ this$static.currentIterator = iterator;
+ if (iterator.cellsAttached) {
+ e = this$static.row.element.cells[this$static.column];
+ $setPropertyInt(e, 'colSpan', 1);
+ $getColumnWidth(this$static.row, this$static.column) >= 0 && (e.style['width'] = $getColumnWidth(this$static.row, this$static.column) + ($clinit_Style$Unit() , 'px') , undefined);
+ $setPropertyImpl(e.style, 'display', '');
+ this$static.element = e;
+ }
+}
+
+function FlyweightCell(row, column){
+ this.row = row;
+ this.column = column;
+}
+
+defineClass(37, 1, {37:1}, FlyweightCell);
+_.column = 0;
+_.currentIterator = null;
+_.element = null;
+var Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightCell', 37, Ljava_lang_Object_2_classLit);
+function $addCells(this$static, index_0){
+ var col, i_0;
+ for (i_0 = 0; i_0 < 1; i_0++) {
+ col = index_0 + i_0;
+ $add_5(this$static.cells_0, col, new FlyweightCell(this$static, col));
+ }
+ $updateRestOfCells(this$static, index_0 + 1);
+}
+
+function $getCells(this$static){
+ return new FlyweightRow$1(this$static, 0, this$static.cells_0.array.length);
+}
+
+function $getColumnWidth(this$static, column){
+ return this$static.columnWidths[column];
+}
+
+function $removeCells(this$static, index_0){
+ $clear_0(new AbstractList$SubList(this$static.cells_0, index_0, index_0 + 1));
+ $updateRestOfCells(this$static, index_0);
+}
+
+function $setup_0(this$static, e, row, columnWidths){
+ this$static.element = e;
+ this$static.row = row;
+ this$static.columnWidths = columnWidths;
+}
+
+function $updateRestOfCells(this$static, startPos){
+ var col;
+ for (col = startPos; col < this$static.cells_0.array.length; col++) {
+ $set_4(this$static.cells_0, col, new FlyweightCell(this$static, col));
+ }
+}
+
+function FlyweightRow(){
+ this.cells_0 = new ArrayList;
+}
+
+defineClass(468, 1, {}, FlyweightRow);
+_.columnWidths = null;
+_.row = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow', 468, Ljava_lang_Object_2_classLit);
+function FlyweightRow$1(this$0, val$offset, val$numberOfCells){
+ this.this$01 = this$0;
+ this.val$offset2 = val$offset;
+ this.val$numberOfCells3 = val$numberOfCells;
+}
+
+defineClass(142, 1, {}, FlyweightRow$1);
+_.iterator_0 = function(){
+ return new FlyweightRow$CellIterator(new AbstractList$SubList(this.this$01.cells_0, this.val$offset2, this.val$offset2 + this.val$numberOfCells3), true);
+}
+;
+_.val$numberOfCells3 = 0;
+_.val$offset2 = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/1', 142, Ljava_lang_Object_2_classLit);
+function FlyweightRow$2(this$0, val$offset){
+ this.this$01 = this$0;
+ this.val$offset2 = val$offset;
+ this.val$numberOfCells3 = 1;
+}
+
+defineClass(181, 1, {}, FlyweightRow$2);
+_.iterator_0 = function(){
+ return new FlyweightRow$CellIterator(new AbstractList$SubList(this.this$01.cells_0, this.val$offset2, this.val$offset2 + this.val$numberOfCells3), false);
+}
+;
+_.val$numberOfCells3 = 0;
+_.val$offset2 = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$2_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/2', 181, Ljava_lang_Object_2_classLit);
+function $next_1(this$static){
+ var cell, i_0;
+ for (i_0 = 0; i_0 < this$static.skipNext; i_0++) {
+ this$static.cells_0.remove_3(this$static.cursor_0);
+ }
+ this$static.skipNext = 0;
+ cell = dynamicCast($get_6(this$static.cells_0, this$static.cursor_0++), 37);
+ $setup(cell, this$static);
+ return cell;
+}
+
+function $rawPeekNext(this$static, n){
+ var cell, cell$iterator, from, nextCells, to;
+ from = min_1(this$static.cursor_0, this$static.cells_0.array.length);
+ to = min_1(this$static.cursor_0 + n, this$static.cells_0.array.length);
+ nextCells = new AbstractList$SubList(this$static.cells_0, from, to);
+ for (cell$iterator = new AbstractList$IteratorImpl(nextCells); cell$iterator.i < cell$iterator.this$01_0.size_2();) {
+ cell = (checkCriticalElement(cell$iterator.i < cell$iterator.this$01_0.size_2()) , dynamicCast(cell$iterator.this$01_0.get_0(cell$iterator.last = cell$iterator.i++), 37));
+ $setup(cell, this$static);
+ }
+ return nextCells;
+}
+
+function $setSkipNext(this$static, colspan){
+ this$static.skipNext = colspan;
+}
+
+function FlyweightRow$CellIterator(cells_0, attached){
+ this.cells_0 = new ArrayList_1(cells_0);
+ this.cellsAttached = attached;
+}
+
+defineClass(109, 1, {}, FlyweightRow$CellIterator);
+_.hasNext = function(){
+ return this.cursor_0 + this.skipNext < this.cells_0.array.length;
+}
+;
+_.next_0 = function(){
+ return $next_1(this);
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException_0('Cannot remove cells via iterator');
+}
+;
+_.cellsAttached = false;
+_.cursor_0 = 0;
+_.skipNext = 0;
+var Lcom_vaadin_client_widget_escalator_FlyweightRow$CellIterator_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'FlyweightRow/CellIterator', 109, Ljava_lang_Object_2_classLit);
+function PositionFunction$AbsolutePosition(){
+}
+
+defineClass(115, 1, {115:1}, PositionFunction$AbsolutePosition);
+_.reset_0 = function(e){
+ $setPropertyImpl(e.style, 'left', '');
+ $setPropertyImpl(e.style, 'top', '');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ e.style['left'] = x_0 + ($clinit_Style$Unit() , 'px');
+ e.style['top'] = y_0 + 'px';
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$AbsolutePosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/AbsolutePosition', 115, Ljava_lang_Object_2_classLit);
+function PositionFunction$Translate3DPosition(){
+}
+
+defineClass(438, 1, {}, PositionFunction$Translate3DPosition);
+_.reset_0 = function(e){
+ $setPropertyImpl(e.style, 'transform', '');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ e.style['transform'] = 'translate3d(' + x_0 + 'px, ' + y_0 + 'px, 0)';
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$Translate3DPosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/Translate3DPosition', 438, Ljava_lang_Object_2_classLit);
+function PositionFunction$TranslatePosition(){
+}
+
+defineClass(439, 1, {}, PositionFunction$TranslatePosition);
+_.reset_0 = function(e){
+ $setPropertyImpl(e.style, 'transform', '');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ e.style['transform'] = 'translate(' + x_0 + 'px,' + y_0 + 'px)';
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$TranslatePosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/TranslatePosition', 439, Ljava_lang_Object_2_classLit);
+function PositionFunction$WebkitTranslate3DPosition(){
+}
+
+defineClass(440, 1, {}, PositionFunction$WebkitTranslate3DPosition);
+_.reset_0 = function(e){
+ $setPropertyImpl(e.style, 'webkitTransform', '');
+}
+;
+_.set_1 = function(e, x_0, y_0){
+ e.style['webkitTransform'] = 'translate3d(' + x_0 + 'px,' + y_0 + 'px,0)';
+}
+;
+var Lcom_vaadin_client_widget_escalator_PositionFunction$WebkitTranslate3DPosition_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'PositionFunction/WebkitTranslate3DPosition', 440, Ljava_lang_Object_2_classLit);
+function $clinit_RowVisibilityChangeEvent(){
+ $clinit_RowVisibilityChangeEvent = emptyMethod;
+ TYPE_6 = new GwtEvent$Type;
+}
+
+function $dispatch_0(this$static, handler){
+ $onRowVisibilityChange(handler, this$static);
+}
+
+function RowVisibilityChangeEvent(firstVisibleRow, visibleRowCount){
+ $clinit_RowVisibilityChangeEvent();
+ this.firstVisibleRow = firstVisibleRow;
+ this.visibleRowCount = visibleRowCount;
+}
+
+defineClass(174, 556, {}, RowVisibilityChangeEvent);
+_.dispatch = function(handler){
+ $dispatch_0(this, dynamicCast(handler, 586));
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_6;
+}
+;
+_.firstVisibleRow = 0;
+_.visibleRowCount = 0;
+var TYPE_6;
+var Lcom_vaadin_client_widget_escalator_RowVisibilityChangeEvent_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'RowVisibilityChangeEvent', 174, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $addScrollHandler(this$static, handler){
+ return $addHandler((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), ($clinit_ScrollEvent() , TYPE_9), handler);
+}
+
+function $addVisibilityHandler(this$static, handler){
+ return $addHandler((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), ($clinit_ScrollbarBundle$VisibilityChangeEvent() , TYPE_7), handler);
+}
+
+function $fireVisibilityChangeIfNeeded(this$static){
+ var event_0, oldHandleIsVisible;
+ oldHandleIsVisible = this$static.scrollHandleIsVisible;
+ this$static.scrollHandleIsVisible = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ if (oldHandleIsVisible != this$static.scrollHandleIsVisible) {
+ event_0 = new ScrollbarBundle$VisibilityChangeEvent;
+ $fireEvent((!this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static)) , this$static.handlerManager), event_0);
+ }
+}
+
+function $forceScrollbar(this$static, enable){
+ enable?$setPropertyImpl(this$static.root.style, 'display', ''):(this$static.root.style['display'] = ($clinit_Style$Display() , 'none') , undefined);
+ this$static.internalForceScrollbar(enable);
+}
+
+function $getHandlerManager(this$static){
+ !this$static.handlerManager && (this$static.handlerManager = new HandlerManager(this$static));
+ return this$static.handlerManager;
+}
+
+function $getScrollbarThickness(this$static){
+ return this$static.isInvisibleScrollbar?0:parseCssDimensionToPixels(this$static.internalGetScrollbarThickness());
+}
+
+function $recalculateMaxScrollPos(this$static){
+ var offsetSize, scrollSize;
+ scrollSize = parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ offsetSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize());
+ this$static.maxScrollPos = 0 > scrollSize - offsetSize?0:scrollSize - offsetSize;
+ $setScrollPos(this$static, this$static.scrollPos);
+}
+
+function $setOffsetSize(this$static, px){
+ var newOffsetSizeIsGreaterThanScrollSize, offsetSizeBecomesGreaterThanScrollSize;
+ newOffsetSizeIsGreaterThanScrollSize = px > parseCssDimensionToPixels(this$static.internalGetScrollSize());
+ offsetSizeBecomesGreaterThanScrollSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()) && newOffsetSizeIsGreaterThanScrollSize;
+ if (offsetSizeBecomesGreaterThanScrollSize && this$static.scrollPos != 0) {
+ this$static.offsetSizeTemporaryScrollHandler = $addScrollHandler(this$static, new ScrollbarBundle$1(this$static, px));
+ $setScrollPos(this$static, 0);
+ }
+ else {
+ $setOffsetSizeNow(this$static, px);
+ }
+}
+
+function $setOffsetSizeNow(this$static, px){
+ this$static.internalSetOffsetSize(max_0(0, px > 0?floor_0(px):ceil_0(px)));
+ $recalculateMaxScrollPos(this$static);
+ $forceScrollbar(this$static, parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()));
+ $fireVisibilityChangeIfNeeded(this$static);
+}
+
+function $setScrollPos(this$static, px){
+ var oldScrollPos;
+ oldScrollPos = this$static.scrollPos;
+ this$static.scrollPos = max_0(0, min_0(this$static.maxScrollPos, px > 0?floor_0(px):ceil_0(px)));
+ if (!pixelValuesEqual(oldScrollPos, this$static.scrollPos)) {
+ this$static.isInvisibleScrollbar && $show_1(this$static.invisibleScrollbarTemporaryResizer);
+ this$static.internalSetScrollPos(this$static.scrollPos | 0);
+ }
+}
+
+function $setScrollPosByDelta(this$static, delta){
+ delta != 0 && $setScrollPos(this$static, this$static.scrollPos + delta);
+}
+
+function $setScrollSize(this$static, px){
+ var newScrollSizeIsSmallerThanOffsetSize, scrollSizeBecomesSmallerThanOffsetSize;
+ newScrollSizeIsSmallerThanOffsetSize = px <= parseCssDimensionToPixels(this$static.internalGetOffsetSize());
+ scrollSizeBecomesSmallerThanOffsetSize = parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()) && newScrollSizeIsSmallerThanOffsetSize;
+ if (scrollSizeBecomesSmallerThanOffsetSize && this$static.scrollPos != 0) {
+ this$static.scrollSizeTemporaryScrollHandler = $addScrollHandler(this$static, new ScrollbarBundle$2(this$static, px));
+ $setScrollPos(this$static, 0);
+ }
+ else {
+ $setScrollSizeNow(this$static, px);
+ }
+}
+
+function $setScrollSizeNow(this$static, px){
+ this$static.internalSetScrollSize(0 > px?0:px);
+ $recalculateMaxScrollPos(this$static);
+ $forceScrollbar(this$static, parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize()));
+ $fireVisibilityChangeIfNeeded(this$static);
+}
+
+function $setScrollbarThickness(this$static, px){
+ this$static.isInvisibleScrollbar = px == 0;
+ if (this$static.isInvisibleScrollbar) {
+ sinkEvents_0(this$static.root, 16384);
+ $clinit_DOM();
+ setEventListener(this$static.root, new ScrollbarBundle$3(this$static));
+ }
+ else {
+ sinkEvents_0(this$static.root, 0);
+ $clinit_DOM();
+ setEventListener(this$static.root, null);
+ }
+ this$static.internalSetScrollbarThickness(1 > px?1:px);
+}
+
+function $showsScrollHandle(this$static){
+ return parseCssDimensionToPixels(this$static.internalGetOffsetSize()) < parseCssDimensionToPixels(this$static.internalGetScrollSize());
+}
+
+function $updateScrollPosFromDom(this$static){
+ var newScrollPos;
+ newScrollPos = this$static.internalGetScrollPos();
+ this$static.scrollPos = newScrollPos;
+ $scheduleEvent(this$static.scrollEventFirer);
+}
+
+function ScrollbarBundle(){
+ this.root = ($clinit_DOM() , $createDivElement($doc));
+ this.scrollSizeElement = $createDivElement($doc);
+ this.invisibleScrollbarTemporaryResizer = new ScrollbarBundle$TemporaryResizer(this);
+ this.scrollEventFirer = new ScrollbarBundle$ScrollEventFirer(this);
+ $appendChild(this.root, this.scrollSizeElement);
+ this.root.style['display'] = ($clinit_Style$Display() , 'none');
+ $setTabIndex(this.root, -1);
+}
+
+function parseCssDimensionToPixels(size_0){
+ return !size_0.length?0:__parseAndValidateDouble(__substr(size_0, 0, size_0.length - 2));
+}
+
+defineClass(160, 1, {});
+_.getElement = function(){
+ return this.root;
+}
+;
+_.updateScrollPosFromDom = function(){
+ $updateScrollPosFromDom(this);
+}
+;
+_.isInvisibleScrollbar = false;
+_.maxScrollPos = 0;
+_.scrollHandleIsVisible = false;
+_.scrollPos = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle', 160, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$1(this$0, val$px){
+ this.this$01 = this$0;
+ this.val$px2 = val$px;
+}
+
+defineClass(279, 1, $intern_41, ScrollbarBundle$1);
+_.onScroll = function(event_0){
+ $setOffsetSizeNow(this.this$01, this.val$px2);
+ $removeHandler(this.this$01.offsetSizeTemporaryScrollHandler.real);
+ this.this$01.offsetSizeTemporaryScrollHandler = null;
+}
+;
+_.val$px2 = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/1', 279, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$2(this$0, val$px){
+ this.this$01 = this$0;
+ this.val$px2 = val$px;
+}
+
+defineClass(280, 1, $intern_41, ScrollbarBundle$2);
+_.onScroll = function(event_0){
+ $setScrollSizeNow(this.this$01, this.val$px2);
+ $removeHandler(this.this$01.scrollSizeTemporaryScrollHandler.real);
+ this.this$01.scrollSizeTemporaryScrollHandler = null;
+}
+;
+_.val$px2 = 0;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$2_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/2', 280, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(281, 1, {20:1}, ScrollbarBundle$3);
+_.onBrowserEvent = function(event_0){
+ $show_1(this.this$01.invisibleScrollbarTemporaryResizer);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$3_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/3', 281, Ljava_lang_Object_2_classLit);
+function $setStylePrimaryName(this$static, primaryStyleName){
+ $setClassName(this$static.root, primaryStyleName + '-scroller');
+ $addClassName(this$static.root, primaryStyleName + '-scroller-horizontal');
+}
+
+function ScrollbarBundle$HorizontalScrollbarBundle(){
+ ScrollbarBundle.call(this);
+}
+
+defineClass(275, 160, {}, ScrollbarBundle$HorizontalScrollbarBundle);
+_.internalForceScrollbar = function(enable){
+ enable?(this.root.style['overflowX'] = ($clinit_Style$Overflow() , 'scroll') , undefined):$setPropertyImpl(this.root.style, 'overflowX', '');
+}
+;
+_.internalGetOffsetSize = function(){
+ return $getProperty(this.root.style, 'width');
+}
+;
+_.internalGetScrollPos = function(){
+ return $getScrollLeft(this.root);
+}
+;
+_.internalGetScrollSize = function(){
+ return $getProperty(this.scrollSizeElement.style, 'width');
+}
+;
+_.internalGetScrollbarThickness = function(){
+ return $getProperty(this.root.style, 'height');
+}
+;
+_.internalSetOffsetSize = function(px){
+ this.root.style['width'] = px + ($clinit_Style$Unit() , 'px');
+}
+;
+_.internalSetScrollPos = function(px){
+ $setScrollLeft(this.root, px);
+}
+;
+_.internalSetScrollSize = function(px){
+ this.scrollSizeElement.style['width'] = px + ($clinit_Style$Unit() , 'px');
+}
+;
+_.internalSetScrollbarThickness = function(px){
+ this.root.style['height'] = px + ($clinit_Style$Unit() , 'px');
+ this.scrollSizeElement.style['height'] = px + 'px';
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$HorizontalScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/HorizontalScrollbarBundle', 275, Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit);
+function $scheduleEvent(this$static){
+ if (!this$static.isBeingFired) {
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this$static.fireEventCommand);
+ this$static.isBeingFired = true;
+ }
+}
+
+function ScrollbarBundle$ScrollEventFirer(this$0){
+ this.this$01 = this$0;
+ this.fireEventCommand = new ScrollbarBundle$ScrollEventFirer$1(this);
+}
+
+defineClass(271, 1, {}, ScrollbarBundle$ScrollEventFirer);
+_.isBeingFired = false;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/ScrollEventFirer', 271, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$ScrollEventFirer$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(276, 1, {}, ScrollbarBundle$ScrollEventFirer$1);
+_.execute_1 = function(){
+ $updateScrollPosFromDom(this.this$11.this$01);
+ $fireEvent($getHandlerManager(this.this$11.this$01), new ScrollEvent);
+ this.this$11.isBeingFired = false;
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$ScrollEventFirer$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/ScrollEventFirer/1', 276, Ljava_lang_Object_2_classLit);
+function $show_1(this$static){
+ this$static.this$01.internalSetScrollbarThickness(13);
+ $schedule(this$static.timer, 1000);
+}
+
+function ScrollbarBundle$TemporaryResizer(this$0){
+ this.this$01 = this$0;
+ this.timer = new ScrollbarBundle$TemporaryResizer$1(this);
+}
+
+defineClass(272, 1, {}, ScrollbarBundle$TemporaryResizer);
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/TemporaryResizer', 272, Ljava_lang_Object_2_classLit);
+function ScrollbarBundle$TemporaryResizer$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(277, 48, {}, ScrollbarBundle$TemporaryResizer$1);
+_.run = function(){
+ this.this$11.this$01.internalSetScrollbarThickness(1);
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$TemporaryResizer$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/TemporaryResizer/1', 277, Lcom_google_gwt_user_client_Timer_2_classLit);
+function $setStylePrimaryName_0(this$static, primaryStyleName){
+ $setClassName(this$static.root, primaryStyleName + '-scroller');
+ $addClassName(this$static.root, primaryStyleName + '-scroller-vertical');
+}
+
+function ScrollbarBundle$VerticalScrollbarBundle(){
+ ScrollbarBundle.call(this);
+}
+
+defineClass(274, 160, {}, ScrollbarBundle$VerticalScrollbarBundle);
+_.internalForceScrollbar = function(enable){
+ enable?(this.root.style['overflowY'] = ($clinit_Style$Overflow() , 'scroll') , undefined):$setPropertyImpl(this.root.style, 'overflowY', '');
+}
+;
+_.internalGetOffsetSize = function(){
+ return $getProperty(this.root.style, 'height');
+}
+;
+_.internalGetScrollPos = function(){
+ return $getSubPixelScrollTop(this.root) | 0;
+}
+;
+_.internalGetScrollSize = function(){
+ return $getProperty(this.scrollSizeElement.style, 'height');
+}
+;
+_.internalGetScrollbarThickness = function(){
+ return $getProperty(this.root.style, 'width');
+}
+;
+_.internalSetOffsetSize = function(px){
+ this.root.style['height'] = px + ($clinit_Style$Unit() , 'px');
+}
+;
+_.internalSetScrollPos = function(px){
+ $setScrollTop(this.root, px);
+}
+;
+_.internalSetScrollSize = function(px){
+ this.scrollSizeElement.style['height'] = px + ($clinit_Style$Unit() , 'px');
+}
+;
+_.internalSetScrollbarThickness = function(px){
+ this.root.style['width'] = px + ($clinit_Style$Unit() , 'px');
+ this.scrollSizeElement.style['width'] = px + 'px';
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VerticalScrollbarBundle_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VerticalScrollbarBundle', 274, Lcom_vaadin_client_widget_escalator_ScrollbarBundle_2_classLit);
+function $clinit_ScrollbarBundle$VisibilityChangeEvent(){
+ $clinit_ScrollbarBundle$VisibilityChangeEvent = emptyMethod;
+ TYPE_7 = new ScrollbarBundle$VisibilityChangeEvent$1;
+}
+
+function ScrollbarBundle$VisibilityChangeEvent(){
+ $clinit_ScrollbarBundle$VisibilityChangeEvent();
+}
+
+defineClass(273, 556, {}, ScrollbarBundle$VisibilityChangeEvent);
+_.dispatch = function(handler){
+ $applyHeightByRows(dynamicCast(handler, 589).this$01);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_7;
+}
+;
+var TYPE_7;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VisibilityChangeEvent', 273, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function ScrollbarBundle$VisibilityChangeEvent$1(){
+ GwtEvent$Type.call(this);
+}
+
+defineClass(278, 35, {}, ScrollbarBundle$VisibilityChangeEvent$1);
+_.toString$ = function(){
+ return 'VisibilityChangeEvent';
+}
+;
+var Lcom_vaadin_client_widget_escalator_ScrollbarBundle$VisibilityChangeEvent$1_2_classLit = createForClass('com.vaadin.client.widget.escalator', 'ScrollbarBundle/VisibilityChangeEvent/1', 278, Lcom_google_gwt_event_shared_GwtEvent$Type_2_classLit);
+function $set_0(this$static, columnIndex, column){
+ this$static.columnIndex = columnIndex;
+ this$static.column = column;
+}
+
+function CellReference(rowReference){
+ this.rowReference = rowReference;
+}
+
+defineClass(135, 1, {}, CellReference);
+_.columnIndex = 0;
+var Lcom_vaadin_client_widget_grid_CellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'CellReference', 135, Ljava_lang_Object_2_classLit);
+function $clinit_DataAvailableEvent(){
+ $clinit_DataAvailableEvent = emptyMethod;
+ TYPE_8 = new GwtEvent$Type;
+}
+
+function DataAvailableEvent(rowsAvailable){
+ $clinit_DataAvailableEvent();
+ this.rowsAvailable = rowsAvailable;
+}
+
+defineClass(175, 556, {}, DataAvailableEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 198).onDataAvailable(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_8;
+}
+;
+var TYPE_8;
+var Lcom_vaadin_client_widget_grid_DataAvailableEvent_2_classLit = createForClass('com.vaadin.client.widget.grid', 'DataAvailableEvent', 175, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $set_1(this$static, targetCell){
+ var column, row;
+ row = targetCell.row;
+ column = targetCell.column;
+ $set_3(this$static.rowReference, row, this$static.grid.dataSource_0.getRow(row));
+ $set_0(this$static, column, $getColumn(this$static.grid, column));
+ this$static.element = targetCell.element;
+}
+
+function EventCellReference(grid){
+ CellReference.call(this, new RowReference);
+ this.grid = grid;
+}
+
+defineClass(409, 135, {}, EventCellReference);
+var Lcom_vaadin_client_widget_grid_EventCellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'EventCellReference', 409, Lcom_vaadin_client_widget_grid_CellReference_2_classLit);
+function $set_2(this$static, cell, column){
+ this$static.cell = cell;
+ $set_0(this$static, cell.column, column);
+}
+
+function RendererCellReference(rowReference){
+ CellReference.call(this, rowReference);
+}
+
+defineClass(415, 135, {}, RendererCellReference);
+var Lcom_vaadin_client_widget_grid_RendererCellReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'RendererCellReference', 415, Lcom_vaadin_client_widget_grid_CellReference_2_classLit);
+function $set_3(this$static, rowIndex, row){
+ this$static.rowIndex = rowIndex;
+ this$static.row = row;
+}
+
+function RowReference(){
+}
+
+defineClass(173, 1, {}, RowReference);
+_.rowIndex = 0;
+var Lcom_vaadin_client_widget_grid_RowReference_2_classLit = createForClass('com.vaadin.client.widget.grid', 'RowReference', 173, Ljava_lang_Object_2_classLit);
+function ListDataSource(datasource){
+ if (!datasource) {
+ throw new IllegalArgumentException_0('datasource cannot be null');
+ }
+ this.ds = new ArrayList_1(datasource);
+ new ListDataSource$ListWrapper(this);
+}
+
+defineClass(163, 1, {}, ListDataSource);
+_.ensureAvailability = function(firstRowIndex, numberOfRows){
+ if (firstRowIndex >= this.ds.array.length) {
+ throw new IllegalStateException_0('Trying to fetch rows outside of array');
+ }
+ $dataAvailable(this.changeHandler, firstRowIndex, numberOfRows);
+}
+;
+_.getHandle = function(row){
+ return new ListDataSource$RowHandleImpl(row);
+}
+;
+_.getRow = function(rowIndex){
+ return $get_6(this.ds, rowIndex);
+}
+;
+_.indexOf_0 = function(row){
+ return $indexOf_3(this.ds, row, 0);
+}
+;
+_.setDataChangeHandler = function(dataChangeHandler){
+ this.changeHandler = dataChangeHandler;
+}
+;
+_.size_2 = function(){
+ return this.ds.array.length;
+}
+;
+var Lcom_vaadin_client_widget_grid_datasources_ListDataSource_2_classLit = createForClass('com.vaadin.client.widget.grid.datasources', 'ListDataSource', 163, Ljava_lang_Object_2_classLit);
+function $contains(this$static, o){
+ return $contains(this$static, o);
+}
+
+function $toArray(this$static, a){
+ return $toArray(this$static, a);
+}
+
+function ListDataSource$ListWrapper(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(304, 1, $intern_42, ListDataSource$ListWrapper);
+_.add_1 = function(e){
+ if ($add_6(this.this$01.ds, e)) {
+ !!this.this$01.changeHandler && $dataAdded(this.this$01.changeHandler, this.this$01.ds.array.length - 1);
+ return true;
+ }
+ return false;
+}
+;
+_.contains_0 = function(o){
+ return $contains(this, o);
+}
+;
+_.get_0 = function(index_0){
+ return $get_6(this.this$01.ds, index_0);
+}
+;
+_.indexOf_0 = function(o){
+ return $indexOf_3(this.this$01.ds, o, 0);
+}
+;
+_.isEmpty = function(){
+ return this.this$01.ds.array.length == 0;
+}
+;
+_.iterator_0 = function(){
+ return new ListDataSource$ListWrapperIterator(new AbstractList$IteratorImpl(this.this$01.ds));
+}
+;
+_.listIterator = function(){
+ throw new UnsupportedOperationException_0('List iterators not supported at this time.');
+}
+;
+_.listIterator_0 = function(index_0){
+ throw new UnsupportedOperationException_0('List iterators not supported at this time.');
+}
+;
+_.remove_1 = function(o){
+ var index_0;
+ index_0 = $indexOf_3(this.this$01.ds, o, 0);
+ if ($remove_7(this.this$01.ds, o)) {
+ !!this.this$01.changeHandler && $dataRemoved(this.this$01.changeHandler, index_0);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.ds.array.length;
+}
+;
+_.toArray = function(){
+ return $toArray_1(this.this$01.ds);
+}
+;
+_.toArray_0 = function(a){
+ return $toArray(this, a);
+}
+;
+var Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapper_2_classLit = createForClass('com.vaadin.client.widget.grid.datasources', 'ListDataSource/ListWrapper', 304, Ljava_lang_Object_2_classLit);
+function ListDataSource$ListWrapperIterator(iterator){
+ this.iterator = iterator;
+}
+
+defineClass(305, 1, {}, ListDataSource$ListWrapperIterator);
+_.hasNext = function(){
+ return $hasNext_0(this.iterator);
+}
+;
+_.next_0 = function(){
+ return $next_2(this.iterator);
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException_0('Iterator.remove() is not supported by this iterator.');
+}
+;
+var Lcom_vaadin_client_widget_grid_datasources_ListDataSource$ListWrapperIterator_2_classLit = createForClass('com.vaadin.client.widget.grid.datasources', 'ListDataSource/ListWrapperIterator', 305, Ljava_lang_Object_2_classLit);
+function ListDataSource$RowHandleImpl(row){
+ this.row = row;
+}
+
+defineClass(113, 79, {79:1, 113:1}, ListDataSource$RowHandleImpl);
+_.equalsExplicit = function(obj){
+ var rhi;
+ if (instanceOf(obj, 113)) {
+ rhi = dynamicCast(obj, 113);
+ return equals(this.row, rhi.row);
+ }
+ else {
+ return false;
+ }
+}
+;
+_.getRow_0 = function(){
+ return this.row;
+}
+;
+_.hashCodeExplicit = function(){
+ return hashCode__I__devirtual$(this.row);
+}
+;
+_.pin = function(){
+}
+;
+_.unpin = function(){
+}
+;
+var Lcom_vaadin_client_widget_grid_datasources_ListDataSource$RowHandleImpl_2_classLit = createForClass('com.vaadin.client.widget.grid.datasources', 'ListDataSource/RowHandleImpl', 113, Lcom_vaadin_client_data_DataSource$RowHandle_2_classLit);
+function $dispatch_1(this$static, handler){
+ var container, section, target, targetElement;
+ target = $getEventTarget(this$static.nativeEvent);
+ if (!is_0(target)) {
+ return;
+ }
+ targetElement = target;
+ if ($isElementInChildWidget(this$static.grid, targetElement)) {
+ return;
+ }
+ container = $findRowContainer(this$static.grid.escalator, targetElement);
+ if (!container) {
+ return;
+ }
+ section = ($clinit_Grid$Section() , FOOTER);
+ container == this$static.grid.escalator.header?(section = HEADER):container == this$static.grid.escalator.body_0 && (section = BODY);
+ this$static.doDispatch(handler, section);
+}
+
+function Grid$AbstractGridMouseEvent(grid, targetCell){
+ this.associatedType = new DomEvent$Type(this.getBrowserEventType(), this);
+ this.grid = grid;
+ this.targetCell = targetCell;
+}
+
+defineClass(156, 562, {});
+_.dispatch = function(handler){
+ $dispatch_1(this, dynamicCast(handler, 584));
+}
+;
+_.getAssociatedType_0 = function(){
+ return this.associatedType;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AbstractGridMouseEvent', 156, Lcom_google_gwt_event_dom_client_MouseEvent_2_classLit);
+function GridClickEvent(grid, targetCell){
+ Grid$AbstractGridMouseEvent.call(this, grid, targetCell);
+}
+
+defineClass(413, 156, {}, GridClickEvent);
+_.doDispatch = function(handler, section){
+ var row;
+ (section == ($clinit_Grid$Section() , BODY) && !!handler || section == HEADER && false || section == FOOTER && false) && (row = this.targetCell.rowReference.row , $isSelected_0(handler.this$01.grid, row) || $select_4(handler.this$01.grid, row) , undefined);
+}
+;
+_.getBrowserEventType = function(){
+ return 'click';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridClickEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridClickEvent', 413, Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit);
+function $doDispatch(section){
+ (section == ($clinit_Grid$Section() , BODY) && false || section == HEADER && false || section == FOOTER && false) && null.nullMethod();
+}
+
+function GridDoubleClickEvent(grid, targetCell){
+ Grid$AbstractGridMouseEvent.call(this, grid, targetCell);
+}
+
+defineClass(414, 156, {}, GridDoubleClickEvent);
+_.doDispatch = function(handler, section){
+ $doDispatch((throwClassCastExceptionUnlessNull(handler) , section));
+}
+;
+_.getBrowserEventType = function(){
+ return 'dblclick';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridDoubleClickEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridDoubleClickEvent', 414, Lcom_vaadin_client_widgets_Grid$AbstractGridMouseEvent_2_classLit);
+function $dispatch_2(this$static, handler){
+ var container, section, target;
+ target = $getEventTarget(this$static.nativeEvent);
+ if (is_0(target) && !$isElementInChildWidget(this$static.grid, target)) {
+ section = ($clinit_Grid$Section() , FOOTER);
+ container = this$static.grid.cellFocusHandler.containerWithFocus;
+ container == this$static.grid.escalator.header?(section = HEADER):container == this$static.grid.escalator.body_0 && (section = BODY);
+ this$static.doDispatch_0(handler, section);
+ }
+}
+
+function Grid$AbstractGridKeyEvent(grid, targetCell){
+ this.associatedType = new DomEvent$Type(this.getBrowserEventType(), this);
+ this.grid = grid;
+ this.targetCell = targetCell;
+}
+
+defineClass(121, 560, {});
+_.dispatch = function(handler){
+ $dispatch_2(this, dynamicCast(handler, 197));
+}
+;
+_.getAssociatedType_0 = function(){
+ return this.associatedType;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AbstractGridKeyEvent', 121, Lcom_google_gwt_event_dom_client_KeyEvent_2_classLit);
+function $doDispatch_0(this$static, handler, section){
+ (section == ($clinit_Grid$Section() , BODY) && !!handler || section == HEADER && false || section == FOOTER && false) && $onKeyDown(handler, this$static);
+}
+
+function GridKeyDownEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(410, 121, {}, GridKeyDownEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_0(this, dynamicCast(handler, 588), section);
+}
+;
+_.getBrowserEventType = function(){
+ return 'keydown';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyDownEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyDownEvent', 410, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $doDispatch_1(section){
+ (section == ($clinit_Grid$Section() , BODY) && false || section == HEADER && false || section == FOOTER && false) && null.nullMethod();
+}
+
+function GridKeyPressEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(412, 121, {}, GridKeyPressEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_1((throwClassCastExceptionUnlessNull(handler) , section));
+}
+;
+_.getBrowserEventType = function(){
+ return 'keypress';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyPressEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyPressEvent', 412, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $doDispatch_2(this$static, handler, section){
+ (section == ($clinit_Grid$Section() , BODY) && instanceOf(handler, 592) || section == HEADER && instanceOf(handler, 587) || section == FOOTER && false) && handler.onKeyUp(this$static);
+}
+
+function GridKeyUpEvent(grid, targetCell){
+ Grid$AbstractGridKeyEvent.call(this, grid, targetCell);
+}
+
+defineClass(411, 121, {}, GridKeyUpEvent);
+_.doDispatch_0 = function(handler, section){
+ $doDispatch_2(this, dynamicCast(handler, 533), section);
+}
+;
+_.getBrowserEventType = function(){
+ return 'keyup';
+}
+;
+var Lcom_vaadin_client_widget_grid_events_GridKeyUpEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'GridKeyUpEvent', 411, Lcom_vaadin_client_widgets_Grid$AbstractGridKeyEvent_2_classLit);
+function $clinit_ScrollEvent(){
+ $clinit_ScrollEvent = emptyMethod;
+ TYPE_9 = new GwtEvent$Type;
+}
+
+function ScrollEvent(){
+ $clinit_ScrollEvent();
+}
+
+defineClass(136, 556, {}, ScrollEvent);
+_.dispatch = function(handler){
+ dynamicCast(handler, 147).onScroll(this);
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_9;
+}
+;
+var TYPE_9;
+var Lcom_vaadin_client_widget_grid_events_ScrollEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'ScrollEvent', 136, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $clinit_SelectAllEvent(){
+ $clinit_SelectAllEvent = emptyMethod;
+ TYPE_10 = new GwtEvent$Type;
+}
+
+function SelectAllEvent(){
+ $clinit_SelectAllEvent();
+}
+
+defineClass(498, 556, {}, SelectAllEvent);
+_.dispatch = function(handler){
+ throwClassCastExceptionUnlessNull(handler);
+ null.nullMethod();
+}
+;
+_.getAssociatedType = function(){
+ return TYPE_10;
+}
+;
+var TYPE_10;
+var Lcom_vaadin_client_widget_grid_events_SelectAllEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.events', 'SelectAllEvent', 498, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+defineClass(566, 1, {});
+var Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'AbstractRowHandleSelectionModel', 566, Ljava_lang_Object_2_classLit);
+function ClickSelectHandler(grid){
+ this.grid = grid;
+ this.clickHandler = $addBodyClickHandler(grid, new ClickSelectHandler$RowClickHandler(this));
+}
+
+defineClass(487, 1, {}, ClickSelectHandler);
+var Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'ClickSelectHandler', 487, Ljava_lang_Object_2_classLit);
+function ClickSelectHandler$RowClickHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(488, 1, {22:1, 584:1}, ClickSelectHandler$RowClickHandler);
+var Lcom_vaadin_client_widget_grid_selection_ClickSelectHandler$RowClickHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'ClickSelectHandler/RowClickHandler', 488, Ljava_lang_Object_2_classLit);
+function $destroy(this$static){
+ !!this$static.nativePreviewHandlerRegistration && $removeNativeHandler(this$static);
+}
+
+function $getBodyClientTop(this$static){
+ return $getClientTop($getElement(this$static.grid)) + (($getTheadElement(this$static).offsetHeight || 0) | 0);
+}
+
+function $getClientTop(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 $getConsumedEvents(){
+ var events;
+ events = new HashSet;
+ $add_7(events, 'mousedown');
+ $add_7(events, 'touchstart');
+ return events;
+}
+
+function $getLogicalRowIndex(this$static, target){
+ var checkbox, tbody, td, tr;
+ if (!target) {
+ return -1;
+ }
+ tbody = $getTbodyElement(this$static);
+ tr = $getFirstChildElement_0(($clinit_DOMImpl() , tbody));
+ while (tr) {
+ if (impl_0.isOrHasChild(tr, target)) {
+ td = $getFirstChildElement_0(tr);
+ checkbox = $getFirstChildElement_0(td);
+ return $getPropertyInt(checkbox, 'vEscalatorLogicalRow');
+ }
+ tr = $getNextSiblingElement(tr);
+ }
+ return -1;
+}
+
+function $getTableElement(this$static){
+ var root, tablewrapper;
+ root = $getElement(this$static.grid);
+ tablewrapper = root.childNodes[2];
+ return tablewrapper?$getFirstChildElement_0(($clinit_DOMImpl() , tablewrapper)):null;
+}
+
+function $getTbodyElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tBodies[0]:null;
+}
+
+function $getTfootElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tFoot:null;
+}
+
+function $getTheadElement(this$static){
+ var table;
+ table = $getTableElement(this$static);
+ return table?table.tHead:null;
+}
+
+function $init(cell){
+ var checkbox;
+ checkbox = ($clinit_DOM() , $createCheckInputElement($doc));
+ $removeAllChildren(cell.cell.element);
+ $appendChild(cell.cell.element, checkbox);
+}
+
+function $isSelected(this$static, logicalRow){
+ return $isSelected_0(this$static.grid, this$static.grid.dataSource_0.getRow(logicalRow));
+}
+
+function $onBrowserEvent_0(this$static, event_0){
+ var logicalRowIndex;
+ if ($equals_2('touchstart', ($clinit_DOMImpl() , event_0).type) || $equals_2('mousedown', event_0.type) && $eventGetButton(event_0) == 1) {
+ $removeNativeHandler(this$static);
+ this$static.nativePreviewHandlerRegistration = addNativePreviewHandler(new MultiSelectionRenderer$TouchEventHandler(this$static));
+ logicalRowIndex = $getLogicalRowIndex(this$static, impl_0.eventGetTarget(event_0));
+ $start(this$static.autoScrollHandler, logicalRowIndex);
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ return true;
+ }
+ else {
+ throw new IllegalStateException_0('received unexpected event: ' + event_0.type);
+ }
+}
+
+function $removeNativeHandler(this$static){
+ if (this$static.nativePreviewHandlerRegistration) {
+ $removeHandler(this$static.nativePreviewHandlerRegistration.real);
+ this$static.nativePreviewHandlerRegistration = null;
+ }
+}
+
+function $render(cell, data_0){
+ var checkbox;
+ checkbox = $getFirstChildElement(cell.cell.element);
+ $setChecked(checkbox, data_0.value_0);
+ $setPropertyInt(checkbox, 'vEscalatorLogicalRow', cell.rowReference.rowIndex);
+}
+
+function $render_0(cell, data_0){
+ $render(cell, dynamicCast(data_0, 42));
+}
+
+function $setSelected(this$static, logicalRow, select){
+ var row;
+ row = this$static.grid.dataSource_0.getRow(logicalRow);
+ select?$select_4(this$static.grid, row):$deselect_1(this$static.grid, row);
+}
+
+function MultiSelectionRenderer(grid){
+ this.autoScrollHandler = new MultiSelectionRenderer$AutoScrollHandler(this);
+ this.grid = grid;
+}
+
+defineClass(491, 51, {51:1}, MultiSelectionRenderer);
+_.render = function(cell, data_0){
+ $render_0(cell, data_0);
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer', 491, Lcom_vaadin_client_renderers_ComplexRenderer_2_classLit);
+function $getScrollCompensation(this$static){
+ var cursor, scroll_0;
+ cursor = ($clinit_DOM() , this$static.this$01.grid.element);
+ scroll_0 = 0;
+ while (cursor) {
+ scroll_0 -= $getSubPixelScrollTop(cursor) | 0;
+ cursor = $getParentElement_0(($clinit_DOMImpl() , cursor));
+ }
+ return scroll_0;
+}
+
+function $start(this$static, logicalRowIndex){
+ var batchedModel, model;
+ model = this$static.this$01.grid.selectionModel;
+ if (instanceOf(model, 148)) {
+ batchedModel = dynamicCast(model, 148);
+ batchedModel.batchStarted = true;
+ }
+ $updateScrollBounds(this$static);
+ this$static.handlerRegistration = addNativePreviewHandler(this$static.scrollPreviewHandler);
+ this$static.autoScroller = new MultiSelectionRenderer$AutoScrollerAndSelector(this$static.this$01, this$static.topBound, this$static.bottomBound, this$static.gradientArea, !$isSelected(this$static.this$01, logicalRowIndex));
+ $start_0(this$static.autoScroller, logicalRowIndex);
+}
+
+function $stop(this$static){
+ var batchedModel, model;
+ if (this$static.handlerRegistration) {
+ $removeHandler(this$static.handlerRegistration.real);
+ this$static.handlerRegistration = null;
+ }
+ if (this$static.autoScroller) {
+ $stop_0(this$static.autoScroller);
+ this$static.autoScroller = null;
+ }
+ model = this$static.this$01.grid.selectionModel;
+ if (instanceOf(model, 148)) {
+ batchedModel = dynamicCast(model, 148);
+ $commitBatchSelect(batchedModel);
+ }
+ $removeNativeHandler(this$static.this$01);
+}
+
+function $updateScrollBounds(this$static){
+ var adjustment, bottomBorder, scrollCompensation, topBorder;
+ topBorder = $getBodyClientTop(this$static.this$01);
+ bottomBorder = $getClientTop($getTfootElement(this$static.this$01)) - 1;
+ scrollCompensation = $getScrollCompensation(this$static);
+ this$static.topBound = scrollCompensation + topBorder + 100;
+ this$static.bottomBound = scrollCompensation + bottomBorder - 100;
+ this$static.gradientArea = 100;
+ if (this$static.bottomBound - this$static.topBound < 50) {
+ adjustment = 50 - (this$static.bottomBound - this$static.topBound);
+ this$static.topBound -= adjustment / 2 | 0;
+ this$static.bottomBound += adjustment / 2 | 0;
+ this$static.gradientArea -= adjustment / 2 | 0;
+ }
+}
+
+function MultiSelectionRenderer$AutoScrollHandler(this$0){
+ this.this$01 = this$0;
+ this.scrollPreviewHandler = new MultiSelectionRenderer$AutoScrollHandler$1(this);
+}
+
+defineClass(494, 1, {}, MultiSelectionRenderer$AutoScrollHandler);
+_.bottomBound = -1;
+_.gradientArea = 0;
+_.topBound = -1;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollHandler', 494, Ljava_lang_Object_2_classLit);
+function MultiSelectionRenderer$AutoScrollHandler$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(495, 1, $intern_37, MultiSelectionRenderer$AutoScrollHandler$1);
+_.onPreviewNativeEvent = function(event_0){
+ var nativeEvent, pageX, pageY;
+ if (!this.this$11.autoScroller) {
+ $stop(this.this$11);
+ return;
+ }
+ nativeEvent = event_0.nativeEvent;
+ switch ($getTypeInt(event_0.nativeEvent)) {
+ case 64:
+ case $intern_31:
+ pageY = ($clinit_WidgetUtil() , $clinit_WidgetUtil() , ($clinit_DOMImpl() , nativeEvent).type.indexOf('touch') != -1?$getClientY(nativeEvent.changedTouches[0]):toInt32(nativeEvent.clientY || 0));
+ pageX = (null , nativeEvent.type.indexOf('touch') != -1?$getClientX(nativeEvent.changedTouches[0]):toInt32(nativeEvent.clientX || 0));
+ $updatePointerCoords(this.this$11.autoScroller, pageX, pageY);
+ break;
+ case 8:
+ case $intern_17:
+ case $intern_32:
+ $stop(this.this$11);
+ }
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollHandler/1', 495, Ljava_lang_Object_2_classLit);
+function $doScrollAreaChecks(this$static, pageY){
+ var bottomDidNotMove, oldBottomBound, oldTopBound, topDidNotMove, wasVerticalMovement;
+ if (this$static.topBound == -1) {
+ this$static.topBound = min_1(this$static.finalTopBound, pageY);
+ this$static.bottomBound = max_1(this$static.finalBottomBound, pageY);
+ }
+ else {
+ oldTopBound = this$static.topBound;
+ this$static.topBound < this$static.finalTopBound && (this$static.topBound = max_1(this$static.topBound, min_1(this$static.finalTopBound, pageY)));
+ oldBottomBound = this$static.bottomBound;
+ this$static.bottomBound > this$static.finalBottomBound && (this$static.bottomBound = min_1(this$static.bottomBound, max_1(this$static.finalBottomBound, pageY)));
+ topDidNotMove = oldTopBound == this$static.topBound;
+ bottomDidNotMove = oldBottomBound == this$static.bottomBound;
+ wasVerticalMovement = pageY != this$static.pageY_0;
+ this$static.scrollAreaShouldRebound = topDidNotMove && bottomDidNotMove && wasVerticalMovement;
+ }
+}
+
+function $reboundScrollArea(this$static, timeDiff){
+ var reboundPx;
+ if (!this$static.scrollAreaShouldRebound) {
+ return;
+ }
+ reboundPx = round_int(Math.ceil(0.001 * timeDiff));
+ if (this$static.topBound < this$static.finalTopBound) {
+ this$static.topBound += reboundPx;
+ this$static.topBound = min_1(this$static.topBound, this$static.finalTopBound);
+ $updateScrollSpeed(this$static, this$static.pageY_0);
+ }
+ else if (this$static.bottomBound > this$static.finalBottomBound) {
+ this$static.bottomBound -= reboundPx;
+ this$static.bottomBound = max_1(this$static.bottomBound, this$static.finalBottomBound);
+ $updateScrollSpeed(this$static, this$static.pageY_0);
+ }
+}
+
+function $start_0(this$static, logicalRowIndex){
+ this$static.running = true;
+ $setSelected(this$static.this$01, logicalRowIndex, this$static.selectionPaint);
+ this$static.lastModifiedLogicalRow = logicalRowIndex;
+ this$static.running && this$static.gradientArea >= 10 && (this$static.handle = (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this$static, $getElement(this$static.this$01.grid)));
+}
+
+function $stop_0(this$static){
+ this$static.running = false;
+ if (this$static.handle) {
+ this$static.handle.cancel();
+ this$static.handle = null;
+ }
+}
+
+function $updatePointerCoords(this$static, pageX, pageY){
+ $doScrollAreaChecks(this$static, pageY);
+ $updateScrollSpeed(this$static, pageY);
+ this$static.pageY_0 = pageY;
+ this$static.initialPageX == -1 && (this$static.initialPageX = pageX);
+}
+
+function $updateScrollSpeed(this$static, pointerPageY){
+ var distance, ratio;
+ if (pointerPageY < this$static.topBound) {
+ distance = pointerPageY - this$static.topBound;
+ ratio = max_0(-1, distance / this$static.gradientArea);
+ }
+ else if (pointerPageY > this$static.bottomBound) {
+ distance = pointerPageY - this$static.bottomBound;
+ ratio = min_0(1, distance / this$static.gradientArea);
+ }
+ else {
+ ratio = 0;
+ }
+ this$static.scrollSpeed = ratio * 500;
+}
+
+function MultiSelectionRenderer$AutoScrollerAndSelector(this$0, topBound, bottomBound, gradientArea, selectionPaint){
+ this.this$01 = this$0;
+ this.finalTopBound = topBound;
+ this.finalBottomBound = bottomBound;
+ this.gradientArea = gradientArea;
+ this.selectionPaint = selectionPaint;
+ this.bodyAbsoluteTop = $getClientTop($getElement(this$0.grid)) + (($getTheadElement(this$0).offsetHeight || 0) | 0);
+ this.bodyAbsoluteBottom = $getClientTop($getTfootElement(this$0)) - 1;
+}
+
+defineClass(493, 1, {}, MultiSelectionRenderer$AutoScrollerAndSelector);
+_.execute = function(timestamp){
+ var constrainedPageY, incrementOrDecrement, intPixelsToScroll, logicalRow, timeDiff;
+ timeDiff = timestamp - this.prevTimestamp;
+ this.prevTimestamp = timestamp;
+ $reboundScrollArea(this, timeDiff);
+ this.pixelsToScroll += this.scrollSpeed * (timeDiff / 1000);
+ intPixelsToScroll = round_int(this.pixelsToScroll);
+ this.pixelsToScroll -= intPixelsToScroll;
+ intPixelsToScroll != 0 && $setScrollTop_1(this.this$01.grid, this.this$01.grid.escalator.verticalScrollbar.scrollPos + intPixelsToScroll);
+ constrainedPageY = max_1(this.bodyAbsoluteTop, min_1(this.bodyAbsoluteBottom, this.pageY_0));
+ logicalRow = $getLogicalRowIndex(this.this$01, getElementFromPoint(this.initialPageX, constrainedPageY));
+ incrementOrDecrement = logicalRow > this.lastModifiedLogicalRow?1:-1;
+ while (logicalRow != -1 && this.lastModifiedLogicalRow != logicalRow) {
+ this.lastModifiedLogicalRow += incrementOrDecrement;
+ $setSelected(this.this$01, this.lastModifiedLogicalRow, this.selectionPaint);
+ }
+ this.running && this.gradientArea >= 10 && (this.handle = (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this, $getElement(this.this$01.grid)));
+}
+;
+_.bodyAbsoluteBottom = 0;
+_.bodyAbsoluteTop = 0;
+_.bottomBound = -1;
+_.finalBottomBound = 0;
+_.finalTopBound = 0;
+_.gradientArea = 0;
+_.initialPageX = -1;
+_.lastModifiedLogicalRow = -1;
+_.pageY_0 = 0;
+_.pixelsToScroll = 0;
+_.prevTimestamp = 0;
+_.running = false;
+_.scrollAreaShouldRebound = false;
+_.scrollSpeed = 0;
+_.selectionPaint = false;
+_.topBound = -1;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$AutoScrollerAndSelector_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/AutoScrollerAndSelector', 493, Ljava_lang_Object_2_classLit);
+function $isInFirstColumn(this$static, element){
+ var cursor, tbody, tr;
+ if (!element) {
+ return false;
+ }
+ tbody = $getTbodyElement(this$static.this$01);
+ if (!tbody || !($clinit_DOMImpl() , impl_0).isOrHasChild(tbody, element)) {
+ return false;
+ }
+ cursor = element;
+ while (!!$getParentElement_0(($clinit_DOMImpl() , cursor)) && $getParentElement($getParentElement_0(cursor)) != tbody) {
+ cursor = $getParentElement_0(cursor);
+ }
+ tr = $getParentElement_0(cursor);
+ return $getFirstChildElement_0(tr) == cursor;
+}
+
+function MultiSelectionRenderer$TouchEventHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(492, 1, $intern_37, MultiSelectionRenderer$TouchEventHandler);
+_.onPreviewNativeEvent = function(event_0){
+ var targetElement;
+ switch ($getTypeInt(event_0.nativeEvent)) {
+ case $intern_30:
+ {
+ $getTouches(event_0.nativeEvent).length == 1 && $stop(this.this$01.autoScrollHandler);
+ break;
+ }
+
+ case $intern_31:
+ event_0.isCanceled = true;
+ break;
+ case $intern_17:
+ case $intern_32:
+ targetElement = $getEventTarget(event_0.nativeEvent);
+ if ($isInFirstColumn(this, targetElement)) {
+ $removeNativeHandler(this.this$01);
+ event_0.isCanceled = true;
+ }
+
+ }
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_MultiSelectionRenderer$TouchEventHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'MultiSelectionRenderer/TouchEventHandler', 492, Ljava_lang_Object_2_classLit);
+function $clinit_SelectionEvent(){
+ $clinit_SelectionEvent = emptyMethod;
+ eventType_0 = new GwtEvent$Type;
+}
+
+function SelectionEvent(grid, added, removed){
+ $clinit_SelectionEvent();
+ this.grid = grid;
+ added != null?($clinit_Collections() , new Collections$SingletonList(added)):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+ removed != null?($clinit_Collections() , new Collections$SingletonList(removed)):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+}
+
+function SelectionEvent_0(grid, added, removed){
+ $clinit_SelectionEvent();
+ this.grid = grid;
+ added?new ArrayList_1(added):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+ removed?new ArrayList_1(removed):($clinit_Collections() , $clinit_Collections() , EMPTY_LIST);
+}
+
+defineClass(87, 556, {}, SelectionEvent, SelectionEvent_0);
+_.dispatch = function(handler){
+ dynamicCast(handler, 530).onSelect_0(this);
+}
+;
+_.getAssociatedType = function(){
+ return eventType_0;
+}
+;
+_.getSource = function(){
+ return this.grid;
+}
+;
+var eventType_0;
+var Lcom_vaadin_client_widget_grid_selection_SelectionEvent_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionEvent', 87, Lcom_google_gwt_event_shared_GwtEvent_2_classLit);
+function $commitBatchSelect(this$static){
+ var added, handle, handle$iterator, removed;
+ if (!this$static.batchStarted) {
+ return;
+ }
+ this$static.batchStarted = false;
+ added = $rowHandlesToRows(this$static.selectionBatch);
+ this$static.selectionBatch.map_0.clear_0();
+ removed = $rowHandlesToRows(this$static.deselectionBatch);
+ for (handle$iterator = $iterator(new AbstractMap$1(this$static.deselectionBatch.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_3(handle$iterator), 79);
+ handle.unpin();
+ }
+ this$static.deselectionBatch.map_0.clear_0();
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, added, removed));
+}
+
+function $deselect(this$static, rows_0){
+ var handle, removed, row, row$iterator;
+ removed = new LinkedHashSet;
+ for (row$iterator = new AbstractList$IteratorImpl(rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , row$iterator.this$01_0.get_0(row$iterator.last = row$iterator.i++));
+ handle = this$static.grid.dataSource_0.getHandle(row);
+ $deselectByHandle(this$static, handle) && $add_7(removed, row);
+ }
+ if (removed.map_0.size_2() > 0) {
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, null, removed));
+ return true;
+ }
+ return false;
+}
+
+function $deselectAll(this$static){
+ var event_0, selectedRowsClone;
+ if (this$static.selectedRows_0.map_0.size_2() > 0) {
+ selectedRowsClone = new LinkedHashSet_0(this$static.selectedRows_0);
+ event_0 = new SelectionEvent_0(this$static.grid, null, $getSelectedRows(this$static));
+ this$static.selectedRows_0.map_0.clear_0();
+ if (this$static.batchStarted) {
+ this$static.selectionBatch.map_0.clear_0();
+ this$static.deselectionBatch.map_0.clear_0();
+ $addAll_0(this$static.deselectionBatch, selectedRowsClone);
+ }
+ $fireEvent_0(this$static.grid, event_0);
+ return true;
+ }
+ return false;
+}
+
+function $deselectByHandle(this$static, handle){
+ if ($remove_8(this$static.selectedRows_0, handle)) {
+ if (this$static.batchStarted) {
+ $remove_8(this$static.selectionBatch, handle);
+ $add_7(this$static.deselectionBatch, handle);
+ }
+ else {
+ handle.unpin();
+ }
+ return true;
+ }
+ return false;
+}
+
+function $getSelectedRows(this$static){
+ var handle, handle$iterator, selected;
+ selected = new LinkedHashSet;
+ for (handle$iterator = $iterator(new AbstractMap$1(this$static.selectedRows_0.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_3(handle$iterator), 79);
+ $add_7(selected, handle.getRow_0());
+ }
+ return $clinit_Collections() , new Collections$UnmodifiableSet(selected);
+}
+
+function $isSelectedByHandle(this$static, handle){
+ return $contains_2(this$static.selectedRows_0, handle);
+}
+
+function $rowHandlesToRows(rowHandles){
+ var handle, handle$iterator, rows_0;
+ rows_0 = new ArrayList_0(rowHandles.map_0.size_2());
+ for (handle$iterator = $iterator(new AbstractMap$1(rowHandles.map_0)); handle$iterator.val$outerIter2.hasNext();) {
+ handle = dynamicCast($next_3(handle$iterator), 79);
+ $add_6(rows_0, handle.getRow_0());
+ }
+ return rows_0;
+}
+
+function $select_2(this$static, rows_0){
+ var added, handle, row, row$iterator;
+ added = new LinkedHashSet;
+ for (row$iterator = new AbstractList$IteratorImpl(rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , row$iterator.this$01_0.get_0(row$iterator.last = row$iterator.i++));
+ handle = this$static.grid.dataSource_0.getHandle(row);
+ $selectByHandle(this$static, handle) && $add_7(added, row);
+ }
+ if (added.map_0.size_2() > 0) {
+ $fireEvent_0(this$static.grid, new SelectionEvent_0(this$static.grid, added, null));
+ return true;
+ }
+ return false;
+}
+
+function $selectByHandle(this$static, handle){
+ if ($add_7(this$static.selectedRows_0, handle)) {
+ handle.pin();
+ if (this$static.batchStarted) {
+ $remove_8(this$static.deselectionBatch, handle);
+ $add_7(this$static.selectionBatch, handle);
+ }
+ return true;
+ }
+ return false;
+}
+
+function SelectionModelMulti(){
+ this.selectionBatch = new LinkedHashSet;
+ this.deselectionBatch = new LinkedHashSet;
+ this.grid = null;
+ this.renderer = null;
+ this.selectedRows_0 = new LinkedHashSet;
+}
+
+defineClass(105, 566, {111:1, 148:1, 105:1}, SelectionModelMulti);
+_.getSelectedRows_0 = function(){
+ return $getSelectedRows(this);
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return this.renderer;
+}
+;
+_.isSelected = function(row){
+ return $isSelectedByHandle(this, this.grid.dataSource_0.getHandle(row));
+}
+;
+_.reset_1 = function(){
+ $deselectAll(this);
+}
+;
+_.setGrid = function(grid){
+ if (!!this.grid && !!grid) {
+ throw new IllegalStateException_0('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.');
+ }
+ this.grid = grid;
+ if (this.grid) {
+ this.spaceSelectHandler = new SpaceSelectHandler(grid);
+ this.renderer = new MultiSelectionRenderer(grid);
+ }
+ else {
+ $removeHandler_0(this.spaceSelectHandler);
+ this.spaceSelectHandler = null;
+ this.renderer = null;
+ }
+}
+;
+_.batchStarted = false;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelMulti_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelMulti', 105, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function SelectionModelNone(){
+}
+
+defineClass(449, 566, {}, SelectionModelNone);
+_.getSelectedRows_0 = function(){
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_SET;
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return null;
+}
+;
+_.isSelected = function(row){
+ return false;
+}
+;
+_.reset_1 = function(){
+}
+;
+_.setGrid = function(grid){
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelNone_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelNone', 449, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function $deselect_0(this$static, row){
+ if (row == null) {
+ throw new IllegalArgumentException_0('Row cannot be null');
+ }
+ if (!!this$static.selectedRow_0 && this$static.selectedRow_0.equalsExplicit(this$static.grid.dataSource_0.getHandle(row))) {
+ $deselectByHandle_0(this$static, this$static.selectedRow_0);
+ $fireEvent_0(this$static.grid, new SelectionEvent(this$static.grid, null, row));
+ return true;
+ }
+ return false;
+}
+
+function $deselectByHandle_0(this$static, handle){
+ if (!!handle && handle.equalsExplicit(this$static.selectedRow_0)) {
+ this$static.selectedRow_0.unpin();
+ this$static.selectedRow_0 = null;
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+
+function $getSelectedRow(this$static){
+ return this$static.selectedRow_0?this$static.selectedRow_0.getRow_0():null;
+}
+
+function $select_3(this$static, row){
+ var removed;
+ if (row == null) {
+ throw new IllegalArgumentException_0('Row cannot be null');
+ }
+ removed = this$static.selectedRow_0?this$static.selectedRow_0.getRow_0():null;
+ if ($selectByHandle_0(this$static, this$static.grid.dataSource_0.getHandle(row))) {
+ $fireEvent_0(this$static.grid, new SelectionEvent(this$static.grid, row, removed));
+ return true;
+ }
+ return false;
+}
+
+function $selectByHandle_0(this$static, handle){
+ if (!!handle && !handle.equalsExplicit(this$static.selectedRow_0)) {
+ $deselectByHandle_0(this$static, this$static.selectedRow_0);
+ this$static.selectedRow_0 = handle;
+ this$static.selectedRow_0.pin();
+ return true;
+ }
+ else {
+ return false;
+ }
+}
+
+function SelectionModelSingle(){
+}
+
+defineClass(128, 566, {97:1, 128:1}, SelectionModelSingle);
+_.getSelectedRows_0 = function(){
+ if ((this.selectedRow_0?this.selectedRow_0.getRow_0():null) != null) {
+ return singleton_0(this.selectedRow_0?this.selectedRow_0.getRow_0():null);
+ }
+ return $clinit_Collections() , $clinit_Collections() , EMPTY_SET;
+}
+;
+_.getSelectionColumnRenderer = function(){
+ return null;
+}
+;
+_.isSelected = function(row){
+ return !!this.selectedRow_0 && this.selectedRow_0.equalsExplicit(this.grid.dataSource_0.getHandle(row));
+}
+;
+_.reset_1 = function(){
+ !!this.selectedRow_0 && $deselect_0(this, this.selectedRow_0?this.selectedRow_0.getRow_0():null);
+}
+;
+_.setGrid = function(grid){
+ if (!!this.grid && !!grid) {
+ throw new IllegalStateException_0('Selection model is already attached to a grid. Remove the selection model first from the grid and then add it.');
+ }
+ this.grid = grid;
+ if (this.grid) {
+ this.spaceSelectHandler = new SpaceSelectHandler(grid);
+ this.clickSelectHandler = new ClickSelectHandler(grid);
+ }
+ else {
+ $removeHandler_0(this.spaceSelectHandler);
+ $removeHandler(this.clickSelectHandler.clickHandler.real);
+ this.spaceSelectHandler = null;
+ this.clickSelectHandler = null;
+ }
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_SelectionModelSingle_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SelectionModelSingle', 128, Lcom_vaadin_client_widget_grid_selection_AbstractRowHandleSelectionModel_2_classLit);
+function $removeHandler_0(this$static){
+ $removeHandler(this$static.spaceDownHandler.real);
+ $removeHandler(this$static.spaceUpHandler.real);
+}
+
+function SpaceSelectHandler(grid){
+ this.grid = grid;
+ this.spaceDownHandler = $addBodyKeyDownHandler(grid, new SpaceSelectHandler$SpaceKeyDownHandler(this));
+ this.spaceUpHandler = $addBodyKeyUpHandler(grid, new SpaceSelectHandler$1(this));
+}
+
+defineClass(190, 1, {}, SpaceSelectHandler);
+_.spaceDown = false;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler', 190, Ljava_lang_Object_2_classLit);
+function SpaceSelectHandler$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(486, 1, {22:1, 197:1, 533:1, 592:1}, SpaceSelectHandler$1);
+_.onKeyUp = function(event_0){
+ $getKeyCode(event_0.nativeEvent) == 32 && (this.this$01.spaceDown = false);
+}
+;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/1', 486, Ljava_lang_Object_2_classLit);
+function $onKeyDown(this$static, event_0){
+ var rowIndex;
+ if ($getKeyCode(event_0.nativeEvent) != 32 || this$static.this$01.spaceDown) {
+ return;
+ }
+ $preventDefault(event_0.nativeEvent);
+ this$static.this$01.spaceDown = true;
+ rowIndex = event_0.targetCell.rowReference.rowIndex;
+ if (this$static.scrollHandler) {
+ $removeHandler(this$static.scrollHandler.real);
+ this$static.scrollHandler = null;
+ }
+ this$static.scrollHandler = $addDataAvailableHandler(this$static.this$01.grid, new SpaceSelectHandler$SpaceKeyDownHandler$1(this$static, rowIndex));
+ $scrollToRow_1(this$static.this$01.grid, rowIndex);
+}
+
+function $setSelected_0(grid, rowIndex){
+ var row;
+ row = grid.dataSource_0.getRow(rowIndex);
+ grid.selectionModel.isSelected(row)?$deselect_1(grid, row):$select_4(grid, row);
+}
+
+function SpaceSelectHandler$SpaceKeyDownHandler(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(484, 1, {22:1, 197:1, 588:1}, SpaceSelectHandler$SpaceKeyDownHandler);
+_.scrollHandler = null;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/SpaceKeyDownHandler', 484, Ljava_lang_Object_2_classLit);
+function SpaceSelectHandler$SpaceKeyDownHandler$1(this$1, val$rowIndex){
+ this.this$11 = this$1;
+ this.val$rowIndex2 = val$rowIndex;
+}
+
+defineClass(485, 1, $intern_43, SpaceSelectHandler$SpaceKeyDownHandler$1);
+_.onDataAvailable = function(dataAvailableEvent){
+ if ($contains_0(dataAvailableEvent.rowsAvailable, this.val$rowIndex2)) {
+ $setSelected_0(this.this$11.this$01.grid, this.val$rowIndex2);
+ $removeHandler(this.this$11.scrollHandler.real);
+ this.this$11.scrollHandler = null;
+ }
+}
+;
+_.val$rowIndex2 = 0;
+var Lcom_vaadin_client_widget_grid_selection_SpaceSelectHandler$SpaceKeyDownHandler$1_2_classLit = createForClass('com.vaadin.client.widget.grid.selection', 'SpaceSelectHandler/SpaceKeyDownHandler/1', 485, Ljava_lang_Object_2_classLit);
+function $clinit_Escalator(){
+ $clinit_Escalator = emptyMethod;
+ RATIO_OF_30_DEGREES = 1 / Math.sqrt(3);
+ RATIO_OF_40_DEGREES = Math.tan(0.6981317007977318);
+}
+
+function $applyHeightByRows(this$static){
+ var bodyHeight, footerHeight, headerHeight, scrollbar, totalHeight;
+ if (this$static.heightMode != ($clinit_HeightMode() , ROW)) {
+ return;
+ }
+ headerHeight = this$static.header.heightOfSection;
+ footerHeight = this$static.footer.heightOfSection;
+ bodyHeight = this$static.body_0.defaultRowHeight * this$static.heightByRows;
+ scrollbar = $showsScrollHandle(this$static.horizontalScrollbar)?$getScrollbarThickness(this$static.horizontalScrollbar):0;
+ totalHeight = headerHeight + bodyHeight + scrollbar + footerHeight;
+ $setHeightInternal(this$static, totalHeight + 'px');
+}
+
+function $detectAndApplyPositionFunction(this$static){
+ var docStyle;
+ if ($wnd.navigator.userAgent.indexOf('Firefox') != -1) {
+ this$static.position_0 = new PositionFunction$AbsolutePosition;
+ return;
+ }
+ docStyle = $doc.body.style;
+ hasProperty_0(docStyle, 'transform')?hasProperty_0(docStyle, 'transformStyle')?(this$static.position_0 = new PositionFunction$Translate3DPosition):(this$static.position_0 = new PositionFunction$TranslatePosition):hasProperty_0(docStyle, 'webkitTransform')?(this$static.position_0 = new PositionFunction$WebkitTranslate3DPosition):(this$static.position_0 = new PositionFunction$AbsolutePosition);
+}
+
+function $findRowContainer(this$static, element){
+ if (this$static.header.root != element && $isOrHasChild(this$static.header.root, element)) {
+ return this$static.header;
+ }
+ else if (this$static.body_0.root != element && $isOrHasChild(this$static.body_0.root, element)) {
+ return this$static.body_0;
+ }
+ else if (this$static.footer.root != element && $isOrHasChild(this$static.footer.root, element)) {
+ return this$static.footer;
+ }
+ return null;
+}
+
+function $fireRowVisibilityChangeEvent(this$static){
+ var visibleRangeEnd, visibleRangeStart, visibleRowCount;
+ if (this$static.body_0.visualRowOrder.size_0 == 0) {
+ $fireEvent_0(this$static, new RowVisibilityChangeEvent(0, 0));
+ }
+ else {
+ visibleRangeStart = $getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getFirst(this$static.body_0.visualRowOrder)));
+ visibleRangeEnd = $getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getLast(this$static.body_0.visualRowOrder))) + 1;
+ visibleRowCount = visibleRangeEnd - visibleRangeStart;
+ $fireEvent_0(this$static, new RowVisibilityChangeEvent(visibleRangeStart, visibleRowCount));
+ }
+}
+
+function $getVisibleRowRange(this$static){
+ return this$static.body_0.visualRowOrder.size_0 == 0?withLength(0, 0):withLength($getLogicalRowIndex_0(this$static.body_0, dynamicCastJso($getFirst(this$static.body_0.visualRowOrder))), this$static.body_0.visualRowOrder.size_0);
+}
+
+function $hasColumnAndRowData(this$static){
+ return (this$static.header.rows_0 > 0 || this$static.body_0.rows_0 > 0 || this$static.footer.rows_0 > 0) && this$static.columnConfiguration.columns.array.length > 0;
+}
+
+function $hasSomethingInDom(this$static){
+ return this$static.headElem.hasChildNodes() || this$static.bodyElem.hasChildNodes() || this$static.footElem.hasChildNodes();
+}
+
+function $recalculateElementSizes(this$static){
+ if (!this$static.attached) {
+ return;
+ }
+ this$static.widthOfEscalator = max_0(0, getRequiredWidthBoundingClientRectDouble(($clinit_DOM() , this$static.element)));
+ this$static.heightOfEscalator = max_0(0, getRequiredHeightBoundingClientRectDouble(this$static.element));
+ $recalculateSectionHeight(this$static.header);
+ $recalculateSectionHeight(this$static.footer);
+ $recalculateScrollbarsForVirtualViewport(this$static.scroller);
+ $verifyEscalatorCount(this$static.body_0);
+}
+
+function $scrollToColumn(this$static, columnIndex){
+ $verifyValidColumnIndex(this$static, columnIndex);
+ if (columnIndex < this$static.columnConfiguration.frozenColumns) {
+ throw new IllegalArgumentException_0('The given column index ' + columnIndex + ' is frozen.');
+ }
+ $scrollToColumn_0(this$static.scroller, columnIndex);
+}
+
+function $scrollToRow(this$static, rowIndex){
+ $verifyValidRowIndex(this$static, rowIndex);
+ $scrollToRow_0(this$static.scroller, rowIndex);
+}
+
+function $setHeight_1(this$static, height){
+ height != null && !!height.length?(this$static.heightByCss = height):(this$static.heightByCss = '400.0px');
+ this$static.heightMode == ($clinit_HeightMode() , CSS_0) && $setHeightInternal(this$static, height);
+}
+
+function $setHeightByRows(this$static, rows_0){
+ if (rows_0 <= 0) {
+ throw new IllegalArgumentException_0('The number of rows must be a positive number.');
+ }
+ else if (isInfinite(rows_0)) {
+ throw new IllegalArgumentException_0('The number of rows must be finite.');
+ }
+ else if (isNaN(rows_0)) {
+ throw new IllegalArgumentException_0('The number must not be NaN.');
+ }
+ this$static.heightByRows = rows_0;
+ $applyHeightByRows(this$static);
+}
+
+function $setHeightInternal(this$static, height){
+ var escalatorRowsBefore;
+ escalatorRowsBefore = this$static.body_0.visualRowOrder.size_0;
+ height != null && !!height.length?(($clinit_DOM() , this$static.element).style['height'] = height , undefined):(($clinit_DOM() , this$static.element).style['height'] = '400.0px' , undefined);
+ $recalculateElementSizes(this$static);
+ escalatorRowsBefore != this$static.body_0.visualRowOrder.size_0 && $fireRowVisibilityChangeEvent(this$static);
+}
+
+function $setHeightMode(this$static, heightMode){
+ if (heightMode != this$static.heightMode) {
+ this$static.heightMode = heightMode;
+ switch (this$static.heightMode.ordinal) {
+ case 0:
+ $setHeight_1(this$static, this$static.heightByCss);
+ break;
+ case 1:
+ $setHeightByRows(this$static, this$static.heightByRows);
+ break;
+ default:throw new IllegalStateException_0('Unimplemented feature - unknown HeightMode: ' + this$static.heightMode);
+ }
+ }
+}
+
+function $setScrollLeft_1(this$static, scrollLeft){
+ $setScrollPos(this$static.horizontalScrollbar, scrollLeft);
+}
+
+function $setScrollTop_0(this$static, scrollTop){
+ $setScrollPos(this$static.verticalScrollbar, scrollTop);
+}
+
+function $setStylePrimaryName_1(this$static, style){
+ setStylePrimaryName(($clinit_DOM() , this$static.element), style);
+ $setStylePrimaryName_0(this$static.verticalScrollbar, style);
+ $setStylePrimaryName(this$static.horizontalScrollbar, style);
+ setStylePrimaryName(this$static.tableWrapper, style + '-tablewrapper');
+ setStylePrimaryName(this$static.headerDeco, style + '-header-deco');
+ setStylePrimaryName(this$static.footerDeco, style + '-footer-deco');
+ setStylePrimaryName(this$static.horizontalScrollbarDeco, style + '-horizontal-scrollbar-deco');
+ $setStylePrimaryName_5(this$static.header, style);
+ $setStylePrimaryName_3(this$static.body_0, style);
+ $setStylePrimaryName_4(this$static.footer, style);
+}
+
+function $setWidth_1(this$static, width_0){
+ width_0 != null && !!width_0.length?(($clinit_DOM() , this$static.element).style['width'] = width_0 , undefined):(($clinit_DOM() , this$static.element).style['width'] = '500.0px' , undefined);
+ $recalculateElementSizes(this$static);
+}
+
+function $verifyValidColumnIndex(this$static, columnIndex){
+ if (columnIndex < 0 || columnIndex >= this$static.columnConfiguration.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given column index ' + columnIndex + ' does not exist.');
+ }
+}
+
+function $verifyValidRowIndex(this$static, rowIndex){
+ if (rowIndex < 0 || rowIndex >= this$static.body_0.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given row index ' + rowIndex + ' does not exist.');
+ }
+}
+
+function Escalator(){
+ $clinit_Escalator();
+ var fCornerStyle, hCornerStyle, hWrapperStyle, root, scrollHandler, table;
+ this.flyweightRow = new FlyweightRow;
+ this.headElem = ($clinit_DOM() , $createTHeadElement($doc));
+ this.bodyElem = $createTBodyElement($doc);
+ this.footElem = $createTFootElement($doc);
+ this.verticalScrollbar = new ScrollbarBundle$VerticalScrollbarBundle;
+ this.horizontalScrollbar = new ScrollbarBundle$HorizontalScrollbarBundle;
+ this.header = new Escalator$HeaderRowContainer(this, this.headElem);
+ this.body_0 = new Escalator$BodyRowContainer(this, this.bodyElem);
+ this.footer = new Escalator$FooterRowContainer(this, this.footElem);
+ this.scroller = new Escalator$Scroller(this);
+ this.columnConfiguration = new Escalator$ColumnConfigurationImpl(this);
+ this.horizontalScrollbarDeco = $createDivElement($doc);
+ this.headerDeco = $createDivElement($doc);
+ this.footerDeco = $createDivElement($doc);
+ this.heightMode = ($clinit_HeightMode() , CSS_0);
+ new Escalator$1(this);
+ this.columnAutoWidthAssignScheduler = new Escalator$ColumnAutoWidthAssignScheduler(this);
+ $detectAndApplyPositionFunction(this);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Escalator_2_classLit);
+ 'Using ' + $getSimpleName(this.position_0.___clazz$) + ' for position';
+ root = $createDivElement($doc);
+ $setElement_0(this, root);
+ scrollHandler = new Escalator$2(this);
+ $appendChild(root, this.verticalScrollbar.root);
+ $addScrollHandler(this.verticalScrollbar, scrollHandler);
+ $setScrollbarThickness(this.verticalScrollbar, getNativeScrollbarSize());
+ $appendChild(root, this.horizontalScrollbar.root);
+ $addScrollHandler(this.horizontalScrollbar, scrollHandler);
+ $setScrollbarThickness(this.horizontalScrollbar, getNativeScrollbarSize());
+ $addVisibilityHandler(this.horizontalScrollbar, new Escalator$3(this));
+ this.tableWrapper = $createDivElement($doc);
+ $appendChild(root, this.tableWrapper);
+ table = $createTableElement($doc);
+ $appendChild(this.tableWrapper, table);
+ $appendChild(table, this.headElem);
+ $appendChild(table, this.bodyElem);
+ $appendChild(table, this.footElem);
+ hCornerStyle = this.headerDeco.style;
+ hCornerStyle['width'] = getNativeScrollbarSize() + ($clinit_Style$Unit() , 'px');
+ $setPropertyImpl(hCornerStyle, 'display', ($clinit_Style$Display() , 'none'));
+ $appendChild(root, this.headerDeco);
+ fCornerStyle = this.footerDeco.style;
+ fCornerStyle['width'] = getNativeScrollbarSize() + 'px';
+ $setPropertyImpl(fCornerStyle, 'display', 'none');
+ $appendChild(root, this.footerDeco);
+ hWrapperStyle = this.horizontalScrollbarDeco.style;
+ $setPropertyImpl(hWrapperStyle, 'display', 'none');
+ hWrapperStyle['height'] = getNativeScrollbarSize() + 'px';
+ $appendChild(root, this.horizontalScrollbarDeco);
+ $setStylePrimaryName_1(this, 'v-escalator');
+ this.heightByCss = '400.0px';
+ this.heightMode == CSS_0 && $setHeightInternal(this, null);
+ this.element.style['width'] = '500.0px';
+ $recalculateElementSizes(this);
+}
+
+function getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, padding){
+ $clinit_Escalator();
+ var endScrollPos, startScrollPos, viewportLength;
+ viewportLength = viewportEndPx - viewportStartPx;
+ startScrollPos = targetStartPx - padding;
+ endScrollPos = targetEndPx + padding - viewportLength;
+ return startScrollPos < viewportStartPx?startScrollPos:targetEndPx + padding > viewportEndPx?endScrollPos:viewportStartPx;
+}
+
+function hasProperty_0(style, name_0){
+ return style[name_0] !== undefined;
+}
+
+function snapDeltas_0(deltaX, deltaY, thresholdRatio){
+ $clinit_Escalator();
+ var aDeltaX, aDeltaY, array, xRatio, yRatio;
+ array = initDim(D_classLit, {3: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;
+}
+
+defineClass(254, 17, $intern_25, Escalator);
+_.onLoad = function(){
+ var column, column$iterator, columnChanged, columnsChanged;
+ $autodetectRowHeightLater(this.header);
+ $autodetectRowHeightLater(this.body_0);
+ $autodetectRowHeightLater(this.footer);
+ $paintInsertStaticRows(this.header, 0, this.header.rows_0);
+ $paintInsertStaticRows(this.footer, 0, this.footer.rows_0);
+ $recalculateElementSizes(this);
+ columnsChanged = false;
+ for (column$iterator = new AbstractList$IteratorImpl(this.columnConfiguration.columns); column$iterator.i < column$iterator.this$01_0.size_2();) {
+ column = (checkCriticalElement(column$iterator.i < column$iterator.this$01_0.size_2()) , dynamicCast(column$iterator.this$01_0.get_0(column$iterator.last = column$iterator.i++), 54));
+ columnChanged = $measureAndSetWidthIfNeeded(column);
+ columnChanged && (columnsChanged = true);
+ }
+ if (columnsChanged) {
+ $reapplyColumnWidths(this.header);
+ $reapplyColumnWidths(this.body_0);
+ $reapplyColumnWidths(this.footer);
+ }
+ $attachScrollListener(this.scroller, this.verticalScrollbar.root);
+ $attachScrollListener(this.scroller, this.horizontalScrollbar.root);
+ $attachMousewheelListener(this.scroller, ($clinit_DOM() , this.element));
+ $attachTouchListeners(this.scroller, this.element);
+}
+;
+_.onUnload = function(){
+ var i_0, index_0, rowsToRemove, tr;
+ $detachScrollListener(this.scroller, this.verticalScrollbar.root);
+ $detachScrollListener(this.scroller, this.horizontalScrollbar.root);
+ $detachMousewheelListener(this.scroller, ($clinit_DOM() , this.element));
+ $detachTouchListeners(this.scroller, this.element);
+ $paintRemoveRows(this.header, 0, this.header.rows_0);
+ $paintRemoveRows(this.footer, 0, this.footer.rows_0);
+ rowsToRemove = this.bodyElem.childNodes.length;
+ for (i_0 = 0; i_0 < rowsToRemove; i_0++) {
+ index_0 = rowsToRemove - i_0 - 1;
+ tr = this.bodyElem.rows[index_0];
+ $paintRemoveRow(this.body_0, tr, index_0);
+ $removeRowPosition(this.body_0, tr);
+ }
+ $reset_0(this.body_0.visualRowOrder);
+ $setTopRowLogicalIndex(this.body_0, 0);
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_1(this, height);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_1(this, width_0);
+}
+;
+_.heightByCss = '';
+_.heightByRows = 10;
+_.heightOfEscalator = 0;
+_.tBodyScrollLeft = 0;
+_.tBodyScrollTop = 0;
+_.widthOfEscalator = 0;
+var RATIO_OF_30_DEGREES = 0, RATIO_OF_40_DEGREES = 0;
+var Lcom_vaadin_client_widgets_Escalator_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator', 254, Lcom_google_gwt_user_client_ui_Widget_2_classLit);
+function Escalator$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(268, 1, {}, Escalator$1);
+_.execute_1 = function(){
+ $recalculateElementSizes(this.this$01);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/1', 268, Ljava_lang_Object_2_classLit);
+function Escalator$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(269, 1, $intern_41, Escalator$2);
+_.onScroll = function(event_0){
+ $onScroll(this.this$01.scroller);
+ $fireEvent_0(this.this$01, new ScrollEvent);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$2_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/2', 269, Ljava_lang_Object_2_classLit);
+function Escalator$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(270, 1, {22:1, 589:1}, Escalator$3);
+var Lcom_vaadin_client_widgets_Escalator$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/3', 270, Ljava_lang_Object_2_classLit);
+function $assertArgumentsAreValidAndWithinRange(this$static, index_0, numberOfRows){
+ if (numberOfRows < 1) {
+ throw new IllegalArgumentException_0('Number of rows must be 1 or greater (was ' + numberOfRows + ')');
+ }
+ if (index_0 < 0 || index_0 + numberOfRows > this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given row range (' + index_0 + '..' + (index_0 + numberOfRows) + ') was outside of the current number of rows (' + this$static.rows_0 + ')');
+ }
+}
+
+function $autodetectRowHeightLater(this$static){
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), new Escalator$AbstractRowContainer$1(this$static));
+}
+
+function $autodetectRowHeightNow(this$static){
+ var boundingHeight, cellElem, detectionTr;
+ if (!this$static.this$01_1.attached) {
+ this$static.defaultRowHeightShouldBeAutodetected = true;
+ return;
+ }
+ detectionTr = ($clinit_DOM() , $createTRElement($doc));
+ $setClassName(detectionTr, this$static.primaryStyleName + '-row');
+ cellElem = createElement(this$static.getCellElementTagName());
+ $setClassName(cellElem, this$static.primaryStyleName + '-cell');
+ $setInnerText_0(($clinit_DOMImpl() , cellElem), 'Ij');
+ detectionTr.appendChild(cellElem);
+ $appendChild(this$static.root, detectionTr);
+ boundingHeight = getRequiredHeightBoundingClientRectDouble(cellElem);
+ this$static.defaultRowHeight = 1 > boundingHeight?1:boundingHeight;
+ $removeChild(this$static.root, detectionTr);
+ if (this$static.root.hasChildNodes()) {
+ this$static.reapplyDefaultRowHeights();
+ $applyHeightByRows(this$static.this$01_1);
+ }
+}
+
+function $calculateEstimatedTotalRowHeight(this$static){
+ return this$static.defaultRowHeight * this$static.rows_0;
+}
+
+function $createCellElement(this$static, width_0){
+ var cellElem, height;
+ cellElem = createElement(this$static.getCellElementTagName());
+ height = this$static.defaultRowHeight;
+ cellElem.style['height'] = height + ($clinit_Style$Unit() , 'px');
+ width_0 >= 0 && (cellElem.style['width'] = width_0 + 'px' , undefined);
+ $addClassName(cellElem, this$static.primaryStyleName + '-cell');
+ return cellElem;
+}
+
+function $getCell(this$static, element){
+ var cellElement, cellElementCandidate, domColumnIndex, domRowIndex, e, e0;
+ if (!element) {
+ throw new IllegalArgumentException_0('Element cannot be null');
+ }
+ if (this$static.root == element || $getParentElement_0(($clinit_DOMImpl() , element)) == this$static.root || !$isOrHasChild(this$static.root, element)) {
+ return null;
+ }
+ cellElementCandidate = element;
+ while ($getParentElement($getParentElement_0(($clinit_DOMImpl() , cellElementCandidate))) != this$static.root) {
+ cellElementCandidate = $getParentElement_0(cellElementCandidate);
+ }
+ cellElement = cellElementCandidate;
+ domColumnIndex = -1;
+ for (e0 = cellElement; e0; e0 = $getPreviousSiblingElement(e0)) {
+ ++domColumnIndex;
+ }
+ domRowIndex = -1;
+ for (e = $getParentElement_0(cellElement); e; e = $getPreviousSiblingElement(e)) {
+ ++domRowIndex;
+ }
+ return new Cell(domRowIndex, domColumnIndex, cellElement);
+}
+
+function $getMaxCellWidth(this$static, colIndex){
+ var cellClone, cellOriginal, maxCellWidth, requiredWidth, row, rowElement, rows_0, cellHasColspan, cellIsHidden;
+ maxCellWidth = -1;
+ rows_0 = this$static.root.rows;
+ for (row = 0; row < rows_0.length; row++) {
+ rowElement = rows_0[row];
+ cellOriginal = rowElement.cells[colIndex];
+ if (cellHasColspan = cellOriginal.colSpan > 1 , cellIsHidden = $equals_2(($clinit_Style$Display() , 'none'), $getDisplay(cellOriginal.style)) , cellHasColspan || cellIsHidden) {
+ continue;
+ }
+ cellClone = cellOriginal.cloneNode(true);
+ $setPropertyImpl(cellClone.style, 'height', '');
+ $setPropertyImpl(cellClone.style, 'width', '');
+ rowElement.insertBefore(cellClone, cellOriginal);
+ requiredWidth = getRequiredWidthBoundingClientRectDouble(cellClone);
+ $isIE9(($clinit_BrowserInfo() , !instance_2 && (instance_2 = new BrowserInfo) , $clinit_BrowserInfo() , instance_2)) && (requiredWidth += 1);
+ maxCellWidth = requiredWidth > maxCellWidth?requiredWidth:maxCellWidth;
+ $removeFromParent(cellClone);
+ }
+ return maxCellWidth;
+}
+
+function $getRowTop(this$static, tr){
+ return dynamicCast(this$static.rowTopPositionMap.get_1(tr), 15).value_0;
+}
+
+function $insertAfterReferenceAndUpdateIt(parent_0, elem, referenceNode){
+ referenceNode?$insertAfter(parent_0, elem, referenceNode):$insertBefore(parent_0, elem, parent_0.firstChild);
+ return elem;
+}
+
+function $insertRows(this$static, index_0, numberOfRows){
+ if (index_0 < 0 || index_0 > this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('The given index (' + index_0 + ') was outside of the current number of rows (0..' + this$static.rows_0 + ')');
+ }
+ if (numberOfRows < 1) {
+ throw new IllegalArgumentException_0('Number of rows must be 1 or greater (was ' + numberOfRows + ')');
+ }
+ this$static.rows_0 += numberOfRows;
+ if (this$static.this$01_1.attached) {
+ this$static.paintInsertRows(index_0, numberOfRows);
+ this$static.rows_0 == numberOfRows && $reschedule_0(this$static.this$01_1.columnAutoWidthAssignScheduler);
+ }
+}
+
+function $paintInsertCells(this$static, tr, logicalRowIndex, offset){
+ var cell, cell$iterator, cell$iterator0, cellElem, cells_0, colWidth, referenceCell;
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ cells_0 = new FlyweightRow$2(this$static.this$01_1.flyweightRow, offset);
+ for (cell$iterator0 = new FlyweightRow$CellIterator(new AbstractList$SubList(cells_0.this$01.cells_0, cells_0.val$offset2, cells_0.val$offset2 + cells_0.val$numberOfCells3), false); cell$iterator0.cursor_0 + cell$iterator0.skipNext < cell$iterator0.cells_0.array.length;) {
+ cell = $next_1(cell$iterator0);
+ colWidth = $getColumnWidthActual(this$static.this$01_1.columnConfiguration, cell.column);
+ cellElem = $createCellElement(this$static, colWidth);
+ cell.element = cellElem;
+ }
+ this$static.updater.preAttach(this$static.this$01_1.flyweightRow, cells_0);
+ offset != 0?(referenceCell = tr.childNodes[offset - 1]):(referenceCell = null);
+ for (cell$iterator = new FlyweightRow$CellIterator(new AbstractList$SubList(cells_0.this$01.cells_0, cells_0.val$offset2, cells_0.val$offset2 + cells_0.val$numberOfCells3), false); cell$iterator.cursor_0 + cell$iterator.skipNext < cell$iterator.cells_0.array.length;) {
+ cell = $next_1(cell$iterator);
+ referenceCell = $insertAfterReferenceAndUpdateIt(tr, cell.element, referenceCell);
+ }
+ this$static.updater.postAttach(this$static.this$01_1.flyweightRow, cells_0);
+ this$static.updater.update(this$static.this$01_1.flyweightRow, cells_0);
+}
+
+function $paintInsertColumns(this$static, offset, frozen){
+ var col, row, tr;
+ for (row = 0; row < this$static.root.childNodes.length; row++) {
+ tr = this$static.getTrByVisualIndex(row);
+ $paintInsertCells(this$static, tr, row, offset);
+ }
+ $reapplyRowWidths(this$static);
+ if (frozen) {
+ for (col = offset; col < offset + 1; col++) {
+ $setColumnFrozen(this$static, col, true);
+ }
+ }
+}
+
+function $paintInsertRow(this$static, referenceRow, tr, logicalRowIndex){
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ this$static.updater.preAttach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ referenceRow = $insertAfterReferenceAndUpdateIt(this$static.root, tr, referenceRow);
+ this$static.updater.postAttach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ this$static.updater.update(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ return referenceRow;
+}
+
+function $paintInsertStaticRows(this$static, visualIndex, numberOfRows){
+ var addedRows, cellElem, col, colWidth, referenceRow, row, tr;
+ addedRows = new ArrayList;
+ if (numberOfRows < 1) {
+ return addedRows;
+ }
+ this$static.root.childNodes.length != 0 && visualIndex != 0?(referenceRow = $getChild(this$static.root, visualIndex - 1)):(referenceRow = null);
+ for (row = visualIndex; row < visualIndex + numberOfRows; row++) {
+ tr = ($clinit_DOM() , $createTRElement($doc));
+ setCheck(addedRows.array, addedRows.array.length, tr);
+ $addClassName(tr, this$static.primaryStyleName + '-row');
+ for (col = 0; col < this$static.this$01_1.columnConfiguration.columns.array.length; col++) {
+ colWidth = $getColumnWidthActual(this$static.this$01_1.columnConfiguration, col);
+ cellElem = $createCellElement(this$static, colWidth);
+ tr.appendChild(cellElem);
+ if (col < this$static.this$01_1.columnConfiguration.frozenColumns) {
+ $addClassName(cellElem, 'frozen');
+ this$static.this$01_1.position_0.set_1(cellElem, this$static.this$01_1.scroller.lastScrollLeft, 0);
+ }
+ }
+ referenceRow = $paintInsertRow(this$static, referenceRow, tr, row);
+ }
+ $reapplyRowWidths(this$static);
+ this$static.recalculateSectionHeight();
+ return addedRows;
+}
+
+function $paintRemoveColumns(this$static, offset){
+ var attachedCells, detachedCells, i_0, j, row;
+ for (i_0 = 0; i_0 < this$static.root.childNodes.length; i_0++) {
+ row = this$static.getTrByVisualIndex(i_0);
+ $setup_0(this$static.this$01_1.flyweightRow, row, i_0, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ attachedCells = new FlyweightRow$1(this$static.this$01_1.flyweightRow, offset, 1);
+ this$static.updater.preDetach(this$static.this$01_1.flyweightRow, attachedCells);
+ for (j = 0; j < 1; j++) {
+ $removeFromParent(row.cells[offset]);
+ }
+ detachedCells = new FlyweightRow$2(this$static.this$01_1.flyweightRow, offset);
+ this$static.updater.postDetach(this$static.this$01_1.flyweightRow, detachedCells);
+ }
+}
+
+function $paintRemoveRow(this$static, tr, logicalRowIndex){
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ this$static.updater.preDetach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+ $removeFromParent(tr);
+ this$static.updater.postDetach(this$static.this$01_1.flyweightRow, $getCells(this$static.this$01_1.flyweightRow));
+}
+
+function $reapplyColumnWidths(this$static){
+ var cell, columnIndex, row, width_0, colspan, spannedColumns;
+ row = $getFirstChildElement(this$static.root);
+ while (row) {
+ cell = $getFirstChildElement_0(($clinit_DOMImpl() , row));
+ columnIndex = 0;
+ while (cell) {
+ width_0 = (colspan = $getPropertyInt(cell, 'colSpan') , spannedColumns = withLength(columnIndex, colspan) , spannedColumns.end > this$static.this$01_1.columnConfiguration.columns.array.length && (spannedColumns = new Range_0(columnIndex, this$static.this$01_1.columnConfiguration.columns.array.length)) , $getCalculatedColumnsWidth(this$static.this$01_1.columnConfiguration, spannedColumns));
+ cell.style['width'] = width_0 + ($clinit_Style$Unit() , 'px');
+ cell = $getNextSiblingElement(cell);
+ ++columnIndex;
+ }
+ row = $getNextSiblingElement(row);
+ }
+ $reapplyRowWidths(this$static);
+}
+
+function $reapplyRowHeight(tr, heightPx){
+ var cellElem;
+ cellElem = $getFirstChildElement_0(($clinit_DOMImpl() , tr));
+ while (cellElem) {
+ cellElem.style['height'] = heightPx + ($clinit_Style$Unit() , 'px');
+ cellElem = $getNextSiblingElement(cellElem);
+ }
+}
+
+function $reapplyRowWidths(this$static){
+ var row, rowWidth;
+ rowWidth = $calculateRowWidth(this$static.this$01_1.columnConfiguration);
+ row = $getFirstChildElement(this$static.root);
+ while (row) {
+ rowWidth >= 0 && (row.style['width'] = rowWidth + ($clinit_Style$Unit() , 'px') , undefined);
+ row = $getNextSiblingElement(($clinit_DOMImpl() , row));
+ }
+}
+
+function $refreshRow(this$static, tr, logicalRowIndex, colRange){
+ var cellsToUpdate;
+ $setup_0(this$static.this$01_1.flyweightRow, tr, logicalRowIndex, $getCalculatedColumnWidths(this$static.this$01_1.columnConfiguration));
+ cellsToUpdate = new FlyweightRow$1(this$static.this$01_1.flyweightRow, colRange.start_0, colRange.end - colRange.start_0);
+ this$static.updater.update(this$static.this$01_1.flyweightRow, cellsToUpdate);
+}
+
+function $refreshRows(this$static, index_0, numberOfRows){
+ var colRange, rowRange;
+ rowRange = withLength(index_0, numberOfRows);
+ colRange = withLength(0, this$static.this$01_1.columnConfiguration.columns.array.length);
+ this$static.refreshCells(rowRange, colRange);
+}
+
+function $removeRowPosition(this$static, tr){
+ this$static.rowTopPositionMap.remove_2(tr);
+}
+
+function $removeRows(this$static, index_0, numberOfRows){
+ $assertArgumentsAreValidAndWithinRange(this$static, index_0, numberOfRows);
+ this$static.rows_0 -= numberOfRows;
+ if (!this$static.this$01_1.attached) {
+ return;
+ }
+ $hasSomethingInDom(this$static.this$01_1) && this$static.paintRemoveRows(index_0, numberOfRows);
+}
+
+function $setColumnFrozen(this$static, column, frozen){
+ var cell, childRows, row, tr;
+ childRows = this$static.root.rows;
+ for (row = 0; row < childRows.length; row++) {
+ tr = childRows[row];
+ cell = tr.cells[column];
+ if (frozen) {
+ $addClassName(cell, 'frozen');
+ }
+ else {
+ $removeClassName(cell, 'frozen');
+ this$static.this$01_1.position_0.reset_0(cell);
+ }
+ }
+ frozen && $updateFreezePosition(this$static, column, this$static.this$01_1.scroller.lastScrollLeft);
+}
+
+function $setEscalatorUpdater(this$static, escalatorUpdater){
+ this$static.updater = escalatorUpdater;
+ $hasColumnAndRowData(this$static.this$01_1) && this$static.rows_0 > 0 && $refreshRows(this$static, 0, this$static.rows_0);
+}
+
+function $setRowPosition(this$static, tr, y_0){
+ this$static.this$01_1.position_0.set_1(tr, 0, y_0);
+ this$static.rowTopPositionMap.put(tr, new Double(y_0));
+}
+
+function $setStylePrimaryName_2(this$static, primaryStyleName){
+ var cell, oldStyle, row;
+ oldStyle = this$static.primaryStyleName;
+ if (equals(oldStyle, primaryStyleName)) {
+ return;
+ }
+ this$static.primaryStyleName = primaryStyleName;
+ row = this$static.root.rows[0];
+ while (row) {
+ setStylePrimaryName(row, primaryStyleName + '-row');
+ cell = row.cells[0];
+ while (cell) {
+ setStylePrimaryName(cell, primaryStyleName + '-cell');
+ cell = $getNextSiblingElement(($clinit_DOMImpl() , cell));
+ }
+ row = $getNextSiblingElement(($clinit_DOMImpl() , row));
+ }
+}
+
+function $updateFreezePosition(this$static, column, scrollLeft){
+ var cell, childRows, row, tr;
+ childRows = this$static.root.rows;
+ for (row = 0; row < childRows.length; row++) {
+ tr = childRows[row];
+ cell = tr.cells[column];
+ this$static.this$01_1.position_0.set_1(cell, scrollLeft, 0);
+ }
+}
+
+function Escalator$AbstractRowContainer(this$0, rowContainerElement){
+ this.this$01_1 = this$0;
+ this.updater = ($clinit_EscalatorUpdater() , NULL);
+ this.rowTopPositionMap = new HashMap;
+ this.root = rowContainerElement;
+}
+
+defineClass(158, 1, {});
+_.autodetectRowHeightLater = function(){
+ $autodetectRowHeightLater(this);
+}
+;
+_.getCell = function(element){
+ return $getCell(this, element);
+}
+;
+_.getRowCount_0 = function(){
+ return this.rows_0;
+}
+;
+_.getRowElement = function(index_0){
+ return this.getTrByVisualIndex(index_0);
+}
+;
+_.refreshRows = function(index_0, numberOfRows){
+ $refreshRows(this, index_0, numberOfRows);
+}
+;
+_.defaultRowHeight = 20;
+_.defaultRowHeightShouldBeAutodetected = true;
+_.heightOfSection = 0;
+_.primaryStyleName = null;
+_.rows_0 = 0;
+var Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractRowContainer', 158, Ljava_lang_Object_2_classLit);
+function Escalator$AbstractRowContainer$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(266, 1, {}, Escalator$AbstractRowContainer$1);
+_.execute_1 = function(){
+ if (this.this$11.defaultRowHeightShouldBeAutodetected && this.this$11.this$01_1.attached) {
+ $autodetectRowHeightNow(this.this$11);
+ this.this$11.defaultRowHeightShouldBeAutodetected = false;
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractRowContainer/1', 266, Ljava_lang_Object_2_classLit);
+function $getTrByVisualIndex(this$static, index_0){
+ if (index_0 >= 0 && index_0 < this$static.root.childNodes.length) {
+ return this$static.root.rows[index_0];
+ }
+ else {
+ throw new IndexOutOfBoundsException_0('No such visual index: ' + index_0);
+ }
+}
+
+function $paintRemoveRows(this$static, index_0, numberOfRows){
+ var i_0, tr;
+ for (i_0 = index_0; i_0 < index_0 + numberOfRows; i_0++) {
+ tr = this$static.root.rows[index_0];
+ $paintRemoveRow(this$static, tr, index_0);
+ }
+ $recalculateSectionHeight(this$static);
+}
+
+function $recalculateSectionHeight(this$static){
+ var newHeight;
+ newHeight = this$static.defaultRowHeight * this$static.rows_0;
+ if (newHeight != this$static.heightOfSection) {
+ this$static.heightOfSection = newHeight;
+ this$static.sectionHeightCalculated();
+ $verifyEscalatorCount(this$static.this$01_0.body_0);
+ }
+}
+
+function Escalator$AbstractStaticRowContainer(this$0, headElement){
+ this.this$01_0 = this$0;
+ Escalator$AbstractRowContainer.call(this, this$0, headElement);
+}
+
+defineClass(159, 158, {});
+_.getTrByVisualIndex = function(index_0){
+ return $getTrByVisualIndex(this, index_0);
+}
+;
+_.paintInsertRows = function(visualIndex, numberOfRows){
+ $paintInsertStaticRows(this, visualIndex, numberOfRows);
+}
+;
+_.paintRemoveRows = function(index_0, numberOfRows){
+ $paintRemoveRows(this, index_0, numberOfRows);
+}
+;
+_.reapplyDefaultRowHeights = function(){
+ var tr;
+ if (this.root.childNodes.length == 0) {
+ return;
+ }
+ tr = this.root.rows[0];
+ while (tr) {
+ $reapplyRowHeight(tr, this.defaultRowHeight);
+ tr = $getNextSiblingElement(($clinit_DOMImpl() , tr));
+ }
+ $recalculateSectionHeight(this);
+}
+;
+_.recalculateSectionHeight = function(){
+ $recalculateSectionHeight(this);
+}
+;
+_.refreshCells = function(logicalRowRange, colRange){
+ var row, tr;
+ $assertArgumentsAreValidAndWithinRange(this, logicalRowRange.start_0, logicalRowRange.end - logicalRowRange.start_0);
+ if (!this.this$01_0.attached) {
+ return;
+ }
+ if ($hasColumnAndRowData(this.this$01_0)) {
+ for (row = logicalRowRange.start_0; row < logicalRowRange.end; row++) {
+ tr = $getTrByVisualIndex(this, row);
+ $refreshRow(this, tr, row, colRange);
+ }
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/AbstractStaticRowContainer', 159, Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit);
+function $adjustScrollPosIgnoreEvents(this$static, yDelta){
+ var rowTopPos, tr, tr$iterator;
+ if (yDelta == 0) {
+ return;
+ }
+ $setScrollPosByDelta(this$static.this$01.verticalScrollbar, yDelta);
+ rowTopPos = yDelta - yDelta % this$static.defaultRowHeight;
+ for (tr$iterator = $listIterator(this$static.visualRowOrder, 0); tr$iterator.currentNode != tr$iterator.this$01.tail;) {
+ tr = (checkCriticalElement(tr$iterator.currentNode != tr$iterator.this$01.tail) , tr$iterator.lastNode = tr$iterator.currentNode , tr$iterator.currentNode = tr$iterator.currentNode.next , ++tr$iterator.currentIndex , dynamicCastJso(tr$iterator.lastNode.value_0));
+ $setRowPosition(this$static, tr, dynamicCast(this$static.rowTopPositionMap.get_1(tr), 15).value_0 + rowTopPos);
+ }
+ $setBodyScrollPosition(this$static, this$static.this$01.tBodyScrollLeft, this$static.this$01.tBodyScrollTop + yDelta);
+}
+
+function $calculateHeight(this$static){
+ var footerHeight, headerHeight, tableHeight;
+ tableHeight = (this$static.this$01.tableWrapper.offsetHeight || 0) | 0;
+ footerHeight = this$static.this$01.footer.heightOfSection;
+ headerHeight = this$static.this$01.header.heightOfSection;
+ return tableHeight - footerHeight - headerHeight;
+}
+
+function $convertToVisual(this$static, logicalRange){
+ var currentTopRowIndex, insideRange, maxEscalatorRows, partitions;
+ if (logicalRange.start_0 >= logicalRange.end) {
+ return logicalRange;
+ }
+ else if (this$static.visualRowOrder.size_0 == 0) {
+ return withLength(0, 0);
+ }
+ maxEscalatorRows = $getMaxEscalatorRowCapacity(this$static);
+ currentTopRowIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ partitions = $partitionWith(logicalRange, withLength(currentTopRowIndex, maxEscalatorRows));
+ insideRange = partitions[1];
+ return -currentTopRowIndex == 0?insideRange:new Range_0(insideRange.start_0 + -currentTopRowIndex, insideRange.end + -currentTopRowIndex);
+}
+
+function $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, numberOfRows){
+ var addedRows, escalatorRowsNeeded, escalatorRowsStillFit, i_0, i0, tr;
+ escalatorRowsStillFit = $getMaxEscalatorRowCapacity(this$static) - this$static.root.childNodes.length;
+ escalatorRowsNeeded = numberOfRows < escalatorRowsStillFit?numberOfRows:escalatorRowsStillFit;
+ if (escalatorRowsNeeded > 0) {
+ addedRows = $paintInsertStaticRows(this$static, index_0, escalatorRowsNeeded);
+ $addAll_1(this$static.visualRowOrder, index_0, addedRows);
+ for (i0 = 0; i0 < addedRows.array.length; i0++) {
+ $setRowPosition(this$static, (checkElementIndex(i0, addedRows.array.length) , dynamicCastJso(addedRows.array[i0])), (index_0 + i0) * this$static.defaultRowHeight);
+ }
+ for (i_0 = index_0 + addedRows.array.length; i_0 < this$static.visualRowOrder.size_0; i_0++) {
+ tr = dynamicCastJso($get_5(this$static.visualRowOrder, i_0));
+ $setRowPosition(this$static, tr, i_0 * this$static.defaultRowHeight);
+ }
+ return addedRows;
+ }
+ else {
+ return new ArrayList;
+ }
+}
+
+function $getEscalatorRowWithFocus(this$static){
+ var e, focusedElement, rowContainingFocus;
+ rowContainingFocus = null;
+ focusedElement = getFocusedElement();
+ if (!!focusedElement && $isOrHasChild(this$static.root, focusedElement)) {
+ e = focusedElement;
+ while (!!e && e != this$static.root) {
+ !!e && $equalsIgnoreCase('tr', ($clinit_DOMImpl() , e).tagName) && (rowContainingFocus = e);
+ e = $getParentElement_0(($clinit_DOMImpl() , e));
+ }
+ }
+ return rowContainingFocus;
+}
+
+function $getLogicalRowIndex_0(this$static, tr){
+ var internalIndex;
+ internalIndex = $indexOf_2(this$static.visualRowOrder, tr);
+ return this$static.topRowLogicalIndex + internalIndex;
+}
+
+function $getMaxEscalatorRowCapacity(this$static){
+ var maxEscalatorRowCapacity;
+ maxEscalatorRowCapacity = round_int(ceil_0($calculateHeight(this$static) / this$static.defaultRowHeight)) + 1;
+ return 0 > maxEscalatorRowCapacity?0:maxEscalatorRowCapacity;
+}
+
+function $getRowElement(this$static, index_0){
+ var visualIndex;
+ if (index_0 < 0 || index_0 >= this$static.rows_0) {
+ throw new IndexOutOfBoundsException_0('No such logical index: ' + index_0);
+ }
+ visualIndex = index_0 - $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ if (visualIndex >= 0 && visualIndex < this$static.visualRowOrder.size_0) {
+ return $getTrByVisualIndex_0(this$static, visualIndex);
+ }
+ else {
+ throw new IllegalStateException_0('Row with logical index ' + index_0 + ' is currently not available in the DOM');
+ }
+}
+
+function $getTrByVisualIndex_0(this$static, index_0){
+ if (index_0 >= 0 && index_0 < this$static.visualRowOrder.size_0) {
+ return dynamicCastJso($get_5(this$static.visualRowOrder, index_0));
+ }
+ else {
+ throw new IndexOutOfBoundsException_0('No such visual index: ' + index_0);
+ }
+}
+
+function $moveAndUpdateEscalatorRows(this$static, visualSourceRange, visualTargetIndex, logicalTargetIndex){
+ var adjustedVisualTargetIndex, i_0, iter, logicalEndIndex, logicalIndex, newRowTop, removedRows, tr;
+ if (visualSourceRange.start_0 >= visualSourceRange.end) {
+ return;
+ }
+ if (visualSourceRange.start_0 < 0) {
+ throw new IllegalArgumentException_0('Logical source start must be 0 or greater (was ' + visualSourceRange.start_0 + ')');
+ }
+ else if (logicalTargetIndex < 0) {
+ throw new IllegalArgumentException_0('Logical target must be 0 or greater');
+ }
+ else if (visualTargetIndex < 0) {
+ throw new IllegalArgumentException_0('Visual target must be 0 or greater');
+ }
+ else if (visualTargetIndex > this$static.root.childNodes.length) {
+ throw new IllegalArgumentException_0('Visual target must not be greater than the number of escalator rows');
+ }
+ else if (logicalTargetIndex + (visualSourceRange.end - visualSourceRange.start_0) > this$static.rows_0) {
+ logicalEndIndex = logicalTargetIndex + (visualSourceRange.end - visualSourceRange.start_0) - 1;
+ throw new IllegalArgumentException_0('Logical target leads to rows outside of the data range (' + logicalTargetIndex + '..' + logicalEndIndex + ')');
+ }
+ visualSourceRange.start_0 < visualTargetIndex?(adjustedVisualTargetIndex = visualTargetIndex - (visualSourceRange.end - visualSourceRange.start_0)):(adjustedVisualTargetIndex = visualTargetIndex);
+ if (visualSourceRange.start_0 != adjustedVisualTargetIndex) {
+ removedRows = new ArrayList_0(visualSourceRange.end - visualSourceRange.start_0);
+ for (i_0 = 0; i_0 < visualSourceRange.end - visualSourceRange.start_0; i_0++) {
+ tr = dynamicCastJso($remove_5(this$static.visualRowOrder, visualSourceRange.start_0));
+ setCheck(removedRows.array, removedRows.array.length, tr);
+ }
+ $addAll_1(this$static.visualRowOrder, adjustedVisualTargetIndex, removedRows);
+ }
+ iter = $listIterator(this$static.visualRowOrder, adjustedVisualTargetIndex);
+ for (logicalIndex = logicalTargetIndex; logicalIndex < logicalTargetIndex + (visualSourceRange.end - visualSourceRange.start_0); logicalIndex++) {
+ tr = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ $refreshRow(this$static, tr, logicalIndex, withLength(0, this$static.this$01_1.columnConfiguration.columns.array.length));
+ }
+ newRowTop = logicalTargetIndex * this$static.defaultRowHeight;
+ iter = $listIterator(this$static.visualRowOrder, adjustedVisualTargetIndex);
+ for (i_0 = 0; i_0 < visualSourceRange.end - visualSourceRange.start_0; i_0++) {
+ tr = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, newRowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(newRowTop));
+ newRowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $paintRemoveRowsAtBottom(this$static, removedLogicalInside, removedVisualInside){
+ var iterator, logicalTargetIndex, rowTop, tr;
+ logicalTargetIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder))) - (removedVisualInside.end - removedVisualInside.start_0);
+ $moveAndUpdateEscalatorRows(this$static, removedVisualInside, 0, logicalTargetIndex);
+ iterator = $listIterator(this$static.visualRowOrder, removedVisualInside.end);
+ rowTop = removedLogicalInside.start_0 * this$static.defaultRowHeight;
+ while (iterator.currentNode != iterator.this$01.tail) {
+ tr = (checkCriticalElement(iterator.currentNode != iterator.this$01.tail) , iterator.lastNode = iterator.currentNode , iterator.currentNode = iterator.currentNode.next , ++iterator.currentIndex , dynamicCastJso(iterator.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $paintRemoveRowsAtMiddle(this$static, removedLogicalInside, removedVisualInside){
+ var escalatorRowCount, i_0, iterator, logicalTargetIndex, rowTop, tr;
+ escalatorRowCount = this$static.visualRowOrder.size_0;
+ logicalTargetIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) - (removedVisualInside.end - removedVisualInside.start_0 - 1);
+ $moveAndUpdateEscalatorRows(this$static, removedVisualInside, escalatorRowCount, logicalTargetIndex);
+ iterator = $listIterator(this$static.visualRowOrder, removedVisualInside.start_0);
+ rowTop = removedLogicalInside.start_0 * this$static.defaultRowHeight;
+ for (i_0 = removedVisualInside.start_0; i_0 < escalatorRowCount - (removedVisualInside.end - removedVisualInside.start_0); i_0++) {
+ tr = (checkCriticalElement(iterator.currentNode != iterator.this$01.tail) , iterator.lastNode = iterator.currentNode , iterator.currentNode = iterator.currentNode.next , ++iterator.currentIndex , dynamicCastJso(iterator.lastNode.value_0));
+ this$static.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this$static.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this$static.defaultRowHeight;
+ }
+}
+
+function $setBodyScrollPosition(this$static, scrollLeft, scrollTop){
+ this$static.this$01.tBodyScrollLeft = scrollLeft;
+ this$static.this$01.tBodyScrollTop = scrollTop;
+ this$static.this$01.position_0.set_1(this$static.this$01.bodyElem, -this$static.this$01.tBodyScrollLeft, -this$static.this$01.tBodyScrollTop);
+}
+
+function $setStylePrimaryName_3(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-body');
+}
+
+function $setTopRowLogicalIndex(this$static, topRowLogicalIndex){
+ loggingIsEnabled() && undefined;
+ this$static.topRowLogicalIndex = topRowLogicalIndex;
+}
+
+function $sortDomElements(this$static){
+ var focusedRow, i_0, insertFirst, tr;
+ focusedRow = $getEscalatorRowWithFocus(this$static);
+ insertFirst = !focusedRow;
+ i_0 = $listIterator(this$static.visualRowOrder, this$static.visualRowOrder.size_0);
+ while (i_0.currentNode.prev != i_0.this$01.header) {
+ tr = (checkCriticalElement(i_0.currentNode.prev != i_0.this$01.header) , i_0.lastNode = i_0.currentNode = i_0.currentNode.prev , --i_0.currentIndex , dynamicCastJso(i_0.lastNode.value_0));
+ tr == focusedRow?(insertFirst = true):insertFirst?$insertFirst(this$static.root, tr):$insertAfter(this$static.root, tr, focusedRow);
+ }
+}
+
+function $updateEscalatorRowsOnScroll(this$static){
+ var aRowWasLeftBehind, end, logicalRowIndex, maxLogicalIndex, naiveNewLogicalIndex, originalRowsToMove, rowsToMove, rowsWereMoved, scrollTop, start_0, strayRow, targetVisualIndex, topLogicalIndex, topRowPos, viewportOffset;
+ if (this$static.visualRowOrder.size_0 == 0) {
+ return;
+ }
+ rowsWereMoved = false;
+ topRowPos = $getRowTop(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ scrollTop = this$static.this$01.tBodyScrollTop;
+ viewportOffset = topRowPos - scrollTop;
+ if (viewportOffset > 0) {
+ originalRowsToMove = round_int(ceil_0(viewportOffset / this$static.defaultRowHeight));
+ rowsToMove = min_1(originalRowsToMove, this$static.root.childNodes.length);
+ end = this$static.root.childNodes.length;
+ start_0 = end - rowsToMove;
+ logicalRowIndex = round_int(scrollTop / this$static.defaultRowHeight);
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(start_0, end), 0, logicalRowIndex);
+ loggingIsEnabled() && undefined;
+ this$static.topRowLogicalIndex = logicalRowIndex;
+ rowsWereMoved = true;
+ }
+ else if (viewportOffset + this$static.defaultRowHeight <= 0) {
+ originalRowsToMove = round_int(abs_0(viewportOffset / this$static.defaultRowHeight));
+ rowsToMove = min_1(originalRowsToMove, this$static.root.childNodes.length);
+ rowsToMove < this$static.root.childNodes.length?(logicalRowIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1):(logicalRowIndex = round_int(scrollTop / this$static.defaultRowHeight));
+ targetVisualIndex = this$static.root.childNodes.length;
+ aRowWasLeftBehind = false;
+ if (logicalRowIndex + rowsToMove > this$static.rows_0) {
+ --rowsToMove;
+ aRowWasLeftBehind = true;
+ }
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(0, rowsToMove), targetVisualIndex, logicalRowIndex);
+ if (aRowWasLeftBehind) {
+ strayRow = new Range_0(0, 1);
+ topLogicalIndex = this$static.rows_0 - this$static.visualRowOrder.size_0;
+ $moveAndUpdateEscalatorRows(this$static, strayRow, 0, topLogicalIndex);
+ }
+ naiveNewLogicalIndex = this$static.topRowLogicalIndex + originalRowsToMove;
+ maxLogicalIndex = this$static.rows_0 - this$static.visualRowOrder.size_0;
+ loggingIsEnabled() && undefined;
+ this$static.topRowLogicalIndex = naiveNewLogicalIndex < maxLogicalIndex?naiveNewLogicalIndex:maxLogicalIndex;
+ rowsWereMoved = true;
+ }
+ if (rowsWereMoved) {
+ $fireRowVisibilityChangeEvent(this$static.this$01);
+ this$static.this$01.scroller.touchHandlerBundle.touches_0 == 0 && $reschedule(this$static.domSorter);
+ }
+}
+
+function $updateTopRowLogicalIndex(this$static, diff){
+ $setTopRowLogicalIndex(this$static, this$static.topRowLogicalIndex + diff);
+}
+
+function $verifyEscalatorCount(this$static){
+ var addedRows, contentWillFit, firstRowMinTop, firstRowTop, i_0, index_0, iter, last, maxEscalatorRows, neededEscalatorRows, neededEscalatorRowsDiff, newLogicalIndex, nextLastLogicalIndex, oldScrollTop;
+ if (!this$static.this$01.attached) {
+ return;
+ }
+ maxEscalatorRows = $getMaxEscalatorRowCapacity(this$static);
+ neededEscalatorRows = min_1(maxEscalatorRows, this$static.this$01.body_0.rows_0);
+ neededEscalatorRowsDiff = neededEscalatorRows - this$static.visualRowOrder.size_0;
+ if (neededEscalatorRowsDiff > 0) {
+ index_0 = this$static.visualRowOrder.size_0;
+ this$static.visualRowOrder.size_0 == 0?(nextLastLogicalIndex = 0):(nextLastLogicalIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1);
+ contentWillFit = nextLastLogicalIndex < this$static.rows_0 - neededEscalatorRowsDiff;
+ if (contentWillFit) {
+ addedRows = $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, neededEscalatorRowsDiff);
+ $moveAndUpdateEscalatorRows(this$static, withLength(index_0, addedRows.array.length), index_0, nextLastLogicalIndex);
+ }
+ else {
+ oldScrollTop = this$static.this$01.verticalScrollbar.scrollPos;
+ $setScrollTop_0(this$static.this$01, 0);
+ $onScroll(this$static.this$01.scroller);
+ $fillAndPopulateEscalatorRowsIfNeeded(this$static, index_0, neededEscalatorRowsDiff);
+ $setScrollTop_0(this$static.this$01, oldScrollTop);
+ $onScroll(this$static.this$01.scroller);
+ }
+ }
+ else if (neededEscalatorRowsDiff < 0) {
+ iter = $listIterator(this$static.visualRowOrder, this$static.visualRowOrder.size_0);
+ for (i_0 = 0; i_0 < -neededEscalatorRowsDiff; i_0++) {
+ last = (checkCriticalElement(iter.currentNode.prev != iter.this$01.header) , iter.lastNode = iter.currentNode = iter.currentNode.prev , --iter.currentIndex , dynamicCastJso(iter.lastNode.value_0));
+ $removeFromParent(last);
+ $remove_13(iter);
+ }
+ if (this$static.visualRowOrder.size_0 != 0) {
+ firstRowTop = $getRowTop(this$static, dynamicCastJso($getFirst(this$static.visualRowOrder)));
+ firstRowMinTop = this$static.this$01.tBodyScrollTop - this$static.defaultRowHeight;
+ if (firstRowTop < firstRowMinTop) {
+ newLogicalIndex = $getLogicalRowIndex_0(this$static, dynamicCastJso($getLast(this$static.visualRowOrder))) + 1;
+ $moveAndUpdateEscalatorRows(this$static, new Range_0(0, 1), this$static.visualRowOrder.size_0, newLogicalIndex);
+ }
+ }
+ }
+ neededEscalatorRowsDiff != 0 && $fireRowVisibilityChangeEvent(this$static.this$01);
+}
+
+function Escalator$BodyRowContainer(this$0, bodyElement){
+ this.this$01 = this$0;
+ Escalator$AbstractRowContainer.call(this, this$0, bodyElement);
+ this.visualRowOrder = new LinkedList;
+ this.topRowLogicalIndex = 0;
+ this.domSorter = new Escalator$BodyRowContainer$DeferredDomSorter(this);
+}
+
+defineClass(261, 158, {}, Escalator$BodyRowContainer);
+_.getCell = function(element){
+ var cell, rowElement;
+ cell = $getCell(this, element);
+ if (!cell) {
+ return null;
+ }
+ rowElement = $getParentElement(cell.element);
+ return new Cell($getLogicalRowIndex_0(this, rowElement), cell.column, cell.element);
+}
+;
+_.getCellElementTagName = function(){
+ return 'td';
+}
+;
+_.getRowElement = function(index_0){
+ return $getRowElement(this, index_0);
+}
+;
+_.getTrByVisualIndex = function(index_0){
+ return $getTrByVisualIndex_0(this, index_0);
+}
+;
+_.paintInsertRows = function(index_0, numberOfRows){
+ var addedRows, addedRowsAboveCurrentViewport, addedRowsBelowCurrentViewport, end, i_0, rowTop, rowsStillNeeded, start_0, tr, unupdatedLogicalStart, unupdatedVisual, visualOffset, visualTargetIndex, yDelta;
+ if (numberOfRows == 0) {
+ return;
+ }
+ addedRows = $fillAndPopulateEscalatorRowsIfNeeded(this, index_0, numberOfRows);
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+ addedRowsAboveCurrentViewport = index_0 * this.defaultRowHeight < this.this$01.verticalScrollbar.scrollPos;
+ addedRowsBelowCurrentViewport = index_0 * this.defaultRowHeight > this.this$01.verticalScrollbar.scrollPos + $calculateHeight(this);
+ if (addedRowsAboveCurrentViewport) {
+ yDelta = numberOfRows * this.defaultRowHeight;
+ $adjustScrollPosIgnoreEvents(this, yDelta);
+ $setTopRowLogicalIndex(this, this.topRowLogicalIndex + numberOfRows);
+ }
+ else if (addedRowsBelowCurrentViewport)
+ ;
+ else {
+ unupdatedLogicalStart = index_0 + addedRows.array.length;
+ visualOffset = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder)));
+ rowsStillNeeded = numberOfRows - addedRows.array.length;
+ unupdatedVisual = $convertToVisual(this, withLength(unupdatedLogicalStart, rowsStillNeeded));
+ end = this.root.childNodes.length;
+ start_0 = end - (unupdatedVisual.end - unupdatedVisual.start_0);
+ visualTargetIndex = unupdatedLogicalStart - visualOffset;
+ $moveAndUpdateEscalatorRows(this, new Range_0(start_0, end), visualTargetIndex, unupdatedLogicalStart);
+ rowTop = (unupdatedLogicalStart + (end - start_0)) * this.defaultRowHeight;
+ i_0 = $listIterator(this.visualRowOrder, visualTargetIndex + (end - start_0));
+ while (i_0.currentNode != i_0.this$01.tail) {
+ tr = (checkCriticalElement(i_0.currentNode != i_0.this$01.tail) , i_0.lastNode = i_0.currentNode , i_0.currentNode = i_0.currentNode.next , ++i_0.currentIndex , dynamicCastJso(i_0.lastNode.value_0));
+ this.this$01_1.position_0.set_1(tr, 0, rowTop);
+ this.rowTopPositionMap.put(tr, new Double(rowTop));
+ rowTop += this.defaultRowHeight;
+ }
+ $fireRowVisibilityChangeEvent(this.this$01);
+ $sortDomElements(this);
+ }
+}
+;
+_.paintRemoveRows = function(index_0, numberOfRows){
+ var allEscalatorRows, contentBottom, dirtyRowsStart, escalatorRowCount, escalatorRowsToRemove, firstLogicalRowHeight, firstVisualRowIsRemoved, i_0, 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 = $getVisibleRowRange(this.this$01);
+ removedRowsRange = withLength(index_0, numberOfRows);
+ partitions = $partitionWith(removedRowsRange, viewportRange);
+ removedAbove = partitions[0];
+ removedLogicalInside = partitions[1];
+ removedVisualInside = $convertToVisual(this, removedLogicalInside);
+ firstVisualRowIsRemoved = removedVisualInside.start_0 < removedVisualInside.end && removedVisualInside.start_0 == 0;
+ if (removedAbove.start_0 < removedAbove.end || firstVisualRowIsRemoved) {
+ yDelta = (removedAbove.end - removedAbove.start_0) * this.defaultRowHeight;
+ firstLogicalRowHeight = this.defaultRowHeight;
+ removalScrollsToShowFirstLogicalRow = this.this$01.verticalScrollbar.scrollPos - yDelta < firstLogicalRowHeight;
+ removedVisualInside.start_0 >= removedVisualInside.end && (!removalScrollsToShowFirstLogicalRow || !firstVisualRowIsRemoved)?$adjustScrollPosIgnoreEvents(this, -yDelta):removalScrollsToShowFirstLogicalRow && $adjustScrollPosIgnoreEvents(this, -this.this$01.verticalScrollbar.scrollPos);
+ }
+ if (removedVisualInside.start_0 < removedVisualInside.end) {
+ escalatorRowCount = this.this$01.bodyElem.childNodes.length;
+ rowsLeft = this.rows_0;
+ if (rowsLeft < escalatorRowCount) {
+ escalatorRowsToRemove = escalatorRowCount - rowsLeft;
+ for (i0 = 0; i0 < escalatorRowsToRemove; i0++) {
+ tr = dynamicCastJso($remove_5(this.visualRowOrder, removedVisualInside.start_0));
+ $paintRemoveRow(this, tr, index_0);
+ this.rowTopPositionMap.remove_2(tr);
+ }
+ escalatorRowCount -= escalatorRowsToRemove;
+ $setBodyScrollPosition(this.this$01.body_0, this.this$01.tBodyScrollLeft, 0);
+ dirtyRowsStart = removedLogicalInside.start_0;
+ for (i1 = dirtyRowsStart; i1 < escalatorRowCount; i1++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i1));
+ $setRowPosition(this, tr, i1 * this.defaultRowHeight);
+ }
+ rowsToUpdateDataOn = numberOfRows - escalatorRowsToRemove;
+ start_0 = 0 > escalatorRowCount - rowsToUpdateDataOn?0:escalatorRowCount - rowsToUpdateDataOn;
+ for (i_0 = start_0; i_0 < escalatorRowCount; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $refreshRow(this, tr, i_0, withLength(0, this.this$01_1.columnConfiguration.columns.array.length));
+ }
+ }
+ else {
+ contentBottom = this.rows_0 * this.defaultRowHeight;
+ viewportBottom = this.this$01.tBodyScrollTop + $calculateHeight(this);
+ if (viewportBottom <= contentBottom) {
+ $paintRemoveRowsAtMiddle(this, removedLogicalInside, removedVisualInside);
+ }
+ else if (removedVisualInside.start_0 <= 0 && 0 < removedVisualInside.end && numberOfRows >= this.visualRowOrder.size_0) {
+ left = this.this$01.horizontalScrollbar.scrollPos;
+ top_0 = contentBottom - this.visualRowOrder.size_0 * this.defaultRowHeight;
+ $setBodyScrollPosition(this, left, top_0);
+ allEscalatorRows = withLength(0, this.visualRowOrder.size_0);
+ logicalTargetIndex = this.rows_0 - (allEscalatorRows.end - allEscalatorRows.start_0);
+ $moveAndUpdateEscalatorRows(this, allEscalatorRows, 0, logicalTargetIndex);
+ }
+ else if (contentBottom + numberOfRows * this.defaultRowHeight - viewportBottom < this.defaultRowHeight) {
+ $paintRemoveRowsAtBottom(this, removedLogicalInside, removedVisualInside);
+ $updateTopRowLogicalIndex(this, -(removedLogicalInside.end - removedLogicalInside.start_0));
+ }
+ else {
+ newTop = $getRowTop(this, dynamicCastJso($get_5(this.visualRowOrder, removedVisualInside.start_0)));
+ for (i0 = 0; i0 < removedVisualInside.end - removedVisualInside.start_0; i0++) {
+ tr = dynamicCastJso($remove_5(this.visualRowOrder, removedVisualInside.start_0));
+ $addLast(this.visualRowOrder, tr);
+ }
+ for (i_0 = removedVisualInside.start_0; i_0 < escalatorRowCount; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $setRowPosition(this, tr, round_int(newTop));
+ newTop += this.defaultRowHeight;
+ }
+ newScrollTop = contentBottom - $calculateHeight(this);
+ $setScrollTop_0(this.this$01, newScrollTop);
+ $onScroll(this.this$01.scroller);
+ $moveAndUpdateEscalatorRows(this, new Range_0(escalatorRowCount - 1, escalatorRowCount - 1 + 1), 0, $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder))) - 1);
+ $setTopRowLogicalIndex(this, this.topRowLogicalIndex + -1);
+ rowsScrolled = round_int(ceil_0((viewportBottom - contentBottom) / this.defaultRowHeight));
+ start_0 = escalatorRowCount - (removedVisualInside.end - removedVisualInside.start_0 - rowsScrolled);
+ visualRefreshRange = new Range_0(start_0, escalatorRowCount);
+ logicalTargetIndex = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder))) + start_0;
+ $moveAndUpdateEscalatorRows(this, visualRefreshRange, start_0, logicalTargetIndex);
+ }
+ }
+ $fireRowVisibilityChangeEvent(this.this$01);
+ $sortDomElements(this);
+ }
+ $updateTopRowLogicalIndex(this, -(removedAbove.end - removedAbove.start_0));
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+}
+;
+_.reapplyDefaultRowHeights = function(){
+ var i_0, logicalIndex, logicalLogical, scrollRatio, tr;
+ if (this.visualRowOrder.size_0 == 0) {
+ return;
+ }
+ for (i_0 = 0; i_0 < this.visualRowOrder.size_0; i_0++) {
+ tr = dynamicCastJso($get_5(this.visualRowOrder, i_0));
+ $reapplyRowHeight(tr, this.defaultRowHeight);
+ logicalIndex = this.topRowLogicalIndex + i_0;
+ $setRowPosition(this, tr, logicalIndex * this.defaultRowHeight);
+ }
+ scrollRatio = this.this$01.verticalScrollbar.scrollPos / parseCssDimensionToPixels($getProperty(this.this$01.verticalScrollbar.scrollSizeElement.style, 'height'));
+ $recalculateScrollbarsForVirtualViewport(this.this$01.scroller);
+ $setScrollPos(this.this$01.verticalScrollbar, round_int(this.defaultRowHeight * this.rows_0 * scrollRatio));
+ $setBodyScrollPosition(this, this.this$01.horizontalScrollbar.scrollPos, this.this$01.verticalScrollbar.scrollPos);
+ $onScroll(this.this$01.scroller);
+ $verifyEscalatorCount(this);
+ logicalLogical = round_int($getRowTop(this, dynamicCastJso($getFirst(this.visualRowOrder))) / this.defaultRowHeight);
+ loggingIsEnabled() && undefined;
+ this.topRowLogicalIndex = logicalLogical;
+}
+;
+_.recalculateSectionHeight = function(){
+}
+;
+_.refreshCells = function(logicalRowRange, colRange){
+ var firstLogicalRowIndex, rowNumber, visualRange;
+ visualRange = $convertToVisual(this, logicalRowRange);
+ if (visualRange.start_0 < visualRange.end) {
+ firstLogicalRowIndex = $getLogicalRowIndex_0(this, dynamicCastJso($getFirst(this.visualRowOrder)));
+ for (rowNumber = visualRange.start_0; rowNumber < visualRange.end; rowNumber++) {
+ $refreshRow(this, dynamicCastJso($get_5(this.visualRowOrder, rowNumber)), firstLogicalRowIndex + rowNumber, colRange);
+ }
+ }
+}
+;
+_.topRowLogicalIndex = 0;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer', 261, Lcom_vaadin_client_widgets_Escalator$AbstractRowContainer_2_classLit);
+function $reschedule(this$static){
+ $resetConditions(this$static);
+ this$static.animationHandle = (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this$static.frameCounter, null);
+}
+
+function $resetConditions(this$static){
+ if (this$static.animationHandle) {
+ this$static.animationHandle.cancel();
+ this$static.animationHandle = null;
+ }
+ this$static.startTime = now_1();
+ this$static.framesPassed = 0;
+}
+
+function $sortIfConditionsMet(this$static){
+ var conditionsMet, enoughFramesHavePassed, enoughTimeHasPassed;
+ enoughFramesHavePassed = this$static.framesPassed >= 3;
+ enoughTimeHasPassed = now_1() - this$static.startTime >= 50;
+ conditionsMet = enoughFramesHavePassed && enoughTimeHasPassed;
+ if (conditionsMet) {
+ $resetConditions(this$static);
+ $sortDomElements(this$static.this$11);
+ }
+ return conditionsMet;
+}
+
+function Escalator$BodyRowContainer$DeferredDomSorter(this$1){
+ this.this$11 = this$1;
+ this.frameCounter = new Escalator$BodyRowContainer$DeferredDomSorter$1(this);
+}
+
+defineClass(262, 1, {}, Escalator$BodyRowContainer$DeferredDomSorter);
+_.framesPassed = 0;
+_.startTime = 0;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer/DeferredDomSorter', 262, Ljava_lang_Object_2_classLit);
+function Escalator$BodyRowContainer$DeferredDomSorter$1(this$2){
+ this.this$21 = this$2;
+}
+
+defineClass(267, 1, {}, Escalator$BodyRowContainer$DeferredDomSorter$1);
+_.execute = function(timestamp){
+ var domWasSorted;
+ ++this.this$21.framesPassed;
+ domWasSorted = $sortIfConditionsMet(this.this$21);
+ domWasSorted || (this.this$21.animationHandle = (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this, null));
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$BodyRowContainer$DeferredDomSorter$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/BodyRowContainer/DeferredDomSorter/1', 267, Ljava_lang_Object_2_classLit);
+function $reschedule_0(this$static){
+ if (!this$static.isScheduled) {
+ this$static.isScheduled = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), this$static.widthCommand);
+ }
+}
+
+function Escalator$ColumnAutoWidthAssignScheduler(this$0){
+ this.this$01 = this$0;
+ this.widthCommand = new Escalator$ColumnAutoWidthAssignScheduler$1(this);
+}
+
+defineClass(258, 1, {}, Escalator$ColumnAutoWidthAssignScheduler);
+_.isScheduled = false;
+var Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnAutoWidthAssignScheduler', 258, Ljava_lang_Object_2_classLit);
+function Escalator$ColumnAutoWidthAssignScheduler$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(265, 1, {}, Escalator$ColumnAutoWidthAssignScheduler$1);
+_.execute_1 = function(){
+ var cc, col, column;
+ if (!this.this$11.isScheduled) {
+ return;
+ }
+ this.this$11.isScheduled = false;
+ cc = this.this$11.this$01.columnConfiguration;
+ for (col = 0; col < cc.columns.array.length; col++) {
+ column = dynamicCast($get_6(cc.columns, col), 54);
+ if (!column.widthHasBeenFinalized) {
+ $setColumnWidth(cc, col, -1);
+ column.this$11.this$01.columnAutoWidthAssignScheduler.isScheduled = false;
+ column.widthHasBeenFinalized = true;
+ }
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$ColumnAutoWidthAssignScheduler$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnAutoWidthAssignScheduler/1', 265, Ljava_lang_Object_2_classLit);
+function $assertArgumentsAreValidAndWithinRange_0(this$static, index_0){
+ if (index_0 < 0 || index_0 + 1 > this$static.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given column range (' + index_0 + '..' + (index_0 + 1) + ') was outside of the current ' + 'number of columns (' + this$static.columns.array.length + ')');
+ }
+}
+
+function $calculateRowWidth(this$static){
+ return $getCalculatedColumnsWidth(this$static, new Range_0(0, this$static.columns.array.length));
+}
+
+function $checkValidColumnIndex(this$static, index_0){
+ if (!$contains_0(withLength(0, this$static.columns.array.length), index_0)) {
+ throw new IllegalArgumentException_0('The given column index (' + index_0 + ') does not exist');
+ }
+}
+
+function $getCalculatedColumnWidths(this$static){
+ var i_0;
+ if (this$static.widthsArray == null || this$static.widthsArray.length != this$static.columns.array.length) {
+ this$static.widthsArray = initDim(D_classLit, {3:1}, 0, this$static.columns.array.length, 7, 1);
+ for (i_0 = 0; i_0 < this$static.columns.array.length; i_0++) {
+ this$static.widthsArray[i_0] = $getCalculatedWidth(dynamicCast($get_6(this$static.columns, i_0), 54));
+ }
+ }
+ return this$static.widthsArray;
+}
+
+function $getCalculatedColumnsWidth(this$static, columns){
+ var columnWidthActual, i_0, sum;
+ sum = 0;
+ for (i_0 = columns.start_0; i_0 < columns.end; i_0++) {
+ columnWidthActual = $getCalculatedWidth(dynamicCast($get_6(this$static.columns, i_0), 54));
+ sum += columnWidthActual;
+ }
+ return sum;
+}
+
+function $getColumnWidthActual(this$static, index_0){
+ return $getCalculatedWidth(dynamicCast($get_6(this$static.columns, index_0), 54));
+}
+
+function $getMaxCellWidth_0(this$static, colIndex){
+ var bodyWidth, footerWidth, headerWidth, maxWidth;
+ headerWidth = $getMaxCellWidth(this$static.this$01.header, colIndex);
+ bodyWidth = $getMaxCellWidth(this$static.this$01.body_0, colIndex);
+ footerWidth = $getMaxCellWidth(this$static.this$01.footer, colIndex);
+ maxWidth = headerWidth > (bodyWidth > footerWidth?bodyWidth:footerWidth)?headerWidth:bodyWidth > footerWidth?bodyWidth:footerWidth;
+ return maxWidth;
+}
+
+function $insertColumns(this$static, index_0){
+ var col, columnsWereAddedToTheLeftOfViewport, frozen, i_0, insertedColumnsWidth, pixelsToInsertedColumn, scrollbarIsNowNeeded, scrollbarWasNeeded;
+ if (index_0 < 0 || index_0 > this$static.columns.array.length) {
+ throw new IndexOutOfBoundsException_0('The given index(' + index_0 + ') was outside of the current number of columns (0..' + this$static.columns.array.length + ')');
+ }
+ $addCells(this$static.this$01.flyweightRow, index_0);
+ for (i_0 = 0; i_0 < 1; i_0++) {
+ $add_5(this$static.columns, index_0, new Escalator$ColumnConfigurationImpl$Column(this$static));
+ }
+ frozen = index_0 < this$static.frozenColumns;
+ frozen && (this$static.frozenColumns += 1);
+ scrollbarWasNeeded = parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) < parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'));
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+ scrollbarIsNowNeeded = parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) < parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'));
+ !scrollbarWasNeeded && scrollbarIsNowNeeded && $verifyEscalatorCount(this$static.this$01.body_0);
+ $paintInsertColumns(this$static.this$01.header, index_0, frozen);
+ $paintInsertColumns(this$static.this$01.body_0, index_0, frozen);
+ $paintInsertColumns(this$static.this$01.footer, index_0, frozen);
+ if (this$static.this$01.header.rows_0 > 0 || this$static.this$01.body_0.rows_0 > 0 || this$static.this$01.footer.rows_0 > 0) {
+ for (col = index_0; col < index_0 + 1; col++) {
+ $setColumnWidth(this$static.this$01.columnConfiguration, col, -1);
+ $widthIsFinalized(dynamicCast($get_6(this$static.this$01.columnConfiguration.columns, col), 54));
+ }
+ }
+ pixelsToInsertedColumn = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, index_0));
+ columnsWereAddedToTheLeftOfViewport = this$static.this$01.scroller.lastScrollLeft > pixelsToInsertedColumn;
+ if (columnsWereAddedToTheLeftOfViewport) {
+ insertedColumnsWidth = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(index_0, 1));
+ $setScrollPos(this$static.this$01.horizontalScrollbar, this$static.this$01.scroller.lastScrollLeft + insertedColumnsWidth);
+ }
+}
+
+function $reapplyRowWidths_0(container){
+ container.rows_0 > 0 && $reapplyRowWidths(container);
+}
+
+function $removeColumns(this$static, index_0){
+ $assertArgumentsAreValidAndWithinRange_0(this$static, index_0);
+ $removeColumnsAdjustScrollbar(this$static, index_0);
+ $paintRemoveColumns(this$static.this$01.header, index_0);
+ $paintRemoveColumns(this$static.this$01.body_0, index_0);
+ $paintRemoveColumns(this$static.this$01.footer, index_0);
+ $removeCells(this$static.this$01.flyweightRow, index_0);
+ $clear_0(new AbstractList$SubList(this$static.columns, index_0, index_0 + 1));
+ index_0 < this$static.frozenColumns && (index_0 + 1 < this$static.frozenColumns?(this$static.frozenColumns -= 1):(this$static.frozenColumns = index_0));
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+ $verifyEscalatorCount(this$static.this$01.body_0);
+ if (this$static.this$01.columnConfiguration.columns.array.length > 0) {
+ $reapplyRowWidths_0(this$static.this$01.header);
+ $reapplyRowWidths_0(this$static.this$01.body_0);
+ $reapplyRowWidths_0(this$static.this$01.footer);
+ }
+}
+
+function $removeColumnsAdjustScrollbar(this$static, index_0){
+ var adjustedScrollLeft, leftPosOfFirstColumnToRemove, scrollLeft, widthOfColumnsToRemove;
+ if (parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.root.style, 'width')) >= parseCssDimensionToPixels($getProperty(this$static.this$01.horizontalScrollbar.scrollSizeElement.style, 'width'))) {
+ return;
+ }
+ leftPosOfFirstColumnToRemove = $getCalculatedColumnsWidth(this$static, new Range_0(0, index_0));
+ widthOfColumnsToRemove = $getCalculatedColumnsWidth(this$static, withLength(index_0, 1));
+ scrollLeft = this$static.this$01.horizontalScrollbar.scrollPos;
+ if (scrollLeft <= leftPosOfFirstColumnToRemove) {
+ return;
+ }
+ adjustedScrollLeft = leftPosOfFirstColumnToRemove > scrollLeft - widthOfColumnsToRemove?leftPosOfFirstColumnToRemove:scrollLeft - widthOfColumnsToRemove;
+ $setScrollPos(this$static.this$01.horizontalScrollbar, adjustedScrollLeft);
+}
+
+function $setColumnWidth(this$static, index_0, px){
+ $checkValidColumnIndex(this$static, index_0);
+ $setWidth_2(dynamicCast($get_6(this$static.columns, index_0), 54), px);
+ $widthIsFinalized(dynamicCast($get_6(this$static.columns, index_0), 54));
+ this$static.widthsArray = null;
+ $reapplyColumnWidths(this$static.this$01.header);
+ $reapplyColumnWidths(this$static.this$01.body_0);
+ $reapplyColumnWidths(this$static.this$01.footer);
+ $recalculateElementSizes(this$static.this$01);
+}
+
+function $setFrozenColumnCount(this$static, count){
+ var col, firstAffectedCol, firstUnaffectedCol, frozen, oldCount;
+ if (count < 0 || count > this$static.columns.array.length) {
+ throw new IllegalArgumentException_0('count must be between 0 and the current number of columns (' + this$static.columns.array.length + ')');
+ }
+ oldCount = this$static.frozenColumns;
+ if (count == oldCount) {
+ return;
+ }
+ this$static.frozenColumns = count;
+ if ($hasSomethingInDom(this$static.this$01)) {
+ frozen = count > oldCount;
+ if (frozen) {
+ firstAffectedCol = oldCount;
+ firstUnaffectedCol = count;
+ }
+ else {
+ firstAffectedCol = count;
+ firstUnaffectedCol = oldCount;
+ }
+ for (col = firstAffectedCol; col < firstUnaffectedCol; col++) {
+ $setColumnFrozen(this$static.this$01.header, col, frozen);
+ $setColumnFrozen(this$static.this$01.body_0, col, frozen);
+ $setColumnFrozen(this$static.this$01.footer, col, frozen);
+ }
+ }
+ $recalculateScrollbarsForVirtualViewport(this$static.this$01.scroller);
+}
+
+function Escalator$ColumnConfigurationImpl(this$0){
+ this.this$01 = this$0;
+ this.columns = new ArrayList;
+}
+
+defineClass(263, 1, {}, Escalator$ColumnConfigurationImpl);
+_.frozenColumns = 0;
+_.widthsArray = null;
+var Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnConfigurationImpl', 263, Ljava_lang_Object_2_classLit);
+function $getCalculatedWidth(this$static){
+ return this$static.measuringRequested?-1:this$static.calculatedWidth;
+}
+
+function $measureAndSetWidthIfNeeded(this$static){
+ if (this$static.measuringRequested) {
+ this$static.measuringRequested = false;
+ $setWidth_2(this$static, this$static.definedWidth);
+ return true;
+ }
+ return false;
+}
+
+function $setWidth_2(this$static, px){
+ this$static.definedWidth = px;
+ px < 0?this$static.this$11.this$01.attached?(this$static.calculatedWidth = $getMaxCellWidth_0(this$static.this$11, $indexOf_3(this$static.this$11.columns, this$static, 0))):(this$static.measuringRequested = true):(this$static.calculatedWidth = px);
+}
+
+function $widthIsFinalized(this$static){
+ this$static.this$11.this$01.columnAutoWidthAssignScheduler.isScheduled = false;
+ this$static.widthHasBeenFinalized = true;
+}
+
+function Escalator$ColumnConfigurationImpl$Column(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(54, 1, {54:1}, Escalator$ColumnConfigurationImpl$Column);
+_.calculatedWidth = 100;
+_.definedWidth = -1;
+_.measuringRequested = false;
+_.widthHasBeenFinalized = false;
+var Lcom_vaadin_client_widgets_Escalator$ColumnConfigurationImpl$Column_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/ColumnConfigurationImpl/Column', 54, Ljava_lang_Object_2_classLit);
+function Escalator$FlickScrollAnimator(this$0, deltaX, deltaY, lastTime){
+ var currentTimeMillis, snapDeltas;
+ this.this$01 = this$0;
+ currentTimeMillis = now_1();
+ this.velX = (deltaX / (currentTimeMillis - lastTime) < 7?deltaX / (currentTimeMillis - lastTime):7) > -7?deltaX / (currentTimeMillis - lastTime) < 7?deltaX / (currentTimeMillis - lastTime):7:-7;
+ this.velY = (deltaY / (currentTimeMillis - lastTime) < 7?deltaY / (currentTimeMillis - lastTime):7) > -7?deltaY / (currentTimeMillis - lastTime) < 7?deltaY / (currentTimeMillis - lastTime):7:-7;
+ this.lastLeft = this$0.horizontalScrollbar.scrollPos;
+ this.lastTop = this$0.verticalScrollbar.scrollPos;
+ snapDeltas = snapDeltas_0(this.velX, this.velY, ($clinit_Escalator() , RATIO_OF_30_DEGREES));
+ this.velX = snapDeltas[0];
+ this.velY = snapDeltas[1];
+ if (this.velX * this.velX + this.velY * this.velY > 0.005) {
+ this.millisLeft = 1500;
+ this.xFric = this.velX / this.millisLeft;
+ this.yFric = this.velY / this.millisLeft;
+ }
+ else {
+ this.millisLeft = 0;
+ }
+}
+
+defineClass(256, 1, {}, Escalator$FlickScrollAnimator);
+_.execute = function(doNotUseThisTimestamp){
+ var currentLeft, currentTop, left, timeDiff, timestamp, top_0;
+ if (this.millisLeft <= 0 || this.cancelled) {
+ this.this$01.scroller.currentFlickScroller = null;
+ return;
+ }
+ timestamp = now_1();
+ if (this.prevTime == 0) {
+ this.prevTime = timestamp;
+ (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this, null);
+ return;
+ }
+ currentLeft = this.this$01.horizontalScrollbar.scrollPos;
+ currentTop = this.this$01.verticalScrollbar.scrollPos;
+ timeDiff = timestamp - this.prevTime;
+ left = currentLeft - this.velX * timeDiff;
+ $setScrollLeft_1(this.this$01, left);
+ this.velX -= this.xFric * timeDiff;
+ top_0 = currentTop - this.velY * timeDiff;
+ $setScrollTop_0(this.this$01, top_0);
+ this.velY -= this.yFric * timeDiff;
+ this.lastLeft == this.this$01.horizontalScrollbar.scrollPos && this.lastTop == this.this$01.verticalScrollbar.scrollPos && (this.cancelled = true);
+ this.prevTime = timestamp;
+ this.millisLeft = round_int(this.millisLeft - timeDiff);
+ this.lastLeft = currentLeft;
+ this.lastTop = currentTop;
+ (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this, null);
+}
+;
+_.cancelled = false;
+_.lastLeft = 0;
+_.lastTop = 0;
+_.millisLeft = 0;
+_.prevTime = 0;
+_.velX = 0;
+_.velY = 0;
+_.xFric = 0;
+_.yFric = 0;
+var Lcom_vaadin_client_widgets_Escalator$FlickScrollAnimator_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/FlickScrollAnimator', 256, Ljava_lang_Object_2_classLit);
+function $setStylePrimaryName_4(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-footer');
+}
+
+function Escalator$FooterRowContainer(this$0, footElement){
+ this.this$01 = this$0;
+ Escalator$AbstractStaticRowContainer.call(this, this$0, footElement);
+}
+
+defineClass(260, 159, {}, Escalator$FooterRowContainer);
+_.getCellElementTagName = function(){
+ return 'td';
+}
+;
+_.sectionHeightCalculated = function(){
+ var horizontalScrollbarNeeded, vscrollHeight;
+ vscrollHeight = round_int(floor_0(this.this$01.heightOfEscalator - this.this$01.header.heightOfSection - this.this$01.footer.heightOfSection));
+ horizontalScrollbarNeeded = $calculateRowWidth(this.this$01.columnConfiguration) > this.this$01.widthOfEscalator;
+ horizontalScrollbarNeeded && (vscrollHeight = round_int(vscrollHeight - $getScrollbarThickness(this.this$01.horizontalScrollbar)));
+ this.this$01.footerDeco.style['height'] = this.this$01.footer.heightOfSection + ($clinit_Style$Unit() , 'px');
+ $setOffsetSize(this.this$01.verticalScrollbar, vscrollHeight);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$FooterRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/FooterRowContainer', 260, Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit);
+function $setStylePrimaryName_5(this$static, primaryStyleName){
+ $setStylePrimaryName_2(this$static, primaryStyleName);
+ setStylePrimaryName(this$static.root, primaryStyleName + '-header');
+}
+
+function Escalator$HeaderRowContainer(this$0, headElement){
+ this.this$01 = this$0;
+ Escalator$AbstractStaticRowContainer.call(this, this$0, headElement);
+}
+
+defineClass(259, 159, {}, Escalator$HeaderRowContainer);
+_.getCellElementTagName = function(){
+ return 'th';
+}
+;
+_.sectionHeightCalculated = function(){
+ this.this$01.bodyElem.style['marginTop'] = this.heightOfSection + ($clinit_Style$Unit() , 'px');
+ this.this$01.verticalScrollbar.root.style['top'] = this.heightOfSection + 'px';
+ this.this$01.headerDeco.style['height'] = this.heightOfSection + 'px';
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$HeaderRowContainer_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/HeaderRowContainer', 259, Lcom_vaadin_client_widgets_Escalator$AbstractStaticRowContainer_2_classLit);
+function moveScrollFromEvent(escalator, deltaX, deltaY, event_0){
+ var warrantedXScroll, warrantedYScroll;
+ isNaN(deltaX) || $setScrollPosByDelta(escalator.horizontalScrollbar, deltaX);
+ isNaN(deltaY) || $setScrollPosByDelta(escalator.verticalScrollbar, deltaY);
+ warrantedYScroll = deltaY != 0 && $showsScrollHandle(escalator.verticalScrollbar);
+ warrantedXScroll = deltaX != 0 && $showsScrollHandle(escalator.horizontalScrollbar);
+ (warrantedYScroll || warrantedXScroll) && $eventPreventDefault(($clinit_DOMImpl() , event_0));
+}
+
+function $getTouchEndHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchEnd(e);
+ }
+ );
+}
+
+function $getTouchMoveHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchMove(e);
+ }
+ );
+}
+
+function $getTouchStartHandler(this$static){
+ var self_0 = this$static;
+ return $entry(function(e){
+ self_0.touchStart(e);
+ }
+ );
+}
+
+function Escalator$JsniUtil$TouchHandlerBundle(escalator){
+ this.mover = new Escalator$JsniUtil$TouchHandlerBundle$1(this);
+ this.escalator = escalator;
+}
+
+defineClass(255, 1, {}, Escalator$JsniUtil$TouchHandlerBundle);
+_.touchEnd = function(event_0){
+ this.touches_0 = $getTouches(event_0).length;
+ if (this.touches_0 == 0) {
+ $handleFlickScroll(this.escalator.scroller, this.deltaX_0, this.deltaY_0, this.lastTime);
+ $reschedule(this.escalator.body_0.domSorter);
+ }
+}
+;
+_.touchMove = function(event_0){
+ var lastArg;
+ this.latestTouchMoveEvent = event_0;
+ !!this.animationHandle && this.animationHandle.cancel();
+ this.animationHandle = (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this.mover, this.escalator.bodyElem);
+ $preventDefault(event_0);
+ $execute_1((lastArg = this.mover , now_1() , lastArg));
+}
+;
+_.touchStart = function(event_0){
+ this.touches_0 = $getTouches(event_0).length;
+ if (this.touches_0 != 1) {
+ return;
+ }
+ $cancelFlickScroll(this.escalator.scroller);
+ this.lastX = $getPageX(event_0);
+ this.lastY = $getPageY(event_0);
+ this.snappedScrollEnabled = true;
+}
+;
+_.deltaX_0 = 0;
+_.deltaY_0 = 0;
+_.lastTime = 0;
+_.lastX = 0;
+_.lastY = 0;
+_.snappedScrollEnabled = true;
+_.touches_0 = 0;
+var Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/JsniUtil/TouchHandlerBundle', 255, Ljava_lang_Object_2_classLit);
+function $execute_1(this$static){
+ var oldDeltaX, oldDeltaY, snapped, x_0, y_0;
+ if (this$static.this$21.touches_0 != 1) {
+ return;
+ }
+ x_0 = $getPageX(this$static.this$21.latestTouchMoveEvent);
+ y_0 = $getPageY(this$static.this$21.latestTouchMoveEvent);
+ this$static.this$21.deltaX_0 = x_0 - this$static.this$21.lastX;
+ this$static.this$21.deltaY_0 = y_0 - this$static.this$21.lastY;
+ this$static.this$21.lastX = x_0;
+ this$static.this$21.lastY = y_0;
+ this$static.this$21.lastTime = now_1();
+ if (this$static.this$21.snappedScrollEnabled) {
+ oldDeltaX = this$static.this$21.deltaX_0;
+ oldDeltaY = this$static.this$21.deltaY_0;
+ snapped = snapDeltas_0(this$static.this$21.deltaX_0, this$static.this$21.deltaY_0, ($clinit_Escalator() , RATIO_OF_40_DEGREES));
+ this$static.this$21.deltaX_0 = snapped[0];
+ this$static.this$21.deltaY_0 = snapped[1];
+ oldDeltaX != 0 && this$static.this$21.deltaX_0 == oldDeltaX && oldDeltaY != 0 && this$static.this$21.deltaY_0 == oldDeltaY && (this$static.this$21.snappedScrollEnabled = false);
+ }
+ moveScrollFromEvent(this$static.this$21.escalator, -this$static.this$21.deltaX_0, -this$static.this$21.deltaY_0, this$static.this$21.latestTouchMoveEvent);
+}
+
+function Escalator$JsniUtil$TouchHandlerBundle$1(this$2){
+ this.this$21 = this$2;
+}
+
+defineClass(264, 1, {}, Escalator$JsniUtil$TouchHandlerBundle$1);
+_.execute = function(doNotUseThisTimestamp){
+ $execute_1(this);
+}
+;
+var Lcom_vaadin_client_widgets_Escalator$JsniUtil$TouchHandlerBundle$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/JsniUtil/TouchHandlerBundle/1', 264, Ljava_lang_Object_2_classLit);
+function $getPageX(this$static){
+ return this$static.targetTouches[0].pageX;
+}
+
+function $getPageY(this$static){
+ return this$static.targetTouches[0].pageY;
+}
+
+defineClass(253, 1, {});
+var Lcom_vaadin_client_widgets_JsniWorkaround_2_classLit = createForClass('com.vaadin.client.widgets', 'JsniWorkaround', 253, Ljava_lang_Object_2_classLit);
+function $attachMousewheelListener(this$static, element){
+ if (element.addEventListener) {
+ var eventName = element.onwheel === undefined?'mousewheel':'wheel';
+ element.addEventListener(eventName, this$static.mousewheelListenerFunction);
+ }
+ else {
+ element.attachEvent('onmousewheel', this$static.mousewheelListenerFunction);
+ }
+}
+
+function $attachScrollListener(this$static, element){
+ element.addEventListener?element.addEventListener('scroll', this$static.scrollListenerFunction):element.attachEvent('onscroll', this$static.scrollListenerFunction);
+}
+
+function $attachTouchListeners(this$static, element){
+ if (element.addEventListener) {
+ element.addEventListener('touchstart', this$static.touchStartFunction);
+ element.addEventListener('touchmove', this$static.touchMoveFunction);
+ element.addEventListener('touchend', this$static.touchEndFunction);
+ element.addEventListener('touchcancel', this$static.touchEndFunction);
+ }
+}
+
+function $cancelFlickScroll(this$static){
+ !!this$static.currentFlickScroller && (this$static.currentFlickScroller.cancelled = true);
+}
+
+function $createMousewheelListenerFunction(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);
+ moveScrollFromEvent(esc, deltaX, deltaY, e);
+ }
+ );
+}
+
+function $createScrollListenerFunction(esc){
+ var vScroll = esc.verticalScrollbar;
+ var vScrollElem = vScroll.getElement();
+ var hScroll = esc.horizontalScrollbar;
+ var hScrollElem = hScroll.getElement();
+ return $entry(function(e){
+ var target = e.target || e.srcElement;
+ target === vScrollElem?vScroll.updateScrollPosFromDom():target === hScrollElem?hScroll.updateScrollPosFromDom():$wnd.console.error('unexpected scroll target: ' + target);
+ }
+ );
+}
+
+function $detachMousewheelListener(this$static, element){
+ if (element.addEventListener) {
+ var eventName = element.onwheel === undefined?'mousewheel':'wheel';
+ element.removeEventListener(eventName, this$static.mousewheelListenerFunction);
+ }
+ else {
+ element.detachEvent('onmousewheel', this$static.mousewheelListenerFunction);
+ }
+}
+
+function $detachScrollListener(this$static, element){
+ element.addEventListener?element.removeEventListener('scroll', this$static.scrollListenerFunction):element.detachEvent('onscroll', this$static.scrollListenerFunction);
+}
+
+function $detachTouchListeners(this$static, element){
+ if (element.removeEventListener) {
+ element.removeEventListener('touchstart', this$static.touchStartFunction);
+ element.removeEventListener('touchmove', this$static.touchMoveFunction);
+ element.removeEventListener('touchend', this$static.touchEndFunction);
+ element.removeEventListener('touchcancel', this$static.touchEndFunction);
+ }
+}
+
+function $handleFlickScroll(this$static, deltaX, deltaY, lastTime){
+ this$static.currentFlickScroller = new Escalator$FlickScrollAnimator(this$static.this$01, deltaX, deltaY, lastTime);
+ (!instance_0 && (instance_0 = $isNativelySupported()?new AnimationSchedulerImplStandard:new AnimationSchedulerImplTimer) , instance_0).requestAnimationFrame_0(this$static.currentFlickScroller, null);
+}
+
+function $onScroll(this$static){
+ var i_0, scrollLeft, scrollTop;
+ scrollTop = this$static.this$01.verticalScrollbar.scrollPos;
+ scrollLeft = this$static.this$01.horizontalScrollbar.scrollPos;
+ if (this$static.lastScrollLeft != scrollLeft) {
+ for (i_0 = 0; i_0 < this$static.this$01.columnConfiguration.frozenColumns; i_0++) {
+ $updateFreezePosition(this$static.this$01.header, i_0, scrollLeft);
+ $updateFreezePosition(this$static.this$01.body_0, i_0, scrollLeft);
+ $updateFreezePosition(this$static.this$01.footer, i_0, scrollLeft);
+ }
+ this$static.this$01.position_0.set_1(this$static.this$01.headElem, -scrollLeft, 0);
+ instanceOf(this$static.this$01.position_0, 115)?(this$static.this$01.footElem.style['left'] = -scrollLeft + ($clinit_Style$Unit() , 'px') , undefined):this$static.this$01.position_0.set_1(this$static.this$01.footElem, -scrollLeft, 0);
+ this$static.lastScrollLeft = scrollLeft;
+ }
+ $setBodyScrollPosition(this$static.this$01.body_0, scrollLeft, scrollTop);
+ $updateEscalatorRowsOnScroll(this$static.this$01.body_0);
+}
+
+function $recalculateScrollbarsForVirtualViewport(this$static){
+ var fCornerStyle, frozenPixels, hCornerStyle, hScrollOffsetWidth, horizontalScrollNeeded, offset, prevScrollPos, scrollContentHeight, scrollContentWidth, tableWrapperHeight, tableWrapperWidth, unfrozenPixels, vScrollbarHeight, verticalScrollNeeded;
+ scrollContentHeight = $calculateEstimatedTotalRowHeight(this$static.this$01.body_0);
+ scrollContentWidth = $calculateRowWidth(this$static.this$01.columnConfiguration);
+ tableWrapperHeight = this$static.this$01.heightOfEscalator;
+ tableWrapperWidth = this$static.this$01.widthOfEscalator;
+ verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.this$01.header.heightOfSection - this$static.this$01.footer.heightOfSection;
+ horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth;
+ verticalScrollNeeded != horizontalScrollNeeded && (!verticalScrollNeeded && horizontalScrollNeeded?(verticalScrollNeeded = scrollContentHeight > tableWrapperHeight - this$static.this$01.header.heightOfSection - this$static.this$01.footer.heightOfSection - $getScrollbarThickness(this$static.this$01.horizontalScrollbar)):(horizontalScrollNeeded = scrollContentWidth > tableWrapperWidth - $getScrollbarThickness(this$static.this$01.verticalScrollbar)));
+ if (verticalScrollNeeded) {
+ tableWrapperWidth -= $getScrollbarThickness(this$static.this$01.verticalScrollbar);
+ tableWrapperWidth = 0 > tableWrapperWidth?0:tableWrapperWidth;
+ }
+ if (horizontalScrollNeeded) {
+ tableWrapperHeight -= $getScrollbarThickness(this$static.this$01.horizontalScrollbar);
+ tableWrapperHeight = 0 > tableWrapperHeight?0:tableWrapperHeight;
+ }
+ this$static.this$01.tableWrapper.style['height'] = tableWrapperHeight + ($clinit_Style$Unit() , 'px');
+ this$static.this$01.tableWrapper.style['width'] = tableWrapperWidth + 'px';
+ vScrollbarHeight = max_0(0, tableWrapperHeight - this$static.this$01.footer.heightOfSection - this$static.this$01.header.heightOfSection);
+ $setOffsetSize(this$static.this$01.verticalScrollbar, vScrollbarHeight);
+ $setScrollSize(this$static.this$01.verticalScrollbar, scrollContentHeight);
+ prevScrollPos = this$static.this$01.horizontalScrollbar.scrollPos;
+ unfrozenPixels = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, new Range_0(this$static.this$01.columnConfiguration.frozenColumns, this$static.this$01.columnConfiguration.columns.array.length));
+ frozenPixels = scrollContentWidth - unfrozenPixels;
+ hScrollOffsetWidth = tableWrapperWidth - frozenPixels;
+ $setOffsetSize(this$static.this$01.horizontalScrollbar, hScrollOffsetWidth);
+ $setScrollSize(this$static.this$01.horizontalScrollbar, unfrozenPixels);
+ this$static.this$01.horizontalScrollbar.root.style['left'] = frozenPixels + 'px';
+ $setScrollPos(this$static.this$01.horizontalScrollbar, prevScrollPos);
+ $showsScrollHandle(this$static.this$01.horizontalScrollbar)?$setPropertyImpl(this$static.this$01.horizontalScrollbarDeco.style, 'display', ''):(this$static.this$01.horizontalScrollbarDeco.style['display'] = ($clinit_Style$Display() , 'none') , undefined);
+ hCornerStyle = this$static.this$01.headerDeco.style;
+ fCornerStyle = this$static.this$01.footerDeco.style;
+ if ($showsScrollHandle(this$static.this$01.verticalScrollbar)) {
+ $setPropertyImpl(hCornerStyle, 'display', '');
+ $setPropertyImpl(fCornerStyle, 'display', '');
+ if ($showsScrollHandle(this$static.this$01.horizontalScrollbar)) {
+ offset = $getScrollbarThickness(this$static.this$01.horizontalScrollbar);
+ fCornerStyle['bottom'] = offset + 'px';
+ }
+ else {
+ $setPropertyImpl(fCornerStyle, 'bottom', '');
+ }
+ }
+ else {
+ $setPropertyImpl(hCornerStyle, 'display', ($clinit_Style$Display() , 'none'));
+ $setPropertyImpl(fCornerStyle, 'display', 'none');
+ }
+}
+
+function $scrollToColumn_0(this$static, columnIndex){
+ var frozenPixels, scrollLeft, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx;
+ frozenPixels = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, this$static.this$01.columnConfiguration.frozenColumns));
+ targetStartPx = $getCalculatedColumnsWidth(this$static.this$01.columnConfiguration, withLength(0, columnIndex)) - frozenPixels;
+ targetEndPx = targetStartPx + $getColumnWidthActual(this$static.this$01.columnConfiguration, columnIndex);
+ viewportStartPx = this$static.this$01.horizontalScrollbar.scrollPos;
+ viewportEndPx = viewportStartPx + getRequiredWidthBoundingClientRectDouble($getElement(this$static.this$01)) - frozenPixels;
+ $showsScrollHandle(this$static.this$01.verticalScrollbar) && (viewportEndPx -= getNativeScrollbarSize());
+ scrollLeft = getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 10);
+ $setScrollLeft_1(this$static.this$01, scrollLeft);
+}
+
+function $scrollToRow_0(this$static, rowIndex){
+ var scrollTop, targetEndPx, targetStartPx, viewportEndPx, viewportStartPx;
+ targetStartPx = this$static.this$01.body_0.defaultRowHeight * rowIndex;
+ targetEndPx = targetStartPx + this$static.this$01.body_0.defaultRowHeight;
+ viewportStartPx = this$static.this$01.verticalScrollbar.scrollPos;
+ viewportEndPx = viewportStartPx + $calculateHeight(this$static.this$01.body_0);
+ scrollTop = getScrollPos(targetStartPx, targetEndPx, viewportStartPx, viewportEndPx, 0);
+ $setScrollTop_0(this$static.this$01, scrollTop);
+}
+
+function Escalator$Scroller(this$0){
+ this.this$01 = this$0;
+ this.scrollListenerFunction = $createScrollListenerFunction(this$0);
+ this.mousewheelListenerFunction = $createMousewheelListenerFunction(this$0);
+ this.touchHandlerBundle = new Escalator$JsniUtil$TouchHandlerBundle(this$0);
+ this.touchStartFunction = $getTouchStartHandler(this.touchHandlerBundle);
+ this.touchMoveFunction = $getTouchMoveHandler(this.touchHandlerBundle);
+ this.touchEndFunction = $getTouchEndHandler(this.touchHandlerBundle);
+}
+
+defineClass(257, 253, {}, Escalator$Scroller);
+_.lastScrollLeft = 0;
+var Lcom_vaadin_client_widgets_Escalator$Scroller_2_classLit = createForClass('com.vaadin.client.widgets', 'Escalator/Scroller', 257, Lcom_vaadin_client_widgets_JsniWorkaround_2_classLit);
+function $addBodyClickHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.clickEvent.associatedType);
+}
+
+function $addBodyKeyDownHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyDown.associatedType);
+}
+
+function $addBodyKeyUpHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyUp.associatedType);
+}
+
+function $addColumn(this$static, column){
+ $addColumn_0(this$static, column, this$static.columns.array.length);
+ return column;
+}
+
+function $addColumn_0(this$static, column, index_0){
+ if (column == this$static.selectionColumn) {
+ throw new IllegalArgumentException_0('The selection column many not be added manually');
+ }
+ else if (!!this$static.selectionColumn && index_0 == 0) {
+ throw new IllegalStateException_0('A column cannot be inserted before the selection column');
+ }
+ $addColumnSkipSelectionColumnCheck(this$static, column, index_0);
+ return column;
+}
+
+function $addColumnSkipSelectionColumnCheck(this$static, column, index_0){
+ var events;
+ $add_5(this$static.columns, index_0, column);
+ $addColumn_1(this$static.header, column);
+ $addColumn_1(this$static.footer, column);
+ $setGrid(column, this$static);
+ $insertColumns(this$static.escalator.columnConfiguration, index_0);
+ column.setWidth_0(column.widthUser);
+ events = new HashSet;
+ events.addAll($getConsumedEventsForRenderer(column.bodyRenderer));
+ $sinkEvents_0(this$static, events);
+}
+
+function $addDataAvailableHandler(this$static, handler){
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$7(this$static, handler));
+ return $addHandler_0(this$static, handler, ($clinit_DataAvailableEvent() , TYPE_8));
+}
+
+function $addHeaderKeyUpHandler(this$static, handler){
+ return $addHandler_0(this$static, handler, this$static.keyUp.associatedType);
+}
+
+function $deselect_1(this$static, row){
+ if (instanceOf(this$static.selectionModel, 97)) {
+ return $deselect_0(dynamicCast(this$static.selectionModel, 97), row);
+ }
+ else if (instanceOf(this$static.selectionModel, 111)) {
+ return $deselect(dynamicCast(dynamicCast(this$static.selectionModel, 111), 105), new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [row])));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model');
+ }
+}
+
+function $findRenderer(this$static, cell){
+ var column;
+ column = $getColumn(this$static, cell.column);
+ return column.bodyRenderer;
+}
+
+function $getColumn(this$static, index_0){
+ if (index_0 < 0 || index_0 >= this$static.columns.array.length) {
+ throw new IllegalStateException_0('Column not found.');
+ }
+ return dynamicCast($get_6(this$static.columns, index_0), 33);
+}
+
+function $getConsumedEventsForRenderer(renderer){
+ var consumedEvents, events;
+ events = new HashSet;
+ if (instanceOf(renderer, 51)) {
+ consumedEvents = (dynamicCast(renderer, 51) , $getConsumedEvents());
+ events.addAll(consumedEvents);
+ }
+ return events;
+}
+
+function $getFirstVisibleRowIndex(this$static){
+ var firstRow, firstRowIndex, headerBottom;
+ firstRowIndex = $getVisibleRowRange(this$static.escalator).start_0;
+ headerBottom = $getAbsoluteBottom(this$static.escalator.header.root);
+ firstRow = $getRowElement(this$static.escalator.body_0, firstRowIndex);
+ while (($clinit_DOMImpl() , impl_0).getAbsoluteTop(firstRow) + ($getSubPixelOffsetHeight(firstRow) | 0) < headerBottom) {
+ firstRow = $getRowElement(this$static.escalator.body_0, ++firstRowIndex);
+ }
+ return firstRowIndex;
+}
+
+function $getHeaderRow(this$static, rowIndex){
+ return $getRow_0(this$static.header, rowIndex);
+}
+
+function $getLastVisibleRowIndex(this$static){
+ var footerTop, lastRow, lastRowIndex;
+ lastRowIndex = $getVisibleRowRange(this$static.escalator).end;
+ footerTop = $getAbsoluteTop(this$static.escalator.footer.root);
+ do {
+ lastRow = $getRowElement(this$static.escalator.body_0, --lastRowIndex);
+ }
+ while (($clinit_DOMImpl() , impl_0).getAbsoluteTop(lastRow) > footerTop);
+ return lastRowIndex;
+}
+
+function $getSelectedRow_0(this$static){
+ if (instanceOf(this$static.selectionModel, 97)) {
+ return $getSelectedRow(dynamicCast(this$static.selectionModel, 97));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model; can not get single selected row');
+ }
+}
+
+function $handleHeaderDefaultRowEvent(this$static, container){
+ if (container != this$static.escalator.header) {
+ return false;
+ }
+ if (!$getRow_0(this$static.header, this$static.eventCell.rowReference.rowIndex).isDefault) {
+ return false;
+ }
+ return false;
+}
+
+function $handleNavigationEvent(this$static, event_0){
+ var container, firstIndex, lastIndex, newRow, range;
+ if (!$equals_2(($clinit_DOMImpl() , event_0).type, 'keydown')) {
+ return false;
+ }
+ newRow = -1;
+ container = this$static.escalator.body_0;
+ switch (event_0.keyCode | 0) {
+ case 36:
+ container.rows_0 > 0 && (newRow = 0);
+ break;
+ case 35:
+ container.rows_0 > 0 && (newRow = container.rows_0 - 1);
+ break;
+ case 33:
+ {
+ range = $getVisibleRowRange(this$static.escalator);
+ if (range.start_0 < range.end) {
+ firstIndex = $getFirstVisibleRowIndex(this$static);
+ newRow = firstIndex - (range.end - range.start_0);
+ newRow < 0 && (newRow = 0);
+ }
+ break;
+ }
+
+ case 34:
+ {
+ range = $getVisibleRowRange(this$static.escalator);
+ if (range.start_0 < range.end) {
+ lastIndex = $getLastVisibleRowIndex(this$static);
+ newRow = lastIndex + (range.end - range.start_0);
+ newRow >= container.rows_0 && (newRow = container.rows_0 - 1);
+ }
+ break;
+ }
+
+ default:return false;
+ }
+ $scrollToRow_1(this$static, newRow);
+ return true;
+}
+
+function $handleRendererEvent(this$static, event_0, container){
+ var cplxRenderer, gridColumn;
+ if (container == this$static.escalator.body_0) {
+ gridColumn = this$static.eventCell.column;
+ $equals_2(($clinit_DOMImpl() , event_0).type, 'keydown') && (event_0.keyCode | 0) == 13;
+ $equals_2(event_0.type, 'dblclick');
+ if (instanceOf(gridColumn.bodyRenderer, 51)) {
+ cplxRenderer = dynamicCast(gridColumn.bodyRenderer, 51);
+ if ($contains_2($getConsumedEvents(), event_0.type)) {
+ if ($onBrowserEvent_0(cplxRenderer, event_0)) {
+ return true;
+ }
+ }
+ }
+ }
+ return false;
+}
+
+function $isElementInChildWidget(this$static, e){
+ var w;
+ w = findWidget(e);
+ if (w == this$static) {
+ return false;
+ }
+ while (!!w && w != this$static) {
+ w = w.parent_0;
+ }
+ return !!w;
+}
+
+function $isSelected_0(this$static, row){
+ return this$static.selectionModel.isSelected(row);
+}
+
+function $refreshBody(this$static){
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+}
+
+function $refreshFooter(this$static){
+ $refreshRowContainer(this$static.escalator.footer, this$static.footer);
+}
+
+function $refreshHeader(this$static){
+ $refreshRowContainer(this$static.escalator.header, this$static.header);
+}
+
+function $refreshRowContainer(rows_0, section){
+ var rowDiff;
+ rowDiff = (section.visible?section.rows_0.array.length:0) - rows_0.rows_0;
+ rowDiff > 0?($insertRows(rows_0, 0, rowDiff) , $recalculateElementSizes(rows_0.this$01_0) , $applyHeightByRows(rows_0.this$01_0) , undefined):rowDiff < 0 && ($removeRows(rows_0, 0, -rowDiff) , $recalculateElementSizes(rows_0.this$01_0) , $applyHeightByRows(rows_0.this$01_0) , undefined);
+ rows_0.rows_0 > 0 && $refreshRows(rows_0, 0, rows_0.rows_0);
+}
+
+function $removeColumn(this$static, column){
+ if (!!column && column == this$static.selectionColumn) {
+ throw new IllegalArgumentException_0('The selection column may not be removed manually.');
+ }
+ $removeColumnSkipSelectionColumnCheck(this$static, column);
+}
+
+function $removeColumnSkipSelectionColumnCheck(this$static, column){
+ var columnIndex;
+ columnIndex = $indexOf_3(this$static.columns, column, 0);
+ $removeColumns(this$static.escalator.columnConfiguration, columnIndex);
+ $updateFrozenColumns(this$static);
+ $removeColumn_0(this$static.header, column);
+ $removeColumn_0(this$static.footer, column);
+ $setGrid(column, null);
+ this$static.columns.remove_3(columnIndex);
+}
+
+function $scrollToRow_1(this$static, rowIndex){
+ var maxsize;
+ maxsize = this$static.escalator.body_0.rows_0 - 1;
+ if (rowIndex < 0) {
+ throw new IllegalArgumentException_0('Row index (' + rowIndex + ') is below zero!');
+ }
+ if (rowIndex > maxsize) {
+ throw new IllegalArgumentException_0('Row index (' + rowIndex + ') is above maximum (' + maxsize + ')!');
+ }
+ $scrollToRow(this$static.escalator, rowIndex);
+}
+
+function $select_4(this$static, row){
+ if (instanceOf(this$static.selectionModel, 97)) {
+ return $select_3(dynamicCast(this$static.selectionModel, 97), row);
+ }
+ else if (instanceOf(this$static.selectionModel, 111)) {
+ return $select_2(dynamicCast(dynamicCast(this$static.selectionModel, 111), 105), new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [row])));
+ }
+ else {
+ throw new IllegalStateException_0('Unsupported selection model');
+ }
+}
+
+function $setDataSource(this$static, dataSource){
+ var previousRowCount;
+ if (!dataSource) {
+ throw new IllegalArgumentException_0("dataSource can't be null.");
+ }
+ this$static.selectionModel.reset_1();
+ !!this$static.dataSource_0 && this$static.dataSource_0.setDataChangeHandler(null);
+ this$static.dataSource_0 = dataSource;
+ dataSource.setDataChangeHandler(new Grid$6(this$static, dataSource));
+ previousRowCount = this$static.escalator.body_0.rows_0;
+ previousRowCount != 0 && $removeRows(this$static.escalator.body_0, 0, previousRowCount);
+ $setEscalatorSizeFromDataSource(this$static);
+}
+
+function $setDefaultHeaderRow(this$static, row){
+ $setDefaultRow(this$static.header, row);
+}
+
+function $setEscalatorSizeFromDataSource(this$static){
+ var size_0;
+ size_0 = this$static.dataSource_0.size_2();
+ size_0 == -1 && $isAttached(this$static) && (size_0 = $getMaxEscalatorRowCapacity(this$static.escalator.body_0));
+ size_0 > 0 && $insertRows(this$static.escalator.body_0, 0, size_0);
+}
+
+function $setHeight_2(this$static, height){
+ $setHeight_1(this$static.escalator, height);
+}
+
+function $setHeightByRows_0(this$static, rows_0){
+ $setHeightByRows(this$static.escalator, rows_0);
+}
+
+function $setHeightMode_0(this$static, heightMode){
+ $setHeightMode(this$static.escalator, heightMode);
+}
+
+function $setScrollTop_1(this$static, px){
+ $setScrollTop_0(this$static.escalator, px);
+}
+
+function $setSelectColumnRenderer(this$static, selectColumnRenderer){
+ var colToRemove;
+ if (this$static.selectColumnRenderer == selectColumnRenderer) {
+ return;
+ }
+ if (this$static.selectColumnRenderer) {
+ !!this$static.selectColumnRenderer && $destroy(this$static.selectColumnRenderer);
+ colToRemove = this$static.selectionColumn;
+ this$static.selectionColumn = null;
+ $removeColumnSkipSelectionColumnCheck(this$static, colToRemove);
+ $offsetRangeBy(this$static.cellFocusHandler, -1);
+ }
+ this$static.selectColumnRenderer = selectColumnRenderer;
+ if (selectColumnRenderer) {
+ $offsetRangeBy(this$static.cellFocusHandler, 1);
+ this$static.selectionColumn = new Grid$SelectionColumn(this$static, selectColumnRenderer);
+ $addColumnSkipSelectionColumnCheck(this$static, this$static.selectionColumn, 0);
+ $initDone(this$static.selectionColumn);
+ }
+ else {
+ this$static.selectionColumn = null;
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+ }
+ $updateFrozenColumns(this$static);
+}
+
+function $setSelectionMode(this$static, mode){
+ var model;
+ model = mode.createModel();
+ !!this$static.selectionModel && this$static.selectionModel.setGrid(null);
+ this$static.selectionModel = model;
+ model.setGrid(this$static);
+ $setSelectColumnRenderer(this$static, this$static.selectionModel.getSelectionColumnRenderer());
+}
+
+function $setStylePrimaryName_6(this$static){
+ var rowStyle;
+ setStylePrimaryName(($clinit_DOM() , this$static.element), 'v-grid');
+ $setStylePrimaryName_1(this$static.escalator, 'v-grid');
+ $setStylePrimaryName_7(this$static.editor);
+ rowStyle = getStylePrimaryName(this$static.element) + '-row';
+ this$static.rowHasDataStyleName = rowStyle + '-has-data';
+ this$static.rowSelectedStyleName = rowStyle + '-selected';
+ this$static.rowStripeStyleName = rowStyle + '-stripe';
+ this$static.cellFocusStyleName = getStylePrimaryName(this$static.element) + '-cell-focused';
+ this$static.rowFocusStyleName = getStylePrimaryName(this$static.element) + '-row-focused';
+ if ($isAttached(this$static)) {
+ $refreshRowContainer(this$static.escalator.header, this$static.header);
+ $refreshRows(this$static.escalator.body_0, 0, this$static.escalator.body_0.rows_0);
+ $refreshRowContainer(this$static.escalator.footer, this$static.footer);
+ }
+}
+
+function $sinkEvents_0(this$static, events){
+ var eventsToSink, typeInt, typeName, typeName$iterator;
+ eventsToSink = 0;
+ for (typeName$iterator = events.iterator_0(); typeName$iterator.hasNext();) {
+ typeName = dynamicCastToString(typeName$iterator.next_0());
+ typeInt = $eventGetTypeInt(($clinit_DOM() , typeName));
+ typeInt < 0?sinkBitlessEvent(this$static.element, typeName):(eventsToSink |= typeInt);
+ }
+ eventsToSink > 0 && (this$static.eventsToSink == -1?sinkEvents(($clinit_DOM() , this$static.element), eventsToSink | (this$static.element.__eventBits || 0)):(this$static.eventsToSink |= eventsToSink));
+}
+
+function $updateFrozenColumns(this$static){
+ var numberOfColumns;
+ numberOfColumns = 0;
+ !!this$static.selectionColumn && ++numberOfColumns;
+ $setFrozenColumnCount(this$static.escalator.columnConfiguration, numberOfColumns);
+}
+
+function Grid(){
+ var defaultRow;
+ this.eventCell = new EventCellReference(this);
+ this.keyDown = new GridKeyDownEvent(this, this.eventCell);
+ this.keyUp = new GridKeyUpEvent(this, this.eventCell);
+ new GridKeyPressEvent(this, this.eventCell);
+ this.clickEvent = new GridClickEvent(this, this.eventCell);
+ new GridDoubleClickEvent(this, this.eventCell);
+ this.escalator = new Escalator;
+ this.header = new Grid$Header;
+ this.footer = new Grid$Footer;
+ this.columns = new ArrayList;
+ this.currentDataAvailable = withLength(0, 0);
+ this.sortOrder = new ArrayList;
+ this.sorter = new Grid$UserSorter(this);
+ this.editor = new Grid$Editor;
+ this.autoColumnWidthsRecalculator = new Grid$AutoColumnWidthsRecalculator(this);
+ this.rowReference = new RowReference;
+ new CellReference(this.rowReference);
+ this.rendererCellReference = new RendererCellReference(this.rowReference);
+ $initWidget(this, this.escalator);
+ $setTabIndex(($clinit_DOM() , this.element), 0);
+ this.cellFocusHandler = new Grid$CellFocusHandler(this);
+ $setStylePrimaryName_6(this);
+ $setEscalatorUpdater(this.escalator.header, new Grid$StaticSectionUpdater(this, this.header, this.escalator.header));
+ $setEscalatorUpdater(this.escalator.body_0, new Grid$BodyUpdater(this));
+ $setEscalatorUpdater(this.escalator.footer, new Grid$StaticSectionUpdater(this, this.footer, this.escalator.footer));
+ $setGrid_1(this.header, this);
+ defaultRow = $appendRow(this.header);
+ $setDefaultRow(this.header, defaultRow);
+ $setGrid_1(this.footer, this);
+ $setGrid_0(this.editor, this);
+ $setSelectionMode(this, ($clinit_Grid$SelectionMode() , SINGLE));
+ $addHandler_0(this.escalator, new Grid$1(this), ($clinit_ScrollEvent() , TYPE_9));
+ $addHandler_0(this.escalator, new Grid$2(this), ($clinit_RowVisibilityChangeEvent() , TYPE_6));
+ $addHandler_0(this, new Grid$3(this), ($clinit_SelectionEvent() , $clinit_SelectionEvent() , eventType_0));
+ $sinkEvents_0(this, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['touchstart', 'touchmove', 'touchend', 'touchcancel', 'click'])));
+ $sinkEvents_0(this, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['keydown', 'keyup', 'keypress', 'dblclick'])));
+ $addHeaderKeyUpHandler(this, new Grid$4(this));
+ $addDataAvailableHandler(this, new Grid$5(this));
+}
+
+function setCustomStyleName(element){
+ var oldStyleName;
+ oldStyleName = $getPropertyString(element, 'customStyle');
+ if (!equals(oldStyleName, null)) {
+ oldStyleName != null && $removeClassName(element, oldStyleName);
+ $setPropertyString(element, 'customStyle', null);
+ }
+}
+
+function setParent(widget, parent_0){
+ widget.setParent(parent_0);
+}
+
+defineClass(225, 558, {31:1, 24:1, 20:1, 27:1, 40:1, 23:1, 21:1, 17:1}, Grid);
+_.add_0 = function(w){
+ throw new UnsupportedOperationException_0('Cannot add widgets to Grid with this method');
+}
+;
+_.iterator_0 = function(){
+ throw new UnsupportedOperationException_0('Cannot iterate through widgets in Grid this way');
+}
+;
+_.onAttach = function(){
+ $onAttach_0(this);
+ this.escalator.body_0.rows_0 == 0 && !!this.dataSource_0 && $setEscalatorSizeFromDataSource(this);
+}
+;
+_.onBrowserEvent = function(event_0){
+ var cell, container, e, eventType, target, navigation;
+ if (!this.enabled) {
+ return;
+ }
+ target = ($clinit_DOMImpl() , impl_0).eventGetTarget(event_0);
+ if (!is_0(target)) {
+ return;
+ }
+ e = target;
+ container = $findRowContainer(this.escalator, e);
+ eventType = event_0.type;
+ if (!container) {
+ if ($equals_2(eventType, 'keydown') || $equals_2(eventType, 'keyup') || $equals_2(eventType, 'keypress')) {
+ cell = $getFocusedCell(this.cellFocusHandler);
+ container = this.cellFocusHandler.containerWithFocus;
+ }
+ else {
+ return;
+ }
+ }
+ else {
+ cell = container.getCell(e);
+ $equals_2(eventType, 'mousedown')?(this.cellOnPrevMouseDown = cell):!cell && $equals_2(eventType, 'click') && (cell = this.cellOnPrevMouseDown);
+ }
+ $set_1(this.eventCell, cell);
+ $onBrowserEvent(this, event_0);
+ $onBrowserEvent(this.widget, event_0);
+ if (!$isElementInChildWidget(this, e)) {
+ if ($handleHeaderDefaultRowEvent(this, container)) {
+ return;
+ }
+ if ($handleRendererEvent(this, event_0, container)) {
+ return;
+ }
+ if ($handleNavigationEvent(this, event_0)) {
+ return;
+ }
+ if (navigation = new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['keydown', 'click'])) , $indexOf_2(navigation, event_0.type) != -1 && $handleNavigationEvent_0(this.cellFocusHandler, event_0, this.eventCell) , false) {
+ return;
+ }
+ }
+}
+;
+_.remove = function(w){
+ return false;
+}
+;
+_.setHeight_0 = function(height){
+ $setHeight_2(this, height);
+}
+;
+_.setWidth = function(width_0){
+ $setWidth_1(this.escalator, width_0);
+}
+;
+_.dataIsBeingFetched = false;
+_.enabled = true;
+_.selectColumnRenderer = null;
+var Lcom_vaadin_client_widgets_Grid_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid', 225, Lcom_google_gwt_user_client_ui_ResizeComposite_2_classLit);
+function Grid$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(244, 1, $intern_41, Grid$1);
+_.onScroll = function(event_0){
+ $fireEvent_0(this.this$01, new ScrollEvent);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/1', 244, Ljava_lang_Object_2_classLit);
+function $onRowVisibilityChange(this$static, event_0){
+ if (!!this$static.this$01.dataSource_0 && this$static.this$01.dataSource_0.size_2() != 0) {
+ this$static.this$01.dataIsBeingFetched = true;
+ this$static.this$01.dataSource_0.ensureAvailability(event_0.firstVisibleRow, event_0.visibleRowCount);
+ }
+}
+
+function Grid$2(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(245, 1, {22:1, 586:1}, Grid$2);
+var Lcom_vaadin_client_widgets_Grid$2_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/2', 245, Ljava_lang_Object_2_classLit);
+function Grid$3(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(246, 1, {22:1, 530:1}, Grid$3);
+_.onSelect_0 = function(event_0){
+ $refreshBody(this.this$01);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/3', 246, Ljava_lang_Object_2_classLit);
+function Grid$4(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(247, 1, {22:1, 197:1, 533:1, 587:1}, Grid$4);
+_.onKeyUp = function(event_0){
+ var lastArg;
+ if ($getKeyCode(event_0.nativeEvent) != 13) {
+ return;
+ }
+ $sort(this.this$01.sorter, (lastArg = event_0.targetCell.column , $getShiftKey(event_0.nativeEvent) , lastArg));
+}
+;
+var Lcom_vaadin_client_widgets_Grid$4_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/4', 247, Ljava_lang_Object_2_classLit);
+function Grid$5(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(248, 1, $intern_43, Grid$5);
+_.onDataAvailable = function(event_0){
+ this.this$01.dataIsBeingFetched = false;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$5_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/5', 248, Ljava_lang_Object_2_classLit);
+function $dataAdded(this$static, firstIndex){
+ var added;
+ $insertRows(this$static.this$01.escalator.body_0, firstIndex, 1);
+ added = withLength(firstIndex, 1);
+ $rowsAddedToBody(this$static.this$01.cellFocusHandler, added);
+}
+
+function $dataAvailable(this$static, firstIndex, numberOfItems){
+ this$static.this$01.currentDataAvailable = withLength(firstIndex, numberOfItems);
+ $fireEvent_0(this$static.this$01, new DataAvailableEvent(this$static.this$01.currentDataAvailable));
+}
+
+function $dataRemoved(this$static, firstIndex){
+ var removed;
+ $removeRows(this$static.this$01.escalator.body_0, firstIndex, 1);
+ removed = withLength(firstIndex, 1);
+ $rowsRemovedFromBody(this$static.this$01.cellFocusHandler, removed);
+}
+
+function $dataUpdated(this$static, firstIndex, numberOfItems){
+ $refreshRows(this$static.this$01.escalator.body_0, firstIndex, numberOfItems);
+}
+
+function $resetDataAndSize_0(this$static, newSize){
+ var body_0, oldSize, visibleRowRange;
+ body_0 = this$static.this$01.escalator.body_0;
+ oldSize = body_0.rows_0;
+ newSize > oldSize?$insertRows(body_0, oldSize, newSize - oldSize):newSize < oldSize && $removeRows(body_0, newSize, oldSize - newSize);
+ if (newSize > 0) {
+ this$static.this$01.dataIsBeingFetched = true;
+ visibleRowRange = $getVisibleRowRange(this$static.this$01.escalator);
+ this$static.val$dataSource2.ensureAvailability(visibleRowRange.start_0, visibleRowRange.end - visibleRowRange.start_0);
+ }
+}
+
+function Grid$6(this$0, val$dataSource){
+ this.this$01 = this$0;
+ this.val$dataSource2 = val$dataSource;
+}
+
+defineClass(249, 1, {}, Grid$6);
+var Lcom_vaadin_client_widgets_Grid$6_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/6', 249, Ljava_lang_Object_2_classLit);
+function Grid$7(this$0, val$handler){
+ this.this$01 = this$0;
+ this.val$handler2 = val$handler;
+}
+
+defineClass(250, 1, {}, Grid$7);
+_.execute_1 = function(){
+ this.this$01.dataIsBeingFetched || this.val$handler2.onDataAvailable(new DataAvailableEvent(this.this$01.currentDataAvailable));
+}
+;
+var Lcom_vaadin_client_widgets_Grid$7_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/7', 250, Ljava_lang_Object_2_classLit);
+function $calculate(this$static){
+ var aColumnHasMaxedOut, autoWidth, column, column$iterator, column$iterator0, column$iterator1, column$iterator2, column$iterator3, columnsToExpand, currentWidth, expandRatio, hasAutoWidth, i_0, isFixedWidth, maxWidth, minWidth, minWidthsCausedReflows, newWidth, pixelsToDistribute, pixelsToRemove, pixelsToRemoveFromOtherColumns, pixelsToRemovePerRatio, reservedPixels, shouldExpand, someColumnExpands, totalRatios, totalWidth, width_0, widthAsIs, widthCandidate, widthFixed, widthPerRatio, widthPerRatio0;
+ this$static.isScheduled = false;
+ this$static.rescheduleCount = 0;
+ if ($gridWasTooNarrowAndEverythingWasFixedAlready(this$static)) {
+ return;
+ }
+ someColumnExpands = false;
+ totalRatios = 0;
+ reservedPixels = 0;
+ columnsToExpand = new HashSet;
+ for (column$iterator0 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator_0()); column$iterator0.it.hasNext();) {
+ column = dynamicCast(column$iterator0.it.next_0(), 33);
+ widthAsIs = column.widthUser;
+ isFixedWidth = widthAsIs >= 0;
+ widthFixed = max_0(widthAsIs, column.getMinimumWidth());
+ expandRatio = column.getExpandRatio();
+ if (isFixedWidth) {
+ $doSetWidth(column, widthFixed);
+ }
+ else {
+ $doSetWidth(column, -1);
+ newWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0));
+ maxWidth = $getMaxWidth(column);
+ shouldExpand = newWidth < maxWidth && expandRatio > 0;
+ if (shouldExpand) {
+ totalRatios += expandRatio;
+ $add_7(columnsToExpand, column);
+ someColumnExpands = true;
+ }
+ }
+ reservedPixels += $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0));
+ }
+ if (!someColumnExpands) {
+ for (column$iterator1 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator_0()); column$iterator1.it.hasNext();) {
+ column = dynamicCast(column$iterator1.it.next_0(), 33);
+ width_0 = column.widthUser;
+ expandRatio = column.getExpandRatio();
+ if (width_0 < 0 && expandRatio < 0) {
+ ++totalRatios;
+ $add_7(columnsToExpand, column);
+ }
+ }
+ }
+ pixelsToDistribute = getRequiredWidthBoundingClientRectDouble(this$static.this$01.escalator.tableWrapper) - reservedPixels;
+ if (pixelsToDistribute <= 0 || totalRatios <= 0) {
+ return;
+ }
+ do {
+ aColumnHasMaxedOut = false;
+ widthPerRatio0 = pixelsToDistribute / totalRatios;
+ i_0 = $iterator(new AbstractMap$1(columnsToExpand.map_0));
+ while (i_0.val$outerIter2.hasNext()) {
+ column = dynamicCast($next_3(i_0), 33);
+ expandRatio = $getExpandRatio(column);
+ autoWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0));
+ maxWidth = $getMaxWidth(column);
+ widthCandidate = autoWidth + widthPerRatio0 * expandRatio;
+ if (maxWidth <= widthCandidate) {
+ $doSetWidth(column, maxWidth);
+ totalRatios -= expandRatio;
+ pixelsToDistribute -= maxWidth - autoWidth;
+ i_0.val$outerIter2.remove_0();
+ aColumnHasMaxedOut = true;
+ }
+ }
+ }
+ while (aColumnHasMaxedOut);
+ if (totalRatios <= 0 && columnsToExpand.map_0.size_2() == 0) {
+ return;
+ }
+ widthPerRatio = pixelsToDistribute / totalRatios;
+ for (column$iterator2 = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator2.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_3(column$iterator2), 33);
+ expandRatio = $getExpandRatio(column);
+ autoWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0));
+ totalWidth = autoWidth + widthPerRatio * expandRatio;
+ $doSetWidth(column, totalWidth);
+ totalRatios -= expandRatio;
+ }
+ do {
+ minWidthsCausedReflows = false;
+ pixelsToRemoveFromOtherColumns = 0;
+ for (column$iterator1 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator_0()); column$iterator1.it.hasNext();) {
+ column = dynamicCast(column$iterator1.it.next_0(), 33);
+ minWidth = $getMinWidth(column);
+ currentWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0));
+ hasAutoWidth = column.widthUser < 0;
+ if (hasAutoWidth && currentWidth < minWidth) {
+ $doSetWidth(column, minWidth);
+ pixelsToRemoveFromOtherColumns += minWidth - currentWidth;
+ minWidthsCausedReflows = true;
+ columnsToExpand.map_0.remove_2(column) != null;
+ }
+ }
+ totalRatios = 0;
+ for (column$iterator3 = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator3.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_3(column$iterator3), 33);
+ totalRatios += $getExpandRatio(column);
+ }
+ pixelsToRemovePerRatio = pixelsToRemoveFromOtherColumns / totalRatios;
+ for (column$iterator = $iterator(new AbstractMap$1(columnsToExpand.map_0)); column$iterator.val$outerIter2.hasNext();) {
+ column = dynamicCast($next_3(column$iterator), 33);
+ pixelsToRemove = pixelsToRemovePerRatio * $getExpandRatio(column);
+ $doSetWidth(column, $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0)) - pixelsToRemove);
+ }
+ }
+ while (minWidthsCausedReflows);
+}
+
+function $getExpandRatio(column){
+ var expandRatio;
+ expandRatio = column.getExpandRatio();
+ return expandRatio > 0?expandRatio:expandRatio < 0?1:0;
+}
+
+function $getMaxWidth(column){
+ var maxWidth;
+ maxWidth = column.getMaximumWidth();
+ return maxWidth >= 0?maxWidth:1.7976931348623157E308;
+}
+
+function $getMinWidth(column){
+ var minWidth;
+ minWidth = column.getMinimumWidth();
+ return minWidth >= 0?minWidth:4.9E-324;
+}
+
+function $gridWasTooNarrowAndEverythingWasFixedAlready(this$static){
+ var column, column$iterator, column$iterator0, freeSpace, newWidthIsSmallerThanMinWidth, wasFixedWidth;
+ freeSpace = getRequiredWidthBoundingClientRectDouble(this$static.this$01.escalator.tableWrapper);
+ for (column$iterator0 = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator_0()); column$iterator0.it.hasNext();) {
+ column = dynamicCast(column$iterator0.it.next_0(), 33);
+ column.widthUser >= 0?(freeSpace -= column.widthUser):column.getMinimumWidth() >= 0 && (freeSpace -= column.getMinimumWidth());
+ }
+ if (freeSpace < 0) {
+ for (column$iterator = new Collections$UnmodifiableCollectionIterator(unmodifiableList(new ArrayList_1(this$static.this$01.columns)).coll.iterator_0()); column$iterator.it.hasNext();) {
+ column = dynamicCast(column$iterator.it.next_0(), 33);
+ $doSetWidth(column, column.widthUser);
+ wasFixedWidth = column.widthUser <= 0;
+ newWidthIsSmallerThanMinWidth = $getColumnWidthActual(column.grid.escalator.columnConfiguration, $indexOf_3(column.grid.columns, column, 0)) < $getMinWidth(column);
+ wasFixedWidth && newWidthIsSmallerThanMinWidth && $doSetWidth(column, column.getMinimumWidth());
+ }
+ }
+ return freeSpace < 0;
+}
+
+function $schedule_0(this$static){
+ if (!this$static.isScheduled) {
+ this$static.isScheduled = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), this$static.calculateCommand);
+ }
+}
+
+function Grid$AutoColumnWidthsRecalculator(this$0){
+ this.this$01 = this$0;
+ this.calculateCommand = new Grid$AutoColumnWidthsRecalculator$1(this);
+}
+
+defineClass(233, 1, {}, Grid$AutoColumnWidthsRecalculator);
+_.isScheduled = false;
+_.rescheduleCount = 0;
+var Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AutoColumnWidthsRecalculator', 233, Ljava_lang_Object_2_classLit);
+function Grid$AutoColumnWidthsRecalculator$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(240, 1, {}, Grid$AutoColumnWidthsRecalculator$1);
+_.execute_1 = function(){
+ if (!this.this$11.isScheduled) {
+ return;
+ }
+ if (this.this$11.this$01.header.markAsDirty) {
+ if (this.this$11.rescheduleCount < 10) {
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), this);
+ ++this.this$11.rescheduleCount;
+ }
+ else {
+ this.this$11.rescheduleCount = 0;
+ $scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this);
+ }
+ }
+ else
+ this.this$11.this$01.dataIsBeingFetched?$scheduleDeferred_0(($clinit_SchedulerImpl() , INSTANCE), this):$calculate(this.this$11);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$AutoColumnWidthsRecalculator$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/AutoColumnWidthsRecalculator/1', 240, Ljava_lang_Object_2_classLit);
+function Grid$BodyUpdater(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(234, 1, {}, Grid$BodyUpdater);
+_.postAttach = function(row, attachedCells){
+ var cell, cell$iterator;
+ for (cell$iterator = attachedCells.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ $findRenderer(this.this$01, cell);
+ }
+}
+;
+_.postDetach = function(row, detachedCells){
+ var cell, cell$iterator, renderer, rowIndex;
+ rowIndex = row.row;
+ $set_3(this.this$01.rowReference, rowIndex, null);
+ for (cell$iterator = detachedCells.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ renderer = $findRenderer(this.this$01, cell);
+ if (instanceOf(renderer, 51)) {
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, $getColumn(this.this$01, cell.column));
+ dynamicCast(renderer, 51);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ }
+}
+;
+_.preAttach = function(row, cellsToAttach){
+ var cell, cell$iterator, renderer, rowIndex;
+ rowIndex = row.row;
+ $set_3(this.this$01.rowReference, rowIndex, this.this$01.dataSource_0.getRow(rowIndex));
+ for (cell$iterator = cellsToAttach.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ renderer = $findRenderer(this.this$01, cell);
+ if (instanceOf(renderer, 51)) {
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, $getColumn(this.this$01, cell.column));
+ $init((dynamicCast(renderer, 51) , this.this$01.rendererCellReference));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+ }
+}
+;
+_.preDetach = function(row, cellsToDetach){
+ var cell, cell$iterator;
+ for (cell$iterator = new FlyweightRow$CellIterator(new AbstractList$SubList(cellsToDetach.this$01.cells_0, cellsToDetach.val$offset2, cellsToDetach.val$offset2 + cellsToDetach.val$numberOfCells3), true); cell$iterator.cursor_0 + cell$iterator.skipNext < cell$iterator.cells_0.array.length;) {
+ cell = $next_1(cell$iterator);
+ $findRenderer(this.this$01, cell);
+ }
+}
+;
+_.update = function(row, cellsToUpdate){
+ var cell, cell$iterator, clxRenderer, column, hasData, isEvenIndex, renderer, rowData, rowElement, rowIndex, usedToHaveData, value_0;
+ rowIndex = row.row;
+ rowElement = row.element;
+ rowData = this.this$01.dataSource_0.getRow(rowIndex);
+ hasData = rowData != null;
+ usedToHaveData = $hasClassName(rowElement, this.this$01.rowHasDataStyleName);
+ usedToHaveData != hasData && setStyleName(rowElement, this.this$01.rowHasDataStyleName, hasData);
+ isEvenIndex = row.row % 2 == 0;
+ setStyleName(rowElement, this.this$01.rowStripeStyleName, !isEvenIndex);
+ $set_3(this.this$01.rowReference, rowIndex, rowData);
+ if (hasData) {
+ setStyleName(rowElement, this.this$01.rowSelectedStyleName, $isSelected_0(this.this$01, rowData));
+ setCustomStyleName(rowElement);
+ }
+ else if (usedToHaveData) {
+ setStyleName(rowElement, this.this$01.rowSelectedStyleName, false);
+ setCustomStyleName(rowElement);
+ }
+ $updateFocusedRowStyle(this.this$01.cellFocusHandler, row);
+ for (cell$iterator = cellsToUpdate.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ column = $getColumn(this.this$01, cell.column);
+ $updateFocusedCellStyle(this.this$01.cellFocusHandler, cell, this.this$01.escalator.body_0);
+ (hasData || usedToHaveData) && setCustomStyleName(cell.element);
+ renderer = column.bodyRenderer;
+ try {
+ $set_2(this.this$01.rendererCellReference, cell, column);
+ if (instanceOf(renderer, 51)) {
+ clxRenderer = dynamicCast(renderer, 51);
+ if (hasData) {
+ usedToHaveData || $setContentVisible(this.this$01.rendererCellReference, true);
+ value_0 = column.getValue_0(rowData);
+ $render_0(this.this$01.rendererCellReference, value_0);
+ }
+ else {
+ $setContentVisible(this.this$01.rendererCellReference, false);
+ }
+ }
+ else if (hasData) {
+ value_0 = column.getValue_0(rowData);
+ renderer.render(this.this$01.rendererCellReference, value_0);
+ }
+ else {
+ $removeAllChildren(cell.element);
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 11)) {
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ }
+ else
+ throw unwrap($e0);
+ }
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$BodyUpdater_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/BodyUpdater', 234, Ljava_lang_Object_2_classLit);
+function $getFocusedCell(this$static){
+ return new Cell(this$static.rowWithFocus, this$static.cellFocusRange.start_0, this$static.cellWithFocusStyle);
+}
+
+function $getNextContainer(this$static, current){
+ if (current == this$static.this$01.escalator.header) {
+ current = this$static.this$01.escalator.body_0;
+ }
+ else if (current == this$static.this$01.escalator.body_0) {
+ current = this$static.this$01.escalator.footer;
+ }
+ else {
+ return current;
+ }
+ if (current.getRowCount_0() == 0) {
+ return $getNextContainer(this$static, current);
+ }
+ return current;
+}
+
+function $getPreviousContainer(this$static, current){
+ if (current == this$static.this$01.escalator.footer) {
+ current = this$static.this$01.escalator.body_0;
+ }
+ else if (current == this$static.this$01.escalator.body_0) {
+ current = this$static.this$01.escalator.header;
+ }
+ else {
+ return current;
+ }
+ if (current.getRowCount_0() == 0) {
+ return $getPreviousContainer(this$static, current);
+ }
+ return current;
+}
+
+function $handleNavigationEvent_0(this$static, event_0, cell){
+ var newColumn, newContainer, newRow;
+ if ($equals_2(($clinit_DOMImpl() , event_0).type, 'click')) {
+ $setCellFocus(this$static, cell.rowReference.rowIndex, cell.columnIndex, $findRowContainer(this$static.this$01.escalator, cell.element));
+ $focus($getElement(this$static.this$01));
+ }
+ else if ($equals_2(event_0.type, 'keydown')) {
+ newRow = this$static.rowWithFocus;
+ newContainer = this$static.containerWithFocus;
+ newColumn = this$static.cellFocusRange.start_0;
+ switch (event_0.keyCode | 0) {
+ case 40:
+ ++newRow;
+ break;
+ case 38:
+ --newRow;
+ break;
+ case 39:
+ if (this$static.cellFocusRange.end >= unmodifiableList(new ArrayList_1(this$static.this$01.columns)).size_2()) {
+ return;
+ }
+
+ newColumn = this$static.cellFocusRange.end;
+ break;
+ case 37:
+ if (newColumn == 0) {
+ return;
+ }
+
+ --newColumn;
+ break;
+ case 9:
+ event_0.shiftKey?(newContainer = $getPreviousContainer(this$static, this$static.containerWithFocus)):(newContainer = $getNextContainer(this$static, this$static.containerWithFocus));
+ if (newContainer == this$static.containerWithFocus) {
+ return;
+ }
+
+ break;
+ default:return;
+ }
+ if (newContainer != this$static.containerWithFocus) {
+ newContainer == this$static.this$01.escalator.body_0?(newRow = this$static.lastFocusedBodyRow):newContainer == this$static.this$01.escalator.header?(newRow = this$static.lastFocusedHeaderRow):(newRow = this$static.lastFocusedFooterRow);
+ }
+ else if (newRow < 0) {
+ newContainer = $getPreviousContainer(this$static, newContainer);
+ newContainer == this$static.containerWithFocus?(newRow = 0):newContainer == this$static.this$01.escalator.body_0?(newRow = $getLastVisibleRowIndex(this$static.this$01)):(newRow = newContainer.getRowCount_0() - 1);
+ }
+ else if (newRow >= this$static.containerWithFocus.getRowCount_0()) {
+ newContainer = $getNextContainer(this$static, newContainer);
+ newContainer == this$static.containerWithFocus?(newRow = this$static.containerWithFocus.getRowCount_0() - 1):newContainer == this$static.this$01.escalator.body_0?(newRow = $getFirstVisibleRowIndex(this$static.this$01)):(newRow = 0);
+ }
+ if (newContainer.getRowCount_0() == 0) {
+ return;
+ }
+ $eventPreventDefault(event_0);
+ $eventStopPropagation(event_0);
+ $setCellFocus(this$static, newRow, newColumn, newContainer);
+ }
+}
+
+function $offsetRangeBy(this$static, offset){
+ this$static.cellFocusRange = $offsetBy(this$static.cellFocusRange, offset);
+}
+
+function $refreshRow_0(this$static, row){
+ this$static.containerWithFocus.refreshRows(row, 1);
+}
+
+function $rowsAddedToBody(this$static, added){
+ var bodyHasFocus, insertionIsAboveFocusedCell;
+ bodyHasFocus = this$static.containerWithFocus == this$static.this$01.escalator.body_0;
+ insertionIsAboveFocusedCell = added.start_0 <= this$static.rowWithFocus;
+ if (bodyHasFocus && insertionIsAboveFocusedCell) {
+ this$static.rowWithFocus += added.end - added.start_0;
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+ }
+}
+
+function $rowsRemovedFromBody(this$static, removed){
+ if (this$static.containerWithFocus != this$static.this$01.escalator.body_0) {
+ return;
+ }
+ else if ($contains_0(removed, this$static.rowWithFocus)) {
+ if (this$static.containerWithFocus.getRowCount_0() > removed.end) {
+ this$static.rowWithFocus = removed.start_0;
+ }
+ else if (removed.start_0 > 0) {
+ this$static.rowWithFocus = removed.start_0 - 1;
+ }
+ else {
+ if (this$static.this$01.escalator.header.rows_0 > 0) {
+ this$static.rowWithFocus = this$static.lastFocusedHeaderRow;
+ this$static.containerWithFocus = this$static.this$01.escalator.header;
+ }
+ else if (this$static.this$01.escalator.footer.rows_0 > 0) {
+ this$static.rowWithFocus = this$static.lastFocusedFooterRow;
+ this$static.containerWithFocus = this$static.this$01.escalator.footer;
+ }
+ }
+ }
+ else {
+ if (removed.start_0 > this$static.rowWithFocus) {
+ return;
+ }
+ this$static.rowWithFocus = this$static.rowWithFocus - (removed.end - removed.start_0);
+ }
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+}
+
+function $setCellFocus(this$static, row, column, container){
+ var cell, cellRange, colSpan, i_0, oldContainer, oldRange, oldRow;
+ if (row == this$static.rowWithFocus && $contains_0(this$static.cellFocusRange, column) && container == this$static.containerWithFocus) {
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+ return;
+ }
+ oldRow = this$static.rowWithFocus;
+ this$static.rowWithFocus = row;
+ oldRange = this$static.cellFocusRange;
+ if (container == this$static.this$01.escalator.body_0) {
+ $scrollToRow_1(this$static.this$01, this$static.rowWithFocus);
+ this$static.cellFocusRange = withLength(column, 1);
+ }
+ else {
+ i_0 = 0;
+ cell = $getFirstChildElement(container.getRowElement(this$static.rowWithFocus));
+ do {
+ colSpan = $getPropertyInt(cell, 'colSpan');
+ cellRange = withLength(i_0, colSpan);
+ if (cellRange.start_0 <= column && column < cellRange.end) {
+ this$static.cellFocusRange = cellRange;
+ break;
+ }
+ cell = $getNextSiblingElement(($clinit_DOMImpl() , cell));
+ ++i_0;
+ }
+ while (cell);
+ }
+ column >= this$static.this$01.escalator.columnConfiguration.frozenColumns && $scrollToColumn(this$static.this$01.escalator, column);
+ if (this$static.containerWithFocus == container) {
+ if ($equals(oldRange, this$static.cellFocusRange) && oldRow != this$static.rowWithFocus) {
+ this$static.containerWithFocus.refreshRows(oldRow, 1);
+ }
+ else {
+ $refreshHeader(this$static.this$01);
+ $refreshFooter(this$static.this$01);
+ }
+ }
+ else {
+ oldContainer = this$static.containerWithFocus;
+ this$static.containerWithFocus = container;
+ oldContainer == this$static.this$01.escalator.body_0?(this$static.lastFocusedBodyRow = oldRow):oldContainer == this$static.this$01.escalator.header?(this$static.lastFocusedHeaderRow = oldRow):(this$static.lastFocusedFooterRow = oldRow);
+ if ($equals(oldRange, this$static.cellFocusRange)) {
+ oldContainer.refreshRows(oldRow, 1);
+ }
+ else {
+ $refreshHeader(this$static.this$01);
+ $refreshFooter(this$static.this$01);
+ oldContainer == this$static.this$01.escalator.body_0 && oldContainer.refreshRows(oldRow, 1);
+ }
+ }
+ $refreshRow_0(this$static, this$static.rowWithFocus);
+}
+
+function $updateFocusedCellStyle(this$static, cell, cellContainer){
+ var cellColumn, cellRow, colSpan, columnHasFocus;
+ cellRow = cell.row.row;
+ cellColumn = cell.column;
+ colSpan = $getPropertyInt(cell.element, 'colSpan');
+ columnHasFocus = $intersects(withLength(cellColumn, colSpan), this$static.cellFocusRange);
+ if (cellContainer == this$static.containerWithFocus) {
+ if (cellRow == this$static.rowWithFocus && columnHasFocus) {
+ if (this$static.cellWithFocusStyle != cell.element) {
+ !!this$static.cellWithFocusStyle && setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, false);
+ this$static.cellWithFocusStyle = cell.element;
+ setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, true);
+ }
+ }
+ else if (this$static.cellWithFocusStyle == cell.element) {
+ setStyleName(this$static.cellWithFocusStyle, this$static.this$01.cellFocusStyleName, false);
+ this$static.cellWithFocusStyle = null;
+ }
+ }
+}
+
+function $updateFocusedRowStyle(this$static, row){
+ if (this$static.rowWithFocus == row.row && this$static.containerWithFocus == this$static.this$01.escalator.body_0) {
+ if (row.element != this$static.rowWithFocusStyle) {
+ !!this$static.rowWithFocusStyle && setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, false);
+ this$static.rowWithFocusStyle = row.element;
+ setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, true);
+ }
+ }
+ else if (this$static.rowWithFocusStyle == row.element || this$static.containerWithFocus != this$static.this$01.escalator.body_0 && !!this$static.rowWithFocusStyle) {
+ setStyleName(this$static.rowWithFocusStyle, this$static.this$01.rowFocusStyleName, false);
+ this$static.rowWithFocusStyle = null;
+ }
+}
+
+function Grid$CellFocusHandler(this$0){
+ this.this$01 = this$0;
+ this.containerWithFocus = this.this$01.escalator.body_0;
+ this.cellFocusRange = withLength(0, 1);
+ $sinkEvents_0(this$0, new Arrays$ArrayList(initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['keydown', 'click'])));
+}
+
+defineClass(230, 1, {}, Grid$CellFocusHandler);
+_.cellWithFocusStyle = null;
+_.lastFocusedBodyRow = 0;
+_.lastFocusedFooterRow = 0;
+_.lastFocusedHeaderRow = 0;
+_.rowWithFocus = 0;
+_.rowWithFocusStyle = null;
+var Lcom_vaadin_client_widgets_Grid$CellFocusHandler_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/CellFocusHandler', 230, Ljava_lang_Object_2_classLit);
+function $doSetWidth(this$static, pixels){
+ var conf, index_0;
+ if (this$static.grid) {
+ index_0 = $indexOf_3(this$static.grid.columns, this$static, 0);
+ conf = this$static.grid.escalator.columnConfiguration;
+ $setColumnWidth(conf, index_0, pixels);
+ }
+}
+
+function $setGrid(this$static, grid){
+ var row;
+ if (!!this$static.grid && !!grid) {
+ throw new IllegalStateException_0('Column already is attached to a grid. Remove the column first from the grid and then add it. (in: ' + $toString_3(this$static) + ')');
+ }
+ !!this$static.grid && $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ this$static.grid = grid;
+ if (this$static.grid) {
+ $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ row = this$static.grid.header.defaultRow;
+ !!row && $setText_0(dynamicCast($getCell_0(row, this$static), 85), this$static.headerCaption);
+ }
+}
+
+function $setRenderer(this$static, renderer){
+ if (!renderer) {
+ throw new IllegalArgumentException_0('Renderer cannot be null.');
+ }
+ this$static.bodyRenderer = renderer;
+ !!this$static.grid && $refreshBody(this$static.grid);
+ return this$static;
+}
+
+function $setWidth_3(this$static, pixels){
+ if (this$static.widthUser != pixels) {
+ this$static.widthUser = pixels;
+ !!this$static.grid && $schedule_0(this$static.grid.autoColumnWidthsRecalculator);
+ }
+ return this$static;
+}
+
+function $toString_3(this$static){
+ var details, index_0;
+ details = '';
+ !this$static.headerCaption.length?(details += 'header:empty '):(details += 'header:"' + this$static.headerCaption + '" ');
+ if (this$static.grid) {
+ index_0 = $indexOf_4(unmodifiableList(new ArrayList_1(this$static.grid.columns)), this$static);
+ index_0 != -1?(details += 'attached:#' + index_0 + ' '):(details += 'attached:unindexed ');
+ }
+ else {
+ details += 'detached ';
+ }
+ details += 'sortable:false ';
+ return $getSimpleName(this$static.___clazz$) + '[' + $trim(details) + ']';
+}
+
+function Grid$Column(renderer){
+ $setRenderer(this, renderer);
+}
+
+defineClass(33, 1, {33:1});
+_.getExpandRatio = function(){
+ return this.expandRatio;
+}
+;
+_.getMaximumWidth = function(){
+ return this.maximumWidthPx;
+}
+;
+_.getMinimumWidth = function(){
+ return this.minimumWidthPx;
+}
+;
+_.setWidth_0 = function(pixels){
+ return $setWidth_3(this, pixels);
+}
+;
+_.toString$ = function(){
+ return $toString_3(this);
+}
+;
+_.expandRatio = -1;
+_.headerCaption = '';
+_.maximumWidthPx = -1;
+_.minimumWidthPx = 10;
+_.widthUser = -1;
+var Lcom_vaadin_client_widgets_Grid$Column_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Column', 33, Ljava_lang_Object_2_classLit);
+function $setGrid_0(this$static, grid){
+ $addDataAvailableHandler(grid, new Grid$Editor$5(this$static));
+}
+
+function $setStylePrimaryName_7(this$static){
+ this$static.styleName != null && $removeClassName(this$static.editorOverlay, this$static.styleName);
+ this$static.styleName = 'v-grid-editor';
+ $addClassName(this$static.editorOverlay, this$static.styleName);
+}
+
+function Grid$Editor(){
+ this.editorOverlay = ($clinit_DOM() , $createDivElement($doc));
+ new HashMap;
+ new Grid$Editor$1;
+ new Grid$Editor$3;
+}
+
+defineClass(229, 1, {}, Grid$Editor);
+_.rowIndex = -1;
+_.styleName = null;
+var Lcom_vaadin_client_widgets_Grid$Editor_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor', 229, Ljava_lang_Object_2_classLit);
+function Grid$Editor$1(){
+ Timer.call(this);
+}
+
+defineClass(235, 48, {}, Grid$Editor$1);
+_.run = function(){
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/1', 235, Lcom_google_gwt_user_client_Timer_2_classLit);
+function Grid$Editor$3(){
+ Timer.call(this);
+}
+
+defineClass(236, 48, {}, Grid$Editor$3);
+_.run = function(){
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widgets_Grid_2_classLit);
+ $ensureNamesAreInitialized(Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$3_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/3', 236, Lcom_google_gwt_user_client_Timer_2_classLit);
+function Grid$Editor$5(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(237, 1, $intern_43, Grid$Editor$5);
+_.onDataAvailable = function(event_0){
+ $contains_0(event_0.rowsAvailable, this.this$11.rowIndex) && undefined;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Editor$5_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Editor/5', 237, Ljava_lang_Object_2_classLit);
+function $addColumn_1(this$static, column){
+ var row, row$iterator;
+ for (row$iterator = new AbstractList$IteratorImpl(this$static.rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , dynamicCast(row$iterator.this$01_0.get_0(row$iterator.last = row$iterator.i++), 84));
+ $addCell(row, column);
+ }
+}
+
+function $addRowAt(this$static, index_0){
+ var i_0, row;
+ row = new Grid$HeaderRow;
+ row.section = this$static;
+ for (i_0 = 0; i_0 < this$static.grid.columns.array.length; ++i_0) {
+ $addCell(row, $getColumn(this$static.grid, i_0));
+ }
+ $add_5(this$static.rows_0, index_0, row);
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+ return row;
+}
+
+function $appendRow(this$static){
+ return $addRowAt(this$static, this$static.rows_0.array.length);
+}
+
+function $getRow_0(this$static, index_0){
+ try {
+ return dynamicCast($get_6(this$static.rows_0, index_0), 84);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 34)) {
+ throw new IllegalArgumentException_0('Row with index ' + index_0 + ' does not exist');
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function $removeColumn_0(this$static, column){
+ var row, row$iterator;
+ for (row$iterator = new AbstractList$IteratorImpl(this$static.rows_0); row$iterator.i < row$iterator.this$01_0.size_2();) {
+ row = (checkCriticalElement(row$iterator.i < row$iterator.this$01_0.size_2()) , dynamicCast(row$iterator.this$01_0.get_0(row$iterator.last = row$iterator.i++), 84));
+ row.cells_0.remove_2(column);
+ }
+}
+
+function $setGrid_1(this$static, grid){
+ this$static.grid = grid;
+}
+
+function Grid$StaticSection(){
+ this.rows_0 = new ArrayList;
+}
+
+defineClass(155, 1, {});
+_.visible = true;
+var Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection', 155, Ljava_lang_Object_2_classLit);
+function Grid$Footer(){
+ Grid$StaticSection.call(this);
+}
+
+defineClass(228, 155, {}, Grid$Footer);
+var Lcom_vaadin_client_widgets_Grid$Footer_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Footer', 228, Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit);
+function $requestSectionRefresh(this$static){
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+}
+
+function $setDefaultRow(this$static, row){
+ if (row == this$static.defaultRow) {
+ return;
+ }
+ if (!!row && $indexOf_3(this$static.rows_0, row, 0) == -1) {
+ throw new IllegalArgumentException_0('Cannot set a default row that does not exist in the container');
+ }
+ !!this$static.defaultRow && (this$static.defaultRow.isDefault = false);
+ !!row && (row.isDefault = true);
+ this$static.defaultRow = row;
+ this$static.markAsDirty = true;
+ $scheduleFinally(($clinit_SchedulerImpl() , INSTANCE), new Grid$Header$1(this$static));
+}
+
+function Grid$Header(){
+ Grid$StaticSection.call(this);
+ this.markAsDirty = false;
+}
+
+defineClass(226, 155, {}, Grid$Header);
+_.markAsDirty = false;
+var Lcom_vaadin_client_widgets_Grid$Header_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Header', 226, Lcom_vaadin_client_widgets_Grid$StaticSection_2_classLit);
+function Grid$Header$1(this$1){
+ this.this$11 = this$1;
+}
+
+defineClass(122, 1, {}, Grid$Header$1);
+_.execute_1 = function(){
+ if (this.this$11.markAsDirty) {
+ this.this$11.markAsDirty = false;
+ $refreshHeader(this.this$11.grid);
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$Header$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/Header/1', 122, Ljava_lang_Object_2_classLit);
+function $getHtml(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , HTML_1)) {
+ throw new IllegalStateException_0('Cannot fetch HTML from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCastToString(this$static.content_0);
+}
+
+function $getText(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , TEXT_0)) {
+ throw new IllegalStateException_0('Cannot fetch Text from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCastToString(this$static.content_0);
+}
+
+function $getWidget(this$static){
+ if (this$static.type_0 != ($clinit_GridStaticCellType() , WIDGET_0)) {
+ throw new IllegalStateException_0('Cannot fetch Widget from a cell with type ' + this$static.type_0);
+ }
+ return dynamicCast(this$static.content_0, 17);
+}
+
+function $setColspan(this$static, colspan){
+ if (colspan < 1) {
+ throw new IllegalArgumentException_0('Colspan cannot be less than 1');
+ }
+ this$static.colspan = colspan;
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setHtml(this$static, html){
+ this$static.content_0 = html;
+ this$static.type_0 = ($clinit_GridStaticCellType() , HTML_1);
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setSection(this$static, section){
+ this$static.section = section;
+}
+
+function $setText_0(this$static, text_0){
+ this$static.content_0 = text_0;
+ this$static.type_0 = ($clinit_GridStaticCellType() , TEXT_0);
+ $requestSectionRefresh(this$static.section);
+}
+
+function $setWidget_1(this$static, widget){
+ this$static.content_0 = widget;
+ this$static.type_0 = ($clinit_GridStaticCellType() , WIDGET_0);
+ $requestSectionRefresh(this$static.section);
+}
+
+defineClass(102, 1, {102:1});
+_.colspan = 1;
+_.content_0 = null;
+var Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection/StaticCell', 102, Ljava_lang_Object_2_classLit);
+function Grid$HeaderCell(){
+ this.type_0 = ($clinit_GridStaticCellType() , TEXT_0);
+}
+
+defineClass(85, 102, {85:1, 102:1}, Grid$HeaderCell);
+var Lcom_vaadin_client_widgets_Grid$HeaderCell_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/HeaderCell', 85, Lcom_vaadin_client_widgets_Grid$StaticSection$StaticCell_2_classLit);
+function $addCell(this$static, column){
+ var cell;
+ cell = new Grid$HeaderCell;
+ $setSection(cell, this$static.section);
+ this$static.cells_0.put(column, cell);
+}
+
+function $getCell_0(this$static, column){
+ var cellGroup;
+ cellGroup = $getCellGroupForColumn(this$static, column);
+ if (cellGroup) {
+ return dynamicCast(this$static.cellGroups.get_1(cellGroup), 102);
+ }
+ return dynamicCast(this$static.cells_0.get_1(column), 102);
+}
+
+function $getCellGroupForColumn(this$static, column){
+ var group, group$iterator;
+ for (group$iterator = $iterator(new AbstractMap$1(this$static.cellGroups)); group$iterator.val$outerIter2.hasNext();) {
+ group = dynamicCast($next_3(group$iterator), 64);
+ if (group.contains_0(column)) {
+ return group;
+ }
+ }
+ return null;
+}
+
+defineClass(84, 1, {84:1});
+var Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSection/StaticRow', 84, Ljava_lang_Object_2_classLit);
+function Grid$HeaderRow(){
+ this.cells_0 = new HashMap;
+ this.cellGroups = new HashMap;
+ this.isDefault = false;
+}
+
+defineClass(227, 84, {84:1}, Grid$HeaderRow);
+_.isDefault = false;
+var Lcom_vaadin_client_widgets_Grid$HeaderRow_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/HeaderRow', 227, Lcom_vaadin_client_widgets_Grid$StaticSection$StaticRow_2_classLit);
+function $clinit_Grid$Section(){
+ $clinit_Grid$Section = emptyMethod;
+ HEADER = new Grid$Section('HEADER', 0);
+ BODY = new Grid$Section('BODY', 1);
+ FOOTER = new Grid$Section('FOOTER', 2);
+}
+
+function Grid$Section(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_9(){
+ $clinit_Grid$Section();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_client_widgets_Grid$Section_2_classLit, 1), $intern_4, 101, 0, [HEADER, BODY, FOOTER]);
+}
+
+defineClass(101, 5, {101:1, 3:1, 6:1, 5:1}, Grid$Section);
+var BODY, FOOTER, HEADER;
+var Lcom_vaadin_client_widgets_Grid$Section_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/Section', 101, Ljava_lang_Enum_2_classLit, values_9);
+function $initDone(this$static){
+ var checkBox, model;
+ if (instanceOf(this$static.this$01.selectionModel, 111) && !!this$static.this$01.header.defaultRow) {
+ model = dynamicCast(this$static.this$01.selectionModel, 111);
+ checkBox = new CheckBox;
+ $addValueChangeHandler_0(checkBox, new Grid$SelectionColumn$1(this$static, model));
+ $setWidget_1(dynamicCast($getCell_0(this$static.this$01.header.defaultRow, this$static), 85), checkBox);
+ }
+ $setWidth_4(this$static, -1);
+ this$static.initDone = true;
+}
+
+function $setWidth_4(this$static, pixels){
+ if (pixels != this$static.widthUser && this$static.initDone) {
+ throw new UnsupportedOperationException_0('The selection column cannot be modified after init');
+ }
+ else {
+ $setWidth_3(this$static, pixels);
+ }
+ return this$static;
+}
+
+function Grid$SelectionColumn(this$0, selectColumnRenderer){
+ this.this$01 = this$0;
+ Grid$Column.call(this, selectColumnRenderer);
+ this.initDone = false;
+}
+
+defineClass(231, 33, {33:1}, Grid$SelectionColumn);
+_.getExpandRatio = function(){
+ return 0;
+}
+;
+_.getMaximumWidth = function(){
+ return -1;
+}
+;
+_.getMinimumWidth = function(){
+ return -1;
+}
+;
+_.getValue_0 = function(row){
+ return $clinit_Boolean() , $isSelected_0(this.this$01, row)?TRUE:FALSE;
+}
+;
+_.setWidth_0 = function(pixels){
+ return $setWidth_4(this, pixels);
+}
+;
+_.initDone = false;
+var Lcom_vaadin_client_widgets_Grid$SelectionColumn_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/SelectionColumn', 231, Lcom_vaadin_client_widgets_Grid$Column_2_classLit);
+function Grid$SelectionColumn$1(this$1, val$model){
+ this.this$11 = this$1;
+ this.val$model2 = val$model;
+}
+
+defineClass(238, 1, $intern_38, Grid$SelectionColumn$1);
+_.onValueChange_0 = function(event_0){
+ dynamicCast(event_0.value_0, 42).value_0?$fireEvent_0(this.this$11.this$01, new SelectAllEvent):$deselectAll(this.val$model2);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionColumn$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/SelectionColumn/1', 238, Ljava_lang_Object_2_classLit);
+function $clinit_Grid$SelectionMode(){
+ $clinit_Grid$SelectionMode = emptyMethod;
+ SINGLE = new Grid$SelectionMode$1;
+ MULTI = new Grid$SelectionMode$2;
+ NONE_1 = new Grid$SelectionMode$3;
+}
+
+function Grid$SelectionMode(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_10(){
+ $clinit_Grid$SelectionMode();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, 1), $intern_4, 71, 0, [SINGLE, MULTI, NONE_1]);
+}
+
+defineClass(71, 5, $intern_44);
+var MULTI, NONE_1, SINGLE;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode', 71, Ljava_lang_Enum_2_classLit, values_10);
+function Grid$SelectionMode$1(){
+ Grid$SelectionMode.call(this, 'SINGLE', 0);
+}
+
+defineClass(241, 71, $intern_44, Grid$SelectionMode$1);
+_.createModel = function(){
+ return new SelectionModelSingle;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$1_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/1', 241, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function Grid$SelectionMode$2(){
+ Grid$SelectionMode.call(this, 'MULTI', 1);
+}
+
+defineClass(242, 71, $intern_44, Grid$SelectionMode$2);
+_.createModel = function(){
+ return new SelectionModelMulti;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$2_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/2', 242, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function Grid$SelectionMode$3(){
+ Grid$SelectionMode.call(this, 'NONE', 2);
+}
+
+defineClass(243, 71, $intern_44, Grid$SelectionMode$3);
+_.createModel = function(){
+ return new SelectionModelNone;
+}
+;
+var Lcom_vaadin_client_widgets_Grid$SelectionMode$3_2_classLit = createForEnum('com.vaadin.client.widgets', 'Grid/SelectionMode/3', 243, Lcom_vaadin_client_widgets_Grid$SelectionMode_2_classLit, null);
+function $getSortOrder(this$static, column){
+ var order, order$iterator;
+ for (order$iterator = new Collections$UnmodifiableCollectionIterator(unmodifiableList(this$static.this$01.sortOrder).coll.iterator_0()); order$iterator.it.hasNext();) {
+ order = throwClassCastExceptionUnlessNull(order$iterator.it.next_0());
+ if (null.nullField == column) {
+ return order;
+ }
+ }
+ return null;
+}
+
+function $postAttach(this$static, row, attachedCells){
+ var cell, cell$iterator, cellElement, columns, gridRow, metadata, widget;
+ gridRow = $getRow_0(this$static.section, row.row);
+ columns = unmodifiableList(new ArrayList_1(this$static.this$01.columns));
+ for (cell$iterator = attachedCells.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ metadata = $getCell_0(gridRow, dynamicCast($get_8(columns, cell.column), 33));
+ if (($clinit_GridStaticCellType() , WIDGET_0) == metadata.type_0) {
+ widget = $getWidget(metadata);
+ cellElement = cell.element;
+ if (!widget.isAttached()) {
+ $appendChild(cellElement, ($clinit_DOM() , widget.element));
+ setParent(widget, this$static.this$01);
+ }
+ }
+ }
+}
+
+function $preDetach(this$static, row, cellsToDetach){
+ var cell, cell$iterator, columns, gridRow, metadata, widget;
+ if (this$static.section.rows_0.array.length > row.row) {
+ gridRow = $getRow_0(this$static.section, row.row);
+ columns = unmodifiableList(new ArrayList_1(this$static.this$01.columns));
+ for (cell$iterator = cellsToDetach.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ metadata = $getCell_0(gridRow, dynamicCast($get_8(columns, cell.column), 33));
+ if (($clinit_GridStaticCellType() , WIDGET_0) == metadata.type_0 && $getWidget(metadata).isAttached()) {
+ widget = $getWidget(metadata);
+ setParent(widget, null);
+ $removeFromParent(($clinit_DOM() , widget.element));
+ }
+ }
+ }
+}
+
+function Grid$StaticSectionUpdater(this$0, section, container){
+ this.this$01 = this$0;
+ this.section = section;
+ this.container = container;
+}
+
+defineClass(157, 1, {}, Grid$StaticSectionUpdater);
+_.postAttach = function(row, attachedCells){
+ $postAttach(this, row, attachedCells);
+}
+;
+_.postDetach = function(row, detachedCells){
+}
+;
+_.preAttach = function(row, cellsToAttach){
+}
+;
+_.preDetach = function(row, cellsToDetach){
+ $preDetach(this, row, cellsToDetach);
+}
+;
+_.update = function(row, cellsToUpdate){
+ var cell, cell$iterator, columns, element, metadata, staticRow, cellElement, column;
+ staticRow = $getRow_0(this.section, row.row);
+ columns = unmodifiableList(new ArrayList_1(this.this$01.columns));
+ setCustomStyleName(row.element);
+ for (cell$iterator = cellsToUpdate.iterator_0(); cell$iterator.hasNext();) {
+ cell = dynamicCast(cell$iterator.next_0(), 37);
+ metadata = $getCell_0(staticRow, dynamicCast($get_8(columns, cell.column), 33));
+ !!staticRow && (cellElement = cell.element , $removeAttribute(cellElement, 'sort-order') , $removeClassName(cellElement, 'sort-desc') , $removeClassName(cellElement, 'sort-asc') , column = $getColumn(this.this$01, cell.column) , $getSortOrder(this, column) , undefined);
+ $setColSpan(cell, metadata.colspan);
+ element = cell.element;
+ switch (metadata.type_0.ordinal) {
+ case 0:
+ $setInnerText(element, $getText(metadata));
+ break;
+ case 1:
+ $setInnerHTML(element, $getHtml(metadata));
+ break;
+ case 2:
+ $preDetach(this, row, new Arrays$ArrayList(initValues(getClassLiteralForArray(Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit, 1), $intern_4, 37, 0, [cell])));
+ $setInnerHTML(element, '');
+ $postAttach(this, row, new Arrays$ArrayList(initValues(getClassLiteralForArray(Lcom_vaadin_client_widget_escalator_FlyweightCell_2_classLit, 1), $intern_4, 37, 0, [cell])));
+ }
+ setCustomStyleName(element);
+ $updateFocusedCellStyle(this.this$01.cellFocusHandler, cell, this.container);
+ }
+}
+;
+var Lcom_vaadin_client_widgets_Grid$StaticSectionUpdater_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/StaticSectionUpdater', 157, Ljava_lang_Object_2_classLit);
+function $sort(this$static, column){
+ if ($indexOf_3(this$static.this$01.columns, column, 0) == -1) {
+ throw new IllegalArgumentException_0('Given column is not a column in this grid. ' + $toString_3(column));
+ }
+ return;
+}
+
+function Grid$UserSorter(this$0){
+ this.this$01 = this$0;
+ new Grid$UserSorter$1(this);
+}
+
+defineClass(232, 1, {}, Grid$UserSorter);
+var Lcom_vaadin_client_widgets_Grid$UserSorter_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/UserSorter', 232, Ljava_lang_Object_2_classLit);
+function Grid$UserSorter$1(this$1){
+ this.this$11 = this$1;
+ Timer.call(this);
+}
+
+defineClass(239, 48, {}, Grid$UserSorter$1);
+_.run = function(){
+ $sort(this.this$11, this.this$11.column);
+}
+;
+var Lcom_vaadin_client_widgets_Grid$UserSorter$1_2_classLit = createForClass('com.vaadin.client.widgets', 'Grid/UserSorter/1', 239, Lcom_google_gwt_user_client_Timer_2_classLit);
+function VaadinComponents$1(){
+ Function_0.call(this);
+}
+
+defineClass(206, 7, $intern_20, VaadinComponents$1);
+_.f_0 = function(){
+ var e, e$array, e$index, e$max;
+ for (e$array = ($clinit_GQuery() , $_1('v-grid', document_0)).elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ $wnd.console.log('Redrawing ' + e);
+ setTimeout(e.redraw(), 10);
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_entrypoints_VaadinComponents$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.entrypoints', 'VaadinComponents/1', 206, Lcom_google_gwt_query_client_Function_2_classLit);
+function $clinit_HTMLDocument(){
+ $clinit_HTMLDocument = emptyMethod;
+ throwClassCastExceptionUnlessNull($doc);
+}
+
+defineClass(552, 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 Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.html', 'HTMLElement/Prototype', 552, Ljava_lang_Object_2_classLit);
+defineClass(553, 552, {});
+var Lcom_vaadin_prototype_wc_gwt_client_html_HTMLTableElement$Prototype_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.html', 'HTMLTableElement/Prototype', 553, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+function $clinit_HTMLWindow(){
+ $clinit_HTMLWindow = emptyMethod;
+ window_2 = $wnd;
+}
+
+var window_2;
+function $clinit_ElementResizeManager(){
+ $clinit_ElementResizeManager = emptyMethod;
+ elementResizeListeners = new HashMap;
+ resizeHelpers = new HashMap;
+ deferHandles = new HashMap;
+ previousSizes = new HashMap;
+ scheduleFrame = getScheduleFrame();
+ cancelFrame = getCancelFrame();
+}
+
+function addResizeListener(element, listener){
+ var helper, expandDiv, contractDiv;
+ $clinit_ElementResizeManager();
+ var listeners;
+ $equals_2($getPosition(element.style), ($clinit_Style$Position() , STATIC)) && $setPropertyImpl(element.style, 'position', 'relative');
+ listeners = dynamicCast(elementResizeListeners.get_1(element), 28);
+ if (!listeners) {
+ listeners = new HashSet;
+ elementResizeListeners.put(element, listeners);
+ }
+ !!dynamicCastJso(resizeHelpers.get_1(element)) || (helper = ($clinit_DOM() , $createDivElement($doc)) , $addClassName(helper, 'v-resize-helper') , expandDiv = $createDivElement($doc) , $addClassName(expandDiv, 'v-resize-helper-expand') , $appendChild(expandDiv, $createDivElement($doc)) , helper.appendChild(expandDiv) , contractDiv = $createDivElement($doc) , $addClassName(contractDiv, 'v-resize-helper-contract') , helper.appendChild(contractDiv) , resizeHelpers.put(element, helper) , element.appendChild(helper) , $schedule(new ElementResizeManager$1(element), 1) , undefined);
+ listeners.add_1(listener);
+ return listener;
+}
+
+function addScrollListener(element){
+ $clinit_ElementResizeManager();
+ element.addEventListener('scroll', onElementScroll, true);
+}
+
+function getCancelFrame(){
+ var cancelFunction = $wnd.cancelAnimationFrame || $wnd.mozCancelAnimationFrame || $wnd.webkitCancelAnimationFrame || $wnd.clearTimeout;
+ return function(id_0){
+ return cancelFunction(id_0);
+ }
+ ;
+}
+
+function getDeferHandle(element){
+ return dynamicCastJso(deferHandles.get_1(element));
+}
+
+function getPreviousSize(element){
+ $clinit_ElementResizeManager();
+ return dynamicCast(previousSizes.get_1(element), 129);
+}
+
+function getScheduleFrame(){
+ var frameFunction = $wnd.requestAnimationFrame || $wnd.mozRequestAnimationFrame || $wnd.webkitRequestAnimationFrame || function(deferredFunction){
+ return $wnd.setTimeout(deferredFunction, 20);
+ }
+ ;
+ return function(deferredFunction){
+ return frameFunction(deferredFunction);
+ }
+ ;
+}
+
+function onElementScroll(event_0){
+ var target = event_0.currentTarget;
+ resetHelpers(target);
+ var deferHandle = getDeferHandle(target);
+ if (deferHandle) {
+ var cancelFrameFunction = cancelFrame;
+ cancelFrameFunction(deferHandle);
+ }
+ var scheduleFrameFunction = scheduleFrame;
+ deferHandle = scheduleFrameFunction(function(){
+ var previousSize = getPreviousSize(target);
+ if (target.offsetWidth != previousSize.width || target.offsetHeight != previousSize.height) {
+ var currentSize = new ElementResizeManager$Size(target.offsetWidth, target.offsetHeight);
+ triggerResize(target, previousSize, currentSize);
+ setPreviousSize(target, currentSize);
+ }
+ }
+ );
+ setDeferHandle(target, deferHandle);
+}
+
+function resetHelpers(element){
+ $clinit_ElementResizeManager();
+ var helpers = dynamicCastJso(resizeHelpers.get_1(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 setDeferHandle(element, handle){
+ deferHandles.put(element, handle);
+}
+
+function setPreviousSize(element, size_0){
+ $clinit_ElementResizeManager();
+ previousSizes.put(element, size_0);
+}
+
+function triggerResize(element, previousSize, newSize){
+ var listener, listener$iterator, rowCount;
+ $ensureNamesAreInitialized(Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_2_classLit);
+ for (listener$iterator = dynamicCast(elementResizeListeners.get_1(element), 28).iterator_0(); listener$iterator.hasNext();) {
+ listener = dynamicCast(listener$iterator.next_0(), 583);
+ rowCount = listener.this$01.size_0;
+ rowCount == 0 && (listener.this$01.vals?(rowCount = listener.this$01.vals.size_2()):!!listener.this$01.grid.dataSource_0 && (rowCount = listener.this$01.grid.dataSource_0.size_2()));
+ $adjustHeight_0(listener.this$01, rowCount);
+ }
+}
+
+var cancelFrame, deferHandles, elementResizeListeners, previousSizes, resizeHelpers, scheduleFrame;
+var Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.ui', 'ElementResizeManager', null, Ljava_lang_Object_2_classLit);
+function ElementResizeManager$1(val$element){
+ this.val$element1 = val$element;
+ Timer.call(this);
+}
+
+defineClass(306, 48, {}, ElementResizeManager$1);
+_.run = function(){
+ resetHelpers(this.val$element1);
+ !getPreviousSize(this.val$element1) && setPreviousSize(this.val$element1, new ElementResizeManager$Size(0, 0));
+ addScrollListener(this.val$element1);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.ui', 'ElementResizeManager/1', 306, Lcom_google_gwt_user_client_Timer_2_classLit);
+function ElementResizeManager$Size(width_0, height){
+}
+
+defineClass(129, 1, {129:1}, ElementResizeManager$Size);
+var Lcom_vaadin_prototype_wc_gwt_client_ui_ElementResizeManager$Size_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.ui', 'ElementResizeManager/Size', 129, Ljava_lang_Object_2_classLit);
+function $clinit_Elements(){
+ $clinit_Elements = emptyMethod;
+ new HashSet;
+ window_3 = ($clinit_HTMLWindow() , window_2);
+ document_1 = window_3.document;
+ document_1.head;
+ document_1.body;
+ monkeyPatchHTMLElement();
+}
+
+function getWCOptions(elem){
+ function mixin(dest, src_0){
+ for (var k_0 in src_0) {
+ if (src_0.hasOwnProperty(k_0)) {
+ var r = /^jsProperty([A-Z].+)$/.exec(k_0);
+ 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_0] = src_0[k_0];
+ }
+ }
+ }
+ }
+
+ 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 isEventListener(o){
+ return instanceOf(o, 20);
+}
+
+function monkeyPatchHTMLElement(){
+ 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 = isEventListener(obj)?function(e){
+ obj.onBrowserEvent(e);
+ }
+ :obj;
+ $wnd.__addEventListener_org.call(this, name_0, fnc, bol);
+ }
+ ;
+ $wnd.HTMLElement.prototype.addEventListener = $wnd.__addEventListener_patched;
+}
+
+function registerElement(tag, elem){
+ $clinit_Elements();
+ var js;
+ js = getWCOptions(elem);
+ document_1.registerElement(tag, js);
+}
+
+var document_1, window_3;
+function $groupEnd(){
+ var groupEnd = console.groupEnd || function(){
+ }
+ ;
+ groupEnd.call(console);
+}
+
+function $logException(this$static, t, isCause){
+ var cause, cause$iterator, msg, umbrella, groupStart, logError, backingError;
+ msg = $toString_0(t);
+ isCause && (msg = 'caused by: ' + msg);
+ groupStart = console.groupCollapsed || console.group || console.error || console.log;
+ groupStart.call(console, msg);
+ logError = console.error || console.log;
+ backingError = t.__gwt$backingJsError;
+ logError.call(console, backingError && backingError.stack);
+ if (instanceOf(t, 94)) {
+ umbrella = dynamicCast(t, 94);
+ for (cause$iterator = umbrella.causes.iterator_0(); cause$iterator.hasNext();) {
+ cause = dynamicCast(cause$iterator.next_0(), 12);
+ $logException(this$static, cause, true);
+ }
+ }
+ else
+ !!t.cause && $logException(this$static, t.cause, true);
+ $groupEnd();
+}
+
+function SuperDevModeUncaughtExceptionHandler(){
+}
+
+defineClass(205, 1, {}, SuperDevModeUncaughtExceptionHandler);
+var Lcom_vaadin_prototype_wc_gwt_client_util_SuperDevModeUncaughtExceptionHandler_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.util', 'SuperDevModeUncaughtExceptionHandler', 205, Ljava_lang_Object_2_classLit);
+function WCFormat(){
+}
+
+function formatCurrency(val){
+ var fmt;
+ fmt = ($clinit_NumberFormat() , !cachedCurrencyFormat && (cachedCurrencyFormat = new NumberFormat_0(['USD', 'US$', 2, 'US$', '$'])) , $clinit_NumberFormat() , cachedCurrencyFormat);
+ return $format(fmt, val);
+}
+
+defineClass(554, 1, {}, WCFormat);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCFormat_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCFormat', 554, Ljava_lang_Object_2_classLit);
+function getAttrFloatValue(el, attr, def){
+ try {
+ return (new Float_0(getAttrValue(el, attr, '' + def))).value_0;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 73)) {
+ return 0;
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function getAttrValue(el, attr, def){
+ var val;
+ val = el.getAttribute(attr);
+ return val == null || !val.length?def:val;
+}
+
+function linksAndScripts(g){
+ var d, e, e$array, e$index, e$max, imports, toAdd;
+ imports = $find(g, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ["link[rel='import'], script[src]"]));
+ $each(imports, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new WCUtils$4(g)]));
+ toAdd = ($clinit_GQuery() , new GQuery_3(create_4(null)));
+ for (e$array = imports.elements , e$index = 0 , e$max = e$array.length; e$index < e$max; ++e$index) {
+ e = e$array[e$index];
+ d = dynamicCastJso($prop(new GQuery_0(e), 'import'));
+ !!d && $add(toAdd, linksAndScripts(new GQuery_0(d)));
+ }
+ return $pushStack(imports, copyNodeList(imports.nodeList, toAdd.nodeList, true), $join(',', initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, [imports.currentSelector, toAdd.currentSelector])));
+}
+
+function loadTheme(container, style, theme){
+ var base, l, links_0, s, v, global, key;
+ links_0 = linksAndScripts(($clinit_GQuery() , new GQuery_0(document_0)));
+ l = $filter(links_0, new WCUtils$5);
+ s = $filter(links_0, new WCUtils$6);
+ v = $filter(links_0, new WCUtils$7);
+ base = $replace_0((key = '__gwtDevModeHook:' + $moduleName + ':moduleBase' , global = $wnd || self , global[key] || $moduleBase), $moduleName + '/', '');
+ if (l.elements.length == 0) {
+ base.indexOf('VAADIN/widgetsets') != -1?(base += '../themes/'):v.elements.length == 0?s.elements.length == 0 || (base += 'VAADIN/themes/'):(base = $replace_0(v.elements.length == 0?'':$getAttribute($get(v, 0), 'src'), 'vaadin-components.js', 'themes/'));
+ }
+ else {
+ base = $replaceFirst(l.elements.length == 0?'':$getAttribute($get(l, 0), 'href'), '[\\w\\-]+\\.html', '');
+ $matches(base, '^(|/|.*[\\w\\-]/)$')?(base += '../vaadin-'):(base += 'VAADIN/themes/');
+ }
+ base += theme + '/styles.css';
+ $addClass(container, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, [theme]));
+ $text_0(style, "@import url('" + base + "')");
+}
+
+function loadVaadinGlobalTheme(f){
+ $done(ready(initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [])), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new WCUtils$2(f)]));
+}
+
+function loadVaadinTheme(container, el, style, f){
+ var theme;
+ theme = getAttrValue(el, 'theme', null);
+ if (theme == null) {
+ return;
+ }
+ if ($indexOf_0($text($_0(style)), theme) != -1) {
+ return;
+ }
+ loadTheme($_0(container), $_0(style), theme);
+ waitUntilThemeLoaded($_0(style), f);
+}
+
+function observe(jso, ev){
+ var fnc = function(changes){
+ ev.onBrowserEvent(null);
+ }
+ ;
+ jso.__fnc = fnc;
+ Object.observe(jso, fnc);
+}
+
+function ready(fncs){
+ return $done(new WCUtils$1, fncs);
+}
+
+function unobserve(jso){
+ if (jso && jso.__fnc) {
+ Object.unobserve(jso, jso.__fnc);
+ jso.__fnc = undefined;
+ }
+}
+
+function waitUntilThemeLoaded(style, f){
+ var r, s;
+ s = dynamicCastJso(style.elements.length == 0?null:prop_0($get(style, 0), 'sheet'));
+ if (s) {
+ r = dynamicCastJso(!s?null:$get_1(s, 'cssRules'));
+ !!r && r.length > 0 && $scheduleIncremental(($clinit_SchedulerImpl() , INSTANCE), new WCUtils$3(r, style, f));
+ }
+}
+
+function $f_3(this$static, dfd){
+ 'complete' === $prop(($clinit_GQuery() , $clinit_GQuery() , new GQuery_0(document_0)), 'readyState')?$resolve(dfd, initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [])):$schedule(new WCUtils$1$1(this$static, dfd), 5);
+}
+
+function WCUtils$1(){
+ PromiseFunction.call(this);
+}
+
+defineClass(316, 151, $intern_24, WCUtils$1);
+_.f_3 = function(dfd){
+ $f_3(this, dfd);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/1', 316, Lcom_google_gwt_query_client_plugins_deferred_PromiseFunction_2_classLit);
+function WCUtils$1$1(this$1, val$dfd){
+ this.this$11 = this$1;
+ this.val$dfd2 = val$dfd;
+ Timer.call(this);
+}
+
+defineClass(317, 48, {}, WCUtils$1$1);
+_.run = function(){
+ $f_3(this.this$11, this.val$dfd2);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$1$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/1/1', 317, Lcom_google_gwt_user_client_Timer_2_classLit);
+function WCUtils$2(val$f){
+ this.val$f1 = val$f;
+ Function_0.call(this);
+}
+
+defineClass(318, 7, $intern_20, WCUtils$2);
+_.f_0 = function(){
+ var body_0, style, theme;
+ body_0 = ($clinit_GQuery() , $_1('body', document_0));
+ theme = body_0.elements.length == 0?'':$getAttribute($get(body_0, 0), 'vaadin-theme');
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [theme])));
+ if (theme.length) {
+ style = $_1('#__vaadin-style', document_0);
+ style.elements.length == 0 && (style = $appendTo($_1("<style id='__vaadin-style' language='text/css'><\/style>", document_0), $_1('head', document_0)));
+ loadTheme(body_0, style, theme);
+ waitUntilThemeLoaded(style, this.val$f1);
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/2', 318, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCUtils$3(val$r, val$style, val$f){
+ this.val$r1 = val$r;
+ this.val$style2 = val$style;
+ this.val$f3 = val$f;
+}
+
+defineClass(319, 1, {}, WCUtils$3);
+_.execute_0 = function(){
+ var s;
+ s = dynamicCastJso(this.val$r1[0]);
+ dynamicCastJso(!s?null:$get_1(s, 'styleSheet'));
+ if (!!this.val$r1 && this.val$r1.length > 0) {
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [($clinit_GQuery() , 'Theme fully loaded: ' + this.val$style2)])));
+ !!this.val$f3 && this.val$f3.f_0();
+ return false;
+ }
+ return true;
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$3_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/3', 319, Ljava_lang_Object_2_classLit);
+function WCUtils$4(val$g){
+ this.val$g1 = val$g;
+ Function_0.call(this);
+}
+
+defineClass(320, 7, $intern_20, WCUtils$4);
+_.f_0 = function(){
+ var a, attr;
+ a = $_1('<a>', $get(this.val$g1, 0));
+ attr = $prop(($clinit_GQuery() , new GQuery_0(this.element)), 'href') != null?'href':'src';
+ $prop_0(a, $attr(new GQuery_0(this.element), attr));
+ $attr_0(new GQuery_0(this.element), attr, a.elements.length == 0?null:prop_0($get(a, 0), 'href'));
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$4_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/4', 320, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCUtils$5(){
+}
+
+defineClass(321, 47, $intern_21, WCUtils$5);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr(($clinit_GQuery() , new GQuery_0(e)), 'href');
+ return $matches(h, '^(|.*/)(vaadin-[\\w\\-]+)\\.html');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$5_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/5', 321, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function WCUtils$6(){
+}
+
+defineClass(322, 47, $intern_21, WCUtils$6);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr(($clinit_GQuery() , new GQuery_0(e)), 'src');
+ return $matches(h, '^.*\\.nocache.js.*');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$6_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/6', 322, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function WCUtils$7(){
+}
+
+defineClass(323, 47, $intern_21, WCUtils$7);
+_.f_2 = function(e, index_0){
+ var h;
+ h = $attr(($clinit_GQuery() , new GQuery_0(e)), 'src');
+ return $equals_2(__substr(h, h.length - 20, 20), 'vaadin-components.js');
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCUtils$7_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCUtils/7', 323, Lcom_google_gwt_query_client_Predicate_2_classLit);
+function $adjustHeight(this$static){
+ this$static.size_0 = this$static.grid.dataSource_0.size_2();
+ $adjustHeight_0(this$static, this$static.size_0);
+}
+
+function $adjustHeight_0(this$static, size_0){
+ var paramsForName;
+ if ((ensureListParameterMap() , paramsForName = dynamicCast(listParamMap.get_1('resize'), 30) , !paramsForName?null:dynamicCastToString(paramsForName.get_0(paramsForName.size_2() - 1))) != null && size_0 > 0) {
+ this$static.size_0 = size_0;
+ $setHeightMode_0(this$static.grid, ($clinit_HeightMode() , ROW));
+ $setHeightByRows_0(this$static.grid, size_0 < 10?size_0:10);
+ }
+}
+
+function $getGrid(this$static){
+ if (!this$static.grid) {
+ this$static.changed = true;
+ $initGrid(this$static);
+ }
+ return this$static.grid;
+}
+
+function $initGrid(this$static){
+ var c, cell, col, content_0, dataSource, header, i_0, j, k_0, l, offset, row, templateRegexp;
+ if (!this$static.changed) {
+ return;
+ }
+ this$static.changed = false;
+ dataSource = this$static.grid.dataSource_0;
+ instanceOf(this$static.grid.selectionModel, 128) && $equals_2($attr($_0(this$static), 'selectionMode'), 'multi')?$setSelectionMode(this$static.grid, ($clinit_Grid$SelectionMode() , MULTI)):instanceOf(this$static.grid.selectionModel, 105) && !$equals_2($attr($_0(this$static), 'selectionMode'), 'multi') && $setSelectionMode(this$static.grid, ($clinit_Grid$SelectionMode() , SINGLE));
+ while (this$static.gridColumns.array.length > 0) {
+ $removeColumn(this$static.grid, dynamicCast(this$static.gridColumns.remove_3(0), 33));
+ }
+ if (this$static.cols_0) {
+ for (i_0 = 0 , l = this$static.cols_0.size_2(); i_0 < l; i_0++) {
+ c = dynamicCast(this$static.cols_0.get_0(i_0), 77);
+ col = (templateRegexp = new RegExp('\\{\\{data\\}\\}', 'ig') , new WCVGrid$3(new WCVGrid$2(c, templateRegexp), c, i_0));
+ $addColumn(this$static.grid, col);
+ $add_6(this$static.gridColumns, col);
+ for (j = 0; j < $headerData(c).array.length; j++) {
+ this$static.grid.header.rows_0.array.length < $headerData(c).array.length && $appendRow(this$static.grid.header);
+ header = dynamicCast($get_7($headerData(c), j), 95);
+ offset = 0;
+ for (k_0 = 0; k_0 <= j + offset; k_0++) {
+ row = $getHeaderRow(this$static.grid, k_0);
+ dynamicCast($getCell_0(row, $getColumn(this$static.grid, i_0)), 85).colspan != 1 && ++offset;
+ }
+ cell = dynamicCast($getCell_0($getHeaderRow(this$static.grid, j + offset), col), 85);
+ $setColspan(cell, round_int($getFloat(header.p, 'colSpan')));
+ content_0 = $get_0(header.p, 'content');
+ switch (valueOf_0($getStr(header.p, 'format')).ordinal) {
+ case 1:
+ $setHtml(cell, dynamicCastToString(content_0));
+ break;
+ case 2:
+ $setWidget_1(cell, dynamicCast(content_0, 17));
+ break;
+ case 0:
+ $setText_0(cell, dynamicCastToString(content_0));
+ }
+ }
+ }
+ $setDefaultHeaderRow(this$static.grid, $getHeaderRow(this$static.grid, this$static.headerDefaultRowIndex));
+ }
+ this$static.loadRows();
+ !!this$static.vals && !this$static.vals.isEmpty() && (dataSource = new ListDataSource(this$static.vals));
+ !!dataSource && $setDataSource(this$static.grid, dataSource);
+ addResizeListener($getElement(this$static.grid), new WCVGrid$1(this$static));
+}
+
+function $setCols(this$static, cols_0){
+ this$static.changed = true;
+ this$static.cols_0 = cols_0;
+}
+
+function WCVGrid(){
+ this.$init();
+}
+
+function c_0(r){
+ r.defaultRowHeightShouldBeAutodetected = true;
+ r.autodetectRowHeightLater();
+}
+
+function createGridColumn(gColumn, idx){
+ var templateRegexp;
+ templateRegexp = new RegExp('\\{\\{data\\}\\}', 'ig');
+ return new WCVGrid$3(new WCVGrid$2(gColumn, templateRegexp), gColumn, idx);
+}
+
+defineClass(209, 553, {196:1, 146:1, 22:1, 531:1, 530:1}, WCVGrid);
+_.$init = function(){
+}
+;
+_.adjustHeight = function(){
+ $adjustHeight(this);
+}
+;
+_.adjustHeight_0 = function(size_0){
+ $adjustHeight_0(this, size_0);
+}
+;
+_.attachedCallback = function(){
+ this.initWidgetSystem();
+ this.readAttributes();
+}
+;
+_.attributeChangedCallback = function(){
+ this.refreshing || this.readAttributes();
+}
+;
+_.createdCallback = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.style_0.setAttribute('language', 'text/css');
+ this.selectEvent = document_1.createEvent('HTMLEvents');
+ this.selectEvent.initEvent('select', false, false);
+ this.selectEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.cols_0 = new ArrayList;
+ this.vals = new ArrayList;
+ this.gridColumns = new ArrayList;
+ this.grid = new Grid;
+ $addHandler_0(this.grid, this, ($clinit_SelectionEvent() , $clinit_SelectionEvent() , eventType_0));
+}
+;
+_.getCols = function(){
+ return this.cols_0;
+}
+;
+_.getColumns = function(){
+ var i_0, i0, l, l0;
+ if (this.columnsJso) {
+ for (i0 = 0 , l0 = this.columnsJso.length; i0 < l0; i0++) {
+ unobserve(dynamicCastJso(this.columnsJso[i0]));
+ }
+ }
+ this.columnsJso = dynamicCastJso($get_0($setColumns((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 96)), this.cols_0).p, 'columns'));
+ for (i_0 = 0 , l = this.columnsJso.length; i_0 < l; i_0++) {
+ observe(dynamicCastJso(this.columnsJso[i_0]), new WCVGrid$6(this));
+ }
+ return this.columnsJso;
+}
+;
+_.getDataSource = function(){
+ return createFunction();
+}
+;
+_.getGrid = function(){
+ return $getGrid(this);
+}
+;
+_.getHeightMode = function(){
+ return $toString_1(this.grid.escalator.heightMode);
+}
+;
+_.getRowCount = function(){
+ return this.size_0;
+}
+;
+_.getSelectedRow = function(){
+ return !this.grid || !this.grid.selectionModel || !instanceOf(this.grid.selectionModel, 97) || $getSelectedRow_0(this.grid) == null?-1:this.grid.dataSource_0.indexOf_0(dynamicCastJso($getSelectedRow_0(this.grid)));
+}
+;
+_.getSelectedRows = function(){
+ var c, i_0;
+ if (!this.selectedLock) {
+ !this.selectedJso && (this.selectedJso = []);
+ this.selectedJso.length = 0;
+ c = this.grid.selectionModel.getSelectedRows_0();
+ for (i_0 = c.iterator_0(); i_0.hasNext();) {
+ $push_0(this.selectedJso, this.grid.dataSource_0.indexOf_0(dynamicCastJso(i_0.next_0())));
+ }
+ unobserve(this.selectedJso);
+ observe(this.selectedJso, new WCVGrid$7(this));
+ }
+ return this.selectedJso;
+}
+;
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.initGrid = function(){
+ $initGrid(this);
+}
+;
+_.initWidgetSystem = function(){
+ var elementWidget, shadow, shadowPanel;
+ this.initialized || (this.lightDom = $observe_0(dynamicCast($as($hide($children($_0(this))), ($clinit_Observe() , Observe)), 119), $subtree($childList($characterData($attributes((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit), 581)))))), this));
+ if (!this.initialized) {
+ this.initialized = true;
+ elementWidget = $widget($_0(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($_0(this), ($clinit_GQuery() , Widgets)), 67)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ if (($clinit_Boolean() , $equalsIgnoreCase('true', getAttrValue(this, 'shadow', 'false'))?TRUE:FALSE).value_0) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($_0(this.container), ($clinit_GQuery() , Widgets)), 67)), 0), 36);
+ shadowPanel.add_0(this.grid);
+ }
+}
+;
+_.jsPropertyColumns = function(){
+}
+;
+_.jsPropertyDataSource = function(){
+}
+;
+_.jsPropertyHeight = function(){
+}
+;
+_.jsPropertyHeightMode = function(){
+}
+;
+_.jsPropertyRowCount = function(){
+}
+;
+_.jsPropertySelectedRow = function(){
+}
+;
+_.jsPropertySelectedRows = function(){
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.loadData = function(){
+ !!this.vals && !this.vals.isEmpty() && $setDataSource(this.grid, new ListDataSource(this.vals));
+}
+;
+_.loadHeaders = function(){
+ var $templateRow, $th, $theadRows, $ths, colList, colOffset, colSpan, colString, column, contentsMap, header, html, i_0, i0, i1, iterator, j, txt;
+ $theadRows = $find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['thead tr']));
+ txt = $toString_2($theadRows);
+ if ($theadRows.elements.length == 0 || $equals_2(txt, this.lastHeaders)) {
+ return;
+ }
+ this.lastHeaders = txt;
+ colList = new ArrayList;
+ contentsMap = new HashMap;
+ this.headerDefaultRowIndex = $index($theadRows, $get($find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['tr[default]'])), 0));
+ this.headerDefaultRowIndex == -1 && (this.headerDefaultRowIndex = 0);
+ for (i0 = 0; i0 < $theadRows.elements.length; i0++) {
+ $ths = $children_0(new GQuery_0($get($theadRows, i0)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['th']));
+ while (colList.array.length < $ths.elements.length) {
+ column = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 77));
+ contentsMap.put(column, new ArrayList);
+ setCheck(colList.array, colList.array.length, column);
+ }
+ }
+ for (i1 = 0; i1 < $theadRows.elements.length; i1++) {
+ $ths = $children_0(new GQuery_0($get($theadRows, i1)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['th']));
+ colOffset = 0;
+ for (j = 0; j < $ths.elements.length; j++) {
+ column = (checkElementIndex(j + colOffset, colList.array.length) , dynamicCast(colList.array[j + colOffset], 77));
+ header = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 95));
+ $th = new GQuery_0($get($ths, j));
+ $setValue_2(column, $th.elements.length == 0?'':$getAttribute($get($th, 0), 'name'));
+ colSpan = 1;
+ colString = $th.elements.length == 0?'':$getAttribute($get($th, 0), 'colspan');
+ if (colString.length) {
+ colSpan = __parseAndValidateInt(colString);
+ colOffset += colSpan - 1;
+ }
+ $setFormat($setContent(($setNumber(header.p, colSpan) , header), $th.elements.length == 0?'':$getInnerHTML($get($th, 0))), ($clinit_GData$GColumn$GHeader$Format() , HTML_0));
+ dynamicCast(contentsMap.get_1(column), 30).add_1(header);
+ }
+ }
+ iterator = $iterator(new AbstractMap$1(contentsMap));
+ $remove($find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['div[v-wc-container]'])), true);
+ $templateRow = $find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['tr[template] td']));
+ for (i_0 = 0; iterator.val$outerIter2.hasNext(); i_0++) {
+ column = dynamicCast($next_3(iterator), 77);
+ $setHeaderData(column, dynamicCast(contentsMap.get_1(column), 30));
+ if (i_0 < $templateRow.elements.length) {
+ html = $html(new GQuery_0($get($templateRow, i_0)));
+ $set(column.p, 'template', html);
+ }
+ }
+ this.changed = true;
+ this.cols_0 = colList;
+}
+;
+_.loadRows = function(){
+ var $td, $tr, a, i_0, tr, tr$array, tr$index, tr$max;
+ $tr = $find(this.lightDom, initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['tbody tr:not([template])']));
+ if ($tr.elements.length != 0) {
+ this.setVals(new ArrayList);
+ for (tr$array = $tr.elements , tr$index = 0 , tr$max = tr$array.length; tr$index < tr$max; ++tr$index) {
+ tr = tr$array[tr$index];
+ a = [];
+ this.vals.add_1(a);
+ $td = $find(($clinit_GQuery() , new GQuery_0(tr)), initValues(getClassLiteralForArray(Ljava_lang_String_2_classLit, 1), $intern_4, 2, 4, ['td']));
+ for (i_0 = 0; i_0 < $td.elements.length; i_0++) {
+ $push_1(a, $html(new GQuery_0($get($td, i_0))));
+ }
+ }
+ }
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.onMutation = function(mutations){
+ this.readAttributes();
+}
+;
+_.onSelect_0 = function(ev){
+ if (!this.refreshing) {
+ this.refreshing = true;
+ this.dispatchEvent(this.selectEvent);
+ this.setAttribute('selectedRow', '' + (this.selectedRow < 0?'':valueOf_2(this.selectedRow)));
+ this.refreshing = false;
+ }
+}
+;
+_.onSelect = makeBridgeMethod(_.onSelect_0, false, [false]);
+_.onValueChange_0 = function(ev){
+}
+;
+_.onValueChange = makeBridgeMethod(_.onValueChange_0, false, [false]);
+_.parseAttributeDeclarations = 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 = dynamicCastJso(prop_0(($clinit_GQuery() , window_1), match_0[1]));
+ if (isFunction(jso)) {
+ count = this.getAttribute('rowCount');
+ match_0 = regex.exec(count);
+ !!match_0 && (count = '' + prop_0(window_1, match_0[1]));
+ count != null && $matches(count, '[\\d\\.\\+]+') && (this.rowCount = valueOf_2(__parseAndValidateInt(count)).value_0);
+ this.dataSource = jso;
+ }
+ else if (isArray(jso)) {
+ this.vals = $values(dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 96)).set_0('values', jso), 96));
+ this.loadData();
+ }
+ else {
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, ['Unknown type of datasource: ' + jso])));
+ }
+ }
+}
+;
+_.readAttributes = function(){
+ var p, type_0, url_0;
+ loadVaadinTheme(this.container, this, this.style_0, new WCVGrid$4);
+ this.loadHeaders();
+ this.loadRows();
+ $initGrid(this);
+ this.parseAttributeDeclarations();
+ this.selectedRow = round_int(getAttrFloatValue(this, 'selectedRow', -1));
+ type_0 = getAttrValue(this, 'type', null);
+ url_0 = getAttrValue(this, 'url', null);
+ if ($equals_2('ajax', type_0) && url_0 != null) {
+ p = {};
+ $put(p, 'url', url_0);
+ this.dataSource = p;
+ }
+}
+;
+_.redraw = function(){
+ var columnConfiguration, e, i_0;
+ e = this.grid.escalator;
+ c_0(e.header);
+ c_0(e.footer);
+ c_0(e.body_0);
+ columnConfiguration = e.columnConfiguration;
+ for (i_0 = 0; i_0 < columnConfiguration.columns.array.length; i_0++) {
+ $setColumnWidth(columnConfiguration, i_0, ($checkValidColumnIndex(columnConfiguration, i_0) , dynamicCast($get_6(columnConfiguration.columns, i_0), 54).definedWidth));
+ }
+}
+;
+_.refresh = function(){
+ var a;
+ if (instanceOf(this.grid.dataSource_0, 66)) {
+ a = this.selectedRow;
+ $refresh(dynamicCast(this.grid.dataSource_0, 66));
+ if (a > 0) {
+ this.refreshing = true;
+ $_0(this).delay_0(5, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new WCVGrid$5(this, a)]));
+ }
+ }
+ else
+ !!this.grid.dataSource_0 && $setDataSource(this.grid, this.grid.dataSource_0);
+}
+;
+_.setCols = function(cols_0){
+ $setCols(this, cols_0);
+}
+;
+_.setColumnWidth = function(column, widht){
+ $getColumn(this.grid, column).setWidth_0(widht);
+}
+;
+_.setColumns = function(newCols){
+ this.changed = true;
+ this.cols_0 = $columns_0(dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 96)).set_0('columns', newCols), 96));
+}
+;
+_.setDataSource = function(jso){
+ if (isFunction(jso)) {
+ $setDataSource(this.grid, new GJsFuncDataSource(jso, this.size_0, this));
+ }
+ else if (isArray(jso)) {
+ this.loadHeaders();
+ $setDataSource(this.grid, new GJsObjectDataSource(jso, this));
+ }
+ else {
+ if ((!jso?null:$get_1(jso, 'url')) != null) {
+ this.loadHeaders();
+ new GRestDataSource(jso, this);
+ }
+ else {
+ throw new RuntimeException_0('Unknown jso: ' + jso);
+ }
+ }
+}
+;
+_.setHeight = function(height){
+ $setHeight_2(this.grid, height);
+}
+;
+_.setHeightMode = function(mode){
+ $setHeightMode_0(this.grid, ($clinit_HeightMode() , dynamicCast(valueOf(($clinit_HeightMode$Map() , $MAP_0), mode), 91)));
+}
+;
+_.setRowCount = function(rows_0){
+ this.size_0 = round_int(rows_0);
+ $adjustHeight_0(this, this.size_0);
+}
+;
+_.setSelectedRow = function(idx){
+ var $tmp$0;
+ idx < 0 || idx >= this.grid.dataSource_0.size_2()?this.selectedRow >= 0 && $deselect_1(this.grid, dynamicCastJso(this.grid.dataSource_0.getRow(this.selectedRow))):$select_4(this.grid, dynamicCastJso(this.grid.dataSource_0.getRow(idx)));
+ $tmp$0 = this;
+ trampolineBridgeMethod($tmp$0, $tmp$0.onSelect, $tmp$0.onSelect_0).bind($tmp$0)(null);
+}
+;
+_.setSelectedRows = function(arr){
+ var i_0, l;
+ arr != this.selectedJso && unobserve(this.selectedJso);
+ this.selectedJso = arr;
+ this.selectedLock = true;
+ this.grid.selectionModel.reset_1();
+ for (i_0 = 0 , l = this.selectedJso.length; i_0 < l; i_0++) {
+ $select_4(this.grid, dynamicCastJso(this.grid.dataSource_0.getRow(this.selectedJso[i_0])));
+ }
+ this.selectedLock = false;
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.setVals = function(vals){
+ this.changed = true;
+ this.vals = vals;
+}
+;
+_.changed = true;
+_.headerDefaultRowIndex = 0;
+_.initialized = false;
+_.lastHeaders = null;
+_.refreshing = false;
+_.selectedLock = false;
+_.size_0 = 0;
+var TAG = 'v-grid';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid', 209, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLTableElement$Prototype_2_classLit);
+function WCVGrid$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(210, 1, {583:1}, WCVGrid$1);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/1', 210, Ljava_lang_Object_2_classLit);
+function WCVGrid$2(val$gColumn, val$templateRegexp){
+ this.val$gColumn1 = val$gColumn;
+ this.val$templateRegexp2 = val$templateRegexp;
+}
+
+defineClass(211, 1, {}, WCVGrid$2);
+_.render = function(cell, data_0){
+ var elm, o;
+ o = $getJavaScriptObject(this.val$gColumn1.p, 'renderer');
+ elm = cell.cell.element;
+ if (o) {
+ if (isFunction(o)) {
+ runJavascriptFunction(o, 'call', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [o, elm, data_0, cell.rowReference.row]));
+ }
+ else {
+ if ($data(($clinit_GQuery() , new GQuery_0(elm))) == null) {
+ $data_0(new GQuery_0(elm), ($clinit_Boolean() , $clinit_Boolean() , TRUE));
+ runJavascriptFunction(o, 'init', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [elm]));
+ }
+ runJavascriptFunction(o, 'render', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [elm, data_0]));
+ }
+ }
+ else {
+ $getStr(this.val$gColumn1.p, 'template') != null?$setInnerHTML(elm, $replace(this.val$templateRegexp2, $getStr(this.val$gColumn1.p, 'template'), '' + data_0)):$setInnerHTML(elm, '' + data_0);
+ }
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/2', 211, Ljava_lang_Object_2_classLit);
+function $getValue_0(this$static, row){
+ var o, p;
+ o = $get_0(this$static.val$gColumn2.p, 'value');
+ if (instanceOfJso(o) && isFunction(dynamicCastJso(o))) {
+ o = runJavascriptFunction(dynamicCastJso(o), 'call', initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [o, row, valueOf_2(this$static.val$idx3)]));
+ }
+ else if (isJavaString(o)) {
+ o = !row?null:$get_1(row, o);
+ }
+ else {
+ if (isArray(row)) {
+ o = $getObject(row, this$static.val$idx3);
+ }
+ else {
+ p = row;
+ o = $getObject_0(p, $keys(p)[this$static.val$idx3]);
+ }
+ }
+ return o;
+}
+
+function WCVGrid$3($anonymous0, val$gColumn, val$idx){
+ this.val$gColumn2 = val$gColumn;
+ this.val$idx3 = val$idx;
+ Grid$Column.call(this, $anonymous0);
+}
+
+defineClass(212, 33, {33:1}, WCVGrid$3);
+_.getValue_0 = function(row){
+ return $getValue_0(this, dynamicCastJso(row));
+}
+;
+_.val$idx3 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$3_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/3', 212, Lcom_vaadin_client_widgets_Grid$Column_2_classLit);
+function WCVGrid$4(){
+ Function_0.call(this);
+}
+
+defineClass(213, 7, $intern_20, WCVGrid$4);
+_.f_0 = function(){
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [($clinit_GQuery() , 'LOADED...')])));
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$4_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/4', 213, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCVGrid$5(this$0, val$a){
+ this.this$01 = this$0;
+ this.val$a2 = val$a;
+ Function_0.call(this);
+}
+
+defineClass(214, 7, $intern_20, WCVGrid$5);
+_.f_0 = function(){
+ this.this$01.selectedRow = this.val$a2;
+ this.this$01.refreshing = false;
+}
+;
+_.val$a2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$5_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/5', 214, Lcom_google_gwt_query_client_Function_2_classLit);
+function WCVGrid$6(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(215, 1, {20:1}, WCVGrid$6);
+_.onBrowserEvent = function(event_0){
+ this.this$01.refresh();
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$6_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/6', 215, Ljava_lang_Object_2_classLit);
+function WCVGrid$7(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(216, 1, {20:1}, WCVGrid$7);
+_.onBrowserEvent = function(event_0){
+ this.this$01.selectedRows = this.this$01.selectedJso;
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVGrid$7_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVGrid/7', 216, Ljava_lang_Object_2_classLit);
+function WCVProgress(){
+ this.$init_0();
+}
+
+defineClass(207, 552, {196:1, 22:1}, WCVProgress);
+_.$init_0 = function(){
+}
+;
+_.attachedCallback = function(){
+ this.initWidgetSystem_0();
+}
+;
+_.attributeChangedCallback = function(){
+ this.readAttributes_0();
+}
+;
+_.createdCallback = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.progress = new VProgressBar;
+ this.changeEvent = document_1.createEvent('HTMLEvents');
+ this.changeEvent.initEvent('change', false, false);
+ this.changeEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.container.setAttribute('v-wc-container', '');
+ this.readAttributes_0();
+}
+;
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.getValue = function(){
+ return 0;
+}
+;
+_.initWidgetSystem_0 = function(){
+ var elementWidget, shadow, shadowPanel;
+ if (!this.initialized) {
+ this.initialized = true;
+ elementWidget = $widget($_0(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($_0(this), ($clinit_GQuery() , Widgets)), 67)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ if (this.getAttribute('shadow') != null) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($_0(this.container), ($clinit_GQuery() , Widgets)), 67)), 0), 36);
+ shadowPanel.add_0(this.progress);
+ }
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.jsPropertyValue = function(){
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.readAttributes_0 = function(){
+ $setState_0(this.progress, getAttrFloatValue(this, 'value', 0));
+ loadVaadinTheme(this.container, this, this.style_0, null);
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.setValue = function(value_0){
+ $setState_0(this.progress, value_0);
+}
+;
+_.initialized = false;
+var TAG_0 = 'v-progress';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVProgress_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVProgress', 207, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+function WCVSlider(){
+ this.$init_1();
+}
+
+defineClass(208, 552, {196:1, 146:1, 22:1}, WCVSlider);
+_.$init_1 = function(){
+}
+;
+_.attachedCallback = function(){
+ this.initWidgetSystem_1();
+ $buildBase(this.slider);
+}
+;
+_.attributeChangedCallback = function(){
+ this.readAttributes_1();
+}
+;
+_.createdCallback = function(){
+ this.style_0 = ($clinit_Elements() , document_1.createElement('style'));
+ this.slider = new VSlider;
+ $addHandler_0(this.slider, this, (!TYPE_3 && (TYPE_3 = new GwtEvent$Type) , TYPE_3));
+ this.changeEvent = document_1.createEvent('HTMLEvents');
+ this.changeEvent.initEvent('change', false, false);
+ this.changeEvent.srcElement = this;
+ this.container = document_1.createElement('div');
+ this.readAttributes_1();
+}
+;
+_.getTheme = function(){
+ this.getAttribute('theme');
+}
+;
+_.getValue = function(){
+ return this.slider.value_0.value_0;
+}
+;
+_.initWidgetSystem_1 = function(){
+ var elementWidget, shadow, shadowPanel;
+ if (!this.initialized) {
+ this.initialized = true;
+ elementWidget = $widget($_0(this), 0);
+ !elementWidget && (elementWidget = $widget($widgets(dynamicCast($as($_0(this), ($clinit_GQuery() , Widgets)), 67)), 0));
+ $addHandler_0(elementWidget, this, (!TYPE_0 && (TYPE_0 = new GwtEvent$Type) , TYPE_0));
+ if (this.getAttribute('shadow') != null) {
+ shadow = this.createShadowRoot();
+ shadow.appendChild(this.style_0);
+ shadow.appendChild(this.container);
+ }
+ else {
+ this.appendChild(this.style_0);
+ this.appendChild(this.container);
+ }
+ shadowPanel = dynamicCast($widget($widgets(dynamicCast($as($_0(this.container), ($clinit_GQuery() , Widgets)), 67)), 0), 36);
+ shadowPanel.add_0(this.slider);
+ }
+}
+;
+_.jsPropertyTheme = function(){
+}
+;
+_.jsPropertyValue = function(){
+}
+;
+_.onAttachOrDetach_0 = function(event_0){
+}
+;
+_.onAttachOrDetach = makeBridgeMethod(_.onAttachOrDetach_0, false, [false]);
+_.onValueChange_0 = function(ev){
+ var val;
+ val = '' + dynamicCast(ev.value_0, 15).value_0;
+ if (!$equals_2(val, this.getAttribute('value'))) {
+ this.setAttribute('value', val);
+ this.dispatchEvent(this.changeEvent);
+ this.value = (new Double_0(val)).value_0;
+ }
+}
+;
+_.onValueChange = makeBridgeMethod(_.onValueChange_0, false, [false]);
+_.readAttributes_1 = function(){
+ loadVaadinTheme(this.container, this, this.style_0, null);
+ $setMinValue(this.slider, getAttrFloatValue(this, 'min', 0));
+ $setMaxValue(this.slider, getAttrFloatValue(this, 'max', 100));
+ $setValue_0(this.slider, new Double(getAttrFloatValue(this, 'value', 0)));
+}
+;
+_.setTheme = function(value_0){
+ this.setAttribute('theme', value_0);
+}
+;
+_.setValue = function(value_0){
+ $setValue_0(this.slider, new Double(value_0));
+}
+;
+_.initialized = false;
+var TAG_1 = 'v-slider';
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_WCVSlider_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets', 'WCVSlider', 208, Lcom_vaadin_prototype_wc_gwt_client_html_HTMLElement$Prototype_2_classLit);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse/GAjaxColumn');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn');
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader');
+function $clinit_GData$GColumn$GHeader$Format(){
+ $clinit_GData$GColumn$GHeader$Format = emptyMethod;
+ TEXT = new GData$GColumn$GHeader$Format('TEXT', 0);
+ HTML_0 = new GData$GColumn$GHeader$Format('HTML', 1);
+ WIDGET = new GData$GColumn$GHeader$Format('WIDGET', 2);
+}
+
+function GData$GColumn$GHeader$Format(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function valueOf_0(name_0){
+ $clinit_GData$GColumn$GHeader$Format();
+ return valueOf(($clinit_GData$GColumn$GHeader$Format$Map() , $MAP), name_0);
+}
+
+function values_11(){
+ $clinit_GData$GColumn$GHeader$Format();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit, 1), $intern_4, 86, 0, [TEXT, HTML_0, WIDGET]);
+}
+
+defineClass(86, 5, {86:1, 3:1, 6:1, 5:1}, GData$GColumn$GHeader$Format);
+var HTML_0, TEXT, WIDGET;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit = createForEnum('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader/Format', 86, Ljava_lang_Enum_2_classLit, values_11);
+function $clinit_GData$GColumn$GHeader$Format$Map(){
+ $clinit_GData$GColumn$GHeader$Format$Map = emptyMethod;
+ $MAP = createValueOfMap(($clinit_GData$GColumn$GHeader$Format() , initValues(getClassLiteralForArray(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader$Format_2_classLit, 1), $intern_4, 86, 0, [TEXT, HTML_0, WIDGET])));
+}
+
+var $MAP;
+function $configColumnsFromFirstDataRow(this$static, p){
+ var colList, k_0, k$array, k$index, k$max, l;
+ colList = new ArrayList;
+ for (k$array = $keys(p) , k$index = 0 , k$max = k$array.length; k$index < k$max; ++k$index) {
+ k_0 = k$array[k$index];
+ l = new ArrayList;
+ $add_6(l, $setColSpan_0($setFormat($setContent((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 95)), k_0), ($clinit_GData$GColumn$GHeader$Format() , HTML_0))));
+ $add_6(colList, $setHeaderData($setValue_2((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 77)), k_0), l));
+ }
+ if (this$static.wcGrid) {
+ $setCols(this$static.wcGrid, colList);
+ $initGrid(this$static.wcGrid);
+ }
+ return colList;
+}
+
+function $configColumsFromAjaxResponse(this$static, cfgs){
+ var c, c$iterator, colList, l;
+ colList = new ArrayList;
+ for (c$iterator = new AbstractList$IteratorImpl(cfgs); c$iterator.i < c$iterator.this$01_0.size_2();) {
+ c = (checkCriticalElement(c$iterator.i < c$iterator.this$01_0.size_2()) , dynamicCast(c$iterator.this$01_0.get_0(c$iterator.last = c$iterator.i++), 199));
+ l = new ArrayList;
+ $add_6(l, $setColSpan_0($setFormat($setContent((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit), 95)), $getStr(c.p, 'title')), ($clinit_GData$GColumn$GHeader$Format() , HTML_0))));
+ $add_6(colList, $setHeaderData($setValue_2((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit), 77)), $getStr(c.p, 'name')), l));
+ }
+ if (this$static.wcGrid) {
+ $setCols(this$static.wcGrid, colList);
+ $initGrid(this$static.wcGrid);
+ }
+ return colList;
+}
+
+function $refresh(this$static){
+ $resetDataAndSize(this$static, this$static.size_0);
+}
+
+function $setRowData_0(this$static, idx, array){
+ var g;
+ g = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit), 96)).set_0('values', array), 96);
+ $setRowData(this$static, idx, $values(g));
+}
+
+function $setRowDataFromJs(this$static, idx, count, cols_0, data_0){
+ if (data_0.length > 0) {
+ !isArray(data_0[0]) && (!cols_0 || cols_0.isEmpty()) && (cols_0 = $configColumnsFromFirstDataRow(this$static, data_0[0]));
+ $setRowData_0(this$static, idx, data_0.slice(idx, idx + count));
+ }
+ return cols_0;
+}
+
+function GDataSource(grid){
+ this.requestedAvailability = new Range_0(0, 0);
+ this.cached = new Range_0(0, 0);
+ this.indexToRowMap = new HashMap;
+ this.keyToIndexMap = new HashMap;
+ this.cacheStrategy = new CacheStrategy$DefaultCacheStrategy;
+ this.coverageChecker = new AbstractRemoteDataSource$1(this);
+ this.pinnedCounts = new HashMap;
+ this.pinnedRows = new HashMap;
+ $clinit_Collections();
+ this.size_0 = 300;
+ this.wcGrid = grid;
+}
+
+defineClass(66, 307, $intern_45);
+_.getRowKey_0 = function(row){
+ return row;
+}
+;
+_.getRowKey = function(row){
+ return this.getRowKey_0(dynamicCastJso(row));
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GDataSource', 66, Lcom_vaadin_client_data_AbstractRemoteDataSource_2_classLit);
+function GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(186, 56, {52:1, 53:1, 199:1}, GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1GAjaxColumn_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder', 186, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $columns(this$static){
+ var a, a1, i_0, instance, l, l1, r, w;
+ a = $getArray(this$static.p, 'columns');
+ l = !a?0:a.length;
+ r = initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit, $intern_4, 199, l, 0, 1);
+ a1 = $getArray(this$static.p, 'columns');
+ l1 = r.length;
+ for (i_0 = 0; i_0 < l1; i_0++) {
+ w = $get_1(a1, valueOf_2(i_0));
+ instance = new GData_GAjaxConf_GAjaxResponse_GAjaxColumn_JsonBuilder;
+ setCheck(r, i_0, dynamicCast($load(instance, w), 199));
+ }
+ return new Arrays$ArrayList(r);
+}
+
+function GData_GAjaxConf_GAjaxResponse_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(478, 56, {52:1, 53:1, 535:1}, GData_GAjaxConf_GAjaxResponse_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1GAjaxResponse_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_GAjaxResponse_JsonBuilder', 478, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function GData_GAjaxConf_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(477, 56, {52:1, 53:1, 534:1}, GData_GAjaxConf_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GAjaxConf_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GAjaxConf_JsonBuilder', 477, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $setColSpan_0(this$static){
+ $setNumber(this$static.p, 1);
+ return this$static;
+}
+
+function $setContent(this$static, a){
+ $set(this$static.p, 'content', a);
+ return this$static;
+}
+
+function $setFormat(this$static, a){
+ $set(this$static.p, 'format', a.name_0 != null?a.name_0:'' + a.ordinal);
+ return this$static;
+}
+
+function GData_GColumn_GHeader_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(188, 56, {52:1, 53:1, 95:1}, GData_GColumn_GHeader_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1GHeader_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GColumn_GHeader_JsonBuilder', 188, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $headerData(this$static){
+ var a, a1, i_0, instance, l, l1, r, w;
+ a = $getArray(this$static.p, 'headerData');
+ l = !a?0:a.length;
+ r = initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit, $intern_46, 95, l, 0, 1);
+ a1 = $getArray(this$static.p, 'headerData');
+ l1 = r.length;
+ for (i_0 = 0; i_0 < l1; i_0++) {
+ w = $get_1(a1, valueOf_2(i_0));
+ instance = new GData_GColumn_GHeader_JsonBuilder;
+ setCheck(r, i_0, dynamicCast($load(instance, w), 95));
+ }
+ return new Arrays$ArrayList(r);
+}
+
+function $setHeaderData(this$static, a){
+ $setArrayBase(this$static, 'headerData', dynamicCast(a.toArray_0(initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit, $intern_46, 95, 0, 0, 1)), 539));
+ return this$static;
+}
+
+function $setValue_2(this$static, a){
+ $set(this$static.p, 'value', a);
+ return this$static;
+}
+
+function GData_GColumn_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(187, 56, {52:1, 53:1, 77:1}, GData_GColumn_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1GColumn_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_GColumn_JsonBuilder', 187, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $columns_0(this$static){
+ var a, a1, i_0, instance, l, l1, r, w;
+ a = $getArray(this$static.p, 'columns');
+ l = !a?0:a.length;
+ r = initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit, $intern_47, 77, l, 0, 1);
+ a1 = $getArray(this$static.p, 'columns');
+ l1 = r.length;
+ for (i_0 = 0; i_0 < l1; i_0++) {
+ w = $get_1(a1, valueOf_2(i_0));
+ instance = new GData_GColumn_JsonBuilder;
+ setCheck(r, i_0, dynamicCast($load(instance, w), 77));
+ }
+ return new Arrays$ArrayList(r);
+}
+
+function $setColumns(this$static, a){
+ $setArrayBase(this$static, 'columns', dynamicCast(a.toArray_0(initDim(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit, $intern_47, 77, 0, 0, 1)), 538));
+ return this$static;
+}
+
+function $values(this$static){
+ var a, l;
+ a = $getArray(this$static.p, 'values');
+ l = !a?0:a.length;
+ return new Arrays$ArrayList($getArrayBase(this$static, initDim(Lcom_google_gwt_core_client_JavaScriptObject_2_classLit, $intern_4, 0, l, 2, 1), Lcom_google_gwt_core_client_JavaScriptObject_2_classLit));
+}
+
+function GData_JsonBuilder(){
+ JsonBuilderBase.call(this);
+}
+
+defineClass(476, 56, {52:1, 53:1, 96:1}, GData_JsonBuilder);
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_1JsonBuilder_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData_JsonBuilder', 476, Lcom_google_gwt_query_client_builders_JsonBuilderBase_2_classLit);
+function $exec_1(f, idx, count, cb){
+ return f(idx, count, function(r){
+ cb.onSuccess_0(r);
+ }
+ );
+}
+
+function GJsFuncDataSource(jso, rows_0, grid){
+ GDataSource.call(this, grid);
+ this.f = jso;
+ this.size_0 = rows_0;
+}
+
+defineClass(313, 66, $intern_45, GJsFuncDataSource);
+_.getRowKey_0 = function(row){
+ return $JSON2String(row);
+}
+;
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ var o;
+ o = $exec_1(this.f, firstRowIndex, numberOfRows, new GJsFuncDataSource$1(this, firstRowIndex));
+ !!o && $setRowData_0(this, firstRowIndex, o);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsFuncDataSource', 313, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function $onSuccess_1(this$static, result){
+ $setRowData_0(this$static.this$01, this$static.val$firstRowIndex2, result);
+}
+
+function GJsFuncDataSource$1(this$0, val$firstRowIndex){
+ this.this$01 = this$0;
+ this.val$firstRowIndex2 = val$firstRowIndex;
+}
+
+defineClass(314, 1, {}, GJsFuncDataSource$1);
+_.onFailure_2 = function(caught){
+}
+;
+_.onSuccess_0 = function(result){
+ $onSuccess_1(this, dynamicCastJso(result));
+}
+;
+_.val$firstRowIndex2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsFuncDataSource$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsFuncDataSource/1', 314, Ljava_lang_Object_2_classLit);
+function GJsObjectDataSource(jso, grid){
+ GDataSource.call(this, grid);
+ this.jso = jso;
+ this.size_0 = jso.length;
+}
+
+defineClass(315, 66, $intern_45, GJsObjectDataSource);
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ var cols_0;
+ cols_0 = this.wcGrid.cols_0;
+ $setRowDataFromJs(this, firstRowIndex, numberOfRows, cols_0, this.jso);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GJsObjectDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GJsObjectDataSource', 315, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function $requestRows(this$static, firstRowIndex, numberOfRows){
+ var url_0, s, onSuccess, onError, dataType, ret;
+ url_0 = $replace_0($replace_0($getStr(this$static.ajaxCfg.p, 'url'), '{START}', '' + firstRowIndex), '{LENGTH}', '' + numberOfRows);
+ $log($toJs(initValues(getClassLiteralForArray(Ljava_lang_Object_2_classLit, 1), $intern_4, 1, 3, [($clinit_GQuery() , url_0)])));
+ $clinit_Ajax();
+ $fail($done((s = (!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit), 593)) , $set(s.p, 'url', url_0) , $set(s.p, 'dataType', 'txt') , $set(s.p, 'type', 'post') , $set(s.p, 'data', null) , $setFunction(s.p, 'success', null) , resolveSettings(s) , onSuccess = $getFunction(s.p, 'success') , !!onSuccess && $setElement(onSuccess, $getJavaScriptObject(s.p, 'context')) , onError = $getFunction(s.p, 'error') , !!onError && $setElement(onError, $getJavaScriptObject(s.p, 'context')) , dataType = $getStr(s.p, 'dataType') , $equalsIgnoreCase('jsonp', dataType)?(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , new PromiseReqBuilderJSONP($getStr(s.p, 'url'), round_int($getFloat(s.p, 'timeout'))))):$equalsIgnoreCase('loadscript', dataType)?(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , new AjaxTransportJs$1(s))):(ret = (!ajaxTransport && (ajaxTransport = new AjaxTransportJs) , $then(new PromiseReqBuilder(s), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new Ajax$2(dataType), new Ajax$3])))) , !!onSuccess && $done(ret, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [onSuccess])) , !!onError && $fail(ret, initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [onError])) , ret), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new GRestDataSource$1(this$static, numberOfRows, firstRowIndex)])), initValues(getClassLiteralForArray(Lcom_google_gwt_query_client_Function_2_classLit, 1), $intern_4, 7, 0, [new GRestDataSource$2(url_0)]));
+}
+
+function GRestDataSource(cfg, grid){
+ GDataSource.call(this, grid);
+ this.ajaxCfg = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit), 534)).load(cfg), 534);
+ $requestRows(this, 0, 0);
+}
+
+defineClass(308, 66, $intern_45, GRestDataSource);
+_.requestRows = function(firstRowIndex, numberOfRows, callback){
+ $requestRows(this, firstRowIndex, numberOfRows);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource', 308, Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GDataSource_2_classLit);
+function GRestDataSource$1(this$0, val$numberOfRows, val$firstRowIndex){
+ this.this$01 = this$0;
+ this.val$numberOfRows2 = val$numberOfRows;
+ this.val$firstRowIndex3 = val$firstRowIndex;
+ Function_0.call(this);
+}
+
+defineClass(309, 7, $intern_20, GRestDataSource$1);
+_.f_0 = function(){
+ var cfgs, cols_0, data_0, json, r;
+ json = dynamicCastToString($getArgument(this, 0, null));
+ r = dynamicCast((!jsonFactory && (jsonFactory = new JsonFactory_JsonBuilder) , dynamicCast($create(Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit), 535)).parse_0(json, false), 535);
+ this.this$01.size_0 = round_int($getFloat(r.p, 'size'));
+ cfgs = $columns(r);
+ cols_0 = this.this$01.wcGrid.cols_0;
+ !cfgs.isEmpty() && (!cols_0 || cols_0.isEmpty()) && (cols_0 = $configColumsFromAjaxResponse(this.this$01, cfgs));
+ if (this.val$numberOfRows2 == 0) {
+ $setDataSource($getGrid(this.this$01.wcGrid), this.this$01);
+ }
+ else {
+ data_0 = $getJavaScriptObject(r.p, 'data');
+ $setRowDataFromJs(this.this$01, this.val$firstRowIndex3, this.val$numberOfRows2, cols_0, data_0);
+ }
+ $adjustHeight(this.this$01.wcGrid);
+}
+;
+_.val$firstRowIndex3 = 0;
+_.val$numberOfRows2 = 0;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$1_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource/1', 309, Lcom_google_gwt_query_client_Function_2_classLit);
+function GRestDataSource$2(val$url){
+ this.val$url2 = val$url;
+ Function_0.call(this);
+}
+
+defineClass(310, 7, $intern_20, GRestDataSource$2);
+_.f_0 = function(){
+ alert_0('Error getting datasources ' + this.val$url2);
+}
+;
+var Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GRestDataSource$2_2_classLit = createForClass('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GRestDataSource/2', 310, Lcom_google_gwt_query_client_Function_2_classLit);
+function $parseAndroidVersion(this$static, userAgent){
+ var osVersionString, parts;
+ if (userAgent.indexOf('android') == -1) {
+ return;
+ }
+ osVersionString = $safeSubstring(userAgent, userAgent.indexOf('android ') + 8, userAgent.length);
+ osVersionString = $safeSubstring(osVersionString, 0, osVersionString.indexOf(';'));
+ parts = $split(osVersionString, '\\.', 0);
+ $parseOsVersion(this$static, parts);
+}
+
+function $parseIOSVersion(this$static, userAgent){
+ var osVersionString, parts;
+ if (userAgent.indexOf('os ') == -1 || userAgent.indexOf(' like mac') == -1) {
+ return;
+ }
+ osVersionString = $safeSubstring(userAgent, userAgent.indexOf('os ') + 3, userAgent.indexOf(' like mac'));
+ parts = $split(osVersionString, '_', 0);
+ $parseOsVersion(this$static, parts);
+}
+
+function $parseOsVersion(this$static, parts){
+ this$static.osMajorVersion = -1;
+ this$static.osMinorVersion = -1;
+ if (parts.length >= 1) {
+ try {
+ this$static.osMajorVersion = __parseAndValidateInt(parts[0]);
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 13))
+ throw unwrap($e0);
+ }
+ }
+ if (parts.length >= 2) {
+ try {
+ this$static.osMinorVersion = __parseAndValidateInt(parts[1]);
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (!instanceOf($e1, 13))
+ throw unwrap($e1);
+ }
+ if (this$static.osMinorVersion == -1 && parts[1].indexOf('-') != -1) {
+ try {
+ this$static.osMinorVersion = __parseAndValidateInt(__substr(parts[1], 0, $indexOf_0(parts[1], fromCodePoint(45))));
+ }
+ catch ($e2) {
+ $e2 = wrap($e2);
+ if (!instanceOf($e2, 13))
+ throw unwrap($e2);
+ }
+ }
+ }
+}
+
+function $parseVersionString(this$static, versionString){
+ var idx, idx2;
+ idx = $indexOf_0(versionString, fromCodePoint(46));
+ idx < 0 && (idx = versionString.length);
+ this$static.browserMajorVersion = __parseAndValidateInt($safeSubstring(versionString, 0, idx));
+ idx2 = $indexOf_1(versionString, fromCodePoint(46), idx + 1);
+ idx2 < 0 && (idx2 = versionString.length);
+ try {
+ this$static.browserMinorVersion = __parseAndValidateInt($replaceAll($safeSubstring(versionString, idx + 1, idx2), '[^0-9].*', ''));
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 73))
+ throw unwrap($e0);
+ }
+}
+
+function $safeSubstring(string, beginIndex, endIndex){
+ beginIndex < 0 && (beginIndex = 0);
+ (endIndex < 0 || endIndex > string.length) && (endIndex = string.length);
+ return string.substr(beginIndex, endIndex - beginIndex);
+}
+
+function $setIEMode(this$static, documentMode){
+ this$static.browserMajorVersion = documentMode;
+ this$static.browserMinorVersion = 0;
+}
+
+function VBrowserDetails(userAgent){
+ var i_0, ieVersionString, rvPos, tmp, tridentPos;
+ userAgent = userAgent.toLowerCase();
+ this.isGecko = userAgent.indexOf('gecko') != -1 && userAgent.indexOf('webkit') == -1 && userAgent.indexOf('trident/') == -1;
+ userAgent.indexOf(' presto/') != -1;
+ this.isTrident = userAgent.indexOf('trident/') != -1;
+ this.isWebKit = !this.isTrident && userAgent.indexOf('applewebkit') != -1;
+ this.isChrome = userAgent.indexOf(' chrome/') != -1;
+ this.isOpera = userAgent.indexOf('opera') != -1;
+ this.isIE = userAgent.indexOf('msie') != -1 && !this.isOpera && userAgent.indexOf('webtv') == -1;
+ this.isIE = this.isIE || this.isTrident;
+ this.isSafari = !this.isChrome && !this.isIE && userAgent.indexOf('safari') != -1;
+ this.isFirefox = userAgent.indexOf(' firefox/') != -1;
+ userAgent.indexOf('chromeframe') != -1;
+ try {
+ if (this.isGecko) {
+ rvPos = userAgent.indexOf('rv:');
+ if (rvPos >= 0) {
+ tmp = __substr(userAgent, rvPos + 3, userAgent.length - (rvPos + 3));
+ tmp = $replaceFirst(tmp, '(\\.[0-9]+).+', '$1');
+ parseFloat_0(tmp);
+ }
+ }
+ else if (this.isWebKit) {
+ tmp = $substring(userAgent, userAgent.indexOf('webkit/') + 7);
+ tmp = $replaceFirst(tmp, '([0-9]+)[^0-9].+', '$1');
+ parseFloat_0(tmp);
+ }
+ else if (this.isIE) {
+ tridentPos = userAgent.indexOf('trident/');
+ if (tridentPos >= 0) {
+ tmp = __substr(userAgent, tridentPos + 8, userAgent.length - (tridentPos + 8));
+ tmp = $replaceFirst(tmp, '([0-9]+\\.[0-9]+).*', '$1');
+ parseFloat_0(tmp);
+ }
+ }
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (!instanceOf($e0, 13))
+ throw unwrap($e0);
+ }
+ try {
+ if (this.isIE) {
+ if (userAgent.indexOf('msie') == -1) {
+ rvPos = userAgent.indexOf('rv:');
+ if (rvPos >= 0) {
+ tmp = __substr(userAgent, rvPos + 3, userAgent.length - (rvPos + 3));
+ tmp = $replaceFirst(tmp, '(\\.[0-9]+).+', '$1');
+ $parseVersionString(this, tmp);
+ }
+ }
+ else {
+ ieVersionString = $substring(userAgent, userAgent.indexOf('msie ') + 5);
+ ieVersionString = $safeSubstring(ieVersionString, 0, ieVersionString.indexOf(';'));
+ $parseVersionString(this, ieVersionString);
+ }
+ }
+ else if (this.isFirefox) {
+ i_0 = userAgent.indexOf(' firefox/') + 9;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isChrome) {
+ i_0 = userAgent.indexOf(' chrome/') + 8;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isSafari) {
+ i_0 = userAgent.indexOf(' version/') + 9;
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ else if (this.isOpera) {
+ i_0 = userAgent.indexOf(' version/');
+ i_0 != -1?(i_0 += 9):(i_0 = userAgent.indexOf('opera/') + 6);
+ $parseVersionString(this, $safeSubstring(userAgent, i_0, i_0 + 5));
+ }
+ }
+ catch ($e1) {
+ $e1 = wrap($e1);
+ if (!instanceOf($e1, 13))
+ throw unwrap($e1);
+ }
+ if (userAgent.indexOf('windows ') != -1) {
+ this.os = 1;
+ userAgent.indexOf('windows phone') != -1;
+ }
+ else if (userAgent.indexOf('android') != -1) {
+ this.os = 5;
+ $parseAndroidVersion(this, userAgent);
+ }
+ else if (userAgent.indexOf('linux') != -1) {
+ this.os = 3;
+ }
+ else if (userAgent.indexOf('macintosh') != -1 || userAgent.indexOf('mac osx') != -1 || userAgent.indexOf('mac os x') != -1) {
+ this.isIPad = userAgent.indexOf('ipad') != -1;
+ this.isIPhone = userAgent.indexOf('iphone') != -1;
+ if (this.isIPad || userAgent.indexOf('ipod') != -1 || this.isIPhone) {
+ this.os = 4;
+ $parseIOSVersion(this, userAgent);
+ }
+ else {
+ this.os = 2;
+ }
+ }
+}
+
+defineClass(464, 1, {3:1}, VBrowserDetails);
+_.browserMajorVersion = -1;
+_.browserMinorVersion = -1;
+_.isChrome = false;
+_.isFirefox = false;
+_.isGecko = false;
+_.isIE = false;
+_.isIPad = false;
+_.isIPhone = false;
+_.isOpera = false;
+_.isSafari = false;
+_.isTrident = false;
+_.isWebKit = false;
+_.os = 0;
+_.osMajorVersion = -1;
+_.osMinorVersion = -1;
+var Lcom_vaadin_shared_VBrowserDetails_2_classLit = createForClass('com.vaadin.shared', 'VBrowserDetails', 464, Ljava_lang_Object_2_classLit);
+function $clinit_GridStaticCellType(){
+ $clinit_GridStaticCellType = emptyMethod;
+ TEXT_0 = new GridStaticCellType('TEXT', 0);
+ HTML_1 = new GridStaticCellType('HTML', 1);
+ WIDGET_0 = new GridStaticCellType('WIDGET', 2);
+}
+
+function GridStaticCellType(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_12(){
+ $clinit_GridStaticCellType();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_GridStaticCellType_2_classLit, 1), $intern_4, 107, 0, [TEXT_0, HTML_1, WIDGET_0]);
+}
+
+defineClass(107, 5, {107:1, 3:1, 6:1, 5:1}, GridStaticCellType);
+var HTML_1, TEXT_0, WIDGET_0;
+var Lcom_vaadin_shared_ui_grid_GridStaticCellType_2_classLit = createForEnum('com.vaadin.shared.ui.grid', 'GridStaticCellType', 107, Ljava_lang_Enum_2_classLit, values_12);
+function $clinit_HeightMode(){
+ $clinit_HeightMode = emptyMethod;
+ CSS_0 = new HeightMode('CSS', 0);
+ ROW = new HeightMode('ROW', 1);
+}
+
+function HeightMode(enum$name, enum$ordinal){
+ Enum.call(this, enum$name, enum$ordinal);
+}
+
+function values_13(){
+ $clinit_HeightMode();
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit, 1), $intern_4, 91, 0, [CSS_0, ROW]);
+}
+
+defineClass(91, 5, {91:1, 3:1, 6:1, 5:1}, HeightMode);
+var CSS_0, ROW;
+var Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit = createForEnum('com.vaadin.shared.ui.grid', 'HeightMode', 91, Ljava_lang_Enum_2_classLit, values_13);
+function $clinit_HeightMode$Map(){
+ $clinit_HeightMode$Map = emptyMethod;
+ $MAP_0 = createValueOfMap(($clinit_HeightMode() , initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_HeightMode_2_classLit, 1), $intern_4, 91, 0, [CSS_0, ROW])));
+}
+
+var $MAP_0;
+function $combineWith(this$static, other){
+ if (this$static.start_0 > other.end || other.start_0 > this$static.end) {
+ throw new IllegalArgumentException_0('There is a gap between ' + this$static + ' and ' + other);
+ }
+ return new Range_0(min_1(this$static.start_0, other.start_0), max_1(this$static.end, other.end));
+}
+
+function $contains_0(this$static, integer){
+ return this$static.start_0 <= integer && integer < this$static.end;
+}
+
+function $equals(this$static, obj){
+ var other;
+ if (this$static === obj) {
+ return true;
+ }
+ if (obj == null) {
+ return false;
+ }
+ if (Lcom_vaadin_shared_ui_grid_Range_2_classLit != getClass__Ljava_lang_Class___devirtual$(obj)) {
+ return false;
+ }
+ other = dynamicCast(obj, 19);
+ if (this$static.end != other.end) {
+ return false;
+ }
+ if (this$static.start_0 != other.start_0) {
+ return false;
+ }
+ return true;
+}
+
+function $intersects(this$static, other){
+ return this$static.start_0 < other.end && other.start_0 < this$static.end;
+}
+
+function $isEmpty_0(this$static){
+ return this$static.start_0 >= this$static.end;
+}
+
+function $isSubsetOf(this$static, other){
+ if (this$static.start_0 >= this$static.end && other.start_0 >= other.end) {
+ return true;
+ }
+ return other.start_0 <= this$static.start_0 && this$static.end <= other.end;
+}
+
+function $length_0(this$static){
+ return this$static.end - this$static.start_0;
+}
+
+function $offsetBy(this$static, offset){
+ return offset == 0?this$static:new Range_0(this$static.start_0 + offset, this$static.end + offset);
+}
+
+function $partitionWith(this$static, other){
+ var rangeAfter, rangeBefore, rangeInside, splitAfter, splitBefore;
+ splitBefore = $splitAt(this$static, other.start_0);
+ rangeBefore = splitBefore[0];
+ splitAfter = $splitAt(splitBefore[1], other.end);
+ rangeInside = splitAfter[0];
+ rangeAfter = splitAfter[1];
+ return initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_4, 19, 0, [rangeBefore, rangeInside, rangeAfter]);
+}
+
+function $restrictTo(this$static, bounds){
+ var boundsWithin, endWithin, startWithin;
+ startWithin = $contains_0(bounds, this$static.start_0);
+ endWithin = $contains_0(bounds, this$static.end);
+ boundsWithin = this$static.start_0 < bounds.start_0 && this$static.end >= bounds.end;
+ return startWithin?endWithin?this$static:new Range_0(this$static.start_0, bounds.end):endWithin?new Range_0(bounds.start_0, this$static.end):boundsWithin?bounds:withLength(this$static.start_0, 0);
+}
+
+function $splitAt(this$static, integer){
+ return integer < this$static.start_0?initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_4, 19, 0, [withLength(this$static.start_0, 0), this$static]):integer >= this$static.end?initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_4, 19, 0, [this$static, withLength(this$static.end, 0)]):initValues(getClassLiteralForArray(Lcom_vaadin_shared_ui_grid_Range_2_classLit, 1), $intern_4, 19, 0, [new Range_0(this$static.start_0, integer), new Range_0(integer, this$static.end)]);
+}
+
+function Range_0(start_0, end){
+ if (start_0 > end) {
+ throw new IllegalArgumentException_0('start must not be greater than end');
+ }
+ this.start_0 = start_0;
+ this.end = end;
+}
+
+function withLength(start_0, length_0){
+ if (length_0 < 0) {
+ throw new IllegalArgumentException_0('length must not be negative');
+ }
+ return new Range_0(start_0, start_0 + length_0);
+}
+
+defineClass(19, 1, {19:1, 3:1}, Range_0);
+_.equals$ = function(obj){
+ return $equals(this, obj);
+}
+;
+_.hashCode$ = function(){
+ var result;
+ result = 31 + this.end;
+ result = 31 * result + this.start_0;
+ return result;
+}
+;
+_.toString$ = function(){
+ return $ensureNamesAreInitialized(Lcom_vaadin_shared_ui_grid_Range_2_classLit) , Lcom_vaadin_shared_ui_grid_Range_2_classLit.simpleName + ' [' + this.start_0 + '..' + this.end + '[' + (this.start_0 >= this.end?' (empty)':'');
+}
+;
+_.end = 0;
+_.start_0 = 0;
+var Lcom_vaadin_shared_ui_grid_Range_2_classLit = createForClass('com.vaadin.shared.ui.grid', 'Range', 19, Ljava_lang_Object_2_classLit);
+function equals(o1, o2){
+ if (o1 == null) {
+ return o2 == null;
+ }
+ return equals_Ljava_lang_Object__Z__devirtual$(o1, o2);
+}
+
+function $charAt(this$static, index_0){
+ return $charAt_0(this$static.string, index_0);
+}
+
+function $replace0(this$static, start_0, end, toInsert){
+ this$static.string = __substr(this$static.string, 0, start_0) + toInsert + $substring(this$static.string, end);
+}
+
+function $setCharAt(this$static, index_0, x_0){
+ $replace0(this$static, index_0, index_0 + 1, valueOf_5(x_0));
+}
+
+function AbstractStringBuilder(string){
+ this.string = string;
+}
+
+defineClass(127, 1, {});
+_.toString$ = function(){
+ return this.string;
+}
+;
+var Ljava_lang_AbstractStringBuilder_2_classLit = createForClass('java.lang', 'AbstractStringBuilder', 127, Ljava_lang_Object_2_classLit);
+function ArithmeticException(){
+ RuntimeException_0.call(this, 'divide by zero');
+}
+
+defineClass(401, 11, $intern_3, ArithmeticException);
+var Ljava_lang_ArithmeticException_2_classLit = createForClass('java.lang', 'ArithmeticException', 401, Ljava_lang_RuntimeException_2_classLit);
+function ArrayStoreException(){
+ RuntimeException.call(this);
+}
+
+defineClass(400, 11, $intern_3, ArrayStoreException);
+var Ljava_lang_ArrayStoreException_2_classLit = createForClass('java.lang', 'ArrayStoreException', 400, Ljava_lang_RuntimeException_2_classLit);
+function $clinit_Boolean(){
+ $clinit_Boolean = emptyMethod;
+ FALSE = new Boolean_0(false);
+ TRUE = new Boolean_0(true);
+}
+
+function $equals_0(this$static, o){
+ return instanceOf(o, 42) && dynamicCast(o, 42).value_0 == this$static.value_0;
+}
+
+function Boolean_0(value_0){
+ $clinit_Boolean();
+ this.value_0 = value_0;
+}
+
+defineClass(42, 1, {3:1, 42:1, 6:1}, Boolean_0);
+_.equals$ = function(o){
+ return $equals_0(this, o);
+}
+;
+_.hashCode$ = function(){
+ return this.value_0?1231:1237;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = false;
+var FALSE, TRUE;
+var Ljava_lang_Boolean_2_classLit = createForClass('java.lang', 'Boolean', 42, Ljava_lang_Object_2_classLit);
+function __parseAndValidateDouble(s){
+ var floatRegex;
+ if (!(floatRegex = floatRegex_0 , !floatRegex && (floatRegex = floatRegex_0 = /^\s*[+-]?(NaN|Infinity|((\d+\.?\d*)|(\.\d+))([eE][+-]?\d+)?[dDfF]?)\s*$/) , floatRegex.test(s))) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ return parseFloat(s);
+}
+
+function __parseAndValidateInt(s){
+ var i_0, isTooLow, length_0, startIndex, toReturn;
+ if (s == null) {
+ throw new NumberFormatException('null');
+ }
+ length_0 = s.length;
+ startIndex = length_0 > 0 && (s.charCodeAt(0) == 45 || s.charCodeAt(0) == 43)?1:0;
+ for (i_0 = startIndex; i_0 < length_0; i_0++) {
+ if (digit_0(s.charCodeAt(i_0)) == -1) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ }
+ toReturn = parseInt(s, 10);
+ isTooLow = toReturn < -2147483648;
+ if (isNaN(toReturn)) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ else if (isTooLow || toReturn > 2147483647) {
+ throw new NumberFormatException('For input string: "' + s + '"');
+ }
+ return toReturn;
+}
+
+defineClass(55, 1, {3:1, 55:1});
+var floatRegex_0;
+var Ljava_lang_Number_2_classLit = createForClass('java.lang', 'Number', 55, Ljava_lang_Object_2_classLit);
+function Byte(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_1(b){
+ var rebase, result;
+ rebase = b + 128;
+ result = ($clinit_Byte$BoxedValues() , boxedValues_0)[rebase];
+ !result && (result = boxedValues_0[rebase] = new Byte(b));
+ return result;
+}
+
+defineClass(104, 55, {3:1, 104:1, 6:1, 55:1}, Byte);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 104) && dynamicCast(o, 104).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Byte_2_classLit = createForClass('java.lang', 'Byte', 104, Ljava_lang_Number_2_classLit);
+function $clinit_Byte$BoxedValues(){
+ $clinit_Byte$BoxedValues = emptyMethod;
+ boxedValues_0 = initDim(Ljava_lang_Byte_2_classLit, $intern_4, 104, 256, 0, 1);
+}
+
+var boxedValues_0;
+function digit_0(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 ClassCastException(){
+ RuntimeException.call(this);
+}
+
+defineClass(303, 11, $intern_3, ClassCastException);
+var Ljava_lang_ClassCastException_2_classLit = createForClass('java.lang', 'ClassCastException', 303, Ljava_lang_RuntimeException_2_classLit);
+function Double(value_0){
+ this.value_0 = value_0;
+}
+
+function Double_0(s){
+ this.value_0 = __parseAndValidateDouble(s);
+}
+
+function isInfinite(x_0){
+ return !isFinite(x_0) && !isNaN(x_0);
+}
+
+defineClass(15, 55, {3:1, 6:1, 15:1, 55:1}, Double, Double_0);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 15) && dynamicCast(o, 15).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return round_int(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Double_2_classLit = createForClass('java.lang', 'Double', 15, Ljava_lang_Number_2_classLit);
+function Float(value_0){
+ this.value_0 = value_0;
+}
+
+function Float_0(s){
+ this.value_0 = parseFloat_0(s);
+}
+
+function parseFloat_0(s){
+ var doubleValue;
+ doubleValue = __parseAndValidateDouble(s);
+ if (doubleValue > 3.4028234663852886E38) {
+ return Infinity;
+ }
+ else if (doubleValue < -3.4028234663852886E38) {
+ return -Infinity;
+ }
+ return doubleValue;
+}
+
+defineClass(88, 55, {3:1, 6:1, 88:1, 55:1}, Float, Float_0);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 88) && dynamicCast(o, 88).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return round_int(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Float_2_classLit = createForClass('java.lang', 'Float', 88, Ljava_lang_Number_2_classLit);
+function IllegalArgumentException(){
+ RuntimeException.call(this);
+}
+
+function IllegalArgumentException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(9, 11, $intern_3, IllegalArgumentException, IllegalArgumentException_0);
+var Ljava_lang_IllegalArgumentException_2_classLit = createForClass('java.lang', 'IllegalArgumentException', 9, Ljava_lang_RuntimeException_2_classLit);
+function IllegalStateException(){
+ RuntimeException.call(this);
+}
+
+function IllegalStateException_0(s){
+ RuntimeException_0.call(this, s);
+}
+
+defineClass(18, 11, $intern_3, IllegalStateException, IllegalStateException_0);
+var Ljava_lang_IllegalStateException_2_classLit = createForClass('java.lang', 'IllegalStateException', 18, Ljava_lang_RuntimeException_2_classLit);
+function IndexOutOfBoundsException(){
+ RuntimeException.call(this);
+}
+
+function IndexOutOfBoundsException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(34, 11, {3:1, 13:1, 34:1, 11:1, 12:1}, IndexOutOfBoundsException, IndexOutOfBoundsException_0);
+var Ljava_lang_IndexOutOfBoundsException_2_classLit = createForClass('java.lang', 'IndexOutOfBoundsException', 34, Ljava_lang_RuntimeException_2_classLit);
+function $equals_1(this$static, o){
+ return instanceOf(o, 65) && dynamicCast(o, 65).value_0 == this$static.value_0;
+}
+
+function Integer(value_0){
+ this.value_0 = value_0;
+}
+
+function numberOfLeadingZeros_0(i_0){
+ var m, n, y_0;
+ if (i_0 < 0) {
+ return 0;
+ }
+ else if (i_0 == 0) {
+ return 32;
+ }
+ else {
+ y_0 = -(i_0 >> 16);
+ m = y_0 >> 16 & 16;
+ n = 16 - m;
+ i_0 = i_0 >> m;
+ y_0 = i_0 - 256;
+ m = y_0 >> 16 & 8;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 - 4096;
+ m = y_0 >> 16 & 4;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 - 16384;
+ m = y_0 >> 16 & 2;
+ n += m;
+ i_0 <<= m;
+ y_0 = i_0 >> 14;
+ m = y_0 & ~(y_0 >> 1);
+ return n + 2 - m;
+ }
+}
+
+function numberOfTrailingZeros(i_0){
+ var r, rtn;
+ if (i_0 == 0) {
+ return 32;
+ }
+ else {
+ rtn = 0;
+ for (r = 1; (r & i_0) == 0; r <<= 1) {
+ ++rtn;
+ }
+ return rtn;
+ }
+}
+
+function valueOf_2(i_0){
+ var rebase, result;
+ if (i_0 > -129 && i_0 < 128) {
+ rebase = i_0 + 128;
+ result = ($clinit_Integer$BoxedValues() , boxedValues_1)[rebase];
+ !result && (result = boxedValues_1[rebase] = new Integer(i_0));
+ return result;
+ }
+ return new Integer(i_0);
+}
+
+defineClass(65, 55, {3:1, 6:1, 65:1, 55:1}, Integer);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return $equals_1(this, o);
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Integer_2_classLit = createForClass('java.lang', 'Integer', 65, Ljava_lang_Number_2_classLit);
+function $clinit_Integer$BoxedValues(){
+ $clinit_Integer$BoxedValues = emptyMethod;
+ boxedValues_1 = initDim(Ljava_lang_Integer_2_classLit, $intern_4, 65, 256, 0, 1);
+}
+
+var boxedValues_1;
+function Long(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_3(i_0){
+ var rebase, result;
+ if (gt(i_0, {l:4194175, m:$intern_14, h:$intern_15}) && lt(i_0, {l:128, m:0, h:0})) {
+ rebase = toInt(i_0) + 128;
+ result = ($clinit_Long$BoxedValues() , boxedValues_2)[rebase];
+ !result && (result = boxedValues_2[rebase] = new Long(i_0));
+ return result;
+ }
+ return new Long(i_0);
+}
+
+defineClass(89, 55, {3:1, 6:1, 89:1, 55:1}, Long);
+_.doubleValue = function(){
+ return toDouble(this.value_0);
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 89) && eq(dynamicCast(o, 89).value_0, this.value_0);
+}
+;
+_.hashCode$ = function(){
+ return toInt(this.value_0);
+}
+;
+_.toString$ = function(){
+ return '' + toString_2(this.value_0);
+}
+;
+_.value_0 = {l:0, m:0, h:0};
+var Ljava_lang_Long_2_classLit = createForClass('java.lang', 'Long', 89, Ljava_lang_Number_2_classLit);
+function $clinit_Long$BoxedValues(){
+ $clinit_Long$BoxedValues = emptyMethod;
+ boxedValues_2 = initDim(Ljava_lang_Long_2_classLit, $intern_4, 89, 256, 0, 1);
+}
+
+var boxedValues_2;
+function abs_0(x_0){
+ return x_0 <= 0?0 - x_0:x_0;
+}
+
+function ceil_0(x_0){
+ return Math.ceil(x_0);
+}
+
+function cos_0(x_0){
+ return Math.cos(x_0);
+}
+
+function floor_0(x_0){
+ return Math.floor(x_0);
+}
+
+function max_0(x_0, y_0){
+ return x_0 > y_0?x_0:y_0;
+}
+
+function max_1(x_0, y_0){
+ return x_0 > y_0?x_0:y_0;
+}
+
+function min_0(x_0, y_0){
+ return x_0 < y_0?x_0:y_0;
+}
+
+function min_1(x_0, y_0){
+ return x_0 < y_0?x_0:y_0;
+}
+
+function pow_0(x_0, exp_0){
+ return Math.pow(x_0, exp_0);
+}
+
+function round0(x_0){
+ return Math.round(x_0);
+}
+
+function NullPointerException(){
+ RuntimeException.call(this);
+}
+
+function NullPointerException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(75, 11, $intern_3, NullPointerException, NullPointerException_0);
+var Ljava_lang_NullPointerException_2_classLit = createForClass('java.lang', 'NullPointerException', 75, Ljava_lang_RuntimeException_2_classLit);
+function NumberFormatException(message){
+ IllegalArgumentException_0.call(this, message);
+}
+
+defineClass(73, 9, {3:1, 13:1, 73:1, 11:1, 12:1}, NumberFormatException);
+var Ljava_lang_NumberFormatException_2_classLit = createForClass('java.lang', 'NumberFormatException', 73, Ljava_lang_IllegalArgumentException_2_classLit);
+function Short(value_0){
+ this.value_0 = value_0;
+}
+
+function valueOf_4(s){
+ var rebase, result;
+ if (s > -129 && s < 128) {
+ rebase = s + 128;
+ result = ($clinit_Short$BoxedValues() , boxedValues_3)[rebase];
+ !result && (result = boxedValues_3[rebase] = new Short(s));
+ return result;
+ }
+ return new Short(s);
+}
+
+defineClass(90, 55, {3:1, 6:1, 55:1, 90:1}, Short);
+_.doubleValue = function(){
+ return this.value_0;
+}
+;
+_.equals$ = function(o){
+ return instanceOf(o, 90) && dynamicCast(o, 90).value_0 == this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return this.value_0;
+}
+;
+_.toString$ = function(){
+ return '' + this.value_0;
+}
+;
+_.value_0 = 0;
+var Ljava_lang_Short_2_classLit = createForClass('java.lang', 'Short', 90, Ljava_lang_Number_2_classLit);
+function $clinit_Short$BoxedValues(){
+ $clinit_Short$BoxedValues = emptyMethod;
+ boxedValues_3 = initDim(Ljava_lang_Short_2_classLit, $intern_4, 90, 256, 0, 1);
+}
+
+var boxedValues_3;
+function $charAt_0(this$static, index_0){
+ return this$static.charCodeAt(index_0);
+}
+
+function $equals_2(this$static, other){
+ return this$static === other;
+}
+
+function $equalsIgnoreCase(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 $indexOf_0(this$static, str){
+ return this$static.indexOf(str);
+}
+
+function $indexOf_1(this$static, str, startIndex){
+ return this$static.indexOf(str, startIndex);
+}
+
+function $matches(this$static, regex){
+ return (new RegExp('^(' + regex + ')$')).test(this$static);
+}
+
+function $replace_0(this$static, from, to){
+ var regex, replacement;
+ regex = $replaceAll(from, '([/\\\\\\.\\*\\+\\?\\|\\(\\)\\[\\]\\{\\}$^])', '\\\\$1');
+ replacement = $replaceAll($replaceAll(to, '\\\\', '\\\\\\\\'), '\\$', '\\\\$');
+ return $replaceAll(this$static, regex, replacement);
+}
+
+function $replaceAll(this$static, regex, replace){
+ replace = __translateReplaceString(replace);
+ return this$static.replace(RegExp(regex, 'g'), replace);
+}
+
+function $replaceFirst(this$static, regex, replace){
+ replace = __translateReplaceString(replace);
+ return this$static.replace(RegExp(regex), replace);
+}
+
+function $split(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 = __createArray(out.length);
+ for (var i_0 = 0; i_0 < out.length; ++i_0) {
+ jr[i_0] = out[i_0];
+ }
+ return jr;
+}
+
+function $substring(this$static, beginIndex){
+ return __substr(this$static, beginIndex, this$static.length - beginIndex);
+}
+
+function $trim(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 __createArray(numElements){
+ return initDim(Ljava_lang_String_2_classLit, $intern_4, 2, numElements, 4, 1);
+}
+
+function __substr(str, beginIndex, len){
+ return str.substr(beginIndex, len);
+}
+
+function __translateReplaceString(replaceStr){
+ var pos;
+ pos = 0;
+ while (0 <= (pos = replaceStr.indexOf('\\', pos))) {
+ replaceStr.charCodeAt(pos + 1) == 36?(replaceStr = replaceStr.substr(0, pos) + '$' + $substring(replaceStr, ++pos)):(replaceStr = replaceStr.substr(0, pos) + $substring(replaceStr, ++pos));
+ }
+ return replaceStr;
+}
+
+function fromCodePoint(codePoint){
+ var hiSurrogate, loSurrogate;
+ if (codePoint >= $intern_28) {
+ hiSurrogate = 55296 + (codePoint - $intern_28 >> 10 & 1023) & 65535;
+ loSurrogate = 56320 + (codePoint - $intern_28 & 1023) & 65535;
+ return valueOf_5(hiSurrogate) + valueOf_5(loSurrogate);
+ }
+ else {
+ return String.fromCharCode(codePoint & 65535);
+ }
+}
+
+function valueOf_5(x_0){
+ return String.fromCharCode(x_0);
+}
+
+var Ljava_lang_String_2_classLit = createForClass('java.lang', 'String', 2, Ljava_lang_Object_2_classLit);
+function $clinit_String$HashCache(){
+ $clinit_String$HashCache = emptyMethod;
+ back_0 = {};
+ front = {};
+}
+
+function compute(str){
+ var hashCode, i_0, n, nBatch;
+ hashCode = 0;
+ n = str.length;
+ nBatch = n - 4;
+ i_0 = 0;
+ while (i_0 < nBatch) {
+ hashCode = str.charCodeAt(i_0 + 3) + 31 * (str.charCodeAt(i_0 + 2) + 31 * (str.charCodeAt(i_0 + 1) + 31 * (str.charCodeAt(i_0) + 31 * hashCode)));
+ hashCode = hashCode | 0;
+ i_0 += 4;
+ }
+ while (i_0 < n) {
+ hashCode = hashCode * 31 + $charAt_0(str, i_0++);
+ }
+ hashCode = hashCode | 0;
+ return hashCode;
+}
+
+function getHashCode_0(str){
+ $clinit_String$HashCache();
+ var key = ':' + str;
+ var result = front[key];
+ if (result != null) {
+ return result;
+ }
+ result = back_0[key];
+ result == null && (result = compute(str));
+ increment();
+ return front[key] = result;
+}
+
+function increment(){
+ if (count_0 == 256) {
+ back_0 = front;
+ front = {};
+ count_0 = 0;
+ }
+ ++count_0;
+}
+
+var back_0, count_0 = 0, front;
+function $append(this$static, x_0){
+ this$static.string += x_0;
+ return this$static;
+}
+
+function $append_0(this$static, x_0){
+ this$static.string += x_0;
+ return this$static;
+}
+
+function $delete_0(this$static, start_0, end){
+ this$static.string = __substr(this$static.string, 0, start_0) + '' + $substring(this$static.string, end);
+ return this$static;
+}
+
+function $insert_0(this$static, index_0, x_0){
+ this$static.string = __substr(this$static.string, 0, index_0) + x_0 + $substring(this$static.string, index_0);
+ return this$static;
+}
+
+function StringBuilder(){
+ AbstractStringBuilder.call(this, '');
+}
+
+function StringBuilder_0(){
+ AbstractStringBuilder.call(this, '');
+}
+
+function StringBuilder_1(s){
+ AbstractStringBuilder.call(this, s);
+}
+
+defineClass(59, 127, {580:1}, StringBuilder, StringBuilder_0, StringBuilder_1);
+var Ljava_lang_StringBuilder_2_classLit = createForClass('java.lang', 'StringBuilder', 59, Ljava_lang_AbstractStringBuilder_2_classLit);
+function UnsupportedOperationException(){
+ RuntimeException.call(this);
+}
+
+function UnsupportedOperationException_0(message){
+ RuntimeException_0.call(this, message);
+}
+
+defineClass(29, 11, {3:1, 13:1, 11:1, 12:1, 29:1}, UnsupportedOperationException, UnsupportedOperationException_0);
+var Ljava_lang_UnsupportedOperationException_2_classLit = createForClass('java.lang', 'UnsupportedOperationException', 29, Ljava_lang_RuntimeException_2_classLit);
+function $addAll_0(this$static, c){
+ var changed, e, e$iterator;
+ checkNotNull(c);
+ changed = false;
+ for (e$iterator = $iterator(new AbstractMap$1(c.map_0)); e$iterator.val$outerIter2.hasNext();) {
+ e = $next_3(e$iterator);
+ changed = changed | this$static.add_1(e);
+ }
+ return changed;
+}
+
+function $advanceToFind(this$static, o, remove){
+ var e, iter;
+ for (iter = this$static.iterator_0(); iter.hasNext();) {
+ e = iter.next_0();
+ if (maskUndefined(o) === maskUndefined(e) || o != null && equals_Ljava_lang_Object__Z__devirtual$(o, e)) {
+ remove && iter.remove_0();
+ return true;
+ }
+ }
+ return false;
+}
+
+function $containsAll(this$static, c){
+ var e, e$iterator;
+ checkNotNull(c);
+ for (e$iterator = c.iterator_0(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ if (!this$static.contains_0(e)) {
+ return false;
+ }
+ }
+ return true;
+}
+
+function $toArray_0(this$static, a){
+ var i_0, it, size_0;
+ size_0 = this$static.size_2();
+ a.length < size_0 && (a = createFrom(a, size_0));
+ it = this$static.iterator_0();
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(a, i_0, it.next_0());
+ }
+ a.length > size_0 && setCheck(a, size_0, null);
+ return a;
+}
+
+function $toString_4(this$static){
+ var comma, e, e$iterator, sb;
+ sb = new StringBuilder_1('[');
+ comma = false;
+ for (e$iterator = this$static.iterator_0(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ comma?(sb.string += ', ' , sb):(comma = true);
+ sb.string += e === this$static?'(this Collection)':'' + e;
+ }
+ sb.string += ']';
+ return sb.string;
+}
+
+defineClass(564, 1, {28:1});
+_.add_1 = function(o){
+ throw new UnsupportedOperationException_0('Add not supported on this collection');
+}
+;
+_.addAll = function(c){
+ return $addAll_0(this, c);
+}
+;
+_.contains_0 = function(o){
+ return $advanceToFind(this, o, false);
+}
+;
+_.isEmpty = function(){
+ return this.size_2() == 0;
+}
+;
+_.remove_1 = function(o){
+ return $advanceToFind(this, o, true);
+}
+;
+_.toArray = function(){
+ return this.toArray_0(initDim(Ljava_lang_Object_2_classLit, $intern_4, 1, this.size_2(), 3, 1));
+}
+;
+_.toArray_0 = function(a){
+ return $toArray_0(this, a);
+}
+;
+_.toString$ = function(){
+ return $toString_4(this);
+}
+;
+var Ljava_util_AbstractCollection_2_classLit = createForClass('java.util', 'AbstractCollection', 564, Ljava_lang_Object_2_classLit);
+function $containsEntry(this$static, entry){
+ var key, ourValue, value_0;
+ key = entry.getKey();
+ value_0 = entry.getValue_1();
+ ourValue = this$static.get_1(key);
+ if (!(maskUndefined(value_0) === maskUndefined(ourValue) || value_0 != null && equals_Ljava_lang_Object__Z__devirtual$(value_0, ourValue))) {
+ return false;
+ }
+ if (ourValue == null && !this$static.containsKey(key)) {
+ return false;
+ }
+ return true;
+}
+
+function $implFindEntry(this$static, key, remove){
+ var entry, iter, k_0;
+ for (iter = this$static.entrySet_0().iterator_0(); iter.hasNext();) {
+ entry = dynamicCast(iter.next_0(), 25);
+ k_0 = entry.getKey();
+ if (maskUndefined(key) === maskUndefined(k_0) || key != null && equals_Ljava_lang_Object__Z__devirtual$(key, k_0)) {
+ if (remove) {
+ entry = new AbstractMap$SimpleEntry(entry.getKey(), entry.getValue_1());
+ iter.remove_0();
+ }
+ return entry;
+ }
+ }
+ return null;
+}
+
+function $toString_5(this$static, o){
+ return o === this$static?'(this Map)':'' + o;
+}
+
+function getEntryValueOrNull(entry){
+ return !entry?null:entry.getValue_1();
+}
+
+defineClass(567, 1, {78:1});
+_.containsKey = function(key){
+ return !!$implFindEntry(this, key, false);
+}
+;
+_.equals$ = function(obj){
+ var entry, entry$iterator, otherMap;
+ if (obj === this) {
+ return true;
+ }
+ if (!instanceOf(obj, 78)) {
+ return false;
+ }
+ otherMap = dynamicCast(obj, 78);
+ if (this.size_2() != otherMap.size_2()) {
+ return false;
+ }
+ for (entry$iterator = otherMap.entrySet_0().iterator_0(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 25);
+ if (!$containsEntry(this, entry)) {
+ return false;
+ }
+ }
+ return true;
+}
+;
+_.get_1 = function(key){
+ return getEntryValueOrNull($implFindEntry(this, key, false));
+}
+;
+_.hashCode$ = function(){
+ return hashCode_0(this.entrySet_0());
+}
+;
+_.isEmpty = function(){
+ return this.size_2() == 0;
+}
+;
+_.put = function(key, value_0){
+ throw new UnsupportedOperationException_0('Put not supported on this map');
+}
+;
+_.remove_2 = function(key){
+ return getEntryValueOrNull($implFindEntry(this, key, true));
+}
+;
+_.size_2 = function(){
+ return this.entrySet_0().size_2();
+}
+;
+_.toString$ = function(){
+ var comma, entry, entry$iterator, sb;
+ sb = new StringBuilder_1('{');
+ comma = false;
+ for (entry$iterator = this.entrySet_0().iterator_0(); entry$iterator.hasNext();) {
+ entry = dynamicCast(entry$iterator.next_0(), 25);
+ comma?(sb.string += ', ' , sb):(comma = true);
+ $append_0(sb, $toString_5(this, entry.getKey()));
+ sb.string += '=';
+ $append_0(sb, $toString_5(this, entry.getValue_1()));
+ }
+ sb.string += '}';
+ return sb.string;
+}
+;
+var Ljava_util_AbstractMap_2_classLit = createForClass('java.util', 'AbstractMap', 567, Ljava_lang_Object_2_classLit);
+function $elementAdded(this$static){
+ ++this$static.size_0;
+ structureChanged(this$static);
+}
+
+function $elementRemoved(this$static){
+ --this$static.size_0;
+ structureChanged(this$static);
+}
+
+function $reset(this$static){
+ $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory();
+ this$static.hashCodeMap = delegate.createJsHashCodeMap();
+ this$static.hashCodeMap.host = this$static;
+ this$static.stringMap = delegate.createJsStringMap();
+ this$static.stringMap.host = this$static;
+ this$static.size_0 = 0;
+ structureChanged(this$static);
+}
+
+defineClass(130, 567, {78:1});
+_.clear_0 = function(){
+ $reset(this);
+}
+;
+_.containsKey = function(key){
+ return isJavaString(key)?key == null?!!$getEntry(this.hashCodeMap, null):!(this.stringMap.get_2(key) === undefined):!!$getEntry(this.hashCodeMap, key);
+}
+;
+_.entrySet_0 = function(){
+ return new AbstractHashMap$EntrySet(this);
+}
+;
+_.get_1 = function(key){
+ return isJavaString(key)?key == null?getEntryValueOrNull($getEntry(this.hashCodeMap, null)):this.stringMap.get_2(key):getEntryValueOrNull($getEntry(this.hashCodeMap, key));
+}
+;
+_.put = function(key, value_0){
+ return isJavaString(key)?key == null?$put_2(this.hashCodeMap, null, value_0):this.stringMap.put_0(key, value_0):$put_2(this.hashCodeMap, key, value_0);
+}
+;
+_.remove_2 = function(key){
+ return isJavaString(key)?key == null?$remove_9(this.hashCodeMap, null):this.stringMap.remove_4(key):$remove_9(this.hashCodeMap, key);
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 0;
+var Ljava_util_AbstractHashMap_2_classLit = createForClass('java.util', 'AbstractHashMap', 130, Ljava_util_AbstractMap_2_classLit);
+defineClass(568, 564, $intern_48);
+_.equals$ = function(o){
+ var other;
+ if (o === this) {
+ return true;
+ }
+ if (!instanceOf(o, 64)) {
+ return false;
+ }
+ other = dynamicCast(o, 64);
+ if (other.size_2() != this.size_2()) {
+ return false;
+ }
+ return $containsAll(this, other);
+}
+;
+_.hashCode$ = function(){
+ return hashCode_0(this);
+}
+;
+var Ljava_util_AbstractSet_2_classLit = createForClass('java.util', 'AbstractSet', 568, Ljava_util_AbstractCollection_2_classLit);
+function $contains_1(this$static, o){
+ if (instanceOf(o, 25)) {
+ return $containsEntry(this$static.this$01, dynamicCast(o, 25));
+ }
+ return false;
+}
+
+function AbstractHashMap$EntrySet(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(328, 568, $intern_48, AbstractHashMap$EntrySet);
+_.contains_0 = function(o){
+ return $contains_1(this, o);
+}
+;
+_.iterator_0 = function(){
+ return new AbstractHashMap$EntrySetIterator(this.this$01);
+}
+;
+_.remove_1 = function(entry){
+ var key;
+ if ($contains_1(this, entry)) {
+ key = dynamicCast(entry, 25).getKey();
+ this.this$01.remove_2(key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.size_2();
+}
+;
+var Ljava_util_AbstractHashMap$EntrySet_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySet', 328, Ljava_util_AbstractSet_2_classLit);
+function $hasNext(this$static){
+ if (this$static.current.hasNext()) {
+ return true;
+ }
+ if (this$static.current != this$static.stringMapEntries) {
+ return false;
+ }
+ this$static.current = this$static.this$01.hashCodeMap.entries();
+ return this$static.current.hasNext();
+}
+
+function AbstractHashMap$EntrySetIterator(this$0){
+ this.this$01 = this$0;
+ this.stringMapEntries = this.this$01.stringMap.entries();
+ this.current = this.stringMapEntries;
+ setModCount(this, this$0._gwt_modCount);
+}
+
+defineClass(329, 1, {}, AbstractHashMap$EntrySetIterator);
+_.hasNext = function(){
+ return $hasNext(this);
+}
+;
+_.next_0 = function(){
+ return checkStructuralChange(this.this$01, this) , checkCriticalElement($hasNext(this)) , this.last = this.current , dynamicCast(this.current.next_0(), 25);
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.last);
+ checkStructuralChange(this.this$01, this);
+ this.last.remove_0();
+ this.last = null;
+ recordLastKnownStructure(this.this$01, this);
+}
+;
+var Ljava_util_AbstractHashMap$EntrySetIterator_2_classLit = createForClass('java.util', 'AbstractHashMap/EntrySetIterator', 329, Ljava_lang_Object_2_classLit);
+function $clear_0(this$static){
+ $removeRange(this$static, this$static.size_0);
+}
+
+function $indexOf_2(this$static, toFind){
+ var i_0, n;
+ for (i_0 = 0 , n = this$static.size_2(); i_0 < n; ++i_0) {
+ if (equals_0(toFind, this$static.get_0(i_0))) {
+ return i_0;
+ }
+ }
+ return -1;
+}
+
+function $removeRange(this$static, endIndex){
+ var i_0, iter;
+ iter = new AbstractList$ListIteratorImpl(this$static, 0);
+ for (i_0 = 0; i_0 < endIndex; ++i_0) {
+ iter.next_0();
+ iter.remove_0();
+ }
+}
+
+defineClass(565, 564, $intern_42);
+_.add_2 = function(index_0, element){
+ throw new UnsupportedOperationException_0('Add not supported on this list');
+}
+;
+_.add_1 = function(obj){
+ this.add_2(this.size_2(), obj);
+ return true;
+}
+;
+_.equals$ = function(o){
+ var elem, elem$iterator, elemOther, iterOther, other;
+ if (o === this) {
+ return true;
+ }
+ if (!instanceOf(o, 30)) {
+ return false;
+ }
+ other = dynamicCast(o, 30);
+ if (this.size_2() != other.size_2()) {
+ return false;
+ }
+ iterOther = other.iterator_0();
+ for (elem$iterator = this.iterator_0(); elem$iterator.hasNext();) {
+ elem = elem$iterator.next_0();
+ elemOther = iterOther.next_0();
+ if (!(maskUndefined(elem) === maskUndefined(elemOther) || elem != null && equals_Ljava_lang_Object__Z__devirtual$(elem, elemOther))) {
+ return false;
+ }
+ }
+ return true;
+}
+;
+_.hashCode$ = function(){
+ return hashCode_1(this);
+}
+;
+_.indexOf_0 = function(toFind){
+ return $indexOf_2(this, toFind);
+}
+;
+_.iterator_0 = function(){
+ return new AbstractList$IteratorImpl(this);
+}
+;
+_.listIterator = function(){
+ return this.listIterator_0(0);
+}
+;
+_.listIterator_0 = function(from){
+ return new AbstractList$ListIteratorImpl(this, from);
+}
+;
+_.remove_3 = function(index_0){
+ throw new UnsupportedOperationException_0('Remove not supported on this list');
+}
+;
+var Ljava_util_AbstractList_2_classLit = createForClass('java.util', 'AbstractList', 565, Ljava_util_AbstractCollection_2_classLit);
+function $hasNext_0(this$static){
+ return this$static.i < this$static.this$01_0.size_2();
+}
+
+function $next_2(this$static){
+ checkCriticalElement(this$static.i < this$static.this$01_0.size_2());
+ return this$static.this$01_0.get_0(this$static.last = this$static.i++);
+}
+
+function AbstractList$IteratorImpl(this$0){
+ this.this$01_0 = this$0;
+}
+
+defineClass(43, 1, {}, AbstractList$IteratorImpl);
+_.hasNext = function(){
+ return $hasNext_0(this);
+}
+;
+_.next_0 = function(){
+ return $next_2(this);
+}
+;
+_.remove_0 = function(){
+ checkState(this.last != -1);
+ this.this$01_0.remove_3(this.last);
+ this.i = this.last;
+ this.last = -1;
+}
+;
+_.i = 0;
+_.last = -1;
+var Ljava_util_AbstractList$IteratorImpl_2_classLit = createForClass('java.util', 'AbstractList/IteratorImpl', 43, Ljava_lang_Object_2_classLit);
+function AbstractList$ListIteratorImpl(this$0, start_0){
+ this.this$01 = this$0;
+ AbstractList$IteratorImpl.call(this, this$0);
+ checkPositionIndex(start_0, this$0.size_2());
+ this.i = start_0;
+}
+
+defineClass(162, 43, {}, AbstractList$ListIteratorImpl);
+_.hasPrevious = function(){
+ return this.i > 0;
+}
+;
+_.previous = function(){
+ checkCriticalElement(this.i > 0);
+ return this.this$01.get_0(this.last = --this.i);
+}
+;
+var Ljava_util_AbstractList$ListIteratorImpl_2_classLit = createForClass('java.util', 'AbstractList/ListIteratorImpl', 162, Ljava_util_AbstractList$IteratorImpl_2_classLit);
+function AbstractList$SubList(wrapped, fromIndex, toIndex){
+ checkCriticalPositionIndexes(fromIndex, toIndex, wrapped.array.length);
+ this.wrapped = wrapped;
+ this.fromIndex = fromIndex;
+ this.size_0 = toIndex - fromIndex;
+}
+
+defineClass(72, 565, $intern_42, AbstractList$SubList);
+_.add_2 = function(index_0, element){
+ checkPositionIndex(index_0, this.size_0);
+ $add_5(this.wrapped, this.fromIndex + index_0, element);
+ ++this.size_0;
+}
+;
+_.get_0 = function(index_0){
+ return checkElementIndex(index_0, this.size_0) , $get_6(this.wrapped, this.fromIndex + index_0);
+}
+;
+_.remove_3 = function(index_0){
+ var result;
+ checkElementIndex(index_0, this.size_0);
+ result = this.wrapped.remove_3(this.fromIndex + index_0);
+ --this.size_0;
+ return result;
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.fromIndex = 0;
+_.size_0 = 0;
+var Ljava_util_AbstractList$SubList_2_classLit = createForClass('java.util', 'AbstractList/SubList', 72, Ljava_util_AbstractList_2_classLit);
+function $iterator(this$static){
+ var outerIter;
+ outerIter = this$static.this$01.entrySet_0().iterator_0();
+ return new AbstractMap$1$1(outerIter);
+}
+
+function AbstractMap$1(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(46, 568, $intern_48, AbstractMap$1);
+_.contains_0 = function(key){
+ return this.this$01.containsKey(key);
+}
+;
+_.iterator_0 = function(){
+ return $iterator(this);
+}
+;
+_.remove_1 = function(key){
+ if (this.this$01.containsKey(key)) {
+ this.this$01.remove_2(key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.size_2();
+}
+;
+var Ljava_util_AbstractMap$1_2_classLit = createForClass('java.util', 'AbstractMap/1', 46, Ljava_util_AbstractSet_2_classLit);
+function $next_3(this$static){
+ var entry;
+ entry = dynamicCast(this$static.val$outerIter2.next_0(), 25);
+ return entry.getKey();
+}
+
+function AbstractMap$1$1(val$outerIter){
+ this.val$outerIter2 = val$outerIter;
+}
+
+defineClass(331, 1, {}, AbstractMap$1$1);
+_.hasNext = function(){
+ return this.val$outerIter2.hasNext();
+}
+;
+_.next_0 = function(){
+ return $next_3(this);
+}
+;
+_.remove_0 = function(){
+ this.val$outerIter2.remove_0();
+}
+;
+var Ljava_util_AbstractMap$1$1_2_classLit = createForClass('java.util', 'AbstractMap/1/1', 331, Ljava_lang_Object_2_classLit);
+function $setValue_3(this$static, value_0){
+ var oldValue;
+ oldValue = this$static.value_0;
+ this$static.value_0 = value_0;
+ return oldValue;
+}
+
+defineClass(330, 1, $intern_49);
+_.equals$ = function(other){
+ var entry;
+ if (!instanceOf(other, 25)) {
+ return false;
+ }
+ entry = dynamicCast(other, 25);
+ return equals_0(this.key, entry.getKey()) && equals_0(this.value_0, entry.getValue_1());
+}
+;
+_.getKey = function(){
+ return this.key;
+}
+;
+_.getValue_1 = function(){
+ return this.value_0;
+}
+;
+_.hashCode$ = function(){
+ return hashCode_2(this.key) ^ hashCode_2(this.value_0);
+}
+;
+_.setValue_0 = function(value_0){
+ return $setValue_3(this, value_0);
+}
+;
+_.toString$ = function(){
+ return this.key + '=' + this.value_0;
+}
+;
+var Ljava_util_AbstractMap$AbstractEntry_2_classLit = createForClass('java.util', 'AbstractMap/AbstractEntry', 330, Ljava_lang_Object_2_classLit);
+function AbstractMap$SimpleEntry(key, value_0){
+ this.key = key;
+ this.value_0 = value_0;
+}
+
+defineClass(131, 330, $intern_49, AbstractMap$SimpleEntry);
+var Ljava_util_AbstractMap$SimpleEntry_2_classLit = createForClass('java.util', 'AbstractMap/SimpleEntry', 131, Ljava_util_AbstractMap$AbstractEntry_2_classLit);
+defineClass(576, 1, $intern_49);
+_.equals$ = function(other){
+ var entry;
+ if (!instanceOf(other, 25)) {
+ return false;
+ }
+ entry = dynamicCast(other, 25);
+ return equals_0(this.getKey(), entry.getKey()) && equals_0(this.getValue_1(), entry.getValue_1());
+}
+;
+_.hashCode$ = function(){
+ return hashCode_2(this.getKey()) ^ hashCode_2(this.getValue_1());
+}
+;
+_.toString$ = function(){
+ return this.getKey() + '=' + this.getValue_1();
+}
+;
+var Ljava_util_AbstractMapEntry_2_classLit = createForClass('java.util', 'AbstractMapEntry', 576, Ljava_lang_Object_2_classLit);
+function $addAll_1(this$static, index_0, c){
+ var e, e$iterator, iter, modified;
+ checkNotNull(c);
+ modified = false;
+ iter = $listIterator(this$static, index_0);
+ for (e$iterator = new AbstractList$IteratorImpl(c); e$iterator.i < e$iterator.this$01_0.size_2();) {
+ e = (checkCriticalElement(e$iterator.i < e$iterator.this$01_0.size_2()) , e$iterator.this$01_0.get_0(e$iterator.last = e$iterator.i++));
+ $add_8(iter, e);
+ modified = true;
+ }
+ return modified;
+}
+
+function $get_5(this$static, index_0){
+ var iter;
+ iter = $listIterator(this$static, index_0);
+ try {
+ return checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , iter.lastNode.value_0;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 68)) {
+ throw new IndexOutOfBoundsException_0("Can't get element " + index_0);
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+function $remove_5(this$static, index_0){
+ var iter, old;
+ iter = $listIterator(this$static, index_0);
+ try {
+ old = (checkCriticalElement(iter.currentNode != iter.this$01.tail) , iter.lastNode = iter.currentNode , iter.currentNode = iter.currentNode.next , ++iter.currentIndex , iter.lastNode.value_0);
+ $remove_13(iter);
+ return old;
+ }
+ catch ($e0) {
+ $e0 = wrap($e0);
+ if (instanceOf($e0, 68)) {
+ throw new IndexOutOfBoundsException_0("Can't remove element " + index_0);
+ }
+ else
+ throw unwrap($e0);
+ }
+}
+
+defineClass(577, 565, $intern_42);
+_.add_2 = function(index_0, element){
+ var iter;
+ iter = $listIterator(this, index_0);
+ $add_8(iter, element);
+}
+;
+_.get_0 = function(index_0){
+ return $get_5(this, index_0);
+}
+;
+_.iterator_0 = function(){
+ return $listIterator(this, 0);
+}
+;
+_.remove_3 = function(index_0){
+ return $remove_5(this, index_0);
+}
+;
+var Ljava_util_AbstractSequentialList_2_classLit = createForClass('java.util', 'AbstractSequentialList', 577, Ljava_util_AbstractList_2_classLit);
+function $$init_0(this$static){
+ this$static.array = initDim(Ljava_lang_Object_2_classLit, $intern_4, 1, 0, 3, 1);
+}
+
+function $add_5(this$static, index_0, o){
+ checkPositionIndex(index_0, this$static.array.length);
+ splice_0(this$static.array, index_0, 0, o);
+}
+
+function $add_6(this$static, o){
+ setCheck(this$static.array, this$static.array.length, o);
+ return true;
+}
+
+function $get_6(this$static, index_0){
+ checkElementIndex(index_0, this$static.array.length);
+ return this$static.array[index_0];
+}
+
+function $indexOf_3(this$static, o, index_0){
+ for (; index_0 < this$static.array.length; ++index_0) {
+ if (equals_0(o, this$static.array[index_0])) {
+ return index_0;
+ }
+ }
+ return -1;
+}
+
+function $insertAt(this$static, index_0, values){
+ nativeArraySplice(values, 0, this$static.array, index_0, values.length, false);
+}
+
+function $remove_6(this$static, index_0){
+ var previous;
+ previous = (checkElementIndex(index_0, this$static.array.length) , this$static.array[index_0]);
+ splice(this$static.array, index_0, 1);
+ return previous;
+}
+
+function $remove_7(this$static, o){
+ var i_0;
+ i_0 = $indexOf_3(this$static, o, 0);
+ if (i_0 == -1) {
+ return false;
+ }
+ this$static.remove_3(i_0);
+ return true;
+}
+
+function $set_4(this$static, index_0, o){
+ var previous;
+ previous = (checkElementIndex(index_0, this$static.array.length) , this$static.array[index_0]);
+ setCheck(this$static.array, index_0, o);
+ return previous;
+}
+
+function $toArray_1(this$static){
+ return cloneSubrange(this$static.array, this$static.array.length);
+}
+
+function $toArray_2(this$static, out){
+ var i_0, size_0;
+ size_0 = this$static.array.length;
+ out.length < size_0 && (out = createFrom(out, size_0));
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(out, i_0, this$static.array[i_0]);
+ }
+ out.length > size_0 && setCheck(out, size_0, null);
+ return out;
+}
+
+function ArrayList(){
+ $$init_0(this);
+}
+
+function ArrayList_0(initialCapacity){
+ $$init_0(this);
+ checkCriticalArgument(initialCapacity >= 0, 'Initial capacity must not be negative');
+}
+
+function ArrayList_1(c){
+ $$init_0(this);
+ $insertAt(this, 0, c.toArray());
+}
+
+function splice(array, index_0, deleteCount){
+ array.splice(index_0, deleteCount);
+}
+
+function splice_0(array, index_0, deleteCount, value_0){
+ array.splice(index_0, deleteCount, value_0);
+}
+
+defineClass(14, 565, $intern_50, ArrayList, ArrayList_0, ArrayList_1);
+_.add_2 = function(index_0, o){
+ $add_5(this, index_0, o);
+}
+;
+_.add_1 = function(o){
+ return $add_6(this, o);
+}
+;
+_.addAll = function(c){
+ var cArray, len;
+ cArray = $toArray_0(c, initDim(Ljava_lang_Object_2_classLit, $intern_4, 1, c.map_0.size_2(), 3, 1));
+ len = cArray.length;
+ if (len == 0) {
+ return false;
+ }
+ $insertAt(this, this.array.length, cArray);
+ return true;
+}
+;
+_.contains_0 = function(o){
+ return $indexOf_3(this, o, 0) != -1;
+}
+;
+_.get_0 = function(index_0){
+ return $get_6(this, index_0);
+}
+;
+_.indexOf_0 = function(o){
+ return $indexOf_3(this, o, 0);
+}
+;
+_.isEmpty = function(){
+ return this.array.length == 0;
+}
+;
+_.remove_3 = function(index_0){
+ return $remove_6(this, index_0);
+}
+;
+_.remove_1 = function(o){
+ return $remove_7(this, o);
+}
+;
+_.size_2 = function(){
+ return this.array.length;
+}
+;
+_.toArray = function(){
+ return $toArray_1(this);
+}
+;
+_.toArray_0 = function(out){
+ return $toArray_2(this, out);
+}
+;
+var Ljava_util_ArrayList_2_classLit = createForClass('java.util', 'ArrayList', 14, Ljava_util_AbstractList_2_classLit);
+function $get_7(this$static, index_0){
+ checkElementIndex(index_0, this$static.array.length);
+ return this$static.array[index_0];
+}
+
+function Arrays$ArrayList(array){
+ this.array = array;
+}
+
+defineClass(44, 565, $intern_50, Arrays$ArrayList);
+_.contains_0 = function(o){
+ return $indexOf_2(this, o) != -1;
+}
+;
+_.get_0 = function(index_0){
+ return $get_7(this, index_0);
+}
+;
+_.size_2 = function(){
+ return this.array.length;
+}
+;
+_.toArray = function(){
+ return clone(this.array);
+}
+;
+_.toArray_0 = function(out){
+ var i_0, size_0;
+ size_0 = this.array.length;
+ out.length < size_0 && (out = createFrom(out, size_0));
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(out, i_0, this.array[i_0]);
+ }
+ out.length > size_0 && setCheck(out, size_0, null);
+ return out;
+}
+;
+var Ljava_util_Arrays$ArrayList_2_classLit = createForClass('java.util', 'Arrays/ArrayList', 44, Ljava_util_AbstractList_2_classLit);
+function $clinit_Collections(){
+ $clinit_Collections = emptyMethod;
+ EMPTY_LIST = new Collections$EmptyList;
+ EMPTY_SET = new Collections$EmptySet;
+}
+
+function hashCode_0(collection){
+ $clinit_Collections();
+ var e, e$iterator, hashCode;
+ hashCode = 0;
+ for (e$iterator = collection.iterator_0(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ hashCode = hashCode + (e != null?hashCode__I__devirtual$(e):0);
+ hashCode = hashCode | 0;
+ }
+ return hashCode;
+}
+
+function hashCode_1(list){
+ $clinit_Collections();
+ var e, e$iterator, hashCode;
+ hashCode = 1;
+ for (e$iterator = list.iterator_0(); e$iterator.hasNext();) {
+ e = e$iterator.next_0();
+ hashCode = 31 * hashCode + (e != null?hashCode__I__devirtual$(e):0);
+ hashCode = hashCode | 0;
+ }
+ return hashCode;
+}
+
+function singleton_0(o){
+ $clinit_Collections();
+ var set_0;
+ set_0 = new HashSet_0;
+ $add_7(set_0, o);
+ return new Collections$UnmodifiableSet(set_0);
+}
+
+function unmodifiableList(list){
+ $clinit_Collections();
+ return instanceOf(list, 112)?new Collections$UnmodifiableRandomAccessList(list):new Collections$UnmodifiableList(list);
+}
+
+var EMPTY_LIST, EMPTY_SET;
+function Collections$EmptyList(){
+}
+
+defineClass(402, 565, $intern_50, Collections$EmptyList);
+_.contains_0 = function(object){
+ return false;
+}
+;
+_.get_0 = function(location_0){
+ checkElementIndex(location_0, 0);
+ return null;
+}
+;
+_.iterator_0 = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.listIterator = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.size_2 = function(){
+ return 0;
+}
+;
+var Ljava_util_Collections$EmptyList_2_classLit = createForClass('java.util', 'Collections/EmptyList', 402, Ljava_util_AbstractList_2_classLit);
+function $clinit_Collections$EmptyListIterator(){
+ $clinit_Collections$EmptyListIterator = emptyMethod;
+ INSTANCE_5 = new Collections$EmptyListIterator;
+}
+
+function Collections$EmptyListIterator(){
+}
+
+defineClass(403, 1, {}, Collections$EmptyListIterator);
+_.hasNext = function(){
+ return false;
+}
+;
+_.hasPrevious = function(){
+ return false;
+}
+;
+_.next_0 = function(){
+ throw new NoSuchElementException;
+}
+;
+_.previous = function(){
+ throw new NoSuchElementException;
+}
+;
+_.remove_0 = function(){
+ throw new IllegalStateException;
+}
+;
+var INSTANCE_5;
+var Ljava_util_Collections$EmptyListIterator_2_classLit = createForClass('java.util', 'Collections/EmptyListIterator', 403, Ljava_lang_Object_2_classLit);
+function Collections$EmptySet(){
+}
+
+defineClass(404, 568, $intern_51, Collections$EmptySet);
+_.contains_0 = function(object){
+ return false;
+}
+;
+_.iterator_0 = function(){
+ return $clinit_Collections() , $clinit_Collections$EmptyListIterator() , INSTANCE_5;
+}
+;
+_.size_2 = function(){
+ return 0;
+}
+;
+var Ljava_util_Collections$EmptySet_2_classLit = createForClass('java.util', 'Collections/EmptySet', 404, Ljava_util_AbstractSet_2_classLit);
+function Collections$SingletonList(element){
+ this.element = element;
+}
+
+defineClass(168, 565, {3:1, 28:1, 30:1}, Collections$SingletonList);
+_.contains_0 = function(item_0){
+ return equals_0(this.element, item_0);
+}
+;
+_.get_0 = function(index_0){
+ checkElementIndex(index_0, 1);
+ return this.element;
+}
+;
+_.size_2 = function(){
+ return 1;
+}
+;
+var Ljava_util_Collections$SingletonList_2_classLit = createForClass('java.util', 'Collections/SingletonList', 168, Ljava_util_AbstractList_2_classLit);
+function Collections$UnmodifiableCollection(coll){
+ this.coll = coll;
+}
+
+defineClass(169, 1, {28:1});
+_.add_1 = function(o){
+ throw new UnsupportedOperationException;
+}
+;
+_.addAll = function(c){
+ throw new UnsupportedOperationException;
+}
+;
+_.contains_0 = function(o){
+ return this.coll.contains_0(o);
+}
+;
+_.iterator_0 = function(){
+ return new Collections$UnmodifiableCollectionIterator(this.coll.iterator_0());
+}
+;
+_.remove_1 = function(o){
+ throw new UnsupportedOperationException;
+}
+;
+_.size_2 = function(){
+ return this.coll.size_2();
+}
+;
+_.toArray = function(){
+ return this.coll.toArray();
+}
+;
+_.toArray_0 = function(a){
+ return this.coll.toArray_0(a);
+}
+;
+_.toString$ = function(){
+ return this.coll.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableCollection_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollection', 169, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableCollectionIterator(it){
+ this.it = it;
+}
+
+defineClass(74, 1, {}, Collections$UnmodifiableCollectionIterator);
+_.hasNext = function(){
+ return this.it.hasNext();
+}
+;
+_.next_0 = function(){
+ return this.it.next_0();
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException;
+}
+;
+var Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit = createForClass('java.util', 'Collections/UnmodifiableCollectionIterator', 74, Ljava_lang_Object_2_classLit);
+function $get_8(this$static, index_0){
+ return this$static.list.get_0(index_0);
+}
+
+function $indexOf_4(this$static, o){
+ return this$static.list.indexOf_0(o);
+}
+
+function Collections$UnmodifiableList(list){
+ Collections$UnmodifiableCollection.call(this, list);
+ this.list = list;
+}
+
+defineClass(170, 169, $intern_42, Collections$UnmodifiableList);
+_.equals$ = function(o){
+ return this.list.equals$(o);
+}
+;
+_.get_0 = function(index_0){
+ return $get_8(this, index_0);
+}
+;
+_.hashCode$ = function(){
+ return this.list.hashCode$();
+}
+;
+_.indexOf_0 = function(o){
+ return $indexOf_4(this, o);
+}
+;
+_.isEmpty = function(){
+ return this.list.isEmpty();
+}
+;
+_.listIterator = function(){
+ return new Collections$UnmodifiableListIterator(this.list.listIterator_0(0));
+}
+;
+_.listIterator_0 = function(from){
+ return new Collections$UnmodifiableListIterator(this.list.listIterator_0(from));
+}
+;
+var Ljava_util_Collections$UnmodifiableList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableList', 170, Ljava_util_Collections$UnmodifiableCollection_2_classLit);
+function Collections$UnmodifiableListIterator(lit){
+ Collections$UnmodifiableCollectionIterator.call(this, lit);
+ this.lit = lit;
+}
+
+defineClass(172, 74, {}, Collections$UnmodifiableListIterator);
+_.hasPrevious = function(){
+ return this.lit.hasPrevious();
+}
+;
+_.previous = function(){
+ return this.lit.previous();
+}
+;
+var Ljava_util_Collections$UnmodifiableListIterator_2_classLit = createForClass('java.util', 'Collections/UnmodifiableListIterator', 172, Ljava_util_Collections$UnmodifiableCollectionIterator_2_classLit);
+function Collections$UnmodifiableMap(map_0){
+ this.map_0 = map_0;
+}
+
+defineClass(405, 1, {78:1}, Collections$UnmodifiableMap);
+_.entrySet_0 = function(){
+ !this.entrySet && (this.entrySet = new Collections$UnmodifiableMap$UnmodifiableEntrySet(this.map_0.entrySet_0()));
+ return this.entrySet;
+}
+;
+_.equals$ = function(o){
+ return this.map_0.equals$(o);
+}
+;
+_.get_1 = function(key){
+ return this.map_0.get_1(key);
+}
+;
+_.hashCode$ = function(){
+ return this.map_0.hashCode$();
+}
+;
+_.isEmpty = function(){
+ return this.map_0.isEmpty();
+}
+;
+_.put = function(key, value_0){
+ throw new UnsupportedOperationException;
+}
+;
+_.remove_2 = function(key){
+ throw new UnsupportedOperationException;
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.toString$ = function(){
+ return this.map_0.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableMap_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap', 405, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableSet(set_0){
+ Collections$UnmodifiableCollection.call(this, set_0);
+}
+
+defineClass(134, 169, $intern_48, Collections$UnmodifiableSet);
+_.equals$ = function(o){
+ return this.coll.equals$(o);
+}
+;
+_.hashCode$ = function(){
+ return this.coll.hashCode$();
+}
+;
+var Ljava_util_Collections$UnmodifiableSet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableSet', 134, Ljava_util_Collections$UnmodifiableCollection_2_classLit);
+function $wrap(array, size_0){
+ var i_0;
+ for (i_0 = 0; i_0 < size_0; ++i_0) {
+ setCheck(array, i_0, new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(dynamicCast(array[i_0], 25)));
+ }
+}
+
+function Collections$UnmodifiableMap$UnmodifiableEntrySet(s){
+ Collections$UnmodifiableSet.call(this, s);
+}
+
+defineClass(406, 134, $intern_48, Collections$UnmodifiableMap$UnmodifiableEntrySet);
+_.contains_0 = function(o){
+ return this.coll.contains_0(o);
+}
+;
+_.iterator_0 = function(){
+ var it;
+ it = this.coll.iterator_0();
+ return new Collections$UnmodifiableMap$UnmodifiableEntrySet$1(it);
+}
+;
+_.toArray = function(){
+ var array;
+ array = this.coll.toArray();
+ $wrap(array, array.length);
+ return array;
+}
+;
+_.toArray_0 = function(a){
+ var result;
+ result = this.coll.toArray_0(a);
+ $wrap(result, this.coll.size_2());
+ return result;
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet', 406, Ljava_util_Collections$UnmodifiableSet_2_classLit);
+function Collections$UnmodifiableMap$UnmodifiableEntrySet$1(val$it){
+ this.val$it2 = val$it;
+}
+
+defineClass(408, 1, {}, Collections$UnmodifiableMap$UnmodifiableEntrySet$1);
+_.hasNext = function(){
+ return this.val$it2.hasNext();
+}
+;
+_.next_0 = function(){
+ return new Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(dynamicCast(this.val$it2.next_0(), 25));
+}
+;
+_.remove_0 = function(){
+ throw new UnsupportedOperationException;
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$1_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/1', 408, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry(entry){
+ this.entry = entry;
+}
+
+defineClass(171, 1, $intern_49, Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry);
+_.equals$ = function(o){
+ return this.entry.equals$(o);
+}
+;
+_.getKey = function(){
+ return this.entry.getKey();
+}
+;
+_.getValue_1 = function(){
+ return this.entry.getValue_1();
+}
+;
+_.hashCode$ = function(){
+ return this.entry.hashCode$();
+}
+;
+_.setValue_0 = function(value_0){
+ throw new UnsupportedOperationException;
+}
+;
+_.toString$ = function(){
+ return this.entry.toString$();
+}
+;
+var Ljava_util_Collections$UnmodifiableMap$UnmodifiableEntrySet$UnmodifiableEntry_2_classLit = createForClass('java.util', 'Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry', 171, Ljava_lang_Object_2_classLit);
+function Collections$UnmodifiableRandomAccessList(list){
+ Collections$UnmodifiableList.call(this, list);
+}
+
+defineClass(407, 170, {28:1, 30:1, 112:1}, Collections$UnmodifiableRandomAccessList);
+var Ljava_util_Collections$UnmodifiableRandomAccessList_2_classLit = createForClass('java.util', 'Collections/UnmodifiableRandomAccessList', 407, Ljava_util_Collections$UnmodifiableList_2_classLit);
+function checkStructuralChange(host, iterator){
+ if (iterator._gwt_modCount != host._gwt_modCount) {
+ throw new ConcurrentModificationException;
+ }
+}
+
+function recordLastKnownStructure(host, iterator){
+ setModCount(iterator, host._gwt_modCount);
+}
+
+function setModCount(o, modCount){
+ o._gwt_modCount = modCount;
+}
+
+function structureChanged(map_0){
+ var modCount;
+ modCount = map_0._gwt_modCount | 0;
+ setModCount(map_0, modCount + 1);
+}
+
+function ConcurrentModificationException(){
+ RuntimeException.call(this);
+}
+
+defineClass(523, 11, $intern_3, ConcurrentModificationException);
+var Ljava_util_ConcurrentModificationException_2_classLit = createForClass('java.util', 'ConcurrentModificationException', 523, Ljava_lang_RuntimeException_2_classLit);
+function HashMap(){
+ $reset(this);
+}
+
+function HashMap_0(){
+ checkCriticalArgument(true, 'Negative initial capacity');
+ checkCriticalArgument(true, 'Non-positive load factor');
+ $reset(this);
+}
+
+defineClass(26, 130, {3:1, 78:1}, HashMap, HashMap_0);
+_.equals = function(value1, value2){
+ return maskUndefined(value1) === maskUndefined(value2) || value1 != null && equals_Ljava_lang_Object__Z__devirtual$(value1, value2);
+}
+;
+_.getHashCode = function(key){
+ var hashCode;
+ hashCode = hashCode__I__devirtual$(key);
+ return hashCode | 0;
+}
+;
+var Ljava_util_HashMap_2_classLit = createForClass('java.util', 'HashMap', 26, Ljava_util_AbstractHashMap_2_classLit);
+function $add_7(this$static, o){
+ var old;
+ old = this$static.map_0.put(o, this$static);
+ return old == null;
+}
+
+function $contains_2(this$static, o){
+ return this$static.map_0.containsKey(o);
+}
+
+function $remove_8(this$static, o){
+ return this$static.map_0.remove_2(o) != null;
+}
+
+function HashSet(){
+ this.map_0 = new HashMap;
+}
+
+function HashSet_0(){
+ this.map_0 = new HashMap_0;
+}
+
+function HashSet_1(map_0){
+ this.map_0 = map_0;
+}
+
+defineClass(45, 568, $intern_51, HashSet, HashSet_0);
+_.add_1 = function(o){
+ return $add_7(this, o);
+}
+;
+_.contains_0 = function(o){
+ return $contains_2(this, o);
+}
+;
+_.isEmpty = function(){
+ return this.map_0.size_2() == 0;
+}
+;
+_.iterator_0 = function(){
+ return $iterator(new AbstractMap$1(this.map_0));
+}
+;
+_.remove_1 = function(o){
+ return $remove_8(this, o);
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.toString$ = function(){
+ return $toString_4(new AbstractMap$1(this.map_0));
+}
+;
+var Ljava_util_HashSet_2_classLit = createForClass('java.util', 'HashSet', 45, Ljava_util_AbstractSet_2_classLit);
+function $ensureChain(this$static, hashCode){
+ var map_0 = this$static.backingMap;
+ return map_0[hashCode] || (map_0[hashCode] = []);
+}
+
+function $getChain(this$static, hashCode){
+ return this$static.backingMap[hashCode];
+}
+
+function $getChainOrEmpty(this$static, hashCode){
+ return this$static.backingMap[hashCode] || [];
+}
+
+function $getEntry(this$static, key){
+ var entry, entry$array, entry$index, entry$max;
+ for (entry$array = $getChainOrEmpty(this$static, key == null?'0':'' + this$static.host.getHashCode(key)) , entry$index = 0 , entry$max = entry$array.length; entry$index < entry$max; ++entry$index) {
+ entry = entry$array[entry$index];
+ if (this$static.host.equals(key, entry.getKey())) {
+ return entry;
+ }
+ }
+ return null;
+}
+
+function $keys_0(this$static){
+ return Object.getOwnPropertyNames(this$static.backingMap);
+}
+
+function $put_2(this$static, key, value_0){
+ var chain, entry, entry$index, entry$max;
+ chain = $ensureChain(this$static, key == null?'0':'' + this$static.host.getHashCode(key));
+ for (entry$index = 0 , entry$max = chain.length; entry$index < entry$max; ++entry$index) {
+ entry = chain[entry$index];
+ if (this$static.host.equals(key, entry.getKey())) {
+ return entry.setValue_0(value_0);
+ }
+ }
+ setCheck(chain, chain.length, new AbstractMap$SimpleEntry(key, value_0));
+ $elementAdded(this$static.host);
+ return null;
+}
+
+function $remove_9(this$static, key){
+ var chain, entry, hashCode, i_0;
+ hashCode = key == null?'0':'' + this$static.host.getHashCode(key);
+ chain = $getChainOrEmpty(this$static, hashCode);
+ for (i_0 = 0; i_0 < chain.length; i_0++) {
+ entry = chain[i_0];
+ if (this$static.host.equals(key, entry.getKey())) {
+ chain.length == 1?(delete this$static.backingMap[hashCode] , undefined):(chain.splice(i_0, 1) , undefined);
+ $elementRemoved(this$static.host);
+ return entry.getValue_1();
+ }
+ }
+ return null;
+}
+
+function InternalJsHashCodeMap(){
+ this.backingMap = this.createMap();
+}
+
+defineClass(179, 1, {}, InternalJsHashCodeMap);
+_.createMap = function createMap(){
+ return Object.create(null);
+}
+;
+_.entries = function(){
+ return new InternalJsHashCodeMap$1(this);
+}
+;
+var Ljava_util_InternalJsHashCodeMap_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap', 179, Ljava_lang_Object_2_classLit);
+function $hasNext_1(this$static){
+ if (this$static.itemIndex < this$static.chain.length) {
+ return true;
+ }
+ if (this$static.chainIndex < this$static.keys_0.length - 1) {
+ this$static.chain = $getChain(this$static.this$01, this$static.keys_0[++this$static.chainIndex]);
+ this$static.itemIndex = 0;
+ return true;
+ }
+ return false;
+}
+
+function InternalJsHashCodeMap$1(this$0){
+ this.this$01 = this$0;
+ this.keys_0 = $keys_0(this.this$01);
+ this.chain = initDim(Ljava_util_Map$Entry_2_classLit, $intern_4, 25, 0, 0, 1);
+}
+
+defineClass(460, 1, {}, InternalJsHashCodeMap$1);
+_.hasNext = function(){
+ return $hasNext_1(this);
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement($hasNext_1(this)) , this.lastChain = this.chain , this.lastEntry = this.chain[this.itemIndex++] , this.lastEntry;
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.lastEntry);
+ $remove_9(this.this$01, this.lastEntry.getKey());
+ maskUndefined(this.chain) === maskUndefined(this.lastChain) && this.chain.length != 1 && --this.itemIndex;
+ this.lastEntry = null;
+}
+;
+_.chainIndex = -1;
+_.itemIndex = 0;
+_.lastChain = null;
+_.lastEntry = null;
+var Ljava_util_InternalJsHashCodeMap$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/1', 460, Ljava_lang_Object_2_classLit);
+function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy(){
+ InternalJsHashCodeMap.call(this);
+}
+
+defineClass(458, 179, {}, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy);
+_.createMap = function createMap_0(){
+ return {};
+}
+;
+_.entries = function entries(){
+ var list = this.newEntryList();
+ var map_0 = this.backingMap;
+ for (var hashCode in map_0) {
+ if (hashCode == parseInt(hashCode, 10)) {
+ var array = map_0[hashCode];
+ for (var i_0 = 0, c = array.length; i_0 < c; ++i_0) {
+ list.add_1(array[i_0]);
+ }
+ }
+ }
+ return list.iterator_0();
+}
+;
+_.newEntryList = function(){
+ return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1(this);
+}
+;
+var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy', 458, Ljava_util_InternalJsHashCodeMap_2_classLit);
+function InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1(this$1){
+ this.this$11 = this$1;
+ ArrayList.call(this);
+}
+
+defineClass(459, 14, $intern_50, InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1);
+_.remove_3 = function(index_0){
+ var removed;
+ return removed = dynamicCast($remove_6(this, index_0), 25) , $remove_9(this.this$11, removed.getKey()) , removed;
+}
+;
+var Ljava_util_InternalJsHashCodeMap$InternalJsHashCodeMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsHashCodeMap/InternalJsHashCodeMapLegacy/1', 459, Ljava_util_ArrayList_2_classLit);
+function InternalJsMapFactory(){
+}
+
+defineClass(455, 1, {}, InternalJsMapFactory);
+_.createJsHashCodeMap = function(){
+ return new InternalJsHashCodeMap;
+}
+;
+_.createJsStringMap = function(){
+ return new InternalJsStringMap;
+}
+;
+var Ljava_util_InternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory', 455, Ljava_lang_Object_2_classLit);
+function $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory(){
+ $clinit_InternalJsMapFactory$BackwardCompatibleJsMapFactory = emptyMethod;
+ delegate = createFactory();
+}
+
+function canHandleProto(){
+ 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 createFactory(){
+ var map_0;
+ if (Object.create && Object.getOwnPropertyNames && canHandleProto()) {
+ return (map_0 = Object.create(null) , map_0['__proto__'] = 42 , Object.getOwnPropertyNames(map_0).length == 0)?new InternalJsMapFactory$KeysWorkaroundJsMapFactory:new InternalJsMapFactory;
+ }
+ return new InternalJsMapFactory$LegacyInternalJsMapFactory;
+}
+
+var delegate;
+function InternalJsMapFactory$KeysWorkaroundJsMapFactory(){
+}
+
+defineClass(457, 455, {}, InternalJsMapFactory$KeysWorkaroundJsMapFactory);
+_.createJsStringMap = function(){
+ return new InternalJsStringMap$InternalJsStringMapWithKeysWorkaround;
+}
+;
+var Ljava_util_InternalJsMapFactory$KeysWorkaroundJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/KeysWorkaroundJsMapFactory', 457, Ljava_util_InternalJsMapFactory_2_classLit);
+function InternalJsMapFactory$LegacyInternalJsMapFactory(){
+}
+
+defineClass(456, 455, {}, InternalJsMapFactory$LegacyInternalJsMapFactory);
+_.createJsHashCodeMap = function(){
+ return new InternalJsHashCodeMap$InternalJsHashCodeMapLegacy;
+}
+;
+_.createJsStringMap = function(){
+ return new InternalJsStringMap$InternalJsStringMapLegacy;
+}
+;
+var Ljava_util_InternalJsMapFactory$LegacyInternalJsMapFactory_2_classLit = createForClass('java.util', 'InternalJsMapFactory/LegacyInternalJsMapFactory', 456, Ljava_util_InternalJsMapFactory_2_classLit);
+function $keys_1(this$static){
+ return Object.getOwnPropertyNames(this$static.backingMap);
+}
+
+function $put_3(this$static, key, value_0){
+ var oldValue;
+ oldValue = this$static.backingMap[key];
+ oldValue === undefined && $elementAdded(this$static.host);
+ $set_5(this$static, key, value_0 === undefined?null:value_0);
+ return oldValue;
+}
+
+function $remove_10(this$static, key){
+ var value_0;
+ value_0 = this$static.backingMap[key];
+ if (!(value_0 === undefined)) {
+ delete this$static.backingMap[key];
+ $elementRemoved(this$static.host);
+ }
+ return value_0;
+}
+
+function $set_5(this$static, key, value_0){
+ this$static.backingMap[key] = value_0;
+}
+
+function InternalJsStringMap(){
+ this.backingMap = this.createMap_0();
+}
+
+defineClass(139, 1, {}, InternalJsStringMap);
+_.createMap_0 = function createMap_1(){
+ return Object.create(null);
+}
+;
+_.entries = function(){
+ var keys_0;
+ keys_0 = this.keys_1();
+ return new InternalJsStringMap$1(this, keys_0);
+}
+;
+_.get_2 = function(key){
+ return this.backingMap[key];
+}
+;
+_.keys_1 = function(){
+ return $keys_1(this);
+}
+;
+_.newMapEntry = function(key){
+ return new InternalJsStringMap$2(this, key);
+}
+;
+_.put_0 = function(key, value_0){
+ return $put_3(this, key, value_0);
+}
+;
+_.remove_4 = function(key){
+ return $remove_10(this, key);
+}
+;
+var Ljava_util_InternalJsStringMap_2_classLit = createForClass('java.util', 'InternalJsStringMap', 139, Ljava_lang_Object_2_classLit);
+function InternalJsStringMap$1(this$0, val$keys){
+ this.this$01 = this$0;
+ this.val$keys2 = val$keys;
+}
+
+defineClass(432, 1, {}, InternalJsStringMap$1);
+_.hasNext = function(){
+ return this.i < this.val$keys2.length;
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement(this.i < this.val$keys2.length) , new InternalJsStringMap$2(this.this$01, this.val$keys2[this.last = this.i++]);
+}
+;
+_.remove_0 = function(){
+ checkState(this.last != -1);
+ this.this$01.remove_4(this.val$keys2[this.last]);
+ this.last = -1;
+}
+;
+_.i = 0;
+_.last = -1;
+var Ljava_util_InternalJsStringMap$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/1', 432, Ljava_lang_Object_2_classLit);
+function InternalJsStringMap$2(this$0, val$key){
+ this.this$01 = this$0;
+ this.val$key2 = val$key;
+}
+
+defineClass(176, 576, $intern_49, InternalJsStringMap$2);
+_.getKey = function(){
+ return this.val$key2;
+}
+;
+_.getValue_1 = function(){
+ return this.this$01.get_2(this.val$key2);
+}
+;
+_.setValue_0 = function(object){
+ return this.this$01.put_0(this.val$key2, object);
+}
+;
+var Ljava_util_InternalJsStringMap$2_2_classLit = createForClass('java.util', 'InternalJsStringMap/2', 176, Ljava_util_AbstractMapEntry_2_classLit);
+function InternalJsStringMap$InternalJsStringMapLegacy(){
+ InternalJsStringMap.call(this);
+}
+
+defineClass(429, 139, {}, InternalJsStringMap$InternalJsStringMapLegacy);
+_.createMap_0 = function createMap_2(){
+ return {};
+}
+;
+_.entries = function entries_0(){
+ var list = this.newEntryList_0();
+ for (var key in this.backingMap) {
+ if (key.charCodeAt(0) == 58) {
+ var entry = this.newMapEntry(key.substring(1));
+ list.add_1(entry);
+ }
+ }
+ return list.iterator_0();
+}
+;
+_.get_2 = function(key){
+ return this.backingMap[':' + key];
+}
+;
+_.newEntryList_0 = function(){
+ return new InternalJsStringMap$InternalJsStringMapLegacy$1(this);
+}
+;
+_.put_0 = function(key, value_0){
+ return $put_3(this, ':' + key, value_0);
+}
+;
+_.remove_4 = function(key){
+ return $remove_10(this, ':' + key);
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy', 429, Ljava_util_InternalJsStringMap_2_classLit);
+function InternalJsStringMap$InternalJsStringMapLegacy$1(this$1){
+ this.this$11 = this$1;
+ ArrayList.call(this);
+}
+
+defineClass(431, 14, $intern_50, InternalJsStringMap$InternalJsStringMapLegacy$1);
+_.remove_3 = function(index_0){
+ var removed;
+ return removed = dynamicCast($remove_6(this, index_0), 25) , $remove_10(this.this$11, ':' + dynamicCastToString(removed.getKey())) , removed;
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapLegacy$1_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapLegacy/1', 431, Ljava_util_ArrayList_2_classLit);
+function InternalJsStringMap$InternalJsStringMapWithKeysWorkaround(){
+ InternalJsStringMap.call(this);
+}
+
+defineClass(430, 139, {}, InternalJsStringMap$InternalJsStringMapWithKeysWorkaround);
+_.keys_1 = function(){
+ var keys_0;
+ keys_0 = $keys_1(this);
+ !(this.backingMap['__proto__'] === undefined) && (keys_0[keys_0.length] = '__proto__');
+ return keys_0;
+}
+;
+var Ljava_util_InternalJsStringMap$InternalJsStringMapWithKeysWorkaround_2_classLit = createForClass('java.util', 'InternalJsStringMap/InternalJsStringMapWithKeysWorkaround', 430, Ljava_util_InternalJsStringMap_2_classLit);
+function $recordAccess(this$static, entry){
+ if (this$static.accessOrder) {
+ $remove_12(entry);
+ $addToEnd(entry);
+ }
+}
+
+function $remove_11(this$static, key){
+ var entry;
+ entry = dynamicCast(this$static.map_0.remove_2(key), 83);
+ if (entry) {
+ $remove_12(entry);
+ return entry.value_0;
+ }
+ return null;
+}
+
+function LinkedHashMap(){
+ HashMap.call(this);
+ this.head_0 = new LinkedHashMap$ChainEntry(this);
+ this.map_0 = new HashMap;
+ this.head_0.prev = this.head_0;
+ this.head_0.next = this.head_0;
+}
+
+defineClass(191, 26, {3:1, 78:1}, LinkedHashMap);
+_.clear_0 = function(){
+ this.map_0.clear_0();
+ this.head_0.prev = this.head_0;
+ this.head_0.next = this.head_0;
+}
+;
+_.containsKey = function(key){
+ return this.map_0.containsKey(key);
+}
+;
+_.entrySet_0 = function(){
+ return new LinkedHashMap$EntrySet(this);
+}
+;
+_.get_1 = function(key){
+ var entry;
+ entry = dynamicCast(this.map_0.get_1(key), 83);
+ if (entry) {
+ $recordAccess(this, entry);
+ return entry.value_0;
+ }
+ return null;
+}
+;
+_.put = function(key, value_0){
+ var newEntry, old, oldValue;
+ old = dynamicCast(this.map_0.get_1(key), 83);
+ if (!old) {
+ newEntry = new LinkedHashMap$ChainEntry_0(this, key, value_0);
+ this.map_0.put(key, newEntry);
+ $addToEnd(newEntry);
+ return null;
+ }
+ else {
+ oldValue = $setValue_3(old, value_0);
+ $recordAccess(this, old);
+ return oldValue;
+ }
+}
+;
+_.remove_2 = function(key){
+ return $remove_11(this, key);
+}
+;
+_.size_2 = function(){
+ return this.map_0.size_2();
+}
+;
+_.accessOrder = false;
+var Ljava_util_LinkedHashMap_2_classLit = createForClass('java.util', 'LinkedHashMap', 191, Ljava_util_HashMap_2_classLit);
+function $addToEnd(this$static){
+ var tail;
+ tail = this$static.this$01.head_0.prev;
+ this$static.prev = tail;
+ this$static.next = this$static.this$01.head_0;
+ tail.next = this$static.this$01.head_0.prev = this$static;
+}
+
+function $remove_12(this$static){
+ this$static.next.prev = this$static.prev;
+ this$static.prev.next = this$static.next;
+ this$static.next = this$static.prev = null;
+}
+
+function LinkedHashMap$ChainEntry(this$0){
+ LinkedHashMap$ChainEntry_0.call(this, this$0, null, null);
+}
+
+function LinkedHashMap$ChainEntry_0(this$0, key, value_0){
+ this.this$01 = this$0;
+ AbstractMap$SimpleEntry.call(this, key, value_0);
+}
+
+defineClass(83, 131, {83:1, 25:1}, LinkedHashMap$ChainEntry, LinkedHashMap$ChainEntry_0);
+var Ljava_util_LinkedHashMap$ChainEntry_2_classLit = createForClass('java.util', 'LinkedHashMap/ChainEntry', 83, Ljava_util_AbstractMap$SimpleEntry_2_classLit);
+function $contains_3(this$static, o){
+ if (instanceOf(o, 25)) {
+ return $containsEntry(this$static.this$01, dynamicCast(o, 25));
+ }
+ return false;
+}
+
+function LinkedHashMap$EntrySet(this$0){
+ this.this$01 = this$0;
+}
+
+defineClass(489, 568, $intern_48, LinkedHashMap$EntrySet);
+_.contains_0 = function(o){
+ return $contains_3(this, o);
+}
+;
+_.iterator_0 = function(){
+ return new LinkedHashMap$EntrySet$EntryIterator(this);
+}
+;
+_.remove_1 = function(entry){
+ var key;
+ if ($contains_3(this, entry)) {
+ key = dynamicCast(entry, 25).getKey();
+ $remove_11(this.this$01, key);
+ return true;
+ }
+ return false;
+}
+;
+_.size_2 = function(){
+ return this.this$01.map_0.size_2();
+}
+;
+var Ljava_util_LinkedHashMap$EntrySet_2_classLit = createForClass('java.util', 'LinkedHashMap/EntrySet', 489, Ljava_util_AbstractSet_2_classLit);
+function LinkedHashMap$EntrySet$EntryIterator(this$1){
+ this.this$11 = this$1;
+ this.next = this$1.this$01.head_0.next;
+ recordLastKnownStructure(this$1.this$01.map_0, this);
+}
+
+defineClass(490, 1, {}, LinkedHashMap$EntrySet$EntryIterator);
+_.hasNext = function(){
+ return this.next != this.this$11.this$01.head_0;
+}
+;
+_.next_0 = function(){
+ return checkStructuralChange(this.this$11.this$01.map_0, this) , checkCriticalElement(this.next != this.this$11.this$01.head_0) , this.last = this.next , this.next = this.next.next , this.last;
+}
+;
+_.remove_0 = function(){
+ checkState(!!this.last);
+ checkStructuralChange(this.this$11.this$01.map_0, this);
+ $remove_12(this.last);
+ this.this$11.this$01.map_0.remove_2(this.last.key);
+ recordLastKnownStructure(this.this$11.this$01.map_0, this);
+ this.last = null;
+}
+;
+var Ljava_util_LinkedHashMap$EntrySet$EntryIterator_2_classLit = createForClass('java.util', 'LinkedHashMap/EntrySet/EntryIterator', 490, Ljava_lang_Object_2_classLit);
+function LinkedHashSet(){
+ HashSet_1.call(this, new LinkedHashMap);
+}
+
+function LinkedHashSet_0(c){
+ HashSet_1.call(this, new LinkedHashMap);
+ $addAll_0(this, c);
+}
+
+defineClass(81, 45, $intern_51, LinkedHashSet, LinkedHashSet_0);
+var Ljava_util_LinkedHashSet_2_classLit = createForClass('java.util', 'LinkedHashSet', 81, Ljava_util_HashSet_2_classLit);
+function $addLast(this$static, o){
+ $addNode_1(this$static, o, this$static.tail.prev, this$static.tail);
+}
+
+function $addNode_1(this$static, o, prev, next){
+ var node;
+ node = new LinkedList$Node;
+ node.value_0 = o;
+ node.prev = prev;
+ node.next = next;
+ next.prev = prev.next = node;
+ ++this$static.size_0;
+}
+
+function $getFirst(this$static){
+ checkCriticalElement(this$static.size_0 != 0);
+ return this$static.header.next.value_0;
+}
+
+function $getLast(this$static){
+ checkCriticalElement(this$static.size_0 != 0);
+ return this$static.tail.prev.value_0;
+}
+
+function $listIterator(this$static, index_0){
+ var i_0, node;
+ checkPositionIndex(index_0, this$static.size_0);
+ if (index_0 >= this$static.size_0 >> 1) {
+ node = this$static.tail;
+ for (i_0 = this$static.size_0; i_0 > index_0; --i_0) {
+ node = node.prev;
+ }
+ }
+ else {
+ node = this$static.header.next;
+ for (i_0 = 0; i_0 < index_0; ++i_0) {
+ node = node.next;
+ }
+ }
+ return new LinkedList$ListIteratorImpl(this$static, index_0, node);
+}
+
+function $removeNode(this$static, node){
+ var oldValue;
+ oldValue = node.value_0;
+ node.next.prev = node.prev;
+ node.prev.next = node.next;
+ node.next = node.prev = null;
+ node.value_0 = null;
+ --this$static.size_0;
+ return oldValue;
+}
+
+function $reset_0(this$static){
+ this$static.header.next = this$static.tail;
+ this$static.tail.prev = this$static.header;
+ this$static.header.prev = this$static.tail.next = null;
+ this$static.size_0 = 0;
+}
+
+function LinkedList(){
+ this.header = new LinkedList$Node;
+ this.tail = new LinkedList$Node;
+ $reset_0(this);
+}
+
+defineClass(140, 577, {3:1, 28:1, 30:1, 536:1}, LinkedList);
+_.add_1 = function(o){
+ return $addNode_1(this, o, this.tail.prev, this.tail) , true;
+}
+;
+_.listIterator_0 = function(index_0){
+ return $listIterator(this, index_0);
+}
+;
+_.size_2 = function(){
+ return this.size_0;
+}
+;
+_.size_0 = 0;
+var Ljava_util_LinkedList_2_classLit = createForClass('java.util', 'LinkedList', 140, Ljava_util_AbstractSequentialList_2_classLit);
+function $add_8(this$static, o){
+ $addNode_1(this$static.this$01, o, this$static.currentNode.prev, this$static.currentNode);
+ ++this$static.currentIndex;
+ this$static.lastNode = null;
+}
+
+function $remove_13(this$static){
+ var nextNode;
+ checkState(!!this$static.lastNode);
+ nextNode = this$static.lastNode.next;
+ $removeNode(this$static.this$01, this$static.lastNode);
+ this$static.currentNode == this$static.lastNode?(this$static.currentNode = nextNode):--this$static.currentIndex;
+ this$static.lastNode = null;
+}
+
+function LinkedList$ListIteratorImpl(this$0, index_0, startNode){
+ this.this$01 = this$0;
+ this.currentNode = startNode;
+ this.currentIndex = index_0;
+}
+
+defineClass(450, 1, {}, LinkedList$ListIteratorImpl);
+_.hasNext = function(){
+ return this.currentNode != this.this$01.tail;
+}
+;
+_.hasPrevious = function(){
+ return this.currentNode.prev != this.this$01.header;
+}
+;
+_.next_0 = function(){
+ return checkCriticalElement(this.currentNode != this.this$01.tail) , this.lastNode = this.currentNode , this.currentNode = this.currentNode.next , ++this.currentIndex , this.lastNode.value_0;
+}
+;
+_.previous = function(){
+ return checkCriticalElement(this.currentNode.prev != this.this$01.header) , this.lastNode = this.currentNode = this.currentNode.prev , --this.currentIndex , this.lastNode.value_0;
+}
+;
+_.remove_0 = function(){
+ $remove_13(this);
+}
+;
+_.currentIndex = 0;
+_.lastNode = null;
+var Ljava_util_LinkedList$ListIteratorImpl_2_classLit = createForClass('java.util', 'LinkedList/ListIteratorImpl', 450, Ljava_lang_Object_2_classLit);
+function LinkedList$Node(){
+}
+
+defineClass(141, 1, {}, LinkedList$Node);
+var Ljava_util_LinkedList$Node_2_classLit = createForClass('java.util', 'LinkedList/Node', 141, Ljava_lang_Object_2_classLit);
+var Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry');
+function NoSuchElementException(){
+ RuntimeException.call(this);
+}
+
+defineClass(68, 11, {3:1, 13:1, 11:1, 12:1, 68:1}, NoSuchElementException);
+var Ljava_util_NoSuchElementException_2_classLit = createForClass('java.util', 'NoSuchElementException', 68, Ljava_lang_RuntimeException_2_classLit);
+function equals_0(a, b){
+ return maskUndefined(a) === maskUndefined(b) || a != null && equals_Ljava_lang_Object__Z__devirtual$(a, b);
+}
+
+function hashCode_2(o){
+ return o != null?hashCode__I__devirtual$(o):0;
+}
+
+var Lcom_google_gwt_lang_CollapsedPropertyHolder_2_classLit = createForClass('com.google.gwt.lang', 'CollapsedPropertyHolder', 543, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_JavaClassHierarchySetupUtil_2_classLit = createForClass('com.google.gwt.lang', 'JavaClassHierarchySetupUtil', 545, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_LongLibBase$LongEmul_2_classLit = createForClass('com.google.gwt.lang', 'LongLibBase/LongEmul', null, Ljava_lang_Object_2_classLit), Lcom_google_gwt_lang_ModuleUtils_2_classLit = createForClass('com.google.gwt.lang', 'ModuleUtils', 548, Ljava_lang_Object_2_classLit), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GColumn$GHeader_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GColumn/GHeader'), Lcom_google_gwt_query_client_plugin_Observe$MutationObserverInit_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationObserverInit'), Lcom_google_gwt_query_client_plugin_Observe$MutationRecords_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords'), Lcom_vaadin_client_widget_grid_EditorHandler_2_classLit = createForInterface('com.vaadin.client.widget.grid', 'EditorHandler'), D_classLit = createForPrimitive('double', 'D'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse'), Ljava_lang_StackTraceElement_2_classLit = createForClass('java.lang', 'StackTraceElement', null, Ljava_lang_Object_2_classLit), Lcom_google_gwt_query_client_plugins_ajax_Ajax$Settings_2_classLit = createForInterface('com.google.gwt.query.client.plugins.ajax', 'Ajax/Settings'), Lcom_google_gwt_query_client_builders_JsonBuilder_2_classLit = createForInterface('com.google.gwt.query.client.builders', 'JsonBuilder'), Lcom_google_gwt_query_client_plugin_Observe$MutationRecords$MutationRecord_2_classLit = createForInterface('com.google.gwt.query.client.plugin', 'Observe/MutationRecords/MutationRecord'), Lcom_vaadin_prototype_wc_gwt_client_widgets_grid_GData$GAjaxConf$GAjaxResponse$GAjaxColumn_2_classLit = createForInterface('com.vaadin.prototype.wc.gwt.client.widgets.grid', 'GData/GAjaxConf/GAjaxResponse/GAjaxColumn'), Ljava_util_Map$Entry_2_classLit = createForInterface('java.util', 'Map/Entry');
+_ = provide('$wnd.wc.WCFormat');
+_.formatCurrency = formatCurrency;
+_ = provide('$wnd.wc');
+_.WCVGrid = WCVGrid;
+_ = provide('$wnd.wc.WCVGrid');
+_.createGridColumn = createGridColumn;
+_.TAG = TAG;
+_ = provide('$wnd.wc');
+_.WCVProgress = WCVProgress;
+_ = provide('$wnd.wc.WCVProgress');
+_.TAG = TAG_0;
+_ = provide('$wnd.wc');
+_.WCVSlider = WCVSlider;
+_ = provide('$wnd.wc.WCVSlider');
+_.TAG = TAG_1;
+var $entry = entry_0;
+var gwtOnLoad = gwtOnLoad = gwtOnLoad_0;
+addInitFunctions(init_0);
+setGwtProperty('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
}