diff --git a/build/aui/aui-min.js b/build/aui/aui-min.js index 64e6b209ed4..e9e34c5abcd 100644 --- a/build/aui/aui-min.js +++ b/build/aui/aui-min.js @@ -8,8 +8,8 @@ build: nightly if(typeof YUI!="undefined"){YUI._YUI=YUI;}var YUI=function(){var c=0,f=this,b=arguments,a=b.length,e=function(h,g){return(h&&h.hasOwnProperty&&(h instanceof g));},d=(typeof YUI_config!=="undefined")&&YUI_config;if(!(e(f,YUI))){f=new YUI();}else{f._init();if(YUI.GlobalConfig){f.applyConfig(YUI.GlobalConfig);}if(d){f.applyConfig(d);}if(!a){f._setup();}}if(a){for(;c-1){q="3.3.0";}p={applyConfig:function(D){D=D||l;var y,A,z=this.config,B=z.modules,x=z.groups,C=z.rls,w=this.Env._loader;for(A in D){if(D.hasOwnProperty(A)){y=D[A];if(B&&A=="modules"){o(B,y);}else{if(x&&A=="groups"){o(x,y);}else{if(C&&A=="rls"){o(C,y);}else{if(A=="win"){z[A]=y.contentWindow||y;z.doc=z[A].document;}else{if(A=="_yuid"){}else{z[A]=y;}}}}}}}if(w){w._config(D);}},_config:function(w){this.applyConfig(w);},_init:function(){var y,z=this,w=YUI.Env,x=z.Env,A;z.version=q;if(!x){z.Env={mods:{},versions:{},base:n,cdn:n+q+"/build/",_idx:0,_used:{},_attached:{},_missed:[],_yidx:0,_uidx:0,_guidp:"y",_loaded:{},_BASE_RE:/(?:\?(?:[^&]*&)*([^&]*))?\b(simpleyui|[ay]ui(?:-\w+)?)\/\2(?:-(min|debug))?\.js/,parseBasePath:function(F,D){var B=F.match(D),E,C;if(B){E=RegExp.leftContext||F.slice(0,F.indexOf(B[0]));C=B[3];if(B[1]){E+="?"+B[1];}E={filter:C,path:E};}return E;},getBase:w&&w.getBase||function(F){var D=(v&&v.getElementsByTagName("script"))||[],G=x.cdn,C,E,B,H;for(E=0,B=D.length;Ex&&x in w?w[x]:true;}}return z;};j.indexOf=q.indexOf?function(w,v){return q.indexOf.call(w,v);}:function(y,x){for(var w=0,v=y.length;w1?Array.prototype.join.call(arguments,m):y.toString();if(!(z in v)||(w&&v[z]==w)){v[z]=x.apply(x,arguments);}return v[z];};};b.merge=function(){var x=arguments,y=0,w=x.length,v={};for(;y-1;};g.each=function(y,w,z,x){var v;for(v in y){if(x||h(y,v)){w.call(z||b,y[v],v,y);}}return b;};g.some=function(y,w,z,x){var v;for(v in y){if(x||h(y,v)){if(w.call(z||b,y[v],v,y)){return true;}}}return false;};g.getValue=function(z,y){if(!b.Lang.isObject(z)){return u;}var w,x=b.Array(y),v=x.length;for(w=0;z!==u&&w=0){for(v=0;w!==u&&v0){J=O.url.shift();if(N&&!O.timer){O.timer=setTimeout(function(){D(Q);},N);}if(L===s){M=E(J,P,K);}else{M=k(J,P,K);}O.nodes.push(M);c(L,M,Q,J);G(M,Q,P);if(!l[L]){f(Q,J);}if(O.async){i(Q);}}},n=function(){if(g){return;}g=true;var J,K;for(J in z){if(z.hasOwnProperty(J)){K=z[J];if(K.autopurge&&K.finished){d(K.tId);delete z[J];}}}g=false;},j=function(K,J,L){L=L||{};var O="q"+(r++),N=L.purgethreshold||e.Get.PURGE_THRESH,M;if(r%N===0){n();}M=z[O]=e.merge(L);M.tId=O;M.type=K;M.url=J;M.finished=false;M.nodes=[];M.win=M.win||e.config.win;M.context=M.context||M;M.autopurge=(q in M)?M.autopurge:(K===s)?true:false;M.attributes=M.attributes||{};M.attributes.charset=L.charset||M.attributes.charset||A;if(C in M&&K===s){M.attributes.async=M.async;}M.url=(p.isString(M.url))?[M.url]:M.url;if(!M.url[0]){M.url.shift();}M.remaining=M.url.length;i(O);return{tId:O};};e.Get={PURGE_THRESH:20,abort:function(K){var L=(p.isString(K))?K:K.tId,J=z[L];if(J){J.aborted=true;}},script:function(J,K){return j(s,J,K);},css:function(J,K){return j("css",J,K);}};},"3.4.0",{requires:["yui-base"]});YUI.add("features",function(b){var c={};b.mix(b.namespace("Features"),{tests:c,add:function(d,e,f){c[d]=c[d]||{};c[d][e]=f;},all:function(e,f){var g=c[e],d=[];if(g){b.Object.each(g,function(i,h){d.push(h+":"+(b.Features.test(e,h,f)?1:0));});}return(d.length)?d.join(";"):"";},test:function(e,g,f){f=f||[];var d,i,k,j=c[e],h=j&&j[g];if(!h){}else{d=h.result;if(b.Lang.isUndefined(d)){i=h.ua;if(i){d=(b.UA[i]);}k=h.test;if(k&&((!i)||d)){d=k.apply(b,f);}h.result=d;}}return d;}});var a=b.Features.add;a("load","0",{"name":"graphics-svg","test":function(e){var d=e.config.doc;return(d&&d.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"));},"trigger":"graphics"});a("load","1",{"name":"event-base-ie","test":function(e){var d=e.config.doc&&e.config.doc.implementation;return(d&&(!d.hasFeature("Events","2.0")));},"trigger":"node-base"});a("load","2",{"name":"graphics-vml","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!d||!d.getContext||!d.getContext("2d")));},"trigger":"graphics"});a("load","3",{"name":"dom-style-ie","test":function(j){var h=j.Features.test,i=j.Features.add,f=j.config.win,g=j.config.doc,d="documentElement",e=false;i("style","computedStyle",{test:function(){return f&&"getComputedStyle" in f;}});i("style","opacity",{test:function(){return g&&"opacity" in g[d].style;}});e=(!h("style","opacity")&&!h("style","computedStyle"));return e;},"trigger":"dom-style"});a("load","4",{"name":"transition-timer","test":function(g){var f=g.config.doc,e=(f)?f.documentElement:null,d=true;if(e&&e.style){d=!("MozTransition" in e.style||"WebkitTransition" in e.style);}return d;},"trigger":"transition"});a("load","5",{"name":"widget-base-ie","trigger":"widget-base","ua":"ie"});a("load","6",{"name":"autocomplete-list-keys","test":function(d){return !(d.UA.ios||d.UA.android);},"trigger":"autocomplete-list"});a("load","7",{"name":"graphics-canvas-default","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(d&&d.getContext&&d.getContext("2d")));},"trigger":"graphics"});a("load","8",{"name":"dd-gestures","test":function(d){return(d.config.win&&("ontouchstart" in d.config.win&&!d.UA.chrome));},"trigger":"dd-drag"});a("load","9",{"name":"selector-css2","test":function(f){var e=f.config.doc,d=e&&!("querySelectorAll" in e);return d; -},"trigger":"selector"});a("load","10",{"name":"history-hash-ie","test":function(e){var d=e.config.doc&&e.config.doc.documentMode;return e.UA.ie&&(!("onhashchange" in e.config.win)||!d||d<8);},"trigger":"history-hash"});},"3.4.0",{requires:["yui-base"]});YUI.add("intl-base",function(b){var a=/[, ]/;b.mix(b.namespace("Intl"),{lookupBestLang:function(g,h){var f,j,c,e;function d(l){var k;for(k=0;k0){c=d(j);if(c){return c;}else{e=j.lastIndexOf("-");if(e>=0){j=j.substring(0,e);if(e>=2&&j.charAt(e-2)==="-"){j=j.substring(0,e-2);}}else{break;}}}}return"";}});},"3.4.0",{requires:["yui-base"]});YUI.add("yui-log",function(d){var c=d,e="yui:log",a="undefined",b={debug:1,info:1,warn:1,error:1};c.log=function(j,s,g,q){var l,p,n,k,o,i=c,r=i.config,h=(i.fire)?i:YUI.Env.globalEvents;if(r.debug){if(g){p=r.logExclude;n=r.logInclude;if(n&&!(g in n)){l=1;}else{if(n&&(g in n)){l=!n[g];}else{if(p&&(g in p)){l=p[g];}}}}if(!l){if(r.useBrowserConsole){k=(g)?g+": "+j:j;if(i.Lang.isFunction(r.logFn)){r.logFn.call(i,j,s,g);}else{if(typeof console!=a&&console.log){o=(s&&console[s]&&(s in b))?s:"log";console[o](k);}else{if(typeof opera!=a){opera.postError(k);}}}}if(h&&!q){if(h==i&&(!h.getEvent(e))){h.publish(e,{broadcast:2});}h.fire(e,{msg:j,cat:s,src:g});}}}return i;};c.message=function(){return c.log.apply(c,arguments);};},"3.4.0",{requires:["yui-base"]});YUI.add("yui-later",function(b){var a=[];b.later=function(j,f,k,g,h){j=j||0;g=(!b.Lang.isUndefined(g))?b.Array(g):g;var i=false,c=(f&&b.Lang.isString(k))?f[k]:k,d=function(){if(!i){if(!c.apply){c(g[0],g[1],g[2],g[3]);}else{c.apply(f,g||a);}}},e=(h)?setInterval(d,j):setTimeout(d,j);return{id:e,interval:h,cancel:function(){i=true;if(this.interval){clearInterval(e);}else{clearTimeout(e);}}};};b.Lang.later=b.later;},"3.4.0",{requires:["yui-base"]});YUI.add("yui",function(a){},"3.4.0",{use:["yui-base","get","features","intl-base","yui-log","yui-later"]}); +},"3.4.0");YUI.add("get",function(e){var B=e.UA,p=e.Lang,b="text/javascript",v="text/css",I="stylesheet",s="script",q="autopurge",A="utf-8",w="link",C="async",h=true,l={script:h,css:!(B.webkit||B.gecko)},z={},r=0,g,u=function(J){var K=J.timer;if(K){clearTimeout(K);J.timer=null;}},m=function(M,J,P,N){var K=N||e.config.win,O=K.document,Q=O.createElement(M),L;if(P){e.mix(J,P);}for(L in J){if(J[L]&&J.hasOwnProperty(L)){Q.setAttribute(L,J[L]);}}return Q;},k=function(K,L,J){return m(w,{id:e.guid(),type:v,rel:I,href:K},J,L);},E=function(K,L,J){return m(s,{id:e.guid(),type:b,src:K},J,L);},a=function(K,L,J){return{tId:K.tId,win:K.win,data:K.data,nodes:K.nodes,msg:L,statusText:J,purge:function(){d(this.tId);}};},o=function(N,M,J){var L=z[N],K=L&&L.onEnd;L.finished=true;if(K){K.call(L.context,a(L,M,J));}},F=function(M,L){var K=z[M],J=K.onFailure;u(K);if(J){J.call(K.context,a(K,L));}o(M,L,"failure");},y=function(J){F(J,"transaction "+J+" was aborted");},x=function(L){var J=z[L],K=J.onSuccess;u(J);if(J.aborted){y(L);}else{if(K){K.call(J.context,a(J));}o(L,undefined,"OK");}},H=function(J,M){var K=z[M],L=(p.isString(J))?K.win.document.getElementById(J):J;if(!L){F(M,"target node not found: "+J);}return L;},d=function(O){var K,R,S,T,L,Q,P,N,M,J=z[O];if(J){K=J.nodes;M=K.length;for(N=0;N0){J=O.url.shift();if(N&&!O.timer){O.timer=setTimeout(function(){D(Q);},N);}if(L===s){M=E(J,P,K);}else{M=k(J,P,K);}O.nodes.push(M);c(L,M,Q,J);G(M,Q,P);if(!l[L]){f(Q,J);}if(O.async){i(Q);}}},n=function(){if(g){return;}g=true;var J,K;for(J in z){if(z.hasOwnProperty(J)){K=z[J];if(K.autopurge&&K.finished){d(K.tId);delete z[J];}}}g=false;},j=function(K,J,L){L=L||{};var O="q"+(r++),N=L.purgethreshold||e.Get.PURGE_THRESH,M;if(r%N===0){n();}M=z[O]=e.merge(L);M.tId=O;M.type=K;M.url=J;M.finished=false;M.nodes=[];M.win=M.win||e.config.win;M.context=M.context||M;M.autopurge=(q in M)?M.autopurge:(K===s)?true:false;M.attributes=M.attributes||{};M.attributes.charset=L.charset||M.attributes.charset||A;if(C in M&&K===s){M.attributes.async=M.async;}M.url=(p.isString(M.url))?[M.url]:M.url;if(!M.url[0]){M.url.shift();}M.remaining=M.url.length;i(O);return{tId:O};};e.Get={PURGE_THRESH:20,abort:function(K){var L=(p.isString(K))?K:K.tId,J=z[L];if(J){J.aborted=true;}},script:function(J,K){return j(s,J,K);},css:function(J,K){return j("css",J,K);}};},"3.4.0",{requires:["yui-base"]});YUI.add("features",function(b){var c={};b.mix(b.namespace("Features"),{tests:c,add:function(d,e,f){c[d]=c[d]||{};c[d][e]=f;},all:function(e,f){var g=c[e],d=[];if(g){b.Object.each(g,function(i,h){d.push(h+":"+(b.Features.test(e,h,f)?1:0));});}return(d.length)?d.join(";"):"";},test:function(e,g,f){f=f||[];var d,i,k,j=c[e],h=j&&j[g];if(!h){}else{d=h.result;if(b.Lang.isUndefined(d)){i=h.ua;if(i){d=(b.UA[i]);}k=h.test;if(k&&((!i)||d)){d=k.apply(b,f);}h.result=d;}}return d;}});var a=b.Features.add;a("load","0",{"name":"graphics-canvas-default","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(d&&d.getContext&&d.getContext("2d")));},"trigger":"graphics"});a("load","1",{"name":"autocomplete-list-keys","test":function(d){return !(d.UA.ios||d.UA.android);},"trigger":"autocomplete-list"});a("load","2",{"name":"graphics-svg","test":function(e){var d=e.config.doc;return(d&&d.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"));},"trigger":"graphics"});a("load","3",{"name":"history-hash-ie","test":function(e){var d=e.config.doc&&e.config.doc.documentMode;return e.UA.ie&&(!("onhashchange" in e.config.win)||!d||d<8);},"trigger":"history-hash"});a("load","4",{"name":"graphics-vml-default","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!d||!d.getContext||!d.getContext("2d")));},"trigger":"graphics"});a("load","5",{"name":"graphics-svg-default","test":function(e){var d=e.config.doc;return(d&&d.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1"));},"trigger":"graphics"});a("load","6",{"name":"widget-base-ie","trigger":"widget-base","ua":"ie"});a("load","7",{"name":"transition-timer","test":function(g){var f=g.config.doc,e=(f)?f.documentElement:null,d=true;if(e&&e.style){d=!("MozTransition" in e.style||"WebkitTransition" in e.style);}return d;},"trigger":"transition"});a("load","8",{"name":"dom-style-ie","test":function(j){var h=j.Features.test,i=j.Features.add,f=j.config.win,g=j.config.doc,d="documentElement",e=false;i("style","computedStyle",{test:function(){return f&&"getComputedStyle" in f;}});i("style","opacity",{test:function(){return g&&"opacity" in g[d].style;}});e=(!h("style","opacity")&&!h("style","computedStyle"));return e;},"trigger":"dom-style"});a("load","9",{"name":"selector-css2","test":function(f){var e=f.config.doc,d=e&&!("querySelectorAll" in e); +return d;},"trigger":"selector"});a("load","10",{"name":"event-base-ie","test":function(e){var d=e.config.doc&&e.config.doc.implementation;return(d&&(!d.hasFeature("Events","2.0")));},"trigger":"node-base"});a("load","11",{"name":"dd-gestures","test":function(d){return(d.config.win&&("ontouchstart" in d.config.win&&!d.UA.chrome));},"trigger":"dd-drag"});a("load","12",{"name":"scrollview-base-ie","trigger":"scrollview-base","ua":"ie"});a("load","13",{"name":"graphics-canvas","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(d&&d.getContext&&d.getContext("2d")));},"trigger":"graphics"});a("load","14",{"name":"graphics-vml","test":function(f){var e=f.config.doc,d=e&&e.createElement("canvas");return(e&&!e.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")&&(!d||!d.getContext||!d.getContext("2d")));},"trigger":"graphics"});},"3.4.0",{requires:["yui-base"]});YUI.add("intl-base",function(b){var a=/[, ]/;b.mix(b.namespace("Intl"),{lookupBestLang:function(g,h){var f,j,c,e;function d(l){var k;for(k=0;k0){c=d(j);if(c){return c;}else{e=j.lastIndexOf("-");if(e>=0){j=j.substring(0,e);if(e>=2&&j.charAt(e-2)==="-"){j=j.substring(0,e-2);}}else{break;}}}}return"";}});},"3.4.0",{requires:["yui-base"]});YUI.add("yui-log",function(d){var c=d,e="yui:log",a="undefined",b={debug:1,info:1,warn:1,error:1};c.log=function(j,s,g,q){var l,p,n,k,o,i=c,r=i.config,h=(i.fire)?i:YUI.Env.globalEvents;if(r.debug){if(g){p=r.logExclude;n=r.logInclude;if(n&&!(g in n)){l=1;}else{if(n&&(g in n)){l=!n[g];}else{if(p&&(g in p)){l=p[g];}}}}if(!l){if(r.useBrowserConsole){k=(g)?g+": "+j:j;if(i.Lang.isFunction(r.logFn)){r.logFn.call(i,j,s,g);}else{if(typeof console!=a&&console.log){o=(s&&console[s]&&(s in b))?s:"log";console[o](k);}else{if(typeof opera!=a){opera.postError(k);}}}}if(h&&!q){if(h==i&&(!h.getEvent(e))){h.publish(e,{broadcast:2});}h.fire(e,{msg:j,cat:s,src:g});}}}return i;};c.message=function(){return c.log.apply(c,arguments);};},"3.4.0",{requires:["yui-base"]});YUI.add("yui-later",function(b){var a=[];b.later=function(j,f,k,g,h){j=j||0;g=(!b.Lang.isUndefined(g))?b.Array(g):g;var i=false,c=(f&&b.Lang.isString(k))?f[k]:k,d=function(){if(!i){if(!c.apply){c(g[0],g[1],g[2],g[3]);}else{c.apply(f,g||a);}}},e=(h)?setInterval(d,j):setTimeout(d,j);return{id:e,interval:h,cancel:function(){i=true;if(this.interval){clearInterval(e);}else{clearTimeout(e);}}};};b.Lang.later=b.later;},"3.4.0",{requires:["yui-base"]});YUI.add("yui",function(a){},"3.4.0",{use:["yui-base","get","features","intl-base","yui-log","yui-later"]}); (function(){YUI.AUI_config={filter:"raw",io:{method:"GET"},combine:false,groups:{alloy:{combine:false,modules:{"aui-ace-editor":{submodules:{"aui-ace-editor-theme-textmate":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-groovy":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-twilight":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-keybinding-vim":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-clojure":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-merbivore_soft":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-scala":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-csharp":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-css":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-pastel_on_dark":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-worker-javascript":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-crimson_editor":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-cobalt":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-eclipse":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-clouds_midnight":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-worker-coffee":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-scss":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-clouds":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-c_cpp":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-kr_theme":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-scad":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-perl":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-textile":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-json":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-solarized_light":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-mono_industrial":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-merbivore":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-svg":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-java":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-vibrant_ink":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-dawn":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-python":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-keybinding-emacs":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-javascript":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-monokai":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-ruby":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-worker-css":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-coffee":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-html":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-idle_fingers":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-ocaml":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-theme-solarized_dark":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-php":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-mode-xml":{requires:["aui-ace-editor-base"],skinnable:false},"aui-ace-editor-base":{requires:["aui-component","aui-node"],skinnable:false}},skinnable:false,use:["aui-ace-editor-base","aui-ace-editor-mode-xml","aui-ace-editor-mode-php","aui-ace-editor-theme-solarized_dark","aui-ace-editor-mode-ocaml","aui-ace-editor-theme-idle_fingers","aui-ace-editor-mode-html","aui-ace-editor-mode-coffee","aui-ace-editor-worker-css","aui-ace-editor-mode-ruby","aui-ace-editor-theme-monokai","aui-ace-editor-mode-javascript","aui-ace-editor-keybinding-emacs","aui-ace-editor-mode-python","aui-ace-editor-theme-dawn","aui-ace-editor-theme-vibrant_ink","aui-ace-editor-mode-java","aui-ace-editor-mode-svg","aui-ace-editor-theme-merbivore","aui-ace-editor-theme-mono_industrial","aui-ace-editor-theme-solarized_light","aui-ace-editor-mode-json","aui-ace-editor-mode-textile","aui-ace-editor-mode-perl","aui-ace-editor-mode-scad","aui-ace-editor-theme-kr_theme","aui-ace-editor-mode-c_cpp","aui-ace-editor-theme-clouds","aui-ace-editor-mode-scss","aui-ace-editor-worker-coffee","aui-ace-editor-theme-clouds_midnight","aui-ace-editor-theme-eclipse","aui-ace-editor-theme-cobalt","aui-ace-editor-theme-crimson_editor","aui-ace-editor-worker-javascript","aui-ace-editor-theme-pastel_on_dark","aui-ace-editor-mode-css","aui-ace-editor-mode-csharp","aui-ace-editor-mode-scala","aui-ace-editor-theme-merbivore_soft","aui-ace-editor-mode-clojure","aui-ace-editor-keybinding-vim","aui-ace-editor-theme-twilight","aui-ace-editor-mode-groovy","aui-ace-editor-theme-textmate"]},"aui-aria":{skinnable:false,requires:["aui-base","plugin"]},"aui-autocomplete":{skinnable:true,requires:["aui-base","aui-overlay-base","datasource","dataschema","aui-form-combobox"]},"aui-base":{submodules:{"aui-base-lang":{skinnable:false},"aui-base-core":{requires:["aui-node","aui-component","aui-debounce","aui-delayed-task","aui-selector","aui-event-base","oop","yui-throttle"],skinnable:false}},use:["aui-base-core","aui-base-lang"],skinnable:false},"aui-button-item":{skinnable:true,requires:["aui-base","aui-state-interaction","widget-child"]},"aui-calendar":{skinnable:true,requires:["aui-base","aui-datatype","widget-stdmod","datatype-date","widget-locale"]},"aui-carousel":{skinnable:true,requires:["aui-base","aui-template","anim"]},"aui-char-counter":{skinnable:false,requires:["aui-base","aui-event-input"]},"aui-chart":{skinnable:false,requires:["datasource","aui-swf","json"]},"aui-classnamemanager":{requires:["classnamemanager"],skinnable:false,condition:{trigger:"classnamemanager",test:function(){return true; }}},"aui-color-picker":{submodules:{"aui-color-picker-grid-plugin":{requires:["aui-color-picker","plugin"],skinnable:true},"aui-color-picker-base":{requires:["aui-overlay-context","dd-drag","slider","aui-button-item","aui-color-util","aui-form-base","aui-panel"],skinnable:true}},use:["aui-color-picker-base","aui-color-picker-grid-plugin"],skinnable:true},"aui-color-util":{skinnable:false},"aui-component":{skinnable:false,requires:["widget","aui-classnamemanager"]},"aui-data-browser":{skinnable:true,requires:["aui-base","aui-datasource-control-base","aui-input-text-control","aui-tree","aui-panel"]},"aui-data-set":{skinnable:false,requires:["oop","collection","base"]},"aui-datasource-control":{submodules:{"aui-input-text-control":{requires:["aui-base","aui-datasource-control-base","aui-form-combobox"]},"aui-datasource-control-base":{requires:["aui-base","datasource","dataschema"]}},use:["aui-datasource-control-base","aui-input-text-control"],skinnable:true},"aui-datatable":{submodules:{"aui-datatable-selection":{requires:["aui-datatable-base"],skinnable:true},"aui-datatable-edit":{requires:["aui-calendar","aui-datatable-events","aui-toolbar","aui-form-validator","overlay","sortable"],skinnable:true},"aui-datatable-events":{requires:["aui-datatable-base"]},"aui-datatable-base":{requires:["aui-base","datatable","plugin"]}},use:["aui-datatable-base","aui-datatable-events","aui-datatable-edit","aui-datatable-selection"],skinnable:false},"aui-datatype":{skinnable:false,requires:["aui-base"]},"aui-datepicker":{submodules:{"aui-datepicker-select":{requires:["aui-datepicker-base","aui-button-item"],skinnable:true},"aui-datepicker-base":{requires:["aui-calendar","aui-overlay-context"],skinnable:true}},use:["aui-datepicker-base","aui-datepicker-select"],skinnable:true},"aui-debounce":{skinnable:false},"aui-delayed-task":{skinnable:false},"aui-diagram-builder":{submodules:{"aui-diagram-builder-connector":{requires:["aui-base","aui-template","arraylist-add","arraylist-filter","json","graphics","dd"],skinnable:true},"aui-diagram-builder-impl":{requires:["aui-data-set","aui-diagram-builder-base","aui-diagram-builder-connector","overlay"],skinnable:true},"aui-diagram-builder-base":{requires:["aui-tabs","aui-property-list","collection","dd"],skinnable:true}},use:["aui-diagram-builder-base","aui-diagram-builder-impl"],skinnable:true},"aui-dialog-iframe":{skinnable:true,requires:["aui-base","aui-loading-mask","aui-resize-iframe","plugin"]},"aui-dialog":{skinnable:true,requires:["aui-panel","dd-constrain","aui-button-item","aui-overlay-manager","aui-overlay-mask","aui-io-plugin","aui-resize"]},"aui-drawing":{submodules:{"aui-drawing-safari":{requires:["aui-drawing-base"]},"aui-drawing-fonts":{requires:["aui-drawing-base"]},"aui-drawing-drag":{requires:["aui-drawing-base","event-gestures"]},"aui-drawing-animate":{requires:["aui-drawing-base"]},"aui-drawing-vml":{requires:["aui-drawing-base"]},"aui-drawing-svg":{requires:["aui-drawing-base"]},"aui-drawing-base":{requires:["aui-base","aui-color-util","substitute"]}},use:["aui-drawing-base","aui-drawing-animate","aui-drawing-drag","aui-drawing-fonts"],plugins:{"aui-drawing-vml":{condition:{trigger:"aui-drawing-base",test:function(a){return a.UA.vml;}}},"aui-drawing-svg":{condition:{trigger:"aui-drawing-base",test:function(a){return a.UA.svg;}}},"aui-drawing-safari":{condition:{trigger:"aui-drawing-base",test:function(a){var b=a.UA;return b.safari&&(b.version.major<4||(b.iphone||b.ipad));}}}},skinnable:false},"aui-editable":{skinnable:true,requires:["aui-base","aui-form-combobox"]},"aui-editor":{submodules:{"aui-editor-creole-plugin":{requires:["aui-base","editor-base","aui-editor-html-creole","aui-editor-creole-parser"]},"aui-editor-html-creole":{requires:["aui-editor-base"]},"aui-editor-creole-parser":{requires:["aui-base"]},"aui-editor-bbcode-plugin":{requires:["aui-base","editor-base"]},"aui-editor-toolbar-plugin":{requires:["aui-base","aui-button-item","aui-color-picker","aui-editor-menu-plugin","aui-editor-tools-plugin","aui-form-select","aui-overlay-context-panel","aui-panel","aui-toolbar","createlink-base","editor-lists","editor-base","plugin"]},"aui-editor-menu-plugin":{requires:["aui-base","editor-base","aui-overlay-context","aui-panel","aui-editor-tools-plugin"]},"aui-editor-tools-plugin":{requires:["aui-base","editor-base"]},"aui-editor-base":{requires:["aui-base","editor-base","aui-editor-toolbar-plugin"]}},use:["aui-editor-base","aui-editor-tools-plugin","aui-editor-menu-plugin","aui-editor-toolbar-plugin","aui-editor-bbcode-plugin","aui-editor-creole-parser","aui-editor-creole-plugin"],skinnable:true},"aui-event":{submodules:{"aui-event-input":{requires:["aui-base"]},"aui-event-base":{requires:["event"]}},use:["aui-event-base","aui-event-input"],skinnable:false},"aui-form-builder":{submodules:{"aui-form-builder-field":{requires:["aui-datatype","aui-panel","aui-tooltip"],skinnable:true},"aui-form-builder-base":{requires:["aui-base","aui-button-item","aui-data-set","aui-diagram-builder-base","aui-nested-list","aui-tabs"],skinnable:true}},use:["aui-form-builder-base","aui-form-builder-field"],skinnable:true},"aui-form":{submodules:{"aui-form-validator":{requires:["aui-base","aui-event-input","selector-css3"]},"aui-form-textfield":{requires:["aui-form-field"]},"aui-form-textarea":{requires:["aui-form-textfield"],skinnable:true},"aui-form-select":{requires:["aui-form-field"]},"aui-form-field":{requires:["aui-base","aui-component"]},"aui-form-combobox":{requires:["aui-form-textarea","aui-toolbar"],skinnable:true},"aui-form-base":{requires:["aui-base","aui-data-set","aui-form-field","querystring-parse","io-form"]}},use:["aui-form-base","aui-form-combobox","aui-form-field","aui-form-select","aui-form-textarea","aui-form-textfield","aui-form-validator"],skinnable:false},"aui-image-viewer":{submodules:{"aui-media-viewer-plugin":{requires:["aui-image-viewer-base"],skinnable:false},"aui-image-viewer-gallery":{requires:["aui-image-viewer-base","aui-paginator","aui-toolbar"],skinnable:true},"aui-image-viewer-base":{requires:["anim","aui-overlay-mask"],skinnable:true}},use:["aui-image-viewer-base","aui-image-viewer-gallery","aui-media-viewer-plugin"],skinnable:true},"aui-io":{submodules:{"aui-io-plugin":{requires:["aui-overlay-base","aui-parse-content","aui-io-request","aui-loading-mask"]},"aui-io-request":{requires:["aui-base","io-base","json","plugin","querystring-stringify"]}},use:["aui-io-request","aui-io-plugin"],skinnable:false},"aui-live-search":{skinnable:false,requires:["aui-base"]},"aui-loading-mask":{skinnable:true,requires:["aui-overlay-mask","plugin"]},"aui-messaging":{skinnable:false,requires:["aui-base","aui-task-manager","querystring"]},"aui-nested-list":{skinnable:false,requires:["aui-base","dd-drag","dd-drop","dd-proxy"]},"aui-node":{submodules:{"aui-node-html5-print":{requires:["aui-node-html5"]},"aui-node-html5":{requires:["collection","aui-base"]},"aui-node-base":{requires:["aui-base-lang","node","aui-classnamemanager"]}},use:["aui-node-base","aui-node-html5","aui-node-html5-print"],skinnable:false},"aui-overlay":{submodules:{"aui-overlay-mask":{requires:["aui-base","aui-overlay-base","event-resize"],skinnable:true},"aui-overlay-manager":{requires:["aui-base","aui-overlay-base","overlay","plugin"]},"aui-overlay-context-panel":{requires:["aui-overlay-context","anim"],skinnable:true},"aui-overlay-context":{requires:["aui-overlay-manager","aui-delayed-task","aui-aria"]},"aui-overlay-base":{requires:["aui-component","widget-position","widget-stack","widget-position-align","widget-position-constrain","widget-stdmod"]}},use:["aui-overlay-base","aui-overlay-context","aui-overlay-context-panel","aui-overlay-manager","aui-overlay-mask"],skinnable:true},"aui-paginator":{skinnable:true,requires:["aui-base"]},"aui-panel":{skinnable:true,requires:["aui-component","widget-stdmod","aui-toolbar","aui-aria"]},"aui-parse-content":{skinnable:false,requires:["async-queue","aui-base","plugin"]},"aui-portal-layout":{skinnable:true,requires:["aui-base","dd-drag","dd-delegate","dd-drop","dd-proxy"]},"aui-progressbar":{skinnable:true,requires:["aui-base","aui-aria"]},"aui-property-list":{skinnable:true,requires:["aui-datatable"]},"aui-rating":{skinnable:true,requires:["aui-base"]},"aui-resize-iframe":{skinnable:true,requires:["aui-base","aui-task-manager","plugin"]},"aui-resize":{submodules:{"aui-resize-constrain":{requires:["aui-resize-base","dd-constrain","plugin"],skinnable:false},"aui-resize-base":{requires:["aui-base","dd-drag","dd-delegate","dd-drop"],skinnable:true}},use:["aui-resize-base","aui-resize-constrain"],skinnable:true},"aui-scheduler":{submodules:{"aui-scheduler-calendar":{requires:["aui-scheduler-event"],skinnable:true},"aui-scheduler-event":{requires:["aui-base","aui-color-util","aui-datatype","aui-overlay-context-panel"],skinnable:true},"aui-scheduler-view":{requires:["aui-scheduler-event","aui-calendar","aui-button-item","dd-drag","dd-delegate","dd-drop","dd-constrain"],skinnable:true},"aui-scheduler-base":{requires:["aui-scheduler-view","datasource"],skinnable:true}},use:["aui-scheduler-base","aui-scheduler-view","aui-scheduler-event","aui-scheduler-calendar"],skinnable:true},"aui-scroller":{skinnable:true,requires:["aui-base","aui-simple-anim"]},"aui-selector":{skinnable:false,requires:["selector-css3"]},"aui-simple-anim":{skinnable:false,requires:["aui-base"]},"aui-skin-base":{path:"aui-skin-base/css/aui-skin-base.css",type:"css"},"aui-skin-classic-all":{path:"aui-skin-classic/css/aui-skin-classic-all.css",type:"css"},"aui-skin-classic":{requires:["aui-skin-base"],type:"css",path:"aui-skin-classic/css/aui-skin-classic.css"},"aui-sortable":{skinnable:true,requires:["aui-base","dd-constrain","dd-drag","dd-drop","dd-proxy"]},"aui-state-interaction":{skinnable:false,requires:["aui-base","plugin"]},"aui-swf":{skinnable:false,requires:["aui-base","querystring-stringify-simple"]},"aui-tabs":{submodules:{"aui-tabs-menu-plugin":{requires:["aui-component","aui-state-interaction","aui-tabs-base","aui-overlay-context","plugin"]},"aui-tabs-base":{requires:["aui-component","aui-state-interaction"],skinnable:true}},use:["aui-tabs-base","aui-tabs-menu-plugin"],skinnable:true},"aui-task-manager":{skinnable:false,requires:["aui-base"]},"aui-template":{skinnable:false,requires:["aui-base"]},"aui-text":{submodules:{"aui-text-unicode":{requires:["aui-text-data-unicode"],skinnable:false},"aui-text-data-unicode":{requires:["text"],skinnable:false}},use:["aui-text-data-unicode","aui-text-unicode"],skinnable:false},"aui-textboxlist":{skinnable:true,requires:["anim-node-plugin","aui-autocomplete","node-focusmanager"]},"aui-toolbar":{skinnable:true,requires:["aui-base","aui-button-item","aui-data-set","widget-parent"]},"aui-tooltip":{skinnable:true,requires:["aui-overlay-context-panel"]},"aui-tpl-snippets":{submodules:{"aui-tpl-snippets-checkbox":{requires:["aui-tpl-snippets-base"],skinnable:false},"aui-tpl-snippets-textarea":{requires:["aui-tpl-snippets-base"],skinnable:false},"aui-tpl-snippets-input":{requires:["aui-tpl-snippets-base"],skinnable:false},"aui-tpl-snippets-select":{requires:["aui-tpl-snippets-base"],skinnable:false},"aui-tpl-snippets-base":{requires:["aui-template"],skinnable:false}},use:["aui-tpl-snippets-base","aui-tpl-snippets-select","aui-tpl-snippets-input","aui-tpl-snippets-textarea","aui-tpl-snippets-checkbox"],skinnable:false},"aui-tree":{submodules:{"aui-tree-view":{requires:["aui-tree-node","dd-drag","dd-drop","dd-proxy"],skinnable:true},"aui-tree-node":{requires:["aui-tree-data","aui-io","json","querystring-stringify"],skinnable:false},"aui-tree-data":{requires:["aui-base"],skinnable:false}},use:["aui-tree-data","aui-tree-node","aui-tree-view"],skinnable:true},"aui-video":{skinnable:true,requires:["aui-base","querystring-stringify-simple"]},"aui-viewport":{skinnable:false,requires:["aui-base"]}}}}}; })();(function(){YUI.AUI_config=YUI.AUI_config||{};var g=YUI.AUI_config;YUI.prototype.ready=function(){var e=this;var m=Array.prototype.slice;var k=m.call(arguments,0),j=k.length-1;var l=k[j];var i=m.call(arguments,0,j);i.push("event");i.push(function(n){var o=arguments;n.on("domready",function(){l.apply(this,o);});});e.use.apply(e,i);};var b;if(typeof A!="undefined"){b=A;}else{b=YUI(g);}var f=function(e){e.Env._guidp=["aui",e.version,e.Env._yidx].join("_").replace(/\./g,"_");};f(b);var h=b.config;b.config=b.merge(h,YUI.AUI_config);YUI.AUI=function(k){var e=this;if(k||e instanceof a){var i=b.Array(arguments);i.unshift(b.config);var j=YUI.apply(b.config.win,i);a._uaExtensions(j);a._guidExtensions(j);return j;}return b;};var a=YUI.AUI;a._guidExtensions=f;window.AUI=a;var c=b.UA;b.mix(a,YUI,true,null,2);b.mix(a,{__version:"@VERSION",defaults:g,html5shiv:function(l){var e=this;var k=l||document;if(c.ie&&k&&k.createElement){var j=a.HTML5_ELEMENTS,i=j.length;while(i--){k.createElement(j[i]);}}return l;},setDefaults:function(i){var e=this;b.mix(a.defaults,i,true,null,0,true);b.mix(b.config,i,true,null,0,true);},HTML5_ELEMENTS:"abbr,article,aside,audio,canvas,command,datalist,details,figure,figcaption,footer,header,hgroup,keygen,mark,meter,nav,output,progress,section,source,summary,time,video".split(",")},true);a.html5shiv();(function(){var k=/\./g;var e=function(o){var n=0;return parseFloat(o.replace(k,function(){return(n++==1)?"":".";}));};var j=["0","0"];var i=function(o,p){var n=(p.match(o)||j)[1];return e(n);};var m={windows:"win",macintosh:"mac"};var l=["ie","opera","chrome","aol","camino","firefox","flock","mozilla","netscape","icab","konqueror","safari"];a._uaExtensions=function(F){var x=navigator;var L=x.userAgent;var D=F.UA;var q=D.os;var u={aol:0,camino:0,firefox:0,flock:0,mozilla:0,netscape:0,icab:0,konqueror:0,safari:0,browser:0,win:q=="windows",mac:q=="macintosh",rhino:q=="rhino",agent:L};if(D.ie){u.aol=i(/America Online Browser ([^\s]*);/,L);}else{if(D.gecko){u.netscape=i(/(Netscape|Navigator)\/([^\s]*)/,L);u.flock=i(/Flock\/([^\s]*)/,L);u.camino=i(/Camino\/([^\s]*)/,L);u.firefox=i(/Firefox\/([^\s]*)/,L);}else{if(D.webkit){u.safari=i(/Version\/([^\s]*) Safari/,L);}else{u.icab=i(/iCab(?:\/|\s)?([^\s]*)/,L);u.konqueror=i(/Konqueror\/([^\s]*)/,L);}}}if(!u.win&&!u.mac){var z=/Linux/.test(L);var p=/Solaris|SunOS/.test(L);if(z){D.os="linux";u.linux=z;}else{if(p){D.os="sun";u.sun=p;}}}var M=F.config,o=M.doc;u.touch=("ontouchstart" in o);F.mix(D,u);var G=[];var w=0;var K;var s;var I;var v;var y={string:"",major:w};var H=l.length;while(H--){K=l[H];s=D[K];if(s>0){w=parseInt(s,10);I=K+w;v=(K+s);if(String(s).indexOf(".")>-1){v=v.replace(/\.(\d).*/,"-$1");}else{v+="-0";}G.push(K,I,v);y.string=K+"";y.major=w;}}D.version=y;D.renderer="";var J=o.documentElement;D.dir=J.getAttribute("dir")||"ltr";if(D.ie){D.renderer="trident";}else{if(D.gecko){D.renderer="gecko";}else{if(D.webkit){D.renderer="webkit";}else{if(D.opera){D.renderer="presto";}}}}F.UA=D;var t=[D.renderer,D.dir,"js"].concat(G);var B=m[D.os]||D.os;t.push(B);if(D.mobile){t.push("mobile");}if(D.secure){t.push("secure");}if(D.touch){t.push("touch");}D.selectors=t.join(" ");if(!J._yuid){J.className+=" "+D.selectors;var n,E;n=!(E=!!(M.win.SVGAngle||o.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")));if(n){var C=o.createElement("div");var r;C.innerHTML='';r=C.firstChild;r.style.behavior="url(#default#VML)";if(!(r&&typeof r.adj=="object")){n=false;}C=null;}a._VML=n;a._SVG=E;F.stamp(J);}D.vml=a._VML;D.svg=a._SVG;};})();a._uaExtensions(b);if(c.ie&&c.version.major<=6){try{document.execCommand("BackgroundImageCache",false,true);}catch(d){}}})();AUI.add("aui-base-core",function(b){var f=b.Lang,c=f.isNumber,a=f.isString,e=b.Array,d=e.indexOf;b.mix(e,{remove:function(g,j,i){var h=g.slice((i||j)+1||g.length);g.length=(j<0)?(g.length+j):j;return g.push.apply(g,h);},removeItem:function(g,i){var h=d(g,i);return e.remove(g,h);}});b.fn=function(j,i,g){var h;if(!c(j)){var l=arguments;if(l.length>2){l=e(l,2,true);}var k=(a(j)&&i);h=function(){var n=(!k)?j:i[j];return n.apply(i||j,l);};}else{var m=j;j=i;i=g;var k=(a(j)&&i);h=function(){var o=(!k)?j:i[j];i=i||o;var n;if(m>0){n=o.apply(i,e(arguments,0,true).slice(0,m));}else{n=o.call(i);}return n;};}return h;};},"@VERSION@",{requires:["aui-node","aui-component","aui-debounce","aui-delayed-task","aui-selector","aui-event-base","oop","yui-throttle"],skinnable:false});AUI.add("aui-base-lang",function(v){var j=v.Lang,p=j.isNumber,e=j.isUndefined,q=v.namespace("Lang.String"),u="",d=v.config.doc,z="innerHTML",F=/-([a-z])/gi,o=/([.*+?^$(){}|[\]\/\\])/g,c=/\r?\n/g,J=/(?:)((\n|\r|.)*?)(?:<\/script>)/gi,x=/<\/?[^>]+>/gi,k=/([a-zA-Z][a-zA-Z])([A-Z])([a-z])/g,C=/([a-zA-Z][a-zA-Z])([A-Z])([a-z])/g,b="&",r="<",g="...",D="end",n="#",h="middle",m="start",E="0",I="g",w="s",f=["return value ",null,";"],G=[],y=v.cached(function(i){f[1]=i;return new Function("value",f.join(u));}),l={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`"},a={};for(var B in l){if(l.hasOwnProperty(B)){var s=l[B];a[s]=B;G.push(B);}}var t=new RegExp("["+G.join(u)+"]","g"),H=/&([^;]+);/g;v.mix(q,{camelize:v.cached(function(L,K){var i=F;L=String(L);if(K){i=new RegExp(K+"([a-z])","gi");}return L.replace(i,q._camelize);}),capitalize:v.cached(function(i){if(i){i=String(i);i=i.charAt(0).toUpperCase()+i.substr(1).toLowerCase();}return i;}),contains:function(K,i){return K.indexOf(i)!=-1;},defaultValue:function(K,i){if(e(K)||K==u){if(e(i)){i=u;}K=i;}return K;},endsWith:function(L,K){var i=(L.length-K.length);return((i>=0)&&(L.indexOf(K,i)==i));},escapeHTML:function(i){return i.replace(t,q._escapeHTML);},escapeRegEx:function(i){return i.replace(o,"\\$1");},math:function(K,i){return y(i)(K);},nl2br:function(K){var i=this;return String(K).replace(c,"
");},padNumber:function(L,M,i){var N=i?Number(L).toFixed(i):String(L);var K=N.indexOf(".");if(K==-1){K=N.length;}return q.repeat(E,Math.max(0,M-K))+N; diff --git a/build/aui/aui.js b/build/aui/aui.js index 56186feb464..76e20427da5 100644 --- a/build/aui/aui.js +++ b/build/aui/aui.js @@ -38,7 +38,7 @@ But it also works like this: @constructor @global @uses EventTarget -@param o* {object} 0..n optional configuration objects. these values +@param o* {Object} 0..n optional configuration objects. these values are store in Y.config. See Config for the list of supported properties. */ @@ -64,9 +64,10 @@ properties. YUI.GlobalConfig is a master configuration that might span multiple contexts in a non-browser environment. It is applied first to all instances in all contexts. - @property YUI.GlobalConfig + @property GlobalConfig @type {Object} @global + @static @example @@ -233,7 +234,7 @@ proto = { * update the loader cache if necessary. Updating Y.config directly * will not update the cache. * @method applyConfig - * @param {object} o the configuration object. + * @param {Object} o the configuration object. * @since 3.2.0 */ applyConfig: function(o) { @@ -1054,26 +1055,36 @@ with any configuration info required for the module. /** - * Returns the namespace specified and creates it if it doesn't exist - * - * YUI.namespace("property.package"); - * YUI.namespace("YAHOO.property.package"); - * - * Either of the above would create `YUI.property`, then - * `YUI.property.package` (`YAHOO` is scrubbed out, this is - * to remain compatible with YUI2) - * - * Be careful when naming packages. Reserved words may work in some browsers - * and not others. For instance, the following will fail in Safari: - * - * YUI.namespace("really.long.nested.namespace"); - * - * This fails because "long" is a future reserved word in ECMAScript - * - * @method namespace - * @param {string*} arguments 1-n namespaces to create. - * @return {object} A reference to the last namespace object created. - */ + Adds a namespace object onto the YUI global if called statically: + + // creates YUI.your.namespace.here as nested objects + YUI.namespace("your.namespace.here"); + + If called as an instance method on the YUI instance, it creates the + namespace on the instance: + + // creates Y.property.package + Y.namespace("property.package"); + + Dots in the input string cause `namespace` to create nested objects for + each token. If any part of the requested namespace already exists, the + current object will be left in place. This allows multiple calls to + `namespace` to preserve existing namespaced properties. + + If the first token in the namespace string is "YAHOO", the token is + discarded. + + Be careful when naming packages. Reserved words may work in some browsers + and not others. For instance, the following will fail in some browsers: + + Y.namespace("really.long.nested.namespace"); + + This fails because `long` is a future reserved word in ECMAScript + + @method namespace + @param {String[]} namespace* 1-n namespaces to create. + @return {Object} A reference to the last namespace object created. + **/ namespace: function() { var a = arguments, o = this, i = 0, j, d, arg; for (; i < a.length; i++) { @@ -1704,9 +1715,7 @@ with any configuration info required for the module. */ /** - * The parameter defaults for the remote loader service. - * Requires the rls submodule. The properties that are - * supported: + * The parameter defaults for the remote loader service. **Requires the rls seed file.** The properties that are supported: * * * `m`: comma separated list of module requirements. This * must be the param name even for custom implemetations. @@ -1726,23 +1735,26 @@ with any configuration info required for the module. * * @since 3.2.0 * @property rls + * @type {Object} */ /** - * The base path to the remote loader service + * The base path to the remote loader service. **Requires the rls seed file.** * * @since 3.2.0 * @property rls_base + * @type {String} */ /** * The template to use for building the querystring portion * of the remote loader service url. The default is determined * by the rls config -- each property that has a value will be - * represented. + * represented. **Requires the rls seed file.** * * @since 3.2.0 * @property rls_tmpl + * @type {String} * @example * m={m}&v={v}&env={env}&lang={lang}&filt={filt}&tests={tests} * @@ -1750,10 +1762,11 @@ with any configuration info required for the module. /** * Configure the instance to use a remote loader service instead of - * the client loader. + * the client loader. **Requires the rls seed file.** * * @since 3.2.0 * @property use_rls + * @type {Boolean} */ YUI.add('yui-base', function(Y) { @@ -2060,6 +2073,7 @@ L.now = Date.now || function () { * core utilities for the library. * * @module yui + * @main yui * @submodule yui-base */ @@ -3016,11 +3030,14 @@ O.isEmpty = function (obj) { * @class UA * @static */ + /** -* Static method for parsing the UA string. Defaults to assigning it's value to Y.UA +* Static method on `YUI.Env` for parsing a UA string. Called at instantiation +* to populate `Y.UA`. +* * @static -* @method Env.parseUA -* @param {String} subUA Parse this UA string instead of navigator.userAgent +* @method parseUA +* @param {String} [subUA=navigator.userAgent] UA string to parse * @returns {Object} The Y.UA object */ YUI.Env.parseUA = function(subUA) { @@ -4292,8 +4309,37 @@ Y.mix(Y.namespace('Features'), { /* This file is auto-generated by src/loader/scripts/meta_join.py */ var add = Y.Features.add; -// graphics-svg.js +// graphics-canvas-default add('load', '0', { + "name": "graphics-canvas-default", + "test": function(Y) { + var DOCUMENT = Y.config.doc, + canvas = DOCUMENT && DOCUMENT.createElement("canvas"); + return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (canvas && canvas.getContext && canvas.getContext("2d"))); +}, + "trigger": "graphics" +}); +// autocomplete-list-keys +add('load', '1', { + "name": "autocomplete-list-keys", + "test": function (Y) { + // Only add keyboard support to autocomplete-list if this doesn't appear to + // be an iOS or Android-based mobile device. + // + // There's currently no feasible way to actually detect whether a device has + // a hardware keyboard, so this sniff will have to do. It can easily be + // overridden by manually loading the autocomplete-list-keys module. + // + // Worth noting: even though iOS supports bluetooth keyboards, Mobile Safari + // doesn't fire the keyboard events used by AutoCompleteList, so there's + // no point loading the -keys module even when a bluetooth keyboard may be + // available. + return !(Y.UA.ios || Y.UA.android); +}, + "trigger": "autocomplete-list" +}); +// graphics-svg +add('load', '2', { "name": "graphics-svg", "test": function(Y) { var DOCUMENT = Y.config.doc; @@ -4301,18 +4347,20 @@ add('load', '0', { }, "trigger": "graphics" }); -// ie-base-test.js -add('load', '1', { - "name": "event-base-ie", - "test": function(Y) { - var imp = Y.config.doc && Y.config.doc.implementation; - return (imp && (!imp.hasFeature('Events', '2.0'))); +// history-hash-ie +add('load', '3', { + "name": "history-hash-ie", + "test": function (Y) { + var docMode = Y.config.doc && Y.config.doc.documentMode; + + return Y.UA.ie && (!('onhashchange' in Y.config.win) || + !docMode || docMode < 8); }, - "trigger": "node-base" + "trigger": "history-hash" }); -// graphics-vml.js -add('load', '2', { - "name": "graphics-vml", +// graphics-vml-default +add('load', '4', { + "name": "graphics-vml-default", "test": function(Y) { var DOCUMENT = Y.config.doc, canvas = DOCUMENT && DOCUMENT.createElement("canvas"); @@ -4320,8 +4368,39 @@ add('load', '2', { }, "trigger": "graphics" }); -// ie-style-test.js -add('load', '3', { +// graphics-svg-default +add('load', '5', { + "name": "graphics-svg-default", + "test": function(Y) { + var DOCUMENT = Y.config.doc; + return (DOCUMENT && DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1")); +}, + "trigger": "graphics" +}); +// widget-base-ie +add('load', '6', { + "name": "widget-base-ie", + "trigger": "widget-base", + "ua": "ie" +}); +// transition-timer +add('load', '7', { + "name": "transition-timer", + "test": function (Y) { + var DOCUMENT = Y.config.doc, + node = (DOCUMENT) ? DOCUMENT.documentElement: null, + ret = true; + + if (node && node.style) { + ret = !('MozTransition' in node.style || 'WebkitTransition' in node.style); + } + + return ret; +}, + "trigger": "transition" +}); +// dom-style-ie +add('load', '8', { "name": "dom-style-ie", "test": function (Y) { @@ -4351,86 +4430,59 @@ add('load', '3', { }, "trigger": "dom-style" }); -// transition-test.js -add('load', '4', { - "name": "transition-timer", +// selector-css2 +add('load', '9', { + "name": "selector-css2", "test": function (Y) { var DOCUMENT = Y.config.doc, - node = (DOCUMENT) ? DOCUMENT.documentElement: null, - ret = true; - - if (node && node.style) { - ret = !('MozTransition' in node.style || 'WebkitTransition' in node.style); - } + ret = DOCUMENT && !('querySelectorAll' in DOCUMENT); return ret; }, - "trigger": "transition" -}); -// 0 -add('load', '5', { - "name": "widget-base-ie", - "trigger": "widget-base", - "ua": "ie" -}); -// autocomplete-list-keys-sniff.js -add('load', '6', { - "name": "autocomplete-list-keys", - "test": function (Y) { - // Only add keyboard support to autocomplete-list if this doesn't appear to - // be an iOS or Android-based mobile device. - // - // There's currently no feasible way to actually detect whether a device has - // a hardware keyboard, so this sniff will have to do. It can easily be - // overridden by manually loading the autocomplete-list-keys module. - // - // Worth noting: even though iOS supports bluetooth keyboards, Mobile Safari - // doesn't fire the keyboard events used by AutoCompleteList, so there's - // no point loading the -keys module even when a bluetooth keyboard may be - // available. - return !(Y.UA.ios || Y.UA.android); -}, - "trigger": "autocomplete-list" + "trigger": "selector" }); -// graphics-canvas.js -add('load', '7', { - "name": "graphics-canvas-default", +// event-base-ie +add('load', '10', { + "name": "event-base-ie", "test": function(Y) { - var DOCUMENT = Y.config.doc, - canvas = DOCUMENT && DOCUMENT.createElement("canvas"); - return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (canvas && canvas.getContext && canvas.getContext("2d"))); + var imp = Y.config.doc && Y.config.doc.implementation; + return (imp && (!imp.hasFeature('Events', '2.0'))); }, - "trigger": "graphics" + "trigger": "node-base" }); -// dd-gestures-test.js -add('load', '8', { +// dd-gestures +add('load', '11', { "name": "dd-gestures", "test": function(Y) { return (Y.config.win && ('ontouchstart' in Y.config.win && !Y.UA.chrome)); }, "trigger": "dd-drag" }); -// selector-test.js -add('load', '9', { - "name": "selector-css2", - "test": function (Y) { +// scrollview-base-ie +add('load', '12', { + "name": "scrollview-base-ie", + "trigger": "scrollview-base", + "ua": "ie" +}); +// graphics-canvas +add('load', '13', { + "name": "graphics-canvas", + "test": function(Y) { var DOCUMENT = Y.config.doc, - ret = DOCUMENT && !('querySelectorAll' in DOCUMENT); - - return ret; + canvas = DOCUMENT && DOCUMENT.createElement("canvas"); + return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (canvas && canvas.getContext && canvas.getContext("2d"))); }, - "trigger": "selector" + "trigger": "graphics" }); -// history-hash-ie-test.js -add('load', '10', { - "name": "history-hash-ie", - "test": function (Y) { - var docMode = Y.config.doc && Y.config.doc.documentMode; - - return Y.UA.ie && (!('onhashchange' in Y.config.win) || - !docMode || docMode < 8); +// graphics-vml +add('load', '14', { + "name": "graphics-vml", + "test": function(Y) { + var DOCUMENT = Y.config.doc, + canvas = DOCUMENT && DOCUMENT.createElement("canvas"); + return (DOCUMENT && !DOCUMENT.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1") && (!canvas || !canvas.getContext || !canvas.getContext("2d"))); }, - "trigger": "history-hash" + "trigger": "graphics" }); diff --git a/lib/yui3 b/lib/yui3 index 5054366b957..0cabb928600 160000 --- a/lib/yui3 +++ b/lib/yui3 @@ -1 +1 @@ -Subproject commit 5054366b9576dee834af783821a1b19f7701c14b +Subproject commit 0cabb9286003ebc81c9c54f0b56658d2f7c4d16e