YUI.add("pjax",function(n,e){var t=["loadContent","_defaultRoute"],i="error",s="load";n.Pjax=n.Base.create("pjax",n.Router,[n.PjaxBase,n.PjaxContent],{initializer:function(){this.publish(i,{defaultFn:this._defCompleteFn}),this.publish(s,{defaultFn:this._defCompleteFn})},_defaultRoute:function(e,t,n){var o=t.ioResponse,a=o.status;this.fire(200<=a&&a<300?s:i,{content:t.content,responseText:o.responseText,status:a,url:e.ioURL}),n()},_defCompleteFn:function(e){var t=this.get("container"),e=e.content;t&&e.node&&t.setHTML(e.node),e.title&&n.config.doc&&(n.config.doc.title=e.title)}},{ATTRS:{container:{value:null,setter:n.one},routes:{value:[{path:"*",callbacks:t}]}},defaultRoute:t})},"patched-v3.18.4",{requires:["pjax-base","pjax-content"]});