1/*! For license information please see vendor.js.LICENSE.txt */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"1x13":function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("xeH2"),s=i.n(n);window.matchMedia||(window.matchMedia=function(){var e=window.styleMedia||window.media;if(!e){var t,i=document.createElement("style"),n=document.getElementsByTagName("script")[0];i.type="text/css",i.id="matchmediajs-test",n?n.parentNode.insertBefore(i,n):document.head.appendChild(i),t="getComputedStyle"in window&&window.getComputedStyle(i,null)||i.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return i.styleSheet?i.styleSheet.cssText=n:i.textContent=n,"1px"===t.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}());var a={queries:[],current:"",_init(){s()("meta.foundation-mq").length||s()('<meta class="foundation-mq">').appendTo(document.head);var e,t=s()(".foundation-mq").css("font-family");for(var i in e=function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.trim().slice(1,-1)))return t;return t=e.split("&").reduce((function(e,t){var i=t.replace(/\+/g," ").split("="),n=i[0],s=i[1];return n=decodeURIComponent(n),s=void 0===s?null:decodeURIComponent(s),e.hasOwnProperty(n)?Array.isArray(e[n])?e[n].push(s):e[n]=[e[n],s]:e[n]=s,e}),{})}(t))e.hasOwnProperty(i)&&this.queries.push({name:i,value:`only screen and (min-width: ${e[i]})`});this.current=this._getCurrentSize(),this._watcher()},atLeast(e){var t=this.get(e);return!!t&&window.matchMedia(t).matches},is(e){return(e=e.trim().split(" ")).length>1&&"only"===e[1]?e[0]===this._getCurrentSize():this.atLeast(e[0])},get(e){for(var t in this.queries)if(this.queries.hasOwnProperty(t)){var i=this.queries[t];if(e===i.name)return i.value}return null},_getCurrentSize(){for(var e,t=0;t<this.queries.length;t++){var i=this.queries[t];window.matchMedia(i.value).matches&&(e=i)}return"object"==typeof e?e.name:e},_watcher(){s()(window).off("resize.zf.mediaquery").on("resize.zf.mediaquery",()=>{var e=this._getCurrentSize(),t=this.current;e!==t&&(this.current=e,s()(window).trigger("changed.zf.mediaquery",[e,t]))})}}},CERU:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("xeH2"),s=i.n(n),a=i("RnVY"),r=i("sVZ0"),o=i("l67y"),l=i("oMJq"),c=i("CKjC");class d extends c.a{_setup(e,t){this.$element=e,this.options=s.a.extend({},d.defaults,this.$element.data(),t),this.className="Drilldown",this._init(),a.a.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close",TAB:"down",SHIFT_TAB:"up"})}_init(){r.a.Feather(this.$element,"drilldown"),this.options.autoApplyClass&&this.$element.addClass("drilldown"),this.$element.attr({role:"tree","aria-multiselectable":!1}),this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]").attr("role","group"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").attr("role","treeitem").find("a"),this.$currentMenu=this.$element,this.$element.attr("data-mutate",this.$element.attr("data-drilldown")||Object(o.a)(6,"drilldown")),this._prepareMenu(),this._registerEvents(),this._keyboardEvents()}_prepareMenu(){var e=this;this.$submenuAnchors.each((function(){var t=s()(this),i=t.parent();e.options.parentLink&&t.clone().prependTo(i.children("[data-submenu]")).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="menuitem"></li>'),t.data("savedHref",t.attr("href")).removeAttr("href").attr("tabindex",0),t.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"group"}),e._events(t)})),this.$submenus.each((function(){var t=s()(this);if(!t.find(".js-drilldown-back").length)switch(e.options.backButtonPosition){case"bottom":t.append(e.options.backButton);break;case"top":t.prepend(e.options.backButton);break;default:console.error("Unsupported backButtonPosition value '"+e.options.backButtonPosition+"'")}e._back(t)})),this.$submenus.addClass("invisible"),this.options.autoHeight||this.$submenus.addClass("drilldown-submenu-cover-previous"),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=s()(this.options.wrapper).addClass("is-drilldown"),this.options.animateHeight&&this.$wrapper.addClass("animate-height"),this.$element.wrap(this.$wrapper)),this.$wrapper=this.$element.parent(),this.$wrapper.css(this._getMaxDims())}_resize(){this.$wrapper.css({"max-width":"none","min-height":"none"}),this.$wrapper.css(this._getMaxDims())}_events(e){var t=this;e.off("click.zf.drilldown").on("click.zf.drilldown",(function(i){if(s()(i.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&(i.stopImmediatePropagation(),i.preventDefault()),t._show(e.parent("li")),t.options.closeOnClick){var n=s()("body");n.off(".zf.drilldown").on("click.zf.drilldown",(function(e){e.target===t.$element[0]||s.a.contains(t.$element[0],e.target)||(e.preventDefault(),t._hideAll(),n.off(".zf.drilldown"))}))}}))}_registerEvents(){this.options.scrollTop&&(this._bindHandler=this._scrollTop.bind(this),this.$element.on("open.zf.drilldown hide.zf.drilldown closed.zf.drilldown",this._bindHandler)),this.$element.on("mutateme.zf.trigger",this._resize.bind(this))}_scrollTop(){var e=this,t=""!=e.options.scrollTopElement?s()(e.options.scrollTopElement):e.$element,i=parseInt(t.offset().top+e.options.scrollTopOffset,10);s()("html, body").stop(!0).animate({scrollTop:i},e.options.animationDuration,e.options.animationEasing,(function(){this===s()("html")[0]&&e.$element.trigger("scrollme.zf.drilldown")}))}_keyboardEvents(){var e=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown",(function(t){var i,n,r=s()(this),l=r.parent("li").parent("ul").children("li").children("a");l.each((function(e){if(s()(this).is(r))return i=l.eq(Math.max(0,e-1)),void(n=l.eq(M
2ath.min(e+1,l.length-1)))})),a.a.handleKey(t,"Drilldown",{next:function(){if(r.is(e.$submenuAnchors))return e._show(r.parent("li")),r.parent("li").one(Object(o.f)(r),(function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()})),!0},previous:function(){return e._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(Object(o.f)(r),(function(){setTimeout((function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()}),1)})),!0},up:function(){return i.focus(),!r.is(e.$element.find("> li:first-child > a"))},down:function(){return n.focus(),!r.is(e.$element.find("> li:last-child > a"))},close:function(){r.is(e.$element.find("> li > a"))||(e._hide(r.parent().parent()),r.parent().parent().siblings("a").focus())},open:function(){return(!e.options.parentLink||!r.attr("href"))&&(r.is(e.$menuItems)?r.is(e.$submenuAnchors)?(e._show(r.parent("li")),r.parent("li").one(Object(o.f)(r),(function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()})),!0):void 0:(e._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(Object(o.f)(r),(function(){setTimeout((function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()}),1)})),!0))},handled:function(e){e&&t.preventDefault(),t.stopImmediatePropagation()}})}))}_hideAll(){var e=this.$element.find(".is-drilldown-submenu.is-active").addClass("is-closing");this.options.autoHeight&&this.$wrapper.css({height:e.parent().closest("ul").data("calcHeight")}),e.one(Object(o.f)(e),(function(t){e.removeClass("is-active is-closing")})),this.$element.trigger("closed.zf.drilldown")}_back(e){var t=this;e.off("click.zf.drilldown"),e.children(".js-drilldown-back").on("click.zf.drilldown",(function(i){i.stopImmediatePropagation(),t._hide(e);let n=e.parent("li").parent("ul").parent("li");n.length&&t._show(n)}))}_menuLinkEvents(){var e=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",(function(t){setTimeout((function(){e._hideAll()}),0)}))}_setShowSubMenuClasses(e,t){e.addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),e.parent("li").attr("aria-expanded",!0),!0===t&&this.$element.trigger("open.zf.drilldown",[e])}_setHideSubMenuClasses(e,t){e.removeClass("is-active").addClass("invisible").attr("aria-hidden",!0),e.parent("li").attr("aria-expanded",!1),!0===t&&e.trigger("hide.zf.drilldown",[e])}_showMenu(e,t){var i=this;if(this.$element.find('li[aria-expanded="true"] > ul[data-submenu]').each((function(e){i._setHideSubMenuClasses(s()(this))})),this.$currentMenu=e,e.is("[data-drilldown]"))return!0===t&&e.find('li[role="treeitem"] > a').first().focus(),void(this.options.autoHeight&&this.$wrapper.css("height",e.data("calcHeight")));var n=e.children().first().parentsUntil("[data-drilldown]","[data-submenu]");n.each((function(a){0===a&&i.options.autoHeight&&i.$wrapper.css("height",s()(this).data("calcHeight"));var r=a==n.length-1;!0===r&&s()(this).one(Object(o.f)(s()(this)),()=>{!0===t&&e.find('li[role="treeitem"] > a').first().focus()}),i._setShowSubMenuClasses(s()(this),r)}))}_show(e){const t=e.children("[data-submenu]");e.attr("aria-expanded",!0),this.$currentMenu=t,t.addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),this.options.autoHeight&&this.$wrapper.css({height:t.data("calcHeight")}),this.$element.trigger("open.zf.drilldown",[e])}_hide(e){this.options.autoHeight&&this.$wrapper.css({height:e.parent().closest("ul").data("calcHeight")});e.parent("li").attr("aria-expanded",!1),e.attr("aria-hidden",!0),e.addClass("is-closing").one(Object(o.f)(e),(function(){e.removeClass("is-active is-closing"),e.blur().addClass("invisible")})),e.trigger("hide.zf.drilldown",[e])}_getMaxDims(){var e=0,t={},i=this;return this.$submenus.add(this.$element).each((function(){s()(this).children("li").length;var t=l.a.GetDimensions(this).height;e=t>e?t:e,i.options.autoHeight&&s()(this).data("calcHeight",t)})),this.options.autoHeight?t.height=this.$currentMenu.data("calcHeight"):t["min-height"]=`${e}px`,t["max-width"]=`${this.$element[0].getBoundingClientRect().width}px`,t}_destroy(){this.options.scrollTop&&this.$element.off(".zf.drilldown",this._bindHandler),this._hideAll(),this.$element.off("mutateme.zf.trigger"),r.a.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"),this.$submenuAnchors.each((function(){s()(this).off(".zf.drilldown")})),this.$element.find("[data-is-parent-link]").detach(),this.$submenus.removeClass("drilldown-submenu-cover-previous invisible"),this.$element.find("a").each((function(){var e=s()(this);e.removeAttr("tabindex"),e.data("savedHref")&&e.attr("href",e.data("savedHref")).removeData("savedHref")}))}}d.defaults={autoApplyClass:!0,backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',backButtonPosition:"top",wrapper:"<div></div>",parentLink:!1,closeOnClick:!1,autoHeight:!1,animateHeight:!1,scrollTop:!1,scrollTopElement:"",scrollTopOffset:0,animationDuration:500,animationEasing:"swing"}},CKjC:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));i("xeH2");var n=i("l67y");class s{constructor(e,t){this._setup(e,t);var i=r(this);this.uuid=Object(n.a)(6,i),this.$element.attr(`data-${i}`)||this.$element.attr(`data-${i}`,this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger(`init.zf.${i}`)}destroy(){this._destroy();var e=r(this);for(var t in this.$element.removeAttr(`data-${e}`).removeData("zfPlugin").trigger(`destroyed.zf.${e}`),this)this[t]=null}}function a(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function r(e){return void 0!==e.constructor.name?a(e.constructor.name):a(e.className)}},FM30:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("xeH2"),s=i.n(n),a=i("CKjC"),r=i("l67y"),o=i("RnVY"),l=i("sVZ0"),c=i("oMJq");class d extends a.a{_setup(e,t){this.$element=e,this.options=s.a.extend({},d.defaults,this.$element.data(),t),this.className="DropdownMenu",this._init(),o.a.register("DropdownMenu",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}_init(){l.a.Feather(this.$element,"dropdown");var e=this.$element.find("li.is-dropdown-submenu-parent");this.$element.children(".is-dropdown-submenu-parent").children(".is-dropdown-submenu").addClass("first-sub"),this.$menuItems=this.$element.find('[role="menuitem"]'),this.$tabs=this.$element.children('[role="menuitem"]'),this.$tabs.find("ul.is-dropdown-submenu").addClass(this.options.verticalClass),"auto"===this.options.alignment?this.$element.hasClass(this.options.rightClass)||Object(r.e)()||this.$element.parents(".top-bar-right").is("*")?(this.options.alignment="right",e.addClass("opens-left")):(this.options.alignment="left",e.addClass("opens-right")):"right"===this.options.alignment?e.addClass("opens-left"):e.addClass("opens-right"),this.changed=!1,this._events()}_isVertical(){return"block"===this.$tabs.css("display")||"column"===this.$element.css("flex-direction")}_isRtl(){return this.$element.hasClass("align-right")||Object(r.e)()&&
2!this.$element.hasClass("align-left")}_events(){var e=this,t="ontouchstart"in window||void 0!==window.ontouchstart,i="is-dropdown-submenu-parent";(this.options.clickOpen||t)&&this.$menuItems.on("click.zf.dropdownmenu touchstart.zf.dropdownmenu",(function(n){var a=s()(n.target).parentsUntil("ul",`.${i}`),r=a.hasClass(i),o="true"===a.attr("data-is-click"),l=a.children(".is-dropdown-submenu");if(r)if(o){if(!e.options.closeOnClick||!e.options.clickOpen&&!t||e.options.forceFollow&&t)return;n.stopImmediatePropagation(),n.preventDefault(),e._hide(a)}else n.preventDefault(),n.stopImmediatePropagation(),e._show(l),a.add(a.parentsUntil(e.$element,`.${i}`)).attr("data-is-click",!0)})),e.options.closeOnClickInside&&this.$menuItems.on("click.zf.dropdownmenu",(function(t){s()(this).hasClass(i)||e._hide()})),this.options.disableHover||this.$menuItems.on("mouseenter.zf.dropdownmenu",(function(t){var n=s()(this);n.hasClass(i)&&(clearTimeout(n.data("_delay")),n.data("_delay",setTimeout((function(){e._show(n.children(".is-dropdown-submenu"))}),e.options.hoverDelay)))})).on("mouseleave.zf.dropdownMenu",Object(r.c)((function(t){var n=s()(this);if(n.hasClass(i)&&e.options.autoclose){if("true"===n.attr("data-is-click")&&e.options.clickOpen)return!1;clearTimeout(n.data("_delay")),n.data("_delay",setTimeout((function(){e._hide(n)}),e.options.closingTime))}}))),this.$menuItems.on("keydown.zf.dropdownmenu",(function(t){var i,n,a=s()(t.target).parentsUntil("ul",'[role="menuitem"]'),r=e.$tabs.index(a)>-1,l=r?e.$tabs:a.siblings("li").add(a);l.each((function(e){if(s()(this).is(a))return i=l.eq(e-1),void(n=l.eq(e+1))}));var c=function(){n.children("a:first").focus(),t.preventDefault()},d=function(){i.children("a:first").focus(),t.preventDefault()},u=function(){var i=a.children("ul.is-dropdown-submenu");i.length&&(e._show(i),a.find("li > a:first").focus(),t.preventDefault())},h=function(){var i=a.parent("ul").parent("li");i.children("a:first").focus(),e._hide(i),t.preventDefault()},p={open:u,close:function(){e._hide(e.$element),e.$menuItems.eq(0).children("a").focus(),t.preventDefault()},handled:function(){t.stopImmediatePropagation()}};r?e._isVertical()?e._isRtl()?s.a.extend(p,{down:c,up:d,next:h,previous:u}):s.a.extend(p,{down:c,up:d,next:u,previous:h}):e._isRtl()?s.a.extend(p,{next:d,previous:c,down:u,up:h}):s.a.extend(p,{next:c,previous:d,down:u,up:h}):e._isRtl()?s.a.extend(p,{next:h,previous:u,down:c,up:d}):s.a.extend(p,{next:u,previous:h,down:c,up:d}),o.a.handleKey(t,"DropdownMenu",p)}))}_addBodyHandler(){var e=s()(document.body),t=this;e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu").on("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu",(function(i){t.$element.find(i.target).length||(t._hide(),e.off("mouseup.zf.dropdownmenu touchend.zf.dropdownmenu"))}))}_show(e){var t=this.$tabs.index(this.$tabs.filter((function(t,i){return s()(i).find(e).length>0}))),i=e.parent("li.is-dropdown-submenu-parent").siblings("li.is-dropdown-submenu-parent");this._hide(i,t),e.css("visibility","hidden").addClass("js-dropdown-active").parent("li.is-dropdown-submenu-parent").addClass("is-active");var n=c.a.ImNotTouchingYou(e,null,!0);if(!n){var a="left"===this.options.alignment?"-right":"-left",r=e.parent(".is-dropdown-submenu-parent");r.removeClass(`opens${a}`).addClass(`opens-${this.options.alignment}`),(n=c.a.ImNotTouchingYou(e,null,!0))||r.removeClass(`opens-${this.options.alignment}`).addClass("opens-inner"),this.changed=!0}e.css("visibility",""),this.options.closeOnClick&&this._addBodyHandler(),this.$element.trigger("show.zf.dropdownmenu",[e])}_hide(e,t){var i;if((i=e&&e.length?e:void 0!==t?this.$tabs.not((function(e,i){return e===t})):this.$element).hasClass("is-active")||i.find(".is-active").length>0){if(i.find("li.is-active").add(i).attr({"data-is-click":!1}).removeClass("is-active"),i.find("ul.js-dropdown-active").removeClass("js-dropdown-active"),this.changed||i.find("opens-inner").length){var n="left"===this.options.alignment?"right":"left";i.find("li.is-dropdown-submenu-parent").add(i).removeClass(`opens-inner opens-${this.options.alignment}`).addClass(`opens-${n}`),this.changed=!1}this.$element.trigger("hide.zf.dropdownmenu",[i])}}_destroy(){this.$menuItems.off(".zf.dropdownmenu").removeAttr("data-is-click").removeClass("is-right-arrow is-left-arrow is-down-arrow opens-right opens-left opens-inner"),s()(document.body).off(".zf.dropdownmenu"),l.a.Burn(this.$element,"dropdown")}}d.defaults={disableHover:!1,autoclose:!0,hoverDelay:50,clickOpen:!1,closingTime:500,alignment:"auto",closeOnClick:!0,closeOnClickInside:!0,verticalClass:"vertical",rightClass:"align-right",forceFollow:!0}},LKBu:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}
2));var n=i("xeH2"),s=i.n(n),a=i("l67y"),r=i("1x13"),o={version:"6.5.1",_plugins:{},_uuids:[],plugin:function(e,t){var i=t||l(e),n=c(i);this._plugins[n]=this[i]=e},registerPlugin:function(e,t){var i=t?c(t):l(e.constructor).toLowerCase();e.uuid=Object(a.a)(6,i),e.$element.attr(`data-${i}`)||e.$element.attr(`data-${i}`,e.uuid),e.$element.data("zfPlugin")||e.$element.data("zfPlugin",e),e.$element.trigger(`init.zf.${i}`),this._uuids.push(e.uuid)},unregisterPlugin:function(e){var t=c(l(e.$element.data("zfPlugin").constructor));for(var i in this._uuids.splice(this._uuids.indexOf(e.uuid),1),e.$element.removeAttr(`data-${t}`).removeData("zfPlugin").trigger(`destroyed.zf.${t}`),e)e[i]=null},reInit:function(e){var t=e instanceof s.a;try{if(t)e.each((function(){s()(this).data("zfPlugin")._init()}));else{var i=this;({object:function(e){e.forEach((function(e){e=c(e),s()("[data-"+e+"]").foundation("_init")}))},string:function(){e=c(e),s()("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(i._plugins))}})[typeof e](e)}}catch(e){console.error(e)}finally{return e}},reflow:function(e,t){void 0===t?t=Object.keys(this._plugins):"string"==typeof t&&(t=[t]);var i=this;s.a.each(t,(function(t,n){var a=i._plugins[n];s()(e).find("[data-"+n+"]").addBack("[data-"+n+"]").each((function(){var e=s()(this),t={};if(e.data("zfPlugin"))console.warn("Tried to initialize "+n+" on an element that already has a Foundation plugin.");else{if(e.attr("data-options"))e.attr("data-options").split(";").forEach((function(e,i){var n=e.split(":").map((function(e){return e.trim()}));n[0]&&(t[n[0]]=function(e){if("true"===e)return!0;if("false"===e)return!1;if(!isNaN(1*e))return parseFloat(e);return e}(n[1]))}));try{e.data("zfPlugin",new a(s()(this),t))}catch(e){console.error(e)}finally{return}}}))}))},getFnName:l,addToJquery:function(e){return e.fn.foundation=function(t){var i=typeof t,n=e(".no-js");if(n.length&&n.removeClass("no-js"),"undefined"===i)r.a._init(),o.reflow(this);else{if("string"!==i)throw new TypeError(`We're sorry, ${i} is not a valid parameter. You must use a string representing the method you wish to invoke.`);var s=Array.prototype.slice.call(arguments,1),a=this.data("zfPlugin");if(void 0===a||void 0===a[t])throw new ReferenceError("We're sorry, '"+t+"' is not an available method for "+(a?l(a):"this element")+".");1===this.length?a[t].apply(a,s):this.each((function(i,n){a[t].apply(e(n).data("zfPlugin"),s)}))}return this},e}};function l(e){if(void 0===Function.prototype.name){var t=/function\s([^(]{1,})\(/.exec(e.toString());return t&&t.length>1?t[1].trim():""}return void 0===e.prototype?e.constructor.name:e.prototype.constructor.name}function c(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}o.util={throttle:function(e,t){var i=null;return function(){var n=this,s=arguments;null===i&&(i=setTimeout((function(){e.apply(n,s),i=null}),t))}}},window.Foundation=o,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var i=e[t];window.requestAnimationFrame=window[i+"RequestAnimationFrame"],window.cancelAnimationFrame=window[i+"CancelAnimationFrame"]||window[i+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var n=0;window.requestAnimationFrame=function(e){var t=Date.now(),i=Math.max(n+16,t);return setTimeout((function(){e(n=i)}),i-t)},window.cancelAnimationFrame=clearTimeout}window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),i=this,n=function(){},s=function(){return i.apply(this instanceof n?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(n.prototype=this.prototype),s.prototype=new n,s})},NmC5:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("xeH2"),s=i.n(n),a=i("l67y"),r=i("RnVY"),o=i("1x13"),l=i("CKjC"),c=i("xDCs");class d extends l.a{_setup(e,t){this.className="OffCanvas",this.$element=e,this.options=s.a.extend({},d.defaults,this.$element.data(),t),this.contentClasses={base:[],reveal:[]},this.$lastTrigger=s()(),this.$triggers=s()(),this.position="left",this.$content=s()(),this.nested=!!this.options.nested,s()(["push","overlap"]).each((e,t)=>{this.contentClasses.base.push("has-transition-"+t)}),s()(["left","right","top","bottom"]).each((e,t)=>{this.contentClasses.base.push("has-position-"+t),this.contentClasses.reveal.push("has-reveal-"+t)}),c.a.init(s.a),o.a._init(),this._init(),this._events(),r.a.register("OffCanvas",{ESCAPE:"close"})}_init(){var e=this.$element.attr("id");if(this.$element.attr("aria-hidden","true"),this.options.contentId?this.$content=s()("#"+this.options.contentId):this.$element.siblings("[data-off-canvas-content]").length?this.$content=this.$element.siblings("[data-off-canvas-content]").first():this.$content=this.$element.closest("[data-off-canvas-content]").first(),this.options.contentId?this.options.contentId&&null===this.options.nested&&console.warn("Remember to use the nested option if using the content ID option!"):this.nested=0===this.$element.siblings("[data-off-canvas-content]").length,!0===this.nested&&(this.options.transition="overlap",this.$element.removeClass("is-transition-push")),this.$element.addClass(`is-transition-${this.options.transition} is-closed`),this.$triggers=s()(document).find('[data-open="'+e+'"], [data-close="'+e+'"], [data-toggle="'+e+'"]').attr("aria-expanded","fal
2se").attr("aria-controls",e),this.position=this.$element.is(".position-left, .position-top, .position-right, .position-bottom")?this.$element.attr("class").match(/position\-(left|top|right|bottom)/)[1]:this.position,!0===this.options.contentOverlay){var t=document.createElement("div"),i="fixed"===s()(this.$element).css("position")?"is-overlay-fixed":"is-overlay-absolute";t.setAttribute("class","js-off-canvas-overlay "+i),this.$overlay=s()(t),"is-overlay-fixed"===i?s()(this.$overlay).insertAfter(this.$element):this.$content.append(this.$overlay)}var n=new RegExp(Object(a.b)(this.options.revealClass)+"([^\\s]+)","g").exec(this.$element[0].className);n&&(this.options.isRevealed=!0,this.options.revealOn=this.options.revealOn||n[1]),!0===this.options.isRevealed&&this.options.revealOn&&(this.$element.first().addClass(`${this.options.revealClass}${this.options.revealOn}`),this._setMQChecker()),this.options.transitionTime&&this.$element.css("transition-duration",this.options.transitionTime),this._removeContentClasses()}_events(){(this.$element.off(".zf.trigger .zf.offcanvas").on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"keydown.zf.offcanvas":this._handleKeyboard.bind(this)}),!0===this.options.closeOnClick)&&(this.options.contentOverlay?this.$overlay:this.$content).on({"click.zf.offcanvas":this.close.bind(this)})}_setMQChecker(){var e=this;this.onLoadListener=Object(a.d)(s()(window),(function(){o.a.atLeast(e.options.revealOn)&&e.reveal(!0)})),s()(window).on("changed.zf.mediaquery",(function(){o.a.atLeast(e.options.revealOn)?e.reveal(!0):e.reveal(!1)}))}_removeContentClasses(e){"boolean"!=typeof e?this.$content.removeClass(this.contentClasses.base.join(" ")):!1===e&&this.$content.removeClass(`has-reveal-${this.position}`)}_addContentClasses(e){this._removeContentClasses(e),"boolean"!=typeof e?this.$content.addClass(`has-transition-${this.options.transition} has-position-${this.position}`):!0===e&&this.$content.addClass(`has-reveal-${this.position}`)}reveal(e){e?(this.close(),this.isRevealed=!0,this.$element.attr("aria-hidden","false"),this.$element.off("open.zf.trigger toggle.zf.trigger"),this.$element.removeClass("is-closed")):(this.isRevealed=!1,this.$element.attr("aria-hidden","true"),this.$element.off("open.zf.trigger toggle.zf.trigger").on({"open.zf.trigger":this.open.bind(this),"toggle.zf.trigger":this.toggle.bind(this)}),this.$element.addClass("is-closed")),this._addContentClasses(e)}_stopScrolling(e){return!1}_recordScrollable(e){let t=this;t.scrollHeight!==t.clientHeight&&(0===t.scrollTop&&(t.scrollTop=1),t.scrollTop===t.scrollHeight-t.clientHeight&&(t.scrollTop=t.scrollHeight-t.clientHeight-1)),t.allowUp=t.scrollTop>0,t.allowDown=t.scrollTop<t.scrollHeight-t.clientHeight,t.lastY=e.originalEvent.pageY}_stopScrollPropagation(e){let t=e.pageY<this.lastY,i=!t;this.lastY=e.pageY,t&&this.allowUp||i&&this.allowDown?e.stopPropagation():e.preventDefault()}open(e,t){if(!this.$element.hasClass("is-open")&&!this.isRevealed){var i=this;t&&(this.$lastTrigger=t),"top"===this.options.forceTo?window.scrollTo(0,0):"bottom"===this.options.forceTo&&window.scrollTo(0,document.body.scrollHeight),this.options.transitionTime&&"overlap"!==this.options.transition?this.$element.siblings("[data-off-canvas-content]").css("transition-duration",this.options.transitionTime):this.$element.siblings("[data-off-canvas-content]").css("transition-duration",""),this.$element.addClass("is-open").removeClass("is-closed"),this.$triggers.attr("aria-expanded","true"),this.$element.attr("aria-hidden","false"),this.$content.addClass("is-open-"+this.position),!1===this.options.contentScroll&&(s()("body").addClass("is-off-canvas-open").on("touchmove",this._stopScrolling),this.$element.on("touchstart",this._recordScrollable),this.$element.on("touchmove",this._stopScrollPropagation)),!0===this.options.contentOverlay&&this.$overlay.addClass("is-visible"),!0===this.options.closeOnClick&&!0===this.options.contentOverlay&&this.$overlay.addClass("is-closable"),!0===this.options.autoFocus&&this.$element.one(Object(a.f)(this.$element),(function(){if(i.$element.hasClass("is-open")){var e=i.$element.find("[data-autofocus]");e.length?e.eq(0).focus():i.$element.find("a, button").eq(0).focus()}})),!0===this.options.trapFocus&&(this.$content.attr("tabindex","-1"),r.a.trapFocus(this.$element)),this._addContentClasses(),this.$element.trigger("opened.zf.offcanvas")}}close(e){if(this.$element.hasClass("is-open")&&!this.isRevealed){var t=this;this.$element.removeClass("is-open"),this.$element.attr("aria-hidden","true").trigger("closed.zf.offcanvas"),this.$content.removeClass("is-open-left is-open-top is-open-right is-open-bottom"),!1===this.options.contentScroll&&(s()("body").removeClass("is-off-canvas-open").off("touchmove",this._stopScrolling),this.$element.off("touchstart",this._recordScrollable),this.$element.off("touchmove",this._stopScrollPropagation)),!0===this.options.contentOverlay&&this.$overlay.removeClass("is-visible"),!0===this.options.closeOnClick&&!0===this.options.contentOverlay&&this.$overlay.removeClass("is-closable"),this.$triggers.attr("aria-expanded","fal
2se"),!0===this.options.trapFocus&&(this.$content.removeAttr("tabindex"),r.a.releaseFocus(this.$element)),this.$element.one(Object(a.f)(this.$element),(function(e){t.$element.addClass("is-closed"),t._removeContentClasses()}))}}toggle(e,t){this.$element.hasClass("is-open")?this.close(e,t):this.open(e,t)}_handleKeyboard(e){r.a.handleKey(e,"OffCanvas",{close:()=>(this.close(),this.$lastTrigger.focus(),!0),handled:()=>{e.stopPropagation(),e.preventDefault()}})}_destroy(){this.close(),this.$element.off(".zf.trigger .zf.offcanvas"),this.$overlay.off(".zf.offcanvas"),this.onLoadListener&&s()(window).off(this.onLoadListener)}}d.defaults={closeOnClick:!0,contentOverlay:!0,contentId:null,nested:null,contentScroll:!0,transitionTime:null,transition:"push",forceTo:null,isRevealed:!1,revealOn:null,autoFocus:!0,revealClass:"reveal-for-",trapFocus:!1}},RnVY:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("xeH2"),s=i.n(n),a=i("l67y");const r={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",35:"END",36:"HOME",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"};var o={};function l(e){return!!e&&e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter((function(){return!(!s()(this).is(":visible")||s()(this).attr("tabindex")<0)}))}function c(e){var t=r[e.which||e.keyCode]||String.fromCharCode(e.which).toUpperCase();return t=t.replace(/\W+/,""),e.shiftKey&&(t=`SHIFT_${t}`),e.ctrlKey&&(t=`CTRL_${t}`),e.altKey&&(t=`ALT_${t}`),t=t.replace(/_$/,"")}var d={keys:function(e){var t={};for(var i in e)t[e[i]]=e[i];return t}(r),parseKey:c,handleKey(e,t,i){var n,r=o[t],l=this.parseKey(e);if(!r)return console.warn("Component not defined!");if((n=i[(void 0===r.ltr?r:Object(a.e)()?s.a.extend({},r.ltr,r.rtl):s.a.extend({},r.rtl,r.ltr))[l]])&&"function"==typeof n){var c=n.apply();(i.handled||"function"==typeof i.handled)&&i.handled(c)}else(i.unhandled||"function"==typeof i.unhandled)&&i.unhandled()},findFocusable:l,register(e,t){o[e]=t},trapFocus(e){var t=l(e),i=t.eq(0),n=t.eq(-1);e.on("keydown.zf.trapfocus",(function(e){e.target===n[0]&&"TAB"===c(e)?(e.preventDefault(),i.focus()):e.target===i[0]&&"SHIFT_TAB"===c(e)&&(e.preventDefault(),n.focus())}))},releaseFocus(e){e.off("keydown.zf.trapfocus")}}},SjWa:function(e,t,i){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}i.d(t,"a",(function(){return Ie}));var s={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function a(e){e.length=0}function r(e,t,i){return Array.prototype.slice.call(e,t,i)}function o(e){return e.bind.apply(e,[null].concat(r(arguments,1)))}var l=setTimeout,c=function(){};function d(e){return requestAnimationFrame(e)}function u(e,t){return typeof t===e}function h(e){return!v(e)&&u("object",e)}var p=Array.isArray,f=o(u,"function"),m=o(u,"string"),g=o(u,"undefined");function v(e){return null===e}function b(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function y(e){return p(e)?e:[e]}function w(e,t){y(e).forEach(t)}function C(e,t){return e.indexOf(t)>-1}function T(e,t){return e.push.apply(e,y(t)),e}function k(e,t,i){e&&w(t,(function(t){t&&e.classList[i?"add":"remove"](t)}))}function $(e,t){k(e,m(t)?t.split(" "):t,!0)}function S(e,t){w(t,e.appendChild.bind(e))}function E(e,t){w(e,(function(e){var i=(t||e).parentNode;i&&i.insertBefore(e,t)}))}function x(e,t){return b(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function _(e,t){var i=e?r(e.children):[];return t?i.filter((function(e){return x(e,t)})):i}function A(e,t){return t?_(e,t)[0]:e.firstElementChild}var P=Object.keys;
2function L(e,t,i){return e&&(i?P(e).reverse():P(e)).forEach((function(i){"__proto__"!==i&&t(e[i],i)})),e}function M(e){return r(arguments,1).forEach((function(t){L(t,(function(i,n){e[n]=t[n]}))})),e}function O(e){return r(arguments,1).forEach((function(t){L(t,(function(t,i){p(t)?e[i]=t.slice():h(t)?e[i]=O({},h(e[i])?e[i]:{},t):e[i]=t}))})),e}function z(e,t){w(t||P(e),(function(t){delete e[t]}))}function I(e,t){w(e,(function(e){w(t,(function(t){e&&e.removeAttribute(t)}))}))}function D(e,t,i){h(t)?L(t,(function(t,i){D(e,i,t)})):w(e,(function(e){v(i)||""===i?I(e,t):e.setAttribute(t,String(i))}))}function N(e,t,i){var n=document.createElement(e);return t&&(m(t)?$(n,t):D(n,t)),i&&S(i,n),n}function H(e,t,i){if(g(i))return getComputedStyle(e)[t];v(i)||(e.style[t]=""+i)}function j(e,t){H(e,"display",t)}function F(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function R(e,t){return e.getAttribute(t)}function q(e,t){return e&&e.classList.contains(t)}function B(e){return e.getBoundingClientRect()}function V(e){w(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function W(e){return A((new DOMParser).parseFromString(e,"text/html").body)}function G(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function U(e,t){return e&&e.querySelector(t)}function Y(e,t){return t?r(e.querySelectorAll(t)):[]}function K(e,t){k(e,t,!1)}function X(e){return e.timeStamp}function J(e){return m(e)?e:e?e+"px":""}function Q(e,t){if(!e)throw new Error("[splide] "+(t||""))}var Z=Math.min,ee=Math.max,te=Math.floor,ie=Math.ceil,ne=Math.abs;function se(e,t,i){return ne(e-t)<i}function ae(e,t,i,n){var s=Z(t,i),a=ee(t,i);return n?s<e&&e<a:s<=e&&e<=a}function re(e,t,i){var n=Z(t,i),s=ee(t,i);return Z(ee(n,e),s)}function oe(e){return+(e>0)-+(e<0)}function le(e,t){return w(t,(function(t){e=e.replace("%s",""+t)})),e}function ce(e){return e<10?"0"+e:""+e}var de={};function ue(e){return""+e+ce(de[e]=(de[e]||0)+1)}function he(){var e=[];function t(e,t,i){w(e,(function(e){e&&w(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");i(e,n[0],n[1])}))}))}))}return{bind:function(i,n,s,a){t(i,n,(function(t,i,n){var r="addEventListener"in t,o=r?t.removeEventListener.bind(t,i,s,a):t.removeListener.bind(t,s);r?t.addEventListener(i,s,a):t.addListener(s),e.push([t,i,n,s,o])}))},unbind:function(i,n,s){t(i,n,(function(t,i,n){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==i||e[2]!==n||s&&e[3]!==s)||(e[4](),!1)}))}))},dispatch:function(e,t,i){var n;return"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:!0,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,i),e.dispatchEvent(n),n},destroy:function(){e.forEach((function(e){e[4]()})),a(e)}}}function pe(e){var t=e?e.event.bus:document.createDocumentFragment(),i=he();return e&&e.event.on("destroy",i.destroy),M(i,{bus:t,on:function(e,n){i.bind(t,y(e).join(" "),(function(e){n.apply(n,p(e.detail)?e.detail:[])}))},off:o(i.unbind,t),emit:function(e){i.dispatch(t,e,r(arguments,1))}})}function fe(e,t,i,n){var s,a,r=Date.now,o=0,l=!0,c=0;function u(){if(!l){if(o=e?Z((r()-s)/e,1):1,i&&i(o),o>=1&&(t(),s=r(),n&&++c>=n))return h();a=d(u)}}function h(){l=!0}function p(){a&&cancelAnimationFrame(a),o=0,a=0,l=!0}return{start:function(t){t||p(),s=r()-(t?o*e:0),l=!1,a=d(u)},rewind:function(){s=r(),o=0,i&&i(o)},pause:h,cancel:p,set:function(t){e=t},isPaused:function(){return l}}}var me={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};function ge(e,t,i){return{resolve:function(e,t,n){var s="rtl"!==(n=n||i.direction)||t?"ttb"===n?0:-1:1;return me[e]&&me[e][s]||e.replace(/width|left|right/i,(function(e,t){var i=me[e.toLowerCase()][s]||e;return t>0?i.charAt(0).toUpperCase()+i.slice(1):i}))},orient:function(e){return e*("rtl"===i.direction?1:-1)}}}var ve="role",be=[ve,"tabindex","disabled","aria-controls","aria-current","aria-label","aria-labelledby","aria-hidden","aria-orientation","aria-roledescription"],ye="splide",we="is-active",Ce=[we,"is-visible","is-prev","is-next","is-loading","is-focus-in","is-overflow"],Te={slide:"splide__slide",clone:"splide__slide--clone",arrows:"splide__arrows",arrow:"splide__arrow",prev:"splide__arrow--prev",next:"splide__arrow--next",pagination:"splide__pagination",page:"splide__pagination__page",spinner:"splide__spinner"};var ke="touchend touchcancel mouseup click";var $e="loop";function Se(e,t,i,n){var s,a=pe(e),r=a.on,l=a.emit,c=a.bind,d=e.Components,u=e.root,h=e.options,p=h.isNavigation,f=h.updateOnMove,m=h.i18n,g=h.pagination,v=h.slideFocus,b=d.Direction.resolve,y=R(n,"style"),w=R(n,"aria-label"),C=i>-1,T=A(n,".splide__slide__container");function $(){var s=e.splides.map((function(e){var i=e.splide.Components.Slides.getAt(t);return i?i.slide.id:""})).join(" ");D(n,"aria-label",le(m.slideX,(C?i:t)+1)),D(n,"aria-controls",s),D(n,ve,v?"button":""),v&&I(n,"aria-roledescription")}function S(){s||E()}
2function E(){if(!s){var i=e.index;(a=x())!==q(n,we)&&(k(n,we,a),D(n,"aria-current",p&&a||""),l(a?"active":"inactive",_)),function(){var t=function(){if(e.is("fade"))return x();var t=B(d.Elements.track),i=B(n),s=b("left",!0),a=b("right",!0);return te(t[s])<=ie(i[s])&&te(i[a])<=ie(t[a])}(),i=!t&&(!x()||C);e.state.is([4,5])||D(n,"aria-hidden",i||"");D(Y(n,h.focusableNodes||""),"tabindex",i?-1:""),v&&D(n,"tabindex",i?-1:0);t!==q(n,"is-visible")&&(k(n,"is-visible",t),l(t?"visible":"hidden",_));if(!t&&document.activeElement===n){var s=d.Slides.getAt(e.index);s&&F(s.slide)}}(),k(n,"is-prev",t===i-1),k(n,"is-next",t===i+1)}var a}function x(){var n=e.index;return n===t||h.cloneStatus&&n===i}var _={index:t,slideIndex:i,slide:n,container:T,isClone:C,mount:function(){C||(n.id=u.id+"-slide"+ce(t+1),D(n,ve,g?"tabpanel":"group"),D(n,"aria-roledescription",m.slide),D(n,"aria-label",w||le(m.slideLabel,[t+1,e.length]))),c(n,"click",o(l,"click",_)),c(n,"keydown",o(l,"sk",_)),r(["moved","sh","scrolled"],E),r("navigation:mounted",$),f&&r("move",S)},destroy:function(){s=!0,a.destroy(),K(n,Ce),I(n,be),D(n,"style",y),D(n,"aria-label",w||"")},update:E,style:function(e,t,i){H(i&&T||n,e,t)},isWithin:function(i,n){var s=ne(i-t);return C||!h.rewind&&!e.is($e)||(s=Z(s,e.length-s)),s<=n}};return _}var Ee="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z";var xe={passive:!1,capture:!0};var _e={Spacebar:" ",Right:"ArrowRight",Left:"ArrowLeft",Up:"ArrowUp",Down:"ArrowDown"};function Ae(e){return e=m(e)?e:e.key,_e[e]||e}var Pe=[" ","Enter"];var Le=Object.freeze({__proto__:null,Media:function(e,t,i){var n=e.state,s=i.breakpoints||{},a=i.reducedMotion||{},r=he(),o=[];function l(e){e&&r.destroy()}function c(e,t){var i=matchMedia(t);r.bind(i,"change",d),o.push([e,i])}function d(){var t=n.is(7),s=i.direction,a=o.reduce((function(e,t){return O(e,t[1].matches?t[0]:{})}),{});z(i),u(a),i.destroy?e.destroy("completely"===i.destroy):t?(l(!0),e.mount()):s!==i.direction&&e.refresh()}function u(t,s,a){O(i,t),s&&O(Object.getPrototypeOf(i),t),!a&&n.is(1)||e.emit("updated",i)}return{setup:function(){var e="min"===i.mediaQuery;P(s).sort((function(t,i){return e?+t-+i:+i-+t})).forEach((function(t){c(s[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),c(a,"(prefers-reduced-motion: reduce)"),d()},destroy:l,reduce:function(e){matchMedia("(prefers-reduced-motion: reduce)").matches&&(e?O(i,a):z(i,P(a)))},set:u}},Direction:ge,Elements:function(e,t,i){var n,s,r,o=pe(e),l=o.on,c=o.bind,d=e.root,u=i.i18n,h={},p=[],m=[],g=[];function v(){n=w(".splide__track"),s=A(n,".splide__list"),Q(n&&s,"A track/list element is missing."),T(p,_(s,".splide__slide:not(.splide__slide--clone)")),L({arrows:"splide__arrows",pagination:"splide__pagination",prev:"splide__arrow--prev",next:"splide__arrow--next",bar:"splide__progress__bar",toggle:"splide__toggle"},(function(e,t){h[t]=w("."+e)})),M(h,{root:d,track:n,list:s,slides:p}),function(){var e=d.id||ue("splide"),t=i.role;d.id=e,n.id=n.id||e+"-track",s.id=s.id||e+"-list",!R(d,ve)&&"SECTION"!==d.tagName&&t&&D(d,ve,t);D(d,"aria-roledescription",u.carousel),D(s,ve,"presentation")}(),y()}function b(e){var t=be.concat("style");a(p),K(d,m),K(n,g),I([n,s],t),I(d,e?t:["style","aria-roledescription"])}function y(){K(d,m),K(n,g),m=C(ye),g=C("splide__track"),$(d,m),$(n,g),D(d,"aria-label",i.label),D(d,"aria-labelledby",i.labelledby)}function w(e){var t=U(d,e);return t&&function(e,t){if(f(e.closest))return e.closest(t);for(var i=e;i&&1===i.nodeType&&!x(i,t);)i=i.parentElement;return i}(t,"."+ye)===d?t:void 0}function C(e){return[e+"--"+i.type,e+"--"+i.direction,i.drag&&e+"--draggable",i.isNavigation&&e+"--nav",e===ye&&we]}return M(h,{setup:v,mount:function(){l("refresh",b),l("refresh",v),l("updated",y),c(document,"touchstart mousedown keydown",(function(e){r="keydown"===e.type}),{capture:!0}),c(d,"focusin",(function(){k(d,"is-focus-in",!!r)}))},destroy:b})},Slides:function(e,t,i){var n=pe(e),s=n.on,r=n.emit,l=n.bind,c=t.Elements,d=c.slides,u=c.list,h=[];function p(){d.forEach((function(e,t){v(e,t,-1)}))}function g(){k((function(e){e.destroy()})),a(h)}function v(t,i,n){var s=Se(e,i,n,t);s.mount(),h.push(s),h.sort((function(e,t){return e.index-t.index}))}function T(e){return e?_((function(e){return!e.isClone})):h}function k(e,t){T(t).forEach(e)}function _(e){return h.filter(f(e)?e:function(t){return m(e)?x(t.slide,e):C(y(e),t.index)})}return{mount:function(){p(),s("refresh",g),s("refresh",p)}
vendor: 6,901 bytes, line 2
2,destroy:g,update:function(){k((function(e){e.update()}))},register:v,get:T,getIn:function(e){var n=t.Controller,s=n.toIndex(e),a=n.hasFocus()?1:i.perPage;return _((function(e){return ae(e.index,s,s+a-1)}))},getAt:function(e){return _(e)[0]},add:function(e,t){w(e,(function(e){if(m(e)&&(e=W(e)),b(e)){var n=d[t];n?E(e,n):S(u,e),$(e,i.classes.slide),s=e,a=o(r,"resize"),c=Y(s,"img"),(h=c.length)?c.forEach((function(e){l(e,"load error",(function(){--h||a()}))})):a()}var s,a,c,h})),r("refresh")},remove:function(e){V(_(e).map((function(e){return e.slide}))),r("refresh")},forEach:k,filter:_,style:function(e,t,i){k((function(n){n.style(e,t,i)}))},getLength:function(e){return e?d.length:h.length},isEnough:function(){return h.length>i.perPage}}},Layout:function(e,t,i){var n,s,a,r=pe(e),l=r.on,c=r.bind,d=r.emit,u=t.Slides,p=t.Direction.resolve,f=t.Elements,m=f.root,g=f.track,v=f.list,b=u.getAt,y=u.style;function w(){n="ttb"===i.direction,H(m,"maxWidth",J(i.width)),H(g,p("paddingLeft"),T(!1)),H(g,p("paddingRight"),T(!0)),C(!0)}function C(e){var t=B(m);(e||s.width!==t.width||s.height!==t.height)&&(H(g,"height",function(){var e="";n&&(Q(e=$(),"height or heightRatio is missing."),e="calc("+e+" - "+T(!1)+" - "+T(!0)+")");return e}()),y(p("marginRight"),J(i.gap)),y("width",i.autoWidth?null:J(i.fixedWidth)||(n?"":S())),y("height",J(i.fixedHeight)||(n?i.autoHeight?null:S():$()),!0),s=t,d("resized"),a!==(a=L())&&(k(m,"is-overflow",a),d("overflow",a)))}function T(e){var t=i.padding,n=p(e?"right":"left");return t&&J(t[n]||(h(t)?0:t))||"0px"}function $(){return J(i.height||B(v).width*i.heightRatio)}function S(){var e=J(i.gap);return"calc((100%"+(e&&" + "+e)+")/"+(i.perPage||1)+(e&&" - "+e)+")"}function E(){return B(v)[p("width")]}function x(e,t){var i=b(e||0);return i?B(i.slide)[p("width")]+(t?0:P()):0}function _(e,t){var i=b(e);if(i){var n=B(i.slide)[p("right")],s=B(v)[p("left")];return ne(n-s)+(t?0:P())}return 0}function A(t){return _(e.length-1)-_(0)+x(0,t)}function P(){var e=b(0);return e&&parseFloat(H(e.slide,p("marginRight")))||0}function L(){return e.is("fade")||A(!0)>E()}return{mount:function(){var e,t,i;w(),c(window,"resize load",(e=o(d,"resize"),i=fe(t||0,e,null,1),function(){i.isPaused()&&i.start()})),l(["updated","refresh"],w),l("resize",C)},resize:C,listSize:E,slideSize:x,sliderSize:A,totalSize:_,getPadding:function(e){return parseFloat(H(g,p("padding"+(e?"Right":"Left"))))||0},isOverflow:L}},Clones:function(e,t,i){var n,s=pe(e),r=s.on,o=t.Elements,l=t.Slides,c=t.Direction.resolve,d=[];function u(){r("refresh",h),r(["updated","resize"],f),(n=m())&&(!function(t){var n=l.get().slice(),s=n.length;if(s){for(;n.length<t;)T(n,n);T(n.slice(-t),n.slice(0,t)).forEach((function(a,r){var c=r<t,u=function(t,n){var s=t.cloneNode(!0);return $(s,i.classes.clone),s.id=e.root.id+"-clone"+ce(n+1),s}(a.slide,r);c?E(u,n[0].slide):S(o.list,u),T(d,u),l.register(u,r-t+(c?0:s),a.index)}))}}(n),t.Layout.resize(!0))}function h(){p(),u()}function p(){V(d),a(d),s.destroy()}function f(){var e=m();n!==e&&(n<e||!e)&&s.emit("refresh")}function m(){var n=i.clones;if(e.is($e)){if(g(n)){var s=i[c("fixedWidth")]&&t.Layout.slideSize(0);n=s&&ie(B(o.track)[c("width")]/s)||i[c("autoWidth")]&&e.length||2*i.perPage}}else n=0;return n}return{mount:u,destroy:p}},Move:function(e,t,i){var n,s=pe(e),a=s.on,r=s.emit,o=e.state.set,l=t.Layout,c=l.slideSize,d=l.getPadding,u=l.totalSize,h=l.listSize,p=l.sliderSize,f=t.Direction,m=f.resolve,v=f.orient,b=t.Elements,y=b.list,w=b.track;function C(){t.Controller.isBusy()||(t.Scroll.cancel(),T(e.index),t.Slides.update())}function T(e){k(x(e,!0))}function k(i,n){if(!e.is("fade")){var s=n?i:function(i){if(e.is($e)){var n=E(i),s=n>t.Controller.getEnd();(n<0||s)&&(i=$(i,s))}return i}(i);H(y,"transform","translate"+m("X")+"("+s+"px)"),i!==s&&r("sh")}}function $(e,t){var i=e-A(t),n=p();return e-=v(n*(ie(ne(i)/n)||1))*(t?1:-1)}function S(){k(_(),!0),n.cancel()}function E(e){for(var i=t.Slides.get(),n=0,s=1/0,a=0;a<i.length;a++){var r=i[a].index,o=ne(x(r,!0)-e);if(!(o<=s))break;s=o,n=r}return n}function x(t,n){var s=v(u(t-1)-function(e){var t=i.focus;return"center"===t?(h()-c(e,!0))/2:+t*c(e)||0}(t));return n?function(t){i.trimSpace&&e.is("slide")&&(t=re(t,0,v(p(!0)-h())));return t}(s):s}function _(){var e=m("left");return B(y)[e]-B(w)[e]+v(d(!1))}function A(e){return x(e?t.Controller.getEnd():0,!!i.trimSpace)}return{mount:function(){n=t.Transition,a(["mounted","resized","updated","refresh"],C)},move:function(e,t,i,s){var a,l;e!==t&&(a=e>i,l=v($(_(),a)),a?l>=0:l<=y[m("scrollWidth")]-B(w)[m("width")])&&(S(),k($(_(),e>i),!0)),o(4),r("move",t,i,e),n.start(t,(function(){o(3),r("moved",t,i,e),s&&s()}))},jump:T,translate:k,shift:$,cancel:S,toIndex:E,toPosition:x,getPosition:_,getLimit:A,exceededLimit:function(e,t){t=g(t)?_():t;var i=!0!==e&&v(t)<v(A(!1)),n=!1!==e&&v(t)>v(A(!0));return i||n},reposition:C}},Controller:function(e,t,i){var n,s,a,r,l=pe(e),c=l.on,d=l.emit,u=t.Move,h=u.getPosition,p=u.getLimit,f=u.toPosition,v=t.Slides,b=v.isEnough,y=v.getLength,w=i.omitEnd,C=e.is($e),T=e.is("slide"),k=o(A,!1),$=o(A,!0),S=i.start||0,E=S;function x(){s=y(!0),a=i.perMove,r=i.perPage,n=M();var e=re(S,0,w?n:s-1);e!==S&&(S=e,u.reposition())}function _(){n!==M()&&d("ei")}function A(e,t){var i=a||(D()?1:r),s=P(S+i*(e?-1:1),S,!(a||D()));return-1===s&&T&&!se(h(),p(!e),1)?e?0:n:t?s:L(s)}function P(t,o,l){if(b()||D()){var c=function(t){if(T&&"move"===i.trimSpace&&t!==S)for(var n=h();n===f(t,!0)&&ae(t,0,e.length-1,!i.rewind);)t<S?--t:++t;return t}(t);c!==t&&(o=t,t=c,l=!1),t<0||t>n?t=a||!ae(0,t,o,!0)&&!ae(n,o,t,!0)?C?l?t<0?-(s%r||r):s:t:i.rewind?t<0?n:0:-1:O(z(t)):l&&t!==o&&(t=O(z(o)+(t<o?-1:1)))}else t=-1;return t}function L(e){return C?(e+s)%s||0:e}function M(){for(var e=s-(D()||C&&a?1:r);w&&e-- >0;)if(f(s-1,!0)!==f(e,!0)){e++;break}return re(e,0,s-1)}function O(e){return re(D()?e:r*e,0,n)}function z(e){return D()?Z(e,n):te((e>=n?s-1:e)/r)}function I(e){e!==S&&(E=S,S=e)}function D(){return!g(i.focus)||i.isNavigation}function N(){return e.state.is([4,5])&&!!i.waitForTransition}return{mount:function(){x(),c(["updated","refresh","ei"],x),c("resized",_)},go:function(e,t,i){if(!N()){var s=function(e){var t=S;if(m(e)){var i=e.match(/([+\-<>])(\d+)?/)||[],s=i[1],a=i[2];"+"===s||"-"===s?t=P(S+ +(""+s+(+a||1)),S):">"===s?t=a?O(+a):k(!0):"<"===s&&(t=$(!0))}else t=C?e:re(e,0,n);return t}(e),a=L(s);a>-1&&(t||a!==S)&&(I(a),u.move(s,a,E,i))}},scroll:function(e,i,s,a){t.Scroll.scroll(e,i,s,(function(){var e=L(u.toIndex(h()));I(w?Z(e,n):e),a&&a()}))},getNext:k,getPrev:$,getAdjacent:A,getEnd:M,setIndex:I,getIndex:function(e){return e?E:S},toIndex:O,toPage:z,toDest:function(e){var t=u.toIndex(e);return T?re(t,0,n):t},hasFocus:D,isBusy:N}},Arrows:function(e,t,i){var n,s,a=pe(e),r=a.on,l=a.bind,c=a.emit,d=i.classes,u=i.i18n,h=t.Elements,p=t.Controller,f=h.arrows,m=h.track,g=f,v=h.prev,b=h.next,y={};function w(){!function(){var e=i.arrows;
2!e||v&&b||(g=f||N("div",d.arrows),v=x(!0),b=x(!1),n=!0,S(g,[v,b]),!f&&E(g,m));v&&b&&(M(y,{prev:v,next:b}),j(g,e?"":"none"),$(g,s="splide__arrows--"+i.direction),e&&(r(["mounted","moved","refresh","scrolled","ei"],_),l(b,"click",o(k,">")),l(v,"click",o(k,"<")),_(),D([v,b],"aria-controls",m.id),c("arrows:mounted",v,b)))}(),r("updated",C)}function C(){T(),w()}function T(){a.destroy(),K(g,s),n?(V(f?[v,b]:g),v=b=null):I([v,b],be)}function k(e){p.go(e,!0)}function x(e){return W('<button class="'+d.arrow+" "+(e?d.prev:d.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(i.arrowPath||Ee)+'" />')}function _(){if(v&&b){var t=e.index,i=p.getPrev(),n=p.getNext(),s=i>-1&&t<i?u.last:u.prev,a=n>-1&&t>n?u.first:u.next;v.disabled=i<0,b.disabled=n<0,D(v,"aria-label",s),D(b,"aria-label",a),c("arrows:updated",v,b,i,n)}}return{arrows:y,mount:w,destroy:T,update:_}},Autoplay:function(e,t,i){var n,s,a=pe(e),r=a.on,o=a.bind,l=a.emit,c=fe(i.interval,e.go.bind(e,">"),(function(e){var t=u.bar;t&&H(t,"width",100*e+"%"),l("autoplay:playing",e)})),d=c.isPaused,u=t.Elements,h=t.Elements,p=h.root,f=h.toggle,m=i.autoplay,g="pause"===m;function v(){d()&&t.Slides.isEnough()&&(c.start(!i.resetProgress),s=n=g=!1,w(),l("autoplay:play"))}function b(e){void 0===e&&(e=!0),g=!!e,w(),d()||(c.pause(),l("autoplay:pause"))}function y(){g||(n||s?b(!1):v())}function w(){f&&(k(f,we,!g),D(f,"aria-label",i.i18n[g?"play":"pause"]))}function C(e){var n=t.Slides.getAt(e);c.set(n&&+R(n.slide,"data-splide-interval")||i.interval)}return{mount:function(){m&&(!function(){i.pauseOnHover&&o(p,"mouseenter mouseleave",(function(e){n="mouseenter"===e.type,y()}));i.pauseOnFocus&&o(p,"focusin focusout",(function(e){s="focusin"===e.type,y()}));f&&o(f,"click",(function(){g?v():b(!0)}));r(["move","scroll","refresh"],c.rewind),r("move",C)}(),f&&D(f,"aria-controls",u.track.id),g||v(),w())},destroy:c.cancel,play:v,pause:b,isPaused:d}},Cover:function(e,t,i){var n=pe(e).on;function s(e){t.Slides.forEach((function(t){var i=A(t.container||t.slide,"img");i&&i.src&&a(e,i,t)}))}function a(e,t,i){i.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),j(t,e?"none":"")}return{mount:function(){i.cover&&(n("lazyload:loaded",o(a,!0)),n(["mounted","updated","refresh"],o(s,!0)))},destroy:o(s,!1)}},Scroll:function(e,t,i){var n,s,a=pe(e),r=a.on,l=a.emit,c=e.state.set,d=t.Move,u=d.getPosition,h=d.getLimit,p=d.exceededLimit,f=d.translate,m=e.is("slide"),g=1;function v(e,i,a,r,h){var f=u();if(w(),a&&(!m||!p())){var v=t.Layout.sliderSize(),C=oe(e)*v*te(ne(e)/v)||0;e=d.toPosition(t.Controller.toDest(e%v))+C}var T=se(f,e,1);g=1,i=T?0:i||ee(ne(e-f)/1.5,800),s=r,n=fe(i,b,o(y,f,e,h),1),c(5),l("scroll"),n.start()}function b(){c(3),s&&s(),l("scrolled")}function y(e,t,n,a){var r,o,l=u(),c=(e+(t-e)*(r=a,(o=i.easingFunc)?o(r):1-Math.pow(1-r,4))-l)*g;f(l+c),m&&!n&&p()&&(g*=.6,ne(c)<10&&v(h(p(!0)),600,!1,s,!0))}function w(){n&&n.cancel()}function C(){n&&!n.isPaused()&&(w(),b())}return{mount:function(){r("move",w),r(["updated","refresh"],C)},destroy:w,scroll:v,cancel:C}},Drag:function(e,t,i){var n,s,a,r,o,l,d,u,p=pe(e),f=p.on,m=p.emit,g=p.bind,v=p.unbind,b=e.state,y=t.Move,w=t.Scroll,C=t.Controller,T=t.Elements.track,k=t.Media.reduce,$=t.Direction,S=$.resolve,E=$.orient,_=y.getPosition,A=y.exceededLimit,P=!1;function L(){var e=i.drag;q(!e),r="free"===e}function M(e){if(l=!1,!d){var t=R(e);n=e.target,s=i.noDrag,x(n,".splide__pagination__page, .splide__arrow")||s&&x(n,s)||!t&&e.button||(C.isBusy()?G(e,!0):(u=t?T:window,o=b.is([4,5]),a=null,g(u,"touchmove mousemove",O,xe),g(u,ke,z,xe),y.cancel(),w.cancel(),D(e)))}var n,s}function O(t){if(b.is(6)||(b.set(6),m("drag")),t.cancelable)if(o){y.translate(n+N(t)/(P&&e.is("slide")?5:1));var s=H(t)>200,a=P!==(P=A());(s||a)&&D(t),l=!0,m("dragging"),G(t)}else(function(e){return ne(N(e))>ne(N(e,!0))})(t)&&(o=function(e){var t=i.dragMinThreshold,n=h(t),s=n&&t.mouse||0,a=(n?t.touch:+t)||10;return ne(N(e))>(R(e)?a:s)}(t),G(t))}function z(n){b.is(6)&&(b.set(3),m("dragged")),o&&(!function(n){var s=function(t){if(e.is($e)||!P){var i=H(t);if(i&&i<200)return N(t)/i}return 0}(n),a=function(e){return _()+oe(e)*Z(ne(e)*(i.flickPower||600),r?1/0:t.Layout.listSize()*(i.flickMaxPages||1))}(s),o=i.rewind&&i.rewindByDrag;
2k(!1),r?C.scroll(a,0,i.snap):e.is("fade")?C.go(E(oe(s))<0?o?"<":"-":o?">":"+"):e.is("slide")&&P&&o?C.go(A(!0)?">":"<"):C.go(C.toDest(a),!0);k(!0)}(n),G(n)),v(u,"touchmove mousemove",O),v(u,ke,z),o=!1}function I(e){!d&&l&&G(e,!0)}function D(e){a=s,s=e,n=_()}function N(e,t){return F(e,t)-F(j(e),t)}function H(e){return X(e)-X(j(e))}function j(e){return s===e&&a||s}function F(e,t){return(R(e)?e.changedTouches[0]:e)["page"+S(t?"Y":"X")]}function R(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function q(e){d=e}return{mount:function(){g(T,"touchmove mousemove",c,xe),g(T,ke,c,xe),g(T,"touchstart mousedown",M,xe),g(T,"click",I,{capture:!0}),g(T,"dragstart",G),f(["mounted","updated"],L)},disable:q,isDragging:function(){return o}}},Keyboard:function(e,t,i){var n,s,a=pe(e),r=a.on,o=a.bind,c=a.unbind,d=e.root,u=t.Direction.resolve;function h(){var e=i.keyboard;e&&(n="global"===e?window:d,o(n,"keydown",m))}function p(){c(n,"keydown")}function f(){var e=s;s=!0,l((function(){s=e}))}function m(t){if(!s){var i=Ae(t);i===u("ArrowLeft")?e.go("<"):i===u("ArrowRight")&&e.go(">")}}return{mount:function(){h(),r("updated",p),r("updated",h),r("move",f)},destroy:p,disable:function(e){s=e}}},LazyLoad:function(e,t,i){var n=pe(e),s=n.on,r=n.off,l=n.bind,c=n.emit,d="sequential"===i.lazyLoad,u=["moved","scrolled"],h=[];function p(){a(h),t.Slides.forEach((function(e){Y(e.slide,"[data-splide-lazy], [data-splide-lazy-srcset]").forEach((function(t){var n=R(t,"data-splide-lazy"),s=R(t,"data-splide-lazy-srcset");if(n!==t.src||s!==t.srcset){var a=i.classes.spinner,r=t.parentElement,o=A(r,"."+a)||N("span",a,r);h.push([t,e,o]),t.src||j(t,"none")}}))})),d?v():(r(u),s(u,f),f())}function f(){(h=h.filter((function(t){var n=i.perPage*((i.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,n)||m(t)}))).length||r(u)}function m(e){var t=e[0];$(e[1].slide,"is-loading"),l(t,"load error",o(g,e)),D(t,"src",R(t,"data-splide-lazy")),D(t,"srcset",R(t,"data-splide-lazy-srcset")),I(t,"data-splide-lazy"),I(t,"data-splide-lazy-srcset")}function g(e,t){var i=e[0],n=e[1];K(n.slide,"is-loading"),"error"!==t.type&&(V(e[2]),j(i,""),c("lazyload:loaded",i,n),c("resize")),d&&v()}function v(){h.length&&m(h.shift())}return{mount:function(){i.lazyLoad&&(p(),s("refresh",p))},destroy:o(a,h),check:f}},Pagination:function(e,t,i){var n,s,l=pe(e),c=l.on,d=l.emit,u=l.bind,h=t.Slides,p=t.Elements,f=t.Controller,m=f.hasFocus,g=f.getIndex,v=f.go,b=t.Direction.resolve,y=p.pagination,w=[];function C(){n&&(V(y?r(n.children):n),K(n,s),a(w),n=null),l.destroy()}function T(e){v(">"+e,!0)}function k(e,t){var i=w.length,n=Ae(t),s=S(),a=-1;n===b("ArrowRight",!1,s)?a=++e%i:n===b("ArrowLeft",!1,s)?a=(--e+i)%i:"Home"===n?a=0:"End"===n&&(a=i-1);var r=w[a];r&&(F(r.button),v(">"+a),G(t,!0))}function S(){return i.paginationDirection||i.direction}function E(e){return w[f.toPage(e)]}function x(){var e=E(g(!0)),t=E(g());if(e){var i=e.button;K(i,we),I(i,"aria-selected"),D(i,"tabindex",-1)}if(t){var s=t.button;$(s,we),D(s,"aria-selected",!0),D(s,"tabindex","")}d("pagination:updated",{list:n,items:w},e,t)}return{items:w,mount:function t(){C(),c(["updated","refresh","ei"],t);var a=i.pagination;y&&j(y,a?"":"none"),a&&(c(["move","scroll","scrolled"],x),function(){var t=e.length,a=i.classes,r=i.i18n,l=i.perPage,c=m()?f.getEnd()+1:ie(t/l);$(n=y||N("ul",a.pagination,p.track.parentElement),s="splide__pagination--"+S()),D(n,ve,"tablist"),D(n,"aria-label",r.select),D(n,"aria-orientation","ttb"===S()?"vertical":"");for(var d=0;d<c;d++){var g=N("li",null,n),v=N("button",{class:a.page,type:"button"},g),b=h.getIn(d).map((function(e){return e.slide.id})),C=!m()&&l>1?r.pageX:r.slideX;u(v,"click",o(T,d)),i.paginationKeyboard&&u(v,"keydown",o(k,d)),D(g,ve,"presentation"),D(v,ve,"tab"),D(v,"aria-controls",b.join(" ")),D(v,"aria-label",le(C,d+1)),D(v,"tabindex",-1),w.push({li:g,button:v,page:d})}}(),x(),d("pagination:mounted",{list:n,items:w},E(e.index)))},destroy:C,getAt:E,update:x}},Sync:function(e,t,i){var n=i.isNavigation,s=i.slideFocus,r=[];function l(){e.splides.forEach((function(t){t.isParent||(d(e,t.splide),d(t.splide,e))})),n&&function(){var t=pe(e),i=t.on;i("click",h),i("sk",p),i(["mounted","updated"],u),r.push(t),t.emit("navigation:mounted",e.splides)}()}function c(){r.forEach((function(e){e.destroy()})),a(r)}function d(e,t){var i=pe(e);i.on("move",(function(e,i,n){t.go(t.is($e)?n:e)})),r.push(i)}function u(){D(t.Elements.list,"aria-orientation","ttb"===i.direction?"vertical":"")}function h(t){e.go(t.index)}function p(e,t){C(Pe,Ae(t))&&(h(e),G(t))}return{setup:o(t.Media.set,{slideFocus:g(s)?n:s},!0),mount:l,destroy:c,remount:function(){c(),l()}}},Wheel:function(e,t,i){var n=pe(e).bind,s=0;function a(n){if(n.cancelable){var a=n.deltaY,r=a<0,o=X(n),l=i.wheelMinThreshold||0,c=i.wheelSleep||0;ne(a)>l&&o-s>c&&(e.go(r?"<":">"),s=o),function(n){return!i.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(n)}(r)&&G(n)}}
2return{mount:function(){i.wheel&&n(t.Elements.track,"wheel",a,xe)}}},Live:function(e,t,i){var n=pe(e).on,s=t.Elements.track,a=i.live&&!i.isNavigation,r=N("span","splide__sr"),l=fe(90,o(c,!1));function c(e){D(s,"aria-busy",e),e?(S(s,r),l.start()):(V(r),l.cancel())}function d(e){a&&D(s,"aria-live",e?"off":"polite")}return{mount:function(){a&&(d(!t.Autoplay.isPaused()),D(s,"aria-atomic",!0),r.textContent="…",n("autoplay:play",o(d,!0)),n("autoplay:pause",o(d,!1)),n(["moved","scrolled"],o(c,!0)))},disable:d,destroy:function(){I(s,["aria-live","aria-atomic","aria-busy"]),V(r)}}}}),Me={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Te,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Oe(e,t,i){var n=t.Slides;function s(){n.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){pe(e).on(["mounted","refresh"],s)},start:function(e,t){n.style("transition","opacity "+i.speed+"ms "+i.easing),l(t)},cancel:c}}function ze(e,t,i){var n,s=t.Move,a=t.Controller,r=t.Scroll,l=t.Elements.list,c=o(H,l,"transition");function d(){c(""),r.cancel()}return{mount:function(){pe(e).bind(l,"transitionend",(function(e){e.target===l&&n&&(d(),n())}))},start:function(t,o){var l=s.toPosition(t,!0),d=s.getPosition(),u=function(t){var n=i.rewindSpeed;if(e.is("slide")&&n){var s=a.getIndex(!0),r=a.getEnd();if(0===s&&t>=r||s>=r&&0===t)return n}return i.speed}(t);ne(l-d)>=1&&u>=1?i.useScroll?r.scroll(l,u,!1,o):(c("transform "+u+"ms "+i.easing),s.translate(l,!0),n=o):(s.jump(t),o())},cancel:d}}var Ie=function(){function e(t,i){var n;this.event=pe(),this.Components={},this.state=(n=1,{set:function(e){n=e},is:function(e){return C(y(e),n)}}),this.splides=[],this._o={},this._E={};var s=m(t)?U(document,t):t;Q(s,s+" is invalid."),this.root=s,i=O({label:R(s,"aria-label")||"",labelledby:R(s,"aria-labelledby")||""},Me,e.defaults,i||{});try{O(i,JSON.parse(R(s,"data-splide")))}catch(e){Q(!1,"Invalid JSON")}this._o=Object.create(O({},i))}var t,i,s,o=e.prototype;return o.mount=function(e,t){var i=this,n=this.state,s=this.Components;return Q(n.is([1,7]),"Already mounted!"),n.set(1),this._C=s,this._T=t||this._T||(this.is("fade")?Oe:ze),this._E=e||this._E,L(M({},Le,this._E,{Transition:this._T}),(function(e,t){var n=e(i,s,i._o);s[t]=n,n.setup&&n.setup()})),L(s,(function(e){e.mount&&e.mount()})),this.emit("mounted"),$(this.root,"is-initialized"),n.set(3),this.emit("ready"),this},o.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},o.go=function(e){return this._C.Controller.go(e),this},o.on=function(e,t){return this.event.on(e,t),this},o.off=function(e){return this.event.off(e),this},o.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(r(arguments,1))),this},o.add=function(e,t){return this._C.Slides.add(e,t),this},o.remove=function(e){return this._C.Slides.remove(e),this},o.is=function(e){return this._o.type===e},o.refresh=function(){return this.emit("refresh"),this},o.destroy=function(e){void 0===e&&(e=!0);var t=this.event,i=this.state;return i.is(1)?pe(this).on("ready",this.destroy.bind(this,e)):(L(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit("destroy"),t.destroy(),e&&a(this.splides),i.set(7)),this},t=e,(i=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}
vendor: 4,354 bytes, line 2
2])&&n(t.prototype,i),s&&n(t,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();Ie.defaults={},Ie.STATES=s},T7iU:function(e,t,i){(function(t,i){"object"==typeof navigator&&(e.exports=function(){"use strict";function e(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function a(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?a(Object(i),!0).forEach((function(t){s(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):a(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var o={addCSS:!0,thumbWidth:15,watch:!0};function l(e,t){return function(){return Array.from(document.querySelectorAll(t)).includes(this)}.call(e,t)}var c=function(e){return null!=e?e.constructor:null},d=function(e,t){return!!(e&&t&&e instanceof t)},u=function(e){return c(e)===String},h=function(e){return Array.isArray(e)},p=function(e){return d(e,NodeList)},f=u,m=h,g=p,v=function(e){return d(e,Element)},b=function(e){return d(e,Event)},y=function(e){return function(e){return null==e}(e)||(u(e)||h(e)||p(e))&&!e.length||function(e){return c(e)===Object}(e)&&!Object.keys(e).length},w=function(){function e(t,i){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),v(t)?this.element=t:f(t)&&(this.element=document.querySelector(t)),v(this.element)&&y(this.element.rangeTouch)&&(this.config=r({},o,{},i),this.init())}return function(e,t,i){t&&n(e.prototype,t),i&&n(e,i)}(e,[{key:"init",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){e.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,i=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach((function(e){t.element[i](e,(function(e){return t.set(e)}),!1)}))}},{key:"get",value:function(t){if(!e.enabled||!b(t))return null;var i,n=t.target,s=t.changedTouches[0],a=parseFloat(n.getAttribute("min"))||0,r=parseFloat(n.getAttribute("max"))||100,o=parseFloat(n.getAttribute("step"))||1,l=n.getBoundingClientRect(),c=100/l.width*(this.config.thumbWidth/2)/100;return 0>(i=100/l.width*(s.clientX-l.left))?i=0:100<i&&(i=100),50>i?i-=(100-2*i)*c:50<i&&(i+=2*(i-50)*c),a+function(e,t){if(1>t){var i=function(e){var t="".concat(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}(t);return parseFloat(e.toFixed(i))}return Math.round(e/t)*t}(i/100*(r-a),o)}},{key:"set",value:function(t){e.enabled&&b(t)&&!t.target.disabled&&(t.preventDefault(),t.target.value=this.get(t),function(e,t){if(e&&t){var i=new Event(t,{bubbles:!0});e.dispatchEvent(i)}}(t.target,"touchend"===t.type?"change":"input"))}}],[{key:"setup",value:function(t){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=null;if(y(t)||f(t)?n=Array.from(document.querySelectorAll(f(t)?t:'input[type="range"]')):v(t)?n=[t]:g(t)?n=Array.from(t):m(t)&&(n=t.filter(v)),y(n))return null;var s=r({},o,{},i);if(f(t)&&s.watch){var a=new MutationObserver((function(i){Array.from(i).forEach((function(i){Array.from(i.addedNodes).forEach((function(i){v(i)&&l(i,t)&&new e(i,s)}))}))}));a.observe(document.body,{childList:!0,subtree:!0})}return n.map((function(t){return new e(t,i)}))}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}]),e}();const C=e=>null!=e?e.constructor:null,T=(e,t)=>
2Boolean(e&&t&&e instanceof t),k=e=>null==e,$=e=>C(e)===Object,S=e=>C(e)===String,E=e=>"function"==typeof e,x=e=>Array.isArray(e),_=e=>T(e,NodeList),A=e=>k(e)||(S(e)||x(e)||_(e))&&!e.length||$(e)&&!Object.keys(e).length;var P=k,L=$,M=e=>C(e)===Number&&!Number.isNaN(e),O=S,z=e=>C(e)===Boolean,I=E,D=x,N=_,H=e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,j=e=>T(e,Event),F=e=>T(e,KeyboardEvent),R=e=>T(e,TextTrack)||!k(e)&&S(e.kind),q=e=>{if(T(e,window.URL))return!0;if(!S(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!A(new URL(t).hostname)}catch(e){return!1}},B=A;const V=(()=>{const e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i=Object.keys(t).find(t=>void 0!==e.style[t]);return!!O(i)&&t[i]})();function W(e,t){setTimeout(()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}const G={isIE:Boolean(window.document.documentMode),isEdge:/Edge/g.test(navigator.userAgent),isWebkit:"WebkitAppearance"in document.documentElement.style&&!/Edge/g.test(navigator.userAgent),isIPhone:/iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1,isIos:/iPad|iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1};function U(e,t){return t.split(".").reduce((e,t)=>e&&e[t],e)}function Y(e={},...t){if(!t.length)return e;const i=t.shift();
2return L(i)?(Object.keys(i).forEach(t=>{L(i[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),Y(e[t],i[t])):Object.assign(e,{[t]:i[t]})}),Y(e,...t)):e}function K(e,t){const i=e.length?e:[e];Array.from(i).reverse().forEach((e,i)=>{const n=i>0?t.cloneNode(!0):t,s=e.parentNode,a=e.nextSibling;n.appendChild(e),a?s.insertBefore(n,a):s.appendChild(n)})}function X(e,t){H(e)&&!B(t)&&Object.entries(t).filter(([,e])=>!P(e)).forEach(([t,i])=>e.setAttribute(t,i))}function J(e,t,i){const n=document.createElement(e);return L(t)&&X(n,t),O(i)&&(n.innerText=i),n}function Q(e,t,i,n){H(t)&&t.appendChild(J(e,i,n))}function Z(e){N(e)||D(e)?Array.from(e).forEach(Z):H(e)&&H(e.parentNode)&&e.parentNode.removeChild(e)}function ee(e){if(!H(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function te(e,t){return H(t)&&H(t.parentNode)&&H(e)?(t.parentNode.replaceChild(e,t),e):null}function ie(e,t){if(!O(e)||B(e))return{};const i={},n=Y({},t);return e.split(",").forEach(e=>{const t=e.trim(),s=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),[r]=a,o=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":O(n.class)?i.class=`${n.class} ${s}`:i.class=s;break;case"#":i.id=t.replace("#","");break;case"[":i[r]=o}}),Y(n,i)}function ne(e,t){if(!H(e))return;let i=t;z(i)||(i=!e.hidden),e.hidden=i}function se(e,t,i){if(N(e))return Array.from(e).map(e=>se(e,t,i));if(H(e)){let n="toggle";return void 0!==i&&(n=i?"add":"remove"),e.classList[n](t),e.classList.contains(t)}return!1}function ae(e,t){return H(e)&&e.classList.contains(t)}function re(e,t){const{prototype:i}=Element;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function oe(e){return this.elements.container.querySelectorAll(e)}function le(e){return this.elements.container.querySelector(e)}function ce(e=null,t=!1){H(e)&&(e.focus({preventScroll:!0}),t&&se(e,this.config.classNames.tabFocus))}const de={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},ue={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t,i){const n=G.isIPhone&&i&&ue.playsinline,s=ue[e]||"html5"!==t;return{api:s,ui:s&&ue.rangeInput&&("video"!==e||!G.isIPhone||n)}},pip:!(G.isIPhone||!I(J("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||J("video").disablePictureInPicture)),airplay:I(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(B(e))return!1;const[t]=e.split("/");let i=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(de).includes(i)&&(i+=`; codecs="${de[e]}"`);try{return Boolean(i&&this.media.canPlayType(i).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{const e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==V,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},he=(()=>{let e=!1;try{const t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function pe(e,t,i,n=!1,s=!0,a=!1){if(!e||!("addEventListener"in e)||B(t)||!I(i))return;const r=t.split(" ");let o=a;he&&(o={passive:s,capture:a}),r.forEach(t=>{this&&this.eventListeners&&n&&this.eventListeners.push({element:e,type:t,callback:i,options:o}),e[n?"addEventListener":"removeEventListener"](t,i,o)})}function fe(e,t="",i,n=!0,s=!1){pe.call(this,e,t,i,!0,n,s)}function me(e,t="",i,n=!0,s=!1){pe.call(this,e,t,i,!1,n,s)}function ge(e,t="",i,n=!0,s=!1){const a=(...r)=>{me(e,t,a,n,s),i.apply(this,r)};pe.call(this,e,t,a,!0,n,s)}function ve(e,t="",i=!1,n={}){if(!H(e)||B(t))return;const s=new CustomEvent(t,{bubbles:i,detail:{...n,plyr:this}});e.dispatchEvent(s)}function be(){this&&this.eventListeners&&(this.eventListeners.forEac
2h(e=>{const{element:t,type:i,callback:n,options:s}=e;t.removeEventListener(i,n,s)}),this.eventListeners=[])}function ye(){return new Promise(e=>this.ready?setTimeout(e,0):fe.call(this,this.elements.container,"ready",e)).then(()=>{})}function we(e){(e=>T(e,Promise)&&E(e.then))(e)&&e.then(null,()=>{})}function Ce(e){return D(e)?e.filter((t,i)=>e.indexOf(t)===i):e}function Te(e,t){return D(e)&&e.length?e.reduce((e,i)=>Math.abs(i-t)<Math.abs(e-t)?i:e):null}function ke(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}const $e=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((e,[t,i])=>({...e,[t/i]:[t,i]}),{});function Se(e){return!!(D(e)||O(e)&&e.includes(":"))&&(D(e)?e:e.split(":")).map(Number).every(M)}function Ee(e){if(!D(e)||!e.every(M))return null;const[t,i]=e,n=(e,t)=>0===t?e:n(t,e%t),s=n(t,i);return[t/s,i/s]}function xe(e){const t=e=>Se(e)?e.split(":").map(Number):null;let i=t(e);if(null===i&&(i=t(this.config.ratio)),null===i&&!B(this.embed)&&D(this.embed.ratio)&&({ratio:i}=this.embed),null===i&&this.isHTML5){const{videoWidth:e,videoHeight:t}=this.media;i=[e,t]}return Ee(i)}function _e(e){if(!this.isVideo)return{};const{wrapper:t}=this.elements,i=xe.call(this,e);if(!D(i))return{};const[n,s]=Ee(i),a=100/n*s;if(ke(`aspect-ratio: ${n}/${s}`)?t.style.aspectRatio=`${n}/${s}`:t.style.paddingBottom=`${a}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){const e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10),i=(e-a)/(e/50);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${i}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:a,ratio:i}}function Ae(e,t,i=.05){const n=e/t,s=Te(Object.keys($e),n);return Math.abs(s-n)<=i?$e[s]:[e,t]}const Pe={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(e=>{const t=e.getAttribute("type");return!!B(t)||ue.mime.call(this,t)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:Pe.getSources.call(this).map(e=>Number(e.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;const e=this;e.options.speed=e.config.speed.options,B(this.config.ratio)||_e.call(e),Object.defineProperty(e.media,"quality",{get(){const t=Pe.getSources.call(e).find(t=>t.getAttribute("src")===e.source);return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&I(e.config.quality.onChange))e.config.quality.onChange(t);else{const i=Pe.getSources.call(e).find(e=>Number(e.getAttribute("size"))===t);if(!i)return;const{currentTime:n,paused:s,preload:a,readyState:r,playbackRate:o}=e.media;e.media.src=i.getAttribute("src"),("none"!==a||r)&&(e.once("loadedmetadata",()=>{e.speed=o,e.currentTime=n,s||we(e.play())}),e.media.load())}ve.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(Z(Pe.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function Le(e,...t){return B(e)?e:e.toString().replace(/{(\d+)}/g,(e,i)=>t[i].toString())}const Me=(e="",t="",i="")=>e.replace(new RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),i.toString()),Oe=(e="")=>e.toString().replace(/\w\S*/g,e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase());function ze(e){const t=document.createElement("div");return t.appendChild(e),t.innerHTML}const Ie={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},De={get(e="",t={}){if(B(e)||B(t))return"";let i=U(t.i18n,e);if(B(i))return Object.keys(Ie).includes(e)?Ie[e]:"";const n={"{seektime}":t.seekTime,"{title}":t.title};return Object.entries(n).forEach(([e,t])=>{i=Me(i,e,t)}),i}};class Ne{constructor(t){e(this,"get",e=>{if(!Ne.supported||!this.enabled)return null;const t=window.localStorage.getItem(this.key);if(B(t))return null;const i=JSON.parse(t);return O(e)&&e.length?i[e]:i}),e(this,"set",e=>{if(!Ne.supported||!this.enabled)return;if(!L(e))return;let t=this.get();B(t)&&(t={}),Y(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}}),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;const e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function He(e,t="text"){return new Promise((i,n)=>{try{const n=new XMLHttpRequest;if(!("withCredentials"in n))return;n.addEventListener("load",()=>{if("text"===t)try{i(JSON.parse(n.responseText))}catch(e){i(n.responseText)}else i(n.response)}),n.addEventListener("error",()=>{throw new Error(n.status)}),n.open("GET",e,!0),n.responseType=t,n.send()}catch(e){n(e)}})}function je(e,t){if(!O(e))return;const i=O(t);let n=!1;const s=()=>null!==document.getElementById(t),a=(e,t)=>{e.innerHTML=t,i&&s()||document.body.insertAdjacentElement("afterbegin",e)};
vendor: 24,373 bytes, line 2
2if(!i||!s()){const s=Ne.supported,r=document.createElement("div");if(r.setAttribute("hidden",""),i&&r.setAttribute("id",t),s){const e=window.localStorage.getItem(`cache-${t}`);if(n=null!==e,n){const t=JSON.parse(e);a(r,t.content)}}He(e).then(e=>{if(!B(e)){if(s)try{window.localStorage.setItem(`cache-${t}`,JSON.stringify({content:e}))}catch(e){}a(r,e)}}).catch(()=>{})}}const Fe=e=>Math.trunc(e/60/60%60,10);function Re(e=0,t=!1,i=!1){if(!M(e))return Re(void 0,t,i);const n=e=>`0${e}`.slice(-2);let s=Fe(e);const a=(r=e,Math.trunc(r/60%60,10));var r;const o=(e=>Math.trunc(e%60,10))(e);return s=t||s>0?`${s}:`:"",`${i&&e>0?"-":""}${s}${n(a)}:${n(o)}`}const qe={getIconUrl(){const e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,i=e.host!==t||G.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:i}},findElements(){try{return this.elements.controls=le.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:oe.call(this,this.config.selectors.buttons.play),pause:le.call(this,this.config.selectors.buttons.pause),restart:le.call(this,this.config.selectors.buttons.restart),rewind:le.call(this,this.config.selectors.buttons.rewind),fastForward:le.call(this,this.config.selectors.buttons.fastForward),mute:le.call(this,this.config.selectors.buttons.mute),pip:le.call(this,this.config.selectors.buttons.pip),airplay:le.call(this,this.config.selectors.buttons.airplay),settings:le.call(this,this.config.selectors.buttons.settings),captions:le.call(this,this.config.selectors.buttons.captions),fullscreen:le.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=le.call(this,this.config.selectors.progress),this.elements.inputs={seek:le.call(this,this.config.selectors.inputs.seek),volume:le.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:le.call(this,this.config.selectors.display.buffer),currentTime:le.call(this,this.config.selectors.display.currentTime),duration:le.call(this,this.config.selectors.display.duration)},H(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){const i="http://www.w3.org/2000/svg",n=qe.getIconUrl.call(this),s=`${n.cors?"":n.url}#${this.config.iconPrefix}`,a=document.createElementNS(i,"svg");X(a,Y(t,{"aria-hidden":"true",focusable:"false"}));const r=document.createElementNS(i,"use"),o=`${s}-${e}`;return"href"in r&&r.setAttributeNS("http://www.w3.org/1999/xlink","href",o),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.appendChild(r),a},createLabel(e,t={}){const i=De.get(e,this.config);return J("span",{...t,class:[t.class,this.config.classNames.hidden].filter(Boolean).join(" ")},i)},createBadge(e){if(B(e))return null;const t=J("span",{class:this.config.classNames.menu.value});return t.appendChild(J("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){const i=Y({},t);let n=function(e=""){let t=e.toString();return t=function(e=""){let t=e.toString();return t=Me(t,"-"," "),t=Me(t,"_"," "),t=Oe(t),Me(t," ","")}(t),t.charAt(0).toLowerCase()+t.slice(1)}(e);const s={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(e=>{Object.keys(i).includes(e)&&(s[e]=i[e],delete i[e])}),"button"!==s.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(e=>e===this.config.classNames.control)||Y(i,{class:`${i.class} ${this.config.classNames.control}`}):i.class=this.config.classNames.control,e){case"play":s.toggle=!0,s.label="play",s.labelPressed="pause",s.icon="play",s.iconPressed="pause";break;case"mute":s.toggle=!0,s.label="mute",s.labelPressed="unmute",s.icon="volume",s.iconPressed="muted";break;case"captions":s.toggle=!0,s.label="enableCaptions",s.labelPressed="disableCaptions",s.icon="captions-off",s.iconPressed="captions-on";break;case"fullscreen":s.toggle=!0,s.label="enterFullscreen",s.labelPressed="exitFullscreen",s.icon="enter-fullscreen",s.iconPressed="exit-fullscreen";break;case"play-large":i.class+=` ${this.config.classNames.control}--overlaid`,n="play",s.label="play",s.icon="play";break;default:B(s.label)&&(s.label=n),B(s.icon)&&(s.icon=e)}const a=J(s.element);return s.toggle?(a.appendChild(qe.createIcon.call(this,s.iconPressed,{class:"icon--pressed"})),a.appendChild(qe.createIcon.call(this,s.icon,{class:"icon--not-pressed"})),a.appendChild(qe.createLabel.call(this,s.labelPressed,{class:"label--pressed"})),a.appendChild(qe.createLabel.call(this,s.label,{class:"label--not-pressed"}))):(a.appendChild(qe.createIcon.call(this,s.icon)),a.appendChild(qe.createLabel.call(this,s.label))),Y(i,ie(this.config.selectors.buttons[n],i)),X(a,i),"play"===n?(D(this.elements.buttons[n])||(this.elements.buttons[n]=[]),this.elements.buttons[n].push(a)):this.elements.buttons[n]=a,a},createRange(e,t){const i=J("input",Y(ie(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":De.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=i,qe.updateRangeFill.call(this,i),w.setup(i),i},createProgress(e,t){const i=J("progress",Y(ie(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){i.appendChild(J("span",null,"0"));const t={played:"played",buffer:"buffered"}[e],n=t?De.get(t,this.config):"";i.innerText=`% ${n.toLowerCase()}`}return this.elements.display[e]=i,i},createTime(e,t){const i=ie(this.config.selectors.display[e],t),n=J("div",Y(i,{class:`${i.class?i.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":De.get(e,this.config)}),"00:00");return this.elements.display[e]=n,n},bindMenuItemShortcuts(e,t){fe.call(this,e,"keydown keyup",i=>{if(!["Space","ArrowUp","ArrowDown","ArrowRight"].includes(i.key))return;if(i.preventDefault(),i.stopPropagation(),"keydown"===i.type)return;const n=re(e,'[role="menuitemradio"]');if(!n&&["Space","ArrowRight"].includes(i.key))qe.showMenuPanel.call(this,t,!0);else{let t;"Space"!==i.key&&("ArrowDown"===i.key||n&&"ArrowRight"===i.key?(t=e.nextElementSibling,H(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,H(t)||(t=e.parentNode.lastElementChild)),ce.call(this,t,!0))}},!1),fe.call(this,e,"keyup",e=>{"Return"===e.key&&qe.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:e,list:t,type:i,title:n,badge:s=null,checked:a=!1}){const r=ie(this.config.selectors.inputs[i]),o=J("button",Y(r,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${r.class?r.class:""}`.trim(),"aria-checked":a,value:e})),l=J("span");l.innerHTML=n,H(s)&&l.appendChild(s),o.appendChild(l),Object.defineProperty(o,"checked",{enumerable:!0,get:()=>"true"===o.getAttribute("aria-checked"),set(e){e&&Array.from(o.parentNode.children).filter(e=>re(e,'[role="menuitemradio"]')).forEach(e=>e.setAttribute("aria-checked","false")),o.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(o,"click keyup",t=>{if(!F(t)||"Space"===t.key){switch(t.preventDefault(),t.stopPropagation(),o.checked=!0,i){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}qe.showMenuPanel.call(this,"home",F(t))}},i,!1),qe.bindMenuItemShortcuts.call(this,o,i),t.appendChild(o)},formatTime(e=0,t=!1){return M(e)?Re(e,Fe(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,i=!1){H(e)&&M(t)&&(e.innerText=qe.formatTime(t,i))},updateVolume(){this.supported.ui&&(H(this.elements.inputs.volume)&&qe.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),H(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){H(e)&&(e.value=t,qe.updateRangeFill.call(this,e))},updateProgress(e){if(!this.supported.ui||!j(e))return;let t=0;const i=(e,t)=>{const i=M(t)?t:0,n=H(e)?e:this.elements.display.buffer;if(H(n)){n.value=i;const e=n.getElementsByTagName("span")[0];H(e)&&(e.childNodes[0].nodeValue=i)}};if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":n=this.currentTime,s=this.duration,t=0===n||0===s||Number.isNaN(n)||Number.isNaN(s)?0:(n/s*100).toFixed(2),"timeupdate"===e.type&&qe.setRange.call(this,this.elements.inputs.seek,t);break;case"playing":case"progress":i(this.elements.display.buffer,100*this.buffered)}var n,s},updateRangeFill(e){const t=j(e)?e.target:e;if(H(t)&&"range"===t.getAttribute("type")){if(re(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);const e=qe.formatTime(this.currentTime),i=qe.formatTime(this.duration),n=De.get("seekLabel",this.config);t.setAttribute("aria-valuetext",n.replace("{currentTime}",e).replace("{duration}",i))}else if(re(t,this.config.selectors.inputs.volume)){const e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);G.isWebkit&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){var t,i;if(!this.config.tooltips.seek||!H(this.elements.inputs.seek)||!H(this.elements.display.seekTooltip)||0===this.duration)return;const n=this.elements.display.seekTooltip,s=`${this.config.classNames.tooltip}--visible`,a=e=>se(n,s,e);if(this.touch)return void a(!1);let r=0;const o=this.elements.progress.getBoundingClientRect();if(j(e))r=100/o.width*(e.pageX-o.left);else{if(!ae(n,s))return;r=parseFloat(n.style.left,10)}r<0?r=0:r>100&&(r=100);const l=this.duration/100*r;n.innerText=qe.formatTime(l);const c=null===(t=this.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find(({time:e})=>e===Math.round(l));c&&n.insertAdjacentHTML("afterbegin",`${c.label}<br>`),n.style.left=`${r}%`,j(e)&&["mouseenter","mouseleave"].includes(e.type)&&a("mouseenter"===e.type)},timeUpdate(e){const t=!H(this.elements.display.duration)&&this.config.invertTime;qe.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||qe.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=2**32)return ne(this.elements.display.currentTime,!0),void ne(this.elements.progress,!0);H(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);const e=H(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&qe.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&qe.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&qe.setMarkers.call(this),qe.updateSeekTooltip.call(this)},toggleMenuButton(e,t){ne(this.elements.settings.buttons[e],!t)},updateSetting(e,t,i){const n=this.elements.settings.panels[e];let s=null,a=t;if("captions"===e)s=this.currentTrack;else{if(s=B(i)?this[e]:i,B(s)&&(s=this.config[e].default),!B(this.options[e])&&!this.options[e].includes(s))return void this.debug.warn(`Unsupported value of '${s}' for ${e}`);if(!this.config[e].options.includes(s))return void this.debug.warn(`Disabled value of '${s}' for ${e}`)}if(H(a)||(a=n&&n.querySelector('[role="menu"]')),!H(a))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=qe.getLabel.call(this,e,s);const r=a&&a.querySelector(`[value="${s}"]`);H(r)&&(r.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?De.get("normal",this.config):`${t}×`;case"quality":if(M(t)){const e=De.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return Oe(t);case"captions":return We.getLabel.call(this);default:return null}},setQualityMenu(e){if(!H(this.elements.settings.panels.quality))return;const t="quality",i=this.elements.settings.panels.quality.querySelector('[role="menu"]');D(e)&&(this.options.quality=Ce(e).filter(e=>this.config.quality.options.includes(e)));const n=!B(this.options.quality)&&this.options.quality.length>1;if(qe.toggleMenuButton.call(this,t,n),ee(i),qe.checkMenu.call(this),!n)return;const s=e=>{const t=De.get(`qualityBadge.${e}`,this.config);return t.length?qe.createBadge.call(this,t):null};this.options.quality.sort((e,t)=>{const i=this.config.quality.options;return i.indexOf(e)>i.indexOf(t)?1:-1}).forEach(e=>{qe.createMenuItem.call(this,{value:e,list:i,type:t,title:qe.getLabel.call(this,"quality",e),badge:s(e)})}),qe.updateSetting.call(this,t,i)},setCaptionsMenu(){if(!H(this.elements.settings.panels.captions))return;const e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),i=We.getTracks.call(this),n=Boolean(i.length);if(qe.toggleMenuButton.call(this,e,n),ee(t),qe.checkMenu.call(this),!n)return;const s=i.map((e,i)=>({value:i,checked:this.captions.toggled&&this.currentTrack===i,title:We.getLabel.call(this,e),badge:e.language&&qe.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"}));s.unshift({value:-1,checked:!this.captions.toggled,title:De.get("disabled",this.config),list:t,type:"language"}),s.forEach(qe.createMenuItem.bind(this)),qe.updateSetting.call(this,e,t)},setSpeedMenu(){if(!H(this.elements.settings.panels.speed))return;const e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(e=>e>=this.minimumSpeed&&e<=this.maximumSpeed);const i=!B(this.options.speed)&&this.options.speed.length>1;qe.toggleMenuButton.call(this,e,i),ee(t),qe.checkMenu.call(this),i&&(this.options.speed.forEach(i=>{qe.createMenuItem.call(this,{value:i,list:t,type:e,title:qe.getLabel.call(this,"speed",i)})}),qe.updateSetting.call(this,e,t))},checkMenu(){const{buttons:e}=this.elements.settings,t=!B(e)&&Object.values(e).some(e=>!e.hidden);ne(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let i=e;H(i)||(i=Object.values(this.elements.settings.panels).find(e=>!e.hidden));const n=i.querySelector('[role^="menuitem"]');ce.call(this,n,t)},toggleMenu(e){const{popup:t}=this.elements.settings,i=this.elements.buttons.settings;if(!H(t)||!H(i))return;const{hidden:n}=t;let s=n;if(z(e))s=e;else if(F(e)&&"Escape"===e.key)s=!1;else if(j(e)){const n=I(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(n);if(a||!a&&e.target!==i&&s)return}i.setAttribute("aria-expanded",s),ne(t,!s),se(this.elements.container,this.config.classNames.menu.open,s),s&&F(e)?qe.focusFirstMenuItem.call(this,null,!0):s||n||ce.call(this,i,F(e))},getMenuSize(e){const t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);const i=t.scrollWidth,n=t.scrollHeight;return Z(t),{width:i,height:n}},showMenuPanel(e="",t=!1){const i=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!H(i))return;const n=i.parentNode,s=Array.from(n.children).find(e=>!e.hidden);if(ue.transitions&&!ue.reducedMotion){n.style.width=`${s.scrollWidth}px`,n.style.height=`${s.scrollHeight}px`;const e=qe.getMenuSize.call(this,i),t=e=>{e.target===n&&["width","height"].includes(e.propertyName)&&(n.style.width="",n.style.height="",me.call(this,n,V,t))};fe.call(this,n,V,t),n.style.width=`${e.width}px`,n.style.height=`${e.height}px`}ne(s,!0),ne(i,!1),qe.focusFirstMenuItem.call(this,i,t)},setDownloadUrl(){const e=this.elements.buttons.download;H(e)&&e.setAttribute("href",this.download)},create(e){const{bindMenuItemShortcuts:t,createButton:i,createProgress:n,createRange:s,createTime:a,setQualityMenu:r,setSpeedMenu:o,showMenuPanel:l}=qe;this.elements.controls=null,D(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));const c=J("div",ie(this.config.selectors.controls.wrapper));this.elements.controls=c;const d={class:"plyr__controls__item"};return Ce(D(this.config.controls)?this.config.controls:[]).forEach(r=>{if("restart"===r&&c.appendChild(i.call(this,"restart",d)),"rewind"===r&&c.appendChild(i.call(this,"rewind",d)),"play"===r&&c.appendChild(i.call(this,"play",d)),"fast-forward"===r&&c.appendChild(i.call(this,"fast-forward",d)),"progress"===r){const t=J("div",{class:`${d.class} plyr__progress__container`}),i=J("div",ie(this.config.selectors.progress));if(i.appendChild(s.call(this,"seek",{id:`plyr-seek-${e.id}`})),i.appendChild(n.call(this,"buffer")),this.config.tooltips.seek){const e=J("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=i,t.appendChild(this.elements.progress),c.appendChild(t)}if("current-time"===r&&c.appendChild(a.call(this,"currentTime",d)),"duration"===r&&c.appendChild(a.call(this,"duration",d)),"mute"===r||"volume"===r){let{volume:t}=this.elements;if(H(t)&&c.contains(t)||(t=J("div",Y({},d,{class:`${d.class} plyr__volume`.trim()})),this.elements.volume=t,c.appendChild(t)),"mute"===r&&t.appendChild(i.call(this,"mute")),"volume"===r&&!G.isIos){const i={max:1,step:.05,value:this.config.volume};t.appendChild(s.call(this,"volume",Y(i,{id:`plyr-volume-${e.id}`})))}}if("captions"===r&&c.appendChild(i.call(this,"captions",d)),"settings"===r&&!B(this.config.settings)){const n=J("div",Y({},d,{class:`${d.class} plyr__menu`.trim(),hidden:""}));n.appendChild(i.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));const s=J("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),a=J("div"),r=J("div",{id:`plyr-settings-${e.id}-home`}),o=J("div",{role:"menu"});r.appendChild(o),a.appendChild(r),this.elements.settings.panels.home=r,this.config.settings.forEach(i=>{const n=J("button",Y(ie(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,n,i),fe.call(this,n,"click",()=>{l.call(this,i,!1)});const s=J("span",null,De.get(i,this.config)),r=J("span",{class:this.config.classNames.menu.value});r.innerHTML=e[i],s.appendChild(r),n.appendChild(s),o.appendChild(n);const c=J("div",{id:`plyr-settings-${e.id}-${i}`,hidden:""}),d=J("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});d.appendChild(J("span",{"aria-hidden":!0},De.get(i,this.config))),d.appendChild(J("span",{class:this.config.classNames.hidden},De.get("menuBack",this.config))),fe.call(this,c,"keydown",e=>{"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))},!1),fe.call(this,d,"click",()=>{l.call(this,"home",!1)}),c.appendChild(d),c.appendChild(J("div",{role:"menu"})),a.appendChild(c),this.elements.settings.buttons[i]=n,this.elements.settings.panels[i]=c}),s.appendChild(a),n.appendChild(s),c.appendChild(n),this.elements.settings.popup=s,this.elements.settings.menu=n}if("pip"===r&&ue.pip&&c.appendChild(i.call(this,"pip",d)),"airplay"===r&&ue.airplay&&c.appendChild(i.call(this,"airplay",d)),"download"===r){const e=Y({},d,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");const{download:t}=this.config.urls;!q(t)&&this.isEmbed&&Y(e,{icon:`logo-${this.provider}`,label:this.provider}),c.appendChild(i.call(this,"download",e))}"fullscreen"===r&&c.appendChild(i.call(this,"fullscreen",d))}),this.isHTML5&&r.call(this,Pe.getQualityOptions.call(this)),o.call(this),c},inject(){if(this.config.loadSprite){const e=qe.getIconUrl.call(this);e.cors&&je(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let e=null;this.elements.controls=null;const t={id:this.id,seektime:this.config.seekTime,title:this.config.title};let i,n=!0;if(I(this.config.controls)&&(this.config.controls=this.config.controls.call(this,t)),this.config.controls||(this.config.controls=[]),H(this.config.controls)||O(this.config.controls)?e=this.config.controls:(e=qe.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:We.getLabel.call(this)}),n=!1),n&&O(this.config.controls)&&(e=(e=>{let i=e;return Object.entries(t).forEach(([e,t])=>{i=Me(i,`{${e}}`,t)}),i})(e)),O(this.config.selectors.controls.container)&&(i=document.querySelector(this.config.selectors.controls.container)),H(i)||(i=this.elements.container),i[H(e)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",e),H(this.elements.controls)||qe.findElements.call(this),!B(this.elements.buttons)){const e=e=>{const t=this.config.classNames.controlPressed;e.setAttribute("aria-pressed","false"),Object.defineProperty(e,"pressed",{configurable:!0,enumerable:!0,get:()=>ae(e,t),set(i=!1){se(e,t,i),e.setAttribute("aria-pressed",i?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(t=>{D(t)||N(t)?Array.from(t).filter(Boolean).forEach(e):e(t)})}if(G.isEdge&&W(i),this.config.tooltips.controls){const{classNames:e,selectors:t}=this.config,i=`${t.controls.wrapper} ${t.labels} .${e.hidden}`,n=oe.call(this,i);Array.from(n).forEach(e=>{se(e,this.config.classNames.hidden,!1),se(e,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch(e){}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;const i=null===(e=this.config.markers)||void 0===e||null===(t=e.points)||void 0===t?void 0:t.filter(({time:e})=>e>0&&e<this.duration);if(null==i||!i.length)return;const n=document.createDocumentFragment(),s=document.createDocumentFragment();let a=null;const r=`${this.config.classNames.tooltip}--visible`,o=e=>se(a,r,e);i.forEach(e=>{const t=J("span",{class:this.config.classNames.marker},""),i=e.time/this.duration*100+"%";a&&(t.addEventListener("mouseenter",()=>{e.label||(a.style.left=i,a.innerHTML=e.label,o(!0))}),t.addEventListener("mouseleave",()=>{o(!1)})),t.addEventListener("click",()=>{this.currentTime=e.time}),t.style.left=i,s.appendChild(t)}),n.appendChild(s),this.config.tooltips.seek||(a=J("span",{class:this.config.classNames.tooltip},""),n.appendChild(a)),this.elements.markers={points:s,tip:a},this.elements.progress.appendChild(n)}};function Be(e,t=!0){let i=e;if(t){const e=document.createElement("a");e.href=i,i=e.href}try{return new URL(i)}catch(e){return null}}function Ve(e){const t=new URLSearchParams;return L(e)&&Object.entries(e).forEach(([e,i])=>{t.set(e,i)}),t}const We={setup(){if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!ue.textTracks)return void(D(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&qe.setCaptionsMenu.call(this));var e,t;if(H(this.elements.captions)||(this.elements.captions=J("div",ie(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),e=this.elements.captions,t=this.elements.wrapper,H(e)&&H(t)&&t.parentNode.insertBefore(e,t.nextSibling)),G.isIE&&window.URL){const e=this.media.querySelectorAll("track");Array.from(e).forEach(e=>{const t=e.getAttribute("src"),i=Be(t);null!==i&&i.hostname!==window.location.href.hostname&&["http:","https:"].includes(i.protocol)&&He(t,"blob").then(t=>{e.setAttribute("src",window.URL.createObjectURL(t))}).catch(()=>{Z(e)})})}const i=Ce((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(e=>e.split("-")[0]));let n=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===n&&([n]=i);let s=this.storage.get("captions");if(z(s)||({active:s}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:s,language:n,languages:i}),this.isHTML5){const e=this.config.captions.update?"addtrack removetrack":"removetrack";fe.call(this,this.media.textTracks,e,We.update.bind(this))}setTimeout(We.update.bind(this),0)},update(){const e=We.getTracks.call(this,!0),{active:t,language:i,meta:n,currentTrackNode:s}=this.captions,a=Boolean(e.find(e=>e.language===i));this.isHTML5&&this.isVideo&&e.filter(e=>
vendor: 5,071 bytes, line 2
2!n.get(e)).forEach(e=>{this.debug.log("Track added",e),n.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),fe.call(this,e,"cuechange",()=>We.updateCues.call(this))}),(a&&this.language!==i||!e.includes(s))&&(We.setLanguage.call(this,i),We.toggle.call(this,t&&a)),this.elements&&se(this.elements.container,this.config.classNames.captions.enabled,!B(e)),D(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&qe.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;const{toggled:i}=this.captions,n=this.config.classNames.captions.active,s=P(e)?!i:e;if(s!==i){if(t||(this.captions.active=s,this.storage.set({captions:s})),!this.language&&s&&!t){const e=We.getTracks.call(this),t=We.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void We.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=s),se(this.elements.container,n,s),this.captions.toggled=s,qe.updateSetting.call(this,"captions"),ve.call(this,this.media,s?"captionsenabled":"captionsdisabled")}setTimeout(()=>{s&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(e,t=!0){const i=We.getTracks.call(this);if(-1!==e)if(M(e))if(e in i){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;const n=i[e],{language:s}=n||{};this.captions.currentTrackNode=n,qe.updateSetting.call(this,"captions"),t||(this.captions.language=s,this.storage.set({language:s})),this.isVimeo&&this.embed.enableTextTrack(s),ve.call(this,this.media,"languagechange")}We.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&We.updateCues.call(this)}else this.debug.warn("Track not found",e);else this.debug.warn("Invalid caption argument",e);else We.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!O(e))return void this.debug.warn("Invalid language argument",e);const i=e.toLowerCase();this.captions.language=i;const n=We.getTracks.call(this),s=We.findTrack.call(this,[i]);We.set.call(this,n.indexOf(s),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter(t=>!this.isHTML5||e||this.captions.meta.has(t)).filter(e=>["captions","subtitles"].includes(e.kind))},findTrack(e,t=!1){const i=We.getTracks.call(this),n=e=>Number((this.captions.meta.get(e)||{}).default),s=Array.from(i).sort((e,t)=>n(t)-n(e));let a;return e.every(e=>(a=s.find(t=>t.language===e),!a)),a||(t?s[0]:void 0)},getCurrentTrack(){return We.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!R(t)&&ue.textTracks&&this.captions.toggled&&(t=We.getCurrentTrack.call(this)),R(t)?B(t.label)?B(t.language)?De.get("enabled",this.config):e.language.toUpperCase():t.label:De.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!H(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!P(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;if(!t){const e=We.getCurrentTrack.call(this);t=Array.from((e||{}).activeCues||[]).map(e=>e.getCueAsHTML()).map(ze)}const i=t.map(e=>e.trim()).join("\n");if(i!==this.elements.captions.innerHTML){ee(this.elements.captions);const e=J("span",ie(this.config.selectors.caption));e.innerHTML=i,this.elements.captions.appendChild(e),ve.call(this,this.media,"cuechange")}}},Ge={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.7.3/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"S
2D"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isIos:"plyr--is-ios",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},tabFocus:"plyr__tab-focus",previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},Ue="picture-in-picture",Ye={html5:"html5",youtube:"youtube",vimeo:"vimeo"},Ke=()=>{};class Xe{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):Ke}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):Ke}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):Ke}}class Je{constructor(t){e(this,"onChange",()=>{if(!this.enabled)return;const e=this.player.elements.buttons.fullscreen;H(e)&&(e.pressed=this.active);const t=this.target===this.player.media?this.target:this.player.elements.container;ve.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)}),e(this,"toggleFallback",(e=!1)=>
vendor: 55,822 bytes, line 2
2{if(e?this.scrollPosition={x:window.scrollX||0,y:window.scrollY||0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",se(this.target,this.player.config.classNames.fullscreen.fallback,e),G.isIos){let t=document.head.querySelector('meta[name="viewport"]');const i="viewport-fit=cover";t||(t=document.createElement("meta"),t.setAttribute("name","viewport"));const n=O(t.content)&&t.content.includes(i);e?(this.cleanupViewport=!n,n||(t.content+=`,${i}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter(e=>e.trim()!==i).join(","))}this.onChange()}),e(this,"trapFocus",e=>{if(G.isIos||!this.active||"Tab"!==e.key)return;const t=document.activeElement,i=oe.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[n]=i,s=i[i.length-1];t!==s||e.shiftKey?t===n&&e.shiftKey&&(s.focus(),e.preventDefault()):(n.focus(),e.preventDefault())}),e(this,"update",()=>{if(this.enabled){let e;e=this.forceFallback?"Fallback (forced)":Je.native?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");se(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.enabled)}),e(this,"enter",()=>{this.enabled&&(G.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!Je.native||this.forceFallback?this.toggleFallback(!0):this.prefix?B(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))}),e(this,"exit",()=>{if(this.enabled)if(G.isIos&&this.player.config.fullscreen.iosNative)this.target.webkitExitFullscreen(),we(this.player.play());else if(!Je.native||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!B(this.prefix)){const e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}),e(this,"toggle",()=>{this.active?this.exit():this.enter()}),this.player=t,this.prefix=Je.prefix,this.property=Je.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){const{prototype:i}=Element;return(i.closest||function(){let e=this;do{if(re.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),fe.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,()=>{this.onChange()}),fe.call(this.player,this.player.elements.container,"dblclick",e=>{H(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")}),fe.call(this,this.player.elements.container,"keydown",e=>this.trapFocus(e)),this.update()}static get native(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get usingNative(){return Je.native&&!this.forceFallback}static get prefix(){if(I(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some(t=>!(!I(document[`${t}ExitFullscreen`])&&!I(document[`${t}CancelFullScreen`])||(e=t,0))),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get enabled(){return(Je.native||this.player.config.fullscreen.fallback)&&this.player.config.fullscreen.enabled&&this.player.supported.ui&&this.player.isVideo}get active(){if(!this.enabled)return!1;if(!Je.native||this.forceFallback)return ae(this.target,this.player.config.classNames.fullscreen.fallback);const e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){return G.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen||this.player.elements.container}}function Qe(e,t=1){return new Promise((i,n)=>{const s=new Image,a=()=>{delete s.onload,delete s.onerror,(s.naturalWidth>=t?i:n)(s)};Object.assign(s,{onload:a,onerror:a,src:e})})}const Ze={addStyleHook(){se(this.elements.container,this.config.selectors.container.replace(".",""),!0),se(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void Ze.toggleNativeControls.call(this,!0);H(this.elements.controls)||(qe.inject.call(this),this.listeners.controls()),Ze.toggleNativeControls.call(this),this.isHTML5&&We.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,qe.updateVolume.call(this),qe.timeUpdate.call(this),qe.durationUpdate.call(this),Ze.checkPlaying.call(this),se(this.elements.container,this.config.classNames.pip.supported,ue.pip&&this.isHTML5&&this.isVideo),se(this.elements.container,this.config.classNames.airplay.supported,ue.airplay&&this.isHTML5),se(this.elements.container,this.config.classNames.isIos,G.isIos),se(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(()=>{ve.call(this,this.media,"ready")},0),Ze.setTitle.call(this),this.poster&&Ze.setPoster.call(this,this.poster,!1).catch(()=>{}),this.config.duration&&qe.durationUpdate.call(this),this.config.mediaMetadata&&qe.setMediaMetadata.call(this)},setTitle(){let e=De.get("play",this.config);if(O(this.config.title)&&!B(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach(t=>{t.setAttribute("aria-label",e)}),this.isEmbed){const e=le.call(this,"iframe");if(!H(e))return;const t=B(this.config.title)?"video":this.config.title,i=De.get("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",t))}},togglePoster(e){se(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(new Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),ye.call(this).then(()=>Qe(e)).catch(t=>{throw e===this.poster&&Ze.togglePoster.call(this,!1),t}).then(()=>{if(e!==this.poster)throw new Error("setPoster cancelled by later call to setPoster")}).then(()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),Ze.togglePoster.call(this,!0),e)))},checkPlaying(e){se(this.elements.container,this.config.classNames.playing,this.playing),se(this.elements.container,this.config.classNames.paused,this.paused),se(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",De.get(this.playing?"pause":"play",this.config))}),j(e)&&"timeupdate"===e.type||Ze.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(()=>{se(this.elements.container,this.config.classNames.loading,this.loading),Ze.toggleControls.call(this)},this.loading?250:0)},toggleControls(e){const{controls:t}=this.elements;if(t&&this.config.hideControls){const i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(Boolean(e||this.loading||this.paused||t.pressed||t.hover||i))}},migrateStyles(){Object.values({...this.media.style}).filter(e=>!B(e)&&O(e)&&e.startsWith("--plyr")).forEach(e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)}),B(this.media.style)&&this.media.removeAttribute("style")}};class et{constructor(t){e(this,"firstTouch",()=>{const{player:e}=this,{elements:t}=e;e.touch=!0,se(t.container,e.config.classNames.isTouch,!0)}),e(this,"setTabFocus",e=>{const{player:t}=this,{elements:i}=t,{key:n,type:s,timeStamp:a}=e;if(clearTimeout(this.focusTimer),"keydown"===s&&"Tab"!==n)return;"keydown"===s&&(this.lastKeyDown=a);const r=a-this.lastKeyDown<=20;("focus"!==s||r)&&((()=>{const e=t.config.classNames.tabFocus;se(oe.call(t,`.${e}`),e,!1)})(),"focusout"!==s&&(this.focusTimer=setTimeout(()=>{const e=document.activeElement;i.container.contains(e)&&se(document.activeElement,t.config.classNames.tabFocus,!0)},10)))}),e(this,"global",(e=!0)=>{const{player:t}=this;t.config.keyboard.global&&pe.call(t,window,"keydown keyup",this.handleKey,e,!1),pe.call(t,document.body,"click",this.toggleMenu,e),ge.call(t,document.body,"touchstart",this.firstTouch),pe.call(t,document.body,"keydown focus blur focusout",this.setTabFocus,e,!1,!0)}),e(this,"container",()=>{const{player:e}=this,{config:t,elements:i,timers:n}=e;!t.keyboard.global&&t.keyboard.focused&&fe.call(e,i.container,"keydown keyup",this.handleKey,!1),fe.call(e,i.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",t=>{const{controls:s}=i;s&&"enterfullscreen"===t.type&&(s.pressed=!1,s.hover=!1);let a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(Ze.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(n.controls),n.controls=setTimeout(()=>Ze.toggleControls.call(e,!1),a)});const s=()=>{if(!e.isVimeo||e.config.vimeo.premium)return;const t=i.wrapper,{active:n}=e.fullscreen,[s,a]=xe.call(e),r=ke(`aspect-ratio: ${s} / ${a}`);if(!n)return void(r?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));const[o,l]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],c=o/l>s/a;r?(t.style.width=c?"auto":"100%",t.style.height=c?"100%":"auto"):(t.style.maxWidth=c?l/a*s+"px":null,t.style.margin=c?"0 auto":null)},a=()=>{clearTimeout(n.resized),n.resized=setTimeout(s,50)};fe.call(e,i.container,"enterfullscreen exitfullscreen",t=>{const{target:n}=e.fullscreen;n===i.container&&(!e.isEmbed&&B(e.config.ratio)||(s(),("enterfullscreen"===t.type?fe:me).call(e,window,"resize",a)))})}),e(this,"media",()=>{const{player:e}=this,{elements:t}=e;if(fe.call(e,e.media,"timeupdate seeking seeked",t=>qe.timeUpdate.call(e,t)),fe.call(e,e.media,"durationchange loadeddata loadedmetadata",t=>qe.durationUpdate.call(e,t)),fe.call(e,e.media,"ended",()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())}),fe.call(e,e.media,"progress playing seeking seeked",t=>qe.updateProgress.call(e,t)),fe.call(e,e.media,"volumechange",t=>qe.updateVolume.call(e,t)),fe.call(e,e.media,"playing play pause ended emptied timeupdate",t=>Ze.checkPlaying.call(e,t)),fe.call(e,e.media,"waiting canplay seeked playing",t=>Ze.checkLoading.call(e,t)),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){const i=le.call(e,`.${e.config.classNames.video}`);if(!H(i))return;fe.call(e,t.container,"click",n=>{([t.container,i].includes(n.target)||i.contains(n.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(n,e.restart,"restart"),this.proxy(n,()=>{we(e.play())},"play")):this.proxy(n,()=>{we(e.togglePlay())},"play")))})}e.supported.ui&&e.config.disableContextMenu&&fe.call(e,t.wrapper,"contextmenu",e=>{e.preventDefault()},!1),fe.call(e,e.media,"volumechange",()=>{e.storage.set({volume:e.volume,muted:e.muted})}),fe.call(e,e.media,"ratechange",()=>{qe.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})}),fe.call(e,e.media,"qualitychange",t=>{qe.updateSetting.call(e,"quality",null,t.detail.quality)}),fe.call(e,e.media,"ready qualitychange",()=>{qe.setDownloadUrl.call(e)});const i=e.config.events.concat(["keyup","keydown"]).join(" ");fe.call(e,e.media,i,i=>{let{detail:n={}}=i;"error"===i.type&&(n=e.media.error),ve.call(e,t.container,i.type,!0,n)})}),e(this,"proxy",(e,t,i)=>{const{player:n}=this,s=n.config.listeners[i];let a=!0;I(s)&&(a=s.call(n,e)),!1!==a&&I(t)&&t.call(n,e)}),e(this,"bind",(e,t,i,n,s=!0)=>{const{player:a}=this,r=a.config.listeners[n],o=I(r);fe.call(a,e,t,e=>this.proxy(e,i,n),s&&!o)}),e(this,"controls",()=>{const{player:e}=this,{elements:t}=e,i=G.isIE?"change":"input";if(t.buttons.play&&Array.from(t.buttons.play).forEach(t=>{this.bind(t,"click",()=>{we(e.togglePlay())},"play")}),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",()=>{e.lastSeekTime=Date.now(),e.rewind()},"rewind"),this.bind(t.buttons.fastForward,"click",()=>{e.lastSeekTime=Date.now(),e.forward()},"fastForward"),this.bind(t.buttons.mute,"click",()=>{e.muted=!e.muted},"mute"),this.bind(t.buttons.captions,"click",()=>e.toggleCaptions()),this.bind(t.buttons.download,"click",()=>{ve.call(e,e.media,"download")},"download"),this.bind(t.buttons.fullscreen,"click",()=>{e.fullscreen.toggle()},"fullscreen"),this.bind(t.buttons.pip,"click",()=>{e.pip="toggle"},"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",t=>{t.stopPropagation(),t.preventDefault(),qe.toggleMenu.call(e,t)},null,!1),this.bind(t.buttons.settings,"keyup",t=>{["Space","Enter"].includes(t.key)&&("Enter"!==t.key?(t.preventDefault(),t.stopPropagation(),qe.toggleMenu.call(e,t)):qe.focusFirstMenuItem.call(e,null,!0))},null,!1),this.bind(t.settings.menu,"keydown",t=>{"Escape"===t.key&&qe.toggleMenu.call(e,t)}),this.bind(t.inputs.seek,"mousedown mousemove",e=>{const i=t.progress.getBoundingClientRect(),n=100/i.width*(e.pageX-i.left);e.currentTarget.setAttribute("seek-value",n)}),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",t=>{const i=t.currentTarget,n="play-on-seeked";if(F(t)&&!["ArrowLeft","ArrowRight"].includes(t.key))return;e.lastSeekTime=Date.now();const s=i.hasAttribute(n),a=["mouseup","touchend","keyup"].includes(t.type);s&&a?(i.removeAttribute(n),we(e.play())):!a&&e.playing&&(i.setAttribute(n,""),e.pause())}),G.isIos){const t=oe.call(e,'input[type="range"]');Array.from(t).forEach(e=>this.bind(e,i,e=>W(e.target)))}this.bind(t.inputs.seek,i,t=>{const i=t.currentTarget;let n=i.getAttribute("seek-value");B(n)&&(n=i.value),i.removeAttribute("seek-value"),e.currentTime=n/i.max*e.duration},"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",t=>qe.updateSeekTooltip.call(e,t)),this.bind(t.progress,"mousemove touchmove",t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.startMove(t)}),this.bind(t.progress,"mouseleave touchend click",()=>{const{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)}),this.bind(t.progress,"mousedown touchstart",t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.startScrubbing(t)}),this.bind(t.progress,"mouseup touchend",t=>{const{previewThumbnails:i}=e;i&&i.loaded&&i.endScrubbing(t)}),G.isWebkit&&Array.from(oe.call(e,'input[type="range"]')).forEach(t=>{this.bind(t,"input",t=>qe.updateRangeFill.call(e,t.target))}),e.config.toggleInvert&&!H(t.display.duration)&&this.bind(t.display.currentTime,"click",()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,qe.timeUpdate.call(e))}),this.bind(t.inputs.volume,i,t=>{e.volume=t.target.value},"volume"),this.bind(t.controls,"mouseenter mouseleave",i=>{t.controls.hover=!e.touch&&"mouseenter"===i.type}),t.fullscreen&&Array.from(t.fullscreen.children).filter(e=>!e.contains(t.container)).forEach(i=>{this.bind(i,"mouseenter mouseleave",i=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===i.type)})}),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(t.controls,"focusin",()=>{const{config:i,timers:n}=e;se(t.controls,i.classNames.noTransition,!0),Ze.toggleControls.call(e,!0),setTimeout(()=>{se(t.controls,i.classNames.noTransition,!1)},0);const s=this.touch?3e3:4e3;clearTimeout(n.controls),n.controls=setTimeout(()=>Ze.toggleControls.call(e,!1),s)}),this.bind(t.inputs.volume,"wheel",t=>{const i=t.webkitDirectionInvertedFromDevice,[n,s]=[t.deltaX,-t.deltaY].map(e=>i?-e:e),a=Math.sign(Math.abs(n)>Math.abs(s)?n:s);e.increaseVolume(a/50);const{volume:r}=e.media;(1===a&&r<1||-1===a&&r>0)&&t.preventDefault()},"volume",!1)}),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.setTabFocus=this.setTabFocus.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){const{player:t}=this,{elements:i}=t,{key:n,type:s,altKey:a,ctrlKey:r,metaKey:o,shiftKey:l}=e,c="keydown"===s,d=c&&n===this.lastKey;var u;if(!(a||r||o||l)&&n)if(c){const s=document.activeElement;if(H(s)){const{editable:n}=t.config.selectors,{seek:a}=i.inputs;if(s!==a&&re(s,n))return;if("Space"===e.key&&re(s,'button, [role^="menuitem"]'))return}switch(["Space","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(n)&&(e.preventDefault(),e.stopPropagation()),n){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":d||(u=parseInt(n,10),t.currentTime=t.duration/10*u);break;case"Space":case"k":d||we(t.togglePlay());break;case"ArrowUp":t.increaseVolume(.1);break;case"ArrowDown":t.decreaseVolume(.1);break;case"m":d||(t.muted=!t.muted);break;case"ArrowRight":t.forward();break;case"ArrowLeft":t.rewind();break;case"f":t.fullscreen.toggle();break;case"c":d||t.toggleCaptions();break;case"l":t.loop=!t.loop}"Escape"===n&&!t.fullscreen.usingNative&&t.fullscreen.active&&t.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}toggleMenu(e){qe.toggleMenu.call(this.player,e)}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==t||"undefined"!=typeof self&&self;var tt=function(e,t){return function(e,t){e.exports=function(){var e=function(){},t={},i={},n={};function s(e,t){if(e){var s=n[e];if(i[e]=t,s)for(;s.length;)s[0](e,t),s.splice(0,1)}}function a(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function r(t,i,n,s){var a,o,l=document,c=n.async,d=(n.numRetries||0)+1,u=n.before||e,h=t.replace(/[\?|#].*$/,""),p=t.replace(/^(css|img)!/,"");s=s||0,/(^css!|\.css$)/.test(h)?((o=l.createElement("link")).rel="stylesheet",o.href=p,(a="hideFocus"in o)&&o.relList&&(a=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(o=l.createElement("img")).src=p:((o=l.createElement("script")).src=t,o.async=void 0===c||c),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(a)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((s+=1)<d)return r(t,i,n,s)}else if("preload"==o.rel&&"style"==o.as)return o.rel="stylesheet";i(t,l,e.defaultPrevented)},!1!==u(t,o)&&l.head.appendChild(o)}function o(e,t,i){var n,s,a=(e=e.push?e:[e]).length,o=a,l=[];for(n=function(e,i,n){if("e"==i&&l.push(e),"b"==i){if(!n)return;l.push(e)}--a||t(l)},s=0;s<o;s++)r(e[s],n,i)}function l(e,i,n){var r,l;if(i&&i.trim&&(r=i),l=(r?n:i)||{},r){if(r in t)throw"LoadJS";t[r]=!0}function c(t,i){o(e,(function(e){a(l,e),t&&a({success:t,error:i},e),s(r,e)}),l)}if(l.returnPromise)return new Promise(c);c()}return l.ready=function(e,t){return function(e,t){e=e.push?e:[e];var s,a,r,o=[],l=e.length,c=l;for(s=function(e,i){i.length&&o.push(e),--c||t(o)};l--;)a=e[l],(r=i[a])?s(a,r):(n[a]=n[a]||[]).push(s)}(e,(function(e){a(t,e)})),l},l.done=function(e){s(e,[])},l.reset=function(){t={},i={},n={}},l.isDefined=function(e){return e in t},l}()}(t={exports:{}}),t.exports}();function it(e){return new Promise((t,i)=>{tt(e,{success:t,error:i})})}function nt(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,ve.call(this,this.media,e?"play":"pause"))}const st={setup(){const e=this;se(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,_e.call(e),L(window.Vimeo)?st.ready.call(e):it(e.config.urls.vimeo.sdk).then(()=>{st.ready.call(e)}).catch(t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)})},ready(){const e=this,t=e.config.vimeo,{premium:i,referrerPolicy:n,...s}=t;let a=e.media.getAttribute("src"),r="";B(a)?(a=e.media.getAttribute(e.config.attributes.embed.id),r=e.media.getAttribute(e.config.attributes.embed.hash)):r=function(e){const t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}(a);const o=r?{h:r}:{};i&&Object.assign(s,{controls:!1,sidedock:!1});const l=Ve({loop:e.config.loop.active,autoplay:e.autoplay,muted:e.muted,gesture:"media",playsinline:!this.config.fullscreen.iosNative,...o,...s}),c=B(d=a)?null:M(Number(d))?d:d.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:d;var d;const u=J("iframe"),h=Le(e.config.urls.vimeo.iframe,c,l);if(u.setAttribute("src",h),u.setAttribute("allowfullscreen",""),u.setAttribute("allow",["autoplay","fullscreen","picture-in-picture","encrypted-media","accelerometer","gyroscope"].join("; ")),B(n)||u.setAttribute("referrerPolicy",n),i||!t.customControls)u.setAttribute("data-poster",e.poster),e.media=te(u,e.media);else{const t=J("div",{class:e.config.classNames.embedContainer,"data-poster":e.poster});t.appendChild(u),e.media=te(t,e.media)}t.customControls||He(Le(e.config.urls.vimeo.api,h)).then(t=>{!B(t)&&t.thumbnail_url&&Ze.setPoster.call(e,t.thumbnail_url).catch(()=>{})}),e.embed=new window.Vimeo.Player(u,{autopause:e.config.autopause,muted:e.muted}),e.media.paused=!0,e.media.currentTime=0,e.supported.ui&&e.embed.disableTextTrack(),e.media.play=()=>(nt.call(e,!0),e.embed.play()),e.media.pause=()=>(nt.call(e,!1),e.embed.pause()),e.media.stop=()=>{e.pause(),e.currentTime=0};let{currentTime:p}=e.media;Object.defineProperty(e.media,"currentTime",{get:()=>p,set(t){const{embed:i,media:n,paused:s,volume:a}=e,r=s&&!i.hasPlayed;n.seeking=!0,ve.call(e,n,"seeking"),Promise.resolve(r&&i.setVolume(0)).then(()=>i.setCurrentTime(t)).then(()=>r&&i.pause()).then(()=>r&&i.setVolume(a)).catch(()=>{})}});let f=e.config.speed.selected;Object.defineProperty(e.media,"playbackRate",{get:()=>f,set(t){e.embed.setPlaybackRate(t).then(()=>{f=t,ve.call(e,e.media,"ratechange")}).catch(()=>{e.options.speed=[1]})}});let{volume:m}=e.config;Object.defineProperty(e.media,"volume",{get:()=>m,set(t){e.embed.setVolume(t).then(()=>{m=t,ve.call(e,e.media,"volumechange")})}});let{muted:g}=e.config;Object.defineProperty(e.media,"muted",{get:()=>g,set(t){const i=!!z(t)&&t;e.embed.setVolume(i?0:e.config.volume).then(()=>{g=i,ve.call(e,e.media,"volumechange")})}});let v,{loop:b}=e.config;Object.defineProperty(e.media,"loop",{get:()=>b,set(t){const i=z(t)?t:e.config.loop.active;e.embed.setLoop(i).then(()=>{b=i})}}),e.embed.getVideoUrl().then(t=>{v=t,qe.setDownloadUrl.call(e)}).catch(e=>{this.debug.warn(e)}),Object.defineProperty(e.media,"currentSrc",{get:()=>v}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration}),Promise.all([e.embed.getVideoWidth(),e.embed.getVideoHeight()]).then(t=>{const[i,n]=t;e.embed.ratio=Ae(i,n),_e.call(this)}),e.embed.setAutopause(e.config.autopause).then(t=>{e.config.autopause=t}),e.embed.getVideoTitle().then(t=>{e.config.title=t,Ze.setTitle.call(this)}),e.embed.getCurrentTime().then(t=>{p=t,ve.call(e,e.media,"timeupdate")}),e.embed.getDuration().then(t=>{e.media.duration=t,ve.call(e,e.media,"durationchange")}),e.embed.getTextTracks().then(t=>{e.media.textTracks=t,We.setup.call(e)}),e.embed.on("cuechange",({cues:t=[]})=>{const i=t.map(e=>function(e){const t=document.createDocumentFragment(),i=document.createElement("div");return t.appendChild(i),i.innerHTML=e,t.firstChild.innerText}(e.text));We.updateCues.call(e,i)}),e.embed.on("loaded",()=>{e.embed.getPaused().then(t=>{nt.call(e,!t),t||ve.call(e,e.media,"playing")}),H(e.embed.element)&&e.supported.ui&&e.embed.element.setAttribute("tabindex",-1)}),e.embed.on("bufferstart",()=>{ve.call(e,e.media,"waiting")}),e.embed.on("bufferend",()=>{ve.call(e,e.media,"playing")}),e.embed.on("play",()=>{nt.call(e,!0),ve.call(e,e.media,"playing")}),e.embed.on("pause",()=>{nt.call(e,!1)}),e.embed.on("timeupdate",t=>{e.media.seeking=!1,p=t.seconds,ve.call(e,e.media,"timeupdate")}),e.embed.on("progress",t=>{e.media.buffered=t.percent,ve.call(e,e.media,"progress"),1===parseInt(t.percent,10)&&ve.call(e,e.media,"canplaythrough"),e.embed.getDuration().then(t=>{t!==e.media.duration&&(e.media.duration=t,ve.call(e,e.media,"durationchange"))})}),e.embed.on("seeked",()=>{e.media.seeking=!1,ve.call(e,e.media,"seeked")}),e.embed.on("ended",()=>{e.media.paused=!0,ve.call(e,e.media,"ended")}),e.embed.on("error",t=>{e.media.error=t,ve.call(e,e.media,"error")}),t.customControls&&setTimeout(()=>Ze.build.call(e),0)}};function at(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,ve.call(this,this.media,e?"play":"pause"))}function rt(e){return e.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0}const ot={setup(){if(se(this.elements.wrapper,this.config.classNames.embed,!0),L(window.YT)&&I(window.YT.Player))ot.ready.call(this);else{const e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{I(e)&&e(),ot.ready.call(this)},it(this.config.urls.youtube.sdk).catch(e=>{this.debug.warn("YouTube API failed to load",e)})}},getTitle(e){He(Le(this.config.urls.youtube.api,e)).then(e=>{if(L(e)){const{title:t,height:i,width:n}=e;this.config.title=t,Ze.setTitle.call(this),this.embed.ratio=Ae(n,i)}_e.call(this)}).catch(()=>{_e.call(this)})},ready(){const e=this,t=e.config.youtube,i=e.media&&e.media.getAttribute("id");if(!B(i)&&i.startsWith("youtube-"))return;let n=e.media.getAttribute("src");B(n)&&(n=e.media.getAttribute(this.config.attributes.embed.id));const s=B(a=n)?null:a.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:a;var a;const r=J("div",{id:`${e.provider}-${Math.floor(1e4*Math.random())}`,"data-poster":t.customControls?e.poster:void 0});if(e.media=te(r,e.media),t.customControls){const t=e=>`https://i.ytimg.com/vi/${s}/${e}default.jpg`;Qe(t("maxres"),121).catch(()=>Qe(t("sd"),121)).catch(()=>Qe(t("hq"))).then(t=>Ze.setPoster.call(e,t.src)).then(t=>{t.includes("maxres")||(e.elements.poster.style.backgroundSize="cover")}).catch(()=>{})}e.embed=new window.YT.Player(e.media,{videoId:s,host:rt(t),playerVars:Y({},{autoplay:e.config.autoplay?1:0,hl:e.config.hl,controls:e.supported.ui&&t.customControls?0:1,disablekb:1,playsinline:e.config.fullscreen.iosNative?0:1,cc_load_policy:e.captions.active?1:0,cc_lang_pref:e.config.captions.language,widget_referrer:window?window.location.href:null},t),events:{onError(t){if(!e.media.error){const i=t.data,n={2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."}[i]||"An unknown error occured";e.media.error={code:i,message:n},ve.call(e,e.media,"error")}},onPlaybackRateChange(t){const i=t.target;e.media.playbackRate=i.getPlaybackRate(),ve.call(e,e.media,"ratechange")},onReady(i){if(I(e.media.play))return;const n=i.target;ot.getTitle.call(e,s),e.media.play=()=>{at.call(e,!0),n.playVideo()},e.media.pause=()=>{at.call(e,!1),n.pauseVideo()},e.media.stop=()=>{n.stopVideo()},e.media.duration=n.getDuration(),e.media.paused=!0,e.media.currentTime=0,Object.defineProperty(e.media,"currentTime",{get:()=>Number(n.getCurrentTime()),set(t){e.paused&&!e.embed.hasPlayed&&e.embed.mute(),e.media.seeking=!0,ve.call(e,e.media,"seeking"),n.seekTo(t)}}),Object.defineProperty(e.media,"playbackRate",{get:()=>n.getPlaybackRate(),set(e){n.setPlaybackRate(e)}});let{volume:a}=e.config;Object.defineProperty(e.media,"volume",{get:()=>a,set(t){a=t,n.setVolume(100*a),ve.call(e,e.media,"volumechange")}});let{muted:r}=e.config;Object.defineProperty(e.media,"muted",{get:()=>r,set(t){const i=z(t)?t:r;r=i,n[i?"mute":"unMute"](),n.setVolume(100*a),ve.call(e,e.media,"volumechange")}}),Object.defineProperty(e.media,"currentSrc",{get:()=>n.getVideoUrl()}),Object.defineProperty(e.media,"ended",{get:()=>e.currentTime===e.duration});const o=n.getAvailablePlaybackRates();e.options.speed=o.filter(t=>e.config.speed.options.includes(t)),e.supported.ui&&t.customControls&&e.media.setAttribute("tabindex",-1),ve.call(e,e.media,"timeupdate"),ve.call(e,e.media,"durationchange"),clearInterval(e.timers.buffering),e.timers.buffering=setInterval(()=>{e.media.buffered=n.getVideoLoadedFraction(),(null===e.media.lastBuffered||e.media.lastBuffered<e.media.buffered)&&ve.call(e,e.media,"progress"),e.media.lastBuffered=e.media.buffered,1===e.media.buffered&&(clearInterval(e.timers.buffering),ve.call(e,e.media,"canplaythrough"))},200),t.customControls&&setTimeout(()=>Ze.build.call(e),50)},onStateChange(i){const n=i.target;switch(clearInterval(e.timers.playing),e.media.seeking&&[1,2].includes(i.data)&&(e.media.seeking=!1,ve.call(e,e.media,"seeked")),i.data){case-1:ve.call(e,e.media,"timeupdate"),e.media.buffered=n.getVideoLoadedFraction(),ve.call(e,e.media,"progress");break;case 0:at.call(e,!1),e.media.loop?(n.stopVideo(),n.playVideo()):ve.call(e,e.media,"ended");break;case 1:t.customControls&&!e.config.autoplay&&e.media.paused&&!e.embed.hasPlayed?e.media.pause():(at.call(e,!0),ve.call(e,e.media,"playing"),e.timers.playing=setInterval(()=>{ve.call(e,e.media,"timeupdate")},50),e.media.duration!==n.getDuration()&&(e.media.duration=n.getDuration(),ve.call(e,e.media,"durationchange")));break;case 2:e.muted||e.embed.unMute(),at.call(e,!1);break;case 3:ve.call(e,e.media,"waiting")}ve.call(e,e.elements.container,"statechange",!1,{code:i.data})}}})}},lt={setup(){this.media?(se(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),se(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&se(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=J("div",{class:this.config.classNames.video}),K(this.media,this.elements.wrapper),this.elements.poster=J("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?Pe.setup.call(this):this.isYouTube?ot.setup.call(this):this.isVimeo&&st.setup.call(this)):this.debug.warn("No media element found!")}};class ct{constructor(t){e(this,"load",()=>{this.enabled&&(L(window.google)&&L(window.google.ima)?this.ready():it(this.player.config.urls.googleIMA.sdk).then(()=>{this.ready()}).catch(()=>{this.trigger("error",new Error("Google IMA SDK failed to load"))}))}),e(this,"ready",()=>{var e;this.enabled||((e=this).manager&&e.manager.destroy(),e.elements.displayContainer&&e.elements.displayContainer.destroy(),e.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(()=>{this.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}),e(this,"setupIMA",()=>{this.elements.container=J("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,e=>this.onAdsManagerLoaded(e),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>this.onAdError(e),!1),this.requestAds()}),e(this,"requestAds",()=>{const{container:e}=this.player.elements;try{const t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}}),e(this,"pollCountdown",(e=!1)=>{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(()=>{const e=Re(Math.max(this.manager.getRemainingTime(),0)),t=`${De.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)},100)}),e(this,"onAdsManagerLoaded",e=>{if(!this.enabled)return;const t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>this.onAdError(e)),Object.keys(google.ima.AdEvent.Type).forEach(e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],e=>this.onAdEvent(e))}),this.trigger("loaded")}),e(this,"addCuePoints",()=>{B(this.cuePoints)||this.cuePoints.forEach(e=>{if(0!==e&&-1!==e&&e<this.player.duration){const t=this.player.elements.progress;if(H(t)){const i=100/this.player.duration*e,n=J("span",{class:this.player.config.classNames.cues});n.style.left=`${i.toString()}%`,t.appendChild(n)}}})}),e(this,"onAdEvent",e=>{const{container:t}=this.player.elements,i=e.getAd(),n=e.getAdData();switch((e=>{ve.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=t.offsetWidth,i.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:n.adError&&this.player.debug.warn(`Non-fatal ad error: ${n.adError.getMessage()}`)}}),e(this,"onAdError",e=>{this.cancel(),this.player.debug.warn("Ads error",e)}),e(this,"listeners",()=>{const{container:e}=this.player.elements;let t;this.player.on("canplay",()=>{this.addCuePoints()}),this.player.on("ended",()=>{this.loader.contentComplete()}),this.player.on("timeupdate",()=>{t=this.player.currentTime}),this.player.on("seeked",()=>{const e=this.player.currentTime;B(this.cuePoints)||this.cuePoints.forEach((i,n)=>{t<i&&i<e&&(this.manager.discardAdBreak(),this.cuePoints.splice(n,1))})}),window.addEventListener("resize",()=>{this.manager&&this.manager.resize(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL)})}),e(this,"play",()=>{const{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then(()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}}).catch(()=>{})}),e(this,"resumeContent",()=>{this.elements.container.style.zIndex="",this.playing=!1,we(this.player.media.play())}),e(this,"pauseContent",()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}),e(this,"cancel",()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}),e(this,"loadAds",()=>{this.managerPromise.then(()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise(e=>{this.on("loaded",e),this.player.debug.log(this.manager)}),this.initialized=!1,this.requestAds()}).catch(()=>{})}),e(this,"trigger",(e,...t)=>{const i=this.events[e];D(i)&&i.forEach(e=>{I(e)&&e.apply(this,t)})}),e(this,"on",(e,t)=>(D(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this)),e(this,"startSafetyTimer",(e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout(()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")},e)}),e(this,"clearSafetyTimer",e=>{P(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)}),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((e,t)=>{this.on("loaded",e),this.on("error",t)}),this.load()}get enabled(){const{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!B(e.publisherId)||q(e.tagUrl))}get tagUrl(){const{config:e}=this;return q(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${Ve({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}function dt(e=0,t=0,i=255){return Math.min(Math.max(e,t),i)}const ut=e=>{const t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach(e=>{const i={};e.split(/\r\n|\n|\r/).forEach(e=>{if(M(i.startTime)){if(!B(e.trim())&&B(i.text)){const t=e.trim().split("#xywh=");[i.text]=t,t[1]&&([i.x,i.y,i.w,i.h]=t[1].split(","))}}else{const t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(i.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),i.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}}),i.text&&t.push(i)}),t},ht=(e,t)=>{const i={};return e>t.width/t.height?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i};class pt{constructor(t){e(this,"load",()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.loaded=!0)})}),e(this,"getThumbnails",()=>new Promise(e=>{const{src:t}=this.player.config.previewThumbnails;if(B(t))throw new Error("Missing previewThumbnails.src config attribute");const i=()=>{this.thumbnails.sort((e,t)=>e.height-t.height),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};if(I(t))t(e=>{this.thumbnails=e,i()});else{const e=(O(t)?[t]:t).map(e=>this.getThumbnail(e));Promise.all(e).then(i)}})),e(this,"getThumbnail",e=>new Promise(t=>{He(e).then(i=>{const n={frames:ut(i),height:null,urlPrefix:""};n.frames[0].text.startsWith("/")||n.frames[0].text.startsWith("http://")||n.frames[0].text.startsWith("https://")||(n.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));const s=new Image;s.onload=()=>{n.height=s.naturalHeight,n.width=s.naturalWidth,this.thumbnails.push(n),t()},s.src=n.urlPrefix+n.frames[0].text})})),e(this,"startMove",e=>{if(this.loaded&&j(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t,i;const n=this.player.elements.progress.getBoundingClientRect(),s=100/n.width*(e.pageX-n.left);this.seekTime=this.player.media.duration*(s/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=Re(this.seekTime);const a=null===(t=this.player.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find(({time:e})=>e===Math.round(this.seekTime));a&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${a.label}<br>`)}this.showImageAtCurrentTime()}}),e(this,"endMove",()=>{this.toggleThumbContainer(!1,!0)}),e(this,"startScrubbing",e=>{(P(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}),e(this,"endScrubbing",()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):ge.call(this.player,this.player.media,"timeupdate",()=>{this.mouseDown||this.toggleScrubbingContainer(!1)})}),e(this,"listeners",()=>{this.player.on("play",()=>{this.toggleThumbContainer(!1,!0)}),this.player.on("seeked",()=>{this.toggleThumbContainer(!1)}),this.player.on("timeupdate",()=>{this.lastTime=this.player.media.currentTime})}),e(this,"render",()=>{this.elements.thumb.container=J("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=J("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);const e=J("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=J("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(e),H(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=J("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}),e(this,"destroy",()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}),e(this,"showImageAtCurrentTime",()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();const e=this.thumbnails[0].frames.findIndex(e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime),t=e>=0;let i=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach((t,n)=>{this.loadedImages.includes(t.frames[e].text)&&(i=n)}),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(i)))}),e(this,"loadImage",(e=0)=>{const t=this.showingThumb,i=this.thumbnails[e],{urlPrefix:n}=i,s=i.frames[t],a=i.frames[t].text,r=n+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,s,e,t,a,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);const i=new Image;i.src=r,i.dataset.index=t,i.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log(`Loading image: ${r}`),i.onload=()=>this.showImage(i,s,e,t,a,!0),this.loadingImage=i,this.removeOldImages(i)}}),e(this,"showImage",(e,t,i,n,s,a=!0)=>{this.player.debug.log(`Showing thumb: ${s}. num: ${n}. qual: ${i}. newimg: ${a}`),this.setImageSizeAndOffset(e,t),a&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(s)||this.loadedImages.push(s)),this.preloadNearby(n,!0).then(this.preloadNearby(n,!1)).then(this.getHigherQuality(i,e,t,s))}),e(this,"removeOldImages",e=>{Array.from(this.currentImageContainer.children).forEach(t=>{if("img"!==t.tagName.toLowerCase())return;const i=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;const{currentImageContainer:e}=this;setTimeout(()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)},i)}})}),e(this,"preloadNearby",(e,t=!0)=>new Promise(i=>{setTimeout(()=>{const n=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===n){let s;s=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let a=!1;s.forEach(e=>{const t=e.text;if(t!==n&&!this.loadedImages.includes(t)){a=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);const{urlPrefix:e}=this.thumbnails[0],n=e+t,s=new Image;s.src=n,s.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),i()}}}),a||i()}},300)})),e(this,"getHigherQuality",(e,t,i,n)=>{if(e<this.thumbnails.length-1){let s=t.naturalHeight;this.usingSprites&&(s=i.h),s<this.thumbContainerHeight&&setTimeout(()=>{this.showingThumbFilename===n&&(this.player.debug.log(`Showing higher quality thumb for: ${n}`),this.loadImage(e+1))},300)}}),e(this,"toggleThumbContainer",(e=!1,t=!1)=>{const i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}),e(this,"toggleScrubbingContainer",(e=!1)=>{const t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}),e(this,"determineContainerAutoSizing",()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}),e(this,"setThumbContainerSizeAndPos",()=>{const{imageContainer:e}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(e.clientHeight>20&&e.clientWidth<20){const t=Math.floor(e.clientHeight*this.thumbAspectRatio);e.style.width=`${t}px`}else if(e.clientHeight<20&&e.clientWidth>20){const t=Math.floor(e.clientWidth/this.thumbAspectRatio);e.style.height=`${t}px`}}else{const t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);e.style.height=`${this.thumbContainerHeight}px`,e.style.width=`${t}px`}this.setThumbContainerPos()}),e(this,"setThumbContainerPos",()=>{const e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:i}=this.elements.thumb,n=t.left-e.left+10,s=t.right-e.left-i.clientWidth-10,a=this.mousePosX-e.left-i.clientWidth/2,r=dt(a,n,s);i.style.left=`${r}px`,i.style.setProperty("--preview-arrow-offset",a-r+"px")}),e(this,"setScrubbingContainerSize",()=>{const{width:e,height:t}=ht(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`}),e(this,"setImageSizeAndOffset",(e,t)=>{if(!this.usingSprites)return;const i=this.thumbContainerHeight/t.h;e.style.height=e.naturalHeight*i+"px",e.style.width=e.naturalWidth*i+"px",e.style.left=`-${t.x*i}px`,e.style.top=`-${t.y*i}px`}),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){const{height:e}=ht(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}const ft={insertElements(e,t){O(t)?Q(e,this.media,{src:t}):D(t)&&t.forEach(t=>{Q(e,this.media,t)})},change(e){U(e,"sources.length")?(Pe.cancelRequests.call(this),this.destroy.call(this,()=>{this.options.quality=[],Z(this.media),this.media=null,H(this.elements.container)&&this.elements.container.removeAttribute("class");const{sources:t,type:i}=e,[{provider:n=Ye.html5,src:s}]=t,a="html5"===n?i:"div",r="html5"===n?{}:{src:s};Object.assign(this,{provider:n,type:i,supported:ue.check(i,n,this.config.playsinline),media:J(a,r)}),this.elements.container.appendChild(this.media),z(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),B(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),Ze.addStyleHook.call(this),this.isHTML5&&ft.insertElements.call(this,"source",t),this.config.title=e.title,lt.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&ft.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Ze.build.call(this),this.isHTML5&&this.media.load(),B(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new pt(this))),this.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}};class mt{constructor(t,n){if(e(this,"play",()=>I(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(()=>this.ads.play()).catch(()=>we(this.media.play())),this.media.play()):null),e(this,"pause",()=>this.playing&&I(this.media.pause)?this.media.pause():null),e(this,"togglePlay",e=>(z(e)?e:!this.playing)?this.play():this.pause()),e(this,"stop",()=>{this.isHTML5?(this.pause(),this.restart()):I(this.media.stop)&&this.media.stop()}),e(this,"restart",()=>{this.currentTime=0}),e(this,"rewind",e=>{this.currentTime-=M(e)?e:this.config.seekTime}),e(this,"forward",e=>{this.currentTime+=M(e)?e:this.config.seekTime}),e(this,"increaseVolume",e=>{const t=this.media.muted?0:this.volume;this.volume=t+(M(e)?e:0)}),e(this,"decreaseVolume",e=>{this.increaseVolume(-e)}),e(this,"airplay",()=>{ue.airplay&&this.media.webkitShowPlaybackTargetPicker()}),e(this,"toggleControls",e=>{if(this.supported.ui&&!this.isAudio){const t=ae(this.elements.container,this.config.classNames.hideControls),i=void 0===e?void 0:!e,n=se(this.elements.container,this.config.classNames.hideControls,i);if(n&&D(this.config.controls)&&this.config.controls.includes("settings")&&!B(this.config.settings)&&qe.toggleMenu.call(this,!1),n!==t){const e=n?"controlshidden":"controlsshown";ve.call(this,this.media,e)}return!n}return!1}),e(this,"on",(e,t)=>{fe.call(this,this.elements.container,e,t)}),e(this,"once",(e,t)=>{ge.call(this,this.elements.container,e,t)}),e(this,"off",(e,t)=>{me(this.elements.container,e,t)}),e(this,"destroy",(e,t=!1)=>{if(!this.ready)return;const i=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(Z(this.elements.buttons.play),Z(this.elements.captions),Z(this.elements.controls),Z(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),I(e)&&e()):(be.call(this),Pe.cancelRequests.call(this),te(this.elements.original,this.elements.container),ve.call(this,this.elements.original,"destroyed",!0),I(e)&&e.call(this.elements.original),this.ready=!1,setTimeout(()=>{this.elements=null,this.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(Ze.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&I(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}),e(this,"supports",e=>ue.mime.call(this,e)),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=ue.touch,this.media=t,O(this.media)&&(this.media=document.querySelectorAll(this.media)),(i&&this.media instanceof jQuery||N(this.media)||D(this.media))&&(this.media=this.media[0]),this.config=Y({},Ge,mt.defaults,n||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new Xe(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",ue),P(this.media)||!H(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!ue.check().api)return void this.debug.error("Setup failed: no support");const s=this.media.cloneNode(!0);s.autoplay=!1,this.elements.original=s;const a=this.media.tagName.toLowerCase();let r=null,o=null;switch(a){case"div":if(r=this.media.querySelector("iframe"),H(r)){if(o=Be(r.getAttribute("src")),this.provider=function(e){return/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(e)?Ye.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(e)?Ye.vimeo:null}(o.toString()),this.elements.container=this.media,this.media=r,this.elements.container.className="",o.search.length){const e=["1","true"];e.includes(o.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(o.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(o.searchParams.get("playsinline")),this.config.youtube.hl=o.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(B(this.provider)||!Object.values(Ye).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type="video";break;case"video":case"audio":this.type=a,this.provider=Ye.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=ue.check(this.type,this.provider,this.config.playsinline),this.supported.api?(this.eventListeners=[],this.listeners=new et(this),this.storage=new Ne(this),this.media.plyr=this,H(this.elements.container)||(this.elements.container=J("div",{tabindex:0}),K(this.media,this.elements.container)),Ze.migrateStyles.call(this),Ze.addStyleHook.call(this),lt.setup.call(this),this.config.debug&&fe.call(this,this.elements.container,this.config.events.join(" "),e=>{this.debug.log(`event: ${e.type}`)}),this.fullscreen=new Je(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&Ze.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new ct(this)),this.isHTML5&&this.config.auto
2play&&this.once("canplay",()=>we(this.play())),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new pt(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===Ye.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===Ye.youtube}get isVimeo(){return this.provider===Ye.vimeo}get isVideo(){return"video"===this.type}get isAudio(){return"audio"===this.type}get playing(){return Boolean(this.ready&&!this.paused&&!this.ended)}get paused(){return Boolean(this.media.paused)}get stopped(){return Boolean(this.paused&&0===this.currentTime)}get ended(){return Boolean(this.media.ended)}set currentTime(e){if(!this.duration)return;const t=M(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){const{buffered:e}=this.media;return M(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return Boolean(this.media.seeking)}get duration(){const e=parseFloat(this.config.duration),t=(this.media||{}).duration,i=M(t)&&t!==1/0?t:0;return e||i}set volume(e){let t=e;O(t)&&(t=Number(t)),M(t)||(t=this.storage.get("volume")),M(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!B(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;z(t)||(t=this.storage.get("muted")),z(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return Boolean(this.media.muted)}get hasAudio(){return!this.isHTML5||!!this.isAudio||Boolean(this.media.mozHasAudio)||Boolean(this.media.webkitAudioDecodedByteCount)||Boolean(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;M(e)&&(t=e),M(t)||(t=this.storage.get("speed")),M(t)||(t=this.config.speed.selected);const{minimumSpeed:i,maximumSpeed:n}=this;t=dt(t,i,n),this.config.speed.selected=t,setTimeout(()=>{this.media&&(this.media.playbackRate=t)},0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){const t=this.config.quality,i=this.options.quality;if(!i.length)return;let n=[!B(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(M),s=!0;if(!i.includes(n)){const e=Te(i,n);this.debug.warn(`Unsupported quality option: ${n}, using ${e} instead`),n=e,s=!1}t.selected=n,this.media.quality=n,s&&this.storage.set({quality:n})}get quality(){return this.media.quality}set loop(e){const t=z(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return Boolean(this.media.loop)}set source(e){ft.change.call(this,e)}get source(){return this.media.currentSrc}get download(){const{download:e}=this.config.urls;return q(e)?e:this.source}set download(e){q(e)&&(this.config.urls.download=e,qe.setDownloadUrl.call(this))}set poster(e){this.isVideo?Ze.setPoster.call(this,e,!1).catch(()=>{}):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;const e=Ee(xe.call(this));return D(e)?e.join(":"):e}set ratio(e){this.isVideo?O(e)&&Se(e)?(this.config.ratio=Ee(e),_e.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){this.config.autoplay=z(e)?e:this.config.autoplay}get autoplay(){return Boolean(this.config.autoplay)}toggleCaptions(e){We.toggle.call(this,e,!1)}set currentTrack(e){We.set.call(this,e,!1),We.setup.call(this)}get currentTrack(){const{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){We.setLanguage.call(this,e,!1)}get language(){return(We.getCurrentTrack.call(this)||{}).language}set pip(e){if(!ue.pip)return;const t=z(e)?e:!this.pip;I(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?Ue:"inline"),I(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return ue.pip?B(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===Ue:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new pt(this))}
vendor: 15,137 bytes, line 2
2static supported(e,t,i){return ue.check(e,t,i)}static loadSprite(e,t){return je(e,t)}static setup(e,t={}){let i=null;return O(e)?i=Array.from(document.querySelectorAll(e)):N(e)?i=Array.from(e):D(e)&&(i=e.filter(H)),B(i)?null:i.map(e=>new mt(e,t))}}var gt;return mt.defaults=(gt=Ge,JSON.parse(JSON.stringify(gt))),mt}())}).call(this,i("yLpj"),i("xeH2"))},TaHA:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function s(e={},t={}){Object.keys(t).forEach(i=>{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&s(e[i],t[i])})}i.d(t,"e",(function(){return G})),i.d(t,"c",(function(){return Y})),i.d(t,"d",(function(){return X})),i.d(t,"a",(function(){return J})),i.d(t,"b",(function(){return te}));const a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){const e="undefined"!=typeof document?document:{};return s(e,a),e}const o={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!=typeof window?window:{};return s(e,o),e}class c extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function d(e=[]){const t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...d(e)):t.push(e)}),t}function u(e,t){return Array.prototype.filter.call(e,t)}function h(e,t){const i=l(),n=r();let s=[];if(!t&&e instanceof c)return e;if(!e)return new c(s);if("string"==typeof e){const i=e.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){let e="div";0===i.indexOf("<li")&&(e="ul"),0===i.indexOf("<tr")&&(e="tbody"),0!==i.indexOf("<td")&&0!==i.indexOf("<th")||(e="tr"),0===i.indexOf("<tbody")&&(e="table"),0===i.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=i;for(let e=0;e<t.childNodes.length;e+=1)s.push(t.childNodes[e])}else s=function(e,t){if("string"!=typeof e)return[e];const i=[],n=t.querySelectorAll(e);for(let e=0;e<n.length;e+=1)i.push(n[e]);return i}(e.trim(),t||n)}else if(e.nodeType||e===i||e===n)s.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;s=e}return new c(function(e){const t=[];for(let i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}(s))}h.fn=c.prototype;const p="resize scroll".split(" ");function f(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)p.indexOf(e)<0&&(e in this[t]?this[t][e]():h(this[t]).trigger(e));return this}return this.on(e,...t)}}f("click"),f("blur"),f("focus"),f("focusin"),f("focusout"),f("keyup"),f("keydown"),f("keypress"),f("submit"),f("change"),f("mousedown"),f("mousemove"),f("mouseup"),f("mouseenter"),f("mouseleave"),f("mouseout"),f("mouseover"),f("touchstart"),f("touchend"),f("touchmove"),f("resize"),f("scroll");const m={addClass:function(...e){const t=d(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.add(...t)}),this},removeClass:function(...e){const t=d(e.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.remove(...t)}),this},hasClass:function(...e){const t=d(e.map(e=>e.split(" ")));return u(this,e=>t.filter(t=>e.classList.contains(t)).length>0).length>0},toggleClass:function(...e){const t=d(e.map(e=>e.split(" ")));this.forEach(e=>{t.forEach(t=>{e.classList.toggle(t)})})},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(e,t);else for(const t in e)this[i][t]=e[t],this[i].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,i,n,s]=e;function a(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),h(t).is(i))n.apply(t,s);else{const e=h(t).parents();for(let t=0;t<e.length;t+=1)h(e[t]).is(i)&&n.apply(e[t],s)}}function r(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const o=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(l=0;l<o.length;l+=1){const e=o[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:n,proxyListener:a}),t.addEventListener(e,a,s)}else for(l=0;l<o.length;l+=1){const e=o[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:n,proxyListener:r}),t.addEventListener(e,r,s)}}return this},off:function(...e){let[t,i,n,s]=e;"function"==typeof e[1]&&([t,n,s]=e,i=void 0),s||(s=!1);const a=t.split(" ");for(let e=0;e<a.length;e+=1){const t=a[e];for(let e=0;e<this.length;e+=1){const a=this[e];let r;if(!i&&a.dom7Listeners?r=a.dom7Listeners[t]:i&&a.dom7LiveListeners&&(r=a.dom7LiveListeners[t]),r&&r.length)for(let e=r.length-1;e>=0;e-=1){const i=r[e];n&&i.listener===n||n&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===n?(a.removeEventListener(t,i.proxyListener,s),r.splice(e,1)):n||(a.removeEventListener(t,i.proxyListener,s),r.splice(e,1))}}}return this},trigger:function(...e){const t=l(),i=e[0].split(" "),n=e[1];for(let s=0;s<i.length;s+=1){const a=i[s];for(let i=0;i<this.length;i+=1){const s=this[i];if(t.CustomEvent){const i=new t.CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0});s.dom7EventData=e.filter((e,t)=>t>0),s.dispatchEvent(i),s.dom7EventData=[],delete s.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=r(),i=this[0],n=i.getBoundingClientRect(),s=t.body,a=i.clientTop||s.clientTop||0,o=i.clientLeft||s.clientLeft||0,c=i===e?e.scrollY:i.scrollTop,d=i===e?e.scrollX:i.scrollLeft;return{top:n.top+c-a,left:n.left+d-o}}return null},css:function(e,t){const i=l();let n;if(1===arguments.length){if("string"!=typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return i.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach((t,i)=>{e.apply(t,[t,i])}),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=l(),i=r(),n=this[0];let s,a;if(!n||void 0===e)return!1;if("string"==typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(s=h(e),a=0;a<s.length;a+=1)if(s[a]===n)return!0;return!1}if(e===i)return n===i;if(e===t)return n===t;if(e.nodeType||e instanceof c){for(s=e.nodeType?[e]:e,a=0;a<s.length;a+=1)if(s[a]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return h([]);if(e<0){const i=t+e;return h(i<0?[]:[this[i]])}return h([this[e]])},append:function(...e){let t;const i=r();for(let n=0;n<e.length;n+=1){t=e[n];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const n=i.createElement("div");for(n.innerHTML=t;n.firstChild;)this[e].appendChild(n.firstChild)}else if(t instanceof c)for(let i=0;i<t.length;i+=1)this[e].appendChild(t[i]);else this[e].appendChild(t)}return this},prepend:function(e){const t=r();let i,n;for(i=0;i<this.length;i+=1)if("string"==typeof e){const s=t.createElement("div");for(s.innerHTML=e,n=s.childNodes.length-1;n>=0;n-=1)this[i].insertBefore(s.childNodes[n],this[i].childNodes[0])}else if(e instanceof c)for(n=0;n<e.length;n+=1)this[i].insertBefore(e[n],this[i].childNodes[0]);else this[i].insertBefore(e,this[i].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&h(this[0].nextElementSibling).is(e)?h([this[0].nextElementSibling]):h([]):this[0].nextElementSibling?h([this[0].nextElementSibling]):h([]):h([])},nextAll:function(e){const t=[];let i=this[0];if(!i)return h([]);for(;i.nextElementSibling;){const n=i.nextElementSibling;e?h(n).is(e)&&t.push(n):t.push(n),i=n}return h(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&h(t.previousElementSibling).is(e)?h([t.previousElementSibling]):h([]):t.previousElementSibling?h([t.previousElementSibling]):h([])}return h([])},prevAll:function(e){const t=[];let i=this[0];if(!i)return h([]);for(;i.previousElementSibling;){const n=i.previousElementSibling;e?h(n).is(e)&&t.push(n):t.push(n),i=n}return h(t)},parent:function(e){const t=[];for(let i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?h(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return h(t)},parents:function(e){const t=[];for(let i=0;i<this.length;i+=1){let n=this[i].parentNode;for(;n;)e?h(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return h(t)},closest:function(e){let t=this;return void 0===e?h([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return h(t)},children:function(e){const t=[];for(let i=0;i<this.length;i+=1){const n=this[i].children;for(let i=0;i<n.length;i+=1)e&&!h(n[i]).is(e)||t.push(n[i])}return h(t)},filter:function(e){return h(u(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(m).forEach(e=>{Object.defineProperty(h.fn,e,{value:m[e],writable:!0})});var g=h;function v(e,t=0){return setTimeout(e,t)}function b(){return Date.now()}function y(e,t="x"){const i=l();let n,s,a;const r=function(e){const t=l();let i;return t.getComputedStyle&&(i=t.getComputedStyle(e,null)),!i&&e.currentStyle&&(i=e.currentStyle),i||(i=e.style),i}(e);return i.WebKitCSSMatrix?(s=r.transform||r.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new i.WebKitCSSMatrix("none"===s?"":s)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(s=i.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(s=i.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),s||0}function w(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(...e){const t=Object(e[0]),i=["__proto__","constructor","prototype"];for(let s=1;s<e.length;s+=1){const a=e[s];if(null!=a&&(n=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?n instanceof HTMLElement:n&&(1===n.nodeType||11===n.nodeType)))){const e=Object.keys(Object(a)).filter(e=>i.indexOf(e)<0);for(let i=0,n=e.length;i<n;i+=1){const n=e[i],s=Object.getOwnPropertyDescriptor(a,n);void 0!==s&&s.enumerable&&(w(t[n])&&w(a[n])?a[n].__swiper__?t[n]=a[n]:C(t[n],a[n]):!w(t[n])&&w(a[n])?(t[n]={},a[n].__swiper__?t[n]=a[n]:C(t[n],a[n])):t[n]=a[n])}}}var n;return t}function T(e,t,i){e.style.setProperty(t,i)}function k({swiper:e,targetPosition:t,side:i}){const n=l(),s=-e.translate;let a,r=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const c=t>s?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{a=(new Date).getTime(),null===r&&(r=a);const l=Math.max(Math.min((a-r)/o,1),0),c=.5-Math.cos(l*Math.PI)/2;let h=s+c*(t-s);if(d(h,t)&&(h=t),e.wrapperEl.scrollTo({[i]:h}),d(h,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),void n.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=n.requestAnimationFrame(u)};u()}let $,S,E;function x(){return $||($=function(){const e=l(),t=r();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const i=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),$}function _(e={}){return S||(S=function({userAgent:e}={}){const t=x(),i=l(),n=i.navigator.platform,s=e||i.navigator.userAgent,a={ios:!1,android:!1},r=i.screen.width,o=i.screen.height,c=s.match(/(Android);?[\s\/]+([\d.]+)?/);let d=s.match(/(iPad).*OS\s([\d_]+)/);const u=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!d&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===n;let f="MacIntel"===n;return!d&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${r}x${o}`)>=0&&(d=s.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!p&&(a.os="android",a.android=!0),(d||h||u)&&(a.os="ios",a.ios=!0),a}(e)),S}function A(){return E||(E=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}
vendor: 4,773 bytes, line 2
2(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),E}function P({swiper:e,runCallbacks:t,direction:i,step:n}){const{activeIndex:s,previousIndex:a}=e;let r=i;if(r||(r=s>a?"next":s<a?"prev":"reset"),e.emit(`transition${n}`),t&&s!==a){if("reset"===r)return void e.emit(`slideResetTransition${n}`);e.emit(`slideChangeTransition${n}`),"next"===r?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}function L(e){const t=this,i=r(),n=l(),s=t.touchEventsData,{params:a,touches:o,enabled:c}=t;if(!c)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let d=e;d.originalEvent&&(d=d.originalEvent);let u=g(d.target);if("wrapper"===a.touchEventsTarget&&!u.closest(t.wrapperEl).length)return;if(s.isTouchEvent="touchstart"===d.type,!s.isTouchEvent&&"which"in d&&3===d.which)return;if(!s.isTouchEvent&&"button"in d&&d.button>0)return;if(s.isTouched&&s.isMoved)return;const h=!!a.noSwipingClass&&""!==a.noSwipingClass,p=e.composedPath?e.composedPath():e.path;h&&d.target&&d.target.shadowRoot&&p&&(u=g(p[0]));const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!d.target||!d.target.shadowRoot);if(a.noSwiping&&(m?function(e,t=this){return function t(i){if(!i||i===r()||i===l())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(f,u[0]):u.closest(f)[0]))return void(t.allowClick=!0);if(a.swipeHandler&&!u.closest(a.swipeHandler)[0])return;o.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,o.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;const v=o.currentX,y=o.currentY,w=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,C=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(w&&(v<=C||v>=n.innerWidth-C)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=v,o.startY=y,s.touchStartTime=b(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(s.allowThresholdMove=!1),"touchstart"!==d.type){let e=!0;u.is(s.focusableElements)&&(e=!1,"SELECT"===u[0].nodeName&&(s.isTouched=!1)),i.activeElement&&g(i.activeElement).is(s.focusableElements)&&i.activeElement!==u[0]&&i.activeElement.blur();const n=e&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!n||u[0].isContentEditable||d.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",d)}function M(e){const t=r(),i=this,n=i.touchEventsData,{params:s,touches:a,rtlTranslate:o,enabled:l}=i;if(!l)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",c));if(n.isTouchEvent&&"touchmove"!==c.type)return;const d="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),u="touchmove"===c.type?d.pageX:c.pageX,h="touchmove"===c.type?d.pageY:c.pageY;if(c.preventedByNestedSwiper)return a.startX=u,void(a.startY=h);if(!i.allowTouchMove)return g(c.target).is(n.focusableElements)||(i.allowClick=!1),void(n.isTouched&&(Object.assign(a,{startX:u,startY:h,currentX:u,currentY:h}),n.touchStartTime=b()));if(n.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(i.isVertical()){if(h<a.startY&&i.translate<=i.maxTranslate()||h>a.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(u<a.startX&&i.translate<=i.maxTranslate()||u>a.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&g(c.target).is(n.focusableElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;a.currentX=u,a.currentY=h;const p=a.currentX-a.startX,f=a.currentY-a.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)<i.params.threshold)return;if(void 0===n.isScrolling){let e;i.isHorizontal()&&a.currentY===a.startY||i.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(n.isScrolling&&i.emit("touchMoveOpposite",c),void 0===n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;i.allowClick=!1,!s.cssMode&&c.cancelable&&c.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&c.stopPropagation(),n.isMoved||(s.loop&&!s.cssMode&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce
vendor: 1,100 bytes, line 2
2=!1,!s.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",c)),i.emit("sliderMove",c),n.isMoved=!0;let m=i.isHorizontal()?p:f;a.diff=m,m*=s.touchRatio,o&&(m=-m),i.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;let v=!0,y=s.resistanceRatio;if(s.touchReleaseOnEdges&&(y=0),m>0&&n.currentTranslate>i.minTranslate()?(v=!1,s.resistance&&(n.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+n.startTranslate+m)**y)):m<0&&n.currentTranslate<i.maxTranslate()&&(v=!1,s.resistance&&(n.currentTranslate=i.maxTranslate()+1-(i.maxTranslate()-n.startTranslate-m)**y)),v&&(c.preventedByNestedSwiper=!0),!i.allowSlideNext&&"next"===i.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!i.allowSlidePrev&&"prev"===i.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),s.threshold>0){if(!(Math.abs(m)>s.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 15,352 bytes, line 2
2if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=i.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&i.freeMode||s.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),i.params.freeMode&&s.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}function O(e){const t=this,i=t.touchEventsData,{params:n,touches:s,rtlTranslate:a,slidesGrid:r,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",l),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=b(),d=c-i.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-i.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(i.lastClickTime=b(),v(()=>{t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===s.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);let u;if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,u=n.followFinger?a?t.translate:-t.translate:-i.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let h=0,p=t.slidesSizesGrid[0];for(let e=0;e<r.length;e+=e<n.slidesPerGroupSkip?1:n.slidesPerGroup){const t=e<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;void 0!==r[e+t]?u>=r[e]&&u<r[e+t]&&(h=e,p=r[e+t]-r[e]):u>=r[e]&&(h=e,p=r[r.length-1]-r[r.length-2])}let f=null,m=null;n.rewind&&(t.isBeginning?m=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(u-r[h])/p,y=h<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(d>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?f:h+y):t.slideTo(h)),"prev"===t.swipeDirection&&(g>1-n.longSwipesRatio?t.slideTo(h+y):null!==m&&g<0&&Math.abs(g)>n.longSwipesRatio?t.slideTo(m):t.slideTo(h))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(h+y):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==f?f:h+y),"prev"===t.swipeDirection&&t.slideTo(null!==m?m:h))}}function z(){const e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:a}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function I(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function D(){const e=this,{wrapperEl:t,rtlTranslate:i,enabled:n}=e;if(!n)return;let s;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();s=0===a?0:(e.translate-e.minTranslate())/a,s!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function H(){}const j=(e,t)=>{const i=r(),{params:n,touchEvents:s,el:a,wrapperEl:o,device:l,support:c}=e,d=!!n.nested,u="on"===t?"addEventListener":"removeEventListener",h=t;if(c.touch){const t=!("touchstart"!==s.start||!c.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a[u](s.start,e.onTouchStart,t),a[u](s.move,e.onTouchMove,c.passiveListener?{passive:!1,capture:d}:d),a[u](s.end,e.onTouchEnd,t),s.cancel&&a[u](s.cancel,e.onTouchEnd,t)}else a[u](s.start,e.onTouchStart,!1),i[u](s.move,e.onTouchMove,d),i[u](s.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a[u]("click",e.onClick,!0),n.cssMode&&o[u]("scroll",e.onScroll),n.updateOnWindowResize?e[h](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",z,!0):e[h]("observerUpdate",z,!0)};const F=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var R={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function q(e,t){return function(i={}){const n=Object.keys(i)[0],s=i[n];"object"==typeof s&&null!==s?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in s?(!0===e[n]&&(e[n]={enabled:!0}),"object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),C(t,i)):C(t,i)):C(t,i)}}const B={eventsEmitter:{on(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const s=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][s](t)}),n},once(e,t,i){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function s(...i){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,t.apply(n,i)}return s.__emitterProxy=t,n.on(e,s,i)},onAny(e,t){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof e)return i;const n=t?"unshift":"push";return i.eventsAnyListeners.indexOf(e)<0&&i.eventsAnyListeners[n](e),i},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const i=t.eventsAnyListeners.indexOf(e);return i>=0&&t.eventsAnyListeners.splice(i,1),t},off(e,t){const i=this;return!i.eventsListeners||i.destroyed?i:i.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,s)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(s,1)})}),i):i},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let i,n,s;return"string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],n=e.slice(1,e.length),s=t):(i=e[0].events,n=e[0].data,s=e[0].context||t),n.unshift(s),(Array.isArray(i)?i:i.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(s,[e,...n])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(s,n)})}),t}},update:{updateSize:function(){const e=this;let t,i;const n=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,i=void 0!==e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===i&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),i=i-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(i)&&(i=0),Object.assign(e,{width:t,height:i,size:e.isHorizontal()?t:i}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function i(e,i){return parseFloat(e.getPropertyValue(t(i))||0)}const n=e.params,{$wrapperEl:s,size:a,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=s.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let h=[];const p=[],f=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"==typeof g&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,b=e.slidesGrid.length;let y=n.spaceBetween,w=-m,C=0,k=0;if(void 0===a)return;"string"==typeof y&&y.indexOf("%")>=0&&(y=parseFloat(y.replace("%",""))/100*a),e.virtualSize=-y,r?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(T(e.wrapperEl,"--swiper-centered-offset-before",""),T(e.wrapperEl,"--swiper-centered-offset-after",""));const $=n.grid&&n.grid.rows>1&&e.grid;let S;$&&e.grid.initSlides(u);const E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let s=0;s<u;s+=1){S=0;const r=d.eq(s);if($&&e.grid.updateSlide(s,r,u,t),"none"!==r.css("display")){if("auto"===n.slidesPerView){E&&(d[s].style[t("width")]="");const a=getComputedStyle(r[0]),o=r[0].style.transform,l=r[0].style.webkitTransform;if(o&&(r[0].style.transform="none"),l&&(r[0].style.webkitTransform="none"),n.roundLengths)S=e.isHorizontal()?r.outerWidth(!0):r.outerHeight(!0);else{const e=i(a,"width"),t=i(a,"padding-left"),n=i(a,"padding-right"),s=i(a,"margin-left"),o=i(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)S=e+s+o;else{const{clientWidth:i,offsetWidth:a}=r[0];S=e+t+n+s+o+(a-i)}}o&&(r[0].style.transform=o),l&&(r[0].style.webkitTransform=l),n.roundLengths&&(S=Math.floor(S))}else S=(a-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(S=Math.floor(S)),d[s]&&(d[s].style[t("width")]=`${S}px`);d[s]&&(d[s].swiperSlideSize=S),f.push(S),n.centeredSlides?(w=w+S/2+C/2+y,0===C&&0!==s&&(w=w-a/2-y),0===s&&(w=w-a/2-y),Math.abs(w)<.001&&(w=0),n.roundLengths&&(w=Math.floor(w)),k%n.slidesPerGroup==0&&h.push(w),p.push(w)):(n.roundLengths&&(w=Math.floor(w)),(k-Math.min(e.params.slidesPerGroupSkip,k))%e.params.slidesPerGroup==0&&h.push(w),p.push(w),w=w+S+y),e.virtualSize+=S+y,C=S,k+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,r&&o&&("slide"===n.effect||"coverflow"===n.effect)&&s.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&s.css({[t("width")]:`${e.virtualSize+n.spaceBetween}px`}),$&&e.grid.updateWrapperSize(S,h,t),!n.centeredSlides){const t=[];for(let i=0;i<h.length;i+=1){let s=h[i];n.roundLengths&&(s=Math.floor(s)),h[i]<=e.virtualSize-a&&t.push(s)}h=t,Math.floor(e.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(e.virtualSize-a)}if(0===h.length&&(h=[0]),0!==n.spaceBetween){const i=e.isHorizontal()&&r?"marginLeft":t("marginRight");d.filter((e,t)=>!n.cssMode||t!==d.length-1).css({[i]:`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)}),e-=n.spaceBetween;const t=e-a;h=h.map(e=>e<0?-m:e>t?t+g:e)}if(n.centerInsufficientSlides){let e=0;if(f.forEach(t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)}),e-=n.spaceBetween,e<a){const t=(a-e)/2;h.forEach((e,i)=>{h[i]=e-t}),p.forEach((e,i)=>{p[i]=e+t})}}if(Object.assign(e,{slides:d,snapGrid:h,slidesGrid:p,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){T(e.wrapperEl,"--swiper-centered-offset-before",`${-h[0]}px`),T(e.wrapperEl,"--swiper-centered-offset-after",`${e.size/2-f[f.length-1]/2}px`);const t=-e.snapGrid[0],i=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+i)}if(u!==c&&e.emit("slidesLengthChange"),h.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==b&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.$el.hasClass(t);u<=n.maxBackfaceHiddenSlides?i||e.$el.addClass(t):i&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,i=[],n=t.virtual&&t.params.virtual.enabled;let s,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>n?t.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||g([])).each(e=>{i.push(e)});else for(s=0;s<Math.ceil(t.params.slidesPerView);s+=1){const e=t.activeIndex+s;if(e>t.slides.length&&!n)break;i.push(r(e))}else i.push(r(t.activeIndex));for(s=0;s<i.length;s+=1)if(void 0!==i[s]){const e=i[s].offsetHeight;a=e>a?e:a}(a||0===a)&&t.$wrapperEl.css("height",`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,i=t.params,{slides:n,rtlTranslate:s,snapGrid:a}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;s&&(r=e),n.removeClass(i.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<n.length;e+=1){const o=n[e];let l=o.swiperSlideOffset;i.cssMode&&i.centeredSlides&&(l-=n[0].swiperSlideOffset);const c=(r+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),d=(r-a[0]+(i.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+i.spaceBetween),u=-(r-l),h=u+t.
vendor: 1,593 bytes, line 2
2slidesSizesGrid[e];(u>=0&&u<t.size-1||h>1&&h<=t.size||u<=0&&h>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e),n.eq(e).addClass(i.slideVisibleClass)),o.progress=s?-c:c,o.originalProgress=s?-d:d}t.visibleSlides=g(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}const i=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:s,isBeginning:a,isEnd:r}=t;const o=a,l=r;0===n?(s=0,a=!0,r=!0):(s=(e-t.minTranslate())/n,a=s<=0,r=s>=1),Object.assign(t,{progress:s,isBeginning:a,isEnd:r}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",s)},updateSlidesClasses:function(){const e=this,{slides:t,params:i,$wrapperEl:n,activeIndex:s,realIndex:a}=e,r=e.virtual&&i.virtual.enabled;let o;t.removeClass(`${i.slideActiveClass} ${i.slideNextClass} ${i.slidePrevClass} ${i.slideDuplicateActiveClass} ${i.slideDuplicateNextClass} ${i.slideDuplicatePrevClass}`),o=r?e.$wrapperEl.find(`.${i.slideClass}[data-swiper-slide-index="${s}"]`):t.eq(s),o.addClass(i.slideActiveClass),i.loop&&(o.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${a}"]`).addClass(i.slideDuplicateActiveClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${a}"]`).addClass(i.slideDuplicateActiveClass));let l=o.nextAll(`.${i.slideClass}`).eq(0).addClass(i.slideNextClass);
vendor: 22,094 bytes, line 2
2i.loop&&0===l.length&&(l=t.eq(0),l.addClass(i.slideNextClass));let c=o.prevAll(`.${i.slideClass}`).eq(0).addClass(i.slidePrevClass);i.loop&&0===c.length&&(c=t.eq(-1),c.addClass(i.slidePrevClass)),i.loop&&(l.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicateNextClass),c.hasClass(i.slideDuplicateClass)?n.children(`.${i.slideClass}:not(.${i.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass):n.children(`.${i.slideClass}.${i.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(i.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,i=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:s,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let c,d=e;if(void 0===d){for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?d=e:i>=n[e]&&i<n[e+1]&&(d=e+1):i>=n[e]&&(d=e);a.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if(s.indexOf(i)>=0)c=s.indexOf(i);else{const e=Math.min(a.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/a.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),d===r)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:r,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,i=t.params,n=g(e).closest(`.${i.slideClass}`)[0];let s,a=!1;if(n)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===n){a=!0,s=e;break}if(!n||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(g(n).attr("data-swiper-slide-index"),10):t.clickedIndex=s,i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:i,translate:n,$wrapperEl:s}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let a=y(s[0],e);return i&&(a=-a),a||0},setTranslate:function(e,t){const i=this,{rtlTranslate:n,params:s,$wrapperEl:a,wrapperEl:r,progress:o}=i;let l,c=0,d=0;i.isHorizontal()?c=n?-e:e:d=e,s.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),s.cssMode?r[i.isHorizontal()?"scrollLeft":"scrollTop"]=i.isHorizontal()?-c:-d:s.virtualTranslate||a.transform(`translate3d(${c}px, ${d}px, 0px)`),i.previousTranslate=i.translate,i.translate=i.isHorizontal()?c:d;const u=i.maxTranslate()-i.minTranslate();l=0===u?0:(e-i.minTranslate())/u,l!==o&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,i=!0,n=!0,s){const a=this,{params:r,wrapperEl:o}=a;if(a.animating&&r.preventInteractionOnTransition)return!1;const l=a.minTranslate(),c=a.maxTranslate();let d;if(d=n&&e>l?l:n&&e<c?c:e,a.updateProgress(d),r.cssMode){const e=a.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return k({swiper:a,targetPosition:-d,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(d),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(d),i&&(a.emit("beforeTransitionStart",t,s),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,i&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const i=this;i.params.cssMode||i.$wrapperEl.transition(e),i.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const i=this,{params:n}=i;n.cssMode||(n.autoHeight&&i.updateAutoHeight(),P({swiper:i,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),P({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e=0,t=this.params.speed,i=!0,n,s){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const a=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:h,wrapperEl:p,enabled:f}=a;if(a.animating&&o.preventInteractionOnTransition||!f&&!n&&!s)return!1;const m=Math.min(a.params.slidesPerGroupSkip,r);let g=m+Math.floor((r-m)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*v),i=Math.floor(100*c[e]),n=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=i&&t<n-(n-i)/2?r=e:t>=i&&t<n&&(r=e+1):t>=i&&(r=e)}if(a.initialized&&r!==u){if(!a.allowSlideNext&&v<a.translate&&v<a.minTranslate())return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(u||0)!==r)return!1}let b;if(r!==(d||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(v),b=r>u?"next":r<u?"prev":"reset",h&&-v===a.translate||!h&&v===a.translate)return a.updateActiveIndex(r),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(v),"reset"!==b&&(a.transitionStart(i,b),a.transitionEnd(i,b)),!1;if(o.cssMode){const e=a.isHorizontal(),i=h?v:-v;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),p[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1})}else{if(!a.support.smoothScroll)return k({swiper:a,targetPosition:i,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(i,b),0===t?a.transitionEnd(i,b):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,b))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,i=!0,n){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const s=this;let a=e;return s.params.loop&&(a+=s.loopedSlides),s.slideTo(a,t,i,n)},slideNext:function(e=this.params.speed,t=!0,i){const n=this,{animating:s,enabled:a,params:r}=n;if(!a)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:o;if(r.loop){if(s&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return r.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e=this.params.speed,t=!0,i){const n=this,{params:s,animating:a,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:c}=n;if(!c)return n;if(s.loop){if(a&&s.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(l?n.translate:-n.translate),h=r.map(e=>d(e));let p=r[h.indexOf(u)-1];if(void 0===p&&s.cssMode){let e;r.forEach((t,i)=>{u>=t&&(e=i)}),void 0!==e&&(p=r[e>0?e-1:e])}let f=0;if(void 0!==p&&(f=o.indexOf(p),f<0&&(f=n.activeIndex-1),"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(f=f-n.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),s.rewind&&n.isBeginning){const s=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(s,e,t,i)}return n.slideTo(f,e,t,i)},slideReset:function(e=this.params.speed,t=!0,i){return this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e=this.params.speed,t=!0,i,n=.5){const s=this;let a=s.activeIndex;const r=Math.min(s.params.slidesPerGroupSkip,a),o=r+Math.floor((a-r)/s.params.slidesPerGroup),l=s.rtlTranslate?s.translate:-s.translate;if(l>=s.snapGrid[o]){const e=s.snapGrid[o];l-e>(s.snapGrid[o+1]-e)*n&&(a+=s.params.slidesPerGroup)}else{const e=s.snapGrid[o-1];l-e<=(s.snapGrid[o]-e)*n&&(a-=s.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,s.slidesGrid.length-1),s.slideTo(a,e,t,i)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:i}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let s,a=e.clickedIndex;if(t.loop){if(e.animating)return;s=parseInt(g(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-n/2||a>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v(()=>{e.slideTo(a)})):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=i.children(`.${t.slideClass}[data-swiper-slide-index="${s}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),v(()=>{e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}},loop:{loopCreate:function(){const e=this,t=r(),{params:i,$wrapperEl:n}=e,s=n.children().length>0?g(n.children()[0].parentNode):n;s.children(`.${i.slideClass}.${i.slideDuplicateClass}`).remove();let a=s.children(`.${i.slideClass}`);if(i.loopFillGroupWithBlank){const e=i.slidesPerGroup-a.length%i.slidesPerGroup;if(e!==i.slidesPerGroup){for(let n=0;n<e;n+=1){const e=g(t.createElement("div")).addClass(`${i.slideClass} ${i.slideBlankClass}`);s.append(e)}a=s.children(`.${i.slideClass}`)}}"auto"!==i.slidesPerView||i.loopedSlides||(i.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(i.loopedSlides||i.slidesPerView,10)),e.loopedSlides+=i.loopAdditionalSlides,e.loopedSlides>a.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=a.length);const o=[],l=[];a.each((e,t)=>{g(e).attr("data-swiper-slide-index",t)});for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/a.length)*a.length;l.push(a.eq(e)[0]),o.unshift(a.eq(a.length-e-1)[0])}for(let e=0;e<l.length;e+=1)s.append(g(l[e].cloneNode(!0)).addClass(i.slideDuplicateClass));for(let e=o.length-1;e>=0;e-=1)s.prepend(g(o[e].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:i,loopedSlides:n,allowSlidePrev:s,allowSlideNext:a,snapGrid:r,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-r[t]-e.getTranslate();if(t<n){l=i.length-3*n+t,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}else if(t>=i.length-n){l=-i.length+t+n,l+=n,e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((o?-e.translate:e.translate)-c)}e.allowSlidePrev=s,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:i}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),i.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){if(this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)return;const t="container"===this.params.touchEventsTarget?this.el:this.wrapperEl;t.style.cursor="move",t.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this["container"===this.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=r(),{params:i,support:n}=e;e.onTouchStart=L.bind(e),e.onTouchMove=M.bind(e),e.onTouchEnd=O.bind(e),i.cssMode&&(e.onScroll=D.bind(e)),e.onClick=I.bind(e),n.touch&&!N&&(t.addEventListener("touchstart",H),N=!0),j(e,"on")},detachEvents:function(){j(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:i,loopedSlides:n=0,params:s,$el:a}=e,r=s.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in r?r[o]:void 0)||e.originalParams,c=F(e,s),d=F(e,l),u=s.enabled;c&&!d?(a.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(a.addClass(`${s.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===s.grid.fill)&&a.addClass(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{const i=s[t]&&s[t].enabled,n=l[t]&&l[t].enabled;i&&!n&&e[t].disable(),!i&&n&&e[t].enable()});const h=l.direction&&l.direction!==s.direction,p=s.loop&&(l.slidesPerView!==s.slidesPerView||h);h&&i&&e.changeDirection(),C(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!f?e.disable():!u&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),p&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",i){if(!e||"container"===t&&!i)return;let n=!1;const s=l(),a="window"===t?s.innerHeight:i.clientHeight,r=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});r.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<r.length;e+=1){const{point:a,value:o}=r[e];"window"===t?s.matchMedia(`(min-width: ${o}px)`).matches&&(n=a):o<=i.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:i}=e,{slidesOffsetBefore:n}=i;if(n){const t=e.slides.length-1,i=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>i}else e.isLocked=1===e.snapGrid.length;!0===i.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===i.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const{classNames:e,params:t,rtl:i,$el:n,device:s,support:a}=this,r=function(e,t){const i=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i}(["initialized",t.direction,{"pointer-events":!a.touch},{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...r),n.addClass([...e].join(" ")),this.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,s,a){const r=l();let o;function c(){a&&a()}g(e).parent("picture")[0]||e.complete&&s?c():t?(o=new r.Image,o.onload=c,o.onerror=c,n&&(o.sizes=n),i&&(o.srcset=i),t&&(o.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let i=0;i<e.imagesToLoad.length;i+=1){const n=e.imagesToLoad[i];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},V={};class W{constructor(...e){let t,i;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?i=e[0]:[t,i]=e,i||(i={}),i=C({},i),t&&!i.el&&(i.el=t),i.el&&g(i.el).length>1){const e=[];return g(i.el).each(t=>{const n=C({},i,{el:t});e.push(new W(n))}),e}const n=this;n.__swiper__=!0,n.support=x(),n.device=_({userAgent:i.userAgent}),n.browser=A(),n.eventsListeners={},n.eventsAnyListeners=[],n.modules=[...n.__modules__],i.modules&&Array.isArray(i.modules)&&n.modules.push(...i.modules);const s={};n.modules.forEach(e=>{e({swiper:n,extendParams:q(i,s),on:n.on.bind(n),once:n.once.bind(n),off:n.off.bind(n),emit:n.emit.bind(n)})});const a=C({},R,s);return n.params=C({},a,V,i),n.originalParams=C({},n.params),n.passedParams=C({},i),n.params&&n.params.on&&Object.keys(n.params.on).forEach(e=>{n.on(e,n.params.on[e])}),n.params&&n.params.onAny&&n.onAny(n.params.onAny),n.$=g,Object.assign(n,{enabled:n.params.enabled,el:t,classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===n.params.direction,isVertical:()=>"vertical"===n.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return n.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},n.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},n.support.touch||!n.params.simulateTouch?n.touchEventsTouch:n.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:n.params.focusableElements,lastClickTime:b(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.emit("_swiper"),n.params.init&&n.init(),n}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);const i=this.minTranslate(),n=(this.maxTranslate()-i)*e+i;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each(i=>{const n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:i,slides:n,slidesGrid:s,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(i.centeredSlides){let e,t=n[o].swiperSlideSize;for(let i=o+1;i<n.length;i+=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>r&&(e=!0));for(let i=o-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<n.length;e+=1){(t?s[e]+a[e]-s[o]<r:s[e]-s[o]<r)&&(l+=1)}else for(let e=o-1;e>=0;e-=1){s[o]-s[e]<r&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:i}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}let s;i.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(s=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),s||n()),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(`${i.params.containerModifierClass}${n}`).addClass(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.each(t=>{"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
2rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const i=g(e||t.params.el);if(!(e=i[0]))return!1;e.swiper=t;const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let s=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=g(e.shadowRoot.querySelector(n()));return t.children=e=>i.children(e),t}return i.children?i.children(n()):g(i).children(n())})();if(0===s.length&&t.params.createElements){const e=r().createElement("div");s=g(e),e.className=t.params.wrapperClass,i.append(e),i.children(`.${t.params.slideClass}`).each(e=>{s.append(e)})}return Object.assign(t,{$el:i,el:e,$wrapperEl:s,wrapperEl:s[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===i.css("direction")),wrongRTL:"-webkit-box"===s.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const i=this,{params:n,$el:s,$wrapperEl:a,slides:r}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),s.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(i)),i.destroyed=!0),null}static extendDefaults(e){C(V,e)}static get extendedDefaults(){return V}static get defaults(){return R}static installModule(e){W.prototype.__modules__||(W.prototype.__modules__=[]);const t=W.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>W.installModule(e)),W):(W.installModule(e),W)}}Object.keys(B).forEach(e=>{Object.keys(B[e]).forEach(t=>{W.prototype[t]=B[e][t]})}),W.use([function({swiper:e,on:t,emit:i}){const n=l();let s=null,a=null;const r=()=>{e&&!e.destroyed&&e.initialized&&(i("beforeResize"),i("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&i("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==n.ResizeObserver?e&&!e.destroyed&&e.initialized&&(s=new ResizeObserver(t=>{a=n.requestAnimationFrame(()=>{const{width:i,height:n}=e;let s=i,a=n;t.forEach(({contentBoxSize:t,contentRect:i,target:n})=>{n&&n!==e.el||(s=i?i.width:(t[0]||t).inlineSize,a=i?i.height:(t[0]||t).blockSize)}),s===i&&a===n||r()})}),s.observe(e.el)):(n.addEventListener("resize",r),n.addEventListener("orientationchange",o))}),t("destroy",()=>{a&&n.cancelAnimationFrame(a),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null),n.removeEventListener("resize",r),n.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:i,emit:n}){const s=[],a=l(),r=(e,t={})=>{const i=new(a.MutationObserver||a.WebkitMutationObserver)(e=>{if(1===e.length)return void n("observerUpdate",e[0]);const t=function(){n("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)});i.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),s.push(i)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)r(t[e])}r(e.$el[0],{childList:e.params.observeSlideChildren}),r(e.$wrapperEl[0],{attributes:!1})}}),i("destroy",()=>
vendor: 14,702 bytes, line 2
2{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);var G=W;function U(e,t,i,n){const s=r();return e.params.createElements&&Object.keys(n).forEach(a=>{if(!i[a]&&!0===i.auto){let r=e.$el.children(`.${n[a]}`)[0];r||(r=s.createElement("div"),r.className=n[a],e.$el.append(r)),i[a]=r,t[a]=r}}),i}function Y({swiper:e,extendParams:t,on:i,emit:n}){function s(t){let i;return t&&(i=g(t),e.params.uniqueNavElements&&"string"==typeof t&&i.length>1&&1===e.$el.find(t).length&&(i=e.$el.find(t))),i}function a(t,i){const n=e.params.navigation;t&&t.length>0&&(t[i?"addClass":"removeClass"](n.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=i),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](n.lockClass))}function r(){if(e.params.loop)return;const{$nextEl:t,$prevEl:i}=e.navigation;a(i,e.isBeginning&&!e.params.rewind),a(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=U(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const i=s(t.nextEl),n=s(t.prevEl);i&&i.length>0&&i.on("click",l),n&&n.length>0&&n.on("click",o),Object.assign(e.navigation,{$nextEl:i,nextEl:i&&i[0],$prevEl:n,prevEl:n&&n[0]}),e.enabled||(i&&i.addClass(t.lockClass),n&&n.addClass(t.lockClass))}function d(){const{$nextEl:t,$prevEl:i}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),i&&i.length&&(i.off("click",o),i.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},i("init",()=>{!1===e.params.navigation.enabled?u():(c(),r())}),i("toEdge fromEdge lock unlock",()=>{r()}),i("destroy",()=>{d()}),i("enable disable",()=>{const{$nextEl:t,$prevEl:i}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),i&&i[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),i("click",(t,i)=>{const{$nextEl:s,$prevEl:a}=e.navigation,r=i.target;if(e.params.navigation.hideOnClick&&!g(r).is(a)&&!g(r).is(s)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;let t;s?t=s.hasClass(e.params.navigation.hiddenClass):a&&(t=a.hasClass(e.params.navigation.hiddenClass)),n(!0===t?"navigationShow":"navigationHide"),s&&s.toggleClass(e.params.navigation.hiddenClass),a&&a.toggleClass(e.params.navigation.hiddenClass)}});const u=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),d()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),c(),r()},disable:u,update:r,init:c,destroy:d})}function K(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function X({swiper:e,extendParams:t,on:i,emit:n}){const s="swiper-pagination";let a;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let r=0;function o(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,i){const{bulletActiveClass:n}=e.params.pagination;t[i]().addClass(`${n}-${i}`)[i]().addClass(`${n}-${i}-${i}`)}function c(){const t=e.rtl,i=e.params.pagination;if(o())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,c=e.pagination.$el;let d;const u=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),d>s-1-2*e.loopedSlides&&(d-=s-2*e.loopedSlides),d>u-1&&(d-=u),d<0&&"bullets"!==e.params.paginationType&&(d=u+d)):d=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const n=e.pagination.bullets;let s,o,u;if(i.dynamicBullets&&(a=n.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),c.css(e.isHorizontal()?"width":"height",`${a*(i.dynamicMainBullets+4)}px`),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(r+=d-(e.previousIndex-e.loopedSlides||0),r>i.dynamicMainBullets-1?r=i.dynamicMainBullets-1:r<0&&(r=0)),s=Math.max(d-r,0),o=s+(Math.min(n.length,i.dynamicMainBullets)-1),u=(o+s)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${i.bulletActiveClass}${e}`).join(" ")),c.length>1)n.each(e=>{const t=g(e),n=t.index();n===d&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(n>=s&&n<=o&&t.addClass(`${i.bulletActiveClass}-main`),n===s&&l(t,"prev"),n===o&&l(t,"next"))});else{const t=n.eq(d),a=t.index();if(t.addClass(i.bulletActiveClass),i.dynamicBullets){const t=n.eq(s),r=n.eq(o);for(let e=s;e<=o;e+=1)n.eq(e).addClass(`${i.bulletActiveClass}-main`);if(e.params.loop)if(a>=n.length){for(let e=i.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass(`${i.bulletActiveClass}-main`);n.eq(n.length-i.dynamicMainBullets-1).addClass(`${i.bulletActiveClass}-prev`)}else l(t,"prev"),l(r,"next");else l(t,"prev"),l(r,"next")}}if(i.dynamicBullets){const s=Math.min(n.length,i.dynamicMainBullets+4),r=(a*s-a)/2-u*a,o=t?"right":"left";n.css(e.isHorizontal()?o:"top",`${r}px`)}}if("fraction"===i.type&&(c.find(K(i.currentClass)).text(i.formatFractionCurrent(d+1)),c.find(K(i.totalClass)).text(i.formatFractionTotal(u))),"progressbar"===i.type){let t;t=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const n=(d+1)/u;let s=1,a=1;"horizontal"===t?s=n:a=n,c.find(K(i.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${s}) scaleY(${a})`).transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(c.html(i.renderCustom(e,d+1,u)),n("paginationRender",c[0])):n("paginationUpdate",c[0]),e.params.watchOverflow&&e.enabled&&c[e.isLocked?"addClass":"removeClass"](i.lockClass)}function d(){const t=e.params.pagination;if(o())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el;let a="";if("bullets"===t.type){let n=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&n>i&&(n=i);for(let i=0;i<n;i+=1)t.renderBullet?a+=t.renderBullet.call(e,i,t.bulletClass):a+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;s.html(a),e.pagination.bullets=s.find(K(t.bulletClass))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span>`+" / "+`<span class="${t.totalClass}"></span>`,s.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,s.html(a)),"custom"!==t.type&&n("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=U(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let i=g(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el),i.length>1&&(i=i.filter(t=>g(t).parents(".swiper")[0]===e.el))),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),i.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(`${t.modifierClass}${t.type}-dynamic`),r=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click",K(t.bulletClass),(function(t){t.preventDefault();let i=g(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)})),Object.assign(e.pagination,{$el:i,el:i[0]}),e.enabled||i.addClass(t.lockClass))}function h(){const t=e.params.pagination;if(o())return;const i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),i.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click",K(t.bulletClass))}i("init",()=>{!1===e.params.pagination.enabled?p():(u(),d(),c())}),i("activeIndexChange",()=>{(e.params.loop||void 0===e.snapIndex)&&c()}),i("snapIndexChange",()=>{e.params.loop||c()}),i("slidesLengthChange",()=>{e.params.loop&&(d(),c())}),i("snapGridLengthChange",()=>{e.params.loop||(d(),c())}),i("destroy",()=>{h()}),i("enable disable",()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)}),i("lock unlock",()=>{c()}),i("click",(t,i)=>{const s=i.target,{$el:a}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&a&&a.length>0&&!g(s).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&s===e.navigation.nextEl||e.navigation.prevEl&&s===e.navigation.prevEl))return;const t=a.hasClass(e.params.pagination.hiddenClass);n(!0===t?"paginationShow":"paginationHide"),a.toggleClass(e.params.pagination.hiddenClass)}});const p=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),h()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),u(),d(),c()},disable:p,render:d,update:c,init:u,destroy:h})}function J({swiper:e,extendParams:t,on:i,emit:n}){let s;function a(){if(!e.size)return e.autoplay.running=!1,void(e.autoplay.paused=!1);const t=e.slides.eq(e.activeIndex);let i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(s),s=v(()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),n("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),n("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),n("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?l():(t=e.slideTo(0,e.params.speed,!0,!0),n("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),n("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&a()},i)}function o(){return void 0===s&&(!e.autoplay.running&&(e.autoplay.running=!0,n("autoplayStart"),a(),!0))}function l(){return!!e.autoplay.running&&(void 0!==s&&(s&&(clearTimeout(s),s=void 0),e.autoplay.running=!1,n("autoplayStop"),!0))}function c(t){e.autoplay.running&&(e.autoplay.paused||(s&&clearTimeout(s),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].addEventListener(t,u)}):(e.autoplay.paused=!1,a())))}function d(){const t=r();"hidden"===t.visibilityState&&e.autoplay.running&&c(),"visible"===t.visibilityState&&e.autoplay.paused&&(a(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,u)}),e.autoplay.paused=!1,e.autoplay.running?a():l())}function h(){e.params.autoplay.disableOnInteraction?l():(n("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach(t=>{e.$wrapperEl[0].removeEventListener(t,u)})}function p(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n("autoplayResume"),a())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),i("init",()=>{if(e.params.autoplay.enabled){o(),r().addEventListener("visibilitychange",d),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",p))}}),i("beforeTransitionStart",(t,i,n)=>{e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(i):l())}),i("sliderFirstMove",()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?l():c())}),i("touchEnd",()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&a()}),i("destroy",()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",p),e.autoplay.running&&l(),r().removeEventListener("visibilitychange",d)}),Object.assign(e.autoplay,{pause:c,run:a,start:o,stop:l})}function Q(e){const{effect:t,swiper:i,on:n,setTranslate:s,setTransition:a,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:c}=e;let d;n("beforeInit",()=>{if(i.params.effect!==t)return;i.classNames.push(`${i.params.containerModifierClass}${t}`),o&&o()&&i.classNames.push(`${i.params.containerModifierClass}3d`);const e=r?r():{};Object.assign(i.params,e),Object.assign(i.originalParams,e)}),n("setTranslate",()=>{i.params.effect===t&&s()}),n("setTransition",(e,n)=>{i.params.effect===t&&a(n)}),n("transitionEnd",()=>{if(i.params.effect===t&&l){if(!c||!c().slideShadows)return;i.slides.each(e=>{i.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()}),l()}}),n("virtualUpdate",()=>{i.params.effect===t&&(i.slides.length||(d=!0),requestAnimationFrame(()=>{d&&i.slides&&i.slides.length&&(s(),d=!1)}))})}function Z(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ee({swiper:e,duration:t,transformEl:i,allSlides:n}){const{slides:s,activeIndex:a,$wrapperEl:r}=e;if(e.params.virtualTranslate&&0!==t){let t,o=!1;t=n?i?s.find(i):s:i?s.eq(a).find(i):s.eq(a),t.transitionEnd(()=>
2{if(o)return;if(!e||e.destroyed)return;o=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e<t.length;e+=1)r.trigger(t[e])})}}function te({swiper:e,extendParams:t,on:i}){t({fadeEffect:{crossFade:!1,transformEl:null}});Q({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:t}=e,i=e.params.fadeEffect;for(let n=0;n<t.length;n+=1){const t=e.slides.eq(n);let s=-t[0].swiperSlideOffset;e.params.virtualTranslate||(s-=e.translate);let a=0;e.isHorizontal()||(a=s,s=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t[0].progress),0):1+Math.min(Math.max(t[0].progress,-1),0);Z(i,t).css({opacity:r}).transform(`translate3d(${s}px, ${a}px, 0px)`)}},setTransition:t=>{const{transformEl:i}=e.params.fadeEffect;(i?e.slides.find(i):e.slides).transition(t),ee({swiper:e,duration:t,transformEl:i,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}},W8MJ:function(e,t){function i(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}},hjaD:function(e,t,i){"use strict";i.d(t,"a",(function(){return g}));var n=i("xeH2"),s=i.n(n),a=i("RnVY"),r=i("l67y"),o=i("oMJq"),l=i("CKjC");const c=["left","right","top","bottom"],d=["top","bottom","center"],u=["left","right","center"],h={left:d,right:d,top:u,bottom:u};function p(e,t){var i=t.indexOf(e);return i===t.length-1?t[0]:t[i+1]}class f extends l.a{_init(){this.triedPositions={},this.position="auto"===this.options.position?this._getDefaultPosition():this.options.position,this.alignment="auto"===this.options.alignment?this._getDefaultAlignment():this.options.alignment,this.originalPosition=this.position,this.originalAlignment=this.alignment}_getDefaultPosition(){return"bottom"}_getDefaultAlignment(){switch(this.position){case"bottom":case"top":return Object(r.e)()?"right":"left";case"left":case"right":return"bottom"}}_reposition(){this._alignmentsExhausted(this.position)?(this.position=p(this.position,c),this.alignment=h[this.position][0]):this._realign()}_realign(){this._addTriedPosition(this.position,this.alignment),this.alignment=p(this.alignment,h[this.position])}_addTriedPosition(e,t){this.triedPositions[e]=this.triedPositions[e]||[],this.triedPositions[e].push(t)}_positionsExhausted(){for(var e=!0,t=0;t<c.length;t++)e=e&&this._alignmentsExhausted(c[t]);return e}_alignmentsExhausted(e){return this.triedPositions[e]&&this.triedPositions[e].length==h[e].length}_getVOffset(){return this.options.vOffset}_getHOffset(){return this.options.hOffset}_setPosition(e,t,i){if("false"===e.attr("aria-expanded"))return!1;o.a.GetDimensions(t),o.a.GetDimensions(e);if(this.options.allowOverlap||(this.position=this.originalPosition,this.alignment=this.originalAlignment),t.offset(o.a.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset())),!this.options.allowOverlap){for(var n=1e8,s={position:this.position,alignment:this.alignment};!this._positionsExhausted();){let a=o.a.OverlapArea(t,i,!1,!1,this.options.allowBottomOverlap);if(0===a)return;a<n&&(n=a,s={position:this.position,alignment:this.alignment}),this._reposition(),t.offset(o.a.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}this.position=s.position,this.alignment=s.alignment,t.offset(o.a.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}}}f.defaults={position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,vOffset:0,hOffset:0};var m=i("xDCs");class g extends f{_setup(e,t){this.$element=e,this.options=s.a.extend({},g.defaults,this.$element.data(),t),this.className="Dropdown",m.a.init(s.a),this._init(),a.a.register("Dropdown",{ENTER:"toggle",SPACE:"toggle",ESCAPE:"close"})}_init(){var e=this.$element.attr("id");this.$anchors=s()(`[data-toggle="${e}"]`).length?s()(`[data-toggle="${e}"]`):s()(`[data-open="${e}"]`),this.$anchors.attr({"aria-controls":e,"data-is-focus":!1,"data-yeti-box":e,"aria-haspopup":!0,"aria-expanded":!1}),this._setCurrentAnchor(this.$anchors.first()),this.options.parentClass?this.$parent=this.$element.parents("."+this.options.parentClass):this.$parent=null,void 0===this.$element.attr("aria-labelledby")&&(void 0===this.$currentAnchor.attr("id")&&this.$currentAnchor.attr("id",Object(r.a)(6,"dd-anchor")),this.$element.attr("aria-labelledby",this.$currentAnchor.attr("id"))),this.$element.attr({"aria-hidden":"true","data-yeti-box":e,"data-resize":e}),super._init(),this._events()}_getDefaultPosition(){var e=this.$element[0].className.match(/(top|left|right|bottom)/g);return e?e[0]:"bottom"}_getDefaultAlignment(){var e=/float-(\S+)/.exec(this.$currentAnchor.attr("class"));return e?e[1]:super._getDefaultAlignment()}_setPosition(){this.$element.removeClass(`has-position-${this.position} has-alignment-${this.alignment}`),super._setPosition(this.$currentAnchor,this.$element,this.$parent),this.$element.addClass(`has-position-${this.position} has-alignment-${this.alignment}`)}_setCurrentAnchor(e){this.$currentAnchor=s()(e)}_events(){var e=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":this._setPosition.bind(this)}),this.$anchors.off("click.zf.trigger").on("click.zf.trigger",(function(){e._setCurrentAnchor(this)})),this.options.hover&&(this.$anchors.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",(function(){e._setCurrentAnchor(this);var t=s()("body").data();void 0!==t.whatinput&&"mouse"!==t.whatinput||(clearTimeout(e.timeout),e.timeout=setTimeout((function(){e.open(),e.$anchors.data("hover",!0)}),e.options.hoverDelay))})).on("mouseleave.zf.dropdown",Object(r.c)((function(){clearTimeout(e.timeout),e.timeout=setTimeout((function(){e.close(),e.$anchors.data("hover",!1)}),e.options.hoverDelay)}))),this.options.hoverPane&&this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",(function(){clearTimeout(e.timeout)})).on("mouseleave.zf.dropdown",Object(r.c)((function(){clearTimeout(e.timeout),e.timeout=setTimeout((function(){e.close(),e.$anchors.data("hover",!1)}),e.options.hoverDelay)})))),this.$anchors.add(this.$element).on("keydown.zf.dropdown",(function(t){var i=s()(this);a.a.findFocusable(e.$element);a.a.handleKey(t,"Dropdown",{open:function(){i.is(e.$anchors)&&!i.is("input, textarea")&&(e.open(),e.$element.attr("tabindex",-1).focus(),t.preventDefault())},close:function(){e.close(),e.$anchors.focus()}})}))}_addBodyHandler(){var e=s()(document.body).not(this.$element),t=this;e.off("click.zf.dropdown").on("click.zf.dropdown",(function(i){t.$anchors.is(i.target)||t.$anchors.find(i.target).length||t.$element.is(i.target)||t.$element.find(i.target).length||(t.close(),e.off("click.zf.dropdown"))}))}open(){if(this.$element.trigger("closeme.zf.dropdown",this.$element.attr("id")),this.$anchors.addClass("hover").attr({"aria-expanded":!0}),this.$element.addClass("is-opening"),this._setPosition(),this.$element.removeClass("is-opening").addClass("is-open").attr({"aria-hidden":!1}),this.options.autoFocus){var e=a.a.findFocusable(this.$element);e.length&&e.eq(0).focus()}this.options.closeOnClick&&this._addBodyHandler(),this.options.trapFocus&&a.a.trapFocus(this.$element),this.$element.trigger("show.zf.dropdown",[this.$element])}close(){if(!this.$element.hasClass("is-open"))return!1;this.$element.removeClass("is-open").attr({"aria-hidden":!0}),this.$anchors.removeClass("hover").attr("aria-expanded",!1),this.$element.trigger("hide.zf.dropdown",[this.$element]),this.options.trapFocus&&a.a.releaseFocus(this.$element)}toggle(){if(this.$element.hasClass("is-open")){if(this.$anchors.data("hover"))return;this.close()}else this.open()}_destroy(){this.$element.off(".zf.trigger").hide(),this.$anchors.off(".zf.dropdown"),s()(document.body).off("click.zf.dropdown")}}g.defaults={parentClass:null,hoverDelay:250,hover:!1,hoverPane:!1,vOffset:0,hOffset:0,position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,trapFocus:!1,autoFocus:!1,closeOnClick:!1}},hvmB:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("xeH2"),s=i.n(n),a=i("l67y"),r=i("RnVY"),o=i("CKjC");class l extends o.a{_setup(e,t){this.$element=e,this.options=s.a.extend({},l.defaults,this.$element.data(),t),this.className="Accordion",this._init(),r.a.register("Accordion",{ENTER:"toggle",SPACE:"toggle",ARROW_DOWN:"next",ARROW_UP:"previous"})}_init(){this._isInitializing=!0,this.$element.attr("role","tablist"),this.$tabs=this.$element.children("[data-accordion-item]"),this.$tabs.each((function(e,t){var i=s()(t),n=i.children("[data-tab-content]"),r=n[0].id||Object(a.a)(6,"accordion"),o=t.id?`${t.id}-label`:`${r}-label`;i.find("a:first").attr({"aria-controls":r,role:"tab",id:o,"aria-expanded":!1,"aria-selected":!1}),n.attr({role:"tabpanel","aria-labelledby":o,"aria-hidden":!0,id:r})}));
2var e=this.$element.find(".is-active").children("[data-tab-content]");e.length&&(this._initialAnchor=e.prev("a").attr("href"),this._openSingleTab(e)),this._checkDeepLink=()=>{var e=window.location.hash;if(!e.length){if(this._isInitializing)return;this._initialAnchor&&(e=this._initialAnchor)}var t=e&&s()(e),i=e&&this.$element.find(`[href$="${e}"]`),n=!(!t.length||!i.length);t&&i&&i.length?i.parent("[data-accordion-item]").hasClass("is-active")||this._openSingleTab(t):this._closeAllTabs(),n&&(this.options.deepLinkSmudge&&Object(a.d)(s()(window),()=>{var e=this.$element.offset();s()("html, body").animate({scrollTop:e.top},this.options.deepLinkSmudgeDelay)}),this.$element.trigger("deeplink.zf.accordion",[i,t]))},this.options.deepLink&&this._checkDeepLink(),this._events(),this._isInitializing=!1}_events(){var e=this;this.$tabs.each((function(){var t=s()(this),i=t.children("[data-tab-content]");i.length&&t.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion",(function(t){t.preventDefault(),e.toggle(i)})).on("keydown.zf.accordion",(function(n){r.a.handleKey(n,"Accordion",{toggle:function(){e.toggle(i)},next:function(){var i=t.next().find("a").focus();e.options.multiExpand||i.trigger("click.zf.accordion")},previous:function(){var i=t.prev().find("a").focus();e.options.multiExpand||i.trigger("click.zf.accordion")},handled:function(){n.preventDefault(),n.stopPropagation()}})}))})),this.options.deepLink&&s()(window).on("hashchange",this._checkDeepLink)}toggle(e){if(e.closest("[data-accordion]").is("[disabled]"))console.info("Cannot toggle an accordion that is disabled.");else if(e.parent().hasClass("is-active")?this.up(e):this.down(e),this.options.deepLink){var t=e.prev("a").attr("href");this.options.updateHistory?history.pushState({},"",t):history.replaceState({},"",t)}}
2down(e){e.closest("[data-accordion]").is("[disabled]")?console.info("Cannot call down on an accordion that is disabled."):this.options.multiExpand?this._openTab(e):this._openSingleTab(e)}up(e){if(this.$element.is("[disabled]"))return void console.info("Cannot call up on an accordion that is disabled.");const t=e.parent();if(!t.hasClass("is-active"))return;const i=t.siblings();(this.options.allowAllClosed||i.hasClass("is-active"))&&this._closeTab(e)}_openSingleTab(e){const t=this.$element.children(".is-active").children("[data-tab-content]");t.length&&this._closeTab(t.not(e)),this._openTab(e)}_openTab(e){const t=e.parent(),i=e.attr("aria-labelledby");e.attr("aria-hidden",!1),t.addClass("is-active"),s()(`#${i}`).attr({"aria-expanded":!0,"aria-selected":!0}),e.slideDown(this.options.slideSpeed,()=>{this.$element.trigger("down.zf.accordion",[e])})}_closeTab(e){const t=e.parent(),i=e.attr("aria-labelledby");e.attr("aria-hidden",!0),t.removeClass("is-active"),s()(`#${i}`).attr({"aria-expanded":!1,"aria-selected":!1}),e.slideUp(this.options.slideSpeed,()=>{this.$element.trigger("up.zf.accordion",[e])})}_closeAllTabs(){var e=this.$element.children(".is-active").children("[data-tab-content]");e.length&&this._closeTab(e)}_destroy(){this.$element.find("[data-tab-content]").stop(!0).slideUp(0).css("display",""),this.$element.find("a").off(".zf.accordion"),this.options.deepLink&&s()(window).off("hashchange",this._checkDeepLink)}}l.defaults={slideSpeed:250,multiExpand:!1,allowAllClosed:!1,deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,updateHistory:!1}},jjtq:function(e,t,i){var n;n=function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={exports:{},id:n,loaded:!1};return e[n].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}return i.m=e,i.c=t,i.p="",i(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,i="initial",n=i,s=Date.now(),a=!1,r=["button","input","select","textarea"],o=[],l=[16,17,18,91,93],c=[],d={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},u=!1,h={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},f=!1;try{var m=Object.defineProperty({},"passive",{get:function(){f=!0}});window.addEventListener("test",null,m)}catch(e){}var g=function(){var e=!f||{passive:!0,capture:!0};document.addEventListener("DOMContentLoaded",v,!0),window.PointerEvent?(window.addEventListener("pointerdown",b,!0),window.addEventListener("pointermove",w,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",b,!0),window.addEventListener("MSPointerMove",w,!0)):(window.addEventListener("mousedown",b,!0),window.addEventListener("mousemove",w,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",b,e),window.addEventListener("touchend",b,!0))
2),window.addEventListener(E(),w,e),window.addEventListener("keydown",b,!0),window.addEventListener("keyup",b,!0),window.addEventListener("focusin",C,!0),window.addEventListener("focusout",T,!0)},v=function(){if(a=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(i=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(n=window.sessionStorage.getItem("what-intent"))}catch(e){}y("input"),y("intent")},b=function(e){var t=e.which,s=d[e.type];"pointer"===s&&(s=$(e));var a=!c.length&&-1===l.indexOf(t),o=c.length&&-1!==c.indexOf(t),u="keyboard"===s&&t&&(a||o)||"mouse"===s||"touch"===s;if(S(s)&&(u=!1),u&&i!==s&&(k("input",i=s),y("input")),u&&n!==s){var h=document.activeElement;h&&h.nodeName&&(-1===r.indexOf(h.nodeName.toLowerCase())||"button"===h.nodeName.toLowerCase()&&!A(h,"form"))&&(k("intent",n=s),y("intent"))}},y=function(t){e.setAttribute("data-what"+t,"input"===t?i:n),x(t)},w=function(e){var t=d[e.type];"pointer"===t&&(t=$(e)),_(e),(!u&&!S(t)||u&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&n!==t&&(k("intent",n=t),y("intent"))},C=function(i){i.target.nodeName?(t=i.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),i.target.classList&&i.target.classList.length&&e.setAttribute("data-whatclasses",i.target.classList.toString().replace(" ",","))):T()},T=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},k=function(e,t){if(a)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},$=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),n="mouse"===e&&"touch"===i&&t-s<200;return s=t,n},E=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},x=function(e){for(var t=0,s=o.length;t<s;t++)o[t].type===e&&o[t].fn.call(void 0,"input"===e?i:n)},_=function(e){h.x!==e.screenX||h.y!==e.screenY?(u=!1,h.x=e.screenX,h.y=e.screenY):u=!0},A=function(e,t){var i=window.Element.prototype;if(i.matches||(i.matches=i.msMatchesSelector||i.webkitMatchesSelector),i.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(d[E()]="mouse",g()),{ask:function(e){return"intent"===e?n:i},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){o.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,i=o.length;t<i;t++)if(o[t].fn===e)return t}(e);(t||0===t)&&o.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},e.exports=n()},l67y:function(e,t,i){"use strict";i.d(t,"e",(function(){return a})),i.d(t,"a",(function(){return r})),i.d(t,"b",(function(){return o})),i.d(t,"f",(function(){return l})),i.d(t,"d",(function(){return c})),i.d(t,"c",(function(){return d}));var n=i("xeH2"),s=i.n(n);function a(){return"rtl"===s()("html").attr("dir")}function r(e,t){return e=e||6,Math.round(Math.pow(36,e+1)-Math.random()*Math.pow(36,e)).toString(36).slice(1)+(t?`-${t}`:"")}function o(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function l(e){var t,i={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},n=document.createElement("div");for(var s in i)void 0!==n.style[s]&&(t=i[s]);return t||(t=setTimeout((function(){e.triggerHandler("transitionend",[e])}),1),"transitionend")}function c(e,t){const i="complete"===document.readyState,n=(i?"_didLoad":"load")+".zf.util.onLoad",a=()=>e.triggerHandler(n);return e&&(t&&e.one(n,t),i?setTimeout(a):s()(window).one("load",a)),n}function d(e,{ignoreLeaveWindow:t=!1,ignoreReappear:i=!1}={}){return function(n,...a){const r=e.bind(this,n,...a);if(null!==n.relatedTarget)return r();setTimeout((function(){if(!t&&document.hasFocus&&!document.hasFocus())return r();i||s()(document).one("mouseenter",(function(e){s()(n.currentTarget).has(e.target).length||(n.relatedTarget=e.target,r())}))}),0)}}},lwsE:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},mY8o:function(e,t,i){"use strict";function n(e,t,i){return Array.prototype.slice.call(e,t,i)}
2function s(e){return e.bind.apply(e,[null].concat(n(arguments,1)))}function a(e){return requestAnimationFrame(e)}function r(e,t){return typeof t===e}i.d(t,"a",(function(){return z}));var o=Array.isArray;function l(e){return o(e)?e:[e]}function c(e,t){l(e).forEach(t)}s(r,"function"),s(r,"string"),s(r,"undefined");var d=Object.keys;function u(e,t,i){if(e){var n=d(e);n=i?n.reverse():n;for(var s=0;s<n.length;s++){var a=n[s];if("__proto__"!==a&&!1===t(e[a],a))break}}return e}var h=Math.min;function p(e){var t=e?e.event.bus:document.createDocumentFragment(),i=function(){var e=[];function t(e,t,i){c(e,(function(e){e&&c(t,(function(t){t.split(" ").forEach((function(t){var n=t.split(".");i(e,n[0],n[1])}))}))}))}return{bind:function(i,n,s,a){t(i,n,(function(t,i,n){var r="addEventListener"in t,o=r?t.removeEventListener.bind(t,i,s,a):t.removeListener.bind(t,s);r?t.addEventListener(i,s,a):t.addListener(s),e.push([t,i,n,s,o])}))},unbind:function(i,n,s){t(i,n,(function(t,i,n){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==i||e[2]!==n||s&&e[3]!==s)||(e[4](),!1)}))}))},dispatch:function(e,t,i){var n;return"function"==typeof CustomEvent?n=new CustomEvent(t,{bubbles:!0,detail:i}):(n=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,i),e.dispatchEvent(n),n},destroy:function(){e.forEach((function(e){e[4]()})),e.length=0}}}();return e&&e.event.on("destroy",i.destroy),function(e){return n(arguments,1).forEach((function(t){u(t,(function(i,n){e[n]=t[n]}))})),e}(i,{bus:t,on:function(e,n){i.bind(t,l(e).join(" "),(function(e){n.apply(n,o(e.detail)?e.detail:[])}))},off:s(i.unbind,t),emit:function(e){i.dispatch(t,e,n(arguments,1))}})}function f(e,t,i,n){var s,r,o=Date.now,l=0,c=!0,d=0;function u(){if(!c){if(l=e?h((o()-s)/e,1):1,i&&i(l),l>=1&&(t(),s=o(),n&&++d>=n))return p();a(u)}}function p(){c=!0}function f(){r&&cancelAnimationFrame(r),l=0,r=0,c=!0}return{start:function(t){!t&&f(),s=o()-(t?l*e:0),c=!1,a(u)},rewind:function(){s=o(),l=0,i&&i(l)},pause:p,cancel:f,set:function(t){e=t},isPaused:function(){return c}}}function m(e,t,i){return Array.prototype.slice.call(e,t,i)}function g(e){return e.bind(null,...m(arguments,1))}function v(e,t){return typeof t===e}function b(e){return!C(e)&&v("object",e)}const y=Array.isArray;g(v,"function"),g(v,"string");const w=g(v,"undefined");function C(e){return null===e}function T(e,t){var i;(i=e,y(i)?i:[i]).forEach(t)}const k=Object.keys;function $(e,t,i){if(e){let n=k(e);n=i?n.reverse():n;for(let i=0;i<n.length;i++){const s=n[i];if("__proto__"!==s&&!1===t(e[s],s))break}}return e}function S(e){return m(arguments,1).forEach(t=>{$(t,(i,n)=>{e[n]=t[n]})}),e}function E(e,t,i){b(t)?$(t,(t,i)=>{E(e,i,t)}):T(e,e=>{C(i)||""===i?function(e,t){T(e,e=>{T(t,t=>{e&&e.removeAttribute(t)})})}(e,t):e.setAttribute(t,String(i))})}const{min:x,max:_,floor:A,ceil:P,abs:L}=Math;const M={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},O={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function z(e,t,i){const{on:n,off:s,bind:a,unbind:r}=p(e),{translate:o,getPosition:l,toIndex:c,getLimit:d}=t.Move,{setIndex:u,getIndex:h}=t.Controller,{orient:m}=t.Direction,{toggle:g}=t.Elements,{Live:v}=t,{root:y}=e,C=function(e,t){var i;return function(){i||(i=f(t||0,(function(){e(),i=null}),null,1)).start()}}(t.Arrows.update,500);let k,$,A,P,L,z,I={};function D(){e.is("fade")||k||!1===i.autoScroll||(k=f(0,q),function(){I.pauseOnHover&&a(y,"mouseenter mouseleave",e=>{A="mouseenter"===e.type,R()});I.pauseOnFocus&&a(y,"focusin focusout",e=>{P="focusin"===e.type,R()});I.useToggleButton&&a(g,"click",()=>{$?j():F()});n("updated",H),n(["move","drag","scroll"],()=>{L=!0,F(!1)}),n(["moved","dragged","scrolled"],()=>{L=!1,R()})}(),I.autoStart&&("complete"===document.readyState?j():a(window,"load",j)))}function N(){k&&(k.cancel(),k=null,z=void 0,s(["move","drag","scroll","moved","scrolled"]),r(y,"mouseenter mouseleave focusin focusout"),r(g,"click"))}function H(){const{autoScroll:e}=i;!1!==e?(I=S({},I,b(e)?e:{}),D()):N(),k&&!w(z)&&o(z)}function j(){V()&&(k.start(!0),v.disable(!0),P=A=$=!1,B())}function F(e=!0){$||($=e,B(),V()||(k.pause(),v.disable(!1)))}function R(){$||(A||P||L?F(!1):j())}function q(){const n=l(),s=function(t){const i=I.speed||1;t+=m(i),e.is("slide")&&(t=function(e,t,i){const n=x(t,i),s=_(t,i);return x(_(n,e),s)}(t,d(!1),d(!0)));return t}(n);n!==s?(o(s),function(n){const{length:s}=e,a=(c(n)+s)%s;a!==h()&&(u(a),t.Slides.update(),t.Pagination.update(),"nearby"===i.lazyLoad&&t.LazyLoad.check())}(z=l())):(F(!1),I.rewind&&e.go(I.speed>0?0:t.Controller.getEnd())),C()}function B(){if(g){const s=$?"startScroll":"pauseScroll";t="is-active",n=!$,(e=g)&&T(t,t=>{t&&e.classList[n?"add":"remove"](t)}),E(g,"aria-label",i.i18n[s]||O[s])}var e,t,n}function V(){return!k||k.isPaused()}return{setup:function(){const{autoScroll:e}=i;I=S({},M,b(e)?e:{})},mount:D,destroy:N,play:j,pause:F,isPaused:V}}},oMJq:function(e,t,i){"use strict";i.d(t,"a",(function(){return s}));var n=i("l67y"),s={ImNotTouchingYou:function(e,t,i,n,s){return 0===a(e,t,i,n,s)},OverlapArea:a,GetDimensions:r,GetOffsets:function(e,t,i,s,a,r){switch(console.log("NOTE: GetOffsets is deprecated
2in favor of GetExplicitOffsets and will be removed in 6.5"),i){case"top":return Object(n.e)()?o(e,t,"top","left",s,a,r):o(e,t,"top","right",s,a,r);case"bottom":return Object(n.e)()?o(e,t,"bottom","left",s,a,r):o(e,t,"bottom","right",s,a,r);case"center top":return o(e,t,"top","center",s,a,r);case"center bottom":return o(e,t,"bottom","center",s,a,r);case"center left":return o(e,t,"left","center",s,a,r);case"center right":return o(e,t,"right","center",s,a,r);case"left bottom":return o(e,t,"bottom","left",s,a,r);case"right bottom":return o(e,t,"bottom","right",s,a,r);case"center":return{left:$eleDims.windowDims.offset.left+$eleDims.windowDims.width/2-$eleDims.width/2+a,top:$eleDims.windowDims.offset.top+$eleDims.windowDims.height/2-($eleDims.height/2+s)};case"reveal":return{left:($eleDims.windowDims.width-$eleDims.width)/2+a,top:$eleDims.windowDims.offset.top+s};case"reveal full":return{left:$eleDims.windowDims.offset.left,top:$eleDims.windowDims.offset.top};default:return{left:Object(n.e)()?$anchorDims.offset.left-$eleDims.width+$anchorDims.width-a:$anchorDims.offset.left+a,top:$anchorDims.offset.top+$anchorDims.height+s}}},GetExplicitOffsets:o};function a(e,t,i,n,s){var a,o,l,c,d=r(e);if(t){var u=r(t);o=u.height+u.offset.top-(d.offset.top+d.height),a=d.offset.top-u.offset.top,l=d.offset.left-u.offset.left,c=u.width+u.offset.left-(d.offset.left+d.width)}else o=d.windowDims.height+d.windowDims.offset.top-(d.offset.top+d.height),a=d.offset.top-d.windowDims.offset.top,l=d.offset.left-d.windowDims.offset.left,c=d.windowDims.width-(d.offset.left+d.width);return o=s?0:Math.min(o,0),a=Math.min(a,0),l=Math.min(l,0),c=Math.min(c,0),i?l+c:n?a+o:Math.sqrt(a*a+o*o+l*l+c*c)}function r(e){if((e=e.length?e[0]:e)===window||e===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var t=e.getBoundingClientRect(),i=e.parentNode.getBoundingClientRect(),n=document.body.getBoundingClientRect(),s=window.pageYOffset,a=window.pageXOffset;return{width:t.width,height:t.height,offset:{top:t.top+s,left:t.left+a},parentDims:{width:i.width,height:i.height,offset:{top:i.top+s,left:i.left+a}},windowDims:{width:n.width,height:n.height,offset:{top:s,left:a}}}}function o(e,t,i,n,s,a,o){var l,c,d=r(e),u=t?r(t):null;switch(i){case"top":l=u.offset.top-(d.height+s);break;case"bottom":l=u.offset.top+u.height+s;break;case"left":c=u.offset.left-(d.width+a);break;case"right":c=u.offset.left+u.width+a}switch(i){case"top":case"bottom":switch(n){case"left":c=u.offset.left+a;break;case"right":c=u.offset.left-d.width+u.width-a;break;case"center":c=o?a:u.offset.left+u.width/2-d.width/2+a}break;case"right":case"left":switch(n){case"bottom":l=u.offset.top-s+u.height-d.height;break;case"top":l=u.offset.top+s;break;case"center":l=u.offset.top+s+u.height/2-d.height/2}}return{top:l,left:c}}},rOTC:function(e,t,i){"use strict";i.d(t,"a",(function(){return d}));var n=i("xeH2"),s=i.n(n),a=i("1x13"),r=i("l67y"),o=i("CKjC"),l=i("hvmB"),c={tabs:{cssClass:"tabs",plugin:i("xRCv").a},accordion:{cssClass:"accordion",plugin:l.a}};class d extends o.a{_setup(e,t){this.$element=s()(e),this.options=s.a.extend({},this.$element.data(),t),this.rules=this.$element.data("responsive-accordion-tabs"),this.currentMq=null,this.currentPlugin=null,this.className="ResponsiveAccordionTabs",this.$element.attr("id")||this.$element.attr("id",Object(r.a)(6,"responsiveaccordiontabs")),this._init(),this._events()}_init(){if(a.a._init(),"string"==typeof this.rules){let e={},t=this.rules.split(" ");for(let i=0;i<t.length;i++){let n=t[i].split("-"),s=n.length>1?n[0]:"small",a=n.length>1?n[1]:n[0];null!==c[a]&&(e[s]=c[a])}this.rules=e}this._getAllOptions(),s.a.isEmptyObject(this.rules)||this._checkMediaQueries()}_getAllOptions(){for(var e in this.allOptions={},c)if(c.hasOwnProperty(e)){var t=c[e];try{var i=s()("<ul></ul>"),n=new t.plugin(i,this.options);for(var a in n.options)if(n.options.hasOwnProperty(a)&&"zfPlugin"!==a){var r=n.options[a];this.allOptions[a]=r}n.destroy()}catch(e){}}}_events(){this._changedZfMediaQueryHandler=this._checkMediaQueries.bind(this),s()(window).on("changed.zf.mediaquery",this._changedZfMediaQueryHandler)}_checkMediaQueries(){var e,t=this;s.a.each(this.rules,(function(t){a.a.atLeast(t)&&(e=t)})),e&&(this.currentPlugin instanceof this.rules[e].plugin||(s.a.each(c,(function(e,i){t.$element.removeClass(i.
2cssClass)})),this.$element.addClass(this.rules[e].cssClass),this.currentPlugin&&(!this.currentPlugin.$element.data("zfPlugin")&&this.storezfData&&this.currentPlugin.$element.data("zfPlugin",this.storezfData),this.currentPlugin.destroy()),this._handleMarkup(this.rules[e].cssClass),this.currentPlugin=new this.rules[e].plugin(this.$element,{}),this.storezfData=this.currentPlugin.$element.data("zfPlugin")))}_handleMarkup(e){var t=this,i="accordion",n=s()("[data-tabs-content="+this.$element.attr("id")+"]");if(n.length&&(i="tabs"),i!==e){var a=t.allOptions.linkClass?t.allOptions.linkClass:"tabs-title",o=t.allOptions.panelClass?t.allOptions.panelClass:"tabs-panel";this.$element.removeAttr("role");var l=this.$element.children("."+a+",[data-accordion-item]").removeClass(a).removeClass("accordion-item").removeAttr("data-accordion-item"),c=l.children("a").removeClass("accordion-title");if("tabs"===i?(n=n.children("."+o).removeClass(o).removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby")).children("a").removeAttr("role").removeAttr("aria-controls").removeAttr("aria-selected"):n=l.children("[data-tab-content]").removeClass("accordion-content"),n.css({display:"",visibility:""}),l.css({display:"",visibility:""}),"accordion"===e)n.each((function(e,i){s()(i).appendTo(l.get(e)).addClass("accordion-content").attr("data-tab-content","").removeClass("is-active").css({height:""}),s()("[data-tabs-content="+t.$element.attr("id")+"]").after('<div id="tabs-placeholder-'+t.$element.attr("id")+'"></div>').detach(),l.addClass("accordion-item").attr("data-accordion-item",""),c.addClass("accordion-title")}));else if("tabs"===e){var d=s()("[data-tabs-content="+t.$element.attr("id")+"]"),u=s()("#tabs-placeholder-"+t.$element.attr("id"));u.length?(d=s()('<div class="tabs-content"></div>').insertAfter(u).attr("data-tabs-content",t.$element.attr("id")),u.remove()):d=s()('<div class="tabs-content"></div>').insertAfter(t.$element).attr("data-tabs-content",t.$element.attr("id")),n.each((function(e,t){var i=s()(t).appendTo(d).addClass(o),n=c.get(e).hash.slice(1),a=s()(t).attr("id")||Object(r.a)(6,"accordion");n!==a&&(""!==n?s()(t).attr("id",n):(n=a,s()(t).attr("id",n),s()(c.get(e)).attr("href",s()(c.get(e)).attr("href").replace("#","")+"#"+n))),s()(l.get(e)).hasClass("is-active")&&i.addClass("is-active")})),l.addClass(a)}}}_destroy(){this.currentPlugin&&this.currentPlugin.destroy(),s()(window).off("changed.zf.mediaquery",this._changedZfMediaQueryHandler)}}d.defaults={}},sVZ0:function(e,t,i){"use strict";i.d(t,"a",(function(){return a}));var n=i("xeH2"),s=i.n(n);const a={Feather(e,t="zf"){e.attr("role","menubar");var i=e.find("li").attr({role:"menuitem"}),n=`is-${t}-submenu`,a=`${n}-item`,r=`is-${t}-submenu-parent`,o="accordion"!==t;i.each((function(){var e=s()(this),i=e.children("ul");i.length&&(e.addClass(r),i.addClass(`submenu ${n}`).attr({"data-submenu":""}),o&&(e.attr({"aria-haspopup":!0,"aria-label":e.children("a:first").text()}),"drilldown"===t&&e.attr({"aria-expanded":!1})),i.addClass(`submenu ${n}`).attr({"data-submenu":"",role:"menubar"}),"drilldown"===t&&i.attr({"aria-hidden":!0})),e.parent("[data-submenu]").length&&e.addClass(`is-submenu-item ${a}`)}))},Burn(e,t){var i=`is-${t}-submenu`,n=`${i}-item`,s=`is-${t}-submenu-parent`;e.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li").removeClass(`${i} ${n} ${s} is-submenu-item submenu is-active`).removeAttr("data-submenu").css("display","")}}},xDCs:function(e,t,i){"use strict";i.d(t,"a",(function(){return h}));var n=i("xeH2"),s=i.n(n),a=i("l67y");const r=["mui-enter","mui-leave"],o=["mui-enter-active","mui-leave-active"],l=function(e,t,i){c(!1,e,t,i)};function c(e,t,i,n){if((t=s()(t).eq(0)).length){var l=e?r[0]:r[1],c=e?o[0]:o[1];d(),t.addClass(i).css("transition","none"),requestAnimationFrame(()=>{t.addClass(l),e&&t.show()}),requestAnimationFrame(()=>{t[0].offsetWidth,t.css("transition","").addClass(c)}),t.one(Object(a.f)(t),(function(){e||t.hide();d(),n&&n.apply(t)}))}function d(){t[0].style.transitionDuration=0,t.removeClass(`${l} ${c} ${i}`)}}const d=function(){for(var e=["WebKit","Moz","O","Ms",""],t=0;t<e.length;t++)if(`${e[t]}MutationObserver`in window)return window[`${e[t]}MutationObserver`];return!1}(),u=(e,t)=>
2{e.data(t).split(" ").forEach(i=>{s()(`#${i}`)["close"===t?"trigger":"triggerHandler"](`${t}.zf.trigger`,[e])})};var h={Listeners:{Basic:{},Global:{}},Initializers:{}};function p(e,t,i){let n,a=Array.prototype.slice.call(arguments,3);s()(window).off(t).on(t,(function(t){n&&clearTimeout(n),n=setTimeout((function(){i.apply(null,a)}),e||10)}))}h.Listeners.Basic={openListener:function(){u(s()(this),"open")},closeListener:function(){s()(this).data("close")?u(s()(this),"close"):s()(this).trigger("close.zf.trigger")},toggleListener:function(){s()(this).data("toggle")?u(s()(this),"toggle"):s()(this).trigger("toggle.zf.trigger")},closeableListener:function(e){e.stopPropagation();let t=s()(this).data("closable");""!==t?l(s()(this),t,(function(){s()(this).trigger("closed.zf")})):s()(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){let e=s()(this).data("toggle-focus");s()(`#${e}`).triggerHandler("toggle.zf.trigger",[s()(this)])}},h.Initializers.addOpenListener=e=>{e.off("click.zf.trigger",h.Listeners.Basic.openListener),e.on("click.zf.trigger","[data-open]",h.Listeners.Basic.openListener)},h.Initializers.addCloseListener=e=>{e.off("click.zf.trigger",h.Listeners.Basic.closeListener),e.on("click.zf.trigger","[data-close]",h.Listeners.Basic.closeListener)},h.Initializers.addToggleListener=e=>{e.off("click.zf.trigger",h.Listeners.Basic.toggleListener),e.on("click.zf.trigger","[data-toggle]",h.Listeners.Basic.toggleListener)},h.Initializers.addCloseableListener=e=>{e.off("close.zf.trigger",h.Listeners.Basic.closeableListener),e.on("close.zf.trigger","[data-closeable], [data-closable]",h.Listeners.Basic.closeableListener)},h.Initializers.addToggleFocusListener=e=>{e.off("focus.zf.trigger blur.zf.trigger",h.Listeners.Basic.toggleFocusListener),e.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",h.Listeners.Basic.toggleFocusListener)},h.Listeners.Global={resizeListener:function(e){d||e.each((function(){s()(this).triggerHandler("resizeme.zf.trigger")})),e.attr("data-events","resize")},scrollListener:function(e){d||e.each((function(){s()(this).triggerHandler("scrollme.zf.trigger")})),e.attr("data-events","scroll")},closeMeListener:function(e,t){let i=e.namespace.split(".")[0];s()(`[data-${i}]`).not(`[data-yeti-box="${t}"]`).each((function(){let e=s()(this);e.triggerHandler("close.zf.trigger",[e])}))}},h.Initializers.addClosemeListener=function(e){var t=s()("[data-yeti-box]"),i=["dropdown","tooltip","reveal"];if(e&&("string"==typeof e?i.push(e):"object"==typeof e&&"string"==typeof e[0]?i.concat(e):console.error("Plugin names must be strings")),t.length){let e=i.map(e=>`closeme.zf.${e}`).join(" ");s()(window).off(e).on(e,h.Listeners.Global.closeMeListener)}},h.Initializers.addResizeListener=function(e){let t=s()("[data-resize]");t.length&&p(e,"resize.zf.trigger",h.Listeners.Global.resizeListener,t)},h.Initializers.addScrollListener=function(e){let t=s()("[data-scroll]");t.length&&p(e,"scroll.zf.trigger",h.Listeners.Global.scrollListener,t)},h.Initializers.addMutationEventsListener=function(e){if(!d)return!1;let t=e.find("[data-resize], [data-scroll], [data-mutate]");var i=function(e){var t=s()(e[0].target);switch(e[0].type){case"attributes":"scroll"===t.attr("data-events")&&"data-events"===e[0].attributeName&&t.triggerHandler("scrollme.zf.trigger",[t,window.pageYOffset]),"resize"===t.attr("data-events")&&"data-events"===e[0].attributeName&&t.triggerHandler("resizeme.zf.trigger",[t]),"style"===e[0].attributeName&&(t.closest("[data-mutate]").attr("data-events","mutate"),t.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[t.closest("[data-mutate]")]));break;case"childList":t.closest("[data-mutate]").attr("data-events","mutate"),t.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[t.closest("[data-mutate]")]);break;default:return!1}};if(t.length)for(var n=0;n<=t.length-1;n++){new d(i).observe(t[n],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})}},h.Initializers.addSimpleListeners=function(){let e=s()(document);
2h.Initializers.addOpenListener(e),h.Initializers.addCloseListener(e),h.Initializers.addToggleListener(e),h.Initializers.addCloseableListener(e),h.Initializers.addToggleFocusListener(e)},h.Initializers.addGlobalListeners=function(){let e=s()(document);h.Initializers.addMutationEventsListener(e),h.Initializers.addResizeListener(),h.Initializers.addScrollListener(),h.Initializers.addClosemeListener()},h.init=function(e,t){Object(a.d)(e(window),(function(){!0!==e.triggersInitialized&&(h.Initializers.addSimpleListeners(),h.Initializers.addGlobalListeners(),e.triggersInitialized=!0)})),t&&(t.Triggers=h,t.IHearYou=h.Initializers.addGlobalListeners)}},xRCv:function(e,t,i){"use strict";i.d(t,"a",(function(){return l}));var n=i("xeH2"),s=i.n(n),a=i("l67y"),r=i("RnVY");var o=i("CKjC");class l extends o.a{_setup(e,t){this.$element=e,this.options=s.a.extend({},l.defaults,this.$element.data(),t),this.className="Tabs",this._init(),r.a.register("Tabs",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"previous",ARROW_DOWN:"next",ARROW_LEFT:"previous"})}_init(){var e=this;if(this._isInitializing=!0,this.$element.attr({role:"tablist"}),this.$tabTitles=this.$element.find(`.${this.options.linkClass}`),this.$tabContent=s()(`[data-tabs-content="${this.$element[0].id}"]`),this.$tabTitles.each((function(){var t=s()(this),i=t.find("a"),n=t.hasClass(`${e.options.linkActiveClass}`),r=i.attr("data-tabs-target")||i[0].hash.slice(1),o=i[0].id?i[0].id:`${r}-label`,l=s()(`#${r}`);t.attr({role:"presentation"}),i.attr({role:"tab","aria-controls":r,"aria-selected":n,id:o,tabindex:n?"0":"-1"}),l.attr({role:"tabpanel","aria-labelledby":o}),n&&(e._initialAnchor=`#${r}`),n||l.attr("aria-hidden","true"),n&&e.options.autoFocus&&(e.onLoadListener=Object(a.d)(s()(window),(function(){s()("html, body").animate({scrollTop:t.offset().top},e.options.deepLinkSmudgeDelay,()=>{i.focus()})})))})),this.options.matchHeight){var t=this.$tabContent.find("img");t.length?function(e,t){var i=e.length;function n(){0===--i&&t()}0===i&&t(),e.each((function(){if(this.complete&&void 0!==this.naturalWidth)n();else{var e=new Image,t="load.zf.images error.zf.images";s()(e).one(t,(function e(i){s()(this).off(t,e),n()})),e.src=s()(this).attr("src")}}))}(t,this._setHeight.bind(this)):this._setHeight()}this._checkDeepLink=()=>{var e=window.location.hash;if(!e.length){if(this._isInitializing)return;this._initialAnchor&&(e=this._initialAnchor)}var t=e&&s()(e),i=e&&this.$element.find('[href$="'+e+'"]'),n=!(!t.length||!i.length);if(t&&t.length&&i&&i.length?this.selectTab(t,!0):this._collapse(),n){if(this.options.deepLinkSmudge){var a=this.$element.offset();s()("html, body").animate({scrollTop:a.top},this.options.deepLinkSmudgeDelay)}this.$element.trigger("deeplink.zf.tabs",[i,t])}},this.options.deepLink&&this._checkDeepLink(),this._events(),this._isInitializing=!1}_events(){this._addKeyHandler(),this._addClickHandler(),this._setHeightMqHandler=null,this.options.matchHeight&&(this._setHeightMqHandler=this._setHeight.bind(this),s()(window).on("changed.zf.mediaquery",this._setHeightMqHandler)),this.options.deepLink&&s()(window).on("hashchange",this._checkDeepLink)}_addClickHandler(){var e=this;this.$element.off("click.zf.tabs").on("click.zf.tabs",`.${this.options.linkClass}`,(function(t){t.preventDefault(),t.stopPropagation(),e._handleTabChange(s()(this))}))}_addKeyHandler(){var e=this;this.$tabTitles.off("keydown.zf.tabs").on("keydown.zf.tabs",(function(t){if(9!==t.which){var i,n,a=s()(this),o=a.parent("ul").children("li");o.each((function(t){s()(this).is(a)&&(e.options.wrapOnKeys?(i=0===t?o.last():o.eq(t-1),n=t===o.length-1?o.first():o.eq(t+1)):(i=o.eq(Math.max(0,t-1)),n=o.eq(Math.min(t+1,o.length-1))))})),r.a.handleKey(t,"Tabs",{open:function(){a.find('[role="tab"]').focus(),e._handleTabChange(a)},previous:function(){i.find('[role="tab"]').focus(),e._handleTabChange(i)},next:function(){n.find('[role="tab"]').focus(),e._handleTabChange(n)},handled:function(){t.stopPropagation(),t.preventDefault()}})}}))}_handleTabChange(e,t){if(e.hasClass(`${this.options.linkActiveClass}`))this.options.activeCollapse&&this._collapse();else{var i=this.$element.find(`.${this.options.linkClass}.${this.options.linkActiveClass}`),n=e.find('[role="tab"]'),s=n.attr("data-tabs-target"),a=s&&s.length?`#${s}`:n[0].hash,r=this.$tabContent.find(a);this._collapseTab(i),this._openTab(e),this.options.deepLink&&!t&&(this.options.updateHistory?history.pushState({},"",a):history.replaceState({},"",a)),this.$element.trigger("change.zf.tabs",[e,r]),r.find("[data-mutate]").trigger("mutateme.zf.trigger")}}_openTab(e){var t=e.find('[role="tab"]'),i=t.attr("data-tabs-target")||t[0].hash.slice(1),n=this.$tabContent.find(`#${i}`);e.addClass(`${this.options.linkActiveClass}`),t.attr({"aria-selected":"true",tabindex:"0"}),n.addClass(`${this.options.panelActiveClass}`).removeAttr("aria-hidden")}_collapseTab(e){var t=e.removeClass(`${this.options.linkActiveClass}`).find('[role="tab"]').attr({"aria-selected":"false",tabindex:-1});s()(`#${t.attr("aria-controls")}`).removeClass(`${this.options.panelActiveClass}`).attr({"aria-hidden":"true"})}_collapse(){var e=this.$element.find(`.${this.options.linkClass}.${this.options.linkActiveClass}`);e.length&&(this._collapseTab(e),this.$element.trigger("collapse.zf.tabs",[e]))}selectTab(e,t){var i;(i="object"==typeof e?e[0].id:e).indexOf("#")<0&&(i=`#${i}`);var n=this.$tabTitles.has(`[href$="${i}"]`);this._handleTabChange(n,t)}_setHeight(){var e=0,t=this;this.$tabContent.find(`.${this.options.panelClass}`).css("height","").each((function(){var i=s()(this),n=i.hasClass(`${t.options.panelActiveClass}`);n||i.css({visibility:"hidden",display:"block"});var a=this.getBoundingClientRect().height;n||i.css({visibility:"",display:""}),e=a>e?a:e})).css("height",`${e}px`)}_destroy(){this.$element.find(`.${this.options.linkClass}`).off(".zf.tabs").hide().end().find(`.${this.options.panelClass}`).hide(),this.options.matchHeight&&null!=this._setHeightMqHandler&&s()(window).off("changed.zf.mediaquery",this._setHeightMqHandler),this.options.deepLink&&s()(window).off("hashchange",this._checkDeepLink),this.onLoadListener&&s()(window).off(this.onLoadListener)}}l.defaults={deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,updateHistory:!1,autoFocus:!1,wrapOnKeys:!0,matchHeight:!1,activeCollapse:!1,linkClass:"tabs-title",linkActiveClass:"is-active",panelClass:"tabs-panel",panelActiveClass:"is-active"}},yLpj:function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.