YUI.add("dump",function(e,u){var s=e.Lang,o="{...}",r=function(e,u){var r,t,n=[],p=s.type(e);if(!s.isObject(e))return e+"";if("date"==p)return e;if(e.nodeType&&e.tagName)return e.tagName+"#"+e.id;if(e.document&&e.navigator)return"window";if(e.location&&e.body)return"document";if("function"==p)return"f(){...}";if(u=s.isNumber(u)?u:3,"array"==p){for(n.push("["),r=0,t=e.length;r<t;r+=1)s.isObject(e[r])?n.push(0<u?s.dump(e[r],u-1):o):n.push(e[r]),n.push(", ");1<n.length&&n.pop(),n.push("]")}else if("regexp"==p)n.push(e.toString());else{for(r in n.push("{"),e)if(e.hasOwnProperty(r))try{n.push(r+" => "),s.isObject(e[r])?n.push(0<u?s.dump(e[r],u-1):o):n.push(e[r]),n.push(", ")}catch(i){n.push("Error: "+i.message)}1<n.length&&n.pop(),n.push("}")}return n.join("")};e.dump=r,s.dump=r},"patched-v3.18.7",{requires:["yui-base"]});