YUI.add("pluginhost-config",function(u,i){var n=u.Plugin.Host,e=u.Lang;n.prototype._initConfigPlugins=function(i){for(var n,s,t,g=this._getClasses?this._getClasses():[this.constructor],r=[],o={},e=g.length-1;0<=e;e--)(s=(n=g[e])._UNPLUG)&&u.mix(o,s,!0),(s=n._PLUG)&&u.mix(r,s,!0);for(t in r)!r.hasOwnProperty(t)||o[t]||this.plug(r[t]);i&&i.plugins&&this.plug(i.plugins)},n.plug=function(i,n,s){var t,g,r,o;if(i!==u.Base)for(i._PLUG=i._PLUG||{},g=0,r=(n=e.isArray(n)?n:[n=s?{fn:n,cfg:s}:n]).length;g<r;g++)o=(t=n[g]).NAME||t.fn.NAME,i._PLUG[o]=t},n.unplug=function(i,n){var s,t,g,r;if(i!==u.Base)for(i._UNPLUG=i._UNPLUG||{},t=0,g=(n=e.isArray(n)?n:[n]).length;t<g;t++)r=(s=n[t]).NAME,i._PLUG[r]?delete i._PLUG[r]:i._UNPLUG[r]=s}},"patched-v3.18.7",{requires:["pluginhost-base"]});