!function(){var r=zk.gecko?function(t){var i=t._spacing;return null!=i&&i.endsWith("%")}:zk.$void;zul.wgt.Separator=zk.$extends(zul.Widget,{_orient:"horizontal",$define:{orient:function(){this.updateDomClass_()},bar:function(){this.updateDomClass_()},spacing:function(){this.updateDomStyle_()}},isVertical:function(){return"vertical"==this._orient},bind_:function(){this.$supers(zul.wgt.Separator,"bind_",arguments)},getZclass:function(){return"z-separator"},domClass_:function(t){var i=this.$supers("domClass_",arguments),s=this.isBar();return t&&t.zclass||(i+=" "+this.$s(this.isVertical()?"vertical"+(s?"-bar":""):"horizontal"+(s?"-bar":""))),i},domStyle_:function(){var t=this.$supers("domStyle_",arguments);if(!r(this))return t;var i=this._spacing,s=zk.parseInt(i.substring(0,i.length-1).trim());if(s<=0)return t;var n=2<=s?s/2+"%":"1%";return"margin:"+(this.isVertical()?"0 "+n:n+" 0")+";"+t},getWidth:function(){var t=this.$supers("getWidth",arguments);return!this.isVertical()||null!=t&&0<t.length||r(this)?t:this._spacing},getHeight:function(){var t=this.$supers("getHeight",arguments);return this.isVertical()||null!=t&&0<t.length||r(this)?t:this._spacing}})}();