YUI.add("resize-proxy",function(t,e){var i="cursor",n="host",r="proxy",o="proxyNode",s=(0,t.ClassNameManager.getClassName)("resize",r);function a(){a.superclass.constructor.apply(this,arguments)}t.mix(a,{NAME:"resize-proxy",NS:r,ATTRS:{proxyNode:{setter:t.one,valueFn:function(){return t.Node.create(this.PROXY_TEMPLATE)}}}}),t.extend(a,t.Plugin.Base,{PROXY_TEMPLATE:'<div class="'+s+'"></div>',initializer:function(){var e=this;e.afterHostEvent("resize:start",e._afterResizeStart),e.beforeHostMethod("_resize",e._beforeHostResize),e.afterHostMethod("_resizeEnd",e._afterHostResizeEnd)},destructor:function(){this.get(o).remove(!0)},_afterHostResizeEnd:function(e){e.dragEvent.target.actXY=[],this._syncProxyUI(),this.get(o).hide()},_afterResizeStart:function(){this._renderProxy()},_beforeHostResize:function(e){return this.get(n)._handleResizeAlignEvent(e.dragEvent),this._syncProxyUI(),new t.Do.Prevent},_renderProxy:function(){var e=this.get(n),t=this.get(o);t.inDoc()||e.get("wrapper").get("parentNode").append(t.hide())},_syncProxyUI:function(){var e=this.get(n),t=e.info,r=e.get("activeHandleNode"),s=this.get(o),r=r.getStyle(i);s.show().setStyle(i,r),e.delegate.dd.set("dragCursor",r),s.sizeTo(t.offsetWidth,t.offsetHeight),s.setXY([t.left,t.top])}}),t.namespace("Plugin"),t.Plugin.ResizeProxy=a},"patched-v3.18.7",{requires:["plugin","resize-base"]});