var $js=(function(s,f,z,b){var p=[],m={},d=function(){},l=Object.prototype.toString,v=!0,g="object",o="array",h="string",q="function",a="readyState",u="onreadystatechange",j="onload",t="onerror",i=("async" in z),c=["scriptLoadRetryMax","scriptLoadRetryTimeout","useAsync","useDefer","ignoreExtension","bundlerPath","bundleScripts","compressBundledScripts"],y={scriptLoadRetryMax:10,scriptLoadRetryTimeout:15,useAsync:v,useDefer:v,ignoreExtension:!v,bundlerPath:"/bundle",bundleScripts:!v,compressBundledScripts:v},r=function(C,A,B){this.scripts=C;this.i=0;this.c=this.scripts.length;this.f=0;this.async=(B!==b)?B:y.useAsync;this.retries=A||0};r.prototype={loadGroup:function(A){var B=s.createDocumentFragment(),C=this;for(;this.i<this.c;this.i++){B.appendChild(k(this.scripts[this.i],this.async,function D(){C.f++;if(C.c===C.f){A.apply(C)}}))}f.insertBefore(B,f.firstChild)}};function e(C,A){var B=l.apply(C).slice(8,-1);return A+""===B.toLowerCase()}function x(F){var C=typeof(F)===h?[F]:F,A=C.length,H=0,J=[],G,E=/.js$/,D=J,I=/\/shared\/scripts\//g;for(;A>H;H++){G=(!y.ignoreExtension)?E.test(C[H])?C[H]:C[H]+".js":C[H];if(!(G in m)){J.push(G);m[G]=v}}if(y.bundleScripts&&J.length){var B="?js="+J.join("&js=");if(!y.compressBundledScripts){B+="&compress=false"}D=[y.bundlerPath+B.replace(I,"")]}return D}function n(A){return(!A[a]||A[a]==="loaded"||A[a]==="complete")}function k(A,C,D){var B=z.cloneNode(false);B[t]=B[u]=B[j]=function(){if(n(B)){D();B[t]=B[u]=B[j]=null;B.parentNode.removeChild(B)}};if(i){B.async=C}if(("defer" in B)&&y.useDefer){B.defer=v}B.src=A;return B}function w(E,C,B,A,F){var D=this;if(B<=y.scriptLoadRetryMax){setTimeout(function(){D.load(A,F,C,B)},y.scriptLoadRetryTimeout)}else{throw E}}return{setConfig:function(C){if(e(C,g)){var B=c.length,A;while(B--){A=c[B];if((A in C)&&C[A]!==null){y[A]=C[A]}}}return this},load:function(C,J,B,D){C=x(C);var F=C.length,I,E=this,A;p.unshift(e(J,q)?J:d);if(F){I=new r(C,D,B);I.loadGroup(function H(){I=this;A=p.shift();try{A()}catch(K){w.call(E,K,B,I.retries++,I.scripts,A)}})}else{A=p.shift();if(e(A,q)){try{A()}catch(G){w.call(E,G,B,D+1,[],A)}}}return this},ordered:function(B,G){if(e(B,o)){if(i){this.load.apply(this,[B,G,false])}else{var A=B.length,C,D=0,F=this;(function E(){if(D<A){F.load(B[D++],arguments.callee)}else{if(e(G,q)){G()}}})()}}return this}}})(document,document.getElementsByTagName("head")[0]||document.documentElement,document.createElement("script"));

