(function(jQuery){var $=jQuery;
if(!jQuery){return;
}var bootstrapAmznJQ=window.amznJQ;
if(!window.goN2Debug){window.goN2Debug=new function(){this.info=function(){};
return this;
};
}window.amznJQ=new function(){;
this.jQuery=jQuery;
jQuery.noConflict(true);
if(window.jQuery){;
}else{window.jQuery=jQuery;
}var _logicalToPhysical={JQuery:{functionality:"JQuery",urls:null},popover:{functionality:"popover",urls:null}};
var _func_loaded={};
var _url_loaded={};
var _loading={};
function _loadFunctionality(functionality){var urls=_logicalToPhysical[functionality].urls;
if(urls){;
$.each(urls,function(){if(!_url_loaded[this]){_loadURL(this,functionality);
}});
}else{;
}}function _loadURL(url,functionality){;
$.ajax({type:"GET",url:url,success:_onUrlLoadedFcn(url,functionality),dataType:"script",cache:true});
}function _onUrlLoadedFcn(url,functionality){return function(){;
_url_loaded[url]=true;
var all_loaded=true;
$.each(_logicalToPhysical[functionality].urls,function(){all_loaded=all_loaded&&!!_url_loaded[this];
});
if(all_loaded){}};
}this.addLogical=function(functionality,urls){;
_logicalToPhysical[functionality]={functionality:functionality,urls:urls};
if(!urls){this.declareAvailable(functionality);
return;
}if(_loading[functionality]){_loadFunctionality(functionality);
}};
this.declareAvailable=function(functionality){;
if(typeof _logicalToPhysical[functionality]=="undefined"){_logicalToPhysical[functionality]={functionality:functionality,urls:null};
}_func_loaded[functionality]=true;
$(document).trigger(functionality+".loaded");
};
this.addStyle=function(css_url){var dcss=document.styleSheets[0];
if(dcss&&dcss.addImport){while(dcss.imports.length>=31){dcss=dcss.imports[0];
}dcss.addImport(css_url);
}else{$("style[type='text/css']:first").append('@import url("'+css_url+'");');
}};
this.addStyles=function(args){var urls=args.urls||[];
var styles=args.styles||[];
var dcss=document.styleSheets;
if(dcss&&!dcss.length&&document.createStyleSheet){document.createStyleSheet();
}dcss=dcss[0];
if(dcss&&dcss.addImport){$.each(urls,function(){while(dcss.imports.length>=31){dcss=dcss.imports[0];
}dcss.addImport(this);
});
}else{$.each(urls,function(){var attrs={type:"text/css",rel:"stylesheet",href:this};
$("head").append($("<link/>").attr(attrs));
});
}var css="";
$.each(styles,function(){css+=this;
});
if(css){if(document.createStyleSheet){try{var sheet=document.createStyleSheet();
sheet.cssText=css;
}catch(e){}}else{$("head").append($("<style/>").attr({type:"text/css"}).append(css));
}}};
this.available=function(functionality,eventCallbackFunction){if(_func_loaded[functionality]){;
$(document).one(functionality+".loaded",eventCallbackFunction);
$(document).trigger(functionality+".loaded");
}else{if(_loading[functionality]){;
$(document).one(functionality+".loaded",eventCallbackFunction);
}else{if(_logicalToPhysical[functionality]){;
_loading[functionality]=true;
$(document).one(functionality+".loaded",eventCallbackFunction);
_loadFunctionality(functionality);
}else{;
_loading[functionality]=true;
$(document).one(functionality+".loaded",eventCallbackFunction);
}}}};
this.onReady=function(functionality,eventCallbackFunction){var ajq=this;
$(function(){ajq.available(functionality,eventCallbackFunction);
});
};
var _stage_completed={};
var _fail_safe_stages=["amznJQ.theFold","amznJQ.criticalFeature"];
this.onCompletion=function(stage,callbackFn){if(_stage_completed[stage]){;
$(document).one(stage,callbackFn);
$(document).trigger(stage);
}else{;
$(document).one(stage,callbackFn);
}};
this.completedStage=function(stage){if(!_stage_completed[stage]){;
_stage_completed[stage]=true;
$(document).trigger(stage);
}};
this.windowOnLoad=function(){;
$.each(_fail_safe_stages,function(){if(!_stage_completed[this]){;
_stage_completed[this]=true;
$(document).trigger(this);
}});
};
var plUrls=[],plIsRunning=true;
this.addPL=function(urlList){if(typeof(urlList)==="string"){urlList=[urlList];
}else{if(typeof(urlList)!=="object"||urlList===null){return;
}}for(var i=0;
i<urlList.length;
i++){if(urlList[i]&&typeof(urlList[i])!=="string"){this.addPL(urlList[i]);
}else{if(urlList[i]){plUrls.push(urlList[i]);
}}}if(!plIsRunning&&plUrls.length>0){plIsRunning=true;
preload();
}};
var preload=(function(){var ST=setTimeout,CT=clearTimeout,doc=document,docElem=doc.documentElement,isIE=
/*@cc_on!@*/
0,styleObj=docElem.style,isWebkit=("webkitAppearance" in styleObj),isGecko=("MozAppearance" in styleObj),isSafari=(isWebkit&&navigator.vendor.indexOf("Apple")===0);
$(window).load(function(){ST(preload,1000);
});
if(isIE||isWebkit){return function(){function nextWrapper(){ST(next,0);
}function next(){if(plUrls.length===0){plIsRunning=false;
return;
}var url=plUrls.shift(),loadElem;
if(isSafari){loadElem=doc.createElement("script");
loadElem.type="f";
}else{loadElem=new Image();
}if(plUrls.length>0){loadElem.onload=loadElem.onerror=isIE?nextWrapper:next;
}loadElem.src=url;
if(!isIE){loadElem.width=loadElem.height=0;
docElem.appendChild(loadElem);
}}next();
next();
};
}else{if(isGecko){return function(){var fetchTimeout,o=doc.createElement("object");
o.width=o.height=0;
docElem.appendChild(o);
function fetch(){if(fetchTimeout){CT(fetchTimeout);
}if(plUrls.length===0){cleanup();
return;
}o.data=plUrls.shift();
var handler=plUrls.length>0?fetch:cleanup;
o.onload=handler;
fetchTimeout=ST(handler,2000);
}function cleanup(){if(fetchTimeout){CT(fetchTimeout);
}ST(function(){if(o){docElem.removeChild(o);
o=null;
}},0);
plIsRunning=false;
}fetch();
};
}}})();
this.strings={};
this.chars={};
if(bootstrapAmznJQ){$.extend(this.strings,bootstrapAmznJQ.strings);
$.extend(this.chars,bootstrapAmznJQ.chars);
}}();
$(window).load(function(){amznJQ.windowOnLoad();
});
if(window.ue&&bootstrapAmznJQ&&window.ues&&window.uex){ues("wb","jQueryActive",1);
uex("ld","jQueryActive");
}amznJQ.declareAvailable("JQuery");
amznJQ.declareAvailable("jQuery");
if(bootstrapAmznJQ){;
$.each(bootstrapAmznJQ._l,function(){amznJQ.addLogical(this[0],this[1]);
});
$.each(bootstrapAmznJQ._s,function(){amznJQ.addStyle(this[0]);
});
$.each(bootstrapAmznJQ._d,function(){amznJQ.declareAvailable(this[0],this[1]);
});
$.each(bootstrapAmznJQ._a,function(){amznJQ.available(this[0],this[1]);
});
$.each(bootstrapAmznJQ._o,function(){amznJQ.onReady(this[0],this[1]);
});
$.each(bootstrapAmznJQ._c,function(){amznJQ.onCompletion(this[0],this[1]);
});
$.each(bootstrapAmznJQ._cs,function(){amznJQ.completedStage(this[0],this[1]);
});
amznJQ.addPL(bootstrapAmznJQ._pl);
}}(jQuery));

