!function(){var s=zk.gecko?function(t){t=t._spacing;return null!=t&&t.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(!s(this))return t;var i=this._spacing,i=zk.parseInt(i.substring(0,i.length-1).trim());if(i<=0)return t;i=2<=i?i/2+"%":"1%";return"margin:"+(this.isVertical()?"0 "+i:i+" 0")+";"+t},getWidth:function(){var t=this.$supers("getWidth",arguments);return!this.isVertical()||null!=t&&0<t.length||s(this)?t:this._spacing},getHeight:function(){var t=this.$supers("getHeight",arguments);return this.isVertical()||null!=t&&0<t.length||s(this)?t:this._spacing}})}();