yui-min.js revision a483bcf1063f73e8b85de0eede30e35d47448c19
if(typeof YUI==="undefined"){var YUI=function(){var D,G,C,E=this,B=arguments,A=B.length,F=(typeof YUI_config!=="undefined")&&YUI_config;if(!(E instanceof YUI)){E=new YUI();for(C=0;C<A;C++){E._config(B[C]);}for(G in D){if(D.hasOwnProperty(G)){E[G]=D[G];}}return E;}else{E._init();if(F){E._config(F);}for(C=0;C<A;C++){E._config(B[C]);}E._setup();return E;}};}(function(){var M,B,N="@VERSION@",L="http://yui.yahooapis.com/",Q="yui3-js-enabled",J=function(){},G=Array.prototype.slice,O={"io.xdrReady":1,"io.xdrResponse":1,"SWF.eventHandler":1},F=(typeof window!="undefined"),E=(F)?window:null,S=(F)?E.document:null,D=S&&S.documentElement,A=D&&D.className,C={},H=new Date().getTime(),K=function(W,V,U,T){if(W&&W.addEventListener){W.addEventListener(V,U,T);}else{if(W&&W.attachEvent){W.attachEvent("on"+V,U);}}},R=function(X,W,V,T){if(X&&X.removeEventListener){try{X.removeEventListener(W,V,T);}catch(U){}}else{if(X&&X.detachEvent){X.detachEvent("on"+W,V);}}},P=function(){YUI.Env.windowLoaded=true;YUI.Env.DOMReady=true;if(F){R(window,"load",P);}},I=function(V,U){var T=V.Env._loader;if(T){T.ignoreRegistered=false;T.onEnd=null;T.attaching=null;T.data=null;T.required=[];T.loadType=null;}else{T=new V.Loader(V.config);V.Env._loader=T;}return T;};if(D&&A.indexOf(Q)==-1){if(A){A+=" ";}A+=Q;D.className=A;}if(N.indexOf("@")>-1){N="3.0.0";}M={_config:function(Z){Z=Z||J;var U,W,X,V=this.config,Y=V.modules,T=V.groups;for(W in Z){if(Z.hasOwnProperty(W)){U=Z[W];if(Y&&W=="modules"){for(X in U){if(U.hasOwnProperty(X)){Y[X]=U[X];}}}else{if(T&&W=="groups"){for(X in U){if(U.hasOwnProperty(X)){T[X]=U[X];}}}else{if(W=="win"){V[W]=U.contentWindow||U;V.doc=V[W].document;}else{if(W=="_yuid"){}else{V[W]=U;}}}}}}},_init:function(){var V,W=this,T=YUI.Env,U=W.Env;W.version=N;if(!U){W.Env={mods:{},versions:{},base:L,cdn:L+N+"/build/",_idx:0,_used:{},_attached:{},_yidx:0,_uidx:0,_guidp:"y",_loaded:{},getBase:T&&T.getBase||function(d,c){var X,Y,a,e,Z;Y=(S&&S.getElementsByTagName("script"))||[];for(a=0;a<Y.length;a=a+1){e=Y[a].src;if(e){Z=e.match(d);X=Z&&Z[1];if(X){V=Z[2];if(V){Z=V.indexOf("js");if(Z>-1){V=V.substr(0,Z);}}Z=e.match(c);if(Z&&Z[3]){X=Z[1]+Z[3];}break;}}}return X||U.cdn;}};U=W.Env;U._loaded[N]={};if(T&&W!==YUI){U._yidx=++T._yidx;U._guidp=("yui_"+N+"_"+U._yidx+"_"+H).replace(/\./g,"_");}W.id=W.stamp(W);C[W.id]=W;}W.constructor=YUI;W.config=W.config||{win:E,doc:S,debug:true,useBrowserConsole:true,throwFail:true,bootstrap:true,fetchCSS:true};W.config.base=YUI.config.base||W.Env.getBase(/^(.*)yui\/yui([\.\-].*)js(\?.*)?$/,/^(.*\?)(.*\&)(.*)yui\/yui[\.\-].*js(\?.*)?$/);W.config.loaderPath=YUI.config.loaderPath||"loader/loader"+(V||"-min.")+"js";},_setup:function(Z){var U,X=this,T=[],W=YUI.Env.mods,V=X.config.core||["get","intl-base","loader","yui-log","yui-later","yui-throttle"];for(U=0;U<V.length;U++){if(W[V[U]]){T.push(V[U]);}}X.use("yui-base");X._attach(T);},applyTo:function(Z,Y,V){if(!(Y in O)){this.log(Y+": applyTo not allowed","warn","yui");return null;}var U=C[Z],X,T,W;if(U){X=Y.split(".");T=U;for(W=0;W<X.length;W=W+1){T=T[X[W]];if(!T){this.log("applyTo not found: "+Y,"warn","yui");}}return T.apply(U,V);}return null;},add:function(U,Y,T,W){W=W||{};var X=YUI.Env,V={name:U,fn:Y,version:T,details:W};X.mods[U]=V;X.versions[T]=X.versions[T]||{};X.versions[T][U]=V;return this;},_attach:function(T,Z){var b,W,g,U,f,V,h=YUI.Env.mods,X=this,a=X.Env._attached,c=T.length;for(b=0;b<c;b++){W=T[b];g=h[W];if(!a[W]&&g){a[W]=true;U=g.details;f=U.requires;V=U.use;if(f&&f.length){if(!X._attach(f)){return false;}}if(g.fn){try{g.fn(X,W);}catch(d){X.error("Attach error: "+W,d,W);return false;}}if(V&&V.length){if(!X._attach(V)){return false;}}}}return true;},use:function(){if(!this.Array){this._attach(["yui-base"]);}var k,d,l,U=this,m=YUI.Env,V=G.call(arguments,0),W=m.mods,T=U.Env,a=T._used,i=m._loaderQueue,p=V[0],X=V[V.length-1],c=U.Array,n=U.config,b=n.bootstrap,j=[],g=[],o=true,Z=n.fetchCSS,h=function(Y){if(!Y.length){return;}var q=Y;c.each(q,function(t){g.push(t);if(a[t]){return;}var r=W[t],u,s;if(r){a[t]=true;u=r.details.requires;s=r.details.use;}else{if(!m._loaded[N][t]){j.push(t);}else{a[t]=true;}}if(u){h(u);}if(s){h(s);}});},f=function(Y){if(X){try{X(U,Y);}catch(q){U.error("use callback error",q,V);}}},e=function(u){var r=u||{success:true,msg:"not dynamic"},t,q,Y,s=true,v=r.data;U._loading=false;if(v){Y=j.concat();j=[];h(v);q=j.length;if(q){if(j.sort().join()==Y.sort().join()){q=false;}}}if(q&&v){t=g.concat();t=j.concat();t.push(function(){if(U._attach(v)){f(r);}});U._loading=false;U.use.apply(U,t);}else{if(v){s=U._attach(v);}if(s){f(r);}}if(U._useQueue&&U._useQueue.size()&&!U._loading){U.use.apply(U,U._useQueue.next());}};if(U._loading){U._useQueue=U._useQueue||new U.Queue();U._useQueue.add(V);return U;}if(typeof X==="function"){V.pop();}else{X=null;}if(p==="*"){V=U.Object.keys(W);}if(U.Loader&&V.length){d=I(U);d.require(V);d.ignoreRegistered=true;d.calculate(null,(Z)?null:"js");V=d.sorted;}h(V);k=j.length;if(k){j=U.Object.keys(c.hash(j));k=j.length;}if(b&&k&&U.Loader){U._loading=true;d=I(U);d.onEnd=e;d.context=U;d.attaching=V;d.data=V;d.require((Z)?j:V);d.insert(null,(Z)?null:"js");}else{if(b&&k&&U.Get&&!T.bootstrapped){U._loading=true;V=c(arguments,0,true);l=function(){U._loading=false;i.running=false;T.bootstrapped=true;if(U._attach(["loader"])){U.use.apply(U,V);}};if(m._bootstrapping){i.add(l);}else{m._bootstrapping=true;U.Get.script(n.base+n.loaderPath,{onEnd:l});}}else{if(k){U.message("Requirement NOT loaded: "+j,"warn","yui");}o=U._attach(g);if(o){e();}}}return U;},namespace:function(){var T=arguments,X=null,V,U,W;for(V=0;V<T.length;V=V+1){W=(""+T[V]).split(".");X=this;for(U=(W[0]=="YAHOO")?1:0;U<W.length;U=U+1){X[W[U]]=X[W[U]]||{};X=X[W[U]];}}return X;},log:J,message:J,error:function(W,U){var V=this,T;if(V.config.errorFn){T=V.config.errorFn.apply(V,arguments);}if(V.config.throwFail&&!T){throw (U||new Error(W));}else{V.message(W,"error");}return V;},guid:function(T){var U=this.Env._guidp+(++this.Env._uidx);return(T)?(T+U):U;},stamp:function(V,W){var T;
if(!V){return V;}if(V.uniqueID&&V.nodeType&&V.nodeType!==9){T=V.uniqueID;}else{T=(typeof V==="string")?V:V._yuid;}if(!T){T=this.guid();if(!W){try{V._yuid=T;}catch(U){T=null;}}}return T;}};YUI.prototype=M;for(B in M){if(M.hasOwnProperty(B)){YUI[B]=M[B];}}YUI._init();if(F){K(window,"load",P);}else{P();}YUI.Env.add=K;YUI.Env.remove=R;if(typeof exports=="object"){exports.YUI=YUI;}})();YUI.add("yui-base",function(B){B.Lang=B.Lang||{};var F=B.Lang,Q="array",I="boolean",C="date",D="error",E="function",K="number",P="null",H="object",N="regexp",J="string",G=Object.prototype.toString,S="undefined",A={"undefined":S,"number":K,"boolean":I,"string":J,"[object Function]":E,"[object RegExp]":N,"[object Array]":Q,"[object Date]":C,"[object Error]":D},M=/^\s+|\s+$/g,O="";F.isArray=function(L){return F.type(L)===Q;};F.isBoolean=function(L){return typeof L===I;};F.isFunction=function(L){return F.type(L)===E;};F.isDate=function(L){return F.type(L)===C&&L.toString()!=="Invalid Date"&&!isNaN(L);};F.isNull=function(L){return L===null;};F.isNumber=function(L){return typeof L===K&&isFinite(L);};F.isObject=function(U,T){var L=typeof U;return(U&&(L===H||(!T&&(L===E||F.isFunction(U)))))||false;};F.isString=function(L){return typeof L===J;};F.isUndefined=function(L){return typeof L===S;};F.trim=function(L){try{return L.replace(M,O);}catch(T){return L;}};F.isValue=function(T){var L=F.type(T);switch(L){case K:return isFinite(T);case P:case S:return false;default:return !!(L);}};F.type=function(L){return A[typeof L]||A[G.call(L)]||(L?H:P);};(function(){var T=B.Lang,U=Array.prototype,V="length",W=function(d,b,Y){var Z=(Y)?2:W.test(d),X,L,f=b||0;if(Z){try{return U.slice.call(d,f);}catch(c){L=[];X=d.length;for(;f<X;f++){L.push(d[f]);}return L;}}else{return[d];}};B.Array=W;W.test=function(Y){var L=0;if(T.isObject(Y)){if(T.isArray(Y)){L=1;}else{try{if((V in Y)&&!Y.tagName&&!Y.alert&&!Y.apply){L=2;}}catch(X){}}}return L;};W.each=(U.forEach)?function(L,X,Y){U.forEach.call(L||[],X,Y||B);return B;}:function(X,Z,b){var L=(X&&X.length)||0,Y;for(Y=0;Y<L;Y=Y+1){Z.call(b||B,X[Y],Y,X);}return B;};W.hash=function(Y,X){var b={},L=Y.length,a=X&&X.length,Z;for(Z=0;Z<L;Z=Z+1){if(Y[Z]){b[Y[Z]]=(a&&a>Z)?X[Z]:true;}}return b;};W.indexOf=(U.indexOf)?function(L,X){return U.indexOf.call(L,X);}:function(L,Y){for(var X=0;X<L.length;X=X+1){if(L[X]===Y){return X;}}return -1;};W.numericSort=function(X,L){return(X-L);};W.some=(U.some)?function(L,X,Y){return U.some.call(L,X,Y);}:function(X,Z,b){var L=X.length,Y;for(Y=0;Y<L;Y=Y+1){if(Z.call(b,X[Y],Y,X)){return true;}}return false;};})();function R(){this._init();this.add.apply(this,arguments);}R.prototype={_init:function(){this._q=[];},next:function(){return this._q.shift();},last:function(){return this._q.pop();},add:function(){B.Array.each(B.Array(arguments,0,true),function(L){this._q.push(L);},this);return this;},size:function(){return this._q.length;}};B.Queue=R;YUI.Env._loaderQueue=YUI.Env._loaderQueue||new R();(function(){var U=B.Lang,T="__",V=function(X,W){var L=W.toString;if(U.isFunction(L)&&L!=Object.prototype.toString){X.toString=L;}};B.merge=function(){var W=arguments,Y={},X,L=W.length;for(X=0;X<L;X=X+1){B.mix(Y,W[X],true);}return Y;};B.mix=function(L,e,X,d,a,c){if(!e||!L){return L||B;}if(a){switch(a){case 1:return B.mix(L.prototype,e.prototype,X,d,0,c);case 2:B.mix(L.prototype,e.prototype,X,d,0,c);break;case 3:return B.mix(L,e.prototype,X,d,0,c);case 4:return B.mix(L.prototype,e,X,d,0,c);default:}}var Z,Y,W,b;if(d&&d.length){for(Z=0,Y=d.length;Z<Y;++Z){W=d[Z];b=U.type(L[W]);if(e.hasOwnProperty(W)){if(c&&b=="object"){B.mix(L[W],e[W]);}else{if(X||!(W in L)){L[W]=e[W];}}}}}else{for(Z in e){if(e.hasOwnProperty(Z)){if(c&&U.isObject(L[Z],true)){B.mix(L[Z],e[Z],X,d,0,true);}else{if(X||!(Z in L)){L[Z]=e[Z];}}}}if(B.UA.ie){V(L,e);}}return L;};B.cached=function(X,L,W){L=L||{};return function(Z){var Y=(arguments.length>1)?Array.prototype.join.call(arguments,T):Z;if(!(Y in L)||(W&&L[Y]==W)){L[Y]=X.apply(X,arguments);}return L[Y];};};})();(function(){B.Object=function(X){var W=function(){};W.prototype=X;return new W();};var U=B.Object,V=function(X,W){return X&&X.hasOwnProperty&&X.hasOwnProperty(W);},T,L=function(a,Z){var Y=(Z===2),W=(Y)?0:[],X;for(X in a){if(V(a,X)){if(Y){W++;}else{W.push((Z)?a[X]:X);}}}return W;};U.keys=function(W){return L(W);};U.values=function(W){return L(W,1);};U.size=function(W){return L(W,2);};U.hasKey=V;U.hasValue=function(X,W){return(B.Array.indexOf(U.values(X),W)>-1);};U.owns=V;U.each=function(a,Z,b,Y){var X=b||B,W;for(W in a){if(Y||V(a,W)){Z.call(X,a[W],W,a);}}return B;};U.some=function(a,Z,b,Y){var X=b||B,W;for(W in a){if(Y||V(a,W)){if(Z.call(X,a[W],W,a)){return true;}}}return false;};U.getValue=function(a,Z){if(!B.Lang.isObject(a)){return T;}var X,Y=B.Array(Z),W=Y.length;for(X=0;a!==T&&X<W;X++){a=a[Y[X]];}return a;};U.setValue=function(c,a,b){var W,Z=B.Array(a),Y=Z.length-1,X=c;if(Y>=0){for(W=0;X!==T&&W<Y;W++){X=X[Z[W]];}if(X!==T){X[Z[W]]=b;}else{return T;}}return c;};U.isEmpty=function(X){for(var W in X){if(V(X,W)){return false;}}return true;};})();B.UA=YUI.Env.UA||function(){var V=function(a){var b=0;return parseFloat(a.replace(/\./g,function(){return(b++==1)?"":".";}));},W=B.config.win,Z=W&&W.navigator,Y={ie:0,opera:0,gecko:0,webkit:0,chrome:0,mobile:null,air:0,ipad:0,iphone:0,ipod:0,itouch:null,android:0,caja:Z&&Z.cajaVersion,secure:false,os:null},U=Z&&Z.userAgent,X=W&&W.location,T=X&&X.href,L;Y.secure=T&&(T.toLowerCase().indexOf("https")===0);if(U){if((/windows|win32/i).test(U)){Y.os="windows";}else{if((/macintosh/i).test(U)){Y.os="macintosh";}else{if((/rhino/i).test(U)){Y.os="rhino";}}}if((/KHTML/).test(U)){Y.webkit=1;}L=U.match(/AppleWebKit\/([^\s]*)/);if(L&&L[1]){Y.webkit=V(L[1]);if(/ Mobile\//.test(U)){Y.mobile="Apple";L=U.match(/OS ([^\s]*)/);if(L&&L[1]){L=V(L[1].replace("_","."));}Y.ipad=(navigator.platform=="iPad")?L:0;Y.ipod=(navigator.platform=="iPod")?L:0;Y.iphone=(navigator.platform=="iPhone")?L:0;Y.itouch=Y.ipad||Y.iphone||Y.ipod;}else{L=U.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/);
if(L){Y.mobile=L[0];}if(/ Android/.test(U)){Y.mobile="Android";L=U.match(/Android ([^\s]*);/);if(L&&L[1]){Y.android=V(L[1]);}}}L=U.match(/Chrome\/([^\s]*)/);if(L&&L[1]){Y.chrome=V(L[1]);}else{L=U.match(/AdobeAIR\/([^\s]*)/);if(L){Y.air=L[0];}}}if(!Y.webkit){L=U.match(/Opera[\s\/]([^\s]*)/);if(L&&L[1]){Y.opera=V(L[1]);L=U.match(/Opera Mini[^;]*/);if(L){Y.mobile=L[0];}}else{L=U.match(/MSIE\s([^;]*)/);if(L&&L[1]){Y.ie=V(L[1]);}else{L=U.match(/Gecko\/([^\s]*)/);if(L){Y.gecko=1;L=U.match(/rv:([^\s\)]*)/);if(L&&L[1]){Y.gecko=V(L[1]);}}}}}}YUI.Env.UA=Y;return Y;}();},"@VERSION@");YUI.add("get",function(A){(function(){var C=A.UA,B=A.Lang,E="text/javascript",F="text/css",D="stylesheet";A.Get=function(){var M,N,J,L={},K=0,U,W=function(a,X,b){var Y=b||A.config.win,c=Y.document,e=c.createElement(a),Z;for(Z in X){if(X[Z]&&X.hasOwnProperty(Z)){e.setAttribute(Z,X[Z]);}}return e;},T=function(Y,Z,X){var a={id:A.guid(),type:F,rel:D,href:Y};if(X){A.mix(a,X);}return W("link",a,Z);},S=function(Y,Z,X){var a={id:A.guid(),type:E};if(X){A.mix(a,X);}a.src=Y;return W("script",a,Z);},P=function(Y,Z,X){return{tId:Y.tId,win:Y.win,data:Y.data,nodes:Y.nodes,msg:Z,statusText:X,purge:function(){N(this.tId);}};},O=function(b,a,X){var Y=L[b],Z;if(Y&&Y.onEnd){Z=Y.context||Y;Y.onEnd.call(Z,P(Y,a,X));}},V=function(a,Z){var X=L[a],Y;if(X.timer){clearTimeout(X.timer);}if(X.onFailure){Y=X.context||X;X.onFailure.call(Y,P(X,Z));}O(a,Z,"failure");},I=function(a){var X=L[a],Z,Y;if(X.timer){clearTimeout(X.timer);}X.finished=true;if(X.aborted){Z="transaction "+a+" was aborted";V(a,Z);return;}if(X.onSuccess){Y=X.context||X;X.onSuccess.call(Y,P(X));}O(a,Z,"OK");},Q=function(Z){var X=L[Z],Y;if(X.onTimeout){Y=X.context||X;X.onTimeout.call(Y,P(X));}O(Z,"timeout","timeout");},H=function(Z,c){var Y=L[Z],b,i,g,e,a,X,j,f;if(Y.timer){clearTimeout(Y.timer);}if(Y.aborted){b="transaction "+Z+" was aborted";V(Z,b);return;}if(c){Y.url.shift();if(Y.varName){Y.varName.shift();}}else{Y.url=(B.isString(Y.url))?[Y.url]:Y.url;if(Y.varName){Y.varName=(B.isString(Y.varName))?[Y.varName]:Y.varName;}}i=Y.win;g=i.document;e=g.getElementsByTagName("head")[0];if(Y.url.length===0){I(Z);return;}X=Y.url[0];if(!X){Y.url.shift();return H(Z);}if(Y.timeout){Y.timer=setTimeout(function(){Q(Z);},Y.timeout);}if(Y.type==="script"){a=S(X,i,Y.attributes);}else{a=T(X,i,Y.attributes);}J(Y.type,a,Z,X,i,Y.url.length);Y.nodes.push(a);f=Y.insertBefore||g.getElementsByTagName("base")[0];if(f){j=M(f,Z);if(j){j.parentNode.insertBefore(a,j);}}else{e.appendChild(a);}if((C.webkit||C.gecko)&&Y.type==="css"){H(Z,X);}},G=function(){if(U){return;}U=true;var X,Y;for(X in L){if(L.hasOwnProperty(X)){Y=L[X];if(Y.autopurge&&Y.finished){N(Y.tId);delete L[X];}}}U=false;},R=function(Y,X,Z){Z=Z||{};var c="q"+(K++),a,b=Z.purgethreshold||A.Get.PURGE_THRESH;if(K%b===0){G();}L[c]=A.merge(Z,{tId:c,type:Y,url:X,finished:false,nodes:[]});a=L[c];a.win=a.win||A.config.win;a.context=a.context||a;a.autopurge=("autopurge" in a)?a.autopurge:(Y==="script")?true:false;a.attributes=a.attributes||{};a.attributes.charset=Z.charset||a.attributes.charset||"utf-8";H(c);return{tId:c};};J=function(Z,e,d,Y,c,b,X){var a=X||H;if(C.ie){e.onreadystatechange=function(){var f=this.readyState;if("loaded"===f||"complete"===f){e.onreadystatechange=null;a(d,Y);}};}else{if(C.webkit){if(Z==="script"){e.addEventListener("load",function(){a(d,Y);});}}else{e.onload=function(){a(d,Y);};e.onerror=function(f){V(d,f+": "+Y);};}}};M=function(X,a){var Y=L[a],Z=(B.isString(X))?Y.win.document.getElementById(X):X;if(!Z){V(a,"target node not found: "+X);}return Z;};N=function(c){var Y,a,j,e,k,b,Z,g,f,X=L[c];if(X){Y=X.nodes;a=Y.length;j=X.win.document;e=j.getElementsByTagName("head")[0];f=X.insertBefore||j.getElementsByTagName("base")[0];if(f){k=M(f,c);if(k){e=k.parentNode;}}for(b=0;b<a;b=b+1){Z=Y[b];if(Z.clearAttributes){Z.clearAttributes();}else{for(g in Z){if(Z.hasOwnProperty(g)){delete Z[g];}}}e.removeChild(Z);}}X.nodes=[];};return{PURGE_THRESH:20,_finalize:function(X){setTimeout(function(){I(X);},0);},abort:function(Y){var Z=(B.isString(Y))?Y:Y.tId,X=L[Z];if(X){X.aborted=true;}},script:function(X,Y){return R("script",X,Y);},css:function(X,Y){return R("css",X,Y);}};}();})();},"@VERSION@");YUI.add("intl-base",function(B){var A=/[, ]/;B.mix(B.namespace("Intl"),{lookupBestLang:function(G,H){var F,I,C,E;function D(K){var J;for(J=0;J<H.length;J+=1){if(K.toLowerCase()===H[J].toLowerCase()){return H[J];}}}if(B.Lang.isString(G)){G=G.split(A);}for(F=0;F<G.length;F+=1){I=G[F];if(!I||I==="*"){continue;}while(I.length>0){C=D(I);if(C){return C;}else{E=I.lastIndexOf("-");if(E>=0){I=I.substring(0,E);if(E>=2&&I.charAt(E-2)==="-"){I=I.substring(0,E-2);}}else{break;}}}}return"";}});},"@VERSION@",{requires:["yui-base"]});YUI.add("yui-log",function(A){(function(){var D=A,E="yui:log",B="undefined",C={debug:1,info:1,warn:1,error:1};D.log=function(I,Q,F,O){var K,N,L,J,M,H=D,P=H.config,G=(H.fire)?H:YUI.Env.globalEvents;if(P.debug){if(F){N=P.logExclude;L=P.logInclude;if(L&&!(F in L)){K=1;}else{if(N&&(F in N)){K=1;}}}if(!K){if(P.useBrowserConsole){J=(F)?F+": "+I:I;if(H.Lang.isFunction(P.logFn)){P.logFn(I,Q,F);}else{if(typeof console!=B&&console.log){M=(Q&&console[Q]&&(Q in C))?Q:"log";console[M](J);}else{if(typeof opera!=B){opera.postError(J);}}}}if(G&&!O){if(G==H&&(!G.getEvent(E))){G.publish(E,{broadcast:2});}G.fire(E,{msg:I,cat:Q,src:F});}}}return H;};D.message=function(){return D.log.apply(D,arguments);};})();},"@VERSION@",{requires:["yui-base"]});YUI.add("yui-later",function(A){(function(){var B=A.Lang,C=function(K,E,L,G,H){K=K||0;E=E||{};var F=L,J=A.Array(G),I,D;if(B.isString(L)){F=E[L];}if(!F){}I=function(){F.apply(E,J);};D=(H)?setInterval(I,K):setTimeout(I,K);return{id:D,interval:H,cancel:function(){if(this.interval){clearInterval(D);}else{clearTimeout(D);}}};};A.later=C;B.later=C;})();},"@VERSION@",{requires:["yui-base"]});YUI.add("yui-throttle",function(Y){
/* Based on work by Simon Willison: http://gist.github.com/292562 */
if(ms===-1){return(function(){fn.apply(null,arguments);});}var last=(new Date()).getTime();return(function(){var now=(new Date()).getTime();if(now-last>ms){last=now;fn.apply(null,arguments);}});};Y.throttle=throttle;},"@VERSION@",{requires:["yui-base"]});YUI.add("yui",function(A){},"@VERSION@",{use:["yui-base","get","intl-base","yui-log","yui-later","yui-throttle"]});