/** * almond 0.2.7 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/jrburke/almond for details */ /** * engineDetector version: "0.0.26" Copyright (c) 2011-2012, Cyril Agosta ( cyril.agosta.dev@gmail.com) All Rights Reserved. * Available via the MIT license. * see: http://github.com/cagosta/engineDetector for details */ var requirejs,require,define;!function(e){function n(e,n){return m.call(e,n)}function o(e,n){var o,i,r,t,s,c,u,f,l,a,p=n&&n.split("/"),d=g.map,h=d&&d["*"]||{};if(e&&"."===e.charAt(0))if(n){for(p=p.slice(0,p.length-1),e=p.concat(e.split("/")),f=0;f0&&(e.splice(f-1,2),f-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((p||h)&&d){for(o=e.split("/"),f=o.length;f>0;f-=1){if(i=o.slice(0,f).join("/"),p)for(l=p.length;l>0;l-=1)if(r=d[p.slice(0,l).join("/")],r&&(r=r[i])){t=r,s=f;break}if(t)break;!c&&h&&h[i]&&(c=h[i],u=f)}!t&&c&&(t=c,s=u),t&&(o.splice(0,s,t),e=o.join("/"))}return e}function i(n,o){return function(){return l.apply(e,b.call(arguments,0).concat([n,o]))}}function r(e){return function(n){return o(n,e)}}function t(e){return function(n){d[e]=n}}function s(o){if(n(h,o)){var i=h[o];delete h[o],w[o]=!0,f.apply(e,i)}if(!n(d,o)&&!n(w,o))throw new Error("No "+o);return d[o]}function c(e){var n,o=e?e.indexOf("!"):-1;return o>-1&&(n=e.substring(0,o),e=e.substring(o+1,e.length)),[n,e]}function u(e){return function(){return g&&g.config&&g.config[e]||{}}}var f,l,a,p,d={},h={},g={},w={},m=Object.prototype.hasOwnProperty,b=[].slice;a=function(e,n){var i,t=c(e),u=t[0];return e=t[1],u&&(u=o(u,n),i=s(u)),u?e=i&&i.normalize?i.normalize(e,r(n)):o(e,n):(e=o(e,n),t=c(e),u=t[0],e=t[1],u&&(i=s(u))),{f:u?u+"!"+e:e,n:e,pr:u,p:i}},p={require:function(e){return i(e)},exports:function(e){var n=d[e];return"undefined"!=typeof n?n:d[e]={}},module:function(e){return{id:e,uri:"",exports:d[e],config:u(e)}}},f=function(o,r,c,u){var f,l,g,m,b,_,j=[],q=typeof c;if(u=u||o,"undefined"===q||"function"===q){for(r=!r.length&&c.length?["require","exports","module"]:r,b=0;b