var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(c,e,d){c instanceof String&&(c=String(c));for(var a=c.length,b=0;b<a;b++){var f=c[b];if(e.call(d,f,b,c))return{i:b,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,e,d){c!=Array.prototype&&c!=Object.prototype&&(c[e]=d.value)};
$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(c,e,d,a){if(e){d=$jscomp.global;c=c.split(".");for(a=0;a<c.length-1;a++){var b=c[a];b in d||(d[b]={});d=d[b]}c=c[c.length-1];a=d[c];e=e(a);e!=a&&null!=e&&$jscomp.defineProperty(d,c,{configurable:!0,writable:!0,value:e})}};
$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,d){return $jscomp.findInternal(this,c,d).v}},"es6","es3");
(function(){function c(a){a=a.getMeshWidget();var b;if(a&&(b=a.frozen))if(a._nativebar)b._syncFrozen();else if(a=a.ehdfaker)b._scrollScale=a.childNodes.length-b._columns-1,b._shallSyncScale=!1}var e=zk.opera?function(a){return(a=a.parent)&&a.rerender()}:zk.$void,d=zul.mesh.HeadWidget=zk.$extends(zul.Widget,{$init:function(){this.$supers("$init",arguments);this.listen({onColSize:this},-1E3)},$define:{sizable:function(){this.rerender()},visible:function(){this.rerender();var a=this.getMeshWidget();
setTimeout(function(){if(a&&a.desktop){var b=a.$n("foot"),f=a.$n("pgib");b=zk(a).contentHeight()-a.$n("head").offsetHeight-(b?b.offsetHeight:0)-(f?f.offsetHeight:0)-(a._nativebar&&a.frozen?a.frozen.$n().offsetHeight:0);a.ebody.style.height=jq.px0(b)}},0)}},removeChildHTML_:function(a){this.$supers("removeChildHTML_",arguments);if(!this.$instanceof(zul.mesh.Auxhead))for(var b=a.$class._faker,f=b.length;f--;)jq(a.uuid+"-"+b[f],zk).remove()},setVflex:function(a){this.$super(d,"setVflex",!1)},setHflex:function(a){this.$super(d,
"setHflex",!1)},getMeshWidget:function(){return this.parent},onColSize:function(a){var b=this.parent;a=a.widths;var f=0;if(a){for(var c=0;c<a.length;c++)f+=parseInt(a[c]);0!=f&&(f=jq.px0(f))}b._innerWidth=f||b.eheadtbl.width||b.eheadtbl.style.width;b.fire("onInnerWidth",b._innerWidth);b.fireOnRender(zk.gecko?200:60);b.disableAutoSizing_()},bind_:function(a,b,f){this.$supers(d,"bind_",arguments);var e=this;f.push(function(){c(e)});this.fixBorder_()},fixBorder_:function(){var a=jq(this).children(":first-child").attr("rowspan"),
b=parseInt(a)-1;if(a&&0<b)for(a=this.nextSibling;a&&0!=b;a=a.nextSibling,b--)jq(a.firstChild).addClass(this.$s("border"))},unbind_:function(){jq(this.hdfaker).remove();jq(this.bdfaker).remove();jq(this.ftfaker).remove();this.$supers(d,"unbind_",arguments)},insertChildHTML_:function(a){zk.ie9&&this.$n("bar")&&(this.$n("bar").style.display="none");this.$supers("insertChildHTML_",arguments)},onChildAdded_:function(a){this.$supers("onChildAdded_",arguments);if(this.desktop){var b=zul.mesh.MeshWidget._getWidth;
!e(this)&&this.parent._fixHeaders()&&this.parent._syncSize();c(this);this.parent._minWd=null;var f=this.getMeshWidget(),d=f?f.frozen:null;if(d)d.onSize();if(!this.$instanceof(zul.mesh.Auxhead)){d=!d&&!!f._nativebar;for(var g=["hdfaker","bdfaker","ftfaker"],q=0;q<g.length;q++){faker=g[q];var l=jq(f["e"+faker]);if(null!=l[0]){var m=jq(f).find("."+this.$s("bar")),k=m[0],h=jq(this.$n("hdfaker")).find("[id*=hdfaker-bar]"),p=h[0],n="",r="";if("hdfaker"==faker&&k){if(k=k.style)n+=k.width?"width:"+k.width+
";":"";m.remove();this._subnodes.bar=null;d&&p&&(k=p.style)&&(r=k.display?"display:"+k.display+";":"",r+=k.width?"width:"+k.width+";":"");h.remove();this._subnodes["hdfaker-bar"]=null}l.find(a.$n(faker)).length||(m=(m=b(a,a._hflexWidth?a._hflexWidth+"px":a.getWidth()))?"width:"+m+";":"",m='<col id="'+a.uuid+"-"+faker+'" style="'+m+'"/>',h=a.getChildIndex(),0<h?jq(l.find("col")[h-1]).after(m):l.append(m));m=jq(f).find("."+this.$s("bar"));k=m[0];h=jq(this.$n("hdfaker")).find("[id*=hdfaker-bar]");p=
h[0];"hdfaker"==faker&&!k&&d&&(p||jq(this.$n("hdfaker")).append('<col id="'+this.uuid+'-hdfaker-bar" style="'+r+'" />'),jq(this).append('<th id="'+this.uuid+'-bar" class="'+this.$s("bar")+'" style="'+n+'" />'))}}}}},onChildRemoved_:function(){this.$supers("onChildRemoved_",arguments);if(this.desktop){if(!e(this)&&!this.childReplacing_&&this.parent._fixHeaders())this.parent.onSize();this.parent._minWd=null;this.getMeshWidget().rerender(1)}},beforeChildrenFlex_:function(a){if(a&&!a._flexFixed){var b=
this.parent;a=b.ehdfaker;b=b.ebdfaker;a=a?a.firstChild:null;b=b?b.firstChild:null;for(var c=this.firstChild;c;c=c.nextSibling)c.isVisible()&&0<c._nhflex&&(a&&(a.style.width=""),b&&(b.style.width="")),a&&(a=a.nextSibling),b&&(b=b.nextSibling)}return!0},afterChildrenFlex_:function(a){var b=this.parent,c=b.ebody,d=b.ehead,g=b.efoot;a=b._currentLeft;if(b)if(b._cssflex&&b.isChildrenFlex()){var e=b._calcMinWds().wds;g=!1;c=!0;d.style.display="";var l=0,m=b.isSizedByContent(),k=0;var h=-1;for(a=this.firstChild;a;a=
a.nextSibling,k++){var p=a.$n();"min"==a._hflex||!a._nhflex&&m?h=e[k]:a._width?h=parseInt(a._width):0<a._nhflex&&(g=!0);0<=h&&(p.style.flex="0 1 "+jq.px(h),a.isVisible()||(p.style.display="none"),g||(l+=h),h=-1);if(a.getLabel()||a.getImage()||a.nChildren)c=!1}a=b.eheadtbl;e=b.ebodytbl;h=b.efoottbl;l=jq.px0(l);a&&(a.style.width=g?"100%":l,e&&(e.style.width=g?"100%":l),h&&(h.style.width=g?"100%":l));l=b.ebdfaker;a=b.eftfaker;g=l.firstChild;b=b.$class.WIDTH0;if(a)var n=a.firstChild;e={};for(a=this.firstChild;a&&
g;a=a.nextSibling)e[a.uuid]=a.$n().getBoundingClientRect().width,g=g.nextSibling;g=l.firstChild;for(a=this.firstChild;a&&g;a=a.nextSibling)h=e[a.uuid],a.isVisible()&&void 0!==(wdpx=jq.px0(h))?(g.style.width=wdpx,n&&(n.style.width=wdpx)):(g.style.width=b,n&&(n.style.width=b)),g=g.nextSibling,n&&(n=n.nextSibling);d.style.display=c?"none":""}else b._adjFlexWd(),b._adjSpanWd(),b.frozen&&!b._isAllWidths()&&b._calcSize(),zk(c).hasHScroll()&&a!=c.scrollLeft&&(c.scrollLeft=a,d&&(d.scrollLeft=a),g&&(g.scrollLeft=
a))},deferRedrawHTML_:function(a){a.push("<tr",this.domAttrs_({domClass:1}),' class="z-renderdefer"></tr>')},getFlexDirection_:function(){return"row"},afterClearFlex_:function(){var a=this.parent;a._cssflex&&(a.ehdfaker.style.display="")}},{redraw:function(a){a.push("<tr",this.domAttrs_(),' style="text-align: left;">');for(var b=this.firstChild;b;b=b.nextSibling)b.redraw(a);(b=this.getMeshWidget())&&b._nativebar&&a.push('<th id="',this.uuid,'-bar" class="',this.$s("bar"),'" />');a.push("</tr>")}})})();
