(function(){const isProduction=window.ADAPT_BUILD_TYPE!=="development";function loadScript(url,callback){if(!url||typeof url!=="string")return;const script=document.createElement("script");script.onload=callback;script.src=url;document.getElementsByTagName("head")[0].appendChild(script)}window.__loadScript=loadScript;function setupRequireJS(){requirejs.config({map:{"*":{coreJS:"core/js",coreViews:"core/js/views",coreModels:"core/js/models",coreCollections:"core/js/collections"}},paths:{"regenerator-runtime":"libraries/regenerator-runtime.min","core-js":"libraries/core-js.min",jquery:"libraries/jquery.min",underscore:"libraries/underscore.min","underscore.results":"libraries/underscore.results",backbone:"libraries/backbone.min","backbone.controller":"libraries/backbone.controller","backbone.controller.results":"libraries/backbone.controller.results","backbone.es6":"libraries/backbone.es6",handlebars:"libraries/handlebars.min",velocity:"libraries/velocity.min",imageReady:"libraries/imageReady",inview:"libraries/inview",scrollTo:"libraries/scrollTo.min",bowser:"libraries/bowser",enum:"libraries/enum",jqueryMobile:"libraries/jquery.mobile.custom.min",react:isProduction?"libraries/react.production.min":"libraries/react.development","react-dom":isProduction?"libraries/react-dom.production.min":"libraries/react-dom.development","html-react-parser":"libraries/html-react-parser.min",semver:"libraries/semver"},waitSeconds:0});loadJQuery()}function loadJQuery(){loadScript("libraries/jquery.min.js",checkJQueryStatus)}function checkJQueryStatus(){if(window.jQuery===undefined){setTimeout(checkJQueryStatus,100)}else{setupModernizr()}}function setupModernizr(){Modernizr.touch=Modernizr.touchevents;const touchClass=Modernizr.touch?"touch":"no-touch";$("html").addClass(touchClass);loadFoundationLibraries()}function loadFoundationLibraries(){require(["handlebars","underscore","regenerator-runtime","core-js","underscore.results","backbone","backbone.controller","backbone.controller.results","backbone.es6","velocity","imageReady","inview","jqueryMobile","libraries/jquery.resize","scrollTo","bowser","enum","react","react-dom","html-react-parser","semver"],loadGlobals)}function loadGlobals(Handlebars,_){window._=_;window.Handlebars=Handlebars;require(["events/touch"],loadTemplates)}function loadTemplates(){require(["templates"],loadAdapt)}function loadAdapt(){$.ajaxPrefilter((function(options){options.crossDomain=true}));loadScript("adapt/js/adapt.min.js")}loadScript("libraries/require.min.js",setupRequireJS)})();