height)}return new i(0,0,0,0)},i.fixBits=function(t,e,n,h){e&=n;var o=t&i.SIDE.CENTER,s=t&i.SIDE.VCENTER;return o||s?e&&(t|=e^n,s&&(t&=~i.SIDE.VCENTER),o&&(t&=~i.SIDE.CENTER)):0!==(e&n)&&(e&n)!==n&&(t=t&~n|t^n),t},i.SIDE=new t.BitMask("TOP","BOTTOM","LEFT","RIGHT","CENTER","VCENTER"),i.prototype={get left(){return this.x},set left(t){this.x=t},get right(){return this.x+this.width},set right(t){this.x=t-this.width},get top(){return this.y},set top(t){this.y=t},get bottom(){return this.y+this.height},set bott