var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(b.call(c,f,e,a))return{i:e,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(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,b,c,d){if(b){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
(function(){zul.tab.Tabpanels=zk.$extends(zul.Widget,{getTabbox:function(){return this.parent},setWidth:function(a){var b=this.$n(),c=this.getTabbox();(c=b&&c?c.isVertical():!1)&&!this.__width&&(b.style.width="");this.$supers("setWidth",arguments);c&&(b.style.width&&(this.__width=b.style.width),zUtl.fireSized(this))},setStyle:function(a){var b=this.$n(),c=this.getTabbox();(c=b&&c?c.isVertical():!1)&&!this.__width&&(b.style.width="");this.$supers("setStyle",arguments);c&&(b.style.width&&(this.__width=
b.style.width),zUtl.fireSized(this))},setVflex:function(a){"min"!=a&&(a=!1);this.$supers("setVflex",arguments)},setHflex:function(a){"min"!=a&&(a=!1);this.$supers("setHflex",arguments)},bind_:function(){this.$supers(zul.tab.Tabpanels,"bind_",arguments);if(this.getTabbox().isVertical()){this._zwatched=!0;zWatch.listen({onSize:this,beforeSize:this});var a=this.$n();a.style.width&&(this.__width=a.style.width)}zWatch.listen({onResponse:this})},unbind_:function(){this._zwatched&&(zWatch.unlisten({onSize:this,
beforeSize:this}),this._zwatched=!1);zWatch.unlisten({onResponse:this});this.$supers(zul.tab.Tabpanels,"unbind_",arguments)},onSize:function(){this._fixWidth()},_fixWidth:function(){var a=this.parent.$n(),b=jq(a);if(!this.__width&&zk(a).isRealVisible()){a=b.width();var c=this.$n();a-=b.find(">div:first")[0].offsetWidth;c.style.width=jq.px0(a)}},beforeSize:function(){this.$n().style.width=this.__width||""},onChildRemoved_:function(a){this.$supers("onChildRemoved_",arguments);this._shallSync=!0},onChildAdded_:function(a){this.$supers("onChildAdded_",
arguments);var b=this.getTabbox(),c;b&&(!b.inAccordionMold()||(c=a.$n("cave"))&&"none"!=c.style.display)&&(this._shallSync=!0)},onResponse:function(){if(this._shallSync){var a;if(this.desktop&&(a=this.getTabbox())){var b=this._selPnl;a=a._selTab;b!=(a&&(a=a.getLinkedPanel()))&&(b&&b.desktop&&b._sel(!1,!0),a&&a._sel(!0,!0),this._selPnl=a)}this._shallSync=!1}}})})();
