(function(n){if(typeof window.$$INTEL==="function"){return}var y=[],g=/^((?:[_a-zA-Z0-9]+[.])*[_a-zA-Z0-9]+)(?:(?:(?:\-|\|)((?:[0-9]+)|(?:[0-9]+[.][0-9]*)*)$)|$)/,e=/^((?:[.]{0,2}[^\/]*\/)+)([_a-zA-Z0-9]+)[.]js$/,k=[],d={},r=false,b,w,p,x;function s(D,C){return function(){return C.callee.apply(D,C)}}function m(){var C,D;while(0<k.length){C=document.getElementsByTagName("SCRIPT");for(D=0;D<C.length;D+=1){if(d[C[D].src]){window.setTimeout(m,0);return}}if(typeof window.$$INTEL.onerror==="function"){try{(k.shift())()}catch(E){window.$$INTEL.onerror(E)}}else{(k.shift())()}}r=true}function A(){if(x){return}x=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);m()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);m()}});if(document.documentElement.doScroll&&typeof window.frameElement==="undefined"){(function(){if(r){return}try{document.documentElement.doScroll("left")}catch(C){document.setTimeout(arguments.callee,0);return}m()}())}}}if(document.addEventListener){document.addEventListener("load",m,false)}else{if(document.attachEvent){document.attachEvent("onload",m)}else{document.onload=m}}}function v(C){return g.test(C)}function t(C){return e.test(C)}function o(C,D){return function(){var E;E=document.createElement("SCRIPT");E.language="javascript";E.type="text/javascript";E.src=D;D=E.src;d[D]="loading";E.onload=function(){delete d[D];E.onload=null;E.onreadystatechange=null};E.onreadystatechange=function(){if(this.readyState==="loaded"||this.readyState==="complete"){delete d[D];E.onload=null;E.onreadystatechange=null}};C.appendChild(E)}}function j(){var E=document.getElementsByTagName("HEAD")[0],F,D,C;for(D=0;D<arguments.length;D+=1){C=arguments[D];if(typeof C==="string"&&v(C)){F=h(C);k.push(o(E,F));A()}else{if(typeof C==="string"&&t(C)){k.push(o(E,C));A()}else{if(typeof C==="function"){k.push(C);A()}else{throw new Error("Bad argument, must be a module name or a function.")}}}}if(r&&k.length>0){m()}return undefined}function q(){var E=document.getElementsByTagName("HEAD")[0],F,D,C;for(D=0;D<arguments.length;D+=1){C=arguments[D];if(typeof C==="string"&&v(C)){F=h(C);k.splice(D,0,o(E,F));A()}else{if(typeof C==="string"&&t(C)){k.splice(D,0,o(E,C));A()}else{if(typeof C==="function"){k.splice(D,0,C);A()}else{throw new Error("Bad argument, must be a module name or a function.")}}}}if(r&&k.length>0){m()}return undefined}function z(D){var C;if(!(C=e.exec(D))){throw new Error("Invalid module path.")}return C}function h(D){var C;C=g.exec(D);return w+C[1].split(/[.]/).join("/")+((C[2]!==undefined&&C[2]!=="")?"-"+C[2]:"")+".js"}function c(){return y.slice(0)}function B(){var C,D,E;if(b){E=h(b)}else{C=document.getElementsByTagName("SCRIPT");for(D=C.length-1;D>=0;D-=1){if((E=C[D].src)){break}}}if(!E){throw new Error("Can't locate current script src.")}return z(E)}function i(){var C=B(),D=C[1];if(w&&D.substr(0,w.length)===w){D=w}return D}function u(){var D=B(),E=D[1],C=D[2];if(w&&E.substr(0,w.length)===w){C=E.substr(w.length,E.length)+C}C=C.replace(/[\/]/g,".");return C}function f(E){var D=E||b,F,C;for(F=0;F<y.length;F+=1){if(D===y[F]){C=true;break}}return C}function l(K,D){var E=D||b,I,H,G,F,J,L,C;if(!v(E)){throw new Error("Invalid module name: "+E+".")}y.push(E);if(K&&K!==true){G=E.split(/[.]/g);F=j;J=j[G[0]];I=0;while(I<G.length-1&&typeof J==="object"||typeof J==="function"){F=J;J=F[G[I]];I+=1}for(H=G.length-1;H>I;H-=1){L=F[G[H-1]];if(typeof L!=="object"&&typeof L!=="function"){L={}}L[G[H]]=K;K=L}for(C in F[G[I]]){if(F[G[I]].hasOwnProperty(C)&&!K.hasOwnProperty(C)){K[C]=F[G[I]][C]}}F[G[I]]=K}return E}function a(D,E){var C;if(D){if(v(D)){b=D}else{throw new Error("Invalid module name: "+D+".")}}if(b&&E&&!f(b)){C=E();if(C){l(C,b)}}if(D===null||D&&E){b=undefined}return{names:c()}}p=u();w=i()+p+"/";y.push("module");a.path=function(){return w};a.reload=s;a.preload=q;a.register=l;a.loaded=f;a.complete=function(){return r};j.module=a;window[p]=j;window.$$INTEL=j}());
