YUI.add("button-plugin",function(n,t){function e(){e.superclass.constructor.apply(this,arguments)}n.extend(e,n.ButtonCore,{_afterNodeGet:function(t){var e=this.constructor.ATTRS,e=e[t]&&e[t].getter&&this[e[t].getter];if(e)return new n.Do.AlterReturn("get "+t,e.call(this))},_afterNodeSet:function(t,e){var o=this.constructor.ATTRS,t=o[t]&&o[t].setter&&this[o[t].setter];t&&t.call(this,e)},_initNode:function(t){t=t.host;this._host=t,n.Do.after(this._afterNodeGet,t,"get",this),n.Do.after(this._afterNodeSet,t,"set",this)},destroy:function(){}},{ATTRS:n.merge(n.ButtonCore.ATTRS),NAME:"buttonPlugin",NS:"button"}),e.createNode=function(t,e){var o;return!t||e||t.nodeType||t.getDOMNode||"string"==typeof t||(t=(e=t).srcNode),o=(e=e||{}).template||n.Plugin.Button.prototype.TEMPLATE,t=t||e.srcNode||n.DOM.create(o),n.one(t).plug(n.Plugin.Button,e)},n.namespace("Plugin").Button=e},"patched-v3.18.3",{requires:["button-core","cssbutton","node-pluginhost"]});