"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}window.addEventListener("load",(function(o){window.andromedaAutoloadDependencies=[],window.breakpoints={sm:576,md:768,lg:992},window.autoload=[{script:"base",className:"PcPublicBase",onload:function(){window.PcPublicBase.init()},loadWhen:function(){return!1}},{script:"sponsorships",className:"PcSponsorships",onload:function(){window.PcSponsorships.init()},loadWhen:function(){return void 0!==document.querySelector(".js-sponshorships-lazy-loaded")&&document.querySelector(".js-sponshorships-lazy-loaded")||void 0!==document.querySelector(".pc-single-view")&&document.querySelector(".pc-single-view")}},{script:"trips",className:"PcTrips",onload:function(){window.PcTrips.init()},loadWhen:function(){return void 0!==document.querySelector(".pc-trips-trigger")&&document.querySelector(".pc-trips-trigger")}},{script:"fundraisers",className:"PcFundraisers",onload:function(){window.PcFundraisers.init()},loadWhen:function(){return void 0!==document.querySelector("#pc-fr-page-container-flag")&&document.querySelector("#pc-fr-page-container-flag")}}],window.scriptsDir=pcPublicConfig.scripts.dir,autoload.forEach((function(o){"function"==typeof o.loadWhen&&o.loadWhen()&&(void 0!==o.worksWith&&null!==o.worksWith&&o.worksWith.length>0?(window.andromedaAutoloadDependencies.push({element:o,loaded:0}),o.worksWith.forEach((function(o){window.loadDependencyScript(o.script,window.andromedaAutoloadDependencies.length-1)}))):window.loadScript(o))}))})),window.loadScript=function(o){var n=document.createElement("script");n.src="".concat(pcPublicConfig.scripts.dir).concat(o.script,".js?ver=").concat(pcPublicConfig.scripts.version),n.async="async",n.onload=function(){"object"===_typeof(window[o.className])&&void 0!==o.onload&&o.onload()},document.body.appendChild(n)},window.loadDependencyScript=function(o,n){var e=document.createElement("script");e.src="".concat(pcPublicConfig.scripts.dependenciesDir).concat(o,".js?ver=").concat(pcPublicConfig.scripts.version),e.async="async",e.onload=function(){window.andromedaAutoloadDependencies[n].loaded+=1,window.andromedaAutoloadDependencies[n].loaded>=window.andromedaAutoloadDependencies[n].element.worksWith.length&&window.loadScript(window.andromedaAutoloadDependencies[n].element)},document.body.appendChild(e)};
//# sourceMappingURL=core.js.map