%PDF-1.7 GIF89;
Server IP : 5.161.254.237 / Your IP : 216.73.216.200 Web Server : Apache System : Linux diamond.sialwebvps.com 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : stellasp ( 1131) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/stellasp/public_html/frontend/js/ |
Upload File : |
!function e(t,n,o){function r(s,a){if(!n[s]){if(!t[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(i)return i(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){var n=t[s][1][e];return r(n||e)},c,c.exports,e,t,n,o)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<o.length;s++)r(o[s]);return r}({1:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.Event=n.ClassName=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u=e("./utils/environment"),l=o(e("./globals")),c=(o(e("./utils/errors")),e("./utils/array")),f=e("./utils/html"),d=(e("./utils/is"),function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(e("./modules"))),p=u.APP_NAME+".App",h={MODULE:"[data-module]",BARBA_WRAPPER:"#js-barba-wrapper"},m=(n.ClassName={DOM_FIRST_LOADING:"dom-is-first-loading",DOM_LOADING:"dom-is-loading",DOM_LOADED:"dom-is-loaded",DOM_RELOADED:"dom-is-reloaded",DOM_ANIMATING:"dom-is-animating",DOM_ANIMATED:"dom-is-animated"},n.Event={INIT_MODULES:"initModules."+p,INIT_SCOPED_MODULES:"initScopedModules."+p,RELOAD_SCOPED_MODULES:"reloadScopedModules."+p,DELETE_SCOPED_MODULES:"deleteScopedModules."+p}),y=function(){function e(){var t=this;s(this,e),this.modules=d,this.currentModules=[],u.$document.on(m.INIT_MODULES,function(e){t.initGlobals(e.firstBlood).reloadModules(e)}),u.$document.on(m.INIT_SCOPED_MODULES,function(e){t.initModules(e)}),u.$document.on(m.DELETE_SCOPED_MODULES,function(e){t.deleteModules(e)}),u.$document.on(m.RELOAD_SCOPED_MODULES,function(e){t.reloadModules(e)})}return e.prototype.initGlobals=function(e){return(0,l.default)(e),this},e.prototype.reloadModules=function(e){this.deleteModules(e).initModules(e)},e.prototype.deleteModules=function(e){var t=!0,n=[];if(e.$scope instanceof jQuery&&e.$scope.length>0){var o=e.$scope.find(h.MODULE);if(!((n=$.makeArray(o.map(function(e){return o.eq(e).data("uid")}))).length>0))return this;t=!1}for(var r=this.currentModules.length;r--;)(t||(0,c.arrayContains)(n,this.currentModules[r].uid))&&((0,c.removeFromArray)(n,this.currentModules[r].uid),this.currentModules[r].destroy(),this.currentModules.splice(r));return this},e.prototype.initModules=function(e){var t=[];e.firstBlood?t=u.$document.find(h.MODULE):e.$scope instanceof jQuery&&e.$scope.length>0?t=e.$scope.find(h.MODULE):e.isBarba&&(t=$(h.BARBA_WRAPPER).find(h.MODULE));for(var n=0,o=t.length;n<o;n++){var r=t[n],i=$.extend(new v,(0,f.getNodeData)(r));i.el=r,i.$el=t.eq(n);for(var s=i.module.split(/[,\s]+/g),a=0;a<s.length;a++){var l=s[a];if("function"==typeof this.modules[l]){var c=new this.modules[l](i);this.currentModules.push(c),c.init()}}}return this},e}(),v=function(e){function t(){return s(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(Object);!function(){var e=Function.bind.call(Function.call,Array.prototype.reduce),t=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),n=Function.bind.call(Function.call,Array.prototype.concat),o="object"===("undefined"==typeof Reflect?"undefined":a(Reflect))&&"function"==typeof Reflect.ownKeys?Reflect.ownKeys:"function"==typeof Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;Object.values||(Object.values=function(r){return e(o(r),function(e,o){return n(e,"string"==typeof o&&t(r,o)?[r[o]]:[])},[])}),Object.entries||(Object.entries=function(r){return e(o(r),function(e,o){return n(e,"string"==typeof o&&t(r,o)?[[o,r[o]]]:[])},[])})}(),function(){try{window.app=new y}catch(e){console.warn("[U SPORTS]",e)}u.$document.triggerHandler({type:m.INIT_MODULES,firstBlood:!0})}()},{"./globals":8,"./modules":9,"./utils/array":56,"./utils/environment":57,"./utils/errors":58,"./utils/html":59,"./utils/is":60}],2:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(e("./util")),s=function(e){var t=e.fn.tab,n={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},s={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",FADE:"fade",IN:"in"},a={A:"a",LI:"li",DROPDOWN:".dropdown",LIST:"ul:not(.dropdown-menu), ol:not(.dropdown-menu)",FADE_CHILD:"> .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},u=function(){function t(e){o(this,t),this._element=e}return t.prototype.show=function(){var t=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!e(this._element).hasClass(s.ACTIVE)){var o=void 0,r=void 0,u=e(this._element).closest(a.LIST)[0],l=i.default.getSelectorFromElement(this._element);u&&(r=e.makeArray(e(u).find(a.ACTIVE)),r=r[r.length-1]);var c=e.Event(n.HIDE,{relatedTarget:this._element}),f=e.Event(n.SHOW,{relatedTarget:r});if(r&&e(r).trigger(c),e(this._element).trigger(f),!f.isDefaultPrevented()&&!c.isDefaultPrevented()){l&&(o=e(l)[0]),this._activate(this._element,u);var d=function(){var o=e.Event(n.HIDDEN,{relatedTarget:t._element}),i=e.Event(n.SHOWN,{relatedTarget:r});e(r).trigger(o),e(t._element).trigger(i)};o?this._activate(o,o.parentNode,d):d()}}},t.prototype.dispose=function(){e.removeClass(this._element,"bs.tab"),this._element=null},t.prototype._activate=function(t,n,o){var r=this,u=e(n).find(a.ACTIVE_CHILD)[0],l=o&&i.default.supportsTransitionEnd()&&(u&&e(u).hasClass(s.FADE)||Boolean(e(n).find(a.FADE_CHILD)[0])),c=function(){return r._transitionComplete(t,u,l,o)};u&&l?e(u).one(i.default.TRANSITION_END,c).emulateTransitionEnd(150):c(),u&&e(u).removeClass(s.IN)},t.prototype._transitionComplete=function(t,n,o,r){if(n){e(n).removeClass(s.ACTIVE);var u=e(n).find(a.DROPDOWN_ACTIVE_CHILD)[0];u&&e(u).removeClass(s.ACTIVE),n.setAttribute("aria-expanded",!1)}if(e(t).addClass(s.ACTIVE),t.setAttribute("aria-expanded",!0),o?(i.default.reflow(t),e(t).addClass(s.IN)):e(t).removeClass(s.FADE),t.parentNode&&e(t.parentNode).hasClass(s.DROPDOWN_MENU)){var l=e(t).closest(a.DROPDOWN)[0];l&&e(l).find(a.DROPDOWN_TOGGLE).addClass(s.ACTIVE),t.setAttribute("aria-expanded",!0)}r&&r()},t._jQueryInterface=function(n){return this.each(function(){var o=e(this),r=o.data("bs.tab");if(r||(r=r=new t(this),o.data("bs.tab",r)),"string"==typeof n){if(void 0===r[n])throw new Error('No method named "'+n+'"');r[n]()}})},r(t,null,[{key:"VERSION",get:function(){return"4.0.0-alpha.5"}}]),t}();return e(document).on(n.CLICK_DATA_API,a.DATA_TOGGLE,function(t){t.preventDefault(),u._jQueryInterface.call(e(this),"show")}),e.fn.tab=u._jQueryInterface,e.fn.tab.Constructor=u,e.fn.tab.noConflict=function(){return e.fn.tab=t,u._jQueryInterface},u}(jQuery);n.default=s},{"./util":3}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(e){function t(e){return{}.toString.call(e).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function n(e){return(e[0]||e).nodeType}function o(){return{bindType:s.end,delegateType:s.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function r(){if(window.QUnit)return!1;var e=document.createElement("bootstrap");for(var t in a)if(void 0!==e.style[t])return{end:a[t]};return!1}function i(t){var n=this,o=!1;return e(this).one(u.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||u.triggerTransitionEnd(n)},t),this}var s=!1,a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},u={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");return t||(t=e.getAttribute("href")||"",t=/^#[a-z]/i.test(t)?t:null),t},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(t){e(t).trigger(s.end)},supportsTransitionEnd:function(){return Boolean(s)},typeCheckConfig:function(e,o,r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],a=o[i],u=void 0;if(u=a&&n(a)?"element":t(a),!new RegExp(s).test(u))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+u+'" but expected type "'+s+'".')}}};return s=r(),e.fn.emulateTransitionEnd=i,u.supportsTransitionEnd()&&(e.event.special[u.TRANSITION_END]=o()),u}(jQuery);n.default=o},{}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.transitions=void 0;var o=e("../utils/environment"),r=e("../App"),i={mainTransition:{start:function(){var e=this;o.$html.addClass(r.ClassName.DOM_LOADING),o.$document.trigger({type:"menuClose.App"}),setTimeout(function(){Promise.all([e.newContainerLoading,e.hide()]).then(e.show.bind(e))},1600)},hide:function(){return $(this.oldContainer).hide().promise()},show:function(){var e=this,t=$(this.newContainer);e.done(),$("html,body").animate({scrollTop:0},0);var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),o.$body.removeClass("header-is-sticky"),setTimeout(function(){o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass(r.ClassName.DOM_LOADING)},300)}},listTransition:{start:function(){o.$html.addClass("list-is-loading"),Promise.all([this.newContainerLoading,this.hide()]).then(this.show.bind(this))},hide:function(){return $(".js-list-item.is-shoot").length>0?self.offset=$(".js-list-item.is-shoot").position().top+$(".js-sidebar").scrollTop():self.offset=$(".js-list-item.is-active").next().position().top+$(".js-sidebar").scrollTop(),TweenLite.to(window,.6,{scrollTo:$(".js-header").outerHeight()}),TweenLite.to($(".js-sidebar"),.6,{scrollTo:self.offset}),$(this.oldContainer).promise()},show:function(){var e=this,t=$(this.newContainer);TweenLite.to($(".js-sidebar"),.6,{scrollTo:self.offset}),setTimeout(function(){e.done();var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),$(window).scrollTop($(".js-header").outerHeight()),setTimeout(function(){o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass("list-is-loading")},300)},600)}},subPageTransition:{start:function(){o.$html.addClass("subpage-is-loading"),Promise.all([this.newContainerLoading,this.hide()]).then(this.show.bind(this))},hide:function(){return TweenLite.to(window,.6,{scrollTo:$(".js-header").height()-10}),$(this.oldContainer).promise()},show:function(){var e=this,t=$(this.newContainer);setTimeout(function(){e.done();var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),$(window).scrollTop($(".js-header").height()-10),o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass("subpage-is-loading")},600)}}};n.transitions=i},{"../App":1,"../utils/environment":57}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.backToTop=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:600;$("html,body").animate({scrollTop:0},e)},n.scrollTo=function(e,t){var n=$.Deferred();if(e instanceof jQuery&&e.length>0&&(t=$.extend({},r,void 0!==t?t:{}),!1===o)){o=!0;var i=$("html,body"),s=0;void 0!==t.$container&&t.$container instanceof jQuery&&t.$container.length>0?(i=t.$container,s=e.position().top+i.scrollTop()):s=e.offset().top,i.animate({scrollTop:s-t.headerOffset},t.speed,t.easing,function(){o=!1,n.resolve()})}return n.promise()};var o=!1,r={easing:"swing",headerOffset:60,speed:300}},{}],6:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var r={},i=function(){function e(){o(this,e)}return e.prototype.get=function(e,t){var n=r[e];return void 0===n?t:n},e.prototype.set=function(e,t){return void 0===t?this.remove(e):(r[e]=data,t)},e.prototype.remove=function(e){delete r[e]},e.prototype.each=function(e){for(var t in r)r.hasOwnProperty(t)&&e(r[t],t)},e.prototype.clearAll=function(){r={}},e}();n.store=new i},{}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.transitions=void 0;var o=e("../utils/environment"),r=e("../App"),i={mainTransition:{start:function(){var e=this;o.$html.addClass(r.ClassName.DOM_LOADING),o.$document.trigger({type:"menuClose.App"}),setTimeout(function(){Promise.all([e.newContainerLoading,e.hide()]).then(e.show.bind(e))},1600)},hide:function(){return $(this.oldContainer).hide().promise()},show:function(){var e=this,t=$(this.newContainer);e.done(),$("html,body").animate({scrollTop:0},0);var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),o.$body.removeClass("header-is-sticky"),setTimeout(function(){o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass(r.ClassName.DOM_LOADING)},300)}},listTransition:{start:function(){o.$html.addClass("list-is-loading"),Promise.all([this.newContainerLoading,this.hide()]).then(this.show.bind(this))},hide:function(){return $(".js-list-item.is-shoot").length>0?self.offset=$(".js-list-item.is-shoot").position().top+$(".js-sidebar").scrollTop():self.offset=$(".js-list-item.is-active").next().position().top+$(".js-sidebar").scrollTop(),TweenLite.to(window,.6,{scrollTo:$(".js-header").outerHeight()}),TweenLite.to($(".js-sidebar"),.6,{scrollTo:self.offset}),$(this.oldContainer).promise()},show:function(){var e=this,t=$(this.newContainer);TweenLite.to($(".js-sidebar"),.6,{scrollTo:self.offset}),setTimeout(function(){e.done();var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),$(window).scrollTop($(".js-header").outerHeight()),setTimeout(function(){o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass("list-is-loading")},300)},600)}},subPageTransition:{start:function(){o.$html.addClass("subpage-is-loading"),Promise.all([this.newContainerLoading,this.hide()]).then(this.show.bind(this))},hide:function(){return TweenLite.to(window,.6,{scrollTo:$(".js-header").height()-10}),$(this.oldContainer).promise()},show:function(){var e=this,t=$(this.newContainer);setTimeout(function(){e.done();var n=t.data("view");o.$body.attr("data-template",n),o.$document.triggerHandler({type:r.Event.INIT_MODULES,isBarba:!0}),$(window).scrollTop($(".js-header").height()-10),o.$html.addClass(r.ClassName.DOM_RELOADED).removeClass("subpage-is-loading")},600)}}};n.transitions=i},{"../App":1,"../utils/environment":57}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){if(svg4everybody(),e){new o.Globals,new o.Nav,new o.TransitionsManager;if(document.getElementById(r.HQ_NAV))new o.HQNav}};var o=e("./modules"),r={HQ_NAV:"js-hq-nav"}},{"./modules":9}],9:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var r=e("./modules/Nav");Object.defineProperty(n,"Nav",{enumerable:!0,get:function(){return o(r).default}});var i=e("./modules/Accordion");Object.defineProperty(n,"Accordion",{enumerable:!0,get:function(){return o(i).default}});var s=e("./modules/FeaturedNews");Object.defineProperty(n,"FeaturedNews",{enumerable:!0,get:function(){return o(s).default}});var a=e("./modules/Globals");Object.defineProperty(n,"Globals",{enumerable:!0,get:function(){return o(a).default}});var u=e("./modules/Home");Object.defineProperty(n,"Home",{enumerable:!0,get:function(){return o(u).default}});var l=e("./modules/Slider");Object.defineProperty(n,"Slider",{enumerable:!0,get:function(){return o(l).default}});var c=e("./modules/Top10");Object.defineProperty(n,"Top10",{enumerable:!0,get:function(){return o(c).default}});var f=e("./modules/WeeklyPlayers");Object.defineProperty(n,"WeeklyPlayers",{enumerable:!0,get:function(){return o(f).default}});var d=e("./modules/FeaturedProfile");Object.defineProperty(n,"FeaturedProfile",{enumerable:!0,get:function(){return o(d).default}});var p=e("./modules/Countdown");Object.defineProperty(n,"Countdown",{enumerable:!0,get:function(){return o(p).default}});var h=e("./modules/TransitionsManager");Object.defineProperty(n,"TransitionsManager",{enumerable:!0,get:function(){return o(h).default}});var m=e("./modules/HeaderHub");Object.defineProperty(n,"HeaderHub",{enumerable:!0,get:function(){return o(m).default}});var y=e("./modules/AthleteSlider");Object.defineProperty(n,"AthleteSlider",{enumerable:!0,get:function(){return o(y).default}});var v=e("./modules/List");Object.defineProperty(n,"List",{enumerable:!0,get:function(){return o(v).default}});var b=e("./modules/HQNav");Object.defineProperty(n,"HQNav",{enumerable:!0,get:function(){return o(b).default}});var g=e("./modules/Tooltip");Object.defineProperty(n,"Tooltip",{enumerable:!0,get:function(){return o(g).default}});var w=e("./modules/Filters");Object.defineProperty(n,"Filters",{enumerable:!0,get:function(){return o(w).default}});var _=e("./modules/TabFilters");Object.defineProperty(n,"TabFilters",{enumerable:!0,get:function(){return o(_).default}});var E=e("./modules/Leader");Object.defineProperty(n,"Leader",{enumerable:!0,get:function(){return o(E).default}});var T=e("./modules/LatestNews");Object.defineProperty(n,"LatestNews",{enumerable:!0,get:function(){return o(T).default}});var O=e("./modules/Survey");Object.defineProperty(n,"Survey",{enumerable:!0,get:function(){return o(O).default}});var j=e("./modules/Share");Object.defineProperty(n,"Share",{enumerable:!0,get:function(){return o(j).default}});var S=e("./modules/NewsTransition");Object.defineProperty(n,"NewsTransition",{enumerable:!0,get:function(){return o(S).default}});var C=e("./modules/NewsHeader");Object.defineProperty(n,"NewsHeader",{enumerable:!0,get:function(){return o(C).default}});var A=e("./modules/Map");Object.defineProperty(n,"Map",{enumerable:!0,get:function(){return o(A).default}});var M=e("./modules/Title");Object.defineProperty(n,"Title",{enumerable:!0,get:function(){return o(M).default}});var $=e("./modules/Staff");Object.defineProperty(n,"Staff",{enumerable:!0,get:function(){return o($).default}});var P=e("./modules/Form");Object.defineProperty(n,"Form",{enumerable:!0,get:function(){return o(P).default}});var I=e("./modules/Popup");Object.defineProperty(n,"Popup",{enumerable:!0,get:function(){return o(I).default}});var N=e("./modules/Sponsors");Object.defineProperty(n,"Sponsors",{enumerable:!0,get:function(){return o(N).default}});var D=e("./modules/DropdownLink");Object.defineProperty(n,"DropdownLink",{enumerable:!0,get:function(){return o(D).default}});var L=e("./modules/Soho/Athlete");Object.defineProperty(n,"Athlete",{enumerable:!0,get:function(){return o(L).default}});var R=e("./modules/Soho/Schedule");Object.defineProperty(n,"Schedule",{enumerable:!0,get:function(){return o(R).default}});var x=e("./modules/Soho/Scores");Object.defineProperty(n,"Scores",{enumerable:!0,get:function(){return o(x).default}});var k=e("./modules/Soho/Standings");Object.defineProperty(n,"Standings",{enumerable:!0,get:function(){return o(k).default}});var H=e("./modules/Soho/Statistics");Object.defineProperty(n,"Statistics",{enumerable:!0,get:function(){return o(H).default}});var W=e("./modules/Soho/Teams");Object.defineProperty(n,"Teams",{enumerable:!0,get:function(){return o(W).default}});var F=e("./modules/Soho/Team");Object.defineProperty(n,"Team",{enumerable:!0,get:function(){return o(F).default}});var U=e("./modules/Soho/Event");Object.defineProperty(n,"Event",{enumerable:!0,get:function(){return o(U).default}});var B=e("./modules/Soho/Slider/EventsResults");Object.defineProperty(n,"EventsResults",{enumerable:!0,get:function(){return o(B).default}});var G=e("./modules/Soho/Slider/EventsUpcoming");Object.defineProperty(n,"EventsUpcoming",{enumerable:!0,get:function(){return o(G).default}})},{"./modules/Accordion":12,"./modules/AthleteSlider":13,"./modules/Countdown":14,"./modules/DropdownLink":15,"./modules/FeaturedNews":16,"./modules/FeaturedProfile":17,"./modules/Filters":18,"./modules/Form":19,"./modules/Globals":20,"./modules/HQNav":21,"./modules/HeaderHub":22,"./modules/Home":23,"./modules/LatestNews":24,"./modules/Leader":25,"./modules/List":26,"./modules/Map":27,"./modules/Nav":28,"./modules/NewsHeader":29,"./modules/NewsTransition":30,"./modules/Popup":31,"./modules/Share":32,"./modules/Slider":33,"./modules/Soho/Athlete":34,"./modules/Soho/Event":35,"./modules/Soho/Schedule":36,"./modules/Soho/Scores":37,"./modules/Soho/Slider/EventsResults":38,"./modules/Soho/Slider/EventsUpcoming":39,"./modules/Soho/Standings":40,"./modules/Soho/Statistics":41,"./modules/Soho/Team":42,"./modules/Soho/Teams":43,"./modules/Sponsors":44,"./modules/Staff":45,"./modules/Survey":46,"./modules/TabFilters":47,"./modules/Title":48,"./modules/Tooltip":49,"./modules/Top10":50,"./modules/TransitionsManager":51,"./modules/WeeklyPlayers":52}],10:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var r=0,i=function(){function e(t){o(this,e),this.$el=t.$el||null,this.el=t.el||null,this.uid="m-"+r++,this.$el.data("uid",this.uid)}return e.prototype.init=function(){},e.prototype.destroy=function(){this.$el&&this.$el.removeData("uid")},e}();n.default=i},{}],11:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=o(e("./AbstractModule")),u=e("../utils/errors"),l=e("../utils/environment"),c=e("../utils/array"),f=o(e("../utils/soho")),d=e("../App"),p=["//cdn-js.soho-sports.com/USPORTS/so_config_EN.js","//cdn-js.soho-sports.com/_prod/310/so_jsLib01.js","//cdn-js.soho-sports.com/_prod/310/so_jsLib02.js","//cdn-js.soho-sports.com/_prod/310/so_jsLib03.js","//cdn-js.soho-sports.com/USPORTS/so_additional.js"],h={LOADING:"-loading"},m=function(e){function t(n){r(this,t);var o=i(this,e.call(this,n));return l.isDebug&&(console.groupCollapsed("[SOHO]",o.name()),console.log("Options:",n)),void 0!==n&&(window.so_identifiant=o.so_identifiant=n["so-identifiant"]||null),window.so_dependencies=window.so_dependencies||null,void 0===window.so_ready&&(window.so_ready=-1),o._refresher=new f.default(o.name()),o._isLoading=!1,o._isReady=!1,l.isDebug&&console.groupEnd(),o}return s(t,e),t.prototype.loading=function(){this.$el.addClass(h.LOADING),this._isLoading=!0},t.prototype.loaded=function(){this._isLoading=!1,this.$el.removeClass(h.LOADING)},t.prototype.destroy=function(){this.clearWidgets()},t.prototype.getTemplateContent=function(e){if(l.supportsTemplate){var t=document.querySelector(e);return document.importNode(t.content,!0)}var n=$(e);return $(n.html())},t.prototype.name=function(){throw new u.NotImplementedError("[SOHO] The module name method must be implementated.")},t.prototype.initModules=function(){return l.$document.triggerHandler({type:d.Event.INIT_SCOPED_MODULES,$scope:this.$el}),this},t.prototype.reloadModules=function(){return l.$document.triggerHandler({type:d.Event.RELOAD_SCOPED_MODULES,$scope:this.$el}),this},t.prototype.getRefresher=function(){return this._refresher},t.prototype.getBuilder=function(){throw new u.NotImplementedError("[SOHO] The builder method must be implementated.")},t.prototype.getWidgetIds=function(){throw new u.NotImplementedError("[SOHO] The widget IDs method must be implementated.")},t.prototype.getWidgets=function(){return(0,c.pick)(this.getAllWidgets(),this.getWidgetIds())},t.prototype.isOwnWidget=function(e){if(this.isWidget(e))e=e.moduleId;else if("string"!=typeof e)return!1;return(0,c.arrayContains)(this.getWidgetIds(),e)},t.prototype.init=function(){var e=this;if(this._isReady=!1,this.loading(),window.so_ready<1)return this.loadDependencies(),this;this.onInit(),window.so_URIelements=window.so_getURLelements();var t=this.getRefresher();this.getWidgetIds().forEach(function(n){return t.set(n,function(t){return e.onRefresh(t)})});try{this.getBuilder().Deploy(function(){e._isReady=!0,e.onReady()})}catch(e){console.warn("[SOHO] ",e)}return this},t.prototype.onRefresh=function(e){this.isOwnWidget(e)},t.prototype.onReady=function(){this.reloadModules(),this.loaded(),this.getBuilder().Loaded=!0},t.prototype.onInit=function(){this.getBuilder().Loaded=!1},t.prototype.getAllWidgets=function(){return window.so_modules||[]},t.prototype.clearWidgets=function(){try{if(0===window.so_modulesNb)return!0;var e=this.getRefresher();return this.getWidgetIds().forEach(function(t){return e.remove(t)}),window.so_modules=[],window.so_modulesIndexedList=[],window.so_modulesNb=0,!0}catch(e){return console.warn("[U SPORTS]",e),!1}},t.prototype.getWidget=function(e){if(this.hasWidget(e))return window.so_modules[e];throw new u.ModuleNotFoundWarning("[SOHO] The '"+e+"' module was not found.")},t.prototype.hasWidget=function(e){return this.isWidget(window.so_modules[e])},t.prototype.isWidget=function(e){return e instanceof so_xslModule},t.prototype.clearWidget=function(e){try{var t=this.getWidget(e);document.querySelector(t.moduleTarget);return this.getRefresher().remove(e),delete window.so_modules[e],(0,c.removeFromArray)(window.so_modulesIndexedList,e),window.so_modulesNb--,!0}catch(e){return console.warn("[U SPORTS]",e),!1}},t.prototype.parseUri=function(){return window.so_parseURLelements()},t.prototype.loadDependencies=function(){var e=this;return window.so_ready>0?window.so_dependencies:(null===window.so_dependencies?(window.so_ready=0,window.so_dependencies=Promise.resolve(!0).then(function(){return $.getScript(p[0])}).then(function(){return $.getScript(p[1])}).then(function(){return $.getScript(p[2])}).then(function(){return $.getScript(p[3])}).then(function(){return $.getScript(p[4])}).then(function(){window.so_URIdataSeparator.DEV="/",window.so_parseURLelements=window.so_getURLelements,window.so_getURLelements=e.parseUri,window.so_URIelements=window.so_getURLelements(),window.so_ready=1},function(){console.error("[SOHO] Failed to load dependencies!")}).then(function(){e.init()})):window.so_dependencies.then(function(){e.init()}),window.so_dependencies)},t}(a.default);n.default=m},{"../App":1,"../utils/array":56,"../utils/environment":57,"../utils/errors":58,"../utils/soho":61,"./AbstractModule":10}],12:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".accordion"),u={CLICK:"click"+a},l={OPEN:"is-open"},c={TAB:".js-accordion-title",PANEL:".js-accordion-content",ITEM:".js-accordion-item",OPEN:"."+l.OPEN},f=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$el=n.$el,i.$el.on(u.CLICK,c.TAB,function(e){return i.toggle(e)}),i}return i(t,e),t.prototype.toggle=function(e){e.preventDefault();var t=$(e.currentTarget).closest(c.ITEM);t.hasClass(l.OPEN)?this.hide(t):(this.hide($(c.ITEM+c.OPEN,this.$el)),this.show(t))},t.prototype.show=function(e){var t=e.children(c.TAB),n=e.children(c.PANEL);e.addClass(l.OPEN).attr("aria-expanded","true"),t.attr("aria-selected","true"),n.clearQueue().stop().slideDown(function(){var e=(window.innerWidth<1e3?64:76)-2;$(".js-header-menu").length>0&&(e+=$(".js-header-menu").height()),setTimeout(function(){$("html").animate({scrollTop:t.closest(c.ITEM).offset().top-e},250)},251)}).attr("aria-hidden","false")},t.prototype.hide=function(e){var t=e.children(c.TAB),n=e.children(c.PANEL);e.removeClass(l.OPEN).attr("aria-expanded","false"),t.attr("aria-selected","false"),n.clearQueue().stop().slideUp().attr("aria-hidden","true")},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=f},{"../utils/environment":57,"./AbstractModule":10}],13:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=o(e("./AbstractModule")),u=e("../utils/environment"),l=e("../utils/html"),c=o(e("../ractive/ractive-events-tap")),f=(o(e("../ractive/ractive-decorators-selectric")),"."+(u.APP_NAME+".AthleteSlider")),d=function(e){function t(n){r(this,t);var o=i(this,e.call(this,n));return window.Ractive.decorators.selectric.type.weeklyAthletes={},o.controller=new Ractive({el:o.$el,template:(0,l.unescapeHtml)(o.$el.html()),data:{activeIndex:0,weeklyAthletes:window.templateData.weeklyAthletes},delimiters:["[[","]]"],tripleDelimiters:["[[[","]]]"],partials:{image:'<figure class="c-athlete-slider_picture_inner" style="background-image:url([[ thumbnail ]]);"></figure>'},events:{tap:c.default},oninit:function(){this.on({previous:function(e){this.get("activeIndex")===this.get("weeklyAthletes").length-1?this.set("activeIndex",0):this.add("activeIndex")},next:function(e){0===this.get("activeIndex")?this.set("activeIndex",this.get("weeklyAthletes").length-1):this.subtract("activeIndex")}})}}),o}return s(t,e),t.prototype.destroy=function(){this.controller.teardown(),this.$el.off(f)},t}(a.default);n.default=d},{"../ractive/ractive-decorators-selectric":53,"../ractive/ractive-events-tap":54,"../utils/environment":57,"../utils/html":59,"./AbstractModule":10}],14:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".Countdown"),u=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.sourceDate=i.$el.data("source-date"),i.targetDate=i.$el.data("target-date"),i.targetDate=i.targetDate.replace(" ","T"),i.$days=i.$el.find(".js-countdown-days"),i.$hours=i.$el.find(".js-countdown-hours"),i.$minutes=i.$el.find(".js-countdown-minutes"),i.$seconds=i.$el.find(".js-countdown-seconds"),i.$timeline=i.$el.find(".js-countdown-timeline"),i.interval=setInterval(function(){var e=i.getTimeRemaining(i.targetDate,i.sourceDate);i.$days.text(e.days),i.$hours.text(e.hours),i.$minutes.text(e.minutes),i.$seconds.text(e.seconds),i.$timeline.length>0&&TweenMax.to(i.$timeline,.1,{scaleX:e.percent})},1e3),i}return i(t,e),t.prototype.getTimeRemaining=function(e,t){var n=0,o=0;void 0===t?t=0:o=100-100*(o=(n=Date.parse(e)-Date.parse(t))-Date.parse(new Date)+Date.parse(t))/n;var r=Date.parse(new Date(e))-Date.parse(new Date),i=Math.abs(Math.floor(r/1e3%60)),s=Math.abs(Math.floor(r/1e3/60%60)),a=Math.abs(Math.floor(r/36e5%24)),u=Math.abs(Math.floor(r/864e5));return{total:this.parseNumber(r),days:this.parseNumber(u),hours:this.parseNumber(a),minutes:this.parseNumber(s),seconds:this.parseNumber(i),percent:Math.floor(o)/100}},t.prototype.parseNumber=function(e){return e>9?""+e:"0"+e},t.prototype.destroy=function(){clearInterval(this.interval),this.$el.off(a)},t}(s.default);n.default=u},{"../utils/environment":57,"./AbstractModule":10}],15:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".DropdownLink"),u={CHANGE:"change"+a},l=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$el.on(u.CHANGE,".js-dropdown",function(e){console.log(e);var t=$(e.currentTarget);console.log(t),window.location=t.val()}),i}return i(t,e),t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],16:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".news.slider"),u={ITEM:".js-featurednews-item",IMAGES:".js-featurednews-images",CONTENTS:".js-featurednews-contents",TIMELINE:".js-timeline",BACKGROUND:".js-background",SLICK_ITEM:".slick-slide",SLICK_ACTIVE:".slick-active"},l=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$slickImages=$(u.IMAGES,i.$el),i.$slickContent=$(u.CONTENTS,i.$el),i.$timeline=$(u.TIMELINE,i.$el),i.$background=$(u.BACKGROUND),i.idx=0,i.timing=1e4,i.paused=!1,i}return i(t,e),t.prototype.init=function(){var e=this,t=function(t,n,o){return e.setIndex(o)};this.$slickImages.slick({asNavFor:u.CONTENTS,arrows:!1,autoplaySpeed:this.timing,autoplay:!0}).on("afterChange",t),this.$slickContent.slick({asNavFor:u.IMAGES,arrows:!1,autoplaySpeed:this.timing,autoplay:!0}).on("afterChange",t),this.tl=new TimelineMax,this.tl.to(this.$timeline,this.timing/1e3,{scaleX:1,ease:Power0.easeNone}),this.setIndex(this.idx)},t.prototype.pause=function(){this.play(!1)},t.prototype.resume=function(){this.play(!0)},t.prototype.play=function(e){this.paused="boolean"==typeof e?e:!this.paused,!0===e?(this.tl.play(),this.$slickContent.slick("slickPlay"),this.$slickImages.slick("slickPlay")):(this.tl.pause(),this.$slickContent.slick("slickPause"),this.$slickImages.slick("slickPause"))},t.prototype.setIndex=function(e){this.idx=e,this.tl.progress(0);var t=$(u.ITEM+u.SLICK_ACTIVE,this.$el).attr("data-sport");this.$timeline.attr("data-sport",t),this.$background.attr("data-sport",t)},t.prototype.destroy=function(){this.$el.off(a),this.$slickImages.off("afterChange").slick("unslick"),this.$slickContent.off("afterChange").slick("unslick"),this.tl.remove(),window.featuredNews=void 0},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],17:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".athlete.profile"),u=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.idx=0,i.$profiles=$(".js-profile"),i.$sponsors=$(".js-sponsor"),i.setIndex(),i}return i(t,e),t.prototype.setIndex=function(){var e=this;this.$el.find(".is-active").removeClass("is-active"),this.$profiles.eq(this.idx).addClass("is-active"),this.$sponsors.eq(this.idx).addClass("is-active"),0==this.idx?this.idx++:this.idx--,setTimeout(function(){e.setIndex()},6e3)},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=u},{"../utils/environment":57,"./AbstractModule":10}],18:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0}),n.ClassName=n.EVENT_KEY=n.DATA_KEY=void 0;var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u=e("../global/scroll"),l=n.DATA_KEY=a.APP_NAME+".Filters",c=n.EVENT_KEY="."+l,f={READY:"ready"+c,CLICK:"click"+c,CHANGE:"change"+c},d=n.ClassName={ACTIVE:"is-active",FILTER:"js-filter"},p={ACTIVE:"."+d.ACTIVE,DROPDOWN:".js-dropdown",FILTER_LINK:".js-filter",FILTER_ITEM:".js-filter-item",FILTER_PAGER:".js-filter-arrow",FILTER_WRAPPER:".js-filters"},h=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return console.groupCollapsed("[USPORTS] Filters"),console.log("Options",n),console.groupEnd(),i}return i(t,e),t.prototype.events=function(){},t.prototype.init=function(){$(p.DROPDOWN).selectric()},t.prototype.fetchTemplate=function(){var e=this;$.get("api/template",{template:"results"},function(t){t.success&&(e.template=t.template,e.partials=t.partials,e.resultsController=e.initSearchController(),e.manageDatas(),$(p.DROPDOWN).selectric(),e.events(),e.device="",a.$document.trigger({type:f.READY}))},"json")},t.prototype.unescapeHTML=function(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},t.prototype.destroy=function(){this.$el.off(c)},t.prototype.manageDatas=function(e){console.log(e),this.datas="playoff"==e?[{date:"Wednesday, oct 12 - PLAYOFF",results:[{type:"final",teams:[{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"2"},{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"1",at:"true"}],time:"Final | OT",venue:"Name of the venue",link:"/scores/entry"},{type:"live",isLive:!0,teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"1"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"18:00",period:"3rd",venue:"Name of the venue",link:"/scores/entry"},{type:"preview",teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"2"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"10:00 PM ET",venue:"Name of the venue",link:"/scores/entry"}]},{date:"Wednesday, oct 13 - PLAYOFF",results:[{type:"preview",teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"2"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"10:00 PM ET",venue:"Name of the venue",link:"/scores/entry"}]}]:[{date:"Wednesday, oct 12",results:[{type:"final",teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"2"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"Final | OT",venue:"Name of the venue",link:"/scores/entry"},{type:"live",isLive:!0,teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"1"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"18:00",period:"3rd",venue:"Name of the venue",link:"/scores/entry"},{type:"preview",isPreview:!0,teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"2"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"10:00 PM ET",venue:"Name of the venue",link:"/scores/entry"}]},{date:"Wednesday, oct 13",results:[{type:"preview",isPreview:!0,teams:[{name:"concordia",logo:"/assets/images/placeholders/team2.jpg",score:"2"},{name:"bishop",logo:"/assets/images/placeholders/team1.jpg",score:"1",at:"true"}],time:"10:00 PM ET",venue:"Name of the venue",link:"/scores/entry"}]}],this.resultsController.set("datas",this.datas)},t.prototype.initSearchController=function(){return new Ractive({el:p.FILTER_WRAPPER,template:this.template,data:{value:"",datas:[]}})},t.prototype.changeFilter=function(e,t){e.preventDefault();var n=$(e.currentTarget);if("select"==t)this.manageDatas(n.val());else if("arrow"==t){(0,u.backToTop)();r=n.data("filter");this.manageDatas(r)}else{var o=n.parent();$(""+p.FILTER_ITEM+p.ACTIVE).removeClass(d.ACTIVE),o.addClass(d.ACTIVE);var r=n.data("filter");this.manageDatas(r)}},t}(s.default);n.default=h},{"../global/scroll":5,"../utils/environment":57,"./AbstractModule":10}],19:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),u=e("../utils/environment"),l=e("../global/scroll"),c="."+(u.APP_NAME+".Form"),f={SUBMIT:"submit"+c},d={FORM:".js-form"},p={ERROR:"has-error",ACTIVE:"is-active",LOADING:"is-form-state-loading"},h=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$form=null,i.$errorMessages=null,i.$preSubmit=null,i.$postSubmit=null,i.$recaptcha=null,i.formIdent=i.$el.data("form-ident"),i.formScroll=i.$el.data("form-scroll"),i.isTransmitting=!1,i.recaptchaKey=n["recaptcha-key"],i.setElements(),i.hasRecaptcha=i.$recaptcha.length,i.$el.on(f.SUBMIT,d.FORM,function(e){e.preventDefault(),i.manageSubmit()}),i.hasRecaptcha&&setTimeout(function(){window.grecaptcha?i.loadRecaptcha():(window.onloadReCaptchaCallback=i.loadRecaptcha.bind(i),i.fetchRecaptcha())},600),i}return i(t,e),t.prototype.fetchRecaptcha=function(){var e="en";window.lang&&(e="fr"===window.lang?"fr-CA":e),$.getScript("https://www.google.com/recaptcha/api.js?onload=onloadReCaptchaCallback&render=explicit&hl="+e)},t.prototype.loadRecaptcha=function(){var e=this;this.recaptchaKey&&$(".js-recaptcha","form").each(function(t,n){grecaptcha.render(n,{sitekey:e.recaptchaKey})})},t.prototype.manageErrors=function(e){this.hasRecaptcha&&void 0!==window.grecaptcha&&window.grecaptcha.reset();for(var t=0,n=e.length;t<n;t++){console.log("#"+this.formIdent+"_"+e[t].property),console.log($("#"+this.formIdent+"_"+e[t].property)),$("#"+this.formIdent+"_"+e[t].property).addClass(p.ERROR);var o=$("#js-error-"+this.formIdent+"_"+e[t].property);o.length>0&&o.text(e[t].message).attr("aria-hidden","false").addClass(p.ACTIVE)}},t.prototype.manageSubmit=function(){var e=this;this.isTransmitting||(this.isTransmitting=!0,this.$form.find("."+p.ERROR).removeClass(p.ERROR),this.$errorMessages.text("").attr("aria-hidden","true").removeClass(p.ACTIVE),this.toggleLoading(),setTimeout(function(){$.ajax({method:"POST",url:e.$form.attr("action"),data:e.$form.serializeArray()}).done(function(t){!0===t.success?e.$preSubmit.fadeOut(function(){e.$postSubmit.fadeIn()}):"object"===(void 0===t?"undefined":s(t))?e.manageErrors(t.errors):console.warn("Something went wrong with the response.")}).always(function(){setTimeout(function(){!0===e.formScroll&&(0,l.scrollTo)(e.$el,{headerOffset:160}),e.toggleLoading(),e.isTransmitting=!1},600)})},600))},t.prototype.setElements=function(){this.$form=this.$el.find(d.FORM),this.$errorMessages=this.$el.find(".js-error-message"),this.$preSubmit=this.$el.find(".js-pre-submit"),this.$postSubmit=this.$el.find(".js-post-submit"),this.$recaptcha=this.$el.find(".js-recaptcha")},t.prototype.toggleLoading=function(){this.$preSubmit.toggleClass(p.LOADING)},t.prototype.destroy=function(){this.$el.off(c)},t}(a.default);n.default=h},{"../global/scroll":5,"../utils/environment":57,"./AbstractModule":10}],20:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});o(e("barba.js"));var i=o(e("../utils/animation")),s=e("../global/scroll"),a=e("../utils/environment"),u=e("../App"),l="."+(a.APP_NAME+".global"),c={TOP:"top"+l,CLICK:"click"+l,SCROLL:"scroll"+l,SHOW:"show"+l,SHOWN:"shown"+l,HIDE:"hide"+l,HIDDEN:"hidden"+l},f={BACK_TO_TOP:'.js-back-to-top,[href="#top"],[data-target="#top"]'},d=function(){function e(){var t=this;r(this,e),this.init(),a.$document.on(u.Event.INIT_MODULES,function(e){e.firstBlood||t.reinit()}).on(c.TOP,function(e){return(0,s.backToTop)()}).on(c.CLICK,f.BACK_TO_TOP,function(e){e.preventDefault(),a.$document.triggerHandler(c.TOP)}),!!navigator.platform&&/iPad|iPhone|iPod/.test(navigator.platform)&&a.$html.addClass("ios"),window.isIe=this.detectIE()}return e.prototype.init=function(){this.waypoints=[],this.events(),$(".js-dropdown").selectric(),a.$document.swipebox({selector:".js-swipebox"}),this.hasScrolled=!1,this.initPoints()},e.prototype.reinit=function(){a.$html.removeClass("has-scrolled");for(var e in this.waypoints){var t=this.waypoints[e];t instanceof Waypoint&&(t.element.classList.remove("is-animated"),t.destroy())}this.init()},e.prototype.initPoints=function(){for(var e=this,t=document.querySelectorAll(".js-point"),n=function(t){e.setTransitioning(!1),$(this).trigger(c.SHOWN)},o=0;o<t.length;o++){var r=new Waypoint({element:t[o],handler:function(){var t=$(this.element);if(t.addClass("is-animated"),e.setTransitioning(!0),i.default.supportsTransitionEnd()){var o=(t.data("transition-duration")||0)+(t.data("transition-delay")||0);t.one(i.default.TRANSITION_END,n).emulateTransitionEnd(o),this.destroy()}else n()},offset:"100%"});this.waypoints.push(r)}},e.prototype.onScroll=function(){window.pageYOffset>10&&!this.hasScrolled&&(this.hasScrolled=!0,a.$html.addClass("has-scrolled")),window.pageYOffset<=10&&this.hasScrolled&&(this.hasScrolled=!1,a.$html.removeClass("has-scrolled"))},e.prototype.detectIE=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");return o>0&&parseInt(e.substring(o+5,e.indexOf(".",o)),10)},e.prototype.setTransitioning=function(e){this.isTransitioning=e},e.prototype.events=function(){var e=this;a.$window.on(c.SCROLL,function(t){return e.onScroll(t)})},e}();n.default=d},{"../App":1,"../global/scroll":5,"../utils/animation":55,"../utils/environment":57,"barba.js":64}],21:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".hq.nav"),u={CLICK:"click"+a},l=function(e){function t(n){o(this,t);var i="js-hq-nav";n=$.extend({},{el:document.getElementById(i),$el:$("#"+i)},n);var s=r(this,e.call(this,n));return s.events(),s}return i(t,e),t.prototype.toggleMenu=function(e){var t=$(e.currentTarget);$(".js-hq-sublist",t);console.log(t.parent()),t.parent().hasClass("is-open")?(t.parent().removeClass("is-open"),t.siblings(".js-hq-sublist").stop().slideUp()):($(".js-hq-nav-item.is-open").removeClass("is-open"),$(".js-hq-sublist").stop().slideUp(),t.parent().addClass("is-open"),t.siblings(".js-hq-sublist").stop().slideDown())},t.prototype.events=function(){var e=this;this.$el.on(u.CLICK,".js-hq-nav-button",function(t){return e.toggleMenu(t)})},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],22:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u="."+(a.APP_NAME+".HeaderHub"),l={MENU:".js-header-menu",PREV:".js-arrow-prev",NEXT:".js-arrow-next"},c=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));if(window.isIe){return!1,r(i,!1)}return i.$menu=$(l.MENU,i.$el),i.slick=null,i.device="",i.headerDetection=null,i.$menu.length&&setTimeout(function(){i.headerDetection=new Waypoint({element:document.querySelector(l.MENU),handler:function(e){"down"==e?a.$body.addClass("header-is-sticky"):a.$body.removeClass("header-is-sticky")},offset:$("#site-nav").height()})},1e3),i}return i(t,e),t.prototype.destroy=function(){this.headerDetection instanceof Waypoint&&this.headerDetection.destroy(),this.$el.off(u),a.$window.off(u)},t}(s.default);n.default=c},{"../utils/environment":57,"./AbstractModule":10}],23:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u="."+(a.APP_NAME+".home"),l={RESIZE:"resize"+u},c=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));i.events(),i.canvas=document.querySelector(".js-home-canvas"),i.mask=document.querySelector(".js-home-mask"),i.video=document.querySelector(".js-home-video"),i.container=$(".js-home"),i.canvas.width=i.container.width(),i.canvas.height=i.container.height(),i.ratioMask=.95,i.maskSize={width:1920,height:790},i.videoSize={width:1920,height:1080},i.ctx=i.canvas.getContext("2d");return i.drawMaskedVideo(),a.$document.on("menuClose.App",function(e){window.isIe||i.raf&&window.cancelAnimationFrame(i.raf)}),a.$document.on("menuOpen.App",function(e){i.raf&&(i.raf=null),i.drawMaskedVideo()}),i}return i(t,e),t.prototype.drawMaskedVideo=function(){var e=this;this.ctx.save(),this.ctx.fillStyle="rgba(0,0,0,0.8)",this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);var t=this.getVideoSize(this.canvas.width,this.canvas.height);this.video&&this.ctx.drawImage(this.video,this.canvas.width/2-t.width/2,this.canvas.height/2-t.height/2,t.width,t.height),this.ctx.rect(0,0,this.canvas.width,this.canvas.height),this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height),this.ctx.globalCompositeOperation="destination-in";var n=this.getMaskSize(this.canvas.width,this.canvas.height);this.mask&&this.ctx.drawImage(this.mask,this.canvas.width/2-n.width/2,this.canvas.height/2-n.height/2,n.width,n.height),this.ctx.restore(),window.isIe||(this.raf=window.requestAnimationFrame(function(){return e.drawMaskedVideo()}))},t.prototype.getVideoSize=function(e,t){var n=e;return{width:n,height:n*this.videoSize.height/this.videoSize.width}},t.prototype.getMaskSize=function(e,t){var n=e*this.ratioMask;return{width:n,height:n*this.maskSize.height/this.maskSize.width}},t.prototype.resize=function(){this.canvas.width=this.container.width(),this.canvas.height=this.container.height()},t.prototype.events=function(){var e=this;a.$window.on(l.RESIZE,function(t){return e.resize(t)})},t.prototype.destroy=function(){this.$el.off(u),a.$window.off(u),this.raf&&window.cancelAnimationFrame(this.raf)},t}(s.default);n.default=c},{"../utils/environment":57,"./AbstractModule":10}],24:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=o(e("./AbstractModule")),u=o(e("./Slider")),l="."+(e("../utils/environment").APP_NAME+".LatestNews"),c={CLICK:"click"+l},f=function(e){function t(n){r(this,t);var o=i(this,e.call(this,n));o.$filters=o.$el.find(".js-filters"),o.$filters.selectric(),o.$filters.on("selectric-change",function(e){o.slider.filterBySelector(o.$filters.val())});var s=o.$el.find(".js-slider");return o.slider=new u.default({el:s[0],$el:s}),o.$el.on(c.CLICK,".js-more",function(e){return o.toggleMobileLimit(e)}),o}return s(t,e),t.prototype.toggleMobileLimit=function(){this.$el.toggleClass("is-show-all")},t.prototype.destroy=function(){this.$el.off(l),this.$filters.selectric("destroy"),this.slider.destroy()},t}(a.default);n.default=f},{"../utils/environment":57,"./AbstractModule":10,"./Slider":33}],25:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".athlete.profile"),u=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.idx=0,i.$leaders=$(".js-leader",i.$el),i.events(),i.setIndex(),i}return i(t,e),t.prototype.setIndex=function(e){var t=void 0,n=void 0;void 0==e?(t=0,n=$(".js-leader-line",this.$el).eq(0)):(n=$(e.currentTarget),t=$(".js-leader-line",this.$el).index(n)),this.idx=t,$(".js-leader.is-active",this.$el).removeClass("is-active"),$(".js-leader-line.is-active",this.$el).removeClass("is-active"),n.addClass("is-active"),this.$leaders.eq(this.idx).addClass("is-active")},t.prototype.events=function(){var e=this;$(".js-leader-line",this.$el).on("click",function(t){return e.setIndex(t)})},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=u},{"../utils/environment":57,"./AbstractModule":10}],26:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".list.entry"),u={CLICK:"click"+a},l=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.events(),i}return i(t,e),t.prototype.events=function(){var e=this;this.$el.on(u.CLICK,".js-list-item",function(){$(this).addClass("is-shoot"),e.$el.find(".js-list-item.is-active").removeClass("is-active")})},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],27:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u=(a.APP_NAME,{center:null,zoom:12,mapType:"roadmap",scrollwheel:!1}),l={map:null,position:null,title:null},c={path:"M8 0C3.8 0 0 3.4 0 7.6c0 4.2 3.5 9.2 8 16.4 4.5-7.2 8-12.2 8-16.4C16 3.4 12.2 0 8 0zM8 11c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3S9.7 11 8 11z",anchor:{x:8,y:24},fillColor:"#FA4329",fillOpacity:1,strokeWeight:0,scale:1},f=[{featureType:"water",elementType:"geometry",stylers:[{color:"#e9e9e9"},{lightness:17}]},{featureType:"landscape",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:20}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{lightness:17}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#ffffff"},{lightness:29},{weight:.2}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:18}]},{featureType:"road.local",elementType:"geometry",stylers:[{color:"#ffffff"},{lightness:16}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#f5f5f5"},{lightness:21}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#dedede"},{lightness:21}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{lightness:16}]},{elementType:"labels.text.fill",stylers:[{saturation:36},{color:"#333333"},{lightness:40}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#f2f2f2"},{lightness:19}]},{featureType:"administrative",elementType:"geometry.fill",stylers:[{color:"#fefefe"},{lightness:20}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#fefefe"},{lightness:17},{weight:1.2}]}],d=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return n.el?(i.container=n.el,i.$container=n.$el,i.$wrapper=i.$container.closest(".js-point"),i.setData(n),i.$wrapper.length&&i.$wrapper.on("shown."+a.APP_NAME+".global",function(e){return i.refreshMap()}),i.hasDependencies()?i.make():i.load(),i):(console.error("The Map Module requires a DOM element to build around."),r(i))}return i(t,e),t.prototype.hasDependencies=function(){return this.hasApi()},t.prototype.hasApi=function(){return window.google&&window.google.maps},t.prototype.load=function(){var e,t,n,o,r,i,s=this,a={},u="google-maps-api";if(!document.getElementById(u))return window.adhocGoogleMapsCallback=function(){s.make()},(n=this.getApiKey())&&(a.key=n),(o=document.documentElement.getAttribute("lang"))&&(a.language=o),a.region="CA",a.callback="adhocGoogleMapsCallback",r=encodeURIComponent,i=Object.keys(a).map(function(e){return r(e)+"="+r(a[e])}).join("&"),t=document.getElementsByTagName("script")[0],e=document.createElement("script"),e.id=u,e.src="//maps.googleapis.com/maps/api/js?"+i,t.parentNode.insertBefore(e,t),this},t.prototype.make=function(){return this.makeMap(),this.makeMarker(),this},t.prototype.makeMap=function(){var e,t,n;return n=$.extend({},u),(t=this.getCenter())&&(t=new google.maps.LatLng(t),$.extend(n,{center:t})),(e=new google.maps.Map(this.container,n)).set("styles",f),t&&google.maps.event.addDomListener(window,"resize",function(){console.log("Google Window Resize"),setTimeout(function(){e.setCenter(t)},50)}),this.setMap(e),this},t.prototype.makeMarker=function(){var e,t,n;return this.hasMap()?(t=$.extend({},c,{anchor:new google.maps.Point(c.anchor.x,c.anchor.y)}),n=$.extend({},l,{map:this.getMap(),position:this.getCenter(),icon:t,title:this.getMarkerLabel()}),e=new google.maps.Marker(n),this.setMarker(e),this):this},t.prototype.setData=function(e){return"object"!==$.type(e)?(console.error("The module settings must be a plain object."),this):("map-api-key"in e?this.setApiKey(e["map-api-key"]):console.error("Google Maps API Key is missing."),this.setCenter(e["map-position-lat"]||null,e["map-position-lng"]||null),"map-marker-label"in e&&this.setMarkerLabel(e["map-marker-label"]),this)},t.prototype.setMap=function(e){return e instanceof google.maps.Map?this.map=e:console.error("The map must be an instance of [google.maps.Map]"),this},t.prototype.getMap=function(){return this.map||null},t.prototype.hasMap=function(){return this.hasDependencies()&&this.map instanceof google.maps.Map},t.prototype.refreshMap=function(){var e=this.getMap();return e?google.maps.event.trigger(e,"resize"):console.warn("A map instance is missing."),this},t.prototype.destroyMap=function(){return this.map=null,this},t.prototype.setMarker=function(e){return e instanceof google.maps.Marker?this.marker=e:console.error("The marker must be an instance of [google.maps.Marker]"),this},t.prototype.getMarker=function(){return this.marker||null},t.prototype.setMarkerLabel=function(e){return"string"!=typeof e&&console.error("The marker label must be a string."),this.markerLabel=e,this},t.prototype.getMarkerLabel=function(){return this.markerLabel||null},t.prototype.setApiKey=function(e){return this.getMap()&&console.error("A map instance exists. Create a new instance to use the new API key."),"string"!=typeof e&&console.error("The API key must be a string."),this.apiKey=e,this},t.prototype.getApiKey=function(){return this.apiKey||null},t.prototype.setCenter=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;switch($.type(e)){case"array":t=e[1]||null,e=e[0]||null;break;case"object":t=e.lng()||e.lng||null,e=e.lat()||e.lat||null}e=$.isNumeric(e)?parseFloat(e):null,t=$.isNumeric(t)?parseFloat(t):null;var n=this.getMap();if(n){var o=n.getCenter().toJSON();"number"===$.type(e)&&(o.lat=e),"number"===$.type(t)&&(o.lng=t),n.setCenter(o)}else{if(null===e&&null===t)return this;this.center={lat:e,lng:t}}return this},t.prototype.getCenter=function(){var e=this.getMap();return e&&(this.center=e.getCenter().toJSON()),this.center||null},t.prototype.events=function(){},t.prototype.destroy=function(){this.destroyMap(),this.$container.empty()},t}(s.default);n.default=d},{"../utils/environment":57,"./AbstractModule":10}],28:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../global/scroll"),u=e("../utils/environment"),l=e("../App"),c="."+(u.APP_NAME+".nav"),f={CLICK:"click"+c,PRESS:"click"+c+" tap"+c},d=function(e){function t(n){o(this,t);var i="site-nav";n=$.extend({},{el:document.getElementById(i),$el:$("#"+i)},n);var s=r(this,e.call(this,n));return s.events(),u.$document.on(l.Event.INIT_MODULES,function(e){e.firstBlood||(s.closeSubmenu(),s.closeMenuMobile())}),s}return i(t,e),t.prototype.events=function(){var e=this;this.$el.on(f.CLICK,".js-nav-button",function(t){return e.toggleSubmenu(t)}),this.$el.on(f.PRESS,".js-sub-item",function(t){return e.toggleSubItem(t)}),this.$el.on(f.PRESS,".js-navmobile-item",function(t){return e.toggleSubmenuMobile(t)}),this.$el.on(f.PRESS,".js-burger-mobile",function(t){return e.toggleMenuMobile(t)})},t.prototype.toggleSubmenu=function(e){var t=$(e.currentTarget),n=t.parent();if(n.hasClass("is-active"))n.removeClass("is-active"),t.attr("aria-expanded",!1),$(".js-subnav",o).scrollTop(0),u.$document.trigger({type:"menuOpen.App"});else{if(u.$document.trigger({type:"menuClose.App"}),$(".js-nav-item.is-active").length>0){var o=$(".js-nav-item.is-active");o.removeClass("is-active").children("[aria-expanded]").attr("aria-expanded",!1),n.addClass("has-change"),o.addClass("has-change"),setTimeout(function(){n.removeClass("has-change"),o.removeClass("has-change"),$(".js-subnav",o).scrollTop(0)},600)}n.addClass("is-active"),t.attr("aria-expanded",!0)}var r=$(".js-sub-item.is-active");r.length>0&&r.removeClass("is-active").children("[aria-expanded]").attr("aria-expanded",!1)},t.prototype.closeSubmenu=function(){$(".js-nav-item.is-active").length>0&&$(".js-nav-item.is-active").removeClass("is-active").children("[aria-expanded]").attr("aria-expanded",!1);var e=$(".js-sub-item.is-active");e.length>0&&e.removeClass("is-active").children("[aria-expanded]").attr("aria-expanded",!1)},t.prototype.toggleSubmenuMobile=function(e){var t=$(e.currentTarget),n=t.parent(),o=!1;n.hasClass("is-open")||(o=!0),$(".js-navmobile-submenu").slideUp(),$(".js-navmobile-item").parent().removeClass("is-open"),o?($(".js-navmobile-submenu",n).slideDown(),n.addClass("is-open"),setTimeout(function(){(0,a.scrollTo)(t,{headerOffset:30,speed:600,$container:$(".js-navmobile")})},500)):($(".js-navmobile-submenu",n).slideUp(),n.removeClass("is-open"));var r=$(".js-sub-item.is-active");r.length>0&&r.removeClass("is-active")},t.prototype.toggleMenuMobile=function(e){var t=$(e.currentTarget);t.hasClass("is-active")?(u.$body.removeClass("menu-is-open"),t.removeClass("is-active").attr("aria-expanded",!1)):(u.$body.addClass("menu-is-open"),t.addClass("is-active").attr("aria-expanded",!0)),$(".js-navmobile-submenu").slideUp(),$(".js-navmobile-item").parent().removeClass("is-open")},t.prototype.closeMenuMobile=function(){u.$body.removeClass("menu-is-open"),$(".js-burger-mobile").removeClass("is-active").attr("aria-expanded",!1),$(".js-navmobile-submenu").slideUp(),$(".js-navmobile-item").parent().removeClass("is-open")},t.prototype.toggleSubItem=function(e){var t=$(e.currentTarget);if(t.hasClass("is-active"))t.removeClass("is-active");else{var n=$(".js-sub-item.is-active");n.length>0&&n.removeClass("is-active"),t.addClass("is-active")}},t.prototype.destroy=function(){this.closeMenuMobile(),this.$el.off(c)},t}(s.default);n.default=d},{"../App":1,"../global/scroll":5,"../utils/environment":57,"./AbstractModule":10}],29:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u="."+(a.APP_NAME+".NewsHeader"),l={MENU:".js-header-menu"},c=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return setTimeout(function(){i.headerDetection=new Waypoint({element:document.querySelector(l.MENU),handler:function(e){"down"==e?a.$body.addClass("header-is-sticky"):a.$body.removeClass("header-is-sticky")},offset:$("#site-nav").height()})},1e3),i}return i(t,e),t.prototype.destroy=function(){this.headerDetection.destroy(),this.$el.off(u)},t}(s.default);n.default=c},{"../utils/environment":57,"./AbstractModule":10}],30:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=o(e("./AbstractModule")),u=e("../utils/environment"),l=o(e("barba.js")),c=e("../global/transitions"),f="."+(u.APP_NAME+".athlete.profile"),d=function(e){function t(n){r(this,t);var o=i(this,e.call(this,n));o.isLaunched=!1;var s=l.default.BaseTransition.extend(c.transitions.listTransition);return $(window).bind("mousewheel DOMMouseScroll",function(e){var t=e.originalEvent.wheelDelta;if(e.originalEvent.wheelDelta>0||e.originalEvent.detail<0);else if(t<-250&&o.isBottom&&!o.isLaunched){var n=$(".js-news-next").attr("href");l.default.Pjax.getTransition=function(){return s},l.default.Pjax.goTo(n),o.isLaunched=!0}}),$(window).on("scroll",function(e){return o.scroll(e)}),o}return s(t,e),t.prototype.scroll=function(){$(window).scrollTop()+$(window).height()>=$(document).height()-50?this.isBottom=!0:this.isBottom=!1},t.prototype.destroy=function(){this.$el.off(f)},t}(a.default);n.default=d},{"../global/transitions":7,"../utils/environment":57,"./AbstractModule":10,"barba.js":64}],31:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=o(e("./AbstractModule")),u=(o(e("./Slider")),e("../utils/xhr")),l=e("../utils/environment"),c="Popup.dismiss",f="."+(l.APP_NAME+".Popup"),d={CLICK:"click"+f},p={POPUP_OPEN:"popup-is-open"},h={DATA_DISMISS:'[data-dismiss~="Popup"]',POPUP_BODY:".c-popup_content"},m=function(e){function t(n){r(this,t);var o=i(this,e.call(this,n));if(o.expires=null,o.digest=null,o.$body=o.$el.find(h.POPUP_BODY),l.$document.on("menuClose.App",function(){o.hide()}),o.$body.length){var s=cookie(c);o.reveal(s).then(function(e){e.digest&&(o.digest=e.digest,e.expires?o.expires=new Date(e.expires):o.expires=10,e.html&&o.$body.html(e.html),s!==e.digest&&o.show())})}return l.$document.on(d.CLICK,h.DATA_DISMISS,function(){return o.dismiss()}),o}return s(t,e),t.prototype.show=function(){this.$el.slideDown(),l.$html.addClass(p.POPUP_OPEN)},t.prototype.hide=function(){this.$el.slideUp(),setTimeout(function(){l.$html.removeClass(p.POPUP_OPEN)},600)},t.prototype.dismiss=function(){cookie(c,this.digest,this.expires),this.hide()},t.prototype.reveal=function(e){var t={method:"GET",url:"api/popup",dataType:"json",data:{locale:l.$html.attr("lang")}};return e&&(t.data.digest=e),$.ajax(t).then(u.vanguard)},t.prototype.destroy=function(){l.$document.off(f),this.$el.off(f)},t}(a.default);n.default=m},{"../utils/environment":57,"../utils/xhr":63,"./AbstractModule":10,"./Slider":33}],32:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u=a.APP_NAME+".sharer",l="."+u,c={CLICK:"click"+l},f={ACTIVE:"is-active"},d={SHARE:".js-share-button"},p=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.events(),i}return i(t,e),t.prototype.toggleSharer=function(e){$(e.currentTarget).parent().toggleClass(f.ACTIVE)},t.prototype.events=function(){var e=this;void 0===a.$document.data(u)&&(a.$document.data(u,!0),a.$document.on(c.CLICK,d.SHARE,function(t){return e.toggleSharer(t)}))},t.prototype.destroy=function(){this.$el.off(l)},t}(s.default);n.default=p},{"../utils/environment":57,"./AbstractModule":10}],33:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=e("../utils/environment"),u="."+(a.APP_NAME+".slider"),l={RESIZE:"resize"+u},c=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.visibleClass="-visible",i.hiddenClass="-hidden",i.isMobile=!0,i.$el.hasClass("-nomobile")?window.innerWidth>700&&i.$el.sly({horizontal:1,itemNav:"basic",smart:!0,mouseDragging:1,touchDragging:1,scrollBar:i.$el.parent().find(".js-scrollbar"),dragHandle:1,dynamicHandle:1,releaseSwing:0,speed:300}):window.innerWidth<=700?i.$el.sly({horizontal:1,itemNav:"centered",smart:!0,mouseDragging:1,touchDragging:1,scrollBar:i.$el.parent().find(".js-scrollbar"),dragHandle:1,dynamicHandle:1,releaseSwing:0,speed:300}):i.$el.sly({horizontal:1,itemNav:"basic",smart:!0,mouseDragging:1,touchDragging:1,scrollBar:i.$el.parent().find(".js-scrollbar"),dragHandle:1,dynamicHandle:1,releaseSwing:0,speed:300}),a.$window.on(l.RESIZE,function(e){return i.resize(e)}),i}return i(t,e),t.prototype.resize=function(){this.$el.sly("reload"),window.innerWidth<=700?this.isMobile||(this.isMobile=!0,this.$el.hasClass("-nomobile")?this.$el.sly("destroy"):this.$el.sly({horizontal:1,itemNav:"centered",smart:!0,mouseDragging:1,touchDragging:1,scrollBar:this.$el.parent().find(".js-scrollbar"),dragHandle:1,dynamicHandle:1,releaseSwing:0,speed:300})):this.isMobile&&(this.isMobile=!1,this.$el.sly({horizontal:1,itemNav:"basic",smart:!0,mouseDragging:1,touchDragging:1,scrollBar:this.$el.parent().find(".js-scrollbar"),dragHandle:1,dynamicHandle:1,releaseSwing:0,speed:300}))},t.prototype.filterBySelector=function(e){var t=this.$el.find(".js-filter-item"),n=this.$el.find(".js-filter-"+e),o=this.$el.find(".js-filter-item:not(.js-filter-"+e+")");console.log(t),console.log(n),console.log(o),t.removeClass(this.hiddenClass),0!==n.length&&o.addClass(this.hiddenClass).removeClass(this.visibleClass),this.$el.sly("reload").sly("toStart")},t.prototype.destroy=function(){this.$el.sly("destroy"),this.$el.off(u),a.$window.off(u)},t}(s.default);n.default=c},{"../utils/environment":57,"./AbstractModule":10}],34:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a=e("../../utils/environment"),u=e("../../utils/is"),l={OVERVIEW:"athlete01",STATISTICS:"athlete02"},c=(a.SOHO_NAME,function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"player"},t.prototype.parseUri=function(){var t=e.prototype.parseUri.call(this);if(!1===(0,u.isNumeric)(t[0])&&!0===(0,u.isNumeric)(t[1])){var n=t[0],o=t[1];t[0]=o,t[1]=n}return t},t.prototype.getBuilder=function(){return window.so_athlete},t.prototype.getWidgetIds=function(){return Object.values(l)},t.prototype.getOverviewWidget=function(){return!1===this.hasWidget(l.OVERVIEW)&&this.init(),this.getWidget(l.OVERVIEW)},t.prototype.getStatisticsWidget=function(){return!1===this.hasWidget(l.STATISTICS)&&this.init(),this.getWidget(l.STATISTICS)},t}(s.default));n.default=c},{"../../utils/environment":57,"../../utils/is":60,"../AbstractSohoModule":11}],35:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={OVERVIEW:"boxScore01",STATISTICS:"boxScore02"},u=(e("../../utils/environment").SOHO_NAME,function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"event"},t.prototype.getBuilder=function(){return window.so_boxscore},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getOverviewWidget=function(){return!1===this.hasWidget(a.OVERVIEW)&&this.init(),this.getWidget(a.OVERVIEW)},t.prototype.getStatisticsWidget=function(){return!1===this.hasWidget(a.STATISTICS)&&this.init(),this.getWidget(a.STATISTICS)},t}(s.default));n.default=u},{"../../utils/environment":57,"../AbstractSohoModule":11}],36:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={SCHEDULE:"schedule",TODAYS_DATE:"todaysDate"},u=(e("../../utils/environment").SOHO_NAME,{TPL_ACTIONS:"#t-actions",DROPDOWN:".js-dropdown",FILTERS:".c-filters",FILTER_MONTH:"#so_monthFilter",FILTER_CONF:"#so_conferenceFilter",PAGE_MONTH_PREV:"#so_previousMonth",PAGE_MONTH_NEXT:"#so_nextMonth",TODAYS_DATE:"#so_todaysDate",SCHEDULE:"#so_schedule"}),l=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"schedule"},t.prototype.getBuilder=function(){return window.so_schedule},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getScheduleWidget=function(){return!1===this.hasWidget(a.SCHEDULE)&&this.init(),this.getWidget(a.SCHEDULE)},t.prototype.getTodaysDateWidget=function(){return!1===this.hasWidget(a.TODAYS_DATE)&&this.init(),this.getWidget(a.TODAYS_DATE)},t.prototype.onReady=function(){$(u.FILTERS,u.SCHEDULE).after(this.getTemplateContent(u.TPL_ACTIONS)),e.prototype.onReady.call(this)},t}(s.default);n.default=l},{"../../utils/environment":57,"../AbstractSohoModule":11}],37:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={SCORES:"scores",TODAYS_DATE:"todaysDate2"},u=(e("../../utils/environment").SOHO_NAME,{TPL_ACTIONS:"#t-actions",FILTERS:".c-filters",TABLIST:"#so_dateScroller",TAB_DAY_PREV:"#so_dateScroller_previousDay",TAB_DAY_CURRENT:"#so_dateScroller_currentDay",TAB_DAY_NEXT:"#so_dateScroller_nextDay",PAGER:"#so_dateBottomScroller",PAGE_DAY_PREV:"#so_dateBottomScroller_previousDay",PAGE_DAY_NEXT:"#so_dateBottomScroller_nextDay",TODAYS_DATE:"#so_todaysDate2",SCORES:"#so_scores"}),l=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"scores"},t.prototype.getBuilder=function(){return window.so_scores},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getScoresWidget=function(){return!1===this.hasWidget(a.SCORES)&&this.init(),this.getWidget(a.SCORES)},t.prototype.getTodaysDateWidget=function(){return!1===this.hasWidget(a.TODAYS_DATE)&&this.init(),this.getWidget(a.TODAYS_DATE)},t.prototype.onReady=function(){$(u.FILTERS,u.SCORES).after(this.getTemplateContent(u.TPL_ACTIONS)),e.prototype.onReady.call(this)},t}(s.default);n.default=l},{"../../utils/environment":57,"../AbstractSohoModule":11}],38:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../../AbstractSohoModule")),a={SLIDER:"sliderResult01"},u=(e("../../../utils/environment").SOHO_NAME,function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"events-results"},t.prototype.getBuilder=function(){return window.so_sliderResult},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getSliderWidget=function(){return!1===this.hasWidget(a.SLIDER)&&this.init(),this.getWidget(a.SLIDER)},t}(s.default));n.default=u},{"../../../utils/environment":57,"../../AbstractSohoModule":11}],39:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../../AbstractSohoModule")),a={SLIDER:"sliderUpcomingEvents01"},u=(e("../../../utils/environment").SOHO_NAME,function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"events-upcoming"},t.prototype.getBuilder=function(){return window.so_sliderUpcomingEvents},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getSliderWidget=function(){return!1===this.hasWidget(a.SLIDER)&&this.init(),this.getWidget(a.SLIDER)},t}(s.default));n.default=u},{"../../../utils/environment":57,"../../AbstractSohoModule":11}],40:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={STANDINGS:"standings"},u=(e("../../utils/environment").SOHO_NAME,{TPL_ACTIONS:"#t-actions",FILTERS:".c-filters",TABLIST:"#so_conferenceFilter",STANDINGS:"#so_standings"}),l=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"standings"},t.prototype.getBuilder=function(){return window.so_standings},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getStandingsWidget=function(){return!1===this.hasWidget(a.STANDINGS)&&this.init(),this.getWidget(a.STANDINGS)},t.prototype.onReady=function(){$(u.FILTERS,u.STANDINGS).after(this.getTemplateContent(u.TPL_ACTIONS)),e.prototype.onReady.call(this)},t}(s.default);n.default=l},{"../../utils/environment":57,"../AbstractSohoModule":11}],41:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={STATISTICS:"individual_statistics_container"},u=(e("../../utils/environment").SOHO_NAME,{TPL_ACTIONS:"#t-actions",FILTERS:".c-filters",TABLIST:"#so_conferenceFilter",STATISTICS:"#so_statistics"}),l=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"statistics"},t.prototype.getBuilder=function(){return window.so_statistics},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getStatisticsWidget=function(){return!1===this.hasWidget(a.STATISTICS)&&this.init(),this.getWidget(a.STATISTICS)},t.prototype.onReady=function(){$(u.FILTERS,u.STATISTICS).after(this.getTemplateContent(u.TPL_ACTIONS)),e.prototype.onReady.call(this)},t}(s.default);n.default=l},{"../../utils/environment":57,"../AbstractSohoModule":11}],42:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a=e("../../utils/environment"),u=e("../../utils/is"),l={TEAM:"team",ROSTER:"teamRoster",SCHEDULE:"teamSchedule"},c=(a.SOHO_NAME,function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"team"},t.prototype.parseUri=function(){var t=e.prototype.parseUri.call(this);if(!1===(0,u.isNumeric)(t[0])&&!0===(0,u.isNumeric)(t[1])){var n=t[0],o=t[1];t[0]=o,t[1]=n}return t},t.prototype.getBuilder=function(){return window.so_team},t.prototype.getWidgetIds=function(){return Object.values(l)},t.prototype.getTeamWidget=function(){return!1===this.hasWidget(l.TEAM)&&this.init(),this.getWidget(l.TEAM)},t.prototype.getRosterWidget=function(){return!1===this.hasWidget(l.ROSTER)&&this.init(),this.getWidget(l.ROSTER)},t.prototype.getScheduleWidget=function(){return!1===this.hasWidget(l.SCHEDULE)&&this.init(),this.getWidget(l.SCHEDULE)},t}(s.default));n.default=c},{"../../utils/environment":57,"../../utils/is":60,"../AbstractSohoModule":11}],43:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("../AbstractSohoModule")),a={TEAMS:"teams"},u=(e("../../utils/environment").SOHO_NAME,{TPL_ACTIONS:"#t-actions",FILTERS:".c-filters",TABLIST:"#so_conferenceFilter",TEAMS:"#so_teams"}),l=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t.prototype.name=function(){return"teams"},t.prototype.getBuilder=function(){return window.so_teams},t.prototype.getWidgetIds=function(){return Object.values(a)},t.prototype.getTeamsWidget=function(){return!1===this.hasWidget(a.TEAMS)&&this.init(),this.getWidget(a.TEAMS)},t.prototype.onReady=function(){$(u.FILTERS,u.TEAMS).after(this.getTemplateContent(u.TPL_ACTIONS)),e.prototype.onReady.call(this)},t}(s.default);n.default=l},{"../../utils/environment":57,"../AbstractSohoModule":11}],44:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".Sponsors"),u=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$el.slick({arrows:!1,dots:!1,fade:!0,autoplay:!0,autoplaySpeed:2e3}),i}return i(t,e),t.prototype.destroy=function(){clearInterval(this.interval),this.$el.off(a)},t}(s.default);n.default=u},{"../utils/environment":57,"./AbstractModule":10}],45:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".Staff"),u={CLICK:"click"+a},l=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$bio=$(".js-bio",i.$el),$(".js-button",i.$el).on(u.CLICK,function(){return i.toggle()}),i}return i(t,e),t.prototype.toggle=function(){this.$bio.slideToggle(),this.$el.toggleClass("is-open"),this.$el.hasClass("is-open")&&$("html, body").animate({scrollTop:this.$bio.offset().top-170},800)},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],46:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".survey"),u=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.events(),i}return i(t,e),t.prototype.submit=function(e){var t=this;e.preventDefault(),this.getDatas(),$(e.currentTarget).addClass("has-voted"),$(".js-field",this.$el).each(function(e){var n=$(".js-field",t.$el).eq(e);$(".js-progress-value",n).text(t.datas[e]),$(".js-progress-bar",n).width(t.datas[e])}),$(".js-radio",this.$el).each(function(e){$(".js-radio",t.$el).eq(e).attr("disabled",!0)})},t.prototype.getDatas=function(){this.datas=[10,30,40,20]},t.prototype.events=function(){var e=this;this.$el.on("submit",".js-form",function(t){return e.submit(t)})},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=u},{"../utils/environment":57,"./AbstractModule":10}],47:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=(e("./Filters"),e("../utils/environment")),u="."+(a.APP_NAME+".filters"),l={CLICK:"click"+u,CHANGE:"change"+u,RESIZE:"resize"+u},c=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return console.groupCollapsed("[USPORTS] TabFilters"),console.log("Options",n),console.groupEnd(),i.idx=0,i.slick=null,i.device="",i}return i(t,e),t.prototype.events=function(){var e=this;a.$window.on(l.RESIZE,function(t){return e.resize(t)})},t.prototype.resize=function(){"wide"!=this.device&&window.innerWidth>1024?(this.device="wide",this.slick.options.slidesToShow=5,this.slick.options.slidesToScroll=0):"tablet"!=this.device&&window.innerWidth<=1024&&window.innerWidth>550?(this.device="tablet",this.slick.options.slidesToShow=2.5,this.slick.options.slidesToScroll=1):"mobile"!=this.device&&window.innerWidth<=550&&(this.device="mobile",this.slick.options.slidesToShow=2.1,this.slick.options.slidesToScroll=1)},t.prototype.initSlick=function(){"wide"!=this.device&&window.innerWidth>1024?(this.device="wide",this.$menu.slick({infinite:!1,slidesToShow:5,slidesToScroll:0,arrows:!1})):"tablet"!=this.device&&window.innerWidth<=1024&&window.innerWidth>550?(this.device="tablet",this.$menu.slick({infinite:!1,slidesToShow:5,slidesToScroll:1,arrows:!1})):"mobile"!=this.device&&window.innerWidth<=550&&(this.device="mobile",this.$menu.slick({infinite:!1,slidesToShow:2.1,slidesToScroll:1,arrows:!1})),this.slick=this.$menu.slick("getSlick")},t.prototype.destroy=function(){this.slick=null,this.device="",this.$el.off(u),a.$window.off(u)},t}(s.default);n.default=c},{"../utils/environment":57,"./AbstractModule":10,"./Filters":18}],48:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.$el.lettering(),i}return i(t,e),t}(function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")).default);n.default=s},{"./AbstractModule":10}],49:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a="."+(e("../utils/environment").APP_NAME+".tooltip"),u={CLICK:"click"+a},l=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.events(),i}return i(t,e),t.prototype.toggleTooltip=function(e){$(e.currentTarget).parent().toggleClass("is-open")},t.prototype.events=function(){var e=this;this.$el.on(u.CLICK,".js-tooltip-button",function(t){return e.toggleTooltip(t)})},t.prototype.destroy=function(){this.$el.off(a)},t}(s.default);n.default=l},{"../utils/environment":57,"./AbstractModule":10}],50:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=(e("./Filters"),e("../utils/environment")),u=e("../App"),l="."+(a.APP_NAME+".filters"),c={CHANGE:"change"+l,READY:"ready"+l},f=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.opts=n,i.jqXHR,i.templateXHR,i}return i(t,e),t.prototype.init=function(){var e=this;this.fetchTemplate(),this.$el.on(c.CHANGE,"select",function(t){e.reloadWidget(t)})},t.prototype.reloadWidget=function(e){var t=this;if(!this.template)return!1;var n=$(e.currentTarget),o={};o[n.attr("name")]=n.val(),o.leagueFilters=this.opts["league-filter"],this.jqXHR&&this.jqXHR.abort(),this.jqXHR=$.get("api/top10",o,function(e){var n=e;n.title=t.opts.title;var o=Mustache.render(t.template,n,t.partials);t.$el.fadeOut(400,function(){t.$el.html(o),a.$document.triggerHandler({type:u.Event.RELOAD_SCOPED_MODULES,$scope:t.$el}),t.$el.fadeIn()})},"json")},t.prototype.fetchTemplate=function(){var e=this;if(this.templateXHR)return!1;this.templateXHR=$.get("api/template",{template:"usports/widget/top-ten"},function(t){t.success&&(e.template=t.template,e.partials=t.partials,a.$document.trigger({type:c.READY}))},"json").fail(function(){})},t.prototype.destroy=function(){this.$el.off(l),a.$window.off(l)},t}(s.default);n.default=f},{"../App":1,"../utils/environment":57,"./AbstractModule":10,"./Filters":18}],51:[function(require,module,exports){"use strict";function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(exports,"__esModule",{value:!0});var _AbstractModule=require("./AbstractModule"),_AbstractModule2=_interopRequireDefault(_AbstractModule),_barba=require("barba.js"),_barba2=_interopRequireDefault(_barba),_Globals=require("./Globals"),_Globals2=_interopRequireDefault(_Globals),_errors=require("../utils/errors"),_errors2=_interopRequireDefault(_errors),_App=require("../App"),_Filters=require("./Filters"),_environment=require("../utils/environment"),_transitions=require("../global/transitions"),DATA_KEY=_environment.APP_NAME+".global",EVENT_KEY="."+DATA_KEY,Event={GOTO:"goto."+EVENT_KEY},ElementId={LANG_SWITCHER:"js-switch-lang"},Selector={LANG_SWITCHER:"#"+ElementId.LANG_SWITCHER,DESK_TRANSLATIONS:".c-nav_menu > .c-nav_lang",PALM_TRANSLATIONS:".c-navmobile > .c-nav_lang"},_class=function(){function _class(){var e=this;if(_classCallCheck(this,_class),$(function(){e.load()}),window.isIe)return _environment.$html.addClass("is-ie"),!1;this.events(),this.setup(),this.route="",_barba2.default.Pjax.Dom.containerClass="js-barba-container",_barba2.default.Pjax.Dom.wrapperId="js-barba-wrapper";try{_barba2.default.Pjax.start()}catch(e){console.warn("[U SPORTS]",e)}}return _class.prototype.events=function(){_environment.$document.on(Event.GOTO,function(e){window.history.pushState?(transition=e.options.transition,_barba2.default.Pjax.goTo(e.options.location)):window.location=e.options.location})},_class.prototype.setup=function setup(){var _this2=this,clickedLink=void 0,transition="",mainTransition=_barba2.default.BaseTransition.extend(_transitions.transitions.mainTransition);_barba2.default.Pjax.originalPreventCheck=_barba2.default.Pjax.preventCheck,_barba2.default.Pjax.preventCheck=function(e,t){return!!_barba2.default.Pjax.originalPreventCheck(e,t)&&(!t.classList.contains(_Filters.ClassName.FILTER)&&!/(assets|uploads)\//.test(t.href.toLowerCase()))},_barba2.default.Pjax.getTransition=function(){return mainTransition},_barba2.default.Dispatcher.on("linkClicked",function(e,t,n){_this2.route=e.getAttribute("data-route"),_this2.routeOption=e.getAttribute("data-route-option"),$(".js-loading").attr("data-route",_this2.route)}),_barba2.default.Dispatcher.on("newPageReady",function(currentStatus,prevStatus,container,currentHTML){if(!$.isEmptyObject(prevStatus)){var wrapper,currentTrans,prevTrans,scripts,s;wrapper=document.createElement("div"),wrapper.innerHTML=currentHTML,currentTrans=wrapper.querySelector(Selector.DESK_TRANSLATIONS),currentTrans&&(prevTrans=document.querySelector(Selector.DESK_TRANSLATIONS),prevTrans.innerHTML=currentTrans.innerHTML),currentTrans=wrapper.querySelector(Selector.PALM_TRANSLATIONS),currentTrans&&(prevTrans=document.querySelector(Selector.PALM_TRANSLATIONS),prevTrans.innerHTML=currentTrans.innerHTML);var langElement=document.getElementById(ElementId.LANG_SWITCHER);if(langElement&&langElement.replaceWith(wrapper.querySelector(Selector.LANG_SWITCHER)),(scripts=container.querySelectorAll("script.js-inline"))instanceof window.NodeList){var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _iterator=scripts[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0)s=_step.value,eval(s.innerHTML)}catch(e){_didIteratorError=!0,_iteratorError=e}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}}if((scripts=container.querySelectorAll('script[async][src^="//platform.twitter.com/"],script[async][src^="//platform.instagram.com/"]'))instanceof window.NodeList){var _iteratorNormalCompletion2=!0,_didIteratorError2=!1,_iteratorError2=void 0;try{for(var _iterator2=scripts[Symbol.iterator](),_step2;!(_iteratorNormalCompletion2=(_step2=_iterator2.next()).done);_iteratorNormalCompletion2=!0)s=_step2.value,$.getScript(s.src)}catch(e){_didIteratorError2=!0,_iteratorError2=e}finally{try{!_iteratorNormalCompletion2&&_iterator2.return&&_iterator2.return()}finally{if(_didIteratorError2)throw _iteratorError2}}}window.ga&&!_environment.isDebug&&ga("send","pageview")}})},_class.prototype.load=function(){_environment.$html.addClass(_App.ClassName.DOM_FIRST_LOADING+" "+_App.ClassName.DOM_LOADED).removeClass(_App.ClassName.DOM_LOADING),setTimeout(function(){_environment.$html.removeClass(_App.ClassName.DOM_FIRST_LOADING)},1e3)},_class}();exports.default=_class},{"../App":1,"../global/transitions":7,"../utils/environment":57,"../utils/errors":58,"./AbstractModule":10,"./Filters":18,"./Globals":20,"barba.js":64}],52:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){return e&&e.__esModule?e:{default:e}}(e("./AbstractModule")),a=(e("./Filters"),e("../utils/environment")),u=e("../App"),l="."+(a.APP_NAME+".filters"),c={CHANGE:"change"+l,READY:"ready"+l},f=function(e){function t(n){o(this,t);var i=r(this,e.call(this,n));return i.opts=n,i.jqXHR,i.templateXHR,i}return i(t,e),t.prototype.init=function(){var e=this;this.fetchTemplate(),this.$el.on(c.CHANGE,"select",function(t){e.reloadWidget(t)})},t.prototype.reloadWidget=function(e){var t=this;if(!this.template)return!1;var n=$(e.currentTarget),o={};o[n.attr("name")]=n.val(),this.jqXHR&&this.jqXHR.abort(),this.jqXHR=$.get("api/weekly-players",o,function(e){var n=e;n.title=t.opts.title;var o=Mustache.render(t.template,n,t.partials);t.$el.fadeOut(400,function(){t.$el.html(o),a.$document.triggerHandler({type:u.Event.RELOAD_SCOPED_MODULES,$scope:t.$el}),t.$el.fadeIn()})},"json")},t.prototype.fetchTemplate=function(){var e=this;if(this.templateXHR)return!1;this.templateXHR=$.get("api/template",{template:"usports/widget/players-of-the-week"},function(t){t.success&&(e.template=t.template,e.partials=t.partials,a.$document.trigger({type:c.READY}))},"json").fail(function(){})},t.prototype.destroy=function(){this.$el.off(l),a.$window.off(l)},t}(s.default);n.default=f},{"../App":1,"../utils/environment":57,"./AbstractModule":10,"./Filters":18}],53:[function(e,t,n){"use strict";!function(n,o){if(void 0!==t&&t.exports&&"function"==typeof e)o("undefined"!=typeof window?window.Ractive:void 0!==n?n.Ractive:null,"undefined"!=typeof window?window.jQuery:void 0!==n?n.jQuery:null);else if("function"==typeof define&&define.amd)define(["ractive","jquery"],o);else{if(!n.Ractive||!n.jQuery)throw new Error("Could not find Ractive or jQuery! They must be loaded before the ractive-decorators-selectric plugin");o(n.Ractive,n.jQuery)}}("undefined"!=typeof window?window:void 0,function(e,t){var n;(n=function(e,o){var r,i=e._ractive.root,s=!1,a={};if(o){if(!n.type.hasOwnProperty(o))throw new Error('Ractive Selectric type "'+o+'" is not defined!');"function"==typeof(a=n.type[o])&&(a=a.call(this,e))}return e._ractive.binding&&(r=i.observe(e._ractive.binding.keypath.str,function(n){s||(s=!0,window.setTimeout(function(){""===n&&t(e).prop("selectedIndex",0),t(e).selectric("refresh"),s=!1},0))})),t(e).selectric(a).on("change",function(){s||(s=!0,i.updateModel(),s=!1)}),{teardown:function(){t(e).selectric("destroy"),r&&r.cancel()}}}).type={},e.decorators.selectric=n})},{}],54:[function(e,t,n){"use strict";function o(e,t){this.node=e,this.callback=t,this.preventMousedownEvents=!1,this.bind(e)}function r(e){this.__tap_handler__.mousedown(e)}function i(e){this.__tap_handler__.touchdown(e)}function s(){this.addEventListener("keydown",u,!1),this.addEventListener("blur",a,!1)}function a(){this.removeEventListener("keydown",u,!1),this.removeEventListener("blur",a,!1)}function u(e){32===e.which&&this.__tap_handler__.fire()}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){return new o(e,t)};o.prototype={bind:function(e){window.navigator.pointerEnabled?e.addEventListener("pointerdown",r,!1):window.navigator.msPointerEnabled?e.addEventListener("MSPointerDown",r,!1):(e.addEventListener("mousedown",r,!1),e.addEventListener("touchstart",i,!1)),"BUTTON"!==e.tagName&&"button"!==e.type||e.addEventListener("focus",s,!1),e.__tap_handler__=this},fire:function(e,t,n){this.callback({node:this.node,original:e,x:t,y:n})},mousedown:function(e){var t=this;if(!this.preventMousedownEvents&&(void 0===e.which||1===e.which)){var n=e.clientX,o=e.clientY,r=e.pointerId,i=function(e){e.pointerId==r&&(t.fire(e,n,o),a())},s=function(e){e.pointerId==r&&(Math.abs(e.clientX-n)>=5||Math.abs(e.clientY-o)>=5)&&a()},a=function e(){t.node.removeEventListener("MSPointerUp",i,!1),document.removeEventListener("MSPointerMove",s,!1),document.removeEventListener("MSPointerCancel",e,!1),t.node.removeEventListener("pointerup",i,!1),document.removeEventListener("pointermove",s,!1),document.removeEventListener("pointercancel",e,!1),t.node.removeEventListener("click",i,!1),document.removeEventListener("mousemove",s,!1)};window.navigator.pointerEnabled?(this.node.addEventListener("pointerup",i,!1),document.addEventListener("pointermove",s,!1),document.addEventListener("pointercancel",a,!1)):window.navigator.msPointerEnabled?(this.node.addEventListener("MSPointerUp",i,!1),document.addEventListener("MSPointerMove",s,!1),document.addEventListener("MSPointerCancel",a,!1)):(this.node.addEventListener("click",i,!1),document.addEventListener("mousemove",s,!1)),setTimeout(a,400)}},touchdown:function(e){var t=this,n=e.touches[0],o=n.clientX,r=n.clientY,i=n.identifier,s=function(e){e.changedTouches[0].identifier===i?(e.preventDefault(),t.preventMousedownEvents=!0,clearTimeout(t.preventMousedownTimeout),t.preventMousedownTimeout=setTimeout(function(){t.preventMousedownEvents=!1},400),t.fire(e,o,r),u()):u()},a=function(e){1===e.touches.length&&e.touches[0].identifier===i||u();var t=e.touches[0];(Math.abs(t.clientX-o)>=5||Math.abs(t.clientY-r)>=5)&&u()},u=function e(){t.node.removeEventListener("touchend",s,!1),window.removeEventListener("touchmove",a,!1),window.removeEventListener("touchcancel",e,!1)};this.node.addEventListener("touchend",s,!1),window.addEventListener("touchmove",a,!1),window.addEventListener("touchcancel",u,!1),setTimeout(u,400)},teardown:function(){var e=this.node;e.removeEventListener("pointerdown",r,!1),e.removeEventListener("MSPointerDown",r,!1),e.removeEventListener("mousedown",r,!1),e.removeEventListener("touchstart",i,!1),e.removeEventListener("focus",s,!1)}}},{}],55:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(e){function t(){return{bindType:r.end,delegateType:r.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}}function n(){if(window.QUnit)return!1;var e=document.createElement("bootstrap");for(var t in i)if(void 0!==e.style[t])return{end:i[t]};return!1}function o(t){var n=this,o=!1;return e(this).one(s.TRANSITION_END,function(){o=!0}),setTimeout(function(){o||s.triggerTransitionEnd(n)},t),this}var r=!1,i={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},s={TRANSITION_END:"bsTransitionEnd",triggerTransitionEnd:function(t){e(t).trigger(r.end)},supportsTransitionEnd:function(){return Boolean(r)}};return r=n(),e.fn.emulateTransitionEnd=o,s.supportsTransitionEnd()&&(e.event.special[s.TRANSITION_END]=t()),s}(jQuery);n.default=o},{}],56:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.pick=function(e,t){t.reduce(function(t,n){return t[n]=e[n],t},{})},n.addToArray=function(e,t){-1===e.indexOf(t)&&e.push(t)},n.arrayContains=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]==t)return!0;return!1},n.arrayContentsMatch=function(e,t){var n;if(!(0,o.isArray)(e)||!(0,o.isArray)(t))return!1;if(e.length!==t.length)return!1;for(n=e.length;n--;)if(e[n]!==t[n])return!1;return!0},n.ensureArray=function(e){return"string"==typeof e?[e]:void 0===e?[]:e},n.lastItem=function(e){return e[e.length-1]},n.removeFromArray=function(e,t){if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},n.toArray=function(e){for(var t=[],n=e.length;n--;)t[n]=e[n];return t},n.findByKeyValue=function(e,t,n){return e.filter(function(e){return e[t]===n})};var o=e("./is")},{"./is":60}],57:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=$(document),r=$(window),i=$(document.documentElement).removeClass("has-no-js").addClass("has-js"),s=$(document.body),a=!!i.data("debug");document.createElement("template");n.APP_NAME="usports",n.DATA_API_KEY=".data-api",n.$document=o,n.$window=r,n.$html=i,n.$body=s,n.isDebug=a},{}],58:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";o(this,t);var i=r(this,e.call(this,n));return i.name=i.constructor.name,Object.defineProperty(i,"message",{configurable:!0,enumerable:!1,value:n,writable:!0}),Object.defineProperty(i,"name",{configurable:!0,enumerable:!1,value:i.constructor.name,writable:!0}),Error.hasOwnProperty("captureStackTrace")?(Error.captureStackTrace(i,i.constructor),r(i)):(Object.defineProperty(i,"stack",{configurable:!0,enumerable:!1,value:new Error(n).stack,writable:!0}),i)}return i(t,e),t}(Error),a=n.ImportError=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(s),u=(n.ModuleNotFoundError=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(a),n.NotImplementedError=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(s),n.Warning=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(s)),l=(n.DeprecationWarning=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(u),n.ImportWarning=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(u));n.ModuleNotFoundWarning=function(e){function t(){return o(this,t),r(this,e.apply(this,arguments))}return i(t,e),t}(l)},{}],59:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.escapeHtml=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},n.unescapeHtml=function(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&")},n.getNodeData=function(e){var t=e.attributes,n=/^data\-(.+)$/,o={};for(var r in t)if(t[r]){var i=t[r].name;if(i){var s=i.match(n);s&&(o[s[1]]=e.getAttribute(i))}}return o}},{}],60:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.isArray=function(e){return"[object Array]"===r.call(e)},n.isArrayLike=function(e){return i.test(r.call(e))},n.isEqual=function(e,t){return null===e&&null===t||"object"!==(void 0===e?"undefined":o(e))&&"object"!==(void 0===t?"undefined":o(t))&&e===t},n.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},n.isObject=function(e){return e&&"[object Object]"===r.call(e)},n.isFunction=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};var r=Object.prototype.toString,i=/^\[object (?:Array|FileList)\]$/},{}],61:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var r=e("../utils/environment"),i=e("../utils/array"),s=function(){function e(t){o(this,e),this.moduleId=t,window.so_refreshCallBackFunctions=window.so_refreshCallBackFunctions||[],window.so_refreshCallBackIndexedList=window.so_refreshCallBackIndexedList||[]}return e.prototype.has=function(e){return(0,i.arrayContains)(window.so_refreshCallBackIndexedList,this.parseKey(e))},e.prototype.set=function(e,t){e=this.parseKey(e),(0,i.arrayContains)(window.so_refreshCallBackIndexedList,e)||window.so_refreshCallBackIndexedList.push(e),window.so_refreshCallBackFunctions[e]=t},e.prototype.remove=function(e){e=this.parseKey(e),delete window.so_refreshCallBackFunctions[e],(0,i.removeFromArray)(window.so_refreshCallBackIndexedList,e)},e.prototype.clearAll=function(){window.so_refreshCallBackIndexedList.forEach(function(e){delete window.so_refreshCallBackFunctions[e]}),window.so_refreshCallBackIndexedList=[]},e.prototype.parseKey=function(e){return r.APP_NAME+"/"+this.moduleId+"/"+e},e}();n.default=s},{"../utils/array":56,"../utils/environment":57}],62:[function(e,t,n){"use strict";function o(e,t){var n=t.callback||"";if(!(0,s.isFunction)(n))return console.warn("Callback is not a function"),!1;var o=f+d++;return u[e].push({ident:o,callback:n}),o}function r(e,t){var n=t.ident||"";if(void 0===n||""===n)return console.warn("Need ident to remove callback"),!1;var o=(0,a.findByKeyValue)(u[e],"ident",n)[0];return void 0!==o?((0,a.removeFromArray)(u[e],o),!0):(console.warn("Callback could not be found"),!1)}function i(e){for(var t=u[e],n=0,o=t.length;n<o;n++)t[n].callback()}Object.defineProperty(n,"__esModule",{value:!0}),n.visibilityApi=void 0;var s=e("./is"),a=e("./array"),u={hidden:[],visible:[]},l=["addCallback","removeCallback"],c=["visible","hidden"],f="v-",d=0;e("./environment").$document.on("visibilitychange",function(e){i(document.hidden?"hidden":"visible")}),n.visibilityApi=function(e){var t=e.action||"",n=e.state||"",i=void 0;return(0,a.arrayContains)(l,t)?(0,a.arrayContains)(c,n)?("addCallback"===t?i=o(n,e):"removeCallback"===t&&(i=r(n,e)),i):(console.warn("State does not exist"),!1):(console.warn("Action does not exist"),!1)}},{"./array":56,"./environment":57,"./is":60}],63:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.vanguard=function(e,t,n){return e&&e.success?$.Deferred().resolve(e,t,n):$.Deferred().reject(n,t,"Bad HTTP Response Structure")}},{}],64:[function(e,t,n){!function(e,o){"object"==typeof n&&"object"==typeof t?t.exports=o():"function"==typeof define&&define.amd?define("Barba",[],o):"object"==typeof n?n.Barba=o():e.Barba=o()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="http://localhost:8080/dist",t(0)}([function(e,t,n){"function"!=typeof Promise&&(window.Promise=n(1));var o={version:"1.0.0",BaseTransition:n(4),BaseView:n(6),BaseCache:n(8),Dispatcher:n(7),HistoryManager:n(9),Pjax:n(10),Prefetch:n(13),Utils:n(5)};e.exports=o},function(e,t,n){(function(t){!function(n){function o(){}function r(e,t){return function(){e.apply(t,arguments)}}function i(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function s(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,p(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var o;try{o=n(e._value)}catch(e){return void u(t.promise,e)}a(t.promise,o)}else(1===e._state?a:u)(t.promise,e._value)})):e._deferreds.push(t)}function a(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof i)return e._state=3,e._value=t,void l(e);if("function"==typeof n)return void f(r(n,t),e)}e._state=1,e._value=t,l(e)}catch(t){u(e,t)}}function u(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&&0===e._deferreds.length&&p(function(){e._handled||h(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function c(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e(function(e){n||(n=!0,a(t,e))},function(e){n||(n=!0,u(t,e))})}catch(e){if(n)return;n=!0,u(t,e)}}var d=setTimeout,p="function"==typeof t&&t||function(e){d(e,0)},h=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){var n=new this.constructor(o);return s(this,new c(e,t,n)),n},i.all=function(e){var t=Array.prototype.slice.call(e);return new i(function(e,n){function o(i,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(e){o(i,e)},n)}t[i]=s,0==--r&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var r=t.length,i=0;i<t.length;i++)o(i,t[i])})},i.resolve=function(e){return e&&"object"==typeof e&&e.constructor===i?e:new i(function(t){t(e)})},i.reject=function(e){return new i(function(t,n){n(e)})},i.race=function(e){return new i(function(t,n){for(var o=0,r=e.length;o<r;o++)e[o].then(t,n)})},i._setImmediateFn=function(e){p=e},i._setUnhandledRejectionFn=function(e){h=e},void 0!==e&&e.exports?e.exports=i:n.Promise||(n.Promise=i)}(this)}).call(t,n(2).setImmediate)},function(e,t,n){(function(e,o){function r(e,t){this._id=e,this._clearFn=t}var i=n(3).nextTick,s=Function.prototype.apply,a=Array.prototype.slice,u={},l=0;t.setTimeout=function(){return new r(s.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(s.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},t.setImmediate="function"==typeof e?e:function(e){var n=l++,o=!(arguments.length<2)&&a.call(arguments,1);return u[n]=!0,i(function(){u[n]&&(o?e.apply(null,o):e.call(null),t.clearImmediate(n))}),n},t.clearImmediate="function"==typeof o?o:function(e){delete u[e]}}).call(t,n(2).setImmediate,n(2).clearImmediate)},function(e,t){function n(){f&&l&&(f=!1,l.length?c=l.concat(c):d=-1,c.length&&o())}function o(){if(!f){var e=s(n);f=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,f=!1,a(e)}}function r(e,t){this.fun=e,this.array=t}function i(){}var s,a,u=e.exports={};!function(){try{s=setTimeout}catch(e){s=function(){throw new Error("setTimeout is not defined")}}try{a=clearTimeout}catch(e){a=function(){throw new Error("clearTimeout is not defined")}}}();var l,c=[],f=!1,d=-1;u.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new r(e,t)),1!==c.length||f||s(o,0)},r.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=i,u.addListener=i,u.once=i,u.off=i,u.removeListener=i,u.removeAllListeners=i,u.emit=i,u.binding=function(e){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(e){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},function(e,t,n){var o=n(5),r={oldContainer:void 0,newContainer:void 0,newContainerLoading:void 0,extend:function(e){return o.extend(this,e)},init:function(e,t){var n=this;return this.oldContainer=e,this._newContainerPromise=t,this.deferred=o.deferred(),this.newContainerReady=o.deferred(),this.newContainerLoading=this.newContainerReady.promise,this.start(),this._newContainerPromise.then(function(e){n.newContainer=e,n.newContainerReady.resolve()}),this.deferred.promise},done:function(){this.oldContainer.parentNode.removeChild(this.oldContainer),this.newContainer.style.visibility="visible",this.deferred.resolve()},start:function(){}};e.exports=r},function(e,t){var n={getCurrentUrl:function(){return window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search},cleanLink:function(e){return e.replace(/#.*/,"")},xhrTimeout:5e3,xhr:function(e){var t=this.deferred(),n=new XMLHttpRequest;return n.onreadystatechange=function(){if(4===n.readyState)return 200===n.status?t.resolve(n.responseText):t.reject(new Error("xhr: HTTP code is not 200"))},n.ontimeout=function(){return t.reject(new Error("xhr: Timeout exceeded"))},n.open("GET",e),n.timeout=this.xhrTimeout,n.setRequestHeader("x-barba","yes"),n.send(),t.promise},extend:function(e,t){var n=Object.create(e);for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n},deferred:function(){return new function(){this.resolve=null,this.reject=null,this.promise=new Promise(function(e,t){this.resolve=e,this.reject=t}.bind(this))}},getPort:function(e){var t=void 0!==e?e:window.location.port,n=window.location.protocol;return""!=t?parseInt(t):"http:"===n?80:"https:"===n?443:void 0}};e.exports=n},function(e,t,n){var o=n(7),r=n(5),i={namespace:null,extend:function(e){return r.extend(this,e)},init:function(){var e=this;o.on("initStateChange",function(t,n){n&&n.namespace===e.namespace&&e.onLeave()}),o.on("newPageReady",function(t,n,o){e.container=o,t.namespace===e.namespace&&e.onEnter()}),o.on("transitionCompleted",function(t,n){t.namespace===e.namespace&&e.onEnterCompleted(),n&&n.namespace===e.namespace&&e.onLeaveCompleted()})},onEnter:function(){},onEnterCompleted:function(){},onLeave:function(){},onLeaveCompleted:function(){}};e.exports=i},function(e,t){var n={events:{},on:function(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)},off:function(e,t){e in this.events!=!1&&this.events[e].splice(this.events[e].indexOf(t),1)},trigger:function(e){if(e in this.events!=!1)for(var t=0;t<this.events[e].length;t++)this.events[e][t].apply(this,Array.prototype.slice.call(arguments,1))}};e.exports=n},function(e,t,n){var o=n(5),r={data:{},extend:function(e){return o.extend(this,e)},set:function(e,t){this.data[e]=t},get:function(e){return this.data[e]},reset:function(){this.data={}}};e.exports=r},function(e,t){var n={history:[],add:function(e,t){t||(t=void 0),this.history.push({url:e,namespace:t})},currentStatus:function(){return this.history[this.history.length-1]},prevStatus:function(){var e=this.history;return e.length<2?null:e[e.length-2]}};e.exports=n},function(e,t,n){var o=n(5),r=n(7),i=n(11),s=n(8),a=n(9),u={Dom:n(12),History:a,Cache:s,cacheEnabled:!0,transitionProgress:!1,ignoreClassLink:"no-barba",start:function(){this.init()},init:function(){var e=this.Dom.getContainer();this.Dom.getWrapper().setAttribute("aria-live","polite"),this.History.add(this.getCurrentUrl(),this.Dom.getNamespace(e)),r.trigger("initStateChange",this.History.currentStatus()),r.trigger("newPageReady",this.History.currentStatus(),{},e,this.Dom.currentHTML),r.trigger("transitionCompleted",this.History.currentStatus()),this.bindEvents()},bindEvents:function(){document.addEventListener("click",this.onLinkClick.bind(this)),window.addEventListener("popstate",this.onStateChange.bind(this))},getCurrentUrl:function(){return o.cleanLink(o.getCurrentUrl())},goTo:function(e){window.history.pushState(null,null,e),this.onStateChange()},forceGoTo:function(e){window.location=e},load:function(e){var t,n=o.deferred(),r=this;return(t=this.Cache.get(e))||(t=o.xhr(e),this.Cache.set(e,t)),t.then(function(e){var t=r.Dom.parseResponse(e);r.Dom.putContainer(t),r.cacheEnabled||r.Cache.reset(),n.resolve(t)},function(){r.forceGoTo(e),n.reject()}),n.promise},getHref:function(e){if(e)return e.getAttribute&&"string"==typeof e.getAttribute("xlink:href")?e.getAttribute("xlink:href"):"string"==typeof e.href?e.href:void 0},onLinkClick:function(e){for(var t=e.target;t&&!this.getHref(t);)t=t.parentNode;if(this.preventCheck(e,t)){e.stopPropagation(),e.preventDefault(),r.trigger("linkClicked",t,e);var n=this.getHref(t);this.goTo(n)}},preventCheck:function(e,t){if(!window.history.pushState)return!1;var n=this.getHref(t);return!(!t||!n)&&(!(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)&&((!t.target||"_blank"!==t.target)&&(window.location.protocol===t.protocol&&window.location.hostname===t.hostname&&(o.getPort()===o.getPort(t.port)&&(!(n.indexOf("#")>-1)&&((!t.getAttribute||"string"!=typeof t.getAttribute("download"))&&(o.cleanLink(n)!=o.cleanLink(location.href)&&!t.classList.contains(this.ignoreClassLink))))))))},getTransition:function(){return i},onStateChange:function(){var e=this.getCurrentUrl();if(this.transitionProgress&&this.forceGoTo(e),this.History.currentStatus().url===e)return!1;this.History.add(e);var t=this.load(e),n=Object.create(this.getTransition());this.transitionProgress=!0,r.trigger("initStateChange",this.History.currentStatus(),this.History.prevStatus());var o=n.init(this.Dom.getContainer(),t);t.then(this.onNewContainerLoaded.bind(this)),o.then(this.onTransitionEnd.bind(this))},onNewContainerLoaded:function(e){this.History.currentStatus().namespace=this.Dom.getNamespace(e),r.trigger("newPageReady",this.History.currentStatus(),this.History.prevStatus(),e,this.Dom.currentHTML)},onTransitionEnd:function(){this.transitionProgress=!1,r.trigger("transitionCompleted",this.History.currentStatus(),this.History.prevStatus())}};e.exports=u},function(e,t,n){var o=n(4).extend({start:function(){this.newContainerLoading.then(this.finish.bind(this))},finish:function(){document.body.scrollTop=0,this.done()}});e.exports=o},function(e,t){var n={dataNamespace:"namespace",wrapperId:"barba-wrapper",containerClass:"barba-container",currentHTML:document.documentElement.innerHTML,parseResponse:function(e){this.currentHTML=e;var t=document.createElement("div");t.innerHTML=e;var n=t.querySelector("title");return n&&(document.title=n.textContent),this.getContainer(t)},getWrapper:function(){var e=document.getElementById(this.wrapperId);if(!e)throw new Error("Barba.js: wrapper not found!");return e},getContainer:function(e){if(e||(e=document.body),!e)throw new Error("Barba.js: DOM not ready!");var t=this.parseContainer(e);if(t&&t.jquery&&(t=t[0]),!t)throw new Error("Barba.js: no container found");return t},getNamespace:function(e){return e&&e.dataset?e.dataset[this.dataNamespace]:e?e.getAttribute("data-"+this.dataNamespace):null},putContainer:function(e){e.style.visibility="hidden",this.getWrapper().appendChild(e)},parseContainer:function(e){return e.querySelector("."+this.containerClass)}};e.exports=n},function(e,t,n){var o=n(5),r=n(10),i={ignoreClassLink:"no-barba-prefetch",init:function(){if(!window.history.pushState)return!1;document.body.addEventListener("mouseover",this.onLinkEnter.bind(this)),document.body.addEventListener("touchstart",this.onLinkEnter.bind(this))},onLinkEnter:function(e){for(var t=e.target;t&&!r.getHref(t);)t=t.parentNode;if(t&&!t.classList.contains(this.ignoreClassLink)){var n=r.getHref(t);if(r.preventCheck(e,t)&&!r.Cache.get(n)){var i=o.xhr(n);r.Cache.set(n,i)}}}};e.exports=i}])})},{}]},{},[1,2,3,5,6,4,8,9,10,11,12,13,14,15,16,17,18,19,20,22,23,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63]);